@revolugo/elements 6.10.0-rc.4 → 6.10.0-rc.5
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.
- package/dist/css/{revolugo.cancellationpoliciesbadge.xyrmZFhS.css → revolugo.cancellationpoliciesbadge.DpWJjD3n.css} +1 -1
- package/dist/css/{revolugo.webcomponentwrapper.ViqP9D5c.css → revolugo.webcomponentwrapper.tdJpTMeE.css} +1 -1
- package/dist/{revolugo.banktransferdetails.CSAx1-_w.min.js → revolugo.banktransferdetails.CUGqnTKU.min.js} +6 -6
- package/dist/{revolugo.bookingdetailssidebar.DXTkUJh7.min.js → revolugo.bookingdetailssidebar.bc3MMhe1.min.js} +6 -6
- package/dist/{revolugo.bookingmanager.ByOsJ1D9.min.js → revolugo.bookingmanager.OSeaRcEL.min.js} +6 -6
- package/dist/{revolugo.cancellationpoliciesbadge.AyAjJYhV.min.js → revolugo.cancellationpoliciesbadge.BVdbPfo5.min.js} +6 -6
- package/dist/{revolugo.cancellationpoliciesbadge.props.Dl4ZGxtM.min.js → revolugo.cancellationpoliciesbadge.props.XpJXd8rX.min.js} +428 -428
- package/dist/{revolugo.cancellationpolicieslist.DSoQAvrt.min.js → revolugo.cancellationpolicieslist.BfX2-svb.min.js} +6 -6
- package/dist/{revolugo.creditcardstripeform.Cm8vL3QP.min.js → revolugo.creditcardstripeform.Cg2jii5y.min.js} +4 -4
- package/dist/{revolugo.creditcardstripeform.QDKOLBb9.min.js → revolugo.creditcardstripeform.DEvYVR7j.min.js} +4 -4
- package/dist/{revolugo.currencypickerbtn.B-nLk8lr.min.js → revolugo.currencypickerbtn.t2RF4h0f.min.js} +6 -6
- package/dist/{revolugo.dialog-attach.D-eAd9JM.min.js → revolugo.dialog-attach.DtqM-5il.min.js} +2 -2
- package/dist/{revolugo.fastbookingflow.C-v0nIr2.min.js → revolugo.fastbookingflow.DqlpJYq0.min.js} +6 -6
- package/dist/{revolugo.fullbookingflow.vTds_yKs.min.js → revolugo.fullbookingflow.DCObkNF-.min.js} +6 -6
- package/dist/{revolugo.hoteldescriptionview.DBTEcVh8.min.js → revolugo.hoteldescriptionview.BscNCQ3G.min.js} +6 -6
- package/dist/{revolugo.hotelofferlist.xz2Kurth.min.js → revolugo.hotelofferlist.DsTcAr3X.min.js} +6 -6
- package/dist/{revolugo.hoteloffersearchmenu.f_DKptzV.min.js → revolugo.hoteloffersearchmenu.ZbQ-yMc8.min.js} +7 -7
- package/dist/{revolugo.hoteloffersmap.D_y6tgi7.min.js → revolugo.hoteloffersmap.ReAq9vFi.min.js} +6 -6
- package/dist/{revolugo.hoteloffersview.CMkWjowe.min.js → revolugo.hoteloffersview.C7c3H0w-.min.js} +6 -6
- package/dist/{revolugo.hotelroomofferlist.BJwV8qn4.min.js → revolugo.hotelroomofferlist.odb7kK3m.min.js} +6 -6
- package/dist/{revolugo.hotelroomoffersbookingflow.BWLiqx-C.min.js → revolugo.hotelroomoffersbookingflow.RmG3MJIr.min.js} +6 -6
- package/dist/{revolugo.hotelroomoffersearchmenu.BDpI2Qz8.min.js → revolugo.hotelroomoffersearchmenu.CFTXbGMi.min.js} +6 -6
- package/dist/{revolugo.hotelroomoffersview.CEAGe1Sm.min.js → revolugo.hotelroomoffersview.DHv4ODdF.min.js} +6 -6
- package/dist/{revolugo.index.Do2QG3In.min.js → revolugo.index.DOdLaZqy.min.js} +2 -2
- package/dist/{revolugo.index.wc.C7o2Nxhz.min.js → revolugo.index.wc.BRhRRxys.min.js} +26 -26
- package/dist/{revolugo.langpickerbtn.BdGKsSgW.min.js → revolugo.langpickerbtn.BGRlqPru.min.js} +6 -6
- package/dist/revolugo.min.js +1 -1
- package/dist/{revolugo.prebookform.zKMxb6JG.min.js → revolugo.prebookform.DTTWc_t_.min.js} +6 -6
- package/dist/{revolugo.preferencesmenu.0I5MQz-8.min.js → revolugo.preferencesmenu.Ce9eM0Q_.min.js} +16 -16
- package/dist/{revolugo.preferencesmenu.Dbo-OIQb.min.js → revolugo.preferencesmenu.Crtkpkek.min.js} +4 -4
- package/dist/{revolugo.roominglisteditor.B4kDfE7y.min.js → revolugo.roominglisteditor.bW6-Y5kS.min.js} +6 -6
- package/dist/{revolugo.storybooktoolbar.DMQlAdW9.min.js → revolugo.storybooktoolbar.nSrPa5Lz.min.js} +5 -5
- package/dist/{revolugo.termsandconditions.DF6NbQqw.min.js → revolugo.termsandconditions.1wSV3bqA.min.js} +6 -6
- package/dist/{revolugo.vtoolbar.Czgqoqi0.min.js → revolugo.vtoolbar.D_Z3mOgv.min.js} +3 -3
- package/dist/{revolugo.webcomponentwrapper.B4aTp0Lu.min.js → revolugo.webcomponentwrapper.fomjLAst.min.js} +10 -10
- package/package.json +1 -1
@@ -1,9 +1,9 @@
|
|
1
|
-
import { o as $u, p as ec, q as Tg, r as Ps, s as He, t as ur, v as Lg, w as Ss, x as tc, y as ic, z as Fg, A as on, C as zg, D as Mg, E as oc, F as Yi, G as ii, H as Wi, V as we, k as be, I as Rs, J as hi, d as X, e as x, b as Ne, j as ge, _ as xe, K as go, L as Qe, M as Ra, N as te, a as cr, O as Qs, P as Os, Q as ki, R as dr, S as Ng, T as nc, U as sc, X as ac, Y as rc, Z as Ri, $ as lc, a0 as Gi, a1 as hr, a2 as fr, a3 as Ds, a4 as gr, a5 as Zi, a6 as Ts, a7 as mr, a8 as pr, a9 as Ac, g as ht, aa as Hg, ab as Ls, ac as ds, ad as Ug, ae as uc, af as xg, ag as cc, i as Vg, ah as dc, ai as Kg, aj as qg, ak as Yg, al as Wg, am as hc, an as Gg, ao as Zg, ap as jg, aq as Jg, ar as Xg, as as _g, at as $g, au as em, av as Va, aw as tm, ax as im, ay as om, az as fA, aA as gA, aB as nm, aC as sm, aD as am, aE as rm, aF as lm, aG as Am, aH as um, B as mo, aI as cm, aJ as
|
2
|
-
import { B as vr, C as nn, i as Y, b as
|
3
|
-
import { u as
|
4
|
-
import { V as gs } from "./revolugo.vtoolbar.
|
5
|
-
import { s as qi, w as kr, g as rp, a as lp } from "./revolugo.index.
|
6
|
-
import { P as Ga, a as Za, b as Qc } from "./revolugo.preferencesmenu.
|
1
|
+
import { o as $u, p as ec, q as Tg, r as Ps, s as He, t as ur, v as Lg, w as Ss, x as tc, y as ic, z as Fg, A as on, C as zg, D as Mg, E as oc, F as Yi, G as ii, H as Wi, V as we, k as be, I as Rs, J as hi, d as X, e as x, b as Ne, j as ge, _ as xe, K as go, L as Qe, M as Ra, N as te, a as cr, O as Qs, P as Os, Q as ki, R as dr, S as Ng, T as nc, U as sc, X as ac, Y as rc, Z as Ri, $ as lc, a0 as Gi, a1 as hr, a2 as fr, a3 as Ds, a4 as gr, a5 as Zi, a6 as Ts, a7 as mr, a8 as pr, a9 as Ac, g as ht, aa as Hg, ab as Ls, ac as ds, ad as Ug, ae as uc, af as xg, ag as cc, i as Vg, ah as dc, ai as Kg, aj as qg, ak as Yg, al as Wg, am as hc, an as Gg, ao as Zg, ap as jg, aq as Jg, ar as Xg, as as _g, at as $g, au as em, av as Va, aw as tm, ax as im, ay as om, az as fA, aA as gA, aB as nm, aC as sm, aD as am, aE as rm, aF as lm, aG as Am, aH as um, B as mo, aI as cm, aJ as jt, aK as dm, aL as fc, l as gc, h as mc, f as pc, aM as vc, aN as mA, aO as bc, aP as Ao, aQ as Ka, u as Fs, aR as Cc, aS as hm, aT as fm, aU as gm, aV as mm, aW as qa, aX as yc, aY as Ya, aZ as pm, a_ as vm, a$ as bm, b0 as Cm, m as ym, b1 as Ec, b2 as Em, b3 as hs, c as Wa, b4 as Ic, b5 as pA, b6 as Im, b7 as vA, b8 as km } from "./revolugo.webcomponentwrapper.fomjLAst.min.js";
|
2
|
+
import { B as vr, C as nn, i as Y, b as z, v as $e, E as Ee, d as ce, D as cn, G as kc, H as xi, I as Fe, J as Oe, K as wt, L as dn, s as Tt, M as Bc, e as le, x as et, N as Bm, O as fi, P as hn, Q as wm, R as it, S as vt, a as l, m as se, T as fn, h as Ge, c as N, o as C, w as c, z as D, p as q, y as T, u as I, f as j, j as W, F as ae, U as qe, V as ie, n as vo, g as bo, W as ji, Y as ot, Z as gn, _ as Po, $ as gt, a0 as gi, a1 as mn, a2 as kt, a3 as Kt, a4 as br, a5 as Je, a6 as wc, a7 as pn, r as Me, a8 as Yt, a9 as Pc, aa as Pm, ab as zs, ac as Pi, ad as Sm, ae as vn, af as _n, ag as Rm, ah as Sc, ai as Qm, aj as Om, ak as Dm, al as bA, am as Tm, an as Lm, ao as Ji, ap as Fm, aq as zm, ar as Mm, as as Nm, at as sn, au as Cr, av as Ms, aw as Hm, ax as Um, ay as Rc, az as xm, aA as Vm, aB as Km, aC as qm, aD as Ym, aE as Wm, aF as bn, aG as Gm, aH as rt, k as fs, aI as Qa, aJ as Zm, aK as Xi, aL as yr, aM as Ns, aN as Er, aO as jm, q as Jm, aP as Ir, aQ as Kn, aR as Xm, t as an, aS as CA, aT as qn, aU as yA, aV as _m, aW as Qi, aX as Oi, aY as $m, aZ as ep, a_ as tp, a$ as ip, b0 as op } from "./revolugo.index.wc.BRhRRxys.min.js";
|
3
|
+
import { u as Wt, p as np, C as sp, V as ap } from "./revolugo.creditcardstripeform.Cg2jii5y.min.js";
|
4
|
+
import { V as gs } from "./revolugo.vtoolbar.D_Z3mOgv.min.js";
|
5
|
+
import { s as qi, w as kr, g as rp, a as lp } from "./revolugo.index.DOdLaZqy.min.js";
|
6
|
+
import { P as Ga, a as Za, b as Qc } from "./revolugo.preferencesmenu.Ce9eM0Q_.min.js";
|
7
7
|
/* empty css */
|
8
8
|
function Dg(e) {
|
9
9
|
try {
|
@@ -119,7 +119,7 @@ const Tc = vr(
|
|
119
119
|
n.value = !1;
|
120
120
|
}
|
121
121
|
}
|
122
|
-
}, r =
|
122
|
+
}, r = z(
|
123
123
|
() => $e(e.value?.checkOutDate, "YYYY-MM-DD").diff(
|
124
124
|
$e(e.value?.checkInDate, "YYYY-MM-DD"),
|
125
125
|
"day"
|
@@ -321,7 +321,7 @@ const dp = ce({
|
|
321
321
|
immediate: !0
|
322
322
|
}
|
323
323
|
}
|
324
|
-
}), Lc = (e) =>
|
324
|
+
}), Lc = (e) => z(() => Xa(e.value));
|
325
325
|
function Fc() {
|
326
326
|
const e = cn(), i = kc({});
|
327
327
|
async function n({
|
@@ -456,7 +456,7 @@ const fp = Oe({
|
|
456
456
|
function K() {
|
457
457
|
B.value && H();
|
458
458
|
}
|
459
|
-
const Z =
|
459
|
+
const Z = z(() => e.location.split(" ").reduce((_, oe) => (_[`v-snackbar--${oe}`] = !0, _), {}));
|
460
460
|
return He(() => {
|
461
461
|
const _ = on.filterProps(e), oe = !!(n.default || n.text || e.text);
|
462
462
|
return l(on, se({
|
@@ -528,8 +528,8 @@ const fp = Oe({
|
|
528
528
|
withTerms: { type: Boolean, default: !1 }
|
529
529
|
},
|
530
530
|
setup(e) {
|
531
|
-
const { t: i } = Ge(), n = e, s =
|
532
|
-
prop:
|
531
|
+
const { t: i } = Ge(), n = e, s = Wt({
|
532
|
+
prop: z(() => n.loading)
|
533
533
|
}), r = Y(!1), u = Y(null), { $breakpointService: d } = Wi(u);
|
534
534
|
async function g(f) {
|
535
535
|
try {
|
@@ -1225,7 +1225,7 @@ const Ip = /* @__PURE__ */ xe(bp, [["render", Ep]]), kp = { class: "text-h7 font
|
|
1225
1225
|
const p = $e(`1/1/1 ${f}`, "h:mm A");
|
1226
1226
|
return f ? $e(p).format("HH:mm") : null;
|
1227
1227
|
}
|
1228
|
-
const d =
|
1228
|
+
const d = z(() => !s.checkInDate || !s.checkOutDate ? 0 : $e(s.checkOutDate).diff($e(s.checkInDate), "days")), g = z(
|
1229
1229
|
() => s.hotelRoomOffer.hotelRooms.reduce((f, p) => f + p.count, 0) || 0
|
1230
1230
|
);
|
1231
1231
|
return (f, p) => (C(), N(Ip, null, {
|
@@ -1608,7 +1608,7 @@ const Yp = /* @__PURE__ */ xe(zc, [["__scopeId", "data-v-1e73d90e"]]), Mc = /* @
|
|
1608
1608
|
hotelRoomOffer: {}
|
1609
1609
|
},
|
1610
1610
|
setup(e) {
|
1611
|
-
const i = e, { bookingApiClient: n } = ji(), s = Y(null), r =
|
1611
|
+
const i = e, { bookingApiClient: n } = ji(), s = Y(null), r = z(
|
1612
1612
|
() => np(i.hotelRoomOffer, null)
|
1613
1613
|
);
|
1614
1614
|
return et(() => {
|
@@ -2660,13 +2660,13 @@ const rn = Symbol.for("vuetify:v-expansion-panel"), Hc = Oe({
|
|
2660
2660
|
backgroundColorStyles: u
|
2661
2661
|
} = Gi(e, "color"), {
|
2662
2662
|
dimensionStyles: d
|
2663
|
-
} = hr(e), g =
|
2663
|
+
} = hr(e), g = z(() => ({
|
2664
2664
|
collapseIcon: e.collapseIcon,
|
2665
2665
|
disabled: s.disabled.value,
|
2666
2666
|
expanded: s.isSelected.value,
|
2667
2667
|
expandIcon: e.expandIcon,
|
2668
2668
|
readonly: e.readonly
|
2669
|
-
})), f =
|
2669
|
+
})), f = z(() => s.isSelected.value ? e.collapseIcon : e.expandIcon);
|
2670
2670
|
return He(() => gt(l("button", {
|
2671
2671
|
class: ["v-expansion-panel-title", {
|
2672
2672
|
"v-expansion-panel-title--active": s.isSelected.value,
|
@@ -2720,10 +2720,10 @@ const rn = Symbol.for("vuetify:v-expansion-panel"), Hc = Oe({
|
|
2720
2720
|
elevationClasses: d
|
2721
2721
|
} = gr(e), {
|
2722
2722
|
roundedClasses: g
|
2723
|
-
} = Ps(e), f =
|
2723
|
+
} = Ps(e), f = z(() => s?.disabled.value || e.disabled), p = z(() => s.group.items.value.reduce((O, S, B) => (s.group.selected.value.includes(S.id) && O.push(B), O), [])), y = z(() => {
|
2724
2724
|
const O = s.group.items.value.findIndex((S) => S.id === s.id);
|
2725
2725
|
return !s.isSelected.value && p.value.some((S) => S - O === 1);
|
2726
|
-
}), b =
|
2726
|
+
}), b = z(() => {
|
2727
2727
|
const O = s.group.items.value.findIndex((S) => S.id === s.id);
|
2728
2728
|
return !s.isSelected.value && p.value.some((S) => S - O === -1);
|
2729
2729
|
});
|
@@ -2792,7 +2792,7 @@ const rn = Symbol.for("vuetify:v-expansion-panel"), Hc = Oe({
|
|
2792
2792
|
prev: r
|
2793
2793
|
} = pr(e, rn), {
|
2794
2794
|
themeClasses: u
|
2795
|
-
} = dn(e), d =
|
2795
|
+
} = dn(e), d = z(() => e.variant && `v-expansion-panels--variant-${e.variant}`);
|
2796
2796
|
return br({
|
2797
2797
|
VExpansionPanel: {
|
2798
2798
|
bgColor: Je(e, "bgColor"),
|
@@ -2925,7 +2925,7 @@ const yv = /* @__PURE__ */ xe(Nc, [["render", Cv]]), Ev = ["src"], Iv = /* @__PU
|
|
2925
2925
|
width: { default: "100%" }
|
2926
2926
|
},
|
2927
2927
|
setup(e) {
|
2928
|
-
const i = e, n =
|
2928
|
+
const i = e, n = z(() => {
|
2929
2929
|
if (!i.address || !i.city)
|
2930
2930
|
return "";
|
2931
2931
|
const s = i.address.toLowerCase().replace(/ /gu, "+"), r = i.city.toLowerCase().replace(/[ "'.1-9_]/gu, "");
|
@@ -2965,7 +2965,7 @@ const yv = /* @__PURE__ */ xe(Nc, [["render", Cv]]), Ev = ["src"], Iv = /* @__PU
|
|
2965
2965
|
class: ot(["hotel-marker", {
|
2966
2966
|
focus: n.focus
|
2967
2967
|
}]),
|
2968
|
-
style:
|
2968
|
+
style: Yt({
|
2969
2969
|
animationDuration: `${Math.random() * (1.5 - 0.2 + 1) + 0.2}s`
|
2970
2970
|
})
|
2971
2971
|
}, [
|
@@ -3144,10 +3144,10 @@ const Yc = {
|
|
3144
3144
|
isRtl: r
|
3145
3145
|
} = Pm(), {
|
3146
3146
|
t: u
|
3147
|
-
} = zs(), d = pr(e, Gc), g = Y(), f =
|
3147
|
+
} = zs(), d = pr(e, Gc), g = Y(), f = z(() => r.value ? !e.reverse : e.reverse), p = Tt(!1), y = z(() => {
|
3148
3148
|
const F = e.direction === "vertical" ? "y" : "x", H = (f.value ? !p.value : p.value) ? "-reverse" : "";
|
3149
3149
|
return `v-window-${F}${H}-transition`;
|
3150
|
-
}), b = Tt(0), O = Y(void 0), S =
|
3150
|
+
}), b = Tt(0), O = Y(void 0), S = z(() => d.items.value.findIndex((F) => d.selected.value.includes(F.id)));
|
3151
3151
|
le(S, (F, E) => {
|
3152
3152
|
const H = d.items.value.length, G = H - 1;
|
3153
3153
|
H <= 2 ? p.value = F < E : F === G && E === 0 ? p.value = !0 : F === 0 && E === G ? p.value = !1 : p.value = F < E;
|
@@ -3158,14 +3158,14 @@ const Yc = {
|
|
3158
3158
|
transitionHeight: O,
|
3159
3159
|
rootRef: g
|
3160
3160
|
});
|
3161
|
-
const B =
|
3161
|
+
const B = z(() => e.continuous || S.value !== 0), k = z(() => e.continuous || S.value !== d.items.value.length - 1);
|
3162
3162
|
function P() {
|
3163
3163
|
B.value && d.prev();
|
3164
3164
|
}
|
3165
3165
|
function Q() {
|
3166
3166
|
k.value && d.next();
|
3167
3167
|
}
|
3168
|
-
const V =
|
3168
|
+
const V = z(() => {
|
3169
3169
|
const F = [], E = {
|
3170
3170
|
icon: r.value ? e.nextIcon : e.prevIcon,
|
3171
3171
|
class: `v-window__${f.value ? "right" : "left"}`,
|
@@ -3184,7 +3184,7 @@ const Yc = {
|
|
3184
3184
|
return F.push(k.value ? n.next ? n.next({
|
3185
3185
|
props: H
|
3186
3186
|
}) : l(ge, H, null) : l("div", null, null)), F;
|
3187
|
-
}), w =
|
3187
|
+
}), w = z(() => e.touch === !1 ? e.touch : {
|
3188
3188
|
...{
|
3189
3189
|
left: () => {
|
3190
3190
|
f.value ? P() : Q();
|
@@ -3361,7 +3361,7 @@ const Yc = {
|
|
3361
3361
|
isBooted: u
|
3362
3362
|
} = Hg();
|
3363
3363
|
if (!s || !r) throw new Error("[Vuetify] VWindowItem must be used inside VWindow");
|
3364
|
-
const d = Tt(!1), g =
|
3364
|
+
const d = Tt(!1), g = z(() => u.value && (s.isReversed.value ? e.reverseTransition !== !1 : e.transition !== !1));
|
3365
3365
|
function f() {
|
3366
3366
|
!d.value || !s || (d.value = !1, s.transitionCount.value > 0 && (s.transitionCount.value -= 1, s.transitionCount.value === 0 && (s.transitionHeight.value = void 0)));
|
3367
3367
|
}
|
@@ -3376,7 +3376,7 @@ const Yc = {
|
|
3376
3376
|
!g.value || !d.value || !s || (s.transitionHeight.value = Pi(B.clientHeight));
|
3377
3377
|
});
|
3378
3378
|
}
|
3379
|
-
const O =
|
3379
|
+
const O = z(() => {
|
3380
3380
|
const B = s.isReversed.value ? e.reverseTransition : e.transition;
|
3381
3381
|
return g.value ? {
|
3382
3382
|
name: typeof B != "string" ? s.transition.value : B,
|
@@ -3505,7 +3505,7 @@ const Yc = {
|
|
3505
3505
|
let {
|
3506
3506
|
emit: n
|
3507
3507
|
} = i;
|
3508
|
-
const s =
|
3508
|
+
const s = z(() => Array.isArray(e.disabled) ? e.disabled.includes("text") : !!e.disabled), r = z(() => Array.isArray(e.disabled) ? e.disabled.includes("mode") : !!e.disabled), u = z(() => Array.isArray(e.disabled) ? e.disabled.includes("prev") : !!e.disabled), d = z(() => Array.isArray(e.disabled) ? e.disabled.includes("next") : !!e.disabled);
|
3509
3509
|
function g() {
|
3510
3510
|
n("click:prev");
|
3511
3511
|
}
|
@@ -3644,16 +3644,16 @@ const Yc = {
|
|
3644
3644
|
firstDayOfWeek: [Number, String]
|
3645
3645
|
}, "calendar");
|
3646
3646
|
function xv(e) {
|
3647
|
-
const i = vn(), n = wt(e, "modelValue", [], (B) => _n(B)), s =
|
3647
|
+
const i = vn(), n = wt(e, "modelValue", [], (B) => _n(B)), s = z(() => e.displayValue ? i.date(e.displayValue) : n.value.length > 0 ? i.date(n.value[0]) : e.min ? i.date(e.min) : Array.isArray(e.allowedDates) ? i.date(e.allowedDates[0]) : i.date()), r = wt(e, "year", void 0, (B) => {
|
3648
3648
|
const k = B != null ? Number(B) : i.getYear(s.value);
|
3649
3649
|
return i.startOfYear(i.setYear(i.date(), k));
|
3650
3650
|
}, (B) => i.getYear(B)), u = wt(e, "month", void 0, (B) => {
|
3651
3651
|
const k = B != null ? Number(B) : i.getMonth(s.value), P = i.setYear(i.startOfMonth(i.date()), i.getYear(r.value));
|
3652
3652
|
return i.setMonth(P, k);
|
3653
|
-
}, (B) => i.getMonth(B)), d =
|
3653
|
+
}, (B) => i.getMonth(B)), d = z(() => e.firstDayOfWeek ?? e.weekdays[0]), g = z(() => {
|
3654
3654
|
const B = Number(e.firstDayOfWeek ?? 0);
|
3655
3655
|
return e.weekdays.map((k) => (k + B) % 7);
|
3656
|
-
}), f =
|
3656
|
+
}), f = z(() => {
|
3657
3657
|
const B = i.getWeekArray(u.value, d.value), k = B.flat(), P = 42;
|
3658
3658
|
if (e.weeksInMonth === "static" && k.length < P) {
|
3659
3659
|
const Q = k[k.length - 1];
|
@@ -3686,16 +3686,16 @@ function xv(e) {
|
|
3686
3686
|
};
|
3687
3687
|
});
|
3688
3688
|
}
|
3689
|
-
const y =
|
3689
|
+
const y = z(() => {
|
3690
3690
|
const B = i.startOfWeek(s.value, e.firstDayOfWeek), k = [];
|
3691
3691
|
for (let Q = 0; Q <= 6; Q++)
|
3692
3692
|
k.push(i.addDays(B, Q));
|
3693
3693
|
const P = i.date();
|
3694
3694
|
return p(k, P);
|
3695
|
-
}), b =
|
3695
|
+
}), b = z(() => {
|
3696
3696
|
const B = f.value.flat(), k = i.date();
|
3697
3697
|
return p(B, k);
|
3698
|
-
}), O =
|
3698
|
+
}), O = z(() => f.value.map((B) => B.length ? Rm(i, B[0]) : null));
|
3699
3699
|
function S(B) {
|
3700
3700
|
if (e.disabled) return !0;
|
3701
3701
|
const k = i.date(B);
|
@@ -3743,9 +3743,9 @@ const jc = Oe({
|
|
3743
3743
|
daysInMonth: u,
|
3744
3744
|
model: d,
|
3745
3745
|
weekNumbers: g
|
3746
|
-
} = xv(e), f = vn(), p = Tt(), y = Tt(), b = Tt(!1), O =
|
3746
|
+
} = xv(e), f = vn(), p = Tt(), y = Tt(), b = Tt(!1), O = z(() => b.value ? e.reverseTransition : e.transition);
|
3747
3747
|
e.multiple === "range" && d.value.length > 0 && (p.value = d.value[0], d.value.length > 1 && (y.value = d.value[d.value.length - 1]));
|
3748
|
-
const S =
|
3748
|
+
const S = z(() => {
|
3749
3749
|
const Q = ["number", "string"].includes(typeof e.multiple) ? Number(e.multiple) : 1 / 0;
|
3750
3750
|
return d.value.length >= Q;
|
3751
3751
|
});
|
@@ -3856,7 +3856,7 @@ const jc = Oe({
|
|
3856
3856
|
emit: n,
|
3857
3857
|
slots: s
|
3858
3858
|
} = i;
|
3859
|
-
const r = vn(), u = wt(e, "modelValue"), d =
|
3859
|
+
const r = vn(), u = wt(e, "modelValue"), d = z(() => {
|
3860
3860
|
let g = r.startOfYear(r.date());
|
3861
3861
|
return e.year && (g = r.setYear(g, e.year)), Sc(12).map((f) => {
|
3862
3862
|
const p = r.format(g, "monthShort"), y = !!(e.min && r.isAfter(r.startOfMonth(r.date(e.min)), g) || e.max && r.isAfter(g, r.startOfMonth(r.date(e.max))));
|
@@ -3919,7 +3919,7 @@ const jc = Oe({
|
|
3919
3919
|
emit: n,
|
3920
3920
|
slots: s
|
3921
3921
|
} = i;
|
3922
|
-
const r = vn(), u = wt(e, "modelValue"), d =
|
3922
|
+
const r = vn(), u = wt(e, "modelValue"), d = z(() => {
|
3923
3923
|
const f = r.getYear(r.date());
|
3924
3924
|
let p = f - 100, y = f + 52;
|
3925
3925
|
e.min && (p = r.getYear(r.date(e.min))), e.max && (y = r.getYear(r.date(e.max)));
|
@@ -4079,20 +4079,20 @@ const jc = Oe({
|
|
4079
4079
|
} = i;
|
4080
4080
|
const r = vn(), {
|
4081
4081
|
t: u
|
4082
|
-
} = zs(), d = wt(e, "modelValue", void 0, (K) => _n(K), (K) => e.multiple ? K : K[0]), g = wt(e, "viewMode"), f =
|
4082
|
+
} = zs(), d = wt(e, "modelValue", void 0, (K) => _n(K), (K) => e.multiple ? K : K[0]), g = wt(e, "viewMode"), f = z(() => {
|
4083
4083
|
const K = r.date(e.min);
|
4084
4084
|
return e.min && r.isValid(K) ? K : null;
|
4085
|
-
}), p =
|
4085
|
+
}), p = z(() => {
|
4086
4086
|
const K = r.date(e.max);
|
4087
4087
|
return e.max && r.isValid(K) ? K : null;
|
4088
|
-
}), y =
|
4088
|
+
}), y = z(() => {
|
4089
4089
|
const K = r.date();
|
4090
4090
|
let Z = K;
|
4091
4091
|
return d.value?.[0] ? Z = r.date(d.value[0]) : f.value && r.isBefore(K, f.value) ? Z = f.value : p.value && r.isAfter(K, p.value) && (Z = p.value), Z && r.isValid(Z) ? Z : K;
|
4092
|
-
}), b = Y(Number(e.month ?? r.getMonth(r.startOfMonth(y.value)))), O = Y(Number(e.year ?? r.getYear(r.startOfYear(r.setMonth(y.value, b.value))))), S = Tt(!1), B =
|
4092
|
+
}), b = Y(Number(e.month ?? r.getMonth(r.startOfMonth(y.value)))), O = Y(Number(e.year ?? r.getYear(r.startOfYear(r.setMonth(y.value, b.value))))), S = Tt(!1), B = z(() => e.multiple && d.value.length > 1 ? u("$vuetify.datePicker.itemsSelected", d.value.length) : d.value[0] && r.isValid(d.value[0]) ? r.format(r.date(d.value[0]), "normalDateWithWeekday") : u(e.header)), k = z(() => {
|
4093
4093
|
let K = r.date();
|
4094
4094
|
return K = r.setDate(K, 1), K = r.setMonth(K, b.value), K = r.setYear(K, O.value), r.format(K, "monthAndYear");
|
4095
|
-
}), P =
|
4095
|
+
}), P = z(() => `date-picker-header${S.value ? "-reverse" : ""}-transition`), Q = z(() => {
|
4096
4096
|
if (e.disabled) return !0;
|
4097
4097
|
const K = [];
|
4098
4098
|
if (g.value !== "month")
|
@@ -4246,15 +4246,15 @@ const jc = Oe({
|
|
4246
4246
|
resizeRef: b
|
4247
4247
|
} = qg((S) => {
|
4248
4248
|
S.length && (y.value = S[0].target.clientHeight);
|
4249
|
-
}), O =
|
4249
|
+
}), O = z(() => e.height === "auto" ? y.value : parseInt(e.height, 10));
|
4250
4250
|
return Bc(() => e.app, () => {
|
4251
4251
|
const S = Wg({
|
4252
4252
|
id: e.name,
|
4253
|
-
order:
|
4254
|
-
position:
|
4253
|
+
order: z(() => parseInt(e.order, 10)),
|
4254
|
+
position: z(() => "bottom"),
|
4255
4255
|
layoutSize: O,
|
4256
|
-
elementSize:
|
4257
|
-
active:
|
4256
|
+
elementSize: z(() => e.height === "auto" ? void 0 : O.value),
|
4257
|
+
active: z(() => e.app),
|
4258
4258
|
absolute: Je(e, "absolute")
|
4259
4259
|
});
|
4260
4260
|
fn(() => {
|
@@ -4453,7 +4453,7 @@ const jc = Oe({
|
|
4453
4453
|
let {
|
4454
4454
|
slots: n
|
4455
4455
|
} = i;
|
4456
|
-
const s = Ds(e, Rr, !0), r =
|
4456
|
+
const s = Ds(e, Rr, !0), r = z(() => s?.value.value ?? e.value), u = z(() => e.rules.every((O) => O() === !0)), d = z(() => !e.disabled && e.editable), g = z(() => !e.disabled && e.editable), f = z(() => e.error || !u.value), p = z(() => e.complete || e.rules.length > 0 && u.value), y = z(() => f.value ? e.errorIcon : p.value ? e.completeIcon : s.isSelected.value && e.editable ? e.editIcon : e.icon), b = z(() => ({
|
4457
4457
|
canEdit: g.value,
|
4458
4458
|
hasError: f.value,
|
4459
4459
|
hasCompleted: p.value,
|
@@ -4508,7 +4508,7 @@ const jc = Oe({
|
|
4508
4508
|
let {
|
4509
4509
|
slots: n
|
4510
4510
|
} = i;
|
4511
|
-
const s = vt(Rr, null), r = wt(e, "modelValue"), u =
|
4511
|
+
const s = vt(Rr, null), r = wt(e, "modelValue"), u = z({
|
4512
4512
|
get() {
|
4513
4513
|
return r.value != null || !s ? r.value : s.items.value.find((d) => s.selected.value.includes(d.id))?.value;
|
4514
4514
|
},
|
@@ -4606,14 +4606,14 @@ const jc = Oe({
|
|
4606
4606
|
editable: S,
|
4607
4607
|
prevText: B,
|
4608
4608
|
nextText: k
|
4609
|
-
} = Dm(e), P =
|
4609
|
+
} = Dm(e), P = z(() => e.items.map((w, F) => {
|
4610
4610
|
const E = bA(w, e.itemTitle, w), H = bA(w, e.itemValue, F + 1);
|
4611
4611
|
return {
|
4612
4612
|
title: E,
|
4613
4613
|
value: H,
|
4614
4614
|
raw: w
|
4615
4615
|
};
|
4616
|
-
})), Q =
|
4616
|
+
})), Q = z(() => s.value.findIndex((w) => d.value.includes(w.id))), V = z(() => e.disabled ? e.disabled : Q.value === 0 ? "prev" : Q.value === s.value.length - 1 ? "next" : !1);
|
4617
4617
|
return br({
|
4618
4618
|
VStepperItem: {
|
4619
4619
|
editable: S,
|
@@ -4704,7 +4704,7 @@ const jc = Oe({
|
|
4704
4704
|
const {
|
4705
4705
|
textColorClasses: r,
|
4706
4706
|
textColorStyles: u
|
4707
|
-
} = Jg(e, "sliderColor"), d = Y(), g = Y(), f =
|
4707
|
+
} = Jg(e, "sliderColor"), d = Y(), g = Y(), f = z(() => e.direction === "horizontal"), p = z(() => d.value?.group?.isSelected.value ?? !1);
|
4708
4708
|
function y(b) {
|
4709
4709
|
let {
|
4710
4710
|
value: O
|
@@ -4760,7 +4760,7 @@ const jc = Oe({
|
|
4760
4760
|
let {
|
4761
4761
|
slots: n
|
4762
4762
|
} = i;
|
4763
|
-
const s = vt(Qr, null), r = wt(e, "modelValue"), u =
|
4763
|
+
const s = vt(Qr, null), r = wt(e, "modelValue"), u = z({
|
4764
4764
|
get() {
|
4765
4765
|
return r.value != null || !s ? r.value : s.items.value.find((d) => s.selected.value.includes(d.id))?.value;
|
4766
4766
|
},
|
@@ -4845,7 +4845,7 @@ const lb = Oe({
|
|
4845
4845
|
attrs: n,
|
4846
4846
|
slots: s
|
4847
4847
|
} = i;
|
4848
|
-
const r = wt(e, "modelValue"), u =
|
4848
|
+
const r = wt(e, "modelValue"), u = z(() => rb(e.items)), {
|
4849
4849
|
densityClasses: d
|
4850
4850
|
} = em(e), {
|
4851
4851
|
backgroundColorClasses: g,
|
@@ -4951,7 +4951,7 @@ const lb = Oe({
|
|
4951
4951
|
isFocused: d,
|
4952
4952
|
focus: g,
|
4953
4953
|
blur: f
|
4954
|
-
} = om(e), p =
|
4954
|
+
} = om(e), p = z(() => typeof e.counterValue == "function" ? e.counterValue(u.value) : (u.value || "").toString().length), y = z(() => {
|
4955
4955
|
if (n.maxlength) return n.maxlength;
|
4956
4956
|
if (!(!e.counter || typeof e.counter != "number" && typeof e.counter != "string"))
|
4957
4957
|
return e.counter;
|
@@ -4959,7 +4959,7 @@ const lb = Oe({
|
|
4959
4959
|
function b(_, oe) {
|
4960
4960
|
!e.autofocus || !_ || oe[0].target?.focus?.();
|
4961
4961
|
}
|
4962
|
-
const O = Y(), S = Y(), B = Tt(""), k = Y(), P =
|
4962
|
+
const O = Y(), S = Y(), B = Tt(""), k = Y(), P = z(() => e.persistentPlaceholder || d.value || e.active);
|
4963
4963
|
function Q() {
|
4964
4964
|
k.value !== document.activeElement && k.value?.focus(), d.value || g();
|
4965
4965
|
}
|
@@ -4983,7 +4983,7 @@ const lb = Oe({
|
|
4983
4983
|
});
|
4984
4984
|
}
|
4985
4985
|
}
|
4986
|
-
const H = Y(), G = Y(Number(e.rows)), ee =
|
4986
|
+
const H = Y(), G = Y(Number(e.rows)), ee = z(() => ["plain", "underlined"].includes(e.variant));
|
4987
4987
|
fn(() => {
|
4988
4988
|
e.autoGrow || (G.value = Number(e.rows));
|
4989
4989
|
});
|
@@ -5100,7 +5100,7 @@ const lb = Oe({
|
|
5100
5100
|
});
|
5101
5101
|
}), ur({}, O, S, k);
|
5102
5102
|
}
|
5103
|
-
}), cb = ["data-index", "onClick"], db = ["
|
5103
|
+
}), cb = ["data-index", "onClick"], db = ["src"], hb = /* @__PURE__ */ ce({
|
5104
5104
|
__name: "BImageCarouselThumbnails",
|
5105
5105
|
props: /* @__PURE__ */ sn({
|
5106
5106
|
height: { default: "70px" },
|
@@ -5114,30 +5114,30 @@ const lb = Oe({
|
|
5114
5114
|
}),
|
5115
5115
|
emits: /* @__PURE__ */ sn(["change"], ["update:currentSlideIndex"]),
|
5116
5116
|
setup(e) {
|
5117
|
-
const i = Cr(e, "currentSlideIndex");
|
5118
|
-
return (
|
5117
|
+
const i = Cr(e, "currentSlideIndex"), n = e, s = z(() => n.imageUrls.map((r) => [r, r, r]).flat());
|
5118
|
+
return (r, u) => (C(), N(I(Va), {
|
5119
5119
|
ref: "slide-group",
|
5120
5120
|
modelValue: i.value,
|
5121
|
-
"onUpdate:modelValue":
|
5121
|
+
"onUpdate:modelValue": u[0] || (u[0] = (d) => i.value = d),
|
5122
5122
|
"center-active": "",
|
5123
5123
|
mandatory: "",
|
5124
|
-
"show-arrows": !1
|
5124
|
+
"show-arrows": !1,
|
5125
|
+
style: Yt({ height: r.height })
|
5125
5126
|
}, {
|
5126
5127
|
default: c(() => [
|
5127
|
-
(C(!0), W(ae, null, qe(
|
5128
|
-
default: c(({ isSelected:
|
5128
|
+
(C(!0), W(ae, null, qe(s.value, (d, g) => (C(), N(I(Gv), { key: g }, {
|
5129
|
+
default: c(({ isSelected: f, toggle: p }) => [
|
5129
5130
|
D("div", {
|
5130
|
-
class: ot(["thumb cursor-pointer", { active:
|
5131
|
-
"data-index":
|
5132
|
-
onClick: (
|
5133
|
-
|
5131
|
+
class: ot(["thumb cursor-pointer", { active: f, "mr-1": g < s.value.length - 1 }]),
|
5132
|
+
"data-index": g,
|
5133
|
+
onClick: (y) => {
|
5134
|
+
p(), r.$emit("change", g);
|
5134
5135
|
}
|
5135
5136
|
}, [
|
5136
5137
|
D("img", {
|
5137
|
-
class: ot({ rounded:
|
5138
|
-
|
5139
|
-
|
5140
|
-
src: r
|
5138
|
+
class: ot(["h-100", { rounded: r.rounded }]),
|
5139
|
+
src: d,
|
5140
|
+
style: { maxWidth: "105px" }
|
5141
5141
|
}, null, 10, db)
|
5142
5142
|
], 10, cb)
|
5143
5143
|
]),
|
@@ -5145,9 +5145,9 @@ const lb = Oe({
|
|
5145
5145
|
}, 1024))), 128))
|
5146
5146
|
]),
|
5147
5147
|
_: 1
|
5148
|
-
}, 8, ["modelValue"]));
|
5148
|
+
}, 8, ["modelValue", "style"]));
|
5149
5149
|
}
|
5150
|
-
}), fb = /* @__PURE__ */ xe(hb, [["__scopeId", "data-v-
|
5150
|
+
}), fb = /* @__PURE__ */ xe(hb, [["__scopeId", "data-v-a20e273f"]]), gb = /* @__PURE__ */ ce({
|
5151
5151
|
__name: "BImageCarousel",
|
5152
5152
|
props: {
|
5153
5153
|
clickable: { type: Boolean, default: !1 },
|
@@ -5179,7 +5179,7 @@ const lb = Oe({
|
|
5179
5179
|
const k = n.imageUrls.length;
|
5180
5180
|
d.value = (k + d.value + B) % k, g();
|
5181
5181
|
}
|
5182
|
-
const b =
|
5182
|
+
const b = z(() => n.isLoading ? [
|
5183
5183
|
{
|
5184
5184
|
type: "loading",
|
5185
5185
|
url: void 0
|
@@ -5192,7 +5192,7 @@ const lb = Oe({
|
|
5192
5192
|
] : n.imageUrls.slice(0, n.limit).map((B) => ({
|
5193
5193
|
type: "image",
|
5194
5194
|
url: B
|
5195
|
-
}))), O =
|
5195
|
+
}))), O = z(() => {
|
5196
5196
|
if (!r.value)
|
5197
5197
|
return [];
|
5198
5198
|
if (n.lazy === 0)
|
@@ -5319,14 +5319,14 @@ const lb = Oe({
|
|
5319
5319
|
setup(e) {
|
5320
5320
|
return (i, n) => (C(), W("div", {
|
5321
5321
|
class: "b-map-marker position-relative",
|
5322
|
-
style:
|
5322
|
+
style: Yt({
|
5323
5323
|
width: i.size + "px",
|
5324
5324
|
height: i.size * Math.sqrt(2) + "px"
|
5325
5325
|
})
|
5326
5326
|
}, [
|
5327
5327
|
D("div", {
|
5328
5328
|
class: "b-map-marker__pin",
|
5329
|
-
style:
|
5329
|
+
style: Yt({
|
5330
5330
|
width: i.size + "px",
|
5331
5331
|
height: i.size + "px",
|
5332
5332
|
bottom: `calc(${i.size * ((1 - Math.sqrt(2)) / 2)}px + 5px)`
|
@@ -5334,7 +5334,7 @@ const lb = Oe({
|
|
5334
5334
|
}, [
|
5335
5335
|
i.imgUrl ? (C(), W("div", {
|
5336
5336
|
key: 0,
|
5337
|
-
style:
|
5337
|
+
style: Yt({
|
5338
5338
|
height: `${i.size * (1 / Math.sqrt(2) - 0.1)}px`,
|
5339
5339
|
width: `${i.size * (1 / Math.sqrt(2) - 0.1)}px`,
|
5340
5340
|
backgroundImage: `url(${i.imgUrl})`
|
@@ -5370,7 +5370,7 @@ const bb = {
|
|
5370
5370
|
}, nd = ce({
|
5371
5371
|
components: {
|
5372
5372
|
BBreakfastOptionBadge: Os,
|
5373
|
-
BErrorOverlay:
|
5373
|
+
BErrorOverlay: jt,
|
5374
5374
|
BFormattedAmount: hi,
|
5375
5375
|
BGoogleMapIframe: qc,
|
5376
5376
|
BHotelRoomsDetails: Qs,
|
@@ -6474,7 +6474,7 @@ const q3 = /* @__PURE__ */ xe(nd, [["render", Zb]]), jb = ["innerHTML"], Jb = ["
|
|
6474
6474
|
timezone: {}
|
6475
6475
|
},
|
6476
6476
|
setup(e) {
|
6477
|
-
const { locale: i, t: n } = Ge(), s = e, r = Y(null), u =
|
6477
|
+
const { locale: i, t: n } = Ge(), s = e, r = Y(null), u = z(() => {
|
6478
6478
|
if (typeof s.cancellationPolicies == "string")
|
6479
6479
|
try {
|
6480
6480
|
return JSON.parse(s.cancellationPolicies);
|
@@ -6482,7 +6482,7 @@ const q3 = /* @__PURE__ */ xe(nd, [["render", Zb]]), jb = ["innerHTML"], Jb = ["
|
|
6482
6482
|
return [];
|
6483
6483
|
}
|
6484
6484
|
return s.cancellationPolicies;
|
6485
|
-
}), d =
|
6485
|
+
}), d = z(
|
6486
6486
|
() => Vm(
|
6487
6487
|
Km({
|
6488
6488
|
cancellationPolicies: u.value,
|
@@ -6491,9 +6491,9 @@ const q3 = /* @__PURE__ */ xe(nd, [["render", Zb]]), jb = ["innerHTML"], Jb = ["
|
|
6491
6491
|
timezone: s.timezone
|
6492
6492
|
})
|
6493
6493
|
)
|
6494
|
-
), g =
|
6494
|
+
), g = z(
|
6495
6495
|
() => qm(d.value)
|
6496
|
-
), f =
|
6496
|
+
), f = z(() => g.value?.penaltyPercentage === 0 ? "fas fa-regular fa-circle-check" : g.value?.penaltyPercentage === 100 ? "" : "fas fa-circle-info");
|
6497
6497
|
function p(b) {
|
6498
6498
|
return new Date(b).toLocaleTimeString(i.value, {
|
6499
6499
|
day: "numeric",
|
@@ -6815,7 +6815,7 @@ var sC = /* @__PURE__ */ Dr(function(i, n, s) {
|
|
6815
6815
|
i(n[r], r, n) && (s[r] = n[r]);
|
6816
6816
|
return s;
|
6817
6817
|
});
|
6818
|
-
const re = (e) => typeof e == "function" && !!(e.constructor && e.call && e.apply), Ye = (e) => typeof e == "string", Ft = (e) => e === null, ut = (e) => typeof e > "u",
|
6818
|
+
const re = (e) => typeof e == "function" && !!(e.constructor && e.call && e.apply), Ye = (e) => typeof e == "string", Ft = (e) => e === null, ut = (e) => typeof e > "u", Zt = (e) => Ft(e) || ut(e), AC = (e) => typeof e == "bigint", Ue = (e) => !ut(e), ko = (e) => !Zt(e), uC = (e) => ko(e) && e !== "", Tr = (e) => {
|
6819
6819
|
switch (Object.prototype.toString.call(e)) {
|
6820
6820
|
case "[object Error]":
|
6821
6821
|
case "[object Exception]":
|
@@ -6852,11 +6852,11 @@ const re = (e) => typeof e == "function" && !!(e.constructor && e.call && e.appl
|
|
6852
6852
|
}, Ai = (e) => {
|
6853
6853
|
if (Si(e))
|
6854
6854
|
return bs(e);
|
6855
|
-
},
|
6855
|
+
}, ei = (e, i) => typeof e == "boolean" ? e : i, Lr = (e) => (Object.getOwnPropertyNames(e).forEach(function(i) {
|
6856
6856
|
e[i] && typeof e[i] == "object" && Lr(e[i]);
|
6857
6857
|
}), Object.freeze(e)), mC = (e) => e.replace(/^\s+|\s+$/gm, ""), HA = (e) => e.replace(/^\.+/, ""), Cs = (e) => {
|
6858
6858
|
let i = e;
|
6859
|
-
if (!Ye(e) && !
|
6859
|
+
if (!Ye(e) && !Zt(e))
|
6860
6860
|
try {
|
6861
6861
|
i = JSON.stringify(e);
|
6862
6862
|
} catch {
|
@@ -6912,7 +6912,7 @@ function BC() {
|
|
6912
6912
|
i = Zn[Vi + e], e == 6 ? n += ts[i & 15 | 64] : e == 8 ? n += ts[i & 63 | 128] : n += ts[i], e & 1 && e > 1 && e < 11 && (n += "-");
|
6913
6913
|
return Vi++, n;
|
6914
6914
|
}
|
6915
|
-
const wC = () => !
|
6915
|
+
const wC = () => !Zt(globalThis.crypto) && re(globalThis.crypto.getRandomValues), Ks = () => wC() ? kC() : BC(), PC = () => !!window.chrome?.runtime?.id, hd = () => Ye(globalThis.navigator.userAgent) && /Trident.*rv:11\./.test(globalThis.navigator.userAgent), SC = (e) => {
|
6916
6916
|
let i = !1, n = !1;
|
6917
6917
|
function s() {
|
6918
6918
|
i || (i = !0, e(n), setTimeout(() => {
|
@@ -6933,7 +6933,7 @@ const wC = () => !Gt(globalThis.crypto) && re(globalThis.crypto.getRandomValues)
|
|
6933
6933
|
}, fd = (e) => e.toISOString(), RC = () => fd(/* @__PURE__ */ new Date()), ve = ":: ", QC = (e) => `A script with the id "${e}" is already loaded. Skipping the loading of this script to prevent conflicts`, xA = (e, i, n) => `Unable to load (${Ye(n) ? n : n.type}) the script with the id "${e}" from URL "${i}"`, OC = (e, i, n) => `A timeout of ${n} ms occurred while trying to load the script with id "${e}" from URL "${i}"`, DC = (e, i) => `${e}${ve}A circular reference has been detected in the object and the property "${i}" has been dropped from the output.`, TC = "Failed to convert the value to a JSON string.", LC = "Failed to encode the cookie data.", FC = "JSONStringify", zC = "[BigInt]", gd = "[Circular Reference]", MC = (e, i, n) => {
|
6934
6934
|
const s = [];
|
6935
6935
|
return function(r, u) {
|
6936
|
-
if (!i?.includes(r) && !(e &&
|
6936
|
+
if (!i?.includes(r) && !(e && Zt(u))) {
|
6937
6937
|
if (typeof u != "object" || Ft(u))
|
6938
6938
|
return u;
|
6939
6939
|
for (; s.length > 0 && s[s.length - 1] !== this; )
|
@@ -8216,7 +8216,7 @@ class DE {
|
|
8216
8216
|
this.errorHandler.onError({ error: i, context: Wn, customMessage: n, groupingHash: s });
|
8217
8217
|
}
|
8218
8218
|
}
|
8219
|
-
const Bt = "cookieStorage", St = "localStorage", Dt = "sessionStorage",
|
8219
|
+
const Bt = "cookieStorage", St = "localStorage", Dt = "sessionStorage", ti = "memoryStorage", Ki = "none", TE = "rl_user_id", LE = "rl_trait", FE = "rl_anonymous_id", zE = "rl_group_id", ME = "rl_group_trait", NE = "rl_page_init_referrer", HE = "rl_page_init_referring_domain", UE = "rl_session", xE = "rl_auth_token", co = { userId: TE, userTraits: LE, anonymousId: FE, groupId: zE, groupTraits: ME, initialReferrer: NE, initialReferringDomain: HE, sessionInfo: UE, authToken: xE }, VE = "test_rudder_cookie", KE = "test_rudder_ls", qE = "test_rudder_ss", YE = "__tld__", qd = "clientDataInCookie", Yd = "clientDataInLocalStorage", WE = "clientDataInMemory", Wd = "clientDataInSessionStorage", Gd = ["userId", "userTraits", "anonymousId", "groupId", "groupTraits", "initialReferrer", "initialReferringDomain", "sessionInfo", "authToken"], ho = { [Bt]: qd, [St]: Yd, [ti]: WE, [Dt]: Wd }, Au = (e, i) => {
|
8220
8220
|
try {
|
8221
8221
|
return encodeURIComponent(e);
|
8222
8222
|
} catch (n) {
|
@@ -8440,7 +8440,7 @@ function sI() {
|
|
8440
8440
|
})(rs)), rs.exports;
|
8441
8441
|
}
|
8442
8442
|
var aI = sI();
|
8443
|
-
const Ni = /* @__PURE__ */ Fd(aI), rI = () => !
|
8443
|
+
const Ni = /* @__PURE__ */ Fd(aI), rI = () => !Zt(globalThis.crypto) && re(globalThis.crypto.getRandomValues), du = () => !Zt(globalThis.navigator.userAgentData), lI = () => !Zt(globalThis.navigator.sendBeacon) && re(globalThis.navigator.sendBeacon), AI = (e, i = "none") => {
|
8444
8444
|
i === "none" && e(void 0), i === "default" && e(navigator.userAgentData), i === "full" && navigator.userAgentData?.getHighEntropyValues(["architecture", "bitness", "brands", "mobile", "model", "platform", "platformVersion", "uaFullVersion", "fullVersionList", "wow64"]).then((n) => {
|
8445
8445
|
e(n);
|
8446
8446
|
}).catch(() => {
|
@@ -8502,7 +8502,7 @@ const Ni = /* @__PURE__ */ Fd(aI), rI = () => !Gt(globalThis.crypto) && re(globa
|
|
8502
8502
|
let d = "unavailable", g = !0, f;
|
8503
8503
|
try {
|
8504
8504
|
switch (e) {
|
8505
|
-
case
|
8505
|
+
case ti:
|
8506
8506
|
return !0;
|
8507
8507
|
case Bt:
|
8508
8508
|
s = i, r = VE;
|
@@ -8636,7 +8636,7 @@ const Kr = new fI(mi), xt = (e) => {
|
|
8636
8636
|
return xr;
|
8637
8637
|
case Dt:
|
8638
8638
|
return Vr;
|
8639
|
-
case
|
8639
|
+
case ti:
|
8640
8640
|
return Is;
|
8641
8641
|
case Bt:
|
8642
8642
|
return Kr;
|
@@ -8675,7 +8675,7 @@ class CI {
|
|
8675
8675
|
* Switch to inMemoryEngine, bringing any existing data with.
|
8676
8676
|
*/
|
8677
8677
|
swapQueueStoreToInMemoryEngine() {
|
8678
|
-
const { name: i, id: n, validKeys: s, noCompoundKey: r } = this, u = xt(
|
8678
|
+
const { name: i, id: n, validKeys: s, noCompoundKey: r } = this, u = xt(ti);
|
8679
8679
|
Object.keys(s).forEach((d) => {
|
8680
8680
|
const g = this.get(s[d]), f = r ? d : [i, n, d].join(".");
|
8681
8681
|
u.setItem(f, g), this.remove(d);
|
@@ -8705,7 +8705,7 @@ class CI {
|
|
8705
8705
|
const n = this.createValidKey(i);
|
8706
8706
|
let s;
|
8707
8707
|
try {
|
8708
|
-
return !n || (s = this.decrypt(this.engine.getItem(n)),
|
8708
|
+
return !n || (s = this.decrypt(this.engine.getItem(n)), Zt(s) || s === "") ? null : JSON.parse(s);
|
8709
8709
|
} catch (r) {
|
8710
8710
|
const u = Fy(i);
|
8711
8711
|
return this.onError(r, u, u), null;
|
@@ -8728,7 +8728,7 @@ class CI {
|
|
8728
8728
|
* Decrypt values
|
8729
8729
|
*/
|
8730
8730
|
decrypt(i) {
|
8731
|
-
return
|
8731
|
+
return Zt(i) ? null : this.crypto(i, "decrypt");
|
8732
8732
|
}
|
8733
8733
|
/**
|
8734
8734
|
* Encrypt value
|
@@ -8787,7 +8787,7 @@ class EI {
|
|
8787
8787
|
* Create store to persist data used by the SDK like session, used details etc
|
8788
8788
|
*/
|
8789
8789
|
initClientDataStores() {
|
8790
|
-
this.initializeStorageState(), [
|
8790
|
+
this.initializeStorageState(), [ti, St, Bt, Dt].forEach((n) => {
|
8791
8791
|
xt(n)?.isEnabled && this.setStore({ id: ho[n], name: ho[n], isEncrypted: !0, noCompoundKey: !0, type: n, errorHandler: this.errorHandler, logger: this.logger });
|
8792
8792
|
});
|
8793
8793
|
}
|
@@ -8807,17 +8807,17 @@ class EI {
|
|
8807
8807
|
let s = i;
|
8808
8808
|
switch (i) {
|
8809
8809
|
case St:
|
8810
|
-
xt(St)?.isEnabled || (s =
|
8810
|
+
xt(St)?.isEnabled || (s = ti);
|
8811
8811
|
break;
|
8812
8812
|
case Dt:
|
8813
|
-
xt(Dt)?.isEnabled || (s =
|
8813
|
+
xt(Dt)?.isEnabled || (s = ti);
|
8814
8814
|
break;
|
8815
|
-
case
|
8815
|
+
case ti:
|
8816
8816
|
case Ki:
|
8817
8817
|
break;
|
8818
8818
|
case Bt:
|
8819
8819
|
default:
|
8820
|
-
xt(Bt)?.isEnabled ? s = Bt : xt(St)?.isEnabled ? s = St : xt(Dt)?.isEnabled ? s = Dt : s =
|
8820
|
+
xt(Bt)?.isEnabled ? s = Bt : xt(St)?.isEnabled ? s = St : xt(Dt)?.isEnabled ? s = Dt : s = ti;
|
8821
8821
|
break;
|
8822
8822
|
}
|
8823
8823
|
return s !== i && this.logger.warn(_y(bC, n, i, s)), s;
|
@@ -8836,7 +8836,7 @@ class EI {
|
|
8836
8836
|
return this.stores[i];
|
8837
8837
|
}
|
8838
8838
|
}
|
8839
|
-
const II = (e) => We(e) && We(e.source) && !
|
8839
|
+
const II = (e) => We(e) && We(e.source) && !Zt(e.source.id) && We(e.source.config) && Array.isArray(e.source.destinations), kI = (e) => typeof e == "string" && Sd.includes(e), jd = (e) => {
|
8840
8840
|
const i = new URL(e), { host: n, protocol: s } = i, r = n.split(".");
|
8841
8841
|
let u;
|
8842
8842
|
return r.length > 2 ? u = `${r[r.length - 2]}.${r[r.length - 1]}` : u = n, { topDomain: u, protocol: s };
|
@@ -9198,7 +9198,7 @@ const t2 = "web", i2 = ["integrations", "anonymousId", "originalTimestamp"], mu
|
|
9198
9198
|
autoTrack: !0,
|
9199
9199
|
...n && { cutOff: n }
|
9200
9200
|
};
|
9201
|
-
}, l2 = (e, i) => ({ id: s2(e, i) ? e : n2(), sessionStart: void 0, manualTrack: !0 }), _o = (e) => e === Bt || e === St || e === Dt || e ===
|
9201
|
+
}, l2 = (e, i) => ({ id: s2(e, i) ? e : n2(), sessionStart: void 0, manualTrack: !0 }), _o = (e) => e === Bt || e === St || e === Dt || e === ti, lr = () => Ks(), A2 = (e) => {
|
9202
9202
|
if (cC(e)) {
|
9203
9203
|
const { entries: i, ...n } = Fa;
|
9204
9204
|
return { ...n, entries: { ...i, anonymousId: e } };
|
@@ -9447,7 +9447,7 @@ class b2 {
|
|
9447
9447
|
const d = co[u];
|
9448
9448
|
s.forEach((g) => {
|
9449
9449
|
const f = this.pluginsManager?.invokeSingle("storage.migrate", d, g.engine, this.errorHandler, this.logger);
|
9450
|
-
|
9450
|
+
Zt(f) || g.set(d, f);
|
9451
9451
|
});
|
9452
9452
|
});
|
9453
9453
|
}
|
@@ -9774,7 +9774,7 @@ class b2 {
|
|
9774
9774
|
}
|
9775
9775
|
const C2 = ["BeaconQueue", "CustomConsentManager", "DeviceModeDestinations", "DeviceModeTransformation", "ExternalAnonymousId", "GoogleLinker", "IubendaConsentManager", "KetchConsentManager", "NativeDestinationQueue", "OneTrustConsentManager", "StorageEncryption", "StorageEncryptionLegacy", "StorageMigrator", "XhrQueue"], y2 = (e, i) => {
|
9776
9776
|
const n = Pe(i);
|
9777
|
-
return Ye(n.setCookieDomain) || (n.setCookieDomain = void 0), ["Strict", "Lax", "None"].includes(n.sameSiteCookie) || (n.sameSiteCookie = void 0), n.secureCookie =
|
9777
|
+
return Ye(n.setCookieDomain) || (n.setCookieDomain = void 0), ["Strict", "Lax", "None"].includes(n.sameSiteCookie) || (n.sameSiteCookie = void 0), n.secureCookie = ei(n.secureCookie, e.secureCookie), n.sameDomainCookiesOnly = ei(n.sameDomainCookiesOnly, e.sameDomainCookiesOnly), ["none", "default", "full"].includes(n.uaChTrackLevel) || (n.uaChTrackLevel = void 0), n.integrations = Ai(n.integrations), Array.isArray(n.plugins) || (n.plugins = C2), n.useGlobalIntegrationsConfigInEvents = ei(n.useGlobalIntegrationsConfigInEvents, e.useGlobalIntegrationsConfigInEvents), n.bufferDataPlaneEventsUntilReady = ei(n.bufferDataPlaneEventsUntilReady, e.bufferDataPlaneEventsUntilReady), n.sendAdblockPage = ei(n.sendAdblockPage, e.sendAdblockPage), n.useServerSideCookies = ei(n.useServerSideCookies, e.useServerSideCookies), Ye(n.dataServiceEndpoint) || (n.dataServiceEndpoint = void 0), n.sendAdblockPageOptions = Ai(n.sendAdblockPageOptions), n.loadIntegration = ei(n.loadIntegration, e.loadIntegration), Si(n.storage) ? (n.storage.migrate = ei(n.storage.migrate, e.storage?.migrate), n.storage.cookie = Ai(n.storage.cookie), n.storage.encryption = Ai(n.storage.encryption), n.storage = bs(n.storage)) : n.storage = void 0, n.destinationsQueueOptions = Ai(n.destinationsQueueOptions), n.queueOptions = Ai(n.queueOptions), n.lockIntegrationsVersion = ei(n.lockIntegrationsVersion, e.lockIntegrationsVersion), n.lockPluginsVersion = ei(n.lockPluginsVersion, e.lockPluginsVersion), th(n.dataPlaneEventsBufferTimeout) || (n.dataPlaneEventsBufferTimeout = void 0), n.beaconQueueOptions = Ai(n.beaconQueueOptions), n.preConsent = Ai(n.preConsent), n.sourceConfigurationOverride = Ai(n.sourceConfigurationOverride), lt(e, bs(n));
|
9778
9778
|
}, bu = "dataplaneEventsQueue", Cu = "destinationsEventsQueue", E2 = "transformEvent", I2 = (e, i) => Object.keys(e).filter((n) => e[n] !== !0 || !i[n]).reduce((n, s) => {
|
9779
9779
|
const r = Pe(n);
|
9780
9780
|
return r[s] = e[s], r;
|
@@ -10896,11 +10896,11 @@ const sh = {
|
|
10896
10896
|
setup(e, { expose: i, emit: n }) {
|
10897
10897
|
const s = n, { t: r } = Ge(), u = e, d = Y(!1), g = Y(
|
10898
10898
|
rt.CreditCard
|
10899
|
-
), f = Y(!1), p = Y(!1), y = Y(!1), b = Y(null), O = Gm("CREDIT_CARD"), S =
|
10899
|
+
), f = Y(!1), p = Y(!1), y = Y(!1), b = Y(null), O = Gm("CREDIT_CARD"), S = z(
|
10900
10900
|
() => u.paymentMethods.find(
|
10901
10901
|
(w) => w.name === rt.CreditCard && w.payload
|
10902
10902
|
)
|
10903
|
-
), B =
|
10903
|
+
), B = z(() => {
|
10904
10904
|
const w = u.paymentMethods.find(
|
10905
10905
|
(F) => F.name === rt.Coupon && F.payload
|
10906
10906
|
);
|
@@ -11128,16 +11128,16 @@ const M2 = { class: "text-green" }, N2 = { key: 1 }, H2 = { class: "w-100 d-flex
|
|
11128
11128
|
},
|
11129
11129
|
emits: ["payment:success"],
|
11130
11130
|
setup(e, { emit: i }) {
|
11131
|
-
const n = e, s = i, { t: r } = Ge(), { bookingApiClient: u } = ji(), { eventBus: d } = Xi(), g = Y(null), f = Y(""), p = Y(null), y = Y(null), b = Y(null), O = Y(!1), S = Y(!1), B = Y(!1), k = Y(!1), P = Y(!1), Q = Y(null), V =
|
11131
|
+
const n = e, s = i, { t: r } = Ge(), { bookingApiClient: u } = ji(), { eventBus: d } = Xi(), g = Y(null), f = Y(""), p = Y(null), y = Y(null), b = Y(null), O = Y(!1), S = Y(!1), B = Y(!1), k = Y(!1), P = Y(!1), Q = Y(null), V = z(
|
11132
11132
|
() => g.value?.payLater === Qa.Forced
|
11133
|
-
), w =
|
11133
|
+
), w = z(
|
11134
11134
|
() => g.value?.payLater && [
|
11135
11135
|
Qa.Enabled,
|
11136
11136
|
Qa.Forced
|
11137
11137
|
].includes(g.value?.payLater)
|
11138
|
-
), F =
|
11138
|
+
), F = z(
|
11139
11139
|
() => Zm(g.value?.paymentMethods ?? [], "name")
|
11140
|
-
), E =
|
11140
|
+
), E = z(() => F.value[rt.CreditCard] && F.value[rt.CreditCard].payload ? F.value[rt.CreditCard].payload : null);
|
11141
11141
|
async function H() {
|
11142
11142
|
try {
|
11143
11143
|
if (F.value[rt.Coupon]?.payload?.amount === g.value?.taxIncludedPrice) {
|
@@ -11454,7 +11454,7 @@ const M2 = { class: "text-green" }, N2 = { key: 1 }, H2 = { class: "w-100 d-flex
|
|
11454
11454
|
})
|
11455
11455
|
]),
|
11456
11456
|
_: 1
|
11457
|
-
})) : (C(), N(
|
11457
|
+
})) : (C(), N(jt, {
|
11458
11458
|
key: 3,
|
11459
11459
|
"min-height": "200px"
|
11460
11460
|
}, {
|
@@ -12155,11 +12155,11 @@ const Bs = {
|
|
12155
12155
|
width: {}
|
12156
12156
|
},
|
12157
12157
|
setup(e) {
|
12158
|
-
const i = e, n =
|
12158
|
+
const i = e, n = z(() => ({
|
12159
12159
|
borderBottomLeftRadius: "0px",
|
12160
12160
|
borderTopLeftRadius: "0px",
|
12161
12161
|
borderTopRightRadius: "0px"
|
12162
|
-
})), s =
|
12162
|
+
})), s = z(() => Br(i.hotelImages || []));
|
12163
12163
|
return (r, u) => (C(), N(I(Or), {
|
12164
12164
|
clickable: "",
|
12165
12165
|
height: r.height,
|
@@ -12168,7 +12168,7 @@ const Bs = {
|
|
12168
12168
|
lazy: 2,
|
12169
12169
|
limit: 15,
|
12170
12170
|
rounded: "",
|
12171
|
-
style:
|
12171
|
+
style: Yt(n.value),
|
12172
12172
|
width: r.width
|
12173
12173
|
}, null, 8, ["height", "image-urls", "is-loading", "style", "width"]));
|
12174
12174
|
}
|
@@ -12724,7 +12724,7 @@ const Bs = {
|
|
12724
12724
|
const { t: i } = Ge();
|
12725
12725
|
return (n, s) => (C(), W("div", Z2, [
|
12726
12726
|
l(Ar, { boilerplate: "" }),
|
12727
|
-
l(I(
|
12727
|
+
l(I(jt), null, {
|
12728
12728
|
title: c(() => [
|
12729
12729
|
q(T(I(i)("HotelDescriptionViewError.internalError.title")), 1)
|
12730
12730
|
]),
|
@@ -12813,11 +12813,11 @@ const Yr = {
|
|
12813
12813
|
__name: "HotelDescriptionView",
|
12814
12814
|
props: j2,
|
12815
12815
|
setup(e) {
|
12816
|
-
const { locale: i, t: n } = Ge(), { eventBus: s } = Xi(), { config: r } = bn(), { bookingApiClient: u } = ji(), d = e, g = Y(null), f = Y(null), p = Y(!1), y = Y(!1), b = Y(null), O =
|
12816
|
+
const { locale: i, t: n } = Ge(), { eventBus: s } = Xi(), { config: r } = bn(), { bookingApiClient: u } = ji(), d = e, g = Y(null), f = Y(null), p = Y(!1), y = Y(!1), b = Y(null), O = Wt({
|
12817
12817
|
cb: (E) => Er(E, "hotelRoomOfferList"),
|
12818
12818
|
fallbackValue: Yr,
|
12819
|
-
prop:
|
12820
|
-
}), S =
|
12819
|
+
prop: z(() => d.features)
|
12820
|
+
}), S = z(() => {
|
12821
12821
|
if (f.value && f.value.amenities) {
|
12822
12822
|
const E = f.value.amenities;
|
12823
12823
|
return Object.keys(E).filter((H) => E[H]).sort(
|
@@ -12825,7 +12825,7 @@ const Yr = {
|
|
12825
12825
|
);
|
12826
12826
|
}
|
12827
12827
|
return null;
|
12828
|
-
}), B =
|
12828
|
+
}), B = z(() => Br(f.value?.hotelImages)), k = z(() => {
|
12829
12829
|
if (f.value?.address) {
|
12830
12830
|
const E = f.value.address.split(" ").join("+");
|
12831
12831
|
return {
|
@@ -12834,7 +12834,7 @@ const Yr = {
|
|
12834
12834
|
};
|
12835
12835
|
}
|
12836
12836
|
return null;
|
12837
|
-
}), P =
|
12837
|
+
}), P = z(() => f.value?.venues);
|
12838
12838
|
async function Q() {
|
12839
12839
|
try {
|
12840
12840
|
if (!f.value)
|
@@ -14138,7 +14138,75 @@ function wu(e) {
|
|
14138
14138
|
});
|
14139
14139
|
}
|
14140
14140
|
typeof wu == "function" && wu(uh);
|
14141
|
-
const ch = /* @__PURE__ */ xe(uh, [["__scopeId", "data-v-8cebdd9e"]]),
|
14141
|
+
const ch = /* @__PURE__ */ xe(uh, [["__scopeId", "data-v-8cebdd9e"]]), Pk = /* @__PURE__ */ ce({
|
14142
|
+
__name: "HotelRoomOfferBasketUI",
|
14143
|
+
props: /* @__PURE__ */ sn({
|
14144
|
+
adultCount: {},
|
14145
|
+
basketContent: {},
|
14146
|
+
checkInDate: {},
|
14147
|
+
checkOutDate: {},
|
14148
|
+
currency: {},
|
14149
|
+
hotelId: {},
|
14150
|
+
hotelRoomOffers: {},
|
14151
|
+
hotelTimezone: {},
|
14152
|
+
isBookingPoliciesSuccessful: { type: Boolean },
|
14153
|
+
isLoading: { type: Boolean }
|
14154
|
+
}, {
|
14155
|
+
modelValue: {},
|
14156
|
+
modelModifiers: {}
|
14157
|
+
}),
|
14158
|
+
emits: /* @__PURE__ */ sn(["breakfast-change", "delete-room", "submit"], ["update:modelValue"]),
|
14159
|
+
setup(e) {
|
14160
|
+
const i = Cr(e, "modelValue");
|
14161
|
+
return (n, s) => (C(), N(X, { "no-gutters": "" }, {
|
14162
|
+
default: c(() => [
|
14163
|
+
l(x, {
|
14164
|
+
cols: "12",
|
14165
|
+
md: "8"
|
14166
|
+
}, {
|
14167
|
+
default: c(() => [
|
14168
|
+
n.hotelRoomOffers?.length && n.basketContent.length ? (C(!0), W(ae, { key: 0 }, qe(n.hotelRoomOffers, (r, u) => (C(), W(ae, null, [
|
14169
|
+
u > 0 ? (C(), N(Qe, { key: 0 })) : j("", !0),
|
14170
|
+
ie(n.$slots, "hotel-room-offer-item", {
|
14171
|
+
offer: r,
|
14172
|
+
index: u
|
14173
|
+
})
|
14174
|
+
], 64))), 256)) : j("", !0)
|
14175
|
+
]),
|
14176
|
+
_: 3
|
14177
|
+
}),
|
14178
|
+
l(Qe, {
|
14179
|
+
class: "d-none d-md-block",
|
14180
|
+
vertical: ""
|
14181
|
+
}),
|
14182
|
+
l(x, {
|
14183
|
+
class: "mt-3 ml-n1",
|
14184
|
+
cols: "12",
|
14185
|
+
md: "4"
|
14186
|
+
}, {
|
14187
|
+
default: c(() => [
|
14188
|
+
l(Qe, { class: "d-block d-md-none my-2" }),
|
14189
|
+
l(gm, se(i.value, {
|
14190
|
+
"adult-count": n.adultCount,
|
14191
|
+
"check-in-date": n.checkInDate,
|
14192
|
+
"check-out-date": n.checkOutDate,
|
14193
|
+
currency: n.currency,
|
14194
|
+
"hotel-room-offer": i.value?.hotelRoomOffer,
|
14195
|
+
"hotel-timezone": n.hotelTimezone,
|
14196
|
+
"is-loading": n.isLoading,
|
14197
|
+
"is-successful": n.isBookingPoliciesSuccessful,
|
14198
|
+
onBreakfastChange: s[0] || (s[0] = (r) => n.$emit("breakfast-change", r)),
|
14199
|
+
onDeleteRoom: s[1] || (s[1] = (r) => n.$emit("delete-room", r)),
|
14200
|
+
onSubmit: s[2] || (s[2] = (r) => n.$emit("submit"))
|
14201
|
+
}), null, 16, ["adult-count", "check-in-date", "check-out-date", "currency", "hotel-room-offer", "hotel-timezone", "is-loading", "is-successful"])
|
14202
|
+
]),
|
14203
|
+
_: 1
|
14204
|
+
})
|
14205
|
+
]),
|
14206
|
+
_: 3
|
14207
|
+
}));
|
14208
|
+
}
|
14209
|
+
}), Wr = /* @__PURE__ */ ce({
|
14142
14210
|
__name: "HotelRoomOfferItemLayout",
|
14143
14211
|
setup(e) {
|
14144
14212
|
const i = Y(null), { $isCurrentBreakpointBelow: n } = Wi(i);
|
@@ -14238,7 +14306,7 @@ const ch = /* @__PURE__ */ xe(uh, [["__scopeId", "data-v-8cebdd9e"]]), Wr = /* @
|
|
14238
14306
|
_: 3
|
14239
14307
|
}));
|
14240
14308
|
}
|
14241
|
-
}),
|
14309
|
+
}), Sk = {
|
14242
14310
|
adultCount: {
|
14243
14311
|
type: Number
|
14244
14312
|
},
|
@@ -14291,22 +14359,22 @@ const ch = /* @__PURE__ */ xe(uh, [["__scopeId", "data-v-8cebdd9e"]]), Wr = /* @
|
|
14291
14359
|
tags: { type: Array },
|
14292
14360
|
taxIncludedPrice: { required: !0, type: Number },
|
14293
14361
|
type: { type: String }
|
14294
|
-
},
|
14362
|
+
}, Rk = { key: 0 }, Qk = {
|
14295
14363
|
class: "align-self-center d-flex flex-wrap",
|
14296
14364
|
style: { gap: "0.3em" }
|
14297
|
-
},
|
14365
|
+
}, Ok = {
|
14298
14366
|
class: "align-self-center d-inline-flex flex-wrap",
|
14299
14367
|
style: { gap: "0.3em" }
|
14300
|
-
},
|
14368
|
+
}, Dk = { class: "text-caption" }, Tk = { key: 0 }, Lk = { key: 1 }, dh = /* @__PURE__ */ ce({
|
14301
14369
|
__name: "HotelRoomOfferItem",
|
14302
|
-
props:
|
14370
|
+
props: Sk,
|
14303
14371
|
emits: ["breakfast-change", "create-booking-policy", "update:modelValue", "booking-policy-failed"],
|
14304
14372
|
setup(e, { emit: i }) {
|
14305
|
-
const n = e, { t: s } = Ge(), { eventBus: r } = Xi(), u = i, d =
|
14373
|
+
const n = e, { t: s } = Ge(), { eventBus: r } = Xi(), u = i, d = z(
|
14306
14374
|
() => n.bookingPolicyState === xi.BookingPoliciesFetched
|
14307
|
-
), g =
|
14375
|
+
), g = z(
|
14308
14376
|
() => n.bookingPolicyState === xi.Unavailable
|
14309
|
-
), f =
|
14377
|
+
), f = z(
|
14310
14378
|
() => n.bookingPolicyState === xi.FetchingBookingPolicies
|
14311
14379
|
), p = Y(
|
14312
14380
|
n.breakfastCount && n.breakfastCount > 0 || !1
|
@@ -14318,9 +14386,9 @@ const ch = /* @__PURE__ */ xe(uh, [["__scopeId", "data-v-8cebdd9e"]]), Wr = /* @
|
|
14318
14386
|
id: n.id
|
14319
14387
|
});
|
14320
14388
|
});
|
14321
|
-
const y =
|
14322
|
-
() => n.count ?
|
14323
|
-
), b =
|
14389
|
+
const y = z(
|
14390
|
+
() => n.count ? mm(n.count + 1) : []
|
14391
|
+
), b = z(() => {
|
14324
14392
|
switch (n.packageType) {
|
14325
14393
|
case jo.Cheapest:
|
14326
14394
|
return "red";
|
@@ -14332,18 +14400,18 @@ const ch = /* @__PURE__ */ xe(uh, [["__scopeId", "data-v-8cebdd9e"]]), Wr = /* @
|
|
14332
14400
|
default:
|
14333
14401
|
return "";
|
14334
14402
|
}
|
14335
|
-
}), O =
|
14403
|
+
}), O = z(
|
14336
14404
|
() => n.hotelRooms.reduce((w, F) => w + (F.count || 0), 0)
|
14337
|
-
), S =
|
14405
|
+
), S = z({
|
14338
14406
|
get() {
|
14339
14407
|
return n.modelValue;
|
14340
14408
|
},
|
14341
14409
|
set(w) {
|
14342
14410
|
u("update:modelValue", w);
|
14343
14411
|
}
|
14344
|
-
}), B =
|
14412
|
+
}), B = z(
|
14345
14413
|
() => n.tags?.filter((w) => w.name.length > 30) || []
|
14346
|
-
), k =
|
14414
|
+
), k = z(
|
14347
14415
|
() => n.tags?.filter((w) => w.name.length < 30) || []
|
14348
14416
|
);
|
14349
14417
|
function P() {
|
@@ -14407,8 +14475,8 @@ const ch = /* @__PURE__ */ xe(uh, [["__scopeId", "data-v-8cebdd9e"]]), Wr = /* @
|
|
14407
14475
|
}, null, 8, ["breakfast-option", "breakfastCount"])
|
14408
14476
|
]),
|
14409
14477
|
"breakfast-option-switch": c(() => [
|
14410
|
-
w.type !== "HOTEL_ROOM" && w.breakfastOption === "OPTIONAL" ? (C(), W("div",
|
14411
|
-
l(I(
|
14478
|
+
w.type !== "HOTEL_ROOM" && w.breakfastOption === "OPTIONAL" ? (C(), W("div", Rk, [
|
14479
|
+
l(I(pm), {
|
14412
14480
|
modelValue: p.value,
|
14413
14481
|
"onUpdate:modelValue": F[0] || (F[0] = (E) => p.value = E),
|
14414
14482
|
class: "mt-3 pl-1",
|
@@ -14419,7 +14487,7 @@ const ch = /* @__PURE__ */ xe(uh, [["__scopeId", "data-v-8cebdd9e"]]), Wr = /* @
|
|
14419
14487
|
])) : j("", !0)
|
14420
14488
|
]),
|
14421
14489
|
"big-tags": c(() => [
|
14422
|
-
D("div",
|
14490
|
+
D("div", Qk, [
|
14423
14491
|
(C(!0), W(ae, null, qe(B.value, (E, H) => (C(), N(I(mo), {
|
14424
14492
|
key: H,
|
14425
14493
|
color: E.bg,
|
@@ -14435,7 +14503,7 @@ const ch = /* @__PURE__ */ xe(uh, [["__scopeId", "data-v-8cebdd9e"]]), Wr = /* @
|
|
14435
14503
|
])
|
14436
14504
|
]),
|
14437
14505
|
tags: c(() => [
|
14438
|
-
D("div",
|
14506
|
+
D("div", Ok, [
|
14439
14507
|
(C(!0), W(ae, null, qe(k.value, (E, H) => (C(), N(I(mo), {
|
14440
14508
|
key: H,
|
14441
14509
|
color: E.bg,
|
@@ -14500,7 +14568,7 @@ const ch = /* @__PURE__ */ xe(uh, [["__scopeId", "data-v-8cebdd9e"]]), Wr = /* @
|
|
14500
14568
|
item: c(({ item: E, props: H }) => [
|
14501
14569
|
l(Ya, vo(bo(H)), {
|
14502
14570
|
title: c(() => [
|
14503
|
-
D("span",
|
14571
|
+
D("span", Dk, [
|
14504
14572
|
q(T(E.raw) + " ", 1),
|
14505
14573
|
E.raw ? (C(), W(ae, { key: 0 }, [
|
14506
14574
|
F[2] || (F[2] = q(" (", -1)),
|
@@ -14550,7 +14618,7 @@ const ch = /* @__PURE__ */ xe(uh, [["__scopeId", "data-v-8cebdd9e"]]), Wr = /* @
|
|
14550
14618
|
onClick: P
|
14551
14619
|
}, {
|
14552
14620
|
default: c(() => [
|
14553
|
-
d.value ? j("", !0) : (C(), W("span",
|
14621
|
+
d.value ? j("", !0) : (C(), W("span", Tk, T(I(s)("HotelRoomOfferItem.book")), 1)),
|
14554
14622
|
gt(l(be, { class: "position-absolute" }, {
|
14555
14623
|
default: c(() => [...F[4] || (F[4] = [
|
14556
14624
|
q(" fas fa-check ", -1)
|
@@ -14561,7 +14629,7 @@ const ch = /* @__PURE__ */ xe(uh, [["__scopeId", "data-v-8cebdd9e"]]), Wr = /* @
|
|
14561
14629
|
])
|
14562
14630
|
]),
|
14563
14631
|
_: 1
|
14564
|
-
}, 8, ["color", "disabled", "loading"])) : (C(), W("span",
|
14632
|
+
}, 8, ["color", "disabled", "loading"])) : (C(), W("span", Lk))
|
14565
14633
|
]),
|
14566
14634
|
_: 1
|
14567
14635
|
}),
|
@@ -14581,7 +14649,7 @@ const ch = /* @__PURE__ */ xe(uh, [["__scopeId", "data-v-8cebdd9e"]]), Wr = /* @
|
|
14581
14649
|
]),
|
14582
14650
|
_: 1
|
14583
14651
|
})) : j("", !0),
|
14584
|
-
g.value || w.gone ? (C(), N(I(
|
14652
|
+
g.value || w.gone ? (C(), N(I(jt), {
|
14585
14653
|
key: 1,
|
14586
14654
|
"margin-top": 16
|
14587
14655
|
}, {
|
@@ -14766,75 +14834,7 @@ function Pu(e) {
|
|
14766
14834
|
});
|
14767
14835
|
}
|
14768
14836
|
typeof Pu == "function" && Pu(dh);
|
14769
|
-
const hh = /* @__PURE__ */ xe(dh, [["__scopeId", "data-v-65c20c4f"]]),
|
14770
|
-
__name: "HotelRoomOfferBasketUI",
|
14771
|
-
props: /* @__PURE__ */ sn({
|
14772
|
-
adultCount: {},
|
14773
|
-
basketContent: {},
|
14774
|
-
checkInDate: {},
|
14775
|
-
checkOutDate: {},
|
14776
|
-
currency: {},
|
14777
|
-
hotelId: {},
|
14778
|
-
hotelRoomOffers: {},
|
14779
|
-
hotelTimezone: {},
|
14780
|
-
isBookingPoliciesSuccessful: { type: Boolean },
|
14781
|
-
isLoading: { type: Boolean }
|
14782
|
-
}, {
|
14783
|
-
modelValue: {},
|
14784
|
-
modelModifiers: {}
|
14785
|
-
}),
|
14786
|
-
emits: /* @__PURE__ */ sn(["breakfast-change", "delete-room", "submit"], ["update:modelValue"]),
|
14787
|
-
setup(e) {
|
14788
|
-
const i = Cr(e, "modelValue");
|
14789
|
-
return (n, s) => (C(), N(X, { "no-gutters": "" }, {
|
14790
|
-
default: c(() => [
|
14791
|
-
l(x, {
|
14792
|
-
cols: "12",
|
14793
|
-
md: "8"
|
14794
|
-
}, {
|
14795
|
-
default: c(() => [
|
14796
|
-
n.hotelRoomOffers?.length && n.basketContent.length ? (C(!0), W(ae, { key: 0 }, qe(n.hotelRoomOffers, (r, u) => (C(), W(ae, null, [
|
14797
|
-
u > 0 ? (C(), N(Qe, { key: 0 })) : j("", !0),
|
14798
|
-
ie(n.$slots, "hotel-room-offer-item", {
|
14799
|
-
offer: r,
|
14800
|
-
index: u
|
14801
|
-
})
|
14802
|
-
], 64))), 256)) : j("", !0)
|
14803
|
-
]),
|
14804
|
-
_: 3
|
14805
|
-
}),
|
14806
|
-
l(Qe, {
|
14807
|
-
class: "d-none d-md-block",
|
14808
|
-
vertical: ""
|
14809
|
-
}),
|
14810
|
-
l(x, {
|
14811
|
-
class: "mt-3 ml-n1",
|
14812
|
-
cols: "12",
|
14813
|
-
md: "4"
|
14814
|
-
}, {
|
14815
|
-
default: c(() => [
|
14816
|
-
l(Qe, { class: "d-block d-md-none my-2" }),
|
14817
|
-
l(pm, se(i.value, {
|
14818
|
-
"adult-count": n.adultCount,
|
14819
|
-
"check-in-date": n.checkInDate,
|
14820
|
-
"check-out-date": n.checkOutDate,
|
14821
|
-
currency: n.currency,
|
14822
|
-
"hotel-room-offer": i.value,
|
14823
|
-
"hotel-timezone": n.hotelTimezone,
|
14824
|
-
"is-loading": n.isLoading,
|
14825
|
-
"is-successful": n.isBookingPoliciesSuccessful,
|
14826
|
-
onBreakfastChange: s[0] || (s[0] = (r) => n.$emit("breakfast-change", r)),
|
14827
|
-
onDeleteRoom: s[1] || (s[1] = (r) => n.$emit("delete-room", r)),
|
14828
|
-
onSubmit: s[2] || (s[2] = (r) => n.$emit("submit"))
|
14829
|
-
}), null, 16, ["adult-count", "check-in-date", "check-out-date", "currency", "hotel-room-offer", "hotel-timezone", "is-loading", "is-successful"])
|
14830
|
-
]),
|
14831
|
-
_: 1
|
14832
|
-
})
|
14833
|
-
]),
|
14834
|
-
_: 3
|
14835
|
-
}));
|
14836
|
-
}
|
14837
|
-
}), Fk = /* @__PURE__ */ ce({
|
14837
|
+
const hh = /* @__PURE__ */ xe(dh, [["__scopeId", "data-v-65c20c4f"]]), Fk = /* @__PURE__ */ ce({
|
14838
14838
|
__name: "HotelRoomOfferBasket",
|
14839
14839
|
props: {
|
14840
14840
|
hotelId: {}
|
@@ -14843,13 +14843,13 @@ const hh = /* @__PURE__ */ xe(dh, [["__scopeId", "data-v-65c20c4f"]]), Lk = /* @
|
|
14843
14843
|
const { config: i } = bn(), { bookingApiClient: n } = ji(), { createBookingPolicy: s, getBookingPolicyState: r } = Fc(), u = e, { hotelRoomOfferRequest: d, nightCount: g } = _i(), {
|
14844
14844
|
hotelRoomOffers: f,
|
14845
14845
|
hotelTimezone: p
|
14846
|
-
} = cn(), y =
|
14846
|
+
} = cn(), y = z(
|
14847
14847
|
() => d(u.hotelId)
|
14848
|
-
), b =
|
14848
|
+
), b = z(
|
14849
14849
|
() => f(u.hotelId).offers?.filter(
|
14850
14850
|
(K) => K.type === ms.HotelRoom
|
14851
14851
|
)
|
14852
|
-
), O =
|
14852
|
+
), O = z(() => p(u.hotelId)), S = z(() => y.value.adultCount), B = z(() => y.value.checkInDate), k = z(() => y.value.checkOutDate), P = z(() => g(u.hotelId)), Q = Y(!1), V = Y([]), w = Y(!1), F = Y(void 0);
|
14853
14853
|
async function E() {
|
14854
14854
|
w.value = !0;
|
14855
14855
|
const K = V.value.map((Z) => ({
|
@@ -14905,7 +14905,7 @@ const hh = /* @__PURE__ */ xe(dh, [["__scopeId", "data-v-65c20c4f"]]), Lk = /* @
|
|
14905
14905
|
})));
|
14906
14906
|
},
|
14907
14907
|
{ immediate: !0 }
|
14908
|
-
), (K, Z) => (C(), N(
|
14908
|
+
), (K, Z) => (C(), N(Pk, {
|
14909
14909
|
modelValue: F.value,
|
14910
14910
|
"onUpdate:modelValue": Z[0] || (Z[0] = (_) => F.value = _),
|
14911
14911
|
"adult-count": S.value,
|
@@ -14941,7 +14941,7 @@ const hh = /* @__PURE__ */ xe(dh, [["__scopeId", "data-v-65c20c4f"]]), Lk = /* @
|
|
14941
14941
|
_: 1
|
14942
14942
|
}, 8, ["modelValue", "adult-count", "check-in-date", "check-out-date", "hotel-id", "night-count", "basket-content", "currency", "hotel-timezone", "hotel-room-offers", "is-loading"]));
|
14943
14943
|
}
|
14944
|
-
}), zk = /* @__PURE__ */ xe(Fk, [["__scopeId", "data-v-
|
14944
|
+
}), zk = /* @__PURE__ */ xe(Fk, [["__scopeId", "data-v-ac6ac87b"]]), fh = /* @__PURE__ */ ce({
|
14945
14945
|
__name: "HotelRoomOfferListEmpty",
|
14946
14946
|
props: {
|
14947
14947
|
boilerplateSkeleton: { type: Boolean, default: !1 },
|
@@ -14957,7 +14957,7 @@ const hh = /* @__PURE__ */ xe(dh, [["__scopeId", "data-v-65c20c4f"]]), Lk = /* @
|
|
14957
14957
|
class: ot({ "mt-0": r === 1, "mb-0": r === 3 })
|
14958
14958
|
}, null, 8, ["class"])
|
14959
14959
|
], 64))), 128)),
|
14960
|
-
n.type ? (C(), N(
|
14960
|
+
n.type ? (C(), N(jt, {
|
14961
14961
|
key: 0,
|
14962
14962
|
"z-index": 50
|
14963
14963
|
}, {
|
@@ -15153,7 +15153,7 @@ function mh(e) {
|
|
15153
15153
|
hotelId: e.hotelId,
|
15154
15154
|
roomCount: e.roomCount,
|
15155
15155
|
sourceMarket: e.sourceMarket
|
15156
|
-
}), r =
|
15156
|
+
}), r = z(
|
15157
15157
|
() => i.hotelRoomOfferRequest(e.hotelId)
|
15158
15158
|
), u = Po(
|
15159
15159
|
async function() {
|
@@ -15268,7 +15268,7 @@ function mh(e) {
|
|
15268
15268
|
}
|
15269
15269
|
const ph = ce({
|
15270
15270
|
components: {
|
15271
|
-
BErrorOverlay:
|
15271
|
+
BErrorOverlay: jt,
|
15272
15272
|
HotelRoomOfferBasket: zk,
|
15273
15273
|
HotelRoomOfferItem: hh,
|
15274
15274
|
HotelRoomOfferItemLayout: Wr,
|
@@ -15278,27 +15278,27 @@ const ph = ce({
|
|
15278
15278
|
props: gh,
|
15279
15279
|
// eslint-disable-next-line max-lines-per-function
|
15280
15280
|
setup(e) {
|
15281
|
-
const { t: i } = Ge(), n = cn(), s = _i(), { createBookingPolicy: r, getBookingPolicyState: u } = Fc(), d = Y(null), g = Y(["packageHotelRoomOffers", "hotelRoomHotelRoomOffers"]), f =
|
15281
|
+
const { t: i } = Ge(), n = cn(), s = _i(), { createBookingPolicy: r, getBookingPolicyState: u } = Fc(), d = Y(null), g = Y(["packageHotelRoomOffers", "hotelRoomHotelRoomOffers"]), f = Wt({
|
15282
15282
|
fallbackValue: Zr,
|
15283
|
-
prop:
|
15284
|
-
}), p = (ee) => ee.hotelRooms.reduce((K, Z) => K + Z.count, 0), y =
|
15283
|
+
prop: z(() => e.features)
|
15284
|
+
}), p = (ee) => ee.hotelRooms.reduce((K, Z) => K + Z.count, 0), y = z(() => s.hotelRoomOfferRequest(e.hotelId)), b = z(
|
15285
15285
|
() => n.hotelRoomOffers(e.hotelId)
|
15286
|
-
), O =
|
15286
|
+
), O = z(
|
15287
15287
|
() => !!(y.value?.hasError || b.value?.hasError)
|
15288
|
-
), S =
|
15288
|
+
), S = z(
|
15289
15289
|
() => n.hotelTimezone(e.hotelId)
|
15290
|
-
), B =
|
15290
|
+
), B = z(
|
15291
15291
|
() => b.value?.offers?.filter(
|
15292
15292
|
(ee) => ee.type === ms.HotelRoom
|
15293
15293
|
) || []
|
15294
|
-
), k =
|
15294
|
+
), k = z(() => {
|
15295
15295
|
const ee = b.value?.offers?.filter(
|
15296
15296
|
(K) => K.type === ms.Package
|
15297
15297
|
).filter((K) => f.value?.OnlyMatchingRoomCount ? p(K) === y.value?.roomCount : !0);
|
15298
15298
|
return ee?.slice(0, e.limit || ee.length) || [];
|
15299
|
-
}), P =
|
15299
|
+
}), P = z(
|
15300
15300
|
() => !!b.value?.isPolling && !!k.value?.length
|
15301
|
-
), Q =
|
15301
|
+
), Q = z(
|
15302
15302
|
() => !y.value?.id || (!!y.value?.isFetching || !!b.value?.isPolling) && !k.value?.length
|
15303
15303
|
), V = async ({
|
15304
15304
|
addBreakfast: ee,
|
@@ -15766,7 +15766,7 @@ const bh = ce({
|
|
15766
15766
|
}),
|
15767
15767
|
emits: ["update:modelValue"],
|
15768
15768
|
setup(e) {
|
15769
|
-
const i = Cr(e, "modelValue"), n =
|
15769
|
+
const i = Cr(e, "modelValue"), n = z({
|
15770
15770
|
get() {
|
15771
15771
|
return qi(
|
15772
15772
|
i.value?.checkInDate ?? "",
|
@@ -15783,7 +15783,7 @@ const bh = ce({
|
|
15783
15783
|
});
|
15784
15784
|
}
|
15785
15785
|
}
|
15786
|
-
}), s =
|
15786
|
+
}), s = z({
|
15787
15787
|
get() {
|
15788
15788
|
return {
|
15789
15789
|
adultCount: i.value?.adultCount ?? 0,
|
@@ -15927,9 +15927,9 @@ const qk = /* @__PURE__ */ xe(Vk, [["render", Kk]]), Jr = {
|
|
15927
15927
|
setup(e) {
|
15928
15928
|
const i = e;
|
15929
15929
|
mh(i);
|
15930
|
-
const n =
|
15930
|
+
const n = Wt({
|
15931
15931
|
fallbackValue: Jr,
|
15932
|
-
prop:
|
15932
|
+
prop: z(() => i.features)
|
15933
15933
|
});
|
15934
15934
|
return (s, r) => (C(), W("div", null, [
|
15935
15935
|
s.isBookingApiClientDefined ? (C(), N(X, {
|
@@ -16009,34 +16009,34 @@ const qk = /* @__PURE__ */ xe(Vk, [["render", Kk]]), Jr = {
|
|
16009
16009
|
},
|
16010
16010
|
emits: ["visible"],
|
16011
16011
|
setup(e, { emit: i }) {
|
16012
|
-
const n = i, s = e, { t: r } = Ge(), u = Y(!1), d = Y(!1), g = Y(!1), f = Fs(), p =
|
16012
|
+
const n = i, s = e, { t: r } = Ge(), u = Y(!1), d = Y(!1), g = Y(!1), f = Fs(), p = z(
|
16013
16013
|
() => $e(s.checkOutDate).diff($e(s.checkInDate), "day")
|
16014
|
-
), y =
|
16014
|
+
), y = z(
|
16015
16015
|
() => s.hotelOffer?.tags?.filter((Z) => Z.name.length > 30) || []
|
16016
|
-
), b =
|
16016
|
+
), b = z(() => {
|
16017
16017
|
if (s.features?.[ft.HotelRoomOffersViewDialog])
|
16018
16018
|
return "hotel-room-offers-view";
|
16019
16019
|
if (s.features?.[ft.HotelDescriptionViewDialog])
|
16020
16020
|
return "hotel-description-view";
|
16021
|
-
}), O =
|
16021
|
+
}), O = z(
|
16022
16022
|
() => s.hotelOffer.distance ? Math.round(s.hotelOffer.distance / 1e3 * 100) / 100 : 0
|
16023
|
-
), S =
|
16023
|
+
), S = z(() => s.hotelOffer.id), B = z(() => f.$state), k = z(
|
16024
16024
|
() => s.hotelOffer.hotelRoomOffers[0]
|
16025
|
-
), P =
|
16025
|
+
), P = z(
|
16026
16026
|
() => Rc({
|
16027
16027
|
bookingDatetime: $e().format(),
|
16028
16028
|
cancellationPolicies: k.value.cancellationPolicies,
|
16029
16029
|
checkInDate: s.checkInDate,
|
16030
16030
|
timezone: s.hotelOffer.timezone
|
16031
16031
|
}) === 0
|
16032
|
-
), Q =
|
16032
|
+
), Q = z(
|
16033
16033
|
() => k.value?.hotelRooms.reduce(
|
16034
16034
|
(Z, _) => Z + (_.count || 0),
|
16035
16035
|
0
|
16036
16036
|
) || 0
|
16037
|
-
), V =
|
16037
|
+
), V = z(
|
16038
16038
|
() => s.hotelOffer?.tags?.filter((Z) => Z.name.length <= 30) || []
|
16039
|
-
), w =
|
16039
|
+
), w = z(() => s.hotelOffer?.venues);
|
16040
16040
|
function F() {
|
16041
16041
|
window.RevolugoElements.eventBus.$emit(
|
16042
16042
|
Ee.HotelOffersItemClick,
|
@@ -16060,7 +16060,7 @@ const qk = /* @__PURE__ */ xe(Vk, [["render", Kk]]), Jr = {
|
|
16060
16060
|
}, 350);
|
16061
16061
|
});
|
16062
16062
|
});
|
16063
|
-
const H =
|
16063
|
+
const H = z(
|
16064
16064
|
() => k.value?.hotelRooms
|
16065
16065
|
), G = Y(null), { $breakpointService: ee } = Wi(G), { $dialogAttach: K } = ym(G);
|
16066
16066
|
return (Z, _) => (C(), N(Us, {
|
@@ -16252,7 +16252,7 @@ const qk = /* @__PURE__ */ xe(Vk, [["render", Kk]]), Jr = {
|
|
16252
16252
|
]),
|
16253
16253
|
footer: c(() => [
|
16254
16254
|
D("div", Zk, [
|
16255
|
-
Z.isNoLongerAvail ? (C(), N(I(
|
16255
|
+
Z.isNoLongerAvail ? (C(), N(I(jt), { key: 0 }, {
|
16256
16256
|
title: c(() => [
|
16257
16257
|
q(T(I(r)("HotelOfferItem.noLongerAvailable")), 1)
|
16258
16258
|
]),
|
@@ -16400,7 +16400,7 @@ const Ih = /* @__PURE__ */ xe(Eh, [["__scopeId", "data-v-faba5780"]]), Jk = {
|
|
16400
16400
|
}
|
16401
16401
|
}, kh = ce({
|
16402
16402
|
components: {
|
16403
|
-
BErrorOverlay:
|
16403
|
+
BErrorOverlay: jt,
|
16404
16404
|
ContactForm: nh,
|
16405
16405
|
HotelOfferItemLayout: Us
|
16406
16406
|
},
|
@@ -16724,7 +16724,7 @@ const eB = /* @__PURE__ */ xe(kh, [["render", $k]]), Du = "data:image/png;base64
|
|
16724
16724
|
theme: { default: "light" }
|
16725
16725
|
},
|
16726
16726
|
setup(e) {
|
16727
|
-
const i = e, { t: n } = Ge(), s =
|
16727
|
+
const i = e, { t: n } = Ge(), s = z(() => i.theme === "light" ? {
|
16728
16728
|
APST: aB,
|
16729
16729
|
ATOUT_FRANCE: rB,
|
16730
16730
|
CREDIT_CARD: Du,
|
@@ -17247,7 +17247,7 @@ function wB(e, i, n, s, r, u) {
|
|
17247
17247
|
return C(), N(Wa, {
|
17248
17248
|
ref: "hotel-offer-list-container",
|
17249
17249
|
class: "pa-0 bg-white",
|
17250
|
-
style:
|
17250
|
+
style: Yt([{ "min-height": "500px" }, {
|
17251
17251
|
height: e.parsedHeight,
|
17252
17252
|
maxHeight: e.maxHeight,
|
17253
17253
|
overflowY: "auto",
|
@@ -17734,8 +17734,8 @@ function QB() {
|
|
17734
17734
|
}
|
17735
17735
|
var R = this._listens(t, o, a);
|
17736
17736
|
if (R !== !1) {
|
17737
|
-
var
|
17738
|
-
this._firingCount && (
|
17737
|
+
var M = A[R];
|
17738
|
+
this._firingCount && (M.fn = b, this._events[t] = A = A.slice()), A.splice(R, 1);
|
17739
17739
|
}
|
17740
17740
|
}
|
17741
17741
|
},
|
@@ -17756,8 +17756,8 @@ function QB() {
|
|
17756
17756
|
if (h) {
|
17757
17757
|
this._firingCount = this._firingCount + 1 || 1;
|
17758
17758
|
for (var m = 0, R = h.length; m < R; m++) {
|
17759
|
-
var
|
17760
|
-
|
17759
|
+
var M = h[m], U = M.fn;
|
17760
|
+
M.once && this.off(t, U, M.ctx), U.call(M.ctx || this, A);
|
17761
17761
|
}
|
17762
17762
|
this._firingCount--;
|
17763
17763
|
}
|
@@ -18301,8 +18301,8 @@ function QB() {
|
|
18301
18301
|
var o = t.getCenter(), a = this.wrapLatLng(o), A = o.lat - a.lat, h = o.lng - a.lng;
|
18302
18302
|
if (A === 0 && h === 0)
|
18303
18303
|
return t;
|
18304
|
-
var m = t.getSouthWest(), R = t.getNorthEast(),
|
18305
|
-
return new dt(
|
18304
|
+
var m = t.getSouthWest(), R = t.getNorthEast(), M = new Te(m.lat - A, m.lng - h), U = new Te(R.lat - A, R.lng - h);
|
18305
|
+
return new dt(M, U);
|
18306
18306
|
}
|
18307
18307
|
}, bi = r({}, zt, {
|
18308
18308
|
wrapLng: [-180, 180],
|
@@ -18312,7 +18312,7 @@ function QB() {
|
|
18312
18312
|
R: 6371e3,
|
18313
18313
|
// distance between two geographical points using spherical law of cosines approximation
|
18314
18314
|
distance: function(t, o) {
|
18315
|
-
var a = Math.PI / 180, A = t.lat * a, h = o.lat * a, m = Math.sin((o.lat - t.lat) * a / 2), R = Math.sin((o.lng - t.lng) * a / 2),
|
18315
|
+
var a = Math.PI / 180, A = t.lat * a, h = o.lat * a, m = Math.sin((o.lat - t.lat) * a / 2), R = Math.sin((o.lng - t.lng) * a / 2), M = m * m + Math.cos(A) * Math.cos(h) * R * R, U = 2 * Math.atan2(Math.sqrt(M), Math.sqrt(1 - M));
|
18316
18316
|
return this.R * U;
|
18317
18317
|
}
|
18318
18318
|
}), nl = 6378137, js = {
|
@@ -18382,15 +18382,15 @@ function QB() {
|
|
18382
18382
|
return document.createElementNS("http://www.w3.org/2000/svg", t);
|
18383
18383
|
}
|
18384
18384
|
function al(t, o) {
|
18385
|
-
var a = "", A, h, m, R,
|
18385
|
+
var a = "", A, h, m, R, M, U;
|
18386
18386
|
for (A = 0, m = t.length; A < m; A++) {
|
18387
|
-
for (
|
18388
|
-
U =
|
18387
|
+
for (M = t[A], h = 0, R = M.length; h < R; h++)
|
18388
|
+
U = M[h], a += (h ? "L" : "M") + U.x + " " + U.y;
|
18389
18389
|
a += o ? ue.svg ? "z" : "x" : "";
|
18390
18390
|
}
|
18391
18391
|
return a || "M0 0";
|
18392
18392
|
}
|
18393
|
-
var _s = document.documentElement.style, kn = "ActiveXObject" in window, Af = kn && !document.addEventListener, rl = "msLaunchUri" in navigator && !("documentMode" in document), $s =
|
18393
|
+
var _s = document.documentElement.style, kn = "ActiveXObject" in window, Af = kn && !document.addEventListener, rl = "msLaunchUri" in navigator && !("documentMode" in document), $s = Jt("webkit"), ll = Jt("android"), Al = Jt("android 2") || Jt("android 3"), uf = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), cf = ll && Jt("Google") && uf < 537 && !("AudioNode" in window), ea = !!window.opera, ul = !rl && Jt("chrome"), cl = Jt("gecko") && !$s && !ea && !kn, df = !ul && Jt("safari"), dl = Jt("phantom"), hl = "OTransition" in _s, hf = navigator.platform.indexOf("Win") === 0, fl = kn && "transition" in _s, ta = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !Al, gl = "MozPerspective" in _s, ff = !window.L_DISABLE_3D && (fl || ta || gl) && !hl && !dl, To = typeof orientation < "u" || Jt("mobile"), gf = To && $s, mf = To && ta, ml = !window.PointerEvent && window.MSPointerEvent, pl = !!(window.PointerEvent || ml), vl = "ontouchstart" in window || !!window.TouchEvent, pf = !window.L_NO_TOUCH && (vl || pl), vf = To && ea, bf = To && cl, Cf = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, yf = (function() {
|
18394
18394
|
var t = !1;
|
18395
18395
|
try {
|
18396
18396
|
var o = Object.defineProperty({}, "passive", {
|
@@ -18417,7 +18417,7 @@ function QB() {
|
|
18417
18417
|
return !1;
|
18418
18418
|
}
|
18419
18419
|
})(), Bf = navigator.platform.indexOf("Mac") === 0, wf = navigator.platform.indexOf("Linux") === 0;
|
18420
|
-
function
|
18420
|
+
function Jt(t) {
|
18421
18421
|
return navigator.userAgent.toLowerCase().indexOf(t) >= 0;
|
18422
18422
|
}
|
18423
18423
|
var ue = {
|
@@ -18522,8 +18522,8 @@ function QB() {
|
|
18522
18522
|
}) && !R.some(function(U) {
|
18523
18523
|
return U instanceof HTMLInputElement || U instanceof HTMLSelectElement;
|
18524
18524
|
}))) {
|
18525
|
-
var
|
18526
|
-
|
18525
|
+
var M = Date.now();
|
18526
|
+
M - a <= Lf ? (A++, A === 2 && o(Tf(m))) : A = 1, a = M;
|
18527
18527
|
}
|
18528
18528
|
}
|
18529
18529
|
}
|
@@ -18719,16 +18719,16 @@ function QB() {
|
|
18719
18719
|
}
|
18720
18720
|
return this;
|
18721
18721
|
}
|
18722
|
-
var
|
18722
|
+
var Xt = "_leaflet_events";
|
18723
18723
|
function Ke(t, o, a, A) {
|
18724
18724
|
if (arguments.length === 1)
|
18725
|
-
Rl(t), delete t[
|
18725
|
+
Rl(t), delete t[Xt];
|
18726
18726
|
else if (o && typeof o == "object")
|
18727
18727
|
for (var h in o)
|
18728
18728
|
ga(t, h, o[h], a);
|
18729
18729
|
else if (o = B(o), arguments.length === 2)
|
18730
|
-
Rl(t, function(
|
18731
|
-
return F(o,
|
18730
|
+
Rl(t, function(M) {
|
18731
|
+
return F(o, M) !== -1;
|
18732
18732
|
});
|
18733
18733
|
else
|
18734
18734
|
for (var m = 0, R = o.length; m < R; m++)
|
@@ -18736,7 +18736,7 @@ function QB() {
|
|
18736
18736
|
return this;
|
18737
18737
|
}
|
18738
18738
|
function Rl(t, o) {
|
18739
|
-
for (var a in t[
|
18739
|
+
for (var a in t[Xt]) {
|
18740
18740
|
var A = a.split(/\d/)[0];
|
18741
18741
|
(!o || o(A)) && ga(t, A, null, null, a);
|
18742
18742
|
}
|
@@ -18748,21 +18748,21 @@ function QB() {
|
|
18748
18748
|
};
|
18749
18749
|
function fa(t, o, a, A) {
|
18750
18750
|
var h = o + f(a) + (A ? "_" + f(A) : "");
|
18751
|
-
if (t[
|
18751
|
+
if (t[Xt] && t[Xt][h])
|
18752
18752
|
return this;
|
18753
|
-
var m = function(
|
18754
|
-
return a.call(A || t,
|
18753
|
+
var m = function(M) {
|
18754
|
+
return a.call(A || t, M || window.event);
|
18755
18755
|
}, R = m;
|
18756
|
-
!ue.touchNative && ue.pointer && o.indexOf("touch") === 0 ? m = Pf(t, o, m) : ue.touch && o === "dblclick" ? m = Ff(t, m) : "addEventListener" in t ? o === "touchstart" || o === "touchmove" || o === "wheel" || o === "mousewheel" ? t.addEventListener(ha[o] || o, m, ue.passiveEvents ? { passive: !1 } : !1) : o === "mouseenter" || o === "mouseleave" ? (m = function(
|
18757
|
-
|
18758
|
-
}, t.addEventListener(ha[o], m, !1)) : t.addEventListener(o, R, !1) : t.attachEvent("on" + o, m), t[
|
18756
|
+
!ue.touchNative && ue.pointer && o.indexOf("touch") === 0 ? m = Pf(t, o, m) : ue.touch && o === "dblclick" ? m = Ff(t, m) : "addEventListener" in t ? o === "touchstart" || o === "touchmove" || o === "wheel" || o === "mousewheel" ? t.addEventListener(ha[o] || o, m, ue.passiveEvents ? { passive: !1 } : !1) : o === "mouseenter" || o === "mouseleave" ? (m = function(M) {
|
18757
|
+
M = M || window.event, pa(t, M) && R(M);
|
18758
|
+
}, t.addEventListener(ha[o], m, !1)) : t.addEventListener(o, R, !1) : t.attachEvent("on" + o, m), t[Xt] = t[Xt] || {}, t[Xt][h] = m;
|
18759
18759
|
}
|
18760
18760
|
function ga(t, o, a, A, h) {
|
18761
18761
|
h = h || o + f(a) + (A ? "_" + f(A) : "");
|
18762
|
-
var m = t[
|
18762
|
+
var m = t[Xt] && t[Xt][h];
|
18763
18763
|
if (!m)
|
18764
18764
|
return this;
|
18765
|
-
!ue.touchNative && ue.pointer && o.indexOf("touch") === 0 ? Sf(t, o, m) : ue.touch && o === "dblclick" ? zf(t, m) : "removeEventListener" in t ? t.removeEventListener(ha[o] || o, m, !1) : t.detachEvent("on" + o, m), t[
|
18765
|
+
!ue.touchNative && ue.pointer && o.indexOf("touch") === 0 ? Sf(t, o, m) : ue.touch && o === "dblclick" ? zf(t, m) : "removeEventListener" in t ? t.removeEventListener(ha[o] || o, m, !1) : t.detachEvent("on" + o, m), t[Xt][h] = null;
|
18766
18766
|
}
|
18767
18767
|
function Fi(t) {
|
18768
18768
|
return t.stopPropagation ? t.stopPropagation() : t.originalEvent ? t.originalEvent._stopped = !0 : t.cancelBubble = !0, this;
|
@@ -18998,8 +18998,8 @@ function QB() {
|
|
18998
18998
|
// @method setZoomAround(offset: Point, zoom: Number, options: Zoom options): this
|
18999
18999
|
// Zooms the map while keeping a specified pixel on the map (relative to the top-left corner) stationary.
|
19000
19000
|
setZoomAround: function(t, o, a) {
|
19001
|
-
var A = this.getZoomScale(o), h = this.getSize().divideBy(2), m = t instanceof de ? t : this.latLngToContainerPoint(t), R = m.subtract(h).multiplyBy(1 - 1 / A),
|
19002
|
-
return this.setView(
|
19001
|
+
var A = this.getZoomScale(o), h = this.getSize().divideBy(2), m = t instanceof de ? t : this.latLngToContainerPoint(t), R = m.subtract(h).multiplyBy(1 - 1 / A), M = this.containerPointToLatLng(h.add(R));
|
19002
|
+
return this.setView(M, o, { zoom: a });
|
19003
19003
|
},
|
19004
19004
|
_getBoundsCenterZoom: function(t, o) {
|
19005
19005
|
o = o || {}, t = t.getBounds ? t.getBounds() : Xe(t);
|
@@ -19009,7 +19009,7 @@ function QB() {
|
|
19009
19009
|
center: t.getCenter(),
|
19010
19010
|
zoom: h
|
19011
19011
|
};
|
19012
|
-
var m = A.subtract(a).divideBy(2), R = this.project(t.getSouthWest(), h),
|
19012
|
+
var m = A.subtract(a).divideBy(2), R = this.project(t.getSouthWest(), h), M = this.project(t.getNorthEast(), h), U = this.unproject(R.add(M).divideBy(2).add(m), h);
|
19013
19013
|
return {
|
19014
19014
|
center: U,
|
19015
19015
|
zoom: h
|
@@ -19062,9 +19062,9 @@ function QB() {
|
|
19062
19062
|
this._stop();
|
19063
19063
|
var A = this.project(this.getCenter()), h = this.project(t), m = this.getSize(), R = this._zoom;
|
19064
19064
|
t = Ie(t), o = o === void 0 ? R : o;
|
19065
|
-
var
|
19065
|
+
var M = Math.max(m.x, m.y), U = M * this.getZoomScale(R, o), J = h.distanceTo(A) || 1, ne = 1.42, he = ne * ne;
|
19066
19066
|
function ye(st) {
|
19067
|
-
var Vn = st ? -1 : 1, Sg = st ? U :
|
19067
|
+
var Vn = st ? -1 : 1, Sg = st ? U : M, Rg = U * U - M * M + Vn * he * he * J * J, Qg = 2 * Sg * he * J, Sa = Rg / Qg, hA = Math.sqrt(Sa * Sa + 1) - Sa, Og = hA < 1e-9 ? -18 : Math.log(hA);
|
19068
19068
|
return Og;
|
19069
19069
|
}
|
19070
19070
|
function mt(st) {
|
@@ -19078,10 +19078,10 @@ function QB() {
|
|
19078
19078
|
}
|
19079
19079
|
var yt = ye(0);
|
19080
19080
|
function lo(st) {
|
19081
|
-
return
|
19081
|
+
return M * (at(yt) / at(yt + ne * st));
|
19082
19082
|
}
|
19083
19083
|
function kg(st) {
|
19084
|
-
return
|
19084
|
+
return M * (at(yt) * Ot(yt + ne * st) - mt(yt)) / he;
|
19085
19085
|
}
|
19086
19086
|
function Bg(st) {
|
19087
19087
|
return 1 - Math.pow(1 - st, 1.5);
|
@@ -19091,7 +19091,7 @@ function QB() {
|
|
19091
19091
|
var st = (Date.now() - wg) / Pg, Vn = Bg(st) * cA;
|
19092
19092
|
st <= 1 ? (this._flyToFrame = _(dA, this), this._move(
|
19093
19093
|
this.unproject(A.add(h.subtract(A).multiplyBy(kg(Vn) / J)), R),
|
19094
|
-
this.getScaleZoom(
|
19094
|
+
this.getScaleZoom(M / lo(Vn), R),
|
19095
19095
|
{ flyTo: !0 }
|
19096
19096
|
)) : this._move(t, o)._moveEnd(!0);
|
19097
19097
|
}
|
@@ -19135,10 +19135,10 @@ function QB() {
|
|
19135
19135
|
// the map will not be panned.
|
19136
19136
|
panInside: function(t, o) {
|
19137
19137
|
o = o || {};
|
19138
|
-
var a = fe(o.paddingTopLeft || o.padding || [0, 0]), A = fe(o.paddingBottomRight || o.padding || [0, 0]), h = this.project(this.getCenter()), m = this.project(t), R = this.getPixelBounds(),
|
19139
|
-
if (!
|
19138
|
+
var a = fe(o.paddingTopLeft || o.padding || [0, 0]), A = fe(o.paddingBottomRight || o.padding || [0, 0]), h = this.project(this.getCenter()), m = this.project(t), R = this.getPixelBounds(), M = ct([R.min.add(a), R.max.subtract(A)]), U = M.getSize();
|
19139
|
+
if (!M.contains(m)) {
|
19140
19140
|
this._enforcingBounds = !0;
|
19141
|
-
var J = m.subtract(
|
19141
|
+
var J = m.subtract(M.getCenter()), ne = M.extend(m).getSize().subtract(U);
|
19142
19142
|
h.x += J.x < 0 ? -ne.x : ne.x, h.y += J.y < 0 ? -ne.y : ne.y, this.panTo(this.unproject(h), o), this._enforcingBounds = !1;
|
19143
19143
|
}
|
19144
19144
|
return this;
|
@@ -19224,14 +19224,14 @@ function QB() {
|
|
19224
19224
|
var R = this.getBoundsZoom(h);
|
19225
19225
|
this.setView(A, m.maxZoom ? Math.min(R, m.maxZoom) : R);
|
19226
19226
|
}
|
19227
|
-
var
|
19227
|
+
var M = {
|
19228
19228
|
latlng: A,
|
19229
19229
|
bounds: h,
|
19230
19230
|
timestamp: t.timestamp
|
19231
19231
|
};
|
19232
19232
|
for (var U in t.coords)
|
19233
|
-
typeof t.coords[U] == "number" && (
|
19234
|
-
this.fire("locationfound",
|
19233
|
+
typeof t.coords[U] == "number" && (M[U] = t.coords[U]);
|
19234
|
+
this.fire("locationfound", M);
|
19235
19235
|
}
|
19236
19236
|
},
|
19237
19237
|
// TODO Appropriate docs section?
|
@@ -19305,7 +19305,7 @@ function QB() {
|
|
19305
19305
|
// the given bounds in its entirety.
|
19306
19306
|
getBoundsZoom: function(t, o, a) {
|
19307
19307
|
t = Xe(t), a = fe(a || [0, 0]);
|
19308
|
-
var A = this.getZoom() || 0, h = this.getMinZoom(), m = this.getMaxZoom(), R = t.getNorthWest(),
|
19308
|
+
var A = this.getZoom() || 0, h = this.getMinZoom(), m = this.getMaxZoom(), R = t.getNorthWest(), M = t.getSouthEast(), U = this.getSize().subtract(a), J = ct(this.project(M, A), this.project(R, A)).getSize(), ne = ue.any3d ? this.options.zoomSnap : 1, he = U.x / J.x, ye = U.y / J.y, mt = o ? Math.max(he, ye) : Math.min(he, ye);
|
19309
19309
|
return A = this.getScaleZoom(mt, A), ne && (A = Math.round(A / (ne / 100)) * (ne / 100), A = o ? Math.ceil(A / ne) * ne : Math.floor(A / ne) * ne), Math.max(h, Math.min(m, A));
|
19310
19310
|
},
|
19311
19311
|
// @method getSize(): Point
|
@@ -19584,12 +19584,12 @@ function QB() {
|
|
19584
19584
|
}
|
19585
19585
|
if (h.length) {
|
19586
19586
|
o === "contextmenu" && At(t);
|
19587
|
-
var
|
19587
|
+
var M = h[0], U = {
|
19588
19588
|
originalEvent: t
|
19589
19589
|
};
|
19590
19590
|
if (t.type !== "keypress" && t.type !== "keydown" && t.type !== "keyup") {
|
19591
|
-
var J =
|
19592
|
-
U.containerPoint = J ? this.latLngToContainerPoint(
|
19591
|
+
var J = M.getLatLng && (!M._radius || M._radius <= 10);
|
19592
|
+
U.containerPoint = J ? this.latLngToContainerPoint(M.getLatLng()) : this.mouseEventToContainerPoint(t), U.layerPoint = this.containerPointToLayerPoint(U.containerPoint), U.latlng = J ? M.getLatLng() : this.layerPointToLatLng(U.layerPoint);
|
19593
19593
|
}
|
19594
19594
|
for (R = 0; R < h.length; R++)
|
19595
19595
|
if (h[R].fire(o, U, !0), U.originalEvent._stopped || h[R].options.bubblingMouseEvents === !1 && F(this._mouseEvents, o) !== -1)
|
@@ -19667,8 +19667,8 @@ function QB() {
|
|
19667
19667
|
var A = ct(
|
19668
19668
|
this.project(o.getNorthEast(), a),
|
19669
19669
|
this.project(o.getSouthWest(), a)
|
19670
|
-
), h = A.min.subtract(t.min), m = A.max.subtract(t.max), R = this._rebound(h.x, -m.x),
|
19671
|
-
return new de(R,
|
19670
|
+
), h = A.min.subtract(t.min), m = A.max.subtract(t.max), R = this._rebound(h.x, -m.x), M = this._rebound(h.y, -m.y);
|
19671
|
+
return new de(R, M);
|
19672
19672
|
},
|
19673
19673
|
_rebound: function(t, o) {
|
19674
19674
|
return t + o > 0 ? Math.round(t - o) / 2 : Math.max(0, Math.ceil(t)) - Math.max(0, Math.floor(o));
|
@@ -20155,7 +20155,7 @@ function QB() {
|
|
20155
20155
|
return new ba(t);
|
20156
20156
|
};
|
20157
20157
|
Mt.Layers = Ll, Mt.Zoom = va, Mt.Scale = Fl, Mt.Attribution = ba, Uo.layers = Vf, Uo.zoom = Kf, Uo.scale = qf, Uo.attribution = Wf;
|
20158
|
-
var
|
20158
|
+
var _t = De.extend({
|
20159
20159
|
initialize: function(t) {
|
20160
20160
|
this._map = t;
|
20161
20161
|
},
|
@@ -20181,7 +20181,7 @@ function QB() {
|
|
20181
20181
|
// @method removeHooks()
|
20182
20182
|
// Called when the handler is disabled, should remove the event hooks added previously.
|
20183
20183
|
});
|
20184
|
-
|
20184
|
+
_t.addTo = function(t, o) {
|
20185
20185
|
return t.addHandler(o, this), this;
|
20186
20186
|
};
|
20187
20187
|
var Gf = { Events: me }, zl = ue.touch ? "touchstart mousedown" : "mousedown", Ci = Ct.extend({
|
@@ -20250,18 +20250,18 @@ function QB() {
|
|
20250
20250
|
}
|
20251
20251
|
});
|
20252
20252
|
function Ml(t, o, a) {
|
20253
|
-
var A, h = [1, 4, 2, 8], m, R,
|
20253
|
+
var A, h = [1, 4, 2, 8], m, R, M, U, J, ne, he, ye;
|
20254
20254
|
for (m = 0, ne = t.length; m < ne; m++)
|
20255
20255
|
t[m]._code = Mi(t[m], o);
|
20256
|
-
for (
|
20257
|
-
for (he = h[
|
20256
|
+
for (M = 0; M < 4; M++) {
|
20257
|
+
for (he = h[M], A = [], m = 0, ne = t.length, R = ne - 1; m < ne; R = m++)
|
20258
20258
|
U = t[m], J = t[R], U._code & he ? J._code & he || (ye = On(J, U, he, o, a), ye._code = Mi(ye, o), A.push(ye)) : (J._code & he && (ye = On(J, U, he, o, a), ye._code = Mi(ye, o), A.push(ye)), A.push(U));
|
20259
20259
|
t = A;
|
20260
20260
|
}
|
20261
20261
|
return t;
|
20262
20262
|
}
|
20263
20263
|
function Nl(t, o) {
|
20264
|
-
var a, A, h, m, R,
|
20264
|
+
var a, A, h, m, R, M, U, J, ne;
|
20265
20265
|
if (!t || t.length === 0)
|
20266
20266
|
throw new Error("latlngs not passed");
|
20267
20267
|
Qt(t) || (console.warn("latlngs are not flat! Only the first ring will be used"), t = t[0]);
|
@@ -20272,9 +20272,9 @@ function QB() {
|
|
20272
20272
|
var yt = Ie(t[a]);
|
20273
20273
|
Ot.push(o.project(Ie([yt.lat - he.lat, yt.lng - he.lng])));
|
20274
20274
|
}
|
20275
|
-
for (
|
20276
|
-
h = Ot[a], m = Ot[A], R = h.y * m.x - m.y * h.x, U += (h.x + m.x) * R, J += (h.y + m.y) * R,
|
20277
|
-
|
20275
|
+
for (M = U = J = 0, a = 0, A = at - 1; a < at; A = a++)
|
20276
|
+
h = Ot[a], m = Ot[A], R = h.y * m.x - m.y * h.x, U += (h.x + m.x) * R, J += (h.y + m.y) * R, M += R * 3;
|
20277
|
+
M === 0 ? ne = Ot[0] : ne = [U / M, J / M];
|
20278
20278
|
var lo = o.unproject(fe(ne));
|
20279
20279
|
return Ie([lo.lat + he.lat, lo.lng + he.lng]);
|
20280
20280
|
}
|
@@ -20312,9 +20312,9 @@ function QB() {
|
|
20312
20312
|
return R;
|
20313
20313
|
}
|
20314
20314
|
function ya(t, o, a, A, h) {
|
20315
|
-
var m = 0, R,
|
20316
|
-
for (
|
20317
|
-
U = xo(t[
|
20315
|
+
var m = 0, R, M, U;
|
20316
|
+
for (M = A + 1; M <= h - 1; M++)
|
20317
|
+
U = xo(t[M], t[A], t[h], !0), U > m && (R = M, m = U);
|
20318
20318
|
m > a && (o[R] = 1, ya(t, o, a, A, R), ya(t, o, a, R, h));
|
20319
20319
|
}
|
20320
20320
|
function Xf(t, o) {
|
@@ -20324,18 +20324,18 @@ function QB() {
|
|
20324
20324
|
}
|
20325
20325
|
var xl;
|
20326
20326
|
function Vl(t, o, a, A, h) {
|
20327
|
-
var m = A ? xl : Mi(t, a), R = Mi(o, a),
|
20327
|
+
var m = A ? xl : Mi(t, a), R = Mi(o, a), M, U, J;
|
20328
20328
|
for (xl = R; ; ) {
|
20329
20329
|
if (!(m | R))
|
20330
20330
|
return [t, o];
|
20331
20331
|
if (m & R)
|
20332
20332
|
return !1;
|
20333
|
-
|
20333
|
+
M = m || R, U = On(t, o, M, a, h), J = Mi(U, a), M === m ? (t = U, m = J) : (o = U, R = J);
|
20334
20334
|
}
|
20335
20335
|
}
|
20336
20336
|
function On(t, o, a, A, h) {
|
20337
|
-
var m = o.x - t.x, R = o.y - t.y,
|
20338
|
-
return a & 8 ? (J = t.x + m * (U.y - t.y) / R, ne = U.y) : a & 4 ? (J = t.x + m * (
|
20337
|
+
var m = o.x - t.x, R = o.y - t.y, M = A.min, U = A.max, J, ne;
|
20338
|
+
return a & 8 ? (J = t.x + m * (U.y - t.y) / R, ne = U.y) : a & 4 ? (J = t.x + m * (M.y - t.y) / R, ne = M.y) : a & 2 ? (J = U.x, ne = t.y + R * (U.x - t.x) / m) : a & 1 && (J = M.x, ne = t.y + R * (M.x - t.x) / m), new de(J, ne, h);
|
20339
20339
|
}
|
20340
20340
|
function Mi(t, o) {
|
20341
20341
|
var a = 0;
|
@@ -20346,8 +20346,8 @@ function QB() {
|
|
20346
20346
|
return a * a + A * A;
|
20347
20347
|
}
|
20348
20348
|
function xo(t, o, a, A) {
|
20349
|
-
var h = o.x, m = o.y, R = a.x - h,
|
20350
|
-
return U > 0 && (J = ((t.x - h) * R + (t.y - m) *
|
20349
|
+
var h = o.x, m = o.y, R = a.x - h, M = a.y - m, U = R * R + M * M, J;
|
20350
|
+
return U > 0 && (J = ((t.x - h) * R + (t.y - m) * M) / U, J > 1 ? (h = a.x, m = a.y) : J > 0 && (h += R * J, m += M * J)), R = t.x - h, M = t.y - m, A ? R * R + M * M : new de(h, m);
|
20351
20351
|
}
|
20352
20352
|
function Qt(t) {
|
20353
20353
|
return !w(t[0]) || typeof t[0][0] != "object" && typeof t[0][0] < "u";
|
@@ -20356,7 +20356,7 @@ function QB() {
|
|
20356
20356
|
return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."), Qt(t);
|
20357
20357
|
}
|
20358
20358
|
function ql(t, o) {
|
20359
|
-
var a, A, h, m, R,
|
20359
|
+
var a, A, h, m, R, M, U, J;
|
20360
20360
|
if (!t || t.length === 0)
|
20361
20361
|
throw new Error("latlngs not passed");
|
20362
20362
|
Qt(t) || (console.warn("latlngs are not flat! Only the first ring will be used"), t = t[0]);
|
@@ -20373,10 +20373,10 @@ function QB() {
|
|
20373
20373
|
J = at[0];
|
20374
20374
|
else
|
20375
20375
|
for (a = 0, m = 0; a < mt - 1; a++)
|
20376
|
-
if (R = at[a],
|
20376
|
+
if (R = at[a], M = at[a + 1], h = R.distanceTo(M), m += h, m > A) {
|
20377
20377
|
U = (m - A) / h, J = [
|
20378
|
-
|
20379
|
-
|
20378
|
+
M.x - U * (M.x - R.x),
|
20379
|
+
M.y - U * (M.y - R.y)
|
20380
20380
|
];
|
20381
20381
|
break;
|
20382
20382
|
}
|
@@ -20408,11 +20408,11 @@ function QB() {
|
|
20408
20408
|
R_MINOR: 6356752314245179e-9,
|
20409
20409
|
bounds: new Ve([-2003750834279e-5, -1549657073972e-5], [2003750834279e-5, 1876465623138e-5]),
|
20410
20410
|
project: function(t) {
|
20411
|
-
var o = Math.PI / 180, a = this.R, A = t.lat * o, h = this.R_MINOR / a, m = Math.sqrt(1 - h * h), R = m * Math.sin(A),
|
20412
|
-
return A = -a * Math.log(Math.max(
|
20411
|
+
var o = Math.PI / 180, a = this.R, A = t.lat * o, h = this.R_MINOR / a, m = Math.sqrt(1 - h * h), R = m * Math.sin(A), M = Math.tan(Math.PI / 4 - A / 2) / Math.pow((1 - R) / (1 + R), m / 2);
|
20412
|
+
return A = -a * Math.log(Math.max(M, 1e-10)), new de(t.lng * o * a, A);
|
20413
20413
|
},
|
20414
20414
|
unproject: function(t) {
|
20415
|
-
for (var o = 180 / Math.PI, a = this.R, A = this.R_MINOR / a, h = Math.sqrt(1 - A * A), m = Math.exp(-t.y / a), R = Math.PI / 2 - 2 * Math.atan(m),
|
20415
|
+
for (var o = 180 / Math.PI, a = this.R, A = this.R_MINOR / a, h = Math.sqrt(1 - A * A), m = Math.exp(-t.y / a), R = Math.PI / 2 - 2 * Math.atan(m), M = 0, U = 0.1, J; M < 15 && Math.abs(U) > 1e-7; M++)
|
20416
20416
|
J = h * Math.sin(R), J = Math.pow((1 - J) / (1 + J), h / 2), U = Math.PI / 2 - 2 * Math.atan(m * J) - R, R += U;
|
20417
20417
|
return new Te(R * o, t.x * o / a);
|
20418
20418
|
}
|
@@ -20804,7 +20804,7 @@ function QB() {
|
|
20804
20804
|
var a = document.querySelector('link[href$="leaflet.css"]');
|
20805
20805
|
return a ? a.href.substring(0, a.href.length - 11 - 1) : "";
|
20806
20806
|
}
|
20807
|
-
}), Wl =
|
20807
|
+
}), Wl = _t.extend({
|
20808
20808
|
initialize: function(t) {
|
20809
20809
|
this._marker = t;
|
20810
20810
|
},
|
@@ -20829,9 +20829,9 @@ function QB() {
|
|
20829
20829
|
return this._draggable && this._draggable._moved;
|
20830
20830
|
},
|
20831
20831
|
_adjustPan: function(t) {
|
20832
|
-
var o = this._marker, a = o._map, A = this._marker.options.autoPanSpeed, h = this._marker.options.autoPanPadding, m = Li(o._icon), R = a.getPixelBounds(),
|
20833
|
-
R.min._subtract(
|
20834
|
-
R.max._subtract(
|
20832
|
+
var o = this._marker, a = o._map, A = this._marker.options.autoPanSpeed, h = this._marker.options.autoPanPadding, m = Li(o._icon), R = a.getPixelBounds(), M = a.getPixelOrigin(), U = ct(
|
20833
|
+
R.min._subtract(M).add(h),
|
20834
|
+
R.max._subtract(M).subtract(h)
|
20835
20835
|
);
|
20836
20836
|
if (!U.contains(m)) {
|
20837
20837
|
var J = fe(
|
@@ -21218,7 +21218,7 @@ function QB() {
|
|
21218
21218
|
_project: function() {
|
21219
21219
|
var t = this._latlng.lng, o = this._latlng.lat, a = this._map, A = a.options.crs;
|
21220
21220
|
if (A.distance === bi.distance) {
|
21221
|
-
var h = Math.PI / 180, m = this._mRadius / bi.R / h, R = a.project([o + m, t]),
|
21221
|
+
var h = Math.PI / 180, m = this._mRadius / bi.R / h, R = a.project([o + m, t]), M = a.project([o - m, t]), U = R.add(M).divideBy(2), J = a.unproject(U).lat, ne = Math.acos((Math.cos(m * h) - Math.sin(o * h) * Math.sin(J * h)) / (Math.cos(o * h) * Math.cos(J * h))) / h;
|
21222
21222
|
(isNaN(ne) || ne === 0) && (ne = m / Math.cos(Math.PI / 180 * o)), this._point = U.subtract(a.getPixelOrigin()), this._radius = isNaN(ne) ? 0 : U.x - a.project([J, t - ne]).x, this._radiusY = U.y - R.y;
|
21223
21223
|
} else {
|
21224
21224
|
var he = A.unproject(A.project(this._latlng).subtract([this._mRadius, 0]));
|
@@ -21263,7 +21263,7 @@ function QB() {
|
|
21263
21263
|
// @method closestLayerPoint(p: Point): Point
|
21264
21264
|
// Returns the point closest to `p` on the Polyline.
|
21265
21265
|
closestLayerPoint: function(t) {
|
21266
|
-
for (var o = 1 / 0, a = null, A = xo, h, m, R = 0,
|
21266
|
+
for (var o = 1 / 0, a = null, A = xo, h, m, R = 0, M = this._parts.length; R < M; R++)
|
21267
21267
|
for (var U = this._parts[R], J = 1, ne = U.length; J < ne; J++) {
|
21268
21268
|
h = U[J - 1], m = U[J];
|
21269
21269
|
var he = A(t, h, m, !0);
|
@@ -21332,10 +21332,10 @@ function QB() {
|
|
21332
21332
|
this._parts = this._rings;
|
21333
21333
|
return;
|
21334
21334
|
}
|
21335
|
-
var o = this._parts, a, A, h, m, R,
|
21335
|
+
var o = this._parts, a, A, h, m, R, M, U;
|
21336
21336
|
for (a = 0, h = 0, m = this._rings.length; a < m; a++)
|
21337
21337
|
for (U = this._rings[a], A = 0, R = U.length; A < R - 1; A++)
|
21338
|
-
|
21338
|
+
M = Vl(U[A], U[A + 1], t, A, !0), M && (o[h] = o[h] || [], o[h].push(M[0]), (M[1] !== U[A + 1] || A === R - 2) && (o[h].push(M[1]), h++));
|
21339
21339
|
}
|
21340
21340
|
},
|
21341
21341
|
// simplify each clipped part of the polyline for performance
|
@@ -21351,12 +21351,12 @@ function QB() {
|
|
21351
21351
|
},
|
21352
21352
|
// Needed by the `Canvas` renderer for interactivity
|
21353
21353
|
_containsPoint: function(t, o) {
|
21354
|
-
var a, A, h, m, R,
|
21354
|
+
var a, A, h, m, R, M, U = this._clickTolerance();
|
21355
21355
|
if (!this._pxBounds || !this._pxBounds.contains(t))
|
21356
21356
|
return !1;
|
21357
21357
|
for (a = 0, m = this._parts.length; a < m; a++)
|
21358
|
-
for (
|
21359
|
-
if (!(!o && A === 0) && Ul(t,
|
21358
|
+
for (M = this._parts[a], A = 0, R = M.length, h = R - 1; A < R; h = A++)
|
21359
|
+
if (!(!o && A === 0) && Ul(t, M[h], M[A]) <= U)
|
21360
21360
|
return !0;
|
21361
21361
|
return !1;
|
21362
21362
|
}
|
@@ -21405,12 +21405,12 @@ function QB() {
|
|
21405
21405
|
},
|
21406
21406
|
// Needed by the `Canvas` renderer for interactivity
|
21407
21407
|
_containsPoint: function(t) {
|
21408
|
-
var o = !1, a, A, h, m, R,
|
21408
|
+
var o = !1, a, A, h, m, R, M, U, J;
|
21409
21409
|
if (!this._pxBounds || !this._pxBounds.contains(t))
|
21410
21410
|
return !1;
|
21411
21411
|
for (m = 0, U = this._parts.length; m < U; m++)
|
21412
|
-
for (a = this._parts[m], R = 0, J = a.length,
|
21413
|
-
A = a[R], h = a[
|
21412
|
+
for (a = this._parts[m], R = 0, J = a.length, M = J - 1; R < J; M = R++)
|
21413
|
+
A = a[R], h = a[M], A.y > t.y != h.y > t.y && t.x < (h.x - A.x) * (t.y - A.y) / (h.y - A.y) + A.x && (o = !o);
|
21414
21414
|
return o || si.prototype._containsPoint.call(this, t, !0);
|
21415
21415
|
}
|
21416
21416
|
});
|
@@ -21503,15 +21503,15 @@ function QB() {
|
|
21503
21503
|
}
|
21504
21504
|
});
|
21505
21505
|
function Ln(t, o) {
|
21506
|
-
var a = t.type === "Feature" ? t.geometry : t, A = a ? a.coordinates : null, h = [], m = o && o.pointToLayer, R = o && o.coordsToLatLng || Ba,
|
21506
|
+
var a = t.type === "Feature" ? t.geometry : t, A = a ? a.coordinates : null, h = [], m = o && o.pointToLayer, R = o && o.coordsToLatLng || Ba, M, U, J, ne;
|
21507
21507
|
if (!A && !a)
|
21508
21508
|
return null;
|
21509
21509
|
switch (a.type) {
|
21510
21510
|
case "Point":
|
21511
|
-
return
|
21511
|
+
return M = R(A), Gl(m, t, M, o);
|
21512
21512
|
case "MultiPoint":
|
21513
21513
|
for (J = 0, ne = A.length; J < ne; J++)
|
21514
|
-
|
21514
|
+
M = R(A[J]), h.push(Gl(m, t, M, o));
|
21515
21515
|
return new ni(h);
|
21516
21516
|
case "LineString":
|
21517
21517
|
case "MultiLineString":
|
@@ -21812,7 +21812,7 @@ function QB() {
|
|
21812
21812
|
function fg(t, o, a) {
|
21813
21813
|
return new Jl(t, o, a);
|
21814
21814
|
}
|
21815
|
-
var
|
21815
|
+
var $t = Nt.extend({
|
21816
21816
|
// @section
|
21817
21817
|
// @aka DivOverlay options
|
21818
21818
|
options: {
|
@@ -21980,7 +21980,7 @@ function QB() {
|
|
21980
21980
|
return h instanceof t ? (k(h, A), h._source = this) : (h = o && !A ? o : new t(A, this), h.setContent(a)), h;
|
21981
21981
|
}
|
21982
21982
|
});
|
21983
|
-
var Hn =
|
21983
|
+
var Hn = $t.extend({
|
21984
21984
|
// @section
|
21985
21985
|
// @aka Popup options
|
21986
21986
|
options: {
|
@@ -22044,16 +22044,16 @@ function QB() {
|
|
22044
22044
|
// Alternative to `map.openPopup(popup)`.
|
22045
22045
|
// Adds the popup to the map and closes the previous one.
|
22046
22046
|
openOn: function(t) {
|
22047
|
-
return t = arguments.length ? t : this._source._map, !t.hasLayer(this) && t._popup && t._popup.options.autoClose && t.removeLayer(t._popup), t._popup = this,
|
22047
|
+
return t = arguments.length ? t : this._source._map, !t.hasLayer(this) && t._popup && t._popup.options.autoClose && t.removeLayer(t._popup), t._popup = this, $t.prototype.openOn.call(this, t);
|
22048
22048
|
},
|
22049
22049
|
onAdd: function(t) {
|
22050
|
-
|
22050
|
+
$t.prototype.onAdd.call(this, t), t.fire("popupopen", { popup: this }), this._source && (this._source.fire("popupopen", { popup: this }, !0), this._source instanceof yi || this._source.on("preclick", Fi));
|
22051
22051
|
},
|
22052
22052
|
onRemove: function(t) {
|
22053
|
-
|
22053
|
+
$t.prototype.onRemove.call(this, t), t.fire("popupclose", { popup: this }), this._source && (this._source.fire("popupclose", { popup: this }, !0), this._source instanceof yi || this._source.off("preclick", Fi));
|
22054
22054
|
},
|
22055
22055
|
getEvents: function() {
|
22056
|
-
var t =
|
22056
|
+
var t = $t.prototype.getEvents.call(this);
|
22057
22057
|
return (this.options.closeOnClick !== void 0 ? this.options.closeOnClick : this._map.options.closePopupOnClick) && (t.preclick = this.close), this.options.keepInView && (t.moveend = this._adjustPan), t;
|
22058
22058
|
},
|
22059
22059
|
_initLayout: function() {
|
@@ -22088,8 +22088,8 @@ function QB() {
|
|
22088
22088
|
}
|
22089
22089
|
var t = this._map, o = parseInt(Fo(this._container, "marginBottom"), 10) || 0, a = this._container.offsetHeight + o, A = this._containerWidth, h = new de(this._containerLeft, -a - this._containerBottom);
|
22090
22090
|
h._add(Li(this._container));
|
22091
|
-
var m = t.layerPointToContainerPoint(h), R = fe(this.options.autoPanPadding),
|
22092
|
-
m.x + A + U.x > J.x && (ne = m.x + A - J.x + U.x), m.x - ne -
|
22091
|
+
var m = t.layerPointToContainerPoint(h), R = fe(this.options.autoPanPadding), M = fe(this.options.autoPanPaddingTopLeft || R), U = fe(this.options.autoPanPaddingBottomRight || R), J = t.getSize(), ne = 0, he = 0;
|
22092
|
+
m.x + A + U.x > J.x && (ne = m.x + A - J.x + U.x), m.x - ne - M.x < 0 && (ne = m.x - M.x), m.y + a + U.y > J.y && (he = m.y + a - J.y + U.y), m.y - he - M.y < 0 && (he = m.y - M.y), (ne || he) && (this.options.keepInView && (this._autopanning = !0), t.fire("autopanstart").panBy([ne, he]));
|
22093
22093
|
}
|
22094
22094
|
},
|
22095
22095
|
_getAnchor: function() {
|
@@ -22185,7 +22185,7 @@ function QB() {
|
|
22185
22185
|
t.originalEvent.keyCode === 13 && this._openPopup(t);
|
22186
22186
|
}
|
22187
22187
|
});
|
22188
|
-
var Un =
|
22188
|
+
var Un = $t.extend({
|
22189
22189
|
// @section
|
22190
22190
|
// @aka Tooltip options
|
22191
22191
|
options: {
|
@@ -22212,13 +22212,13 @@ function QB() {
|
|
22212
22212
|
opacity: 0.9
|
22213
22213
|
},
|
22214
22214
|
onAdd: function(t) {
|
22215
|
-
|
22215
|
+
$t.prototype.onAdd.call(this, t), this.setOpacity(this.options.opacity), t.fire("tooltipopen", { tooltip: this }), this._source && (this.addEventParent(this._source), this._source.fire("tooltipopen", { tooltip: this }, !0));
|
22216
22216
|
},
|
22217
22217
|
onRemove: function(t) {
|
22218
|
-
|
22218
|
+
$t.prototype.onRemove.call(this, t), t.fire("tooltipclose", { tooltip: this }), this._source && (this.removeEventParent(this._source), this._source.fire("tooltipclose", { tooltip: this }, !0));
|
22219
22219
|
},
|
22220
22220
|
getEvents: function() {
|
22221
|
-
var t =
|
22221
|
+
var t = $t.prototype.getEvents.call(this);
|
22222
22222
|
return this.options.permanent || (t.preclick = this.close), t;
|
22223
22223
|
},
|
22224
22224
|
_initLayout: function() {
|
@@ -22230,8 +22230,8 @@ function QB() {
|
|
22230
22230
|
_adjustPan: function() {
|
22231
22231
|
},
|
22232
22232
|
_setPosition: function(t) {
|
22233
|
-
var o, a, A = this._map, h = this._container, m = A.latLngToContainerPoint(A.getCenter()), R = A.layerPointToContainerPoint(t),
|
22234
|
-
|
22233
|
+
var o, a, A = this._map, h = this._container, m = A.latLngToContainerPoint(A.getCenter()), R = A.layerPointToContainerPoint(t), M = this.options.direction, U = h.offsetWidth, J = h.offsetHeight, ne = fe(this.options.offset), he = this._getAnchor();
|
22234
|
+
M === "top" ? (o = U / 2, a = J) : M === "bottom" ? (o = U / 2, a = 0) : M === "center" ? (o = U / 2, a = J / 2) : M === "right" ? (o = 0, a = J / 2) : M === "left" ? (o = U, a = J / 2) : R.x < m.x ? (M = "right", o = 0, a = J / 2) : (M = "left", o = U + (ne.x + he.x) * 2, a = J / 2), t = t.subtract(fe(o, a, !0)).add(ne).add(he), tt(h, "leaflet-tooltip-right"), tt(h, "leaflet-tooltip-left"), tt(h, "leaflet-tooltip-top"), tt(h, "leaflet-tooltip-bottom"), Ce(h, "leaflet-tooltip-" + M), nt(h, t);
|
22235
22235
|
},
|
22236
22236
|
_updatePosition: function() {
|
22237
22237
|
var t = this._map.latLngToLayerPoint(this._latlng);
|
@@ -22589,9 +22589,9 @@ function QB() {
|
|
22589
22589
|
this._removeAllTiles(), this._tileZoom = void 0;
|
22590
22590
|
},
|
22591
22591
|
_retainParent: function(t, o, a, A) {
|
22592
|
-
var h = Math.floor(t / 2), m = Math.floor(o / 2), R = a - 1,
|
22593
|
-
|
22594
|
-
var U = this._tileCoordsToKey(
|
22592
|
+
var h = Math.floor(t / 2), m = Math.floor(o / 2), R = a - 1, M = new de(+h, +m);
|
22593
|
+
M.z = +R;
|
22594
|
+
var U = this._tileCoordsToKey(M), J = this._tiles[U];
|
22595
22595
|
return J && J.active ? (J.retain = !0, !0) : (J && J.loaded && (J.retain = !0), R > A ? this._retainParent(h, m, R, A) : !1);
|
22596
22596
|
},
|
22597
22597
|
_retainChildren: function(t, o, a, A) {
|
@@ -22599,7 +22599,7 @@ function QB() {
|
|
22599
22599
|
for (var m = 2 * o; m < 2 * o + 2; m++) {
|
22600
22600
|
var R = new de(h, m);
|
22601
22601
|
R.z = a + 1;
|
22602
|
-
var
|
22602
|
+
var M = this._tileCoordsToKey(R), U = this._tiles[M];
|
22603
22603
|
if (U && U.active) {
|
22604
22604
|
U.retain = !0;
|
22605
22605
|
continue;
|
@@ -22655,9 +22655,9 @@ function QB() {
|
|
22655
22655
|
if (o) {
|
22656
22656
|
var a = this._clampZoom(o.getZoom());
|
22657
22657
|
if (t === void 0 && (t = o.getCenter()), this._tileZoom !== void 0) {
|
22658
|
-
var A = this._getTiledPixelBounds(t), h = this._pxBoundsToTileRange(A), m = h.getCenter(), R = [],
|
22659
|
-
h.getBottomLeft().subtract([
|
22660
|
-
h.getTopRight().add([
|
22658
|
+
var A = this._getTiledPixelBounds(t), h = this._pxBoundsToTileRange(A), m = h.getCenter(), R = [], M = this.options.keepBuffer, U = new Ve(
|
22659
|
+
h.getBottomLeft().subtract([M, -M]),
|
22660
|
+
h.getTopRight().add([M, -M])
|
22661
22661
|
);
|
22662
22662
|
if (!(isFinite(h.min.x) && isFinite(h.min.y) && isFinite(h.max.x) && isFinite(h.max.y)))
|
22663
22663
|
throw new Error("Attempted to load an infinite number of tiles");
|
@@ -22956,8 +22956,8 @@ function QB() {
|
|
22956
22956
|
this.wmsParams[o] = this._crs.code, ro.prototype.onAdd.call(this, t);
|
22957
22957
|
},
|
22958
22958
|
getTileUrl: function(t) {
|
22959
|
-
var o = this._tileCoordsToNwSe(t), a = this._crs, A = ct(a.project(o[0]), a.project(o[1])), h = A.min, m = A.max, R = (this._wmsVersion >= 1.3 && this._crs === Yl ? [h.y, h.x, m.y, m.x] : [h.x, h.y, m.x, m.y]).join(","),
|
22960
|
-
return
|
22959
|
+
var o = this._tileCoordsToNwSe(t), a = this._crs, A = ct(a.project(o[0]), a.project(o[1])), h = A.min, m = A.max, R = (this._wmsVersion >= 1.3 && this._crs === Yl ? [h.y, h.x, m.y, m.x] : [h.x, h.y, m.x, m.y]).join(","), M = ro.prototype.getTileUrl.call(this, t);
|
22960
|
+
return M + P(this.wmsParams, M, this.options.uppercase) + (this.options.uppercase ? "&BBOX=" : "&bbox=") + R;
|
22961
22961
|
},
|
22962
22962
|
// @method setParams(params: Object, noRedraw?: Boolean): this
|
22963
22963
|
// Merges an object with the new parameters and re-requests tiles on the current screen (unless `noRedraw` was set to true).
|
@@ -23134,9 +23134,9 @@ function QB() {
|
|
23134
23134
|
},
|
23135
23135
|
_updatePoly: function(t, o) {
|
23136
23136
|
if (this._drawing) {
|
23137
|
-
var a, A, h, m, R = t._parts,
|
23138
|
-
if (
|
23139
|
-
for (U.beginPath(), a = 0; a <
|
23137
|
+
var a, A, h, m, R = t._parts, M = R.length, U = this._ctx;
|
23138
|
+
if (M) {
|
23139
|
+
for (U.beginPath(), a = 0; a < M; a++) {
|
23140
23140
|
for (A = 0, h = R[a].length; A < h; A++)
|
23141
23141
|
m = R[a][A], U[A ? "lineTo" : "moveTo"](m.x, m.y);
|
23142
23142
|
o && U.closePath();
|
@@ -23356,7 +23356,7 @@ function QB() {
|
|
23356
23356
|
// dragging the mouse while pressing the shift key.
|
23357
23357
|
boxZoom: !0
|
23358
23358
|
});
|
23359
|
-
var nA =
|
23359
|
+
var nA = _t.extend({
|
23360
23360
|
initialize: function(t) {
|
23361
23361
|
this._map = t, this._container = t._container, this._pane = t._panes.overlayPane, this._resetStateTimeout = 0, t.on("unload", this._destroy, this);
|
23362
23362
|
},
|
@@ -23423,7 +23423,7 @@ function QB() {
|
|
23423
23423
|
// view regardless of where the mouse was.
|
23424
23424
|
doubleClickZoom: !0
|
23425
23425
|
});
|
23426
|
-
var sA =
|
23426
|
+
var sA = _t.extend({
|
23427
23427
|
addHooks: function() {
|
23428
23428
|
this._map.on("dblclick", this._onDoubleClick, this);
|
23429
23429
|
},
|
@@ -23470,7 +23470,7 @@ function QB() {
|
|
23470
23470
|
// solid, preventing the user from dragging outside the bounds.
|
23471
23471
|
maxBoundsViscosity: 0
|
23472
23472
|
});
|
23473
|
-
var aA =
|
23473
|
+
var aA = _t.extend({
|
23474
23474
|
addHooks: function() {
|
23475
23475
|
if (!this._draggable) {
|
23476
23476
|
var t = this._map;
|
@@ -23537,7 +23537,7 @@ function QB() {
|
|
23537
23537
|
o.fire("moveend");
|
23538
23538
|
else {
|
23539
23539
|
this._prunePositions(+/* @__PURE__ */ new Date());
|
23540
|
-
var h = this._lastPos.subtract(this._positions[0]), m = (this._lastTime - this._times[0]) / 1e3, R = a.easeLinearity,
|
23540
|
+
var h = this._lastPos.subtract(this._positions[0]), m = (this._lastTime - this._times[0]) / 1e3, R = a.easeLinearity, M = h.multiplyBy(R / m), U = M.distanceTo([0, 0]), J = Math.min(a.inertiaMaxSpeed, U), ne = M.multiplyBy(J / U), he = J / (a.inertiaDeceleration * R), ye = ne.multiplyBy(-he / 2).round();
|
23541
23541
|
!ye.x && !ye.y ? o.fire("moveend") : (ye = o._limitOffset(ye, o.options.maxBounds), _(function() {
|
23542
23542
|
o.panBy(ye, {
|
23543
23543
|
duration: he,
|
@@ -23558,7 +23558,7 @@ function QB() {
|
|
23558
23558
|
// Amount of pixels to pan when pressing an arrow key.
|
23559
23559
|
keyboardPanDelta: 80
|
23560
23560
|
});
|
23561
|
-
var rA =
|
23561
|
+
var rA = _t.extend({
|
23562
23562
|
keyCodes: {
|
23563
23563
|
left: [37],
|
23564
23564
|
right: [39],
|
@@ -23663,7 +23663,7 @@ function QB() {
|
|
23663
23663
|
// faster (and vice versa).
|
23664
23664
|
wheelPxPerZoomLevel: 60
|
23665
23665
|
});
|
23666
|
-
var lA =
|
23666
|
+
var lA = _t.extend({
|
23667
23667
|
addHooks: function() {
|
23668
23668
|
pe(this._map._container, "wheel", this._onWheelScroll, this), this._delta = 0;
|
23669
23669
|
},
|
@@ -23695,7 +23695,7 @@ function QB() {
|
|
23695
23695
|
// for it to be considered a valid tap.
|
23696
23696
|
tapTolerance: 15
|
23697
23697
|
});
|
23698
|
-
var AA =
|
23698
|
+
var AA = _t.extend({
|
23699
23699
|
addHooks: function() {
|
23700
23700
|
pe(this._map._container, "touchstart", this._onDown, this);
|
23701
23701
|
},
|
@@ -23752,7 +23752,7 @@ function QB() {
|
|
23752
23752
|
// and then bounce back when pinch-zooming.
|
23753
23753
|
bounceAtZoomLimits: !0
|
23754
23754
|
});
|
23755
|
-
var uA =
|
23755
|
+
var uA = _t.extend({
|
23756
23756
|
addHooks: function() {
|
23757
23757
|
Ce(this._map._container, "leaflet-touch-zoom"), pe(this._map._container, "touchstart", this._onTouchStart, this);
|
23758
23758
|
},
|
@@ -23791,7 +23791,7 @@ function QB() {
|
|
23791
23791
|
this._zooming = !1, oe(this._animRequest), Ke(document, "touchmove", this._onTouchMove, this), Ke(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));
|
23792
23792
|
}
|
23793
23793
|
});
|
23794
|
-
Be.addInitHook("addHandler", "touchZoom", uA), Be.BoxZoom = nA, Be.DoubleClickZoom = sA, Be.Drag = aA, Be.Keyboard = rA, Be.ScrollWheelZoom = lA, Be.TapHold = AA, Be.TouchZoom = uA, n.Bounds = Ve, n.Browser = ue, n.CRS = zt, n.Canvas = eA, n.Circle = ka, n.CircleMarker = Tn, n.Class = De, n.Control = Mt, n.DivIcon = Xl, n.DivOverlay =
|
23794
|
+
Be.addInitHook("addHandler", "touchZoom", uA), Be.BoxZoom = nA, Be.DoubleClickZoom = sA, Be.Drag = aA, Be.Keyboard = rA, Be.ScrollWheelZoom = lA, Be.TapHold = AA, Be.TouchZoom = uA, n.Bounds = Ve, n.Browser = ue, n.CRS = zt, n.Canvas = eA, n.Circle = ka, n.CircleMarker = Tn, n.Class = De, n.Control = Mt, n.DivIcon = Xl, n.DivOverlay = $t, n.DomEvent = Uf, n.DomUtil = Nf, n.Draggable = Ci, n.Evented = Ct, n.FeatureGroup = ni, n.GeoJSON = ai, n.GridLayer = Ko, n.Handler = _t, n.Icon = no, n.ImageOverlay = Nn, n.LatLng = Te, n.LatLngBounds = dt, n.Layer = Nt, n.LayerGroup = oo, n.LineUtil = $f, n.Map = Be, n.Marker = Dn, n.Mixin = Gf, n.Path = yi, n.Point = de, n.PolyUtil = Zf, n.Polygon = so, n.Polyline = si, n.Popup = Hn, n.PosAnimation = Tl, n.Projection = eg, n.Rectangle = oA, n.Renderer = ri, n.SVG = Yo, n.SVGOverlay = Jl, n.TileLayer = ro, n.Tooltip = Un, n.Transformation = Js, n.Util = ke, n.VideoOverlay = jl, n.bind = d, n.bounds = ct, n.canvas = tA, n.circle = lg, n.circleMarker = rg, n.control = Uo, n.divIcon = pg, n.extend = r, n.featureGroup = ng, n.geoJSON = Zl, n.geoJson = cg, n.gridLayer = vg, n.icon = sg, n.imageOverlay = dg, n.latLng = Ie, n.latLngBounds = Xe, n.layerGroup = og, n.map = xf, n.marker = ag, n.point = fe, n.polygon = ug, n.polyline = Ag, n.popup = gg, n.rectangle = yg, n.setOptions = k, n.stamp = f, n.svg = iA, n.svgOverlay = fg, n.tileLayer = _l, n.tooltip = mg, n.transformation = Do, n.version = s, n.videoOverlay = hg;
|
23795
23795
|
var Ig = window.L;
|
23796
23796
|
n.noConflict = function() {
|
23797
23797
|
return window.L = Ig, this;
|
@@ -23858,7 +23858,7 @@ const Vt = /* @__PURE__ */ _m(ws), OB = /* @__PURE__ */ Ap({
|
|
23858
23858
|
(...s) => console.warn(`Method ${e} has been invoked without being replaced`)
|
23859
23859
|
), n = (...s) => i.value(...s);
|
23860
23860
|
return n.wrapped = i, Kt(e, n), n;
|
23861
|
-
}, Xn = (e, i) => e.wrapped.value = i,
|
23861
|
+
}, Xn = (e, i) => e.wrapped.value = i, Gt = typeof self == "object" && self.self === self && self || typeof global == "object" && global.global === global && global || globalThis, Pt = (e) => {
|
23862
23862
|
const i = vt(e);
|
23863
23863
|
if (i === void 0)
|
23864
23864
|
throw new Error(
|
@@ -24060,7 +24060,7 @@ const Oo = {
|
|
24060
24060
|
setup(e, i) {
|
24061
24061
|
const n = Y(), s = Y(), r = vt(vi), u = Pt(_r), { options: d, methods: g } = Hh(e, n);
|
24062
24062
|
return et(async () => {
|
24063
|
-
const { Control: f, DomEvent: p } = r ?
|
24063
|
+
const { Control: f, DomEvent: p } = r ? Gt.L : await import("./revolugo.leaflet-src.esm.BnEQV3J-.min.js"), y = f.extend({
|
24064
24064
|
onAdd() {
|
24065
24065
|
return s.value;
|
24066
24066
|
}
|
@@ -24111,7 +24111,7 @@ const Uh = {
|
|
24111
24111
|
setup(e, i) {
|
24112
24112
|
const n = Y(), s = vt(vi), r = Pt(_r), { options: u, methods: d } = HB(e, n);
|
24113
24113
|
return et(async () => {
|
24114
|
-
const { control: g } = s ?
|
24114
|
+
const { control: g } = s ? Gt.L : await import("./revolugo.leaflet-src.esm.BnEQV3J-.min.js");
|
24115
24115
|
n.value = Qi(g.zoom(u)), pi(d, n.value, e), r({ leafletObject: n.value }), it(() => i.emit("ready", n.value));
|
24116
24116
|
}), { leafletObject: n };
|
24117
24117
|
},
|
@@ -24196,7 +24196,7 @@ ce({
|
|
24196
24196
|
setup(e, i) {
|
24197
24197
|
const n = Y(), s = Y(null), r = Y(!1), u = vt(vi), d = Pt(Cn), { options: g, methods: f } = Vh(e, n, i);
|
24198
24198
|
return et(async () => {
|
24199
|
-
const { GridLayer: p, DomUtil: y, Util: b } = u ?
|
24199
|
+
const { GridLayer: p, DomUtil: y, Util: b } = u ? Gt.L : await import("./revolugo.leaflet-src.esm.BnEQV3J-.min.js"), O = xB(
|
24200
24200
|
p,
|
24201
24201
|
y,
|
24202
24202
|
b,
|
@@ -24298,7 +24298,7 @@ const Mu = {
|
|
24298
24298
|
DomEvent: P,
|
24299
24299
|
divIcon: Q,
|
24300
24300
|
icon: V
|
24301
|
-
} = s ?
|
24301
|
+
} = s ? Gt.L : await import("./revolugo.leaflet-src.esm.BnEQV3J-.min.js");
|
24302
24302
|
g = P.on, f = P.off, p = Q, y = V, pi(k, {}, e), new MutationObserver(B).observe(n.value, {
|
24303
24303
|
attributes: !0,
|
24304
24304
|
childList: !0,
|
@@ -24480,10 +24480,10 @@ const Nu = {
|
|
24480
24480
|
LB
|
24481
24481
|
);
|
24482
24482
|
Kt(vi, e.useGlobalLeaflet);
|
24483
|
-
const O =
|
24483
|
+
const O = z(() => {
|
24484
24484
|
const Q = {};
|
24485
24485
|
return e.noBlockingAnimations && (Q.animate = !1), Q;
|
24486
|
-
}), S =
|
24486
|
+
}), S = z(() => {
|
24487
24487
|
const Q = O.value;
|
24488
24488
|
return e.padding && (Q.padding = e.padding), e.paddingTopLeft && (Q.paddingTopLeft = e.paddingTopLeft), e.paddingBottomRight && (Q.paddingBottomRight = e.paddingBottomRight), Q;
|
24489
24489
|
}), B = {
|
@@ -24500,8 +24500,8 @@ const Nu = {
|
|
24500
24500
|
}
|
24501
24501
|
};
|
24502
24502
|
et(async () => {
|
24503
|
-
e.useGlobalLeaflet && (
|
24504
|
-
const { map: Q, CRS: V, Icon: w, latLngBounds: F, latLng: E, stamp: H } = e.useGlobalLeaflet ?
|
24503
|
+
e.useGlobalLeaflet && (Gt.L = Gt.L || await Promise.resolve().then(() => OB));
|
24504
|
+
const { map: Q, CRS: V, Icon: w, latLngBounds: F, latLng: E, stamp: H } = e.useGlobalLeaflet ? Gt.L : await import("./revolugo.leaflet-src.esm.BnEQV3J-.min.js");
|
24505
24505
|
try {
|
24506
24506
|
u.beforeMapMount && await u.beforeMapMount();
|
24507
24507
|
} catch (K) {
|
@@ -24564,7 +24564,7 @@ const Nu = {
|
|
24564
24564
|
}), Ji(() => {
|
24565
24565
|
Sh(B), s.leafletRef && (s.leafletRef.off(), s.leafletRef.remove());
|
24566
24566
|
});
|
24567
|
-
const k =
|
24567
|
+
const k = z(() => s.leafletRef), P = z(() => s.ready);
|
24568
24568
|
return { root: n, ready: P, leafletObject: k, attrs: g };
|
24569
24569
|
},
|
24570
24570
|
render({ attrs: e }) {
|
@@ -24652,7 +24652,7 @@ const Zo = ce({
|
|
24652
24652
|
moveHandler: Kh(g.latLngSync)
|
24653
24653
|
};
|
24654
24654
|
return et(async () => {
|
24655
|
-
const { marker: p, divIcon: y } = r ?
|
24655
|
+
const { marker: p, divIcon: y } = r ? Gt.L : await import("./revolugo.leaflet-src.esm.BnEQV3J-.min.js");
|
24656
24656
|
WB(d, i) && (d.icon = y({ className: "" })), n.value = Qi(p(e.latLng, d));
|
24657
24657
|
const { listeners: b } = $i(i.attrs);
|
24658
24658
|
n.value.on(b), n.value.on("move", f.moveHandler), pi(g, n.value, e), u({
|
@@ -24710,7 +24710,7 @@ const Zo = ce({
|
|
24710
24710
|
setup(e, i) {
|
24711
24711
|
const n = Y(), s = Y(null), r = vt(vi), u = Pt(Th), d = Pt(Fh), { options: g, methods: f } = JB(e, n);
|
24712
24712
|
return et(async () => {
|
24713
|
-
const { popup: p } = r ?
|
24713
|
+
const { popup: p } = r ? Gt.L : await import("./revolugo.leaflet-src.esm.BnEQV3J-.min.js");
|
24714
24714
|
n.value = Qi(p(g)), e.latLng !== void 0 && n.value.setLatLng(e.latLng), pi(f, n.value, e);
|
24715
24715
|
const { listeners: y } = $i(i.attrs);
|
24716
24716
|
n.value.on(y), n.value.setContent(e.content || s.value || ""), u(n.value), it(() => i.emit("ready", n.value));
|
@@ -24761,7 +24761,7 @@ const el = {
|
|
24761
24761
|
setup(e, i) {
|
24762
24762
|
const n = Y(), s = vt(vi), r = Pt(Cn), { options: u, methods: d } = _B(e, n, i);
|
24763
24763
|
return et(async () => {
|
24764
|
-
const { tileLayer: g } = s ?
|
24764
|
+
const { tileLayer: g } = s ? Gt.L : await import("./revolugo.leaflet-src.esm.BnEQV3J-.min.js");
|
24765
24765
|
n.value = Qi(g(e.url, u));
|
24766
24766
|
const { listeners: f } = $i(i.attrs);
|
24767
24767
|
n.value.on(f), pi(d, n.value, e), r({
|
@@ -24787,7 +24787,7 @@ const el = {
|
|
24787
24787
|
setup(e, i) {
|
24788
24788
|
const n = Y(), s = Y(null), r = vt(vi), u = Pt(Lh), { options: d, methods: g } = t3(e, n);
|
24789
24789
|
return et(async () => {
|
24790
|
-
const { tooltip: f } = r ?
|
24790
|
+
const { tooltip: f } = r ? Gt.L : await import("./revolugo.leaflet-src.esm.BnEQV3J-.min.js");
|
24791
24791
|
n.value = Qi(f(d)), pi(g, n.value, e);
|
24792
24792
|
const { listeners: p } = $i(i.attrs);
|
24793
24793
|
n.value.on(p), n.value.setContent(e.content || s.value || ""), u(n.value), it(() => i.emit("ready", n.value));
|
@@ -24891,7 +24891,7 @@ const s3 = { class: "hotel-offers-map" }, a3 = { key: 0 }, r3 = { key: 1 }, Xh =
|
|
24891
24891
|
iconUrl: jh,
|
24892
24892
|
shadowUrl: Jh
|
24893
24893
|
});
|
24894
|
-
const { t: n } = Ge(), s = i, r = e, u =
|
24894
|
+
const { t: n } = Ge(), s = i, r = e, u = z(() => r.hotelOffers), d = Lc(z(() => r.height)), g = Y(!1), f = z(() => {
|
24895
24895
|
const E = "lite.day", H = g.value ? "features=public_transit:all_systems&ppi=400" : "";
|
24896
24896
|
return `https://maps.hereapi.com/v3/base/mc/{z}/{x}/{y}/png8?style=${E}&${H}&apiKey={apiKey}`;
|
24897
24897
|
}), p = Y(null), y = Y(null), b = Y(void 0), O = Y(15);
|
@@ -24927,13 +24927,13 @@ const s3 = { class: "hotel-offers-map" }, a3 = { key: 0 }, r3 = { key: 1 }, Xh =
|
|
24927
24927
|
p.value.$el
|
24928
24928
|
);
|
24929
24929
|
});
|
24930
|
-
const B =
|
24930
|
+
const B = z(
|
24931
24931
|
() => r.hasErrorHotelOfferRequest || r.hasErrorHotelOffers
|
24932
|
-
), k =
|
24932
|
+
), k = z(
|
24933
24933
|
() => !r.hotelOfferRequest.latitude && !r.hotelOfferRequest.longitude
|
24934
|
-
), P =
|
24934
|
+
), P = z(
|
24935
24935
|
() => r.hotelOfferRequest.latitude && r.hotelOfferRequest.longitude ? [r.hotelOfferRequest.latitude, r.hotelOfferRequest.longitude] : void 0
|
24936
|
-
), Q =
|
24936
|
+
), Q = z(
|
24937
24937
|
() => r.hotelOfferRequest.longitude && r.hotelOfferRequest.latitude ? [r.hotelOfferRequest.latitude, r.hotelOfferRequest.longitude] : void 0
|
24938
24938
|
);
|
24939
24939
|
function V(E) {
|
@@ -24969,9 +24969,9 @@ const s3 = { class: "hotel-offers-map" }, a3 = { key: 0 }, r3 = { key: 1 }, Xh =
|
|
24969
24969
|
), le(u, () => {
|
24970
24970
|
S();
|
24971
24971
|
}), (E, H) => (C(), W("div", s3, [
|
24972
|
-
B.value ? (C(), N(
|
24972
|
+
B.value ? (C(), N(jt, {
|
24973
24973
|
key: 0,
|
24974
|
-
style:
|
24974
|
+
style: Yt({ height: E.height })
|
24975
24975
|
}, {
|
24976
24976
|
title: c(() => [
|
24977
24977
|
q(T(I(n)("HotelOffersMap.error.title")), 1)
|
@@ -24994,7 +24994,7 @@ const s3 = { class: "hotel-offers-map" }, a3 = { key: 0 }, r3 = { key: 1 }, Xh =
|
|
24994
24994
|
l(Ec, null, {
|
24995
24995
|
default: c(() => [
|
24996
24996
|
D("div", {
|
24997
|
-
style:
|
24997
|
+
style: Yt([{ "min-height": "500px" }, {
|
24998
24998
|
height: I(d),
|
24999
24999
|
maxHeight: E.maxHeight
|
25000
25000
|
}])
|
@@ -25491,27 +25491,27 @@ const l3 = /* @__PURE__ */ xe(Xh, [["__scopeId", "data-v-fc24312a"]]), Gs = {
|
|
25491
25491
|
createHotelOfferRequest: O,
|
25492
25492
|
hasError: S,
|
25493
25493
|
hotelOfferRequest: B
|
25494
|
-
} = SB(n), { nightCount: k } = an(Tc()), P = Y(!0), Q =
|
25494
|
+
} = SB(n), { nightCount: k } = an(Tc()), P = Y(!0), Q = Wt({
|
25495
25495
|
cb: (Ae) => Er(Ae, "hotelRoomOfferList"),
|
25496
25496
|
fallbackValue: Gs,
|
25497
|
-
prop:
|
25498
|
-
}), V =
|
25497
|
+
prop: z(() => n.features)
|
25498
|
+
}), V = Wt({
|
25499
25499
|
cb: (Ae) => (Ae || []).map((me) => ({
|
25500
25500
|
size: 45,
|
25501
25501
|
...me
|
25502
25502
|
})),
|
25503
25503
|
fallbackValue: [],
|
25504
|
-
prop:
|
25505
|
-
}), w =
|
25504
|
+
prop: z(() => n.markers)
|
25505
|
+
}), w = Wt({
|
25506
25506
|
cb: (Ae) => ({
|
25507
25507
|
size: 70,
|
25508
25508
|
...Ae
|
25509
25509
|
}),
|
25510
|
-
prop:
|
25510
|
+
prop: z(() => n.venue)
|
25511
25511
|
}), F = Y(!1), E = Y(!1), H = Y({
|
25512
25512
|
lat: n?.latitude || w.value?.latitude || B.value?.latitude || void 0,
|
25513
25513
|
lng: n.longitude || w.value?.longitude || B.value?.longitude || void 0
|
25514
|
-
}), G = Y(!0), ee =
|
25514
|
+
}), G = Y(!0), ee = z(() => {
|
25515
25515
|
const Ae = {
|
25516
25516
|
latitude: n.venue?.latitude || B.value?.latitude,
|
25517
25517
|
longitude: n.venue?.longitude || B.value?.longitude
|
@@ -25650,17 +25650,17 @@ const l3 = /* @__PURE__ */ xe(Xh, [["__scopeId", "data-v-fc24312a"]]), Gs = {
|
|
25650
25650
|
$isCurrentBreakpointAboveOrEqual: b,
|
25651
25651
|
$isCurrentBreakpointBelow: O,
|
25652
25652
|
$isCurrentBreakpointBelowOrEqual: S
|
25653
|
-
} = Wi(p), B = Lc(
|
25653
|
+
} = Wi(p), B = Lc(z(() => i.height)), k = Wt({
|
25654
25654
|
fallbackValue: tl,
|
25655
|
-
prop:
|
25656
|
-
}), P =
|
25655
|
+
prop: z(() => i.features)
|
25656
|
+
}), P = Wt({
|
25657
25657
|
fallbackValue: !0,
|
25658
|
-
prop:
|
25658
|
+
prop: z(() => i.mapFirstOnMobile)
|
25659
25659
|
}), { hotelOfferRequestInternal: Q } = V2(i), V = Y(""), w = Y(void 0), F = Y(
|
25660
25660
|
S("sm") && P.value || !1
|
25661
|
-
), E = Y(!1), H = Y(void 0), G = Y(null), ee =
|
25661
|
+
), E = Y(!1), H = Y(void 0), G = Y(null), ee = z(
|
25662
25662
|
() => f.value && E.value && b("sm") || d.value && (!!u.value?.length || F.value && S("sm"))
|
25663
|
-
), K =
|
25663
|
+
), K = z(() => g.value), Z = (De) => {
|
25664
25664
|
V.value = De.id;
|
25665
25665
|
}, _ = () => {
|
25666
25666
|
V.value = "";
|
@@ -25679,9 +25679,9 @@ const l3 = /* @__PURE__ */ xe(Xh, [["__scopeId", "data-v-fc24312a"]]), Gs = {
|
|
25679
25679
|
class: "d-flex flex-column position-relative",
|
25680
25680
|
ref_key: "root",
|
25681
25681
|
ref: p,
|
25682
|
-
style:
|
25682
|
+
style: Yt({ height: I(B) })
|
25683
25683
|
}, [
|
25684
|
-
K.value ? (C(), N(I(
|
25684
|
+
K.value ? (C(), N(I(jt), { key: 0 }, {
|
25685
25685
|
title: c(() => [
|
25686
25686
|
q(T(I(n)("HotelOffersView.error.title")), 1)
|
25687
25687
|
]),
|
@@ -25730,7 +25730,7 @@ const l3 = /* @__PURE__ */ xe(Xh, [["__scopeId", "data-v-fc24312a"]]), Gs = {
|
|
25730
25730
|
cols: "12",
|
25731
25731
|
lg: "6",
|
25732
25732
|
md: "7",
|
25733
|
-
style:
|
25733
|
+
style: Yt({
|
25734
25734
|
maxWidth: I(S)("sm") ? "100%" : E.value ? "0" : "520px"
|
25735
25735
|
}),
|
25736
25736
|
xl: "5"
|
@@ -26129,7 +26129,7 @@ const m3 = /* @__PURE__ */ xe(ef, [["__scopeId", "data-v-fd896d75"]]), Zs = {
|
|
26129
26129
|
readonly: !1,
|
26130
26130
|
value: u.form.emailAddress
|
26131
26131
|
}
|
26132
|
-
}), O = Y(null), S =
|
26132
|
+
}), O = Y(null), S = z(
|
26133
26133
|
() => p.value && Object.values(
|
26134
26134
|
ip(b.value, [
|
26135
26135
|
"organizationName",
|
@@ -26724,7 +26724,7 @@ const m3 = /* @__PURE__ */ xe(ef, [["__scopeId", "data-v-fd896d75"]]), Zs = {
|
|
26724
26724
|
]),
|
26725
26725
|
_: 1
|
26726
26726
|
}, 8, ["model-value"]),
|
26727
|
-
w.bookingPolicyId ? j("", !0) : (C(), N(I(
|
26727
|
+
w.bookingPolicyId ? j("", !0) : (C(), N(I(jt), { key: 2 }, {
|
26728
26728
|
title: c(() => [
|
26729
26729
|
q(T(I(r)("PrebookForm.missingBookingPolicy.title")), 1)
|
26730
26730
|
]),
|
@@ -27276,20 +27276,20 @@ const E3 = /* @__PURE__ */ xe(of, [["__scopeId", "data-v-50af2152"]]), ol = /* @
|
|
27276
27276
|
__name: "PrebookForm",
|
27277
27277
|
props: il,
|
27278
27278
|
setup(e) {
|
27279
|
-
const i = e, { locale: n, t: s } = Ge(), { bookingApiClient: r, isBookingApiClientDefined: u } = ji(), { config: d } = bn(), { eventBus: g } = Xi(), f = Y(i?.bookingId || ""), p = Y(!1), y = Y(!1), b =
|
27279
|
+
const i = e, { locale: n, t: s } = Ge(), { bookingApiClient: r, isBookingApiClientDefined: u } = ji(), { config: d } = bn(), { eventBus: g } = Xi(), f = Y(i?.bookingId || ""), p = Y(!1), y = Y(!1), b = Wt({
|
27280
27280
|
cb: (P) => Er(P, "hotelRoomOfferList"),
|
27281
27281
|
fallbackValue: Zs,
|
27282
|
-
prop:
|
27283
|
-
}), O =
|
27282
|
+
prop: z(() => i.features)
|
27283
|
+
}), O = z(
|
27284
27284
|
() => Object.values(Im).sort(
|
27285
27285
|
(P, Q) => P.name.localeCompare(Q.name)
|
27286
27286
|
)
|
27287
|
-
), S =
|
27287
|
+
), S = z(
|
27288
27288
|
() => Object.values(Dc).map((P) => ({
|
27289
27289
|
text: s(`PrebookForm.salutations.${P}`),
|
27290
27290
|
value: P
|
27291
27291
|
}))
|
27292
|
-
), B =
|
27292
|
+
), B = z(
|
27293
27293
|
() => i.paymentMethods.split(",").filter(
|
27294
27294
|
(P) => Object.values(tf).includes(
|
27295
27295
|
P
|
@@ -27524,18 +27524,18 @@ const nf = {
|
|
27524
27524
|
__name: "FullBookingFlow",
|
27525
27525
|
props: I3,
|
27526
27526
|
setup(e) {
|
27527
|
-
const i = e, { t: n } = Ge(), s = Y(void 0), r = Y(void 0), u = Y({}), d = Y(void 0), g = Y(Ut.Idle), f = Y(1), p = Y(), y =
|
27527
|
+
const i = e, { t: n } = Ge(), s = Y(void 0), r = Y(void 0), u = Y({}), d = Y(void 0), g = Y(Ut.Idle), f = Y(1), p = Y(), y = z(
|
27528
27528
|
() => g.value === Ut.PaymentSuccessful
|
27529
|
-
), b =
|
27529
|
+
), b = z(
|
27530
27530
|
() => g.value === Ut.Prebook && r.value !== void 0
|
27531
|
-
), O =
|
27531
|
+
), O = z(() => {
|
27532
27532
|
let ee = "";
|
27533
27533
|
return b.value ? ee = "cancel" : ee = y.value ? "makeNewBook" : "back", n(`FullBookingFlow.${ee}`);
|
27534
|
-
}), S =
|
27534
|
+
}), S = z(
|
27535
27535
|
() => [Ut.PaymentRequested, Ut.PaymentSuccessful].includes(
|
27536
27536
|
g.value
|
27537
27537
|
) && s.value !== void 0
|
27538
|
-
), B =
|
27538
|
+
), B = z(() => {
|
27539
27539
|
const ee = {
|
27540
27540
|
...i,
|
27541
27541
|
...d.value,
|
@@ -27572,9 +27572,9 @@ const nf = {
|
|
27572
27572
|
function H() {
|
27573
27573
|
b.value ? p.value = !0 : S.value && (y.value ? F() : E());
|
27574
27574
|
}
|
27575
|
-
const G =
|
27575
|
+
const G = Wt({
|
27576
27576
|
fallbackValue: nf,
|
27577
|
-
prop:
|
27577
|
+
prop: z(() => i.features)
|
27578
27578
|
});
|
27579
27579
|
return (ee, K) => (C(), W("div", null, [
|
27580
27580
|
gt(l(X, null, {
|
@@ -28628,7 +28628,7 @@ const Y3 = /* @__PURE__ */ xe(rf, [["render", F3], ["__scopeId", "data-v-d07284a
|
|
28628
28628
|
...z3,
|
28629
28629
|
tagClasses: { type: String }
|
28630
28630
|
};
|
28631
|
-
Dg("css/revolugo.cancellationpoliciesbadge.
|
28631
|
+
Dg("css/revolugo.cancellationpoliciesbadge.DpWJjD3n.css");
|
28632
28632
|
export {
|
28633
28633
|
q3 as B,
|
28634
28634
|
ad as C,
|
@@ -28663,4 +28663,4 @@ export {
|
|
28663
28663
|
ol as y,
|
28664
28664
|
fv as z
|
28665
28665
|
};
|
28666
|
-
//# sourceMappingURL=revolugo.cancellationpoliciesbadge.props.
|
28666
|
+
//# sourceMappingURL=revolugo.cancellationpoliciesbadge.props.XpJXd8rX.min.js.map
|