@revolugo/elements 5.5.1-beta.1 → 5.5.1-beta.10
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/css/fonts.css +1 -0
- package/dist/css/revolugo.bdaterangepicker.DEh20utH.css +1 -0
- package/dist/css/revolugo.bhotelroomsdetails.4XsxkvH7.css +1 -0
- package/dist/css/revolugo.bhotelsearchbar.dwYB1gUC.css +1 -0
- package/dist/css/revolugo.bookingdetailssidebar.tDtXpaIj.css +1 -0
- package/dist/css/revolugo.bphoneinput.Kq_-XiGI.css +1 -0
- package/dist/css/revolugo.bstarrating.nzH7iii4.css +1 -0
- package/dist/css/revolugo.btag.Bdbqb_8a.css +1 -0
- package/dist/css/revolugo.common.BSIsYREh.css +1 -0
- package/dist/css/revolugo.creditcardform.BGPUxkRC.css +1 -0
- package/dist/css/revolugo.creditcardpayment.CGjlL8Fn.css +1 -0
- package/dist/css/revolugo.currencypicker.BRYsKdMu.css +1 -0
- package/dist/css/revolugo.fullbookingflow.BHV7_MhK.css +1 -0
- package/dist/css/revolugo.hotel-offer.Di9LJKMP.css +1 -0
- package/dist/css/revolugo.hoteldescriptionview.9ofE1uWG.css +1 -0
- package/dist/css/revolugo.hoteloffersmap.-ZhDcfsj.css +1 -0
- package/dist/css/revolugo.hoteloffersview.MWOmwEwv.css +1 -0
- package/dist/css/revolugo.hotelroomofferlist.DrGyKJ-m.css +1 -0
- package/dist/css/revolugo.hotelroomoffersbookingflow.DGFt0C9n.css +1 -0
- package/dist/css/revolugo.hotelroomoffersview.B8Y-2QYc.css +1 -0
- package/dist/css/revolugo.index.BMkl7a3p.css +1 -0
- package/dist/css/revolugo.index.CFW4Oklv.css +1 -0
- package/dist/css/revolugo.index.DXv5c7NS.css +1 -0
- package/dist/css/revolugo.langpicker.B3TsOwUq.css +1 -0
- package/dist/css/revolugo.parsed-height.B92--uJb.css +1 -0
- package/dist/css/revolugo.parsed-props.C3kOvm7T.css +1 -0
- package/dist/css/revolugo.prebookform.CDnZmw8F.css +1 -0
- package/dist/css/revolugo.revolugo-config.Dg8v1l3c.css +5 -0
- package/dist/css/revolugo.storybooktoolbar.CVnww0dZ.css +1 -0
- package/dist/css/revolugo.termsandconditions.DV2YnGzG.css +1 -0
- package/dist/css/revolugo.valert.BzcMswjJ.css +1 -0
- package/dist/css/revolugo.vautocomplete.OMX_yAge.css +1 -0
- package/dist/css/revolugo.vbadge.CiK_DSkI.css +1 -0
- package/dist/css/revolugo.vbtn.By46MJOU.css +1 -0
- package/dist/css/revolugo.vcard.DmB53ZNL.css +1 -0
- package/dist/css/revolugo.vchip.BdAdP6lC.css +1 -0
- package/dist/css/revolugo.vdialog.C02Cvwul.css +1 -0
- package/dist/css/revolugo.vexpansionpanelheader.B2eKo8Lo.css +1 -0
- package/dist/css/revolugo.vinput.SfhpXNi0.css +1 -0
- package/dist/css/revolugo.vitemgroup.EbHsz8Rr.css +1 -0
- package/dist/css/revolugo.vlistitem.BzwNE1YK.css +1 -0
- package/dist/css/revolugo.vmenu.BKE0IO4q.css +1 -0
- package/dist/css/revolugo.vselect.DljSkk6y.css +1 -0
- package/dist/css/revolugo.vsheet.Dtdo2Rps.css +1 -0
- package/dist/css/revolugo.vskeletonloader.BpGoaAbZ.css +1 -0
- package/dist/css/revolugo.vslidegroup.D5TIbmaw.css +1 -0
- package/dist/css/revolugo.vsnackbar.DTAXPYkr.css +1 -0
- package/dist/css/revolugo.vtextfield.BliJY6uv.css +1 -0
- package/dist/css/revolugo.vtoolbar.DQsezjcM.css +1 -0
- package/dist/css/revolugo.vtooltip.B_oOB9pj.css +1 -0
- package/dist/css/revolugo.vuetify.BpIoHlAi.css +1 -0
- package/dist/css/revolugo.webcomponentwrapper.BRZRuwZ0.css +1 -0
- package/dist/index.min.js +1 -1
- package/dist/revolugo.banktransferdetails.CDDLgiqZ.min.js +105 -0
- package/dist/revolugo.bbreakfastoptionbadge.BXp8jiFF.min.js +62 -0
- package/dist/revolugo.bdaterangepicker.D7vKynZO.min.js +1351 -0
- package/dist/revolugo.bformattedamount.DZ4lP0D2.min.js +82 -0
- package/dist/revolugo.bhotelroomsdetails._OEOxEfQ.min.js +213 -0
- package/dist/revolugo.bhotelsearchbar.D29hl2MS.min.js +446 -0
- package/dist/revolugo.booking-api-client.Drh0cRTW.min.js +7443 -0
- package/dist/revolugo.bookingdetailssidebar.Cf_orLaJ.min.js +28 -0
- package/dist/revolugo.bookingdetailssidebar.lDNB7oXF.min.js +242 -0
- package/dist/revolugo.bookingmanager.BptiDiuZ.min.js +405 -0
- package/dist/revolugo.bphoneinput.DEA12thE.min.js +1935 -0
- package/dist/revolugo.bpricesummaryskeleton.A4azxZPx.min.js +47 -0
- package/dist/revolugo.breakpoint-service.ulonvHwK.min.js +65 -0
- package/dist/revolugo.bstarrating.qzeMb2Ot.min.js +173 -0
- package/dist/revolugo.btag.fqocL5RV.min.js +68 -0
- package/dist/revolugo.cancellationpoliciesbadge.BzjXjeXq.min.js +28 -0
- package/dist/revolugo.cancellationpoliciesbadge.nq63QKAU.min.js +92 -0
- package/dist/revolugo.cancellationpolicieslist.BfiF9DHI.min.js +28 -0
- package/dist/revolugo.cancellationpolicieslist.DvAdsbLe.min.js +317 -0
- package/dist/revolugo.common.BavAKcPL.min.js +34 -0
- package/dist/revolugo.creditcardform.P3Lo1eeg.min.js +2049 -0
- package/dist/revolugo.creditcardform.i3DpOTAl.min.js +28 -0
- package/dist/revolugo.creditcardpayment.80nyDUq9.min.js +288 -0
- package/dist/revolugo.creditcardpayment.CieGjOTr.min.js +28 -0
- package/dist/revolugo.currencypicker.qFd6-iwV.min.js +122 -0
- package/dist/revolugo.currencypickerbtn.DXqfDYzb.min.js +121 -0
- package/dist/revolugo.currencypickerbtn.SL9IbI6O.min.js +28 -0
- package/dist/revolugo.dialog-attach.BQO5FkC9.min.js +27 -0
- package/dist/revolugo.en-us.BwPQZpD-.min.js +1171 -0
- package/dist/revolugo.event-bus.CYLYgD3Y.min.js +37 -0
- package/dist/revolugo.fr-fr.CV4yETNm.min.js +1177 -0
- package/dist/revolugo.fullbookingflow.BH9WYZQU.min.js +239 -0
- package/dist/revolugo.hotel-offer.DkBY7KF0.min.js +605 -0
- package/dist/revolugo.hoteldescriptionview.COEl20Dq.min.js +2174 -0
- package/dist/revolugo.hoteldescriptionview.XJOl3Oeh.min.js +28 -0
- package/dist/revolugo.hotelofferitemlayout.DxWzoHRv.min.js +64 -0
- package/dist/revolugo.hotelofferlist.C1B_9NAn.min.js +3779 -0
- package/dist/revolugo.hotelofferlist.I8kF8p6L.min.js +28 -0
- package/dist/revolugo.hotelofferrequestcreator.B9mGU5bB.min.js +225 -0
- package/dist/revolugo.hoteloffersearchmenu.DExCTnYT.min.js +54 -0
- package/dist/revolugo.hoteloffersmap.Cd0-GO8Q.min.js +8737 -0
- package/dist/revolugo.hoteloffersmap.FqqtiR5R.min.js +28 -0
- package/dist/revolugo.hoteloffersview.C9lYrm2i.min.js +157 -0
- package/dist/revolugo.hoteloffersview.CLcQG9wK.min.js +28 -0
- package/dist/revolugo.hotelroomofferlist.B436VThb.min.js +1332 -0
- package/dist/revolugo.hotelroomofferlist.uS6bGKaQ.min.js +28 -0
- package/dist/revolugo.hotelroomofferrequestcreator.Cqzw_aE0.min.js +225 -0
- package/dist/revolugo.hotelroomoffersbookingflow.CMJgMAtO.min.js +679 -0
- package/dist/revolugo.hotelroomoffersearchmenu.Dws8MLf0.min.js +38 -0
- package/dist/revolugo.hotelroomoffersearchmenu.UHKtopiD.min.js +29 -0
- package/dist/revolugo.hotelroomoffersview.-1JOr1jD.min.js +28 -0
- package/dist/revolugo.hotelroomoffersview.217ygoUj.min.js +124 -0
- package/dist/revolugo.i18n.BIDah4Hr.min.js +10901 -0
- package/dist/revolugo.index.B8RjdKfF.min.js +281 -0
- package/dist/revolugo.index.BOFNqiKi.min.js +128 -0
- package/dist/revolugo.index.BafzMKRk.min.js +13 -0
- package/dist/revolugo.index.ByALJ4Cg.min.js +270 -0
- package/dist/revolugo.index.CMpCToBI.min.js +390 -0
- package/dist/revolugo.index.CVaQfmC0.min.js +15 -0
- package/dist/revolugo.index.Ce2wa-yh.min.js +142 -0
- package/dist/revolugo.index.CfwKNM8Q.min.js +9 -0
- package/dist/revolugo.index.D7ohfZ-O.min.js +68 -0
- package/dist/revolugo.index.DKK0H_cv.min.js +161 -0
- package/dist/revolugo.index.DSbeMte7.min.js +322 -0
- package/dist/revolugo.index.Dudg2j1-.min.js +9 -0
- package/dist/revolugo.index.G0QSOBn3.min.js +42 -0
- package/dist/revolugo.index.mq4mKuqN.min.js +43 -0
- package/dist/revolugo.langpicker.DtWztNg3.min.js +103 -0
- package/dist/revolugo.langpickerbtn.CPZtzdTJ.min.js +111 -0
- package/dist/revolugo.langpickerbtn.D3ff3yft.min.js +28 -0
- package/dist/revolugo.localizedformat.C4ez1VLt.min.js +47 -0
- package/dist/revolugo.min.js +257 -7
- package/dist/revolugo.parsed-height.Bd1t0mHH.min.js +2338 -0
- package/dist/revolugo.parsed-props.B6q7Ax-9.min.js +95 -0
- package/dist/revolugo.prebookform.Bvkp_jkU.min.js +28 -0
- package/dist/revolugo.prebookform.QT7QI1LP.min.js +484 -0
- package/dist/revolugo.revolugo-config.B9n_CElG.min.js +1707 -0
- package/dist/revolugo.roominglisteditor.BCpebY3B.min.js +201 -0
- package/dist/revolugo.roominglisteditor.C4AtDc7A.min.js +28 -0
- package/dist/revolugo.sentry.CuQ4Sj_P.min.js +10989 -0
- package/dist/revolugo.store.TBV-eqIE.min.js +2497 -0
- package/dist/revolugo.storybooktoolbar.K8FrycZc.min.js +300 -0
- package/dist/revolugo.termsandconditions.DCoLgJzC.min.js +27 -0
- package/dist/revolugo.termsandconditions.DkzQmMDI.min.js +162 -0
- package/dist/revolugo.typed-mixins.CArk-fZ7.min.js +8 -0
- package/dist/revolugo.valert.tamLbGMZ.min.js +194 -0
- package/dist/revolugo.vautocomplete.BbvrGxVz.min.js +255 -0
- package/dist/revolugo.vbadge.B3P90j3E.min.js +172 -0
- package/dist/revolugo.vbtn.BNPhP-XR.min.js +286 -0
- package/dist/revolugo.vcard.ndQpNewl.min.js +80 -0
- package/dist/revolugo.vchip.DTZZJRt5.min.js +157 -0
- package/dist/revolugo.vdialog.C-Jh0Eq7.min.js +341 -0
- package/dist/revolugo.vexpansionpanelheader.DJijrIj9.min.js +263 -0
- package/dist/revolugo.vform.D7XJ7bEy.min.js +98 -0
- package/dist/revolugo.vinput.BeSsXYg9.min.js +509 -0
- package/dist/revolugo.vitemgroup.DjZ_N7Ml.min.js +168 -0
- package/dist/revolugo.vlistitem.ChmT4RKD.min.js +204 -0
- package/dist/revolugo.vmenu.CThLxAWt.min.js +349 -0
- package/dist/revolugo.vselect.BXEzrczG.min.js +859 -0
- package/dist/revolugo.vsheet.BWJwctvS.min.js +120 -0
- package/dist/revolugo.vskeletonloader.CCW1cQtD.min.js +172 -0
- package/dist/revolugo.vslidegroup.Dlwmh4Oi.min.js +650 -0
- package/dist/revolugo.vsnackbar.BGJVdHRT.min.js +178 -0
- package/dist/revolugo.vtextfield.D-kB2BBk.min.js +438 -0
- package/dist/revolugo.vtoolbar.C98lEGDc.min.js +364 -0
- package/dist/revolugo.vtooltip.M9ln6byG.min.js +168 -0
- package/dist/revolugo.vuetify.BEdap6Ni.min.js +865 -0
- package/dist/revolugo.watch-list.Bb06Iz6D.min.js +44 -0
- package/dist/revolugo.webcomponentwrapper.Dhr34jp1.min.js +783 -0
- package/package.json +3 -5
- package/dist/css/revolugo.0.min.css +0 -5
- package/dist/css/revolugo.1.min.css +0 -1
- package/dist/css/revolugo.11.min.css +0 -1
- package/dist/css/revolugo.12.min.css +0 -1
- package/dist/css/revolugo.13.min.css +0 -1
- package/dist/css/revolugo.14.min.css +0 -1
- package/dist/css/revolugo.15.min.css +0 -1
- package/dist/css/revolugo.16.min.css +0 -1
- package/dist/css/revolugo.17.min.css +0 -1
- package/dist/css/revolugo.18.min.css +0 -1
- package/dist/css/revolugo.19.min.css +0 -1
- package/dist/css/revolugo.2.min.css +0 -1
- package/dist/css/revolugo.20.min.css +0 -1
- package/dist/css/revolugo.21.min.css +0 -1
- package/dist/css/revolugo.22.min.css +0 -1
- package/dist/css/revolugo.23.min.css +0 -1
- package/dist/css/revolugo.24.min.css +0 -1
- package/dist/css/revolugo.25.min.css +0 -1
- package/dist/css/revolugo.26.min.css +0 -1
- package/dist/css/revolugo.27.min.css +0 -1
- package/dist/css/revolugo.28.min.css +0 -1
- package/dist/css/revolugo.29.min.css +0 -1
- package/dist/css/revolugo.30.min.css +0 -1
- package/dist/css/revolugo.31.min.css +0 -1
- package/dist/css/revolugo.32.min.css +0 -1
- package/dist/css/revolugo.33.min.css +0 -1
- package/dist/css/revolugo.34.min.css +0 -1
- package/dist/css/revolugo.4.min.css +0 -1
- package/dist/css/revolugo.5.min.css +0 -1
- package/dist/css/revolugo.6.min.css +0 -1
- package/dist/css/revolugo.7.min.css +0 -1
- package/dist/css/revolugo.fonts.min.css +0 -1
- package/dist/fonts/amenities.2aad1d12.woff +0 -0
- package/dist/fonts/amenities.9adae269.ttf +0 -0
- package/dist/fonts/amenities.a9bf50f8.svg +0 -42
- package/dist/fonts/amenities.bd6b3a4a.eot +0 -0
- package/dist/fonts/beds.2b8e38c8.svg +0 -12
- package/dist/img/apst.c1092975.png +0 -0
- package/dist/img/apst.ec7669f2.png +0 -0
- package/dist/img/atout-france.72107e30.png +0 -0
- package/dist/img/atout-france.df038f22.png +0 -0
- package/dist/img/revolugo.179c459d.png +0 -0
- package/dist/img/revolugo.e0879dcc.png +0 -0
- package/dist/img/stripe.405543e2.png +0 -0
- package/dist/img/stripe.c3e16f9f.png +0 -0
- package/dist/revolugo.0.min.js +0 -18
- package/dist/revolugo.1.min.js +0 -1
- package/dist/revolugo.11.min.js +0 -134
- package/dist/revolugo.12.min.js +0 -19
- package/dist/revolugo.13.min.js +0 -14
- package/dist/revolugo.14.min.js +0 -19
- package/dist/revolugo.15.min.js +0 -139
- package/dist/revolugo.16.min.js +0 -14
- package/dist/revolugo.17.min.js +0 -14
- package/dist/revolugo.18.min.js +0 -1
- package/dist/revolugo.19.min.js +0 -1
- package/dist/revolugo.2.min.js +0 -1
- package/dist/revolugo.20.min.js +0 -1
- package/dist/revolugo.21.min.js +0 -116
- package/dist/revolugo.22.min.js +0 -1
- package/dist/revolugo.23.min.js +0 -1
- package/dist/revolugo.24.min.js +0 -1
- package/dist/revolugo.25.min.js +0 -1
- package/dist/revolugo.26.min.js +0 -1
- package/dist/revolugo.27.min.js +0 -1
- package/dist/revolugo.28.min.js +0 -116
- package/dist/revolugo.29.min.js +0 -1
- package/dist/revolugo.30.min.js +0 -1
- package/dist/revolugo.31.min.js +0 -1
- package/dist/revolugo.32.min.js +0 -1
- package/dist/revolugo.33.min.js +0 -1
- package/dist/revolugo.34.min.js +0 -1
- package/dist/revolugo.35.min.js +0 -1
- package/dist/revolugo.36.min.js +0 -1
- package/dist/revolugo.4.min.js +0 -1
- package/dist/revolugo.5.min.js +0 -1
- package/dist/revolugo.6.min.js +0 -1
- package/dist/revolugo.7.min.js +0 -1
- package/dist/revolugo.en-US.min.js +0 -1
- package/dist/revolugo.fonts.min.js +0 -1
- package/dist/revolugo.fr-FR.min.js +0 -1
@@ -0,0 +1,865 @@
|
|
1
|
+
import { k as U, b as oe, V as se, e as We, f as $e, l as Ie } from "./revolugo.revolugo-config.B9n_CElG.min.js";
|
2
|
+
import { V as ae, h as Ne, m as Me, p as De, i as He } from "./revolugo.i18n.BIDah4Hr.min.js";
|
3
|
+
function Be(e) {
|
4
|
+
try {
|
5
|
+
if (typeof document < "u") {
|
6
|
+
window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
|
7
|
+
sheets: [],
|
8
|
+
components: []
|
9
|
+
};
|
10
|
+
const t = import.meta.url, i = t.slice(0, t.lastIndexOf("/") + 1) + e;
|
11
|
+
window.REVOLUGO_ELEMENTS_STYLES.sheets.push(i);
|
12
|
+
for (const n of REVOLUGO_ELEMENTS_STYLES.components)
|
13
|
+
n(i);
|
14
|
+
if (e.indexOf("fonts") >= 0) {
|
15
|
+
const n = document.createElement("link");
|
16
|
+
n.rel = "stylesheet", linK.href = i, document.head.appendChild(n);
|
17
|
+
}
|
18
|
+
}
|
19
|
+
} catch (t) {
|
20
|
+
console.error("[revolugo-elements] ", t);
|
21
|
+
}
|
22
|
+
}
|
23
|
+
function Xe(e, t, i) {
|
24
|
+
if (typeof window > "u" || !("IntersectionObserver" in window))
|
25
|
+
return;
|
26
|
+
const n = t.modifiers || {}, r = t.value, {
|
27
|
+
handler: o,
|
28
|
+
options: s
|
29
|
+
} = typeof r == "object" ? r : {
|
30
|
+
handler: r,
|
31
|
+
options: {}
|
32
|
+
}, a = new IntersectionObserver((v = [], d) => {
|
33
|
+
var p;
|
34
|
+
const u = (p = e._observe) === null || p === void 0 ? void 0 : p[i.context._uid];
|
35
|
+
if (!u)
|
36
|
+
return;
|
37
|
+
const f = v.some((B) => B.isIntersecting);
|
38
|
+
o && (!n.quiet || u.init) && (!n.once || f || u.init) && o(v, d, f), f && n.once ? ce(e, t, i) : u.init = !0;
|
39
|
+
}, s);
|
40
|
+
e._observe = Object(e._observe), e._observe[i.context._uid] = {
|
41
|
+
init: !1,
|
42
|
+
observer: a
|
43
|
+
}, a.observe(e);
|
44
|
+
}
|
45
|
+
function ce(e, t, i) {
|
46
|
+
var n;
|
47
|
+
const r = (n = e._observe) === null || n === void 0 ? void 0 : n[i.context._uid];
|
48
|
+
r && (r.observer.unobserve(e), delete e._observe[i.context._uid]);
|
49
|
+
}
|
50
|
+
const Ae = {
|
51
|
+
inserted: Xe,
|
52
|
+
unbind: ce
|
53
|
+
};
|
54
|
+
function ue(e) {
|
55
|
+
if (typeof e.getRootNode != "function") {
|
56
|
+
for (; e.parentNode; )
|
57
|
+
e = e.parentNode;
|
58
|
+
return e !== document ? null : document;
|
59
|
+
}
|
60
|
+
const t = e.getRootNode();
|
61
|
+
return t !== document && t.getRootNode({
|
62
|
+
composed: !0
|
63
|
+
}) !== document ? null : t;
|
64
|
+
}
|
65
|
+
function Ve() {
|
66
|
+
return !0;
|
67
|
+
}
|
68
|
+
function de(e, t, i) {
|
69
|
+
if (!e || ve(e, i) === !1)
|
70
|
+
return !1;
|
71
|
+
const n = ue(t);
|
72
|
+
if (typeof ShadowRoot < "u" && n instanceof ShadowRoot && n.host === e.target)
|
73
|
+
return !1;
|
74
|
+
const r = (typeof i.value == "object" && i.value.include || (() => []))();
|
75
|
+
return r.push(t), !r.some((o) => o.contains(e.target));
|
76
|
+
}
|
77
|
+
function ve(e, t) {
|
78
|
+
return (typeof t.value == "object" && t.value.closeConditional || Ve)(e);
|
79
|
+
}
|
80
|
+
function Ye(e, t, i) {
|
81
|
+
const n = typeof i.value == "function" ? i.value : i.value.handler;
|
82
|
+
t._clickOutside.lastMousedownWasOutside && de(e, t, i) && setTimeout(() => {
|
83
|
+
ve(e, i) && n && n(e);
|
84
|
+
}, 0);
|
85
|
+
}
|
86
|
+
function q(e, t) {
|
87
|
+
const i = ue(e);
|
88
|
+
t(document), typeof ShadowRoot < "u" && i instanceof ShadowRoot && t(i);
|
89
|
+
}
|
90
|
+
const Pe = {
|
91
|
+
// [data-app] may not be found
|
92
|
+
// if using bind, inserted makes
|
93
|
+
// sure that the root element is
|
94
|
+
// available, iOS does not support
|
95
|
+
// clicks on body
|
96
|
+
inserted(e, t, i) {
|
97
|
+
const n = (o) => Ye(o, e, t), r = (o) => {
|
98
|
+
e._clickOutside.lastMousedownWasOutside = de(o, e, t);
|
99
|
+
};
|
100
|
+
q(e, (o) => {
|
101
|
+
o.addEventListener("click", n, !0), o.addEventListener("mousedown", r, !0);
|
102
|
+
}), e._clickOutside || (e._clickOutside = {
|
103
|
+
lastMousedownWasOutside: !0
|
104
|
+
}), e._clickOutside[i.context._uid] = {
|
105
|
+
onClick: n,
|
106
|
+
onMousedown: r
|
107
|
+
};
|
108
|
+
},
|
109
|
+
unbind(e, t, i) {
|
110
|
+
e._clickOutside && (q(e, (n) => {
|
111
|
+
var r;
|
112
|
+
if (!n || !(!((r = e._clickOutside) === null || r === void 0) && r[i.context._uid]))
|
113
|
+
return;
|
114
|
+
const {
|
115
|
+
onClick: o,
|
116
|
+
onMousedown: s
|
117
|
+
} = e._clickOutside[i.context._uid];
|
118
|
+
n.removeEventListener("click", o, !0), n.removeEventListener("mousedown", s, !0);
|
119
|
+
}), delete e._clickOutside[i.context._uid]);
|
120
|
+
}
|
121
|
+
};
|
122
|
+
function Ue(e, t, i) {
|
123
|
+
const n = t.value, r = t.options || {
|
124
|
+
passive: !0
|
125
|
+
};
|
126
|
+
window.addEventListener("resize", n, r), e._onResize = Object(e._onResize), e._onResize[i.context._uid] = {
|
127
|
+
callback: n,
|
128
|
+
options: r
|
129
|
+
}, (!t.modifiers || !t.modifiers.quiet) && n();
|
130
|
+
}
|
131
|
+
function qe(e, t, i) {
|
132
|
+
var n;
|
133
|
+
if (!(!((n = e._onResize) === null || n === void 0) && n[i.context._uid]))
|
134
|
+
return;
|
135
|
+
const {
|
136
|
+
callback: r,
|
137
|
+
options: o
|
138
|
+
} = e._onResize[i.context._uid];
|
139
|
+
window.removeEventListener("resize", r, o), delete e._onResize[i.context._uid];
|
140
|
+
}
|
141
|
+
const Fe = {
|
142
|
+
inserted: Ue,
|
143
|
+
unbind: qe
|
144
|
+
}, Dt = Fe, je = 80;
|
145
|
+
function F(e, t) {
|
146
|
+
e.style.transform = t, e.style.webkitTransform = t;
|
147
|
+
}
|
148
|
+
function M(e) {
|
149
|
+
return e.constructor.name === "TouchEvent";
|
150
|
+
}
|
151
|
+
function he(e) {
|
152
|
+
return e.constructor.name === "KeyboardEvent";
|
153
|
+
}
|
154
|
+
const Ge = (e, t, i = {}) => {
|
155
|
+
let n = 0, r = 0;
|
156
|
+
if (!he(e)) {
|
157
|
+
const u = t.getBoundingClientRect(), f = M(e) ? e.touches[e.touches.length - 1] : e;
|
158
|
+
n = f.clientX - u.left, r = f.clientY - u.top;
|
159
|
+
}
|
160
|
+
let o = 0, s = 0.3;
|
161
|
+
t._ripple && t._ripple.circle ? (s = 0.15, o = t.clientWidth / 2, o = i.center ? o : o + Math.sqrt((n - o) ** 2 + (r - o) ** 2) / 4) : o = Math.sqrt(t.clientWidth ** 2 + t.clientHeight ** 2) / 2;
|
162
|
+
const a = `${(t.clientWidth - o * 2) / 2}px`, v = `${(t.clientHeight - o * 2) / 2}px`, d = i.center ? a : `${n - o}px`, p = i.center ? v : `${r - o}px`;
|
163
|
+
return {
|
164
|
+
radius: o,
|
165
|
+
scale: s,
|
166
|
+
x: d,
|
167
|
+
y: p,
|
168
|
+
centerX: a,
|
169
|
+
centerY: v
|
170
|
+
};
|
171
|
+
}, C = {
|
172
|
+
/* eslint-disable max-statements */
|
173
|
+
show(e, t, i = {}) {
|
174
|
+
if (!t._ripple || !t._ripple.enabled)
|
175
|
+
return;
|
176
|
+
const n = document.createElement("span"), r = document.createElement("span");
|
177
|
+
n.appendChild(r), n.className = "v-ripple__container", i.class && (n.className += ` ${i.class}`);
|
178
|
+
const {
|
179
|
+
radius: o,
|
180
|
+
scale: s,
|
181
|
+
x: a,
|
182
|
+
y: v,
|
183
|
+
centerX: d,
|
184
|
+
centerY: p
|
185
|
+
} = Ge(e, t, i), u = `${o * 2}px`;
|
186
|
+
r.className = "v-ripple__animation", r.style.width = u, r.style.height = u, t.appendChild(n);
|
187
|
+
const f = window.getComputedStyle(t);
|
188
|
+
f && f.position === "static" && (t.style.position = "relative", t.dataset.previousPosition = "static"), r.classList.add("v-ripple__animation--enter"), r.classList.add("v-ripple__animation--visible"), F(r, `translate(${a}, ${v}) scale3d(${s},${s},${s})`), r.dataset.activated = String(performance.now()), setTimeout(() => {
|
189
|
+
r.classList.remove("v-ripple__animation--enter"), r.classList.add("v-ripple__animation--in"), F(r, `translate(${d}, ${p}) scale3d(1,1,1)`);
|
190
|
+
}, 0);
|
191
|
+
},
|
192
|
+
hide(e) {
|
193
|
+
if (!e || !e._ripple || !e._ripple.enabled)
|
194
|
+
return;
|
195
|
+
const t = e.getElementsByClassName("v-ripple__animation");
|
196
|
+
if (t.length === 0)
|
197
|
+
return;
|
198
|
+
const i = t[t.length - 1];
|
199
|
+
if (i.dataset.isHiding)
|
200
|
+
return;
|
201
|
+
i.dataset.isHiding = "true";
|
202
|
+
const n = performance.now() - Number(i.dataset.activated), r = Math.max(250 - n, 0);
|
203
|
+
setTimeout(() => {
|
204
|
+
i.classList.remove("v-ripple__animation--in"), i.classList.add("v-ripple__animation--out"), setTimeout(() => {
|
205
|
+
var o;
|
206
|
+
e.getElementsByClassName("v-ripple__animation").length === 1 && e.dataset.previousPosition && (e.style.position = e.dataset.previousPosition, delete e.dataset.previousPosition), ((o = i.parentNode) === null || o === void 0 ? void 0 : o.parentNode) === e && e.removeChild(i.parentNode);
|
207
|
+
}, 300);
|
208
|
+
}, r);
|
209
|
+
}
|
210
|
+
};
|
211
|
+
function le(e) {
|
212
|
+
return typeof e > "u" || !!e;
|
213
|
+
}
|
214
|
+
function _(e) {
|
215
|
+
const t = {}, i = e.currentTarget;
|
216
|
+
if (!(!i || !i._ripple || i._ripple.touched || e.rippleStop)) {
|
217
|
+
if (e.rippleStop = !0, M(e))
|
218
|
+
i._ripple.touched = !0, i._ripple.isTouch = !0;
|
219
|
+
else if (i._ripple.isTouch)
|
220
|
+
return;
|
221
|
+
if (t.center = i._ripple.centered || he(e), i._ripple.class && (t.class = i._ripple.class), M(e)) {
|
222
|
+
if (i._ripple.showTimerCommit)
|
223
|
+
return;
|
224
|
+
i._ripple.showTimerCommit = () => {
|
225
|
+
C.show(e, i, t);
|
226
|
+
}, i._ripple.showTimer = window.setTimeout(() => {
|
227
|
+
i && i._ripple && i._ripple.showTimerCommit && (i._ripple.showTimerCommit(), i._ripple.showTimerCommit = null);
|
228
|
+
}, je);
|
229
|
+
} else
|
230
|
+
C.show(e, i, t);
|
231
|
+
}
|
232
|
+
}
|
233
|
+
function h(e) {
|
234
|
+
const t = e.currentTarget;
|
235
|
+
if (!(!t || !t._ripple)) {
|
236
|
+
if (window.clearTimeout(t._ripple.showTimer), e.type === "touchend" && t._ripple.showTimerCommit) {
|
237
|
+
t._ripple.showTimerCommit(), t._ripple.showTimerCommit = null, t._ripple.showTimer = setTimeout(() => {
|
238
|
+
h(e);
|
239
|
+
});
|
240
|
+
return;
|
241
|
+
}
|
242
|
+
window.setTimeout(() => {
|
243
|
+
t._ripple && (t._ripple.touched = !1);
|
244
|
+
}), C.hide(t);
|
245
|
+
}
|
246
|
+
}
|
247
|
+
function pe(e) {
|
248
|
+
const t = e.currentTarget;
|
249
|
+
!t || !t._ripple || (t._ripple.showTimerCommit && (t._ripple.showTimerCommit = null), window.clearTimeout(t._ripple.showTimer));
|
250
|
+
}
|
251
|
+
let k = !1;
|
252
|
+
function fe(e) {
|
253
|
+
!k && (e.keyCode === U.enter || e.keyCode === U.space) && (k = !0, _(e));
|
254
|
+
}
|
255
|
+
function be(e) {
|
256
|
+
k = !1, h(e);
|
257
|
+
}
|
258
|
+
function me(e) {
|
259
|
+
k === !0 && (k = !1, h(e));
|
260
|
+
}
|
261
|
+
function ge(e, t, i) {
|
262
|
+
const n = le(t.value);
|
263
|
+
n || C.hide(e), e._ripple = e._ripple || {}, e._ripple.enabled = n;
|
264
|
+
const r = t.value || {};
|
265
|
+
r.center && (e._ripple.centered = !0), r.class && (e._ripple.class = t.value.class), r.circle && (e._ripple.circle = r.circle), n && !i ? (e.addEventListener("touchstart", _, {
|
266
|
+
passive: !0
|
267
|
+
}), e.addEventListener("touchend", h, {
|
268
|
+
passive: !0
|
269
|
+
}), e.addEventListener("touchmove", pe, {
|
270
|
+
passive: !0
|
271
|
+
}), e.addEventListener("touchcancel", h), e.addEventListener("mousedown", _), e.addEventListener("mouseup", h), e.addEventListener("mouseleave", h), e.addEventListener("keydown", fe), e.addEventListener("keyup", be), e.addEventListener("blur", me), e.addEventListener("dragstart", h, {
|
272
|
+
passive: !0
|
273
|
+
})) : !n && i && Oe(e);
|
274
|
+
}
|
275
|
+
function Oe(e) {
|
276
|
+
e.removeEventListener("mousedown", _), e.removeEventListener("touchstart", _), e.removeEventListener("touchend", h), e.removeEventListener("touchmove", pe), e.removeEventListener("touchcancel", h), e.removeEventListener("mouseup", h), e.removeEventListener("mouseleave", h), e.removeEventListener("keydown", fe), e.removeEventListener("keyup", be), e.removeEventListener("dragstart", h), e.removeEventListener("blur", me);
|
277
|
+
}
|
278
|
+
function Ke(e, t, i) {
|
279
|
+
ge(e, t, !1);
|
280
|
+
}
|
281
|
+
function Je(e) {
|
282
|
+
delete e._ripple, Oe(e);
|
283
|
+
}
|
284
|
+
function Qe(e, t) {
|
285
|
+
if (t.value === t.oldValue)
|
286
|
+
return;
|
287
|
+
const i = le(t.oldValue);
|
288
|
+
ge(e, t, i);
|
289
|
+
}
|
290
|
+
const Ze = {
|
291
|
+
bind: Ke,
|
292
|
+
unbind: Je,
|
293
|
+
update: Qe
|
294
|
+
}, Ht = Ze, et = (e) => {
|
295
|
+
const {
|
296
|
+
touchstartX: t,
|
297
|
+
touchendX: i,
|
298
|
+
touchstartY: n,
|
299
|
+
touchendY: r
|
300
|
+
} = e, o = 0.5, s = 16;
|
301
|
+
e.offsetX = i - t, e.offsetY = r - n, Math.abs(e.offsetY) < o * Math.abs(e.offsetX) && (e.left && i < t - s && e.left(e), e.right && i > t + s && e.right(e)), Math.abs(e.offsetX) < o * Math.abs(e.offsetY) && (e.up && r < n - s && e.up(e), e.down && r > n + s && e.down(e));
|
302
|
+
};
|
303
|
+
function tt(e, t) {
|
304
|
+
const i = e.changedTouches[0];
|
305
|
+
t.touchstartX = i.clientX, t.touchstartY = i.clientY, t.start && t.start(Object.assign(e, t));
|
306
|
+
}
|
307
|
+
function it(e, t) {
|
308
|
+
const i = e.changedTouches[0];
|
309
|
+
t.touchendX = i.clientX, t.touchendY = i.clientY, t.end && t.end(Object.assign(e, t)), et(t);
|
310
|
+
}
|
311
|
+
function nt(e, t) {
|
312
|
+
const i = e.changedTouches[0];
|
313
|
+
t.touchmoveX = i.clientX, t.touchmoveY = i.clientY, t.move && t.move(Object.assign(e, t));
|
314
|
+
}
|
315
|
+
function rt(e) {
|
316
|
+
const t = {
|
317
|
+
touchstartX: 0,
|
318
|
+
touchstartY: 0,
|
319
|
+
touchendX: 0,
|
320
|
+
touchendY: 0,
|
321
|
+
touchmoveX: 0,
|
322
|
+
touchmoveY: 0,
|
323
|
+
offsetX: 0,
|
324
|
+
offsetY: 0,
|
325
|
+
left: e.left,
|
326
|
+
right: e.right,
|
327
|
+
up: e.up,
|
328
|
+
down: e.down,
|
329
|
+
start: e.start,
|
330
|
+
move: e.move,
|
331
|
+
end: e.end
|
332
|
+
};
|
333
|
+
return {
|
334
|
+
touchstart: (i) => tt(i, t),
|
335
|
+
touchend: (i) => it(i, t),
|
336
|
+
touchmove: (i) => nt(i, t)
|
337
|
+
};
|
338
|
+
}
|
339
|
+
function ot(e, t, i) {
|
340
|
+
const n = t.value, r = n.parent ? e.parentElement : e, o = n.options || {
|
341
|
+
passive: !0
|
342
|
+
};
|
343
|
+
if (!r)
|
344
|
+
return;
|
345
|
+
const s = rt(t.value);
|
346
|
+
r._touchHandlers = Object(r._touchHandlers), r._touchHandlers[i.context._uid] = s, oe(s).forEach((a) => {
|
347
|
+
r.addEventListener(a, s[a], o);
|
348
|
+
});
|
349
|
+
}
|
350
|
+
function st(e, t, i) {
|
351
|
+
const n = t.value.parent ? e.parentElement : e;
|
352
|
+
if (!n || !n._touchHandlers)
|
353
|
+
return;
|
354
|
+
const r = n._touchHandlers[i.context._uid];
|
355
|
+
oe(r).forEach((o) => {
|
356
|
+
n.removeEventListener(o, r[o]);
|
357
|
+
}), delete n._touchHandlers[i.context._uid];
|
358
|
+
}
|
359
|
+
const at = {
|
360
|
+
inserted: ot,
|
361
|
+
unbind: st
|
362
|
+
}, Xt = at;
|
363
|
+
var m = [], ct = function() {
|
364
|
+
return m.some(function(e) {
|
365
|
+
return e.activeTargets.length > 0;
|
366
|
+
});
|
367
|
+
}, ut = function() {
|
368
|
+
return m.some(function(e) {
|
369
|
+
return e.skippedTargets.length > 0;
|
370
|
+
});
|
371
|
+
}, j = "ResizeObserver loop completed with undelivered notifications.", dt = function() {
|
372
|
+
var e;
|
373
|
+
typeof ErrorEvent == "function" ? e = new ErrorEvent("error", {
|
374
|
+
message: j
|
375
|
+
}) : (e = document.createEvent("Event"), e.initEvent("error", !1, !1), e.message = j), window.dispatchEvent(e);
|
376
|
+
}, y;
|
377
|
+
(function(e) {
|
378
|
+
e.BORDER_BOX = "border-box", e.CONTENT_BOX = "content-box", e.DEVICE_PIXEL_CONTENT_BOX = "device-pixel-content-box";
|
379
|
+
})(y || (y = {}));
|
380
|
+
var g = function(e) {
|
381
|
+
return Object.freeze(e);
|
382
|
+
}, vt = /* @__PURE__ */ function() {
|
383
|
+
function e(t, i) {
|
384
|
+
this.inlineSize = t, this.blockSize = i, g(this);
|
385
|
+
}
|
386
|
+
return e;
|
387
|
+
}(), Ee = function() {
|
388
|
+
function e(t, i, n, r) {
|
389
|
+
return this.x = t, this.y = i, this.width = n, this.height = r, this.top = this.y, this.left = this.x, this.bottom = this.top + this.height, this.right = this.left + this.width, g(this);
|
390
|
+
}
|
391
|
+
return e.prototype.toJSON = function() {
|
392
|
+
var t = this, i = t.x, n = t.y, r = t.top, o = t.right, s = t.bottom, a = t.left, v = t.width, d = t.height;
|
393
|
+
return { x: i, y: n, top: r, right: o, bottom: s, left: a, width: v, height: d };
|
394
|
+
}, e.fromRect = function(t) {
|
395
|
+
return new e(t.x, t.y, t.width, t.height);
|
396
|
+
}, e;
|
397
|
+
}(), H = function(e) {
|
398
|
+
return e instanceof SVGElement && "getBBox" in e;
|
399
|
+
}, _e = function(e) {
|
400
|
+
if (H(e)) {
|
401
|
+
var t = e.getBBox(), i = t.width, n = t.height;
|
402
|
+
return !i && !n;
|
403
|
+
}
|
404
|
+
var r = e, o = r.offsetWidth, s = r.offsetHeight;
|
405
|
+
return !(o || s || e.getClientRects().length);
|
406
|
+
}, G = function(e) {
|
407
|
+
var t;
|
408
|
+
if (e instanceof Element)
|
409
|
+
return !0;
|
410
|
+
var i = (t = e == null ? void 0 : e.ownerDocument) === null || t === void 0 ? void 0 : t.defaultView;
|
411
|
+
return !!(i && e instanceof i.Element);
|
412
|
+
}, ht = function(e) {
|
413
|
+
switch (e.tagName) {
|
414
|
+
case "INPUT":
|
415
|
+
if (e.type !== "image")
|
416
|
+
break;
|
417
|
+
case "VIDEO":
|
418
|
+
case "AUDIO":
|
419
|
+
case "EMBED":
|
420
|
+
case "OBJECT":
|
421
|
+
case "CANVAS":
|
422
|
+
case "IFRAME":
|
423
|
+
case "IMG":
|
424
|
+
return !0;
|
425
|
+
}
|
426
|
+
return !1;
|
427
|
+
}, E = typeof window < "u" ? window : {}, T = /* @__PURE__ */ new WeakMap(), K = /auto|scroll/, lt = /^tb|vertical/, pt = /msie|trident/i.test(E.navigator && E.navigator.userAgent), b = function(e) {
|
428
|
+
return parseFloat(e || "0");
|
429
|
+
}, O = function(e, t, i) {
|
430
|
+
return e === void 0 && (e = 0), t === void 0 && (t = 0), i === void 0 && (i = !1), new vt((i ? t : e) || 0, (i ? e : t) || 0);
|
431
|
+
}, J = g({
|
432
|
+
devicePixelContentBoxSize: O(),
|
433
|
+
borderBoxSize: O(),
|
434
|
+
contentBoxSize: O(),
|
435
|
+
contentRect: new Ee(0, 0, 0, 0)
|
436
|
+
}), ke = function(e, t) {
|
437
|
+
if (t === void 0 && (t = !1), T.has(e) && !t)
|
438
|
+
return T.get(e);
|
439
|
+
if (_e(e))
|
440
|
+
return T.set(e, J), J;
|
441
|
+
var i = getComputedStyle(e), n = H(e) && e.ownerSVGElement && e.getBBox(), r = !pt && i.boxSizing === "border-box", o = lt.test(i.writingMode || ""), s = !n && K.test(i.overflowY || ""), a = !n && K.test(i.overflowX || ""), v = n ? 0 : b(i.paddingTop), d = n ? 0 : b(i.paddingRight), p = n ? 0 : b(i.paddingBottom), u = n ? 0 : b(i.paddingLeft), f = n ? 0 : b(i.borderTopWidth), B = n ? 0 : b(i.borderRightWidth), Te = n ? 0 : b(i.borderBottomWidth), Re = n ? 0 : b(i.borderLeftWidth), X = u + d, A = v + p, W = Re + B, $ = f + Te, V = a ? e.offsetHeight - $ - e.clientHeight : 0, Y = s ? e.offsetWidth - W - e.clientWidth : 0, ze = r ? X + W : 0, Se = r ? A + $ : 0, x = n ? n.width : b(i.width) - ze - Y, w = n ? n.height : b(i.height) - Se - V, Le = x + X + Y + W, Ce = w + A + V + $, P = g({
|
442
|
+
devicePixelContentBoxSize: O(Math.round(x * devicePixelRatio), Math.round(w * devicePixelRatio), o),
|
443
|
+
borderBoxSize: O(Le, Ce, o),
|
444
|
+
contentBoxSize: O(x, w, o),
|
445
|
+
contentRect: new Ee(u, v, x, w)
|
446
|
+
});
|
447
|
+
return T.set(e, P), P;
|
448
|
+
}, ye = function(e, t, i) {
|
449
|
+
var n = ke(e, i), r = n.borderBoxSize, o = n.contentBoxSize, s = n.devicePixelContentBoxSize;
|
450
|
+
switch (t) {
|
451
|
+
case y.DEVICE_PIXEL_CONTENT_BOX:
|
452
|
+
return s;
|
453
|
+
case y.BORDER_BOX:
|
454
|
+
return r;
|
455
|
+
default:
|
456
|
+
return o;
|
457
|
+
}
|
458
|
+
}, ft = /* @__PURE__ */ function() {
|
459
|
+
function e(t) {
|
460
|
+
var i = ke(t);
|
461
|
+
this.target = t, this.contentRect = i.contentRect, this.borderBoxSize = g([i.borderBoxSize]), this.contentBoxSize = g([i.contentBoxSize]), this.devicePixelContentBoxSize = g([i.devicePixelContentBoxSize]);
|
462
|
+
}
|
463
|
+
return e;
|
464
|
+
}(), xe = function(e) {
|
465
|
+
if (_e(e))
|
466
|
+
return 1 / 0;
|
467
|
+
for (var t = 0, i = e.parentNode; i; )
|
468
|
+
t += 1, i = i.parentNode;
|
469
|
+
return t;
|
470
|
+
}, bt = function() {
|
471
|
+
var e = 1 / 0, t = [];
|
472
|
+
m.forEach(function(s) {
|
473
|
+
if (s.activeTargets.length !== 0) {
|
474
|
+
var a = [];
|
475
|
+
s.activeTargets.forEach(function(d) {
|
476
|
+
var p = new ft(d.target), u = xe(d.target);
|
477
|
+
a.push(p), d.lastReportedSize = ye(d.target, d.observedBox), u < e && (e = u);
|
478
|
+
}), t.push(function() {
|
479
|
+
s.callback.call(s.observer, a, s.observer);
|
480
|
+
}), s.activeTargets.splice(0, s.activeTargets.length);
|
481
|
+
}
|
482
|
+
});
|
483
|
+
for (var i = 0, n = t; i < n.length; i++) {
|
484
|
+
var r = n[i];
|
485
|
+
r();
|
486
|
+
}
|
487
|
+
return e;
|
488
|
+
}, Q = function(e) {
|
489
|
+
m.forEach(function(i) {
|
490
|
+
i.activeTargets.splice(0, i.activeTargets.length), i.skippedTargets.splice(0, i.skippedTargets.length), i.observationTargets.forEach(function(r) {
|
491
|
+
r.isActive() && (xe(r.target) > e ? i.activeTargets.push(r) : i.skippedTargets.push(r));
|
492
|
+
});
|
493
|
+
});
|
494
|
+
}, mt = function() {
|
495
|
+
var e = 0;
|
496
|
+
for (Q(e); ct(); )
|
497
|
+
e = bt(), Q(e);
|
498
|
+
return ut() && dt(), e > 0;
|
499
|
+
}, I, we = [], gt = function() {
|
500
|
+
return we.splice(0).forEach(function(e) {
|
501
|
+
return e();
|
502
|
+
});
|
503
|
+
}, Ot = function(e) {
|
504
|
+
if (!I) {
|
505
|
+
var t = 0, i = document.createTextNode(""), n = { characterData: !0 };
|
506
|
+
new MutationObserver(function() {
|
507
|
+
return gt();
|
508
|
+
}).observe(i, n), I = function() {
|
509
|
+
i.textContent = "".concat(t ? t-- : t++);
|
510
|
+
};
|
511
|
+
}
|
512
|
+
we.push(e), I();
|
513
|
+
}, Et = function(e) {
|
514
|
+
Ot(function() {
|
515
|
+
requestAnimationFrame(e);
|
516
|
+
});
|
517
|
+
}, L = 0, _t = function() {
|
518
|
+
return !!L;
|
519
|
+
}, kt = 250, yt = { attributes: !0, characterData: !0, childList: !0, subtree: !0 }, Z = [
|
520
|
+
"resize",
|
521
|
+
"load",
|
522
|
+
"transitionend",
|
523
|
+
"animationend",
|
524
|
+
"animationstart",
|
525
|
+
"animationiteration",
|
526
|
+
"keyup",
|
527
|
+
"keydown",
|
528
|
+
"mouseup",
|
529
|
+
"mousedown",
|
530
|
+
"mouseover",
|
531
|
+
"mouseout",
|
532
|
+
"blur",
|
533
|
+
"focus"
|
534
|
+
], ee = function(e) {
|
535
|
+
return e === void 0 && (e = 0), Date.now() + e;
|
536
|
+
}, N = !1, xt = function() {
|
537
|
+
function e() {
|
538
|
+
var t = this;
|
539
|
+
this.stopped = !0, this.listener = function() {
|
540
|
+
return t.schedule();
|
541
|
+
};
|
542
|
+
}
|
543
|
+
return e.prototype.run = function(t) {
|
544
|
+
var i = this;
|
545
|
+
if (t === void 0 && (t = kt), !N) {
|
546
|
+
N = !0;
|
547
|
+
var n = ee(t);
|
548
|
+
Et(function() {
|
549
|
+
var r = !1;
|
550
|
+
try {
|
551
|
+
r = mt();
|
552
|
+
} finally {
|
553
|
+
if (N = !1, t = n - ee(), !_t())
|
554
|
+
return;
|
555
|
+
r ? i.run(1e3) : t > 0 ? i.run(t) : i.start();
|
556
|
+
}
|
557
|
+
});
|
558
|
+
}
|
559
|
+
}, e.prototype.schedule = function() {
|
560
|
+
this.stop(), this.run();
|
561
|
+
}, e.prototype.observe = function() {
|
562
|
+
var t = this, i = function() {
|
563
|
+
return t.observer && t.observer.observe(document.body, yt);
|
564
|
+
};
|
565
|
+
document.body ? i() : E.addEventListener("DOMContentLoaded", i);
|
566
|
+
}, e.prototype.start = function() {
|
567
|
+
var t = this;
|
568
|
+
this.stopped && (this.stopped = !1, this.observer = new MutationObserver(this.listener), this.observe(), Z.forEach(function(i) {
|
569
|
+
return E.addEventListener(i, t.listener, !0);
|
570
|
+
}));
|
571
|
+
}, e.prototype.stop = function() {
|
572
|
+
var t = this;
|
573
|
+
this.stopped || (this.observer && this.observer.disconnect(), Z.forEach(function(i) {
|
574
|
+
return E.removeEventListener(i, t.listener, !0);
|
575
|
+
}), this.stopped = !0);
|
576
|
+
}, e;
|
577
|
+
}(), D = new xt(), te = function(e) {
|
578
|
+
!L && e > 0 && D.start(), L += e, !L && D.stop();
|
579
|
+
}, wt = function(e) {
|
580
|
+
return !H(e) && !ht(e) && getComputedStyle(e).display === "inline";
|
581
|
+
}, Tt = function() {
|
582
|
+
function e(t, i) {
|
583
|
+
this.target = t, this.observedBox = i || y.CONTENT_BOX, this.lastReportedSize = {
|
584
|
+
inlineSize: 0,
|
585
|
+
blockSize: 0
|
586
|
+
};
|
587
|
+
}
|
588
|
+
return e.prototype.isActive = function() {
|
589
|
+
var t = ye(this.target, this.observedBox, !0);
|
590
|
+
return wt(this.target) && (this.lastReportedSize = t), this.lastReportedSize.inlineSize !== t.inlineSize || this.lastReportedSize.blockSize !== t.blockSize;
|
591
|
+
}, e;
|
592
|
+
}(), Rt = /* @__PURE__ */ function() {
|
593
|
+
function e(t, i) {
|
594
|
+
this.activeTargets = [], this.skippedTargets = [], this.observationTargets = [], this.observer = t, this.callback = i;
|
595
|
+
}
|
596
|
+
return e;
|
597
|
+
}(), R = /* @__PURE__ */ new WeakMap(), ie = function(e, t) {
|
598
|
+
for (var i = 0; i < e.length; i += 1)
|
599
|
+
if (e[i].target === t)
|
600
|
+
return i;
|
601
|
+
return -1;
|
602
|
+
}, z = function() {
|
603
|
+
function e() {
|
604
|
+
}
|
605
|
+
return e.connect = function(t, i) {
|
606
|
+
var n = new Rt(t, i);
|
607
|
+
R.set(t, n);
|
608
|
+
}, e.observe = function(t, i, n) {
|
609
|
+
var r = R.get(t), o = r.observationTargets.length === 0;
|
610
|
+
ie(r.observationTargets, i) < 0 && (o && m.push(r), r.observationTargets.push(new Tt(i, n && n.box)), te(1), D.schedule());
|
611
|
+
}, e.unobserve = function(t, i) {
|
612
|
+
var n = R.get(t), r = ie(n.observationTargets, i), o = n.observationTargets.length === 1;
|
613
|
+
r >= 0 && (o && m.splice(m.indexOf(n), 1), n.observationTargets.splice(r, 1), te(-1));
|
614
|
+
}, e.disconnect = function(t) {
|
615
|
+
var i = this, n = R.get(t);
|
616
|
+
n.observationTargets.slice().forEach(function(r) {
|
617
|
+
return i.unobserve(t, r.target);
|
618
|
+
}), n.activeTargets.splice(0, n.activeTargets.length);
|
619
|
+
}, e;
|
620
|
+
}(), zt = function() {
|
621
|
+
function e(t) {
|
622
|
+
if (arguments.length === 0)
|
623
|
+
throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");
|
624
|
+
if (typeof t != "function")
|
625
|
+
throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");
|
626
|
+
z.connect(this, t);
|
627
|
+
}
|
628
|
+
return e.prototype.observe = function(t, i) {
|
629
|
+
if (arguments.length === 0)
|
630
|
+
throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");
|
631
|
+
if (!G(t))
|
632
|
+
throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");
|
633
|
+
z.observe(this, t, i);
|
634
|
+
}, e.prototype.unobserve = function(t) {
|
635
|
+
if (arguments.length === 0)
|
636
|
+
throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");
|
637
|
+
if (!G(t))
|
638
|
+
throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");
|
639
|
+
z.unobserve(this, t);
|
640
|
+
}, e.prototype.disconnect = function() {
|
641
|
+
z.disconnect(this);
|
642
|
+
}, e.toString = function() {
|
643
|
+
return "function ResizeObserver () { [polyfill code] }";
|
644
|
+
}, e;
|
645
|
+
}();
|
646
|
+
let S;
|
647
|
+
const St = new Uint8Array(16);
|
648
|
+
function Lt() {
|
649
|
+
if (!S && (S = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !S))
|
650
|
+
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
651
|
+
return S(St);
|
652
|
+
}
|
653
|
+
const c = [];
|
654
|
+
for (let e = 0; e < 256; ++e)
|
655
|
+
c.push((e + 256).toString(16).slice(1));
|
656
|
+
function Ct(e, t = 0) {
|
657
|
+
return c[e[t + 0]] + c[e[t + 1]] + c[e[t + 2]] + c[e[t + 3]] + "-" + c[e[t + 4]] + c[e[t + 5]] + "-" + c[e[t + 6]] + c[e[t + 7]] + "-" + c[e[t + 8]] + c[e[t + 9]] + "-" + c[e[t + 10]] + c[e[t + 11]] + c[e[t + 12]] + c[e[t + 13]] + c[e[t + 14]] + c[e[t + 15]];
|
658
|
+
}
|
659
|
+
const Bt = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), ne = {
|
660
|
+
randomUUID: Bt
|
661
|
+
};
|
662
|
+
function Wt(e, t, i) {
|
663
|
+
if (ne.randomUUID && !t && !e)
|
664
|
+
return ne.randomUUID();
|
665
|
+
e = e || {};
|
666
|
+
const n = e.random || (e.rng || Lt)();
|
667
|
+
if (n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, t) {
|
668
|
+
i = i || 0;
|
669
|
+
for (let r = 0; r < 16; ++r)
|
670
|
+
t[i + r] = n[r];
|
671
|
+
return t;
|
672
|
+
}
|
673
|
+
return Ct(n);
|
674
|
+
}
|
675
|
+
const l = {
|
676
|
+
xs: { maxWidth: 575 },
|
677
|
+
sm: {
|
678
|
+
minWidth: 576,
|
679
|
+
maxWidth: 767
|
680
|
+
},
|
681
|
+
md: {
|
682
|
+
minWidth: 768,
|
683
|
+
maxWidth: 991
|
684
|
+
},
|
685
|
+
lg: {
|
686
|
+
minWidth: 992,
|
687
|
+
maxWidth: 1199
|
688
|
+
},
|
689
|
+
xl: {
|
690
|
+
minWidth: 1200
|
691
|
+
}
|
692
|
+
}, re = "bp-observer", $t = function(e) {
|
693
|
+
return e.$el.className === re ? e.$el : typeof e.$el.closest != "function" ? null : e.$el.closest(`.${re}`);
|
694
|
+
}, At = ae.extend({
|
695
|
+
data() {
|
696
|
+
return {
|
697
|
+
breakpointObserverEl: null,
|
698
|
+
breakpointObserverId: null,
|
699
|
+
breakpointObserverResizeObserver: null,
|
700
|
+
breakpointObserverSize: {
|
701
|
+
width: 0,
|
702
|
+
height: 0
|
703
|
+
},
|
704
|
+
breakpointObserverEq: {
|
705
|
+
breakpoints: l
|
706
|
+
}
|
707
|
+
};
|
708
|
+
},
|
709
|
+
computed: {
|
710
|
+
breakpointService() {
|
711
|
+
return this.breakpointObserverEq && this.breakpointObserverEq.breakpoints && this.breakpointObserverSize && // mark this.breakpointObserverSize.width and this.breakpointObserverSize.height as dependencies
|
712
|
+
// for the reactivity of the computed breakpoints-property
|
713
|
+
typeof this.breakpointObserverSize.width == "number" && typeof this.breakpointObserverSize.height == "number" ? Object.keys(this.breakpointObserverEq.breakpoints).reduce(
|
714
|
+
(e, t) => ({
|
715
|
+
...e,
|
716
|
+
[t]: this.breakpointObserverCheckAllConditions(
|
717
|
+
this.breakpointObserverEq.breakpoints[t]
|
718
|
+
)
|
719
|
+
}),
|
720
|
+
{ ready: !0 }
|
721
|
+
) : { ready: !1 };
|
722
|
+
},
|
723
|
+
currentBreakpoint() {
|
724
|
+
return Ne(
|
725
|
+
this.breakpointService,
|
726
|
+
(e, t) => t !== "ready" && e === !0
|
727
|
+
);
|
728
|
+
}
|
729
|
+
},
|
730
|
+
mounted() {
|
731
|
+
this.breakpointObserverInit();
|
732
|
+
},
|
733
|
+
beforeDestroy() {
|
734
|
+
this.breakpointObserverDestroy();
|
735
|
+
},
|
736
|
+
methods: {
|
737
|
+
onResize({ width: e, height: t }) {
|
738
|
+
this.breakpointObserverSize && (this.breakpointObserverSize.height = t, this.breakpointObserverSize.width = e);
|
739
|
+
let i = "";
|
740
|
+
switch (this.currentBreakpoint) {
|
741
|
+
case "sm": {
|
742
|
+
i = `${l.sm.minWidth}px`;
|
743
|
+
break;
|
744
|
+
}
|
745
|
+
case "md": {
|
746
|
+
i = `${l.sm.minWidth}px ${l.md.minWidth}px`;
|
747
|
+
break;
|
748
|
+
}
|
749
|
+
case "lg": {
|
750
|
+
i = `${l.sm.minWidth}px ${l.md.minWidth}px ${l.lg.minWidth}px`;
|
751
|
+
break;
|
752
|
+
}
|
753
|
+
case "xl": {
|
754
|
+
i = `${l.sm.minWidth}px ${l.md.minWidth}px ${l.lg.minWidth}px ${l.xl.minWidth}px`;
|
755
|
+
break;
|
756
|
+
}
|
757
|
+
}
|
758
|
+
this.breakpointObserverEl && (this.breakpointObserverEl.setAttribute("min-width", i), this.breakpointObserverId && this.$store.set(
|
759
|
+
`breakpointService/breakpointObservers@${this.breakpointObserverId}`,
|
760
|
+
{
|
761
|
+
...this.breakpointService,
|
762
|
+
height: t,
|
763
|
+
width: e
|
764
|
+
}
|
765
|
+
));
|
766
|
+
},
|
767
|
+
/**
|
768
|
+
* initialize the ResizeObserver for this component
|
769
|
+
*/
|
770
|
+
breakpointObserverInit() {
|
771
|
+
this.breakpointObserverEl = this.breakpointObserverEl || $t(this), this.breakpointObserverEl && (this.breakpointObserverId = Wt(), this.breakpointObserverEl.setAttribute("id", this.breakpointObserverId), this.$store.set(
|
772
|
+
`breakpointService/breakpointObservers@${this.breakpointObserverId}`,
|
773
|
+
{ ready: !1 }
|
774
|
+
), this.breakpointObserverResizeObserver = new zt(([e]) => {
|
775
|
+
const { height: t, width: i } = e.contentRect;
|
776
|
+
this.onResize({
|
777
|
+
width: i,
|
778
|
+
height: t
|
779
|
+
});
|
780
|
+
}), this.breakpointObserverResizeObserver.observe(this.breakpointObserverEl));
|
781
|
+
},
|
782
|
+
/**
|
783
|
+
* Stop observing the current element and disconnect the ResizeObserver
|
784
|
+
*/
|
785
|
+
breakpointObserverDestroy() {
|
786
|
+
this.breakpointObserverResizeObserver && this.breakpointObserverResizeObserver.disconnect();
|
787
|
+
},
|
788
|
+
/**
|
789
|
+
* Checks all the conditions of a breakpoint
|
790
|
+
* returns `true` if all conditions match
|
791
|
+
* @param {object} bp
|
792
|
+
*/
|
793
|
+
breakpointObserverCheckAllConditions(e) {
|
794
|
+
return !Object.keys(e).find(
|
795
|
+
// if any condition returns false:
|
796
|
+
// we break out of the iteration early because of `.find()`
|
797
|
+
(t) => !this.breakpointObserverCheckCondition(t, e[t])
|
798
|
+
);
|
799
|
+
},
|
800
|
+
/**
|
801
|
+
* Checks the condition of a specific condition + value
|
802
|
+
* @param {string} type
|
803
|
+
* @param {number} value
|
804
|
+
*/
|
805
|
+
breakpointObserverCheckCondition(e, t) {
|
806
|
+
switch (e) {
|
807
|
+
case "minWidth":
|
808
|
+
return this.breakpointObserverSize.width >= t;
|
809
|
+
case "maxWidth":
|
810
|
+
return this.breakpointObserverSize.width <= t;
|
811
|
+
case "minHeight":
|
812
|
+
return this.breakpointObserverSize.height >= t;
|
813
|
+
case "maxHeight":
|
814
|
+
return this.breakpointObserverSize.height <= t;
|
815
|
+
}
|
816
|
+
return !1;
|
817
|
+
}
|
818
|
+
}
|
819
|
+
});
|
820
|
+
ae.use(se, {
|
821
|
+
directives: {
|
822
|
+
ClickOutside: Pe,
|
823
|
+
Intersect: Ae
|
824
|
+
}
|
825
|
+
});
|
826
|
+
const It = {
|
827
|
+
options: { customProperties: !0 },
|
828
|
+
themes: {
|
829
|
+
light: Ie
|
830
|
+
}
|
831
|
+
}, Vt = new se({
|
832
|
+
breakpoint: {
|
833
|
+
thresholds: Me(
|
834
|
+
De(l, ["xs", "sm", "md", "lg"]),
|
835
|
+
(e) => (e.maxWidth || 0) + 1
|
836
|
+
),
|
837
|
+
scrollBarWidth: 0
|
838
|
+
},
|
839
|
+
theme: It,
|
840
|
+
icons: {
|
841
|
+
iconfont: "fa"
|
842
|
+
},
|
843
|
+
locales: {
|
844
|
+
en: We,
|
845
|
+
fr: $e
|
846
|
+
},
|
847
|
+
lang: {
|
848
|
+
t: (e, ...t) => He.t(e, t)
|
849
|
+
}
|
850
|
+
});
|
851
|
+
Be("css/revolugo.vuetify.BpIoHlAi.css");
|
852
|
+
export {
|
853
|
+
Pe as C,
|
854
|
+
Ae as I,
|
855
|
+
Dt as R,
|
856
|
+
Xt as T,
|
857
|
+
ue as a,
|
858
|
+
At as b,
|
859
|
+
re as c,
|
860
|
+
It as d,
|
861
|
+
$t as g,
|
862
|
+
Ht as r,
|
863
|
+
Vt as v
|
864
|
+
};
|
865
|
+
//# sourceMappingURL=revolugo.vuetify.BEdap6Ni.min.js.map
|