@jxsuite/studio 4.0.0 → 4.1.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/dist/chunks/{2020-xp8vnwma.js → 2020-n6tfwnda.js} +2 -2
- package/dist/chunks/{Overlay.dev-723bv0df.js → Overlay.dev-etqjwyf9.js} +4 -4
- package/dist/chunks/cf-account-picker-en86v7x7.js +163 -0
- package/dist/chunks/{content-source-t88vb2dr.js → content-source-48xg86wj.js} +17 -17
- package/dist/chunks/{convert-to-repeater-dhw1nrz9.js → convert-to-repeater-43tfn7cs.js} +24 -24
- package/dist/chunks/{entry-commands-6z6bhxg0.js → entry-commands-e63f1xc0.js} +20 -20
- package/dist/chunks/{extension-sections-3ydgjbdy.js → extension-sections-txv08xxg.js} +23 -23
- package/dist/chunks/{file-ops-rskmhxyq.js → file-ops-wbh4hhsx.js} +16 -16
- package/dist/chunks/{files-0cratsr0.js → files-3kfkwhk4.js} +25 -24
- package/dist/chunks/{focus-trap.esm-ggawf1hy.js → focus-trap.esm-9t2drp0g.js} +6 -5
- package/dist/chunks/{format-host-tgcmfs4p.js → format-host-w16q81tf.js} +2 -2
- package/dist/chunks/fs-events-hrrg328g.js +1 -1
- package/dist/chunks/{git-panel-0yywyk76.js → git-panel-532whr1y.js} +16 -15
- package/dist/chunks/{index-nj44jpzj.js → index-wcnt3r9g.js} +2 -2
- package/dist/chunks/{jx-validate-8q2g05x1.js → jx-validate-8er6gbxy.js} +3 -3
- package/dist/chunks/{layers-panel-z3tqe5cd.js → layers-panel-07hm7g5j.js} +19 -19
- package/dist/chunks/{monaco-setup-rws7k4br.js → monaco-setup-vx9bhp1d.js} +2 -2
- package/dist/chunks/{publish-panel-54jvhskq.js → publish-panel-v9st96ja.js} +11 -10
- package/dist/chunks/{quick-search-cgfmjwq5.js → quick-search-zccjp6gv.js} +26 -25
- package/dist/chunks/{right-panel-cqp8bc4v.js → right-panel-vm3b6kwy.js} +17 -17
- package/dist/chunks/{sp-overlay.dev-yztmtrs1.js → sp-overlay.dev-qgvhnxf4.js} +5 -5
- package/dist/chunks/{sp-tooltip.dev-xcvpnqr0.js → sp-tooltip.dev-4sastdnw.js} +3 -3
- package/dist/chunks/{studio-txwkm6p9.js → studio-0bq6eh7v.js} +2 -2
- package/dist/chunks/studio-1ngbejft.js +181 -0
- package/dist/chunks/{studio-gv8vvshc.js → studio-1wagb550.js} +3 -3
- package/dist/chunks/{studio-kjjsjak4.js → studio-2b946z26.js} +58 -57
- package/dist/chunks/{studio-4pqqxbrt.js → studio-3bqpr0zh.js} +16 -16
- package/dist/chunks/{studio-v38hmvx1.js → studio-4b5z1x43.js} +42 -8
- package/dist/chunks/{studio-9c4k4vhv.js → studio-4n2b5gzb.js} +4 -4
- package/dist/chunks/{studio-p8j86wag.js → studio-4r1pv6zf.js} +2 -2
- package/dist/chunks/{studio-mmv72a27.js → studio-5fx3g9jg.js} +29 -48
- package/dist/chunks/{studio-5rywrkxz.js → studio-5myknm0a.js} +42 -42
- package/dist/chunks/{studio-sf7zjgv1.js → studio-6yw4y3my.js} +3 -3
- package/dist/chunks/{studio-pdfjntbk.js → studio-950k0dx6.js} +35 -35
- package/dist/chunks/{studio-eenfkt4e.js → studio-ahn3pdgx.js} +5 -5
- package/dist/chunks/{studio-eesa1myv.js → studio-b55y6ewx.js} +9 -9
- package/dist/chunks/{studio-cb12yz9w.js → studio-cmb03bg5.js} +99 -1264
- package/dist/chunks/studio-dm19q43r.js +195 -0
- package/dist/chunks/{studio-ahjfdy6e.js → studio-ef49pnzx.js} +6 -6
- package/dist/chunks/{studio-wx5609xd.js → studio-ew0djmhg.js} +10 -10
- package/dist/chunks/{studio-9r6j5ev1.js → studio-f3wqjtk5.js} +4 -3
- package/dist/chunks/{studio-8swrjbny.js → studio-fbf92ckf.js} +14 -14
- package/dist/chunks/{studio-4q0wznzf.js → studio-gcye7qka.js} +442 -126
- package/dist/chunks/{studio-ex8zyp98.js → studio-gfgb8pe6.js} +23 -184
- package/dist/chunks/{studio-r1r7afxx.js → studio-jc994dnr.js} +24 -24
- package/dist/chunks/{studio-yxrkyv8a.js → studio-jkftxyvz.js} +52 -3416
- package/dist/chunks/{studio-hbtp0eh1.js → studio-msd847zn.js} +13 -13
- package/dist/chunks/{studio-kyk2v92a.js → studio-mtfnaqs9.js} +14 -14
- package/dist/chunks/{studio-vadzgkrz.js → studio-n6j9t10q.js} +2 -2
- package/dist/chunks/{studio-68n67094.js → studio-q9jd1a60.js} +4 -4
- package/dist/chunks/studio-qcy05dp8.js +1743 -0
- package/dist/chunks/{studio-htsf0w6m.js → studio-qjy2z9bv.js} +12 -30
- package/dist/chunks/{studio-2zkz8evn.js → studio-trxrabqf.js} +12 -12
- package/dist/chunks/{studio-5q69gfag.js → studio-x4qkdat5.js} +12 -11
- package/dist/chunks/studio-x813zp48.js +195 -0
- package/dist/chunks/{studio-1hbqnt19.js → studio-zqazsct2.js} +29 -29
- package/dist/chunks/{workspace-xpres40v.js → workspace-fjx52ryv.js} +4 -4
- package/dist/iframe-entry.js +34 -33
- package/dist/manifest.json +7 -0
- package/dist/studio.js +534 -546
- package/favicon.ico +0 -0
- package/index.html +1 -0
- package/package.json +15 -14
- package/src/about/about-modal.ts +4 -3
- package/src/files/files.ts +6 -4
- package/src/files/media-paths.ts +13 -42
- package/src/files/media-usage.ts +41 -131
- package/src/hosting/document.ts +2 -0
- package/src/hosting/layout.ts +8 -0
- package/src/new-project/import-tab.ts +37 -15
- package/src/new-project/location-fields.ts +8 -5
- package/src/panels/ai-chat/composer.ts +10 -0
- package/src/platforms/cloud.ts +241 -70
- package/src/publish/publish-panel.ts +62 -2
- package/src/services/ai-import-tools.ts +50 -12
- package/src/services/ai-models.ts +108 -1
- package/src/services/context-manager.ts +12 -1
- package/src/services/tool-executor.ts +11 -0
- package/src/settings/preferences-accounts.ts +193 -12
- package/src/settings/preferences-dialog.ts +75 -18
- package/src/types.ts +27 -3
- package/src/ui/ai-managed-connect.ts +62 -13
- package/src/ui/ai-model-picker.ts +29 -2
- package/src/ui/cf-account-picker.ts +200 -0
- package/styles/shell.css +36 -0
- package/dist/chunks/studio-bw5dz6km.js +0 -608
|
@@ -6,18 +6,20 @@ import {
|
|
|
6
6
|
} from "./studio-qq6jym04.js";
|
|
7
7
|
import {
|
|
8
8
|
VFile,
|
|
9
|
+
find,
|
|
10
|
+
html as html2,
|
|
9
11
|
ok,
|
|
10
12
|
stringify,
|
|
11
13
|
stringify1 as stringify2,
|
|
12
14
|
stringifyPosition,
|
|
15
|
+
svg,
|
|
13
16
|
validateComponentSlots,
|
|
14
17
|
whitespace
|
|
15
|
-
} from "./studio-
|
|
18
|
+
} from "./studio-qcy05dp8.js";
|
|
16
19
|
import {
|
|
17
|
-
authoredRefTargets,
|
|
18
20
|
isMediaFile,
|
|
19
21
|
locateDocument
|
|
20
|
-
} from "./studio-
|
|
22
|
+
} from "./studio-qjy2z9bv.js";
|
|
21
23
|
import {
|
|
22
24
|
loadUsages,
|
|
23
25
|
peekUsages,
|
|
@@ -26,28 +28,20 @@ import {
|
|
|
26
28
|
} from "./studio-cft9r4r7.js";
|
|
27
29
|
import {
|
|
28
30
|
showProgressModal
|
|
29
|
-
} from "./studio-
|
|
31
|
+
} from "./studio-4n2b5gzb.js";
|
|
30
32
|
import {
|
|
31
33
|
deployStatusItem
|
|
32
|
-
} from "./studio-
|
|
34
|
+
} from "./studio-ef49pnzx.js";
|
|
33
35
|
import {
|
|
34
36
|
derivationOfPane,
|
|
35
37
|
flushCanvasEdits,
|
|
38
|
+
normalizeProjectPath,
|
|
36
39
|
rectOf,
|
|
37
40
|
tabOfPane
|
|
38
|
-
} from "./studio-
|
|
41
|
+
} from "./studio-2b946z26.js";
|
|
39
42
|
import {
|
|
40
43
|
shell
|
|
41
|
-
} from "./studio-
|
|
42
|
-
import {
|
|
43
|
-
activeRegistry,
|
|
44
|
-
paneRegion,
|
|
45
|
-
renderPopover,
|
|
46
|
-
showConfirmDialog
|
|
47
|
-
} from "./studio-t7qb9db8.js";
|
|
48
|
-
import {
|
|
49
|
-
errorMessage
|
|
50
|
-
} from "./studio-9n4mrmnb.js";
|
|
44
|
+
} from "./studio-msd847zn.js";
|
|
51
45
|
import {
|
|
52
46
|
EDITOR_KIND_LABELS,
|
|
53
47
|
PRIMARY_PANE,
|
|
@@ -60,7 +54,24 @@ import {
|
|
|
60
54
|
primarySelection,
|
|
61
55
|
setHistoryDelegate,
|
|
62
56
|
workspace
|
|
63
|
-
} from "./studio-
|
|
57
|
+
} from "./studio-trxrabqf.js";
|
|
58
|
+
import {
|
|
59
|
+
childList,
|
|
60
|
+
getNodeAtPath,
|
|
61
|
+
nodeLabel,
|
|
62
|
+
pathsEqual,
|
|
63
|
+
projectState,
|
|
64
|
+
statusbarEl
|
|
65
|
+
} from "./studio-p4ngc046.js";
|
|
66
|
+
import {
|
|
67
|
+
activeRegistry,
|
|
68
|
+
paneRegion,
|
|
69
|
+
renderPopover,
|
|
70
|
+
showConfirmDialog
|
|
71
|
+
} from "./studio-t7qb9db8.js";
|
|
72
|
+
import {
|
|
73
|
+
errorMessage
|
|
74
|
+
} from "./studio-9n4mrmnb.js";
|
|
64
75
|
import {
|
|
65
76
|
effect,
|
|
66
77
|
effectScope,
|
|
@@ -81,14 +92,6 @@ import {
|
|
|
81
92
|
nothing,
|
|
82
93
|
render
|
|
83
94
|
} from "./studio-kryvsw6j.js";
|
|
84
|
-
import {
|
|
85
|
-
childList,
|
|
86
|
-
getNodeAtPath,
|
|
87
|
-
nodeLabel,
|
|
88
|
-
pathsEqual,
|
|
89
|
-
projectState,
|
|
90
|
-
statusbarEl
|
|
91
|
-
} from "./studio-p4ngc046.js";
|
|
92
95
|
import {
|
|
93
96
|
displayTagName
|
|
94
97
|
} from "./studio-q7v10cg2.js";
|
|
@@ -102,7 +105,7 @@ import {
|
|
|
102
105
|
loadFormats,
|
|
103
106
|
noFormatError,
|
|
104
107
|
splitFormatDocument
|
|
105
|
-
} from "./studio-
|
|
108
|
+
} from "./studio-ahn3pdgx.js";
|
|
106
109
|
import {
|
|
107
110
|
getPlatform,
|
|
108
111
|
hasPlatform
|
|
@@ -562,7 +565,7 @@ var require_browser = __commonJS(function(exports, module) {
|
|
|
562
565
|
var require_extend = __commonJS(function(exports, module) {
|
|
563
566
|
var hasOwn = Object.prototype.hasOwnProperty;
|
|
564
567
|
var toStr = Object.prototype.toString;
|
|
565
|
-
var
|
|
568
|
+
var defineProperty2 = Object.defineProperty;
|
|
566
569
|
var gOPD = Object.getOwnPropertyDescriptor;
|
|
567
570
|
var isArray = function isArray2(arr) {
|
|
568
571
|
if (typeof Array.isArray === "function") {
|
|
@@ -584,8 +587,8 @@ var require_extend = __commonJS(function(exports, module) {
|
|
|
584
587
|
return typeof key2 === "undefined" || hasOwn.call(obj, key2);
|
|
585
588
|
};
|
|
586
589
|
var setProperty = function setProperty2(target, options) {
|
|
587
|
-
if (
|
|
588
|
-
|
|
590
|
+
if (defineProperty2 && options.name === "__proto__") {
|
|
591
|
+
defineProperty2(target, options.name, {
|
|
589
592
|
enumerable: true,
|
|
590
593
|
configurable: true,
|
|
591
594
|
value: options.newValue,
|
|
@@ -646,85 +649,18 @@ var require_extend = __commonJS(function(exports, module) {
|
|
|
646
649
|
});
|
|
647
650
|
|
|
648
651
|
// src/files/media-usage.ts
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
const existing = into.get(file.path);
|
|
654
|
-
if (!existing) {
|
|
655
|
-
into.set(file.path, { count: file.count, path: file.path, refs: [...file.refs] });
|
|
656
|
-
return;
|
|
657
|
-
}
|
|
658
|
-
for (const hit of file.refs) {
|
|
659
|
-
const same = existing.refs.find((candidate) => candidate.refType === hit.refType && candidate.ref === hit.ref);
|
|
660
|
-
if (same) {
|
|
661
|
-
same.count += hit.count;
|
|
662
|
-
} else {
|
|
663
|
-
existing.refs.push({ ...hit });
|
|
664
|
-
}
|
|
665
|
-
}
|
|
666
|
-
existing.count += file.count;
|
|
667
|
-
}
|
|
668
|
-
function unionResults(path, results) {
|
|
669
|
-
const files = new Map;
|
|
670
|
-
const errors = new Map;
|
|
671
|
-
for (const result of results) {
|
|
672
|
-
for (const file of result.files) {
|
|
673
|
-
mergeFile(files, file);
|
|
674
|
-
}
|
|
675
|
-
for (const error of result.errors) {
|
|
676
|
-
if (!errors.has(error.path)) {
|
|
677
|
-
errors.set(error.path, error);
|
|
678
|
-
}
|
|
679
|
-
}
|
|
680
|
-
}
|
|
681
|
-
const merged = [...files.values()].toSorted((a, b) => a.path.localeCompare(b.path));
|
|
682
|
-
return {
|
|
683
|
-
errors: [...errors.values()],
|
|
684
|
-
files: merged,
|
|
685
|
-
filesReferencing: merged.length,
|
|
686
|
-
path,
|
|
687
|
-
refsTotal: merged.reduce((sum, file) => sum + file.count, 0),
|
|
688
|
-
tagName: null
|
|
689
|
-
};
|
|
690
|
-
}
|
|
691
|
-
function combine(path, states) {
|
|
692
|
-
if (states.some((state) => state.status === "unsupported")) {
|
|
693
|
-
return { status: "unsupported" };
|
|
694
|
-
}
|
|
695
|
-
const failure = states.find((state) => state.status === "failed");
|
|
696
|
-
if (failure) {
|
|
697
|
-
return failure;
|
|
698
|
-
}
|
|
699
|
-
if (states.some((state) => state.status === "pending")) {
|
|
700
|
-
return { status: "pending" };
|
|
701
|
-
}
|
|
702
|
-
return {
|
|
703
|
-
result: unionResults(path, states.map((state) => state.result)),
|
|
704
|
-
status: "ready"
|
|
705
|
-
};
|
|
652
|
+
var NO_FILE = { message: "no media file to look for", status: "failed" };
|
|
653
|
+
function mediaQuery(path) {
|
|
654
|
+
const normalized = normalizeProjectPath(path);
|
|
655
|
+
return normalized === "" ? null : { path: normalized };
|
|
706
656
|
}
|
|
707
657
|
function peekMediaUsages(path) {
|
|
708
|
-
const
|
|
709
|
-
|
|
710
|
-
return null;
|
|
711
|
-
}
|
|
712
|
-
const states = [];
|
|
713
|
-
for (const query of queries) {
|
|
714
|
-
const state = peekUsages(query);
|
|
715
|
-
if (state === null) {
|
|
716
|
-
return null;
|
|
717
|
-
}
|
|
718
|
-
states.push(state);
|
|
719
|
-
}
|
|
720
|
-
return combine(path, states);
|
|
658
|
+
const query = mediaQuery(path);
|
|
659
|
+
return query === null ? null : peekUsages(query);
|
|
721
660
|
}
|
|
722
661
|
async function loadMediaUsages(path) {
|
|
723
|
-
const
|
|
724
|
-
|
|
725
|
-
return { message: "no media file to look for", status: "failed" };
|
|
726
|
-
}
|
|
727
|
-
return combine(path, await Promise.all(queries.map((query) => loadUsages(query))));
|
|
662
|
+
const query = mediaQuery(path);
|
|
663
|
+
return query === null ? NO_FILE : loadUsages(query);
|
|
728
664
|
}
|
|
729
665
|
function mediaUsageHeadline(state) {
|
|
730
666
|
if (state === null) {
|
|
@@ -1065,6 +1001,7 @@ var ERROR = 7;
|
|
|
1065
1001
|
var BIGINT = 8;
|
|
1066
1002
|
|
|
1067
1003
|
// ../../node_modules/@ungap/structured-clone/esm/deserialize.js
|
|
1004
|
+
var { defineProperty } = Object;
|
|
1068
1005
|
var env = typeof self === "object" ? self : globalThis;
|
|
1069
1006
|
var guard = (name, init) => {
|
|
1070
1007
|
switch (name) {
|
|
@@ -1099,8 +1036,18 @@ var deserializer = ($, _) => {
|
|
|
1099
1036
|
}
|
|
1100
1037
|
case OBJECT: {
|
|
1101
1038
|
const object = as({}, index);
|
|
1102
|
-
for (const [key, index2] of value)
|
|
1103
|
-
|
|
1039
|
+
for (const [key, index2] of value) {
|
|
1040
|
+
const k = unpair(key), value2 = unpair(index2);
|
|
1041
|
+
if (k === "__proto__")
|
|
1042
|
+
defineProperty(object, k, {
|
|
1043
|
+
value: value2,
|
|
1044
|
+
configurable: true,
|
|
1045
|
+
enumerable: true,
|
|
1046
|
+
writable: true
|
|
1047
|
+
});
|
|
1048
|
+
else
|
|
1049
|
+
object[k] = value2;
|
|
1050
|
+
}
|
|
1104
1051
|
return object;
|
|
1105
1052
|
}
|
|
1106
1053
|
case DATE:
|
|
@@ -1123,7 +1070,7 @@ var deserializer = ($, _) => {
|
|
|
1123
1070
|
}
|
|
1124
1071
|
case ERROR: {
|
|
1125
1072
|
const { name, message } = value;
|
|
1126
|
-
return as(guard(name, message), index);
|
|
1073
|
+
return as(typeof env[name] === "function" ? guard(name, message) : new Error(message), index);
|
|
1127
1074
|
}
|
|
1128
1075
|
case BIGINT:
|
|
1129
1076
|
return as(BigInt(value), index);
|
|
@@ -1135,6 +1082,8 @@ var deserializer = ($, _) => {
|
|
|
1135
1082
|
const { buffer } = new Uint8Array(value);
|
|
1136
1083
|
return as(new DataView(buffer), value);
|
|
1137
1084
|
}
|
|
1085
|
+
case "-0":
|
|
1086
|
+
return -0;
|
|
1138
1087
|
}
|
|
1139
1088
|
return as(guard(type, value), index);
|
|
1140
1089
|
};
|
|
@@ -1145,7 +1094,7 @@ var deserialize = (serialized) => deserializer(new Map, serialized)(0);
|
|
|
1145
1094
|
// ../../node_modules/@ungap/structured-clone/esm/serialize.js
|
|
1146
1095
|
var EMPTY = "";
|
|
1147
1096
|
var { toString } = {};
|
|
1148
|
-
var { keys } = Object;
|
|
1097
|
+
var { keys, is } = Object;
|
|
1149
1098
|
var typeOf = (value) => {
|
|
1150
1099
|
const type = typeof value;
|
|
1151
1100
|
if (type !== "object" || !value)
|
|
@@ -1169,8 +1118,8 @@ var typeOf = (value) => {
|
|
|
1169
1118
|
}
|
|
1170
1119
|
if (asString.includes("Array"))
|
|
1171
1120
|
return [ARRAY, asString];
|
|
1172
|
-
if (
|
|
1173
|
-
return [ERROR,
|
|
1121
|
+
if (value instanceof Error)
|
|
1122
|
+
return [ERROR, value.name || "Error"];
|
|
1174
1123
|
return [OBJECT, asString];
|
|
1175
1124
|
};
|
|
1176
1125
|
var shouldSkip = ([TYPE, type]) => TYPE === PRIMITIVE && (type === "function" || type === "symbol");
|
|
@@ -1192,6 +1141,10 @@ var serializer = (strict, json, $, _) => {
|
|
|
1192
1141
|
TYPE = BIGINT;
|
|
1193
1142
|
entry = value.toString();
|
|
1194
1143
|
break;
|
|
1144
|
+
case "number":
|
|
1145
|
+
if (!value && is(value, -0))
|
|
1146
|
+
return _.push(["-0"]) - 1;
|
|
1147
|
+
break;
|
|
1195
1148
|
case "function":
|
|
1196
1149
|
case "symbol":
|
|
1197
1150
|
if (strict)
|
|
@@ -1241,7 +1194,7 @@ var serializer = (strict, json, $, _) => {
|
|
|
1241
1194
|
return index;
|
|
1242
1195
|
}
|
|
1243
1196
|
case DATE:
|
|
1244
|
-
return as([TYPE, value.toISOString()], value);
|
|
1197
|
+
return as([TYPE, isNaN(value.getTime()) ? EMPTY : value.toISOString()], value);
|
|
1245
1198
|
case REGEXP: {
|
|
1246
1199
|
const { source, flags } = value;
|
|
1247
1200
|
return as([TYPE, { source, flags }], value);
|
|
@@ -1751,1124 +1704,6 @@ var htmlVoidElements = [
|
|
|
1751
1704
|
"wbr"
|
|
1752
1705
|
];
|
|
1753
1706
|
|
|
1754
|
-
// ../../node_modules/hast-util-to-html/node_modules/property-information/lib/util/schema.js
|
|
1755
|
-
class Schema {
|
|
1756
|
-
constructor(property, normal, space) {
|
|
1757
|
-
this.normal = normal;
|
|
1758
|
-
this.property = property;
|
|
1759
|
-
if (space) {
|
|
1760
|
-
this.space = space;
|
|
1761
|
-
}
|
|
1762
|
-
}
|
|
1763
|
-
}
|
|
1764
|
-
Schema.prototype.normal = {};
|
|
1765
|
-
Schema.prototype.property = {};
|
|
1766
|
-
Schema.prototype.space = undefined;
|
|
1767
|
-
|
|
1768
|
-
// ../../node_modules/hast-util-to-html/node_modules/property-information/lib/util/merge.js
|
|
1769
|
-
function merge(definitions, space) {
|
|
1770
|
-
const property = {};
|
|
1771
|
-
const normal = {};
|
|
1772
|
-
for (const definition of definitions) {
|
|
1773
|
-
Object.assign(property, definition.property);
|
|
1774
|
-
Object.assign(normal, definition.normal);
|
|
1775
|
-
}
|
|
1776
|
-
return new Schema(property, normal, space);
|
|
1777
|
-
}
|
|
1778
|
-
|
|
1779
|
-
// ../../node_modules/hast-util-to-html/node_modules/property-information/lib/normalize.js
|
|
1780
|
-
function normalize(value) {
|
|
1781
|
-
return value.toLowerCase();
|
|
1782
|
-
}
|
|
1783
|
-
|
|
1784
|
-
// ../../node_modules/hast-util-to-html/node_modules/property-information/lib/util/info.js
|
|
1785
|
-
class Info {
|
|
1786
|
-
constructor(property, attribute) {
|
|
1787
|
-
this.attribute = attribute;
|
|
1788
|
-
this.property = property;
|
|
1789
|
-
}
|
|
1790
|
-
}
|
|
1791
|
-
Info.prototype.attribute = "";
|
|
1792
|
-
Info.prototype.booleanish = false;
|
|
1793
|
-
Info.prototype.boolean = false;
|
|
1794
|
-
Info.prototype.commaOrSpaceSeparated = false;
|
|
1795
|
-
Info.prototype.commaSeparated = false;
|
|
1796
|
-
Info.prototype.defined = false;
|
|
1797
|
-
Info.prototype.mustUseProperty = false;
|
|
1798
|
-
Info.prototype.number = false;
|
|
1799
|
-
Info.prototype.overloadedBoolean = false;
|
|
1800
|
-
Info.prototype.property = "";
|
|
1801
|
-
Info.prototype.spaceSeparated = false;
|
|
1802
|
-
Info.prototype.space = undefined;
|
|
1803
|
-
|
|
1804
|
-
// ../../node_modules/hast-util-to-html/node_modules/property-information/lib/util/types.js
|
|
1805
|
-
var exports_types = {};
|
|
1806
|
-
__export(exports_types, {
|
|
1807
|
-
boolean: () => boolean,
|
|
1808
|
-
booleanish: () => booleanish,
|
|
1809
|
-
commaOrSpaceSeparated: () => commaOrSpaceSeparated,
|
|
1810
|
-
commaSeparated: () => commaSeparated,
|
|
1811
|
-
number: () => number,
|
|
1812
|
-
overloadedBoolean: () => overloadedBoolean,
|
|
1813
|
-
spaceSeparated: () => spaceSeparated
|
|
1814
|
-
});
|
|
1815
|
-
var powers = 0;
|
|
1816
|
-
var boolean = increment();
|
|
1817
|
-
var booleanish = increment();
|
|
1818
|
-
var overloadedBoolean = increment();
|
|
1819
|
-
var number = increment();
|
|
1820
|
-
var spaceSeparated = increment();
|
|
1821
|
-
var commaSeparated = increment();
|
|
1822
|
-
var commaOrSpaceSeparated = increment();
|
|
1823
|
-
function increment() {
|
|
1824
|
-
return 2 ** ++powers;
|
|
1825
|
-
}
|
|
1826
|
-
|
|
1827
|
-
// ../../node_modules/hast-util-to-html/node_modules/property-information/lib/util/defined-info.js
|
|
1828
|
-
var checks = Object.keys(exports_types);
|
|
1829
|
-
|
|
1830
|
-
class DefinedInfo extends Info {
|
|
1831
|
-
constructor(property, attribute, mask, space) {
|
|
1832
|
-
let index = -1;
|
|
1833
|
-
super(property, attribute);
|
|
1834
|
-
mark(this, "space", space);
|
|
1835
|
-
if (typeof mask === "number") {
|
|
1836
|
-
while (++index < checks.length) {
|
|
1837
|
-
const check = checks[index];
|
|
1838
|
-
mark(this, checks[index], (mask & exports_types[check]) === exports_types[check]);
|
|
1839
|
-
}
|
|
1840
|
-
}
|
|
1841
|
-
}
|
|
1842
|
-
}
|
|
1843
|
-
DefinedInfo.prototype.defined = true;
|
|
1844
|
-
function mark(values, key, value) {
|
|
1845
|
-
if (value) {
|
|
1846
|
-
values[key] = value;
|
|
1847
|
-
}
|
|
1848
|
-
}
|
|
1849
|
-
|
|
1850
|
-
// ../../node_modules/hast-util-to-html/node_modules/property-information/lib/util/create.js
|
|
1851
|
-
function create(definition) {
|
|
1852
|
-
const properties2 = {};
|
|
1853
|
-
const normals = {};
|
|
1854
|
-
for (const [property, value] of Object.entries(definition.properties)) {
|
|
1855
|
-
const info = new DefinedInfo(property, definition.transform(definition.attributes || {}, property), value, definition.space);
|
|
1856
|
-
if (definition.mustUseProperty && definition.mustUseProperty.includes(property)) {
|
|
1857
|
-
info.mustUseProperty = true;
|
|
1858
|
-
}
|
|
1859
|
-
properties2[property] = info;
|
|
1860
|
-
normals[normalize(property)] = property;
|
|
1861
|
-
normals[normalize(info.attribute)] = property;
|
|
1862
|
-
}
|
|
1863
|
-
return new Schema(properties2, normals, definition.space);
|
|
1864
|
-
}
|
|
1865
|
-
|
|
1866
|
-
// ../../node_modules/hast-util-to-html/node_modules/property-information/lib/aria.js
|
|
1867
|
-
var aria2 = create({
|
|
1868
|
-
properties: {
|
|
1869
|
-
ariaActiveDescendant: null,
|
|
1870
|
-
ariaAtomic: booleanish,
|
|
1871
|
-
ariaAutoComplete: null,
|
|
1872
|
-
ariaBusy: booleanish,
|
|
1873
|
-
ariaChecked: booleanish,
|
|
1874
|
-
ariaColCount: number,
|
|
1875
|
-
ariaColIndex: number,
|
|
1876
|
-
ariaColSpan: number,
|
|
1877
|
-
ariaControls: spaceSeparated,
|
|
1878
|
-
ariaCurrent: null,
|
|
1879
|
-
ariaDescribedBy: spaceSeparated,
|
|
1880
|
-
ariaDetails: null,
|
|
1881
|
-
ariaDisabled: booleanish,
|
|
1882
|
-
ariaDropEffect: spaceSeparated,
|
|
1883
|
-
ariaErrorMessage: null,
|
|
1884
|
-
ariaExpanded: booleanish,
|
|
1885
|
-
ariaFlowTo: spaceSeparated,
|
|
1886
|
-
ariaGrabbed: booleanish,
|
|
1887
|
-
ariaHasPopup: null,
|
|
1888
|
-
ariaHidden: booleanish,
|
|
1889
|
-
ariaInvalid: null,
|
|
1890
|
-
ariaKeyShortcuts: null,
|
|
1891
|
-
ariaLabel: null,
|
|
1892
|
-
ariaLabelledBy: spaceSeparated,
|
|
1893
|
-
ariaLevel: number,
|
|
1894
|
-
ariaLive: null,
|
|
1895
|
-
ariaModal: booleanish,
|
|
1896
|
-
ariaMultiLine: booleanish,
|
|
1897
|
-
ariaMultiSelectable: booleanish,
|
|
1898
|
-
ariaOrientation: null,
|
|
1899
|
-
ariaOwns: spaceSeparated,
|
|
1900
|
-
ariaPlaceholder: null,
|
|
1901
|
-
ariaPosInSet: number,
|
|
1902
|
-
ariaPressed: booleanish,
|
|
1903
|
-
ariaReadOnly: booleanish,
|
|
1904
|
-
ariaRelevant: null,
|
|
1905
|
-
ariaRequired: booleanish,
|
|
1906
|
-
ariaRoleDescription: spaceSeparated,
|
|
1907
|
-
ariaRowCount: number,
|
|
1908
|
-
ariaRowIndex: number,
|
|
1909
|
-
ariaRowSpan: number,
|
|
1910
|
-
ariaSelected: booleanish,
|
|
1911
|
-
ariaSetSize: number,
|
|
1912
|
-
ariaSort: null,
|
|
1913
|
-
ariaValueMax: number,
|
|
1914
|
-
ariaValueMin: number,
|
|
1915
|
-
ariaValueNow: number,
|
|
1916
|
-
ariaValueText: null,
|
|
1917
|
-
role: null
|
|
1918
|
-
},
|
|
1919
|
-
transform(_, property) {
|
|
1920
|
-
return property === "role" ? property : "aria-" + property.slice(4).toLowerCase();
|
|
1921
|
-
}
|
|
1922
|
-
});
|
|
1923
|
-
|
|
1924
|
-
// ../../node_modules/hast-util-to-html/node_modules/property-information/lib/util/case-sensitive-transform.js
|
|
1925
|
-
function caseSensitiveTransform(attributes, attribute) {
|
|
1926
|
-
return attribute in attributes ? attributes[attribute] : attribute;
|
|
1927
|
-
}
|
|
1928
|
-
|
|
1929
|
-
// ../../node_modules/hast-util-to-html/node_modules/property-information/lib/util/case-insensitive-transform.js
|
|
1930
|
-
function caseInsensitiveTransform(attributes, property) {
|
|
1931
|
-
return caseSensitiveTransform(attributes, property.toLowerCase());
|
|
1932
|
-
}
|
|
1933
|
-
|
|
1934
|
-
// ../../node_modules/hast-util-to-html/node_modules/property-information/lib/html.js
|
|
1935
|
-
var html2 = create({
|
|
1936
|
-
attributes: {
|
|
1937
|
-
acceptcharset: "accept-charset",
|
|
1938
|
-
classname: "class",
|
|
1939
|
-
htmlfor: "for",
|
|
1940
|
-
httpequiv: "http-equiv"
|
|
1941
|
-
},
|
|
1942
|
-
mustUseProperty: ["checked", "multiple", "muted", "selected"],
|
|
1943
|
-
properties: {
|
|
1944
|
-
abbr: null,
|
|
1945
|
-
accept: commaSeparated,
|
|
1946
|
-
acceptCharset: spaceSeparated,
|
|
1947
|
-
accessKey: spaceSeparated,
|
|
1948
|
-
action: null,
|
|
1949
|
-
allow: null,
|
|
1950
|
-
allowFullScreen: boolean,
|
|
1951
|
-
allowPaymentRequest: boolean,
|
|
1952
|
-
allowUserMedia: boolean,
|
|
1953
|
-
alt: null,
|
|
1954
|
-
as: null,
|
|
1955
|
-
async: boolean,
|
|
1956
|
-
autoCapitalize: null,
|
|
1957
|
-
autoComplete: spaceSeparated,
|
|
1958
|
-
autoFocus: boolean,
|
|
1959
|
-
autoPlay: boolean,
|
|
1960
|
-
blocking: spaceSeparated,
|
|
1961
|
-
capture: null,
|
|
1962
|
-
charSet: null,
|
|
1963
|
-
checked: boolean,
|
|
1964
|
-
cite: null,
|
|
1965
|
-
className: spaceSeparated,
|
|
1966
|
-
cols: number,
|
|
1967
|
-
colSpan: null,
|
|
1968
|
-
content: null,
|
|
1969
|
-
contentEditable: booleanish,
|
|
1970
|
-
controls: boolean,
|
|
1971
|
-
controlsList: spaceSeparated,
|
|
1972
|
-
coords: number | commaSeparated,
|
|
1973
|
-
crossOrigin: null,
|
|
1974
|
-
data: null,
|
|
1975
|
-
dateTime: null,
|
|
1976
|
-
decoding: null,
|
|
1977
|
-
default: boolean,
|
|
1978
|
-
defer: boolean,
|
|
1979
|
-
dir: null,
|
|
1980
|
-
dirName: null,
|
|
1981
|
-
disabled: boolean,
|
|
1982
|
-
download: overloadedBoolean,
|
|
1983
|
-
draggable: booleanish,
|
|
1984
|
-
encType: null,
|
|
1985
|
-
enterKeyHint: null,
|
|
1986
|
-
fetchPriority: null,
|
|
1987
|
-
form: null,
|
|
1988
|
-
formAction: null,
|
|
1989
|
-
formEncType: null,
|
|
1990
|
-
formMethod: null,
|
|
1991
|
-
formNoValidate: boolean,
|
|
1992
|
-
formTarget: null,
|
|
1993
|
-
headers: spaceSeparated,
|
|
1994
|
-
height: number,
|
|
1995
|
-
hidden: overloadedBoolean,
|
|
1996
|
-
high: number,
|
|
1997
|
-
href: null,
|
|
1998
|
-
hrefLang: null,
|
|
1999
|
-
htmlFor: spaceSeparated,
|
|
2000
|
-
httpEquiv: spaceSeparated,
|
|
2001
|
-
id: null,
|
|
2002
|
-
imageSizes: null,
|
|
2003
|
-
imageSrcSet: null,
|
|
2004
|
-
inert: boolean,
|
|
2005
|
-
inputMode: null,
|
|
2006
|
-
integrity: null,
|
|
2007
|
-
is: null,
|
|
2008
|
-
isMap: boolean,
|
|
2009
|
-
itemId: null,
|
|
2010
|
-
itemProp: spaceSeparated,
|
|
2011
|
-
itemRef: spaceSeparated,
|
|
2012
|
-
itemScope: boolean,
|
|
2013
|
-
itemType: spaceSeparated,
|
|
2014
|
-
kind: null,
|
|
2015
|
-
label: null,
|
|
2016
|
-
lang: null,
|
|
2017
|
-
language: null,
|
|
2018
|
-
list: null,
|
|
2019
|
-
loading: null,
|
|
2020
|
-
loop: boolean,
|
|
2021
|
-
low: number,
|
|
2022
|
-
manifest: null,
|
|
2023
|
-
max: null,
|
|
2024
|
-
maxLength: number,
|
|
2025
|
-
media: null,
|
|
2026
|
-
method: null,
|
|
2027
|
-
min: null,
|
|
2028
|
-
minLength: number,
|
|
2029
|
-
multiple: boolean,
|
|
2030
|
-
muted: boolean,
|
|
2031
|
-
name: null,
|
|
2032
|
-
nonce: null,
|
|
2033
|
-
noModule: boolean,
|
|
2034
|
-
noValidate: boolean,
|
|
2035
|
-
onAbort: null,
|
|
2036
|
-
onAfterPrint: null,
|
|
2037
|
-
onAuxClick: null,
|
|
2038
|
-
onBeforeMatch: null,
|
|
2039
|
-
onBeforePrint: null,
|
|
2040
|
-
onBeforeToggle: null,
|
|
2041
|
-
onBeforeUnload: null,
|
|
2042
|
-
onBlur: null,
|
|
2043
|
-
onCancel: null,
|
|
2044
|
-
onCanPlay: null,
|
|
2045
|
-
onCanPlayThrough: null,
|
|
2046
|
-
onChange: null,
|
|
2047
|
-
onClick: null,
|
|
2048
|
-
onClose: null,
|
|
2049
|
-
onContextLost: null,
|
|
2050
|
-
onContextMenu: null,
|
|
2051
|
-
onContextRestored: null,
|
|
2052
|
-
onCopy: null,
|
|
2053
|
-
onCueChange: null,
|
|
2054
|
-
onCut: null,
|
|
2055
|
-
onDblClick: null,
|
|
2056
|
-
onDrag: null,
|
|
2057
|
-
onDragEnd: null,
|
|
2058
|
-
onDragEnter: null,
|
|
2059
|
-
onDragExit: null,
|
|
2060
|
-
onDragLeave: null,
|
|
2061
|
-
onDragOver: null,
|
|
2062
|
-
onDragStart: null,
|
|
2063
|
-
onDrop: null,
|
|
2064
|
-
onDurationChange: null,
|
|
2065
|
-
onEmptied: null,
|
|
2066
|
-
onEnded: null,
|
|
2067
|
-
onError: null,
|
|
2068
|
-
onFocus: null,
|
|
2069
|
-
onFormData: null,
|
|
2070
|
-
onHashChange: null,
|
|
2071
|
-
onInput: null,
|
|
2072
|
-
onInvalid: null,
|
|
2073
|
-
onKeyDown: null,
|
|
2074
|
-
onKeyPress: null,
|
|
2075
|
-
onKeyUp: null,
|
|
2076
|
-
onLanguageChange: null,
|
|
2077
|
-
onLoad: null,
|
|
2078
|
-
onLoadedData: null,
|
|
2079
|
-
onLoadedMetadata: null,
|
|
2080
|
-
onLoadEnd: null,
|
|
2081
|
-
onLoadStart: null,
|
|
2082
|
-
onMessage: null,
|
|
2083
|
-
onMessageError: null,
|
|
2084
|
-
onMouseDown: null,
|
|
2085
|
-
onMouseEnter: null,
|
|
2086
|
-
onMouseLeave: null,
|
|
2087
|
-
onMouseMove: null,
|
|
2088
|
-
onMouseOut: null,
|
|
2089
|
-
onMouseOver: null,
|
|
2090
|
-
onMouseUp: null,
|
|
2091
|
-
onOffline: null,
|
|
2092
|
-
onOnline: null,
|
|
2093
|
-
onPageHide: null,
|
|
2094
|
-
onPageShow: null,
|
|
2095
|
-
onPaste: null,
|
|
2096
|
-
onPause: null,
|
|
2097
|
-
onPlay: null,
|
|
2098
|
-
onPlaying: null,
|
|
2099
|
-
onPopState: null,
|
|
2100
|
-
onProgress: null,
|
|
2101
|
-
onRateChange: null,
|
|
2102
|
-
onRejectionHandled: null,
|
|
2103
|
-
onReset: null,
|
|
2104
|
-
onResize: null,
|
|
2105
|
-
onScroll: null,
|
|
2106
|
-
onScrollEnd: null,
|
|
2107
|
-
onSecurityPolicyViolation: null,
|
|
2108
|
-
onSeeked: null,
|
|
2109
|
-
onSeeking: null,
|
|
2110
|
-
onSelect: null,
|
|
2111
|
-
onSlotChange: null,
|
|
2112
|
-
onStalled: null,
|
|
2113
|
-
onStorage: null,
|
|
2114
|
-
onSubmit: null,
|
|
2115
|
-
onSuspend: null,
|
|
2116
|
-
onTimeUpdate: null,
|
|
2117
|
-
onToggle: null,
|
|
2118
|
-
onUnhandledRejection: null,
|
|
2119
|
-
onUnload: null,
|
|
2120
|
-
onVolumeChange: null,
|
|
2121
|
-
onWaiting: null,
|
|
2122
|
-
onWheel: null,
|
|
2123
|
-
open: boolean,
|
|
2124
|
-
optimum: number,
|
|
2125
|
-
pattern: null,
|
|
2126
|
-
ping: spaceSeparated,
|
|
2127
|
-
placeholder: null,
|
|
2128
|
-
playsInline: boolean,
|
|
2129
|
-
popover: null,
|
|
2130
|
-
popoverTarget: null,
|
|
2131
|
-
popoverTargetAction: null,
|
|
2132
|
-
poster: null,
|
|
2133
|
-
preload: null,
|
|
2134
|
-
readOnly: boolean,
|
|
2135
|
-
referrerPolicy: null,
|
|
2136
|
-
rel: spaceSeparated,
|
|
2137
|
-
required: boolean,
|
|
2138
|
-
reversed: boolean,
|
|
2139
|
-
rows: number,
|
|
2140
|
-
rowSpan: number,
|
|
2141
|
-
sandbox: spaceSeparated,
|
|
2142
|
-
scope: null,
|
|
2143
|
-
scoped: boolean,
|
|
2144
|
-
seamless: boolean,
|
|
2145
|
-
selected: boolean,
|
|
2146
|
-
shadowRootClonable: boolean,
|
|
2147
|
-
shadowRootDelegatesFocus: boolean,
|
|
2148
|
-
shadowRootMode: null,
|
|
2149
|
-
shape: null,
|
|
2150
|
-
size: number,
|
|
2151
|
-
sizes: null,
|
|
2152
|
-
slot: null,
|
|
2153
|
-
span: number,
|
|
2154
|
-
spellCheck: booleanish,
|
|
2155
|
-
src: null,
|
|
2156
|
-
srcDoc: null,
|
|
2157
|
-
srcLang: null,
|
|
2158
|
-
srcSet: null,
|
|
2159
|
-
start: number,
|
|
2160
|
-
step: null,
|
|
2161
|
-
style: null,
|
|
2162
|
-
tabIndex: number,
|
|
2163
|
-
target: null,
|
|
2164
|
-
title: null,
|
|
2165
|
-
translate: null,
|
|
2166
|
-
type: null,
|
|
2167
|
-
typeMustMatch: boolean,
|
|
2168
|
-
useMap: null,
|
|
2169
|
-
value: booleanish,
|
|
2170
|
-
width: number,
|
|
2171
|
-
wrap: null,
|
|
2172
|
-
writingSuggestions: null,
|
|
2173
|
-
align: null,
|
|
2174
|
-
aLink: null,
|
|
2175
|
-
archive: spaceSeparated,
|
|
2176
|
-
axis: null,
|
|
2177
|
-
background: null,
|
|
2178
|
-
bgColor: null,
|
|
2179
|
-
border: number,
|
|
2180
|
-
borderColor: null,
|
|
2181
|
-
bottomMargin: number,
|
|
2182
|
-
cellPadding: null,
|
|
2183
|
-
cellSpacing: null,
|
|
2184
|
-
char: null,
|
|
2185
|
-
charOff: null,
|
|
2186
|
-
classId: null,
|
|
2187
|
-
clear: null,
|
|
2188
|
-
code: null,
|
|
2189
|
-
codeBase: null,
|
|
2190
|
-
codeType: null,
|
|
2191
|
-
color: null,
|
|
2192
|
-
compact: boolean,
|
|
2193
|
-
declare: boolean,
|
|
2194
|
-
event: null,
|
|
2195
|
-
face: null,
|
|
2196
|
-
frame: null,
|
|
2197
|
-
frameBorder: null,
|
|
2198
|
-
hSpace: number,
|
|
2199
|
-
leftMargin: number,
|
|
2200
|
-
link: null,
|
|
2201
|
-
longDesc: null,
|
|
2202
|
-
lowSrc: null,
|
|
2203
|
-
marginHeight: number,
|
|
2204
|
-
marginWidth: number,
|
|
2205
|
-
noResize: boolean,
|
|
2206
|
-
noHref: boolean,
|
|
2207
|
-
noShade: boolean,
|
|
2208
|
-
noWrap: boolean,
|
|
2209
|
-
object: null,
|
|
2210
|
-
profile: null,
|
|
2211
|
-
prompt: null,
|
|
2212
|
-
rev: null,
|
|
2213
|
-
rightMargin: number,
|
|
2214
|
-
rules: null,
|
|
2215
|
-
scheme: null,
|
|
2216
|
-
scrolling: booleanish,
|
|
2217
|
-
standby: null,
|
|
2218
|
-
summary: null,
|
|
2219
|
-
text: null,
|
|
2220
|
-
topMargin: number,
|
|
2221
|
-
valueType: null,
|
|
2222
|
-
version: null,
|
|
2223
|
-
vAlign: null,
|
|
2224
|
-
vLink: null,
|
|
2225
|
-
vSpace: number,
|
|
2226
|
-
allowTransparency: null,
|
|
2227
|
-
autoCorrect: null,
|
|
2228
|
-
autoSave: null,
|
|
2229
|
-
disablePictureInPicture: boolean,
|
|
2230
|
-
disableRemotePlayback: boolean,
|
|
2231
|
-
prefix: null,
|
|
2232
|
-
property: null,
|
|
2233
|
-
results: number,
|
|
2234
|
-
security: null,
|
|
2235
|
-
unselectable: null
|
|
2236
|
-
},
|
|
2237
|
-
space: "html",
|
|
2238
|
-
transform: caseInsensitiveTransform
|
|
2239
|
-
});
|
|
2240
|
-
|
|
2241
|
-
// ../../node_modules/hast-util-to-html/node_modules/property-information/lib/svg.js
|
|
2242
|
-
var svg = create({
|
|
2243
|
-
attributes: {
|
|
2244
|
-
accentHeight: "accent-height",
|
|
2245
|
-
alignmentBaseline: "alignment-baseline",
|
|
2246
|
-
arabicForm: "arabic-form",
|
|
2247
|
-
baselineShift: "baseline-shift",
|
|
2248
|
-
capHeight: "cap-height",
|
|
2249
|
-
className: "class",
|
|
2250
|
-
clipPath: "clip-path",
|
|
2251
|
-
clipRule: "clip-rule",
|
|
2252
|
-
colorInterpolation: "color-interpolation",
|
|
2253
|
-
colorInterpolationFilters: "color-interpolation-filters",
|
|
2254
|
-
colorProfile: "color-profile",
|
|
2255
|
-
colorRendering: "color-rendering",
|
|
2256
|
-
crossOrigin: "crossorigin",
|
|
2257
|
-
dataType: "datatype",
|
|
2258
|
-
dominantBaseline: "dominant-baseline",
|
|
2259
|
-
enableBackground: "enable-background",
|
|
2260
|
-
fillOpacity: "fill-opacity",
|
|
2261
|
-
fillRule: "fill-rule",
|
|
2262
|
-
floodColor: "flood-color",
|
|
2263
|
-
floodOpacity: "flood-opacity",
|
|
2264
|
-
fontFamily: "font-family",
|
|
2265
|
-
fontSize: "font-size",
|
|
2266
|
-
fontSizeAdjust: "font-size-adjust",
|
|
2267
|
-
fontStretch: "font-stretch",
|
|
2268
|
-
fontStyle: "font-style",
|
|
2269
|
-
fontVariant: "font-variant",
|
|
2270
|
-
fontWeight: "font-weight",
|
|
2271
|
-
glyphName: "glyph-name",
|
|
2272
|
-
glyphOrientationHorizontal: "glyph-orientation-horizontal",
|
|
2273
|
-
glyphOrientationVertical: "glyph-orientation-vertical",
|
|
2274
|
-
hrefLang: "hreflang",
|
|
2275
|
-
horizAdvX: "horiz-adv-x",
|
|
2276
|
-
horizOriginX: "horiz-origin-x",
|
|
2277
|
-
horizOriginY: "horiz-origin-y",
|
|
2278
|
-
imageRendering: "image-rendering",
|
|
2279
|
-
letterSpacing: "letter-spacing",
|
|
2280
|
-
lightingColor: "lighting-color",
|
|
2281
|
-
markerEnd: "marker-end",
|
|
2282
|
-
markerMid: "marker-mid",
|
|
2283
|
-
markerStart: "marker-start",
|
|
2284
|
-
navDown: "nav-down",
|
|
2285
|
-
navDownLeft: "nav-down-left",
|
|
2286
|
-
navDownRight: "nav-down-right",
|
|
2287
|
-
navLeft: "nav-left",
|
|
2288
|
-
navNext: "nav-next",
|
|
2289
|
-
navPrev: "nav-prev",
|
|
2290
|
-
navRight: "nav-right",
|
|
2291
|
-
navUp: "nav-up",
|
|
2292
|
-
navUpLeft: "nav-up-left",
|
|
2293
|
-
navUpRight: "nav-up-right",
|
|
2294
|
-
onAbort: "onabort",
|
|
2295
|
-
onActivate: "onactivate",
|
|
2296
|
-
onAfterPrint: "onafterprint",
|
|
2297
|
-
onBeforePrint: "onbeforeprint",
|
|
2298
|
-
onBegin: "onbegin",
|
|
2299
|
-
onCancel: "oncancel",
|
|
2300
|
-
onCanPlay: "oncanplay",
|
|
2301
|
-
onCanPlayThrough: "oncanplaythrough",
|
|
2302
|
-
onChange: "onchange",
|
|
2303
|
-
onClick: "onclick",
|
|
2304
|
-
onClose: "onclose",
|
|
2305
|
-
onCopy: "oncopy",
|
|
2306
|
-
onCueChange: "oncuechange",
|
|
2307
|
-
onCut: "oncut",
|
|
2308
|
-
onDblClick: "ondblclick",
|
|
2309
|
-
onDrag: "ondrag",
|
|
2310
|
-
onDragEnd: "ondragend",
|
|
2311
|
-
onDragEnter: "ondragenter",
|
|
2312
|
-
onDragExit: "ondragexit",
|
|
2313
|
-
onDragLeave: "ondragleave",
|
|
2314
|
-
onDragOver: "ondragover",
|
|
2315
|
-
onDragStart: "ondragstart",
|
|
2316
|
-
onDrop: "ondrop",
|
|
2317
|
-
onDurationChange: "ondurationchange",
|
|
2318
|
-
onEmptied: "onemptied",
|
|
2319
|
-
onEnd: "onend",
|
|
2320
|
-
onEnded: "onended",
|
|
2321
|
-
onError: "onerror",
|
|
2322
|
-
onFocus: "onfocus",
|
|
2323
|
-
onFocusIn: "onfocusin",
|
|
2324
|
-
onFocusOut: "onfocusout",
|
|
2325
|
-
onHashChange: "onhashchange",
|
|
2326
|
-
onInput: "oninput",
|
|
2327
|
-
onInvalid: "oninvalid",
|
|
2328
|
-
onKeyDown: "onkeydown",
|
|
2329
|
-
onKeyPress: "onkeypress",
|
|
2330
|
-
onKeyUp: "onkeyup",
|
|
2331
|
-
onLoad: "onload",
|
|
2332
|
-
onLoadedData: "onloadeddata",
|
|
2333
|
-
onLoadedMetadata: "onloadedmetadata",
|
|
2334
|
-
onLoadStart: "onloadstart",
|
|
2335
|
-
onMessage: "onmessage",
|
|
2336
|
-
onMouseDown: "onmousedown",
|
|
2337
|
-
onMouseEnter: "onmouseenter",
|
|
2338
|
-
onMouseLeave: "onmouseleave",
|
|
2339
|
-
onMouseMove: "onmousemove",
|
|
2340
|
-
onMouseOut: "onmouseout",
|
|
2341
|
-
onMouseOver: "onmouseover",
|
|
2342
|
-
onMouseUp: "onmouseup",
|
|
2343
|
-
onMouseWheel: "onmousewheel",
|
|
2344
|
-
onOffline: "onoffline",
|
|
2345
|
-
onOnline: "ononline",
|
|
2346
|
-
onPageHide: "onpagehide",
|
|
2347
|
-
onPageShow: "onpageshow",
|
|
2348
|
-
onPaste: "onpaste",
|
|
2349
|
-
onPause: "onpause",
|
|
2350
|
-
onPlay: "onplay",
|
|
2351
|
-
onPlaying: "onplaying",
|
|
2352
|
-
onPopState: "onpopstate",
|
|
2353
|
-
onProgress: "onprogress",
|
|
2354
|
-
onRateChange: "onratechange",
|
|
2355
|
-
onRepeat: "onrepeat",
|
|
2356
|
-
onReset: "onreset",
|
|
2357
|
-
onResize: "onresize",
|
|
2358
|
-
onScroll: "onscroll",
|
|
2359
|
-
onSeeked: "onseeked",
|
|
2360
|
-
onSeeking: "onseeking",
|
|
2361
|
-
onSelect: "onselect",
|
|
2362
|
-
onShow: "onshow",
|
|
2363
|
-
onStalled: "onstalled",
|
|
2364
|
-
onStorage: "onstorage",
|
|
2365
|
-
onSubmit: "onsubmit",
|
|
2366
|
-
onSuspend: "onsuspend",
|
|
2367
|
-
onTimeUpdate: "ontimeupdate",
|
|
2368
|
-
onToggle: "ontoggle",
|
|
2369
|
-
onUnload: "onunload",
|
|
2370
|
-
onVolumeChange: "onvolumechange",
|
|
2371
|
-
onWaiting: "onwaiting",
|
|
2372
|
-
onZoom: "onzoom",
|
|
2373
|
-
overlinePosition: "overline-position",
|
|
2374
|
-
overlineThickness: "overline-thickness",
|
|
2375
|
-
paintOrder: "paint-order",
|
|
2376
|
-
panose1: "panose-1",
|
|
2377
|
-
pointerEvents: "pointer-events",
|
|
2378
|
-
referrerPolicy: "referrerpolicy",
|
|
2379
|
-
renderingIntent: "rendering-intent",
|
|
2380
|
-
shapeRendering: "shape-rendering",
|
|
2381
|
-
stopColor: "stop-color",
|
|
2382
|
-
stopOpacity: "stop-opacity",
|
|
2383
|
-
strikethroughPosition: "strikethrough-position",
|
|
2384
|
-
strikethroughThickness: "strikethrough-thickness",
|
|
2385
|
-
strokeDashArray: "stroke-dasharray",
|
|
2386
|
-
strokeDashOffset: "stroke-dashoffset",
|
|
2387
|
-
strokeLineCap: "stroke-linecap",
|
|
2388
|
-
strokeLineJoin: "stroke-linejoin",
|
|
2389
|
-
strokeMiterLimit: "stroke-miterlimit",
|
|
2390
|
-
strokeOpacity: "stroke-opacity",
|
|
2391
|
-
strokeWidth: "stroke-width",
|
|
2392
|
-
tabIndex: "tabindex",
|
|
2393
|
-
textAnchor: "text-anchor",
|
|
2394
|
-
textDecoration: "text-decoration",
|
|
2395
|
-
textRendering: "text-rendering",
|
|
2396
|
-
transformOrigin: "transform-origin",
|
|
2397
|
-
typeOf: "typeof",
|
|
2398
|
-
underlinePosition: "underline-position",
|
|
2399
|
-
underlineThickness: "underline-thickness",
|
|
2400
|
-
unicodeBidi: "unicode-bidi",
|
|
2401
|
-
unicodeRange: "unicode-range",
|
|
2402
|
-
unitsPerEm: "units-per-em",
|
|
2403
|
-
vAlphabetic: "v-alphabetic",
|
|
2404
|
-
vHanging: "v-hanging",
|
|
2405
|
-
vIdeographic: "v-ideographic",
|
|
2406
|
-
vMathematical: "v-mathematical",
|
|
2407
|
-
vectorEffect: "vector-effect",
|
|
2408
|
-
vertAdvY: "vert-adv-y",
|
|
2409
|
-
vertOriginX: "vert-origin-x",
|
|
2410
|
-
vertOriginY: "vert-origin-y",
|
|
2411
|
-
wordSpacing: "word-spacing",
|
|
2412
|
-
writingMode: "writing-mode",
|
|
2413
|
-
xHeight: "x-height",
|
|
2414
|
-
playbackOrder: "playbackorder",
|
|
2415
|
-
timelineBegin: "timelinebegin"
|
|
2416
|
-
},
|
|
2417
|
-
properties: {
|
|
2418
|
-
about: commaOrSpaceSeparated,
|
|
2419
|
-
accentHeight: number,
|
|
2420
|
-
accumulate: null,
|
|
2421
|
-
additive: null,
|
|
2422
|
-
alignmentBaseline: null,
|
|
2423
|
-
alphabetic: number,
|
|
2424
|
-
amplitude: number,
|
|
2425
|
-
arabicForm: null,
|
|
2426
|
-
ascent: number,
|
|
2427
|
-
attributeName: null,
|
|
2428
|
-
attributeType: null,
|
|
2429
|
-
azimuth: number,
|
|
2430
|
-
bandwidth: null,
|
|
2431
|
-
baselineShift: null,
|
|
2432
|
-
baseFrequency: null,
|
|
2433
|
-
baseProfile: null,
|
|
2434
|
-
bbox: null,
|
|
2435
|
-
begin: null,
|
|
2436
|
-
bias: number,
|
|
2437
|
-
by: null,
|
|
2438
|
-
calcMode: null,
|
|
2439
|
-
capHeight: number,
|
|
2440
|
-
className: spaceSeparated,
|
|
2441
|
-
clip: null,
|
|
2442
|
-
clipPath: null,
|
|
2443
|
-
clipPathUnits: null,
|
|
2444
|
-
clipRule: null,
|
|
2445
|
-
color: null,
|
|
2446
|
-
colorInterpolation: null,
|
|
2447
|
-
colorInterpolationFilters: null,
|
|
2448
|
-
colorProfile: null,
|
|
2449
|
-
colorRendering: null,
|
|
2450
|
-
content: null,
|
|
2451
|
-
contentScriptType: null,
|
|
2452
|
-
contentStyleType: null,
|
|
2453
|
-
crossOrigin: null,
|
|
2454
|
-
cursor: null,
|
|
2455
|
-
cx: null,
|
|
2456
|
-
cy: null,
|
|
2457
|
-
d: null,
|
|
2458
|
-
dataType: null,
|
|
2459
|
-
defaultAction: null,
|
|
2460
|
-
descent: number,
|
|
2461
|
-
diffuseConstant: number,
|
|
2462
|
-
direction: null,
|
|
2463
|
-
display: null,
|
|
2464
|
-
dur: null,
|
|
2465
|
-
divisor: number,
|
|
2466
|
-
dominantBaseline: null,
|
|
2467
|
-
download: boolean,
|
|
2468
|
-
dx: null,
|
|
2469
|
-
dy: null,
|
|
2470
|
-
edgeMode: null,
|
|
2471
|
-
editable: null,
|
|
2472
|
-
elevation: number,
|
|
2473
|
-
enableBackground: null,
|
|
2474
|
-
end: null,
|
|
2475
|
-
event: null,
|
|
2476
|
-
exponent: number,
|
|
2477
|
-
externalResourcesRequired: null,
|
|
2478
|
-
fill: null,
|
|
2479
|
-
fillOpacity: number,
|
|
2480
|
-
fillRule: null,
|
|
2481
|
-
filter: null,
|
|
2482
|
-
filterRes: null,
|
|
2483
|
-
filterUnits: null,
|
|
2484
|
-
floodColor: null,
|
|
2485
|
-
floodOpacity: null,
|
|
2486
|
-
focusable: null,
|
|
2487
|
-
focusHighlight: null,
|
|
2488
|
-
fontFamily: null,
|
|
2489
|
-
fontSize: null,
|
|
2490
|
-
fontSizeAdjust: null,
|
|
2491
|
-
fontStretch: null,
|
|
2492
|
-
fontStyle: null,
|
|
2493
|
-
fontVariant: null,
|
|
2494
|
-
fontWeight: null,
|
|
2495
|
-
format: null,
|
|
2496
|
-
fr: null,
|
|
2497
|
-
from: null,
|
|
2498
|
-
fx: null,
|
|
2499
|
-
fy: null,
|
|
2500
|
-
g1: commaSeparated,
|
|
2501
|
-
g2: commaSeparated,
|
|
2502
|
-
glyphName: commaSeparated,
|
|
2503
|
-
glyphOrientationHorizontal: null,
|
|
2504
|
-
glyphOrientationVertical: null,
|
|
2505
|
-
glyphRef: null,
|
|
2506
|
-
gradientTransform: null,
|
|
2507
|
-
gradientUnits: null,
|
|
2508
|
-
handler: null,
|
|
2509
|
-
hanging: number,
|
|
2510
|
-
hatchContentUnits: null,
|
|
2511
|
-
hatchUnits: null,
|
|
2512
|
-
height: null,
|
|
2513
|
-
href: null,
|
|
2514
|
-
hrefLang: null,
|
|
2515
|
-
horizAdvX: number,
|
|
2516
|
-
horizOriginX: number,
|
|
2517
|
-
horizOriginY: number,
|
|
2518
|
-
id: null,
|
|
2519
|
-
ideographic: number,
|
|
2520
|
-
imageRendering: null,
|
|
2521
|
-
initialVisibility: null,
|
|
2522
|
-
in: null,
|
|
2523
|
-
in2: null,
|
|
2524
|
-
intercept: number,
|
|
2525
|
-
k: number,
|
|
2526
|
-
k1: number,
|
|
2527
|
-
k2: number,
|
|
2528
|
-
k3: number,
|
|
2529
|
-
k4: number,
|
|
2530
|
-
kernelMatrix: commaOrSpaceSeparated,
|
|
2531
|
-
kernelUnitLength: null,
|
|
2532
|
-
keyPoints: null,
|
|
2533
|
-
keySplines: null,
|
|
2534
|
-
keyTimes: null,
|
|
2535
|
-
kerning: null,
|
|
2536
|
-
lang: null,
|
|
2537
|
-
lengthAdjust: null,
|
|
2538
|
-
letterSpacing: null,
|
|
2539
|
-
lightingColor: null,
|
|
2540
|
-
limitingConeAngle: number,
|
|
2541
|
-
local: null,
|
|
2542
|
-
markerEnd: null,
|
|
2543
|
-
markerMid: null,
|
|
2544
|
-
markerStart: null,
|
|
2545
|
-
markerHeight: null,
|
|
2546
|
-
markerUnits: null,
|
|
2547
|
-
markerWidth: null,
|
|
2548
|
-
mask: null,
|
|
2549
|
-
maskContentUnits: null,
|
|
2550
|
-
maskUnits: null,
|
|
2551
|
-
mathematical: null,
|
|
2552
|
-
max: null,
|
|
2553
|
-
media: null,
|
|
2554
|
-
mediaCharacterEncoding: null,
|
|
2555
|
-
mediaContentEncodings: null,
|
|
2556
|
-
mediaSize: number,
|
|
2557
|
-
mediaTime: null,
|
|
2558
|
-
method: null,
|
|
2559
|
-
min: null,
|
|
2560
|
-
mode: null,
|
|
2561
|
-
name: null,
|
|
2562
|
-
navDown: null,
|
|
2563
|
-
navDownLeft: null,
|
|
2564
|
-
navDownRight: null,
|
|
2565
|
-
navLeft: null,
|
|
2566
|
-
navNext: null,
|
|
2567
|
-
navPrev: null,
|
|
2568
|
-
navRight: null,
|
|
2569
|
-
navUp: null,
|
|
2570
|
-
navUpLeft: null,
|
|
2571
|
-
navUpRight: null,
|
|
2572
|
-
numOctaves: null,
|
|
2573
|
-
observer: null,
|
|
2574
|
-
offset: null,
|
|
2575
|
-
onAbort: null,
|
|
2576
|
-
onActivate: null,
|
|
2577
|
-
onAfterPrint: null,
|
|
2578
|
-
onBeforePrint: null,
|
|
2579
|
-
onBegin: null,
|
|
2580
|
-
onCancel: null,
|
|
2581
|
-
onCanPlay: null,
|
|
2582
|
-
onCanPlayThrough: null,
|
|
2583
|
-
onChange: null,
|
|
2584
|
-
onClick: null,
|
|
2585
|
-
onClose: null,
|
|
2586
|
-
onCopy: null,
|
|
2587
|
-
onCueChange: null,
|
|
2588
|
-
onCut: null,
|
|
2589
|
-
onDblClick: null,
|
|
2590
|
-
onDrag: null,
|
|
2591
|
-
onDragEnd: null,
|
|
2592
|
-
onDragEnter: null,
|
|
2593
|
-
onDragExit: null,
|
|
2594
|
-
onDragLeave: null,
|
|
2595
|
-
onDragOver: null,
|
|
2596
|
-
onDragStart: null,
|
|
2597
|
-
onDrop: null,
|
|
2598
|
-
onDurationChange: null,
|
|
2599
|
-
onEmptied: null,
|
|
2600
|
-
onEnd: null,
|
|
2601
|
-
onEnded: null,
|
|
2602
|
-
onError: null,
|
|
2603
|
-
onFocus: null,
|
|
2604
|
-
onFocusIn: null,
|
|
2605
|
-
onFocusOut: null,
|
|
2606
|
-
onHashChange: null,
|
|
2607
|
-
onInput: null,
|
|
2608
|
-
onInvalid: null,
|
|
2609
|
-
onKeyDown: null,
|
|
2610
|
-
onKeyPress: null,
|
|
2611
|
-
onKeyUp: null,
|
|
2612
|
-
onLoad: null,
|
|
2613
|
-
onLoadedData: null,
|
|
2614
|
-
onLoadedMetadata: null,
|
|
2615
|
-
onLoadStart: null,
|
|
2616
|
-
onMessage: null,
|
|
2617
|
-
onMouseDown: null,
|
|
2618
|
-
onMouseEnter: null,
|
|
2619
|
-
onMouseLeave: null,
|
|
2620
|
-
onMouseMove: null,
|
|
2621
|
-
onMouseOut: null,
|
|
2622
|
-
onMouseOver: null,
|
|
2623
|
-
onMouseUp: null,
|
|
2624
|
-
onMouseWheel: null,
|
|
2625
|
-
onOffline: null,
|
|
2626
|
-
onOnline: null,
|
|
2627
|
-
onPageHide: null,
|
|
2628
|
-
onPageShow: null,
|
|
2629
|
-
onPaste: null,
|
|
2630
|
-
onPause: null,
|
|
2631
|
-
onPlay: null,
|
|
2632
|
-
onPlaying: null,
|
|
2633
|
-
onPopState: null,
|
|
2634
|
-
onProgress: null,
|
|
2635
|
-
onRateChange: null,
|
|
2636
|
-
onRepeat: null,
|
|
2637
|
-
onReset: null,
|
|
2638
|
-
onResize: null,
|
|
2639
|
-
onScroll: null,
|
|
2640
|
-
onSeeked: null,
|
|
2641
|
-
onSeeking: null,
|
|
2642
|
-
onSelect: null,
|
|
2643
|
-
onShow: null,
|
|
2644
|
-
onStalled: null,
|
|
2645
|
-
onStorage: null,
|
|
2646
|
-
onSubmit: null,
|
|
2647
|
-
onSuspend: null,
|
|
2648
|
-
onTimeUpdate: null,
|
|
2649
|
-
onToggle: null,
|
|
2650
|
-
onUnload: null,
|
|
2651
|
-
onVolumeChange: null,
|
|
2652
|
-
onWaiting: null,
|
|
2653
|
-
onZoom: null,
|
|
2654
|
-
opacity: null,
|
|
2655
|
-
operator: null,
|
|
2656
|
-
order: null,
|
|
2657
|
-
orient: null,
|
|
2658
|
-
orientation: null,
|
|
2659
|
-
origin: null,
|
|
2660
|
-
overflow: null,
|
|
2661
|
-
overlay: null,
|
|
2662
|
-
overlinePosition: number,
|
|
2663
|
-
overlineThickness: number,
|
|
2664
|
-
paintOrder: null,
|
|
2665
|
-
panose1: null,
|
|
2666
|
-
path: null,
|
|
2667
|
-
pathLength: number,
|
|
2668
|
-
patternContentUnits: null,
|
|
2669
|
-
patternTransform: null,
|
|
2670
|
-
patternUnits: null,
|
|
2671
|
-
phase: null,
|
|
2672
|
-
ping: spaceSeparated,
|
|
2673
|
-
pitch: null,
|
|
2674
|
-
playbackOrder: null,
|
|
2675
|
-
pointerEvents: null,
|
|
2676
|
-
points: null,
|
|
2677
|
-
pointsAtX: number,
|
|
2678
|
-
pointsAtY: number,
|
|
2679
|
-
pointsAtZ: number,
|
|
2680
|
-
preserveAlpha: null,
|
|
2681
|
-
preserveAspectRatio: null,
|
|
2682
|
-
primitiveUnits: null,
|
|
2683
|
-
propagate: null,
|
|
2684
|
-
property: commaOrSpaceSeparated,
|
|
2685
|
-
r: null,
|
|
2686
|
-
radius: null,
|
|
2687
|
-
referrerPolicy: null,
|
|
2688
|
-
refX: null,
|
|
2689
|
-
refY: null,
|
|
2690
|
-
rel: commaOrSpaceSeparated,
|
|
2691
|
-
rev: commaOrSpaceSeparated,
|
|
2692
|
-
renderingIntent: null,
|
|
2693
|
-
repeatCount: null,
|
|
2694
|
-
repeatDur: null,
|
|
2695
|
-
requiredExtensions: commaOrSpaceSeparated,
|
|
2696
|
-
requiredFeatures: commaOrSpaceSeparated,
|
|
2697
|
-
requiredFonts: commaOrSpaceSeparated,
|
|
2698
|
-
requiredFormats: commaOrSpaceSeparated,
|
|
2699
|
-
resource: null,
|
|
2700
|
-
restart: null,
|
|
2701
|
-
result: null,
|
|
2702
|
-
rotate: null,
|
|
2703
|
-
rx: null,
|
|
2704
|
-
ry: null,
|
|
2705
|
-
scale: null,
|
|
2706
|
-
seed: null,
|
|
2707
|
-
shapeRendering: null,
|
|
2708
|
-
side: null,
|
|
2709
|
-
slope: null,
|
|
2710
|
-
snapshotTime: null,
|
|
2711
|
-
specularConstant: number,
|
|
2712
|
-
specularExponent: number,
|
|
2713
|
-
spreadMethod: null,
|
|
2714
|
-
spacing: null,
|
|
2715
|
-
startOffset: null,
|
|
2716
|
-
stdDeviation: null,
|
|
2717
|
-
stemh: null,
|
|
2718
|
-
stemv: null,
|
|
2719
|
-
stitchTiles: null,
|
|
2720
|
-
stopColor: null,
|
|
2721
|
-
stopOpacity: null,
|
|
2722
|
-
strikethroughPosition: number,
|
|
2723
|
-
strikethroughThickness: number,
|
|
2724
|
-
string: null,
|
|
2725
|
-
stroke: null,
|
|
2726
|
-
strokeDashArray: commaOrSpaceSeparated,
|
|
2727
|
-
strokeDashOffset: null,
|
|
2728
|
-
strokeLineCap: null,
|
|
2729
|
-
strokeLineJoin: null,
|
|
2730
|
-
strokeMiterLimit: number,
|
|
2731
|
-
strokeOpacity: number,
|
|
2732
|
-
strokeWidth: null,
|
|
2733
|
-
style: null,
|
|
2734
|
-
surfaceScale: number,
|
|
2735
|
-
syncBehavior: null,
|
|
2736
|
-
syncBehaviorDefault: null,
|
|
2737
|
-
syncMaster: null,
|
|
2738
|
-
syncTolerance: null,
|
|
2739
|
-
syncToleranceDefault: null,
|
|
2740
|
-
systemLanguage: commaOrSpaceSeparated,
|
|
2741
|
-
tabIndex: number,
|
|
2742
|
-
tableValues: null,
|
|
2743
|
-
target: null,
|
|
2744
|
-
targetX: number,
|
|
2745
|
-
targetY: number,
|
|
2746
|
-
textAnchor: null,
|
|
2747
|
-
textDecoration: null,
|
|
2748
|
-
textRendering: null,
|
|
2749
|
-
textLength: null,
|
|
2750
|
-
timelineBegin: null,
|
|
2751
|
-
title: null,
|
|
2752
|
-
transformBehavior: null,
|
|
2753
|
-
type: null,
|
|
2754
|
-
typeOf: commaOrSpaceSeparated,
|
|
2755
|
-
to: null,
|
|
2756
|
-
transform: null,
|
|
2757
|
-
transformOrigin: null,
|
|
2758
|
-
u1: null,
|
|
2759
|
-
u2: null,
|
|
2760
|
-
underlinePosition: number,
|
|
2761
|
-
underlineThickness: number,
|
|
2762
|
-
unicode: null,
|
|
2763
|
-
unicodeBidi: null,
|
|
2764
|
-
unicodeRange: null,
|
|
2765
|
-
unitsPerEm: number,
|
|
2766
|
-
values: null,
|
|
2767
|
-
vAlphabetic: number,
|
|
2768
|
-
vMathematical: number,
|
|
2769
|
-
vectorEffect: null,
|
|
2770
|
-
vHanging: number,
|
|
2771
|
-
vIdeographic: number,
|
|
2772
|
-
version: null,
|
|
2773
|
-
vertAdvY: number,
|
|
2774
|
-
vertOriginX: number,
|
|
2775
|
-
vertOriginY: number,
|
|
2776
|
-
viewBox: null,
|
|
2777
|
-
viewTarget: null,
|
|
2778
|
-
visibility: null,
|
|
2779
|
-
width: null,
|
|
2780
|
-
widths: null,
|
|
2781
|
-
wordSpacing: null,
|
|
2782
|
-
writingMode: null,
|
|
2783
|
-
x: null,
|
|
2784
|
-
x1: null,
|
|
2785
|
-
x2: null,
|
|
2786
|
-
xChannelSelector: null,
|
|
2787
|
-
xHeight: number,
|
|
2788
|
-
y: null,
|
|
2789
|
-
y1: null,
|
|
2790
|
-
y2: null,
|
|
2791
|
-
yChannelSelector: null,
|
|
2792
|
-
z: null,
|
|
2793
|
-
zoomAndPan: null
|
|
2794
|
-
},
|
|
2795
|
-
space: "svg",
|
|
2796
|
-
transform: caseSensitiveTransform
|
|
2797
|
-
});
|
|
2798
|
-
|
|
2799
|
-
// ../../node_modules/hast-util-to-html/node_modules/property-information/lib/xlink.js
|
|
2800
|
-
var xlink = create({
|
|
2801
|
-
properties: {
|
|
2802
|
-
xLinkActuate: null,
|
|
2803
|
-
xLinkArcRole: null,
|
|
2804
|
-
xLinkHref: null,
|
|
2805
|
-
xLinkRole: null,
|
|
2806
|
-
xLinkShow: null,
|
|
2807
|
-
xLinkTitle: null,
|
|
2808
|
-
xLinkType: null
|
|
2809
|
-
},
|
|
2810
|
-
space: "xlink",
|
|
2811
|
-
transform(_, property) {
|
|
2812
|
-
return "xlink:" + property.slice(5).toLowerCase();
|
|
2813
|
-
}
|
|
2814
|
-
});
|
|
2815
|
-
|
|
2816
|
-
// ../../node_modules/hast-util-to-html/node_modules/property-information/lib/xmlns.js
|
|
2817
|
-
var xmlns = create({
|
|
2818
|
-
attributes: { xmlnsxlink: "xmlns:xlink" },
|
|
2819
|
-
properties: { xmlnsXLink: null, xmlns: null },
|
|
2820
|
-
space: "xmlns",
|
|
2821
|
-
transform: caseInsensitiveTransform
|
|
2822
|
-
});
|
|
2823
|
-
|
|
2824
|
-
// ../../node_modules/hast-util-to-html/node_modules/property-information/lib/xml.js
|
|
2825
|
-
var xml = create({
|
|
2826
|
-
properties: { xmlBase: null, xmlLang: null, xmlSpace: null },
|
|
2827
|
-
space: "xml",
|
|
2828
|
-
transform(_, property) {
|
|
2829
|
-
return "xml:" + property.slice(3).toLowerCase();
|
|
2830
|
-
}
|
|
2831
|
-
});
|
|
2832
|
-
|
|
2833
|
-
// ../../node_modules/hast-util-to-html/node_modules/property-information/lib/find.js
|
|
2834
|
-
var cap = /[A-Z]/g;
|
|
2835
|
-
var dash = /-[a-z]/g;
|
|
2836
|
-
var valid = /^data[-\w.:]+$/i;
|
|
2837
|
-
function find(schema, value) {
|
|
2838
|
-
const normal = normalize(value);
|
|
2839
|
-
let property = value;
|
|
2840
|
-
let Type = Info;
|
|
2841
|
-
if (normal in schema.normal) {
|
|
2842
|
-
return schema.property[schema.normal[normal]];
|
|
2843
|
-
}
|
|
2844
|
-
if (normal.length > 4 && normal.slice(0, 4) === "data" && valid.test(value)) {
|
|
2845
|
-
if (value.charAt(4) === "-") {
|
|
2846
|
-
const rest = value.slice(5).replace(dash, camelcase);
|
|
2847
|
-
property = "data" + rest.charAt(0).toUpperCase() + rest.slice(1);
|
|
2848
|
-
} else {
|
|
2849
|
-
const rest = value.slice(4);
|
|
2850
|
-
if (!dash.test(rest)) {
|
|
2851
|
-
let dashes = rest.replace(cap, kebab);
|
|
2852
|
-
if (dashes.charAt(0) !== "-") {
|
|
2853
|
-
dashes = "-" + dashes;
|
|
2854
|
-
}
|
|
2855
|
-
value = "data" + dashes;
|
|
2856
|
-
}
|
|
2857
|
-
}
|
|
2858
|
-
Type = DefinedInfo;
|
|
2859
|
-
}
|
|
2860
|
-
return new Type(property, value);
|
|
2861
|
-
}
|
|
2862
|
-
function kebab($0) {
|
|
2863
|
-
return "-" + $0.toLowerCase();
|
|
2864
|
-
}
|
|
2865
|
-
function camelcase($0) {
|
|
2866
|
-
return $0.charAt(1).toUpperCase();
|
|
2867
|
-
}
|
|
2868
|
-
// ../../node_modules/hast-util-to-html/node_modules/property-information/index.js
|
|
2869
|
-
var html3 = merge([aria2, html2, xlink, xmlns, xml], "html");
|
|
2870
|
-
var svg2 = merge([aria2, svg, xlink, xmlns, xml], "svg");
|
|
2871
|
-
|
|
2872
1707
|
// ../../node_modules/zwitch/index.js
|
|
2873
1708
|
var own2 = {}.hasOwnProperty;
|
|
2874
1709
|
function zwitch(key, options) {
|
|
@@ -3401,15 +2236,15 @@ function ccount(value, character) {
|
|
|
3401
2236
|
var siblingAfter = siblings(1);
|
|
3402
2237
|
var siblingBefore = siblings(-1);
|
|
3403
2238
|
var emptyChildren = [];
|
|
3404
|
-
function siblings(
|
|
2239
|
+
function siblings(increment) {
|
|
3405
2240
|
return sibling;
|
|
3406
2241
|
function sibling(parent, index, includeWhitespace) {
|
|
3407
2242
|
const siblings2 = parent ? parent.children : emptyChildren;
|
|
3408
|
-
let offset = (index || 0) +
|
|
2243
|
+
let offset = (index || 0) + increment;
|
|
3409
2244
|
let next = siblings2[offset];
|
|
3410
2245
|
if (!includeWhitespace) {
|
|
3411
2246
|
while (next && whitespace(next)) {
|
|
3412
|
-
offset +=
|
|
2247
|
+
offset += increment;
|
|
3413
2248
|
next = siblings2[offset];
|
|
3414
2249
|
}
|
|
3415
2250
|
}
|
|
@@ -3434,7 +2269,7 @@ var closing = omission({
|
|
|
3434
2269
|
dd,
|
|
3435
2270
|
dt,
|
|
3436
2271
|
head: headOrColgroupOrCaption,
|
|
3437
|
-
html:
|
|
2272
|
+
html: html3,
|
|
3438
2273
|
li,
|
|
3439
2274
|
optgroup,
|
|
3440
2275
|
option,
|
|
@@ -3452,7 +2287,7 @@ function headOrColgroupOrCaption(_, index, parent) {
|
|
|
3452
2287
|
const next = siblingAfter(parent, index, true);
|
|
3453
2288
|
return !next || next.type !== "comment" && !(next.type === "text" && whitespace(next.value.charAt(0)));
|
|
3454
2289
|
}
|
|
3455
|
-
function
|
|
2290
|
+
function html3(_, index, parent) {
|
|
3456
2291
|
const next = siblingAfter(parent, index);
|
|
3457
2292
|
return !next || next.type !== "comment";
|
|
3458
2293
|
}
|
|
@@ -3513,10 +2348,10 @@ var opening = omission({
|
|
|
3513
2348
|
body: body2,
|
|
3514
2349
|
colgroup,
|
|
3515
2350
|
head,
|
|
3516
|
-
html:
|
|
2351
|
+
html: html4,
|
|
3517
2352
|
tbody: tbody2
|
|
3518
2353
|
});
|
|
3519
|
-
function
|
|
2354
|
+
function html4(node) {
|
|
3520
2355
|
const head = siblingAfter(node, -1);
|
|
3521
2356
|
return !head || head.type !== "comment";
|
|
3522
2357
|
}
|
|
@@ -3587,7 +2422,7 @@ function element2(node, index, parent, state) {
|
|
|
3587
2422
|
const parts = [];
|
|
3588
2423
|
let last;
|
|
3589
2424
|
if (schema.space === "html" && node.tagName === "svg") {
|
|
3590
|
-
state.schema =
|
|
2425
|
+
state.schema = svg;
|
|
3591
2426
|
}
|
|
3592
2427
|
const attributes = serializeAttributes(state, node.properties);
|
|
3593
2428
|
const content = state.all(schema.space === "html" && node.tagName === "template" ? node.content : node);
|
|
@@ -3739,7 +2574,7 @@ function toHtml(tree, options) {
|
|
|
3739
2574
|
closeSelfClosing: options_.closeSelfClosing || false,
|
|
3740
2575
|
closeEmptyElements: options_.closeEmptyElements || false
|
|
3741
2576
|
},
|
|
3742
|
-
schema: options_.space === "svg" ?
|
|
2577
|
+
schema: options_.space === "svg" ? svg : html2,
|
|
3743
2578
|
quote,
|
|
3744
2579
|
alternative
|
|
3745
2580
|
};
|
|
@@ -4204,16 +3039,16 @@ var convert = function(test) {
|
|
|
4204
3039
|
throw new Error("Expected function, string, or object as test");
|
|
4205
3040
|
};
|
|
4206
3041
|
function anyFactory(tests) {
|
|
4207
|
-
const
|
|
3042
|
+
const checks = [];
|
|
4208
3043
|
let index = -1;
|
|
4209
3044
|
while (++index < tests.length) {
|
|
4210
|
-
|
|
3045
|
+
checks[index] = convert(tests[index]);
|
|
4211
3046
|
}
|
|
4212
3047
|
return castFactory(any);
|
|
4213
3048
|
function any(...parameters) {
|
|
4214
3049
|
let index2 = -1;
|
|
4215
|
-
while (++index2 <
|
|
4216
|
-
if (
|
|
3050
|
+
while (++index2 < checks.length) {
|
|
3051
|
+
if (checks[index2].apply(this, parameters))
|
|
4217
3052
|
return true;
|
|
4218
3053
|
}
|
|
4219
3054
|
return false;
|
|
@@ -4268,7 +3103,7 @@ function visitParents(tree, test, visitor, reverse) {
|
|
|
4268
3103
|
} else {
|
|
4269
3104
|
check = test;
|
|
4270
3105
|
}
|
|
4271
|
-
const
|
|
3106
|
+
const is3 = convert(check);
|
|
4272
3107
|
const step = reverse ? -1 : 1;
|
|
4273
3108
|
factory(tree, undefined, [])();
|
|
4274
3109
|
function factory(node, index, parents) {
|
|
@@ -4285,7 +3120,7 @@ function visitParents(tree, test, visitor, reverse) {
|
|
|
4285
3120
|
let subresult;
|
|
4286
3121
|
let offset;
|
|
4287
3122
|
let grandparents;
|
|
4288
|
-
if (!test ||
|
|
3123
|
+
if (!test || is3(node, index, parents[parents.length - 1] || undefined)) {
|
|
4289
3124
|
result = toResult(visitor(node, parents));
|
|
4290
3125
|
if (result[0] === EXIT) {
|
|
4291
3126
|
return result;
|
|
@@ -5124,7 +3959,7 @@ function visitParents2(tree, test, visitor, reverse) {
|
|
|
5124
3959
|
} else {
|
|
5125
3960
|
check = test;
|
|
5126
3961
|
}
|
|
5127
|
-
const
|
|
3962
|
+
const is3 = convert(check);
|
|
5128
3963
|
const step = reverse ? -1 : 1;
|
|
5129
3964
|
factory(tree, undefined, [])();
|
|
5130
3965
|
function factory(node, index, parents) {
|
|
@@ -5141,7 +3976,7 @@ function visitParents2(tree, test, visitor, reverse) {
|
|
|
5141
3976
|
let subresult;
|
|
5142
3977
|
let offset;
|
|
5143
3978
|
let grandparents;
|
|
5144
|
-
if (!test ||
|
|
3979
|
+
if (!test || is3(node, index, parents[parents.length - 1] || undefined)) {
|
|
5145
3980
|
result = toResult2(visitor(node, parents));
|
|
5146
3981
|
if (result[0] === EXIT2) {
|
|
5147
3982
|
return result;
|
|
@@ -5287,8 +4122,8 @@ function heading(node2, _, state, info) {
|
|
|
5287
4122
|
}
|
|
5288
4123
|
|
|
5289
4124
|
// ../../node_modules/mdast-util-to-markdown/lib/handle/html.js
|
|
5290
|
-
|
|
5291
|
-
function
|
|
4125
|
+
html5.peek = htmlPeek;
|
|
4126
|
+
function html5(node2) {
|
|
5292
4127
|
return node2.value || "";
|
|
5293
4128
|
}
|
|
5294
4129
|
function htmlPeek() {
|
|
@@ -5744,7 +4579,7 @@ var handle2 = {
|
|
|
5744
4579
|
emphasis,
|
|
5745
4580
|
hardBreak,
|
|
5746
4581
|
heading,
|
|
5747
|
-
html:
|
|
4582
|
+
html: html5,
|
|
5748
4583
|
image,
|
|
5749
4584
|
imageReference,
|
|
5750
4585
|
inlineCode,
|
|
@@ -10923,16 +9758,16 @@ function parse(options) {
|
|
|
10923
9758
|
const constructs2 = combineExtensions([exports_constructs, ...settings.extensions || []]);
|
|
10924
9759
|
const parser = {
|
|
10925
9760
|
constructs: constructs2,
|
|
10926
|
-
content:
|
|
9761
|
+
content: create(content2),
|
|
10927
9762
|
defined: [],
|
|
10928
|
-
document:
|
|
10929
|
-
flow:
|
|
9763
|
+
document: create(document2),
|
|
9764
|
+
flow: create(flow),
|
|
10930
9765
|
lazy: {},
|
|
10931
|
-
string:
|
|
10932
|
-
text:
|
|
9766
|
+
string: create(string),
|
|
9767
|
+
text: create(text5)
|
|
10933
9768
|
};
|
|
10934
9769
|
return parser;
|
|
10935
|
-
function
|
|
9770
|
+
function create(initial) {
|
|
10936
9771
|
return creator;
|
|
10937
9772
|
function creator(from) {
|
|
10938
9773
|
return createTokenizer(parser, initial, from);
|
|
@@ -11081,9 +9916,9 @@ function compiler(options) {
|
|
|
11081
9916
|
emphasis: opener(emphasis2),
|
|
11082
9917
|
hardBreakEscape: opener(hardBreak2),
|
|
11083
9918
|
hardBreakTrailing: opener(hardBreak2),
|
|
11084
|
-
htmlFlow: opener(
|
|
9919
|
+
htmlFlow: opener(html6, buffer),
|
|
11085
9920
|
htmlFlowData: onenterdata,
|
|
11086
|
-
htmlText: opener(
|
|
9921
|
+
htmlText: opener(html6, buffer),
|
|
11087
9922
|
htmlTextData: onenterdata,
|
|
11088
9923
|
image: opener(image2),
|
|
11089
9924
|
label: buffer,
|
|
@@ -11291,10 +10126,10 @@ function compiler(options) {
|
|
|
11291
10126
|
events[start][1]._spread = listSpread;
|
|
11292
10127
|
return length;
|
|
11293
10128
|
}
|
|
11294
|
-
function opener(
|
|
10129
|
+
function opener(create, and) {
|
|
11295
10130
|
return open;
|
|
11296
10131
|
function open(token) {
|
|
11297
|
-
enter.call(this,
|
|
10132
|
+
enter.call(this, create(token), token);
|
|
11298
10133
|
if (and)
|
|
11299
10134
|
and.call(this, token);
|
|
11300
10135
|
}
|
|
@@ -11656,7 +10491,7 @@ function compiler(options) {
|
|
|
11656
10491
|
function hardBreak2() {
|
|
11657
10492
|
return { type: "break" };
|
|
11658
10493
|
}
|
|
11659
|
-
function
|
|
10494
|
+
function html6() {
|
|
11660
10495
|
return { type: "html", value: "" };
|
|
11661
10496
|
}
|
|
11662
10497
|
function image2() {
|
|
@@ -11991,7 +10826,7 @@ function heading2(state, node2) {
|
|
|
11991
10826
|
}
|
|
11992
10827
|
|
|
11993
10828
|
// ../../node_modules/mdast-util-to-hast/lib/handlers/html.js
|
|
11994
|
-
function
|
|
10829
|
+
function html6(state, node2) {
|
|
11995
10830
|
if (state.options.allowDangerousHtml) {
|
|
11996
10831
|
const result = { type: "raw", value: node2.value };
|
|
11997
10832
|
state.patch(node2, result);
|
|
@@ -12379,7 +11214,7 @@ var handlers = {
|
|
|
12379
11214
|
emphasis: emphasis2,
|
|
12380
11215
|
footnoteReference: footnoteReference2,
|
|
12381
11216
|
heading: heading2,
|
|
12382
|
-
html:
|
|
11217
|
+
html: html6,
|
|
12383
11218
|
imageReference: imageReference2,
|
|
12384
11219
|
image: image2,
|
|
12385
11220
|
inlineCode: inlineCode2,
|
|
@@ -15051,5 +13886,5 @@ async function renamePromptMessage(path2, verb = "rename") {
|
|
|
15051
13886
|
|
|
15052
13887
|
export { cellValuesEqual, makeGridTabId, parseGridTabId, gridTabLabel, columnsFromSchema, inferColumnsFromRows, coerceCellInput, cellToText, ROW_KEY_FIELD, getGridController, createGridController, serializeDocument, notePreviewOverlayEdit, armPreviewOverlay, disarmPreviewOverlay, flushPreviewOverlay, peekMediaUsages, loadMediaUsages, mediaUsageHeadline, attachJumpBarHost, mountJumpBar, buildMessageWithContext, clearMarkdownCache, beginTurn, recordWrite, endTurn, writesForTurn, renderChatHeader, renderMessageList, renderSessionsList, renderStatusbar, mountStatusbar, mediaTypeEssence, parseFormatSource, parseSourceForPath, openFile, saveFile, exportFile, confirmFileDelete, renamePromptMessage };
|
|
15053
13888
|
|
|
15054
|
-
//# debugId=
|
|
15055
|
-
//# sourceMappingURL=studio-
|
|
13889
|
+
//# debugId=1790E89D9F8270E964756E2164756E21
|
|
13890
|
+
//# sourceMappingURL=studio-cmb03bg5.js.map
|