@revolugo/elements 6.11.0-rc.3 → 6.11.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.cancellationpoliciesbadge.Cni78qdV.css → revolugo.cancellationpoliciesbadge.CtXNNdEb.css} +1 -1
- package/dist/index.es.min.js +1 -1
- 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.DvldfDvB.min.js → revolugo.banktransferdetails.CvGsOBuX.min.js} +6 -6
- package/dist/{revolugo.bookingdetailssidebar.BuCxJwFK.min.js → revolugo.bookingdetailssidebar.CT6Nzxcx.min.js} +6 -6
- package/dist/{revolugo.bookingmanager.DAkBYJMw.min.js → revolugo.bookingmanager.NEKSPj-5.min.js} +6 -6
- package/dist/{revolugo.cancellationpoliciesbadge.BihpU95X.min.js → revolugo.cancellationpoliciesbadge.B7Yb4FzR.min.js} +6 -6
- package/dist/{revolugo.cancellationpoliciesbadge.props.UtBsgQwh.min.js → revolugo.cancellationpoliciesbadge.props.B5A5EeL5.min.js} +671 -656
- package/dist/{revolugo.cancellationpolicieslist.suIxTTKj.min.js → revolugo.cancellationpolicieslist.BYZPL43S.min.js} +6 -6
- package/dist/{revolugo.creditcardstripeform.i-8g3MMJ.min.js → revolugo.creditcardstripeform.S4FCNq1T.min.js} +4 -4
- package/dist/{revolugo.creditcardstripeform.DRh84p1Z.min.js → revolugo.creditcardstripeform.ob5_cGc8.min.js} +4 -4
- package/dist/{revolugo.currencypickerbtn.q6rE8kiF.min.js → revolugo.currencypickerbtn.DmJS8NDq.min.js} +6 -6
- package/dist/{revolugo.dialog-attach.DOl5Pm4y.min.js → revolugo.dialog-attach.kk3EW9md.min.js} +2 -2
- package/dist/{revolugo.fastbookingflow.Coa_LiPu.min.js → revolugo.fastbookingflow.BBR4OeG9.min.js} +6 -6
- package/dist/{revolugo.fullbookingflow.C2LY6VnD.min.js → revolugo.fullbookingflow.NvDa8a_Z.min.js} +6 -6
- package/dist/{revolugo.hoteldescriptionview.u1oUqxoU.min.js → revolugo.hoteldescriptionview.DL1ZHqoD.min.js} +6 -6
- package/dist/{revolugo.hotelofferlist.CQ-z1eY_.min.js → revolugo.hotelofferlist.BqzXCPXX.min.js} +6 -6
- package/dist/{revolugo.hoteloffersearchmenu.BP4v3ueG.min.js → revolugo.hoteloffersearchmenu.BLQKwAnN.min.js} +7 -7
- package/dist/{revolugo.hoteloffersmap.Cqd3PCwl.min.js → revolugo.hoteloffersmap.BikDI3dd.min.js} +6 -6
- package/dist/{revolugo.hoteloffersview.DzhI1ABF.min.js → revolugo.hoteloffersview.mLaZ0Brx.min.js} +6 -6
- package/dist/{revolugo.hotelroomofferlist.BOvk2dZO.min.js → revolugo.hotelroomofferlist.DpslYXgF.min.js} +6 -6
- package/dist/{revolugo.hotelroomoffersbookingflow.Daed8uB0.min.js → revolugo.hotelroomoffersbookingflow.CS4-1Cef.min.js} +6 -6
- package/dist/{revolugo.hotelroomoffersearchmenu.D7znWoBW.min.js → revolugo.hotelroomoffersearchmenu.DZtOvtTI.min.js} +6 -6
- package/dist/{revolugo.hotelroomoffersview.DepyPVzC.min.js → revolugo.hotelroomoffersview.DPtOXhf_.min.js} +6 -6
- package/dist/{revolugo.index.DEg8QnZO.min.js → revolugo.index.Cyj3QPBG.min.js} +2 -2
- package/dist/{revolugo.index.wc.C_uVqbAe.min.js → revolugo.index.wc.BuX6qZG3.min.js} +26 -26
- package/dist/{revolugo.langpickerbtn.BURxI3Rb.min.js → revolugo.langpickerbtn.DO_PNoFW.min.js} +6 -6
- package/dist/revolugo.min.js +1 -1
- package/dist/{revolugo.prebookform.D8QPWQ03.min.js → revolugo.prebookform.aL83tDY9.min.js} +6 -6
- package/dist/{revolugo.preferencesmenu.CjuEAz9P.min.js → revolugo.preferencesmenu.BzWLgney.min.js} +5 -5
- package/dist/{revolugo.preferencesmenu.D0jXbMjq.min.js → revolugo.preferencesmenu.Dc6OMWs7.min.js} +4 -4
- package/dist/{revolugo.roominglisteditor.BetxXNVX.min.js → revolugo.roominglisteditor.DBRr0EE4.min.js} +6 -6
- package/dist/{revolugo.storybooktoolbar.CI_NGsif.min.js → revolugo.storybooktoolbar.B6-bcLm-.min.js} +5 -5
- package/dist/{revolugo.termsandconditions.IgDyZ9wi.min.js → revolugo.termsandconditions.CjQAQH6v.min.js} +6 -6
- package/dist/{revolugo.vtoolbar.DE8yFWhM.min.js → revolugo.vtoolbar.BypQYXh8.min.js} +3 -3
- package/dist/{revolugo.webcomponentwrapper.BZmzQMkk.min.js → revolugo.webcomponentwrapper.BflrsV0L.min.js} +2 -2
- package/package.json +5 -5
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { o as oc, p as nc, q as Hg, r as Qs, s as Ht, t as dr, v as Vg, w as Rs, x as sc, y as ac, z as Kg, A as sn, C as Yg, D as qg, E as rc, F as Ji, G as ii, H as pi, V as St, k as yt, I as Ds, J as hi, d as J, e as U, b as Ut, j as vt, _ as Wt, K as mo, L as Lt, M as La, N as it, a as hr, O as fn, P as gn, Q as fr, R as wi, S as Os, T as Wg, U as lc, X as Ac, Y as uc, Z as cc, $ as Oi, a0 as dc, a1 as Xi, a2 as gr, a3 as mr, a4 as Ls, a5 as pr, a6 as _i, a7 as Ts, a8 as vr, a9 as br, aa as hc, g as ge, ab as Gg, ac as Fs, ad as gs, ae as Zg, af as fc, ag as jg, ah as gc, i as Jg, ai as mc, aj as Xg, ak as _g, al as $g, am as tm, an as pc, ao as em, ap as im, aq as om, ar as nm, as as sm, at as am, au as rm, av as lm, aw as Ga, ax as Am, ay as um, az as cm, aA as fA, aB as gA, aC as dm, aD as hm, aE as fm, aF as gm, aG as mm, aH as pm, aI as vm, B as Si, aJ as bm, aK as xe, aL as Cm, aM as vc, aN as ym, l as bc, h as Cc, f as yc, aO as Ec, aP as mA, aQ as Ic, aR as uo, aS as Za, aT as Em, aU as Im, aV as ms, aW as Cr, aX as km, aY as Bm, aZ as kc, a_ as ja, a$ as wm, b0 as an, c as Ja, b1 as Pm, b2 as Bc, b3 as wc, b4 as pA, b5 as Sm, b6 as vA, b7 as Qm, b8 as Rm, b9 as Dm, ba as Om, u as Lm, m as Tm } from "./revolugo.webcomponentwrapper.
|
|
2
|
-
import { B as yr, C as rn, i as q, D as mn, b as z, v as Gt, E as It, d as dt, G as zs, H as Pc, I as qi, J as Mt, K as Tt, L as Pe, M as pn, s as Te, N as Sc, e as ht, x as se, P as Fm, Q as gi, R as vn, S as zm, T as Ae, U as be, a as l, m as At, V as bn, h as Vt, c as M, w as c, z as R, p as Y, y as F, u as v, f as G, o as E, j as V, F as lt, W as Kt, X as ot, n as vo, g as bo, Y as Cn, Z as ne, _ as xs, $ as me, a0 as mi, a1 as yn, a2 as Be, a3 as qe, a4 as Er, a5 as $t, a6 as Qc, a7 as So, r as te, a8 as Ge, a9 as Rc, aa as xm, ab as Ms, ac as Ri, ad as Mm, ae as En, af as es, ag as Nm, ah as Dc, ai as Um, aj as Hm, ak as Vm, al as bA, am as Km, an as Ym, ao as $i, ap as qm, aq as Wm, ar as Gm, as as Zm, at as Zi, au as Ns, av as Us, aw as jm, ax as Ir, ay as Jm, az as Xm, aA as _m, aB as $m, aC as tp, aD as ep, aE as In, aF as ip, aG as ce, k as Co, aH as Ta, aI as Li, t as ji, aJ as CA, aK as Wn, aL as yA, aM as Gn, aN as op, q as np, aO as Oc, aP as sp, aQ as ap, aR as Ti, aS as Fi, aT as rp, aU as lp, aV as Hs, aW as Ap, aX as Lc, aY as up } from "./revolugo.index.wc.
|
|
3
|
-
import { u as oi, p as cp, C as dp, V as Tc } from "./revolugo.creditcardstripeform.
|
|
4
|
-
import { V as Vs } from "./revolugo.vtoolbar.
|
|
5
|
-
import { s as ln, a as hp, g as fp, w as gp } from "./revolugo.index.
|
|
6
|
-
import { P as Xa, a as _a, b as mp } from "./revolugo.preferencesmenu.
|
|
1
|
+
import { o as oc, p as nc, q as Hg, r as Qs, s as Ht, t as dr, v as Vg, w as Rs, x as sc, y as ac, z as Kg, A as sn, C as Yg, D as qg, E as rc, F as Ji, G as ii, H as pi, V as St, k as yt, I as Ds, J as hi, d as J, e as U, b as Ut, j as vt, _ as Wt, K as mo, L as Lt, M as La, N as it, a as hr, O as fn, P as gn, Q as fr, R as wi, S as Os, T as Wg, U as lc, X as Ac, Y as uc, Z as cc, $ as Oi, a0 as dc, a1 as Xi, a2 as gr, a3 as mr, a4 as Ls, a5 as pr, a6 as _i, a7 as Ts, a8 as vr, a9 as br, aa as hc, g as ge, ab as Gg, ac as Fs, ad as gs, ae as Zg, af as fc, ag as jg, ah as gc, i as Jg, ai as mc, aj as Xg, ak as _g, al as $g, am as tm, an as pc, ao as em, ap as im, aq as om, ar as nm, as as sm, at as am, au as rm, av as lm, aw as Ga, ax as Am, ay as um, az as cm, aA as fA, aB as gA, aC as dm, aD as hm, aE as fm, aF as gm, aG as mm, aH as pm, aI as vm, B as Si, aJ as bm, aK as xe, aL as Cm, aM as vc, aN as ym, l as bc, h as Cc, f as yc, aO as Ec, aP as mA, aQ as Ic, aR as uo, aS as Za, aT as Em, aU as Im, aV as ms, aW as Cr, aX as km, aY as Bm, aZ as kc, a_ as ja, a$ as wm, b0 as an, c as Ja, b1 as Pm, b2 as Bc, b3 as wc, b4 as pA, b5 as Sm, b6 as vA, b7 as Qm, b8 as Rm, b9 as Dm, ba as Om, u as Lm, m as Tm } from "./revolugo.webcomponentwrapper.BflrsV0L.min.js";
|
|
2
|
+
import { B as yr, C as rn, i as q, D as mn, b as z, v as Gt, E as It, d as dt, G as zs, H as Pc, I as qi, J as Mt, K as Tt, L as Pe, M as pn, s as Te, N as Sc, e as ht, x as se, P as Fm, Q as gi, R as vn, S as zm, T as Ae, U as be, a as l, m as At, V as bn, h as Vt, c as M, w as c, z as R, p as Y, y as F, u as v, f as G, o as E, j as V, F as lt, W as Kt, X as ot, n as vo, g as bo, Y as Cn, Z as ne, _ as xs, $ as me, a0 as mi, a1 as yn, a2 as Be, a3 as qe, a4 as Er, a5 as $t, a6 as Qc, a7 as So, r as te, a8 as Ge, a9 as Rc, aa as xm, ab as Ms, ac as Ri, ad as Mm, ae as En, af as es, ag as Nm, ah as Dc, ai as Um, aj as Hm, ak as Vm, al as bA, am as Km, an as Ym, ao as $i, ap as qm, aq as Wm, ar as Gm, as as Zm, at as Zi, au as Ns, av as Us, aw as jm, ax as Ir, ay as Jm, az as Xm, aA as _m, aB as $m, aC as tp, aD as ep, aE as In, aF as ip, aG as ce, k as Co, aH as Ta, aI as Li, t as ji, aJ as CA, aK as Wn, aL as yA, aM as Gn, aN as op, q as np, aO as Oc, aP as sp, aQ as ap, aR as Ti, aS as Fi, aT as rp, aU as lp, aV as Hs, aW as Ap, aX as Lc, aY as up } from "./revolugo.index.wc.BuX6qZG3.min.js";
|
|
3
|
+
import { u as oi, p as cp, C as dp, V as Tc } from "./revolugo.creditcardstripeform.ob5_cGc8.min.js";
|
|
4
|
+
import { V as Vs } from "./revolugo.vtoolbar.BypQYXh8.min.js";
|
|
5
|
+
import { s as ln, a as hp, g as fp, w as gp } from "./revolugo.index.Cyj3QPBG.min.js";
|
|
6
|
+
import { P as Xa, a as _a, b as mp } from "./revolugo.preferencesmenu.BzWLgney.min.js";
|
|
7
7
|
/* empty css */
|
|
8
8
|
function Ug(t) {
|
|
9
9
|
try {
|
|
@@ -115,18 +115,18 @@ const An = yr(
|
|
|
115
115
|
const t = q(
|
|
116
116
|
void 0
|
|
117
117
|
), i = q(), n = q(!1), s = q(!1), r = mn(
|
|
118
|
-
async (
|
|
119
|
-
const
|
|
120
|
-
if (
|
|
118
|
+
async (g) => {
|
|
119
|
+
const f = rn();
|
|
120
|
+
if (f) {
|
|
121
121
|
i.value = void 0, n.value = !1, s.value = !0;
|
|
122
122
|
try {
|
|
123
123
|
const { eventMetadata: b } = window.RevolugoElements.config, y = {
|
|
124
124
|
hotelOfferRequestCreateApi: {
|
|
125
|
-
...
|
|
125
|
+
...g,
|
|
126
126
|
eventMetadata: b,
|
|
127
127
|
...t.value
|
|
128
128
|
}
|
|
129
|
-
}, C = await
|
|
129
|
+
}, C = await f?.hotelOfferRequests.create(
|
|
130
130
|
y
|
|
131
131
|
);
|
|
132
132
|
return i.value = C, window.RevolugoElements.eventBus.$emit(
|
|
@@ -142,10 +142,10 @@ const An = yr(
|
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
);
|
|
145
|
-
function u(
|
|
145
|
+
function u(g) {
|
|
146
146
|
t.value = {
|
|
147
|
-
latitude:
|
|
148
|
-
longitude:
|
|
147
|
+
latitude: g[0],
|
|
148
|
+
longitude: g[1]
|
|
149
149
|
};
|
|
150
150
|
}
|
|
151
151
|
const d = z(
|
|
@@ -370,15 +370,15 @@ function yp(t) {
|
|
|
370
370
|
s(), Ae(() => i.value = t());
|
|
371
371
|
}
|
|
372
372
|
function u(d) {
|
|
373
|
-
const
|
|
373
|
+
const g = d ? getComputedStyle(d) : {
|
|
374
374
|
transitionDuration: 0.2
|
|
375
|
-
},
|
|
375
|
+
}, f = parseFloat(g.transitionDuration) * 1e3 || 200;
|
|
376
376
|
if (s(), i.value <= 0) return;
|
|
377
377
|
const b = performance.now();
|
|
378
378
|
n = window.setInterval(() => {
|
|
379
|
-
const y = performance.now() - b +
|
|
379
|
+
const y = performance.now() - b + f;
|
|
380
380
|
i.value = Math.max(t() - y, 0), i.value <= 0 && s();
|
|
381
|
-
},
|
|
381
|
+
}, f);
|
|
382
382
|
}
|
|
383
383
|
return zm(s), {
|
|
384
384
|
clear: s,
|
|
@@ -423,8 +423,8 @@ const Ep = Tt({
|
|
|
423
423
|
} = nc(), {
|
|
424
424
|
themeClasses: d
|
|
425
425
|
} = pn(t), {
|
|
426
|
-
colorClasses:
|
|
427
|
-
colorStyles:
|
|
426
|
+
colorClasses: g,
|
|
427
|
+
colorStyles: f,
|
|
428
428
|
variantClasses: b
|
|
429
429
|
} = Hg(t), {
|
|
430
430
|
roundedClasses: y
|
|
@@ -481,8 +481,8 @@ const Ep = Tt({
|
|
|
481
481
|
modelValue: s.value,
|
|
482
482
|
"onUpdate:modelValue": (nt) => s.value = nt,
|
|
483
483
|
contentProps: At({
|
|
484
|
-
class: ["v-snackbar__wrapper", d.value,
|
|
485
|
-
style: [
|
|
484
|
+
class: ["v-snackbar__wrapper", d.value, g.value, y.value, b.value],
|
|
485
|
+
style: [f.value],
|
|
486
486
|
onPointerenter: D,
|
|
487
487
|
onPointerleave: W
|
|
488
488
|
}, X.contentProps),
|
|
@@ -540,14 +540,14 @@ const Ep = Tt({
|
|
|
540
540
|
const { t: i } = Vt(), n = t, s = oi({
|
|
541
541
|
prop: z(() => n.loading)
|
|
542
542
|
}), r = q(!1), u = q(null), { $breakpointService: d } = pi(u);
|
|
543
|
-
async function f
|
|
543
|
+
async function g(f) {
|
|
544
544
|
try {
|
|
545
|
-
await navigator.clipboard.writeText(
|
|
545
|
+
await navigator.clipboard.writeText(f.replace(/<br>/giu, ",")), r.value = !0;
|
|
546
546
|
} catch {
|
|
547
547
|
console.log("error");
|
|
548
548
|
}
|
|
549
549
|
}
|
|
550
|
-
return (
|
|
550
|
+
return (f, b) => (E(), M(St, {
|
|
551
551
|
ref_key: "root",
|
|
552
552
|
ref: u
|
|
553
553
|
}, {
|
|
@@ -625,7 +625,7 @@ const Ep = Tt({
|
|
|
625
625
|
class: "mt-1",
|
|
626
626
|
elevation: 0,
|
|
627
627
|
width: v(d).xs ? "100%" : "auto",
|
|
628
|
-
onClick: b[0] || (b[0] = (y) =>
|
|
628
|
+
onClick: b[0] || (b[0] = (y) => g(IA))
|
|
629
629
|
}, {
|
|
630
630
|
default: c(() => [
|
|
631
631
|
Y(F(IA))
|
|
@@ -652,7 +652,7 @@ const Ep = Tt({
|
|
|
652
652
|
class: "mt-1",
|
|
653
653
|
elevation: "0",
|
|
654
654
|
width: v(d).xs ? "100%" : "auto",
|
|
655
|
-
onClick: b[1] || (b[1] = (y) =>
|
|
655
|
+
onClick: b[1] || (b[1] = (y) => g(kA))
|
|
656
656
|
}, {
|
|
657
657
|
default: c(() => [
|
|
658
658
|
Y(F(kA))
|
|
@@ -685,7 +685,7 @@ const Ep = Tt({
|
|
|
685
685
|
elevation: "0",
|
|
686
686
|
height: "auto",
|
|
687
687
|
width: v(d).xs ? "100%" : "auto",
|
|
688
|
-
onClick: b[2] || (b[2] = (y) =>
|
|
688
|
+
onClick: b[2] || (b[2] = (y) => g(BA)),
|
|
689
689
|
innerHTML: BA
|
|
690
690
|
}, null, 8, ["width"])
|
|
691
691
|
]),
|
|
@@ -1234,9 +1234,9 @@ const Dp = /* @__PURE__ */ Wt(Pp, [["render", Rp]]), Op = { class: "text-h7 font
|
|
|
1234
1234
|
const y = Gt(`1/1/1 ${b}`, "h:mm A");
|
|
1235
1235
|
return b ? Gt(y).format("HH:mm") : null;
|
|
1236
1236
|
}
|
|
1237
|
-
const d = z(() => !s.checkInDate || !s.checkOutDate ? 0 : Gt(s.checkOutDate).diff(Gt(s.checkInDate), "days")),
|
|
1237
|
+
const d = z(() => !s.checkInDate || !s.checkOutDate ? 0 : Gt(s.checkOutDate).diff(Gt(s.checkInDate), "days")), g = z(
|
|
1238
1238
|
() => s.hotelRoomOffer.hotelRooms.reduce((b, y) => b + y.count, 0) || 0
|
|
1239
|
-
),
|
|
1239
|
+
), f = z(
|
|
1240
1240
|
() => s.hotelRoomOffer.hotelRooms.some(
|
|
1241
1241
|
(b) => b.beds.some((y) => y.length > 1)
|
|
1242
1242
|
)
|
|
@@ -1360,7 +1360,7 @@ const Dp = /* @__PURE__ */ Wt(Pp, [["render", Rp]]), Op = { class: "text-h7 font
|
|
|
1360
1360
|
"breakfast-option": "INCLUDED",
|
|
1361
1361
|
class: "mb-3"
|
|
1362
1362
|
}, null, 8, ["breakfastCount"])) : G("", !0),
|
|
1363
|
-
|
|
1363
|
+
f.value ? (E(), M(fr, {
|
|
1364
1364
|
key: 1,
|
|
1365
1365
|
icon: !1,
|
|
1366
1366
|
density: "compact",
|
|
@@ -1381,8 +1381,8 @@ const Dp = /* @__PURE__ */ Wt(Pp, [["render", Rp]]), Op = { class: "text-h7 font
|
|
|
1381
1381
|
"price-info-base": c(() => [
|
|
1382
1382
|
t.hotelRoomOffer ? (E(), V(lt, { key: 0 }, [
|
|
1383
1383
|
R("span", qp, F(v(n)("BookingDetailsSidebar.roomCount", {
|
|
1384
|
-
n:
|
|
1385
|
-
value:
|
|
1384
|
+
n: g.value,
|
|
1385
|
+
value: g.value
|
|
1386
1386
|
})) + " x " + F(v(n)("BookingDetailsSidebar.nightCount", {
|
|
1387
1387
|
n: d.value,
|
|
1388
1388
|
value: d.value
|
|
@@ -1676,7 +1676,7 @@ const tv = /* @__PURE__ */ Wt(Hc, [["__scopeId", "data-v-5bfddced"]]), Vc = /* @
|
|
|
1676
1676
|
function u() {
|
|
1677
1677
|
n("click:hotel-offer-item");
|
|
1678
1678
|
}
|
|
1679
|
-
return (d,
|
|
1679
|
+
return (d, g) => (E(), M(St, {
|
|
1680
1680
|
class: "hotel-offer-item pa-2",
|
|
1681
1681
|
elevation: "0",
|
|
1682
1682
|
tile: "",
|
|
@@ -2694,13 +2694,13 @@ const un = Symbol.for("vuetify:v-expansion-panel"), Yc = Tt({
|
|
|
2694
2694
|
backgroundColorStyles: u
|
|
2695
2695
|
} = Xi(t, "color"), {
|
|
2696
2696
|
dimensionStyles: d
|
|
2697
|
-
} = gr(t),
|
|
2697
|
+
} = gr(t), g = z(() => ({
|
|
2698
2698
|
collapseIcon: t.collapseIcon,
|
|
2699
2699
|
disabled: s.disabled.value,
|
|
2700
2700
|
expanded: s.isSelected.value,
|
|
2701
2701
|
expandIcon: t.expandIcon,
|
|
2702
2702
|
readonly: t.readonly
|
|
2703
|
-
})),
|
|
2703
|
+
})), f = z(() => s.isSelected.value ? t.collapseIcon : t.expandIcon);
|
|
2704
2704
|
return Ht(() => me(l("button", {
|
|
2705
2705
|
class: ["v-expansion-panel-title", {
|
|
2706
2706
|
"v-expansion-panel-title--active": s.isSelected.value,
|
|
@@ -2715,16 +2715,16 @@ const un = Symbol.for("vuetify:v-expansion-panel"), Yc = Tt({
|
|
|
2715
2715
|
onClick: t.readonly ? void 0 : s.toggle
|
|
2716
2716
|
}, [l("span", {
|
|
2717
2717
|
class: "v-expansion-panel-title__overlay"
|
|
2718
|
-
}, null), n.default?.(
|
|
2718
|
+
}, null), n.default?.(g.value), !t.hideActions && l(ii, {
|
|
2719
2719
|
defaults: {
|
|
2720
2720
|
VIcon: {
|
|
2721
|
-
icon:
|
|
2721
|
+
icon: f.value
|
|
2722
2722
|
}
|
|
2723
2723
|
}
|
|
2724
2724
|
}, {
|
|
2725
2725
|
default: () => [l("span", {
|
|
2726
2726
|
class: "v-expansion-panel-title__icon"
|
|
2727
|
-
}, [n.actions?.(
|
|
2727
|
+
}, [n.actions?.(g.value) ?? l(yt, null, null)])]
|
|
2728
2728
|
})]), [[yn("ripple"), t.ripple]])), {};
|
|
2729
2729
|
}
|
|
2730
2730
|
}), Wc = Tt({
|
|
@@ -2753,8 +2753,8 @@ const un = Symbol.for("vuetify:v-expansion-panel"), Yc = Tt({
|
|
|
2753
2753
|
} = Xi(t, "bgColor"), {
|
|
2754
2754
|
elevationClasses: d
|
|
2755
2755
|
} = pr(t), {
|
|
2756
|
-
roundedClasses:
|
|
2757
|
-
} = Qs(t),
|
|
2756
|
+
roundedClasses: g
|
|
2757
|
+
} = Qs(t), f = z(() => s?.disabled.value || t.disabled), b = z(() => s.group.items.value.reduce((O, B, Q) => (s.group.selected.value.includes(B.id) && O.push(Q), O), [])), y = z(() => {
|
|
2758
2758
|
const O = s.group.items.value.findIndex((B) => B.id === s.id);
|
|
2759
2759
|
return !s.isSelected.value && b.value.some((B) => B - O === 1);
|
|
2760
2760
|
}), C = z(() => {
|
|
@@ -2768,8 +2768,8 @@ const un = Symbol.for("vuetify:v-expansion-panel"), Yc = Tt({
|
|
|
2768
2768
|
"v-expansion-panel--active": s.isSelected.value,
|
|
2769
2769
|
"v-expansion-panel--before-active": y.value,
|
|
2770
2770
|
"v-expansion-panel--after-active": C.value,
|
|
2771
|
-
"v-expansion-panel--disabled":
|
|
2772
|
-
},
|
|
2771
|
+
"v-expansion-panel--disabled": f.value
|
|
2772
|
+
}, g.value, r.value, t.class],
|
|
2773
2773
|
style: [u.value, t.style]
|
|
2774
2774
|
}, {
|
|
2775
2775
|
default: () => [l("div", {
|
|
@@ -2880,20 +2880,20 @@ function Qv(t, i, n, s, r, u) {
|
|
|
2880
2880
|
flat: ""
|
|
2881
2881
|
}, {
|
|
2882
2882
|
default: c(() => [
|
|
2883
|
-
(E(!0), V(lt, null, Kt(t.mappedHotelRoomingLists, (
|
|
2884
|
-
key:
|
|
2883
|
+
(E(!0), V(lt, null, Kt(t.mappedHotelRoomingLists, (g, f) => (E(), M(Gc, {
|
|
2884
|
+
key: g.id
|
|
2885
2885
|
}, {
|
|
2886
2886
|
default: c(() => [
|
|
2887
2887
|
l(bs, null, {
|
|
2888
2888
|
default: c(() => [
|
|
2889
2889
|
R("div", null, [
|
|
2890
|
-
|
|
2890
|
+
g.hotelRoom?.description ? (E(), V("div", wv, F(g.hotelRoom?.description), 1)) : G("", !0),
|
|
2891
2891
|
R("div", null, [
|
|
2892
|
-
Y(F(
|
|
2892
|
+
Y(F(g.hotelRoom?.bedsPretty) + " ", 1),
|
|
2893
2893
|
R("span", {
|
|
2894
2894
|
class: "ml-2 text-caption text--secondary",
|
|
2895
2895
|
innerHTML: t.t("RoomingListEditor.occupancy", {
|
|
2896
|
-
occupancy:
|
|
2896
|
+
occupancy: g.hotelRoom?.occupancy
|
|
2897
2897
|
})
|
|
2898
2898
|
}, null, 8, Pv)
|
|
2899
2899
|
])
|
|
@@ -2903,7 +2903,7 @@ function Qv(t, i, n, s, r, u) {
|
|
|
2903
2903
|
}, 1024),
|
|
2904
2904
|
l(vs, null, {
|
|
2905
2905
|
default: c(() => [
|
|
2906
|
-
(E(!0), V(lt, null, Kt(
|
|
2906
|
+
(E(!0), V(lt, null, Kt(g.hotelRoomingListGuests, (b, y) => (E(), V("div", { key: y }, [
|
|
2907
2907
|
R("span", Sv, F(t.t("RoomingListEditor.guestCount", {
|
|
2908
2908
|
guestCount: y + 1
|
|
2909
2909
|
})), 1),
|
|
@@ -2915,7 +2915,7 @@ function Qv(t, i, n, s, r, u) {
|
|
|
2915
2915
|
"prepend-inner-icon": "fas fa-user",
|
|
2916
2916
|
"model-value": b.fullname,
|
|
2917
2917
|
"onUpdate:modelValue": (C) => t.updateRoomingListDebounced({
|
|
2918
|
-
roomingListId:
|
|
2918
|
+
roomingListId: g.id,
|
|
2919
2919
|
guestId: b.id,
|
|
2920
2920
|
fullName: C,
|
|
2921
2921
|
index: y
|
|
@@ -2925,7 +2925,7 @@ function Qv(t, i, n, s, r, u) {
|
|
|
2925
2925
|
]),
|
|
2926
2926
|
_: 2
|
|
2927
2927
|
}, 1024),
|
|
2928
|
-
|
|
2928
|
+
f != t.mappedHotelRoomingLists.length - 1 ? (E(), M(Lt, { key: 0 })) : G("", !0)
|
|
2929
2929
|
]),
|
|
2930
2930
|
_: 2
|
|
2931
2931
|
}, 1024))), 128))
|
|
@@ -2934,7 +2934,7 @@ function Qv(t, i, n, s, r, u) {
|
|
|
2934
2934
|
}),
|
|
2935
2935
|
l(yo, {
|
|
2936
2936
|
modelValue: t.showSnackbar,
|
|
2937
|
-
"onUpdate:modelValue": i[0] || (i[0] = (
|
|
2937
|
+
"onUpdate:modelValue": i[0] || (i[0] = (g) => t.showSnackbar = g),
|
|
2938
2938
|
color: t.snackbarColor,
|
|
2939
2939
|
class: "elevation-24",
|
|
2940
2940
|
location: "right top"
|
|
@@ -3107,8 +3107,8 @@ function Vv(t, i) {
|
|
|
3107
3107
|
}, u = i.instance?.$.uid;
|
|
3108
3108
|
if (!s || !u) return;
|
|
3109
3109
|
const d = Hv(i.value);
|
|
3110
|
-
s._touchHandlers = s._touchHandlers ?? /* @__PURE__ */ Object.create(null), s._touchHandlers[u] = d, Rc(d).forEach((
|
|
3111
|
-
s.addEventListener(
|
|
3110
|
+
s._touchHandlers = s._touchHandlers ?? /* @__PURE__ */ Object.create(null), s._touchHandlers[u] = d, Rc(d).forEach((g) => {
|
|
3111
|
+
s.addEventListener(g, d[g], r);
|
|
3112
3112
|
});
|
|
3113
3113
|
}
|
|
3114
3114
|
function Kv(t, i) {
|
|
@@ -3178,8 +3178,8 @@ const Jc = {
|
|
|
3178
3178
|
isRtl: r
|
|
3179
3179
|
} = xm(), {
|
|
3180
3180
|
t: u
|
|
3181
|
-
} = Ms(), d = br(t, _c),
|
|
3182
|
-
const T = t.direction === "vertical" ? "y" : "x", W = (
|
|
3181
|
+
} = Ms(), d = br(t, _c), g = q(), f = z(() => r.value ? !t.reverse : t.reverse), b = Te(!1), y = z(() => {
|
|
3182
|
+
const T = t.direction === "vertical" ? "y" : "x", W = (f.value ? !b.value : b.value) ? "-reverse" : "";
|
|
3183
3183
|
return `v-window-${T}${W}-transition`;
|
|
3184
3184
|
}), C = Te(0), O = q(void 0), B = z(() => d.items.value.findIndex((T) => d.selected.value.includes(T.id)));
|
|
3185
3185
|
ht(B, (T, D) => {
|
|
@@ -3190,7 +3190,7 @@ const Jc = {
|
|
|
3190
3190
|
isReversed: b,
|
|
3191
3191
|
transitionCount: C,
|
|
3192
3192
|
transitionHeight: O,
|
|
3193
|
-
rootRef:
|
|
3193
|
+
rootRef: g
|
|
3194
3194
|
});
|
|
3195
3195
|
const Q = z(() => t.continuous || B.value !== 0), k = z(() => t.continuous || B.value !== d.items.value.length - 1);
|
|
3196
3196
|
function w() {
|
|
@@ -3202,7 +3202,7 @@ const Jc = {
|
|
|
3202
3202
|
const H = z(() => {
|
|
3203
3203
|
const T = [], D = {
|
|
3204
3204
|
icon: r.value ? t.nextIcon : t.prevIcon,
|
|
3205
|
-
class: `v-window__${
|
|
3205
|
+
class: `v-window__${f.value ? "right" : "left"}`,
|
|
3206
3206
|
onClick: d.prev,
|
|
3207
3207
|
"aria-label": u("$vuetify.carousel.prev")
|
|
3208
3208
|
};
|
|
@@ -3211,7 +3211,7 @@ const Jc = {
|
|
|
3211
3211
|
}) : l(vt, D, null) : l("div", null, null));
|
|
3212
3212
|
const W = {
|
|
3213
3213
|
icon: r.value ? t.prevIcon : t.nextIcon,
|
|
3214
|
-
class: `v-window__${
|
|
3214
|
+
class: `v-window__${f.value ? "left" : "right"}`,
|
|
3215
3215
|
onClick: d.next,
|
|
3216
3216
|
"aria-label": u("$vuetify.carousel.next")
|
|
3217
3217
|
};
|
|
@@ -3221,10 +3221,10 @@ const Jc = {
|
|
|
3221
3221
|
}), I = z(() => t.touch === !1 ? t.touch : {
|
|
3222
3222
|
...{
|
|
3223
3223
|
left: () => {
|
|
3224
|
-
|
|
3224
|
+
f.value ? w() : P();
|
|
3225
3225
|
},
|
|
3226
3226
|
right: () => {
|
|
3227
|
-
|
|
3227
|
+
f.value ? P() : w();
|
|
3228
3228
|
},
|
|
3229
3229
|
start: (D) => {
|
|
3230
3230
|
let {
|
|
@@ -3236,7 +3236,7 @@ const Jc = {
|
|
|
3236
3236
|
...t.touch === !0 ? {} : t.touch
|
|
3237
3237
|
});
|
|
3238
3238
|
return Ht(() => me(l(t.tag, {
|
|
3239
|
-
ref:
|
|
3239
|
+
ref: g,
|
|
3240
3240
|
class: ["v-window", {
|
|
3241
3241
|
"v-window--show-arrows-on-hover": t.showArrows === "hover"
|
|
3242
3242
|
}, s.value, t.class],
|
|
@@ -3297,14 +3297,14 @@ const Jc = {
|
|
|
3297
3297
|
t: r
|
|
3298
3298
|
} = Ms(), u = q();
|
|
3299
3299
|
let d = -1;
|
|
3300
|
-
ht(s,
|
|
3301
|
-
b ?
|
|
3302
|
-
}), se(
|
|
3303
|
-
function
|
|
3300
|
+
ht(s, f), ht(() => t.interval, f), ht(() => t.cycle, (b) => {
|
|
3301
|
+
b ? f() : window.clearTimeout(d);
|
|
3302
|
+
}), se(g);
|
|
3303
|
+
function g() {
|
|
3304
3304
|
!t.cycle || !u.value || (d = window.setTimeout(u.value.group.next, Number(t.interval) > 0 ? Number(t.interval) : 6e3));
|
|
3305
3305
|
}
|
|
3306
|
-
function
|
|
3307
|
-
window.clearTimeout(d), window.requestAnimationFrame(
|
|
3306
|
+
function f() {
|
|
3307
|
+
window.clearTimeout(d), window.requestAnimationFrame(g);
|
|
3308
3308
|
}
|
|
3309
3309
|
return Ht(() => {
|
|
3310
3310
|
const b = Eo.filterProps(t);
|
|
@@ -3395,30 +3395,30 @@ const Jc = {
|
|
|
3395
3395
|
isBooted: u
|
|
3396
3396
|
} = Gg();
|
|
3397
3397
|
if (!s || !r) throw new Error("[Vuetify] VWindowItem must be used inside VWindow");
|
|
3398
|
-
const d = Te(!1),
|
|
3399
|
-
function
|
|
3398
|
+
const d = Te(!1), g = z(() => u.value && (s.isReversed.value ? t.reverseTransition !== !1 : t.transition !== !1));
|
|
3399
|
+
function f() {
|
|
3400
3400
|
!d.value || !s || (d.value = !1, s.transitionCount.value > 0 && (s.transitionCount.value -= 1, s.transitionCount.value === 0 && (s.transitionHeight.value = void 0)));
|
|
3401
3401
|
}
|
|
3402
3402
|
function b() {
|
|
3403
3403
|
d.value || !s || (d.value = !0, s.transitionCount.value === 0 && (s.transitionHeight.value = Ri(s.rootRef.value?.clientHeight)), s.transitionCount.value += 1);
|
|
3404
3404
|
}
|
|
3405
3405
|
function y() {
|
|
3406
|
-
|
|
3406
|
+
f();
|
|
3407
3407
|
}
|
|
3408
3408
|
function C(Q) {
|
|
3409
3409
|
d.value && Ae(() => {
|
|
3410
|
-
!
|
|
3410
|
+
!g.value || !d.value || !s || (s.transitionHeight.value = Ri(Q.clientHeight));
|
|
3411
3411
|
});
|
|
3412
3412
|
}
|
|
3413
3413
|
const O = z(() => {
|
|
3414
3414
|
const Q = s.isReversed.value ? t.reverseTransition : t.transition;
|
|
3415
|
-
return
|
|
3415
|
+
return g.value ? {
|
|
3416
3416
|
name: typeof Q != "string" ? s.transition.value : Q,
|
|
3417
3417
|
onBeforeEnter: b,
|
|
3418
|
-
onAfterEnter:
|
|
3418
|
+
onAfterEnter: f,
|
|
3419
3419
|
onEnterCancelled: y,
|
|
3420
3420
|
onBeforeLeave: b,
|
|
3421
|
-
onAfterLeave:
|
|
3421
|
+
onAfterLeave: f,
|
|
3422
3422
|
onLeaveCancelled: y,
|
|
3423
3423
|
onEnter: C
|
|
3424
3424
|
} : !1;
|
|
@@ -3484,9 +3484,9 @@ const Jc = {
|
|
|
3484
3484
|
} = Xi($t(t, "color")), {
|
|
3485
3485
|
borderClasses: d
|
|
3486
3486
|
} = fc(t), {
|
|
3487
|
-
dimensionStyles:
|
|
3487
|
+
dimensionStyles: g
|
|
3488
3488
|
} = gr(t), {
|
|
3489
|
-
elevationClasses:
|
|
3489
|
+
elevationClasses: f
|
|
3490
3490
|
} = pr(t), {
|
|
3491
3491
|
locationStyles: b
|
|
3492
3492
|
} = jg(t), {
|
|
@@ -3495,8 +3495,8 @@ const Jc = {
|
|
|
3495
3495
|
roundedClasses: C
|
|
3496
3496
|
} = Qs(t);
|
|
3497
3497
|
return Ht(() => l(t.tag, {
|
|
3498
|
-
class: ["v-sheet", s.value, r.value, d.value,
|
|
3499
|
-
style: [u.value,
|
|
3498
|
+
class: ["v-sheet", s.value, r.value, d.value, f.value, y.value, C.value, t.class],
|
|
3499
|
+
style: [u.value, g.value, b.value, t.style]
|
|
3500
3500
|
}, n)), {};
|
|
3501
3501
|
}
|
|
3502
3502
|
}), $c = Tt({
|
|
@@ -3540,10 +3540,10 @@ const Jc = {
|
|
|
3540
3540
|
emit: n
|
|
3541
3541
|
} = i;
|
|
3542
3542
|
const s = z(() => Array.isArray(t.disabled) ? t.disabled.includes("text") : !!t.disabled), r = z(() => Array.isArray(t.disabled) ? t.disabled.includes("mode") : !!t.disabled), u = z(() => Array.isArray(t.disabled) ? t.disabled.includes("prev") : !!t.disabled), d = z(() => Array.isArray(t.disabled) ? t.disabled.includes("next") : !!t.disabled);
|
|
3543
|
-
function
|
|
3543
|
+
function g() {
|
|
3544
3544
|
n("click:prev");
|
|
3545
3545
|
}
|
|
3546
|
-
function
|
|
3546
|
+
function f() {
|
|
3547
3547
|
n("click:next");
|
|
3548
3548
|
}
|
|
3549
3549
|
function b() {
|
|
@@ -3577,13 +3577,13 @@ const Jc = {
|
|
|
3577
3577
|
disabled: u.value,
|
|
3578
3578
|
icon: t.prevIcon,
|
|
3579
3579
|
variant: "text",
|
|
3580
|
-
onClick:
|
|
3580
|
+
onClick: g
|
|
3581
3581
|
}, null), l(vt, {
|
|
3582
3582
|
"data-testid": "next-month",
|
|
3583
3583
|
disabled: d.value,
|
|
3584
3584
|
icon: t.nextIcon,
|
|
3585
3585
|
variant: "text",
|
|
3586
|
-
onClick:
|
|
3586
|
+
onClick: f
|
|
3587
3587
|
}, null)])])), {};
|
|
3588
3588
|
}
|
|
3589
3589
|
}), Zv = Tt({
|
|
@@ -3611,11 +3611,11 @@ const Jc = {
|
|
|
3611
3611
|
function d() {
|
|
3612
3612
|
n("click");
|
|
3613
3613
|
}
|
|
3614
|
-
function
|
|
3614
|
+
function g() {
|
|
3615
3615
|
n("click:append");
|
|
3616
3616
|
}
|
|
3617
3617
|
return Ht(() => {
|
|
3618
|
-
const
|
|
3618
|
+
const f = !!(s.default || t.header), b = !!(s.append || t.appendIcon);
|
|
3619
3619
|
return l("div", {
|
|
3620
3620
|
class: ["v-date-picker-header", {
|
|
3621
3621
|
"v-date-picker-header--clickable": !!t.onClick
|
|
@@ -3625,7 +3625,7 @@ const Jc = {
|
|
|
3625
3625
|
}, [s.prepend && l("div", {
|
|
3626
3626
|
key: "prepend",
|
|
3627
3627
|
class: "v-date-picker-header__prepend"
|
|
3628
|
-
}, [s.prepend()]),
|
|
3628
|
+
}, [s.prepend()]), f && l(Fs, {
|
|
3629
3629
|
key: "content",
|
|
3630
3630
|
name: t.transition
|
|
3631
3631
|
}, {
|
|
@@ -3650,7 +3650,7 @@ const Jc = {
|
|
|
3650
3650
|
key: "append-btn",
|
|
3651
3651
|
icon: t.appendIcon,
|
|
3652
3652
|
variant: "text",
|
|
3653
|
-
onClick:
|
|
3653
|
+
onClick: g
|
|
3654
3654
|
}, null)])]);
|
|
3655
3655
|
}), {};
|
|
3656
3656
|
}
|
|
@@ -3684,10 +3684,10 @@ function Jv(t) {
|
|
|
3684
3684
|
}, (Q) => i.getYear(Q)), u = Pe(t, "month", void 0, (Q) => {
|
|
3685
3685
|
const k = Q != null ? Number(Q) : i.getMonth(s.value), w = i.setYear(i.startOfMonth(i.date()), i.getYear(r.value));
|
|
3686
3686
|
return i.setMonth(w, k);
|
|
3687
|
-
}, (Q) => i.getMonth(Q)), d = z(() => t.firstDayOfWeek ?? t.weekdays[0]),
|
|
3687
|
+
}, (Q) => i.getMonth(Q)), d = z(() => t.firstDayOfWeek ?? t.weekdays[0]), g = z(() => {
|
|
3688
3688
|
const Q = Number(t.firstDayOfWeek ?? 0);
|
|
3689
3689
|
return t.weekdays.map((k) => (k + Q) % 7);
|
|
3690
|
-
}),
|
|
3690
|
+
}), f = z(() => {
|
|
3691
3691
|
const Q = i.getWeekArray(u.value, d.value), k = Q.flat(), w = 42;
|
|
3692
3692
|
if (t.weeksInMonth === "static" && k.length < w) {
|
|
3693
3693
|
const P = k[k.length - 1];
|
|
@@ -3698,7 +3698,7 @@ function Jv(t) {
|
|
|
3698
3698
|
return Q;
|
|
3699
3699
|
});
|
|
3700
3700
|
function b(Q, k) {
|
|
3701
|
-
return Q.filter((w) =>
|
|
3701
|
+
return Q.filter((w) => g.value.includes(i.toJsDate(w).getDay())).map((w, P) => {
|
|
3702
3702
|
const H = i.toISO(w), I = !i.isSameMonth(w, u.value), T = i.isSameDay(w, i.startOfMonth(u.value)), D = i.isSameDay(w, i.endOfMonth(u.value)), W = i.isSameDay(w, u.value);
|
|
3703
3703
|
return {
|
|
3704
3704
|
date: w,
|
|
@@ -3727,9 +3727,9 @@ function Jv(t) {
|
|
|
3727
3727
|
const w = i.date();
|
|
3728
3728
|
return b(k, w);
|
|
3729
3729
|
}), C = z(() => {
|
|
3730
|
-
const Q =
|
|
3730
|
+
const Q = f.value.flat(), k = i.date();
|
|
3731
3731
|
return b(Q, k);
|
|
3732
|
-
}), O = z(() =>
|
|
3732
|
+
}), O = z(() => f.value.map((Q) => Q.length ? Nm(i, Q[0]) : null));
|
|
3733
3733
|
function B(Q) {
|
|
3734
3734
|
if (t.disabled) return !0;
|
|
3735
3735
|
const k = i.date(Q);
|
|
@@ -3741,8 +3741,8 @@ function Jv(t) {
|
|
|
3741
3741
|
daysInWeek: y,
|
|
3742
3742
|
genDays: b,
|
|
3743
3743
|
model: n,
|
|
3744
|
-
weeksInMonth:
|
|
3745
|
-
weekDays:
|
|
3744
|
+
weeksInMonth: f,
|
|
3745
|
+
weekDays: g,
|
|
3746
3746
|
weekNumbers: O
|
|
3747
3747
|
};
|
|
3748
3748
|
}
|
|
@@ -3776,37 +3776,37 @@ const td = Tt({
|
|
|
3776
3776
|
const r = q(), {
|
|
3777
3777
|
daysInMonth: u,
|
|
3778
3778
|
model: d,
|
|
3779
|
-
weekNumbers:
|
|
3780
|
-
} = Jv(t),
|
|
3779
|
+
weekNumbers: g
|
|
3780
|
+
} = Jv(t), f = En(), b = Te(), y = Te(), C = Te(!1), O = z(() => C.value ? t.reverseTransition : t.transition);
|
|
3781
3781
|
t.multiple === "range" && d.value.length > 0 && (b.value = d.value[0], d.value.length > 1 && (y.value = d.value[d.value.length - 1]));
|
|
3782
3782
|
const B = z(() => {
|
|
3783
3783
|
const P = ["number", "string"].includes(typeof t.multiple) ? Number(t.multiple) : 1 / 0;
|
|
3784
3784
|
return d.value.length >= P;
|
|
3785
3785
|
});
|
|
3786
3786
|
ht(u, (P, H) => {
|
|
3787
|
-
H && (C.value =
|
|
3787
|
+
H && (C.value = f.isBefore(P[0].date, H[0].date));
|
|
3788
3788
|
});
|
|
3789
3789
|
function Q(P) {
|
|
3790
|
-
const H =
|
|
3790
|
+
const H = f.startOfDay(P);
|
|
3791
3791
|
if (d.value.length === 0 ? b.value = void 0 : d.value.length === 1 && (b.value = d.value[0], y.value = void 0), !b.value)
|
|
3792
3792
|
b.value = H, d.value = [b.value];
|
|
3793
3793
|
else if (y.value)
|
|
3794
3794
|
b.value = P, y.value = void 0, d.value = [b.value];
|
|
3795
3795
|
else {
|
|
3796
|
-
if (
|
|
3796
|
+
if (f.isSameDay(H, b.value)) {
|
|
3797
3797
|
b.value = void 0, d.value = [];
|
|
3798
3798
|
return;
|
|
3799
|
-
} else
|
|
3800
|
-
const I =
|
|
3799
|
+
} else f.isBefore(H, b.value) ? (y.value = f.endOfDay(b.value), b.value = H) : y.value = f.endOfDay(H);
|
|
3800
|
+
const I = f.getDiff(y.value, b.value, "days"), T = [b.value];
|
|
3801
3801
|
for (let D = 1; D < I; D++) {
|
|
3802
|
-
const W =
|
|
3802
|
+
const W = f.addDays(b.value, D);
|
|
3803
3803
|
T.push(W);
|
|
3804
3804
|
}
|
|
3805
3805
|
T.push(y.value), d.value = T;
|
|
3806
3806
|
}
|
|
3807
3807
|
}
|
|
3808
3808
|
function k(P) {
|
|
3809
|
-
const H = d.value.findIndex((I) =>
|
|
3809
|
+
const H = d.value.findIndex((I) => f.isSameDay(I, P));
|
|
3810
3810
|
if (H === -1)
|
|
3811
3811
|
d.value = [...d.value, P];
|
|
3812
3812
|
else {
|
|
@@ -3825,7 +3825,7 @@ const td = Tt({
|
|
|
3825
3825
|
}, [!t.hideWeekdays && l("div", {
|
|
3826
3826
|
key: "hide-week-days",
|
|
3827
3827
|
class: "v-date-picker-month__day"
|
|
3828
|
-
}, [Y(" ")]),
|
|
3828
|
+
}, [Y(" ")]), g.value.map((P) => l("div", {
|
|
3829
3829
|
class: ["v-date-picker-month__day", "v-date-picker-month__day--adjacent"]
|
|
3830
3830
|
}, [P]))]), l(Fs, {
|
|
3831
3831
|
name: O.value
|
|
@@ -3834,7 +3834,7 @@ const td = Tt({
|
|
|
3834
3834
|
ref: r,
|
|
3835
3835
|
key: u.value[0].date?.toString(),
|
|
3836
3836
|
class: "v-date-picker-month__days"
|
|
3837
|
-
}, [!t.hideWeekdays &&
|
|
3837
|
+
}, [!t.hideWeekdays && f.getWeekdays(t.firstDayOfWeek).map((P) => l("div", {
|
|
3838
3838
|
class: ["v-date-picker-month__day", "v-date-picker-month__weekday"]
|
|
3839
3839
|
}, [P])), u.value.map((P, H) => {
|
|
3840
3840
|
const I = {
|
|
@@ -3891,13 +3891,13 @@ const td = Tt({
|
|
|
3891
3891
|
slots: s
|
|
3892
3892
|
} = i;
|
|
3893
3893
|
const r = En(), u = Pe(t, "modelValue"), d = z(() => {
|
|
3894
|
-
let
|
|
3895
|
-
return t.year && (
|
|
3896
|
-
const b = r.format(
|
|
3897
|
-
return
|
|
3894
|
+
let g = r.startOfYear(r.date());
|
|
3895
|
+
return t.year && (g = r.setYear(g, t.year)), Dc(12).map((f) => {
|
|
3896
|
+
const b = r.format(g, "monthShort"), y = !!(t.min && r.isAfter(r.startOfMonth(r.date(t.min)), g) || t.max && r.isAfter(g, r.startOfMonth(r.date(t.max))));
|
|
3897
|
+
return g = r.getNextMonth(g), {
|
|
3898
3898
|
isDisabled: y,
|
|
3899
3899
|
text: b,
|
|
3900
|
-
value:
|
|
3900
|
+
value: f
|
|
3901
3901
|
};
|
|
3902
3902
|
});
|
|
3903
3903
|
});
|
|
@@ -3910,15 +3910,15 @@ const td = Tt({
|
|
|
3910
3910
|
}
|
|
3911
3911
|
}, [l("div", {
|
|
3912
3912
|
class: "v-date-picker-months__content"
|
|
3913
|
-
}, [d.value.map((
|
|
3913
|
+
}, [d.value.map((g, f) => {
|
|
3914
3914
|
const b = {
|
|
3915
|
-
active: u.value ===
|
|
3916
|
-
color: u.value ===
|
|
3917
|
-
disabled:
|
|
3915
|
+
active: u.value === f,
|
|
3916
|
+
color: u.value === f ? t.color : void 0,
|
|
3917
|
+
disabled: g.isDisabled,
|
|
3918
3918
|
rounded: !0,
|
|
3919
|
-
text:
|
|
3920
|
-
variant: u.value ===
|
|
3921
|
-
onClick: () => y(
|
|
3919
|
+
text: g.text,
|
|
3920
|
+
variant: u.value === g.value ? "flat" : "text",
|
|
3921
|
+
onClick: () => y(f)
|
|
3922
3922
|
};
|
|
3923
3923
|
function y(C) {
|
|
3924
3924
|
if (u.value === C) {
|
|
@@ -3928,8 +3928,8 @@ const td = Tt({
|
|
|
3928
3928
|
u.value = C;
|
|
3929
3929
|
}
|
|
3930
3930
|
return s.month?.({
|
|
3931
|
-
month:
|
|
3932
|
-
i:
|
|
3931
|
+
month: g,
|
|
3932
|
+
i: f,
|
|
3933
3933
|
props: b
|
|
3934
3934
|
}) ?? l(vt, At({
|
|
3935
3935
|
key: "month"
|
|
@@ -3954,8 +3954,8 @@ const td = Tt({
|
|
|
3954
3954
|
slots: s
|
|
3955
3955
|
} = i;
|
|
3956
3956
|
const r = En(), u = Pe(t, "modelValue"), d = z(() => {
|
|
3957
|
-
const
|
|
3958
|
-
let b =
|
|
3957
|
+
const f = r.getYear(r.date());
|
|
3958
|
+
let b = f - 100, y = f + 52;
|
|
3959
3959
|
t.min && (b = r.getYear(r.date(t.min))), t.max && (y = r.getYear(r.date(t.max)));
|
|
3960
3960
|
let C = r.startOfYear(r.date());
|
|
3961
3961
|
return C = r.setYear(C, b), Dc(y - b + 1, b).map((O) => {
|
|
@@ -3969,9 +3969,9 @@ const td = Tt({
|
|
|
3969
3969
|
bn(() => {
|
|
3970
3970
|
u.value = u.value ?? r.getYear(r.date());
|
|
3971
3971
|
});
|
|
3972
|
-
const
|
|
3972
|
+
const g = Um();
|
|
3973
3973
|
return se(async () => {
|
|
3974
|
-
await Ae(),
|
|
3974
|
+
await Ae(), g.el?.scrollIntoView({
|
|
3975
3975
|
block: "center"
|
|
3976
3976
|
});
|
|
3977
3977
|
}), Ht(() => l("div", {
|
|
@@ -3981,24 +3981,24 @@ const td = Tt({
|
|
|
3981
3981
|
}
|
|
3982
3982
|
}, [l("div", {
|
|
3983
3983
|
class: "v-date-picker-years__content"
|
|
3984
|
-
}, [d.value.map((
|
|
3984
|
+
}, [d.value.map((f, b) => {
|
|
3985
3985
|
const y = {
|
|
3986
|
-
ref: u.value ===
|
|
3987
|
-
active: u.value ===
|
|
3988
|
-
color: u.value ===
|
|
3986
|
+
ref: u.value === f.value ? g : void 0,
|
|
3987
|
+
active: u.value === f.value,
|
|
3988
|
+
color: u.value === f.value ? t.color : void 0,
|
|
3989
3989
|
rounded: !0,
|
|
3990
|
-
text:
|
|
3991
|
-
variant: u.value ===
|
|
3990
|
+
text: f.text,
|
|
3991
|
+
variant: u.value === f.value ? "flat" : "text",
|
|
3992
3992
|
onClick: () => {
|
|
3993
|
-
if (u.value ===
|
|
3993
|
+
if (u.value === f.value) {
|
|
3994
3994
|
n("update:modelValue", u.value);
|
|
3995
3995
|
return;
|
|
3996
3996
|
}
|
|
3997
|
-
u.value =
|
|
3997
|
+
u.value = f.value;
|
|
3998
3998
|
}
|
|
3999
3999
|
};
|
|
4000
4000
|
return s.year?.({
|
|
4001
|
-
year:
|
|
4001
|
+
year: f,
|
|
4002
4002
|
i: b,
|
|
4003
4003
|
props: y
|
|
4004
4004
|
}) ?? l(vt, At({
|
|
@@ -4113,7 +4113,7 @@ const td = Tt({
|
|
|
4113
4113
|
} = i;
|
|
4114
4114
|
const r = En(), {
|
|
4115
4115
|
t: u
|
|
4116
|
-
} = Ms(), d = Pe(t, "modelValue", void 0, (K) => es(K), (K) => t.multiple ? K : K[0]),
|
|
4116
|
+
} = Ms(), d = Pe(t, "modelValue", void 0, (K) => es(K), (K) => t.multiple ? K : K[0]), g = Pe(t, "viewMode"), f = z(() => {
|
|
4117
4117
|
const K = r.date(t.min);
|
|
4118
4118
|
return t.min && r.isValid(K) ? K : null;
|
|
4119
4119
|
}), b = z(() => {
|
|
@@ -4122,20 +4122,20 @@ const td = Tt({
|
|
|
4122
4122
|
}), y = z(() => {
|
|
4123
4123
|
const K = r.date();
|
|
4124
4124
|
let et = K;
|
|
4125
|
-
return d.value?.[0] ? et = r.date(d.value[0]) :
|
|
4125
|
+
return d.value?.[0] ? et = r.date(d.value[0]) : f.value && r.isBefore(K, f.value) ? et = f.value : b.value && r.isAfter(K, b.value) && (et = b.value), et && r.isValid(et) ? et : K;
|
|
4126
4126
|
}), C = q(Number(t.month ?? r.getMonth(r.startOfMonth(y.value)))), O = q(Number(t.year ?? r.getYear(r.startOfYear(r.setMonth(y.value, C.value))))), B = Te(!1), Q = z(() => t.multiple && d.value.length > 1 ? u("$vuetify.datePicker.itemsSelected", d.value.length) : d.value[0] && r.isValid(d.value[0]) ? r.format(r.date(d.value[0]), "normalDateWithWeekday") : u(t.header)), k = z(() => {
|
|
4127
4127
|
let K = r.date();
|
|
4128
4128
|
return K = r.setDate(K, 1), K = r.setMonth(K, C.value), K = r.setYear(K, O.value), r.format(K, "monthAndYear");
|
|
4129
4129
|
}), w = z(() => `date-picker-header${B.value ? "-reverse" : ""}-transition`), P = z(() => {
|
|
4130
4130
|
if (t.disabled) return !0;
|
|
4131
4131
|
const K = [];
|
|
4132
|
-
if (
|
|
4132
|
+
if (g.value !== "month")
|
|
4133
4133
|
K.push("prev", "next");
|
|
4134
4134
|
else {
|
|
4135
4135
|
let et = r.date();
|
|
4136
|
-
if (et = r.startOfMonth(et), et = r.setMonth(et, C.value), et = r.setYear(et, O.value),
|
|
4136
|
+
if (et = r.startOfMonth(et), et = r.setMonth(et, C.value), et = r.setYear(et, O.value), f.value) {
|
|
4137
4137
|
const X = r.addDays(r.startOfMonth(et), -1);
|
|
4138
|
-
r.isAfter(
|
|
4138
|
+
r.isAfter(f.value, X) && K.push("prev");
|
|
4139
4139
|
}
|
|
4140
4140
|
if (b.value) {
|
|
4141
4141
|
const X = r.addDays(r.endOfMonth(et), 1);
|
|
@@ -4151,19 +4151,19 @@ const td = Tt({
|
|
|
4151
4151
|
C.value > 0 ? C.value-- : (O.value--, C.value = 11, tt(O.value)), at(C.value);
|
|
4152
4152
|
}
|
|
4153
4153
|
function T() {
|
|
4154
|
-
|
|
4154
|
+
g.value = "month";
|
|
4155
4155
|
}
|
|
4156
4156
|
function D() {
|
|
4157
|
-
|
|
4157
|
+
g.value = g.value === "months" ? "month" : "months";
|
|
4158
4158
|
}
|
|
4159
4159
|
function W() {
|
|
4160
|
-
|
|
4160
|
+
g.value = g.value === "year" ? "month" : "year";
|
|
4161
4161
|
}
|
|
4162
4162
|
function at(K) {
|
|
4163
|
-
|
|
4163
|
+
g.value === "months" && D(), n("update:month", K);
|
|
4164
4164
|
}
|
|
4165
4165
|
function tt(K) {
|
|
4166
|
-
|
|
4166
|
+
g.value === "year" && W(), n("update:year", K);
|
|
4167
4167
|
}
|
|
4168
4168
|
return ht(d, (K, et) => {
|
|
4169
4169
|
const X = es(et), st = es(K);
|
|
@@ -4176,7 +4176,7 @@ const td = Tt({
|
|
|
4176
4176
|
transition: w.value
|
|
4177
4177
|
};
|
|
4178
4178
|
return l(TA, At(K, {
|
|
4179
|
-
class: ["v-date-picker", `v-date-picker--${
|
|
4179
|
+
class: ["v-date-picker", `v-date-picker--${g.value}`, {
|
|
4180
4180
|
"v-date-picker--show-week": t.showWeek
|
|
4181
4181
|
}, t.class],
|
|
4182
4182
|
style: t.style
|
|
@@ -4195,7 +4195,7 @@ const td = Tt({
|
|
|
4195
4195
|
}) : l(RA, At({
|
|
4196
4196
|
key: "header"
|
|
4197
4197
|
}, X, Rt, {
|
|
4198
|
-
onClick:
|
|
4198
|
+
onClick: g.value !== "month" ? T : void 0
|
|
4199
4199
|
}), {
|
|
4200
4200
|
...s,
|
|
4201
4201
|
default: void 0
|
|
@@ -4210,20 +4210,20 @@ const td = Tt({
|
|
|
4210
4210
|
}), null), l(Xg, {
|
|
4211
4211
|
hideOnLeave: !0
|
|
4212
4212
|
}, {
|
|
4213
|
-
default: () => [
|
|
4213
|
+
default: () => [g.value === "months" ? l(OA, At({
|
|
4214
4214
|
key: "date-picker-months"
|
|
4215
4215
|
}, nt, {
|
|
4216
4216
|
modelValue: C.value,
|
|
4217
4217
|
"onUpdate:modelValue": [(pt) => C.value = pt, at],
|
|
4218
|
-
min:
|
|
4218
|
+
min: f.value,
|
|
4219
4219
|
max: b.value,
|
|
4220
4220
|
year: O.value
|
|
4221
|
-
}), null) :
|
|
4221
|
+
}), null) : g.value === "year" ? l(LA, At({
|
|
4222
4222
|
key: "date-picker-years"
|
|
4223
4223
|
}, mt, {
|
|
4224
4224
|
modelValue: O.value,
|
|
4225
4225
|
"onUpdate:modelValue": [(pt) => O.value = pt, tt],
|
|
4226
|
-
min:
|
|
4226
|
+
min: f.value,
|
|
4227
4227
|
max: b.value
|
|
4228
4228
|
}), null) : l(DA, At({
|
|
4229
4229
|
key: "date-picker-month"
|
|
@@ -4234,7 +4234,7 @@ const td = Tt({
|
|
|
4234
4234
|
"onUpdate:month": [(pt) => C.value = pt, at],
|
|
4235
4235
|
year: O.value,
|
|
4236
4236
|
"onUpdate:year": [(pt) => O.value = pt, tt],
|
|
4237
|
-
min:
|
|
4237
|
+
min: f.value,
|
|
4238
4238
|
max: b.value
|
|
4239
4239
|
}), null)]
|
|
4240
4240
|
})]),
|
|
@@ -4271,9 +4271,9 @@ const td = Tt({
|
|
|
4271
4271
|
backgroundColorClasses: u,
|
|
4272
4272
|
backgroundColorStyles: d
|
|
4273
4273
|
} = Xi($t(t, "color")), {
|
|
4274
|
-
borderClasses:
|
|
4274
|
+
borderClasses: g
|
|
4275
4275
|
} = fc(t), {
|
|
4276
|
-
elevationClasses:
|
|
4276
|
+
elevationClasses: f
|
|
4277
4277
|
} = pr(t), {
|
|
4278
4278
|
roundedClasses: b
|
|
4279
4279
|
} = Qs(t), y = Te(32), {
|
|
@@ -4296,7 +4296,7 @@ const td = Tt({
|
|
|
4296
4296
|
});
|
|
4297
4297
|
}), Ht(() => l(t.tag, {
|
|
4298
4298
|
ref: C,
|
|
4299
|
-
class: ["v-footer", r.value, u.value,
|
|
4299
|
+
class: ["v-footer", r.value, u.value, g.value, f.value, b.value, t.class],
|
|
4300
4300
|
style: [d.value, t.app ? s.value : {
|
|
4301
4301
|
height: Ri(t.height)
|
|
4302
4302
|
}, t.style]
|
|
@@ -4408,9 +4408,9 @@ const td = Tt({
|
|
|
4408
4408
|
n("click:next");
|
|
4409
4409
|
}
|
|
4410
4410
|
return Ht(() => {
|
|
4411
|
-
const
|
|
4411
|
+
const g = {
|
|
4412
4412
|
onClick: u
|
|
4413
|
-
},
|
|
4413
|
+
}, f = {
|
|
4414
4414
|
onClick: d
|
|
4415
4415
|
};
|
|
4416
4416
|
return l("div", {
|
|
@@ -4425,8 +4425,8 @@ const td = Tt({
|
|
|
4425
4425
|
}
|
|
4426
4426
|
}, {
|
|
4427
4427
|
default: () => [s.prev?.({
|
|
4428
|
-
props:
|
|
4429
|
-
}) ?? l(vt,
|
|
4428
|
+
props: g
|
|
4429
|
+
}) ?? l(vt, g, null)]
|
|
4430
4430
|
}), l(ii, {
|
|
4431
4431
|
defaults: {
|
|
4432
4432
|
VBtn: {
|
|
@@ -4438,8 +4438,8 @@ const td = Tt({
|
|
|
4438
4438
|
}
|
|
4439
4439
|
}, {
|
|
4440
4440
|
default: () => [s.next?.({
|
|
4441
|
-
props:
|
|
4442
|
-
}) ?? l(vt,
|
|
4441
|
+
props: f
|
|
4442
|
+
}) ?? l(vt, f, null)]
|
|
4443
4443
|
})]);
|
|
4444
4444
|
}), {};
|
|
4445
4445
|
}
|
|
@@ -4487,9 +4487,9 @@ const td = Tt({
|
|
|
4487
4487
|
let {
|
|
4488
4488
|
slots: n
|
|
4489
4489
|
} = i;
|
|
4490
|
-
const s = Ls(t, Pr, !0), r = z(() => s?.value.value ?? t.value), u = z(() => t.rules.every((O) => O() === !0)), d = z(() => !t.disabled && t.editable),
|
|
4491
|
-
canEdit:
|
|
4492
|
-
hasError:
|
|
4490
|
+
const s = Ls(t, Pr, !0), r = z(() => s?.value.value ?? t.value), u = z(() => t.rules.every((O) => O() === !0)), d = z(() => !t.disabled && t.editable), g = z(() => !t.disabled && t.editable), f = z(() => t.error || !u.value), b = z(() => t.complete || t.rules.length > 0 && u.value), y = z(() => f.value ? t.errorIcon : b.value ? t.completeIcon : s.isSelected.value && t.editable ? t.editIcon : t.icon), C = z(() => ({
|
|
4491
|
+
canEdit: g.value,
|
|
4492
|
+
hasError: f.value,
|
|
4493
4493
|
hasCompleted: b.value,
|
|
4494
4494
|
title: t.title,
|
|
4495
4495
|
subtitle: t.subtitle,
|
|
@@ -4497,7 +4497,7 @@ const td = Tt({
|
|
|
4497
4497
|
value: t.value
|
|
4498
4498
|
}));
|
|
4499
4499
|
return Ht(() => {
|
|
4500
|
-
const O = (!s || s.isSelected.value || b.value ||
|
|
4500
|
+
const O = (!s || s.isSelected.value || b.value || g.value) && !f.value && !t.disabled, B = !!(t.title != null || n.title), Q = !!(t.subtitle != null || n.subtitle);
|
|
4501
4501
|
function k() {
|
|
4502
4502
|
s?.toggle();
|
|
4503
4503
|
}
|
|
@@ -4505,7 +4505,7 @@ const td = Tt({
|
|
|
4505
4505
|
class: ["v-stepper-item", {
|
|
4506
4506
|
"v-stepper-item--complete": b.value,
|
|
4507
4507
|
"v-stepper-item--disabled": t.disabled,
|
|
4508
|
-
"v-stepper-item--error":
|
|
4508
|
+
"v-stepper-item--error": f.value
|
|
4509
4509
|
}, s?.selectedClass.value],
|
|
4510
4510
|
disabled: !t.editable,
|
|
4511
4511
|
type: "button",
|
|
@@ -4556,7 +4556,7 @@ const td = Tt({
|
|
|
4556
4556
|
_as: "VStepperWindow"
|
|
4557
4557
|
}, d, {
|
|
4558
4558
|
modelValue: u.value,
|
|
4559
|
-
"onUpdate:modelValue": (
|
|
4559
|
+
"onUpdate:modelValue": (g) => u.value = g,
|
|
4560
4560
|
class: ["v-stepper-window", t.class],
|
|
4561
4561
|
style: t.style,
|
|
4562
4562
|
mandatory: !1,
|
|
@@ -4630,8 +4630,8 @@ const td = Tt({
|
|
|
4630
4630
|
prev: u,
|
|
4631
4631
|
selected: d
|
|
4632
4632
|
} = br(t, Pr), {
|
|
4633
|
-
displayClasses:
|
|
4634
|
-
mobile:
|
|
4633
|
+
displayClasses: g,
|
|
4634
|
+
mobile: f
|
|
4635
4635
|
} = Hm(t), {
|
|
4636
4636
|
completeIcon: b,
|
|
4637
4637
|
editIcon: y,
|
|
@@ -4671,8 +4671,8 @@ const td = Tt({
|
|
|
4671
4671
|
"v-stepper--alt-labels": t.altLabels,
|
|
4672
4672
|
"v-stepper--flat": t.flat,
|
|
4673
4673
|
"v-stepper--non-linear": t.nonLinear,
|
|
4674
|
-
"v-stepper--mobile":
|
|
4675
|
-
},
|
|
4674
|
+
"v-stepper--mobile": f.value
|
|
4675
|
+
}, g.value, t.class],
|
|
4676
4676
|
style: t.style
|
|
4677
4677
|
}), {
|
|
4678
4678
|
default: () => [T && l(sd, {
|
|
@@ -4738,15 +4738,15 @@ const td = Tt({
|
|
|
4738
4738
|
const {
|
|
4739
4739
|
textColorClasses: r,
|
|
4740
4740
|
textColorStyles: u
|
|
4741
|
-
} = nm(t, "sliderColor"), d = q(),
|
|
4741
|
+
} = nm(t, "sliderColor"), d = q(), g = q(), f = z(() => t.direction === "horizontal"), b = z(() => d.value?.group?.isSelected.value ?? !1);
|
|
4742
4742
|
function y(C) {
|
|
4743
4743
|
let {
|
|
4744
4744
|
value: O
|
|
4745
4745
|
} = C;
|
|
4746
4746
|
if (O) {
|
|
4747
|
-
const B = d.value?.$el.parentElement?.querySelector(".v-tab--selected .v-tab__slider"), Q =
|
|
4747
|
+
const B = d.value?.$el.parentElement?.querySelector(".v-tab--selected .v-tab__slider"), Q = g.value;
|
|
4748
4748
|
if (!B || !Q) return;
|
|
4749
|
-
const k = getComputedStyle(B).color, w = B.getBoundingClientRect(), P = Q.getBoundingClientRect(), H =
|
|
4749
|
+
const k = getComputedStyle(B).color, w = B.getBoundingClientRect(), P = Q.getBoundingClientRect(), H = f.value ? "x" : "y", I = f.value ? "X" : "Y", T = f.value ? "right" : "bottom", D = f.value ? "width" : "height", W = w[H], at = P[H], tt = W > at ? w[T] - P[T] : w[H] - P[H], K = Math.sign(tt) > 0 ? f.value ? "right" : "bottom" : Math.sign(tt) < 0 ? f.value ? "left" : "top" : "center", X = (Math.abs(tt) + (Math.sign(tt) < 0 ? w[D] : P[D])) / Math.max(w[D], P[D]) || 0, st = w[D] / P[D] || 0, nt = 1.5;
|
|
4750
4750
|
am(Q, {
|
|
4751
4751
|
backgroundColor: [k, "currentcolor"],
|
|
4752
4752
|
transform: [`translate${I}(${tt}px) scale${I}(${st})`, `translate${I}(${tt / nt}px) scale${I}(${(X - 1) / nt + 1})`, "none"],
|
|
@@ -4775,7 +4775,7 @@ const td = Tt({
|
|
|
4775
4775
|
}), {
|
|
4776
4776
|
...n,
|
|
4777
4777
|
default: () => l(lt, null, [n.default?.() ?? t.text, !t.hideSlider && l("div", {
|
|
4778
|
-
ref:
|
|
4778
|
+
ref: g,
|
|
4779
4779
|
class: ["v-tab__slider", r.value],
|
|
4780
4780
|
style: u.value
|
|
4781
4781
|
}, null)])
|
|
@@ -4808,7 +4808,7 @@ const td = Tt({
|
|
|
4808
4808
|
_as: "VTabsWindow"
|
|
4809
4809
|
}, d, {
|
|
4810
4810
|
modelValue: u.value,
|
|
4811
|
-
"onUpdate:modelValue": (
|
|
4811
|
+
"onUpdate:modelValue": (g) => u.value = g,
|
|
4812
4812
|
class: ["v-tabs-window", t.class],
|
|
4813
4813
|
style: t.style,
|
|
4814
4814
|
mandatory: !1,
|
|
@@ -4882,8 +4882,8 @@ const pb = Tt({
|
|
|
4882
4882
|
const r = Pe(t, "modelValue"), u = z(() => mb(t.items)), {
|
|
4883
4883
|
densityClasses: d
|
|
4884
4884
|
} = lm(t), {
|
|
4885
|
-
backgroundColorClasses:
|
|
4886
|
-
backgroundColorStyles:
|
|
4885
|
+
backgroundColorClasses: g,
|
|
4886
|
+
backgroundColorStyles: f
|
|
4887
4887
|
} = Xi($t(t, "bgColor")), {
|
|
4888
4888
|
scopeId: b
|
|
4889
4889
|
} = nc();
|
|
@@ -4905,10 +4905,10 @@ const pb = Tt({
|
|
|
4905
4905
|
"v-tabs--fixed-tabs": t.fixedTabs,
|
|
4906
4906
|
"v-tabs--grow": t.grow,
|
|
4907
4907
|
"v-tabs--stacked": t.stacked
|
|
4908
|
-
}, d.value,
|
|
4908
|
+
}, d.value, g.value, t.class],
|
|
4909
4909
|
style: [{
|
|
4910
4910
|
"--v-tabs-height": Ri(t.height)
|
|
4911
|
-
},
|
|
4911
|
+
}, f.value, t.style],
|
|
4912
4912
|
role: "tablist",
|
|
4913
4913
|
symbol: Sr
|
|
4914
4914
|
}, b, n), {
|
|
@@ -4983,8 +4983,8 @@ const pb = Tt({
|
|
|
4983
4983
|
} = i;
|
|
4984
4984
|
const u = Pe(t, "modelValue"), {
|
|
4985
4985
|
isFocused: d,
|
|
4986
|
-
focus:
|
|
4987
|
-
blur:
|
|
4986
|
+
focus: g,
|
|
4987
|
+
blur: f
|
|
4988
4988
|
} = cm(t), b = z(() => typeof t.counterValue == "function" ? t.counterValue(u.value) : (u.value || "").toString().length), y = z(() => {
|
|
4989
4989
|
if (n.maxlength) return n.maxlength;
|
|
4990
4990
|
if (!(!t.counter || typeof t.counter != "number" && typeof t.counter != "string"))
|
|
@@ -4995,7 +4995,7 @@ const pb = Tt({
|
|
|
4995
4995
|
}
|
|
4996
4996
|
const O = q(), B = q(), Q = Te(""), k = q(), w = z(() => t.persistentPlaceholder || d.value || t.active);
|
|
4997
4997
|
function P() {
|
|
4998
|
-
k.value !== document.activeElement && k.value?.focus(), d.value ||
|
|
4998
|
+
k.value !== document.activeElement && k.value?.focus(), d.value || g();
|
|
4999
4999
|
}
|
|
5000
5000
|
function H(X) {
|
|
5001
5001
|
P(), s("click:control", X);
|
|
@@ -5107,7 +5107,7 @@ const pb = Tt({
|
|
|
5107
5107
|
rows: t.rows,
|
|
5108
5108
|
name: t.name,
|
|
5109
5109
|
onFocus: P,
|
|
5110
|
-
onBlur:
|
|
5110
|
+
onBlur: f
|
|
5111
5111
|
}, Bt, mt), null), [[yn("intersect"), {
|
|
5112
5112
|
handler: C
|
|
5113
5113
|
}, null, {
|
|
@@ -5160,15 +5160,15 @@ const pb = Tt({
|
|
|
5160
5160
|
}, {
|
|
5161
5161
|
default: c(() => [
|
|
5162
5162
|
(E(!0), V(lt, null, Kt(n.imageUrls, (u, d) => (E(), M(v(ib), { key: d }, {
|
|
5163
|
-
default: c(({ isSelected:
|
|
5163
|
+
default: c(({ isSelected: g, toggle: f }) => [
|
|
5164
5164
|
R("div", {
|
|
5165
5165
|
class: ne(["thumb cursor-pointer", {
|
|
5166
|
-
active:
|
|
5166
|
+
active: g,
|
|
5167
5167
|
"mr-1": d < n.imageUrls.length - 1
|
|
5168
5168
|
}]),
|
|
5169
5169
|
"data-index": d,
|
|
5170
5170
|
onClick: (b) => {
|
|
5171
|
-
|
|
5171
|
+
f(), s.$emit("change", d);
|
|
5172
5172
|
}
|
|
5173
5173
|
}, [
|
|
5174
5174
|
R("img", {
|
|
@@ -5203,10 +5203,10 @@ const pb = Tt({
|
|
|
5203
5203
|
emits: ["change", "click"],
|
|
5204
5204
|
setup(t, { emit: i }) {
|
|
5205
5205
|
const n = t, s = i, r = q(!1), u = q(!1), d = q(n.slide || 0);
|
|
5206
|
-
function
|
|
5206
|
+
function g() {
|
|
5207
5207
|
s("change", d.value), u.value = !0;
|
|
5208
5208
|
}
|
|
5209
|
-
function
|
|
5209
|
+
function f() {
|
|
5210
5210
|
s("click", d.value), n.clickable && (u.value = !1);
|
|
5211
5211
|
}
|
|
5212
5212
|
function b() {
|
|
@@ -5214,7 +5214,7 @@ const pb = Tt({
|
|
|
5214
5214
|
}
|
|
5215
5215
|
function y(Q) {
|
|
5216
5216
|
const k = n.imageUrls.length;
|
|
5217
|
-
d.value = (k + d.value + Q) % k,
|
|
5217
|
+
d.value = (k + d.value + Q) % k, g();
|
|
5218
5218
|
}
|
|
5219
5219
|
const C = z(() => n.isLoading ? [
|
|
5220
5220
|
{
|
|
@@ -5254,7 +5254,7 @@ const pb = Tt({
|
|
|
5254
5254
|
modelValue: d.value,
|
|
5255
5255
|
"onUpdate:modelValue": [
|
|
5256
5256
|
k[1] || (k[1] = (w) => d.value = w),
|
|
5257
|
-
|
|
5257
|
+
g
|
|
5258
5258
|
],
|
|
5259
5259
|
class: ne(["carousel", { rounded: t.rounded }]),
|
|
5260
5260
|
height: t.height || "100%",
|
|
@@ -5287,7 +5287,7 @@ const pb = Tt({
|
|
|
5287
5287
|
height: t.height || "100%",
|
|
5288
5288
|
src: w,
|
|
5289
5289
|
width: t.width || "100%",
|
|
5290
|
-
onClick:
|
|
5290
|
+
onClick: f
|
|
5291
5291
|
}, {
|
|
5292
5292
|
error: c(() => [
|
|
5293
5293
|
l(J, {
|
|
@@ -6014,7 +6014,7 @@ const Qb = { class: "position-relative" }, Rb = { class: "text-body-1" }, Db = [
|
|
|
6014
6014
|
class: "ma-0 text-center"
|
|
6015
6015
|
}, Lb = { class: "mb-0" }, Tb = { class: "font-weight-bold" }, Fb = { class: "mb-0" }, zb = { class: "font-weight-bold" }, xb = { class: "mb-0" }, Mb = { class: "font-weight-bold" }, Nb = { class: "mb-0" }, Ub = { class: "font-weight-bold" }, Hb = { class: "font-weight-bold" }, Vb = { class: "font-weight-bold" }, Kb = { key: 0 }, Yb = { class: "text-primary" }, qb = { class: "text-primary" }, Wb = { class: "text-primary" }, Gb = { key: 0 }, Zb = { class: "text-primary" }, jb = { key: 1 }, Jb = { class: "mr-2" }, Xb = { class: "text-h5 font-weight-bold text-success" }, _b = { class: "text-error" }, $b = { class: "text-success" }, tC = { key: 0 }, eC = { class: "ma-0" }, iC = { class: "text-caption" };
|
|
6016
6016
|
function oC(t, i, n, s, r, u) {
|
|
6017
|
-
const d = te("BImageCarousel"),
|
|
6017
|
+
const d = te("BImageCarousel"), g = te("BHotelRoomsDetails"), f = te("BBreakfastOptionBadge"), b = te("CancellationPoliciesList"), y = te("RoomingListEditor"), C = te("BFormattedAmount"), O = te("BTag"), B = te("BNewBookingDialog"), Q = te("BGoogleMapIframe"), k = te("BookingManagerLayout"), w = te("BErrorOverlay");
|
|
6018
6018
|
return E(), V("div", Qb, [
|
|
6019
6019
|
l(k, null, So({
|
|
6020
6020
|
"booking-datetime": c(() => [
|
|
@@ -6162,7 +6162,7 @@ function oC(t, i, n, s, r, u) {
|
|
|
6162
6162
|
t.booking ? {
|
|
6163
6163
|
name: "room-details",
|
|
6164
6164
|
fn: c(() => [
|
|
6165
|
-
l(
|
|
6165
|
+
l(g, { "hotel-rooms": t.rooms }, null, 8, ["hotel-rooms"])
|
|
6166
6166
|
]),
|
|
6167
6167
|
key: "4"
|
|
6168
6168
|
} : void 0,
|
|
@@ -6170,7 +6170,7 @@ function oC(t, i, n, s, r, u) {
|
|
|
6170
6170
|
name: "breakfast",
|
|
6171
6171
|
fn: c(() => [
|
|
6172
6172
|
Y(F(t.t("BookingManager.breakfast")) + " ", 1),
|
|
6173
|
-
l(
|
|
6173
|
+
l(f, {
|
|
6174
6174
|
"breakfast-count": t.breakfastCount,
|
|
6175
6175
|
"breakfast-option": t.breakfastCount && t.breakfastCount > 0 ? "INCLUDED" : "NOT_INCLUDED",
|
|
6176
6176
|
class: "mr-n1"
|
|
@@ -6520,9 +6520,9 @@ const $B = /* @__PURE__ */ Wt(Ad, [["render", oC]]), nC = ["innerHTML"], sC = ["
|
|
|
6520
6520
|
timezone: s.timezone
|
|
6521
6521
|
})
|
|
6522
6522
|
)
|
|
6523
|
-
),
|
|
6523
|
+
), g = z(
|
|
6524
6524
|
() => $m(d.value)
|
|
6525
|
-
),
|
|
6525
|
+
), f = z(() => g.value?.penaltyPercentage === 0 ? "fas fa-regular fa-circle-check" : g.value?.penaltyPercentage === 100 ? "" : "fas fa-circle-info");
|
|
6526
6526
|
function b(C) {
|
|
6527
6527
|
return new Date(C).toLocaleTimeString(i.value, {
|
|
6528
6528
|
day: "numeric",
|
|
@@ -6539,38 +6539,38 @@ const $B = /* @__PURE__ */ Wt(Ad, [["render", oC]]), nC = ["innerHTML"], sC = ["
|
|
|
6539
6539
|
ref: r
|
|
6540
6540
|
}, [
|
|
6541
6541
|
l(wi, {
|
|
6542
|
-
disabled:
|
|
6542
|
+
disabled: g.value?.penaltyPercentage === 100,
|
|
6543
6543
|
location: "top",
|
|
6544
6544
|
attach: v(y) ?? void 0
|
|
6545
6545
|
}, {
|
|
6546
6546
|
activator: c(({ props: B }) => [
|
|
6547
6547
|
R("div", At({
|
|
6548
6548
|
class: ["d-flex align-center text-caption", {
|
|
6549
|
-
"cursor-help":
|
|
6549
|
+
"cursor-help": g.value?.penaltyPercentage !== 100
|
|
6550
6550
|
}],
|
|
6551
6551
|
style: { gap: "4px" }
|
|
6552
6552
|
}, B), [
|
|
6553
|
-
|
|
6553
|
+
f.value ? (E(), M(yt, {
|
|
6554
6554
|
key: 0,
|
|
6555
|
-
color:
|
|
6555
|
+
color: g.value?.penaltyPercentage !== 100 ? "green" : "grey",
|
|
6556
6556
|
style: { "place-self": "flex-start" }
|
|
6557
6557
|
}, {
|
|
6558
6558
|
default: c(() => [
|
|
6559
|
-
Y(F(
|
|
6559
|
+
Y(F(f.value), 1)
|
|
6560
6560
|
]),
|
|
6561
6561
|
_: 1
|
|
6562
6562
|
}, 8, ["color"])) : G("", !0),
|
|
6563
|
-
|
|
6563
|
+
g.value?.penaltyPercentage === 0 ? (E(), V("span", {
|
|
6564
6564
|
key: 1,
|
|
6565
6565
|
class: "text-green-darken-2 underline--dotted",
|
|
6566
6566
|
innerHTML: v(n)("CancellationPoliciesBadge.freeCancellationBefore", {
|
|
6567
|
-
date: b(
|
|
6567
|
+
date: b(g.value?.dateTo)
|
|
6568
6568
|
})
|
|
6569
|
-
}, null, 8, nC)) :
|
|
6569
|
+
}, null, 8, nC)) : g.value?.penaltyPercentage === 100 ? (E(), V("span", {
|
|
6570
6570
|
key: 2,
|
|
6571
6571
|
class: "text-grey-darken-2",
|
|
6572
6572
|
innerHTML: v(n)("CancellationPoliciesBadge.nonRefundable")
|
|
6573
|
-
}, null, 8, sC)) :
|
|
6573
|
+
}, null, 8, sC)) : g.value?.penaltyPercentage && g.value?.penaltyPercentage > 0 && g.value?.penaltyPercentage < 100 ? (E(), V("span", {
|
|
6574
6574
|
key: 3,
|
|
6575
6575
|
class: "text-green-darken-2 underline--dotted",
|
|
6576
6576
|
innerHTML: v(n)("CancellationPoliciesBadge.partiallyRefundable")
|
|
@@ -6747,8 +6747,8 @@ function cd(t, i, n) {
|
|
|
6747
6747
|
if (d)
|
|
6748
6748
|
return d;
|
|
6749
6749
|
n.set(t, u);
|
|
6750
|
-
for (var
|
|
6751
|
-
Object.prototype.hasOwnProperty.call(t,
|
|
6750
|
+
for (var g in t)
|
|
6751
|
+
Object.prototype.hasOwnProperty.call(t, g) && (u[g] = cd(t[g], !0, n));
|
|
6752
6752
|
return u;
|
|
6753
6753
|
};
|
|
6754
6754
|
switch (rC(t)) {
|
|
@@ -6898,8 +6898,8 @@ const ut = (t) => typeof t == "function" && !!(t.constructor && t.call && t.appl
|
|
|
6898
6898
|
}, PC = (t) => wC(new TextEncoder().encode(t)), Es = (t, i, n, s, r) => {
|
|
6899
6899
|
const u = { category: t, name: i, properties: n, options: s, callback: void 0 };
|
|
6900
6900
|
ut(r) && (u.callback = r), ut(s) && (u.category = t, u.name = i, u.properties = n, u.options = void 0, u.callback = s), ut(n) && (u.category = t, u.name = i, u.properties = void 0, u.options = void 0, u.callback = n), ut(i) && (u.category = t, u.name = void 0, u.properties = void 0, u.options = void 0, u.callback = i), ut(t) && (u.category = void 0, u.name = void 0, u.properties = void 0, u.options = void 0, u.callback = t), jt(t) ? (u.name = void 0, u.category = void 0, u.properties = t, ut(i) ? u.options = void 0 : u.options = i) : jt(i) && (u.name = void 0, u.properties = i, ut(n) ? u.options = void 0 : u.options = n), Zt(t) && !Zt(i) && (u.category = void 0, u.name = t), Yt(u.category) || (u.category = void 0), Yt(u.name) || (u.name = void 0), u.properties = u.properties ? Qt(u.properties) : {}, Yt(u.options) ? u.options = Qt(u.options) : u.options = void 0;
|
|
6901
|
-
const d = Zt(u.name) ? u.name : u.properties.name,
|
|
6902
|
-
return u.properties = de(jt(u.properties) ? u.properties : {}, { ...d && { name: d }, ...
|
|
6901
|
+
const d = Zt(u.name) ? u.name : u.properties.name, g = Zt(u.category) ? u.category : u.properties.category;
|
|
6902
|
+
return u.properties = de(jt(u.properties) ? u.properties : {}, { ...d && { name: d }, ...g && { category: g } }), u;
|
|
6903
6903
|
}, Tr = (t, i, n, s) => {
|
|
6904
6904
|
const r = { name: t, properties: i, options: n, callback: void 0 };
|
|
6905
6905
|
return ut(s) && (r.callback = s), ut(n) && (r.properties = i, r.options = void 0, r.callback = n), ut(i) && (r.properties = void 0, r.options = void 0, r.callback = i), r.properties = Bo(r.properties) ? Qt(r.properties) : {}, Yt(r.options) ? r.options = Qt(r.options) : r.options = void 0, r;
|
|
@@ -7107,8 +7107,8 @@ const JA = (t, i) => {
|
|
|
7107
7107
|
}
|
|
7108
7108
|
}, uy = 10 * 1e3, cy = "RS_JS_SDK", dy = (t, i, n = !0, s = null, r = null, u = {}) => {
|
|
7109
7109
|
const d = document.createElement("script");
|
|
7110
|
-
return d.type = "text/javascript", d.onload = s, d.onerror = r, d.src = t, d.id = i, d.async = n, Object.keys(u).forEach((
|
|
7111
|
-
d.setAttribute(
|
|
7110
|
+
return d.type = "text/javascript", d.onload = s, d.onerror = r, d.src = t, d.id = i, d.async = n, Object.keys(u).forEach((g) => {
|
|
7111
|
+
d.setAttribute(g, u[g]);
|
|
7112
7112
|
}), d.setAttribute("data-loader", cy), d;
|
|
7113
7113
|
}, hy = (t) => {
|
|
7114
7114
|
const i = document.getElementsByTagName("head");
|
|
@@ -7128,16 +7128,16 @@ const JA = (t, i) => {
|
|
|
7128
7128
|
}, fy = (t, i, n, s = !0, r) => new Promise((u, d) => {
|
|
7129
7129
|
document.getElementById(i) && d(new Error(NC(i)));
|
|
7130
7130
|
try {
|
|
7131
|
-
let
|
|
7131
|
+
let f;
|
|
7132
7132
|
hy(dy(t, i, s, () => {
|
|
7133
|
-
globalThis.clearTimeout(
|
|
7133
|
+
globalThis.clearTimeout(f), u(i);
|
|
7134
7134
|
}, (C) => {
|
|
7135
|
-
globalThis.clearTimeout(
|
|
7136
|
-
}, r)),
|
|
7135
|
+
globalThis.clearTimeout(f), d(new Error(VA(i, t, C)));
|
|
7136
|
+
}, r)), f = globalThis.setTimeout(() => {
|
|
7137
7137
|
d(new Error(UC(i, t, n)));
|
|
7138
7138
|
}, n);
|
|
7139
|
-
} catch (
|
|
7140
|
-
d(zr(
|
|
7139
|
+
} catch (f) {
|
|
7140
|
+
d(zr(f, VA(i, t, "unknown")));
|
|
7141
7141
|
}
|
|
7142
7142
|
});
|
|
7143
7143
|
class kd {
|
|
@@ -7148,11 +7148,11 @@ class kd {
|
|
|
7148
7148
|
* Load external resource of type javascript
|
|
7149
7149
|
*/
|
|
7150
7150
|
loadJSFile(i) {
|
|
7151
|
-
const { url: n, id: s, timeout: r, async: u, callback: d, extraAttributes:
|
|
7152
|
-
fy(n, s, r || this.timeout, u,
|
|
7153
|
-
|
|
7151
|
+
const { url: n, id: s, timeout: r, async: u, callback: d, extraAttributes: g } = i, f = !ut(d);
|
|
7152
|
+
fy(n, s, r || this.timeout, u, g).then((b) => {
|
|
7153
|
+
f || d(b);
|
|
7154
7154
|
}).catch((b) => {
|
|
7155
|
-
|
|
7155
|
+
f || d(s, b);
|
|
7156
7156
|
});
|
|
7157
7157
|
}
|
|
7158
7158
|
}
|
|
@@ -7516,7 +7516,7 @@ function q0() {
|
|
|
7516
7516
|
return this[k];
|
|
7517
7517
|
};
|
|
7518
7518
|
}
|
|
7519
|
-
var u = ["isConstructor", "isEval", "isNative", "isToplevel"], d = ["columnNumber", "lineNumber"],
|
|
7519
|
+
var u = ["isConstructor", "isEval", "isNative", "isToplevel"], d = ["columnNumber", "lineNumber"], g = ["fileName", "functionName", "source"], f = ["args"], b = ["evalOrigin"], y = u.concat(d, g, f, b);
|
|
7520
7520
|
function C(k) {
|
|
7521
7521
|
if (k)
|
|
7522
7522
|
for (var w = 0; w < y.length; w++)
|
|
@@ -7560,12 +7560,12 @@ function q0() {
|
|
|
7560
7560
|
this[k] = Number(w);
|
|
7561
7561
|
};
|
|
7562
7562
|
})(d[B]);
|
|
7563
|
-
for (var Q = 0; Q <
|
|
7564
|
-
C.prototype["get" + s(
|
|
7563
|
+
for (var Q = 0; Q < g.length; Q++)
|
|
7564
|
+
C.prototype["get" + s(g[Q])] = r(g[Q]), C.prototype["set" + s(g[Q])] = /* @__PURE__ */ (function(k) {
|
|
7565
7565
|
return function(w) {
|
|
7566
7566
|
this[k] = String(w);
|
|
7567
7567
|
};
|
|
7568
|
-
})(
|
|
7568
|
+
})(g[Q]);
|
|
7569
7569
|
return C;
|
|
7570
7570
|
});
|
|
7571
7571
|
})(ls)), ls.exports;
|
|
@@ -7584,24 +7584,24 @@ function G0() {
|
|
|
7584
7584
|
* @param {Error} error object
|
|
7585
7585
|
* @return {Array} of StackFrames
|
|
7586
7586
|
*/
|
|
7587
|
-
parse: function(
|
|
7588
|
-
if (typeof
|
|
7589
|
-
return this.parseOpera(
|
|
7590
|
-
if (
|
|
7591
|
-
return this.parseV8OrIE(
|
|
7592
|
-
if (
|
|
7593
|
-
return this.parseFFOrSafari(
|
|
7587
|
+
parse: function(f) {
|
|
7588
|
+
if (typeof f.stacktrace < "u" || typeof f["opera#sourceloc"] < "u")
|
|
7589
|
+
return this.parseOpera(f);
|
|
7590
|
+
if (f.stack && f.stack.match(u))
|
|
7591
|
+
return this.parseV8OrIE(f);
|
|
7592
|
+
if (f.stack)
|
|
7593
|
+
return this.parseFFOrSafari(f);
|
|
7594
7594
|
throw new Error("Cannot parse given Error object");
|
|
7595
7595
|
},
|
|
7596
7596
|
// Separate line and column numbers from a string of the form: (URI:Line:Column)
|
|
7597
|
-
extractLocation: function(
|
|
7598
|
-
if (
|
|
7599
|
-
return [
|
|
7600
|
-
var b = /(.+?)(?::(\d+))?(?::(\d+))?$/, y = b.exec(
|
|
7597
|
+
extractLocation: function(f) {
|
|
7598
|
+
if (f.indexOf(":") === -1)
|
|
7599
|
+
return [f];
|
|
7600
|
+
var b = /(.+?)(?::(\d+))?(?::(\d+))?$/, y = b.exec(f.replace(/[()]/g, ""));
|
|
7601
7601
|
return [y[1], y[2] || void 0, y[3] || void 0];
|
|
7602
7602
|
},
|
|
7603
|
-
parseV8OrIE: function(
|
|
7604
|
-
var b =
|
|
7603
|
+
parseV8OrIE: function(f) {
|
|
7604
|
+
var b = f.stack.split(`
|
|
7605
7605
|
`).filter(function(y) {
|
|
7606
7606
|
return !!y.match(u);
|
|
7607
7607
|
}, this);
|
|
@@ -7613,8 +7613,8 @@ function G0() {
|
|
|
7613
7613
|
return new s({ functionName: Q, fileName: k, lineNumber: B[1], columnNumber: B[2], source: y });
|
|
7614
7614
|
}, this);
|
|
7615
7615
|
},
|
|
7616
|
-
parseFFOrSafari: function(
|
|
7617
|
-
var b =
|
|
7616
|
+
parseFFOrSafari: function(f) {
|
|
7617
|
+
var b = f.stack.split(`
|
|
7618
7618
|
`).filter(function(y) {
|
|
7619
7619
|
return !y.match(d);
|
|
7620
7620
|
}, this);
|
|
@@ -7625,22 +7625,22 @@ function G0() {
|
|
|
7625
7625
|
return new s({ functionName: B, fileName: Q[0], lineNumber: Q[1], columnNumber: Q[2], source: y });
|
|
7626
7626
|
}, this);
|
|
7627
7627
|
},
|
|
7628
|
-
parseOpera: function(
|
|
7629
|
-
return !
|
|
7630
|
-
`) > -1 &&
|
|
7631
|
-
`).length >
|
|
7632
|
-
`).length ? this.parseOpera9(
|
|
7628
|
+
parseOpera: function(f) {
|
|
7629
|
+
return !f.stacktrace || f.message.indexOf(`
|
|
7630
|
+
`) > -1 && f.message.split(`
|
|
7631
|
+
`).length > f.stacktrace.split(`
|
|
7632
|
+
`).length ? this.parseOpera9(f) : f.stack ? this.parseOpera11(f) : this.parseOpera10(f);
|
|
7633
7633
|
},
|
|
7634
|
-
parseOpera9: function(
|
|
7635
|
-
for (var b = /Line (\d+).*script (?:in )?(\S+)/i, y =
|
|
7634
|
+
parseOpera9: function(f) {
|
|
7635
|
+
for (var b = /Line (\d+).*script (?:in )?(\S+)/i, y = f.message.split(`
|
|
7636
7636
|
`), C = [], O = 2, B = y.length; O < B; O += 2) {
|
|
7637
7637
|
var Q = b.exec(y[O]);
|
|
7638
7638
|
Q && C.push(new s({ fileName: Q[2], lineNumber: Q[1], source: y[O] }));
|
|
7639
7639
|
}
|
|
7640
7640
|
return C;
|
|
7641
7641
|
},
|
|
7642
|
-
parseOpera10: function(
|
|
7643
|
-
for (var b = /Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i, y =
|
|
7642
|
+
parseOpera10: function(f) {
|
|
7643
|
+
for (var b = /Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i, y = f.stacktrace.split(`
|
|
7644
7644
|
`), C = [], O = 0, B = y.length; O < B; O += 2) {
|
|
7645
7645
|
var Q = b.exec(y[O]);
|
|
7646
7646
|
Q && C.push(new s({ functionName: Q[3] || void 0, fileName: Q[2], lineNumber: Q[1], source: y[O] }));
|
|
@@ -7648,8 +7648,8 @@ function G0() {
|
|
|
7648
7648
|
return C;
|
|
7649
7649
|
},
|
|
7650
7650
|
// Opera 10.65+ Error.stack very similar to FF/Safari
|
|
7651
|
-
parseOpera11: function(
|
|
7652
|
-
var b =
|
|
7651
|
+
parseOpera11: function(f) {
|
|
7652
|
+
var b = f.stack.split(`
|
|
7653
7653
|
`).filter(function(y) {
|
|
7654
7654
|
return !!y.match(r) && !y.match(/^Error created at/);
|
|
7655
7655
|
}, this);
|
|
@@ -7707,13 +7707,13 @@ const Hd = (t, i) => {
|
|
|
7707
7707
|
r({ error: new Error(Iy), undefined: void 0, options: t });
|
|
7708
7708
|
return;
|
|
7709
7709
|
}
|
|
7710
|
-
const d = new XMLHttpRequest(),
|
|
7710
|
+
const d = new XMLHttpRequest(), g = (b) => {
|
|
7711
7711
|
r({ error: new Error(Uy(As, d.status, d.statusText, t.url, d.responseText)), xhr: d, options: t });
|
|
7712
|
-
},
|
|
7712
|
+
}, f = (b) => {
|
|
7713
7713
|
r({ error: new Error(Hy(As, b, t.url)), xhr: d, options: t, ...b?.type === "timeout" ? { timedOut: !0 } : {} });
|
|
7714
7714
|
};
|
|
7715
|
-
d.ontimeout =
|
|
7716
|
-
d.status >= 200 && d.status < 400 ? s({ response: d.responseText, xhr: d, options: t }) :
|
|
7715
|
+
d.ontimeout = f, d.onerror = f, d.onload = () => {
|
|
7716
|
+
d.status >= 200 && d.status < 400 ? s({ response: d.responseText, xhr: d, options: t }) : g();
|
|
7717
7717
|
}, d.open(t.method, t.url, !0), t.withCredentials === !0 && (d.withCredentials = !0), d.timeout = i, Object.keys(t.headers).forEach((b) => {
|
|
7718
7718
|
t.headers[b] && d.setRequestHeader(b, t.headers[b]);
|
|
7719
7719
|
});
|
|
@@ -7746,11 +7746,11 @@ class nE {
|
|
|
7746
7746
|
* Implement requests in a non-blocking way
|
|
7747
7747
|
*/
|
|
7748
7748
|
getAsyncData(i) {
|
|
7749
|
-
const { callback: n, url: s, options: r, timeout: u, isRawResponse: d } = i,
|
|
7750
|
-
lu(ru(s, r, this.basicAuthHeader), u, this.logger).then((
|
|
7751
|
-
|
|
7752
|
-
}).catch((
|
|
7753
|
-
|
|
7749
|
+
const { callback: n, url: s, options: r, timeout: u, isRawResponse: d } = i, g = !ut(n);
|
|
7750
|
+
lu(ru(s, r, this.basicAuthHeader), u, this.logger).then((f) => {
|
|
7751
|
+
g || n(d ? f.response : au(f.response, this.onError), f);
|
|
7752
|
+
}).catch((f) => {
|
|
7753
|
+
g || n(void 0, f);
|
|
7754
7754
|
});
|
|
7755
7755
|
}
|
|
7756
7756
|
/**
|
|
@@ -7822,14 +7822,14 @@ const Vd = new nE(vi), sE = "1", aE = () => [
|
|
|
7822
7822
|
const i = We(t, !1, lE);
|
|
7823
7823
|
return i !== null ? JSON.parse(i) : {};
|
|
7824
7824
|
}, pE = () => globalThis.location.href.split("?")[0], vE = (t, i, n, s) => ({ id: `${t.value?.id ?? n.writeKey.value}..${i.sessionInfo.value.id ?? "NA"}..${s.pageLifecycle.pageViewId.value ?? "NA"}`, name: t.value?.name ?? "NA" }), bE = (t, i) => ({ locale: t.value ?? "NA", userAgent: i.value ?? "NA", time: /* @__PURE__ */ new Date() }), CE = (t, i, n, s) => {
|
|
7825
|
-
const { context: r, lifecycle: u, session: d, source:
|
|
7826
|
-
return { payloadVersion: "5", notifier: { name: AE, version: y.value.version, url: uE }, events: [{ exceptions: [Qt(t)], severity: i.severity, unhandled: i.unhandled, severityReason: i.severityReason, app: { version: y.value.version, releaseStage: gE(), type: y.value.installType }, device: bE(C, O), request: { url: pE(), clientIp: "[NOT COLLECTED]" }, breadcrumbs: Qt(
|
|
7825
|
+
const { context: r, lifecycle: u, session: d, source: g, reporting: f, autoTrack: b } = n, { app: y, locale: C, userAgent: O, timezone: B, screen: Q, library: k } = r;
|
|
7826
|
+
return { payloadVersion: "5", notifier: { name: AE, version: y.value.version, url: uE }, events: [{ exceptions: [Qt(t)], severity: i.severity, unhandled: i.unhandled, severityReason: i.severityReason, app: { version: y.value.version, releaseStage: gE(), type: y.value.installType }, device: bE(C, O), request: { url: pE(), clientIp: "[NOT COLLECTED]" }, breadcrumbs: Qt(f.breadcrumbs.value), context: t.message, groupingHash: s, metaData: {
|
|
7827
7827
|
app: { snippetVersion: k.value.snippetVersion },
|
|
7828
7828
|
device: { ...Q.value, timezone: B.value },
|
|
7829
7829
|
// Add rest of the state groups as metadata
|
|
7830
7830
|
// so that they show up as separate tabs in the dashboard
|
|
7831
7831
|
...mE(n)
|
|
7832
|
-
}, user: vE(
|
|
7832
|
+
}, user: vE(g, d, u, b) }] };
|
|
7833
7833
|
}, yE = (t, i, n) => {
|
|
7834
7834
|
if (fe(t.capabilities.isAdBlocked.value)) {
|
|
7835
7835
|
t.capabilities.isAdBlockerDetectionInProgress.value === !1 && Kd(i);
|
|
@@ -7908,17 +7908,17 @@ class wE {
|
|
|
7908
7908
|
*/
|
|
7909
7909
|
async onError(i) {
|
|
7910
7910
|
try {
|
|
7911
|
-
const { error: n, context: s, customMessage: r, groupingHash: u, category: d } = i,
|
|
7911
|
+
const { error: n, context: s, customMessage: r, groupingHash: u, category: d } = i, g = i.errorType ?? ui.HANDLEDEXCEPTION, f = hE(n, g), b = Hd(f, this.logger);
|
|
7912
7912
|
if (fe(b))
|
|
7913
7913
|
return;
|
|
7914
7914
|
const y = r ? `${r} - ` : "", C = `${s}${Ct}${y}`, O = _0(b, C), Q = js(b).includes(ss);
|
|
7915
|
-
if (!Q && !IE(O) &&
|
|
7915
|
+
if (!Q && !IE(O) && g !== ui.HANDLEDEXCEPTION)
|
|
7916
7916
|
return;
|
|
7917
7917
|
if (p.reporting.isErrorReportingEnabled.value && await EE(O, p, this.httpClient)) {
|
|
7918
|
-
const w = { severity: "error", unhandled:
|
|
7918
|
+
const w = { severity: "error", unhandled: g !== ui.HANDLEDEXCEPTION, severityReason: { type: g } }, P = BE(u, O.message, p, this.logger), H = CE(O, w, p, P);
|
|
7919
7919
|
this.httpClient.getAsyncData({ url: p.metrics.metricsServiceUrl.value, options: { method: "POST", data: kE(H, p, d), sendRawData: !0 }, isRawResponse: !0 });
|
|
7920
7920
|
}
|
|
7921
|
-
(
|
|
7921
|
+
(g === ui.HANDLEDEXCEPTION || Q) && this.logger.error(O.message);
|
|
7922
7922
|
} catch (n) {
|
|
7923
7923
|
this.logger.error(Ry($o), n);
|
|
7924
7924
|
}
|
|
@@ -8011,15 +8011,15 @@ class PE {
|
|
|
8011
8011
|
const u = r.startsWith("!"), d = this.config.throws ?? r.endsWith("!");
|
|
8012
8012
|
if (r = r.replace(/(^!|!$)/g, ""), !r)
|
|
8013
8013
|
throw new Error(By);
|
|
8014
|
-
const
|
|
8015
|
-
|
|
8016
|
-
const
|
|
8014
|
+
const g = r.split(".");
|
|
8015
|
+
g.pop();
|
|
8016
|
+
const f = g.join(".");
|
|
8017
8017
|
return (n ? this.getPlugins(r) : [this.getPlugins(r)[0]]).map((y) => {
|
|
8018
8018
|
const C = er(y, r);
|
|
8019
8019
|
if (!ut(C) || u)
|
|
8020
8020
|
return C;
|
|
8021
8021
|
try {
|
|
8022
|
-
return C.apply(er(y,
|
|
8022
|
+
return C.apply(er(y, f), s);
|
|
8023
8023
|
} catch (O) {
|
|
8024
8024
|
if (d)
|
|
8025
8025
|
throw O;
|
|
@@ -8059,8 +8059,8 @@ async function FE(t) {
|
|
|
8059
8059
|
u
|
|
8060
8060
|
).then((d) => {
|
|
8061
8061
|
if (!i.inited) {
|
|
8062
|
-
const
|
|
8063
|
-
d.init(
|
|
8062
|
+
const g = TE();
|
|
8063
|
+
d.init(g), i.lib = d, i.lib.init(g), i.inited = !0;
|
|
8064
8064
|
}
|
|
8065
8065
|
n(i.lib);
|
|
8066
8066
|
}).catch(s);
|
|
@@ -8161,7 +8161,7 @@ class HE {
|
|
|
8161
8161
|
const r = i.shouldAddMissingPlugins || n;
|
|
8162
8162
|
let u;
|
|
8163
8163
|
i.activePluginName ? u = [...i.basePlugins || [], i.activePluginName] : u = [...i.supportedPlugins];
|
|
8164
|
-
const d = u.filter((
|
|
8164
|
+
const d = u.filter((g) => !s.includes(g));
|
|
8165
8165
|
d.length > 0 && (r && s.push(...d), this.logger.warn(f0(jn, i.configurationStatusStr, d, r)));
|
|
8166
8166
|
}
|
|
8167
8167
|
/**
|
|
@@ -8371,7 +8371,7 @@ function fI() {
|
|
|
8371
8371
|
function d(B) {
|
|
8372
8372
|
return Object.prototype.toString.call(B) === "[object Array]";
|
|
8373
8373
|
}
|
|
8374
|
-
function
|
|
8374
|
+
function g(B) {
|
|
8375
8375
|
var Q = "_Is_Incognit", k = "yes";
|
|
8376
8376
|
try {
|
|
8377
8377
|
B || (B = window.localStorage), B.setItem(Q, k), B.removeItem(Q);
|
|
@@ -8391,14 +8391,14 @@ function fI() {
|
|
|
8391
8391
|
}
|
|
8392
8392
|
return B;
|
|
8393
8393
|
}
|
|
8394
|
-
var
|
|
8394
|
+
var f = g();
|
|
8395
8395
|
function b() {
|
|
8396
8396
|
if (!(this instanceof b))
|
|
8397
8397
|
return new b();
|
|
8398
8398
|
}
|
|
8399
8399
|
b.prototype = { set: function(Q, k) {
|
|
8400
8400
|
if (Q && !n(Q))
|
|
8401
|
-
|
|
8401
|
+
f.setItem(Q, s(k));
|
|
8402
8402
|
else if (n(Q))
|
|
8403
8403
|
for (var w in Q) this.set(w, Q[w]);
|
|
8404
8404
|
return this;
|
|
@@ -8414,17 +8414,17 @@ function fI() {
|
|
|
8414
8414
|
var w = arguments;
|
|
8415
8415
|
if (w.length > 1) {
|
|
8416
8416
|
for (var P = {}, H = 0, I = w.length; H < I; H++) {
|
|
8417
|
-
var T = r(
|
|
8417
|
+
var T = r(f.getItem(w[H]));
|
|
8418
8418
|
this.has(w[H]) && (P[w[H]] = T);
|
|
8419
8419
|
}
|
|
8420
8420
|
return P;
|
|
8421
8421
|
}
|
|
8422
|
-
return r(
|
|
8422
|
+
return r(f.getItem(Q));
|
|
8423
8423
|
}, clear: function() {
|
|
8424
|
-
return
|
|
8424
|
+
return f.clear(), this;
|
|
8425
8425
|
}, remove: function(Q) {
|
|
8426
8426
|
var k = this.get(Q);
|
|
8427
|
-
return
|
|
8427
|
+
return f.removeItem(Q), k;
|
|
8428
8428
|
}, has: function(Q) {
|
|
8429
8429
|
return {}.hasOwnProperty.call(this.get(), Q);
|
|
8430
8430
|
}, keys: function() {
|
|
@@ -8433,8 +8433,8 @@ function fI() {
|
|
|
8433
8433
|
Q.push(k);
|
|
8434
8434
|
}), Q;
|
|
8435
8435
|
}, forEach: function(Q) {
|
|
8436
|
-
for (var k = 0, w =
|
|
8437
|
-
var P =
|
|
8436
|
+
for (var k = 0, w = f.length; k < w; k++) {
|
|
8437
|
+
var P = f.key(k);
|
|
8438
8438
|
Q(P, this.get(P));
|
|
8439
8439
|
}
|
|
8440
8440
|
return this;
|
|
@@ -8443,7 +8443,7 @@ function fI() {
|
|
|
8443
8443
|
k[P].indexOf(Q) > -1 && (w[k[P]] = this.get(k[P]));
|
|
8444
8444
|
return w;
|
|
8445
8445
|
}, len: function() {
|
|
8446
|
-
return
|
|
8446
|
+
return f.length;
|
|
8447
8447
|
} };
|
|
8448
8448
|
var y = null;
|
|
8449
8449
|
function C(B, Q) {
|
|
@@ -8528,7 +8528,7 @@ const Vi = /* @__PURE__ */ Nd(gI), mI = () => !je(globalThis.crypto) && ut(globa
|
|
|
8528
8528
|
}, po = (t = Qe, i, n) => {
|
|
8529
8529
|
let s, r;
|
|
8530
8530
|
const u = xy(ir, t);
|
|
8531
|
-
let d = "unavailable",
|
|
8531
|
+
let d = "unavailable", g = !0, f;
|
|
8532
8532
|
try {
|
|
8533
8533
|
switch (t) {
|
|
8534
8534
|
case ei:
|
|
@@ -8547,11 +8547,11 @@ const Vi = /* @__PURE__ */ Nd(gI), mI = () => !je(globalThis.crypto) && ut(globa
|
|
|
8547
8547
|
}
|
|
8548
8548
|
if (s && (s.setItem(r, "true"), s.getItem(r)))
|
|
8549
8549
|
return s.removeItem(r), !0;
|
|
8550
|
-
|
|
8550
|
+
g = !1;
|
|
8551
8551
|
} catch (b) {
|
|
8552
|
-
|
|
8552
|
+
g = !1, f = b, _d(b) && (d = "full");
|
|
8553
8553
|
}
|
|
8554
|
-
return
|
|
8554
|
+
return g || n?.warn(`${u}${d}.`, f), !1;
|
|
8555
8555
|
};
|
|
8556
8556
|
class yI {
|
|
8557
8557
|
isSupportAvailable = !0;
|
|
@@ -8695,10 +8695,10 @@ class QI {
|
|
|
8695
8695
|
const { name: n, id: s, validKeys: r, noKeyValidation: u, noCompoundKey: d } = this;
|
|
8696
8696
|
if (u)
|
|
8697
8697
|
return d ? i : [n, s, i].join(".");
|
|
8698
|
-
let
|
|
8699
|
-
return Object.values(r).forEach((
|
|
8700
|
-
|
|
8701
|
-
}),
|
|
8698
|
+
let g;
|
|
8699
|
+
return Object.values(r).forEach((f) => {
|
|
8700
|
+
f === i && (g = d ? i : [n, s, i].join("."));
|
|
8701
|
+
}), g;
|
|
8702
8702
|
}
|
|
8703
8703
|
/**
|
|
8704
8704
|
* Switch to inMemoryEngine, bringing any existing data with.
|
|
@@ -8706,8 +8706,8 @@ class QI {
|
|
|
8706
8706
|
swapQueueStoreToInMemoryEngine() {
|
|
8707
8707
|
const { name: i, id: n, validKeys: s, noCompoundKey: r } = this, u = Ke(ei);
|
|
8708
8708
|
Object.keys(s).forEach((d) => {
|
|
8709
|
-
const
|
|
8710
|
-
u.setItem(
|
|
8709
|
+
const g = this.get(s[d]), f = r ? d : [i, n, d].join(".");
|
|
8710
|
+
u.setItem(f, g), this.remove(d);
|
|
8711
8711
|
}), this.engine = u;
|
|
8712
8712
|
}
|
|
8713
8713
|
/**
|
|
@@ -8826,8 +8826,8 @@ class DI {
|
|
|
8826
8826
|
(Yt(s?.type) || Yt(s?.entries)) && (i = s?.type, n = s?.entries);
|
|
8827
8827
|
let r = !0, u = {};
|
|
8828
8828
|
Xd.forEach((d) => {
|
|
8829
|
-
const
|
|
8830
|
-
O !== Gi && (r = !1), u = { ...u, [d]: { type: O, key: ho[
|
|
8829
|
+
const g = d, f = d, b = n?.[g]?.type, C = RI(p, d) ?? b ?? i ?? sr, O = this.getResolvedStorageTypeForEntry(C, d);
|
|
8830
|
+
O !== Gi && (r = !1), u = { ...u, [d]: { type: O, key: ho[f] } };
|
|
8831
8831
|
}), ve(() => {
|
|
8832
8832
|
p.storage.type.value = i, p.storage.entries.value = u, p.storage.trulyAnonymousTracking.value = r;
|
|
8833
8833
|
});
|
|
@@ -8925,10 +8925,10 @@ const OI = (t) => jt(t) && jt(t.source) && !je(t.source.id) && jt(t.source.confi
|
|
|
8925
8925
|
const s = n ? ar[n] : void 0;
|
|
8926
8926
|
return n && !s && (i.error(Sy(Fe, n, ar)), n = void 0), { provider: n, consentManagerPluginName: s };
|
|
8927
8927
|
}, eh = (t, i) => {
|
|
8928
|
-
let n, s = [], r = [], u = !1, d,
|
|
8929
|
-
Di(t) &&
|
|
8930
|
-
const
|
|
8931
|
-
return
|
|
8928
|
+
let n, s = [], r = [], u = !1, d, g = t?.enabled === !0;
|
|
8929
|
+
Di(t) && g && ({ provider: d, consentManagerPluginName: n } = KI(t, i), gu(t.allowedConsentIds) && (s = t.allowedConsentIds, u = !0), gu(t.deniedConsentIds) && (r = t.deniedConsentIds, u = !0));
|
|
8930
|
+
const f = { allowedConsentIds: s, deniedConsentIds: r };
|
|
8931
|
+
return g = g && !!n, { provider: d, consentManagerPluginName: n, initialized: u, enabled: g, consentsData: f };
|
|
8932
8932
|
}, YI = () => {
|
|
8933
8933
|
const t = document.querySelector("script[data-rsa-write-key]");
|
|
8934
8934
|
if (t && t.dataset.rsaWriteKey === p.lifecycle.writeKey.value)
|
|
@@ -8943,18 +8943,18 @@ const OI = (t) => jt(t) && jt(t.source) && !je(t.source.id) && jt(t.source.confi
|
|
|
8943
8943
|
p.reporting.isErrorReportingEnabled.value = UI(t.source.config) && !zC(), p.reporting.isMetricsReportingEnabled.value = HI(t.source.config);
|
|
8944
8944
|
}, WI = (t) => {
|
|
8945
8945
|
const { useServerSideCookies: i, dataServiceEndpoint: n, storage: s, setCookieDomain: r, sameDomainCookiesOnly: u } = p.loadOptions.value;
|
|
8946
|
-
let d = s?.cookie,
|
|
8946
|
+
let d = s?.cookie, g = !1, f;
|
|
8947
8947
|
if (i) {
|
|
8948
|
-
|
|
8948
|
+
g = i;
|
|
8949
8949
|
const b = d.domain ?? r, y = Yt(b) && !zI(UA(b)) || u, C = FI(n ?? E0, y);
|
|
8950
8950
|
if (Po(C)) {
|
|
8951
|
-
|
|
8951
|
+
f = wo(C);
|
|
8952
8952
|
const O = Ar(window.location.href), B = Ar(C);
|
|
8953
|
-
O !== B && (d = { ...d, samesite: "None", secure: !0 }), !u && y && B !== UA(b) && (
|
|
8953
|
+
O !== B && (d = { ...d, samesite: "None", secure: !0 }), !u && y && B !== UA(b) && (g = !1, t.warn(Jy(Fe, b, B)));
|
|
8954
8954
|
} else
|
|
8955
|
-
|
|
8955
|
+
g = !1;
|
|
8956
8956
|
}
|
|
8957
|
-
return { sscEnabled:
|
|
8957
|
+
return { sscEnabled: g, cookieOptions: d, finalDataServiceUrl: f };
|
|
8958
8958
|
}, GI = (t) => {
|
|
8959
8959
|
const { storage: i } = p.loadOptions.value;
|
|
8960
8960
|
let n = i?.type;
|
|
@@ -8964,15 +8964,15 @@ const OI = (t) => jt(t) && jt(t.source) && !je(t.source.id) && jt(t.source.confi
|
|
|
8964
8964
|
!fe(s) && fe(r) ? (t.warn(Zy(Fe, s, as, Yi)), s = Yi) : fe(s) && (s = Yi);
|
|
8965
8965
|
const u = i?.migrate, d = u && s === Yi;
|
|
8966
8966
|
u === !0 && d !== u && t.warn(jy(Fe, s, Yi));
|
|
8967
|
-
const { sscEnabled:
|
|
8967
|
+
const { sscEnabled: g, finalDataServiceUrl: f, cookieOptions: b } = WI(t);
|
|
8968
8968
|
ve(() => {
|
|
8969
|
-
p.storage.type.value = n, p.storage.cookie.value = b, p.serverCookies.isEnabledServerSideCookies.value =
|
|
8969
|
+
p.storage.type.value = n, p.storage.cookie.value = b, p.serverCookies.isEnabledServerSideCookies.value = g, p.serverCookies.dataServiceUrl.value = f, p.storage.encryptionPluginName.value = as[s], p.storage.migrate.value = d;
|
|
8970
8970
|
});
|
|
8971
8971
|
}, ZI = (t) => {
|
|
8972
8972
|
const { provider: i, consentManagerPluginName: n, initialized: s, enabled: r, consentsData: u } = eh(p.loadOptions.value.consentManagement, t), d = p.loadOptions.value.preConsent;
|
|
8973
|
-
let
|
|
8974
|
-
const
|
|
8975
|
-
Yt(
|
|
8973
|
+
let g = d?.storage?.strategy ?? Ha;
|
|
8974
|
+
const f = ["none", "session", "anonymousId"];
|
|
8975
|
+
Yt(g) && !f.includes(g) && (g = Ha, t.warn(c0(Fe, d?.storage?.strategy, Ha)));
|
|
8976
8976
|
let b = d?.events?.delivery ?? Va;
|
|
8977
8977
|
const y = ["immediate", "buffer"];
|
|
8978
8978
|
Yt(b) && !y.includes(b) && (b = Va, t.warn(d0(Fe, d?.events?.delivery, Va))), ve(() => {
|
|
@@ -8981,7 +8981,7 @@ const OI = (t) => jt(t) && jt(t.source) && !je(t.source.id) && jt(t.source.confi
|
|
|
8981
8981
|
// if it is not already initialized and
|
|
8982
8982
|
// if consent management is enabled
|
|
8983
8983
|
enabled: p.loadOptions.value.preConsent?.enabled === !0 && s === !1 && r === !0,
|
|
8984
|
-
storage: { strategy:
|
|
8984
|
+
storage: { strategy: g },
|
|
8985
8985
|
events: { delivery: b }
|
|
8986
8986
|
};
|
|
8987
8987
|
});
|
|
@@ -9000,26 +9000,26 @@ const OI = (t) => jt(t) && jt(t.source) && !je(t.source.id) && jt(t.source.confi
|
|
|
9000
9000
|
}
|
|
9001
9001
|
}, XI = (t, i, n, s, r) => {
|
|
9002
9002
|
const u = new URLSearchParams({ p: yd, v: cn, build: hn, writeKey: i, lockIntegrationsVersion: n.toString(), lockPluginsVersion: s.toString() });
|
|
9003
|
-
let d = Md,
|
|
9003
|
+
let d = Md, g = u, f = "/sourceConfig/", b = "";
|
|
9004
9004
|
if (Po(t)) {
|
|
9005
9005
|
const y = new URL(t);
|
|
9006
9006
|
wo(y.pathname).endsWith("/sourceConfig") || (y.pathname = `${wo(y.pathname)}/sourceConfig/`), y.pathname = NI(y.pathname), u.forEach((C, O) => {
|
|
9007
9007
|
y.searchParams.get(O) === null && y.searchParams.set(O, C);
|
|
9008
|
-
}), d = y.origin,
|
|
9008
|
+
}), d = y.origin, f = y.pathname, g = y.searchParams, b = y.hash;
|
|
9009
9009
|
} else
|
|
9010
9010
|
r.warn(A0(Fe, t));
|
|
9011
|
-
return `${d}${
|
|
9011
|
+
return `${d}${f}?${g}${b}`;
|
|
9012
9012
|
}, _I = (t) => t.map((i) => ({ id: i.id, displayName: i.destinationDefinition.displayName, enabled: i.enabled, config: i.config, shouldApplyDeviceModeTransformation: i.shouldApplyDeviceModeTransformation ?? !1, propagateEventsUntransformedOnError: i.propagateEventsUntransformedOnError ?? !1, userFriendlyId: DE(i.destinationDefinition.displayName, i.id), isCustomIntegration: i.destinationDefinition.displayName === k0 })), ih = (t, i, n, s, r, u, d) => {
|
|
9013
|
-
let
|
|
9013
|
+
let g;
|
|
9014
9014
|
if (u) {
|
|
9015
9015
|
if (!Po(u))
|
|
9016
9016
|
return d.error(Py(Fe, t, u)), null;
|
|
9017
|
-
|
|
9018
|
-
} else if (
|
|
9019
|
-
const
|
|
9020
|
-
|
|
9017
|
+
g = wo(u);
|
|
9018
|
+
} else if (g = n, p.context.app.value.installType === "cdn") {
|
|
9019
|
+
const f = YI();
|
|
9020
|
+
f && (g = f.split("/").slice(0, -1).concat(i).join("/"));
|
|
9021
9021
|
}
|
|
9022
|
-
return r && (
|
|
9022
|
+
return r && (g = g.replace(new RegExp(`/${Nr}/${hn}/${i}$`), `/${s}/${hn}/${i}`)), g;
|
|
9023
9023
|
}, $I = (t, i, n, s) => ih("integrations", Mr, zd, t, i, n, s), t2 = (t, i, n, s) => ih("plugins", Fd, xd, t, i, n, s);
|
|
9024
9024
|
class e2 {
|
|
9025
9025
|
constructor(i, n, s) {
|
|
@@ -9035,12 +9035,12 @@ class e2 {
|
|
|
9035
9035
|
* config related information in global state
|
|
9036
9036
|
*/
|
|
9037
9037
|
init() {
|
|
9038
|
-
const { logLevel: i, configUrl: n, lockIntegrationsVersion: s, lockPluginsVersion: r, destSDKBaseURL: u, pluginsSDKBaseURL: d, integrations:
|
|
9039
|
-
if (ze(
|
|
9038
|
+
const { logLevel: i, configUrl: n, lockIntegrationsVersion: s, lockPluginsVersion: r, destSDKBaseURL: u, pluginsSDKBaseURL: d, integrations: g } = p.loadOptions.value, f = $I(cn, s, u, this.logger);
|
|
9039
|
+
if (ze(f))
|
|
9040
9040
|
return;
|
|
9041
9041
|
let b;
|
|
9042
9042
|
b = t2(cn, r, d, this.logger), b !== null && (this.attachEffects(), p.lifecycle.activeDataplaneUrl.value = wo(p.lifecycle.dataPlaneUrl.value), GI(this.logger), ZI(this.logger), JI(this.logger), ve(() => {
|
|
9043
|
-
p.lifecycle.integrationsCDNPath.value =
|
|
9043
|
+
p.lifecycle.integrationsCDNPath.value = f, p.lifecycle.pluginsCDNPath.value = b, i && (p.lifecycle.logLevel.value = i), p.lifecycle.sourceConfigUrl.value = XI(n, p.lifecycle.writeKey.value, s, r, this.logger), p.metrics.metricsServiceUrl.value = `${p.lifecycle.activeDataplaneUrl.value}/${I0}`, p.nativeDestinations.loadOnlyIntegrations.value = g;
|
|
9044
9044
|
}), this.getConfig());
|
|
9045
9045
|
}
|
|
9046
9046
|
/**
|
|
@@ -9132,15 +9132,15 @@ const i2 = () => {
|
|
|
9132
9132
|
let r = n.pathname;
|
|
9133
9133
|
const { href: u } = n;
|
|
9134
9134
|
let d = u;
|
|
9135
|
-
const { search:
|
|
9135
|
+
const { search: g } = n;
|
|
9136
9136
|
if (s)
|
|
9137
9137
|
try {
|
|
9138
9138
|
const C = new URL(s);
|
|
9139
|
-
C.search === "" ? d = s +
|
|
9139
|
+
C.search === "" ? d = s + g : d = s, r = C.pathname;
|
|
9140
9140
|
} catch {
|
|
9141
9141
|
}
|
|
9142
|
-
const
|
|
9143
|
-
return { path: r, referrer: y, referring_domain: th(y), search:
|
|
9142
|
+
const f = MI(d), { title: b } = i(), y = oh(i);
|
|
9143
|
+
return { path: r, referrer: y, referring_domain: th(y), search: g, title: b, url: f, tab_url: u };
|
|
9144
9144
|
}, a2 = "https://polyfill-fastly.io/v3/polyfill.min.js", r2 = `${a2}?version=3.111.0&features=${Object.keys(lr).join("%2C")}`, l2 = 10 * 1e3, mu = "rudderstackPolyfill";
|
|
9145
9145
|
class A2 {
|
|
9146
9146
|
constructor(i, n, s) {
|
|
@@ -9456,11 +9456,11 @@ class S2 {
|
|
|
9456
9456
|
const i = p.storage.entries.value, n = [we, Qe, Le];
|
|
9457
9457
|
Object.keys(i).forEach((s) => {
|
|
9458
9458
|
const r = s, u = i[r]?.type, d = this.storeManager?.getStore(fo[u]);
|
|
9459
|
-
d && n.forEach((
|
|
9460
|
-
const
|
|
9461
|
-
if (
|
|
9462
|
-
const b =
|
|
9463
|
-
bC(b) && d.set(ho[r], b),
|
|
9459
|
+
d && n.forEach((g) => {
|
|
9460
|
+
const f = this.storeManager?.getStore(fo[g]);
|
|
9461
|
+
if (f && g !== u) {
|
|
9462
|
+
const b = f.get(ho[r]);
|
|
9463
|
+
bC(b) && d.set(ho[r], b), f.remove(ho[r]);
|
|
9464
9464
|
}
|
|
9465
9465
|
});
|
|
9466
9466
|
});
|
|
@@ -9470,13 +9470,13 @@ class S2 {
|
|
|
9470
9470
|
return;
|
|
9471
9471
|
let s = i ?? [];
|
|
9472
9472
|
s.length === 0 && [Zd, jd, Jd].forEach((d) => {
|
|
9473
|
-
const
|
|
9474
|
-
|
|
9473
|
+
const g = this.storeManager?.getStore(d);
|
|
9474
|
+
g && s.push(g);
|
|
9475
9475
|
}), (n ?? Object.keys(ho)).forEach((u) => {
|
|
9476
9476
|
const d = ho[u];
|
|
9477
|
-
s.forEach((
|
|
9478
|
-
const
|
|
9479
|
-
je(
|
|
9477
|
+
s.forEach((g) => {
|
|
9478
|
+
const f = this.pluginsManager?.invokeSingle("storage.migrate", d, g.engine, this.errorHandler, this.logger);
|
|
9479
|
+
je(f) || g.set(d, f);
|
|
9480
9480
|
});
|
|
9481
9481
|
});
|
|
9482
9482
|
}
|
|
@@ -9532,11 +9532,11 @@ class S2 {
|
|
|
9532
9532
|
try {
|
|
9533
9533
|
const r = this.getEncryptedCookieData(i, s);
|
|
9534
9534
|
r.length > 0 && this.makeRequestToSetCookie(r, (u, d) => {
|
|
9535
|
-
d?.xhr?.status === 200 ? i.forEach((
|
|
9536
|
-
const
|
|
9537
|
-
We(
|
|
9538
|
-
}) : (this.logger.error(qy(d?.xhr?.status)), i.forEach((
|
|
9539
|
-
n && n(
|
|
9535
|
+
d?.xhr?.status === 200 ? i.forEach((g) => {
|
|
9536
|
+
const f = s?.get(g.name), b = We(g.value, !1, []);
|
|
9537
|
+
We(f, !1, []) !== b && (this.logger.error(Wy(g.name)), n && n(g.name, g.value));
|
|
9538
|
+
}) : (this.logger.error(qy(d?.xhr?.status)), i.forEach((g) => {
|
|
9539
|
+
n && n(g.name, g.value);
|
|
9540
9540
|
}));
|
|
9541
9541
|
});
|
|
9542
9542
|
} catch (r) {
|
|
@@ -9555,8 +9555,8 @@ class S2 {
|
|
|
9555
9555
|
if (tn(r)) {
|
|
9556
9556
|
const u = this.storeManager?.getStore(fo[r]), d = s[i]?.key;
|
|
9557
9557
|
n && (Zt(n) || Di(n)) ? p.serverCookies.isEnabledServerSideCookies.value && r === we ? (this.serverSideCookieDebounceFuncs[i] && globalThis.clearTimeout(this.serverSideCookieDebounceFuncs[i]), this.serverSideCookieDebounceFuncs[i] = globalThis.setTimeout(() => {
|
|
9558
|
-
this.setServerSideCookies([{ name: d, value: n }], (
|
|
9559
|
-
u?.set(
|
|
9558
|
+
this.setServerSideCookies([{ name: d, value: n }], (g, f) => {
|
|
9559
|
+
u?.set(g, f);
|
|
9560
9560
|
}, u);
|
|
9561
9561
|
}, P0)) : u?.set(d, n) : u?.remove(d);
|
|
9562
9562
|
}
|
|
@@ -10279,8 +10279,8 @@ class go {
|
|
|
10279
10279
|
* @returns
|
|
10280
10280
|
*/
|
|
10281
10281
|
trackPageLifecycleEvents(i) {
|
|
10282
|
-
const { autoTrack: n, useBeacon: s } = i ?? {}, { enabled: r = !1, options: u = {}, pageLifecycle: d } = n ?? {}, { events:
|
|
10283
|
-
p.autoTrack.pageLifecycle.enabled.value =
|
|
10282
|
+
const { autoTrack: n, useBeacon: s } = i ?? {}, { enabled: r = !1, options: u = {}, pageLifecycle: d } = n ?? {}, { events: g = [za.UNLOADED], enabled: f = r, options: b = u } = d ?? {};
|
|
10283
|
+
p.autoTrack.pageLifecycle.enabled.value = f, p.autoTrack.enabled.value = r || f, f && this.setupPageUnloadTracking(g, s, b);
|
|
10284
10284
|
}
|
|
10285
10285
|
/**
|
|
10286
10286
|
* Setup page unload tracking if enabled
|
|
@@ -10513,7 +10513,7 @@ const N2 = { class: "d-flex justify-end" }, lh = /* @__PURE__ */ dt({
|
|
|
10513
10513
|
},
|
|
10514
10514
|
emits: ["accommodationSuccess"],
|
|
10515
10515
|
setup(t, { emit: i }) {
|
|
10516
|
-
const { config: n } = In(), { t: s } = Vt(), r = i, u = t, d = q(!1),
|
|
10516
|
+
const { config: n } = In(), { t: s } = Vt(), r = i, u = t, d = q(!1), g = q(!1), f = q(!1), b = q(!1), y = q(!1), C = q({
|
|
10517
10517
|
adultCount: u.adultCount,
|
|
10518
10518
|
email: "",
|
|
10519
10519
|
endDate: Gt(u.endDate).toDate(),
|
|
@@ -10557,14 +10557,14 @@ const N2 = { class: "d-flex justify-end" }, lh = /* @__PURE__ */ dt({
|
|
|
10557
10557
|
}
|
|
10558
10558
|
},
|
|
10559
10559
|
() => {
|
|
10560
|
-
|
|
10560
|
+
g.value = !0, d.value = !1, r("accommodationSuccess");
|
|
10561
10561
|
}
|
|
10562
10562
|
);
|
|
10563
10563
|
}
|
|
10564
10564
|
return (k, w) => (E(), V("div", null, [
|
|
10565
10565
|
l(yc, {
|
|
10566
|
-
modelValue:
|
|
10567
|
-
"onUpdate:modelValue": w[13] || (w[13] = (P) =>
|
|
10566
|
+
modelValue: f.value,
|
|
10567
|
+
"onUpdate:modelValue": w[13] || (w[13] = (P) => f.value = P),
|
|
10568
10568
|
style: { gap: "8px", display: "flex", flexDirection: "column" }
|
|
10569
10569
|
}, {
|
|
10570
10570
|
default: c(() => [
|
|
@@ -10719,10 +10719,10 @@ const N2 = { class: "d-flex justify-end" }, lh = /* @__PURE__ */ dt({
|
|
|
10719
10719
|
}, null, 8, ["modelValue", "label"]),
|
|
10720
10720
|
R("div", N2, [
|
|
10721
10721
|
l(vt, {
|
|
10722
|
-
color:
|
|
10722
|
+
color: g.value ? "green" : "primary",
|
|
10723
10723
|
"data-cy": "submit-button",
|
|
10724
10724
|
"data-attr": "submit-button",
|
|
10725
|
-
disabled: !
|
|
10725
|
+
disabled: !f.value || d.value || g.value,
|
|
10726
10726
|
loading: d.value,
|
|
10727
10727
|
onClick: w[12] || (w[12] = (P) => Q())
|
|
10728
10728
|
}, {
|
|
@@ -10923,9 +10923,9 @@ const Ah = {
|
|
|
10923
10923
|
},
|
|
10924
10924
|
emits: ["payment:change", "payment:later", "payment:success", "payment:error", "payment:pay"],
|
|
10925
10925
|
setup(t, { expose: i, emit: n }) {
|
|
10926
|
-
const s = n, { t: r } = Vt(), u = t, d = q(!1),
|
|
10926
|
+
const s = n, { t: r } = Vt(), u = t, d = q(!1), g = q(
|
|
10927
10927
|
ce.CreditCard
|
|
10928
|
-
),
|
|
10928
|
+
), f = q(!1), b = q(!1), y = q(!1), C = q(null), O = ip("CREDIT_CARD"), B = z(
|
|
10929
10929
|
() => u.paymentMethods.find(
|
|
10930
10930
|
(I) => I.name === ce.CreditCard && I.payload
|
|
10931
10931
|
)
|
|
@@ -10945,7 +10945,7 @@ const Ah = {
|
|
|
10945
10945
|
d.value = !0, s(It.PaymentSuccess, I);
|
|
10946
10946
|
}
|
|
10947
10947
|
function H() {
|
|
10948
|
-
switch (
|
|
10948
|
+
switch (g.value) {
|
|
10949
10949
|
case ce.CreditCard:
|
|
10950
10950
|
O.value?.pay();
|
|
10951
10951
|
break;
|
|
@@ -10971,9 +10971,9 @@ const Ah = {
|
|
|
10971
10971
|
ot(I.$slots, "terms", {}, () => [
|
|
10972
10972
|
l(Tc, {
|
|
10973
10973
|
ref: "testing",
|
|
10974
|
-
modelValue:
|
|
10975
|
-
"onUpdate:modelValue": T[2] || (T[2] = (D) =>
|
|
10976
|
-
error: b.value && !
|
|
10974
|
+
modelValue: f.value,
|
|
10975
|
+
"onUpdate:modelValue": T[2] || (T[2] = (D) => f.value = D),
|
|
10976
|
+
error: b.value && !f.value,
|
|
10977
10977
|
color: "primary"
|
|
10978
10978
|
}, {
|
|
10979
10979
|
label: c(() => [
|
|
@@ -11002,7 +11002,7 @@ const Ah = {
|
|
|
11002
11002
|
key: 0,
|
|
11003
11003
|
class: "w-100 w-sm-auto",
|
|
11004
11004
|
color: "primary",
|
|
11005
|
-
disabled: t.isLoading || !
|
|
11005
|
+
disabled: t.isLoading || !f.value,
|
|
11006
11006
|
loading: t.isLoading,
|
|
11007
11007
|
variant: "outlined",
|
|
11008
11008
|
onClick: T[3] || (T[3] = (D) => s("payment:later"))
|
|
@@ -11015,7 +11015,7 @@ const Ah = {
|
|
|
11015
11015
|
l(vt, {
|
|
11016
11016
|
class: "w-100 w-sm-auto",
|
|
11017
11017
|
color: "primary",
|
|
11018
|
-
disabled: t.isLoading || !
|
|
11018
|
+
disabled: t.isLoading || !f.value,
|
|
11019
11019
|
loading: t.isLoading,
|
|
11020
11020
|
variant: "outlined",
|
|
11021
11021
|
onClick: T[4] || (T[4] = (D) => s("payment:later"))
|
|
@@ -11047,7 +11047,7 @@ const Ah = {
|
|
|
11047
11047
|
class: "w-100 w-sm-auto",
|
|
11048
11048
|
color: "primary",
|
|
11049
11049
|
variant: "flat",
|
|
11050
|
-
disabled: t.isLoading || !
|
|
11050
|
+
disabled: t.isLoading || !f.value || !y.value || t.isUpdatingPaymentMethods,
|
|
11051
11051
|
loading: t.isLoading,
|
|
11052
11052
|
onClick: T[5] || (T[5] = (D) => s("payment:pay"))
|
|
11053
11053
|
}, {
|
|
@@ -11190,7 +11190,7 @@ const W2 = { class: "w-100 d-flex justify-space-between items-center" }, G2 = ["
|
|
|
11190
11190
|
}),
|
|
11191
11191
|
l(Tc, {
|
|
11192
11192
|
modelValue: s.value,
|
|
11193
|
-
"onUpdate:modelValue": d[1] || (d[1] = (
|
|
11193
|
+
"onUpdate:modelValue": d[1] || (d[1] = (g) => s.value = g)
|
|
11194
11194
|
}, {
|
|
11195
11195
|
label: c(() => [
|
|
11196
11196
|
R("span", {
|
|
@@ -11217,7 +11217,7 @@ const W2 = { class: "w-100 d-flex justify-space-between items-center" }, G2 = ["
|
|
|
11217
11217
|
disabled: t.isLoading || !s.value,
|
|
11218
11218
|
loading: t.isLoading,
|
|
11219
11219
|
variant: "outlined",
|
|
11220
|
-
onClick: d[2] || (d[2] = (
|
|
11220
|
+
onClick: d[2] || (d[2] = (g) => r("payment:later"))
|
|
11221
11221
|
}, {
|
|
11222
11222
|
default: c(() => [
|
|
11223
11223
|
R("span", Z2, F(v(n)("BookingPaymentForcedPayLater.completeBookingLaterForced")), 1)
|
|
@@ -11327,23 +11327,23 @@ const j2 = { class: "text-green" }, J2 = { key: 1 }, X2 = { class: "d-flex align
|
|
|
11327
11327
|
},
|
|
11328
11328
|
emits: ["payment:success"],
|
|
11329
11329
|
setup(t, { emit: i }) {
|
|
11330
|
-
const n = t, s = i, { t: r } = Vt(), { bookingApiClient: u } = Cn(), { eventBus: d } = Li(),
|
|
11331
|
-
() =>
|
|
11330
|
+
const n = t, s = i, { t: r } = Vt(), { bookingApiClient: u } = Cn(), { eventBus: d } = Li(), g = q(null), f = q(""), b = q(null), y = q(null), C = q(null), O = q(!1), B = q(!1), Q = q(!1), k = q(!1), w = q(!1), P = q(null), H = z(
|
|
11331
|
+
() => g.value?.payLater === Ta.Forced
|
|
11332
11332
|
), I = z(
|
|
11333
|
-
() =>
|
|
11333
|
+
() => g.value?.payLater && [
|
|
11334
11334
|
Ta.Enabled,
|
|
11335
11335
|
Ta.Forced
|
|
11336
|
-
].includes(
|
|
11336
|
+
].includes(g.value?.payLater)
|
|
11337
11337
|
), T = z(
|
|
11338
|
-
() => vp(
|
|
11338
|
+
() => vp(g.value?.paymentMethods ?? [], "name")
|
|
11339
11339
|
), D = z(() => T.value[ce.CreditCard] && T.value[ce.CreditCard].payload ? T.value[ce.CreditCard].payload : null);
|
|
11340
11340
|
async function W() {
|
|
11341
11341
|
try {
|
|
11342
|
-
if (T.value[ce.Coupon]?.payload?.amount ===
|
|
11342
|
+
if (T.value[ce.Coupon]?.payload?.amount === g.value?.taxIncludedPrice) {
|
|
11343
11343
|
B.value = !0, await u.value.bookings.couponCharge({
|
|
11344
11344
|
couponId: T.value[ce.Coupon].payload.couponId,
|
|
11345
|
-
id:
|
|
11346
|
-
}), Q.value = !0, s(It.PaymentSuccess,
|
|
11345
|
+
id: g.value.id
|
|
11346
|
+
}), Q.value = !0, s(It.PaymentSuccess, g.value), d.$emit(It.PaymentSuccess, g.value);
|
|
11347
11347
|
return;
|
|
11348
11348
|
}
|
|
11349
11349
|
if (!P.value)
|
|
@@ -11355,13 +11355,13 @@ const j2 = { class: "text-green" }, J2 = { key: 1 }, X2 = { class: "d-flex align
|
|
|
11355
11355
|
}
|
|
11356
11356
|
async function at() {
|
|
11357
11357
|
try {
|
|
11358
|
-
if (B.value = !0, !
|
|
11358
|
+
if (B.value = !0, !g.value?.id) {
|
|
11359
11359
|
B.value = !1;
|
|
11360
11360
|
return;
|
|
11361
11361
|
}
|
|
11362
11362
|
await u.value.bookings.paylater({
|
|
11363
|
-
id:
|
|
11364
|
-
}), Q.value = !0, s(It.PaymentSuccess,
|
|
11363
|
+
id: g.value.id
|
|
11364
|
+
}), Q.value = !0, s(It.PaymentSuccess, g.value), d.$emit(It.PaymentSuccess, g.value);
|
|
11365
11365
|
} catch {
|
|
11366
11366
|
w.value = !0;
|
|
11367
11367
|
} finally {
|
|
@@ -11374,13 +11374,13 @@ const j2 = { class: "text-green" }, J2 = { key: 1 }, X2 = { class: "d-flex align
|
|
|
11374
11374
|
async function K() {
|
|
11375
11375
|
try {
|
|
11376
11376
|
if (!n.token) {
|
|
11377
|
-
|
|
11377
|
+
g.value = null;
|
|
11378
11378
|
return;
|
|
11379
11379
|
}
|
|
11380
|
-
O.value = !0, tt(!1),
|
|
11380
|
+
O.value = !0, tt(!1), g.value = await u.value.bookings.retrievePublic({
|
|
11381
11381
|
token: n.token
|
|
11382
|
-
}), (!
|
|
11383
|
-
id:
|
|
11382
|
+
}), (!g.value.paymentMethods || !g.value.paymentMethods.length || g.value.paymentMethods.length > 1) && (g.value = await u.value.bookings.updatePaymentMethods({
|
|
11383
|
+
id: g.value.id,
|
|
11384
11384
|
paymentMethodUpdatePayloadApi: {
|
|
11385
11385
|
paymentMethods: [
|
|
11386
11386
|
{
|
|
@@ -11390,7 +11390,7 @@ const j2 = { class: "text-green" }, J2 = { key: 1 }, X2 = { class: "d-flex align
|
|
|
11390
11390
|
}
|
|
11391
11391
|
})), tt(!0), O.value = !1;
|
|
11392
11392
|
} catch {
|
|
11393
|
-
|
|
11393
|
+
g.value = null;
|
|
11394
11394
|
} finally {
|
|
11395
11395
|
O.value = !1;
|
|
11396
11396
|
}
|
|
@@ -11408,29 +11408,29 @@ const j2 = { class: "text-green" }, J2 = { key: 1 }, X2 = { class: "d-flex align
|
|
|
11408
11408
|
payload: {
|
|
11409
11409
|
couponId: b.value
|
|
11410
11410
|
}
|
|
11411
|
-
}), tt(!1),
|
|
11412
|
-
id:
|
|
11411
|
+
}), tt(!1), g.value && (g.value = await u.value.bookings.updatePaymentMethods({
|
|
11412
|
+
id: g.value.id,
|
|
11413
11413
|
paymentMethodUpdatePayloadApi: {
|
|
11414
11414
|
paymentMethods: X
|
|
11415
11415
|
}
|
|
11416
11416
|
})), tt(!0), !T.value[ce.Coupon] || !T.value[ce.Coupon].payload?.amount) {
|
|
11417
11417
|
if (!b)
|
|
11418
11418
|
return;
|
|
11419
|
-
|
|
11419
|
+
f.value = r(
|
|
11420
11420
|
"BookingPaymentForm.paymentMethods.coupon.error"
|
|
11421
11421
|
);
|
|
11422
11422
|
} else
|
|
11423
|
-
|
|
11423
|
+
f.value = "", y.value = r(
|
|
11424
11424
|
"BookingPaymentForm.paymentMethods.coupon.success",
|
|
11425
11425
|
{
|
|
11426
11426
|
price: Za({
|
|
11427
11427
|
amount: T.value[ce.Coupon].payload.amount,
|
|
11428
|
-
currency:
|
|
11428
|
+
currency: g.value?.currency
|
|
11429
11429
|
})
|
|
11430
11430
|
}
|
|
11431
11431
|
);
|
|
11432
11432
|
} catch {
|
|
11433
|
-
|
|
11433
|
+
g.value = null;
|
|
11434
11434
|
} finally {
|
|
11435
11435
|
k.value = !1;
|
|
11436
11436
|
}
|
|
@@ -11466,7 +11466,7 @@ const j2 = { class: "text-green" }, J2 = { key: 1 }, X2 = { class: "d-flex align
|
|
|
11466
11466
|
})
|
|
11467
11467
|
]),
|
|
11468
11468
|
_: 1
|
|
11469
|
-
})) :
|
|
11469
|
+
})) : g.value && g.value.id ? (E(), V("div", J2, [
|
|
11470
11470
|
l(yo, {
|
|
11471
11471
|
modelValue: w.value,
|
|
11472
11472
|
"onUpdate:modelValue": st[1] || (st[1] = (nt) => w.value = nt),
|
|
@@ -11507,7 +11507,7 @@ const j2 = { class: "text-green" }, J2 = { key: 1 }, X2 = { class: "d-flex align
|
|
|
11507
11507
|
xl: "4"
|
|
11508
11508
|
}, {
|
|
11509
11509
|
default: c(() => [
|
|
11510
|
-
l(Vc, vo(bo(
|
|
11510
|
+
l(Vc, vo(bo(g.value)), null, 16)
|
|
11511
11511
|
]),
|
|
11512
11512
|
_: 1
|
|
11513
11513
|
})) : G("", !0),
|
|
@@ -11531,9 +11531,9 @@ const j2 = { class: "text-green" }, J2 = { key: 1 }, X2 = { class: "d-flex align
|
|
|
11531
11531
|
R("h4", null, [
|
|
11532
11532
|
Y(F(v(r)("BookingPaymentForm.pay")) + ": ", 1),
|
|
11533
11533
|
l(hi, {
|
|
11534
|
-
amount:
|
|
11534
|
+
amount: g.value.taxIncludedPrice,
|
|
11535
11535
|
class: "font-weight-bold",
|
|
11536
|
-
currency:
|
|
11536
|
+
currency: g.value.currency
|
|
11537
11537
|
}, null, 8, ["amount", "currency"])
|
|
11538
11538
|
])
|
|
11539
11539
|
]),
|
|
@@ -11553,15 +11553,15 @@ const j2 = { class: "text-green" }, J2 = { key: 1 }, X2 = { class: "d-flex align
|
|
|
11553
11553
|
l(uh, {
|
|
11554
11554
|
ref_key: "paymentForm",
|
|
11555
11555
|
ref: P,
|
|
11556
|
-
"total-to-pay":
|
|
11557
|
-
currency:
|
|
11556
|
+
"total-to-pay": g.value.taxIncludedPrice,
|
|
11557
|
+
currency: g.value.currency,
|
|
11558
11558
|
"payment-methods": Object.values(T.value),
|
|
11559
11559
|
"is-loading": B.value,
|
|
11560
11560
|
"is-pay-later-allowed": I.value,
|
|
11561
11561
|
"is-pay-later-forced": H.value,
|
|
11562
11562
|
"is-updating-payment-methods": k.value,
|
|
11563
11563
|
"onPayment:success": st[2] || (st[2] = () => {
|
|
11564
|
-
B.value = !1, Q.value = !0, v(d).$emit(v(It).PaymentSuccess,
|
|
11564
|
+
B.value = !1, Q.value = !0, v(d).$emit(v(It).PaymentSuccess, g.value);
|
|
11565
11565
|
}),
|
|
11566
11566
|
"onPayment:error": st[3] || (st[3] = (nt) => B.value = !1),
|
|
11567
11567
|
"onPayment:later": at,
|
|
@@ -11916,70 +11916,70 @@ function Kr(t) {
|
|
|
11916
11916
|
});
|
|
11917
11917
|
return ht(
|
|
11918
11918
|
d,
|
|
11919
|
-
(
|
|
11919
|
+
(g) => i.createHotelOfferRequest(g),
|
|
11920
11920
|
{
|
|
11921
11921
|
deep: !0,
|
|
11922
11922
|
immediate: !0
|
|
11923
11923
|
}
|
|
11924
11924
|
), hp(
|
|
11925
11925
|
() => t.address,
|
|
11926
|
-
(
|
|
11927
|
-
d.value.address =
|
|
11926
|
+
(g) => {
|
|
11927
|
+
d.value.address = g;
|
|
11928
11928
|
},
|
|
11929
11929
|
{
|
|
11930
11930
|
debounce: 500
|
|
11931
11931
|
}
|
|
11932
11932
|
), ht(
|
|
11933
11933
|
() => t.adultCount,
|
|
11934
|
-
(
|
|
11935
|
-
|
|
11934
|
+
(g) => {
|
|
11935
|
+
g > CA ? d.value.adultCount = CA : g > d.value.roomCount * Wn ? d.value = {
|
|
11936
11936
|
...d.value,
|
|
11937
|
-
adultCount:
|
|
11938
|
-
roomCount: Math.ceil(
|
|
11939
|
-
} : d.value.adultCount =
|
|
11937
|
+
adultCount: g,
|
|
11938
|
+
roomCount: Math.ceil(g / Wn)
|
|
11939
|
+
} : d.value.adultCount = g;
|
|
11940
11940
|
}
|
|
11941
11941
|
), ht(
|
|
11942
11942
|
() => t.checkInDate,
|
|
11943
|
-
(
|
|
11944
|
-
d.value.checkInDate =
|
|
11943
|
+
(g) => {
|
|
11944
|
+
d.value.checkInDate = g;
|
|
11945
11945
|
}
|
|
11946
11946
|
), ht(
|
|
11947
11947
|
() => t.checkOutDate,
|
|
11948
|
-
(
|
|
11949
|
-
d.value.checkOutDate =
|
|
11948
|
+
(g) => {
|
|
11949
|
+
d.value.checkOutDate = g;
|
|
11950
11950
|
}
|
|
11951
11951
|
), ht(
|
|
11952
11952
|
() => t.children,
|
|
11953
|
-
(
|
|
11954
|
-
d.value.children =
|
|
11953
|
+
(g) => {
|
|
11954
|
+
d.value.children = g;
|
|
11955
11955
|
}
|
|
11956
11956
|
), ht(
|
|
11957
11957
|
() => t.latitude,
|
|
11958
|
-
(
|
|
11959
|
-
d.value.latitude =
|
|
11958
|
+
(g) => {
|
|
11959
|
+
d.value.latitude = g;
|
|
11960
11960
|
}
|
|
11961
11961
|
), ht(
|
|
11962
11962
|
() => t.longitude,
|
|
11963
|
-
(
|
|
11964
|
-
d.value.longitude =
|
|
11963
|
+
(g) => {
|
|
11964
|
+
d.value.longitude = g;
|
|
11965
11965
|
}
|
|
11966
11966
|
), ht(
|
|
11967
11967
|
() => t.roomCount,
|
|
11968
|
-
(
|
|
11969
|
-
|
|
11968
|
+
(g) => {
|
|
11969
|
+
g > yA ? d.value.roomCount = yA : g > d.value.adultCount ? d.value = {
|
|
11970
11970
|
...d.value,
|
|
11971
|
-
adultCount:
|
|
11972
|
-
roomCount:
|
|
11973
|
-
} :
|
|
11971
|
+
adultCount: g,
|
|
11972
|
+
roomCount: g
|
|
11973
|
+
} : g < d.value.adultCount / Wn ? d.value = {
|
|
11974
11974
|
...d.value,
|
|
11975
|
-
adultCount:
|
|
11976
|
-
roomCount:
|
|
11977
|
-
} : d.value.roomCount =
|
|
11975
|
+
adultCount: g * Wn,
|
|
11976
|
+
roomCount: g
|
|
11977
|
+
} : d.value.roomCount = g;
|
|
11978
11978
|
}
|
|
11979
11979
|
), ht(
|
|
11980
11980
|
() => t.sourceMarket,
|
|
11981
|
-
(
|
|
11982
|
-
d.value.sourceMarket =
|
|
11981
|
+
(g) => {
|
|
11982
|
+
d.value.sourceMarket = g;
|
|
11983
11983
|
}
|
|
11984
11984
|
), {
|
|
11985
11985
|
createHotelOfferRequest: i.createHotelOfferRequest,
|
|
@@ -12751,7 +12751,7 @@ function Qu(t) {
|
|
|
12751
12751
|
}
|
|
12752
12752
|
const kk = { class: "position-relative" };
|
|
12753
12753
|
function Bk(t, i, n, s, r, u) {
|
|
12754
|
-
const d = te("HotelOfferItemLayout"),
|
|
12754
|
+
const d = te("HotelOfferItemLayout"), g = te("ContactForm"), f = te("BErrorOverlay");
|
|
12755
12755
|
return E(), V("div", kk, [
|
|
12756
12756
|
(E(), V(lt, null, Kt(6, (b) => (E(), V(lt, { key: b }, [
|
|
12757
12757
|
l(d, {
|
|
@@ -12764,7 +12764,7 @@ function Bk(t, i, n, s, r, u) {
|
|
|
12764
12764
|
}, null, 8, ["boilerplate", "class"]),
|
|
12765
12765
|
t.$breakpointService.xs ? G("", !0) : (E(), M(Lt, { key: 0 }))
|
|
12766
12766
|
], 64))), 64)),
|
|
12767
|
-
t.typeData ? (E(), M(
|
|
12767
|
+
t.typeData ? (E(), M(f, {
|
|
12768
12768
|
key: 0,
|
|
12769
12769
|
"z-index": 0
|
|
12770
12770
|
}, {
|
|
@@ -12774,7 +12774,7 @@ function Bk(t, i, n, s, r, u) {
|
|
|
12774
12774
|
description: c(() => [
|
|
12775
12775
|
R("div", null, [
|
|
12776
12776
|
R("p", null, F(t.wording.description), 1),
|
|
12777
|
-
t.typeData !== "noResultsFiltered" && t.typeData !== "accommodationSuccess" && t.adultCount !== void 0 && t.checkOutDate !== void 0 && t.location !== void 0 && t.roomCount !== void 0 && t.checkInDate !== void 0 ? (E(), M(
|
|
12777
|
+
t.typeData !== "noResultsFiltered" && t.typeData !== "accommodationSuccess" && t.adultCount !== void 0 && t.checkOutDate !== void 0 && t.location !== void 0 && t.roomCount !== void 0 && t.checkInDate !== void 0 ? (E(), M(g, {
|
|
12778
12778
|
key: 0,
|
|
12779
12779
|
"adult-count": t.adultCount,
|
|
12780
12780
|
"end-date": t.checkOutDate,
|
|
@@ -12859,17 +12859,17 @@ const qa = /* @__PURE__ */ Wt(gh, [["render", Bk]]), mh = /* @__PURE__ */ dt({
|
|
|
12859
12859
|
() => Gt(s.checkOutDate).diff(Gt(s.checkInDate), "day")
|
|
12860
12860
|
), d = z(
|
|
12861
12861
|
() => s.hotelOffer?.tags?.filter((H) => H.name.length > 30) || []
|
|
12862
|
-
),
|
|
12862
|
+
), g = z(
|
|
12863
12863
|
() => s.hotelOffer.distance ? Math.round(s.hotelOffer.distance / 1e3 * 100) / 100 : 0
|
|
12864
|
-
),
|
|
12864
|
+
), f = z(() => s.hotelOffer.hotelRoomOffers[0]), b = z(
|
|
12865
12865
|
() => Ir({
|
|
12866
12866
|
bookingDatetime: Gt().format(),
|
|
12867
|
-
cancellationPolicies:
|
|
12867
|
+
cancellationPolicies: f.value.cancellationPolicies,
|
|
12868
12868
|
checkInDate: s.checkInDate,
|
|
12869
12869
|
timezone: s.hotelOffer.timezone
|
|
12870
12870
|
}) === 0
|
|
12871
12871
|
), y = z(
|
|
12872
|
-
() =>
|
|
12872
|
+
() => f.value?.hotelRooms.reduce(
|
|
12873
12873
|
(H, I) => H + (I.count || 0),
|
|
12874
12874
|
0
|
|
12875
12875
|
) || 0
|
|
@@ -12883,7 +12883,7 @@ const qa = /* @__PURE__ */ Wt(gh, [["render", Bk]]), mh = /* @__PURE__ */ dt({
|
|
|
12883
12883
|
);
|
|
12884
12884
|
}
|
|
12885
12885
|
const Q = z(
|
|
12886
|
-
() =>
|
|
12886
|
+
() => f.value?.hotelRooms
|
|
12887
12887
|
), k = q(null), { $breakpointService: w } = pi(k);
|
|
12888
12888
|
function P(H) {
|
|
12889
12889
|
H && n("visible", { id: s.hotelOffer.id });
|
|
@@ -12932,7 +12932,7 @@ const qa = /* @__PURE__ */ Wt(gh, [["render", Bk]]), mh = /* @__PURE__ */ dt({
|
|
|
12932
12932
|
}, null, 8, ["hotel"])
|
|
12933
12933
|
]),
|
|
12934
12934
|
distance: c(() => [
|
|
12935
|
-
isNaN(
|
|
12935
|
+
isNaN(g.value) ? G("", !0) : (E(), V("span", wk, F(v(r)("HotelOfferItem.distance", { value: g.value })), 1)),
|
|
12936
12936
|
O.value ? (E(), M(Cr, {
|
|
12937
12937
|
key: 1,
|
|
12938
12938
|
class: "my-n1",
|
|
@@ -12978,25 +12978,25 @@ const qa = /* @__PURE__ */ Wt(gh, [["render", Bk]]), mh = /* @__PURE__ */ dt({
|
|
|
12978
12978
|
]))), 128))
|
|
12979
12979
|
]),
|
|
12980
12980
|
"breakfast-option-badge": c(() => [
|
|
12981
|
-
|
|
12981
|
+
f.value.breakfastOption === "INCLUDED" ? (E(), M(gn, {
|
|
12982
12982
|
key: 0,
|
|
12983
|
-
"breakfast-option":
|
|
12983
|
+
"breakfast-option": f.value.breakfastOption
|
|
12984
12984
|
}, null, 8, ["breakfast-option"])) : G("", !0)
|
|
12985
12985
|
]),
|
|
12986
12986
|
"package-details": c(() => [
|
|
12987
12987
|
l(fn, { "hotel-rooms": Q.value }, null, 8, ["hotel-rooms"])
|
|
12988
12988
|
]),
|
|
12989
12989
|
"price-summary": c(() => [
|
|
12990
|
-
|
|
12990
|
+
f.value.price && u.value > 0 ? (E(), V("div", Pk, [
|
|
12991
12991
|
l(ms, {
|
|
12992
12992
|
currency: t.currency,
|
|
12993
12993
|
"is-starting-price": "",
|
|
12994
12994
|
"is-tax-included": "",
|
|
12995
12995
|
"night-count": u.value,
|
|
12996
|
-
price:
|
|
12996
|
+
price: f.value.price,
|
|
12997
12997
|
"room-count": y.value,
|
|
12998
12998
|
"round-mode": "round",
|
|
12999
|
-
"tax-included-price":
|
|
12999
|
+
"tax-included-price": f.value.taxIncludedPrice
|
|
13000
13000
|
}, null, 8, ["currency", "night-count", "price", "room-count", "tax-included-price"])
|
|
13001
13001
|
])) : (E(), V("div", Sk))
|
|
13002
13002
|
]),
|
|
@@ -13016,7 +13016,7 @@ const qa = /* @__PURE__ */ Wt(gh, [["render", Bk]]), mh = /* @__PURE__ */ dt({
|
|
|
13016
13016
|
name: "cancellation-policies-badge",
|
|
13017
13017
|
fn: c(() => [
|
|
13018
13018
|
l(Rr, {
|
|
13019
|
-
"cancellation-policies":
|
|
13019
|
+
"cancellation-policies": f.value.cancellationPolicies,
|
|
13020
13020
|
"check-in-date": t.checkInDate,
|
|
13021
13021
|
timezone: t.hotelOffer.timezone
|
|
13022
13022
|
}, null, 8, ["cancellation-policies", "check-in-date", "timezone"])
|
|
@@ -13339,9 +13339,9 @@ const vh = /* @__PURE__ */ Wt(ph, [["__scopeId", "data-v-6fc431a0"]]), Rk = /* @
|
|
|
13339
13339
|
setup(t, { emit: i }) {
|
|
13340
13340
|
const n = t, { t: s } = Vt(), { eventBus: r } = Li(), u = i, d = z(
|
|
13341
13341
|
() => n.bookingPolicyState === qi.BookingPoliciesFetched
|
|
13342
|
-
), f = z(
|
|
13343
|
-
() => n.bookingPolicyState === qi.Unavailable
|
|
13344
13342
|
), g = z(
|
|
13343
|
+
() => n.bookingPolicyState === qi.Unavailable
|
|
13344
|
+
), f = z(
|
|
13345
13345
|
() => n.bookingPolicyState === qi.FetchingBookingPolicies
|
|
13346
13346
|
), b = q(
|
|
13347
13347
|
n.breakfastCount && n.breakfastCount > 0 || !1
|
|
@@ -13578,9 +13578,9 @@ const vh = /* @__PURE__ */ Wt(ph, [["__scopeId", "data-v-6fc431a0"]]), Rk = /* @
|
|
|
13578
13578
|
key: 0,
|
|
13579
13579
|
class: "text-none font-weight-bold book-btn w-100 w-sm-auto",
|
|
13580
13580
|
color: d.value ? "success" : "primary",
|
|
13581
|
-
disabled:
|
|
13581
|
+
disabled: f.value || g.value || I.isLoading,
|
|
13582
13582
|
elevation: "0",
|
|
13583
|
-
loading:
|
|
13583
|
+
loading: f.value,
|
|
13584
13584
|
size: "small",
|
|
13585
13585
|
onClick: w
|
|
13586
13586
|
}, {
|
|
@@ -13616,7 +13616,7 @@ const vh = /* @__PURE__ */ Wt(ph, [["__scopeId", "data-v-6fc431a0"]]), Rk = /* @
|
|
|
13616
13616
|
]),
|
|
13617
13617
|
_: 1
|
|
13618
13618
|
})) : G("", !0),
|
|
13619
|
-
|
|
13619
|
+
g.value || I.gone ? (E(), M(v(xe), {
|
|
13620
13620
|
key: 1,
|
|
13621
13621
|
"margin-top": 16
|
|
13622
13622
|
}, {
|
|
@@ -13807,16 +13807,16 @@ const Ch = /* @__PURE__ */ Wt(bh, [["__scopeId", "data-v-65c20c4f"]]), Mk = /* @
|
|
|
13807
13807
|
hotelId: {}
|
|
13808
13808
|
},
|
|
13809
13809
|
setup(t) {
|
|
13810
|
-
const { config: i } = In(), { bookingApiClient: n } = Cn(), { createBookingPolicy: s, getBookingPolicyState: r } = Uc(), u = t, { hotelRoomOfferRequest: d, nightCount:
|
|
13811
|
-
hotelRoomOffers:
|
|
13810
|
+
const { config: i } = In(), { bookingApiClient: n } = Cn(), { createBookingPolicy: s, getBookingPolicyState: r } = Uc(), u = t, { hotelRoomOfferRequest: d, nightCount: g } = Qo(), {
|
|
13811
|
+
hotelRoomOffers: f,
|
|
13812
13812
|
hotelTimezone: b
|
|
13813
13813
|
} = zs(), y = z(
|
|
13814
13814
|
() => d(u.hotelId)
|
|
13815
13815
|
), C = z(
|
|
13816
|
-
() =>
|
|
13816
|
+
() => f(u.hotelId).offers?.filter(
|
|
13817
13817
|
(K) => K.type === ps.HotelRoom
|
|
13818
13818
|
)
|
|
13819
|
-
), O = z(() => b(u.hotelId)), B = z(() => y.value.adultCount), Q = z(() => y.value.checkInDate), k = z(() => y.value.checkOutDate), w = z(() =>
|
|
13819
|
+
), O = z(() => b(u.hotelId)), B = z(() => y.value.adultCount), Q = z(() => y.value.checkInDate), k = z(() => y.value.checkOutDate), w = z(() => g(u.hotelId)), P = q(!1), H = q([]), I = q(!1), T = q(void 0);
|
|
13820
13820
|
async function D() {
|
|
13821
13821
|
I.value = !0;
|
|
13822
13822
|
const K = H.value.map((et) => ({
|
|
@@ -14124,11 +14124,11 @@ function Ih(t) {
|
|
|
14124
14124
|
() => i.hotelRoomOfferRequest(t.hotelId)
|
|
14125
14125
|
), u = mn(
|
|
14126
14126
|
async function() {
|
|
14127
|
-
const
|
|
14128
|
-
t.hotelRoomOfferRequestId && t.hotelRoomOfferRequestId !==
|
|
14129
|
-
hotelId:
|
|
14127
|
+
const b = s.value, y = r.value;
|
|
14128
|
+
t.hotelRoomOfferRequestId && t.hotelRoomOfferRequestId !== y?.id ? (await i.retrieveHotelRoomOfferRequest({
|
|
14129
|
+
hotelId: b.hotelId,
|
|
14130
14130
|
hotelRoomOfferRequestId: t.hotelRoomOfferRequestId
|
|
14131
|
-
}), (!
|
|
14131
|
+
}), (!y || y.hasError) && await i.createHotelRoomOfferRequest(b)) : (!y || !y.id || y.hasError || !Uk(b, y)) && await i.createHotelRoomOfferRequest(b);
|
|
14132
14132
|
},
|
|
14133
14133
|
300
|
|
14134
14134
|
);
|
|
@@ -14156,7 +14156,13 @@ function Ih(t) {
|
|
|
14156
14156
|
sourceMarket: f.sourceMarket
|
|
14157
14157
|
});
|
|
14158
14158
|
}
|
|
14159
|
-
)
|
|
14159
|
+
);
|
|
14160
|
+
const d = z(
|
|
14161
|
+
() => i.nightCount(
|
|
14162
|
+
s.value.hotelId
|
|
14163
|
+
)
|
|
14164
|
+
);
|
|
14165
|
+
ht(
|
|
14160
14166
|
() => t.adultCount,
|
|
14161
14167
|
(f) => {
|
|
14162
14168
|
s.value = {
|
|
@@ -14190,8 +14196,8 @@ function Ih(t) {
|
|
|
14190
14196
|
}
|
|
14191
14197
|
), ht(
|
|
14192
14198
|
() => t.hotelId,
|
|
14193
|
-
(f,
|
|
14194
|
-
|
|
14199
|
+
(f, b) => {
|
|
14200
|
+
b && i.deleteHotelRoomOfferRequest(b), s.value = {
|
|
14195
14201
|
...s.value,
|
|
14196
14202
|
hotelId: f
|
|
14197
14203
|
}, u();
|
|
@@ -14213,7 +14219,7 @@ function Ih(t) {
|
|
|
14213
14219
|
};
|
|
14214
14220
|
}
|
|
14215
14221
|
);
|
|
14216
|
-
const
|
|
14222
|
+
const g = () => {
|
|
14217
14223
|
i.resetHotelRoomOfferRequest(t.hotelId), u();
|
|
14218
14224
|
};
|
|
14219
14225
|
return ht(
|
|
@@ -14225,12 +14231,13 @@ function Ih(t) {
|
|
|
14225
14231
|
), ht(
|
|
14226
14232
|
() => rn(),
|
|
14227
14233
|
() => {
|
|
14228
|
-
|
|
14234
|
+
g();
|
|
14229
14235
|
},
|
|
14230
14236
|
{ immediate: !0 }
|
|
14231
14237
|
), {
|
|
14232
14238
|
hotelRoomOfferRequest: r,
|
|
14233
|
-
hotelRoomOfferRequestInternal: s
|
|
14239
|
+
hotelRoomOfferRequestInternal: s,
|
|
14240
|
+
nightCount: d
|
|
14234
14241
|
};
|
|
14235
14242
|
}
|
|
14236
14243
|
const kh = dt({
|
|
@@ -14245,7 +14252,7 @@ const kh = dt({
|
|
|
14245
14252
|
props: Eh,
|
|
14246
14253
|
// eslint-disable-next-line max-lines-per-function
|
|
14247
14254
|
setup(t) {
|
|
14248
|
-
const { t: i } = Vt(), n = zs(), s = Qo(), { createBookingPolicy: r, getBookingPolicyState: u } = Uc(), d = q(null),
|
|
14255
|
+
const { t: i } = Vt(), n = zs(), s = Qo(), { createBookingPolicy: r, getBookingPolicyState: u } = Uc(), d = q(null), g = q(["packageHotelRoomOffers", "hotelRoomHotelRoomOffers"]), f = oi({
|
|
14249
14256
|
fallbackValue: Zr,
|
|
14250
14257
|
prop: z(() => t.features)
|
|
14251
14258
|
}), b = (tt) => tt.hotelRooms.reduce((K, et) => K + et.count, 0), y = z(() => s.hotelRoomOfferRequest(t.hotelId)), C = z(
|
|
@@ -14261,7 +14268,7 @@ const kh = dt({
|
|
|
14261
14268
|
), k = z(() => {
|
|
14262
14269
|
const tt = C.value?.offers?.filter(
|
|
14263
14270
|
(K) => K.type === ps.Package
|
|
14264
|
-
).filter((K) =>
|
|
14271
|
+
).filter((K) => f.value?.OnlyMatchingRoomCount ? b(K) === y.value?.roomCount : !0);
|
|
14265
14272
|
return tt?.slice(0, t.limit || tt.length) || [];
|
|
14266
14273
|
}), w = z(
|
|
14267
14274
|
() => !!C.value?.isPolling && !!k.value?.length
|
|
@@ -14330,7 +14337,7 @@ const kh = dt({
|
|
|
14330
14337
|
showSkeleton: P,
|
|
14331
14338
|
t: i,
|
|
14332
14339
|
tab: d,
|
|
14333
|
-
tabItems:
|
|
14340
|
+
tabItems: g,
|
|
14334
14341
|
...at,
|
|
14335
14342
|
hotelTimezone: B,
|
|
14336
14343
|
onBookingPolicyFailed: T
|
|
@@ -14417,7 +14424,7 @@ function Lu(t) {
|
|
|
14417
14424
|
}
|
|
14418
14425
|
const Hk = { class: "bg-white" };
|
|
14419
14426
|
function Vk(t, i, n, s, r, u) {
|
|
14420
|
-
const d = te("HotelRoomOfferListEmpty"),
|
|
14427
|
+
const d = te("HotelRoomOfferListEmpty"), g = te("HotelRoomOfferItem"), f = te("HotelRoomOfferBasket");
|
|
14421
14428
|
return E(), V("div", Hk, [
|
|
14422
14429
|
t.isBookingApiClientDefined ? (E(), V(lt, { key: 0 }, [
|
|
14423
14430
|
t.hasError ? (E(), M(d, {
|
|
@@ -14468,10 +14475,14 @@ function Vk(t, i, n, s, r, u) {
|
|
|
14468
14475
|
key: b.id
|
|
14469
14476
|
}, [
|
|
14470
14477
|
y > 0 ? (E(), M(Lt, { key: 0 })) : G("", !0),
|
|
14471
|
-
l(
|
|
14472
|
-
"adult-count": t.adultCount,
|
|
14478
|
+
l(g, At({ ref_for: !0 }, b, {
|
|
14479
|
+
"adult-count": t.hotelRoomOfferRequestInternal.adultCount,
|
|
14480
|
+
"check-in-date": t.hotelRoomOfferRequestInternal.checkInDate,
|
|
14481
|
+
"check-out-date": t.hotelRoomOfferRequestInternal.checkOutDate,
|
|
14482
|
+
children: t.hotelRoomOfferRequestInternal.children,
|
|
14483
|
+
"night-count": t.nightCount,
|
|
14484
|
+
"room-count": t.hotelRoomOfferRequestInternal.roomCount,
|
|
14473
14485
|
currency: t.currency,
|
|
14474
|
-
"check-in-date": t.checkInDate,
|
|
14475
14486
|
"hotel-timezone": t.hotelTimezone,
|
|
14476
14487
|
"booking-policy-state": t.getBookingPolicyState(b.id),
|
|
14477
14488
|
id: b.id || "",
|
|
@@ -14486,14 +14497,14 @@ function Vk(t, i, n, s, r, u) {
|
|
|
14486
14497
|
onBreakfastChange: t.onBreakfastChange,
|
|
14487
14498
|
onBookingPolicyFailed: t.onBookingPolicyFailed,
|
|
14488
14499
|
onCreateBookingPolicy: t.createBookingPolicy
|
|
14489
|
-
}), null, 16, ["adult-count", "
|
|
14500
|
+
}), null, 16, ["adult-count", "check-in-date", "check-out-date", "children", "night-count", "room-count", "currency", "hotel-timezone", "booking-policy-state", "id", "count", "breakfast-count", "breakfast-unit-price", "breakfast-price-per-guest-per-night", "package-type", "type", "tags", "taxes", "onBreakfastChange", "onBookingPolicyFailed", "onCreateBookingPolicy"])
|
|
14490
14501
|
], 64))), 128))
|
|
14491
14502
|
]),
|
|
14492
14503
|
_: 1
|
|
14493
14504
|
}),
|
|
14494
14505
|
l(tr, { class: "pt-3 pb-5" }, {
|
|
14495
14506
|
default: c(() => [
|
|
14496
|
-
l(
|
|
14507
|
+
l(f, { "hotel-id": t.hotelId }, null, 8, ["hotel-id"])
|
|
14497
14508
|
]),
|
|
14498
14509
|
_: 1
|
|
14499
14510
|
})
|
|
@@ -14504,10 +14515,14 @@ function Vk(t, i, n, s, r, u) {
|
|
|
14504
14515
|
key: b.id
|
|
14505
14516
|
}, [
|
|
14506
14517
|
y > 0 ? (E(), M(Lt, { key: 0 })) : G("", !0),
|
|
14507
|
-
l(
|
|
14508
|
-
"adult-count": t.adultCount,
|
|
14518
|
+
l(g, At({ ref_for: !0 }, b, {
|
|
14519
|
+
"adult-count": t.hotelRoomOfferRequestInternal.adultCount,
|
|
14520
|
+
"check-in-date": t.hotelRoomOfferRequestInternal.checkInDate,
|
|
14521
|
+
"check-out-date": t.hotelRoomOfferRequestInternal.checkOutDate,
|
|
14522
|
+
children: t.hotelRoomOfferRequestInternal.children,
|
|
14523
|
+
"night-count": t.nightCount,
|
|
14524
|
+
"room-count": t.hotelRoomOfferRequestInternal.roomCount,
|
|
14509
14525
|
"booking-policy-state": t.getBookingPolicyState(b.id),
|
|
14510
|
-
"check-in-date": t.checkInDate,
|
|
14511
14526
|
currency: t.currency,
|
|
14512
14527
|
"hotel-timezone": t.hotelTimezone,
|
|
14513
14528
|
id: b.id || "",
|
|
@@ -14522,14 +14537,14 @@ function Vk(t, i, n, s, r, u) {
|
|
|
14522
14537
|
onBreakfastChange: t.onBreakfastChange,
|
|
14523
14538
|
onBookingPolicyFailed: t.onBookingPolicyFailed,
|
|
14524
14539
|
onCreateBookingPolicy: t.createBookingPolicy
|
|
14525
|
-
}), null, 16, ["adult-count", "
|
|
14540
|
+
}), null, 16, ["adult-count", "check-in-date", "check-out-date", "children", "night-count", "room-count", "booking-policy-state", "currency", "hotel-timezone", "id", "count", "breakfast-count", "breakfast-unit-price", "breakfast-price-per-guest-per-night", "package-type", "type", "tags", "taxes", "onBreakfastChange", "onBookingPolicyFailed", "onCreateBookingPolicy"])
|
|
14526
14541
|
], 64))), 128))
|
|
14527
14542
|
], 64))
|
|
14528
14543
|
], 64)) : G("", !0)
|
|
14529
14544
|
]);
|
|
14530
14545
|
}
|
|
14531
14546
|
typeof Lu == "function" && Lu(kh);
|
|
14532
|
-
const Bh = /* @__PURE__ */ Wt(kh, [["render", Vk], ["__scopeId", "data-v-
|
|
14547
|
+
const Bh = /* @__PURE__ */ Wt(kh, [["render", Vk], ["__scopeId", "data-v-7892e764"]]), Kk = {
|
|
14533
14548
|
key: 0,
|
|
14534
14549
|
class: "mx-n2"
|
|
14535
14550
|
}, Yk = {
|
|
@@ -14560,8 +14575,8 @@ const Bh = /* @__PURE__ */ Wt(kh, [["render", Vk], ["__scopeId", "data-v-5f8e0f4
|
|
|
14560
14575
|
emits: ["hotel-offer-item-mouseleave", "hotel-offer-item-mouseover"],
|
|
14561
14576
|
setup(t, { emit: i }) {
|
|
14562
14577
|
const { locale: n, t: s } = Vt(), r = i, { config: u } = In(), d = An(), {
|
|
14563
|
-
hasError:
|
|
14564
|
-
isFetching:
|
|
14578
|
+
hasError: g,
|
|
14579
|
+
isFetching: f
|
|
14565
14580
|
} = ji(d), { resetFilters: b, retrieveHotelOffers: y } = an(), {
|
|
14566
14581
|
filters: C,
|
|
14567
14582
|
hasError: O,
|
|
@@ -14573,12 +14588,12 @@ const Bh = /* @__PURE__ */ Wt(kh, [["render", Vk], ["__scopeId", "data-v-5f8e0f4
|
|
|
14573
14588
|
fallbackValue: Ps,
|
|
14574
14589
|
prop: z(() => P.features ?? Ps)
|
|
14575
14590
|
}), D = q(null), { $breakpointService: W, $isCurrentBreakpointAboveOrEqual: at } = pi(D), tt = z(
|
|
14576
|
-
() =>
|
|
14591
|
+
() => g.value || O.value
|
|
14577
14592
|
), K = () => {
|
|
14578
14593
|
const { eventMetadata: Z } = window.RevolugoElements.config;
|
|
14579
14594
|
return Z?.dateStart && Z?.dateEnd ? fp(Z.dateStart, Z.dateEnd) : [];
|
|
14580
14595
|
}, et = z(() => !!T.value.FiltersBar), X = z(
|
|
14581
|
-
() => !I.value?.id ||
|
|
14596
|
+
() => !I.value?.id || f.value || k.value && (!B.value || B.value?.length === 0)
|
|
14582
14597
|
), st = z(
|
|
14583
14598
|
() => !!I.value?.id && !k && Array.isArray(B.value) && B.value?.length === 0
|
|
14584
14599
|
), nt = () => {
|
|
@@ -14644,7 +14659,7 @@ const Bh = /* @__PURE__ */ Wt(kh, [["render", Vk], ["__scopeId", "data-v-5f8e0f4
|
|
|
14644
14659
|
key: 0,
|
|
14645
14660
|
modelValue: v(I),
|
|
14646
14661
|
"onUpdate:modelValue": wt[0] || (wt[0] = (Ft) => Oc(I) ? I.value = Ft : null),
|
|
14647
|
-
"is-loading": v(
|
|
14662
|
+
"is-loading": v(f),
|
|
14648
14663
|
"is-loading-bar-enabled": !1,
|
|
14649
14664
|
"marker-dates": K()
|
|
14650
14665
|
}, null, 8, ["modelValue", "is-loading", "marker-dates"])) : G("", !0)
|
|
@@ -14850,9 +14865,9 @@ function Wk() {
|
|
|
14850
14865
|
return e.apply(o, A.length ? A.concat(a.call(arguments)) : arguments);
|
|
14851
14866
|
};
|
|
14852
14867
|
}
|
|
14853
|
-
var
|
|
14854
|
-
function
|
|
14855
|
-
return "_leaflet_id" in e || (e._leaflet_id = ++
|
|
14868
|
+
var g = 0;
|
|
14869
|
+
function f(e) {
|
|
14870
|
+
return "_leaflet_id" in e || (e._leaflet_id = ++g), e._leaflet_id;
|
|
14856
14871
|
}
|
|
14857
14872
|
function b(e, o, a) {
|
|
14858
14873
|
var A, h, m, S;
|
|
@@ -14938,9 +14953,9 @@ function Wk() {
|
|
|
14938
14953
|
create: u,
|
|
14939
14954
|
bind: d,
|
|
14940
14955
|
get lastId() {
|
|
14941
|
-
return
|
|
14956
|
+
return g;
|
|
14942
14957
|
},
|
|
14943
|
-
stamp:
|
|
14958
|
+
stamp: f,
|
|
14944
14959
|
throttle: b,
|
|
14945
14960
|
wrapNum: y,
|
|
14946
14961
|
falseFn: C,
|
|
@@ -15140,12 +15155,12 @@ function Wk() {
|
|
|
15140
15155
|
// @method addEventParent(obj: Evented): this
|
|
15141
15156
|
// Adds an event parent - an `Evented` that will receive propagated events
|
|
15142
15157
|
addEventParent: function(e) {
|
|
15143
|
-
return this._eventParents = this._eventParents || {}, this._eventParents[
|
|
15158
|
+
return this._eventParents = this._eventParents || {}, this._eventParents[f(e)] = e, this;
|
|
15144
15159
|
},
|
|
15145
15160
|
// @method removeEventParent(obj: Evented): this
|
|
15146
15161
|
// Removes an event parent, so it will stop receiving propagated events
|
|
15147
15162
|
removeEventParent: function(e) {
|
|
15148
|
-
return this._eventParents && delete this._eventParents[
|
|
15163
|
+
return this._eventParents && delete this._eventParents[f(e)], this;
|
|
15149
15164
|
},
|
|
15150
15165
|
_propagateEvent: function(e) {
|
|
15151
15166
|
for (var o in this._eventParents)
|
|
@@ -16076,7 +16091,7 @@ function Wk() {
|
|
|
16076
16091
|
wheel: !("onwheel" in window) && "mousewheel"
|
|
16077
16092
|
};
|
|
16078
16093
|
function va(e, o, a, A) {
|
|
16079
|
-
var h = o +
|
|
16094
|
+
var h = o + f(a) + (A ? "_" + f(A) : "");
|
|
16080
16095
|
if (e[Xe] && e[Xe][h])
|
|
16081
16096
|
return this;
|
|
16082
16097
|
var m = function(x) {
|
|
@@ -16087,7 +16102,7 @@ function Wk() {
|
|
|
16087
16102
|
}, e.addEventListener(pa[o], m, !1)) : e.addEventListener(o, S, !1) : e.attachEvent("on" + o, m), e[Xe] = e[Xe] || {}, e[Xe][h] = m;
|
|
16088
16103
|
}
|
|
16089
16104
|
function ba(e, o, a, A, h) {
|
|
16090
|
-
h = h || o +
|
|
16105
|
+
h = h || o + f(a) + (A ? "_" + f(A) : "");
|
|
16091
16106
|
var m = e[Xe] && e[Xe][h];
|
|
16092
16107
|
if (!m)
|
|
16093
16108
|
return this;
|
|
@@ -16803,7 +16818,7 @@ function Wk() {
|
|
|
16803
16818
|
if (o._leaflet_id)
|
|
16804
16819
|
throw new Error("Map container is already initialized.");
|
|
16805
16820
|
} else throw new Error("Map container not found.");
|
|
16806
|
-
bt(o, "scroll", this._onScroll, this), this._containerId =
|
|
16821
|
+
bt(o, "scroll", this._onScroll, this), this._containerId = f(o);
|
|
16807
16822
|
},
|
|
16808
16823
|
_initLayout: function() {
|
|
16809
16824
|
var e = this._container;
|
|
@@ -16854,7 +16869,7 @@ function Wk() {
|
|
|
16854
16869
|
// DOM event handling
|
|
16855
16870
|
// @section Interaction events
|
|
16856
16871
|
_initEvents: function(e) {
|
|
16857
|
-
this._targets = {}, this._targets[
|
|
16872
|
+
this._targets = {}, this._targets[f(this._container)] = this;
|
|
16858
16873
|
var o = e ? qt : bt;
|
|
16859
16874
|
o(this._container, "click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup", this._handleDOMEvent, this), this.options.trackResize && o(window, "resize", this._onResize, this), ct.any3d && this.options.transform3DLimit && (e ? this.off : this.on).call(this, "moveend", this._onMoveEnd);
|
|
16860
16875
|
},
|
|
@@ -16875,7 +16890,7 @@ function Wk() {
|
|
|
16875
16890
|
},
|
|
16876
16891
|
_findEventTargets: function(e, o) {
|
|
16877
16892
|
for (var a = [], A, h = o === "mouseout" || o === "mouseover", m = e.target || e.srcElement, S = !1; m; ) {
|
|
16878
|
-
if (A = this._targets[
|
|
16893
|
+
if (A = this._targets[f(m)], A && (o === "click" || o === "preclick") && this._draggableMoved(A)) {
|
|
16879
16894
|
S = !0;
|
|
16880
16895
|
break;
|
|
16881
16896
|
}
|
|
@@ -17198,7 +17213,7 @@ function Wk() {
|
|
|
17198
17213
|
// Remove the given layer from the control.
|
|
17199
17214
|
removeLayer: function(e) {
|
|
17200
17215
|
e.off("add remove", this._onLayerChange, this);
|
|
17201
|
-
var o = this._getLayer(
|
|
17216
|
+
var o = this._getLayer(f(e));
|
|
17202
17217
|
return o && this._layers.splice(this._layers.indexOf(o), 1), this._map ? this._update() : this;
|
|
17203
17218
|
},
|
|
17204
17219
|
// @method expand(): this
|
|
@@ -17234,7 +17249,7 @@ function Wk() {
|
|
|
17234
17249
|
},
|
|
17235
17250
|
_getLayer: function(e) {
|
|
17236
17251
|
for (var o = 0; o < this._layers.length; o++)
|
|
17237
|
-
if (this._layers[o] &&
|
|
17252
|
+
if (this._layers[o] && f(this._layers[o].layer) === e)
|
|
17238
17253
|
return this._layers[o];
|
|
17239
17254
|
},
|
|
17240
17255
|
_addLayer: function(e, o, a) {
|
|
@@ -17257,7 +17272,7 @@ function Wk() {
|
|
|
17257
17272
|
},
|
|
17258
17273
|
_onLayerChange: function(e) {
|
|
17259
17274
|
this._handlingClick || this._update();
|
|
17260
|
-
var o = this._getLayer(
|
|
17275
|
+
var o = this._getLayer(f(e.target)), a = o.overlay ? e.type === "add" ? "overlayadd" : "overlayremove" : e.type === "add" ? "baselayerchange" : null;
|
|
17261
17276
|
a && this._map.fire(a, o);
|
|
17262
17277
|
},
|
|
17263
17278
|
// IE7 bugs out if you create a radio dynamically, so you have to do it this hacky way (see https://stackoverflow.com/a/119079)
|
|
@@ -17267,7 +17282,7 @@ function Wk() {
|
|
|
17267
17282
|
},
|
|
17268
17283
|
_addItem: function(e) {
|
|
17269
17284
|
var o = document.createElement("label"), a = this._map.hasLayer(e.layer), A;
|
|
17270
|
-
e.overlay ? (A = document.createElement("input"), A.type = "checkbox", A.className = "leaflet-control-layers-selector", A.defaultChecked = a) : A = this._createRadioElement("leaflet-base-layers_" +
|
|
17285
|
+
e.overlay ? (A = document.createElement("input"), A.type = "checkbox", A.className = "leaflet-control-layers-selector", A.defaultChecked = a) : A = this._createRadioElement("leaflet-base-layers_" + f(this), a), this._layerControlInputs.push(A), A.layerId = f(e.layer), bt(A, "click", this._onInputClick, this);
|
|
17271
17286
|
var h = document.createElement("span");
|
|
17272
17287
|
h.innerHTML = " " + e.name;
|
|
17273
17288
|
var m = document.createElement("span");
|
|
@@ -17817,10 +17832,10 @@ function Wk() {
|
|
|
17817
17832
|
return this._map.getPane(e ? this.options[e] || e : this.options.pane);
|
|
17818
17833
|
},
|
|
17819
17834
|
addInteractiveTarget: function(e) {
|
|
17820
|
-
return this._map._targets[
|
|
17835
|
+
return this._map._targets[f(e)] = this, this;
|
|
17821
17836
|
},
|
|
17822
17837
|
removeInteractiveTarget: function(e) {
|
|
17823
|
-
return delete this._map._targets[
|
|
17838
|
+
return delete this._map._targets[f(e)], this;
|
|
17824
17839
|
},
|
|
17825
17840
|
// @method getAttribution: String
|
|
17826
17841
|
// Used by the `attribution control`, returns the [attribution option](#gridlayer-attribution).
|
|
@@ -17846,19 +17861,19 @@ function Wk() {
|
|
|
17846
17861
|
addLayer: function(e) {
|
|
17847
17862
|
if (!e._layerAdd)
|
|
17848
17863
|
throw new Error("The provided object is not a Layer.");
|
|
17849
|
-
var o =
|
|
17864
|
+
var o = f(e);
|
|
17850
17865
|
return this._layers[o] ? this : (this._layers[o] = e, e._mapToAdd = this, e.beforeAdd && e.beforeAdd(this), this.whenReady(e._layerAdd, e), this);
|
|
17851
17866
|
},
|
|
17852
17867
|
// @method removeLayer(layer: Layer): this
|
|
17853
17868
|
// Removes the given layer from the map.
|
|
17854
17869
|
removeLayer: function(e) {
|
|
17855
|
-
var o =
|
|
17870
|
+
var o = f(e);
|
|
17856
17871
|
return this._layers[o] ? (this._loaded && e.onRemove(this), delete this._layers[o], this._loaded && (this.fire("layerremove", { layer: e }), e.fire("remove")), e._map = e._mapToAdd = null, this) : this;
|
|
17857
17872
|
},
|
|
17858
17873
|
// @method hasLayer(layer: Layer): Boolean
|
|
17859
17874
|
// Returns `true` if the given layer is currently added to the map
|
|
17860
17875
|
hasLayer: function(e) {
|
|
17861
|
-
return
|
|
17876
|
+
return f(e) in this._layers;
|
|
17862
17877
|
},
|
|
17863
17878
|
/* @method eachLayer(fn: Function, context?: Object): this
|
|
17864
17879
|
* Iterates over the layers of the map, optionally specifying context of the iterator function.
|
|
@@ -17879,10 +17894,10 @@ function Wk() {
|
|
|
17879
17894
|
this.addLayer(e[o]);
|
|
17880
17895
|
},
|
|
17881
17896
|
_addZoomLimit: function(e) {
|
|
17882
|
-
(!isNaN(e.options.maxZoom) || !isNaN(e.options.minZoom)) && (this._zoomBoundLayers[
|
|
17897
|
+
(!isNaN(e.options.maxZoom) || !isNaN(e.options.minZoom)) && (this._zoomBoundLayers[f(e)] = e, this._updateZoomLevels());
|
|
17883
17898
|
},
|
|
17884
17899
|
_removeZoomLimit: function(e) {
|
|
17885
|
-
var o =
|
|
17900
|
+
var o = f(e);
|
|
17886
17901
|
this._zoomBoundLayers[o] && (delete this._zoomBoundLayers[o], this._updateZoomLevels());
|
|
17887
17902
|
},
|
|
17888
17903
|
_updateZoomLevels: function() {
|
|
@@ -17978,7 +17993,7 @@ function Wk() {
|
|
|
17978
17993
|
// @method getLayerId(layer: Layer): Number
|
|
17979
17994
|
// Returns the internal ID for a layer
|
|
17980
17995
|
getLayerId: function(e) {
|
|
17981
|
-
return
|
|
17996
|
+
return f(e);
|
|
17982
17997
|
}
|
|
17983
17998
|
}), cg = function(e, o) {
|
|
17984
17999
|
return new no(e, o);
|
|
@@ -19552,7 +19567,7 @@ function Wk() {
|
|
|
19552
19567
|
},
|
|
19553
19568
|
_initLayout: function() {
|
|
19554
19569
|
var e = "leaflet-tooltip", o = e + " " + (this.options.className || "") + " leaflet-zoom-" + (this._zoomAnimated ? "animated" : "hide");
|
|
19555
|
-
this._contentNode = this._container = Dt("div", o), this._container.setAttribute("role", "tooltip"), this._container.setAttribute("id", "leaflet-tooltip-" +
|
|
19570
|
+
this._contentNode = this._container = Dt("div", o), this._container.setAttribute("role", "tooltip"), this._container.setAttribute("id", "leaflet-tooltip-" + f(this));
|
|
19556
19571
|
},
|
|
19557
19572
|
_updateLayout: function() {
|
|
19558
19573
|
},
|
|
@@ -20308,7 +20323,7 @@ function Wk() {
|
|
|
20308
20323
|
padding: 0.1
|
|
20309
20324
|
},
|
|
20310
20325
|
initialize: function(e) {
|
|
20311
|
-
k(this, e),
|
|
20326
|
+
k(this, e), f(this), this._layers = this._layers || {};
|
|
20312
20327
|
},
|
|
20313
20328
|
onAdd: function() {
|
|
20314
20329
|
this._container || (this._initContainer(), Et(this._container, "leaflet-zoom-animated")), this.getPane().appendChild(this._container), this._update(), this.on("update", this._updatePaths, this);
|
|
@@ -20397,7 +20412,7 @@ function Wk() {
|
|
|
20397
20412
|
li.prototype._reset.call(this), this._postponeUpdatePaths && (this._postponeUpdatePaths = !1, this._updatePaths());
|
|
20398
20413
|
},
|
|
20399
20414
|
_initPath: function(e) {
|
|
20400
|
-
this._updateDashArray(e), this._layers[
|
|
20415
|
+
this._updateDashArray(e), this._layers[f(e)] = e;
|
|
20401
20416
|
var o = e._order = {
|
|
20402
20417
|
layer: e,
|
|
20403
20418
|
prev: this._drawLast,
|
|
@@ -20410,7 +20425,7 @@ function Wk() {
|
|
|
20410
20425
|
},
|
|
20411
20426
|
_removePath: function(e) {
|
|
20412
20427
|
var o = e._order, a = o.next, A = o.prev;
|
|
20413
|
-
a ? a.prev = A : this._drawLast = A, A ? A.next = a : this._drawFirst = a, delete e._order, delete this._layers[
|
|
20428
|
+
a ? a.prev = A : this._drawLast = A, A ? A.next = a : this._drawFirst = a, delete e._order, delete this._layers[f(e)], this._requestRedraw(e);
|
|
20414
20429
|
},
|
|
20415
20430
|
_updatePath: function(e) {
|
|
20416
20431
|
this._extendRedrawBounds(e), e._project(), e._update(), this._requestRedraw(e);
|
|
@@ -20558,7 +20573,7 @@ function Wk() {
|
|
|
20558
20573
|
},
|
|
20559
20574
|
_initPath: function(e) {
|
|
20560
20575
|
var o = e._container = Wo("shape");
|
|
20561
|
-
Et(o, "leaflet-vml-shape " + (this.options.className || "")), o.coordsize = "1 1", e._path = Wo("path"), o.appendChild(e._path), this._updateStyle(e), this._layers[
|
|
20576
|
+
Et(o, "leaflet-vml-shape " + (this.options.className || "")), o.coordsize = "1 1", e._path = Wo("path"), o.appendChild(e._path), this._updateStyle(e), this._layers[f(e)] = e;
|
|
20562
20577
|
},
|
|
20563
20578
|
_addPath: function(e) {
|
|
20564
20579
|
var o = e._container;
|
|
@@ -20566,7 +20581,7 @@ function Wk() {
|
|
|
20566
20581
|
},
|
|
20567
20582
|
_removePath: function(e) {
|
|
20568
20583
|
var o = e._container;
|
|
20569
|
-
Xt(o), e.removeInteractiveTarget(o), delete this._layers[
|
|
20584
|
+
Xt(o), e.removeInteractiveTarget(o), delete this._layers[f(e)];
|
|
20570
20585
|
},
|
|
20571
20586
|
_updateStyle: function(e) {
|
|
20572
20587
|
var o = e._stroke, a = e._fill, A = e.options, h = e._container;
|
|
@@ -20602,13 +20617,13 @@ function Wk() {
|
|
|
20602
20617
|
// methods below are called by vector layers implementations
|
|
20603
20618
|
_initPath: function(e) {
|
|
20604
20619
|
var o = e._path = Yn("path");
|
|
20605
|
-
e.options.className && Et(o, e.options.className), e.options.interactive && Et(o, "leaflet-interactive"), this._updateStyle(e), this._layers[
|
|
20620
|
+
e.options.className && Et(o, e.options.className), e.options.interactive && Et(o, "leaflet-interactive"), this._updateStyle(e), this._layers[f(e)] = e;
|
|
20606
20621
|
},
|
|
20607
20622
|
_addPath: function(e) {
|
|
20608
20623
|
this._rootGroup || this._initContainer(), this._rootGroup.appendChild(e._path), e.addInteractiveTarget(e._path);
|
|
20609
20624
|
},
|
|
20610
20625
|
_removePath: function(e) {
|
|
20611
|
-
Xt(e._path), e.removeInteractiveTarget(e._path), delete this._layers[
|
|
20626
|
+
Xt(e._path), e.removeInteractiveTarget(e._path), delete this._layers[f(e)];
|
|
20612
20627
|
},
|
|
20613
20628
|
_updatePath: function(e) {
|
|
20614
20629
|
e._project(), e._update();
|
|
@@ -21120,7 +21135,7 @@ function Wk() {
|
|
|
21120
21135
|
this._zooming = !1, st(this._animRequest), qt(document, "touchmove", this._onTouchMove, this), qt(document, "touchend touchcancel", this._onTouchEnd, this), this._map.options.zoomAnimation ? this._map._animateZoom(this._center, this._map._limitZoom(this._zoom), !0, this._map.options.zoomSnap) : this._map._resetView(this._center, this._map._limitZoom(this._zoom));
|
|
21121
21136
|
}
|
|
21122
21137
|
});
|
|
21123
|
-
Pt.addInitHook("addHandler", "touchZoom", uA), Pt.BoxZoom = nA, Pt.DoubleClickZoom = sA, Pt.Drag = aA, Pt.Keyboard = rA, Pt.ScrollWheelZoom = lA, Pt.TapHold = AA, Pt.TouchZoom = uA, n.Bounds = wt, n.Browser = ct, n.CRS = Me, n.Canvas = tA, n.Circle = Sa, n.CircleMarker = zn, n.Class = mt, n.Control = Ne, n.DivIcon = Xl, n.DivOverlay = $e, n.DomEvent = Zf, n.DomUtil = Wf, n.Draggable = Ei, n.Evented = ye, n.FeatureGroup = si, n.GeoJSON = ri, n.GridLayer = qo, n.Handler = _e, n.Icon = so, n.ImageOverlay = Hn, n.LatLng = zt, n.LatLngBounds = ie, n.Layer = Ue, n.LayerGroup = no, n.LineUtil = rg, n.Map = Pt, n.Marker = Fn, n.Mixin = eg, n.Path = Ii, n.Point = _, n.PolyUtil = ig, n.Polygon = ao, n.Polyline = ai, n.Popup = Vn, n.PosAnimation = Ll, n.Projection = lg, n.Rectangle = oA, n.Renderer = li, n.SVG = Go, n.SVGOverlay = Jl, n.TileLayer = lo, n.Tooltip = Kn, n.Transformation = ta, n.Util = nt, n.VideoOverlay = jl, n.bind = d, n.bounds = Ft, n.canvas = eA, n.circle = mg, n.circleMarker = gg, n.control = Vo, n.divIcon = Bg, n.extend = r, n.featureGroup = dg, n.geoJSON = Zl, n.geoJson = bg, n.gridLayer = wg, n.icon = hg, n.imageOverlay = Cg, n.latLng = Bt, n.latLngBounds = Jt, n.layerGroup = cg, n.map = jf, n.marker = fg, n.point = Z, n.polygon = vg, n.polyline = pg, n.popup = Ig, n.rectangle = Qg, n.setOptions = k, n.stamp =
|
|
21138
|
+
Pt.addInitHook("addHandler", "touchZoom", uA), Pt.BoxZoom = nA, Pt.DoubleClickZoom = sA, Pt.Drag = aA, Pt.Keyboard = rA, Pt.ScrollWheelZoom = lA, Pt.TapHold = AA, Pt.TouchZoom = uA, n.Bounds = wt, n.Browser = ct, n.CRS = Me, n.Canvas = tA, n.Circle = Sa, n.CircleMarker = zn, n.Class = mt, n.Control = Ne, n.DivIcon = Xl, n.DivOverlay = $e, n.DomEvent = Zf, n.DomUtil = Wf, n.Draggable = Ei, n.Evented = ye, n.FeatureGroup = si, n.GeoJSON = ri, n.GridLayer = qo, n.Handler = _e, n.Icon = so, n.ImageOverlay = Hn, n.LatLng = zt, n.LatLngBounds = ie, n.Layer = Ue, n.LayerGroup = no, n.LineUtil = rg, n.Map = Pt, n.Marker = Fn, n.Mixin = eg, n.Path = Ii, n.Point = _, n.PolyUtil = ig, n.Polygon = ao, n.Polyline = ai, n.Popup = Vn, n.PosAnimation = Ll, n.Projection = lg, n.Rectangle = oA, n.Renderer = li, n.SVG = Go, n.SVGOverlay = Jl, n.TileLayer = lo, n.Tooltip = Kn, n.Transformation = ta, n.Util = nt, n.VideoOverlay = jl, n.bind = d, n.bounds = Ft, n.canvas = eA, n.circle = mg, n.circleMarker = gg, n.control = Vo, n.divIcon = Bg, n.extend = r, n.featureGroup = dg, n.geoJSON = Zl, n.geoJson = bg, n.gridLayer = wg, n.icon = hg, n.imageOverlay = Cg, n.latLng = Bt, n.latLngBounds = Jt, n.layerGroup = cg, n.map = jf, n.marker = fg, n.point = Z, n.polygon = vg, n.polyline = pg, n.popup = Ig, n.rectangle = Qg, n.setOptions = k, n.stamp = f, n.svg = iA, n.svgOverlay = Eg, n.tileLayer = _l, n.tooltip = kg, n.transformation = To, n.version = s, n.videoOverlay = yg;
|
|
21124
21139
|
var Dg = window.L;
|
|
21125
21140
|
n.noConflict = function() {
|
|
21126
21141
|
return window.L = Dg, this;
|
|
@@ -21230,23 +21245,23 @@ const Ye = /* @__PURE__ */ ap(Ss), Gk = /* @__PURE__ */ pp({
|
|
|
21230
21245
|
default: !0
|
|
21231
21246
|
}
|
|
21232
21247
|
}, zh = (t, i, n) => {
|
|
21233
|
-
const s = Se(kn), r = Se(Sh), { options: u, methods: d } = wn(t),
|
|
21248
|
+
const s = Se(kn), r = Se(Sh), { options: u, methods: d } = wn(t), g = zi(
|
|
21234
21249
|
t,
|
|
21235
21250
|
Oo,
|
|
21236
21251
|
u
|
|
21237
|
-
),
|
|
21252
|
+
), f = () => s({ leafletObject: i.value }), b = () => r({ leafletObject: i.value }), y = {
|
|
21238
21253
|
...d,
|
|
21239
21254
|
setAttribution(C) {
|
|
21240
|
-
b(), i.value.options.attribution = C, t.visible &&
|
|
21255
|
+
b(), i.value.options.attribution = C, t.visible && f();
|
|
21241
21256
|
},
|
|
21242
21257
|
setName() {
|
|
21243
|
-
b(), t.visible &&
|
|
21258
|
+
b(), t.visible && f();
|
|
21244
21259
|
},
|
|
21245
21260
|
setLayerType() {
|
|
21246
|
-
b(), t.visible &&
|
|
21261
|
+
b(), t.visible && f();
|
|
21247
21262
|
},
|
|
21248
21263
|
setVisible(C) {
|
|
21249
|
-
i.value && (C ?
|
|
21264
|
+
i.value && (C ? f() : b());
|
|
21250
21265
|
},
|
|
21251
21266
|
bindPopup(C) {
|
|
21252
21267
|
if (!i.value || !Bi(i.value.bindPopup)) {
|
|
@@ -21278,7 +21293,7 @@ const Ye = /* @__PURE__ */ ap(Ss), Gk = /* @__PURE__ */ pp({
|
|
|
21278
21293
|
};
|
|
21279
21294
|
return qe(Oh, y.bindPopup), qe(Lh, y.bindTooltip), qe(Th, y.unbindPopup), qe(Fh, y.unbindTooltip), Us(() => {
|
|
21280
21295
|
y.unbindPopup(), y.unbindTooltip(), b();
|
|
21281
|
-
}), { options:
|
|
21296
|
+
}), { options: g, methods: y };
|
|
21282
21297
|
}, Xk = (t, i) => {
|
|
21283
21298
|
if (t && i.default)
|
|
21284
21299
|
return Ti("div", { style: { display: "none" } }, i.default());
|
|
@@ -21387,14 +21402,14 @@ const Lo = {
|
|
|
21387
21402
|
}
|
|
21388
21403
|
},
|
|
21389
21404
|
setup(t, i) {
|
|
21390
|
-
const n = q(), s = q(), r = be(Ci), u = Se(jr), { options: d, methods:
|
|
21405
|
+
const n = q(), s = q(), r = be(Ci), u = Se(jr), { options: d, methods: g } = Mh(t, n);
|
|
21391
21406
|
return se(async () => {
|
|
21392
|
-
const { Control:
|
|
21407
|
+
const { Control: f, DomEvent: b } = r ? Ze.L : await import("./revolugo.leaflet-src.esm.BnEQV3J-.min.js"), y = f.extend({
|
|
21393
21408
|
onAdd() {
|
|
21394
21409
|
return s.value;
|
|
21395
21410
|
}
|
|
21396
21411
|
});
|
|
21397
|
-
n.value = Fi(new y(d)), bi(
|
|
21412
|
+
n.value = Fi(new y(d)), bi(g, n.value, t), u({ leafletObject: n.value }), t.disableClickPropagation && s.value && b.disableClickPropagation(s.value), t.disableScrollPropagation && s.value && b.disableScrollPropagation(s.value), Ae(() => i.emit("ready", n.value));
|
|
21398
21413
|
}), { root: s, leafletObject: n };
|
|
21399
21414
|
},
|
|
21400
21415
|
render() {
|
|
@@ -21440,8 +21455,8 @@ const Nh = {
|
|
|
21440
21455
|
setup(t, i) {
|
|
21441
21456
|
const n = q(), s = be(Ci), r = Se(jr), { options: u, methods: d } = e3(t, n);
|
|
21442
21457
|
return se(async () => {
|
|
21443
|
-
const { control:
|
|
21444
|
-
n.value = Fi(
|
|
21458
|
+
const { control: g } = s ? Ze.L : await import("./revolugo.leaflet-src.esm.BnEQV3J-.min.js");
|
|
21459
|
+
n.value = Fi(g.zoom(u)), bi(d, n.value, t), r({ leafletObject: n.value }), Ae(() => i.emit("ready", n.value));
|
|
21445
21460
|
}), { leafletObject: n };
|
|
21446
21461
|
},
|
|
21447
21462
|
render() {
|
|
@@ -21492,8 +21507,8 @@ const Jr = {
|
|
|
21492
21507
|
), d = {
|
|
21493
21508
|
...r,
|
|
21494
21509
|
setTileComponent() {
|
|
21495
|
-
var
|
|
21496
|
-
(
|
|
21510
|
+
var g;
|
|
21511
|
+
(g = i.value) == null || g.redraw();
|
|
21497
21512
|
}
|
|
21498
21513
|
};
|
|
21499
21514
|
return Us(() => {
|
|
@@ -21523,7 +21538,7 @@ dt({
|
|
|
21523
21538
|
}
|
|
21524
21539
|
},
|
|
21525
21540
|
setup(t, i) {
|
|
21526
|
-
const n = q(), s = q(null), r = q(!1), u = be(Ci), d = Se(kn), { options:
|
|
21541
|
+
const n = q(), s = q(null), r = q(!1), u = be(Ci), d = Se(kn), { options: g, methods: f } = Hh(t, n, i);
|
|
21527
21542
|
return se(async () => {
|
|
21528
21543
|
const { GridLayer: b, DomUtil: y, Util: C } = u ? Ze.L : await import("./revolugo.leaflet-src.esm.BnEQV3J-.min.js"), O = o3(
|
|
21529
21544
|
b,
|
|
@@ -21531,11 +21546,11 @@ dt({
|
|
|
21531
21546
|
C,
|
|
21532
21547
|
t.childRender
|
|
21533
21548
|
);
|
|
21534
|
-
n.value = Fi(new O(
|
|
21549
|
+
n.value = Fi(new O(g));
|
|
21535
21550
|
const { listeners: B } = to(i.attrs);
|
|
21536
|
-
n.value.on(B), bi(
|
|
21551
|
+
n.value.on(B), bi(f, n.value, t), d({
|
|
21537
21552
|
...t,
|
|
21538
|
-
...
|
|
21553
|
+
...f,
|
|
21539
21554
|
leafletObject: n.value
|
|
21540
21555
|
}), r.value = !0, Ae(() => i.emit("ready", n.value));
|
|
21541
21556
|
}), { root: s, ready: r, leafletObject: n };
|
|
@@ -21589,7 +21604,7 @@ const xu = {
|
|
|
21589
21604
|
},
|
|
21590
21605
|
setup(t, i) {
|
|
21591
21606
|
const n = q(), s = be(Ci), r = Se(Qh), u = Se(Rh), d = Se(Dh);
|
|
21592
|
-
let
|
|
21607
|
+
let g, f, b, y, C;
|
|
21593
21608
|
const O = (w, P, H) => {
|
|
21594
21609
|
const I = w && w.innerHTML;
|
|
21595
21610
|
if (!P) {
|
|
@@ -21597,13 +21612,13 @@ const xu = {
|
|
|
21597
21612
|
return;
|
|
21598
21613
|
}
|
|
21599
21614
|
const { listeners: T } = to(i.attrs);
|
|
21600
|
-
C &&
|
|
21615
|
+
C && f(C, T);
|
|
21601
21616
|
const { options: D } = wn(t), W = zi(
|
|
21602
21617
|
t,
|
|
21603
21618
|
xu,
|
|
21604
21619
|
D
|
|
21605
21620
|
);
|
|
21606
|
-
I && (W.html = I), C = W.html ? b(W) : y(W),
|
|
21621
|
+
I && (W.html = I), C = W.html ? b(W) : y(W), g(C, T), d(C);
|
|
21607
21622
|
}, B = () => {
|
|
21608
21623
|
Ae(() => O(n.value, !0, !1));
|
|
21609
21624
|
}, Q = () => {
|
|
@@ -21628,7 +21643,7 @@ const xu = {
|
|
|
21628
21643
|
divIcon: P,
|
|
21629
21644
|
icon: H
|
|
21630
21645
|
} = s ? Ze.L : await import("./revolugo.leaflet-src.esm.BnEQV3J-.min.js");
|
|
21631
|
-
|
|
21646
|
+
g = w.on, f = w.off, b = P, y = H, bi(k, {}, t), new MutationObserver(Q).observe(n.value, {
|
|
21632
21647
|
attributes: !0,
|
|
21633
21648
|
childList: !0,
|
|
21634
21649
|
characterData: !0,
|
|
@@ -21647,12 +21662,12 @@ const xu = {
|
|
|
21647
21662
|
function Vh(t, i, n) {
|
|
21648
21663
|
var s, r, u;
|
|
21649
21664
|
i === void 0 && (i = 50), n === void 0 && (n = {});
|
|
21650
|
-
var d = (s = n.isImmediate) != null && s,
|
|
21665
|
+
var d = (s = n.isImmediate) != null && s, g = (r = n.callback) != null && r, f = n.maxWait, b = Date.now(), y = [];
|
|
21651
21666
|
function C() {
|
|
21652
|
-
if (
|
|
21667
|
+
if (f !== void 0) {
|
|
21653
21668
|
var B = Date.now() - b;
|
|
21654
|
-
if (B + i >=
|
|
21655
|
-
return
|
|
21669
|
+
if (B + i >= f)
|
|
21670
|
+
return f - B;
|
|
21656
21671
|
}
|
|
21657
21672
|
return i;
|
|
21658
21673
|
}
|
|
@@ -21663,13 +21678,13 @@ function Vh(t, i, n) {
|
|
|
21663
21678
|
if (u !== void 0 && clearTimeout(u), u = setTimeout(function() {
|
|
21664
21679
|
if (u = void 0, b = Date.now(), !d) {
|
|
21665
21680
|
var I = t.apply(Q, B);
|
|
21666
|
-
|
|
21681
|
+
g && g(I), y.forEach(function(T) {
|
|
21667
21682
|
return (0, T.resolve)(I);
|
|
21668
21683
|
}), y = [];
|
|
21669
21684
|
}
|
|
21670
21685
|
}, C()), P) {
|
|
21671
21686
|
var H = t.apply(Q, B);
|
|
21672
|
-
return
|
|
21687
|
+
return g && g(H), k(H);
|
|
21673
21688
|
}
|
|
21674
21689
|
y.push({ resolve: k, reject: w });
|
|
21675
21690
|
});
|
|
@@ -21805,7 +21820,7 @@ const Mu = {
|
|
|
21805
21820
|
t,
|
|
21806
21821
|
Mu,
|
|
21807
21822
|
r
|
|
21808
|
-
), { listeners: d, attrs:
|
|
21823
|
+
), { listeners: d, attrs: g } = to(i.attrs), f = $n(kn), b = $n(Sh), y = $n(jr), C = $n(
|
|
21809
21824
|
Jk
|
|
21810
21825
|
);
|
|
21811
21826
|
qe(Ci, t.useGlobalLeaflet);
|
|
@@ -21889,12 +21904,12 @@ const Mu = {
|
|
|
21889
21904
|
(X.lat !== et.lat || X.lng !== et.lng) && (s.lastSetCenter = et, s.leafletRef.panTo(et, O.value));
|
|
21890
21905
|
}
|
|
21891
21906
|
};
|
|
21892
|
-
ts(
|
|
21907
|
+
ts(f, tt.addLayer), ts(b, tt.removeLayer), ts(y, tt.registerControl), ts(C, tt.registerLayerControl), s.leafletRef = Fi(P(n.value, u)), bi(tt, s.leafletRef, t), zu(s.leafletRef, Q), zu(s.leafletRef, d), s.ready = !0, Ae(() => i.emit("ready", s.leafletRef));
|
|
21893
21908
|
}), $i(() => {
|
|
21894
21909
|
Ph(Q), s.leafletRef && (s.leafletRef.off(), s.leafletRef.remove());
|
|
21895
21910
|
});
|
|
21896
21911
|
const k = z(() => s.leafletRef), w = z(() => s.ready);
|
|
21897
|
-
return { root: n, ready: w, leafletObject: k, attrs:
|
|
21912
|
+
return { root: n, ready: w, leafletObject: k, attrs: g };
|
|
21898
21913
|
},
|
|
21899
21914
|
render({ attrs: t }) {
|
|
21900
21915
|
return t.style || (t.style = {}), t.style.width || (t.style.width = "100%"), t.style.height || (t.style.height = "100%"), Ti(
|
|
@@ -21934,16 +21949,16 @@ const Mu = {
|
|
|
21934
21949
|
s
|
|
21935
21950
|
), d = {
|
|
21936
21951
|
...r,
|
|
21937
|
-
setDraggable(
|
|
21938
|
-
i.value.dragging && (
|
|
21952
|
+
setDraggable(g) {
|
|
21953
|
+
i.value.dragging && (g ? i.value.dragging.enable() : i.value.dragging.disable());
|
|
21939
21954
|
},
|
|
21940
|
-
latLngSync(
|
|
21941
|
-
n.emit("update:latLng",
|
|
21955
|
+
latLngSync(g) {
|
|
21956
|
+
n.emit("update:latLng", g.latlng), n.emit("update:lat-lng", g.latlng);
|
|
21942
21957
|
},
|
|
21943
|
-
setLatLng(
|
|
21944
|
-
if (
|
|
21945
|
-
const
|
|
21946
|
-
(!
|
|
21958
|
+
setLatLng(g) {
|
|
21959
|
+
if (g != null && i.value) {
|
|
21960
|
+
const f = i.value.getLatLng();
|
|
21961
|
+
(!f || !f.equals(g)) && i.value.setLatLng(g);
|
|
21947
21962
|
}
|
|
21948
21963
|
}
|
|
21949
21964
|
};
|
|
@@ -21977,19 +21992,19 @@ const Jo = dt({
|
|
|
21977
21992
|
return ((y = n.value) == null ? void 0 : y.setIcon) && n.value.setIcon(b);
|
|
21978
21993
|
}
|
|
21979
21994
|
);
|
|
21980
|
-
const { options: d, methods:
|
|
21981
|
-
moveHandler: Vh(
|
|
21995
|
+
const { options: d, methods: g } = r3(t, n, i), f = {
|
|
21996
|
+
moveHandler: Vh(g.latLngSync)
|
|
21982
21997
|
};
|
|
21983
21998
|
return se(async () => {
|
|
21984
21999
|
const { marker: b, divIcon: y } = r ? Ze.L : await import("./revolugo.leaflet-src.esm.BnEQV3J-.min.js");
|
|
21985
22000
|
l3(d, i) && (d.icon = y({ className: "" })), n.value = Fi(b(t.latLng, d));
|
|
21986
22001
|
const { listeners: C } = to(i.attrs);
|
|
21987
|
-
n.value.on(C), n.value.on("move",
|
|
22002
|
+
n.value.on(C), n.value.on("move", f.moveHandler), bi(g, n.value, t), u({
|
|
21988
22003
|
...t,
|
|
21989
|
-
...
|
|
22004
|
+
...g,
|
|
21990
22005
|
leafletObject: n.value
|
|
21991
22006
|
}), s.value = !0, Ae(() => i.emit("ready", n.value));
|
|
21992
|
-
}), $i(() => Ph(
|
|
22007
|
+
}), $i(() => Ph(f)), { ready: s, leafletObject: n };
|
|
21993
22008
|
},
|
|
21994
22009
|
render() {
|
|
21995
22010
|
return Xk(this.ready, this.$slots);
|
|
@@ -22037,10 +22052,10 @@ const Jo = dt({
|
|
|
22037
22052
|
name: "LPopup",
|
|
22038
22053
|
props: c3,
|
|
22039
22054
|
setup(t, i) {
|
|
22040
|
-
const n = q(), s = q(null), r = be(Ci), u = Se(Oh), d = Se(Th), { options:
|
|
22055
|
+
const n = q(), s = q(null), r = be(Ci), u = Se(Oh), d = Se(Th), { options: g, methods: f } = d3(t, n);
|
|
22041
22056
|
return se(async () => {
|
|
22042
22057
|
const { popup: b } = r ? Ze.L : await import("./revolugo.leaflet-src.esm.BnEQV3J-.min.js");
|
|
22043
|
-
n.value = Fi(b(
|
|
22058
|
+
n.value = Fi(b(g)), t.latLng !== void 0 && n.value.setLatLng(t.latLng), bi(f, n.value, t);
|
|
22044
22059
|
const { listeners: y } = to(i.attrs);
|
|
22045
22060
|
n.value.on(y), n.value.setContent(t.content || s.value || ""), u(n.value), Ae(() => i.emit("ready", n.value));
|
|
22046
22061
|
}), $i(() => {
|
|
@@ -22090,10 +22105,10 @@ const Xr = {
|
|
|
22090
22105
|
setup(t, i) {
|
|
22091
22106
|
const n = q(), s = be(Ci), r = Se(kn), { options: u, methods: d } = f3(t, n, i);
|
|
22092
22107
|
return se(async () => {
|
|
22093
|
-
const { tileLayer:
|
|
22094
|
-
n.value = Fi(
|
|
22095
|
-
const { listeners:
|
|
22096
|
-
n.value.on(
|
|
22108
|
+
const { tileLayer: g } = s ? Ze.L : await import("./revolugo.leaflet-src.esm.BnEQV3J-.min.js");
|
|
22109
|
+
n.value = Fi(g(t.url, u));
|
|
22110
|
+
const { listeners: f } = to(i.attrs);
|
|
22111
|
+
n.value.on(f), bi(d, n.value, t), r({
|
|
22097
22112
|
...t,
|
|
22098
22113
|
...d,
|
|
22099
22114
|
leafletObject: n.value
|
|
@@ -22114,10 +22129,10 @@ const Xr = {
|
|
|
22114
22129
|
name: "LTooltip",
|
|
22115
22130
|
props: m3,
|
|
22116
22131
|
setup(t, i) {
|
|
22117
|
-
const n = q(), s = q(null), r = be(Ci), u = Se(Lh), { options: d, methods:
|
|
22132
|
+
const n = q(), s = q(null), r = be(Ci), u = Se(Lh), { options: d, methods: g } = p3(t, n);
|
|
22118
22133
|
return se(async () => {
|
|
22119
|
-
const { tooltip:
|
|
22120
|
-
n.value = Fi(
|
|
22134
|
+
const { tooltip: f } = r ? Ze.L : await import("./revolugo.leaflet-src.esm.BnEQV3J-.min.js");
|
|
22135
|
+
n.value = Fi(f(d)), bi(g, n.value, t);
|
|
22121
22136
|
const { listeners: b } = to(i.attrs);
|
|
22122
22137
|
n.value.on(b), n.value.setContent(t.content || s.value || ""), u(n.value), Ae(() => i.emit("ready", n.value));
|
|
22123
22138
|
}), { root: s, leafletObject: n };
|
|
@@ -22223,16 +22238,16 @@ const Xh = {
|
|
|
22223
22238
|
iconUrl: Zh,
|
|
22224
22239
|
shadowUrl: jh
|
|
22225
22240
|
});
|
|
22226
|
-
const { t: s } = Vt(), { eventBus: r } = Li(), u = lp(), d = n,
|
|
22241
|
+
const { t: s } = Vt(), { eventBus: r } = Li(), u = lp(), d = n, g = t, f = q(!1), b = q(!1), y = q(null), C = Ns(t, "modelValue"), O = q(void 0), B = q(!1), Q = q(15), k = z(() => {
|
|
22227
22242
|
const _ = "lite.day", gt = B.value ? "features=public_transit:all_systems&ppi=400" : "";
|
|
22228
22243
|
return `https://maps.hereapi.com/v3/base/mc/{z}/{x}/{y}/png8?style=${_}&${gt}&apiKey={apiKey}`;
|
|
22229
|
-
}), w = q(null), P = z(() =>
|
|
22230
|
-
() =>
|
|
22244
|
+
}), w = q(null), P = z(() => g.hotelOffers), H = Br(z(() => g.height)), I = oi({ prop: z(() => g.venue) }), T = z(
|
|
22245
|
+
() => f.value && b.value
|
|
22231
22246
|
);
|
|
22232
22247
|
function D() {
|
|
22233
|
-
if (!
|
|
22248
|
+
if (!g.hotelOffers || g.hotelOffers.length === 0 || T.value)
|
|
22234
22249
|
return;
|
|
22235
|
-
const _ =
|
|
22250
|
+
const _ = g.hotelOffers.map(
|
|
22236
22251
|
(gt) => [gt.latitude, gt.longitude]
|
|
22237
22252
|
);
|
|
22238
22253
|
if (y.value)
|
|
@@ -22271,7 +22286,7 @@ const Xh = {
|
|
|
22271
22286
|
y.value = _, w.value = new ResizeObserver(() => {
|
|
22272
22287
|
y.value?.invalidateSize();
|
|
22273
22288
|
}), w.value.observe(y.value.getContainer()), D(), d("ready"), y.value.getContainer().addEventListener("wheel", () => {
|
|
22274
|
-
|
|
22289
|
+
f.value = !0;
|
|
22275
22290
|
});
|
|
22276
22291
|
}
|
|
22277
22292
|
$i(() => {
|
|
@@ -22281,7 +22296,7 @@ const Xh = {
|
|
|
22281
22296
|
B.value = !B.value;
|
|
22282
22297
|
}
|
|
22283
22298
|
function Rt() {
|
|
22284
|
-
b.value = !1,
|
|
22299
|
+
b.value = !1, f.value = !1;
|
|
22285
22300
|
}
|
|
22286
22301
|
ht(
|
|
22287
22302
|
O,
|
|
@@ -22300,7 +22315,7 @@ const Xh = {
|
|
|
22300
22315
|
y.value && y.value.zoomIn(0.01, { animate: !1 }).zoomOut(0.01, { animate: !1 });
|
|
22301
22316
|
});
|
|
22302
22317
|
});
|
|
22303
|
-
const pt = z(() =>
|
|
22318
|
+
const pt = z(() => g.hoveredHotelId);
|
|
22304
22319
|
function ye() {
|
|
22305
22320
|
I.value?.latitude && I.value?.longitude && at({
|
|
22306
22321
|
latitude: I.value.latitude,
|
|
@@ -22356,9 +22371,9 @@ const Xh = {
|
|
|
22356
22371
|
smoothWheelZoom: !0,
|
|
22357
22372
|
smoothSensitivity: 6
|
|
22358
22373
|
},
|
|
22359
|
-
onMousedown: gt[5] || (gt[5] = (Z) =>
|
|
22360
|
-
onTouchstart: gt[6] || (gt[6] = (Z) =>
|
|
22361
|
-
onKeydown: gt[7] || (gt[7] = (Z) =>
|
|
22374
|
+
onMousedown: gt[5] || (gt[5] = (Z) => f.value = !0),
|
|
22375
|
+
onTouchstart: gt[6] || (gt[6] = (Z) => f.value = !0),
|
|
22376
|
+
onKeydown: gt[7] || (gt[7] = (Z) => f.value = !0),
|
|
22362
22377
|
onMovestart: X,
|
|
22363
22378
|
onZoomstart: X,
|
|
22364
22379
|
onReady: nt,
|
|
@@ -22859,8 +22874,8 @@ const P3 = /* @__PURE__ */ Wt(_h, [["__scopeId", "data-v-cbf1e78c"]]), $h = {
|
|
|
22859
22874
|
setup(t) {
|
|
22860
22875
|
const { locale: i, t: n } = Vt(), s = t, r = q([s.latitude, s.longitude]), { eventBus: u } = Li(), {
|
|
22861
22876
|
hasError: d,
|
|
22862
|
-
hotelOffers:
|
|
22863
|
-
hotelOffersCurrency:
|
|
22877
|
+
hotelOffers: g,
|
|
22878
|
+
hotelOffersCurrency: f,
|
|
22864
22879
|
isPolling: b
|
|
22865
22880
|
} = ji(an()), { hotels: y, retrieveHotelImages: C } = xc(), { retrieveHotelOffers: O } = an(), { resetHotelRoomOfferRequest: B } = Qo(), { resetHotelRoomOffers: Q } = zs(), {
|
|
22866
22881
|
createHotelOfferRequest: k,
|
|
@@ -22939,11 +22954,11 @@ const P3 = /* @__PURE__ */ Wt(_h, [["__scopeId", "data-v-cbf1e78c"]]), $h = {
|
|
|
22939
22954
|
"onUpdate:modelValue": mt[0] || (mt[0] = (Rt) => r.value = Rt),
|
|
22940
22955
|
"check-in-date": nt.checkInDate,
|
|
22941
22956
|
"check-out-date": nt.checkOutDate,
|
|
22942
|
-
currency: v(
|
|
22957
|
+
currency: v(f),
|
|
22943
22958
|
features: nt.features,
|
|
22944
22959
|
height: nt.height,
|
|
22945
22960
|
"hovered-hotel-id": nt.hoveredHotelId,
|
|
22946
|
-
"hotel-offers": v(
|
|
22961
|
+
"hotel-offers": v(g),
|
|
22947
22962
|
"hotel-offers-images": st.value,
|
|
22948
22963
|
"is-loading": v(b) || v(H),
|
|
22949
22964
|
"is-location-input-visible": D.value,
|
|
@@ -23080,7 +23095,7 @@ const S3 = {
|
|
|
23080
23095
|
__name: "HotelOffersView",
|
|
23081
23096
|
props: of,
|
|
23082
23097
|
setup(t) {
|
|
23083
|
-
const i = t, { t: n } = Vt(), s = an(), r = An(), { hotelOffers: u, isPolling: d } = ji(s), { hasError:
|
|
23098
|
+
const i = t, { t: n } = Vt(), s = an(), r = An(), { hotelOffers: u, isPolling: d } = ji(s), { hasError: g, isFetching: f } = ji(
|
|
23084
23099
|
r
|
|
23085
23100
|
), b = q(null), {
|
|
23086
23101
|
$breakpointService: y,
|
|
@@ -23096,8 +23111,8 @@ const S3 = {
|
|
|
23096
23111
|
}), { hotelOfferRequestParams: P } = Kr(i), H = q(""), I = q(void 0), T = q(
|
|
23097
23112
|
B("sm") && w.value || !1
|
|
23098
23113
|
), D = q(!1), W = q(void 0), at = q(null), tt = z(
|
|
23099
|
-
() =>
|
|
23100
|
-
), K = z(() =>
|
|
23114
|
+
() => f.value && D.value && C("sm") || d.value && (!!u.value?.length || T.value && B("sm"))
|
|
23115
|
+
), K = z(() => g.value), et = (mt) => {
|
|
23101
23116
|
H.value = mt.id;
|
|
23102
23117
|
}, X = () => {
|
|
23103
23118
|
H.value = "";
|
|
@@ -23131,7 +23146,7 @@ const S3 = {
|
|
|
23131
23146
|
key: 0,
|
|
23132
23147
|
modelValue: v(P),
|
|
23133
23148
|
"onUpdate:modelValue": Rt[0] || (Rt[0] = (pt) => Oc(P) ? P.value = pt : null),
|
|
23134
|
-
"is-loading": v(
|
|
23149
|
+
"is-loading": v(f),
|
|
23135
23150
|
"is-loading-bar-enabled": !1
|
|
23136
23151
|
}, So({ _: 2 }, [
|
|
23137
23152
|
v(C)("md") && v(k).PreferencesMenu ? {
|
|
@@ -23553,7 +23568,7 @@ const T3 = /* @__PURE__ */ Wt(nf, [["__scopeId", "data-v-84e277de"]]), _s = {
|
|
|
23553
23568
|
},
|
|
23554
23569
|
emits: ["submit"],
|
|
23555
23570
|
setup(t, { emit: i }) {
|
|
23556
|
-
const n = i, { locale: s, t: r } = Vt(), u = t, d = q(!1),
|
|
23571
|
+
const n = i, { locale: s, t: r } = Vt(), u = t, d = q(!1), g = q(!1), f = q(""), b = q(!1), y = F3.reduce((I, T) => (I[T] = {
|
|
23557
23572
|
readonly: !1,
|
|
23558
23573
|
value: u.form[T] || void 0
|
|
23559
23574
|
}, I), {}), C = q({
|
|
@@ -23609,14 +23624,14 @@ const T3 = /* @__PURE__ */ Wt(nf, [["__scopeId", "data-v-84e277de"]]), _s = {
|
|
|
23609
23624
|
};
|
|
23610
23625
|
}
|
|
23611
23626
|
function w(I) {
|
|
23612
|
-
|
|
23627
|
+
f.value = I.phonePrefix, C.value.phoneNumber.value = I.phoneNumber, C.value.phoneCountry.value = I.phoneCountry;
|
|
23613
23628
|
}
|
|
23614
23629
|
function P(I) {
|
|
23615
23630
|
C.value[I]?.readonly && (C.value[I].readonly = !1);
|
|
23616
23631
|
}
|
|
23617
23632
|
async function H() {
|
|
23618
23633
|
if (!(await O.value?.validate()).valid) {
|
|
23619
|
-
|
|
23634
|
+
g.value = !1;
|
|
23620
23635
|
return;
|
|
23621
23636
|
}
|
|
23622
23637
|
n("submit", {
|
|
@@ -23627,7 +23642,7 @@ const T3 = /* @__PURE__ */ Wt(nf, [["__scopeId", "data-v-84e277de"]]), _s = {
|
|
|
23627
23642
|
nationality: C.value.nationality.value,
|
|
23628
23643
|
phoneCountry: C.value.phoneCountry.value,
|
|
23629
23644
|
phoneNumber: C.value.phoneNumber.value,
|
|
23630
|
-
phonePrefix:
|
|
23645
|
+
phonePrefix: f.value,
|
|
23631
23646
|
salutation: C.value.salutation.value,
|
|
23632
23647
|
specialRequests: C.value.specialRequests.value
|
|
23633
23648
|
});
|
|
@@ -23652,8 +23667,8 @@ const T3 = /* @__PURE__ */ Wt(nf, [["__scopeId", "data-v-84e277de"]]), _s = {
|
|
|
23652
23667
|
ref_key: "formContainer",
|
|
23653
23668
|
ref: O,
|
|
23654
23669
|
id: "prebook-form",
|
|
23655
|
-
modelValue:
|
|
23656
|
-
"onUpdate:modelValue": T[30] || (T[30] = (D) =>
|
|
23670
|
+
modelValue: g.value,
|
|
23671
|
+
"onUpdate:modelValue": T[30] || (T[30] = (D) => g.value = D),
|
|
23657
23672
|
class: "w-100"
|
|
23658
23673
|
}, {
|
|
23659
23674
|
default: c(() => [
|
|
@@ -24709,7 +24724,7 @@ const U3 = /* @__PURE__ */ Wt(sf, [["__scopeId", "data-v-1b8de203"]]), el = /* @
|
|
|
24709
24724
|
__name: "PrebookForm",
|
|
24710
24725
|
props: tl,
|
|
24711
24726
|
setup(t) {
|
|
24712
|
-
const i = t, { locale: n, t: s } = Vt(), { bookingApiClient: r, isBookingApiClientDefined: u } = Cn(), { config: d } = In(), { eventBus:
|
|
24727
|
+
const i = t, { locale: n, t: s } = Vt(), { bookingApiClient: r, isBookingApiClientDefined: u } = Cn(), { config: d } = In(), { eventBus: g } = Li(), f = q(i?.bookingId || ""), b = q(!1), y = q(!1), C = oi({
|
|
24713
24728
|
cb: (w) => zc(w, "hotelRoomOfferList"),
|
|
24714
24729
|
fallbackValue: _s,
|
|
24715
24730
|
prop: z(() => i.features)
|
|
@@ -24759,11 +24774,11 @@ const U3 = /* @__PURE__ */ Wt(sf, [["__scopeId", "data-v-1b8de203"]]), el = /* @
|
|
|
24759
24774
|
trackingId: d.value.trackingId
|
|
24760
24775
|
}
|
|
24761
24776
|
});
|
|
24762
|
-
b.value = !1,
|
|
24777
|
+
b.value = !1, g.$emit(It.BookingCreated, H), f.value = H.id || "";
|
|
24763
24778
|
} catch (H) {
|
|
24764
24779
|
console.error("Cannot create booking:", H), b.value = !1, y.value = !0;
|
|
24765
24780
|
} finally {
|
|
24766
|
-
|
|
24781
|
+
g.$emit(It.PrebookForm, {
|
|
24767
24782
|
emailAddress: P.email,
|
|
24768
24783
|
firstName: P.firstName,
|
|
24769
24784
|
lastName: P.lastName,
|
|
@@ -24805,7 +24820,7 @@ const U3 = /* @__PURE__ */ Wt(sf, [["__scopeId", "data-v-1b8de203"]]), el = /* @
|
|
|
24805
24820
|
}, {
|
|
24806
24821
|
default: c(() => [
|
|
24807
24822
|
l(U3, At(i, {
|
|
24808
|
-
"booking-id-local":
|
|
24823
|
+
"booking-id-local": f.value,
|
|
24809
24824
|
"country-list": O.value,
|
|
24810
24825
|
form: {
|
|
24811
24826
|
emailAddress: i.emailAddress,
|
|
@@ -24957,16 +24972,16 @@ const af = {
|
|
|
24957
24972
|
__name: "FullBookingFlow",
|
|
24958
24973
|
props: H3,
|
|
24959
24974
|
setup(t) {
|
|
24960
|
-
const i = t, { t: n } = Vt(), s = q(void 0), r = q(void 0), u = q({}), d = q(void 0),
|
|
24961
|
-
() =>
|
|
24975
|
+
const i = t, { t: n } = Vt(), s = q(void 0), r = q(void 0), u = q({}), d = q(void 0), g = q(Ve.Idle), f = q(1), b = q(), y = z(
|
|
24976
|
+
() => g.value === Ve.PaymentSuccessful
|
|
24962
24977
|
), C = z(
|
|
24963
|
-
() =>
|
|
24978
|
+
() => g.value === Ve.Prebook && r.value !== void 0
|
|
24964
24979
|
), O = z(() => {
|
|
24965
24980
|
let tt = "";
|
|
24966
24981
|
return C.value ? tt = "cancel" : tt = y.value ? "makeNewBook" : "back", n(`FullBookingFlow.${tt}`);
|
|
24967
24982
|
}), B = z(
|
|
24968
24983
|
() => [Ve.PaymentRequested, Ve.PaymentSuccessful].includes(
|
|
24969
|
-
|
|
24984
|
+
g.value
|
|
24970
24985
|
) && s.value !== void 0
|
|
24971
24986
|
), Q = z(() => {
|
|
24972
24987
|
const tt = {
|
|
@@ -24977,16 +24992,16 @@ const af = {
|
|
|
24977
24992
|
return r.value && (tt.adultCount = r.value.adultCount, tt.children = r.value.children ?? null, tt.checkInDate = r.value.checkInDate, tt.checkOutDate = r.value.checkOutDate), tt;
|
|
24978
24993
|
}), { eventBus: k } = Li();
|
|
24979
24994
|
function w(tt) {
|
|
24980
|
-
|
|
24995
|
+
g.value = tt, k.$emit(It.BookingFlowStepUpdated, tt);
|
|
24981
24996
|
}
|
|
24982
24997
|
function P(tt) {
|
|
24983
|
-
s.value = tt, tt && ($a(),
|
|
24998
|
+
s.value = tt, tt && ($a(), f.value = 1, w(Ve.PaymentRequested));
|
|
24984
24999
|
}
|
|
24985
25000
|
function H(tt) {
|
|
24986
|
-
r.value = tt, r.value && (
|
|
25001
|
+
r.value = tt, r.value && (f.value = 1, w(Ve.Prebook));
|
|
24987
25002
|
}
|
|
24988
25003
|
function I() {
|
|
24989
|
-
|
|
25004
|
+
f.value = -1, w(Ve.PaymentSuccessful), u.value = {};
|
|
24990
25005
|
}
|
|
24991
25006
|
k.$on(It.BookingPolicyCreated, H), k.$on(It.BookingCreated, P), k.$on(It.PaymentSuccess, I), k.$on(It.PrebookForm, (tt) => {
|
|
24992
25007
|
u.value = tt;
|
|
@@ -24997,10 +25012,10 @@ const af = {
|
|
|
24997
25012
|
}
|
|
24998
25013
|
);
|
|
24999
25014
|
function T() {
|
|
25000
|
-
|
|
25015
|
+
f.value = -1, w(Ve.Idle), r.value = void 0, s.value = void 0, u.value = {};
|
|
25001
25016
|
}
|
|
25002
25017
|
function D() {
|
|
25003
|
-
|
|
25018
|
+
f.value = -1, w(Ve.Prebook);
|
|
25004
25019
|
}
|
|
25005
25020
|
function W() {
|
|
25006
25021
|
C.value ? b.value = !0 : B.value && (y.value ? T() : D());
|
|
@@ -25807,38 +25822,38 @@ const il = {
|
|
|
25807
25822
|
__name: "HotelDescriptionView",
|
|
25808
25823
|
props: W3,
|
|
25809
25824
|
setup(t) {
|
|
25810
|
-
const { locale: i, t: n } = Vt(), { eventBus: s } = Li(), { config: r } = In(), { bookingApiClient: u } = Cn(), d = t,
|
|
25825
|
+
const { locale: i, t: n } = Vt(), { eventBus: s } = Li(), { config: r } = In(), { bookingApiClient: u } = Cn(), d = t, g = q(null), f = q(null), b = q(!1), y = q(!1), C = q(null), O = oi({
|
|
25811
25826
|
cb: (D) => zc(D, "hotelRoomOfferList"),
|
|
25812
25827
|
fallbackValue: il,
|
|
25813
25828
|
prop: z(() => d.features)
|
|
25814
25829
|
}), B = z(() => {
|
|
25815
|
-
if (
|
|
25816
|
-
const D =
|
|
25830
|
+
if (f.value && f.value.amenities) {
|
|
25831
|
+
const D = f.value.amenities;
|
|
25817
25832
|
return Object.keys(D).filter((W) => D[W]).sort(
|
|
25818
25833
|
(W, at) => n(`HotelDescriptionView.amenityList.${W}`).toString().length - n(`HotelDescriptionView.amenityList.${at}`).toString().length
|
|
25819
25834
|
);
|
|
25820
25835
|
}
|
|
25821
25836
|
return null;
|
|
25822
|
-
}), Q = z(() => kr(
|
|
25823
|
-
if (
|
|
25824
|
-
const D =
|
|
25837
|
+
}), Q = z(() => kr(f.value?.hotelImages)), k = z(() => {
|
|
25838
|
+
if (f.value?.address) {
|
|
25839
|
+
const D = f.value.address.split(" ").join("+");
|
|
25825
25840
|
return {
|
|
25826
|
-
iframe: `https://maps.google.com/maps?q=${D},+${
|
|
25827
|
-
link: `https://www.google.com/maps?q=${D},+${
|
|
25841
|
+
iframe: `https://maps.google.com/maps?q=${D},+${f.value.city}&output=embed`,
|
|
25842
|
+
link: `https://www.google.com/maps?q=${D},+${f.value.city}`
|
|
25828
25843
|
};
|
|
25829
25844
|
}
|
|
25830
25845
|
return null;
|
|
25831
|
-
}), w = z(() =>
|
|
25846
|
+
}), w = z(() => f.value?.venues);
|
|
25832
25847
|
async function P() {
|
|
25833
25848
|
try {
|
|
25834
|
-
if (!
|
|
25849
|
+
if (!f.value)
|
|
25835
25850
|
return;
|
|
25836
25851
|
await navigator.clipboard.writeText(
|
|
25837
25852
|
n("HotelDescriptionView.fullAddress", {
|
|
25838
|
-
address:
|
|
25839
|
-
city:
|
|
25840
|
-
countryCode:
|
|
25841
|
-
postalCode:
|
|
25853
|
+
address: f.value.address,
|
|
25854
|
+
city: f.value.city,
|
|
25855
|
+
countryCode: f.value.countryCode,
|
|
25856
|
+
postalCode: f.value.postalCode
|
|
25842
25857
|
})
|
|
25843
25858
|
), C.value = n(
|
|
25844
25859
|
"HotelDescriptionView.fullAddressCopied"
|
|
@@ -25857,15 +25872,15 @@ const il = {
|
|
|
25857
25872
|
}
|
|
25858
25873
|
}
|
|
25859
25874
|
const I = mn(async () => {
|
|
25860
|
-
if (
|
|
25875
|
+
if (f.value = null, b.value = !0, !!d.hotelId)
|
|
25861
25876
|
try {
|
|
25862
|
-
|
|
25877
|
+
g.value = null, f.value = await u.value?.hotels.retrieve({
|
|
25863
25878
|
event: r.value.eventMetadata?.name,
|
|
25864
25879
|
id: d.hotelId,
|
|
25865
25880
|
lang: i.value
|
|
25866
|
-
}), s.$emit(It.HotelRetrieved,
|
|
25881
|
+
}), s.$emit(It.HotelRetrieved, f.value);
|
|
25867
25882
|
} catch (D) {
|
|
25868
|
-
|
|
25883
|
+
g.value = D?.response?.statusText || " ";
|
|
25869
25884
|
} finally {
|
|
25870
25885
|
b.value = !1;
|
|
25871
25886
|
}
|
|
@@ -25882,11 +25897,11 @@ const il = {
|
|
|
25882
25897
|
), ht([u, i], async () => {
|
|
25883
25898
|
await I();
|
|
25884
25899
|
}), (D, W) => (E(), V("div", null, [
|
|
25885
|
-
D.isBookingApiClientDefined ?
|
|
25900
|
+
D.isBookingApiClientDefined ? f.value ? (E(), M(cr, { key: "filled" }, So({
|
|
25886
25901
|
name: c(() => [
|
|
25887
25902
|
l(J, { dense: "" }, {
|
|
25888
25903
|
default: c(() => [
|
|
25889
|
-
|
|
25904
|
+
f.value.name ? (E(), M(U, {
|
|
25890
25905
|
key: 0,
|
|
25891
25906
|
cols: "12",
|
|
25892
25907
|
order: "2",
|
|
@@ -25894,7 +25909,7 @@ const il = {
|
|
|
25894
25909
|
sm: "10"
|
|
25895
25910
|
}, {
|
|
25896
25911
|
default: c(() => [
|
|
25897
|
-
R("span", G3, F(
|
|
25912
|
+
R("span", G3, F(f.value.name), 1),
|
|
25898
25913
|
l(wi, {
|
|
25899
25914
|
attach: D.$el,
|
|
25900
25915
|
location: "bottom"
|
|
@@ -25902,7 +25917,7 @@ const il = {
|
|
|
25902
25917
|
activator: c(({ props: at }) => [
|
|
25903
25918
|
R("span", vo(bo(at)), [
|
|
25904
25919
|
l(v(Ks), {
|
|
25905
|
-
count:
|
|
25920
|
+
count: f.value.rating
|
|
25906
25921
|
}, null, 8, ["count"])
|
|
25907
25922
|
], 16)
|
|
25908
25923
|
]),
|
|
@@ -25938,12 +25953,12 @@ const il = {
|
|
|
25938
25953
|
features: {
|
|
25939
25954
|
ReviewRatingDetails: !0
|
|
25940
25955
|
},
|
|
25941
|
-
hotel:
|
|
25956
|
+
hotel: f.value,
|
|
25942
25957
|
"tooltip-position": "left"
|
|
25943
25958
|
}, null, 8, ["hotel"])
|
|
25944
25959
|
]),
|
|
25945
25960
|
address: c(() => [
|
|
25946
|
-
|
|
25961
|
+
f.value.address && f.value.city ? (E(), V("a", {
|
|
25947
25962
|
key: 0,
|
|
25948
25963
|
class: "text-decoration-none text-caption",
|
|
25949
25964
|
target: "_blank",
|
|
@@ -25961,16 +25976,16 @@ const il = {
|
|
|
25961
25976
|
_: 1
|
|
25962
25977
|
}),
|
|
25963
25978
|
R("span", j3, F(v(n)("HotelDescriptionView.fullAddress", {
|
|
25964
|
-
address:
|
|
25965
|
-
postalCode:
|
|
25966
|
-
city:
|
|
25967
|
-
countryCode:
|
|
25979
|
+
address: f.value.address,
|
|
25980
|
+
postalCode: f.value.postalCode,
|
|
25981
|
+
city: f.value.city,
|
|
25982
|
+
countryCode: f.value.countryCode
|
|
25968
25983
|
})), 1)
|
|
25969
25984
|
])
|
|
25970
25985
|
])) : (E(), V("span", J3))
|
|
25971
25986
|
]),
|
|
25972
25987
|
showOnMap: c(() => [
|
|
25973
|
-
|
|
25988
|
+
f.value.address && f.value.city ? (E(), V(lt, { key: 0 }, [
|
|
25974
25989
|
k.value?.link ? (E(), V("a", {
|
|
25975
25990
|
key: 0,
|
|
25976
25991
|
class: "text-decoration-none text-caption",
|
|
@@ -25994,11 +26009,11 @@ const il = {
|
|
|
25994
26009
|
], 64)) : (E(), V("span", tB))
|
|
25995
26010
|
]),
|
|
25996
26011
|
"nearby-stations": c(() => [
|
|
25997
|
-
|
|
26012
|
+
f.value.latitude && f.value.longitude ? (E(), M(v(Rm), {
|
|
25998
26013
|
key: 0,
|
|
25999
26014
|
attach: D.$el,
|
|
26000
|
-
latitude:
|
|
26001
|
-
longitude:
|
|
26015
|
+
latitude: f.value.latitude,
|
|
26016
|
+
longitude: f.value.longitude
|
|
26002
26017
|
}, null, 8, ["attach", "latitude", "longitude"])) : (E(), V("span", eB))
|
|
26003
26018
|
]),
|
|
26004
26019
|
"travel-times": c(() => [
|
|
@@ -26010,7 +26025,7 @@ const il = {
|
|
|
26010
26025
|
}, null, 8, ["venue-travel-times"])
|
|
26011
26026
|
]),
|
|
26012
26027
|
carousel: c(() => [
|
|
26013
|
-
|
|
26028
|
+
f.value.hotelImages && f.value.hotelImages.length ? (E(), M(v(Qr), {
|
|
26014
26029
|
key: 0,
|
|
26015
26030
|
height: "410px",
|
|
26016
26031
|
"image-urls": Q.value?.highres,
|
|
@@ -26022,7 +26037,7 @@ const il = {
|
|
|
26022
26037
|
}, null, 8, ["image-urls", "thumbnail-urls"])) : (E(), V("div", iB))
|
|
26023
26038
|
]),
|
|
26024
26039
|
description: c(() => [
|
|
26025
|
-
|
|
26040
|
+
f.value.description ? (E(), V(lt, { key: 0 }, [
|
|
26026
26041
|
l(St, {
|
|
26027
26042
|
elevation: "0",
|
|
26028
26043
|
border: ""
|
|
@@ -26058,10 +26073,10 @@ const il = {
|
|
|
26058
26073
|
R("div", {
|
|
26059
26074
|
ref: "hotelDescription",
|
|
26060
26075
|
class: "hotel-description text-body-2 text-black mb-0 w-100",
|
|
26061
|
-
innerHTML:
|
|
26076
|
+
innerHTML: f.value.description
|
|
26062
26077
|
}, null, 8, aB)
|
|
26063
26078
|
]),
|
|
26064
|
-
|
|
26079
|
+
f.value.policy ? (E(), M(Zc, {
|
|
26065
26080
|
key: 0,
|
|
26066
26081
|
class: "mt-4",
|
|
26067
26082
|
flat: ""
|
|
@@ -26090,7 +26105,7 @@ const il = {
|
|
|
26090
26105
|
l(vs, null, {
|
|
26091
26106
|
default: c(() => [
|
|
26092
26107
|
R("div", {
|
|
26093
|
-
innerHTML:
|
|
26108
|
+
innerHTML: f.value.policy
|
|
26094
26109
|
}, null, 8, AB)
|
|
26095
26110
|
]),
|
|
26096
26111
|
_: 1
|
|
@@ -26264,7 +26279,7 @@ const il = {
|
|
|
26264
26279
|
default: c(() => [
|
|
26265
26280
|
R("p", hB, [
|
|
26266
26281
|
R("b", fB, F(v(n)("HotelDescriptionView.checkInTime")), 1),
|
|
26267
|
-
R("span", gB, " " + F(
|
|
26282
|
+
R("span", gB, " " + F(f.value.checkInTime || "4:00 PM"), 1)
|
|
26268
26283
|
])
|
|
26269
26284
|
]),
|
|
26270
26285
|
_: 1
|
|
@@ -26273,7 +26288,7 @@ const il = {
|
|
|
26273
26288
|
default: c(() => [
|
|
26274
26289
|
R("p", mB, [
|
|
26275
26290
|
R("b", pB, F(v(n)("HotelDescriptionView.checkOutTime")), 1),
|
|
26276
|
-
R("span", vB, " " + F(
|
|
26291
|
+
R("span", vB, " " + F(f.value.checkOutTime || "10:00 AM"), 1)
|
|
26277
26292
|
])
|
|
26278
26293
|
]),
|
|
26279
26294
|
_: 1
|
|
@@ -26283,7 +26298,7 @@ const il = {
|
|
|
26283
26298
|
})
|
|
26284
26299
|
]),
|
|
26285
26300
|
amenities: c(() => [
|
|
26286
|
-
Object.keys(
|
|
26301
|
+
Object.keys(f.value.amenities || {}).length ? (E(), M(St, {
|
|
26287
26302
|
key: 0,
|
|
26288
26303
|
class: "flex-grow-1",
|
|
26289
26304
|
elevation: "0",
|
|
@@ -26333,7 +26348,7 @@ const il = {
|
|
|
26333
26348
|
})) : (E(), V("div", EB))
|
|
26334
26349
|
]),
|
|
26335
26350
|
"map-widget": c(() => [
|
|
26336
|
-
|
|
26351
|
+
f.value.city && f.value.address ? (E(), M(St, {
|
|
26337
26352
|
key: 0,
|
|
26338
26353
|
class: "pa-0",
|
|
26339
26354
|
elevation: "0",
|
|
@@ -26341,8 +26356,8 @@ const il = {
|
|
|
26341
26356
|
}, {
|
|
26342
26357
|
default: c(() => [
|
|
26343
26358
|
l(v(jc), {
|
|
26344
|
-
address:
|
|
26345
|
-
city:
|
|
26359
|
+
address: f.value.address,
|
|
26360
|
+
city: f.value.city,
|
|
26346
26361
|
height: "150px",
|
|
26347
26362
|
width: "100%"
|
|
26348
26363
|
}, null, 8, ["address", "city"])
|
|
@@ -26366,9 +26381,9 @@ const il = {
|
|
|
26366
26381
|
key: "0"
|
|
26367
26382
|
} : void 0
|
|
26368
26383
|
]), 1024)) : (E(), V(lt, { key: 1 }, [
|
|
26369
|
-
|
|
26384
|
+
g.value ? (E(), M(rf, {
|
|
26370
26385
|
key: 0,
|
|
26371
|
-
"error-message":
|
|
26386
|
+
"error-message": g.value
|
|
26372
26387
|
}, null, 8, ["error-message"])) : (E(), M(cr, { key: "loading" }))
|
|
26373
26388
|
], 64)) : (E(), V(lt, { key: 0 }, [], 64))
|
|
26374
26389
|
]));
|
|
@@ -27347,7 +27362,7 @@ function wB(t, i, n, s, r, u) {
|
|
|
27347
27362
|
return t.isBookingApiClientDefined ? (E(), M(d, {
|
|
27348
27363
|
key: 0,
|
|
27349
27364
|
modelValue: t.hotelRoomOfferRequestInternal,
|
|
27350
|
-
"onUpdate:modelValue": i[0] || (i[0] = (
|
|
27365
|
+
"onUpdate:modelValue": i[0] || (i[0] = (g) => t.hotelRoomOfferRequestInternal = g),
|
|
27351
27366
|
"is-loading": t.isFetching || !1
|
|
27352
27367
|
}, null, 8, ["modelValue", "is-loading"])) : G("", !0);
|
|
27353
27368
|
}
|
|
@@ -27449,7 +27464,7 @@ const PB = /* @__PURE__ */ Wt(BB, [["render", wB]]), ol = {
|
|
|
27449
27464
|
},
|
|
27450
27465
|
emits: ["visible"],
|
|
27451
27466
|
setup(t, { emit: i }) {
|
|
27452
|
-
const n = i, s = t, { t: r } = Vt(), u = q(!1), d = q(!1),
|
|
27467
|
+
const n = i, s = t, { t: r } = Vt(), u = q(!1), d = q(!1), g = q(!1), f = Lm(), b = z(
|
|
27453
27468
|
() => Gt(s.checkOutDate).diff(Gt(s.checkInDate), "day")
|
|
27454
27469
|
), y = z(
|
|
27455
27470
|
() => s.hotelOffer?.tags?.filter((X) => X.name.length > 30) || []
|
|
@@ -27460,7 +27475,7 @@ const PB = /* @__PURE__ */ Wt(BB, [["render", wB]]), ol = {
|
|
|
27460
27475
|
return "hotel-description-view";
|
|
27461
27476
|
}), O = z(
|
|
27462
27477
|
() => s.hotelOffer.distance ? Math.round(s.hotelOffer.distance / 1e3 * 100) / 100 : 0
|
|
27463
|
-
), B = z(() => s.hotelOffer.id), Q = z(() =>
|
|
27478
|
+
), B = z(() => s.hotelOffer.id), Q = z(() => f.$state), k = z(
|
|
27464
27479
|
() => s.hotelOffer.hotelRoomOffers[0]
|
|
27465
27480
|
), w = z(
|
|
27466
27481
|
() => Ir({
|
|
@@ -27485,13 +27500,13 @@ const PB = /* @__PURE__ */ Wt(BB, [["render", wB]]), ol = {
|
|
|
27485
27500
|
u.value = !1;
|
|
27486
27501
|
}, 500)) : (u.value = !0, Ae(() => {
|
|
27487
27502
|
d.value = !0;
|
|
27488
|
-
})) : (s.features?.[le.HotelDescriptionViewDialog] || s.features?.[le.HotelRoomOffersViewDialog]) && (
|
|
27503
|
+
})) : (s.features?.[le.HotelDescriptionViewDialog] || s.features?.[le.HotelRoomOffersViewDialog]) && (g.value = !0);
|
|
27489
27504
|
}
|
|
27490
27505
|
function D() {
|
|
27491
27506
|
window.RevolugoElements.eventBus.$emit(
|
|
27492
27507
|
It.HotelOffersItemClick,
|
|
27493
27508
|
s.hotelOffer
|
|
27494
|
-
),
|
|
27509
|
+
), g.value = !0, s.features?.[le.HotelRoomOffersViewDialog] && (d.value = !1, u.value = !1);
|
|
27495
27510
|
}
|
|
27496
27511
|
function W(X) {
|
|
27497
27512
|
X && n("visible", { id: s.hotelOffer.id });
|
|
@@ -27499,7 +27514,7 @@ const PB = /* @__PURE__ */ Wt(BB, [["render", wB]]), ol = {
|
|
|
27499
27514
|
se(() => {
|
|
27500
27515
|
s.features?.[le.HotelRoomOffersViewDialog] && window.RevolugoElements.eventBus.$on(It.BookingPolicyCreated, () => {
|
|
27501
27516
|
setTimeout(() => {
|
|
27502
|
-
|
|
27517
|
+
g.value = !1;
|
|
27503
27518
|
}, 350);
|
|
27504
27519
|
});
|
|
27505
27520
|
});
|
|
@@ -27517,8 +27532,8 @@ const PB = /* @__PURE__ */ Wt(BB, [["render", wB]]), ol = {
|
|
|
27517
27532
|
"hotel-description-view-dialog": c(() => [
|
|
27518
27533
|
C.value ? (E(), M(bc, {
|
|
27519
27534
|
key: 0,
|
|
27520
|
-
modelValue:
|
|
27521
|
-
"onUpdate:modelValue": st[1] || (st[1] = (nt) =>
|
|
27535
|
+
modelValue: g.value,
|
|
27536
|
+
"onUpdate:modelValue": st[1] || (st[1] = (nt) => g.value = nt),
|
|
27522
27537
|
attach: v(et),
|
|
27523
27538
|
class: "z-index-over-map",
|
|
27524
27539
|
fullscreen: t.features?.[v(le).DialogFullscreen],
|
|
@@ -27564,7 +27579,7 @@ const PB = /* @__PURE__ */ Wt(BB, [["render", wB]]), ol = {
|
|
|
27564
27579
|
dark: "",
|
|
27565
27580
|
icon: "",
|
|
27566
27581
|
variant: "flat",
|
|
27567
|
-
onClick: st[0] || (st[0] = (nt) =>
|
|
27582
|
+
onClick: st[0] || (st[0] = (nt) => g.value = !1)
|
|
27568
27583
|
}, {
|
|
27569
27584
|
default: c(() => [
|
|
27570
27585
|
l(yt, null, {
|
|
@@ -28403,7 +28418,7 @@ function ic(t) {
|
|
|
28403
28418
|
}
|
|
28404
28419
|
const zB = { class: "pl-3" }, xB = { class: "text-grey-darken-3 font-weight-bold" }, MB = { class: "text-grey-darken-3 font-weight-bold" }, NB = { class: "text-grey-darken-3 font-weight-bold" }, UB = { class: "text-h5 mx-sm-2 px-sm-2 mx-md-6 px-md-6 mx-lg-10 px-lg-10 mx-xl-16 px-xl-16" }, HB = { class: "pl-5 ma-0" }, VB = { class: "font-weight-bold" }, KB = { class: "font-weight-bold" };
|
|
28405
28420
|
function YB(t, i, n, s, r, u) {
|
|
28406
|
-
const d = te("VueCountdown"),
|
|
28421
|
+
const d = te("VueCountdown"), g = te("PrebookForm"), f = te("BookingPaymentForm"), b = te("HotelRoomOffersView");
|
|
28407
28422
|
return E(), M(J, { dense: "" }, {
|
|
28408
28423
|
default: c(() => [
|
|
28409
28424
|
l(yo, {
|
|
@@ -28642,7 +28657,7 @@ function YB(t, i, n, s, r, u) {
|
|
|
28642
28657
|
default: c(() => [
|
|
28643
28658
|
l(U, null, {
|
|
28644
28659
|
default: c(() => [
|
|
28645
|
-
l(
|
|
28660
|
+
l(g, At(t.prebookFormProps, {
|
|
28646
28661
|
"booking-policy-id": t.bookingPolicy?.id || "",
|
|
28647
28662
|
features: t.parsedFeatures.PrebookForm,
|
|
28648
28663
|
"hotel-room-offer": t.bookingPolicy?.hotelRoomOffer
|
|
@@ -28660,7 +28675,7 @@ function YB(t, i, n, s, r, u) {
|
|
|
28660
28675
|
default: c(() => [
|
|
28661
28676
|
l(U, null, {
|
|
28662
28677
|
default: c(() => [
|
|
28663
|
-
l(
|
|
28678
|
+
l(f, {
|
|
28664
28679
|
"payment-methods": t.booking?.paymentMethods,
|
|
28665
28680
|
token: t.booking?.token || ""
|
|
28666
28681
|
}, null, 8, ["payment-methods", "token"])
|
|
@@ -28709,7 +28724,7 @@ const tw = /* @__PURE__ */ Wt(gf, [["render", YB], ["__scopeId", "data-v-d07284a
|
|
|
28709
28724
|
...qB,
|
|
28710
28725
|
tagClasses: { type: String }
|
|
28711
28726
|
};
|
|
28712
|
-
Ug("css/revolugo.cancellationpoliciesbadge.
|
|
28727
|
+
Ug("css/revolugo.cancellationpoliciesbadge.CtXNNdEb.css");
|
|
28713
28728
|
export {
|
|
28714
28729
|
$B as B,
|
|
28715
28730
|
Rr as C,
|
|
@@ -28744,4 +28759,4 @@ export {
|
|
|
28744
28759
|
el as y,
|
|
28745
28760
|
Iv as z
|
|
28746
28761
|
};
|
|
28747
|
-
//# sourceMappingURL=revolugo.cancellationpoliciesbadge.props.
|
|
28762
|
+
//# sourceMappingURL=revolugo.cancellationpoliciesbadge.props.B5A5EeL5.min.js.map
|