@revolugo/elements 6.10.0 → 6.10.1-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/{revolugo.webcomponentwrapper.tdJpTMeE.css → revolugo.webcomponentwrapper.DToKAESq.css} +1 -1
- package/dist/index.es.min.js +15 -15
- package/dist/index.es.min.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/{revolugo.banktransferdetails.DupS7IfR.min.js → revolugo.banktransferdetails.DjzOKXdQ.min.js} +6 -6
- package/dist/{revolugo.bookingdetailssidebar.DfRXD5Jf.min.js → revolugo.bookingdetailssidebar.BFtwNk8j.min.js} +6 -6
- package/dist/{revolugo.bookingmanager.CYGKZh_J.min.js → revolugo.bookingmanager.CksZInRj.min.js} +6 -6
- package/dist/{revolugo.cancellationpoliciesbadge.B75xk51t.min.js → revolugo.cancellationpoliciesbadge.Dkf8O6K1.min.js} +6 -6
- package/dist/{revolugo.cancellationpoliciesbadge.props.DIVTRsnv.min.js → revolugo.cancellationpoliciesbadge.props.Dl4QithG.min.js} +248 -245
- package/dist/{revolugo.cancellationpolicieslist.C5dTV1xP.min.js → revolugo.cancellationpolicieslist.DIwdNsCZ.min.js} +6 -6
- package/dist/{revolugo.creditcardstripeform.BEucyzHr.min.js → revolugo.creditcardstripeform.CGSnX49g.min.js} +4 -4
- package/dist/{revolugo.creditcardstripeform.BZOpOOyz.min.js → revolugo.creditcardstripeform.NRr470ha.min.js} +4 -4
- package/dist/{revolugo.currencypickerbtn.CtnmQrGf.min.js → revolugo.currencypickerbtn.CBRWhzXn.min.js} +6 -6
- package/dist/{revolugo.dialog-attach.BzUPB8KD.min.js → revolugo.dialog-attach.CnduiK1m.min.js} +2 -2
- package/dist/{revolugo.fastbookingflow.Dn_Qrm1B.min.js → revolugo.fastbookingflow.DRXDLN2W.min.js} +6 -6
- package/dist/{revolugo.fullbookingflow.Cy-70ksS.min.js → revolugo.fullbookingflow.Conip9au.min.js} +6 -6
- package/dist/{revolugo.hoteldescriptionview.DhMcR1tb.min.js → revolugo.hoteldescriptionview.C2djSsg0.min.js} +6 -6
- package/dist/{revolugo.hotelofferlist.CC5GBG19.min.js → revolugo.hotelofferlist.BPZ5o5RF.min.js} +6 -6
- package/dist/{revolugo.hoteloffersearchmenu.CQUZPhAK.min.js → revolugo.hoteloffersearchmenu.CgKo5d_D.min.js} +7 -7
- package/dist/{revolugo.hoteloffersmap.Cxflk9aG.min.js → revolugo.hoteloffersmap.BRvdVVPW.min.js} +6 -6
- package/dist/{revolugo.hoteloffersview.BlJRVvWd.min.js → revolugo.hoteloffersview.DYlbSM67.min.js} +6 -6
- package/dist/{revolugo.hotelroomofferlist.DPfRXaou.min.js → revolugo.hotelroomofferlist.eEz3tiRC.min.js} +6 -6
- package/dist/{revolugo.hotelroomoffersbookingflow.CbZ_iznz.min.js → revolugo.hotelroomoffersbookingflow.DmTIdJKu.min.js} +6 -6
- package/dist/{revolugo.hotelroomoffersearchmenu.DJtUV8s9.min.js → revolugo.hotelroomoffersearchmenu.DdnpcJVI.min.js} +6 -6
- package/dist/{revolugo.hotelroomoffersview.CNG73LpB.min.js → revolugo.hotelroomoffersview.BorRLexD.min.js} +6 -6
- package/dist/{revolugo.index.-iJ7rUTS.min.js → revolugo.index.CziF06-b.min.js} +2 -2
- package/dist/{revolugo.index.wc.DOAGltWa.min.js → revolugo.index.wc.N79NLGAe.min.js} +26 -26
- package/dist/{revolugo.langpickerbtn.AB3Pjfi4.min.js → revolugo.langpickerbtn.1XGjmANe.min.js} +6 -6
- package/dist/revolugo.min.js +1 -1
- package/dist/{revolugo.prebookform.B46C4xSY.min.js → revolugo.prebookform.Ho4mWYd_.min.js} +6 -6
- package/dist/{revolugo.preferencesmenu.5fQrhq0v.min.js → revolugo.preferencesmenu.C9wjQT82.min.js} +4 -4
- package/dist/{revolugo.preferencesmenu.pP7Ampzy.min.js → revolugo.preferencesmenu.OcvSjvcN.min.js} +5 -5
- package/dist/{revolugo.roominglisteditor.j3Hg-1xI.min.js → revolugo.roominglisteditor.UGUSJbUS.min.js} +6 -6
- package/dist/{revolugo.storybooktoolbar.Cr9c3yAc.min.js → revolugo.storybooktoolbar.TefEIn4G.min.js} +5 -5
- package/dist/{revolugo.termsandconditions.BQ0FaG-6.min.js → revolugo.termsandconditions.cn_kPwjL.min.js} +6 -6
- package/dist/{revolugo.vtoolbar.DVujF04F.min.js → revolugo.vtoolbar.BSDPla3H.min.js} +3 -3
- package/dist/{revolugo.webcomponentwrapper.bUqIZZlB.min.js → revolugo.webcomponentwrapper.OIjVBSSI.min.js} +3 -3
- package/package.json +5 -5
@@ -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 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.
|
2
|
-
import { B as vr, C as nn, i as Y, b as
|
3
|
-
import { u as Wt, p as np, C as sp, V as ap } from "./revolugo.creditcardstripeform.
|
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.OIjVBSSI.min.js";
|
2
|
+
import { B as vr, C as nn, i as Y, b as M, 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.N79NLGAe.min.js";
|
3
|
+
import { u as Wt, p as np, C as sp, V as ap } from "./revolugo.creditcardstripeform.NRr470ha.min.js";
|
4
|
+
import { V as gs } from "./revolugo.vtoolbar.BSDPla3H.min.js";
|
5
|
+
import { s as qi, w as kr, g as rp, a as lp } from "./revolugo.index.CziF06-b.min.js";
|
6
|
+
import { P as Ga, a as Za, b as Qc } from "./revolugo.preferencesmenu.OcvSjvcN.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 = M(
|
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) => M(() => 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 = M(() => 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({
|
@@ -529,7 +529,7 @@ const fp = Oe({
|
|
529
529
|
},
|
530
530
|
setup(e) {
|
531
531
|
const { t: i } = Ge(), n = e, s = Wt({
|
532
|
-
prop:
|
532
|
+
prop: M(() => 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 = M(() => !s.checkInDate || !s.checkOutDate ? 0 : $e(s.checkOutDate).diff($e(s.checkInDate), "days")), g = M(
|
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 = M(
|
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 = M(() => ({
|
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 = M(() => 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 = M(() => s?.disabled.value || e.disabled), p = M(() => s.group.items.value.reduce((O, S, B) => (s.group.selected.value.includes(S.id) && O.push(B), O), [])), y = M(() => {
|
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 = M(() => {
|
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 = M(() => 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 = M(() => {
|
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, "");
|
@@ -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 = M(() => r.value ? !e.reverse : e.reverse), p = Tt(!1), y = M(() => {
|
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 = M(() => 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 = M(() => e.continuous || S.value !== 0), k = M(() => 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 = M(() => {
|
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 = M(() => 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 = M(() => 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 = M(() => {
|
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 = M(() => Array.isArray(e.disabled) ? e.disabled.includes("text") : !!e.disabled), r = M(() => Array.isArray(e.disabled) ? e.disabled.includes("mode") : !!e.disabled), u = M(() => Array.isArray(e.disabled) ? e.disabled.includes("prev") : !!e.disabled), d = M(() => 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 = M(() => 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 = M(() => e.firstDayOfWeek ?? e.weekdays[0]), g = M(() => {
|
3654
3654
|
const B = Number(e.firstDayOfWeek ?? 0);
|
3655
3655
|
return e.weekdays.map((k) => (k + B) % 7);
|
3656
|
-
}), f =
|
3656
|
+
}), f = M(() => {
|
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 = M(() => {
|
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 = M(() => {
|
3696
3696
|
const B = f.value.flat(), k = i.date();
|
3697
3697
|
return p(B, k);
|
3698
|
-
}), O =
|
3698
|
+
}), O = M(() => 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 = M(() => 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 = M(() => {
|
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 = M(() => {
|
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 = M(() => {
|
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 = M(() => {
|
4083
4083
|
const K = r.date(e.min);
|
4084
4084
|
return e.min && r.isValid(K) ? K : null;
|
4085
|
-
}), p =
|
4085
|
+
}), p = M(() => {
|
4086
4086
|
const K = r.date(e.max);
|
4087
4087
|
return e.max && r.isValid(K) ? K : null;
|
4088
|
-
}), y =
|
4088
|
+
}), y = M(() => {
|
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 = M(() => 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 = M(() => {
|
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 = M(() => `date-picker-header${S.value ? "-reverse" : ""}-transition`), Q = M(() => {
|
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 = M(() => 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: M(() => parseInt(e.order, 10)),
|
4254
|
+
position: M(() => "bottom"),
|
4255
4255
|
layoutSize: O,
|
4256
|
-
elementSize:
|
4257
|
-
active:
|
4256
|
+
elementSize: M(() => e.height === "auto" ? void 0 : O.value),
|
4257
|
+
active: M(() => 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 = M(() => s?.value.value ?? e.value), u = M(() => e.rules.every((O) => O() === !0)), d = M(() => !e.disabled && e.editable), g = M(() => !e.disabled && e.editable), f = M(() => e.error || !u.value), p = M(() => e.complete || e.rules.length > 0 && u.value), y = M(() => f.value ? e.errorIcon : p.value ? e.completeIcon : s.isSelected.value && e.editable ? e.editIcon : e.icon), b = M(() => ({
|
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 = M({
|
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 = M(() => 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 = M(() => s.value.findIndex((w) => d.value.includes(w.id))), V = M(() => 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 = M(() => e.direction === "horizontal"), p = M(() => 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 = M({
|
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 = M(() => 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 = M(() => typeof e.counterValue == "function" ? e.counterValue(u.value) : (u.value || "").toString().length), y = M(() => {
|
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 = M(() => 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 = M(() => ["plain", "underlined"].includes(e.variant));
|
4987
4987
|
fn(() => {
|
4988
4988
|
e.autoGrow || (G.value = Number(e.rows));
|
4989
4989
|
});
|
@@ -5114,29 +5114,32 @@ const lb = Oe({
|
|
5114
5114
|
}),
|
5115
5115
|
emits: /* @__PURE__ */ sn(["change"], ["update:currentSlideIndex"]),
|
5116
5116
|
setup(e) {
|
5117
|
-
const i = Cr(e, "currentSlideIndex"), n = e
|
5118
|
-
return (
|
5117
|
+
const i = Cr(e, "currentSlideIndex"), n = e;
|
5118
|
+
return (s, r) => (C(), N(I(Va), {
|
5119
5119
|
ref: "slide-group",
|
5120
5120
|
modelValue: i.value,
|
5121
|
-
"onUpdate:modelValue":
|
5121
|
+
"onUpdate:modelValue": r[0] || (r[0] = (u) => i.value = u),
|
5122
5122
|
"center-active": "",
|
5123
5123
|
mandatory: "",
|
5124
5124
|
"show-arrows": !1,
|
5125
|
-
style: Yt({ height:
|
5125
|
+
style: Yt({ height: s.height })
|
5126
5126
|
}, {
|
5127
5127
|
default: c(() => [
|
5128
|
-
(C(!0), W(ae, null, qe(
|
5129
|
-
default: c(({ isSelected:
|
5128
|
+
(C(!0), W(ae, null, qe(n.imageUrls, (u, d) => (C(), N(I(Gv), { key: d }, {
|
5129
|
+
default: c(({ isSelected: g, toggle: f }) => [
|
5130
5130
|
D("div", {
|
5131
|
-
class: ot(["thumb cursor-pointer", {
|
5132
|
-
|
5133
|
-
|
5134
|
-
|
5131
|
+
class: ot(["thumb cursor-pointer", {
|
5132
|
+
active: g,
|
5133
|
+
"mr-1": d < n.imageUrls.length - 1
|
5134
|
+
}]),
|
5135
|
+
"data-index": d,
|
5136
|
+
onClick: (p) => {
|
5137
|
+
f(), s.$emit("change", d);
|
5135
5138
|
}
|
5136
5139
|
}, [
|
5137
5140
|
D("img", {
|
5138
|
-
class: ot(["h-100", { rounded:
|
5139
|
-
src:
|
5141
|
+
class: ot(["h-100", { rounded: s.rounded }]),
|
5142
|
+
src: u,
|
5140
5143
|
style: { maxWidth: "105px" }
|
5141
5144
|
}, null, 10, db)
|
5142
5145
|
], 10, cb)
|
@@ -5147,7 +5150,7 @@ const lb = Oe({
|
|
5147
5150
|
_: 1
|
5148
5151
|
}, 8, ["modelValue", "style"]));
|
5149
5152
|
}
|
5150
|
-
}), fb = /* @__PURE__ */ xe(hb, [["__scopeId", "data-v-
|
5153
|
+
}), fb = /* @__PURE__ */ xe(hb, [["__scopeId", "data-v-5441a04f"]]), gb = /* @__PURE__ */ ce({
|
5151
5154
|
__name: "BImageCarousel",
|
5152
5155
|
props: {
|
5153
5156
|
clickable: { type: Boolean, default: !1 },
|
@@ -5179,7 +5182,7 @@ const lb = Oe({
|
|
5179
5182
|
const k = n.imageUrls.length;
|
5180
5183
|
d.value = (k + d.value + B) % k, g();
|
5181
5184
|
}
|
5182
|
-
const b =
|
5185
|
+
const b = M(() => n.isLoading ? [
|
5183
5186
|
{
|
5184
5187
|
type: "loading",
|
5185
5188
|
url: void 0
|
@@ -5192,7 +5195,7 @@ const lb = Oe({
|
|
5192
5195
|
] : n.imageUrls.slice(0, n.limit).map((B) => ({
|
5193
5196
|
type: "image",
|
5194
5197
|
url: B
|
5195
|
-
}))), O =
|
5198
|
+
}))), O = M(() => {
|
5196
5199
|
if (!r.value)
|
5197
5200
|
return [];
|
5198
5201
|
if (n.lazy === 0)
|
@@ -6474,7 +6477,7 @@ const q3 = /* @__PURE__ */ xe(nd, [["render", Zb]]), jb = ["innerHTML"], Jb = ["
|
|
6474
6477
|
timezone: {}
|
6475
6478
|
},
|
6476
6479
|
setup(e) {
|
6477
|
-
const { locale: i, t: n } = Ge(), s = e, r = Y(null), u =
|
6480
|
+
const { locale: i, t: n } = Ge(), s = e, r = Y(null), u = M(() => {
|
6478
6481
|
if (typeof s.cancellationPolicies == "string")
|
6479
6482
|
try {
|
6480
6483
|
return JSON.parse(s.cancellationPolicies);
|
@@ -6482,7 +6485,7 @@ const q3 = /* @__PURE__ */ xe(nd, [["render", Zb]]), jb = ["innerHTML"], Jb = ["
|
|
6482
6485
|
return [];
|
6483
6486
|
}
|
6484
6487
|
return s.cancellationPolicies;
|
6485
|
-
}), d =
|
6488
|
+
}), d = M(
|
6486
6489
|
() => Vm(
|
6487
6490
|
Km({
|
6488
6491
|
cancellationPolicies: u.value,
|
@@ -6491,9 +6494,9 @@ const q3 = /* @__PURE__ */ xe(nd, [["render", Zb]]), jb = ["innerHTML"], Jb = ["
|
|
6491
6494
|
timezone: s.timezone
|
6492
6495
|
})
|
6493
6496
|
)
|
6494
|
-
), g =
|
6497
|
+
), g = M(
|
6495
6498
|
() => qm(d.value)
|
6496
|
-
), f =
|
6499
|
+
), f = M(() => g.value?.penaltyPercentage === 0 ? "fas fa-regular fa-circle-check" : g.value?.penaltyPercentage === 100 ? "" : "fas fa-circle-info");
|
6497
6500
|
function p(b) {
|
6498
6501
|
return new Date(b).toLocaleTimeString(i.value, {
|
6499
6502
|
day: "numeric",
|
@@ -10896,11 +10899,11 @@ const sh = {
|
|
10896
10899
|
setup(e, { expose: i, emit: n }) {
|
10897
10900
|
const s = n, { t: r } = Ge(), u = e, d = Y(!1), g = Y(
|
10898
10901
|
rt.CreditCard
|
10899
|
-
), f = Y(!1), p = Y(!1), y = Y(!1), b = Y(null), O = Gm("CREDIT_CARD"), S =
|
10902
|
+
), f = Y(!1), p = Y(!1), y = Y(!1), b = Y(null), O = Gm("CREDIT_CARD"), S = M(
|
10900
10903
|
() => u.paymentMethods.find(
|
10901
10904
|
(w) => w.name === rt.CreditCard && w.payload
|
10902
10905
|
)
|
10903
|
-
), B =
|
10906
|
+
), B = M(() => {
|
10904
10907
|
const w = u.paymentMethods.find(
|
10905
10908
|
(F) => F.name === rt.Coupon && F.payload
|
10906
10909
|
);
|
@@ -11128,16 +11131,16 @@ const M2 = { class: "text-green" }, N2 = { key: 1 }, H2 = { class: "w-100 d-flex
|
|
11128
11131
|
},
|
11129
11132
|
emits: ["payment:success"],
|
11130
11133
|
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 =
|
11134
|
+
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 = M(
|
11132
11135
|
() => g.value?.payLater === Qa.Forced
|
11133
|
-
), w =
|
11136
|
+
), w = M(
|
11134
11137
|
() => g.value?.payLater && [
|
11135
11138
|
Qa.Enabled,
|
11136
11139
|
Qa.Forced
|
11137
11140
|
].includes(g.value?.payLater)
|
11138
|
-
), F =
|
11141
|
+
), F = M(
|
11139
11142
|
() => Zm(g.value?.paymentMethods ?? [], "name")
|
11140
|
-
), E =
|
11143
|
+
), E = M(() => F.value[rt.CreditCard] && F.value[rt.CreditCard].payload ? F.value[rt.CreditCard].payload : null);
|
11141
11144
|
async function H() {
|
11142
11145
|
try {
|
11143
11146
|
if (F.value[rt.Coupon]?.payload?.amount === g.value?.taxIncludedPrice) {
|
@@ -12155,11 +12158,11 @@ const Bs = {
|
|
12155
12158
|
width: {}
|
12156
12159
|
},
|
12157
12160
|
setup(e) {
|
12158
|
-
const i = e, n =
|
12161
|
+
const i = e, n = M(() => ({
|
12159
12162
|
borderBottomLeftRadius: "0px",
|
12160
12163
|
borderTopLeftRadius: "0px",
|
12161
12164
|
borderTopRightRadius: "0px"
|
12162
|
-
})), s =
|
12165
|
+
})), s = M(() => Br(i.hotelImages || []));
|
12163
12166
|
return (r, u) => (C(), N(I(Or), {
|
12164
12167
|
clickable: "",
|
12165
12168
|
height: r.height,
|
@@ -12816,8 +12819,8 @@ const Yr = {
|
|
12816
12819
|
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
12820
|
cb: (E) => Er(E, "hotelRoomOfferList"),
|
12818
12821
|
fallbackValue: Yr,
|
12819
|
-
prop:
|
12820
|
-
}), S =
|
12822
|
+
prop: M(() => d.features)
|
12823
|
+
}), S = M(() => {
|
12821
12824
|
if (f.value && f.value.amenities) {
|
12822
12825
|
const E = f.value.amenities;
|
12823
12826
|
return Object.keys(E).filter((H) => E[H]).sort(
|
@@ -12825,7 +12828,7 @@ const Yr = {
|
|
12825
12828
|
);
|
12826
12829
|
}
|
12827
12830
|
return null;
|
12828
|
-
}), B =
|
12831
|
+
}), B = M(() => Br(f.value?.hotelImages)), k = M(() => {
|
12829
12832
|
if (f.value?.address) {
|
12830
12833
|
const E = f.value.address.split(" ").join("+");
|
12831
12834
|
return {
|
@@ -12834,7 +12837,7 @@ const Yr = {
|
|
12834
12837
|
};
|
12835
12838
|
}
|
12836
12839
|
return null;
|
12837
|
-
}), P =
|
12840
|
+
}), P = M(() => f.value?.venues);
|
12838
12841
|
async function Q() {
|
12839
12842
|
try {
|
12840
12843
|
if (!f.value)
|
@@ -14370,11 +14373,11 @@ const ch = /* @__PURE__ */ xe(uh, [["__scopeId", "data-v-8cebdd9e"]]), Pk = /* @
|
|
14370
14373
|
props: Sk,
|
14371
14374
|
emits: ["breakfast-change", "create-booking-policy", "update:modelValue", "booking-policy-failed"],
|
14372
14375
|
setup(e, { emit: i }) {
|
14373
|
-
const n = e, { t: s } = Ge(), { eventBus: r } = Xi(), u = i, d =
|
14376
|
+
const n = e, { t: s } = Ge(), { eventBus: r } = Xi(), u = i, d = M(
|
14374
14377
|
() => n.bookingPolicyState === xi.BookingPoliciesFetched
|
14375
|
-
), g =
|
14378
|
+
), g = M(
|
14376
14379
|
() => n.bookingPolicyState === xi.Unavailable
|
14377
|
-
), f =
|
14380
|
+
), f = M(
|
14378
14381
|
() => n.bookingPolicyState === xi.FetchingBookingPolicies
|
14379
14382
|
), p = Y(
|
14380
14383
|
n.breakfastCount && n.breakfastCount > 0 || !1
|
@@ -14386,9 +14389,9 @@ const ch = /* @__PURE__ */ xe(uh, [["__scopeId", "data-v-8cebdd9e"]]), Pk = /* @
|
|
14386
14389
|
id: n.id
|
14387
14390
|
});
|
14388
14391
|
});
|
14389
|
-
const y =
|
14392
|
+
const y = M(
|
14390
14393
|
() => n.count ? mm(n.count + 1) : []
|
14391
|
-
), b =
|
14394
|
+
), b = M(() => {
|
14392
14395
|
switch (n.packageType) {
|
14393
14396
|
case jo.Cheapest:
|
14394
14397
|
return "red";
|
@@ -14400,18 +14403,18 @@ const ch = /* @__PURE__ */ xe(uh, [["__scopeId", "data-v-8cebdd9e"]]), Pk = /* @
|
|
14400
14403
|
default:
|
14401
14404
|
return "";
|
14402
14405
|
}
|
14403
|
-
}), O =
|
14406
|
+
}), O = M(
|
14404
14407
|
() => n.hotelRooms.reduce((w, F) => w + (F.count || 0), 0)
|
14405
|
-
), S =
|
14408
|
+
), S = M({
|
14406
14409
|
get() {
|
14407
14410
|
return n.modelValue;
|
14408
14411
|
},
|
14409
14412
|
set(w) {
|
14410
14413
|
u("update:modelValue", w);
|
14411
14414
|
}
|
14412
|
-
}), B =
|
14415
|
+
}), B = M(
|
14413
14416
|
() => n.tags?.filter((w) => w.name.length > 30) || []
|
14414
|
-
), k =
|
14417
|
+
), k = M(
|
14415
14418
|
() => n.tags?.filter((w) => w.name.length < 30) || []
|
14416
14419
|
);
|
14417
14420
|
function P() {
|
@@ -14843,13 +14846,13 @@ const hh = /* @__PURE__ */ xe(dh, [["__scopeId", "data-v-65c20c4f"]]), Fk = /* @
|
|
14843
14846
|
const { config: i } = bn(), { bookingApiClient: n } = ji(), { createBookingPolicy: s, getBookingPolicyState: r } = Fc(), u = e, { hotelRoomOfferRequest: d, nightCount: g } = _i(), {
|
14844
14847
|
hotelRoomOffers: f,
|
14845
14848
|
hotelTimezone: p
|
14846
|
-
} = cn(), y =
|
14849
|
+
} = cn(), y = M(
|
14847
14850
|
() => d(u.hotelId)
|
14848
|
-
), b =
|
14851
|
+
), b = M(
|
14849
14852
|
() => f(u.hotelId).offers?.filter(
|
14850
14853
|
(K) => K.type === ms.HotelRoom
|
14851
14854
|
)
|
14852
|
-
), O =
|
14855
|
+
), O = M(() => p(u.hotelId)), S = M(() => y.value.adultCount), B = M(() => y.value.checkInDate), k = M(() => y.value.checkOutDate), P = M(() => g(u.hotelId)), Q = Y(!1), V = Y([]), w = Y(!1), F = Y(void 0);
|
14853
14856
|
async function E() {
|
14854
14857
|
w.value = !0;
|
14855
14858
|
const K = V.value.map((Z) => ({
|
@@ -15153,7 +15156,7 @@ function mh(e) {
|
|
15153
15156
|
hotelId: e.hotelId,
|
15154
15157
|
roomCount: e.roomCount,
|
15155
15158
|
sourceMarket: e.sourceMarket
|
15156
|
-
}), r =
|
15159
|
+
}), r = M(
|
15157
15160
|
() => i.hotelRoomOfferRequest(e.hotelId)
|
15158
15161
|
), u = Po(
|
15159
15162
|
async function() {
|
@@ -15280,25 +15283,25 @@ const ph = ce({
|
|
15280
15283
|
setup(e) {
|
15281
15284
|
const { t: i } = Ge(), n = cn(), s = _i(), { createBookingPolicy: r, getBookingPolicyState: u } = Fc(), d = Y(null), g = Y(["packageHotelRoomOffers", "hotelRoomHotelRoomOffers"]), f = Wt({
|
15282
15285
|
fallbackValue: Zr,
|
15283
|
-
prop:
|
15284
|
-
}), p = (ee) => ee.hotelRooms.reduce((K, Z) => K + Z.count, 0), y =
|
15286
|
+
prop: M(() => e.features)
|
15287
|
+
}), p = (ee) => ee.hotelRooms.reduce((K, Z) => K + Z.count, 0), y = M(() => s.hotelRoomOfferRequest(e.hotelId)), b = M(
|
15285
15288
|
() => n.hotelRoomOffers(e.hotelId)
|
15286
|
-
), O =
|
15289
|
+
), O = M(
|
15287
15290
|
() => !!(y.value?.hasError || b.value?.hasError)
|
15288
|
-
), S =
|
15291
|
+
), S = M(
|
15289
15292
|
() => n.hotelTimezone(e.hotelId)
|
15290
|
-
), B =
|
15293
|
+
), B = M(
|
15291
15294
|
() => b.value?.offers?.filter(
|
15292
15295
|
(ee) => ee.type === ms.HotelRoom
|
15293
15296
|
) || []
|
15294
|
-
), k =
|
15297
|
+
), k = M(() => {
|
15295
15298
|
const ee = b.value?.offers?.filter(
|
15296
15299
|
(K) => K.type === ms.Package
|
15297
15300
|
).filter((K) => f.value?.OnlyMatchingRoomCount ? p(K) === y.value?.roomCount : !0);
|
15298
15301
|
return ee?.slice(0, e.limit || ee.length) || [];
|
15299
|
-
}), P =
|
15302
|
+
}), P = M(
|
15300
15303
|
() => !!b.value?.isPolling && !!k.value?.length
|
15301
|
-
), Q =
|
15304
|
+
), Q = M(
|
15302
15305
|
() => !y.value?.id || (!!y.value?.isFetching || !!b.value?.isPolling) && !k.value?.length
|
15303
15306
|
), V = async ({
|
15304
15307
|
addBreakfast: ee,
|
@@ -15766,7 +15769,7 @@ const bh = ce({
|
|
15766
15769
|
}),
|
15767
15770
|
emits: ["update:modelValue"],
|
15768
15771
|
setup(e) {
|
15769
|
-
const i = Cr(e, "modelValue"), n =
|
15772
|
+
const i = Cr(e, "modelValue"), n = M({
|
15770
15773
|
get() {
|
15771
15774
|
return qi(
|
15772
15775
|
i.value?.checkInDate ?? "",
|
@@ -15783,7 +15786,7 @@ const bh = ce({
|
|
15783
15786
|
});
|
15784
15787
|
}
|
15785
15788
|
}
|
15786
|
-
}), s =
|
15789
|
+
}), s = M({
|
15787
15790
|
get() {
|
15788
15791
|
return {
|
15789
15792
|
adultCount: i.value?.adultCount ?? 0,
|
@@ -15929,7 +15932,7 @@ const qk = /* @__PURE__ */ xe(Vk, [["render", Kk]]), Jr = {
|
|
15929
15932
|
mh(i);
|
15930
15933
|
const n = Wt({
|
15931
15934
|
fallbackValue: Jr,
|
15932
|
-
prop:
|
15935
|
+
prop: M(() => i.features)
|
15933
15936
|
});
|
15934
15937
|
return (s, r) => (C(), W("div", null, [
|
15935
15938
|
s.isBookingApiClientDefined ? (C(), N(X, {
|
@@ -16009,34 +16012,34 @@ const qk = /* @__PURE__ */ xe(Vk, [["render", Kk]]), Jr = {
|
|
16009
16012
|
},
|
16010
16013
|
emits: ["visible"],
|
16011
16014
|
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 =
|
16015
|
+
const n = i, s = e, { t: r } = Ge(), u = Y(!1), d = Y(!1), g = Y(!1), f = Fs(), p = M(
|
16013
16016
|
() => $e(s.checkOutDate).diff($e(s.checkInDate), "day")
|
16014
|
-
), y =
|
16017
|
+
), y = M(
|
16015
16018
|
() => s.hotelOffer?.tags?.filter((Z) => Z.name.length > 30) || []
|
16016
|
-
), b =
|
16019
|
+
), b = M(() => {
|
16017
16020
|
if (s.features?.[ft.HotelRoomOffersViewDialog])
|
16018
16021
|
return "hotel-room-offers-view";
|
16019
16022
|
if (s.features?.[ft.HotelDescriptionViewDialog])
|
16020
16023
|
return "hotel-description-view";
|
16021
|
-
}), O =
|
16024
|
+
}), O = M(
|
16022
16025
|
() => s.hotelOffer.distance ? Math.round(s.hotelOffer.distance / 1e3 * 100) / 100 : 0
|
16023
|
-
), S =
|
16026
|
+
), S = M(() => s.hotelOffer.id), B = M(() => f.$state), k = M(
|
16024
16027
|
() => s.hotelOffer.hotelRoomOffers[0]
|
16025
|
-
), P =
|
16028
|
+
), P = M(
|
16026
16029
|
() => Rc({
|
16027
16030
|
bookingDatetime: $e().format(),
|
16028
16031
|
cancellationPolicies: k.value.cancellationPolicies,
|
16029
16032
|
checkInDate: s.checkInDate,
|
16030
16033
|
timezone: s.hotelOffer.timezone
|
16031
16034
|
}) === 0
|
16032
|
-
), Q =
|
16035
|
+
), Q = M(
|
16033
16036
|
() => k.value?.hotelRooms.reduce(
|
16034
16037
|
(Z, _) => Z + (_.count || 0),
|
16035
16038
|
0
|
16036
16039
|
) || 0
|
16037
|
-
), V =
|
16040
|
+
), V = M(
|
16038
16041
|
() => s.hotelOffer?.tags?.filter((Z) => Z.name.length <= 30) || []
|
16039
|
-
), w =
|
16042
|
+
), w = M(() => s.hotelOffer?.venues);
|
16040
16043
|
function F() {
|
16041
16044
|
window.RevolugoElements.eventBus.$emit(
|
16042
16045
|
Ee.HotelOffersItemClick,
|
@@ -16060,7 +16063,7 @@ const qk = /* @__PURE__ */ xe(Vk, [["render", Kk]]), Jr = {
|
|
16060
16063
|
}, 350);
|
16061
16064
|
});
|
16062
16065
|
});
|
16063
|
-
const H =
|
16066
|
+
const H = M(
|
16064
16067
|
() => k.value?.hotelRooms
|
16065
16068
|
), G = Y(null), { $breakpointService: ee } = Wi(G), { $dialogAttach: K } = ym(G);
|
16066
16069
|
return (Z, _) => (C(), N(Us, {
|
@@ -16724,7 +16727,7 @@ const eB = /* @__PURE__ */ xe(kh, [["render", $k]]), Du = "data:image/png;base64
|
|
16724
16727
|
theme: { default: "light" }
|
16725
16728
|
},
|
16726
16729
|
setup(e) {
|
16727
|
-
const i = e, { t: n } = Ge(), s =
|
16730
|
+
const i = e, { t: n } = Ge(), s = M(() => i.theme === "light" ? {
|
16728
16731
|
APST: aB,
|
16729
16732
|
ATOUT_FRANCE: rB,
|
16730
16733
|
CREDIT_CARD: Du,
|
@@ -17734,8 +17737,8 @@ function QB() {
|
|
17734
17737
|
}
|
17735
17738
|
var R = this._listens(t, o, a);
|
17736
17739
|
if (R !== !1) {
|
17737
|
-
var
|
17738
|
-
this._firingCount && (
|
17740
|
+
var z = A[R];
|
17741
|
+
this._firingCount && (z.fn = b, this._events[t] = A = A.slice()), A.splice(R, 1);
|
17739
17742
|
}
|
17740
17743
|
}
|
17741
17744
|
},
|
@@ -17756,8 +17759,8 @@ function QB() {
|
|
17756
17759
|
if (h) {
|
17757
17760
|
this._firingCount = this._firingCount + 1 || 1;
|
17758
17761
|
for (var m = 0, R = h.length; m < R; m++) {
|
17759
|
-
var
|
17760
|
-
|
17762
|
+
var z = h[m], U = z.fn;
|
17763
|
+
z.once && this.off(t, U, z.ctx), U.call(z.ctx || this, A);
|
17761
17764
|
}
|
17762
17765
|
this._firingCount--;
|
17763
17766
|
}
|
@@ -18301,8 +18304,8 @@ function QB() {
|
|
18301
18304
|
var o = t.getCenter(), a = this.wrapLatLng(o), A = o.lat - a.lat, h = o.lng - a.lng;
|
18302
18305
|
if (A === 0 && h === 0)
|
18303
18306
|
return t;
|
18304
|
-
var m = t.getSouthWest(), R = t.getNorthEast(),
|
18305
|
-
return new dt(
|
18307
|
+
var m = t.getSouthWest(), R = t.getNorthEast(), z = new Te(m.lat - A, m.lng - h), U = new Te(R.lat - A, R.lng - h);
|
18308
|
+
return new dt(z, U);
|
18306
18309
|
}
|
18307
18310
|
}, bi = r({}, zt, {
|
18308
18311
|
wrapLng: [-180, 180],
|
@@ -18312,7 +18315,7 @@ function QB() {
|
|
18312
18315
|
R: 6371e3,
|
18313
18316
|
// distance between two geographical points using spherical law of cosines approximation
|
18314
18317
|
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),
|
18318
|
+
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), z = m * m + Math.cos(A) * Math.cos(h) * R * R, U = 2 * Math.atan2(Math.sqrt(z), Math.sqrt(1 - z));
|
18316
18319
|
return this.R * U;
|
18317
18320
|
}
|
18318
18321
|
}), nl = 6378137, js = {
|
@@ -18382,10 +18385,10 @@ function QB() {
|
|
18382
18385
|
return document.createElementNS("http://www.w3.org/2000/svg", t);
|
18383
18386
|
}
|
18384
18387
|
function al(t, o) {
|
18385
|
-
var a = "", A, h, m, R,
|
18388
|
+
var a = "", A, h, m, R, z, U;
|
18386
18389
|
for (A = 0, m = t.length; A < m; A++) {
|
18387
|
-
for (
|
18388
|
-
U =
|
18390
|
+
for (z = t[A], h = 0, R = z.length; h < R; h++)
|
18391
|
+
U = z[h], a += (h ? "L" : "M") + U.x + " " + U.y;
|
18389
18392
|
a += o ? ue.svg ? "z" : "x" : "";
|
18390
18393
|
}
|
18391
18394
|
return a || "M0 0";
|
@@ -18522,8 +18525,8 @@ function QB() {
|
|
18522
18525
|
}) && !R.some(function(U) {
|
18523
18526
|
return U instanceof HTMLInputElement || U instanceof HTMLSelectElement;
|
18524
18527
|
}))) {
|
18525
|
-
var
|
18526
|
-
|
18528
|
+
var z = Date.now();
|
18529
|
+
z - a <= Lf ? (A++, A === 2 && o(Tf(m))) : A = 1, a = z;
|
18527
18530
|
}
|
18528
18531
|
}
|
18529
18532
|
}
|
@@ -18727,8 +18730,8 @@ function QB() {
|
|
18727
18730
|
for (var h in o)
|
18728
18731
|
ga(t, h, o[h], a);
|
18729
18732
|
else if (o = B(o), arguments.length === 2)
|
18730
|
-
Rl(t, function(
|
18731
|
-
return F(o,
|
18733
|
+
Rl(t, function(z) {
|
18734
|
+
return F(o, z) !== -1;
|
18732
18735
|
});
|
18733
18736
|
else
|
18734
18737
|
for (var m = 0, R = o.length; m < R; m++)
|
@@ -18750,11 +18753,11 @@ function QB() {
|
|
18750
18753
|
var h = o + f(a) + (A ? "_" + f(A) : "");
|
18751
18754
|
if (t[Xt] && t[Xt][h])
|
18752
18755
|
return this;
|
18753
|
-
var m = function(
|
18754
|
-
return a.call(A || t,
|
18756
|
+
var m = function(z) {
|
18757
|
+
return a.call(A || t, z || window.event);
|
18755
18758
|
}, 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
|
-
|
18759
|
+
!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(z) {
|
18760
|
+
z = z || window.event, pa(t, z) && R(z);
|
18758
18761
|
}, 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
18762
|
}
|
18760
18763
|
function ga(t, o, a, A, h) {
|
@@ -18998,8 +19001,8 @@ function QB() {
|
|
18998
19001
|
// @method setZoomAround(offset: Point, zoom: Number, options: Zoom options): this
|
18999
19002
|
// Zooms the map while keeping a specified pixel on the map (relative to the top-left corner) stationary.
|
19000
19003
|
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(
|
19004
|
+
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), z = this.containerPointToLatLng(h.add(R));
|
19005
|
+
return this.setView(z, o, { zoom: a });
|
19003
19006
|
},
|
19004
19007
|
_getBoundsCenterZoom: function(t, o) {
|
19005
19008
|
o = o || {}, t = t.getBounds ? t.getBounds() : Xe(t);
|
@@ -19009,7 +19012,7 @@ function QB() {
|
|
19009
19012
|
center: t.getCenter(),
|
19010
19013
|
zoom: h
|
19011
19014
|
};
|
19012
|
-
var m = A.subtract(a).divideBy(2), R = this.project(t.getSouthWest(), h),
|
19015
|
+
var m = A.subtract(a).divideBy(2), R = this.project(t.getSouthWest(), h), z = this.project(t.getNorthEast(), h), U = this.unproject(R.add(z).divideBy(2).add(m), h);
|
19013
19016
|
return {
|
19014
19017
|
center: U,
|
19015
19018
|
zoom: h
|
@@ -19062,9 +19065,9 @@ function QB() {
|
|
19062
19065
|
this._stop();
|
19063
19066
|
var A = this.project(this.getCenter()), h = this.project(t), m = this.getSize(), R = this._zoom;
|
19064
19067
|
t = Ie(t), o = o === void 0 ? R : o;
|
19065
|
-
var
|
19068
|
+
var z = Math.max(m.x, m.y), U = z * this.getZoomScale(R, o), J = h.distanceTo(A) || 1, ne = 1.42, he = ne * ne;
|
19066
19069
|
function ye(st) {
|
19067
|
-
var Vn = st ? -1 : 1, Sg = st ? U :
|
19070
|
+
var Vn = st ? -1 : 1, Sg = st ? U : z, Rg = U * U - z * z + 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
19071
|
return Og;
|
19069
19072
|
}
|
19070
19073
|
function mt(st) {
|
@@ -19078,10 +19081,10 @@ function QB() {
|
|
19078
19081
|
}
|
19079
19082
|
var yt = ye(0);
|
19080
19083
|
function lo(st) {
|
19081
|
-
return
|
19084
|
+
return z * (at(yt) / at(yt + ne * st));
|
19082
19085
|
}
|
19083
19086
|
function kg(st) {
|
19084
|
-
return
|
19087
|
+
return z * (at(yt) * Ot(yt + ne * st) - mt(yt)) / he;
|
19085
19088
|
}
|
19086
19089
|
function Bg(st) {
|
19087
19090
|
return 1 - Math.pow(1 - st, 1.5);
|
@@ -19091,7 +19094,7 @@ function QB() {
|
|
19091
19094
|
var st = (Date.now() - wg) / Pg, Vn = Bg(st) * cA;
|
19092
19095
|
st <= 1 ? (this._flyToFrame = _(dA, this), this._move(
|
19093
19096
|
this.unproject(A.add(h.subtract(A).multiplyBy(kg(Vn) / J)), R),
|
19094
|
-
this.getScaleZoom(
|
19097
|
+
this.getScaleZoom(z / lo(Vn), R),
|
19095
19098
|
{ flyTo: !0 }
|
19096
19099
|
)) : this._move(t, o)._moveEnd(!0);
|
19097
19100
|
}
|
@@ -19135,10 +19138,10 @@ function QB() {
|
|
19135
19138
|
// the map will not be panned.
|
19136
19139
|
panInside: function(t, o) {
|
19137
19140
|
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 (!
|
19141
|
+
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(), z = ct([R.min.add(a), R.max.subtract(A)]), U = z.getSize();
|
19142
|
+
if (!z.contains(m)) {
|
19140
19143
|
this._enforcingBounds = !0;
|
19141
|
-
var J = m.subtract(
|
19144
|
+
var J = m.subtract(z.getCenter()), ne = z.extend(m).getSize().subtract(U);
|
19142
19145
|
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
19146
|
}
|
19144
19147
|
return this;
|
@@ -19224,14 +19227,14 @@ function QB() {
|
|
19224
19227
|
var R = this.getBoundsZoom(h);
|
19225
19228
|
this.setView(A, m.maxZoom ? Math.min(R, m.maxZoom) : R);
|
19226
19229
|
}
|
19227
|
-
var
|
19230
|
+
var z = {
|
19228
19231
|
latlng: A,
|
19229
19232
|
bounds: h,
|
19230
19233
|
timestamp: t.timestamp
|
19231
19234
|
};
|
19232
19235
|
for (var U in t.coords)
|
19233
|
-
typeof t.coords[U] == "number" && (
|
19234
|
-
this.fire("locationfound",
|
19236
|
+
typeof t.coords[U] == "number" && (z[U] = t.coords[U]);
|
19237
|
+
this.fire("locationfound", z);
|
19235
19238
|
}
|
19236
19239
|
},
|
19237
19240
|
// TODO Appropriate docs section?
|
@@ -19305,7 +19308,7 @@ function QB() {
|
|
19305
19308
|
// the given bounds in its entirety.
|
19306
19309
|
getBoundsZoom: function(t, o, a) {
|
19307
19310
|
t = Xe(t), a = fe(a || [0, 0]);
|
19308
|
-
var A = this.getZoom() || 0, h = this.getMinZoom(), m = this.getMaxZoom(), R = t.getNorthWest(),
|
19311
|
+
var A = this.getZoom() || 0, h = this.getMinZoom(), m = this.getMaxZoom(), R = t.getNorthWest(), z = t.getSouthEast(), U = this.getSize().subtract(a), J = ct(this.project(z, 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
19312
|
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
19313
|
},
|
19311
19314
|
// @method getSize(): Point
|
@@ -19584,12 +19587,12 @@ function QB() {
|
|
19584
19587
|
}
|
19585
19588
|
if (h.length) {
|
19586
19589
|
o === "contextmenu" && At(t);
|
19587
|
-
var
|
19590
|
+
var z = h[0], U = {
|
19588
19591
|
originalEvent: t
|
19589
19592
|
};
|
19590
19593
|
if (t.type !== "keypress" && t.type !== "keydown" && t.type !== "keyup") {
|
19591
|
-
var J =
|
19592
|
-
U.containerPoint = J ? this.latLngToContainerPoint(
|
19594
|
+
var J = z.getLatLng && (!z._radius || z._radius <= 10);
|
19595
|
+
U.containerPoint = J ? this.latLngToContainerPoint(z.getLatLng()) : this.mouseEventToContainerPoint(t), U.layerPoint = this.containerPointToLayerPoint(U.containerPoint), U.latlng = J ? z.getLatLng() : this.layerPointToLatLng(U.layerPoint);
|
19593
19596
|
}
|
19594
19597
|
for (R = 0; R < h.length; R++)
|
19595
19598
|
if (h[R].fire(o, U, !0), U.originalEvent._stopped || h[R].options.bubblingMouseEvents === !1 && F(this._mouseEvents, o) !== -1)
|
@@ -19667,8 +19670,8 @@ function QB() {
|
|
19667
19670
|
var A = ct(
|
19668
19671
|
this.project(o.getNorthEast(), a),
|
19669
19672
|
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,
|
19673
|
+
), h = A.min.subtract(t.min), m = A.max.subtract(t.max), R = this._rebound(h.x, -m.x), z = this._rebound(h.y, -m.y);
|
19674
|
+
return new de(R, z);
|
19672
19675
|
},
|
19673
19676
|
_rebound: function(t, o) {
|
19674
19677
|
return t + o > 0 ? Math.round(t - o) / 2 : Math.max(0, Math.ceil(t)) - Math.max(0, Math.floor(o));
|
@@ -20250,18 +20253,18 @@ function QB() {
|
|
20250
20253
|
}
|
20251
20254
|
});
|
20252
20255
|
function Ml(t, o, a) {
|
20253
|
-
var A, h = [1, 4, 2, 8], m, R,
|
20256
|
+
var A, h = [1, 4, 2, 8], m, R, z, U, J, ne, he, ye;
|
20254
20257
|
for (m = 0, ne = t.length; m < ne; m++)
|
20255
20258
|
t[m]._code = Mi(t[m], o);
|
20256
|
-
for (
|
20257
|
-
for (he = h[
|
20259
|
+
for (z = 0; z < 4; z++) {
|
20260
|
+
for (he = h[z], A = [], m = 0, ne = t.length, R = ne - 1; m < ne; R = m++)
|
20258
20261
|
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
20262
|
t = A;
|
20260
20263
|
}
|
20261
20264
|
return t;
|
20262
20265
|
}
|
20263
20266
|
function Nl(t, o) {
|
20264
|
-
var a, A, h, m, R,
|
20267
|
+
var a, A, h, m, R, z, U, J, ne;
|
20265
20268
|
if (!t || t.length === 0)
|
20266
20269
|
throw new Error("latlngs not passed");
|
20267
20270
|
Qt(t) || (console.warn("latlngs are not flat! Only the first ring will be used"), t = t[0]);
|
@@ -20272,9 +20275,9 @@ function QB() {
|
|
20272
20275
|
var yt = Ie(t[a]);
|
20273
20276
|
Ot.push(o.project(Ie([yt.lat - he.lat, yt.lng - he.lng])));
|
20274
20277
|
}
|
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
|
-
|
20278
|
+
for (z = U = J = 0, a = 0, A = at - 1; a < at; A = a++)
|
20279
|
+
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, z += R * 3;
|
20280
|
+
z === 0 ? ne = Ot[0] : ne = [U / z, J / z];
|
20278
20281
|
var lo = o.unproject(fe(ne));
|
20279
20282
|
return Ie([lo.lat + he.lat, lo.lng + he.lng]);
|
20280
20283
|
}
|
@@ -20312,9 +20315,9 @@ function QB() {
|
|
20312
20315
|
return R;
|
20313
20316
|
}
|
20314
20317
|
function ya(t, o, a, A, h) {
|
20315
|
-
var m = 0, R,
|
20316
|
-
for (
|
20317
|
-
U = xo(t[
|
20318
|
+
var m = 0, R, z, U;
|
20319
|
+
for (z = A + 1; z <= h - 1; z++)
|
20320
|
+
U = xo(t[z], t[A], t[h], !0), U > m && (R = z, m = U);
|
20318
20321
|
m > a && (o[R] = 1, ya(t, o, a, A, R), ya(t, o, a, R, h));
|
20319
20322
|
}
|
20320
20323
|
function Xf(t, o) {
|
@@ -20324,18 +20327,18 @@ function QB() {
|
|
20324
20327
|
}
|
20325
20328
|
var xl;
|
20326
20329
|
function Vl(t, o, a, A, h) {
|
20327
|
-
var m = A ? xl : Mi(t, a), R = Mi(o, a),
|
20330
|
+
var m = A ? xl : Mi(t, a), R = Mi(o, a), z, U, J;
|
20328
20331
|
for (xl = R; ; ) {
|
20329
20332
|
if (!(m | R))
|
20330
20333
|
return [t, o];
|
20331
20334
|
if (m & R)
|
20332
20335
|
return !1;
|
20333
|
-
|
20336
|
+
z = m || R, U = On(t, o, z, a, h), J = Mi(U, a), z === m ? (t = U, m = J) : (o = U, R = J);
|
20334
20337
|
}
|
20335
20338
|
}
|
20336
20339
|
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 * (
|
20340
|
+
var m = o.x - t.x, R = o.y - t.y, z = A.min, U = A.max, J, ne;
|
20341
|
+
return a & 8 ? (J = t.x + m * (U.y - t.y) / R, ne = U.y) : a & 4 ? (J = t.x + m * (z.y - t.y) / R, ne = z.y) : a & 2 ? (J = U.x, ne = t.y + R * (U.x - t.x) / m) : a & 1 && (J = z.x, ne = t.y + R * (z.x - t.x) / m), new de(J, ne, h);
|
20339
20342
|
}
|
20340
20343
|
function Mi(t, o) {
|
20341
20344
|
var a = 0;
|
@@ -20346,8 +20349,8 @@ function QB() {
|
|
20346
20349
|
return a * a + A * A;
|
20347
20350
|
}
|
20348
20351
|
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) *
|
20352
|
+
var h = o.x, m = o.y, R = a.x - h, z = a.y - m, U = R * R + z * z, J;
|
20353
|
+
return U > 0 && (J = ((t.x - h) * R + (t.y - m) * z) / U, J > 1 ? (h = a.x, m = a.y) : J > 0 && (h += R * J, m += z * J)), R = t.x - h, z = t.y - m, A ? R * R + z * z : new de(h, m);
|
20351
20354
|
}
|
20352
20355
|
function Qt(t) {
|
20353
20356
|
return !w(t[0]) || typeof t[0][0] != "object" && typeof t[0][0] < "u";
|
@@ -20356,7 +20359,7 @@ function QB() {
|
|
20356
20359
|
return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."), Qt(t);
|
20357
20360
|
}
|
20358
20361
|
function ql(t, o) {
|
20359
|
-
var a, A, h, m, R,
|
20362
|
+
var a, A, h, m, R, z, U, J;
|
20360
20363
|
if (!t || t.length === 0)
|
20361
20364
|
throw new Error("latlngs not passed");
|
20362
20365
|
Qt(t) || (console.warn("latlngs are not flat! Only the first ring will be used"), t = t[0]);
|
@@ -20373,10 +20376,10 @@ function QB() {
|
|
20373
20376
|
J = at[0];
|
20374
20377
|
else
|
20375
20378
|
for (a = 0, m = 0; a < mt - 1; a++)
|
20376
|
-
if (R = at[a],
|
20379
|
+
if (R = at[a], z = at[a + 1], h = R.distanceTo(z), m += h, m > A) {
|
20377
20380
|
U = (m - A) / h, J = [
|
20378
|
-
|
20379
|
-
|
20381
|
+
z.x - U * (z.x - R.x),
|
20382
|
+
z.y - U * (z.y - R.y)
|
20380
20383
|
];
|
20381
20384
|
break;
|
20382
20385
|
}
|
@@ -20408,11 +20411,11 @@ function QB() {
|
|
20408
20411
|
R_MINOR: 6356752314245179e-9,
|
20409
20412
|
bounds: new Ve([-2003750834279e-5, -1549657073972e-5], [2003750834279e-5, 1876465623138e-5]),
|
20410
20413
|
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(
|
20414
|
+
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), z = Math.tan(Math.PI / 4 - A / 2) / Math.pow((1 - R) / (1 + R), m / 2);
|
20415
|
+
return A = -a * Math.log(Math.max(z, 1e-10)), new de(t.lng * o * a, A);
|
20413
20416
|
},
|
20414
20417
|
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),
|
20418
|
+
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), z = 0, U = 0.1, J; z < 15 && Math.abs(U) > 1e-7; z++)
|
20416
20419
|
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
20420
|
return new Te(R * o, t.x * o / a);
|
20418
20421
|
}
|
@@ -20829,9 +20832,9 @@ function QB() {
|
|
20829
20832
|
return this._draggable && this._draggable._moved;
|
20830
20833
|
},
|
20831
20834
|
_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(
|
20835
|
+
var o = this._marker, a = o._map, A = this._marker.options.autoPanSpeed, h = this._marker.options.autoPanPadding, m = Li(o._icon), R = a.getPixelBounds(), z = a.getPixelOrigin(), U = ct(
|
20836
|
+
R.min._subtract(z).add(h),
|
20837
|
+
R.max._subtract(z).subtract(h)
|
20835
20838
|
);
|
20836
20839
|
if (!U.contains(m)) {
|
20837
20840
|
var J = fe(
|
@@ -21218,7 +21221,7 @@ function QB() {
|
|
21218
21221
|
_project: function() {
|
21219
21222
|
var t = this._latlng.lng, o = this._latlng.lat, a = this._map, A = a.options.crs;
|
21220
21223
|
if (A.distance === bi.distance) {
|
21221
|
-
var h = Math.PI / 180, m = this._mRadius / bi.R / h, R = a.project([o + m, t]),
|
21224
|
+
var h = Math.PI / 180, m = this._mRadius / bi.R / h, R = a.project([o + m, t]), z = a.project([o - m, t]), U = R.add(z).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
21225
|
(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
21226
|
} else {
|
21224
21227
|
var he = A.unproject(A.project(this._latlng).subtract([this._mRadius, 0]));
|
@@ -21263,7 +21266,7 @@ function QB() {
|
|
21263
21266
|
// @method closestLayerPoint(p: Point): Point
|
21264
21267
|
// Returns the point closest to `p` on the Polyline.
|
21265
21268
|
closestLayerPoint: function(t) {
|
21266
|
-
for (var o = 1 / 0, a = null, A = xo, h, m, R = 0,
|
21269
|
+
for (var o = 1 / 0, a = null, A = xo, h, m, R = 0, z = this._parts.length; R < z; R++)
|
21267
21270
|
for (var U = this._parts[R], J = 1, ne = U.length; J < ne; J++) {
|
21268
21271
|
h = U[J - 1], m = U[J];
|
21269
21272
|
var he = A(t, h, m, !0);
|
@@ -21332,10 +21335,10 @@ function QB() {
|
|
21332
21335
|
this._parts = this._rings;
|
21333
21336
|
return;
|
21334
21337
|
}
|
21335
|
-
var o = this._parts, a, A, h, m, R,
|
21338
|
+
var o = this._parts, a, A, h, m, R, z, U;
|
21336
21339
|
for (a = 0, h = 0, m = this._rings.length; a < m; a++)
|
21337
21340
|
for (U = this._rings[a], A = 0, R = U.length; A < R - 1; A++)
|
21338
|
-
|
21341
|
+
z = Vl(U[A], U[A + 1], t, A, !0), z && (o[h] = o[h] || [], o[h].push(z[0]), (z[1] !== U[A + 1] || A === R - 2) && (o[h].push(z[1]), h++));
|
21339
21342
|
}
|
21340
21343
|
},
|
21341
21344
|
// simplify each clipped part of the polyline for performance
|
@@ -21351,12 +21354,12 @@ function QB() {
|
|
21351
21354
|
},
|
21352
21355
|
// Needed by the `Canvas` renderer for interactivity
|
21353
21356
|
_containsPoint: function(t, o) {
|
21354
|
-
var a, A, h, m, R,
|
21357
|
+
var a, A, h, m, R, z, U = this._clickTolerance();
|
21355
21358
|
if (!this._pxBounds || !this._pxBounds.contains(t))
|
21356
21359
|
return !1;
|
21357
21360
|
for (a = 0, m = this._parts.length; a < m; a++)
|
21358
|
-
for (
|
21359
|
-
if (!(!o && A === 0) && Ul(t,
|
21361
|
+
for (z = this._parts[a], A = 0, R = z.length, h = R - 1; A < R; h = A++)
|
21362
|
+
if (!(!o && A === 0) && Ul(t, z[h], z[A]) <= U)
|
21360
21363
|
return !0;
|
21361
21364
|
return !1;
|
21362
21365
|
}
|
@@ -21405,12 +21408,12 @@ function QB() {
|
|
21405
21408
|
},
|
21406
21409
|
// Needed by the `Canvas` renderer for interactivity
|
21407
21410
|
_containsPoint: function(t) {
|
21408
|
-
var o = !1, a, A, h, m, R,
|
21411
|
+
var o = !1, a, A, h, m, R, z, U, J;
|
21409
21412
|
if (!this._pxBounds || !this._pxBounds.contains(t))
|
21410
21413
|
return !1;
|
21411
21414
|
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[
|
21415
|
+
for (a = this._parts[m], R = 0, J = a.length, z = J - 1; R < J; z = R++)
|
21416
|
+
A = a[R], h = a[z], 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
21417
|
return o || si.prototype._containsPoint.call(this, t, !0);
|
21415
21418
|
}
|
21416
21419
|
});
|
@@ -21503,15 +21506,15 @@ function QB() {
|
|
21503
21506
|
}
|
21504
21507
|
});
|
21505
21508
|
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,
|
21509
|
+
var a = t.type === "Feature" ? t.geometry : t, A = a ? a.coordinates : null, h = [], m = o && o.pointToLayer, R = o && o.coordsToLatLng || Ba, z, U, J, ne;
|
21507
21510
|
if (!A && !a)
|
21508
21511
|
return null;
|
21509
21512
|
switch (a.type) {
|
21510
21513
|
case "Point":
|
21511
|
-
return
|
21514
|
+
return z = R(A), Gl(m, t, z, o);
|
21512
21515
|
case "MultiPoint":
|
21513
21516
|
for (J = 0, ne = A.length; J < ne; J++)
|
21514
|
-
|
21517
|
+
z = R(A[J]), h.push(Gl(m, t, z, o));
|
21515
21518
|
return new ni(h);
|
21516
21519
|
case "LineString":
|
21517
21520
|
case "MultiLineString":
|
@@ -22088,8 +22091,8 @@ function QB() {
|
|
22088
22091
|
}
|
22089
22092
|
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
22093
|
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 -
|
22094
|
+
var m = t.layerPointToContainerPoint(h), R = fe(this.options.autoPanPadding), z = fe(this.options.autoPanPaddingTopLeft || R), U = fe(this.options.autoPanPaddingBottomRight || R), J = t.getSize(), ne = 0, he = 0;
|
22095
|
+
m.x + A + U.x > J.x && (ne = m.x + A - J.x + U.x), m.x - ne - z.x < 0 && (ne = m.x - z.x), m.y + a + U.y > J.y && (he = m.y + a - J.y + U.y), m.y - he - z.y < 0 && (he = m.y - z.y), (ne || he) && (this.options.keepInView && (this._autopanning = !0), t.fire("autopanstart").panBy([ne, he]));
|
22093
22096
|
}
|
22094
22097
|
},
|
22095
22098
|
_getAnchor: function() {
|
@@ -22230,8 +22233,8 @@ function QB() {
|
|
22230
22233
|
_adjustPan: function() {
|
22231
22234
|
},
|
22232
22235
|
_setPosition: function(t) {
|
22233
|
-
var o, a, A = this._map, h = this._container, m = A.latLngToContainerPoint(A.getCenter()), R = A.layerPointToContainerPoint(t),
|
22234
|
-
|
22236
|
+
var o, a, A = this._map, h = this._container, m = A.latLngToContainerPoint(A.getCenter()), R = A.layerPointToContainerPoint(t), z = this.options.direction, U = h.offsetWidth, J = h.offsetHeight, ne = fe(this.options.offset), he = this._getAnchor();
|
22237
|
+
z === "top" ? (o = U / 2, a = J) : z === "bottom" ? (o = U / 2, a = 0) : z === "center" ? (o = U / 2, a = J / 2) : z === "right" ? (o = 0, a = J / 2) : z === "left" ? (o = U, a = J / 2) : R.x < m.x ? (z = "right", o = 0, a = J / 2) : (z = "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-" + z), nt(h, t);
|
22235
22238
|
},
|
22236
22239
|
_updatePosition: function() {
|
22237
22240
|
var t = this._map.latLngToLayerPoint(this._latlng);
|
@@ -22589,9 +22592,9 @@ function QB() {
|
|
22589
22592
|
this._removeAllTiles(), this._tileZoom = void 0;
|
22590
22593
|
},
|
22591
22594
|
_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(
|
22595
|
+
var h = Math.floor(t / 2), m = Math.floor(o / 2), R = a - 1, z = new de(+h, +m);
|
22596
|
+
z.z = +R;
|
22597
|
+
var U = this._tileCoordsToKey(z), J = this._tiles[U];
|
22595
22598
|
return J && J.active ? (J.retain = !0, !0) : (J && J.loaded && (J.retain = !0), R > A ? this._retainParent(h, m, R, A) : !1);
|
22596
22599
|
},
|
22597
22600
|
_retainChildren: function(t, o, a, A) {
|
@@ -22599,7 +22602,7 @@ function QB() {
|
|
22599
22602
|
for (var m = 2 * o; m < 2 * o + 2; m++) {
|
22600
22603
|
var R = new de(h, m);
|
22601
22604
|
R.z = a + 1;
|
22602
|
-
var
|
22605
|
+
var z = this._tileCoordsToKey(R), U = this._tiles[z];
|
22603
22606
|
if (U && U.active) {
|
22604
22607
|
U.retain = !0;
|
22605
22608
|
continue;
|
@@ -22655,9 +22658,9 @@ function QB() {
|
|
22655
22658
|
if (o) {
|
22656
22659
|
var a = this._clampZoom(o.getZoom());
|
22657
22660
|
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([
|
22661
|
+
var A = this._getTiledPixelBounds(t), h = this._pxBoundsToTileRange(A), m = h.getCenter(), R = [], z = this.options.keepBuffer, U = new Ve(
|
22662
|
+
h.getBottomLeft().subtract([z, -z]),
|
22663
|
+
h.getTopRight().add([z, -z])
|
22661
22664
|
);
|
22662
22665
|
if (!(isFinite(h.min.x) && isFinite(h.min.y) && isFinite(h.max.x) && isFinite(h.max.y)))
|
22663
22666
|
throw new Error("Attempted to load an infinite number of tiles");
|
@@ -22956,8 +22959,8 @@ function QB() {
|
|
22956
22959
|
this.wmsParams[o] = this._crs.code, ro.prototype.onAdd.call(this, t);
|
22957
22960
|
},
|
22958
22961
|
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
|
22962
|
+
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(","), z = ro.prototype.getTileUrl.call(this, t);
|
22963
|
+
return z + P(this.wmsParams, z, this.options.uppercase) + (this.options.uppercase ? "&BBOX=" : "&bbox=") + R;
|
22961
22964
|
},
|
22962
22965
|
// @method setParams(params: Object, noRedraw?: Boolean): this
|
22963
22966
|
// Merges an object with the new parameters and re-requests tiles on the current screen (unless `noRedraw` was set to true).
|
@@ -23134,9 +23137,9 @@ function QB() {
|
|
23134
23137
|
},
|
23135
23138
|
_updatePoly: function(t, o) {
|
23136
23139
|
if (this._drawing) {
|
23137
|
-
var a, A, h, m, R = t._parts,
|
23138
|
-
if (
|
23139
|
-
for (U.beginPath(), a = 0; a <
|
23140
|
+
var a, A, h, m, R = t._parts, z = R.length, U = this._ctx;
|
23141
|
+
if (z) {
|
23142
|
+
for (U.beginPath(), a = 0; a < z; a++) {
|
23140
23143
|
for (A = 0, h = R[a].length; A < h; A++)
|
23141
23144
|
m = R[a][A], U[A ? "lineTo" : "moveTo"](m.x, m.y);
|
23142
23145
|
o && U.closePath();
|
@@ -23537,7 +23540,7 @@ function QB() {
|
|
23537
23540
|
o.fire("moveend");
|
23538
23541
|
else {
|
23539
23542
|
this._prunePositions(+/* @__PURE__ */ new Date());
|
23540
|
-
var h = this._lastPos.subtract(this._positions[0]), m = (this._lastTime - this._times[0]) / 1e3, R = a.easeLinearity,
|
23543
|
+
var h = this._lastPos.subtract(this._positions[0]), m = (this._lastTime - this._times[0]) / 1e3, R = a.easeLinearity, z = h.multiplyBy(R / m), U = z.distanceTo([0, 0]), J = Math.min(a.inertiaMaxSpeed, U), ne = z.multiplyBy(J / U), he = J / (a.inertiaDeceleration * R), ye = ne.multiplyBy(-he / 2).round();
|
23541
23544
|
!ye.x && !ye.y ? o.fire("moveend") : (ye = o._limitOffset(ye, o.options.maxBounds), _(function() {
|
23542
23545
|
o.panBy(ye, {
|
23543
23546
|
duration: he,
|
@@ -24480,10 +24483,10 @@ const Nu = {
|
|
24480
24483
|
LB
|
24481
24484
|
);
|
24482
24485
|
Kt(vi, e.useGlobalLeaflet);
|
24483
|
-
const O =
|
24486
|
+
const O = M(() => {
|
24484
24487
|
const Q = {};
|
24485
24488
|
return e.noBlockingAnimations && (Q.animate = !1), Q;
|
24486
|
-
}), S =
|
24489
|
+
}), S = M(() => {
|
24487
24490
|
const Q = O.value;
|
24488
24491
|
return e.padding && (Q.padding = e.padding), e.paddingTopLeft && (Q.paddingTopLeft = e.paddingTopLeft), e.paddingBottomRight && (Q.paddingBottomRight = e.paddingBottomRight), Q;
|
24489
24492
|
}), B = {
|
@@ -24564,7 +24567,7 @@ const Nu = {
|
|
24564
24567
|
}), Ji(() => {
|
24565
24568
|
Sh(B), s.leafletRef && (s.leafletRef.off(), s.leafletRef.remove());
|
24566
24569
|
});
|
24567
|
-
const k =
|
24570
|
+
const k = M(() => s.leafletRef), P = M(() => s.ready);
|
24568
24571
|
return { root: n, ready: P, leafletObject: k, attrs: g };
|
24569
24572
|
},
|
24570
24573
|
render({ attrs: e }) {
|
@@ -24891,7 +24894,7 @@ const s3 = { class: "hotel-offers-map" }, a3 = { key: 0 }, r3 = { key: 1 }, Xh =
|
|
24891
24894
|
iconUrl: jh,
|
24892
24895
|
shadowUrl: Jh
|
24893
24896
|
});
|
24894
|
-
const { t: n } = Ge(), s = i, r = e, u =
|
24897
|
+
const { t: n } = Ge(), s = i, r = e, u = M(() => r.hotelOffers), d = Lc(M(() => r.height)), g = Y(!1), f = M(() => {
|
24895
24898
|
const E = "lite.day", H = g.value ? "features=public_transit:all_systems&ppi=400" : "";
|
24896
24899
|
return `https://maps.hereapi.com/v3/base/mc/{z}/{x}/{y}/png8?style=${E}&${H}&apiKey={apiKey}`;
|
24897
24900
|
}), p = Y(null), y = Y(null), b = Y(void 0), O = Y(15);
|
@@ -24927,13 +24930,13 @@ const s3 = { class: "hotel-offers-map" }, a3 = { key: 0 }, r3 = { key: 1 }, Xh =
|
|
24927
24930
|
p.value.$el
|
24928
24931
|
);
|
24929
24932
|
});
|
24930
|
-
const B =
|
24933
|
+
const B = M(
|
24931
24934
|
() => r.hasErrorHotelOfferRequest || r.hasErrorHotelOffers
|
24932
|
-
), k =
|
24935
|
+
), k = M(
|
24933
24936
|
() => !r.hotelOfferRequest.latitude && !r.hotelOfferRequest.longitude
|
24934
|
-
), P =
|
24937
|
+
), P = M(
|
24935
24938
|
() => r.hotelOfferRequest.latitude && r.hotelOfferRequest.longitude ? [r.hotelOfferRequest.latitude, r.hotelOfferRequest.longitude] : void 0
|
24936
|
-
), Q =
|
24939
|
+
), Q = M(
|
24937
24940
|
() => r.hotelOfferRequest.longitude && r.hotelOfferRequest.latitude ? [r.hotelOfferRequest.latitude, r.hotelOfferRequest.longitude] : void 0
|
24938
24941
|
);
|
24939
24942
|
function V(E) {
|
@@ -25494,24 +25497,24 @@ const l3 = /* @__PURE__ */ xe(Xh, [["__scopeId", "data-v-fc24312a"]]), Gs = {
|
|
25494
25497
|
} = SB(n), { nightCount: k } = an(Tc()), P = Y(!0), Q = Wt({
|
25495
25498
|
cb: (Ae) => Er(Ae, "hotelRoomOfferList"),
|
25496
25499
|
fallbackValue: Gs,
|
25497
|
-
prop:
|
25500
|
+
prop: M(() => n.features)
|
25498
25501
|
}), V = Wt({
|
25499
25502
|
cb: (Ae) => (Ae || []).map((me) => ({
|
25500
25503
|
size: 45,
|
25501
25504
|
...me
|
25502
25505
|
})),
|
25503
25506
|
fallbackValue: [],
|
25504
|
-
prop:
|
25507
|
+
prop: M(() => n.markers)
|
25505
25508
|
}), w = Wt({
|
25506
25509
|
cb: (Ae) => ({
|
25507
25510
|
size: 70,
|
25508
25511
|
...Ae
|
25509
25512
|
}),
|
25510
|
-
prop:
|
25513
|
+
prop: M(() => n.venue)
|
25511
25514
|
}), F = Y(!1), E = Y(!1), H = Y({
|
25512
25515
|
lat: n?.latitude || w.value?.latitude || B.value?.latitude || void 0,
|
25513
25516
|
lng: n.longitude || w.value?.longitude || B.value?.longitude || void 0
|
25514
|
-
}), G = Y(!0), ee =
|
25517
|
+
}), G = Y(!0), ee = M(() => {
|
25515
25518
|
const Ae = {
|
25516
25519
|
latitude: n.venue?.latitude || B.value?.latitude,
|
25517
25520
|
longitude: n.venue?.longitude || B.value?.longitude
|
@@ -25650,17 +25653,17 @@ const l3 = /* @__PURE__ */ xe(Xh, [["__scopeId", "data-v-fc24312a"]]), Gs = {
|
|
25650
25653
|
$isCurrentBreakpointAboveOrEqual: b,
|
25651
25654
|
$isCurrentBreakpointBelow: O,
|
25652
25655
|
$isCurrentBreakpointBelowOrEqual: S
|
25653
|
-
} = Wi(p), B = Lc(
|
25656
|
+
} = Wi(p), B = Lc(M(() => i.height)), k = Wt({
|
25654
25657
|
fallbackValue: tl,
|
25655
|
-
prop:
|
25658
|
+
prop: M(() => i.features)
|
25656
25659
|
}), P = Wt({
|
25657
25660
|
fallbackValue: !0,
|
25658
|
-
prop:
|
25661
|
+
prop: M(() => i.mapFirstOnMobile)
|
25659
25662
|
}), { hotelOfferRequestInternal: Q } = V2(i), V = Y(""), w = Y(void 0), F = Y(
|
25660
25663
|
S("sm") && P.value || !1
|
25661
|
-
), E = Y(!1), H = Y(void 0), G = Y(null), ee =
|
25664
|
+
), E = Y(!1), H = Y(void 0), G = Y(null), ee = M(
|
25662
25665
|
() => f.value && E.value && b("sm") || d.value && (!!u.value?.length || F.value && S("sm"))
|
25663
|
-
), K =
|
25666
|
+
), K = M(() => g.value), Z = (De) => {
|
25664
25667
|
V.value = De.id;
|
25665
25668
|
}, _ = () => {
|
25666
25669
|
V.value = "";
|
@@ -26129,7 +26132,7 @@ const m3 = /* @__PURE__ */ xe(ef, [["__scopeId", "data-v-fd896d75"]]), Zs = {
|
|
26129
26132
|
readonly: !1,
|
26130
26133
|
value: u.form.emailAddress
|
26131
26134
|
}
|
26132
|
-
}), O = Y(null), S =
|
26135
|
+
}), O = Y(null), S = M(
|
26133
26136
|
() => p.value && Object.values(
|
26134
26137
|
ip(b.value, [
|
26135
26138
|
"organizationName",
|
@@ -27279,17 +27282,17 @@ const E3 = /* @__PURE__ */ xe(of, [["__scopeId", "data-v-50af2152"]]), ol = /* @
|
|
27279
27282
|
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
27283
|
cb: (P) => Er(P, "hotelRoomOfferList"),
|
27281
27284
|
fallbackValue: Zs,
|
27282
|
-
prop:
|
27283
|
-
}), O =
|
27285
|
+
prop: M(() => i.features)
|
27286
|
+
}), O = M(
|
27284
27287
|
() => Object.values(Im).sort(
|
27285
27288
|
(P, Q) => P.name.localeCompare(Q.name)
|
27286
27289
|
)
|
27287
|
-
), S =
|
27290
|
+
), S = M(
|
27288
27291
|
() => Object.values(Dc).map((P) => ({
|
27289
27292
|
text: s(`PrebookForm.salutations.${P}`),
|
27290
27293
|
value: P
|
27291
27294
|
}))
|
27292
|
-
), B =
|
27295
|
+
), B = M(
|
27293
27296
|
() => i.paymentMethods.split(",").filter(
|
27294
27297
|
(P) => Object.values(tf).includes(
|
27295
27298
|
P
|
@@ -27524,18 +27527,18 @@ const nf = {
|
|
27524
27527
|
__name: "FullBookingFlow",
|
27525
27528
|
props: I3,
|
27526
27529
|
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 =
|
27530
|
+
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 = M(
|
27528
27531
|
() => g.value === Ut.PaymentSuccessful
|
27529
|
-
), b =
|
27532
|
+
), b = M(
|
27530
27533
|
() => g.value === Ut.Prebook && r.value !== void 0
|
27531
|
-
), O =
|
27534
|
+
), O = M(() => {
|
27532
27535
|
let ee = "";
|
27533
27536
|
return b.value ? ee = "cancel" : ee = y.value ? "makeNewBook" : "back", n(`FullBookingFlow.${ee}`);
|
27534
|
-
}), S =
|
27537
|
+
}), S = M(
|
27535
27538
|
() => [Ut.PaymentRequested, Ut.PaymentSuccessful].includes(
|
27536
27539
|
g.value
|
27537
27540
|
) && s.value !== void 0
|
27538
|
-
), B =
|
27541
|
+
), B = M(() => {
|
27539
27542
|
const ee = {
|
27540
27543
|
...i,
|
27541
27544
|
...d.value,
|
@@ -27574,7 +27577,7 @@ const nf = {
|
|
27574
27577
|
}
|
27575
27578
|
const G = Wt({
|
27576
27579
|
fallbackValue: nf,
|
27577
|
-
prop:
|
27580
|
+
prop: M(() => i.features)
|
27578
27581
|
});
|
27579
27582
|
return (ee, K) => (C(), W("div", null, [
|
27580
27583
|
gt(l(X, null, {
|
@@ -28663,4 +28666,4 @@ export {
|
|
28663
28666
|
ol as y,
|
28664
28667
|
fv as z
|
28665
28668
|
};
|
28666
|
-
//# sourceMappingURL=revolugo.cancellationpoliciesbadge.props.
|
28669
|
+
//# sourceMappingURL=revolugo.cancellationpoliciesbadge.props.Dl4QithG.min.js.map
|