prisma-goat 0.11.0 → 0.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/prisma-goat.js +50 -50
- package/dist/prisma-goat.umd.cjs +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/prisma-goat.js
CHANGED
|
@@ -578,13 +578,13 @@ const zA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
|
|
|
578
578
|
...K
|
|
579
579
|
}, y) => {
|
|
580
580
|
var N, LA, UM, ZM;
|
|
581
|
-
const Y = HB(), [d, F] = v(!1), [x, tA] = v(!1), [
|
|
581
|
+
const Y = HB(), [d, F] = v(!1), [x, tA] = v(!1), [UA, ZA] = v(!1), [kA, J] = v(null), [k, R] = v(null), z = MA(null), iA = () => F(!d), rA = () => tA(!x), sA = () => tA(!1);
|
|
582
582
|
T(() => {
|
|
583
583
|
if (typeof window < "u" && (C != null && C.events)) {
|
|
584
584
|
const U = () => {
|
|
585
|
-
|
|
585
|
+
ZA(!0);
|
|
586
586
|
}, h = () => {
|
|
587
|
-
|
|
587
|
+
ZA(!1);
|
|
588
588
|
};
|
|
589
589
|
return C.events.on("routeChangeStart", U), C.events.on("routeChangeComplete", h), C.events.on("routeChangeError", h), () => {
|
|
590
590
|
C.events.off("routeChangeStart", U), C.events.off("routeChangeComplete", h), C.events.off("routeChangeError", h);
|
|
@@ -601,7 +601,7 @@ const zA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
|
|
|
601
601
|
U.link && C && (C.push(U.link), sA());
|
|
602
602
|
}, j = (U) => {
|
|
603
603
|
U.link && C && (C.push(U.link), F(!1));
|
|
604
|
-
},
|
|
604
|
+
}, YA = () => {
|
|
605
605
|
I && I(), sA();
|
|
606
606
|
};
|
|
607
607
|
return T(() => {
|
|
@@ -656,7 +656,7 @@ const zA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
|
|
|
656
656
|
w === U.link ? g === "secondary" || g === "primary" || g === "darkMagenta" || g === "veryDarkViolet" || g === "success" ? "text-custom-red" : g === "pikaros" ? "text-orange-300" : "text-custom-blue" : g === "primary" || g === "vividPink" || g === "darkMagenta" || g === "veryDarkViolet" || g === "danger" || g === "warning" || g === "success" || g === "pikaros" ? "text-white" : "text-custom-blue",
|
|
657
657
|
w === U.link ? "font-semibold" : "font-normal"
|
|
658
658
|
),
|
|
659
|
-
onClick: U.label === "Ligas" ?
|
|
659
|
+
onClick: U.label === "Ligas" ? YA : () => Sg(U, h),
|
|
660
660
|
onMouseEnter: () => R(h),
|
|
661
661
|
onMouseLeave: () => R(null),
|
|
662
662
|
children: U.label
|
|
@@ -804,7 +804,7 @@ const zA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
|
|
|
804
804
|
w === U.link ? g === "secondary" || g === "primary" || g === "darkMagenta" || g === "veryDarkViolet" || g === "success" ? "text-custom-red" : g === "pikaros" ? "text-orange-300" : "text-custom-blue" : g === "primary" || g === "vividPink" || g === "darkMagenta" || g === "veryDarkViolet" || g === "danger" || g === "warning" || g === "success" || g === "pikaros" ? "text-white" : "text-custom-blue",
|
|
805
805
|
w === U.link ? "font-semibold" : "font-normal"
|
|
806
806
|
),
|
|
807
|
-
onClick: U.label === "Ligas" ?
|
|
807
|
+
onClick: U.label === "Ligas" ? YA : () => {
|
|
808
808
|
Yg(U, h);
|
|
809
809
|
},
|
|
810
810
|
children: U.label
|
|
@@ -895,7 +895,7 @@ const zA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
|
|
|
895
895
|
}
|
|
896
896
|
) : /* @__PURE__ */ i(VM, {})
|
|
897
897
|
] }),
|
|
898
|
-
|
|
898
|
+
UA && /* @__PURE__ */ i(
|
|
899
899
|
Fg,
|
|
900
900
|
{
|
|
901
901
|
variant: a,
|
|
@@ -1029,12 +1029,12 @@ const rw = _(
|
|
|
1029
1029
|
...Z
|
|
1030
1030
|
}, K) => {
|
|
1031
1031
|
var Yg, gg;
|
|
1032
|
-
const [y, Y] = v(!0), [d, F] = v(null), [x, tA] = v(!1), [
|
|
1032
|
+
const [y, Y] = v(!0), [d, F] = v(null), [x, tA] = v(!1), [UA, ZA] = v(null), [kA, J] = v(!1), k = MA(null), R = () => tA(!x), z = () => tA(!1), iA = () => {
|
|
1033
1033
|
c && c(), Y((f) => !f);
|
|
1034
1034
|
}, rA = (f, j) => {
|
|
1035
|
-
f.subItems && f.subItems.length > 0 ? F((
|
|
1035
|
+
f.subItems && f.subItems.length > 0 ? F((YA) => YA === j ? -1 : j) : f.link && w && w.push(f.link);
|
|
1036
1036
|
}, sA = (f, j) => {
|
|
1037
|
-
F((
|
|
1037
|
+
F((YA) => YA === j ? -1 : j), f.link && w && w.push(f.link);
|
|
1038
1038
|
}, Sg = (f) => {
|
|
1039
1039
|
f.link && w && (w.push(f.link), z());
|
|
1040
1040
|
};
|
|
@@ -1092,7 +1092,7 @@ const rw = _(
|
|
|
1092
1092
|
/* @__PURE__ */ i("div", { style: { marginLeft: "20px", marginRight: "20px", border: `1px ${tg[B]} solid`, marginTop: "14px" } }),
|
|
1093
1093
|
/* @__PURE__ */ m("div", { style: { display: "flex", justifyContent: "space-between", flexDirection: "column", height: "75vh" }, children: [
|
|
1094
1094
|
/* @__PURE__ */ i("div", { className: `flex flex-col items-start p-4 space-y-4 mt-2 max-h-[400px] overflow-y-auto ${B === "pikaros" ? "modal-scrollbar-pikaros" : B === "secondary" ? "modal-scrollbar-secundary" : "modal-scrollbar"}`, children: A.map((f, j) => {
|
|
1095
|
-
var
|
|
1095
|
+
var YA;
|
|
1096
1096
|
return /* @__PURE__ */ m("div", { className: "w-full", children: [
|
|
1097
1097
|
/* @__PURE__ */ m(
|
|
1098
1098
|
"button",
|
|
@@ -1102,15 +1102,15 @@ const rw = _(
|
|
|
1102
1102
|
`flex items-center justify-start w-full ${y ? "px-4" : ""} ${y ? "py-2" : ""} text-sm cursor-pointer rounded-md transition duration-300 focus:outline-none focus:ring-2 focus:ring-offset-2`,
|
|
1103
1103
|
X[B],
|
|
1104
1104
|
IA[B],
|
|
1105
|
-
Q === f.link || (
|
|
1105
|
+
Q === f.link || (YA = f.subItems) != null && YA.some((N) => N.link === Q) ? CA[B] : "",
|
|
1106
1106
|
Q === f.link ? B === "secondary" || B === "primary" || B === "darkMagenta" || B === "veryDarkViolet" || B === "success" ? "text-custom-red" : B === "pikaros" ? "text-orange-300" : "text-custom-blue" : B === "primary" || B === "vividPink" || B === "darkMagenta" || B === "veryDarkViolet" || B === "danger" || B === "warning" || B === "success" || B === "pikaros" ? "text-white" : "text-custom-blue",
|
|
1107
1107
|
Q === f.link ? "font-semibold" : "font-normal"
|
|
1108
1108
|
),
|
|
1109
1109
|
onClick: () => {
|
|
1110
1110
|
rA(f, j);
|
|
1111
1111
|
},
|
|
1112
|
-
onMouseEnter: () =>
|
|
1113
|
-
onMouseLeave: () =>
|
|
1112
|
+
onMouseEnter: () => ZA(j),
|
|
1113
|
+
onMouseLeave: () => ZA(null),
|
|
1114
1114
|
children: [
|
|
1115
1115
|
(f == null ? void 0 : f.icon) && /* @__PURE__ */ i(
|
|
1116
1116
|
"div",
|
|
@@ -1127,7 +1127,7 @@ const rw = _(
|
|
|
1127
1127
|
]
|
|
1128
1128
|
}
|
|
1129
1129
|
),
|
|
1130
|
-
|
|
1130
|
+
UA === j && f.description && f.description.trim() !== "" && !y && /* @__PURE__ */ m(
|
|
1131
1131
|
"div",
|
|
1132
1132
|
{
|
|
1133
1133
|
style: { border: `1px ${tg[B]} solid` },
|
|
@@ -1370,7 +1370,7 @@ function SB(A) {
|
|
|
1370
1370
|
const SA = /* @__NO_SIDE_EFFECTS__ */ (A, g, B) => {
|
|
1371
1371
|
const M = g - A;
|
|
1372
1372
|
return M === 0 ? 1 : (B - A) / M;
|
|
1373
|
-
}, EA = /* @__NO_SIDE_EFFECTS__ */ (A) => A * 1e3,
|
|
1373
|
+
}, EA = /* @__NO_SIDE_EFFECTS__ */ (A) => A * 1e3, mA = /* @__NO_SIDE_EFFECTS__ */ (A) => A / 1e3, mw = {
|
|
1374
1374
|
skipAnimations: !1,
|
|
1375
1375
|
useManualTiming: !1
|
|
1376
1376
|
};
|
|
@@ -1823,13 +1823,13 @@ const _A = [
|
|
|
1823
1823
|
"skew",
|
|
1824
1824
|
"skewX",
|
|
1825
1825
|
"skewY"
|
|
1826
|
-
], PA = new Set(_A), Ee = (A) => (g) => typeof g == "string" && g.startsWith(A), ae = /* @__PURE__ */ Ee("--"), xw = /* @__PURE__ */ Ee("var(--"), gM = (A) => xw(A) ? Sw.test(A.split("/*")[0].trim()) : !1, Sw = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu, Ge = (A, g) => g && typeof A == "number" ? g.transform(A) : A,
|
|
1826
|
+
], PA = new Set(_A), Ee = (A) => (g) => typeof g == "string" && g.startsWith(A), ae = /* @__PURE__ */ Ee("--"), xw = /* @__PURE__ */ Ee("var(--"), gM = (A) => xw(A) ? Sw.test(A.split("/*")[0].trim()) : !1, Sw = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu, Ge = (A, g) => g && typeof A == "number" ? g.transform(A) : A, yA = (A, g, B) => B > g ? g : B < A ? A : B, Ag = {
|
|
1827
1827
|
test: (A) => typeof A == "number",
|
|
1828
1828
|
parse: parseFloat,
|
|
1829
1829
|
transform: (A) => A
|
|
1830
1830
|
}, ng = {
|
|
1831
1831
|
...Ag,
|
|
1832
|
-
transform: (A) =>
|
|
1832
|
+
transform: (A) => yA(0, 1, A)
|
|
1833
1833
|
}, mg = {
|
|
1834
1834
|
...Ag,
|
|
1835
1835
|
default: 1
|
|
@@ -2735,7 +2735,7 @@ const zQ = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s
|
|
|
2735
2735
|
[B]: parseFloat(e),
|
|
2736
2736
|
alpha: Q !== void 0 ? parseFloat(Q) : 1
|
|
2737
2737
|
};
|
|
2738
|
-
}, vQ = (A) =>
|
|
2738
|
+
}, vQ = (A) => yA(0, 255, A), $g = {
|
|
2739
2739
|
...Ag,
|
|
2740
2740
|
transform: (A) => Math.round(vQ(A))
|
|
2741
2741
|
}, hA = {
|
|
@@ -3262,7 +3262,7 @@ function YC({ duration: A = b.duration, bounce: g = b.bounce, velocity: B = b.ve
|
|
|
3262
3262
|
let D, t;
|
|
3263
3263
|
$A(A <= /* @__PURE__ */ EA(b.maxDuration), "Spring duration must be 10 seconds or less");
|
|
3264
3264
|
let e = 1 - g;
|
|
3265
|
-
e =
|
|
3265
|
+
e = yA(b.minDamping, b.maxDamping, e), A = yA(b.minDuration, b.maxDuration, /* @__PURE__ */ mA(A)), e < 1 ? (D = (C) => {
|
|
3266
3266
|
const s = C * e, o = s * A, n = s - B, I = EB(C, e), r = Math.exp(-o);
|
|
3267
3267
|
return $M - n / I * r;
|
|
3268
3268
|
}, t = (C) => {
|
|
@@ -3316,7 +3316,7 @@ function ZC(A) {
|
|
|
3316
3316
|
};
|
|
3317
3317
|
if (!_M(A, UC) && _M(A, yC))
|
|
3318
3318
|
if (A.visualDuration) {
|
|
3319
|
-
const B = A.visualDuration, M = 2 * Math.PI / (B * 1.2), D = M * M, t = 2 *
|
|
3319
|
+
const B = A.visualDuration, M = 2 * Math.PI / (B * 1.2), D = M * M, t = 2 * yA(0.05, 1, 1 - (A.bounce || 0)) * Math.sqrt(D);
|
|
3320
3320
|
g = {
|
|
3321
3321
|
...g,
|
|
3322
3322
|
mass: b.mass,
|
|
@@ -3342,8 +3342,8 @@ function st(A = b.visualDuration, g = b.bounce) {
|
|
|
3342
3342
|
let { restSpeed: M, restDelta: D } = B;
|
|
3343
3343
|
const t = B.keyframes[0], e = B.keyframes[B.keyframes.length - 1], Q = { done: !1, value: t }, { stiffness: w, damping: C, mass: s, duration: o, velocity: n, isResolvedFromDuration: I } = ZC({
|
|
3344
3344
|
...B,
|
|
3345
|
-
velocity: -/* @__PURE__ */
|
|
3346
|
-
}), r = n || 0, l = C / (2 * Math.sqrt(w * s)), E = e - t, a = /* @__PURE__ */
|
|
3345
|
+
velocity: -/* @__PURE__ */ mA(B.velocity || 0)
|
|
3346
|
+
}), r = n || 0, l = C / (2 * Math.sqrt(w * s)), E = e - t, a = /* @__PURE__ */ mA(Math.sqrt(w / s)), G = Math.abs(E) < 5;
|
|
3347
3347
|
M || (M = G ? b.restSpeed.granular : b.restSpeed.default), D || (D = G ? b.restDelta.granular : b.restDelta.default);
|
|
3348
3348
|
let u;
|
|
3349
3349
|
if (l < 1) {
|
|
@@ -3465,7 +3465,7 @@ function kC(A, g, { clamp: B = !0, ease: M, mixer: D } = {}) {
|
|
|
3465
3465
|
const n = /* @__PURE__ */ SA(A[o], A[o + 1], s);
|
|
3466
3466
|
return Q[o](n);
|
|
3467
3467
|
};
|
|
3468
|
-
return B ? (s) => C(
|
|
3468
|
+
return B ? (s) => C(yA(A[0], A[t - 1], s)) : C;
|
|
3469
3469
|
}
|
|
3470
3470
|
function pC(A, g) {
|
|
3471
3471
|
const B = A[A.length - 1];
|
|
@@ -3575,7 +3575,7 @@ class mM extends wt {
|
|
|
3575
3575
|
if (I) {
|
|
3576
3576
|
const y = Math.min(this.currentTime, s) / o;
|
|
3577
3577
|
let Y = Math.floor(y), d = y % 1;
|
|
3578
|
-
!d && y >= 1 && (d = 1), d === 1 && Y--, Y = Math.min(Y, I + 1), !!(Y % 2) && (r === "reverse" ? (d = 1 - d, l && (d -= l / o)) : r === "mirror" && (q = e)), u =
|
|
3578
|
+
!d && y >= 1 && (d = 1), d === 1 && Y--, Y = Math.min(Y, I + 1), !!(Y % 2) && (r === "reverse" ? (d = 1 - d, l && (d -= l / o)) : r === "mirror" && (q = e)), u = yA(0, 1, d) * o;
|
|
3579
3579
|
}
|
|
3580
3580
|
const c = G ? { done: !1, value: w[0] } : q.next(u);
|
|
3581
3581
|
Q && (c.value = Q(c.value));
|
|
@@ -3586,10 +3586,10 @@ class mM extends wt {
|
|
|
3586
3586
|
}
|
|
3587
3587
|
get duration() {
|
|
3588
3588
|
const { resolved: g } = this;
|
|
3589
|
-
return g ? /* @__PURE__ */
|
|
3589
|
+
return g ? /* @__PURE__ */ mA(g.calculatedDuration) : 0;
|
|
3590
3590
|
}
|
|
3591
3591
|
get time() {
|
|
3592
|
-
return /* @__PURE__ */
|
|
3592
|
+
return /* @__PURE__ */ mA(this.currentTime);
|
|
3593
3593
|
}
|
|
3594
3594
|
set time(g) {
|
|
3595
3595
|
g = /* @__PURE__ */ EA(g), this.currentTime = g, this.holdTime !== null || this.speed === 0 ? this.holdTime = g : this.driver && (this.startTime = this.driver.now() - g / this.speed);
|
|
@@ -3599,7 +3599,7 @@ class mM extends wt {
|
|
|
3599
3599
|
}
|
|
3600
3600
|
set speed(g) {
|
|
3601
3601
|
const B = this.playbackSpeed !== g;
|
|
3602
|
-
this.playbackSpeed = g, B && (this.time = /* @__PURE__ */
|
|
3602
|
+
this.playbackSpeed = g, B && (this.time = /* @__PURE__ */ mA(this.currentTime));
|
|
3603
3603
|
}
|
|
3604
3604
|
play() {
|
|
3605
3605
|
if (this.resolver.isScheduled || this.resolver.resume(), !this._resolved) {
|
|
@@ -3728,14 +3728,14 @@ class MD extends wt {
|
|
|
3728
3728
|
if (!g)
|
|
3729
3729
|
return 0;
|
|
3730
3730
|
const { duration: B } = g;
|
|
3731
|
-
return /* @__PURE__ */
|
|
3731
|
+
return /* @__PURE__ */ mA(B);
|
|
3732
3732
|
}
|
|
3733
3733
|
get time() {
|
|
3734
3734
|
const { resolved: g } = this;
|
|
3735
3735
|
if (!g)
|
|
3736
3736
|
return 0;
|
|
3737
3737
|
const { animation: B } = g;
|
|
3738
|
-
return /* @__PURE__ */
|
|
3738
|
+
return /* @__PURE__ */ mA(B.currentTime || 0);
|
|
3739
3739
|
}
|
|
3740
3740
|
set time(g) {
|
|
3741
3741
|
const { resolved: B } = this;
|
|
@@ -4037,7 +4037,7 @@ function ei(A) {
|
|
|
4037
4037
|
const { prevResolvedValues: x = {} } = G, tA = {
|
|
4038
4038
|
...x,
|
|
4039
4039
|
...F
|
|
4040
|
-
},
|
|
4040
|
+
}, UA = (J) => {
|
|
4041
4041
|
y = !0, n.has(J) && (Y = !0, n.delete(J)), G.needsAnimating[J] = !0;
|
|
4042
4042
|
const k = A.getValue(J);
|
|
4043
4043
|
k && (k.liveStyle = !1);
|
|
@@ -4047,7 +4047,7 @@ function ei(A) {
|
|
|
4047
4047
|
if (I.hasOwnProperty(J))
|
|
4048
4048
|
continue;
|
|
4049
4049
|
let z = !1;
|
|
4050
|
-
QB(k) && QB(R) ? z = !Ve(k, R) : z = k !== R, z ? k != null ?
|
|
4050
|
+
QB(k) && QB(R) ? z = !Ve(k, R) : z = k !== R, z ? k != null ? UA(J) : n.add(J) : k !== void 0 && n.has(J) ? UA(J) : G.protectedKeys[J] = !0;
|
|
4051
4051
|
}
|
|
4052
4052
|
G.prevProp = u, G.prevResolvedValues = F, G.isActive && (I = { ...I, ...F }), M && A.blockInitialAnimation && (y = !1), y && (!(Z && K) || Y) && o.push(...d.map((J) => ({
|
|
4053
4053
|
animation: J,
|
|
@@ -4258,7 +4258,7 @@ function Ii(A, g) {
|
|
|
4258
4258
|
B--;
|
|
4259
4259
|
if (!M)
|
|
4260
4260
|
return { x: 0, y: 0 };
|
|
4261
|
-
const t = /* @__PURE__ */
|
|
4261
|
+
const t = /* @__PURE__ */ mA(D.timestamp - M.timestamp);
|
|
4262
4262
|
if (t === 0)
|
|
4263
4263
|
return { x: 0, y: 0 };
|
|
4264
4264
|
const e = {
|
|
@@ -4320,7 +4320,7 @@ function mi(A, g) {
|
|
|
4320
4320
|
function yi(A, g) {
|
|
4321
4321
|
let B = 0.5;
|
|
4322
4322
|
const M = eA(A), D = eA(g);
|
|
4323
|
-
return D > M ? B = /* @__PURE__ */ SA(g.min, g.max - M, A.min) : M > D && (B = /* @__PURE__ */ SA(A.min, A.max - D, g.min)),
|
|
4323
|
+
return D > M ? B = /* @__PURE__ */ SA(g.min, g.max - M, A.min) : M > D && (B = /* @__PURE__ */ SA(A.min, A.max - D, g.min)), yA(0, 1, B);
|
|
4324
4324
|
}
|
|
4325
4325
|
function Ui(A, g) {
|
|
4326
4326
|
const B = {};
|
|
@@ -5114,7 +5114,7 @@ function pt({ attachResizeListener: A, defaultParent: g, measureScroll: B, check
|
|
|
5114
5114
|
}
|
|
5115
5115
|
this.isUpdating || this.nodes.forEach(ws), this.isUpdating = !1, this.nodes.forEach(Qs), this.nodes.forEach(Bs), this.nodes.forEach(Ms), this.clearAllSnapshots();
|
|
5116
5116
|
const Q = GA.now();
|
|
5117
|
-
S.delta =
|
|
5117
|
+
S.delta = yA(0, 1e3 / 60, Q - S.timestamp), S.timestamp = Q, S.isProcessing = !0, Xg.update.process(S), Xg.preRender.process(S), Xg.render.process(S), S.isProcessing = !1;
|
|
5118
5118
|
}
|
|
5119
5119
|
didUpdate() {
|
|
5120
5120
|
this.updateScheduled || (this.updateScheduled = !0, $B.read(this.scheduleUpdate));
|
|
@@ -6206,12 +6206,12 @@ const Ns = _(
|
|
|
6206
6206
|
secondary: "#1F2937",
|
|
6207
6207
|
experiences: "#000000",
|
|
6208
6208
|
pikaros: "#DFCA7866"
|
|
6209
|
-
},
|
|
6209
|
+
}, UA = {
|
|
6210
6210
|
goatData: "text-white",
|
|
6211
6211
|
secondary: "text-[#1F2937]",
|
|
6212
6212
|
experiences: "text-white",
|
|
6213
6213
|
pikaros: "text-[#DFCA78]"
|
|
6214
|
-
},
|
|
6214
|
+
}, ZA = (k) => {
|
|
6215
6215
|
const R = k, z = encodeURIComponent("Hola, me gustaría obtener más información sobre las experiencias personalizadas que ofrecen en Experiencias Viajes. Estoy interesado en conocer más sobre sus servicios exclusivos a bordo de embarcaciones de lujo."), iA = `https://api.whatsapp.com/send?phone=${R}&text=${z}`;
|
|
6216
6216
|
window.open(iA, "_blank");
|
|
6217
6217
|
}, kA = (k) => {
|
|
@@ -6223,7 +6223,7 @@ const Ns = _(
|
|
|
6223
6223
|
return /* @__PURE__ */ m("nav", { ref: I, ...n, style: { zIndex: 9999, position: "fixed", top: "0px", left: "0px", right: "0px" }, className: `${d[A]} ${A === "experiences" || A === "pikaros" ? "" : "bg-opacity-75"} `, children: [
|
|
6224
6224
|
(A === "experiences" || A === "pikaros") && y && /* @__PURE__ */ i("div", { className: ` ${A === "experiences" ? "bg-[#F2AE87]" : A === "pikaros" ? "bg-[#DFCA78]" : ""} text-white transition-all duration-300`, children: /* @__PURE__ */ m("div", { className: `flex ${r ? "flex-col items-end" : "flex-row items-center"} justify-around gap-4 px-4 py-2 text-sm`, children: [
|
|
6225
6225
|
!r && /* @__PURE__ */ m("div", { className: "flex items-center gap-6", children: [
|
|
6226
|
-
A === "experiences" && /* @__PURE__ */ m("div", { className: "flex items-center gap-2 cursor-pointer", onClick: () =>
|
|
6226
|
+
A === "experiences" && /* @__PURE__ */ m("div", { className: "flex items-center gap-2 cursor-pointer", onClick: () => ZA("+5491140999887"), children: [
|
|
6227
6227
|
/* @__PURE__ */ i(lw, {}),
|
|
6228
6228
|
/* @__PURE__ */ i("span", { children: "+54 114099-9887" })
|
|
6229
6229
|
] }),
|
|
@@ -6299,7 +6299,7 @@ const Ns = _(
|
|
|
6299
6299
|
alt: "Logo"
|
|
6300
6300
|
}
|
|
6301
6301
|
),
|
|
6302
|
-
(!B || B.trim() === "") && /* @__PURE__ */ i("div", { className: `text-[10px] ${
|
|
6302
|
+
(!B || B.trim() === "") && /* @__PURE__ */ i("div", { className: `text-[10px] ${UA[A]} tracking-[4px]`, children: "DATA" })
|
|
6303
6303
|
] }) }),
|
|
6304
6304
|
/* @__PURE__ */ i("div", { style: { display: r ? "none" : "block", flexGrow: 1, marginLeft: "1.5rem" }, children: /* @__PURE__ */ i("nav", { style: { display: "flex", justifyContent: "flex-end" }, children: /* @__PURE__ */ i("ul", { className: "flex space-x-4", children: g.map(({ label: k, href: R, refId: z, open: iA, routerApp: rA, link: sA }) => /* @__PURE__ */ i("li", { children: /* @__PURE__ */ i(
|
|
6305
6305
|
qM,
|
|
@@ -6419,7 +6419,7 @@ const Xs = () => ({
|
|
|
6419
6419
|
ease: [0.25, 0.25, 0.25, 0.75]
|
|
6420
6420
|
}
|
|
6421
6421
|
}
|
|
6422
|
-
}),
|
|
6422
|
+
}), uA = _(
|
|
6423
6423
|
({
|
|
6424
6424
|
children: A,
|
|
6425
6425
|
className: g,
|
|
@@ -6441,7 +6441,7 @@ const Xs = () => ({
|
|
|
6441
6441
|
) });
|
|
6442
6442
|
}
|
|
6443
6443
|
);
|
|
6444
|
-
|
|
6444
|
+
uA.displayName = "MotionTransition";
|
|
6445
6445
|
const xA = _(
|
|
6446
6446
|
({
|
|
6447
6447
|
ease: A = "easeIn",
|
|
@@ -6564,17 +6564,17 @@ const Ws = _(
|
|
|
6564
6564
|
onTouchEnd: u,
|
|
6565
6565
|
children: [
|
|
6566
6566
|
t && /* @__PURE__ */ m("div", { style: { position: "absolute", inset: "0px", display: "flex", flexDirection: "column", alignItems: "center", justifyContent: "center" }, className: "text-center z-20 text-white", children: [
|
|
6567
|
-
/* @__PURE__ */ i(
|
|
6567
|
+
/* @__PURE__ */ i(uA, { children: /* @__PURE__ */ m("h1", { className: "text-3xl md:text-5xl font-bold animate-fade-in-up", children: [
|
|
6568
6568
|
t.text1,
|
|
6569
6569
|
/* @__PURE__ */ i("span", { className: `${Z[g]}`, children: t.text2 })
|
|
6570
6570
|
] }) }),
|
|
6571
|
-
/* @__PURE__ */ i(
|
|
6571
|
+
/* @__PURE__ */ i(uA, { children: /* @__PURE__ */ i("p", { className: "text-sm md:text-lg mb-6", children: t.text3 }) }),
|
|
6572
6572
|
/* @__PURE__ */ m("div", { className: "flex gap-4", children: [
|
|
6573
6573
|
t.text4 && /* @__PURE__ */ i(xA, { variant: g, duration: 1, delay: 1, children: /* @__PURE__ */ i("div", { className: "flex", style: { padding: "5px" }, children: /* @__PURE__ */ i(sg, { variant: g, onClick: w, size: "small", label: t.text4 }) }) }),
|
|
6574
6574
|
t.text5 && /* @__PURE__ */ i(xA, { variant: "tertiary", duration: 1, delay: 1, children: /* @__PURE__ */ i("div", { className: "flex", style: { padding: "5px" }, children: /* @__PURE__ */ i(sg, { variant: "tertiary", onClick: C, size: "small", label: t.text5 }) }) })
|
|
6575
6575
|
] })
|
|
6576
6576
|
] }),
|
|
6577
|
-
(D == null ? void 0 : D.content) && /* @__PURE__ */ i("div", { className: "absolute z-20 bottom-8 left-1/2 transform -translate-x-1/2 pointer-events-auto", children: /* @__PURE__ */ i(
|
|
6577
|
+
(D == null ? void 0 : D.content) && /* @__PURE__ */ i("div", { className: "absolute z-20 bottom-8 left-1/2 transform -translate-x-1/2 pointer-events-auto", children: /* @__PURE__ */ i(uA, { children: /* @__PURE__ */ m("a", { onClick: () => D.content && c(D.content), className: "flex flex-col items-center text-white cursor-pointer", children: [
|
|
6578
6578
|
/* @__PURE__ */ i("span", { className: "mb-2 text-lg font-medium", children: "Explora más" }),
|
|
6579
6579
|
/* @__PURE__ */ i(
|
|
6580
6580
|
"svg",
|
|
@@ -6596,8 +6596,8 @@ const Ws = _(
|
|
|
6596
6596
|
}
|
|
6597
6597
|
)
|
|
6598
6598
|
] }) }) }),
|
|
6599
|
-
e && /* @__PURE__ */ i("div", { className: "absolute inset-0 flex flex-col justify-center items-center text-white z-10 transition-opacity duration-700 ease-in-out", children: /* @__PURE__ */ i(
|
|
6600
|
-
Q && /* @__PURE__ */ i(
|
|
6599
|
+
e && /* @__PURE__ */ i("div", { className: "absolute inset-0 flex flex-col justify-center items-center text-white z-10 transition-opacity duration-700 ease-in-out", children: /* @__PURE__ */ i(uA, { children: /* @__PURE__ */ i("h1", { className: "text-4xl font-bold", children: ((K = A[n]) == null ? void 0 : K.alt) || "Título dinámico" }, n) }) }),
|
|
6600
|
+
Q && /* @__PURE__ */ i(uA, { children: /* @__PURE__ */ i("div", { className: "absolute bottom-8 left-1/2 transform -translate-x-1/2 text-center z-10", children: /* @__PURE__ */ i("p", { className: "text-lg font-medium text-white", children: (y = A[n]) == null ? void 0 : y.alt }) }) }),
|
|
6601
6601
|
/* @__PURE__ */ i(
|
|
6602
6602
|
"div",
|
|
6603
6603
|
{
|
|
@@ -7151,19 +7151,19 @@ const so = _(
|
|
|
7151
7151
|
),
|
|
7152
7152
|
/* @__PURE__ */ i("div", { className: "video-header" }),
|
|
7153
7153
|
M && /* @__PURE__ */ m("div", { className: "absolute inset-0 flex flex-col items-center justify-center text-center z-20 text-white", children: [
|
|
7154
|
-
/* @__PURE__ */ i(
|
|
7154
|
+
/* @__PURE__ */ i(uA, { children: /* @__PURE__ */ m("h1", { className: "text-3xl md:text-5xl font-bold animate-fade-in-up", children: [
|
|
7155
7155
|
M.text1,
|
|
7156
7156
|
" ",
|
|
7157
7157
|
/* @__PURE__ */ i("span", { className: `${l[Q]}`, children: M.text2 })
|
|
7158
7158
|
] }) }),
|
|
7159
|
-
M.text3 && /* @__PURE__ */ i(
|
|
7159
|
+
M.text3 && /* @__PURE__ */ i(uA, { children: /* @__PURE__ */ i("p", { className: "text-sm md:text-lg mb-6", children: M.text3 }) }),
|
|
7160
7160
|
/* @__PURE__ */ m("div", { className: "flex gap-4", children: [
|
|
7161
7161
|
M.text4 && /* @__PURE__ */ i(xA, { variant: Q, duration: 1, delay: 1, children: /* @__PURE__ */ i("div", { className: "flex p-2", children: /* @__PURE__ */ i(sg, { variant: Q, onClick: t, size: "small", label: M.text4 }) }) }),
|
|
7162
7162
|
M.text5 && /* @__PURE__ */ i(xA, { variant: "tertiary", duration: 1, delay: 1, children: /* @__PURE__ */ i("div", { className: "flex p-2", children: /* @__PURE__ */ i(sg, { variant: "tertiary", onClick: e, size: "small", label: M.text5 }) }) })
|
|
7163
7163
|
] })
|
|
7164
7164
|
] }),
|
|
7165
7165
|
/* @__PURE__ */ i("button", { onClick: () => n(!o), className: "opacitySound backdrop-blur-md", children: o ? /* @__PURE__ */ i(Co, { size: 25, color: "#d4d3d3" }) : /* @__PURE__ */ i(io, { size: 25, color: "#d4d3d3" }) }),
|
|
7166
|
-
(B == null ? void 0 : B.content) && /* @__PURE__ */ i("div", { className: "absolute z-20 bottom-8 left-1/2 transform -translate-x-1/2 pointer-events-auto", children: /* @__PURE__ */ i(
|
|
7166
|
+
(B == null ? void 0 : B.content) && /* @__PURE__ */ i("div", { className: "absolute z-20 bottom-8 left-1/2 transform -translate-x-1/2 pointer-events-auto", children: /* @__PURE__ */ i(uA, { children: /* @__PURE__ */ m(
|
|
7167
7167
|
"a",
|
|
7168
7168
|
{
|
|
7169
7169
|
onClick: () => B.content && r(B.content),
|
|
@@ -7199,7 +7199,7 @@ export {
|
|
|
7199
7199
|
$s as Input,
|
|
7200
7200
|
_s as InputSelect,
|
|
7201
7201
|
Fg as LoadingIndicator,
|
|
7202
|
-
|
|
7202
|
+
uA as MotionTransition,
|
|
7203
7203
|
Ns as Nav,
|
|
7204
7204
|
nw as Navbar,
|
|
7205
7205
|
xA as Reveal,
|