componentes-exagono 0.2.27 → 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 CHANGED
@@ -14499,86 +14499,109 @@ const uE = {
14499
14499
  firstWeekContainsDate: 1
14500
14500
  }
14501
14501
  }, BE = ({ notificacion: e, onAccept: t }) => {
14502
- const { mensaje: r, evento: n, tipo: o } = e, s = o === "EventoCreado" || o === "EventoModificado", i = n?.fechaInicio ? new Date(n.fechaInicio) : /* @__PURE__ */ new Date(), a = n?.fechaFin ? new Date(n.fechaFin) : null, c = (u) => {
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: 2 }, children: [
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: "14px",
14512
+ fontSize: "13px",
14517
14513
  mr: 1.5,
14518
14514
  fontWeight: "bold"
14519
14515
  },
14520
- children: c(r)
14516
+ children: d(c)
14521
14517
  }
14522
14518
  ),
14523
- /* @__PURE__ */ l.jsxs(L, { children: [
14524
- /* @__PURE__ */ l.jsxs(be, { sx: { fontSize: "14px", color: "#5f6368", lineHeight: 1.2 }, children: [
14525
- r.split(" te ha invitado ")[0],
14526
- " te ha invitado a"
14527
- ] }),
14528
- /* @__PURE__ */ l.jsx(be, { sx: { fontSize: "14px", fontWeight: 700, color: "#3c4043" }, children: n?.titulo || "Revisión diseño proyecto" })
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.6 } }),
14532
- /* @__PURE__ */ l.jsxs(L, { sx: { display: "flex", alignItems: "center", mb: 1.5 }, children: [
14533
- /* @__PURE__ */ l.jsx(QC, { sx: { fontSize: 20, color: "#5f6368", mr: 2 } }),
14534
- /* @__PURE__ */ l.jsx(be, { sx: { fontSize: "14px", color: "#3c4043" }, children: bt(i, "EEEE, dd 'de' MMMM", { locale: zE }) })
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: 3 }, children: [
14537
- /* @__PURE__ */ l.jsx(tE, { sx: { fontSize: 20, color: "#5f6368", mr: 2 } }),
14538
- /* @__PURE__ */ l.jsxs(be, { sx: { fontSize: "14px", color: "#3c4043" }, children: [
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 && !e?.leida && /* @__PURE__ */ l.jsxs(L, { sx: { display: "flex", gap: 1 }, children: [
14545
- /* @__PURE__ */ l.jsx(
14546
- Mt,
14547
- {
14548
- variant: "outlined",
14549
- startIcon: /* @__PURE__ */ l.jsx(r0, {}),
14550
- onClick: () => t?.(e, "CONFIRMADA"),
14551
- sx: {
14552
- flex: 1,
14553
- borderRadius: "8px",
14554
- textTransform: "none",
14555
- fontWeight: 700,
14556
- color: "#1976D2",
14557
- borderColor: "#1976D2",
14558
- "&:hover": { bgcolor: "rgba(25, 118, 210, 0.04)", borderColor: "#115293" }
14559
- },
14560
- children: "Asistiré"
14561
- }
14562
- ),
14563
- /* @__PURE__ */ l.jsx(
14564
- Mt,
14565
- {
14566
- variant: "outlined",
14567
- startIcon: /* @__PURE__ */ l.jsx(an, {}),
14568
- onClick: () => t?.(e, "RECHAZADA"),
14569
- sx: {
14570
- flex: 1,
14571
- borderRadius: "8px",
14572
- textTransform: "none",
14573
- fontWeight: 700,
14574
- color: "#D32F2F",
14575
- borderColor: "#D32F2F",
14576
- "&:hover": { bgcolor: "rgba(211, 47, 47, 0.04)", borderColor: "#9a2121" }
14577
- },
14578
- children: "Rechazar"
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);
@@ -18542,7 +18565,7 @@ const KA = (e, t) => {
18542
18565
  ]
18543
18566
  }
18544
18567
  // { parent: true }
18545
- ), 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(e4(r, n)), e.superRefine = (r) => e.check(t4(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) => {
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) => {
18546
18569
  const n = e.clone();
18547
18570
  return Oi.add(n, { description: r }), n;
18548
18571
  }, Object.defineProperty(e, "description", {
@@ -18838,10 +18861,10 @@ function Q5(e) {
18838
18861
  const J5 = /* @__PURE__ */ Z("ZodCustom", (e, t) => {
18839
18862
  H3.init(e, t), Ut.init(e, t);
18840
18863
  });
18841
- function e4(e, t = {}) {
18864
+ function eT(e, t = {}) {
18842
18865
  return NA(J5, e, t);
18843
18866
  }
18844
- function t4(e) {
18867
+ function tT(e) {
18845
18868
  return $A(e);
18846
18869
  }
18847
18870
  const Ep = /^([01][0-9]|2[0-3]):[0-5][0-9]$/, kp = (e, t) => {
@@ -18854,13 +18877,13 @@ const Ep = /^([01][0-9]|2[0-3]):[0-5][0-9]$/, kp = (e, t) => {
18854
18877
  return null;
18855
18878
  const a = parseInt(i[0], 10), c = parseInt(i[1], 10), u = new Date(n, o, s, a, c);
18856
18879
  return isNaN(u.getTime()) || !Wr(u) ? null : u;
18857
- }, r4 = F0({
18880
+ }, rT = F0({
18858
18881
  UsuarioID: Ea().nullable().optional(),
18859
18882
  disID: Ea().nullable().optional(),
18860
18883
  EsOrganizador: Qi().default(!1),
18861
18884
  Correo: Dr().email("Formato de correo inválido"),
18862
18885
  StatusInvitacion: L0(["PENDIENTE", "CONFIRMADO", "DECLINADO"]).default("PENDIENTE")
18863
- }), n4 = F0({
18886
+ }), nT = F0({
18864
18887
  titulo: Dr().min(1, "El campo Título es requerido.").refine(
18865
18888
  (e) => !e.startsWith(" "),
18866
18889
  { message: "El título no puede empezar con un espacio en blanco" }
@@ -18880,7 +18903,7 @@ const Ep = /^([01][0-9]|2[0-3]):[0-5][0-9]$/, kp = (e, t) => {
18880
18903
  { message: "El enlace no puede contener espacios en blanco" }
18881
18904
  ),
18882
18905
  descripcion: Dr().optional(),
18883
- invitados: $0(r4).optional().default([]),
18906
+ invitados: $0(rT).optional().default([]),
18884
18907
  color: Dr().optional(),
18885
18908
  solID: Ea().nullable().optional(),
18886
18909
  disID: Ea().nullable().optional()
@@ -18907,9 +18930,9 @@ const Ep = /^([01][0-9]|2[0-3]):[0-5][0-9]$/, kp = (e, t) => {
18907
18930
  message: "",
18908
18931
  path: ["horaFin"]
18909
18932
  }
18910
- ), 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" })), o4 = "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", s4 = (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", i4 = (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" })))), a4 = "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", c4 = (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" }));
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" }));
18911
18934
  var us = {}, Ap;
18912
- function l4() {
18935
+ function lT() {
18913
18936
  if (Ap) return us;
18914
18937
  Ap = 1;
18915
18938
  var e = nt();
@@ -18921,10 +18944,10 @@ function l4() {
18921
18944
  d: "m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"
18922
18945
  }), "ArrowForward"), us;
18923
18946
  }
18924
- var u4 = /* @__PURE__ */ l4();
18925
- const Tp = /* @__PURE__ */ rt(u4);
18947
+ var uT = /* @__PURE__ */ lT();
18948
+ const Tp = /* @__PURE__ */ rt(uT);
18926
18949
  var ds = {}, Rp;
18927
- function d4() {
18950
+ function dT() {
18928
18951
  if (Rp) return ds;
18929
18952
  Rp = 1;
18930
18953
  var e = nt();
@@ -18936,10 +18959,10 @@ function d4() {
18936
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"
18937
18960
  }), "EventAvailable"), ds;
18938
18961
  }
18939
- var f4 = /* @__PURE__ */ d4();
18940
- const p4 = /* @__PURE__ */ rt(f4);
18962
+ var fT = /* @__PURE__ */ dT();
18963
+ const pT = /* @__PURE__ */ rt(fT);
18941
18964
  var fs = {}, Ip;
18942
- function h4() {
18965
+ function hT() {
18943
18966
  if (Ip) return fs;
18944
18967
  Ip = 1;
18945
18968
  var e = nt();
@@ -18951,10 +18974,10 @@ function h4() {
18951
18974
  d: "M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6z"
18952
18975
  }), "KeyboardArrowRight"), fs;
18953
18976
  }
18954
- var m4 = /* @__PURE__ */ h4();
18955
- const g4 = /* @__PURE__ */ rt(m4), v4 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYBAMAAAASWSDLAAAAElBMVEUAAABpbXlpbXlobXhpbnppbnkdzkEGAAAABXRSTlMAgJ5Y75poDcUAAAA3SURBVBjTYyANiBog2IyhSBzRQGQJASSJIGQJBSIkTBESCA5CGcIAoqUEGDAdiukFBhE4hzAAAK+MB7AghHQFAAAAAElFTkSuQmCC";
18977
+ var mT = /* @__PURE__ */ hT();
18978
+ const gT = /* @__PURE__ */ rt(mT), vT = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYBAMAAAASWSDLAAAAElBMVEUAAABpbXlpbXlobXhpbnppbnkdzkEGAAAABXRSTlMAgJ5Y75poDcUAAAA3SURBVBjTYyANiBog2IyhSBzRQGQJASSJIGQJBSIkTBESCA5CGcIAoqUEGDAdiukFBhE4hzAAAK+MB7AghHQFAAAAAElFTkSuQmCC";
18956
18979
  var ps = {}, Pp;
18957
- function y4() {
18980
+ function yT() {
18958
18981
  if (Pp) return ps;
18959
18982
  Pp = 1;
18960
18983
  var e = nt();
@@ -18966,11 +18989,11 @@ function y4() {
18966
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"
18967
18990
  }), "CheckCircle"), ps;
18968
18991
  }
18969
- var b4 = /* @__PURE__ */ y4();
18970
- const U0 = /* @__PURE__ */ rt(b4), _4 = (e) => {
18992
+ var bT = /* @__PURE__ */ yT();
18993
+ const U0 = /* @__PURE__ */ rt(bT), _T = (e) => {
18971
18994
  const t = ["#A17B4B", "#7B5BE4", "#F9A825", "#4A90E2", "#5CC85C", "#FDD835", "#E53935", "#B0BEC5"], r = e.charCodeAt(0) % t.length;
18972
18995
  return t[r];
18973
- }, x4 = (e, t) => {
18996
+ }, xT = (e, t) => {
18974
18997
  if (t)
18975
18998
  return /* @__PURE__ */ l.jsxs(L, { sx: { display: "flex", alignItems: "center", color: "#1976D2" }, children: [
18976
18999
  /* @__PURE__ */ l.jsx(U0, { sx: { fontSize: 16, mr: 0.5 } }),
@@ -18990,14 +19013,14 @@ const U0 = /* @__PURE__ */ rt(b4), _4 = (e) => {
18990
19013
  return null;
18991
19014
  }
18992
19015
  };
18993
- function w4({ open: e, handleClose: t, guests: r }) {
19016
+ function wT({ open: e, handleClose: t, guests: r }) {
18994
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: [
18995
19018
  /* @__PURE__ */ l.jsxs(L, { sx: { position: "relative", mr: 2 }, children: [
18996
- /* @__PURE__ */ l.jsx(Hr, { sx: { bgcolor: _4(c.iniciales), width: 32, height: 32, fontSize: "12px", color: "#fff" }, children: c.iniciales }),
19019
+ /* @__PURE__ */ l.jsx(Hr, { sx: { bgcolor: _T(c.iniciales), width: 32, height: 32, fontSize: "12px", color: "#fff" }, children: c.iniciales }),
18997
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" } }) })
18998
19021
  ] }),
18999
19022
  /* @__PURE__ */ l.jsx(be, { variant: "body2", sx: { flexGrow: 1, fontWeight: 500, color: "#333" }, children: c.nombre }),
19000
- x4(c.estatus, c.isHost)
19023
+ xT(c.estatus, c.isHost)
19001
19024
  ] }, c.nombre), a = ({ title: c, count: u, badgeColor: d }) => /* @__PURE__ */ l.jsxs(L, { sx: { display: "flex", alignItems: "center", mt: 2, mb: 1 }, children: [
19002
19025
  /* @__PURE__ */ l.jsx(be, { variant: "subtitle2", sx: { fontWeight: 800, color: "#333", fontSize: "13px" }, children: c }),
19003
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 })
@@ -19005,7 +19028,7 @@ function w4({ open: e, handleClose: t, guests: r }) {
19005
19028
  return /* @__PURE__ */ l.jsxs(jo, { open: e, onClose: t, fullWidth: !0, maxWidth: "xs", PaperProps: { sx: { border: "solid 0.1 px", height: "100%" } }, children: [
19006
19029
  /* @__PURE__ */ l.jsxs(L, { sx: { p: "16px 8px" }, children: [
19007
19030
  /* @__PURE__ */ l.jsx(be, { variant: "subtitle1", sx: { fontWeight: 800, ml: 1 }, children: "Lista de invitados" }),
19008
- /* @__PURE__ */ l.jsx(Mt, { onClick: t, startIcon: /* @__PURE__ */ l.jsx("img", { src: v4, width: 20 }), sx: { textTransform: "none", color: "#666", fontSize: "16px", p: 0, minWidth: 0, ml: 0.5, "&:hover": { bgcolor: "transparent" } }, children: "Volver al evento" }),
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" }),
19009
19032
  /* @__PURE__ */ l.jsx(Kt, { onClick: t, sx: { position: "absolute", right: 8, top: 12 }, children: /* @__PURE__ */ l.jsx(an, {}) })
19010
19033
  ] }),
19011
19034
  /* @__PURE__ */ l.jsx(rn, {}),
@@ -19031,11 +19054,11 @@ function w4({ open: e, handleClose: t, guests: r }) {
19031
19054
  ] })
19032
19055
  ] });
19033
19056
  }
19034
- const S4 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAAXNSR0IArs4c6QAAAAlwSFlzAAALEwAACxMBAJqcGAAAACpQTFRFR3BMcHCAcHBwaGx4ZWp6aG14aG54Zm14aW15aG55aG15aW55aW56aW5591zvEAAAAA10Uk5TABAQIDBBYHCAnr7g7wYb6DAAAACqSURBVHjahZJLDgMhDEM9UL7Ju/91q8KgQhcdb5D8rFiJ0JNC6Qbeczzt6izV8PWjAbiNB4uH35IkpbaRYGBpT9mcVlemtnCTOiLA8BPk+/VPIkPTR/kGalAkdUgnSNAlOegEckwS2C8wOAEWN2D4BC8HH3Xge/naYJUXaJq6Wo+S2iy7HJKW1sbHSc6B0mU7SeOIf8++CJg5nHOvypLXoF0xdwfrJTx9mzdxpgqGKfcyxQAAAABJRU5ErkJggg==", C4 = (e) => {
19057
+ const ST = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAAXNSR0IArs4c6QAAAAlwSFlzAAALEwAACxMBAJqcGAAAACpQTFRFR3BMcHCAcHBwaGx4ZWp6aG14aG54Zm14aW15aG55aG15aW55aW56aW5591zvEAAAAA10Uk5TABAQIDBBYHCAnr7g7wYb6DAAAACqSURBVHjahZJLDgMhDEM9UL7Ju/91q8KgQhcdb5D8rFiJ0JNC6Qbeczzt6izV8PWjAbiNB4uH35IkpbaRYGBpT9mcVlemtnCTOiLA8BPk+/VPIkPTR/kGalAkdUgnSNAlOegEckwS2C8wOAEWN2D4BC8HH3Xge/naYJUXaJq6Wo+S2iy7HJKW1sbHSc6B0mU7SeOIf8++CJg5nHOvypLXoF0xdwfrJTx9mzdxpgqGKfcyxQAAAABJRU5ErkJggg==", CT = (e) => {
19035
19058
  const t = ["#8D6E63", "#9C27B0", "#FF9800", "#2196F3", "#4CAF50", "#FFEB3B", "#F44336", "#9E9E9E"], r = e.charCodeAt(0) % t.length;
19036
19059
  return t[r];
19037
19060
  };
19038
- function E4({ guests: e }) {
19061
+ function ET({ guests: e }) {
19039
19062
  const [t, r] = me(!1), n = () => r(!0), o = () => r(!1);
19040
19063
  return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
19041
19064
  /* @__PURE__ */ l.jsxs(
@@ -19086,14 +19109,14 @@ function E4({ guests: e }) {
19086
19109
  border: "1px solid white",
19087
19110
  boxShadow: "none"
19088
19111
  },
19089
- children: /* @__PURE__ */ l.jsx("img", { src: S4 })
19112
+ children: /* @__PURE__ */ l.jsx("img", { src: ST })
19090
19113
  }
19091
19114
  ),
19092
19115
  children: /* @__PURE__ */ l.jsx(
19093
19116
  Hr,
19094
19117
  {
19095
19118
  sx: {
19096
- bgcolor: C4(s.iniciales)
19119
+ bgcolor: CT(s.iniciales)
19097
19120
  },
19098
19121
  children: s.iniciales
19099
19122
  }
@@ -19127,18 +19150,18 @@ function E4({ guests: e }) {
19127
19150
  children: "Ver invitados"
19128
19151
  }
19129
19152
  ),
19130
- /* @__PURE__ */ l.jsx(g4, { sx: { fontSize: 18, ml: 0.5 } })
19153
+ /* @__PURE__ */ l.jsx(gT, { sx: { fontSize: 18, ml: 0.5 } })
19131
19154
  ]
19132
19155
  }
19133
19156
  )
19134
19157
  ]
19135
19158
  }
19136
19159
  ),
19137
- /* @__PURE__ */ l.jsx(w4, { open: t, handleClose: o, guests: e })
19160
+ /* @__PURE__ */ l.jsx(wT, { open: t, handleClose: o, guests: e })
19138
19161
  ] });
19139
19162
  }
19140
19163
  var hs = {}, Mp;
19141
- function k4() {
19164
+ function kT() {
19142
19165
  if (Mp) return hs;
19143
19166
  Mp = 1;
19144
19167
  var e = nt();
@@ -19150,11 +19173,11 @@ function k4() {
19150
19173
  d: "M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"
19151
19174
  }), "ArrowBack"), hs;
19152
19175
  }
19153
- var D4 = /* @__PURE__ */ k4();
19154
- const V0 = /* @__PURE__ */ rt(D4), A4 = (e) => (/* @__PURE__ */ new Date(e + "T00:00:00")).toLocaleDateString("es-ES", { day: "numeric", month: "short" }).replace(".", ""), Op = (e) => {
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) => {
19155
19178
  const [t, r] = e.split(":"), n = parseInt(t), o = n >= 12 ? "pm" : "am";
19156
19179
  return `${n % 12 || 12}:${r} ${o}`;
19157
- }, T4 = ({ slot: e, onClick: t }) => /* @__PURE__ */ l.jsxs(
19180
+ }, TT = ({ slot: e, onClick: t }) => /* @__PURE__ */ l.jsxs(
19158
19181
  L,
19159
19182
  {
19160
19183
  onClick: t,
@@ -19168,7 +19191,7 @@ const V0 = /* @__PURE__ */ rt(D4), A4 = (e) => (/* @__PURE__ */ new Date(e + "T0
19168
19191
  "&:hover": { transform: "translateY(-3px)", boxShadow: 2 }
19169
19192
  },
19170
19193
  children: [
19171
- /* @__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: A4(e.Fecha) }) }),
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) }) }),
19172
19195
  /* @__PURE__ */ l.jsxs(L, { sx: { bgcolor: "white", color: "black", py: 1 }, children: [
19173
19196
  /* @__PURE__ */ l.jsx(be, { variant: "body2", children: Op(e.HoraInicio) }),
19174
19197
  /* @__PURE__ */ l.jsxs(be, { variant: "body2", color: "text.secondary", children: [
@@ -19179,7 +19202,7 @@ const V0 = /* @__PURE__ */ rt(D4), A4 = (e) => (/* @__PURE__ */ new Date(e + "T0
19179
19202
  ]
19180
19203
  }
19181
19204
  );
19182
- function R4({ open: e, handleClose: t, suggestions: r, onSelectSlot: n }) {
19205
+ function RT({ open: e, handleClose: t, suggestions: r, onSelectSlot: n }) {
19183
19206
  const o = r.reduce((i, a) => {
19184
19207
  const c = a.Fecha;
19185
19208
  return i[c] || (i[c] = []), i[c].push(a), i;
@@ -19208,15 +19231,15 @@ function R4({ open: e, handleClose: t, suggestions: r, onSelectSlot: n }) {
19208
19231
  ]
19209
19232
  }
19210
19233
  ),
19211
- /* @__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(T4, { slot: c, onClick: () => n(c) }) }, `${i}-${u}`)) })
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}`)) })
19212
19235
  ] }, i)) })
19213
19236
  ] });
19214
19237
  }
19215
- const I4 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAIVBMVEVHcExAR1ZAR1NARlVAR1VARlVAR1VARlVARlRARlRAR1ZiwDFVAAAACnRSTlMA5BvHaqI5kH9QLGWfKwAAAQlJREFUeNrd1luqwzAMBNDRw7I7+1/whd4mFa6tBPrX82uJGYMJwc+JLqQ1xU2dLx23NB5EgWjPtAe2Rp4Py8tLmuddeBK/KuRQMgusvDsAwkPRKgU4J14uBIwTw4K8G/GDFncQ6L0FrxYCn1TKhIU4D4UTwZIf8Z2ThjW1/9OoG2XqvTvmiI5LxsRwTRtPTbER3eTJHOcDN8fGkNxagfAxPLChxkyaohTCxEJRU2EeBxDe21NftsrzDuiQup+nwzivn41tQECNC5ZDHrmPCpdEVx+YluaLDONB0bnVcZAUwELgJQUYCzZXMihLOr0Lh7PkmBlLbbFQEsx44fsFY8kwU2PB9Ef+Lv4AL2kmcGZOH2MAAAAASUVORK5CYII=", P4 = (e) => {
19238
+ const IT = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAIVBMVEVHcExAR1ZAR1NARlVAR1VARlVAR1VARlVARlRARlRAR1ZiwDFVAAAACnRSTlMA5BvHaqI5kH9QLGWfKwAAAQlJREFUeNrd1luqwzAMBNDRw7I7+1/whd4mFa6tBPrX82uJGYMJwc+JLqQ1xU2dLx23NB5EgWjPtAe2Rp4Py8tLmuddeBK/KuRQMgusvDsAwkPRKgU4J14uBIwTw4K8G/GDFncQ6L0FrxYCn1TKhIU4D4UTwZIf8Z2ThjW1/9OoG2XqvTvmiI5LxsRwTRtPTbER3eTJHOcDN8fGkNxagfAxPLChxkyaohTCxEJRU2EeBxDe21NftsrzDuiQup+nwzivn41tQECNC5ZDHrmPCpdEVx+YluaLDONB0bnVcZAUwELgJQUYCzZXMihLOr0Lh7PkmBlLbbFQEsx44fsFY8kwU2PB9Ef+Lv4AL2kmcGZOH2MAAAAASUVORK5CYII=", PT = (e) => {
19216
19239
  const t = ["brown", "purple", "orange", "blue", "green", "yellow", "red", "grey"], r = e.charCodeAt(0) % t.length;
19217
19240
  return t[r];
19218
19241
  };
19219
- function M4({ onSelectGuest: e, availableSuggestions: t, onInputTextChange: r }) {
19242
+ function MT({ onSelectGuest: e, availableSuggestions: t, onInputTextChange: r }) {
19220
19243
  const [n, o] = me(null), [s, i] = me(""), a = (u, d) => {
19221
19244
  d ? (e(d), o(null), i("")) : (o(null), i(""));
19222
19245
  }, c = (u, d) => {
@@ -19243,7 +19266,7 @@ function M4({ onSelectGuest: e, availableSuggestions: t, onInputTextChange: r })
19243
19266
  size: "small",
19244
19267
  InputProps: {
19245
19268
  ...u.InputProps,
19246
- startAdornment: /* @__PURE__ */ l.jsx(L, { sx: { ml: 1, display: "flex", alignItems: "center" }, children: /* @__PURE__ */ l.jsx("img", { src: I4, color: "action", width: 20 }) }),
19269
+ startAdornment: /* @__PURE__ */ l.jsx(L, { sx: { ml: 1, display: "flex", alignItems: "center" }, children: /* @__PURE__ */ l.jsx("img", { src: IT, color: "action", width: 20 }) }),
19247
19270
  disableUnderline: !0
19248
19271
  }
19249
19272
  }
@@ -19252,7 +19275,7 @@ function M4({ onSelectGuest: e, availableSuggestions: t, onInputTextChange: r })
19252
19275
  Hr,
19253
19276
  {
19254
19277
  sx: {
19255
- bgcolor: P4(d.iniciales),
19278
+ bgcolor: PT(d.iniciales),
19256
19279
  mr: 2,
19257
19280
  width: 32,
19258
19281
  height: 32,
@@ -19266,7 +19289,7 @@ function M4({ onSelectGuest: e, availableSuggestions: t, onInputTextChange: r })
19266
19289
  );
19267
19290
  }
19268
19291
  var ms = {}, jp;
19269
- function O4() {
19292
+ function OT() {
19270
19293
  if (jp) return ms;
19271
19294
  jp = 1;
19272
19295
  var e = nt();
@@ -19278,10 +19301,10 @@ function O4() {
19278
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"
19279
19302
  }), "CheckCircleOutline"), ms;
19280
19303
  }
19281
- var j4 = /* @__PURE__ */ O4();
19282
- const N4 = /* @__PURE__ */ rt(j4);
19304
+ var jT = /* @__PURE__ */ OT();
19305
+ const NT = /* @__PURE__ */ rt(jT);
19283
19306
  var gs = {}, Np;
19284
- function $4() {
19307
+ function $T() {
19285
19308
  if (Np) return gs;
19286
19309
  Np = 1;
19287
19310
  var e = nt();
@@ -19293,30 +19316,30 @@ function $4() {
19293
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"
19294
19317
  }), "ErrorOutline"), gs;
19295
19318
  }
19296
- var F4 = /* @__PURE__ */ $4();
19297
- const Eu = /* @__PURE__ */ rt(F4), L4 = (e) => e.tieneConflicto ? {
19319
+ var FT = /* @__PURE__ */ $T();
19320
+ const Eu = /* @__PURE__ */ rt(FT), LT = (e) => e.tieneConflicto ? {
19298
19321
  icon: /* @__PURE__ */ l.jsx(Eu, { sx: { fontSize: 18, color: "#d32f2f" } }),
19299
19322
  fillColor: "#FFF5F5",
19300
19323
  iconColor: "#d32f2f",
19301
19324
  textColor: "#333333",
19302
19325
  variant: "filled"
19303
19326
  } : {
19304
- icon: /* @__PURE__ */ l.jsx(N4, { sx: { fontSize: 20, color: "#1a73e8" } }),
19327
+ icon: /* @__PURE__ */ l.jsx(NT, { sx: { fontSize: 20, color: "#1a73e8" } }),
19305
19328
  fillColor: "#eaedf2",
19306
19329
  iconColor: "#1a73e8",
19307
19330
  textColor: "#000000",
19308
19331
  variant: "filled"
19309
- }, z4 = (e) => {
19332
+ }, zT = (e) => {
19310
19333
  const t = ["#8D6E63", "#9C27B0", "#FF9800", "#2196F3", "#4CAF50", "#FDD835", "#F44336", "#9E9E9E"], r = e.charCodeAt(0) % t.length;
19311
19334
  return t[r];
19312
19335
  };
19313
- function B4({ guests: e, conflictCount: t, onViewSuggestions: r, onDeleteGuest: n }) {
19336
+ function BT({ guests: e, conflictCount: t, onViewSuggestions: r, onDeleteGuest: n }) {
19314
19337
  const o = (i) => (a) => {
19315
19338
  a.stopPropagation(), n(i);
19316
19339
  }, s = (i) => i ? i.trim().split(/\s+/).slice(0, 2).join(" ") : "";
19317
19340
  return /* @__PURE__ */ l.jsxs(L, { sx: { p: 1 }, children: [
19318
19341
  /* @__PURE__ */ l.jsx(L, { sx: { display: "flex", flexWrap: "wrap", gap: 1 }, children: e.map((i, a) => {
19319
- const c = L4(i), u = z4(i.iniciales);
19342
+ const c = LT(i), u = zT(i.iniciales);
19320
19343
  return /* @__PURE__ */ l.jsx(
19321
19344
  vo,
19322
19345
  {
@@ -19441,7 +19464,7 @@ function B4({ guests: e, conflictCount: t, onViewSuggestions: r, onDeleteGuest:
19441
19464
  ] })
19442
19465
  ] });
19443
19466
  }
19444
- function W4(e, t) {
19467
+ function WT(e, t) {
19445
19468
  const [r, n] = me(e);
19446
19469
  return xt(() => {
19447
19470
  const o = setTimeout(() => {
@@ -19452,7 +19475,7 @@ function W4(e, t) {
19452
19475
  };
19453
19476
  }, [e, t]), r;
19454
19477
  }
19455
- const U4 = {
19478
+ const UT = {
19456
19479
  position: "absolute",
19457
19480
  top: "50%",
19458
19481
  left: "50%",
@@ -19464,7 +19487,7 @@ const U4 = {
19464
19487
  borderRadius: 2,
19465
19488
  maxHeight: "90vh",
19466
19489
  overflowY: "auto"
19467
- }, $p = ["#dbe3fe", "#fcebc7", "#d9f1d2", "#fdf5d1", "#ebe3d7", "#e1d6fb", "#f7c7cc", "#f9e7fb", "#eaedf2", "#d5d8dd"], V4 = () => {
19490
+ }, $p = ["#dbe3fe", "#fcebc7", "#d9f1d2", "#fdf5d1", "#ebe3d7", "#e1d6fb", "#f7c7cc", "#f9e7fb", "#eaedf2", "#d5d8dd"], VT = () => {
19468
19491
  const e = [];
19469
19492
  for (let t = 0; t < 24; t++)
19470
19493
  for (let r = 0; r < 60; r += 15) {
@@ -19472,7 +19495,7 @@ const U4 = {
19472
19495
  e.push(`${n}:${o}`);
19473
19496
  }
19474
19497
  return e;
19475
- }, Fp = [], ho = V4(), vs = (e, t) => {
19498
+ }, Fp = [], ho = VT(), vs = (e, t) => {
19476
19499
  if (!e || !t) return null;
19477
19500
  const r = e.split("-");
19478
19501
  if (r.length !== 3)
@@ -19482,8 +19505,8 @@ const U4 = {
19482
19505
  return null;
19483
19506
  const a = parseInt(i[0], 10), c = parseInt(i[1], 10), u = new Date(s, o, n, a, c);
19484
19507
  return isNaN(u.getTime()) || !Wr(u) ? null : u;
19485
- }, H4 = ({ isVisible: e, onClose: t, onSave: r, onDelete: n, selectedDate: o, initialEvent: s, userId: i, masNombreBD: a, disId: c }) => {
19486
- 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 = W4(z, 300), Ee = T.filter((Y) => Y.tieneConflicto).length, {
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, {
19487
19510
  control: pe,
19488
19511
  handleSubmit: Se,
19489
19512
  reset: se,
@@ -19491,7 +19514,7 @@ const U4 = {
19491
19514
  watch: ge,
19492
19515
  setValue: ue
19493
19516
  } = g0({
19494
- resolver: BA(n4),
19517
+ resolver: BA(nT),
19495
19518
  defaultValues: {
19496
19519
  titulo: s?.titulo || "",
19497
19520
  fechaInicio: bt(/* @__PURE__ */ new Date(), "yyyy-MM-dd"),
@@ -19711,10 +19734,10 @@ const U4 = {
19711
19734
  console.error("Error al reprogramar el evento:", le);
19712
19735
  }
19713
19736
  };
19714
- 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: U4, children: [
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: [
19715
19738
  /* @__PURE__ */ l.jsx(Kt, { "aria-label": "close", onClick: t, sx: { position: "absolute", right: 8, top: 12 }, children: /* @__PURE__ */ l.jsx(an, {}) }),
19716
19739
  /* @__PURE__ */ l.jsx(be, { variant: "h6", mb: 2, children: s?.isGoogleEvent || s?.isOutlookEvent ? /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
19717
- /* @__PURE__ */ l.jsx(p4, { sx: { mr: 1 } }),
19740
+ /* @__PURE__ */ l.jsx(pT, { sx: { mr: 1 } }),
19718
19741
  s.titulo || "Evento de Google"
19719
19742
  ] }) : s ? "Editar evento" : "Agregar evento" }),
19720
19743
  /* @__PURE__ */ l.jsx("div", { className: "row mb-2", children: /* @__PURE__ */ l.jsx("div", { className: "col-12", children: /* @__PURE__ */ l.jsx(
@@ -19865,12 +19888,12 @@ const U4 = {
19865
19888
  ) })
19866
19889
  ] }),
19867
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: [
19868
- /* @__PURE__ */ l.jsx(i4, {}),
19891
+ /* @__PURE__ */ l.jsx(iT, {}),
19869
19892
  "  Agregar fecha final"
19870
19893
  ] }) }) }),
19871
19894
  (!s?.isGoogleEvent || s?.isOutlookEvent) && /* @__PURE__ */ l.jsx("div", { className: "row mb-2", children: /* @__PURE__ */ l.jsxs("div", { className: "col-12", children: [
19872
19895
  !f && /* @__PURE__ */ l.jsxs(Mt, { onClick: () => h(!0), size: "small", sx: { textTransform: "none", fontSize: 16 }, children: [
19873
- /* @__PURE__ */ l.jsx(c4, {}),
19896
+ /* @__PURE__ */ l.jsx(cT, {}),
19874
19897
  "  Vincular cliente"
19875
19898
  ] }),
19876
19899
  f && /* @__PURE__ */ l.jsxs("div", { className: "row g-2", children: [
@@ -19980,7 +20003,7 @@ const U4 = {
19980
20003
  startAdornment: /* @__PURE__ */ l.jsx(
19981
20004
  "img",
19982
20005
  {
19983
- src: o4,
20006
+ src: oT,
19984
20007
  width: 20,
19985
20008
  style: {
19986
20009
  alignSelf: "flex-start",
@@ -20014,7 +20037,7 @@ const U4 = {
20014
20037
  startAdornment: /* @__PURE__ */ l.jsx(
20015
20038
  "img",
20016
20039
  {
20017
- src: a4,
20040
+ src: aT,
20018
20041
  width: 20,
20019
20042
  style: {
20020
20043
  alignSelf: "flex-start",
@@ -20027,10 +20050,10 @@ const U4 = {
20027
20050
  )
20028
20051
  }
20029
20052
  ) }) }),
20030
- /* @__PURE__ */ l.jsx("div", { className: "row mb-2", children: /* @__PURE__ */ l.jsx("div", { className: "col-12", children: /* @__PURE__ */ l.jsx(M4, { onSelectGuest: Ce, availableSuggestions: de, onInputTextChange: we }) }) }),
20031
- ne && /* @__PURE__ */ l.jsx("div", { className: "row mb-2", children: /* @__PURE__ */ l.jsx("div", { className: "col-12", children: /* @__PURE__ */ l.jsx(B4, { guests: T, conflictCount: Ee, onViewSuggestions: () => q(!0), onDeleteGuest: Oe }) }) }),
20032
- 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(E4, { guests: T }) }) }) }),
20033
- /* @__PURE__ */ l.jsx(R4, { open: U, handleClose: M, suggestions: O, onSelectSlot: Xe }),
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 }),
20034
20057
  /* @__PURE__ */ l.jsx("div", { className: "row mb-2", children: /* @__PURE__ */ l.jsx("div", { className: "col-12", children: /* @__PURE__ */ l.jsxs(
20035
20058
  L,
20036
20059
  {
@@ -20041,7 +20064,7 @@ const U4 = {
20041
20064
  flexWrap: "wrap"
20042
20065
  },
20043
20066
  children: [
20044
- /* @__PURE__ */ l.jsx(s4, {}),
20067
+ /* @__PURE__ */ l.jsx(sT, {}),
20045
20068
  $p.map((Y) => /* @__PURE__ */ l.jsx(
20046
20069
  br,
20047
20070
  {
@@ -20143,7 +20166,7 @@ const U4 = {
20143
20166
  )
20144
20167
  ] }) })
20145
20168
  ] }) }) }) });
20146
- }, Y4 = {
20169
+ }, YT = {
20147
20170
  position: "absolute",
20148
20171
  top: "50%",
20149
20172
  left: "50%",
@@ -20156,12 +20179,12 @@ const U4 = {
20156
20179
  maxHeight: "80vh",
20157
20180
  // Evita que el modal sea más alto que la pantalla
20158
20181
  overflowY: "auto"
20159
- }, q4 = ({ isOpen: e, onClose: t, events: r, date: n, onEventClick: o }) => {
20182
+ }, qT = ({ isOpen: e, onClose: t, events: r, date: n, onEventClick: o }) => {
20160
20183
  if (!n) return null;
20161
20184
  const s = (a) => {
20162
20185
  o(a), t();
20163
20186
  }, i = (a) => a.isGoogleEvent ? { label: "G", borderColor: "#4285F4" } : a.isOutlookEvent ? { label: "O", borderColor: "#0078d9" } : { label: "-", borderColor: "#CCC" };
20164
- return /* @__PURE__ */ l.jsx(ih, { open: e, onClose: t, children: /* @__PURE__ */ l.jsxs(L, { sx: Y4, children: [
20187
+ return /* @__PURE__ */ l.jsx(ih, { open: e, onClose: t, children: /* @__PURE__ */ l.jsxs(L, { sx: YT, children: [
20165
20188
  /* @__PURE__ */ l.jsxs(L, { sx: { display: "flex", justifyContent: "space-between", alignItems: "center", mb: 1 }, children: [
20166
20189
  /* @__PURE__ */ l.jsxs(be, { sx: { fontSize: "18px", fontWeight: "bold" }, component: "h2", children: [
20167
20190
  "Eventos del",
@@ -20226,7 +20249,7 @@ const U4 = {
20226
20249
  ] }) });
20227
20250
  };
20228
20251
  var ys = {}, Lp;
20229
- function Z4() {
20252
+ function ZT() {
20230
20253
  if (Lp) return ys;
20231
20254
  Lp = 1;
20232
20255
  var e = nt();
@@ -20238,10 +20261,10 @@ function Z4() {
20238
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"
20239
20262
  }), "Error"), ys;
20240
20263
  }
20241
- var G4 = /* @__PURE__ */ Z4();
20242
- const K4 = /* @__PURE__ */ rt(G4);
20264
+ var GT = /* @__PURE__ */ ZT();
20265
+ const KT = /* @__PURE__ */ rt(GT);
20243
20266
  var bs = {}, zp;
20244
- function X4() {
20267
+ function XT() {
20245
20268
  if (zp) return bs;
20246
20269
  zp = 1;
20247
20270
  var e = nt();
@@ -20253,20 +20276,20 @@ function X4() {
20253
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"
20254
20277
  }), "Info"), bs;
20255
20278
  }
20256
- var Q4 = /* @__PURE__ */ X4();
20257
- const J4 = /* @__PURE__ */ rt(Q4), eT = "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", tT = "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) => {
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) => {
20258
20281
  const { closeSnackbar: o } = Ml(), s = {
20259
20282
  success: {
20260
20283
  color: "#fff",
20261
- icon: /* @__PURE__ */ l.jsx("img", { width: 25, src: eT, style: { borderRadius: "50%", backgroundColor: "#4caf50", color: "white", fontSize: "12px", padding: 3 } })
20284
+ icon: /* @__PURE__ */ l.jsx("img", { width: 25, src: e4, style: { borderRadius: "50%", backgroundColor: "#4caf50", color: "white", fontSize: "12px", padding: 3 } })
20262
20285
  },
20263
20286
  error: {
20264
20287
  color: "#f44336",
20265
- icon: /* @__PURE__ */ l.jsx(K4, { sx: { color: "#f44336" } })
20288
+ icon: /* @__PURE__ */ l.jsx(KT, { sx: { color: "#f44336" } })
20266
20289
  },
20267
20290
  info: {
20268
20291
  color: "#2196f3",
20269
- icon: /* @__PURE__ */ l.jsx(J4, { sx: { color: "#2196f3" } })
20292
+ icon: /* @__PURE__ */ l.jsx(JT, { sx: { color: "#2196f3" } })
20270
20293
  },
20271
20294
  delete: {
20272
20295
  color: "#fff",
@@ -20274,7 +20297,7 @@ const J4 = /* @__PURE__ */ rt(Q4), eT = "data:image/svg+xml,%3csvg%20xmlns='http
20274
20297
  },
20275
20298
  rechazar: {
20276
20299
  color: "#fff",
20277
- icon: /* @__PURE__ */ l.jsx("img", { src: tT, width: 30, style: { borderRadius: "50%", color: "red", fontSize: "16px", padding: 3 } })
20300
+ icon: /* @__PURE__ */ l.jsx("img", { src: t4, width: 30, style: { borderRadius: "50%", color: "red", fontSize: "16px", padding: 3 } })
20278
20301
  }
20279
20302
  }, i = s[r] || s.info;
20280
20303
  return /* @__PURE__ */ l.jsx(Sg, { ref: n, children: /* @__PURE__ */ l.jsxs(
@@ -20302,16 +20325,16 @@ const J4 = /* @__PURE__ */ rt(Q4), eT = "data:image/svg+xml,%3csvg%20xmlns='http
20302
20325
  }), H0 = Dl(void 0), UR = ({ children: e }) => {
20303
20326
  const [t, r] = me([]), [n, o] = me([]), [s, i] = me(!1);
20304
20327
  return /* @__PURE__ */ l.jsx(H0.Provider, { value: { googleEvents: t, setGoogleEvents: r, outlookEvents: n, setOutlookEvents: o, isLoadingGoogleEvents: s, setIsLoadingGoogleEvents: i }, children: e });
20305
- }, rT = () => {
20328
+ }, r4 = () => {
20306
20329
  const e = ka(H0);
20307
20330
  if (e === void 0)
20308
20331
  throw new Error("useEvents must be used within an EventsProvider");
20309
20332
  return e;
20310
- }, nT = (e, t, r) => {
20333
+ }, n4 = (e, t, r) => {
20311
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);
20312
20335
  let s = n(e.end.date, e.end.dateTime);
20313
20336
  return e.end.date && !e.end.dateTime && s.setDate(s.getDate() - 1), {
20314
- eventoID: Math.abs(oT(e.id)),
20337
+ eventoID: Math.abs(o4(e.id)),
20315
20338
  titulo: e.summary || "(Sin título)",
20316
20339
  descripcion: e.description,
20317
20340
  fechaInicio: o,
@@ -20329,7 +20352,7 @@ const J4 = /* @__PURE__ */ rt(Q4), eT = "data:image/svg+xml,%3csvg%20xmlns='http
20329
20352
  isGoogleEvent: !0
20330
20353
  };
20331
20354
  };
20332
- function oT(e) {
20355
+ function o4(e) {
20333
20356
  let t = 0;
20334
20357
  for (let r = 0; r < e.length; r++) {
20335
20358
  const n = e.charCodeAt(r);
@@ -20337,7 +20360,7 @@ function oT(e) {
20337
20360
  }
20338
20361
  return t;
20339
20362
  }
20340
- function sT(e) {
20363
+ function s4(e) {
20341
20364
  let t = 0;
20342
20365
  for (let r = 0; r < e.length; r++) {
20343
20366
  const n = e.charCodeAt(r);
@@ -20345,11 +20368,11 @@ function sT(e) {
20345
20368
  }
20346
20369
  return t;
20347
20370
  }
20348
- const iT = (e, t, r) => {
20371
+ const i4 = (e, t, r) => {
20349
20372
  const n = new Date(e.start.dateTime);
20350
20373
  let o = new Date(e.end.dateTime);
20351
20374
  return e.isAllDay && o.setDate(o.getDate() - 1), {
20352
- eventoID: Math.abs(sT(e.id)),
20375
+ eventoID: Math.abs(s4(e.id)),
20353
20376
  // Generar un ID numérico único basado en el ID original
20354
20377
  titulo: e?.summary || "(Sin título)",
20355
20378
  // outlookEvent.body es un objeto con contentType y content
@@ -20373,7 +20396,7 @@ const iT = (e, t, r) => {
20373
20396
  isGoogleEvent: !1,
20374
20397
  isOutlookEvent: !0
20375
20398
  };
20376
- }, 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", aT = "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", cT = ({ open: e, onClose: t, onConfirm: r, title: n, description: o, icon: s, confirmText: i, confirmColor: a = "#d32f2f", loading: c = !1 }) => /* @__PURE__ */ l.jsxs(
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(
20377
20400
  jo,
20378
20401
  {
20379
20402
  open: e,
@@ -20417,7 +20440,7 @@ const iT = (e, t, r) => {
20417
20440
  "&:hover": { bgcolor: "#b71c1c" }
20418
20441
  },
20419
20442
  children: [
20420
- i == "Eliminar" && /* @__PURE__ */ l.jsx("img", { src: aT, width: 15, style: { marginRight: 6, marginBottom: 2 } }),
20443
+ i == "Eliminar" && /* @__PURE__ */ l.jsx("img", { src: a4, width: 15, style: { marginRight: 6, marginBottom: 2 } }),
20421
20444
  c ? "Procesando..." : i
20422
20445
  ]
20423
20446
  }
@@ -20427,7 +20450,7 @@ const iT = (e, t, r) => {
20427
20450
  ]
20428
20451
  }
20429
20452
  ), VR = ({ userId: e, leads30Days: t, leads90Days: r, disId: n, masNombreBD: o }) => {
20430
- 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 } = rT(), [de, j] = me([]), [K, Ee] = me([]), [pe, Se] = me([]), [se, Q] = me(!1), [ae, ge] = me([]), [ue, fe] = me(), Ne = (J, Pe) => {
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) => {
20431
20454
  D(J), q(Pe), E(!0);
20432
20455
  }, P = async () => {
20433
20456
  if (e === void 0) return;
@@ -20458,11 +20481,11 @@ const iT = (e, t, r) => {
20458
20481
  if (!n || !e) return;
20459
20482
  const J = [...a];
20460
20483
  if (ne.length > 0 && z?.userEmail) {
20461
- const Pe = ne.map((De) => nT(De, n, e));
20484
+ const Pe = ne.map((De) => n4(De, n, e));
20462
20485
  J.push(...Pe);
20463
20486
  }
20464
20487
  if (O.length > 0 && H?.userEmail) {
20465
- const Pe = O.map((De) => iT(De, n, e));
20488
+ const Pe = O.map((De) => i4(De, n, e));
20466
20489
  J.push(...Pe);
20467
20490
  }
20468
20491
  j(J);
@@ -20647,7 +20670,7 @@ const iT = (e, t, r) => {
20647
20670
  const ee = async (J, Pe) => {
20648
20671
  await _.UpdateStatusEvento(J.evento.eventoID, e, Pe) && (await _.MarcarLeido(J.notificacionID, e), w(J?.evento?.titulo + " fue agregado a tu calendario", { variant: "success" }));
20649
20672
  }, we = async () => {
20650
- 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, {
20651
20674
  content: (Pe, De) => /* @__PURE__ */ l.jsx(Bp, { id: Pe, message: String(De), variant: "rechazar" })
20652
20675
  }), ke());
20653
20676
  }, Xe = async (J, Pe) => {
@@ -20714,10 +20737,10 @@ const iT = (e, t, r) => {
20714
20737
  mainContent: /* @__PURE__ */ l.jsx(vk, { onSeeMoreClick: Ne, currentDate: s, events: de, onDayClick: $, onEventClick: Ue })
20715
20738
  }
20716
20739
  ),
20717
- u && /* @__PURE__ */ l.jsx(H4, { isVisible: u, onClose: Ge, onSave: Ke, onDelete: _t, selectedDate: p, initialEvent: f, userId: e, masNombreBD: o, disId: n }),
20718
- /* @__PURE__ */ l.jsx(q4, { isOpen: S, onClose: () => E(!1), events: T, date: U, onEventClick: Ue }),
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 }),
20719
20742
  He && /* @__PURE__ */ l.jsx(
20720
- cT,
20743
+ c4,
20721
20744
  {
20722
20745
  open: !!Y,
20723
20746
  onClose: ke,
@@ -20731,11 +20754,11 @@ const iT = (e, t, r) => {
20731
20754
  }
20732
20755
  )
20733
20756
  ] });
20734
- }, lT = "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", uT = "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";
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";
20735
20758
  function Yc(e, t, r) {
20736
20759
  return e.accessor ? e.accessor(t, r) : e.field ? t?.[e.field] : t?.[e?.key || ""];
20737
20760
  }
20738
- function dT(e, t) {
20761
+ function d4(e, t) {
20739
20762
  const r = e ?? "", n = t ?? "";
20740
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, {
20741
20764
  numeric: !0,
@@ -20745,14 +20768,14 @@ function dT(e, t) {
20745
20768
  function qc(e, t, r = !0) {
20746
20769
  return typeof e == "function" ? e(t) : e ?? r;
20747
20770
  }
20748
- function fT(e) {
20771
+ function f4(e) {
20749
20772
  return e.replace(/[^\d]/g, "");
20750
20773
  }
20751
- function pT(e, t) {
20774
+ function p4(e, t) {
20752
20775
  return t;
20753
20776
  }
20754
20777
  var _s = {}, Up;
20755
- function hT() {
20778
+ function h4() {
20756
20779
  if (Up) return _s;
20757
20780
  Up = 1;
20758
20781
  var e = nt();
@@ -20764,10 +20787,10 @@ function hT() {
20764
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"
20765
20788
  }), "FilterAlt"), _s;
20766
20789
  }
20767
- var mT = /* @__PURE__ */ hT();
20768
- const gT = /* @__PURE__ */ rt(mT);
20790
+ var m4 = /* @__PURE__ */ h4();
20791
+ const g4 = /* @__PURE__ */ rt(m4);
20769
20792
  var xs = {}, Vp;
20770
- function vT() {
20793
+ function v4() {
20771
20794
  if (Vp) return xs;
20772
20795
  Vp = 1;
20773
20796
  var e = nt();
@@ -20779,10 +20802,10 @@ function vT() {
20779
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"
20780
20803
  }), "SearchRounded"), xs;
20781
20804
  }
20782
- var yT = /* @__PURE__ */ vT();
20783
- const bT = /* @__PURE__ */ rt(yT);
20805
+ var y4 = /* @__PURE__ */ v4();
20806
+ const b4 = /* @__PURE__ */ rt(y4);
20784
20807
  var ws = {}, Hp;
20785
- function _T() {
20808
+ function _4() {
20786
20809
  if (Hp) return ws;
20787
20810
  Hp = 1;
20788
20811
  var e = nt();
@@ -20794,10 +20817,10 @@ function _T() {
20794
20817
  d: "M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"
20795
20818
  }), "KeyboardArrowDown"), ws;
20796
20819
  }
20797
- var xT = /* @__PURE__ */ _T();
20798
- const wT = /* @__PURE__ */ rt(xT);
20820
+ var x4 = /* @__PURE__ */ _4();
20821
+ const w4 = /* @__PURE__ */ rt(x4);
20799
20822
  var Ss = {}, Yp;
20800
- function ST() {
20823
+ function S4() {
20801
20824
  if (Yp) return Ss;
20802
20825
  Yp = 1;
20803
20826
  var e = nt();
@@ -20809,8 +20832,8 @@ function ST() {
20809
20832
  d: "M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6z"
20810
20833
  }), "KeyboardArrowUp"), Ss;
20811
20834
  }
20812
- var CT = /* @__PURE__ */ ST();
20813
- const ET = /* @__PURE__ */ rt(CT);
20835
+ var C4 = /* @__PURE__ */ S4();
20836
+ const E4 = /* @__PURE__ */ rt(C4);
20814
20837
  function qp(e) {
20815
20838
  return e === "right" ? "end" : e === "center" ? "center" : "start";
20816
20839
  }
@@ -20818,12 +20841,12 @@ function Zp(e) {
20818
20841
  const t = e.filter((r) => !r.width).length || 1;
20819
20842
  return e.map((r) => typeof r.width == "number" ? `${r.width}px` : typeof r.width == "string" ? r.width : `minmax(0, ${1 / t}fr)`).join(" ");
20820
20843
  }
20821
- const kT = 1060, Zc = (e, t) => e.metrics.find((r) => String(r.label).toLowerCase() === t.toLowerCase())?.value ?? "";
20822
- function DT({
20844
+ const k4 = 1060, Zc = (e, t) => e.metrics.find((r) => String(r.label).toLowerCase() === t.toLowerCase())?.value ?? "";
20845
+ function D4({
20823
20846
  sections: e,
20824
20847
  detailColumns: t,
20825
20848
  summaryWidths: r = ["1fr", 120, 120, 150],
20826
- minWidth: n = kT,
20849
+ minWidth: n = k4,
20827
20850
  getDetailColumns: o,
20828
20851
  onRowClick: s
20829
20852
  }) {
@@ -20895,7 +20918,7 @@ function DT({
20895
20918
  minWidth: 0
20896
20919
  },
20897
20920
  children: [
20898
- /* @__PURE__ */ l.jsx(Kt, { size: "small", disableRipple: !0, children: h ? /* @__PURE__ */ l.jsx(ET, {}) : /* @__PURE__ */ l.jsx(wT, {}) }),
20921
+ /* @__PURE__ */ l.jsx(Kt, { size: "small", disableRipple: !0, children: h ? /* @__PURE__ */ l.jsx(E4, {}) : /* @__PURE__ */ l.jsx(w4, {}) }),
20899
20922
  /* @__PURE__ */ l.jsx(
20900
20923
  be,
20901
20924
  {
@@ -21027,7 +21050,7 @@ function DT({
21027
21050
  );
21028
21051
  }
21029
21052
  var Cs = {}, Gp;
21030
- function AT() {
21053
+ function A4() {
21031
21054
  if (Gp) return Cs;
21032
21055
  Gp = 1;
21033
21056
  var e = nt();
@@ -21039,20 +21062,20 @@ function AT() {
21039
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"
21040
21063
  }), "AccessTimeFilled"), Cs;
21041
21064
  }
21042
- var TT = /* @__PURE__ */ AT();
21043
- const RT = /* @__PURE__ */ rt(TT), IT = (e) => e ? new Date(e).toLocaleDateString("es-MX", {
21065
+ var T4 = /* @__PURE__ */ A4();
21066
+ const R4 = /* @__PURE__ */ rt(T4), I4 = (e) => e ? new Date(e).toLocaleDateString("es-MX", {
21044
21067
  day: "2-digit",
21045
21068
  month: "short",
21046
21069
  year: "numeric"
21047
- }).replace(".", "") : "", PT = (e) => {
21070
+ }).replace(".", "") : "", P4 = (e) => {
21048
21071
  const t = `${e?.Nombre ?? ""} ${e?.Apellido ?? ""}`.trim();
21049
21072
  return t || (e?.IdAsesor ? e?.Correo ?? "Usuario" : "Sin asesor asignado");
21050
- }, MT = (e) => {
21073
+ }, M4 = (e) => {
21051
21074
  const t = (e || "").split(" ").filter(Boolean);
21052
21075
  return t.length >= 2 ? (t[0][0] + t[1][0]).toUpperCase() : (e?.[0] ?? "?").toUpperCase();
21053
21076
  };
21054
21077
  var Es = {}, Kp;
21055
- function OT() {
21078
+ function O4() {
21056
21079
  if (Kp) return Es;
21057
21080
  Kp = 1;
21058
21081
  var e = nt();
@@ -21064,8 +21087,8 @@ function OT() {
21064
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"
21065
21088
  }), "Create"), Es;
21066
21089
  }
21067
- var jT = /* @__PURE__ */ OT();
21068
- const NT = /* @__PURE__ */ rt(jT), Gc = ({
21090
+ var j4 = /* @__PURE__ */ O4();
21091
+ const N4 = /* @__PURE__ */ rt(j4), Gc = ({
21069
21092
  current: e = 0,
21070
21093
  total: t = 0,
21071
21094
  color: r = "#4caf50"
@@ -21097,7 +21120,7 @@ const NT = /* @__PURE__ */ rt(jT), Gc = ({
21097
21120
  }
21098
21121
  );
21099
21122
  var ks = {}, Xp;
21100
- function $T() {
21123
+ function $4() {
21101
21124
  if (Xp) return ks;
21102
21125
  Xp = 1;
21103
21126
  var e = nt();
@@ -21109,11 +21132,11 @@ function $T() {
21109
21132
  d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"
21110
21133
  }), "Add"), ks;
21111
21134
  }
21112
- var FT = /* @__PURE__ */ $T();
21113
- const Y0 = /* @__PURE__ */ rt(FT), LT = (e) => {
21135
+ var F4 = /* @__PURE__ */ $4();
21136
+ const Y0 = /* @__PURE__ */ rt(F4), L4 = (e) => {
21114
21137
  const t = String(e ?? "").toLowerCase().trim();
21115
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" };
21116
- }, zT = (e) => {
21139
+ }, z4 = (e) => {
21117
21140
  switch (parseInt(String(e ?? ""), 10)) {
21118
21141
  case 1:
21119
21142
  return "Por Asignar";
@@ -21156,7 +21179,7 @@ const Y0 = /* @__PURE__ */ rt(FT), LT = (e) => {
21156
21179
  default:
21157
21180
  return null;
21158
21181
  }
21159
- }, BT = (e) => {
21182
+ }, B4 = (e) => {
21160
21183
  switch (parseInt(String(e ?? ""), 10)) {
21161
21184
  case 1:
21162
21185
  return "Por asignar";
@@ -21173,7 +21196,7 @@ const Y0 = /* @__PURE__ */ rt(FT), LT = (e) => {
21173
21196
  default:
21174
21197
  return null;
21175
21198
  }
21176
- }, WT = (e) => {
21199
+ }, W4 = (e) => {
21177
21200
  switch (parseInt(String(e ?? ""), 10)) {
21178
21201
  case 0:
21179
21202
  return "Sin asignar";
@@ -21203,7 +21226,7 @@ const Y0 = /* @__PURE__ */ rt(FT), LT = (e) => {
21203
21226
  return null;
21204
21227
  }
21205
21228
  };
21206
- function UT(e) {
21229
+ function U4(e) {
21207
21230
  const t = new Date(e), r = t.toLocaleDateString("es-MX", {
21208
21231
  day: "2-digit",
21209
21232
  month: "short",
@@ -21214,13 +21237,13 @@ function UT(e) {
21214
21237
  });
21215
21238
  return `${r.replace(".", "")} • ${n}`;
21216
21239
  }
21217
- function VT(e) {
21240
+ function V4(e) {
21218
21241
  return e.replace(/<br\s*\/?>/gi, `
21219
21242
  `).replace(/\r\n/g, `
21220
21243
  `).replace(/\r/g, `
21221
21244
  `);
21222
21245
  }
21223
- const HT = {
21246
+ const H4 = {
21224
21247
  Todos: [],
21225
21248
  "Sin Asignar": ["Sin Asignar"],
21226
21249
  // ajusta si el backend manda otro texto
@@ -21241,7 +21264,7 @@ const HT = {
21241
21264
  "Sin Atender"
21242
21265
  //Me cambia Sin Atender Asignada
21243
21266
  ]
21244
- }, YT = {
21267
+ }, Y4 = {
21245
21268
  Todos: [],
21246
21269
  "Selección y presentación de vehículos": [
21247
21270
  "Selección y presentación de vehículos"
@@ -21252,7 +21275,7 @@ const HT = {
21252
21275
  ],
21253
21276
  "Entrega de vehículo": ["Entrega de vehículo"],
21254
21277
  "Negociación y Cierre": ["Negociación y Cierre"]
21255
- }, qT = {
21278
+ }, q4 = {
21256
21279
  Todos: [],
21257
21280
  "Algo interesado": ["Algo interesado"],
21258
21281
  Interesado: ["Interesado"],
@@ -21260,21 +21283,21 @@ const HT = {
21260
21283
  "Venta definitiva": ["Venta definitiva"],
21261
21284
  "No sé": ["No sé"]
21262
21285
  };
21263
- function ZT(e, t) {
21286
+ function Z4(e, t) {
21264
21287
  switch (e) {
21265
21288
  case "pruebas":
21266
- return BT(t) ?? "—";
21289
+ return B4(t) ?? "—";
21267
21290
  case "servicio":
21268
- return WT(t) ?? "—";
21291
+ return W4(t) ?? "—";
21269
21292
  case "nuevos":
21270
21293
  // tipoSOL === 'COT'
21271
21294
  case "seminuevos":
21272
21295
  // tipoSOL === 'SEMI'
21273
21296
  default:
21274
- return zT(t) ?? "—";
21297
+ return z4(t) ?? "—";
21275
21298
  }
21276
21299
  }
21277
- function GT({
21300
+ function G4({
21278
21301
  open: e,
21279
21302
  onClose: t,
21280
21303
  customer: r,
@@ -21435,14 +21458,14 @@ function GT({
21435
21458
  {
21436
21459
  key: "estatus",
21437
21460
  header: "Estatus",
21438
- accessor: (X) => /* @__PURE__ */ l.jsx(be, { sx: { fontWeight: 800, fontSize: 13 }, children: ZT(N, X.IdEstatus) }),
21461
+ accessor: (X) => /* @__PURE__ */ l.jsx(be, { sx: { fontWeight: 800, fontSize: 13 }, children: Z4(N, X.IdEstatus) }),
21439
21462
  width: 170
21440
21463
  },
21441
21464
  {
21442
21465
  key: "nivel",
21443
21466
  header: "Nivel de Interés",
21444
21467
  accessor: (X) => {
21445
- const { bg: _e, color: Ie } = LT(X.NivelInteres);
21468
+ const { bg: _e, color: Ie } = L4(X.NivelInteres);
21446
21469
  return /* @__PURE__ */ l.jsx(
21447
21470
  L,
21448
21471
  {
@@ -21630,15 +21653,15 @@ function GT({
21630
21653
  }
21631
21654
  if (J !== "Todos") {
21632
21655
  const Et = (_e.EstatusDescripcion ?? "").toLowerCase();
21633
- if (!(HT[J] ?? []).some((Bn) => Et === Bn.toLowerCase())) return !1;
21656
+ if (!(H4[J] ?? []).some((Bn) => Et === Bn.toLowerCase())) return !1;
21634
21657
  }
21635
21658
  if (De !== "Todos") {
21636
21659
  const Et = (_e.Actividad ?? "").toLowerCase();
21637
- if (!(YT[De] ?? []).some((Bn) => Et === Bn.toLowerCase())) return !1;
21660
+ if (!(Y4[De] ?? []).some((Bn) => Et === Bn.toLowerCase())) return !1;
21638
21661
  }
21639
21662
  if (Jt !== "Todos") {
21640
21663
  const Et = (_e.NivelInteres ?? "").toLowerCase();
21641
- if (!(qT[Jt] ?? []).some(
21664
+ if (!(q4[Jt] ?? []).some(
21642
21665
  (Bn) => Et === Bn.toLowerCase()
21643
21666
  )) return !1;
21644
21667
  }
@@ -21792,7 +21815,7 @@ function GT({
21792
21815
  "&:focus-visible": { outline: "none" }
21793
21816
  },
21794
21817
  "aria-label": "Editar nombre",
21795
- children: /* @__PURE__ */ l.jsx(NT, { sx: { fontSize: "1em" } })
21818
+ children: /* @__PURE__ */ l.jsx(N4, { sx: { fontSize: "1em" } })
21796
21819
  }
21797
21820
  )
21798
21821
  ]
@@ -21876,7 +21899,7 @@ function GT({
21876
21899
  sx: { ml: 0.5 },
21877
21900
  disableRipple: !0,
21878
21901
  children: /* @__PURE__ */ l.jsx(
21879
- RT,
21902
+ R4,
21880
21903
  {
21881
21904
  fontSize: "small",
21882
21905
  sx: { color: "#5C6372" }
@@ -21919,7 +21942,7 @@ function GT({
21919
21942
  Ne.length === 0 && /* @__PURE__ */ l.jsx(be, { variant: "body2", color: "text.secondary", children: "Sin actividad registrada." }),
21920
21943
  /* @__PURE__ */ l.jsxs(L, { children: [
21921
21944
  Ne?.map((N, X) => {
21922
- const _e = pe(N), Ie = VT(N.comentario || "");
21945
+ const _e = pe(N), Ie = V4(N.comentario || "");
21923
21946
  return /* @__PURE__ */ l.jsxs(L, { sx: { pb: 1.5 }, children: [
21924
21947
  /* @__PURE__ */ l.jsxs(
21925
21948
  jr,
@@ -21984,7 +22007,7 @@ function GT({
21984
22007
  ),
21985
22008
  /* @__PURE__ */ l.jsxs(jr, { spacing: 0, children: [
21986
22009
  /* @__PURE__ */ l.jsx(be, { variant: "body2", fontWeight: 600, children: _e }),
21987
- /* @__PURE__ */ l.jsx(be, { variant: "caption", color: "text.secondary", children: UT(N.fecAlta) })
22010
+ /* @__PURE__ */ l.jsx(be, { variant: "caption", color: "text.secondary", children: U4(N.fecAlta) })
21988
22011
  ] })
21989
22012
  ] }),
21990
22013
  X < Ne.length - 1 && /* @__PURE__ */ l.jsx(rn, { sx: { mt: 1.25 } })
@@ -22053,7 +22076,7 @@ function GT({
22053
22076
  /* @__PURE__ */ l.jsxs(L, { sx: { overflowY: "auto", py: 0.5, maxHeight: 200 }, children: [
22054
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" }) }),
22055
22078
  de.map((N, X) => {
22056
- const _e = PT(N), Ie = IT(
22079
+ const _e = P4(N), Ie = I4(
22057
22080
  N.FechaBaja ?? N.FechaAsignacion
22058
22081
  );
22059
22082
  return /* @__PURE__ */ l.jsx(L, { sx: { px: 1, py: 0.75 }, children: /* @__PURE__ */ l.jsxs(jr, { direction: "row", alignItems: "center", spacing: 1, children: [
@@ -22068,7 +22091,7 @@ function GT({
22068
22091
  fontSize: 14
22069
22092
  },
22070
22093
  src: N?.ImgAsesor ?? void 0,
22071
- children: MT(_e)
22094
+ children: M4(_e)
22072
22095
  }
22073
22096
  ),
22074
22097
  /* @__PURE__ */ l.jsx(L, { sx: { flex: 1, minWidth: 0 }, children: /* @__PURE__ */ l.jsx(be, { variant: "body2", noWrap: !0, children: _e }) }),
@@ -22196,7 +22219,7 @@ function GT({
22196
22219
  onChange: (N) => oe(N.target.value),
22197
22220
  InputProps: {
22198
22221
  endAdornment: /* @__PURE__ */ l.jsx(
22199
- bT,
22222
+ b4,
22200
22223
  {
22201
22224
  fontSize: "small",
22202
22225
  sx: { color: "#b6afaf" }
@@ -22320,7 +22343,7 @@ function GT({
22320
22343
  height: 40,
22321
22344
  mt: 2
22322
22345
  },
22323
- children: /* @__PURE__ */ l.jsx(gT, {})
22346
+ children: /* @__PURE__ */ l.jsx(g4, {})
22324
22347
  }
22325
22348
  ),
22326
22349
  Er && /* @__PURE__ */ l.jsx(
@@ -22386,7 +22409,7 @@ function GT({
22386
22409
  }
22387
22410
  ),
22388
22411
  /* @__PURE__ */ l.jsx(
22389
- DT,
22412
+ D4,
22390
22413
  {
22391
22414
  sections: Je,
22392
22415
  detailColumns: [],
@@ -22586,9 +22609,9 @@ function GT({
22586
22609
  }
22587
22610
  );
22588
22611
  }
22589
- const KT = "_tableClientes_acwe7_1", XT = "_tableResponsive_acwe7_1", Qp = {
22590
- tableClientes: KT,
22591
- tableResponsive: XT
22612
+ const K4 = "_tableClientes_acwe7_1", X4 = "_tableResponsive_acwe7_1", Qp = {
22613
+ tableClientes: K4,
22614
+ tableResponsive: X4
22592
22615
  };
22593
22616
  function Jp(e, t, r) {
22594
22617
  const {
@@ -22638,7 +22661,7 @@ function Jp(e, t, r) {
22638
22661
  if (de.stopPropagation(), f.onWhatsApp)
22639
22662
  return f.onWhatsApp(D);
22640
22663
  if (!H) return;
22641
- const j = h.countryCode ?? "52", K = fT(String(H));
22664
+ const j = h.countryCode ?? "52", K = f4(String(H));
22642
22665
  typeof window < "u" && window.open(`https://wa.me/${j}${K}`, "_blank");
22643
22666
  }, O = (de) => {
22644
22667
  if (de.stopPropagation(), f.onEmail)
@@ -22656,7 +22679,7 @@ function Jp(e, t, r) {
22656
22679
  title: p.whatsapp ?? "WhatsApp",
22657
22680
  onClick: W,
22658
22681
  style: { width: 24, height: 24 },
22659
- children: /* @__PURE__ */ l.jsx("img", { src: lT, alt: "WhatsApp" })
22682
+ children: /* @__PURE__ */ l.jsx("img", { src: l4, alt: "WhatsApp" })
22660
22683
  }
22661
22684
  ),
22662
22685
  q && /* @__PURE__ */ l.jsx(
@@ -22667,7 +22690,7 @@ function Jp(e, t, r) {
22667
22690
  title: p.email ?? "Email",
22668
22691
  onClick: O,
22669
22692
  style: { width: 24, height: 24 },
22670
- children: /* @__PURE__ */ l.jsx("img", { src: uT, alt: "Email" })
22693
+ children: /* @__PURE__ */ l.jsx("img", { src: u4, alt: "Email" })
22671
22694
  }
22672
22695
  ),
22673
22696
  z && /* @__PURE__ */ l.jsx(
@@ -22712,7 +22735,7 @@ function HR(e) {
22712
22735
  urlsQA: o = !0,
22713
22736
  defaultSort: s,
22714
22737
  minWidth: i = 1100,
22715
- rowKey: a = pT,
22738
+ rowKey: a = p4,
22716
22739
  haveOpenDetailFor: c = !0,
22717
22740
  defaults: u,
22718
22741
  detailConfig: d,
@@ -22755,7 +22778,7 @@ function HR(e) {
22755
22778
  if (!se) return t;
22756
22779
  const Q = [...t];
22757
22780
  return Q.sort((ae, ge) => {
22758
- const ue = Yc(se, ae, 0), fe = Yc(se, ge, 0), Ne = dT(ue, fe);
22781
+ const ue = Yc(se, ae, 0), fe = Yc(se, ge, 0), Ne = d4(ue, fe);
22759
22782
  return z.direction === "asc" ? Ne : -Ne;
22760
22783
  }), Q;
22761
22784
  }, [t, Ee, z, n]), Se = ct(() => {
@@ -22831,7 +22854,7 @@ function HR(e) {
22831
22854
  }
22832
22855
  ),
22833
22856
  ne.open && /* @__PURE__ */ l.jsx(
22834
- GT,
22857
+ G4,
22835
22858
  {
22836
22859
  open: ne.open,
22837
22860
  onClose: K,
@@ -22882,7 +22905,7 @@ const q0 = G.forwardRef(
22882
22905
  )
22883
22906
  );
22884
22907
  q0.displayName = "SoftInput";
22885
- function QT({ message: e }) {
22908
+ function Q4({ message: e }) {
22886
22909
  return e ? /* @__PURE__ */ l.jsxs(
22887
22910
  L,
22888
22911
  {
@@ -22911,12 +22934,12 @@ function QT({ message: e }) {
22911
22934
  }
22912
22935
  ) : null;
22913
22936
  }
22914
- function JT(e) {
22937
+ function J4(e) {
22915
22938
  if (e.required)
22916
22939
  return e.required === !0 ? "El campo es obligatorio." : e.required;
22917
22940
  }
22918
22941
  function ku(e, t) {
22919
- const r = JT(e);
22942
+ const r = J4(e);
22920
22943
  return r ? t?.isArray ? {
22921
22944
  required: r,
22922
22945
  validate: (n) => Array.isArray(n) && n.length > 0 || r
@@ -22956,7 +22979,7 @@ function Du({
22956
22979
  return /* @__PURE__ */ l.jsxs(lh, { fullWidth: !0, error: !!t, sx: o, className: "1- FieldWrapper", children: [
22957
22980
  /* @__PURE__ */ l.jsx(ng, { sx: eR, children: e }),
22958
22981
  n,
22959
- /* @__PURE__ */ l.jsx(QT, { message: t || r })
22982
+ /* @__PURE__ */ l.jsx(Q4, { message: t || r })
22960
22983
  ] });
22961
22984
  }
22962
22985
  function tR(e, t) {