@pubinfo-pr/core 0.222.4 → 0.222.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AppSetting-BWVulLPM.js → AppSetting-Adv5Y3SE.js} +38 -38
- package/dist/{HCheckList-Bb4GvZ2_.js → HCheckList-WAAl9RiK.js} +1 -1
- package/dist/HSlideover-CXBJxuQo.js +1695 -0
- package/dist/{HToggle-Bnr5k93p.js → HToggle-YLmL7R0b.js} +1 -1
- package/dist/{HeaderFullMenu--AOcAS-6.js → HeaderFullMenu-ByedDsvz.js} +72 -72
- package/dist/{HeaderThinMenu-CRPVfGgM.js → HeaderThinMenu-2q2iBtTH.js} +132 -132
- package/dist/PreferencesContent-CiPweszy.js +701 -0
- package/dist/{SettingBreadcrumb-DKCK6V-n.js → SettingBreadcrumb-C1VwfnxX.js} +7 -6
- package/dist/{SettingCopyright-C5Pc0I1w.js → SettingCopyright-C--oGV21.js} +4 -4
- package/dist/{SettingEnableTransition-D2FDj0oR.js → SettingEnableTransition-DW2gfisN.js} +5 -5
- package/dist/{SettingHome-1Y1rYeQb.js → SettingHome-VUAS3uEg.js} +6 -6
- package/dist/{SettingMenu-DWtNX8Ti.js → SettingMenu-BH7XU7eF.js} +9 -8
- package/dist/{SettingMode-CZV84QeW.js → SettingMode-BIyHzTKH.js} +4 -4
- package/dist/{SettingNavSearch-CrMpbXFg.js → SettingNavSearch-PfSA-_ro.js} +5 -5
- package/dist/{SettingOther-D6gGuQJw.js → SettingOther-DdqNapQX.js} +6 -6
- package/dist/{SettingPage-DuN13bXO.js → SettingPage-DS-G9-X5.js} +3 -3
- package/dist/{SettingTabbar-BhJxcU35.js → SettingTabbar-2yfw2vsm.js} +11 -10
- package/dist/{SettingThemes-BjkWfY1C.js → SettingThemes-Bkcywy7v.js} +10 -9
- package/dist/{SettingToolbar-BYOxXAXL.js → SettingToolbar-DP7-_nPK.js} +5 -5
- package/dist/{SettingTopbar-CxKsnIRK.js → SettingTopbar-C0Ia4-If.js} +9 -8
- package/dist/{SettingWidthMode-dM88qSol.js → SettingWidthMode-DgSWsHFq.js} +5 -5
- package/dist/auth-B65CJEOe.js +4242 -0
- package/dist/{change-organization-BXl4ZC7j.js → change-organization-BfnI2yEl.js} +24 -24
- package/dist/{change-password-P4SGdvdU.js → change-password-Bj_GWzmn.js} +73 -64
- package/dist/chunk-CD4vhpVs.js +18 -0
- package/dist/components-BfkDsfck.js +5238 -0
- package/dist/{core-D2ocBD0r.js → core-4H5JBsa5.js} +51 -57
- package/dist/dist-7OjQvlya.js +468 -0
- package/dist/form-C3VHofnN.js +2768 -0
- package/dist/index.js +7739 -2231
- package/dist/modal-Bl5xHbxa.js +43824 -0
- package/dist/{not-found-C-1699o2.js → not-found-DbHOY5cU.js} +5 -4
- package/dist/{not-permission-CZGJzlSF.js → not-permission-DwERxb_u.js} +5 -4
- package/dist/overlayscrollbars-vue-mGyICRMi.js +1460 -0
- package/dist/profile-Dq66-Gsl.js +19269 -0
- package/dist/{question-line-B4oDBb2H.js → question-line-D7ecIumZ.js} +2 -2
- package/dist/{right-BTHgfOSp.js → right-DYiPS7dU.js} +4 -4
- package/dist/style.css +1 -1
- package/dist/tree-select-B8cTcGLa.js +12497 -0
- package/dist/watchDiff-CPZFtaOC.js +655 -0
- package/package.json +7 -7
- package/dist/HSlideover-DoCRa4dK.js +0 -152
- package/dist/PreferencesContent-DW9HAzpr.js +0 -486
- package/dist/auth-DILNNEQ8.js +0 -1230
- package/dist/components-C9kcavB4.js +0 -2768
- package/dist/core-CKIhF3Vi.js +0 -270
- package/dist/profile-B3Q7hRgl.js +0 -123
- /package/dist/{HButton-BPbXqVbA.js → HButton-Dt6qGhhR.js} +0 -0
- /package/dist/{HDivider-BSENlYnI.js → HDivider-Ds5MMqtm.js} +0 -0
- /package/dist/{HInput-DbvnkEO7.js → HInput-BrsX9848.js} +0 -0
- /package/dist/{HTooltip-tCnNrJUE.js → HTooltip-DjAU-Evn.js} +0 -0
- /package/dist/{_plugin-vue_export-helper-BBf_fmJ_.js → _plugin-vue_export-helper-sUTDUeGO.js} +0 -0
- /package/dist/{engine-oniguruma-Bl7ZtyDI.js → engine-oniguruma-uxNZ2DGJ.js} +0 -0
- /package/dist/{json-BuUwnwNo.js → json-CC4oV-bd.js} +0 -0
- /package/dist/{reload-DWTXo9r2.js → reload-CbuQgTlC.js} +0 -0
- /package/dist/{useContext-mDF2-tXy.js → useContext-DLtu9F7E.js} +0 -0
- /package/dist/{vitesse-dark-j0hKJETh.js → vitesse-dark-CxkWMfh6.js} +0 -0
- /package/dist/{vitesse-light-BfgKNo3X.js → vitesse-light-DY25e6F3.js} +0 -0
- /package/dist/{wasm-tXaxAgz9.js → wasm-DAU6f5s5.js} +0 -0
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
for (var i in t) __defProp(r, i, {
|
|
4
|
-
get: t[i],
|
|
5
|
-
enumerable: !0
|
|
6
|
-
});
|
|
7
|
-
return n || __defProp(r, Symbol.toStringTag, { value: "Module" }), r;
|
|
8
|
-
}, ShikiError = class extends Error {
|
|
1
|
+
import { n as __exportAll } from "./chunk-CD4vhpVs.js";
|
|
2
|
+
var ShikiError = class extends Error {
|
|
9
3
|
constructor(e) {
|
|
10
4
|
super(e), this.name = "ShikiError";
|
|
11
5
|
}
|
|
@@ -18,7 +12,7 @@ function doClone(e) {
|
|
|
18
12
|
}
|
|
19
13
|
function cloneArray(e) {
|
|
20
14
|
let t = [];
|
|
21
|
-
for (let n = 0,
|
|
15
|
+
for (let n = 0, i = e.length; n < i; n++) t[n] = doClone(e[n]);
|
|
22
16
|
return t;
|
|
23
17
|
}
|
|
24
18
|
function cloneObj(e) {
|
|
@@ -3377,20 +3371,20 @@ function splitTokens(e, t) {
|
|
|
3377
3371
|
return t.length ? splitToken(e, t) : e;
|
|
3378
3372
|
})) : e;
|
|
3379
3373
|
}
|
|
3380
|
-
function flatTokenVariants(e,
|
|
3374
|
+
function flatTokenVariants(e, n, r, i, a = "css-vars") {
|
|
3381
3375
|
let o = {
|
|
3382
3376
|
content: e.content,
|
|
3383
3377
|
explanation: e.explanation,
|
|
3384
3378
|
offset: e.offset
|
|
3385
|
-
}, s =
|
|
3386
|
-
let i =
|
|
3387
|
-
return r +
|
|
3379
|
+
}, s = n.map((t) => getTokenStyleObject(e.variants[t])), c = new Set(s.flatMap((e) => Object.keys(e))), l = {}, u = (e, t) => {
|
|
3380
|
+
let i = t === "color" ? "" : t === "background-color" ? "-bg" : `-${t}`;
|
|
3381
|
+
return r + n[e] + (t === "color" ? "" : i);
|
|
3388
3382
|
};
|
|
3389
3383
|
return s.forEach((e, r) => {
|
|
3390
3384
|
for (let o of c) {
|
|
3391
3385
|
let c = e[o] || "inherit";
|
|
3392
3386
|
if (r === 0 && i && COLOR_KEYS.includes(o)) if (i === DEFAULT_COLOR_LIGHT_DARK && s.length > 1) {
|
|
3393
|
-
let e =
|
|
3387
|
+
let e = n.findIndex((e) => e === "light"), i = n.findIndex((e) => e === "dark");
|
|
3394
3388
|
if (e === -1 || i === -1) throw new ShikiError("When using `defaultColor: \"light-dark()\"`, you must provide both `light` and `dark` themes");
|
|
3395
3389
|
l[o] = `light-dark(${s[e][o] || "inherit"}, ${s[i][o] || "inherit"})`, a === "css-vars" && (l[u(r, o)] = c);
|
|
3396
3390
|
} else l[o] = c;
|
|
@@ -3466,57 +3460,57 @@ function getScopes(e) {
|
|
|
3466
3460
|
}
|
|
3467
3461
|
return r(e), t;
|
|
3468
3462
|
}
|
|
3469
|
-
function getGrammarStack(e,
|
|
3463
|
+
function getGrammarStack(e, n) {
|
|
3470
3464
|
if (!(e instanceof GrammarState)) throw new ShikiError("Invalid grammar state");
|
|
3471
|
-
return e.getInternalStack(
|
|
3465
|
+
return e.getInternalStack(n);
|
|
3472
3466
|
}
|
|
3473
3467
|
function transformerDecorations() {
|
|
3474
3468
|
let e = /* @__PURE__ */ new WeakMap();
|
|
3475
|
-
function
|
|
3476
|
-
if (!e.has(
|
|
3469
|
+
function n(n) {
|
|
3470
|
+
if (!e.has(n.meta)) {
|
|
3477
3471
|
let r = function(e) {
|
|
3478
3472
|
if (typeof e == "number") {
|
|
3479
|
-
if (e < 0 || e >
|
|
3473
|
+
if (e < 0 || e > n.source.length) throw new ShikiError(`Invalid decoration offset: ${e}. Code length: ${n.source.length}`);
|
|
3480
3474
|
return {
|
|
3481
3475
|
...i.indexToPos(e),
|
|
3482
3476
|
offset: e
|
|
3483
3477
|
};
|
|
3484
3478
|
} else {
|
|
3485
|
-
let
|
|
3486
|
-
if (
|
|
3479
|
+
let n = i.lines[e.line];
|
|
3480
|
+
if (n === void 0) throw new ShikiError(`Invalid decoration position ${JSON.stringify(e)}. Lines length: ${i.lines.length}`);
|
|
3487
3481
|
let r = e.character;
|
|
3488
|
-
if (r < 0 && (r =
|
|
3482
|
+
if (r < 0 && (r = n.length + r), r < 0 || r > n.length) throw new ShikiError(`Invalid decoration position ${JSON.stringify(e)}. Line ${e.line} length: ${n.length}`);
|
|
3489
3483
|
return {
|
|
3490
3484
|
...e,
|
|
3491
3485
|
character: r,
|
|
3492
3486
|
offset: i.posToIndex(e.line, r)
|
|
3493
3487
|
};
|
|
3494
3488
|
}
|
|
3495
|
-
}, i = createPositionConverter(
|
|
3489
|
+
}, i = createPositionConverter(n.source), a = (n.options.decorations || []).map((e) => ({
|
|
3496
3490
|
...e,
|
|
3497
3491
|
start: r(e.start),
|
|
3498
3492
|
end: r(e.end)
|
|
3499
3493
|
}));
|
|
3500
|
-
verifyIntersections(a), e.set(
|
|
3494
|
+
verifyIntersections(a), e.set(n.meta, {
|
|
3501
3495
|
decorations: a,
|
|
3502
3496
|
converter: i,
|
|
3503
|
-
source:
|
|
3497
|
+
source: n.source
|
|
3504
3498
|
});
|
|
3505
3499
|
}
|
|
3506
|
-
return e.get(
|
|
3500
|
+
return e.get(n.meta);
|
|
3507
3501
|
}
|
|
3508
3502
|
return {
|
|
3509
3503
|
name: "shiki:decorations",
|
|
3510
3504
|
tokens(e) {
|
|
3511
|
-
if (this.options.decorations?.length) return splitTokens(e,
|
|
3505
|
+
if (this.options.decorations?.length) return splitTokens(e, n(this).decorations.flatMap((e) => [e.start.offset, e.end.offset]));
|
|
3512
3506
|
},
|
|
3513
3507
|
code(e) {
|
|
3514
3508
|
if (!this.options.decorations?.length) return;
|
|
3515
|
-
let r =
|
|
3509
|
+
let r = n(this), i = Array.from(e.children).filter((e) => e.type === "element" && e.tagName === "span");
|
|
3516
3510
|
if (i.length !== r.converter.lines.length) throw new ShikiError(`Number of lines in code element (${i.length}) does not match the number of lines in the source (${r.converter.lines.length}). Failed to apply decorations.`);
|
|
3517
|
-
function a(e,
|
|
3511
|
+
function a(e, n, r, a) {
|
|
3518
3512
|
let o = i[e], c = "", l = -1, u = -1;
|
|
3519
|
-
if (
|
|
3513
|
+
if (n === 0 && (l = 0), r === 0 && (u = 0), r === Infinity && (u = o.children.length), l === -1 || u === -1) for (let e = 0; e < o.children.length; e++) c += stringify(o.children[e]), l === -1 && c.length === n && (l = e + 1), u === -1 && c.length === r && (u = e + 1);
|
|
3520
3514
|
if (l === -1) throw new ShikiError(`Failed to find start index for decoration ${JSON.stringify(a.start)}`);
|
|
3521
3515
|
if (u === -1) throw new ShikiError(`Failed to find end index for decoration ${JSON.stringify(a.end)}`);
|
|
3522
3516
|
let d = o.children.slice(l, u);
|
|
@@ -3558,14 +3552,14 @@ function transformerDecorations() {
|
|
|
3558
3552
|
};
|
|
3559
3553
|
}
|
|
3560
3554
|
function verifyIntersections(e) {
|
|
3561
|
-
for (let
|
|
3562
|
-
let r = e[
|
|
3555
|
+
for (let n = 0; n < e.length; n++) {
|
|
3556
|
+
let r = e[n];
|
|
3563
3557
|
if (r.start.offset > r.end.offset) throw new ShikiError(`Invalid decoration range: ${JSON.stringify(r.start)} - ${JSON.stringify(r.end)}`);
|
|
3564
|
-
for (let i =
|
|
3565
|
-
let
|
|
3558
|
+
for (let i = n + 1; i < e.length; i++) {
|
|
3559
|
+
let n = e[i], a = r.start.offset <= n.start.offset && n.start.offset < r.end.offset, o = r.start.offset < n.end.offset && n.end.offset <= r.end.offset, s = n.start.offset <= r.start.offset && r.start.offset < n.end.offset, c = n.start.offset < r.end.offset && r.end.offset <= n.end.offset;
|
|
3566
3560
|
if (a || o || s || c) {
|
|
3567
|
-
if (a && o || s && c || s && r.start.offset === r.end.offset || o &&
|
|
3568
|
-
throw new ShikiError(`Decorations ${JSON.stringify(r.start)} and ${JSON.stringify(
|
|
3561
|
+
if (a && o || s && c || s && r.start.offset === r.end.offset || o && n.start.offset === n.end.offset) continue;
|
|
3562
|
+
throw new ShikiError(`Decorations ${JSON.stringify(r.start)} and ${JSON.stringify(n.start)} intersect.`);
|
|
3569
3563
|
}
|
|
3570
3564
|
}
|
|
3571
3565
|
}
|
|
@@ -3862,27 +3856,27 @@ function dimColor(e) {
|
|
|
3862
3856
|
let n = e.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);
|
|
3863
3857
|
return n ? `var(${n[1]}-dim)` : e;
|
|
3864
3858
|
}
|
|
3865
|
-
function codeToTokensBase(e,
|
|
3859
|
+
function codeToTokensBase(e, n, r = {}) {
|
|
3866
3860
|
let { theme: i = e.getLoadedThemes()[0] } = r, a = e.resolveLangAlias(r.lang || "text");
|
|
3867
|
-
if (isPlainLang(a) || isNoneTheme(i)) return splitLines(
|
|
3861
|
+
if (isPlainLang(a) || isNoneTheme(i)) return splitLines(n).map((e) => [{
|
|
3868
3862
|
content: e[0],
|
|
3869
3863
|
offset: e[1]
|
|
3870
3864
|
}]);
|
|
3871
3865
|
let { theme: o, colorMap: s } = e.setTheme(i);
|
|
3872
|
-
if (a === "ansi") return tokenizeAnsiWithTheme(o,
|
|
3866
|
+
if (a === "ansi") return tokenizeAnsiWithTheme(o, n, r);
|
|
3873
3867
|
let c = e.getLanguage(r.lang || "text");
|
|
3874
3868
|
if (r.grammarState) {
|
|
3875
3869
|
if (r.grammarState.lang !== c.name) throw new ShikiError(`Grammar state language "${r.grammarState.lang}" does not match highlight language "${c.name}"`);
|
|
3876
3870
|
if (!r.grammarState.themes.includes(o.name)) throw new ShikiError(`Grammar state themes "${r.grammarState.themes}" do not contain highlight theme "${o.name}"`);
|
|
3877
3871
|
}
|
|
3878
|
-
return tokenizeWithTheme(
|
|
3872
|
+
return tokenizeWithTheme(n, c, o, s, r);
|
|
3879
3873
|
}
|
|
3880
3874
|
function getLastGrammarState(...e) {
|
|
3881
3875
|
if (e.length === 2) return getLastGrammarStateFromMap(e[1]);
|
|
3882
|
-
let [
|
|
3876
|
+
let [n, r, i = {}] = e, { lang: a = "text", theme: o = n.getLoadedThemes()[0] } = i;
|
|
3883
3877
|
if (isPlainLang(a) || isNoneTheme(o)) throw new ShikiError("Plain language does not have grammar state");
|
|
3884
3878
|
if (a === "ansi") throw new ShikiError("ANSI language does not have grammar state");
|
|
3885
|
-
let { theme: s, colorMap: c } =
|
|
3879
|
+
let { theme: s, colorMap: c } = n.setTheme(o), l = n.getLanguage(a);
|
|
3886
3880
|
return new GrammarState(_tokenizeWithTheme(r, l, s, c, i).stateStack, l.name, s.name);
|
|
3887
3881
|
}
|
|
3888
3882
|
function tokenizeWithTheme(e, t, n, r, i) {
|
|
@@ -4040,7 +4034,7 @@ function syncThemesTokenization(...e) {
|
|
|
4040
4034
|
}
|
|
4041
4035
|
return t;
|
|
4042
4036
|
}
|
|
4043
|
-
function codeToTokens(e,
|
|
4037
|
+
function codeToTokens(e, n, r) {
|
|
4044
4038
|
let i, a, o, s, c, l;
|
|
4045
4039
|
if ("themes" in r) {
|
|
4046
4040
|
let { defaultColor: u = "light", cssVariablePrefix: d = "--shiki-", colorsRendering: f = "css-vars" } = r, m = Object.entries(r.themes).filter((e) => e[1]).map((e) => ({
|
|
@@ -4048,17 +4042,17 @@ function codeToTokens(e, t, r) {
|
|
|
4048
4042
|
theme: e[1]
|
|
4049
4043
|
})).sort((e, t) => e.color === u ? -1 : t.color === u ? 1 : 0);
|
|
4050
4044
|
if (m.length === 0) throw new ShikiError("`themes` option must not be empty");
|
|
4051
|
-
let h = codeToTokensWithThemes(e,
|
|
4045
|
+
let h = codeToTokensWithThemes(e, n, r);
|
|
4052
4046
|
if (l = getLastGrammarStateFromMap(h), u && DEFAULT_COLOR_LIGHT_DARK !== u && !m.find((e) => e.color === u)) throw new ShikiError(`\`themes\` option must contain the defaultColor key \`${u}\``);
|
|
4053
4047
|
let g = m.map((t) => e.getTheme(t.theme)), _ = m.map((e) => e.color);
|
|
4054
4048
|
o = h.map((e) => e.map((e) => flatTokenVariants(e, _, d, u, f))), l && setLastGrammarStateToMap(o, l);
|
|
4055
4049
|
let v = m.map((e) => resolveColorReplacements(e.theme, r));
|
|
4056
4050
|
a = mapThemeColors(m, g, v, d, u, "fg", f), i = mapThemeColors(m, g, v, d, u, "bg", f), s = `shiki-themes ${g.map((e) => e.name).join(" ")}`, c = u ? void 0 : [a, i].join(";");
|
|
4057
4051
|
} else if ("theme" in r) {
|
|
4058
|
-
let
|
|
4059
|
-
o = codeToTokensBase(e,
|
|
4052
|
+
let t = resolveColorReplacements(r.theme, r);
|
|
4053
|
+
o = codeToTokensBase(e, n, r);
|
|
4060
4054
|
let c = e.getTheme(r.theme);
|
|
4061
|
-
i = applyColorReplacements(c.bg,
|
|
4055
|
+
i = applyColorReplacements(c.bg, t), a = applyColorReplacements(c.fg, t), s = c.name, l = getLastGrammarStateFromMap(o);
|
|
4062
4056
|
} else throw new ShikiError("Invalid options, either `theme` or `themes` must be provided");
|
|
4063
4057
|
return {
|
|
4064
4058
|
tokens: o,
|
|
@@ -4069,14 +4063,14 @@ function codeToTokens(e, t, r) {
|
|
|
4069
4063
|
grammarState: l
|
|
4070
4064
|
};
|
|
4071
4065
|
}
|
|
4072
|
-
function mapThemeColors(e,
|
|
4066
|
+
function mapThemeColors(e, n, r, i, a, o, s) {
|
|
4073
4067
|
return e.map((c, l) => {
|
|
4074
|
-
let u = applyColorReplacements(
|
|
4068
|
+
let u = applyColorReplacements(n[l][o], r[l]) || "inherit", d = `${i + c.color}${o === "bg" ? "-bg" : ""}:${u}`;
|
|
4075
4069
|
if (l === 0 && a) {
|
|
4076
4070
|
if (a === DEFAULT_COLOR_LIGHT_DARK && e.length > 1) {
|
|
4077
4071
|
let i = e.findIndex((e) => e.color === "light"), a = e.findIndex((e) => e.color === "dark");
|
|
4078
4072
|
if (i === -1 || a === -1) throw new ShikiError("When using `defaultColor: \"light-dark()\"`, you must provide both `light` and `dark` themes");
|
|
4079
|
-
return `light-dark(${applyColorReplacements(
|
|
4073
|
+
return `light-dark(${applyColorReplacements(n[i][o], r[i]) || "inherit"}, ${applyColorReplacements(n[a][o], r[a]) || "inherit"});${d}`;
|
|
4080
4074
|
}
|
|
4081
4075
|
return u;
|
|
4082
4076
|
}
|
|
@@ -4610,12 +4604,12 @@ function makeSingletonHighlighterCore(e) {
|
|
|
4610
4604
|
}
|
|
4611
4605
|
var getSingletonHighlighterCore = /* @__PURE__ */ makeSingletonHighlighterCore(createHighlighterCore);
|
|
4612
4606
|
function createBundledHighlighter(e) {
|
|
4613
|
-
let
|
|
4607
|
+
let n = e.langs, r = e.themes, i = e.engine;
|
|
4614
4608
|
async function a(e) {
|
|
4615
4609
|
function a(r) {
|
|
4616
4610
|
if (typeof r == "string") {
|
|
4617
4611
|
if (r = e.langAlias?.[r] || r, isSpecialLang(r)) return [];
|
|
4618
|
-
let i =
|
|
4612
|
+
let i = n[r];
|
|
4619
4613
|
if (!i) throw new ShikiError(`Language \`${r}\` is not included in this bundle. You may want to load it from external source.`);
|
|
4620
4614
|
return i;
|
|
4621
4615
|
}
|
|
@@ -4624,9 +4618,9 @@ function createBundledHighlighter(e) {
|
|
|
4624
4618
|
function o(e) {
|
|
4625
4619
|
if (isSpecialTheme(e)) return "none";
|
|
4626
4620
|
if (typeof e == "string") {
|
|
4627
|
-
let
|
|
4628
|
-
if (!
|
|
4629
|
-
return
|
|
4621
|
+
let n = r[e];
|
|
4622
|
+
if (!n) throw new ShikiError(`Theme \`${e}\` is not included in this bundle. You may want to load it from external source.`);
|
|
4623
|
+
return n;
|
|
4630
4624
|
}
|
|
4631
4625
|
return e;
|
|
4632
4626
|
}
|
|
@@ -4645,7 +4639,7 @@ function createBundledHighlighter(e) {
|
|
|
4645
4639
|
return l.loadTheme(...e.map(o));
|
|
4646
4640
|
},
|
|
4647
4641
|
getBundledLanguages() {
|
|
4648
|
-
return
|
|
4642
|
+
return n;
|
|
4649
4643
|
},
|
|
4650
4644
|
getBundledThemes() {
|
|
4651
4645
|
return r;
|
|
@@ -4888,4 +4882,4 @@ function createCssVariablesTheme(e = {}) {
|
|
|
4888
4882
|
};
|
|
4889
4883
|
return r || (a.tokenColors = a.tokenColors?.map((e) => (e.settings?.fontStyle && delete e.settings.fontStyle, e))), a;
|
|
4890
4884
|
}
|
|
4891
|
-
export { ShikiError, addClassToHast, applyColorReplacements, codeToHast, codeToHtml, codeToTokens, codeToTokensBase, codeToTokensWithThemes, createBundledHighlighter, createCssVariablesTheme, createHighlighterCore, createHighlighterCoreSync, createPositionConverter, createShikiInternal, createShikiInternalSync, createSingletonShorthands, createdBundledHighlighter, enableDeprecationWarnings, flatTokenVariants, getSingletonHighlighterCore, getTokenStyleObject, guessEmbeddedLanguages, hastToHtml, isNoneTheme, isPlainLang, isSpecialLang, isSpecialTheme, makeSingletonHighlighter, makeSingletonHighlighterCore, normalizeGetter, normalizeTheme, resolveColorReplacements, splitLines, splitToken, splitTokens, stringifyTokenStyle,
|
|
4885
|
+
export { ShikiError, addClassToHast, applyColorReplacements, codeToHast, codeToHtml, codeToTokens, codeToTokensBase, codeToTokensWithThemes, createBundledHighlighter, createCssVariablesTheme, createHighlighterCore, createHighlighterCoreSync, createPositionConverter, createShikiInternal, createShikiInternalSync, createSingletonShorthands, createdBundledHighlighter, enableDeprecationWarnings, flatTokenVariants, getSingletonHighlighterCore, getTokenStyleObject, guessEmbeddedLanguages, hastToHtml, isNoneTheme, isPlainLang, isSpecialLang, isSpecialTheme, makeSingletonHighlighter, makeSingletonHighlighterCore, normalizeGetter, normalizeTheme, resolveColorReplacements, splitLines, splitToken, splitTokens, stringifyTokenStyle, toArray, tokenizeAnsiWithTheme, tokenizeWithTheme, tokensToHast, transformerDecorations, warnDeprecated };
|