@revolugo/elements 6.15.7-rc.2 → 6.15.8-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/dist/index.es.min.js +1 -1
  2. package/dist/index.es.min.js.map +1 -1
  3. package/dist/index.min.js +1 -1
  4. package/dist/index.min.js.map +1 -1
  5. package/dist/{revolugo.banktransferdetails.HIYiLkzk.min.js → revolugo.banktransferdetails.-9PzQYxm.min.js} +6 -6
  6. package/dist/{revolugo.bookingdetailssidebar.DKHXrd6W.min.js → revolugo.bookingdetailssidebar.KOSaL_OM.min.js} +6 -6
  7. package/dist/{revolugo.bookingmanager.BReDHFsG.min.js → revolugo.bookingmanager.CjtcEKE4.min.js} +6 -6
  8. package/dist/{revolugo.cancellationpoliciesbadge.Cb9Z6fPP.min.js → revolugo.cancellationpoliciesbadge.DDnJVR20.min.js} +6 -6
  9. package/dist/{revolugo.cancellationpoliciesbadge.props.mOeB4eoV.min.js → revolugo.cancellationpoliciesbadge.props.rnfE2Lo9.min.js} +331 -299
  10. package/dist/{revolugo.cancellationpolicieslist.DnnH0eD3.min.js → revolugo.cancellationpolicieslist.C1t2FNG4.min.js} +6 -6
  11. package/dist/{revolugo.creditcardstripeform.CrhxVYJT.min.js → revolugo.creditcardstripeform.BKIUxERR.min.js} +4 -4
  12. package/dist/{revolugo.creditcardstripeform.BxLH3iZh.min.js → revolugo.creditcardstripeform.CVoc1sML.min.js} +5 -5
  13. package/dist/{revolugo.currencypickerbtn.BsdtPw8w.min.js → revolugo.currencypickerbtn.BJlE6egP.min.js} +6 -6
  14. package/dist/{revolugo.dialog-attach.BUv8aMSH.min.js → revolugo.dialog-attach.DZzvgs3V.min.js} +2 -2
  15. package/dist/{revolugo.fastbookingflow.CrZq7gMg.min.js → revolugo.fastbookingflow.BABFJjJq.min.js} +6 -6
  16. package/dist/{revolugo.fullbookingflow.7DX2Q1eL.min.js → revolugo.fullbookingflow.DGDKinKw.min.js} +6 -6
  17. package/dist/{revolugo.hoteldescriptionview.D8gom2Kf.min.js → revolugo.hoteldescriptionview.C3AVGos7.min.js} +6 -6
  18. package/dist/{revolugo.hotelofferlist.fM2Ox5UR.min.js → revolugo.hotelofferlist.DGyTmnuP.min.js} +6 -6
  19. package/dist/{revolugo.hoteloffersearchmenu.BwjzqnvM.min.js → revolugo.hoteloffersearchmenu.CTnYWx0u.min.js} +7 -7
  20. package/dist/{revolugo.hoteloffersmap.BRacEMuP.min.js → revolugo.hoteloffersmap.5KKpmA4P.min.js} +6 -6
  21. package/dist/{revolugo.hoteloffersview.HeaLEo63.min.js → revolugo.hoteloffersview.BaR0sNY_.min.js} +6 -6
  22. package/dist/{revolugo.hotelroomofferlist.DGw7kgRe.min.js → revolugo.hotelroomofferlist.DG_Um5ZK.min.js} +6 -6
  23. package/dist/{revolugo.hotelroomoffersbookingflow.DhDAuTBv.min.js → revolugo.hotelroomoffersbookingflow.DfMO0SKG.min.js} +6 -6
  24. package/dist/{revolugo.hotelroomoffersearchmenu.CStaXVfI.min.js → revolugo.hotelroomoffersearchmenu.jr_jGg68.min.js} +6 -6
  25. package/dist/{revolugo.hotelroomoffersview.BNoMYikH.min.js → revolugo.hotelroomoffersview.DmoeUIQc.min.js} +6 -6
  26. package/dist/{revolugo.index.DBAC5qFL.min.js → revolugo.index.CuYzxsoJ.min.js} +2 -2
  27. package/dist/{revolugo.index.wc.Zhv9Liiq.min.js → revolugo.index.wc.PSPCH-kU.min.js} +26 -26
  28. package/dist/{revolugo.langpickerbtn.HGiSS0rE.min.js → revolugo.langpickerbtn.CqqxDKso.min.js} +6 -6
  29. package/dist/revolugo.min.js +1 -1
  30. package/dist/{revolugo.prebookform.Cr8UBDIR.min.js → revolugo.prebookform.CmgY6my6.min.js} +6 -6
  31. package/dist/{revolugo.preferencesmenu.BSn36Ur5.min.js → revolugo.preferencesmenu.BUhWTqFH.min.js} +5 -5
  32. package/dist/{revolugo.preferencesmenu.kS3UbadP.min.js → revolugo.preferencesmenu.Bk78PYqk.min.js} +4 -4
  33. package/dist/{revolugo.roominglisteditor.DqKfMiCV.min.js → revolugo.roominglisteditor.DOt0Ugz_.min.js} +6 -6
  34. package/dist/{revolugo.storybooktoolbar.BQVvVXWf.min.js → revolugo.storybooktoolbar.KWLf8v7E.min.js} +5 -5
  35. package/dist/{revolugo.termsandconditions.CeXhxqdi.min.js → revolugo.termsandconditions.MSBVrPv4.min.js} +6 -6
  36. package/dist/{revolugo.vtoolbar.oLB6pZA6.min.js → revolugo.vtoolbar.DpD9YvxD.min.js} +3 -3
  37. package/dist/{revolugo.webcomponentwrapper.DBnt8yBf.min.js → revolugo.webcomponentwrapper.d-oXG7RZ.min.js} +2 -2
  38. package/package.json +5 -5
@@ -1,9 +1,9 @@
1
- import { z as Yf, B as rl, t as $e, E as ke, d as fe, b as Q, C as kl, D as Gf, G as qn, u as Ue, h as V, H as xe, I as Le, J as Bt, K as cs, s as Tt, L as ht, M as Wf, N as fs, e as de, v as st, O as F0, P as dn, Q as us, R as M0, S as at, a as c, m as ie, c as z, w as d, o as b, y as B, l as N, x as P, f as Y, i as H, F as ae, T as qe, U as _, n as ho, g as go, V as ds, W as ot, X as El, Y as Il, Z as At, $ as mn, a0 as ms, a1 as Et, a2 as qt, a3 as na, a4 as Xe, a5 as jf, r as _e, a6 as Po, a7 as Yt, a8 as Zf, a9 as x0, aa as Bl, ab as Sn, ac as N0, ad as As, ae as js, af as H0, ag as Jf, ah as U0, ai as V0, aj as q0, ak as sc, al as K0, am as Y0, an as jn, ao as G0, ap as W0, aq as j0, ar as Z0, as as Gn, at as wl, au as Pl, j as Wn, av as J0, aw as oa, ax as X0, ay as _0, az as $0, aA as eA, aB as tA, aC as nA, aD as ps, aE as ct, aF as oA, aG as Qn, aH as Si, q as Rn, aI as lc, aJ as Hs, aK as ic, aL as sA, aM as lA, p as iA, aN as Xf, aO as Sl, aP as aA, aQ as rA, aR as Dn, aS as On, aT as cA, aU as fA, aV as uA, aW as dA, aX as mA } from "./revolugo.index.wc.Zhv9Liiq.min.js";
2
- import { n as pn, o as Zn, p as _f, q as $f, r as AA, s as Rl, t as pA, v as Ve, w as sa, x as yA, y as Ql, z as eu, A as tu, D as hA, E as ts, F as nu, G as Jn, H as tn, I as gA, _ as pe, a as Se, k as be, J as Dl, b as He, d as j, e as M, j as he, K as X, L as po, M as Te, N as Ri, O as ou, C as la, P as Ol, Q as ys, R as hs, S as ia, T as Bn, U as su, X as vA, Y as lu, Z as iu, $ as au, a0 as Tn, a1 as ru, a2 as Xn, a3 as aa, a4 as ra, a5 as Tl, a6 as ca, a7 as _n, a8 as Ll, a9 as fa, aa as ua, ab as cu, g as mt, ac as bA, ad as zl, ae as cl, af as CA, ag as fu, ah as kA, ai as uu, i as EA, aj as du, ak as IA, al as BA, am as wA, an as PA, ao as mu, ap as SA, aq as RA, ar as QA, as as DA, at as OA, au as TA, av as LA, aw as zA, ax as FA, ay as MA, az as Hi, aA as xA, aB as ac, aC as rc, aD as NA, aE as HA, aF as UA, aG as VA, aH as qA, aI as KA, aJ as YA, B as Fl, aK as GA, aL as zt, aM as WA, aN as Au, aO as jA, V as pu, h as yu, aP as hu, aQ as gu, aR as co, f as vu, aS as cc, aT as Ui, u as vo, aU as ZA, aV as JA, aW as XA, aX as da, aY as _A, aZ as $A, a_ as ep, a$ as ma, b0 as tp, b1 as bu, b2 as Vi, b3 as np, l as op, b4 as Cu, b5 as ns, b6 as sp, c as qi, b7 as lp, b8 as ku, b9 as fc, ba as ip, bb as uc, bc as ap } from "./revolugo.webcomponentwrapper.DBnt8yBf.min.js";
3
- import { u as Wt, p as rp, C as cp, V as Eu } from "./revolugo.creditcardstripeform.BxLH3iZh.min.js";
4
- import { V as Ml } from "./revolugo.vtoolbar.oLB6pZA6.min.js";
5
- import { s as os, a as fp, w as up, g as dp } from "./revolugo.index.DBAC5qFL.min.js";
6
- import { P as Iu, a as Bu, b as mp } from "./revolugo.preferencesmenu.BSn36Ur5.min.js";
1
+ import { z as Yf, B as rl, t as $e, E as ke, d as fe, b as Q, C as kl, D as Gf, G as qn, u as Ue, h as V, H as xe, I as Le, J as wt, K as cs, s as Lt, L as gt, M as Wf, N as fs, e as de, v as st, O as F0, P as dn, Q as us, R as M0, S as at, a as c, m as ie, c as z, w as d, o as b, y as B, l as N, x as P, f as Y, i as H, F as ae, T as qe, U as _, n as ho, g as go, V as ds, W as ot, X as El, Y as Il, Z as pt, $ as mn, a0 as ms, a1 as It, a2 as qt, a3 as na, a4 as Xe, a5 as jf, r as _e, a6 as Po, a7 as Yt, a8 as Zf, a9 as x0, aa as Bl, ab as Sn, ac as N0, ad as As, ae as js, af as H0, ag as Jf, ah as U0, ai as V0, aj as q0, ak as sc, al as K0, am as Y0, an as jn, ao as G0, ap as W0, aq as j0, ar as Z0, as as Gn, at as wl, au as Pl, j as Wn, av as J0, aw as oa, ax as X0, ay as _0, az as $0, aA as eA, aB as tA, aC as nA, aD as ps, aE as ct, aF as oA, aG as Qn, aH as Si, q as Rn, aI as lc, aJ as Hs, aK as ic, aL as sA, aM as lA, p as iA, aN as Xf, aO as Sl, aP as aA, aQ as rA, aR as Dn, aS as On, aT as cA, aU as fA, aV as uA, aW as dA, aX as mA } from "./revolugo.index.wc.PSPCH-kU.min.js";
2
+ import { n as pn, o as Zn, p as _f, q as $f, r as AA, s as Rl, t as pA, v as Ve, w as sa, x as yA, y as Ql, z as eu, A as tu, D as hA, E as ts, F as nu, G as Jn, H as tn, I as gA, _ as pe, a as Se, k as be, J as Dl, b as He, d as j, e as M, j as he, K as X, L as po, M as Te, N as Ri, O as ou, C as la, P as Ol, Q as ys, R as hs, S as ia, T as Bn, U as su, X as vA, Y as lu, Z as iu, $ as au, a0 as Tn, a1 as ru, a2 as Xn, a3 as aa, a4 as ra, a5 as Tl, a6 as ca, a7 as _n, a8 as Ll, a9 as fa, aa as ua, ab as cu, g as mt, ac as bA, ad as zl, ae as cl, af as CA, ag as fu, ah as kA, ai as uu, i as EA, aj as du, ak as IA, al as BA, am as wA, an as PA, ao as mu, ap as SA, aq as RA, ar as QA, as as DA, at as OA, au as TA, av as LA, aw as zA, ax as FA, ay as MA, az as Hi, aA as xA, aB as ac, aC as rc, aD as NA, aE as HA, aF as UA, aG as VA, aH as qA, aI as KA, aJ as YA, B as Fl, aK as GA, aL as Ft, aM as WA, aN as Au, aO as jA, V as pu, h as yu, aP as hu, aQ as gu, aR as co, f as vu, aS as cc, aT as Ui, u as vo, aU as ZA, aV as JA, aW as XA, aX as da, aY as _A, aZ as $A, a_ as ep, a$ as ma, b0 as tp, b1 as bu, b2 as Vi, b3 as np, l as op, b4 as Cu, b5 as ns, b6 as sp, c as qi, b7 as lp, b8 as ku, b9 as fc, ba as ip, bb as uc, bc as ap } from "./revolugo.webcomponentwrapper.d-oXG7RZ.min.js";
3
+ import { u as Wt, p as rp, C as cp, V as Eu } from "./revolugo.creditcardstripeform.CVoc1sML.min.js";
4
+ import { V as Ml } from "./revolugo.vtoolbar.DpD9YvxD.min.js";
5
+ import { s as os, a as fp, w as up, g as dp } from "./revolugo.index.CuYzxsoJ.min.js";
6
+ import { P as Iu, a as Bu, b as mp } from "./revolugo.preferencesmenu.BUhWTqFH.min.js";
7
7
  /* empty css */
8
8
  function z0(e) {
9
9
  try {
@@ -109,7 +109,7 @@ function Su(e, n) {
109
109
  }
110
110
  return s;
111
111
  }
112
- var fl = /* @__PURE__ */ ((e) => (e.HotelRoom = "HOTEL_ROOM", e.Package = "PACKAGE", e))(fl || {}), jo = /* @__PURE__ */ ((e) => (e.BestMatch = "BEST_MATCH", e.Cheapest = "CHEAPEST", e.MatchingRoomCount = "MATCHING_ROOM_COUNT", e.Regular = "REGULAR", e))(jo || {}), Nt = /* @__PURE__ */ ((e) => (e.Cx = "bkg-cx", e.Cf = "bkg-cf", e.Created = "bkg-created", e.Af = "bkg-af", e.Ip = "bkg-ip", e.Pc = "bkg-pc", e.Pp = "bkg-pp", e.Qr = "bkg-qr", e))(Nt || {}), Ru = /* @__PURE__ */ ((e) => (e.Dr = "dr", e.Mr = "mr", e.Mrs = "mrs", e.Ms = "ms", e.NotSpecified = "notSpecified", e.Prof = "prof", e))(Ru || {});
112
+ var fl = /* @__PURE__ */ ((e) => (e.HotelRoom = "HOTEL_ROOM", e.Package = "PACKAGE", e))(fl || {}), jo = /* @__PURE__ */ ((e) => (e.BestMatch = "BEST_MATCH", e.Cheapest = "CHEAPEST", e.MatchingRoomCount = "MATCHING_ROOM_COUNT", e.Regular = "REGULAR", e))(jo || {}), Ht = /* @__PURE__ */ ((e) => (e.Cx = "bkg-cx", e.Cf = "bkg-cf", e.Created = "bkg-created", e.Af = "bkg-af", e.Ip = "bkg-ip", e.Pc = "bkg-pc", e.Pp = "bkg-pp", e.Qr = "bkg-qr", e))(Ht || {}), Ru = /* @__PURE__ */ ((e) => (e.Dr = "dr", e.Mr = "mr", e.Mrs = "mrs", e.Ms = "ms", e.NotSpecified = "notSpecified", e.Prof = "prof", e))(Ru || {});
113
113
  const So = Yf(
114
114
  "hotelRoomOfferRequest",
115
115
  {
@@ -437,7 +437,7 @@ function pc(e) {
437
437
  });
438
438
  }
439
439
  function Cp(e) {
440
- const n = Tt(e());
440
+ const n = Lt(e());
441
441
  let s = -1;
442
442
  function o() {
443
443
  clearInterval(s);
@@ -492,7 +492,7 @@ const kp = Le({
492
492
  let {
493
493
  slots: s
494
494
  } = n;
495
- const o = Bt(e, "modelValue"), {
495
+ const o = wt(e, "modelValue"), {
496
496
  positionClasses: a
497
497
  } = _f(e), {
498
498
  scopeId: u
@@ -504,7 +504,7 @@ const kp = Le({
504
504
  variantClasses: h
505
505
  } = AA(e), {
506
506
  roundedClasses: v
507
- } = Rl(e), C = Cp(() => Number(e.timeout)), k = V(), I = V(), w = Tt(!1), S = Tt(0), D = V(), R = ht(gA, void 0);
507
+ } = Rl(e), C = Cp(() => Number(e.timeout)), k = V(), I = V(), w = Lt(!1), S = Lt(0), D = V(), R = gt(gA, void 0);
508
508
  Wf(() => !!R, () => {
509
509
  const G = pA();
510
510
  fs(() => {
@@ -2638,7 +2638,7 @@ const ss = Symbol.for("vuetify:v-expansion-panel"), Fu = Le({
2638
2638
  let {
2639
2639
  slots: s
2640
2640
  } = n;
2641
- const o = ht(ss);
2641
+ const o = gt(ss);
2642
2642
  if (!o) throw new Error("[Vuetify] v-expansion-panel-text needs to be placed inside v-expansion-panel");
2643
2643
  const {
2644
2644
  hasContent: a,
@@ -2647,7 +2647,7 @@ const ss = Symbol.for("vuetify:v-expansion-panel"), Fu = Le({
2647
2647
  return Ve(() => c(iu, {
2648
2648
  onAfterLeave: u
2649
2649
  }, {
2650
- default: () => [At(c("div", {
2650
+ default: () => [pt(c("div", {
2651
2651
  class: ["v-expansion-panel-text", e.class],
2652
2652
  style: e.style
2653
2653
  }, [s.default && a.value && c("div", {
@@ -2658,11 +2658,11 @@ const ss = Symbol.for("vuetify:v-expansion-panel"), Fu = Le({
2658
2658
  }), Mu = Le({
2659
2659
  color: String,
2660
2660
  expandIcon: {
2661
- type: Et,
2661
+ type: It,
2662
2662
  default: "$expand"
2663
2663
  },
2664
2664
  collapseIcon: {
2665
- type: Et,
2665
+ type: It,
2666
2666
  default: "$collapse"
2667
2667
  },
2668
2668
  hideActions: Boolean,
@@ -2685,7 +2685,7 @@ const ss = Symbol.for("vuetify:v-expansion-panel"), Fu = Le({
2685
2685
  let {
2686
2686
  slots: s
2687
2687
  } = n;
2688
- const o = ht(ss);
2688
+ const o = gt(ss);
2689
2689
  if (!o) throw new Error("[Vuetify] v-expansion-panel-title needs to be placed inside v-expansion-panel");
2690
2690
  const {
2691
2691
  backgroundColorClasses: a,
@@ -2699,7 +2699,7 @@ const ss = Symbol.for("vuetify:v-expansion-panel"), Fu = Le({
2699
2699
  expandIcon: e.expandIcon,
2700
2700
  readonly: e.readonly
2701
2701
  })), p = Q(() => o.isSelected.value ? e.collapseIcon : e.expandIcon);
2702
- return Ve(() => At(c("button", {
2702
+ return Ve(() => pt(c("button", {
2703
2703
  class: ["v-expansion-panel-title", {
2704
2704
  "v-expansion-panel-title--active": o.isSelected.value,
2705
2705
  "v-expansion-panel-title--focusable": e.focusable,
@@ -3188,10 +3188,10 @@ const Vu = {
3188
3188
  isRtl: a
3189
3189
  } = x0(), {
3190
3190
  t: u
3191
- } = Bl(), r = ua(e, Ku), A = V(), p = Q(() => a.value ? !e.reverse : e.reverse), h = Tt(!1), v = Q(() => {
3191
+ } = Bl(), r = ua(e, Ku), A = V(), p = Q(() => a.value ? !e.reverse : e.reverse), h = Lt(!1), v = Q(() => {
3192
3192
  const K = e.direction === "vertical" ? "y" : "x", Z = (p.value ? !h.value : h.value) ? "-reverse" : "";
3193
3193
  return `v-window-${K}${Z}-transition`;
3194
- }), C = Tt(0), k = V(void 0), I = Q(() => r.items.value.findIndex((K) => r.selected.value.includes(K.id)));
3194
+ }), C = Lt(0), k = V(void 0), I = Q(() => r.items.value.findIndex((K) => r.selected.value.includes(K.id)));
3195
3195
  de(I, (K, x) => {
3196
3196
  const Z = r.items.value.length, ee = Z - 1;
3197
3197
  Z <= 2 ? h.value = K < x : K === ee && x === 0 ? h.value = !0 : K === 0 && x === ee ? h.value = !1 : h.value = K < x;
@@ -3245,7 +3245,7 @@ const Vu = {
3245
3245
  },
3246
3246
  ...e.touch === !0 ? {} : e.touch
3247
3247
  });
3248
- return Ve(() => At(c(e.tag, {
3248
+ return Ve(() => pt(c(e.tag, {
3249
3249
  ref: A,
3250
3250
  class: ["v-window", {
3251
3251
  "v-window--show-arrows-on-hover": e.showArrows === "hover"
@@ -3272,7 +3272,7 @@ const Vu = {
3272
3272
  color: String,
3273
3273
  cycle: Boolean,
3274
3274
  delimiterIcon: {
3275
- type: Et,
3275
+ type: It,
3276
3276
  default: "$delimiter"
3277
3277
  },
3278
3278
  height: {
@@ -3303,7 +3303,7 @@ const Vu = {
3303
3303
  let {
3304
3304
  slots: s
3305
3305
  } = n;
3306
- const o = Bt(e, "modelValue"), {
3306
+ const o = wt(e, "modelValue"), {
3307
3307
  t: a
3308
3308
  } = Bl(), u = V();
3309
3309
  let r = -1;
@@ -3401,11 +3401,11 @@ const Vu = {
3401
3401
  let {
3402
3402
  slots: s
3403
3403
  } = n;
3404
- const o = ht(qu), a = Tl(e, Ku), {
3404
+ const o = gt(qu), a = Tl(e, Ku), {
3405
3405
  isBooted: u
3406
3406
  } = bA();
3407
3407
  if (!o || !a) throw new Error("[Vuetify] VWindowItem must be used inside VWindow");
3408
- const r = Tt(!1), A = Q(() => u.value && (o.isReversed.value ? e.reverseTransition !== !1 : e.transition !== !1));
3408
+ const r = Lt(!1), A = Q(() => u.value && (o.isReversed.value ? e.reverseTransition !== !1 : e.transition !== !1));
3409
3409
  function p() {
3410
3410
  !r.value || !o || (r.value = !1, o.transitionCount.value > 0 && (o.transitionCount.value -= 1, o.transitionCount.value === 0 && (o.transitionHeight.value = void 0)));
3411
3411
  }
@@ -3439,7 +3439,7 @@ const Vu = {
3439
3439
  transition: k.value,
3440
3440
  disabled: !u.value
3441
3441
  }, {
3442
- default: () => [At(c("div", {
3442
+ default: () => [pt(c("div", {
3443
3443
  class: ["v-window-item", a.selectedClass.value, e.class],
3444
3444
  style: e.style
3445
3445
  }, [I.value && s.default?.()]), [[mn, a.isSelected.value]])]
@@ -3519,15 +3519,15 @@ const Vu = {
3519
3519
  default: null
3520
3520
  },
3521
3521
  nextIcon: {
3522
- type: Et,
3522
+ type: It,
3523
3523
  default: "$next"
3524
3524
  },
3525
3525
  prevIcon: {
3526
- type: Et,
3526
+ type: It,
3527
3527
  default: "$prev"
3528
3528
  },
3529
3529
  modeIcon: {
3530
- type: Et,
3530
+ type: It,
3531
3531
  default: "$subgroup"
3532
3532
  },
3533
3533
  text: String,
@@ -3597,7 +3597,7 @@ const Vu = {
3597
3597
  }, null)])])), {};
3598
3598
  }
3599
3599
  }), ih = Le({
3600
- appendIcon: Et,
3600
+ appendIcon: It,
3601
3601
  color: String,
3602
3602
  header: String,
3603
3603
  transition: String,
@@ -3688,10 +3688,10 @@ const Vu = {
3688
3688
  firstDayOfWeek: [Number, String]
3689
3689
  }, "calendar");
3690
3690
  function rh(e) {
3691
- const n = As(), s = Bt(e, "modelValue", [], (w) => js(w)), o = Q(() => e.displayValue ? n.date(e.displayValue) : s.value.length > 0 ? n.date(s.value[0]) : e.min ? n.date(e.min) : Array.isArray(e.allowedDates) ? n.date(e.allowedDates[0]) : n.date()), a = Bt(e, "year", void 0, (w) => {
3691
+ const n = As(), s = wt(e, "modelValue", [], (w) => js(w)), o = Q(() => e.displayValue ? n.date(e.displayValue) : s.value.length > 0 ? n.date(s.value[0]) : e.min ? n.date(e.min) : Array.isArray(e.allowedDates) ? n.date(e.allowedDates[0]) : n.date()), a = wt(e, "year", void 0, (w) => {
3692
3692
  const S = w != null ? Number(w) : n.getYear(o.value);
3693
3693
  return n.startOfYear(n.setYear(n.date(), S));
3694
- }, (w) => n.getYear(w)), u = Bt(e, "month", void 0, (w) => {
3694
+ }, (w) => n.getYear(w)), u = wt(e, "month", void 0, (w) => {
3695
3695
  const S = w != null ? Number(w) : n.getMonth(o.value), D = n.setYear(n.startOfMonth(n.date()), n.getYear(a.value));
3696
3696
  return n.setMonth(D, S);
3697
3697
  }, (w) => n.getMonth(w)), r = Q(() => e.firstDayOfWeek ?? e.weekdays[0]), A = Q(() => {
@@ -3787,7 +3787,7 @@ const Gu = Le({
3787
3787
  daysInMonth: u,
3788
3788
  model: r,
3789
3789
  weekNumbers: A
3790
- } = rh(e), p = As(), h = Tt(), v = Tt(), C = Tt(!1), k = Q(() => C.value ? e.reverseTransition : e.transition);
3790
+ } = rh(e), p = As(), h = Lt(), v = Lt(), C = Lt(!1), k = Q(() => C.value ? e.reverseTransition : e.transition);
3791
3791
  e.multiple === "range" && r.value.length > 0 && (h.value = r.value[0], r.value.length > 1 && (v.value = r.value[r.value.length - 1]));
3792
3792
  const I = Q(() => {
3793
3793
  const R = ["number", "string"].includes(typeof e.multiple) ? Number(e.multiple) : 1 / 0;
@@ -3900,7 +3900,7 @@ const Gu = Le({
3900
3900
  emit: s,
3901
3901
  slots: o
3902
3902
  } = n;
3903
- const a = As(), u = Bt(e, "modelValue"), r = Q(() => {
3903
+ const a = As(), u = wt(e, "modelValue"), r = Q(() => {
3904
3904
  let A = a.startOfYear(a.date());
3905
3905
  return e.year && (A = a.setYear(A, e.year)), Jf(12).map((p) => {
3906
3906
  const h = a.format(A, "monthShort"), v = !!(e.min && a.isAfter(a.startOfMonth(a.date(e.min)), A) || e.max && a.isAfter(A, a.startOfMonth(a.date(e.max))));
@@ -3963,7 +3963,7 @@ const Gu = Le({
3963
3963
  emit: s,
3964
3964
  slots: o
3965
3965
  } = n;
3966
- const a = As(), u = Bt(e, "modelValue"), r = Q(() => {
3966
+ const a = As(), u = wt(e, "modelValue"), r = Q(() => {
3967
3967
  const p = a.getYear(a.date());
3968
3968
  let h = p - 100, v = p + 52;
3969
3969
  e.min && (h = a.getYear(a.date(e.min))), e.max && (v = a.getYear(a.date(e.max)));
@@ -4123,7 +4123,7 @@ const Gu = Le({
4123
4123
  } = n;
4124
4124
  const a = As(), {
4125
4125
  t: u
4126
- } = Bl(), r = Bt(e, "modelValue", void 0, (q) => js(q), (q) => e.multiple ? q : q[0]), A = Bt(e, "viewMode"), p = Q(() => {
4126
+ } = Bl(), r = wt(e, "modelValue", void 0, (q) => js(q), (q) => e.multiple ? q : q[0]), A = wt(e, "viewMode"), p = Q(() => {
4127
4127
  const q = a.date(e.min);
4128
4128
  return e.min && a.isValid(q) ? q : null;
4129
4129
  }), h = Q(() => {
@@ -4133,7 +4133,7 @@ const Gu = Le({
4133
4133
  const q = a.date();
4134
4134
  let $ = q;
4135
4135
  return r.value?.[0] ? $ = a.date(r.value[0]) : p.value && a.isBefore(q, p.value) ? $ = p.value : h.value && a.isAfter(q, h.value) && ($ = h.value), $ && a.isValid($) ? $ : q;
4136
- }), C = V(Number(e.month ?? a.getMonth(a.startOfMonth(v.value)))), k = V(Number(e.year ?? a.getYear(a.startOfYear(a.setMonth(v.value, C.value))))), I = Tt(!1), w = Q(() => e.multiple && r.value.length > 1 ? u("$vuetify.datePicker.itemsSelected", r.value.length) : r.value[0] && a.isValid(r.value[0]) ? a.format(a.date(r.value[0]), "normalDateWithWeekday") : u(e.header)), S = Q(() => {
4136
+ }), C = V(Number(e.month ?? a.getMonth(a.startOfMonth(v.value)))), k = V(Number(e.year ?? a.getYear(a.startOfYear(a.setMonth(v.value, C.value))))), I = Lt(!1), w = Q(() => e.multiple && r.value.length > 1 ? u("$vuetify.datePicker.itemsSelected", r.value.length) : r.value[0] && a.isValid(r.value[0]) ? a.format(a.date(r.value[0]), "normalDateWithWeekday") : u(e.header)), S = Q(() => {
4137
4137
  let q = a.date();
4138
4138
  return q = a.setDate(q, 1), q = a.setMonth(q, C.value), q = a.setYear(q, k.value), a.format(q, "monthAndYear");
4139
4139
  }), D = Q(() => `date-picker-header${I.value ? "-reverse" : ""}-transition`), R = Q(() => {
@@ -4286,7 +4286,7 @@ const Gu = Le({
4286
4286
  elevationClasses: p
4287
4287
  } = ca(e), {
4288
4288
  roundedClasses: h
4289
- } = Rl(e), v = Tt(32), {
4289
+ } = Rl(e), v = Lt(32), {
4290
4290
  resizeRef: C
4291
4291
  } = BA((I) => {
4292
4292
  I.length && (v.value = I[0].target.clientHeight);
@@ -4345,11 +4345,11 @@ const Gu = Le({
4345
4345
  } = n;
4346
4346
  const {
4347
4347
  dimensionStyles: o
4348
- } = aa(e), a = Bt(e, "modelValue");
4348
+ } = aa(e), a = wt(e, "modelValue");
4349
4349
  function u(r) {
4350
4350
  a.value || (a.value = r);
4351
4351
  }
4352
- return Ve(() => At(c(e.tag, {
4352
+ return Ve(() => pt(c(e.tag, {
4353
4353
  class: ["v-lazy", e.class],
4354
4354
  style: [o.value, e.style]
4355
4355
  }, {
@@ -4459,20 +4459,20 @@ const Gu = Le({
4459
4459
  subtitle: String,
4460
4460
  complete: Boolean,
4461
4461
  completeIcon: {
4462
- type: Et,
4462
+ type: It,
4463
4463
  default: "$complete"
4464
4464
  },
4465
4465
  editable: Boolean,
4466
4466
  editIcon: {
4467
- type: Et,
4467
+ type: It,
4468
4468
  default: "$edit"
4469
4469
  },
4470
4470
  error: Boolean,
4471
4471
  errorIcon: {
4472
- type: Et,
4472
+ type: It,
4473
4473
  default: "$error"
4474
4474
  },
4475
- icon: Et,
4475
+ icon: It,
4476
4476
  ripple: {
4477
4477
  type: [Boolean, Object],
4478
4478
  default: !0
@@ -4511,7 +4511,7 @@ const Gu = Le({
4511
4511
  function S() {
4512
4512
  o?.toggle();
4513
4513
  }
4514
- return At(c("button", {
4514
+ return pt(c("button", {
4515
4515
  class: ["v-stepper-item", {
4516
4516
  "v-stepper-item--complete": h.value,
4517
4517
  "v-stepper-item--disabled": e.disabled,
@@ -4552,7 +4552,7 @@ const Gu = Le({
4552
4552
  let {
4553
4553
  slots: s
4554
4554
  } = n;
4555
- const o = ht(ga, null), a = Bt(e, "modelValue"), u = Q({
4555
+ const o = gt(ga, null), a = wt(e, "modelValue"), u = Q({
4556
4556
  get() {
4557
4557
  return a.value != null || !o ? a.value : o.items.value.find((r) => o.selected.value.includes(r.id))?.value;
4558
4558
  },
@@ -4596,10 +4596,10 @@ const Gu = Le({
4596
4596
  }), kh = Le({
4597
4597
  altLabels: Boolean,
4598
4598
  bgColor: String,
4599
- completeIcon: Et,
4600
- editIcon: Et,
4599
+ completeIcon: It,
4600
+ editIcon: It,
4601
4601
  editable: Boolean,
4602
- errorIcon: Et,
4602
+ errorIcon: It,
4603
4603
  hideActions: Boolean,
4604
4604
  items: {
4605
4605
  type: Array,
@@ -4804,7 +4804,7 @@ const Gu = Le({
4804
4804
  let {
4805
4805
  slots: s
4806
4806
  } = n;
4807
- const o = ht(va, null), a = Bt(e, "modelValue"), u = Q({
4807
+ const o = gt(va, null), a = wt(e, "modelValue"), u = Q({
4808
4808
  get() {
4809
4809
  return a.value != null || !o ? a.value : o.items.value.find((r) => o.selected.value.includes(r.id))?.value;
4810
4810
  },
@@ -4889,7 +4889,7 @@ const Rh = Le({
4889
4889
  attrs: s,
4890
4890
  slots: o
4891
4891
  } = n;
4892
- const a = Bt(e, "modelValue"), u = Q(() => Sh(e.items)), {
4892
+ const a = wt(e, "modelValue"), u = Q(() => Sh(e.items)), {
4893
4893
  densityClasses: r
4894
4894
  } = zA(e), {
4895
4895
  backgroundColorClasses: A,
@@ -4991,7 +4991,7 @@ const Rh = Le({
4991
4991
  emit: o,
4992
4992
  slots: a
4993
4993
  } = n;
4994
- const u = Bt(e, "modelValue"), {
4994
+ const u = wt(e, "modelValue"), {
4995
4995
  isFocused: r,
4996
4996
  focus: A,
4997
4997
  blur: p
@@ -5003,7 +5003,7 @@ const Rh = Le({
5003
5003
  function C(G, te) {
5004
5004
  !e.autofocus || !G || te[0].target?.focus?.();
5005
5005
  }
5006
- const k = V(), I = V(), w = Tt(""), S = V(), D = Q(() => e.persistentPlaceholder || r.value || e.active);
5006
+ const k = V(), I = V(), w = Lt(""), S = V(), D = Q(() => e.persistentPlaceholder || r.value || e.active);
5007
5007
  function R() {
5008
5008
  S.value !== document.activeElement && S.value?.focus(), r.value || A();
5009
5009
  }
@@ -5105,7 +5105,7 @@ const Rh = Le({
5105
5105
  } = je;
5106
5106
  return c(ae, null, [e.prefix && c("span", {
5107
5107
  class: "v-text-field__prefix"
5108
- }, [e.prefix]), At(c("textarea", ie({
5108
+ }, [e.prefix]), pt(c("textarea", ie({
5109
5109
  ref: S,
5110
5110
  class: Fe,
5111
5111
  value: u.value,
@@ -5122,10 +5122,10 @@ const Rh = Le({
5122
5122
  handler: C
5123
5123
  }, null, {
5124
5124
  once: !0
5125
- }]]), e.autoGrow && At(c("textarea", {
5125
+ }]]), e.autoGrow && pt(c("textarea", {
5126
5126
  class: [Fe, "v-textarea__sizer"],
5127
5127
  id: `${Ie.id}-sizer`,
5128
- "onUpdate:modelValue": (Ft) => u.value = Ft,
5128
+ "onUpdate:modelValue": (Mt) => u.value = Mt,
5129
5129
  ref: Z,
5130
5130
  readonly: !0,
5131
5131
  "aria-hidden": "true"
@@ -5274,7 +5274,7 @@ function xh(e, n, s, o, a, u) {
5274
5274
  return b(), z(Vl, null, {
5275
5275
  default: d(() => [
5276
5276
  B("div", null, [
5277
- At((b(), z(oh, {
5277
+ pt((b(), z(oh, {
5278
5278
  modelValue: o.currentSlide,
5279
5279
  "onUpdate:modelValue": [
5280
5280
  n[1] || (n[1] = (r) => o.currentSlide = r),
@@ -5439,7 +5439,7 @@ const Kh = {
5439
5439
  }, t1 = fe({
5440
5440
  components: {
5441
5441
  BBreakfastOptionBadge: hs,
5442
- BErrorOverlay: zt,
5442
+ BErrorOverlay: Ft,
5443
5443
  BFormattedAmount: Zn,
5444
5444
  BGoogleMapIframe: Uu,
5445
5445
  BHotelRoomsDetails: ys,
@@ -5453,17 +5453,17 @@ const Kh = {
5453
5453
  computed: {
5454
5454
  bookingStatusColor() {
5455
5455
  switch (this.booking?.status) {
5456
- case Nt.Cx:
5457
- case Nt.Af:
5456
+ case Ht.Cx:
5457
+ case Ht.Af:
5458
5458
  return "error--text";
5459
- case Nt.Cf:
5460
- case Nt.Created:
5459
+ case Ht.Cf:
5460
+ case Ht.Created:
5461
5461
  return "success--text";
5462
- case Nt.Ip:
5463
- case Nt.Pp:
5462
+ case Ht.Ip:
5463
+ case Ht.Pp:
5464
5464
  return "warning--text";
5465
- case Nt.Pc:
5466
- case Nt.Qr:
5465
+ case Ht.Pc:
5466
+ case Ht.Qr:
5467
5467
  case void 0:
5468
5468
  default:
5469
5469
  return "";
@@ -5485,7 +5485,7 @@ const Kh = {
5485
5485
  return this.booking?.invoices || [];
5486
5486
  },
5487
5487
  isBookingAvailable() {
5488
- return !!this.booking && this.booking.status !== Nt.Af && this.booking.status !== Nt.Cx;
5488
+ return !!this.booking && this.booking.status !== Ht.Af && this.booking.status !== Ht.Cx;
5489
5489
  },
5490
5490
  nightCount() {
5491
5491
  return this.booking ? $e(this.booking.checkOutDate).startOf("day").diff($e(this.booking.checkInDate).startOf("day"), "day") : 0;
@@ -6880,7 +6880,7 @@ var Og = /* @__PURE__ */ ka(function(n, s, o) {
6880
6880
  n(s[a], a, s) && (o[a] = s[a]);
6881
6881
  return o;
6882
6882
  });
6883
- const re = (e) => typeof e == "function" && !!(e.constructor && e.call && e.apply), Ge = (e) => typeof e == "string", Pt = (e) => e === null, dt = (e) => typeof e > "u", jt = (e) => Pt(e) || dt(e), Fg = (e) => typeof e == "bigint", Ke = (e) => !dt(e), Io = (e) => !jt(e), Mg = (e) => Io(e) && e !== "", Ea = (e) => {
6883
+ const re = (e) => typeof e == "function" && !!(e.constructor && e.call && e.apply), Ge = (e) => typeof e == "string", St = (e) => e === null, dt = (e) => typeof e > "u", jt = (e) => St(e) || dt(e), Fg = (e) => typeof e == "bigint", Ke = (e) => !dt(e), Io = (e) => !jt(e), Mg = (e) => Io(e) && e !== "", Ea = (e) => {
6884
6884
  switch (Object.prototype.toString.call(e)) {
6885
6885
  case "[object Error]":
6886
6886
  case "[object Exception]":
@@ -6892,7 +6892,7 @@ const re = (e) => typeof e == "function" && !!(e.constructor && e.call && e.appl
6892
6892
  }, xg = (e) => typeof e == "boolean", Gi = (e, n) => {
6893
6893
  const s = n.split(".");
6894
6894
  return zg(s, e);
6895
- }, Ng = (e, n) => !!Gi(e, n), Hg = (e) => typeof e == "object", Ug = (e) => !Pt(e) && Hg(e) && !Array.isArray(e), We = (e) => !Pt(e) && Object.prototype.toString.call(e) === "[object Object]", Vg = (e, n) => {
6895
+ }, Ng = (e, n) => !!Gi(e, n), Hg = (e) => typeof e == "object", Ug = (e) => !St(e) && Hg(e) && !Array.isArray(e), We = (e) => !St(e) && Object.prototype.toString.call(e) === "[object Object]", Vg = (e, n) => {
6896
6896
  if (!Array.isArray(e) || !Array.isArray(n))
6897
6897
  return Re(n);
6898
6898
  const s = Re(e);
@@ -6941,18 +6941,18 @@ const re = (e) => typeof e == "function" && !!(e.constructor && e.call && e.appl
6941
6941
  return re(o) && (a.callback = o), re(s) && (a.properties = n, a.options = void 0, a.callback = s), re(n) && (a.properties = void 0, a.options = void 0, a.callback = n), a.properties = Io(a.properties) ? Re(a.properties) : {}, Ke(a.options) ? a.options = Re(a.options) : a.options = void 0, a;
6942
6942
  }, l1 = (e, n, s, o) => {
6943
6943
  const a = { userId: e, traits: n, options: s, callback: void 0 };
6944
- return re(o) && (a.callback = o), re(s) && (a.userId = e, a.traits = n, a.options = void 0, a.callback = s), re(n) && (a.userId = e, a.traits = void 0, a.options = void 0, a.callback = n), (We(e) || Pt(e)) && (a.userId = null, a.traits = e, re(n) ? a.options = void 0 : a.options = n), a.userId = Al(a.userId), We(a.traits) ? a.traits = Re(a.traits) : a.traits = void 0, Ke(a.options) ? a.options = Re(a.options) : a.options = void 0, a;
6944
+ return re(o) && (a.callback = o), re(s) && (a.userId = e, a.traits = n, a.options = void 0, a.callback = s), re(n) && (a.userId = e, a.traits = void 0, a.options = void 0, a.callback = n), (We(e) || St(e)) && (a.userId = null, a.traits = e, re(n) ? a.options = void 0 : a.options = n), a.userId = Al(a.userId), We(a.traits) ? a.traits = Re(a.traits) : a.traits = void 0, Ke(a.options) ? a.options = Re(a.options) : a.options = void 0, a;
6945
6945
  }, i1 = (e, n, s, o) => {
6946
6946
  const a = { to: e, from: n, options: s, callback: void 0 };
6947
- return re(o) && (a.callback = o), re(s) && (a.to = e, a.from = n, a.options = void 0, a.callback = s), re(n) ? (a.to = e, a.from = void 0, a.options = void 0, a.callback = n) : (We(n) || Pt(n)) && (a.to = e, a.from = void 0, a.options = n), Ke(a.to) && (a.to = Al(a.to)), Ke(a.from) ? a.from = Al(a.from) : a.from = void 0, Ke(a.options) ? a.options = Re(a.options) : a.options = void 0, a;
6947
+ return re(o) && (a.callback = o), re(s) && (a.to = e, a.from = n, a.options = void 0, a.callback = s), re(n) ? (a.to = e, a.from = void 0, a.options = void 0, a.callback = n) : (We(n) || St(n)) && (a.to = e, a.from = void 0, a.options = n), Ke(a.to) && (a.to = Al(a.to)), Ke(a.from) ? a.from = Al(a.from) : a.from = void 0, Ke(a.options) ? a.options = Re(a.options) : a.options = void 0, a;
6948
6948
  }, a1 = (e, n, s, o) => {
6949
6949
  const a = { groupId: e, traits: n, options: s, callback: void 0 };
6950
- return re(o) && (a.callback = o), re(s) && (a.groupId = e, a.traits = n, a.options = void 0, a.callback = s), re(n) && (a.groupId = e, a.traits = void 0, a.options = void 0, a.callback = n), (We(e) || Pt(e)) && (a.groupId = null, a.traits = e, re(n) ? a.options = void 0 : a.options = n), a.groupId = Al(a.groupId), We(a.traits) ? a.traits = Re(a.traits) : a.traits = void 0, Ke(a.options) ? a.options = Re(a.options) : a.options = void 0, a;
6950
+ return re(o) && (a.callback = o), re(s) && (a.groupId = e, a.traits = n, a.options = void 0, a.callback = s), re(n) && (a.groupId = e, a.traits = void 0, a.options = void 0, a.callback = n), (We(e) || St(e)) && (a.groupId = null, a.traits = e, re(n) ? a.options = void 0 : a.options = n), a.groupId = Al(a.groupId), We(a.traits) ? a.traits = Re(a.traits) : a.traits = void 0, Ke(a.options) ? a.options = Re(a.options) : a.options = void 0, a;
6951
6951
  };
6952
6952
  let Di = /* @__PURE__ */ (function(e) {
6953
6953
  return e.UNLOADED = "Page Unloaded", e;
6954
6954
  })({});
6955
- const wa = "API", Wi = "CapabilitiesManager", Lt = "ConfigManager", r1 = "EventManager", Vs = "PluginsManager", Un = "UserSessionManager", Jo = "ErrorHandler", fo = "PluginEngine", Gg = "StoreManager", Oi = `Ready${wa}`, Wg = `Load${wa}`, jg = "HttpClient", Zg = "RudderStackAnalytics", qs = "AnalyticsCore";
6955
+ const wa = "API", Wi = "CapabilitiesManager", zt = "ConfigManager", r1 = "EventManager", Vs = "PluginsManager", Un = "UserSessionManager", Jo = "ErrorHandler", fo = "PluginEngine", Gg = "StoreManager", Oi = `Ready${wa}`, Wg = `Load${wa}`, jg = "HttpClient", Zg = "RudderStackAnalytics", qs = "AnalyticsCore";
6956
6956
  function Jg(e) {
6957
6957
  return crypto.getRandomValues(new Uint8Array(e));
6958
6958
  }
@@ -6999,7 +6999,7 @@ const $g = () => !jt(globalThis.crypto) && re(globalThis.crypto.getRandomValues)
6999
6999
  const o = [];
7000
7000
  return function(a, u) {
7001
7001
  if (!n?.includes(a) && !(e && jt(u))) {
7002
- if (typeof u != "object" || Pt(u))
7002
+ if (typeof u != "object" || St(u))
7003
7003
  return u;
7004
7004
  for (; o.length > 0 && o[o.length - 1] !== this; )
7005
7005
  o.pop();
@@ -7218,7 +7218,7 @@ function Yl() {
7218
7218
  if (Zi = 0, Pn--, n) throw e;
7219
7219
  }
7220
7220
  }
7221
- function yt(e) {
7221
+ function ht(e) {
7222
7222
  if (Pn > 0) return e();
7223
7223
  Pn++;
7224
7224
  try {
@@ -7247,21 +7247,21 @@ function g1(e) {
7247
7247
  return n.i = 0, n.n !== void 0 && (n.n.p = n.p, n.p !== void 0 && (n.p.n = n.n), n.p = Me.s, n.n = void 0, Me.s.n = n, Me.s = n), n;
7248
7248
  }
7249
7249
  }
7250
- function gt(e, n) {
7250
+ function vt(e, n) {
7251
7251
  this.v = e, this.i = 0, this.n = void 0, this.t = void 0, this.W = n?.watched, this.Z = n?.unwatched, this.name = n?.name;
7252
7252
  }
7253
- gt.prototype.brand = z2;
7254
- gt.prototype.h = function() {
7253
+ vt.prototype.brand = z2;
7254
+ vt.prototype.h = function() {
7255
7255
  return !0;
7256
7256
  };
7257
- gt.prototype.S = function(e) {
7257
+ vt.prototype.S = function(e) {
7258
7258
  var n = this, s = this.t;
7259
7259
  s !== e && e.e === void 0 && (e.x = s, this.t = e, s !== void 0 ? s.e = e : h1(function() {
7260
7260
  var o;
7261
7261
  (o = n.W) == null || o.call(n);
7262
7262
  }));
7263
7263
  };
7264
- gt.prototype.U = function(e) {
7264
+ vt.prototype.U = function(e) {
7265
7265
  var n = this;
7266
7266
  if (this.t !== void 0) {
7267
7267
  var s = e.e, o = e.x;
@@ -7271,7 +7271,7 @@ gt.prototype.U = function(e) {
7271
7271
  }));
7272
7272
  }
7273
7273
  };
7274
- gt.prototype.subscribe = function(e) {
7274
+ vt.prototype.subscribe = function(e) {
7275
7275
  var n = this;
7276
7276
  return nn(function() {
7277
7277
  var s = n.value, o = Me;
@@ -7283,16 +7283,16 @@ gt.prototype.subscribe = function(e) {
7283
7283
  }
7284
7284
  }, { name: "sub" });
7285
7285
  };
7286
- gt.prototype.valueOf = function() {
7286
+ vt.prototype.valueOf = function() {
7287
7287
  return this.value;
7288
7288
  };
7289
- gt.prototype.toString = function() {
7289
+ vt.prototype.toString = function() {
7290
7290
  return this.value + "";
7291
7291
  };
7292
- gt.prototype.toJSON = function() {
7292
+ vt.prototype.toJSON = function() {
7293
7293
  return this.value;
7294
7294
  };
7295
- gt.prototype.peek = function() {
7295
+ vt.prototype.peek = function() {
7296
7296
  var e = Me;
7297
7297
  Me = void 0;
7298
7298
  try {
@@ -7301,7 +7301,7 @@ gt.prototype.peek = function() {
7301
7301
  Me = e;
7302
7302
  }
7303
7303
  };
7304
- Object.defineProperty(gt.prototype, "value", { get: function() {
7304
+ Object.defineProperty(vt.prototype, "value", { get: function() {
7305
7305
  var e = g1(this);
7306
7306
  return e !== void 0 && (e.i = this.i), this.v;
7307
7307
  }, set: function(e) {
@@ -7316,7 +7316,7 @@ Object.defineProperty(gt.prototype, "value", { get: function() {
7316
7316
  }
7317
7317
  } });
7318
7318
  function J(e, n) {
7319
- return new gt(e, n);
7319
+ return new vt(e, n);
7320
7320
  }
7321
7321
  function v1(e) {
7322
7322
  for (var n = e.s; n !== void 0; n = n.n) if (n.S.i !== n.i || !n.S.h() || n.S.i !== n.i) return !0;
@@ -7339,9 +7339,9 @@ function C1(e) {
7339
7339
  e.s = s;
7340
7340
  }
7341
7341
  function Ro(e, n) {
7342
- gt.call(this, void 0), this.x = e, this.s = void 0, this.g = yl - 1, this.f = 4, this.W = n?.watched, this.Z = n?.unwatched, this.name = n?.name;
7342
+ vt.call(this, void 0), this.x = e, this.s = void 0, this.g = yl - 1, this.f = 4, this.W = n?.watched, this.Z = n?.unwatched, this.name = n?.name;
7343
7343
  }
7344
- Ro.prototype = new gt();
7344
+ Ro.prototype = new vt();
7345
7345
  Ro.prototype.h = function() {
7346
7346
  if (this.f &= -3, 1 & this.f) return !1;
7347
7347
  if ((36 & this.f) == 32 || (this.f &= -5, this.g === yl)) return !0;
@@ -7362,10 +7362,10 @@ Ro.prototype.S = function(e) {
7362
7362
  this.f |= 36;
7363
7363
  for (var n = this.s; n !== void 0; n = n.n) n.S.S(n);
7364
7364
  }
7365
- gt.prototype.S.call(this, e);
7365
+ vt.prototype.S.call(this, e);
7366
7366
  };
7367
7367
  Ro.prototype.U = function(e) {
7368
- if (this.t !== void 0 && (gt.prototype.U.call(this, e), this.t === void 0)) {
7368
+ if (this.t !== void 0 && (vt.prototype.U.call(this, e), this.t === void 0)) {
7369
7369
  this.f &= -33;
7370
7370
  for (var n = this.s; n !== void 0; n = n.n) n.S.U(n);
7371
7371
  }
@@ -7745,7 +7745,7 @@ const T1 = (e, n) => {
7745
7745
  let u;
7746
7746
  if (e.sendRawData === !0)
7747
7747
  u = e.data;
7748
- else if (u = Kt(e.data, !1, [], s), Pt(u)) {
7748
+ else if (u = Kt(e.data, !1, [], s), St(u)) {
7749
7749
  a({ error: new Error(q2), undefined: void 0, options: e });
7750
7750
  return;
7751
7751
  }
@@ -8109,46 +8109,46 @@ async function eb(e) {
8109
8109
  });
8110
8110
  });
8111
8111
  }
8112
- function bt(e, n) {
8112
+ function Ct(e, n) {
8113
8113
  if (!e?.default && n) {
8114
8114
  let s = /* @__PURE__ */ Object.create(null);
8115
8115
  return s.default = e, s.__esModule = !0, s;
8116
8116
  }
8117
8117
  return e;
8118
8118
  }
8119
- function Ct(e, n) {
8119
+ function kt(e, n) {
8120
8120
  return eb(e).then((s) => s.get(n).then((o) => o()));
8121
8121
  }
8122
8122
  const tb = (e) => {
8123
8123
  switch (e) {
8124
8124
  case "BeaconQueue":
8125
- return () => Ct("rudderAnalyticsRemotePlugins", "./BeaconQueue").then((n) => bt(n, !0));
8125
+ return () => kt("rudderAnalyticsRemotePlugins", "./BeaconQueue").then((n) => Ct(n, !0));
8126
8126
  case "CustomConsentManager":
8127
- return () => Ct("rudderAnalyticsRemotePlugins", "./CustomConsentManager").then((n) => bt(n, !0));
8127
+ return () => kt("rudderAnalyticsRemotePlugins", "./CustomConsentManager").then((n) => Ct(n, !0));
8128
8128
  case "DeviceModeDestinations":
8129
- return () => Ct("rudderAnalyticsRemotePlugins", "./DeviceModeDestinations").then((n) => bt(n, !0));
8129
+ return () => kt("rudderAnalyticsRemotePlugins", "./DeviceModeDestinations").then((n) => Ct(n, !0));
8130
8130
  case "DeviceModeTransformation":
8131
- return () => Ct("rudderAnalyticsRemotePlugins", "./DeviceModeTransformation").then((n) => bt(n, !0));
8131
+ return () => kt("rudderAnalyticsRemotePlugins", "./DeviceModeTransformation").then((n) => Ct(n, !0));
8132
8132
  case "ExternalAnonymousId":
8133
- return () => Ct("rudderAnalyticsRemotePlugins", "./ExternalAnonymousId").then((n) => bt(n, !0));
8133
+ return () => kt("rudderAnalyticsRemotePlugins", "./ExternalAnonymousId").then((n) => Ct(n, !0));
8134
8134
  case "GoogleLinker":
8135
- return () => Ct("rudderAnalyticsRemotePlugins", "./GoogleLinker").then((n) => bt(n, !0));
8135
+ return () => kt("rudderAnalyticsRemotePlugins", "./GoogleLinker").then((n) => Ct(n, !0));
8136
8136
  case "KetchConsentManager":
8137
- return () => Ct("rudderAnalyticsRemotePlugins", "./KetchConsentManager").then((n) => bt(n, !0));
8137
+ return () => kt("rudderAnalyticsRemotePlugins", "./KetchConsentManager").then((n) => Ct(n, !0));
8138
8138
  case "IubendaConsentManager":
8139
- return () => Ct("rudderAnalyticsRemotePlugins", "./IubendaConsentManager").then((n) => bt(n, !0));
8139
+ return () => kt("rudderAnalyticsRemotePlugins", "./IubendaConsentManager").then((n) => Ct(n, !0));
8140
8140
  case "NativeDestinationQueue":
8141
- return () => Ct("rudderAnalyticsRemotePlugins", "./NativeDestinationQueue").then((n) => bt(n, !0));
8141
+ return () => kt("rudderAnalyticsRemotePlugins", "./NativeDestinationQueue").then((n) => Ct(n, !0));
8142
8142
  case "OneTrustConsentManager":
8143
- return () => Ct("rudderAnalyticsRemotePlugins", "./OneTrustConsentManager").then((n) => bt(n, !0));
8143
+ return () => kt("rudderAnalyticsRemotePlugins", "./OneTrustConsentManager").then((n) => Ct(n, !0));
8144
8144
  case "StorageEncryption":
8145
- return () => Ct("rudderAnalyticsRemotePlugins", "./StorageEncryption").then((n) => bt(n, !0));
8145
+ return () => kt("rudderAnalyticsRemotePlugins", "./StorageEncryption").then((n) => Ct(n, !0));
8146
8146
  case "StorageEncryptionLegacy":
8147
- return () => Ct("rudderAnalyticsRemotePlugins", "./StorageEncryptionLegacy").then((n) => bt(n, !0));
8147
+ return () => kt("rudderAnalyticsRemotePlugins", "./StorageEncryptionLegacy").then((n) => Ct(n, !0));
8148
8148
  case "StorageMigrator":
8149
- return () => Ct("rudderAnalyticsRemotePlugins", "./StorageMigrator").then((n) => bt(n, !0));
8149
+ return () => kt("rudderAnalyticsRemotePlugins", "./StorageMigrator").then((n) => Ct(n, !0));
8150
8150
  case "XhrQueue":
8151
- return () => Ct("rudderAnalyticsRemotePlugins", "./XhrQueue").then((n) => bt(n, !0));
8151
+ return () => kt("rudderAnalyticsRemotePlugins", "./XhrQueue").then((n) => Ct(n, !0));
8152
8152
  default:
8153
8153
  return;
8154
8154
  }
@@ -8177,7 +8177,7 @@ class ib {
8177
8177
  // eslint-disable-next-line class-methods-use-this
8178
8178
  attachEffects() {
8179
8179
  nn(() => {
8180
- (g.plugins.activePlugins.value.length === 0 || g.plugins.loadedPlugins.value.length + g.plugins.failedPlugins.value.length === g.plugins.totalPluginsToLoad.value) && yt(() => {
8180
+ (g.plugins.activePlugins.value.length === 0 || g.plugins.loadedPlugins.value.length + g.plugins.failedPlugins.value.length === g.plugins.totalPluginsToLoad.value) && ht(() => {
8181
8181
  g.plugins.ready.value = !0, g.lifecycle.status.value = "pluginsReady";
8182
8182
  });
8183
8183
  });
@@ -8213,7 +8213,7 @@ class ib {
8213
8213
  const n = this.getPluginsToLoadBasedOnConfig(), s = [...Object.keys(zi), ...M1], o = [], a = [];
8214
8214
  n.forEach((u) => {
8215
8215
  s.includes(u) ? o.push(u) : a.push(u);
8216
- }), a.length > 0 && this.logger.warn(F3(Vs, a)), yt(() => {
8216
+ }), a.length > 0 && this.logger.warn(F3(Vs, a)), ht(() => {
8217
8217
  g.plugins.totalPluginsToLoad.value = n.length, g.plugins.activePlugins.value = o, g.plugins.failedPlugins.value = a;
8218
8218
  });
8219
8219
  }
@@ -8287,7 +8287,7 @@ class ib {
8287
8287
  this.errorHandler.onError({ error: n, context: Vs, customMessage: s, groupingHash: o });
8288
8288
  }
8289
8289
  }
8290
- const It = "cookieStorage", St = "localStorage", Ot = "sessionStorage", en = "memoryStorage", Yn = "none", ab = "test_rudder_cookie", rb = "test_rudder_ls", cb = "test_rudder_ss", fb = "rl_user_id", ub = "rl_trait", db = "rl_anonymous_id", mb = "rl_group_id", Ab = "rl_group_trait", pb = "rl_page_init_referrer", yb = "rl_page_init_referring_domain", hb = "rl_session", gb = "rl_auth_token", uo = { userId: fb, userTraits: ub, anonymousId: db, groupId: mb, groupTraits: Ab, initialReferrer: pb, initialReferringDomain: yb, sessionInfo: hb, authToken: gb }, vb = "__tld__", H1 = "clientDataInCookie", U1 = "clientDataInLocalStorage", bb = "clientDataInMemory", V1 = "clientDataInSessionStorage", q1 = ["userId", "userTraits", "anonymousId", "groupId", "groupTraits", "initialReferrer", "initialReferringDomain", "sessionInfo", "authToken"], mo = { [It]: H1, [St]: U1, [en]: bb, [Ot]: V1 }, Xc = (e, n) => {
8290
+ const Bt = "cookieStorage", Rt = "localStorage", Tt = "sessionStorage", en = "memoryStorage", Yn = "none", ab = "test_rudder_cookie", rb = "test_rudder_ls", cb = "test_rudder_ss", fb = "rl_user_id", ub = "rl_trait", db = "rl_anonymous_id", mb = "rl_group_id", Ab = "rl_group_trait", pb = "rl_page_init_referrer", yb = "rl_page_init_referring_domain", hb = "rl_session", gb = "rl_auth_token", uo = { userId: fb, userTraits: ub, anonymousId: db, groupId: mb, groupTraits: Ab, initialReferrer: pb, initialReferringDomain: yb, sessionInfo: hb, authToken: gb }, vb = "__tld__", H1 = "clientDataInCookie", U1 = "clientDataInLocalStorage", bb = "clientDataInMemory", V1 = "clientDataInSessionStorage", q1 = ["userId", "userTraits", "anonymousId", "groupId", "groupTraits", "initialReferrer", "initialReferringDomain", "sessionInfo", "authToken"], mo = { [Bt]: H1, [Rt]: U1, [en]: bb, [Tt]: V1 }, Xc = (e, n) => {
8291
8291
  try {
8292
8292
  return encodeURIComponent(e);
8293
8293
  } catch (s) {
@@ -8311,7 +8311,7 @@ const It = "cookieStorage", St = "localStorage", Ot = "sessionStorage", en = "me
8311
8311
  }, kb = (e, n, s, o) => {
8312
8312
  const a = { ...s || {} };
8313
8313
  let u = `${Xc(e, o)}=${Xc(n, o)}`;
8314
- Pt(n) && (a.maxage = -1), a.maxage && (a.expires = new Date(+/* @__PURE__ */ new Date() + a.maxage)), a.path && (u += `; path=${a.path}`), a.domain && (u += `; domain=${a.domain}`), a.expires && (u += `; expires=${a.expires.toUTCString()}`), a.samesite && (u += `; samesite=${a.samesite}`), a.secure && (u += "; secure"), globalThis.document.cookie = u;
8314
+ St(n) && (a.maxage = -1), a.maxage && (a.expires = new Date(+/* @__PURE__ */ new Date() + a.maxage)), a.path && (u += `; path=${a.path}`), a.domain && (u += `; domain=${a.domain}`), a.expires && (u += `; expires=${a.expires.toUTCString()}`), a.samesite && (u += `; samesite=${a.samesite}`), a.secure && (u += "; secure"), globalThis.document.cookie = u;
8315
8315
  }, _i = () => {
8316
8316
  const e = globalThis.document.cookie;
8317
8317
  return Cb(e);
@@ -8514,7 +8514,7 @@ var Lb = Tb();
8514
8514
  const Hn = /* @__PURE__ */ D1(Lb), K1 = (e) => {
8515
8515
  const n = ["QuotaExceededError", "NS_ERROR_DOM_QUOTA_REACHED"], s = [22, 1014];
8516
8516
  return e instanceof DOMException ? n.includes(e.name) || s.includes(e.code) : !1;
8517
- }, yo = (e = St, n, s) => {
8517
+ }, yo = (e = Rt, n, s) => {
8518
8518
  let o, a;
8519
8519
  const u = r2(Wi, e);
8520
8520
  let r = "unavailable", A = !0, p;
@@ -8522,13 +8522,13 @@ const Hn = /* @__PURE__ */ D1(Lb), K1 = (e) => {
8522
8522
  switch (e) {
8523
8523
  case en:
8524
8524
  return !0;
8525
- case It:
8525
+ case Bt:
8526
8526
  o = n, a = ab;
8527
8527
  break;
8528
- case St:
8528
+ case Rt:
8529
8529
  o = n ?? globalThis.localStorage, a = rb;
8530
8530
  break;
8531
- case Ot:
8531
+ case Tt:
8532
8532
  o = n ?? globalThis.sessionStorage, a = cb;
8533
8533
  break;
8534
8534
  default:
@@ -8550,7 +8550,7 @@ class zb {
8550
8550
  this.options = Sb(), this.logger = n;
8551
8551
  }
8552
8552
  configure(n) {
8553
- return this.options = ft(this.options, n ?? {}), this.isSupportAvailable = yo(St), this.isEnabled = !!(this.options.enabled && this.isSupportAvailable), this.options;
8553
+ return this.options = ft(this.options, n ?? {}), this.isSupportAvailable = yo(Rt), this.isEnabled = !!(this.options.enabled && this.isSupportAvailable), this.options;
8554
8554
  }
8555
8555
  setItem(n, s) {
8556
8556
  Hn.set(n, s), this.length = Hn.len();
@@ -8583,7 +8583,7 @@ class Fb {
8583
8583
  this.options = Rb(), this.logger = n;
8584
8584
  }
8585
8585
  configure(n) {
8586
- return this.options = ft(this.options, n ?? {}), this.isSupportAvailable = yo(Ot), this.isSupportAvailable && (this.store = globalThis.sessionStorage), this.isEnabled = !!(this.options.enabled && this.isSupportAvailable), this.options;
8586
+ return this.options = ft(this.options, n ?? {}), this.isSupportAvailable = yo(Tt), this.isSupportAvailable && (this.store = globalThis.sessionStorage), this.isEnabled = !!(this.options.enabled && this.isSupportAvailable), this.options;
8587
8587
  }
8588
8588
  setItem(n, s) {
8589
8589
  this.store && (this.store.setItem(n, s), this.length = this.store.length);
@@ -8623,7 +8623,7 @@ class Mb {
8623
8623
  this.logger = n;
8624
8624
  }
8625
8625
  configure(n) {
8626
- return this.options || (this.options = Pb()), this.options = ft(this.options, n ?? {}), this.options.sameDomainCookiesOnly && delete this.options.domain, this.isSupportAvailable = yo(It, this), this.isEnabled = !!(this.options.enabled && this.isSupportAvailable), this.options;
8626
+ return this.options || (this.options = Pb()), this.options = ft(this.options, n ?? {}), this.options.sameDomainCookiesOnly && delete this.options.domain, this.isSupportAvailable = yo(Bt, this), this.isEnabled = !!(this.options.enabled && this.isSupportAvailable), this.options;
8627
8627
  }
8628
8628
  setItem(n, s) {
8629
8629
  return fn(n, s, this.options, this.logger), this.length = Object.keys(fn()).length, !0;
@@ -8650,13 +8650,13 @@ class Mb {
8650
8650
  }
8651
8651
  const Ta = new Mb(yn), Ut = (e) => {
8652
8652
  switch (e) {
8653
- case St:
8653
+ case Rt:
8654
8654
  return Da;
8655
- case Ot:
8655
+ case Tt:
8656
8656
  return Oa;
8657
8657
  case en:
8658
8658
  return hl;
8659
- case It:
8659
+ case Bt:
8660
8660
  return Ta;
8661
8661
  default:
8662
8662
  return hl;
@@ -8805,7 +8805,7 @@ class Yb {
8805
8805
  * Create store to persist data used by the SDK like session, used details etc
8806
8806
  */
8807
8807
  initClientDataStores() {
8808
- this.initializeStorageState(), [en, St, It, Ot].forEach((s) => {
8808
+ this.initializeStorageState(), [en, Rt, Bt, Tt].forEach((s) => {
8809
8809
  Ut(s)?.isEnabled && this.setStore({ id: mo[s], name: mo[s], isEncrypted: !0, noCompoundKey: !0, type: s, errorHandler: this.errorHandler, logger: this.logger });
8810
8810
  });
8811
8811
  }
@@ -8817,25 +8817,25 @@ class Yb {
8817
8817
  q1.forEach((r) => {
8818
8818
  const A = r, p = r, h = s?.[A]?.type, C = Kb(g, r) ?? h ?? n ?? Ji, k = this.getResolvedStorageTypeForEntry(C, r);
8819
8819
  k !== Yn && (a = !1), u = { ...u, [r]: { type: k, key: uo[p] } };
8820
- }), yt(() => {
8820
+ }), ht(() => {
8821
8821
  g.storage.type.value = n, g.storage.entries.value = u, g.storage.trulyAnonymousTracking.value = a;
8822
8822
  });
8823
8823
  }
8824
8824
  getResolvedStorageTypeForEntry(n, s) {
8825
8825
  let o = n;
8826
8826
  switch (n) {
8827
- case St:
8828
- Ut(St)?.isEnabled || (o = en);
8827
+ case Rt:
8828
+ Ut(Rt)?.isEnabled || (o = en);
8829
8829
  break;
8830
- case Ot:
8831
- Ut(Ot)?.isEnabled || (o = en);
8830
+ case Tt:
8831
+ Ut(Tt)?.isEnabled || (o = en);
8832
8832
  break;
8833
8833
  case en:
8834
8834
  case Yn:
8835
8835
  break;
8836
- case It:
8836
+ case Bt:
8837
8837
  default:
8838
- Ut(It)?.isEnabled ? o = It : Ut(St)?.isEnabled ? o = St : Ut(Ot)?.isEnabled ? o = Ot : o = en;
8838
+ Ut(Bt)?.isEnabled ? o = Bt : Ut(Rt)?.isEnabled ? o = Rt : Ut(Tt)?.isEnabled ? o = Tt : o = en;
8839
8839
  break;
8840
8840
  }
8841
8841
  return o !== n && this.logger.warn(w3(Gg, s, n, o)), o;
@@ -8912,7 +8912,7 @@ const Gb = (e) => We(e) && We(e.source) && !jt(e.source.id) && We(e.source.confi
8912
8912
  }, ef = (e) => An(e) || Array.isArray(e), o4 = (e, n) => {
8913
8913
  let { provider: s } = e;
8914
8914
  const o = s ? Xi[s] : void 0;
8915
- return s && !o && (n.error(j2(Lt, s, Xi)), s = void 0), { provider: s, consentManagerPluginName: o };
8915
+ return s && !o && (n.error(j2(zt, s, Xi)), s = void 0), { provider: s, consentManagerPluginName: o };
8916
8916
  }, W1 = (e, n) => {
8917
8917
  let s, o = [], a = [], u = !1, r, A = e?.enabled === !0;
8918
8918
  An(e) && A && ({ provider: r, consentManagerPluginName: s } = o4(e, n), ef(e.allowedConsentIds) && (o = e.allowedConsentIds, u = !0), ef(e.deniedConsentIds) && (a = e.deniedConsentIds, u = !0));
@@ -8939,7 +8939,7 @@ const Gb = (e) => We(e) && We(e.source) && !jt(e.source.id) && We(e.source.confi
8939
8939
  if (wo(C)) {
8940
8940
  p = Bo(C);
8941
8941
  const k = $i(window.location.href), I = $i(C);
8942
- k !== I && (r = { ...r, samesite: "None", secure: !0 }), !u && v && I !== Sc(h) && (A = !1, e.warn(p3(Lt, h, I)));
8942
+ k !== I && (r = { ...r, samesite: "None", secure: !0 }), !u && v && I !== Sc(h) && (A = !1, e.warn(p3(zt, h, I)));
8943
8943
  } else
8944
8944
  A = !1;
8945
8945
  }
@@ -8947,24 +8947,24 @@ const Gb = (e) => We(e) && We(e.source) && !jt(e.source.id) && We(e.source.confi
8947
8947
  }, a4 = (e) => {
8948
8948
  const { storage: n } = g.loadOptions.value;
8949
8949
  let s = n?.type;
8950
- Ke(s) && !Wb(s) && (e.warn(d3(Lt, s, Ji)), s = Ji);
8950
+ Ke(s) && !Wb(s) && (e.warn(d3(zt, s, Ji)), s = Ji);
8951
8951
  let o = n?.encryption?.version;
8952
8952
  const a = o && $s[o];
8953
- !dt(o) && dt(a) ? (e.warn(m3(Lt, o, $s, Vn)), o = Vn) : dt(o) && (o = Vn);
8953
+ !dt(o) && dt(a) ? (e.warn(m3(zt, o, $s, Vn)), o = Vn) : dt(o) && (o = Vn);
8954
8954
  const u = n?.migrate, r = u && o === Vn;
8955
- u === !0 && r !== u && e.warn(A3(Lt, o, Vn));
8955
+ u === !0 && r !== u && e.warn(A3(zt, o, Vn));
8956
8956
  const { sscEnabled: A, finalDataServiceUrl: p, cookieOptions: h } = i4(e);
8957
- yt(() => {
8957
+ ht(() => {
8958
8958
  g.storage.type.value = s, g.storage.cookie.value = h, g.serverCookies.isEnabledServerSideCookies.value = A, g.serverCookies.dataServiceUrl.value = p, g.storage.encryptionPluginName.value = $s[o], g.storage.migrate.value = r;
8959
8959
  });
8960
8960
  }, r4 = (e) => {
8961
8961
  const { provider: n, consentManagerPluginName: s, initialized: o, enabled: a, consentsData: u } = W1(g.loadOptions.value.consentManagement, e), r = g.loadOptions.value.preConsent;
8962
8962
  let A = r?.storage?.strategy ?? Fi;
8963
8963
  const p = ["none", "session", "anonymousId"];
8964
- Ke(A) && !p.includes(A) && (A = Fi, e.warn(Q3(Lt, r?.storage?.strategy, Fi)));
8964
+ Ke(A) && !p.includes(A) && (A = Fi, e.warn(Q3(zt, r?.storage?.strategy, Fi)));
8965
8965
  let h = r?.events?.delivery ?? Mi;
8966
8966
  const v = ["immediate", "buffer"];
8967
- Ke(h) && !v.includes(h) && (h = Mi, e.warn(D3(Lt, r?.events?.delivery, Mi))), yt(() => {
8967
+ Ke(h) && !v.includes(h) && (h = Mi, e.warn(D3(zt, r?.events?.delivery, Mi))), ht(() => {
8968
8968
  g.consents.activeConsentManagerPluginName.value = s, g.consents.initialized.value = o, g.consents.enabled.value = a, g.consents.data.value = u, g.consents.provider.value = n, g.consents.preConsent.value = {
8969
8969
  // Only enable pre-consent if it is explicitly enabled and
8970
8970
  // if it is not already initialized and
@@ -8976,14 +8976,14 @@ const Gb = (e) => We(e) && We(e.source) && !jt(e.source.id) && We(e.source.confi
8976
8976
  });
8977
8977
  }, c4 = (e) => {
8978
8978
  let n = g.consents.resolutionStrategy.value, s;
8979
- We(e.consentManagementMetadata) && (g.consents.provider.value && (n = e.consentManagementMetadata.providers.find((o) => o.provider === g.consents.provider.value)?.resolutionStrategy ?? g.consents.resolutionStrategy.value), s = e.consentManagementMetadata), g.consents.provider.value === "custom" && (n = void 0), yt(() => {
8979
+ We(e.consentManagementMetadata) && (g.consents.provider.value && (n = e.consentManagementMetadata.providers.find((o) => o.provider === g.consents.provider.value)?.resolutionStrategy ?? g.consents.resolutionStrategy.value), s = e.consentManagementMetadata), g.consents.provider.value === "custom" && (n = void 0), ht(() => {
8980
8980
  g.consents.metadata.value = Re(s), g.consents.resolutionStrategy.value = n;
8981
8981
  });
8982
8982
  }, f4 = (e) => {
8983
8983
  if (g.dataPlaneEvents.deliveryEnabled.value) {
8984
8984
  const n = "XhrQueue";
8985
8985
  let s = n;
8986
- g.loadOptions.value.useBeacon && (g.capabilities.isBeaconAvailable.value ? s = "BeaconQueue" : (s = n, e.warn(g3(Lt)))), yt(() => {
8986
+ g.loadOptions.value.useBeacon && (g.capabilities.isBeaconAvailable.value ? s = "BeaconQueue" : (s = n, e.warn(g3(zt)))), ht(() => {
8987
8987
  g.dataPlaneEvents.eventsQueuePluginName.value = s;
8988
8988
  });
8989
8989
  }
@@ -8996,13 +8996,13 @@ const Gb = (e) => We(e) && We(e.source) && !jt(e.source.id) && We(e.source.confi
8996
8996
  v.searchParams.get(k) === null && v.searchParams.set(k, C);
8997
8997
  }), r = v.origin, p = v.pathname, A = v.searchParams, h = v.hash;
8998
8998
  } else
8999
- a.warn(S3(Lt, e));
8999
+ a.warn(S3(zt, e));
9000
9000
  return `${r}${p}?${A}${h}`;
9001
9001
  }, d4 = (e) => e.map((n) => ({ id: n.id, displayName: n.destinationDefinition.displayName, enabled: n.enabled, config: n.config, shouldApplyDeviceModeTransformation: n.shouldApplyDeviceModeTransformation ?? !1, propagateEventsUntransformedOnError: n.propagateEventsUntransformedOnError ?? !1, userFriendlyId: Jv(n.destinationDefinition.displayName, n.id), isCustomIntegration: n.destinationDefinition.displayName === q3 })), j1 = (e, n, s, o, a, u, r) => {
9002
9002
  let A;
9003
9003
  if (u) {
9004
9004
  if (!wo(u))
9005
- return r.error(W2(Lt, e, u)), null;
9005
+ return r.error(W2(zt, e, u)), null;
9006
9006
  A = Bo(u);
9007
9007
  } else if (A = s, g.context.app.value.installType === "cdn") {
9008
9008
  const p = s4();
@@ -9025,10 +9025,10 @@ class p4 {
9025
9025
  */
9026
9026
  init() {
9027
9027
  const { logLevel: n, configUrl: s, lockIntegrationsVersion: o, lockPluginsVersion: a, destSDKBaseURL: u, pluginsSDKBaseURL: r, integrations: A } = g.loadOptions.value, p = m4(ls, o, u, this.logger);
9028
- if (Pt(p))
9028
+ if (St(p))
9029
9029
  return;
9030
9030
  let h;
9031
- h = A4(ls, a, r, this.logger), h !== null && (this.attachEffects(), g.lifecycle.activeDataplaneUrl.value = Bo(g.lifecycle.dataPlaneUrl.value), a4(this.logger), r4(this.logger), f4(this.logger), yt(() => {
9031
+ h = A4(ls, a, r, this.logger), h !== null && (this.attachEffects(), g.lifecycle.activeDataplaneUrl.value = Bo(g.lifecycle.dataPlaneUrl.value), a4(this.logger), r4(this.logger), f4(this.logger), ht(() => {
9032
9032
  g.lifecycle.integrationsCDNPath.value = p, g.lifecycle.pluginsCDNPath.value = h, n && (g.lifecycle.logLevel.value = n), g.lifecycle.sourceConfigUrl.value = u4(s, g.lifecycle.writeKey.value, o, a, this.logger), g.metrics.metricsServiceUrl.value = `${g.lifecycle.activeDataplaneUrl.value}/${V3}`, g.nativeDestinations.loadOnlyIntegrations.value = A;
9033
9033
  }), this.getConfig());
9034
9034
  }
@@ -9036,7 +9036,7 @@ class p4 {
9036
9036
  * Handle errors
9037
9037
  */
9038
9038
  onError(n, s, o) {
9039
- this.errorHandler.onError({ error: n, context: Lt, customMessage: s, groupingHash: o });
9039
+ this.errorHandler.onError({ error: n, context: zt, customMessage: s, groupingHash: o });
9040
9040
  }
9041
9041
  /**
9042
9042
  * A callback function that is executed once we fetch the source config response.
@@ -9064,7 +9064,7 @@ class p4 {
9064
9064
  }
9065
9065
  l4(o);
9066
9066
  const a = o.source.destinations.length > 0 ? d4(o.source.destinations) : [];
9067
- yt(() => {
9067
+ ht(() => {
9068
9068
  g.source.value = { config: o.source.config, name: o.source.name, id: o.source.id, workspaceId: o.source.workspaceId }, g.nativeDestinations.configuredDestinations.value = a, g.plugins.pluginsToLoadFromConfig.value = g.loadOptions.value.plugins ?? [], c4(o), g.lifecycle.status.value = "configured";
9069
9069
  });
9070
9070
  }
@@ -9077,7 +9077,7 @@ class p4 {
9077
9077
  const n = g.loadOptions.value.getSourceConfig;
9078
9078
  if (n) {
9079
9079
  if (!re(n)) {
9080
- this.logger.error(G2(Lt));
9080
+ this.logger.error(G2(zt));
9081
9081
  return;
9082
9082
  }
9083
9083
  const s = n();
@@ -9196,8 +9196,8 @@ class S4 {
9196
9196
  */
9197
9197
  // eslint-disable-next-line class-methods-use-this
9198
9198
  detectBrowserCapabilities() {
9199
- yt(() => {
9200
- g.capabilities.storage.isCookieStorageAvailable.value = yo(It, Ut(It), this.logger), g.capabilities.storage.isLocalStorageAvailable.value = yo(St, void 0, this.logger), g.capabilities.storage.isSessionStorageAvailable.value = yo(Ot, void 0, this.logger), g.capabilities.isBeaconAvailable.value = P4(), g.capabilities.isUaCHAvailable.value = nf(), g.capabilities.isCryptoAvailable.value = w4(), g.capabilities.isIE11.value = c1(), g.capabilities.isOnline.value = globalThis.navigator.onLine, g.context.userAgent.value = g4(), g.context.locale.value = v4(), g.context.screen.value = of(), g.context.timezone.value = y4(), nf() && b4((n) => {
9199
+ ht(() => {
9200
+ g.capabilities.storage.isCookieStorageAvailable.value = yo(Bt, Ut(Bt), this.logger), g.capabilities.storage.isLocalStorageAvailable.value = yo(Rt, void 0, this.logger), g.capabilities.storage.isSessionStorageAvailable.value = yo(Tt, void 0, this.logger), g.capabilities.isBeaconAvailable.value = P4(), g.capabilities.isUaCHAvailable.value = nf(), g.capabilities.isCryptoAvailable.value = w4(), g.capabilities.isIE11.value = c1(), g.capabilities.isOnline.value = globalThis.navigator.onLine, g.context.userAgent.value = g4(), g.context.locale.value = v4(), g.context.screen.value = of(), g.context.timezone.value = y4(), nf() && b4((n) => {
9201
9201
  g.context["ua-ch"].value = n;
9202
9202
  }, g.loadOptions.value.uaChTrackLevel);
9203
9203
  }), nn(() => {
@@ -9269,7 +9269,7 @@ const R4 = "web", Q4 = ["integrations", "anonymousId", "originalTimestamp"], sf
9269
9269
  autoTrack: !0,
9270
9270
  ...s && { cutOff: s }
9271
9271
  };
9272
- }, F4 = (e, n) => ({ id: T4(e, n) ? e : O4(), sessionStart: void 0, manualTrack: !0 }), Xo = (e) => e === It || e === St || e === Ot || e === en, ta = () => ql(), M4 = (e) => {
9272
+ }, F4 = (e, n) => ({ id: T4(e, n) ? e : O4(), sessionStart: void 0, manualTrack: !0 }), Xo = (e) => e === Bt || e === Rt || e === Tt || e === en, ta = () => ql(), M4 = (e) => {
9273
9273
  if (xg(e)) {
9274
9274
  const { entries: n, ...s } = Li;
9275
9275
  return { ...s, entries: { ...n, anonymousId: e } };
@@ -9498,7 +9498,7 @@ class W4 {
9498
9498
  return Xo(g.storage.entries.value[n]?.type);
9499
9499
  }
9500
9500
  migrateDataFromPreviousStorage() {
9501
- const n = g.storage.entries.value, s = [It, St, Ot];
9501
+ const n = g.storage.entries.value, s = [Bt, Rt, Tt];
9502
9502
  Object.keys(n).forEach((o) => {
9503
9503
  const a = o, u = n[a]?.type, r = this.storeManager?.getStore(mo[u]);
9504
9504
  r && s.forEach((A) => {
@@ -9597,7 +9597,7 @@ class W4 {
9597
9597
  v.length > 0 ? this.makeRequestToSetCookie(v, (C, k) => {
9598
9598
  A(), k?.xhr?.status === 200 ? u().forEach((I) => {
9599
9599
  const w = r[I.name], S = o?.get(I.name);
9600
- Kt(h[I.name], !1, []) !== Kt(S, !1, []) && (Pt(w) && Pt(S) && this.logger.error(u3(I.name)), s && s(I.name, I.value));
9600
+ Kt(h[I.name], !1, []) !== Kt(S, !1, []) && (St(w) && St(S) && this.logger.error(u3(I.name)), s && s(I.name, I.value));
9601
9601
  }) : (this.logger.error(f3(k?.xhr?.status)), p());
9602
9602
  }) : (p(), A());
9603
9603
  } catch (h) {
@@ -9612,7 +9612,7 @@ class W4 {
9612
9612
  const s = g.storage.entries.value, o = s[n]?.type;
9613
9613
  if (Xo(o)) {
9614
9614
  const a = this.storeManager.getStore(mo[o]), u = s[n]?.key, r = g.session[n].value;
9615
- r && (Ge(r) || An(r)) ? g.serverCookies.isEnabledServerSideCookies.value && o === It ? (this.serverSideCookiesRequestInProgress[n] = !0, this.serverSideCookieDebounceFuncs[n] && globalThis.clearTimeout(this.serverSideCookieDebounceFuncs[n]), this.serverSideCookieDebounceFuncs[n] = globalThis.setTimeout(() => {
9615
+ r && (Ge(r) || An(r)) ? g.serverCookies.isEnabledServerSideCookies.value && o === Bt ? (this.serverSideCookiesRequestInProgress[n] = !0, this.serverSideCookieDebounceFuncs[n] && globalThis.clearTimeout(this.serverSideCookieDebounceFuncs[n]), this.serverSideCookieDebounceFuncs[n] = globalThis.setTimeout(() => {
9616
9616
  const A = { [n]: { name: u } };
9617
9617
  this.setServerSideCookies(A, (p, h) => {
9618
9618
  a?.set(p, h);
@@ -9666,7 +9666,7 @@ class W4 {
9666
9666
  return null;
9667
9667
  }
9668
9668
  getExternalAnonymousIdByCookieName(n) {
9669
- const s = Ut(It);
9669
+ const s = Ut(Bt);
9670
9670
  return s?.isEnabled ? s.getItem(n) ?? null : null;
9671
9671
  }
9672
9672
  /**
@@ -9764,7 +9764,7 @@ class W4 {
9764
9764
  */
9765
9765
  reset(n) {
9766
9766
  const { session: s } = g, o = M4(n);
9767
- yt(() => {
9767
+ ht(() => {
9768
9768
  Object.keys(Ne).forEach((a) => {
9769
9769
  const u = a;
9770
9770
  if (o.entries[u] === !0)
@@ -9957,7 +9957,7 @@ class oC {
9957
9957
  this.logger.error(s3(qs, s));
9958
9958
  return;
9959
9959
  }
9960
- yt(() => {
9960
+ ht(() => {
9961
9961
  g.lifecycle.writeKey.value = Re(n), g.lifecycle.dataPlaneUrl.value = Re(s), g.loadOptions.value = Z4(g.loadOptions.value, o), g.lifecycle.status.value = "mounted";
9962
9962
  }), this.logger.setMinLogLevel(g.loadOptions.value.logLevel ?? E1), is("state", g, n), this.startLifecycle();
9963
9963
  }
@@ -10060,7 +10060,7 @@ class oC {
10060
10060
  * Trigger onLoaded callback if any is provided in config & emit initialised event
10061
10061
  */
10062
10062
  onInitialized() {
10063
- this.processDataInPreloadBuffer(), yt(() => {
10063
+ this.processDataInPreloadBuffer(), ht(() => {
10064
10064
  g.lifecycle.loaded.value = !0, g.lifecycle.status.value = "loaded";
10065
10065
  }), this.initialized = !0;
10066
10066
  const n = g.loadOptions.value.onLoaded;
@@ -10102,7 +10102,7 @@ class oC {
10102
10102
  return;
10103
10103
  }
10104
10104
  g.lifecycle.status.value = "destinationsLoading", this.pluginsManager?.invokeSingle("nativeDestinations.load", g, this.externalSrcLoader, this.errorHandler, this.logger), nn(() => {
10105
- (n === 0 || g.nativeDestinations.initializedDestinations.value.length + g.nativeDestinations.failedDestinations.value.length === n) && yt(() => {
10105
+ (n === 0 || g.nativeDestinations.initializedDestinations.value.length + g.nativeDestinations.failedDestinations.value.length === n) && ht(() => {
10106
10106
  g.lifecycle.status.value = "destinationsReady", g.nativeDestinations.clientDestinationsReady.value = !0;
10107
10107
  });
10108
10108
  });
@@ -10154,7 +10154,7 @@ class oC {
10154
10154
  g.eventBuffer.toBeProcessedArray.value = [...g.eventBuffer.toBeProcessedArray.value, [o, n]];
10155
10155
  return;
10156
10156
  }
10157
- this.errorHandler.leaveBreadcrumb(`New ${o} event`), g.metrics.triggered.value += 1, !!(n.userId && g.session.userId.value && n.userId !== g.session.userId.value) && this.reset(), Pt(n.userId) || this.userSessionManager?.setUserId(n.userId), this.userSessionManager?.setUserTraits(n.traits), this.eventManager?.addEvent({ type: o, userId: n.userId, traits: n.traits, options: n.options, callback: n.callback });
10157
+ this.errorHandler.leaveBreadcrumb(`New ${o} event`), g.metrics.triggered.value += 1, !!(n.userId && g.session.userId.value && n.userId !== g.session.userId.value) && this.reset(), St(n.userId) || this.userSessionManager?.setUserId(n.userId), this.userSessionManager?.setUserTraits(n.traits), this.eventManager?.addEvent({ type: o, userId: n.userId, traits: n.traits, options: n.options, callback: n.callback });
10158
10158
  }
10159
10159
  alias(n, s = !1) {
10160
10160
  const o = "alias";
@@ -10172,7 +10172,7 @@ class oC {
10172
10172
  g.eventBuffer.toBeProcessedArray.value = [...g.eventBuffer.toBeProcessedArray.value, [o, n]];
10173
10173
  return;
10174
10174
  }
10175
- this.errorHandler.leaveBreadcrumb(`New ${o} event`), g.metrics.triggered.value += 1, Pt(n.groupId) || this.userSessionManager?.setGroupId(n.groupId), this.userSessionManager?.setGroupTraits(n.traits), this.eventManager?.addEvent({ type: o, groupId: n.groupId, traits: n.traits, options: n.options, callback: n.callback });
10175
+ this.errorHandler.leaveBreadcrumb(`New ${o} event`), g.metrics.triggered.value += 1, St(n.groupId) || this.userSessionManager?.setGroupId(n.groupId), this.userSessionManager?.setGroupTraits(n.traits), this.eventManager?.addEvent({ type: o, groupId: n.groupId, traits: n.traits, options: n.options, callback: n.callback });
10176
10176
  }
10177
10177
  reset(n, s = !1) {
10178
10178
  const o = "reset";
@@ -10235,7 +10235,7 @@ class oC {
10235
10235
  g.eventBuffer.toBeProcessedArray.value = [...g.eventBuffer.toBeProcessedArray.value, [o, n]];
10236
10236
  return;
10237
10237
  }
10238
- this.errorHandler.leaveBreadcrumb("New consent invocation"), yt(() => {
10238
+ this.errorHandler.leaveBreadcrumb("New consent invocation"), ht(() => {
10239
10239
  g.consents.preConsent.value = { ...g.consents.preConsent.value, enabled: !1 }, g.consents.postConsent.value = n4(n);
10240
10240
  const { initialized: a, consentsData: u } = W1(g.consents.postConsent.value.consentManagement, this.logger);
10241
10241
  g.consents.initialized.value = a, g.consents.data.value = u;
@@ -11160,6 +11160,7 @@ function mC(e, n, s, o, a, u) {
11160
11160
  default: d(() => [
11161
11161
  s.isPayLaterForced ? (b(), z(he, {
11162
11162
  key: 0,
11163
+ "data-gtm-id": "payment-book-pay-later",
11163
11164
  class: "w-sm-auto w-100",
11164
11165
  color: "primary",
11165
11166
  disabled: s.isLoading || !o.isTermsAccepted,
@@ -11173,6 +11174,7 @@ function mC(e, n, s, o, a, u) {
11173
11174
  _: 1
11174
11175
  }, 8, ["disabled", "loading"])) : s.isPayLaterAllowed ? (b(), H(ae, { key: 1 }, [
11175
11176
  c(he, {
11177
+ "data-gtm-id": "payment-book-pay-later",
11176
11178
  class: "w-sm-auto w-100",
11177
11179
  color: "primary",
11178
11180
  disabled: s.isLoading || !o.isTermsAccepted,
@@ -11204,6 +11206,7 @@ function mC(e, n, s, o, a, u) {
11204
11206
  ], 64)) : Y("", !0),
11205
11207
  s.isPayLaterForced ? Y("", !0) : (b(), z(he, {
11206
11208
  key: 2,
11209
+ "data-gtm-id": "payment-book-now",
11207
11210
  class: "w-sm-auto w-100",
11208
11211
  color: "primary",
11209
11212
  variant: "flat",
@@ -11538,7 +11541,7 @@ const vC = /* @__PURE__ */ pe(od, [["render", gC], ["__file", "/home/runner/work
11538
11541
  ), st(() => {
11539
11542
  G();
11540
11543
  });
11541
- const te = { props: o, emit: a, t: u, bookingApiClient: r, eventBus: A, booking: p, couponErrorMessage: h, couponId: v, couponSuccessMessage: C, error: k, isFetchingBooking: I, isPaymentLoading: w, isPaymentSuccess: S, isUpdatingPaymentMethods: D, snackbar: R, paymentForm: T, isPayLaterForced: U, isPayLaterAllowed: K, paymentMethods: x, creditCardPaymentMethod: Z, pay: ee, payLater: ne, toggleCreditCardForm: q, retrieveBooking: $, updatePaymentMethods: G, BErrorOverlay: zt, BFormattedAmount: Zn, BookingDetailsSidebar: Lu, get Event() {
11544
+ const te = { props: o, emit: a, t: u, bookingApiClient: r, eventBus: A, booking: p, couponErrorMessage: h, couponId: v, couponSuccessMessage: C, error: k, isFetchingBooking: I, isPaymentLoading: w, isPaymentSuccess: S, isUpdatingPaymentMethods: D, snackbar: R, paymentForm: T, isPayLaterForced: U, isPayLaterAllowed: K, paymentMethods: x, creditCardPaymentMethod: Z, pay: ee, payLater: ne, toggleCreditCardForm: q, retrieveBooking: $, updatePaymentMethods: G, BErrorOverlay: Ft, BFormattedAmount: Zn, BookingDetailsSidebar: Lu, get Event() {
11542
11545
  return ke;
11543
11546
  }, PaymentFormUI: AC, BookingPaymentForcedPayLater: vC };
11544
11547
  return Object.defineProperty(te, "__isScriptSetup", { enumerable: !1, value: !0 }), te;
@@ -12000,7 +12003,7 @@ const ld = /* @__PURE__ */ pe(sd, [["render", EC], ["__scopeId", "data-v-5bc5b45
12000
12003
  __proto__: null,
12001
12004
  default: ld
12002
12005
  }, Symbol.toStringTag, { value: "Module" }));
12003
- var Ht = /* @__PURE__ */ ((e) => (e.Idle = "IDLE", e.PaymentRequested = "PAYMENT_REQUESTED", e.PaymentSuccessful = "PAYMENT_SUCCESSFUL", e.Prebook = "PREBOOK", e))(Ht || {});
12006
+ var At = /* @__PURE__ */ ((e) => (e.Idle = "IDLE", e.PaymentRequested = "PAYMENT_REQUESTED", e.PaymentSuccessful = "PAYMENT_SUCCESSFUL", e.Prebook = "PREBOOK", e))(At || {});
12004
12007
  function La(e) {
12005
12008
  const n = vo(), { hasError: s, hotelOfferRequest: o, isFetching: a } = Rn(
12006
12009
  n
@@ -12234,7 +12237,7 @@ var rs = /* @__PURE__ */ ((e) => (e.RoomsDetails = "RoomsDetails", e))(rs || {})
12234
12237
  const Fa = {
12235
12238
  RoomsDetails: !0
12236
12239
  };
12237
- var kt = /* @__PURE__ */ ((e) => (e.DialogFullscreen = "DialogFullscreen", e.HotelDescriptionViewDialog = "HotelDescriptionViewDialog", e.HotelRoomOfferList = "HotelRoomOfferList", e.HotelRoomOffersViewDialog = "HotelRoomOffersViewDialog", e))(kt || {});
12240
+ var Et = /* @__PURE__ */ ((e) => (e.DialogFullscreen = "DialogFullscreen", e.HotelDescriptionViewDialog = "HotelDescriptionViewDialog", e.HotelRoomOfferList = "HotelRoomOfferList", e.HotelRoomOffersViewDialog = "HotelRoomOffersViewDialog", e))(Et || {});
12238
12241
  const vl = {
12239
12242
  DialogFullscreen: !0,
12240
12243
  HotelDescriptionViewDialog: !1,
@@ -12600,7 +12603,7 @@ const JC = /* @__PURE__ */ pe(id, [["render", ZC], ["__scopeId", "data-v-bca3f99
12600
12603
  }
12601
12604
  }, ad = fe({
12602
12605
  components: {
12603
- BErrorOverlay: zt,
12606
+ BErrorOverlay: Ft,
12604
12607
  ContactForm: iC,
12605
12608
  HotelOfferItemLayout: Nl
12606
12609
  },
@@ -13517,7 +13520,7 @@ const cd = /* @__PURE__ */ pe(sk, [["render", ik], ["__scopeId", "data-v-0811e3f
13517
13520
  setup(e, { expose: n }) {
13518
13521
  n();
13519
13522
  const { t: s } = Ue(), o = { t: s, HotelDescriptionViewLayout: cd, get BErrorOverlay() {
13520
- return zt;
13523
+ return Ft;
13521
13524
  } };
13522
13525
  return Object.defineProperty(o, "__isScriptSetup", { enumerable: !1, value: !0 }), o;
13523
13526
  }
@@ -15267,7 +15270,7 @@ const xa = /* @__PURE__ */ pe(Gk, [["render", jk], ["__file", "/home/runner/work
15267
15270
  }, get BBreakfastSwitch() {
15268
15271
  return tp;
15269
15272
  }, get BErrorOverlay() {
15270
- return zt;
15273
+ return Ft;
15271
15274
  }, get BFormattedAmount() {
15272
15275
  return Zn;
15273
15276
  }, get BHotelRoomsDetails() {
@@ -15656,7 +15659,7 @@ function oE(e, n, s, o, a, u) {
15656
15659
  action: d(() => [
15657
15660
  e.type === "PACKAGE" ? (b(), z(he, {
15658
15661
  key: 0,
15659
- "data-gtm-id": "hotel-room-offer-item-select-2",
15662
+ "data-gtm-id": "hotel-room-offer-item-book",
15660
15663
  class: "text-none font-weight-bold book-btn w-sm-auto w-100",
15661
15664
  color: o.isBookingPoliciesSuccessful ? "success" : "primary",
15662
15665
  disabled: o.isFetchingBookingPolicies || o.isBookingPoliciesUnavailable || e.isLoading,
@@ -15667,7 +15670,7 @@ function oE(e, n, s, o, a, u) {
15667
15670
  }, {
15668
15671
  default: d(() => [
15669
15672
  o.isBookingPoliciesSuccessful ? Y("", !0) : (b(), H("span", tE, P(o.t("HotelRoomOfferItem.book")), 1)),
15670
- At(c(be, { class: "position-absolute" }, {
15673
+ pt(c(be, { class: "position-absolute" }, {
15671
15674
  default: d(() => [...n[4] || (n[4] = [
15672
15675
  N(" fas fa-check ", -1)
15673
15676
  ])]),
@@ -15847,7 +15850,7 @@ const iE = /* @__PURE__ */ pe(sE, [["render", lE], ["__scopeId", "data-v-aa3ac36
15847
15850
  },
15848
15851
  setup(e, { expose: n }) {
15849
15852
  n();
15850
- const { t: s } = Ue(), o = { t: s, BErrorOverlay: zt, HotelRoomOfferItemLayout: xa };
15853
+ const { t: s } = Ue(), o = { t: s, BErrorOverlay: Ft, HotelRoomOfferItemLayout: xa };
15851
15854
  return Object.defineProperty(o, "__isScriptSetup", { enumerable: !1, value: !0 }), o;
15852
15855
  }
15853
15856
  });
@@ -16176,7 +16179,7 @@ function hd(e) {
16176
16179
  }
16177
16180
  const gd = fe({
16178
16181
  components: {
16179
- BErrorOverlay: zt,
16182
+ BErrorOverlay: Ft,
16180
16183
  HotelRoomOfferBasket: iE,
16181
16184
  HotelRoomOfferItem: Ad,
16182
16185
  HotelRoomOfferItemLayout: xa,
@@ -16409,7 +16412,7 @@ function uE(e, n, s, o, a, u) {
16409
16412
  key: h.id
16410
16413
  }, [
16411
16414
  v > 0 ? (b(), z(Te, { key: 0 })) : Y("", !0),
16412
- c(A, ie({ "data-gtm-id": "hotel-room-offer-item-select-1" }, { ref_for: !0 }, h, {
16415
+ c(A, ie({ ref_for: !0 }, h, {
16413
16416
  "adult-count": e.hotelRoomOfferRequestInternal.adultCount,
16414
16417
  "check-in-date": e.hotelRoomOfferRequestInternal.checkInDate,
16415
16418
  "check-out-date": e.hotelRoomOfferRequestInternal.checkOutDate,
@@ -16449,7 +16452,7 @@ function uE(e, n, s, o, a, u) {
16449
16452
  key: h.id
16450
16453
  }, [
16451
16454
  v > 0 ? (b(), z(Te, { key: 0 })) : Y("", !0),
16452
- c(A, ie({ "data-gtm-id": "hotel-room-offer-item-select-2" }, { ref_for: !0 }, h, {
16455
+ c(A, ie({ ref_for: !0 }, h, {
16453
16456
  "adult-count": e.hotelRoomOfferRequestInternal.adultCount,
16454
16457
  "check-in-date": e.hotelRoomOfferRequestInternal.checkInDate,
16455
16458
  "check-out-date": e.hotelRoomOfferRequestInternal.checkOutDate,
@@ -16799,9 +16802,9 @@ const kd = /* @__PURE__ */ pe(yE, [["render", hE], ["__file", "/home/runner/work
16799
16802
  ), C = Q(
16800
16803
  () => a.hotelOffer?.tags?.filter((te) => te.name.length > 30) || []
16801
16804
  ), k = Q(() => {
16802
- if (a.features?.[kt.HotelRoomOffersViewDialog])
16805
+ if (a.features?.[Et.HotelRoomOffersViewDialog])
16803
16806
  return "hotel-room-offers-view";
16804
- if (a.features?.[kt.HotelDescriptionViewDialog])
16807
+ if (a.features?.[Et.HotelDescriptionViewDialog])
16805
16808
  return "hotel-description-view";
16806
16809
  }), I = Q(
16807
16810
  () => a.hotelOffer.distance ? Math.round(a.hotelOffer.distance / 1e3 * 100) / 100 : 0
@@ -16824,23 +16827,23 @@ const kd = /* @__PURE__ */ pe(yE, [["render", hE], ["__file", "/home/runner/work
16824
16827
  window.RevolugoElements.eventBus.$emit(
16825
16828
  ke.HotelOffersItemClick,
16826
16829
  a.hotelOffer
16827
- ), a.features?.[kt.HotelRoomOfferList] ? A.value ? (A.value = !1, setTimeout(() => {
16830
+ ), a.features?.[Et.HotelRoomOfferList] ? A.value ? (A.value = !1, setTimeout(() => {
16828
16831
  r.value = !1;
16829
16832
  }, 500)) : (r.value = !0, at(() => {
16830
16833
  A.value = !0;
16831
- })) : (a.features?.[kt.HotelDescriptionViewDialog] || a.features?.[kt.HotelRoomOffersViewDialog]) && (p.value = !0);
16834
+ })) : (a.features?.[Et.HotelDescriptionViewDialog] || a.features?.[Et.HotelRoomOffersViewDialog]) && (p.value = !0);
16832
16835
  }
16833
16836
  function x() {
16834
16837
  window.RevolugoElements.eventBus.$emit(
16835
16838
  ke.HotelOffersItemClick,
16836
16839
  a.hotelOffer
16837
- ), p.value = !0, a.features?.[kt.HotelRoomOffersViewDialog] && (A.value = !1, r.value = !1);
16840
+ ), p.value = !0, a.features?.[Et.HotelRoomOffersViewDialog] && (A.value = !1, r.value = !1);
16838
16841
  }
16839
16842
  function Z(te) {
16840
16843
  te && o("visible", { id: a.hotelOffer.id });
16841
16844
  }
16842
16845
  st(() => {
16843
- a.features?.[kt.HotelRoomOffersViewDialog] && window.RevolugoElements.eventBus.$on(ke.BookingPolicyCreated, () => {
16846
+ a.features?.[Et.HotelRoomOffersViewDialog] && window.RevolugoElements.eventBus.$on(ke.BookingPolicyCreated, () => {
16844
16847
  setTimeout(() => {
16845
16848
  p.value = !1;
16846
16849
  }, 350);
@@ -16851,7 +16854,7 @@ const kd = /* @__PURE__ */ pe(yE, [["render", hE], ["__file", "/home/runner/work
16851
16854
  ), ne = V(null), { $breakpointService: q } = pn(ne), { $dialogAttach: $ } = op(ne), G = { emit: o, props: a, t: u, mountAdditionalContent: r, showAdditionalContent: A, toggleDialog: p, hotelOfferRequest: h, nightCount: v, bigTags: C, dialogComponentName: k, formattedDistance: I, hotelId: w, hotelRoomOffer: S, isRefundable: D, roomCount: R, smallTags: T, venueTravelTimes: U, onHotelOfferItemClick: K, onHotelOfferItemTitleClick: x, onImageCarouselVisible: Z, hotelRoomDetails: ee, root: ne, $breakpointService: q, $dialogAttach: $, get BBreakfastOptionBadge() {
16852
16855
  return hs;
16853
16856
  }, get BErrorOverlay() {
16854
- return zt;
16857
+ return Ft;
16855
16858
  }, get BHotelRoomsDetails() {
16856
16859
  return ys;
16857
16860
  }, get BPriceSummary() {
@@ -16867,7 +16870,7 @@ const kd = /* @__PURE__ */ pe(yE, [["render", hE], ["__file", "/home/runner/work
16867
16870
  }, CancellationPoliciesBadge: Ca, HotelOfferItemLayout: Nl, get HotelOfferItemUIFeatures() {
16868
16871
  return rs;
16869
16872
  }, BBreakpointObserver: Cu, HotelOfferItemCarousel: rd, get HotelOfferItemFeatures() {
16870
- return kt;
16873
+ return Et;
16871
16874
  }, HotelDescriptionView: dd, HotelRoomOffersView: kd };
16872
16875
  return Object.defineProperty(G, "__isScriptSetup", { enumerable: !1, value: !0 }), G;
16873
16876
  }
@@ -17160,7 +17163,7 @@ function EE(e, n, s, o, a, u) {
17160
17163
  _: 1
17161
17164
  })) : o.mountAdditionalContent ? (b(), z(iu, { key: 1 }, {
17162
17165
  default: d(() => [
17163
- At(B("div", kE, [
17166
+ pt(B("div", kE, [
17164
17167
  o.mountAdditionalContent ? _(e.$slots, "default", { key: 0 }, void 0, !0) : Y("", !0)
17165
17168
  ], 512), [
17166
17169
  [
@@ -17408,7 +17411,7 @@ function SE(e, n, s, o, a, u) {
17408
17411
  type: "noResults",
17409
17412
  onResetFilters: o.onResetFilters
17410
17413
  }, null, 8, ["address", "adult-count", "check-in-date", "check-out-date", "latitude", "longitude", "room-count", "source-market"])) : (b(), H(ae, { key: 3 }, [
17411
- At(c(Jn, {
17414
+ pt(c(Jn, {
17412
17415
  color: "primary",
17413
17416
  indeterminate: ""
17414
17417
  }, null, 512), [
@@ -17537,7 +17540,7 @@ const RE = /* @__PURE__ */ pe(Id, [["render", SE], ["__file", "/home/runner/work
17537
17540
  }
17538
17541
  const U = { emit: o, props: a, t: u, nightCount: r, bigTags: A, formattedDistance: p, hotelRoomOffer: h, isRefundable: v, roomCount: C, smallTags: k, venueTravelTimes: I, onHotelOfferItemClick: w, hotelRoomDetails: S, root: D, $breakpointService: R, onImageCarouselVisible: T, get HotelOfferItemUIFeatures() {
17539
17542
  return rs;
17540
- }, CancellationPoliciesBadge: Ca, HotelOfferItemLayout: Nl, BBreakfastOptionBadge: hs, BErrorOverlay: zt, BHotelRoomsDetails: ys, BPriceSummary: ma, BReviewRating: Ol, BStarRating: xl, BTag: Fl, BTravelTimes: da, HotelOfferItemCarousel: rd };
17543
+ }, CancellationPoliciesBadge: Ca, HotelOfferItemLayout: Nl, BBreakfastOptionBadge: hs, BErrorOverlay: Ft, BHotelRoomsDetails: ys, BPriceSummary: ma, BReviewRating: Ol, BStarRating: xl, BTag: Fl, BTravelTimes: da, HotelOfferItemCarousel: rd };
17541
17544
  return Object.defineProperty(U, "__isScriptSetup", { enumerable: !1, value: !0 }), U;
17542
17545
  }
17543
17546
  });
@@ -18496,7 +18499,7 @@ function ME() {
18496
18499
  function Ie(t, l, i) {
18497
18500
  return t instanceof Fe ? t : U(t) && typeof t[0] != "object" ? t.length === 3 ? new Fe(t[0], t[1], t[2]) : t.length === 2 ? new Fe(t[0], t[1]) : null : t == null ? t : typeof t == "object" && "lat" in t ? new Fe(t.lat, "lng" in t ? t.lng : t.lon, t.alt) : l === void 0 ? null : new Fe(t, l, i);
18498
18501
  }
18499
- var Ft = {
18502
+ var Mt = {
18500
18503
  // @method latLngToPoint(latlng: LatLng, zoom: Number): Point
18501
18504
  // Projects geographical coordinates into pixel coordinates for a given zoom.
18502
18505
  latLngToPoint: function(t, l) {
@@ -18578,7 +18581,7 @@ function ME() {
18578
18581
  var y = t.getSouthWest(), E = t.getNorthEast(), O = new Fe(y.lat - f, y.lng - m), F = new Fe(E.lat - f, E.lng - m);
18579
18582
  return new Qe(O, F);
18580
18583
  }
18581
- }, bn = a({}, Ft, {
18584
+ }, bn = a({}, Mt, {
18582
18585
  wrapLng: [-180, 180],
18583
18586
  // Mean Earth Radius, as recommended for use by
18584
18587
  // the International Union of Geodesy and Geophysics,
@@ -18869,7 +18872,7 @@ function ME() {
18869
18872
  function Is(t) {
18870
18873
  return t.correspondingElement && (t = t.correspondingElement), t.className.baseVal === void 0 ? t.className : t.className.baseVal;
18871
18874
  }
18872
- function Rt(t, l) {
18875
+ function Qt(t, l) {
18873
18876
  "opacity" in t.style ? t.style.opacity = l : "filter" in t.style && Hm(t, l);
18874
18877
  }
18875
18878
  function Hm(t, l) {
@@ -18964,7 +18967,7 @@ function ME() {
18964
18967
  removeClass: nt,
18965
18968
  setClass: li,
18966
18969
  getClass: Is,
18967
- setOpacity: Rt,
18970
+ setOpacity: Qt,
18968
18971
  testProp: Bs,
18969
18972
  setTransform: zn,
18970
18973
  setPosition: lt,
@@ -19341,26 +19344,26 @@ function ME() {
19341
19344
  var Ns = it ? -1 : 1, D0 = it ? F : O, O0 = F * F - O * O + Ns * me * me * W * W, T0 = 2 * D0 * me * W, Pi = O0 / T0, oc = Math.sqrt(Pi * Pi + 1) - Pi, L0 = oc < 1e-9 ? -18 : Math.log(oc);
19342
19345
  return L0;
19343
19346
  }
19344
- function pt(it) {
19347
+ function yt(it) {
19345
19348
  return (Math.exp(it) - Math.exp(-it)) / 2;
19346
19349
  }
19347
19350
  function rt(it) {
19348
19351
  return (Math.exp(it) + Math.exp(-it)) / 2;
19349
19352
  }
19350
- function Dt(it) {
19351
- return pt(it) / rt(it);
19353
+ function Ot(it) {
19354
+ return yt(it) / rt(it);
19352
19355
  }
19353
- var vt = Ee(0);
19356
+ var bt = Ee(0);
19354
19357
  function ro(it) {
19355
- return O * (rt(vt) / rt(vt + se * it));
19358
+ return O * (rt(bt) / rt(bt + se * it));
19356
19359
  }
19357
19360
  function P0(it) {
19358
- return O * (rt(vt) * Dt(vt + se * it) - pt(vt)) / me;
19361
+ return O * (rt(bt) * Ot(bt + se * it) - yt(bt)) / me;
19359
19362
  }
19360
19363
  function S0(it) {
19361
19364
  return 1 - Math.pow(1 - it, 1.5);
19362
19365
  }
19363
- var R0 = Date.now(), tc = (Ee(1) - vt) / se, Q0 = i.duration ? 1e3 * i.duration : 1e3 * tc * 0.8;
19366
+ var R0 = Date.now(), tc = (Ee(1) - bt) / se, Q0 = i.duration ? 1e3 * i.duration : 1e3 * tc * 0.8;
19364
19367
  function nc() {
19365
19368
  var it = (Date.now() - R0) / Q0, Ns = S0(it) * tc;
19366
19369
  it <= 1 ? (this._flyToFrame = G(nc, this), this._move(
@@ -19579,8 +19582,8 @@ function ME() {
19579
19582
  // the given bounds in its entirety.
19580
19583
  getBoundsZoom: function(t, l, i) {
19581
19584
  t = je(t), i = ue(i || [0, 0]);
19582
- var f = this.getZoom() || 0, m = this.getMinZoom(), y = this.getMaxZoom(), E = t.getNorthWest(), O = t.getSouthEast(), F = this.getSize().subtract(i), W = we(this.project(O, f), this.project(E, f)).getSize(), se = ce.any3d ? this.options.zoomSnap : 1, me = F.x / W.x, Ee = F.y / W.y, pt = l ? Math.max(me, Ee) : Math.min(me, Ee);
19583
- return f = this.getScaleZoom(pt, f), se && (f = Math.round(f / (se / 100)) * (se / 100), f = l ? Math.ceil(f / se) * se : Math.floor(f / se) * se), Math.max(m, Math.min(y, f));
19585
+ var f = this.getZoom() || 0, m = this.getMinZoom(), y = this.getMaxZoom(), E = t.getNorthWest(), O = t.getSouthEast(), F = this.getSize().subtract(i), W = we(this.project(O, f), this.project(E, f)).getSize(), se = ce.any3d ? this.options.zoomSnap : 1, me = F.x / W.x, Ee = F.y / W.y, yt = l ? Math.max(me, Ee) : Math.min(me, Ee);
19586
+ return f = this.getScaleZoom(yt, f), se && (f = Math.round(f / (se / 100)) * (se / 100), f = l ? Math.ceil(f / se) * se : Math.floor(f / se) * se), Math.max(m, Math.min(y, f));
19584
19587
  },
19585
19588
  // @method getSize(): Point
19586
19589
  // Returns the current size of the map container (in pixels).
@@ -20005,7 +20008,7 @@ function ME() {
20005
20008
  function Km(t, l) {
20006
20009
  return new Pe(t, l);
20007
20010
  }
20008
- var Mt = ze.extend({
20011
+ var xt = ze.extend({
20009
20012
  // @section
20010
20013
  // @aka Control Options
20011
20014
  options: {
@@ -20053,7 +20056,7 @@ function ME() {
20053
20056
  this._map && t && t.screenX > 0 && t.screenY > 0 && this._map.getContainer().focus();
20054
20057
  }
20055
20058
  }), Uo = function(t) {
20056
- return new Mt(t);
20059
+ return new xt(t);
20057
20060
  };
20058
20061
  Pe.include({
20059
20062
  // @method addControl(control: Control): this
@@ -20080,7 +20083,7 @@ function ME() {
20080
20083
  Ze(this._controlContainer), delete this._controlCorners, delete this._controlContainer;
20081
20084
  }
20082
20085
  });
20083
- var Ir = Mt.extend({
20086
+ var Ir = xt.extend({
20084
20087
  // @section
20085
20088
  // @aka Control.Layers options
20086
20089
  options: {
@@ -20122,7 +20125,7 @@ function ME() {
20122
20125
  return this._container;
20123
20126
  },
20124
20127
  addTo: function(t) {
20125
- return Mt.prototype.addTo.call(this, t), this._expandIfNotCollapsed();
20128
+ return xt.prototype.addTo.call(this, t), this._expandIfNotCollapsed();
20126
20129
  },
20127
20130
  onRemove: function() {
20128
20131
  this._map.off("zoomend", this._checkDisabledLayers, this);
@@ -20250,7 +20253,7 @@ function ME() {
20250
20253
  }
20251
20254
  }), Ym = function(t, l, i) {
20252
20255
  return new Ir(t, l, i);
20253
- }, hi = Mt.extend({
20256
+ }, hi = xt.extend({
20254
20257
  // @section
20255
20258
  // @aka Control.Zoom options
20256
20259
  options: {
@@ -20315,7 +20318,7 @@ function ME() {
20315
20318
  });
20316
20319
  var Gm = function(t) {
20317
20320
  return new hi(t);
20318
- }, Br = Mt.extend({
20321
+ }, Br = xt.extend({
20319
20322
  // @section
20320
20323
  // @aka Control.Scale options
20321
20324
  options: {
@@ -20369,7 +20372,7 @@ function ME() {
20369
20372
  }
20370
20373
  }), Wm = function(t) {
20371
20374
  return new Br(t);
20372
- }, jm = '<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" class="leaflet-attribution-flag"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg>', gi = Mt.extend({
20375
+ }, jm = '<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" class="leaflet-attribution-flag"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg>', gi = xt.extend({
20373
20376
  // @section
20374
20377
  // @aka Control.Attribution options
20375
20378
  options: {
@@ -20428,7 +20431,7 @@ function ME() {
20428
20431
  var Zm = function(t) {
20429
20432
  return new gi(t);
20430
20433
  };
20431
- Mt.Layers = Ir, Mt.Zoom = hi, Mt.Scale = Br, Mt.Attribution = gi, Uo.layers = Ym, Uo.zoom = Gm, Uo.scale = Wm, Uo.attribution = Zm;
20434
+ xt.Layers = Ir, xt.Zoom = hi, xt.Scale = Br, xt.Attribution = gi, Uo.layers = Ym, Uo.zoom = Gm, Uo.scale = Wm, Uo.attribution = Zm;
20432
20435
  var Xt = ze.extend({
20433
20436
  initialize: function(t) {
20434
20437
  this._map = t;
@@ -20538,17 +20541,17 @@ function ME() {
20538
20541
  var i, f, m, y, E, O, F, W, se;
20539
20542
  if (!t || t.length === 0)
20540
20543
  throw new Error("latlngs not passed");
20541
- Qt(t) || (console.warn("latlngs are not flat! Only the first ring will be used"), t = t[0]);
20542
- var me = Ie([0, 0]), Ee = je(t), pt = Ee.getNorthWest().distanceTo(Ee.getSouthWest()) * Ee.getNorthEast().distanceTo(Ee.getNorthWest());
20543
- pt < 1700 && (me = vi(t));
20544
- var rt = t.length, Dt = [];
20544
+ Dt(t) || (console.warn("latlngs are not flat! Only the first ring will be used"), t = t[0]);
20545
+ var me = Ie([0, 0]), Ee = je(t), yt = Ee.getNorthWest().distanceTo(Ee.getSouthWest()) * Ee.getNorthEast().distanceTo(Ee.getNorthWest());
20546
+ yt < 1700 && (me = vi(t));
20547
+ var rt = t.length, Ot = [];
20545
20548
  for (i = 0; i < rt; i++) {
20546
- var vt = Ie(t[i]);
20547
- Dt.push(l.project(Ie([vt.lat - me.lat, vt.lng - me.lng])));
20549
+ var bt = Ie(t[i]);
20550
+ Ot.push(l.project(Ie([bt.lat - me.lat, bt.lng - me.lng])));
20548
20551
  }
20549
20552
  for (O = F = W = 0, i = 0, f = rt - 1; i < rt; f = i++)
20550
- m = Dt[i], y = Dt[f], E = m.y * y.x - y.y * m.x, F += (m.x + y.x) * E, W += (m.y + y.y) * E, O += E * 3;
20551
- O === 0 ? se = Dt[0] : se = [F / O, W / O];
20553
+ m = Ot[i], y = Ot[f], E = m.y * y.x - y.y * m.x, F += (m.x + y.x) * E, W += (m.y + y.y) * E, O += E * 3;
20554
+ O === 0 ? se = Ot[0] : se = [F / O, W / O];
20552
20555
  var ro = l.unproject(ue(se));
20553
20556
  return Ie([ro.lat + me.lat, ro.lng + me.lng]);
20554
20557
  }
@@ -20623,30 +20626,30 @@ function ME() {
20623
20626
  var m = l.x, y = l.y, E = i.x - m, O = i.y - y, F = E * E + O * O, W;
20624
20627
  return F > 0 && (W = ((t.x - m) * E + (t.y - y) * O) / F, W > 1 ? (m = i.x, y = i.y) : W > 0 && (m += E * W, y += O * W)), E = t.x - m, O = t.y - y, f ? E * E + O * O : new oe(m, y);
20625
20628
  }
20626
- function Qt(t) {
20629
+ function Dt(t) {
20627
20630
  return !U(t[0]) || typeof t[0][0] != "object" && typeof t[0][0] < "u";
20628
20631
  }
20629
20632
  function Tr(t) {
20630
- return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."), Qt(t);
20633
+ return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."), Dt(t);
20631
20634
  }
20632
20635
  function Lr(t, l) {
20633
20636
  var i, f, m, y, E, O, F, W;
20634
20637
  if (!t || t.length === 0)
20635
20638
  throw new Error("latlngs not passed");
20636
- Qt(t) || (console.warn("latlngs are not flat! Only the first ring will be used"), t = t[0]);
20639
+ Dt(t) || (console.warn("latlngs are not flat! Only the first ring will be used"), t = t[0]);
20637
20640
  var se = Ie([0, 0]), me = je(t), Ee = me.getNorthWest().distanceTo(me.getSouthWest()) * me.getNorthEast().distanceTo(me.getNorthWest());
20638
20641
  Ee < 1700 && (se = vi(t));
20639
- var pt = t.length, rt = [];
20640
- for (i = 0; i < pt; i++) {
20641
- var Dt = Ie(t[i]);
20642
- rt.push(l.project(Ie([Dt.lat - se.lat, Dt.lng - se.lng])));
20642
+ var yt = t.length, rt = [];
20643
+ for (i = 0; i < yt; i++) {
20644
+ var Ot = Ie(t[i]);
20645
+ rt.push(l.project(Ie([Ot.lat - se.lat, Ot.lng - se.lng])));
20643
20646
  }
20644
- for (i = 0, f = 0; i < pt - 1; i++)
20647
+ for (i = 0, f = 0; i < yt - 1; i++)
20645
20648
  f += rt[i].distanceTo(rt[i + 1]) / 2;
20646
20649
  if (f === 0)
20647
20650
  W = rt[0];
20648
20651
  else
20649
- for (i = 0, y = 0; i < pt - 1; i++)
20652
+ for (i = 0, y = 0; i < yt - 1; i++)
20650
20653
  if (E = rt[i], O = rt[i + 1], m = E.distanceTo(O), y += m, y > f) {
20651
20654
  F = (y - f) / m, W = [
20652
20655
  O.x - F * (O.x - E.x),
@@ -20654,8 +20657,8 @@ function ME() {
20654
20657
  ];
20655
20658
  break;
20656
20659
  }
20657
- var vt = l.unproject(ue(W));
20658
- return Ie([vt.lat + se.lat, vt.lng + se.lng]);
20660
+ var bt = l.unproject(ue(W));
20661
+ return Ie([bt.lat + se.lat, bt.lng + se.lng]);
20659
20662
  }
20660
20663
  var n0 = {
20661
20664
  __proto__: null,
@@ -20666,7 +20669,7 @@ function ME() {
20666
20669
  _getEdgeIntersection: Ss,
20667
20670
  _getBitCode: Nn,
20668
20671
  _sqClosestPointOnSegment: Vo,
20669
- isFlat: Qt,
20672
+ isFlat: Dt,
20670
20673
  _flat: Tr,
20671
20674
  polylineCenter: Lr
20672
20675
  }, Ci = {
@@ -20706,7 +20709,7 @@ function ME() {
20706
20709
  code: "EPSG:4326",
20707
20710
  projection: Ci,
20708
20711
  transformation: To(1 / 180, 1, -1 / 180, 0.5)
20709
- }), l0 = a({}, Ft, {
20712
+ }), l0 = a({}, Mt, {
20710
20713
  projection: Ci,
20711
20714
  transformation: To(1, 0, -1, 0),
20712
20715
  scale: function(t) {
@@ -20721,8 +20724,8 @@ function ME() {
20721
20724
  },
20722
20725
  infinite: !0
20723
20726
  });
20724
- Ft.Earth = bn, Ft.EPSG3395 = s0, Ft.EPSG3857 = Jl, Ft.EPSG900913 = um, Ft.EPSG4326 = zr, Ft.Simple = l0;
20725
- var xt = Be.extend({
20727
+ Mt.Earth = bn, Mt.EPSG3395 = s0, Mt.EPSG3857 = Jl, Mt.EPSG900913 = um, Mt.EPSG4326 = zr, Mt.Simple = l0;
20728
+ var Nt = Be.extend({
20726
20729
  // Classes extending `L.Layer` will inherit the following options:
20727
20730
  options: {
20728
20731
  // @option pane: String = 'overlayPane'
@@ -20839,7 +20842,7 @@ function ME() {
20839
20842
  this._layersMaxZoom = l === -1 / 0 ? void 0 : l, this._layersMinZoom = t === 1 / 0 ? void 0 : t, i !== this._getZoomSpan() && this.fire("zoomlevelschange"), this.options.maxZoom === void 0 && this._layersMaxZoom && this.getZoom() > this._layersMaxZoom && this.setZoom(this._layersMaxZoom), this.options.minZoom === void 0 && this._layersMinZoom && this.getZoom() < this._layersMinZoom && this.setZoom(this._layersMinZoom);
20840
20843
  }
20841
20844
  });
20842
- var oo = xt.extend({
20845
+ var oo = Nt.extend({
20843
20846
  initialize: function(t, l) {
20844
20847
  S(this, l), this._layers = {};
20845
20848
  var i, f;
@@ -21128,7 +21131,7 @@ function ME() {
21128
21131
  _onDragEnd: function(t) {
21129
21132
  te(this._panRequest), delete this._oldLatLng, this._marker.fire("moveend").fire("dragend", t);
21130
21133
  }
21131
- }), Rs = xt.extend({
21134
+ }), Rs = Nt.extend({
21132
21135
  // @section
21133
21136
  // @aka Marker options
21134
21137
  options: {
@@ -21288,7 +21291,7 @@ function ME() {
21288
21291
  },
21289
21292
  _updateOpacity: function() {
21290
21293
  var t = this.options.opacity;
21291
- this._icon && Rt(this._icon, t), this._shadow && Rt(this._shadow, t);
21294
+ this._icon && Qt(this._icon, t), this._shadow && Qt(this._shadow, t);
21292
21295
  },
21293
21296
  _bringToFront: function() {
21294
21297
  this._updateZIndex(this.options.riseOffset);
@@ -21316,7 +21319,7 @@ function ME() {
21316
21319
  function c0(t, l) {
21317
21320
  return new Rs(t, l);
21318
21321
  }
21319
- var kn = xt.extend({
21322
+ var kn = Nt.extend({
21320
21323
  // @section
21321
21324
  // @aka Path options
21322
21325
  options: {
@@ -21568,11 +21571,11 @@ function ME() {
21568
21571
  this._bounds = new Qe(), this._latlngs = this._convertLatLngs(t);
21569
21572
  },
21570
21573
  _defaultShape: function() {
21571
- return Qt(this._latlngs) ? this._latlngs : this._latlngs[0];
21574
+ return Dt(this._latlngs) ? this._latlngs : this._latlngs[0];
21572
21575
  },
21573
21576
  // recursively convert latlngs input into actual LatLng instances; calculate bounds along the way
21574
21577
  _convertLatLngs: function(t) {
21575
- for (var l = [], i = Qt(t), f = 0, m = t.length; f < m; f++)
21578
+ for (var l = [], i = Dt(t), f = 0, m = t.length; f < m; f++)
21576
21579
  i ? (l[f] = Ie(t[f]), this._bounds.extend(l[f])) : l[f] = this._convertLatLngs(t[f]);
21577
21580
  return l;
21578
21581
  },
@@ -21658,10 +21661,10 @@ function ME() {
21658
21661
  return i >= 2 && l[0] instanceof Fe && l[0].equals(l[i - 1]) && l.pop(), l;
21659
21662
  },
21660
21663
  _setLatLngs: function(t) {
21661
- sn.prototype._setLatLngs.call(this, t), Qt(this._latlngs) && (this._latlngs = [this._latlngs]);
21664
+ sn.prototype._setLatLngs.call(this, t), Dt(this._latlngs) && (this._latlngs = [this._latlngs]);
21662
21665
  },
21663
21666
  _defaultShape: function() {
21664
- return Qt(this._latlngs[0]) ? this._latlngs[0] : this._latlngs[0][0];
21667
+ return Dt(this._latlngs[0]) ? this._latlngs[0] : this._latlngs[0][0];
21665
21668
  },
21666
21669
  _clipPoints: function() {
21667
21670
  var t = this._renderer._bounds, l = this.options.weight, i = new oe(l, l);
@@ -21829,7 +21832,7 @@ function ME() {
21829
21832
  }
21830
21833
  function Ts(t, l, i, f) {
21831
21834
  for (var m = [], y = 0, E = t.length; y < E; y++)
21832
- m.push(l ? Ts(t[y], Qt(t[y]) ? 0 : l - 1, i, f) : Bi(t[y], f));
21835
+ m.push(l ? Ts(t[y], Dt(t[y]) ? 0 : l - 1, i, f) : Bi(t[y], f));
21833
21836
  return !l && i && m.length > 0 && m.push(m[0].slice()), m;
21834
21837
  }
21835
21838
  function io(t, l) {
@@ -21852,7 +21855,7 @@ function ME() {
21852
21855
  };
21853
21856
  Rs.include(wi), Ei.include(wi), Qs.include(wi), sn.include({
21854
21857
  toGeoJSON: function(t) {
21855
- var l = !Qt(this._latlngs), i = Ts(this._latlngs, l ? 1 : 0, !1, t);
21858
+ var l = !Dt(this._latlngs), i = Ts(this._latlngs, l ? 1 : 0, !1, t);
21856
21859
  return io(this, {
21857
21860
  type: (l ? "Multi" : "") + "LineString",
21858
21861
  coordinates: i
@@ -21860,7 +21863,7 @@ function ME() {
21860
21863
  }
21861
21864
  }), lo.include({
21862
21865
  toGeoJSON: function(t) {
21863
- var l = !Qt(this._latlngs), i = l && !Qt(this._latlngs[0]), f = Ts(this._latlngs, i ? 2 : l ? 1 : 0, !0, t);
21866
+ var l = !Dt(this._latlngs), i = l && !Dt(this._latlngs[0]), f = Ts(this._latlngs, i ? 2 : l ? 1 : 0, !0, t);
21864
21867
  return l || (f = [f]), io(this, {
21865
21868
  type: (i ? "Multi" : "") + "Polygon",
21866
21869
  coordinates: f
@@ -21906,7 +21909,7 @@ function ME() {
21906
21909
  function xr(t, l) {
21907
21910
  return new ln(t, l);
21908
21911
  }
21909
- var A0 = xr, zs = xt.extend({
21912
+ var A0 = xr, zs = Nt.extend({
21910
21913
  // @section
21911
21914
  // @aka ImageOverlay options
21912
21915
  options: {
@@ -22014,7 +22017,7 @@ function ME() {
22014
22017
  lt(t, l.min), t.style.width = i.x + "px", t.style.height = i.y + "px";
22015
22018
  },
22016
22019
  _updateOpacity: function() {
22017
- Rt(this._image, this.options.opacity);
22020
+ Qt(this._image, this.options.opacity);
22018
22021
  },
22019
22022
  _updateZIndex: function() {
22020
22023
  this._image && this.options.zIndex !== void 0 && this.options.zIndex !== null && (this._image.style.zIndex = this.options.zIndex);
@@ -22086,7 +22089,7 @@ function ME() {
22086
22089
  function h0(t, l, i) {
22087
22090
  return new Hr(t, l, i);
22088
22091
  }
22089
- var _t = xt.extend({
22092
+ var _t = Nt.extend({
22090
22093
  // @section
22091
22094
  // @aka DivOverlay options
22092
22095
  options: {
@@ -22131,10 +22134,10 @@ function ME() {
22131
22134
  return this._map ? this.close() : (arguments.length ? this._source = t : t = this._source, this._prepareOpen(), this.openOn(t._map)), this;
22132
22135
  },
22133
22136
  onAdd: function(t) {
22134
- this._zoomAnimated = t._zoomAnimated, this._container || this._initLayout(), t._fadeAnimated && Rt(this._container, 0), clearTimeout(this._removeTimeout), this.getPane().appendChild(this._container), this.update(), t._fadeAnimated && Rt(this._container, 1), this.bringToFront(), this.options.interactive && (Ce(this._container, "leaflet-interactive"), this.addInteractiveTarget(this._container));
22137
+ this._zoomAnimated = t._zoomAnimated, this._container || this._initLayout(), t._fadeAnimated && Qt(this._container, 0), clearTimeout(this._removeTimeout), this.getPane().appendChild(this._container), this.update(), t._fadeAnimated && Qt(this._container, 1), this.bringToFront(), this.options.interactive && (Ce(this._container, "leaflet-interactive"), this.addInteractiveTarget(this._container));
22135
22138
  },
22136
22139
  onRemove: function(t) {
22137
- t._fadeAnimated ? (Rt(this._container, 0), this._removeTimeout = setTimeout(r(Ze, void 0, this._container), 200)) : Ze(this._container), this.options.interactive && (nt(this._container, "leaflet-interactive"), this.removeInteractiveTarget(this._container));
22140
+ t._fadeAnimated ? (Qt(this._container, 0), this._removeTimeout = setTimeout(r(Ze, void 0, this._container), 200)) : Ze(this._container), this.options.interactive && (nt(this._container, "leaflet-interactive"), this.removeInteractiveTarget(this._container));
22138
22141
  },
22139
22142
  // @namespace DivOverlay
22140
22143
  // @method getLatLng: LatLng
@@ -22248,7 +22251,7 @@ function ME() {
22248
22251
  var m = l;
22249
22252
  return m instanceof t || (m = new t(f).setContent(l)), i && m.setLatLng(i), m;
22250
22253
  }
22251
- }), xt.include({
22254
+ }), Nt.include({
22252
22255
  _initOverlay: function(t, l, i, f) {
22253
22256
  var m = i;
22254
22257
  return m instanceof t ? (S(m, f), m._source = this) : (m = l && !f ? l : new t(f, this), m.setContent(i)), m;
@@ -22388,7 +22391,7 @@ function ME() {
22388
22391
  closePopup: function(t) {
22389
22392
  return t = arguments.length ? t : this._popup, t && t.close(), this;
22390
22393
  }
22391
- }), xt.include({
22394
+ }), Nt.include({
22392
22395
  // @method bindPopup(content: String|HTMLElement|Function|Popup, options?: Popup options): this
22393
22396
  // Binds a popup to the layer with the passed `content` and sets up the
22394
22397
  // necessary event listeners. If a `Function` is passed it will receive
@@ -22512,7 +22515,7 @@ function ME() {
22512
22515
  this._setPosition(t);
22513
22516
  },
22514
22517
  setOpacity: function(t) {
22515
- this.options.opacity = t, this._container && Rt(this._container, t);
22518
+ this.options.opacity = t, this._container && Qt(this._container, t);
22516
22519
  },
22517
22520
  _animateZoom: function(t) {
22518
22521
  var l = this._map._latLngToNewLayerPoint(this._latlng, t.zoom, t.center);
@@ -22538,7 +22541,7 @@ function ME() {
22538
22541
  closeTooltip: function(t) {
22539
22542
  return t.close(), this;
22540
22543
  }
22541
- }), xt.include({
22544
+ }), Nt.include({
22542
22545
  // @method bindTooltip(content: String|HTMLElement|Function|Tooltip, options?: Tooltip options): this
22543
22546
  // Binds a tooltip to the layer with the passed `content` and sets up the
22544
22547
  // necessary event listeners. If a `Function` is passed it will receive
@@ -22655,7 +22658,7 @@ function ME() {
22655
22658
  return new Ur(t);
22656
22659
  }
22657
22660
  so.Default = qo;
22658
- var Ko = xt.extend({
22661
+ var Ko = Nt.extend({
22659
22662
  // @section
22660
22663
  // @aka GridLayer options
22661
22664
  options: {
@@ -22803,13 +22806,13 @@ function ME() {
22803
22806
  },
22804
22807
  _updateOpacity: function() {
22805
22808
  if (this._map && !ce.ielt9) {
22806
- Rt(this._container, this.options.opacity);
22809
+ Qt(this._container, this.options.opacity);
22807
22810
  var t = +/* @__PURE__ */ new Date(), l = !1, i = !1;
22808
22811
  for (var f in this._tiles) {
22809
22812
  var m = this._tiles[f];
22810
22813
  if (!(!m.current || !m.loaded)) {
22811
22814
  var y = Math.min(1, (t - m.loaded) / 200);
22812
- Rt(m.el, y), y < 1 ? l = !0 : (m.active ? i = !0 : this._onOpaqueTile(m), m.active = !0);
22815
+ Qt(m.el, y), y < 1 ? l = !0 : (m.active ? i = !0 : this._onOpaqueTile(m), m.active = !0);
22813
22816
  }
22814
22817
  }
22815
22818
  i && !this._noPrune && this._pruneTiles(), l && (te(this._fadeFrame), this._fadeFrame = G(this._updateOpacity, this));
@@ -22945,20 +22948,20 @@ function ME() {
22945
22948
  }
22946
22949
  for (var me = m.min.y; me <= m.max.y; me++)
22947
22950
  for (var Ee = m.min.x; Ee <= m.max.x; Ee++) {
22948
- var pt = new oe(Ee, me);
22949
- if (pt.z = this._tileZoom, !!this._isValidTile(pt)) {
22950
- var rt = this._tiles[this._tileCoordsToKey(pt)];
22951
- rt ? rt.current = !0 : E.push(pt);
22951
+ var yt = new oe(Ee, me);
22952
+ if (yt.z = this._tileZoom, !!this._isValidTile(yt)) {
22953
+ var rt = this._tiles[this._tileCoordsToKey(yt)];
22954
+ rt ? rt.current = !0 : E.push(yt);
22952
22955
  }
22953
22956
  }
22954
- if (E.sort(function(vt, ro) {
22955
- return vt.distanceTo(y) - ro.distanceTo(y);
22957
+ if (E.sort(function(bt, ro) {
22958
+ return bt.distanceTo(y) - ro.distanceTo(y);
22956
22959
  }), E.length !== 0) {
22957
22960
  this._loading || (this._loading = !0, this.fire("loading"));
22958
- var Dt = document.createDocumentFragment();
22961
+ var Ot = document.createDocumentFragment();
22959
22962
  for (Ee = 0; Ee < E.length; Ee++)
22960
- this._addTile(E[Ee], Dt);
22961
- this._level.el.appendChild(Dt);
22963
+ this._addTile(E[Ee], Ot);
22964
+ this._level.el.appendChild(Ot);
22962
22965
  }
22963
22966
  }
22964
22967
  }
@@ -23006,7 +23009,7 @@ function ME() {
23006
23009
  _initTile: function(t) {
23007
23010
  Ce(t, "leaflet-tile");
23008
23011
  var l = this.getTileSize();
23009
- t.style.width = l.x + "px", t.style.height = l.y + "px", t.onselectstart = C, t.onmousemove = C, ce.ielt9 && this.options.opacity < 1 && Rt(t, this.options.opacity);
23012
+ t.style.width = l.x + "px", t.style.height = l.y + "px", t.onselectstart = C, t.onmousemove = C, ce.ielt9 && this.options.opacity < 1 && Qt(t, this.options.opacity);
23010
23013
  },
23011
23014
  _addTile: function(t, l) {
23012
23015
  var i = this._getTilePos(t), f = this._tileCoordsToKey(t), m = this.createTile(this._wrapCoords(t), r(this._tileReady, this, t));
@@ -23026,7 +23029,7 @@ function ME() {
23026
23029
  coords: t
23027
23030
  });
23028
23031
  var f = this._tileCoordsToKey(t);
23029
- i = this._tiles[f], i && (i.loaded = +/* @__PURE__ */ new Date(), this._map._fadeAnimated ? (Rt(i.el, 0), te(this._fadeFrame), this._fadeFrame = G(this._updateOpacity, this)) : (i.active = !0, this._pruneTiles()), l || (Ce(i.el, "leaflet-tile-loaded"), this.fire("tileload", {
23032
+ i = this._tiles[f], i && (i.loaded = +/* @__PURE__ */ new Date(), this._map._fadeAnimated ? (Qt(i.el, 0), te(this._fadeFrame), this._fadeFrame = G(this._updateOpacity, this)) : (i.active = !0, this._pruneTiles()), l || (Ce(i.el, "leaflet-tile-loaded"), this.fire("tileload", {
23030
23033
  tile: i.el,
23031
23034
  coords: t
23032
23035
  })), this._noTilesToLoad() && (this._loading = !1, this.fire("load"), ce.ielt9 || !this._map._fadeAnimated ? G(this._pruneTiles, this) : setTimeout(r(this._pruneTiles, this), 250)));
@@ -23243,7 +23246,7 @@ function ME() {
23243
23246
  return new qr(t, l);
23244
23247
  }
23245
23248
  ao.WMS = qr, Vr.wms = k0;
23246
- var an = xt.extend({
23249
+ var an = Nt.extend({
23247
23250
  // @section
23248
23251
  // @aka Renderer options
23249
23252
  options: {
@@ -24065,7 +24068,7 @@ function ME() {
24065
24068
  this._zooming = !1, te(this._animRequest), Ye(document, "touchmove", this._onTouchMove, this), Ye(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));
24066
24069
  }
24067
24070
  });
24068
- Pe.addInitHook("addHandler", "touchZoom", ec), Pe.BoxZoom = jr, Pe.DoubleClickZoom = Zr, Pe.Drag = Jr, Pe.Keyboard = Xr, Pe.ScrollWheelZoom = _r, Pe.TapHold = $r, Pe.TouchZoom = ec, s.Bounds = le, s.Browser = ce, s.CRS = Ft, s.Canvas = Kr, s.Circle = Ei, s.CircleMarker = Qs, s.Class = ze, s.Control = Mt, s.DivIcon = Ur, s.DivOverlay = _t, s.DomEvent = qm, s.DomUtil = Um, s.Draggable = Cn, s.Evented = Be, s.FeatureGroup = on, s.GeoJSON = ln, s.GridLayer = Ko, s.Handler = Xt, s.Icon = so, s.ImageOverlay = zs, s.LatLng = Fe, s.LatLngBounds = Qe, s.Layer = xt, s.LayerGroup = oo, s.LineUtil = n0, s.Map = Pe, s.Marker = Rs, s.Mixin = Jm, s.Path = kn, s.Point = oe, s.PolyUtil = Xm, s.Polygon = lo, s.Polyline = sn, s.Popup = Fs, s.PosAnimation = Er, s.Projection = o0, s.Rectangle = Wr, s.Renderer = an, s.SVG = Go, s.SVGOverlay = Hr, s.TileLayer = ao, s.Tooltip = Ms, s.Transformation = Zl, s.Util = Ae, s.VideoOverlay = Nr, s.bind = r, s.bounds = we, s.canvas = Yr, s.circle = u0, s.circleMarker = f0, s.control = Uo, s.divIcon = b0, s.extend = a, s.featureGroup = a0, s.geoJSON = xr, s.geoJson = A0, s.gridLayer = C0, s.icon = r0, s.imageOverlay = p0, s.latLng = Ie, s.latLngBounds = je, s.layerGroup = i0, s.map = Km, s.marker = c0, s.point = ue, s.polygon = m0, s.polyline = d0, s.popup = g0, s.rectangle = I0, s.setOptions = S, s.stamp = p, s.svg = Gr, s.svgOverlay = h0, s.tileLayer = Vr, s.tooltip = v0, s.transformation = To, s.version = o, s.videoOverlay = y0;
24071
+ Pe.addInitHook("addHandler", "touchZoom", ec), Pe.BoxZoom = jr, Pe.DoubleClickZoom = Zr, Pe.Drag = Jr, Pe.Keyboard = Xr, Pe.ScrollWheelZoom = _r, Pe.TapHold = $r, Pe.TouchZoom = ec, s.Bounds = le, s.Browser = ce, s.CRS = Mt, s.Canvas = Kr, s.Circle = Ei, s.CircleMarker = Qs, s.Class = ze, s.Control = xt, s.DivIcon = Ur, s.DivOverlay = _t, s.DomEvent = qm, s.DomUtil = Um, s.Draggable = Cn, s.Evented = Be, s.FeatureGroup = on, s.GeoJSON = ln, s.GridLayer = Ko, s.Handler = Xt, s.Icon = so, s.ImageOverlay = zs, s.LatLng = Fe, s.LatLngBounds = Qe, s.Layer = Nt, s.LayerGroup = oo, s.LineUtil = n0, s.Map = Pe, s.Marker = Rs, s.Mixin = Jm, s.Path = kn, s.Point = oe, s.PolyUtil = Xm, s.Polygon = lo, s.Polyline = sn, s.Popup = Fs, s.PosAnimation = Er, s.Projection = o0, s.Rectangle = Wr, s.Renderer = an, s.SVG = Go, s.SVGOverlay = Hr, s.TileLayer = ao, s.Tooltip = Ms, s.Transformation = Zl, s.Util = Ae, s.VideoOverlay = Nr, s.bind = r, s.bounds = we, s.canvas = Yr, s.circle = u0, s.circleMarker = f0, s.control = Uo, s.divIcon = b0, s.extend = a, s.featureGroup = a0, s.geoJSON = xr, s.geoJson = A0, s.gridLayer = C0, s.icon = r0, s.imageOverlay = p0, s.latLng = Ie, s.latLngBounds = je, s.layerGroup = i0, s.map = Km, s.marker = c0, s.point = ue, s.polygon = m0, s.polyline = d0, s.popup = g0, s.rectangle = I0, s.setOptions = S, s.stamp = p, s.svg = Gr, s.svgOverlay = h0, s.tileLayer = Vr, s.tooltip = v0, s.transformation = To, s.version = o, s.videoOverlay = y0;
24069
24072
  var w0 = window.L;
24070
24073
  s.noConflict = function() {
24071
24074
  return window.L = w0, this;
@@ -24132,8 +24135,8 @@ const Vt = /* @__PURE__ */ rA(Cl), xE = /* @__PURE__ */ Ap({
24132
24135
  (...o) => console.warn(`Method ${e} has been invoked without being replaced`)
24133
24136
  ), s = (...o) => n.value(...o);
24134
24137
  return s.wrapped = n, qt(e, s), s;
24135
- }, Ws = (e, n) => e.wrapped.value = n, Gt = typeof self == "object" && self.self === self && self || typeof global == "object" && global.global === global && global || globalThis, wt = (e) => {
24136
- const n = ht(e);
24138
+ }, Ws = (e, n) => e.wrapped.value = n, Gt = typeof self == "object" && self.self === self && self || typeof global == "object" && global.global === global && global || globalThis, Pt = (e) => {
24139
+ const n = gt(e);
24137
24140
  if (n === void 0)
24138
24141
  throw new Error(
24139
24142
  `Attempt to inject ${e.description} before it was provided.`
@@ -24175,7 +24178,7 @@ const Vt = /* @__PURE__ */ rA(Cl), xE = /* @__PURE__ */ Ap({
24175
24178
  default: !0
24176
24179
  }
24177
24180
  }, zd = (e, n, s) => {
24178
- const o = wt(gs), a = wt(Pd), { options: u, methods: r } = bs(e), A = Ln(
24181
+ const o = Pt(gs), a = Pt(Pd), { options: u, methods: r } = bs(e), A = Ln(
24179
24182
  e,
24180
24183
  Do,
24181
24184
  u
@@ -24332,7 +24335,7 @@ const Oo = {
24332
24335
  }
24333
24336
  },
24334
24337
  setup(e, n) {
24335
- const s = V(), o = V(), a = ht(gn), u = wt(Va), { options: r, methods: A } = Md(e, s);
24338
+ const s = V(), o = V(), a = gt(gn), u = Pt(Va), { options: r, methods: A } = Md(e, s);
24336
24339
  return st(async () => {
24337
24340
  const { Control: p, DomEvent: h } = a ? Gt.L : await import("./revolugo.leaflet-src.esm.BSRIxBxW.min.js"), v = p.extend({
24338
24341
  onAdd() {
@@ -24383,7 +24386,7 @@ const xd = {
24383
24386
  name: "LControlZoom",
24384
24387
  props: xd,
24385
24388
  setup(e, n) {
24386
- const s = V(), o = ht(gn), a = wt(Va), { options: u, methods: r } = WE(e, s);
24389
+ const s = V(), o = gt(gn), a = Pt(Va), { options: u, methods: r } = WE(e, s);
24387
24390
  return st(async () => {
24388
24391
  const { control: A } = o ? Gt.L : await import("./revolugo.leaflet-src.esm.BSRIxBxW.min.js");
24389
24392
  s.value = On(A.zoom(u)), hn(r, s.value, e), a({ leafletObject: s.value }), at(() => n.emit("ready", s.value));
@@ -24468,7 +24471,7 @@ fe({
24468
24471
  }
24469
24472
  },
24470
24473
  setup(e, n) {
24471
- const s = V(), o = V(null), a = V(!1), u = ht(gn), r = wt(gs), { options: A, methods: p } = Hd(e, s, n);
24474
+ const s = V(), o = V(null), a = V(!1), u = gt(gn), r = Pt(gs), { options: A, methods: p } = Hd(e, s, n);
24472
24475
  return st(async () => {
24473
24476
  const { GridLayer: h, DomUtil: v, Util: C } = u ? Gt.L : await import("./revolugo.leaflet-src.esm.BSRIxBxW.min.js"), k = ZE(
24474
24477
  h,
@@ -24533,7 +24536,7 @@ const Rf = {
24533
24536
  ...vs
24534
24537
  },
24535
24538
  setup(e, n) {
24536
- const s = V(), o = ht(gn), a = wt(Sd), u = wt(Rd), r = wt(Qd);
24539
+ const s = V(), o = gt(gn), a = Pt(Sd), u = Pt(Rd), r = Pt(Qd);
24537
24540
  let A, p, h, v, C;
24538
24541
  const k = (D, R, T) => {
24539
24542
  const U = D && D.innerHTML;
@@ -24904,7 +24907,7 @@ const oI = fe({
24904
24907
  name: "LMarker",
24905
24908
  props: Vd,
24906
24909
  setup(e, n) {
24907
- const s = V(), o = V(!1), a = ht(gn), u = wt(gs);
24910
+ const s = V(), o = V(!1), a = gt(gn), u = Pt(gs);
24908
24911
  qt(
24909
24912
  Sd,
24910
24913
  () => {
@@ -24982,7 +24985,7 @@ const oI = fe({
24982
24985
  name: "LPopup",
24983
24986
  props: lI,
24984
24987
  setup(e, n) {
24985
- const s = V(), o = V(null), a = ht(gn), u = wt(Dd), r = wt(Td), { options: A, methods: p } = iI(e, s);
24988
+ const s = V(), o = V(null), a = gt(gn), u = Pt(Dd), r = Pt(Td), { options: A, methods: p } = iI(e, s);
24986
24989
  return st(async () => {
24987
24990
  const { popup: h } = a ? Gt.L : await import("./revolugo.leaflet-src.esm.BSRIxBxW.min.js");
24988
24991
  s.value = On(h(A)), e.latLng !== void 0 && s.value.setLatLng(e.latLng), hn(p, s.value, e);
@@ -25033,7 +25036,7 @@ const Ka = {
25033
25036
  }, cI = fe({
25034
25037
  props: Ka,
25035
25038
  setup(e, n) {
25036
- const s = V(), o = ht(gn), a = wt(gs), { options: u, methods: r } = rI(e, s, n);
25039
+ const s = V(), o = gt(gn), a = Pt(gs), { options: u, methods: r } = rI(e, s, n);
25037
25040
  return st(async () => {
25038
25041
  const { tileLayer: A } = o ? Gt.L : await import("./revolugo.leaflet-src.esm.BSRIxBxW.min.js");
25039
25042
  s.value = On(A(e.url, u));
@@ -25051,7 +25054,7 @@ const Ka = {
25051
25054
  }), fI = {
25052
25055
  ...qd
25053
25056
  }, uI = (e, n) => {
25054
- const { options: s, methods: o } = Kd(e, n), a = wt(Ld);
25057
+ const { options: s, methods: o } = Kd(e, n), a = Pt(Ld);
25055
25058
  return jn(() => {
25056
25059
  a();
25057
25060
  }), { options: s, methods: o };
@@ -25059,7 +25062,7 @@ const Ka = {
25059
25062
  name: "LTooltip",
25060
25063
  props: fI,
25061
25064
  setup(e, n) {
25062
- const s = V(), o = V(null), a = ht(gn), u = wt(Od), { options: r, methods: A } = uI(e, s);
25065
+ const s = V(), o = V(null), a = gt(gn), u = Pt(Od), { options: r, methods: A } = uI(e, s);
25063
25066
  return st(async () => {
25064
25067
  const { tooltip: p } = a ? Gt.L : await import("./revolugo.leaflet-src.esm.BSRIxBxW.min.js");
25065
25068
  s.value = On(p(r)), hn(A, s.value, e);
@@ -25425,7 +25428,7 @@ function kI(e, n, s, o, a, u) {
25425
25428
  position: "bottomright",
25426
25429
  style: { bottom: "27px !important" }
25427
25430
  }),
25428
- s.features.LocationInput ? At((b(), z(o.LControl, {
25431
+ s.features.LocationInput ? pt((b(), z(o.LControl, {
25429
25432
  key: 1,
25430
25433
  class: "location",
25431
25434
  position: "topleft"
@@ -25795,8 +25798,8 @@ const EI = /* @__PURE__ */ pe(Xd, [["render", kI], ["__scopeId", "data-v-58db1e7
25795
25798
  ...Jd,
25796
25799
  HotelOfferItem: {
25797
25800
  ...vl,
25798
- [kt.HotelDescriptionViewDialog]: !1,
25799
- [kt.HotelRoomOffersViewDialog]: !1
25801
+ [Et.HotelDescriptionViewDialog]: !1,
25802
+ [Et.HotelRoomOffersViewDialog]: !1
25800
25803
  }
25801
25804
  }, $d = {
25802
25805
  ..._d,
@@ -25911,7 +25914,7 @@ const EI = /* @__PURE__ */ pe(Xd, [["render", kI], ["__scopeId", "data-v-58db1e7
25911
25914
  { immediate: !0 }
25912
25915
  );
25913
25916
  const ye = { locale: s, t: o, props: a, validateCoordinates: u, mapCenter: r, eventBus: A, hasErrorHotelOffers: p, hotelOffers: h, hotelOffersCurrency: v, isPollingHotelOffers: C, startingAfter: k, hotels: I, retrieveHotelImages: w, retrieveHotelOffersRequest: S, resetHotelRoomOfferRequest: D, resetHotelRoomOffers: R, createHotelOfferRequest: T, hasErrorHotelOfferRequest: U, hotelOfferRequest: K, isFetchingHotelOfferRequest: x, updateLocation: Z, nightCount: ee, isLocationInputVisible: ne, onHotelOfferMarkerClick: q, retrieveHotelOffers: $, updateHotelOfferRequest: G, hotelOffersMapUIRef: te, onCenterRequested: Ae, onHotelOfferItemVisible: ze, hotelsImages: et, get BErrorOverlay() {
25914
- return zt;
25917
+ return Ft;
25915
25918
  }, HotelOffersMapUI: EI };
25916
25919
  return Object.defineProperty(ye, "__isScriptSetup", { enumerable: !1, value: !0 }), ye;
25917
25920
  }
@@ -26107,7 +26110,7 @@ const BI = /* @__PURE__ */ pe(em, [["render", II], ["__file", "/home/runner/work
26107
26110
  const et = { props: s, t: o, hotelOffersStore: a, hotelOfferRequestStore: u, hotelOffers: r, isPollingHotelOffers: A, hasError: p, isFetchingHotelOfferRequest: h, root: v, $breakpointService: C, $isCurrentBreakpointAboveOrEqual: k, $isCurrentBreakpointBelow: I, $isCurrentBreakpointBelowOrEqual: w, parsedHeight: S, parsedFeatures: D, parsedMapFirstOnMobile: R, hotelOfferRequestParams: T, currentHoveredHotel: U, hotelOffersViewCardHeight: K, isMapDisplayed: x, isMapExpanded: Z, observer: ee, hotelOffersViewCard: ne, displayLoadingBar: q, showErrorMessage: $, hoverHotel: G, leaveHoverHotel: te, eventBus: Ae, showMap: ze, HotelOfferList: RE, HotelOffersMap: BI, PreferencesMenu: Iu, get PreferencesMenuDirection() {
26108
26111
  return Bu;
26109
26112
  }, HotelOfferSearchMenuUI: za, get BErrorOverlay() {
26110
- return zt;
26113
+ return Ft;
26111
26114
  } };
26112
26115
  return Object.defineProperty(et, "__isScriptSetup", { enumerable: !1, value: !0 }), et;
26113
26116
  }
@@ -26350,7 +26353,7 @@ function OI(e, n, s, o, a, u) {
26350
26353
  ]),
26351
26354
  _: 1
26352
26355
  }, 8, ["class", "style"]),
26353
- At(c(M, null, {
26356
+ pt(c(M, null, {
26354
26357
  default: d(() => [
26355
26358
  c(o.HotelOffersMap, ie({ ...e.$props, height: o.hotelOffersViewCardHeight }, {
26356
26359
  features: o.parsedFeatures.HotelOffersMap,
@@ -26359,7 +26362,7 @@ function OI(e, n, s, o, a, u) {
26359
26362
  "max-height": "none"
26360
26363
  }), {
26361
26364
  bottomleft: d(({ props: r }) => [
26362
- At(c(he, ie({
26365
+ pt(c(he, ie({
26363
26366
  block: "",
26364
26367
  class: "px-2",
26365
26368
  color: "grey-darken-3",
@@ -26641,7 +26644,7 @@ const TI = /* @__PURE__ */ pe(nm, [["render", OI], ["__scopeId", "data-v-411680f
26641
26644
  I.value?.resetValidation();
26642
26645
  });
26643
26646
  const K = { emit: o, locale: a, t: u, props: r, hasError: A, isValid: p, phonePrefix: h, hasOrganization: v, formObject: C, form: k, formContainer: I, hasOrganizationDetails: w, rules: S, readOnlyProps: D, updatePhoneValue: R, edit: T, submit: U, get BErrorOverlay() {
26644
- return zt;
26647
+ return Ft;
26645
26648
  }, get BPhoneInput() {
26646
26649
  return gu;
26647
26650
  } };
@@ -27951,15 +27954,15 @@ const lm = /* @__PURE__ */ pe(sm, [["render", UI], ["__file", "/home/runner/work
27951
27954
  HotelOfferList: {
27952
27955
  HotelOfferItem: {
27953
27956
  ...vl,
27954
- [kt.HotelRoomOfferList]: !0,
27955
- [kt.HotelRoomOffersViewDialog]: !0,
27957
+ [Et.HotelRoomOfferList]: !0,
27958
+ [Et.HotelRoomOffersViewDialog]: !0,
27956
27959
  [rs.RoomsDetails]: !0
27957
27960
  }
27958
27961
  },
27959
27962
  HotelOffersMap: uc(structuredClone(Ya), {
27960
27963
  HotelOfferItem: {
27961
27964
  ...vl,
27962
- [kt.HotelRoomOffersViewDialog]: !0,
27965
+ [Et.HotelRoomOffersViewDialog]: !0,
27963
27966
  [rs.RoomsDetails]: !0
27964
27967
  }
27965
27968
  })
@@ -27984,15 +27987,15 @@ const lm = /* @__PURE__ */ pe(sm, [["render", UI], ["__file", "/home/runner/work
27984
27987
  prop: Q(() => s.features)
27985
27988
  }), a = dA(
27986
27989
  () => Promise.resolve().then(() => IC)
27987
- ), { t: u } = Ue(), r = V(void 0), A = V(void 0), p = V({}), h = V(void 0), v = V(Ht.Idle), C = V(1), k = V(), I = Q(
27988
- () => v.value === Ht.PaymentSuccessful
27990
+ ), { t: u } = Ue(), r = V(void 0), A = V(void 0), p = V({}), h = V(void 0), v = V(At.Idle), C = V(1), k = V(), I = Q(
27991
+ () => v.value === At.PaymentSuccessful
27989
27992
  ), w = Q(
27990
- () => v.value === Ht.Prebook && A.value !== void 0
27993
+ () => v.value === At.Prebook && A.value !== void 0
27991
27994
  ), S = Q(() => {
27992
27995
  let G = "";
27993
27996
  return w.value ? G = "cancel" : G = I.value ? "makeNewBook" : "back", u(`FullBookingFlow.${G}`);
27994
27997
  }), D = Q(
27995
- () => [Ht.PaymentRequested, Ht.PaymentSuccessful].includes(
27998
+ () => [At.PaymentRequested, At.PaymentSuccessful].includes(
27996
27999
  v.value
27997
28000
  ) && r.value !== void 0
27998
28001
  ), R = Q(() => {
@@ -28007,13 +28010,13 @@ const lm = /* @__PURE__ */ pe(sm, [["render", UI], ["__file", "/home/runner/work
28007
28010
  v.value = G, T.$emit(ke.BookingFlowStepUpdated, G);
28008
28011
  }
28009
28012
  function K(G) {
28010
- r.value = G, G && o.value.PaymentFormEnabled && (Ki(), C.value = 1, U(Ht.PaymentRequested));
28013
+ r.value = G, G && o.value.PaymentFormEnabled && (Ki(), C.value = 1, U(At.PaymentRequested));
28011
28014
  }
28012
28015
  function x(G) {
28013
- A.value = G, A.value && (C.value = 1, U(Ht.Prebook));
28016
+ A.value = G, A.value && (C.value = 1, U(At.Prebook));
28014
28017
  }
28015
28018
  function Z() {
28016
- C.value = -1, U(Ht.PaymentSuccessful), p.value = {};
28019
+ C.value = -1, U(At.PaymentSuccessful), p.value = {};
28017
28020
  }
28018
28021
  T.$on(ke.BookingPolicyCreated, x), T.$on(ke.BookingCreated, K), T.$on(ke.PaymentSuccess, Z), T.$on(ke.PrebookForm, (G) => {
28019
28022
  p.value = G;
@@ -28024,10 +28027,10 @@ const lm = /* @__PURE__ */ pe(sm, [["render", UI], ["__file", "/home/runner/work
28024
28027
  }
28025
28028
  );
28026
28029
  function ee() {
28027
- C.value = -1, U(Ht.Idle), A.value = void 0, r.value = void 0, p.value = {};
28030
+ C.value = -1, U(At.Idle), A.value = void 0, r.value = void 0, p.value = {};
28028
28031
  }
28029
28032
  function ne() {
28030
- C.value = -1, U(Ht.Prebook);
28033
+ C.value = -1, U(At.Prebook);
28031
28034
  }
28032
28035
  function q() {
28033
28036
  w.value ? k.value = !0 : D.value && (I.value ? ee() : ne());
@@ -28104,7 +28107,7 @@ function Mf(e) {
28104
28107
  }
28105
28108
  function qI(e, n, s, o, a, u) {
28106
28109
  return b(), H("div", null, [
28107
- At(c(j, null, {
28110
+ pt(c(j, null, {
28108
28111
  default: d(() => [
28109
28112
  c(M, null, {
28110
28113
  default: d(() => [
@@ -28603,6 +28606,20 @@ const fm = fe({
28603
28606
  cancelPayment() {
28604
28607
  this.direction = -1, this.step = 2;
28605
28608
  },
28609
+ getBookingState(e) {
28610
+ switch (e) {
28611
+ case 1:
28612
+ return At.Idle;
28613
+ case 2:
28614
+ return At.Prebook;
28615
+ case 3:
28616
+ return At.PaymentRequested;
28617
+ case 5:
28618
+ return At.PaymentSuccessful;
28619
+ default:
28620
+ return At.Idle;
28621
+ }
28622
+ },
28606
28623
  onAfterLeave() {
28607
28624
  this.direction = 1;
28608
28625
  },
@@ -28614,16 +28631,31 @@ const fm = fe({
28614
28631
  ].includes(this.step) ? this.cancelBooking() : this.step === 3 && this.cancelPayment();
28615
28632
  },
28616
28633
  onBookingCreated(e) {
28617
- this.booking = e, e && (Ki(), this.direction = 1, this.step = 3);
28634
+ this.booking = e, e && (Ki(), this.direction = 1, this.switchState(
28635
+ 3
28636
+ /* Payment */
28637
+ ));
28618
28638
  },
28619
28639
  onBookingPolicyCreated(e) {
28620
- this.bookingPolicy = e, e && (Ki(), this.direction = 1, this.step = 2);
28640
+ this.bookingPolicy = e, e && (Ki(), this.direction = 1, this.switchState(
28641
+ 2
28642
+ /* PreBook */
28643
+ ));
28621
28644
  },
28622
28645
  onCountdownEnd() {
28623
28646
  this.countdownSnackbar = !0, this.cancelBooking();
28624
28647
  },
28625
28648
  onPaymentSuccess() {
28626
- this.direction = 1, this.step = 5;
28649
+ this.direction = 1, this.switchState(
28650
+ 5
28651
+ /* PaymentSuccessful */
28652
+ );
28653
+ },
28654
+ switchState(e) {
28655
+ this.step = e, this.$eventBus.$emit(
28656
+ ke.BookingFlowStepUpdated,
28657
+ this.getBookingState(e)
28658
+ );
28627
28659
  },
28628
28660
  transformCountdownTimer(e) {
28629
28661
  const n = {};
@@ -29126,4 +29158,4 @@ export {
29126
29158
  Wa as x,
29127
29159
  Ty as y
29128
29160
  };
29129
- //# sourceMappingURL=revolugo.cancellationpoliciesbadge.props.mOeB4eoV.min.js.map
29161
+ //# sourceMappingURL=revolugo.cancellationpoliciesbadge.props.rnfE2Lo9.min.js.map