@wirecat/wordpress-cli 0.0.0-stage → 0.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 (256) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/LICENSE +204 -0
  3. package/README.md +248 -2
  4. package/contracts/wirecat.json +2535 -0
  5. package/dist/bin/wordpress.d.ts +3 -0
  6. package/dist/bin/wordpress.d.ts.map +1 -0
  7. package/dist/bin/wordpress.js +40 -0
  8. package/dist/bin/wordpress.js.map +1 -0
  9. package/dist/bundle/agent-LKBRYKNB.js +37 -0
  10. package/dist/bundle/all-profiles-OEV7VFQG.js +320 -0
  11. package/dist/bundle/anthropic-JKTZP2DW.js +91 -0
  12. package/dist/bundle/app-server-7LWLDDE2.js +249 -0
  13. package/dist/bundle/bun-2FLR4IV4.js +169 -0
  14. package/dist/bundle/bun-sqlite-GRSRX5P4.js +76 -0
  15. package/dist/bundle/chunk-2BI25SEE.js +259 -0
  16. package/dist/bundle/chunk-2UEGJ5AJ.js +52 -0
  17. package/dist/bundle/chunk-2XUV7HNE.js +58 -0
  18. package/dist/bundle/chunk-2Z7UOXFC.js +16 -0
  19. package/dist/bundle/chunk-3BM6KBWP.js +2788 -0
  20. package/dist/bundle/chunk-3BRAZVHR.js +1010 -0
  21. package/dist/bundle/chunk-3LMW7U7F.js +1233 -0
  22. package/dist/bundle/chunk-3LVTQFGB.js +2000 -0
  23. package/dist/bundle/chunk-3TKFFSFU.js +106 -0
  24. package/dist/bundle/chunk-3UX4VJWD.js +78 -0
  25. package/dist/bundle/chunk-4HEXAGKT.js +334 -0
  26. package/dist/bundle/chunk-4HP6KGBI.js +32 -0
  27. package/dist/bundle/chunk-4ZAQMDLD.js +1308 -0
  28. package/dist/bundle/chunk-4ZTB7LS3.js +87 -0
  29. package/dist/bundle/chunk-5XPHFV7H.js +2333 -0
  30. package/dist/bundle/chunk-5Z3P543G.js +80 -0
  31. package/dist/bundle/chunk-6UYDKCV6.js +794 -0
  32. package/dist/bundle/chunk-7GNB4LBX.js +50 -0
  33. package/dist/bundle/chunk-7HJFBOAT.js +161 -0
  34. package/dist/bundle/chunk-7JVKQ6NM.js +206 -0
  35. package/dist/bundle/chunk-7QH5BZUG.js +142 -0
  36. package/dist/bundle/chunk-A474OVIW.js +1392 -0
  37. package/dist/bundle/chunk-AENEMQL3.js +1068 -0
  38. package/dist/bundle/chunk-AL7I4DT4.js +65718 -0
  39. package/dist/bundle/chunk-ARGRGTPX.js +108 -0
  40. package/dist/bundle/chunk-AV2ZJ4WX.js +7 -0
  41. package/dist/bundle/chunk-BAXNAOOL.js +76 -0
  42. package/dist/bundle/chunk-BH63B66W.js +407 -0
  43. package/dist/bundle/chunk-CCOSG3F2.js +24616 -0
  44. package/dist/bundle/chunk-CFQQTDSA.js +46 -0
  45. package/dist/bundle/chunk-CGCUOT67.js +388 -0
  46. package/dist/bundle/chunk-CHPWBQUK.js +39 -0
  47. package/dist/bundle/chunk-D72URWJE.js +532 -0
  48. package/dist/bundle/chunk-DFDN6AUB.js +21 -0
  49. package/dist/bundle/chunk-DQSOYH6N.js +20 -0
  50. package/dist/bundle/chunk-ECYOTDJM.js +14 -0
  51. package/dist/bundle/chunk-EH6ZEJGT.js +932 -0
  52. package/dist/bundle/chunk-EHW45LLT.js +100 -0
  53. package/dist/bundle/chunk-F3AV5ZSL.js +338 -0
  54. package/dist/bundle/chunk-F4BX7TH2.js +15 -0
  55. package/dist/bundle/chunk-F5ZAN7OC.js +6848 -0
  56. package/dist/bundle/chunk-FMMYBVCH.js +38 -0
  57. package/dist/bundle/chunk-FNB4SWTY.js +66 -0
  58. package/dist/bundle/chunk-FQROWBKV.js +12660 -0
  59. package/dist/bundle/chunk-FV2HJOSC.js +771 -0
  60. package/dist/bundle/chunk-GCAJW4SR.js +53 -0
  61. package/dist/bundle/chunk-GPRJXJC7.js +102 -0
  62. package/dist/bundle/chunk-HCOZUOSN.js +54 -0
  63. package/dist/bundle/chunk-HM6AMYHR.js +72 -0
  64. package/dist/bundle/chunk-HVXOA4FO.js +23 -0
  65. package/dist/bundle/chunk-HWQ7572G.js +95 -0
  66. package/dist/bundle/chunk-IJVTN5L3.js +82 -0
  67. package/dist/bundle/chunk-IZDDBOHU.js +3610 -0
  68. package/dist/bundle/chunk-JAE5B4G7.js +388 -0
  69. package/dist/bundle/chunk-K2Y5K37O.js +218 -0
  70. package/dist/bundle/chunk-KCH224US.js +9581 -0
  71. package/dist/bundle/chunk-KZJQPJK5.js +230 -0
  72. package/dist/bundle/chunk-L7P3LUDQ.js +286 -0
  73. package/dist/bundle/chunk-LECMHK2F.js +18 -0
  74. package/dist/bundle/chunk-LWEMZJLG.js +1332 -0
  75. package/dist/bundle/chunk-LWTETL2O.js +185 -0
  76. package/dist/bundle/chunk-MEYYH47C.js +25 -0
  77. package/dist/bundle/chunk-MJ6LTG4L.js +170 -0
  78. package/dist/bundle/chunk-NMQRSEZM.js +37 -0
  79. package/dist/bundle/chunk-ODVGFCBE.js +557 -0
  80. package/dist/bundle/chunk-OEQNP56V.js +633 -0
  81. package/dist/bundle/chunk-OV6WQY3L.js +39 -0
  82. package/dist/bundle/chunk-PL5P7UKW.js +25216 -0
  83. package/dist/bundle/chunk-PPNTY7LD.js +733 -0
  84. package/dist/bundle/chunk-PRZYRA66.js +358 -0
  85. package/dist/bundle/chunk-PV5UYGRJ.js +41594 -0
  86. package/dist/bundle/chunk-QYTOLPNI.js +52 -0
  87. package/dist/bundle/chunk-R7Y3XU66.js +362 -0
  88. package/dist/bundle/chunk-S4UUN6LD.js +1410 -0
  89. package/dist/bundle/chunk-SD5CXGIG.js +188 -0
  90. package/dist/bundle/chunk-SXY5G62I.js +288 -0
  91. package/dist/bundle/chunk-T37TAXVL.js +29 -0
  92. package/dist/bundle/chunk-T5SOY3AE.js +1197 -0
  93. package/dist/bundle/chunk-TJ7OORSO.js +1876 -0
  94. package/dist/bundle/chunk-TRYYWV7J.js +291 -0
  95. package/dist/bundle/chunk-U6VLNYCO.js +73 -0
  96. package/dist/bundle/chunk-UC7JLE6J.js +58 -0
  97. package/dist/bundle/chunk-UUIOAZPH.js +156 -0
  98. package/dist/bundle/chunk-UXQ24OY6.js +4072 -0
  99. package/dist/bundle/chunk-VBRRMGON.js +1007 -0
  100. package/dist/bundle/chunk-VRIBES2C.js +319 -0
  101. package/dist/bundle/chunk-XFLCVHSQ.js +50 -0
  102. package/dist/bundle/chunk-XT5XYQEZ.js +3414 -0
  103. package/dist/bundle/chunk-XTAS5Z3G.js +2231 -0
  104. package/dist/bundle/chunk-XYQVVW4R.js +24 -0
  105. package/dist/bundle/chunk-Y5E2WNWB.js +35 -0
  106. package/dist/bundle/chunk-YHWFF6DN.js +39 -0
  107. package/dist/bundle/chunk-YUDVRFXN.js +63 -0
  108. package/dist/bundle/chunk-Z3I2MCUT.js +131 -0
  109. package/dist/bundle/chunk-ZDI3WC7V.js +353 -0
  110. package/dist/bundle/chunk-ZVQ7KFMT.js +274 -0
  111. package/dist/bundle/chunk-ZVVMGPBJ.js +50 -0
  112. package/dist/bundle/command-contract-P7YE4EKS.js +37 -0
  113. package/dist/bundle/command-server-entry-XIMCBWMV.js +166 -0
  114. package/dist/bundle/decode-6XK55WYV.js +297 -0
  115. package/dist/bundle/definitions-GIQCGYPR.js +7986 -0
  116. package/dist/bundle/dispatch-JQBAZWCL.js +411 -0
  117. package/dist/bundle/dist-2TV3NVE5.js +7577 -0
  118. package/dist/bundle/dist-PAKDDIBT.js +191 -0
  119. package/dist/bundle/echarts-YRRVLEX3.js +42501 -0
  120. package/dist/bundle/embed-L3EEQSGX.js +38 -0
  121. package/dist/bundle/embedder-BIKLBV3J.js +111 -0
  122. package/dist/bundle/failure-I6AAF5R5.js +25 -0
  123. package/dist/bundle/first-run-W6G6TYZ2.js +29 -0
  124. package/dist/bundle/first-screen-ITIAJIBU.js +37 -0
  125. package/dist/bundle/hast-util-from-html-ZHU6HGIE.js +10531 -0
  126. package/dist/bundle/hast-util-to-html-IIFHILP5.js +998 -0
  127. package/dist/bundle/hast-util-to-mdast-D62XX3NR.js +2272 -0
  128. package/dist/bundle/instructions-AG7SRWTR.js +11 -0
  129. package/dist/bundle/mcp-YGOAUNC3.js +167 -0
  130. package/dist/bundle/mdast-util-from-markdown-WVUJDSUO.js +1900 -0
  131. package/dist/bundle/mdast-util-gfm-KN2D32QS.js +1040 -0
  132. package/dist/bundle/mdast-util-to-hast-AYJV7KAE.js +879 -0
  133. package/dist/bundle/mdast-util-to-markdown-UCAJNHJO.js +18 -0
  134. package/dist/bundle/meeting-combined-CQJ3JHHU.js +24 -0
  135. package/dist/bundle/meeting-model-MZ7VVBNK.js +25 -0
  136. package/dist/bundle/meeting-semantic-DADWRRHP.js +22 -0
  137. package/dist/bundle/micromark-extension-gfm-EEJRRJ36.js +1771 -0
  138. package/dist/bundle/node-GJQYN4FT.js +176 -0
  139. package/dist/bundle/node-JJ3WDCNJ.js +2340 -0
  140. package/dist/bundle/node-TLZSIHIJ.js +21 -0
  141. package/dist/bundle/node-sqlite-TPR62DT2.js +74 -0
  142. package/dist/bundle/oauth-WGY7JQVW.js +20 -0
  143. package/dist/bundle/open-DE7QZNAN.js +23 -0
  144. package/dist/bundle/openai-NHEFT3HS.js +238 -0
  145. package/dist/bundle/process-MEKCZMX3.js +91 -0
  146. package/dist/bundle/program-EP2S5BTM.js +38857 -0
  147. package/dist/bundle/prompt-PWY53BYH.js +17 -0
  148. package/dist/bundle/recognize-74TXHKMQ.js +26 -0
  149. package/dist/bundle/remote-F5TJZ5ER.js +31 -0
  150. package/dist/bundle/rerank-HWUO52UF.js +52 -0
  151. package/dist/bundle/schemas-4K6WWS5N.js +2157 -0
  152. package/dist/bundle/serve-I2USUY4X.js +199 -0
  153. package/dist/bundle/server-GDYDNO6K.js +79 -0
  154. package/dist/bundle/server-KYUW2AHB.js +212 -0
  155. package/dist/bundle/sqlite-runtime-N6VFGBJK.js +20 -0
  156. package/dist/bundle/state-L6JSCN77.js +36 -0
  157. package/dist/bundle/store-EPG2YPN3.js +291 -0
  158. package/dist/bundle/store-SQWQJE32.js +181 -0
  159. package/dist/bundle/store-maintenance-command-FTGSICVA.js +66 -0
  160. package/dist/bundle/surface-SNMHY6GP.js +65 -0
  161. package/dist/bundle/wordpress.js +183 -0
  162. package/dist/commands/api.d.ts +22 -0
  163. package/dist/commands/api.d.ts.map +1 -0
  164. package/dist/commands/api.js +37 -0
  165. package/dist/commands/api.js.map +1 -0
  166. package/dist/commands/content.d.ts +4 -0
  167. package/dist/commands/content.d.ts.map +1 -0
  168. package/dist/commands/content.js +94 -0
  169. package/dist/commands/content.js.map +1 -0
  170. package/dist/commands/session.d.ts +8 -0
  171. package/dist/commands/session.d.ts.map +1 -0
  172. package/dist/commands/session.js +28 -0
  173. package/dist/commands/session.js.map +1 -0
  174. package/dist/config.d.ts +13 -0
  175. package/dist/config.d.ts.map +1 -0
  176. package/dist/config.js +69 -0
  177. package/dist/config.js.map +1 -0
  178. package/dist/context.d.ts +37 -0
  179. package/dist/context.d.ts.map +1 -0
  180. package/dist/context.js +31 -0
  181. package/dist/context.js.map +1 -0
  182. package/dist/generated/definitions.d.ts +3 -0
  183. package/dist/generated/definitions.d.ts.map +1 -0
  184. package/dist/generated/definitions.js +7982 -0
  185. package/dist/generated/definitions.js.map +1 -0
  186. package/dist/generated/manifest.d.ts +6 -0
  187. package/dist/generated/manifest.d.ts.map +1 -0
  188. package/dist/generated/manifest.js +8830 -0
  189. package/dist/generated/manifest.js.map +1 -0
  190. package/dist/generated/schemas.d.ts +229 -0
  191. package/dist/generated/schemas.d.ts.map +1 -0
  192. package/dist/generated/schemas.js +2019 -0
  193. package/dist/generated/schemas.js.map +1 -0
  194. package/dist/generated/types.d.ts +3365 -0
  195. package/dist/generated/types.d.ts.map +1 -0
  196. package/dist/generated/types.js +5 -0
  197. package/dist/generated/types.js.map +1 -0
  198. package/dist/generated/wirecat-config.d.ts +11 -0
  199. package/dist/generated/wirecat-config.d.ts.map +1 -0
  200. package/dist/generated/wirecat-config.js +337 -0
  201. package/dist/generated/wirecat-config.js.map +1 -0
  202. package/dist/identity.d.ts +28 -0
  203. package/dist/identity.d.ts.map +1 -0
  204. package/dist/identity.js +29 -0
  205. package/dist/identity.js.map +1 -0
  206. package/dist/index.d.ts +3 -0
  207. package/dist/index.d.ts.map +1 -0
  208. package/dist/index.js +3 -0
  209. package/dist/index.js.map +1 -0
  210. package/dist/program.d.ts +6 -0
  211. package/dist/program.d.ts.map +1 -0
  212. package/dist/program.js +53 -0
  213. package/dist/program.js.map +1 -0
  214. package/dist/version.d.ts +2 -0
  215. package/dist/version.d.ts.map +1 -0
  216. package/dist/version.js +2 -0
  217. package/dist/version.js.map +1 -0
  218. package/dist/wcat.d.ts +3 -0
  219. package/dist/wcat.d.ts.map +1 -0
  220. package/dist/wcat.js +4 -0
  221. package/dist/wcat.js.map +1 -0
  222. package/package.json +87 -4
  223. package/skills/wordpress-cli/SKILL.md +88 -0
  224. package/skills/wordpress-cli/references/api/api-block-directory.md +17 -0
  225. package/skills/wordpress-cli/references/api/api-block-patterns.md +13 -0
  226. package/skills/wordpress-cli/references/api/api-block-types.md +34 -0
  227. package/skills/wordpress-cli/references/api/api-blocks.md +159 -0
  228. package/skills/wordpress-cli/references/api/api-categories.md +69 -0
  229. package/skills/wordpress-cli/references/api/api-comments.md +79 -0
  230. package/skills/wordpress-cli/references/api/api-font-collections.md +16 -0
  231. package/skills/wordpress-cli/references/api/api-font-families.md +122 -0
  232. package/skills/wordpress-cli/references/api/api-global-styles.md +29 -0
  233. package/skills/wordpress-cli/references/api/api-media.md +106 -0
  234. package/skills/wordpress-cli/references/api/api-menu-items.md +115 -0
  235. package/skills/wordpress-cli/references/api/api-menu-locations.md +22 -0
  236. package/skills/wordpress-cli/references/api/api-menus.md +69 -0
  237. package/skills/wordpress-cli/references/api/api-navigation.md +155 -0
  238. package/skills/wordpress-cli/references/api/api-pages.md +161 -0
  239. package/skills/wordpress-cli/references/api/api-pattern-directory.md +23 -0
  240. package/skills/wordpress-cli/references/api/api-plugins.md +25 -0
  241. package/skills/wordpress-cli/references/api/api-posts.md +166 -0
  242. package/skills/wordpress-cli/references/api/api-search.md +21 -0
  243. package/skills/wordpress-cli/references/api/api-settings.md +19 -0
  244. package/skills/wordpress-cli/references/api/api-sidebars.md +34 -0
  245. package/skills/wordpress-cli/references/api/api-statuses.md +22 -0
  246. package/skills/wordpress-cli/references/api/api-tags.md +69 -0
  247. package/skills/wordpress-cli/references/api/api-taxonomies.md +23 -0
  248. package/skills/wordpress-cli/references/api/api-template-parts.md +38 -0
  249. package/skills/wordpress-cli/references/api/api-templates.md +38 -0
  250. package/skills/wordpress-cli/references/api/api-themes.md +12 -0
  251. package/skills/wordpress-cli/references/api/api-types.md +22 -0
  252. package/skills/wordpress-cli/references/api/api-users.md +149 -0
  253. package/skills/wordpress-cli/references/api/api-widget-types.md +46 -0
  254. package/skills/wordpress-cli/references/api/api-widgets.md +57 -0
  255. package/skills/wordpress-cli/references/api/api-wp-pattern-category.md +69 -0
  256. package/skills/wordpress-cli/references/api.md +44 -0
@@ -0,0 +1,1308 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ __export,
5
+ __name
6
+ } from "./chunk-ZVVMGPBJ.js";
7
+
8
+ // node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/schema.js
9
+ var Schema = class {
10
+ static {
11
+ __name(this, "Schema");
12
+ }
13
+ /**
14
+ * @param {SchemaType['property']} property
15
+ * Property.
16
+ * @param {SchemaType['normal']} normal
17
+ * Normal.
18
+ * @param {Space | undefined} [space]
19
+ * Space.
20
+ * @returns
21
+ * Schema.
22
+ */
23
+ constructor(property, normal, space) {
24
+ this.normal = normal;
25
+ this.property = property;
26
+ if (space) {
27
+ this.space = space;
28
+ }
29
+ }
30
+ };
31
+ Schema.prototype.normal = {};
32
+ Schema.prototype.property = {};
33
+ Schema.prototype.space = void 0;
34
+
35
+ // node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/merge.js
36
+ function merge(definitions, space) {
37
+ const property = {};
38
+ const normal = {};
39
+ for (const definition of definitions) {
40
+ Object.assign(property, definition.property);
41
+ Object.assign(normal, definition.normal);
42
+ }
43
+ return new Schema(property, normal, space);
44
+ }
45
+ __name(merge, "merge");
46
+
47
+ // node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/normalize.js
48
+ function normalize(value) {
49
+ return value.toLowerCase();
50
+ }
51
+ __name(normalize, "normalize");
52
+
53
+ // node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/info.js
54
+ var Info = class {
55
+ static {
56
+ __name(this, "Info");
57
+ }
58
+ /**
59
+ * @param {string} property
60
+ * Property.
61
+ * @param {string} attribute
62
+ * Attribute.
63
+ * @returns
64
+ * Info.
65
+ */
66
+ constructor(property, attribute) {
67
+ this.attribute = attribute;
68
+ this.property = property;
69
+ }
70
+ };
71
+ Info.prototype.attribute = "";
72
+ Info.prototype.booleanish = false;
73
+ Info.prototype.boolean = false;
74
+ Info.prototype.commaOrSpaceSeparated = false;
75
+ Info.prototype.commaSeparated = false;
76
+ Info.prototype.defined = false;
77
+ Info.prototype.mustUseProperty = false;
78
+ Info.prototype.number = false;
79
+ Info.prototype.overloadedBoolean = false;
80
+ Info.prototype.property = "";
81
+ Info.prototype.spaceSeparated = false;
82
+ Info.prototype.space = void 0;
83
+
84
+ // node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/types.js
85
+ var types_exports = {};
86
+ __export(types_exports, {
87
+ boolean: () => boolean,
88
+ booleanish: () => booleanish,
89
+ commaOrSpaceSeparated: () => commaOrSpaceSeparated,
90
+ commaSeparated: () => commaSeparated,
91
+ number: () => number,
92
+ overloadedBoolean: () => overloadedBoolean,
93
+ spaceSeparated: () => spaceSeparated
94
+ });
95
+ var powers = 0;
96
+ var boolean = increment();
97
+ var booleanish = increment();
98
+ var overloadedBoolean = increment();
99
+ var number = increment();
100
+ var spaceSeparated = increment();
101
+ var commaSeparated = increment();
102
+ var commaOrSpaceSeparated = increment();
103
+ function increment() {
104
+ return 2 ** ++powers;
105
+ }
106
+ __name(increment, "increment");
107
+
108
+ // node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/defined-info.js
109
+ var checks = (
110
+ /** @type {ReadonlyArray<keyof typeof types>} */
111
+ Object.keys(types_exports)
112
+ );
113
+ var DefinedInfo = class extends Info {
114
+ static {
115
+ __name(this, "DefinedInfo");
116
+ }
117
+ /**
118
+ * @constructor
119
+ * @param {string} property
120
+ * Property.
121
+ * @param {string} attribute
122
+ * Attribute.
123
+ * @param {number | null | undefined} [mask]
124
+ * Mask.
125
+ * @param {Space | undefined} [space]
126
+ * Space.
127
+ * @returns
128
+ * Info.
129
+ */
130
+ constructor(property, attribute, mask, space) {
131
+ let index = -1;
132
+ super(property, attribute);
133
+ mark(this, "space", space);
134
+ if (typeof mask === "number") {
135
+ while (++index < checks.length) {
136
+ const check = checks[index];
137
+ mark(this, checks[index], (mask & types_exports[check]) === types_exports[check]);
138
+ }
139
+ }
140
+ }
141
+ };
142
+ DefinedInfo.prototype.defined = true;
143
+ function mark(values, key, value) {
144
+ if (value) {
145
+ values[key] = value;
146
+ }
147
+ }
148
+ __name(mark, "mark");
149
+
150
+ // node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/create.js
151
+ function create(definition) {
152
+ const properties = {};
153
+ const normals = {};
154
+ for (const [property, value] of Object.entries(definition.properties)) {
155
+ const info = new DefinedInfo(
156
+ property,
157
+ definition.transform(definition.attributes || {}, property),
158
+ value,
159
+ definition.space
160
+ );
161
+ if (definition.mustUseProperty && definition.mustUseProperty.includes(property)) {
162
+ info.mustUseProperty = true;
163
+ }
164
+ properties[property] = info;
165
+ normals[normalize(property)] = property;
166
+ normals[normalize(info.attribute)] = property;
167
+ }
168
+ return new Schema(properties, normals, definition.space);
169
+ }
170
+ __name(create, "create");
171
+
172
+ // node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/aria.js
173
+ var aria = create({
174
+ properties: {
175
+ ariaActiveDescendant: null,
176
+ ariaAtomic: booleanish,
177
+ ariaAutoComplete: null,
178
+ ariaBusy: booleanish,
179
+ ariaChecked: booleanish,
180
+ ariaColCount: number,
181
+ ariaColIndex: number,
182
+ ariaColSpan: number,
183
+ ariaControls: spaceSeparated,
184
+ ariaCurrent: null,
185
+ ariaDescribedBy: spaceSeparated,
186
+ ariaDetails: null,
187
+ ariaDisabled: booleanish,
188
+ ariaDropEffect: spaceSeparated,
189
+ ariaErrorMessage: null,
190
+ ariaExpanded: booleanish,
191
+ ariaFlowTo: spaceSeparated,
192
+ ariaGrabbed: booleanish,
193
+ ariaHasPopup: null,
194
+ ariaHidden: booleanish,
195
+ ariaInvalid: null,
196
+ ariaKeyShortcuts: null,
197
+ ariaLabel: null,
198
+ ariaLabelledBy: spaceSeparated,
199
+ ariaLevel: number,
200
+ ariaLive: null,
201
+ ariaModal: booleanish,
202
+ ariaMultiLine: booleanish,
203
+ ariaMultiSelectable: booleanish,
204
+ ariaOrientation: null,
205
+ ariaOwns: spaceSeparated,
206
+ ariaPlaceholder: null,
207
+ ariaPosInSet: number,
208
+ ariaPressed: booleanish,
209
+ ariaReadOnly: booleanish,
210
+ ariaRelevant: null,
211
+ ariaRequired: booleanish,
212
+ ariaRoleDescription: spaceSeparated,
213
+ ariaRowCount: number,
214
+ ariaRowIndex: number,
215
+ ariaRowSpan: number,
216
+ ariaSelected: booleanish,
217
+ ariaSetSize: number,
218
+ ariaSort: null,
219
+ ariaValueMax: number,
220
+ ariaValueMin: number,
221
+ ariaValueNow: number,
222
+ ariaValueText: null,
223
+ role: null
224
+ },
225
+ transform(_, property) {
226
+ return property === "role" ? property : "aria-" + property.slice(4).toLowerCase();
227
+ }
228
+ });
229
+
230
+ // node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/case-sensitive-transform.js
231
+ function caseSensitiveTransform(attributes, attribute) {
232
+ return attribute in attributes ? attributes[attribute] : attribute;
233
+ }
234
+ __name(caseSensitiveTransform, "caseSensitiveTransform");
235
+
236
+ // node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/case-insensitive-transform.js
237
+ function caseInsensitiveTransform(attributes, property) {
238
+ return caseSensitiveTransform(attributes, property.toLowerCase());
239
+ }
240
+ __name(caseInsensitiveTransform, "caseInsensitiveTransform");
241
+
242
+ // node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/html.js
243
+ var html = create({
244
+ attributes: {
245
+ acceptcharset: "accept-charset",
246
+ classname: "class",
247
+ htmlfor: "for",
248
+ httpequiv: "http-equiv"
249
+ },
250
+ mustUseProperty: ["checked", "multiple", "muted", "selected"],
251
+ properties: {
252
+ // Standard Properties.
253
+ abbr: null,
254
+ accept: commaSeparated,
255
+ acceptCharset: spaceSeparated,
256
+ accessKey: spaceSeparated,
257
+ action: null,
258
+ allow: null,
259
+ allowFullScreen: boolean,
260
+ allowPaymentRequest: boolean,
261
+ allowUserMedia: boolean,
262
+ alpha: boolean,
263
+ alt: null,
264
+ as: null,
265
+ async: boolean,
266
+ autoCapitalize: null,
267
+ autoComplete: spaceSeparated,
268
+ autoFocus: boolean,
269
+ autoPlay: boolean,
270
+ blocking: spaceSeparated,
271
+ capture: null,
272
+ charSet: null,
273
+ checked: boolean,
274
+ cite: null,
275
+ className: spaceSeparated,
276
+ closedBy: null,
277
+ colorSpace: null,
278
+ cols: number,
279
+ colSpan: number,
280
+ command: null,
281
+ commandFor: null,
282
+ content: null,
283
+ contentEditable: booleanish,
284
+ controls: boolean,
285
+ controlsList: spaceSeparated,
286
+ coords: number | commaSeparated,
287
+ crossOrigin: null,
288
+ data: null,
289
+ dateTime: null,
290
+ decoding: null,
291
+ default: boolean,
292
+ defer: boolean,
293
+ dir: null,
294
+ dirName: null,
295
+ disabled: boolean,
296
+ download: overloadedBoolean,
297
+ draggable: booleanish,
298
+ encType: null,
299
+ enterKeyHint: null,
300
+ fetchPriority: null,
301
+ form: null,
302
+ formAction: null,
303
+ formEncType: null,
304
+ formMethod: null,
305
+ formNoValidate: boolean,
306
+ formTarget: null,
307
+ headers: spaceSeparated,
308
+ height: number,
309
+ hidden: overloadedBoolean,
310
+ high: number,
311
+ href: null,
312
+ hrefLang: null,
313
+ htmlFor: spaceSeparated,
314
+ httpEquiv: spaceSeparated,
315
+ id: null,
316
+ imageSizes: null,
317
+ imageSrcSet: null,
318
+ inert: boolean,
319
+ inputMode: null,
320
+ integrity: null,
321
+ is: null,
322
+ isMap: boolean,
323
+ itemId: null,
324
+ itemProp: spaceSeparated,
325
+ itemRef: spaceSeparated,
326
+ itemScope: boolean,
327
+ itemType: spaceSeparated,
328
+ kind: null,
329
+ label: null,
330
+ lang: null,
331
+ language: null,
332
+ list: null,
333
+ loading: null,
334
+ loop: boolean,
335
+ low: number,
336
+ manifest: null,
337
+ max: null,
338
+ maxLength: number,
339
+ media: null,
340
+ method: null,
341
+ min: null,
342
+ minLength: number,
343
+ multiple: boolean,
344
+ muted: boolean,
345
+ name: null,
346
+ nonce: null,
347
+ noModule: boolean,
348
+ noValidate: boolean,
349
+ onAbort: null,
350
+ onAfterPrint: null,
351
+ onAuxClick: null,
352
+ onBeforeMatch: null,
353
+ onBeforePrint: null,
354
+ onBeforeToggle: null,
355
+ onBeforeUnload: null,
356
+ onBlur: null,
357
+ onCancel: null,
358
+ onCanPlay: null,
359
+ onCanPlayThrough: null,
360
+ onChange: null,
361
+ onClick: null,
362
+ onClose: null,
363
+ onContextLost: null,
364
+ onContextMenu: null,
365
+ onContextRestored: null,
366
+ onCopy: null,
367
+ onCueChange: null,
368
+ onCut: null,
369
+ onDblClick: null,
370
+ onDrag: null,
371
+ onDragEnd: null,
372
+ onDragEnter: null,
373
+ onDragExit: null,
374
+ onDragLeave: null,
375
+ onDragOver: null,
376
+ onDragStart: null,
377
+ onDrop: null,
378
+ onDurationChange: null,
379
+ onEmptied: null,
380
+ onEnded: null,
381
+ onError: null,
382
+ onFocus: null,
383
+ onFormData: null,
384
+ onHashChange: null,
385
+ onInput: null,
386
+ onInvalid: null,
387
+ onKeyDown: null,
388
+ onKeyPress: null,
389
+ onKeyUp: null,
390
+ onLanguageChange: null,
391
+ onLoad: null,
392
+ onLoadedData: null,
393
+ onLoadedMetadata: null,
394
+ onLoadEnd: null,
395
+ onLoadStart: null,
396
+ onMessage: null,
397
+ onMessageError: null,
398
+ onMouseDown: null,
399
+ onMouseEnter: null,
400
+ onMouseLeave: null,
401
+ onMouseMove: null,
402
+ onMouseOut: null,
403
+ onMouseOver: null,
404
+ onMouseUp: null,
405
+ onOffline: null,
406
+ onOnline: null,
407
+ onPageHide: null,
408
+ onPageShow: null,
409
+ onPaste: null,
410
+ onPause: null,
411
+ onPlay: null,
412
+ onPlaying: null,
413
+ onPopState: null,
414
+ onProgress: null,
415
+ onRateChange: null,
416
+ onRejectionHandled: null,
417
+ onReset: null,
418
+ onResize: null,
419
+ onScroll: null,
420
+ onScrollEnd: null,
421
+ onSecurityPolicyViolation: null,
422
+ onSeeked: null,
423
+ onSeeking: null,
424
+ onSelect: null,
425
+ onSlotChange: null,
426
+ onStalled: null,
427
+ onStorage: null,
428
+ onSubmit: null,
429
+ onSuspend: null,
430
+ onTimeUpdate: null,
431
+ onToggle: null,
432
+ onUnhandledRejection: null,
433
+ onUnload: null,
434
+ onVolumeChange: null,
435
+ onWaiting: null,
436
+ onWheel: null,
437
+ open: boolean,
438
+ optimum: number,
439
+ pattern: null,
440
+ ping: spaceSeparated,
441
+ placeholder: null,
442
+ playsInline: boolean,
443
+ popover: null,
444
+ popoverTarget: null,
445
+ popoverTargetAction: null,
446
+ poster: null,
447
+ preload: null,
448
+ readOnly: boolean,
449
+ referrerPolicy: null,
450
+ rel: spaceSeparated,
451
+ required: boolean,
452
+ reversed: boolean,
453
+ rows: number,
454
+ rowSpan: number,
455
+ sandbox: spaceSeparated,
456
+ scope: null,
457
+ scoped: boolean,
458
+ seamless: boolean,
459
+ selected: boolean,
460
+ shadowRootClonable: boolean,
461
+ shadowRootCustomElementRegistry: boolean,
462
+ shadowRootDelegatesFocus: boolean,
463
+ shadowRootMode: null,
464
+ shadowRootSerializable: boolean,
465
+ shape: null,
466
+ size: number,
467
+ sizes: null,
468
+ slot: null,
469
+ span: number,
470
+ spellCheck: booleanish,
471
+ src: null,
472
+ srcDoc: null,
473
+ srcLang: null,
474
+ srcSet: null,
475
+ start: number,
476
+ step: null,
477
+ style: null,
478
+ tabIndex: number,
479
+ target: null,
480
+ title: null,
481
+ translate: null,
482
+ type: null,
483
+ typeMustMatch: boolean,
484
+ useMap: null,
485
+ value: booleanish,
486
+ width: number,
487
+ wrap: null,
488
+ writingSuggestions: null,
489
+ // Legacy.
490
+ // See: https://html.spec.whatwg.org/#other-elements,-attributes-and-apis
491
+ align: null,
492
+ // Several. Use CSS `text-align` instead,
493
+ aLink: null,
494
+ // `<body>`. Use CSS `a:active {color}` instead
495
+ archive: spaceSeparated,
496
+ // `<object>`. List of URIs to archives
497
+ axis: null,
498
+ // `<td>` and `<th>`. Use `scope` on `<th>`
499
+ background: null,
500
+ // `<body>`. Use CSS `background-image` instead
501
+ bgColor: null,
502
+ // `<body>` and table elements. Use CSS `background-color` instead
503
+ border: number,
504
+ // `<table>`. Use CSS `border-width` instead,
505
+ borderColor: null,
506
+ // `<table>`. Use CSS `border-color` instead,
507
+ bottomMargin: number,
508
+ // `<body>`
509
+ cellPadding: null,
510
+ // `<table>`
511
+ cellSpacing: null,
512
+ // `<table>`
513
+ char: null,
514
+ // Several table elements. When `align=char`, sets the character to align on
515
+ charOff: null,
516
+ // Several table elements. When `char`, offsets the alignment
517
+ classId: null,
518
+ // `<object>`
519
+ clear: null,
520
+ // `<br>`. Use CSS `clear` instead
521
+ code: null,
522
+ // `<object>`
523
+ codeBase: null,
524
+ // `<object>`
525
+ codeType: null,
526
+ // `<object>`
527
+ color: null,
528
+ // `<font>` and `<hr>`. Use CSS instead
529
+ compact: boolean,
530
+ // Lists. Use CSS to reduce space between items instead
531
+ declare: boolean,
532
+ // `<object>`
533
+ event: null,
534
+ // `<script>`
535
+ face: null,
536
+ // `<font>`. Use CSS instead
537
+ frame: null,
538
+ // `<table>`
539
+ frameBorder: null,
540
+ // `<iframe>`. Use CSS `border` instead
541
+ hSpace: number,
542
+ // `<img>` and `<object>`
543
+ leftMargin: number,
544
+ // `<body>`
545
+ link: null,
546
+ // `<body>`. Use CSS `a:link {color: *}` instead
547
+ longDesc: null,
548
+ // `<frame>`, `<iframe>`, and `<img>`. Use an `<a>`
549
+ lowSrc: null,
550
+ // `<img>`. Use a `<picture>`
551
+ marginHeight: number,
552
+ // `<body>`
553
+ marginWidth: number,
554
+ // `<body>`
555
+ noResize: boolean,
556
+ // `<frame>`
557
+ noHref: boolean,
558
+ // `<area>`. Use no href instead of an explicit `nohref`
559
+ noShade: boolean,
560
+ // `<hr>`. Use background-color and height instead of borders
561
+ noWrap: boolean,
562
+ // `<td>` and `<th>`
563
+ object: null,
564
+ // `<applet>`
565
+ profile: null,
566
+ // `<head>`
567
+ prompt: null,
568
+ // `<isindex>`
569
+ rev: null,
570
+ // `<link>`
571
+ rightMargin: number,
572
+ // `<body>`
573
+ rules: null,
574
+ // `<table>`
575
+ scheme: null,
576
+ // `<meta>`
577
+ scrolling: booleanish,
578
+ // `<frame>`. Use overflow in the child context
579
+ standby: null,
580
+ // `<object>`
581
+ summary: null,
582
+ // `<table>`
583
+ text: null,
584
+ // `<body>`. Use CSS `color` instead
585
+ topMargin: number,
586
+ // `<body>`
587
+ valueType: null,
588
+ // `<param>`
589
+ version: null,
590
+ // `<html>`. Use a doctype.
591
+ vAlign: null,
592
+ // Several. Use CSS `vertical-align` instead
593
+ vLink: null,
594
+ // `<body>`. Use CSS `a:visited {color}` instead
595
+ vSpace: number,
596
+ // `<img>` and `<object>`
597
+ // Non-standard Properties.
598
+ allowTransparency: null,
599
+ autoCorrect: null,
600
+ autoSave: null,
601
+ credentialless: boolean,
602
+ disablePictureInPicture: boolean,
603
+ disableRemotePlayback: boolean,
604
+ exportParts: commaSeparated,
605
+ part: spaceSeparated,
606
+ prefix: null,
607
+ property: null,
608
+ results: number,
609
+ security: null,
610
+ unselectable: null
611
+ },
612
+ space: "html",
613
+ transform: caseInsensitiveTransform
614
+ });
615
+
616
+ // node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/svg.js
617
+ var svg = create({
618
+ attributes: {
619
+ accentHeight: "accent-height",
620
+ alignmentBaseline: "alignment-baseline",
621
+ arabicForm: "arabic-form",
622
+ baselineShift: "baseline-shift",
623
+ capHeight: "cap-height",
624
+ className: "class",
625
+ clipPath: "clip-path",
626
+ clipRule: "clip-rule",
627
+ colorInterpolation: "color-interpolation",
628
+ colorInterpolationFilters: "color-interpolation-filters",
629
+ colorProfile: "color-profile",
630
+ colorRendering: "color-rendering",
631
+ crossOrigin: "crossorigin",
632
+ dataType: "datatype",
633
+ dominantBaseline: "dominant-baseline",
634
+ enableBackground: "enable-background",
635
+ fillOpacity: "fill-opacity",
636
+ fillRule: "fill-rule",
637
+ floodColor: "flood-color",
638
+ floodOpacity: "flood-opacity",
639
+ fontFamily: "font-family",
640
+ fontSize: "font-size",
641
+ fontSizeAdjust: "font-size-adjust",
642
+ fontStretch: "font-stretch",
643
+ fontStyle: "font-style",
644
+ fontVariant: "font-variant",
645
+ fontWeight: "font-weight",
646
+ glyphName: "glyph-name",
647
+ glyphOrientationHorizontal: "glyph-orientation-horizontal",
648
+ glyphOrientationVertical: "glyph-orientation-vertical",
649
+ hrefLang: "hreflang",
650
+ horizAdvX: "horiz-adv-x",
651
+ horizOriginX: "horiz-origin-x",
652
+ horizOriginY: "horiz-origin-y",
653
+ imageRendering: "image-rendering",
654
+ letterSpacing: "letter-spacing",
655
+ lightingColor: "lighting-color",
656
+ markerEnd: "marker-end",
657
+ markerMid: "marker-mid",
658
+ markerStart: "marker-start",
659
+ maskType: "mask-type",
660
+ navDown: "nav-down",
661
+ navDownLeft: "nav-down-left",
662
+ navDownRight: "nav-down-right",
663
+ navLeft: "nav-left",
664
+ navNext: "nav-next",
665
+ navPrev: "nav-prev",
666
+ navRight: "nav-right",
667
+ navUp: "nav-up",
668
+ navUpLeft: "nav-up-left",
669
+ navUpRight: "nav-up-right",
670
+ onAbort: "onabort",
671
+ onActivate: "onactivate",
672
+ onAfterPrint: "onafterprint",
673
+ onBeforePrint: "onbeforeprint",
674
+ onBegin: "onbegin",
675
+ onCancel: "oncancel",
676
+ onCanPlay: "oncanplay",
677
+ onCanPlayThrough: "oncanplaythrough",
678
+ onChange: "onchange",
679
+ onClick: "onclick",
680
+ onClose: "onclose",
681
+ onCopy: "oncopy",
682
+ onCueChange: "oncuechange",
683
+ onCut: "oncut",
684
+ onDblClick: "ondblclick",
685
+ onDrag: "ondrag",
686
+ onDragEnd: "ondragend",
687
+ onDragEnter: "ondragenter",
688
+ onDragExit: "ondragexit",
689
+ onDragLeave: "ondragleave",
690
+ onDragOver: "ondragover",
691
+ onDragStart: "ondragstart",
692
+ onDrop: "ondrop",
693
+ onDurationChange: "ondurationchange",
694
+ onEmptied: "onemptied",
695
+ onEnd: "onend",
696
+ onEnded: "onended",
697
+ onError: "onerror",
698
+ onFocus: "onfocus",
699
+ onFocusIn: "onfocusin",
700
+ onFocusOut: "onfocusout",
701
+ onHashChange: "onhashchange",
702
+ onInput: "oninput",
703
+ onInvalid: "oninvalid",
704
+ onKeyDown: "onkeydown",
705
+ onKeyPress: "onkeypress",
706
+ onKeyUp: "onkeyup",
707
+ onLoad: "onload",
708
+ onLoadedData: "onloadeddata",
709
+ onLoadedMetadata: "onloadedmetadata",
710
+ onLoadStart: "onloadstart",
711
+ onMessage: "onmessage",
712
+ onMouseDown: "onmousedown",
713
+ onMouseEnter: "onmouseenter",
714
+ onMouseLeave: "onmouseleave",
715
+ onMouseMove: "onmousemove",
716
+ onMouseOut: "onmouseout",
717
+ onMouseOver: "onmouseover",
718
+ onMouseUp: "onmouseup",
719
+ onMouseWheel: "onmousewheel",
720
+ onOffline: "onoffline",
721
+ onOnline: "ononline",
722
+ onPageHide: "onpagehide",
723
+ onPageShow: "onpageshow",
724
+ onPaste: "onpaste",
725
+ onPause: "onpause",
726
+ onPlay: "onplay",
727
+ onPlaying: "onplaying",
728
+ onPopState: "onpopstate",
729
+ onProgress: "onprogress",
730
+ onRateChange: "onratechange",
731
+ onRepeat: "onrepeat",
732
+ onReset: "onreset",
733
+ onResize: "onresize",
734
+ onScroll: "onscroll",
735
+ onSeeked: "onseeked",
736
+ onSeeking: "onseeking",
737
+ onSelect: "onselect",
738
+ onShow: "onshow",
739
+ onStalled: "onstalled",
740
+ onStorage: "onstorage",
741
+ onSubmit: "onsubmit",
742
+ onSuspend: "onsuspend",
743
+ onTimeUpdate: "ontimeupdate",
744
+ onToggle: "ontoggle",
745
+ onUnload: "onunload",
746
+ onVolumeChange: "onvolumechange",
747
+ onWaiting: "onwaiting",
748
+ onZoom: "onzoom",
749
+ overlinePosition: "overline-position",
750
+ overlineThickness: "overline-thickness",
751
+ paintOrder: "paint-order",
752
+ panose1: "panose-1",
753
+ pointerEvents: "pointer-events",
754
+ referrerPolicy: "referrerpolicy",
755
+ renderingIntent: "rendering-intent",
756
+ shapeRendering: "shape-rendering",
757
+ stopColor: "stop-color",
758
+ stopOpacity: "stop-opacity",
759
+ strikethroughPosition: "strikethrough-position",
760
+ strikethroughThickness: "strikethrough-thickness",
761
+ strokeDashArray: "stroke-dasharray",
762
+ strokeDashOffset: "stroke-dashoffset",
763
+ strokeLineCap: "stroke-linecap",
764
+ strokeLineJoin: "stroke-linejoin",
765
+ strokeMiterLimit: "stroke-miterlimit",
766
+ strokeOpacity: "stroke-opacity",
767
+ strokeWidth: "stroke-width",
768
+ tabIndex: "tabindex",
769
+ textAnchor: "text-anchor",
770
+ textDecoration: "text-decoration",
771
+ textRendering: "text-rendering",
772
+ transformOrigin: "transform-origin",
773
+ typeOf: "typeof",
774
+ underlinePosition: "underline-position",
775
+ underlineThickness: "underline-thickness",
776
+ unicodeBidi: "unicode-bidi",
777
+ unicodeRange: "unicode-range",
778
+ unitsPerEm: "units-per-em",
779
+ vAlphabetic: "v-alphabetic",
780
+ vHanging: "v-hanging",
781
+ vIdeographic: "v-ideographic",
782
+ vMathematical: "v-mathematical",
783
+ vectorEffect: "vector-effect",
784
+ vertAdvY: "vert-adv-y",
785
+ vertOriginX: "vert-origin-x",
786
+ vertOriginY: "vert-origin-y",
787
+ wordSpacing: "word-spacing",
788
+ writingMode: "writing-mode",
789
+ xHeight: "x-height",
790
+ // These were camelcased in Tiny. Now lowercased in SVG 2
791
+ playbackOrder: "playbackorder",
792
+ timelineBegin: "timelinebegin"
793
+ },
794
+ properties: {
795
+ about: commaOrSpaceSeparated,
796
+ accentHeight: number,
797
+ accumulate: null,
798
+ additive: null,
799
+ alignmentBaseline: null,
800
+ alphabetic: number,
801
+ amplitude: number,
802
+ arabicForm: null,
803
+ ascent: number,
804
+ attributeName: null,
805
+ attributeType: null,
806
+ azimuth: number,
807
+ bandwidth: null,
808
+ baselineShift: null,
809
+ baseFrequency: null,
810
+ baseProfile: null,
811
+ bbox: null,
812
+ begin: null,
813
+ bias: number,
814
+ by: null,
815
+ calcMode: null,
816
+ capHeight: number,
817
+ className: spaceSeparated,
818
+ clip: null,
819
+ clipPath: null,
820
+ clipPathUnits: null,
821
+ clipRule: null,
822
+ color: null,
823
+ colorInterpolation: null,
824
+ colorInterpolationFilters: null,
825
+ colorProfile: null,
826
+ colorRendering: null,
827
+ content: null,
828
+ contentScriptType: null,
829
+ contentStyleType: null,
830
+ crossOrigin: null,
831
+ cursor: null,
832
+ cx: null,
833
+ cy: null,
834
+ d: null,
835
+ dataType: null,
836
+ defaultAction: null,
837
+ descent: number,
838
+ diffuseConstant: number,
839
+ direction: null,
840
+ display: null,
841
+ dur: null,
842
+ divisor: number,
843
+ dominantBaseline: null,
844
+ download: boolean,
845
+ dx: null,
846
+ dy: null,
847
+ edgeMode: null,
848
+ editable: null,
849
+ elevation: number,
850
+ enableBackground: null,
851
+ end: null,
852
+ event: null,
853
+ exponent: number,
854
+ externalResourcesRequired: null,
855
+ fill: null,
856
+ fillOpacity: number,
857
+ fillRule: null,
858
+ filter: null,
859
+ filterRes: null,
860
+ filterUnits: null,
861
+ floodColor: null,
862
+ floodOpacity: null,
863
+ focusable: null,
864
+ focusHighlight: null,
865
+ fontFamily: null,
866
+ fontSize: null,
867
+ fontSizeAdjust: null,
868
+ fontStretch: null,
869
+ fontStyle: null,
870
+ fontVariant: null,
871
+ fontWeight: null,
872
+ format: null,
873
+ fr: null,
874
+ from: null,
875
+ fx: null,
876
+ fy: null,
877
+ g1: commaSeparated,
878
+ g2: commaSeparated,
879
+ glyphName: commaSeparated,
880
+ glyphOrientationHorizontal: null,
881
+ glyphOrientationVertical: null,
882
+ glyphRef: null,
883
+ gradientTransform: null,
884
+ gradientUnits: null,
885
+ handler: null,
886
+ hanging: number,
887
+ hatchContentUnits: null,
888
+ hatchUnits: null,
889
+ height: null,
890
+ href: null,
891
+ hrefLang: null,
892
+ horizAdvX: number,
893
+ horizOriginX: number,
894
+ horizOriginY: number,
895
+ id: null,
896
+ ideographic: number,
897
+ imageRendering: null,
898
+ initialVisibility: null,
899
+ in: null,
900
+ in2: null,
901
+ intercept: number,
902
+ k: number,
903
+ k1: number,
904
+ k2: number,
905
+ k3: number,
906
+ k4: number,
907
+ kernelMatrix: commaOrSpaceSeparated,
908
+ kernelUnitLength: null,
909
+ keyPoints: null,
910
+ // SEMI_COLON_SEPARATED
911
+ keySplines: null,
912
+ // SEMI_COLON_SEPARATED
913
+ keyTimes: null,
914
+ // SEMI_COLON_SEPARATED
915
+ kerning: null,
916
+ lang: null,
917
+ lengthAdjust: null,
918
+ letterSpacing: null,
919
+ lightingColor: null,
920
+ limitingConeAngle: number,
921
+ local: null,
922
+ markerEnd: null,
923
+ markerMid: null,
924
+ markerStart: null,
925
+ markerHeight: null,
926
+ markerUnits: null,
927
+ markerWidth: null,
928
+ mask: null,
929
+ maskContentUnits: null,
930
+ maskType: null,
931
+ maskUnits: null,
932
+ mathematical: null,
933
+ max: null,
934
+ media: null,
935
+ mediaCharacterEncoding: null,
936
+ mediaContentEncodings: null,
937
+ mediaSize: number,
938
+ mediaTime: null,
939
+ method: null,
940
+ min: null,
941
+ mode: null,
942
+ name: null,
943
+ navDown: null,
944
+ navDownLeft: null,
945
+ navDownRight: null,
946
+ navLeft: null,
947
+ navNext: null,
948
+ navPrev: null,
949
+ navRight: null,
950
+ navUp: null,
951
+ navUpLeft: null,
952
+ navUpRight: null,
953
+ numOctaves: null,
954
+ observer: null,
955
+ offset: null,
956
+ onAbort: null,
957
+ onActivate: null,
958
+ onAfterPrint: null,
959
+ onBeforePrint: null,
960
+ onBegin: null,
961
+ onCancel: null,
962
+ onCanPlay: null,
963
+ onCanPlayThrough: null,
964
+ onChange: null,
965
+ onClick: null,
966
+ onClose: null,
967
+ onCopy: null,
968
+ onCueChange: null,
969
+ onCut: null,
970
+ onDblClick: null,
971
+ onDrag: null,
972
+ onDragEnd: null,
973
+ onDragEnter: null,
974
+ onDragExit: null,
975
+ onDragLeave: null,
976
+ onDragOver: null,
977
+ onDragStart: null,
978
+ onDrop: null,
979
+ onDurationChange: null,
980
+ onEmptied: null,
981
+ onEnd: null,
982
+ onEnded: null,
983
+ onError: null,
984
+ onFocus: null,
985
+ onFocusIn: null,
986
+ onFocusOut: null,
987
+ onHashChange: null,
988
+ onInput: null,
989
+ onInvalid: null,
990
+ onKeyDown: null,
991
+ onKeyPress: null,
992
+ onKeyUp: null,
993
+ onLoad: null,
994
+ onLoadedData: null,
995
+ onLoadedMetadata: null,
996
+ onLoadStart: null,
997
+ onMessage: null,
998
+ onMouseDown: null,
999
+ onMouseEnter: null,
1000
+ onMouseLeave: null,
1001
+ onMouseMove: null,
1002
+ onMouseOut: null,
1003
+ onMouseOver: null,
1004
+ onMouseUp: null,
1005
+ onMouseWheel: null,
1006
+ onOffline: null,
1007
+ onOnline: null,
1008
+ onPageHide: null,
1009
+ onPageShow: null,
1010
+ onPaste: null,
1011
+ onPause: null,
1012
+ onPlay: null,
1013
+ onPlaying: null,
1014
+ onPopState: null,
1015
+ onProgress: null,
1016
+ onRateChange: null,
1017
+ onRepeat: null,
1018
+ onReset: null,
1019
+ onResize: null,
1020
+ onScroll: null,
1021
+ onSeeked: null,
1022
+ onSeeking: null,
1023
+ onSelect: null,
1024
+ onShow: null,
1025
+ onStalled: null,
1026
+ onStorage: null,
1027
+ onSubmit: null,
1028
+ onSuspend: null,
1029
+ onTimeUpdate: null,
1030
+ onToggle: null,
1031
+ onUnload: null,
1032
+ onVolumeChange: null,
1033
+ onWaiting: null,
1034
+ onZoom: null,
1035
+ opacity: null,
1036
+ operator: null,
1037
+ order: null,
1038
+ orient: null,
1039
+ orientation: null,
1040
+ origin: null,
1041
+ overflow: null,
1042
+ overlay: null,
1043
+ overlinePosition: number,
1044
+ overlineThickness: number,
1045
+ paintOrder: null,
1046
+ panose1: null,
1047
+ path: null,
1048
+ pathLength: number,
1049
+ patternContentUnits: null,
1050
+ patternTransform: null,
1051
+ patternUnits: null,
1052
+ phase: null,
1053
+ ping: spaceSeparated,
1054
+ pitch: null,
1055
+ playbackOrder: null,
1056
+ pointerEvents: null,
1057
+ points: null,
1058
+ pointsAtX: number,
1059
+ pointsAtY: number,
1060
+ pointsAtZ: number,
1061
+ preserveAlpha: null,
1062
+ preserveAspectRatio: null,
1063
+ primitiveUnits: null,
1064
+ propagate: null,
1065
+ property: commaOrSpaceSeparated,
1066
+ r: null,
1067
+ radius: null,
1068
+ referrerPolicy: null,
1069
+ refX: null,
1070
+ refY: null,
1071
+ rel: commaOrSpaceSeparated,
1072
+ rev: commaOrSpaceSeparated,
1073
+ renderingIntent: null,
1074
+ repeatCount: null,
1075
+ repeatDur: null,
1076
+ requiredExtensions: commaOrSpaceSeparated,
1077
+ requiredFeatures: commaOrSpaceSeparated,
1078
+ requiredFonts: commaOrSpaceSeparated,
1079
+ requiredFormats: commaOrSpaceSeparated,
1080
+ resource: null,
1081
+ restart: null,
1082
+ result: null,
1083
+ rotate: null,
1084
+ rx: null,
1085
+ ry: null,
1086
+ scale: null,
1087
+ seed: null,
1088
+ shapeRendering: null,
1089
+ side: null,
1090
+ slope: null,
1091
+ snapshotTime: null,
1092
+ specularConstant: number,
1093
+ specularExponent: number,
1094
+ spreadMethod: null,
1095
+ spacing: null,
1096
+ startOffset: null,
1097
+ stdDeviation: null,
1098
+ stemh: null,
1099
+ stemv: null,
1100
+ stitchTiles: null,
1101
+ stopColor: null,
1102
+ stopOpacity: null,
1103
+ strikethroughPosition: number,
1104
+ strikethroughThickness: number,
1105
+ string: null,
1106
+ stroke: null,
1107
+ strokeDashArray: commaOrSpaceSeparated,
1108
+ strokeDashOffset: null,
1109
+ strokeLineCap: null,
1110
+ strokeLineJoin: null,
1111
+ strokeMiterLimit: number,
1112
+ strokeOpacity: number,
1113
+ strokeWidth: null,
1114
+ style: null,
1115
+ surfaceScale: number,
1116
+ syncBehavior: null,
1117
+ syncBehaviorDefault: null,
1118
+ syncMaster: null,
1119
+ syncTolerance: null,
1120
+ syncToleranceDefault: null,
1121
+ systemLanguage: commaOrSpaceSeparated,
1122
+ tabIndex: number,
1123
+ tableValues: null,
1124
+ target: null,
1125
+ targetX: number,
1126
+ targetY: number,
1127
+ textAnchor: null,
1128
+ textDecoration: null,
1129
+ textRendering: null,
1130
+ textLength: null,
1131
+ timelineBegin: null,
1132
+ title: null,
1133
+ transformBehavior: null,
1134
+ type: null,
1135
+ typeOf: commaOrSpaceSeparated,
1136
+ to: null,
1137
+ transform: null,
1138
+ transformOrigin: null,
1139
+ u1: null,
1140
+ u2: null,
1141
+ underlinePosition: number,
1142
+ underlineThickness: number,
1143
+ unicode: null,
1144
+ unicodeBidi: null,
1145
+ unicodeRange: null,
1146
+ unitsPerEm: number,
1147
+ values: null,
1148
+ vAlphabetic: number,
1149
+ vMathematical: number,
1150
+ vectorEffect: null,
1151
+ vHanging: number,
1152
+ vIdeographic: number,
1153
+ version: null,
1154
+ vertAdvY: number,
1155
+ vertOriginX: number,
1156
+ vertOriginY: number,
1157
+ viewBox: null,
1158
+ viewTarget: null,
1159
+ visibility: null,
1160
+ width: null,
1161
+ widths: null,
1162
+ wordSpacing: null,
1163
+ writingMode: null,
1164
+ x: null,
1165
+ x1: null,
1166
+ x2: null,
1167
+ xChannelSelector: null,
1168
+ xHeight: number,
1169
+ y: null,
1170
+ y1: null,
1171
+ y2: null,
1172
+ yChannelSelector: null,
1173
+ z: null,
1174
+ zoomAndPan: null
1175
+ },
1176
+ space: "svg",
1177
+ transform: caseSensitiveTransform
1178
+ });
1179
+
1180
+ // node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/xlink.js
1181
+ var xlink = create({
1182
+ properties: {
1183
+ xLinkActuate: null,
1184
+ xLinkArcRole: null,
1185
+ xLinkHref: null,
1186
+ xLinkRole: null,
1187
+ xLinkShow: null,
1188
+ xLinkTitle: null,
1189
+ xLinkType: null
1190
+ },
1191
+ space: "xlink",
1192
+ transform(_, property) {
1193
+ return "xlink:" + property.slice(5).toLowerCase();
1194
+ }
1195
+ });
1196
+
1197
+ // node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/xmlns.js
1198
+ var xmlns = create({
1199
+ attributes: { xmlnsxlink: "xmlns:xlink" },
1200
+ properties: { xmlnsXLink: null, xmlns: null },
1201
+ space: "xmlns",
1202
+ transform: caseInsensitiveTransform
1203
+ });
1204
+
1205
+ // node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/xml.js
1206
+ var xml = create({
1207
+ properties: { xmlBase: null, xmlLang: null, xmlSpace: null },
1208
+ space: "xml",
1209
+ transform(_, property) {
1210
+ return "xml:" + property.slice(3).toLowerCase();
1211
+ }
1212
+ });
1213
+
1214
+ // node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/find.js
1215
+ var cap = /[A-Z]/g;
1216
+ var dash = /-[a-z]/g;
1217
+ var valid = /^data[-\w.:]+$/i;
1218
+ function find(schema, value) {
1219
+ const normal = normalize(value);
1220
+ let property = value;
1221
+ let Type = Info;
1222
+ if (normal in schema.normal) {
1223
+ return schema.property[schema.normal[normal]];
1224
+ }
1225
+ if (normal.length > 4 && normal.slice(0, 4) === "data" && valid.test(value)) {
1226
+ if (value.charAt(4) === "-") {
1227
+ const rest = value.slice(5).replace(dash, camelcase);
1228
+ property = "data" + rest.charAt(0).toUpperCase() + rest.slice(1);
1229
+ } else {
1230
+ const rest = value.slice(4);
1231
+ if (!dash.test(rest)) {
1232
+ let dashes = rest.replace(cap, kebab);
1233
+ if (dashes.charAt(0) !== "-") {
1234
+ dashes = "-" + dashes;
1235
+ }
1236
+ value = "data" + dashes;
1237
+ }
1238
+ }
1239
+ Type = DefinedInfo;
1240
+ }
1241
+ return new Type(property, value);
1242
+ }
1243
+ __name(find, "find");
1244
+ function kebab($0) {
1245
+ return "-" + $0.toLowerCase();
1246
+ }
1247
+ __name(kebab, "kebab");
1248
+ function camelcase($0) {
1249
+ return $0.charAt(1).toUpperCase();
1250
+ }
1251
+ __name(camelcase, "camelcase");
1252
+
1253
+ // node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/index.js
1254
+ var html2 = merge([aria, html, xlink, xmlns, xml], "html");
1255
+ var svg2 = merge([aria, svg, xlink, xmlns, xml], "svg");
1256
+
1257
+ // node_modules/.pnpm/comma-separated-tokens@2.0.3/node_modules/comma-separated-tokens/index.js
1258
+ function parse(value) {
1259
+ const tokens = [];
1260
+ const input = String(value || "");
1261
+ let index = input.indexOf(",");
1262
+ let start = 0;
1263
+ let end = false;
1264
+ while (!end) {
1265
+ if (index === -1) {
1266
+ index = input.length;
1267
+ end = true;
1268
+ }
1269
+ const token = input.slice(start, index).trim();
1270
+ if (token || !end) {
1271
+ tokens.push(token);
1272
+ }
1273
+ start = index + 1;
1274
+ index = input.indexOf(",", start);
1275
+ }
1276
+ return tokens;
1277
+ }
1278
+ __name(parse, "parse");
1279
+ function stringify(values, options) {
1280
+ const settings = options || {};
1281
+ const input = values[values.length - 1] === "" ? [...values, ""] : values;
1282
+ return input.join(
1283
+ (settings.padRight ? " " : "") + "," + (settings.padLeft === false ? "" : " ")
1284
+ ).trim();
1285
+ }
1286
+ __name(stringify, "stringify");
1287
+
1288
+ // node_modules/.pnpm/space-separated-tokens@2.0.2/node_modules/space-separated-tokens/index.js
1289
+ function parse2(value) {
1290
+ const input = String(value || "").trim();
1291
+ return input ? input.split(/[ \t\n\r\f]+/g) : [];
1292
+ }
1293
+ __name(parse2, "parse");
1294
+ function stringify2(values) {
1295
+ return values.join(" ").trim();
1296
+ }
1297
+ __name(stringify2, "stringify");
1298
+
1299
+ export {
1300
+ normalize,
1301
+ find,
1302
+ html2 as html,
1303
+ svg2 as svg,
1304
+ parse,
1305
+ stringify,
1306
+ parse2,
1307
+ stringify2
1308
+ };