prisma-goat 0.9.3 → 0.9.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.
- package/README.md +1 -1
- package/dist/prisma-goat.js +72 -72
- package/dist/prisma-goat.umd.cjs +6 -6
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/prisma-goat.js
CHANGED
|
@@ -562,7 +562,7 @@ const RA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
|
|
|
562
562
|
...d
|
|
563
563
|
}, Z) => {
|
|
564
564
|
var cA, x, vA, yM;
|
|
565
|
-
const U = jB(), [Y, V] = z(!1), [
|
|
565
|
+
const U = jB(), [Y, V] = z(!1), [q, R] = z(!1), [F, S] = z(!1), [CA, iA] = z(null), [H, AA] = z(null), GA = MA(null), fA = () => V(!Y), Gg = () => R(!q), zA = () => R(!1);
|
|
566
566
|
j(() => {
|
|
567
567
|
if (typeof window < "u" && (C != null && C.events)) {
|
|
568
568
|
const m = () => {
|
|
@@ -581,7 +581,7 @@ const RA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
|
|
|
581
581
|
m.subItems && m.subItems.length > 0 ? iA((sA) => sA === h ? -1 : h) : m.link && C && (C.push(m.link), V(!1));
|
|
582
582
|
}, _A = (m, h) => {
|
|
583
583
|
iA((sA) => sA === h ? -1 : h), m.link && C && C.push(m.link);
|
|
584
|
-
},
|
|
584
|
+
}, k = (m) => {
|
|
585
585
|
m.link && C && (C.push(m.link), zA());
|
|
586
586
|
}, b = (m) => {
|
|
587
587
|
m.link && C && (C.push(m.link), V(!1));
|
|
@@ -590,10 +590,10 @@ const RA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
|
|
|
590
590
|
const m = (h) => {
|
|
591
591
|
GA.current && !GA.current.contains(h.target) && zA();
|
|
592
592
|
};
|
|
593
|
-
return
|
|
593
|
+
return q && document.addEventListener("mousedown", m), () => {
|
|
594
594
|
document.removeEventListener("mousedown", m);
|
|
595
595
|
};
|
|
596
|
-
}, [
|
|
596
|
+
}, [q]), /* @__PURE__ */ u("nav", { ref: Z, ...d, style: { zIndex: 9999, position: "fixed", top: "0px", left: "0px", right: "0px" }, className: `${nA[g]}`, children: [
|
|
597
597
|
/* @__PURE__ */ i("div", { style: { marginLeft: "auto", marginRight: "auto", maxWidth: "80rem", paddingLeft: U ? "0.5rem" : "1.5rem", paddingRight: U ? "0.5rem" : "1.5rem" }, children: /* @__PURE__ */ u("div", { style: { position: "relative", display: "flex", height: "4rem", alignItems: "center", justifyContent: "space-between" }, children: [
|
|
598
598
|
/* @__PURE__ */ i("div", { style: { position: "absolute", top: "0px", bottom: "0px", left: "0px", display: U ? "flex" : "none", alignItems: "center" }, children: /* @__PURE__ */ i("button", { className: `menu ${Y ? g === "secondary" ? "openedark" : "opened" : ""}`, onClick: fA, "aria-label": "Main Menu", children: /* @__PURE__ */ u("svg", { width: "45", height: "45", viewBox: "0 0 100 100", style: { fill: "#f9f8f8 !important" }, children: [
|
|
599
599
|
/* @__PURE__ */ i("path", { className: g === "secondary" ? "linedark linedark1" : "line line1", d: "M 20,29.000046 H 80.000231 C 80.000231,29.000046 94.498839,28.817352 94.532987,66.711331 94.543142,77.980673 90.966081,81.670246 85.259173,81.668997 79.552261,81.667751 75.000211,74.999942 75.000211,74.999942 L 25.000021,25.000058" }),
|
|
@@ -703,7 +703,7 @@ const RA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
|
|
|
703
703
|
type: "button",
|
|
704
704
|
className: `flex rounded-full bg-gray-800 text-sm transition duration-300 focus:outline-none focus:ring-2 ${IA[g]} focus:ring-offset-2`,
|
|
705
705
|
id: "user-menu-button",
|
|
706
|
-
"aria-expanded":
|
|
706
|
+
"aria-expanded": q,
|
|
707
707
|
"aria-haspopup": "true",
|
|
708
708
|
onClick: Gg,
|
|
709
709
|
children: /* @__PURE__ */ i(
|
|
@@ -726,7 +726,7 @@ const RA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
|
|
|
726
726
|
)
|
|
727
727
|
}
|
|
728
728
|
) }),
|
|
729
|
-
|
|
729
|
+
q && /* @__PURE__ */ i(
|
|
730
730
|
"div",
|
|
731
731
|
{
|
|
732
732
|
ref: GA,
|
|
@@ -743,7 +743,7 @@ const RA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
|
|
|
743
743
|
w === m.link ? "font-semibold" : "font-normal"
|
|
744
744
|
),
|
|
745
745
|
onClick: m.label === "Cerrar sesion" ? I : () => {
|
|
746
|
-
|
|
746
|
+
k(m);
|
|
747
747
|
},
|
|
748
748
|
children: m.label
|
|
749
749
|
},
|
|
@@ -1010,24 +1010,24 @@ const sw = $(
|
|
|
1010
1010
|
...c
|
|
1011
1011
|
}, d) => {
|
|
1012
1012
|
var cg, _A;
|
|
1013
|
-
const [Z, U] = z(!0), [Y, V] = z(null), [
|
|
1014
|
-
K && K(), U((
|
|
1015
|
-
}, Gg = (
|
|
1016
|
-
|
|
1017
|
-
}, zA = (
|
|
1018
|
-
V((cA) => cA === b ? -1 : b),
|
|
1019
|
-
}, Tg = (
|
|
1020
|
-
|
|
1013
|
+
const [Z, U] = z(!0), [Y, V] = z(null), [q, R] = z(!1), [F, S] = z(null), [CA, iA] = z(!1), H = MA(null), AA = () => R(!q), GA = () => R(!1), fA = () => {
|
|
1014
|
+
K && K(), U((k) => !k);
|
|
1015
|
+
}, Gg = (k, b) => {
|
|
1016
|
+
k.subItems && k.subItems.length > 0 ? V((cA) => cA === b ? -1 : b) : k.link && w && w.push(k.link);
|
|
1017
|
+
}, zA = (k, b) => {
|
|
1018
|
+
V((cA) => cA === b ? -1 : b), k.link && w && w.push(k.link);
|
|
1019
|
+
}, Tg = (k) => {
|
|
1020
|
+
k.link && w && (w.push(k.link), GA());
|
|
1021
1021
|
};
|
|
1022
1022
|
return j(() => {
|
|
1023
1023
|
if (typeof window < "u" && (w != null && w.events)) {
|
|
1024
|
-
const
|
|
1024
|
+
const k = () => {
|
|
1025
1025
|
iA(!0);
|
|
1026
1026
|
}, b = () => {
|
|
1027
1027
|
iA(!1);
|
|
1028
1028
|
};
|
|
1029
|
-
return w.events.on("routeChangeStart",
|
|
1030
|
-
w.events.off("routeChangeStart",
|
|
1029
|
+
return w.events.on("routeChangeStart", k), w.events.on("routeChangeComplete", b), w.events.on("routeChangeError", b), () => {
|
|
1030
|
+
w.events.off("routeChangeStart", k), w.events.off("routeChangeComplete", b), w.events.off("routeChangeError", b);
|
|
1031
1031
|
};
|
|
1032
1032
|
}
|
|
1033
1033
|
}, [w]), /* @__PURE__ */ u(
|
|
@@ -1072,7 +1072,7 @@ const sw = $(
|
|
|
1072
1072
|
),
|
|
1073
1073
|
/* @__PURE__ */ i("div", { style: { marginLeft: "20px", marginRight: "20px", border: `1px ${Dg[B]} solid`, marginTop: "14px" } }),
|
|
1074
1074
|
/* @__PURE__ */ u("div", { style: { display: "flex", justifyContent: "space-between", flexDirection: "column", height: "75vh" }, children: [
|
|
1075
|
-
/* @__PURE__ */ i("div", { className: "flex flex-col items-start p-4 space-y-4 mt-7", children: A.map((
|
|
1075
|
+
/* @__PURE__ */ i("div", { className: "flex flex-col items-start p-4 space-y-4 mt-7", children: A.map((k, b) => {
|
|
1076
1076
|
var cA;
|
|
1077
1077
|
return /* @__PURE__ */ u("div", { className: "w-full relative group", children: [
|
|
1078
1078
|
/* @__PURE__ */ u(
|
|
@@ -1083,17 +1083,17 @@ const sw = $(
|
|
|
1083
1083
|
`flex items-center justify-start w-full ${Z ? "px-4" : ""} ${Z ? "py-2" : ""} text-sm cursor-pointer rounded-md transition duration-300 focus:outline-none focus:ring-2 focus:ring-offset-2`,
|
|
1084
1084
|
N[B],
|
|
1085
1085
|
IA[B],
|
|
1086
|
-
Q ===
|
|
1087
|
-
Q ===
|
|
1088
|
-
Q ===
|
|
1086
|
+
Q === k.link || (cA = k.subItems) != null && cA.some((x) => x.link === Q) ? QA[B] : "",
|
|
1087
|
+
Q === k.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",
|
|
1088
|
+
Q === k.link ? "font-semibold" : "font-normal"
|
|
1089
1089
|
),
|
|
1090
1090
|
onClick: () => {
|
|
1091
|
-
Gg(
|
|
1091
|
+
Gg(k, b);
|
|
1092
1092
|
},
|
|
1093
1093
|
onMouseEnter: () => S(b),
|
|
1094
1094
|
onMouseLeave: () => S(null),
|
|
1095
1095
|
children: [
|
|
1096
|
-
(
|
|
1096
|
+
(k == null ? void 0 : k.icon) && /* @__PURE__ */ i(
|
|
1097
1097
|
"div",
|
|
1098
1098
|
{
|
|
1099
1099
|
className: `flex ${Z ? "" : "py-2"}`,
|
|
@@ -1101,14 +1101,14 @@ const sw = $(
|
|
|
1101
1101
|
marginRight: Z ? "12px" : "0px",
|
|
1102
1102
|
marginLeft: Z ? "0px" : "6px"
|
|
1103
1103
|
},
|
|
1104
|
-
children: /* @__PURE__ */ i(
|
|
1104
|
+
children: /* @__PURE__ */ i(k.icon, { className: "w-6 h-6" })
|
|
1105
1105
|
}
|
|
1106
1106
|
),
|
|
1107
|
-
/* @__PURE__ */ i("span", { className: `${Z ? "block" : "hidden"}`, children:
|
|
1107
|
+
/* @__PURE__ */ i("span", { className: `${Z ? "block" : "hidden"}`, children: k.label })
|
|
1108
1108
|
]
|
|
1109
1109
|
}
|
|
1110
1110
|
),
|
|
1111
|
-
F === b &&
|
|
1111
|
+
F === b && k.description && k.description.trim() !== "" && !Z && /* @__PURE__ */ u(
|
|
1112
1112
|
"div",
|
|
1113
1113
|
{
|
|
1114
1114
|
style: {
|
|
@@ -1122,11 +1122,11 @@ const sw = $(
|
|
|
1122
1122
|
nA[B]
|
|
1123
1123
|
),
|
|
1124
1124
|
children: [
|
|
1125
|
-
|
|
1125
|
+
k.image && k.image.trim() !== "" && /* @__PURE__ */ u("div", { className: "relative w-full h-24 mb-2", children: [
|
|
1126
1126
|
/* @__PURE__ */ i(
|
|
1127
1127
|
"img",
|
|
1128
1128
|
{
|
|
1129
|
-
src:
|
|
1129
|
+
src: k.image,
|
|
1130
1130
|
alt: "Tooltip Image",
|
|
1131
1131
|
className: "object-cover w-full h-full rounded-t-md opacity-75 hover:opacity-100 transition-opacity duration-300"
|
|
1132
1132
|
}
|
|
@@ -1134,11 +1134,11 @@ const sw = $(
|
|
|
1134
1134
|
/* @__PURE__ */ i("div", { className: "absolute bottom-0 w-full h-8 bg-gradient-to-t from-white/80 to-transparent" })
|
|
1135
1135
|
] }),
|
|
1136
1136
|
/* @__PURE__ */ i("div", { className: "absolute top-1/2 left-0 transform -translate-y-1/2 -ml-2 w-0 h-0 border-t-4 border-r-4 border-b-4 border-transparent border-t-gray-800" }),
|
|
1137
|
-
|
|
1137
|
+
k.description
|
|
1138
1138
|
]
|
|
1139
1139
|
}
|
|
1140
1140
|
),
|
|
1141
|
-
|
|
1141
|
+
k.subItems && k.subItems.length > 0 && Y === b && (Z ? /* @__PURE__ */ i("div", { className: "pl-4 py-4", children: k.subItems.map((x, vA) => /* @__PURE__ */ i(
|
|
1142
1142
|
"button",
|
|
1143
1143
|
{
|
|
1144
1144
|
className: J(
|
|
@@ -1160,7 +1160,7 @@ const sw = $(
|
|
|
1160
1160
|
style: { zIndex: "999" },
|
|
1161
1161
|
className: `absolute left-0 mt-2 w-48 ${nA[B]} ${dg[B]} rounded-md shadow-lg ring-4 ring-black ring-opacity-5`,
|
|
1162
1162
|
role: "menu",
|
|
1163
|
-
children:
|
|
1163
|
+
children: k.subItems.map((x, vA) => /* @__PURE__ */ i(
|
|
1164
1164
|
"div",
|
|
1165
1165
|
{
|
|
1166
1166
|
className: J(
|
|
@@ -1200,8 +1200,8 @@ const sw = $(
|
|
|
1200
1200
|
src: C.image,
|
|
1201
1201
|
alt: "User avatar",
|
|
1202
1202
|
className: "rounded-full object-cover w-full h-full",
|
|
1203
|
-
onError: (
|
|
1204
|
-
|
|
1203
|
+
onError: (k) => {
|
|
1204
|
+
k.currentTarget.onerror = null, k.currentTarget.src = "";
|
|
1205
1205
|
}
|
|
1206
1206
|
}
|
|
1207
1207
|
) : ((_A = (cg = C.name) == null ? void 0 : cg.charAt(0)) == null ? void 0 : _A.toUpperCase()) || "?"
|
|
@@ -1212,26 +1212,26 @@ const sw = $(
|
|
|
1212
1212
|
/* @__PURE__ */ i("div", { className: `block w-full px-4 py-4 ${jA[B]} text-left ${Z ? "block" : "hidden"}`, children: C.name }),
|
|
1213
1213
|
/* @__PURE__ */ i("div", { className: `mr-2 ${Z ? "block" : "hidden"}`, children: /* @__PURE__ */ i(ew, { size: 20, color: Dg[B] }) })
|
|
1214
1214
|
] }),
|
|
1215
|
-
|
|
1215
|
+
q && /* @__PURE__ */ i(
|
|
1216
1216
|
"div",
|
|
1217
1217
|
{
|
|
1218
1218
|
ref: H,
|
|
1219
1219
|
className: `absolute right-0 ${Z ? "left-56" : "left-14"} bottom-8 mt-2 w-48 ${nA[B]} ${dg[B]} rounded-md shadow-lg ring-4 ring-black ring-opacity-5`,
|
|
1220
1220
|
role: "menu",
|
|
1221
|
-
children: g.map((
|
|
1221
|
+
children: g.map((k, b) => /* @__PURE__ */ i(
|
|
1222
1222
|
"div",
|
|
1223
1223
|
{
|
|
1224
1224
|
className: J(
|
|
1225
1225
|
"block px-4 py-2 text-sm cursor-pointer",
|
|
1226
1226
|
N[B] && `${N[B]}`,
|
|
1227
|
-
Q ===
|
|
1228
|
-
Q ===
|
|
1229
|
-
Q ===
|
|
1227
|
+
Q === k.link ? QA[B] : "",
|
|
1228
|
+
Q === k.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",
|
|
1229
|
+
Q === k.link ? "font-semibold" : "font-normal"
|
|
1230
1230
|
),
|
|
1231
|
-
onClick:
|
|
1232
|
-
Tg(
|
|
1231
|
+
onClick: k.label === "Cerrar sesion" ? a : () => {
|
|
1232
|
+
Tg(k);
|
|
1233
1233
|
},
|
|
1234
|
-
children:
|
|
1234
|
+
children: k.label
|
|
1235
1235
|
},
|
|
1236
1236
|
b
|
|
1237
1237
|
))
|
|
@@ -4012,24 +4012,24 @@ function gi(A) {
|
|
|
4012
4012
|
a === w && G.isActive && !d && K || // If we removed a higher-priority variant (i is in reverse order)
|
|
4013
4013
|
l > r && K, Y = !1;
|
|
4014
4014
|
const V = Array.isArray(y) ? y : [y];
|
|
4015
|
-
let
|
|
4016
|
-
c === !1 && (
|
|
4015
|
+
let q = V.reduce(D(a), {});
|
|
4016
|
+
c === !1 && (q = {});
|
|
4017
4017
|
const { prevResolvedValues: R = {} } = G, F = {
|
|
4018
4018
|
...R,
|
|
4019
|
-
...
|
|
4019
|
+
...q
|
|
4020
4020
|
}, S = (H) => {
|
|
4021
4021
|
U = !0, I.has(H) && (Y = !0, I.delete(H)), G.needsAnimating[H] = !0;
|
|
4022
4022
|
const AA = A.getValue(H);
|
|
4023
4023
|
AA && (AA.liveStyle = !1);
|
|
4024
4024
|
};
|
|
4025
4025
|
for (const H in F) {
|
|
4026
|
-
const AA =
|
|
4026
|
+
const AA = q[H], GA = R[H];
|
|
4027
4027
|
if (n.hasOwnProperty(H))
|
|
4028
4028
|
continue;
|
|
4029
4029
|
let fA = !1;
|
|
4030
4030
|
tB(AA) && tB(GA) ? fA = !Ue(AA, GA) : fA = AA !== GA, fA ? AA != null ? S(H) : I.add(H) : AA !== void 0 && I.has(H) ? S(H) : G.protectedKeys[H] = !0;
|
|
4031
4031
|
}
|
|
4032
|
-
G.prevProp = y, G.prevResolvedValues =
|
|
4032
|
+
G.prevProp = y, G.prevResolvedValues = q, G.isActive && (n = { ...n, ...q }), M && A.blockInitialAnimation && (U = !1), U && (!(d && Z) || Y) && o.push(...V.map((H) => ({
|
|
4033
4033
|
animation: H,
|
|
4034
4034
|
options: { type: a }
|
|
4035
4035
|
})));
|
|
@@ -6114,12 +6114,12 @@ const js = $(
|
|
|
6114
6114
|
handleOpenItem: e,
|
|
6115
6115
|
...Q
|
|
6116
6116
|
}, w) => {
|
|
6117
|
-
const C = jB(), [s, o] = z(!1), [I, n] = z(void 0), [r] = z(""), E = g.reduce((
|
|
6117
|
+
const C = jB(), [s, o] = z(!1), [I, n] = z(void 0), [r] = z(""), E = g.reduce((q, R) => (q[R.refId] = MA(null), q), {}), l = () => o(!s), [a, G] = z(!0);
|
|
6118
6118
|
j(() => {
|
|
6119
|
-
const
|
|
6119
|
+
const q = () => {
|
|
6120
6120
|
G(window.scrollY < 50);
|
|
6121
6121
|
};
|
|
6122
|
-
return window.addEventListener("scroll",
|
|
6122
|
+
return window.addEventListener("scroll", q), () => window.removeEventListener("scroll", q);
|
|
6123
6123
|
}, []), j(() => {
|
|
6124
6124
|
g.forEach((R) => {
|
|
6125
6125
|
const F = E[R.refId];
|
|
@@ -6131,8 +6131,8 @@ const js = $(
|
|
|
6131
6131
|
F.current.addEventListener("mouseenter", S);
|
|
6132
6132
|
}
|
|
6133
6133
|
});
|
|
6134
|
-
const
|
|
6135
|
-
return
|
|
6134
|
+
const q = E[r];
|
|
6135
|
+
return q != null && q.current && n(q.current.getBoundingClientRect()), () => {
|
|
6136
6136
|
g.forEach((R) => {
|
|
6137
6137
|
const F = E[R.refId];
|
|
6138
6138
|
F != null && F.current && F.current.removeEventListener("mouseenter", () => {
|
|
@@ -6140,11 +6140,11 @@ const js = $(
|
|
|
6140
6140
|
});
|
|
6141
6141
|
};
|
|
6142
6142
|
}, [r, g, E]), j(() => {
|
|
6143
|
-
const
|
|
6144
|
-
|
|
6143
|
+
const q = window.matchMedia("(min-width: 640px)"), R = () => {
|
|
6144
|
+
q.matches && s && o(!1);
|
|
6145
6145
|
};
|
|
6146
|
-
return
|
|
6147
|
-
|
|
6146
|
+
return q.addEventListener("change", R), () => {
|
|
6147
|
+
q.removeEventListener("change", R);
|
|
6148
6148
|
};
|
|
6149
6149
|
}, [s]);
|
|
6150
6150
|
const y = {
|
|
@@ -6167,14 +6167,14 @@ const js = $(
|
|
|
6167
6167
|
goatData: "text-white",
|
|
6168
6168
|
secondary: "text-[#1F2937]",
|
|
6169
6169
|
experiences: "text-white"
|
|
6170
|
-
}, U = (
|
|
6171
|
-
const R =
|
|
6170
|
+
}, U = (q) => {
|
|
6171
|
+
const R = q, F = 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."), S = `https://api.whatsapp.com/send?phone=${R}&text=${F}`;
|
|
6172
6172
|
window.open(S, "_blank");
|
|
6173
|
-
}, Y = (
|
|
6174
|
-
const R = `mailto:${
|
|
6173
|
+
}, Y = (q) => {
|
|
6174
|
+
const R = `mailto:${q}?subject=Solicitud&body=Hola, Necesito más información!`;
|
|
6175
6175
|
window.open(R);
|
|
6176
|
-
}, V = (
|
|
6177
|
-
window.open(
|
|
6176
|
+
}, V = (q) => {
|
|
6177
|
+
window.open(q, "_blank");
|
|
6178
6178
|
};
|
|
6179
6179
|
return /* @__PURE__ */ u("nav", { ref: w, ...Q, style: { zIndex: 9999, position: "fixed", top: "0px", left: "0px", right: "0px" }, className: `${y[A]} ${A === "experiences" ? "" : "bg-opacity-75"} `, children: [
|
|
6180
6180
|
A === "experiences" && a && /* @__PURE__ */ i("div", { className: "bg-[#F2AE87] text-white transition-all duration-300", children: /* @__PURE__ */ u("div", { className: `flex ${C ? "flex-col items-end" : "flex-row items-center"} justify-around gap-4 px-4 py-2 text-sm`, children: [
|
|
@@ -6243,7 +6243,7 @@ const js = $(
|
|
|
6243
6243
|
),
|
|
6244
6244
|
(!B || B.trim() === "") && /* @__PURE__ */ i("div", { className: `text-[10px] ${Z[A]} tracking-[4px]`, children: "DATA" })
|
|
6245
6245
|
] }) }),
|
|
6246
|
-
/* @__PURE__ */ i("div", { style: { display: C ? "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:
|
|
6246
|
+
/* @__PURE__ */ i("div", { style: { display: C ? "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: q, href: R, refId: F, open: S, routerApp: CA, link: iA }) => /* @__PURE__ */ i("li", { children: /* @__PURE__ */ i(
|
|
6247
6247
|
fM,
|
|
6248
6248
|
{
|
|
6249
6249
|
href: R,
|
|
@@ -6253,7 +6253,7 @@ const js = $(
|
|
|
6253
6253
|
open: S,
|
|
6254
6254
|
routerApp: CA,
|
|
6255
6255
|
handleOpen: () => {
|
|
6256
|
-
e == null || e(), o(!1);
|
|
6256
|
+
e == null || e({ label: q }), o(!1);
|
|
6257
6257
|
},
|
|
6258
6258
|
handleRouter: () => {
|
|
6259
6259
|
t.push(iA), o(!1);
|
|
@@ -6277,7 +6277,7 @@ const js = $(
|
|
|
6277
6277
|
after:duration-300
|
|
6278
6278
|
group-hover:after:w-full
|
|
6279
6279
|
`,
|
|
6280
|
-
children:
|
|
6280
|
+
children: q
|
|
6281
6281
|
}
|
|
6282
6282
|
)
|
|
6283
6283
|
}
|
|
@@ -6285,7 +6285,7 @@ const js = $(
|
|
|
6285
6285
|
] })
|
|
6286
6286
|
] })
|
|
6287
6287
|
] }),
|
|
6288
|
-
s && /* @__PURE__ */ i("div", { style: { display: A === "experiences" && C ? "flex" : "", flexDirection: "column", alignItems: "end" }, className: "space-y-1 px-2 pt-2 pb-3", children: g.map(({ label:
|
|
6288
|
+
s && /* @__PURE__ */ i("div", { style: { display: A === "experiences" && C ? "flex" : "", flexDirection: "column", alignItems: "end" }, className: "space-y-1 px-2 pt-2 pb-3", children: g.map(({ label: q, href: R, open: F, routerApp: S, link: CA }) => /* @__PURE__ */ i(
|
|
6289
6289
|
fM,
|
|
6290
6290
|
{
|
|
6291
6291
|
href: R,
|
|
@@ -6295,7 +6295,7 @@ const js = $(
|
|
|
6295
6295
|
open: F,
|
|
6296
6296
|
routerApp: S,
|
|
6297
6297
|
handleOpen: () => {
|
|
6298
|
-
e == null || e(), o(!1);
|
|
6298
|
+
e == null || e({ label: q }), o(!1);
|
|
6299
6299
|
},
|
|
6300
6300
|
handleRouter: () => {
|
|
6301
6301
|
t.push(CA), o(!1);
|
|
@@ -6318,7 +6318,7 @@ const js = $(
|
|
|
6318
6318
|
after:duration-300
|
|
6319
6319
|
group-hover:after:w-full
|
|
6320
6320
|
`,
|
|
6321
|
-
children:
|
|
6321
|
+
children: q
|
|
6322
6322
|
}
|
|
6323
6323
|
)
|
|
6324
6324
|
},
|
|
@@ -6537,7 +6537,7 @@ const Ts = $(
|
|
|
6537
6537
|
transform: `translateX(-${I * 100}%)`,
|
|
6538
6538
|
height: M
|
|
6539
6539
|
},
|
|
6540
|
-
children: A.map(({ src: Y, alt: V, href:
|
|
6540
|
+
children: A.map(({ src: Y, alt: V, href: q }, R) => /* @__PURE__ */ i("div", { id: "large-header", className: "relative w-full flex-shrink-0 large-header", children: q ? /* @__PURE__ */ i("a", { href: q, children: /* @__PURE__ */ i(
|
|
6541
6541
|
"img",
|
|
6542
6542
|
{
|
|
6543
6543
|
src: Y,
|
|
@@ -6831,14 +6831,14 @@ const Ns = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZUAAATaCAYAAAA0mz/uAA
|
|
|
6831
6831
|
secondary: "bg-zinc-800",
|
|
6832
6832
|
experiences: "bg-zinc-800"
|
|
6833
6833
|
}, G = (Y) => {
|
|
6834
|
-
const V = Y,
|
|
6834
|
+
const V = Y, q = encodeURIComponent(r), R = `https://api.whatsapp.com/send?phone=${V}&text=${q}`;
|
|
6835
6835
|
window.open(R, "_blank");
|
|
6836
6836
|
}, y = (Y) => {
|
|
6837
6837
|
const V = `mailto:${Y}?subject=Solicitud&body=${r}`;
|
|
6838
6838
|
window.open(V);
|
|
6839
6839
|
}, K = (Y) => {
|
|
6840
|
-
const
|
|
6841
|
-
window.open(
|
|
6840
|
+
const q = `https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(Y)}`;
|
|
6841
|
+
window.open(q, "_blank");
|
|
6842
6842
|
}, c = (Y) => {
|
|
6843
6843
|
const V = document.getElementById(Y.slice(1));
|
|
6844
6844
|
V && V.scrollIntoView({ behavior: "smooth" });
|