minerva-plexus-csd 1.1.17 → 1.1.19
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/minerva-plexus-csd.es.js +439 -430
- package/dist/minerva-plexus-csd.umd.js +53 -53
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as Oe from "react";
|
|
2
|
-
import Te, { useRef as we, useCallback as Me, createContext as yn, useState as Ee, useMemo as xt, useContext as xe, useEffect as Ie, useReducer as
|
|
3
|
-
import $
|
|
2
|
+
import Te, { useRef as we, useCallback as Me, createContext as yn, useState as Ee, useMemo as xt, useContext as xe, useEffect as Ie, useReducer as Bv, useLayoutEffect as $v } from "react";
|
|
3
|
+
import $b from "js-cookie";
|
|
4
4
|
import { useTranslation as vt, initReactI18next as jv } from "react-i18next";
|
|
5
|
-
import M, { css as nt, keyframes as
|
|
6
|
-
import
|
|
5
|
+
import M, { css as nt, keyframes as jb, createGlobalStyle as qv } from "styled-components";
|
|
6
|
+
import qb from "i18next";
|
|
7
7
|
import { default as r5 } from "i18next";
|
|
8
8
|
import Jn from "react-dom";
|
|
9
9
|
var Lt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
@@ -496,11 +496,11 @@ Check the render method of \`` + _ + "`.";
|
|
|
496
496
|
return "";
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
|
-
function
|
|
499
|
+
function kv(_) {
|
|
500
500
|
return "";
|
|
501
501
|
}
|
|
502
502
|
var Fc = {};
|
|
503
|
-
function
|
|
503
|
+
function Iv(_) {
|
|
504
504
|
{
|
|
505
505
|
var $ = Pc();
|
|
506
506
|
if (!$) {
|
|
@@ -517,7 +517,7 @@ Check the top-level render call using <` + X + ">.");
|
|
|
517
517
|
if (!_._store || _._store.validated || _.key != null)
|
|
518
518
|
return;
|
|
519
519
|
_._store.validated = !0;
|
|
520
|
-
var X =
|
|
520
|
+
var X = Iv($);
|
|
521
521
|
if (Fc[X])
|
|
522
522
|
return;
|
|
523
523
|
Fc[X] = !0;
|
|
@@ -544,7 +544,7 @@ Check the top-level render call using <` + X + ">.");
|
|
|
544
544
|
}
|
|
545
545
|
}
|
|
546
546
|
}
|
|
547
|
-
function
|
|
547
|
+
function Nv(_) {
|
|
548
548
|
{
|
|
549
549
|
var $ = _.type;
|
|
550
550
|
if ($ == null || typeof $ == "string")
|
|
@@ -569,7 +569,7 @@ Check the top-level render call using <` + X + ">.");
|
|
|
569
569
|
typeof $.getDefaultProps == "function" && !$.getDefaultProps.isReactClassApproved && m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
|
-
function
|
|
572
|
+
function Ov(_) {
|
|
573
573
|
{
|
|
574
574
|
for (var $ = Object.keys(_.props), X = 0; X < $.length; X++) {
|
|
575
575
|
var oe = $[X];
|
|
@@ -588,7 +588,7 @@ Check the top-level render call using <` + X + ">.");
|
|
|
588
588
|
if (!pe) {
|
|
589
589
|
var de = "";
|
|
590
590
|
(_ === void 0 || typeof _ == "object" && _ !== null && Object.keys(_).length === 0) && (de += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
591
|
-
var Be =
|
|
591
|
+
var Be = kv();
|
|
592
592
|
Be ? de += Be : de += Pc();
|
|
593
593
|
var _e;
|
|
594
594
|
_ === null ? _e = "null" : Rt(_) ? _e = "array" : _ !== void 0 && _.$$typeof === n ? (_e = "<" + (z(_.type) || "Unknown") + " />", de = " Did you accidentally export a JSX literal instead of a component?") : _e = typeof _, m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", _e, de);
|
|
@@ -610,36 +610,36 @@ Check the top-level render call using <` + X + ">.");
|
|
|
610
610
|
Bc(et, _);
|
|
611
611
|
}
|
|
612
612
|
if (ut.call($, "key")) {
|
|
613
|
-
var qt = z(_), qe = Object.keys($).filter(function(
|
|
614
|
-
return
|
|
613
|
+
var qt = z(_), qe = Object.keys($).filter(function(Uv) {
|
|
614
|
+
return Uv !== "key";
|
|
615
615
|
}), Mr = qe.length > 0 ? "{key: someKey, " + qe.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
616
616
|
if (!$c[qt + Mr]) {
|
|
617
|
-
var
|
|
617
|
+
var Fv = qe.length > 0 ? "{" + qe.join(": ..., ") + ": ...}" : "{}";
|
|
618
618
|
m(`A props object containing a "key" prop is being spread into JSX:
|
|
619
619
|
let props = %s;
|
|
620
620
|
<%s {...props} />
|
|
621
621
|
React keys must be passed directly to JSX without using spread:
|
|
622
622
|
let props = %s;
|
|
623
|
-
<%s key={someKey} {...props} />`, Mr, qt,
|
|
623
|
+
<%s key={someKey} {...props} />`, Mr, qt, Fv, qt), $c[qt + Mr] = !0;
|
|
624
624
|
}
|
|
625
625
|
}
|
|
626
|
-
return _ === a ?
|
|
626
|
+
return _ === a ? Ov(Re) : Nv(Re), Re;
|
|
627
627
|
}
|
|
628
628
|
}
|
|
629
|
-
function
|
|
629
|
+
function Lv(_, $, X) {
|
|
630
630
|
return jc(_, $, X, !0);
|
|
631
631
|
}
|
|
632
|
-
function
|
|
632
|
+
function Dv(_, $, X) {
|
|
633
633
|
return jc(_, $, X, !1);
|
|
634
634
|
}
|
|
635
|
-
var
|
|
636
|
-
Tn.Fragment = a, Tn.jsx =
|
|
635
|
+
var Mv = Dv, Pv = Lv;
|
|
636
|
+
Tn.Fragment = a, Tn.jsx = Mv, Tn.jsxs = Pv;
|
|
637
637
|
}(), Tn;
|
|
638
638
|
}
|
|
639
639
|
var Hv = {};
|
|
640
640
|
Hv.NODE_ENV === "production" ? cu.exports = zv() : cu.exports = Gv();
|
|
641
641
|
var g = cu.exports;
|
|
642
|
-
const
|
|
642
|
+
const zb = ({
|
|
643
643
|
enableAutoCreate: e,
|
|
644
644
|
enableAutoCreateCsd: t,
|
|
645
645
|
addConversation: n,
|
|
@@ -668,44 +668,53 @@ const qb = ({
|
|
|
668
668
|
r
|
|
669
669
|
]) };
|
|
670
670
|
};
|
|
671
|
-
var
|
|
671
|
+
var Gb = /* @__PURE__ */ ((e) => (e.minia = "Minia", e.uxia = "Uxía", e.helia = "Helia", e.iria = "Iria", e.flavia = "Flavia", e))(Gb || {});
|
|
672
672
|
const Gc = {
|
|
673
673
|
API_URL: "http://dev-chatbot-dad.plexus.tech:8311",
|
|
674
674
|
API_KEY: "ai"
|
|
675
675
|
};
|
|
676
|
-
var
|
|
676
|
+
var Hb = {};
|
|
677
677
|
let pt = {
|
|
678
678
|
apiUrl: "",
|
|
679
679
|
apiKey: ""
|
|
680
680
|
};
|
|
681
681
|
const UD = (e) => {
|
|
682
|
-
pt = { ...pt, ...e },
|
|
682
|
+
pt = { ...pt, ...e }, Hb.NODE_ENV !== "production" && console.log("apiConfig seteada desde host:", pt);
|
|
683
683
|
}, ft = () => {
|
|
684
|
-
if (pt.apiUrl = pt.apiUrl || void 0 || Gc.API_URL, pt.apiKey = pt.apiKey || void 0 || Gc.API_KEY,
|
|
684
|
+
if (pt.apiUrl = pt.apiUrl || void 0 || Gc.API_URL, pt.apiKey = pt.apiKey || void 0 || Gc.API_KEY, Hb.NODE_ENV !== "production" && console.log("API URL retornada por getApiConfig:", pt.apiUrl), !pt.apiUrl) {
|
|
685
685
|
const e = "[Minerva] apiUrl no configurado. Requerido para operación.";
|
|
686
686
|
throw console.error(e), new Error(e);
|
|
687
687
|
}
|
|
688
688
|
return pt.apiKey || console.warn("[Minerva] apiKey no configurado. Usando valor por defecto."), pt;
|
|
689
689
|
}, BD = (e) => {
|
|
690
690
|
}, at = async (e, t = {}) => {
|
|
691
|
-
const { apiUrl: n } = ft(), r = {
|
|
691
|
+
const { apiUrl: n } = ft(), r = $b.get("access_token"), a = {
|
|
692
692
|
"Content-Type": "application/json",
|
|
693
693
|
...t.headers || {}
|
|
694
|
-
}
|
|
694
|
+
};
|
|
695
|
+
r ? (a.Authorization = `Bearer ${r}`, console.log("Agregando Authorization header con token desde cookies")) : console.warn(
|
|
696
|
+
"No se encontró token en cookies; procediendo sin autenticación"
|
|
697
|
+
);
|
|
698
|
+
const i = e.startsWith("http") ? e : `${n.replace(/\/$/, "")}/${e.replace(/^\//, "")}`;
|
|
695
699
|
try {
|
|
696
|
-
const
|
|
700
|
+
const o = await fetch(i, {
|
|
697
701
|
...t,
|
|
698
|
-
|
|
702
|
+
//credentials: "include", // Incluye cookies para cross-origin si necesario
|
|
703
|
+
headers: a
|
|
699
704
|
});
|
|
700
|
-
if (
|
|
701
|
-
|
|
702
|
-
|
|
705
|
+
if (console.log("Respuesta del fetch:", {
|
|
706
|
+
status: o.status,
|
|
707
|
+
ok: o.ok,
|
|
708
|
+
url: i
|
|
709
|
+
}), o.status === 401)
|
|
710
|
+
return console.warn("INVALID ACCESS - Token posiblemente expirado o inválido"), o;
|
|
711
|
+
if (!o.ok) {
|
|
712
|
+
const s = await o.text();
|
|
713
|
+
throw console.error("Error body:", s), new Error(`HTTP error! status: ${o.status} - ${s}`);
|
|
703
714
|
}
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
} catch (i) {
|
|
708
|
-
throw console.error("Fetch failed:", i), i;
|
|
715
|
+
return o;
|
|
716
|
+
} catch (o) {
|
|
717
|
+
throw console.error("Fetch failed:", o), o;
|
|
709
718
|
}
|
|
710
719
|
}, Wt = {
|
|
711
720
|
CONVERSATIONS_CREATE: "/conversations",
|
|
@@ -893,7 +902,7 @@ const UD = (e) => {
|
|
|
893
902
|
t,
|
|
894
903
|
n,
|
|
895
904
|
r
|
|
896
|
-
),
|
|
905
|
+
), Vb = async (e) => {
|
|
897
906
|
console.log(
|
|
898
907
|
`Solicitando detener el stream para la conversación: ${e}`
|
|
899
908
|
);
|
|
@@ -1069,7 +1078,7 @@ const UD = (e) => {
|
|
|
1069
1078
|
} catch (n) {
|
|
1070
1079
|
throw console.error("Error creating conversation:", n), n;
|
|
1071
1080
|
}
|
|
1072
|
-
}, Zv = async (e) => await Fu.getUserConversations(e), Xv = async (e, t) => await Fu.deleteConversationById(e, t),
|
|
1081
|
+
}, Zv = async (e) => await Fu.getUserConversations(e), Xv = async (e, t) => await Fu.deleteConversationById(e, t), Wb = yn(void 0), $D = ({
|
|
1073
1082
|
children: e,
|
|
1074
1083
|
usedService: t
|
|
1075
1084
|
}) => {
|
|
@@ -1080,13 +1089,13 @@ const UD = (e) => {
|
|
|
1080
1089
|
}),
|
|
1081
1090
|
[n]
|
|
1082
1091
|
);
|
|
1083
|
-
return /* @__PURE__ */ g.jsx(
|
|
1084
|
-
},
|
|
1085
|
-
const e = xe(
|
|
1092
|
+
return /* @__PURE__ */ g.jsx(Wb.Provider, { value: a, children: e });
|
|
1093
|
+
}, Yb = () => {
|
|
1094
|
+
const e = xe(Wb);
|
|
1086
1095
|
if (!e)
|
|
1087
1096
|
throw new Error("useService must be used within ServiceProvider");
|
|
1088
1097
|
return e;
|
|
1089
|
-
},
|
|
1098
|
+
}, Kb = yn(
|
|
1090
1099
|
void 0
|
|
1091
1100
|
), jD = ({
|
|
1092
1101
|
children: e,
|
|
@@ -1095,7 +1104,7 @@ const UD = (e) => {
|
|
|
1095
1104
|
serviceTicketing: r = !0,
|
|
1096
1105
|
serviceTicketingNoUSer: a = !0
|
|
1097
1106
|
}) => {
|
|
1098
|
-
const { service: i } =
|
|
1107
|
+
const { service: i } = Yb(), [o, s] = Ee({}), [l, u] = Ee(null), c = async () => {
|
|
1099
1108
|
if (i)
|
|
1100
1109
|
try {
|
|
1101
1110
|
const x = await Zv(i);
|
|
@@ -1132,8 +1141,8 @@ const UD = (e) => {
|
|
|
1132
1141
|
}
|
|
1133
1142
|
}, p = async (x, T) => {
|
|
1134
1143
|
const m = (o[T ?? ""] || []).find((A) => A.id === x);
|
|
1135
|
-
m && (l != null && l.id && await
|
|
1136
|
-
}, { autoCreateConversationCsd: y } =
|
|
1144
|
+
m && (l != null && l.id && await Vb(l == null ? void 0 : l.id), u(m));
|
|
1145
|
+
}, { autoCreateConversationCsd: y } = zb({
|
|
1137
1146
|
enableAutoCreate: t,
|
|
1138
1147
|
enableAutoCreateCsd: n,
|
|
1139
1148
|
addConversation: d,
|
|
@@ -1165,9 +1174,9 @@ const UD = (e) => {
|
|
|
1165
1174
|
a
|
|
1166
1175
|
]
|
|
1167
1176
|
);
|
|
1168
|
-
return /* @__PURE__ */ g.jsx(
|
|
1177
|
+
return /* @__PURE__ */ g.jsx(Kb.Provider, { value: S, children: e });
|
|
1169
1178
|
}, zn = () => {
|
|
1170
|
-
const e = xe(
|
|
1179
|
+
const e = xe(Kb);
|
|
1171
1180
|
if (!e)
|
|
1172
1181
|
throw new Error(
|
|
1173
1182
|
"useConversation must be used within a ConversationProvider"
|
|
@@ -1220,7 +1229,7 @@ M.div.attrs({
|
|
|
1220
1229
|
margin-bottom: 10px;
|
|
1221
1230
|
width: 100%;
|
|
1222
1231
|
`;
|
|
1223
|
-
const
|
|
1232
|
+
const Zb = M.div.attrs({
|
|
1224
1233
|
className: "message"
|
|
1225
1234
|
})`
|
|
1226
1235
|
font-size: 14px;
|
|
@@ -1230,14 +1239,14 @@ const Kb = M.div.attrs({
|
|
|
1230
1239
|
max-width: 70%;
|
|
1231
1240
|
word-wrap: break-word;
|
|
1232
1241
|
`;
|
|
1233
|
-
M(
|
|
1242
|
+
M(Zb).attrs({
|
|
1234
1243
|
className: "human-message"
|
|
1235
1244
|
})`
|
|
1236
1245
|
color: #252525;
|
|
1237
1246
|
background-color: rgba(0, 62, 87, 0.2);
|
|
1238
1247
|
text-align: right;
|
|
1239
1248
|
`;
|
|
1240
|
-
M(
|
|
1249
|
+
M(Zb).attrs({
|
|
1241
1250
|
className: "bot-message"
|
|
1242
1251
|
})`
|
|
1243
1252
|
color: #252525;
|
|
@@ -1319,7 +1328,7 @@ const Qv = M.div`
|
|
|
1319
1328
|
box-sizing: border-box;
|
|
1320
1329
|
position: relative; /* necesario para que el modal se posicione relativo a este */
|
|
1321
1330
|
overflow: visible; /* para permitir que se muestre por fuera */
|
|
1322
|
-
`,
|
|
1331
|
+
`, Xb = M.div`
|
|
1323
1332
|
display: flex;
|
|
1324
1333
|
align-items: flex-start;
|
|
1325
1334
|
border: 1px solid #ccc;
|
|
@@ -1327,7 +1336,7 @@ const Qv = M.div`
|
|
|
1327
1336
|
background-color: #fff;
|
|
1328
1337
|
padding: 8px;
|
|
1329
1338
|
flex: 1;
|
|
1330
|
-
`,
|
|
1339
|
+
`, Jb = M.textarea`
|
|
1331
1340
|
flex: 1;
|
|
1332
1341
|
border: none;
|
|
1333
1342
|
outline: none;
|
|
@@ -1351,7 +1360,7 @@ const Qv = M.div`
|
|
|
1351
1360
|
opacity: 0.5;
|
|
1352
1361
|
cursor: not-allowed;
|
|
1353
1362
|
}
|
|
1354
|
-
`,
|
|
1363
|
+
`, Qb = M.button`
|
|
1355
1364
|
background-color: transparent;
|
|
1356
1365
|
border: none;
|
|
1357
1366
|
cursor: pointer;
|
|
@@ -1444,7 +1453,7 @@ M.div`
|
|
|
1444
1453
|
height: ${({ height: e }) => e ?? "auto"};
|
|
1445
1454
|
font-family: inherit;
|
|
1446
1455
|
`;
|
|
1447
|
-
const t1 = ({ size: e = 24, color: t = "#003E57" }) => g.jsxs("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [g.jsx("path", { d: "M22 2L11 13", stroke: t, strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }), g.jsx("path", { d: "M22 2L15 22L11 13L2 9L22 2Z", stroke: t, strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" })] }), n1 = ({ size: e = 20, color: t = "#597886" }) => g.jsxs("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [g.jsx("path", { d: "M3 6H5H21", stroke: t, strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }), g.jsx("path", { d: "M19 6V20C19 21.1046 18.1046 22 17 22H7C5.89543 22 5 21.1046 5 20V6M10 10V16M14 10V16M8 6V4C8 2.89543 8.89543 2 10 2H14C15.1046 2 16 2.89543 16 4V6", stroke: t, strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" })] }), r1 = ({ size: e = 20, color: t = "#597886" }) => g.jsx("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: g.jsx("path", { d: "M12 5V19M5 12H19", stroke: t, strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }), a1 = ({ size: e = 20, color: t = "#597886" }) => g.jsx("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: g.jsx("path", { d: "M5 12H19", stroke: t, strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }), i1 = ({ size: e = 24, color: t = "#003E57" }) => g.jsx("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: t, xmlns: "http://www.w3.org/2000/svg", children: g.jsx("path", { fill: t, d: "M12.1119 4.80081C7.81531 4.73811 4.40279 8.53546 4.83737 12.8141C5.19623 16.3486 7.90383 18.971 11.4834 19.199C11.7616 19.2169 11.9988 18.9968 11.9988 18.7178C11.9988 18.4659 11.8022 18.256 11.5512 18.2401C8.36769 18.0352 5.97934 15.6483 5.76931 12.4642C5.53372 8.87571 8.25818 5.83927 11.8482 5.76126C15.3917 5.68303 18.2121 8.45475 18.2121 12.0082V12.6821C18.2121 13.4751 17.6856 14.1994 16.9117 14.3704C15.8205 14.6116 14.8513 13.7826 14.8513 12.731V9.12745C14.8513 8.86203 14.6363 8.64678 14.371 8.64678C14.1058 8.64678 13.8903 8.86176 13.8903 9.12715V9.66363C13.1417 8.89672 12.0351 8.48176 10.8419 8.70799C9.52556 8.96153 8.45441 10.0417 8.21437 11.3889C7.83272 13.515 9.46495 15.3735 11.5209 15.3735C12.6427 15.3735 13.6308 14.8145 14.2417 13.9663C14.7361 14.8916 15.7521 15.4974 16.903 15.351C18.2364 15.1813 19.2023 13.9834 19.2023 12.638V12.01C19.175 8.00439 16.0965 4.85872 12.1119 4.80081ZM11.5179 14.4103C10.1938 14.4103 9.1169 13.3323 9.1169 12.0073C9.1169 10.6823 10.1947 9.60662 11.5179 9.60662C12.8411 9.60662 13.9188 10.6847 13.9188 12.0097C13.9188 13.3347 12.8441 14.4103 11.5179 14.4103Z" }) }),
|
|
1456
|
+
const t1 = ({ size: e = 24, color: t = "#003E57" }) => g.jsxs("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [g.jsx("path", { d: "M22 2L11 13", stroke: t, strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }), g.jsx("path", { d: "M22 2L15 22L11 13L2 9L22 2Z", stroke: t, strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" })] }), n1 = ({ size: e = 20, color: t = "#597886" }) => g.jsxs("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [g.jsx("path", { d: "M3 6H5H21", stroke: t, strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }), g.jsx("path", { d: "M19 6V20C19 21.1046 18.1046 22 17 22H7C5.89543 22 5 21.1046 5 20V6M10 10V16M14 10V16M8 6V4C8 2.89543 8.89543 2 10 2H14C15.1046 2 16 2.89543 16 4V6", stroke: t, strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" })] }), r1 = ({ size: e = 20, color: t = "#597886" }) => g.jsx("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: g.jsx("path", { d: "M12 5V19M5 12H19", stroke: t, strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }), a1 = ({ size: e = 20, color: t = "#597886" }) => g.jsx("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: g.jsx("path", { d: "M5 12H19", stroke: t, strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }), i1 = ({ size: e = 24, color: t = "#003E57" }) => g.jsx("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: t, xmlns: "http://www.w3.org/2000/svg", children: g.jsx("path", { fill: t, d: "M12.1119 4.80081C7.81531 4.73811 4.40279 8.53546 4.83737 12.8141C5.19623 16.3486 7.90383 18.971 11.4834 19.199C11.7616 19.2169 11.9988 18.9968 11.9988 18.7178C11.9988 18.4659 11.8022 18.256 11.5512 18.2401C8.36769 18.0352 5.97934 15.6483 5.76931 12.4642C5.53372 8.87571 8.25818 5.83927 11.8482 5.76126C15.3917 5.68303 18.2121 8.45475 18.2121 12.0082V12.6821C18.2121 13.4751 17.6856 14.1994 16.9117 14.3704C15.8205 14.6116 14.8513 13.7826 14.8513 12.731V9.12745C14.8513 8.86203 14.6363 8.64678 14.371 8.64678C14.1058 8.64678 13.8903 8.86176 13.8903 9.12715V9.66363C13.1417 8.89672 12.0351 8.48176 10.8419 8.70799C9.52556 8.96153 8.45441 10.0417 8.21437 11.3889C7.83272 13.515 9.46495 15.3735 11.5209 15.3735C12.6427 15.3735 13.6308 14.8145 14.2417 13.9663C14.7361 14.8916 15.7521 15.4974 16.903 15.351C18.2364 15.1813 19.2023 13.9834 19.2023 12.638V12.01C19.175 8.00439 16.0965 4.85872 12.1119 4.80081ZM11.5179 14.4103C10.1938 14.4103 9.1169 13.3323 9.1169 12.0073C9.1169 10.6823 10.1947 9.60662 11.5179 9.60662C12.8411 9.60662 13.9188 10.6847 13.9188 12.0097C13.9188 13.3347 12.8441 14.4103 11.5179 14.4103Z" }) }), eE = ({ size: e = 24, color: t = "#000000" }) => g.jsx("svg", { width: e, height: e, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: g.jsx("path", { d: "M37 18L25 30L13 18", stroke: t, strokeWidth: "4", strokeLinecap: "round", strokeLinejoin: "round" }) }), tE = ({ size: e = 24, color: t = "#000000" }) => g.jsx("svg", { width: e, height: e, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: g.jsx("path", { d: "M13 30L25 18L37 30", stroke: t, strokeWidth: "4", strokeLinecap: "round", strokeLinejoin: "round" }) }), o1 = ({ size: e = 24, color: t = "#003E57" }) => g.jsx("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: t, xmlns: "http://www.w3.org/2000/svg", children: g.jsx("rect", { x: "6", y: "6", width: "12", height: "12", rx: "2" }) }), s1 = ({ size: e = 24, color: t = "#003E57" }) => g.jsx("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: t, xmlns: "http://www.w3.org/2000/svg", children: g.jsx("g", { transform: "matrix(1 0 0 1 12 12)", children: g.jsx("path", { transform: " translate(-12, -12)", d: "M 4 2 C 2.895 2 2 2.895 2 4 L 2 18 L 4 18 L 4 4 L 18 4 L 18 2 L 4 2 z M 8 6 C 6.895 6 6 6.895 6 8 L 6 20 C 6 21.105 6.895 22 8 22 L 20 22 C 21.105 22 22 21.105 22 20 L 22 8 C 22 6.895 21.105 6 20 6 L 8 6 z M 8 8 L 20 8 L 20 20 L 8 20 L 8 8 z", strokeLinecap: "round" }) }) });
|
|
1448
1457
|
M.div`
|
|
1449
1458
|
padding: 15px;
|
|
1450
1459
|
margin: 10px 0;
|
|
@@ -1860,7 +1869,7 @@ M.div`
|
|
|
1860
1869
|
}
|
|
1861
1870
|
}}
|
|
1862
1871
|
`;
|
|
1863
|
-
const
|
|
1872
|
+
const nE = jb`
|
|
1864
1873
|
0% { transform: rotate(0deg); }
|
|
1865
1874
|
100% { transform: rotate(360deg); }
|
|
1866
1875
|
`;
|
|
@@ -1882,7 +1891,7 @@ M.div`
|
|
|
1882
1891
|
border-top: 8px solid #3498db;
|
|
1883
1892
|
width: 60px;
|
|
1884
1893
|
height: 60px;
|
|
1885
|
-
animation: ${
|
|
1894
|
+
animation: ${nE} 2s linear infinite;
|
|
1886
1895
|
`;
|
|
1887
1896
|
M.div`
|
|
1888
1897
|
border: 4px solid #f3f3f3;
|
|
@@ -1890,7 +1899,7 @@ M.div`
|
|
|
1890
1899
|
border-top: 4px solid #3498db;
|
|
1891
1900
|
width: 20px;
|
|
1892
1901
|
height: 20px;
|
|
1893
|
-
animation: ${
|
|
1902
|
+
animation: ${nE} 1s linear infinite;
|
|
1894
1903
|
display: inline-block;
|
|
1895
1904
|
`;
|
|
1896
1905
|
M.div`
|
|
@@ -2041,9 +2050,9 @@ M.button`
|
|
|
2041
2050
|
background-color: ${(e) => e.variant === "confirm" ? "#218838" : e.variant === "cancel" ? "#c82333" : "#0056b3"};
|
|
2042
2051
|
}
|
|
2043
2052
|
`;
|
|
2044
|
-
const
|
|
2053
|
+
const rE = (e) => !["layoutBackColor", "sidebarBackColor", "responsiveBreakpoint"].includes(e);
|
|
2045
2054
|
M.div.withConfig({
|
|
2046
|
-
shouldForwardProp:
|
|
2055
|
+
shouldForwardProp: rE
|
|
2047
2056
|
})`
|
|
2048
2057
|
display: flex;
|
|
2049
2058
|
flex-direction: column;
|
|
@@ -2055,7 +2064,7 @@ M.div.withConfig({
|
|
|
2055
2064
|
}
|
|
2056
2065
|
`;
|
|
2057
2066
|
M.aside.withConfig({
|
|
2058
|
-
shouldForwardProp:
|
|
2067
|
+
shouldForwardProp: rE
|
|
2059
2068
|
})`
|
|
2060
2069
|
background-color: ${({ sidebarBackColor: e }) => e ?? "inherit"};
|
|
2061
2070
|
padding: 1rem;
|
|
@@ -2122,7 +2131,7 @@ const g1 = {
|
|
|
2122
2131
|
return await r.json();
|
|
2123
2132
|
}
|
|
2124
2133
|
}, m1 = async (e, t) => await g1.createTicket({ conversationId: e, email: t }), h1 = (e) => /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e), b1 = () => {
|
|
2125
|
-
const e = $
|
|
2134
|
+
const e = $b.get("access_token");
|
|
2126
2135
|
if (!e) return "";
|
|
2127
2136
|
try {
|
|
2128
2137
|
return JSON.parse(atob(e.split(".")[1])).email || "";
|
|
@@ -2174,9 +2183,9 @@ const g1 = {
|
|
|
2174
2183
|
const f = l.current;
|
|
2175
2184
|
f && (f.style.height = "22px", f.style.height = `${Math.min(f.scrollHeight, 150)}px`);
|
|
2176
2185
|
};
|
|
2177
|
-
return /* @__PURE__ */ g.jsxs(
|
|
2186
|
+
return /* @__PURE__ */ g.jsxs(Xb, { children: [
|
|
2178
2187
|
/* @__PURE__ */ g.jsx(
|
|
2179
|
-
|
|
2188
|
+
Jb,
|
|
2180
2189
|
{
|
|
2181
2190
|
ref: l,
|
|
2182
2191
|
placeholder: r("ticket.emailPlaceholder"),
|
|
@@ -2187,7 +2196,7 @@ const g1 = {
|
|
|
2187
2196
|
disabled: o || !t
|
|
2188
2197
|
}
|
|
2189
2198
|
),
|
|
2190
|
-
/* @__PURE__ */ g.jsx(
|
|
2199
|
+
/* @__PURE__ */ g.jsx(Qb, { onClick: u, disabled: o, children: /* @__PURE__ */ g.jsx(t1, { color: "#003E57", size: 24 }) })
|
|
2191
2200
|
] });
|
|
2192
2201
|
}, y1 = ({
|
|
2193
2202
|
color: e = "#883030",
|
|
@@ -2222,9 +2231,9 @@ const g1 = {
|
|
|
2222
2231
|
handleKeyPress: l
|
|
2223
2232
|
}) => {
|
|
2224
2233
|
const { t: u } = vt("minerva"), c = we(null);
|
|
2225
|
-
return /* @__PURE__ */ g.jsxs(
|
|
2234
|
+
return /* @__PURE__ */ g.jsxs(Xb, { children: [
|
|
2226
2235
|
/* @__PURE__ */ g.jsx(
|
|
2227
|
-
|
|
2236
|
+
Jb,
|
|
2228
2237
|
{
|
|
2229
2238
|
ref: c,
|
|
2230
2239
|
placeholder: u("formLabels.placeholderWriteMessage"),
|
|
@@ -2236,7 +2245,7 @@ const g1 = {
|
|
|
2236
2245
|
}
|
|
2237
2246
|
),
|
|
2238
2247
|
/* @__PURE__ */ g.jsx(
|
|
2239
|
-
|
|
2248
|
+
Qb,
|
|
2240
2249
|
{
|
|
2241
2250
|
onClick: n ? o : i,
|
|
2242
2251
|
disabled: n && a,
|
|
@@ -2269,7 +2278,7 @@ const g1 = {
|
|
|
2269
2278
|
margin-bottom: 4px;
|
|
2270
2279
|
`, T1 = M.div`
|
|
2271
2280
|
font-size: 13px;
|
|
2272
|
-
`,
|
|
2281
|
+
`, aE = () => {
|
|
2273
2282
|
const { t: e } = vt("minerva"), {
|
|
2274
2283
|
addMessage: t,
|
|
2275
2284
|
fetchMessages: n,
|
|
@@ -2370,7 +2379,7 @@ const g1 = {
|
|
|
2370
2379
|
) : null
|
|
2371
2380
|
] }) })
|
|
2372
2381
|
] });
|
|
2373
|
-
},
|
|
2382
|
+
}, iE = yn(void 0), zD = ({
|
|
2374
2383
|
children: e,
|
|
2375
2384
|
initialConfig: t
|
|
2376
2385
|
}) => {
|
|
@@ -2378,13 +2387,13 @@ const g1 = {
|
|
|
2378
2387
|
...ft(),
|
|
2379
2388
|
...t
|
|
2380
2389
|
});
|
|
2381
|
-
return /* @__PURE__ */ g.jsx(
|
|
2390
|
+
return /* @__PURE__ */ g.jsx(iE.Provider, { value: n, children: e });
|
|
2382
2391
|
}, GD = () => {
|
|
2383
|
-
const e = xe(
|
|
2392
|
+
const e = xe(iE);
|
|
2384
2393
|
if (!e)
|
|
2385
2394
|
throw new Error("useApiConfig must be used within an ApiConfigProvider");
|
|
2386
2395
|
return e;
|
|
2387
|
-
},
|
|
2396
|
+
}, oE = (e) => e ? new Date(e).toLocaleTimeString("es-ES", {
|
|
2388
2397
|
hour: "2-digit",
|
|
2389
2398
|
minute: "2-digit"
|
|
2390
2399
|
}) : "", x1 = M.div`
|
|
@@ -2487,7 +2496,7 @@ const k1 = ({
|
|
|
2487
2496
|
marginTop: "0px",
|
|
2488
2497
|
textAlign: "right"
|
|
2489
2498
|
},
|
|
2490
|
-
children:
|
|
2499
|
+
children: oE(e.created_at)
|
|
2491
2500
|
}
|
|
2492
2501
|
)
|
|
2493
2502
|
] }) });
|
|
@@ -2527,7 +2536,7 @@ let Gn = class {
|
|
|
2527
2536
|
Gn.prototype.normal = {};
|
|
2528
2537
|
Gn.prototype.property = {};
|
|
2529
2538
|
Gn.prototype.space = void 0;
|
|
2530
|
-
function
|
|
2539
|
+
function sE(e, t) {
|
|
2531
2540
|
const n = {}, r = {};
|
|
2532
2541
|
for (const a of e)
|
|
2533
2542
|
Object.assign(n, a.property), Object.assign(r, a.normal);
|
|
@@ -2619,7 +2628,7 @@ function vn(e) {
|
|
|
2619
2628
|
}
|
|
2620
2629
|
return new Gn(t, n, e.space);
|
|
2621
2630
|
}
|
|
2622
|
-
const
|
|
2631
|
+
const lE = vn({
|
|
2623
2632
|
properties: {
|
|
2624
2633
|
ariaActiveDescendant: null,
|
|
2625
2634
|
ariaAtomic: ke,
|
|
@@ -2675,11 +2684,11 @@ const sE = vn({
|
|
|
2675
2684
|
return t === "role" ? t : "aria-" + t.slice(4).toLowerCase();
|
|
2676
2685
|
}
|
|
2677
2686
|
});
|
|
2678
|
-
function
|
|
2687
|
+
function uE(e, t) {
|
|
2679
2688
|
return t in e ? e[t] : t;
|
|
2680
2689
|
}
|
|
2681
|
-
function
|
|
2682
|
-
return
|
|
2690
|
+
function cE(e, t) {
|
|
2691
|
+
return uE(e, t.toLowerCase());
|
|
2683
2692
|
}
|
|
2684
2693
|
const F1 = vn({
|
|
2685
2694
|
attributes: {
|
|
@@ -3041,7 +3050,7 @@ const F1 = vn({
|
|
|
3041
3050
|
unselectable: null
|
|
3042
3051
|
},
|
|
3043
3052
|
space: "html",
|
|
3044
|
-
transform:
|
|
3053
|
+
transform: cE
|
|
3045
3054
|
}), U1 = vn({
|
|
3046
3055
|
attributes: {
|
|
3047
3056
|
accentHeight: "accent-height",
|
|
@@ -3600,8 +3609,8 @@ const F1 = vn({
|
|
|
3600
3609
|
zoomAndPan: null
|
|
3601
3610
|
},
|
|
3602
3611
|
space: "svg",
|
|
3603
|
-
transform:
|
|
3604
|
-
}),
|
|
3612
|
+
transform: uE
|
|
3613
|
+
}), dE = vn({
|
|
3605
3614
|
properties: {
|
|
3606
3615
|
xLinkActuate: null,
|
|
3607
3616
|
xLinkArcRole: null,
|
|
@@ -3615,12 +3624,12 @@ const F1 = vn({
|
|
|
3615
3624
|
transform(e, t) {
|
|
3616
3625
|
return "xlink:" + t.slice(5).toLowerCase();
|
|
3617
3626
|
}
|
|
3618
|
-
}),
|
|
3627
|
+
}), pE = vn({
|
|
3619
3628
|
attributes: { xmlnsxlink: "xmlns:xlink" },
|
|
3620
3629
|
properties: { xmlnsXLink: null, xmlns: null },
|
|
3621
3630
|
space: "xmlns",
|
|
3622
|
-
transform:
|
|
3623
|
-
}),
|
|
3631
|
+
transform: cE
|
|
3632
|
+
}), fE = vn({
|
|
3624
3633
|
properties: { xmlBase: null, xmlLang: null, xmlSpace: null },
|
|
3625
3634
|
space: "xml",
|
|
3626
3635
|
transform(e, t) {
|
|
@@ -3671,7 +3680,7 @@ function z1(e) {
|
|
|
3671
3680
|
function G1(e) {
|
|
3672
3681
|
return e.charAt(1).toUpperCase();
|
|
3673
3682
|
}
|
|
3674
|
-
const H1 =
|
|
3683
|
+
const H1 = sE([lE, F1, dE, pE, fE], "html"), Bu = sE([lE, U1, dE, pE, fE], "svg");
|
|
3675
3684
|
function V1(e) {
|
|
3676
3685
|
return e.join(" ").trim();
|
|
3677
3686
|
}
|
|
@@ -3800,8 +3809,8 @@ function gu(e, t) {
|
|
|
3800
3809
|
}
|
|
3801
3810
|
gu.default = gu;
|
|
3802
3811
|
var ES = gu;
|
|
3803
|
-
const yS = /* @__PURE__ */ Zt(ES),
|
|
3804
|
-
function
|
|
3812
|
+
const yS = /* @__PURE__ */ Zt(ES), gE = mE("end"), ju = mE("start");
|
|
3813
|
+
function mE(e) {
|
|
3805
3814
|
return t;
|
|
3806
3815
|
function t(n) {
|
|
3807
3816
|
const r = n && n.position && n.position[e] || {};
|
|
@@ -3814,7 +3823,7 @@ function gE(e) {
|
|
|
3814
3823
|
}
|
|
3815
3824
|
}
|
|
3816
3825
|
function vS(e) {
|
|
3817
|
-
const t = ju(e), n =
|
|
3826
|
+
const t = ju(e), n = gE(e);
|
|
3818
3827
|
if (t && n)
|
|
3819
3828
|
return { start: t, end: n };
|
|
3820
3829
|
}
|
|
@@ -3917,7 +3926,7 @@ Pe.prototype.fatal = void 0;
|
|
|
3917
3926
|
Pe.prototype.place = void 0;
|
|
3918
3927
|
Pe.prototype.ruleId = void 0;
|
|
3919
3928
|
Pe.prototype.source = void 0;
|
|
3920
|
-
const qu = {}.hasOwnProperty, SS = /* @__PURE__ */ new Map(), wS = /[A-Z]/g, CS = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), TS = /* @__PURE__ */ new Set(["td", "th"]),
|
|
3929
|
+
const qu = {}.hasOwnProperty, SS = /* @__PURE__ */ new Map(), wS = /[A-Z]/g, CS = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), TS = /* @__PURE__ */ new Set(["td", "th"]), hE = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
|
|
3921
3930
|
function xS(e, t) {
|
|
3922
3931
|
if (!t || t.Fragment === void 0)
|
|
3923
3932
|
throw new TypeError("Expected `Fragment` in options");
|
|
@@ -3950,7 +3959,7 @@ function xS(e, t) {
|
|
|
3950
3959
|
schema: t.space === "svg" ? Bu : H1,
|
|
3951
3960
|
stylePropertyNameCase: t.stylePropertyNameCase || "dom",
|
|
3952
3961
|
tableCellAlignToStyle: t.tableCellAlignToStyle !== !1
|
|
3953
|
-
}, i =
|
|
3962
|
+
}, i = bE(a, e, void 0);
|
|
3954
3963
|
return i && typeof i != "string" ? i : a.create(
|
|
3955
3964
|
e,
|
|
3956
3965
|
a.Fragment,
|
|
@@ -3958,7 +3967,7 @@ function xS(e, t) {
|
|
|
3958
3967
|
void 0
|
|
3959
3968
|
);
|
|
3960
3969
|
}
|
|
3961
|
-
function
|
|
3970
|
+
function bE(e, t, n) {
|
|
3962
3971
|
if (t.type === "element")
|
|
3963
3972
|
return AS(e, t, n);
|
|
3964
3973
|
if (t.type === "mdxFlowExpression" || t.type === "mdxTextExpression")
|
|
@@ -3976,11 +3985,11 @@ function AS(e, t, n) {
|
|
|
3976
3985
|
const r = e.schema;
|
|
3977
3986
|
let a = r;
|
|
3978
3987
|
t.tagName.toLowerCase() === "svg" && r.space === "html" && (a = Bu, e.schema = a), e.ancestors.push(t);
|
|
3979
|
-
const i =
|
|
3988
|
+
const i = yE(e, t.tagName, !1), o = DS(e, t);
|
|
3980
3989
|
let s = Gu(e, t);
|
|
3981
3990
|
return CS.has(t.tagName) && (s = s.filter(function(l) {
|
|
3982
3991
|
return typeof l == "string" ? !M1(l) : !0;
|
|
3983
|
-
})),
|
|
3992
|
+
})), EE(e, o, i, t), zu(o, s), e.ancestors.pop(), e.schema = r, e.create(t, i, o, n);
|
|
3984
3993
|
}
|
|
3985
3994
|
function _S(e, t) {
|
|
3986
3995
|
if (t.data && t.data.estree && e.evaluater) {
|
|
@@ -4002,8 +4011,8 @@ function kS(e, t, n) {
|
|
|
4002
4011
|
const r = e.schema;
|
|
4003
4012
|
let a = r;
|
|
4004
4013
|
t.name === "svg" && r.space === "html" && (a = Bu, e.schema = a), e.ancestors.push(t);
|
|
4005
|
-
const i = t.name === null ? e.Fragment :
|
|
4006
|
-
return
|
|
4014
|
+
const i = t.name === null ? e.Fragment : yE(e, t.name, !0), o = MS(e, t), s = Gu(e, t);
|
|
4015
|
+
return EE(e, o, i, t), zu(o, s), e.ancestors.pop(), e.schema = r, e.create(t, i, o, n);
|
|
4007
4016
|
}
|
|
4008
4017
|
function IS(e, t, n) {
|
|
4009
4018
|
const r = {};
|
|
@@ -4012,7 +4021,7 @@ function IS(e, t, n) {
|
|
|
4012
4021
|
function NS(e, t) {
|
|
4013
4022
|
return t.value;
|
|
4014
4023
|
}
|
|
4015
|
-
function
|
|
4024
|
+
function EE(e, t, n, r) {
|
|
4016
4025
|
typeof n != "string" && n !== e.Fragment && e.passNode && (t.node = r);
|
|
4017
4026
|
}
|
|
4018
4027
|
function zu(e, t) {
|
|
@@ -4112,7 +4121,7 @@ function Gu(e, t) {
|
|
|
4112
4121
|
o = l + "-" + u, a.set(l, u + 1);
|
|
4113
4122
|
}
|
|
4114
4123
|
}
|
|
4115
|
-
const s =
|
|
4124
|
+
const s = bE(e, i, o);
|
|
4116
4125
|
s !== void 0 && n.push(s);
|
|
4117
4126
|
}
|
|
4118
4127
|
return n;
|
|
@@ -4145,10 +4154,10 @@ function FS(e, t) {
|
|
|
4145
4154
|
ruleId: "style",
|
|
4146
4155
|
source: "hast-util-to-jsx-runtime"
|
|
4147
4156
|
});
|
|
4148
|
-
throw a.file = e.filePath || void 0, a.url =
|
|
4157
|
+
throw a.file = e.filePath || void 0, a.url = hE + "#cannot-parse-style-attribute", a;
|
|
4149
4158
|
}
|
|
4150
4159
|
}
|
|
4151
|
-
function
|
|
4160
|
+
function yE(e, t, n) {
|
|
4152
4161
|
let r;
|
|
4153
4162
|
if (!n)
|
|
4154
4163
|
r = { type: "Literal", value: t };
|
|
@@ -4189,7 +4198,7 @@ function Un(e, t) {
|
|
|
4189
4198
|
source: "hast-util-to-jsx-runtime"
|
|
4190
4199
|
}
|
|
4191
4200
|
);
|
|
4192
|
-
throw n.file = e.filePath || void 0, n.url =
|
|
4201
|
+
throw n.file = e.filePath || void 0, n.url = hE + "#cannot-handle-mdx-estrees-without-createevaluater", n;
|
|
4193
4202
|
}
|
|
4194
4203
|
function US(e) {
|
|
4195
4204
|
const t = {};
|
|
@@ -4230,9 +4239,9 @@ const Fr = {
|
|
|
4230
4239
|
}, jS = {};
|
|
4231
4240
|
function qS(e, t) {
|
|
4232
4241
|
const n = jS, r = typeof n.includeImageAlt == "boolean" ? n.includeImageAlt : !0, a = typeof n.includeHtml == "boolean" ? n.includeHtml : !0;
|
|
4233
|
-
return
|
|
4242
|
+
return vE(e, r, a);
|
|
4234
4243
|
}
|
|
4235
|
-
function
|
|
4244
|
+
function vE(e, t, n) {
|
|
4236
4245
|
if (zS(e)) {
|
|
4237
4246
|
if ("value" in e)
|
|
4238
4247
|
return e.type === "html" && !n ? "" : e.value;
|
|
@@ -4247,7 +4256,7 @@ function rd(e, t, n) {
|
|
|
4247
4256
|
const r = [];
|
|
4248
4257
|
let a = -1;
|
|
4249
4258
|
for (; ++a < e.length; )
|
|
4250
|
-
r[a] =
|
|
4259
|
+
r[a] = vE(e[a], t, n);
|
|
4251
4260
|
return r.join("");
|
|
4252
4261
|
}
|
|
4253
4262
|
function zS(e) {
|
|
@@ -4308,7 +4317,7 @@ function VS(e, t) {
|
|
|
4308
4317
|
(t[n].add === "after" ? e : r).push(t[n]);
|
|
4309
4318
|
yt(e, 0, 0, r);
|
|
4310
4319
|
}
|
|
4311
|
-
function
|
|
4320
|
+
function SE(e, t) {
|
|
4312
4321
|
const n = Number.parseInt(e, t);
|
|
4313
4322
|
return (
|
|
4314
4323
|
// C0 except for HT, LF, FF, CR, space.
|
|
@@ -4675,7 +4684,7 @@ function sw(e, t, n) {
|
|
|
4675
4684
|
return i === null || ae(i) ? t(i) : n(i);
|
|
4676
4685
|
}
|
|
4677
4686
|
}
|
|
4678
|
-
const
|
|
4687
|
+
const wE = {
|
|
4679
4688
|
continuation: {
|
|
4680
4689
|
tokenize: uw
|
|
4681
4690
|
},
|
|
@@ -4706,13 +4715,13 @@ function uw(e, t, n) {
|
|
|
4706
4715
|
return fe(o) ? Se(e, i, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(o) : i(o);
|
|
4707
4716
|
}
|
|
4708
4717
|
function i(o) {
|
|
4709
|
-
return e.attempt(
|
|
4718
|
+
return e.attempt(wE, t, n)(o);
|
|
4710
4719
|
}
|
|
4711
4720
|
}
|
|
4712
4721
|
function cw(e) {
|
|
4713
4722
|
e.exit("blockQuote");
|
|
4714
4723
|
}
|
|
4715
|
-
const
|
|
4724
|
+
const CE = {
|
|
4716
4725
|
name: "characterEscape",
|
|
4717
4726
|
tokenize: dw
|
|
4718
4727
|
};
|
|
@@ -4725,7 +4734,7 @@ function dw(e, t, n) {
|
|
|
4725
4734
|
return KS(i) ? (e.enter("characterEscapeValue"), e.consume(i), e.exit("characterEscapeValue"), e.exit("characterEscape"), t) : n(i);
|
|
4726
4735
|
}
|
|
4727
4736
|
}
|
|
4728
|
-
const
|
|
4737
|
+
const TE = {
|
|
4729
4738
|
name: "characterReference",
|
|
4730
4739
|
tokenize: pw
|
|
4731
4740
|
};
|
|
@@ -5090,7 +5099,7 @@ function xn(e, t) {
|
|
|
5090
5099
|
for (; n < t.length; )
|
|
5091
5100
|
e.push(...t.slice(n, n + 1e4)), n += 1e4;
|
|
5092
5101
|
}
|
|
5093
|
-
function
|
|
5102
|
+
function xE(e) {
|
|
5094
5103
|
const t = {};
|
|
5095
5104
|
let n = -1, r, a, i, o, s, l, u;
|
|
5096
5105
|
const c = new ww(e);
|
|
@@ -5147,7 +5156,7 @@ const Tw = {
|
|
|
5147
5156
|
tokenize: Rw
|
|
5148
5157
|
};
|
|
5149
5158
|
function Aw(e) {
|
|
5150
|
-
return
|
|
5159
|
+
return xE(e), e;
|
|
5151
5160
|
}
|
|
5152
5161
|
function _w(e, t) {
|
|
5153
5162
|
let n;
|
|
@@ -5183,7 +5192,7 @@ function Rw(e, t, n) {
|
|
|
5183
5192
|
return !r.parser.constructs.disable.null.includes("codeIndented") && s && s[1].type === "linePrefix" && s[2].sliceSerialize(s[1], !0).length >= 4 ? t(o) : e.interrupt(r.parser.constructs.flow, n, t)(o);
|
|
5184
5193
|
}
|
|
5185
5194
|
}
|
|
5186
|
-
function
|
|
5195
|
+
function AE(e, t, n, r, a, i, o, s, l) {
|
|
5187
5196
|
const u = l || Number.POSITIVE_INFINITY;
|
|
5188
5197
|
let c = 0;
|
|
5189
5198
|
return d;
|
|
@@ -5210,7 +5219,7 @@ function xE(e, t, n, r, a, i, o, s, l) {
|
|
|
5210
5219
|
return T === 40 || T === 41 || T === 92 ? (e.consume(T), S) : S(T);
|
|
5211
5220
|
}
|
|
5212
5221
|
}
|
|
5213
|
-
function
|
|
5222
|
+
function _E(e, t, n, r, a, i) {
|
|
5214
5223
|
const o = this;
|
|
5215
5224
|
let s = 0, l;
|
|
5216
5225
|
return u;
|
|
@@ -5234,7 +5243,7 @@ function AE(e, t, n, r, a, i) {
|
|
|
5234
5243
|
return p === 91 || p === 92 || p === 93 ? (e.consume(p), s++, d) : d(p);
|
|
5235
5244
|
}
|
|
5236
5245
|
}
|
|
5237
|
-
function
|
|
5246
|
+
function RE(e, t, n, r, a, i) {
|
|
5238
5247
|
let o;
|
|
5239
5248
|
return s;
|
|
5240
5249
|
function s(f) {
|
|
@@ -5277,7 +5286,7 @@ function Nw(e, t, n) {
|
|
|
5277
5286
|
return e.enter("definition"), o(p);
|
|
5278
5287
|
}
|
|
5279
5288
|
function o(p) {
|
|
5280
|
-
return
|
|
5289
|
+
return _E.call(
|
|
5281
5290
|
r,
|
|
5282
5291
|
e,
|
|
5283
5292
|
s,
|
|
@@ -5295,7 +5304,7 @@ function Nw(e, t, n) {
|
|
|
5295
5304
|
return He(p) ? Ln(e, u)(p) : u(p);
|
|
5296
5305
|
}
|
|
5297
5306
|
function u(p) {
|
|
5298
|
-
return
|
|
5307
|
+
return AE(
|
|
5299
5308
|
e,
|
|
5300
5309
|
c,
|
|
5301
5310
|
// Note: we don’t need to reset the way `markdown-rs` does.
|
|
@@ -5323,7 +5332,7 @@ function Ow(e, t, n) {
|
|
|
5323
5332
|
return He(s) ? Ln(e, a)(s) : n(s);
|
|
5324
5333
|
}
|
|
5325
5334
|
function a(s) {
|
|
5326
|
-
return
|
|
5335
|
+
return RE(e, i, n, "definitionTitle", "definitionTitleMarker", "definitionTitleString")(s);
|
|
5327
5336
|
}
|
|
5328
5337
|
function i(s) {
|
|
5329
5338
|
return fe(s) ? Se(e, o, "whitespace")(s) : o(s);
|
|
@@ -5784,7 +5793,7 @@ function eC(e, t, n) {
|
|
|
5784
5793
|
return He(d) ? Ln(e, i)(d) : i(d);
|
|
5785
5794
|
}
|
|
5786
5795
|
function i(d) {
|
|
5787
|
-
return d === 41 ? c(d) :
|
|
5796
|
+
return d === 41 ? c(d) : AE(e, o, s, "resourceDestination", "resourceDestinationLiteral", "resourceDestinationLiteralMarker", "resourceDestinationRaw", "resourceDestinationString", 32)(d);
|
|
5788
5797
|
}
|
|
5789
5798
|
function o(d) {
|
|
5790
5799
|
return He(d) ? Ln(e, l)(d) : c(d);
|
|
@@ -5793,7 +5802,7 @@ function eC(e, t, n) {
|
|
|
5793
5802
|
return n(d);
|
|
5794
5803
|
}
|
|
5795
5804
|
function l(d) {
|
|
5796
|
-
return d === 34 || d === 39 || d === 40 ?
|
|
5805
|
+
return d === 34 || d === 39 || d === 40 ? RE(e, u, n, "resourceTitle", "resourceTitleMarker", "resourceTitleString")(d) : c(d);
|
|
5797
5806
|
}
|
|
5798
5807
|
function u(d) {
|
|
5799
5808
|
return He(d) ? Ln(e, c)(d) : c(d);
|
|
@@ -5806,7 +5815,7 @@ function tC(e, t, n) {
|
|
|
5806
5815
|
const r = this;
|
|
5807
5816
|
return a;
|
|
5808
5817
|
function a(s) {
|
|
5809
|
-
return
|
|
5818
|
+
return _E.call(r, e, i, o, "reference", "referenceMarker", "referenceString")(s);
|
|
5810
5819
|
}
|
|
5811
5820
|
function i(s) {
|
|
5812
5821
|
return r.parser.defined.includes(fn(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1))) ? t(s) : n(s);
|
|
@@ -6050,11 +6059,11 @@ function yC(e) {
|
|
|
6050
6059
|
}
|
|
6051
6060
|
}
|
|
6052
6061
|
const vC = {
|
|
6053
|
-
resolveAll:
|
|
6054
|
-
}, SC =
|
|
6055
|
-
function
|
|
6062
|
+
resolveAll: IE()
|
|
6063
|
+
}, SC = kE("string"), wC = kE("text");
|
|
6064
|
+
function kE(e) {
|
|
6056
6065
|
return {
|
|
6057
|
-
resolveAll:
|
|
6066
|
+
resolveAll: IE(e === "text" ? CC : void 0),
|
|
6058
6067
|
tokenize: t
|
|
6059
6068
|
};
|
|
6060
6069
|
function t(n) {
|
|
@@ -6088,7 +6097,7 @@ function RE(e) {
|
|
|
6088
6097
|
}
|
|
6089
6098
|
}
|
|
6090
6099
|
}
|
|
6091
|
-
function
|
|
6100
|
+
function IE(e) {
|
|
6092
6101
|
return t;
|
|
6093
6102
|
function t(n, r) {
|
|
6094
6103
|
let a = -1, i;
|
|
@@ -6153,7 +6162,7 @@ const TC = {
|
|
|
6153
6162
|
55: Ge,
|
|
6154
6163
|
56: Ge,
|
|
6155
6164
|
57: Ge,
|
|
6156
|
-
62:
|
|
6165
|
+
62: wE
|
|
6157
6166
|
}, xC = {
|
|
6158
6167
|
91: kw
|
|
6159
6168
|
}, AC = {
|
|
@@ -6170,18 +6179,18 @@ const TC = {
|
|
|
6170
6179
|
96: cd,
|
|
6171
6180
|
126: cd
|
|
6172
6181
|
}, RC = {
|
|
6173
|
-
38:
|
|
6174
|
-
92:
|
|
6182
|
+
38: TE,
|
|
6183
|
+
92: CE
|
|
6175
6184
|
}, kC = {
|
|
6176
6185
|
[-5]: Br,
|
|
6177
6186
|
[-4]: Br,
|
|
6178
6187
|
[-3]: Br,
|
|
6179
6188
|
33: rC,
|
|
6180
|
-
38:
|
|
6189
|
+
38: TE,
|
|
6181
6190
|
42: Eu,
|
|
6182
6191
|
60: [iw, Vw],
|
|
6183
6192
|
91: iC,
|
|
6184
|
-
92: [Lw,
|
|
6193
|
+
92: [Lw, CE],
|
|
6185
6194
|
93: Wu,
|
|
6186
6195
|
95: Eu,
|
|
6187
6196
|
96: Ew
|
|
@@ -6443,7 +6452,7 @@ function FC(e) {
|
|
|
6443
6452
|
}
|
|
6444
6453
|
}
|
|
6445
6454
|
function UC(e) {
|
|
6446
|
-
for (; !
|
|
6455
|
+
for (; !xE(e); )
|
|
6447
6456
|
;
|
|
6448
6457
|
return e;
|
|
6449
6458
|
}
|
|
@@ -6492,11 +6501,11 @@ function qC(e, t, n) {
|
|
|
6492
6501
|
return t;
|
|
6493
6502
|
if (n.charCodeAt(0) === 35) {
|
|
6494
6503
|
const a = n.charCodeAt(1), i = a === 120 || a === 88;
|
|
6495
|
-
return
|
|
6504
|
+
return SE(n.slice(i ? 2 : 1), i ? 16 : 10);
|
|
6496
6505
|
}
|
|
6497
6506
|
return Hu(n) || e;
|
|
6498
6507
|
}
|
|
6499
|
-
const
|
|
6508
|
+
const NE = {}.hasOwnProperty;
|
|
6500
6509
|
function zC(e, t, n) {
|
|
6501
6510
|
return typeof t != "string" && (n = t, t = void 0), GC(n)(UC(FC(n).document().write(BC()(e, t, !0))));
|
|
6502
6511
|
}
|
|
@@ -6599,7 +6608,7 @@ function GC(e) {
|
|
|
6599
6608
|
thematicBreak: l()
|
|
6600
6609
|
}
|
|
6601
6610
|
};
|
|
6602
|
-
|
|
6611
|
+
OE(t, (e || {}).mdastExtensions || []);
|
|
6603
6612
|
const n = {};
|
|
6604
6613
|
return r;
|
|
6605
6614
|
function r(P) {
|
|
@@ -6628,7 +6637,7 @@ function GC(e) {
|
|
|
6628
6637
|
}
|
|
6629
6638
|
for (ge = -1; ++ge < P.length; ) {
|
|
6630
6639
|
const je = t[P[ge][0]];
|
|
6631
|
-
|
|
6640
|
+
NE.call(je, P[ge][1].type) && je[P[ge][1].type].call(Object.assign({
|
|
6632
6641
|
sliceSerialize: P[ge][2].sliceSerialize
|
|
6633
6642
|
}, re), P[ge][1]);
|
|
6634
6643
|
}
|
|
@@ -6887,7 +6896,7 @@ function GC(e) {
|
|
|
6887
6896
|
function K(P) {
|
|
6888
6897
|
const q = this.sliceSerialize(P), re = this.data.characterReferenceType;
|
|
6889
6898
|
let ce;
|
|
6890
|
-
re ? (ce =
|
|
6899
|
+
re ? (ce = SE(q, re === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : ce = Hu(q);
|
|
6891
6900
|
const ge = this.stack[this.stack.length - 1];
|
|
6892
6901
|
ge.value += ce;
|
|
6893
6902
|
}
|
|
@@ -7023,17 +7032,17 @@ function It(e) {
|
|
|
7023
7032
|
offset: e.offset
|
|
7024
7033
|
};
|
|
7025
7034
|
}
|
|
7026
|
-
function
|
|
7035
|
+
function OE(e, t) {
|
|
7027
7036
|
let n = -1;
|
|
7028
7037
|
for (; ++n < t.length; ) {
|
|
7029
7038
|
const r = t[n];
|
|
7030
|
-
Array.isArray(r) ?
|
|
7039
|
+
Array.isArray(r) ? OE(e, r) : HC(e, r);
|
|
7031
7040
|
}
|
|
7032
7041
|
}
|
|
7033
7042
|
function HC(e, t) {
|
|
7034
7043
|
let n;
|
|
7035
7044
|
for (n in t)
|
|
7036
|
-
if (
|
|
7045
|
+
if (NE.call(t, n))
|
|
7037
7046
|
switch (n) {
|
|
7038
7047
|
case "canContainEols": {
|
|
7039
7048
|
const r = t[n];
|
|
@@ -7163,7 +7172,7 @@ function eT(e, t) {
|
|
|
7163
7172
|
return e.patch(t, n), e.applyData(t, n);
|
|
7164
7173
|
}
|
|
7165
7174
|
}
|
|
7166
|
-
function
|
|
7175
|
+
function LE(e, t) {
|
|
7167
7176
|
const n = t.referenceType;
|
|
7168
7177
|
let r = "]";
|
|
7169
7178
|
if (n === "collapsed" ? r += "[]" : n === "full" && (r += "[" + (t.label || t.identifier) + "]"), t.type === "imageReference")
|
|
@@ -7176,7 +7185,7 @@ function OE(e, t) {
|
|
|
7176
7185
|
function tT(e, t) {
|
|
7177
7186
|
const n = String(t.identifier).toUpperCase(), r = e.definitionById.get(n);
|
|
7178
7187
|
if (!r)
|
|
7179
|
-
return
|
|
7188
|
+
return LE(e, t);
|
|
7180
7189
|
const a = { src: Sn(r.url || ""), alt: t.alt };
|
|
7181
7190
|
r.title !== null && r.title !== void 0 && (a.title = r.title);
|
|
7182
7191
|
const i = { type: "element", tagName: "img", properties: a, children: [] };
|
|
@@ -7202,7 +7211,7 @@ function rT(e, t) {
|
|
|
7202
7211
|
function aT(e, t) {
|
|
7203
7212
|
const n = String(t.identifier).toUpperCase(), r = e.definitionById.get(n);
|
|
7204
7213
|
if (!r)
|
|
7205
|
-
return
|
|
7214
|
+
return LE(e, t);
|
|
7206
7215
|
const a = { href: Sn(r.url || "") };
|
|
7207
7216
|
r.title !== null && r.title !== void 0 && (a.title = r.title);
|
|
7208
7217
|
const i = {
|
|
@@ -7225,7 +7234,7 @@ function iT(e, t) {
|
|
|
7225
7234
|
return e.patch(t, r), e.applyData(t, r);
|
|
7226
7235
|
}
|
|
7227
7236
|
function oT(e, t, n) {
|
|
7228
|
-
const r = e.all(t), a = n ? sT(n) :
|
|
7237
|
+
const r = e.all(t), a = n ? sT(n) : DE(t), i = {}, o = [];
|
|
7229
7238
|
if (typeof t.checked == "boolean") {
|
|
7230
7239
|
const c = r[0];
|
|
7231
7240
|
let d;
|
|
@@ -7255,11 +7264,11 @@ function sT(e) {
|
|
|
7255
7264
|
const n = e.children;
|
|
7256
7265
|
let r = -1;
|
|
7257
7266
|
for (; !t && ++r < n.length; )
|
|
7258
|
-
t =
|
|
7267
|
+
t = DE(n[r]);
|
|
7259
7268
|
}
|
|
7260
7269
|
return t;
|
|
7261
7270
|
}
|
|
7262
|
-
function
|
|
7271
|
+
function DE(e) {
|
|
7263
7272
|
const t = e.spread;
|
|
7264
7273
|
return t ?? e.children.length > 1;
|
|
7265
7274
|
}
|
|
@@ -7320,7 +7329,7 @@ function pT(e, t) {
|
|
|
7320
7329
|
tagName: "tbody",
|
|
7321
7330
|
properties: {},
|
|
7322
7331
|
children: e.wrap(n, !0)
|
|
7323
|
-
}, s = ju(t.children[1]), l =
|
|
7332
|
+
}, s = ju(t.children[1]), l = gE(t.children[t.children.length - 1]);
|
|
7324
7333
|
s && l && (o.position = { start: s, end: l }), a.push(o);
|
|
7325
7334
|
}
|
|
7326
7335
|
const i = {
|
|
@@ -7430,14 +7439,14 @@ const ET = {
|
|
|
7430
7439
|
};
|
|
7431
7440
|
function Qn() {
|
|
7432
7441
|
}
|
|
7433
|
-
const
|
|
7442
|
+
const ME = -1, Sr = 0, Dn = 1, gr = 2, Yu = 3, Ku = 4, Zu = 5, Xu = 6, PE = 7, FE = 8, Ed = typeof self == "object" ? self : globalThis, yT = (e, t) => {
|
|
7434
7443
|
const n = (a, i) => (e.set(i, a), a), r = (a) => {
|
|
7435
7444
|
if (e.has(a))
|
|
7436
7445
|
return e.get(a);
|
|
7437
7446
|
const [i, o] = t[a];
|
|
7438
7447
|
switch (i) {
|
|
7439
7448
|
case Sr:
|
|
7440
|
-
case
|
|
7449
|
+
case ME:
|
|
7441
7450
|
return n(o, a);
|
|
7442
7451
|
case Dn: {
|
|
7443
7452
|
const s = n([], a);
|
|
@@ -7469,11 +7478,11 @@ const DE = -1, Sr = 0, Dn = 1, gr = 2, Yu = 3, Ku = 4, Zu = 5, Xu = 6, ME = 7, P
|
|
|
7469
7478
|
s.add(r(l));
|
|
7470
7479
|
return s;
|
|
7471
7480
|
}
|
|
7472
|
-
case
|
|
7481
|
+
case PE: {
|
|
7473
7482
|
const { name: s, message: l } = o;
|
|
7474
7483
|
return n(new Ed[s](l), a);
|
|
7475
7484
|
}
|
|
7476
|
-
case
|
|
7485
|
+
case FE:
|
|
7477
7486
|
return n(BigInt(o), a);
|
|
7478
7487
|
case "BigInt":
|
|
7479
7488
|
return n(Object(BigInt(o)), a);
|
|
@@ -7508,7 +7517,7 @@ const DE = -1, Sr = 0, Dn = 1, gr = 2, Yu = 3, Ku = 4, Zu = 5, Xu = 6, ME = 7, P
|
|
|
7508
7517
|
case "DataView":
|
|
7509
7518
|
return [Dn, n];
|
|
7510
7519
|
}
|
|
7511
|
-
return n.includes("Array") ? [Dn, n] : n.includes("Error") ? [
|
|
7520
|
+
return n.includes("Array") ? [Dn, n] : n.includes("Error") ? [PE, n] : [gr, n];
|
|
7512
7521
|
}, er = ([e, t]) => e === Sr && (t === "function" || t === "symbol"), wT = (e, t, n, r) => {
|
|
7513
7522
|
const a = (o, s) => {
|
|
7514
7523
|
const l = r.push(o) - 1;
|
|
@@ -7522,7 +7531,7 @@ const DE = -1, Sr = 0, Dn = 1, gr = 2, Yu = 3, Ku = 4, Zu = 5, Xu = 6, ME = 7, P
|
|
|
7522
7531
|
let c = o;
|
|
7523
7532
|
switch (l) {
|
|
7524
7533
|
case "bigint":
|
|
7525
|
-
s =
|
|
7534
|
+
s = FE, c = o.toString();
|
|
7526
7535
|
break;
|
|
7527
7536
|
case "function":
|
|
7528
7537
|
case "symbol":
|
|
@@ -7531,7 +7540,7 @@ const DE = -1, Sr = 0, Dn = 1, gr = 2, Yu = 3, Ku = 4, Zu = 5, Xu = 6, ME = 7, P
|
|
|
7531
7540
|
c = null;
|
|
7532
7541
|
break;
|
|
7533
7542
|
case "undefined":
|
|
7534
|
-
return a([
|
|
7543
|
+
return a([ME], o);
|
|
7535
7544
|
}
|
|
7536
7545
|
return a([s, c], o);
|
|
7537
7546
|
}
|
|
@@ -7675,7 +7684,7 @@ function xT(e) {
|
|
|
7675
7684
|
]
|
|
7676
7685
|
};
|
|
7677
7686
|
}
|
|
7678
|
-
const
|
|
7687
|
+
const UE = (
|
|
7679
7688
|
// Note: overloads in JSDoc can’t yet use different `@template`s.
|
|
7680
7689
|
/**
|
|
7681
7690
|
* @type {(
|
|
@@ -7706,7 +7715,7 @@ function AT(e) {
|
|
|
7706
7715
|
const t = [];
|
|
7707
7716
|
let n = -1;
|
|
7708
7717
|
for (; ++n < e.length; )
|
|
7709
|
-
t[n] =
|
|
7718
|
+
t[n] = UE(e[n]);
|
|
7710
7719
|
return wr(r);
|
|
7711
7720
|
function r(...a) {
|
|
7712
7721
|
let i = -1;
|
|
@@ -7756,11 +7765,11 @@ function kT() {
|
|
|
7756
7765
|
function IT(e) {
|
|
7757
7766
|
return e !== null && typeof e == "object" && "type" in e;
|
|
7758
7767
|
}
|
|
7759
|
-
const
|
|
7768
|
+
const BE = [], NT = !0, Sd = !1, OT = "skip";
|
|
7760
7769
|
function LT(e, t, n, r) {
|
|
7761
7770
|
let a;
|
|
7762
7771
|
typeof t == "function" && typeof n != "function" ? (r = n, n = t) : a = t;
|
|
7763
|
-
const i =
|
|
7772
|
+
const i = UE(a), o = r ? -1 : 1;
|
|
7764
7773
|
s(e, void 0, [])();
|
|
7765
7774
|
function s(l, u, c) {
|
|
7766
7775
|
const d = (
|
|
@@ -7781,7 +7790,7 @@ function LT(e, t, n, r) {
|
|
|
7781
7790
|
}
|
|
7782
7791
|
return f;
|
|
7783
7792
|
function f() {
|
|
7784
|
-
let p =
|
|
7793
|
+
let p = BE, y, S, x;
|
|
7785
7794
|
if ((!t || i(l, u, c[c.length - 1] || void 0)) && (p = DT(n(l, c)), p[0] === Sd))
|
|
7786
7795
|
return p;
|
|
7787
7796
|
if ("children" in l && l.children) {
|
|
@@ -7802,9 +7811,9 @@ function LT(e, t, n, r) {
|
|
|
7802
7811
|
}
|
|
7803
7812
|
}
|
|
7804
7813
|
function DT(e) {
|
|
7805
|
-
return Array.isArray(e) ? e : typeof e == "number" ? [NT, e] : e == null ?
|
|
7814
|
+
return Array.isArray(e) ? e : typeof e == "number" ? [NT, e] : e == null ? BE : [e];
|
|
7806
7815
|
}
|
|
7807
|
-
function
|
|
7816
|
+
function $E(e, t, n, r) {
|
|
7808
7817
|
let a, i, o;
|
|
7809
7818
|
typeof t == "function" ? (i = void 0, o = t, a = n) : (i = t, o = n, a = r), LT(e, i, s, a);
|
|
7810
7819
|
function s(l, u) {
|
|
@@ -7827,7 +7836,7 @@ function PT(e, t) {
|
|
|
7827
7836
|
patch: FT,
|
|
7828
7837
|
wrap: $T
|
|
7829
7838
|
};
|
|
7830
|
-
return
|
|
7839
|
+
return $E(e, function(c) {
|
|
7831
7840
|
if (c.type === "definition" || c.type === "footnoteDefinition") {
|
|
7832
7841
|
const d = c.type === "definition" ? r : a, f = String(c.identifier).toUpperCase();
|
|
7833
7842
|
d.has(f) || d.set(f, c);
|
|
@@ -7931,10 +7940,10 @@ function Td(e) {
|
|
|
7931
7940
|
if (e)
|
|
7932
7941
|
throw e;
|
|
7933
7942
|
}
|
|
7934
|
-
var cr = Object.prototype.hasOwnProperty,
|
|
7935
|
-
return typeof Array.isArray == "function" ? Array.isArray(t) :
|
|
7943
|
+
var cr = Object.prototype.hasOwnProperty, jE = Object.prototype.toString, xd = Object.defineProperty, Ad = Object.getOwnPropertyDescriptor, _d = function(t) {
|
|
7944
|
+
return typeof Array.isArray == "function" ? Array.isArray(t) : jE.call(t) === "[object Array]";
|
|
7936
7945
|
}, Rd = function(t) {
|
|
7937
|
-
if (!t ||
|
|
7946
|
+
if (!t || jE.call(t) !== "[object Object]")
|
|
7938
7947
|
return !1;
|
|
7939
7948
|
var n = cr.call(t, "constructor"), r = t.constructor && t.constructor.prototype && cr.call(t.constructor.prototype, "isPrototypeOf");
|
|
7940
7949
|
if (t.constructor && !n && !r)
|
|
@@ -8192,7 +8201,7 @@ const jr = (
|
|
|
8192
8201
|
"dirname"
|
|
8193
8202
|
]
|
|
8194
8203
|
);
|
|
8195
|
-
class
|
|
8204
|
+
class qE {
|
|
8196
8205
|
/**
|
|
8197
8206
|
* Create a new virtual file.
|
|
8198
8207
|
*
|
|
@@ -9108,7 +9117,7 @@ function Ld(e, t, n) {
|
|
|
9108
9117
|
);
|
|
9109
9118
|
}
|
|
9110
9119
|
function tr(e) {
|
|
9111
|
-
return ix(e) ? e : new
|
|
9120
|
+
return ix(e) ? e : new qE(e);
|
|
9112
9121
|
}
|
|
9113
9122
|
function ix(e) {
|
|
9114
9123
|
return !!(e && typeof e == "object" && "message" in e && "messages" in e);
|
|
@@ -9161,7 +9170,7 @@ function px(e) {
|
|
|
9161
9170
|
return ax().use(VC).use(n).use(jT, r).use(t);
|
|
9162
9171
|
}
|
|
9163
9172
|
function fx(e) {
|
|
9164
|
-
const t = e.children || "", n = new
|
|
9173
|
+
const t = e.children || "", n = new qE();
|
|
9165
9174
|
return typeof t == "string" && (n.value = t), n;
|
|
9166
9175
|
}
|
|
9167
9176
|
function gx(e, t) {
|
|
@@ -9177,7 +9186,7 @@ function gx(e, t) {
|
|
|
9177
9186
|
/** @type {Array<ElementContent>} */
|
|
9178
9187
|
e.type === "root" ? e.children : [e]
|
|
9179
9188
|
)
|
|
9180
|
-
}),
|
|
9189
|
+
}), $E(e, u), xS(e, {
|
|
9181
9190
|
Fragment: g.Fragment,
|
|
9182
9191
|
// @ts-expect-error
|
|
9183
9192
|
// React components are allowed to return numbers,
|
|
@@ -9216,7 +9225,7 @@ function mx(e) {
|
|
|
9216
9225
|
ux.test(e.slice(0, t)) ? e : ""
|
|
9217
9226
|
);
|
|
9218
9227
|
}
|
|
9219
|
-
const hx =
|
|
9228
|
+
const hx = jb`
|
|
9220
9229
|
0% {
|
|
9221
9230
|
opacity: 1;
|
|
9222
9231
|
transform: scale(1);
|
|
@@ -9280,7 +9289,7 @@ function wx(e, t, n) {
|
|
|
9280
9289
|
throw new Error("Random bytes length must be >= 16");
|
|
9281
9290
|
return r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128, Ex(r);
|
|
9282
9291
|
}
|
|
9283
|
-
const
|
|
9292
|
+
const zE = () => wx();
|
|
9284
9293
|
function Cr(e, t) {
|
|
9285
9294
|
if (e == null) return {};
|
|
9286
9295
|
var n = {};
|
|
@@ -9346,7 +9355,7 @@ function kx(e) {
|
|
|
9346
9355
|
var t = Rx(e, "string");
|
|
9347
9356
|
return Bn(t) == "symbol" ? t : t + "";
|
|
9348
9357
|
}
|
|
9349
|
-
function
|
|
9358
|
+
function GE(e, t, n) {
|
|
9350
9359
|
return (t = kx(t)) in e ? Object.defineProperty(e, t, {
|
|
9351
9360
|
value: n,
|
|
9352
9361
|
enumerable: !0,
|
|
@@ -9377,7 +9386,7 @@ function dn(e) {
|
|
|
9377
9386
|
for (var t = 1; t < arguments.length; t++) {
|
|
9378
9387
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
9379
9388
|
t % 2 ? Fd(Object(n), !0).forEach(function(r) {
|
|
9380
|
-
|
|
9389
|
+
GE(e, r, n[r]);
|
|
9381
9390
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Fd(Object(n)).forEach(function(r) {
|
|
9382
9391
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
|
|
9383
9392
|
});
|
|
@@ -9415,7 +9424,7 @@ function Lx(e, t) {
|
|
|
9415
9424
|
var n = 0;
|
|
9416
9425
|
return function(r) {
|
|
9417
9426
|
return n += 1, r.map(function(a, i) {
|
|
9418
|
-
return
|
|
9427
|
+
return HE({
|
|
9419
9428
|
node: a,
|
|
9420
9429
|
stylesheet: e,
|
|
9421
9430
|
useInlineStyles: t,
|
|
@@ -9424,7 +9433,7 @@ function Lx(e, t) {
|
|
|
9424
9433
|
});
|
|
9425
9434
|
};
|
|
9426
9435
|
}
|
|
9427
|
-
function
|
|
9436
|
+
function HE(e) {
|
|
9428
9437
|
var t = e.node, n = e.stylesheet, r = e.style, a = r === void 0 ? {} : r, i = e.useInlineStyles, o = e.key, s = t.properties, l = t.type, u = t.tagName, c = t.value;
|
|
9429
9438
|
if (l === "text")
|
|
9430
9439
|
return c;
|
|
@@ -9472,7 +9481,7 @@ function Nt(e) {
|
|
|
9472
9481
|
for (var t = 1; t < arguments.length; t++) {
|
|
9473
9482
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
9474
9483
|
t % 2 ? Bd(Object(n), !0).forEach(function(r) {
|
|
9475
|
-
|
|
9484
|
+
GE(e, r, n[r]);
|
|
9476
9485
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Bd(Object(n)).forEach(function(r) {
|
|
9477
9486
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
|
|
9478
9487
|
});
|
|
@@ -9512,7 +9521,7 @@ function Bx(e) {
|
|
|
9512
9521
|
function $x(e) {
|
|
9513
9522
|
return "".concat(e.toString().length, ".25em");
|
|
9514
9523
|
}
|
|
9515
|
-
function
|
|
9524
|
+
function VE(e, t) {
|
|
9516
9525
|
return {
|
|
9517
9526
|
type: "element",
|
|
9518
9527
|
tagName: "span",
|
|
@@ -9527,7 +9536,7 @@ function HE(e, t) {
|
|
|
9527
9536
|
}]
|
|
9528
9537
|
};
|
|
9529
9538
|
}
|
|
9530
|
-
function
|
|
9539
|
+
function WE(e, t, n) {
|
|
9531
9540
|
var r = {
|
|
9532
9541
|
display: "inline-block",
|
|
9533
9542
|
minWidth: $x(n),
|
|
@@ -9540,8 +9549,8 @@ function VE(e, t, n) {
|
|
|
9540
9549
|
function dr(e) {
|
|
9541
9550
|
var t = e.children, n = e.lineNumber, r = e.lineNumberStyle, a = e.largestLineNumber, i = e.showInlineLineNumbers, o = e.lineProps, s = o === void 0 ? {} : o, l = e.className, u = l === void 0 ? [] : l, c = e.showLineNumbers, d = e.wrapLongLines, f = e.wrapLines, p = f === void 0 ? !1 : f, y = p ? Nt({}, typeof s == "function" ? s(n) : s) : {};
|
|
9542
9551
|
if (y.className = y.className ? [].concat(Tu(y.className.trim().split(/\s+/)), Tu(u)) : u, n && i) {
|
|
9543
|
-
var S =
|
|
9544
|
-
t.unshift(
|
|
9552
|
+
var S = WE(r, n, a);
|
|
9553
|
+
t.unshift(VE(n, S));
|
|
9545
9554
|
}
|
|
9546
9555
|
return d & c && (y.style = Nt({
|
|
9547
9556
|
display: "flex"
|
|
@@ -9552,7 +9561,7 @@ function dr(e) {
|
|
|
9552
9561
|
children: t
|
|
9553
9562
|
};
|
|
9554
9563
|
}
|
|
9555
|
-
function
|
|
9564
|
+
function YE(e) {
|
|
9556
9565
|
for (var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [], r = 0; r < e.length; r++) {
|
|
9557
9566
|
var a = e[r];
|
|
9558
9567
|
if (a.type === "text")
|
|
@@ -9562,7 +9571,7 @@ function WE(e) {
|
|
|
9562
9571
|
}));
|
|
9563
9572
|
else if (a.children) {
|
|
9564
9573
|
var i = t.concat(a.properties.className);
|
|
9565
|
-
|
|
9574
|
+
YE(a.children, i).forEach(function(o) {
|
|
9566
9575
|
return n.push(o);
|
|
9567
9576
|
});
|
|
9568
9577
|
}
|
|
@@ -9570,7 +9579,7 @@ function WE(e) {
|
|
|
9570
9579
|
return n;
|
|
9571
9580
|
}
|
|
9572
9581
|
function jx(e, t, n, r, a, i, o, s, l) {
|
|
9573
|
-
var u, c =
|
|
9582
|
+
var u, c = YE(e.value), d = [], f = -1, p = 0;
|
|
9574
9583
|
function y(h, b) {
|
|
9575
9584
|
var R = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];
|
|
9576
9585
|
return dr({
|
|
@@ -9588,8 +9597,8 @@ function jx(e, t, n, r, a, i, o, s, l) {
|
|
|
9588
9597
|
}
|
|
9589
9598
|
function S(h, b) {
|
|
9590
9599
|
if (r && b && a) {
|
|
9591
|
-
var R =
|
|
9592
|
-
h.unshift(
|
|
9600
|
+
var R = WE(s, b, o);
|
|
9601
|
+
h.unshift(VE(b, R));
|
|
9593
9602
|
}
|
|
9594
9603
|
return h;
|
|
9595
9604
|
}
|
|
@@ -9650,7 +9659,7 @@ function jx(e, t, n, r, a, i, o, s, l) {
|
|
|
9650
9659
|
function qx(e) {
|
|
9651
9660
|
var t = e.rows, n = e.stylesheet, r = e.useInlineStyles;
|
|
9652
9661
|
return t.map(function(a, i) {
|
|
9653
|
-
return
|
|
9662
|
+
return HE({
|
|
9654
9663
|
node: a,
|
|
9655
9664
|
stylesheet: n,
|
|
9656
9665
|
useInlineStyles: r,
|
|
@@ -9658,12 +9667,12 @@ function qx(e) {
|
|
|
9658
9667
|
});
|
|
9659
9668
|
});
|
|
9660
9669
|
}
|
|
9661
|
-
function
|
|
9670
|
+
function KE(e) {
|
|
9662
9671
|
return e && typeof e.highlightAuto < "u";
|
|
9663
9672
|
}
|
|
9664
9673
|
function zx(e) {
|
|
9665
9674
|
var t = e.astGenerator, n = e.language, r = e.code, a = e.defaultCodeValue;
|
|
9666
|
-
if (
|
|
9675
|
+
if (KE(t)) {
|
|
9667
9676
|
var i = Dx(t, n);
|
|
9668
9677
|
return n === "text" ? {
|
|
9669
9678
|
value: a,
|
|
@@ -9697,7 +9706,7 @@ function Gx(e, t) {
|
|
|
9697
9706
|
codeString: G
|
|
9698
9707
|
}) : null, F = s.hljs || s['pre[class*="language-"]'] || {
|
|
9699
9708
|
backgroundColor: "#fff"
|
|
9700
|
-
}, C =
|
|
9709
|
+
}, C = KE(J) ? "hljs" : "prismjs", V = p ? Object.assign({}, w, {
|
|
9701
9710
|
style: Object.assign({}, F, u)
|
|
9702
9711
|
}) : Object.assign({}, w, {
|
|
9703
9712
|
className: w.className ? "".concat(C, " ").concat(w.className) : C,
|
|
@@ -9746,14 +9755,14 @@ function Yx() {
|
|
|
9746
9755
|
}
|
|
9747
9756
|
return e;
|
|
9748
9757
|
}
|
|
9749
|
-
var
|
|
9758
|
+
var ZE = XE, Qu = XE.prototype;
|
|
9750
9759
|
Qu.space = null;
|
|
9751
9760
|
Qu.normal = {};
|
|
9752
9761
|
Qu.property = {};
|
|
9753
|
-
function
|
|
9762
|
+
function XE(e, t, n) {
|
|
9754
9763
|
this.property = e, this.normal = t, n && (this.space = n);
|
|
9755
9764
|
}
|
|
9756
|
-
var $d = Vx, Kx =
|
|
9765
|
+
var $d = Vx, Kx = ZE, Zx = Xx;
|
|
9757
9766
|
function Xx(e) {
|
|
9758
9767
|
for (var t = e.length, n = [], r = [], a = -1, i, o; ++a < t; )
|
|
9759
9768
|
i = e[a], n.push(i.property), r.push(i.normal), o = i.space;
|
|
@@ -9767,7 +9776,7 @@ var ec = Jx;
|
|
|
9767
9776
|
function Jx(e) {
|
|
9768
9777
|
return e.toLowerCase();
|
|
9769
9778
|
}
|
|
9770
|
-
var
|
|
9779
|
+
var JE = QE, st = QE.prototype;
|
|
9771
9780
|
st.space = null;
|
|
9772
9781
|
st.attribute = null;
|
|
9773
9782
|
st.property = null;
|
|
@@ -9780,7 +9789,7 @@ st.spaceSeparated = !1;
|
|
|
9780
9789
|
st.commaOrSpaceSeparated = !1;
|
|
9781
9790
|
st.mustUseProperty = !1;
|
|
9782
9791
|
st.defined = !1;
|
|
9783
|
-
function
|
|
9792
|
+
function QE(e, t) {
|
|
9784
9793
|
this.property = e, this.attribute = t;
|
|
9785
9794
|
}
|
|
9786
9795
|
var St = {}, Qx = 0;
|
|
@@ -9794,10 +9803,10 @@ St.commaOrSpaceSeparated = Jt();
|
|
|
9794
9803
|
function Jt() {
|
|
9795
9804
|
return Math.pow(2, ++Qx);
|
|
9796
9805
|
}
|
|
9797
|
-
var
|
|
9798
|
-
tc.prototype = new
|
|
9806
|
+
var ey = JE, jd = St, ty = tc;
|
|
9807
|
+
tc.prototype = new ey();
|
|
9799
9808
|
tc.prototype.defined = !0;
|
|
9800
|
-
var
|
|
9809
|
+
var ny = [
|
|
9801
9810
|
"boolean",
|
|
9802
9811
|
"booleanish",
|
|
9803
9812
|
"overloadedBoolean",
|
|
@@ -9805,16 +9814,16 @@ var ty = [
|
|
|
9805
9814
|
"commaSeparated",
|
|
9806
9815
|
"spaceSeparated",
|
|
9807
9816
|
"commaOrSpaceSeparated"
|
|
9808
|
-
], eA =
|
|
9817
|
+
], eA = ny.length;
|
|
9809
9818
|
function tc(e, t, n, r) {
|
|
9810
9819
|
var a = -1, i;
|
|
9811
|
-
for (qd(this, "space", r),
|
|
9812
|
-
i =
|
|
9820
|
+
for (qd(this, "space", r), ey.call(this, e, t); ++a < eA; )
|
|
9821
|
+
i = ny[a], qd(this, i, (n & jd[i]) === jd[i]);
|
|
9813
9822
|
}
|
|
9814
9823
|
function qd(e, t, n) {
|
|
9815
9824
|
n && (e[t] = n);
|
|
9816
9825
|
}
|
|
9817
|
-
var zd = ec, tA =
|
|
9826
|
+
var zd = ec, tA = ZE, nA = ty, Vn = rA;
|
|
9818
9827
|
function rA(e) {
|
|
9819
9828
|
var t = e.space, n = e.mustUseProperty || [], r = e.attributes || {}, a = e.properties, i = e.transform, o = {}, s = {}, l, u;
|
|
9820
9829
|
for (l in a)
|
|
@@ -9858,11 +9867,11 @@ var cA = dA;
|
|
|
9858
9867
|
function dA(e, t) {
|
|
9859
9868
|
return t in e ? e[t] : t;
|
|
9860
9869
|
}
|
|
9861
|
-
var pA = cA,
|
|
9870
|
+
var pA = cA, ry = fA;
|
|
9862
9871
|
function fA(e, t) {
|
|
9863
9872
|
return pA(e, t.toLowerCase());
|
|
9864
9873
|
}
|
|
9865
|
-
var gA = Vn, mA =
|
|
9874
|
+
var gA = Vn, mA = ry, hA = gA({
|
|
9866
9875
|
space: "xmlns",
|
|
9867
9876
|
attributes: {
|
|
9868
9877
|
xmlnsxlink: "xmlns:xlink"
|
|
@@ -9929,7 +9938,7 @@ var gA = Vn, mA = ny, hA = gA({
|
|
|
9929
9938
|
function yA(e, t) {
|
|
9930
9939
|
return t === "role" ? t : "aria-" + t.slice(4).toLowerCase();
|
|
9931
9940
|
}
|
|
9932
|
-
var wn = St, vA = Vn, SA =
|
|
9941
|
+
var wn = St, vA = Vn, SA = ry, ue = wn.boolean, wA = wn.overloadedBoolean, _n = wn.booleanish, Ce = wn.number, $e = wn.spaceSeparated, nr = wn.commaSeparated, CA = vA({
|
|
9933
9942
|
space: "html",
|
|
9934
9943
|
attributes: {
|
|
9935
9944
|
acceptcharset: "accept-charset",
|
|
@@ -10275,18 +10284,18 @@ var wn = St, vA = Vn, SA = ny, ue = wn.boolean, wA = wn.overloadedBoolean, _n =
|
|
|
10275
10284
|
security: null,
|
|
10276
10285
|
unselectable: null
|
|
10277
10286
|
}
|
|
10278
|
-
}), TA = Zx, xA = iA, AA = lA, _A = hA, RA = EA, kA = CA, IA = TA([AA, xA, _A, RA, kA]), NA = ec, OA =
|
|
10287
|
+
}), TA = Zx, xA = iA, AA = lA, _A = hA, RA = EA, kA = CA, IA = TA([AA, xA, _A, RA, kA]), NA = ec, OA = ty, LA = JE, rc = "data", DA = FA, MA = /^data[-\w.:]+$/i, ay = /-[a-z]/g, PA = /[A-Z]/g;
|
|
10279
10288
|
function FA(e, t) {
|
|
10280
10289
|
var n = NA(t), r = t, a = LA;
|
|
10281
10290
|
return n in e.normal ? e.property[e.normal[n]] : (n.length > 4 && n.slice(0, 4) === rc && MA.test(t) && (t.charAt(4) === "-" ? r = UA(t) : t = BA(t), a = OA), new a(r, t));
|
|
10282
10291
|
}
|
|
10283
10292
|
function UA(e) {
|
|
10284
|
-
var t = e.slice(5).replace(
|
|
10293
|
+
var t = e.slice(5).replace(ay, jA);
|
|
10285
10294
|
return rc + t.charAt(0).toUpperCase() + t.slice(1);
|
|
10286
10295
|
}
|
|
10287
10296
|
function BA(e) {
|
|
10288
10297
|
var t = e.slice(4);
|
|
10289
|
-
return
|
|
10298
|
+
return ay.test(t) ? e : (t = t.replace(PA, $A), t.charAt(0) !== "-" && (t = "-" + t), rc + t);
|
|
10290
10299
|
}
|
|
10291
10300
|
function $A(e) {
|
|
10292
10301
|
return "-" + e.toLowerCase();
|
|
@@ -10333,7 +10342,7 @@ function e_(e, t, n) {
|
|
|
10333
10342
|
if (l.tagName = r && QA.call(r, c) ? r[c] : c, s && t_(s, l) && (u.unshift(s), s = null), s)
|
|
10334
10343
|
for (d in s)
|
|
10335
10344
|
i(l.properties, d, s[d]);
|
|
10336
|
-
return
|
|
10345
|
+
return iy(l.children, u), l.tagName === "template" && (l.content = { type: "root", children: l.children }, l.children = []), l;
|
|
10337
10346
|
}
|
|
10338
10347
|
function i(o, s, l) {
|
|
10339
10348
|
var u, c, d;
|
|
@@ -10347,7 +10356,7 @@ function n_(e, t) {
|
|
|
10347
10356
|
var n = t.type;
|
|
10348
10357
|
return e === "input" || !n || typeof n != "string" ? !1 : typeof t.children == "object" && "length" in t.children ? !0 : (n = n.toLowerCase(), e === "button" ? n !== "menu" && n !== "submit" && n !== "reset" && n !== "button" : "value" in t);
|
|
10349
10358
|
}
|
|
10350
|
-
function
|
|
10359
|
+
function iy(e, t) {
|
|
10351
10360
|
var n, r;
|
|
10352
10361
|
if (typeof t == "string" || typeof t == "number") {
|
|
10353
10362
|
e.push({ type: "text", value: String(t) });
|
|
@@ -10355,7 +10364,7 @@ function ay(e, t) {
|
|
|
10355
10364
|
}
|
|
10356
10365
|
if (typeof t == "object" && "length" in t) {
|
|
10357
10366
|
for (n = -1, r = t.length; ++n < r; )
|
|
10358
|
-
|
|
10367
|
+
iy(e, t[n]);
|
|
10359
10368
|
return;
|
|
10360
10369
|
}
|
|
10361
10370
|
if (typeof t != "object" || !("type" in t))
|
|
@@ -10385,9 +10394,9 @@ function i_(e) {
|
|
|
10385
10394
|
a = e[n], r[a.toLowerCase()] = a;
|
|
10386
10395
|
return r;
|
|
10387
10396
|
}
|
|
10388
|
-
var o_ = IA, s_ = JA,
|
|
10389
|
-
|
|
10390
|
-
var l_ =
|
|
10397
|
+
var o_ = IA, s_ = JA, oy = s_(o_, "div");
|
|
10398
|
+
oy.displayName = "html";
|
|
10399
|
+
var l_ = oy, u_ = l_;
|
|
10391
10400
|
const c_ = "Æ", d_ = "&", p_ = "Á", f_ = "Â", g_ = "À", m_ = "Å", h_ = "Ã", b_ = "Ä", E_ = "©", y_ = "Ç", v_ = "Ð", S_ = "É", w_ = "Ê", C_ = "È", T_ = "Ë", x_ = ">", A_ = "Í", __ = "Î", R_ = "Ì", k_ = "Ï", I_ = "<", N_ = "Ñ", O_ = "Ó", L_ = "Ô", D_ = "Ò", M_ = "Ø", P_ = "Õ", F_ = "Ö", U_ = '"', B_ = "®", $_ = "Þ", j_ = "Ú", q_ = "Û", z_ = "Ù", G_ = "Ü", H_ = "Ý", V_ = "á", W_ = "â", Y_ = "´", K_ = "æ", Z_ = "à", X_ = "&", J_ = "å", Q_ = "ã", e0 = "ä", t0 = "¦", n0 = "ç", r0 = "¸", a0 = "¢", i0 = "©", o0 = "¤", s0 = "°", l0 = "÷", u0 = "é", c0 = "ê", d0 = "è", p0 = "ð", f0 = "ë", g0 = "½", m0 = "¼", h0 = "¾", b0 = ">", E0 = "í", y0 = "î", v0 = "¡", S0 = "ì", w0 = "¿", C0 = "ï", T0 = "«", x0 = "<", A0 = "¯", _0 = "µ", R0 = "·", k0 = " ", I0 = "¬", N0 = "ñ", O0 = "ó", L0 = "ô", D0 = "ò", M0 = "ª", P0 = "º", F0 = "ø", U0 = "õ", B0 = "ö", $0 = "¶", j0 = "±", q0 = "£", z0 = '"', G0 = "»", H0 = "®", V0 = "§", W0 = "", Y0 = "¹", K0 = "²", Z0 = "³", X0 = "ß", J0 = "þ", Q0 = "×", eR = "ú", tR = "û", nR = "ù", rR = "¨", aR = "ü", iR = "ý", oR = "¥", sR = "ÿ", lR = {
|
|
10392
10401
|
AElig: c_,
|
|
10393
10402
|
AMP: d_,
|
|
@@ -10525,7 +10534,7 @@ const c_ = "Æ", d_ = "&", p_ = "Á", f_ = "Â", g_ = "À", m_ = "Å", h_ = "Ã"
|
|
|
10525
10534
|
158: "ž",
|
|
10526
10535
|
159: "Ÿ"
|
|
10527
10536
|
};
|
|
10528
|
-
var
|
|
10537
|
+
var sy = cR;
|
|
10529
10538
|
function cR(e) {
|
|
10530
10539
|
var t = typeof e == "string" ? e.charCodeAt(0) : e;
|
|
10531
10540
|
return t >= 48 && t <= 57;
|
|
@@ -10540,7 +10549,7 @@ function gR(e) {
|
|
|
10540
10549
|
var t = typeof e == "string" ? e.charCodeAt(0) : e;
|
|
10541
10550
|
return t >= 97 && t <= 122 || t >= 65 && t <= 90;
|
|
10542
10551
|
}
|
|
10543
|
-
var mR = fR, hR =
|
|
10552
|
+
var mR = fR, hR = sy, bR = ER;
|
|
10544
10553
|
function ER(e) {
|
|
10545
10554
|
return mR(e) || hR(e);
|
|
10546
10555
|
}
|
|
@@ -10549,7 +10558,7 @@ function SR(e) {
|
|
|
10549
10558
|
var t = "&" + e + ";", n;
|
|
10550
10559
|
return rr = rr || document.createElement("i"), rr.innerHTML = t, n = rr.textContent, n.charCodeAt(n.length - 1) === yR && e !== "semi" || n === t ? !1 : n;
|
|
10551
10560
|
}
|
|
10552
|
-
var Xd = lR, Jd = uR, wR =
|
|
10561
|
+
var Xd = lR, Jd = uR, wR = sy, CR = dR, ly = bR, TR = vR, xR = UR, AR = {}.hasOwnProperty, sn = String.fromCharCode, _R = Function.prototype, Qd = {
|
|
10553
10562
|
warning: null,
|
|
10554
10563
|
reference: null,
|
|
10555
10564
|
text: null,
|
|
@@ -10564,17 +10573,17 @@ var Xd = lR, Jd = uR, wR = oy, CR = dR, sy = bR, TR = vR, xR = UR, AR = {}.hasOw
|
|
|
10564
10573
|
lc[oc] = 16;
|
|
10565
10574
|
lc[sc] = 10;
|
|
10566
10575
|
var Tr = {};
|
|
10567
|
-
Tr[un] =
|
|
10576
|
+
Tr[un] = ly;
|
|
10568
10577
|
Tr[sc] = wR;
|
|
10569
10578
|
Tr[oc] = CR;
|
|
10570
|
-
var
|
|
10571
|
-
Pt[
|
|
10572
|
-
Pt[
|
|
10573
|
-
Pt[
|
|
10574
|
-
Pt[
|
|
10575
|
-
Pt[
|
|
10579
|
+
var uy = 1, cy = 2, dy = 3, py = 4, fy = 5, _u = 6, gy = 7, Pt = {};
|
|
10580
|
+
Pt[uy] = "Named character references must be terminated by a semicolon";
|
|
10581
|
+
Pt[cy] = "Numeric character references must be terminated by a semicolon";
|
|
10582
|
+
Pt[dy] = "Named character references cannot be empty";
|
|
10583
|
+
Pt[py] = "Numeric character references cannot be empty";
|
|
10584
|
+
Pt[fy] = "Named character references must be known";
|
|
10576
10585
|
Pt[_u] = "Numeric character references cannot be disallowed";
|
|
10577
|
-
Pt[
|
|
10586
|
+
Pt[gy] = "Numeric character references cannot be outside the permissible Unicode range";
|
|
10578
10587
|
function UR(e, t) {
|
|
10579
10588
|
var n = {}, r, a;
|
|
10580
10589
|
t || (t = {});
|
|
@@ -10592,7 +10601,7 @@ function BR(e, t) {
|
|
|
10592
10601
|
}
|
|
10593
10602
|
for (U = p + 1, z = U, I = U, k === DR ? (I = ++z, k = e.charCodeAt(I), k === MR || k === PR ? (W = oc, I = ++z) : W = sc) : W = un, m = "", B = "", b = "", Z = Tr[W], I--; ++I < f && (k = e.charCodeAt(I), !!Z(k)); )
|
|
10594
10603
|
b += sn(k), W === un && AR.call(Xd, b) && (m = b, B = Xd[b]);
|
|
10595
|
-
h = e.charCodeAt(I) === NR, h && (I++, A = W === un ? TR(b) : !1, A && (m = b, B = A)), w = 1 + I - U, !h && !r || (b ? W === un ? (h && !B ? D(
|
|
10604
|
+
h = e.charCodeAt(I) === NR, h && (I++, A = W === un ? TR(b) : !1, A && (m = b, B = A)), w = 1 + I - U, !h && !r || (b ? W === un ? (h && !B ? D(fy, 1) : (m !== b && (I = z + m.length, w = 1 + I - z, h = !1), h || (N = m ? uy : dy, t.attribute ? (k = e.charCodeAt(I), k === LR ? (D(N, w), B = null) : ly(k) ? B = null : D(N, w)) : D(N, w))), L = B) : (h || D(cy, w), L = parseInt(b, lc[W]), $R(L) ? (D(gy, w), L = sn(FR)) : L in Jd ? (D(_u, w), L = Jd[L]) : (O = "", jR(L) && D(_u, w), L > 65535 && (L -= 65536, O += sn(L >>> 10 | 55296), L = 56320 | L & 1023), L = O + sn(L))) : W !== un && D(py, w)), L ? (V(), G = F(), p = I - 1, S += I - U + 1, E.push(L), J = F(), J.offset++, i && i.call(
|
|
10596
10605
|
l,
|
|
10597
10606
|
L,
|
|
10598
10607
|
{ start: G, end: J },
|
|
@@ -10622,7 +10631,7 @@ function $R(e) {
|
|
|
10622
10631
|
function jR(e) {
|
|
10623
10632
|
return e >= 1 && e <= 8 || e === 11 || e >= 13 && e <= 31 || e >= 127 && e <= 159 || e >= 64976 && e <= 65007 || (e & 65535) === 65535 || (e & 65535) === 65534;
|
|
10624
10633
|
}
|
|
10625
|
-
var
|
|
10634
|
+
var my = { exports: {} };
|
|
10626
10635
|
(function(e) {
|
|
10627
10636
|
var t = typeof window < "u" ? window : typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope ? self : {};
|
|
10628
10637
|
/**
|
|
@@ -11322,8 +11331,8 @@ var gy = { exports: {} };
|
|
|
11322
11331
|
return s;
|
|
11323
11332
|
}(t);
|
|
11324
11333
|
e.exports && (e.exports = n), typeof Lt < "u" && (Lt.Prism = n);
|
|
11325
|
-
})(
|
|
11326
|
-
var qR =
|
|
11334
|
+
})(my);
|
|
11335
|
+
var qR = my.exports, zR = uc;
|
|
11327
11336
|
uc.displayName = "markup";
|
|
11328
11337
|
uc.aliases = ["html", "mathml", "svg", "xml", "ssml", "atom", "rss"];
|
|
11329
11338
|
function uc(e) {
|
|
@@ -11722,13 +11731,13 @@ function pc(e) {
|
|
|
11722
11731
|
}
|
|
11723
11732
|
var In = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof Lt == "object" ? Lt : {}, WR = uk();
|
|
11724
11733
|
In.Prism = { manual: !0, disableWorkerMessageHandler: !0 };
|
|
11725
|
-
var YR = u_, KR = xR,
|
|
11734
|
+
var YR = u_, KR = xR, hy = qR, ZR = zR, XR = GR, JR = HR, QR = VR;
|
|
11726
11735
|
WR();
|
|
11727
11736
|
var fc = {}.hasOwnProperty;
|
|
11728
|
-
function
|
|
11737
|
+
function by() {
|
|
11729
11738
|
}
|
|
11730
|
-
|
|
11731
|
-
var Ne = new
|
|
11739
|
+
by.prototype = hy;
|
|
11740
|
+
var Ne = new by(), ek = Ne;
|
|
11732
11741
|
Ne.highlight = nk;
|
|
11733
11742
|
Ne.register = Wn;
|
|
11734
11743
|
Ne.alias = tk;
|
|
@@ -11753,7 +11762,7 @@ function tk(e, t) {
|
|
|
11753
11762
|
n[i[s]] = n[a];
|
|
11754
11763
|
}
|
|
11755
11764
|
function nk(e, t) {
|
|
11756
|
-
var n =
|
|
11765
|
+
var n = hy.highlight, r;
|
|
11757
11766
|
if (typeof e != "string")
|
|
11758
11767
|
throw new Error("Expected `string` for `value`, got `" + e + "`");
|
|
11759
11768
|
if (Ne.util.type(t) === "Object")
|
|
@@ -13873,7 +13882,7 @@ function Ok() {
|
|
|
13873
13882
|
return Sa;
|
|
13874
13883
|
}
|
|
13875
13884
|
var wa, Rp;
|
|
13876
|
-
function
|
|
13885
|
+
function Ey() {
|
|
13877
13886
|
if (Rp) return wa;
|
|
13878
13887
|
Rp = 1, wa = e, e.displayName = "bash", e.aliases = ["shell"];
|
|
13879
13888
|
function e(t) {
|
|
@@ -14093,7 +14102,7 @@ function by() {
|
|
|
14093
14102
|
return wa;
|
|
14094
14103
|
}
|
|
14095
14104
|
var Ca, kp;
|
|
14096
|
-
function
|
|
14105
|
+
function yy() {
|
|
14097
14106
|
if (kp) return Ca;
|
|
14098
14107
|
kp = 1, Ca = e, e.displayName = "basic", e.aliases = [];
|
|
14099
14108
|
function e(t) {
|
|
@@ -16766,7 +16775,7 @@ function SI() {
|
|
|
16766
16775
|
return gi;
|
|
16767
16776
|
}
|
|
16768
16777
|
var mi, wf;
|
|
16769
|
-
function
|
|
16778
|
+
function vy() {
|
|
16770
16779
|
if (wf) return mi;
|
|
16771
16780
|
wf = 1, mi = e, e.displayName = "lua", e.aliases = [];
|
|
16772
16781
|
function e(t) {
|
|
@@ -16797,7 +16806,7 @@ var hi, Cf;
|
|
|
16797
16806
|
function wI() {
|
|
16798
16807
|
if (Cf) return hi;
|
|
16799
16808
|
Cf = 1;
|
|
16800
|
-
var e =
|
|
16809
|
+
var e = vy(), t = Ke();
|
|
16801
16810
|
hi = n, n.displayName = "etlua", n.aliases = [];
|
|
16802
16811
|
function n(r) {
|
|
16803
16812
|
r.register(e), r.register(t), function(a) {
|
|
@@ -20991,7 +21000,7 @@ function yN() {
|
|
|
20991
21000
|
return yo;
|
|
20992
21001
|
}
|
|
20993
21002
|
var vo, Ag;
|
|
20994
|
-
function
|
|
21003
|
+
function Sy() {
|
|
20995
21004
|
if (Ag) return vo;
|
|
20996
21005
|
Ag = 1, vo = e, e.displayName = "jsx", e.aliases = [];
|
|
20997
21006
|
function e(t) {
|
|
@@ -27720,7 +27729,7 @@ var tl, sh;
|
|
|
27720
27729
|
function J2() {
|
|
27721
27730
|
if (sh) return tl;
|
|
27722
27731
|
sh = 1;
|
|
27723
|
-
var e =
|
|
27732
|
+
var e = Ey();
|
|
27724
27733
|
tl = t, t.displayName = "shellSession", t.aliases = [];
|
|
27725
27734
|
function t(n) {
|
|
27726
27735
|
n.register(e), function(r) {
|
|
@@ -28268,7 +28277,7 @@ function iO() {
|
|
|
28268
28277
|
return ll;
|
|
28269
28278
|
}
|
|
28270
28279
|
var ul, mh;
|
|
28271
|
-
function
|
|
28280
|
+
function wy() {
|
|
28272
28281
|
if (mh) return ul;
|
|
28273
28282
|
mh = 1, ul = e, e.displayName = "turtle", e.aliases = [];
|
|
28274
28283
|
function e(t) {
|
|
@@ -28329,7 +28338,7 @@ var cl, hh;
|
|
|
28329
28338
|
function oO() {
|
|
28330
28339
|
if (hh) return cl;
|
|
28331
28340
|
hh = 1;
|
|
28332
|
-
var e =
|
|
28341
|
+
var e = wy();
|
|
28333
28342
|
cl = t, t.displayName = "sparql", t.aliases = ["rq"];
|
|
28334
28343
|
function t(n) {
|
|
28335
28344
|
n.register(e), n.languages.sparql = n.languages.extend("turtle", {
|
|
@@ -28923,10 +28932,10 @@ function gO() {
|
|
|
28923
28932
|
return yl;
|
|
28924
28933
|
}
|
|
28925
28934
|
var vl, Ah;
|
|
28926
|
-
function
|
|
28935
|
+
function Cy() {
|
|
28927
28936
|
if (Ah) return vl;
|
|
28928
28937
|
Ah = 1;
|
|
28929
|
-
var e =
|
|
28938
|
+
var e = yy();
|
|
28930
28939
|
vl = t, t.displayName = "vbnet", t.aliases = [];
|
|
28931
28940
|
function t(n) {
|
|
28932
28941
|
n.register(e), n.languages.vbnet = n.languages.extend("basic", {
|
|
@@ -28958,7 +28967,7 @@ var Sl, _h;
|
|
|
28958
28967
|
function mO() {
|
|
28959
28968
|
if (_h) return Sl;
|
|
28960
28969
|
_h = 1;
|
|
28961
|
-
var e = Sc(), t =
|
|
28970
|
+
var e = Sc(), t = Cy();
|
|
28962
28971
|
Sl = n, n.displayName = "t4Vb", n.aliases = [];
|
|
28963
28972
|
function n(r) {
|
|
28964
28973
|
r.register(e), r.register(t), r.languages["t4-vb"] = r.languages["t4-templating"].createT4("vbnet");
|
|
@@ -28966,7 +28975,7 @@ function mO() {
|
|
|
28966
28975
|
return Sl;
|
|
28967
28976
|
}
|
|
28968
28977
|
var wl, Rh;
|
|
28969
|
-
function
|
|
28978
|
+
function Ty() {
|
|
28970
28979
|
if (Rh) return wl;
|
|
28971
28980
|
Rh = 1, wl = e, e.displayName = "yaml", e.aliases = ["yml"];
|
|
28972
28981
|
function e(t) {
|
|
@@ -29058,7 +29067,7 @@ var Cl, kh;
|
|
|
29058
29067
|
function hO() {
|
|
29059
29068
|
if (kh) return Cl;
|
|
29060
29069
|
kh = 1;
|
|
29061
|
-
var e =
|
|
29070
|
+
var e = Ty();
|
|
29062
29071
|
Cl = t, t.displayName = "tap", t.aliases = [];
|
|
29063
29072
|
function t(n) {
|
|
29064
29073
|
n.register(e), n.languages.tap = {
|
|
@@ -29532,7 +29541,7 @@ var Rl, Dh;
|
|
|
29532
29541
|
function SO() {
|
|
29533
29542
|
if (Dh) return Rl;
|
|
29534
29543
|
Dh = 1;
|
|
29535
|
-
var e =
|
|
29544
|
+
var e = Sy(), t = Ec();
|
|
29536
29545
|
Rl = n, n.displayName = "tsx", n.aliases = [];
|
|
29537
29546
|
function n(r) {
|
|
29538
29547
|
r.register(e), r.register(t), function(a) {
|
|
@@ -31072,8 +31081,8 @@ v.register(kk());
|
|
|
31072
31081
|
v.register(Ik());
|
|
31073
31082
|
v.register(Nk());
|
|
31074
31083
|
v.register(Ok());
|
|
31075
|
-
v.register(by());
|
|
31076
31084
|
v.register(Ey());
|
|
31085
|
+
v.register(yy());
|
|
31077
31086
|
v.register(Lk());
|
|
31078
31087
|
v.register(Dk());
|
|
31079
31088
|
v.register(Mk());
|
|
@@ -31176,7 +31185,7 @@ v.register(yc());
|
|
|
31176
31185
|
v.register(bN());
|
|
31177
31186
|
v.register(EN());
|
|
31178
31187
|
v.register(yN());
|
|
31179
|
-
v.register(
|
|
31188
|
+
v.register(Sy());
|
|
31180
31189
|
v.register(vN());
|
|
31181
31190
|
v.register(SN());
|
|
31182
31191
|
v.register(wN());
|
|
@@ -31193,7 +31202,7 @@ v.register(ON());
|
|
|
31193
31202
|
v.register(LN());
|
|
31194
31203
|
v.register(DN());
|
|
31195
31204
|
v.register(MN());
|
|
31196
|
-
v.register(
|
|
31205
|
+
v.register(vy());
|
|
31197
31206
|
v.register(PN());
|
|
31198
31207
|
v.register(FN());
|
|
31199
31208
|
v.register(UN());
|
|
@@ -31295,7 +31304,7 @@ v.register(yO());
|
|
|
31295
31304
|
v.register(vO());
|
|
31296
31305
|
v.register(SO());
|
|
31297
31306
|
v.register(wO());
|
|
31298
|
-
v.register(
|
|
31307
|
+
v.register(wy());
|
|
31299
31308
|
v.register(CO());
|
|
31300
31309
|
v.register(Ec());
|
|
31301
31310
|
v.register(TO());
|
|
@@ -31304,7 +31313,7 @@ v.register(AO());
|
|
|
31304
31313
|
v.register(_O());
|
|
31305
31314
|
v.register(RO());
|
|
31306
31315
|
v.register(kO());
|
|
31307
|
-
v.register(
|
|
31316
|
+
v.register(Cy());
|
|
31308
31317
|
v.register(IO());
|
|
31309
31318
|
v.register(NO());
|
|
31310
31319
|
v.register(OO());
|
|
@@ -31320,12 +31329,12 @@ v.register(jO());
|
|
|
31320
31329
|
v.register(qO());
|
|
31321
31330
|
v.register(zO());
|
|
31322
31331
|
v.register(GO());
|
|
31323
|
-
v.register(
|
|
31332
|
+
v.register(Ty());
|
|
31324
31333
|
v.register(HO());
|
|
31325
31334
|
v.register(VO());
|
|
31326
31335
|
const YO = /* @__PURE__ */ Zt(WO);
|
|
31327
|
-
var
|
|
31328
|
-
|
|
31336
|
+
var xy = Gx(YO, ck);
|
|
31337
|
+
xy.supportedLanguages = Hx;
|
|
31329
31338
|
const KO = {
|
|
31330
31339
|
'pre[class*="language-"]': {
|
|
31331
31340
|
color: "#d4d4d4",
|
|
@@ -31640,7 +31649,7 @@ const KO = {
|
|
|
31640
31649
|
/* @__PURE__ */ g.jsx("p", { children: e("text.customticketmessage1") }),
|
|
31641
31650
|
/* @__PURE__ */ g.jsx("p", { children: e("text.customticketmessage2") })
|
|
31642
31651
|
] }) }) });
|
|
31643
|
-
}, e4 =
|
|
31652
|
+
}, e4 = xy, t4 = M.div`
|
|
31644
31653
|
display: flex;
|
|
31645
31654
|
flex-direction: column;
|
|
31646
31655
|
align-items: flex-start;
|
|
@@ -31792,7 +31801,7 @@ const r4 = M.div`
|
|
|
31792
31801
|
{
|
|
31793
31802
|
code: h4(y.content)
|
|
31794
31803
|
},
|
|
31795
|
-
|
|
31804
|
+
zE()
|
|
31796
31805
|
) : /* @__PURE__ */ g.jsx(r4, { children: /* @__PURE__ */ g.jsx(
|
|
31797
31806
|
dx,
|
|
31798
31807
|
{
|
|
@@ -31821,7 +31830,7 @@ const r4 = M.div`
|
|
|
31821
31830
|
marginTop: "5px",
|
|
31822
31831
|
textAlign: "left"
|
|
31823
31832
|
},
|
|
31824
|
-
children:
|
|
31833
|
+
children: oE(e.created_at)
|
|
31825
31834
|
}
|
|
31826
31835
|
)
|
|
31827
31836
|
] }) }),
|
|
@@ -31904,7 +31913,7 @@ const r4 = M.div`
|
|
|
31904
31913
|
errorUnexpected: "Error inesperado al crear el ticket.",
|
|
31905
31914
|
errorTokenEmail: "No se pudo extraer el email del token.",
|
|
31906
31915
|
aceptar: "Aceptar"
|
|
31907
|
-
},
|
|
31916
|
+
}, Ay = {
|
|
31908
31917
|
titles: y4,
|
|
31909
31918
|
menus: v4,
|
|
31910
31919
|
text: S4,
|
|
@@ -31990,7 +31999,7 @@ const r4 = M.div`
|
|
|
31990
31999
|
errorUnexpected: "Unexpected error while creating the ticket.",
|
|
31991
32000
|
errorTokenEmail: "Could not extract email from token.",
|
|
31992
32001
|
aceptar: "Done"
|
|
31993
|
-
},
|
|
32002
|
+
}, _y = {
|
|
31994
32003
|
titles: _4,
|
|
31995
32004
|
menus: R4,
|
|
31996
32005
|
text: k4,
|
|
@@ -32348,17 +32357,17 @@ function bL() {
|
|
|
32348
32357
|
const e = window.location.pathname.split("/")[1];
|
|
32349
32358
|
return ["es", "ca", "en", "eu", "ga", "va"].includes(e) ? e : "es";
|
|
32350
32359
|
}
|
|
32351
|
-
const
|
|
32352
|
-
|
|
32360
|
+
const Ry = bL();
|
|
32361
|
+
qb.use(jv).init({
|
|
32353
32362
|
resources: {
|
|
32354
|
-
es: { minerva:
|
|
32355
|
-
en: { minerva:
|
|
32363
|
+
es: { minerva: Ay },
|
|
32364
|
+
en: { minerva: _y },
|
|
32356
32365
|
ga: { minerva: z4 },
|
|
32357
32366
|
ca: { minerva: J4 },
|
|
32358
32367
|
eu: { minerva: sL },
|
|
32359
32368
|
va: { minerva: hL }
|
|
32360
32369
|
},
|
|
32361
|
-
lng:
|
|
32370
|
+
lng: Ry,
|
|
32362
32371
|
supportedLngs: ["es", "en", "ga", "ca", "eu", "va"],
|
|
32363
32372
|
nonExplicitSupportedLngs: !0,
|
|
32364
32373
|
fallbackLng: {
|
|
@@ -32373,9 +32382,9 @@ jb.use(jv).init({
|
|
|
32373
32382
|
interpolation: { escapeValue: !1 },
|
|
32374
32383
|
load: "languageOnly"
|
|
32375
32384
|
});
|
|
32376
|
-
console.log("[minerva‑plexus‑csd] Idioma detectado:",
|
|
32385
|
+
console.log("[minerva‑plexus‑csd] Idioma detectado:", Ry);
|
|
32377
32386
|
const EL = (e) => {
|
|
32378
|
-
const t = new Date(e), n = t.getDate().toString().padStart(2, "0"), r =
|
|
32387
|
+
const t = new Date(e), n = t.getDate().toString().padStart(2, "0"), r = qb.language || "en", a = t.toLocaleString(r, { month: "long" }), i = a.charAt(0).toUpperCase() + a.slice(1);
|
|
32379
32388
|
return `${n} ${i}`;
|
|
32380
32389
|
}, yL = M.div`
|
|
32381
32390
|
background-color: transparent;
|
|
@@ -32419,7 +32428,7 @@ const EL = (e) => {
|
|
|
32419
32428
|
font-style: normal;
|
|
32420
32429
|
font-weight: 400;
|
|
32421
32430
|
word-wrap: break-word;
|
|
32422
|
-
`,
|
|
32431
|
+
`, ky = ({
|
|
32423
32432
|
showControlButtons: e = !0,
|
|
32424
32433
|
showConversationTitle: t = !0,
|
|
32425
32434
|
showDate: n = !0,
|
|
@@ -32489,7 +32498,7 @@ const EL = (e) => {
|
|
|
32489
32498
|
] })
|
|
32490
32499
|
] }) : /* @__PURE__ */ g.jsx(g.Fragment, { children: /* @__PURE__ */ g.jsx("p", { children: t ? o("logMessages.no_conversations_available") : null }) }) });
|
|
32491
32500
|
};
|
|
32492
|
-
var
|
|
32501
|
+
var Iy = { exports: {} };
|
|
32493
32502
|
/*!
|
|
32494
32503
|
Copyright (c) 2018 Jed Watson.
|
|
32495
32504
|
Licensed under the MIT License (MIT), see
|
|
@@ -32524,8 +32533,8 @@ var ky = { exports: {} };
|
|
|
32524
32533
|
}
|
|
32525
32534
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
32526
32535
|
})();
|
|
32527
|
-
})(
|
|
32528
|
-
var TL =
|
|
32536
|
+
})(Iy);
|
|
32537
|
+
var TL = Iy.exports;
|
|
32529
32538
|
const gt = /* @__PURE__ */ Zt(TL);
|
|
32530
32539
|
var xL = {}, AL = function(e, t, n, r, a, i, o, s) {
|
|
32531
32540
|
if (xL.NODE_ENV !== "production" && t === void 0)
|
|
@@ -32579,7 +32588,7 @@ function NL(e, t) {
|
|
|
32579
32588
|
return gn({}, l, (a = {}, a[r] = d, a[u] = f, a));
|
|
32580
32589
|
}, e);
|
|
32581
32590
|
}
|
|
32582
|
-
function
|
|
32591
|
+
function Ny(e, t) {
|
|
32583
32592
|
e.prototype = Object.create(t.prototype), e.prototype.constructor = e, xu(e, t);
|
|
32584
32593
|
}
|
|
32585
32594
|
const OL = ["xxl", "xl", "lg", "md", "sm", "xs"], LL = "xs", Yn = /* @__PURE__ */ Oe.createContext({
|
|
@@ -32596,13 +32605,13 @@ function wt(e, t) {
|
|
|
32596
32605
|
} = xe(Yn);
|
|
32597
32606
|
return e || n[t] || t;
|
|
32598
32607
|
}
|
|
32599
|
-
function
|
|
32608
|
+
function Oy() {
|
|
32600
32609
|
const {
|
|
32601
32610
|
breakpoints: e
|
|
32602
32611
|
} = xe(Yn);
|
|
32603
32612
|
return e;
|
|
32604
32613
|
}
|
|
32605
|
-
function
|
|
32614
|
+
function Ly() {
|
|
32606
32615
|
const {
|
|
32607
32616
|
minBreakpoint: e
|
|
32608
32617
|
} = xe(Yn);
|
|
@@ -32787,7 +32796,7 @@ function FL() {
|
|
|
32787
32796
|
}(), be;
|
|
32788
32797
|
}
|
|
32789
32798
|
var cb;
|
|
32790
|
-
function
|
|
32799
|
+
function Dy() {
|
|
32791
32800
|
if (cb) return ar.exports;
|
|
32792
32801
|
cb = 1;
|
|
32793
32802
|
var e = {};
|
|
@@ -32852,7 +32861,7 @@ function wc() {
|
|
|
32852
32861
|
return tu = e, tu;
|
|
32853
32862
|
}
|
|
32854
32863
|
var nu, fb;
|
|
32855
|
-
function
|
|
32864
|
+
function My() {
|
|
32856
32865
|
return fb || (fb = 1, nu = Function.call.bind(Object.prototype.hasOwnProperty)), nu;
|
|
32857
32866
|
}
|
|
32858
32867
|
var ru, gb;
|
|
@@ -32862,7 +32871,7 @@ function BL() {
|
|
|
32862
32871
|
var e = {}, t = function() {
|
|
32863
32872
|
};
|
|
32864
32873
|
if (e.NODE_ENV !== "production") {
|
|
32865
|
-
var n = wc(), r = {}, a =
|
|
32874
|
+
var n = wc(), r = {}, a = My();
|
|
32866
32875
|
t = function(o) {
|
|
32867
32876
|
var s = "Warning: " + o;
|
|
32868
32877
|
typeof console < "u" && console.error(s);
|
|
@@ -32908,7 +32917,7 @@ var au, mb;
|
|
|
32908
32917
|
function $L() {
|
|
32909
32918
|
if (mb) return au;
|
|
32910
32919
|
mb = 1;
|
|
32911
|
-
var e = {}, t =
|
|
32920
|
+
var e = {}, t = Dy(), n = UL(), r = wc(), a = My(), i = BL(), o = function() {
|
|
32912
32921
|
};
|
|
32913
32922
|
e.NODE_ENV !== "production" && (o = function(l) {
|
|
32914
32923
|
var u = "Warning: " + l;
|
|
@@ -33275,7 +33284,7 @@ function jL() {
|
|
|
33275
33284
|
}
|
|
33276
33285
|
var qL = {};
|
|
33277
33286
|
if (qL.NODE_ENV !== "production") {
|
|
33278
|
-
var zL =
|
|
33287
|
+
var zL = Dy(), GL = !0;
|
|
33279
33288
|
Ru.exports = $L()(zL.isElement, GL);
|
|
33280
33289
|
} else
|
|
33281
33290
|
Ru.exports = jL()();
|
|
@@ -33283,11 +33292,11 @@ var HL = Ru.exports;
|
|
|
33283
33292
|
const se = /* @__PURE__ */ Zt(HL), bb = {
|
|
33284
33293
|
disabled: !1
|
|
33285
33294
|
};
|
|
33286
|
-
var
|
|
33295
|
+
var Py = {}, VL = Py.NODE_ENV !== "production" ? se.oneOfType([se.number, se.shape({
|
|
33287
33296
|
enter: se.number,
|
|
33288
33297
|
exit: se.number,
|
|
33289
33298
|
appear: se.number
|
|
33290
|
-
}).isRequired]) : null, WL =
|
|
33299
|
+
}).isRequired]) : null, WL = Py.NODE_ENV !== "production" ? se.oneOfType([se.string, se.shape({
|
|
33291
33300
|
enter: se.string,
|
|
33292
33301
|
exit: se.string,
|
|
33293
33302
|
active: se.string
|
|
@@ -33299,11 +33308,11 @@ var My = {}, VL = My.NODE_ENV !== "production" ? se.oneOfType([se.number, se.sha
|
|
|
33299
33308
|
exitDone: se.string,
|
|
33300
33309
|
exitActive: se.string
|
|
33301
33310
|
})]) : null;
|
|
33302
|
-
const
|
|
33303
|
-
var
|
|
33311
|
+
const Fy = Te.createContext(null);
|
|
33312
|
+
var Uy = function(t) {
|
|
33304
33313
|
return t.scrollTop;
|
|
33305
33314
|
}, YL = {}, Nn = "unmounted", Gt = "exited", Ht = "entering", cn = "entered", ku = "exiting", Ct = /* @__PURE__ */ function(e) {
|
|
33306
|
-
|
|
33315
|
+
Ny(t, e);
|
|
33307
33316
|
function t(r, a) {
|
|
33308
33317
|
var i;
|
|
33309
33318
|
i = e.call(this, r, a) || this;
|
|
@@ -33342,7 +33351,7 @@ var Fy = function(t) {
|
|
|
33342
33351
|
if (this.cancelNextCallback(), i === Ht) {
|
|
33343
33352
|
if (this.props.unmountOnExit || this.props.mountOnEnter) {
|
|
33344
33353
|
var o = this.props.nodeRef ? this.props.nodeRef.current : Jn.findDOMNode(this);
|
|
33345
|
-
o &&
|
|
33354
|
+
o && Uy(o);
|
|
33346
33355
|
}
|
|
33347
33356
|
this.performEnter(a);
|
|
33348
33357
|
} else
|
|
@@ -33424,13 +33433,13 @@ var Fy = function(t) {
|
|
|
33424
33433
|
var s = Cr(i, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
|
|
33425
33434
|
return (
|
|
33426
33435
|
// allows for nested Transitions
|
|
33427
|
-
/* @__PURE__ */ Te.createElement(
|
|
33436
|
+
/* @__PURE__ */ Te.createElement(Fy.Provider, {
|
|
33428
33437
|
value: null
|
|
33429
33438
|
}, typeof o == "function" ? o(a, s) : Te.cloneElement(Te.Children.only(o), s))
|
|
33430
33439
|
);
|
|
33431
33440
|
}, t;
|
|
33432
33441
|
}(Te.Component);
|
|
33433
|
-
Ct.contextType =
|
|
33442
|
+
Ct.contextType = Fy;
|
|
33434
33443
|
Ct.propTypes = YL.NODE_ENV !== "production" ? {
|
|
33435
33444
|
/**
|
|
33436
33445
|
* A React reference to DOM element that need to transition:
|
|
@@ -33621,7 +33630,7 @@ Ct.EXITED = Gt;
|
|
|
33621
33630
|
Ct.ENTERING = Ht;
|
|
33622
33631
|
Ct.ENTERED = cn;
|
|
33623
33632
|
Ct.EXITING = ku;
|
|
33624
|
-
const
|
|
33633
|
+
const By = !!(typeof window < "u" && window.document && window.document.createElement);
|
|
33625
33634
|
var Iu = !1, Nu = !1;
|
|
33626
33635
|
try {
|
|
33627
33636
|
var ou = {
|
|
@@ -33632,10 +33641,10 @@ try {
|
|
|
33632
33641
|
return Nu = Iu = !0;
|
|
33633
33642
|
}
|
|
33634
33643
|
};
|
|
33635
|
-
|
|
33644
|
+
By && (window.addEventListener("test", ou, ou), window.removeEventListener("test", ou, !0));
|
|
33636
33645
|
} catch {
|
|
33637
33646
|
}
|
|
33638
|
-
function
|
|
33647
|
+
function $y(e, t, n, r) {
|
|
33639
33648
|
if (r && typeof r != "boolean" && !Nu) {
|
|
33640
33649
|
var a = r.once, i = r.capture, o = n;
|
|
33641
33650
|
!Nu && a && (o = n.__once || function s(l) {
|
|
@@ -33649,7 +33658,7 @@ function KL(e, t, n, r) {
|
|
|
33649
33658
|
e.removeEventListener(t, n, a), n.__once && e.removeEventListener(t, n.__once, a);
|
|
33650
33659
|
}
|
|
33651
33660
|
function ir(e, t, n, r) {
|
|
33652
|
-
return
|
|
33661
|
+
return $y(e, t, n, r), function() {
|
|
33653
33662
|
KL(e, t, n, r);
|
|
33654
33663
|
};
|
|
33655
33664
|
}
|
|
@@ -33767,7 +33776,7 @@ function Tc({
|
|
|
33767
33776
|
onKeyDown: d
|
|
33768
33777
|
}, u];
|
|
33769
33778
|
}
|
|
33770
|
-
const
|
|
33779
|
+
const jy = /* @__PURE__ */ Oe.forwardRef((e, t) => {
|
|
33771
33780
|
let {
|
|
33772
33781
|
as: n,
|
|
33773
33782
|
disabled: r
|
|
@@ -33782,7 +33791,7 @@ const $y = /* @__PURE__ */ Oe.forwardRef((e, t) => {
|
|
|
33782
33791
|
ref: t
|
|
33783
33792
|
}));
|
|
33784
33793
|
});
|
|
33785
|
-
|
|
33794
|
+
jy.displayName = "Button";
|
|
33786
33795
|
const s3 = ["onKeyDown"];
|
|
33787
33796
|
function l3(e, t) {
|
|
33788
33797
|
if (e == null) return {};
|
|
@@ -33796,7 +33805,7 @@ function l3(e, t) {
|
|
|
33796
33805
|
function u3(e) {
|
|
33797
33806
|
return !e || e.trim() === "#";
|
|
33798
33807
|
}
|
|
33799
|
-
const
|
|
33808
|
+
const qy = /* @__PURE__ */ Oe.forwardRef((e, t) => {
|
|
33800
33809
|
let {
|
|
33801
33810
|
onKeyDown: n
|
|
33802
33811
|
} = e, r = l3(e, s3);
|
|
@@ -33815,8 +33824,8 @@ const jy = /* @__PURE__ */ Oe.forwardRef((e, t) => {
|
|
|
33815
33824
|
onKeyDown: n
|
|
33816
33825
|
}));
|
|
33817
33826
|
});
|
|
33818
|
-
|
|
33819
|
-
const
|
|
33827
|
+
qy.displayName = "Anchor";
|
|
33828
|
+
const zy = /* @__PURE__ */ Oe.forwardRef(({
|
|
33820
33829
|
as: e,
|
|
33821
33830
|
bsPrefix: t,
|
|
33822
33831
|
variant: n = "primary",
|
|
@@ -33841,7 +33850,7 @@ const qy = /* @__PURE__ */ Oe.forwardRef(({
|
|
|
33841
33850
|
className: gt(o, u, a && "active", n && `${u}-${n}`, r && `${u}-${r}`, s.href && i && "disabled")
|
|
33842
33851
|
});
|
|
33843
33852
|
});
|
|
33844
|
-
|
|
33853
|
+
zy.displayName = "Button";
|
|
33845
33854
|
function c3({
|
|
33846
33855
|
as: e,
|
|
33847
33856
|
bsPrefix: t,
|
|
@@ -33849,7 +33858,7 @@ function c3({
|
|
|
33849
33858
|
...r
|
|
33850
33859
|
}) {
|
|
33851
33860
|
t = wt(t, "col");
|
|
33852
|
-
const a =
|
|
33861
|
+
const a = Oy(), i = Ly(), o = [], s = [];
|
|
33853
33862
|
return a.forEach((l) => {
|
|
33854
33863
|
const u = r[l];
|
|
33855
33864
|
delete r[l];
|
|
@@ -33902,7 +33911,7 @@ function p3(e, t, n) {
|
|
|
33902
33911
|
}, [n])];
|
|
33903
33912
|
}
|
|
33904
33913
|
function f3() {
|
|
33905
|
-
const [, e] =
|
|
33914
|
+
const [, e] = Bv((t) => t + 1, 0);
|
|
33906
33915
|
return e;
|
|
33907
33916
|
}
|
|
33908
33917
|
const kr = /* @__PURE__ */ Oe.createContext(null);
|
|
@@ -33965,9 +33974,9 @@ function g3(e) {
|
|
|
33965
33974
|
return e[1](n);
|
|
33966
33975
|
}, [t, e[1]])];
|
|
33967
33976
|
}
|
|
33968
|
-
var Ve = "top", it = "bottom", ot = "right", We = "left", xc = "auto", Kn = [Ve, it, ot, We], mn = "start", $n = "end", m3 = "clippingParents",
|
|
33977
|
+
var Ve = "top", it = "bottom", ot = "right", We = "left", xc = "auto", Kn = [Ve, it, ot, We], mn = "start", $n = "end", m3 = "clippingParents", Gy = "viewport", Rn = "popper", h3 = "reference", wb = /* @__PURE__ */ Kn.reduce(function(e, t) {
|
|
33969
33978
|
return e.concat([t + "-" + mn, t + "-" + $n]);
|
|
33970
|
-
}, []),
|
|
33979
|
+
}, []), Hy = /* @__PURE__ */ [].concat(Kn, [xc]).reduce(function(e, t) {
|
|
33971
33980
|
return e.concat([t, t + "-" + mn, t + "-" + $n]);
|
|
33972
33981
|
}, []), b3 = "beforeRead", E3 = "read", y3 = "afterRead", v3 = "beforeMain", S3 = "main", w3 = "afterMain", C3 = "beforeWrite", T3 = "write", x3 = "afterWrite", A3 = [b3, E3, y3, v3, S3, w3, C3, T3, x3];
|
|
33973
33982
|
function bt(e) {
|
|
@@ -34003,14 +34012,14 @@ function Lu() {
|
|
|
34003
34012
|
return t.brand + "/" + t.version;
|
|
34004
34013
|
}).join(" ") : navigator.userAgent;
|
|
34005
34014
|
}
|
|
34006
|
-
function
|
|
34015
|
+
function Vy() {
|
|
34007
34016
|
return !/^((?!chrome|android).)*safari/i.test(Lu());
|
|
34008
34017
|
}
|
|
34009
34018
|
function bn(e, t, n) {
|
|
34010
34019
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
34011
34020
|
var r = e.getBoundingClientRect(), a = 1, i = 1;
|
|
34012
34021
|
t && Et(e) && (a = e.offsetWidth > 0 && hn(r.width) / e.offsetWidth || 1, i = e.offsetHeight > 0 && hn(r.height) / e.offsetHeight || 1);
|
|
34013
|
-
var o = Kt(e) ? Qe(e) : window, s = o.visualViewport, l = !
|
|
34022
|
+
var o = Kt(e) ? Qe(e) : window, s = o.visualViewport, l = !Vy() && n, u = (r.left + (l && s ? s.offsetLeft : 0)) / a, c = (r.top + (l && s ? s.offsetTop : 0)) / i, d = r.width / a, f = r.height / i;
|
|
34014
34023
|
return {
|
|
34015
34024
|
width: d,
|
|
34016
34025
|
height: f,
|
|
@@ -34031,7 +34040,7 @@ function _c(e) {
|
|
|
34031
34040
|
height: r
|
|
34032
34041
|
};
|
|
34033
34042
|
}
|
|
34034
|
-
function
|
|
34043
|
+
function Wy(e, t) {
|
|
34035
34044
|
var n = t.getRootNode && t.getRootNode();
|
|
34036
34045
|
if (e.contains(t))
|
|
34037
34046
|
return !0;
|
|
@@ -34107,7 +34116,7 @@ function k3(e, t, n) {
|
|
|
34107
34116
|
var r = Pn(e, t, n);
|
|
34108
34117
|
return r > n ? n : r;
|
|
34109
34118
|
}
|
|
34110
|
-
function
|
|
34119
|
+
function Yy() {
|
|
34111
34120
|
return {
|
|
34112
34121
|
top: 0,
|
|
34113
34122
|
right: 0,
|
|
@@ -34115,10 +34124,10 @@ function Wy() {
|
|
|
34115
34124
|
left: 0
|
|
34116
34125
|
};
|
|
34117
34126
|
}
|
|
34118
|
-
function
|
|
34119
|
-
return Object.assign({},
|
|
34127
|
+
function Ky(e) {
|
|
34128
|
+
return Object.assign({}, Yy(), e);
|
|
34120
34129
|
}
|
|
34121
|
-
function
|
|
34130
|
+
function Zy(e, t) {
|
|
34122
34131
|
return t.reduce(function(n, r) {
|
|
34123
34132
|
return n[r] = e, n;
|
|
34124
34133
|
}, {});
|
|
@@ -34126,7 +34135,7 @@ function Ky(e, t) {
|
|
|
34126
34135
|
var I3 = function(t, n) {
|
|
34127
34136
|
return t = typeof t == "function" ? t(Object.assign({}, n.rects, {
|
|
34128
34137
|
placement: n.placement
|
|
34129
|
-
})) : t,
|
|
34138
|
+
})) : t, Ky(typeof t != "number" ? t : Zy(t, Kn));
|
|
34130
34139
|
};
|
|
34131
34140
|
function N3(e) {
|
|
34132
34141
|
var t, n = e.state, r = e.name, a = e.options, i = n.elements.arrow, o = n.modifiersData.popperOffsets, s = bt(n.placement), l = Rc(s), u = [We, ot].indexOf(s) >= 0, c = u ? "height" : "width";
|
|
@@ -34137,7 +34146,7 @@ function N3(e) {
|
|
|
34137
34146
|
}
|
|
34138
34147
|
function O3(e) {
|
|
34139
34148
|
var t = e.state, n = e.options, r = n.element, a = r === void 0 ? "[data-popper-arrow]" : r;
|
|
34140
|
-
a != null && (typeof a == "string" && (a = t.elements.popper.querySelector(a), !a) ||
|
|
34149
|
+
a != null && (typeof a == "string" && (a = t.elements.popper.querySelector(a), !a) || Wy(t.elements.popper, a) && (t.elements.arrow = a));
|
|
34141
34150
|
}
|
|
34142
34151
|
const L3 = {
|
|
34143
34152
|
name: "arrow",
|
|
@@ -34294,7 +34303,7 @@ function q3(e, t) {
|
|
|
34294
34303
|
var n = Qe(e), r = Ft(e), a = n.visualViewport, i = r.clientWidth, o = r.clientHeight, s = 0, l = 0;
|
|
34295
34304
|
if (a) {
|
|
34296
34305
|
i = a.width, o = a.height;
|
|
34297
|
-
var u =
|
|
34306
|
+
var u = Vy();
|
|
34298
34307
|
(u || !u && t === "fixed") && (s = a.offsetLeft, l = a.offsetTop);
|
|
34299
34308
|
}
|
|
34300
34309
|
return {
|
|
@@ -34317,13 +34326,13 @@ function Nc(e) {
|
|
|
34317
34326
|
var t = At(e), n = t.overflow, r = t.overflowX, a = t.overflowY;
|
|
34318
34327
|
return /auto|scroll|overlay|hidden/.test(n + a + r);
|
|
34319
34328
|
}
|
|
34320
|
-
function
|
|
34321
|
-
return ["html", "body", "#document"].indexOf(Dt(e)) >= 0 ? e.ownerDocument.body : Et(e) && Nc(e) ? e :
|
|
34329
|
+
function Xy(e) {
|
|
34330
|
+
return ["html", "body", "#document"].indexOf(Dt(e)) >= 0 ? e.ownerDocument.body : Et(e) && Nc(e) ? e : Xy(Ir(e));
|
|
34322
34331
|
}
|
|
34323
34332
|
function Fn(e, t) {
|
|
34324
34333
|
var n;
|
|
34325
34334
|
t === void 0 && (t = []);
|
|
34326
|
-
var r =
|
|
34335
|
+
var r = Xy(e), a = r === ((n = e.ownerDocument) == null ? void 0 : n.body), i = Qe(r), o = a ? [i].concat(i.visualViewport || [], Nc(r) ? r : []) : r, s = t.concat(o);
|
|
34327
34336
|
return a ? s : (
|
|
34328
34337
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
34329
34338
|
s.concat(Fn(Ir(o)))
|
|
@@ -34342,12 +34351,12 @@ function G3(e, t) {
|
|
|
34342
34351
|
return n.top = n.top + e.clientTop, n.left = n.left + e.clientLeft, n.bottom = n.top + e.clientHeight, n.right = n.left + e.clientWidth, n.width = e.clientWidth, n.height = e.clientHeight, n.x = n.left, n.y = n.top, n;
|
|
34343
34352
|
}
|
|
34344
34353
|
function Ab(e, t, n) {
|
|
34345
|
-
return t ===
|
|
34354
|
+
return t === Gy ? Du(q3(e, n)) : Kt(t) ? G3(t, n) : Du(z3(Ft(e)));
|
|
34346
34355
|
}
|
|
34347
34356
|
function H3(e) {
|
|
34348
34357
|
var t = Fn(Ir(e)), n = ["absolute", "fixed"].indexOf(At(e).position) >= 0, r = n && Et(e) ? Zn(e) : e;
|
|
34349
34358
|
return Kt(r) ? t.filter(function(a) {
|
|
34350
|
-
return Kt(a) &&
|
|
34359
|
+
return Kt(a) && Wy(a, r) && Dt(a) !== "body";
|
|
34351
34360
|
}) : [];
|
|
34352
34361
|
}
|
|
34353
34362
|
function V3(e, t, n, r) {
|
|
@@ -34357,7 +34366,7 @@ function V3(e, t, n, r) {
|
|
|
34357
34366
|
}, Ab(e, o, r));
|
|
34358
34367
|
return s.width = s.right - s.left, s.height = s.bottom - s.top, s.x = s.left, s.y = s.top, s;
|
|
34359
34368
|
}
|
|
34360
|
-
function
|
|
34369
|
+
function Jy(e) {
|
|
34361
34370
|
var t = e.reference, n = e.element, r = e.placement, a = r ? bt(r) : null, i = r ? En(r) : null, o = t.x + t.width / 2 - n.width / 2, s = t.y + t.height / 2 - n.height / 2, l;
|
|
34362
34371
|
switch (a) {
|
|
34363
34372
|
case Ve:
|
|
@@ -34406,7 +34415,7 @@ function Xy(e) {
|
|
|
34406
34415
|
}
|
|
34407
34416
|
function jn(e, t) {
|
|
34408
34417
|
t === void 0 && (t = {});
|
|
34409
|
-
var n = t, r = n.placement, a = r === void 0 ? e.placement : r, i = n.strategy, o = i === void 0 ? e.strategy : i, s = n.boundary, l = s === void 0 ? m3 : s, u = n.rootBoundary, c = u === void 0 ?
|
|
34418
|
+
var n = t, r = n.placement, a = r === void 0 ? e.placement : r, i = n.strategy, o = i === void 0 ? e.strategy : i, s = n.boundary, l = s === void 0 ? m3 : s, u = n.rootBoundary, c = u === void 0 ? Gy : u, d = n.elementContext, f = d === void 0 ? Rn : d, p = n.altBoundary, y = p === void 0 ? !1 : p, S = n.padding, x = S === void 0 ? 0 : S, T = Ky(typeof x != "number" ? x : Zy(x, Kn)), E = f === Rn ? h3 : Rn, m = e.rects.popper, A = e.elements[y ? E : f], h = V3(Kt(A) ? A : A.contextElement || Ft(e.elements.popper), l, c, o), b = bn(e.elements.reference), R = Jy({
|
|
34410
34419
|
reference: b,
|
|
34411
34420
|
element: m,
|
|
34412
34421
|
placement: a
|
|
@@ -34427,7 +34436,7 @@ function jn(e, t) {
|
|
|
34427
34436
|
}
|
|
34428
34437
|
function W3(e, t) {
|
|
34429
34438
|
t === void 0 && (t = {});
|
|
34430
|
-
var n = t, r = n.placement, a = n.boundary, i = n.rootBoundary, o = n.padding, s = n.flipVariations, l = n.allowedAutoPlacements, u = l === void 0 ?
|
|
34439
|
+
var n = t, r = n.placement, a = n.boundary, i = n.rootBoundary, o = n.padding, s = n.flipVariations, l = n.allowedAutoPlacements, u = l === void 0 ? Hy : l, c = En(r), d = c ? s ? wb : wb.filter(function(y) {
|
|
34431
34440
|
return En(y) === c;
|
|
34432
34441
|
}) : Kn, f = d.filter(function(y) {
|
|
34433
34442
|
return u.indexOf(y) >= 0;
|
|
@@ -34561,7 +34570,7 @@ function Q3(e, t, n) {
|
|
|
34561
34570
|
};
|
|
34562
34571
|
}
|
|
34563
34572
|
function e6(e) {
|
|
34564
|
-
var t = e.state, n = e.options, r = e.name, a = n.offset, i = a === void 0 ? [0, 0] : a, o =
|
|
34573
|
+
var t = e.state, n = e.options, r = e.name, a = n.offset, i = a === void 0 ? [0, 0] : a, o = Hy.reduce(function(c, d) {
|
|
34565
34574
|
return c[d] = Q3(d, t.rects, i), c;
|
|
34566
34575
|
}, {}), s = o[t.placement], l = s.x, u = s.y;
|
|
34567
34576
|
t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += l, t.modifiersData.popperOffsets.y += u), t.modifiersData[r] = o;
|
|
@@ -34575,7 +34584,7 @@ const t6 = {
|
|
|
34575
34584
|
};
|
|
34576
34585
|
function n6(e) {
|
|
34577
34586
|
var t = e.state, n = e.name;
|
|
34578
|
-
t.modifiersData[n] =
|
|
34587
|
+
t.modifiersData[n] = Jy({
|
|
34579
34588
|
reference: t.rects.reference,
|
|
34580
34589
|
element: t.rects.popper,
|
|
34581
34590
|
placement: t.placement
|
|
@@ -34614,7 +34623,7 @@ function i6(e) {
|
|
|
34614
34623
|
var B, z = A === "y" ? Ve : We, U = A === "y" ? it : ot, W = A === "y" ? "height" : "width", Z = b[A], G = Z + x[z], J = Z - x[U], w = p ? -L[W] / 2 : 0, I = E === mn ? R[W] : L[W], F = E === mn ? -L[W] : -R[W], C = t.elements.arrow, V = p && C ? _c(C) : {
|
|
34615
34624
|
width: 0,
|
|
34616
34625
|
height: 0
|
|
34617
|
-
}, Y = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding :
|
|
34626
|
+
}, Y = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Yy(), K = Y[z], Q = Y[U], ee = Pn(0, R[W], V[W]), te = m ? R[W] / 2 - w - ee - K - D.mainAxis : I - ee - K - D.mainAxis, ie = m ? -R[W] / 2 + w + ee + Q + D.mainAxis : F + ee + Q + D.mainAxis, ne = t.elements.arrow && Zn(t.elements.arrow), Ae = ne ? A === "y" ? ne.clientTop || 0 : ne.clientLeft || 0 : 0, H = (B = N == null ? void 0 : N[A]) != null ? B : 0, De = Z + te - H - Ae, lt = Z + ie - H, Ze = Pn(p ? hr(G, De) : G, Z, p ? Yt(J, lt) : J);
|
|
34618
34627
|
b[A] = Ze, O[A] = Ze - Z;
|
|
34619
34628
|
}
|
|
34620
34629
|
if (s) {
|
|
@@ -34940,7 +34949,7 @@ function Nb(e, t) {
|
|
|
34940
34949
|
if (e.contains) return e.contains(t);
|
|
34941
34950
|
if (e.compareDocumentPosition) return e === t || !!(e.compareDocumentPosition(t) & 16);
|
|
34942
34951
|
}
|
|
34943
|
-
var C6 = {}, T6 = C6.NODE_ENV !== "production",
|
|
34952
|
+
var C6 = {}, T6 = C6.NODE_ENV !== "production", Qy = function() {
|
|
34944
34953
|
};
|
|
34945
34954
|
if (T6) {
|
|
34946
34955
|
var x6 = function(t, n) {
|
|
@@ -34957,7 +34966,7 @@ if (T6) {
|
|
|
34957
34966
|
} catch {
|
|
34958
34967
|
}
|
|
34959
34968
|
};
|
|
34960
|
-
|
|
34969
|
+
Qy = function(e, t, n) {
|
|
34961
34970
|
var r = arguments.length;
|
|
34962
34971
|
n = new Array(r > 2 ? r - 2 : 0);
|
|
34963
34972
|
for (var a = 2; a < r; a++)
|
|
@@ -34969,8 +34978,8 @@ if (T6) {
|
|
|
34969
34978
|
e || x6.apply(null, [t].concat(n));
|
|
34970
34979
|
};
|
|
34971
34980
|
}
|
|
34972
|
-
var A6 =
|
|
34973
|
-
const
|
|
34981
|
+
var A6 = Qy;
|
|
34982
|
+
const ev = /* @__PURE__ */ Zt(A6), Ob = () => {
|
|
34974
34983
|
};
|
|
34975
34984
|
function _6(e) {
|
|
34976
34985
|
return e.button === 0;
|
|
@@ -34989,7 +34998,7 @@ function k6(e, t = Ob, {
|
|
|
34989
34998
|
} = {}) {
|
|
34990
34999
|
const a = we(!1), i = we(!1), o = Me((u) => {
|
|
34991
35000
|
const c = su(e);
|
|
34992
|
-
|
|
35001
|
+
ev(!!c, "ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"), a.current = !c || R6(u) || !_6(u) || !!Nb(c, u.target) || i.current, i.current = !1;
|
|
34993
35002
|
}, [e]), s = Ot((u) => {
|
|
34994
35003
|
const c = su(e);
|
|
34995
35004
|
c && Nb(c, u.target) ? i.current = !0 : i.current = !1;
|
|
@@ -35080,7 +35089,7 @@ function D6(e, t) {
|
|
|
35080
35089
|
}
|
|
35081
35090
|
const M6 = () => {
|
|
35082
35091
|
};
|
|
35083
|
-
function
|
|
35092
|
+
function tv(e = {}) {
|
|
35084
35093
|
const t = xe(kr), [n, r] = QL(), a = we(!1), {
|
|
35085
35094
|
flip: i,
|
|
35086
35095
|
offset: o,
|
|
@@ -35130,27 +35139,27 @@ function ev(e = {}) {
|
|
|
35130
35139
|
disabled: !p
|
|
35131
35140
|
}), [A, h];
|
|
35132
35141
|
}
|
|
35133
|
-
function
|
|
35142
|
+
function nv(e) {
|
|
35134
35143
|
let {
|
|
35135
35144
|
children: t,
|
|
35136
35145
|
usePopper: n = !0
|
|
35137
35146
|
} = e, r = D6(e, L6);
|
|
35138
|
-
const [a, i] =
|
|
35147
|
+
const [a, i] = tv(Object.assign({}, r, {
|
|
35139
35148
|
usePopper: n
|
|
35140
35149
|
}));
|
|
35141
35150
|
return /* @__PURE__ */ g.jsx(g.Fragment, {
|
|
35142
35151
|
children: t(a, i)
|
|
35143
35152
|
});
|
|
35144
35153
|
}
|
|
35145
|
-
|
|
35154
|
+
nv.displayName = "DropdownMenu";
|
|
35146
35155
|
var Mu = {};
|
|
35147
35156
|
const br = {
|
|
35148
35157
|
prefix: String(Math.round(Math.random() * 1e10)),
|
|
35149
35158
|
current: 0
|
|
35150
|
-
},
|
|
35159
|
+
}, rv = /* @__PURE__ */ Te.createContext(br), P6 = /* @__PURE__ */ Te.createContext(!1);
|
|
35151
35160
|
let F6 = !!(typeof window < "u" && window.document && window.document.createElement), lu = /* @__PURE__ */ new WeakMap();
|
|
35152
35161
|
function U6(e = !1) {
|
|
35153
|
-
let t = xe(
|
|
35162
|
+
let t = xe(rv), n = we(null);
|
|
35154
35163
|
if (n.current === null && !e) {
|
|
35155
35164
|
var r, a;
|
|
35156
35165
|
let i = (a = Te.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED) === null || a === void 0 || (r = a.ReactCurrentOwner) === null || r === void 0 ? void 0 : r.current;
|
|
@@ -35166,7 +35175,7 @@ function U6(e = !1) {
|
|
|
35166
35175
|
return n.current;
|
|
35167
35176
|
}
|
|
35168
35177
|
function B6(e) {
|
|
35169
|
-
let t = xe(
|
|
35178
|
+
let t = xe(rv);
|
|
35170
35179
|
t === br && !F6 && Mu.NODE_ENV !== "production" && console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");
|
|
35171
35180
|
let n = U6(!!e), r = t === br && Mu.NODE_ENV === "test" ? "react-aria" : `react-aria${t.prefix}`;
|
|
35172
35181
|
return e || `${r}-${n}`;
|
|
@@ -35189,12 +35198,12 @@ function G6(e) {
|
|
|
35189
35198
|
function H6() {
|
|
35190
35199
|
return typeof Te.useSyncExternalStore == "function" ? Te.useSyncExternalStore(G6, q6, z6) : xe(P6);
|
|
35191
35200
|
}
|
|
35192
|
-
const
|
|
35201
|
+
const av = (e) => {
|
|
35193
35202
|
var t;
|
|
35194
35203
|
return ((t = e.getAttribute("role")) == null ? void 0 : t.toLowerCase()) === "menu";
|
|
35195
35204
|
}, Db = () => {
|
|
35196
35205
|
};
|
|
35197
|
-
function
|
|
35206
|
+
function iv() {
|
|
35198
35207
|
const e = j6(), {
|
|
35199
35208
|
show: t = !1,
|
|
35200
35209
|
toggle: n = Db,
|
|
@@ -35208,24 +35217,24 @@ function av() {
|
|
|
35208
35217
|
onClick: i,
|
|
35209
35218
|
"aria-expanded": !!t
|
|
35210
35219
|
};
|
|
35211
|
-
return a &&
|
|
35220
|
+
return a && av(a) && (o["aria-haspopup"] = !0), [o, {
|
|
35212
35221
|
show: t,
|
|
35213
35222
|
toggle: n
|
|
35214
35223
|
}];
|
|
35215
35224
|
}
|
|
35216
|
-
function
|
|
35225
|
+
function ov({
|
|
35217
35226
|
children: e
|
|
35218
35227
|
}) {
|
|
35219
|
-
const [t, n] =
|
|
35228
|
+
const [t, n] = iv();
|
|
35220
35229
|
return /* @__PURE__ */ g.jsx(g.Fragment, {
|
|
35221
35230
|
children: e(t, n)
|
|
35222
35231
|
});
|
|
35223
35232
|
}
|
|
35224
|
-
|
|
35225
|
-
const Pu = /* @__PURE__ */ Oe.createContext(null), Mb = (e, t = null) => e != null ? String(e) : t || null,
|
|
35226
|
-
|
|
35233
|
+
ov.displayName = "DropdownToggle";
|
|
35234
|
+
const Pu = /* @__PURE__ */ Oe.createContext(null), Mb = (e, t = null) => e != null ? String(e) : t || null, sv = /* @__PURE__ */ Oe.createContext(null);
|
|
35235
|
+
sv.displayName = "NavContext";
|
|
35227
35236
|
const V6 = "data-rr-ui-";
|
|
35228
|
-
function
|
|
35237
|
+
function lv(e) {
|
|
35229
35238
|
return `${V6}${e}`;
|
|
35230
35239
|
}
|
|
35231
35240
|
const W6 = ["eventKey", "disabled", "onClick", "active", "as"];
|
|
@@ -35238,14 +35247,14 @@ function Y6(e, t) {
|
|
|
35238
35247
|
}
|
|
35239
35248
|
return n;
|
|
35240
35249
|
}
|
|
35241
|
-
function
|
|
35250
|
+
function uv({
|
|
35242
35251
|
key: e,
|
|
35243
35252
|
href: t,
|
|
35244
35253
|
active: n,
|
|
35245
35254
|
disabled: r,
|
|
35246
35255
|
onClick: a
|
|
35247
35256
|
}) {
|
|
35248
|
-
const i = xe(Pu), o = xe(
|
|
35257
|
+
const i = xe(Pu), o = xe(sv), {
|
|
35249
35258
|
activeKey: s
|
|
35250
35259
|
} = o || {}, l = Mb(e, t), u = n == null && e != null ? Mb(s) === l : n;
|
|
35251
35260
|
return [{
|
|
@@ -35254,20 +35263,20 @@ function lv({
|
|
|
35254
35263
|
}),
|
|
35255
35264
|
"aria-disabled": r || void 0,
|
|
35256
35265
|
"aria-selected": u,
|
|
35257
|
-
[
|
|
35266
|
+
[lv("dropdown-item")]: ""
|
|
35258
35267
|
}, {
|
|
35259
35268
|
isActive: u
|
|
35260
35269
|
}];
|
|
35261
35270
|
}
|
|
35262
|
-
const
|
|
35271
|
+
const cv = /* @__PURE__ */ Oe.forwardRef((e, t) => {
|
|
35263
35272
|
let {
|
|
35264
35273
|
eventKey: n,
|
|
35265
35274
|
disabled: r,
|
|
35266
35275
|
onClick: a,
|
|
35267
35276
|
active: i,
|
|
35268
|
-
as: o =
|
|
35277
|
+
as: o = jy
|
|
35269
35278
|
} = e, s = Y6(e, W6);
|
|
35270
|
-
const [l] =
|
|
35279
|
+
const [l] = uv({
|
|
35271
35280
|
key: n,
|
|
35272
35281
|
href: s.href,
|
|
35273
35282
|
disabled: r,
|
|
@@ -35278,11 +35287,11 @@ const uv = /* @__PURE__ */ Oe.forwardRef((e, t) => {
|
|
|
35278
35287
|
ref: t
|
|
35279
35288
|
}, l));
|
|
35280
35289
|
});
|
|
35281
|
-
|
|
35282
|
-
const
|
|
35283
|
-
|
|
35290
|
+
cv.displayName = "DropdownItem";
|
|
35291
|
+
const dv = /* @__PURE__ */ yn(By ? window : void 0);
|
|
35292
|
+
dv.Provider;
|
|
35284
35293
|
function K6() {
|
|
35285
|
-
return xe(
|
|
35294
|
+
return xe(dv);
|
|
35286
35295
|
}
|
|
35287
35296
|
function Pb() {
|
|
35288
35297
|
const e = f3(), t = we(null), n = Me((r) => {
|
|
@@ -35295,7 +35304,7 @@ function Xn({
|
|
|
35295
35304
|
show: t,
|
|
35296
35305
|
onSelect: n,
|
|
35297
35306
|
onToggle: r,
|
|
35298
|
-
itemSelector: a = `* [${
|
|
35307
|
+
itemSelector: a = `* [${lv("dropdown-item")}]`,
|
|
35299
35308
|
focusFirstItemOnShow: i,
|
|
35300
35309
|
placement: o = "bottom-start",
|
|
35301
35310
|
children: s
|
|
@@ -35322,7 +35331,7 @@ function Xn({
|
|
|
35322
35331
|
}), k = Ot(() => {
|
|
35323
35332
|
const N = E.current;
|
|
35324
35333
|
let O = i;
|
|
35325
|
-
if (O == null && (O = d.current &&
|
|
35334
|
+
if (O == null && (O = d.current && av(d.current) ? "keyboard" : !1), O === !1 || O === "keyboard" && !/^key.+$/.test(N))
|
|
35326
35335
|
return;
|
|
35327
35336
|
const B = yb(d.current, a)[0];
|
|
35328
35337
|
B && B.focus && B.focus();
|
|
@@ -35365,7 +35374,7 @@ function Xn({
|
|
|
35365
35374
|
}
|
|
35366
35375
|
return;
|
|
35367
35376
|
case "Tab":
|
|
35368
|
-
|
|
35377
|
+
$y(U.ownerDocument, "keyup", (w) => {
|
|
35369
35378
|
var I;
|
|
35370
35379
|
(w.key === "Tab" && !w.target || !((I = d.current) != null && I.contains(w.target))) && c(!1, J);
|
|
35371
35380
|
}, {
|
|
@@ -35385,12 +35394,12 @@ function Xn({
|
|
|
35385
35394
|
});
|
|
35386
35395
|
}
|
|
35387
35396
|
Xn.displayName = "Dropdown";
|
|
35388
|
-
Xn.Menu =
|
|
35389
|
-
Xn.Toggle =
|
|
35390
|
-
Xn.Item =
|
|
35397
|
+
Xn.Menu = nv;
|
|
35398
|
+
Xn.Toggle = ov;
|
|
35399
|
+
Xn.Item = cv;
|
|
35391
35400
|
const Oc = /* @__PURE__ */ Oe.createContext({});
|
|
35392
35401
|
Oc.displayName = "DropdownContext";
|
|
35393
|
-
const
|
|
35402
|
+
const pv = /* @__PURE__ */ Oe.forwardRef(({
|
|
35394
35403
|
className: e,
|
|
35395
35404
|
bsPrefix: t,
|
|
35396
35405
|
as: n = "hr",
|
|
@@ -35402,8 +35411,8 @@ const dv = /* @__PURE__ */ Oe.forwardRef(({
|
|
|
35402
35411
|
role: r,
|
|
35403
35412
|
...a
|
|
35404
35413
|
})));
|
|
35405
|
-
|
|
35406
|
-
const
|
|
35414
|
+
pv.displayName = "DropdownDivider";
|
|
35415
|
+
const fv = /* @__PURE__ */ Oe.forwardRef(({
|
|
35407
35416
|
className: e,
|
|
35408
35417
|
bsPrefix: t,
|
|
35409
35418
|
as: n = "div",
|
|
@@ -35415,18 +35424,18 @@ const pv = /* @__PURE__ */ Oe.forwardRef(({
|
|
|
35415
35424
|
role: r,
|
|
35416
35425
|
...a
|
|
35417
35426
|
})));
|
|
35418
|
-
|
|
35419
|
-
const
|
|
35427
|
+
fv.displayName = "DropdownHeader";
|
|
35428
|
+
const gv = /* @__PURE__ */ Oe.forwardRef(({
|
|
35420
35429
|
bsPrefix: e,
|
|
35421
35430
|
className: t,
|
|
35422
35431
|
eventKey: n,
|
|
35423
35432
|
disabled: r = !1,
|
|
35424
35433
|
onClick: a,
|
|
35425
35434
|
active: i,
|
|
35426
|
-
as: o =
|
|
35435
|
+
as: o = qy,
|
|
35427
35436
|
...s
|
|
35428
35437
|
}, l) => {
|
|
35429
|
-
const u = wt(e, "dropdown-item"), [c, d] =
|
|
35438
|
+
const u = wt(e, "dropdown-item"), [c, d] = uv({
|
|
35430
35439
|
key: n,
|
|
35431
35440
|
href: s.href,
|
|
35432
35441
|
disabled: r,
|
|
@@ -35440,8 +35449,8 @@ const fv = /* @__PURE__ */ Oe.forwardRef(({
|
|
|
35440
35449
|
className: gt(t, u, d.isActive && "active", r && "disabled")
|
|
35441
35450
|
});
|
|
35442
35451
|
});
|
|
35443
|
-
|
|
35444
|
-
const
|
|
35452
|
+
gv.displayName = "DropdownItem";
|
|
35453
|
+
const mv = /* @__PURE__ */ Oe.forwardRef(({
|
|
35445
35454
|
className: e,
|
|
35446
35455
|
bsPrefix: t,
|
|
35447
35456
|
as: n = "span",
|
|
@@ -35451,15 +35460,15 @@ const gv = /* @__PURE__ */ Oe.forwardRef(({
|
|
|
35451
35460
|
className: gt(e, t),
|
|
35452
35461
|
...r
|
|
35453
35462
|
})));
|
|
35454
|
-
|
|
35463
|
+
mv.displayName = "DropdownItemText";
|
|
35455
35464
|
const Z6 = typeof global < "u" && // @ts-ignore
|
|
35456
35465
|
global.navigator && // @ts-ignore
|
|
35457
|
-
global.navigator.product === "ReactNative", X6 = typeof document < "u", J6 = X6 || Z6 ?
|
|
35466
|
+
global.navigator.product === "ReactNative", X6 = typeof document < "u", J6 = X6 || Z6 ? $v : Ie, Lc = /* @__PURE__ */ Oe.createContext(null);
|
|
35458
35467
|
Lc.displayName = "InputGroupContext";
|
|
35459
|
-
const
|
|
35460
|
-
|
|
35468
|
+
const hv = /* @__PURE__ */ Oe.createContext(null);
|
|
35469
|
+
hv.displayName = "NavbarContext";
|
|
35461
35470
|
var Fb = {};
|
|
35462
|
-
function
|
|
35471
|
+
function bv(e, t) {
|
|
35463
35472
|
if (Fb.NODE_ENV === "production") return e;
|
|
35464
35473
|
const n = Me((r) => {
|
|
35465
35474
|
r == null || !r.isReactComponent || (Fb.NODE_ENV !== "production" ? ob(!1, `${t} injected a ref to a provided \`as\` component that resolved to a component instance instead of a DOM element. Use \`React.forwardRef\` to provide the injected ref to the class component as a prop in order to pass it directly to a DOM element`) : ob(!1));
|
|
@@ -35467,12 +35476,12 @@ function hv(e, t) {
|
|
|
35467
35476
|
return Cc(n, e);
|
|
35468
35477
|
}
|
|
35469
35478
|
var Q6 = {};
|
|
35470
|
-
function
|
|
35479
|
+
function Ev(e, t, n) {
|
|
35471
35480
|
const r = n ? "top-end" : "top-start", a = n ? "top-start" : "top-end", i = n ? "bottom-end" : "bottom-start", o = n ? "bottom-start" : "bottom-end", s = n ? "right-start" : "left-start", l = n ? "right-end" : "left-end", u = n ? "left-start" : "right-start", c = n ? "left-end" : "right-end";
|
|
35472
35481
|
let d = e ? o : i;
|
|
35473
35482
|
return t === "up" ? d = e ? a : r : t === "end" ? d = e ? c : u : t === "start" ? d = e ? l : s : t === "down-centered" ? d = "bottom" : t === "up-centered" && (d = "top"), d;
|
|
35474
35483
|
}
|
|
35475
|
-
const
|
|
35484
|
+
const yv = /* @__PURE__ */ Oe.forwardRef(({
|
|
35476
35485
|
bsPrefix: e,
|
|
35477
35486
|
className: t,
|
|
35478
35487
|
align: n,
|
|
@@ -35487,7 +35496,7 @@ const Ev = /* @__PURE__ */ Oe.forwardRef(({
|
|
|
35487
35496
|
...c
|
|
35488
35497
|
}, d) => {
|
|
35489
35498
|
let f = !1;
|
|
35490
|
-
const p = xe(
|
|
35499
|
+
const p = xe(hv), y = wt(e, "dropdown-menu"), {
|
|
35491
35500
|
align: S,
|
|
35492
35501
|
drop: x,
|
|
35493
35502
|
isRTL: T
|
|
@@ -35497,17 +35506,17 @@ const Ev = /* @__PURE__ */ Oe.forwardRef(({
|
|
|
35497
35506
|
if (n)
|
|
35498
35507
|
if (typeof n == "object") {
|
|
35499
35508
|
const N = Object.keys(n);
|
|
35500
|
-
if (Q6.NODE_ENV !== "production" &&
|
|
35509
|
+
if (Q6.NODE_ENV !== "production" && ev(N.length === 1, "There should only be 1 breakpoint when passing an object to `align`"), N.length) {
|
|
35501
35510
|
const O = N[0], B = n[O];
|
|
35502
35511
|
f = B === "start", m.push(`${y}-${O}-${B}`);
|
|
35503
35512
|
}
|
|
35504
35513
|
} else n === "end" && (f = !0);
|
|
35505
|
-
const A =
|
|
35514
|
+
const A = Ev(f, x, T), [h, {
|
|
35506
35515
|
hasShown: b,
|
|
35507
35516
|
popper: R,
|
|
35508
35517
|
show: L,
|
|
35509
35518
|
toggle: k
|
|
35510
|
-
}] =
|
|
35519
|
+
}] = tv({
|
|
35511
35520
|
flip: a,
|
|
35512
35521
|
rootCloseEvent: r,
|
|
35513
35522
|
show: i,
|
|
@@ -35516,7 +35525,7 @@ const Ev = /* @__PURE__ */ Oe.forwardRef(({
|
|
|
35516
35525
|
popperConfig: l,
|
|
35517
35526
|
placement: A
|
|
35518
35527
|
});
|
|
35519
|
-
if (h.ref = Cc(
|
|
35528
|
+
if (h.ref = Cc(bv(d, "DropdownMenu"), h.ref), J6(() => {
|
|
35520
35529
|
L && (R == null || R.update());
|
|
35521
35530
|
}, [L]), !b && !o && !E) return null;
|
|
35522
35531
|
typeof s != "string" && (h.show = L, h.close = () => k == null ? void 0 : k(!1), h.align = n);
|
|
@@ -35534,27 +35543,27 @@ const Ev = /* @__PURE__ */ Oe.forwardRef(({
|
|
|
35534
35543
|
className: gt(t, y, L && "show", f && `${y}-end`, u && `${y}-${u}`, ...m)
|
|
35535
35544
|
});
|
|
35536
35545
|
});
|
|
35537
|
-
|
|
35538
|
-
const
|
|
35546
|
+
yv.displayName = "DropdownMenu";
|
|
35547
|
+
const vv = /* @__PURE__ */ Oe.forwardRef(({
|
|
35539
35548
|
bsPrefix: e,
|
|
35540
35549
|
split: t,
|
|
35541
35550
|
className: n,
|
|
35542
35551
|
childBsPrefix: r,
|
|
35543
35552
|
// Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
|
|
35544
|
-
as: a =
|
|
35553
|
+
as: a = zy,
|
|
35545
35554
|
...i
|
|
35546
35555
|
}, o) => {
|
|
35547
35556
|
const s = wt(e, "dropdown-toggle"), l = xe(kr);
|
|
35548
35557
|
r !== void 0 && (i.bsPrefix = r);
|
|
35549
|
-
const [u] =
|
|
35550
|
-
return u.ref = Cc(u.ref,
|
|
35558
|
+
const [u] = iv();
|
|
35559
|
+
return u.ref = Cc(u.ref, bv(o, "DropdownToggle")), /* @__PURE__ */ g.jsx(a, {
|
|
35551
35560
|
className: gt(n, s, t && `${s}-split`, (l == null ? void 0 : l.show) && "show"),
|
|
35552
35561
|
...u,
|
|
35553
35562
|
...i
|
|
35554
35563
|
});
|
|
35555
35564
|
});
|
|
35556
|
-
|
|
35557
|
-
const
|
|
35565
|
+
vv.displayName = "DropdownToggle";
|
|
35566
|
+
const Sv = /* @__PURE__ */ Oe.forwardRef((e, t) => {
|
|
35558
35567
|
const {
|
|
35559
35568
|
bsPrefix: n,
|
|
35560
35569
|
drop: r = "down",
|
|
@@ -35574,7 +35583,7 @@ const vv = /* @__PURE__ */ Oe.forwardRef((e, t) => {
|
|
|
35574
35583
|
}), y = xe(Lc), S = wt(n, "dropdown"), x = DL(), T = (R) => f === !1 ? R === "click" : f === "inside" ? R !== "rootClose" : f === "outside" ? R !== "select" : !0, E = JL((R, L) => {
|
|
35575
35584
|
var k;
|
|
35576
35585
|
!((k = L.originalEvent) == null || (k = k.target) == null) && k.classList.contains("dropdown-toggle") && L.source === "mousedown" || (L.originalEvent.currentTarget === document && (L.source !== "keydown" || L.originalEvent.key === "Escape") && (L.source = "rootClose"), T(L.source) && (l == null || l(R, L)));
|
|
35577
|
-
}), A =
|
|
35586
|
+
}), A = Ev(o === "end", r, x), h = xt(() => ({
|
|
35578
35587
|
align: o,
|
|
35579
35588
|
drop: r,
|
|
35580
35589
|
isRTL: x
|
|
@@ -35603,14 +35612,14 @@ const vv = /* @__PURE__ */ Oe.forwardRef((e, t) => {
|
|
|
35603
35612
|
})
|
|
35604
35613
|
});
|
|
35605
35614
|
});
|
|
35606
|
-
|
|
35607
|
-
const qn = Object.assign(
|
|
35608
|
-
Toggle:
|
|
35609
|
-
Menu:
|
|
35610
|
-
Item:
|
|
35611
|
-
ItemText:
|
|
35612
|
-
Divider:
|
|
35613
|
-
Header:
|
|
35615
|
+
Sv.displayName = "Dropdown";
|
|
35616
|
+
const qn = Object.assign(Sv, {
|
|
35617
|
+
Toggle: vv,
|
|
35618
|
+
Menu: yv,
|
|
35619
|
+
Item: gv,
|
|
35620
|
+
ItemText: mv,
|
|
35621
|
+
Divider: pv,
|
|
35622
|
+
Header: fv
|
|
35614
35623
|
});
|
|
35615
35624
|
function eD(e, t) {
|
|
35616
35625
|
return e.classList ? !!t && e.classList.contains(t) : (" " + (e.className.baseVal || e.className) + " ").indexOf(" " + t + " ") !== -1;
|
|
@@ -35624,14 +35633,14 @@ function Ub(e, t) {
|
|
|
35624
35633
|
function nD(e, t) {
|
|
35625
35634
|
e.classList ? e.classList.remove(t) : typeof e.className == "string" ? e.className = Ub(e.className, t) : e.setAttribute("class", Ub(e.className && e.className.baseVal || "", t));
|
|
35626
35635
|
}
|
|
35627
|
-
const
|
|
35636
|
+
const wv = /* @__PURE__ */ Oe.forwardRef(({
|
|
35628
35637
|
bsPrefix: e,
|
|
35629
35638
|
className: t,
|
|
35630
35639
|
// Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
|
|
35631
35640
|
as: n = "div",
|
|
35632
35641
|
...r
|
|
35633
35642
|
}, a) => {
|
|
35634
|
-
const i = wt(e, "row"), o =
|
|
35643
|
+
const i = wt(e, "row"), o = Oy(), s = Ly(), l = `${i}-cols`, u = [];
|
|
35635
35644
|
return o.forEach((c) => {
|
|
35636
35645
|
const d = r[c];
|
|
35637
35646
|
delete r[c];
|
|
@@ -35647,7 +35656,7 @@ const Sv = /* @__PURE__ */ Oe.forwardRef(({
|
|
|
35647
35656
|
className: gt(t, i, ...u)
|
|
35648
35657
|
});
|
|
35649
35658
|
});
|
|
35650
|
-
|
|
35659
|
+
wv.displayName = "Row";
|
|
35651
35660
|
const rD = M(qn.Toggle)`
|
|
35652
35661
|
width: 100%;
|
|
35653
35662
|
max-width: 320px;
|
|
@@ -35699,7 +35708,7 @@ const rD = M(qn.Toggle)`
|
|
|
35699
35708
|
justify-content: space-between;
|
|
35700
35709
|
align-items: center;
|
|
35701
35710
|
`, oD = () => {
|
|
35702
|
-
const { t: e } = vt("minerva"), { conversations: t, selectConversation: n, removeConversation: r } = zn(), { service: a } =
|
|
35711
|
+
const { t: e } = vt("minerva"), { conversations: t, selectConversation: n, removeConversation: r } = zn(), { service: a } = Yb(), [i, o] = Ee(!1), s = (u) => o(u), l = () => o(!1);
|
|
35703
35712
|
return /* @__PURE__ */ g.jsxs(qn, { show: i, onToggle: s, children: [
|
|
35704
35713
|
/* @__PURE__ */ g.jsxs(
|
|
35705
35714
|
rD,
|
|
@@ -35709,7 +35718,7 @@ const rD = M(qn.Toggle)`
|
|
|
35709
35718
|
onClick: () => o((u) => !u),
|
|
35710
35719
|
children: [
|
|
35711
35720
|
e("titles.list_conversations"),
|
|
35712
|
-
i ? /* @__PURE__ */ g.jsx(
|
|
35721
|
+
i ? /* @__PURE__ */ g.jsx(tE, { size: 18, color: "#000000" }) : /* @__PURE__ */ g.jsx(eE, { size: 18, color: "#000000" })
|
|
35713
35722
|
]
|
|
35714
35723
|
}
|
|
35715
35724
|
),
|
|
@@ -35733,7 +35742,7 @@ const rD = M(qn.Toggle)`
|
|
|
35733
35742
|
)
|
|
35734
35743
|
]
|
|
35735
35744
|
},
|
|
35736
|
-
|
|
35745
|
+
zE()
|
|
35737
35746
|
)) : /* @__PURE__ */ g.jsx(g.Fragment, { children: /* @__PURE__ */ g.jsx(qn.Item, { children: e("logMessages.no_conversations_available") }) }) })
|
|
35738
35747
|
] });
|
|
35739
35748
|
};
|
|
@@ -35746,7 +35755,7 @@ var sD = {}, lD = function(t, n) {
|
|
|
35746
35755
|
return nD(t, r);
|
|
35747
35756
|
});
|
|
35748
35757
|
}, Dc = /* @__PURE__ */ function(e) {
|
|
35749
|
-
|
|
35758
|
+
Ny(t, e);
|
|
35750
35759
|
function t() {
|
|
35751
35760
|
for (var r, a = arguments.length, i = new Array(a), o = 0; o < a; o++)
|
|
35752
35761
|
i[o] = arguments[o];
|
|
@@ -35786,7 +35795,7 @@ var sD = {}, lD = function(t, n) {
|
|
|
35786
35795
|
var n = t.prototype;
|
|
35787
35796
|
return n.addClass = function(a, i, o) {
|
|
35788
35797
|
var s = this.getClassNames(i)[o + "ClassName"], l = this.getClassNames("enter"), u = l.doneClassName;
|
|
35789
|
-
i === "appear" && o === "done" && u && (s += " " + u), o === "active" && a &&
|
|
35798
|
+
i === "appear" && o === "done" && u && (s += " " + u), o === "active" && a && Uy(a), s && (this.appliedClasses[i][o] = s, lD(a, s));
|
|
35790
35799
|
}, n.removeClasses = function(a, i) {
|
|
35791
35800
|
var o = this.appliedClasses[i], s = o.base, l = o.active, u = o.done;
|
|
35792
35801
|
this.appliedClasses[i] = {}, s && uu(a, s), l && uu(a, l), u && uu(a, u);
|
|
@@ -36007,10 +36016,10 @@ const Bb = M(fr)`
|
|
|
36007
36016
|
if (!n) return null;
|
|
36008
36017
|
const r = await n.json();
|
|
36009
36018
|
return (r == null ? void 0 : r.interaction) ?? null;
|
|
36010
|
-
},
|
|
36019
|
+
}, Cv = {
|
|
36011
36020
|
register: cD,
|
|
36012
36021
|
get: dD
|
|
36013
|
-
},
|
|
36022
|
+
}, Tv = yn({
|
|
36014
36023
|
interactions: {},
|
|
36015
36024
|
getInteraction: () => [],
|
|
36016
36025
|
toggleInteraction: async () => {
|
|
@@ -36018,7 +36027,7 @@ const Bb = M(fr)`
|
|
|
36018
36027
|
preloadInteractions: () => {
|
|
36019
36028
|
},
|
|
36020
36029
|
typeWritterSpeed: 20
|
|
36021
|
-
}), pD = () => xe(
|
|
36030
|
+
}), pD = () => xe(Tv), ZD = ({ children: e, typeWritterSpeed: t }) => {
|
|
36022
36031
|
const [n, r] = Ee({}), a = (l) => n[l] || [], i = async (l, u) => {
|
|
36023
36032
|
if (!l || l.startsWith("bot-loading-")) {
|
|
36024
36033
|
console.warn(
|
|
@@ -36029,7 +36038,7 @@ const Bb = M(fr)`
|
|
|
36029
36038
|
const c = n[l] || [], d = c.includes(u), f = d ? c.filter((p) => p !== u) : [...c, u];
|
|
36030
36039
|
r((p) => ({ ...p, [l]: f }));
|
|
36031
36040
|
try {
|
|
36032
|
-
await
|
|
36041
|
+
await Cv.register(l, u);
|
|
36033
36042
|
} catch (p) {
|
|
36034
36043
|
console.error("Fallo al registrar interacción", p), d || r((y) => ({
|
|
36035
36044
|
...y,
|
|
@@ -36051,9 +36060,9 @@ const Bb = M(fr)`
|
|
|
36051
36060
|
}),
|
|
36052
36061
|
[n, t]
|
|
36053
36062
|
);
|
|
36054
|
-
return /* @__PURE__ */ g.jsx(
|
|
36063
|
+
return /* @__PURE__ */ g.jsx(Tv.Provider, { value: s, children: e });
|
|
36055
36064
|
};
|
|
36056
|
-
var
|
|
36065
|
+
var xv = /* @__PURE__ */ ((e) => (e.LIKE = "like", e.DISLIKE = "dislike", e.LOVE = "love", e.STOP = "stop", e))(xv || {});
|
|
36057
36066
|
const fD = M.div`
|
|
36058
36067
|
display: flex;
|
|
36059
36068
|
justify-content: center;
|
|
@@ -36156,14 +36165,14 @@ M.button`
|
|
|
36156
36165
|
opacity: 0.7;
|
|
36157
36166
|
}
|
|
36158
36167
|
`;
|
|
36159
|
-
const
|
|
36168
|
+
const Av = M.div`
|
|
36160
36169
|
flex-grow: 1;
|
|
36161
36170
|
overflow-y: auto;
|
|
36162
36171
|
display: flex;
|
|
36163
36172
|
flex-direction: column;
|
|
36164
36173
|
padding-bottom: 80px;
|
|
36165
36174
|
height: 100%;
|
|
36166
|
-
`,
|
|
36175
|
+
`, _v = M.div`
|
|
36167
36176
|
position: absolute;
|
|
36168
36177
|
bottom: 0;
|
|
36169
36178
|
left: 0;
|
|
@@ -36220,12 +36229,12 @@ const xv = M.div`
|
|
|
36220
36229
|
m(),
|
|
36221
36230
|
/* @__PURE__ */ g.jsx(yD, { children: y("titles.chatTtitle") })
|
|
36222
36231
|
] }),
|
|
36223
|
-
/* @__PURE__ */ g.jsx(ED, { children: /* @__PURE__ */ g.jsx(bD, { onClick: E, children: f ? /* @__PURE__ */ g.jsx(
|
|
36232
|
+
/* @__PURE__ */ g.jsx(ED, { children: /* @__PURE__ */ g.jsx(bD, { onClick: E, children: f ? /* @__PURE__ */ g.jsx(eE, { color: "white" }) : /* @__PURE__ */ g.jsx(tE, { color: "white" }) }) })
|
|
36224
36233
|
] }),
|
|
36225
36234
|
S && /* @__PURE__ */ g.jsx(kD, {}),
|
|
36226
36235
|
f && /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
36227
|
-
/* @__PURE__ */ g.jsx(
|
|
36228
|
-
|
|
36236
|
+
/* @__PURE__ */ g.jsx(Av, { children: /* @__PURE__ */ g.jsx(
|
|
36237
|
+
ky,
|
|
36229
36238
|
{
|
|
36230
36239
|
showeditIcon: d,
|
|
36231
36240
|
showPlexo: l,
|
|
@@ -36235,7 +36244,7 @@ const xv = M.div`
|
|
|
36235
36244
|
showControlButtons: o
|
|
36236
36245
|
}
|
|
36237
36246
|
) }),
|
|
36238
|
-
/* @__PURE__ */ g.jsx(
|
|
36247
|
+
/* @__PURE__ */ g.jsx(_v, { children: /* @__PURE__ */ g.jsx(aE, {}) })
|
|
36239
36248
|
] })
|
|
36240
36249
|
] });
|
|
36241
36250
|
}, SD = M.header`
|
|
@@ -36284,7 +36293,7 @@ const wD = M.div`
|
|
|
36284
36293
|
}) => {
|
|
36285
36294
|
const l = () => typeof s == "string" ? /* @__PURE__ */ g.jsx("img", { src: s, alt: "Custom Logo", style: { height: "40px" } }) : s;
|
|
36286
36295
|
return /* @__PURE__ */ g.jsxs(TD, { className: e, children: [
|
|
36287
|
-
t && /* @__PURE__ */ g.jsx(SD, { children: /* @__PURE__ */ g.jsxs(
|
|
36296
|
+
t && /* @__PURE__ */ g.jsx(SD, { children: /* @__PURE__ */ g.jsxs(wv, { children: [
|
|
36288
36297
|
/* @__PURE__ */ g.jsx(
|
|
36289
36298
|
Ou,
|
|
36290
36299
|
{
|
|
@@ -36302,15 +36311,15 @@ const wD = M.div`
|
|
|
36302
36311
|
/* @__PURE__ */ g.jsx(uD, {})
|
|
36303
36312
|
] }) }) })
|
|
36304
36313
|
] }) }),
|
|
36305
|
-
/* @__PURE__ */ g.jsx(
|
|
36306
|
-
|
|
36314
|
+
/* @__PURE__ */ g.jsx(Av, { children: /* @__PURE__ */ g.jsx(
|
|
36315
|
+
ky,
|
|
36307
36316
|
{
|
|
36308
36317
|
showDate: a,
|
|
36309
36318
|
showConversationTitle: i,
|
|
36310
36319
|
showControlButtons: o
|
|
36311
36320
|
}
|
|
36312
36321
|
) }),
|
|
36313
|
-
/* @__PURE__ */ g.jsx(
|
|
36322
|
+
/* @__PURE__ */ g.jsx(_v, { children: /* @__PURE__ */ g.jsx(aE, {}) })
|
|
36314
36323
|
] });
|
|
36315
36324
|
}, TD = M(Jv)`
|
|
36316
36325
|
height: 100vh; /* Ocupa toda la pantalla */
|
|
@@ -36414,7 +36423,7 @@ const xD = ({
|
|
|
36414
36423
|
/* @__PURE__ */ g.jsx("p", { children: e("text.caduca_text") }),
|
|
36415
36424
|
/* @__PURE__ */ g.jsx(RD, { onClick: t, children: e("text.reiniciasessio") })
|
|
36416
36425
|
] }) });
|
|
36417
|
-
},
|
|
36426
|
+
}, Rv = yn(void 0), ID = ({ children: e }) => {
|
|
36418
36427
|
const [t, n] = Ee([]), [r, a] = Ee(!1), [i, o] = Ee(!1), s = we(null), l = we(null), [u, c] = Ee(!1), [d, f] = Ee(!1), { preloadInteractions: p, typeWritterSpeed: y } = pD(), S = we(null), x = async (h) => {
|
|
36419
36428
|
try {
|
|
36420
36429
|
a(!0);
|
|
@@ -36638,14 +36647,14 @@ const xD = ({
|
|
|
36638
36647
|
try {
|
|
36639
36648
|
if (console.log("🔄 Intentando detener el stream desde MessageContext..."), l.current && (l.current.abort(), l.current = null), s.current)
|
|
36640
36649
|
try {
|
|
36641
|
-
await
|
|
36650
|
+
await Cv.register(
|
|
36642
36651
|
s.current,
|
|
36643
|
-
|
|
36652
|
+
xv.STOP
|
|
36644
36653
|
);
|
|
36645
36654
|
} catch (b) {
|
|
36646
36655
|
console.warn("Error al cancelar el reader:", b);
|
|
36647
36656
|
}
|
|
36648
|
-
return await
|
|
36657
|
+
return await Vb(h), console.log("✅ Stream detenido correctamente"), c(!1), a(!1), o(!1), !0;
|
|
36649
36658
|
} catch (b) {
|
|
36650
36659
|
return console.error("❌ Error al detener el stream:", b), !1;
|
|
36651
36660
|
}
|
|
@@ -36672,9 +36681,9 @@ const xD = ({
|
|
|
36672
36681
|
i
|
|
36673
36682
|
]
|
|
36674
36683
|
);
|
|
36675
|
-
return /* @__PURE__ */ g.jsx(
|
|
36684
|
+
return /* @__PURE__ */ g.jsx(Rv.Provider, { value: A, children: e });
|
|
36676
36685
|
}, Nr = () => {
|
|
36677
|
-
const e = xe(
|
|
36686
|
+
const e = xe(Rv);
|
|
36678
36687
|
if (!e)
|
|
36679
36688
|
throw new Error("useMessage must be used within a MessageProvider");
|
|
36680
36689
|
return e;
|
|
@@ -36695,10 +36704,10 @@ const xD = ({
|
|
|
36695
36704
|
showFeedbackButtons: p = !0,
|
|
36696
36705
|
showeditIcon: y = !0
|
|
36697
36706
|
}) => {
|
|
36698
|
-
const S =
|
|
36707
|
+
const S = Gb[e];
|
|
36699
36708
|
console.log("theme que llega", e);
|
|
36700
36709
|
const { addConversation: x, selectConversation: T, service: E, conversations: m } = zn();
|
|
36701
|
-
return
|
|
36710
|
+
return zb({
|
|
36702
36711
|
enableAutoCreate: a,
|
|
36703
36712
|
enableAutoCreateCsd: i,
|
|
36704
36713
|
addConversation: x,
|
|
@@ -36988,8 +36997,8 @@ const apiKey = "ai"; // API Key
|
|
|
36988
36997
|
] })
|
|
36989
36998
|
] })
|
|
36990
36999
|
] }) }) }), e5 = {
|
|
36991
|
-
es:
|
|
36992
|
-
en:
|
|
37000
|
+
es: Ay,
|
|
37001
|
+
en: _y
|
|
36993
37002
|
};
|
|
36994
37003
|
export {
|
|
36995
37004
|
zD as ApiConfigProvider,
|
|
@@ -37010,7 +37019,7 @@ export {
|
|
|
37010
37019
|
UD as setApiConfig,
|
|
37011
37020
|
BD as setAssetsBasePath,
|
|
37012
37021
|
GD as useApiConfig,
|
|
37013
|
-
|
|
37022
|
+
zb as useAutoCreateConversation,
|
|
37014
37023
|
zn as useConversation,
|
|
37015
|
-
|
|
37024
|
+
Yb as useService
|
|
37016
37025
|
};
|