manim-web 0.3.20 → 0.3.22

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 (192) hide show
  1. package/README.md +20 -0
  2. package/dist/AmsConfiguration-OUoC_kJ0.js +847 -0
  3. package/dist/AmsConfiguration-tdje_HlF.js +847 -0
  4. package/dist/ConfigMacrosConfiguration-4OaQYvlr.js +46 -0
  5. package/dist/ConfigMacrosConfiguration-DM3-S5M8.js +46 -0
  6. package/dist/Entities-Dw6381dl.js +429 -0
  7. package/dist/Entities-bJKKDYjE.js +429 -0
  8. package/dist/Factory-Ba6Nqb3M.js +107 -0
  9. package/dist/HtmlNode-1mFtYQ9G.js +981 -0
  10. package/dist/HtmlNode-CQqo5we-.js +981 -0
  11. package/dist/InputJax-D5R2pqUk.js +41 -0
  12. package/dist/InputJax-jNvwWU5P.js +41 -0
  13. package/dist/NewcommandConfiguration-BN_OlLcO.js +32 -0
  14. package/dist/NewcommandConfiguration-DZ3mSCpD.js +32 -0
  15. package/dist/NewcommandMethods-D5bueYYE.js +187 -0
  16. package/dist/NewcommandMethods-DTf_dan5.js +187 -0
  17. package/dist/Options-DMK2wYar.js +63 -0
  18. package/dist/ParseMethods-Deqa7kJ6.js +2636 -0
  19. package/dist/ParseMethods-Dt5bYDSZ.js +2636 -0
  20. package/dist/Styles-BILrGVps.js +293 -0
  21. package/dist/Styles-DQSruwWe.js +293 -0
  22. package/dist/animation/Animation.d.ts +15 -0
  23. package/dist/animation/Animation.d.ts.map +1 -1
  24. package/dist/animation/MasterTimeline.d.ts +88 -1
  25. package/dist/animation/MasterTimeline.d.ts.map +1 -1
  26. package/dist/animation/movement/Rotate.d.ts +2 -7
  27. package/dist/animation/movement/Rotate.d.ts.map +1 -1
  28. package/dist/animation/transform/FadeMorphStrategy.d.ts +18 -0
  29. package/dist/animation/transform/FadeMorphStrategy.d.ts.map +1 -0
  30. package/dist/animation/transform/FadeTransforms.d.ts +2 -0
  31. package/dist/animation/transform/FadeTransforms.d.ts.map +1 -1
  32. package/dist/animation/transform/MorphStrategy.d.ts +8 -0
  33. package/dist/animation/transform/MorphStrategy.d.ts.map +1 -0
  34. package/dist/animation/transform/MovementTransforms.d.ts.map +1 -1
  35. package/dist/animation/transform/PointMorphStrategy.d.ts +36 -0
  36. package/dist/animation/transform/PointMorphStrategy.d.ts.map +1 -0
  37. package/dist/animation/transform/ShapeMorphStrategy.d.ts +39 -0
  38. package/dist/animation/transform/ShapeMorphStrategy.d.ts.map +1 -0
  39. package/dist/animation/transform/Transform.d.ts +9 -91
  40. package/dist/animation/transform/Transform.d.ts.map +1 -1
  41. package/dist/animation/transform/TransformMatching.d.ts.map +1 -1
  42. package/dist/animation/transform/TransformMatchingBase.d.ts +1 -0
  43. package/dist/animation/transform/TransformMatchingBase.d.ts.map +1 -1
  44. package/dist/animation/transform/TransformMatchingShared.d.ts +37 -0
  45. package/dist/animation/transform/TransformMatchingShared.d.ts.map +1 -0
  46. package/dist/animation/transform/TransformPairing.d.ts +19 -0
  47. package/dist/animation/transform/TransformPairing.d.ts.map +1 -0
  48. package/dist/core/AnimateProxy.d.ts +4 -5
  49. package/dist/core/AnimateProxy.d.ts.map +1 -1
  50. package/dist/core/Camera.d.ts +37 -0
  51. package/dist/core/Camera.d.ts.map +1 -1
  52. package/dist/core/CameraExtensions.d.ts +33 -1
  53. package/dist/core/CameraExtensions.d.ts.map +1 -1
  54. package/dist/core/Group.d.ts +5 -11
  55. package/dist/core/Group.d.ts.map +1 -1
  56. package/dist/core/Mobject.d.ts +39 -7
  57. package/dist/core/Mobject.d.ts.map +1 -1
  58. package/dist/core/MobjectPositioning.d.ts +2 -5
  59. package/dist/core/MobjectPositioning.d.ts.map +1 -1
  60. package/dist/core/MobjectTypes.d.ts +21 -4
  61. package/dist/core/MobjectTypes.d.ts.map +1 -1
  62. package/dist/core/Renderer.d.ts +3 -0
  63. package/dist/core/Renderer.d.ts.map +1 -1
  64. package/dist/core/Scene.d.ts +50 -0
  65. package/dist/core/Scene.d.ts.map +1 -1
  66. package/dist/core/TexturedMobject.d.ts +38 -0
  67. package/dist/core/TexturedMobject.d.ts.map +1 -0
  68. package/dist/core/ThreeDScene.d.ts +18 -3
  69. package/dist/core/ThreeDScene.d.ts.map +1 -1
  70. package/dist/core/VGroup.d.ts +11 -19
  71. package/dist/core/VGroup.d.ts.map +1 -1
  72. package/dist/core/VMobject.d.ts +48 -110
  73. package/dist/core/VMobject.d.ts.map +1 -1
  74. package/dist/core/VMobjectCurveUtils.d.ts +106 -0
  75. package/dist/core/VMobjectCurveUtils.d.ts.map +1 -0
  76. package/dist/core/VMobjectGeometry.d.ts +22 -25
  77. package/dist/core/VMobjectGeometry.d.ts.map +1 -1
  78. package/dist/core/VMobjectRendering.d.ts +5 -0
  79. package/dist/core/VMobjectRendering.d.ts.map +1 -1
  80. package/dist/core/VMobjectStrokeGeometry.d.ts +20 -0
  81. package/dist/core/VMobjectStrokeGeometry.d.ts.map +1 -0
  82. package/dist/core/VMobjectTransformAlignment.d.ts +20 -0
  83. package/dist/core/VMobjectTransformAlignment.d.ts.map +1 -0
  84. package/dist/html-Bza5WY1y.js +829 -0
  85. package/dist/html-bhzMuE8p.js +829 -0
  86. package/dist/index.d.ts +4 -3
  87. package/dist/index.d.ts.map +1 -1
  88. package/dist/index.js +2 -4
  89. package/dist/integrations/react.js +16 -18
  90. package/dist/integrations/vue.js +15 -17
  91. package/dist/interaction/Draggable.d.ts +2 -0
  92. package/dist/interaction/Draggable.d.ts.map +1 -1
  93. package/dist/interaction/OrbitControls.d.ts +1 -1
  94. package/dist/interaction/OrbitControls.d.ts.map +1 -1
  95. package/dist/lengths-D2zTYMUu.js +54 -0
  96. package/dist/liteAdaptor-BkxB5CGC.js +616 -0
  97. package/dist/liteAdaptor-LMKuWwg1.js +616 -0
  98. package/dist/manim-web.browser.js +35821 -30916
  99. package/dist/mathjax-CPQWkQEv.js +121 -0
  100. package/dist/mathjax-b-GTdZgw.js +121 -0
  101. package/dist/mo-D4wFHS6V.js +2675 -0
  102. package/dist/mo-hAX79Dzl.js +2675 -0
  103. package/dist/mobjects/geometry/AngleShapes.d.ts +0 -4
  104. package/dist/mobjects/geometry/AngleShapes.d.ts.map +1 -1
  105. package/dist/mobjects/geometry/BooleanOperations.d.ts +1 -1
  106. package/dist/mobjects/geometry/BooleanOperations.d.ts.map +1 -1
  107. package/dist/mobjects/geometry/CubicBezier.d.ts.map +1 -1
  108. package/dist/mobjects/geometry/PolygonExtensions.d.ts +1 -1
  109. package/dist/mobjects/geometry/PolygonExtensions.d.ts.map +1 -1
  110. package/dist/mobjects/graphing/ComplexPlane.d.ts +59 -1
  111. package/dist/mobjects/graphing/ComplexPlane.d.ts.map +1 -1
  112. package/dist/mobjects/graphing/Vector.d.ts.map +1 -1
  113. package/dist/mobjects/image/index.d.ts +9 -2
  114. package/dist/mobjects/image/index.d.ts.map +1 -1
  115. package/dist/mobjects/point/Mobject1D.d.ts.map +1 -1
  116. package/dist/mobjects/point/Mobject2D.d.ts.map +1 -1
  117. package/dist/mobjects/point/PMobject.d.ts +8 -2
  118. package/dist/mobjects/point/PMobject.d.ts.map +1 -1
  119. package/dist/mobjects/point/PointMobject.d.ts.map +1 -1
  120. package/dist/mobjects/text/Code.d.ts.map +1 -1
  121. package/dist/mobjects/text/MarkupText.d.ts.map +1 -1
  122. package/dist/mobjects/text/MathJaxRenderer.d.ts.map +1 -1
  123. package/dist/mobjects/text/MathTex.d.ts +9 -0
  124. package/dist/mobjects/text/MathTex.d.ts.map +1 -1
  125. package/dist/mobjects/text/MathTexImage.d.ts +9 -3
  126. package/dist/mobjects/text/MathTexImage.d.ts.map +1 -1
  127. package/dist/mobjects/text/Text.d.ts +8 -3
  128. package/dist/mobjects/text/Text.d.ts.map +1 -1
  129. package/dist/mobjects/text/TextGlyphGroup.d.ts.map +1 -1
  130. package/dist/mobjects/text/svgPathParser.d.ts.map +1 -1
  131. package/dist/mobjects/three-d/Line3D.d.ts +10 -56
  132. package/dist/mobjects/three-d/Line3D.d.ts.map +1 -1
  133. package/dist/mobjects/three-d/ThreeDAxes.d.ts +8 -0
  134. package/dist/mobjects/three-d/ThreeDAxes.d.ts.map +1 -1
  135. package/dist/player/Player.d.ts +36 -29
  136. package/dist/player/Player.d.ts.map +1 -1
  137. package/dist/player/PlayerUI.d.ts.map +1 -1
  138. package/dist/player/RecordingScene.d.ts +37 -0
  139. package/dist/player/RecordingScene.d.ts.map +1 -0
  140. package/dist/{src-Db7QTr4S.js → src-BlTk3Bta.js} +34386 -29482
  141. package/dist/svg-DNS5Hwhk.js +28713 -0
  142. package/dist/svg-DVUoAdmC.js +28713 -0
  143. package/dist/test-setup/vitest-setup.d.ts +20 -0
  144. package/dist/test-setup/vitest-setup.d.ts.map +1 -0
  145. package/dist/tex-BQCLd0dF.js +1427 -0
  146. package/dist/tex-Cd_bTYKG.js +1427 -0
  147. package/dist/utils/axis.d.ts +4 -0
  148. package/dist/utils/axis.d.ts.map +1 -0
  149. package/dist/utils/logger.d.ts +37 -0
  150. package/dist/utils/logger.d.ts.map +1 -1
  151. package/dist/utils/math.d.ts +11 -0
  152. package/dist/utils/math.d.ts.map +1 -1
  153. package/dist/utils/vectors.d.ts +54 -1
  154. package/dist/utils/vectors.d.ts.map +1 -1
  155. package/package.json +10 -8
  156. package/dist/AllPackages-B0GtkYjD.js +0 -7912
  157. package/dist/AllPackages-BIAELuhU.js +0 -7912
  158. package/dist/BaseConfiguration-CDf44lxS.js +0 -4402
  159. package/dist/BaseConfiguration-Chcqjv9L.js +0 -4402
  160. package/dist/Entities-B_gwJfrn.js +0 -458
  161. package/dist/Entities-CmJkmuw_.js +0 -458
  162. package/dist/GifExporter-C9lP34Iu.js +0 -338
  163. package/dist/GifExporter-DBak5Vk7.js +0 -338
  164. package/dist/InputJax-C5sGfjJ8.js +0 -43
  165. package/dist/InputJax-Jb4hSThK.js +0 -43
  166. package/dist/MathItem-BmK41eqe.js +0 -77
  167. package/dist/MathItem-C_mZyaeT.js +0 -77
  168. package/dist/Options-Ch1vGsgd.js +0 -188
  169. package/dist/Options-V6ag48Dv.js +0 -188
  170. package/dist/PrioritizedList-DkoCmqPk.js +0 -36
  171. package/dist/PrioritizedList-eKTii0tW.js +0 -36
  172. package/dist/Styles-De4BjKiV.js +0 -411
  173. package/dist/Styles-DgoiBrzf.js +0 -411
  174. package/dist/TeXAtom-DT2wCvcU.js +0 -2025
  175. package/dist/TeXAtom-JogI0lus.js +0 -2025
  176. package/dist/VideoExporter-Bdtz_pWv.js +0 -102
  177. package/dist/VideoExporter-Vjfsnv1h.js +0 -102
  178. package/dist/chunk-3e0lkp8x.js +0 -23
  179. package/dist/html-53__O8r2.js +0 -1587
  180. package/dist/html-DfHFh5II.js +0 -1587
  181. package/dist/lengths-3epoqRj7.js +0 -65
  182. package/dist/lengths-B-bX9Tfk.js +0 -65
  183. package/dist/liteAdaptor-BxFvlO-q.js +0 -828
  184. package/dist/liteAdaptor-CsOIKw2g.js +0 -828
  185. package/dist/mathjax-Bkrmftxh.js +0 -102
  186. package/dist/mathjax-DBrTNl9C.js +0 -102
  187. package/dist/mo-AzagC5AD.js +0 -3271
  188. package/dist/mo-I_6dyJsk.js +0 -3271
  189. package/dist/svg-CoGQ_sAt.js +0 -23880
  190. package/dist/svg-DiIG93Lr.js +0 -23880
  191. package/dist/tex-ChPKMfdv.js +0 -401
  192. package/dist/tex-hYZcjadW.js +0 -401
@@ -1,43 +0,0 @@
1
- import { t as e } from "./chunk-3e0lkp8x.js";
2
- import { t } from "./Options-Ch1vGsgd.js";
3
- import { s as n } from "./mo-I_6dyJsk.js";
4
- //#region node_modules/mathjax-full/js/core/InputJax.js
5
- var r = /* @__PURE__ */ e(((e) => {
6
- Object.defineProperty(e, "__esModule", { value: !0 }), e.AbstractInputJax = void 0;
7
- var r = t(), i = n();
8
- e.AbstractInputJax = function() {
9
- function e(e) {
10
- e === void 0 && (e = {}), this.adaptor = null, this.mmlFactory = null;
11
- var t = this.constructor;
12
- this.options = (0, r.userOptions)((0, r.defaultOptions)({}, t.OPTIONS), e), this.preFilters = new i.FunctionList(), this.postFilters = new i.FunctionList();
13
- }
14
- return Object.defineProperty(e.prototype, "name", {
15
- get: function() {
16
- return this.constructor.NAME;
17
- },
18
- enumerable: !1,
19
- configurable: !0
20
- }), e.prototype.setAdaptor = function(e) {
21
- this.adaptor = e;
22
- }, e.prototype.setMmlFactory = function(e) {
23
- this.mmlFactory = e;
24
- }, e.prototype.initialize = function() {}, e.prototype.reset = function() {}, Object.defineProperty(e.prototype, "processStrings", {
25
- get: function() {
26
- return !0;
27
- },
28
- enumerable: !1,
29
- configurable: !0
30
- }), e.prototype.findMath = function(e, t) {
31
- return [];
32
- }, e.prototype.executeFilters = function(e, t, n, r) {
33
- var i = {
34
- math: t,
35
- document: n,
36
- data: r
37
- };
38
- return e.execute(i), i.data;
39
- }, e.NAME = "generic", e.OPTIONS = {}, e;
40
- }();
41
- }));
42
- //#endregion
43
- export { r as t };
@@ -1,43 +0,0 @@
1
- import { t as e } from "./chunk-3e0lkp8x.js";
2
- import { t } from "./Options-V6ag48Dv.js";
3
- import { s as n } from "./mo-AzagC5AD.js";
4
- //#region node_modules/mathjax-full/js/core/InputJax.js
5
- var r = /* @__PURE__ */ e(((e) => {
6
- Object.defineProperty(e, "__esModule", { value: !0 }), e.AbstractInputJax = void 0;
7
- var r = t(), i = n();
8
- e.AbstractInputJax = function() {
9
- function e(e) {
10
- e === void 0 && (e = {}), this.adaptor = null, this.mmlFactory = null;
11
- var t = this.constructor;
12
- this.options = (0, r.userOptions)((0, r.defaultOptions)({}, t.OPTIONS), e), this.preFilters = new i.FunctionList(), this.postFilters = new i.FunctionList();
13
- }
14
- return Object.defineProperty(e.prototype, "name", {
15
- get: function() {
16
- return this.constructor.NAME;
17
- },
18
- enumerable: !1,
19
- configurable: !0
20
- }), e.prototype.setAdaptor = function(e) {
21
- this.adaptor = e;
22
- }, e.prototype.setMmlFactory = function(e) {
23
- this.mmlFactory = e;
24
- }, e.prototype.initialize = function() {}, e.prototype.reset = function() {}, Object.defineProperty(e.prototype, "processStrings", {
25
- get: function() {
26
- return !0;
27
- },
28
- enumerable: !1,
29
- configurable: !0
30
- }), e.prototype.findMath = function(e, t) {
31
- return [];
32
- }, e.prototype.executeFilters = function(e, t, n, r) {
33
- var i = {
34
- math: t,
35
- document: n,
36
- data: r
37
- };
38
- return e.execute(i), i.data;
39
- }, e.NAME = "generic", e.OPTIONS = {}, e;
40
- }();
41
- }));
42
- //#endregion
43
- export { r as t };
@@ -1,77 +0,0 @@
1
- import { t as e } from "./chunk-3e0lkp8x.js";
2
- //#region node_modules/mathjax-full/js/core/MathItem.js
3
- var t = /* @__PURE__ */ e(((e) => {
4
- Object.defineProperty(e, "__esModule", { value: !0 }), e.newState = e.STATE = e.AbstractMathItem = e.protoItem = void 0;
5
- function t(e, t, n, r, i, a, o) {
6
- return o === void 0 && (o = null), {
7
- open: e,
8
- math: t,
9
- close: n,
10
- n: r,
11
- start: { n: i },
12
- end: { n: a },
13
- display: o
14
- };
15
- }
16
- e.protoItem = t, e.AbstractMathItem = function() {
17
- function t(t, n, r, i, a) {
18
- r === void 0 && (r = !0), i === void 0 && (i = {
19
- i: 0,
20
- n: 0,
21
- delim: ""
22
- }), a === void 0 && (a = {
23
- i: 0,
24
- n: 0,
25
- delim: ""
26
- }), this.root = null, this.typesetRoot = null, this.metrics = {}, this.inputData = {}, this.outputData = {}, this._state = e.STATE.UNPROCESSED, this.math = t, this.inputJax = n, this.display = r, this.start = i, this.end = a, this.root = null, this.typesetRoot = null, this.metrics = {}, this.inputData = {}, this.outputData = {};
27
- }
28
- return Object.defineProperty(t.prototype, "isEscaped", {
29
- get: function() {
30
- return this.display === null;
31
- },
32
- enumerable: !1,
33
- configurable: !0
34
- }), t.prototype.render = function(e) {
35
- e.renderActions.renderMath(this, e);
36
- }, t.prototype.rerender = function(t, n) {
37
- n === void 0 && (n = e.STATE.RERENDER), this.state() >= n && this.state(n - 1), t.renderActions.renderMath(this, t, n);
38
- }, t.prototype.convert = function(t, n) {
39
- n === void 0 && (n = e.STATE.LAST), t.renderActions.renderConvert(this, t, n);
40
- }, t.prototype.compile = function(t) {
41
- this.state() < e.STATE.COMPILED && (this.root = this.inputJax.compile(this, t), this.state(e.STATE.COMPILED));
42
- }, t.prototype.typeset = function(t) {
43
- this.state() < e.STATE.TYPESET && (this.typesetRoot = t.outputJax[this.isEscaped ? "escaped" : "typeset"](this, t), this.state(e.STATE.TYPESET));
44
- }, t.prototype.updateDocument = function(e) {}, t.prototype.removeFromDocument = function(e) {
45
- e === void 0 && (e = !1);
46
- }, t.prototype.setMetrics = function(e, t, n, r, i) {
47
- this.metrics = {
48
- em: e,
49
- ex: t,
50
- containerWidth: n,
51
- lineWidth: r,
52
- scale: i
53
- };
54
- }, t.prototype.state = function(t, n) {
55
- return t === void 0 && (t = null), n === void 0 && (n = !1), t != null && (t < e.STATE.INSERTED && this._state >= e.STATE.INSERTED && this.removeFromDocument(n), t < e.STATE.TYPESET && this._state >= e.STATE.TYPESET && (this.outputData = {}), t < e.STATE.COMPILED && this._state >= e.STATE.COMPILED && (this.inputData = {}), this._state = t), this._state;
56
- }, t.prototype.reset = function(t) {
57
- t === void 0 && (t = !1), this.state(e.STATE.UNPROCESSED, t);
58
- }, t;
59
- }(), e.STATE = {
60
- UNPROCESSED: 0,
61
- FINDMATH: 10,
62
- COMPILED: 20,
63
- CONVERT: 100,
64
- METRICS: 110,
65
- RERENDER: 125,
66
- TYPESET: 150,
67
- INSERTED: 200,
68
- LAST: 1e4
69
- };
70
- function n(t, n) {
71
- if (t in e.STATE) throw Error("State " + t + " already exists");
72
- e.STATE[t] = n;
73
- }
74
- e.newState = n;
75
- }));
76
- //#endregion
77
- export { t };
@@ -1,77 +0,0 @@
1
- import { t as e } from "./chunk-3e0lkp8x.js";
2
- //#region node_modules/mathjax-full/js/core/MathItem.js
3
- var t = /* @__PURE__ */ e(((e) => {
4
- Object.defineProperty(e, "__esModule", { value: !0 }), e.newState = e.STATE = e.AbstractMathItem = e.protoItem = void 0;
5
- function t(e, t, n, r, i, a, o) {
6
- return o === void 0 && (o = null), {
7
- open: e,
8
- math: t,
9
- close: n,
10
- n: r,
11
- start: { n: i },
12
- end: { n: a },
13
- display: o
14
- };
15
- }
16
- e.protoItem = t, e.AbstractMathItem = function() {
17
- function t(t, n, r, i, a) {
18
- r === void 0 && (r = !0), i === void 0 && (i = {
19
- i: 0,
20
- n: 0,
21
- delim: ""
22
- }), a === void 0 && (a = {
23
- i: 0,
24
- n: 0,
25
- delim: ""
26
- }), this.root = null, this.typesetRoot = null, this.metrics = {}, this.inputData = {}, this.outputData = {}, this._state = e.STATE.UNPROCESSED, this.math = t, this.inputJax = n, this.display = r, this.start = i, this.end = a, this.root = null, this.typesetRoot = null, this.metrics = {}, this.inputData = {}, this.outputData = {};
27
- }
28
- return Object.defineProperty(t.prototype, "isEscaped", {
29
- get: function() {
30
- return this.display === null;
31
- },
32
- enumerable: !1,
33
- configurable: !0
34
- }), t.prototype.render = function(e) {
35
- e.renderActions.renderMath(this, e);
36
- }, t.prototype.rerender = function(t, n) {
37
- n === void 0 && (n = e.STATE.RERENDER), this.state() >= n && this.state(n - 1), t.renderActions.renderMath(this, t, n);
38
- }, t.prototype.convert = function(t, n) {
39
- n === void 0 && (n = e.STATE.LAST), t.renderActions.renderConvert(this, t, n);
40
- }, t.prototype.compile = function(t) {
41
- this.state() < e.STATE.COMPILED && (this.root = this.inputJax.compile(this, t), this.state(e.STATE.COMPILED));
42
- }, t.prototype.typeset = function(t) {
43
- this.state() < e.STATE.TYPESET && (this.typesetRoot = t.outputJax[this.isEscaped ? "escaped" : "typeset"](this, t), this.state(e.STATE.TYPESET));
44
- }, t.prototype.updateDocument = function(e) {}, t.prototype.removeFromDocument = function(e) {
45
- e === void 0 && (e = !1);
46
- }, t.prototype.setMetrics = function(e, t, n, r, i) {
47
- this.metrics = {
48
- em: e,
49
- ex: t,
50
- containerWidth: n,
51
- lineWidth: r,
52
- scale: i
53
- };
54
- }, t.prototype.state = function(t, n) {
55
- return t === void 0 && (t = null), n === void 0 && (n = !1), t != null && (t < e.STATE.INSERTED && this._state >= e.STATE.INSERTED && this.removeFromDocument(n), t < e.STATE.TYPESET && this._state >= e.STATE.TYPESET && (this.outputData = {}), t < e.STATE.COMPILED && this._state >= e.STATE.COMPILED && (this.inputData = {}), this._state = t), this._state;
56
- }, t.prototype.reset = function(t) {
57
- t === void 0 && (t = !1), this.state(e.STATE.UNPROCESSED, t);
58
- }, t;
59
- }(), e.STATE = {
60
- UNPROCESSED: 0,
61
- FINDMATH: 10,
62
- COMPILED: 20,
63
- CONVERT: 100,
64
- METRICS: 110,
65
- RERENDER: 125,
66
- TYPESET: 150,
67
- INSERTED: 200,
68
- LAST: 1e4
69
- };
70
- function n(t, n) {
71
- if (t in e.STATE) throw Error("State " + t + " already exists");
72
- e.STATE[t] = n;
73
- }
74
- e.newState = n;
75
- }));
76
- //#endregion
77
- export { t };
@@ -1,188 +0,0 @@
1
- import { t as e } from "./chunk-3e0lkp8x.js";
2
- //#region node_modules/mathjax-full/js/util/Options.js
3
- var t = /* @__PURE__ */ e(((e) => {
4
- var t = e && e.__values || function(e) {
5
- var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
6
- if (n) return n.call(e);
7
- if (e && typeof e.length == "number") return { next: function() {
8
- return e && r >= e.length && (e = void 0), {
9
- value: e && e[r++],
10
- done: !e
11
- };
12
- } };
13
- throw TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
14
- }, n = e && e.__read || function(e, t) {
15
- var n = typeof Symbol == "function" && e[Symbol.iterator];
16
- if (!n) return e;
17
- var r = n.call(e), i, a = [], o;
18
- try {
19
- for (; (t === void 0 || t-- > 0) && !(i = r.next()).done;) a.push(i.value);
20
- } catch (e) {
21
- o = { error: e };
22
- } finally {
23
- try {
24
- i && !i.done && (n = r.return) && n.call(r);
25
- } finally {
26
- if (o) throw o.error;
27
- }
28
- }
29
- return a;
30
- }, r = e && e.__spreadArray || function(e, t, n) {
31
- if (n || arguments.length === 2) for (var r = 0, i = t.length, a; r < i; r++) (a || !(r in t)) && (a ||= Array.prototype.slice.call(t, 0, r), a[r] = t[r]);
32
- return e.concat(a || Array.prototype.slice.call(t));
33
- };
34
- Object.defineProperty(e, "__esModule", { value: !0 }), e.lookup = e.separateOptions = e.selectOptionsFromKeys = e.selectOptions = e.userOptions = e.defaultOptions = e.insert = e.copy = e.keys = e.makeArray = e.expandable = e.Expandable = e.OPTIONS = e.REMOVE = e.APPEND = e.isObject = void 0;
35
- var i = {}.constructor;
36
- function a(e) {
37
- return typeof e == "object" && !!e && (e.constructor === i || e.constructor === o);
38
- }
39
- e.isObject = a, e.APPEND = "[+]", e.REMOVE = "[-]", e.OPTIONS = {
40
- invalidOption: "warn",
41
- optionError: function(t, n) {
42
- if (e.OPTIONS.invalidOption === "fatal") throw Error(t);
43
- console.warn("MathJax: " + t);
44
- }
45
- };
46
- var o = function() {
47
- function e() {}
48
- return e;
49
- }();
50
- e.Expandable = o;
51
- function s(e) {
52
- return Object.assign(Object.create(o.prototype), e);
53
- }
54
- e.expandable = s;
55
- function c(e) {
56
- return Array.isArray(e) ? e : [e];
57
- }
58
- e.makeArray = c;
59
- function l(e) {
60
- return e ? Object.keys(e).concat(Object.getOwnPropertySymbols(e)) : [];
61
- }
62
- e.keys = l;
63
- function u(e) {
64
- var n, r, i = {};
65
- try {
66
- for (var c = t(l(e)), f = c.next(); !f.done; f = c.next()) {
67
- var p = f.value, m = Object.getOwnPropertyDescriptor(e, p), h = m.value;
68
- Array.isArray(h) ? m.value = d([], h, !1) : a(h) && (m.value = u(h)), m.enumerable && (i[p] = m);
69
- }
70
- } catch (e) {
71
- n = { error: e };
72
- } finally {
73
- try {
74
- f && !f.done && (r = c.return) && r.call(c);
75
- } finally {
76
- if (n) throw n.error;
77
- }
78
- }
79
- return Object.defineProperties(e.constructor === o ? s({}) : {}, i);
80
- }
81
- e.copy = u;
82
- function d(i, s, c) {
83
- var f, p;
84
- c === void 0 && (c = !0);
85
- var m = function(t) {
86
- if (c && i[t] === void 0 && i.constructor !== o) return typeof t == "symbol" && (t = t.toString()), e.OPTIONS.optionError(`Invalid option "${t}" (no default value).`, t), "continue";
87
- var f = s[t], p = i[t];
88
- if (a(f) && p !== null && (typeof p == "object" || typeof p == "function")) {
89
- var m = l(f);
90
- Array.isArray(p) && (m.length === 1 && (m[0] === e.APPEND || m[0] === e.REMOVE) && Array.isArray(f[m[0]]) || m.length === 2 && m.sort().join(",") === e.APPEND + "," + e.REMOVE && Array.isArray(f[e.APPEND]) && Array.isArray(f[e.REMOVE])) ? (f[e.REMOVE] && (p = i[t] = p.filter(function(t) {
91
- return f[e.REMOVE].indexOf(t) < 0;
92
- })), f[e.APPEND] && (i[t] = r(r([], n(p), !1), n(f[e.APPEND]), !1))) : d(p, f, c);
93
- } else Array.isArray(f) ? (i[t] = [], d(i[t], f, !1)) : a(f) ? i[t] = u(f) : i[t] = f;
94
- };
95
- try {
96
- for (var h = t(l(s)), g = h.next(); !g.done; g = h.next()) {
97
- var _ = g.value;
98
- m(_);
99
- }
100
- } catch (e) {
101
- f = { error: e };
102
- } finally {
103
- try {
104
- g && !g.done && (p = h.return) && p.call(h);
105
- } finally {
106
- if (f) throw f.error;
107
- }
108
- }
109
- return i;
110
- }
111
- e.insert = d;
112
- function f(e) {
113
- return [...arguments].slice(1).forEach(function(t) {
114
- return d(e, t, !1);
115
- }), e;
116
- }
117
- e.defaultOptions = f;
118
- function p(e) {
119
- return [...arguments].slice(1).forEach(function(t) {
120
- return d(e, t, !0);
121
- }), e;
122
- }
123
- e.userOptions = p;
124
- function m(e) {
125
- for (var n, r, i = [], a = 1; a < arguments.length; a++) i[a - 1] = arguments[a];
126
- var o = {};
127
- try {
128
- for (var s = t(i), c = s.next(); !c.done; c = s.next()) {
129
- var l = c.value;
130
- e.hasOwnProperty(l) && (o[l] = e[l]);
131
- }
132
- } catch (e) {
133
- n = { error: e };
134
- } finally {
135
- try {
136
- c && !c.done && (r = s.return) && r.call(s);
137
- } finally {
138
- if (n) throw n.error;
139
- }
140
- }
141
- return o;
142
- }
143
- e.selectOptions = m;
144
- function h(e, t) {
145
- return m.apply(void 0, r([e], n(Object.keys(t)), !1));
146
- }
147
- e.selectOptionsFromKeys = h;
148
- function g(e) {
149
- for (var n, r, i, a, o = [], s = 1; s < arguments.length; s++) o[s - 1] = arguments[s];
150
- var c = [];
151
- try {
152
- for (var l = t(o), u = l.next(); !u.done; u = l.next()) {
153
- var d = u.value, f = {}, p = {};
154
- try {
155
- for (var m = (i = void 0, t(Object.keys(e || {}))), h = m.next(); !h.done; h = m.next()) {
156
- var g = h.value;
157
- (d[g] === void 0 ? p : f)[g] = e[g];
158
- }
159
- } catch (e) {
160
- i = { error: e };
161
- } finally {
162
- try {
163
- h && !h.done && (a = m.return) && a.call(m);
164
- } finally {
165
- if (i) throw i.error;
166
- }
167
- }
168
- c.push(f), e = p;
169
- }
170
- } catch (e) {
171
- n = { error: e };
172
- } finally {
173
- try {
174
- u && !u.done && (r = l.return) && r.call(l);
175
- } finally {
176
- if (n) throw n.error;
177
- }
178
- }
179
- return c.unshift(e), c;
180
- }
181
- e.separateOptions = g;
182
- function _(e, t, n) {
183
- return n === void 0 && (n = null), t.hasOwnProperty(e) ? t[e] : n;
184
- }
185
- e.lookup = _;
186
- }));
187
- //#endregion
188
- export { t };
@@ -1,188 +0,0 @@
1
- import { t as e } from "./chunk-3e0lkp8x.js";
2
- //#region node_modules/mathjax-full/js/util/Options.js
3
- var t = /* @__PURE__ */ e(((e) => {
4
- var t = e && e.__values || function(e) {
5
- var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
6
- if (n) return n.call(e);
7
- if (e && typeof e.length == "number") return { next: function() {
8
- return e && r >= e.length && (e = void 0), {
9
- value: e && e[r++],
10
- done: !e
11
- };
12
- } };
13
- throw TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
14
- }, n = e && e.__read || function(e, t) {
15
- var n = typeof Symbol == "function" && e[Symbol.iterator];
16
- if (!n) return e;
17
- var r = n.call(e), i, a = [], o;
18
- try {
19
- for (; (t === void 0 || t-- > 0) && !(i = r.next()).done;) a.push(i.value);
20
- } catch (e) {
21
- o = { error: e };
22
- } finally {
23
- try {
24
- i && !i.done && (n = r.return) && n.call(r);
25
- } finally {
26
- if (o) throw o.error;
27
- }
28
- }
29
- return a;
30
- }, r = e && e.__spreadArray || function(e, t, n) {
31
- if (n || arguments.length === 2) for (var r = 0, i = t.length, a; r < i; r++) (a || !(r in t)) && (a ||= Array.prototype.slice.call(t, 0, r), a[r] = t[r]);
32
- return e.concat(a || Array.prototype.slice.call(t));
33
- };
34
- Object.defineProperty(e, "__esModule", { value: !0 }), e.lookup = e.separateOptions = e.selectOptionsFromKeys = e.selectOptions = e.userOptions = e.defaultOptions = e.insert = e.copy = e.keys = e.makeArray = e.expandable = e.Expandable = e.OPTIONS = e.REMOVE = e.APPEND = e.isObject = void 0;
35
- var i = {}.constructor;
36
- function a(e) {
37
- return typeof e == "object" && !!e && (e.constructor === i || e.constructor === o);
38
- }
39
- e.isObject = a, e.APPEND = "[+]", e.REMOVE = "[-]", e.OPTIONS = {
40
- invalidOption: "warn",
41
- optionError: function(t, n) {
42
- if (e.OPTIONS.invalidOption === "fatal") throw Error(t);
43
- console.warn("MathJax: " + t);
44
- }
45
- };
46
- var o = function() {
47
- function e() {}
48
- return e;
49
- }();
50
- e.Expandable = o;
51
- function s(e) {
52
- return Object.assign(Object.create(o.prototype), e);
53
- }
54
- e.expandable = s;
55
- function c(e) {
56
- return Array.isArray(e) ? e : [e];
57
- }
58
- e.makeArray = c;
59
- function l(e) {
60
- return e ? Object.keys(e).concat(Object.getOwnPropertySymbols(e)) : [];
61
- }
62
- e.keys = l;
63
- function u(e) {
64
- var n, r, i = {};
65
- try {
66
- for (var c = t(l(e)), f = c.next(); !f.done; f = c.next()) {
67
- var p = f.value, m = Object.getOwnPropertyDescriptor(e, p), h = m.value;
68
- Array.isArray(h) ? m.value = d([], h, !1) : a(h) && (m.value = u(h)), m.enumerable && (i[p] = m);
69
- }
70
- } catch (e) {
71
- n = { error: e };
72
- } finally {
73
- try {
74
- f && !f.done && (r = c.return) && r.call(c);
75
- } finally {
76
- if (n) throw n.error;
77
- }
78
- }
79
- return Object.defineProperties(e.constructor === o ? s({}) : {}, i);
80
- }
81
- e.copy = u;
82
- function d(i, s, c) {
83
- var f, p;
84
- c === void 0 && (c = !0);
85
- var m = function(t) {
86
- if (c && i[t] === void 0 && i.constructor !== o) return typeof t == "symbol" && (t = t.toString()), e.OPTIONS.optionError(`Invalid option "${t}" (no default value).`, t), "continue";
87
- var f = s[t], p = i[t];
88
- if (a(f) && p !== null && (typeof p == "object" || typeof p == "function")) {
89
- var m = l(f);
90
- Array.isArray(p) && (m.length === 1 && (m[0] === e.APPEND || m[0] === e.REMOVE) && Array.isArray(f[m[0]]) || m.length === 2 && m.sort().join(",") === e.APPEND + "," + e.REMOVE && Array.isArray(f[e.APPEND]) && Array.isArray(f[e.REMOVE])) ? (f[e.REMOVE] && (p = i[t] = p.filter(function(t) {
91
- return f[e.REMOVE].indexOf(t) < 0;
92
- })), f[e.APPEND] && (i[t] = r(r([], n(p), !1), n(f[e.APPEND]), !1))) : d(p, f, c);
93
- } else Array.isArray(f) ? (i[t] = [], d(i[t], f, !1)) : a(f) ? i[t] = u(f) : i[t] = f;
94
- };
95
- try {
96
- for (var h = t(l(s)), g = h.next(); !g.done; g = h.next()) {
97
- var _ = g.value;
98
- m(_);
99
- }
100
- } catch (e) {
101
- f = { error: e };
102
- } finally {
103
- try {
104
- g && !g.done && (p = h.return) && p.call(h);
105
- } finally {
106
- if (f) throw f.error;
107
- }
108
- }
109
- return i;
110
- }
111
- e.insert = d;
112
- function f(e) {
113
- return [...arguments].slice(1).forEach(function(t) {
114
- return d(e, t, !1);
115
- }), e;
116
- }
117
- e.defaultOptions = f;
118
- function p(e) {
119
- return [...arguments].slice(1).forEach(function(t) {
120
- return d(e, t, !0);
121
- }), e;
122
- }
123
- e.userOptions = p;
124
- function m(e) {
125
- for (var n, r, i = [], a = 1; a < arguments.length; a++) i[a - 1] = arguments[a];
126
- var o = {};
127
- try {
128
- for (var s = t(i), c = s.next(); !c.done; c = s.next()) {
129
- var l = c.value;
130
- e.hasOwnProperty(l) && (o[l] = e[l]);
131
- }
132
- } catch (e) {
133
- n = { error: e };
134
- } finally {
135
- try {
136
- c && !c.done && (r = s.return) && r.call(s);
137
- } finally {
138
- if (n) throw n.error;
139
- }
140
- }
141
- return o;
142
- }
143
- e.selectOptions = m;
144
- function h(e, t) {
145
- return m.apply(void 0, r([e], n(Object.keys(t)), !1));
146
- }
147
- e.selectOptionsFromKeys = h;
148
- function g(e) {
149
- for (var n, r, i, a, o = [], s = 1; s < arguments.length; s++) o[s - 1] = arguments[s];
150
- var c = [];
151
- try {
152
- for (var l = t(o), u = l.next(); !u.done; u = l.next()) {
153
- var d = u.value, f = {}, p = {};
154
- try {
155
- for (var m = (i = void 0, t(Object.keys(e || {}))), h = m.next(); !h.done; h = m.next()) {
156
- var g = h.value;
157
- (d[g] === void 0 ? p : f)[g] = e[g];
158
- }
159
- } catch (e) {
160
- i = { error: e };
161
- } finally {
162
- try {
163
- h && !h.done && (a = m.return) && a.call(m);
164
- } finally {
165
- if (i) throw i.error;
166
- }
167
- }
168
- c.push(f), e = p;
169
- }
170
- } catch (e) {
171
- n = { error: e };
172
- } finally {
173
- try {
174
- u && !u.done && (r = l.return) && r.call(l);
175
- } finally {
176
- if (n) throw n.error;
177
- }
178
- }
179
- return c.unshift(e), c;
180
- }
181
- e.separateOptions = g;
182
- function _(e, t, n) {
183
- return n === void 0 && (n = null), t.hasOwnProperty(e) ? t[e] : n;
184
- }
185
- e.lookup = _;
186
- }));
187
- //#endregion
188
- export { t };
@@ -1,36 +0,0 @@
1
- import { t as e } from "./chunk-3e0lkp8x.js";
2
- //#region node_modules/mathjax-full/js/util/PrioritizedList.js
3
- var t = /* @__PURE__ */ e(((e) => {
4
- Object.defineProperty(e, "__esModule", { value: !0 }), e.PrioritizedList = void 0, e.PrioritizedList = function() {
5
- function e() {
6
- this.items = [], this.items = [];
7
- }
8
- return e.prototype[Symbol.iterator] = function() {
9
- var e = 0, t = this.items;
10
- return { next: function() {
11
- return {
12
- value: t[e++],
13
- done: e > t.length
14
- };
15
- } };
16
- }, e.prototype.add = function(t, n) {
17
- n === void 0 && (n = e.DEFAULTPRIORITY);
18
- var r = this.items.length;
19
- do
20
- r--;
21
- while (r >= 0 && n < this.items[r].priority);
22
- return this.items.splice(r + 1, 0, {
23
- item: t,
24
- priority: n
25
- }), t;
26
- }, e.prototype.remove = function(e) {
27
- var t = this.items.length;
28
- do
29
- t--;
30
- while (t >= 0 && this.items[t].item !== e);
31
- t >= 0 && this.items.splice(t, 1);
32
- }, e.DEFAULTPRIORITY = 5, e;
33
- }();
34
- }));
35
- //#endregion
36
- export { t };
@@ -1,36 +0,0 @@
1
- import { t as e } from "./chunk-3e0lkp8x.js";
2
- //#region node_modules/mathjax-full/js/util/PrioritizedList.js
3
- var t = /* @__PURE__ */ e(((e) => {
4
- Object.defineProperty(e, "__esModule", { value: !0 }), e.PrioritizedList = void 0, e.PrioritizedList = function() {
5
- function e() {
6
- this.items = [], this.items = [];
7
- }
8
- return e.prototype[Symbol.iterator] = function() {
9
- var e = 0, t = this.items;
10
- return { next: function() {
11
- return {
12
- value: t[e++],
13
- done: e > t.length
14
- };
15
- } };
16
- }, e.prototype.add = function(t, n) {
17
- n === void 0 && (n = e.DEFAULTPRIORITY);
18
- var r = this.items.length;
19
- do
20
- r--;
21
- while (r >= 0 && n < this.items[r].priority);
22
- return this.items.splice(r + 1, 0, {
23
- item: t,
24
- priority: n
25
- }), t;
26
- }, e.prototype.remove = function(e) {
27
- var t = this.items.length;
28
- do
29
- t--;
30
- while (t >= 0 && this.items[t].item !== e);
31
- t >= 0 && this.items.splice(t, 1);
32
- }, e.DEFAULTPRIORITY = 5, e;
33
- }();
34
- }));
35
- //#endregion
36
- export { t };