@revolugo/elements 6.8.2-beta.21 → 6.8.2-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) hide show
  1. package/dist/css/revolugo.bhoteloffersfilterbar.1tLwDxXe.css +1 -0
  2. package/dist/css/revolugo.cancellationpoliciesbadge.CwgZ0PpX.css +1 -0
  3. package/dist/css/revolugo.index.DQ3Yd6SO.css +1 -0
  4. package/dist/css/revolugo.position.7fn84IQ5.css +1 -0
  5. package/dist/css/{revolugo.vslidegroup.ECiLCEE9.css → revolugo.vtooltip.O8QDYs1J.css} +1 -1
  6. package/dist/index.es.min.js +950 -955
  7. package/dist/index.es.min.js.map +1 -1
  8. package/dist/index.min.js +6 -6
  9. package/dist/index.min.js.map +1 -1
  10. package/dist/{revolugo.banktransferdetails.B6Q2z-jl.min.js → revolugo.banktransferdetails.B2ekby51.min.js} +9 -9
  11. package/dist/{revolugo.bdaterangepicker.DHh-hIJ0.min.js → revolugo.bdaterangepicker.CTD21Xkh.min.js} +11 -12
  12. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.DFgVEyLr.min.js +61 -0
  13. package/dist/revolugo.bhoteloffersfilterbar.C677v5nL.min.js +4689 -0
  14. package/dist/{revolugo.bhotelroomsdetails.BZMXBHqw.min.js → revolugo.bhotelroomsdetails.B_oUGHlu.min.js} +29 -30
  15. package/dist/{revolugo.bhotelsearchbar.Db7f-Myf.min.js → revolugo.bhotelsearchbar.CZZ7nrV4.min.js} +16 -16
  16. package/dist/{revolugo.bimagecarousel.BYWPajeF.min.js → revolugo.bimagecarousel.B0c13uQA.min.js} +44 -43
  17. package/dist/{revolugo.bookingdetailssidebar.BZUVjXtx.min.js → revolugo.bookingdetailssidebar.BGsPcF2v.min.js} +4 -4
  18. package/dist/{revolugo.bookingdetailssidebar.DpvhWAPj.min.js → revolugo.bookingdetailssidebar.Bs3FC4cg.min.js} +17 -17
  19. package/dist/{revolugo.bookingmanager.BT8ClOH2.min.js → revolugo.bookingmanager.CrXALVnI.min.js} +27 -27
  20. package/dist/{revolugo.bpricesummaryskeleton.BkE3yRYV.min.js → revolugo.bpricesummaryskeleton.8052AuK3.min.js} +4 -4
  21. package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.Br3WDc64.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.DxGtfGu-.min.js} +8 -8
  22. package/dist/{revolugo.btag.BtFT2zF9.min.js → revolugo.btag.BWSoB2pK.min.js} +48 -50
  23. package/dist/revolugo.cancellationpoliciesbadge.B19weMQp.min.js +225 -0
  24. package/dist/revolugo.cancellationpoliciesbadge.CvnUmIqX.min.js +24 -0
  25. package/dist/revolugo.cancellationpolicieslist.BsjkpRRW.min.js +24 -0
  26. package/dist/{revolugo.cancellationpolicieslist.beDOpVS9.min.js → revolugo.cancellationpolicieslist.CurBz21i.min.js} +98 -70
  27. package/dist/{revolugo.case-transformers.C-f7xgel.min.js → revolugo.case-transformers.Oo4YCZeL.min.js} +6 -6
  28. package/dist/{revolugo.creditcardform.WRd9OuX1.min.js → revolugo.creditcardform.D35ZslX6.min.js} +4 -4
  29. package/dist/{revolugo.creditcardform.DqHW63kH.min.js → revolugo.creditcardform.Zgq-wqLH.min.js} +30 -30
  30. package/dist/{revolugo.creditcardpayment.BhHvBmry.min.js → revolugo.creditcardpayment.B3gGpWtL.min.js} +40 -42
  31. package/dist/{revolugo.creditcardpayment.BleH4opZ.min.js → revolugo.creditcardpayment.BpY-gafO.min.js} +4 -4
  32. package/dist/{revolugo.currencypicker.BtpR0LRe.min.js → revolugo.currencypicker.BgqkzwCT.min.js} +6 -6
  33. package/dist/{revolugo.currencypickerbtn.CZqCxE40.min.js → revolugo.currencypickerbtn.0iqvXHCJ.min.js} +17 -17
  34. package/dist/{revolugo.currencypickerbtn.Z1iqCIYs.min.js → revolugo.currencypickerbtn.CL_hu26M.min.js} +4 -4
  35. package/dist/{revolugo.defaultsdeep.fiInWebG.min.js → revolugo.defaultsdeep.CCR2LAoW.min.js} +29 -29
  36. package/dist/{revolugo.dialog-attach.yO2_AaMd.min.js → revolugo.dialog-attach.t7JTHXax.min.js} +2 -2
  37. package/dist/{revolugo.dialog-transition.DRmctE5w.min.js → revolugo.dialog-transition.Cot8jmLN.min.js} +5 -5
  38. package/dist/{revolugo.fastbookingflow.YMrVcoWr.min.js → revolugo.fastbookingflow.D5i5QakB.min.js} +4 -4
  39. package/dist/{revolugo.fullbookingflow.BuCdZ5tE.min.js → revolugo.fullbookingflow.B3R9Mi6f.min.js} +17 -17
  40. package/dist/{revolugo.hoteldescriptionview.C4lTU31k.min.js → revolugo.hoteldescriptionview.0om5ATP0.min.js} +4 -4
  41. package/dist/{revolugo.hoteldescriptionview.QB3gyKjW.min.js → revolugo.hoteldescriptionview.mr1BBzFi.min.js} +22 -23
  42. package/dist/{revolugo.hotelofferitemlayout.D88eNxZ3.min.js → revolugo.hotelofferitemlayout.CpMoPSRH.min.js} +6 -6
  43. package/dist/{revolugo.hotelofferlist.DVfyqIL_.min.js → revolugo.hotelofferlist.Bb-RsXSl.min.js} +4 -4
  44. package/dist/{revolugo.hotelofferlist.DKLNMTAo.min.js → revolugo.hotelofferlist.DRdkrfqu.min.js} +41 -40
  45. package/dist/{revolugo.hotelofferrequestcreator.CPPp4mk1.min.js → revolugo.hotelofferrequestcreator.f8olJbDW.min.js} +15 -16
  46. package/dist/revolugo.hoteloffersearchmenu.CLH7PdDD.min.js +46 -0
  47. package/dist/{revolugo.hoteloffersmap.C5CoYWJo.min.js → revolugo.hoteloffersmap.BjjBIhE9.min.js} +29 -29
  48. package/dist/{revolugo.hoteloffersmap.CVu6tY8O.min.js → revolugo.hoteloffersmap.BleGDfiI.min.js} +4 -4
  49. package/dist/{revolugo.hoteloffersview.B1ENOlfQ.min.js → revolugo.hoteloffersview.DyWUZJ-a.min.js} +42 -44
  50. package/dist/{revolugo.hoteloffersview.D3AJN4Ry.min.js → revolugo.hoteloffersview.M1WJegEH.min.js} +4 -4
  51. package/dist/{revolugo.hotelroomofferlist.BJpypDEo.min.js → revolugo.hotelroomofferlist.7bwYQgtE.min.js} +4 -4
  52. package/dist/{revolugo.hotelroomofferlist.B4vKtIAv.min.js → revolugo.hotelroomofferlist.Dr11epuR.min.js} +118 -119
  53. package/dist/{revolugo.hotelroomofferrequestcreator.props.BotOUSjS.min.js → revolugo.hotelroomofferrequestcreator.props.DUhujwnh.min.js} +2 -2
  54. package/dist/{revolugo.hotelroomoffersbookingflow.QXwuQxNt.min.js → revolugo.hotelroomoffersbookingflow.CKjKX7Kc.min.js} +54 -54
  55. package/dist/{revolugo.hotelroomoffersearchmenu.jKg3GHhh.min.js → revolugo.hotelroomoffersearchmenu.9fzTS1um.min.js} +7 -7
  56. package/dist/{revolugo.hotelroomoffersearchmenu.C6XT7O0N.min.js → revolugo.hotelroomoffersearchmenu.CT-i5FLW.min.js} +5 -5
  57. package/dist/{revolugo.hotelroomoffersview.B8EPiviG.min.js → revolugo.hotelroomoffersview.D2XUHzuN.min.js} +12 -12
  58. package/dist/{revolugo.hotelroomoffersview.Cml6dUd_.min.js → revolugo.hotelroomoffersview.iTt3yxQK.min.js} +4 -4
  59. package/dist/revolugo.index.CDltx0TU.min.js +1037 -0
  60. package/dist/revolugo.index.D5-DO18f.min.js +13 -0
  61. package/dist/{revolugo.index.wc.CiMMOIKO.min.js → revolugo.index.wc.CNPB8R3P.min.js} +15137 -14588
  62. package/dist/{revolugo.langpicker.BPdYOoqh.min.js → revolugo.langpicker.Df8h8dCw.min.js} +8 -8
  63. package/dist/{revolugo.langpickerbtn.toIVNsWj.min.js → revolugo.langpickerbtn.CIKlUC4J.min.js} +18 -19
  64. package/dist/{revolugo.langpickerbtn.B_lcAwH7.min.js → revolugo.langpickerbtn.CMIJmkLf.min.js} +4 -4
  65. package/dist/revolugo.min.js +1 -1
  66. package/dist/revolugo.position.BFDPs3FP.min.js +322 -0
  67. package/dist/{revolugo.prebookform.CnbytE-a.min.js → revolugo.prebookform.CDoJAivN.min.js} +4 -4
  68. package/dist/{revolugo.prebookform.mTgAZy4b.min.js → revolugo.prebookform.DhCYUQX2.min.js} +20 -20
  69. package/dist/{revolugo.roominglisteditor.BndDYwgL.min.js → revolugo.roominglisteditor.Dgtcs_-O.min.js} +11 -11
  70. package/dist/{revolugo.roominglisteditor.BqFx12Zl.min.js → revolugo.roominglisteditor.DvUmxfal.min.js} +4 -4
  71. package/dist/{revolugo.rounded.DLc3W4P_.min.js → revolugo.rounded.Dulx85qq.min.js} +2 -2
  72. package/dist/{revolugo.ssrboot.6UmkB4Il.min.js → revolugo.ssrboot.CTe1vadS.min.js} +2 -2
  73. package/dist/{revolugo.storybooktoolbar.lPXk2DH4.min.js → revolugo.storybooktoolbar.D182Uwjq.min.js} +106 -110
  74. package/dist/{revolugo.termsandconditions.C318-sIl.min.js → revolugo.termsandconditions.BSpX2Wim.min.js} +4 -4
  75. package/dist/{revolugo.termsandconditions.J28x2pls.min.js → revolugo.termsandconditions.DvldqW3w.min.js} +4 -4
  76. package/dist/revolugo.use-breakpoint-service.CEx6DRka.min.js +106 -0
  77. package/dist/{revolugo.vautocomplete.CfEbI9wx.min.js → revolugo.vautocomplete.DNxDeH8S.min.js} +103 -104
  78. package/dist/{revolugo.vbadge.qQh-Sv8w.min.js → revolugo.vbadge.DqpIeIfj.min.js} +14 -14
  79. package/dist/{revolugo.vbtn.CJwuvbOT.min.js → revolugo.vbtn.DsvUpshD.min.js} +65 -65
  80. package/dist/{revolugo.vcard.C8hpUlD-.min.js → revolugo.vcard.D1VwO30r.min.js} +35 -35
  81. package/dist/{revolugo.vcheckboxbtn.Z5a_U9n0.min.js → revolugo.vcheckboxbtn.BnbOlneq.min.js} +86 -86
  82. package/dist/{revolugo.vdialog.CEfREygA.min.js → revolugo.vdialog.rsw4VlQE.min.js} +25 -25
  83. package/dist/{revolugo.vdivider.DYybqMVI.min.js → revolugo.vdivider.Cq5RMY7t.min.js} +3 -3
  84. package/dist/{revolugo.vexpansionpanels.DqoxBVet.min.js → revolugo.vexpansionpanels.Cy-T-RLA.min.js} +40 -41
  85. package/dist/{revolugo.vform.Bh7TJUxd.min.js → revolugo.vform.CO-9AfdO.min.js} +4 -4
  86. package/dist/{revolugo.vinput.CWfOSxlF.min.js → revolugo.vinput.DEbpex7C.min.js} +73 -74
  87. package/dist/{revolugo.vlabel.D8JC3_DX.min.js → revolugo.vlabel.CBGmCU1C.min.js} +3 -3
  88. package/dist/{revolugo.vlist.cF1CYOBP.min.js → revolugo.vlist.BzvP4Aad.min.js} +115 -115
  89. package/dist/{revolugo.vmenu.B-rlxBKf.min.js → revolugo.vmenu.CIfiL0Ib.min.js} +24 -24
  90. package/dist/{revolugo.vselect.D17E4jI-.min.js → revolugo.vselect.CDieig82.min.js} +75 -76
  91. package/dist/{revolugo.vsheet.Div5lkVz.min.js → revolugo.vsheet.AqixfoVv.min.js} +10 -10
  92. package/dist/{revolugo.vskeletonloader.BMUIcPKO.min.js → revolugo.vskeletonloader.BUxAIEgD.min.js} +6 -6
  93. package/dist/{revolugo.vsnackbar.CgopB6r6.min.js → revolugo.vsnackbar.D5nwTNfd.min.js} +50 -49
  94. package/dist/revolugo.vspacer.Dv72HR_2.min.js +7 -0
  95. package/dist/{revolugo.vtextarea.BOKhw7Iq.min.js → revolugo.vtextarea.ByrL6SoY.min.js} +61 -61
  96. package/dist/{revolugo.vtextfield.Bf1HO6ah.min.js → revolugo.vtextfield.Br_yyf1t.min.js} +89 -88
  97. package/dist/{revolugo.vtoolbar.HAOPyr0Z.min.js → revolugo.vtoolbar.VPqzB-yU.min.js} +20 -20
  98. package/dist/revolugo.vtooltip.CI_oDjbQ.min.js +395 -0
  99. package/dist/{revolugo.vwindowitem.D5OeWBiN.min.js → revolugo.vwindowitem.IF1zLcjR.min.js} +34 -34
  100. package/dist/{revolugo.watch-list.BFsimHQY.min.js → revolugo.watch-list.BD0XoO1O.min.js} +2 -2
  101. package/dist/{revolugo.webcomponentwrapper.B9-sm0Ry.min.js → revolugo.webcomponentwrapper.Ci87Oown.min.js} +229 -229
  102. package/package.json +1 -1
  103. package/dist/css/revolugo.bhoteloffersfilterbar.PIn4y3L4.css +0 -1
  104. package/dist/css/revolugo.cancellationpoliciesbadge.CzUQOfdk.css +0 -1
  105. package/dist/css/revolugo.index.4hIg6F8J.css +0 -1
  106. package/dist/css/revolugo.vicon.eIkh7vVK.css +0 -1
  107. package/dist/css/revolugo.vtooltip.BHXJTQ4V.css +0 -1
  108. package/dist/revolugo._baseiteratee.B8DzmtV9.min.js +0 -247
  109. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.D63OH2He.min.js +0 -149
  110. package/dist/revolugo.bhoteloffersfilterbar.BicCxI8N.min.js +0 -4828
  111. package/dist/revolugo.cancellationpoliciesbadge.CJzm7bEA.min.js +0 -207
  112. package/dist/revolugo.cancellationpoliciesbadge.DlPBMRPR.min.js +0 -28
  113. package/dist/revolugo.cancellationpolicieslist.BUvqjY8w.min.js +0 -25
  114. package/dist/revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js +0 -21
  115. package/dist/revolugo.hotel-offer-request.DA93cyGO.min.js +0 -98
  116. package/dist/revolugo.hoteloffersearchmenu.CrmGRkpc.min.js +0 -47
  117. package/dist/revolugo.index.CxQvHaJF.min.js +0 -1255
  118. package/dist/revolugo.pathify.CC3sbpgo.min.js +0 -58
  119. package/dist/revolugo.use-breakpoint-service.BRfZckKl.min.js +0 -52
  120. package/dist/revolugo.vicon.BnJaIb_1.min.js +0 -106
  121. package/dist/revolugo.vslidegroup.aRAg8EmQ.min.js +0 -333
  122. package/dist/revolugo.vspacer.DfGL0s5_.min.js +0 -7
  123. package/dist/revolugo.vtooltip.DWbHmmwC.min.js +0 -90
@@ -1,1255 +0,0 @@
1
- import { m as M, K as Ae, L as Fe, d as Me, b as D, u as q, e as me, n as Ue, o as Ge, p as He, M as H } from "./revolugo.webcomponentwrapper.B9-sm0Ry.min.js";
2
- import { X as I, p as De, ae as ee, cu as ge, Y as w, ct as W, D as p, J as Q, a as d, F as he, bT as te, aG as Ye, ai as ye, ag as qe, a9 as ne, U as j, L as z, ah as We, a0 as pe, S as je, cv as Xe, bO as Je, a1 as Qe, cw as Ke, aT as Ze, aQ as et, C as be, a3 as O, cx as ae, az as _e, aF as Se, aA as oe, bu as tt, a7 as T, aH as Ce, aS as se, bA as nt, cy as le, a$ as at, Q as st, H as ue, aC as it, y as rt, I as ot, Z as lt, cz as we } from "./revolugo.index.wc.CiMMOIKO.min.js";
3
- import { b as ie, a as re, c as ut, d as ct } from "./revolugo.rounded.DLc3W4P_.min.js";
4
- import { u as dt, m as ft, V as vt } from "./revolugo.vicon.BnJaIb_1.min.js";
5
- function ze(e) {
6
- try {
7
- if (typeof document < "u") {
8
- window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
9
- sheets: [],
10
- components: []
11
- };
12
- const t = import.meta.url, n = t.slice(0, t.lastIndexOf("/") + 1) + e;
13
- window.REVOLUGO_ELEMENTS_STYLES.sheets.push(n);
14
- for (const a of REVOLUGO_ELEMENTS_STYLES.components)
15
- a(n);
16
- if (e.indexOf("fonts") >= 0) {
17
- const a = document.createElement("link");
18
- a.rel = "stylesheet", linK.href = n, document.head.appendChild(a);
19
- }
20
- }
21
- } catch (t) {
22
- console.error("[revolugo-elements] ", t);
23
- }
24
- }
25
- function Wt(e) {
26
- let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "div", n = arguments.length > 2 ? arguments[2] : void 0;
27
- return I()({
28
- name: n ?? De(ge(e.replace(/__/g, "-"))),
29
- props: {
30
- tag: {
31
- type: String,
32
- default: t
33
- },
34
- ...M()
35
- },
36
- setup(a, i) {
37
- let {
38
- slots: s
39
- } = i;
40
- return () => {
41
- var r;
42
- return ee(a.tag, {
43
- class: [e, a.class],
44
- style: a.style
45
- }, (r = s.default) == null ? void 0 : r.call(s));
46
- };
47
- }
48
- });
49
- }
50
- const mt = [null, "default", "comfortable", "compact"], gt = w({
51
- density: {
52
- type: String,
53
- default: "default",
54
- validator: (e) => mt.includes(e)
55
- }
56
- }, "density");
57
- function ht(e) {
58
- let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : W();
59
- return {
60
- densityClasses: p(() => `${t}--density-${e.density}`)
61
- };
62
- }
63
- const yt = ["elevated", "flat", "tonal", "outlined", "text", "plain"];
64
- function pt(e, t) {
65
- return d(he, null, [e && d("span", {
66
- key: "overlay",
67
- class: `${t}__overlay`
68
- }, null), d("span", {
69
- key: "underlay",
70
- class: `${t}__underlay`
71
- }, null)]);
72
- }
73
- const bt = w({
74
- color: String,
75
- variant: {
76
- type: String,
77
- default: "elevated",
78
- validator: (e) => yt.includes(e)
79
- }
80
- }, "variant");
81
- function _t(e) {
82
- let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : W();
83
- const n = p(() => {
84
- const {
85
- variant: s
86
- } = Q(e);
87
- return `${t}--variant-${s}`;
88
- }), {
89
- colorClasses: a,
90
- colorStyles: i
91
- } = Ae(p(() => {
92
- const {
93
- variant: s,
94
- color: r
95
- } = Q(e);
96
- return {
97
- [["elevated", "flat"].includes(s) ? "background" : "text"]: r
98
- };
99
- }));
100
- return {
101
- colorClasses: a,
102
- colorStyles: i,
103
- variantClasses: n
104
- };
105
- }
106
- const jt = w({
107
- modelValue: {
108
- type: null,
109
- default: void 0
110
- },
111
- multiple: Boolean,
112
- mandatory: [Boolean, String],
113
- max: Number,
114
- selectedClass: String,
115
- disabled: Boolean
116
- }, "group"), Xt = w({
117
- value: null,
118
- disabled: Boolean,
119
- selectedClass: String
120
- }, "group-item");
121
- function Jt(e, t) {
122
- let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0;
123
- const a = te("useGroupItem");
124
- if (!a)
125
- throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");
126
- const i = Ye();
127
- ye(Symbol.for(`${t.description}:id`), i);
128
- const s = qe(t, null);
129
- if (!s) {
130
- if (!n) return s;
131
- throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${t.description}`);
132
- }
133
- const r = ne(e, "value"), o = p(() => !!(s.disabled.value || e.disabled));
134
- s.register({
135
- id: i,
136
- value: r,
137
- disabled: o
138
- }, a), j(() => {
139
- s.unregister(i);
140
- });
141
- const c = p(() => s.isSelected(i)), f = p(() => s.items.value[0].id === i), v = p(() => s.items.value[s.items.value.length - 1].id === i), g = p(() => c.value && [s.selectedClass.value, e.selectedClass]);
142
- return z(c, (l) => {
143
- a.emit("group:selected", {
144
- value: l
145
- });
146
- }, {
147
- flush: "sync"
148
- }), {
149
- id: i,
150
- isSelected: c,
151
- isFirst: f,
152
- isLast: v,
153
- toggle: () => s.select(i, !c.value),
154
- select: (l) => s.select(i, l),
155
- selectedClass: g,
156
- value: r,
157
- disabled: o,
158
- group: s
159
- };
160
- }
161
- function Qt(e, t) {
162
- let n = !1;
163
- const a = We([]), i = pe(e, "modelValue", [], (l) => l == null ? [] : Ee(a, Qe(l)), (l) => {
164
- const u = Ct(a, l);
165
- return e.multiple ? u : u[0];
166
- }), s = te("useGroup");
167
- function r(l, u) {
168
- const y = l, h = Symbol.for(`${t.description}:id`), _ = Ke(h, s == null ? void 0 : s.vnode).indexOf(u);
169
- Q(y.value) == null && (y.value = _, y.useIndexAsValue = !0), _ > -1 ? a.splice(_, 0, y) : a.push(y);
170
- }
171
- function o(l) {
172
- if (n) return;
173
- c();
174
- const u = a.findIndex((y) => y.id === l);
175
- a.splice(u, 1);
176
- }
177
- function c() {
178
- const l = a.find((u) => !u.disabled);
179
- l && e.mandatory === "force" && !i.value.length && (i.value = [l.id]);
180
- }
181
- je(() => {
182
- c();
183
- }), j(() => {
184
- n = !0;
185
- }), Xe(() => {
186
- for (let l = 0; l < a.length; l++)
187
- a[l].useIndexAsValue && (a[l].value = l);
188
- });
189
- function f(l, u) {
190
- const y = a.find((h) => h.id === l);
191
- if (!(u && (y != null && y.disabled)))
192
- if (e.multiple) {
193
- const h = i.value.slice(), S = h.findIndex((V) => V === l), _ = ~S;
194
- if (u = u ?? !_, _ && e.mandatory && h.length <= 1 || !_ && e.max != null && h.length + 1 > e.max) return;
195
- S < 0 && u ? h.push(l) : S >= 0 && !u && h.splice(S, 1), i.value = h;
196
- } else {
197
- const h = i.value.includes(l);
198
- if (e.mandatory && h) return;
199
- i.value = u ?? !h ? [l] : [];
200
- }
201
- }
202
- function v(l) {
203
- if (e.multiple, i.value.length) {
204
- const u = i.value[0], y = a.findIndex((_) => _.id === u);
205
- let h = (y + l) % a.length, S = a[h];
206
- for (; S.disabled && h !== y; )
207
- h = (h + l) % a.length, S = a[h];
208
- if (S.disabled) return;
209
- i.value = [a[h].id];
210
- } else {
211
- const u = a.find((y) => !y.disabled);
212
- u && (i.value = [u.id]);
213
- }
214
- }
215
- const g = {
216
- register: r,
217
- unregister: o,
218
- selected: i,
219
- select: f,
220
- disabled: ne(e, "disabled"),
221
- prev: () => v(a.length - 1),
222
- next: () => v(1),
223
- isSelected: (l) => i.value.includes(l),
224
- selectedClass: p(() => e.selectedClass),
225
- items: p(() => a),
226
- getItemIndex: (l) => St(a, l)
227
- };
228
- return ye(t, g), g;
229
- }
230
- function St(e, t) {
231
- const n = Ee(e, [t]);
232
- return n.length ? e.findIndex((a) => a.id === n[0]) : -1;
233
- }
234
- function Ee(e, t) {
235
- const n = [];
236
- return t.forEach((a) => {
237
- const i = e.find((r) => Je(a, r.value)), s = e[a];
238
- (i == null ? void 0 : i.value) != null ? n.push(i.id) : s != null && n.push(s.id);
239
- }), n;
240
- }
241
- function Ct(e, t) {
242
- const n = [];
243
- return t.forEach((a) => {
244
- const i = e.findIndex((s) => s.id === a);
245
- if (~i) {
246
- const s = e[i];
247
- n.push(s.value != null ? s.value : i);
248
- }
249
- }), n;
250
- }
251
- const wt = w({
252
- defaults: Object,
253
- disabled: Boolean,
254
- reset: [Number, String],
255
- root: [Boolean, String],
256
- scoped: Boolean
257
- }, "VDefaultsProvider"), Et = I(!1)({
258
- name: "VDefaultsProvider",
259
- props: wt(),
260
- setup(e, t) {
261
- let {
262
- slots: n
263
- } = t;
264
- const {
265
- defaults: a,
266
- disabled: i,
267
- reset: s,
268
- root: r,
269
- scoped: o
270
- } = Ze(e);
271
- return et(a, {
272
- reset: s,
273
- root: r,
274
- scoped: o,
275
- disabled: i
276
- }), () => {
277
- var c;
278
- return (c = n.default) == null ? void 0 : c.call(n);
279
- };
280
- }
281
- });
282
- function xt(e, t) {
283
- const n = be(), a = O(!1);
284
- if (ae) {
285
- const i = new IntersectionObserver((s) => {
286
- a.value = !!s.find((r) => r.isIntersecting);
287
- }, t);
288
- j(() => {
289
- i.disconnect();
290
- }), z(n, (s, r) => {
291
- r && (i.unobserve(r), a.value = !1), s && i.observe(s);
292
- }, {
293
- flush: "post"
294
- });
295
- }
296
- return {
297
- intersectionRef: n,
298
- isIntersecting: a
299
- };
300
- }
301
- const ce = {
302
- center: "center",
303
- top: "bottom",
304
- bottom: "top",
305
- left: "right",
306
- right: "left"
307
- }, Lt = w({
308
- location: String
309
- }, "location");
310
- function Tt(e) {
311
- let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, n = arguments.length > 2 ? arguments[2] : void 0;
312
- const {
313
- isRtl: a
314
- } = _e();
315
- return {
316
- locationStyles: p(() => {
317
- if (!e.location) return {};
318
- const {
319
- side: s,
320
- align: r
321
- } = Fe(e.location.split(" ").length > 1 ? e.location : `${e.location} center`, a.value);
322
- function o(f) {
323
- return n ? n(f) : 0;
324
- }
325
- const c = {};
326
- return s !== "center" && (t ? c[ce[s]] = `calc(100% - ${o(s)}px)` : c[s] = 0), r !== "center" ? t ? c[ce[r]] = `calc(100% - ${o(r)}px)` : c[r] = 0 : (s === "center" ? c.top = c.left = "50%" : c[{
327
- top: "left",
328
- bottom: "left",
329
- left: "top",
330
- right: "top"
331
- }[s]] = "50%", c.transform = {
332
- top: "translateX(-50%)",
333
- bottom: "translateX(-50%)",
334
- left: "translateY(-50%)",
335
- right: "translateY(-50%)",
336
- center: "translate(-50%, -50%)"
337
- }[s]), c;
338
- })
339
- };
340
- }
341
- const kt = w({
342
- absolute: Boolean,
343
- active: {
344
- type: Boolean,
345
- default: !0
346
- },
347
- bgColor: String,
348
- bgOpacity: [Number, String],
349
- bufferValue: {
350
- type: [Number, String],
351
- default: 0
352
- },
353
- bufferColor: String,
354
- bufferOpacity: [Number, String],
355
- clickable: Boolean,
356
- color: String,
357
- height: {
358
- type: [Number, String],
359
- default: 4
360
- },
361
- indeterminate: Boolean,
362
- max: {
363
- type: [Number, String],
364
- default: 100
365
- },
366
- modelValue: {
367
- type: [Number, String],
368
- default: 0
369
- },
370
- opacity: [Number, String],
371
- reverse: Boolean,
372
- stream: Boolean,
373
- striped: Boolean,
374
- roundedBar: Boolean,
375
- ...M(),
376
- ...Lt({
377
- location: "top"
378
- }),
379
- ...re(),
380
- ...me(),
381
- ...Ce()
382
- }, "VProgressLinear"), It = I()({
383
- name: "VProgressLinear",
384
- props: kt(),
385
- emits: {
386
- "update:modelValue": (e) => !0
387
- },
388
- setup(e, t) {
389
- var N;
390
- let {
391
- slots: n
392
- } = t;
393
- const a = pe(e, "modelValue"), {
394
- isRtl: i,
395
- rtlClasses: s
396
- } = _e(), {
397
- themeClasses: r
398
- } = Se(e), {
399
- locationStyles: o
400
- } = Tt(e), {
401
- textColorClasses: c,
402
- textColorStyles: f
403
- } = Me(e, "color"), {
404
- backgroundColorClasses: v,
405
- backgroundColorStyles: g
406
- } = D(p(() => e.bgColor || e.color)), {
407
- backgroundColorClasses: l,
408
- backgroundColorStyles: u
409
- } = D(p(() => e.bufferColor || e.bgColor || e.color)), {
410
- backgroundColorClasses: y,
411
- backgroundColorStyles: h
412
- } = D(e, "color"), {
413
- roundedClasses: S
414
- } = ie(e), {
415
- intersectionRef: _,
416
- isIntersecting: V
417
- } = xt(), k = p(() => parseFloat(e.max)), x = p(() => parseFloat(e.height)), P = p(() => oe(parseFloat(e.bufferValue) / k.value * 100, 0, 100)), U = p(() => oe(parseFloat(a.value) / k.value * 100, 0, 100)), B = p(() => i.value !== e.reverse), X = p(() => e.indeterminate ? "fade-transition" : "slide-x-transition"), $ = tt && ((N = window.matchMedia) == null ? void 0 : N.call(window, "(forced-colors: active)").matches);
418
- function J(m) {
419
- if (!_.value) return;
420
- const {
421
- left: b,
422
- right: L,
423
- width: R
424
- } = _.value.getBoundingClientRect(), G = B.value ? R - m.clientX + (L - R) : m.clientX - b;
425
- a.value = Math.round(G / R * k.value);
426
- }
427
- return q(() => d(e.tag, {
428
- ref: _,
429
- class: ["v-progress-linear", {
430
- "v-progress-linear--absolute": e.absolute,
431
- "v-progress-linear--active": e.active && V.value,
432
- "v-progress-linear--reverse": B.value,
433
- "v-progress-linear--rounded": e.rounded,
434
- "v-progress-linear--rounded-bar": e.roundedBar,
435
- "v-progress-linear--striped": e.striped
436
- }, S.value, r.value, s.value, e.class],
437
- style: [{
438
- bottom: e.location === "bottom" ? 0 : void 0,
439
- top: e.location === "top" ? 0 : void 0,
440
- height: e.active ? T(x.value) : 0,
441
- "--v-progress-linear-height": T(x.value),
442
- ...e.absolute ? o.value : {}
443
- }, e.style],
444
- role: "progressbar",
445
- "aria-hidden": e.active ? "false" : "true",
446
- "aria-valuemin": "0",
447
- "aria-valuemax": e.max,
448
- "aria-valuenow": e.indeterminate ? void 0 : Math.min(parseFloat(a.value), k.value),
449
- onClick: e.clickable && J
450
- }, {
451
- default: () => [e.stream && d("div", {
452
- key: "stream",
453
- class: ["v-progress-linear__stream", c.value],
454
- style: {
455
- ...f.value,
456
- [B.value ? "left" : "right"]: T(-x.value),
457
- borderTop: `${T(x.value / 2)} dotted`,
458
- opacity: parseFloat(e.bufferOpacity),
459
- top: `calc(50% - ${T(x.value / 4)})`,
460
- width: T(100 - P.value, "%"),
461
- "--v-progress-linear-stream-to": T(x.value * (B.value ? 1 : -1))
462
- }
463
- }, null), d("div", {
464
- class: ["v-progress-linear__background", $ ? void 0 : v.value],
465
- style: [g.value, {
466
- opacity: parseFloat(e.bgOpacity),
467
- width: e.stream ? 0 : void 0
468
- }]
469
- }, null), d("div", {
470
- class: ["v-progress-linear__buffer", $ ? void 0 : l.value],
471
- style: [u.value, {
472
- opacity: parseFloat(e.bufferOpacity),
473
- width: T(P.value, "%")
474
- }]
475
- }, null), d(se, {
476
- name: X.value
477
- }, {
478
- default: () => [e.indeterminate ? d("div", {
479
- class: "v-progress-linear__indeterminate"
480
- }, [["long", "short"].map((m) => d("div", {
481
- key: m,
482
- class: ["v-progress-linear__indeterminate", m, $ ? void 0 : y.value],
483
- style: h.value
484
- }, null))]) : d("div", {
485
- class: ["v-progress-linear__determinate", $ ? void 0 : y.value],
486
- style: [h.value, {
487
- width: T(U.value, "%")
488
- }]
489
- }, null)]
490
- }), n.default && d("div", {
491
- class: "v-progress-linear__content"
492
- }, [n.default({
493
- value: U.value,
494
- buffer: P.value
495
- })])]
496
- })), {};
497
- }
498
- }), Kt = w({
499
- loading: [Boolean, String]
500
- }, "loader");
501
- function Zt(e) {
502
- let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : W();
503
- return {
504
- loaderClasses: p(() => ({
505
- [`${t}--loading`]: e.loading
506
- }))
507
- };
508
- }
509
- function en(e, t) {
510
- var a;
511
- let {
512
- slots: n
513
- } = t;
514
- return d("div", {
515
- class: `${e.name}__loader`
516
- }, [((a = n.default) == null ? void 0 : a.call(n, {
517
- color: e.color,
518
- isActive: e.active
519
- })) || d(It, {
520
- absolute: e.absolute,
521
- active: e.active,
522
- color: e.color,
523
- height: "2",
524
- indeterminate: !0
525
- }, null)]);
526
- }
527
- const Vt = ["static", "relative", "fixed", "absolute", "sticky"], tn = w({
528
- position: {
529
- type: String,
530
- validator: (
531
- /* istanbul ignore next */
532
- (e) => Vt.includes(e)
533
- )
534
- }
535
- }, "position");
536
- function nn(e) {
537
- let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : W();
538
- return {
539
- positionClasses: p(() => e.position ? `${t}--${e.position}` : void 0)
540
- };
541
- }
542
- const K = Symbol("rippleStop"), Pt = 80;
543
- function de(e, t) {
544
- e.style.transform = t, e.style.webkitTransform = t;
545
- }
546
- function Z(e) {
547
- return e.constructor.name === "TouchEvent";
548
- }
549
- function xe(e) {
550
- return e.constructor.name === "KeyboardEvent";
551
- }
552
- const Bt = function(e, t) {
553
- var g;
554
- let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, a = 0, i = 0;
555
- if (!xe(e)) {
556
- const l = t.getBoundingClientRect(), u = Z(e) ? e.touches[e.touches.length - 1] : e;
557
- a = u.clientX - l.left, i = u.clientY - l.top;
558
- }
559
- let s = 0, r = 0.3;
560
- (g = t._ripple) != null && g.circle ? (r = 0.15, s = t.clientWidth / 2, s = n.center ? s : s + Math.sqrt((a - s) ** 2 + (i - s) ** 2) / 4) : s = Math.sqrt(t.clientWidth ** 2 + t.clientHeight ** 2) / 2;
561
- const o = `${(t.clientWidth - s * 2) / 2}px`, c = `${(t.clientHeight - s * 2) / 2}px`, f = n.center ? o : `${a - s}px`, v = n.center ? c : `${i - s}px`;
562
- return {
563
- radius: s,
564
- scale: r,
565
- x: f,
566
- y: v,
567
- centerX: o,
568
- centerY: c
569
- };
570
- }, Y = {
571
- /* eslint-disable max-statements */
572
- show(e, t) {
573
- var u;
574
- let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
575
- if (!((u = t == null ? void 0 : t._ripple) != null && u.enabled))
576
- return;
577
- const a = document.createElement("span"), i = document.createElement("span");
578
- a.appendChild(i), a.className = "v-ripple__container", n.class && (a.className += ` ${n.class}`);
579
- const {
580
- radius: s,
581
- scale: r,
582
- x: o,
583
- y: c,
584
- centerX: f,
585
- centerY: v
586
- } = Bt(e, t, n), g = `${s * 2}px`;
587
- i.className = "v-ripple__animation", i.style.width = g, i.style.height = g, t.appendChild(a);
588
- const l = window.getComputedStyle(t);
589
- l && l.position === "static" && (t.style.position = "relative", t.dataset.previousPosition = "static"), i.classList.add("v-ripple__animation--enter"), i.classList.add("v-ripple__animation--visible"), de(i, `translate(${o}, ${c}) scale3d(${r},${r},${r})`), i.dataset.activated = String(performance.now()), requestAnimationFrame(() => {
590
- requestAnimationFrame(() => {
591
- i.classList.remove("v-ripple__animation--enter"), i.classList.add("v-ripple__animation--in"), de(i, `translate(${f}, ${v}) scale3d(1,1,1)`);
592
- });
593
- });
594
- },
595
- hide(e) {
596
- var s;
597
- if (!((s = e == null ? void 0 : e._ripple) != null && s.enabled)) return;
598
- const t = e.getElementsByClassName("v-ripple__animation");
599
- if (t.length === 0) return;
600
- const n = t[t.length - 1];
601
- if (n.dataset.isHiding) return;
602
- n.dataset.isHiding = "true";
603
- const a = performance.now() - Number(n.dataset.activated), i = Math.max(250 - a, 0);
604
- setTimeout(() => {
605
- n.classList.remove("v-ripple__animation--in"), n.classList.add("v-ripple__animation--out"), setTimeout(() => {
606
- var o;
607
- e.getElementsByClassName("v-ripple__animation").length === 1 && e.dataset.previousPosition && (e.style.position = e.dataset.previousPosition, delete e.dataset.previousPosition), ((o = n.parentNode) == null ? void 0 : o.parentNode) === e && e.removeChild(n.parentNode);
608
- }, 300);
609
- }, i);
610
- }
611
- };
612
- function Le(e) {
613
- return typeof e > "u" || !!e;
614
- }
615
- function A(e) {
616
- const t = {}, n = e.currentTarget;
617
- if (!(!(n != null && n._ripple) || n._ripple.touched || e[K])) {
618
- if (e[K] = !0, Z(e))
619
- n._ripple.touched = !0, n._ripple.isTouch = !0;
620
- else if (n._ripple.isTouch) return;
621
- if (t.center = n._ripple.centered || xe(e), n._ripple.class && (t.class = n._ripple.class), Z(e)) {
622
- if (n._ripple.showTimerCommit) return;
623
- n._ripple.showTimerCommit = () => {
624
- Y.show(e, n, t);
625
- }, n._ripple.showTimer = window.setTimeout(() => {
626
- var a;
627
- (a = n == null ? void 0 : n._ripple) != null && a.showTimerCommit && (n._ripple.showTimerCommit(), n._ripple.showTimerCommit = null);
628
- }, Pt);
629
- } else
630
- Y.show(e, n, t);
631
- }
632
- }
633
- function fe(e) {
634
- e[K] = !0;
635
- }
636
- function C(e) {
637
- const t = e.currentTarget;
638
- if (t != null && t._ripple) {
639
- if (window.clearTimeout(t._ripple.showTimer), e.type === "touchend" && t._ripple.showTimerCommit) {
640
- t._ripple.showTimerCommit(), t._ripple.showTimerCommit = null, t._ripple.showTimer = window.setTimeout(() => {
641
- C(e);
642
- });
643
- return;
644
- }
645
- window.setTimeout(() => {
646
- t._ripple && (t._ripple.touched = !1);
647
- }), Y.hide(t);
648
- }
649
- }
650
- function Te(e) {
651
- const t = e.currentTarget;
652
- t != null && t._ripple && (t._ripple.showTimerCommit && (t._ripple.showTimerCommit = null), window.clearTimeout(t._ripple.showTimer));
653
- }
654
- let F = !1;
655
- function ke(e) {
656
- !F && (e.keyCode === le.enter || e.keyCode === le.space) && (F = !0, A(e));
657
- }
658
- function Ie(e) {
659
- F = !1, C(e);
660
- }
661
- function Ve(e) {
662
- F && (F = !1, C(e));
663
- }
664
- function Pe(e, t, n) {
665
- const {
666
- value: a,
667
- modifiers: i
668
- } = t, s = Le(a);
669
- if (s || Y.hide(e), e._ripple = e._ripple ?? {}, e._ripple.enabled = s, e._ripple.centered = i.center, e._ripple.circle = i.circle, nt(a) && a.class && (e._ripple.class = a.class), s && !n) {
670
- if (i.stop) {
671
- e.addEventListener("touchstart", fe, {
672
- passive: !0
673
- }), e.addEventListener("mousedown", fe);
674
- return;
675
- }
676
- e.addEventListener("touchstart", A, {
677
- passive: !0
678
- }), e.addEventListener("touchend", C, {
679
- passive: !0
680
- }), e.addEventListener("touchmove", Te, {
681
- passive: !0
682
- }), e.addEventListener("touchcancel", C), e.addEventListener("mousedown", A), e.addEventListener("mouseup", C), e.addEventListener("mouseleave", C), e.addEventListener("keydown", ke), e.addEventListener("keyup", Ie), e.addEventListener("blur", Ve), e.addEventListener("dragstart", C, {
683
- passive: !0
684
- });
685
- } else !s && n && Be(e);
686
- }
687
- function Be(e) {
688
- e.removeEventListener("mousedown", A), e.removeEventListener("touchstart", A), e.removeEventListener("touchend", C), e.removeEventListener("touchmove", Te), e.removeEventListener("touchcancel", C), e.removeEventListener("mouseup", C), e.removeEventListener("mouseleave", C), e.removeEventListener("keydown", ke), e.removeEventListener("keyup", Ie), e.removeEventListener("dragstart", C), e.removeEventListener("blur", Ve);
689
- }
690
- function $t(e, t) {
691
- Pe(e, t, !1);
692
- }
693
- function Rt(e) {
694
- delete e._ripple, Be(e);
695
- }
696
- function Ot(e, t) {
697
- if (t.value === t.oldValue)
698
- return;
699
- const n = Le(t.oldValue);
700
- Pe(e, t, n);
701
- }
702
- const an = {
703
- mounted: $t,
704
- unmounted: Rt,
705
- updated: Ot
706
- };
707
- function Nt(e) {
708
- return {
709
- aspectStyles: p(() => {
710
- const t = Number(e.aspectRatio);
711
- return t ? {
712
- paddingBottom: String(1 / t * 100) + "%"
713
- } : void 0;
714
- })
715
- };
716
- }
717
- const $e = w({
718
- aspectRatio: [String, Number],
719
- contentClass: null,
720
- inline: Boolean,
721
- ...M(),
722
- ...Ge()
723
- }, "VResponsive"), ve = I()({
724
- name: "VResponsive",
725
- props: $e(),
726
- setup(e, t) {
727
- let {
728
- slots: n
729
- } = t;
730
- const {
731
- aspectStyles: a
732
- } = Nt(e), {
733
- dimensionStyles: i
734
- } = Ue(e);
735
- return q(() => {
736
- var s;
737
- return d("div", {
738
- class: ["v-responsive", {
739
- "v-responsive--inline": e.inline
740
- }, e.class],
741
- style: [i.value, e.style]
742
- }, [d("div", {
743
- class: "v-responsive__sizer",
744
- style: a.value
745
- }, null), (s = n.additional) == null ? void 0 : s.call(n), n.default && d("div", {
746
- class: ["v-responsive__content", e.contentClass]
747
- }, [n.default()])]);
748
- }), {};
749
- }
750
- });
751
- function zt(e, t) {
752
- if (!ae) return;
753
- const n = t.modifiers || {}, a = t.value, {
754
- handler: i,
755
- options: s
756
- } = typeof a == "object" ? a : {
757
- handler: a,
758
- options: {}
759
- }, r = new IntersectionObserver(function() {
760
- var g;
761
- let o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], c = arguments.length > 1 ? arguments[1] : void 0;
762
- const f = (g = e._observe) == null ? void 0 : g[t.instance.$.uid];
763
- if (!f) return;
764
- const v = o.some((l) => l.isIntersecting);
765
- i && (!n.quiet || f.init) && (!n.once || v || f.init) && i(v, o, c), v && n.once ? Re(e, t) : f.init = !0;
766
- }, s);
767
- e._observe = Object(e._observe), e._observe[t.instance.$.uid] = {
768
- init: !1,
769
- observer: r
770
- }, r.observe(e);
771
- }
772
- function Re(e, t) {
773
- var a;
774
- const n = (a = e._observe) == null ? void 0 : a[t.instance.$.uid];
775
- n && (n.observer.unobserve(e), delete e._observe[t.instance.$.uid]);
776
- }
777
- const At = {
778
- mounted: zt,
779
- unmounted: Re
780
- }, Ft = w({
781
- absolute: Boolean,
782
- alt: String,
783
- cover: Boolean,
784
- color: String,
785
- draggable: {
786
- type: [Boolean, String],
787
- default: void 0
788
- },
789
- eager: Boolean,
790
- gradient: String,
791
- lazySrc: String,
792
- options: {
793
- type: Object,
794
- // For more information on types, navigate to:
795
- // https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API
796
- default: () => ({
797
- root: void 0,
798
- rootMargin: void 0,
799
- threshold: void 0
800
- })
801
- },
802
- sizes: String,
803
- src: {
804
- type: [String, Object],
805
- default: ""
806
- },
807
- crossorigin: String,
808
- referrerpolicy: String,
809
- srcset: String,
810
- position: String,
811
- ...$e(),
812
- ...M(),
813
- ...re(),
814
- ...He()
815
- }, "VImg"), Mt = I()({
816
- name: "VImg",
817
- directives: {
818
- intersect: At
819
- },
820
- props: Ft(),
821
- emits: {
822
- loadstart: (e) => !0,
823
- load: (e) => !0,
824
- error: (e) => !0
825
- },
826
- setup(e, t) {
827
- let {
828
- emit: n,
829
- slots: a
830
- } = t;
831
- const {
832
- backgroundColorClasses: i,
833
- backgroundColorStyles: s
834
- } = D(ne(e, "color")), {
835
- roundedClasses: r
836
- } = ie(e), o = te("VImg"), c = O(""), f = be(), v = O(e.eager ? "loading" : "idle"), g = O(), l = O(), u = p(() => e.src && typeof e.src == "object" ? {
837
- src: e.src.src,
838
- srcset: e.srcset || e.src.srcset,
839
- lazySrc: e.lazySrc || e.src.lazySrc,
840
- aspect: Number(e.aspectRatio || e.src.aspect || 0)
841
- } : {
842
- src: e.src,
843
- srcset: e.srcset,
844
- lazySrc: e.lazySrc,
845
- aspect: Number(e.aspectRatio || 0)
846
- }), y = p(() => u.value.aspect || g.value / l.value || 0);
847
- z(() => e.src, () => {
848
- h(v.value !== "idle");
849
- }), z(y, (m, b) => {
850
- !m && b && f.value && x(f.value);
851
- }), at(() => h());
852
- function h(m) {
853
- if (!(e.eager && m) && !(ae && !m && !e.eager)) {
854
- if (v.value = "loading", u.value.lazySrc) {
855
- const b = new Image();
856
- b.src = u.value.lazySrc, x(b, null);
857
- }
858
- u.value.src && st(() => {
859
- var b;
860
- n("loadstart", ((b = f.value) == null ? void 0 : b.currentSrc) || u.value.src), setTimeout(() => {
861
- var L;
862
- if (!o.isUnmounted)
863
- if ((L = f.value) != null && L.complete) {
864
- if (f.value.naturalWidth || _(), v.value === "error") return;
865
- y.value || x(f.value, null), v.value === "loading" && S();
866
- } else
867
- y.value || x(f.value), V();
868
- });
869
- });
870
- }
871
- }
872
- function S() {
873
- var m;
874
- o.isUnmounted || (V(), x(f.value), v.value = "loaded", n("load", ((m = f.value) == null ? void 0 : m.currentSrc) || u.value.src));
875
- }
876
- function _() {
877
- var m;
878
- o.isUnmounted || (v.value = "error", n("error", ((m = f.value) == null ? void 0 : m.currentSrc) || u.value.src));
879
- }
880
- function V() {
881
- const m = f.value;
882
- m && (c.value = m.currentSrc || m.src);
883
- }
884
- let k = -1;
885
- j(() => {
886
- clearTimeout(k);
887
- });
888
- function x(m) {
889
- let b = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 100;
890
- const L = () => {
891
- if (clearTimeout(k), o.isUnmounted) return;
892
- const {
893
- naturalHeight: R,
894
- naturalWidth: G
895
- } = m;
896
- R || G ? (g.value = G, l.value = R) : !m.complete && v.value === "loading" && b != null ? k = window.setTimeout(L, b) : (m.currentSrc.endsWith(".svg") || m.currentSrc.startsWith("data:image/svg+xml")) && (g.value = 1, l.value = 1);
897
- };
898
- L();
899
- }
900
- const P = p(() => ({
901
- "v-img__img--cover": e.cover,
902
- "v-img__img--contain": !e.cover
903
- })), U = () => {
904
- var L;
905
- if (!u.value.src || v.value === "idle") return null;
906
- const m = d("img", {
907
- class: ["v-img__img", P.value],
908
- style: {
909
- objectPosition: e.position
910
- },
911
- crossorigin: e.crossorigin,
912
- src: u.value.src,
913
- srcset: u.value.srcset,
914
- alt: e.alt,
915
- referrerpolicy: e.referrerpolicy,
916
- draggable: e.draggable,
917
- sizes: e.sizes,
918
- ref: f,
919
- onLoad: S,
920
- onError: _
921
- }, null), b = (L = a.sources) == null ? void 0 : L.call(a);
922
- return d(H, {
923
- transition: e.transition,
924
- appear: !0
925
- }, {
926
- default: () => [ue(b ? d("picture", {
927
- class: "v-img__picture"
928
- }, [b, m]) : m, [[ot, v.value === "loaded"]])]
929
- });
930
- }, B = () => d(H, {
931
- transition: e.transition
932
- }, {
933
- default: () => [u.value.lazySrc && v.value !== "loaded" && d("img", {
934
- class: ["v-img__img", "v-img__img--preload", P.value],
935
- style: {
936
- objectPosition: e.position
937
- },
938
- crossorigin: e.crossorigin,
939
- src: u.value.lazySrc,
940
- alt: e.alt,
941
- referrerpolicy: e.referrerpolicy,
942
- draggable: e.draggable
943
- }, null)]
944
- }), X = () => a.placeholder ? d(H, {
945
- transition: e.transition,
946
- appear: !0
947
- }, {
948
- default: () => [(v.value === "loading" || v.value === "error" && !a.error) && d("div", {
949
- class: "v-img__placeholder"
950
- }, [a.placeholder()])]
951
- }) : null, $ = () => a.error ? d(H, {
952
- transition: e.transition,
953
- appear: !0
954
- }, {
955
- default: () => [v.value === "error" && d("div", {
956
- class: "v-img__error"
957
- }, [a.error()])]
958
- }) : null, J = () => e.gradient ? d("div", {
959
- class: "v-img__gradient",
960
- style: {
961
- backgroundImage: `linear-gradient(${e.gradient})`
962
- }
963
- }, null) : null, N = O(!1);
964
- {
965
- const m = z(y, (b) => {
966
- b && (requestAnimationFrame(() => {
967
- requestAnimationFrame(() => {
968
- N.value = !0;
969
- });
970
- }), m());
971
- });
972
- }
973
- return q(() => {
974
- const m = ve.filterProps(e);
975
- return ue(d(ve, rt({
976
- class: ["v-img", {
977
- "v-img--absolute": e.absolute,
978
- "v-img--booting": !N.value
979
- }, i.value, r.value, e.class],
980
- style: [{
981
- width: T(e.width === "auto" ? g.value : e.width)
982
- }, s.value, e.style]
983
- }, m, {
984
- aspectRatio: y.value,
985
- "aria-label": e.alt,
986
- role: e.alt ? "img" : void 0
987
- }), {
988
- additional: () => d(he, null, [d(U, null, null), d(B, null, null), d(J, null, null), d(X, null, null), d($, null, null)]),
989
- default: a.default
990
- }), [[it("intersect"), {
991
- handler: h,
992
- options: e.options
993
- }, null, {
994
- once: !0
995
- }]]);
996
- }), {
997
- currentSrc: c,
998
- image: f,
999
- state: v,
1000
- naturalWidth: g,
1001
- naturalHeight: l
1002
- };
1003
- }
1004
- }), Ut = w({
1005
- start: Boolean,
1006
- end: Boolean,
1007
- icon: lt,
1008
- image: String,
1009
- text: String,
1010
- ...ct(),
1011
- ...M(),
1012
- ...gt(),
1013
- ...re(),
1014
- ...ft(),
1015
- ...me(),
1016
- ...Ce(),
1017
- ...bt({
1018
- variant: "flat"
1019
- })
1020
- }, "VAvatar"), sn = I()({
1021
- name: "VAvatar",
1022
- props: Ut(),
1023
- setup(e, t) {
1024
- let {
1025
- slots: n
1026
- } = t;
1027
- const {
1028
- themeClasses: a
1029
- } = Se(e), {
1030
- borderClasses: i
1031
- } = ut(e), {
1032
- colorClasses: s,
1033
- colorStyles: r,
1034
- variantClasses: o
1035
- } = _t(e), {
1036
- densityClasses: c
1037
- } = ht(e), {
1038
- roundedClasses: f
1039
- } = ie(e), {
1040
- sizeClasses: v,
1041
- sizeStyles: g
1042
- } = dt(e);
1043
- return q(() => d(e.tag, {
1044
- class: ["v-avatar", {
1045
- "v-avatar--start": e.start,
1046
- "v-avatar--end": e.end
1047
- }, a.value, i.value, s.value, c.value, f.value, v.value, o.value, e.class],
1048
- style: [r.value, g.value, e.style]
1049
- }, {
1050
- default: () => [n.default ? d(Et, {
1051
- key: "content-defaults",
1052
- defaults: {
1053
- VImg: {
1054
- cover: !0,
1055
- src: e.image
1056
- },
1057
- VIcon: {
1058
- icon: e.icon
1059
- }
1060
- }
1061
- }, {
1062
- default: () => [n.default()]
1063
- }) : e.image ? d(Mt, {
1064
- key: "image",
1065
- src: e.image,
1066
- alt: "",
1067
- cover: !0
1068
- }, null) : e.icon ? d(vt, {
1069
- key: "icon",
1070
- icon: e.icon
1071
- }, null) : e.text, pt(!1, "v-avatar")]
1072
- })), {};
1073
- }
1074
- }), Gt = w({
1075
- disabled: Boolean,
1076
- group: Boolean,
1077
- hideOnLeave: Boolean,
1078
- leaveAbsolute: Boolean,
1079
- mode: String,
1080
- origin: String
1081
- }, "transition");
1082
- function E(e, t, n) {
1083
- return I()({
1084
- name: e,
1085
- props: Gt({
1086
- mode: n,
1087
- origin: t
1088
- }),
1089
- setup(a, i) {
1090
- let {
1091
- slots: s
1092
- } = i;
1093
- const r = {
1094
- onBeforeEnter(o) {
1095
- a.origin && (o.style.transformOrigin = a.origin);
1096
- },
1097
- onLeave(o) {
1098
- if (a.leaveAbsolute) {
1099
- const {
1100
- offsetTop: c,
1101
- offsetLeft: f,
1102
- offsetWidth: v,
1103
- offsetHeight: g
1104
- } = o;
1105
- o._transitionInitialStyles = {
1106
- position: o.style.position,
1107
- top: o.style.top,
1108
- left: o.style.left,
1109
- width: o.style.width,
1110
- height: o.style.height
1111
- }, o.style.position = "absolute", o.style.top = `${c}px`, o.style.left = `${f}px`, o.style.width = `${v}px`, o.style.height = `${g}px`;
1112
- }
1113
- a.hideOnLeave && o.style.setProperty("display", "none", "important");
1114
- },
1115
- onAfterLeave(o) {
1116
- if (a.leaveAbsolute && (o != null && o._transitionInitialStyles)) {
1117
- const {
1118
- position: c,
1119
- top: f,
1120
- left: v,
1121
- width: g,
1122
- height: l
1123
- } = o._transitionInitialStyles;
1124
- delete o._transitionInitialStyles, o.style.position = c || "", o.style.top = f || "", o.style.left = v || "", o.style.width = g || "", o.style.height = l || "";
1125
- }
1126
- }
1127
- };
1128
- return () => {
1129
- const o = a.group ? we : se;
1130
- return ee(o, {
1131
- name: a.disabled ? "" : e,
1132
- css: !a.disabled,
1133
- ...a.group ? void 0 : {
1134
- mode: a.mode
1135
- },
1136
- ...a.disabled ? {} : r
1137
- }, s.default);
1138
- };
1139
- }
1140
- });
1141
- }
1142
- function Oe(e, t) {
1143
- let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "in-out";
1144
- return I()({
1145
- name: e,
1146
- props: {
1147
- mode: {
1148
- type: String,
1149
- default: n
1150
- },
1151
- disabled: Boolean,
1152
- group: Boolean
1153
- },
1154
- setup(a, i) {
1155
- let {
1156
- slots: s
1157
- } = i;
1158
- const r = a.group ? we : se;
1159
- return () => ee(r, {
1160
- name: a.disabled ? "" : e,
1161
- css: !a.disabled,
1162
- // mode: props.mode, // TODO: vuejs/vue-next#3104
1163
- ...a.disabled ? {} : t
1164
- }, s.default);
1165
- }
1166
- });
1167
- }
1168
- function Ne() {
1169
- let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
1170
- const n = (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1) ? "width" : "height", a = ge(`offset-${n}`);
1171
- return {
1172
- onBeforeEnter(r) {
1173
- r._parent = r.parentNode, r._initialStyle = {
1174
- transition: r.style.transition,
1175
- overflow: r.style.overflow,
1176
- [n]: r.style[n]
1177
- };
1178
- },
1179
- onEnter(r) {
1180
- const o = r._initialStyle;
1181
- if (!o) return;
1182
- r.style.setProperty("transition", "none", "important"), r.style.overflow = "hidden";
1183
- const c = `${r[a]}px`;
1184
- r.style[n] = "0", r.offsetHeight, r.style.transition = o.transition, e && r._parent && r._parent.classList.add(e), requestAnimationFrame(() => {
1185
- r.style[n] = c;
1186
- });
1187
- },
1188
- onAfterEnter: s,
1189
- onEnterCancelled: s,
1190
- onLeave(r) {
1191
- r._initialStyle = {
1192
- transition: "",
1193
- overflow: r.style.overflow,
1194
- [n]: r.style[n]
1195
- }, r.style.overflow = "hidden", r.style[n] = `${r[a]}px`, r.offsetHeight, requestAnimationFrame(() => r.style[n] = "0");
1196
- },
1197
- onAfterLeave: i,
1198
- onLeaveCancelled: i
1199
- };
1200
- function i(r) {
1201
- e && r._parent && r._parent.classList.remove(e), s(r);
1202
- }
1203
- function s(r) {
1204
- if (!r._initialStyle) return;
1205
- const o = r._initialStyle[n];
1206
- r.style.overflow = r._initialStyle.overflow, o != null && (r.style[n] = o), delete r._initialStyle;
1207
- }
1208
- }
1209
- E("fab-transition", "center center", "out-in");
1210
- E("dialog-bottom-transition");
1211
- E("dialog-top-transition");
1212
- const rn = E("fade-transition"), on = E("scale-transition");
1213
- E("scroll-x-transition");
1214
- E("scroll-x-reverse-transition");
1215
- E("scroll-y-transition");
1216
- E("scroll-y-reverse-transition");
1217
- E("slide-x-transition");
1218
- E("slide-x-reverse-transition");
1219
- const ln = E("slide-y-transition");
1220
- E("slide-y-reverse-transition");
1221
- const un = Oe("expand-transition", Ne()), cn = Oe("expand-x-transition", Ne("", !0));
1222
- ze("css/revolugo.index.4hIg6F8J.css");
1223
- export {
1224
- At as I,
1225
- en as L,
1226
- an as R,
1227
- It as V,
1228
- Et as a,
1229
- rn as b,
1230
- Wt as c,
1231
- un as d,
1232
- on as e,
1233
- Mt as f,
1234
- pt as g,
1235
- sn as h,
1236
- Xt as i,
1237
- Qt as j,
1238
- jt as k,
1239
- Tt as l,
1240
- gt as m,
1241
- nn as n,
1242
- tn as o,
1243
- Lt as p,
1244
- Ft as q,
1245
- Zt as r,
1246
- ht as s,
1247
- _t as t,
1248
- Jt as u,
1249
- bt as v,
1250
- cn as w,
1251
- xt as x,
1252
- Kt as y,
1253
- ln as z
1254
- };
1255
- //# sourceMappingURL=revolugo.index.CxQvHaJF.min.js.map