@jxsuite/studio 3.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.
Files changed (197) hide show
  1. package/README.md +5 -5
  2. package/dist/chunks/{2020-xp8vnwma.js → 2020-n6tfwnda.js} +2 -2
  3. package/dist/chunks/Overlay.dev-etqjwyf9.js +23 -0
  4. package/dist/chunks/cf-account-picker-en86v7x7.js +163 -0
  5. package/dist/chunks/{cf-settings-zj2cj1ar.js → cf-settings-45fgyx8y.js} +6 -5
  6. package/dist/chunks/{components-z6cnkyy1.js → components-zmx10t62.js} +6 -5
  7. package/dist/chunks/content-source-48xg86wj.js +49 -0
  8. package/dist/chunks/{convert-to-repeater-6vvx96n2.js → convert-to-repeater-43tfn7cs.js} +33 -25
  9. package/dist/chunks/entry-commands-e63f1xc0.js +46 -0
  10. package/dist/chunks/{extension-sections-kwzvpemr.js → extension-sections-txv08xxg.js} +34 -26
  11. package/dist/chunks/file-ops-wbh4hhsx.js +48 -0
  12. package/dist/chunks/files-3kfkwhk4.js +93 -0
  13. package/dist/chunks/{focus-trap.esm-ggawf1hy.js → focus-trap.esm-9t2drp0g.js} +6 -5
  14. package/dist/chunks/{format-host-8fr3545e.js → format-host-w16q81tf.js} +3 -3
  15. package/dist/chunks/fs-events-hrrg328g.js +21 -0
  16. package/dist/chunks/{git-panel-g01d93vc.js → git-panel-532whr1y.js} +22 -16
  17. package/dist/chunks/{index-nj44jpzj.js → index-wcnt3r9g.js} +2 -2
  18. package/dist/chunks/{jx-validate-jj9rnt4n.js → jx-validate-8er6gbxy.js} +6 -4
  19. package/dist/chunks/layers-panel-07hm7g5j.js +67 -0
  20. package/dist/chunks/layers-q75tj2mf.js +45 -0
  21. package/dist/chunks/lit-html-j055mkh8.js +22 -0
  22. package/dist/chunks/monaco-buffer-dqw0xxpx.js +25 -0
  23. package/dist/chunks/{monaco-setup-a5wkmbgh.js → monaco-setup-vx9bhp1d.js} +4 -4
  24. package/dist/chunks/notify-yjm79n4s.js +30 -0
  25. package/dist/chunks/parse-24d0gay3.js +19 -0
  26. package/dist/chunks/platform-ba1j1gbh.js +16 -0
  27. package/dist/chunks/publish-panel-v9st96ja.js +29 -0
  28. package/dist/chunks/quick-search-zccjp6gv.js +66 -0
  29. package/dist/chunks/references-3qx8fkyp.js +29 -0
  30. package/dist/chunks/right-panel-vm3b6kwy.js +46 -0
  31. package/dist/chunks/sp-overlay.dev-qgvhnxf4.js +18 -0
  32. package/dist/chunks/sp-popover.dev-n2etmqdp.js +9 -0
  33. package/dist/chunks/sp-progress-circle.dev-hryhj0es.js +15 -0
  34. package/dist/chunks/sp-tooltip.dev-4sastdnw.js +15 -0
  35. package/dist/chunks/{sp-tray.dev-64v4pxw8.js → sp-tray.dev-tkbscm06.js} +5 -5
  36. package/dist/chunks/{studio-wdt9y92a.js → studio-0bq6eh7v.js} +2 -2
  37. package/dist/chunks/studio-1ngbejft.js +181 -0
  38. package/dist/chunks/studio-1wagb550.js +118 -0
  39. package/dist/chunks/{studio-j595e748.js → studio-2b946z26.js} +172 -95
  40. package/dist/chunks/{studio-pkp61mh8.js → studio-3bqpr0zh.js} +25 -17
  41. package/dist/chunks/{studio-k4jvjcfx.js → studio-4b5z1x43.js} +46 -12
  42. package/dist/chunks/{studio-ry1vz5sv.js → studio-4n2b5gzb.js} +15 -13
  43. package/dist/chunks/{studio-p5dja96s.js → studio-4r1pv6zf.js} +2 -2
  44. package/dist/chunks/{studio-kvfx9z2c.js → studio-4rzyrtjz.js} +70 -31
  45. package/dist/chunks/{studio-tzx3xmvx.js → studio-5fx3g9jg.js} +33 -52
  46. package/dist/chunks/{studio-rh1cnamv.js → studio-5myknm0a.js} +565 -135
  47. package/dist/chunks/studio-6yw4y3my.js +91 -0
  48. package/dist/chunks/{studio-0rqqhrdy.js → studio-7nte2hj4.js} +2 -2
  49. package/dist/chunks/studio-92ab2jqe.js +282 -0
  50. package/dist/chunks/{studio-6z5eyjwn.js → studio-950k0dx6.js} +72 -135
  51. package/dist/chunks/{studio-sas7mt3k.js → studio-9ab8gqsm.js} +2 -2
  52. package/dist/chunks/studio-9n4mrmnb.js +184 -0
  53. package/dist/chunks/{studio-hcxzyk3x.js → studio-ahn3pdgx.js} +6 -6
  54. package/dist/chunks/studio-b55y6ewx.js +498 -0
  55. package/dist/chunks/{studio-s519zc99.js → studio-bgxt93ga.js} +3 -3
  56. package/dist/chunks/studio-cft9r4r7.js +119 -0
  57. package/dist/chunks/{studio-dc8s8heb.js → studio-cmb03bg5.js} +6904 -8321
  58. package/dist/chunks/studio-dm19q43r.js +195 -0
  59. package/dist/chunks/{studio-2x9zbxmx.js → studio-ef49pnzx.js} +11 -9
  60. package/dist/chunks/{studio-ay8wcr2b.js → studio-eqq1w638.js} +7 -9
  61. package/dist/chunks/{studio-5efrtn1m.js → studio-ew0djmhg.js} +23 -19
  62. package/dist/chunks/{studio-tr20m8g8.js → studio-f3wqjtk5.js} +39 -3
  63. package/dist/chunks/{studio-xntfdy1x.js → studio-fbf92ckf.js} +36 -23
  64. package/dist/chunks/{studio-4q0wznzf.js → studio-gcye7qka.js} +442 -126
  65. package/dist/chunks/{studio-7p35254k.js → studio-gfgb8pe6.js} +36 -193
  66. package/dist/chunks/studio-jc994dnr.js +1066 -0
  67. package/dist/chunks/{studio-hj2se583.js → studio-jkftxyvz.js} +69 -3423
  68. package/dist/chunks/{studio-5x5774ak.js → studio-kryvsw6j.js} +3 -3
  69. package/dist/chunks/{studio-kfpek536.js → studio-kyh9avvv.js} +2 -2
  70. package/dist/chunks/{studio-twsafr1e.js → studio-m3hwn7y1.js} +3 -3
  71. package/dist/chunks/studio-msd847zn.js +1315 -0
  72. package/dist/chunks/{studio-g5gdqnyd.js → studio-mtfnaqs9.js} +19 -19
  73. package/dist/chunks/{studio-7ejemhej.js → studio-n6j9t10q.js} +6 -6
  74. package/dist/chunks/{studio-vhk5fmfv.js → studio-n8b9wqwy.js} +5 -5
  75. package/dist/chunks/{studio-cjm7fdjf.js → studio-p4ngc046.js} +8 -104
  76. package/dist/chunks/studio-q43a5y9h.js +394 -0
  77. package/dist/chunks/studio-q7v10cg2.js +106 -0
  78. package/dist/chunks/{studio-6kv3apa9.js → studio-q9jd1a60.js} +27 -11
  79. package/dist/chunks/studio-qcy05dp8.js +1743 -0
  80. package/dist/chunks/{studio-a0yp7syn.js → studio-qjy2z9bv.js} +29 -132
  81. package/dist/chunks/{studio-2w11grav.js → studio-qq6jym04.js} +3 -3
  82. package/dist/chunks/{studio-3fk1ac9z.js → studio-rdx8jcxy.js} +4 -4
  83. package/dist/chunks/{studio-4mqb9a0j.js → studio-rn9ta2mz.js} +4 -4
  84. package/dist/chunks/studio-t7qb9db8.js +665 -0
  85. package/dist/chunks/studio-tmc5emrw.js +8 -0
  86. package/dist/chunks/{studio-r5xbtctf.js → studio-trxrabqf.js} +292 -2297
  87. package/dist/chunks/studio-wcy8trfx.js +263 -0
  88. package/dist/chunks/{studio-3dkcd4c5.js → studio-x4qkdat5.js} +62 -57
  89. package/dist/chunks/studio-x813zp48.js +195 -0
  90. package/dist/chunks/{studio-qpfq7xhm.js → studio-xrapxwwc.js} +22 -285
  91. package/dist/chunks/{studio-xm3dbxvn.js → studio-zczps70q.js} +2 -2
  92. package/dist/chunks/{studio-8ezdegcx.js → studio-zqazsct2.js} +40 -36
  93. package/dist/chunks/workspace-fjx52ryv.js +89 -0
  94. package/dist/iframe-entry.js +141 -56
  95. package/dist/manifest.json +7 -0
  96. package/dist/studio.js +2605 -1950
  97. package/favicon.ico +0 -0
  98. package/index.html +1 -0
  99. package/package.json +20 -18
  100. package/src/about/about-modal.ts +4 -3
  101. package/src/browse/library-pane.ts +57 -3
  102. package/src/canvas/canvas-render.ts +23 -1
  103. package/src/canvas/iframe-patch.ts +47 -21
  104. package/src/canvas/iframe-render.ts +22 -6
  105. package/src/commands/app-commands.ts +4 -0
  106. package/src/commands/command-args.ts +29 -0
  107. package/src/commands/context.ts +15 -1
  108. package/src/commands/defaults.ts +29 -1
  109. package/src/commands/levels.ts +16 -0
  110. package/src/commands/live-context.ts +3 -0
  111. package/src/content/collection-match.ts +267 -0
  112. package/src/content/entry-commands.ts +38 -29
  113. package/src/content/entry-fields.ts +6 -0
  114. package/src/editor/shortcuts.ts +5 -0
  115. package/src/files/file-ops.ts +10 -42
  116. package/src/files/files.ts +487 -59
  117. package/src/files/fs-events.ts +9 -0
  118. package/src/files/gitignore.ts +432 -0
  119. package/src/files/media-paths.ts +13 -42
  120. package/src/files/media-usage.ts +41 -131
  121. package/src/files/serialize-document.ts +60 -0
  122. package/src/format/convert-file.ts +511 -0
  123. package/src/format/format-choices.ts +199 -0
  124. package/src/grid/grid-view.ts +16 -2
  125. package/src/hosting/document.ts +2 -0
  126. package/src/hosting/layout.ts +8 -0
  127. package/src/media/media-open.ts +58 -0
  128. package/src/media/media-pane.ts +310 -0
  129. package/src/new-project/import-tab.ts +357 -163
  130. package/src/new-project/location-fields.ts +8 -5
  131. package/src/new-project/new-project-modal.ts +27 -34
  132. package/src/packages/ensure-deps.ts +14 -7
  133. package/src/packages/jxsuite-update.ts +11 -11
  134. package/src/page-params.ts +10 -46
  135. package/src/panels/activity-bar.ts +45 -16
  136. package/src/panels/ai-chat/attached-context.ts +6 -1
  137. package/src/panels/ai-chat/chat-view.ts +255 -13
  138. package/src/panels/ai-chat/composer.ts +31 -97
  139. package/src/panels/ai-panel.ts +116 -2
  140. package/src/panels/navigator-panels.ts +7 -6
  141. package/src/panels/settings-menu.ts +799 -0
  142. package/src/panels/toolbar.ts +135 -15
  143. package/src/platforms/cloud.ts +261 -70
  144. package/src/platforms/devserver.ts +67 -33
  145. package/src/preview/preview-overlay.ts +226 -0
  146. package/src/publish/publish-panel.ts +62 -2
  147. package/src/services/ai-ask.ts +247 -0
  148. package/src/services/ai-import-tools.ts +532 -0
  149. package/src/services/ai-models.ts +108 -1
  150. package/src/services/ai-project-tools.ts +20 -26
  151. package/src/services/ai-system-prompt.ts +88 -2
  152. package/src/services/ai-turn-signal.ts +70 -0
  153. package/src/services/connection.ts +74 -0
  154. package/src/services/context-manager.ts +101 -1
  155. package/src/services/document-assistant.ts +45 -4
  156. package/src/services/import-client.ts +33 -6
  157. package/src/services/import-run.ts +158 -0
  158. package/src/services/import-seed.ts +120 -0
  159. package/src/services/jx-validate.ts +58 -6
  160. package/src/services/project-adoption.ts +71 -0
  161. package/src/services/references.ts +0 -0
  162. package/src/services/settings/definitions.ts +17 -0
  163. package/src/services/tool-executor.ts +45 -2
  164. package/src/settings/contexts-section.ts +45 -3
  165. package/src/settings/dependencies-editor.ts +43 -23
  166. package/src/settings/general-settings.ts +30 -12
  167. package/src/settings/preferences-accounts.ts +193 -12
  168. package/src/settings/preferences-dialog.ts +93 -59
  169. package/src/settings/preferences-sections.ts +57 -0
  170. package/src/settings/settings-document.ts +65 -9
  171. package/src/studio.ts +33 -6
  172. package/src/tabs/transact.ts +42 -19
  173. package/src/types.ts +129 -7
  174. package/src/ui/ai-managed-connect.ts +62 -13
  175. package/src/ui/ai-model-picker.ts +189 -0
  176. package/src/ui/cf-account-picker.ts +200 -0
  177. package/src/ui/choice-field.ts +72 -0
  178. package/src/ui/layers.ts +83 -5
  179. package/src/utils/studio-utils.ts +22 -52
  180. package/styles/forced-colors.css +7 -0
  181. package/styles/overlays.css +256 -0
  182. package/styles/panels.css +13 -1
  183. package/styles/shell.css +147 -0
  184. package/dist/chunks/Overlay.dev-d2ajy6sj.js +0 -23
  185. package/dist/chunks/content-source-7fy9qrm0.js +0 -40
  186. package/dist/chunks/files-xcybanxe.js +0 -70
  187. package/dist/chunks/layers-panel-27essgkc.js +0 -60
  188. package/dist/chunks/publish-panel-09sy2bab.js +0 -22
  189. package/dist/chunks/quick-search-sefb61v8.js +0 -55
  190. package/dist/chunks/right-panel-9r32jd5j.js +0 -39
  191. package/dist/chunks/sp-overlay.dev-s18hymn9.js +0 -18
  192. package/dist/chunks/sp-popover.dev-dj9x7e7a.js +0 -9
  193. package/dist/chunks/sp-progress-circle.dev-0zxcyz3r.js +0 -15
  194. package/dist/chunks/sp-tooltip.dev-5c6d1kjz.js +0 -15
  195. package/dist/chunks/studio-bw5dz6km.js +0 -608
  196. package/dist/chunks/studio-c31yb4t6.js +0 -55
  197. package/src/canvas/site-style-css.ts +0 -117
@@ -3,31 +3,35 @@ import {
3
3
  noopCommandDeps,
4
4
  selectStylebookTag,
5
5
  stylebook_meta_default
6
- } from "./studio-xntfdy1x.js";
6
+ } from "./studio-fbf92ckf.js";
7
7
  import {
8
8
  dataTypeLabel,
9
9
  defCategory,
10
10
  inspectorCommands,
11
11
  unwrapSignal
12
- } from "./studio-6z5eyjwn.js";
12
+ } from "./studio-950k0dx6.js";
13
13
  import {
14
14
  listWindow,
15
15
  measuredRowHeight,
16
16
  revealListRow,
17
17
  watchListWindow
18
- } from "./studio-p5dja96s.js";
18
+ } from "./studio-4r1pv6zf.js";
19
19
  import {
20
20
  VFile,
21
21
  VFileMessage,
22
+ find,
23
+ html as html2,
24
+ normalize,
22
25
  ok,
23
26
  parse,
24
27
  parse1 as parse2,
28
+ svg,
25
29
  validateComponentSlots,
26
30
  whitespace
27
- } from "./studio-bw5dz6km.js";
31
+ } from "./studio-qcy05dp8.js";
28
32
  import {
29
33
  usagesSupported
30
- } from "./studio-a0yp7syn.js";
34
+ } from "./studio-cft9r4r7.js";
31
35
  import {
32
36
  KEY_SCOPES,
33
37
  activeCanvasSurface,
@@ -43,16 +47,16 @@ import {
43
47
  rectOf,
44
48
  registerPanel,
45
49
  renderEmptyState
46
- } from "./studio-j595e748.js";
50
+ } from "./studio-2b946z26.js";
51
+ import {
52
+ setActivityTab,
53
+ shell
54
+ } from "./studio-msd847zn.js";
47
55
  import {
48
- activeRegistry,
49
56
  activeTab,
50
57
  editorKindForMode,
51
- errorMessage,
52
- getLayerSlot,
53
58
  hasElementSelection,
54
59
  hasSelection,
55
- isModalOpen,
56
60
  isSelected,
57
61
  isSpliceablePath,
58
62
  jsonClone,
@@ -68,33 +72,22 @@ import {
68
72
  mutateWrapNode,
69
73
  primarySelection,
70
74
  rangeSelection,
71
- renderPopover,
72
75
  selectionAnchor,
73
- setActivityTab,
74
- shell,
75
- showDialog,
76
- stageContaining,
77
76
  structuralBatch,
78
77
  toggleSelected,
79
78
  transact,
80
79
  transactDoc,
81
- view,
82
80
  workspace
83
- } from "./studio-r5xbtctf.js";
81
+ } from "./studio-trxrabqf.js";
82
+ import {
83
+ stageContaining,
84
+ view
85
+ } from "./studio-wcy8trfx.js";
84
86
  import {
85
87
  classMap,
86
88
  ifDefined,
87
89
  styleMap
88
- } from "./studio-twsafr1e.js";
89
- import {
90
- ref,
91
- repeat
92
- } from "./studio-kvfx9z2c.js";
93
- import {
94
- html,
95
- nothing,
96
- render
97
- } from "./studio-5x5774ak.js";
90
+ } from "./studio-m3hwn7y1.js";
98
91
  import {
99
92
  draggable
100
93
  } from "./studio-g1wdche0.js";
@@ -102,31 +95,51 @@ import {
102
95
  componentRegistry,
103
96
  computeRelativePath,
104
97
  loadComponentRegistry
105
- } from "./studio-s519zc99.js";
98
+ } from "./studio-bgxt93ga.js";
106
99
  import {
107
100
  VOID_ELEMENTS,
108
101
  childIndex,
109
102
  childList,
110
- displayTagName,
111
103
  flattenTree,
112
104
  getNodeAtPath,
113
- isRef,
114
- isTagExpression,
115
105
  nodeLabel,
116
106
  parentElementPath,
117
107
  pathKey,
118
108
  pathsEqual,
119
- projectState,
120
- tagNameCandidates
121
- } from "./studio-cjm7fdjf.js";
109
+ projectState
110
+ } from "./studio-p4ngc046.js";
111
+ import {
112
+ activeRegistry,
113
+ getLayerSlot,
114
+ isModalOpen,
115
+ renderPopover,
116
+ showDialog
117
+ } from "./studio-t7qb9db8.js";
118
+ import {
119
+ errorMessage
120
+ } from "./studio-9n4mrmnb.js";
122
121
  import {
123
122
  notify
124
- } from "./studio-qpfq7xhm.js";
123
+ } from "./studio-xrapxwwc.js";
124
+ import {
125
+ ref,
126
+ repeat
127
+ } from "./studio-4rzyrtjz.js";
128
+ import {
129
+ html,
130
+ nothing,
131
+ render
132
+ } from "./studio-kryvsw6j.js";
133
+ import {
134
+ displayTagName,
135
+ isRef,
136
+ isTagExpression,
137
+ tagNameCandidates
138
+ } from "./studio-q7v10cg2.js";
125
139
  import {
126
140
  getPlatform
127
- } from "./studio-sas7mt3k.js";
141
+ } from "./studio-9ab8gqsm.js";
128
142
  import {
129
- __export,
130
143
  __require
131
144
  } from "./studio-a0tswy0w.js";
132
145
 
@@ -213,1125 +226,6 @@ function renderStylebookLayersTemplate(ctx) {
213
226
  `)}`;
214
227
  }
215
228
 
216
- // ../../node_modules/hastscript/node_modules/property-information/lib/util/schema.js
217
- class Schema {
218
- constructor(property, normal, space) {
219
- this.normal = normal;
220
- this.property = property;
221
- if (space) {
222
- this.space = space;
223
- }
224
- }
225
- }
226
- Schema.prototype.normal = {};
227
- Schema.prototype.property = {};
228
- Schema.prototype.space = undefined;
229
-
230
- // ../../node_modules/hastscript/node_modules/property-information/lib/util/merge.js
231
- function merge(definitions, space) {
232
- const property = {};
233
- const normal = {};
234
- for (const definition of definitions) {
235
- Object.assign(property, definition.property);
236
- Object.assign(normal, definition.normal);
237
- }
238
- return new Schema(property, normal, space);
239
- }
240
-
241
- // ../../node_modules/hastscript/node_modules/property-information/lib/normalize.js
242
- function normalize(value) {
243
- return value.toLowerCase();
244
- }
245
-
246
- // ../../node_modules/hastscript/node_modules/property-information/lib/util/info.js
247
- class Info {
248
- constructor(property, attribute) {
249
- this.attribute = attribute;
250
- this.property = property;
251
- }
252
- }
253
- Info.prototype.attribute = "";
254
- Info.prototype.booleanish = false;
255
- Info.prototype.boolean = false;
256
- Info.prototype.commaOrSpaceSeparated = false;
257
- Info.prototype.commaSeparated = false;
258
- Info.prototype.defined = false;
259
- Info.prototype.mustUseProperty = false;
260
- Info.prototype.number = false;
261
- Info.prototype.overloadedBoolean = false;
262
- Info.prototype.property = "";
263
- Info.prototype.spaceSeparated = false;
264
- Info.prototype.space = undefined;
265
-
266
- // ../../node_modules/hastscript/node_modules/property-information/lib/util/types.js
267
- var exports_types = {};
268
- __export(exports_types, {
269
- boolean: () => boolean,
270
- booleanish: () => booleanish,
271
- commaOrSpaceSeparated: () => commaOrSpaceSeparated,
272
- commaSeparated: () => commaSeparated,
273
- number: () => number,
274
- overloadedBoolean: () => overloadedBoolean,
275
- spaceSeparated: () => spaceSeparated
276
- });
277
- var powers = 0;
278
- var boolean = increment();
279
- var booleanish = increment();
280
- var overloadedBoolean = increment();
281
- var number = increment();
282
- var spaceSeparated = increment();
283
- var commaSeparated = increment();
284
- var commaOrSpaceSeparated = increment();
285
- function increment() {
286
- return 2 ** ++powers;
287
- }
288
-
289
- // ../../node_modules/hastscript/node_modules/property-information/lib/util/defined-info.js
290
- var checks = Object.keys(exports_types);
291
-
292
- class DefinedInfo extends Info {
293
- constructor(property, attribute, mask, space) {
294
- let index = -1;
295
- super(property, attribute);
296
- mark(this, "space", space);
297
- if (typeof mask === "number") {
298
- while (++index < checks.length) {
299
- const check = checks[index];
300
- mark(this, checks[index], (mask & exports_types[check]) === exports_types[check]);
301
- }
302
- }
303
- }
304
- }
305
- DefinedInfo.prototype.defined = true;
306
- function mark(values, key, value) {
307
- if (value) {
308
- values[key] = value;
309
- }
310
- }
311
-
312
- // ../../node_modules/hastscript/node_modules/property-information/lib/util/create.js
313
- function create(definition) {
314
- const properties = {};
315
- const normals = {};
316
- for (const [property, value] of Object.entries(definition.properties)) {
317
- const info = new DefinedInfo(property, definition.transform(definition.attributes || {}, property), value, definition.space);
318
- if (definition.mustUseProperty && definition.mustUseProperty.includes(property)) {
319
- info.mustUseProperty = true;
320
- }
321
- properties[property] = info;
322
- normals[normalize(property)] = property;
323
- normals[normalize(info.attribute)] = property;
324
- }
325
- return new Schema(properties, normals, definition.space);
326
- }
327
-
328
- // ../../node_modules/hastscript/node_modules/property-information/lib/aria.js
329
- var aria = create({
330
- properties: {
331
- ariaActiveDescendant: null,
332
- ariaAtomic: booleanish,
333
- ariaAutoComplete: null,
334
- ariaBusy: booleanish,
335
- ariaChecked: booleanish,
336
- ariaColCount: number,
337
- ariaColIndex: number,
338
- ariaColSpan: number,
339
- ariaControls: spaceSeparated,
340
- ariaCurrent: null,
341
- ariaDescribedBy: spaceSeparated,
342
- ariaDetails: null,
343
- ariaDisabled: booleanish,
344
- ariaDropEffect: spaceSeparated,
345
- ariaErrorMessage: null,
346
- ariaExpanded: booleanish,
347
- ariaFlowTo: spaceSeparated,
348
- ariaGrabbed: booleanish,
349
- ariaHasPopup: null,
350
- ariaHidden: booleanish,
351
- ariaInvalid: null,
352
- ariaKeyShortcuts: null,
353
- ariaLabel: null,
354
- ariaLabelledBy: spaceSeparated,
355
- ariaLevel: number,
356
- ariaLive: null,
357
- ariaModal: booleanish,
358
- ariaMultiLine: booleanish,
359
- ariaMultiSelectable: booleanish,
360
- ariaOrientation: null,
361
- ariaOwns: spaceSeparated,
362
- ariaPlaceholder: null,
363
- ariaPosInSet: number,
364
- ariaPressed: booleanish,
365
- ariaReadOnly: booleanish,
366
- ariaRelevant: null,
367
- ariaRequired: booleanish,
368
- ariaRoleDescription: spaceSeparated,
369
- ariaRowCount: number,
370
- ariaRowIndex: number,
371
- ariaRowSpan: number,
372
- ariaSelected: booleanish,
373
- ariaSetSize: number,
374
- ariaSort: null,
375
- ariaValueMax: number,
376
- ariaValueMin: number,
377
- ariaValueNow: number,
378
- ariaValueText: null,
379
- role: null
380
- },
381
- transform(_, property) {
382
- return property === "role" ? property : "aria-" + property.slice(4).toLowerCase();
383
- }
384
- });
385
-
386
- // ../../node_modules/hastscript/node_modules/property-information/lib/util/case-sensitive-transform.js
387
- function caseSensitiveTransform(attributes, attribute) {
388
- return attribute in attributes ? attributes[attribute] : attribute;
389
- }
390
-
391
- // ../../node_modules/hastscript/node_modules/property-information/lib/util/case-insensitive-transform.js
392
- function caseInsensitiveTransform(attributes, property) {
393
- return caseSensitiveTransform(attributes, property.toLowerCase());
394
- }
395
-
396
- // ../../node_modules/hastscript/node_modules/property-information/lib/html.js
397
- var html2 = create({
398
- attributes: {
399
- acceptcharset: "accept-charset",
400
- classname: "class",
401
- htmlfor: "for",
402
- httpequiv: "http-equiv"
403
- },
404
- mustUseProperty: ["checked", "multiple", "muted", "selected"],
405
- properties: {
406
- abbr: null,
407
- accept: commaSeparated,
408
- acceptCharset: spaceSeparated,
409
- accessKey: spaceSeparated,
410
- action: null,
411
- allow: null,
412
- allowFullScreen: boolean,
413
- allowPaymentRequest: boolean,
414
- allowUserMedia: boolean,
415
- alt: null,
416
- as: null,
417
- async: boolean,
418
- autoCapitalize: null,
419
- autoComplete: spaceSeparated,
420
- autoFocus: boolean,
421
- autoPlay: boolean,
422
- blocking: spaceSeparated,
423
- capture: null,
424
- charSet: null,
425
- checked: boolean,
426
- cite: null,
427
- className: spaceSeparated,
428
- cols: number,
429
- colSpan: null,
430
- content: null,
431
- contentEditable: booleanish,
432
- controls: boolean,
433
- controlsList: spaceSeparated,
434
- coords: number | commaSeparated,
435
- crossOrigin: null,
436
- data: null,
437
- dateTime: null,
438
- decoding: null,
439
- default: boolean,
440
- defer: boolean,
441
- dir: null,
442
- dirName: null,
443
- disabled: boolean,
444
- download: overloadedBoolean,
445
- draggable: booleanish,
446
- encType: null,
447
- enterKeyHint: null,
448
- fetchPriority: null,
449
- form: null,
450
- formAction: null,
451
- formEncType: null,
452
- formMethod: null,
453
- formNoValidate: boolean,
454
- formTarget: null,
455
- headers: spaceSeparated,
456
- height: number,
457
- hidden: overloadedBoolean,
458
- high: number,
459
- href: null,
460
- hrefLang: null,
461
- htmlFor: spaceSeparated,
462
- httpEquiv: spaceSeparated,
463
- id: null,
464
- imageSizes: null,
465
- imageSrcSet: null,
466
- inert: boolean,
467
- inputMode: null,
468
- integrity: null,
469
- is: null,
470
- isMap: boolean,
471
- itemId: null,
472
- itemProp: spaceSeparated,
473
- itemRef: spaceSeparated,
474
- itemScope: boolean,
475
- itemType: spaceSeparated,
476
- kind: null,
477
- label: null,
478
- lang: null,
479
- language: null,
480
- list: null,
481
- loading: null,
482
- loop: boolean,
483
- low: number,
484
- manifest: null,
485
- max: null,
486
- maxLength: number,
487
- media: null,
488
- method: null,
489
- min: null,
490
- minLength: number,
491
- multiple: boolean,
492
- muted: boolean,
493
- name: null,
494
- nonce: null,
495
- noModule: boolean,
496
- noValidate: boolean,
497
- onAbort: null,
498
- onAfterPrint: null,
499
- onAuxClick: null,
500
- onBeforeMatch: null,
501
- onBeforePrint: null,
502
- onBeforeToggle: null,
503
- onBeforeUnload: null,
504
- onBlur: null,
505
- onCancel: null,
506
- onCanPlay: null,
507
- onCanPlayThrough: null,
508
- onChange: null,
509
- onClick: null,
510
- onClose: null,
511
- onContextLost: null,
512
- onContextMenu: null,
513
- onContextRestored: null,
514
- onCopy: null,
515
- onCueChange: null,
516
- onCut: null,
517
- onDblClick: null,
518
- onDrag: null,
519
- onDragEnd: null,
520
- onDragEnter: null,
521
- onDragExit: null,
522
- onDragLeave: null,
523
- onDragOver: null,
524
- onDragStart: null,
525
- onDrop: null,
526
- onDurationChange: null,
527
- onEmptied: null,
528
- onEnded: null,
529
- onError: null,
530
- onFocus: null,
531
- onFormData: null,
532
- onHashChange: null,
533
- onInput: null,
534
- onInvalid: null,
535
- onKeyDown: null,
536
- onKeyPress: null,
537
- onKeyUp: null,
538
- onLanguageChange: null,
539
- onLoad: null,
540
- onLoadedData: null,
541
- onLoadedMetadata: null,
542
- onLoadEnd: null,
543
- onLoadStart: null,
544
- onMessage: null,
545
- onMessageError: null,
546
- onMouseDown: null,
547
- onMouseEnter: null,
548
- onMouseLeave: null,
549
- onMouseMove: null,
550
- onMouseOut: null,
551
- onMouseOver: null,
552
- onMouseUp: null,
553
- onOffline: null,
554
- onOnline: null,
555
- onPageHide: null,
556
- onPageShow: null,
557
- onPaste: null,
558
- onPause: null,
559
- onPlay: null,
560
- onPlaying: null,
561
- onPopState: null,
562
- onProgress: null,
563
- onRateChange: null,
564
- onRejectionHandled: null,
565
- onReset: null,
566
- onResize: null,
567
- onScroll: null,
568
- onScrollEnd: null,
569
- onSecurityPolicyViolation: null,
570
- onSeeked: null,
571
- onSeeking: null,
572
- onSelect: null,
573
- onSlotChange: null,
574
- onStalled: null,
575
- onStorage: null,
576
- onSubmit: null,
577
- onSuspend: null,
578
- onTimeUpdate: null,
579
- onToggle: null,
580
- onUnhandledRejection: null,
581
- onUnload: null,
582
- onVolumeChange: null,
583
- onWaiting: null,
584
- onWheel: null,
585
- open: boolean,
586
- optimum: number,
587
- pattern: null,
588
- ping: spaceSeparated,
589
- placeholder: null,
590
- playsInline: boolean,
591
- popover: null,
592
- popoverTarget: null,
593
- popoverTargetAction: null,
594
- poster: null,
595
- preload: null,
596
- readOnly: boolean,
597
- referrerPolicy: null,
598
- rel: spaceSeparated,
599
- required: boolean,
600
- reversed: boolean,
601
- rows: number,
602
- rowSpan: number,
603
- sandbox: spaceSeparated,
604
- scope: null,
605
- scoped: boolean,
606
- seamless: boolean,
607
- selected: boolean,
608
- shadowRootClonable: boolean,
609
- shadowRootDelegatesFocus: boolean,
610
- shadowRootMode: null,
611
- shape: null,
612
- size: number,
613
- sizes: null,
614
- slot: null,
615
- span: number,
616
- spellCheck: booleanish,
617
- src: null,
618
- srcDoc: null,
619
- srcLang: null,
620
- srcSet: null,
621
- start: number,
622
- step: null,
623
- style: null,
624
- tabIndex: number,
625
- target: null,
626
- title: null,
627
- translate: null,
628
- type: null,
629
- typeMustMatch: boolean,
630
- useMap: null,
631
- value: booleanish,
632
- width: number,
633
- wrap: null,
634
- writingSuggestions: null,
635
- align: null,
636
- aLink: null,
637
- archive: spaceSeparated,
638
- axis: null,
639
- background: null,
640
- bgColor: null,
641
- border: number,
642
- borderColor: null,
643
- bottomMargin: number,
644
- cellPadding: null,
645
- cellSpacing: null,
646
- char: null,
647
- charOff: null,
648
- classId: null,
649
- clear: null,
650
- code: null,
651
- codeBase: null,
652
- codeType: null,
653
- color: null,
654
- compact: boolean,
655
- declare: boolean,
656
- event: null,
657
- face: null,
658
- frame: null,
659
- frameBorder: null,
660
- hSpace: number,
661
- leftMargin: number,
662
- link: null,
663
- longDesc: null,
664
- lowSrc: null,
665
- marginHeight: number,
666
- marginWidth: number,
667
- noResize: boolean,
668
- noHref: boolean,
669
- noShade: boolean,
670
- noWrap: boolean,
671
- object: null,
672
- profile: null,
673
- prompt: null,
674
- rev: null,
675
- rightMargin: number,
676
- rules: null,
677
- scheme: null,
678
- scrolling: booleanish,
679
- standby: null,
680
- summary: null,
681
- text: null,
682
- topMargin: number,
683
- valueType: null,
684
- version: null,
685
- vAlign: null,
686
- vLink: null,
687
- vSpace: number,
688
- allowTransparency: null,
689
- autoCorrect: null,
690
- autoSave: null,
691
- disablePictureInPicture: boolean,
692
- disableRemotePlayback: boolean,
693
- prefix: null,
694
- property: null,
695
- results: number,
696
- security: null,
697
- unselectable: null
698
- },
699
- space: "html",
700
- transform: caseInsensitiveTransform
701
- });
702
-
703
- // ../../node_modules/hastscript/node_modules/property-information/lib/svg.js
704
- var svg = create({
705
- attributes: {
706
- accentHeight: "accent-height",
707
- alignmentBaseline: "alignment-baseline",
708
- arabicForm: "arabic-form",
709
- baselineShift: "baseline-shift",
710
- capHeight: "cap-height",
711
- className: "class",
712
- clipPath: "clip-path",
713
- clipRule: "clip-rule",
714
- colorInterpolation: "color-interpolation",
715
- colorInterpolationFilters: "color-interpolation-filters",
716
- colorProfile: "color-profile",
717
- colorRendering: "color-rendering",
718
- crossOrigin: "crossorigin",
719
- dataType: "datatype",
720
- dominantBaseline: "dominant-baseline",
721
- enableBackground: "enable-background",
722
- fillOpacity: "fill-opacity",
723
- fillRule: "fill-rule",
724
- floodColor: "flood-color",
725
- floodOpacity: "flood-opacity",
726
- fontFamily: "font-family",
727
- fontSize: "font-size",
728
- fontSizeAdjust: "font-size-adjust",
729
- fontStretch: "font-stretch",
730
- fontStyle: "font-style",
731
- fontVariant: "font-variant",
732
- fontWeight: "font-weight",
733
- glyphName: "glyph-name",
734
- glyphOrientationHorizontal: "glyph-orientation-horizontal",
735
- glyphOrientationVertical: "glyph-orientation-vertical",
736
- hrefLang: "hreflang",
737
- horizAdvX: "horiz-adv-x",
738
- horizOriginX: "horiz-origin-x",
739
- horizOriginY: "horiz-origin-y",
740
- imageRendering: "image-rendering",
741
- letterSpacing: "letter-spacing",
742
- lightingColor: "lighting-color",
743
- markerEnd: "marker-end",
744
- markerMid: "marker-mid",
745
- markerStart: "marker-start",
746
- navDown: "nav-down",
747
- navDownLeft: "nav-down-left",
748
- navDownRight: "nav-down-right",
749
- navLeft: "nav-left",
750
- navNext: "nav-next",
751
- navPrev: "nav-prev",
752
- navRight: "nav-right",
753
- navUp: "nav-up",
754
- navUpLeft: "nav-up-left",
755
- navUpRight: "nav-up-right",
756
- onAbort: "onabort",
757
- onActivate: "onactivate",
758
- onAfterPrint: "onafterprint",
759
- onBeforePrint: "onbeforeprint",
760
- onBegin: "onbegin",
761
- onCancel: "oncancel",
762
- onCanPlay: "oncanplay",
763
- onCanPlayThrough: "oncanplaythrough",
764
- onChange: "onchange",
765
- onClick: "onclick",
766
- onClose: "onclose",
767
- onCopy: "oncopy",
768
- onCueChange: "oncuechange",
769
- onCut: "oncut",
770
- onDblClick: "ondblclick",
771
- onDrag: "ondrag",
772
- onDragEnd: "ondragend",
773
- onDragEnter: "ondragenter",
774
- onDragExit: "ondragexit",
775
- onDragLeave: "ondragleave",
776
- onDragOver: "ondragover",
777
- onDragStart: "ondragstart",
778
- onDrop: "ondrop",
779
- onDurationChange: "ondurationchange",
780
- onEmptied: "onemptied",
781
- onEnd: "onend",
782
- onEnded: "onended",
783
- onError: "onerror",
784
- onFocus: "onfocus",
785
- onFocusIn: "onfocusin",
786
- onFocusOut: "onfocusout",
787
- onHashChange: "onhashchange",
788
- onInput: "oninput",
789
- onInvalid: "oninvalid",
790
- onKeyDown: "onkeydown",
791
- onKeyPress: "onkeypress",
792
- onKeyUp: "onkeyup",
793
- onLoad: "onload",
794
- onLoadedData: "onloadeddata",
795
- onLoadedMetadata: "onloadedmetadata",
796
- onLoadStart: "onloadstart",
797
- onMessage: "onmessage",
798
- onMouseDown: "onmousedown",
799
- onMouseEnter: "onmouseenter",
800
- onMouseLeave: "onmouseleave",
801
- onMouseMove: "onmousemove",
802
- onMouseOut: "onmouseout",
803
- onMouseOver: "onmouseover",
804
- onMouseUp: "onmouseup",
805
- onMouseWheel: "onmousewheel",
806
- onOffline: "onoffline",
807
- onOnline: "ononline",
808
- onPageHide: "onpagehide",
809
- onPageShow: "onpageshow",
810
- onPaste: "onpaste",
811
- onPause: "onpause",
812
- onPlay: "onplay",
813
- onPlaying: "onplaying",
814
- onPopState: "onpopstate",
815
- onProgress: "onprogress",
816
- onRateChange: "onratechange",
817
- onRepeat: "onrepeat",
818
- onReset: "onreset",
819
- onResize: "onresize",
820
- onScroll: "onscroll",
821
- onSeeked: "onseeked",
822
- onSeeking: "onseeking",
823
- onSelect: "onselect",
824
- onShow: "onshow",
825
- onStalled: "onstalled",
826
- onStorage: "onstorage",
827
- onSubmit: "onsubmit",
828
- onSuspend: "onsuspend",
829
- onTimeUpdate: "ontimeupdate",
830
- onToggle: "ontoggle",
831
- onUnload: "onunload",
832
- onVolumeChange: "onvolumechange",
833
- onWaiting: "onwaiting",
834
- onZoom: "onzoom",
835
- overlinePosition: "overline-position",
836
- overlineThickness: "overline-thickness",
837
- paintOrder: "paint-order",
838
- panose1: "panose-1",
839
- pointerEvents: "pointer-events",
840
- referrerPolicy: "referrerpolicy",
841
- renderingIntent: "rendering-intent",
842
- shapeRendering: "shape-rendering",
843
- stopColor: "stop-color",
844
- stopOpacity: "stop-opacity",
845
- strikethroughPosition: "strikethrough-position",
846
- strikethroughThickness: "strikethrough-thickness",
847
- strokeDashArray: "stroke-dasharray",
848
- strokeDashOffset: "stroke-dashoffset",
849
- strokeLineCap: "stroke-linecap",
850
- strokeLineJoin: "stroke-linejoin",
851
- strokeMiterLimit: "stroke-miterlimit",
852
- strokeOpacity: "stroke-opacity",
853
- strokeWidth: "stroke-width",
854
- tabIndex: "tabindex",
855
- textAnchor: "text-anchor",
856
- textDecoration: "text-decoration",
857
- textRendering: "text-rendering",
858
- transformOrigin: "transform-origin",
859
- typeOf: "typeof",
860
- underlinePosition: "underline-position",
861
- underlineThickness: "underline-thickness",
862
- unicodeBidi: "unicode-bidi",
863
- unicodeRange: "unicode-range",
864
- unitsPerEm: "units-per-em",
865
- vAlphabetic: "v-alphabetic",
866
- vHanging: "v-hanging",
867
- vIdeographic: "v-ideographic",
868
- vMathematical: "v-mathematical",
869
- vectorEffect: "vector-effect",
870
- vertAdvY: "vert-adv-y",
871
- vertOriginX: "vert-origin-x",
872
- vertOriginY: "vert-origin-y",
873
- wordSpacing: "word-spacing",
874
- writingMode: "writing-mode",
875
- xHeight: "x-height",
876
- playbackOrder: "playbackorder",
877
- timelineBegin: "timelinebegin"
878
- },
879
- properties: {
880
- about: commaOrSpaceSeparated,
881
- accentHeight: number,
882
- accumulate: null,
883
- additive: null,
884
- alignmentBaseline: null,
885
- alphabetic: number,
886
- amplitude: number,
887
- arabicForm: null,
888
- ascent: number,
889
- attributeName: null,
890
- attributeType: null,
891
- azimuth: number,
892
- bandwidth: null,
893
- baselineShift: null,
894
- baseFrequency: null,
895
- baseProfile: null,
896
- bbox: null,
897
- begin: null,
898
- bias: number,
899
- by: null,
900
- calcMode: null,
901
- capHeight: number,
902
- className: spaceSeparated,
903
- clip: null,
904
- clipPath: null,
905
- clipPathUnits: null,
906
- clipRule: null,
907
- color: null,
908
- colorInterpolation: null,
909
- colorInterpolationFilters: null,
910
- colorProfile: null,
911
- colorRendering: null,
912
- content: null,
913
- contentScriptType: null,
914
- contentStyleType: null,
915
- crossOrigin: null,
916
- cursor: null,
917
- cx: null,
918
- cy: null,
919
- d: null,
920
- dataType: null,
921
- defaultAction: null,
922
- descent: number,
923
- diffuseConstant: number,
924
- direction: null,
925
- display: null,
926
- dur: null,
927
- divisor: number,
928
- dominantBaseline: null,
929
- download: boolean,
930
- dx: null,
931
- dy: null,
932
- edgeMode: null,
933
- editable: null,
934
- elevation: number,
935
- enableBackground: null,
936
- end: null,
937
- event: null,
938
- exponent: number,
939
- externalResourcesRequired: null,
940
- fill: null,
941
- fillOpacity: number,
942
- fillRule: null,
943
- filter: null,
944
- filterRes: null,
945
- filterUnits: null,
946
- floodColor: null,
947
- floodOpacity: null,
948
- focusable: null,
949
- focusHighlight: null,
950
- fontFamily: null,
951
- fontSize: null,
952
- fontSizeAdjust: null,
953
- fontStretch: null,
954
- fontStyle: null,
955
- fontVariant: null,
956
- fontWeight: null,
957
- format: null,
958
- fr: null,
959
- from: null,
960
- fx: null,
961
- fy: null,
962
- g1: commaSeparated,
963
- g2: commaSeparated,
964
- glyphName: commaSeparated,
965
- glyphOrientationHorizontal: null,
966
- glyphOrientationVertical: null,
967
- glyphRef: null,
968
- gradientTransform: null,
969
- gradientUnits: null,
970
- handler: null,
971
- hanging: number,
972
- hatchContentUnits: null,
973
- hatchUnits: null,
974
- height: null,
975
- href: null,
976
- hrefLang: null,
977
- horizAdvX: number,
978
- horizOriginX: number,
979
- horizOriginY: number,
980
- id: null,
981
- ideographic: number,
982
- imageRendering: null,
983
- initialVisibility: null,
984
- in: null,
985
- in2: null,
986
- intercept: number,
987
- k: number,
988
- k1: number,
989
- k2: number,
990
- k3: number,
991
- k4: number,
992
- kernelMatrix: commaOrSpaceSeparated,
993
- kernelUnitLength: null,
994
- keyPoints: null,
995
- keySplines: null,
996
- keyTimes: null,
997
- kerning: null,
998
- lang: null,
999
- lengthAdjust: null,
1000
- letterSpacing: null,
1001
- lightingColor: null,
1002
- limitingConeAngle: number,
1003
- local: null,
1004
- markerEnd: null,
1005
- markerMid: null,
1006
- markerStart: null,
1007
- markerHeight: null,
1008
- markerUnits: null,
1009
- markerWidth: null,
1010
- mask: null,
1011
- maskContentUnits: null,
1012
- maskUnits: null,
1013
- mathematical: null,
1014
- max: null,
1015
- media: null,
1016
- mediaCharacterEncoding: null,
1017
- mediaContentEncodings: null,
1018
- mediaSize: number,
1019
- mediaTime: null,
1020
- method: null,
1021
- min: null,
1022
- mode: null,
1023
- name: null,
1024
- navDown: null,
1025
- navDownLeft: null,
1026
- navDownRight: null,
1027
- navLeft: null,
1028
- navNext: null,
1029
- navPrev: null,
1030
- navRight: null,
1031
- navUp: null,
1032
- navUpLeft: null,
1033
- navUpRight: null,
1034
- numOctaves: null,
1035
- observer: null,
1036
- offset: null,
1037
- onAbort: null,
1038
- onActivate: null,
1039
- onAfterPrint: null,
1040
- onBeforePrint: null,
1041
- onBegin: null,
1042
- onCancel: null,
1043
- onCanPlay: null,
1044
- onCanPlayThrough: null,
1045
- onChange: null,
1046
- onClick: null,
1047
- onClose: null,
1048
- onCopy: null,
1049
- onCueChange: null,
1050
- onCut: null,
1051
- onDblClick: null,
1052
- onDrag: null,
1053
- onDragEnd: null,
1054
- onDragEnter: null,
1055
- onDragExit: null,
1056
- onDragLeave: null,
1057
- onDragOver: null,
1058
- onDragStart: null,
1059
- onDrop: null,
1060
- onDurationChange: null,
1061
- onEmptied: null,
1062
- onEnd: null,
1063
- onEnded: null,
1064
- onError: null,
1065
- onFocus: null,
1066
- onFocusIn: null,
1067
- onFocusOut: null,
1068
- onHashChange: null,
1069
- onInput: null,
1070
- onInvalid: null,
1071
- onKeyDown: null,
1072
- onKeyPress: null,
1073
- onKeyUp: null,
1074
- onLoad: null,
1075
- onLoadedData: null,
1076
- onLoadedMetadata: null,
1077
- onLoadStart: null,
1078
- onMessage: null,
1079
- onMouseDown: null,
1080
- onMouseEnter: null,
1081
- onMouseLeave: null,
1082
- onMouseMove: null,
1083
- onMouseOut: null,
1084
- onMouseOver: null,
1085
- onMouseUp: null,
1086
- onMouseWheel: null,
1087
- onOffline: null,
1088
- onOnline: null,
1089
- onPageHide: null,
1090
- onPageShow: null,
1091
- onPaste: null,
1092
- onPause: null,
1093
- onPlay: null,
1094
- onPlaying: null,
1095
- onPopState: null,
1096
- onProgress: null,
1097
- onRateChange: null,
1098
- onRepeat: null,
1099
- onReset: null,
1100
- onResize: null,
1101
- onScroll: null,
1102
- onSeeked: null,
1103
- onSeeking: null,
1104
- onSelect: null,
1105
- onShow: null,
1106
- onStalled: null,
1107
- onStorage: null,
1108
- onSubmit: null,
1109
- onSuspend: null,
1110
- onTimeUpdate: null,
1111
- onToggle: null,
1112
- onUnload: null,
1113
- onVolumeChange: null,
1114
- onWaiting: null,
1115
- onZoom: null,
1116
- opacity: null,
1117
- operator: null,
1118
- order: null,
1119
- orient: null,
1120
- orientation: null,
1121
- origin: null,
1122
- overflow: null,
1123
- overlay: null,
1124
- overlinePosition: number,
1125
- overlineThickness: number,
1126
- paintOrder: null,
1127
- panose1: null,
1128
- path: null,
1129
- pathLength: number,
1130
- patternContentUnits: null,
1131
- patternTransform: null,
1132
- patternUnits: null,
1133
- phase: null,
1134
- ping: spaceSeparated,
1135
- pitch: null,
1136
- playbackOrder: null,
1137
- pointerEvents: null,
1138
- points: null,
1139
- pointsAtX: number,
1140
- pointsAtY: number,
1141
- pointsAtZ: number,
1142
- preserveAlpha: null,
1143
- preserveAspectRatio: null,
1144
- primitiveUnits: null,
1145
- propagate: null,
1146
- property: commaOrSpaceSeparated,
1147
- r: null,
1148
- radius: null,
1149
- referrerPolicy: null,
1150
- refX: null,
1151
- refY: null,
1152
- rel: commaOrSpaceSeparated,
1153
- rev: commaOrSpaceSeparated,
1154
- renderingIntent: null,
1155
- repeatCount: null,
1156
- repeatDur: null,
1157
- requiredExtensions: commaOrSpaceSeparated,
1158
- requiredFeatures: commaOrSpaceSeparated,
1159
- requiredFonts: commaOrSpaceSeparated,
1160
- requiredFormats: commaOrSpaceSeparated,
1161
- resource: null,
1162
- restart: null,
1163
- result: null,
1164
- rotate: null,
1165
- rx: null,
1166
- ry: null,
1167
- scale: null,
1168
- seed: null,
1169
- shapeRendering: null,
1170
- side: null,
1171
- slope: null,
1172
- snapshotTime: null,
1173
- specularConstant: number,
1174
- specularExponent: number,
1175
- spreadMethod: null,
1176
- spacing: null,
1177
- startOffset: null,
1178
- stdDeviation: null,
1179
- stemh: null,
1180
- stemv: null,
1181
- stitchTiles: null,
1182
- stopColor: null,
1183
- stopOpacity: null,
1184
- strikethroughPosition: number,
1185
- strikethroughThickness: number,
1186
- string: null,
1187
- stroke: null,
1188
- strokeDashArray: commaOrSpaceSeparated,
1189
- strokeDashOffset: null,
1190
- strokeLineCap: null,
1191
- strokeLineJoin: null,
1192
- strokeMiterLimit: number,
1193
- strokeOpacity: number,
1194
- strokeWidth: null,
1195
- style: null,
1196
- surfaceScale: number,
1197
- syncBehavior: null,
1198
- syncBehaviorDefault: null,
1199
- syncMaster: null,
1200
- syncTolerance: null,
1201
- syncToleranceDefault: null,
1202
- systemLanguage: commaOrSpaceSeparated,
1203
- tabIndex: number,
1204
- tableValues: null,
1205
- target: null,
1206
- targetX: number,
1207
- targetY: number,
1208
- textAnchor: null,
1209
- textDecoration: null,
1210
- textRendering: null,
1211
- textLength: null,
1212
- timelineBegin: null,
1213
- title: null,
1214
- transformBehavior: null,
1215
- type: null,
1216
- typeOf: commaOrSpaceSeparated,
1217
- to: null,
1218
- transform: null,
1219
- transformOrigin: null,
1220
- u1: null,
1221
- u2: null,
1222
- underlinePosition: number,
1223
- underlineThickness: number,
1224
- unicode: null,
1225
- unicodeBidi: null,
1226
- unicodeRange: null,
1227
- unitsPerEm: number,
1228
- values: null,
1229
- vAlphabetic: number,
1230
- vMathematical: number,
1231
- vectorEffect: null,
1232
- vHanging: number,
1233
- vIdeographic: number,
1234
- version: null,
1235
- vertAdvY: number,
1236
- vertOriginX: number,
1237
- vertOriginY: number,
1238
- viewBox: null,
1239
- viewTarget: null,
1240
- visibility: null,
1241
- width: null,
1242
- widths: null,
1243
- wordSpacing: null,
1244
- writingMode: null,
1245
- x: null,
1246
- x1: null,
1247
- x2: null,
1248
- xChannelSelector: null,
1249
- xHeight: number,
1250
- y: null,
1251
- y1: null,
1252
- y2: null,
1253
- yChannelSelector: null,
1254
- z: null,
1255
- zoomAndPan: null
1256
- },
1257
- space: "svg",
1258
- transform: caseSensitiveTransform
1259
- });
1260
-
1261
- // ../../node_modules/hastscript/node_modules/property-information/lib/xlink.js
1262
- var xlink = create({
1263
- properties: {
1264
- xLinkActuate: null,
1265
- xLinkArcRole: null,
1266
- xLinkHref: null,
1267
- xLinkRole: null,
1268
- xLinkShow: null,
1269
- xLinkTitle: null,
1270
- xLinkType: null
1271
- },
1272
- space: "xlink",
1273
- transform(_, property) {
1274
- return "xlink:" + property.slice(5).toLowerCase();
1275
- }
1276
- });
1277
-
1278
- // ../../node_modules/hastscript/node_modules/property-information/lib/xmlns.js
1279
- var xmlns = create({
1280
- attributes: { xmlnsxlink: "xmlns:xlink" },
1281
- properties: { xmlnsXLink: null, xmlns: null },
1282
- space: "xmlns",
1283
- transform: caseInsensitiveTransform
1284
- });
1285
-
1286
- // ../../node_modules/hastscript/node_modules/property-information/lib/xml.js
1287
- var xml = create({
1288
- properties: { xmlBase: null, xmlLang: null, xmlSpace: null },
1289
- space: "xml",
1290
- transform(_, property) {
1291
- return "xml:" + property.slice(3).toLowerCase();
1292
- }
1293
- });
1294
-
1295
- // ../../node_modules/hastscript/node_modules/property-information/lib/find.js
1296
- var cap = /[A-Z]/g;
1297
- var dash = /-[a-z]/g;
1298
- var valid = /^data[-\w.:]+$/i;
1299
- function find(schema, value) {
1300
- const normal = normalize(value);
1301
- let property = value;
1302
- let Type = Info;
1303
- if (normal in schema.normal) {
1304
- return schema.property[schema.normal[normal]];
1305
- }
1306
- if (normal.length > 4 && normal.slice(0, 4) === "data" && valid.test(value)) {
1307
- if (value.charAt(4) === "-") {
1308
- const rest = value.slice(5).replace(dash, camelcase);
1309
- property = "data" + rest.charAt(0).toUpperCase() + rest.slice(1);
1310
- } else {
1311
- const rest = value.slice(4);
1312
- if (!dash.test(rest)) {
1313
- let dashes = rest.replace(cap, kebab);
1314
- if (dashes.charAt(0) !== "-") {
1315
- dashes = "-" + dashes;
1316
- }
1317
- value = "data" + dashes;
1318
- }
1319
- }
1320
- Type = DefinedInfo;
1321
- }
1322
- return new Type(property, value);
1323
- }
1324
- function kebab($0) {
1325
- return "-" + $0.toLowerCase();
1326
- }
1327
- function camelcase($0) {
1328
- return $0.charAt(1).toUpperCase();
1329
- }
1330
-
1331
- // ../../node_modules/hastscript/node_modules/property-information/index.js
1332
- var html3 = merge([aria, html2, xlink, xmlns, xml], "html");
1333
- var svg2 = merge([aria, svg, xlink, xmlns, xml], "svg");
1334
-
1335
229
  // ../../node_modules/hast-util-parse-selector/lib/index.js
1336
230
  var search = /[#.]/g;
1337
231
  function parseSelector(selector, defaultTagName) {
@@ -1552,1126 +446,8 @@ var svgCaseSensitiveTagNames = [
1552
446
  ];
1553
447
 
1554
448
  // ../../node_modules/hastscript/lib/index.js
1555
- var h = createH(html3, "div");
1556
- var s = createH(svg2, "g", svgCaseSensitiveTagNames);
1557
- // ../../node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/schema.js
1558
- class Schema2 {
1559
- constructor(property, normal, space) {
1560
- this.normal = normal;
1561
- this.property = property;
1562
- if (space) {
1563
- this.space = space;
1564
- }
1565
- }
1566
- }
1567
- Schema2.prototype.normal = {};
1568
- Schema2.prototype.property = {};
1569
- Schema2.prototype.space = undefined;
1570
-
1571
- // ../../node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/merge.js
1572
- function merge2(definitions, space) {
1573
- const property = {};
1574
- const normal = {};
1575
- for (const definition of definitions) {
1576
- Object.assign(property, definition.property);
1577
- Object.assign(normal, definition.normal);
1578
- }
1579
- return new Schema2(property, normal, space);
1580
- }
1581
-
1582
- // ../../node_modules/hast-util-from-parse5/node_modules/property-information/lib/normalize.js
1583
- function normalize2(value) {
1584
- return value.toLowerCase();
1585
- }
1586
-
1587
- // ../../node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/info.js
1588
- class Info2 {
1589
- constructor(property, attribute) {
1590
- this.attribute = attribute;
1591
- this.property = property;
1592
- }
1593
- }
1594
- Info2.prototype.attribute = "";
1595
- Info2.prototype.booleanish = false;
1596
- Info2.prototype.boolean = false;
1597
- Info2.prototype.commaOrSpaceSeparated = false;
1598
- Info2.prototype.commaSeparated = false;
1599
- Info2.prototype.defined = false;
1600
- Info2.prototype.mustUseProperty = false;
1601
- Info2.prototype.number = false;
1602
- Info2.prototype.overloadedBoolean = false;
1603
- Info2.prototype.property = "";
1604
- Info2.prototype.spaceSeparated = false;
1605
- Info2.prototype.space = undefined;
1606
-
1607
- // ../../node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/types.js
1608
- var exports_types2 = {};
1609
- __export(exports_types2, {
1610
- boolean: () => boolean2,
1611
- booleanish: () => booleanish2,
1612
- commaOrSpaceSeparated: () => commaOrSpaceSeparated2,
1613
- commaSeparated: () => commaSeparated2,
1614
- number: () => number2,
1615
- overloadedBoolean: () => overloadedBoolean2,
1616
- spaceSeparated: () => spaceSeparated2
1617
- });
1618
- var powers2 = 0;
1619
- var boolean2 = increment2();
1620
- var booleanish2 = increment2();
1621
- var overloadedBoolean2 = increment2();
1622
- var number2 = increment2();
1623
- var spaceSeparated2 = increment2();
1624
- var commaSeparated2 = increment2();
1625
- var commaOrSpaceSeparated2 = increment2();
1626
- function increment2() {
1627
- return 2 ** ++powers2;
1628
- }
1629
-
1630
- // ../../node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/defined-info.js
1631
- var checks2 = Object.keys(exports_types2);
1632
-
1633
- class DefinedInfo2 extends Info2 {
1634
- constructor(property, attribute, mask, space) {
1635
- let index = -1;
1636
- super(property, attribute);
1637
- mark2(this, "space", space);
1638
- if (typeof mask === "number") {
1639
- while (++index < checks2.length) {
1640
- const check = checks2[index];
1641
- mark2(this, checks2[index], (mask & exports_types2[check]) === exports_types2[check]);
1642
- }
1643
- }
1644
- }
1645
- }
1646
- DefinedInfo2.prototype.defined = true;
1647
- function mark2(values, key, value) {
1648
- if (value) {
1649
- values[key] = value;
1650
- }
1651
- }
1652
-
1653
- // ../../node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/create.js
1654
- function create2(definition) {
1655
- const properties = {};
1656
- const normals = {};
1657
- for (const [property, value] of Object.entries(definition.properties)) {
1658
- const info = new DefinedInfo2(property, definition.transform(definition.attributes || {}, property), value, definition.space);
1659
- if (definition.mustUseProperty && definition.mustUseProperty.includes(property)) {
1660
- info.mustUseProperty = true;
1661
- }
1662
- properties[property] = info;
1663
- normals[normalize2(property)] = property;
1664
- normals[normalize2(info.attribute)] = property;
1665
- }
1666
- return new Schema2(properties, normals, definition.space);
1667
- }
1668
-
1669
- // ../../node_modules/hast-util-from-parse5/node_modules/property-information/lib/aria.js
1670
- var aria2 = create2({
1671
- properties: {
1672
- ariaActiveDescendant: null,
1673
- ariaAtomic: booleanish2,
1674
- ariaAutoComplete: null,
1675
- ariaBusy: booleanish2,
1676
- ariaChecked: booleanish2,
1677
- ariaColCount: number2,
1678
- ariaColIndex: number2,
1679
- ariaColSpan: number2,
1680
- ariaControls: spaceSeparated2,
1681
- ariaCurrent: null,
1682
- ariaDescribedBy: spaceSeparated2,
1683
- ariaDetails: null,
1684
- ariaDisabled: booleanish2,
1685
- ariaDropEffect: spaceSeparated2,
1686
- ariaErrorMessage: null,
1687
- ariaExpanded: booleanish2,
1688
- ariaFlowTo: spaceSeparated2,
1689
- ariaGrabbed: booleanish2,
1690
- ariaHasPopup: null,
1691
- ariaHidden: booleanish2,
1692
- ariaInvalid: null,
1693
- ariaKeyShortcuts: null,
1694
- ariaLabel: null,
1695
- ariaLabelledBy: spaceSeparated2,
1696
- ariaLevel: number2,
1697
- ariaLive: null,
1698
- ariaModal: booleanish2,
1699
- ariaMultiLine: booleanish2,
1700
- ariaMultiSelectable: booleanish2,
1701
- ariaOrientation: null,
1702
- ariaOwns: spaceSeparated2,
1703
- ariaPlaceholder: null,
1704
- ariaPosInSet: number2,
1705
- ariaPressed: booleanish2,
1706
- ariaReadOnly: booleanish2,
1707
- ariaRelevant: null,
1708
- ariaRequired: booleanish2,
1709
- ariaRoleDescription: spaceSeparated2,
1710
- ariaRowCount: number2,
1711
- ariaRowIndex: number2,
1712
- ariaRowSpan: number2,
1713
- ariaSelected: booleanish2,
1714
- ariaSetSize: number2,
1715
- ariaSort: null,
1716
- ariaValueMax: number2,
1717
- ariaValueMin: number2,
1718
- ariaValueNow: number2,
1719
- ariaValueText: null,
1720
- role: null
1721
- },
1722
- transform(_, property) {
1723
- return property === "role" ? property : "aria-" + property.slice(4).toLowerCase();
1724
- }
1725
- });
1726
-
1727
- // ../../node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/case-sensitive-transform.js
1728
- function caseSensitiveTransform2(attributes, attribute) {
1729
- return attribute in attributes ? attributes[attribute] : attribute;
1730
- }
1731
-
1732
- // ../../node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/case-insensitive-transform.js
1733
- function caseInsensitiveTransform2(attributes, property) {
1734
- return caseSensitiveTransform2(attributes, property.toLowerCase());
1735
- }
1736
-
1737
- // ../../node_modules/hast-util-from-parse5/node_modules/property-information/lib/html.js
1738
- var html4 = create2({
1739
- attributes: {
1740
- acceptcharset: "accept-charset",
1741
- classname: "class",
1742
- htmlfor: "for",
1743
- httpequiv: "http-equiv"
1744
- },
1745
- mustUseProperty: ["checked", "multiple", "muted", "selected"],
1746
- properties: {
1747
- abbr: null,
1748
- accept: commaSeparated2,
1749
- acceptCharset: spaceSeparated2,
1750
- accessKey: spaceSeparated2,
1751
- action: null,
1752
- allow: null,
1753
- allowFullScreen: boolean2,
1754
- allowPaymentRequest: boolean2,
1755
- allowUserMedia: boolean2,
1756
- alt: null,
1757
- as: null,
1758
- async: boolean2,
1759
- autoCapitalize: null,
1760
- autoComplete: spaceSeparated2,
1761
- autoFocus: boolean2,
1762
- autoPlay: boolean2,
1763
- blocking: spaceSeparated2,
1764
- capture: null,
1765
- charSet: null,
1766
- checked: boolean2,
1767
- cite: null,
1768
- className: spaceSeparated2,
1769
- cols: number2,
1770
- colSpan: null,
1771
- content: null,
1772
- contentEditable: booleanish2,
1773
- controls: boolean2,
1774
- controlsList: spaceSeparated2,
1775
- coords: number2 | commaSeparated2,
1776
- crossOrigin: null,
1777
- data: null,
1778
- dateTime: null,
1779
- decoding: null,
1780
- default: boolean2,
1781
- defer: boolean2,
1782
- dir: null,
1783
- dirName: null,
1784
- disabled: boolean2,
1785
- download: overloadedBoolean2,
1786
- draggable: booleanish2,
1787
- encType: null,
1788
- enterKeyHint: null,
1789
- fetchPriority: null,
1790
- form: null,
1791
- formAction: null,
1792
- formEncType: null,
1793
- formMethod: null,
1794
- formNoValidate: boolean2,
1795
- formTarget: null,
1796
- headers: spaceSeparated2,
1797
- height: number2,
1798
- hidden: overloadedBoolean2,
1799
- high: number2,
1800
- href: null,
1801
- hrefLang: null,
1802
- htmlFor: spaceSeparated2,
1803
- httpEquiv: spaceSeparated2,
1804
- id: null,
1805
- imageSizes: null,
1806
- imageSrcSet: null,
1807
- inert: boolean2,
1808
- inputMode: null,
1809
- integrity: null,
1810
- is: null,
1811
- isMap: boolean2,
1812
- itemId: null,
1813
- itemProp: spaceSeparated2,
1814
- itemRef: spaceSeparated2,
1815
- itemScope: boolean2,
1816
- itemType: spaceSeparated2,
1817
- kind: null,
1818
- label: null,
1819
- lang: null,
1820
- language: null,
1821
- list: null,
1822
- loading: null,
1823
- loop: boolean2,
1824
- low: number2,
1825
- manifest: null,
1826
- max: null,
1827
- maxLength: number2,
1828
- media: null,
1829
- method: null,
1830
- min: null,
1831
- minLength: number2,
1832
- multiple: boolean2,
1833
- muted: boolean2,
1834
- name: null,
1835
- nonce: null,
1836
- noModule: boolean2,
1837
- noValidate: boolean2,
1838
- onAbort: null,
1839
- onAfterPrint: null,
1840
- onAuxClick: null,
1841
- onBeforeMatch: null,
1842
- onBeforePrint: null,
1843
- onBeforeToggle: null,
1844
- onBeforeUnload: null,
1845
- onBlur: null,
1846
- onCancel: null,
1847
- onCanPlay: null,
1848
- onCanPlayThrough: null,
1849
- onChange: null,
1850
- onClick: null,
1851
- onClose: null,
1852
- onContextLost: null,
1853
- onContextMenu: null,
1854
- onContextRestored: null,
1855
- onCopy: null,
1856
- onCueChange: null,
1857
- onCut: null,
1858
- onDblClick: null,
1859
- onDrag: null,
1860
- onDragEnd: null,
1861
- onDragEnter: null,
1862
- onDragExit: null,
1863
- onDragLeave: null,
1864
- onDragOver: null,
1865
- onDragStart: null,
1866
- onDrop: null,
1867
- onDurationChange: null,
1868
- onEmptied: null,
1869
- onEnded: null,
1870
- onError: null,
1871
- onFocus: null,
1872
- onFormData: null,
1873
- onHashChange: null,
1874
- onInput: null,
1875
- onInvalid: null,
1876
- onKeyDown: null,
1877
- onKeyPress: null,
1878
- onKeyUp: null,
1879
- onLanguageChange: null,
1880
- onLoad: null,
1881
- onLoadedData: null,
1882
- onLoadedMetadata: null,
1883
- onLoadEnd: null,
1884
- onLoadStart: null,
1885
- onMessage: null,
1886
- onMessageError: null,
1887
- onMouseDown: null,
1888
- onMouseEnter: null,
1889
- onMouseLeave: null,
1890
- onMouseMove: null,
1891
- onMouseOut: null,
1892
- onMouseOver: null,
1893
- onMouseUp: null,
1894
- onOffline: null,
1895
- onOnline: null,
1896
- onPageHide: null,
1897
- onPageShow: null,
1898
- onPaste: null,
1899
- onPause: null,
1900
- onPlay: null,
1901
- onPlaying: null,
1902
- onPopState: null,
1903
- onProgress: null,
1904
- onRateChange: null,
1905
- onRejectionHandled: null,
1906
- onReset: null,
1907
- onResize: null,
1908
- onScroll: null,
1909
- onScrollEnd: null,
1910
- onSecurityPolicyViolation: null,
1911
- onSeeked: null,
1912
- onSeeking: null,
1913
- onSelect: null,
1914
- onSlotChange: null,
1915
- onStalled: null,
1916
- onStorage: null,
1917
- onSubmit: null,
1918
- onSuspend: null,
1919
- onTimeUpdate: null,
1920
- onToggle: null,
1921
- onUnhandledRejection: null,
1922
- onUnload: null,
1923
- onVolumeChange: null,
1924
- onWaiting: null,
1925
- onWheel: null,
1926
- open: boolean2,
1927
- optimum: number2,
1928
- pattern: null,
1929
- ping: spaceSeparated2,
1930
- placeholder: null,
1931
- playsInline: boolean2,
1932
- popover: null,
1933
- popoverTarget: null,
1934
- popoverTargetAction: null,
1935
- poster: null,
1936
- preload: null,
1937
- readOnly: boolean2,
1938
- referrerPolicy: null,
1939
- rel: spaceSeparated2,
1940
- required: boolean2,
1941
- reversed: boolean2,
1942
- rows: number2,
1943
- rowSpan: number2,
1944
- sandbox: spaceSeparated2,
1945
- scope: null,
1946
- scoped: boolean2,
1947
- seamless: boolean2,
1948
- selected: boolean2,
1949
- shadowRootClonable: boolean2,
1950
- shadowRootDelegatesFocus: boolean2,
1951
- shadowRootMode: null,
1952
- shape: null,
1953
- size: number2,
1954
- sizes: null,
1955
- slot: null,
1956
- span: number2,
1957
- spellCheck: booleanish2,
1958
- src: null,
1959
- srcDoc: null,
1960
- srcLang: null,
1961
- srcSet: null,
1962
- start: number2,
1963
- step: null,
1964
- style: null,
1965
- tabIndex: number2,
1966
- target: null,
1967
- title: null,
1968
- translate: null,
1969
- type: null,
1970
- typeMustMatch: boolean2,
1971
- useMap: null,
1972
- value: booleanish2,
1973
- width: number2,
1974
- wrap: null,
1975
- writingSuggestions: null,
1976
- align: null,
1977
- aLink: null,
1978
- archive: spaceSeparated2,
1979
- axis: null,
1980
- background: null,
1981
- bgColor: null,
1982
- border: number2,
1983
- borderColor: null,
1984
- bottomMargin: number2,
1985
- cellPadding: null,
1986
- cellSpacing: null,
1987
- char: null,
1988
- charOff: null,
1989
- classId: null,
1990
- clear: null,
1991
- code: null,
1992
- codeBase: null,
1993
- codeType: null,
1994
- color: null,
1995
- compact: boolean2,
1996
- declare: boolean2,
1997
- event: null,
1998
- face: null,
1999
- frame: null,
2000
- frameBorder: null,
2001
- hSpace: number2,
2002
- leftMargin: number2,
2003
- link: null,
2004
- longDesc: null,
2005
- lowSrc: null,
2006
- marginHeight: number2,
2007
- marginWidth: number2,
2008
- noResize: boolean2,
2009
- noHref: boolean2,
2010
- noShade: boolean2,
2011
- noWrap: boolean2,
2012
- object: null,
2013
- profile: null,
2014
- prompt: null,
2015
- rev: null,
2016
- rightMargin: number2,
2017
- rules: null,
2018
- scheme: null,
2019
- scrolling: booleanish2,
2020
- standby: null,
2021
- summary: null,
2022
- text: null,
2023
- topMargin: number2,
2024
- valueType: null,
2025
- version: null,
2026
- vAlign: null,
2027
- vLink: null,
2028
- vSpace: number2,
2029
- allowTransparency: null,
2030
- autoCorrect: null,
2031
- autoSave: null,
2032
- disablePictureInPicture: boolean2,
2033
- disableRemotePlayback: boolean2,
2034
- prefix: null,
2035
- property: null,
2036
- results: number2,
2037
- security: null,
2038
- unselectable: null
2039
- },
2040
- space: "html",
2041
- transform: caseInsensitiveTransform2
2042
- });
2043
-
2044
- // ../../node_modules/hast-util-from-parse5/node_modules/property-information/lib/svg.js
2045
- var svg3 = create2({
2046
- attributes: {
2047
- accentHeight: "accent-height",
2048
- alignmentBaseline: "alignment-baseline",
2049
- arabicForm: "arabic-form",
2050
- baselineShift: "baseline-shift",
2051
- capHeight: "cap-height",
2052
- className: "class",
2053
- clipPath: "clip-path",
2054
- clipRule: "clip-rule",
2055
- colorInterpolation: "color-interpolation",
2056
- colorInterpolationFilters: "color-interpolation-filters",
2057
- colorProfile: "color-profile",
2058
- colorRendering: "color-rendering",
2059
- crossOrigin: "crossorigin",
2060
- dataType: "datatype",
2061
- dominantBaseline: "dominant-baseline",
2062
- enableBackground: "enable-background",
2063
- fillOpacity: "fill-opacity",
2064
- fillRule: "fill-rule",
2065
- floodColor: "flood-color",
2066
- floodOpacity: "flood-opacity",
2067
- fontFamily: "font-family",
2068
- fontSize: "font-size",
2069
- fontSizeAdjust: "font-size-adjust",
2070
- fontStretch: "font-stretch",
2071
- fontStyle: "font-style",
2072
- fontVariant: "font-variant",
2073
- fontWeight: "font-weight",
2074
- glyphName: "glyph-name",
2075
- glyphOrientationHorizontal: "glyph-orientation-horizontal",
2076
- glyphOrientationVertical: "glyph-orientation-vertical",
2077
- hrefLang: "hreflang",
2078
- horizAdvX: "horiz-adv-x",
2079
- horizOriginX: "horiz-origin-x",
2080
- horizOriginY: "horiz-origin-y",
2081
- imageRendering: "image-rendering",
2082
- letterSpacing: "letter-spacing",
2083
- lightingColor: "lighting-color",
2084
- markerEnd: "marker-end",
2085
- markerMid: "marker-mid",
2086
- markerStart: "marker-start",
2087
- navDown: "nav-down",
2088
- navDownLeft: "nav-down-left",
2089
- navDownRight: "nav-down-right",
2090
- navLeft: "nav-left",
2091
- navNext: "nav-next",
2092
- navPrev: "nav-prev",
2093
- navRight: "nav-right",
2094
- navUp: "nav-up",
2095
- navUpLeft: "nav-up-left",
2096
- navUpRight: "nav-up-right",
2097
- onAbort: "onabort",
2098
- onActivate: "onactivate",
2099
- onAfterPrint: "onafterprint",
2100
- onBeforePrint: "onbeforeprint",
2101
- onBegin: "onbegin",
2102
- onCancel: "oncancel",
2103
- onCanPlay: "oncanplay",
2104
- onCanPlayThrough: "oncanplaythrough",
2105
- onChange: "onchange",
2106
- onClick: "onclick",
2107
- onClose: "onclose",
2108
- onCopy: "oncopy",
2109
- onCueChange: "oncuechange",
2110
- onCut: "oncut",
2111
- onDblClick: "ondblclick",
2112
- onDrag: "ondrag",
2113
- onDragEnd: "ondragend",
2114
- onDragEnter: "ondragenter",
2115
- onDragExit: "ondragexit",
2116
- onDragLeave: "ondragleave",
2117
- onDragOver: "ondragover",
2118
- onDragStart: "ondragstart",
2119
- onDrop: "ondrop",
2120
- onDurationChange: "ondurationchange",
2121
- onEmptied: "onemptied",
2122
- onEnd: "onend",
2123
- onEnded: "onended",
2124
- onError: "onerror",
2125
- onFocus: "onfocus",
2126
- onFocusIn: "onfocusin",
2127
- onFocusOut: "onfocusout",
2128
- onHashChange: "onhashchange",
2129
- onInput: "oninput",
2130
- onInvalid: "oninvalid",
2131
- onKeyDown: "onkeydown",
2132
- onKeyPress: "onkeypress",
2133
- onKeyUp: "onkeyup",
2134
- onLoad: "onload",
2135
- onLoadedData: "onloadeddata",
2136
- onLoadedMetadata: "onloadedmetadata",
2137
- onLoadStart: "onloadstart",
2138
- onMessage: "onmessage",
2139
- onMouseDown: "onmousedown",
2140
- onMouseEnter: "onmouseenter",
2141
- onMouseLeave: "onmouseleave",
2142
- onMouseMove: "onmousemove",
2143
- onMouseOut: "onmouseout",
2144
- onMouseOver: "onmouseover",
2145
- onMouseUp: "onmouseup",
2146
- onMouseWheel: "onmousewheel",
2147
- onOffline: "onoffline",
2148
- onOnline: "ononline",
2149
- onPageHide: "onpagehide",
2150
- onPageShow: "onpageshow",
2151
- onPaste: "onpaste",
2152
- onPause: "onpause",
2153
- onPlay: "onplay",
2154
- onPlaying: "onplaying",
2155
- onPopState: "onpopstate",
2156
- onProgress: "onprogress",
2157
- onRateChange: "onratechange",
2158
- onRepeat: "onrepeat",
2159
- onReset: "onreset",
2160
- onResize: "onresize",
2161
- onScroll: "onscroll",
2162
- onSeeked: "onseeked",
2163
- onSeeking: "onseeking",
2164
- onSelect: "onselect",
2165
- onShow: "onshow",
2166
- onStalled: "onstalled",
2167
- onStorage: "onstorage",
2168
- onSubmit: "onsubmit",
2169
- onSuspend: "onsuspend",
2170
- onTimeUpdate: "ontimeupdate",
2171
- onToggle: "ontoggle",
2172
- onUnload: "onunload",
2173
- onVolumeChange: "onvolumechange",
2174
- onWaiting: "onwaiting",
2175
- onZoom: "onzoom",
2176
- overlinePosition: "overline-position",
2177
- overlineThickness: "overline-thickness",
2178
- paintOrder: "paint-order",
2179
- panose1: "panose-1",
2180
- pointerEvents: "pointer-events",
2181
- referrerPolicy: "referrerpolicy",
2182
- renderingIntent: "rendering-intent",
2183
- shapeRendering: "shape-rendering",
2184
- stopColor: "stop-color",
2185
- stopOpacity: "stop-opacity",
2186
- strikethroughPosition: "strikethrough-position",
2187
- strikethroughThickness: "strikethrough-thickness",
2188
- strokeDashArray: "stroke-dasharray",
2189
- strokeDashOffset: "stroke-dashoffset",
2190
- strokeLineCap: "stroke-linecap",
2191
- strokeLineJoin: "stroke-linejoin",
2192
- strokeMiterLimit: "stroke-miterlimit",
2193
- strokeOpacity: "stroke-opacity",
2194
- strokeWidth: "stroke-width",
2195
- tabIndex: "tabindex",
2196
- textAnchor: "text-anchor",
2197
- textDecoration: "text-decoration",
2198
- textRendering: "text-rendering",
2199
- transformOrigin: "transform-origin",
2200
- typeOf: "typeof",
2201
- underlinePosition: "underline-position",
2202
- underlineThickness: "underline-thickness",
2203
- unicodeBidi: "unicode-bidi",
2204
- unicodeRange: "unicode-range",
2205
- unitsPerEm: "units-per-em",
2206
- vAlphabetic: "v-alphabetic",
2207
- vHanging: "v-hanging",
2208
- vIdeographic: "v-ideographic",
2209
- vMathematical: "v-mathematical",
2210
- vectorEffect: "vector-effect",
2211
- vertAdvY: "vert-adv-y",
2212
- vertOriginX: "vert-origin-x",
2213
- vertOriginY: "vert-origin-y",
2214
- wordSpacing: "word-spacing",
2215
- writingMode: "writing-mode",
2216
- xHeight: "x-height",
2217
- playbackOrder: "playbackorder",
2218
- timelineBegin: "timelinebegin"
2219
- },
2220
- properties: {
2221
- about: commaOrSpaceSeparated2,
2222
- accentHeight: number2,
2223
- accumulate: null,
2224
- additive: null,
2225
- alignmentBaseline: null,
2226
- alphabetic: number2,
2227
- amplitude: number2,
2228
- arabicForm: null,
2229
- ascent: number2,
2230
- attributeName: null,
2231
- attributeType: null,
2232
- azimuth: number2,
2233
- bandwidth: null,
2234
- baselineShift: null,
2235
- baseFrequency: null,
2236
- baseProfile: null,
2237
- bbox: null,
2238
- begin: null,
2239
- bias: number2,
2240
- by: null,
2241
- calcMode: null,
2242
- capHeight: number2,
2243
- className: spaceSeparated2,
2244
- clip: null,
2245
- clipPath: null,
2246
- clipPathUnits: null,
2247
- clipRule: null,
2248
- color: null,
2249
- colorInterpolation: null,
2250
- colorInterpolationFilters: null,
2251
- colorProfile: null,
2252
- colorRendering: null,
2253
- content: null,
2254
- contentScriptType: null,
2255
- contentStyleType: null,
2256
- crossOrigin: null,
2257
- cursor: null,
2258
- cx: null,
2259
- cy: null,
2260
- d: null,
2261
- dataType: null,
2262
- defaultAction: null,
2263
- descent: number2,
2264
- diffuseConstant: number2,
2265
- direction: null,
2266
- display: null,
2267
- dur: null,
2268
- divisor: number2,
2269
- dominantBaseline: null,
2270
- download: boolean2,
2271
- dx: null,
2272
- dy: null,
2273
- edgeMode: null,
2274
- editable: null,
2275
- elevation: number2,
2276
- enableBackground: null,
2277
- end: null,
2278
- event: null,
2279
- exponent: number2,
2280
- externalResourcesRequired: null,
2281
- fill: null,
2282
- fillOpacity: number2,
2283
- fillRule: null,
2284
- filter: null,
2285
- filterRes: null,
2286
- filterUnits: null,
2287
- floodColor: null,
2288
- floodOpacity: null,
2289
- focusable: null,
2290
- focusHighlight: null,
2291
- fontFamily: null,
2292
- fontSize: null,
2293
- fontSizeAdjust: null,
2294
- fontStretch: null,
2295
- fontStyle: null,
2296
- fontVariant: null,
2297
- fontWeight: null,
2298
- format: null,
2299
- fr: null,
2300
- from: null,
2301
- fx: null,
2302
- fy: null,
2303
- g1: commaSeparated2,
2304
- g2: commaSeparated2,
2305
- glyphName: commaSeparated2,
2306
- glyphOrientationHorizontal: null,
2307
- glyphOrientationVertical: null,
2308
- glyphRef: null,
2309
- gradientTransform: null,
2310
- gradientUnits: null,
2311
- handler: null,
2312
- hanging: number2,
2313
- hatchContentUnits: null,
2314
- hatchUnits: null,
2315
- height: null,
2316
- href: null,
2317
- hrefLang: null,
2318
- horizAdvX: number2,
2319
- horizOriginX: number2,
2320
- horizOriginY: number2,
2321
- id: null,
2322
- ideographic: number2,
2323
- imageRendering: null,
2324
- initialVisibility: null,
2325
- in: null,
2326
- in2: null,
2327
- intercept: number2,
2328
- k: number2,
2329
- k1: number2,
2330
- k2: number2,
2331
- k3: number2,
2332
- k4: number2,
2333
- kernelMatrix: commaOrSpaceSeparated2,
2334
- kernelUnitLength: null,
2335
- keyPoints: null,
2336
- keySplines: null,
2337
- keyTimes: null,
2338
- kerning: null,
2339
- lang: null,
2340
- lengthAdjust: null,
2341
- letterSpacing: null,
2342
- lightingColor: null,
2343
- limitingConeAngle: number2,
2344
- local: null,
2345
- markerEnd: null,
2346
- markerMid: null,
2347
- markerStart: null,
2348
- markerHeight: null,
2349
- markerUnits: null,
2350
- markerWidth: null,
2351
- mask: null,
2352
- maskContentUnits: null,
2353
- maskUnits: null,
2354
- mathematical: null,
2355
- max: null,
2356
- media: null,
2357
- mediaCharacterEncoding: null,
2358
- mediaContentEncodings: null,
2359
- mediaSize: number2,
2360
- mediaTime: null,
2361
- method: null,
2362
- min: null,
2363
- mode: null,
2364
- name: null,
2365
- navDown: null,
2366
- navDownLeft: null,
2367
- navDownRight: null,
2368
- navLeft: null,
2369
- navNext: null,
2370
- navPrev: null,
2371
- navRight: null,
2372
- navUp: null,
2373
- navUpLeft: null,
2374
- navUpRight: null,
2375
- numOctaves: null,
2376
- observer: null,
2377
- offset: null,
2378
- onAbort: null,
2379
- onActivate: null,
2380
- onAfterPrint: null,
2381
- onBeforePrint: null,
2382
- onBegin: null,
2383
- onCancel: null,
2384
- onCanPlay: null,
2385
- onCanPlayThrough: null,
2386
- onChange: null,
2387
- onClick: null,
2388
- onClose: null,
2389
- onCopy: null,
2390
- onCueChange: null,
2391
- onCut: null,
2392
- onDblClick: null,
2393
- onDrag: null,
2394
- onDragEnd: null,
2395
- onDragEnter: null,
2396
- onDragExit: null,
2397
- onDragLeave: null,
2398
- onDragOver: null,
2399
- onDragStart: null,
2400
- onDrop: null,
2401
- onDurationChange: null,
2402
- onEmptied: null,
2403
- onEnd: null,
2404
- onEnded: null,
2405
- onError: null,
2406
- onFocus: null,
2407
- onFocusIn: null,
2408
- onFocusOut: null,
2409
- onHashChange: null,
2410
- onInput: null,
2411
- onInvalid: null,
2412
- onKeyDown: null,
2413
- onKeyPress: null,
2414
- onKeyUp: null,
2415
- onLoad: null,
2416
- onLoadedData: null,
2417
- onLoadedMetadata: null,
2418
- onLoadStart: null,
2419
- onMessage: null,
2420
- onMouseDown: null,
2421
- onMouseEnter: null,
2422
- onMouseLeave: null,
2423
- onMouseMove: null,
2424
- onMouseOut: null,
2425
- onMouseOver: null,
2426
- onMouseUp: null,
2427
- onMouseWheel: null,
2428
- onOffline: null,
2429
- onOnline: null,
2430
- onPageHide: null,
2431
- onPageShow: null,
2432
- onPaste: null,
2433
- onPause: null,
2434
- onPlay: null,
2435
- onPlaying: null,
2436
- onPopState: null,
2437
- onProgress: null,
2438
- onRateChange: null,
2439
- onRepeat: null,
2440
- onReset: null,
2441
- onResize: null,
2442
- onScroll: null,
2443
- onSeeked: null,
2444
- onSeeking: null,
2445
- onSelect: null,
2446
- onShow: null,
2447
- onStalled: null,
2448
- onStorage: null,
2449
- onSubmit: null,
2450
- onSuspend: null,
2451
- onTimeUpdate: null,
2452
- onToggle: null,
2453
- onUnload: null,
2454
- onVolumeChange: null,
2455
- onWaiting: null,
2456
- onZoom: null,
2457
- opacity: null,
2458
- operator: null,
2459
- order: null,
2460
- orient: null,
2461
- orientation: null,
2462
- origin: null,
2463
- overflow: null,
2464
- overlay: null,
2465
- overlinePosition: number2,
2466
- overlineThickness: number2,
2467
- paintOrder: null,
2468
- panose1: null,
2469
- path: null,
2470
- pathLength: number2,
2471
- patternContentUnits: null,
2472
- patternTransform: null,
2473
- patternUnits: null,
2474
- phase: null,
2475
- ping: spaceSeparated2,
2476
- pitch: null,
2477
- playbackOrder: null,
2478
- pointerEvents: null,
2479
- points: null,
2480
- pointsAtX: number2,
2481
- pointsAtY: number2,
2482
- pointsAtZ: number2,
2483
- preserveAlpha: null,
2484
- preserveAspectRatio: null,
2485
- primitiveUnits: null,
2486
- propagate: null,
2487
- property: commaOrSpaceSeparated2,
2488
- r: null,
2489
- radius: null,
2490
- referrerPolicy: null,
2491
- refX: null,
2492
- refY: null,
2493
- rel: commaOrSpaceSeparated2,
2494
- rev: commaOrSpaceSeparated2,
2495
- renderingIntent: null,
2496
- repeatCount: null,
2497
- repeatDur: null,
2498
- requiredExtensions: commaOrSpaceSeparated2,
2499
- requiredFeatures: commaOrSpaceSeparated2,
2500
- requiredFonts: commaOrSpaceSeparated2,
2501
- requiredFormats: commaOrSpaceSeparated2,
2502
- resource: null,
2503
- restart: null,
2504
- result: null,
2505
- rotate: null,
2506
- rx: null,
2507
- ry: null,
2508
- scale: null,
2509
- seed: null,
2510
- shapeRendering: null,
2511
- side: null,
2512
- slope: null,
2513
- snapshotTime: null,
2514
- specularConstant: number2,
2515
- specularExponent: number2,
2516
- spreadMethod: null,
2517
- spacing: null,
2518
- startOffset: null,
2519
- stdDeviation: null,
2520
- stemh: null,
2521
- stemv: null,
2522
- stitchTiles: null,
2523
- stopColor: null,
2524
- stopOpacity: null,
2525
- strikethroughPosition: number2,
2526
- strikethroughThickness: number2,
2527
- string: null,
2528
- stroke: null,
2529
- strokeDashArray: commaOrSpaceSeparated2,
2530
- strokeDashOffset: null,
2531
- strokeLineCap: null,
2532
- strokeLineJoin: null,
2533
- strokeMiterLimit: number2,
2534
- strokeOpacity: number2,
2535
- strokeWidth: null,
2536
- style: null,
2537
- surfaceScale: number2,
2538
- syncBehavior: null,
2539
- syncBehaviorDefault: null,
2540
- syncMaster: null,
2541
- syncTolerance: null,
2542
- syncToleranceDefault: null,
2543
- systemLanguage: commaOrSpaceSeparated2,
2544
- tabIndex: number2,
2545
- tableValues: null,
2546
- target: null,
2547
- targetX: number2,
2548
- targetY: number2,
2549
- textAnchor: null,
2550
- textDecoration: null,
2551
- textRendering: null,
2552
- textLength: null,
2553
- timelineBegin: null,
2554
- title: null,
2555
- transformBehavior: null,
2556
- type: null,
2557
- typeOf: commaOrSpaceSeparated2,
2558
- to: null,
2559
- transform: null,
2560
- transformOrigin: null,
2561
- u1: null,
2562
- u2: null,
2563
- underlinePosition: number2,
2564
- underlineThickness: number2,
2565
- unicode: null,
2566
- unicodeBidi: null,
2567
- unicodeRange: null,
2568
- unitsPerEm: number2,
2569
- values: null,
2570
- vAlphabetic: number2,
2571
- vMathematical: number2,
2572
- vectorEffect: null,
2573
- vHanging: number2,
2574
- vIdeographic: number2,
2575
- version: null,
2576
- vertAdvY: number2,
2577
- vertOriginX: number2,
2578
- vertOriginY: number2,
2579
- viewBox: null,
2580
- viewTarget: null,
2581
- visibility: null,
2582
- width: null,
2583
- widths: null,
2584
- wordSpacing: null,
2585
- writingMode: null,
2586
- x: null,
2587
- x1: null,
2588
- x2: null,
2589
- xChannelSelector: null,
2590
- xHeight: number2,
2591
- y: null,
2592
- y1: null,
2593
- y2: null,
2594
- yChannelSelector: null,
2595
- z: null,
2596
- zoomAndPan: null
2597
- },
2598
- space: "svg",
2599
- transform: caseSensitiveTransform2
2600
- });
2601
-
2602
- // ../../node_modules/hast-util-from-parse5/node_modules/property-information/lib/xlink.js
2603
- var xlink2 = create2({
2604
- properties: {
2605
- xLinkActuate: null,
2606
- xLinkArcRole: null,
2607
- xLinkHref: null,
2608
- xLinkRole: null,
2609
- xLinkShow: null,
2610
- xLinkTitle: null,
2611
- xLinkType: null
2612
- },
2613
- space: "xlink",
2614
- transform(_, property) {
2615
- return "xlink:" + property.slice(5).toLowerCase();
2616
- }
2617
- });
2618
-
2619
- // ../../node_modules/hast-util-from-parse5/node_modules/property-information/lib/xmlns.js
2620
- var xmlns2 = create2({
2621
- attributes: { xmlnsxlink: "xmlns:xlink" },
2622
- properties: { xmlnsXLink: null, xmlns: null },
2623
- space: "xmlns",
2624
- transform: caseInsensitiveTransform2
2625
- });
2626
-
2627
- // ../../node_modules/hast-util-from-parse5/node_modules/property-information/lib/xml.js
2628
- var xml2 = create2({
2629
- properties: { xmlBase: null, xmlLang: null, xmlSpace: null },
2630
- space: "xml",
2631
- transform(_, property) {
2632
- return "xml:" + property.slice(3).toLowerCase();
2633
- }
2634
- });
2635
-
2636
- // ../../node_modules/hast-util-from-parse5/node_modules/property-information/lib/find.js
2637
- var cap2 = /[A-Z]/g;
2638
- var dash2 = /-[a-z]/g;
2639
- var valid2 = /^data[-\w.:]+$/i;
2640
- function find2(schema, value) {
2641
- const normal = normalize2(value);
2642
- let property = value;
2643
- let Type = Info2;
2644
- if (normal in schema.normal) {
2645
- return schema.property[schema.normal[normal]];
2646
- }
2647
- if (normal.length > 4 && normal.slice(0, 4) === "data" && valid2.test(value)) {
2648
- if (value.charAt(4) === "-") {
2649
- const rest = value.slice(5).replace(dash2, camelcase2);
2650
- property = "data" + rest.charAt(0).toUpperCase() + rest.slice(1);
2651
- } else {
2652
- const rest = value.slice(4);
2653
- if (!dash2.test(rest)) {
2654
- let dashes = rest.replace(cap2, kebab2);
2655
- if (dashes.charAt(0) !== "-") {
2656
- dashes = "-" + dashes;
2657
- }
2658
- value = "data" + dashes;
2659
- }
2660
- }
2661
- Type = DefinedInfo2;
2662
- }
2663
- return new Type(property, value);
2664
- }
2665
- function kebab2($0) {
2666
- return "-" + $0.toLowerCase();
2667
- }
2668
- function camelcase2($0) {
2669
- return $0.charAt(1).toUpperCase();
2670
- }
2671
- // ../../node_modules/hast-util-from-parse5/node_modules/property-information/index.js
2672
- var html5 = merge2([aria2, html4, xlink2, xmlns2, xml2], "html");
2673
- var svg4 = merge2([aria2, svg3, xlink2, xmlns2, xml2], "svg");
2674
-
449
+ var h = createH(html2, "div");
450
+ var s = createH(svg, "g", svgCaseSensitiveTagNames);
2675
451
  // ../../node_modules/vfile-location/lib/index.js
2676
452
  function location(file) {
2677
453
  const value = String(file);
@@ -2742,7 +518,7 @@ function fromParse5(tree, options) {
2742
518
  return one({
2743
519
  file: settings.file || undefined,
2744
520
  location: false,
2745
- schema: settings.space === "svg" ? svg4 : html5,
521
+ schema: settings.space === "svg" ? svg : html2,
2746
522
  verbose: settings.verbose || false
2747
523
  }, tree);
2748
524
  }
@@ -2805,7 +581,7 @@ function all(state, nodes) {
2805
581
  }
2806
582
  function element(state, node) {
2807
583
  const schema = state.schema;
2808
- state.schema = node.namespaceURI === webNamespaces.svg ? svg4 : html5;
584
+ state.schema = node.namespaceURI === webNamespaces.svg ? svg : html2;
2809
585
  let index = -1;
2810
586
  const properties = {};
2811
587
  while (++index < node.attrs.length) {
@@ -2854,7 +630,7 @@ function createLocation(state, node, location2) {
2854
630
  if (location2.attrs) {
2855
631
  for (key in location2.attrs) {
2856
632
  if (own.call(location2.attrs, key)) {
2857
- properties[find2(state.schema, key).property] = position(location2.attrs[key]);
633
+ properties[find(state.schema, key).property] = position(location2.attrs[key]);
2858
634
  }
2859
635
  }
2860
636
  }
@@ -7478,9 +5254,9 @@ class Parser {
7478
5254
  this._setContextModes(fragmentContext !== null && fragmentContext !== undefined ? fragmentContext : this.document, this.fragmentContextID);
7479
5255
  this.openElements = new OpenElementStack(this.document, this.treeAdapter, this);
7480
5256
  }
7481
- static parse(html6, options) {
5257
+ static parse(html3, options) {
7482
5258
  const parser = new this(options);
7483
- parser.tokenizer.write(html6, true);
5259
+ parser.tokenizer.write(html3, true);
7484
5260
  return parser.document;
7485
5261
  }
7486
5262
  static getFragmentParser(fragmentContext, options) {
@@ -10370,17 +8146,17 @@ var VOID_ELEMENTS2 = new Set([
10370
8146
  ]);
10371
8147
 
10372
8148
  // ../../node_modules/parse5/dist/index.js
10373
- function parse3(html6, options) {
10374
- return Parser.parse(html6, options);
8149
+ function parse3(html3, options) {
8150
+ return Parser.parse(html3, options);
10375
8151
  }
10376
- function parseFragment(fragmentContext, html6, options) {
8152
+ function parseFragment(fragmentContext, html3, options) {
10377
8153
  if (typeof fragmentContext === "string") {
10378
- options = html6;
10379
- html6 = fragmentContext;
8154
+ options = html3;
8155
+ html3 = fragmentContext;
10380
8156
  fragmentContext = null;
10381
8157
  }
10382
8158
  const parser = Parser.getFragmentParser(fragmentContext, options);
10383
- parser.tokenizer.write(html6, true);
8159
+ parser.tokenizer.write(html3, true);
10384
8160
  return parser.getFragment();
10385
8161
  }
10386
8162
 
@@ -10664,7 +8440,7 @@ function fromHtml(value, options) {
10664
8440
  });
10665
8441
  function internalOnerror(error) {
10666
8442
  const code = error.code;
10667
- const name = camelcase3(code);
8443
+ const name = camelcase(code);
10668
8444
  const setting = settings[name];
10669
8445
  const config = setting === null || setting === undefined ? true : setting;
10670
8446
  const level = typeof config === "number" ? config : config ? 1 : 0;
@@ -10710,7 +8486,7 @@ function fromHtml(value, options) {
10710
8486
  }
10711
8487
  }
10712
8488
  }
10713
- function camelcase3(value) {
8489
+ function camelcase(value) {
10714
8490
  return value.replace(dashToCamelRe, dashToCamel);
10715
8491
  }
10716
8492
  function dashToCamel($0) {
@@ -10722,1136 +8498,6 @@ function visualizeCharacter(char) {
10722
8498
  function visualizeCharacterCode(charCode) {
10723
8499
  return "0x" + charCode.toString(16).toUpperCase();
10724
8500
  }
10725
- // ../../node_modules/property-information/lib/util/schema.js
10726
- class Schema3 {
10727
- constructor(property, normal, space) {
10728
- this.normal = normal;
10729
- this.property = property;
10730
- if (space) {
10731
- this.space = space;
10732
- }
10733
- }
10734
- }
10735
- Schema3.prototype.normal = {};
10736
- Schema3.prototype.property = {};
10737
- Schema3.prototype.space = undefined;
10738
-
10739
- // ../../node_modules/property-information/lib/util/merge.js
10740
- function merge3(definitions, space) {
10741
- const property = {};
10742
- const normal = {};
10743
- for (const definition of definitions) {
10744
- Object.assign(property, definition.property);
10745
- Object.assign(normal, definition.normal);
10746
- }
10747
- return new Schema3(property, normal, space);
10748
- }
10749
-
10750
- // ../../node_modules/property-information/lib/normalize.js
10751
- function normalize3(value) {
10752
- return value.toLowerCase();
10753
- }
10754
-
10755
- // ../../node_modules/property-information/lib/util/info.js
10756
- class Info3 {
10757
- constructor(property, attribute) {
10758
- this.attribute = attribute;
10759
- this.property = property;
10760
- }
10761
- }
10762
- Info3.prototype.attribute = "";
10763
- Info3.prototype.booleanish = false;
10764
- Info3.prototype.boolean = false;
10765
- Info3.prototype.commaOrSpaceSeparated = false;
10766
- Info3.prototype.commaSeparated = false;
10767
- Info3.prototype.defined = false;
10768
- Info3.prototype.mustUseProperty = false;
10769
- Info3.prototype.number = false;
10770
- Info3.prototype.overloadedBoolean = false;
10771
- Info3.prototype.property = "";
10772
- Info3.prototype.spaceSeparated = false;
10773
- Info3.prototype.space = undefined;
10774
-
10775
- // ../../node_modules/property-information/lib/util/types.js
10776
- var exports_types3 = {};
10777
- __export(exports_types3, {
10778
- boolean: () => boolean3,
10779
- booleanish: () => booleanish3,
10780
- commaOrSpaceSeparated: () => commaOrSpaceSeparated3,
10781
- commaSeparated: () => commaSeparated3,
10782
- number: () => number3,
10783
- overloadedBoolean: () => overloadedBoolean3,
10784
- spaceSeparated: () => spaceSeparated3
10785
- });
10786
- var powers3 = 0;
10787
- var boolean3 = increment3();
10788
- var booleanish3 = increment3();
10789
- var overloadedBoolean3 = increment3();
10790
- var number3 = increment3();
10791
- var spaceSeparated3 = increment3();
10792
- var commaSeparated3 = increment3();
10793
- var commaOrSpaceSeparated3 = increment3();
10794
- function increment3() {
10795
- return 2 ** ++powers3;
10796
- }
10797
-
10798
- // ../../node_modules/property-information/lib/util/defined-info.js
10799
- var checks3 = Object.keys(exports_types3);
10800
-
10801
- class DefinedInfo3 extends Info3 {
10802
- constructor(property, attribute, mask, space) {
10803
- let index = -1;
10804
- super(property, attribute);
10805
- mark3(this, "space", space);
10806
- if (typeof mask === "number") {
10807
- while (++index < checks3.length) {
10808
- const check = checks3[index];
10809
- mark3(this, checks3[index], (mask & exports_types3[check]) === exports_types3[check]);
10810
- }
10811
- }
10812
- }
10813
- }
10814
- DefinedInfo3.prototype.defined = true;
10815
- function mark3(values, key, value) {
10816
- if (value) {
10817
- values[key] = value;
10818
- }
10819
- }
10820
-
10821
- // ../../node_modules/property-information/lib/util/create.js
10822
- function create3(definition) {
10823
- const properties = {};
10824
- const normals = {};
10825
- for (const [property, value] of Object.entries(definition.properties)) {
10826
- const info = new DefinedInfo3(property, definition.transform(definition.attributes || {}, property), value, definition.space);
10827
- if (definition.mustUseProperty && definition.mustUseProperty.includes(property)) {
10828
- info.mustUseProperty = true;
10829
- }
10830
- properties[property] = info;
10831
- normals[normalize3(property)] = property;
10832
- normals[normalize3(info.attribute)] = property;
10833
- }
10834
- return new Schema3(properties, normals, definition.space);
10835
- }
10836
-
10837
- // ../../node_modules/property-information/lib/aria.js
10838
- var aria3 = create3({
10839
- properties: {
10840
- ariaActiveDescendant: null,
10841
- ariaAtomic: booleanish3,
10842
- ariaAutoComplete: null,
10843
- ariaBusy: booleanish3,
10844
- ariaChecked: booleanish3,
10845
- ariaColCount: number3,
10846
- ariaColIndex: number3,
10847
- ariaColSpan: number3,
10848
- ariaControls: spaceSeparated3,
10849
- ariaCurrent: null,
10850
- ariaDescribedBy: spaceSeparated3,
10851
- ariaDetails: null,
10852
- ariaDisabled: booleanish3,
10853
- ariaDropEffect: spaceSeparated3,
10854
- ariaErrorMessage: null,
10855
- ariaExpanded: booleanish3,
10856
- ariaFlowTo: spaceSeparated3,
10857
- ariaGrabbed: booleanish3,
10858
- ariaHasPopup: null,
10859
- ariaHidden: booleanish3,
10860
- ariaInvalid: null,
10861
- ariaKeyShortcuts: null,
10862
- ariaLabel: null,
10863
- ariaLabelledBy: spaceSeparated3,
10864
- ariaLevel: number3,
10865
- ariaLive: null,
10866
- ariaModal: booleanish3,
10867
- ariaMultiLine: booleanish3,
10868
- ariaMultiSelectable: booleanish3,
10869
- ariaOrientation: null,
10870
- ariaOwns: spaceSeparated3,
10871
- ariaPlaceholder: null,
10872
- ariaPosInSet: number3,
10873
- ariaPressed: booleanish3,
10874
- ariaReadOnly: booleanish3,
10875
- ariaRelevant: null,
10876
- ariaRequired: booleanish3,
10877
- ariaRoleDescription: spaceSeparated3,
10878
- ariaRowCount: number3,
10879
- ariaRowIndex: number3,
10880
- ariaRowSpan: number3,
10881
- ariaSelected: booleanish3,
10882
- ariaSetSize: number3,
10883
- ariaSort: null,
10884
- ariaValueMax: number3,
10885
- ariaValueMin: number3,
10886
- ariaValueNow: number3,
10887
- ariaValueText: null,
10888
- role: null
10889
- },
10890
- transform(_, property) {
10891
- return property === "role" ? property : "aria-" + property.slice(4).toLowerCase();
10892
- }
10893
- });
10894
-
10895
- // ../../node_modules/property-information/lib/util/case-sensitive-transform.js
10896
- function caseSensitiveTransform3(attributes, attribute) {
10897
- return attribute in attributes ? attributes[attribute] : attribute;
10898
- }
10899
-
10900
- // ../../node_modules/property-information/lib/util/case-insensitive-transform.js
10901
- function caseInsensitiveTransform3(attributes, property) {
10902
- return caseSensitiveTransform3(attributes, property.toLowerCase());
10903
- }
10904
-
10905
- // ../../node_modules/property-information/lib/html.js
10906
- var html6 = create3({
10907
- attributes: {
10908
- acceptcharset: "accept-charset",
10909
- classname: "class",
10910
- htmlfor: "for",
10911
- httpequiv: "http-equiv"
10912
- },
10913
- mustUseProperty: ["checked", "multiple", "muted", "selected"],
10914
- properties: {
10915
- abbr: null,
10916
- accept: commaSeparated3,
10917
- acceptCharset: spaceSeparated3,
10918
- accessKey: spaceSeparated3,
10919
- action: null,
10920
- allow: null,
10921
- allowFullScreen: boolean3,
10922
- allowPaymentRequest: boolean3,
10923
- allowUserMedia: boolean3,
10924
- alpha: boolean3,
10925
- alt: null,
10926
- as: null,
10927
- async: boolean3,
10928
- autoCapitalize: null,
10929
- autoComplete: spaceSeparated3,
10930
- autoFocus: boolean3,
10931
- autoPlay: boolean3,
10932
- blocking: spaceSeparated3,
10933
- capture: null,
10934
- charSet: null,
10935
- checked: boolean3,
10936
- cite: null,
10937
- className: spaceSeparated3,
10938
- closedBy: null,
10939
- colorSpace: null,
10940
- cols: number3,
10941
- colSpan: number3,
10942
- command: null,
10943
- commandFor: null,
10944
- content: null,
10945
- contentEditable: booleanish3,
10946
- controls: boolean3,
10947
- controlsList: spaceSeparated3,
10948
- coords: number3 | commaSeparated3,
10949
- crossOrigin: null,
10950
- data: null,
10951
- dateTime: null,
10952
- decoding: null,
10953
- default: boolean3,
10954
- defer: boolean3,
10955
- dir: null,
10956
- dirName: null,
10957
- disabled: boolean3,
10958
- download: overloadedBoolean3,
10959
- draggable: booleanish3,
10960
- encType: null,
10961
- enterKeyHint: null,
10962
- fetchPriority: null,
10963
- form: null,
10964
- formAction: null,
10965
- formEncType: null,
10966
- formMethod: null,
10967
- formNoValidate: boolean3,
10968
- formTarget: null,
10969
- headers: spaceSeparated3,
10970
- height: number3,
10971
- hidden: overloadedBoolean3,
10972
- high: number3,
10973
- href: null,
10974
- hrefLang: null,
10975
- htmlFor: spaceSeparated3,
10976
- httpEquiv: spaceSeparated3,
10977
- id: null,
10978
- imageSizes: null,
10979
- imageSrcSet: null,
10980
- inert: boolean3,
10981
- inputMode: null,
10982
- integrity: null,
10983
- is: null,
10984
- isMap: boolean3,
10985
- itemId: null,
10986
- itemProp: spaceSeparated3,
10987
- itemRef: spaceSeparated3,
10988
- itemScope: boolean3,
10989
- itemType: spaceSeparated3,
10990
- kind: null,
10991
- label: null,
10992
- lang: null,
10993
- language: null,
10994
- list: null,
10995
- loading: null,
10996
- loop: boolean3,
10997
- low: number3,
10998
- manifest: null,
10999
- max: null,
11000
- maxLength: number3,
11001
- media: null,
11002
- method: null,
11003
- min: null,
11004
- minLength: number3,
11005
- multiple: boolean3,
11006
- muted: boolean3,
11007
- name: null,
11008
- nonce: null,
11009
- noModule: boolean3,
11010
- noValidate: boolean3,
11011
- onAbort: null,
11012
- onAfterPrint: null,
11013
- onAuxClick: null,
11014
- onBeforeMatch: null,
11015
- onBeforePrint: null,
11016
- onBeforeToggle: null,
11017
- onBeforeUnload: null,
11018
- onBlur: null,
11019
- onCancel: null,
11020
- onCanPlay: null,
11021
- onCanPlayThrough: null,
11022
- onChange: null,
11023
- onClick: null,
11024
- onClose: null,
11025
- onContextLost: null,
11026
- onContextMenu: null,
11027
- onContextRestored: null,
11028
- onCopy: null,
11029
- onCueChange: null,
11030
- onCut: null,
11031
- onDblClick: null,
11032
- onDrag: null,
11033
- onDragEnd: null,
11034
- onDragEnter: null,
11035
- onDragExit: null,
11036
- onDragLeave: null,
11037
- onDragOver: null,
11038
- onDragStart: null,
11039
- onDrop: null,
11040
- onDurationChange: null,
11041
- onEmptied: null,
11042
- onEnded: null,
11043
- onError: null,
11044
- onFocus: null,
11045
- onFormData: null,
11046
- onHashChange: null,
11047
- onInput: null,
11048
- onInvalid: null,
11049
- onKeyDown: null,
11050
- onKeyPress: null,
11051
- onKeyUp: null,
11052
- onLanguageChange: null,
11053
- onLoad: null,
11054
- onLoadedData: null,
11055
- onLoadedMetadata: null,
11056
- onLoadEnd: null,
11057
- onLoadStart: null,
11058
- onMessage: null,
11059
- onMessageError: null,
11060
- onMouseDown: null,
11061
- onMouseEnter: null,
11062
- onMouseLeave: null,
11063
- onMouseMove: null,
11064
- onMouseOut: null,
11065
- onMouseOver: null,
11066
- onMouseUp: null,
11067
- onOffline: null,
11068
- onOnline: null,
11069
- onPageHide: null,
11070
- onPageShow: null,
11071
- onPaste: null,
11072
- onPause: null,
11073
- onPlay: null,
11074
- onPlaying: null,
11075
- onPopState: null,
11076
- onProgress: null,
11077
- onRateChange: null,
11078
- onRejectionHandled: null,
11079
- onReset: null,
11080
- onResize: null,
11081
- onScroll: null,
11082
- onScrollEnd: null,
11083
- onSecurityPolicyViolation: null,
11084
- onSeeked: null,
11085
- onSeeking: null,
11086
- onSelect: null,
11087
- onSlotChange: null,
11088
- onStalled: null,
11089
- onStorage: null,
11090
- onSubmit: null,
11091
- onSuspend: null,
11092
- onTimeUpdate: null,
11093
- onToggle: null,
11094
- onUnhandledRejection: null,
11095
- onUnload: null,
11096
- onVolumeChange: null,
11097
- onWaiting: null,
11098
- onWheel: null,
11099
- open: boolean3,
11100
- optimum: number3,
11101
- pattern: null,
11102
- ping: spaceSeparated3,
11103
- placeholder: null,
11104
- playsInline: boolean3,
11105
- popover: null,
11106
- popoverTarget: null,
11107
- popoverTargetAction: null,
11108
- poster: null,
11109
- preload: null,
11110
- readOnly: boolean3,
11111
- referrerPolicy: null,
11112
- rel: spaceSeparated3,
11113
- required: boolean3,
11114
- reversed: boolean3,
11115
- rows: number3,
11116
- rowSpan: number3,
11117
- sandbox: spaceSeparated3,
11118
- scope: null,
11119
- scoped: boolean3,
11120
- seamless: boolean3,
11121
- selected: boolean3,
11122
- shadowRootClonable: boolean3,
11123
- shadowRootCustomElementRegistry: boolean3,
11124
- shadowRootDelegatesFocus: boolean3,
11125
- shadowRootMode: null,
11126
- shadowRootSerializable: boolean3,
11127
- shape: null,
11128
- size: number3,
11129
- sizes: null,
11130
- slot: null,
11131
- span: number3,
11132
- spellCheck: booleanish3,
11133
- src: null,
11134
- srcDoc: null,
11135
- srcLang: null,
11136
- srcSet: null,
11137
- start: number3,
11138
- step: null,
11139
- style: null,
11140
- tabIndex: number3,
11141
- target: null,
11142
- title: null,
11143
- translate: null,
11144
- type: null,
11145
- typeMustMatch: boolean3,
11146
- useMap: null,
11147
- value: booleanish3,
11148
- width: number3,
11149
- wrap: null,
11150
- writingSuggestions: null,
11151
- align: null,
11152
- aLink: null,
11153
- archive: spaceSeparated3,
11154
- axis: null,
11155
- background: null,
11156
- bgColor: null,
11157
- border: number3,
11158
- borderColor: null,
11159
- bottomMargin: number3,
11160
- cellPadding: null,
11161
- cellSpacing: null,
11162
- char: null,
11163
- charOff: null,
11164
- classId: null,
11165
- clear: null,
11166
- code: null,
11167
- codeBase: null,
11168
- codeType: null,
11169
- color: null,
11170
- compact: boolean3,
11171
- declare: boolean3,
11172
- event: null,
11173
- face: null,
11174
- frame: null,
11175
- frameBorder: null,
11176
- hSpace: number3,
11177
- leftMargin: number3,
11178
- link: null,
11179
- longDesc: null,
11180
- lowSrc: null,
11181
- marginHeight: number3,
11182
- marginWidth: number3,
11183
- noResize: boolean3,
11184
- noHref: boolean3,
11185
- noShade: boolean3,
11186
- noWrap: boolean3,
11187
- object: null,
11188
- profile: null,
11189
- prompt: null,
11190
- rev: null,
11191
- rightMargin: number3,
11192
- rules: null,
11193
- scheme: null,
11194
- scrolling: booleanish3,
11195
- standby: null,
11196
- summary: null,
11197
- text: null,
11198
- topMargin: number3,
11199
- valueType: null,
11200
- version: null,
11201
- vAlign: null,
11202
- vLink: null,
11203
- vSpace: number3,
11204
- allowTransparency: null,
11205
- autoCorrect: null,
11206
- autoSave: null,
11207
- credentialless: boolean3,
11208
- disablePictureInPicture: boolean3,
11209
- disableRemotePlayback: boolean3,
11210
- exportParts: commaSeparated3,
11211
- part: spaceSeparated3,
11212
- prefix: null,
11213
- property: null,
11214
- results: number3,
11215
- security: null,
11216
- unselectable: null
11217
- },
11218
- space: "html",
11219
- transform: caseInsensitiveTransform3
11220
- });
11221
-
11222
- // ../../node_modules/property-information/lib/svg.js
11223
- var svg5 = create3({
11224
- attributes: {
11225
- accentHeight: "accent-height",
11226
- alignmentBaseline: "alignment-baseline",
11227
- arabicForm: "arabic-form",
11228
- baselineShift: "baseline-shift",
11229
- capHeight: "cap-height",
11230
- className: "class",
11231
- clipPath: "clip-path",
11232
- clipRule: "clip-rule",
11233
- colorInterpolation: "color-interpolation",
11234
- colorInterpolationFilters: "color-interpolation-filters",
11235
- colorProfile: "color-profile",
11236
- colorRendering: "color-rendering",
11237
- crossOrigin: "crossorigin",
11238
- dataType: "datatype",
11239
- dominantBaseline: "dominant-baseline",
11240
- enableBackground: "enable-background",
11241
- fillOpacity: "fill-opacity",
11242
- fillRule: "fill-rule",
11243
- floodColor: "flood-color",
11244
- floodOpacity: "flood-opacity",
11245
- fontFamily: "font-family",
11246
- fontSize: "font-size",
11247
- fontSizeAdjust: "font-size-adjust",
11248
- fontStretch: "font-stretch",
11249
- fontStyle: "font-style",
11250
- fontVariant: "font-variant",
11251
- fontWeight: "font-weight",
11252
- glyphName: "glyph-name",
11253
- glyphOrientationHorizontal: "glyph-orientation-horizontal",
11254
- glyphOrientationVertical: "glyph-orientation-vertical",
11255
- hrefLang: "hreflang",
11256
- horizAdvX: "horiz-adv-x",
11257
- horizOriginX: "horiz-origin-x",
11258
- horizOriginY: "horiz-origin-y",
11259
- imageRendering: "image-rendering",
11260
- letterSpacing: "letter-spacing",
11261
- lightingColor: "lighting-color",
11262
- markerEnd: "marker-end",
11263
- markerMid: "marker-mid",
11264
- markerStart: "marker-start",
11265
- maskType: "mask-type",
11266
- navDown: "nav-down",
11267
- navDownLeft: "nav-down-left",
11268
- navDownRight: "nav-down-right",
11269
- navLeft: "nav-left",
11270
- navNext: "nav-next",
11271
- navPrev: "nav-prev",
11272
- navRight: "nav-right",
11273
- navUp: "nav-up",
11274
- navUpLeft: "nav-up-left",
11275
- navUpRight: "nav-up-right",
11276
- onAbort: "onabort",
11277
- onActivate: "onactivate",
11278
- onAfterPrint: "onafterprint",
11279
- onBeforePrint: "onbeforeprint",
11280
- onBegin: "onbegin",
11281
- onCancel: "oncancel",
11282
- onCanPlay: "oncanplay",
11283
- onCanPlayThrough: "oncanplaythrough",
11284
- onChange: "onchange",
11285
- onClick: "onclick",
11286
- onClose: "onclose",
11287
- onCopy: "oncopy",
11288
- onCueChange: "oncuechange",
11289
- onCut: "oncut",
11290
- onDblClick: "ondblclick",
11291
- onDrag: "ondrag",
11292
- onDragEnd: "ondragend",
11293
- onDragEnter: "ondragenter",
11294
- onDragExit: "ondragexit",
11295
- onDragLeave: "ondragleave",
11296
- onDragOver: "ondragover",
11297
- onDragStart: "ondragstart",
11298
- onDrop: "ondrop",
11299
- onDurationChange: "ondurationchange",
11300
- onEmptied: "onemptied",
11301
- onEnd: "onend",
11302
- onEnded: "onended",
11303
- onError: "onerror",
11304
- onFocus: "onfocus",
11305
- onFocusIn: "onfocusin",
11306
- onFocusOut: "onfocusout",
11307
- onHashChange: "onhashchange",
11308
- onInput: "oninput",
11309
- onInvalid: "oninvalid",
11310
- onKeyDown: "onkeydown",
11311
- onKeyPress: "onkeypress",
11312
- onKeyUp: "onkeyup",
11313
- onLoad: "onload",
11314
- onLoadedData: "onloadeddata",
11315
- onLoadedMetadata: "onloadedmetadata",
11316
- onLoadStart: "onloadstart",
11317
- onMessage: "onmessage",
11318
- onMouseDown: "onmousedown",
11319
- onMouseEnter: "onmouseenter",
11320
- onMouseLeave: "onmouseleave",
11321
- onMouseMove: "onmousemove",
11322
- onMouseOut: "onmouseout",
11323
- onMouseOver: "onmouseover",
11324
- onMouseUp: "onmouseup",
11325
- onMouseWheel: "onmousewheel",
11326
- onOffline: "onoffline",
11327
- onOnline: "ononline",
11328
- onPageHide: "onpagehide",
11329
- onPageShow: "onpageshow",
11330
- onPaste: "onpaste",
11331
- onPause: "onpause",
11332
- onPlay: "onplay",
11333
- onPlaying: "onplaying",
11334
- onPopState: "onpopstate",
11335
- onProgress: "onprogress",
11336
- onRateChange: "onratechange",
11337
- onRepeat: "onrepeat",
11338
- onReset: "onreset",
11339
- onResize: "onresize",
11340
- onScroll: "onscroll",
11341
- onSeeked: "onseeked",
11342
- onSeeking: "onseeking",
11343
- onSelect: "onselect",
11344
- onShow: "onshow",
11345
- onStalled: "onstalled",
11346
- onStorage: "onstorage",
11347
- onSubmit: "onsubmit",
11348
- onSuspend: "onsuspend",
11349
- onTimeUpdate: "ontimeupdate",
11350
- onToggle: "ontoggle",
11351
- onUnload: "onunload",
11352
- onVolumeChange: "onvolumechange",
11353
- onWaiting: "onwaiting",
11354
- onZoom: "onzoom",
11355
- overlinePosition: "overline-position",
11356
- overlineThickness: "overline-thickness",
11357
- paintOrder: "paint-order",
11358
- panose1: "panose-1",
11359
- pointerEvents: "pointer-events",
11360
- referrerPolicy: "referrerpolicy",
11361
- renderingIntent: "rendering-intent",
11362
- shapeRendering: "shape-rendering",
11363
- stopColor: "stop-color",
11364
- stopOpacity: "stop-opacity",
11365
- strikethroughPosition: "strikethrough-position",
11366
- strikethroughThickness: "strikethrough-thickness",
11367
- strokeDashArray: "stroke-dasharray",
11368
- strokeDashOffset: "stroke-dashoffset",
11369
- strokeLineCap: "stroke-linecap",
11370
- strokeLineJoin: "stroke-linejoin",
11371
- strokeMiterLimit: "stroke-miterlimit",
11372
- strokeOpacity: "stroke-opacity",
11373
- strokeWidth: "stroke-width",
11374
- tabIndex: "tabindex",
11375
- textAnchor: "text-anchor",
11376
- textDecoration: "text-decoration",
11377
- textRendering: "text-rendering",
11378
- transformOrigin: "transform-origin",
11379
- typeOf: "typeof",
11380
- underlinePosition: "underline-position",
11381
- underlineThickness: "underline-thickness",
11382
- unicodeBidi: "unicode-bidi",
11383
- unicodeRange: "unicode-range",
11384
- unitsPerEm: "units-per-em",
11385
- vAlphabetic: "v-alphabetic",
11386
- vHanging: "v-hanging",
11387
- vIdeographic: "v-ideographic",
11388
- vMathematical: "v-mathematical",
11389
- vectorEffect: "vector-effect",
11390
- vertAdvY: "vert-adv-y",
11391
- vertOriginX: "vert-origin-x",
11392
- vertOriginY: "vert-origin-y",
11393
- wordSpacing: "word-spacing",
11394
- writingMode: "writing-mode",
11395
- xHeight: "x-height",
11396
- playbackOrder: "playbackorder",
11397
- timelineBegin: "timelinebegin"
11398
- },
11399
- properties: {
11400
- about: commaOrSpaceSeparated3,
11401
- accentHeight: number3,
11402
- accumulate: null,
11403
- additive: null,
11404
- alignmentBaseline: null,
11405
- alphabetic: number3,
11406
- amplitude: number3,
11407
- arabicForm: null,
11408
- ascent: number3,
11409
- attributeName: null,
11410
- attributeType: null,
11411
- azimuth: number3,
11412
- bandwidth: null,
11413
- baselineShift: null,
11414
- baseFrequency: null,
11415
- baseProfile: null,
11416
- bbox: null,
11417
- begin: null,
11418
- bias: number3,
11419
- by: null,
11420
- calcMode: null,
11421
- capHeight: number3,
11422
- className: spaceSeparated3,
11423
- clip: null,
11424
- clipPath: null,
11425
- clipPathUnits: null,
11426
- clipRule: null,
11427
- color: null,
11428
- colorInterpolation: null,
11429
- colorInterpolationFilters: null,
11430
- colorProfile: null,
11431
- colorRendering: null,
11432
- content: null,
11433
- contentScriptType: null,
11434
- contentStyleType: null,
11435
- crossOrigin: null,
11436
- cursor: null,
11437
- cx: null,
11438
- cy: null,
11439
- d: null,
11440
- dataType: null,
11441
- defaultAction: null,
11442
- descent: number3,
11443
- diffuseConstant: number3,
11444
- direction: null,
11445
- display: null,
11446
- dur: null,
11447
- divisor: number3,
11448
- dominantBaseline: null,
11449
- download: boolean3,
11450
- dx: null,
11451
- dy: null,
11452
- edgeMode: null,
11453
- editable: null,
11454
- elevation: number3,
11455
- enableBackground: null,
11456
- end: null,
11457
- event: null,
11458
- exponent: number3,
11459
- externalResourcesRequired: null,
11460
- fill: null,
11461
- fillOpacity: number3,
11462
- fillRule: null,
11463
- filter: null,
11464
- filterRes: null,
11465
- filterUnits: null,
11466
- floodColor: null,
11467
- floodOpacity: null,
11468
- focusable: null,
11469
- focusHighlight: null,
11470
- fontFamily: null,
11471
- fontSize: null,
11472
- fontSizeAdjust: null,
11473
- fontStretch: null,
11474
- fontStyle: null,
11475
- fontVariant: null,
11476
- fontWeight: null,
11477
- format: null,
11478
- fr: null,
11479
- from: null,
11480
- fx: null,
11481
- fy: null,
11482
- g1: commaSeparated3,
11483
- g2: commaSeparated3,
11484
- glyphName: commaSeparated3,
11485
- glyphOrientationHorizontal: null,
11486
- glyphOrientationVertical: null,
11487
- glyphRef: null,
11488
- gradientTransform: null,
11489
- gradientUnits: null,
11490
- handler: null,
11491
- hanging: number3,
11492
- hatchContentUnits: null,
11493
- hatchUnits: null,
11494
- height: null,
11495
- href: null,
11496
- hrefLang: null,
11497
- horizAdvX: number3,
11498
- horizOriginX: number3,
11499
- horizOriginY: number3,
11500
- id: null,
11501
- ideographic: number3,
11502
- imageRendering: null,
11503
- initialVisibility: null,
11504
- in: null,
11505
- in2: null,
11506
- intercept: number3,
11507
- k: number3,
11508
- k1: number3,
11509
- k2: number3,
11510
- k3: number3,
11511
- k4: number3,
11512
- kernelMatrix: commaOrSpaceSeparated3,
11513
- kernelUnitLength: null,
11514
- keyPoints: null,
11515
- keySplines: null,
11516
- keyTimes: null,
11517
- kerning: null,
11518
- lang: null,
11519
- lengthAdjust: null,
11520
- letterSpacing: null,
11521
- lightingColor: null,
11522
- limitingConeAngle: number3,
11523
- local: null,
11524
- markerEnd: null,
11525
- markerMid: null,
11526
- markerStart: null,
11527
- markerHeight: null,
11528
- markerUnits: null,
11529
- markerWidth: null,
11530
- mask: null,
11531
- maskContentUnits: null,
11532
- maskType: null,
11533
- maskUnits: null,
11534
- mathematical: null,
11535
- max: null,
11536
- media: null,
11537
- mediaCharacterEncoding: null,
11538
- mediaContentEncodings: null,
11539
- mediaSize: number3,
11540
- mediaTime: null,
11541
- method: null,
11542
- min: null,
11543
- mode: null,
11544
- name: null,
11545
- navDown: null,
11546
- navDownLeft: null,
11547
- navDownRight: null,
11548
- navLeft: null,
11549
- navNext: null,
11550
- navPrev: null,
11551
- navRight: null,
11552
- navUp: null,
11553
- navUpLeft: null,
11554
- navUpRight: null,
11555
- numOctaves: null,
11556
- observer: null,
11557
- offset: null,
11558
- onAbort: null,
11559
- onActivate: null,
11560
- onAfterPrint: null,
11561
- onBeforePrint: null,
11562
- onBegin: null,
11563
- onCancel: null,
11564
- onCanPlay: null,
11565
- onCanPlayThrough: null,
11566
- onChange: null,
11567
- onClick: null,
11568
- onClose: null,
11569
- onCopy: null,
11570
- onCueChange: null,
11571
- onCut: null,
11572
- onDblClick: null,
11573
- onDrag: null,
11574
- onDragEnd: null,
11575
- onDragEnter: null,
11576
- onDragExit: null,
11577
- onDragLeave: null,
11578
- onDragOver: null,
11579
- onDragStart: null,
11580
- onDrop: null,
11581
- onDurationChange: null,
11582
- onEmptied: null,
11583
- onEnd: null,
11584
- onEnded: null,
11585
- onError: null,
11586
- onFocus: null,
11587
- onFocusIn: null,
11588
- onFocusOut: null,
11589
- onHashChange: null,
11590
- onInput: null,
11591
- onInvalid: null,
11592
- onKeyDown: null,
11593
- onKeyPress: null,
11594
- onKeyUp: null,
11595
- onLoad: null,
11596
- onLoadedData: null,
11597
- onLoadedMetadata: null,
11598
- onLoadStart: null,
11599
- onMessage: null,
11600
- onMouseDown: null,
11601
- onMouseEnter: null,
11602
- onMouseLeave: null,
11603
- onMouseMove: null,
11604
- onMouseOut: null,
11605
- onMouseOver: null,
11606
- onMouseUp: null,
11607
- onMouseWheel: null,
11608
- onOffline: null,
11609
- onOnline: null,
11610
- onPageHide: null,
11611
- onPageShow: null,
11612
- onPaste: null,
11613
- onPause: null,
11614
- onPlay: null,
11615
- onPlaying: null,
11616
- onPopState: null,
11617
- onProgress: null,
11618
- onRateChange: null,
11619
- onRepeat: null,
11620
- onReset: null,
11621
- onResize: null,
11622
- onScroll: null,
11623
- onSeeked: null,
11624
- onSeeking: null,
11625
- onSelect: null,
11626
- onShow: null,
11627
- onStalled: null,
11628
- onStorage: null,
11629
- onSubmit: null,
11630
- onSuspend: null,
11631
- onTimeUpdate: null,
11632
- onToggle: null,
11633
- onUnload: null,
11634
- onVolumeChange: null,
11635
- onWaiting: null,
11636
- onZoom: null,
11637
- opacity: null,
11638
- operator: null,
11639
- order: null,
11640
- orient: null,
11641
- orientation: null,
11642
- origin: null,
11643
- overflow: null,
11644
- overlay: null,
11645
- overlinePosition: number3,
11646
- overlineThickness: number3,
11647
- paintOrder: null,
11648
- panose1: null,
11649
- path: null,
11650
- pathLength: number3,
11651
- patternContentUnits: null,
11652
- patternTransform: null,
11653
- patternUnits: null,
11654
- phase: null,
11655
- ping: spaceSeparated3,
11656
- pitch: null,
11657
- playbackOrder: null,
11658
- pointerEvents: null,
11659
- points: null,
11660
- pointsAtX: number3,
11661
- pointsAtY: number3,
11662
- pointsAtZ: number3,
11663
- preserveAlpha: null,
11664
- preserveAspectRatio: null,
11665
- primitiveUnits: null,
11666
- propagate: null,
11667
- property: commaOrSpaceSeparated3,
11668
- r: null,
11669
- radius: null,
11670
- referrerPolicy: null,
11671
- refX: null,
11672
- refY: null,
11673
- rel: commaOrSpaceSeparated3,
11674
- rev: commaOrSpaceSeparated3,
11675
- renderingIntent: null,
11676
- repeatCount: null,
11677
- repeatDur: null,
11678
- requiredExtensions: commaOrSpaceSeparated3,
11679
- requiredFeatures: commaOrSpaceSeparated3,
11680
- requiredFonts: commaOrSpaceSeparated3,
11681
- requiredFormats: commaOrSpaceSeparated3,
11682
- resource: null,
11683
- restart: null,
11684
- result: null,
11685
- rotate: null,
11686
- rx: null,
11687
- ry: null,
11688
- scale: null,
11689
- seed: null,
11690
- shapeRendering: null,
11691
- side: null,
11692
- slope: null,
11693
- snapshotTime: null,
11694
- specularConstant: number3,
11695
- specularExponent: number3,
11696
- spreadMethod: null,
11697
- spacing: null,
11698
- startOffset: null,
11699
- stdDeviation: null,
11700
- stemh: null,
11701
- stemv: null,
11702
- stitchTiles: null,
11703
- stopColor: null,
11704
- stopOpacity: null,
11705
- strikethroughPosition: number3,
11706
- strikethroughThickness: number3,
11707
- string: null,
11708
- stroke: null,
11709
- strokeDashArray: commaOrSpaceSeparated3,
11710
- strokeDashOffset: null,
11711
- strokeLineCap: null,
11712
- strokeLineJoin: null,
11713
- strokeMiterLimit: number3,
11714
- strokeOpacity: number3,
11715
- strokeWidth: null,
11716
- style: null,
11717
- surfaceScale: number3,
11718
- syncBehavior: null,
11719
- syncBehaviorDefault: null,
11720
- syncMaster: null,
11721
- syncTolerance: null,
11722
- syncToleranceDefault: null,
11723
- systemLanguage: commaOrSpaceSeparated3,
11724
- tabIndex: number3,
11725
- tableValues: null,
11726
- target: null,
11727
- targetX: number3,
11728
- targetY: number3,
11729
- textAnchor: null,
11730
- textDecoration: null,
11731
- textRendering: null,
11732
- textLength: null,
11733
- timelineBegin: null,
11734
- title: null,
11735
- transformBehavior: null,
11736
- type: null,
11737
- typeOf: commaOrSpaceSeparated3,
11738
- to: null,
11739
- transform: null,
11740
- transformOrigin: null,
11741
- u1: null,
11742
- u2: null,
11743
- underlinePosition: number3,
11744
- underlineThickness: number3,
11745
- unicode: null,
11746
- unicodeBidi: null,
11747
- unicodeRange: null,
11748
- unitsPerEm: number3,
11749
- values: null,
11750
- vAlphabetic: number3,
11751
- vMathematical: number3,
11752
- vectorEffect: null,
11753
- vHanging: number3,
11754
- vIdeographic: number3,
11755
- version: null,
11756
- vertAdvY: number3,
11757
- vertOriginX: number3,
11758
- vertOriginY: number3,
11759
- viewBox: null,
11760
- viewTarget: null,
11761
- visibility: null,
11762
- width: null,
11763
- widths: null,
11764
- wordSpacing: null,
11765
- writingMode: null,
11766
- x: null,
11767
- x1: null,
11768
- x2: null,
11769
- xChannelSelector: null,
11770
- xHeight: number3,
11771
- y: null,
11772
- y1: null,
11773
- y2: null,
11774
- yChannelSelector: null,
11775
- z: null,
11776
- zoomAndPan: null
11777
- },
11778
- space: "svg",
11779
- transform: caseSensitiveTransform3
11780
- });
11781
-
11782
- // ../../node_modules/property-information/lib/xlink.js
11783
- var xlink3 = create3({
11784
- properties: {
11785
- xLinkActuate: null,
11786
- xLinkArcRole: null,
11787
- xLinkHref: null,
11788
- xLinkRole: null,
11789
- xLinkShow: null,
11790
- xLinkTitle: null,
11791
- xLinkType: null
11792
- },
11793
- space: "xlink",
11794
- transform(_, property) {
11795
- return "xlink:" + property.slice(5).toLowerCase();
11796
- }
11797
- });
11798
-
11799
- // ../../node_modules/property-information/lib/xmlns.js
11800
- var xmlns3 = create3({
11801
- attributes: { xmlnsxlink: "xmlns:xlink" },
11802
- properties: { xmlnsXLink: null, xmlns: null },
11803
- space: "xmlns",
11804
- transform: caseInsensitiveTransform3
11805
- });
11806
-
11807
- // ../../node_modules/property-information/lib/xml.js
11808
- var xml3 = create3({
11809
- properties: { xmlBase: null, xmlLang: null, xmlSpace: null },
11810
- space: "xml",
11811
- transform(_, property) {
11812
- return "xml:" + property.slice(3).toLowerCase();
11813
- }
11814
- });
11815
-
11816
- // ../../node_modules/property-information/lib/find.js
11817
- var cap3 = /[A-Z]/g;
11818
- var dash3 = /-[a-z]/g;
11819
- var valid3 = /^data[-\w.:]+$/i;
11820
- function find3(schema, value) {
11821
- const normal = normalize3(value);
11822
- let property = value;
11823
- let Type = Info3;
11824
- if (normal in schema.normal) {
11825
- return schema.property[schema.normal[normal]];
11826
- }
11827
- if (normal.length > 4 && normal.slice(0, 4) === "data" && valid3.test(value)) {
11828
- if (value.charAt(4) === "-") {
11829
- const rest = value.slice(5).replace(dash3, camelcase4);
11830
- property = "data" + rest.charAt(0).toUpperCase() + rest.slice(1);
11831
- } else {
11832
- const rest = value.slice(4);
11833
- if (!dash3.test(rest)) {
11834
- let dashes = rest.replace(cap3, kebab3);
11835
- if (dashes.charAt(0) !== "-") {
11836
- dashes = "-" + dashes;
11837
- }
11838
- value = "data" + dashes;
11839
- }
11840
- }
11841
- Type = DefinedInfo3;
11842
- }
11843
- return new Type(property, value);
11844
- }
11845
- function kebab3($0) {
11846
- return "-" + $0.toLowerCase();
11847
- }
11848
- function camelcase4($0) {
11849
- return $0.charAt(1).toUpperCase();
11850
- }
11851
- // ../../node_modules/property-information/index.js
11852
- var html7 = merge3([aria3, html6, xlink3, xmlns3, xml3], "html");
11853
- var svg6 = merge3([aria3, svg5, xlink3, xmlns3, xml3], "svg");
11854
-
11855
8501
  // ../markup/src/html-to-jx.ts
11856
8502
  function htmlToJx(htmlString) {
11857
8503
  const hast = fromHtml(htmlString, { fragment: true });
@@ -11902,7 +8548,7 @@ function hastPropsToJx(properties) {
11902
8548
  if (value === false || value === undefined || value === null) {
11903
8549
  continue;
11904
8550
  }
11905
- const info = find3(html7, key);
8551
+ const info = find(html2, key);
11906
8552
  const name = info.attribute;
11907
8553
  if (name === "style" && typeof value === "string") {
11908
8554
  parseInlineStyle(value, style2);
@@ -14174,7 +10820,7 @@ function elementCommands(deps) {
14174
10820
  if (!target?.rerender) {
14175
10821
  return;
14176
10822
  }
14177
- const { startLayerTitleEdit } = await import("./layers-panel-27essgkc.js");
10823
+ const { startLayerTitleEdit } = await import("./layers-panel-07hm7g5j.js");
14178
10824
  startLayerTitleEdit(target.path, target.rerender);
14179
10825
  }
14180
10826
  }
@@ -15174,5 +11820,5 @@ function registerLayersPanel() {
15174
11820
 
15175
11821
  export { findEnclosingRepeater, convertToComponent, showSlashMenu, showSlashMenuAtRect, dismissSlashMenu, handleSlashMenuKey, parseChord, normalizeChord, chordFromEvent, formatChord, overlappingScopes, chordsInScopes, CommandUnavailableError, createCommandRegistry, initBlockActionBar, formatCommands, registerSelectionCommands, dismissLinkPopover, dismissBlockActionBar, suppressBlockActionBar, releaseBlockActionBar, isEditChromeTarget, renderBlockActionBar, outlineLabel, OUTLINE_ROW_MAX_ITEMS, renderRowCommands, clearHoverActions, onTreeHover, afterTreeRender, indentWidth, OUTLINE_ROW_HEIGHT, outlineRowPath, applyTreeRovingTabindex, applyRowSelection, onTreeKeydown, startLayerTitleEdit, renderLayersTemplate, registerLayersPanel, pasteNode, clipboardCommands, setContextMenuNavigate, liveElementCommands, dismissContextMenu, showContextMenu };
15176
11822
 
15177
- //# debugId=00021FBDC36A063C64756E2164756E21
15178
- //# sourceMappingURL=studio-hj2se583.js.map
11823
+ //# debugId=B5A9A525CEFA39A564756E2164756E21
11824
+ //# sourceMappingURL=studio-jkftxyvz.js.map