react-ecosistema-unp 2.0.0 → 2.1.0

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.
@@ -6,9 +6,9 @@ import { Animacion as Mt } from "../../ui/animacion/Animacion.js";
6
6
  import { getNotificaciones as rn, getUnreadCount as sn, eliminarNotificacionesLeidas as cn, eliminarNotificacion as ln, marcarLeida as fn, marcarNoLeida as un } from "./services/notificacionesService.js";
7
7
  import "../../index-Cy8qF6oY.js";
8
8
  import "../../utils/websocket-manager/WebSocketContext.js";
9
- import { useWebSocket as dn } from "../../utils/websocket-manager/useWebSocket.js";
10
- import { i as mn, a3 as pn } from "../../index-h-TtOxhs.js";
11
- import '../../assets/Trazabilidad.css';import '../../assets/TarjetaInfo.css';import '../../assets/ContenedorTarjeta.css';import '../../assets/SmartTextArea.css';import '../../assets/EcoFooter.css';import '../../assets/ResumenEvaluacion.css';import '../../assets/AlertaFormulario.css';import '../../assets/SeccionFormulario.css';import '../../assets/CardGestionLateral.css';import '../../assets/NavFormulariosLateral.css';import '../../assets/DatosBasicosCard.css';import '../../assets/StatusFilterBar.css';import '../../assets/PaginadorV2.css';import '../../assets/StatusSemaphore.css';import '../../assets/TableSkeleton.css';import '../../assets/SeccionTarjetaLectura.css';import '../../assets/TarjetaLectura.css';import '../../assets/Bootstrap.css';import '../../assets/Tarjeta.css';import '../../assets/EcoModalStyles.css';import '../../assets/Modal.css';import '../../assets/ContenedorVentana.css';import '../../assets/IconoTooltip.css';import '../../assets/ItemsModal.css';import '../../assets/StepperV2.css';import '../../assets/Paginador.css';import '../../assets/ContenidoModalV2.css';import '../../assets/ContenidoModal.css';import '../../assets/Encabezado.css';import '../../assets/Logo.css';import '../../assets/NotificacionUsuario.css';/* empty css */
9
+ import { useWebSocket as mn } from "../../utils/websocket-manager/useWebSocket.js";
10
+ import { i as dn, a3 as pn } from "../../index-h-TtOxhs.js";
11
+ import '../../assets/SileoNotifications.css';import '../../assets/Trazabilidad.css';import '../../assets/TarjetaInfo.css';import '../../assets/ContenedorTarjeta.css';import '../../assets/SmartTextArea.css';import '../../assets/EcoFooter.css';import '../../assets/ResumenEvaluacion.css';import '../../assets/AlertaFormulario.css';import '../../assets/SeccionFormulario.css';import '../../assets/CardGestionLateral.css';import '../../assets/NavFormulariosLateral.css';import '../../assets/DatosBasicosCard.css';import '../../assets/StatusFilterBar.css';import '../../assets/PaginadorV2.css';import '../../assets/StatusSemaphore.css';import '../../assets/TableSkeleton.css';import '../../assets/SeccionTarjetaLectura.css';import '../../assets/TarjetaLectura.css';import '../../assets/Bootstrap.css';import '../../assets/Tarjeta.css';import '../../assets/EcoModalStyles.css';import '../../assets/Modal.css';import '../../assets/ContenedorVentana.css';import '../../assets/IconoTooltip.css';import '../../assets/ItemsModal.css';import '../../assets/StepperV2.css';import '../../assets/Paginador.css';import '../../assets/ContenidoModalV2.css';import '../../assets/ContenidoModal.css';import '../../assets/Encabezado.css';import '../../assets/Logo.css';import '../../assets/NotificacionUsuario.css';/* empty css */
12
12
  /* empty css */
13
13
  import "../../ui/subtitulo/Subtitulo.js";
14
14
  /* empty css */
@@ -43,7 +43,8 @@ import { NotificacionBellV2 as hn } from "../../ui/notificacion-popover-v2/Notif
43
43
  /* empty css */
44
44
  /* empty css */
45
45
  /* empty css */
46
- import "../../SileoNotifications-BESOBARG.js";
46
+ /* empty css */
47
+ import "../../index-C1R4rkuA.js";
47
48
  import "../../auth/contexts/AuthContex.js";
48
49
  /* empty css */
49
50
  import { c as gn } from "../../index-ZphT3dr_.js";
@@ -53,7 +54,7 @@ const Gt = /* @__PURE__ */ Qt.forwardRef(({
53
54
  bg: o = "primary",
54
55
  pill: f = !1,
55
56
  text: s,
56
- className: m,
57
+ className: d,
57
58
  as: R = "span",
58
59
  ...v
59
60
  }, K) => {
@@ -61,7 +62,7 @@ const Gt = /* @__PURE__ */ Qt.forwardRef(({
61
62
  return /* @__PURE__ */ c(R, {
62
63
  ref: K,
63
64
  ...v,
64
- className: gn(m, z, f && "rounded-pill", s && `text-${s}`, o && `bg-${o}`)
65
+ className: gn(d, z, f && "rounded-pill", s && `text-${s}`, o && `bg-${o}`)
65
66
  });
66
67
  });
67
68
  Gt.displayName = "Badge";
@@ -78,7 +79,7 @@ let {
78
79
  seal: F,
79
80
  create: $e
80
81
  } = Object, {
81
- apply: mt,
82
+ apply: dt,
82
83
  construct: pt
83
84
  } = typeof Reflect < "u" && Reflect;
84
85
  M || (M = function(o) {
@@ -87,23 +88,23 @@ M || (M = function(o) {
87
88
  F || (F = function(o) {
88
89
  return o;
89
90
  });
90
- mt || (mt = function(o, f) {
91
- for (var s = arguments.length, m = new Array(s > 2 ? s - 2 : 0), R = 2; R < s; R++)
92
- m[R - 2] = arguments[R];
93
- return o.apply(f, m);
91
+ dt || (dt = function(o, f) {
92
+ for (var s = arguments.length, d = new Array(s > 2 ? s - 2 : 0), R = 2; R < s; R++)
93
+ d[R - 2] = arguments[R];
94
+ return o.apply(f, d);
94
95
  });
95
96
  pt || (pt = function(o) {
96
- for (var f = arguments.length, s = new Array(f > 1 ? f - 1 : 0), m = 1; m < f; m++)
97
- s[m - 1] = arguments[m];
97
+ for (var f = arguments.length, s = new Array(f > 1 ? f - 1 : 0), d = 1; d < f; d++)
98
+ s[d - 1] = arguments[d];
98
99
  return new o(...s);
99
100
  });
100
101
  const je = x(Array.prototype.forEach), Nn = x(Array.prototype.lastIndexOf), vt = x(Array.prototype.pop), be = x(Array.prototype.push), Sn = x(Array.prototype.splice), Ve = x(String.prototype.toLowerCase), st = x(String.prototype.toString), ct = x(String.prototype.match), Le = x(String.prototype.replace), Rn = x(String.prototype.indexOf), yn = x(String.prototype.trim), k = x(Object.prototype.hasOwnProperty), w = x(RegExp.prototype.test), De = bn(TypeError);
101
102
  function x(l) {
102
103
  return function(o) {
103
104
  o instanceof RegExp && (o.lastIndex = 0);
104
- for (var f = arguments.length, s = new Array(f > 1 ? f - 1 : 0), m = 1; m < f; m++)
105
- s[m - 1] = arguments[m];
106
- return mt(l, o, s);
105
+ for (var f = arguments.length, s = new Array(f > 1 ? f - 1 : 0), d = 1; d < f; d++)
106
+ s[d - 1] = arguments[d];
107
+ return dt(l, o, s);
107
108
  };
108
109
  }
109
110
  function bn(l) {
@@ -113,17 +114,17 @@ function bn(l) {
113
114
  return pt(l, f);
114
115
  };
115
116
  }
116
- function d(l, o) {
117
+ function m(l, o) {
117
118
  let f = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Ve;
118
119
  xt && xt(l, null);
119
120
  let s = o.length;
120
121
  for (; s--; ) {
121
- let m = o[s];
122
- if (typeof m == "string") {
123
- const R = f(m);
124
- R !== m && (_n(o) || (o[s] = R), m = R);
122
+ let d = o[s];
123
+ if (typeof d == "string") {
124
+ const R = f(d);
125
+ R !== d && (_n(o) || (o[s] = R), d = R);
125
126
  }
126
- l[m] = !0;
127
+ l[d] = !0;
127
128
  }
128
129
  return l;
129
130
  }
@@ -154,7 +155,7 @@ function Ce(l, o) {
154
155
  }
155
156
  return f;
156
157
  }
157
- const Pt = M(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), lt = M(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), ft = M(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Dn = M(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), ut = M(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Cn = M(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), kt = M(["#text"]), Ut = M(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), dt = M(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Ft = M(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Ye = M(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), On = F(/\{\{[\w\W]*|[\w\W]*\}\}/gm), In = F(/<%[\w\W]*|[\w\W]*%>/gm), wn = F(/\$\{[\w\W]*/gm), Mn = F(/^data-[\-\w.\u00B7-\uFFFF]+$/), xn = F(/^aria-[\-\w]+$/), Wt = F(
158
+ const Pt = M(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), lt = M(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), ft = M(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Dn = M(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), ut = M(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Cn = M(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), kt = M(["#text"]), Ut = M(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), mt = M(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Ft = M(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Ye = M(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), On = F(/\{\{[\w\W]*|[\w\W]*\}\}/gm), In = F(/<%[\w\W]*|[\w\W]*%>/gm), wn = F(/\$\{[\w\W]*/gm), Mn = F(/^data-[\-\w.\u00B7-\uFFFF]+$/), xn = F(/^aria-[\-\w]+$/), Wt = F(
158
159
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
159
160
  // eslint-disable-line no-useless-escape
160
161
  ), vn = F(/^(?:\w+script|data):/i), Pn = F(
@@ -187,8 +188,8 @@ const Oe = {
187
188
  if (typeof o != "object" || typeof o.createPolicy != "function")
188
189
  return null;
189
190
  let s = null;
190
- const m = "data-tt-policy-suffix";
191
- f && f.hasAttribute(m) && (s = f.getAttribute(m));
191
+ const d = "data-tt-policy-suffix";
192
+ f && f.hasAttribute(d) && (s = f.getAttribute(d));
192
193
  const R = "dompurify" + (s ? "#" + s : "");
193
194
  try {
194
195
  return o.createPolicy(R, {
@@ -223,7 +224,7 @@ function Yt() {
223
224
  let {
224
225
  document: f
225
226
  } = l;
226
- const s = f, m = s.currentScript, {
227
+ const s = f, d = s.currentScript, {
227
228
  DocumentFragment: R,
228
229
  HTMLTemplateElement: v,
229
230
  Node: K,
@@ -233,14 +234,14 @@ function Yt() {
233
234
  HTMLFormElement: qe,
234
235
  DOMParser: Ie,
235
236
  trustedTypes: ue
236
- } = l, oe = z.prototype, Ke = Ce(oe, "cloneNode"), Ze = Ce(oe, "remove"), Je = Ce(oe, "nextSibling"), we = Ce(oe, "childNodes"), de = Ce(oe, "parentNode");
237
+ } = l, oe = z.prototype, Ke = Ce(oe, "cloneNode"), Ze = Ce(oe, "remove"), Je = Ce(oe, "nextSibling"), we = Ce(oe, "childNodes"), me = Ce(oe, "parentNode");
237
238
  if (typeof v == "function") {
238
239
  const r = f.createElement("template");
239
240
  r.content && r.content.ownerDocument && (f = r.content.ownerDocument);
240
241
  }
241
242
  let L, Z = "";
242
243
  const {
243
- implementation: me,
244
+ implementation: de,
244
245
  createNodeIterator: Qe,
245
246
  createDocumentFragment: Me,
246
247
  getElementsByTagName: xe
@@ -248,7 +249,7 @@ function Yt() {
248
249
  importNode: pe
249
250
  } = s;
250
251
  let y = zt();
251
- o.isSupported = typeof Bt == "function" && typeof de == "function" && me && me.createHTMLDocument !== void 0;
252
+ o.isSupported = typeof Bt == "function" && typeof me == "function" && de && de.createHTMLDocument !== void 0;
252
253
  const {
253
254
  MUSTACHE_EXPR: J,
254
255
  ERB_EXPR: $,
@@ -262,9 +263,9 @@ function Yt() {
262
263
  let {
263
264
  IS_ALLOWED_URI: Ne
264
265
  } = Ht, A = null;
265
- const Pe = d({}, [...Pt, ...lt, ...ft, ...ut, ...kt]);
266
+ const Pe = m({}, [...Pt, ...lt, ...ft, ...ut, ...kt]);
266
267
  let E = null;
267
- const ke = d({}, [...Ut, ...dt, ...Ft, ...Ye]);
268
+ const ke = m({}, [...Ut, ...mt, ...Ft, ...Ye]);
268
269
  let T = Object.seal($e(null, {
269
270
  tagNameCheck: {
270
271
  writable: !0,
@@ -302,15 +303,15 @@ function Yt() {
302
303
  let Se = !0, Q = !0, Re = !1, Ue = !0, U = !1, ee = !0, W = !1, he = !1, te = !1, H = !1, ce = !1, le = !1, ne = !0, Fe = !1;
303
304
  const t = "user-content-";
304
305
  let i = !0, u = !1, h = {}, p = null;
305
- const g = d({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
306
+ const g = m({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
306
307
  let ht = null;
307
- const gt = d({}, ["audio", "video", "img", "source", "image", "track"]);
308
+ const gt = m({}, ["audio", "video", "img", "source", "image", "track"]);
308
309
  let et = null;
309
- const Tt = d({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), He = "http://www.w3.org/1998/Math/MathML", ze = "http://www.w3.org/2000/svg", V = "http://www.w3.org/1999/xhtml";
310
+ const Tt = m({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), He = "http://www.w3.org/1998/Math/MathML", ze = "http://www.w3.org/2000/svg", V = "http://www.w3.org/1999/xhtml";
310
311
  let ge = V, tt = !1, nt = null;
311
- const $t = d({}, [He, ze, V], st);
312
- let Ge = d({}, ["mi", "mo", "mn", "ms", "mtext"]), Be = d({}, ["annotation-xml"]);
313
- const Vt = d({}, ["title", "style", "font", "a", "script"]);
312
+ const $t = m({}, [He, ze, V], st);
313
+ let Ge = m({}, ["mi", "mo", "mn", "ms", "mtext"]), Be = m({}, ["annotation-xml"]);
314
+ const Vt = m({}, ["title", "style", "font", "a", "script"]);
314
315
  let ye = null;
315
316
  const Xt = ["application/xhtml+xml", "text/html"], qt = "text/html";
316
317
  let b = null, Te = null;
@@ -320,18 +321,18 @@ function Yt() {
320
321
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
321
322
  if (!(Te && Te === e)) {
322
323
  if ((!e || typeof e != "object") && (e = {}), e = Y(e), ye = // eslint-disable-next-line unicorn/prefer-includes
323
- Xt.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? qt : e.PARSER_MEDIA_TYPE, b = ye === "application/xhtml+xml" ? st : Ve, A = k(e, "ALLOWED_TAGS") ? d({}, e.ALLOWED_TAGS, b) : Pe, E = k(e, "ALLOWED_ATTR") ? d({}, e.ALLOWED_ATTR, b) : ke, nt = k(e, "ALLOWED_NAMESPACES") ? d({}, e.ALLOWED_NAMESPACES, st) : $t, et = k(e, "ADD_URI_SAFE_ATTR") ? d(Y(Tt), e.ADD_URI_SAFE_ATTR, b) : Tt, ht = k(e, "ADD_DATA_URI_TAGS") ? d(Y(gt), e.ADD_DATA_URI_TAGS, b) : gt, p = k(e, "FORBID_CONTENTS") ? d({}, e.FORBID_CONTENTS, b) : g, re = k(e, "FORBID_TAGS") ? d({}, e.FORBID_TAGS, b) : Y({}), se = k(e, "FORBID_ATTR") ? d({}, e.FORBID_ATTR, b) : Y({}), h = k(e, "USE_PROFILES") ? e.USE_PROFILES : !1, Se = e.ALLOW_ARIA_ATTR !== !1, Q = e.ALLOW_DATA_ATTR !== !1, Re = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Ue = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, U = e.SAFE_FOR_TEMPLATES || !1, ee = e.SAFE_FOR_XML !== !1, W = e.WHOLE_DOCUMENT || !1, H = e.RETURN_DOM || !1, ce = e.RETURN_DOM_FRAGMENT || !1, le = e.RETURN_TRUSTED_TYPE || !1, te = e.FORCE_BODY || !1, ne = e.SANITIZE_DOM !== !1, Fe = e.SANITIZE_NAMED_PROPS || !1, i = e.KEEP_CONTENT !== !1, u = e.IN_PLACE || !1, Ne = e.ALLOWED_URI_REGEXP || Wt, ge = e.NAMESPACE || V, Ge = e.MATHML_TEXT_INTEGRATION_POINTS || Ge, Be = e.HTML_INTEGRATION_POINTS || Be, T = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && _t(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (T.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && _t(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (T.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (T.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), U && (Q = !1), ce && (H = !0), h && (A = d({}, kt), E = $e(null), h.html === !0 && (d(A, Pt), d(E, Ut)), h.svg === !0 && (d(A, lt), d(E, dt), d(E, Ye)), h.svgFilters === !0 && (d(A, ft), d(E, dt), d(E, Ye)), h.mathMl === !0 && (d(A, ut), d(E, Ft), d(E, Ye))), k(e, "ADD_TAGS") || (B.tagCheck = null), k(e, "ADD_ATTR") || (B.attributeCheck = null), e.ADD_TAGS && (typeof e.ADD_TAGS == "function" ? B.tagCheck = e.ADD_TAGS : (A === Pe && (A = Y(A)), d(A, e.ADD_TAGS, b))), e.ADD_ATTR && (typeof e.ADD_ATTR == "function" ? B.attributeCheck = e.ADD_ATTR : (E === ke && (E = Y(E)), d(E, e.ADD_ATTR, b))), e.ADD_URI_SAFE_ATTR && d(et, e.ADD_URI_SAFE_ATTR, b), e.FORBID_CONTENTS && (p === g && (p = Y(p)), d(p, e.FORBID_CONTENTS, b)), e.ADD_FORBID_CONTENTS && (p === g && (p = Y(p)), d(p, e.ADD_FORBID_CONTENTS, b)), i && (A["#text"] = !0), W && d(A, ["html", "head", "body"]), A.table && (d(A, ["tbody"]), delete re.tbody), e.TRUSTED_TYPES_POLICY) {
324
+ Xt.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? qt : e.PARSER_MEDIA_TYPE, b = ye === "application/xhtml+xml" ? st : Ve, A = k(e, "ALLOWED_TAGS") ? m({}, e.ALLOWED_TAGS, b) : Pe, E = k(e, "ALLOWED_ATTR") ? m({}, e.ALLOWED_ATTR, b) : ke, nt = k(e, "ALLOWED_NAMESPACES") ? m({}, e.ALLOWED_NAMESPACES, st) : $t, et = k(e, "ADD_URI_SAFE_ATTR") ? m(Y(Tt), e.ADD_URI_SAFE_ATTR, b) : Tt, ht = k(e, "ADD_DATA_URI_TAGS") ? m(Y(gt), e.ADD_DATA_URI_TAGS, b) : gt, p = k(e, "FORBID_CONTENTS") ? m({}, e.FORBID_CONTENTS, b) : g, re = k(e, "FORBID_TAGS") ? m({}, e.FORBID_TAGS, b) : Y({}), se = k(e, "FORBID_ATTR") ? m({}, e.FORBID_ATTR, b) : Y({}), h = k(e, "USE_PROFILES") ? e.USE_PROFILES : !1, Se = e.ALLOW_ARIA_ATTR !== !1, Q = e.ALLOW_DATA_ATTR !== !1, Re = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Ue = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, U = e.SAFE_FOR_TEMPLATES || !1, ee = e.SAFE_FOR_XML !== !1, W = e.WHOLE_DOCUMENT || !1, H = e.RETURN_DOM || !1, ce = e.RETURN_DOM_FRAGMENT || !1, le = e.RETURN_TRUSTED_TYPE || !1, te = e.FORCE_BODY || !1, ne = e.SANITIZE_DOM !== !1, Fe = e.SANITIZE_NAMED_PROPS || !1, i = e.KEEP_CONTENT !== !1, u = e.IN_PLACE || !1, Ne = e.ALLOWED_URI_REGEXP || Wt, ge = e.NAMESPACE || V, Ge = e.MATHML_TEXT_INTEGRATION_POINTS || Ge, Be = e.HTML_INTEGRATION_POINTS || Be, T = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && _t(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (T.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && _t(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (T.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (T.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), U && (Q = !1), ce && (H = !0), h && (A = m({}, kt), E = $e(null), h.html === !0 && (m(A, Pt), m(E, Ut)), h.svg === !0 && (m(A, lt), m(E, mt), m(E, Ye)), h.svgFilters === !0 && (m(A, ft), m(E, mt), m(E, Ye)), h.mathMl === !0 && (m(A, ut), m(E, Ft), m(E, Ye))), k(e, "ADD_TAGS") || (B.tagCheck = null), k(e, "ADD_ATTR") || (B.attributeCheck = null), e.ADD_TAGS && (typeof e.ADD_TAGS == "function" ? B.tagCheck = e.ADD_TAGS : (A === Pe && (A = Y(A)), m(A, e.ADD_TAGS, b))), e.ADD_ATTR && (typeof e.ADD_ATTR == "function" ? B.attributeCheck = e.ADD_ATTR : (E === ke && (E = Y(E)), m(E, e.ADD_ATTR, b))), e.ADD_URI_SAFE_ATTR && m(et, e.ADD_URI_SAFE_ATTR, b), e.FORBID_CONTENTS && (p === g && (p = Y(p)), m(p, e.FORBID_CONTENTS, b)), e.ADD_FORBID_CONTENTS && (p === g && (p = Y(p)), m(p, e.ADD_FORBID_CONTENTS, b)), i && (A["#text"] = !0), W && m(A, ["html", "head", "body"]), A.table && (m(A, ["tbody"]), delete re.tbody), e.TRUSTED_TYPES_POLICY) {
324
325
  if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
325
326
  throw De('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
326
327
  if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
327
328
  throw De('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
328
329
  L = e.TRUSTED_TYPES_POLICY, Z = L.createHTML("");
329
330
  } else
330
- L === void 0 && (L = Fn(ue, m)), L !== null && typeof Z == "string" && (Z = L.createHTML(""));
331
+ L === void 0 && (L = Fn(ue, d)), L !== null && typeof Z == "string" && (Z = L.createHTML(""));
331
332
  M && M(e), Te = e;
332
333
  }
333
- }, Et = d({}, [...lt, ...ft, ...Dn]), At = d({}, [...ut, ...Cn]), Zt = function(e) {
334
- let n = de(e);
334
+ }, Et = m({}, [...lt, ...ft, ...Dn]), At = m({}, [...ut, ...Cn]), Zt = function(e) {
335
+ let n = me(e);
335
336
  (!n || !n.tagName) && (n = {
336
337
  namespaceURI: ge,
337
338
  tagName: "template"
@@ -343,7 +344,7 @@ function Yt() {
343
344
  element: e
344
345
  });
345
346
  try {
346
- de(e).removeChild(e);
347
+ me(e).removeChild(e);
347
348
  } catch {
348
349
  Ze(e);
349
350
  }
@@ -386,7 +387,7 @@ function Yt() {
386
387
  } catch {
387
388
  }
388
389
  if (!n || !n.documentElement) {
389
- n = me.createDocument(ge, "template", null);
390
+ n = de.createDocument(ge, "template", null);
390
391
  try {
391
392
  n.documentElement.innerHTML = tt ? Z : _;
392
393
  } catch {
@@ -426,7 +427,7 @@ function Yt() {
426
427
  if (!re[a] && Lt(a) && (T.tagNameCheck instanceof RegExp && w(T.tagNameCheck, a) || T.tagNameCheck instanceof Function && T.tagNameCheck(a)))
427
428
  return !1;
428
429
  if (i && !p[a]) {
429
- const _ = de(e) || e.parentNode, I = we(e) || e.childNodes;
430
+ const _ = me(e) || e.parentNode, I = we(e) || e.childNodes;
430
431
  if (I && _) {
431
432
  const N = I.length;
432
433
  for (let P = N - 1; P >= 0; --P) {
@@ -615,16 +616,16 @@ function Yt() {
615
616
  }, o;
616
617
  }
617
618
  var Hn = Yt();
618
- const Pi = ({ variant: l = "normal" }) => {
619
- const [o, f] = O(!1), [s, m] = O([]), [R, v] = O([]), [K, z] = O([]), [ie, Xe] = O(1), [qe, Ie] = O(1), [ue, oe] = O(1), [Ke, Ze] = O(!0), [Je, we] = O(!0), [de, L] = O(!0), [Z, me] = O(!1), [Qe, Me] = O(!1), [xe, pe] = O(!1), [y, J] = O(0), [$, Ee] = O(null), [G, ae] = O(null), [D, Ae] = O("unread"), ve = It(null), Ne = It(null), A = () => {
619
+ const ki = ({ variant: l = "normal" }) => {
620
+ const [o, f] = O(!1), [s, d] = O([]), [R, v] = O([]), [K, z] = O([]), [ie, Xe] = O(1), [qe, Ie] = O(1), [ue, oe] = O(1), [Ke, Ze] = O(!0), [Je, we] = O(!0), [me, L] = O(!0), [Z, de] = O(!1), [Qe, Me] = O(!1), [xe, pe] = O(!1), [y, J] = O(0), [$, Ee] = O(null), [G, ae] = O(null), [D, Ae] = O("unread"), ve = It(null), Ne = It(null), A = () => {
620
621
  var u;
621
622
  const t = localStorage.getItem("auth_state"), i = t ? JSON.parse(t) : null;
622
623
  return ((u = i == null ? void 0 : i.user) == null ? void 0 : u.id_busuario) || "";
623
624
  }, Pe = window.location.host.includes("localhost") ? "" : `wss://${window.location.host}/notificaciones`;
624
- dn(
625
+ mn(
625
626
  Pe,
626
627
  (t) => {
627
- console.log("Notificación recibida"), !(!t || !t.id_notificacionusuario || t.usuario_id !== A()) && (m(
628
+ console.log("Notificación recibida"), !(!t || !t.id_notificacionusuario || t.usuario_id !== A()) && (d(
628
629
  (i) => i.some((u) => u.id_notificacionusuario === t.id_notificacionusuario) ? i : [t, ...i]
629
630
  ), z(
630
631
  (i) => i.some((u) => u.id_notificacionusuario === t.id_notificacionusuario) ? i : [t, ...i]
@@ -647,7 +648,7 @@ const Pi = ({ variant: l = "normal" }) => {
647
648
  try {
648
649
  i === 1 && (Me(!0), pe(!1));
649
650
  const h = await rn(t === "read" ? !0 : t === "unread" ? !1 : void 0, i), p = h.results;
650
- t === "all" ? (m((g) => i === 1 ? p : [...g, ...p]), Ze(!!h.next), Xe(i)) : t === "read" ? (v((g) => i === 1 ? p : [...g, ...p]), we(!!h.next), Ie(i)) : (z((g) => i === 1 ? p : [...g, ...p]), L(!!h.next), oe(i));
651
+ t === "all" ? (d((g) => i === 1 ? p : [...g, ...p]), Ze(!!h.next), Xe(i)) : t === "read" ? (v((g) => i === 1 ? p : [...g, ...p]), we(!!h.next), Ie(i)) : (z((g) => i === 1 ? p : [...g, ...p]), L(!!h.next), oe(i));
651
652
  } catch {
652
653
  } finally {
653
654
  i === 1 && (Me(!1), pe(!0));
@@ -664,7 +665,7 @@ const Pi = ({ variant: l = "normal" }) => {
664
665
  case "Informativa":
665
666
  return /* @__PURE__ */ c(an, {});
666
667
  case "Novedad":
667
- return /* @__PURE__ */ c(mn, {});
668
+ return /* @__PURE__ */ c(dn, {});
668
669
  case "Noticia":
669
670
  return /* @__PURE__ */ c(on, {});
670
671
  default:
@@ -680,7 +681,7 @@ const Pi = ({ variant: l = "normal" }) => {
680
681
  const i = /* @__PURE__ */ new Date(), u = new Date(t), h = i.getTime() - u.getTime(), p = Math.floor(h / (1e3 * 60 * 60)), g = Math.floor(p / 24);
681
682
  return g > 3 ? u.toISOString().slice(0, 16).replace("T", " ") : g > 0 ? `hace ${g} día${g > 1 ? "s" : ""}` : p > 0 ? `hace ${p} hora${p > 1 ? "s" : ""}` : "hace menos de 1 hora";
682
683
  }, Ue = (t) => {
683
- D === "all" ? m(t) : D === "read" ? v(t) : z(t);
684
+ D === "all" ? d(t) : D === "read" ? v(t) : z(t);
684
685
  }, U = (t) => s.find((i) => i.id_notificacionusuario === t) || R.find((i) => i.id_notificacionusuario === t) || K.find((i) => i.id_notificacionusuario === t), ee = async (t) => {
685
686
  const i = U(t);
686
687
  if (!i) return;
@@ -688,7 +689,7 @@ const Pi = ({ variant: l = "normal" }) => {
688
689
  try {
689
690
  u ? await fn(t) : await un(t);
690
691
  const h = { ...i, leida: u };
691
- m((p) => p.map(
692
+ d((p) => p.map(
692
693
  (g) => g.id_notificacionusuario === t ? h : g
693
694
  )), v(
694
695
  (p) => u ? [h, ...p.filter((g) => g.id_notificacionusuario !== t)] : p.filter((g) => g.id_notificacionusuario !== t)
@@ -704,25 +705,25 @@ const Pi = ({ variant: l = "normal" }) => {
704
705
  const i = U(t);
705
706
  Ue(
706
707
  (u) => u.filter((h) => h.id_notificacionusuario !== t)
707
- ), m((u) => u.filter((h) => h.id_notificacionusuario !== t)), v((u) => u.filter((h) => h.id_notificacionusuario !== t)), z((u) => u.filter((h) => h.id_notificacionusuario !== t)), i && !i.leida && J((u) => u - 1);
708
+ ), d((u) => u.filter((h) => h.id_notificacionusuario !== t)), v((u) => u.filter((h) => h.id_notificacionusuario !== t)), z((u) => u.filter((h) => h.id_notificacionusuario !== t)), i && !i.leida && J((u) => u - 1);
708
709
  } catch (i) {
709
710
  console.error("Error eliminando notificación:", i);
710
711
  }
711
712
  }, he = async () => {
712
713
  try {
713
- await cn(), v([]), we(!1), Ie(1), m((t) => t.filter((i) => !i.leida)), D === "read" && Ee(null);
714
+ await cn(), v([]), we(!1), Ie(1), d((t) => t.filter((i) => !i.leida)), D === "read" && Ee(null);
714
715
  } catch (t) {
715
716
  console.error("Error eliminando notificaciones leídas:", t);
716
717
  }
717
- }, te = D === "all" ? s : D === "read" ? R : K, H = D === "all" ? Ke : D === "read" ? Je : de, ce = D === "all" ? ie : D === "read" ? qe : ue;
718
+ }, te = D === "all" ? s : D === "read" ? R : K, H = D === "all" ? Ke : D === "read" ? Je : me, ce = D === "all" ? ie : D === "read" ? qe : ue;
718
719
  We(() => {
719
720
  if (!xe || !H) return;
720
721
  const t = new IntersectionObserver(
721
722
  (u) => {
722
723
  if (!u[0].isIntersecting || Z || !H || te.length === 0) return;
723
- me(!0);
724
+ de(!0);
724
725
  const h = ce + 1;
725
- E(D, h).finally(() => me(!1));
726
+ E(D, h).finally(() => de(!1));
726
727
  },
727
728
  {
728
729
  root: ve.current,
@@ -845,5 +846,5 @@ const Pi = ({ variant: l = "normal" }) => {
845
846
  ] });
846
847
  };
847
848
  export {
848
- Pi as NotificacionUsuario
849
+ ki as NotificacionUsuario
849
850
  };
@@ -6,7 +6,7 @@ import { _ as V } from "../../extends-hS2Bh-Yp.js";
6
6
  import { _ as ti } from "../../setPrototypeOf-NPgp4cYc.js";
7
7
  import { r as ni } from "../../index-DpFLFzFZ.js";
8
8
  import { r as ii } from "../../index-DdZBtIJj.js";
9
- import '../../assets/Trazabilidad.css';import '../../assets/TarjetaInfo.css';import '../../assets/ContenedorTarjeta.css';import '../../assets/SmartTextArea.css';import '../../assets/EcoFooter.css';import '../../assets/ResumenEvaluacion.css';import '../../assets/AlertaFormulario.css';import '../../assets/SeccionFormulario.css';import '../../assets/NotificacionPopoverV2.css';import '../../assets/CardGestionLateral.css';import '../../assets/NavFormulariosLateral.css';import '../../assets/DatosBasicosCard.css';import '../../assets/StatusFilterBar.css';import '../../assets/StatusSemaphore.css';import '../../assets/SeccionTarjetaLectura.css';import '../../assets/TarjetaLectura.css';import '../../assets/Bootstrap.css';import '../../assets/Tarjeta.css';import '../../assets/Modal.css';import '../../assets/ContenedorVentana.css';import '../../assets/IconoTooltip.css';import '../../assets/ItemsModal.css';import '../../assets/StepperV2.css';import '../../assets/Paginador.css';import '../../assets/ContenidoModalV2.css';import '../../assets/ContenidoModal.css';import '../../assets/Encabezado.css';import '../../assets/Logo.css';import '../../assets/CustomDataTable.css';/* empty css */
9
+ import '../../assets/SileoNotifications.css';import '../../assets/Trazabilidad.css';import '../../assets/TarjetaInfo.css';import '../../assets/ContenedorTarjeta.css';import '../../assets/SmartTextArea.css';import '../../assets/EcoFooter.css';import '../../assets/ResumenEvaluacion.css';import '../../assets/AlertaFormulario.css';import '../../assets/SeccionFormulario.css';import '../../assets/NotificacionPopoverV2.css';import '../../assets/CardGestionLateral.css';import '../../assets/NavFormulariosLateral.css';import '../../assets/DatosBasicosCard.css';import '../../assets/StatusFilterBar.css';import '../../assets/StatusSemaphore.css';import '../../assets/SeccionTarjetaLectura.css';import '../../assets/TarjetaLectura.css';import '../../assets/Bootstrap.css';import '../../assets/Tarjeta.css';import '../../assets/Modal.css';import '../../assets/ContenedorVentana.css';import '../../assets/IconoTooltip.css';import '../../assets/ItemsModal.css';import '../../assets/StepperV2.css';import '../../assets/Paginador.css';import '../../assets/ContenidoModalV2.css';import '../../assets/ContenidoModal.css';import '../../assets/Encabezado.css';import '../../assets/Logo.css';import '../../assets/CustomDataTable.css';/* empty css */
10
10
  /* empty css */
11
11
  import "../../ui/subtitulo/Subtitulo.js";
12
12
  /* empty css */
@@ -44,7 +44,8 @@ import "../../utils/websocket-manager/WebSocketContext.js";
44
44
  /* empty css */
45
45
  /* empty css */
46
46
  /* empty css */
47
- import "../../SileoNotifications-BESOBARG.js";
47
+ /* empty css */
48
+ import "../../index-C1R4rkuA.js";
48
49
  import "../../auth/contexts/AuthContex.js";
49
50
  /* empty css */
50
51
  import { T as oi } from "../../Table-cUZFLrPi.js";
@@ -4058,7 +4059,7 @@ var _a = /* @__PURE__ */ un(function(t, e) {
4058
4059
  ref: e
4059
4060
  }, i));
4060
4061
  }), Ka = _a;
4061
- const Qo = ({
4062
+ const $o = ({
4062
4063
  columns: t,
4063
4064
  data: e,
4064
4065
  renderModalContent: i,
@@ -4269,5 +4270,5 @@ const Qo = ({
4269
4270
  ] });
4270
4271
  };
4271
4272
  export {
4272
- Qo as CustomDataTable
4273
+ $o as CustomDataTable
4273
4274
  };