@blueking/ai-blueking 1.2.2-beta.2 → 1.2.2-beta.3

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.
Files changed (89) hide show
  1. package/dist/ai-blueking-new.vue.d.ts +2 -2
  2. package/dist/composables/use-session-store.d.ts +1 -1
  3. package/dist/store/sessionStore.d.ts +1 -1
  4. package/dist/vue2/{arc-CL2N3cif.mjs → arc-CWAZs_vn.mjs} +1 -1
  5. package/dist/vue2/{blockDiagram-38ab4fdb-DBRSqIfB.mjs → blockDiagram-38ab4fdb-s29u3jrO.mjs} +5 -5
  6. package/dist/{vue3/c4Diagram-3d4e48cf-DWHJFP40.mjs → vue2/c4Diagram-3d4e48cf-D6R0tcjN.mjs} +2 -2
  7. package/dist/{vue3/channel-RHJ_kpOI.mjs → vue2/channel-CEyYrJDB.mjs} +1 -1
  8. package/dist/vue2/{classDiagram-70f12bd4-CfRjjigL.mjs → classDiagram-70f12bd4-C1_DipLk.mjs} +5 -5
  9. package/dist/vue2/{classDiagram-v2-f2320105-tGb-zZ1T.mjs → classDiagram-v2-f2320105-DbGoebHh.mjs} +5 -5
  10. package/dist/vue2/{clone-BPi_6dAE.mjs → clone-uuf_TocA.mjs} +1 -1
  11. package/dist/vue2/{createText-2e5e7dd3-BsqY13tW.mjs → createText-2e5e7dd3-CnXlTVnQ.mjs} +1 -1
  12. package/dist/{vue3/edges-e0da2a9e-Dp4XEZP0.mjs → vue2/edges-e0da2a9e-Bo9-z2js.mjs} +3 -3
  13. package/dist/{vue3/erDiagram-9861fffd-C1nO1WN0.mjs → vue2/erDiagram-9861fffd-CDTWhaNT.mjs} +4 -4
  14. package/dist/vue2/{flowDb-956e92f1-DQI92dsM.mjs → flowDb-956e92f1-Cp7fwlP9.mjs} +1 -1
  15. package/dist/{vue3/flowDiagram-66a62f08-Imr3hR7K.mjs → vue2/flowDiagram-66a62f08-BsvrL3de.mjs} +6 -6
  16. package/dist/vue2/{flowDiagram-v2-96b9c2cf-DwuH_EgK.mjs → flowDiagram-v2-96b9c2cf-_n0E8sm_.mjs} +5 -5
  17. package/dist/vue2/{flowchart-elk-definition-4a651766-CqUDYQKz.mjs → flowchart-elk-definition-4a651766-B_Ituvem.mjs} +4 -4
  18. package/dist/{vue3/ganttDiagram-c361ad54-DLsGONzw.mjs → vue2/ganttDiagram-c361ad54-wWbJ8BJZ.mjs} +2 -2
  19. package/dist/{vue3/gitGraphDiagram-72cf32ee-BB8pdixb.mjs → vue2/gitGraphDiagram-72cf32ee-NL4beSQ7.mjs} +1 -1
  20. package/dist/vue2/{graph-DWoam0Za.mjs → graph-CkkwZkM3.mjs} +1 -1
  21. package/dist/{vue3/index-3862675e-j-P7sfml.mjs → vue2/index-3862675e-CaZ1HwcL.mjs} +6 -6
  22. package/dist/vue2/index.es.min.js +1 -1
  23. package/dist/vue2/index.iife.min.js +3 -3
  24. package/dist/vue2/index.umd.min.js +155 -155
  25. package/dist/vue2/{infoDiagram-f8f76790-B5pmTOdd.mjs → infoDiagram-f8f76790-CrKmvlfd.mjs} +1 -1
  26. package/dist/{vue3/journeyDiagram-49397b02-B1eZj3zK.mjs → vue2/journeyDiagram-49397b02-46NjM_t2.mjs} +3 -3
  27. package/dist/vue2/{layout-yxjkyPM-.mjs → layout-BfxPwheW.mjs} +2 -2
  28. package/dist/vue2/{line-DnVxQVIV.mjs → line-DXjBy_Vf.mjs} +1 -1
  29. package/dist/{vue3/linear-CTPUnUXv.mjs → vue2/linear-D1vlj--_.mjs} +1 -1
  30. package/dist/vue2/{mindmap-definition-fc14e90a-B8fzf0y4.mjs → mindmap-definition-fc14e90a-DUhq41JN.mjs} +2 -2
  31. package/dist/vue2/{pieDiagram-8a3498a8-OiohaE20.mjs → pieDiagram-8a3498a8-D994MP5t.mjs} +2 -2
  32. package/dist/vue2/{quadrantDiagram-120e2f19-DkGpA49s.mjs → quadrantDiagram-120e2f19-BJePiYSR.mjs} +2 -2
  33. package/dist/vue2/{requirementDiagram-deff3bca-ej1xtEag.mjs → requirementDiagram-deff3bca-qB_hJHJk.mjs} +4 -4
  34. package/dist/vue2/{sankeyDiagram-04a897e0-BpDKvcNO.mjs → sankeyDiagram-04a897e0-CIADPwPl.mjs} +1 -1
  35. package/dist/vue2/{sequenceDiagram-704730f1-BYKvw-Nu.mjs → sequenceDiagram-704730f1-CwotW_WF.mjs} +2 -2
  36. package/dist/{vue3/stateDiagram-587899a1-C3C3dKXv.mjs → vue2/stateDiagram-587899a1-DJ9vtWxi.mjs} +5 -5
  37. package/dist/vue2/{stateDiagram-v2-d93cdb3a-B_4nO5Jt.mjs → stateDiagram-v2-d93cdb3a-7lzNP18I.mjs} +5 -5
  38. package/dist/vue2/style.css +1 -1
  39. package/dist/{vue3/styles-6aaf32cf-D2cBF3Z8.mjs → vue2/styles-6aaf32cf-DMuy8MAR.mjs} +1 -1
  40. package/dist/vue2/{styles-9a916d00-DSpbH2za.mjs → styles-9a916d00-Dc5SrH4R.mjs} +1 -1
  41. package/dist/{vue3/styles-c10674c1-DWZDu9YZ.mjs → vue2/styles-c10674c1-DVtCYuUy.mjs} +4 -4
  42. package/dist/vue2/{svgDrawCommon-08f97a94-DgQpOSVj.mjs → svgDrawCommon-08f97a94-CxcZM2BY.mjs} +1 -1
  43. package/dist/vue2/{timeline-definition-85554ec2-DvdpEaK8.mjs → timeline-definition-85554ec2-gRqHuYlK.mjs} +2 -2
  44. package/dist/vue2/{vue2-zFqjUE0O.mjs → vue2-ZeOdj8aw.mjs} +1162 -1162
  45. package/dist/vue2/{xychartDiagram-e933f94c-BLDfrpRv.mjs → xychartDiagram-e933f94c-C4PTn-oH.mjs} +4 -4
  46. package/dist/vue3/{arc-BfHEwkzK.mjs → arc-D84uJWzS.mjs} +1 -1
  47. package/dist/vue3/{blockDiagram-38ab4fdb-DJwSg4aV.mjs → blockDiagram-38ab4fdb-Byy7YGqv.mjs} +5 -5
  48. package/dist/{vue2/c4Diagram-3d4e48cf-7FD_TZ6p.mjs → vue3/c4Diagram-3d4e48cf-DUYZvXNS.mjs} +2 -2
  49. package/dist/{vue2/channel-C7lPidmX.mjs → vue3/channel-q8E4l_So.mjs} +1 -1
  50. package/dist/vue3/{classDiagram-70f12bd4-MpJbEzje.mjs → classDiagram-70f12bd4-B3SCyfmH.mjs} +5 -5
  51. package/dist/vue3/{classDiagram-v2-f2320105-DK62eg4E.mjs → classDiagram-v2-f2320105-CpU8HBJY.mjs} +5 -5
  52. package/dist/vue3/{clone-C0QH2njc.mjs → clone-CVhzxQWv.mjs} +1 -1
  53. package/dist/vue3/{createText-2e5e7dd3-Des0bBOQ.mjs → createText-2e5e7dd3-BfDhiQ0T.mjs} +1 -1
  54. package/dist/{vue2/edges-e0da2a9e-NUBKMBZr.mjs → vue3/edges-e0da2a9e-fhzHJNxc.mjs} +3 -3
  55. package/dist/{vue2/erDiagram-9861fffd-DCKBnlRP.mjs → vue3/erDiagram-9861fffd-DJsugL2L.mjs} +4 -4
  56. package/dist/vue3/{flowDb-956e92f1-DTRB1kAE.mjs → flowDb-956e92f1-DXPuhYzf.mjs} +1 -1
  57. package/dist/{vue2/flowDiagram-66a62f08-DzOtGWdZ.mjs → vue3/flowDiagram-66a62f08-DTSCxiaO.mjs} +6 -6
  58. package/dist/vue3/{flowDiagram-v2-96b9c2cf-DB5hIxrE.mjs → flowDiagram-v2-96b9c2cf-Bz0BpfaO.mjs} +5 -5
  59. package/dist/vue3/{flowchart-elk-definition-4a651766-BsDFMdqN.mjs → flowchart-elk-definition-4a651766-C4Ej8oJD.mjs} +4 -4
  60. package/dist/{vue2/ganttDiagram-c361ad54-Dd2LI_c-.mjs → vue3/ganttDiagram-c361ad54-TxRx5v5U.mjs} +2 -2
  61. package/dist/{vue2/gitGraphDiagram-72cf32ee-C9fa1Sn4.mjs → vue3/gitGraphDiagram-72cf32ee-PoLFn_vg.mjs} +1 -1
  62. package/dist/vue3/{graph-Dlx23j5o.mjs → graph-LyA1HmQ4.mjs} +1 -1
  63. package/dist/{vue2/index-3862675e-D56QjQUK.mjs → vue3/index-3862675e-CL9_Kl4K.mjs} +6 -6
  64. package/dist/vue3/index.es.min.js +1 -1
  65. package/dist/vue3/index.iife.min.js +3 -3
  66. package/dist/vue3/index.umd.min.js +59 -59
  67. package/dist/vue3/{infoDiagram-f8f76790-CKNn2DgT.mjs → infoDiagram-f8f76790-BKH9M9Fs.mjs} +1 -1
  68. package/dist/{vue2/journeyDiagram-49397b02-jcedvi8z.mjs → vue3/journeyDiagram-49397b02-D5kh2-v-.mjs} +3 -3
  69. package/dist/vue3/{layout-BXArHa6u.mjs → layout-0dQOuVip.mjs} +2 -2
  70. package/dist/vue3/{line-Du6e3iJ8.mjs → line-C7OdKFVM.mjs} +1 -1
  71. package/dist/{vue2/linear-6KeRJBFU.mjs → vue3/linear-Di1KNkPE.mjs} +1 -1
  72. package/dist/vue3/{mindmap-definition-fc14e90a-CK_fF03Q.mjs → mindmap-definition-fc14e90a-Cj0MKnKi.mjs} +2 -2
  73. package/dist/vue3/{pieDiagram-8a3498a8-u9K1XGnZ.mjs → pieDiagram-8a3498a8-fVCSsk5l.mjs} +2 -2
  74. package/dist/vue3/{quadrantDiagram-120e2f19-BoCMwXIR.mjs → quadrantDiagram-120e2f19-CQSZe5tq.mjs} +2 -2
  75. package/dist/vue3/{requirementDiagram-deff3bca-CMjlHGZG.mjs → requirementDiagram-deff3bca-CDGsrmCL.mjs} +4 -4
  76. package/dist/vue3/{sankeyDiagram-04a897e0-DAj4E6NE.mjs → sankeyDiagram-04a897e0-ByjHUK4C.mjs} +1 -1
  77. package/dist/vue3/{sequenceDiagram-704730f1-B1wo8HPv.mjs → sequenceDiagram-704730f1-Bf_M_doP.mjs} +2 -2
  78. package/dist/{vue2/stateDiagram-587899a1-CJisZNUf.mjs → vue3/stateDiagram-587899a1-Dh4WA0sX.mjs} +5 -5
  79. package/dist/vue3/{stateDiagram-v2-d93cdb3a-D9MBpSz-.mjs → stateDiagram-v2-d93cdb3a-CqtrrShU.mjs} +5 -5
  80. package/dist/vue3/style.css +1 -1
  81. package/dist/{vue2/styles-6aaf32cf-CK-orp6x.mjs → vue3/styles-6aaf32cf-BMHzqUvL.mjs} +1 -1
  82. package/dist/vue3/{styles-9a916d00-DxAAjo32.mjs → styles-9a916d00-CWSv5hsX.mjs} +1 -1
  83. package/dist/{vue2/styles-c10674c1-DLdaY2Q7.mjs → vue3/styles-c10674c1-DXfQjG1e.mjs} +4 -4
  84. package/dist/vue3/{svgDrawCommon-08f97a94-B32PsIbn.mjs → svgDrawCommon-08f97a94-4Lgug0qt.mjs} +1 -1
  85. package/dist/vue3/{timeline-definition-85554ec2-BEqMAe5o.mjs → timeline-definition-85554ec2-CcXZk-s5.mjs} +2 -2
  86. package/dist/vue3/{vue3-RZOk9HM5.mjs → vue3-DO01e860.mjs} +442 -442
  87. package/dist/vue3/{xychartDiagram-e933f94c-DjFm9vDd.mjs → xychartDiagram-e933f94c-Czj7mU-J.mjs} +4 -4
  88. package/package.json +1 -1
  89. package/readme.md +1 -1
@@ -1,5 +1,5 @@
1
1
  import { Message as tl, Input as el, OverflowTitle as G2, PopConfirm as Y2, bkTooltips as K2, Button as $n, provideGlobalConfig as X2 } from "bkui-vue";
2
- import { onBeforeMount as Is, onBeforeUnmount as Ae, ref as O, computed as _t, defineComponent as Ot, resolveComponent as pr, createBlock as Xt, openBlock as V, withCtx as Rt, createVNode as kt, createElementVNode as N, createTextVNode as gi, inject as ql, provide as Ul, Fragment as Ne, Comment as Q2, mergeProps as up, cloneVNode as Z2, h as yn, mergeDefaults as J2, useAttrs as tg, getCurrentInstance as eg, onMounted as Be, onUnmounted as hp, onBeforeUpdate as ig, onUpdated as dp, unref as E, renderSlot as il, createElementBlock as J, normalizeClass as Wt, normalizeStyle as Wn, renderList as vi, withModifiers as en, render as Qo, resolveDirective as ng, toDisplayString as At, withDirectives as Vi, nextTick as be, watch as le, createCommentVNode as Bt, useCssVars as rr, vShow as fp, vModelText as Gl, toRef as rg, resolveDynamicComponent as og, withKeys as sg, Teleport as ag } from "vue";
2
+ import { onBeforeMount as Is, onBeforeUnmount as Ae, ref as O, computed as wt, defineComponent as Ot, resolveComponent as pr, createBlock as Xt, openBlock as V, withCtx as Rt, createVNode as kt, createElementVNode as N, createTextVNode as gi, inject as ql, provide as Ul, Fragment as Ne, Comment as Q2, mergeProps as up, cloneVNode as Z2, h as yn, mergeDefaults as J2, useAttrs as tg, getCurrentInstance as eg, onMounted as Be, onUnmounted as hp, onBeforeUpdate as ig, onUpdated as dp, unref as E, renderSlot as il, createElementBlock as J, normalizeClass as Wt, normalizeStyle as Wn, renderList as vi, withModifiers as en, render as Qo, resolveDirective as ng, toDisplayString as At, withDirectives as Vi, nextTick as be, watch as le, createCommentVNode as Bt, useCssVars as rr, vShow as fp, vModelText as Gl, toRef as rg, resolveDynamicComponent as og, withKeys as sg, Teleport as ag } from "vue";
3
3
  import nl from "dayjs";
4
4
  import lg, { BkFormItem as cg } from "bkui-vue/lib/form";
5
5
  import ug, { BkOption as hg } from "bkui-vue/lib/select";
@@ -284,9 +284,9 @@ class _g {
284
284
  `).forEach((v) => {
285
285
  const y = v.replace("data:", "").trim();
286
286
  if (mg(y)) {
287
- const { event: _, content: k, cover: B, documents: L, result: $, code: D, elapsed_time: Y, message: U } = JSON.parse(y);
288
- if ($ === !1 || u.status !== 200) {
289
- o.handleError(e, U || "模型调用失败", D);
287
+ const { event: _, content: k, cover: B, documents: L, result: j, code: z, elapsed_time: Q, message: U } = JSON.parse(y);
288
+ if (j === !1 || u.status !== 200) {
289
+ o.handleError(e, U || "模型调用失败", z);
290
290
  return;
291
291
  }
292
292
  switch (_) {
@@ -299,13 +299,13 @@ class _g {
299
299
  break;
300
300
  case "think":
301
301
  var g, w;
302
- (g = (w = o).handleThink) === null || g === void 0 || g.call(w, e, k, B, Y);
302
+ (g = (w = o).handleThink) === null || g === void 0 || g.call(w, e, k, B, Q);
303
303
  break;
304
304
  case "done":
305
305
  o.handleEnd(e, B ? k : "");
306
306
  break;
307
307
  case "error":
308
- o.handleError(e, U || "模型调用失败", D);
308
+ o.handleError(e, U || "模型调用失败", z);
309
309
  break;
310
310
  }
311
311
  h = "";
@@ -1332,22 +1332,22 @@ function o3(t, e) {
1332
1332
  }
1333
1333
  const s3 = ({ handleStart: t, handleText: e, handleReferenceDoc: i, handleThink: n, handleEnd: r, handleError: o, requestOptions: s, otherOptions: a }) => {
1334
1334
  let l = Uu(s.url, s.headers);
1335
- const c = "内容正在生成中...", u = O(s), d = O(), h = O({}), f = O([]), m = {}, p = {}, v = O(!1), y = _t(() => {
1335
+ const c = "内容正在生成中...", u = O(s), d = O(), h = O({}), f = O([]), m = {}, p = {}, v = O(!1), y = wt(() => {
1336
1336
  const S = [];
1337
1337
  for (let M = f.value.length - 1; M >= 0; M--) {
1338
1338
  const H = f.value[M];
1339
- let R = M + 1, z = f.value[R];
1340
- for (; z && ![
1339
+ let R = M + 1, D = f.value[R];
1340
+ for (; D && ![
1341
1341
  P.Ai,
1342
1342
  P.TokenExpired,
1343
1343
  P.ImageNotSupported,
1344
1344
  P.Pause,
1345
1345
  P.Guide
1346
- ].includes(z.role); )
1347
- R += 1, z = f.value[R];
1346
+ ].includes(D.role); )
1347
+ R += 1, D = f.value[R];
1348
1348
  if (H.role === P.System)
1349
1349
  break;
1350
- H.status !== ae.Fail && !((z == null ? void 0 : z.status) === ae.Fail && [
1350
+ H.status !== ae.Fail && !((D == null ? void 0 : D.status) === ae.Fail && [
1351
1351
  P.User,
1352
1352
  P.UserImage
1353
1353
  ].includes(H.role)) && ![
@@ -1356,21 +1356,21 @@ const s3 = ({ handleStart: t, handleText: e, handleReferenceDoc: i, handleThink:
1356
1356
  ].includes(H.role) && S.unshift(H);
1357
1357
  }
1358
1358
  return S;
1359
- }), x = _t(() => {
1359
+ }), x = wt(() => {
1360
1360
  var S;
1361
1361
  const M = (S = d.value) === null || S === void 0 ? void 0 : S.sessionCode;
1362
1362
  return M ? h.value[M] : !1;
1363
- }), b = _t(() => {
1363
+ }), b = wt(() => {
1364
1364
  var S, M, H;
1365
- const R = [], z = [], ct = [], zt = f.value.findLastIndex((Ct) => Ct.role === P.System && [
1365
+ const R = [], D = [], ct = [], zt = f.value.findLastIndex((_t) => _t.role === P.System && [
1366
1366
  "已启用角色",
1367
1367
  "已启用模型"
1368
- ].some((St) => Ct.content.includes(St)));
1368
+ ].some((St) => _t.content.includes(St)));
1369
1369
  let $t = 0;
1370
- (H = d.value) === null || H === void 0 || (M = H.roleInfo) === null || M === void 0 || (S = M.content) === null || S === void 0 || S.forEach((Ct) => {
1370
+ (H = d.value) === null || H === void 0 || (M = H.roleInfo) === null || M === void 0 || (S = M.content) === null || S === void 0 || S.forEach((_t) => {
1371
1371
  const St = f.value[zt + 1 + $t];
1372
1372
  let Mt = f.value[zt + 2 + $t];
1373
- if ((St == null ? void 0 : St.content) === Ct.content && St.role !== P.System && (R.push(da(St)), $t += 1, (St == null ? void 0 : St.role) === P.Pause)) {
1373
+ if ((St == null ? void 0 : St.content) === _t.content && St.role !== P.System && (R.push(da(St)), $t += 1, (St == null ? void 0 : St.role) === P.Pause)) {
1374
1374
  for (; Mt && Mt.role === P.System; )
1375
1375
  $t += 1, Mt = f.value[zt + 1 + $t];
1376
1376
  for (; Mt && [
@@ -1379,23 +1379,23 @@ const s3 = ({ handleStart: t, handleText: e, handleReferenceDoc: i, handleThink:
1379
1379
  ].includes(Mt.role); )
1380
1380
  R.push(da(Mt)), $t += 1, Mt = f.value[zt + 1 + $t];
1381
1381
  }
1382
- }), z.push(...y.value.map(da));
1383
- const he = (Ct) => {
1382
+ }), D.push(...y.value.map(da));
1383
+ const he = (_t) => {
1384
1384
  let St = !0;
1385
- for (let ee = Ct; ee < R.length; ee++) {
1385
+ for (let ee = _t; ee < R.length; ee++) {
1386
1386
  var Mt;
1387
- R[ee].content !== ((Mt = z[ee - Ct]) === null || Mt === void 0 ? void 0 : Mt.content) && (St = !1);
1387
+ R[ee].content !== ((Mt = D[ee - _t]) === null || Mt === void 0 ? void 0 : Mt.content) && (St = !1);
1388
1388
  }
1389
1389
  return St;
1390
1390
  };
1391
- for (let Ct = 0; Ct < R.length; Ct++) {
1392
- const St = R[Ct];
1393
- if (he(Ct))
1391
+ for (let _t = 0; _t < R.length; _t++) {
1392
+ const St = R[_t];
1393
+ if (he(_t))
1394
1394
  break;
1395
1395
  ct.push(St);
1396
1396
  }
1397
- return ct.push(...z), ct.forEach((Ct) => {
1398
- Ct.content = t3(Ct.content), Ct.content = Tg(Ct.content);
1397
+ return ct.push(...D), ct.forEach((_t) => {
1398
+ _t.content = t3(_t.content), _t.content = Tg(_t.content);
1399
1399
  }), ct;
1400
1400
  }), g = new _g({
1401
1401
  handleStart: jt,
@@ -1403,7 +1403,7 @@ const s3 = ({ handleStart: t, handleText: e, handleReferenceDoc: i, handleThink:
1403
1403
  handleReferenceDoc: qt,
1404
1404
  handleThink: Ut,
1405
1405
  handleEnd: Vt,
1406
- handleError: K
1406
+ handleError: Y
1407
1407
  });
1408
1408
  function w(S) {
1409
1409
  u.value = fa({}, u.value, S), (S.url || S.headers) && (l = Uu(u.value.url, u.value.headers));
@@ -1418,11 +1418,11 @@ const s3 = ({ handleStart: t, handleText: e, handleReferenceDoc: i, handleThink:
1418
1418
  function L(S) {
1419
1419
  d.value && (m[d.value.sessionCode] = S, f.value = S);
1420
1420
  }
1421
- function $(S) {
1422
- return D.apply(this, arguments);
1421
+ function j(S) {
1422
+ return z.apply(this, arguments);
1423
1423
  }
1424
- function D() {
1425
- return D = // 自动设置 currentSession 以及当然 sessionConetnts内容
1424
+ function z() {
1425
+ return z = // 自动设置 currentSession 以及当然 sessionConetnts内容
1426
1426
  Ai(function* (S) {
1427
1427
  d.value = S;
1428
1428
  try {
@@ -1432,55 +1432,55 @@ const s3 = ({ handleStart: t, handleText: e, handleReferenceDoc: i, handleThink:
1432
1432
  } catch {
1433
1433
  v.value = !1;
1434
1434
  }
1435
- }), D.apply(this, arguments);
1435
+ }), z.apply(this, arguments);
1436
1436
  }
1437
- function Y(S, M) {
1438
- return wt(M).find((R) => R.id === S);
1437
+ function Q(S, M) {
1438
+ return Ct(M).find((R) => R.id === S);
1439
1439
  }
1440
1440
  function U(S) {
1441
1441
  var M;
1442
1442
  return ((M = d.value) === null || M === void 0 ? void 0 : M.sessionCode) === S ? f.value.at(-1) : m[S].at(-1);
1443
1443
  }
1444
- function wt(S) {
1444
+ function Ct(S) {
1445
1445
  var M;
1446
1446
  return ((M = d.value) === null || M === void 0 ? void 0 : M.sessionCode) === S ? f.value : m[S];
1447
1447
  }
1448
1448
  function dt(S, M) {
1449
- return wt(S).push(M), _(M);
1449
+ return Ct(S).push(M), _(M);
1450
1450
  }
1451
1451
  function ft(S) {
1452
1452
  var M;
1453
- const R = (((M = d.value) === null || M === void 0 ? void 0 : M.sessionCode) === S.sessionCode ? f.value : m[S.sessionCode]).find((z) => +(z.id || 0) == +(S.id || 0));
1453
+ const R = (((M = d.value) === null || M === void 0 ? void 0 : M.sessionCode) === S.sessionCode ? f.value : m[S.sessionCode]).find((D) => +(D.id || 0) == +(S.id || 0));
1454
1454
  return R && Object.assign(R, S), k(S.id, S);
1455
1455
  }
1456
1456
  function pt(S, M, H) {
1457
1457
  var R;
1458
- const z = ((R = d.value) === null || R === void 0 ? void 0 : R.sessionCode) === S ? f.value : m[S], ct = [];
1458
+ const D = ((R = d.value) === null || R === void 0 ? void 0 : R.sessionCode) === S ? f.value : m[S], ct = [];
1459
1459
  return M.forEach((zt) => {
1460
- const $t = z.findIndex((he) => he.id === zt);
1460
+ const $t = D.findIndex((he) => he.id === zt);
1461
1461
  if ($t > -1) {
1462
- const he = z[$t - 1], Ct = z[$t + 1], St = z[$t + 2];
1463
- if (z.splice($t, 1), ct.push(zt), [
1462
+ const he = D[$t - 1], _t = D[$t + 1], St = D[$t + 2];
1463
+ if (D.splice($t, 1), ct.push(zt), [
1464
1464
  P.Hidden
1465
1465
  ].includes(he == null ? void 0 : he.role)) {
1466
- const Mt = z.findIndex((ee) => ee.id === he.id);
1467
- z.splice(Mt, 1), ct.push(he.id);
1466
+ const Mt = D.findIndex((ee) => ee.id === he.id);
1467
+ D.splice(Mt, 1), ct.push(he.id);
1468
1468
  }
1469
- if ((Ct == null ? void 0 : Ct.role) === P.Ai || H && [
1469
+ if ((_t == null ? void 0 : _t.role) === P.Ai || H && [
1470
1470
  P.Ai,
1471
1471
  P.Guide,
1472
1472
  P.TokenExpired,
1473
1473
  P.ImageNotSupported,
1474
1474
  P.Pause
1475
- ].includes(Ct == null ? void 0 : Ct.role)) {
1476
- const Mt = z.findIndex((ee) => ee.id === Ct.id);
1477
- z.splice(Mt, 1), ct.push(Ct.id);
1475
+ ].includes(_t == null ? void 0 : _t.role)) {
1476
+ const Mt = D.findIndex((ee) => ee.id === _t.id);
1477
+ D.splice(Mt, 1), ct.push(_t.id);
1478
1478
  }
1479
1479
  if ([
1480
1480
  P.Guide
1481
1481
  ].includes(St == null ? void 0 : St.role) && H) {
1482
- const Mt = z.findIndex((ee) => ee.id === St.id);
1483
- z.splice(Mt, 1), ct.push(St.id);
1482
+ const Mt = D.findIndex((ee) => ee.id === St.id);
1483
+ D.splice(Mt, 1), ct.push(St.id);
1484
1484
  }
1485
1485
  }
1486
1486
  }), ct;
@@ -1517,8 +1517,8 @@ const s3 = ({ handleStart: t, handleText: e, handleReferenceDoc: i, handleThink:
1517
1517
  function xt() {
1518
1518
  return xt = // 引用资料
1519
1519
  Ai(function* (S, M, H) {
1520
- const R = U(S), z = wg(M, a == null ? void 0 : a.hideReferenceDocIcon);
1521
- R.content = H ? z : R.content + z, yield k(R.id, R), yield i == null ? void 0 : i(S, R);
1520
+ const R = U(S), D = wg(M, a == null ? void 0 : a.hideReferenceDocIcon);
1521
+ R.content = H ? D : R.content + D, yield k(R.id, R), yield i == null ? void 0 : i(S, R);
1522
1522
  }), xt.apply(this, arguments);
1523
1523
  }
1524
1524
  function Ut(S, M, H, R) {
@@ -1527,8 +1527,8 @@ const s3 = ({ handleStart: t, handleText: e, handleReferenceDoc: i, handleThink:
1527
1527
  function it() {
1528
1528
  return it = // 思考
1529
1529
  Ai(function* (S, M, H, R) {
1530
- const z = U(S);
1531
- z.content = Jg(z.content, M, H, R), yield k(z.id, z), yield n == null ? void 0 : n(S, z);
1530
+ const D = U(S);
1531
+ D.content = Jg(D.content, M, H, R), yield k(D.id, D), yield n == null ? void 0 : n(S, D);
1532
1532
  }), it.apply(this, arguments);
1533
1533
  }
1534
1534
  function Pt(S, M, H) {
@@ -1555,13 +1555,13 @@ const s3 = ({ handleStart: t, handleText: e, handleReferenceDoc: i, handleThink:
1555
1555
  Ai(function* (S, M) {
1556
1556
  const H = U(S);
1557
1557
  if (H.content === c || e3(H.content)) {
1558
- K(S, "聊天内容已中断");
1558
+ Y(S, "聊天内容已中断");
1559
1559
  return;
1560
1560
  }
1561
1561
  H.status === ae.Loading && (h.value[S] = !1, M && (H.content = M), H.status = ae.Success, yield k(H.id, H), yield r == null ? void 0 : r(S, H));
1562
1562
  }), Nt.apply(this, arguments);
1563
1563
  }
1564
- function K(S, M, H) {
1564
+ function Y(S, M, H) {
1565
1565
  return at.apply(this, arguments);
1566
1566
  }
1567
1567
  function at() {
@@ -1569,8 +1569,8 @@ const s3 = ({ handleStart: t, handleText: e, handleReferenceDoc: i, handleThink:
1569
1569
  Ai(function* (S, M, H) {
1570
1570
  const R = U(S);
1571
1571
  if (R.status = ae.Fail, R.content = M, h.value[S] = !1, H === Jo.TokenExpired) {
1572
- var z, ct;
1573
- if (R.content = "抱歉,您的剩余 Token 不足,无法返回回答内容,请先清空当前会话(上下文仍会作为历史记录保留))", R.role = P.TokenExpired, !((ct = d.value) === null || ct === void 0 || (z = ct.sessionProperty) === null || z === void 0) && z.isAutoClear) {
1572
+ var D, ct;
1573
+ if (R.content = "抱歉,您的剩余 Token 不足,无法返回回答内容,请先清空当前会话(上下文仍会作为历史记录保留))", R.role = P.TokenExpired, !((ct = d.value) === null || ct === void 0 || (D = ct.sessionProperty) === null || D === void 0) && D.isAutoClear) {
1574
1574
  var zt;
1575
1575
  yield dt(S, {
1576
1576
  sessionCode: S,
@@ -1594,11 +1594,11 @@ const s3 = ({ handleStart: t, handleText: e, handleReferenceDoc: i, handleThink:
1594
1594
  if (H)
1595
1595
  p[S].push(R);
1596
1596
  else {
1597
- const z = o3(fa({}, Qg(R)), {
1597
+ const D = o3(fa({}, Qg(R)), {
1598
1598
  sessionCode: S,
1599
1599
  status: ae.Success
1600
1600
  });
1601
- yield dt(S, z), z.role === P.Pause && (H = !0);
1601
+ yield dt(S, D), D.role === P.Pause && (H = !0);
1602
1602
  }
1603
1603
  }), Lt.apply(this, arguments);
1604
1604
  }
@@ -1607,15 +1607,15 @@ const s3 = ({ handleStart: t, handleText: e, handleReferenceDoc: i, handleThink:
1607
1607
  return;
1608
1608
  const R = f.value.slice(H, f.value.length).map((ct) => ct.id).filter((ct) => ct !== void 0);
1609
1609
  R.length > 0 && bt(S, R);
1610
- const z = f.value[H - 1];
1611
- z && Ce(z);
1610
+ const D = f.value[H - 1];
1611
+ D && Ce(D);
1612
1612
  }
1613
1613
  function Ce({ sessionCode: S, url: M, data: H, headers: R }) {
1614
- const z = p[S];
1615
- (z == null ? void 0 : z.length) > 0 ? lt(S, z) : Re(S, H, M, R);
1614
+ const D = p[S];
1615
+ (D == null ? void 0 : D.length) > 0 ? lt(S, D) : Re(S, H, M, R);
1616
1616
  }
1617
1617
  function Re(S, M, H, R) {
1618
- var z;
1618
+ var D;
1619
1619
  const ct = U(S);
1620
1620
  g.stream({
1621
1621
  sessionCode: S,
@@ -1627,7 +1627,7 @@ const s3 = ({ handleStart: t, handleText: e, handleReferenceDoc: i, handleThink:
1627
1627
  stream: !0
1628
1628
  }
1629
1629
  }, M, u.value.data),
1630
- headers: R || ((z = u.value) === null || z === void 0 ? void 0 : z.headers)
1630
+ headers: R || ((D = u.value) === null || D === void 0 ? void 0 : D.headers)
1631
1631
  });
1632
1632
  }
1633
1633
  function oe(S, M, H) {
@@ -1636,7 +1636,7 @@ const s3 = ({ handleStart: t, handleText: e, handleReferenceDoc: i, handleThink:
1636
1636
  function ce() {
1637
1637
  return ce = // 重新发送聊天, 需要将当前聊天内容以及下方的所有内容删除
1638
1638
  Ai(function* (S, M, H) {
1639
- var R, z;
1639
+ var R, D;
1640
1640
  if (M.role !== P.User)
1641
1641
  return;
1642
1642
  const ct = f.value.slice(H, f.value.length).map((zt) => zt.id).filter((zt) => zt !== void 0);
@@ -1646,7 +1646,7 @@ const s3 = ({ handleStart: t, handleText: e, handleReferenceDoc: i, handleThink:
1646
1646
  sessionCode: S,
1647
1647
  property: {
1648
1648
  extra: {
1649
- cite: (z = M.property) === null || z === void 0 || (R = z.extra) === null || R === void 0 ? void 0 : R.cite
1649
+ cite: (D = M.property) === null || D === void 0 || (R = D.extra) === null || R === void 0 ? void 0 : R.cite
1650
1650
  }
1651
1651
  }
1652
1652
  }), Ce(M);
@@ -1655,10 +1655,10 @@ const s3 = ({ handleStart: t, handleText: e, handleReferenceDoc: i, handleThink:
1655
1655
  function Ee(S, M) {
1656
1656
  let H = [];
1657
1657
  if (f.value[S].role === P.User) {
1658
- H = f.value.slice(S, S + 2).map((z) => z.id).filter((z) => z !== void 0), bt(M, H);
1658
+ H = f.value.slice(S, S + 2).map((D) => D.id).filter((D) => D !== void 0), bt(M, H);
1659
1659
  return;
1660
1660
  }
1661
- H = f.value.slice(S - 1, S + 1).map((z) => z.id).filter((z) => z !== void 0), bt(M, H);
1661
+ H = f.value.slice(S - 1, S + 1).map((D) => D.id).filter((D) => D !== void 0), bt(M, H);
1662
1662
  }
1663
1663
  function ue(S) {
1664
1664
  g.stop(S);
@@ -1675,16 +1675,16 @@ const s3 = ({ handleStart: t, handleText: e, handleReferenceDoc: i, handleThink:
1675
1675
  stopChat: ue,
1676
1676
  plusSessionContent: dt,
1677
1677
  updateSessionContent: ft,
1678
- getSessionContentById: Y,
1678
+ getSessionContentById: Q,
1679
1679
  getLastSessionContentBySessionCode: U,
1680
- getSessionContentsBySessionCode: wt,
1680
+ getSessionContentsBySessionCode: Ct,
1681
1681
  setCurrentSession: B,
1682
- setCurrentSessionChain: $,
1682
+ setCurrentSessionChain: j,
1683
1683
  setSessionContents: L,
1684
1684
  deleteSessionContent: st,
1685
1685
  deleteSessionContents: bt,
1686
1686
  handleStartChat: jt,
1687
- handleErrorChat: K,
1687
+ handleErrorChat: Y,
1688
1688
  handleCompleteRole: lt,
1689
1689
  reGenerateChat: re,
1690
1690
  reSendChat: oe,
@@ -3740,8 +3740,8 @@ function mh({ keyframes: t, velocity: e = 0, power: i = 0.8, timeConstant: n = 3
3740
3740
  const v = d + p, y = s === void 0 ? v : s(v);
3741
3741
  y !== v && (p = y - d);
3742
3742
  const x = (B) => -p * Math.exp(-B / n), b = (B) => y + x(B), g = (B) => {
3743
- const L = x(B), $ = b(B);
3744
- h.done = Math.abs(L) <= c, h.value = h.done ? y : $;
3743
+ const L = x(B), j = b(B);
3744
+ h.done = Math.abs(L) <= c, h.value = h.done ? y : j;
3745
3745
  };
3746
3746
  let w, _;
3747
3747
  const k = (B) => {
@@ -3923,8 +3923,8 @@ class pc extends h1 {
3923
3923
  let b = this.currentTime, g = o;
3924
3924
  if (f) {
3925
3925
  const B = Math.min(this.currentTime, u) / d;
3926
- let L = Math.floor(B), $ = B % 1;
3927
- !$ && B >= 1 && ($ = 1), $ === 1 && L--, L = Math.min(L, f + 1), !!(L % 2) && (m === "reverse" ? ($ = 1 - $, p && ($ -= p / d)) : m === "mirror" && (g = s)), b = rn(0, 1, $) * d;
3926
+ let L = Math.floor(B), j = B % 1;
3927
+ !j && B >= 1 && (j = 1), j === 1 && L--, L = Math.min(L, f + 1), !!(L % 2) && (m === "reverse" ? (j = 1 - j, p && (j -= p / d)) : m === "mirror" && (g = s)), b = rn(0, 1, j) * d;
3928
3928
  }
3929
3929
  const w = x ? { done: !1, value: l[0] } : g.next(b);
3930
3930
  a && (w.value = a(w.value));
@@ -6567,9 +6567,9 @@ function Ny(t, { defaultTransition: e = {}, ...i } = {}, n, r) {
6567
6567
  y.at !== void 0 && (d = bd(d, y.at, u, c));
6568
6568
  let x = 0;
6569
6569
  const b = (g, w, _, k = 0, B = 0) => {
6570
- const L = Hy(g), { delay: $ = 0, times: D = y1(L), type: Y = "keyframes", repeat: U, repeatType: wt, repeatDelay: dt = 0, ...ft } = w;
6570
+ const L = Hy(g), { delay: j = 0, times: z = y1(L), type: Q = "keyframes", repeat: U, repeatType: Ct, repeatDelay: dt = 0, ...ft } = w;
6571
6571
  let { ease: pt = e.ease || "easeOut", duration: st } = w;
6572
- const bt = typeof $ == "function" ? $(k, B) : $, jt = L.length, mt = js(Y) ? Y : r == null ? void 0 : r[Y];
6572
+ const bt = typeof j == "function" ? j(k, B) : j, jt = L.length, mt = js(Q) ? Q : r == null ? void 0 : r[Q];
6573
6573
  if (jt <= 2 && mt) {
6574
6574
  let it = 100;
6575
6575
  if (jt === 2 && Wy(L)) {
@@ -6583,22 +6583,22 @@ function Ny(t, { defaultTransition: e = {}, ...i } = {}, n, r) {
6583
6583
  }
6584
6584
  st ?? (st = o);
6585
6585
  const qt = d + bt;
6586
- D.length === 1 && D[0] === 0 && (D[1] = 1);
6587
- const xt = D.length - L.length;
6588
- if (xt > 0 && v1(D, xt), L.length === 1 && L.unshift(null), U) {
6586
+ z.length === 1 && z[0] === 0 && (z[1] = 1);
6587
+ const xt = z.length - L.length;
6588
+ if (xt > 0 && v1(z, xt), L.length === 1 && L.unshift(null), U) {
6589
6589
  st = Py(st, U);
6590
- const it = [...L], Pt = [...D];
6590
+ const it = [...L], Pt = [...z];
6591
6591
  pt = Array.isArray(pt) ? [...pt] : [pt];
6592
6592
  const Dt = [...pt];
6593
6593
  for (let Vt = 0; Vt < U; Vt++) {
6594
6594
  L.push(...it);
6595
6595
  for (let Nt = 0; Nt < it.length; Nt++)
6596
- D.push(Pt[Nt] + (Vt + 1)), pt.push(Nt === 0 ? "linear" : Z1(Dt, Nt - 1));
6596
+ z.push(Pt[Nt] + (Vt + 1)), pt.push(Nt === 0 ? "linear" : Z1(Dt, Nt - 1));
6597
6597
  }
6598
- Iy(D, U);
6598
+ Iy(z, U);
6599
6599
  }
6600
6600
  const Ut = qt + st;
6601
- zy(_, L, pt, D, qt, Ut), x = Math.max(bt + st, x), h = Math.max(Ut, h);
6601
+ zy(_, L, pt, z, qt, Ut), x = Math.max(bt + st, x), h = Math.max(Ut, h);
6602
6602
  };
6603
6603
  if (ye(p)) {
6604
6604
  const g = xd(p, a);
@@ -7069,7 +7069,7 @@ const y5 = {
7069
7069
  nonce: void 0
7070
7070
  }, [b5, zF] = Vs("MotionConfig");
7071
7071
  function x5() {
7072
- return b5(_t(() => y5));
7072
+ return b5(wt(() => y5));
7073
7073
  }
7074
7074
  const Ba = /* @__PURE__ */ Ot({
7075
7075
  name: "Motion",
@@ -8056,27 +8056,27 @@ function Bd(t) {
8056
8056
  }
8057
8057
  if (r === Ie || (r === ze || r === Qe) && o === Qr) {
8058
8058
  b = Ze;
8059
- var $ = d && _ === w && w.visualViewport ? w.visualViewport.width : (
8059
+ var j = d && _ === w && w.visualViewport ? w.visualViewport.width : (
8060
8060
  // $FlowFixMe[prop-missing]
8061
8061
  _[B]
8062
8062
  );
8063
- f -= $ - n.width, f *= l ? 1 : -1;
8063
+ f -= j - n.width, f *= l ? 1 : -1;
8064
8064
  }
8065
8065
  }
8066
- var D = Object.assign({
8066
+ var z = Object.assign({
8067
8067
  position: a
8068
- }, c && X5), Y = u === !0 ? Q5({
8068
+ }, c && X5), Q = u === !0 ? Q5({
8069
8069
  x: f,
8070
8070
  y: p
8071
8071
  }, He(i)) : {
8072
8072
  x: f,
8073
8073
  y: p
8074
8074
  };
8075
- if (f = Y.x, p = Y.y, l) {
8075
+ if (f = Q.x, p = Q.y, l) {
8076
8076
  var U;
8077
- return Object.assign({}, D, (U = {}, U[g] = x ? "0" : "", U[b] = y ? "0" : "", U.transform = (w.devicePixelRatio || 1) <= 1 ? "translate(" + f + "px, " + p + "px)" : "translate3d(" + f + "px, " + p + "px, 0)", U));
8077
+ return Object.assign({}, z, (U = {}, U[g] = x ? "0" : "", U[b] = y ? "0" : "", U.transform = (w.devicePixelRatio || 1) <= 1 ? "translate(" + f + "px, " + p + "px)" : "translate3d(" + f + "px, " + p + "px, 0)", U));
8078
8078
  }
8079
- return Object.assign({}, D, (e = {}, e[g] = x ? p + "px" : "", e[b] = y ? f + "px" : "", e.transform = "", e));
8079
+ return Object.assign({}, z, (e = {}, e[g] = x ? p + "px" : "", e[b] = y ? f + "px" : "", e.transform = "", e));
8080
8080
  }
8081
8081
  function Z5(t) {
8082
8082
  var e = t.state, i = t.options, n = i.gpuAcceleration, r = n === void 0 ? !0 : n, o = i.adaptive, s = o === void 0 ? !0 : o, a = i.roundOffsets, l = a === void 0 ? !0 : a, c = {
@@ -8280,20 +8280,20 @@ function Zr(t, e) {
8280
8280
  reference: _,
8281
8281
  element: b,
8282
8282
  placement: r
8283
- }), B = Cl(Object.assign({}, b, k)), L = h === gr ? B : _, $ = {
8283
+ }), B = Cl(Object.assign({}, b, k)), L = h === gr ? B : _, j = {
8284
8284
  top: w.top - L.top + y.top,
8285
8285
  bottom: L.bottom - w.bottom + y.bottom,
8286
8286
  left: w.left - L.left + y.left,
8287
8287
  right: L.right - w.right + y.right
8288
- }, D = t.modifiersData.offset;
8289
- if (h === gr && D) {
8290
- var Y = D[r];
8291
- Object.keys($).forEach(function(U) {
8292
- var wt = [Ze, Qe].indexOf(U) >= 0 ? 1 : -1, dt = [ze, Qe].indexOf(U) >= 0 ? "y" : "x";
8293
- $[U] += Y[dt] * wt;
8288
+ }, z = t.modifiersData.offset;
8289
+ if (h === gr && z) {
8290
+ var Q = z[r];
8291
+ Object.keys(j).forEach(function(U) {
8292
+ var Ct = [Ze, Qe].indexOf(U) >= 0 ? 1 : -1, dt = [ze, Qe].indexOf(U) >= 0 ? "y" : "x";
8293
+ j[U] += Q[dt] * Ct;
8294
8294
  });
8295
8295
  }
8296
- return $;
8296
+ return j;
8297
8297
  }
8298
8298
  function c8(t, e) {
8299
8299
  e === void 0 && (e = {});
@@ -8333,23 +8333,23 @@ function h8(t) {
8333
8333
  flipVariations: m,
8334
8334
  allowedAutoPlacements: p
8335
8335
  }) : it);
8336
- }, []), w = e.rects.reference, _ = e.rects.popper, k = /* @__PURE__ */ new Map(), B = !0, L = g[0], $ = 0; $ < g.length; $++) {
8337
- var D = g[$], Y = fi(D), U = Kn(D) === Un, wt = [ze, Qe].indexOf(Y) >= 0, dt = wt ? "width" : "height", ft = Zr(e, {
8338
- placement: D,
8336
+ }, []), w = e.rects.reference, _ = e.rects.popper, k = /* @__PURE__ */ new Map(), B = !0, L = g[0], j = 0; j < g.length; j++) {
8337
+ var z = g[j], Q = fi(z), U = Kn(z) === Un, Ct = [ze, Qe].indexOf(Q) >= 0, dt = Ct ? "width" : "height", ft = Zr(e, {
8338
+ placement: z,
8339
8339
  boundary: u,
8340
8340
  rootBoundary: d,
8341
8341
  altBoundary: h,
8342
8342
  padding: c
8343
- }), pt = wt ? U ? Ze : Ie : U ? Qe : ze;
8343
+ }), pt = Ct ? U ? Ze : Ie : U ? Qe : ze;
8344
8344
  w[dt] > _[dt] && (pt = Ho(pt));
8345
8345
  var st = Ho(pt), bt = [];
8346
- if (o && bt.push(ft[Y] <= 0), a && bt.push(ft[pt] <= 0, ft[st] <= 0), bt.every(function(Ut) {
8346
+ if (o && bt.push(ft[Q] <= 0), a && bt.push(ft[pt] <= 0, ft[st] <= 0), bt.every(function(Ut) {
8347
8347
  return Ut;
8348
8348
  })) {
8349
- L = D, B = !1;
8349
+ L = z, B = !1;
8350
8350
  break;
8351
8351
  }
8352
- k.set(D, bt);
8352
+ k.set(z, bt);
8353
8353
  }
8354
8354
  if (B)
8355
8355
  for (var jt = m ? 3 : 1, mt = function(it) {
@@ -8469,29 +8469,29 @@ function C8(t) {
8469
8469
  altBoundary: u
8470
8470
  }), y = fi(e.placement), x = Kn(e.placement), b = !x, g = Sc(y), w = x8(g), _ = e.modifiersData.popperOffsets, k = e.rects.reference, B = e.rects.popper, L = typeof p == "function" ? p(Object.assign({}, e.rects, {
8471
8471
  placement: e.placement
8472
- })) : p, $ = typeof L == "number" ? {
8472
+ })) : p, j = typeof L == "number" ? {
8473
8473
  mainAxis: L,
8474
8474
  altAxis: L
8475
8475
  } : Object.assign({
8476
8476
  mainAxis: 0,
8477
8477
  altAxis: 0
8478
- }, L), D = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, Y = {
8478
+ }, L), z = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, Q = {
8479
8479
  x: 0,
8480
8480
  y: 0
8481
8481
  };
8482
8482
  if (_) {
8483
8483
  if (o) {
8484
- var U, wt = g === "y" ? ze : Ie, dt = g === "y" ? Qe : Ze, ft = g === "y" ? "height" : "width", pt = _[g], st = pt + v[wt], bt = pt - v[dt], jt = f ? -B[ft] / 2 : 0, mt = x === Un ? k[ft] : B[ft], qt = x === Un ? -B[ft] : -k[ft], xt = e.elements.arrow, Ut = f && xt ? Tc(xt) : {
8484
+ var U, Ct = g === "y" ? ze : Ie, dt = g === "y" ? Qe : Ze, ft = g === "y" ? "height" : "width", pt = _[g], st = pt + v[Ct], bt = pt - v[dt], jt = f ? -B[ft] / 2 : 0, mt = x === Un ? k[ft] : B[ft], qt = x === Un ? -B[ft] : -k[ft], xt = e.elements.arrow, Ut = f && xt ? Tc(xt) : {
8485
8485
  width: 0,
8486
8486
  height: 0
8487
- }, it = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : s0(), Pt = it[wt], Dt = it[dt], Vt = zr(0, k[ft], Ut[ft]), Nt = b ? k[ft] / 2 - jt - Vt - Pt - $.mainAxis : mt - Vt - Pt - $.mainAxis, K = b ? -k[ft] / 2 + jt + Vt + Dt + $.mainAxis : qt + Vt + Dt + $.mainAxis, at = e.elements.arrow && po(e.elements.arrow), lt = at ? g === "y" ? at.clientTop || 0 : at.clientLeft || 0 : 0, Lt = (U = D == null ? void 0 : D[g]) != null ? U : 0, re = pt + Nt - Lt - lt, Ce = pt + K - Lt, Re = zr(f ? fs(st, re) : st, pt, f ? xn(bt, Ce) : bt);
8488
- _[g] = Re, Y[g] = Re - pt;
8487
+ }, it = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : s0(), Pt = it[Ct], Dt = it[dt], Vt = zr(0, k[ft], Ut[ft]), Nt = b ? k[ft] / 2 - jt - Vt - Pt - j.mainAxis : mt - Vt - Pt - j.mainAxis, Y = b ? -k[ft] / 2 + jt + Vt + Dt + j.mainAxis : qt + Vt + Dt + j.mainAxis, at = e.elements.arrow && po(e.elements.arrow), lt = at ? g === "y" ? at.clientTop || 0 : at.clientLeft || 0 : 0, Lt = (U = z == null ? void 0 : z[g]) != null ? U : 0, re = pt + Nt - Lt - lt, Ce = pt + Y - Lt, Re = zr(f ? fs(st, re) : st, pt, f ? xn(bt, Ce) : bt);
8488
+ _[g] = Re, Q[g] = Re - pt;
8489
8489
  }
8490
8490
  if (a) {
8491
- var oe, ce = g === "x" ? ze : Ie, Ee = g === "x" ? Qe : Ze, ue = _[w], S = w === "y" ? "height" : "width", M = ue + v[ce], H = ue - v[Ee], R = [ze, Ie].indexOf(y) !== -1, z = (oe = D == null ? void 0 : D[w]) != null ? oe : 0, ct = R ? M : ue - k[S] - B[S] - z + $.altAxis, zt = R ? ue + k[S] + B[S] - z - $.altAxis : H, $t = f && R ? q5(ct, ue, zt) : zr(f ? ct : M, ue, f ? zt : H);
8492
- _[w] = $t, Y[w] = $t - ue;
8491
+ var oe, ce = g === "x" ? ze : Ie, Ee = g === "x" ? Qe : Ze, ue = _[w], S = w === "y" ? "height" : "width", M = ue + v[ce], H = ue - v[Ee], R = [ze, Ie].indexOf(y) !== -1, D = (oe = z == null ? void 0 : z[w]) != null ? oe : 0, ct = R ? M : ue - k[S] - B[S] - D + j.altAxis, zt = R ? ue + k[S] + B[S] - D - j.altAxis : H, $t = f && R ? q5(ct, ue, zt) : zr(f ? ct : M, ue, f ? zt : H);
8492
+ _[w] = $t, Q[w] = $t - ue;
8493
8493
  }
8494
- e.modifiersData[n] = Y;
8494
+ e.modifiersData[n] = Q;
8495
8495
  }
8496
8496
  }
8497
8497
  const _8 = {
@@ -8633,8 +8633,8 @@ function M8(t) {
8633
8633
  u.rects = {
8634
8634
  reference: k8(x, po(b), u.options.strategy === "fixed"),
8635
8635
  popper: Tc(b)
8636
- }, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function($) {
8637
- return u.modifiersData[$.name] = Object.assign({}, $.data);
8636
+ }, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(j) {
8637
+ return u.modifiersData[j.name] = Object.assign({}, j.data);
8638
8638
  });
8639
8639
  for (var g = 0; g < u.orderedModifiers.length; g++) {
8640
8640
  if (u.reset === !0) {
@@ -9008,10 +9008,10 @@ function nb(t, e) {
9008
9008
  setProps: zt,
9009
9009
  setContent: $t,
9010
9010
  show: he,
9011
- hide: Ct,
9011
+ hide: _t,
9012
9012
  hideWithInteractivity: St,
9013
9013
  enable: R,
9014
- disable: z,
9014
+ disable: D,
9015
9015
  unmount: Mt,
9016
9016
  destroy: ee
9017
9017
  };
@@ -9025,23 +9025,23 @@ function nb(t, e) {
9025
9025
  return at(), jt(), pt(), st("onCreate", [g]), i.showOnCreate && M(), _.addEventListener("mouseenter", function() {
9026
9026
  g.props.interactive && g.state.isVisible && g.clearDelayTimeouts();
9027
9027
  }), _.addEventListener("mouseleave", function() {
9028
- g.props.interactive && g.props.trigger.indexOf("mouseenter") >= 0 && wt().addEventListener("mousemove", m);
9028
+ g.props.interactive && g.props.trigger.indexOf("mouseenter") >= 0 && Ct().addEventListener("mousemove", m);
9029
9029
  }), g;
9030
- function $() {
9030
+ function j() {
9031
9031
  var A = g.props.touch;
9032
9032
  return Array.isArray(A) ? A : [A, 0];
9033
9033
  }
9034
- function D() {
9035
- return $()[0] === "hold";
9034
+ function z() {
9035
+ return j()[0] === "hold";
9036
9036
  }
9037
- function Y() {
9037
+ function Q() {
9038
9038
  var A;
9039
9039
  return !!((A = g.props.render) != null && A.$$tippy);
9040
9040
  }
9041
9041
  function U() {
9042
9042
  return p || t;
9043
9043
  }
9044
- function wt() {
9044
+ function Ct() {
9045
9045
  var A = U().parentNode;
9046
9046
  return A ? $8(A) : document;
9047
9047
  }
@@ -9054,25 +9054,25 @@ function nb(t, e) {
9054
9054
  function pt(A) {
9055
9055
  A === void 0 && (A = !1), _.style.pointerEvents = g.props.interactive && !A ? "" : "none", _.style.zIndex = "" + g.props.zIndex;
9056
9056
  }
9057
- function st(A, j, G) {
9057
+ function st(A, $, G) {
9058
9058
  if (G === void 0 && (G = !0), B.forEach(function(ut) {
9059
- ut[A] && ut[A].apply(ut, j);
9059
+ ut[A] && ut[A].apply(ut, $);
9060
9060
  }), G) {
9061
9061
  var gt;
9062
- (gt = g.props)[A].apply(gt, j);
9062
+ (gt = g.props)[A].apply(gt, $);
9063
9063
  }
9064
9064
  }
9065
9065
  function bt() {
9066
9066
  var A = g.props.aria;
9067
9067
  if (A.content) {
9068
- var j = "aria-" + A.content, G = _.id, gt = Pn(g.props.triggerTarget || t);
9068
+ var $ = "aria-" + A.content, G = _.id, gt = Pn(g.props.triggerTarget || t);
9069
9069
  gt.forEach(function(ut) {
9070
- var Gt = ut.getAttribute(j);
9070
+ var Gt = ut.getAttribute($);
9071
9071
  if (g.state.isVisible)
9072
- ut.setAttribute(j, Gt ? Gt + " " + G : G);
9072
+ ut.setAttribute($, Gt ? Gt + " " + G : G);
9073
9073
  else {
9074
9074
  var Qt = Gt && Gt.replace(G, "").trim();
9075
- Qt ? ut.setAttribute(j, Qt) : ut.removeAttribute(j);
9075
+ Qt ? ut.setAttribute($, Qt) : ut.removeAttribute($);
9076
9076
  }
9077
9077
  });
9078
9078
  }
@@ -9080,22 +9080,22 @@ function nb(t, e) {
9080
9080
  function jt() {
9081
9081
  if (!(L || !g.props.aria.expanded)) {
9082
9082
  var A = Pn(g.props.triggerTarget || t);
9083
- A.forEach(function(j) {
9084
- g.props.interactive ? j.setAttribute("aria-expanded", g.state.isVisible && j === U() ? "true" : "false") : j.removeAttribute("aria-expanded");
9083
+ A.forEach(function($) {
9084
+ g.props.interactive ? $.setAttribute("aria-expanded", g.state.isVisible && $ === U() ? "true" : "false") : $.removeAttribute("aria-expanded");
9085
9085
  });
9086
9086
  }
9087
9087
  }
9088
9088
  function mt() {
9089
- wt().removeEventListener("mousemove", m), Lo = Lo.filter(function(A) {
9089
+ Ct().removeEventListener("mousemove", m), Lo = Lo.filter(function(A) {
9090
9090
  return A !== m;
9091
9091
  });
9092
9092
  }
9093
9093
  function qt(A) {
9094
9094
  if (!(hi.isTouch && (l || A.type === "mousedown"))) {
9095
- var j = A.composedPath && A.composedPath()[0] || A.target;
9096
- if (!(g.props.interactive && Vd(_, j))) {
9095
+ var $ = A.composedPath && A.composedPath()[0] || A.target;
9096
+ if (!(g.props.interactive && Vd(_, $))) {
9097
9097
  if (Pn(g.props.triggerTarget || t).some(function(G) {
9098
- return Vd(G, j);
9098
+ return Vd(G, $);
9099
9099
  })) {
9100
9100
  if (hi.isTouch || g.state.isVisible && g.props.trigger.indexOf("click") >= 0)
9101
9101
  return;
@@ -9114,79 +9114,79 @@ function nb(t, e) {
9114
9114
  l = !1;
9115
9115
  }
9116
9116
  function it() {
9117
- var A = wt();
9117
+ var A = Ct();
9118
9118
  A.addEventListener("mousedown", qt, !0), A.addEventListener("touchend", qt, dn), A.addEventListener("touchstart", Ut, dn), A.addEventListener("touchmove", xt, dn);
9119
9119
  }
9120
9120
  function Pt() {
9121
- var A = wt();
9121
+ var A = Ct();
9122
9122
  A.removeEventListener("mousedown", qt, !0), A.removeEventListener("touchend", qt, dn), A.removeEventListener("touchstart", Ut, dn), A.removeEventListener("touchmove", xt, dn);
9123
9123
  }
9124
- function Dt(A, j) {
9124
+ function Dt(A, $) {
9125
9125
  Nt(A, function() {
9126
- !g.state.isVisible && _.parentNode && _.parentNode.contains(_) && j();
9126
+ !g.state.isVisible && _.parentNode && _.parentNode.contains(_) && $();
9127
9127
  });
9128
9128
  }
9129
- function Vt(A, j) {
9130
- Nt(A, j);
9129
+ function Vt(A, $) {
9130
+ Nt(A, $);
9131
9131
  }
9132
- function Nt(A, j) {
9132
+ function Nt(A, $) {
9133
9133
  var G = dt().box;
9134
9134
  function gt(ut) {
9135
- ut.target === G && (Oa(G, "remove", gt), j());
9135
+ ut.target === G && (Oa(G, "remove", gt), $());
9136
9136
  }
9137
9137
  if (A === 0)
9138
- return j();
9138
+ return $();
9139
9139
  Oa(G, "remove", d), Oa(G, "add", gt), d = gt;
9140
9140
  }
9141
- function K(A, j, G) {
9141
+ function Y(A, $, G) {
9142
9142
  G === void 0 && (G = !1);
9143
9143
  var gt = Pn(g.props.triggerTarget || t);
9144
9144
  gt.forEach(function(ut) {
9145
- ut.addEventListener(A, j, G), f.push({
9145
+ ut.addEventListener(A, $, G), f.push({
9146
9146
  node: ut,
9147
9147
  eventType: A,
9148
- handler: j,
9148
+ handler: $,
9149
9149
  options: G
9150
9150
  });
9151
9151
  });
9152
9152
  }
9153
9153
  function at() {
9154
- D() && (K("touchstart", Lt, {
9154
+ z() && (Y("touchstart", Lt, {
9155
9155
  passive: !0
9156
- }), K("touchend", Ce, {
9156
+ }), Y("touchend", Ce, {
9157
9157
  passive: !0
9158
9158
  })), z8(g.props.trigger).forEach(function(A) {
9159
9159
  if (A !== "manual")
9160
- switch (K(A, Lt), A) {
9160
+ switch (Y(A, Lt), A) {
9161
9161
  case "mouseenter":
9162
- K("mouseleave", Ce);
9162
+ Y("mouseleave", Ce);
9163
9163
  break;
9164
9164
  case "focus":
9165
- K(K8 ? "focusout" : "blur", Re);
9165
+ Y(K8 ? "focusout" : "blur", Re);
9166
9166
  break;
9167
9167
  case "focusin":
9168
- K("focusout", Re);
9168
+ Y("focusout", Re);
9169
9169
  break;
9170
9170
  }
9171
9171
  });
9172
9172
  }
9173
9173
  function lt() {
9174
9174
  f.forEach(function(A) {
9175
- var j = A.node, G = A.eventType, gt = A.handler, ut = A.options;
9176
- j.removeEventListener(G, gt, ut);
9175
+ var $ = A.node, G = A.eventType, gt = A.handler, ut = A.options;
9176
+ $.removeEventListener(G, gt, ut);
9177
9177
  }), f = [];
9178
9178
  }
9179
9179
  function Lt(A) {
9180
- var j, G = !1;
9180
+ var $, G = !1;
9181
9181
  if (!(!g.state.isEnabled || oe(A) || a)) {
9182
- var gt = ((j = u) == null ? void 0 : j.type) === "focus";
9182
+ var gt = (($ = u) == null ? void 0 : $.type) === "focus";
9183
9183
  u = A, p = A.currentTarget, jt(), !g.state.isVisible && N8(A) && Lo.forEach(function(ut) {
9184
9184
  return ut(A);
9185
9185
  }), A.type === "click" && (g.props.trigger.indexOf("mouseenter") < 0 || s) && g.props.hideOnClick !== !1 && g.state.isVisible ? G = !0 : M(A), A.type === "click" && (s = !G), G && !gt && H(A);
9186
9186
  }
9187
9187
  }
9188
9188
  function re(A) {
9189
- var j = A.target, G = U().contains(j) || _.contains(j);
9189
+ var $ = A.target, G = U().contains($) || _.contains($);
9190
9190
  if (!(A.type === "mousemove" && G)) {
9191
9191
  var gt = S().concat(_).map(function(ut) {
9192
9192
  var Gt, Qt = ut._tippy, Ve = (Gt = Qt.popperInstance) == null ? void 0 : Gt.state;
@@ -9200,8 +9200,8 @@ function nb(t, e) {
9200
9200
  }
9201
9201
  }
9202
9202
  function Ce(A) {
9203
- var j = oe(A) || g.props.trigger.indexOf("click") >= 0 && s;
9204
- if (!j) {
9203
+ var $ = oe(A) || g.props.trigger.indexOf("click") >= 0 && s;
9204
+ if (!$) {
9205
9205
  if (g.props.interactive) {
9206
9206
  g.hideWithInteractivity(A);
9207
9207
  return;
@@ -9213,11 +9213,11 @@ function nb(t, e) {
9213
9213
  g.props.trigger.indexOf("focusin") < 0 && A.target !== U() || g.props.interactive && A.relatedTarget && _.contains(A.relatedTarget) || H(A);
9214
9214
  }
9215
9215
  function oe(A) {
9216
- return hi.isTouch ? D() !== A.type.indexOf("touch") >= 0 : !1;
9216
+ return hi.isTouch ? z() !== A.type.indexOf("touch") >= 0 : !1;
9217
9217
  }
9218
9218
  function ce() {
9219
9219
  Ee();
9220
- var A = g.props, j = A.popperOptions, G = A.placement, gt = A.offset, ut = A.getReferenceClientRect, Gt = A.moveTransition, Qt = Y() ? wl(_).arrow : null, Ve = ut ? {
9220
+ var A = g.props, $ = A.popperOptions, G = A.placement, gt = A.offset, ut = A.getReferenceClientRect, Gt = A.moveTransition, Qt = Q() ? wl(_).arrow : null, Ve = ut ? {
9221
9221
  getBoundingClientRect: ut,
9222
9222
  contextElement: ut.contextElement || U()
9223
9223
  } : t, li = {
@@ -9227,7 +9227,7 @@ function nb(t, e) {
9227
9227
  requires: ["computeStyles"],
9228
9228
  fn: function(Ft) {
9229
9229
  var de = Ft.state;
9230
- if (Y()) {
9230
+ if (Q()) {
9231
9231
  var Ui = dt(), Gi = Ui.box;
9232
9232
  ["placement", "reference-hidden", "escaped"].forEach(function(ii) {
9233
9233
  ii === "placement" ? Gi.setAttribute("data-placement", de.placement) : de.attributes.popper["data-popper-" + ii] ? Gi.setAttribute("data-" + ii, "") : Gi.removeAttribute("data-" + ii);
@@ -9260,13 +9260,13 @@ function nb(t, e) {
9260
9260
  adaptive: !Gt
9261
9261
  }
9262
9262
  }, li];
9263
- Y() && Qt && ei.push({
9263
+ Q() && Qt && ei.push({
9264
9264
  name: "arrow",
9265
9265
  options: {
9266
9266
  element: Qt,
9267
9267
  padding: 3
9268
9268
  }
9269
- }), ei.push.apply(ei, (j == null ? void 0 : j.modifiers) || []), g.popperInstance = O8(Ve, _, Object.assign({}, j, {
9269
+ }), ei.push.apply(ei, ($ == null ? void 0 : $.modifiers) || []), g.popperInstance = O8(Ve, _, Object.assign({}, $, {
9270
9270
  placement: G,
9271
9271
  onFirstUpdate: h,
9272
9272
  modifiers: ei
@@ -9276,18 +9276,18 @@ function nb(t, e) {
9276
9276
  g.popperInstance && (g.popperInstance.destroy(), g.popperInstance = null);
9277
9277
  }
9278
9278
  function ue() {
9279
- var A = g.props.appendTo, j, G = U();
9280
- g.props.interactive && A === p0 || A === "parent" ? j = G.parentNode : j = m0(A, [G]), j.contains(_) || j.appendChild(_), g.state.isMounted = !0, ce();
9279
+ var A = g.props.appendTo, $, G = U();
9280
+ g.props.interactive && A === p0 || A === "parent" ? $ = G.parentNode : $ = m0(A, [G]), $.contains(_) || $.appendChild(_), g.state.isMounted = !0, ce();
9281
9281
  }
9282
9282
  function S() {
9283
9283
  return ps(_.querySelectorAll("[data-tippy-root]"));
9284
9284
  }
9285
9285
  function M(A) {
9286
9286
  g.clearDelayTimeouts(), A && st("onTrigger", [g, A]), it();
9287
- var j = ft(!0), G = $(), gt = G[0], ut = G[1];
9288
- hi.isTouch && gt === "hold" && ut && (j = ut), j ? n = setTimeout(function() {
9287
+ var $ = ft(!0), G = j(), gt = G[0], ut = G[1];
9288
+ hi.isTouch && gt === "hold" && ut && ($ = ut), $ ? n = setTimeout(function() {
9289
9289
  g.show();
9290
- }, j) : g.show();
9290
+ }, $) : g.show();
9291
9291
  }
9292
9292
  function H(A) {
9293
9293
  if (g.clearDelayTimeouts(), st("onUntrigger", [g, A]), !g.state.isVisible) {
@@ -9295,10 +9295,10 @@ function nb(t, e) {
9295
9295
  return;
9296
9296
  }
9297
9297
  if (!(g.props.trigger.indexOf("mouseenter") >= 0 && g.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(A.type) >= 0 && s)) {
9298
- var j = ft(!1);
9299
- j ? r = setTimeout(function() {
9298
+ var $ = ft(!1);
9299
+ $ ? r = setTimeout(function() {
9300
9300
  g.state.isVisible && g.hide();
9301
- }, j) : o = requestAnimationFrame(function() {
9301
+ }, $) : o = requestAnimationFrame(function() {
9302
9302
  g.hide();
9303
9303
  });
9304
9304
  }
@@ -9306,7 +9306,7 @@ function nb(t, e) {
9306
9306
  function R() {
9307
9307
  g.state.isEnabled = !0;
9308
9308
  }
9309
- function z() {
9309
+ function D() {
9310
9310
  g.hide(), g.state.isEnabled = !1;
9311
9311
  }
9312
9312
  function ct() {
@@ -9315,12 +9315,12 @@ function nb(t, e) {
9315
9315
  function zt(A) {
9316
9316
  if (!g.state.isDestroyed) {
9317
9317
  st("onBeforeUpdate", [g, A]), lt();
9318
- var j = g.props, G = Hd(t, Object.assign({}, j, Id(A), {
9318
+ var $ = g.props, G = Hd(t, Object.assign({}, $, Id(A), {
9319
9319
  ignoreAttributes: !0
9320
9320
  }));
9321
- g.props = G, at(), j.interactiveDebounce !== G.interactiveDebounce && (mt(), m = Dd(re, G.interactiveDebounce)), j.triggerTarget && !G.triggerTarget ? Pn(j.triggerTarget).forEach(function(gt) {
9321
+ g.props = G, at(), $.interactiveDebounce !== G.interactiveDebounce && (mt(), m = Dd(re, G.interactiveDebounce)), $.triggerTarget && !G.triggerTarget ? Pn($.triggerTarget).forEach(function(gt) {
9322
9322
  gt.removeAttribute("aria-expanded");
9323
- }) : G.triggerTarget && t.removeAttribute("aria-expanded"), jt(), pt(), k && k(j, G), g.popperInstance && (ce(), S().forEach(function(gt) {
9323
+ }) : G.triggerTarget && t.removeAttribute("aria-expanded"), jt(), pt(), k && k($, G), g.popperInstance && (ce(), S().forEach(function(gt) {
9324
9324
  requestAnimationFrame(gt._tippy.popperInstance.forceUpdate);
9325
9325
  })), st("onAfterUpdate", [g, A]);
9326
9326
  }
@@ -9331,38 +9331,38 @@ function nb(t, e) {
9331
9331
  });
9332
9332
  }
9333
9333
  function he() {
9334
- var A = g.state.isVisible, j = g.state.isDestroyed, G = !g.state.isEnabled, gt = hi.isTouch && !g.props.touch, ut = Ma(g.props.duration, 0, oi.duration);
9335
- if (!(A || j || G || gt) && !U().hasAttribute("disabled") && (st("onShow", [g], !1), g.props.onShow(g) !== !1)) {
9336
- if (g.state.isVisible = !0, Y() && (_.style.visibility = "visible"), pt(), it(), g.state.isMounted || (_.style.transition = "none"), Y()) {
9334
+ var A = g.state.isVisible, $ = g.state.isDestroyed, G = !g.state.isEnabled, gt = hi.isTouch && !g.props.touch, ut = Ma(g.props.duration, 0, oi.duration);
9335
+ if (!(A || $ || G || gt) && !U().hasAttribute("disabled") && (st("onShow", [g], !1), g.props.onShow(g) !== !1)) {
9336
+ if (g.state.isVisible = !0, Q() && (_.style.visibility = "visible"), pt(), it(), g.state.isMounted || (_.style.transition = "none"), Q()) {
9337
9337
  var Gt = dt(), Qt = Gt.box, Ve = Gt.content;
9338
9338
  Fa([Qt, Ve], 0);
9339
9339
  }
9340
9340
  h = function() {
9341
9341
  var ei;
9342
9342
  if (!(!g.state.isVisible || c)) {
9343
- if (c = !0, _.offsetHeight, _.style.transition = g.props.moveTransition, Y() && g.props.animation) {
9343
+ if (c = !0, _.offsetHeight, _.style.transition = g.props.moveTransition, Q() && g.props.animation) {
9344
9344
  var qi = dt(), Ft = qi.box, de = qi.content;
9345
9345
  Fa([Ft, de], ut), Rd([Ft, de], "visible");
9346
9346
  }
9347
- bt(), jt(), zd(Pa, g), (ei = g.popperInstance) == null || ei.forceUpdate(), st("onMount", [g]), g.props.animation && Y() && Vt(ut, function() {
9347
+ bt(), jt(), zd(Pa, g), (ei = g.popperInstance) == null || ei.forceUpdate(), st("onMount", [g]), g.props.animation && Q() && Vt(ut, function() {
9348
9348
  g.state.isShown = !0, st("onShown", [g]);
9349
9349
  });
9350
9350
  }
9351
9351
  }, ue();
9352
9352
  }
9353
9353
  }
9354
- function Ct() {
9355
- var A = !g.state.isVisible, j = g.state.isDestroyed, G = !g.state.isEnabled, gt = Ma(g.props.duration, 1, oi.duration);
9356
- if (!(A || j || G) && (st("onHide", [g], !1), g.props.onHide(g) !== !1)) {
9357
- if (g.state.isVisible = !1, g.state.isShown = !1, c = !1, s = !1, Y() && (_.style.visibility = "hidden"), mt(), Pt(), pt(!0), Y()) {
9354
+ function _t() {
9355
+ var A = !g.state.isVisible, $ = g.state.isDestroyed, G = !g.state.isEnabled, gt = Ma(g.props.duration, 1, oi.duration);
9356
+ if (!(A || $ || G) && (st("onHide", [g], !1), g.props.onHide(g) !== !1)) {
9357
+ if (g.state.isVisible = !1, g.state.isShown = !1, c = !1, s = !1, Q() && (_.style.visibility = "hidden"), mt(), Pt(), pt(!0), Q()) {
9358
9358
  var ut = dt(), Gt = ut.box, Qt = ut.content;
9359
9359
  g.props.animation && (Fa([Gt, Qt], gt), Rd([Gt, Qt], "hidden"));
9360
9360
  }
9361
- bt(), jt(), g.props.animation ? Y() && Dt(gt, g.unmount) : g.unmount();
9361
+ bt(), jt(), g.props.animation ? Q() && Dt(gt, g.unmount) : g.unmount();
9362
9362
  }
9363
9363
  }
9364
9364
  function St(A) {
9365
- wt().addEventListener("mousemove", m), zd(Lo, m), m(A);
9365
+ Ct().addEventListener("mousemove", m), zd(Lo, m), m(A);
9366
9366
  }
9367
9367
  function Mt() {
9368
9368
  g.state.isVisible && g.hide(), g.state.isMounted && (Ee(), S().forEach(function(A) {
@@ -9635,25 +9635,25 @@ function hb() {
9635
9635
  }, c = (b) => {
9636
9636
  const g = { ...b, isEdit: !1 };
9637
9637
  return t.value.unshift(g), g;
9638
- }, u = async () => {
9639
- const b = sb(), g = /^Chat-(\d+)$/;
9640
- let w = 0;
9641
- t.value.forEach((D) => {
9642
- if (g.test(D.sessionName)) {
9643
- const Y = D.sessionName.match(g);
9644
- if (Y && Y[1]) {
9645
- const U = parseInt(Y[1], 10);
9646
- !isNaN(U) && U > w && (w = U);
9638
+ }, u = async (b) => {
9639
+ const g = b || sb(), w = /^Chat-(\d+)$/;
9640
+ let _ = 0;
9641
+ t.value.forEach((Q) => {
9642
+ if (w.test(Q.sessionName)) {
9643
+ const U = Q.sessionName.match(w);
9644
+ if (U && U[1]) {
9645
+ const Ct = parseInt(U[1], 10);
9646
+ !isNaN(Ct) && Ct > _ && (_ = Ct);
9647
9647
  }
9648
9648
  }
9649
9649
  });
9650
- const k = `Chat-${w + 1}`, B = {
9651
- sessionCode: b,
9652
- sessionName: k,
9650
+ const B = `Chat-${_ + 1}`, L = {
9651
+ sessionCode: g,
9652
+ sessionName: B,
9653
9653
  createdAt: (/* @__PURE__ */ new Date()).toISOString(),
9654
9654
  updatedAt: (/* @__PURE__ */ new Date()).toISOString()
9655
- }, L = c(B);
9656
- return await s("plusSessionApi")(L), await a(L), L;
9655
+ }, j = c(L);
9656
+ return await s("plusSessionApi")(j), await a(j), j;
9657
9657
  }, d = (b) => {
9658
9658
  const g = t.value.find((w) => w.sessionCode === b);
9659
9659
  g && (r.value[b] = { ...g }, f(b, { isEdit: !0 }, { syncBackend: !1 }));
@@ -9668,18 +9668,18 @@ function hb() {
9668
9668
  );
9669
9669
  return delete r.value[b], k;
9670
9670
  }, f = async (b, g, w = {}) => {
9671
- const { syncBackend: _ = !0, forceSync: k = !1 } = w, B = t.value.findIndex((D) => D.sessionCode === b);
9671
+ const { syncBackend: _ = !0, forceSync: k = !1 } = w, B = t.value.findIndex((z) => z.sessionCode === b);
9672
9672
  if (B === -1)
9673
9673
  return null;
9674
- const L = t.value[B], $ = { ...L, ...g };
9675
- if (t.value[B] = $, t.value = [...t.value], e.value && e.value.sessionCode === b && (e.value = { ...e.value, ...g }), _ && !g.isEdit || k)
9674
+ const L = t.value[B], j = { ...L, ...g };
9675
+ if (t.value[B] = j, t.value = [...t.value], e.value && e.value.sessionCode === b && (e.value = { ...e.value, ...g }), _ && !g.isEdit || k)
9676
9676
  try {
9677
- const D = s("modifySessionApi"), Y = { ...$, isEdit: !1 };
9678
- await D(Y);
9679
- } catch (D) {
9680
- console.error("Failed to sync session to backend:", D), t.value[B] = L, t.value = [...t.value], e.value && e.value.sessionCode === b && (e.value = L);
9677
+ const z = s("modifySessionApi"), Q = { ...j, isEdit: !1 };
9678
+ await z(Q);
9679
+ } catch (z) {
9680
+ console.error("Failed to sync session to backend:", z), t.value[B] = L, t.value = [...t.value], e.value && e.value.sessionCode === b && (e.value = L);
9681
9681
  }
9682
- return $;
9682
+ return j;
9683
9683
  }, m = async (b) => {
9684
9684
  var k;
9685
9685
  await s("deleteSessionApi")(b);
@@ -9690,9 +9690,9 @@ function hb() {
9690
9690
  if (t.value.splice(w, 1), _) {
9691
9691
  if (t.value.length > 0) {
9692
9692
  const B = (/* @__PURE__ */ new Date()).toDateString(), L = t.value.filter(
9693
- (D) => new Date(D.createdAt || "").toDateString() === B
9694
- ), $ = L.length > 0 ? L[0] : t.value[0];
9695
- return await a($), $;
9693
+ (z) => new Date(z.createdAt || "").toDateString() === B
9694
+ ), j = L.length > 0 ? L[0] : t.value[0];
9695
+ return await a(j), j;
9696
9696
  }
9697
9697
  return await y(!1), null;
9698
9698
  }
@@ -9708,26 +9708,26 @@ function hb() {
9708
9708
  }, v = (b) => {
9709
9709
  n = b;
9710
9710
  }, y = async (b = !0) => {
9711
- var B, L, $, D;
9711
+ var B, L, j, z;
9712
9712
  const w = await s("getSessionsApi")();
9713
9713
  l(w);
9714
9714
  let _ = null, k = [];
9715
9715
  if (w.length > 0) {
9716
- const Y = w.sort(
9716
+ const Q = w.sort(
9717
9717
  (dt, ft) => new Date(ft.createdAt || "").getTime() - new Date(dt.createdAt || "").getTime()
9718
9718
  )[0];
9719
- k = await s("getSessionContentsApi")(Y.sessionCode), k.filter((dt) => !Lc.includes(dt.role)).some((dt) => dt.content && dt.content.trim() !== "") || (_ = { ...Y, isEdit: !1 });
9719
+ k = await s("getSessionContentsApi")(Q.sessionCode), k.filter((dt) => !Lc.includes(dt.role)).some((dt) => dt.content && dt.content.trim() !== "") || (_ = { ...Q, isEdit: !1 });
9720
9720
  }
9721
9721
  if (_ ? (s("setSessionContents")(k), a(_)) : _ = await u(), !o.value || b) {
9722
- const Y = s("getAgentInfoApi"), { conversationSettings: U, promptSetting: wt, agentName: dt } = await Y();
9722
+ const Q = s("getAgentInfoApi"), { conversationSettings: U, promptSetting: Ct, agentName: dt } = await Q();
9723
9723
  Object.assign(o.value, {
9724
9724
  conversationSettings: U,
9725
- promptSetting: wt,
9725
+ promptSetting: Ct,
9726
9726
  agentName: dt
9727
9727
  });
9728
9728
  }
9729
- return ($ = (L = (B = o.value) == null ? void 0 : B.promptSetting) == null ? void 0 : L.content) != null && $.length && await s("handleCompleteRole")(_.sessionCode, o.value.promptSetting.content), {
9730
- conversationSettings: (D = o.value) == null ? void 0 : D.conversationSettings
9729
+ return (j = (L = (B = o.value) == null ? void 0 : B.promptSetting) == null ? void 0 : L.content) != null && j.length && await s("handleCompleteRole")(_.sessionCode, o.value.promptSetting.content), {
9730
+ conversationSettings: (z = o.value) == null ? void 0 : z.conversationSettings
9731
9731
  };
9732
9732
  };
9733
9733
  return {
@@ -9823,7 +9823,7 @@ const pb = { class: "bkai-history-panel" }, mb = { class: "history-panel-header"
9823
9823
  },
9824
9824
  emits: ["close"],
9825
9825
  setup(t, { emit: e }) {
9826
- const i = t, n = e, r = O(""), o = i.sessionStore, s = O({}), a = _t(() => {
9826
+ const i = t, n = e, r = O(""), o = i.sessionStore, s = O({}), a = wt(() => {
9827
9827
  const m = {
9828
9828
  today: { key: "today", alias: ot("今天"), sessionList: [] },
9829
9829
  yesterday: { key: "yesterday", alias: ot("昨天"), sessionList: [] },
@@ -10028,10 +10028,10 @@ const pb = { class: "bkai-history-panel" }, mb = { class: "history-panel-header"
10028
10028
  offset: [0, 8],
10029
10029
  appendTo: () => document.querySelector(".ai-blueking-container-wrapper") || document.body
10030
10030
  }
10031
- }), l = _t(() => {
10031
+ }), l = wt(() => {
10032
10032
  var x, b;
10033
10033
  return i.title || `${((x = o.agentInfo.value) == null ? void 0 : x.agentName) || ""}-${(b = o.currentSession.value) == null ? void 0 : b.sessionName}`;
10034
- }), c = _t(() => i.isCompressionHeight ? "bkai-morenchicun" : "bkai-yasuo"), u = _t(() => i.isCompressionHeight ? ot("恢复默认尺寸") : ot("缩小高度")), d = O(null), h = O(null), f = O(null), { createTooltip: m, destroyAll: p } = mo({
10034
+ }), c = wt(() => i.isCompressionHeight ? "bkai-morenchicun" : "bkai-yasuo"), u = wt(() => i.isCompressionHeight ? ot("恢复默认尺寸") : ot("缩小高度")), d = O(null), h = O(null), f = O(null), { createTooltip: m, destroyAll: p } = mo({
10035
10035
  arrow: !0,
10036
10036
  delay: [0, 0]
10037
10037
  }), v = () => {
@@ -10311,9 +10311,9 @@ function go(t) {
10311
10311
  const w = window.innerWidth, { width: _, height: k, offset: B } = za;
10312
10312
  let L = b + window.scrollX - _ / 2;
10313
10313
  L = Math.max(B, Math.min(L, w - _ - B));
10314
- let $ = g + window.scrollY - k - B;
10315
- return g <= k + B && ($ = g + window.scrollY + B), {
10316
- top: `${$}px`,
10314
+ let j = g + window.scrollY - k - B;
10315
+ return g <= k + B && (j = g + window.scrollY + B), {
10316
+ top: `${j}px`,
10317
10317
  left: `${L}px`
10318
10318
  };
10319
10319
  }, d = (b) => {
@@ -10358,8 +10358,8 @@ function go(t) {
10358
10358
  m();
10359
10359
  return;
10360
10360
  }
10361
- const { clientX: L, clientY: $ } = r;
10362
- i.value = u(L, $), e.value = !0, r = null;
10361
+ const { clientX: L, clientY: j } = r;
10362
+ i.value = u(L, j), e.value = !0, r = null;
10363
10363
  } else {
10364
10364
  const L = g.getBoundingClientRect();
10365
10365
  if (!L.width || !L.height) {
@@ -10508,7 +10508,7 @@ const Vb = { class: "ai-selected-box" }, Nb = { class: "ai-selected-tip" }, Hb =
10508
10508
  },
10509
10509
  emits: ["select", "height-change", "update:show"],
10510
10510
  setup(t, { expose: e, emit: i }) {
10511
- const n = t, r = i, o = O(""), s = O(null), a = O(null), l = _t(() => o.value.trim() ? n.prompts.filter(
10511
+ const n = t, r = i, o = O(""), s = O(null), a = O(null), l = wt(() => o.value.trim() ? n.prompts.filter(
10512
10512
  (p) => p.toLowerCase().includes(o.value.toLowerCase())
10513
10513
  ) : n.prompts);
10514
10514
  le(
@@ -10652,12 +10652,12 @@ const Vb = { class: "ai-selected-box" }, Nb = { class: "ai-selected-tip" }, Hb =
10652
10652
  },
10653
10653
  emits: ["send", "update:modelValue", "stop", "height-change", "shortcut-click"],
10654
10654
  setup(t, { expose: e, emit: i }) {
10655
- rr((K) => ({
10655
+ rr((Y) => ({
10656
10656
  "1a52772e": p.value
10657
10657
  }));
10658
- const n = i, { enablePopup: r } = Mc(), { selectedText: o, citeText: s, setCiteText: a, clearSelection: l, lockSelectedText: c } = go(r), u = t, d = O(), h = O(""), f = O(null), m = O(0), p = _t(() => -(m.value + 8) + "px"), v = O(!1), y = (K) => {
10659
- h.value = K, v.value = !1;
10660
- }, x = O(), b = O(), g = _t(() => u.loading ? "bkai-published-zhongzhi" : "bkai-fasong"), w = _t(() => u.loading ? ot("停止") : ot("发送")), _ = _t(() => !u.loading && !h.value.trim()), { createTooltip: k } = mo({
10658
+ const n = i, { enablePopup: r } = Mc(), { selectedText: o, citeText: s, setCiteText: a, clearSelection: l, lockSelectedText: c } = go(r), u = t, d = O(), h = O(""), f = O(null), m = O(0), p = wt(() => -(m.value + 8) + "px"), v = O(!1), y = (Y) => {
10659
+ h.value = Y, v.value = !1;
10660
+ }, x = O(), b = O(), g = wt(() => u.loading ? "bkai-published-zhongzhi" : "bkai-fasong"), w = wt(() => u.loading ? ot("停止") : ot("发送")), _ = wt(() => !u.loading && !h.value.trim()), { createTooltip: k } = mo({
10661
10661
  arrow: !0,
10662
10662
  delay: [0, 0]
10663
10663
  }), B = () => {
@@ -10665,17 +10665,17 @@ const Vb = { class: "ai-selected-box" }, Nb = { class: "ai-selected-tip" }, Hb =
10665
10665
  }, L = () => {
10666
10666
  x.value && (b.value = k(x.value, w.value, {
10667
10667
  appendTo: document.querySelector(".ai-blueking-container-wrapper")
10668
- })), $();
10669
- }, $ = () => {
10668
+ })), j();
10669
+ }, j = () => {
10670
10670
  b.value && (b.value.setContent(w.value), _.value ? b.value.disable() : b.value.enable());
10671
- }, { textareaHeight: D, updateHeight: Y, resetHeight: U, bindTextarea: wt } = Rb({
10671
+ }, { textareaHeight: z, updateHeight: Q, resetHeight: U, bindTextarea: Ct } = Rb({
10672
10672
  minHeight: 68,
10673
10673
  maxHeight: 248,
10674
10674
  defaultHeight: 68
10675
- }), dt = (K) => {
10676
- ft(K), h.value = "";
10677
- }, ft = (K) => {
10678
- n("shortcut-click", K), l();
10675
+ }), dt = (Y) => {
10676
+ ft(Y), h.value = "";
10677
+ }, ft = (Y) => {
10678
+ n("shortcut-click", Y), l();
10679
10679
  }, {
10680
10680
  isComposing: pt,
10681
10681
  handleCompositionStart: st,
@@ -10683,66 +10683,66 @@ const Vb = { class: "ai-selected-box" }, Nb = { class: "ai-selected-tip" }, Hb =
10683
10683
  handleSend: jt,
10684
10684
  handleStop: mt
10685
10685
  } = _0({
10686
- isLoading: _t(() => u.loading),
10686
+ isLoading: wt(() => u.loading),
10687
10687
  getInputValue: () => h.value,
10688
10688
  clearInput: () => {
10689
10689
  h.value = "", U();
10690
10690
  },
10691
- onSend: (K) => n("send", K),
10691
+ onSend: (Y) => n("send", Y),
10692
10692
  onStop: () => n("stop")
10693
10693
  });
10694
10694
  le(s, () => {
10695
- var K;
10696
- s.value.length > 0 && ((K = d.value) == null || K.focus());
10695
+ var Y;
10696
+ s.value.length > 0 && ((Y = d.value) == null || Y.focus());
10697
10697
  }), le(
10698
- () => D.value,
10699
- (K) => {
10700
- n("height-change", K);
10698
+ () => z.value,
10699
+ (Y) => {
10700
+ n("height-change", Y);
10701
10701
  }
10702
10702
  ), le([() => u.loading, () => h.value], () => {
10703
- $();
10703
+ j();
10704
10704
  });
10705
10705
  const qt = () => {
10706
- pt.value || Y(), (h.value.trim() || pt.value) && o.value && (o.value = ""), h.value.includes("/") && u.prompts.length > 0 ? v.value = !0 : v.value = !1, n("update:modelValue", h.value);
10706
+ pt.value || Q(), (h.value.trim() || pt.value) && o.value && (o.value = ""), h.value.includes("/") && u.prompts.length > 0 ? v.value = !0 : v.value = !1, n("update:modelValue", h.value);
10707
10707
  }, xt = () => {
10708
10708
  o.value && (c.value = !0);
10709
10709
  }, Ut = () => {
10710
10710
  h.value.trim() && jt();
10711
- }, it = (K) => {
10711
+ }, it = (Y) => {
10712
10712
  var at;
10713
10713
  if (v.value) {
10714
10714
  const lt = (at = f.value) == null ? void 0 : at.$el, Lt = d.value;
10715
- lt && !lt.contains(K.target) && Lt !== K.target && !(Lt != null && Lt.contains(K.target)) && (v.value = !1);
10715
+ lt && !lt.contains(Y.target) && Lt !== Y.target && !(Lt != null && Lt.contains(Y.target)) && (v.value = !1);
10716
10716
  }
10717
10717
  };
10718
10718
  Be(() => {
10719
- d.value && (wt(d.value), n("height-change", D.value)), L(), document.addEventListener("click", it);
10719
+ d.value && (Ct(d.value), n("height-change", z.value)), L(), document.addEventListener("click", it);
10720
10720
  }), Ae(() => {
10721
10721
  document.removeEventListener("click", it);
10722
10722
  }), e({
10723
10723
  focus: () => {
10724
- var K;
10725
- (K = d.value) == null || K.focus();
10724
+ var Y;
10725
+ (Y = d.value) == null || Y.focus();
10726
10726
  }
10727
10727
  });
10728
- const Dt = (K) => {
10729
- m.value = K;
10730
- }, Vt = (K) => {
10731
- if (v.value && ["ArrowDown", "ArrowUp", "Enter"].includes(K.key)) {
10728
+ const Dt = (Y) => {
10729
+ m.value = Y;
10730
+ }, Vt = (Y) => {
10731
+ if (v.value && ["ArrowDown", "ArrowUp", "Enter"].includes(Y.key)) {
10732
10732
  const at = f.value;
10733
10733
  if (!at) return;
10734
- K.key === "ArrowDown" ? (K.preventDefault(), at.handleArrowDown()) : K.key === "ArrowUp" ? (K.preventDefault(), at.handleArrowUp()) : K.key === "Enter" && at.handleEnter() && K.preventDefault();
10734
+ Y.key === "ArrowDown" ? (Y.preventDefault(), at.handleArrowDown()) : Y.key === "ArrowUp" ? (Y.preventDefault(), at.handleArrowUp()) : Y.key === "Enter" && at.handleEnter() && Y.preventDefault();
10735
10735
  return;
10736
10736
  }
10737
- if (K.key === "Enter" && !K.shiftKey) {
10738
- if (K.preventDefault(), pt.value)
10737
+ if (Y.key === "Enter" && !Y.shiftKey) {
10738
+ if (Y.preventDefault(), pt.value)
10739
10739
  return;
10740
10740
  Nt();
10741
10741
  }
10742
10742
  }, Nt = () => {
10743
10743
  !h.value.trim() || u.loading || u.disabled || Ut();
10744
10744
  };
10745
- return (K, at) => (V(), J("div", rx, [
10745
+ return (Y, at) => (V(), J("div", rx, [
10746
10746
  E(o).length > 0 ? (V(), Xt(Ub, {
10747
10747
  key: 0,
10748
10748
  style: { "margin-bottom": "10px" },
@@ -10754,7 +10754,7 @@ const Vb = { class: "ai-selected-box" }, Nb = { class: "ai-selected-tip" }, Hb =
10754
10754
  }, null, 8, ["actions", "selected-text"])) : (V(), Xt(nx, {
10755
10755
  key: 1,
10756
10756
  style: { "margin-bottom": "8px" },
10757
- shortcuts: K.shortcuts,
10757
+ shortcuts: Y.shortcuts,
10758
10758
  onShortcutClick: dt
10759
10759
  }, null, 8, ["shortcuts"])),
10760
10760
  N(
@@ -10784,7 +10784,7 @@ const Vb = { class: "ai-selected-box" }, Nb = { class: "ai-selected-tip" }, Hb =
10784
10784
  ref_key: "textareaRef",
10785
10785
  ref: d,
10786
10786
  "onUpdate:modelValue": at[3] || (at[3] = (lt) => h.value = lt),
10787
- style: Wn({ height: E(D) + "px" }),
10787
+ style: Wn({ height: E(z) + "px" }),
10788
10788
  class: "input-area",
10789
10789
  disabled: u.disabled,
10790
10790
  placeholder: u.placeholder,
@@ -10807,7 +10807,7 @@ const Vb = { class: "ai-selected-box" }, Nb = { class: "ai-selected-tip" }, Hb =
10807
10807
  class: Wt([
10808
10808
  "bkai-icon",
10809
10809
  g.value,
10810
- { disabled: !K.loading && !h.value.trim() },
10810
+ { disabled: !Y.loading && !h.value.trim() },
10811
10811
  "clickable"
10812
10812
  ]),
10813
10813
  onClick: B
@@ -10834,12 +10834,12 @@ const Vb = { class: "ai-selected-box" }, Nb = { class: "ai-selected-tip" }, Hb =
10834
10834
  }), s),
10835
10835
  []
10836
10836
  )
10837
- ), n = _t(() => i.value.reduce(
10837
+ ), n = wt(() => i.value.reduce(
10838
10838
  (s, a) => (Object.entries(a).forEach(([l, c]) => {
10839
10839
  s[l] = c;
10840
10840
  }), s),
10841
10841
  {}
10842
- )), r = _t(() => t.value.components.reduce(
10842
+ )), r = wt(() => t.value.components.reduce(
10843
10843
  (s, a) => (a.required && (s[a.key] = [
10844
10844
  {
10845
10845
  required: !0,
@@ -10876,7 +10876,7 @@ const Vb = { class: "ai-selected-box" }, Nb = { class: "ai-selected-tip" }, Hb =
10876
10876
  },
10877
10877
  emits: ["update:modelValue"],
10878
10878
  setup(t, { emit: e }) {
10879
- const i = t, n = e, r = _t(() => i.modelValue), o = (s) => {
10879
+ const i = t, n = e, r = wt(() => i.modelValue), o = (s) => {
10880
10880
  n("update:modelValue", s);
10881
10881
  };
10882
10882
  return (s, a) => (V(), Xt(E(el), {
@@ -10899,7 +10899,7 @@ const Vb = { class: "ai-selected-box" }, Nb = { class: "ai-selected-tip" }, Hb =
10899
10899
  },
10900
10900
  emits: ["update:modelValue"],
10901
10901
  setup(t, { emit: e }) {
10902
- const i = t, n = e, r = _t({
10902
+ const i = t, n = e, r = wt({
10903
10903
  get() {
10904
10904
  return i.modelValue;
10905
10905
  },
@@ -11082,7 +11082,7 @@ const Vb = { class: "ai-selected-box" }, Nb = { class: "ai-selected-tip" }, Hb =
11082
11082
  rr((l) => ({
11083
11083
  "6a7fd030": l.greetingMaxHeight + "px"
11084
11084
  }));
11085
- const i = t, n = O(null), r = O(0), o = _t(() => i.renderMarkdown(i.greetingText)), s = () => {
11085
+ const i = t, n = O(null), r = O(0), o = wt(() => i.renderMarkdown(i.greetingText)), s = () => {
11086
11086
  n.value && (r.value = n.value.offsetHeight);
11087
11087
  };
11088
11088
  return e({
@@ -11346,14 +11346,14 @@ function B0() {
11346
11346
  createDocumentFragment: B,
11347
11347
  getElementsByTagName: L
11348
11348
  } = i, {
11349
- importNode: $
11349
+ importNode: j
11350
11350
  } = n;
11351
- let D = ef();
11351
+ let z = ef();
11352
11352
  e.isSupported = typeof T0 == "function" && typeof b == "function" && _ && _.createHTMLDocument !== void 0;
11353
11353
  const {
11354
- MUSTACHE_EXPR: Y,
11354
+ MUSTACHE_EXPR: Q,
11355
11355
  ERB_EXPR: U,
11356
- TMPLIT_EXPR: wt,
11356
+ TMPLIT_EXPR: Ct,
11357
11357
  DATA_ATTR: dt,
11358
11358
  ARIA_ATTR: ft,
11359
11359
  IS_SCRIPT_OR_DATA: pt,
@@ -11385,15 +11385,15 @@ function B0() {
11385
11385
  enumerable: !0,
11386
11386
  value: !1
11387
11387
  }
11388
- })), Pt = null, Dt = null, Vt = !0, Nt = !0, K = !1, at = !0, lt = !1, Lt = !0, re = !1, Ce = !1, Re = !1, oe = !1, ce = !1, Ee = !1, ue = !0, S = !1;
11388
+ })), Pt = null, Dt = null, Vt = !0, Nt = !0, Y = !1, at = !0, lt = !1, Lt = !0, re = !1, Ce = !1, Re = !1, oe = !1, ce = !1, Ee = !1, ue = !0, S = !1;
11389
11389
  const M = "user-content-";
11390
- let H = !0, R = !1, z = {}, ct = null;
11390
+ let H = !0, R = !1, D = {}, ct = null;
11391
11391
  const zt = yt({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
11392
11392
  let $t = null;
11393
11393
  const he = yt({}, ["audio", "video", "img", "source", "image", "track"]);
11394
- let Ct = null;
11394
+ let _t = null;
11395
11395
  const St = yt({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Mt = "http://www.w3.org/1998/Math/MathML", ee = "http://www.w3.org/2000/svg", A = "http://www.w3.org/1999/xhtml";
11396
- let j = A, G = !1, gt = null;
11396
+ let $ = A, G = !1, gt = null;
11397
11397
  const ut = yt({}, [Mt, ee, A], Ra);
11398
11398
  let Gt = yt({}, ["mi", "mo", "mn", "ms", "mtext"]), Qt = yt({}, ["annotation-xml"]);
11399
11399
  const Ve = yt({}, ["title", "style", "font", "a", "script"]);
@@ -11406,7 +11406,7 @@ function B0() {
11406
11406
  let C = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
11407
11407
  if (!(de && de === C)) {
11408
11408
  if ((!C || typeof C != "object") && (C = {}), C = Oi(C), li = // eslint-disable-next-line unicorn/prefer-includes
11409
- ei.indexOf(C.PARSER_MEDIA_TYPE) === -1 ? qi : C.PARSER_MEDIA_TYPE, Ft = li === "application/xhtml+xml" ? Ra : jo, mt = ni(C, "ALLOWED_TAGS") ? yt({}, C.ALLOWED_TAGS, Ft) : qt, xt = ni(C, "ALLOWED_ATTR") ? yt({}, C.ALLOWED_ATTR, Ft) : Ut, gt = ni(C, "ALLOWED_NAMESPACES") ? yt({}, C.ALLOWED_NAMESPACES, Ra) : ut, Ct = ni(C, "ADD_URI_SAFE_ATTR") ? yt(Oi(St), C.ADD_URI_SAFE_ATTR, Ft) : St, $t = ni(C, "ADD_DATA_URI_TAGS") ? yt(Oi(he), C.ADD_DATA_URI_TAGS, Ft) : he, ct = ni(C, "FORBID_CONTENTS") ? yt({}, C.FORBID_CONTENTS, Ft) : zt, Pt = ni(C, "FORBID_TAGS") ? yt({}, C.FORBID_TAGS, Ft) : Oi({}), Dt = ni(C, "FORBID_ATTR") ? yt({}, C.FORBID_ATTR, Ft) : Oi({}), z = ni(C, "USE_PROFILES") ? C.USE_PROFILES : !1, Vt = C.ALLOW_ARIA_ATTR !== !1, Nt = C.ALLOW_DATA_ATTR !== !1, K = C.ALLOW_UNKNOWN_PROTOCOLS || !1, at = C.ALLOW_SELF_CLOSE_IN_ATTR !== !1, lt = C.SAFE_FOR_TEMPLATES || !1, Lt = C.SAFE_FOR_XML !== !1, re = C.WHOLE_DOCUMENT || !1, oe = C.RETURN_DOM || !1, ce = C.RETURN_DOM_FRAGMENT || !1, Ee = C.RETURN_TRUSTED_TYPE || !1, Re = C.FORCE_BODY || !1, ue = C.SANITIZE_DOM !== !1, S = C.SANITIZE_NAMED_PROPS || !1, H = C.KEEP_CONTENT !== !1, R = C.IN_PLACE || !1, jt = C.ALLOWED_URI_REGEXP || k0, j = C.NAMESPACE || A, Gt = C.MATHML_TEXT_INTEGRATION_POINTS || Gt, Qt = C.HTML_INTEGRATION_POINTS || Qt, it = C.CUSTOM_ELEMENT_HANDLING || {}, C.CUSTOM_ELEMENT_HANDLING && Gi(C.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (it.tagNameCheck = C.CUSTOM_ELEMENT_HANDLING.tagNameCheck), C.CUSTOM_ELEMENT_HANDLING && Gi(C.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (it.attributeNameCheck = C.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), C.CUSTOM_ELEMENT_HANDLING && typeof C.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (it.allowCustomizedBuiltInElements = C.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), lt && (Nt = !1), ce && (oe = !0), z && (mt = yt({}, Qd), xt = [], z.html === !0 && (yt(mt, Xd), yt(xt, Zd)), z.svg === !0 && (yt(mt, Va), yt(xt, ja), yt(xt, Fo)), z.svgFilters === !0 && (yt(mt, Na), yt(xt, ja), yt(xt, Fo)), z.mathMl === !0 && (yt(mt, Ha), yt(xt, Jd), yt(xt, Fo))), C.ADD_TAGS && (mt === qt && (mt = Oi(mt)), yt(mt, C.ADD_TAGS, Ft)), C.ADD_ATTR && (xt === Ut && (xt = Oi(xt)), yt(xt, C.ADD_ATTR, Ft)), C.ADD_URI_SAFE_ATTR && yt(Ct, C.ADD_URI_SAFE_ATTR, Ft), C.FORBID_CONTENTS && (ct === zt && (ct = Oi(ct)), yt(ct, C.FORBID_CONTENTS, Ft)), H && (mt["#text"] = !0), re && yt(mt, ["html", "head", "body"]), mt.table && (yt(mt, ["tbody"]), delete Pt.tbody), C.TRUSTED_TYPES_POLICY) {
11409
+ ei.indexOf(C.PARSER_MEDIA_TYPE) === -1 ? qi : C.PARSER_MEDIA_TYPE, Ft = li === "application/xhtml+xml" ? Ra : jo, mt = ni(C, "ALLOWED_TAGS") ? yt({}, C.ALLOWED_TAGS, Ft) : qt, xt = ni(C, "ALLOWED_ATTR") ? yt({}, C.ALLOWED_ATTR, Ft) : Ut, gt = ni(C, "ALLOWED_NAMESPACES") ? yt({}, C.ALLOWED_NAMESPACES, Ra) : ut, _t = ni(C, "ADD_URI_SAFE_ATTR") ? yt(Oi(St), C.ADD_URI_SAFE_ATTR, Ft) : St, $t = ni(C, "ADD_DATA_URI_TAGS") ? yt(Oi(he), C.ADD_DATA_URI_TAGS, Ft) : he, ct = ni(C, "FORBID_CONTENTS") ? yt({}, C.FORBID_CONTENTS, Ft) : zt, Pt = ni(C, "FORBID_TAGS") ? yt({}, C.FORBID_TAGS, Ft) : Oi({}), Dt = ni(C, "FORBID_ATTR") ? yt({}, C.FORBID_ATTR, Ft) : Oi({}), D = ni(C, "USE_PROFILES") ? C.USE_PROFILES : !1, Vt = C.ALLOW_ARIA_ATTR !== !1, Nt = C.ALLOW_DATA_ATTR !== !1, Y = C.ALLOW_UNKNOWN_PROTOCOLS || !1, at = C.ALLOW_SELF_CLOSE_IN_ATTR !== !1, lt = C.SAFE_FOR_TEMPLATES || !1, Lt = C.SAFE_FOR_XML !== !1, re = C.WHOLE_DOCUMENT || !1, oe = C.RETURN_DOM || !1, ce = C.RETURN_DOM_FRAGMENT || !1, Ee = C.RETURN_TRUSTED_TYPE || !1, Re = C.FORCE_BODY || !1, ue = C.SANITIZE_DOM !== !1, S = C.SANITIZE_NAMED_PROPS || !1, H = C.KEEP_CONTENT !== !1, R = C.IN_PLACE || !1, jt = C.ALLOWED_URI_REGEXP || k0, $ = C.NAMESPACE || A, Gt = C.MATHML_TEXT_INTEGRATION_POINTS || Gt, Qt = C.HTML_INTEGRATION_POINTS || Qt, it = C.CUSTOM_ELEMENT_HANDLING || {}, C.CUSTOM_ELEMENT_HANDLING && Gi(C.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (it.tagNameCheck = C.CUSTOM_ELEMENT_HANDLING.tagNameCheck), C.CUSTOM_ELEMENT_HANDLING && Gi(C.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (it.attributeNameCheck = C.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), C.CUSTOM_ELEMENT_HANDLING && typeof C.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (it.allowCustomizedBuiltInElements = C.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), lt && (Nt = !1), ce && (oe = !0), D && (mt = yt({}, Qd), xt = [], D.html === !0 && (yt(mt, Xd), yt(xt, Zd)), D.svg === !0 && (yt(mt, Va), yt(xt, ja), yt(xt, Fo)), D.svgFilters === !0 && (yt(mt, Na), yt(xt, ja), yt(xt, Fo)), D.mathMl === !0 && (yt(mt, Ha), yt(xt, Jd), yt(xt, Fo))), C.ADD_TAGS && (mt === qt && (mt = Oi(mt)), yt(mt, C.ADD_TAGS, Ft)), C.ADD_ATTR && (xt === Ut && (xt = Oi(xt)), yt(xt, C.ADD_ATTR, Ft)), C.ADD_URI_SAFE_ATTR && yt(_t, C.ADD_URI_SAFE_ATTR, Ft), C.FORBID_CONTENTS && (ct === zt && (ct = Oi(ct)), yt(ct, C.FORBID_CONTENTS, Ft)), H && (mt["#text"] = !0), re && yt(mt, ["html", "head", "body"]), mt.table && (yt(mt, ["tbody"]), delete Pt.tbody), C.TRUSTED_TYPES_POLICY) {
11410
11410
  if (typeof C.TRUSTED_TYPES_POLICY.createHTML != "function")
11411
11411
  throw xr('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
11412
11412
  if (typeof C.TRUSTED_TYPES_POLICY.createScriptURL != "function")
@@ -11419,7 +11419,7 @@ function B0() {
11419
11419
  }, wo = yt({}, [...Va, ...Na, ...Dx]), W = yt({}, [...Ha, ...zx]), vt = function(C) {
11420
11420
  let F = b(C);
11421
11421
  (!F || !F.tagName) && (F = {
11422
- namespaceURI: j,
11422
+ namespaceURI: $,
11423
11423
  tagName: "template"
11424
11424
  });
11425
11425
  const q = jo(C.tagName), Ht = jo(F.tagName);
@@ -11464,22 +11464,22 @@ function B0() {
11464
11464
  const ie = Kd(C, /^[\r\n\t ]+/);
11465
11465
  q = ie && ie[0];
11466
11466
  }
11467
- li === "application/xhtml+xml" && j === A && (C = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + C + "</body></html>");
11467
+ li === "application/xhtml+xml" && $ === A && (C = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + C + "</body></html>");
11468
11468
  const Ht = g ? g.createHTML(C) : C;
11469
- if (j === A)
11469
+ if ($ === A)
11470
11470
  try {
11471
11471
  F = new h().parseFromString(Ht, li);
11472
11472
  } catch {
11473
11473
  }
11474
11474
  if (!F || !F.documentElement) {
11475
- F = _.createDocument(j, "template", null);
11475
+ F = _.createDocument($, "template", null);
11476
11476
  try {
11477
11477
  F.documentElement.innerHTML = G ? w : Ht;
11478
11478
  } catch {
11479
11479
  }
11480
11480
  }
11481
11481
  const fe = F.body || F.documentElement;
11482
- return C && q && fe.insertBefore(i.createTextNode(q), fe.childNodes[0] || null), j === A ? L.call(F, re ? "html" : "body")[0] : re ? F.documentElement : fe;
11482
+ return C && q && fe.insertBefore(i.createTextNode(q), fe.childNodes[0] || null), $ === A ? L.call(F, re ? "html" : "body")[0] : re ? F.documentElement : fe;
11483
11483
  }, Ki = function(C) {
11484
11484
  return k.call(
11485
11485
  C.ownerDocument || C,
@@ -11500,10 +11500,10 @@ function B0() {
11500
11500
  }
11501
11501
  const du = function(C) {
11502
11502
  let F = null;
11503
- if (Si(D.beforeSanitizeElements, C, null), Ti(C))
11503
+ if (Si(z.beforeSanitizeElements, C, null), Ti(C))
11504
11504
  return Tt(C), !0;
11505
11505
  const q = Ft(C.nodeName);
11506
- if (Si(D.uponSanitizeElement, C, {
11506
+ if (Si(z.uponSanitizeElement, C, {
11507
11507
  tagName: q,
11508
11508
  allowedTags: mt
11509
11509
  }), Lt && C.hasChildNodes() && !dr(C.firstElementChild) && _e(/<[/\w!]/g, C.innerHTML) && _e(/<[/\w!]/g, C.textContent) || C.nodeType === _r.progressingInstruction || Lt && C.nodeType === _r.comment && _e(/<[/\w]/g, C.data))
@@ -11523,11 +11523,11 @@ function B0() {
11523
11523
  }
11524
11524
  return Tt(C), !0;
11525
11525
  }
11526
- return C instanceof l && !vt(C) || (q === "noscript" || q === "noembed" || q === "noframes") && _e(/<\/no(script|embed|frames)/i, C.innerHTML) ? (Tt(C), !0) : (lt && C.nodeType === _r.text && (F = C.textContent, Mo([Y, U, wt], (Ht) => {
11526
+ return C instanceof l && !vt(C) || (q === "noscript" || q === "noembed" || q === "noframes") && _e(/<\/no(script|embed|frames)/i, C.innerHTML) ? (Tt(C), !0) : (lt && C.nodeType === _r.text && (F = C.textContent, Mo([Q, U, Ct], (Ht) => {
11527
11527
  F = br(F, Ht, " ");
11528
11528
  }), C.textContent !== F && (yr(e.removed, {
11529
11529
  element: C.cloneNode()
11530
- }), C.textContent = F)), Si(D.afterSanitizeElements, C, null), !1);
11530
+ }), C.textContent = F)), Si(z.afterSanitizeElements, C, null), !1);
11531
11531
  }, fu = function(C, F, q) {
11532
11532
  if (ue && (F === "id" || F === "name") && (q in i || q in Ui))
11533
11533
  return !1;
@@ -11542,10 +11542,10 @@ function B0() {
11542
11542
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
11543
11543
  F === "is" && it.allowCustomizedBuiltInElements && (it.tagNameCheck instanceof RegExp && _e(it.tagNameCheck, q) || it.tagNameCheck instanceof Function && it.tagNameCheck(q)))
11544
11544
  ) return !1;
11545
- } else if (!Ct[F]) {
11545
+ } else if (!_t[F]) {
11546
11546
  if (!_e(jt, br(q, st, ""))) {
11547
11547
  if (!((F === "src" || F === "xlink:href" || F === "href") && C !== "script" && Mx(q, "data:") === 0 && $t[C])) {
11548
- if (!(K && !_e(pt, br(q, st, "")))) {
11548
+ if (!(Y && !_e(pt, br(q, st, "")))) {
11549
11549
  if (q)
11550
11550
  return !1;
11551
11551
  }
@@ -11558,7 +11558,7 @@ function B0() {
11558
11558
  }, pu = function(C) {
11559
11559
  return C !== "annotation-xml" && Kd(C, bt);
11560
11560
  }, mu = function(C) {
11561
- Si(D.beforeSanitizeAttributes, C, null);
11561
+ Si(z.beforeSanitizeAttributes, C, null);
11562
11562
  const {
11563
11563
  attributes: F
11564
11564
  } = C;
@@ -11579,7 +11579,7 @@ function B0() {
11579
11579
  value: ki
11580
11580
  } = fe, fr = Ft(ie), ua = ki;
11581
11581
  let pe = ie === "value" ? ua : Fx(ua);
11582
- if (q.attrName = fr, q.attrValue = pe, q.keepAttr = !0, q.forceKeepAttr = void 0, Si(D.uponSanitizeAttribute, C, q), pe = q.attrValue, S && (fr === "id" || fr === "name") && (We(ie, C), pe = M + pe), Lt && _e(/((--!?|])>)|<\/(style|title)/i, pe)) {
11582
+ if (q.attrName = fr, q.attrValue = pe, q.keepAttr = !0, q.forceKeepAttr = void 0, Si(z.uponSanitizeAttribute, C, q), pe = q.attrValue, S && (fr === "id" || fr === "name") && (We(ie, C), pe = M + pe), Lt && _e(/((--!?|])>)|<\/(style|title)/i, pe)) {
11583
11583
  We(ie, C);
11584
11584
  continue;
11585
11585
  }
@@ -11593,7 +11593,7 @@ function B0() {
11593
11593
  We(ie, C);
11594
11594
  continue;
11595
11595
  }
11596
- lt && Mo([Y, U, wt], (vu) => {
11596
+ lt && Mo([Q, U, Ct], (vu) => {
11597
11597
  pe = br(pe, vu, " ");
11598
11598
  });
11599
11599
  const gu = Ft(C.nodeName);
@@ -11619,13 +11619,13 @@ function B0() {
11619
11619
  We(ie, C);
11620
11620
  }
11621
11621
  }
11622
- Si(D.afterSanitizeAttributes, C, null);
11622
+ Si(z.afterSanitizeAttributes, C, null);
11623
11623
  }, U2 = function Z(C) {
11624
11624
  let F = null;
11625
11625
  const q = Ki(C);
11626
- for (Si(D.beforeSanitizeShadowDOM, C, null); F = q.nextNode(); )
11627
- Si(D.uponSanitizeShadowNode, F, null), du(F), mu(F), F.content instanceof o && Z(F.content);
11628
- Si(D.afterSanitizeShadowDOM, C, null);
11626
+ for (Si(z.beforeSanitizeShadowDOM, C, null); F = q.nextNode(); )
11627
+ Si(z.uponSanitizeShadowNode, F, null), du(F), mu(F), F.content instanceof o && Z(F.content);
11628
+ Si(z.afterSanitizeShadowDOM, C, null);
11629
11629
  };
11630
11630
  return e.sanitize = function(Z) {
11631
11631
  let C = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, F = null, q = null, Ht = null, fe = null;
@@ -11664,11 +11664,11 @@ function B0() {
11664
11664
  fe.appendChild(F.firstChild);
11665
11665
  else
11666
11666
  fe = F;
11667
- return (xt.shadowroot || xt.shadowrootmode) && (fe = $.call(n, fe, !0)), fe;
11667
+ return (xt.shadowroot || xt.shadowrootmode) && (fe = j.call(n, fe, !0)), fe;
11668
11668
  }
11669
11669
  let Le = re ? F.outerHTML : F.innerHTML;
11670
11670
  return re && mt["!doctype"] && F.ownerDocument && F.ownerDocument.doctype && F.ownerDocument.doctype.name && _e(A0, F.ownerDocument.doctype.name) && (Le = "<!DOCTYPE " + F.ownerDocument.doctype.name + `>
11671
- ` + Le), lt && Mo([Y, U, wt], (ki) => {
11671
+ ` + Le), lt && Mo([Q, U, Ct], (ki) => {
11672
11672
  Le = br(Le, ki, " ");
11673
11673
  }), g && Ee ? g.createHTML(Le) : Le;
11674
11674
  }, e.setConfig = function() {
@@ -11681,17 +11681,17 @@ function B0() {
11681
11681
  const q = Ft(Z), Ht = Ft(C);
11682
11682
  return fu(q, Ht, F);
11683
11683
  }, e.addHook = function(Z, C) {
11684
- typeof C == "function" && yr(D[Z], C);
11684
+ typeof C == "function" && yr(z[Z], C);
11685
11685
  }, e.removeHook = function(Z, C) {
11686
11686
  if (C !== void 0) {
11687
- const F = Ex(D[Z], C);
11688
- return F === -1 ? void 0 : Lx(D[Z], F, 1)[0];
11687
+ const F = Ex(z[Z], C);
11688
+ return F === -1 ? void 0 : Lx(z[Z], F, 1)[0];
11689
11689
  }
11690
- return Yd(D[Z]);
11690
+ return Yd(z[Z]);
11691
11691
  }, e.removeHooks = function(Z) {
11692
- D[Z] = [];
11692
+ z[Z] = [];
11693
11693
  }, e.removeAllHooks = function() {
11694
- D = ef();
11694
+ z = ef();
11695
11695
  }, e;
11696
11696
  }
11697
11697
  var ji = B0();
@@ -14663,7 +14663,7 @@ const Qs = new F_({ r: 0, g: 0, b: 0, a: 0 }, "transparent"), Hn = {
14663
14663
  }, P_ = (t) => O_(t) >= 0.5, bo = (t) => !P_(t), mm = (t, e, i) => {
14664
14664
  const n = bi.parse(t), r = n[e], o = rt.channel.clamp[e](r + i);
14665
14665
  return r !== o && (n[e] = o), bi.stringify(n);
14666
- }, X = (t, e) => mm(t, "l", e), et = (t, e) => mm(t, "l", -e), T = (t, e) => {
14666
+ }, K = (t, e) => mm(t, "l", e), et = (t, e) => mm(t, "l", -e), T = (t, e) => {
14667
14667
  const i = bi.parse(t), n = {};
14668
14668
  for (const r in e)
14669
14669
  e[r] && (n[r] = i[r] + e[r]);
@@ -15634,7 +15634,7 @@ let tk = class {
15634
15634
  }
15635
15635
  updateColors() {
15636
15636
  var e, i, n, r, o, s, a, l, c, u, d;
15637
- if (this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#333"), this.secondaryColor = this.secondaryColor || T(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || T(this.primaryColor, { h: 180, l: 5 }), this.primaryBorderColor = this.primaryBorderColor || Te(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || Te(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || Te(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || Te(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#333", this.secondaryTextColor = this.secondaryTextColor || I(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || I(this.tertiaryColor), this.lineColor = this.lineColor || I(this.background), this.arrowheadColor = this.arrowheadColor || I(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.primaryBorderColor, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? et(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || "grey", this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || et(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || I(this.lineColor), this.sectionBkgColor = this.sectionBkgColor || this.tertiaryColor, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || this.secondaryColor, this.sectionBkgColor2 = this.sectionBkgColor2 || this.primaryColor, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || this.primaryColor, this.activeTaskBorderColor = this.activeTaskBorderColor || this.primaryColor, this.activeTaskBkgColor = this.activeTaskBkgColor || X(this.primaryColor, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.taskTextColor = this.taskTextColor || this.textColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || this.tertiaryColor, this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || T(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || T(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || T(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || T(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || T(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || T(this.primaryColor, { h: 210, l: 150 }), this.cScale9 = this.cScale9 || T(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || T(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || T(this.primaryColor, { h: 330 }), this.darkMode)
15637
+ if (this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#333"), this.secondaryColor = this.secondaryColor || T(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || T(this.primaryColor, { h: 180, l: 5 }), this.primaryBorderColor = this.primaryBorderColor || Te(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || Te(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || Te(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || Te(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#333", this.secondaryTextColor = this.secondaryTextColor || I(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || I(this.tertiaryColor), this.lineColor = this.lineColor || I(this.background), this.arrowheadColor = this.arrowheadColor || I(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.primaryBorderColor, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? et(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || "grey", this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || et(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || I(this.lineColor), this.sectionBkgColor = this.sectionBkgColor || this.tertiaryColor, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || this.secondaryColor, this.sectionBkgColor2 = this.sectionBkgColor2 || this.primaryColor, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || this.primaryColor, this.activeTaskBorderColor = this.activeTaskBorderColor || this.primaryColor, this.activeTaskBkgColor = this.activeTaskBkgColor || K(this.primaryColor, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.taskTextColor = this.taskTextColor || this.textColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || this.tertiaryColor, this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || T(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || T(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || T(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || T(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || T(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || T(this.primaryColor, { h: 210, l: 150 }), this.cScale9 = this.cScale9 || T(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || T(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || T(this.primaryColor, { h: 330 }), this.darkMode)
15638
15638
  for (let f = 0; f < this.THEME_COLOR_LIMIT; f++)
15639
15639
  this["cScale" + f] = et(this["cScale" + f], 75);
15640
15640
  else
@@ -15643,14 +15643,14 @@ let tk = class {
15643
15643
  for (let f = 0; f < this.THEME_COLOR_LIMIT; f++)
15644
15644
  this["cScaleInv" + f] = this["cScaleInv" + f] || I(this["cScale" + f]);
15645
15645
  for (let f = 0; f < this.THEME_COLOR_LIMIT; f++)
15646
- this.darkMode ? this["cScalePeer" + f] = this["cScalePeer" + f] || X(this["cScale" + f], 10) : this["cScalePeer" + f] = this["cScalePeer" + f] || et(this["cScale" + f], 10);
15646
+ this.darkMode ? this["cScalePeer" + f] = this["cScalePeer" + f] || K(this["cScale" + f], 10) : this["cScalePeer" + f] = this["cScalePeer" + f] || et(this["cScale" + f], 10);
15647
15647
  this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
15648
15648
  for (let f = 0; f < this.THEME_COLOR_LIMIT; f++)
15649
15649
  this["cScaleLabel" + f] = this["cScaleLabel" + f] || this.scaleLabelColor;
15650
15650
  const h = this.darkMode ? -4 : -1;
15651
15651
  for (let f = 0; f < 5; f++)
15652
15652
  this["surface" + f] = this["surface" + f] || T(this.mainBkg, { h: 180, s: -15, l: h * (5 + f * 3) }), this["surfacePeer" + f] = this["surfacePeer" + f] || T(this.mainBkg, { h: 180, s: -15, l: h * (8 + f * 3) });
15653
- this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || T(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || T(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || T(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || T(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || T(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || T(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || this.tertiaryColor, this.pie4 = this.pie4 || T(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || T(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || T(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || T(this.primaryColor, { h: 60, l: -10 }), this.pie8 = this.pie8 || T(this.primaryColor, { h: -60, l: -10 }), this.pie9 = this.pie9 || T(this.primaryColor, { h: 120, l: 0 }), this.pie10 = this.pie10 || T(this.primaryColor, { h: 60, l: -20 }), this.pie11 = this.pie11 || T(this.primaryColor, { h: -60, l: -20 }), this.pie12 = this.pie12 || T(this.primaryColor, { h: 120, l: -10 }), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || T(this.primaryColor, { r: 5, g: 5, b: 5 }), this.quadrant3Fill = this.quadrant3Fill || T(this.primaryColor, { r: 10, g: 10, b: 10 }), this.quadrant4Fill = this.quadrant4Fill || T(this.primaryColor, { r: 15, g: 15, b: 15 }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || T(this.primaryTextColor, { r: -5, g: -5, b: -5 }), this.quadrant3TextFill = this.quadrant3TextFill || T(this.primaryTextColor, { r: -10, g: -10, b: -10 }), this.quadrant4TextFill = this.quadrant4TextFill || T(this.primaryTextColor, { r: -15, g: -15, b: -15 }), this.quadrantPointFill = this.quadrantPointFill || bo(this.quadrant1Fill) ? X(this.quadrant1Fill) : et(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
15653
+ this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || T(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || T(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || T(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || T(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || T(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || T(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || this.tertiaryColor, this.pie4 = this.pie4 || T(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || T(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || T(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || T(this.primaryColor, { h: 60, l: -10 }), this.pie8 = this.pie8 || T(this.primaryColor, { h: -60, l: -10 }), this.pie9 = this.pie9 || T(this.primaryColor, { h: 120, l: 0 }), this.pie10 = this.pie10 || T(this.primaryColor, { h: 60, l: -20 }), this.pie11 = this.pie11 || T(this.primaryColor, { h: -60, l: -20 }), this.pie12 = this.pie12 || T(this.primaryColor, { h: 120, l: -10 }), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || T(this.primaryColor, { r: 5, g: 5, b: 5 }), this.quadrant3Fill = this.quadrant3Fill || T(this.primaryColor, { r: 10, g: 10, b: 10 }), this.quadrant4Fill = this.quadrant4Fill || T(this.primaryColor, { r: 15, g: 15, b: 15 }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || T(this.primaryTextColor, { r: -5, g: -5, b: -5 }), this.quadrant3TextFill = this.quadrant3TextFill || T(this.primaryTextColor, { r: -10, g: -10, b: -10 }), this.quadrant4TextFill = this.quadrant4TextFill || T(this.primaryTextColor, { r: -15, g: -15, b: -15 }), this.quadrantPointFill = this.quadrantPointFill || bo(this.quadrant1Fill) ? K(this.quadrant1Fill) : et(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
15654
15654
  backgroundColor: ((e = this.xyChart) == null ? void 0 : e.backgroundColor) || this.background,
15655
15655
  titleColor: ((i = this.xyChart) == null ? void 0 : i.titleColor) || this.primaryTextColor,
15656
15656
  xAxisTitleColor: ((n = this.xyChart) == null ? void 0 : n.xAxisTitleColor) || this.primaryTextColor,
@@ -15662,7 +15662,7 @@ let tk = class {
15662
15662
  yAxisTickColor: ((c = this.xyChart) == null ? void 0 : c.yAxisTickColor) || this.primaryTextColor,
15663
15663
  yAxisLineColor: ((u = this.xyChart) == null ? void 0 : u.yAxisLineColor) || this.primaryTextColor,
15664
15664
  plotColorPalette: ((d = this.xyChart) == null ? void 0 : d.plotColorPalette) || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
15665
- }, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? et(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || T(this.primaryColor, { h: -30 }), this.git4 = this.git4 || T(this.primaryColor, { h: -60 }), this.git5 = this.git5 || T(this.primaryColor, { h: -90 }), this.git6 = this.git6 || T(this.primaryColor, { h: 60 }), this.git7 = this.git7 || T(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = X(this.git0, 25), this.git1 = X(this.git1, 25), this.git2 = X(this.git2, 25), this.git3 = X(this.git3, 25), this.git4 = X(this.git4, 25), this.git5 = X(this.git5, 25), this.git6 = X(this.git6, 25), this.git7 = X(this.git7, 25)) : (this.git0 = et(this.git0, 25), this.git1 = et(this.git1, 25), this.git2 = et(this.git2, 25), this.git3 = et(this.git3, 25), this.git4 = et(this.git4, 25), this.git5 = et(this.git5, 25), this.git6 = et(this.git6, 25), this.git7 = et(this.git7, 25)), this.gitInv0 = this.gitInv0 || I(this.git0), this.gitInv1 = this.gitInv1 || I(this.git1), this.gitInv2 = this.gitInv2 || I(this.git2), this.gitInv3 = this.gitInv3 || I(this.git3), this.gitInv4 = this.gitInv4 || I(this.git4), this.gitInv5 = this.gitInv5 || I(this.git5), this.gitInv6 = this.gitInv6 || I(this.git6), this.gitInv7 = this.gitInv7 || I(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || oa, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || sa;
15665
+ }, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? et(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || T(this.primaryColor, { h: -30 }), this.git4 = this.git4 || T(this.primaryColor, { h: -60 }), this.git5 = this.git5 || T(this.primaryColor, { h: -90 }), this.git6 = this.git6 || T(this.primaryColor, { h: 60 }), this.git7 = this.git7 || T(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = K(this.git0, 25), this.git1 = K(this.git1, 25), this.git2 = K(this.git2, 25), this.git3 = K(this.git3, 25), this.git4 = K(this.git4, 25), this.git5 = K(this.git5, 25), this.git6 = K(this.git6, 25), this.git7 = K(this.git7, 25)) : (this.git0 = et(this.git0, 25), this.git1 = et(this.git1, 25), this.git2 = et(this.git2, 25), this.git3 = et(this.git3, 25), this.git4 = et(this.git4, 25), this.git5 = et(this.git5, 25), this.git6 = et(this.git6, 25), this.git7 = et(this.git7, 25)), this.gitInv0 = this.gitInv0 || I(this.git0), this.gitInv1 = this.gitInv1 || I(this.git1), this.gitInv2 = this.gitInv2 || I(this.git2), this.gitInv3 = this.gitInv3 || I(this.git3), this.gitInv4 = this.gitInv4 || I(this.git4), this.gitInv5 = this.gitInv5 || I(this.git5), this.gitInv6 = this.gitInv6 || I(this.git6), this.gitInv7 = this.gitInv7 || I(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || oa, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || sa;
15666
15666
  }
15667
15667
  calculate(e) {
15668
15668
  if (typeof e != "object") {
@@ -15683,15 +15683,15 @@ const ek = (t) => {
15683
15683
  };
15684
15684
  let ik = class {
15685
15685
  constructor() {
15686
- this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = X(this.primaryColor, 16), this.tertiaryColor = T(this.primaryColor, { h: -160 }), this.primaryBorderColor = I(this.background), this.secondaryBorderColor = Te(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = Te(this.tertiaryColor, this.darkMode), this.primaryTextColor = I(this.primaryColor), this.secondaryTextColor = I(this.secondaryColor), this.tertiaryTextColor = I(this.tertiaryColor), this.lineColor = I(this.background), this.textColor = I(this.background), this.mainBkg = "#1f2020", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = X(I("#323D47"), 10), this.lineColor = "calculated", this.border1 = "#81B1DB", this.border2 = Nr(255, 255, 255, 0.25), this.arrowheadColor = "calculated", this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif', this.fontSize = "16px", this.labelBackground = "#181818", this.textColor = "#ccc", this.THEME_COLOR_LIMIT = 12, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "#F9FFFE", this.edgeLabelBackground = "calculated", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "calculated", this.actorLineColor = "calculated", this.signalColor = "calculated", this.signalTextColor = "calculated", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "calculated", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "#fff5ad", this.noteTextColor = "calculated", this.activationBorderColor = "calculated", this.activationBkgColor = "calculated", this.sequenceNumberColor = "black", this.sectionBkgColor = et("#EAE8D9", 30), this.altSectionBkgColor = "calculated", this.sectionBkgColor2 = "#EAE8D9", this.excludeBkgColor = et(this.sectionBkgColor, 10), this.taskBorderColor = Nr(255, 255, 255, 70), this.taskBkgColor = "calculated", this.taskTextColor = "calculated", this.taskTextLightColor = "calculated", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = Nr(255, 255, 255, 50), this.activeTaskBkgColor = "#81B1DB", this.gridColor = "calculated", this.doneTaskBkgColor = "calculated", this.doneTaskBorderColor = "grey", this.critBorderColor = "#E83737", this.critBkgColor = "#E83737", this.taskTextDarkColor = "calculated", this.todayLineColor = "#DB5757", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.labelColor = "calculated", this.errorBkgColor = "#a44141", this.errorTextColor = "#ddd";
15686
+ this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = K(this.primaryColor, 16), this.tertiaryColor = T(this.primaryColor, { h: -160 }), this.primaryBorderColor = I(this.background), this.secondaryBorderColor = Te(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = Te(this.tertiaryColor, this.darkMode), this.primaryTextColor = I(this.primaryColor), this.secondaryTextColor = I(this.secondaryColor), this.tertiaryTextColor = I(this.tertiaryColor), this.lineColor = I(this.background), this.textColor = I(this.background), this.mainBkg = "#1f2020", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = K(I("#323D47"), 10), this.lineColor = "calculated", this.border1 = "#81B1DB", this.border2 = Nr(255, 255, 255, 0.25), this.arrowheadColor = "calculated", this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif', this.fontSize = "16px", this.labelBackground = "#181818", this.textColor = "#ccc", this.THEME_COLOR_LIMIT = 12, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "#F9FFFE", this.edgeLabelBackground = "calculated", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "calculated", this.actorLineColor = "calculated", this.signalColor = "calculated", this.signalTextColor = "calculated", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "calculated", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "#fff5ad", this.noteTextColor = "calculated", this.activationBorderColor = "calculated", this.activationBkgColor = "calculated", this.sequenceNumberColor = "black", this.sectionBkgColor = et("#EAE8D9", 30), this.altSectionBkgColor = "calculated", this.sectionBkgColor2 = "#EAE8D9", this.excludeBkgColor = et(this.sectionBkgColor, 10), this.taskBorderColor = Nr(255, 255, 255, 70), this.taskBkgColor = "calculated", this.taskTextColor = "calculated", this.taskTextLightColor = "calculated", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = Nr(255, 255, 255, 50), this.activeTaskBkgColor = "#81B1DB", this.gridColor = "calculated", this.doneTaskBkgColor = "calculated", this.doneTaskBorderColor = "grey", this.critBorderColor = "#E83737", this.critBkgColor = "#E83737", this.taskTextDarkColor = "calculated", this.todayLineColor = "#DB5757", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.labelColor = "calculated", this.errorBkgColor = "#a44141", this.errorTextColor = "#ddd";
15687
15687
  }
15688
15688
  updateColors() {
15689
15689
  var e, i, n, r, o, s, a, l, c, u, d;
15690
- this.secondBkg = X(this.mainBkg, 16), this.lineColor = this.mainContrastColor, this.arrowheadColor = this.mainContrastColor, this.nodeBkg = this.mainBkg, this.nodeBorder = this.border1, this.clusterBkg = this.secondBkg, this.clusterBorder = this.border2, this.defaultLinkColor = this.lineColor, this.edgeLabelBackground = X(this.labelBackground, 25), this.actorBorder = this.border1, this.actorBkg = this.mainBkg, this.actorTextColor = this.mainContrastColor, this.actorLineColor = this.mainContrastColor, this.signalColor = this.mainContrastColor, this.signalTextColor = this.mainContrastColor, this.labelBoxBkgColor = this.actorBkg, this.labelBoxBorderColor = this.actorBorder, this.labelTextColor = this.mainContrastColor, this.loopTextColor = this.mainContrastColor, this.noteBorderColor = this.secondaryBorderColor, this.noteBkgColor = this.secondBkg, this.noteTextColor = this.secondaryTextColor, this.activationBorderColor = this.border1, this.activationBkgColor = this.secondBkg, this.altSectionBkgColor = this.background, this.taskBkgColor = X(this.mainBkg, 23), this.taskTextColor = this.darkTextColor, this.taskTextLightColor = this.mainContrastColor, this.taskTextOutsideColor = this.taskTextLightColor, this.gridColor = this.mainContrastColor, this.doneTaskBkgColor = this.mainContrastColor, this.taskTextDarkColor = this.darkTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#555", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.primaryBorderColor, this.specialStateColor = "#f4f4f4", this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.fillType0 = this.primaryColor, this.fillType1 = this.secondaryColor, this.fillType2 = T(this.primaryColor, { h: 64 }), this.fillType3 = T(this.secondaryColor, { h: 64 }), this.fillType4 = T(this.primaryColor, { h: -64 }), this.fillType5 = T(this.secondaryColor, { h: -64 }), this.fillType6 = T(this.primaryColor, { h: 128 }), this.fillType7 = T(this.secondaryColor, { h: 128 }), this.cScale1 = this.cScale1 || "#0b0000", this.cScale2 = this.cScale2 || "#4d1037", this.cScale3 = this.cScale3 || "#3f5258", this.cScale4 = this.cScale4 || "#4f2f1b", this.cScale5 = this.cScale5 || "#6e0a0a", this.cScale6 = this.cScale6 || "#3b0048", this.cScale7 = this.cScale7 || "#995a01", this.cScale8 = this.cScale8 || "#154706", this.cScale9 = this.cScale9 || "#161722", this.cScale10 = this.cScale10 || "#00296f", this.cScale11 = this.cScale11 || "#01629c", this.cScale12 = this.cScale12 || "#010029", this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || T(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || T(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || T(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || T(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || T(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || T(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || T(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || T(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || T(this.primaryColor, { h: 330 });
15690
+ this.secondBkg = K(this.mainBkg, 16), this.lineColor = this.mainContrastColor, this.arrowheadColor = this.mainContrastColor, this.nodeBkg = this.mainBkg, this.nodeBorder = this.border1, this.clusterBkg = this.secondBkg, this.clusterBorder = this.border2, this.defaultLinkColor = this.lineColor, this.edgeLabelBackground = K(this.labelBackground, 25), this.actorBorder = this.border1, this.actorBkg = this.mainBkg, this.actorTextColor = this.mainContrastColor, this.actorLineColor = this.mainContrastColor, this.signalColor = this.mainContrastColor, this.signalTextColor = this.mainContrastColor, this.labelBoxBkgColor = this.actorBkg, this.labelBoxBorderColor = this.actorBorder, this.labelTextColor = this.mainContrastColor, this.loopTextColor = this.mainContrastColor, this.noteBorderColor = this.secondaryBorderColor, this.noteBkgColor = this.secondBkg, this.noteTextColor = this.secondaryTextColor, this.activationBorderColor = this.border1, this.activationBkgColor = this.secondBkg, this.altSectionBkgColor = this.background, this.taskBkgColor = K(this.mainBkg, 23), this.taskTextColor = this.darkTextColor, this.taskTextLightColor = this.mainContrastColor, this.taskTextOutsideColor = this.taskTextLightColor, this.gridColor = this.mainContrastColor, this.doneTaskBkgColor = this.mainContrastColor, this.taskTextDarkColor = this.darkTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#555", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.primaryBorderColor, this.specialStateColor = "#f4f4f4", this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.fillType0 = this.primaryColor, this.fillType1 = this.secondaryColor, this.fillType2 = T(this.primaryColor, { h: 64 }), this.fillType3 = T(this.secondaryColor, { h: 64 }), this.fillType4 = T(this.primaryColor, { h: -64 }), this.fillType5 = T(this.secondaryColor, { h: -64 }), this.fillType6 = T(this.primaryColor, { h: 128 }), this.fillType7 = T(this.secondaryColor, { h: 128 }), this.cScale1 = this.cScale1 || "#0b0000", this.cScale2 = this.cScale2 || "#4d1037", this.cScale3 = this.cScale3 || "#3f5258", this.cScale4 = this.cScale4 || "#4f2f1b", this.cScale5 = this.cScale5 || "#6e0a0a", this.cScale6 = this.cScale6 || "#3b0048", this.cScale7 = this.cScale7 || "#995a01", this.cScale8 = this.cScale8 || "#154706", this.cScale9 = this.cScale9 || "#161722", this.cScale10 = this.cScale10 || "#00296f", this.cScale11 = this.cScale11 || "#01629c", this.cScale12 = this.cScale12 || "#010029", this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || T(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || T(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || T(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || T(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || T(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || T(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || T(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || T(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || T(this.primaryColor, { h: 330 });
15691
15691
  for (let h = 0; h < this.THEME_COLOR_LIMIT; h++)
15692
15692
  this["cScaleInv" + h] = this["cScaleInv" + h] || I(this["cScale" + h]);
15693
15693
  for (let h = 0; h < this.THEME_COLOR_LIMIT; h++)
15694
- this["cScalePeer" + h] = this["cScalePeer" + h] || X(this["cScale" + h], 10);
15694
+ this["cScalePeer" + h] = this["cScalePeer" + h] || K(this["cScale" + h], 10);
15695
15695
  for (let h = 0; h < 5; h++)
15696
15696
  this["surface" + h] = this["surface" + h] || T(this.mainBkg, { h: 30, s: -30, l: -(-10 + h * 4) }), this["surfacePeer" + h] = this["surfacePeer" + h] || T(this.mainBkg, { h: 30, s: -30, l: -(-7 + h * 4) });
15697
15697
  this.scaleLabelColor = this.scaleLabelColor || (this.darkMode ? "black" : this.labelTextColor);
@@ -15699,7 +15699,7 @@ let ik = class {
15699
15699
  this["cScaleLabel" + h] = this["cScaleLabel" + h] || this.scaleLabelColor;
15700
15700
  for (let h = 0; h < this.THEME_COLOR_LIMIT; h++)
15701
15701
  this["pie" + h] = this["cScale" + h];
15702
- this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || T(this.primaryColor, { r: 5, g: 5, b: 5 }), this.quadrant3Fill = this.quadrant3Fill || T(this.primaryColor, { r: 10, g: 10, b: 10 }), this.quadrant4Fill = this.quadrant4Fill || T(this.primaryColor, { r: 15, g: 15, b: 15 }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || T(this.primaryTextColor, { r: -5, g: -5, b: -5 }), this.quadrant3TextFill = this.quadrant3TextFill || T(this.primaryTextColor, { r: -10, g: -10, b: -10 }), this.quadrant4TextFill = this.quadrant4TextFill || T(this.primaryTextColor, { r: -15, g: -15, b: -15 }), this.quadrantPointFill = this.quadrantPointFill || bo(this.quadrant1Fill) ? X(this.quadrant1Fill) : et(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
15702
+ this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || T(this.primaryColor, { r: 5, g: 5, b: 5 }), this.quadrant3Fill = this.quadrant3Fill || T(this.primaryColor, { r: 10, g: 10, b: 10 }), this.quadrant4Fill = this.quadrant4Fill || T(this.primaryColor, { r: 15, g: 15, b: 15 }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || T(this.primaryTextColor, { r: -5, g: -5, b: -5 }), this.quadrant3TextFill = this.quadrant3TextFill || T(this.primaryTextColor, { r: -10, g: -10, b: -10 }), this.quadrant4TextFill = this.quadrant4TextFill || T(this.primaryTextColor, { r: -15, g: -15, b: -15 }), this.quadrantPointFill = this.quadrantPointFill || bo(this.quadrant1Fill) ? K(this.quadrant1Fill) : et(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
15703
15703
  backgroundColor: ((e = this.xyChart) == null ? void 0 : e.backgroundColor) || this.background,
15704
15704
  titleColor: ((i = this.xyChart) == null ? void 0 : i.titleColor) || this.primaryTextColor,
15705
15705
  xAxisTitleColor: ((n = this.xyChart) == null ? void 0 : n.xAxisTitleColor) || this.primaryTextColor,
@@ -15711,7 +15711,7 @@ let ik = class {
15711
15711
  yAxisTickColor: ((c = this.xyChart) == null ? void 0 : c.yAxisTickColor) || this.primaryTextColor,
15712
15712
  yAxisLineColor: ((u = this.xyChart) == null ? void 0 : u.yAxisLineColor) || this.primaryTextColor,
15713
15713
  plotColorPalette: ((d = this.xyChart) == null ? void 0 : d.plotColorPalette) || "#3498db,#2ecc71,#e74c3c,#f1c40f,#bdc3c7,#ffffff,#34495e,#9b59b6,#1abc9c,#e67e22"
15714
- }, this.classText = this.primaryTextColor, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? et(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = X(this.secondaryColor, 20), this.git1 = X(this.pie2 || this.secondaryColor, 20), this.git2 = X(this.pie3 || this.tertiaryColor, 20), this.git3 = X(this.pie4 || T(this.primaryColor, { h: -30 }), 20), this.git4 = X(this.pie5 || T(this.primaryColor, { h: -60 }), 20), this.git5 = X(this.pie6 || T(this.primaryColor, { h: -90 }), 10), this.git6 = X(this.pie7 || T(this.primaryColor, { h: 60 }), 10), this.git7 = X(this.pie8 || T(this.primaryColor, { h: 120 }), 20), this.gitInv0 = this.gitInv0 || I(this.git0), this.gitInv1 = this.gitInv1 || I(this.git1), this.gitInv2 = this.gitInv2 || I(this.git2), this.gitInv3 = this.gitInv3 || I(this.git3), this.gitInv4 = this.gitInv4 || I(this.git4), this.gitInv5 = this.gitInv5 || I(this.git5), this.gitInv6 = this.gitInv6 || I(this.git6), this.gitInv7 = this.gitInv7 || I(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || I(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || I(this.labelTextColor), this.gitBranchLabel4 = this.gitBranchLabel4 || this.labelTextColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.labelTextColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.labelTextColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.labelTextColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || X(this.background, 12), this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || X(this.background, 2);
15714
+ }, this.classText = this.primaryTextColor, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? et(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = K(this.secondaryColor, 20), this.git1 = K(this.pie2 || this.secondaryColor, 20), this.git2 = K(this.pie3 || this.tertiaryColor, 20), this.git3 = K(this.pie4 || T(this.primaryColor, { h: -30 }), 20), this.git4 = K(this.pie5 || T(this.primaryColor, { h: -60 }), 20), this.git5 = K(this.pie6 || T(this.primaryColor, { h: -90 }), 10), this.git6 = K(this.pie7 || T(this.primaryColor, { h: 60 }), 10), this.git7 = K(this.pie8 || T(this.primaryColor, { h: 120 }), 20), this.gitInv0 = this.gitInv0 || I(this.git0), this.gitInv1 = this.gitInv1 || I(this.git1), this.gitInv2 = this.gitInv2 || I(this.git2), this.gitInv3 = this.gitInv3 || I(this.git3), this.gitInv4 = this.gitInv4 || I(this.git4), this.gitInv5 = this.gitInv5 || I(this.git5), this.gitInv6 = this.gitInv6 || I(this.git6), this.gitInv7 = this.gitInv7 || I(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || I(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || I(this.labelTextColor), this.gitBranchLabel4 = this.gitBranchLabel4 || this.labelTextColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.labelTextColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.labelTextColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.labelTextColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || K(this.background, 12), this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || K(this.background, 2);
15715
15715
  }
15716
15716
  calculate(e) {
15717
15717
  if (typeof e != "object") {
@@ -15748,7 +15748,7 @@ let rk = class {
15748
15748
  for (let h = 0; h < this.THEME_COLOR_LIMIT; h++)
15749
15749
  this["cScaleLabel" + h] = this["cScaleLabel" + h] || this.labelTextColor;
15750
15750
  }
15751
- this.nodeBkg = this.mainBkg, this.nodeBorder = this.border1, this.clusterBkg = this.secondBkg, this.clusterBorder = this.border2, this.defaultLinkColor = this.lineColor, this.titleColor = this.textColor, this.edgeLabelBackground = this.labelBackground, this.actorBorder = X(this.border1, 23), this.actorBkg = this.mainBkg, this.labelBoxBkgColor = this.actorBkg, this.signalColor = this.textColor, this.signalTextColor = this.textColor, this.labelBoxBorderColor = this.actorBorder, this.labelTextColor = this.actorTextColor, this.loopTextColor = this.actorTextColor, this.noteBorderColor = this.border2, this.noteTextColor = this.actorTextColor, this.taskTextColor = this.taskTextLightColor, this.taskTextOutsideColor = this.taskTextDarkColor, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.specialStateColor = this.lineColor, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.classText = this.primaryTextColor, this.fillType0 = this.primaryColor, this.fillType1 = this.secondaryColor, this.fillType2 = T(this.primaryColor, { h: 64 }), this.fillType3 = T(this.secondaryColor, { h: 64 }), this.fillType4 = T(this.primaryColor, { h: -64 }), this.fillType5 = T(this.secondaryColor, { h: -64 }), this.fillType6 = T(this.primaryColor, { h: 128 }), this.fillType7 = T(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || T(this.tertiaryColor, { l: -40 }), this.pie4 = this.pie4 || T(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || T(this.secondaryColor, { l: -30 }), this.pie6 = this.pie6 || T(this.tertiaryColor, { l: -20 }), this.pie7 = this.pie7 || T(this.primaryColor, { h: 60, l: -20 }), this.pie8 = this.pie8 || T(this.primaryColor, { h: -60, l: -40 }), this.pie9 = this.pie9 || T(this.primaryColor, { h: 120, l: -40 }), this.pie10 = this.pie10 || T(this.primaryColor, { h: 60, l: -40 }), this.pie11 = this.pie11 || T(this.primaryColor, { h: -90, l: -40 }), this.pie12 = this.pie12 || T(this.primaryColor, { h: 120, l: -30 }), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || T(this.primaryColor, { r: 5, g: 5, b: 5 }), this.quadrant3Fill = this.quadrant3Fill || T(this.primaryColor, { r: 10, g: 10, b: 10 }), this.quadrant4Fill = this.quadrant4Fill || T(this.primaryColor, { r: 15, g: 15, b: 15 }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || T(this.primaryTextColor, { r: -5, g: -5, b: -5 }), this.quadrant3TextFill = this.quadrant3TextFill || T(this.primaryTextColor, { r: -10, g: -10, b: -10 }), this.quadrant4TextFill = this.quadrant4TextFill || T(this.primaryTextColor, { r: -15, g: -15, b: -15 }), this.quadrantPointFill = this.quadrantPointFill || bo(this.quadrant1Fill) ? X(this.quadrant1Fill) : et(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
15751
+ this.nodeBkg = this.mainBkg, this.nodeBorder = this.border1, this.clusterBkg = this.secondBkg, this.clusterBorder = this.border2, this.defaultLinkColor = this.lineColor, this.titleColor = this.textColor, this.edgeLabelBackground = this.labelBackground, this.actorBorder = K(this.border1, 23), this.actorBkg = this.mainBkg, this.labelBoxBkgColor = this.actorBkg, this.signalColor = this.textColor, this.signalTextColor = this.textColor, this.labelBoxBorderColor = this.actorBorder, this.labelTextColor = this.actorTextColor, this.loopTextColor = this.actorTextColor, this.noteBorderColor = this.border2, this.noteTextColor = this.actorTextColor, this.taskTextColor = this.taskTextLightColor, this.taskTextOutsideColor = this.taskTextDarkColor, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.specialStateColor = this.lineColor, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.classText = this.primaryTextColor, this.fillType0 = this.primaryColor, this.fillType1 = this.secondaryColor, this.fillType2 = T(this.primaryColor, { h: 64 }), this.fillType3 = T(this.secondaryColor, { h: 64 }), this.fillType4 = T(this.primaryColor, { h: -64 }), this.fillType5 = T(this.secondaryColor, { h: -64 }), this.fillType6 = T(this.primaryColor, { h: 128 }), this.fillType7 = T(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || T(this.tertiaryColor, { l: -40 }), this.pie4 = this.pie4 || T(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || T(this.secondaryColor, { l: -30 }), this.pie6 = this.pie6 || T(this.tertiaryColor, { l: -20 }), this.pie7 = this.pie7 || T(this.primaryColor, { h: 60, l: -20 }), this.pie8 = this.pie8 || T(this.primaryColor, { h: -60, l: -40 }), this.pie9 = this.pie9 || T(this.primaryColor, { h: 120, l: -40 }), this.pie10 = this.pie10 || T(this.primaryColor, { h: 60, l: -40 }), this.pie11 = this.pie11 || T(this.primaryColor, { h: -90, l: -40 }), this.pie12 = this.pie12 || T(this.primaryColor, { h: 120, l: -30 }), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || T(this.primaryColor, { r: 5, g: 5, b: 5 }), this.quadrant3Fill = this.quadrant3Fill || T(this.primaryColor, { r: 10, g: 10, b: 10 }), this.quadrant4Fill = this.quadrant4Fill || T(this.primaryColor, { r: 15, g: 15, b: 15 }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || T(this.primaryTextColor, { r: -5, g: -5, b: -5 }), this.quadrant3TextFill = this.quadrant3TextFill || T(this.primaryTextColor, { r: -10, g: -10, b: -10 }), this.quadrant4TextFill = this.quadrant4TextFill || T(this.primaryTextColor, { r: -15, g: -15, b: -15 }), this.quadrantPointFill = this.quadrantPointFill || bo(this.quadrant1Fill) ? K(this.quadrant1Fill) : et(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
15752
15752
  backgroundColor: ((e = this.xyChart) == null ? void 0 : e.backgroundColor) || this.background,
15753
15753
  titleColor: ((i = this.xyChart) == null ? void 0 : i.titleColor) || this.primaryTextColor,
15754
15754
  xAxisTitleColor: ((n = this.xyChart) == null ? void 0 : n.xAxisTitleColor) || this.primaryTextColor,
@@ -15760,7 +15760,7 @@ let rk = class {
15760
15760
  yAxisTickColor: ((c = this.xyChart) == null ? void 0 : c.yAxisTickColor) || this.primaryTextColor,
15761
15761
  yAxisLineColor: ((u = this.xyChart) == null ? void 0 : u.yAxisLineColor) || this.primaryTextColor,
15762
15762
  plotColorPalette: ((d = this.xyChart) == null ? void 0 : d.plotColorPalette) || "#ECECFF,#8493A6,#FFC3A0,#DCDDE1,#B8E994,#D1A36F,#C3CDE6,#FFB6C1,#496078,#F8F3E3"
15763
- }, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || this.labelBackground, this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || T(this.primaryColor, { h: -30 }), this.git4 = this.git4 || T(this.primaryColor, { h: -60 }), this.git5 = this.git5 || T(this.primaryColor, { h: -90 }), this.git6 = this.git6 || T(this.primaryColor, { h: 60 }), this.git7 = this.git7 || T(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = X(this.git0, 25), this.git1 = X(this.git1, 25), this.git2 = X(this.git2, 25), this.git3 = X(this.git3, 25), this.git4 = X(this.git4, 25), this.git5 = X(this.git5, 25), this.git6 = X(this.git6, 25), this.git7 = X(this.git7, 25)) : (this.git0 = et(this.git0, 25), this.git1 = et(this.git1, 25), this.git2 = et(this.git2, 25), this.git3 = et(this.git3, 25), this.git4 = et(this.git4, 25), this.git5 = et(this.git5, 25), this.git6 = et(this.git6, 25), this.git7 = et(this.git7, 25)), this.gitInv0 = this.gitInv0 || et(I(this.git0), 25), this.gitInv1 = this.gitInv1 || I(this.git1), this.gitInv2 = this.gitInv2 || I(this.git2), this.gitInv3 = this.gitInv3 || I(this.git3), this.gitInv4 = this.gitInv4 || I(this.git4), this.gitInv5 = this.gitInv5 || I(this.git5), this.gitInv6 = this.gitInv6 || I(this.git6), this.gitInv7 = this.gitInv7 || I(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || I(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || I(this.labelTextColor), this.gitBranchLabel4 = this.gitBranchLabel4 || this.labelTextColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.labelTextColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.labelTextColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.labelTextColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || oa, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || sa;
15763
+ }, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || this.labelBackground, this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || T(this.primaryColor, { h: -30 }), this.git4 = this.git4 || T(this.primaryColor, { h: -60 }), this.git5 = this.git5 || T(this.primaryColor, { h: -90 }), this.git6 = this.git6 || T(this.primaryColor, { h: 60 }), this.git7 = this.git7 || T(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = K(this.git0, 25), this.git1 = K(this.git1, 25), this.git2 = K(this.git2, 25), this.git3 = K(this.git3, 25), this.git4 = K(this.git4, 25), this.git5 = K(this.git5, 25), this.git6 = K(this.git6, 25), this.git7 = K(this.git7, 25)) : (this.git0 = et(this.git0, 25), this.git1 = et(this.git1, 25), this.git2 = et(this.git2, 25), this.git3 = et(this.git3, 25), this.git4 = et(this.git4, 25), this.git5 = et(this.git5, 25), this.git6 = et(this.git6, 25), this.git7 = et(this.git7, 25)), this.gitInv0 = this.gitInv0 || et(I(this.git0), 25), this.gitInv1 = this.gitInv1 || I(this.git1), this.gitInv2 = this.gitInv2 || I(this.git2), this.gitInv3 = this.gitInv3 || I(this.git3), this.gitInv4 = this.gitInv4 || I(this.git4), this.gitInv5 = this.gitInv5 || I(this.git5), this.gitInv6 = this.gitInv6 || I(this.git6), this.gitInv7 = this.gitInv7 || I(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || I(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || I(this.labelTextColor), this.gitBranchLabel4 = this.gitBranchLabel4 || this.labelTextColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.labelTextColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.labelTextColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.labelTextColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || oa, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || sa;
15764
15764
  }
15765
15765
  calculate(e) {
15766
15766
  if (typeof e != "object") {
@@ -15781,7 +15781,7 @@ const ok = (t) => {
15781
15781
  };
15782
15782
  let sk = class {
15783
15783
  constructor() {
15784
- this.background = "#f4f4f4", this.primaryColor = "#cde498", this.secondaryColor = "#cdffb2", this.background = "white", this.mainBkg = "#cde498", this.secondBkg = "#cdffb2", this.lineColor = "green", this.border1 = "#13540c", this.border2 = "#6eaa49", this.arrowheadColor = "green", this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif', this.fontSize = "16px", this.tertiaryColor = X("#cde498", 10), this.primaryBorderColor = Te(this.primaryColor, this.darkMode), this.secondaryBorderColor = Te(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = Te(this.tertiaryColor, this.darkMode), this.primaryTextColor = I(this.primaryColor), this.secondaryTextColor = I(this.secondaryColor), this.tertiaryTextColor = I(this.primaryColor), this.lineColor = I(this.background), this.textColor = I(this.background), this.THEME_COLOR_LIMIT = 12, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "#333", this.edgeLabelBackground = "#e8e8e8", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "black", this.actorLineColor = "grey", this.signalColor = "#333", this.signalTextColor = "#333", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "#326932", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "#fff5ad", this.noteTextColor = "calculated", this.activationBorderColor = "#666", this.activationBkgColor = "#f4f4f4", this.sequenceNumberColor = "white", this.sectionBkgColor = "#6eaa49", this.altSectionBkgColor = "white", this.sectionBkgColor2 = "#6eaa49", this.excludeBkgColor = "#eeeeee", this.taskBorderColor = "calculated", this.taskBkgColor = "#487e3a", this.taskTextLightColor = "white", this.taskTextColor = "calculated", this.taskTextDarkColor = "black", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = "calculated", this.activeTaskBkgColor = "calculated", this.gridColor = "lightgrey", this.doneTaskBkgColor = "lightgrey", this.doneTaskBorderColor = "grey", this.critBorderColor = "#ff8888", this.critBkgColor = "red", this.todayLineColor = "red", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222";
15784
+ this.background = "#f4f4f4", this.primaryColor = "#cde498", this.secondaryColor = "#cdffb2", this.background = "white", this.mainBkg = "#cde498", this.secondBkg = "#cdffb2", this.lineColor = "green", this.border1 = "#13540c", this.border2 = "#6eaa49", this.arrowheadColor = "green", this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif', this.fontSize = "16px", this.tertiaryColor = K("#cde498", 10), this.primaryBorderColor = Te(this.primaryColor, this.darkMode), this.secondaryBorderColor = Te(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = Te(this.tertiaryColor, this.darkMode), this.primaryTextColor = I(this.primaryColor), this.secondaryTextColor = I(this.secondaryColor), this.tertiaryTextColor = I(this.primaryColor), this.lineColor = I(this.background), this.textColor = I(this.background), this.THEME_COLOR_LIMIT = 12, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "#333", this.edgeLabelBackground = "#e8e8e8", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "black", this.actorLineColor = "grey", this.signalColor = "#333", this.signalTextColor = "#333", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "#326932", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "#fff5ad", this.noteTextColor = "calculated", this.activationBorderColor = "#666", this.activationBkgColor = "#f4f4f4", this.sequenceNumberColor = "white", this.sectionBkgColor = "#6eaa49", this.altSectionBkgColor = "white", this.sectionBkgColor2 = "#6eaa49", this.excludeBkgColor = "#eeeeee", this.taskBorderColor = "calculated", this.taskBkgColor = "#487e3a", this.taskTextLightColor = "white", this.taskTextColor = "calculated", this.taskTextDarkColor = "black", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = "calculated", this.activeTaskBkgColor = "calculated", this.gridColor = "lightgrey", this.doneTaskBkgColor = "lightgrey", this.doneTaskBorderColor = "grey", this.critBorderColor = "#ff8888", this.critBkgColor = "red", this.todayLineColor = "red", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222";
15785
15785
  }
15786
15786
  updateColors() {
15787
15787
  var e, i, n, r, o, s, a, l, c, u, d;
@@ -15795,7 +15795,7 @@ let sk = class {
15795
15795
  this["cScaleLabel" + h] = this["cScaleLabel" + h] || this.scaleLabelColor;
15796
15796
  for (let h = 0; h < 5; h++)
15797
15797
  this["surface" + h] = this["surface" + h] || T(this.mainBkg, { h: 30, s: -30, l: -(5 + h * 5) }), this["surfacePeer" + h] = this["surfacePeer" + h] || T(this.mainBkg, { h: 30, s: -30, l: -(8 + h * 5) });
15798
- this.nodeBkg = this.mainBkg, this.nodeBorder = this.border1, this.clusterBkg = this.secondBkg, this.clusterBorder = this.border2, this.defaultLinkColor = this.lineColor, this.taskBorderColor = this.border1, this.taskTextColor = this.taskTextLightColor, this.taskTextOutsideColor = this.taskTextDarkColor, this.activeTaskBorderColor = this.taskBorderColor, this.activeTaskBkgColor = this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.primaryBorderColor, this.specialStateColor = this.lineColor, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.classText = this.primaryTextColor, this.fillType0 = this.primaryColor, this.fillType1 = this.secondaryColor, this.fillType2 = T(this.primaryColor, { h: 64 }), this.fillType3 = T(this.secondaryColor, { h: 64 }), this.fillType4 = T(this.primaryColor, { h: -64 }), this.fillType5 = T(this.secondaryColor, { h: -64 }), this.fillType6 = T(this.primaryColor, { h: 128 }), this.fillType7 = T(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || this.tertiaryColor, this.pie4 = this.pie4 || T(this.primaryColor, { l: -30 }), this.pie5 = this.pie5 || T(this.secondaryColor, { l: -30 }), this.pie6 = this.pie6 || T(this.tertiaryColor, { h: 40, l: -40 }), this.pie7 = this.pie7 || T(this.primaryColor, { h: 60, l: -10 }), this.pie8 = this.pie8 || T(this.primaryColor, { h: -60, l: -10 }), this.pie9 = this.pie9 || T(this.primaryColor, { h: 120, l: 0 }), this.pie10 = this.pie10 || T(this.primaryColor, { h: 60, l: -50 }), this.pie11 = this.pie11 || T(this.primaryColor, { h: -60, l: -50 }), this.pie12 = this.pie12 || T(this.primaryColor, { h: 120, l: -50 }), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || T(this.primaryColor, { r: 5, g: 5, b: 5 }), this.quadrant3Fill = this.quadrant3Fill || T(this.primaryColor, { r: 10, g: 10, b: 10 }), this.quadrant4Fill = this.quadrant4Fill || T(this.primaryColor, { r: 15, g: 15, b: 15 }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || T(this.primaryTextColor, { r: -5, g: -5, b: -5 }), this.quadrant3TextFill = this.quadrant3TextFill || T(this.primaryTextColor, { r: -10, g: -10, b: -10 }), this.quadrant4TextFill = this.quadrant4TextFill || T(this.primaryTextColor, { r: -15, g: -15, b: -15 }), this.quadrantPointFill = this.quadrantPointFill || bo(this.quadrant1Fill) ? X(this.quadrant1Fill) : et(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
15798
+ this.nodeBkg = this.mainBkg, this.nodeBorder = this.border1, this.clusterBkg = this.secondBkg, this.clusterBorder = this.border2, this.defaultLinkColor = this.lineColor, this.taskBorderColor = this.border1, this.taskTextColor = this.taskTextLightColor, this.taskTextOutsideColor = this.taskTextDarkColor, this.activeTaskBorderColor = this.taskBorderColor, this.activeTaskBkgColor = this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.primaryBorderColor, this.specialStateColor = this.lineColor, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.classText = this.primaryTextColor, this.fillType0 = this.primaryColor, this.fillType1 = this.secondaryColor, this.fillType2 = T(this.primaryColor, { h: 64 }), this.fillType3 = T(this.secondaryColor, { h: 64 }), this.fillType4 = T(this.primaryColor, { h: -64 }), this.fillType5 = T(this.secondaryColor, { h: -64 }), this.fillType6 = T(this.primaryColor, { h: 128 }), this.fillType7 = T(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || this.tertiaryColor, this.pie4 = this.pie4 || T(this.primaryColor, { l: -30 }), this.pie5 = this.pie5 || T(this.secondaryColor, { l: -30 }), this.pie6 = this.pie6 || T(this.tertiaryColor, { h: 40, l: -40 }), this.pie7 = this.pie7 || T(this.primaryColor, { h: 60, l: -10 }), this.pie8 = this.pie8 || T(this.primaryColor, { h: -60, l: -10 }), this.pie9 = this.pie9 || T(this.primaryColor, { h: 120, l: 0 }), this.pie10 = this.pie10 || T(this.primaryColor, { h: 60, l: -50 }), this.pie11 = this.pie11 || T(this.primaryColor, { h: -60, l: -50 }), this.pie12 = this.pie12 || T(this.primaryColor, { h: 120, l: -50 }), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || T(this.primaryColor, { r: 5, g: 5, b: 5 }), this.quadrant3Fill = this.quadrant3Fill || T(this.primaryColor, { r: 10, g: 10, b: 10 }), this.quadrant4Fill = this.quadrant4Fill || T(this.primaryColor, { r: 15, g: 15, b: 15 }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || T(this.primaryTextColor, { r: -5, g: -5, b: -5 }), this.quadrant3TextFill = this.quadrant3TextFill || T(this.primaryTextColor, { r: -10, g: -10, b: -10 }), this.quadrant4TextFill = this.quadrant4TextFill || T(this.primaryTextColor, { r: -15, g: -15, b: -15 }), this.quadrantPointFill = this.quadrantPointFill || bo(this.quadrant1Fill) ? K(this.quadrant1Fill) : et(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
15799
15799
  backgroundColor: ((e = this.xyChart) == null ? void 0 : e.backgroundColor) || this.background,
15800
15800
  titleColor: ((i = this.xyChart) == null ? void 0 : i.titleColor) || this.primaryTextColor,
15801
15801
  xAxisTitleColor: ((n = this.xyChart) == null ? void 0 : n.xAxisTitleColor) || this.primaryTextColor,
@@ -15807,7 +15807,7 @@ let sk = class {
15807
15807
  yAxisTickColor: ((c = this.xyChart) == null ? void 0 : c.yAxisTickColor) || this.primaryTextColor,
15808
15808
  yAxisLineColor: ((u = this.xyChart) == null ? void 0 : u.yAxisLineColor) || this.primaryTextColor,
15809
15809
  plotColorPalette: ((d = this.xyChart) == null ? void 0 : d.plotColorPalette) || "#CDE498,#FF6B6B,#A0D2DB,#D7BDE2,#F0F0F0,#FFC3A0,#7FD8BE,#FF9A8B,#FAF3E0,#FFF176"
15810
- }, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || this.edgeLabelBackground, this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || T(this.primaryColor, { h: -30 }), this.git4 = this.git4 || T(this.primaryColor, { h: -60 }), this.git5 = this.git5 || T(this.primaryColor, { h: -90 }), this.git6 = this.git6 || T(this.primaryColor, { h: 60 }), this.git7 = this.git7 || T(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = X(this.git0, 25), this.git1 = X(this.git1, 25), this.git2 = X(this.git2, 25), this.git3 = X(this.git3, 25), this.git4 = X(this.git4, 25), this.git5 = X(this.git5, 25), this.git6 = X(this.git6, 25), this.git7 = X(this.git7, 25)) : (this.git0 = et(this.git0, 25), this.git1 = et(this.git1, 25), this.git2 = et(this.git2, 25), this.git3 = et(this.git3, 25), this.git4 = et(this.git4, 25), this.git5 = et(this.git5, 25), this.git6 = et(this.git6, 25), this.git7 = et(this.git7, 25)), this.gitInv0 = this.gitInv0 || I(this.git0), this.gitInv1 = this.gitInv1 || I(this.git1), this.gitInv2 = this.gitInv2 || I(this.git2), this.gitInv3 = this.gitInv3 || I(this.git3), this.gitInv4 = this.gitInv4 || I(this.git4), this.gitInv5 = this.gitInv5 || I(this.git5), this.gitInv6 = this.gitInv6 || I(this.git6), this.gitInv7 = this.gitInv7 || I(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || I(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || I(this.labelTextColor), this.gitBranchLabel4 = this.gitBranchLabel4 || this.labelTextColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.labelTextColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.labelTextColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.labelTextColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || oa, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || sa;
15810
+ }, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || this.edgeLabelBackground, this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || T(this.primaryColor, { h: -30 }), this.git4 = this.git4 || T(this.primaryColor, { h: -60 }), this.git5 = this.git5 || T(this.primaryColor, { h: -90 }), this.git6 = this.git6 || T(this.primaryColor, { h: 60 }), this.git7 = this.git7 || T(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = K(this.git0, 25), this.git1 = K(this.git1, 25), this.git2 = K(this.git2, 25), this.git3 = K(this.git3, 25), this.git4 = K(this.git4, 25), this.git5 = K(this.git5, 25), this.git6 = K(this.git6, 25), this.git7 = K(this.git7, 25)) : (this.git0 = et(this.git0, 25), this.git1 = et(this.git1, 25), this.git2 = et(this.git2, 25), this.git3 = et(this.git3, 25), this.git4 = et(this.git4, 25), this.git5 = et(this.git5, 25), this.git6 = et(this.git6, 25), this.git7 = et(this.git7, 25)), this.gitInv0 = this.gitInv0 || I(this.git0), this.gitInv1 = this.gitInv1 || I(this.git1), this.gitInv2 = this.gitInv2 || I(this.git2), this.gitInv3 = this.gitInv3 || I(this.git3), this.gitInv4 = this.gitInv4 || I(this.git4), this.gitInv5 = this.gitInv5 || I(this.git5), this.gitInv6 = this.gitInv6 || I(this.git6), this.gitInv7 = this.gitInv7 || I(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || I(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || I(this.labelTextColor), this.gitBranchLabel4 = this.gitBranchLabel4 || this.labelTextColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.labelTextColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.labelTextColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.labelTextColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || oa, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || sa;
15811
15811
  }
15812
15812
  calculate(e) {
15813
15813
  if (typeof e != "object") {
@@ -15828,24 +15828,24 @@ const ak = (t) => {
15828
15828
  };
15829
15829
  class lk {
15830
15830
  constructor() {
15831
- this.primaryColor = "#eee", this.contrast = "#707070", this.secondaryColor = X(this.contrast, 55), this.background = "#ffffff", this.tertiaryColor = T(this.primaryColor, { h: -160 }), this.primaryBorderColor = Te(this.primaryColor, this.darkMode), this.secondaryBorderColor = Te(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = Te(this.tertiaryColor, this.darkMode), this.primaryTextColor = I(this.primaryColor), this.secondaryTextColor = I(this.secondaryColor), this.tertiaryTextColor = I(this.tertiaryColor), this.lineColor = I(this.background), this.textColor = I(this.background), this.mainBkg = "#eee", this.secondBkg = "calculated", this.lineColor = "#666", this.border1 = "#999", this.border2 = "calculated", this.note = "#ffa", this.text = "#333", this.critical = "#d42", this.done = "#bbb", this.arrowheadColor = "#333333", this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif', this.fontSize = "16px", this.THEME_COLOR_LIMIT = 12, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "calculated", this.edgeLabelBackground = "white", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "calculated", this.actorLineColor = "calculated", this.signalColor = "calculated", this.signalTextColor = "calculated", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "calculated", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "calculated", this.noteTextColor = "calculated", this.activationBorderColor = "#666", this.activationBkgColor = "#f4f4f4", this.sequenceNumberColor = "white", this.sectionBkgColor = "calculated", this.altSectionBkgColor = "white", this.sectionBkgColor2 = "calculated", this.excludeBkgColor = "#eeeeee", this.taskBorderColor = "calculated", this.taskBkgColor = "calculated", this.taskTextLightColor = "white", this.taskTextColor = "calculated", this.taskTextDarkColor = "calculated", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = "calculated", this.activeTaskBkgColor = "calculated", this.gridColor = "calculated", this.doneTaskBkgColor = "calculated", this.doneTaskBorderColor = "calculated", this.critBkgColor = "calculated", this.critBorderColor = "calculated", this.todayLineColor = "calculated", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222";
15831
+ this.primaryColor = "#eee", this.contrast = "#707070", this.secondaryColor = K(this.contrast, 55), this.background = "#ffffff", this.tertiaryColor = T(this.primaryColor, { h: -160 }), this.primaryBorderColor = Te(this.primaryColor, this.darkMode), this.secondaryBorderColor = Te(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = Te(this.tertiaryColor, this.darkMode), this.primaryTextColor = I(this.primaryColor), this.secondaryTextColor = I(this.secondaryColor), this.tertiaryTextColor = I(this.tertiaryColor), this.lineColor = I(this.background), this.textColor = I(this.background), this.mainBkg = "#eee", this.secondBkg = "calculated", this.lineColor = "#666", this.border1 = "#999", this.border2 = "calculated", this.note = "#ffa", this.text = "#333", this.critical = "#d42", this.done = "#bbb", this.arrowheadColor = "#333333", this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif', this.fontSize = "16px", this.THEME_COLOR_LIMIT = 12, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "calculated", this.edgeLabelBackground = "white", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "calculated", this.actorLineColor = "calculated", this.signalColor = "calculated", this.signalTextColor = "calculated", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "calculated", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "calculated", this.noteTextColor = "calculated", this.activationBorderColor = "#666", this.activationBkgColor = "#f4f4f4", this.sequenceNumberColor = "white", this.sectionBkgColor = "calculated", this.altSectionBkgColor = "white", this.sectionBkgColor2 = "calculated", this.excludeBkgColor = "#eeeeee", this.taskBorderColor = "calculated", this.taskBkgColor = "calculated", this.taskTextLightColor = "white", this.taskTextColor = "calculated", this.taskTextDarkColor = "calculated", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = "calculated", this.activeTaskBkgColor = "calculated", this.gridColor = "calculated", this.doneTaskBkgColor = "calculated", this.doneTaskBorderColor = "calculated", this.critBkgColor = "calculated", this.critBorderColor = "calculated", this.todayLineColor = "calculated", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222";
15832
15832
  }
15833
15833
  updateColors() {
15834
15834
  var e, i, n, r, o, s, a, l, c, u, d;
15835
- this.secondBkg = X(this.contrast, 55), this.border2 = this.contrast, this.actorBorder = X(this.border1, 23), this.actorBkg = this.mainBkg, this.actorTextColor = this.text, this.actorLineColor = this.lineColor, this.signalColor = this.text, this.signalTextColor = this.text, this.labelBoxBkgColor = this.actorBkg, this.labelBoxBorderColor = this.actorBorder, this.labelTextColor = this.text, this.loopTextColor = this.text, this.noteBorderColor = "#999", this.noteBkgColor = "#666", this.noteTextColor = "#fff", this.cScale0 = this.cScale0 || "#555", this.cScale1 = this.cScale1 || "#F4F4F4", this.cScale2 = this.cScale2 || "#555", this.cScale3 = this.cScale3 || "#BBB", this.cScale4 = this.cScale4 || "#777", this.cScale5 = this.cScale5 || "#999", this.cScale6 = this.cScale6 || "#DDD", this.cScale7 = this.cScale7 || "#FFF", this.cScale8 = this.cScale8 || "#DDD", this.cScale9 = this.cScale9 || "#BBB", this.cScale10 = this.cScale10 || "#999", this.cScale11 = this.cScale11 || "#777";
15835
+ this.secondBkg = K(this.contrast, 55), this.border2 = this.contrast, this.actorBorder = K(this.border1, 23), this.actorBkg = this.mainBkg, this.actorTextColor = this.text, this.actorLineColor = this.lineColor, this.signalColor = this.text, this.signalTextColor = this.text, this.labelBoxBkgColor = this.actorBkg, this.labelBoxBorderColor = this.actorBorder, this.labelTextColor = this.text, this.loopTextColor = this.text, this.noteBorderColor = "#999", this.noteBkgColor = "#666", this.noteTextColor = "#fff", this.cScale0 = this.cScale0 || "#555", this.cScale1 = this.cScale1 || "#F4F4F4", this.cScale2 = this.cScale2 || "#555", this.cScale3 = this.cScale3 || "#BBB", this.cScale4 = this.cScale4 || "#777", this.cScale5 = this.cScale5 || "#999", this.cScale6 = this.cScale6 || "#DDD", this.cScale7 = this.cScale7 || "#FFF", this.cScale8 = this.cScale8 || "#DDD", this.cScale9 = this.cScale9 || "#BBB", this.cScale10 = this.cScale10 || "#999", this.cScale11 = this.cScale11 || "#777";
15836
15836
  for (let h = 0; h < this.THEME_COLOR_LIMIT; h++)
15837
15837
  this["cScaleInv" + h] = this["cScaleInv" + h] || I(this["cScale" + h]);
15838
15838
  for (let h = 0; h < this.THEME_COLOR_LIMIT; h++)
15839
- this.darkMode ? this["cScalePeer" + h] = this["cScalePeer" + h] || X(this["cScale" + h], 10) : this["cScalePeer" + h] = this["cScalePeer" + h] || et(this["cScale" + h], 10);
15839
+ this.darkMode ? this["cScalePeer" + h] = this["cScalePeer" + h] || K(this["cScale" + h], 10) : this["cScalePeer" + h] = this["cScalePeer" + h] || et(this["cScale" + h], 10);
15840
15840
  this.scaleLabelColor = this.scaleLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.cScaleLabel0 = this.cScaleLabel0 || this.cScale1, this.cScaleLabel2 = this.cScaleLabel2 || this.cScale1;
15841
15841
  for (let h = 0; h < this.THEME_COLOR_LIMIT; h++)
15842
15842
  this["cScaleLabel" + h] = this["cScaleLabel" + h] || this.scaleLabelColor;
15843
15843
  for (let h = 0; h < 5; h++)
15844
15844
  this["surface" + h] = this["surface" + h] || T(this.mainBkg, { l: -(5 + h * 5) }), this["surfacePeer" + h] = this["surfacePeer" + h] || T(this.mainBkg, { l: -(8 + h * 5) });
15845
- this.nodeBkg = this.mainBkg, this.nodeBorder = this.border1, this.clusterBkg = this.secondBkg, this.clusterBorder = this.border2, this.defaultLinkColor = this.lineColor, this.titleColor = this.text, this.sectionBkgColor = X(this.contrast, 30), this.sectionBkgColor2 = X(this.contrast, 30), this.taskBorderColor = et(this.contrast, 10), this.taskBkgColor = this.contrast, this.taskTextColor = this.taskTextLightColor, this.taskTextDarkColor = this.text, this.taskTextOutsideColor = this.taskTextDarkColor, this.activeTaskBorderColor = this.taskBorderColor, this.activeTaskBkgColor = this.mainBkg, this.gridColor = X(this.border1, 30), this.doneTaskBkgColor = this.done, this.doneTaskBorderColor = this.lineColor, this.critBkgColor = this.critical, this.critBorderColor = et(this.critBkgColor, 10), this.todayLineColor = this.critBkgColor, this.transitionColor = this.transitionColor || "#000", this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f4f4f4", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.stateBorder = this.stateBorder || "#000", this.innerEndBackground = this.primaryBorderColor, this.specialStateColor = "#222", this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.classText = this.primaryTextColor, this.fillType0 = this.primaryColor, this.fillType1 = this.secondaryColor, this.fillType2 = T(this.primaryColor, { h: 64 }), this.fillType3 = T(this.secondaryColor, { h: 64 }), this.fillType4 = T(this.primaryColor, { h: -64 }), this.fillType5 = T(this.secondaryColor, { h: -64 }), this.fillType6 = T(this.primaryColor, { h: 128 }), this.fillType7 = T(this.secondaryColor, { h: 128 });
15845
+ this.nodeBkg = this.mainBkg, this.nodeBorder = this.border1, this.clusterBkg = this.secondBkg, this.clusterBorder = this.border2, this.defaultLinkColor = this.lineColor, this.titleColor = this.text, this.sectionBkgColor = K(this.contrast, 30), this.sectionBkgColor2 = K(this.contrast, 30), this.taskBorderColor = et(this.contrast, 10), this.taskBkgColor = this.contrast, this.taskTextColor = this.taskTextLightColor, this.taskTextDarkColor = this.text, this.taskTextOutsideColor = this.taskTextDarkColor, this.activeTaskBorderColor = this.taskBorderColor, this.activeTaskBkgColor = this.mainBkg, this.gridColor = K(this.border1, 30), this.doneTaskBkgColor = this.done, this.doneTaskBorderColor = this.lineColor, this.critBkgColor = this.critical, this.critBorderColor = et(this.critBkgColor, 10), this.todayLineColor = this.critBkgColor, this.transitionColor = this.transitionColor || "#000", this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f4f4f4", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.stateBorder = this.stateBorder || "#000", this.innerEndBackground = this.primaryBorderColor, this.specialStateColor = "#222", this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.classText = this.primaryTextColor, this.fillType0 = this.primaryColor, this.fillType1 = this.secondaryColor, this.fillType2 = T(this.primaryColor, { h: 64 }), this.fillType3 = T(this.secondaryColor, { h: 64 }), this.fillType4 = T(this.primaryColor, { h: -64 }), this.fillType5 = T(this.secondaryColor, { h: -64 }), this.fillType6 = T(this.primaryColor, { h: 128 }), this.fillType7 = T(this.secondaryColor, { h: 128 });
15846
15846
  for (let h = 0; h < this.THEME_COLOR_LIMIT; h++)
15847
15847
  this["pie" + h] = this["cScale" + h];
15848
- this.pie12 = this.pie0, this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || T(this.primaryColor, { r: 5, g: 5, b: 5 }), this.quadrant3Fill = this.quadrant3Fill || T(this.primaryColor, { r: 10, g: 10, b: 10 }), this.quadrant4Fill = this.quadrant4Fill || T(this.primaryColor, { r: 15, g: 15, b: 15 }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || T(this.primaryTextColor, { r: -5, g: -5, b: -5 }), this.quadrant3TextFill = this.quadrant3TextFill || T(this.primaryTextColor, { r: -10, g: -10, b: -10 }), this.quadrant4TextFill = this.quadrant4TextFill || T(this.primaryTextColor, { r: -15, g: -15, b: -15 }), this.quadrantPointFill = this.quadrantPointFill || bo(this.quadrant1Fill) ? X(this.quadrant1Fill) : et(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
15848
+ this.pie12 = this.pie0, this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || T(this.primaryColor, { r: 5, g: 5, b: 5 }), this.quadrant3Fill = this.quadrant3Fill || T(this.primaryColor, { r: 10, g: 10, b: 10 }), this.quadrant4Fill = this.quadrant4Fill || T(this.primaryColor, { r: 15, g: 15, b: 15 }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || T(this.primaryTextColor, { r: -5, g: -5, b: -5 }), this.quadrant3TextFill = this.quadrant3TextFill || T(this.primaryTextColor, { r: -10, g: -10, b: -10 }), this.quadrant4TextFill = this.quadrant4TextFill || T(this.primaryTextColor, { r: -15, g: -15, b: -15 }), this.quadrantPointFill = this.quadrantPointFill || bo(this.quadrant1Fill) ? K(this.quadrant1Fill) : et(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
15849
15849
  backgroundColor: ((e = this.xyChart) == null ? void 0 : e.backgroundColor) || this.background,
15850
15850
  titleColor: ((i = this.xyChart) == null ? void 0 : i.titleColor) || this.primaryTextColor,
15851
15851
  xAxisTitleColor: ((n = this.xyChart) == null ? void 0 : n.xAxisTitleColor) || this.primaryTextColor,
@@ -16957,7 +16957,7 @@ const la = (t, e) => {
16957
16957
  }, Jm = (t) => {
16958
16958
  t && (t.lazyLoadedDiagrams || t.loadExternalDiagramsAtStartup) && Gk("LAZY_LOAD_DEPRECATED");
16959
16959
  }, t2 = "c4", Yk = (t) => /^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t), Kk = async () => {
16960
- const { diagram: t } = await import("./c4Diagram-3d4e48cf-DWHJFP40.mjs");
16960
+ const { diagram: t } = await import("./c4Diagram-3d4e48cf-DUYZvXNS.mjs");
16961
16961
  return { id: t2, diagram: t };
16962
16962
  }, Xk = {
16963
16963
  id: t2,
@@ -16967,7 +16967,7 @@ const la = (t, e) => {
16967
16967
  var i, n;
16968
16968
  return ((i = e == null ? void 0 : e.flowchart) == null ? void 0 : i.defaultRenderer) === "dagre-wrapper" || ((n = e == null ? void 0 : e.flowchart) == null ? void 0 : n.defaultRenderer) === "elk" ? !1 : /^\s*graph/.test(t);
16969
16969
  }, Jk = async () => {
16970
- const { diagram: t } = await import("./flowDiagram-66a62f08-Imr3hR7K.mjs");
16970
+ const { diagram: t } = await import("./flowDiagram-66a62f08-DTSCxiaO.mjs");
16971
16971
  return { id: e2, diagram: t };
16972
16972
  }, tA = {
16973
16973
  id: e2,
@@ -16977,70 +16977,70 @@ const la = (t, e) => {
16977
16977
  var i, n, r;
16978
16978
  return ((i = e == null ? void 0 : e.flowchart) == null ? void 0 : i.defaultRenderer) === "dagre-d3" || ((n = e == null ? void 0 : e.flowchart) == null ? void 0 : n.defaultRenderer) === "elk" ? !1 : /^\s*graph/.test(t) && ((r = e == null ? void 0 : e.flowchart) == null ? void 0 : r.defaultRenderer) === "dagre-wrapper" ? !0 : /^\s*flowchart/.test(t);
16979
16979
  }, nA = async () => {
16980
- const { diagram: t } = await import("./flowDiagram-v2-96b9c2cf-DB5hIxrE.mjs");
16980
+ const { diagram: t } = await import("./flowDiagram-v2-96b9c2cf-Bz0BpfaO.mjs");
16981
16981
  return { id: i2, diagram: t };
16982
16982
  }, rA = {
16983
16983
  id: i2,
16984
16984
  detector: iA,
16985
16985
  loader: nA
16986
16986
  }, oA = rA, n2 = "er", sA = (t) => /^\s*erDiagram/.test(t), aA = async () => {
16987
- const { diagram: t } = await import("./erDiagram-9861fffd-C1nO1WN0.mjs");
16987
+ const { diagram: t } = await import("./erDiagram-9861fffd-DJsugL2L.mjs");
16988
16988
  return { id: n2, diagram: t };
16989
16989
  }, lA = {
16990
16990
  id: n2,
16991
16991
  detector: sA,
16992
16992
  loader: aA
16993
16993
  }, cA = lA, r2 = "gitGraph", uA = (t) => /^\s*gitGraph/.test(t), hA = async () => {
16994
- const { diagram: t } = await import("./gitGraphDiagram-72cf32ee-BB8pdixb.mjs");
16994
+ const { diagram: t } = await import("./gitGraphDiagram-72cf32ee-PoLFn_vg.mjs");
16995
16995
  return { id: r2, diagram: t };
16996
16996
  }, dA = {
16997
16997
  id: r2,
16998
16998
  detector: uA,
16999
16999
  loader: hA
17000
17000
  }, fA = dA, o2 = "gantt", pA = (t) => /^\s*gantt/.test(t), mA = async () => {
17001
- const { diagram: t } = await import("./ganttDiagram-c361ad54-DLsGONzw.mjs");
17001
+ const { diagram: t } = await import("./ganttDiagram-c361ad54-TxRx5v5U.mjs");
17002
17002
  return { id: o2, diagram: t };
17003
17003
  }, gA = {
17004
17004
  id: o2,
17005
17005
  detector: pA,
17006
17006
  loader: mA
17007
17007
  }, vA = gA, s2 = "info", yA = (t) => /^\s*info/.test(t), bA = async () => {
17008
- const { diagram: t } = await import("./infoDiagram-f8f76790-CKNn2DgT.mjs");
17008
+ const { diagram: t } = await import("./infoDiagram-f8f76790-BKH9M9Fs.mjs");
17009
17009
  return { id: s2, diagram: t };
17010
17010
  }, xA = {
17011
17011
  id: s2,
17012
17012
  detector: yA,
17013
17013
  loader: bA
17014
17014
  }, a2 = "pie", CA = (t) => /^\s*pie/.test(t), _A = async () => {
17015
- const { diagram: t } = await import("./pieDiagram-8a3498a8-u9K1XGnZ.mjs");
17015
+ const { diagram: t } = await import("./pieDiagram-8a3498a8-fVCSsk5l.mjs");
17016
17016
  return { id: a2, diagram: t };
17017
17017
  }, wA = {
17018
17018
  id: a2,
17019
17019
  detector: CA,
17020
17020
  loader: _A
17021
17021
  }, l2 = "quadrantChart", TA = (t) => /^\s*quadrantChart/.test(t), SA = async () => {
17022
- const { diagram: t } = await import("./quadrantDiagram-120e2f19-BoCMwXIR.mjs");
17022
+ const { diagram: t } = await import("./quadrantDiagram-120e2f19-CQSZe5tq.mjs");
17023
17023
  return { id: l2, diagram: t };
17024
17024
  }, kA = {
17025
17025
  id: l2,
17026
17026
  detector: TA,
17027
17027
  loader: SA
17028
17028
  }, AA = kA, c2 = "xychart", BA = (t) => /^\s*xychart-beta/.test(t), EA = async () => {
17029
- const { diagram: t } = await import("./xychartDiagram-e933f94c-DjFm9vDd.mjs");
17029
+ const { diagram: t } = await import("./xychartDiagram-e933f94c-Czj7mU-J.mjs");
17030
17030
  return { id: c2, diagram: t };
17031
17031
  }, LA = {
17032
17032
  id: c2,
17033
17033
  detector: BA,
17034
17034
  loader: EA
17035
17035
  }, MA = LA, u2 = "requirement", FA = (t) => /^\s*requirement(Diagram)?/.test(t), OA = async () => {
17036
- const { diagram: t } = await import("./requirementDiagram-deff3bca-CMjlHGZG.mjs");
17036
+ const { diagram: t } = await import("./requirementDiagram-deff3bca-CDGsrmCL.mjs");
17037
17037
  return { id: u2, diagram: t };
17038
17038
  }, PA = {
17039
17039
  id: u2,
17040
17040
  detector: FA,
17041
17041
  loader: OA
17042
17042
  }, DA = PA, h2 = "sequence", zA = (t) => /^\s*sequenceDiagram/.test(t), IA = async () => {
17043
- const { diagram: t } = await import("./sequenceDiagram-704730f1-B1wo8HPv.mjs");
17043
+ const { diagram: t } = await import("./sequenceDiagram-704730f1-Bf_M_doP.mjs");
17044
17044
  return { id: h2, diagram: t };
17045
17045
  }, RA = {
17046
17046
  id: h2,
@@ -17050,7 +17050,7 @@ const la = (t, e) => {
17050
17050
  var i;
17051
17051
  return ((i = e == null ? void 0 : e.class) == null ? void 0 : i.defaultRenderer) === "dagre-wrapper" ? !1 : /^\s*classDiagram/.test(t);
17052
17052
  }, HA = async () => {
17053
- const { diagram: t } = await import("./classDiagram-70f12bd4-MpJbEzje.mjs");
17053
+ const { diagram: t } = await import("./classDiagram-70f12bd4-B3SCyfmH.mjs");
17054
17054
  return { id: d2, diagram: t };
17055
17055
  }, jA = {
17056
17056
  id: d2,
@@ -17060,7 +17060,7 @@ const la = (t, e) => {
17060
17060
  var i;
17061
17061
  return /^\s*classDiagram/.test(t) && ((i = e == null ? void 0 : e.class) == null ? void 0 : i.defaultRenderer) === "dagre-wrapper" ? !0 : /^\s*classDiagram-v2/.test(t);
17062
17062
  }, qA = async () => {
17063
- const { diagram: t } = await import("./classDiagram-v2-f2320105-DK62eg4E.mjs");
17063
+ const { diagram: t } = await import("./classDiagram-v2-f2320105-CpU8HBJY.mjs");
17064
17064
  return { id: f2, diagram: t };
17065
17065
  }, UA = {
17066
17066
  id: f2,
@@ -17070,7 +17070,7 @@ const la = (t, e) => {
17070
17070
  var i;
17071
17071
  return ((i = e == null ? void 0 : e.state) == null ? void 0 : i.defaultRenderer) === "dagre-wrapper" ? !1 : /^\s*stateDiagram/.test(t);
17072
17072
  }, KA = async () => {
17073
- const { diagram: t } = await import("./stateDiagram-587899a1-C3C3dKXv.mjs");
17073
+ const { diagram: t } = await import("./stateDiagram-587899a1-Dh4WA0sX.mjs");
17074
17074
  return { id: p2, diagram: t };
17075
17075
  }, XA = {
17076
17076
  id: p2,
@@ -17080,14 +17080,14 @@ const la = (t, e) => {
17080
17080
  var i;
17081
17081
  return !!(/^\s*stateDiagram-v2/.test(t) || /^\s*stateDiagram/.test(t) && ((i = e == null ? void 0 : e.state) == null ? void 0 : i.defaultRenderer) === "dagre-wrapper");
17082
17082
  }, JA = async () => {
17083
- const { diagram: t } = await import("./stateDiagram-v2-d93cdb3a-D9MBpSz-.mjs");
17083
+ const { diagram: t } = await import("./stateDiagram-v2-d93cdb3a-CqtrrShU.mjs");
17084
17084
  return { id: m2, diagram: t };
17085
17085
  }, tB = {
17086
17086
  id: m2,
17087
17087
  detector: ZA,
17088
17088
  loader: JA
17089
17089
  }, eB = tB, g2 = "journey", iB = (t) => /^\s*journey/.test(t), nB = async () => {
17090
- const { diagram: t } = await import("./journeyDiagram-49397b02-B1eZj3zK.mjs");
17090
+ const { diagram: t } = await import("./journeyDiagram-49397b02-D5kh2-v-.mjs");
17091
17091
  return { id: g2, diagram: t };
17092
17092
  }, rB = {
17093
17093
  id: g2,
@@ -17256,35 +17256,35 @@ const kB = (t) => {
17256
17256
  /^\s*flowchart|graph/.test(t) && ((i = e == null ? void 0 : e.flowchart) == null ? void 0 : i.defaultRenderer) === "elk")
17257
17257
  );
17258
17258
  }, FB = async () => {
17259
- const { diagram: t } = await import("./flowchart-elk-definition-4a651766-BsDFMdqN.mjs");
17259
+ const { diagram: t } = await import("./flowchart-elk-definition-4a651766-C4Ej8oJD.mjs");
17260
17260
  return { id: b2, diagram: t };
17261
17261
  }, OB = {
17262
17262
  id: b2,
17263
17263
  detector: MB,
17264
17264
  loader: FB
17265
17265
  }, PB = OB, x2 = "timeline", DB = (t) => /^\s*timeline/.test(t), zB = async () => {
17266
- const { diagram: t } = await import("./timeline-definition-85554ec2-BEqMAe5o.mjs");
17266
+ const { diagram: t } = await import("./timeline-definition-85554ec2-CcXZk-s5.mjs");
17267
17267
  return { id: x2, diagram: t };
17268
17268
  }, IB = {
17269
17269
  id: x2,
17270
17270
  detector: DB,
17271
17271
  loader: zB
17272
17272
  }, RB = IB, C2 = "mindmap", VB = (t) => /^\s*mindmap/.test(t), NB = async () => {
17273
- const { diagram: t } = await import("./mindmap-definition-fc14e90a-CK_fF03Q.mjs");
17273
+ const { diagram: t } = await import("./mindmap-definition-fc14e90a-Cj0MKnKi.mjs");
17274
17274
  return { id: C2, diagram: t };
17275
17275
  }, HB = {
17276
17276
  id: C2,
17277
17277
  detector: VB,
17278
17278
  loader: NB
17279
17279
  }, jB = HB, _2 = "sankey", $B = (t) => /^\s*sankey-beta/.test(t), WB = async () => {
17280
- const { diagram: t } = await import("./sankeyDiagram-04a897e0-DAj4E6NE.mjs");
17280
+ const { diagram: t } = await import("./sankeyDiagram-04a897e0-ByjHUK4C.mjs");
17281
17281
  return { id: _2, diagram: t };
17282
17282
  }, qB = {
17283
17283
  id: _2,
17284
17284
  detector: $B,
17285
17285
  loader: WB
17286
17286
  }, UB = qB, w2 = "block", GB = (t) => /^\s*block-beta/.test(t), YB = async () => {
17287
- const { diagram: t } = await import("./blockDiagram-38ab4fdb-DJwSg4aV.mjs");
17287
+ const { diagram: t } = await import("./blockDiagram-38ab4fdb-Byy7YGqv.mjs");
17288
17288
  return { id: w2, diagram: t };
17289
17289
  }, KB = {
17290
17290
  id: w2,
@@ -18051,7 +18051,7 @@ function z2(t, e) {
18051
18051
  };
18052
18052
  return i.snippet = mE(i), new Pi(e, i);
18053
18053
  }
18054
- function Q(t, e) {
18054
+ function X(t, e) {
18055
18055
  throw z2(t, e);
18056
18056
  }
18057
18057
  function Ds(t, e) {
@@ -18060,15 +18060,15 @@ function Ds(t, e) {
18060
18060
  var rp = {
18061
18061
  YAML: function(e, i, n) {
18062
18062
  var r, o, s;
18063
- e.version !== null && Q(e, "duplication of %YAML directive"), n.length !== 1 && Q(e, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(n[0]), r === null && Q(e, "ill-formed argument of the YAML directive"), o = parseInt(r[1], 10), s = parseInt(r[2], 10), o !== 1 && Q(e, "unacceptable YAML version of the document"), e.version = n[0], e.checkLineBreaks = s < 2, s !== 1 && s !== 2 && Ds(e, "unsupported YAML version of the document");
18063
+ e.version !== null && X(e, "duplication of %YAML directive"), n.length !== 1 && X(e, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(n[0]), r === null && X(e, "ill-formed argument of the YAML directive"), o = parseInt(r[1], 10), s = parseInt(r[2], 10), o !== 1 && X(e, "unacceptable YAML version of the document"), e.version = n[0], e.checkLineBreaks = s < 2, s !== 1 && s !== 2 && Ds(e, "unsupported YAML version of the document");
18064
18064
  },
18065
18065
  TAG: function(e, i, n) {
18066
18066
  var r, o;
18067
- n.length !== 2 && Q(e, "TAG directive accepts exactly two arguments"), r = n[0], o = n[1], F2.test(r) || Q(e, "ill-formed tag handle (first argument) of the TAG directive"), an.call(e.tagMap, r) && Q(e, 'there is a previously declared suffix for "' + r + '" tag handle'), O2.test(o) || Q(e, "ill-formed tag prefix (second argument) of the TAG directive");
18067
+ n.length !== 2 && X(e, "TAG directive accepts exactly two arguments"), r = n[0], o = n[1], F2.test(r) || X(e, "ill-formed tag handle (first argument) of the TAG directive"), an.call(e.tagMap, r) && X(e, 'there is a previously declared suffix for "' + r + '" tag handle'), O2.test(o) || X(e, "ill-formed tag prefix (second argument) of the TAG directive");
18068
18068
  try {
18069
18069
  o = decodeURIComponent(o);
18070
18070
  } catch {
18071
- Q(e, "tag prefix is malformed: " + o);
18071
+ X(e, "tag prefix is malformed: " + o);
18072
18072
  }
18073
18073
  e.tagMap[r] = o;
18074
18074
  }
@@ -18078,21 +18078,21 @@ function nn(t, e, i, n) {
18078
18078
  if (e < i) {
18079
18079
  if (a = t.input.slice(e, i), n)
18080
18080
  for (r = 0, o = a.length; r < o; r += 1)
18081
- s = a.charCodeAt(r), s === 9 || 32 <= s && s <= 1114111 || Q(t, "expected valid JSON character");
18082
- else CL.test(a) && Q(t, "the stream contains non-printable characters");
18081
+ s = a.charCodeAt(r), s === 9 || 32 <= s && s <= 1114111 || X(t, "expected valid JSON character");
18082
+ else CL.test(a) && X(t, "the stream contains non-printable characters");
18083
18083
  t.result += a;
18084
18084
  }
18085
18085
  }
18086
18086
  function op(t, e, i, n) {
18087
18087
  var r, o, s, a;
18088
- for (we.isObject(i) || Q(t, "cannot merge mappings; the provided source object is unacceptable"), r = Object.keys(i), s = 0, a = r.length; s < a; s += 1)
18088
+ for (we.isObject(i) || X(t, "cannot merge mappings; the provided source object is unacceptable"), r = Object.keys(i), s = 0, a = r.length; s < a; s += 1)
18089
18089
  o = r[s], an.call(e, o) || (e[o] = i[o], n[o] = !0);
18090
18090
  }
18091
18091
  function Vn(t, e, i, n, r, o, s, a, l) {
18092
18092
  var c, u;
18093
18093
  if (Array.isArray(r))
18094
18094
  for (r = Array.prototype.slice.call(r), c = 0, u = r.length; c < u; c += 1)
18095
- Array.isArray(r[c]) && Q(t, "nested arrays are not supported inside keys"), typeof r == "object" && ip(r[c]) === "[object Object]" && (r[c] = "[object Object]");
18095
+ Array.isArray(r[c]) && X(t, "nested arrays are not supported inside keys"), typeof r == "object" && ip(r[c]) === "[object Object]" && (r[c] = "[object Object]");
18096
18096
  if (typeof r == "object" && ip(r) === "[object Object]" && (r = "[object Object]"), r = String(r), e === null && (e = {}), n === "tag:yaml.org,2002:merge")
18097
18097
  if (Array.isArray(o))
18098
18098
  for (c = 0, u = o.length; c < u; c += 1)
@@ -18100,7 +18100,7 @@ function Vn(t, e, i, n, r, o, s, a, l) {
18100
18100
  else
18101
18101
  op(t, e, o, i);
18102
18102
  else
18103
- !t.json && !an.call(i, r) && an.call(e, r) && (t.line = s || t.line, t.lineStart = a || t.lineStart, t.position = l || t.position, Q(t, "duplicated mapping key")), r === "__proto__" ? Object.defineProperty(e, r, {
18103
+ !t.json && !an.call(i, r) && an.call(e, r) && (t.line = s || t.line, t.lineStart = a || t.lineStart, t.position = l || t.position, X(t, "duplicated mapping key")), r === "__proto__" ? Object.defineProperty(e, r, {
18104
18104
  configurable: !0,
18105
18105
  enumerable: !0,
18106
18106
  writable: !0,
@@ -18110,7 +18110,7 @@ function Vn(t, e, i, n, r, o, s, a, l) {
18110
18110
  }
18111
18111
  function cu(t) {
18112
18112
  var e;
18113
- e = t.input.charCodeAt(t.position), e === 10 ? t.position++ : e === 13 ? (t.position++, t.input.charCodeAt(t.position) === 10 && t.position++) : Q(t, "a line break is expected"), t.line += 1, t.lineStart = t.position, t.firstTabInLine = -1;
18113
+ e = t.input.charCodeAt(t.position), e === 10 ? t.position++ : e === 13 ? (t.position++, t.input.charCodeAt(t.position) === 10 && t.position++) : X(t, "a line break is expected"), t.line += 1, t.lineStart = t.position, t.firstTabInLine = -1;
18114
18114
  }
18115
18115
  function te(t, e, i) {
18116
18116
  for (var n = 0, r = t.input.charCodeAt(t.position); r !== 0; ) {
@@ -18173,8 +18173,8 @@ function LL(t, e) {
18173
18173
  n = t.position, t.position++, r = t.position;
18174
18174
  else
18175
18175
  return !0;
18176
- else mi(i) ? (nn(t, n, r, !0), uu(t, te(t, !1, e)), n = r = t.position) : t.position === t.lineStart && ca(t) ? Q(t, "unexpected end of the document within a single quoted scalar") : (t.position++, r = t.position);
18177
- Q(t, "unexpected end of the stream within a single quoted scalar");
18176
+ else mi(i) ? (nn(t, n, r, !0), uu(t, te(t, !1, e)), n = r = t.position) : t.position === t.lineStart && ca(t) ? X(t, "unexpected end of the document within a single quoted scalar") : (t.position++, r = t.position);
18177
+ X(t, "unexpected end of the stream within a single quoted scalar");
18178
18178
  }
18179
18179
  function ML(t, e) {
18180
18180
  var i, n, r, o, s, a;
@@ -18190,14 +18190,14 @@ function ML(t, e) {
18190
18190
  t.result += D2[a], t.position++;
18191
18191
  else if ((s = SL(a)) > 0) {
18192
18192
  for (r = s, o = 0; r > 0; r--)
18193
- a = t.input.charCodeAt(++t.position), (s = TL(a)) >= 0 ? o = (o << 4) + s : Q(t, "expected hexadecimal character");
18193
+ a = t.input.charCodeAt(++t.position), (s = TL(a)) >= 0 ? o = (o << 4) + s : X(t, "expected hexadecimal character");
18194
18194
  t.result += AL(o), t.position++;
18195
18195
  } else
18196
- Q(t, "unknown escape sequence");
18196
+ X(t, "unknown escape sequence");
18197
18197
  i = n = t.position;
18198
- } else mi(a) ? (nn(t, i, n, !0), uu(t, te(t, !1, e)), i = n = t.position) : t.position === t.lineStart && ca(t) ? Q(t, "unexpected end of the document within a double quoted scalar") : (t.position++, n = t.position);
18198
+ } else mi(a) ? (nn(t, i, n, !0), uu(t, te(t, !1, e)), i = n = t.position) : t.position === t.lineStart && ca(t) ? X(t, "unexpected end of the document within a double quoted scalar") : (t.position++, n = t.position);
18199
18199
  }
18200
- Q(t, "unexpected end of the stream within a double quoted scalar");
18200
+ X(t, "unexpected end of the stream within a double quoted scalar");
18201
18201
  }
18202
18202
  function FL(t, e) {
18203
18203
  var i = !0, n, r, o, s = t.tag, a, l = t.anchor, c, u, d, h, f, m = /* @__PURE__ */ Object.create(null), p, v, y, x;
@@ -18210,9 +18210,9 @@ function FL(t, e) {
18210
18210
  for (t.anchor !== null && (t.anchorMap[t.anchor] = a), x = t.input.charCodeAt(++t.position); x !== 0; ) {
18211
18211
  if (te(t, !0, e), x = t.input.charCodeAt(t.position), x === u)
18212
18212
  return t.position++, t.tag = s, t.anchor = l, t.kind = f ? "mapping" : "sequence", t.result = a, !0;
18213
- i ? x === 44 && Q(t, "expected the node content, but found ','") : Q(t, "missed comma between flow collection entries"), v = p = y = null, d = h = !1, x === 63 && (c = t.input.charCodeAt(t.position + 1), Pe(c) && (d = h = !0, t.position++, te(t, !0, e))), n = t.line, r = t.lineStart, o = t.position, nr(t, e, Os, !1, !0), v = t.tag, p = t.result, te(t, !0, e), x = t.input.charCodeAt(t.position), (h || t.line === n) && x === 58 && (d = !0, x = t.input.charCodeAt(++t.position), te(t, !0, e), nr(t, e, Os, !1, !0), y = t.result), f ? Vn(t, a, m, v, p, y, n, r, o) : d ? a.push(Vn(t, null, m, v, p, y, n, r, o)) : a.push(p), te(t, !0, e), x = t.input.charCodeAt(t.position), x === 44 ? (i = !0, x = t.input.charCodeAt(++t.position)) : i = !1;
18213
+ i ? x === 44 && X(t, "expected the node content, but found ','") : X(t, "missed comma between flow collection entries"), v = p = y = null, d = h = !1, x === 63 && (c = t.input.charCodeAt(t.position + 1), Pe(c) && (d = h = !0, t.position++, te(t, !0, e))), n = t.line, r = t.lineStart, o = t.position, nr(t, e, Os, !1, !0), v = t.tag, p = t.result, te(t, !0, e), x = t.input.charCodeAt(t.position), (h || t.line === n) && x === 58 && (d = !0, x = t.input.charCodeAt(++t.position), te(t, !0, e), nr(t, e, Os, !1, !0), y = t.result), f ? Vn(t, a, m, v, p, y, n, r, o) : d ? a.push(Vn(t, null, m, v, p, y, n, r, o)) : a.push(p), te(t, !0, e), x = t.input.charCodeAt(t.position), x === 44 ? (i = !0, x = t.input.charCodeAt(++t.position)) : i = !1;
18214
18214
  }
18215
- Q(t, "unexpected end of the stream within a flow collection");
18215
+ X(t, "unexpected end of the stream within a flow collection");
18216
18216
  }
18217
18217
  function OL(t, e) {
18218
18218
  var i, n, r = Za, o = !1, s = !1, a = e, l = 0, c = !1, u, d;
@@ -18224,9 +18224,9 @@ function OL(t, e) {
18224
18224
  return !1;
18225
18225
  for (t.kind = "scalar", t.result = ""; d !== 0; )
18226
18226
  if (d = t.input.charCodeAt(++t.position), d === 43 || d === 45)
18227
- Za === r ? r = d === 43 ? ep : xL : Q(t, "repeat of a chomping mode identifier");
18227
+ Za === r ? r = d === 43 ? ep : xL : X(t, "repeat of a chomping mode identifier");
18228
18228
  else if ((u = kL(d)) >= 0)
18229
- u === 0 ? Q(t, "bad explicit indentation width of a block scalar; it cannot be less than one") : s ? Q(t, "repeat of an indentation width identifier") : (a = e + u - 1, s = !0);
18229
+ u === 0 ? X(t, "bad explicit indentation width of a block scalar; it cannot be less than one") : s ? X(t, "repeat of an indentation width identifier") : (a = e + u - 1, s = !0);
18230
18230
  else
18231
18231
  break;
18232
18232
  if (_n(d)) {
@@ -18265,13 +18265,13 @@ function sp(t, e) {
18265
18265
  var i, n = t.tag, r = t.anchor, o = [], s, a = !1, l;
18266
18266
  if (t.firstTabInLine !== -1)
18267
18267
  return !1;
18268
- for (t.anchor !== null && (t.anchorMap[t.anchor] = o), l = t.input.charCodeAt(t.position); l !== 0 && (t.firstTabInLine !== -1 && (t.position = t.firstTabInLine, Q(t, "tab characters must not be used in indentation")), !(l !== 45 || (s = t.input.charCodeAt(t.position + 1), !Pe(s)))); ) {
18268
+ for (t.anchor !== null && (t.anchorMap[t.anchor] = o), l = t.input.charCodeAt(t.position); l !== 0 && (t.firstTabInLine !== -1 && (t.position = t.firstTabInLine, X(t, "tab characters must not be used in indentation")), !(l !== 45 || (s = t.input.charCodeAt(t.position + 1), !Pe(s)))); ) {
18269
18269
  if (a = !0, t.position++, te(t, !0, -1) && t.lineIndent <= e) {
18270
18270
  o.push(null), l = t.input.charCodeAt(t.position);
18271
18271
  continue;
18272
18272
  }
18273
18273
  if (i = t.line, nr(t, e, M2, !1, !0), o.push(t.result), te(t, !0, -1), l = t.input.charCodeAt(t.position), (t.line === i || t.lineIndent > e) && l !== 0)
18274
- Q(t, "bad indentation of a sequence entry");
18274
+ X(t, "bad indentation of a sequence entry");
18275
18275
  else if (t.lineIndent < e)
18276
18276
  break;
18277
18277
  }
@@ -18282,8 +18282,8 @@ function PL(t, e, i) {
18282
18282
  if (t.firstTabInLine !== -1)
18283
18283
  return !1;
18284
18284
  for (t.anchor !== null && (t.anchorMap[t.anchor] = d), x = t.input.charCodeAt(t.position); x !== 0; ) {
18285
- if (!v && t.firstTabInLine !== -1 && (t.position = t.firstTabInLine, Q(t, "tab characters must not be used in indentation")), n = t.input.charCodeAt(t.position + 1), o = t.line, (x === 63 || x === 58) && Pe(n))
18286
- x === 63 ? (v && (Vn(t, d, h, f, m, null, s, a, l), f = m = p = null), y = !0, v = !0, r = !0) : v ? (v = !1, r = !0) : Q(t, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), t.position += 1, x = n;
18285
+ if (!v && t.firstTabInLine !== -1 && (t.position = t.firstTabInLine, X(t, "tab characters must not be used in indentation")), n = t.input.charCodeAt(t.position + 1), o = t.line, (x === 63 || x === 58) && Pe(n))
18286
+ x === 63 ? (v && (Vn(t, d, h, f, m, null, s, a, l), f = m = p = null), y = !0, v = !0, r = !0) : v ? (v = !1, r = !0) : X(t, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), t.position += 1, x = n;
18287
18287
  else {
18288
18288
  if (s = t.line, a = t.lineStart, l = t.position, !nr(t, i, L2, !1, !0))
18289
18289
  break;
@@ -18291,18 +18291,18 @@ function PL(t, e, i) {
18291
18291
  for (x = t.input.charCodeAt(t.position); _n(x); )
18292
18292
  x = t.input.charCodeAt(++t.position);
18293
18293
  if (x === 58)
18294
- x = t.input.charCodeAt(++t.position), Pe(x) || Q(t, "a whitespace character is expected after the key-value separator within a block mapping"), v && (Vn(t, d, h, f, m, null, s, a, l), f = m = p = null), y = !0, v = !1, r = !1, f = t.tag, m = t.result;
18294
+ x = t.input.charCodeAt(++t.position), Pe(x) || X(t, "a whitespace character is expected after the key-value separator within a block mapping"), v && (Vn(t, d, h, f, m, null, s, a, l), f = m = p = null), y = !0, v = !1, r = !1, f = t.tag, m = t.result;
18295
18295
  else if (y)
18296
- Q(t, "can not read an implicit mapping pair; a colon is missed");
18296
+ X(t, "can not read an implicit mapping pair; a colon is missed");
18297
18297
  else
18298
18298
  return t.tag = c, t.anchor = u, !0;
18299
18299
  } else if (y)
18300
- Q(t, "can not read a block mapping entry; a multiline key may not be an implicit key");
18300
+ X(t, "can not read a block mapping entry; a multiline key may not be an implicit key");
18301
18301
  else
18302
18302
  return t.tag = c, t.anchor = u, !0;
18303
18303
  }
18304
18304
  if ((t.line === o || t.lineIndent > e) && (v && (s = t.line, a = t.lineStart, l = t.position), nr(t, e, Ps, !0, r) && (v ? m = t.result : p = t.result), v || (Vn(t, d, h, f, m, p, s, a, l), f = m = p = null), te(t, !0, -1), x = t.input.charCodeAt(t.position)), (t.line === o || t.lineIndent > e) && x !== 0)
18305
- Q(t, "bad indentation of a mapping entry");
18305
+ X(t, "bad indentation of a mapping entry");
18306
18306
  else if (t.lineIndent < e)
18307
18307
  break;
18308
18308
  }
@@ -18312,31 +18312,31 @@ function DL(t) {
18312
18312
  var e, i = !1, n = !1, r, o, s;
18313
18313
  if (s = t.input.charCodeAt(t.position), s !== 33)
18314
18314
  return !1;
18315
- if (t.tag !== null && Q(t, "duplication of a tag property"), s = t.input.charCodeAt(++t.position), s === 60 ? (i = !0, s = t.input.charCodeAt(++t.position)) : s === 33 ? (n = !0, r = "!!", s = t.input.charCodeAt(++t.position)) : r = "!", e = t.position, i) {
18315
+ if (t.tag !== null && X(t, "duplication of a tag property"), s = t.input.charCodeAt(++t.position), s === 60 ? (i = !0, s = t.input.charCodeAt(++t.position)) : s === 33 ? (n = !0, r = "!!", s = t.input.charCodeAt(++t.position)) : r = "!", e = t.position, i) {
18316
18316
  do
18317
18317
  s = t.input.charCodeAt(++t.position);
18318
18318
  while (s !== 0 && s !== 62);
18319
- t.position < t.length ? (o = t.input.slice(e, t.position), s = t.input.charCodeAt(++t.position)) : Q(t, "unexpected end of the stream within a verbatim tag");
18319
+ t.position < t.length ? (o = t.input.slice(e, t.position), s = t.input.charCodeAt(++t.position)) : X(t, "unexpected end of the stream within a verbatim tag");
18320
18320
  } else {
18321
18321
  for (; s !== 0 && !Pe(s); )
18322
- s === 33 && (n ? Q(t, "tag suffix cannot contain exclamation marks") : (r = t.input.slice(e - 1, t.position + 1), F2.test(r) || Q(t, "named tag handle cannot contain such characters"), n = !0, e = t.position + 1)), s = t.input.charCodeAt(++t.position);
18323
- o = t.input.slice(e, t.position), wL.test(o) && Q(t, "tag suffix cannot contain flow indicator characters");
18322
+ s === 33 && (n ? X(t, "tag suffix cannot contain exclamation marks") : (r = t.input.slice(e - 1, t.position + 1), F2.test(r) || X(t, "named tag handle cannot contain such characters"), n = !0, e = t.position + 1)), s = t.input.charCodeAt(++t.position);
18323
+ o = t.input.slice(e, t.position), wL.test(o) && X(t, "tag suffix cannot contain flow indicator characters");
18324
18324
  }
18325
- o && !O2.test(o) && Q(t, "tag name cannot contain such characters: " + o);
18325
+ o && !O2.test(o) && X(t, "tag name cannot contain such characters: " + o);
18326
18326
  try {
18327
18327
  o = decodeURIComponent(o);
18328
18328
  } catch {
18329
- Q(t, "tag name is malformed: " + o);
18329
+ X(t, "tag name is malformed: " + o);
18330
18330
  }
18331
- return i ? t.tag = o : an.call(t.tagMap, r) ? t.tag = t.tagMap[r] + o : r === "!" ? t.tag = "!" + o : r === "!!" ? t.tag = "tag:yaml.org,2002:" + o : Q(t, 'undeclared tag handle "' + r + '"'), !0;
18331
+ return i ? t.tag = o : an.call(t.tagMap, r) ? t.tag = t.tagMap[r] + o : r === "!" ? t.tag = "!" + o : r === "!!" ? t.tag = "tag:yaml.org,2002:" + o : X(t, 'undeclared tag handle "' + r + '"'), !0;
18332
18332
  }
18333
18333
  function zL(t) {
18334
18334
  var e, i;
18335
18335
  if (i = t.input.charCodeAt(t.position), i !== 38)
18336
18336
  return !1;
18337
- for (t.anchor !== null && Q(t, "duplication of an anchor property"), i = t.input.charCodeAt(++t.position), e = t.position; i !== 0 && !Pe(i) && !Rn(i); )
18337
+ for (t.anchor !== null && X(t, "duplication of an anchor property"), i = t.input.charCodeAt(++t.position), e = t.position; i !== 0 && !Pe(i) && !Rn(i); )
18338
18338
  i = t.input.charCodeAt(++t.position);
18339
- return t.position === e && Q(t, "name of an anchor node must contain at least one character"), t.anchor = t.input.slice(e, t.position), !0;
18339
+ return t.position === e && X(t, "name of an anchor node must contain at least one character"), t.anchor = t.input.slice(e, t.position), !0;
18340
18340
  }
18341
18341
  function IL(t) {
18342
18342
  var e, i, n;
@@ -18344,17 +18344,17 @@ function IL(t) {
18344
18344
  return !1;
18345
18345
  for (n = t.input.charCodeAt(++t.position), e = t.position; n !== 0 && !Pe(n) && !Rn(n); )
18346
18346
  n = t.input.charCodeAt(++t.position);
18347
- return t.position === e && Q(t, "name of an alias node must contain at least one character"), i = t.input.slice(e, t.position), an.call(t.anchorMap, i) || Q(t, 'unidentified alias "' + i + '"'), t.result = t.anchorMap[i], te(t, !0, -1), !0;
18347
+ return t.position === e && X(t, "name of an alias node must contain at least one character"), i = t.input.slice(e, t.position), an.call(t.anchorMap, i) || X(t, 'unidentified alias "' + i + '"'), t.result = t.anchorMap[i], te(t, !0, -1), !0;
18348
18348
  }
18349
18349
  function nr(t, e, i, n, r) {
18350
18350
  var o, s, a, l = 1, c = !1, u = !1, d, h, f, m, p, v;
18351
18351
  if (t.listener !== null && t.listener("open", t), t.tag = null, t.anchor = null, t.kind = null, t.result = null, o = s = a = Ps === i || M2 === i, n && te(t, !0, -1) && (c = !0, t.lineIndent > e ? l = 1 : t.lineIndent === e ? l = 0 : t.lineIndent < e && (l = -1)), l === 1)
18352
18352
  for (; DL(t) || zL(t); )
18353
18353
  te(t, !0, -1) ? (c = !0, a = o, t.lineIndent > e ? l = 1 : t.lineIndent === e ? l = 0 : t.lineIndent < e && (l = -1)) : a = !1;
18354
- if (a && (a = c || r), (l === 1 || Ps === i) && (Os === i || L2 === i ? p = e : p = e + 1, v = t.position - t.lineStart, l === 1 ? a && (sp(t, v) || PL(t, v, p)) || FL(t, p) ? u = !0 : (s && OL(t, p) || LL(t, p) || ML(t, p) ? u = !0 : IL(t) ? (u = !0, (t.tag !== null || t.anchor !== null) && Q(t, "alias node should not have any properties")) : EL(t, p, Os === i) && (u = !0, t.tag === null && (t.tag = "?")), t.anchor !== null && (t.anchorMap[t.anchor] = t.result)) : l === 0 && (u = a && sp(t, v))), t.tag === null)
18354
+ if (a && (a = c || r), (l === 1 || Ps === i) && (Os === i || L2 === i ? p = e : p = e + 1, v = t.position - t.lineStart, l === 1 ? a && (sp(t, v) || PL(t, v, p)) || FL(t, p) ? u = !0 : (s && OL(t, p) || LL(t, p) || ML(t, p) ? u = !0 : IL(t) ? (u = !0, (t.tag !== null || t.anchor !== null) && X(t, "alias node should not have any properties")) : EL(t, p, Os === i) && (u = !0, t.tag === null && (t.tag = "?")), t.anchor !== null && (t.anchorMap[t.anchor] = t.result)) : l === 0 && (u = a && sp(t, v))), t.tag === null)
18355
18355
  t.anchor !== null && (t.anchorMap[t.anchor] = t.result);
18356
18356
  else if (t.tag === "?") {
18357
- for (t.result !== null && t.kind !== "scalar" && Q(t, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + t.kind + '"'), d = 0, h = t.implicitTypes.length; d < h; d += 1)
18357
+ for (t.result !== null && t.kind !== "scalar" && X(t, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + t.kind + '"'), d = 0, h = t.implicitTypes.length; d < h; d += 1)
18358
18358
  if (m = t.implicitTypes[d], m.resolve(t.result)) {
18359
18359
  t.result = m.construct(t.result), t.tag = m.tag, t.anchor !== null && (t.anchorMap[t.anchor] = t.result);
18360
18360
  break;
@@ -18368,7 +18368,7 @@ function nr(t, e, i, n, r) {
18368
18368
  m = f[d];
18369
18369
  break;
18370
18370
  }
18371
- m || Q(t, "unknown tag !<" + t.tag + ">"), t.result !== null && m.kind !== t.kind && Q(t, "unacceptable node kind for !<" + t.tag + '> tag; it should be "' + m.kind + '", not "' + t.kind + '"'), m.resolve(t.result, t.tag) ? (t.result = m.construct(t.result, t.tag), t.anchor !== null && (t.anchorMap[t.anchor] = t.result)) : Q(t, "cannot resolve a node with !<" + t.tag + "> explicit tag");
18371
+ m || X(t, "unknown tag !<" + t.tag + ">"), t.result !== null && m.kind !== t.kind && X(t, "unacceptable node kind for !<" + t.tag + '> tag; it should be "' + m.kind + '", not "' + t.kind + '"'), m.resolve(t.result, t.tag) ? (t.result = m.construct(t.result, t.tag), t.anchor !== null && (t.anchorMap[t.anchor] = t.result)) : X(t, "cannot resolve a node with !<" + t.tag + "> explicit tag");
18372
18372
  }
18373
18373
  return t.listener !== null && t.listener("close", t), t.tag !== null || t.anchor !== null || u;
18374
18374
  }
@@ -18377,7 +18377,7 @@ function RL(t) {
18377
18377
  for (t.version = null, t.checkLineBreaks = t.legacy, t.tagMap = /* @__PURE__ */ Object.create(null), t.anchorMap = /* @__PURE__ */ Object.create(null); (s = t.input.charCodeAt(t.position)) !== 0 && (te(t, !0, -1), s = t.input.charCodeAt(t.position), !(t.lineIndent > 0 || s !== 37)); ) {
18378
18378
  for (o = !0, s = t.input.charCodeAt(++t.position), i = t.position; s !== 0 && !Pe(s); )
18379
18379
  s = t.input.charCodeAt(++t.position);
18380
- for (n = t.input.slice(i, t.position), r = [], n.length < 1 && Q(t, "directive name must not be less than one character in length"); s !== 0; ) {
18380
+ for (n = t.input.slice(i, t.position), r = [], n.length < 1 && X(t, "directive name must not be less than one character in length"); s !== 0; ) {
18381
18381
  for (; _n(s); )
18382
18382
  s = t.input.charCodeAt(++t.position);
18383
18383
  if (s === 35) {
@@ -18394,12 +18394,12 @@ function RL(t) {
18394
18394
  }
18395
18395
  s !== 0 && cu(t), an.call(rp, n) ? rp[n](t, n, r) : Ds(t, 'unknown document directive "' + n + '"');
18396
18396
  }
18397
- if (te(t, !0, -1), t.lineIndent === 0 && t.input.charCodeAt(t.position) === 45 && t.input.charCodeAt(t.position + 1) === 45 && t.input.charCodeAt(t.position + 2) === 45 ? (t.position += 3, te(t, !0, -1)) : o && Q(t, "directives end mark is expected"), nr(t, t.lineIndent - 1, Ps, !1, !0), te(t, !0, -1), t.checkLineBreaks && _L.test(t.input.slice(e, t.position)) && Ds(t, "non-ASCII line breaks are interpreted as content"), t.documents.push(t.result), t.position === t.lineStart && ca(t)) {
18397
+ if (te(t, !0, -1), t.lineIndent === 0 && t.input.charCodeAt(t.position) === 45 && t.input.charCodeAt(t.position + 1) === 45 && t.input.charCodeAt(t.position + 2) === 45 ? (t.position += 3, te(t, !0, -1)) : o && X(t, "directives end mark is expected"), nr(t, t.lineIndent - 1, Ps, !1, !0), te(t, !0, -1), t.checkLineBreaks && _L.test(t.input.slice(e, t.position)) && Ds(t, "non-ASCII line breaks are interpreted as content"), t.documents.push(t.result), t.position === t.lineStart && ca(t)) {
18398
18398
  t.input.charCodeAt(t.position) === 46 && (t.position += 3, te(t, !0, -1));
18399
18399
  return;
18400
18400
  }
18401
18401
  if (t.position < t.length - 1)
18402
- Q(t, "end of the stream or a document separator is expected");
18402
+ X(t, "end of the stream or a document separator is expected");
18403
18403
  else
18404
18404
  return;
18405
18405
  }
@@ -18407,7 +18407,7 @@ function VL(t, e) {
18407
18407
  t = String(t), e = e || {}, t.length !== 0 && (t.charCodeAt(t.length - 1) !== 10 && t.charCodeAt(t.length - 1) !== 13 && (t += `
18408
18408
  `), t.charCodeAt(0) === 65279 && (t = t.slice(1)));
18409
18409
  var i = new BL(t, e), n = t.indexOf("\0");
18410
- for (n !== -1 && (i.position = n, Q(i, "null byte is not allowed in input")), i.input += "\0"; i.input.charCodeAt(i.position) === 32; )
18410
+ for (n !== -1 && (i.position = n, X(i, "null byte is not allowed in input")), i.input += "\0"; i.input.charCodeAt(i.position) === 32; )
18411
18411
  i.lineIndent += 1, i.position += 1;
18412
18412
  for (; i.position < i.length - 1; )
18413
18413
  RL(i);
@@ -18557,15 +18557,15 @@ const mM = (t, e, i, n) => {
18557
18557
  } catch (bt) {
18558
18558
  g = new T2("error"), w = bt;
18559
18559
  }
18560
- const _ = v.select(p).node(), k = g.type, B = _.firstChild, L = B.firstChild, $ = (r = (n = g.renderer).getClasses) == null ? void 0 : r.call(n, e, g), D = dM(u, k, $, d), Y = document.createElement("style");
18561
- Y.innerHTML = D, B.insertBefore(Y, L);
18560
+ const _ = v.select(p).node(), k = g.type, B = _.firstChild, L = B.firstChild, j = (r = (n = g.renderer).getClasses) == null ? void 0 : r.call(n, e, g), z = dM(u, k, j, d), Q = document.createElement("style");
18561
+ Q.innerHTML = z, B.insertBefore(Q, L);
18562
18562
  try {
18563
18563
  await g.renderer.draw(e, t, Xf, g);
18564
18564
  } catch (bt) {
18565
18565
  throw BB.draw(e, t, Xf), bt;
18566
18566
  }
18567
- const U = v.select(`${p} svg`), wt = (s = (o = g.db).getAccTitle) == null ? void 0 : s.call(o), dt = (l = (a = g.db).getAccDescription) == null ? void 0 : l.call(a);
18568
- yM(k, U, wt, dt), v.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns", eM);
18567
+ const U = v.select(`${p} svg`), Ct = (s = (o = g.db).getAccTitle) == null ? void 0 : s.call(o), dt = (l = (a = g.db).getAccDescription) == null ? void 0 : l.call(a);
18568
+ yM(k, U, Ct, dt), v.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns", eM);
18569
18569
  let ft = v.select(p).node().innerHTML;
18570
18570
  if (tt.debug("config.arrowMarkerAbsolute", u.arrowMarkerAbsolute), ft = fM(ft, y, Rm(u.arrowMarkerAbsolute)), y) {
18571
18571
  const bt = v.select(p + " svg").node();
@@ -18980,7 +18980,7 @@ const DM = { class: "bk-text-editor" }, zM = ["placeholder"], IM = { class: "edi
18980
18980
  handleEnter: c,
18981
18981
  handleSend: u
18982
18982
  } = _0({
18983
- isLoading: _t(() => n.loading),
18983
+ isLoading: wt(() => n.loading),
18984
18984
  getInputValue: () => s.value,
18985
18985
  clearInput: () => {
18986
18986
  s.value = "";
@@ -19132,7 +19132,7 @@ const DM = { class: "bk-text-editor" }, zM = ["placeholder"], IM = { class: "edi
19132
19132
  }
19133
19133
  return "";
19134
19134
  }
19135
- }).use(dg).use(W2).use(q2), m = _t(() => {
19135
+ }).use(dg).use(W2).use(q2), m = wt(() => {
19136
19136
  var k;
19137
19137
  const _ = {
19138
19138
  [ae.Fail]: "bkai-icon bkai-warning-circle-fill",
@@ -19140,7 +19140,7 @@ const DM = { class: "bk-text-editor" }, zM = ["placeholder"], IM = { class: "edi
19140
19140
  [ae.Success]: ""
19141
19141
  };
19142
19142
  return (k = n.message) != null && k.status ? _[n.message.status] : "";
19143
- }), p = _t(() => {
19143
+ }), p = wt(() => {
19144
19144
  if (!n.message.content) return "";
19145
19145
  const _ = f.render(n.message.content), k = ji.sanitize(_, {
19146
19146
  USE_PROFILES: { html: !0 },
@@ -19154,7 +19154,7 @@ const DM = { class: "bk-text-editor" }, zM = ["placeholder"], IM = { class: "edi
19154
19154
  (L = o.value) == null || L.dispatchEvent(B);
19155
19155
  });
19156
19156
  }), k.replace(/\s*<\/p>\s*$/, "</p>");
19157
- }), v = _t(() => {
19157
+ }), v = wt(() => {
19158
19158
  if (!n.message.time) return "";
19159
19159
  const _ = nl(n.message.time);
19160
19160
  return nl().isSame(_, "year") ? _.format("MM-DD HH:mm:ss") : _.format("YYYY-MM-DD HH:mm:ss");
@@ -19201,7 +19201,7 @@ const DM = { class: "bk-text-editor" }, zM = ["placeholder"], IM = { class: "edi
19201
19201
  }), Ae(() => {
19202
19202
  PM(), h();
19203
19203
  }), (_, k) => {
19204
- var B, L, $;
19204
+ var B, L, j;
19205
19205
  return E(Lc).includes(_.message.role) ? Bt("v-if", !0) : (V(), J(
19206
19206
  "li",
19207
19207
  {
@@ -19211,7 +19211,7 @@ const DM = { class: "bk-text-editor" }, zM = ["placeholder"], IM = { class: "edi
19211
19211
  class: Wt([_.message.role, "message-main"])
19212
19212
  },
19213
19213
  [
19214
- ($ = (L = (B = _.message) == null ? void 0 : B.property) == null ? void 0 : L.extra) != null && $.cite ? (V(), J("div", HM, [
19214
+ (j = (L = (B = _.message) == null ? void 0 : B.property) == null ? void 0 : L.extra) != null && j.cite ? (V(), J("div", HM, [
19215
19215
  kt(C0, {
19216
19216
  text: _.message.property.extra.cite
19217
19217
  }, null, 8, ["text"])
@@ -19230,7 +19230,7 @@ const DM = { class: "bk-text-editor" }, zM = ["placeholder"], IM = { class: "edi
19230
19230
  key: 0,
19231
19231
  "auto-focus": !0,
19232
19232
  "model-value": _.message.content,
19233
- onCancel: k[0] || (k[0] = (D) => r.value = !1),
19233
+ onCancel: k[0] || (k[0] = (z) => r.value = !1),
19234
19234
  onSubmit: y
19235
19235
  }, null, 8, ["model-value"])) : (V(), J("p", jM, [
19236
19236
  v.value && n.showTime ? (V(), J(
@@ -19297,7 +19297,7 @@ const DM = { class: "bk-text-editor" }, zM = ["placeholder"], IM = { class: "edi
19297
19297
  }),
19298
19298
  N("i", {
19299
19299
  class: "bkai-icon bkai-yinyong",
19300
- onClick: k[1] || (k[1] = (D) => E(a)(_.message.content))
19300
+ onClick: k[1] || (k[1] = (z) => E(a)(_.message.content))
19301
19301
  }),
19302
19302
  _.message.role === E(P).Ai ? (V(), J("i", {
19303
19303
  key: 0,
@@ -19307,7 +19307,7 @@ const DM = { class: "bk-text-editor" }, zM = ["placeholder"], IM = { class: "edi
19307
19307
  _.message.role === E(P).User ? (V(), J("i", {
19308
19308
  key: 1,
19309
19309
  class: "bkai-icon bkai-bianji",
19310
- onClick: k[2] || (k[2] = (D) => r.value = !0)
19310
+ onClick: k[2] || (k[2] = (z) => r.value = !0)
19311
19311
  })) : Bt("v-if", !0),
19312
19312
  N("i", {
19313
19313
  class: "bkai-icon bkai-shanchu",
@@ -19592,7 +19592,7 @@ const lF = { class: "nimbus-bkai-wrapper" }, cF = ["width", "height", "src"], uF
19592
19592
  right: -6
19593
19593
  }
19594
19594
  }
19595
- }, o = _t(() => r[i.size]), s = O(null), a = O(null), {
19595
+ }, o = wt(() => r[i.size]), s = O(null), a = O(null), {
19596
19596
  nimbusLeft: l,
19597
19597
  nimbusTop: c,
19598
19598
  isMinimize: u,
@@ -19607,7 +19607,7 @@ const lF = { class: "nimbus-bkai-wrapper" }, cF = ["width", "height", "src"], uF
19607
19607
  le(u, (k) => {
19608
19608
  n("update:isMinimize", k);
19609
19609
  });
19610
- const x = _t(
19610
+ const x = wt(
19611
19611
  () => u.value ? ot("恢复默认大小") : ot("最小化,将缩成锚点")
19612
19612
  ), { createTooltip: b, destroyAll: g } = mo({
19613
19613
  theme: "ai-blueking",
@@ -19753,7 +19753,7 @@ function fF() {
19753
19753
  };
19754
19754
  return {
19755
19755
  renderMarkdown: e,
19756
- createMarkdownRenderer: (n) => _t(() => e(n.value))
19756
+ createMarkdownRenderer: (n) => wt(() => e(n.value))
19757
19757
  };
19758
19758
  }
19759
19759
  function pF() {
@@ -19881,14 +19881,14 @@ const vF = { class: "ai-blueking-wrapper" }, yF = { class: "content-wrapper" },
19881
19881
  emits: ["shortcut-click", "close", "show", "stop", "receive-start", "receive-text", "receive-end", "send-message", "session-initialized"],
19882
19882
  setup(t, { expose: e, emit: i }) {
19883
19883
  rr((W) => ({
19884
- "7632b477": K.value + "px",
19885
- "0f818497": it.value + "px"
19884
+ "6a2dc831": Y.value + "px",
19885
+ "50c23ed1": it.value + "px"
19886
19886
  }));
19887
19887
  const n = t, r = i;
19888
19888
  Ul(w0, n.enablePopup);
19889
19889
  const o = O(), s = O(), a = O(), l = O(!1), c = O(n.defaultMinimize), u = O(""), d = O(!1), h = O(!1);
19890
19890
  let f = null;
19891
- const m = O(""), p = O([]), v = O(window.innerHeight), y = O(68), x = db(), { renderMarkdown: b } = fF(), { selectedText: g, citeText: w, setCiteText: _ } = go(n.enablePopup), { messageListRef: k, scrollMainToBottom: B, scrollToBottomIfNeeded: L, resetUserScrolling: $ } = pF(), { currentShortcut: D, handleShortcutClick: Y, handleCancelShortcut: U } = gF({
19891
+ const m = O(""), p = O([]), v = O(window.innerHeight), y = O(68), x = db(), { renderMarkdown: b } = fF(), { selectedText: g, citeText: w, setCiteText: _ } = go(n.enablePopup), { messageListRef: k, scrollMainToBottom: B, scrollToBottomIfNeeded: L, resetUserScrolling: j } = pF(), { currentShortcut: z, handleShortcutClick: Q, handleCancelShortcut: U } = gF({
19892
19892
  selectedText: g,
19893
19893
  isShow: l,
19894
19894
  handleShow: () => {
@@ -19897,7 +19897,7 @@ const vF = { class: "ai-blueking-wrapper" }, yF = { class: "content-wrapper" },
19897
19897
  });
19898
19898
  a3(), xg();
19899
19899
  const {
19900
- minWidth: wt,
19900
+ minWidth: Ct,
19901
19901
  minHeight: dt,
19902
19902
  maxWidth: ft,
19903
19903
  top: pt,
@@ -19915,12 +19915,12 @@ const vF = { class: "ai-blueking-wrapper" }, yF = { class: "content-wrapper" },
19915
19915
  defaultTop: n.defaultTop,
19916
19916
  defaultLeft: n.defaultLeft,
19917
19917
  miniPadding: n.miniPadding
19918
- }), it = _t(() => v.value - 367), { greetingSectionRef: Pt, updateGreetingTextHeight: Dt, getInputContainerStyle: Vt } = dF({
19918
+ }), it = wt(() => v.value - 367), { greetingSectionRef: Pt, updateGreetingTextHeight: Dt, getInputContainerStyle: Vt } = dF({
19919
19919
  greetingMaxHeight: it.value
19920
- }), Nt = _t(() => Vt(A.value)), K = _t(() => {
19920
+ }), Nt = wt(() => Vt(A.value)), Y = wt(() => {
19921
19921
  const vt = g.value ? 100 : 70;
19922
19922
  return y.value + 40 + vt;
19923
- }), at = _t(() => ab(n.url)), {
19923
+ }), at = wt(() => ab(n.url)), {
19924
19924
  currentSession: lt,
19925
19925
  sessionContents: Lt,
19926
19926
  isLoadingSessionContents: re,
@@ -19934,12 +19934,12 @@ const vF = { class: "ai-blueking-wrapper" }, yF = { class: "content-wrapper" },
19934
19934
  reGenerateChat: M,
19935
19935
  reSendChat: H,
19936
19936
  deleteChat: R,
19937
- updateRequestOptions: z,
19937
+ updateRequestOptions: D,
19938
19938
  getAgentInfoApi: ct,
19939
19939
  getSessionsApi: zt,
19940
19940
  getSessionContentsApi: $t,
19941
19941
  modifySessionApi: he,
19942
- deleteSessionApi: Ct,
19942
+ deleteSessionApi: _t,
19943
19943
  setSessionContents: St,
19944
19944
  handleCompleteRole: Mt
19945
19945
  } = s3({
@@ -19965,14 +19965,14 @@ const vF = { class: "ai-blueking-wrapper" }, yF = { class: "content-wrapper" },
19965
19965
  setCurrentSessionChain: ue,
19966
19966
  setSessionContents: St,
19967
19967
  modifySessionApi: he,
19968
- deleteSessionApi: Ct,
19968
+ deleteSessionApi: _t,
19969
19969
  getSessionContentsApi: $t,
19970
19970
  getSessionsApi: zt,
19971
19971
  getAgentInfoApi: ct,
19972
19972
  plusSessionApi: Re,
19973
19973
  handleCompleteRole: Mt
19974
19974
  });
19975
- const ee = _t(() => [...n.prompts, ...p.value]), A = _t(() => Lt.value.filter((W) => !Lc.includes(W.role)).length > 0), j = _t(() => m.value || ot("输入你的问题,助你高效的完成工作")), G = async () => {
19975
+ const ee = wt(() => [...n.prompts, ...p.value]), A = wt(() => Lt.value.filter((W) => !Lc.includes(W.role)).length > 0), $ = wt(() => m.value || ot("输入你的问题,助你高效的完成工作")), G = async () => {
19976
19976
  if (f) {
19977
19977
  await f;
19978
19978
  return;
@@ -19992,7 +19992,7 @@ const vF = { class: "ai-blueking-wrapper" }, yF = { class: "content-wrapper" },
19992
19992
  le(
19993
19993
  () => at.value,
19994
19994
  (W, vt) => {
19995
- W !== vt && W && (z({
19995
+ W !== vt && W && (D({
19996
19996
  url: W,
19997
19997
  ...n.requestOptions
19998
19998
  }), h.value = !1, f = null, G());
@@ -20000,7 +20000,7 @@ const vF = { class: "ai-blueking-wrapper" }, yF = { class: "content-wrapper" },
20000
20000
  ), le(
20001
20001
  () => n.requestOptions,
20002
20002
  (W) => {
20003
- z({
20003
+ D({
20004
20004
  url: at.value,
20005
20005
  ...W
20006
20006
  });
@@ -20025,7 +20025,7 @@ const vF = { class: "ai-blueking-wrapper" }, yF = { class: "content-wrapper" },
20025
20025
  if (!W) return;
20026
20026
  h.value || await G();
20027
20027
  const vt = x.sessionList.value.find((Tt) => Tt.sessionCode === W);
20028
- vt && await x.switchSessionWithContents(vt);
20028
+ return vt ? (await x.switchSessionWithContents(vt), !0) : !1;
20029
20029
  }, ut = () => {
20030
20030
  v.value = window.innerHeight;
20031
20031
  };
@@ -20047,7 +20047,7 @@ const vF = { class: "ai-blueking-wrapper" }, yF = { class: "content-wrapper" },
20047
20047
  }, qi = async (W) => {
20048
20048
  var Tt, We, Yi, Ki, Ti, dr;
20049
20049
  if (!W.trim()) return;
20050
- !h.value && at.value && await G(), $();
20050
+ !h.value && at.value && await G(), j();
20051
20051
  const vt = Wd(W);
20052
20052
  await Ce((Tt = lt.value) == null ? void 0 : Tt.sessionCode, {
20053
20053
  role: P.User,
@@ -20108,11 +20108,11 @@ const vF = { class: "ai-blueking-wrapper" }, yF = { class: "content-wrapper" },
20108
20108
  handleClose: Qt,
20109
20109
  handleStop: Ui,
20110
20110
  handleSendMessage: qi,
20111
- handleShortcutClick: Y,
20111
+ handleShortcutClick: Q,
20112
20112
  handleDelete: ii,
20113
20113
  handleRegenerate: Ft,
20114
20114
  handleResend: de,
20115
- updateRequestOptions: z,
20115
+ updateRequestOptions: D,
20116
20116
  currentSessionLoading: S,
20117
20117
  isLoadingSessionContents: re,
20118
20118
  updateGreetingTextHeight: Dt,
@@ -20122,7 +20122,7 @@ const vF = { class: "ai-blueking-wrapper" }, yF = { class: "content-wrapper" },
20122
20122
  (W = s.value) == null || W.focus();
20123
20123
  },
20124
20124
  // 新增会话接口
20125
- addNewSession: x.addNewSession,
20125
+ addNewSession: (W) => x.addNewSession(W),
20126
20126
  // 更新会话名称接口
20127
20127
  updateSessionName: async (W, vt) => x.updateSession(W, { sessionName: vt }),
20128
20128
  // 切换到指定会话
@@ -20140,7 +20140,7 @@ const vF = { class: "ai-blueking-wrapper" }, yF = { class: "content-wrapper" },
20140
20140
  h: E(jt),
20141
20141
  "max-width": E(ft),
20142
20142
  "min-height": E(dt),
20143
- "min-width": E(wt),
20143
+ "min-width": E(Ct),
20144
20144
  parent: !0,
20145
20145
  "prevent-deactivation": !0,
20146
20146
  resizable: !0,
@@ -20186,7 +20186,7 @@ const vF = { class: "ai-blueking-wrapper" }, yF = { class: "content-wrapper" },
20186
20186
  ref_key: "greetingSectionRef",
20187
20187
  ref: Pt,
20188
20188
  title: n.helloText,
20189
- "greeting-text": j.value,
20189
+ "greeting-text": $.value,
20190
20190
  "has-session-contents": A.value,
20191
20191
  "render-markdown": E(b),
20192
20192
  "greeting-max-height": it.value
@@ -20196,7 +20196,7 @@ const vF = { class: "ai-blueking-wrapper" }, yF = { class: "content-wrapper" },
20196
20196
  ref: k,
20197
20197
  "session-contents": E(Lt),
20198
20198
  "has-session-contents": A.value,
20199
- "content-margin-bottom": K.value,
20199
+ "content-margin-bottom": Y.value,
20200
20200
  onDelete: ii,
20201
20201
  onRegenerate: Ft,
20202
20202
  onResend: de
@@ -20230,9 +20230,9 @@ const vF = { class: "ai-blueking-wrapper" }, yF = { class: "content-wrapper" },
20230
20230
  onClick: ei
20231
20231
  }, null, 8, ["text"])) : Bt("v-if", !0)
20232
20232
  ])) : Bt("v-if", !0),
20233
- E(D) ? (V(), Xt(vx, {
20234
- key: E(D).id,
20235
- shortcut: E(D),
20233
+ E(z) ? (V(), Xt(vx, {
20234
+ key: E(z).id,
20235
+ shortcut: E(z),
20236
20236
  "root-node": a.value,
20237
20237
  onCancel: E(U),
20238
20238
  onSubmit: Gi
@@ -20246,7 +20246,7 @@ const vF = { class: "ai-blueking-wrapper" }, yF = { class: "content-wrapper" },
20246
20246
  disabled: n.disabledInput,
20247
20247
  onHeightChange: Gt,
20248
20248
  onSend: qi,
20249
- onShortcutClick: E(Y),
20249
+ onShortcutClick: E(Q),
20250
20250
  onStop: Ui
20251
20251
  }, null, 8, ["modelValue", "loading", "prompts", "shortcuts", "disabled", "onShortcutClick"]))
20252
20252
  ])
@@ -20280,12 +20280,12 @@ const vF = { class: "ai-blueking-wrapper" }, yF = { class: "content-wrapper" },
20280
20280
  kt(sF, {
20281
20281
  shortcuts: W.shortcuts || [],
20282
20282
  onClick: vt[3] || (vt[3] = (Tt) => l.value = !0),
20283
- onShortcutClick: E(Y)
20283
+ onShortcutClick: E(Q)
20284
20284
  }, null, 8, ["shortcuts", "onShortcutClick"])
20285
20285
  ])
20286
20286
  ], 8, ["to"]));
20287
20287
  }
20288
- }), iO = /* @__PURE__ */ ne(CF, [["__scopeId", "data-v-e985ad1c"]]);
20288
+ }), iO = /* @__PURE__ */ ne(CF, [["__scopeId", "data-v-8bb11668"]]);
20289
20289
  (function() {
20290
20290
  var t = '<svg xmlns="http://www.w3.org/2000/svg" data-name="bkai" xmlns:xlink="http://www.w3.org/1999/xlink" style="position:absolute;width:0;height:0;visibility:hidden"><symbol id="bkai-warning-circle-fill" viewBox="0 0 1024 1024"><path fill="#737987" d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 640h-64v-64h64v64zm0-128h-64V320h64v256z"/></symbol><symbol id="bkai-close-circle-shape" viewBox="0 0 64 64"><path fill="#737987" d="M32 4C16.5 4 4 16.5 4 32s12.5 28 28 28 28-12.5 28-28S47.5 4 32 4zm11.3 36.5l-2.8 2.8-8.5-8.5-8.5 8.5-2.8-2.8 8.5-8.5-8.5-8.5 2.8-2.8 8.5 8.5 8.5-8.5 2.8 2.8-8.5 8.5 8.5 8.5z"/></symbol><symbol id="bkai-close-line-2" viewBox="0 0 64 64"><path d="M52 16.2L47.8 12 32 27.8 16.2 12 12 16.2 27.8 32 12 47.8l4.2 4.2L32 36.2 47.8 52l4.2-4.2L36.2 32z"/></symbol><symbol id="bkai-minus-line" viewBox="0 0 1024 1024"><path d="M128 448h768v128H128V448z" class="st0"/></symbol><symbol id="bkai-visible1" viewBox="0 0 1024 1024"><path d="M512 384a128 128 0 10128 128 128 128 0 00-128-128zm0 192a64 64 0 1164-64 64 64 0 01-64 64z"/><path d="M512 240C264.64 240 64 512 64 512s200.64 272 448 272 448-272 448-272-200.64-272-448-272zm0 480c-160 0-304-139.04-364.96-208C208 442.88 352 304 512 304s304 139.04 364.96 208C816 581.12 672 720 512 720z"/></symbol><symbol id="bkai-links" viewBox="0 0 1024 1024"><path d="M263.04 760.96a148.48 148.48 0 01-1.92-224l92.48-92.48-45.12-45.76L216 491.2a212.8 212.8 0 001.92 314.88A212.8 212.8 0 00532.8 808l92.48-92.48L579.84 672l-92.48 92.48a148.48 148.48 0 01-224.32-3.52zM491.2 216l-92.48 92.48 45.44 45.12 92.48-92.48a148.48 148.48 0 01224 1.92 148.48 148.48 0 011.92 224L672 579.84l45.12 45.44 92.48-92.48a212.8 212.8 0 00-1.92-314.88A212.8 212.8 0 00491.2 216z"/><path d="M398.786 579.888l181.019-181.02 45.255 45.255-181.02 181.02-45.254-45.255z"/></symbol><symbol id="bkai-quanquan" viewBox="0 0 1024 1024"><path fill="#3A84FF" d="M512 64.129c-9.343-.661-18.345 3.338-27.005 11.998-2.666 2.667-4.831 6.165-6.495 10.495-1.664 4.33-2.496 7.498-2.496 9.503v4c0 10.004 2.997 18.003 8.991 23.997 3.328 4.01 7.327 6.847 11.999 8.511 4.671 1.664 8.34 2.496 11.006 2.496h4c68.003 0 130.993 16.83 188.97 50.49 57.978 33.66 103.807 79.49 137.489 137.488 33.681 57.999 50.511 121.16 50.49 189.483-.021 68.322-16.851 131.313-50.49 188.97-33.64 57.657-79.469 103.316-137.489 136.976-58.02 33.66-121.18 50.49-189.482 50.49-68.301 0-131.292-16.83-188.97-50.49-57.68-33.66-103.338-79.319-136.977-136.976-33.639-57.657-50.469-120.818-50.49-189.482 0-10.005-3.669-18.676-11.007-26.013-2.666-3.328-6.164-5.824-10.494-7.487-4.33-1.664-7.498-2.496-9.503-2.496h-4c-10.004 0-18.334 3.338-24.99 10.015-4.01 4.01-6.846 8.18-8.51 12.51-1.664 4.33-2.496 7.498-2.496 9.503v4c0 60.665 11.828 118.663 35.484 173.996 23.656 55.332 55.482 102.996 95.477 142.991 39.996 39.996 87.66 71.822 142.992 95.478 55.332 23.656 113.33 35.483 173.996 35.483 60.665 0 118.664-11.827 173.996-35.483 55.332-23.656 102.996-55.482 142.992-95.478 39.995-39.995 71.82-87.659 95.477-142.991 23.656-55.333 35.484-113.331 35.484-173.996 0-60.665-11.828-118.664-35.484-173.996-23.656-55.333-55.482-102.997-95.477-142.992-39.996-39.996-87.66-71.821-142.992-95.477C630.664 75.989 572.666 64.16 512 64.16v-.032z"/></symbol><symbol id="bkai-yanjing-kejian" viewBox="0 0 1024 1024"><path fill-rule="evenodd" d="M512 192c247.4 0 448 143.3 448 320S759.4 832 512 832 64 688.7 64 512s200.6-320 448-320zm0 64c-54.2 0-106.6 7.5-155.9 22.4-46.6 14.1-88.3 34.1-123.7 59.4C165.1 385.9 128 447.8 128 512c0 64.2 37.1 126.1 104.4 174.2 35.4 25.3 77.1 45.3 123.7 59.4C405.4 760.5 457.8 768 512 768s106.6-7.5 155.9-22.4c46.6-14.1 88.3-34.1 123.7-59.4C858.9 638.1 896 576.2 896 512c0-64.2-37.1-126.1-104.4-174.2-35.4-25.3-77.1-45.3-123.7-59.4C618.6 263.5 566.2 256 512 256zm0 96c88.4 0 160 71.6 160 160s-71.6 160-160 160-160-71.6-160-160 71.6-160 160-160zm0 64c-52.9 0-96 43.1-96 96s43.1 96 96 96 96-43.1 96-96-43.1-96-96-96z"/></symbol><symbol id="bkai-shipin-2" viewBox="0 0 1024 1024"><path fill="#FF9C01" fill-rule="evenodd" d="M616.8 64c8.5 0 16.6 3.4 22.6 9.4l215.2 215.2c6 6 9.4 14.2 9.4 22.7V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32zM433.067 486.16v161.072c0 44.295 29.53 60.402 67.113 36.242l107.381-71.14c36.242-26.846 36.242-67.114 0-91.275L500.18 449.92c-36.241-24.16-67.113-8.053-67.113 36.241zM602 137.8V326h188.2L602 137.8z"/></symbol><symbol id="bkai-tupian-2" viewBox="0 0 1024 1024"><path fill="#699DF4" d="M616.8 64c8.5 0 16.6 3.4 22.6 9.4l215.2 215.2c6 6 9.4 14.2 9.4 22.7V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32zm-18.4 512l-112 144-80-96-112 144h448l-144-192zM480 448c-35.346 0-64 28.654-64 64 0 35.346 28.654 64 64 64 35.346 0 64-28.654 64-64 0-35.346-28.654-64-64-64zm122-310.2V326h188.2L602 137.8z"/></symbol><symbol id="bkai-wenben-2" viewBox="0 0 1024 1024"><path fill="#979BA5" fill-rule="evenodd" d="M616.8 64c8.5 0 16.6 3.4 22.6 9.4l215.2 215.2c6 6 9.4 14.2 9.4 22.7V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32zM656 704H368c-8.837 0-16 7.163-16 16v32c0 8.837 7.163 16 16 16h288c8.837 0 16-7.163 16-16v-32c0-8.837-7.163-16-16-16zm-64-128H368c-8.837 0-16 7.163-16 16v32c0 8.837 7.163 16 16 16h224c8.837 0 16-7.163 16-16v-32c0-8.837-7.163-16-16-16zM464 448h-96c-8.837 0-16 7.163-16 16v32c0 8.837 7.163 16 16 16h96c8.837 0 16-7.163 16-16v-32c0-8.837-7.163-16-16-16zm138-310.2V326h188.2L602 137.8z"/></symbol><symbol id="bkai-yasuobao-2" viewBox="0 0 1024 1024"><path fill="#63656E" fill-rule="evenodd" d="M623.999 64c26.5 0 63.499 15.5 82 34l156 156c18.5 18.5 34.001 55.5 34.001 82v576.001c0 26.5-21.5 47.999-48.002 47.999H176c-26.5 0-48-21.5-48-47.999V112c0-26.5 21.5-48 48-48h447.999zM296 456h-64v222h128V518h-64v-62zm16 110v64h-32v-64h32zm48-174h-64v64h64v-64zm-64-64h-64v64h64v-64zm64-64h-64v64h64v-64zm280-132v188h188c-3-8.5-7.501-17-11.001-20.5L660.499 143c-3.5-3.5-12-8-20.499-11zm-344 68h-64v64h64v-64zm64-64h-64v64h64v-64z"/></symbol><symbol id="bkai-yinle-2" viewBox="0 0 1024 1024"><path fill="#F8B4B4" fill-rule="evenodd" d="M616.8 64c8.5 0 16.6 3.4 22.6 9.4l215.2 215.2c6 6 9.4 14.2 9.4 22.7V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32zm-6.312 385.187l-133.876 40.95c-16.187 4.637-29.4 21.525-29.4 37.712v141.225s-9.712-6.562-31.324-3.5c-31.763 4.55-57.488 28.875-57.488 54.425 0 25.55 25.725 41.213 57.488 36.663 31.762-4.463 55.037-28.088 55.037-53.638V582.449c0-11.375 13.65-16.187 13.65-16.187l118.387-37.1s13.126-4.375 13.126 7.7v96.862s-12.076-6.912-33.688-4.287c-31.762 3.85-57.488 27.65-57.488 53.2 0 25.55 25.726 41.737 57.488 37.887 31.762-3.85 57.488-27.65 57.488-53.2V470.187c0-16.275-13.126-25.638-29.4-21zM602 137.8V326h188.2L602 137.8z"/></symbol><symbol id="bkai-doc-3" viewBox="0 0 1024 1024"><path fill="#3A84FF" d="M675.35 62.103a21.336 21.336 0 017.36 16.122v889.43a21.33 21.33 0 01-24.32 21.12l-536.406-76.587c-21.028-2.995-36.65-21-36.65-42.24V175.932c0-21.24 15.622-39.245 36.65-42.24l536.363-76.587a21.333 21.333 0 0117.003 4.998zm220.693 76.837c23.564 0 42.666 19.102 42.666 42.667v682.666c0 23.564-19.102 42.667-42.666 42.667H725.376v-85.333h128V224.273h-128V138.94h170.667zM298.709 352.273h-85.333v341.334h85.333l85.334-85.334 85.333 85.334h85.333V352.273h-85.333v212.864l-85.333-84.864-84.907 85.334-.427-213.334z"/></symbol><symbol id="bkai-excel-2" viewBox="0 0 1024 1024"><path fill="#2DCB56" fill-rule="evenodd" d="M675.307 51.163a21.336 21.336 0 017.36 16.122v889.43a21.33 21.33 0 01-24.32 21.12L121.94 901.248c-21.027-2.995-36.65-21-36.65-42.24V164.992c0-21.24 15.623-39.245 36.65-42.24l536.363-76.587a21.333 21.333 0 0117.003 4.998zM896 128c23.564 0 42.667 19.103 42.667 42.667v682.666C938.667 876.897 919.564 896 896 896H725.333v-85.333h128V213.333h-128V128H896zM315.733 341.333h-102.4L332.8 512 213.333 682.667h102.4L384 585.13l68.267 97.536h102.4L435.2 512l119.467-170.667h-102.4L384 438.87l-68.267-97.536z"/></symbol><symbol id="bkai-markdown" viewBox="0 0 1024 1024"><path fill="#979BA5" fill-rule="evenodd" d="M616.8 64c8.5 0 16.6 3.4 22.6 9.4l215.2 215.2c6 6 9.4 14.2 9.4 22.7V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.8zM443.562 477.562h-90V768h55.876V603.75c0-24.5-.813-48.938-2.438-73.312h1.688c4.374 21.374 7.437 34.437 9.187 39.187L490.438 768h49.312l71.625-200.25c2.25-6.25 5.25-18.688 9-37.312h1.5c-1.625 24.624-2.437 45.062-2.437 61.312V768h61.124V477.562H593l-62.812 175.126c-4.126 11.624-8.126 25.374-12 41.25h-1.313c-1.875-12.75-5.437-26.376-10.687-40.876l-62.626-175.5zM602 137.8V326h188.2L602 137.8z"/></symbol><symbol id="bkai-pdf-2" viewBox="0 0 1024 1024"><path fill="#EA3636" fill-rule="evenodd" d="M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM633.217 637.256c-15.174-.489-31.314.67-49.65 2.964-24.298-14.987-40.654-35.582-52.274-65.827.28-1.152.86-3.538 1.063-4.38.474-1.958.867-3.594 1.243-5.185 4.293-18.13 6.615-31.358 7.3-44.695.518-10.074-.04-19.368-1.827-27.976-3.298-18.584-16.454-29.453-33.021-30.126-15.446-.627-29.649 7.993-33.281 21.373-5.913 21.612-2.45 50.07 10.08 98.582-15.964 38.056-37.052 82.661-51.203 107.539-18.885 9.74-33.604 18.605-45.953 28.427-16.303 12.966-26.48 26.29-29.286 40.306-1.355 6.48.692 14.966 5.36 21.912 5.296 7.879 13.282 12.991 22.855 13.735 24.152 1.877 53.83-23.024 86.59-79.258 3.295-1.09 6.78-2.257 11.026-3.69 2.323-.783 10.464-3.538 11.91-4.026 7.521-2.54 12.98-4.36 18.376-6.116 23.396-7.612 41.096-12.429 57.21-15.163 27.973 14.973 60.316 24.796 82.098 24.796 17.979 0 30.126-9.319 34.515-23.985 3.857-12.886.794-27.824-7.473-36.084-8.56-8.41-24.3-12.434-45.658-13.123zm-247.985 128.42v-.36l.126-.338c1.275-3.421 3.157-7.008 5.6-10.758 4.284-6.576 10.173-13.5 17.472-20.865 3.92-3.955 8.002-7.8 12.79-12.12 1.073-.969 7.91-7.059 9.189-8.25l11.176-10.407-8.12 12.934c-12.326 19.638-23.46 33.78-33.013 43.004-3.507 3.387-6.6 5.9-9.091 7.505-1.027.662-1.916 1.144-2.613 1.424-.409.163-.771.268-1.13.302-.38.045-.765-.01-1.117-.16a2.068 2.068 0 01-1.269-1.911zm125.934-218.269l-2.26 4.007-1.39-4.385c-3.114-9.829-5.387-24.641-6.016-37.997-.716-15.197.49-24.323 5.286-24.323 6.74 0 9.831 10.808 10.076 27.053.216 14.28-2.03 29.142-5.696 35.645zm-5.81 58.464l1.534-4.05 2.088 3.795c11.69 21.245 26.858 38.967 43.538 51.315l3.595 2.662-4.38.904c-16.328 3.372-31.544 8.457-52.34 16.842 2.174-.876-21.623 8.863-27.638 11.169l-5.252 2.013 2.802-4.877c12.35-21.496 23.758-47.326 36.052-79.773h.001zm157.626 76.261c-7.864 3.104-24.777.329-54.569-12.387l-7.561-3.227 8.199-.607c23.295-1.724 39.807-.44 49.422 3.08 4.09 1.498 6.824 3.388 8.037 5.553 1.31 2.336.71 4.81-1.362 6.31-.448.427-1.155.88-2.166 1.278z"/></symbol><symbol id="bkai-ppt-2" viewBox="0 0 1024 1024"><path fill="#FF5656" fill-rule="evenodd" d="M675.35 62.103a21.336 21.336 0 017.36 16.122v889.43a21.33 21.33 0 01-24.32 21.12l-536.406-76.587c-21.028-2.995-36.65-21-36.65-42.24V175.932c0-21.24 15.622-39.245 36.65-42.24l536.363-76.587a21.333 21.333 0 0117.003 4.998zm220.693 76.837c23.564 0 42.666 19.102 42.666 42.667v682.666c0 23.564-19.102 42.667-42.666 42.667H725.376v-85.333h128V224.273h-128V138.94h170.667zM540.487 323.829H199.154v341.333h85.333V579.83h256v-256zm-85.333 85.333v85.333H284.487v-85.333h170.667z"/></symbol><symbol id="bkai-sousuo" viewBox="0 0 1024 1024"><path fill-rule="evenodd" d="M478.72 128c193.6 0 350.72 157.12 350.72 350.72 0 82.88-28.8 159.04-76.8 218.88l131.84 131.84c15.36 15.36 15.36 40 0 55.04s-40 15.36-55.04 0L697.6 752.64c-60.16 48-136 76.8-218.88 76.8-193.6 0-350.72-157.12-350.72-350.72S285.12 128 478.72 128zm0 78.4c-150.4 0-272.32 121.92-272.32 272.32s121.92 272.32 272.32 272.32c58.56 0 114.24-18.56 160.32-52.16l9.6-7.36 23.68-19.2 19.2-23.68c35.84-44.8 56.64-99.52 59.2-157.44l.32-12.48c0-150.4-121.92-272.32-272.32-272.32z" clip-rule="evenodd"/></symbol><symbol id="bkai-chouti" viewBox="0 0 1024 1024"><path d="M864 160c35.346 0 64 28.654 64 64v576c0 35.346-28.654 64-64 64H160c-35.346 0-64-28.654-64-64V224c0-35.346 28.654-64 64-64zm-320 64H160v576h384V224zm320 0H608v576h256V224zm-64 224v64H672v-64h128zm0-128v64H672v-64h128z"/></symbol><symbol id="bkai-liaotianchuang" viewBox="0 0 1024 1024"><path fill-rule="evenodd" d="M832 160c35.346 0 64 28.654 64 64v569.6c0 38.88-28.654 70.4-64 70.4H192c-35.346 0-64-31.52-64-70.4V224c0-35.346 28.654-64 64-64h640zm0 192H192v448h640V352zM704 224c-17.673 0-32 14.327-32 32 0 17.673 14.327 32 32 32 17.673 0 32-14.327 32-32 0-17.673-14.327-32-32-32zm-96 0c-17.673 0-32 14.327-32 32 0 17.673 14.327 32 32 32 17.673 0 32-14.327 32-32 0-17.673-14.327-32-32-32zm192 0c-17.673 0-32 14.327-32 32 0 17.673 14.327 32 32 32 17.673 0 32-14.327 32-32 0-17.673-14.327-32-32-32z"/></symbol><symbol id="bkai-sikao" viewBox="0 0 1024 1024"><path d="M528 96c61.856 0 112 50.144 112 112 0 .376-.002.751-.006 1.126C774.73 260.666 870.4 391.16 870.4 544c0 22.55-2.082 44.612-6.066 66.007C883.94 630.144 896 657.663 896 688c0 61.856-50.144 112-112 112a112.7 112.7 0 01-19.49-1.69C699.754 862.65 610.519 902.4 512 902.4s-187.753-39.75-252.539-104.088A112.33 112.33 0 01240 800c-61.856 0-112-50.144-112-112 0-30.337 12.061-57.856 31.65-78.025A361.172 361.172 0 01153.6 544c0-164.845 111.29-303.696 262.836-345.518C421.232 141.079 469.35 96 528 96zm-91.48 176.633l-4.469 1.278C315.47 308.366 230.4 416.249 230.4 544c0 10.923.622 21.7 1.832 32.3l1.623-.134L240 576c61.856 0 112 50.144 112 112 0 26.132-8.95 50.173-23.95 69.226C377.36 799.817 441.67 825.6 512 825.6c70.33 0 134.639-25.783 183.99-68.412C680.95 738.173 672 714.132 672 688c0-61.856 50.144-112 112-112 2.607 0 5.194.09 7.757.264A280.989 280.989 0 00793.6 544c0-119.973-75.025-222.422-180.718-262.99C592.35 304.904 561.938 320 528 320c-37.782 0-71.195-18.708-91.48-47.367z"/></symbol><symbol id="bkai-wenzhang" viewBox="0 0 1024 1024"><path fill="#3D4265" d="M708.923 157.538h275.692c21.752 0 39.385 17.634 39.385 39.385v748.308c0 43.503-35.266 78.769-78.77 78.769H708.924V157.538z"/><path fill="#3A84FF" d="M0 984.615A39.385 39.385 0 0039.385 1024H945.23c-43.503 0-78.77-35.266-78.77-78.77V39.386C866.462 17.633 848.829 0 827.078 0H39.385C17.633 0 0 17.633 0 39.385v945.23z"/><path fill="#FFF" d="M196.923 288.82c-21.751 0-39.385 17.634-39.385 39.385 0 21.752 17.634 39.385 39.385 39.385h157.539c21.751 0 39.384-17.633 39.384-39.385 0-21.751-17.633-39.384-39.384-39.384H196.923zm0 236.308c-21.751 0-39.385 17.633-39.385 39.385 0 21.751 17.634 39.384 39.385 39.384h472.615c21.752 0 39.385-17.633 39.385-39.384 0-21.752-17.633-39.385-39.385-39.385H196.923zm0 236.308c-21.751 0-39.385 17.633-39.385 39.385 0 21.751 17.634 39.384 39.385 39.384h236.308c21.751 0 39.384-17.633 39.384-39.384 0-21.752-17.633-39.385-39.384-39.385H196.923z"/></g></symbol><symbol id="bkai-published-zhongzhi" viewBox="0 0 1024 1024"><path fill-rule="evenodd" d="M512 96c229.75 0 416 186.25 416 416S741.75 928 512 928 96 741.75 96 512 282.25 96 512 96zm0 64c-194.404 0-352 157.596-352 352s157.596 352 352 352 352-157.596 352-352-157.596-352-352-352zm16 208c70.692 0 128 57.308 128 128v32c0 70.692-57.308 128-128 128h-32c-70.692 0-128-57.308-128-128v-32c0-70.692 57.308-128 128-128h32z"/></symbol><symbol id="bkai-fasong" viewBox="0 0 1024 1024"><path fill-rule="evenodd" d="M873.6 99.2L118.4 476.8c-28.8 16-28.8 44.8-6.4 60.8l182.4 112c16 6.4 28.8 6.4 44.8-6.4L736 288 390.4 672c-6.4 6.4-6.4 16-6.4 22.4v166.4c0 16 6.4 28.8 22.4 38.4s28.8 0 38.4-6.4l89.6-89.6 182.4 121.6c28.8 16 54.4 6.4 60.8-22.4L928 147.2c6.4-38.4-19.2-60.8-54.4-48z" clip-rule="evenodd"/></symbol><symbol id="bkai-diancai" viewBox="0 0 1024 1024"><path d="M192 575.003V128h-64v447.003h64zM448 896c44.402-6.635 76.402-17.301 96-32 42.667-32 64-74.667 64-128v-96h235.517a64 64 0 0017.328-2.39c34.026-9.57 53.851-44.912 44.282-78.938l-108-384C789.364 147.07 764.19 128 735.517 128H288v448l160 320zm35.008-73.024L352 560.96V192h383.517l108 384H544v160c0 33.189-11.849 56.887-38.4 76.8-4.222 3.167-11.054 6.421-20.402 9.518l-2.19.658z"/></symbol><symbol id="bkai-diancaishixin" viewBox="0 0 1024 1024"><path fill-rule="evenodd" d="M192 575.003V128h-64v447.003h64zM448 896c44.402-6.635 76.402-17.301 96-32 42.667-32 64-74.667 64-128v-96h235.517a64 64 0 0017.328-2.39c34.026-9.57 53.851-44.912 44.282-78.938l-108-384C789.364 147.07 764.19 128 735.517 128H288v448l160 320z"/></symbol><symbol id="bkai-dianzan" viewBox="0 0 1024 1024"><path fill-rule="evenodd" d="M192 448.997V896h-64V448.997h64zM448 128c44.402 6.635 76.402 17.301 96 32 42.667 32 64 74.667 64 128v96h235.517a64 64 0 0117.328 2.39c34.026 9.57 53.851 44.912 44.282 78.938l-108 384C789.364 876.93 764.19 896 735.517 896H288V448l160-320zm35.008 73.024L352 463.04V832h383.517l108-384H544V288c0-33.189-11.849-56.887-38.4-76.8-4.222-3.167-11.054-6.421-20.402-9.518l-2.19-.658z"/></symbol><symbol id="bkai-dianzanshixin" viewBox="0 0 1024 1024"><path fill-rule="evenodd" d="M192 448.997V896h-64V448.997h64zm96-.997v448h471.758c14.337 0 26.924-9.535 30.805-23.336l126-448c4.785-17.013-5.128-34.684-22.14-39.469a32 32 0 00-8.665-1.195H608v-96c0-53.333-21.333-96-64-128-19.598-14.699-51.598-25.365-96-32L288 448z"/></symbol><symbol id="bkai-dingyue" viewBox="0 0 1024 1024"><path fill-rule="evenodd" d="M821.428 128C862.625 128 896 162.015 896 204.003v661.17C896 882.182 882.963 896 866.276 896c-7.693 0-14.609-2.936-19.83-7.715l-.508-.257-300.374-157.852h-.521l-301.416 157.32-3.082 1.13c-5.16 4.294-11.74 6.843-18.82 6.843-16.688 0-29.725-13.82-29.725-30.295V204.003C192 162.015 225.375 128 266.572 128h554.856zm0 60.59H266.572c-8.344 0-15.123 6.909-15.123 15.413l-.025 610.781 269.11-140.414c1.042-.532 1.564-1.063 2.607-1.063 13.558-6.91 30.767-6.91 44.847.531l2.086 1.063 266.47 139.755.007-610.653c0-8.504-6.78-15.413-15.123-15.413zm-95.431 294.975c16.166 0 29.724 13.82 29.724 30.295l-.009 30.268 29.734.027c16.687 0 29.724 13.819 29.724 30.295s-13.037 30.295-29.724 30.295l-29.734-.009.01 30.835c0 16.476-13.559 30.295-29.725 30.295-16.687 0-29.724-13.819-29.724-30.295l-.017-30.835-30.23.009c-16.687 0-29.724-13.819-29.724-30.295s13.559-30.295 29.725-30.295l30.229-.027.017-30.268c0-17.007 13.558-30.295 29.724-30.295zM663.419 231.11c16.688 0 29.725 13.818 29.725 30.294 0 17.008-13.037 30.295-29.725 30.295H424.581c-16.688 0-29.725-13.818-29.725-30.295 0-17.007 13.559-30.294 29.725-30.294h238.838z"/></symbol><symbol id="bkai-fujian" viewBox="0 0 1024 1024"><path d="M470.82 362.7L278.013 549.08c-66.508 64.292-66.483 168.527.058 232.85 66.434 64.22 174.442 64.281 240.881.058l241.055-233.02c13.307-12.862 34.88-12.862 48.188 0 13.307 12.864 13.307 33.719 0 46.581L567.138 828.57c-93.066 89.961-244.221 89.874-337.255-.058-93.15-90.044-93.186-235.988-.06-326.01l337.433-326.182.031-.03c66.643-64.347 174.084-64.453 240.847.088 66.649 64.425 66.805 168.328.02 232.886l-192.85 186.42-144.341 139.53c-40.033 38.697-104.634 38.872-144.705.136-40.08-38.744-40.235-100.85.141-139.88L663.43 269.674c13.306-12.862 34.88-12.862 48.188 0 13.306 12.864 13.306 33.72 0 46.581L374.587 642.051c-13.711 13.253-13.66 33.65-.142 46.717 13.398 12.951 34.85 12.893 48.33-.136l144.34-139.53 192.85-186.42c40.14-38.8 40.048-100.994-.02-139.724-19.121-18.61-45.133-29.078-72.268-29.082-27.134-.003-53.15 10.458-72.275 29.064L470.82 362.7z"/></symbol><symbol id="bkai-lashen" viewBox="0 0 1024 1024"><path fill-rule="evenodd" d="M511.491 192l128.431 159.872h-256L511.492 192zM768 128v64H256v-64h512zM256 832h512v64H256zm224-480h64v320h95.922l-128.43 159.872L383.921 672H480V352z"/></symbol><symbol id="bkai-yasuo" viewBox="0 0 1024 1024"><path fill-rule="evenodd" d="M511.491 544l128.431 159.872L544 703.84V928h-64V703.84l-96.078.032L511.492 544zM832 480v64H192v-64h640zM544 96v223.968l95.922.032-128.43 159.872L383.921 320l96.078-.032V96h64z"/></symbol><symbol id="bkai-yinyong" viewBox="0 0 1024 1024"><path fill-rule="evenodd" d="M642.272 192v64H416c-106.039 0-192 85.961-192 192s85.961 192 192 192h355.712L640 509.52 686 464l210 208-210 208-46-45.52L771.712 704H416c-138.717 0-251.665-110.33-255.878-248.026L160 448c0-141.385 114.615-256 256-256h226.272z"/></symbol><symbol id="bkai-drill-down" viewBox="0 0 1024 1024"><path fill-rule="evenodd" d="M932.061 599.866l-144.135-89.362-34.411 55.443L889.21 649.44 564.58 850.993a97.006 97.006 0 01-102.582 0l-324.63-201.554 131.8-82.84-34.411-55.443-142.837 88.71C74.534 610.259 63.915 629.114 64 649.439c-.054 20.49 10.527 39.525 27.92 50.225l335.018 206.773a158.447 158.447 0 00170.105 0l335.018-205.468c17.393-10.7 27.974-29.736 27.918-50.226.555-20.787-10.125-40.25-27.918-50.877zM784.68 383.309l-38.955-52.182-201.27 150.676V80h-64.926v401.803l-201.27-150.676-38.956 52.182L511.99 587.472 784.68 383.31z"/></symbol><symbol id="bkai-liaotianliebiao" viewBox="0 0 1024 1024"><path fill-rule="evenodd" d="M160 192h704c17.673 0 32 14.327 32 32 0 17.673-14.327 32-32 32H160c-17.673 0-32-14.327-32-32 0-17.673 14.327-32 32-32zm0 288h352c17.673 0 32 14.327 32 32 0 17.673-14.327 32-32 32H160c-17.673 0-32-14.327-32-32 0-17.673 14.327-32 32-32zm0 288h576c17.673 0 32 14.327 32 32 0 17.673-14.327 32-32 32H160c-17.673 0-32-14.327-32-32 0-17.673 14.327-32 32-32z"/></symbol><symbol id="bkai-xinzengliaotian" viewBox="0 0 1024 1024"><path fill-rule="evenodd" d="M512 64c247.424 0 448 200.576 448 448S759.424 960 512 960c-58.835 0-115.02-11.341-166.49-31.957L96 928l-.005-249.414C75.355 627.09 64 570.87 64 512 64 264.576 264.576 64 512 64zm0 64c-212.077 0-384 171.923-384 384 0 49.608 9.378 97.809 27.401 142.775l4.594 11.462L159.968 864l185.553.043 12.335.002 11.45 4.587C414.25 886.633 462.423 896 512 896c212.077 0 384-171.923 384-384S724.077 128 512 128zm0 160c17.673 0 32 14.327 32 32v160h160c17.673 0 32 14.327 32 32 0 16.41-12.353 29.936-28.268 31.785L704 544H544v160c0 16.41-12.353 29.936-28.268 31.785L512 736c-17.673 0-32-14.327-32-32V544H320c-17.673 0-32-14.327-32-32 0-17.673 14.327-32 32-32h160V320c0-17.673 14.327-32 32-32z"/></symbol><symbol id="bkai-quxiaozhiding" viewBox="0 0 1024 1024"><path fill-rule="evenodd" d="M534.3 612.212c29.73 3.15 53.172 13.558 70.325 31.226 27.875 25.374 41.813 63.374 41.813 114 0 49.624-13.938 87.624-41.813 114-20.875 21.5-51.063 32.25-90.563 32.25s-69.687-10.75-90.562-32.25c-26.58-25.037-40.543-60.55-41.892-106.536l73.262-73.341c-10.663 16.383-15.995 38.341-15.995 65.877 0 31.124 6.813 55.124 20.437 72 13.626 16.874 31.876 25.312 54.75 25.312 22.876 0 41.063-8.438 54.563-25.312 13.375-16.876 20.063-40.876 20.063-72 0-31-6.72-54.97-20.157-71.907-13.437-16.937-31.593-25.406-54.469-25.406-14.43 0-27.021 3.358-37.77 10.074l58.008-57.987zm277.888 7.413c27.75 0 49.874 7.125 66.374 21.375 16.5 14.25 24.75 36.312 24.75 66.188 0 32.624-8.25 55.687-24.75 69.187s-40.062 20.25-70.687 20.25h-58.687V896h-57.376V619.625h120.376zM275.37 871.104l.004 24.896h-24.9l24.896-24.896zm549.53-685.26l45.255 45.254-656.195 656.196-45.255-45.255 656.196-656.195zM803 667.625h-53.812V749H803c13.625 0 24.25-3.312 31.875-9.938 7.5-6.624 11.25-17.124 11.25-31.5 0-14.374-3.781-24.624-11.344-30.75-7.562-6.124-18.156-9.187-31.781-9.187zm-457.132-48.009l-48.928 48.928-21.565.018-.004 21.55-58.143 58.144.022-79.694h-83.062v-48.937l211.68-.009zM496 96l181.388 192.096L581.484 384H576l-.02 5.504L421.484 544H416V384H224L496 96z"/></symbol><symbol id="bkai-zhiding" viewBox="0 0 1024 1024"><path fill-rule="evenodd" d="M496 96l272 288H576v160H416V384H224L496 96zM358.062 619.625v48.937h-82.687V896H217.25V668.562h-83.062v-48.937h223.874zm156 284.063c-39.5 0-69.687-10.75-90.562-32.25-28-26.376-42-64.376-42-114 0-50.626 14-88.626 42-114 20.875-21.5 51.062-32.25 90.562-32.25s69.688 10.75 90.563 32.25c27.875 25.374 41.813 63.374 41.813 114 0 49.624-13.938 87.624-41.813 114-20.875 21.5-51.063 32.25-90.563 32.25zm54.563-74.25c13.375-16.876 20.063-40.876 20.063-72 0-31-6.72-54.97-20.157-71.907-13.437-16.937-31.593-25.406-54.469-25.406-22.874 0-41.124 8.437-54.75 25.313-13.624 16.874-20.437 40.874-20.437 72 0 31.124 6.813 55.124 20.437 72 13.626 16.874 31.876 25.312 54.75 25.312 22.876 0 41.063-8.438 54.563-25.312zm239.25-32.813h-58.687V896h-57.376V619.625h120.376c27.75 0 49.874 7.125 66.374 21.375 16.5 14.25 24.75 36.312 24.75 66.188 0 32.624-8.25 55.687-24.75 69.187s-40.062 20.25-70.687 20.25zm27-57.563c7.5-6.624 11.25-17.124 11.25-31.5 0-14.374-3.781-24.624-11.344-30.75-7.562-6.124-18.156-9.187-31.781-9.187h-53.812V749H803c13.625 0 24.25-3.312 31.875-9.938z"/></symbol><symbol id="bkai-piliangbianji" viewBox="0 0 1024 1024"><path fill-rule="evenodd" d="M573.538 160v57.6H219.077v588.8h585.846V491.2H864v344c0 15.898-13.233 28.8-29.538 28.8H189.538C173.233 864 160 851.098 160 835.2V188.8c0-15.898 13.233-28.8 29.538-28.8h384zm281.653 0L896 203.948 520.81 608 480 564.052 855.19 160z"/></symbol><symbol id="bkai-shanchu" viewBox="0 0 1024 1024"><path d="M659.2 246.4v-60.8c0-32-25.6-57.6-57.6-57.6h-176c-32 0-57.6 25.6-57.6 57.6v57.6H128v57.6h102.4V832c0 32 25.6 57.6 57.6 57.6h441.6c32 0 57.6-25.6 57.6-57.6V304H896v-57.6H659.2zm-236.8-44.8c0-9.6 6.4-16 16-16h147.2c9.6 0 16 6.4 16 16v44.8h-176v-44.8zm310.4 620.8c0 9.6-6.4 16-16 16H304c-9.6 0-16-6.4-16-16V304h441.6v518.4z"/><path d="M576 384h64v320h-64V384zM384 384h64v320h-64V384z"/></symbol><symbol id="bkai-yuan-jiahao" viewBox="0 0 1024 1024"><path fill-rule="evenodd" d="M512 64c247.424 0 448 200.576 448 448S759.424 960 512 960 64 759.424 64 512 264.576 64 512 64zm31.984 224.016H480v192.016H288v63.984h192v192h63.984v-192H736v-63.984H543.984V288.016z"/></symbol><symbol id="bkai-yuan-jianhao" viewBox="0 0 1024 1024"><path fill-rule="evenodd" d="M512 64c247.424 0 448 200.576 448 448S759.424 960 512 960 64 759.424 64 512 264.576 64 512 64zm224 416.016H288V544h448v-63.984z"/></symbol><symbol id="bkai-zhushou" viewBox="0 0 1024 1024"><path fill-rule="evenodd" d="M872.2 454.62C868.485 256.243 714.704 96 525.868 96h-27.734C309.297 96 155.516 256.243 151.8 454.592 118.63 473.812 96 509.282 96 550.3v55.466c0 61.18 49.754 110.934 110.933 110.934 61.18 0 110.934-49.754 110.934-110.934V550.3c-.088-60.802-49.08-110.215-109.88-110.823 10.844-160.714 136.67-288.01 290.146-288.01h27.734c153.504 0 279.302 127.296 290.146 288.01-60.8.608-109.792 50.02-109.88 110.823v55.466c0 50.087 33.558 92.02 79.207 105.748a292.503 292.503 0 01-166.345 107.882c-9.389-28.157-35.714-47.17-65.395-47.23-38.292 0-69.333 31.042-69.333 69.334 0 38.291 31.041 69.333 69.333 69.333a69.056 69.056 0 0058.822-33.03c101.164-17.698 189.385-79.083 241.142-167.787C896.772 694.874 928 654.106 928 605.766V550.3c0-41.018-22.63-76.489-55.8-95.68zM262.4 550.3v55.466c0 30.59-24.877 55.467-55.467 55.467s-55.466-24.877-55.466-55.467V550.3c0-30.59 24.876-55.467 55.466-55.467S262.4 519.71 262.4 550.3zm610.133 55.466c0 29.73-23.573 53.886-52.97 55.217l-2.164-1.026c-.194.444-.499.805-.693 1.22-30.47-.197-55.076-24.94-55.106-55.41V550.3c0-30.59 24.877-55.467 55.467-55.467s55.466 24.877 55.466 55.467v55.466z"/></symbol><symbol id="bkai-bianji" viewBox="0 0 1024 1024"><path fill-rule="evenodd" d="M609.6 201.562L712 303.968 304 710.39H203.2V609.584l406.4-408.022zM683.672 128l101.821 101.83-45.255 45.257-101.822-101.83L683.672 128zM128 799.995h768V896H128v-96.005z"/></symbol><symbol id="bkai-shezhi-3" viewBox="0 0 1024 1024"><path fill-rule="evenodd" d="M512.141 64c33.285 0 66.664 3.844 73.857 5 14.812 2.5 26.62 13.9 29.623 28.6l12.71 63.4c2.302 11.6 10.208 21.5 21.217 26.1 27.32 11.5 52.84 26.3 76.058 44 9.608 7.2 22.118 9.2 33.426 5.4l61.048-20.6c14.31-4.8 30.123-.2 39.63 11.4 11.51 14.1 22.217 28.9 32.025 44.4l18.614 32.1c8.507 16.3 16.113 33.2 22.618 50.7 5.204 14 1.1 29.7-10.108 39.6L874.021 437c-9.007 7.9-13.41 19.7-12.009 31.6 1.601 14 2.502 28.3 2.502 42.8 0 14.8-.9 29.4-2.702 43.7-1.401 11.9 3.002 23.8 12.01 31.7l48.537 42.7c11.309 9.9 15.312 25.7 10.008 39.8-17.514 46.6-42.633 89.5-73.758 127.2-9.507 11.6-25.22 16-39.43 11.2L757.83 787c-11.308-3.8-23.818-1.7-33.426 5.5-22.817 17.2-47.837 31.8-74.557 43.1-11.109 4.7-19.115 14.5-21.417 26.2l-12.71 63.5c-3.002 14.7-14.711 26.1-29.523 28.6-24.118 4-48.837 6.1-74.057 6.1-24.82 0-49.238-2-72.956-5.9-14.812-2.5-26.621-13.9-29.523-28.6l-12.71-63.3c-2.302-11.6-10.208-21.5-21.217-26.1a355.85 355.85 0 01-75.558-43.5c-9.607-7.2-22.117-9.2-33.426-5.4L205.303 808c-14.21 4.8-29.923.3-39.43-11.2-4.932-5.952-25.037-29.06-41.159-56.796-11.28-19.409-22.147-42.81-32.598-70.204-5.304-14.1-1.301-29.9 10.008-39.8l48.537-42.6c9.007-7.9 13.51-19.7 12.01-31.5-1.902-14.5-2.803-29.4-2.803-44.5 0-14.7.901-29.2 2.702-43.5 1.502-11.9-3.002-23.8-12.009-31.7l-48.638-42.7c-11.308-9.9-15.311-25.7-10.007-39.8 4.503-12 9.507-23.7 14.911-35.1.4-.9.9-1.7 1.401-2.6l32.025-55.4c.5-.9 1-1.8 1.601-2.6 7.406-10.6 15.112-20.9 23.318-30.9 9.508-11.6 25.32-16.1 39.531-11.3l61.147 20.7c11.41 3.8 23.919 1.8 33.526-5.5 23.519-17.8 49.138-32.7 76.66-44.2a35.8 35.8 0 0021.316-26.1l12.61-63.2c2.902-14.8 14.711-26.2 29.623-28.6 6.77-1.094 39.618-4.9 72.556-4.9zm28.022 64h-56.544l-2.802.2c-7.106.6-12.91 5.8-14.311 12.7l-10.308 51.6-5.304 26.7c-1.101 5.4-5.004 9.9-10.208 11.8l-25.72 9.2c-32.525 11.6-62.449 28.9-88.97 51.3l-20.815 17.6c-4.203 3.6-10.008 4.7-15.312 2.9l-25.82-8.7-50.039-16.9c-6.705-2.3-14.11.1-18.114 5.9-.1.1-.2.3-.3.4l-.7 1.2-30.324 52.5-.6 1.2-1.008 2.804c-1.462 5.706.364 11.853 4.91 15.796l39.831 35 20.416 17.9c4.103 3.7 6.105 9.2 5.104 14.7l-4.704 26.7c-3.002 16.7-4.503 33.9-4.503 51 0 17.4 1.501 34.8 4.604 51.7l4.803 26.8c1.001 5.4-.9 11-5.104 14.7l-20.516 18-39.53 34.8c-5.304 4.7-6.805 12.3-3.803 18.7l2.802 5.7c.2.3.3.6.5.9l23.519 40.7.6.9c1.501 2.4 3.203 4.8 4.804 7.1 4.003 5.7 11.309 8.1 18.014 5.9l50.539-17 25.62-8.7c5.204-1.8 11.108-.7 15.312 2.9l20.816 17.4c26.22 22.1 55.943 39.2 88.068 50.7l25.62 9.2c5.204 1.9 9.107 6.3 10.208 11.8l5.304 26.7 10.308 51.6c1.3 7 7.205 12.1 14.31 12.7 10.509.9 21.017 1.3 31.525 1.3 10.909 0 21.817-.5 32.626-1.4 7.005-.6 12.81-5.8 14.21-12.7l10.409-52 5.304-26.6c1.1-5.4 4.903-9.9 10.108-11.8l25.52-9.3c31.924-11.6 61.347-28.6 87.467-50.6l20.816-17.5c4.203-3.6 10.008-4.7 15.312-2.9l25.72 8.7 50.239 17c6.705 2.3 14.11-.1 18.114-5.9 6.105-8.7 11.809-17.6 17.113-26.8 5.504-9.5 10.608-19.1 15.212-28.9 3.002-6.4 1.401-14-3.903-18.7l-39.831-34.9-20.416-17.9c-4.103-3.7-6.105-9.2-5.104-14.7l4.704-26.7c3.002-16.7 4.503-33.8 4.503-51 0-16.9-1.5-33.8-4.403-50.3l-4.704-26.6c-.9-5.5 1.001-11 5.204-14.7l20.316-17.8 39.83-34.8c5.305-4.7 6.906-12.2 3.904-18.6-2.102-4.6-4.303-9.2-6.705-13.7l-17.214-29.8c-2.602-4.1-5.304-8.2-8.106-12.2-4.003-5.8-11.409-8.3-18.114-6l-50.039 16.9-25.82 8.7c-5.204 1.8-11.108.7-15.311-2.9L698.485 292c-26.32-22.3-55.943-39.5-88.268-51.2l-25.52-9.3c-5.204-1.9-9.007-6.4-10.108-11.8l-5.304-26.7-10.408-51.9c-1.4-6.9-7.205-12.1-14.21-12.7-1.502-.2-3.003-.3-4.504-.4zM512.24 351.5c88.469 0 160.124 71.6 160.124 160s-71.655 160-160.124 160c-88.468 0-160.124-71.6-160.124-160s71.656-160 160.124-160zm0 64c-52.94 0-96.074 43.1-96.074 96s43.133 96 96.074 96c52.941 0 96.075-43.1 96.075-96s-43.134-96-96.075-96z"/></symbol><symbol id="bkai-history" viewBox="0 0 1024 1024"><path fill-rule="evenodd" d="M551.32 96C776.665 96 960 282.618 960 512S776.666 928 551.32 928v-66.56c189.284 0 343.291-156.749 343.291-349.44S740.604 162.56 551.319 162.56c-183.76 0-333.843 147.863-342.458 332.8h117.39L179.124 668.283 32 495.36h111.047C151.678 273.665 331.449 96 551.319 96zm28.445 192v192H800v64H512V288h67.765z"/></symbol><symbol id="bkai-fuzhi" viewBox="0 0 1024 1024"><path d="M672 704v128c0 35.346-28.654 64-64 64H192c-35.346 0-64-28.654-64-64V384c0-35.346 28.654-64 64-64h160V216.889C352 168.242 389.727 128 437.333 128h373.334C858.273 128 896 168.242 896 216.889V615.11C896 663.758 858.273 704 810.667 704H672zm-64-320H192v448h416V384zm64 256h138.667C821.97 640 832 629.302 832 615.111V216.89C832 202.698 821.97 192 810.667 192H437.333C426.03 192 416 202.698 416 216.889V320h192c35.346 0 64 28.654 64 64v256z"/></symbol><symbol id="bkai-zhongxinshengcheng" viewBox="0 0 1024 1024"><path d="M844.077 379.897c16.38 41.657 25.316 87.777 25.316 132.41 0 197.87-160.827 357.06-357.393 357.06-84.88 0-166.783-29.755-230.816-84.802h71.478v-59.51H184.39v166.628h59.566v-60.997c175.718 147.287 439.295 124.97 586.719-50.584 101.261-120.508 125.087-285.648 64.033-429.96l-50.63 29.755zM179.923 644.717c-16.38-41.658-25.316-87.778-25.316-132.41 0-197.871 160.827-357.061 357.393-357.061 84.88 0 166.783 29.755 230.816 84.802h-71.478v59.51H839.61V132.93h-59.566v60.998C604.326 45.152 340.75 68.956 193.325 244.51 92.064 365.02 68.238 530.16 129.292 674.471l50.63-29.754z"/></symbol><symbol id="bkai-fenxiang" viewBox="0 0 1024 1024"><path d="M954.297 473.916L566.932 132.133c-10.735-9.437-27.186-1.672-27.186 12.783v200.458c0 8.96-6.884 16.486-15.635 16.844C299.86 370.461 111.31 537.112 71.64 765.644l-7.35 42.41c-2.918 16.485 16.917 26.76 28.235 14.574l28.936-31.3c104.659-113.37 250.037-177.043 401.834-176.446 9.1 0 16.568 7.526 16.568 16.844v196.158c0 14.455 16.568 22.22 27.185 12.783L954.414 499.48c7.467-6.81 7.467-18.875-.117-25.565zm-796.9 204.998c65.339-153.987 214.218-257.68 384.332-257.68h39.67c9.101 0 16.452-7.527 16.452-16.845V237.977L879.624 486.7 597.851 734.823v-162.23c0-9.319-7.35-16.845-16.452-16.845h-36.053c-140.361-5.734-277.106 38.467-387.949 123.166z"/></symbol><symbol id="bkai-jiahao" viewBox="0 0 1024 1024"><path d="M843.353 366.385C907.69 366.385 960 418.735 960 483.03v362.68c0 64.296-52.32 116.646-116.647 116.646H480.704c-64.336 0-116.646-52.35-116.646-116.647V483.031c0-64.296 52.31-116.646 116.646-116.646h362.65zm0 67.255H480.704c-27.223 0-49.39 22.138-49.39 49.391v362.68c0 27.253 22.167 49.39 49.39 49.39h362.65c27.223 0 49.39-22.137 49.39-49.39V483.03c0-27.253-22.167-49.39-49.39-49.39zM246.72 781.484c18.587 0 33.623 15.036 33.623 33.623 0 18.587-15.036 33.623-33.623 33.623h-43.443c-18.587 0-33.623-15.036-33.623-33.623 0-18.587 15.036-33.623 33.623-33.623h43.443zm420.255-72.512c18.587 0 33.623 15.036 33.623 33.623 0 18.587-15.036 33.623-33.623 33.623H540.537c-18.587 0-33.623-15.036-33.623-33.623 0-18.587 15.036-33.623 33.623-33.623h126.437zM739.897 64c64.928 0 117.76 52.801 117.76 117.76v75.993c0 18.586-15.036 33.622-33.623 33.622-18.587 0-33.623-15.036-33.623-33.622V181.76c0-27.845-22.659-50.504-50.504-50.504H181.76c-27.845 0-50.504 22.659-50.504 50.504v387.375c0 27.845 22.659 50.504 50.504 50.504h64.959c18.587 0 33.623 15.036 33.623 33.623 0 18.587-15.036 33.633-33.623 33.633H181.76c-64.928 0-117.76-52.802-117.76-117.76V181.76C64 116.801 116.842 64 181.76 64h558.137zm53.473 488.594c18.587 0 33.623 15.036 33.623 33.623 0 18.587-15.036 33.623-33.623 33.623H540.537c-18.587 0-33.623-15.036-33.623-33.623 0-18.587 15.036-33.623 33.623-33.623H793.37z"/></symbol><symbol id="bkai-jieshi" viewBox="0 0 1024 1024"><path d="M843.353 366.385C907.69 366.385 960 418.735 960 483.03v362.68c0 64.296-52.32 116.646-116.647 116.646H480.704c-64.336 0-116.646-52.35-116.646-116.647V483.031c0-64.296 52.31-116.646 116.646-116.646h362.65zm0 67.255H480.704c-27.223 0-49.39 22.138-49.39 49.391v362.68c0 27.253 22.167 49.39 49.39 49.39h362.65c27.223 0 49.39-22.137 49.39-49.39V483.03c0-27.253-22.167-49.39-49.39-49.39zM246.72 781.484c18.587 0 33.623 15.036 33.623 33.623 0 18.587-15.036 33.623-33.623 33.623h-43.443c-18.587 0-33.623-15.036-33.623-33.623 0-18.587 15.036-33.623 33.623-33.623h43.443zm420.255-72.512c18.587 0 33.623 15.036 33.623 33.623 0 18.587-15.036 33.623-33.623 33.623H540.537c-18.587 0-33.623-15.036-33.623-33.623 0-18.587 15.036-33.623 33.623-33.623h126.437zM739.897 64c64.928 0 117.76 52.801 117.76 117.76v75.993c0 18.586-15.036 33.622-33.623 33.622-18.587 0-33.623-15.036-33.623-33.622V181.76c0-27.845-22.659-50.504-50.504-50.504H181.76c-27.845 0-50.504 22.659-50.504 50.504v387.375c0 27.845 22.659 50.504 50.504 50.504h64.959c18.587 0 33.623 15.036 33.623 33.623 0 18.587-15.036 33.633-33.623 33.633H181.76c-64.928 0-117.76-52.802-117.76-117.76V181.76C64 116.801 116.842 64 181.76 64h558.137zm53.473 488.594c18.587 0 33.623 15.036 33.623 33.623 0 18.587-15.036 33.623-33.623 33.623H540.537c-18.587 0-33.623-15.036-33.623-33.623 0-18.587 15.036-33.623 33.623-33.623H793.37z"/></symbol><symbol id="bkai-fanyi" viewBox="0 0 1024 1024"><path d="M377.6 851.2h-96c-44.8-6.4-83.2-44.8-83.2-89.6v-44.8c0-25.6-19.2-44.8-44.8-44.8-25.6 0-44.8 19.2-44.8 44.8v44.8c0 96 76.8 179.2 179.2 179.2h89.6c25.6 0 44.8-19.2 44.8-44.8 0-25.6-25.6-44.8-44.8-44.8zM640 230.4h89.6c25.6 0 44.8 6.4 64 25.6 19.2 19.2 25.6 38.4 25.6 64v44.8c0 25.6 19.2 44.8 44.8 44.8 25.6 0 44.8-19.2 44.8-44.8V320c0-96-76.8-179.2-179.2-179.2H640c-25.6 0-44.8 19.2-44.8 44.8 0 25.6 19.2 44.8 44.8 44.8zM960 908.8L780.8 467.2c-6.4-6.4-12.8-12.8-19.2-12.8H704c-6.4 0-19.2 6.4-19.2 12.8L505.6 908.8V928c0 6.4 12.8 12.8 19.2 12.8h44.8c6.4 0 19.2-6.4 19.2-12.8l44.8-121.6h179.2L857.6 928c6.4 6.4 12.8 12.8 19.2 12.8h44.8c6.4 0 12.8-6.4 19.2-12.8 19.2-6.4 19.2-12.8 19.2-19.2zm-288-192L729.6 576l57.6 140.8H672zM505.6 473.6V204.8c0-12.8-12.8-19.2-19.2-19.2H332.8v-64c0-6.4 0-12.8-6.4-12.8S313.6 96 307.2 96h-44.8c-6.4 0-12.8 0-12.8 6.4s-6.4 12.8-6.4 12.8v64h-160c-6.4 0-12.8 0-12.8 6.4-6.4 12.8-6.4 12.8-6.4 19.2v268.8c0 6.4 0 12.8 6.4 12.8 6.4 6.4 12.8 6.4 12.8 6.4h153.6v108.8c0 12.8 12.8 19.2 19.2 19.2h44.8c12.8 0 19.2-12.8 19.2-19.2V492.8h153.6c25.6 0 32-6.4 32-19.2zm-262.4-64h-89.6V275.2h89.6v134.4zm179.2 0h-89.6V275.2h89.6v134.4z"/></symbol><symbol id="bkai-morenchicun" viewBox="0 0 1024 1024"><path fill-rule="evenodd" d="M896 128v64H511.52l128.402 159.872h-256L511.456 192H128v-64h768zM128 832h768v64H128zm383.491-.128L383.922 672h256l-128.43 159.872zm320.367-320.367l-159.872-127.57v256l159.872-128.43zm-639.872 0l159.872-127.57v256l-159.872-128.43z"/></symbol><symbol id="bkai-kuangxuan" viewBox="0 0 1024 1024"><path d="M252.066 832l.03 64h128l-.03-64h-128zM128 798.016V832c0 33.923 26.393 61.681 59.764 63.862l4.173-63.864.063-33.965-64-.017zm244.353-444.408l90.51 362.039 120.129-120.174 251.66 251.635 43.199-43.197-251.663-251.634 108.204-108.16-362.039-90.509zM128 606.016v128l64 .017v-128l-64-.017zm0-192v128l64 .017v-128l-64-.017zm704-184.115v128l64-.013v-128l-64 .013zm-704-7.885v128l64 .017v-128l-64-.017zM192 128c-23.688 0-44.37 12.87-55.437 31.998l55.398 32.048L256 192v-64h-64zm320 0v64h128v-64H512zm-192 0v64h128v-64H320zm384 0v64h128l58.677-25.595C880.802 143.799 858.246 128 832 128H704z"/></symbol><symbol id="bkai-jiantou" viewBox="0 0 1024 1097.143"><path fill-rule="evenodd" d="M832 612.37l-91.636-89.143-183.235 178.36-.038-594.36H434.909l.072 594.36-183.345-178.36L160 612.37l336 326.857L832 612.37z"/></symbol><symbol id="bkai-tingzhishengcheng" viewBox="0 0 1024 1097.143"><path fill-rule="evenodd" d="M512 75.264c247.424 0 448 200.576 448 448s-200.576 448-448 448-448-200.576-448-448 200.576-448 448-448zm0 64c-212.077 0-384 171.923-384 384s171.923 384 384 384 384-171.923 384-384-171.923-384-384-384zm0 132c139.162 0 252 112.838 252 252s-112.838 252-252 252-252-112.838-252-252 112.838-252 252-252zm76.368 150.177l-76.375 76.374-76.368-76.367-25.448 25.448 76.367 76.368-76.367 76.368 25.467 25.467 76.368-76.368 76.356 76.356 25.448-25.448-76.355-76.356 76.374-76.375-25.467-25.467z"/></symbol><symbol id="bkai-xiaojingyudian" viewBox="0 0 1024 1024"><path fill-rule="evenodd" d="M621.204 0c547.128 0 526.9 748.792 0 682.56C343.257 647.624 136.189 761.437 0 1024 49.384 341.333 256.452 0 621.204 0z"/></symbol></svg>';
20291
20291
  document.body ? document.body.insertAdjacentHTML("afterbegin", t) : document.addEventListener("DOMContentLoaded", function() {
@@ -20378,7 +20378,7 @@ export {
20378
20378
  _o as am,
20379
20379
  eO as an,
20380
20380
  bo as ao,
20381
- X as ap,
20381
+ K as ap,
20382
20382
  et as aq,
20383
20383
  bB as ar,
20384
20384
  Vc as as,