manim-web 0.3.24 → 0.11.0
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/README.md +5 -1
- package/dist/GLTFLoader-CisHz7tR.js +1381 -0
- package/dist/GLTFLoader-DMbWuMln.js +1381 -0
- package/dist/{MathJaxBundle-xSidSV0E.js → MathJaxBundle-BSrlS0Dh.js} +3338 -3320
- package/dist/OBJLoader-Clh2POv9.js +287 -0
- package/dist/OBJLoader-kkTsEhJf.js +287 -0
- package/dist/animation/Always.d.ts +72 -0
- package/dist/animation/Always.d.ts.map +1 -0
- package/dist/animation/AlwaysRedraw.d.ts +15 -0
- package/dist/animation/AlwaysRedraw.d.ts.map +1 -0
- package/dist/animation/Animation.d.ts +9 -0
- package/dist/animation/Animation.d.ts.map +1 -1
- package/dist/animation/AnimationUtilities.d.ts +25 -0
- package/dist/animation/AnimationUtilities.d.ts.map +1 -1
- package/dist/animation/creation/Create.d.ts +40 -11
- package/dist/animation/creation/Create.d.ts.map +1 -1
- package/dist/animation/transform/PointMorphStrategy.d.ts +6 -0
- package/dist/animation/transform/PointMorphStrategy.d.ts.map +1 -1
- package/dist/animation/transform/Transform.d.ts.map +1 -1
- package/dist/animation/transform/TransformPairing.d.ts +17 -0
- package/dist/animation/transform/TransformPairing.d.ts.map +1 -1
- package/dist/animation/updaters.d.ts +69 -0
- package/dist/animation/updaters.d.ts.map +1 -0
- package/dist/compiler-CfW6eH2M.js +2 -0
- package/dist/constants/index.d.ts +1 -0
- package/dist/constants/index.d.ts.map +1 -1
- package/dist/constants/parity.d.ts +78 -0
- package/dist/constants/parity.d.ts.map +1 -0
- package/dist/core/Mobject.d.ts +48 -3
- package/dist/core/Mobject.d.ts.map +1 -1
- package/dist/core/MobjectTraversal.d.ts +7 -0
- package/dist/core/MobjectTraversal.d.ts.map +1 -1
- package/dist/core/MobjectTypes.d.ts +15 -0
- package/dist/core/MobjectTypes.d.ts.map +1 -1
- package/dist/core/Scene.d.ts +14 -0
- package/dist/core/Scene.d.ts.map +1 -1
- package/dist/core/SpecialThreeDScene.d.ts +64 -0
- package/dist/core/SpecialThreeDScene.d.ts.map +1 -0
- package/dist/core/VMobject.d.ts +143 -0
- package/dist/core/VMobject.d.ts.map +1 -1
- package/dist/core/VMobjectColorGradient.d.ts +20 -0
- package/dist/core/VMobjectColorGradient.d.ts.map +1 -0
- package/dist/core/VMobjectCurveMath.d.ts +128 -0
- package/dist/core/VMobjectCurveMath.d.ts.map +1 -0
- package/dist/core/VMobjectRendering.d.ts +38 -1
- package/dist/core/VMobjectRendering.d.ts.map +1 -1
- package/dist/core/VMobjectRoundCorners.d.ts +37 -0
- package/dist/core/VMobjectRoundCorners.d.ts.map +1 -0
- package/dist/esm-CiMKSfxz.js +1273 -0
- package/dist/export/FrameExporter.d.ts +86 -0
- package/dist/export/FrameExporter.d.ts.map +1 -0
- package/dist/export/GifExporter.d.ts +4 -0
- package/dist/export/GifExporter.d.ts.map +1 -1
- package/dist/export/WebCodecsExporter.d.ts +108 -0
- package/dist/export/WebCodecsExporter.d.ts.map +1 -0
- package/dist/export/index.d.ts +2 -0
- package/dist/export/index.d.ts.map +1 -1
- package/dist/global-compiler-D_nF-JaV.js +8 -0
- package/dist/global-renderer-gyshX_QF.js +8 -0
- package/dist/index.d.ts +29 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/integrations/react.js +17 -16
- package/dist/integrations/vue.js +16 -15
- package/dist/integrations/webcomponent.d.ts +65 -0
- package/dist/integrations/webcomponent.d.ts.map +1 -0
- package/dist/integrations/webcomponent.js +2 -0
- package/dist/manim-web.browser.js +36877 -45066
- package/dist/mobjects/geometry/AngleShapes.d.ts.map +1 -1
- package/dist/mobjects/geometry/ArcPolygon.d.ts +30 -0
- package/dist/mobjects/geometry/ArcPolygon.d.ts.map +1 -1
- package/dist/mobjects/geometry/DashedLine.d.ts.map +1 -1
- package/dist/mobjects/geometry/Label.d.ts +32 -0
- package/dist/mobjects/geometry/Label.d.ts.map +1 -0
- package/dist/mobjects/geometry/index.d.ts +2 -1
- package/dist/mobjects/geometry/index.d.ts.map +1 -1
- package/dist/mobjects/graphing/Axes.d.ts +73 -6
- package/dist/mobjects/graphing/Axes.d.ts.map +1 -1
- package/dist/mobjects/graphing/CoordinateSystem.d.ts +40 -0
- package/dist/mobjects/graphing/CoordinateSystem.d.ts.map +1 -0
- package/dist/mobjects/graphing/axes-calculus.d.ts +79 -0
- package/dist/mobjects/graphing/axes-calculus.d.ts.map +1 -0
- package/dist/mobjects/graphing/index.d.ts +3 -0
- package/dist/mobjects/graphing/index.d.ts.map +1 -1
- package/dist/mobjects/graphing/scale.d.ts +72 -0
- package/dist/mobjects/graphing/scale.d.ts.map +1 -0
- package/dist/mobjects/text/MathJaxRenderer.d.ts +5 -0
- package/dist/mobjects/text/MathJaxRenderer.d.ts.map +1 -1
- package/dist/mobjects/text/MathTex.d.ts +23 -0
- package/dist/mobjects/text/MathTex.d.ts.map +1 -1
- package/dist/mobjects/text/MathTexImage.d.ts.map +1 -1
- package/dist/mobjects/text/Text.d.ts +53 -0
- package/dist/mobjects/text/Text.d.ts.map +1 -1
- package/dist/mobjects/text/Typst.d.ts +113 -0
- package/dist/mobjects/text/Typst.d.ts.map +1 -0
- package/dist/mobjects/text/TypstRenderer.d.ts +57 -0
- package/dist/mobjects/text/TypstRenderer.d.ts.map +1 -0
- package/dist/mobjects/text/index.d.ts +5 -2
- package/dist/mobjects/text/index.d.ts.map +1 -1
- package/dist/mobjects/text/katexStyles.d.ts +5 -0
- package/dist/mobjects/text/katexStyles.d.ts.map +1 -1
- package/dist/mobjects/text/registerFont.d.ts +38 -0
- package/dist/mobjects/text/registerFont.d.ts.map +1 -0
- package/dist/mobjects/text/textStyleRuns.d.ts +111 -0
- package/dist/mobjects/text/textStyleRuns.d.ts.map +1 -0
- package/dist/mobjects/three-d/ModelMobject.d.ts +122 -0
- package/dist/mobjects/three-d/ModelMobject.d.ts.map +1 -0
- package/dist/mobjects/three-d/ThreeDAxes.d.ts +37 -4
- package/dist/mobjects/three-d/ThreeDAxes.d.ts.map +1 -1
- package/dist/mobjects/three-d/threeDVmobUtils.d.ts +25 -0
- package/dist/mobjects/three-d/threeDVmobUtils.d.ts.map +1 -0
- package/dist/mobjects/video/VideoMobject.d.ts +126 -0
- package/dist/mobjects/video/VideoMobject.d.ts.map +1 -0
- package/dist/mobjects/video/index.d.ts +2 -0
- package/dist/mobjects/video/index.d.ts.map +1 -0
- package/dist/mp4-muxer-5DGKGEJk.js +900 -0
- package/dist/player/Player.d.ts +4 -0
- package/dist/player/Player.d.ts.map +1 -1
- package/dist/renderer-DR_79fB0.js +2 -0
- package/dist/{src-Cc3xTIkV.js → src-C817VR8M.js} +10693 -7971
- package/dist/three.core-1aHSpGwp.js +11626 -0
- package/dist/utils/ManimColor.d.ts +163 -0
- package/dist/utils/ManimColor.d.ts.map +1 -0
- package/dist/utils/bezier.d.ts +95 -0
- package/dist/utils/bezier.d.ts.map +1 -0
- package/dist/utils/color.d.ts +99 -0
- package/dist/utils/color.d.ts.map +1 -0
- package/dist/utils/debug.d.ts +36 -0
- package/dist/utils/debug.d.ts.map +1 -0
- package/dist/utils/iterables.d.ts +162 -0
- package/dist/utils/iterables.d.ts.map +1 -0
- package/dist/utils/paths.d.ts +38 -0
- package/dist/utils/paths.d.ts.map +1 -0
- package/dist/utils/simpleFunctions.d.ts +26 -0
- package/dist/utils/simpleFunctions.d.ts.map +1 -0
- package/dist/utils/spaceOps.d.ts +119 -0
- package/dist/utils/spaceOps.d.ts.map +1 -0
- package/dist/utils/unit.d.ts +28 -0
- package/dist/utils/unit.d.ts.map +1 -0
- package/dist/wasm-CIlzm7By.js +76 -0
- package/dist/wasm-pack-shim-B3C4KoWa.js +1688 -0
- package/dist/wasm-pack-shim-BgTFpSvJ.js +911 -0
- package/dist/webcomponent-BS5WnkDO.js +707 -0
- package/dist/webm-muxer-BGY-Mgbp.js +857 -0
- package/package.json +19 -8
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { $ as e, $a as t, $c as n, $
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { $ as e, $a as t, $c as n, $d as r, $f as i, $i as a, $l as o, $n as s, $o as c, $p as l, $r as u, $s as d, $t as f, $u as ee, A as te, Aa as ne, Ac as re, Ad as ie, Af as ae, Ai as oe, Al as se, An as ce, Ao as le, Ap as ue, Ar as de, As as fe, At as p, Au as m, B as h, Ba as g, Bc as _, Bd as v, Bf as y, Bi as b, Bl as x, Bn as S, Bo as C, Bp as w, Br as T, Bs as E, Bt as D, Bu as O, C as k, Ca as A, Cc as j, Cd as M, Cf as N, Ci as P, Cl as F, Cn as I, Co as L, Cp as R, Cr as z, Cs as B, Ct as V, Cu as pe, D as me, Da as he, Dc as ge, Dd as _e, Df as ve, Di as ye, Dl as be, Dn as xe, Do as Se, Dp as Ce, Dr as we, Ds as Te, Dt as Ee, Du as De, E as Oe, Ea as ke, Ec as Ae, Ed as je, Ef as Me, Ei as Ne, El as Pe, En as Fe, Eo as Ie, Ep as Le, Er as Re, Es as ze, Et as Be, Eu as H, F as Ve, Fa as He, Fc as Ue, Fd as We, Ff as Ge, Fi as Ke, Fl as qe, Fn as Je, Fo as Ye, Fp as Xe, Fr as Ze, Fs as Qe, Ft as $e, Fu as et, G as tt, Ga as nt, Gc as rt, Gd as it, Gf as at, Gi as ot, Gl as st, Gn as ct, Go as lt, Gp as ut, Gr as dt, Gs as ft, Gt as pt, Gu as mt, H as ht, Ha as gt, Hc as _t, Hd as vt, Hf as yt, Hi as bt, Hl as xt, Hn as St, Ho as Ct, Hp as wt, Hr as Tt, Hs as Et, Ht as Dt, Hu as Ot, I as kt, Ia as At, Ic as jt, Id as Mt, If as Nt, Ii as Pt, Il as Ft, In as It, Io as Lt, Ip as Rt, Ir as zt, Is as Bt, It as Vt, Iu as Ht, J as Ut, Ja as Wt, Jc as Gt, Jd as Kt, Jf as qt, Ji as Jt, Jl as Yt, Jn as Xt, Jo as Zt, Jp as Qt, Jr as $t, Js as en, Jt as tn, Ju as nn, K as rn, Ka as an, Kc as on, Kd as sn, Kf as cn, Ki as ln, Kl as un, Kn as dn, Ko as fn, Kp as pn, Kr as mn, Ks as hn, Kt as gn, Ku as _n, L as vn, La as yn, Lc as bn, Ld as xn, Lf as Sn, Li as Cn, Ll as wn, Ln as Tn, Lo as U, Lp as En, Lr as Dn, Ls as On, Lt as kn, Lu as An, M as jn, Ma as Mn, Mc as Nn, Md as Pn, Mf as Fn, Mi as In, Ml as Ln, Mn as Rn, Mo as zn, Mp as Bn, Mr as Vn, Ms as Hn, Mt as Un, Mu as Wn, N as Gn, Na as Kn, Nc as qn, Nd as Jn, Nf as Yn, Ni as Xn, Nl as Zn, Nn as Qn, No as $n, Np as er, Nr as tr, Ns as nr, Nt as rr, Nu as ir, O as ar, Oa as or, Oc as sr, Od as cr, Of as lr, Oi as ur, Ol as dr, On as fr, Oo as pr, Op as mr, Or as hr, Os as gr, Ot as _r, Ou as vr, P as yr, Pa as br, Pc as xr, Pd as Sr, Pf as Cr, Pi as wr, Pl as Tr, Pn as Er, Po as Dr, Pp as Or, Pr as kr, Ps as Ar, Pt as jr, Pu as Mr, Q as Nr, Qa as Pr, Qc as Fr, Qd as Ir, Qf as Lr, Qi as Rr, Ql as zr, Qn as Br, Qo as Vr, Qp as Hr, Qr as Ur, Qs as Wr, Qt as Gr, Qu as Kr, R as qr, Ra as Jr, Rc as Yr, Rd as Xr, Rf as Zr, Ri as Qr, Rl as $r, Rn as ei, Ro as ti, Rp as ni, Rr as ri, Rs as ii, Rt as ai, Ru as oi, S as si, Sa as ci, Sc as li, Sd as ui, Sf as di, Si as fi, Sl as pi, Sn as mi, So as hi, Sp as gi, Sr as _i, Ss as vi, St as yi, Su as bi, T as xi, Ta as Si, Tc as Ci, Td as wi, Tf as Ti, Ti as Ei, Tl as Di, Tn as Oi, To as ki, Tp as Ai, Tr as ji, Ts as Mi, Tt as Ni, Tu as Pi, U as Fi, Ua as Ii, Uc as Li, Ud as Ri, Uf as zi, Ui as Bi, Ul as Vi, Un as Hi, Uo as Ui, Up as Wi, Ur as Gi, Us as Ki, Ut as qi, Uu as Ji, V as Yi, Va as Xi, Vc as Zi, Vd as Qi, Vf as $i, Vi as ea, Vl as ta, Vn as na, Vo as ra, Vp as ia, Vr as aa, Vs as oa, Vt as sa, Vu as ca, W as la, Wa as ua, Wc as da, Wd as fa, Wf as pa, Wi as ma, Wl as ha, Wn as ga, Wo as _a, Wp as va, Wr as ya, Ws as ba, Wt as xa, Wu as Sa, X as Ca, Xa as wa, Xc as Ta, Xd as Ea, Xf as Da, Xi as Oa, Xl as ka, Xn as Aa, Xo as ja, Xp as Ma, Xr as Na, Xs as Pa, Xt as Fa, Xu as Ia, Y as La, Ya as Ra, Yc as za, Yd as Ba, Yf as Va, Yi as Ha, Yl as Ua, Yn as Wa, Yo as Ga, Yp as Ka, Yr as qa, Ys as Ja, Yt as Ya, Yu as Xa, Z as Za, Za as Qa, Zc as $a, Zd as eo, Zf as to, Zi as no, Zl as ro, Zn as io, Zo as ao, Zp as oo, Zr as so, Zs as co, Zt as lo, Zu as uo, _ as fo, _a as po, _c as mo, _d as ho, _f as go, _i as _o, _l as vo, _n as yo, _o as bo, _p as xo, _r as So, _s as Co, _t as wo, _u as To, a as Eo, aa as Do, ac as Oo, ad as ko, af as Ao, ai as jo, al as Mo, an as No, ao as Po, ap as Fo, ar as Io, as as Lo, at as Ro, au as zo, b as Bo, ba as Vo, bc as Ho, bd as Uo, bf as Wo, bi as Go, bl as Ko, bn as qo, bo as Jo, bp as Yo, br as Xo, bs as Zo, bt as Qo, bu as W, c as $o, ca as es, cc as ts, cd as ns, cf as rs, ci as is, cl as as, cn as os, co as ss, cp as cs, cr as ls, cs as us, ct as ds, cu as fs, d as ps, da as ms, dc as hs, dd as gs, df as _s, di as vs, dl as G, dn as ys, do as bs, dp as xs, dr as Ss, ds as Cs, dt as ws, du as Ts, ea as Es, ec as Ds, ed as Os, ef as ks, ei as As, el as js, em as Ms, en as Ns, eo as Ps, ep as Fs, er as Is, es as Ls, et as Rs, eu as zs, f as Bs, fa as Vs, fc as Hs, fd as Us, ff as Ws, fi as Gs, fl as Ks, fn as qs, fo as Js, fp as Ys, fr as Xs, fs as Zs, ft as Qs, fu as $s, g as ec, ga as tc, gc as nc, gd as rc, gf as ic, gi as ac, gl as oc, gn as sc, go as cc, gp as lc, gr as uc, gs as dc, gt as fc, gu as pc, h as mc, ha as hc, hc as gc, hd as _c, hf as vc, hi as yc, hl as bc, hn as xc, ho as Sc, hp as Cc, hr as wc, hs as Tc, ht as Ec, hu as Dc, i as Oc, ia as kc, ic as Ac, id as jc, if as Mc, ii as Nc, il as Pc, in as Fc, io as Ic, ip as Lc, ir as Rc, is as zc, it as Bc, iu as Vc, j as Hc, ja as Uc, jc as Wc, jd as Gc, jf as Kc, ji as qc, jl as Jc, jn as Yc, jo as Xc, jp as Zc, jr as Qc, js as $c, jt as el, ju as tl, k as nl, ka as rl, kc as il, kd as al, kf as ol, ki as sl, kl as cl, kn as ll, ko as ul, kp as dl, kr as fl, ks as pl, kt as ml, ku as hl, l as gl, la as _l, lc as vl, ld as yl, lf as bl, li as xl, ll as Sl, ln as Cl, lo as wl, lp as Tl, lr as El, ls as Dl, lt as Ol, lu as kl, m as Al, ma as jl, mc as Ml, md as Nl, mf as Pl, mi as Fl, ml as Il, mn as Ll, mo as Rl, mp as zl, mr as Bl, ms as Vl, mt as Hl, mu as Ul, n as Wl, na as Gl, nc as Kl, nd as ql, nf as Jl, ni as Yl, nl as Xl, nm as Zl, nn as Ql, no as $l, np as eu, nr as tu, ns as nu, nt as ru, nu as iu, o as au, oa as ou, oc as su, od as cu, of as lu, oi as uu, ol as du, on as fu, oo as pu, op as mu, or as hu, os as gu, ot as _u, ou as vu, p as yu, pa as bu, pc as xu, pd as Su, pf as Cu, pi as wu, pl as Tu, pn as Eu, po as Du, pp as Ou, pr as ku, ps as Au, pt as ju, pu as Mu, q as Nu, qa as Pu, qc as Fu, qd as Iu, qf as Lu, qi as Ru, ql as zu, qn as Bu, qo as Vu, qp as Hu, qr as Uu, qs as Wu, qt as Gu, qu as Ku, r as qu, ra as Ju, rc as Yu, rd as Xu, rf as Zu, ri as Qu, rl as $u, rn as ed, ro as td, rp as nd, rr as rd, rs as id, rt as ad, ru as od, s as sd, sa as cd, sc as ld, sd as ud, sf as dd, si as fd, sl as pd, sn as md, so as hd, sp as gd, sr as _d, ss as vd, st as yd, su as bd, t as xd, ta as Sd, tc as Cd, td as wd, tf as Td, ti as Ed, tl as Dd, tm as Od, tn as kd, to as Ad, tp as jd, tr as Md, ts as Nd, tt as Pd, tu as Fd, u as Id, ua as Ld, uc as Rd, ud as zd, uf as Bd, ui as Vd, ul as Hd, un as Ud, uo as Wd, up as Gd, ur as Kd, us as qd, ut as Jd, uu as Yd, v as Xd, va as Zd, vc as Qd, vd as $d, vf as ef, vi as tf, vl as K, vn as nf, vo as rf, vp as af, vr as of, vs as sf, vt as cf, vu as lf, w as uf, wa as df, wc as ff, wd as pf, wf as mf, wi as hf, wl as gf, wn as _f, wo as vf, wp as yf, wr as bf, ws as xf, wt as Sf, wu as Cf, x as wf, xa as Tf, xc as Ef, xd as Df, xf as Of, xi as kf, xl as Af, xn as jf, xo as Mf, xp as Nf, xr as Pf, xs as Ff, xt as If, xu as Lf, y as Rf, ya as zf, yc as Bf, yd as Vf, yf as Hf, yi as Uf, yl as Wf, yn as Gf, yo as Kf, yp as qf, yr as Jf, ys as Yf, yt as Xf, yu as Zf, z as Qf, za as $f, zc as ep, zd as tp, zf as np, zi as rp, zl as ip, zn as ap, zo as op, zp as sp, zr as cp, zs as lp, zt as up, zu as dp } from "../src-C817VR8M.js";
|
|
2
|
+
import { a as fp, i as pp, n as mp, o as hp, r as gp, s as _p, t as vp } from "../webcomponent-BS5WnkDO.js";
|
|
3
|
+
import { createContext as yp, useCallback as q, useContext as bp, useEffect as J, useRef as Y, useState as X } from "react";
|
|
4
|
+
import { jsx as Z, jsxs as xp } from "react/jsx-runtime";
|
|
4
5
|
//#region src/integrations/react.tsx
|
|
5
6
|
function Q(e, t) {
|
|
6
7
|
let [n, r] = X(null), i = Y(t);
|
|
@@ -8,7 +9,7 @@ function Q(e, t) {
|
|
|
8
9
|
i.current = t;
|
|
9
10
|
}, [t]), J(() => {
|
|
10
11
|
if (!e.current) return;
|
|
11
|
-
let t = new
|
|
12
|
+
let t = new K(e.current, i.current);
|
|
12
13
|
return r(t), () => {
|
|
13
14
|
t.dispose();
|
|
14
15
|
};
|
|
@@ -20,7 +21,7 @@ function Q(e, t) {
|
|
|
20
21
|
t?.height
|
|
21
22
|
]), n;
|
|
22
23
|
}
|
|
23
|
-
function
|
|
24
|
+
function Sp(e, t, n = []) {
|
|
24
25
|
let r = Y(null);
|
|
25
26
|
return J(() => {
|
|
26
27
|
if (!e) return;
|
|
@@ -31,7 +32,7 @@ function ru(e, t, n = []) {
|
|
|
31
32
|
};
|
|
32
33
|
}, [e, ...n]), r.current;
|
|
33
34
|
}
|
|
34
|
-
function
|
|
35
|
+
function Cp(e) {
|
|
35
36
|
let [t, n] = X(!1);
|
|
36
37
|
return {
|
|
37
38
|
play: q(async (...t) => {
|
|
@@ -57,7 +58,7 @@ function iu(e) {
|
|
|
57
58
|
isPlaying: t
|
|
58
59
|
};
|
|
59
60
|
}
|
|
60
|
-
function
|
|
61
|
+
function wp({ width: e = 800, height: t = 450, backgroundColor: n = "#1a1a2e", backgroundOpacity: r, onSceneReady: i, children: a, className: o, style: s }) {
|
|
61
62
|
let c = Y(null), l = Q(c, {
|
|
62
63
|
width: e,
|
|
63
64
|
height: t,
|
|
@@ -80,18 +81,18 @@ function au({ width: e = 800, height: t = 450, backgroundColor: n = "#1a1a2e", b
|
|
|
80
81
|
children: a
|
|
81
82
|
});
|
|
82
83
|
}
|
|
83
|
-
var $ =
|
|
84
|
-
function
|
|
85
|
-
return
|
|
84
|
+
var $ = yp(null);
|
|
85
|
+
function Tp() {
|
|
86
|
+
return bp($);
|
|
86
87
|
}
|
|
87
|
-
function
|
|
88
|
+
function Ep({ children: e, width: t = 800, height: n = 450, backgroundColor: r = "#1a1a2e", backgroundOpacity: i, className: a, style: o }) {
|
|
88
89
|
let s = Y(null), c = Q(s, {
|
|
89
90
|
width: t,
|
|
90
91
|
height: n,
|
|
91
92
|
backgroundColor: r,
|
|
92
93
|
backgroundOpacity: i
|
|
93
94
|
});
|
|
94
|
-
return /* @__PURE__ */
|
|
95
|
+
return /* @__PURE__ */ xp($.Provider, {
|
|
95
96
|
value: c,
|
|
96
97
|
children: [/* @__PURE__ */ Z("div", {
|
|
97
98
|
ref: s,
|
|
@@ -105,7 +106,7 @@ function su({ children: e, width: t = 800, height: n = 450, backgroundColor: r =
|
|
|
105
106
|
}), e]
|
|
106
107
|
});
|
|
107
108
|
}
|
|
108
|
-
function
|
|
109
|
+
function Dp(e, t, n = []) {
|
|
109
110
|
let r = Y(t);
|
|
110
111
|
J(() => {
|
|
111
112
|
r.current = t;
|
|
@@ -119,10 +120,10 @@ function cu(e, t, n = []) {
|
|
|
119
120
|
};
|
|
120
121
|
}, [e, ...n]);
|
|
121
122
|
}
|
|
122
|
-
function
|
|
123
|
+
function Op(e) {
|
|
123
124
|
return q((t) => e ? e.wait(t) : Promise.resolve(), [e]);
|
|
124
125
|
}
|
|
125
|
-
function
|
|
126
|
+
function kp(e) {
|
|
126
127
|
let [t, n] = X(!1), [r, i] = X(0);
|
|
127
128
|
return J(() => {
|
|
128
129
|
if (!e) return;
|
|
@@ -148,4 +149,4 @@ function uu(e) {
|
|
|
148
149
|
};
|
|
149
150
|
}
|
|
150
151
|
//#endregion
|
|
151
|
-
export { Wr as Add, vt as AddTextLetterByLetter, kn as AddTextWordByWord, Ge as Angle, io as AnimateProxy, Bs as AnimatedBoundary, Qe as Animation, zs as AnimationGroup, $i as AnnotationDot, Ga as AnnularSector, Js as Annulus, qt as ApplyComplexFunction, an as ApplyFunction, Dn as ApplyMatrix, Oe as ApplyMethod, Ic as ApplyPointwiseFunction, l as ApplyPointwiseFunctionToCenter, Ht as ApplyWave, no as Arc, mo as ArcBetweenPoints, E as ArcBrace, Jc as ArcPolygon, On as Arrow, mr as Arrow3D, Cn as ArrowCircleFilledTip, we as ArrowCircleTip, nt as ArrowSquareFilledTip, Mt as ArrowSquareTip, Wn as ArrowTip, Wl as ArrowTriangleFilledTip, de as ArrowTriangleTip, d as ArrowVectorField, _i as AudioManager, Za as Axes, re as BLACK, Po as BLUE, Kt as BLUE_A, rn as BLUE_B, En as BLUE_C, De as BLUE_D, at as BLUE_E, Si as BackgroundRectangle, Tr as BarChart, ul as Blink, fr as BooleanResult, it as Box3D, _l as Brace, vr as BraceBetweenPoints, ye as BraceLabel, L as BraceText, Pe as Broadcast, wt as BulletedList, _a as Camera2D, Xc as Camera2DFrame, os as Camera3D, _r as CameraAnimateProxy, ve as CameraFrame, Zc as ChangeDecimalToValue, La as ChangeSpeed, K as ChangingDecimal, gl as Circle, Un as Circumscribe, za as Clickable, il as ClockwiseTransform, wi as Code, ln as ComplexHomotopy, qr as ComplexPlane, Mc as ComplexValueTracker, Tn as Cone, Ml as Controls, St as ConvexHull, uo as ConvexHull3D, Ll as CounterclockwiseTransform, vi as Create, Pn as Cross, Pt as Cube, To as CubicBezier, is as CurvedArrow, ha as CurvedDoubleArrow, ec as Cutout, ra as CyclicReplace, Ee as Cylinder, Ft as DARKER_GRAY, qn as DARK_BLUE, ql as DARK_BROWN, f as DARK_GRAY, eo as DEFAULT_ANIMATION_DURATION, Ds as DEFAULT_ASPECT_RATIO, In as DEFAULT_COLOR_SCHEME, Pi as DEFAULT_FONT_SIZE, rl as DEFAULT_FPS, Il as DEFAULT_FRAME_HEIGHT, na as DEFAULT_FRAME_WIDTH, Tl as DEFAULT_MOBJECT_TO_EDGE_BUFFER, ir as DEFAULT_MOBJECT_TO_MOBJECT_BUFFER, C as DEFAULT_PIXEL_HEIGHT, ml as DEFAULT_PIXEL_WIDTH, hr as DEFAULT_STROKE_WIDTH, ws as DL, pc as DOWN, Co as DR, Ls as DashedLine, qi as DashedVMobject, Sa as DecimalMatrix, Hi as DecimalNumber, vn as DecimalTable, ho as DiGraph, Et as DiceFace, pe as Difference, mn as Dodecahedron, Lc as Dot, $a as Dot3D, ke as DoubleArrow, Xa as Draggable, ci as DrawBorderThenFill, Cr as Elbow, hs as Ellipse, j as Exclusion, Ye as FadeIn, p as FadeOut, ma as FadeToColor, _e as FadeTransform, F as FadeTransformPieces, ue as Flash, dn as FocusOn, gc as FullScreenFadeRectangle, Eo as FullScreenRectangle, ji as FunctionGraph, Lr as GOLD, Je as GOLD_A, Er as GOLD_B, Jr as GOLD_C, Re as GOLD_D, Tt as GOLD_E, rc as GRAY, gt as GRAY_A, hi as GRAY_B, ai as GRAY_C, Ti as GRAY_D, Ln as GRAY_E, i as GREEN, Ra as GREEN_A, Vc as GREEN_B, As as GREEN_C, yc as GREEN_D, ko as GREEN_E, Li as GenericGraph, Hc as GifExporter, se as GlyphVMobject, ro as Graph, Xs as Group, br as GrowArrow, cc as GrowFromCenter, xe as GrowFromEdge, z as GrowFromPoint, Rl as Hexagon, jn as Homotopy, ls as Hoverable, Gi as IN, Wo as Icosahedron, g as ImageMobject, us as ImplicitFunction, We as Indicate, Ms as Integer, Ha as IntegerMatrix, Jo as IntegerTable, Dt as InteractiveScene, fn as Intersection, ge as LARGE_BUFF, Fs as LEFT, Zi as LIGHTER_GRAY, Vs as LIGHT_BROWN, Ac as LIGHT_GRAY, ya as LIGHT_PINK, Sl as LabeledArrow, tr as LabeledDot, b as LabeledLine, dl as LabeledPolygram, O as LaggedStart, Vl as LaggedStartMap, Es as LargeDot, Be as Lighting, Lt as Line, N as Line3D, Jt as LinearTransformationScene, cs as MANIM_BACKGROUND, Qc as MAROON, Oa as MAROON_A, Ya as MAROON_B, Qs as MAROON_C, ys as MAROON_D, vo as MAROON_E, P as MED_LARGE_BUFF, hn as MED_SMALL_BUFF, r as MONOKAI_COLOR_SCHEME, oi as MandelbrotSet, sn as ManimBanner, su as ManimProvider, au as ManimScene, I as MappingCamera, nc as MarkdownText, Uc as MarkupText, Yr as MasterTimeline, oe as MathTable, ua as MathTex, Ro as MathTexImage, mi as MathTexPart, $o as MathTexSVG, Gs as Matrix, Fr as Mobject, Rn as Mobject1D, Ei as Mobject2D, Kl as Mobject3D, fs as MobjectMatrix, Lo as MobjectTable, Hr as MoveAlongPath, cr as MoveToTarget, jr as MoveToTargetPosition, _n as MovingCamera, Yn as MovingCameraScene, qo as MultiCamera, gi as NewtonFractal, Da as NullRenderer, el as NumberLine, co as NumberPlane, oo as ORANGE, wc as ORIGIN, pa as OUT, ne as Octahedron, Xr as OrbitControls, Rc as PGroup, Bi as PINK, Vr as PMobject, ll as PURE_BLUE, Hl as PURE_GREEN, ca as PURE_RED, jl as PURPLE, ur as PURPLE_A, k as PURPLE_B, bl as PURPLE_C, xr as PURPLE_D, Se as PURPLE_E, xa as Paragraph, Us as ParametricFunction, rr as ParametricSurface, ia as Pentagon, Me as PhaseFlow, $c as PlaybackControls, Vi as Player, js as PlayerController, bc as PlayerUI, a as PointCloudDot, Fa as PointMobject, Le as PolarPlane, Dl as Polygon, al as Polygram, No as Polyhedron, Ni as Prism, Vo as Pulse, B as RED, xn as RED_A, Zo as RED_B, le as RED_C, Bo as RED_D, Qt as RED_E, ns as RIGHT, zr as Rectangle, or as RegularPolygon, pt as RegularPolygram, xt as Remove, Oi as RemoveTextLetterByLetter, qa as Renderer, D as ReplacementTransform, rs as Restore, Gr as RightAngle, ki as Rotate, $s as Rotating, fi as RoundedRectangle, Go as SMALL_BUFF, aa as SVGMobject, _t as SampleSpace, bt as Scale, qc as ScaleInPlace, U as Scene, $ as SceneContext, si as SceneStateManager, Ji as ScreenRectangle, Ta as Sector, ac as SelectionManager, $r as Shift, er as ShowCreationThenDestruction, Ae as ShowIncreasingSubsets, ct as ShowPartial, Sn as ShowPassingFlash, V as ShowPassingFlashWithThinningStrokeWidth, Rt as ShowSubmobjectsOneByOne, wa as ShrinkToCenter, ii as SingleStringMathTex, hc as SmallDot, ut as SmoothedVectorizedHomotopy, Kn as Sphere, bn as SpinInFromNothing, Xn as SpiralIn, ae as SplitScreenCamera, Xe as Square, ni as Star, Pr as StealthTip, Ir as StreamLines, Al as Succession, pl as Surface3D, S as SurfacePresets, t as SurroundingRectangle, El as Swap, un as TEAL, Mn as TEAL_A, Ne as TEAL_B, dt as TEAL_C, Vt as TEAL_D, $n as TEAL_E, Fc as THREE, Yt as Table, Fe as TangentLine, Ec as TangentialArc, Gt as Tetrahedron, xc as Tex, Ks as TexFontTemplates, ps as TexTemplate, fo as TexTemplateLibrary, yn as Text, Yo as TextGlyphGroup, ta as TexturedSurface, Fl as ThreeDAxes, Io as ThreeDCamera, Or as ThreeDScene, nl as ThreeDVMobject, Yi as Timeline, Ii as TipableVMobject, ht as Title, nn as Torus, kc as TracedPath, vl as Transform, Wa as TransformAnimations, gn as TransformFromCopy, Tc as TransformMatchingAbstractBase, mc as TransformMatchingShapes, wo as TransformMatchingTex, T as Triangle, Zr as TypeWithCursor, Kc as UL, Ca as UP, Ua as UR, Bn as Uncreate, Pa as Underline, Ho as Union, Nl as UnitInterval, Ve as UntypeWithCursor, s as Unwrite, _o as UpdateFromAlphaFunc, zi as UpdateFromFunc, _s as VDict, Gl as VGroup, fe as VMobject, Ol as VMobjectFromSVGPath, xs as ValueTracker, ka as Variable, st as Vector, he as Vector3D, qe as VectorField, Ba as VectorFieldVector, on as VectorScene, go as VectorizedPoint, la as VideoExporter, $l as WHITE, ft as Wait, tt as Wiggle, Qi as WiggleOutThenIn, ja as Write, v as YELLOW, Ur as YELLOW_A, et as YELLOW_B, Mr as YELLOW_C, ei as YELLOW_D, Ue as YELLOW_E, Yl as ZoomDisplayPopOut, m as ZoomedScene, di as add, Pc as addTextLetterByLetter, Xl as addTextWordByWord, Kr as addVec, va as animatedBoundary, Oc as animationGroup, ot as applyComplexFunction, It as applyFunction, Jn as applyMatrix, Jl as applyMethod, Ts as applyPointwiseFunction, Na as applyPointwiseFunctionToCenter, $t as applyWave, Zn as areKatexStylesLoaded, ga as binaryTree, as as bipartiteGraph, dr as blink, ti as broadcast, Ja as changeDecimalToValue, Bc as changeSpeed, Zs as changingDecimal, Ul as circumscribe, Ri as clearAnimationOverrides, ar as clockwiseTransform, Yc as completeGraph, Bt as complexHomotopy, uc as complexValueTracker, Ar as compose, ol as computeCircularLayout, zl as computeLayout, w as counterclockwiseTransform, Cs as create, ic as createDiceRow, Rs as createFadeToBlack, Dc as createFadeToWhite, ba as createGifExporter, Qo as createVideoExporter, Ie as crossVec, Ea as cycleGraph, hl as cyclicReplace, Di as deserializeMobject, ee as difference, Ct as dotVec, Qr as doubleSmooth, fc as drawBorderThenFill, H as easeIn, H as easeInCubic, kt as easeInBack, sc as easeInBounce, yt as easeInCirc, yi as easeInElastic, li as easeInExpo, W as easeInOut, W as easeInOutCubic, Vn as easeInOutBack, c as easeInOutBounce, Aa as easeInOutCirc, Nc as easeInOutElastic, Ss as easeInOutExpo, dc as easeInOutQuad, xo as easeInOutQuart, Ui as easeInOutQuint, Ns as easeInOutSine, Sc as easeInQuad, da as easeInQuart, es as easeInQuint, Wc as easeInSine, G as easeOut, G as easeOutCubic, Va as easeOutBack, Ws as easeOutBounce, ds as easeOutCirc, lo as easeOutElastic, Qa as easeOutExpo, Mi as easeOutQuad, tl as easeOutQuart, Pl as easeOutQuint, ea as easeOutSine, ks as emphasizeRegion, Zl as ensureKatexStyles, jo as exclusion, Cl as exponentialDecay, Dr as fadeIn, Rr as fadeOut, qs as fadeToColor, Ko as fadeTransform, ie as fadeTransformPieces, Nr as flash, u as focusOn, sl as getAnimationOverride, fa as getDetText, jc as getFeatureFlags, Ka as gridGraph, Xo as growArrow, bi as growFromCenter, ce as growFromEdge, zo as growFromPoint, Bl as hasAnimationOverride, Qn as homotopy, Sr as indicate, Ut as intersection, bs as isFeatureEnabled, Xt as isMathJaxLoaded, cn as katexCanRender, yl as laggedStart, sa as laggedStartMap, tc as lengthVec, nr as linear, vc as linearSpeedRamp, x as lingering, mt as linspace, Ke as logger, vs as maintainPositionRelativeTo, Hs as makeClickable, Ai as makeDraggable, so as makeHoverable, ze as masterTimeline, ts as matrixToMobject, Gc as matrixToTexString, $e as moveAlongPath, yr as moveToTarget, He as moveToTargetPosition, pi as normalizeVec, fl as notQuiteThere, wr as onLog, ri as orientation2D, Ci as orthonormalFrame, oa as overrideAnimation, lt as parseSVGPathData, Ys as pathGraph, Ql as phaseFlow, An as preloadMathJax, kl as prepareAnimation, Ao as pulse, xi as remove, So as removeTextLetterByLetter, je as renderLatexToSVG, be as replacementTransform, lc as resetFeatureFlags, ms as restore, zn as restoreMobjectState, pr as reverse, Hn as rotate, Nn as rotating, me as runningStart, M as rushFrom, pn as rushInto, Oo as rushRegion, o as saveMobjectState, ui as scale, po as scaleInPlace, Fn as scaleVec, Ia as serializeMobject, yo as setFeatureFlags, At as shift, y as showCreationThenDestruction, h as showIncreasingSubsets, Br as showPartial, Ce as showPassingFlash, A as showPassingFlashWithThinningStrokeWidth, Ze as showSubmobjectsOneByOne, to as shrinkToCenter, Uo as slowInto, te as smooth, Xi as smoothSpeedCurve, _ as smoothedVectorizedHomotopy, Mo as smoothererstep, Wt as smootherstep, tn as smoothstep, zc as snapshotFromJSON, Os as snapshotToJSON, Zt as spinInFromNothing, kr as spiralIn, wn as squishRateFunc, gs as starGraph, _c as stateFromJSON, Do as stateToJSON, Te as stepFunction, n as subVec, lr as succession, sr as svgMobject, zt as svgToVMobjects, gr as swap, wl as texturedSphere, rt as thereAndBack, Nt as thereAndBackWithPause, ss as tracedPath, R as transform, Fi as transformAnimations, Fo as transformFromCopy, Ki as transformMatchingShapes, Is as transformMatchingTex, Ot as typeWithCursor, Wi as uncreate, en as union, Ma as unitPerpendicularTo, oc as untypeWithCursor, Ps as unwrite, ao as updateFromAlphaFunc, cl as updateFromFunc, iu as useAnimation, ru as useMobject, uu as usePlaybackControls, Q as useScene, ou as useSceneContext, cu as useUpdater, lu as useWait, bo as valueTracker, e as wait, jt as wiggle, xl as wiggleOutThenIn, Gn as wiggleRate, Cc as write };
|
|
152
|
+
export { ct as Add, Ic as AddTextLetterByLetter, ua as AddTextWordByWord, Rd as Angle, ta as AnimateProxy, _d as AnimatedBoundary, To as Animation, se as AnimationGroup, Et as AnnotationDot, jt as AnnularSector, bn as Annulus, ea as ApplyComplexFunction, bt as ApplyFunction, Bi as ApplyMatrix, ma as ApplyMethod, Vd as ApplyPointwiseFunction, is as ApplyPointwiseFunctionToCenter, Qn as ApplyWave, _ as Arc, ep as ArcBetweenPoints, Kn as ArcBrace, qn as ArcPolygon, xr as ArcPolygonFromArcs, Pc as Arrow, ti as Arrow3D, Kl as ArrowCircleFilledTip, Yu as ArrowCircleTip, Ac as ArrowSquareFilledTip, Oo as ArrowSquareTip, su as ArrowTip, ld as ArrowTriangleFilledTip, ts as ArrowTriangleTip, c as ArrowVectorField, Wf as AudioManager, ii as Axes, $i as BLACK, yt as BLUE, zi as BLUE_A, pa as BLUE_B, at as BLUE_C, cn as BLUE_D, Lu as BLUE_E, rs as BOLD, bl as BOOK, Ho as BackgroundRectangle, nu as BarChart, Oi as Blink, Wu as BooleanResult, Ga as Box3D, br as Brace, He as BraceBetweenPoints, At as BraceLabel, yn as BraceText, dn as Broadcast, Lo as BulletedList, Ln as Camera2D, Tr as Camera2DFrame, Zn as Camera3D, za as CameraAnimateProxy, Ta as CameraFrame, Bd as CapStyleType, Ss as ChangeDecimalToValue, Md as ChangeSpeed, Xs as ChangingDecimal, Gt as Circle, ap as Circumscribe, xc as Clickable, ye as ClockwiseTransform, qd as Code, Tt as ComplexHomotopy, id as ComplexPlane, Vl as ComplexValueTracker, Vu as Cone, fp as Controls, Ml as ConvexHull, pr as ConvexHull3D, ur as CounterclockwiseTransform, Po as Create, Ef as Cross, ja as Cube, ge as CubicBezier, Nn as CurvedArrow, Wc as CurvedDoubleArrow, x as CurvesAsSubmobjects, gc as Cutout, sl as CyclicReplace, Zt as Cylinder, qt as DARKER_GRAY, Va as DARK_BLUE, Da as DARK_BROWN, to as DARK_GRAY, Kt as DEFAULT_ANIMATION_DURATION, _s as DEFAULT_ARROW_TIP_LENGTH, ms as DEFAULT_ASPECT_RATIO, Cs as DEFAULT_COLOR_SCHEME, Ws as DEFAULT_DASH_LENGTH, Cu as DEFAULT_DOT_RADIUS, Ba as DEFAULT_FONT_SIZE, Ea as DEFAULT_FPS, eo as DEFAULT_FRAME_HEIGHT, Ir as DEFAULT_FRAME_WIDTH, r as DEFAULT_MOBJECT_TO_EDGE_BUFFER, ks as DEFAULT_MOBJECT_TO_MOBJECT_BUFFER, Td as DEFAULT_PIXEL_HEIGHT, Jl as DEFAULT_PIXEL_WIDTH, Pl as DEFAULT_POINTWISE_FUNCTION_RUN_TIME, vc as DEFAULT_POINT_DENSITY_1D, ic as DEFAULT_POINT_DENSITY_2D, go as DEFAULT_SMALL_DOT_RADIUS, Zu as DEFAULT_STROKE_WIDTH, ef as DEFAULT_WAIT_TIME, Hf as DEGREES, Sr as DL, We as DOWN, Mt as DR, il as DashedLine, sr as DashedVMobject, Mf as DecimalMatrix, sf as DecimalNumber, Jr as DecimalTable, Qs as Degrees, Si as DiGraph, Sd as DiceFace, en as Difference, ra as Dodecahedron, ff as Dot, ul as Dot3D, Mo as DoubleArrow, Gf as Draggable, pu as DrawBorderThenFill, hs as Elbow, Yr as Ellipse, Ja as Exclusion, no as FadeIn, Ha as FadeOut, _o as FadeToColor, Ke as FadeTransform, Pt as FadeTransformPieces, na as Flash, ll as FocusOn, Vs as FullScreenFadeRectangle, bu as FullScreenRectangle, lp as FunctionGraph, Lr as GOLD, i as GOLD_A, Fs as GOLD_B, jd as GOLD_C, eu as GOLD_D, nd as GOLD_E, Lc as GRAY, Fo as GRAY_A, mu as GRAY_B, gd as GRAY_C, cs as GRAY_D, Tl as GRAY_E, Gd as GREEN, xs as GREEN_A, Ys as GREEN_B, Ou as GREEN_C, zl as GREEN_D, Cc as GREEN_E, he as GenericGraph, Eu as GifExporter, od as GlyphVMobject, ke as Graph, wn as Group, kr as GrowArrow, Yl as GrowFromCenter, Ze as GrowFromEdge, zt as GrowFromPoint, Wo as HEAVY, Un as HSV, Li as Hexagon, Gi as Homotopy, yo as Hoverable, xn as IN, Of as ITALIC, Ct as Icosahedron, Dc as ImageMobject, nr as ImplicitFunction, Hi as Indicate, Yf as Integer, hi as IntegerMatrix, $f as IntegerTable, oc as InteractiveScene, Pa as Intersection, Mc as LARGE_BUFF, Xr as LEFT, di as LIGHT, lc as LIGHTER_GRAY, xo as LIGHT_BROWN, af as LIGHT_GRAY, qf as LIGHT_PINK, Bf as Label, Ki as LabeledArrow, ba as LabeledDot, ft as LabeledLine, hn as LabeledPolygram, Vn as LaggedStart, hr as LaggedStartMap, Ci as LargeDot, bc as Lighting, pd as Line, C as Line3D, N as LineJointType, Qe as LinearBase, Xl as LinearTransformationScene, Bt as LogBase, Yo as MANIM_BACKGROUND, Nf as MAROON, gi as MAROON_A, R as MAROON_B, yf as MAROON_C, Ai as MAROON_D, Le as MAROON_E, mf as MEDIUM, Ao as MED_LARGE_BUFF, lu as MED_SMALL_BUFF, Zs as MONOKAI_COLOR_SCHEME, Do as MandelbrotSet, Ii as ManimBanner, rr as ManimColor, Ep as ManimProvider, wp as ManimScene, vp as ManimSceneElement, $a as MappingCamera, gu as MarkdownText, pl as MarkupText, a as MasterTimeline, g as MathTable, Te as MathTex, Vc as MathTexImage, us as MathTexPart, gr as MathTexSVG, Zo as MathTypst, L as Matrix, Df as Mobject, cd as Mobject1D, ou as Mobject2D, Vr as Mobject3D, vf as MobjectMatrix, Xi as MobjectTable, ki as ModelMobject, Na as MoveAlongPath, Yt as MoveToTarget, Ur as MoveToTargetPosition, Fr as MovingCamera, as as MovingCameraScene, n as MultiCamera, ju as Munits, Ti as NORMAL, kc as NewtonFractal, qe as NullRenderer, E as NumberLine, Ar as NumberPlane, Me as OBLIQUE, Ce as ORANGE, tp as ORIGIN, v as OUT, Ui as Octahedron, Il as OrbitControls, Ld as PGroup, ve as PI, mr as PINK, pc as PMobject, dl as PURE_BLUE, ue as PURE_GREEN, Zc as PURE_RED, Bn as PURPLE, er as PURPLE_A, Or as PURPLE_B, Xe as PURPLE_C, Rt as PURPLE_D, En as PURPLE_E, fe as Paragraph, Hn as ParametricFunction, Ye as ParametricSurface, da as Pentagon, Hl as Percent, ya as PhaseFlow, Ec as Pixels, pp as PlaybackControls, Ql as Player, ed as PlayerController, Fc as PlayerUI, es as PointCloudDot, _l as PointMobject, zc as PolarPlane, rt as Polygon, _t as Polygram, _a as Polyhedron, le as Prism, ce as Pulse, ni as RED, sp as RED_A, w as RED_B, ia as RED_C, wt as RED_D, Wi as RED_E, jr as RGBA, Qi as RIGHT, $e as RandomColorGenerator, G as Rectangle, on as RegularPolygon, nc as RegularPolygram, Bu as Remove, hd as RemoveTextLetterByLetter, Ft as Renderer, Ua as ReplacementTransform, tf as Restore, Hs as RightAngle, uu as Rotate, Xt as Rotating, mo as RoundedRectangle, lr as SCALE_FACTOR_PER_FONT_POINT, ol as SEMIBOLD, ae as SEMILIGHT, dd as SMALL_BUFF, Kc as START_X, Fn as START_Y, ne as SVGMobject, Ju as SampleSpace, Qu as Scale, On as ScaleBase, Uf as ScaleInPlace, K as Scene, $ as SceneContext, Ko as SceneStateManager, jl as ScreenRectangle, Ue as Sector, vo as SelectionManager, u as Shift, I as ShowCreationThenDestruction, nt as ShowIncreasingSubsets, an as ShowPartial, Je as ShowPassingFlash, xe as ShowPassingFlashWithThinningStrokeWidth, Pu as ShowSubmobjectsOneByOne, Go as ShrinkToCenter, Dl as SingleStringMathTex, Ae as SmallDot, dt as SmoothedVectorizedHomotopy, Wl as SpecialThreeDScene, ao as Sphere, Dn as SpinInFromNothing, Wt as SpiralIn, js as SplitScreenCamera, Ks as Square, Qd as Star, vl as StealthTip, Ls as StreamLines, de as Succession, U as Surface, U as Surface3D, Lt as SurfacePresets, li as SurroundingRectangle, oe as Swap, Yn as TAU, va as TEAL, ut as TEAL_A, pn as TEAL_B, Hu as TEAL_C, Qt as TEAL_D, Ka as TEAL_E, Cr as THIN, Jn as THREE, gt as Table, xu as TangentLine, re as TangentialArc, lt as Tetrahedron, ze as Tex, it as TexFontTemplates, sn as TexTemplate, Iu as TexTemplateLibrary, zs as Text, iu as TextGlyphGroup, $n as TexturedSurface, zn as ThreeDAxes, Dd as ThreeDCamera, Tu as ThreeDScene, Xc as ThreeDVMobject, cl as Timeline, Zi as TipableVMobject, vd as Title, fn as Torus, ls as TracedPath, ka as Transform, kf as TransformAnimations, Cn as TransformFromCopy, ac as TransformMatchingAbstractBase, Gs as TransformMatchingShapes, wu as TransformMatchingTex, Fu as Triangle, Ps as TypeWithCursor, Ff as Typst, vt as UL, Ge as ULTRABOLD, Nt as ULTRAHEAVY, Sn as ULTRALIGHT, Ri as UP, fa as UR, ss as Uncreate, j as Underline, co as Union, oa as UnitInterval, Ad as UntypeWithCursor, wl as Unwrite, bf as UpdateFromAlphaFunc, Re as UpdateFromFunc, $r as VDict, Nl as VGroup, _c as VMobject, Uc as VMobjectFromSVGPath, Tc as ValueTracker, Au as Variable, du as Vector, op as Vector3D, Nd as VectorField, $c as VectorFieldVector, $u as VectorScene, ip as VectorizedPoint, ys as VideoExporter, po as VideoMobject, Ma as WHITE, Wa as Wait, No as WebCodecsExporter, Tn as Wiggle, jf as WiggleOutThenIn, Wd as Write, Zr as X_AXIS, oo as YELLOW, Hr as YELLOW_A, l as YELLOW_B, Ms as YELLOW_C, Od as YELLOW_D, Zl as YELLOW_E, np as Y_AXIS, y as Z_AXIS, Sl as ZoomDisplayPopOut, Hd as ZoomedScene, Aa as add, bs as addTextLetterByLetter, Ra as addTextWordByWord, ui as addVec, fc as adjacentNTuples, wo as adjacentPairs, cf as allElementsAreInstances, Jf as always, _i as alwaysRedraw, wc as alwaysRotate, uc as alwaysShift, Hc as angleAxisFromQuaternion, jn as angleBetweenVectors, Gn as angleOfVector, El as animatedBoundary, Jc as animationGroup, ot as applyComplexFunction, ln as applyFunction, Ru as applyMatrix, Jt as applyMethod, vs as applyPointwiseFunction, xl as applyPointwiseFunctionToCenter, Er as applyWave, $s as areKatexStylesLoaded, Xo as assertIsMobjectMethod, kn as averageColor, ps as bezier, Bs as bezierRemap, si as binarySearch, Zd as binaryTree, zf as bipartiteGraph, Fe as blink, io as broadcast, Fd as buildStyledTextLines, yr as cartesianToSpherical, Ve as centerOfMass, ku as changeDecimalToValue, tu as changeSpeed, Bl as changingDecimal, k as choose, S as circumscribe, xt as clearAnimationOverrides, uf as clip, Oe as clockwisePath, qc as clockwiseTransform, rc as colorGradient, ai as colorToIntRgb, up as colorToIntRgba, D as colorToRgb, sa as colorToRgba, kt as compassDirections, Vo as completeGraph, vn as complexFuncToR3Func, mn as complexHomotopy, qr as complexToR3, dc as complexValueTracker, lf as compose, or as computeCircularLayout, rl as computeLayout, Xf as concatenateLists, me as counterclockwisePath, In as counterclockwiseTransform, Js as create, Gl as createDiceRow, hc as createFadeToBlack, tc as createFadeToWhite, Ll as createGifExporter, qs as createVideoExporter, fu as createWebCodecsExporter, M as cross, M as crossVec, Qf as cross2d, So as cycleAnimation, Tf as cycleGraph, Xn as cyclicReplace, Af as deserializeMobject, Ie as detectModelFormat, Wr as difference, pf as dotVec, Zf as doubleSmooth, md as downloadBlob, Du as drawBorderThenFill, Uo as earclipTriangulation, W as easeIn, W as easeInCubic, Lf as easeInBack, bi as easeInBounce, pe as easeInCirc, Cf as easeInElastic, Pi as easeInExpo, H as easeInOut, H as easeInOutCubic, De as easeInOutBack, vr as easeInOutBounce, hl as easeInOutCirc, m as easeInOutElastic, tl as easeInOutExpo, Wn as easeInOutQuad, ir as easeInOutQuart, Mr as easeInOutQuint, et as easeInOutSine, Ht as easeInQuad, An as easeInQuart, oi as easeInQuint, dp as easeInSine, O as easeOut, O as easeOutCubic, ca as easeOutBack, Ot as easeOutBounce, Ji as easeOutCirc, Sa as easeOutElastic, mt as easeOutExpo, _n as easeOutQuad, Ku as easeOutQuart, nn as easeOutQuint, Xa as easeOutSine, rd as emphasizeRegion, Mu as ensureKatexStyles, d as exclusion, Ia as exponentialDecay, os as exportAndDownloadPNG, Cl as exportFramePNG, Ud as exportPNGSequence, ds as extractMobjectFamilyMembers, Pf as fAlways, Rr as fadeIn, Oa as fadeOut, fi as fadeToColor, Qr as fadeTransform, rp as fadeTransformPieces, h as findIntersection, St as flash, Yc as focusOn, qu as get3dVmobEndCorner, Oc as get3dVmobEndCornerIndex, Eo as get3dVmobEndCornerUnitNormal, au as get3dVmobGradientStartAndEndPoints, sd as get3dVmobStartCorner, $o as get3dVmobStartCornerIndex, gl as get3dVmobStartCornerUnitNormal, Id as get3dVmobUnitNormal, Vi as getAnimationOverride, rf as getDetText, Gr as getFeatureFlags, Vt as getShadedRgb, Vf as getSmoothCubicBezierHandlePoints, Yi as getUnitNormal, ht as getWindingNumber, ci as gridGraph, ri as growArrow, Nc as growFromCenter, cp as growFromEdge, T as growFromPoint, ha as hasAnimationOverride, Qo as hashObj, Dt as hexToRgb, Uu as homotopy, qi as hsvToRgb, Ol as indexLabels, ga as indicate, ho as integerInterpolate, yu as interpolate, xa as interpolateColor, Ds as intersection, Al as inverseInterpolate, pt as invertColor, mc as isClosed, f as isFeatureEnabled, zo as isMathJaxLoaded, vi as isTypstLoaded, vu as katexCanRender, tr as laggedStart, fl as laggedStartMap, wi as lengthVec, Fi as lineIntersection, uo as linear, Rc as linearSpeedRamp, Kr as lingering, je as linspace, If as listDifferenceUpdate, yi as listUpdate, V as listify, hp as logger, z as maintainPositionRelativeTo, sc as makeClickable, qo as makeDraggable, Sf as makeEven, Ni as makeEvenByCycling, nf as makeHoverable, mp as manimElementInternals, Es as masterTimeline, ec as matchInterpolate, Kf as matrixToMobject, Jo as matrixToTexString, fo as mid, la as midpoint, so as moveAlongPath, ro as moveToTarget, As as moveToTargetPosition, tt as normSquared, rn as normalize, _e as normalizeVec, ee as notQuiteThere, _p as onLog, cr as orientation2D, al as orthonormalFrame, st as overrideAnimate, un as overrideAnimation, Yd as parseSVGPathData, $d as partialBezierPoints, ar as pathAlongArc, nl as pathAlongCircles, A as pathGraph, Nu as perpendicularBisector, $t as phaseFlow, Xd as pointLiesOnBezier, Be as powerset, bd as preloadMathJax, B as preloadTypst, zu as prepareAnimation, Jd as printFamily, Rf as proportionsAlongBezierCurveForPoint, Rn as pulse, Ut as quaternionConjugate, La as quaternionFromAngleAxis, Ca as quaternionMult, Za as r3ToComplex, gn as randomBrightColor, Gu as randomColor, xd as registerFont, gp as registerManimElement, Nr as regularVertices, Br as remove, Ee as removeListRedundancies, _r as removeNones, Rl as removeTextLetterByLetter, fs as renderLatexToSVG, xf as renderTypstToSVG, zr as replacementTransform, Ns as resetFeatureFlags, P as restore, pi as restoreMobjectState, ws as restructureListToExcludeCertainFamilyMembers, Os as reverse, tn as rgbToColor, Ya as rgbToHex, Fa as rgbToHsv, lo as rgbaToColor, fd as rotate, e as rotateVector, s as rotating, Rs as rotationAboutZ, Pd as rotationMatrix, ru as rotationMatrixTranspose, wd as runningStart, ql as rushFrom, Xu as rushInto, Io as rushRegion, F as saveMobjectState, jo as scale, hf as scaleInPlace, ie as scaleVec, gf as serializeMobject, kd as setFeatureFlags, Ul as setKatexStylesheetUrl, kl as setMathJaxScriptUrl, Se as setModelLoaderFactory, Mi as setTypstCompiler, Ed as shift, ad as shoelace, Bc as shoelaceDirection, _f as showCreationThenDestruction, wa as showIncreasingSubsets, Qa as showPartial, It as showPassingFlash, fr as showPassingFlashWithThinningStrokeWidth, Pr as showSubmobjectsOneByOne, Ei as shrinkToCenter, xi as sigmoid, jc as slowInto, ko as smooth, hu as smoothSpeedCurve, qa as smoothedVectorizedHomotopy, cu as smoothererstep, ud as smootherstep, ns as smoothstep, Di as snapshotFromJSON, Pe as snapshotToJSON, Ro as sphericalToCartesian, aa as spinInFromNothing, t as spiralIn, Bo as splitBezier, yl as squishRateFunc, df as starGraph, be as stateFromJSON, dr as stateToJSON, zd as stepFunction, te as straightPath, ml as stretchArrayToLength, Gc as subVec, wf as subdivideBezier, Qc as succession, Mn as svgMobject, Ts as svgToVMobjects, wr as swap, Dr as texturedSphere, gs as thereAndBack, Us as thereAndBackWithPause, _u as thickDiagonal, Kd as tracedPath, o as transform, Ne as transformAnimations, b as transformFromCopy, Fl as transformMatchingShapes, yc as transformMatchingTex, p as tuplify, of as turnAnimationIntoUpdater, $l as typeWithCursor, Sc as uncreate, Cd as union, el as uniqChain, Pn as unitPerpendicularTo, td as untypeWithCursor, cc as unwrite, ji as updateFromAlphaFunc, we as updateFromFunc, Cp as useAnimation, Sp as useMobject, kp as usePlaybackControls, Q as useScene, Tp as useSceneContext, Dp as useUpdater, Op as useWait, Co as valueTracker, Is as wait, ei as wiggle, mi as wiggleOutThenIn, Su as wiggleRate, bo as write, yd as zToVector };
|
package/dist/integrations/vue.js
CHANGED
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
import { $ as e, $a as t, $c as n, $
|
|
2
|
-
import {
|
|
1
|
+
import { $ as e, $a as t, $c as n, $d as r, $f as i, $i as a, $l as o, $n as s, $o as ee, $p as te, $r as ne, $s as re, $t as ie, $u as ae, A as oe, Aa as se, Ac as ce, Ad as le, Af as ue, Ai as de, Al as c, An as l, Ao as u, Ap as d, Ar as f, As as p, At as m, Au as h, B as g, Ba as _, Bc as v, Bd as y, Bf as b, Bi as x, Bl as S, Bn as C, Bo as w, Bp as T, Br as E, Bs as D, Bt as O, Bu as k, C as A, Ca as j, Cc as M, Cd as N, Cf as P, Ci as F, Cl as I, Cn as L, Co as R, Cp as z, Cr as B, Cs as V, Ct as H, Cu as fe, D as pe, Da as me, Dc as he, Dd as ge, Df as _e, Di as ve, Dl as ye, Dn as be, Do as xe, Dp as Se, Dr as Ce, Ds as we, Dt as Te, Du as Ee, E as De, Ea as Oe, Ec as ke, Ed as Ae, Ef as je, Ei as Me, El as Ne, En as Pe, Eo as Fe, Ep as Ie, Er as Le, Es as Re, Et as ze, Eu as U, F as Be, Fa as Ve, Fc as He, Fd as Ue, Ff as We, Fi as Ge, Fl as Ke, Fn as qe, Fo as Je, Fp as Ye, Fr as Xe, Fs as Ze, Ft as Qe, Fu as $e, G as et, Ga as tt, Gc as nt, Gd as rt, Gf as it, Gi as at, Gl as ot, Gn as st, Go as ct, Gp as lt, Gr as ut, Gs as dt, Gt as ft, Gu as pt, H as mt, Ha as ht, Hc as gt, Hd as _t, Hf as vt, Hi as yt, Hl as bt, Hn as xt, Ho as St, Hp as Ct, Hr as wt, Hs as Tt, Ht as Et, Hu as Dt, I as Ot, Ia as kt, Ic as At, Id as jt, If as Mt, Ii as Nt, Il as Pt, In as Ft, Io as It, Ip as Lt, Ir as Rt, Is as zt, It as Bt, Iu as Vt, J as Ht, Ja as Ut, Jc as Wt, Jd as Gt, Jf as Kt, Ji as qt, Jl as Jt, Jn as Yt, Jo as Xt, Jp as Zt, Jr as Qt, Js as $t, Jt as en, Ju as tn, K as nn, Ka as rn, Kc as an, Kd as on, Kf as sn, Ki as cn, Kl as ln, Kn as un, Ko as dn, Kp as fn, Kr as pn, Ks as mn, Kt as hn, Ku as gn, L as _n, La as vn, Lc as yn, Ld as bn, Lf as xn, Li as Sn, Ll as Cn, Ln as wn, Lo as W, Lp as Tn, Lr as En, Ls as Dn, Lt as On, Lu as kn, M as An, Ma as jn, Mc as Mn, Md as Nn, Mf as Pn, Mi as Fn, Ml as In, Mn as Ln, Mo as Rn, Mp as zn, Mr as Bn, Ms as Vn, Mt as Hn, Mu as Un, N as Wn, Na as Gn, Nc as Kn, Nd as qn, Nf as Jn, Ni as Yn, Nl as Xn, Nn as Zn, No as Qn, Np as $n, Nr as er, Ns as tr, Nt as nr, Nu as rr, O as ir, Oa as ar, Oc as or, Od as sr, Of as cr, Oi as lr, Ol as ur, On as dr, Oo as fr, Op as pr, Or as mr, Os as hr, Ot as gr, Ou as _r, P as vr, Pa as yr, Pc as br, Pd as xr, Pf as Sr, Pi as Cr, Pl as wr, Pn as Tr, Po as Er, Pp as Dr, Pr as Or, Ps as kr, Pt as Ar, Pu as jr, Q as Mr, Qa as Nr, Qc as Pr, Qd as Fr, Qf as Ir, Qi as Lr, Ql as Rr, Qn as zr, Qo as Br, Qp as Vr, Qr as Hr, Qs as Ur, Qt as Wr, Qu as Gr, R as Kr, Ra as qr, Rc as Jr, Rd as Yr, Rf as Xr, Ri as Zr, Rl as Qr, Rn as $r, Ro as ei, Rp as ti, Rr as ni, Rs as ri, Rt as ii, Ru as ai, S as oi, Sa as si, Sc as ci, Sd as li, Sf as ui, Si as di, Sl as fi, Sn as pi, So as mi, Sp as hi, Sr as gi, Ss as _i, St as vi, Su as yi, T as bi, Ta as xi, Tc as Si, Td as Ci, Tf as wi, Ti, Tl as Ei, Tn as Di, To as Oi, Tp as ki, Tr as Ai, Ts as ji, Tt as Mi, Tu as Ni, U as Pi, Ua as Fi, Uc as Ii, Ud as Li, Uf as Ri, Ui as zi, Ul as Bi, Un as Vi, Uo as Hi, Up as Ui, Ur as Wi, Us as Gi, Ut as Ki, Uu as qi, V as Ji, Va as Yi, Vc as Xi, Vd as Zi, Vf as Qi, Vi as $i, Vl as ea, Vn as ta, Vo as na, Vp as ra, Vr as ia, Vs as aa, Vt as oa, Vu as sa, W as ca, Wa as la, Wc as ua, Wd as da, Wf as fa, Wi as pa, Wl as ma, Wn as ha, Wo as ga, Wp as _a, Wr as va, Ws as ya, Wt as ba, Wu as xa, X as Sa, Xa as Ca, Xc as wa, Xd as Ta, Xf as Ea, Xi as Da, Xl as Oa, Xn as ka, Xo as Aa, Xp as ja, Xr as Ma, Xs as Na, Xt as Pa, Xu as Fa, Y as Ia, Ya as La, Yc as Ra, Yd as za, Yf as Ba, Yi as Va, Yl as Ha, Yn as Ua, Yo as Wa, Yp as Ga, Yr as Ka, Ys as qa, Yt as Ja, Yu as Ya, Z as Xa, Za, Zc as Qa, Zd as $a, Zf as eo, Zi as to, Zl as no, Zn as ro, Zo as io, Zp as ao, Zr as oo, Zs as so, Zt as co, Zu as lo, _ as uo, _a as fo, _c as po, _d as mo, _f as ho, _i as go, _l as _o, _n as vo, _o as yo, _p as bo, _r as xo, _s as So, _t as Co, _u as wo, a as To, aa as Eo, ac as Do, ad as Oo, af as ko, ai as Ao, al as jo, an as Mo, ao as No, ap as Po, ar as Fo, as as Io, at as Lo, au as Ro, b as zo, ba as Bo, bc as Vo, bd as Ho, bf as Uo, bi as Wo, bl as Go, bn as Ko, bo as qo, bp as Jo, br as Yo, bs as Xo, bt as Zo, bu as G, c as Qo, ca as $o, cc as es, cd as ts, cf as ns, ci as rs, cl as is, cn as as, co as os, cp as ss, cr as cs, cs as ls, ct as us, cu as ds, d as fs, da as ps, dc as ms, dd as hs, df as gs, di as _s, dl as K, dn as vs, do as ys, dp as bs, dr as xs, ds as Ss, dt as Cs, du as ws, ea as Ts, ec as Es, ed as Ds, ef as Os, ei as ks, el as As, em as js, en as Ms, eo as Ns, ep as Ps, er as Fs, es as Is, et as Ls, eu as Rs, f as zs, fa as Bs, fc as Vs, fd as Hs, ff as Us, fi as Ws, fl as Gs, fn as Ks, fo as qs, fp as Js, fr as Ys, fs as Xs, ft as Zs, fu as Qs, g as $s, ga as ec, gc as tc, gd as nc, gf as rc, gi as ic, gl as ac, gn as oc, go as sc, gp as cc, gr as lc, gs as uc, gt as dc, gu as fc, h as pc, ha as mc, hc, hd as gc, hf as _c, hi as vc, hl as yc, hn as bc, ho as xc, hp as Sc, hr as Cc, hs as wc, ht as Tc, hu as Ec, i as Dc, ia as Oc, ic as kc, id as Ac, if as jc, ii as Mc, il as Nc, in as Pc, io as Fc, ip as Ic, ir as Lc, is as Rc, it as zc, iu as Bc, j as Vc, ja as Hc, jc as Uc, jd as Wc, jf as Gc, ji as Kc, jl as qc, jn as Jc, jo as Yc, jp as Xc, jr as Zc, js as Qc, jt as $c, ju as el, k as tl, ka as nl, kc as rl, kd as il, kf as al, ki as ol, kl as sl, kn as cl, ko as ll, kp as ul, kr as dl, ks as fl, kt as pl, ku as ml, l as hl, la as gl, lc as _l, ld as vl, lf as yl, li as bl, ll as xl, ln as Sl, lo as Cl, lp as wl, lr as Tl, ls as El, lt as Dl, lu as Ol, m as kl, ma as Al, mc as jl, md as Ml, mf as Nl, mi as Pl, ml as Fl, mn as Il, mo as Ll, mp as Rl, mr as zl, ms as Bl, mt as Vl, mu as Hl, n as Ul, na as Wl, nc as Gl, nd as Kl, nf as ql, ni as Jl, nl as Yl, nm as Xl, nn as Zl, no as Ql, np as $l, nr as eu, ns as tu, nt as nu, nu as ru, o as iu, oa as au, oc as ou, od as su, of as cu, oi as lu, ol as uu, on as du, oo as fu, op as pu, or as mu, os as hu, ot as gu, ou as _u, p as vu, pa as yu, pc as bu, pd as xu, pf as Su, pi as Cu, pl as wu, pn as Tu, po as Eu, pp as Du, pr as Ou, ps as ku, pt as Au, pu as ju, q as Mu, qa as Nu, qc as Pu, qd as Fu, qf as Iu, qi as Lu, ql as Ru, qn as zu, qo as Bu, qp as Vu, qr as Hu, qs as Uu, qt as Wu, qu as Gu, r as Ku, ra as qu, rc as Ju, rd as Yu, rf as Xu, ri as Zu, rl as Qu, rn as $u, ro as ed, rp as td, rr as nd, rs as rd, rt as id, ru as ad, s as od, sa as sd, sc as cd, sd as ld, sf as ud, si as dd, sl as fd, sn as pd, so as md, sp as hd, sr as gd, ss as _d, st as vd, su as yd, t as bd, ta as xd, tc as Sd, td as Cd, tf as wd, ti as Td, tl as Ed, tm as Dd, tn as Od, to as kd, tp as Ad, tr as jd, ts as Md, tt as Nd, tu as Pd, u as Fd, ua as Id, uc as Ld, ud as Rd, uf as zd, ui as Bd, ul as Vd, un as Hd, uo as Ud, up as Wd, ur as Gd, us as Kd, ut as qd, uu as Jd, v as Yd, va as Xd, vc as Zd, vd as Qd, vf as $d, vi as ef, vl as q, vn as tf, vo as nf, vp as rf, vr as af, vs as of, vt as sf, vu as cf, w as lf, wa as uf, wc as df, wd as ff, wf as pf, wi as mf, wl as hf, wn as gf, wo as _f, wp as vf, wr as yf, ws as bf, wt as xf, wu as Sf, x as Cf, xa as wf, xc as Tf, xd as Ef, xf as Df, xi as Of, xl as kf, xn as Af, xo as jf, xp as Mf, xr as Nf, xs as Pf, xt as Ff, xu as If, y as Lf, ya as Rf, yc as zf, yd as Bf, yf as Vf, yi as Hf, yl as Uf, yn as Wf, yo as Gf, yp as Kf, yr as qf, ys as Jf, yt as Yf, yu as Xf, z as Zf, za as Qf, zc as $f, zd as ep, zf as tp, zi as np, zl as rp, zn as ip, zo as ap, zp as op, zr as sp, zs as cp, zt as lp, zu as up } from "../src-C817VR8M.js";
|
|
2
|
+
import { a as dp, i as fp, n as pp, o as mp, r as hp, s as gp, t as _p } from "../webcomponent-BS5WnkDO.js";
|
|
3
|
+
import { defineComponent as vp, h as yp, inject as bp, onMounted as xp, onUnmounted as J, provide as Sp, ref as Y, shallowRef as X, watch as Z } from "vue";
|
|
3
4
|
//#region src/integrations/vue.ts
|
|
4
5
|
function Q(e, t) {
|
|
5
6
|
let n = X(null), r = Y(!1);
|
|
6
|
-
return
|
|
7
|
-
e.value && (n.value = new
|
|
7
|
+
return xp(() => {
|
|
8
|
+
e.value && (n.value = new q(e.value, t), r.value = !0);
|
|
8
9
|
}), J(() => {
|
|
9
10
|
n.value && (n.value.dispose(), n.value = null, r.value = !1);
|
|
10
11
|
}), Z(e, (e, i) => {
|
|
11
|
-
i && n.value && (n.value.dispose(), n.value = null, r.value = !1), e && (n.value = new
|
|
12
|
+
i && n.value && (n.value.dispose(), n.value = null, r.value = !1), e && (n.value = new q(e, t), r.value = !0);
|
|
12
13
|
}), {
|
|
13
14
|
scene: n,
|
|
14
15
|
isReady: r
|
|
15
16
|
};
|
|
16
17
|
}
|
|
17
|
-
function
|
|
18
|
+
function Cp(e, t) {
|
|
18
19
|
let n = X(null);
|
|
19
20
|
return Z(e, (e, r) => {
|
|
20
21
|
r && n.value && r.remove(n.value), e && (n.value ||= t(), e.add(n.value));
|
|
@@ -22,7 +23,7 @@ function iu(e, t) {
|
|
|
22
23
|
e.value && n.value && e.value.remove(n.value), n.value = null;
|
|
23
24
|
}), n;
|
|
24
25
|
}
|
|
25
|
-
function
|
|
26
|
+
function wp(e) {
|
|
26
27
|
let t = Y(!1);
|
|
27
28
|
return {
|
|
28
29
|
play: async (...n) => {
|
|
@@ -48,14 +49,14 @@ function au(e) {
|
|
|
48
49
|
isPlaying: t
|
|
49
50
|
};
|
|
50
51
|
}
|
|
51
|
-
function
|
|
52
|
+
function Tp(e, t) {
|
|
52
53
|
Z(e, (e, n) => {
|
|
53
54
|
n && n.removeUpdater(t), e && e.addUpdater(t);
|
|
54
55
|
}, { immediate: !0 }), J(() => {
|
|
55
56
|
e.value && e.value.removeUpdater(t);
|
|
56
57
|
});
|
|
57
58
|
}
|
|
58
|
-
var $ = Symbol("manimweb-scene"),
|
|
59
|
+
var $ = Symbol("manimweb-scene"), Ep = vp({
|
|
59
60
|
name: "ManimScene",
|
|
60
61
|
props: {
|
|
61
62
|
width: {
|
|
@@ -83,7 +84,7 @@ var $ = Symbol("manimweb-scene"), su = $l({
|
|
|
83
84
|
default: void 0
|
|
84
85
|
}
|
|
85
86
|
},
|
|
86
|
-
emits: { ready: (e) => e instanceof
|
|
87
|
+
emits: { ready: (e) => e instanceof q },
|
|
87
88
|
setup(e, { emit: t, slots: n }) {
|
|
88
89
|
let r = Y(null), { scene: i, isReady: a } = Q(r, {
|
|
89
90
|
width: e.width,
|
|
@@ -95,7 +96,7 @@ var $ = Symbol("manimweb-scene"), su = $l({
|
|
|
95
96
|
});
|
|
96
97
|
return Z(a, (e) => {
|
|
97
98
|
e && i.value && t("ready", i.value);
|
|
98
|
-
}),
|
|
99
|
+
}), Sp($, i), () => yp("div", {
|
|
99
100
|
ref: r,
|
|
100
101
|
style: {
|
|
101
102
|
width: `${e.width}px`,
|
|
@@ -105,9 +106,9 @@ var $ = Symbol("manimweb-scene"), su = $l({
|
|
|
105
106
|
}, n.default?.());
|
|
106
107
|
}
|
|
107
108
|
});
|
|
108
|
-
function
|
|
109
|
-
return
|
|
109
|
+
function Dp() {
|
|
110
|
+
return bp($, Y(null));
|
|
110
111
|
}
|
|
111
|
-
var
|
|
112
|
+
var Op = { install(e) {} };
|
|
112
113
|
//#endregion
|
|
113
|
-
export { Ur as Add, _t as AddTextLetterByLetter, On as AddTextWordByWord, We as Angle, ro as AnimateProxy, zs as AnimatedBoundary, Ze as Animation, Rs as AnimationGroup, Qi as AnnotationDot, Wa as AnnularSector, qs as Annulus, Kt as ApplyComplexFunction, rn as ApplyFunction, En as ApplyMatrix, De as ApplyMethod, Fc as ApplyPointwiseFunction, re as ApplyPointwiseFunctionToCenter, Vt as ApplyWave, to as Arc, po as ArcBetweenPoints, D as ArcBrace, qc as ArcPolygon, Dn as Arrow, pr as Arrow3D, Sn as ArrowCircleFilledTip, Ce as ArrowCircleTip, tt as ArrowSquareFilledTip, jt as ArrowSquareTip, Un as ArrowTip, Ul as ArrowTriangleFilledTip, u as ArrowTriangleTip, f as ArrowVectorField, gi as AudioManager, Xa as Axes, ce as BLACK, No as BLUE, Gt as BLUE_A, nn as BLUE_B, Tn as BLUE_C, Ee as BLUE_D, it as BLUE_E, xi as BackgroundRectangle, wr as BarChart, ll as Blink, dr as BooleanResult, rt as Box3D, gl as Brace, _r as BraceBetweenPoints, ve as BraceLabel, R as BraceText, Ne as Broadcast, Ct as BulletedList, ga as Camera2D, Yc as Camera2DFrame, as as Camera3D, gr as CameraAnimateProxy, _e as CameraFrame, Xc as ChangeDecimalToValue, Ia as ChangeSpeed, q as ChangingDecimal, hl as Circle, Hn as Circumscribe, Ra as Clickable, rl as ClockwiseTransform, Ci as Code, cn as ComplexHomotopy, Kr as ComplexPlane, jc as ComplexValueTracker, wn as Cone, jl as Controls, xt as ConvexHull, lo as ConvexHull3D, Il as CounterclockwiseTransform, _i as Create, Nn as Cross, Nt as Cube, wo as CubicBezier, rs as CurvedArrow, ma as CurvedDoubleArrow, $s as Cutout, na as CyclicReplace, Te as Cylinder, Pt as DARKER_GRAY, Kn as DARK_BLUE, Kl as DARK_BROWN, p as DARK_GRAY, $a as DEFAULT_ANIMATION_DURATION, Es as DEFAULT_ASPECT_RATIO, Fn as DEFAULT_COLOR_SCHEME, Ni as DEFAULT_FONT_SIZE, nl as DEFAULT_FPS, Fl as DEFAULT_FRAME_HEIGHT, ta as DEFAULT_FRAME_WIDTH, wl as DEFAULT_MOBJECT_TO_EDGE_BUFFER, rr as DEFAULT_MOBJECT_TO_MOBJECT_BUFFER, w as DEFAULT_PIXEL_HEIGHT, pl as DEFAULT_PIXEL_WIDTH, mr as DEFAULT_STROKE_WIDTH, Cs as DL, fc as DOWN, So as DR, Is as DashedLine, Ki as DashedVMobject, xa as DecimalMatrix, Vi as DecimalNumber, _n as DecimalTable, mo as DiGraph, Tt as DiceFace, fe as Difference, pn as Dodecahedron, Ic as Dot, Qa as Dot3D, Oe as DoubleArrow, Ya as Draggable, si as DrawBorderThenFill, Sr as Elbow, ms as Ellipse, M as Exclusion, Je as FadeIn, m as FadeOut, pa as FadeToColor, ge as FadeTransform, I as FadeTransformPieces, l as Flash, un as FocusOn, hc as FullScreenFadeRectangle, To as FullScreenRectangle, Ai as FunctionGraph, Ir as GOLD, qe as GOLD_A, Tr as GOLD_B, qr as GOLD_C, Le as GOLD_D, wt as GOLD_E, nc as GRAY, ht as GRAY_A, mi as GRAY_B, ii as GRAY_C, wi as GRAY_D, In as GRAY_E, i as GREEN, La as GREEN_A, Bc as GREEN_B, ks as GREEN_C, vc as GREEN_D, Oo as GREEN_E, Ii as GenericGraph, Vc as GifExporter, o as GlyphVMobject, no as Graph, Ys as Group, yr as GrowArrow, sc as GrowFromCenter, be as GrowFromEdge, B as GrowFromPoint, Ll as Hexagon, An as Homotopy, cs as Hoverable, Wi as IN, Uo as Icosahedron, _ as ImageMobject, ls as ImplicitFunction, Ue as Indicate, js as Integer, Va as IntegerMatrix, qo as IntegerTable, Et as InteractiveScene, dn as Intersection, he as LARGE_BUFF, Ps as LEFT, Xi as LIGHTER_GRAY, Bs as LIGHT_BROWN, kc as LIGHT_GRAY, va as LIGHT_PINK, xl as LabeledArrow, er as LabeledDot, x as LabeledLine, ul as LabeledPolygram, k as LaggedStart, Bl as LaggedStartMap, Ts as LargeDot, ze as Lighting, It as Line, P as Line3D, qt as LinearTransformationScene, ss as MANIM_BACKGROUND, Zc as MAROON, Da as MAROON_A, Ja as MAROON_B, Zs as MAROON_C, vs as MAROON_D, _o as MAROON_E, F as MED_LARGE_BUFF, mn as MED_SMALL_BUFF, r as MONOKAI_COLOR_SCHEME, ai as MandelbrotSet, on as ManimBanner, su as ManimScene, lu as ManimWebPlugin, L as MappingCamera, tc as MarkdownText, Hc as MarkupText, Jr as MasterTimeline, de as MathTable, la as MathTex, Lo as MathTexImage, pi as MathTexPart, Qo as MathTexSVG, Ws as Matrix, Pr as Mobject, Ln as Mobject1D, Ti as Mobject2D, Gl as Mobject3D, ds as MobjectMatrix, Io as MobjectTable, Vr as MoveAlongPath, sr as MoveToTarget, Ar as MoveToTargetPosition, gn as MovingCamera, Jn as MovingCameraScene, Ko as MultiCamera, hi as NewtonFractal, Ea as NullRenderer, $c as NumberLine, so as NumberPlane, ao as ORANGE, Cc as ORIGIN, fa as OUT, se as Octahedron, Yr as OrbitControls, Lc as PGroup, zi as PINK, Br as PMobject, cl as PURE_BLUE, Vl as PURE_GREEN, sa as PURE_RED, Al as PURPLE, lr as PURPLE_A, A as PURPLE_B, yl as PURPLE_C, br as PURPLE_D, xe as PURPLE_E, ba as Paragraph, Hs as ParametricFunction, nr as ParametricSurface, ra as Pentagon, je as PhaseFlow, Qc as PlaybackControls, Bi as Player, As as PlayerController, yc as PlayerUI, a as PointCloudDot, Pa as PointMobject, Ie as PolarPlane, El as Polygon, il as Polygram, Mo as Polyhedron, Mi as Prism, Bo as Pulse, V as RED, bn as RED_A, Xo as RED_B, c as RED_C, zo as RED_D, Zt as RED_E, ts as RIGHT, Rr as Rectangle, ar as RegularPolygon, ft as RegularPolygram, bt as Remove, Di as RemoveTextLetterByLetter, Ka as Renderer, O as ReplacementTransform, ns as Restore, Wr as RightAngle, Oi as Rotate, Qs as Rotating, di as RoundedRectangle, Wo as SMALL_BUFF, ia as SVGMobject, gt as SampleSpace, yt as Scale, Kc as ScaleInPlace, W as Scene, oi as SceneStateManager, qi as ScreenRectangle, wa as Sector, ic as SelectionManager, Qr as Shift, $n as ShowCreationThenDestruction, ke as ShowIncreasingSubsets, st as ShowPartial, xn as ShowPassingFlash, H as ShowPassingFlashWithThinningStrokeWidth, Lt as ShowSubmobjectsOneByOne, Ca as ShrinkToCenter, ri as SingleStringMathTex, mc as SmallDot, lt as SmoothedVectorizedHomotopy, Gn as Sphere, yn as SpinInFromNothing, Yn as SpiralIn, ue as SplitScreenCamera, Ye as Square, ti as Star, Nr as StealthTip, Fr as StreamLines, kl as Succession, fl as Surface3D, C as SurfacePresets, t as SurroundingRectangle, Tl as Swap, ln as TEAL, jn as TEAL_A, Me as TEAL_B, ut as TEAL_C, Bt as TEAL_D, Qn as TEAL_E, Pc as THREE, Jt as Table, Pe as TangentLine, Tc as TangentialArc, Wt as Tetrahedron, bc as Tex, Gs as TexFontTemplates, fs as TexTemplate, uo as TexTemplateLibrary, vn as Text, Jo as TextGlyphGroup, ea as TexturedSurface, Pl as ThreeDAxes, Fo as ThreeDCamera, Dr as ThreeDScene, tl as ThreeDVMobject, Ji as Timeline, Fi as TipableVMobject, mt as Title, tn as Torus, Oc as TracedPath, _l as Transform, Ua as TransformAnimations, hn as TransformFromCopy, wc as TransformMatchingAbstractBase, pc as TransformMatchingShapes, Co as TransformMatchingTex, E as Triangle, Xr as TypeWithCursor, Gc as UL, Sa as UP, Ha as UR, zn as Uncreate, Na as Underline, Vo as Union, Ml as UnitInterval, Be as UntypeWithCursor, te as Unwrite, go as UpdateFromAlphaFunc, Ri as UpdateFromFunc, gs as VDict, Wl as VGroup, d as VMobject, Dl as VMobjectFromSVGPath, bs as ValueTracker, Oa as Variable, ot as Vector, me as Vector3D, Ke as VectorField, za as VectorFieldVector, an as VectorScene, ho as VectorizedPoint, ca as VideoExporter, Ql as WHITE, dt as Wait, et as Wiggle, Zi as WiggleOutThenIn, Aa as Write, y as YELLOW, Hr as YELLOW_A, $e as YELLOW_B, jr as YELLOW_C, $r as YELLOW_D, He as YELLOW_E, Jl as ZoomDisplayPopOut, h as ZoomedScene, ui as add, Nc as addTextLetterByLetter, Yl as addTextWordByWord, Gr as addVec, _a as animatedBoundary, Dc as animationGroup, at as applyComplexFunction, Ft as applyFunction, qn as applyMatrix, ql as applyMethod, ws as applyPointwiseFunction, Ma as applyPointwiseFunctionToCenter, Qt as applyWave, Xn as areKatexStylesLoaded, ha as binaryTree, is as bipartiteGraph, ur as blink, ei as broadcast, qa as changeDecimalToValue, zc as changeSpeed, Xs as changingDecimal, Hl as circumscribe, Li as clearAnimationOverrides, ir as clockwiseTransform, Jc as completeGraph, zt as complexHomotopy, lc as complexValueTracker, kr as compose, al as computeCircularLayout, Rl as computeLayout, T as counterclockwiseTransform, Ss as create, rc as createDiceRow, Ls as createFadeToBlack, Ec as createFadeToWhite, ya as createGifExporter, Zo as createVideoExporter, Fe as crossVec, Ta as cycleGraph, ml as cyclicReplace, Ei as deserializeMobject, ae as difference, St as dotVec, Zr as doubleSmooth, dc as drawBorderThenFill, U as easeIn, U as easeInCubic, Ot as easeInBack, oc as easeInBounce, vt as easeInCirc, vi as easeInElastic, ci as easeInExpo, G as easeInOut, G as easeInOutCubic, Bn as easeInOutBack, ne as easeInOutBounce, ka as easeInOutCirc, Mc as easeInOutElastic, xs as easeInOutExpo, uc as easeInOutQuad, bo as easeInOutQuart, Hi as easeInOutQuint, Ms as easeInOutSine, xc as easeInQuad, ua as easeInQuart, $o as easeInQuint, Uc as easeInSine, K as easeOut, K as easeOutCubic, Ba as easeOutBack, Us as easeOutBounce, us as easeOutCirc, co as easeOutElastic, Za as easeOutExpo, ji as easeOutQuad, el as easeOutQuart, Nl as easeOutQuint, $i as easeOutSine, Os as emphasizeRegion, Xl as ensureKatexStyles, Ao as exclusion, Sl as exponentialDecay, Er as fadeIn, Lr as fadeOut, Ks as fadeToColor, Go as fadeTransform, le as fadeTransformPieces, Mr as flash, ie as focusOn, ol as getAnimationOverride, da as getDetText, Ac as getFeatureFlags, Ga as gridGraph, Yo as growArrow, yi as growFromCenter, s as growFromEdge, Ro as growFromPoint, zl as hasAnimationOverride, Zn as homotopy, xr as indicate, Ht as intersection, ys as isFeatureEnabled, Yt as isMathJaxLoaded, sn as katexCanRender, vl as laggedStart, oa as laggedStartMap, ec as lengthVec, tr as linear, _c as linearSpeedRamp, S as lingering, pt as linspace, Ge as logger, _s as maintainPositionRelativeTo, Vs as makeClickable, ki as makeDraggable, oo as makeHoverable, Re as masterTimeline, es as matrixToMobject, Wc as matrixToTexString, Qe as moveAlongPath, vr as moveToTarget, Ve as moveToTargetPosition, fi as normalizeVec, dl as notQuiteThere, Cr as onLog, ni as orientation2D, Si as orthonormalFrame, aa as overrideAnimation, ct as parseSVGPathData, Js as pathGraph, Zl as phaseFlow, kn as preloadMathJax, Ol as prepareAnimation, ko as pulse, bi as remove, xo as removeTextLetterByLetter, Ae as renderLatexToSVG, ye as replacementTransform, cc as resetFeatureFlags, ps as restore, Rn as restoreMobjectState, fr as reverse, Vn as rotate, Mn as rotating, pe as runningStart, N as rushFrom, fn as rushInto, Do as rushRegion, ee as saveMobjectState, li as scale, fo as scaleInPlace, Pn as scaleVec, Fa as serializeMobject, vo as setFeatureFlags, kt as shift, b as showCreationThenDestruction, g as showIncreasingSubsets, zr as showPartial, Se as showPassingFlash, j as showPassingFlashWithThinningStrokeWidth, Xe as showSubmobjectsOneByOne, eo as shrinkToCenter, Ho as slowInto, oe as smooth, Yi as smoothSpeedCurve, v as smoothedVectorizedHomotopy, jo as smoothererstep, Ut as smootherstep, en as smoothstep, Rc as snapshotFromJSON, Ds as snapshotToJSON, Xt as spinInFromNothing, Or as spiralIn, Cn as squishRateFunc, hs as starGraph, gc as stateFromJSON, Eo as stateToJSON, we as stepFunction, n as subVec, cr as succession, or as svgMobject, Rt as svgToVMobjects, hr as swap, Cl as texturedSphere, nt as thereAndBack, Mt as thereAndBackWithPause, os as tracedPath, z as transform, Pi as transformAnimations, Po as transformFromCopy, Gi as transformMatchingShapes, Fs as transformMatchingTex, Dt as typeWithCursor, Ui as uncreate, $t as union, ja as unitPerpendicularTo, ac as untypeWithCursor, Ns as unwrite, io as updateFromAlphaFunc, sl as updateFromFunc, au as useAnimation, cu as useInjectedScene, iu as useMobject, Q as useScene, ou as useUpdater, yo as valueTracker, e as wait, At as wiggle, bl as wiggleOutThenIn, Wn as wiggleRate, Sc as write };
|
|
114
|
+
export { st as Add, Fc as AddTextLetterByLetter, la as AddTextWordByWord, Ld as Angle, ea as AnimateProxy, gd as AnimatedBoundary, wo as Animation, c as AnimationGroup, Tt as AnnotationDot, At as AnnularSector, yn as Annulus, $i as ApplyComplexFunction, yt as ApplyFunction, zi as ApplyMatrix, pa as ApplyMethod, Bd as ApplyPointwiseFunction, rs as ApplyPointwiseFunctionToCenter, Zn as ApplyWave, v as Arc, $f as ArcBetweenPoints, Gn as ArcBrace, Kn as ArcPolygon, br as ArcPolygonFromArcs, Nc as Arrow, ei as Arrow3D, Gl as ArrowCircleFilledTip, Ju as ArrowCircleTip, kc as ArrowSquareFilledTip, Do as ArrowSquareTip, ou as ArrowTip, cd as ArrowTriangleFilledTip, es as ArrowTriangleTip, ee as ArrowVectorField, Uf as AudioManager, ri as Axes, Qi as BLACK, vt as BLUE, Ri as BLUE_A, fa as BLUE_B, it as BLUE_C, sn as BLUE_D, Iu as BLUE_E, ns as BOLD, yl as BOOK, Vo as BackgroundRectangle, tu as BarChart, Di as Blink, Uu as BooleanResult, Wa as Box3D, yr as Brace, Ve as BraceBetweenPoints, kt as BraceLabel, vn as BraceText, un as Broadcast, Io as BulletedList, In as Camera2D, wr as Camera2DFrame, Xn as Camera3D, Ra as CameraAnimateProxy, wa as CameraFrame, zd as CapStyleType, xs as ChangeDecimalToValue, jd as ChangeSpeed, Ys as ChangingDecimal, Wt as Circle, ip as Circumscribe, bc as Clickable, ve as ClockwiseTransform, Kd as Code, wt as ComplexHomotopy, rd as ComplexPlane, Bl as ComplexValueTracker, Bu as Cone, dp as Controls, jl as ConvexHull, fr as ConvexHull3D, lr as CounterclockwiseTransform, No as Create, Tf as Cross, Aa as Cube, he as CubicBezier, Mn as CurvedArrow, Uc as CurvedDoubleArrow, S as CurvesAsSubmobjects, hc as Cutout, ol as CyclicReplace, Xt as Cylinder, Kt as DARKER_GRAY, Ba as DARK_BLUE, Ea as DARK_BROWN, eo as DARK_GRAY, Gt as DEFAULT_ANIMATION_DURATION, gs as DEFAULT_ARROW_TIP_LENGTH, ps as DEFAULT_ASPECT_RATIO, Ss as DEFAULT_COLOR_SCHEME, Us as DEFAULT_DASH_LENGTH, Su as DEFAULT_DOT_RADIUS, za as DEFAULT_FONT_SIZE, Ta as DEFAULT_FPS, $a as DEFAULT_FRAME_HEIGHT, Fr as DEFAULT_FRAME_WIDTH, r as DEFAULT_MOBJECT_TO_EDGE_BUFFER, Os as DEFAULT_MOBJECT_TO_MOBJECT_BUFFER, wd as DEFAULT_PIXEL_HEIGHT, ql as DEFAULT_PIXEL_WIDTH, Nl as DEFAULT_POINTWISE_FUNCTION_RUN_TIME, _c as DEFAULT_POINT_DENSITY_1D, rc as DEFAULT_POINT_DENSITY_2D, ho as DEFAULT_SMALL_DOT_RADIUS, Xu as DEFAULT_STROKE_WIDTH, $d as DEFAULT_WAIT_TIME, Vf as DEGREES, xr as DL, Ue as DOWN, jt as DR, rl as DashedLine, or as DashedVMobject, jf as DecimalMatrix, of as DecimalNumber, qr as DecimalTable, Zs as Degrees, xi as DiGraph, xd as DiceFace, $t as Difference, na as Dodecahedron, df as Dot, ll as Dot3D, jo as DoubleArrow, Wf as Draggable, fu as DrawBorderThenFill, ms as Elbow, Jr as Ellipse, qa as Exclusion, to as FadeIn, Va as FadeOut, go as FadeToColor, Ge as FadeTransform, Nt as FadeTransformPieces, ta as Flash, cl as FocusOn, Bs as FullScreenFadeRectangle, yu as FullScreenRectangle, cp as FunctionGraph, Ir as GOLD, i as GOLD_A, Ps as GOLD_B, Ad as GOLD_C, $l as GOLD_D, td as GOLD_E, Ic as GRAY, Po as GRAY_A, pu as GRAY_B, hd as GRAY_C, ss as GRAY_D, wl as GRAY_E, Wd as GREEN, bs as GREEN_A, Js as GREEN_B, Du as GREEN_C, Rl as GREEN_D, Sc as GREEN_E, me as GenericGraph, Tu as GifExporter, ad as GlyphVMobject, Oe as Graph, Cn as Group, Or as GrowArrow, Jl as GrowFromCenter, Xe as GrowFromEdge, Rt as GrowFromPoint, Uo as HEAVY, Hn as HSV, Ii as Hexagon, Wi as Homotopy, vo as Hoverable, bn as IN, Df as ITALIC, St as Icosahedron, Ec as ImageMobject, tr as ImplicitFunction, Vi as Indicate, Jf as Integer, mi as IntegerMatrix, Qf as IntegerTable, ac as InteractiveScene, Na as Intersection, jc as LARGE_BUFF, Yr as LEFT, ui as LIGHT, cc as LIGHTER_GRAY, bo as LIGHT_BROWN, rf as LIGHT_GRAY, Kf as LIGHT_PINK, zf as Label, Gi as LabeledArrow, ya as LabeledDot, dt as LabeledLine, mn as LabeledPolygram, Bn as LaggedStart, mr as LaggedStartMap, Si as LargeDot, yc as Lighting, fd as Line, w as Line3D, P as LineJointType, Ze as LinearBase, Yl as LinearTransformationScene, zt as LogBase, Jo as MANIM_BACKGROUND, Mf as MAROON, hi as MAROON_A, z as MAROON_B, vf as MAROON_C, ki as MAROON_D, Ie as MAROON_E, pf as MEDIUM, ko as MED_LARGE_BUFF, cu as MED_SMALL_BUFF, Xs as MONOKAI_COLOR_SCHEME, Eo as MandelbrotSet, Fi as ManimBanner, nr as ManimColor, Ep as ManimScene, _p as ManimSceneElement, Op as ManimWebPlugin, Qa as MappingCamera, hu as MarkdownText, fl as MarkupText, a as MasterTimeline, _ as MathTable, we as MathTex, Bc as MathTexImage, ls as MathTexPart, hr as MathTexSVG, Xo as MathTypst, R as Matrix, Ef as Mobject, sd as Mobject1D, au as Mobject2D, Br as Mobject3D, _f as MobjectMatrix, Yi as MobjectTable, Oi as ModelMobject, Ma as MoveAlongPath, Jt as MoveToTarget, Hr as MoveToTargetPosition, Pr as MovingCamera, is as MovingCameraScene, n as MultiCamera, Au as Munits, wi as NORMAL, Oc as NewtonFractal, Ke as NullRenderer, D as NumberLine, kr as NumberPlane, je as OBLIQUE, Se as ORANGE, ep as ORIGIN, y as OUT, Hi as Octahedron, Fl as OrbitControls, Id as PGroup, _e as PI, pr as PINK, fc as PMobject, ul as PURE_BLUE, d as PURE_GREEN, Xc as PURE_RED, zn as PURPLE, $n as PURPLE_A, Dr as PURPLE_B, Ye as PURPLE_C, Lt as PURPLE_D, Tn as PURPLE_E, p as Paragraph, Vn as ParametricFunction, Je as ParametricSurface, ua as Pentagon, Vl as Percent, va as PhaseFlow, Tc as Pixels, fp as PlaybackControls, Zl as Player, $u as PlayerController, Pc as PlayerUI, $o as PointCloudDot, gl as PointMobject, Rc as PolarPlane, nt as Polygon, gt as Polygram, ga as Polyhedron, u as Prism, l as Pulse, ti as RED, op as RED_A, T as RED_B, ra as RED_C, Ct as RED_D, Ui as RED_E, Ar as RGBA, Zi as RIGHT, Qe as RandomColorGenerator, K as Rectangle, an as RegularPolygon, tc as RegularPolygram, zu as Remove, md as RemoveTextLetterByLetter, Pt as Renderer, Ha as ReplacementTransform, ef as Restore, Vs as RightAngle, lu as Rotate, Yt as Rotating, po as RoundedRectangle, cr as SCALE_FACTOR_PER_FONT_POINT, al as SEMIBOLD, ue as SEMILIGHT, ud as SMALL_BUFF, Gc as START_X, Pn as START_Y, se as SVGMobject, qu as SampleSpace, Zu as Scale, Dn as ScaleBase, Hf as ScaleInPlace, q as Scene, Go as SceneStateManager, Al as ScreenRectangle, He as Sector, _o as SelectionManager, ne as Shift, L as ShowCreationThenDestruction, tt as ShowIncreasingSubsets, rn as ShowPartial, qe as ShowPassingFlash, be as ShowPassingFlashWithThinningStrokeWidth, Nu as ShowSubmobjectsOneByOne, Wo as ShrinkToCenter, El as SingleStringMathTex, ke as SmallDot, ut as SmoothedVectorizedHomotopy, Ul as SpecialThreeDScene, io as Sphere, En as SpinInFromNothing, Ut as SpiralIn, As as SplitScreenCamera, Gs as Square, Zd as Star, _l as StealthTip, Is as StreamLines, f as Succession, W as Surface, W as Surface3D, It as SurfacePresets, ci as SurroundingRectangle, de as Swap, Jn as TAU, _a as TEAL, lt as TEAL_A, fn as TEAL_B, Vu as TEAL_C, Zt as TEAL_D, Ga as TEAL_E, Sr as THIN, qn as THREE, ht as Table, bu as TangentLine, ce as TangentialArc, ct as Tetrahedron, Re as Tex, rt as TexFontTemplates, on as TexTemplate, Fu as TexTemplateLibrary, Rs as Text, ru as TextGlyphGroup, Qn as TexturedSurface, Rn as ThreeDAxes, Ed as ThreeDCamera, wu as ThreeDScene, Yc as ThreeDVMobject, sl as Timeline, Xi as TipableVMobject, _d as Title, dn as Torus, cs as TracedPath, Oa as Transform, Of as TransformAnimations, Sn as TransformFromCopy, ic as TransformMatchingAbstractBase, Ws as TransformMatchingShapes, Cu as TransformMatchingTex, Pu as Triangle, Ns as TypeWithCursor, Pf as Typst, _t as UL, We as ULTRABOLD, Mt as ULTRAHEAVY, xn as ULTRALIGHT, Li as UP, da as UR, os as Uncreate, M as Underline, so as Union, aa as UnitInterval, kd as UntypeWithCursor, Cl as Unwrite, yf as UpdateFromAlphaFunc, Le as UpdateFromFunc, Qr as VDict, Ml as VGroup, gc as VMobject, Hc as VMobjectFromSVGPath, wc as ValueTracker, ku as Variable, uu as Vector, ap as Vector3D, Md as VectorField, Qc as VectorFieldVector, Qu as VectorScene, rp as VectorizedPoint, vs as VideoExporter, fo as VideoMobject, ja as WHITE, Ua as Wait, Mo as WebCodecsExporter, wn as Wiggle, Af as WiggleOutThenIn, Ud as Write, Xr as X_AXIS, ao as YELLOW, Vr as YELLOW_A, te as YELLOW_B, js as YELLOW_C, Dd as YELLOW_D, Xl as YELLOW_E, tp as Y_AXIS, b as Z_AXIS, xl as ZoomDisplayPopOut, Vd as ZoomedScene, ka as add, ys as addTextLetterByLetter, La as addTextWordByWord, li as addVec, dc as adjacentNTuples, Co as adjacentPairs, sf as allElementsAreInstances, qf as always, gi as alwaysRedraw, Cc as alwaysRotate, lc as alwaysShift, Vc as angleAxisFromQuaternion, An as angleBetweenVectors, Wn as angleOfVector, Tl as animatedBoundary, qc as animationGroup, at as applyComplexFunction, cn as applyFunction, Lu as applyMatrix, qt as applyMethod, _s as applyPointwiseFunction, bl as applyPointwiseFunctionToCenter, Tr as applyWave, Qs as areKatexStylesLoaded, Yo as assertIsMobjectMethod, On as averageColor, fs as bezier, zs as bezierRemap, oi as binarySearch, Xd as binaryTree, Rf as bipartiteGraph, Pe as blink, ro as broadcast, Pd as buildStyledTextLines, vr as cartesianToSpherical, Be as centerOfMass, Ou as changeDecimalToValue, eu as changeSpeed, zl as changingDecimal, A as choose, C as circumscribe, bt as clearAnimationOverrides, lf as clip, De as clockwisePath, Kc as clockwiseTransform, nc as colorGradient, ii as colorToIntRgb, lp as colorToIntRgba, O as colorToRgb, oa as colorToRgba, Ot as compassDirections, Bo as completeGraph, _n as complexFuncToR3Func, pn as complexHomotopy, Kr as complexToR3, uc as complexValueTracker, cf as compose, ar as computeCircularLayout, nl as computeLayout, Yf as concatenateLists, pe as counterclockwisePath, Fn as counterclockwiseTransform, qs as create, Wl as createDiceRow, mc as createFadeToBlack, ec as createFadeToWhite, Il as createGifExporter, Ks as createVideoExporter, du as createWebCodecsExporter, N as cross, N as crossVec, Zf as cross2d, xo as cycleAnimation, wf as cycleGraph, Yn as cyclicReplace, kf as deserializeMobject, Fe as detectModelFormat, Ur as difference, ff as dotVec, Xf as doubleSmooth, pd as downloadBlob, Eu as drawBorderThenFill, Ho as earclipTriangulation, G as easeIn, G as easeInCubic, If as easeInBack, yi as easeInBounce, fe as easeInCirc, Sf as easeInElastic, Ni as easeInExpo, U as easeInOut, U as easeInOutCubic, Ee as easeInOutBack, _r as easeInOutBounce, ml as easeInOutCirc, h as easeInOutElastic, el as easeInOutExpo, Un as easeInOutQuad, rr as easeInOutQuart, jr as easeInOutQuint, $e as easeInOutSine, Vt as easeInQuad, kn as easeInQuart, ai as easeInQuint, up as easeInSine, k as easeOut, k as easeOutCubic, sa as easeOutBack, Dt as easeOutBounce, qi as easeOutCirc, xa as easeOutElastic, pt as easeOutExpo, gn as easeOutQuad, Gu as easeOutQuart, tn as easeOutQuint, Ya as easeOutSine, nd as emphasizeRegion, ju as ensureKatexStyles, re as exclusion, Fa as exponentialDecay, as as exportAndDownloadPNG, Sl as exportFramePNG, Hd as exportPNGSequence, us as extractMobjectFamilyMembers, Nf as fAlways, Lr as fadeIn, Da as fadeOut, di as fadeToColor, Zr as fadeTransform, np as fadeTransformPieces, g as findIntersection, xt as flash, Jc as focusOn, Ku as get3dVmobEndCorner, Dc as get3dVmobEndCornerIndex, To as get3dVmobEndCornerUnitNormal, iu as get3dVmobGradientStartAndEndPoints, od as get3dVmobStartCorner, Qo as get3dVmobStartCornerIndex, hl as get3dVmobStartCornerUnitNormal, Fd as get3dVmobUnitNormal, Bi as getAnimationOverride, nf as getDetText, Wr as getFeatureFlags, Bt as getShadedRgb, Bf as getSmoothCubicBezierHandlePoints, Ji as getUnitNormal, mt as getWindingNumber, si as gridGraph, ni as growArrow, Mc as growFromCenter, sp as growFromEdge, E as growFromPoint, ma as hasAnimationOverride, Zo as hashObj, Et as hexToRgb, Hu as homotopy, Ki as hsvToRgb, Dl as indexLabels, ha as indicate, mo as integerInterpolate, vu as interpolate, ba as interpolateColor, Es as intersection, kl as inverseInterpolate, ft as invertColor, pc as isClosed, ie as isFeatureEnabled, Ro as isMathJaxLoaded, _i as isTypstLoaded, _u as katexCanRender, er as laggedStart, dl as laggedStartMap, Ci as lengthVec, Pi as lineIntersection, lo as linear, Lc as linearSpeedRamp, Gr as lingering, Ae as linspace, Ff as listDifferenceUpdate, vi as listUpdate, H as listify, mp as logger, B as maintainPositionRelativeTo, oc as makeClickable, Ko as makeDraggable, xf as makeEven, Mi as makeEvenByCycling, tf as makeHoverable, pp as manimElementInternals, Ts as masterTimeline, $s as matchInterpolate, Gf as matrixToMobject, qo as matrixToTexString, uo as mid, ca as midpoint, oo as moveAlongPath, no as moveToTarget, ks as moveToTargetPosition, et as normSquared, nn as normalize, ge as normalizeVec, ae as notQuiteThere, gp as onLog, sr as orientation2D, il as orthonormalFrame, ot as overrideAnimate, ln as overrideAnimation, Jd as parseSVGPathData, Qd as partialBezierPoints, ir as pathAlongArc, tl as pathAlongCircles, j as pathGraph, Mu as perpendicularBisector, Qt as phaseFlow, Yd as pointLiesOnBezier, ze as powerset, yd as preloadMathJax, V as preloadTypst, Ru as prepareAnimation, qd as printFamily, Lf as proportionsAlongBezierCurveForPoint, Ln as pulse, Ht as quaternionConjugate, Ia as quaternionFromAngleAxis, Sa as quaternionMult, Xa as r3ToComplex, hn as randomBrightColor, Wu as randomColor, bd as registerFont, hp as registerManimElement, Mr as regularVertices, zr as remove, Te as removeListRedundancies, gr as removeNones, Ll as removeTextLetterByLetter, ds as renderLatexToSVG, bf as renderTypstToSVG, Rr as replacementTransform, Ms as resetFeatureFlags, F as restore, fi as restoreMobjectState, Cs as restructureListToExcludeCertainFamilyMembers, Ds as reverse, en as rgbToColor, Ja as rgbToHex, Pa as rgbToHsv, co as rgbaToColor, dd as rotate, e as rotateVector, s as rotating, Ls as rotationAboutZ, Nd as rotationMatrix, nu as rotationMatrixTranspose, Cd as runningStart, Kl as rushFrom, Yu as rushInto, Fo as rushRegion, I as saveMobjectState, Ao as scale, mf as scaleInPlace, le as scaleVec, hf as serializeMobject, Od as setFeatureFlags, Hl as setKatexStylesheetUrl, Ol as setMathJaxScriptUrl, xe as setModelLoaderFactory, ji as setTypstCompiler, Td as shift, id as shoelace, zc as shoelaceDirection, gf as showCreationThenDestruction, Ca as showIncreasingSubsets, Za as showPartial, Ft as showPassingFlash, dr as showPassingFlashWithThinningStrokeWidth, Nr as showSubmobjectsOneByOne, Ti as shrinkToCenter, bi as sigmoid, Ac as slowInto, Oo as smooth, mu as smoothSpeedCurve, Ka as smoothedVectorizedHomotopy, su as smoothererstep, ld as smootherstep, ts as smoothstep, Ei as snapshotFromJSON, Ne as snapshotToJSON, Lo as sphericalToCartesian, ia as spinInFromNothing, t as spiralIn, zo as splitBezier, vl as squishRateFunc, uf as starGraph, ye as stateFromJSON, ur as stateToJSON, Rd as stepFunction, oe as straightPath, pl as stretchArrayToLength, Wc as subVec, Cf as subdivideBezier, Zc as succession, jn as svgMobject, ws as svgToVMobjects, Cr as swap, Er as texturedSphere, hs as thereAndBack, Hs as thereAndBackWithPause, gu as thickDiagonal, Gd as tracedPath, o as transform, Me as transformAnimations, x as transformFromCopy, Pl as transformMatchingShapes, vc as transformMatchingTex, m as tuplify, af as turnAnimationIntoUpdater, Ql as typeWithCursor, xc as uncreate, Sd as union, $c as uniqChain, Nn as unitPerpendicularTo, ed as untypeWithCursor, sc as unwrite, Ai as updateFromAlphaFunc, Ce as updateFromFunc, wp as useAnimation, Dp as useInjectedScene, Cp as useMobject, Q as useScene, Tp as useUpdater, So as valueTracker, Fs as wait, $r as wiggle, pi as wiggleOutThenIn, xu as wiggleRate, yo as write, vd as zToVector };
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { Scene } from '../core/Scene';
|
|
2
|
+
import { Player } from '../player/Player';
|
|
3
|
+
/** A scene or player instance bound to a container by a factory. */
|
|
4
|
+
export type ManimSceneInstance = Scene | Player;
|
|
5
|
+
/**
|
|
6
|
+
* Factory that builds the animation. It receives the element's inner container
|
|
7
|
+
* and returns a {@link Scene} or {@link Player} (optionally as a promise).
|
|
8
|
+
*/
|
|
9
|
+
export type ManimSceneFactory = (container: HTMLElement) => ManimSceneInstance | Promise<ManimSceneInstance>;
|
|
10
|
+
/**
|
|
11
|
+
* Indirection for the dynamic `import(src)` so tests can stub module loading.
|
|
12
|
+
* Production uses the native dynamic import.
|
|
13
|
+
*/
|
|
14
|
+
export declare const manimElementInternals: {
|
|
15
|
+
importModule: (src: string) => Promise<unknown>;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* `HTMLElement` is undefined in Node / SSR. Extending a dummy base there keeps
|
|
19
|
+
* the class declaration from throwing at import time; the element is only ever
|
|
20
|
+
* instantiated in a browser, where the real base is used.
|
|
21
|
+
*/
|
|
22
|
+
declare const HTMLElementBase: typeof HTMLElement;
|
|
23
|
+
/** The `<manim-scene>` custom element implementation. */
|
|
24
|
+
export declare class ManimSceneElement extends HTMLElementBase {
|
|
25
|
+
static get observedAttributes(): string[];
|
|
26
|
+
private _container;
|
|
27
|
+
private _instance;
|
|
28
|
+
private _controls;
|
|
29
|
+
private _sceneFactory;
|
|
30
|
+
private _connected;
|
|
31
|
+
/** Incremented on every (re)mount and teardown to drop stale async work. */
|
|
32
|
+
private _loadToken;
|
|
33
|
+
private _mountPromise;
|
|
34
|
+
/** The programmatic scene factory, an alternative to the `src` attribute. */
|
|
35
|
+
get scene(): ManimSceneFactory | null;
|
|
36
|
+
set scene(factory: ManimSceneFactory | null);
|
|
37
|
+
/**
|
|
38
|
+
* Resolves once the element is connected and its most recent mount settles.
|
|
39
|
+
* Yields a task first so a just-queued `connectedCallback` runs before the
|
|
40
|
+
* mount promise is awaited.
|
|
41
|
+
*/
|
|
42
|
+
whenReady(): Promise<void>;
|
|
43
|
+
connectedCallback(): void;
|
|
44
|
+
disconnectedCallback(): void;
|
|
45
|
+
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
46
|
+
private _ensureContainer;
|
|
47
|
+
private _applyContainerStyle;
|
|
48
|
+
private _mount;
|
|
49
|
+
private _doMount;
|
|
50
|
+
private _resolveFactory;
|
|
51
|
+
private _applyPlaybackOptions;
|
|
52
|
+
private _syncSceneControls;
|
|
53
|
+
private _resizeInstance;
|
|
54
|
+
private _teardownInstance;
|
|
55
|
+
private _clearContainerChildren;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Define the `<manim-scene>` custom element. Safe to call more than once and
|
|
59
|
+
* safe in Node / SSR (where it does nothing because there is no registry).
|
|
60
|
+
*
|
|
61
|
+
* @param tagName - The tag to register. Defaults to `manim-scene`.
|
|
62
|
+
*/
|
|
63
|
+
export declare function registerManimElement(tagName?: string): void;
|
|
64
|
+
export {};
|
|
65
|
+
//# sourceMappingURL=webcomponent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webcomponent.d.ts","sourceRoot":"","sources":["../../src/integrations/webcomponent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAI1C,oEAAoE;AACpE,MAAM,MAAM,kBAAkB,GAAG,KAAK,GAAG,MAAM,CAAC;AAEhD;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG,CAC9B,SAAS,EAAE,WAAW,KACnB,kBAAkB,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC;AAOtD;;;GAGG;AACH,eAAO,MAAM,qBAAqB,EAAE;IAClC,YAAY,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;CAGjD,CAAC;AAkCF;;;;GAIG;AACH,QAAA,MAAM,eAAe,EAAE,OAAO,WACkE,CAAC;AAEjG,yDAAyD;AACzD,qBAAa,iBAAkB,SAAQ,eAAe;IACpD,MAAM,KAAK,kBAAkB,IAAI,MAAM,EAAE,CAExC;IAED,OAAO,CAAC,UAAU,CAA+B;IACjD,OAAO,CAAC,SAAS,CAAmC;IACpD,OAAO,CAAC,SAAS,CAAiC;IAClD,OAAO,CAAC,aAAa,CAAkC;IACvD,OAAO,CAAC,UAAU,CAAS;IAC3B,4EAA4E;IAC5E,OAAO,CAAC,UAAU,CAAK;IACvB,OAAO,CAAC,aAAa,CAAoC;IAEzD,6EAA6E;IAC7E,IAAI,KAAK,IAAI,iBAAiB,GAAG,IAAI,CAEpC;IAED,IAAI,KAAK,CAAC,OAAO,EAAE,iBAAiB,GAAG,IAAI,EAK1C;IAED;;;;OAIG;IACG,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC;IAKhC,iBAAiB,IAAI,IAAI;IAMzB,oBAAoB,IAAI,IAAI;IAM5B,wBAAwB,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI;IAa9F,OAAO,CAAC,gBAAgB;IAUxB,OAAO,CAAC,oBAAoB;IAU5B,OAAO,CAAC,MAAM;YAKA,QAAQ;YAyBR,eAAe;IAgB7B,OAAO,CAAC,qBAAqB;IAuB7B,OAAO,CAAC,kBAAkB;IAU1B,OAAO,CAAC,eAAe;IAcvB,OAAO,CAAC,iBAAiB;IAezB,OAAO,CAAC,uBAAuB;CAOhC;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,SAAgB,GAAG,IAAI,CAMlE"}
|