@atme-lab/ui-kit 0.1.19 → 0.1.20

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 (294) hide show
  1. package/dist/index.cjs10.js +1 -1
  2. package/dist/index.cjs11.js +1 -1
  3. package/dist/index.cjs12.js +1 -1
  4. package/dist/index.cjs13.js +1 -1
  5. package/dist/index.cjs14.js +1 -1
  6. package/dist/index.cjs15.js +1 -1
  7. package/dist/index.cjs16.js +1 -1
  8. package/dist/index.cjs17.js +1 -1
  9. package/dist/index.cjs18.js +1 -1
  10. package/dist/index.cjs19.js +1 -1
  11. package/dist/index.cjs20.js +1 -1
  12. package/dist/index.cjs21.js +1 -1
  13. package/dist/index.cjs22.js +1 -1
  14. package/dist/index.cjs23.js +1 -1
  15. package/dist/index.cjs24.js +1 -1
  16. package/dist/index.cjs25.js +1 -1
  17. package/dist/index.cjs26.js +1 -1
  18. package/dist/index.cjs27.js +1 -1
  19. package/dist/index.cjs28.js +1 -1
  20. package/dist/index.cjs29.js +1 -1
  21. package/dist/index.cjs30.js +1 -1
  22. package/dist/index.cjs36.js +1 -1
  23. package/dist/index.cjs38.js +1 -1
  24. package/dist/index.cjs38.js.map +1 -1
  25. package/dist/index.cjs385.js +1 -1
  26. package/dist/index.cjs386.js +1 -1
  27. package/dist/index.cjs386.js.map +1 -1
  28. package/dist/index.cjs387.js +1 -1
  29. package/dist/index.cjs387.js.map +1 -1
  30. package/dist/index.cjs388.js +1 -1
  31. package/dist/index.cjs388.js.map +1 -1
  32. package/dist/index.cjs389.js +1 -1
  33. package/dist/index.cjs389.js.map +1 -1
  34. package/dist/index.cjs39.js +1 -1
  35. package/dist/index.cjs390.js +1 -1
  36. package/dist/index.cjs390.js.map +1 -1
  37. package/dist/index.cjs391.js +1 -1
  38. package/dist/index.cjs391.js.map +1 -1
  39. package/dist/index.cjs392.js +1 -1
  40. package/dist/index.cjs392.js.map +1 -1
  41. package/dist/index.cjs40.js +1 -9
  42. package/dist/index.cjs40.js.map +1 -1
  43. package/dist/index.cjs41.js +1 -22
  44. package/dist/index.cjs41.js.map +1 -1
  45. package/dist/index.cjs42.js +9 -1
  46. package/dist/index.cjs42.js.map +1 -1
  47. package/dist/index.cjs420.js +1 -1
  48. package/dist/index.cjs421.js +1 -1
  49. package/dist/index.cjs422.js +1 -1
  50. package/dist/index.cjs423.js +1 -1
  51. package/dist/index.cjs424.js +1 -1
  52. package/dist/index.cjs425.js +1 -1
  53. package/dist/index.cjs426.js +1 -1
  54. package/dist/index.cjs428.js +1 -1
  55. package/dist/index.cjs43.js +22 -1
  56. package/dist/index.cjs43.js.map +1 -1
  57. package/dist/index.cjs430.js +1 -1
  58. package/dist/index.cjs433.js +1 -1
  59. package/dist/index.cjs438.js +1 -1
  60. package/dist/index.cjs438.js.map +1 -1
  61. package/dist/index.cjs439.js +1 -1
  62. package/dist/index.cjs439.js.map +1 -1
  63. package/dist/index.cjs44.js +1 -1
  64. package/dist/index.cjs440.js +1 -1
  65. package/dist/index.cjs440.js.map +1 -1
  66. package/dist/index.cjs441.js +1 -1
  67. package/dist/index.cjs441.js.map +1 -1
  68. package/dist/index.cjs442.js +1 -1
  69. package/dist/index.cjs442.js.map +1 -1
  70. package/dist/index.cjs443.js +1 -1
  71. package/dist/index.cjs443.js.map +1 -1
  72. package/dist/index.cjs444.js +1 -1
  73. package/dist/index.cjs444.js.map +1 -1
  74. package/dist/index.cjs445.js +1 -1
  75. package/dist/index.cjs445.js.map +1 -1
  76. package/dist/index.cjs446.js +1 -1
  77. package/dist/index.cjs446.js.map +1 -1
  78. package/dist/index.cjs447.js +1 -1
  79. package/dist/index.cjs447.js.map +1 -1
  80. package/dist/index.cjs448.js +1 -1
  81. package/dist/index.cjs448.js.map +1 -1
  82. package/dist/index.cjs449.js +1 -1
  83. package/dist/index.cjs449.js.map +1 -1
  84. package/dist/index.cjs45.js +1 -1
  85. package/dist/index.cjs450.js +1 -1
  86. package/dist/index.cjs450.js.map +1 -1
  87. package/dist/index.cjs451.js +1 -1
  88. package/dist/index.cjs451.js.map +1 -1
  89. package/dist/index.cjs452.js +1 -1
  90. package/dist/index.cjs452.js.map +1 -1
  91. package/dist/index.cjs46.js +1 -1
  92. package/dist/index.cjs47.js +1 -1
  93. package/dist/index.cjs48.js +1 -1
  94. package/dist/index.cjs48.js.map +1 -1
  95. package/dist/index.cjs49.js +1 -1
  96. package/dist/index.cjs5.js +1 -1
  97. package/dist/index.cjs5.js.map +1 -1
  98. package/dist/index.cjs50.js +1 -1
  99. package/dist/index.cjs51.js +1 -1
  100. package/dist/index.cjs51.js.map +1 -1
  101. package/dist/index.cjs52.js +1 -1
  102. package/dist/index.cjs52.js.map +1 -1
  103. package/dist/index.cjs53.js +1 -1
  104. package/dist/index.cjs53.js.map +1 -1
  105. package/dist/index.cjs54.js +1 -1
  106. package/dist/index.cjs54.js.map +1 -1
  107. package/dist/index.cjs55.js +1 -1
  108. package/dist/index.cjs56.js +1 -1
  109. package/dist/index.cjs56.js.map +1 -1
  110. package/dist/index.cjs57.js +1 -1
  111. package/dist/index.cjs58.js +1 -1
  112. package/dist/index.cjs59.js +1 -1
  113. package/dist/index.cjs59.js.map +1 -1
  114. package/dist/index.cjs60.js +1 -1
  115. package/dist/index.cjs60.js.map +1 -1
  116. package/dist/index.cjs61.js +1 -1
  117. package/dist/index.cjs62.js +1 -1
  118. package/dist/index.cjs63.js +1 -1
  119. package/dist/index.cjs63.js.map +1 -1
  120. package/dist/index.cjs64.js +1 -1
  121. package/dist/index.cjs64.js.map +1 -1
  122. package/dist/index.cjs65.js +1 -1
  123. package/dist/index.cjs65.js.map +1 -1
  124. package/dist/index.cjs66.js +1 -1
  125. package/dist/index.cjs67.js +1 -1
  126. package/dist/index.cjs67.js.map +1 -1
  127. package/dist/index.cjs68.js +1 -1
  128. package/dist/index.cjs69.js +1 -1
  129. package/dist/index.cjs69.js.map +1 -1
  130. package/dist/index.cjs70.js +1 -1
  131. package/dist/index.cjs71.js +1 -1
  132. package/dist/index.cjs71.js.map +1 -1
  133. package/dist/index.cjs72.js +1 -1
  134. package/dist/index.cjs73.js +1 -1
  135. package/dist/index.cjs73.js.map +1 -1
  136. package/dist/index.cjs86.js +1 -1
  137. package/dist/index.cjs9.js +1 -1
  138. package/dist/index.esm10.js +3 -3
  139. package/dist/index.esm11.js +2 -2
  140. package/dist/index.esm12.js +4 -4
  141. package/dist/index.esm13.js +2 -2
  142. package/dist/index.esm14.js +2 -2
  143. package/dist/index.esm15.js +2 -2
  144. package/dist/index.esm16.js +2 -2
  145. package/dist/index.esm17.js +2 -2
  146. package/dist/index.esm18.js +2 -2
  147. package/dist/index.esm19.js +2 -2
  148. package/dist/index.esm20.js +2 -2
  149. package/dist/index.esm21.js +3 -3
  150. package/dist/index.esm22.js +3 -3
  151. package/dist/index.esm23.js +2 -2
  152. package/dist/index.esm24.js +3 -3
  153. package/dist/index.esm25.js +2 -2
  154. package/dist/index.esm26.js +2 -2
  155. package/dist/index.esm27.js +2 -2
  156. package/dist/index.esm28.js +3 -3
  157. package/dist/index.esm29.js +2 -2
  158. package/dist/index.esm30.js +4 -4
  159. package/dist/index.esm36.js +1 -1
  160. package/dist/index.esm38.js +5 -8
  161. package/dist/index.esm38.js.map +1 -1
  162. package/dist/index.esm385.js +2 -2
  163. package/dist/index.esm386.js +29 -5
  164. package/dist/index.esm386.js.map +1 -1
  165. package/dist/index.esm387.js +24 -25
  166. package/dist/index.esm387.js.map +1 -1
  167. package/dist/index.esm388.js +50 -29
  168. package/dist/index.esm388.js.map +1 -1
  169. package/dist/index.esm389.js +7 -24
  170. package/dist/index.esm389.js.map +1 -1
  171. package/dist/index.esm39.js +41 -2
  172. package/dist/index.esm39.js.map +1 -1
  173. package/dist/index.esm390.js +7 -50
  174. package/dist/index.esm390.js.map +1 -1
  175. package/dist/index.esm391.js +25 -7
  176. package/dist/index.esm391.js.map +1 -1
  177. package/dist/index.esm392.js +5 -7
  178. package/dist/index.esm392.js.map +1 -1
  179. package/dist/index.esm40.js +7 -25
  180. package/dist/index.esm40.js.map +1 -1
  181. package/dist/index.esm41.js +2 -602
  182. package/dist/index.esm41.js.map +1 -1
  183. package/dist/index.esm42.js +26 -5
  184. package/dist/index.esm42.js.map +1 -1
  185. package/dist/index.esm420.js +1 -1
  186. package/dist/index.esm421.js +2 -2
  187. package/dist/index.esm422.js +3 -3
  188. package/dist/index.esm423.js +3 -3
  189. package/dist/index.esm424.js +1 -1
  190. package/dist/index.esm425.js +2 -2
  191. package/dist/index.esm426.js +1 -1
  192. package/dist/index.esm428.js +1 -1
  193. package/dist/index.esm43.js +602 -65
  194. package/dist/index.esm43.js.map +1 -1
  195. package/dist/index.esm430.js +7 -7
  196. package/dist/index.esm433.js +1 -1
  197. package/dist/index.esm438.js +18 -5
  198. package/dist/index.esm438.js.map +1 -1
  199. package/dist/index.esm439.js +16 -9
  200. package/dist/index.esm439.js.map +1 -1
  201. package/dist/index.esm44.js +42 -36
  202. package/dist/index.esm44.js.map +1 -1
  203. package/dist/index.esm440.js +11 -6
  204. package/dist/index.esm440.js.map +1 -1
  205. package/dist/index.esm441.js +4 -3
  206. package/dist/index.esm441.js.map +1 -1
  207. package/dist/index.esm442.js +3 -84
  208. package/dist/index.esm442.js.map +1 -1
  209. package/dist/index.esm443.js +27 -34
  210. package/dist/index.esm443.js.map +1 -1
  211. package/dist/index.esm444.js +30 -27
  212. package/dist/index.esm444.js.map +1 -1
  213. package/dist/index.esm445.js +20 -13
  214. package/dist/index.esm445.js.map +1 -1
  215. package/dist/index.esm446.js +3 -16
  216. package/dist/index.esm446.js.map +1 -1
  217. package/dist/index.esm447.js +5 -11
  218. package/dist/index.esm447.js.map +1 -1
  219. package/dist/index.esm448.js +9 -4
  220. package/dist/index.esm448.js.map +1 -1
  221. package/dist/index.esm449.js +6 -3
  222. package/dist/index.esm449.js.map +1 -1
  223. package/dist/index.esm45.js +28 -8
  224. package/dist/index.esm45.js.map +1 -1
  225. package/dist/index.esm450.js +3 -33
  226. package/dist/index.esm450.js.map +1 -1
  227. package/dist/index.esm451.js +85 -26
  228. package/dist/index.esm451.js.map +1 -1
  229. package/dist/index.esm452.js +37 -3
  230. package/dist/index.esm452.js.map +1 -1
  231. package/dist/index.esm46.js +64 -8
  232. package/dist/index.esm46.js.map +1 -1
  233. package/dist/index.esm47.js +11 -47
  234. package/dist/index.esm48.js +30 -11
  235. package/dist/index.esm48.js.map +1 -1
  236. package/dist/index.esm49.js +39 -5
  237. package/dist/index.esm49.js.map +1 -1
  238. package/dist/index.esm5.js +2 -2
  239. package/dist/index.esm5.js.map +1 -1
  240. package/dist/index.esm50.js +16 -32
  241. package/dist/index.esm50.js.map +1 -1
  242. package/dist/index.esm51.js +16 -7
  243. package/dist/index.esm51.js.map +1 -1
  244. package/dist/index.esm52.js +5 -9
  245. package/dist/index.esm52.js.map +1 -1
  246. package/dist/index.esm53.js +14 -7
  247. package/dist/index.esm53.js.map +1 -1
  248. package/dist/index.esm54.js +87 -43
  249. package/dist/index.esm54.js.map +1 -1
  250. package/dist/index.esm55.js +32 -8
  251. package/dist/index.esm55.js.map +1 -1
  252. package/dist/index.esm56.js +41 -28
  253. package/dist/index.esm56.js.map +1 -1
  254. package/dist/index.esm57.js +36 -40
  255. package/dist/index.esm57.js.map +1 -1
  256. package/dist/index.esm58.js +6 -10
  257. package/dist/index.esm58.js.map +1 -1
  258. package/dist/index.esm59.js +9 -30
  259. package/dist/index.esm59.js.map +1 -1
  260. package/dist/index.esm60.js +7 -41
  261. package/dist/index.esm60.js.map +1 -1
  262. package/dist/index.esm61.js +8 -39
  263. package/dist/index.esm61.js.map +1 -1
  264. package/dist/index.esm62.js +8 -28
  265. package/dist/index.esm62.js.map +1 -1
  266. package/dist/index.esm63.js +85 -17
  267. package/dist/index.esm63.js.map +1 -1
  268. package/dist/index.esm64.js +35 -16
  269. package/dist/index.esm64.js.map +1 -1
  270. package/dist/index.esm65.js +120 -5
  271. package/dist/index.esm65.js.map +1 -1
  272. package/dist/index.esm66.js +47 -59
  273. package/dist/index.esm66.js.map +1 -1
  274. package/dist/index.esm67.js +11 -85
  275. package/dist/index.esm67.js.map +1 -1
  276. package/dist/index.esm68.js +5 -34
  277. package/dist/index.esm68.js.map +1 -1
  278. package/dist/index.esm69.js +41 -120
  279. package/dist/index.esm69.js.map +1 -1
  280. package/dist/index.esm70.js +8 -40
  281. package/dist/index.esm70.js.map +1 -1
  282. package/dist/index.esm71.js +28 -16
  283. package/dist/index.esm71.js.map +1 -1
  284. package/dist/index.esm72.js +58 -13
  285. package/dist/index.esm72.js.map +1 -1
  286. package/dist/index.esm73.js +16 -87
  287. package/dist/index.esm73.js.map +1 -1
  288. package/dist/index.esm86.js +1 -1
  289. package/dist/index.esm9.js +2 -2
  290. package/dist/server.cjs.js +1 -1
  291. package/dist/server.cjs.js.map +1 -1
  292. package/dist/server.esm.js +2 -2
  293. package/dist/server.esm.js.map +1 -1
  294. package/package.json +1 -1
@@ -1,42 +1,35 @@
1
1
  "use client";
2
- import { siblingAfter as m, siblingBefore as i } from "./index.esm453.js";
3
- import { closing as r } from "./index.esm442.js";
4
- import { omission as c } from "./index.esm454.js";
5
- import { whitespace as l } from "./index.esm455.js";
6
- const b = c({
7
- body: u,
8
- colgroup: g,
9
- head: f,
10
- html: s,
11
- tbody: d
12
- });
13
- function s(o) {
14
- const e = m(o, -1);
15
- return !e || e.type !== "comment";
16
- }
17
- function f(o) {
18
- const e = /* @__PURE__ */ new Set();
19
- for (const t of o.children)
20
- if (t.type === "element" && (t.tagName === "base" || t.tagName === "title")) {
21
- if (e.has(t.tagName)) return !1;
22
- e.add(t.tagName);
2
+ import { DefinedInfo as a } from "./index.esm444.js";
3
+ import { Info as p } from "./index.esm445.js";
4
+ import { normalize as f } from "./index.esm446.js";
5
+ const l = /[A-Z]/g, s = /-[a-z]/g, d = /^data[-\w.:]+$/i;
6
+ function y(r, t) {
7
+ const n = f(t);
8
+ let i = t, c = p;
9
+ if (n in r.normal)
10
+ return r.property[r.normal[n]];
11
+ if (n.length > 4 && n.slice(0, 4) === "data" && d.test(t)) {
12
+ if (t.charAt(4) === "-") {
13
+ const e = t.slice(5).replace(s, h);
14
+ i = "data" + e.charAt(0).toUpperCase() + e.slice(1);
15
+ } else {
16
+ const e = t.slice(4);
17
+ if (!s.test(e)) {
18
+ let o = e.replace(l, m);
19
+ o.charAt(0) !== "-" && (o = "-" + o), t = "data" + o;
20
+ }
23
21
  }
24
- const n = o.children[0];
25
- return !n || n.type === "element";
26
- }
27
- function u(o) {
28
- const e = m(o, -1, !0);
29
- return !e || e.type !== "comment" && !(e.type === "text" && l(e.value.charAt(0))) && !(e.type === "element" && (e.tagName === "meta" || e.tagName === "link" || e.tagName === "script" || e.tagName === "style" || e.tagName === "template"));
22
+ c = a;
23
+ }
24
+ return new c(i, t);
30
25
  }
31
- function g(o, e, n) {
32
- const t = i(n, e), a = m(o, -1, !0);
33
- return n && t && t.type === "element" && t.tagName === "colgroup" && r(t, n.children.indexOf(t), n) ? !1 : !!(a && a.type === "element" && a.tagName === "col");
26
+ function m(r) {
27
+ return "-" + r.toLowerCase();
34
28
  }
35
- function d(o, e, n) {
36
- const t = i(n, e), a = m(o, -1);
37
- return n && t && t.type === "element" && (t.tagName === "thead" || t.tagName === "tbody") && r(t, n.children.indexOf(t), n) ? !1 : !!(a && a.type === "element" && a.tagName === "tr");
29
+ function h(r) {
30
+ return r.charAt(1).toUpperCase();
38
31
  }
39
32
  export {
40
- b as opening
33
+ y as find
41
34
  };
42
35
  //# sourceMappingURL=index.esm443.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm443.js","sources":["../node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/omission/opening.js"],"sourcesContent":["/**\n * @import {Element, Parents} from 'hast'\n */\n\nimport {whitespace} from 'hast-util-whitespace'\nimport {siblingAfter, siblingBefore} from './util/siblings.js'\nimport {closing} from './closing.js'\nimport {omission} from './omission.js'\n\nexport const opening = omission({\n body,\n colgroup,\n head,\n html,\n tbody\n})\n\n/**\n * Whether to omit `<html>`.\n *\n * @param {Element} node\n * Element.\n * @returns {boolean}\n * Whether the opening tag can be omitted.\n */\nfunction html(node) {\n const head = siblingAfter(node, -1)\n return !head || head.type !== 'comment'\n}\n\n/**\n * Whether to omit `<head>`.\n *\n * @param {Element} node\n * Element.\n * @returns {boolean}\n * Whether the opening tag can be omitted.\n */\nfunction head(node) {\n /** @type {Set<string>} */\n const seen = new Set()\n\n // Whether `srcdoc` or not,\n // make sure the content model at least doesn’t have too many `base`s/`title`s.\n for (const child of node.children) {\n if (\n child.type === 'element' &&\n (child.tagName === 'base' || child.tagName === 'title')\n ) {\n if (seen.has(child.tagName)) return false\n seen.add(child.tagName)\n }\n }\n\n // “May be omitted if the element is empty,\n // or if the first thing inside the head element is an element.”\n const child = node.children[0]\n return !child || child.type === 'element'\n}\n\n/**\n * Whether to omit `<body>`.\n *\n * @param {Element} node\n * Element.\n * @returns {boolean}\n * Whether the opening tag can be omitted.\n */\nfunction body(node) {\n const head = siblingAfter(node, -1, true)\n\n return (\n !head ||\n (head.type !== 'comment' &&\n !(head.type === 'text' && whitespace(head.value.charAt(0))) &&\n !(\n head.type === 'element' &&\n (head.tagName === 'meta' ||\n head.tagName === 'link' ||\n head.tagName === 'script' ||\n head.tagName === 'style' ||\n head.tagName === 'template')\n ))\n )\n}\n\n/**\n * Whether to omit `<colgroup>`.\n * The spec describes some logic for the opening tag, but it’s easier to\n * implement in the closing tag, to the same effect, so we handle it there\n * instead.\n *\n * @param {Element} node\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the opening tag can be omitted.\n */\nfunction colgroup(node, index, parent) {\n const previous = siblingBefore(parent, index)\n const head = siblingAfter(node, -1, true)\n\n // Previous colgroup was already omitted.\n if (\n parent &&\n previous &&\n previous.type === 'element' &&\n previous.tagName === 'colgroup' &&\n closing(previous, parent.children.indexOf(previous), parent)\n ) {\n return false\n }\n\n return Boolean(head && head.type === 'element' && head.tagName === 'col')\n}\n\n/**\n * Whether to omit `<tbody>`.\n *\n * @param {Element} node\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the opening tag can be omitted.\n */\nfunction tbody(node, index, parent) {\n const previous = siblingBefore(parent, index)\n const head = siblingAfter(node, -1)\n\n // Previous table section was already omitted.\n if (\n parent &&\n previous &&\n previous.type === 'element' &&\n (previous.tagName === 'thead' || previous.tagName === 'tbody') &&\n closing(previous, parent.children.indexOf(previous), parent)\n ) {\n return false\n }\n\n return Boolean(head && head.type === 'element' && head.tagName === 'tr')\n}\n"],"names":["opening","omission","body","colgroup","head","html","tbody","node","siblingAfter","seen","child","whitespace","index","parent","previous","siblingBefore","closing"],"mappings":";;;;;AASY,MAACA,IAAUC,EAAS;AAAA,EAC9B,MAAAC;AAAA,EACA,UAAAC;AAAA,EACA,MAAAC;AAAA,EACA,MAAAC;AAAA,EACA,OAAAC;AACF,CAAC;AAUD,SAASD,EAAKE,GAAM;AAClB,QAAMH,IAAOI,EAAaD,GAAM,EAAE;AAClC,SAAO,CAACH,KAAQA,EAAK,SAAS;AAChC;AAUA,SAASA,EAAKG,GAAM;AAElB,QAAME,IAAO,oBAAI,IAAG;AAIpB,aAAWC,KAASH,EAAK;AACvB,QACEG,EAAM,SAAS,cACdA,EAAM,YAAY,UAAUA,EAAM,YAAY,UAC/C;AACA,UAAID,EAAK,IAAIC,EAAM,OAAO,EAAG,QAAO;AACpC,MAAAD,EAAK,IAAIC,EAAM,OAAO;AAAA,IACxB;AAKF,QAAMA,IAAQH,EAAK,SAAS,CAAC;AAC7B,SAAO,CAACG,KAASA,EAAM,SAAS;AAClC;AAUA,SAASR,EAAKK,GAAM;AAClB,QAAMH,IAAOI,EAAaD,GAAM,IAAI,EAAI;AAExC,SACE,CAACH,KACAA,EAAK,SAAS,aACb,EAAEA,EAAK,SAAS,UAAUO,EAAWP,EAAK,MAAM,OAAO,CAAC,CAAC,MACzD,EACEA,EAAK,SAAS,cACbA,EAAK,YAAY,UAChBA,EAAK,YAAY,UACjBA,EAAK,YAAY,YACjBA,EAAK,YAAY,WACjBA,EAAK,YAAY;AAG3B;AAiBA,SAASD,EAASI,GAAMK,GAAOC,GAAQ;AACrC,QAAMC,IAAWC,EAAcF,GAAQD,CAAK,GACtCR,IAAOI,EAAaD,GAAM,IAAI,EAAI;AAGxC,SACEM,KACAC,KACAA,EAAS,SAAS,aAClBA,EAAS,YAAY,cACrBE,EAAQF,GAAUD,EAAO,SAAS,QAAQC,CAAQ,GAAGD,CAAM,IAEpD,KAGF,GAAQT,KAAQA,EAAK,SAAS,aAAaA,EAAK,YAAY;AACrE;AAcA,SAASE,EAAMC,GAAMK,GAAOC,GAAQ;AAClC,QAAMC,IAAWC,EAAcF,GAAQD,CAAK,GACtCR,IAAOI,EAAaD,GAAM,EAAE;AAGlC,SACEM,KACAC,KACAA,EAAS,SAAS,cACjBA,EAAS,YAAY,WAAWA,EAAS,YAAY,YACtDE,EAAQF,GAAUD,EAAO,SAAS,QAAQC,CAAQ,GAAGD,CAAM,IAEpD,KAGF,GAAQT,KAAQA,EAAK,SAAS,aAAaA,EAAK,YAAY;AACrE;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.esm443.js","sources":["../node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/find.js"],"sourcesContent":["/**\n * @import {Schema} from 'property-information'\n */\n\nimport {DefinedInfo} from './util/defined-info.js'\nimport {Info} from './util/info.js'\nimport {normalize} from './normalize.js'\n\nconst cap = /[A-Z]/g\nconst dash = /-[a-z]/g\nconst valid = /^data[-\\w.:]+$/i\n\n/**\n * Look up info on a property.\n *\n * In most cases the given `schema` contains info on the property.\n * All standard,\n * most legacy,\n * and some non-standard properties are supported.\n * For these cases,\n * the returned `Info` has hints about the value of the property.\n *\n * `name` can also be a valid data attribute or property,\n * in which case an `Info` object with the correctly cased `attribute` and\n * `property` is returned.\n *\n * `name` can be an unknown attribute,\n * in which case an `Info` object with `attribute` and `property` set to the\n * given name is returned.\n * It is not recommended to provide unsupported legacy or recently specced\n * properties.\n *\n *\n * @param {Schema} schema\n * Schema;\n * either the `html` or `svg` export.\n * @param {string} value\n * An attribute-like or property-like name;\n * it will be passed through `normalize` to hopefully find the correct info.\n * @returns {Info}\n * Info.\n */\nexport function find(schema, value) {\n const normal = normalize(value)\n let property = value\n let Type = Info\n\n if (normal in schema.normal) {\n return schema.property[schema.normal[normal]]\n }\n\n if (normal.length > 4 && normal.slice(0, 4) === 'data' && valid.test(value)) {\n // Attribute or property.\n if (value.charAt(4) === '-') {\n // Turn it into a property.\n const rest = value.slice(5).replace(dash, camelcase)\n property = 'data' + rest.charAt(0).toUpperCase() + rest.slice(1)\n } else {\n // Turn it into an attribute.\n const rest = value.slice(4)\n\n if (!dash.test(rest)) {\n let dashes = rest.replace(cap, kebab)\n\n if (dashes.charAt(0) !== '-') {\n dashes = '-' + dashes\n }\n\n value = 'data' + dashes\n }\n }\n\n Type = DefinedInfo\n }\n\n return new Type(property, value)\n}\n\n/**\n * @param {string} $0\n * Value.\n * @returns {string}\n * Kebab.\n */\nfunction kebab($0) {\n return '-' + $0.toLowerCase()\n}\n\n/**\n * @param {string} $0\n * Value.\n * @returns {string}\n * Camel.\n */\nfunction camelcase($0) {\n return $0.charAt(1).toUpperCase()\n}\n"],"names":["cap","dash","valid","find","schema","value","normal","normalize","property","Type","Info","rest","camelcase","dashes","kebab","DefinedInfo","$0"],"mappings":";;;;AAQA,MAAMA,IAAM,UACNC,IAAO,WACPC,IAAQ;AAgCP,SAASC,EAAKC,GAAQC,GAAO;AAClC,QAAMC,IAASC,EAAUF,CAAK;AAC9B,MAAIG,IAAWH,GACXI,IAAOC;AAEX,MAAIJ,KAAUF,EAAO;AACnB,WAAOA,EAAO,SAASA,EAAO,OAAOE,CAAM,CAAC;AAG9C,MAAIA,EAAO,SAAS,KAAKA,EAAO,MAAM,GAAG,CAAC,MAAM,UAAUJ,EAAM,KAAKG,CAAK,GAAG;AAE3E,QAAIA,EAAM,OAAO,CAAC,MAAM,KAAK;AAE3B,YAAMM,IAAON,EAAM,MAAM,CAAC,EAAE,QAAQJ,GAAMW,CAAS;AACnD,MAAAJ,IAAW,SAASG,EAAK,OAAO,CAAC,EAAE,YAAW,IAAKA,EAAK,MAAM,CAAC;AAAA,IACjE,OAAO;AAEL,YAAMA,IAAON,EAAM,MAAM,CAAC;AAE1B,UAAI,CAACJ,EAAK,KAAKU,CAAI,GAAG;AACpB,YAAIE,IAASF,EAAK,QAAQX,GAAKc,CAAK;AAEpC,QAAID,EAAO,OAAO,CAAC,MAAM,QACvBA,IAAS,MAAMA,IAGjBR,IAAQ,SAASQ;AAAA,MACnB;AAAA,IACF;AAEA,IAAAJ,IAAOM;AAAA,EACT;AAEA,SAAO,IAAIN,EAAKD,GAAUH,CAAK;AACjC;AAQA,SAASS,EAAME,GAAI;AACjB,SAAO,MAAMA,EAAG,YAAW;AAC7B;AAQA,SAASJ,EAAUI,GAAI;AACrB,SAAOA,EAAG,OAAO,CAAC,EAAE,YAAW;AACjC;","x_google_ignoreList":[0]}
@@ -1,35 +1,38 @@
1
1
  "use client";
2
- import { DefinedInfo as a } from "./index.esm450.js";
3
- import { Info as p } from "./index.esm451.js";
4
- import { normalize as f } from "./index.esm452.js";
5
- const l = /[A-Z]/g, s = /-[a-z]/g, d = /^data[-\w.:]+$/i;
6
- function y(r, t) {
7
- const n = f(t);
8
- let i = t, c = p;
9
- if (n in r.normal)
10
- return r.property[r.normal[n]];
11
- if (n.length > 4 && n.slice(0, 4) === "data" && d.test(t)) {
12
- if (t.charAt(4) === "-") {
13
- const e = t.slice(5).replace(s, h);
14
- i = "data" + e.charAt(0).toUpperCase() + e.slice(1);
15
- } else {
16
- const e = t.slice(4);
17
- if (!s.test(e)) {
18
- let o = e.replace(l, m);
19
- o.charAt(0) !== "-" && (o = "-" + o), t = "data" + o;
2
+ import { Info as h } from "./index.esm445.js";
3
+ import * as s from "./index.esm440.js";
4
+ const n = (
5
+ /** @type {ReadonlyArray<keyof typeof types>} */
6
+ Object.keys(s)
7
+ );
8
+ class d extends h {
9
+ /**
10
+ * @constructor
11
+ * @param {string} property
12
+ * Property.
13
+ * @param {string} attribute
14
+ * Attribute.
15
+ * @param {number | null | undefined} [mask]
16
+ * Mask.
17
+ * @param {Space | undefined} [space]
18
+ * Space.
19
+ * @returns
20
+ * Info.
21
+ */
22
+ constructor(t, e, i, p) {
23
+ let o = -1;
24
+ if (super(t, e), f(this, "space", p), typeof i == "number")
25
+ for (; ++o < n.length; ) {
26
+ const r = n[o];
27
+ f(this, n[o], (i & s[r]) === s[r]);
20
28
  }
21
- }
22
- c = a;
23
29
  }
24
- return new c(i, t);
25
30
  }
26
- function m(r) {
27
- return "-" + r.toLowerCase();
28
- }
29
- function h(r) {
30
- return r.charAt(1).toUpperCase();
31
+ d.prototype.defined = !0;
32
+ function f(c, t, e) {
33
+ e && (c[t] = e);
31
34
  }
32
35
  export {
33
- y as find
36
+ d as DefinedInfo
34
37
  };
35
38
  //# sourceMappingURL=index.esm444.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm444.js","sources":["../node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/find.js"],"sourcesContent":["/**\n * @import {Schema} from 'property-information'\n */\n\nimport {DefinedInfo} from './util/defined-info.js'\nimport {Info} from './util/info.js'\nimport {normalize} from './normalize.js'\n\nconst cap = /[A-Z]/g\nconst dash = /-[a-z]/g\nconst valid = /^data[-\\w.:]+$/i\n\n/**\n * Look up info on a property.\n *\n * In most cases the given `schema` contains info on the property.\n * All standard,\n * most legacy,\n * and some non-standard properties are supported.\n * For these cases,\n * the returned `Info` has hints about the value of the property.\n *\n * `name` can also be a valid data attribute or property,\n * in which case an `Info` object with the correctly cased `attribute` and\n * `property` is returned.\n *\n * `name` can be an unknown attribute,\n * in which case an `Info` object with `attribute` and `property` set to the\n * given name is returned.\n * It is not recommended to provide unsupported legacy or recently specced\n * properties.\n *\n *\n * @param {Schema} schema\n * Schema;\n * either the `html` or `svg` export.\n * @param {string} value\n * An attribute-like or property-like name;\n * it will be passed through `normalize` to hopefully find the correct info.\n * @returns {Info}\n * Info.\n */\nexport function find(schema, value) {\n const normal = normalize(value)\n let property = value\n let Type = Info\n\n if (normal in schema.normal) {\n return schema.property[schema.normal[normal]]\n }\n\n if (normal.length > 4 && normal.slice(0, 4) === 'data' && valid.test(value)) {\n // Attribute or property.\n if (value.charAt(4) === '-') {\n // Turn it into a property.\n const rest = value.slice(5).replace(dash, camelcase)\n property = 'data' + rest.charAt(0).toUpperCase() + rest.slice(1)\n } else {\n // Turn it into an attribute.\n const rest = value.slice(4)\n\n if (!dash.test(rest)) {\n let dashes = rest.replace(cap, kebab)\n\n if (dashes.charAt(0) !== '-') {\n dashes = '-' + dashes\n }\n\n value = 'data' + dashes\n }\n }\n\n Type = DefinedInfo\n }\n\n return new Type(property, value)\n}\n\n/**\n * @param {string} $0\n * Value.\n * @returns {string}\n * Kebab.\n */\nfunction kebab($0) {\n return '-' + $0.toLowerCase()\n}\n\n/**\n * @param {string} $0\n * Value.\n * @returns {string}\n * Camel.\n */\nfunction camelcase($0) {\n return $0.charAt(1).toUpperCase()\n}\n"],"names":["cap","dash","valid","find","schema","value","normal","normalize","property","Type","Info","rest","camelcase","dashes","kebab","DefinedInfo","$0"],"mappings":";;;;AAQA,MAAMA,IAAM,UACNC,IAAO,WACPC,IAAQ;AAgCP,SAASC,EAAKC,GAAQC,GAAO;AAClC,QAAMC,IAASC,EAAUF,CAAK;AAC9B,MAAIG,IAAWH,GACXI,IAAOC;AAEX,MAAIJ,KAAUF,EAAO;AACnB,WAAOA,EAAO,SAASA,EAAO,OAAOE,CAAM,CAAC;AAG9C,MAAIA,EAAO,SAAS,KAAKA,EAAO,MAAM,GAAG,CAAC,MAAM,UAAUJ,EAAM,KAAKG,CAAK,GAAG;AAE3E,QAAIA,EAAM,OAAO,CAAC,MAAM,KAAK;AAE3B,YAAMM,IAAON,EAAM,MAAM,CAAC,EAAE,QAAQJ,GAAMW,CAAS;AACnD,MAAAJ,IAAW,SAASG,EAAK,OAAO,CAAC,EAAE,YAAW,IAAKA,EAAK,MAAM,CAAC;AAAA,IACjE,OAAO;AAEL,YAAMA,IAAON,EAAM,MAAM,CAAC;AAE1B,UAAI,CAACJ,EAAK,KAAKU,CAAI,GAAG;AACpB,YAAIE,IAASF,EAAK,QAAQX,GAAKc,CAAK;AAEpC,QAAID,EAAO,OAAO,CAAC,MAAM,QACvBA,IAAS,MAAMA,IAGjBR,IAAQ,SAASQ;AAAA,MACnB;AAAA,IACF;AAEA,IAAAJ,IAAOM;AAAA,EACT;AAEA,SAAO,IAAIN,EAAKD,GAAUH,CAAK;AACjC;AAQA,SAASS,EAAME,GAAI;AACjB,SAAO,MAAMA,EAAG,YAAW;AAC7B;AAQA,SAASJ,EAAUI,GAAI;AACrB,SAAOA,EAAG,OAAO,CAAC,EAAE,YAAW;AACjC;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.esm444.js","sources":["../node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/defined-info.js"],"sourcesContent":["/**\n * @import {Space} from 'property-information'\n */\n\nimport {Info} from './info.js'\nimport * as types from './types.js'\n\nconst checks = /** @type {ReadonlyArray<keyof typeof types>} */ (\n Object.keys(types)\n)\n\nexport class DefinedInfo extends Info {\n /**\n * @constructor\n * @param {string} property\n * Property.\n * @param {string} attribute\n * Attribute.\n * @param {number | null | undefined} [mask]\n * Mask.\n * @param {Space | undefined} [space]\n * Space.\n * @returns\n * Info.\n */\n constructor(property, attribute, mask, space) {\n let index = -1\n\n super(property, attribute)\n\n mark(this, 'space', space)\n\n if (typeof mask === 'number') {\n while (++index < checks.length) {\n const check = checks[index]\n mark(this, checks[index], (mask & types[check]) === types[check])\n }\n }\n }\n}\n\nDefinedInfo.prototype.defined = true\n\n/**\n * @template {keyof DefinedInfo} Key\n * Key type.\n * @param {DefinedInfo} values\n * Info.\n * @param {Key} key\n * Key.\n * @param {DefinedInfo[Key]} value\n * Value.\n * @returns {undefined}\n * Nothing.\n */\nfunction mark(values, key, value) {\n if (value) {\n values[key] = value\n }\n}\n"],"names":["checks","types","DefinedInfo","Info","property","attribute","mask","space","index","mark","check","values","key","value"],"mappings":";;;AAOA,MAAMA;AAAA;AAAA,EACJ,OAAO,KAAKC,CAAK;AAAA;AAGZ,MAAMC,UAAoBC,EAAK;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAcpC,YAAYC,GAAUC,GAAWC,GAAMC,GAAO;AAC5C,QAAIC,IAAQ;AAMZ,QAJA,MAAMJ,GAAUC,CAAS,GAEzBI,EAAK,MAAM,SAASF,CAAK,GAErB,OAAOD,KAAS;AAClB,aAAO,EAAEE,IAAQR,EAAO,UAAQ;AAC9B,cAAMU,IAAQV,EAAOQ,CAAK;AAC1B,QAAAC,EAAK,MAAMT,EAAOQ,CAAK,IAAIF,IAAOL,EAAMS,CAAK,OAAOT,EAAMS,CAAK,CAAC;AAAA,MAClE;AAAA,EAEJ;AACF;AAEAR,EAAY,UAAU,UAAU;AAchC,SAASO,EAAKE,GAAQC,GAAKC,GAAO;AAChC,EAAIA,MACFF,EAAOC,CAAG,IAAIC;AAElB;","x_google_ignoreList":[0]}
@@ -1,23 +1,30 @@
1
1
  "use client";
2
- class t {
2
+ class e {
3
3
  /**
4
- * @param {SchemaType['property']} property
4
+ * @param {string} property
5
5
  * Property.
6
- * @param {SchemaType['normal']} normal
7
- * Normal.
8
- * @param {Space | undefined} [space]
9
- * Space.
6
+ * @param {string} attribute
7
+ * Attribute.
10
8
  * @returns
11
- * Schema.
9
+ * Info.
12
10
  */
13
- constructor(e, p, o) {
14
- this.normal = p, this.property = e, o && (this.space = o);
11
+ constructor(t, o) {
12
+ this.attribute = o, this.property = t;
15
13
  }
16
14
  }
17
- t.prototype.normal = {};
18
- t.prototype.property = {};
19
- t.prototype.space = void 0;
15
+ e.prototype.attribute = "";
16
+ e.prototype.booleanish = !1;
17
+ e.prototype.boolean = !1;
18
+ e.prototype.commaOrSpaceSeparated = !1;
19
+ e.prototype.commaSeparated = !1;
20
+ e.prototype.defined = !1;
21
+ e.prototype.mustUseProperty = !1;
22
+ e.prototype.number = !1;
23
+ e.prototype.overloadedBoolean = !1;
24
+ e.prototype.property = "";
25
+ e.prototype.spaceSeparated = !1;
26
+ e.prototype.space = void 0;
20
27
  export {
21
- t as Schema
28
+ e as Info
22
29
  };
23
30
  //# sourceMappingURL=index.esm445.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm445.js","sources":["../node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/schema.js"],"sourcesContent":["/**\n * @import {Schema as SchemaType, Space} from 'property-information'\n */\n\n/** @type {SchemaType} */\nexport class Schema {\n /**\n * @param {SchemaType['property']} property\n * Property.\n * @param {SchemaType['normal']} normal\n * Normal.\n * @param {Space | undefined} [space]\n * Space.\n * @returns\n * Schema.\n */\n constructor(property, normal, space) {\n this.normal = normal\n this.property = property\n\n if (space) {\n this.space = space\n }\n }\n}\n\nSchema.prototype.normal = {}\nSchema.prototype.property = {}\nSchema.prototype.space = undefined\n"],"names":["Schema","property","normal","space"],"mappings":";AAKO,MAAMA,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAWlB,YAAYC,GAAUC,GAAQC,GAAO;AACnC,SAAK,SAASD,GACd,KAAK,WAAWD,GAEZE,MACF,KAAK,QAAQA;AAAA,EAEjB;AACF;AAEAH,EAAO,UAAU,SAAS,CAAA;AAC1BA,EAAO,UAAU,WAAW,CAAA;AAC5BA,EAAO,UAAU,QAAQ;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.esm445.js","sources":["../node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/info.js"],"sourcesContent":["/**\n * @import {Info as InfoType} from 'property-information'\n */\n\n/** @type {InfoType} */\nexport class Info {\n /**\n * @param {string} property\n * Property.\n * @param {string} attribute\n * Attribute.\n * @returns\n * Info.\n */\n constructor(property, attribute) {\n this.attribute = attribute\n this.property = property\n }\n}\n\nInfo.prototype.attribute = ''\nInfo.prototype.booleanish = false\nInfo.prototype.boolean = false\nInfo.prototype.commaOrSpaceSeparated = false\nInfo.prototype.commaSeparated = false\nInfo.prototype.defined = false\nInfo.prototype.mustUseProperty = false\nInfo.prototype.number = false\nInfo.prototype.overloadedBoolean = false\nInfo.prototype.property = ''\nInfo.prototype.spaceSeparated = false\nInfo.prototype.space = undefined\n"],"names":["Info","property","attribute"],"mappings":";AAKO,MAAMA,EAAK;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAShB,YAAYC,GAAUC,GAAW;AAC/B,SAAK,YAAYA,GACjB,KAAK,WAAWD;AAAA,EAClB;AACF;AAEAD,EAAK,UAAU,YAAY;AAC3BA,EAAK,UAAU,aAAa;AAC5BA,EAAK,UAAU,UAAU;AACzBA,EAAK,UAAU,wBAAwB;AACvCA,EAAK,UAAU,iBAAiB;AAChCA,EAAK,UAAU,UAAU;AACzBA,EAAK,UAAU,kBAAkB;AACjCA,EAAK,UAAU,SAAS;AACxBA,EAAK,UAAU,oBAAoB;AACnCA,EAAK,UAAU,WAAW;AAC1BA,EAAK,UAAU,iBAAiB;AAChCA,EAAK,UAAU,QAAQ;","x_google_ignoreList":[0]}
@@ -1,21 +1,8 @@
1
1
  "use client";
2
- import { normalize as p } from "./index.esm452.js";
3
- import { DefinedInfo as c } from "./index.esm450.js";
4
- import { Schema as u } from "./index.esm445.js";
5
- function l(r) {
6
- const o = {}, t = {};
7
- for (const [e, m] of Object.entries(r.properties)) {
8
- const s = new c(
9
- e,
10
- r.transform(r.attributes || {}, e),
11
- m,
12
- r.space
13
- );
14
- r.mustUseProperty && r.mustUseProperty.includes(e) && (s.mustUseProperty = !0), o[e] = s, t[p(e)] = e, t[p(s.attribute)] = e;
15
- }
16
- return new u(o, t, r.space);
2
+ function n(e) {
3
+ return e.toLowerCase();
17
4
  }
18
5
  export {
19
- l as create
6
+ n as normalize
20
7
  };
21
8
  //# sourceMappingURL=index.esm446.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm446.js","sources":["../node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/create.js"],"sourcesContent":["/**\n * @import {Info, Space} from 'property-information'\n */\n\n/**\n * @typedef Definition\n * Definition of a schema.\n * @property {Record<string, string> | undefined} [attributes]\n * Normalzed names to special attribute case.\n * @property {ReadonlyArray<string> | undefined} [mustUseProperty]\n * Normalized names that must be set as properties.\n * @property {Record<string, number | null>} properties\n * Property names to their types.\n * @property {Space | undefined} [space]\n * Space.\n * @property {Transform} transform\n * Transform a property name.\n */\n\n/**\n * @callback Transform\n * Transform.\n * @param {Record<string, string>} attributes\n * Attributes.\n * @param {string} property\n * Property.\n * @returns {string}\n * Attribute.\n */\n\nimport {normalize} from '../normalize.js'\nimport {DefinedInfo} from './defined-info.js'\nimport {Schema} from './schema.js'\n\n/**\n * @param {Definition} definition\n * Definition.\n * @returns {Schema}\n * Schema.\n */\nexport function create(definition) {\n /** @type {Record<string, Info>} */\n const properties = {}\n /** @type {Record<string, string>} */\n const normals = {}\n\n for (const [property, value] of Object.entries(definition.properties)) {\n const info = new DefinedInfo(\n property,\n definition.transform(definition.attributes || {}, property),\n value,\n definition.space\n )\n\n if (\n definition.mustUseProperty &&\n definition.mustUseProperty.includes(property)\n ) {\n info.mustUseProperty = true\n }\n\n properties[property] = info\n\n normals[normalize(property)] = property\n normals[normalize(info.attribute)] = property\n }\n\n return new Schema(properties, normals, definition.space)\n}\n"],"names":["create","definition","properties","normals","property","value","info","DefinedInfo","normalize","Schema"],"mappings":";;;;AAwCO,SAASA,EAAOC,GAAY;AAEjC,QAAMC,IAAa,CAAA,GAEbC,IAAU,CAAA;AAEhB,aAAW,CAACC,GAAUC,CAAK,KAAK,OAAO,QAAQJ,EAAW,UAAU,GAAG;AACrE,UAAMK,IAAO,IAAIC;AAAA,MACfH;AAAA,MACAH,EAAW,UAAUA,EAAW,cAAc,CAAA,GAAIG,CAAQ;AAAA,MAC1DC;AAAA,MACAJ,EAAW;AAAA,IACjB;AAEI,IACEA,EAAW,mBACXA,EAAW,gBAAgB,SAASG,CAAQ,MAE5CE,EAAK,kBAAkB,KAGzBJ,EAAWE,CAAQ,IAAIE,GAEvBH,EAAQK,EAAUJ,CAAQ,CAAC,IAAIA,GAC/BD,EAAQK,EAAUF,EAAK,SAAS,CAAC,IAAIF;AAAA,EACvC;AAEA,SAAO,IAAIK,EAAOP,GAAYC,GAASF,EAAW,KAAK;AACzD;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.esm446.js","sources":["../node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/normalize.js"],"sourcesContent":["/**\n * Get the cleaned case insensitive form of an attribute or property.\n *\n * @param {string} value\n * An attribute-like or property-like name.\n * @returns {string}\n * Value that can be used to look up the properly cased property on a\n * `Schema`.\n */\nexport function normalize(value) {\n return value.toLowerCase()\n}\n"],"names":["normalize","value"],"mappings":";AASO,SAASA,EAAUC,GAAO;AAC/B,SAAOA,EAAM,YAAW;AAC1B;","x_google_ignoreList":[0]}
@@ -1,16 +1,10 @@
1
1
  "use client";
2
- let o = 0;
3
- const n = e(), t = e(), a = e(), c = e(), r = e(), s = e(), p = e();
4
- function e() {
5
- return 2 ** ++o;
2
+ import { core as i } from "./index.esm456.js";
3
+ import { formatSmart as o } from "./index.esm457.js";
4
+ function n(t, r) {
5
+ return i(t, Object.assign({ format: o }, r));
6
6
  }
7
7
  export {
8
- n as boolean,
9
- t as booleanish,
10
- p as commaOrSpaceSeparated,
11
- s as commaSeparated,
12
- c as number,
13
- a as overloadedBoolean,
14
- r as spaceSeparated
8
+ n as stringifyEntities
15
9
  };
16
10
  //# sourceMappingURL=index.esm447.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm447.js","sources":["../node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/types.js"],"sourcesContent":["let powers = 0\n\nexport const boolean = increment()\nexport const booleanish = increment()\nexport const overloadedBoolean = increment()\nexport const number = increment()\nexport const spaceSeparated = increment()\nexport const commaSeparated = increment()\nexport const commaOrSpaceSeparated = increment()\n\nfunction increment() {\n return 2 ** ++powers\n}\n"],"names":["powers","boolean","increment","booleanish","overloadedBoolean","number","spaceSeparated","commaSeparated","commaOrSpaceSeparated"],"mappings":";AAAA,IAAIA,IAAS;AAED,MAACC,IAAUC,EAAS,GACnBC,IAAaD,EAAS,GACtBE,IAAoBF,EAAS,GAC7BG,IAASH,EAAS,GAClBI,IAAiBJ,EAAS,GAC1BK,IAAiBL,EAAS,GAC1BM,IAAwBN,EAAS;AAE9C,SAASA,IAAY;AACnB,SAAO,KAAK,EAAEF;AAChB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.esm447.js","sources":["../node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/index.js"],"sourcesContent":["/**\n * @typedef {import('./core.js').CoreOptions & import('./util/format-smart.js').FormatSmartOptions} Options\n * @typedef {import('./core.js').CoreOptions} LightOptions\n */\n\nimport {core} from './core.js'\nimport {formatSmart} from './util/format-smart.js'\nimport {formatBasic} from './util/format-basic.js'\n\n/**\n * Encode special characters in `value`.\n *\n * @param {string} value\n * Value to encode.\n * @param {Options} [options]\n * Configuration.\n * @returns {string}\n * Encoded value.\n */\nexport function stringifyEntities(value, options) {\n return core(value, Object.assign({format: formatSmart}, options))\n}\n\n/**\n * Encode special characters in `value` as hexadecimals.\n *\n * @param {string} value\n * Value to encode.\n * @param {LightOptions} [options]\n * Configuration.\n * @returns {string}\n * Encoded value.\n */\nexport function stringifyEntitiesLight(value, options) {\n return core(value, Object.assign({format: formatBasic}, options))\n}\n"],"names":["stringifyEntities","value","options","core","formatSmart"],"mappings":";;;AAmBO,SAASA,EAAkBC,GAAOC,GAAS;AAChD,SAAOC,EAAKF,GAAO,OAAO,OAAO,EAAC,QAAQG,EAAW,GAAGF,CAAO,CAAC;AAClE;","x_google_ignoreList":[0]}
@@ -1,9 +1,14 @@
1
1
  "use client";
2
- import { caseSensitiveTransform as n } from "./index.esm449.js";
3
- function o(e, r) {
4
- return n(e, r.toLowerCase());
2
+ function r(o, e) {
3
+ const t = String(o);
4
+ if (typeof e != "string")
5
+ throw new TypeError("Expected character");
6
+ let i = 0, n = t.indexOf(e);
7
+ for (; n !== -1; )
8
+ i++, n = t.indexOf(e, n + e.length);
9
+ return i;
5
10
  }
6
11
  export {
7
- o as caseInsensitiveTransform
12
+ r as ccount
8
13
  };
9
14
  //# sourceMappingURL=index.esm448.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm448.js","sources":["../node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/case-insensitive-transform.js"],"sourcesContent":["import {caseSensitiveTransform} from './case-sensitive-transform.js'\n\n/**\n * @param {Record<string, string>} attributes\n * Attributes.\n * @param {string} property\n * Property.\n * @returns {string}\n * Transformed property.\n */\nexport function caseInsensitiveTransform(attributes, property) {\n return caseSensitiveTransform(attributes, property.toLowerCase())\n}\n"],"names":["caseInsensitiveTransform","attributes","property","caseSensitiveTransform"],"mappings":";;AAUO,SAASA,EAAyBC,GAAYC,GAAU;AAC7D,SAAOC,EAAuBF,GAAYC,EAAS,YAAW,CAAE;AAClE;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.esm448.js","sources":["../node_modules/.pnpm/ccount@2.0.1/node_modules/ccount/index.js"],"sourcesContent":["/**\n * Count how often a character (or substring) is used in a string.\n *\n * @param {string} value\n * Value to search in.\n * @param {string} character\n * Character (or substring) to look for.\n * @return {number}\n * Number of times `character` occurred in `value`.\n */\nexport function ccount(value, character) {\n const source = String(value)\n\n if (typeof character !== 'string') {\n throw new TypeError('Expected character')\n }\n\n let count = 0\n let index = source.indexOf(character)\n\n while (index !== -1) {\n count++\n index = source.indexOf(character, index + character.length)\n }\n\n return count\n}\n"],"names":["ccount","value","character","source","count","index"],"mappings":";AAUO,SAASA,EAAOC,GAAOC,GAAW;AACvC,QAAMC,IAAS,OAAOF,CAAK;AAE3B,MAAI,OAAOC,KAAc;AACvB,UAAM,IAAI,UAAU,oBAAoB;AAG1C,MAAIE,IAAQ,GACRC,IAAQF,EAAO,QAAQD,CAAS;AAEpC,SAAOG,MAAU;AACf,IAAAD,KACAC,IAAQF,EAAO,QAAQD,GAAWG,IAAQH,EAAU,MAAM;AAG5D,SAAOE;AACT;","x_google_ignoreList":[0]}
@@ -1,8 +1,11 @@
1
1
  "use client";
2
- function c(e, n) {
3
- return n in e ? e[n] : n;
2
+ function o(t, i) {
3
+ const n = i || {};
4
+ return (t[t.length - 1] === "" ? [...t, ""] : t).join(
5
+ (n.padRight ? " " : "") + "," + (n.padLeft === !1 ? "" : " ")
6
+ ).trim();
4
7
  }
5
8
  export {
6
- c as caseSensitiveTransform
9
+ o as stringify
7
10
  };
8
11
  //# sourceMappingURL=index.esm449.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm449.js","sources":["../node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/case-sensitive-transform.js"],"sourcesContent":["/**\n * @param {Record<string, string>} attributes\n * Attributes.\n * @param {string} attribute\n * Attribute.\n * @returns {string}\n * Transformed attribute.\n */\nexport function caseSensitiveTransform(attributes, attribute) {\n return attribute in attributes ? attributes[attribute] : attribute\n}\n"],"names":["caseSensitiveTransform","attributes","attribute"],"mappings":";AAQO,SAASA,EAAuBC,GAAYC,GAAW;AAC5D,SAAOA,KAAaD,IAAaA,EAAWC,CAAS,IAAIA;AAC3D;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.esm449.js","sources":["../node_modules/.pnpm/comma-separated-tokens@2.0.3/node_modules/comma-separated-tokens/index.js"],"sourcesContent":["/**\n * @typedef Options\n * Configuration for `stringify`.\n * @property {boolean} [padLeft=true]\n * Whether to pad a space before a token.\n * @property {boolean} [padRight=false]\n * Whether to pad a space after a token.\n */\n\n/**\n * @typedef {Options} StringifyOptions\n * Please use `StringifyOptions` instead.\n */\n\n/**\n * Parse comma-separated tokens to an array.\n *\n * @param {string} value\n * Comma-separated tokens.\n * @returns {Array<string>}\n * List of tokens.\n */\nexport function parse(value) {\n /** @type {Array<string>} */\n const tokens = []\n const input = String(value || '')\n let index = input.indexOf(',')\n let start = 0\n /** @type {boolean} */\n let end = false\n\n while (!end) {\n if (index === -1) {\n index = input.length\n end = true\n }\n\n const token = input.slice(start, index).trim()\n\n if (token || !end) {\n tokens.push(token)\n }\n\n start = index + 1\n index = input.indexOf(',', start)\n }\n\n return tokens\n}\n\n/**\n * Serialize an array of strings or numbers to comma-separated tokens.\n *\n * @param {Array<string|number>} values\n * List of tokens.\n * @param {Options} [options]\n * Configuration for `stringify` (optional).\n * @returns {string}\n * Comma-separated tokens.\n */\nexport function stringify(values, options) {\n const settings = options || {}\n\n // Ensure the last empty entry is seen.\n const input = values[values.length - 1] === '' ? [...values, ''] : values\n\n return input\n .join(\n (settings.padRight ? ' ' : '') +\n ',' +\n (settings.padLeft === false ? '' : ' ')\n )\n .trim()\n}\n"],"names":["stringify","values","options","settings"],"mappings":";AA4DO,SAASA,EAAUC,GAAQC,GAAS;AACzC,QAAMC,IAAWD,KAAW,CAAA;AAK5B,UAFcD,EAAOA,EAAO,SAAS,CAAC,MAAM,KAAK,CAAC,GAAGA,GAAQ,EAAE,IAAIA,GAGhE;AAAA,KACEE,EAAS,WAAW,MAAM,MACzB,OACCA,EAAS,YAAY,KAAQ,KAAK;AAAA,EAC3C,EACK,KAAI;AACT;","x_google_ignoreList":[0]}
@@ -1,13 +1,33 @@
1
1
  "use client";
2
- const t = "_quote_10dbe_1", e = "_text_10dbe_9", o = "_author_10dbe_13", _ = {
3
- quote: t,
4
- text: e,
5
- author: o
2
+ const r = "_wrapper_1xv65_1", p = "_wrapper--error_1xv65_22", _ = "_wrapper--disabled_1xv65_31", e = "_input_1xv65_37", a = "_iconStart_1xv65_62", w = "_iconEnd_1xv65_63", t = "_wrapper--sm_1xv65_72", n = "_wrapper--md_1xv65_82", o = "_wrapper--lg_1xv65_92", s = "_wrapper--fullWidth_1xv65_102", d = {
3
+ wrapper: r,
4
+ "wrapper--error": "_wrapper--error_1xv65_22",
5
+ wrapperError: p,
6
+ "wrapper--disabled": "_wrapper--disabled_1xv65_31",
7
+ wrapperDisabled: _,
8
+ input: e,
9
+ iconStart: a,
10
+ iconEnd: w,
11
+ "wrapper--sm": "_wrapper--sm_1xv65_72",
12
+ wrapperSm: t,
13
+ "wrapper--md": "_wrapper--md_1xv65_82",
14
+ wrapperMd: n,
15
+ "wrapper--lg": "_wrapper--lg_1xv65_92",
16
+ wrapperLg: o,
17
+ "wrapper--fullWidth": "_wrapper--fullWidth_1xv65_102",
18
+ wrapperFullWidth: s
6
19
  };
7
20
  export {
8
- o as author,
9
- _ as default,
10
- t as quote,
11
- e as text
21
+ d as default,
22
+ w as iconEnd,
23
+ a as iconStart,
24
+ e as input,
25
+ r as wrapper,
26
+ _ as wrapperDisabled,
27
+ p as wrapperError,
28
+ s as wrapperFullWidth,
29
+ o as wrapperLg,
30
+ n as wrapperMd,
31
+ t as wrapperSm
12
32
  };
13
33
  //# sourceMappingURL=index.esm45.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm45.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"index.esm45.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;"}
@@ -1,38 +1,8 @@
1
1
  "use client";
2
- import { Info as h } from "./index.esm451.js";
3
- import * as s from "./index.esm447.js";
4
- const n = (
5
- /** @type {ReadonlyArray<keyof typeof types>} */
6
- Object.keys(s)
7
- );
8
- class d extends h {
9
- /**
10
- * @constructor
11
- * @param {string} property
12
- * Property.
13
- * @param {string} attribute
14
- * Attribute.
15
- * @param {number | null | undefined} [mask]
16
- * Mask.
17
- * @param {Space | undefined} [space]
18
- * Space.
19
- * @returns
20
- * Info.
21
- */
22
- constructor(t, e, i, p) {
23
- let o = -1;
24
- if (super(t, e), f(this, "space", p), typeof i == "number")
25
- for (; ++o < n.length; ) {
26
- const r = n[o];
27
- f(this, n[o], (i & s[r]) === s[r]);
28
- }
29
- }
30
- }
31
- d.prototype.defined = !0;
32
- function f(c, t, e) {
33
- e && (c[t] = e);
2
+ function n(i) {
3
+ return i.join(" ").trim();
34
4
  }
35
5
  export {
36
- d as DefinedInfo
6
+ n as stringify
37
7
  };
38
8
  //# sourceMappingURL=index.esm450.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm450.js","sources":["../node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/defined-info.js"],"sourcesContent":["/**\n * @import {Space} from 'property-information'\n */\n\nimport {Info} from './info.js'\nimport * as types from './types.js'\n\nconst checks = /** @type {ReadonlyArray<keyof typeof types>} */ (\n Object.keys(types)\n)\n\nexport class DefinedInfo extends Info {\n /**\n * @constructor\n * @param {string} property\n * Property.\n * @param {string} attribute\n * Attribute.\n * @param {number | null | undefined} [mask]\n * Mask.\n * @param {Space | undefined} [space]\n * Space.\n * @returns\n * Info.\n */\n constructor(property, attribute, mask, space) {\n let index = -1\n\n super(property, attribute)\n\n mark(this, 'space', space)\n\n if (typeof mask === 'number') {\n while (++index < checks.length) {\n const check = checks[index]\n mark(this, checks[index], (mask & types[check]) === types[check])\n }\n }\n }\n}\n\nDefinedInfo.prototype.defined = true\n\n/**\n * @template {keyof DefinedInfo} Key\n * Key type.\n * @param {DefinedInfo} values\n * Info.\n * @param {Key} key\n * Key.\n * @param {DefinedInfo[Key]} value\n * Value.\n * @returns {undefined}\n * Nothing.\n */\nfunction mark(values, key, value) {\n if (value) {\n values[key] = value\n }\n}\n"],"names":["checks","types","DefinedInfo","Info","property","attribute","mask","space","index","mark","check","values","key","value"],"mappings":";;;AAOA,MAAMA;AAAA;AAAA,EACJ,OAAO,KAAKC,CAAK;AAAA;AAGZ,MAAMC,UAAoBC,EAAK;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAcpC,YAAYC,GAAUC,GAAWC,GAAMC,GAAO;AAC5C,QAAIC,IAAQ;AAMZ,QAJA,MAAMJ,GAAUC,CAAS,GAEzBI,EAAK,MAAM,SAASF,CAAK,GAErB,OAAOD,KAAS;AAClB,aAAO,EAAEE,IAAQR,EAAO,UAAQ;AAC9B,cAAMU,IAAQV,EAAOQ,CAAK;AAC1B,QAAAC,EAAK,MAAMT,EAAOQ,CAAK,IAAIF,IAAOL,EAAMS,CAAK,OAAOT,EAAMS,CAAK,CAAC;AAAA,MAClE;AAAA,EAEJ;AACF;AAEAR,EAAY,UAAU,UAAU;AAchC,SAASO,EAAKE,GAAQC,GAAKC,GAAO;AAChC,EAAIA,MACFF,EAAOC,CAAG,IAAIC;AAElB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.esm450.js","sources":["../node_modules/.pnpm/space-separated-tokens@2.0.2/node_modules/space-separated-tokens/index.js"],"sourcesContent":["/**\n * Parse space-separated tokens to an array of strings.\n *\n * @param {string} value\n * Space-separated tokens.\n * @returns {Array<string>}\n * List of tokens.\n */\nexport function parse(value) {\n const input = String(value || '').trim()\n return input ? input.split(/[ \\t\\n\\r\\f]+/g) : []\n}\n\n/**\n * Serialize an array of strings as space separated-tokens.\n *\n * @param {Array<string|number>} values\n * List of tokens.\n * @returns {string}\n * Space-separated tokens.\n */\nexport function stringify(values) {\n return values.join(' ').trim()\n}\n"],"names":["stringify","values"],"mappings":";AAqBO,SAASA,EAAUC,GAAQ;AAChC,SAAOA,EAAO,KAAK,GAAG,EAAE,KAAI;AAC9B;","x_google_ignoreList":[0]}
@@ -1,30 +1,89 @@
1
1
  "use client";
2
- class e {
3
- /**
4
- * @param {string} property
5
- * Property.
6
- * @param {string} attribute
7
- * Attribute.
8
- * @returns
9
- * Info.
10
- */
11
- constructor(t, o) {
12
- this.attribute = o, this.property = t;
13
- }
14
- }
15
- e.prototype.attribute = "";
16
- e.prototype.booleanish = !1;
17
- e.prototype.boolean = !1;
18
- e.prototype.commaOrSpaceSeparated = !1;
19
- e.prototype.commaSeparated = !1;
20
- e.prototype.defined = !1;
21
- e.prototype.mustUseProperty = !1;
22
- e.prototype.number = !1;
23
- e.prototype.overloadedBoolean = !1;
24
- e.prototype.property = "";
25
- e.prototype.spaceSeparated = !1;
26
- e.prototype.space = void 0;
2
+ import { siblingAfter as n } from "./index.esm453.js";
3
+ import { omission as N } from "./index.esm454.js";
4
+ import { whitespace as c } from "./index.esm455.js";
5
+ const C = N({
6
+ body: u,
7
+ caption: o,
8
+ colgroup: o,
9
+ dd: d,
10
+ dt: s,
11
+ head: o,
12
+ html: i,
13
+ li: p,
14
+ optgroup: f,
15
+ option: y,
16
+ p: l,
17
+ rp: g,
18
+ rt: g,
19
+ tbody: x,
20
+ td: r,
21
+ tfoot: _,
22
+ th: r,
23
+ thead: h,
24
+ tr: b
25
+ });
26
+ function o(m, a, e) {
27
+ const t = n(e, a, !0);
28
+ return !t || t.type !== "comment" && !(t.type === "text" && c(t.value.charAt(0)));
29
+ }
30
+ function i(m, a, e) {
31
+ const t = n(e, a);
32
+ return !t || t.type !== "comment";
33
+ }
34
+ function u(m, a, e) {
35
+ const t = n(e, a);
36
+ return !t || t.type !== "comment";
37
+ }
38
+ function l(m, a, e) {
39
+ const t = n(e, a);
40
+ return t ? t.type === "element" && (t.tagName === "address" || t.tagName === "article" || t.tagName === "aside" || t.tagName === "blockquote" || t.tagName === "details" || t.tagName === "div" || t.tagName === "dl" || t.tagName === "fieldset" || t.tagName === "figcaption" || t.tagName === "figure" || t.tagName === "footer" || t.tagName === "form" || t.tagName === "h1" || t.tagName === "h2" || t.tagName === "h3" || t.tagName === "h4" || t.tagName === "h5" || t.tagName === "h6" || t.tagName === "header" || t.tagName === "hgroup" || t.tagName === "hr" || t.tagName === "main" || t.tagName === "menu" || t.tagName === "nav" || t.tagName === "ol" || t.tagName === "p" || t.tagName === "pre" || t.tagName === "section" || t.tagName === "table" || t.tagName === "ul") : !e || // Confusing parent.
41
+ !(e.type === "element" && (e.tagName === "a" || e.tagName === "audio" || e.tagName === "del" || e.tagName === "ins" || e.tagName === "map" || e.tagName === "noscript" || e.tagName === "video"));
42
+ }
43
+ function p(m, a, e) {
44
+ const t = n(e, a);
45
+ return !t || t.type === "element" && t.tagName === "li";
46
+ }
47
+ function s(m, a, e) {
48
+ const t = n(e, a);
49
+ return !!(t && t.type === "element" && (t.tagName === "dt" || t.tagName === "dd"));
50
+ }
51
+ function d(m, a, e) {
52
+ const t = n(e, a);
53
+ return !t || t.type === "element" && (t.tagName === "dt" || t.tagName === "dd");
54
+ }
55
+ function g(m, a, e) {
56
+ const t = n(e, a);
57
+ return !t || t.type === "element" && (t.tagName === "rp" || t.tagName === "rt");
58
+ }
59
+ function f(m, a, e) {
60
+ const t = n(e, a);
61
+ return !t || t.type === "element" && t.tagName === "optgroup";
62
+ }
63
+ function y(m, a, e) {
64
+ const t = n(e, a);
65
+ return !t || t.type === "element" && (t.tagName === "option" || t.tagName === "optgroup");
66
+ }
67
+ function h(m, a, e) {
68
+ const t = n(e, a);
69
+ return !!(t && t.type === "element" && (t.tagName === "tbody" || t.tagName === "tfoot"));
70
+ }
71
+ function x(m, a, e) {
72
+ const t = n(e, a);
73
+ return !t || t.type === "element" && (t.tagName === "tbody" || t.tagName === "tfoot");
74
+ }
75
+ function _(m, a, e) {
76
+ return !n(e, a);
77
+ }
78
+ function b(m, a, e) {
79
+ const t = n(e, a);
80
+ return !t || t.type === "element" && t.tagName === "tr";
81
+ }
82
+ function r(m, a, e) {
83
+ const t = n(e, a);
84
+ return !t || t.type === "element" && (t.tagName === "td" || t.tagName === "th");
85
+ }
27
86
  export {
28
- e as Info
87
+ C as closing
29
88
  };
30
89
  //# sourceMappingURL=index.esm451.js.map