@pie-element/shared-math-rendering-mathjax 0.1.9-next.20261102164954 → 0.1.9-next.20261110065815
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/LICENSE +45 -0
- package/dist/browser/{PUA-CJdZh2Wf.js → PUA-B9NpQDvw.js} +2 -3
- package/dist/browser/{accents-b-i-BonjkJko.js → accents-b-i-DutO7IRR.js} +2 -3
- package/dist/browser/{accents-DUN0SGpR.js → accents-ysi9Df8S.js} +2 -3
- package/dist/browser/{arabic-DPsBZ_6r.js → arabic-DCupRFds.js} +2 -3
- package/dist/browser/{arrows-BdSPBhI1.js → arrows-BqV08kgE.js} +2 -3
- package/dist/browser/{braille-D67IP_T7.js → braille-B-E6TW2B.js} +2 -3
- package/dist/browser/{braille-d-CP1DcXKB.js → braille-d-ANRolKQ5.js} +2 -3
- package/dist/browser/{calligraphic-D3g8rnJG.js → calligraphic-ByxS3vaH.js} +2 -3
- package/dist/browser/{cherokee-D9O6NlBu.js → cherokee-B6MTQmt8.js} +2 -3
- package/dist/browser/{cyrillic-DJvnsbqS.js → cyrillic-lN6m23ZK.js} +2 -3
- package/dist/browser/{cyrillic-ss-C1kj2CQV.js → cyrillic-ss-BC9eWtr6.js} +2 -3
- package/dist/browser/{devanagari-DaEPBZJl.js → devanagari-DTwbmBIo.js} +2 -3
- package/dist/browser/{double-struck-DMCx5OKu.js → double-struck-UyrNIJ4o.js} +2 -3
- package/dist/browser/{fraktur-BhEkb_dS.js → fraktur-DI50ytiq.js} +2 -3
- package/dist/browser/{greek-BUUqFJHy.js → greek-BvWuUgxF.js} +2 -3
- package/dist/browser/{greek-ss-BEMpAOeY.js → greek-ss-cWSH_J75.js} +2 -3
- package/dist/browser/{hebrew-Bzl8nOEB.js → hebrew-CUCA8Aqt.js} +2 -3
- package/dist/browser/index.js +10 -18
- package/dist/browser/{latin-P9zTNHCd.js → latin-CAwh7kTg.js} +2 -3
- package/dist/browser/{latin-b-PZ4kq6lM.js → latin-b-BZ0OiwUs.js} +2 -3
- package/dist/browser/{latin-bi-CmN1JUsd.js → latin-bi-DSEmhbix.js} +2 -3
- package/dist/browser/{latin-i-CXBnDzSq.js → latin-i-CBdjBBDm.js} +2 -3
- package/dist/browser/{marrows-B7SUVmW5.js → marrows-DRTuumpl.js} +2 -3
- package/dist/browser/{math-vXr73lk6.js → math-sEA-NCjX.js} +2 -3
- package/dist/browser/{mathjax-2nQh1S7u.js → mathjax-CSiPEd6T.js} +275 -600
- package/dist/browser/{monospace-DoS6YAxd.js → monospace-B73HYW2v.js} +2 -3
- package/dist/browser/{monospace-ex-DRTvVzi3.js → monospace-ex-D0cGJVr_.js} +2 -3
- package/dist/browser/{monospace-l-DUCa7CxU.js → monospace-l-CtgpPjAZ.js} +2 -3
- package/dist/browser/{mshapes-CpjjJVqV.js → mshapes-D6tj3BKO.js} +2 -3
- package/dist/browser/{phonetics-bqiQHE22.js → phonetics-Dq6MGT2G.js} +2 -3
- package/dist/browser/{phonetics-ss-Q6DbUcOI.js → phonetics-ss-B2cN4lsU.js} +2 -3
- package/dist/browser/{sans-serif-Bp2jHFky.js → sans-serif-PeA-3D2x.js} +2 -3
- package/dist/browser/{sans-serif-b-BibGpEzd.js → sans-serif-b-D4gCgGlx.js} +2 -3
- package/dist/browser/{sans-serif-bi-iTiG6eGH.js → sans-serif-bi-DN7E-veg.js} +2 -3
- package/dist/browser/{sans-serif-ex-C8xaAvoq.js → sans-serif-ex-DguyqUC4.js} +2 -3
- package/dist/browser/{sans-serif-i-BU3dKyZu.js → sans-serif-i-BSAo_sXu.js} +2 -3
- package/dist/browser/{sans-serif-r-CgglPh5w.js → sans-serif-r-CCN-xTJ7.js} +2 -3
- package/dist/browser/{script-ClY84mt2.js → script-tCIvcbiA.js} +2 -3
- package/dist/browser/{shapes-myFFmw20.js → shapes-CGT8pJKt.js} +2 -3
- package/dist/browser/{speech-worker-BeK2X8Ed.js → speech-worker-fbxD4XrK.js} +2 -4
- package/dist/browser/{symbols-Cm-dpMqm.js → symbols-KuaSz5oY.js} +2 -3
- package/dist/browser/{symbols-b-i-Ckpc29j-.js → symbols-b-i-DwKU5Bw4.js} +2 -3
- package/dist/browser/{variants-CXvLtZew.js → variants-Bok8-uuT.js} +2 -3
- package/dist/index.js +10 -20
- package/dist/tex-to-mathml/index.js +107 -285
- package/package.json +2 -2
package/LICENSE
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 PIE Framework contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
Portions of this software are ported from pie-elements
|
|
26
|
+
(https://github.com/pie-framework/pie-elements), pie-lib
|
|
27
|
+
(https://github.com/pie-framework/pie-lib) and math-validation
|
|
28
|
+
(https://github.com/pie-framework/math-validation), distributed under this
|
|
29
|
+
license:
|
|
30
|
+
|
|
31
|
+
ISC License
|
|
32
|
+
|
|
33
|
+
Copyright 2019 CoreSpring Inc
|
|
34
|
+
|
|
35
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
36
|
+
purpose with or without fee is hereby granted, provided that the above
|
|
37
|
+
copyright notice and this permission notice appear in all copies.
|
|
38
|
+
|
|
39
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
40
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
|
41
|
+
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
42
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
43
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
44
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
45
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e, n as t } from "./mathjax-
|
|
2
|
-
|
|
1
|
+
import { a as e, n as t } from "./mathjax-CSiPEd6T.js";
|
|
2
|
+
// ../../../node_modules/.bun/@mathjax+mathjax-newcm-font@4.1.3/node_modules/@mathjax/mathjax-newcm-font/mjs/chtml/dynamic/PUA.js
|
|
3
3
|
t.dynamicSetup("", "PUA", e({
|
|
4
4
|
PU: { normal: {
|
|
5
5
|
57344: [
|
|
@@ -4365,4 +4365,3 @@ t.dynamicSetup("", "PUA", e({
|
|
|
4365
4365
|
"MJX-NCM-PUI",
|
|
4366
4366
|
"MJX-NCM-PUBI"
|
|
4367
4367
|
]);
|
|
4368
|
-
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e, n as t } from "./mathjax-
|
|
2
|
-
|
|
1
|
+
import { a as e, n as t } from "./mathjax-CSiPEd6T.js";
|
|
2
|
+
// ../../../node_modules/.bun/@mathjax+mathjax-newcm-font@4.1.3/node_modules/@mathjax/mathjax-newcm-font/mjs/chtml/dynamic/accents-b-i.js
|
|
3
3
|
t.dynamicSetup("", "accents-b-i", e({
|
|
4
4
|
AB: { bold: {
|
|
5
5
|
184: [
|
|
@@ -2842,4 +2842,3 @@ t.dynamicSetup("", "accents-b-i", e({
|
|
|
2842
2842
|
"MJX-NCM-AI",
|
|
2843
2843
|
"MJX-NCM-ABI"
|
|
2844
2844
|
]);
|
|
2845
|
-
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e, n as t, r as n } from "./mathjax-
|
|
2
|
-
|
|
1
|
+
import { a as e, n as t, r as n } from "./mathjax-CSiPEd6T.js";
|
|
2
|
+
// ../../../node_modules/.bun/@mathjax+mathjax-newcm-font@4.1.3/node_modules/@mathjax/mathjax-newcm-font/mjs/chtml/dynamic/accents.js
|
|
3
3
|
t.dynamicSetup("", "accents", e({ "": {
|
|
4
4
|
normal: {
|
|
5
5
|
184: [
|
|
@@ -1503,4 +1503,3 @@ t.dynamicSetup("", "accents", e({ "": {
|
|
|
1503
1503
|
hd: [.772, -.706]
|
|
1504
1504
|
}
|
|
1505
1505
|
});
|
|
1506
|
-
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e, n as t } from "./mathjax-
|
|
2
|
-
|
|
1
|
+
import { a as e, n as t } from "./mathjax-CSiPEd6T.js";
|
|
2
|
+
// ../../../node_modules/.bun/@mathjax+mathjax-newcm-font@4.1.3/node_modules/@mathjax/mathjax-newcm-font/mjs/chtml/dynamic/arabic.js
|
|
3
3
|
t.dynamicSetup("", "arabic", e({
|
|
4
4
|
AB: { normal: {
|
|
5
5
|
126464: [
|
|
@@ -780,4 +780,3 @@ t.dynamicSetup("", "arabic", e({
|
|
|
780
780
|
"MJX-NCM-ABI",
|
|
781
781
|
"MJX-NCM-ABBI"
|
|
782
782
|
]);
|
|
783
|
-
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e, i as t, n, r } from "./mathjax-
|
|
2
|
-
|
|
1
|
+
import { a as e, i as t, n, r } from "./mathjax-CSiPEd6T.js";
|
|
2
|
+
// ../../../node_modules/.bun/@mathjax+mathjax-newcm-font@4.1.3/node_modules/@mathjax/mathjax-newcm-font/mjs/chtml/dynamic/arrows.js
|
|
3
3
|
n.dynamicSetup("", "arrows", e({
|
|
4
4
|
AR: { normal: {
|
|
5
5
|
8604: [
|
|
@@ -2650,4 +2650,3 @@ n.dynamicSetup("", "arrows", e({
|
|
|
2650
2650
|
hd: [.751, .251]
|
|
2651
2651
|
}
|
|
2652
2652
|
}, ["MJX-NCM-AR", "MJX-NCM-ARL"]);
|
|
2653
|
-
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e, n as t } from "./mathjax-
|
|
2
|
-
|
|
1
|
+
import { a as e, n as t } from "./mathjax-CSiPEd6T.js";
|
|
2
|
+
// ../../../node_modules/.bun/@mathjax+mathjax-newcm-font@4.1.3/node_modules/@mathjax/mathjax-newcm-font/mjs/chtml/dynamic/braille.js
|
|
3
3
|
t.dynamicSetup("", "braille", e({ br: { "sans-serif": {
|
|
4
4
|
10240: [
|
|
5
5
|
0,
|
|
@@ -1282,4 +1282,3 @@ t.dynamicSetup("", "braille", e({ br: { "sans-serif": {
|
|
|
1282
1282
|
.725
|
|
1283
1283
|
]
|
|
1284
1284
|
} } }, "NCM"), {}, ["MJX-NCM-br"]);
|
|
1285
|
-
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e, n as t } from "./mathjax-
|
|
2
|
-
|
|
1
|
+
import { a as e, n as t } from "./mathjax-CSiPEd6T.js";
|
|
2
|
+
// ../../../node_modules/.bun/@mathjax+mathjax-newcm-font@4.1.3/node_modules/@mathjax/mathjax-newcm-font/mjs/chtml/dynamic/braille-d.js
|
|
3
3
|
t.dynamicSetup("", "braille-d", e({ brd: { normal: {
|
|
4
4
|
10240: [
|
|
5
5
|
0,
|
|
@@ -1282,4 +1282,3 @@ t.dynamicSetup("", "braille-d", e({ brd: { normal: {
|
|
|
1282
1282
|
.725
|
|
1283
1283
|
]
|
|
1284
1284
|
} } }, "NCM"), {}, ["MJX-NCM-brd"]);
|
|
1285
|
-
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e, n as t } from "./mathjax-
|
|
2
|
-
|
|
1
|
+
import { a as e, n as t } from "./mathjax-CSiPEd6T.js";
|
|
2
|
+
// ../../../node_modules/.bun/@mathjax+mathjax-newcm-font@4.1.3/node_modules/@mathjax/mathjax-newcm-font/mjs/chtml/dynamic/calligraphic.js
|
|
3
3
|
t.dynamicSetup("", "calligraphic", e({
|
|
4
4
|
C: { "-tex-calligraphic": {
|
|
5
5
|
65: [
|
|
@@ -318,4 +318,3 @@ t.dynamicSetup("", "calligraphic", e({
|
|
|
318
318
|
]
|
|
319
319
|
} }
|
|
320
320
|
}, "NCM"));
|
|
321
|
-
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e, n as t } from "./mathjax-
|
|
2
|
-
|
|
1
|
+
import { a as e, n as t } from "./mathjax-CSiPEd6T.js";
|
|
2
|
+
// ../../../node_modules/.bun/@mathjax+mathjax-newcm-font@4.1.3/node_modules/@mathjax/mathjax-newcm-font/mjs/chtml/dynamic/cherokee.js
|
|
3
3
|
t.dynamicSetup("", "cherokee", e({
|
|
4
4
|
CH: { normal: {
|
|
5
5
|
5024: [
|
|
@@ -2024,4 +2024,3 @@ t.dynamicSetup("", "cherokee", e({
|
|
|
2024
2024
|
"MJX-NCM-CHI",
|
|
2025
2025
|
"MJX-NCM-CHBI"
|
|
2026
2026
|
]);
|
|
2027
|
-
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e, n as t } from "./mathjax-
|
|
2
|
-
|
|
1
|
+
import { a as e, n as t } from "./mathjax-CSiPEd6T.js";
|
|
2
|
+
// ../../../node_modules/.bun/@mathjax+mathjax-newcm-font@4.1.3/node_modules/@mathjax/mathjax-newcm-font/mjs/chtml/dynamic/cyrillic.js
|
|
3
3
|
t.dynamicSetup("", "cyrillic", e({
|
|
4
4
|
CY: { normal: {
|
|
5
5
|
1024: [
|
|
@@ -5612,4 +5612,3 @@ t.dynamicSetup("", "cyrillic", e({
|
|
|
5612
5612
|
"MJX-NCM-CYI",
|
|
5613
5613
|
"MJX-NCM-CYBI"
|
|
5614
5614
|
]);
|
|
5615
|
-
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e, n as t } from "./mathjax-
|
|
2
|
-
|
|
1
|
+
import { a as e, n as t } from "./mathjax-CSiPEd6T.js";
|
|
2
|
+
// ../../../node_modules/.bun/@mathjax+mathjax-newcm-font@4.1.3/node_modules/@mathjax/mathjax-newcm-font/mjs/chtml/dynamic/cyrillic-ss.js
|
|
3
3
|
t.dynamicSetup("", "cyrillic-ss", e({
|
|
4
4
|
CYSS: { "sans-serif": {
|
|
5
5
|
1024: [
|
|
@@ -5601,4 +5601,3 @@ t.dynamicSetup("", "cyrillic-ss", e({
|
|
|
5601
5601
|
"MJX-NCM-CYSSI",
|
|
5602
5602
|
"MJX-NCM-CYSSBI"
|
|
5603
5603
|
]);
|
|
5604
|
-
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e, n as t } from "./mathjax-
|
|
2
|
-
|
|
1
|
+
import { a as e, n as t } from "./mathjax-CSiPEd6T.js";
|
|
2
|
+
// ../../../node_modules/.bun/@mathjax+mathjax-newcm-font@4.1.3/node_modules/@mathjax/mathjax-newcm-font/mjs/chtml/dynamic/devanagari.js
|
|
3
3
|
t.dynamicSetup("", "devanagari", e({
|
|
4
4
|
DV: { normal: {
|
|
5
5
|
2304: [
|
|
@@ -687,4 +687,3 @@ t.dynamicSetup("", "devanagari", e({
|
|
|
687
687
|
"MJX-NCM-DVI",
|
|
688
688
|
"MJX-NCM-DVBI"
|
|
689
689
|
]);
|
|
690
|
-
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e, n as t } from "./mathjax-
|
|
2
|
-
|
|
1
|
+
import { a as e, n as t } from "./mathjax-CSiPEd6T.js";
|
|
2
|
+
// ../../../node_modules/.bun/@mathjax+mathjax-newcm-font@4.1.3/node_modules/@mathjax/mathjax-newcm-font/mjs/chtml/dynamic/double-struck.js
|
|
3
3
|
t.dynamicSetup("", "double-struck", e({ DS: {
|
|
4
4
|
normal: {
|
|
5
5
|
8450: [
|
|
@@ -433,4 +433,3 @@ t.dynamicSetup("", "double-struck", e({ DS: {
|
|
|
433
433
|
]
|
|
434
434
|
}
|
|
435
435
|
} }, "NCM"));
|
|
436
|
-
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e, n as t } from "./mathjax-
|
|
2
|
-
|
|
1
|
+
import { a as e, n as t } from "./mathjax-CSiPEd6T.js";
|
|
2
|
+
// ../../../node_modules/.bun/@mathjax+mathjax-newcm-font@4.1.3/node_modules/@mathjax/mathjax-newcm-font/mjs/chtml/dynamic/fraktur.js
|
|
3
3
|
t.dynamicSetup("", "fraktur", e({
|
|
4
4
|
F: {
|
|
5
5
|
normal: {
|
|
@@ -689,4 +689,3 @@ t.dynamicSetup("", "fraktur", e({
|
|
|
689
689
|
}
|
|
690
690
|
}
|
|
691
691
|
}, "NCM"));
|
|
692
|
-
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e, n as t } from "./mathjax-
|
|
2
|
-
|
|
1
|
+
import { a as e, n as t } from "./mathjax-CSiPEd6T.js";
|
|
2
|
+
// ../../../node_modules/.bun/@mathjax+mathjax-newcm-font@4.1.3/node_modules/@mathjax/mathjax-newcm-font/mjs/chtml/dynamic/greek.js
|
|
3
3
|
t.dynamicSetup("", "greek", e({
|
|
4
4
|
GK: { normal: {
|
|
5
5
|
880: [
|
|
@@ -9330,4 +9330,3 @@ t.dynamicSetup("", "greek", e({
|
|
|
9330
9330
|
"MJX-NCM-GKI",
|
|
9331
9331
|
"MJX-NCM-GKBI"
|
|
9332
9332
|
]);
|
|
9333
|
-
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e, n as t } from "./mathjax-
|
|
2
|
-
|
|
1
|
+
import { a as e, n as t } from "./mathjax-CSiPEd6T.js";
|
|
2
|
+
// ../../../node_modules/.bun/@mathjax+mathjax-newcm-font@4.1.3/node_modules/@mathjax/mathjax-newcm-font/mjs/chtml/dynamic/greek-ss.js
|
|
3
3
|
t.dynamicSetup("", "greek-ss", e({
|
|
4
4
|
GKSS: { "sans-serif": {
|
|
5
5
|
880: [
|
|
@@ -6762,4 +6762,3 @@ t.dynamicSetup("", "greek-ss", e({
|
|
|
6762
6762
|
"MJX-NCM-GKSSI",
|
|
6763
6763
|
"MJX-NCM-GKSSBI"
|
|
6764
6764
|
]);
|
|
6765
|
-
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e, n as t } from "./mathjax-
|
|
2
|
-
|
|
1
|
+
import { a as e, n as t } from "./mathjax-CSiPEd6T.js";
|
|
2
|
+
// ../../../node_modules/.bun/@mathjax+mathjax-newcm-font@4.1.3/node_modules/@mathjax/mathjax-newcm-font/mjs/chtml/dynamic/hebrew.js
|
|
3
3
|
t.dynamicSetup("", "hebrew", e({
|
|
4
4
|
HE: { normal: {
|
|
5
5
|
1425: [
|
|
@@ -3213,4 +3213,3 @@ t.dynamicSetup("", "hebrew", e({
|
|
|
3213
3213
|
"MJX-NCM-HEI",
|
|
3214
3214
|
"MJX-NCM-HEBI"
|
|
3215
3215
|
]);
|
|
3216
|
-
//#endregion
|
package/dist/browser/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as e, c as t, d as n, l as r, s as i, t as a } from "./speech-worker-
|
|
2
|
-
|
|
1
|
+
import { a as e, c as t, d as n, l as r, s as i, t as a } from "./speech-worker-fbxD4XrK.js";
|
|
2
|
+
// src/engine/bundled.ts
|
|
3
3
|
var o;
|
|
4
4
|
function s() {
|
|
5
5
|
return o;
|
|
6
6
|
}
|
|
7
|
-
var c = import("./mathjax-
|
|
7
|
+
var c = import("./mathjax-CSiPEd6T.js").then((e) => e.t);
|
|
8
8
|
c.catch(() => {});
|
|
9
9
|
async function l(e, t) {
|
|
10
10
|
let { createMathJax: n } = await c;
|
|
@@ -33,8 +33,7 @@ function y(e, t) {
|
|
|
33
33
|
}
|
|
34
34
|
return r;
|
|
35
35
|
}
|
|
36
|
-
|
|
37
|
-
//#region src/elementary-math.ts
|
|
36
|
+
// src/elementary-math.ts
|
|
38
37
|
var te = /* @__PURE__ */ new Set([
|
|
39
38
|
"updiagonalstrike",
|
|
40
39
|
"downdiagonalstrike",
|
|
@@ -387,8 +386,7 @@ function we(e, t, n, r, i, a, o) {
|
|
|
387
386
|
function Te(e) {
|
|
388
387
|
for (let t of [...e.querySelectorAll("mstack, mlongdiv")]) t.closest("math") && !t.closest("mjx-container") && t.replaceWith(t.localName === "mstack" ? xe(t) : Ce(t));
|
|
389
388
|
}
|
|
390
|
-
|
|
391
|
-
//#region src/explorer-styles.ts
|
|
389
|
+
// src/explorer-styles.ts
|
|
392
390
|
var Ee = "PIE-MJX-explorer-styles", P = "var(--pie-text, black)", De = "var(--pie-background, #ffffff)", Oe = "var(--pie-border-dark, #66686A)", F = "var(--pie-focus-outline, var(--pie-button-focus-outline, var(--pie-focus-checked-border, #1565C0)))", I = `color-mix(in srgb, ${F} 15%, transparent)`, ke = `
|
|
393
391
|
:root mjx-container [data-sre-highlight-1]:not([data-mjx-collapsed], rect) {
|
|
394
392
|
color: ${P} !important;
|
|
@@ -430,8 +428,7 @@ function Ae(e = document) {
|
|
|
430
428
|
let t = e.createElement("style");
|
|
431
429
|
t.id = Ee, t.textContent = ke, e.head.appendChild(t);
|
|
432
430
|
}
|
|
433
|
-
|
|
434
|
-
//#region src/math-speech.ts
|
|
431
|
+
// src/math-speech.ts
|
|
435
432
|
var je = /[-]/g, L = {
|
|
436
433
|
"+": "positive",
|
|
437
434
|
"-": "negative",
|
|
@@ -679,8 +676,7 @@ function G(e) {
|
|
|
679
676
|
function Xe(e) {
|
|
680
677
|
return B(G(e));
|
|
681
678
|
}
|
|
682
|
-
|
|
683
|
-
//#region src/math-name.ts
|
|
679
|
+
// src/math-name.ts
|
|
684
680
|
var Ze = [
|
|
685
681
|
"a[href]",
|
|
686
682
|
"button",
|
|
@@ -737,8 +733,7 @@ function nt(e) {
|
|
|
737
733
|
function q(e) {
|
|
738
734
|
for (let t of e.querySelectorAll("mjx-container")) nt(t);
|
|
739
735
|
}
|
|
740
|
-
|
|
741
|
-
//#region src/tex-dialect.ts
|
|
736
|
+
// src/tex-dialect.ts
|
|
742
737
|
var rt = {
|
|
743
738
|
parallelogram: "\\lower.2em{\\Huge\\unicode{x25B1}}",
|
|
744
739
|
overarc: "\\overparen",
|
|
@@ -778,8 +773,7 @@ function mt(e, t) {
|
|
|
778
773
|
docsUrl: J
|
|
779
774
|
} }));
|
|
780
775
|
}
|
|
781
|
-
|
|
782
|
-
//#region src/adapter.ts
|
|
776
|
+
// src/adapter.ts
|
|
783
777
|
var ht = "[math-rendering] using $ is not advisable, please use $$..$$ or \\(...\\)", gt = Symbol.for("@pie-element/shared-math-rendering-mathjax/loading"), _t = "MJX-CHTML-styles", vt = "PIE-MJX-SVG-styles", Y = "PIE-MathJax-Menu-Settings", yt = { "mjx-container[overflow=\"linebreak\"][display]": {
|
|
784
778
|
overflow: "auto clip",
|
|
785
779
|
"min-width": "initial !important"
|
|
@@ -979,8 +973,7 @@ function Z(e = {}) {
|
|
|
979
973
|
function Ht() {
|
|
980
974
|
return [];
|
|
981
975
|
}
|
|
982
|
-
|
|
983
|
-
//#region src/render-math.ts
|
|
976
|
+
// src/render-math.ts
|
|
984
977
|
var Ut = "@pie-lib/math-rendering", Wt = "@pie-lib/math-rendering@2", Gt = "pie-print", Kt = 50, qt = 1e4, Jt = null;
|
|
985
978
|
function Yt() {
|
|
986
979
|
return !!window[Wt]?.opts?.useSingleDollar;
|
|
@@ -1087,5 +1080,4 @@ var sn = (e, t = {}) => {
|
|
|
1087
1080
|
return null;
|
|
1088
1081
|
}
|
|
1089
1082
|
};
|
|
1090
|
-
//#endregion
|
|
1091
1083
|
export { ft as MATHJAX_CONFLICT_EVENT, e as NO_ASSET_ROOT_EVENT, J as UNSUPPORTED_PAGE_DOCS_URL, Z as createMathjaxRenderer, Ht as getMathjaxCssUrls, sn as latexToMml, nn as mmlToLatex, $ as renderMath, Xe as speakMathml, tn as unWrapMath, en as wrapMath };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e, n as t } from "./mathjax-
|
|
2
|
-
|
|
1
|
+
import { a as e, n as t } from "./mathjax-CSiPEd6T.js";
|
|
2
|
+
// ../../../node_modules/.bun/@mathjax+mathjax-newcm-font@4.1.3/node_modules/@mathjax/mathjax-newcm-font/mjs/chtml/dynamic/latin.js
|
|
3
3
|
t.dynamicSetup("", "latin", e({ LR: { normal: {
|
|
4
4
|
192: [
|
|
5
5
|
.909,
|
|
@@ -3261,4 +3261,3 @@ t.dynamicSetup("", "latin", e({ LR: { normal: {
|
|
|
3261
3261
|
.528
|
|
3262
3262
|
]
|
|
3263
3263
|
} } }, "NCM"), {}, ["MJX-NCM-LR"]);
|
|
3264
|
-
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e, n as t } from "./mathjax-
|
|
2
|
-
|
|
1
|
+
import { a as e, n as t } from "./mathjax-CSiPEd6T.js";
|
|
2
|
+
// ../../../node_modules/.bun/@mathjax+mathjax-newcm-font@4.1.3/node_modules/@mathjax/mathjax-newcm-font/mjs/chtml/dynamic/latin-b.js
|
|
3
3
|
t.dynamicSetup("", "latin-b", e({ LB: { bold: {
|
|
4
4
|
192: [
|
|
5
5
|
.909,
|
|
@@ -3129,4 +3129,3 @@ t.dynamicSetup("", "latin-b", e({ LB: { bold: {
|
|
|
3129
3129
|
.607
|
|
3130
3130
|
]
|
|
3131
3131
|
} } }, "NCM"), {}, ["MJX-NCM-LB"]);
|
|
3132
|
-
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e, n as t } from "./mathjax-
|
|
2
|
-
|
|
1
|
+
import { a as e, n as t } from "./mathjax-CSiPEd6T.js";
|
|
2
|
+
// ../../../node_modules/.bun/@mathjax+mathjax-newcm-font@4.1.3/node_modules/@mathjax/mathjax-newcm-font/mjs/chtml/dynamic/latin-bi.js
|
|
3
3
|
t.dynamicSetup("", "latin-bi", e({ LIB: { "bold-italic": {
|
|
4
4
|
192: [
|
|
5
5
|
.918,
|
|
@@ -3632,4 +3632,3 @@ t.dynamicSetup("", "latin-bi", e({ LIB: { "bold-italic": {
|
|
|
3632
3632
|
{ ic: .056 }
|
|
3633
3633
|
]
|
|
3634
3634
|
} } }, "NCM"), {}, ["MJX-NCM-LIB"]);
|
|
3635
|
-
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e, n as t } from "./mathjax-
|
|
2
|
-
|
|
1
|
+
import { a as e, n as t } from "./mathjax-CSiPEd6T.js";
|
|
2
|
+
// ../../../node_modules/.bun/@mathjax+mathjax-newcm-font@4.1.3/node_modules/@mathjax/mathjax-newcm-font/mjs/chtml/dynamic/latin-i.js
|
|
3
3
|
t.dynamicSetup("", "latin-i", e({ LI: { italic: {
|
|
4
4
|
192: [
|
|
5
5
|
.969,
|
|
@@ -3629,4 +3629,3 @@ t.dynamicSetup("", "latin-i", e({ LI: { italic: {
|
|
|
3629
3629
|
{ ic: .086 }
|
|
3630
3630
|
]
|
|
3631
3631
|
} } }, "NCM"), {}, ["MJX-NCM-LI"]);
|
|
3632
|
-
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e, n as t } from "./mathjax-
|
|
2
|
-
|
|
1
|
+
import { a as e, n as t } from "./mathjax-CSiPEd6T.js";
|
|
2
|
+
// ../../../node_modules/.bun/@mathjax+mathjax-newcm-font@4.1.3/node_modules/@mathjax/mathjax-newcm-font/mjs/chtml/dynamic/marrows.js
|
|
3
3
|
t.dynamicSetup("", "marrows", e({ MAR: { normal: {
|
|
4
4
|
129024: [
|
|
5
5
|
.359,
|
|
@@ -756,4 +756,3 @@ t.dynamicSetup("", "marrows", e({ MAR: { normal: {
|
|
|
756
756
|
{ ic: .044 }
|
|
757
757
|
]
|
|
758
758
|
} } }, "NCM"), {}, ["MJX-NCM-MAR"]);
|
|
759
|
-
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e, n as t } from "./mathjax-
|
|
2
|
-
|
|
1
|
+
import { a as e, n as t } from "./mathjax-CSiPEd6T.js";
|
|
2
|
+
// ../../../node_modules/.bun/@mathjax+mathjax-newcm-font@4.1.3/node_modules/@mathjax/mathjax-newcm-font/mjs/chtml/dynamic/math.js
|
|
3
3
|
t.dynamicSetup("", "math", e({ MM: { normal: {
|
|
4
4
|
8714: [
|
|
5
5
|
.447,
|
|
@@ -2029,4 +2029,3 @@ t.dynamicSetup("", "math", e({ MM: { normal: {
|
|
|
2029
2029
|
.398
|
|
2030
2030
|
]
|
|
2031
2031
|
} } }, "NCM"), {}, ["MJX-NCM-MM"]);
|
|
2032
|
-
//#endregion
|