componentes-exagono 0.2.26 → 0.2.28
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/dist/index.es.js +254 -232
- package/dist/index.umd.js +30 -30
- package/package.json +5 -5
package/dist/index.es.js
CHANGED
|
@@ -14499,86 +14499,109 @@ const uE = {
|
|
|
14499
14499
|
firstWeekContainsDate: 1
|
|
14500
14500
|
}
|
|
14501
14501
|
}, BE = ({ notificacion: e, onAccept: t }) => {
|
|
14502
|
-
const {
|
|
14503
|
-
const d = u.match(/^([\wáéíóúÁÉÍÓÚñÑ]+)\s+([\wáéíóúÁÉÍÓÚñÑ]+)/);
|
|
14504
|
-
return d ? `${d[1][0]}${d[2][0]}`.toUpperCase() : "??";
|
|
14505
|
-
};
|
|
14502
|
+
const { evento: r, tipo: n, leida: o } = e, s = n === "EventoCreado" || n === "EventoModificado", i = r?.fechaInicio ? new Date(r.fechaInicio) : /* @__PURE__ */ new Date(), a = r?.fechaFin ? new Date(r.fechaFin) : null, c = r?.nombreAnfitrion || "Usuario", u = e?.mensaje || "Sin título", d = (f) => f.split(" ").map((h) => h[0]).join("").toUpperCase().substring(0, 2);
|
|
14506
14503
|
return /* @__PURE__ */ l.jsxs(L, { sx: { p: 2, mb: 1, bgcolor: "white", borderRadius: "4px", border: "1px solid #e0e0e0" }, children: [
|
|
14507
|
-
/* @__PURE__ */ l.jsxs(L, { sx: { display: "flex", alignItems: "flex-start", mb:
|
|
14504
|
+
/* @__PURE__ */ l.jsxs(L, { sx: { display: "flex", alignItems: "flex-start", mb: 1.5 }, children: [
|
|
14508
14505
|
/* @__PURE__ */ l.jsx(
|
|
14509
14506
|
Hr,
|
|
14510
14507
|
{
|
|
14511
14508
|
sx: {
|
|
14512
14509
|
bgcolor: "#F5A623",
|
|
14513
|
-
// Color naranja del diseño
|
|
14514
14510
|
width: 32,
|
|
14515
14511
|
height: 32,
|
|
14516
|
-
fontSize: "
|
|
14512
|
+
fontSize: "13px",
|
|
14517
14513
|
mr: 1.5,
|
|
14518
14514
|
fontWeight: "bold"
|
|
14519
14515
|
},
|
|
14520
|
-
children: c
|
|
14516
|
+
children: d(c)
|
|
14521
14517
|
}
|
|
14522
14518
|
),
|
|
14523
|
-
/* @__PURE__ */ l.
|
|
14524
|
-
/* @__PURE__ */ l.
|
|
14525
|
-
|
|
14526
|
-
"
|
|
14527
|
-
|
|
14528
|
-
|
|
14529
|
-
] })
|
|
14519
|
+
/* @__PURE__ */ l.jsx(L, { children: /* @__PURE__ */ l.jsxs(be, { sx: { fontSize: "13px", color: "#5f6368", lineHeight: 1.2 }, children: [
|
|
14520
|
+
/* @__PURE__ */ l.jsx("span", { style: { fontWeight: 500 }, children: c }),
|
|
14521
|
+
/* @__PURE__ */ l.jsxs("span", { children: [
|
|
14522
|
+
" ",
|
|
14523
|
+
u
|
|
14524
|
+
] })
|
|
14525
|
+
] }) })
|
|
14530
14526
|
] }),
|
|
14531
|
-
/* @__PURE__ */ l.jsx(rn, { sx: { mb: 2, opacity: 0.
|
|
14532
|
-
/* @__PURE__ */ l.jsxs(L, { sx: { display: "flex", alignItems: "center", mb: 1
|
|
14533
|
-
/* @__PURE__ */ l.jsx(QC, { sx: { fontSize:
|
|
14534
|
-
/* @__PURE__ */ l.jsx(be, { sx: { fontSize: "
|
|
14527
|
+
/* @__PURE__ */ l.jsx(rn, { sx: { mb: 2, opacity: 0.5 } }),
|
|
14528
|
+
/* @__PURE__ */ l.jsxs(L, { sx: { display: "flex", alignItems: "center", mb: 1 }, children: [
|
|
14529
|
+
/* @__PURE__ */ l.jsx(QC, { sx: { fontSize: 18, color: "#5f6368", mr: 2 } }),
|
|
14530
|
+
/* @__PURE__ */ l.jsx(be, { sx: { fontSize: "13px", color: "#3c4043" }, children: bt(i, "EEEE, dd 'de' MMMM", { locale: zE }) })
|
|
14535
14531
|
] }),
|
|
14536
|
-
/* @__PURE__ */ l.jsxs(L, { sx: { display: "flex", alignItems: "center", mb:
|
|
14537
|
-
/* @__PURE__ */ l.jsx(tE, { sx: { fontSize:
|
|
14538
|
-
/* @__PURE__ */ l.jsxs(be, { sx: { fontSize: "
|
|
14532
|
+
/* @__PURE__ */ l.jsxs(L, { sx: { display: "flex", alignItems: "center", mb: 2.5 }, children: [
|
|
14533
|
+
/* @__PURE__ */ l.jsx(tE, { sx: { fontSize: 18, color: "#5f6368", mr: 2 } }),
|
|
14534
|
+
/* @__PURE__ */ l.jsxs(be, { sx: { fontSize: "13px", color: "#3c4043" }, children: [
|
|
14539
14535
|
bt(i, "h:mm a"),
|
|
14540
14536
|
" - ",
|
|
14541
14537
|
a ? bt(a, "h:mm a") : ""
|
|
14542
14538
|
] })
|
|
14543
14539
|
] }),
|
|
14544
|
-
s && !
|
|
14545
|
-
|
|
14546
|
-
|
|
14547
|
-
{
|
|
14548
|
-
|
|
14549
|
-
|
|
14550
|
-
|
|
14551
|
-
|
|
14552
|
-
|
|
14553
|
-
|
|
14554
|
-
|
|
14555
|
-
|
|
14556
|
-
|
|
14557
|
-
|
|
14558
|
-
|
|
14559
|
-
|
|
14560
|
-
|
|
14561
|
-
|
|
14562
|
-
|
|
14563
|
-
|
|
14564
|
-
|
|
14565
|
-
|
|
14566
|
-
|
|
14567
|
-
|
|
14568
|
-
|
|
14569
|
-
|
|
14570
|
-
|
|
14571
|
-
|
|
14572
|
-
|
|
14573
|
-
|
|
14574
|
-
|
|
14575
|
-
|
|
14576
|
-
|
|
14577
|
-
|
|
14578
|
-
|
|
14579
|
-
|
|
14580
|
-
|
|
14581
|
-
|
|
14540
|
+
s && !o && /* @__PURE__ */ l.jsxs(
|
|
14541
|
+
L,
|
|
14542
|
+
{
|
|
14543
|
+
sx: {
|
|
14544
|
+
display: "flex",
|
|
14545
|
+
flexDirection: "row",
|
|
14546
|
+
flexWrap: "nowrap",
|
|
14547
|
+
// Evita que bajen a otra fila
|
|
14548
|
+
gap: 1,
|
|
14549
|
+
mt: 2,
|
|
14550
|
+
width: "100%"
|
|
14551
|
+
},
|
|
14552
|
+
children: [
|
|
14553
|
+
/* @__PURE__ */ l.jsx(
|
|
14554
|
+
Mt,
|
|
14555
|
+
{
|
|
14556
|
+
variant: "outlined",
|
|
14557
|
+
size: "small",
|
|
14558
|
+
startIcon: /* @__PURE__ */ l.jsx(r0, { sx: { fontSize: "14px !important", mr: -0.5 } }),
|
|
14559
|
+
onClick: () => t?.(e, "CONFIRMADA"),
|
|
14560
|
+
sx: {
|
|
14561
|
+
flex: 1,
|
|
14562
|
+
borderRadius: "8px",
|
|
14563
|
+
textTransform: "none",
|
|
14564
|
+
fontWeight: 700,
|
|
14565
|
+
fontSize: "11px",
|
|
14566
|
+
// Fuente un poco más pequeña para asegurar que quepa
|
|
14567
|
+
color: "#1976D2",
|
|
14568
|
+
borderColor: "#1976D2",
|
|
14569
|
+
py: 0.5,
|
|
14570
|
+
minWidth: 0,
|
|
14571
|
+
// Permite que el botón se encoja correctamente
|
|
14572
|
+
whiteSpace: "nowrap",
|
|
14573
|
+
// Estilo para que el texto no se pegue al borde
|
|
14574
|
+
"& .MuiButton-startIcon": { mx: 0.5 }
|
|
14575
|
+
},
|
|
14576
|
+
children: "Asistiré"
|
|
14577
|
+
}
|
|
14578
|
+
),
|
|
14579
|
+
/* @__PURE__ */ l.jsx(
|
|
14580
|
+
Mt,
|
|
14581
|
+
{
|
|
14582
|
+
variant: "outlined",
|
|
14583
|
+
size: "small",
|
|
14584
|
+
startIcon: /* @__PURE__ */ l.jsx(an, { sx: { fontSize: "14px !important", mr: -0.5 } }),
|
|
14585
|
+
onClick: () => t?.(e, "RECHAZADA"),
|
|
14586
|
+
sx: {
|
|
14587
|
+
flex: 1,
|
|
14588
|
+
borderRadius: "8px",
|
|
14589
|
+
textTransform: "none",
|
|
14590
|
+
fontWeight: 700,
|
|
14591
|
+
fontSize: "11px",
|
|
14592
|
+
color: "#D32F2F",
|
|
14593
|
+
borderColor: "#D32F2F",
|
|
14594
|
+
py: 0.5,
|
|
14595
|
+
minWidth: 0,
|
|
14596
|
+
whiteSpace: "nowrap",
|
|
14597
|
+
"& .MuiButton-startIcon": { mx: 0.5 }
|
|
14598
|
+
},
|
|
14599
|
+
children: "Rechazar"
|
|
14600
|
+
}
|
|
14601
|
+
)
|
|
14602
|
+
]
|
|
14603
|
+
}
|
|
14604
|
+
)
|
|
14582
14605
|
] });
|
|
14583
14606
|
}, WE = "https://qa2.crm.netcar.com.mx/hubs/invitaciones", UE = ({ userId: e, notifications: t, onAceppInvitacion: r }) => {
|
|
14584
14607
|
const [n, o] = me(t), [s, i] = me(null);
|
|
@@ -14982,9 +15005,8 @@ const nk = /* @__PURE__ */ rt(rk), zf = 46, ok = 22, sk = ({ dayNumber: e, date:
|
|
|
14982
15005
|
{
|
|
14983
15006
|
sx: {
|
|
14984
15007
|
fontSize: "10px",
|
|
14985
|
-
lineHeight: "1
|
|
15008
|
+
lineHeight: "1",
|
|
14986
15009
|
color: "#3C4043",
|
|
14987
|
-
fontWeight: 500,
|
|
14988
15010
|
pr: b ? 2 : 0,
|
|
14989
15011
|
display: "-webkit-box",
|
|
14990
15012
|
WebkitLineClamp: 2,
|
|
@@ -15018,7 +15040,7 @@ const nk = /* @__PURE__ */ rt(rk), zf = 46, ok = 22, sk = ({ dayNumber: e, date:
|
|
|
15018
15040
|
be,
|
|
15019
15041
|
{
|
|
15020
15042
|
sx: {
|
|
15021
|
-
fontSize: "
|
|
15043
|
+
fontSize: "10px",
|
|
15022
15044
|
fontWeight: "bold",
|
|
15023
15045
|
color: "#1976D2",
|
|
15024
15046
|
textAlign: "left",
|
|
@@ -18543,7 +18565,7 @@ const KA = (e, t) => {
|
|
|
18543
18565
|
]
|
|
18544
18566
|
}
|
|
18545
18567
|
// { parent: true }
|
|
18546
|
-
), e.clone = (r, n) => Ln(e, r, n), e.brand = () => e, e.register = ((r, n) => (r.add(e, n), e)), e.parse = (r, n) => XA(e, r, n, { callee: e.parse }), e.safeParse = (r, n) => JA(e, r, n), e.parseAsync = async (r, n) => QA(e, r, n, { callee: e.parseAsync }), e.safeParseAsync = async (r, n) => e5(e, r, n), e.spa = e.safeParseAsync, e.encode = (r, n) => t5(e, r, n), e.decode = (r, n) => r5(e, r, n), e.encodeAsync = async (r, n) => n5(e, r, n), e.decodeAsync = async (r, n) => o5(e, r, n), e.safeEncode = (r, n) => s5(e, r, n), e.safeDecode = (r, n) => i5(e, r, n), e.safeEncodeAsync = async (r, n) => a5(e, r, n), e.safeDecodeAsync = async (r, n) => c5(e, r, n), e.refine = (r, n) => e.check(
|
|
18568
|
+
), e.clone = (r, n) => Ln(e, r, n), e.brand = () => e, e.register = ((r, n) => (r.add(e, n), e)), e.parse = (r, n) => XA(e, r, n, { callee: e.parse }), e.safeParse = (r, n) => JA(e, r, n), e.parseAsync = async (r, n) => QA(e, r, n, { callee: e.parseAsync }), e.safeParseAsync = async (r, n) => e5(e, r, n), e.spa = e.safeParseAsync, e.encode = (r, n) => t5(e, r, n), e.decode = (r, n) => r5(e, r, n), e.encodeAsync = async (r, n) => n5(e, r, n), e.decodeAsync = async (r, n) => o5(e, r, n), e.safeEncode = (r, n) => s5(e, r, n), e.safeDecode = (r, n) => i5(e, r, n), e.safeEncodeAsync = async (r, n) => a5(e, r, n), e.safeDecodeAsync = async (r, n) => c5(e, r, n), e.refine = (r, n) => e.check(eT(r, n)), e.superRefine = (r) => e.check(tT(r)), e.overwrite = (r) => e.check(pi(r)), e.optional = () => wp(e), e.nullable = () => Sp(e), e.nullish = () => wp(Sp(e)), e.nonoptional = (r) => q5(e, r), e.array = () => $0(e), e.or = (r) => j5([e, r]), e.and = (r) => $5(e, r), e.transform = (r) => Cp(e, B5(r)), e.default = (r) => V5(e, r), e.prefault = (r) => Y5(e, r), e.catch = (r) => G5(e, r), e.pipe = (r) => Cp(e, r), e.readonly = () => Q5(e), e.describe = (r) => {
|
|
18547
18569
|
const n = e.clone();
|
|
18548
18570
|
return Oi.add(n, { description: r }), n;
|
|
18549
18571
|
}, Object.defineProperty(e, "description", {
|
|
@@ -18839,10 +18861,10 @@ function Q5(e) {
|
|
|
18839
18861
|
const J5 = /* @__PURE__ */ Z("ZodCustom", (e, t) => {
|
|
18840
18862
|
H3.init(e, t), Ut.init(e, t);
|
|
18841
18863
|
});
|
|
18842
|
-
function
|
|
18864
|
+
function eT(e, t = {}) {
|
|
18843
18865
|
return NA(J5, e, t);
|
|
18844
18866
|
}
|
|
18845
|
-
function
|
|
18867
|
+
function tT(e) {
|
|
18846
18868
|
return $A(e);
|
|
18847
18869
|
}
|
|
18848
18870
|
const Ep = /^([01][0-9]|2[0-3]):[0-5][0-9]$/, kp = (e, t) => {
|
|
@@ -18855,13 +18877,13 @@ const Ep = /^([01][0-9]|2[0-3]):[0-5][0-9]$/, kp = (e, t) => {
|
|
|
18855
18877
|
return null;
|
|
18856
18878
|
const a = parseInt(i[0], 10), c = parseInt(i[1], 10), u = new Date(n, o, s, a, c);
|
|
18857
18879
|
return isNaN(u.getTime()) || !Wr(u) ? null : u;
|
|
18858
|
-
},
|
|
18880
|
+
}, rT = F0({
|
|
18859
18881
|
UsuarioID: Ea().nullable().optional(),
|
|
18860
18882
|
disID: Ea().nullable().optional(),
|
|
18861
18883
|
EsOrganizador: Qi().default(!1),
|
|
18862
18884
|
Correo: Dr().email("Formato de correo inválido"),
|
|
18863
18885
|
StatusInvitacion: L0(["PENDIENTE", "CONFIRMADO", "DECLINADO"]).default("PENDIENTE")
|
|
18864
|
-
}),
|
|
18886
|
+
}), nT = F0({
|
|
18865
18887
|
titulo: Dr().min(1, "El campo Título es requerido.").refine(
|
|
18866
18888
|
(e) => !e.startsWith(" "),
|
|
18867
18889
|
{ message: "El título no puede empezar con un espacio en blanco" }
|
|
@@ -18881,7 +18903,7 @@ const Ep = /^([01][0-9]|2[0-3]):[0-5][0-9]$/, kp = (e, t) => {
|
|
|
18881
18903
|
{ message: "El enlace no puede contener espacios en blanco" }
|
|
18882
18904
|
),
|
|
18883
18905
|
descripcion: Dr().optional(),
|
|
18884
|
-
invitados: $0(
|
|
18906
|
+
invitados: $0(rT).optional().default([]),
|
|
18885
18907
|
color: Dr().optional(),
|
|
18886
18908
|
solID: Ea().nullable().optional(),
|
|
18887
18909
|
disID: Ea().nullable().optional()
|
|
@@ -18908,9 +18930,9 @@ const Ep = /^([01][0-9]|2[0-3]):[0-5][0-9]$/, kp = (e, t) => {
|
|
|
18908
18930
|
message: "",
|
|
18909
18931
|
path: ["horaFin"]
|
|
18910
18932
|
}
|
|
18911
|
-
), Dp = (e) => /* @__PURE__ */ G.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: "none", ...e }, /* @__PURE__ */ G.createElement("path", { fill: "#333", d: "M12 24C5.38 24 0 18.608 0 12S5.38 0 12 0s12 5.38 12 12-5.38 12-12 12" }), /* @__PURE__ */ G.createElement("path", { fill: "#fff", d: "M16.703 7.275c.52.52.541 1.345.046 1.84l-2.874 2.874 2.874 2.873c.495.496.475 1.32-.046 1.841-.52.52-1.344.54-1.84.045l-2.873-2.873-2.874 2.873c-.496.496-1.32.475-1.84-.045-.521-.521-.541-1.345-.046-1.84l2.874-2.874L7.23 9.116c-.495-.496-.475-1.32.045-1.84.521-.521 1.345-.542 1.841-.046l2.874 2.873 2.873-2.873c.496-.496 1.32-.476 1.84.045" })),
|
|
18933
|
+
), Dp = (e) => /* @__PURE__ */ G.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: "none", ...e }, /* @__PURE__ */ G.createElement("path", { fill: "#333", d: "M12 24C5.38 24 0 18.608 0 12S5.38 0 12 0s12 5.38 12 12-5.38 12-12 12" }), /* @__PURE__ */ G.createElement("path", { fill: "#fff", d: "M16.703 7.275c.52.52.541 1.345.046 1.84l-2.874 2.874 2.874 2.873c.495.496.475 1.32-.046 1.841-.52.52-1.344.54-1.84.045l-2.873-2.873-2.874 2.873c-.496.496-1.32.475-1.84-.045-.521-.521-.541-1.345-.046-1.84l2.874-2.874L7.23 9.116c-.495-.496-.475-1.32.045-1.84.521-.521 1.345-.542 1.841-.046l2.874 2.873 2.873-2.873c.496-.496 1.32-.476 1.84.045" })), oT = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20fill='none'%3e%3cg%20fill='%23404756'%20clip-path='url(%23a)'%3e%3cpath%20d='M7.288%2022.986h-.147a6.2%206.2%200%200%201-4.28-1.85c-2.404-2.404-2.478-6.24-.16-8.557L4.28%2011a1.228%201.228%200%201%201%201.739%201.739L4.44%2014.317c-1.356%201.357-1.282%203.626.16%205.068a3.82%203.82%200%200%200%202.602%201.135c.95%200%201.825-.32%202.479-.974l1.578-1.579a1.23%201.23%200%200%201%201.739%200c.48.481.48%201.258%200%201.739l-1.579%201.578c-1.097%201.098-2.552%201.69-4.13%201.69zM17.98%2012.998a1.23%201.23%200%200%201%200-1.739l1.578-1.578c.654-.654.986-1.53.974-2.466a3.78%203.78%200%200%200-1.134-2.602c-1.443-1.443-3.712-1.517-5.068-.16L12.75%206.03c-.48.48-1.258.48-1.739%200a1.23%201.23%200%200%201%200-1.739l1.579-1.578c2.318-2.319%206.153-2.245%208.558.16a6.23%206.23%200%200%201%201.85%204.279%205.84%205.84%200%200%201-1.69%204.279l-1.578%201.578c-.481.481-1.258.481-1.74%200z'/%3e%3cpath%20d='M14.172%208.11%208.07%2014.214a1.233%201.233%200%200%200%201.743%201.744l6.104-6.104a1.233%201.233%200%201%200-1.744-1.744'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h24v24H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", sT = (e) => /* @__PURE__ */ G.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: "none", ...e }, /* @__PURE__ */ G.createElement("g", { clipPath: "url(#a)" }, /* @__PURE__ */ G.createElement("path", { fill: "#404756", d: "M21.24 5.72a2.98 2.98 0 0 0-2.97-2.96l-5.19-.06c-1.06-.03-2.12.41-2.87 1.17l-7.49 7.49c-.66.66-1.03 1.54-1.03 2.47s.36 1.81 1.03 2.47l4.97 4.97a3.5 3.5 0 0 0 2.47 1.02c.89 0 1.79-.34 2.47-1.02l7.49-7.49c.76-.76 1.18-1.81 1.17-2.88l-.06-5.19zm-4.2 4.43c-.44.44-1.02.66-1.6.66a2.256 2.256 0 1 1 0-4.51 2.256 2.256 0 0 1 1.6 3.85" })), /* @__PURE__ */ G.createElement("defs", null, /* @__PURE__ */ G.createElement("clipPath", { id: "a" }, /* @__PURE__ */ G.createElement("path", { fill: "#fff", d: "M0 0h24v24H0z" })))), W0 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20fill='none'%3e%3cpath%20fill='%23E40B1C'%20d='M20.36%204.14H16c0-1.65-1.35-3-3-3h-2c-1.65%200-3%201.35-3%203H3.64c-.55%200-1%20.45-1%201s.45%201%201%201h1.04l.84%2013.91a3%203%200%200%200%202.99%202.82h6.98c1.58%200%202.9-1.24%203-2.82l.84-13.91h1.04c.55%200%201-.45%201-1s-.45-1-1-1zm-9.36-1h2c.55%200%201%20.45%201%201h-4c0-.55.45-1%201-1m-.39%2014.9c0%20.55-.45%201-1%201s-1-.45-1-1V9.99c0-.55.45-1%201-1s1%20.45%201%201zm4.78%200c0%20.55-.45%201-1%201s-1-.45-1-1V9.99c0-.55.45-1%201-1s1%20.45%201%201z'/%3e%3c/svg%3e", iT = (e) => /* @__PURE__ */ G.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: "none", ...e }, /* @__PURE__ */ G.createElement("g", { fill: "#2571D6", clipPath: "url(#a)" }, /* @__PURE__ */ G.createElement("path", { d: "M13.085 7.331a1.096 1.096 0 1 0-2.192 0v9.316a1.096 1.096 0 0 0 2.192 0z" }), /* @__PURE__ */ G.createElement("path", { d: "M16.647 10.893H7.33a1.096 1.096 0 1 0 0 2.192h9.316a1.096 1.096 0 0 0 0-2.192" }), /* @__PURE__ */ G.createElement("path", { d: "M12 24C5.38 24 0 18.608 0 12S5.38 0 12 0s12 5.38 12 12-5.38 12-12 12m0-21.808c-5.414 0-9.808 4.394-9.808 9.808S6.586 21.808 12 21.808s9.808-4.394 9.808-9.808S17.403 2.192 12 2.192" })), /* @__PURE__ */ G.createElement("defs", null, /* @__PURE__ */ G.createElement("clipPath", { id: "a" }, /* @__PURE__ */ G.createElement("path", { fill: "#fff", d: "M0 0h24v24H0z" })))), aT = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20fill='none'%3e%3cg%20fill='%23404756'%20clip-path='url(%23a)'%3e%3cpath%20d='M13.789%2017H3.21C2.542%2017%202%2017.56%202%2018.25s.542%201.25%201.211%201.25H13.79c.669%200%201.211-.56%201.211-1.25S14.458%2017%2013.789%2017M20.718%204H3.282C2.574%204%202%204.56%202%205.25S2.574%206.5%203.282%206.5h17.436C21.426%206.5%2022%205.94%2022%205.25S21.426%204%2020.718%204M20.718%2010.5H3.282C2.574%2010.5%202%2011.06%202%2011.75S2.574%2013%203.282%2013h17.436c.708%200%201.282-.56%201.282-1.25s-.574-1.25-1.282-1.25'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h24v24H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", cT = (e) => /* @__PURE__ */ G.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: "none", ...e }, /* @__PURE__ */ G.createElement("path", { fill: "#2571D6", fillRule: "evenodd", d: "M17.333 11a6.34 6.34 0 0 1 6.334 6.333 6.34 6.34 0 0 1-6.334 6.334c-3.493 0-6.333-2.846-6.333-6.334A6.343 6.343 0 0 1 17.333 11m-.005 2.37c-.437 0-.79.338-.79.754v2.412h-2.414c-.416 0-.754.355-.754.792s.338.792.754.792h2.413v2.412c0 .416.354.754.791.754s.792-.338.792-.754V18.12h2.413c.416 0 .754-.355.754-.792s-.338-.792-.754-.792H18.12v-2.412c0-.416-.355-.754-.792-.754", clipRule: "evenodd" }), /* @__PURE__ */ G.createElement("path", { fill: "#2571D6", d: "M11.12 12.297a7.97 7.97 0 0 0-1.787 5.036c0 1.763.571 3.392 1.537 4.714H3.044c-.84 0-1.523-.682-1.523-1.523 0-4.544 3.683-8.227 8.217-8.227zM10.995.139c2.925 0 5.3 2.376 5.3 5.3s-2.376 5.3-5.3 5.3v-.01a5.303 5.303 0 0 1-5.3-5.3 5.295 5.295 0 0 1 5.3-5.29" }));
|
|
18912
18934
|
var us = {}, Ap;
|
|
18913
|
-
function
|
|
18935
|
+
function lT() {
|
|
18914
18936
|
if (Ap) return us;
|
|
18915
18937
|
Ap = 1;
|
|
18916
18938
|
var e = nt();
|
|
@@ -18922,10 +18944,10 @@ function l4() {
|
|
|
18922
18944
|
d: "m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"
|
|
18923
18945
|
}), "ArrowForward"), us;
|
|
18924
18946
|
}
|
|
18925
|
-
var
|
|
18926
|
-
const Tp = /* @__PURE__ */ rt(
|
|
18947
|
+
var uT = /* @__PURE__ */ lT();
|
|
18948
|
+
const Tp = /* @__PURE__ */ rt(uT);
|
|
18927
18949
|
var ds = {}, Rp;
|
|
18928
|
-
function
|
|
18950
|
+
function dT() {
|
|
18929
18951
|
if (Rp) return ds;
|
|
18930
18952
|
Rp = 1;
|
|
18931
18953
|
var e = nt();
|
|
@@ -18937,10 +18959,10 @@ function d4() {
|
|
|
18937
18959
|
d: "M16.53 11.06 15.47 10l-4.88 4.88-2.12-2.12-1.06 1.06L10.59 17zM19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 16H5V8h14z"
|
|
18938
18960
|
}), "EventAvailable"), ds;
|
|
18939
18961
|
}
|
|
18940
|
-
var
|
|
18941
|
-
const
|
|
18962
|
+
var fT = /* @__PURE__ */ dT();
|
|
18963
|
+
const pT = /* @__PURE__ */ rt(fT);
|
|
18942
18964
|
var fs = {}, Ip;
|
|
18943
|
-
function
|
|
18965
|
+
function hT() {
|
|
18944
18966
|
if (Ip) return fs;
|
|
18945
18967
|
Ip = 1;
|
|
18946
18968
|
var e = nt();
|
|
@@ -18952,10 +18974,10 @@ function h4() {
|
|
|
18952
18974
|
d: "M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6z"
|
|
18953
18975
|
}), "KeyboardArrowRight"), fs;
|
|
18954
18976
|
}
|
|
18955
|
-
var
|
|
18956
|
-
const
|
|
18977
|
+
var mT = /* @__PURE__ */ hT();
|
|
18978
|
+
const gT = /* @__PURE__ */ rt(mT), vT = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYBAMAAAASWSDLAAAAElBMVEUAAABpbXlpbXlobXhpbnppbnkdzkEGAAAABXRSTlMAgJ5Y75poDcUAAAA3SURBVBjTYyANiBog2IyhSBzRQGQJASSJIGQJBSIkTBESCA5CGcIAoqUEGDAdiukFBhE4hzAAAK+MB7AghHQFAAAAAElFTkSuQmCC";
|
|
18957
18979
|
var ps = {}, Pp;
|
|
18958
|
-
function
|
|
18980
|
+
function yT() {
|
|
18959
18981
|
if (Pp) return ps;
|
|
18960
18982
|
Pp = 1;
|
|
18961
18983
|
var e = nt();
|
|
@@ -18967,11 +18989,11 @@ function y4() {
|
|
|
18967
18989
|
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"
|
|
18968
18990
|
}), "CheckCircle"), ps;
|
|
18969
18991
|
}
|
|
18970
|
-
var
|
|
18971
|
-
const U0 = /* @__PURE__ */ rt(
|
|
18992
|
+
var bT = /* @__PURE__ */ yT();
|
|
18993
|
+
const U0 = /* @__PURE__ */ rt(bT), _T = (e) => {
|
|
18972
18994
|
const t = ["#A17B4B", "#7B5BE4", "#F9A825", "#4A90E2", "#5CC85C", "#FDD835", "#E53935", "#B0BEC5"], r = e.charCodeAt(0) % t.length;
|
|
18973
18995
|
return t[r];
|
|
18974
|
-
},
|
|
18996
|
+
}, xT = (e, t) => {
|
|
18975
18997
|
if (t)
|
|
18976
18998
|
return /* @__PURE__ */ l.jsxs(L, { sx: { display: "flex", alignItems: "center", color: "#1976D2" }, children: [
|
|
18977
18999
|
/* @__PURE__ */ l.jsx(U0, { sx: { fontSize: 16, mr: 0.5 } }),
|
|
@@ -18991,14 +19013,14 @@ const U0 = /* @__PURE__ */ rt(b4), _4 = (e) => {
|
|
|
18991
19013
|
return null;
|
|
18992
19014
|
}
|
|
18993
19015
|
};
|
|
18994
|
-
function
|
|
19016
|
+
function wT({ open: e, handleClose: t, guests: r }) {
|
|
18995
19017
|
const n = r.filter((c) => c.estatus === "CONFIRMADA" || c.isHost), o = r.filter((c) => c.estatus === "PENDIENTE" && !c.isHost), s = r.filter((c) => c.estatus === "RECHAZADA" && !c.isHost), i = (c) => /* @__PURE__ */ l.jsxs(L, { sx: { display: "flex", alignItems: "center", py: 1 }, children: [
|
|
18996
19018
|
/* @__PURE__ */ l.jsxs(L, { sx: { position: "relative", mr: 2 }, children: [
|
|
18997
|
-
/* @__PURE__ */ l.jsx(Hr, { sx: { bgcolor:
|
|
19019
|
+
/* @__PURE__ */ l.jsx(Hr, { sx: { bgcolor: _T(c.iniciales), width: 32, height: 32, fontSize: "12px", color: "#fff" }, children: c.iniciales }),
|
|
18998
19020
|
c.estatus === "PENDIENTE" && /* @__PURE__ */ l.jsx(L, { sx: { position: "absolute", bottom: -2, right: -4, bgcolor: "#fff", borderRadius: "50%", display: "flex" }, children: /* @__PURE__ */ l.jsx(_l, { sx: { fontSize: 14, color: "#546E7A" } }) })
|
|
18999
19021
|
] }),
|
|
19000
19022
|
/* @__PURE__ */ l.jsx(be, { variant: "body2", sx: { flexGrow: 1, fontWeight: 500, color: "#333" }, children: c.nombre }),
|
|
19001
|
-
|
|
19023
|
+
xT(c.estatus, c.isHost)
|
|
19002
19024
|
] }, c.nombre), a = ({ title: c, count: u, badgeColor: d }) => /* @__PURE__ */ l.jsxs(L, { sx: { display: "flex", alignItems: "center", mt: 2, mb: 1 }, children: [
|
|
19003
19025
|
/* @__PURE__ */ l.jsx(be, { variant: "subtitle2", sx: { fontWeight: 800, color: "#333", fontSize: "13px" }, children: c }),
|
|
19004
19026
|
d && /* @__PURE__ */ l.jsx(L, { sx: { ml: 1, bgcolor: d, color: "#fff", borderRadius: "50%", width: 16, height: 16, display: "flex", alignItems: "center", justifyContent: "center", fontSize: "10px" }, children: u })
|
|
@@ -19006,7 +19028,7 @@ function w4({ open: e, handleClose: t, guests: r }) {
|
|
|
19006
19028
|
return /* @__PURE__ */ l.jsxs(jo, { open: e, onClose: t, fullWidth: !0, maxWidth: "xs", PaperProps: { sx: { border: "solid 0.1 px", height: "100%" } }, children: [
|
|
19007
19029
|
/* @__PURE__ */ l.jsxs(L, { sx: { p: "16px 8px" }, children: [
|
|
19008
19030
|
/* @__PURE__ */ l.jsx(be, { variant: "subtitle1", sx: { fontWeight: 800, ml: 1 }, children: "Lista de invitados" }),
|
|
19009
|
-
/* @__PURE__ */ l.jsx(Mt, { onClick: t, startIcon: /* @__PURE__ */ l.jsx("img", { src:
|
|
19031
|
+
/* @__PURE__ */ l.jsx(Mt, { onClick: t, startIcon: /* @__PURE__ */ l.jsx("img", { src: vT, width: 20 }), sx: { textTransform: "none", color: "#666", fontSize: "16px", p: 0, minWidth: 0, ml: 0.5, "&:hover": { bgcolor: "transparent" } }, children: "Volver al evento" }),
|
|
19010
19032
|
/* @__PURE__ */ l.jsx(Kt, { onClick: t, sx: { position: "absolute", right: 8, top: 12 }, children: /* @__PURE__ */ l.jsx(an, {}) })
|
|
19011
19033
|
] }),
|
|
19012
19034
|
/* @__PURE__ */ l.jsx(rn, {}),
|
|
@@ -19032,11 +19054,11 @@ function w4({ open: e, handleClose: t, guests: r }) {
|
|
|
19032
19054
|
] })
|
|
19033
19055
|
] });
|
|
19034
19056
|
}
|
|
19035
|
-
const
|
|
19057
|
+
const ST = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAAXNSR0IArs4c6QAAAAlwSFlzAAALEwAACxMBAJqcGAAAACpQTFRFR3BMcHCAcHBwaGx4ZWp6aG14aG54Zm14aW15aG55aG15aW55aW56aW5591zvEAAAAA10Uk5TABAQIDBBYHCAnr7g7wYb6DAAAACqSURBVHjahZJLDgMhDEM9UL7Ju/91q8KgQhcdb5D8rFiJ0JNC6Qbeczzt6izV8PWjAbiNB4uH35IkpbaRYGBpT9mcVlemtnCTOiLA8BPk+/VPIkPTR/kGalAkdUgnSNAlOegEckwS2C8wOAEWN2D4BC8HH3Xge/naYJUXaJq6Wo+S2iy7HJKW1sbHSc6B0mU7SeOIf8++CJg5nHOvypLXoF0xdwfrJTx9mzdxpgqGKfcyxQAAAABJRU5ErkJggg==", CT = (e) => {
|
|
19036
19058
|
const t = ["#8D6E63", "#9C27B0", "#FF9800", "#2196F3", "#4CAF50", "#FFEB3B", "#F44336", "#9E9E9E"], r = e.charCodeAt(0) % t.length;
|
|
19037
19059
|
return t[r];
|
|
19038
19060
|
};
|
|
19039
|
-
function
|
|
19061
|
+
function ET({ guests: e }) {
|
|
19040
19062
|
const [t, r] = me(!1), n = () => r(!0), o = () => r(!1);
|
|
19041
19063
|
return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
19042
19064
|
/* @__PURE__ */ l.jsxs(
|
|
@@ -19087,14 +19109,14 @@ function E4({ guests: e }) {
|
|
|
19087
19109
|
border: "1px solid white",
|
|
19088
19110
|
boxShadow: "none"
|
|
19089
19111
|
},
|
|
19090
|
-
children: /* @__PURE__ */ l.jsx("img", { src:
|
|
19112
|
+
children: /* @__PURE__ */ l.jsx("img", { src: ST })
|
|
19091
19113
|
}
|
|
19092
19114
|
),
|
|
19093
19115
|
children: /* @__PURE__ */ l.jsx(
|
|
19094
19116
|
Hr,
|
|
19095
19117
|
{
|
|
19096
19118
|
sx: {
|
|
19097
|
-
bgcolor:
|
|
19119
|
+
bgcolor: CT(s.iniciales)
|
|
19098
19120
|
},
|
|
19099
19121
|
children: s.iniciales
|
|
19100
19122
|
}
|
|
@@ -19128,18 +19150,18 @@ function E4({ guests: e }) {
|
|
|
19128
19150
|
children: "Ver invitados"
|
|
19129
19151
|
}
|
|
19130
19152
|
),
|
|
19131
|
-
/* @__PURE__ */ l.jsx(
|
|
19153
|
+
/* @__PURE__ */ l.jsx(gT, { sx: { fontSize: 18, ml: 0.5 } })
|
|
19132
19154
|
]
|
|
19133
19155
|
}
|
|
19134
19156
|
)
|
|
19135
19157
|
]
|
|
19136
19158
|
}
|
|
19137
19159
|
),
|
|
19138
|
-
/* @__PURE__ */ l.jsx(
|
|
19160
|
+
/* @__PURE__ */ l.jsx(wT, { open: t, handleClose: o, guests: e })
|
|
19139
19161
|
] });
|
|
19140
19162
|
}
|
|
19141
19163
|
var hs = {}, Mp;
|
|
19142
|
-
function
|
|
19164
|
+
function kT() {
|
|
19143
19165
|
if (Mp) return hs;
|
|
19144
19166
|
Mp = 1;
|
|
19145
19167
|
var e = nt();
|
|
@@ -19151,11 +19173,11 @@ function k4() {
|
|
|
19151
19173
|
d: "M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"
|
|
19152
19174
|
}), "ArrowBack"), hs;
|
|
19153
19175
|
}
|
|
19154
|
-
var
|
|
19155
|
-
const V0 = /* @__PURE__ */ rt(
|
|
19176
|
+
var DT = /* @__PURE__ */ kT();
|
|
19177
|
+
const V0 = /* @__PURE__ */ rt(DT), AT = (e) => (/* @__PURE__ */ new Date(e + "T00:00:00")).toLocaleDateString("es-ES", { day: "numeric", month: "short" }).replace(".", ""), Op = (e) => {
|
|
19156
19178
|
const [t, r] = e.split(":"), n = parseInt(t), o = n >= 12 ? "pm" : "am";
|
|
19157
19179
|
return `${n % 12 || 12}:${r} ${o}`;
|
|
19158
|
-
},
|
|
19180
|
+
}, TT = ({ slot: e, onClick: t }) => /* @__PURE__ */ l.jsxs(
|
|
19159
19181
|
L,
|
|
19160
19182
|
{
|
|
19161
19183
|
onClick: t,
|
|
@@ -19169,7 +19191,7 @@ const V0 = /* @__PURE__ */ rt(D4), A4 = (e) => (/* @__PURE__ */ new Date(e + "T0
|
|
|
19169
19191
|
"&:hover": { transform: "translateY(-3px)", boxShadow: 2 }
|
|
19170
19192
|
},
|
|
19171
19193
|
children: [
|
|
19172
|
-
/* @__PURE__ */ l.jsx(L, { sx: { bgcolor: "#333", color: "white", py: 0.2 }, children: /* @__PURE__ */ l.jsx(be, { variant: "body2", sx: { fontWeight: "bold", textTransform: "capitalize" }, children:
|
|
19194
|
+
/* @__PURE__ */ l.jsx(L, { sx: { bgcolor: "#333", color: "white", py: 0.2 }, children: /* @__PURE__ */ l.jsx(be, { variant: "body2", sx: { fontWeight: "bold", textTransform: "capitalize" }, children: AT(e.Fecha) }) }),
|
|
19173
19195
|
/* @__PURE__ */ l.jsxs(L, { sx: { bgcolor: "white", color: "black", py: 1 }, children: [
|
|
19174
19196
|
/* @__PURE__ */ l.jsx(be, { variant: "body2", children: Op(e.HoraInicio) }),
|
|
19175
19197
|
/* @__PURE__ */ l.jsxs(be, { variant: "body2", color: "text.secondary", children: [
|
|
@@ -19180,7 +19202,7 @@ const V0 = /* @__PURE__ */ rt(D4), A4 = (e) => (/* @__PURE__ */ new Date(e + "T0
|
|
|
19180
19202
|
]
|
|
19181
19203
|
}
|
|
19182
19204
|
);
|
|
19183
|
-
function
|
|
19205
|
+
function RT({ open: e, handleClose: t, suggestions: r, onSelectSlot: n }) {
|
|
19184
19206
|
const o = r.reduce((i, a) => {
|
|
19185
19207
|
const c = a.Fecha;
|
|
19186
19208
|
return i[c] || (i[c] = []), i[c].push(a), i;
|
|
@@ -19209,15 +19231,15 @@ function R4({ open: e, handleClose: t, suggestions: r, onSelectSlot: n }) {
|
|
|
19209
19231
|
]
|
|
19210
19232
|
}
|
|
19211
19233
|
),
|
|
19212
|
-
/* @__PURE__ */ l.jsx(go, { container: !0, spacing: 2, children: o[i].map((c, u) => /* @__PURE__ */ l.jsx(go, { item: !0, xs: 6, sm: 4, children: /* @__PURE__ */ l.jsx(
|
|
19234
|
+
/* @__PURE__ */ l.jsx(go, { container: !0, spacing: 2, children: o[i].map((c, u) => /* @__PURE__ */ l.jsx(go, { item: !0, xs: 6, sm: 4, children: /* @__PURE__ */ l.jsx(TT, { slot: c, onClick: () => n(c) }) }, `${i}-${u}`)) })
|
|
19213
19235
|
] }, i)) })
|
|
19214
19236
|
] });
|
|
19215
19237
|
}
|
|
19216
|
-
const
|
|
19238
|
+
const IT = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAIVBMVEVHcExAR1ZAR1NARlVAR1VARlVAR1VARlVARlRARlRAR1ZiwDFVAAAACnRSTlMA5BvHaqI5kH9QLGWfKwAAAQlJREFUeNrd1luqwzAMBNDRw7I7+1/whd4mFa6tBPrX82uJGYMJwc+JLqQ1xU2dLx23NB5EgWjPtAe2Rp4Py8tLmuddeBK/KuRQMgusvDsAwkPRKgU4J14uBIwTw4K8G/GDFncQ6L0FrxYCn1TKhIU4D4UTwZIf8Z2ThjW1/9OoG2XqvTvmiI5LxsRwTRtPTbER3eTJHOcDN8fGkNxagfAxPLChxkyaohTCxEJRU2EeBxDe21NftsrzDuiQup+nwzivn41tQECNC5ZDHrmPCpdEVx+YluaLDONB0bnVcZAUwELgJQUYCzZXMihLOr0Lh7PkmBlLbbFQEsx44fsFY8kwU2PB9Ef+Lv4AL2kmcGZOH2MAAAAASUVORK5CYII=", PT = (e) => {
|
|
19217
19239
|
const t = ["brown", "purple", "orange", "blue", "green", "yellow", "red", "grey"], r = e.charCodeAt(0) % t.length;
|
|
19218
19240
|
return t[r];
|
|
19219
19241
|
};
|
|
19220
|
-
function
|
|
19242
|
+
function MT({ onSelectGuest: e, availableSuggestions: t, onInputTextChange: r }) {
|
|
19221
19243
|
const [n, o] = me(null), [s, i] = me(""), a = (u, d) => {
|
|
19222
19244
|
d ? (e(d), o(null), i("")) : (o(null), i(""));
|
|
19223
19245
|
}, c = (u, d) => {
|
|
@@ -19244,7 +19266,7 @@ function M4({ onSelectGuest: e, availableSuggestions: t, onInputTextChange: r })
|
|
|
19244
19266
|
size: "small",
|
|
19245
19267
|
InputProps: {
|
|
19246
19268
|
...u.InputProps,
|
|
19247
|
-
startAdornment: /* @__PURE__ */ l.jsx(L, { sx: { ml: 1, display: "flex", alignItems: "center" }, children: /* @__PURE__ */ l.jsx("img", { src:
|
|
19269
|
+
startAdornment: /* @__PURE__ */ l.jsx(L, { sx: { ml: 1, display: "flex", alignItems: "center" }, children: /* @__PURE__ */ l.jsx("img", { src: IT, color: "action", width: 20 }) }),
|
|
19248
19270
|
disableUnderline: !0
|
|
19249
19271
|
}
|
|
19250
19272
|
}
|
|
@@ -19253,7 +19275,7 @@ function M4({ onSelectGuest: e, availableSuggestions: t, onInputTextChange: r })
|
|
|
19253
19275
|
Hr,
|
|
19254
19276
|
{
|
|
19255
19277
|
sx: {
|
|
19256
|
-
bgcolor:
|
|
19278
|
+
bgcolor: PT(d.iniciales),
|
|
19257
19279
|
mr: 2,
|
|
19258
19280
|
width: 32,
|
|
19259
19281
|
height: 32,
|
|
@@ -19267,7 +19289,7 @@ function M4({ onSelectGuest: e, availableSuggestions: t, onInputTextChange: r })
|
|
|
19267
19289
|
);
|
|
19268
19290
|
}
|
|
19269
19291
|
var ms = {}, jp;
|
|
19270
|
-
function
|
|
19292
|
+
function OT() {
|
|
19271
19293
|
if (jp) return ms;
|
|
19272
19294
|
jp = 1;
|
|
19273
19295
|
var e = nt();
|
|
@@ -19279,10 +19301,10 @@ function O4() {
|
|
|
19279
19301
|
d: "M16.59 7.58 10 14.17l-3.59-3.58L5 12l5 5 8-8zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"
|
|
19280
19302
|
}), "CheckCircleOutline"), ms;
|
|
19281
19303
|
}
|
|
19282
|
-
var
|
|
19283
|
-
const
|
|
19304
|
+
var jT = /* @__PURE__ */ OT();
|
|
19305
|
+
const NT = /* @__PURE__ */ rt(jT);
|
|
19284
19306
|
var gs = {}, Np;
|
|
19285
|
-
function $
|
|
19307
|
+
function $T() {
|
|
19286
19308
|
if (Np) return gs;
|
|
19287
19309
|
Np = 1;
|
|
19288
19310
|
var e = nt();
|
|
@@ -19294,30 +19316,30 @@ function $4() {
|
|
|
19294
19316
|
d: "M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"
|
|
19295
19317
|
}), "ErrorOutline"), gs;
|
|
19296
19318
|
}
|
|
19297
|
-
var
|
|
19298
|
-
const Eu = /* @__PURE__ */ rt(
|
|
19319
|
+
var FT = /* @__PURE__ */ $T();
|
|
19320
|
+
const Eu = /* @__PURE__ */ rt(FT), LT = (e) => e.tieneConflicto ? {
|
|
19299
19321
|
icon: /* @__PURE__ */ l.jsx(Eu, { sx: { fontSize: 18, color: "#d32f2f" } }),
|
|
19300
19322
|
fillColor: "#FFF5F5",
|
|
19301
19323
|
iconColor: "#d32f2f",
|
|
19302
19324
|
textColor: "#333333",
|
|
19303
19325
|
variant: "filled"
|
|
19304
19326
|
} : {
|
|
19305
|
-
icon: /* @__PURE__ */ l.jsx(
|
|
19327
|
+
icon: /* @__PURE__ */ l.jsx(NT, { sx: { fontSize: 20, color: "#1a73e8" } }),
|
|
19306
19328
|
fillColor: "#eaedf2",
|
|
19307
19329
|
iconColor: "#1a73e8",
|
|
19308
19330
|
textColor: "#000000",
|
|
19309
19331
|
variant: "filled"
|
|
19310
|
-
},
|
|
19332
|
+
}, zT = (e) => {
|
|
19311
19333
|
const t = ["#8D6E63", "#9C27B0", "#FF9800", "#2196F3", "#4CAF50", "#FDD835", "#F44336", "#9E9E9E"], r = e.charCodeAt(0) % t.length;
|
|
19312
19334
|
return t[r];
|
|
19313
19335
|
};
|
|
19314
|
-
function
|
|
19336
|
+
function BT({ guests: e, conflictCount: t, onViewSuggestions: r, onDeleteGuest: n }) {
|
|
19315
19337
|
const o = (i) => (a) => {
|
|
19316
19338
|
a.stopPropagation(), n(i);
|
|
19317
19339
|
}, s = (i) => i ? i.trim().split(/\s+/).slice(0, 2).join(" ") : "";
|
|
19318
19340
|
return /* @__PURE__ */ l.jsxs(L, { sx: { p: 1 }, children: [
|
|
19319
19341
|
/* @__PURE__ */ l.jsx(L, { sx: { display: "flex", flexWrap: "wrap", gap: 1 }, children: e.map((i, a) => {
|
|
19320
|
-
const c =
|
|
19342
|
+
const c = LT(i), u = zT(i.iniciales);
|
|
19321
19343
|
return /* @__PURE__ */ l.jsx(
|
|
19322
19344
|
vo,
|
|
19323
19345
|
{
|
|
@@ -19442,7 +19464,7 @@ function B4({ guests: e, conflictCount: t, onViewSuggestions: r, onDeleteGuest:
|
|
|
19442
19464
|
] })
|
|
19443
19465
|
] });
|
|
19444
19466
|
}
|
|
19445
|
-
function
|
|
19467
|
+
function WT(e, t) {
|
|
19446
19468
|
const [r, n] = me(e);
|
|
19447
19469
|
return xt(() => {
|
|
19448
19470
|
const o = setTimeout(() => {
|
|
@@ -19453,7 +19475,7 @@ function W4(e, t) {
|
|
|
19453
19475
|
};
|
|
19454
19476
|
}, [e, t]), r;
|
|
19455
19477
|
}
|
|
19456
|
-
const
|
|
19478
|
+
const UT = {
|
|
19457
19479
|
position: "absolute",
|
|
19458
19480
|
top: "50%",
|
|
19459
19481
|
left: "50%",
|
|
@@ -19465,7 +19487,7 @@ const U4 = {
|
|
|
19465
19487
|
borderRadius: 2,
|
|
19466
19488
|
maxHeight: "90vh",
|
|
19467
19489
|
overflowY: "auto"
|
|
19468
|
-
}, $p = ["#dbe3fe", "#fcebc7", "#d9f1d2", "#fdf5d1", "#ebe3d7", "#e1d6fb", "#f7c7cc", "#f9e7fb", "#eaedf2", "#d5d8dd"],
|
|
19490
|
+
}, $p = ["#dbe3fe", "#fcebc7", "#d9f1d2", "#fdf5d1", "#ebe3d7", "#e1d6fb", "#f7c7cc", "#f9e7fb", "#eaedf2", "#d5d8dd"], VT = () => {
|
|
19469
19491
|
const e = [];
|
|
19470
19492
|
for (let t = 0; t < 24; t++)
|
|
19471
19493
|
for (let r = 0; r < 60; r += 15) {
|
|
@@ -19473,7 +19495,7 @@ const U4 = {
|
|
|
19473
19495
|
e.push(`${n}:${o}`);
|
|
19474
19496
|
}
|
|
19475
19497
|
return e;
|
|
19476
|
-
}, Fp = [], ho =
|
|
19498
|
+
}, Fp = [], ho = VT(), vs = (e, t) => {
|
|
19477
19499
|
if (!e || !t) return null;
|
|
19478
19500
|
const r = e.split("-");
|
|
19479
19501
|
if (r.length !== 3)
|
|
@@ -19483,8 +19505,8 @@ const U4 = {
|
|
|
19483
19505
|
return null;
|
|
19484
19506
|
const a = parseInt(i[0], 10), c = parseInt(i[1], 10), u = new Date(s, o, n, a, c);
|
|
19485
19507
|
return isNaN(u.getTime()) || !Wr(u) ? null : u;
|
|
19486
|
-
},
|
|
19487
|
-
const [u, d] = me(!1), [f, h] = me(!1), g = bt(/* @__PURE__ */ new Date(), "yyyy-MM-dd"), [m, p] = me(""), [v, b] = me([]), [x, w] = me(!1), _ = n0(), [y, B] = me([]), [S, E] = me(""), [T, D] = me(Fp), [U, q] = me(!1), [z, H] = me(""), [ne, W] = me(!1), [O, ie] = me([]), [de, j] = me([]), K =
|
|
19508
|
+
}, HT = ({ isVisible: e, onClose: t, onSave: r, onDelete: n, selectedDate: o, initialEvent: s, userId: i, masNombreBD: a, disId: c }) => {
|
|
19509
|
+
const [u, d] = me(!1), [f, h] = me(!1), g = bt(/* @__PURE__ */ new Date(), "yyyy-MM-dd"), [m, p] = me(""), [v, b] = me([]), [x, w] = me(!1), _ = n0(), [y, B] = me([]), [S, E] = me(""), [T, D] = me(Fp), [U, q] = me(!1), [z, H] = me(""), [ne, W] = me(!1), [O, ie] = me([]), [de, j] = me([]), K = WT(z, 300), Ee = T.filter((Y) => Y.tieneConflicto).length, {
|
|
19488
19510
|
control: pe,
|
|
19489
19511
|
handleSubmit: Se,
|
|
19490
19512
|
reset: se,
|
|
@@ -19492,7 +19514,7 @@ const U4 = {
|
|
|
19492
19514
|
watch: ge,
|
|
19493
19515
|
setValue: ue
|
|
19494
19516
|
} = g0({
|
|
19495
|
-
resolver: BA(
|
|
19517
|
+
resolver: BA(nT),
|
|
19496
19518
|
defaultValues: {
|
|
19497
19519
|
titulo: s?.titulo || "",
|
|
19498
19520
|
fechaInicio: bt(/* @__PURE__ */ new Date(), "yyyy-MM-dd"),
|
|
@@ -19712,10 +19734,10 @@ const U4 = {
|
|
|
19712
19734
|
console.error("Error al reprogramar el evento:", le);
|
|
19713
19735
|
}
|
|
19714
19736
|
};
|
|
19715
|
-
return /* @__PURE__ */ l.jsx(l.Fragment, { children: /* @__PURE__ */ l.jsx(ih, { open: e, onClose: t, children: /* @__PURE__ */ l.jsx("form", { onSubmit: Ge, children: /* @__PURE__ */ l.jsxs(L, { sx:
|
|
19737
|
+
return /* @__PURE__ */ l.jsx(l.Fragment, { children: /* @__PURE__ */ l.jsx(ih, { open: e, onClose: t, children: /* @__PURE__ */ l.jsx("form", { onSubmit: Ge, children: /* @__PURE__ */ l.jsxs(L, { sx: UT, children: [
|
|
19716
19738
|
/* @__PURE__ */ l.jsx(Kt, { "aria-label": "close", onClick: t, sx: { position: "absolute", right: 8, top: 12 }, children: /* @__PURE__ */ l.jsx(an, {}) }),
|
|
19717
19739
|
/* @__PURE__ */ l.jsx(be, { variant: "h6", mb: 2, children: s?.isGoogleEvent || s?.isOutlookEvent ? /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
19718
|
-
/* @__PURE__ */ l.jsx(
|
|
19740
|
+
/* @__PURE__ */ l.jsx(pT, { sx: { mr: 1 } }),
|
|
19719
19741
|
s.titulo || "Evento de Google"
|
|
19720
19742
|
] }) : s ? "Editar evento" : "Agregar evento" }),
|
|
19721
19743
|
/* @__PURE__ */ l.jsx("div", { className: "row mb-2", children: /* @__PURE__ */ l.jsx("div", { className: "col-12", children: /* @__PURE__ */ l.jsx(
|
|
@@ -19866,12 +19888,12 @@ const U4 = {
|
|
|
19866
19888
|
) })
|
|
19867
19889
|
] }),
|
|
19868
19890
|
(!s?.isGoogleEvent || s?.isOutlookEvent) && !u && /* @__PURE__ */ l.jsx("div", { className: "row mb-2", children: /* @__PURE__ */ l.jsx("div", { className: "col-12", children: /* @__PURE__ */ l.jsxs(Mt, { onClick: Ke, size: "small", sx: { textTransform: "none", fontSize: 16 }, children: [
|
|
19869
|
-
/* @__PURE__ */ l.jsx(
|
|
19891
|
+
/* @__PURE__ */ l.jsx(iT, {}),
|
|
19870
19892
|
" Agregar fecha final"
|
|
19871
19893
|
] }) }) }),
|
|
19872
19894
|
(!s?.isGoogleEvent || s?.isOutlookEvent) && /* @__PURE__ */ l.jsx("div", { className: "row mb-2", children: /* @__PURE__ */ l.jsxs("div", { className: "col-12", children: [
|
|
19873
19895
|
!f && /* @__PURE__ */ l.jsxs(Mt, { onClick: () => h(!0), size: "small", sx: { textTransform: "none", fontSize: 16 }, children: [
|
|
19874
|
-
/* @__PURE__ */ l.jsx(
|
|
19896
|
+
/* @__PURE__ */ l.jsx(cT, {}),
|
|
19875
19897
|
" Vincular cliente"
|
|
19876
19898
|
] }),
|
|
19877
19899
|
f && /* @__PURE__ */ l.jsxs("div", { className: "row g-2", children: [
|
|
@@ -19981,7 +20003,7 @@ const U4 = {
|
|
|
19981
20003
|
startAdornment: /* @__PURE__ */ l.jsx(
|
|
19982
20004
|
"img",
|
|
19983
20005
|
{
|
|
19984
|
-
src:
|
|
20006
|
+
src: oT,
|
|
19985
20007
|
width: 20,
|
|
19986
20008
|
style: {
|
|
19987
20009
|
alignSelf: "flex-start",
|
|
@@ -20015,7 +20037,7 @@ const U4 = {
|
|
|
20015
20037
|
startAdornment: /* @__PURE__ */ l.jsx(
|
|
20016
20038
|
"img",
|
|
20017
20039
|
{
|
|
20018
|
-
src:
|
|
20040
|
+
src: aT,
|
|
20019
20041
|
width: 20,
|
|
20020
20042
|
style: {
|
|
20021
20043
|
alignSelf: "flex-start",
|
|
@@ -20028,10 +20050,10 @@ const U4 = {
|
|
|
20028
20050
|
)
|
|
20029
20051
|
}
|
|
20030
20052
|
) }) }),
|
|
20031
|
-
/* @__PURE__ */ l.jsx("div", { className: "row mb-2", children: /* @__PURE__ */ l.jsx("div", { className: "col-12", children: /* @__PURE__ */ l.jsx(
|
|
20032
|
-
ne && /* @__PURE__ */ l.jsx("div", { className: "row mb-2", children: /* @__PURE__ */ l.jsx("div", { className: "col-12", children: /* @__PURE__ */ l.jsx(
|
|
20033
|
-
s?.invitados && s?.invitados?.length > 0 && /* @__PURE__ */ l.jsx("div", { className: "row mb-2", children: /* @__PURE__ */ l.jsx("div", { className: "col-12", children: /* @__PURE__ */ l.jsx(L, { children: /* @__PURE__ */ l.jsx(
|
|
20034
|
-
/* @__PURE__ */ l.jsx(
|
|
20053
|
+
/* @__PURE__ */ l.jsx("div", { className: "row mb-2", children: /* @__PURE__ */ l.jsx("div", { className: "col-12", children: /* @__PURE__ */ l.jsx(MT, { onSelectGuest: Ce, availableSuggestions: de, onInputTextChange: we }) }) }),
|
|
20054
|
+
ne && /* @__PURE__ */ l.jsx("div", { className: "row mb-2", children: /* @__PURE__ */ l.jsx("div", { className: "col-12", children: /* @__PURE__ */ l.jsx(BT, { guests: T, conflictCount: Ee, onViewSuggestions: () => q(!0), onDeleteGuest: Oe }) }) }),
|
|
20055
|
+
s?.invitados && s?.invitados?.length > 0 && /* @__PURE__ */ l.jsx("div", { className: "row mb-2", children: /* @__PURE__ */ l.jsx("div", { className: "col-12", children: /* @__PURE__ */ l.jsx(L, { children: /* @__PURE__ */ l.jsx(ET, { guests: T }) }) }) }),
|
|
20056
|
+
/* @__PURE__ */ l.jsx(RT, { open: U, handleClose: M, suggestions: O, onSelectSlot: Xe }),
|
|
20035
20057
|
/* @__PURE__ */ l.jsx("div", { className: "row mb-2", children: /* @__PURE__ */ l.jsx("div", { className: "col-12", children: /* @__PURE__ */ l.jsxs(
|
|
20036
20058
|
L,
|
|
20037
20059
|
{
|
|
@@ -20042,7 +20064,7 @@ const U4 = {
|
|
|
20042
20064
|
flexWrap: "wrap"
|
|
20043
20065
|
},
|
|
20044
20066
|
children: [
|
|
20045
|
-
/* @__PURE__ */ l.jsx(
|
|
20067
|
+
/* @__PURE__ */ l.jsx(sT, {}),
|
|
20046
20068
|
$p.map((Y) => /* @__PURE__ */ l.jsx(
|
|
20047
20069
|
br,
|
|
20048
20070
|
{
|
|
@@ -20144,7 +20166,7 @@ const U4 = {
|
|
|
20144
20166
|
)
|
|
20145
20167
|
] }) })
|
|
20146
20168
|
] }) }) }) });
|
|
20147
|
-
},
|
|
20169
|
+
}, YT = {
|
|
20148
20170
|
position: "absolute",
|
|
20149
20171
|
top: "50%",
|
|
20150
20172
|
left: "50%",
|
|
@@ -20157,12 +20179,12 @@ const U4 = {
|
|
|
20157
20179
|
maxHeight: "80vh",
|
|
20158
20180
|
// Evita que el modal sea más alto que la pantalla
|
|
20159
20181
|
overflowY: "auto"
|
|
20160
|
-
},
|
|
20182
|
+
}, qT = ({ isOpen: e, onClose: t, events: r, date: n, onEventClick: o }) => {
|
|
20161
20183
|
if (!n) return null;
|
|
20162
20184
|
const s = (a) => {
|
|
20163
20185
|
o(a), t();
|
|
20164
20186
|
}, i = (a) => a.isGoogleEvent ? { label: "G", borderColor: "#4285F4" } : a.isOutlookEvent ? { label: "O", borderColor: "#0078d9" } : { label: "-", borderColor: "#CCC" };
|
|
20165
|
-
return /* @__PURE__ */ l.jsx(ih, { open: e, onClose: t, children: /* @__PURE__ */ l.jsxs(L, { sx:
|
|
20187
|
+
return /* @__PURE__ */ l.jsx(ih, { open: e, onClose: t, children: /* @__PURE__ */ l.jsxs(L, { sx: YT, children: [
|
|
20166
20188
|
/* @__PURE__ */ l.jsxs(L, { sx: { display: "flex", justifyContent: "space-between", alignItems: "center", mb: 1 }, children: [
|
|
20167
20189
|
/* @__PURE__ */ l.jsxs(be, { sx: { fontSize: "18px", fontWeight: "bold" }, component: "h2", children: [
|
|
20168
20190
|
"Eventos del",
|
|
@@ -20227,7 +20249,7 @@ const U4 = {
|
|
|
20227
20249
|
] }) });
|
|
20228
20250
|
};
|
|
20229
20251
|
var ys = {}, Lp;
|
|
20230
|
-
function
|
|
20252
|
+
function ZT() {
|
|
20231
20253
|
if (Lp) return ys;
|
|
20232
20254
|
Lp = 1;
|
|
20233
20255
|
var e = nt();
|
|
@@ -20239,10 +20261,10 @@ function Z4() {
|
|
|
20239
20261
|
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"
|
|
20240
20262
|
}), "Error"), ys;
|
|
20241
20263
|
}
|
|
20242
|
-
var
|
|
20243
|
-
const
|
|
20264
|
+
var GT = /* @__PURE__ */ ZT();
|
|
20265
|
+
const KT = /* @__PURE__ */ rt(GT);
|
|
20244
20266
|
var bs = {}, zp;
|
|
20245
|
-
function
|
|
20267
|
+
function XT() {
|
|
20246
20268
|
if (zp) return bs;
|
|
20247
20269
|
zp = 1;
|
|
20248
20270
|
var e = nt();
|
|
@@ -20254,20 +20276,20 @@ function X4() {
|
|
|
20254
20276
|
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-6h2zm0-8h-2V7h2z"
|
|
20255
20277
|
}), "Info"), bs;
|
|
20256
20278
|
}
|
|
20257
|
-
var
|
|
20258
|
-
const
|
|
20279
|
+
var QT = /* @__PURE__ */ XT();
|
|
20280
|
+
const JT = /* @__PURE__ */ rt(QT), e4 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20fill='none'%3e%3cpath%20fill='%23fff'%20d='M19.378%204.405a1.813%201.813%200%201%201%202.565%202.565L9.571%2019.342a1.813%201.813%200%200%201-2.565%200l-4.949-4.949a1.814%201.814%200%200%201%202.428-2.69l.137.126%203.666%203.666z'/%3e%3c/svg%3e", t4 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAMAAAC5zwKfAAAALVBMVEVHcEzfEBfjCxzkChvkChvkChzkCxvlChv////96uv60dT1o6ryho/mGyvkCxypwAsrAAAACHRSTlMAECtdiKDJ5DEbuTIAAAHoSURBVHjatdlbjsMgDAVQ87JJKHf/y51pf9CIp+vJ/SzSkUloAZc2cSEkFgEAYU7RO/o+zkdBF07hO9QnwSzJq4uLgmUkGDgzGTrORHrGcZLXlmcvMkKZaJxuH/YLTwB9ZCo6AUyivb4m7uuziwxDeLtezKsnwJiwfCH2x5hgDi8mbJ+0APaI6wo0Ju4KrIBqQNyqwFqufL3qYOD1O1DqqkQZeVd+567dwJ3fuUai0Cceg5Scm9h5v3lhED9fgzk3ceTlC4Ok+YxzLzbvk+lrCRjl6sTmzSuEn80Yr9yJzZs+Q6Tp72C9/4jdRwXDCJEDTsQzD3DkcSaeeQgUcSZuvAYmnIlnHhIxVqLWAxNjKSo9CAl0YsEGBFRiwSYEhdh5dvCuBrB5GlH3UvaikOw8ncjbha0UeffV04qJwplX7jMxUjjzUM9ET+7Mw6HoiOTIOxR5ehYunXe8SfndNlpwvo2G2XWidl4nYhQ3PYpczVMfRfxqoy9QHZbWx7nm9eK9OM5RnB84h8VPTqJA6G55toj5WtYX+K8lypMXH2KYkx64PD55vbVfwJ9pEZgfo70tYm/c2FtLds/eTHu23WdvSG7jk2a6zzV17aRER4oEUXDm1r0kT18lJB5o5n8sErN8JOEUtv9U/ACrTv/qOzhclQAAAABJRU5ErkJggg==", Bp = Xs(({ id: e, message: t, variant: r }, n) => {
|
|
20259
20281
|
const { closeSnackbar: o } = Ml(), s = {
|
|
20260
20282
|
success: {
|
|
20261
20283
|
color: "#fff",
|
|
20262
|
-
icon: /* @__PURE__ */ l.jsx("img", { width: 25, src:
|
|
20284
|
+
icon: /* @__PURE__ */ l.jsx("img", { width: 25, src: e4, style: { borderRadius: "50%", backgroundColor: "#4caf50", color: "white", fontSize: "12px", padding: 3 } })
|
|
20263
20285
|
},
|
|
20264
20286
|
error: {
|
|
20265
20287
|
color: "#f44336",
|
|
20266
|
-
icon: /* @__PURE__ */ l.jsx(
|
|
20288
|
+
icon: /* @__PURE__ */ l.jsx(KT, { sx: { color: "#f44336" } })
|
|
20267
20289
|
},
|
|
20268
20290
|
info: {
|
|
20269
20291
|
color: "#2196f3",
|
|
20270
|
-
icon: /* @__PURE__ */ l.jsx(
|
|
20292
|
+
icon: /* @__PURE__ */ l.jsx(JT, { sx: { color: "#2196f3" } })
|
|
20271
20293
|
},
|
|
20272
20294
|
delete: {
|
|
20273
20295
|
color: "#fff",
|
|
@@ -20275,7 +20297,7 @@ const J4 = /* @__PURE__ */ rt(Q4), eT = "data:image/svg+xml,%3csvg%20xmlns='http
|
|
|
20275
20297
|
},
|
|
20276
20298
|
rechazar: {
|
|
20277
20299
|
color: "#fff",
|
|
20278
|
-
icon: /* @__PURE__ */ l.jsx("img", { src:
|
|
20300
|
+
icon: /* @__PURE__ */ l.jsx("img", { src: t4, width: 30, style: { borderRadius: "50%", color: "red", fontSize: "16px", padding: 3 } })
|
|
20279
20301
|
}
|
|
20280
20302
|
}, i = s[r] || s.info;
|
|
20281
20303
|
return /* @__PURE__ */ l.jsx(Sg, { ref: n, children: /* @__PURE__ */ l.jsxs(
|
|
@@ -20303,16 +20325,16 @@ const J4 = /* @__PURE__ */ rt(Q4), eT = "data:image/svg+xml,%3csvg%20xmlns='http
|
|
|
20303
20325
|
}), H0 = Dl(void 0), UR = ({ children: e }) => {
|
|
20304
20326
|
const [t, r] = me([]), [n, o] = me([]), [s, i] = me(!1);
|
|
20305
20327
|
return /* @__PURE__ */ l.jsx(H0.Provider, { value: { googleEvents: t, setGoogleEvents: r, outlookEvents: n, setOutlookEvents: o, isLoadingGoogleEvents: s, setIsLoadingGoogleEvents: i }, children: e });
|
|
20306
|
-
},
|
|
20328
|
+
}, r4 = () => {
|
|
20307
20329
|
const e = ka(H0);
|
|
20308
20330
|
if (e === void 0)
|
|
20309
20331
|
throw new Error("useEvents must be used within an EventsProvider");
|
|
20310
20332
|
return e;
|
|
20311
|
-
},
|
|
20333
|
+
}, n4 = (e, t, r) => {
|
|
20312
20334
|
const n = (i, a) => a ? new Date(a) : i ? new Date(i.replace(/-/g, "/")) : /* @__PURE__ */ new Date(), o = n(e.start.date, e.start.dateTime);
|
|
20313
20335
|
let s = n(e.end.date, e.end.dateTime);
|
|
20314
20336
|
return e.end.date && !e.end.dateTime && s.setDate(s.getDate() - 1), {
|
|
20315
|
-
eventoID: Math.abs(
|
|
20337
|
+
eventoID: Math.abs(o4(e.id)),
|
|
20316
20338
|
titulo: e.summary || "(Sin título)",
|
|
20317
20339
|
descripcion: e.description,
|
|
20318
20340
|
fechaInicio: o,
|
|
@@ -20330,7 +20352,7 @@ const J4 = /* @__PURE__ */ rt(Q4), eT = "data:image/svg+xml,%3csvg%20xmlns='http
|
|
|
20330
20352
|
isGoogleEvent: !0
|
|
20331
20353
|
};
|
|
20332
20354
|
};
|
|
20333
|
-
function
|
|
20355
|
+
function o4(e) {
|
|
20334
20356
|
let t = 0;
|
|
20335
20357
|
for (let r = 0; r < e.length; r++) {
|
|
20336
20358
|
const n = e.charCodeAt(r);
|
|
@@ -20338,7 +20360,7 @@ function oT(e) {
|
|
|
20338
20360
|
}
|
|
20339
20361
|
return t;
|
|
20340
20362
|
}
|
|
20341
|
-
function
|
|
20363
|
+
function s4(e) {
|
|
20342
20364
|
let t = 0;
|
|
20343
20365
|
for (let r = 0; r < e.length; r++) {
|
|
20344
20366
|
const n = e.charCodeAt(r);
|
|
@@ -20346,11 +20368,11 @@ function sT(e) {
|
|
|
20346
20368
|
}
|
|
20347
20369
|
return t;
|
|
20348
20370
|
}
|
|
20349
|
-
const
|
|
20371
|
+
const i4 = (e, t, r) => {
|
|
20350
20372
|
const n = new Date(e.start.dateTime);
|
|
20351
20373
|
let o = new Date(e.end.dateTime);
|
|
20352
20374
|
return e.isAllDay && o.setDate(o.getDate() - 1), {
|
|
20353
|
-
eventoID: Math.abs(
|
|
20375
|
+
eventoID: Math.abs(s4(e.id)),
|
|
20354
20376
|
// Generar un ID numérico único basado en el ID original
|
|
20355
20377
|
titulo: e?.summary || "(Sin título)",
|
|
20356
20378
|
// outlookEvent.body es un objeto con contentType y content
|
|
@@ -20374,7 +20396,7 @@ const iT = (e, t, r) => {
|
|
|
20374
20396
|
isGoogleEvent: !1,
|
|
20375
20397
|
isOutlookEvent: !0
|
|
20376
20398
|
};
|
|
20377
|
-
}, Wp = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='48'%20height='49'%20fill='none'%3e%3cpath%20fill='%23E40B1C'%20d='M34.559%2048.077c-7.413%200-13.44-6.039-13.44-13.44s6.027-13.44%2013.44-13.44%2013.44%206.027%2013.44%2013.44c0%207.414-6.027%2013.44-13.44%2013.44'/%3e%3cpath%20fill='%23fff'%20d='M39.827%2029.346c.583.583.605%201.505.05%202.06l-3.218%203.219%203.219%203.218c.555.556.532%201.48-.051%202.062-.584.583-1.506.605-2.062.05l-3.218-3.218-3.218%203.218c-.556.555-1.478.533-2.061-.05s-.606-1.506-.05-2.062l3.217-3.218-3.218-3.218c-.555-.555-.533-1.478.05-2.061.583-.584%201.507-.606%202.063-.05l3.217%203.217%203.218-3.218c.556-.555%201.478-.533%202.062.05'/%3e%3cpath%20fill='%23404756'%20d='M30.367.078c1.112%200%202.001.868%202.001%201.954v1.195h.979c4.913%200%208.892%203.887%208.892%208.686v9.237a15.4%2015.4%200%200%200-4.424-1.691v-1.312H4.468V33.63c0%202.389%202%204.343%204.446%204.343H19.4a15.4%2015.4%200%200%200%201.676%204.343H8.892C3.979%2042.317%200%2038.43%200%2033.631V11.913c0-4.8%203.979-8.686%208.892-8.686h1V2.032c0-1.086.89-1.954%202.002-1.954s2%20.868%202%201.954v1.195h14.473V2.032c0-1.085.889-1.954%202-1.954'/%3e%3c/svg%3e",
|
|
20399
|
+
}, Wp = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='48'%20height='49'%20fill='none'%3e%3cpath%20fill='%23E40B1C'%20d='M34.559%2048.077c-7.413%200-13.44-6.039-13.44-13.44s6.027-13.44%2013.44-13.44%2013.44%206.027%2013.44%2013.44c0%207.414-6.027%2013.44-13.44%2013.44'/%3e%3cpath%20fill='%23fff'%20d='M39.827%2029.346c.583.583.605%201.505.05%202.06l-3.218%203.219%203.219%203.218c.555.556.532%201.48-.051%202.062-.584.583-1.506.605-2.062.05l-3.218-3.218-3.218%203.218c-.556.555-1.478.533-2.061-.05s-.606-1.506-.05-2.062l3.217-3.218-3.218-3.218c-.555-.555-.533-1.478.05-2.061.583-.584%201.507-.606%202.063-.05l3.217%203.217%203.218-3.218c.556-.555%201.478-.533%202.062.05'/%3e%3cpath%20fill='%23404756'%20d='M30.367.078c1.112%200%202.001.868%202.001%201.954v1.195h.979c4.913%200%208.892%203.887%208.892%208.686v9.237a15.4%2015.4%200%200%200-4.424-1.691v-1.312H4.468V33.63c0%202.389%202%204.343%204.446%204.343H19.4a15.4%2015.4%200%200%200%201.676%204.343H8.892C3.979%2042.317%200%2038.43%200%2033.631V11.913c0-4.8%203.979-8.686%208.892-8.686h1V2.032c0-1.086.89-1.954%202.002-1.954s2%20.868%202%201.954v1.195h14.473V2.032c0-1.085.889-1.954%202-1.954'/%3e%3c/svg%3e", a4 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20fill='none'%3e%3cpath%20fill='%23fff'%20d='M20.36%204.14H16c0-1.65-1.35-3-3-3h-2c-1.65%200-3%201.35-3%203H3.64c-.55%200-1%20.45-1%201s.45%201%201%201h1.04l.84%2013.91a3%203%200%200%200%202.99%202.82h6.98c1.58%200%202.9-1.24%203-2.82l.84-13.91h1.04c.55%200%201-.45%201-1s-.45-1-1-1zm-9.36-1h2c.55%200%201%20.45%201%201h-4c0-.55.45-1%201-1m-.39%2014.9c0%20.55-.45%201-1%201s-1-.45-1-1V9.99c0-.55.45-1%201-1s1%20.45%201%201zm4.78%200c0%20.55-.45%201-1%201s-1-.45-1-1V9.99c0-.55.45-1%201-1s1%20.45%201%201z'/%3e%3c/svg%3e", c4 = ({ open: e, onClose: t, onConfirm: r, title: n, description: o, icon: s, confirmText: i, confirmColor: a = "#d32f2f", loading: c = !1 }) => /* @__PURE__ */ l.jsxs(
|
|
20378
20400
|
jo,
|
|
20379
20401
|
{
|
|
20380
20402
|
open: e,
|
|
@@ -20418,7 +20440,7 @@ const iT = (e, t, r) => {
|
|
|
20418
20440
|
"&:hover": { bgcolor: "#b71c1c" }
|
|
20419
20441
|
},
|
|
20420
20442
|
children: [
|
|
20421
|
-
i == "Eliminar" && /* @__PURE__ */ l.jsx("img", { src:
|
|
20443
|
+
i == "Eliminar" && /* @__PURE__ */ l.jsx("img", { src: a4, width: 15, style: { marginRight: 6, marginBottom: 2 } }),
|
|
20422
20444
|
c ? "Procesando..." : i
|
|
20423
20445
|
]
|
|
20424
20446
|
}
|
|
@@ -20428,7 +20450,7 @@ const iT = (e, t, r) => {
|
|
|
20428
20450
|
]
|
|
20429
20451
|
}
|
|
20430
20452
|
), VR = ({ userId: e, leads30Days: t, leads90Days: r, disId: n, masNombreBD: o }) => {
|
|
20431
|
-
const [s, i] = me(/* @__PURE__ */ new Date()), [a, c] = me([]), [u, d] = me(!1), [f, h] = me(null), [g, m] = me(!1), [p, v] = me(null), [b, x] = me([]), { enqueueSnackbar: w } = Ml(), _ = n0(), y = su(), B = iu(), [S, E] = me(!1), [T, D] = me([]), [U, q] = me(null), { session: z, sessionoutlook: H } = Sm(), { googleEvents: ne, setGoogleEvents: W, outlookEvents: O, setOutlookEvents: ie } =
|
|
20453
|
+
const [s, i] = me(/* @__PURE__ */ new Date()), [a, c] = me([]), [u, d] = me(!1), [f, h] = me(null), [g, m] = me(!1), [p, v] = me(null), [b, x] = me([]), { enqueueSnackbar: w } = Ml(), _ = n0(), y = su(), B = iu(), [S, E] = me(!1), [T, D] = me([]), [U, q] = me(null), { session: z, sessionoutlook: H } = Sm(), { googleEvents: ne, setGoogleEvents: W, outlookEvents: O, setOutlookEvents: ie } = r4(), [de, j] = me([]), [K, Ee] = me([]), [pe, Se] = me([]), [se, Q] = me(!1), [ae, ge] = me([]), [ue, fe] = me(), Ne = (J, Pe) => {
|
|
20432
20454
|
D(J), q(Pe), E(!0);
|
|
20433
20455
|
}, P = async () => {
|
|
20434
20456
|
if (e === void 0) return;
|
|
@@ -20459,11 +20481,11 @@ const iT = (e, t, r) => {
|
|
|
20459
20481
|
if (!n || !e) return;
|
|
20460
20482
|
const J = [...a];
|
|
20461
20483
|
if (ne.length > 0 && z?.userEmail) {
|
|
20462
|
-
const Pe = ne.map((De) =>
|
|
20484
|
+
const Pe = ne.map((De) => n4(De, n, e));
|
|
20463
20485
|
J.push(...Pe);
|
|
20464
20486
|
}
|
|
20465
20487
|
if (O.length > 0 && H?.userEmail) {
|
|
20466
|
-
const Pe = O.map((De) =>
|
|
20488
|
+
const Pe = O.map((De) => i4(De, n, e));
|
|
20467
20489
|
J.push(...Pe);
|
|
20468
20490
|
}
|
|
20469
20491
|
j(J);
|
|
@@ -20648,7 +20670,7 @@ const iT = (e, t, r) => {
|
|
|
20648
20670
|
const ee = async (J, Pe) => {
|
|
20649
20671
|
await _.UpdateStatusEvento(J.evento.eventoID, e, Pe) && (await _.MarcarLeido(J.notificacionID, e), w(J?.evento?.titulo + " fue agregado a tu calendario", { variant: "success" }));
|
|
20650
20672
|
}, we = async () => {
|
|
20651
|
-
ue && _.UpdateStatusEvento(ue.evento.eventoID, e, "RECHAZADA") && (await _.MarcarLeido(ue.notificacionID, e), w("Haz rechazado la Invitación a " + ue?.evento?.titulo, {
|
|
20673
|
+
ue && _.UpdateStatusEvento(ue.evento.eventoID, e, "RECHAZADA") && (await _.MarcarLeido(ue.notificacionID, e), await _.MarcarLeido(ue.notificacionID, e), w("Haz rechazado la Invitación a " + ue?.evento?.titulo, {
|
|
20652
20674
|
content: (Pe, De) => /* @__PURE__ */ l.jsx(Bp, { id: Pe, message: String(De), variant: "rechazar" })
|
|
20653
20675
|
}), ke());
|
|
20654
20676
|
}, Xe = async (J, Pe) => {
|
|
@@ -20715,10 +20737,10 @@ const iT = (e, t, r) => {
|
|
|
20715
20737
|
mainContent: /* @__PURE__ */ l.jsx(vk, { onSeeMoreClick: Ne, currentDate: s, events: de, onDayClick: $, onEventClick: Ue })
|
|
20716
20738
|
}
|
|
20717
20739
|
),
|
|
20718
|
-
u && /* @__PURE__ */ l.jsx(
|
|
20719
|
-
/* @__PURE__ */ l.jsx(
|
|
20740
|
+
u && /* @__PURE__ */ l.jsx(HT, { isVisible: u, onClose: Ge, onSave: Ke, onDelete: _t, selectedDate: p, initialEvent: f, userId: e, masNombreBD: o, disId: n }),
|
|
20741
|
+
/* @__PURE__ */ l.jsx(qT, { isOpen: S, onClose: () => E(!1), events: T, date: U, onEventClick: Ue }),
|
|
20720
20742
|
He && /* @__PURE__ */ l.jsx(
|
|
20721
|
-
|
|
20743
|
+
c4,
|
|
20722
20744
|
{
|
|
20723
20745
|
open: !!Y,
|
|
20724
20746
|
onClose: ke,
|
|
@@ -20732,11 +20754,11 @@ const iT = (e, t, r) => {
|
|
|
20732
20754
|
}
|
|
20733
20755
|
)
|
|
20734
20756
|
] });
|
|
20735
|
-
},
|
|
20757
|
+
}, l4 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='22'%20height='22'%3e%3cpath%20fill='%23070c10'%20d='M18.575%203.172A10.829%2010.829%200%200%200%201.564%2016.284l-.028-.051L0%2021.843l5.739-1.506a10.7%2010.7%200%200%200%205.173%201.318%2010.83%2010.83%200%200%200%207.663-18.483m-7.658%2016.655a8.94%208.94%200%200%201-4.62-1.277l.041.023-.329-.194-3.405.894.908-3.321-.214-.34a8.9%208.9%200%200%201-1.376-4.782%209%209%200%201%201%209%209Zm4.935-6.736c-.27-.135-1.6-.789-1.848-.88s-.429-.135-.61.136-.7.879-.856%201.06-.316.2-.586.068a7.5%207.5%200%200%201-2.183-1.349l.007.007a8.2%208.2%200%200%201-1.483-1.842l-.02-.038c-.157-.27-.017-.417.118-.551s.271-.316.406-.473a1.9%201.9%200%200%200%20.267-.44v-.012a.5.5%200%200%200%20.05-.216.5.5%200%200%200-.074-.26c-.068-.135-.609-1.467-.834-2.009s-.444-.455-.609-.464-.338-.009-.519-.009a.99.99%200%200%200-.72.337%203.03%203.03%200%200%200-.947%202.2v.058a5.27%205.27%200%200%200%201.114%202.815v-.011a12.16%2012.16%200%200%200%204.553%204.053l.068.031a14%2014%200%200%200%201.434.539l.109.03a3.6%203.6%200%200%200%201.077.161%203.7%203.7%200%200%200%20.648-.057h-.023a2.8%202.8%200%200%200%201.819-1.274l.007-.012a2.2%202.2%200%200%200%20.19-.9%202.3%202.3%200%200%200-.034-.395v.014c-.067-.113-.248-.18-.519-.316Z'/%3e%3c/svg%3e", u4 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='25.085'%20height='18.5'%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='none'%20d='M0%200h25.085v18.5H0z'%20data-name='Rectángulo%204598'/%3e%3c/clipPath%3e%3c/defs%3e%3cg%20clip-path='url(%23a)'%20data-name='Grupo%207946'%3e%3cpath%20d='M23.12%205.809V3.226a3.2%203.2%200%200%200-.068-.656l-3.141%202.21a7.8%207.8%200%200%201%203.209%201.032'%20data-name='Trazado%2013329'/%3e%3cpath%20d='M11.847%209.791c-.1.009-.2.023-.308.023a3.78%203.78%200%200%201-2.18-.688L.067%202.58A3.2%203.2%200%200%200%200%203.227V13.98a3.23%203.23%200%200%200%203.226%203.226h9.611a7.86%207.86%200%200%201-.99-7.414'%20data-name='Trazado%2013330'/%3e%3cpath%20d='M12.478%207.369%2021.92.737A3.2%203.2%200%200%200%2019.894%200H3.226a3.2%203.2%200%200%200-2.031.74l9.4%206.628a1.64%201.64%200%200%200%201.881%200'%20data-name='Trazado%2013331'/%3e%3cpath%20d='M23.356%208.407a5.914%205.914%200%201%200%200%208.364%205.92%205.92%200%200%200%200-8.364m-1.833%204.842a.54.54%200%200%201-1.081%200v-1.164l-2.513%202.516a.54.54%200%200%201-.765-.763l2.515-2.515h-1.167a.54.54%200%201%201%200-1.081h2.471a.54.54%200%200%201%20.54.54Z'%20data-name='Trazado%2013332'/%3e%3c/g%3e%3c/svg%3e";
|
|
20736
20758
|
function Yc(e, t, r) {
|
|
20737
20759
|
return e.accessor ? e.accessor(t, r) : e.field ? t?.[e.field] : t?.[e?.key || ""];
|
|
20738
20760
|
}
|
|
20739
|
-
function
|
|
20761
|
+
function d4(e, t) {
|
|
20740
20762
|
const r = e ?? "", n = t ?? "";
|
|
20741
20763
|
return r instanceof Date && n instanceof Date ? r.getTime() - n.getTime() : typeof r == "number" && typeof n == "number" ? r - n : typeof r == "boolean" && typeof n == "boolean" ? Number(r) - Number(n) : String(r).localeCompare(String(n), void 0, {
|
|
20742
20764
|
numeric: !0,
|
|
@@ -20746,14 +20768,14 @@ function dT(e, t) {
|
|
|
20746
20768
|
function qc(e, t, r = !0) {
|
|
20747
20769
|
return typeof e == "function" ? e(t) : e ?? r;
|
|
20748
20770
|
}
|
|
20749
|
-
function
|
|
20771
|
+
function f4(e) {
|
|
20750
20772
|
return e.replace(/[^\d]/g, "");
|
|
20751
20773
|
}
|
|
20752
|
-
function
|
|
20774
|
+
function p4(e, t) {
|
|
20753
20775
|
return t;
|
|
20754
20776
|
}
|
|
20755
20777
|
var _s = {}, Up;
|
|
20756
|
-
function
|
|
20778
|
+
function h4() {
|
|
20757
20779
|
if (Up) return _s;
|
|
20758
20780
|
Up = 1;
|
|
20759
20781
|
var e = nt();
|
|
@@ -20765,10 +20787,10 @@ function hT() {
|
|
|
20765
20787
|
d: "M4.25 5.61C6.27 8.2 10 13 10 13v6c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-6s3.72-4.8 5.74-7.39c.51-.66.04-1.61-.79-1.61H5.04c-.83 0-1.3.95-.79 1.61"
|
|
20766
20788
|
}), "FilterAlt"), _s;
|
|
20767
20789
|
}
|
|
20768
|
-
var
|
|
20769
|
-
const
|
|
20790
|
+
var m4 = /* @__PURE__ */ h4();
|
|
20791
|
+
const g4 = /* @__PURE__ */ rt(m4);
|
|
20770
20792
|
var xs = {}, Vp;
|
|
20771
|
-
function
|
|
20793
|
+
function v4() {
|
|
20772
20794
|
if (Vp) return xs;
|
|
20773
20795
|
Vp = 1;
|
|
20774
20796
|
var e = nt();
|
|
@@ -20780,10 +20802,10 @@ function vT() {
|
|
|
20780
20802
|
d: "M15.5 14h-.79l-.28-.27c1.2-1.4 1.82-3.31 1.48-5.34-.47-2.78-2.79-5-5.59-5.34-4.23-.52-7.79 3.04-7.27 7.27.34 2.8 2.56 5.12 5.34 5.59 2.03.34 3.94-.28 5.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0 .41-.41.41-1.08 0-1.49zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"
|
|
20781
20803
|
}), "SearchRounded"), xs;
|
|
20782
20804
|
}
|
|
20783
|
-
var
|
|
20784
|
-
const
|
|
20805
|
+
var y4 = /* @__PURE__ */ v4();
|
|
20806
|
+
const b4 = /* @__PURE__ */ rt(y4);
|
|
20785
20807
|
var ws = {}, Hp;
|
|
20786
|
-
function
|
|
20808
|
+
function _4() {
|
|
20787
20809
|
if (Hp) return ws;
|
|
20788
20810
|
Hp = 1;
|
|
20789
20811
|
var e = nt();
|
|
@@ -20795,10 +20817,10 @@ function _T() {
|
|
|
20795
20817
|
d: "M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"
|
|
20796
20818
|
}), "KeyboardArrowDown"), ws;
|
|
20797
20819
|
}
|
|
20798
|
-
var
|
|
20799
|
-
const
|
|
20820
|
+
var x4 = /* @__PURE__ */ _4();
|
|
20821
|
+
const w4 = /* @__PURE__ */ rt(x4);
|
|
20800
20822
|
var Ss = {}, Yp;
|
|
20801
|
-
function
|
|
20823
|
+
function S4() {
|
|
20802
20824
|
if (Yp) return Ss;
|
|
20803
20825
|
Yp = 1;
|
|
20804
20826
|
var e = nt();
|
|
@@ -20810,8 +20832,8 @@ function ST() {
|
|
|
20810
20832
|
d: "M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6z"
|
|
20811
20833
|
}), "KeyboardArrowUp"), Ss;
|
|
20812
20834
|
}
|
|
20813
|
-
var
|
|
20814
|
-
const
|
|
20835
|
+
var C4 = /* @__PURE__ */ S4();
|
|
20836
|
+
const E4 = /* @__PURE__ */ rt(C4);
|
|
20815
20837
|
function qp(e) {
|
|
20816
20838
|
return e === "right" ? "end" : e === "center" ? "center" : "start";
|
|
20817
20839
|
}
|
|
@@ -20819,12 +20841,12 @@ function Zp(e) {
|
|
|
20819
20841
|
const t = e.filter((r) => !r.width).length || 1;
|
|
20820
20842
|
return e.map((r) => typeof r.width == "number" ? `${r.width}px` : typeof r.width == "string" ? r.width : `minmax(0, ${1 / t}fr)`).join(" ");
|
|
20821
20843
|
}
|
|
20822
|
-
const
|
|
20823
|
-
function
|
|
20844
|
+
const k4 = 1060, Zc = (e, t) => e.metrics.find((r) => String(r.label).toLowerCase() === t.toLowerCase())?.value ?? "";
|
|
20845
|
+
function D4({
|
|
20824
20846
|
sections: e,
|
|
20825
20847
|
detailColumns: t,
|
|
20826
20848
|
summaryWidths: r = ["1fr", 120, 120, 150],
|
|
20827
|
-
minWidth: n =
|
|
20849
|
+
minWidth: n = k4,
|
|
20828
20850
|
getDetailColumns: o,
|
|
20829
20851
|
onRowClick: s
|
|
20830
20852
|
}) {
|
|
@@ -20896,7 +20918,7 @@ function DT({
|
|
|
20896
20918
|
minWidth: 0
|
|
20897
20919
|
},
|
|
20898
20920
|
children: [
|
|
20899
|
-
/* @__PURE__ */ l.jsx(Kt, { size: "small", disableRipple: !0, children: h ? /* @__PURE__ */ l.jsx(
|
|
20921
|
+
/* @__PURE__ */ l.jsx(Kt, { size: "small", disableRipple: !0, children: h ? /* @__PURE__ */ l.jsx(E4, {}) : /* @__PURE__ */ l.jsx(w4, {}) }),
|
|
20900
20922
|
/* @__PURE__ */ l.jsx(
|
|
20901
20923
|
be,
|
|
20902
20924
|
{
|
|
@@ -21028,7 +21050,7 @@ function DT({
|
|
|
21028
21050
|
);
|
|
21029
21051
|
}
|
|
21030
21052
|
var Cs = {}, Gp;
|
|
21031
|
-
function
|
|
21053
|
+
function A4() {
|
|
21032
21054
|
if (Gp) return Cs;
|
|
21033
21055
|
Gp = 1;
|
|
21034
21056
|
var e = nt();
|
|
@@ -21040,20 +21062,20 @@ function AT() {
|
|
|
21040
21062
|
d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2m3.3 14.71L11 12.41V7h2v4.59l3.71 3.71z"
|
|
21041
21063
|
}), "AccessTimeFilled"), Cs;
|
|
21042
21064
|
}
|
|
21043
|
-
var
|
|
21044
|
-
const
|
|
21065
|
+
var T4 = /* @__PURE__ */ A4();
|
|
21066
|
+
const R4 = /* @__PURE__ */ rt(T4), I4 = (e) => e ? new Date(e).toLocaleDateString("es-MX", {
|
|
21045
21067
|
day: "2-digit",
|
|
21046
21068
|
month: "short",
|
|
21047
21069
|
year: "numeric"
|
|
21048
|
-
}).replace(".", "") : "",
|
|
21070
|
+
}).replace(".", "") : "", P4 = (e) => {
|
|
21049
21071
|
const t = `${e?.Nombre ?? ""} ${e?.Apellido ?? ""}`.trim();
|
|
21050
21072
|
return t || (e?.IdAsesor ? e?.Correo ?? "Usuario" : "Sin asesor asignado");
|
|
21051
|
-
},
|
|
21073
|
+
}, M4 = (e) => {
|
|
21052
21074
|
const t = (e || "").split(" ").filter(Boolean);
|
|
21053
21075
|
return t.length >= 2 ? (t[0][0] + t[1][0]).toUpperCase() : (e?.[0] ?? "?").toUpperCase();
|
|
21054
21076
|
};
|
|
21055
21077
|
var Es = {}, Kp;
|
|
21056
|
-
function
|
|
21078
|
+
function O4() {
|
|
21057
21079
|
if (Kp) return Es;
|
|
21058
21080
|
Kp = 1;
|
|
21059
21081
|
var e = nt();
|
|
@@ -21065,8 +21087,8 @@ function OT() {
|
|
|
21065
21087
|
d: "M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"
|
|
21066
21088
|
}), "Create"), Es;
|
|
21067
21089
|
}
|
|
21068
|
-
var
|
|
21069
|
-
const
|
|
21090
|
+
var j4 = /* @__PURE__ */ O4();
|
|
21091
|
+
const N4 = /* @__PURE__ */ rt(j4), Gc = ({
|
|
21070
21092
|
current: e = 0,
|
|
21071
21093
|
total: t = 0,
|
|
21072
21094
|
color: r = "#4caf50"
|
|
@@ -21098,7 +21120,7 @@ const NT = /* @__PURE__ */ rt(jT), Gc = ({
|
|
|
21098
21120
|
}
|
|
21099
21121
|
);
|
|
21100
21122
|
var ks = {}, Xp;
|
|
21101
|
-
function $
|
|
21123
|
+
function $4() {
|
|
21102
21124
|
if (Xp) return ks;
|
|
21103
21125
|
Xp = 1;
|
|
21104
21126
|
var e = nt();
|
|
@@ -21110,11 +21132,11 @@ function $T() {
|
|
|
21110
21132
|
d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"
|
|
21111
21133
|
}), "Add"), ks;
|
|
21112
21134
|
}
|
|
21113
|
-
var
|
|
21114
|
-
const Y0 = /* @__PURE__ */ rt(
|
|
21135
|
+
var F4 = /* @__PURE__ */ $4();
|
|
21136
|
+
const Y0 = /* @__PURE__ */ rt(F4), L4 = (e) => {
|
|
21115
21137
|
const t = String(e ?? "").toLowerCase().trim();
|
|
21116
21138
|
return t === "muy interesado" ? { bg: "#E53935", color: "#FFFFFF" } : t === "interesado" ? { bg: "#FB8C00", color: "#FFFFFF" } : t === "venta definitiva" ? { bg: "#2E7D32", color: "#FFFFFF" } : t === "no sé" || t === "no se" ? { bg: "#9E9E9E", color: "#FFFFFF" } : t === "algo interesado" ? { bg: "#FFEB3B", color: "#000000" } : { bg: "transparent", color: "#2c2c2c" };
|
|
21117
|
-
},
|
|
21139
|
+
}, z4 = (e) => {
|
|
21118
21140
|
switch (parseInt(String(e ?? ""), 10)) {
|
|
21119
21141
|
case 1:
|
|
21120
21142
|
return "Por Asignar";
|
|
@@ -21157,7 +21179,7 @@ const Y0 = /* @__PURE__ */ rt(FT), LT = (e) => {
|
|
|
21157
21179
|
default:
|
|
21158
21180
|
return null;
|
|
21159
21181
|
}
|
|
21160
|
-
},
|
|
21182
|
+
}, B4 = (e) => {
|
|
21161
21183
|
switch (parseInt(String(e ?? ""), 10)) {
|
|
21162
21184
|
case 1:
|
|
21163
21185
|
return "Por asignar";
|
|
@@ -21174,7 +21196,7 @@ const Y0 = /* @__PURE__ */ rt(FT), LT = (e) => {
|
|
|
21174
21196
|
default:
|
|
21175
21197
|
return null;
|
|
21176
21198
|
}
|
|
21177
|
-
},
|
|
21199
|
+
}, W4 = (e) => {
|
|
21178
21200
|
switch (parseInt(String(e ?? ""), 10)) {
|
|
21179
21201
|
case 0:
|
|
21180
21202
|
return "Sin asignar";
|
|
@@ -21204,7 +21226,7 @@ const Y0 = /* @__PURE__ */ rt(FT), LT = (e) => {
|
|
|
21204
21226
|
return null;
|
|
21205
21227
|
}
|
|
21206
21228
|
};
|
|
21207
|
-
function
|
|
21229
|
+
function U4(e) {
|
|
21208
21230
|
const t = new Date(e), r = t.toLocaleDateString("es-MX", {
|
|
21209
21231
|
day: "2-digit",
|
|
21210
21232
|
month: "short",
|
|
@@ -21215,13 +21237,13 @@ function UT(e) {
|
|
|
21215
21237
|
});
|
|
21216
21238
|
return `${r.replace(".", "")} • ${n}`;
|
|
21217
21239
|
}
|
|
21218
|
-
function
|
|
21240
|
+
function V4(e) {
|
|
21219
21241
|
return e.replace(/<br\s*\/?>/gi, `
|
|
21220
21242
|
`).replace(/\r\n/g, `
|
|
21221
21243
|
`).replace(/\r/g, `
|
|
21222
21244
|
`);
|
|
21223
21245
|
}
|
|
21224
|
-
const
|
|
21246
|
+
const H4 = {
|
|
21225
21247
|
Todos: [],
|
|
21226
21248
|
"Sin Asignar": ["Sin Asignar"],
|
|
21227
21249
|
// ajusta si el backend manda otro texto
|
|
@@ -21242,7 +21264,7 @@ const HT = {
|
|
|
21242
21264
|
"Sin Atender"
|
|
21243
21265
|
//Me cambia Sin Atender Asignada
|
|
21244
21266
|
]
|
|
21245
|
-
},
|
|
21267
|
+
}, Y4 = {
|
|
21246
21268
|
Todos: [],
|
|
21247
21269
|
"Selección y presentación de vehículos": [
|
|
21248
21270
|
"Selección y presentación de vehículos"
|
|
@@ -21253,7 +21275,7 @@ const HT = {
|
|
|
21253
21275
|
],
|
|
21254
21276
|
"Entrega de vehículo": ["Entrega de vehículo"],
|
|
21255
21277
|
"Negociación y Cierre": ["Negociación y Cierre"]
|
|
21256
|
-
},
|
|
21278
|
+
}, q4 = {
|
|
21257
21279
|
Todos: [],
|
|
21258
21280
|
"Algo interesado": ["Algo interesado"],
|
|
21259
21281
|
Interesado: ["Interesado"],
|
|
@@ -21261,21 +21283,21 @@ const HT = {
|
|
|
21261
21283
|
"Venta definitiva": ["Venta definitiva"],
|
|
21262
21284
|
"No sé": ["No sé"]
|
|
21263
21285
|
};
|
|
21264
|
-
function
|
|
21286
|
+
function Z4(e, t) {
|
|
21265
21287
|
switch (e) {
|
|
21266
21288
|
case "pruebas":
|
|
21267
|
-
return
|
|
21289
|
+
return B4(t) ?? "—";
|
|
21268
21290
|
case "servicio":
|
|
21269
|
-
return
|
|
21291
|
+
return W4(t) ?? "—";
|
|
21270
21292
|
case "nuevos":
|
|
21271
21293
|
// tipoSOL === 'COT'
|
|
21272
21294
|
case "seminuevos":
|
|
21273
21295
|
// tipoSOL === 'SEMI'
|
|
21274
21296
|
default:
|
|
21275
|
-
return
|
|
21297
|
+
return z4(t) ?? "—";
|
|
21276
21298
|
}
|
|
21277
21299
|
}
|
|
21278
|
-
function
|
|
21300
|
+
function G4({
|
|
21279
21301
|
open: e,
|
|
21280
21302
|
onClose: t,
|
|
21281
21303
|
customer: r,
|
|
@@ -21436,14 +21458,14 @@ function GT({
|
|
|
21436
21458
|
{
|
|
21437
21459
|
key: "estatus",
|
|
21438
21460
|
header: "Estatus",
|
|
21439
|
-
accessor: (X) => /* @__PURE__ */ l.jsx(be, { sx: { fontWeight: 800, fontSize: 13 }, children:
|
|
21461
|
+
accessor: (X) => /* @__PURE__ */ l.jsx(be, { sx: { fontWeight: 800, fontSize: 13 }, children: Z4(N, X.IdEstatus) }),
|
|
21440
21462
|
width: 170
|
|
21441
21463
|
},
|
|
21442
21464
|
{
|
|
21443
21465
|
key: "nivel",
|
|
21444
21466
|
header: "Nivel de Interés",
|
|
21445
21467
|
accessor: (X) => {
|
|
21446
|
-
const { bg: _e, color: Ie } =
|
|
21468
|
+
const { bg: _e, color: Ie } = L4(X.NivelInteres);
|
|
21447
21469
|
return /* @__PURE__ */ l.jsx(
|
|
21448
21470
|
L,
|
|
21449
21471
|
{
|
|
@@ -21631,15 +21653,15 @@ function GT({
|
|
|
21631
21653
|
}
|
|
21632
21654
|
if (J !== "Todos") {
|
|
21633
21655
|
const Et = (_e.EstatusDescripcion ?? "").toLowerCase();
|
|
21634
|
-
if (!(
|
|
21656
|
+
if (!(H4[J] ?? []).some((Bn) => Et === Bn.toLowerCase())) return !1;
|
|
21635
21657
|
}
|
|
21636
21658
|
if (De !== "Todos") {
|
|
21637
21659
|
const Et = (_e.Actividad ?? "").toLowerCase();
|
|
21638
|
-
if (!(
|
|
21660
|
+
if (!(Y4[De] ?? []).some((Bn) => Et === Bn.toLowerCase())) return !1;
|
|
21639
21661
|
}
|
|
21640
21662
|
if (Jt !== "Todos") {
|
|
21641
21663
|
const Et = (_e.NivelInteres ?? "").toLowerCase();
|
|
21642
|
-
if (!(
|
|
21664
|
+
if (!(q4[Jt] ?? []).some(
|
|
21643
21665
|
(Bn) => Et === Bn.toLowerCase()
|
|
21644
21666
|
)) return !1;
|
|
21645
21667
|
}
|
|
@@ -21793,7 +21815,7 @@ function GT({
|
|
|
21793
21815
|
"&:focus-visible": { outline: "none" }
|
|
21794
21816
|
},
|
|
21795
21817
|
"aria-label": "Editar nombre",
|
|
21796
|
-
children: /* @__PURE__ */ l.jsx(
|
|
21818
|
+
children: /* @__PURE__ */ l.jsx(N4, { sx: { fontSize: "1em" } })
|
|
21797
21819
|
}
|
|
21798
21820
|
)
|
|
21799
21821
|
]
|
|
@@ -21877,7 +21899,7 @@ function GT({
|
|
|
21877
21899
|
sx: { ml: 0.5 },
|
|
21878
21900
|
disableRipple: !0,
|
|
21879
21901
|
children: /* @__PURE__ */ l.jsx(
|
|
21880
|
-
|
|
21902
|
+
R4,
|
|
21881
21903
|
{
|
|
21882
21904
|
fontSize: "small",
|
|
21883
21905
|
sx: { color: "#5C6372" }
|
|
@@ -21920,7 +21942,7 @@ function GT({
|
|
|
21920
21942
|
Ne.length === 0 && /* @__PURE__ */ l.jsx(be, { variant: "body2", color: "text.secondary", children: "Sin actividad registrada." }),
|
|
21921
21943
|
/* @__PURE__ */ l.jsxs(L, { children: [
|
|
21922
21944
|
Ne?.map((N, X) => {
|
|
21923
|
-
const _e = pe(N), Ie =
|
|
21945
|
+
const _e = pe(N), Ie = V4(N.comentario || "");
|
|
21924
21946
|
return /* @__PURE__ */ l.jsxs(L, { sx: { pb: 1.5 }, children: [
|
|
21925
21947
|
/* @__PURE__ */ l.jsxs(
|
|
21926
21948
|
jr,
|
|
@@ -21985,7 +22007,7 @@ function GT({
|
|
|
21985
22007
|
),
|
|
21986
22008
|
/* @__PURE__ */ l.jsxs(jr, { spacing: 0, children: [
|
|
21987
22009
|
/* @__PURE__ */ l.jsx(be, { variant: "body2", fontWeight: 600, children: _e }),
|
|
21988
|
-
/* @__PURE__ */ l.jsx(be, { variant: "caption", color: "text.secondary", children:
|
|
22010
|
+
/* @__PURE__ */ l.jsx(be, { variant: "caption", color: "text.secondary", children: U4(N.fecAlta) })
|
|
21989
22011
|
] })
|
|
21990
22012
|
] }),
|
|
21991
22013
|
X < Ne.length - 1 && /* @__PURE__ */ l.jsx(rn, { sx: { mt: 1.25 } })
|
|
@@ -22054,7 +22076,7 @@ function GT({
|
|
|
22054
22076
|
/* @__PURE__ */ l.jsxs(L, { sx: { overflowY: "auto", py: 0.5, maxHeight: 200 }, children: [
|
|
22055
22077
|
de.length === 0 && /* @__PURE__ */ l.jsx(L, { sx: { px: 1.5, py: 1 }, children: /* @__PURE__ */ l.jsx(be, { variant: "body2", color: "text.secondary", children: "Sin registros" }) }),
|
|
22056
22078
|
de.map((N, X) => {
|
|
22057
|
-
const _e =
|
|
22079
|
+
const _e = P4(N), Ie = I4(
|
|
22058
22080
|
N.FechaBaja ?? N.FechaAsignacion
|
|
22059
22081
|
);
|
|
22060
22082
|
return /* @__PURE__ */ l.jsx(L, { sx: { px: 1, py: 0.75 }, children: /* @__PURE__ */ l.jsxs(jr, { direction: "row", alignItems: "center", spacing: 1, children: [
|
|
@@ -22069,7 +22091,7 @@ function GT({
|
|
|
22069
22091
|
fontSize: 14
|
|
22070
22092
|
},
|
|
22071
22093
|
src: N?.ImgAsesor ?? void 0,
|
|
22072
|
-
children:
|
|
22094
|
+
children: M4(_e)
|
|
22073
22095
|
}
|
|
22074
22096
|
),
|
|
22075
22097
|
/* @__PURE__ */ l.jsx(L, { sx: { flex: 1, minWidth: 0 }, children: /* @__PURE__ */ l.jsx(be, { variant: "body2", noWrap: !0, children: _e }) }),
|
|
@@ -22197,7 +22219,7 @@ function GT({
|
|
|
22197
22219
|
onChange: (N) => oe(N.target.value),
|
|
22198
22220
|
InputProps: {
|
|
22199
22221
|
endAdornment: /* @__PURE__ */ l.jsx(
|
|
22200
|
-
|
|
22222
|
+
b4,
|
|
22201
22223
|
{
|
|
22202
22224
|
fontSize: "small",
|
|
22203
22225
|
sx: { color: "#b6afaf" }
|
|
@@ -22321,7 +22343,7 @@ function GT({
|
|
|
22321
22343
|
height: 40,
|
|
22322
22344
|
mt: 2
|
|
22323
22345
|
},
|
|
22324
|
-
children: /* @__PURE__ */ l.jsx(
|
|
22346
|
+
children: /* @__PURE__ */ l.jsx(g4, {})
|
|
22325
22347
|
}
|
|
22326
22348
|
),
|
|
22327
22349
|
Er && /* @__PURE__ */ l.jsx(
|
|
@@ -22387,7 +22409,7 @@ function GT({
|
|
|
22387
22409
|
}
|
|
22388
22410
|
),
|
|
22389
22411
|
/* @__PURE__ */ l.jsx(
|
|
22390
|
-
|
|
22412
|
+
D4,
|
|
22391
22413
|
{
|
|
22392
22414
|
sections: Je,
|
|
22393
22415
|
detailColumns: [],
|
|
@@ -22587,9 +22609,9 @@ function GT({
|
|
|
22587
22609
|
}
|
|
22588
22610
|
);
|
|
22589
22611
|
}
|
|
22590
|
-
const
|
|
22591
|
-
tableClientes:
|
|
22592
|
-
tableResponsive:
|
|
22612
|
+
const K4 = "_tableClientes_acwe7_1", X4 = "_tableResponsive_acwe7_1", Qp = {
|
|
22613
|
+
tableClientes: K4,
|
|
22614
|
+
tableResponsive: X4
|
|
22593
22615
|
};
|
|
22594
22616
|
function Jp(e, t, r) {
|
|
22595
22617
|
const {
|
|
@@ -22639,7 +22661,7 @@ function Jp(e, t, r) {
|
|
|
22639
22661
|
if (de.stopPropagation(), f.onWhatsApp)
|
|
22640
22662
|
return f.onWhatsApp(D);
|
|
22641
22663
|
if (!H) return;
|
|
22642
|
-
const j = h.countryCode ?? "52", K =
|
|
22664
|
+
const j = h.countryCode ?? "52", K = f4(String(H));
|
|
22643
22665
|
typeof window < "u" && window.open(`https://wa.me/${j}${K}`, "_blank");
|
|
22644
22666
|
}, O = (de) => {
|
|
22645
22667
|
if (de.stopPropagation(), f.onEmail)
|
|
@@ -22657,7 +22679,7 @@ function Jp(e, t, r) {
|
|
|
22657
22679
|
title: p.whatsapp ?? "WhatsApp",
|
|
22658
22680
|
onClick: W,
|
|
22659
22681
|
style: { width: 24, height: 24 },
|
|
22660
|
-
children: /* @__PURE__ */ l.jsx("img", { src:
|
|
22682
|
+
children: /* @__PURE__ */ l.jsx("img", { src: l4, alt: "WhatsApp" })
|
|
22661
22683
|
}
|
|
22662
22684
|
),
|
|
22663
22685
|
q && /* @__PURE__ */ l.jsx(
|
|
@@ -22668,7 +22690,7 @@ function Jp(e, t, r) {
|
|
|
22668
22690
|
title: p.email ?? "Email",
|
|
22669
22691
|
onClick: O,
|
|
22670
22692
|
style: { width: 24, height: 24 },
|
|
22671
|
-
children: /* @__PURE__ */ l.jsx("img", { src:
|
|
22693
|
+
children: /* @__PURE__ */ l.jsx("img", { src: u4, alt: "Email" })
|
|
22672
22694
|
}
|
|
22673
22695
|
),
|
|
22674
22696
|
z && /* @__PURE__ */ l.jsx(
|
|
@@ -22713,7 +22735,7 @@ function HR(e) {
|
|
|
22713
22735
|
urlsQA: o = !0,
|
|
22714
22736
|
defaultSort: s,
|
|
22715
22737
|
minWidth: i = 1100,
|
|
22716
|
-
rowKey: a =
|
|
22738
|
+
rowKey: a = p4,
|
|
22717
22739
|
haveOpenDetailFor: c = !0,
|
|
22718
22740
|
defaults: u,
|
|
22719
22741
|
detailConfig: d,
|
|
@@ -22756,7 +22778,7 @@ function HR(e) {
|
|
|
22756
22778
|
if (!se) return t;
|
|
22757
22779
|
const Q = [...t];
|
|
22758
22780
|
return Q.sort((ae, ge) => {
|
|
22759
|
-
const ue = Yc(se, ae, 0), fe = Yc(se, ge, 0), Ne =
|
|
22781
|
+
const ue = Yc(se, ae, 0), fe = Yc(se, ge, 0), Ne = d4(ue, fe);
|
|
22760
22782
|
return z.direction === "asc" ? Ne : -Ne;
|
|
22761
22783
|
}), Q;
|
|
22762
22784
|
}, [t, Ee, z, n]), Se = ct(() => {
|
|
@@ -22832,7 +22854,7 @@ function HR(e) {
|
|
|
22832
22854
|
}
|
|
22833
22855
|
),
|
|
22834
22856
|
ne.open && /* @__PURE__ */ l.jsx(
|
|
22835
|
-
|
|
22857
|
+
G4,
|
|
22836
22858
|
{
|
|
22837
22859
|
open: ne.open,
|
|
22838
22860
|
onClose: K,
|
|
@@ -22883,7 +22905,7 @@ const q0 = G.forwardRef(
|
|
|
22883
22905
|
)
|
|
22884
22906
|
);
|
|
22885
22907
|
q0.displayName = "SoftInput";
|
|
22886
|
-
function
|
|
22908
|
+
function Q4({ message: e }) {
|
|
22887
22909
|
return e ? /* @__PURE__ */ l.jsxs(
|
|
22888
22910
|
L,
|
|
22889
22911
|
{
|
|
@@ -22912,12 +22934,12 @@ function QT({ message: e }) {
|
|
|
22912
22934
|
}
|
|
22913
22935
|
) : null;
|
|
22914
22936
|
}
|
|
22915
|
-
function
|
|
22937
|
+
function J4(e) {
|
|
22916
22938
|
if (e.required)
|
|
22917
22939
|
return e.required === !0 ? "El campo es obligatorio." : e.required;
|
|
22918
22940
|
}
|
|
22919
22941
|
function ku(e, t) {
|
|
22920
|
-
const r =
|
|
22942
|
+
const r = J4(e);
|
|
22921
22943
|
return r ? t?.isArray ? {
|
|
22922
22944
|
required: r,
|
|
22923
22945
|
validate: (n) => Array.isArray(n) && n.length > 0 || r
|
|
@@ -22957,7 +22979,7 @@ function Du({
|
|
|
22957
22979
|
return /* @__PURE__ */ l.jsxs(lh, { fullWidth: !0, error: !!t, sx: o, className: "1- FieldWrapper", children: [
|
|
22958
22980
|
/* @__PURE__ */ l.jsx(ng, { sx: eR, children: e }),
|
|
22959
22981
|
n,
|
|
22960
|
-
/* @__PURE__ */ l.jsx(
|
|
22982
|
+
/* @__PURE__ */ l.jsx(Q4, { message: t || r })
|
|
22961
22983
|
] });
|
|
22962
22984
|
}
|
|
22963
22985
|
function tR(e, t) {
|