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