@pie-element/venn-classification 0.1.6-next.20261012213240 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/author/index.js +3 -1
- package/dist/author/index.js.map +1 -1
- package/dist/browser/{VennClassification-CaHr-K1i.js → VennClassification-zXkGR2UM.js} +125 -123
- package/dist/browser/{VennClassification-CaHr-K1i.js.map → VennClassification-zXkGR2UM.js.map} +1 -1
- package/dist/browser/author/index.js +34 -31
- package/dist/browser/controller/index.js +2 -2
- package/dist/browser/{editor-runtime/controller--P8AQebj.js → controller-DUk5lzSD.js} +6 -2
- package/dist/browser/{controller--P8AQebj.js.map → controller-DUk5lzSD.js.map} +1 -1
- package/dist/browser/delivery/index.js +7 -4
- package/dist/browser/delivery/index.js.map +1 -1
- package/dist/browser/editor-runtime/{VennClassification-CaHr-K1i.js → VennClassification-zXkGR2UM.js} +125 -123
- package/dist/browser/editor-runtime/{VennClassification-CaHr-K1i.js.map → VennClassification-zXkGR2UM.js.map} +1 -1
- package/dist/browser/editor-runtime/author/index.js +188 -185
- package/dist/browser/editor-runtime/author/index.js.map +1 -1
- package/dist/browser/editor-runtime/controller/index.js +2 -2
- package/dist/browser/{controller--P8AQebj.js → editor-runtime/controller-DUk5lzSD.js} +6 -2
- package/dist/browser/editor-runtime/{controller--P8AQebj.js.map → controller-DUk5lzSD.js.map} +1 -1
- package/dist/browser/editor-runtime/delivery/index.js +7 -4
- package/dist/browser/editor-runtime/delivery/index.js.map +1 -1
- package/dist/browser/editor-runtime/{mathjax-CptWnMbQ-DVFde9An.js → mathjax-CptWnMbQ-B0cEPTr0.js} +2 -2
- package/dist/browser/editor-runtime/{mathjax-CptWnMbQ-DVFde9An.js.map → mathjax-CptWnMbQ-B0cEPTr0.js.map} +1 -1
- package/dist/browser/{mathjax-CptWnMbQ-DVFde9An.js → mathjax-CptWnMbQ-B0cEPTr0.js} +2 -2
- package/dist/browser/{mathjax-CptWnMbQ-DVFde9An.js.map → mathjax-CptWnMbQ-B0cEPTr0.js.map} +1 -1
- package/dist/delivery/index.js +25 -23
- package/dist/delivery/index.js.map +1 -1
- package/dist/index.iife.js +1 -1
- package/dist/schemas/configuration.schema.json +1 -1
- package/dist/schemas/model.schema.json +1 -1
- package/dist/schemas/session.schema.json +1 -1
- package/package.json +5 -5
package/dist/delivery/index.js
CHANGED
|
@@ -7930,7 +7930,7 @@ function b$1(e) {
|
|
|
7930
7930
|
b: 0,
|
|
7931
7931
|
a: 0
|
|
7932
7932
|
};
|
|
7933
|
-
let n = S$
|
|
7933
|
+
let n = S$2().get(t);
|
|
7934
7934
|
if (n) return C$1(n);
|
|
7935
7935
|
if (t.startsWith("#")) return C$1(t.slice(1));
|
|
7936
7936
|
let r = /^([a-z]+)\(([^()]*)\)$/.exec(t);
|
|
@@ -7977,9 +7977,9 @@ function b$1(e) {
|
|
|
7977
7977
|
a: l
|
|
7978
7978
|
};
|
|
7979
7979
|
}
|
|
7980
|
-
var x$
|
|
7981
|
-
function S$
|
|
7982
|
-
return x$
|
|
7980
|
+
var x$2;
|
|
7981
|
+
function S$2() {
|
|
7982
|
+
return x$2 ?? (x$2 = new Map("aliceblue:f0f8ff antiquewhite:faebd7 aqua:00ffff aquamarine:7fffd4 azure:f0ffff beige:f5f5dc bisque:ffe4c4 black:000000 blanchedalmond:ffebcd blue:0000ff blueviolet:8a2be2 brown:a52a2a burlywood:deb887 cadetblue:5f9ea0 chartreuse:7fff00 chocolate:d2691e coral:ff7f50 cornflowerblue:6495ed cornsilk:fff8dc crimson:dc143c cyan:00ffff darkblue:00008b darkcyan:008b8b darkgoldenrod:b8860b darkgray:a9a9a9 darkgreen:006400 darkgrey:a9a9a9 darkkhaki:bdb76b darkmagenta:8b008b darkolivegreen:556b2f darkorange:ff8c00 darkorchid:9932cc darkred:8b0000 darksalmon:e9967a darkseagreen:8fbc8f darkslateblue:483d8b darkslategray:2f4f4f darkslategrey:2f4f4f darkturquoise:00ced1 darkviolet:9400d3 deeppink:ff1493 deepskyblue:00bfff dimgray:696969 dimgrey:696969 dodgerblue:1e90ff firebrick:b22222 floralwhite:fffaf0 forestgreen:228b22 fuchsia:ff00ff gainsboro:dcdcdc ghostwhite:f8f8ff gold:ffd700 goldenrod:daa520 gray:808080 green:008000 greenyellow:adff2f grey:808080 honeydew:f0fff0 hotpink:ff69b4 indianred:cd5c5c indigo:4b0082 ivory:fffff0 khaki:f0e68c lavender:e6e6fa lavenderblush:fff0f5 lawngreen:7cfc00 lemonchiffon:fffacd lightblue:add8e6 lightcoral:f08080 lightcyan:e0ffff lightgoldenrodyellow:fafad2 lightgray:d3d3d3 lightgreen:90ee90 lightgrey:d3d3d3 lightpink:ffb6c1 lightsalmon:ffa07a lightseagreen:20b2aa lightskyblue:87cefa lightslategray:778899 lightslategrey:778899 lightsteelblue:b0c4de lightyellow:ffffe0 lime:00ff00 limegreen:32cd32 linen:faf0e6 magenta:ff00ff maroon:800000 mediumaquamarine:66cdaa mediumblue:0000cd mediumorchid:ba55d3 mediumpurple:9370db mediumseagreen:3cb371 mediumslateblue:7b68ee mediumspringgreen:00fa9a mediumturquoise:48d1cc mediumvioletred:c71585 midnightblue:191970 mintcream:f5fffa mistyrose:ffe4e1 moccasin:ffe4b5 navajowhite:ffdead navy:000080 oldlace:fdf5e6 olive:808000 olivedrab:6b8e23 orange:ffa500 orangered:ff4500 orchid:da70d6 palegoldenrod:eee8aa palegreen:98fb98 paleturquoise:afeeee palevioletred:db7093 papayawhip:ffefd5 peachpuff:ffdab9 peru:cd853f pink:ffc0cb plum:dda0dd powderblue:b0e0e6 purple:800080 rebeccapurple:663399 red:ff0000 rosybrown:bc8f8f royalblue:4169e1 saddlebrown:8b4513 salmon:fa8072 sandybrown:f4a460 seagreen:2e8b57 seashell:fff5ee sienna:a0522d silver:c0c0c0 skyblue:87ceeb slateblue:6a5acd slategray:708090 slategrey:708090 snow:fffafa springgreen:00ff7f steelblue:4682b4 tan:d2b48c teal:008080 thistle:d8bfd8 tomato:ff6347 turquoise:40e0d0 violet:ee82ee wheat:f5deb3 white:ffffff whitesmoke:f5f5f5 yellow:ffff00 yellowgreen:9acd32".split(" ").map((e) => e.split(":")))), x$2;
|
|
7983
7983
|
}
|
|
7984
7984
|
function C$1(e) {
|
|
7985
7985
|
if (!/^(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$/.test(e)) return null;
|
|
@@ -8252,12 +8252,12 @@ function o(e) {
|
|
|
8252
8252
|
return t.origin + n.slice(0, i).join("/");
|
|
8253
8253
|
}
|
|
8254
8254
|
}
|
|
8255
|
-
function s
|
|
8255
|
+
function s() {
|
|
8256
8256
|
let e = globalThis[n]?.opts;
|
|
8257
8257
|
return e && typeof e == "object" ? e : {};
|
|
8258
8258
|
}
|
|
8259
|
-
function c
|
|
8260
|
-
return s
|
|
8259
|
+
function c() {
|
|
8260
|
+
return s().inTabOrder === !0;
|
|
8261
8261
|
}
|
|
8262
8262
|
function l(e) {
|
|
8263
8263
|
if (typeof e != "string" || !e) return;
|
|
@@ -8282,7 +8282,7 @@ function d(e) {
|
|
|
8282
8282
|
if (e && typeof e == "object") return new Map(Object.entries(e).map(([e, t]) => [e, typeof t == "string" ? t : void 0]));
|
|
8283
8283
|
}
|
|
8284
8284
|
function f(e, t) {
|
|
8285
|
-
let n = s
|
|
8285
|
+
let n = s(), r = l(e.assetRoot ?? n.assetRoot) ?? o(t);
|
|
8286
8286
|
return {
|
|
8287
8287
|
root: r,
|
|
8288
8288
|
speechPath: l(e.speechPath ?? n.speechPath) ?? (r ? `${r}/${i}` : void 0),
|
|
@@ -8342,7 +8342,7 @@ function ne() {
|
|
|
8342
8342
|
let e = window.MathJax?.version;
|
|
8343
8343
|
return typeof e == "string" && e.startsWith("3.") ? e : void 0;
|
|
8344
8344
|
}
|
|
8345
|
-
function x() {
|
|
8345
|
+
function x$1() {
|
|
8346
8346
|
return window.MathJax;
|
|
8347
8347
|
}
|
|
8348
8348
|
function re(t, { root: n, speechPath: r }) {
|
|
@@ -8404,7 +8404,7 @@ var he = {
|
|
|
8404
8404
|
medium: "0.07em",
|
|
8405
8405
|
thick: "0.14em"
|
|
8406
8406
|
};
|
|
8407
|
-
var S = {
|
|
8407
|
+
var S$1 = {
|
|
8408
8408
|
tight: "0em",
|
|
8409
8409
|
medium: "0.1em",
|
|
8410
8410
|
loose: "0.2em"
|
|
@@ -8649,7 +8649,7 @@ function Me(e, { rows: t }, n) {
|
|
|
8649
8649
|
}))));
|
|
8650
8650
|
for (let { name: t, value: n } of [...e.attributes]) ye.has(t) || r.setAttribute(t, n);
|
|
8651
8651
|
let i = E(e, "charspacing") ?? "medium", a = E(e, "charalign");
|
|
8652
|
-
return r.setAttribute("columnspacing", S[i] ?? (C.test(i) ? i : S.medium)), r.setAttribute("columnalign", a === "left" || a === "center" ? a : "right"), r.setAttribute("rowspacing", "0"), r.setAttribute("align", e.getAttribute("align") ?? "baseline"), r;
|
|
8652
|
+
return r.setAttribute("columnspacing", S$1[i] ?? (C.test(i) ? i : S$1.medium)), r.setAttribute("columnalign", a === "left" || a === "center" ? a : "right"), r.setAttribute("rowspacing", "0"), r.setAttribute("align", e.getAttribute("align") ?? "baseline"), r;
|
|
8653
8653
|
}
|
|
8654
8654
|
function Ne(e) {
|
|
8655
8655
|
return {
|
|
@@ -9113,7 +9113,9 @@ var ht = {
|
|
|
9113
9113
|
overarc: "\\overparen",
|
|
9114
9114
|
napprox: "\\not\\approx",
|
|
9115
9115
|
longdiv: "\\enclose{longdiv}",
|
|
9116
|
-
abs: ["\\left|#1\\right|", 1]
|
|
9116
|
+
abs: ["\\left|#1\\right|", 1],
|
|
9117
|
+
perpendicular: "\\perp",
|
|
9118
|
+
divide: "\\div"
|
|
9117
9119
|
};
|
|
9118
9120
|
var gt = "[math-rendering] using $ is not advisable, please use $$..$$ or \\(...\\)";
|
|
9119
9121
|
var _t = /\\\(|\\\[|\$\$|\\\$|\\begin\{|\\(?:eq)?ref\{/;
|
|
@@ -9169,19 +9171,19 @@ function Ft(e, t) {
|
|
|
9169
9171
|
}
|
|
9170
9172
|
function It(e) {
|
|
9171
9173
|
return new Promise((t, n) => {
|
|
9172
|
-
let { useSingleDollar: r = !1, accessibility: i = !0, loadFonts: a = !0, srcUrl: o } = e, s = f(e, import.meta.url), l = c
|
|
9174
|
+
let { useSingleDollar: r = !1, accessibility: i = !0, loadFonts: a = !0, srcUrl: o } = e, s = f(e, import.meta.url), l = c(), u = {
|
|
9173
9175
|
loader: {
|
|
9174
9176
|
load: i ? ["a11y/assistive-mml"] : [],
|
|
9175
9177
|
failed: (e) => n(e),
|
|
9176
9178
|
"output/svg": { ready: (e) => {
|
|
9177
|
-
let t = x();
|
|
9179
|
+
let t = x$1();
|
|
9178
9180
|
return Lt(t) && Rt(t), e;
|
|
9179
9181
|
} }
|
|
9180
9182
|
},
|
|
9181
9183
|
startup: {
|
|
9182
9184
|
typeset: !1,
|
|
9183
9185
|
ready: () => {
|
|
9184
|
-
let e = x(), r = e?.startup, i = Lt(e);
|
|
9186
|
+
let e = x$1(), r = e?.startup, i = Lt(e);
|
|
9185
9187
|
i && (Rt(e), zt(e, s.speechLocales), p(e?._?.a11y?.sre_ts?.locales, s.speechLocales)), r?.defaultReady?.(), i && (Bt(r?.document), Vt(r?.document), r?.document?.addStyles?.(wt), mt(r?.document)), Promise.resolve(r?.promise).then(() => t(), n);
|
|
9186
9188
|
}
|
|
9187
9189
|
},
|
|
@@ -9292,18 +9294,18 @@ function Kt(e) {
|
|
|
9292
9294
|
e.startup = r;
|
|
9293
9295
|
let i = r.ready;
|
|
9294
9296
|
r.ready = () => {
|
|
9295
|
-
let e = x()?.startup;
|
|
9297
|
+
let e = x$1()?.startup;
|
|
9296
9298
|
i ? i.call(r) : e?.defaultReady?.(), Promise.resolve(e?.promise).then(() => t(), n);
|
|
9297
9299
|
};
|
|
9298
9300
|
});
|
|
9299
9301
|
}
|
|
9300
9302
|
function qt(e) {
|
|
9301
|
-
let t = x();
|
|
9303
|
+
let t = x$1();
|
|
9302
9304
|
return t ? t.version ? t.startup?.promise ? Promise.resolve(t.startup.promise).then(() => void 0) : Promise.resolve() : Kt(t) : It(e);
|
|
9303
9305
|
}
|
|
9304
9306
|
function Jt(e) {
|
|
9305
9307
|
return qt(e).then(() => {
|
|
9306
|
-
let e = x();
|
|
9308
|
+
let e = x$1();
|
|
9307
9309
|
e && typeof e.typesetPromise != "function" && console.warn("[mathjax-renderer] MathJax on this page has no typesetPromise; math stays untypeset.");
|
|
9308
9310
|
});
|
|
9309
9311
|
}
|
|
@@ -9323,7 +9325,7 @@ function Xt(e = {}) {
|
|
|
9323
9325
|
return;
|
|
9324
9326
|
}
|
|
9325
9327
|
await i;
|
|
9326
|
-
let a = x();
|
|
9328
|
+
let a = x$1();
|
|
9327
9329
|
if (await a?.startup?.promise, typeof a?.typesetPromise == "function") {
|
|
9328
9330
|
Ue(), Gt(a.startup?.document);
|
|
9329
9331
|
try {
|
|
@@ -13837,7 +13839,7 @@ function t(t, n) {
|
|
|
13837
13839
|
//#region ../../shared/player-events/dist/index.js
|
|
13838
13840
|
var _e;
|
|
13839
13841
|
var _e2;
|
|
13840
|
-
var
|
|
13842
|
+
var x = (_e = class e extends CustomEvent {
|
|
13841
13843
|
constructor(t, n, r) {
|
|
13842
13844
|
super(e.TYPE, {
|
|
13843
13845
|
bubbles: !0,
|
|
@@ -13850,7 +13852,7 @@ var s = (_e = class e extends CustomEvent {
|
|
|
13850
13852
|
}), this.component = t, this.complete = n;
|
|
13851
13853
|
}
|
|
13852
13854
|
}, _e.TYPE = "model-set", _e);
|
|
13853
|
-
var
|
|
13855
|
+
var S = (_e2 = class e extends CustomEvent {
|
|
13854
13856
|
constructor(t, n) {
|
|
13855
13857
|
super(e.TYPE, {
|
|
13856
13858
|
bubbles: !0,
|
|
@@ -13878,7 +13880,7 @@ function r(r, i) {
|
|
|
13878
13880
|
}
|
|
13879
13881
|
set model(e) {
|
|
13880
13882
|
_classPrivateFieldSet2(_e, this, e), super.model = e, queueMicrotask(() => {
|
|
13881
|
-
this.dispatchEvent(new
|
|
13883
|
+
this.dispatchEvent(new x(this.tagName.toLowerCase(), this.isComplete(), _classPrivateFieldGet2(_e, this) !== void 0));
|
|
13882
13884
|
});
|
|
13883
13885
|
}
|
|
13884
13886
|
get model() {
|
|
@@ -13897,7 +13899,7 @@ function r(r, i) {
|
|
|
13897
13899
|
_classPrivateFieldSet2(_t, this, t(_classPrivateFieldGet2(_t, this), t$4)), super.session = t$4;
|
|
13898
13900
|
}
|
|
13899
13901
|
dispatchSessionChanged() {
|
|
13900
|
-
this.dispatchEvent(new
|
|
13902
|
+
this.dispatchEvent(new S(this.tagName.toLowerCase(), this.isComplete()));
|
|
13901
13903
|
}
|
|
13902
13904
|
}
|
|
13903
13905
|
return o;
|