nethera-vue-components 1.4.8 → 1.4.9
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.
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { createElementBlock as x, openBlock as k, normalizeStyle as L, normalizeClass as ie, renderSlot as
|
|
2
|
-
const
|
|
1
|
+
import { createElementBlock as x, openBlock as k, normalizeStyle as L, normalizeClass as ie, renderSlot as Y, ref as se, computed as pe, resolveDirective as ge, withDirectives as he, Fragment as me, renderList as ve, createCommentVNode as q, createStaticVNode as ue, createElementVNode as b, toDisplayString as ae, vShow as ye, withKeys as ce, withModifiers as le, createTextVNode as we, unref as ke, onMounted as xe, onBeforeUnmount as Se, createBlock as Me, Transition as _e, withCtx as $e } from "vue";
|
|
2
|
+
const W = (e, n) => {
|
|
3
3
|
const s = e.__vccOpts || e;
|
|
4
4
|
for (const [a, i] of n)
|
|
5
5
|
s[a] = i;
|
|
6
6
|
return s;
|
|
7
|
-
},
|
|
7
|
+
}, Oe = {
|
|
8
8
|
name: "CustomButton",
|
|
9
9
|
props: {
|
|
10
10
|
variant: {
|
|
@@ -84,8 +84,8 @@ const G = (e, n) => {
|
|
|
84
84
|
}
|
|
85
85
|
},
|
|
86
86
|
emits: ["click"]
|
|
87
|
-
},
|
|
88
|
-
function
|
|
87
|
+
}, ze = ["disabled"];
|
|
88
|
+
function Re(e, n, s, a, i, t) {
|
|
89
89
|
return k(), x("button", {
|
|
90
90
|
class: ie([
|
|
91
91
|
"custom-button",
|
|
@@ -96,10 +96,10 @@ function Be(e, n, s, a, i, t) {
|
|
|
96
96
|
onClick: n[0] || (n[0] = (o) => e.$emit("click", o)),
|
|
97
97
|
style: L(t.glowStyles)
|
|
98
98
|
}, [
|
|
99
|
-
|
|
100
|
-
], 14,
|
|
99
|
+
Y(e.$slots, "default", {}, void 0, !0)
|
|
100
|
+
], 14, ze);
|
|
101
101
|
}
|
|
102
|
-
const Ce = /* @__PURE__ */
|
|
102
|
+
const Ce = /* @__PURE__ */ W(Oe, [["render", Re], ["__scopeId", "data-v-7f47605a"]]), Be = {
|
|
103
103
|
__name: "AnimatedReveal",
|
|
104
104
|
props: {
|
|
105
105
|
delay: { type: String, default: "0s" },
|
|
@@ -111,8 +111,8 @@ const Ce = /* @__PURE__ */ G(ze, [["render", Be], ["__scopeId", "data-v-7f47605a
|
|
|
111
111
|
const n = e, s = se(!1), a = se(!1), i = se(null), t = pe(() => `animate-${n.animation}`), o = pe(
|
|
112
112
|
() => n.observe ? s.value : n.shouldAnimate
|
|
113
113
|
);
|
|
114
|
-
function
|
|
115
|
-
|
|
114
|
+
function m(d) {
|
|
115
|
+
d && (s.value = !0);
|
|
116
116
|
}
|
|
117
117
|
function v() {
|
|
118
118
|
a.value = !0;
|
|
@@ -120,8 +120,8 @@ const Ce = /* @__PURE__ */ G(ze, [["render", Be], ["__scopeId", "data-v-7f47605a
|
|
|
120
120
|
function l() {
|
|
121
121
|
a.value = !0;
|
|
122
122
|
}
|
|
123
|
-
return (
|
|
124
|
-
const
|
|
123
|
+
return (d, u) => {
|
|
124
|
+
const p = ge("observe-visibility");
|
|
125
125
|
return he((k(), x("div", {
|
|
126
126
|
ref_key: "root",
|
|
127
127
|
ref: i,
|
|
@@ -138,16 +138,16 @@ const Ce = /* @__PURE__ */ G(ze, [["render", Be], ["__scopeId", "data-v-7f47605a
|
|
|
138
138
|
onAnimationstart: v,
|
|
139
139
|
onAnimationend: l
|
|
140
140
|
}, [
|
|
141
|
-
|
|
141
|
+
Y(d.$slots, "default", {}, void 0, !0)
|
|
142
142
|
], 38)), [
|
|
143
|
-
[
|
|
144
|
-
callback:
|
|
143
|
+
[p, {
|
|
144
|
+
callback: m,
|
|
145
145
|
once: !0
|
|
146
146
|
}]
|
|
147
147
|
]);
|
|
148
148
|
};
|
|
149
149
|
}
|
|
150
|
-
},
|
|
150
|
+
}, je = /* @__PURE__ */ W(Be, [["__scopeId", "data-v-9ba35d08"]]), Ee = {
|
|
151
151
|
name: "BackgroundShapes",
|
|
152
152
|
data() {
|
|
153
153
|
return {
|
|
@@ -180,16 +180,16 @@ const Ce = /* @__PURE__ */ G(ze, [["render", Be], ["__scopeId", "data-v-7f47605a
|
|
|
180
180
|
generateShapes() {
|
|
181
181
|
const e = window.innerWidth, n = 2 * (window.innerHeight / 3), a = Math.floor((e + n) / 300) * this.shapeMultiplier, i = ["cube-1", "cube-2", "cube-3"], t = [];
|
|
182
182
|
for (let o = 0; o < a; o++) {
|
|
183
|
-
let
|
|
183
|
+
let m = 0, v, l = !1;
|
|
184
184
|
do
|
|
185
185
|
v = {
|
|
186
186
|
top: Math.random() * 95,
|
|
187
187
|
left: Math.random() * 100
|
|
188
|
-
}, l = t.some((
|
|
189
|
-
const u =
|
|
190
|
-
return Math.sqrt(u * u +
|
|
191
|
-
}),
|
|
192
|
-
while (l &&
|
|
188
|
+
}, l = t.some((d) => {
|
|
189
|
+
const u = d.top - v.top, p = d.left - v.left;
|
|
190
|
+
return Math.sqrt(u * u + p * p) < this.minDistance;
|
|
191
|
+
}), m++;
|
|
192
|
+
while (l && m < 10);
|
|
193
193
|
l || t.push({
|
|
194
194
|
id: o,
|
|
195
195
|
type: i[Math.floor(Math.random() * i.length)],
|
|
@@ -203,18 +203,18 @@ const Ce = /* @__PURE__ */ G(ze, [["render", Be], ["__scopeId", "data-v-7f47605a
|
|
|
203
203
|
this.shapes = t;
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
|
-
},
|
|
206
|
+
}, Le = { class: "background-shapes absolute inset-0 pointer-events-none" }, Ne = {
|
|
207
207
|
key: 0,
|
|
208
208
|
class: "cube animate-rotate3d_1"
|
|
209
|
-
},
|
|
209
|
+
}, Ae = {
|
|
210
210
|
key: 1,
|
|
211
211
|
class: "cube animate-rotate3d_3"
|
|
212
212
|
}, De = {
|
|
213
213
|
key: 2,
|
|
214
214
|
class: "cube animate-rotate3d_2"
|
|
215
215
|
};
|
|
216
|
-
function
|
|
217
|
-
return k(), x("div",
|
|
216
|
+
function Ye(e, n, s, a, i, t) {
|
|
217
|
+
return k(), x("div", Le, [
|
|
218
218
|
(k(!0), x(me, null, ve(i.shapes, (o) => (k(), x("div", {
|
|
219
219
|
key: o.id,
|
|
220
220
|
class: "shape-container",
|
|
@@ -225,10 +225,10 @@ function Te(e, n, s, a, i, t) {
|
|
|
225
225
|
animationDelay: o.delay + "s"
|
|
226
226
|
})
|
|
227
227
|
}, [
|
|
228
|
-
o.type === "cube-1" ? (k(), x("div",
|
|
228
|
+
o.type === "cube-1" ? (k(), x("div", Ne, n[0] || (n[0] = [
|
|
229
229
|
ue('<div class="cube-face front" data-v-b7ea069f></div><div class="cube-face back" data-v-b7ea069f></div><div class="cube-face right" data-v-b7ea069f></div><div class="cube-face left" data-v-b7ea069f></div><div class="cube-face top" data-v-b7ea069f></div><div class="cube-face bottom" data-v-b7ea069f></div>', 6)
|
|
230
230
|
]))) : q("", !0),
|
|
231
|
-
o.type === "cube-2" ? (k(), x("div",
|
|
231
|
+
o.type === "cube-2" ? (k(), x("div", Ae, n[1] || (n[1] = [
|
|
232
232
|
ue('<div class="cube-face front" data-v-b7ea069f></div><div class="cube-face back" data-v-b7ea069f></div><div class="cube-face right" data-v-b7ea069f></div><div class="cube-face left" data-v-b7ea069f></div><div class="cube-face top" data-v-b7ea069f></div><div class="cube-face bottom" data-v-b7ea069f></div>', 6)
|
|
233
233
|
]))) : q("", !0),
|
|
234
234
|
o.type === "cube-3" ? (k(), x("div", De, n[2] || (n[2] = [
|
|
@@ -237,7 +237,7 @@ function Te(e, n, s, a, i, t) {
|
|
|
237
237
|
], 4))), 128))
|
|
238
238
|
]);
|
|
239
239
|
}
|
|
240
|
-
const
|
|
240
|
+
const Te = /* @__PURE__ */ W(Ee, [["render", Ye], ["__scopeId", "data-v-b7ea069f"]]), Ie = {
|
|
241
241
|
name: "GenericNav",
|
|
242
242
|
props: {
|
|
243
243
|
title: {
|
|
@@ -279,10 +279,10 @@ const Pe = /* @__PURE__ */ G(Le, [["render", Te], ["__scopeId", "data-v-b7ea069f
|
|
|
279
279
|
mounted() {
|
|
280
280
|
typeof this.menuOpen == "boolean" && (this.isMenuOpen = this.menuOpen);
|
|
281
281
|
}
|
|
282
|
-
},
|
|
282
|
+
}, Pe = { class: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8" }, Xe = { class: "flex justify-between h-20" }, qe = { class: "flex items-center" }, We = { class: "flex-shrink-0 flex items-center" }, Fe = {
|
|
283
283
|
style: { "margin-right": "20px" },
|
|
284
284
|
class: "subtitle font-bold"
|
|
285
|
-
},
|
|
285
|
+
}, Ve = { class: "flex items-center md:hidden" }, He = {
|
|
286
286
|
key: 0,
|
|
287
287
|
class: "block h-6 w-6",
|
|
288
288
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -290,7 +290,7 @@ const Pe = /* @__PURE__ */ G(Le, [["render", Te], ["__scopeId", "data-v-b7ea069f
|
|
|
290
290
|
viewBox: "0 0 24 24",
|
|
291
291
|
stroke: "white",
|
|
292
292
|
"aria-hidden": "true"
|
|
293
|
-
},
|
|
293
|
+
}, Ke = {
|
|
294
294
|
key: 1,
|
|
295
295
|
class: "block h-6 w-6",
|
|
296
296
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -298,34 +298,34 @@ const Pe = /* @__PURE__ */ G(Le, [["render", Te], ["__scopeId", "data-v-b7ea069f
|
|
|
298
298
|
viewBox: "0 0 24 24",
|
|
299
299
|
stroke: "white",
|
|
300
300
|
"aria-hidden": "true"
|
|
301
|
-
},
|
|
302
|
-
function
|
|
301
|
+
}, Ge = { class: "hidden md:flex md:items-center md:space-x-4" }, Ze = { class: "md:hidden" }, Ue = { class: "pt-2 pb-3 space-y-1" };
|
|
302
|
+
function Je(e, n, s, a, i, t) {
|
|
303
303
|
return k(), x("nav", {
|
|
304
304
|
class: ie({ "dark-mode": s.isDarkMode })
|
|
305
305
|
}, [
|
|
306
|
-
b("div",
|
|
307
|
-
b("div",
|
|
308
|
-
b("div",
|
|
306
|
+
b("div", Pe, [
|
|
307
|
+
b("div", Xe, [
|
|
308
|
+
b("div", qe, [
|
|
309
309
|
b("div", We, [
|
|
310
|
-
|
|
311
|
-
b("h1",
|
|
310
|
+
Y(e.$slots, "logo", {}, void 0, !0),
|
|
311
|
+
b("h1", Fe, ae(s.title), 1)
|
|
312
312
|
])
|
|
313
313
|
]),
|
|
314
|
-
b("div",
|
|
314
|
+
b("div", Ve, [
|
|
315
315
|
b("button", {
|
|
316
316
|
onClick: n[0] || (n[0] = (...o) => t.toggleMenu && t.toggleMenu(...o)),
|
|
317
317
|
class: "inline-flex items-center justify-center p-2 rounded-md focus:outline-none focus:ring-2 focus:ring-inset focus:ring-gray-500",
|
|
318
318
|
"aria-expanded": "false"
|
|
319
319
|
}, [
|
|
320
320
|
n[3] || (n[3] = b("span", { class: "sr-only" }, "Ouvrir le menu", -1)),
|
|
321
|
-
i.isMenuOpen ? (k(), x("svg",
|
|
321
|
+
i.isMenuOpen ? (k(), x("svg", Ke, n[2] || (n[2] = [
|
|
322
322
|
b("path", {
|
|
323
323
|
"stroke-linecap": "round",
|
|
324
324
|
"stroke-linejoin": "round",
|
|
325
325
|
"stroke-width": "2",
|
|
326
326
|
d: "M6 18L18 6M6 6l12 12"
|
|
327
327
|
}, null, -1)
|
|
328
|
-
]))) : (k(), x("svg",
|
|
328
|
+
]))) : (k(), x("svg", He, n[1] || (n[1] = [
|
|
329
329
|
b("path", {
|
|
330
330
|
"stroke-linecap": "round",
|
|
331
331
|
"stroke-linejoin": "round",
|
|
@@ -335,21 +335,21 @@ function Qe(e, n, s, a, i, t) {
|
|
|
335
335
|
])))
|
|
336
336
|
])
|
|
337
337
|
]),
|
|
338
|
-
b("div",
|
|
339
|
-
|
|
338
|
+
b("div", Ge, [
|
|
339
|
+
Y(e.$slots, "desktop", {}, void 0, !0)
|
|
340
340
|
])
|
|
341
341
|
]),
|
|
342
|
-
he(b("div",
|
|
343
|
-
b("div",
|
|
344
|
-
|
|
342
|
+
he(b("div", Ze, [
|
|
343
|
+
b("div", Ue, [
|
|
344
|
+
Y(e.$slots, "mobile", {}, void 0, !0)
|
|
345
345
|
])
|
|
346
346
|
], 512), [
|
|
347
|
-
[
|
|
347
|
+
[ye, i.isMenuOpen]
|
|
348
348
|
])
|
|
349
349
|
])
|
|
350
350
|
], 2);
|
|
351
351
|
}
|
|
352
|
-
const
|
|
352
|
+
const Qe = /* @__PURE__ */ W(Ie, [["render", Je], ["__scopeId", "data-v-691dc90c"]]), et = {
|
|
353
353
|
name: "GlowCard",
|
|
354
354
|
props: {
|
|
355
355
|
glowColor: {
|
|
@@ -454,8 +454,8 @@ const et = /* @__PURE__ */ G(Ie, [["render", Qe], ["__scopeId", "data-v-691dc90c
|
|
|
454
454
|
beforeDestroy() {
|
|
455
455
|
window.removeEventListener("scroll", this.handleScroll, !0), window.removeEventListener("resize", this.checkIfMobile);
|
|
456
456
|
}
|
|
457
|
-
},
|
|
458
|
-
function
|
|
457
|
+
}, tt = { class: "glow-card-content" };
|
|
458
|
+
function nt(e, n, s, a, i, t) {
|
|
459
459
|
return k(), x("div", {
|
|
460
460
|
class: "glow-card",
|
|
461
461
|
onMousemove: n[0] || (n[0] = (...o) => t.handleMouseMove && t.handleMouseMove(...o)),
|
|
@@ -468,8 +468,8 @@ function ot(e, n, s, a, i, t) {
|
|
|
468
468
|
class: "glow-grid",
|
|
469
469
|
style: L(t.gridMaskStyle)
|
|
470
470
|
}, null, 4)) : q("", !0),
|
|
471
|
-
b("div",
|
|
472
|
-
|
|
471
|
+
b("div", tt, [
|
|
472
|
+
Y(e.$slots, "default", {}, void 0, !0)
|
|
473
473
|
]),
|
|
474
474
|
s.showGlow && !i.isMobile ? (k(), x("div", {
|
|
475
475
|
key: 1,
|
|
@@ -478,7 +478,7 @@ function ot(e, n, s, a, i, t) {
|
|
|
478
478
|
}, null, 4)) : q("", !0)
|
|
479
479
|
], 544);
|
|
480
480
|
}
|
|
481
|
-
const
|
|
481
|
+
const ot = /* @__PURE__ */ W(et, [["render", nt], ["__scopeId", "data-v-d6b1d83c"]]), it = {
|
|
482
482
|
name: "MouseOriented",
|
|
483
483
|
props: {
|
|
484
484
|
detectionZoneSize: {
|
|
@@ -579,12 +579,12 @@ const it = /* @__PURE__ */ G(tt, [["render", ot], ["__scopeId", "data-v-d6b1d83c
|
|
|
579
579
|
},
|
|
580
580
|
mousePositionStyle() {
|
|
581
581
|
if (!this.containerRect || !this.active) return {};
|
|
582
|
-
const e = this.detectionZoneSize / 100, n = this.containerRect.left + this.containerRect.width / 2, s = this.containerRect.top + this.containerRect.height / 2, a = this.containerRect.width * e / 2, i = (this.mouseX - n) / a * 50, t = (this.mouseY - s) / a * 50, o = Math.min(Math.max(i, -50), 50),
|
|
582
|
+
const e = this.detectionZoneSize / 100, n = this.containerRect.left + this.containerRect.width / 2, s = this.containerRect.top + this.containerRect.height / 2, a = this.containerRect.width * e / 2, i = (this.mouseX - n) / a * 50, t = (this.mouseY - s) / a * 50, o = Math.min(Math.max(i, -50), 50), m = Math.min(Math.max(t, -50), 50);
|
|
583
583
|
return {
|
|
584
584
|
position: "absolute",
|
|
585
585
|
top: "50%",
|
|
586
586
|
left: "50%",
|
|
587
|
-
transform: `translate(calc(-50% + ${o}%), calc(-50% + ${
|
|
587
|
+
transform: `translate(calc(-50% + ${o}%), calc(-50% + ${m}%))`,
|
|
588
588
|
width: "10px",
|
|
589
589
|
height: "10px",
|
|
590
590
|
backgroundColor: "rgba(255, 0, 0)",
|
|
@@ -607,10 +607,10 @@ const it = /* @__PURE__ */ G(tt, [["render", ot], ["__scopeId", "data-v-d6b1d83c
|
|
|
607
607
|
methods: {
|
|
608
608
|
handleMouseMove(e) {
|
|
609
609
|
if (this.active && (this.mouseX = e.clientX, this.mouseY = e.clientY, this.containerRect)) {
|
|
610
|
-
const n = this.containerRect.left + this.containerRect.width / 2, s = this.containerRect.top + this.containerRect.height / 2, a = window.innerWidth * (this.detectionZoneSize / 100), i = window.innerHeight * (this.detectionZoneSize / 100), t = n - a / 2, o = n + a / 2,
|
|
611
|
-
if (e.clientX >= t && e.clientX <= o && e.clientY >=
|
|
612
|
-
const l = (this.mouseX - n) / (this.containerRect.width / 2),
|
|
613
|
-
this.targetRotateX = Math.min(Math.max(-
|
|
610
|
+
const n = this.containerRect.left + this.containerRect.width / 2, s = this.containerRect.top + this.containerRect.height / 2, a = window.innerWidth * (this.detectionZoneSize / 100), i = window.innerHeight * (this.detectionZoneSize / 100), t = n - a / 2, o = n + a / 2, m = s - i / 2, v = s + i / 2;
|
|
611
|
+
if (e.clientX >= t && e.clientX <= o && e.clientY >= m && e.clientY <= v) {
|
|
612
|
+
const l = (this.mouseX - n) / (this.containerRect.width / 2), d = (this.mouseY - s) / (this.containerRect.height / 2);
|
|
613
|
+
this.targetRotateX = Math.min(Math.max(-d * this.intensity, -this.maxAngle), this.maxAngle), this.targetRotateY = Math.min(Math.max(l * this.intensity, -this.maxAngle), this.maxAngle), this.animationFrame || this.animate();
|
|
614
614
|
}
|
|
615
615
|
}
|
|
616
616
|
},
|
|
@@ -623,11 +623,11 @@ const it = /* @__PURE__ */ G(tt, [["render", ot], ["__scopeId", "data-v-d6b1d83c
|
|
|
623
623
|
this.containerRect = this.$refs.container.getBoundingClientRect();
|
|
624
624
|
}
|
|
625
625
|
}
|
|
626
|
-
},
|
|
626
|
+
}, at = {
|
|
627
627
|
key: 0,
|
|
628
628
|
class: "debug-lines"
|
|
629
629
|
};
|
|
630
|
-
function
|
|
630
|
+
function rt(e, n, s, a, i, t) {
|
|
631
631
|
return k(), x("div", {
|
|
632
632
|
class: "mouse-oriented-container",
|
|
633
633
|
ref: "container",
|
|
@@ -647,24 +647,24 @@ function st(e, n, s, a, i, t) {
|
|
|
647
647
|
class: "mouse-oriented-content",
|
|
648
648
|
style: L(t.contentStyle)
|
|
649
649
|
}, [
|
|
650
|
-
|
|
651
|
-
s.debug ? (k(), x("div",
|
|
650
|
+
Y(e.$slots, "default", {}, void 0, !0),
|
|
651
|
+
s.debug ? (k(), x("div", at, n[0] || (n[0] = [
|
|
652
652
|
b("div", { class: "debug-line horizontal" }, null, -1),
|
|
653
653
|
b("div", { class: "debug-line vertical" }, null, -1)
|
|
654
654
|
]))) : q("", !0)
|
|
655
655
|
], 4)
|
|
656
656
|
], 4);
|
|
657
657
|
}
|
|
658
|
-
const
|
|
659
|
-
var
|
|
660
|
-
function
|
|
658
|
+
const st = /* @__PURE__ */ W(it, [["render", rt], ["__scopeId", "data-v-bf8c32e0"]]);
|
|
659
|
+
var lt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
660
|
+
function dt(e) {
|
|
661
661
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
662
662
|
}
|
|
663
|
-
var
|
|
663
|
+
var be = { exports: {} };
|
|
664
664
|
(function(e, n) {
|
|
665
665
|
(function(s, a) {
|
|
666
666
|
e.exports = a();
|
|
667
|
-
})(
|
|
667
|
+
})(lt, function() {
|
|
668
668
|
return function(s) {
|
|
669
669
|
function a(t) {
|
|
670
670
|
if (i[t]) return i[t].exports;
|
|
@@ -678,115 +678,115 @@ var ge = { exports: {} };
|
|
|
678
678
|
return f && f.__esModule ? f : { default: f };
|
|
679
679
|
}
|
|
680
680
|
var o = Object.assign || function(f) {
|
|
681
|
-
for (var
|
|
682
|
-
var
|
|
683
|
-
for (var
|
|
681
|
+
for (var R = 1; R < arguments.length; R++) {
|
|
682
|
+
var D = arguments[R];
|
|
683
|
+
for (var K in D) Object.prototype.hasOwnProperty.call(D, K) && (f[K] = D[K]);
|
|
684
684
|
}
|
|
685
685
|
return f;
|
|
686
|
-
},
|
|
686
|
+
}, m = i(1), v = (t(m), i(6)), l = t(v), d = i(7), u = t(d), p = i(8), h = t(p), g = i(9), O = t(g), _ = i(10), N = t(_), J = i(11), F = t(J), V = i(14), te = t(V), B = [], ne = !1, S = { offset: 120, delay: 0, easing: "ease", duration: 400, disable: !1, once: !1, startEvent: "DOMContentLoaded", throttleDelay: 99, debounceDelay: 50, disableMutationObserver: !1 }, A = function() {
|
|
687
687
|
var f = arguments.length > 0 && arguments[0] !== void 0 && arguments[0];
|
|
688
|
-
if (f && (
|
|
689
|
-
},
|
|
690
|
-
|
|
691
|
-
},
|
|
692
|
-
|
|
688
|
+
if (f && (ne = !0), ne) return B = (0, F.default)(B, S), (0, N.default)(B, S.once), B;
|
|
689
|
+
}, H = function() {
|
|
690
|
+
B = (0, te.default)(), A();
|
|
691
|
+
}, c = function() {
|
|
692
|
+
B.forEach(function(f, R) {
|
|
693
693
|
f.node.removeAttribute("data-aos"), f.node.removeAttribute("data-aos-easing"), f.node.removeAttribute("data-aos-duration"), f.node.removeAttribute("data-aos-delay");
|
|
694
694
|
});
|
|
695
695
|
}, r = function(f) {
|
|
696
|
-
return f === !0 || f === "mobile" &&
|
|
697
|
-
},
|
|
698
|
-
S = o(S, f),
|
|
699
|
-
var
|
|
700
|
-
return r(S.disable) ||
|
|
696
|
+
return f === !0 || f === "mobile" && O.default.mobile() || f === "phone" && O.default.phone() || f === "tablet" && O.default.tablet() || typeof f == "function" && f() === !0;
|
|
697
|
+
}, y = function(f) {
|
|
698
|
+
S = o(S, f), B = (0, te.default)();
|
|
699
|
+
var R = document.all && !window.atob;
|
|
700
|
+
return r(S.disable) || R ? c() : (S.disableMutationObserver || h.default.isSupported() || (console.info(`
|
|
701
701
|
aos: MutationObserver is not supported on this browser,
|
|
702
702
|
code mutations observing has been disabled.
|
|
703
703
|
You may have to call "refreshHard()" by yourself.
|
|
704
|
-
`), S.disableMutationObserver = !0), document.querySelector("body").setAttribute("data-aos-easing", S.easing), document.querySelector("body").setAttribute("data-aos-duration", S.duration), document.querySelector("body").setAttribute("data-aos-delay", S.delay), S.startEvent === "DOMContentLoaded" && ["complete", "interactive"].indexOf(document.readyState) > -1 ?
|
|
705
|
-
|
|
704
|
+
`), S.disableMutationObserver = !0), document.querySelector("body").setAttribute("data-aos-easing", S.easing), document.querySelector("body").setAttribute("data-aos-duration", S.duration), document.querySelector("body").setAttribute("data-aos-delay", S.delay), S.startEvent === "DOMContentLoaded" && ["complete", "interactive"].indexOf(document.readyState) > -1 ? A(!0) : S.startEvent === "load" ? window.addEventListener(S.startEvent, function() {
|
|
705
|
+
A(!0);
|
|
706
706
|
}) : document.addEventListener(S.startEvent, function() {
|
|
707
|
-
|
|
708
|
-
}), window.addEventListener("resize", (0, u.default)(
|
|
709
|
-
(0,
|
|
710
|
-
}, S.throttleDelay)), S.disableMutationObserver ||
|
|
707
|
+
A(!0);
|
|
708
|
+
}), window.addEventListener("resize", (0, u.default)(A, S.debounceDelay, !0)), window.addEventListener("orientationchange", (0, u.default)(A, S.debounceDelay, !0)), window.addEventListener("scroll", (0, l.default)(function() {
|
|
709
|
+
(0, N.default)(B, S.once);
|
|
710
|
+
}, S.throttleDelay)), S.disableMutationObserver || h.default.ready("[data-aos]", H), B);
|
|
711
711
|
};
|
|
712
|
-
s.exports = { init:
|
|
712
|
+
s.exports = { init: y, refresh: A, refreshHard: H };
|
|
713
713
|
}, function(s, a) {
|
|
714
714
|
}, , , , , function(s, a) {
|
|
715
715
|
(function(i) {
|
|
716
|
-
function t(r,
|
|
717
|
-
function
|
|
718
|
-
var
|
|
719
|
-
return E =
|
|
716
|
+
function t(r, y, f) {
|
|
717
|
+
function R(w) {
|
|
718
|
+
var C = E, U = I;
|
|
719
|
+
return E = I = void 0, G = w, z = r.apply(U, C);
|
|
720
720
|
}
|
|
721
|
-
function
|
|
722
|
-
return
|
|
721
|
+
function D(w) {
|
|
722
|
+
return G = w, $ = setTimeout(ee, y), Z ? R(w) : z;
|
|
723
723
|
}
|
|
724
|
-
function
|
|
725
|
-
var
|
|
726
|
-
return X ?
|
|
724
|
+
function K(w) {
|
|
725
|
+
var C = w - j, U = w - G, fe = y - C;
|
|
726
|
+
return X ? H(fe, P - U) : fe;
|
|
727
727
|
}
|
|
728
|
-
function
|
|
729
|
-
var
|
|
730
|
-
return j === void 0 ||
|
|
728
|
+
function Q(w) {
|
|
729
|
+
var C = w - j, U = w - G;
|
|
730
|
+
return j === void 0 || C >= y || C < 0 || X && U >= P;
|
|
731
731
|
}
|
|
732
|
-
function
|
|
733
|
-
var
|
|
734
|
-
return
|
|
732
|
+
function ee() {
|
|
733
|
+
var w = c();
|
|
734
|
+
return Q(w) ? re(w) : void ($ = setTimeout(ee, K(w)));
|
|
735
735
|
}
|
|
736
|
-
function re(
|
|
737
|
-
return
|
|
736
|
+
function re(w) {
|
|
737
|
+
return $ = void 0, M && E ? R(w) : (E = I = void 0, z);
|
|
738
738
|
}
|
|
739
739
|
function de() {
|
|
740
|
-
|
|
740
|
+
$ !== void 0 && clearTimeout($), G = 0, E = j = I = $ = void 0;
|
|
741
741
|
}
|
|
742
742
|
function oe() {
|
|
743
|
-
return
|
|
743
|
+
return $ === void 0 ? z : re(c());
|
|
744
744
|
}
|
|
745
|
-
function
|
|
746
|
-
var
|
|
747
|
-
if (E = arguments,
|
|
748
|
-
if (
|
|
749
|
-
if (X) return
|
|
745
|
+
function T() {
|
|
746
|
+
var w = c(), C = Q(w);
|
|
747
|
+
if (E = arguments, I = this, j = w, C) {
|
|
748
|
+
if ($ === void 0) return D(j);
|
|
749
|
+
if (X) return $ = setTimeout(ee, y), R(j);
|
|
750
750
|
}
|
|
751
|
-
return
|
|
751
|
+
return $ === void 0 && ($ = setTimeout(ee, y)), z;
|
|
752
752
|
}
|
|
753
|
-
var E,
|
|
754
|
-
if (typeof r != "function") throw new TypeError(
|
|
755
|
-
return
|
|
753
|
+
var E, I, P, z, $, j, G = 0, Z = !1, X = !1, M = !0;
|
|
754
|
+
if (typeof r != "function") throw new TypeError(p);
|
|
755
|
+
return y = d(y) || 0, m(f) && (Z = !!f.leading, X = "maxWait" in f, P = X ? A(d(f.maxWait) || 0, y) : P, M = "trailing" in f ? !!f.trailing : M), T.cancel = de, T.flush = oe, T;
|
|
756
756
|
}
|
|
757
|
-
function o(r,
|
|
758
|
-
var
|
|
759
|
-
if (typeof r != "function") throw new TypeError(
|
|
760
|
-
return
|
|
757
|
+
function o(r, y, f) {
|
|
758
|
+
var R = !0, D = !0;
|
|
759
|
+
if (typeof r != "function") throw new TypeError(p);
|
|
760
|
+
return m(f) && (R = "leading" in f ? !!f.leading : R, D = "trailing" in f ? !!f.trailing : D), t(r, y, { leading: R, maxWait: y, trailing: D });
|
|
761
761
|
}
|
|
762
|
-
function
|
|
763
|
-
var
|
|
764
|
-
return !!r && (
|
|
762
|
+
function m(r) {
|
|
763
|
+
var y = typeof r > "u" ? "undefined" : u(r);
|
|
764
|
+
return !!r && (y == "object" || y == "function");
|
|
765
765
|
}
|
|
766
766
|
function v(r) {
|
|
767
767
|
return !!r && (typeof r > "u" ? "undefined" : u(r)) == "object";
|
|
768
768
|
}
|
|
769
769
|
function l(r) {
|
|
770
|
-
return (typeof r > "u" ? "undefined" : u(r)) == "symbol" || v(r) && S.call(r) ==
|
|
770
|
+
return (typeof r > "u" ? "undefined" : u(r)) == "symbol" || v(r) && S.call(r) == g;
|
|
771
771
|
}
|
|
772
|
-
function
|
|
772
|
+
function d(r) {
|
|
773
773
|
if (typeof r == "number") return r;
|
|
774
|
-
if (l(r)) return
|
|
775
|
-
if (
|
|
776
|
-
var
|
|
777
|
-
r =
|
|
774
|
+
if (l(r)) return h;
|
|
775
|
+
if (m(r)) {
|
|
776
|
+
var y = typeof r.valueOf == "function" ? r.valueOf() : r;
|
|
777
|
+
r = m(y) ? y + "" : y;
|
|
778
778
|
}
|
|
779
779
|
if (typeof r != "string") return r === 0 ? r : +r;
|
|
780
|
-
r = r.replace(
|
|
781
|
-
var f =
|
|
782
|
-
return f ||
|
|
780
|
+
r = r.replace(O, "");
|
|
781
|
+
var f = N.test(r);
|
|
782
|
+
return f || J.test(r) ? F(r.slice(2), f ? 2 : 8) : _.test(r) ? h : +r;
|
|
783
783
|
}
|
|
784
784
|
var u = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(r) {
|
|
785
785
|
return typeof r;
|
|
786
786
|
} : function(r) {
|
|
787
787
|
return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r;
|
|
788
|
-
},
|
|
789
|
-
return
|
|
788
|
+
}, p = "Expected a function", h = NaN, g = "[object Symbol]", O = /^\s+|\s+$/g, _ = /^[-+]0x[0-9a-f]+$/i, N = /^0b[01]+$/i, J = /^0o[0-7]+$/i, F = parseInt, V = (typeof i > "u" ? "undefined" : u(i)) == "object" && i && i.Object === Object && i, te = (typeof self > "u" ? "undefined" : u(self)) == "object" && self && self.Object === Object && self, B = V || te || Function("return this")(), ne = Object.prototype, S = ne.toString, A = Math.max, H = Math.min, c = function() {
|
|
789
|
+
return B.Date.now();
|
|
790
790
|
};
|
|
791
791
|
s.exports = o;
|
|
792
792
|
}).call(a, /* @__PURE__ */ function() {
|
|
@@ -794,85 +794,85 @@ var ge = { exports: {} };
|
|
|
794
794
|
}());
|
|
795
795
|
}, function(s, a) {
|
|
796
796
|
(function(i) {
|
|
797
|
-
function t(
|
|
797
|
+
function t(c, r, y) {
|
|
798
798
|
function f(M) {
|
|
799
|
-
var
|
|
800
|
-
return
|
|
799
|
+
var w = T, C = E;
|
|
800
|
+
return T = E = void 0, j = M, P = c.apply(C, w);
|
|
801
801
|
}
|
|
802
|
-
function
|
|
803
|
-
return j = M,
|
|
802
|
+
function R(M) {
|
|
803
|
+
return j = M, z = setTimeout(Q, r), G ? f(M) : P;
|
|
804
804
|
}
|
|
805
|
-
function
|
|
806
|
-
var
|
|
807
|
-
return
|
|
805
|
+
function D(M) {
|
|
806
|
+
var w = M - $, C = M - j, U = r - w;
|
|
807
|
+
return Z ? A(U, I - C) : U;
|
|
808
808
|
}
|
|
809
|
-
function
|
|
810
|
-
var
|
|
811
|
-
return
|
|
809
|
+
function K(M) {
|
|
810
|
+
var w = M - $, C = M - j;
|
|
811
|
+
return $ === void 0 || w >= r || w < 0 || Z && C >= I;
|
|
812
812
|
}
|
|
813
|
-
function
|
|
814
|
-
var M =
|
|
815
|
-
return
|
|
813
|
+
function Q() {
|
|
814
|
+
var M = H();
|
|
815
|
+
return K(M) ? ee(M) : void (z = setTimeout(Q, D(M)));
|
|
816
816
|
}
|
|
817
|
-
function
|
|
818
|
-
return
|
|
817
|
+
function ee(M) {
|
|
818
|
+
return z = void 0, X && T ? f(M) : (T = E = void 0, P);
|
|
819
819
|
}
|
|
820
820
|
function re() {
|
|
821
|
-
|
|
821
|
+
z !== void 0 && clearTimeout(z), j = 0, T = $ = E = z = void 0;
|
|
822
822
|
}
|
|
823
823
|
function de() {
|
|
824
|
-
return
|
|
824
|
+
return z === void 0 ? P : ee(H());
|
|
825
825
|
}
|
|
826
826
|
function oe() {
|
|
827
|
-
var M =
|
|
828
|
-
if (
|
|
829
|
-
if (
|
|
830
|
-
if (
|
|
827
|
+
var M = H(), w = K(M);
|
|
828
|
+
if (T = arguments, E = this, $ = M, w) {
|
|
829
|
+
if (z === void 0) return R($);
|
|
830
|
+
if (Z) return z = setTimeout(Q, r), f($);
|
|
831
831
|
}
|
|
832
|
-
return
|
|
832
|
+
return z === void 0 && (z = setTimeout(Q, r)), P;
|
|
833
833
|
}
|
|
834
|
-
var
|
|
835
|
-
if (typeof
|
|
836
|
-
return r = l(r) || 0, o(
|
|
834
|
+
var T, E, I, P, z, $, j = 0, G = !1, Z = !1, X = !0;
|
|
835
|
+
if (typeof c != "function") throw new TypeError(u);
|
|
836
|
+
return r = l(r) || 0, o(y) && (G = !!y.leading, Z = "maxWait" in y, I = Z ? S(l(y.maxWait) || 0, r) : I, X = "trailing" in y ? !!y.trailing : X), oe.cancel = re, oe.flush = de, oe;
|
|
837
837
|
}
|
|
838
|
-
function o(
|
|
839
|
-
var r = typeof
|
|
840
|
-
return !!
|
|
838
|
+
function o(c) {
|
|
839
|
+
var r = typeof c > "u" ? "undefined" : d(c);
|
|
840
|
+
return !!c && (r == "object" || r == "function");
|
|
841
841
|
}
|
|
842
|
-
function
|
|
843
|
-
return !!
|
|
842
|
+
function m(c) {
|
|
843
|
+
return !!c && (typeof c > "u" ? "undefined" : d(c)) == "object";
|
|
844
844
|
}
|
|
845
|
-
function v(
|
|
846
|
-
return (typeof
|
|
845
|
+
function v(c) {
|
|
846
|
+
return (typeof c > "u" ? "undefined" : d(c)) == "symbol" || m(c) && ne.call(c) == h;
|
|
847
847
|
}
|
|
848
|
-
function l(
|
|
849
|
-
if (typeof
|
|
850
|
-
if (v(
|
|
851
|
-
if (o(
|
|
852
|
-
var r = typeof
|
|
853
|
-
|
|
848
|
+
function l(c) {
|
|
849
|
+
if (typeof c == "number") return c;
|
|
850
|
+
if (v(c)) return p;
|
|
851
|
+
if (o(c)) {
|
|
852
|
+
var r = typeof c.valueOf == "function" ? c.valueOf() : c;
|
|
853
|
+
c = o(r) ? r + "" : r;
|
|
854
854
|
}
|
|
855
|
-
if (typeof
|
|
856
|
-
|
|
857
|
-
var
|
|
858
|
-
return
|
|
855
|
+
if (typeof c != "string") return c === 0 ? c : +c;
|
|
856
|
+
c = c.replace(g, "");
|
|
857
|
+
var y = _.test(c);
|
|
858
|
+
return y || N.test(c) ? J(c.slice(2), y ? 2 : 8) : O.test(c) ? p : +c;
|
|
859
859
|
}
|
|
860
|
-
var
|
|
861
|
-
return typeof
|
|
862
|
-
} : function(
|
|
863
|
-
return
|
|
864
|
-
}, u = "Expected a function",
|
|
865
|
-
return
|
|
860
|
+
var d = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(c) {
|
|
861
|
+
return typeof c;
|
|
862
|
+
} : function(c) {
|
|
863
|
+
return c && typeof Symbol == "function" && c.constructor === Symbol && c !== Symbol.prototype ? "symbol" : typeof c;
|
|
864
|
+
}, u = "Expected a function", p = NaN, h = "[object Symbol]", g = /^\s+|\s+$/g, O = /^[-+]0x[0-9a-f]+$/i, _ = /^0b[01]+$/i, N = /^0o[0-7]+$/i, J = parseInt, F = (typeof i > "u" ? "undefined" : d(i)) == "object" && i && i.Object === Object && i, V = (typeof self > "u" ? "undefined" : d(self)) == "object" && self && self.Object === Object && self, te = F || V || Function("return this")(), B = Object.prototype, ne = B.toString, S = Math.max, A = Math.min, H = function() {
|
|
865
|
+
return te.Date.now();
|
|
866
866
|
};
|
|
867
867
|
s.exports = t;
|
|
868
868
|
}).call(a, /* @__PURE__ */ function() {
|
|
869
869
|
return this;
|
|
870
870
|
}());
|
|
871
871
|
}, function(s, a) {
|
|
872
|
-
function i(
|
|
873
|
-
var u = void 0,
|
|
874
|
-
for (u = 0; u <
|
|
875
|
-
if (
|
|
872
|
+
function i(d) {
|
|
873
|
+
var u = void 0, p = void 0;
|
|
874
|
+
for (u = 0; u < d.length; u += 1)
|
|
875
|
+
if (p = d[u], p.dataset && p.dataset.aos || p.children && i(p.children)) return !0;
|
|
876
876
|
return !1;
|
|
877
877
|
}
|
|
878
878
|
function t() {
|
|
@@ -881,62 +881,62 @@ var ge = { exports: {} };
|
|
|
881
881
|
function o() {
|
|
882
882
|
return !!t();
|
|
883
883
|
}
|
|
884
|
-
function
|
|
885
|
-
var
|
|
886
|
-
l = u,
|
|
884
|
+
function m(d, u) {
|
|
885
|
+
var p = window.document, h = t(), g = new h(v);
|
|
886
|
+
l = u, g.observe(p.documentElement, { childList: !0, subtree: !0, removedNodes: !0 });
|
|
887
887
|
}
|
|
888
|
-
function v(
|
|
889
|
-
|
|
890
|
-
var
|
|
891
|
-
if (i(
|
|
888
|
+
function v(d) {
|
|
889
|
+
d && d.forEach(function(u) {
|
|
890
|
+
var p = Array.prototype.slice.call(u.addedNodes), h = Array.prototype.slice.call(u.removedNodes), g = p.concat(h);
|
|
891
|
+
if (i(g)) return l();
|
|
892
892
|
});
|
|
893
893
|
}
|
|
894
894
|
Object.defineProperty(a, "__esModule", { value: !0 });
|
|
895
895
|
var l = function() {
|
|
896
896
|
};
|
|
897
|
-
a.default = { isSupported: o, ready:
|
|
897
|
+
a.default = { isSupported: o, ready: m };
|
|
898
898
|
}, function(s, a) {
|
|
899
|
-
function i(
|
|
900
|
-
if (!(
|
|
899
|
+
function i(p, h) {
|
|
900
|
+
if (!(p instanceof h)) throw new TypeError("Cannot call a class as a function");
|
|
901
901
|
}
|
|
902
902
|
function t() {
|
|
903
903
|
return navigator.userAgent || navigator.vendor || window.opera || "";
|
|
904
904
|
}
|
|
905
905
|
Object.defineProperty(a, "__esModule", { value: !0 });
|
|
906
906
|
var o = /* @__PURE__ */ function() {
|
|
907
|
-
function h
|
|
908
|
-
for (var
|
|
909
|
-
var
|
|
910
|
-
|
|
907
|
+
function p(h, g) {
|
|
908
|
+
for (var O = 0; O < g.length; O++) {
|
|
909
|
+
var _ = g[O];
|
|
910
|
+
_.enumerable = _.enumerable || !1, _.configurable = !0, "value" in _ && (_.writable = !0), Object.defineProperty(h, _.key, _);
|
|
911
911
|
}
|
|
912
912
|
}
|
|
913
|
-
return function(
|
|
914
|
-
return
|
|
913
|
+
return function(h, g, O) {
|
|
914
|
+
return g && p(h.prototype, g), O && p(h, O), h;
|
|
915
915
|
};
|
|
916
|
-
}(),
|
|
917
|
-
function
|
|
918
|
-
i(this,
|
|
916
|
+
}(), m = /(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i, v = /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i, l = /(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i, d = /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i, u = function() {
|
|
917
|
+
function p() {
|
|
918
|
+
i(this, p);
|
|
919
919
|
}
|
|
920
|
-
return o(
|
|
921
|
-
var
|
|
922
|
-
return !(!
|
|
920
|
+
return o(p, [{ key: "phone", value: function() {
|
|
921
|
+
var h = t();
|
|
922
|
+
return !(!m.test(h) && !v.test(h.substr(0, 4)));
|
|
923
923
|
} }, { key: "mobile", value: function() {
|
|
924
|
-
var
|
|
925
|
-
return !(!l.test(
|
|
924
|
+
var h = t();
|
|
925
|
+
return !(!l.test(h) && !d.test(h.substr(0, 4)));
|
|
926
926
|
} }, { key: "tablet", value: function() {
|
|
927
927
|
return this.mobile() && !this.phone();
|
|
928
|
-
} }]),
|
|
928
|
+
} }]), p;
|
|
929
929
|
}();
|
|
930
930
|
a.default = new u();
|
|
931
931
|
}, function(s, a) {
|
|
932
932
|
Object.defineProperty(a, "__esModule", { value: !0 });
|
|
933
|
-
var i = function(o,
|
|
933
|
+
var i = function(o, m, v) {
|
|
934
934
|
var l = o.node.getAttribute("data-aos-once");
|
|
935
|
-
|
|
936
|
-
}, t = function(o,
|
|
935
|
+
m > o.position ? o.node.classList.add("aos-animate") : typeof l < "u" && (l === "false" || !v && l !== "true") && o.node.classList.remove("aos-animate");
|
|
936
|
+
}, t = function(o, m) {
|
|
937
937
|
var v = window.pageYOffset, l = window.innerHeight;
|
|
938
|
-
o.forEach(function(
|
|
939
|
-
i(
|
|
938
|
+
o.forEach(function(d, u) {
|
|
939
|
+
i(d, l + v, m);
|
|
940
940
|
});
|
|
941
941
|
};
|
|
942
942
|
a.default = t;
|
|
@@ -945,9 +945,9 @@ var ge = { exports: {} };
|
|
|
945
945
|
return l && l.__esModule ? l : { default: l };
|
|
946
946
|
}
|
|
947
947
|
Object.defineProperty(a, "__esModule", { value: !0 });
|
|
948
|
-
var o = i(12),
|
|
949
|
-
return l.forEach(function(u,
|
|
950
|
-
u.node.classList.add("aos-init"), u.position = (0,
|
|
948
|
+
var o = i(12), m = t(o), v = function(l, d) {
|
|
949
|
+
return l.forEach(function(u, p) {
|
|
950
|
+
u.node.classList.add("aos-init"), u.position = (0, m.default)(u.node, d.offset);
|
|
951
951
|
}), l;
|
|
952
952
|
};
|
|
953
953
|
a.default = v;
|
|
@@ -956,9 +956,9 @@ var ge = { exports: {} };
|
|
|
956
956
|
return l && l.__esModule ? l : { default: l };
|
|
957
957
|
}
|
|
958
958
|
Object.defineProperty(a, "__esModule", { value: !0 });
|
|
959
|
-
var o = i(13),
|
|
960
|
-
var u = 0,
|
|
961
|
-
switch (
|
|
959
|
+
var o = i(13), m = t(o), v = function(l, d) {
|
|
960
|
+
var u = 0, p = 0, h = window.innerHeight, g = { offset: l.getAttribute("data-aos-offset"), anchor: l.getAttribute("data-aos-anchor"), anchorPlacement: l.getAttribute("data-aos-anchor-placement") };
|
|
961
|
+
switch (g.offset && !isNaN(g.offset) && (p = parseInt(g.offset)), g.anchor && document.querySelectorAll(g.anchor) && (l = document.querySelectorAll(g.anchor)[0]), u = (0, m.default)(l).top, g.anchorPlacement) {
|
|
962
962
|
case "top-bottom":
|
|
963
963
|
break;
|
|
964
964
|
case "center-bottom":
|
|
@@ -968,31 +968,31 @@ var ge = { exports: {} };
|
|
|
968
968
|
u += l.offsetHeight;
|
|
969
969
|
break;
|
|
970
970
|
case "top-center":
|
|
971
|
-
u +=
|
|
971
|
+
u += h / 2;
|
|
972
972
|
break;
|
|
973
973
|
case "bottom-center":
|
|
974
|
-
u +=
|
|
974
|
+
u += h / 2 + l.offsetHeight;
|
|
975
975
|
break;
|
|
976
976
|
case "center-center":
|
|
977
|
-
u +=
|
|
977
|
+
u += h / 2 + l.offsetHeight / 2;
|
|
978
978
|
break;
|
|
979
979
|
case "top-top":
|
|
980
|
-
u +=
|
|
980
|
+
u += h;
|
|
981
981
|
break;
|
|
982
982
|
case "bottom-top":
|
|
983
|
-
u += l.offsetHeight +
|
|
983
|
+
u += l.offsetHeight + h;
|
|
984
984
|
break;
|
|
985
985
|
case "center-top":
|
|
986
|
-
u += l.offsetHeight / 2 +
|
|
986
|
+
u += l.offsetHeight / 2 + h;
|
|
987
987
|
}
|
|
988
|
-
return
|
|
988
|
+
return g.anchorPlacement || g.offset || isNaN(d) || (p = d), u + p;
|
|
989
989
|
};
|
|
990
990
|
a.default = v;
|
|
991
991
|
}, function(s, a) {
|
|
992
992
|
Object.defineProperty(a, "__esModule", { value: !0 });
|
|
993
993
|
var i = function(t) {
|
|
994
|
-
for (var o = 0,
|
|
995
|
-
return { top:
|
|
994
|
+
for (var o = 0, m = 0; t && !isNaN(t.offsetLeft) && !isNaN(t.offsetTop); ) o += t.offsetLeft - (t.tagName != "BODY" ? t.scrollLeft : 0), m += t.offsetTop - (t.tagName != "BODY" ? t.scrollTop : 0), t = t.offsetParent;
|
|
995
|
+
return { top: m, left: o };
|
|
996
996
|
};
|
|
997
997
|
a.default = i;
|
|
998
998
|
}, function(s, a) {
|
|
@@ -1005,9 +1005,9 @@ var ge = { exports: {} };
|
|
|
1005
1005
|
a.default = i;
|
|
1006
1006
|
}]);
|
|
1007
1007
|
});
|
|
1008
|
-
})(
|
|
1009
|
-
var
|
|
1010
|
-
const
|
|
1008
|
+
})(be);
|
|
1009
|
+
var ut = be.exports;
|
|
1010
|
+
const ct = /* @__PURE__ */ dt(ut), ft = {
|
|
1011
1011
|
name: "CustomDropdown",
|
|
1012
1012
|
props: {
|
|
1013
1013
|
options: {
|
|
@@ -1166,12 +1166,12 @@ const ft = /* @__PURE__ */ ut(ct), pt = {
|
|
|
1166
1166
|
}
|
|
1167
1167
|
}
|
|
1168
1168
|
}
|
|
1169
|
-
},
|
|
1169
|
+
}, pt = ["aria-expanded", "aria-label"], ht = {
|
|
1170
1170
|
key: 0,
|
|
1171
1171
|
class: "dropdown__menu",
|
|
1172
1172
|
role: "listbox"
|
|
1173
|
-
},
|
|
1174
|
-
function
|
|
1173
|
+
}, mt = ["aria-selected", "onClick", "onKeydown"];
|
|
1174
|
+
function vt(e, n, s, a, i, t) {
|
|
1175
1175
|
return k(), x("div", {
|
|
1176
1176
|
class: ie(["dropdown", [`dropdown--${s.variant}`]]),
|
|
1177
1177
|
ref: "dropdown",
|
|
@@ -1189,7 +1189,7 @@ function bt(e, n, s, a, i, t) {
|
|
|
1189
1189
|
type: "button",
|
|
1190
1190
|
ref: "button"
|
|
1191
1191
|
}, [
|
|
1192
|
-
|
|
1192
|
+
Y(e.$slots, "button", {}, () => [
|
|
1193
1193
|
b("span", null, ae(t.selectedLabel), 1),
|
|
1194
1194
|
n[3] || (n[3] = b("svg", {
|
|
1195
1195
|
class: "dropdown__icon",
|
|
@@ -1207,10 +1207,10 @@ function bt(e, n, s, a, i, t) {
|
|
|
1207
1207
|
})
|
|
1208
1208
|
], -1))
|
|
1209
1209
|
], !0)
|
|
1210
|
-
], 40,
|
|
1211
|
-
i.isOpen ? (k(), x("div",
|
|
1212
|
-
(k(!0), x(me, null, ve(s.options, (o,
|
|
1213
|
-
key: t.optionKey(o,
|
|
1210
|
+
], 40, pt),
|
|
1211
|
+
i.isOpen ? (k(), x("div", ht, [
|
|
1212
|
+
(k(!0), x(me, null, ve(s.options, (o, m) => (k(), x("div", {
|
|
1213
|
+
key: t.optionKey(o, m),
|
|
1214
1214
|
class: ie(["dropdown__option", { "dropdown__option--selected": t.isSelected(o) }]),
|
|
1215
1215
|
role: "option",
|
|
1216
1216
|
"aria-selected": t.isSelected(o).toString(),
|
|
@@ -1218,14 +1218,14 @@ function bt(e, n, s, a, i, t) {
|
|
|
1218
1218
|
onClick: (v) => t.selectOption(o),
|
|
1219
1219
|
onKeydown: ce(le((v) => t.selectOption(o), ["prevent"]), ["enter"])
|
|
1220
1220
|
}, [
|
|
1221
|
-
|
|
1222
|
-
|
|
1221
|
+
Y(e.$slots, "option", { option: o }, () => [
|
|
1222
|
+
we(ae(t.optionLabel(o)), 1)
|
|
1223
1223
|
], !0)
|
|
1224
|
-
], 42,
|
|
1224
|
+
], 42, mt))), 128))
|
|
1225
1225
|
])) : q("", !0)
|
|
1226
1226
|
], 6);
|
|
1227
1227
|
}
|
|
1228
|
-
const
|
|
1228
|
+
const bt = /* @__PURE__ */ W(ft, [["render", vt], ["__scopeId", "data-v-61c08e9b"]]), gt = { class: "bg-gray-900 text-white py-8 px-6" }, yt = { class: "max-w-6xl mx-auto flex flex-col sm:flex-row justify-between items-center gap-4" }, wt = { class: "text-sm" }, kt = {
|
|
1229
1229
|
__name: "Footer",
|
|
1230
1230
|
props: {
|
|
1231
1231
|
companyName: {
|
|
@@ -1235,9 +1235,9 @@ const gt = /* @__PURE__ */ G(pt, [["render", bt], ["__scopeId", "data-v-61c08e9b
|
|
|
1235
1235
|
},
|
|
1236
1236
|
setup(e) {
|
|
1237
1237
|
const n = (/* @__PURE__ */ new Date()).getFullYear();
|
|
1238
|
-
return (s, a) => (k(), x("footer",
|
|
1239
|
-
b("div",
|
|
1240
|
-
b("p",
|
|
1238
|
+
return (s, a) => (k(), x("footer", gt, [
|
|
1239
|
+
b("div", yt, [
|
|
1240
|
+
b("p", wt, "© " + ae(ke(n)) + " " + ae(e.companyName) + ". Tous droits réservés.", 1),
|
|
1241
1241
|
a[0] || (a[0] = b("div", { class: "flex gap-4 text-sm" }, [
|
|
1242
1242
|
b("a", {
|
|
1243
1243
|
href: "/rights",
|
|
@@ -1251,7 +1251,7 @@ const gt = /* @__PURE__ */ G(pt, [["render", bt], ["__scopeId", "data-v-61c08e9b
|
|
|
1251
1251
|
])
|
|
1252
1252
|
]));
|
|
1253
1253
|
}
|
|
1254
|
-
},
|
|
1254
|
+
}, xt = ["viewBox", "height"], St = ["offset", "stop-color"], Mt = ["offset", "stop-color"], _t = ["d", "fill"], $t = {
|
|
1255
1255
|
__name: "WaveContainer",
|
|
1256
1256
|
props: {
|
|
1257
1257
|
width: { type: Number, default: 1440 },
|
|
@@ -1283,23 +1283,23 @@ const gt = /* @__PURE__ */ G(pt, [["render", bt], ["__scopeId", "data-v-61c08e9b
|
|
|
1283
1283
|
function o() {
|
|
1284
1284
|
const v = n.width / (n.points - 1);
|
|
1285
1285
|
let l = `M 0 ${n.height}`;
|
|
1286
|
-
for (let
|
|
1287
|
-
const u =
|
|
1288
|
-
if (
|
|
1289
|
-
l += ` L ${u} ${
|
|
1286
|
+
for (let d = 0; d < n.points; d++) {
|
|
1287
|
+
const u = d * v, p = (d + a) * 0.6, h = n.height / 2 + Math.sin(p * n.frequency) * n.amplitude;
|
|
1288
|
+
if (d === 0)
|
|
1289
|
+
l += ` L ${u} ${h}`;
|
|
1290
1290
|
else {
|
|
1291
|
-
const
|
|
1292
|
-
l += ` C ${
|
|
1291
|
+
const g = (d - 1) * v, O = (d - 1 + a) * 0.6, _ = n.height / 2 + Math.sin(O * n.frequency) * n.amplitude, N = (g + u) / 2;
|
|
1292
|
+
l += ` C ${N} ${_}, ${N} ${h}, ${u} ${h}`;
|
|
1293
1293
|
}
|
|
1294
1294
|
}
|
|
1295
1295
|
return l += ` L ${n.width} ${n.height} Z`, l;
|
|
1296
1296
|
}
|
|
1297
|
-
function
|
|
1298
|
-
s.value = o(), a += n.speed, i = requestAnimationFrame(
|
|
1297
|
+
function m() {
|
|
1298
|
+
s.value = o(), a += n.speed, i = requestAnimationFrame(m);
|
|
1299
1299
|
}
|
|
1300
|
-
return
|
|
1301
|
-
|
|
1302
|
-
}),
|
|
1300
|
+
return xe(() => {
|
|
1301
|
+
m();
|
|
1302
|
+
}), Se(() => {
|
|
1303
1303
|
cancelAnimationFrame(i);
|
|
1304
1304
|
}), (v, l) => (k(), x("div", {
|
|
1305
1305
|
class: "w-full pointer-events-none",
|
|
@@ -1327,76 +1327,130 @@ const gt = /* @__PURE__ */ G(pt, [["render", bt], ["__scopeId", "data-v-61c08e9b
|
|
|
1327
1327
|
b("stop", {
|
|
1328
1328
|
offset: e.startOffset,
|
|
1329
1329
|
"stop-color": e.gradientStart
|
|
1330
|
-
}, null, 8,
|
|
1330
|
+
}, null, 8, St),
|
|
1331
1331
|
b("stop", {
|
|
1332
1332
|
offset: e.endOffset,
|
|
1333
1333
|
"stop-color": e.gradientEnd
|
|
1334
|
-
}, null, 8,
|
|
1334
|
+
}, null, 8, Mt)
|
|
1335
1335
|
])
|
|
1336
1336
|
]),
|
|
1337
1337
|
b("path", {
|
|
1338
1338
|
d: s.value,
|
|
1339
1339
|
fill: `url(#${t})`,
|
|
1340
1340
|
"fill-opacity": "1"
|
|
1341
|
-
}, null, 8,
|
|
1342
|
-
], 12,
|
|
1341
|
+
}, null, 8, _t)
|
|
1342
|
+
], 12, xt))
|
|
1343
1343
|
], 4));
|
|
1344
1344
|
}
|
|
1345
|
-
},
|
|
1345
|
+
}, Ot = {
|
|
1346
1346
|
__name: "Popup",
|
|
1347
1347
|
props: {
|
|
1348
1348
|
modelValue: Boolean
|
|
1349
1349
|
},
|
|
1350
1350
|
emits: ["update:modelValue"],
|
|
1351
1351
|
setup(e, { emit: n }) {
|
|
1352
|
-
const s =
|
|
1353
|
-
|
|
1354
|
-
}, t = () => {
|
|
1355
|
-
document.body.style.overflow = "";
|
|
1352
|
+
const s = n, a = () => {
|
|
1353
|
+
s("update:modelValue", !1);
|
|
1356
1354
|
};
|
|
1357
|
-
Me(
|
|
1358
|
-
() => s.modelValue,
|
|
1359
|
-
(p) => {
|
|
1360
|
-
p ? i() : t();
|
|
1361
|
-
}
|
|
1362
|
-
), be(() => {
|
|
1363
|
-
t();
|
|
1364
|
-
});
|
|
1365
|
-
const o = () => {
|
|
1366
|
-
a("update:modelValue", !1);
|
|
1367
|
-
};
|
|
1368
|
-
return (p, v) => (k(), _e(Oe, { name: "fade" }, {
|
|
1355
|
+
return (i, t) => (k(), Me(_e, { name: "fade" }, {
|
|
1369
1356
|
default: $e(() => [
|
|
1370
1357
|
e.modelValue ? (k(), x("div", {
|
|
1371
1358
|
key: 0,
|
|
1372
|
-
class: "fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50",
|
|
1373
|
-
onClick: le(
|
|
1359
|
+
class: "fixed inset-0 top-0 left-0 z-50 flex items-center justify-center bg-black bg-opacity-50",
|
|
1360
|
+
onClick: le(a, ["self"])
|
|
1374
1361
|
}, [
|
|
1375
|
-
|
|
1362
|
+
Y(i.$slots, "default", {}, void 0, !0)
|
|
1376
1363
|
])) : q("", !0)
|
|
1377
1364
|
]),
|
|
1378
1365
|
_: 3
|
|
1379
1366
|
}));
|
|
1380
1367
|
}
|
|
1381
|
-
},
|
|
1368
|
+
}, zt = /* @__PURE__ */ W(Ot, [["__scopeId", "data-v-60769789"]]), Rt = {
|
|
1369
|
+
name: "SnapDiv",
|
|
1370
|
+
props: {
|
|
1371
|
+
offset: {
|
|
1372
|
+
type: Number,
|
|
1373
|
+
default: 0
|
|
1374
|
+
},
|
|
1375
|
+
speed: {
|
|
1376
|
+
type: Number,
|
|
1377
|
+
default: 1.2
|
|
1378
|
+
},
|
|
1379
|
+
lockDuration: {
|
|
1380
|
+
type: Number,
|
|
1381
|
+
default: 500
|
|
1382
|
+
},
|
|
1383
|
+
maxStep: {
|
|
1384
|
+
type: Number,
|
|
1385
|
+
default: 1
|
|
1386
|
+
}
|
|
1387
|
+
}
|
|
1388
|
+
}, Ct = { class: "snap-div" };
|
|
1389
|
+
function Bt(e, n, s, a, i, t) {
|
|
1390
|
+
return k(), x("div", Ct, [
|
|
1391
|
+
Y(e.$slots, "default", {}, void 0, !0)
|
|
1392
|
+
]);
|
|
1393
|
+
}
|
|
1394
|
+
const jt = /* @__PURE__ */ W(Rt, [["render", Bt], ["__scopeId", "data-v-78859941"]]);
|
|
1395
|
+
function Lt(e, n = {}) {
|
|
1396
|
+
let s = !1, a = null, i = 0;
|
|
1397
|
+
const o = { ...{
|
|
1398
|
+
offset: 0,
|
|
1399
|
+
speed: 1.2,
|
|
1400
|
+
lockDuration: 150,
|
|
1401
|
+
// temps sans wheel pour relâcher le lock
|
|
1402
|
+
maxStep: 1
|
|
1403
|
+
}, ...n };
|
|
1404
|
+
function m() {
|
|
1405
|
+
return Array.from(e.children).filter(
|
|
1406
|
+
(d) => d.classList.contains("snap-div")
|
|
1407
|
+
);
|
|
1408
|
+
}
|
|
1409
|
+
function v() {
|
|
1410
|
+
s = !1, a = null, i = 0;
|
|
1411
|
+
}
|
|
1412
|
+
function l(d) {
|
|
1413
|
+
if (d.deltaMode !== 0)
|
|
1414
|
+
return;
|
|
1415
|
+
if (s) {
|
|
1416
|
+
i++, i >= 2 && (a && clearTimeout(a), a = setTimeout(v, o.lockDuration), i = 0), d.preventDefault(), d.stopImmediatePropagation();
|
|
1417
|
+
return;
|
|
1418
|
+
}
|
|
1419
|
+
s = !0, i = 1, a = setTimeout(v, o.lockDuration), d.preventDefault(), d.stopImmediatePropagation();
|
|
1420
|
+
const u = m();
|
|
1421
|
+
if (!u.length) return;
|
|
1422
|
+
const p = e.getBoundingClientRect();
|
|
1423
|
+
let h = 0, g = 0;
|
|
1424
|
+
u.forEach((N, J) => {
|
|
1425
|
+
const F = N.getBoundingClientRect(), V = Math.max(0, Math.min(F.bottom, p.bottom) - Math.max(F.top, p.top));
|
|
1426
|
+
V > g && (g = V, h = J);
|
|
1427
|
+
});
|
|
1428
|
+
const O = d.deltaY > 0 ? 1 : -1;
|
|
1429
|
+
let _ = h + O * o.maxStep;
|
|
1430
|
+
_ = Math.max(0, Math.min(u.length - 1, _)), _ !== h && u[_].scrollIntoView({ behavior: "smooth", block: "start" });
|
|
1431
|
+
}
|
|
1432
|
+
return e.addEventListener("wheel", l, { passive: !1 }), () => {
|
|
1433
|
+
e.removeEventListener("wheel", l), a && clearTimeout(a);
|
|
1434
|
+
};
|
|
1435
|
+
}
|
|
1436
|
+
const Nt = {
|
|
1382
1437
|
install(e) {
|
|
1383
|
-
|
|
1438
|
+
ct.init({
|
|
1384
1439
|
duration: 800,
|
|
1385
1440
|
easing: "ease-in-out",
|
|
1386
1441
|
once: !0
|
|
1387
|
-
}), e.component("CustomButton", Ce), e.component("AnimatedReveal",
|
|
1442
|
+
}), e.component("CustomButton", Ce), e.component("AnimatedReveal", je), e.component("BackgroundShapes", Te), e.component("CustomDropdown", bt), e.component("GenericNav", Qe), e.component("GlowCard", ot), e.component("MouseOriented", st), e.component("Footer", kt), e.component("WaveContainer", $t), e.component("Popup", zt), e.component("SnapDiv", jt);
|
|
1388
1443
|
}
|
|
1389
1444
|
};
|
|
1390
1445
|
export {
|
|
1391
|
-
Ee as AnimatedReveal,
|
|
1392
|
-
Pe as BackgroundShapes,
|
|
1393
1446
|
Ce as CustomButton,
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1447
|
+
bt as CustomDropdown,
|
|
1448
|
+
Qe as GenericNav,
|
|
1449
|
+
ot as GlowCard,
|
|
1450
|
+
st as MouseOriented,
|
|
1451
|
+
zt as Popup,
|
|
1452
|
+
jt as SnapDiv,
|
|
1400
1453
|
$t as WaveContainer,
|
|
1401
|
-
|
|
1454
|
+
Nt as default,
|
|
1455
|
+
Lt as initSnapScroll
|
|
1402
1456
|
};
|