mada-design-system 0.9.0 → 0.9.1

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 (295) hide show
  1. package/index.cjs112.js +1 -1
  2. package/index.cjs113.js +1 -1
  3. package/index.cjs118.js +1 -1
  4. package/index.cjs175.js +1 -1
  5. package/index.cjs177.js +1 -1
  6. package/index.cjs185.js +1 -1
  7. package/index.cjs186.js +1 -1
  8. package/index.cjs191.js +1 -1
  9. package/index.cjs192.js +1 -1
  10. package/index.cjs193.js +1 -1
  11. package/index.cjs196.js +1 -1
  12. package/index.cjs197.js +1 -1
  13. package/index.cjs198.js +1 -1
  14. package/index.cjs199.js +1 -1
  15. package/index.cjs200.js +1 -1
  16. package/index.cjs201.js +1 -1
  17. package/index.cjs202.js +1 -1
  18. package/index.cjs203.js +1 -1
  19. package/index.cjs205.js +1 -1
  20. package/index.cjs206.js +1 -1
  21. package/index.cjs209.js +1 -1
  22. package/index.cjs221.js +1 -1
  23. package/index.cjs225.js +1 -1
  24. package/index.cjs226.js +1 -1
  25. package/index.cjs227.js +1 -1
  26. package/index.cjs228.js +1 -1
  27. package/index.cjs230.js +1 -1
  28. package/index.cjs231.js +1 -1
  29. package/index.cjs29.js +1 -1
  30. package/index.cjs296.js +1 -1
  31. package/index.cjs297.js +1 -1
  32. package/index.cjs300.js +1 -1
  33. package/index.cjs301.js +1 -1
  34. package/index.cjs302.js +1 -1
  35. package/index.cjs303.js +1 -1
  36. package/index.cjs304.js +1 -1
  37. package/index.cjs306.js +1 -1
  38. package/index.cjs310.js +1 -1
  39. package/index.cjs362.js +1 -1
  40. package/index.cjs363.js +1 -1
  41. package/index.cjs364.js +1 -1
  42. package/index.cjs365.js +1 -15
  43. package/index.cjs366.js +1 -1
  44. package/index.cjs367.js +15 -1
  45. package/index.cjs368.js +1 -1
  46. package/index.cjs369.js +1 -1
  47. package/index.cjs370.js +1 -1
  48. package/index.cjs371.js +1 -1
  49. package/index.cjs372.js +1 -1
  50. package/index.cjs373.js +1 -1
  51. package/index.cjs374.js +1 -1
  52. package/index.cjs375.js +1 -1
  53. package/index.cjs376.js +1 -1
  54. package/index.cjs377.js +1 -1
  55. package/index.cjs378.js +1 -1
  56. package/index.cjs379.js +1 -1
  57. package/index.cjs380.js +1 -1
  58. package/index.cjs382.js +1 -1
  59. package/index.cjs383.js +1 -1
  60. package/index.cjs384.js +3 -1
  61. package/index.cjs385.js +1 -1
  62. package/index.cjs386.js +1 -1
  63. package/index.cjs387.js +1 -3
  64. package/index.cjs388.js +1 -1
  65. package/index.cjs389.js +1 -1
  66. package/index.cjs390.js +1 -1
  67. package/index.cjs391.js +1 -1
  68. package/index.cjs394.js +1 -1
  69. package/index.cjs403.js +1 -1
  70. package/index.cjs404.js +1 -1
  71. package/index.cjs405.js +1 -1
  72. package/index.cjs406.js +1 -1
  73. package/index.cjs407.js +1 -1
  74. package/index.cjs408.js +1 -1
  75. package/index.cjs409.js +1 -1
  76. package/index.cjs410.js +1 -1
  77. package/index.cjs411.js +1 -1
  78. package/index.cjs412.js +1 -1
  79. package/index.cjs413.js +1 -1
  80. package/index.cjs414.js +1 -1
  81. package/index.cjs415.js +1 -1
  82. package/index.cjs416.js +1 -1
  83. package/index.cjs417.js +1 -1
  84. package/index.cjs418.js +1 -1
  85. package/index.cjs419.js +1 -1
  86. package/index.cjs420.js +1 -1
  87. package/index.cjs421.js +1 -1
  88. package/index.cjs422.js +1 -1
  89. package/index.cjs423.js +1 -1
  90. package/index.cjs424.js +1 -1
  91. package/index.cjs425.js +1 -1
  92. package/index.cjs426.js +1 -1
  93. package/index.cjs427.js +1 -1
  94. package/index.cjs428.js +1 -1
  95. package/index.cjs429.js +1 -1
  96. package/index.cjs430.js +1 -1
  97. package/index.cjs431.js +1 -1
  98. package/index.cjs432.js +1 -1
  99. package/index.cjs433.js +1 -1
  100. package/index.cjs434.js +1 -1
  101. package/index.cjs435.js +1 -1
  102. package/index.cjs436.js +1 -1
  103. package/index.cjs437.js +1 -1
  104. package/index.cjs438.js +1 -1
  105. package/index.cjs439.js +1 -1
  106. package/index.cjs440.js +1 -1
  107. package/index.cjs441.js +1 -1
  108. package/index.cjs454.js +1 -1
  109. package/index.cjs455.js +1 -1
  110. package/index.cjs460.js +1 -1
  111. package/index.cjs461.js +1 -1
  112. package/index.cjs462.js +1 -1
  113. package/index.cjs463.js +1 -1
  114. package/index.cjs464.js +1 -1
  115. package/index.cjs465.js +1 -1
  116. package/index.cjs466.js +1 -2
  117. package/index.cjs467.js +1 -1
  118. package/index.cjs468.js +1 -1
  119. package/index.cjs469.js +2 -1
  120. package/index.cjs470.js +1 -1
  121. package/index.cjs471.js +1 -1
  122. package/index.cjs472.js +1 -1
  123. package/index.cjs473.js +1 -1
  124. package/index.cjs474.js +1 -1
  125. package/index.cjs475.js +1 -1
  126. package/index.cjs478.js +1 -1
  127. package/index.cjs479.js +74 -1
  128. package/index.cjs480.js +1 -74
  129. package/index.cjs481.js +1 -1
  130. package/index.cjs482.js +1 -1
  131. package/index.cjs483.js +1 -1
  132. package/index.cjs484.js +1 -1
  133. package/index.cjs486.js +1 -1
  134. package/index.cjs487.js +1 -1
  135. package/index.cjs488.js +1 -1
  136. package/index.cjs489.js +1 -1
  137. package/index.cjs490.js +1 -1
  138. package/index.cjs491.js +1 -1
  139. package/index.cjs492.js +1 -1
  140. package/index.cjs493.js +1 -1
  141. package/index.cjs494.js +1 -1
  142. package/index.cjs495.js +1 -1
  143. package/index.cjs496.js +1 -1
  144. package/index.cjs497.js +1 -1
  145. package/index.cjs498.js +1 -1
  146. package/index.cjs499.js +1 -1
  147. package/index.cjs500.js +1 -1
  148. package/index.es112.js +2 -2
  149. package/index.es113.js +1 -1
  150. package/index.es118.js +2 -2
  151. package/index.es175.js +2 -2
  152. package/index.es177.js +2 -2
  153. package/index.es185.js +1 -1
  154. package/index.es186.js +1 -1
  155. package/index.es191.js +1 -1
  156. package/index.es192.js +468 -221
  157. package/index.es193.js +5 -53
  158. package/index.es196.js +38 -5
  159. package/index.es197.js +221 -468
  160. package/index.es198.js +51 -15
  161. package/index.es199.js +15 -32
  162. package/index.es200.js +34 -1223
  163. package/index.es201.js +1223 -13
  164. package/index.es202.js +14 -8
  165. package/index.es203.js +8 -50
  166. package/index.es205.js +1 -1
  167. package/index.es206.js +47 -36
  168. package/index.es209.js +1 -1
  169. package/index.es221.js +3 -3
  170. package/index.es225.js +4 -4
  171. package/index.es226.js +1 -1
  172. package/index.es227.js +2 -2
  173. package/index.es228.js +3 -3
  174. package/index.es230.js +3 -3
  175. package/index.es231.js +1 -1
  176. package/index.es29.js +1 -1
  177. package/index.es296.js +1 -1
  178. package/index.es297.js +1 -1
  179. package/index.es300.js +3 -3
  180. package/index.es301.js +2 -2
  181. package/index.es302.js +5 -5
  182. package/index.es303.js +1 -1
  183. package/index.es304.js +1 -1
  184. package/index.es306.js +2 -2
  185. package/index.es310.js +4 -4
  186. package/index.es362.js +38 -2
  187. package/index.es363.js +3 -60
  188. package/index.es364.js +1 -16
  189. package/index.es365.js +57 -241
  190. package/index.es366.js +15 -72
  191. package/index.es367.js +243 -4
  192. package/index.es368.js +70 -54
  193. package/index.es369.js +5 -11
  194. package/index.es370.js +57 -6
  195. package/index.es371.js +11 -36
  196. package/index.es372.js +6 -26
  197. package/index.es373.js +36 -291
  198. package/index.es374.js +24 -88
  199. package/index.es375.js +291 -3
  200. package/index.es376.js +90 -7
  201. package/index.es377.js +3 -16
  202. package/index.es378.js +7 -146
  203. package/index.es379.js +16 -38
  204. package/index.es380.js +147 -3
  205. package/index.es382.js +8 -120
  206. package/index.es383.js +351 -7
  207. package/index.es384.js +94 -7
  208. package/index.es385.js +9 -7
  209. package/index.es386.js +3 -351
  210. package/index.es387.js +205 -94
  211. package/index.es388.js +120 -10
  212. package/index.es389.js +7 -3
  213. package/index.es390.js +8 -206
  214. package/index.es391.js +1 -1
  215. package/index.es394.js +1 -1
  216. package/index.es403.js +23 -12
  217. package/index.es404.js +6 -143
  218. package/index.es405.js +19 -41
  219. package/index.es406.js +32 -3
  220. package/index.es407.js +6 -41
  221. package/index.es408.js +6 -7
  222. package/index.es409.js +3 -76
  223. package/index.es410.js +3 -54
  224. package/index.es411.js +18 -7
  225. package/index.es412.js +64 -73
  226. package/index.es413.js +15 -23
  227. package/index.es414.js +15 -62
  228. package/index.es415.js +3 -4
  229. package/index.es416.js +5 -7
  230. package/index.es417.js +17 -32
  231. package/index.es418.js +17 -59
  232. package/index.es419.js +17 -13
  233. package/index.es420.js +17 -4
  234. package/index.es421.js +17 -10
  235. package/index.es422.js +17 -55
  236. package/index.es423.js +17 -4
  237. package/index.es424.js +13 -5
  238. package/index.es425.js +143 -17
  239. package/index.es426.js +43 -17
  240. package/index.es427.js +3 -17
  241. package/index.es428.js +41 -17
  242. package/index.es429.js +8 -17
  243. package/index.es430.js +76 -17
  244. package/index.es431.js +55 -17
  245. package/index.es432.js +7 -5
  246. package/index.es433.js +76 -21
  247. package/index.es434.js +23 -23
  248. package/index.es435.js +62 -6
  249. package/index.es436.js +5 -3
  250. package/index.es437.js +58 -3
  251. package/index.es438.js +12 -18
  252. package/index.es439.js +4 -67
  253. package/index.es440.js +9 -15
  254. package/index.es441.js +55 -15
  255. package/index.es454.js +2 -2
  256. package/index.es455.js +1 -1
  257. package/index.es460.js +2 -11
  258. package/index.es461.js +66 -3
  259. package/index.es462.js +65 -8
  260. package/index.es463.js +8 -3
  261. package/index.es464.js +9 -44
  262. package/index.es465.js +3 -24
  263. package/index.es466.js +4 -78
  264. package/index.es467.js +42 -255
  265. package/index.es468.js +24 -31
  266. package/index.es469.js +78 -6
  267. package/index.es470.js +247 -120
  268. package/index.es471.js +34 -17
  269. package/index.es472.js +6 -7
  270. package/index.es473.js +132 -2
  271. package/index.es474.js +17 -69
  272. package/index.es475.js +6 -65
  273. package/index.es478.js +1 -1
  274. package/index.es479.js +251 -2
  275. package/index.es480.js +8 -251
  276. package/index.es481.js +3 -8
  277. package/index.es482.js +2 -3
  278. package/index.es483.js +174 -2
  279. package/index.es484.js +2 -174
  280. package/index.es486.js +1 -1
  281. package/index.es487.js +2 -8
  282. package/index.es488.js +2 -7
  283. package/index.es489.js +7 -19
  284. package/index.es490.js +7 -51
  285. package/index.es491.js +18 -247
  286. package/index.es492.js +51 -43
  287. package/index.es493.js +247 -14
  288. package/index.es494.js +43 -10
  289. package/index.es495.js +15 -47
  290. package/index.es496.js +10 -26
  291. package/index.es497.js +37 -118
  292. package/index.es498.js +23 -109
  293. package/index.es499.js +129 -2
  294. package/index.es500.js +112 -2
  295. package/package.json +1 -1
package/index.es491.js CHANGED
@@ -1,251 +1,22 @@
1
- import { StyleSheet as K } from "./index.es492.js";
2
- import { middleware as z, rulesheet as B } from "./index.es493.js";
3
- import { RULESET as D, KEYFRAMES as F, DECLARATION as H, WEBKIT as e, MS as o, MOZ as k } from "./index.es494.js";
4
- import { combine as N, replace as c, hash as U, charat as y, strlen as E, indexof as R, match as Y, from as Z } from "./index.es495.js";
5
- import { serialize as m, stringify as _ } from "./index.es496.js";
6
- import { copy as g, dealloc as G, alloc as J, next as C, token as S, peek as A, delimit as Q, slice as V, position as T } from "./index.es497.js";
7
- import { compile as X } from "./index.es498.js";
8
- var j = function(t, a, s) {
9
- for (var i = 0, n = 0; i = n, n = A(), i === 38 && n === 12 && (a[s] = 1), !S(n); )
10
- C();
11
- return V(t, T);
12
- }, l = function(t, a) {
13
- var s = -1, i = 44;
14
- do
15
- switch (S(i)) {
16
- case 0:
17
- i === 38 && A() === 12 && (a[s] = 1), t[s] += j(T - 1, a, s);
18
- break;
19
- case 2:
20
- t[s] += Q(i);
21
- break;
22
- case 4:
23
- if (i === 44) {
24
- t[++s] = A() === 58 ? "&\f" : "", a[s] = t[s].length;
25
- break;
26
- }
27
- default:
28
- t[s] += Z(i);
29
- }
30
- while (i = C());
31
- return t;
32
- }, v = function(t, a) {
33
- return G(l(J(t), a));
34
- }, P = /* @__PURE__ */ new WeakMap(), rr = function(t) {
35
- if (!(t.type !== "rule" || !t.parent || // positive .length indicates that this rule contains pseudo
36
- // negative .length indicates that this rule has been already prefixed
37
- t.length < 1)) {
38
- for (var a = t.value, s = t.parent, i = t.column === s.column && t.line === s.line; s.type !== "rule"; )
39
- if (s = s.parent, !s)
40
- return;
41
- if (!(t.props.length === 1 && a.charCodeAt(0) !== 58 && !P.get(s)) && !i) {
42
- P.set(t, !0);
43
- for (var n = [], b = v(a, n), w = s.props, h = 0, x = 0; h < b.length; h++)
44
- for (var d = 0; d < w.length; d++, x++)
45
- t.props[x] = n[h] ? b[h].replace(/&\f/g, w[d]) : w[d] + " " + b[h];
46
- }
1
+ function c(e) {
2
+ for (var f = 0, x, a = 0, d = e.length; d >= 4; ++a, d -= 4)
3
+ x = e.charCodeAt(a) & 255 | (e.charCodeAt(++a) & 255) << 8 | (e.charCodeAt(++a) & 255) << 16 | (e.charCodeAt(++a) & 255) << 24, x = /* Math.imul(k, m): */
4
+ (x & 65535) * 1540483477 + ((x >>> 16) * 59797 << 16), x ^= /* k >>> r: */
5
+ x >>> 24, f = /* Math.imul(k, m): */
6
+ (x & 65535) * 1540483477 + ((x >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
7
+ (f & 65535) * 1540483477 + ((f >>> 16) * 59797 << 16);
8
+ switch (d) {
9
+ case 3:
10
+ f ^= (e.charCodeAt(a + 2) & 255) << 16;
11
+ case 2:
12
+ f ^= (e.charCodeAt(a + 1) & 255) << 8;
13
+ case 1:
14
+ f ^= e.charCodeAt(a) & 255, f = /* Math.imul(h, m): */
15
+ (f & 65535) * 1540483477 + ((f >>> 16) * 59797 << 16);
47
16
  }
48
- }, tr = function(t) {
49
- if (t.type === "decl") {
50
- var a = t.value;
51
- // charcode for l
52
- a.charCodeAt(0) === 108 && // charcode for b
53
- a.charCodeAt(2) === 98 && (t.return = "", t.value = "");
54
- }
55
- };
56
- function L(r, t) {
57
- switch (U(r, t)) {
58
- case 5103:
59
- return e + "print-" + r + r;
60
- case 5737:
61
- case 4201:
62
- case 3177:
63
- case 3433:
64
- case 1641:
65
- case 4457:
66
- case 2921:
67
- case 5572:
68
- case 6356:
69
- case 5844:
70
- case 3191:
71
- case 6645:
72
- case 3005:
73
- case 6391:
74
- case 5879:
75
- case 5623:
76
- case 6135:
77
- case 4599:
78
- case 4855:
79
- case 4215:
80
- case 6389:
81
- case 5109:
82
- case 5365:
83
- case 5621:
84
- case 3829:
85
- return e + r + r;
86
- case 5349:
87
- case 4246:
88
- case 4810:
89
- case 6968:
90
- case 2756:
91
- return e + r + k + r + o + r + r;
92
- case 6828:
93
- case 4268:
94
- return e + r + o + r + r;
95
- case 6165:
96
- return e + r + o + "flex-" + r + r;
97
- case 5187:
98
- return e + r + c(r, /(\w+).+(:[^]+)/, e + "box-$1$2" + o + "flex-$1$2") + r;
99
- case 5443:
100
- return e + r + o + "flex-item-" + c(r, /flex-|-self/, "") + r;
101
- case 4675:
102
- return e + r + o + "flex-line-pack" + c(r, /align-content|flex-|-self/, "") + r;
103
- case 5548:
104
- return e + r + o + c(r, "shrink", "negative") + r;
105
- case 5292:
106
- return e + r + o + c(r, "basis", "preferred-size") + r;
107
- case 6060:
108
- return e + "box-" + c(r, "-grow", "") + e + r + o + c(r, "grow", "positive") + r;
109
- case 4554:
110
- return e + c(r, /([^-])(transform)/g, "$1" + e + "$2") + r;
111
- case 6187:
112
- return c(c(c(r, /(zoom-|grab)/, e + "$1"), /(image-set)/, e + "$1"), r, "") + r;
113
- case 5495:
114
- case 3959:
115
- return c(r, /(image-set\([^]*)/, e + "$1$`$1");
116
- case 4968:
117
- return c(c(r, /(.+:)(flex-)?(.*)/, e + "box-pack:$3" + o + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + e + r + r;
118
- case 4095:
119
- case 3583:
120
- case 4068:
121
- case 2532:
122
- return c(r, /(.+)-inline(.+)/, e + "$1$2") + r;
123
- case 8116:
124
- case 7059:
125
- case 5753:
126
- case 5535:
127
- case 5445:
128
- case 5701:
129
- case 4933:
130
- case 4677:
131
- case 5533:
132
- case 5789:
133
- case 5021:
134
- case 4765:
135
- if (E(r) - 1 - t > 6)
136
- switch (y(r, t + 1)) {
137
- case 109:
138
- if (y(r, t + 4) !== 45)
139
- break;
140
- case 102:
141
- return c(r, /(.+:)(.+)-([^]+)/, "$1" + e + "$2-$3$1" + k + (y(r, t + 3) == 108 ? "$3" : "$2-$3")) + r;
142
- case 115:
143
- return ~R(r, "stretch") ? L(c(r, "stretch", "fill-available"), t) + r : r;
144
- }
145
- break;
146
- case 4949:
147
- if (y(r, t + 1) !== 115)
148
- break;
149
- case 6444:
150
- switch (y(r, E(r) - 3 - (~R(r, "!important") && 10))) {
151
- case 107:
152
- return c(r, ":", ":" + e) + r;
153
- case 101:
154
- return c(r, /(.+:)([^;!]+)(;|!.+)?/, "$1" + e + (y(r, 14) === 45 ? "inline-" : "") + "box$3$1" + e + "$2$3$1" + o + "$2box$3") + r;
155
- }
156
- break;
157
- case 5936:
158
- switch (y(r, t + 11)) {
159
- case 114:
160
- return e + r + o + c(r, /[svh]\w+-[tblr]{2}/, "tb") + r;
161
- case 108:
162
- return e + r + o + c(r, /[svh]\w+-[tblr]{2}/, "tb-rl") + r;
163
- case 45:
164
- return e + r + o + c(r, /[svh]\w+-[tblr]{2}/, "lr") + r;
165
- }
166
- return e + r + o + r + r;
167
- }
168
- return r;
17
+ return f ^= f >>> 13, f = /* Math.imul(h, m): */
18
+ (f & 65535) * 1540483477 + ((f >>> 16) * 59797 << 16), ((f ^ f >>> 15) >>> 0).toString(36);
169
19
  }
170
- var er = function(t, a, s, i) {
171
- if (t.length > -1 && !t.return)
172
- switch (t.type) {
173
- case H:
174
- t.return = L(t.value, t.length);
175
- break;
176
- case F:
177
- return m([g(t, {
178
- value: c(t.value, "@", "@" + e)
179
- })], i);
180
- case D:
181
- if (t.length)
182
- return N(t.props, function(n) {
183
- switch (Y(n, /(::plac\w+|:read-\w+)/)) {
184
- case ":read-only":
185
- case ":read-write":
186
- return m([g(t, {
187
- props: [c(n, /:(read-\w+)/, ":" + k + "$1")]
188
- })], i);
189
- case "::placeholder":
190
- return m([g(t, {
191
- props: [c(n, /:(plac\w+)/, ":" + e + "input-$1")]
192
- }), g(t, {
193
- props: [c(n, /:(plac\w+)/, ":" + k + "$1")]
194
- }), g(t, {
195
- props: [c(n, /:(plac\w+)/, o + "input-$1")]
196
- })], i);
197
- }
198
- return "";
199
- });
200
- }
201
- }, cr = [er], hr = function(t) {
202
- var a = t.key;
203
- if (a === "css") {
204
- var s = document.querySelectorAll("style[data-emotion]:not([data-s])");
205
- Array.prototype.forEach.call(s, function(f) {
206
- var p = f.getAttribute("data-emotion");
207
- p.indexOf(" ") !== -1 && (document.head.appendChild(f), f.setAttribute("data-s", ""));
208
- });
209
- }
210
- var i = t.stylisPlugins || cr, n = {}, b, w = [];
211
- b = t.container || document.head, Array.prototype.forEach.call(
212
- // this means we will ignore elements which don't have a space in them which
213
- // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
214
- document.querySelectorAll('style[data-emotion^="' + a + ' "]'),
215
- function(f) {
216
- for (var p = f.getAttribute("data-emotion").split(" "), $ = 1; $ < p.length; $++)
217
- n[p[$]] = !0;
218
- w.push(f);
219
- }
220
- );
221
- var h, x = [rr, tr];
222
- {
223
- var d, M = [_, B(function(f) {
224
- d.insert(f);
225
- })], W = z(x.concat(i, M)), I = function(p) {
226
- return m(X(p), W);
227
- };
228
- h = function(p, $, O, q) {
229
- d = O, I(p ? p + "{" + $.styles + "}" : $.styles), q && (u.inserted[$.name] = !0);
230
- };
231
- }
232
- var u = {
233
- key: a,
234
- sheet: new K({
235
- key: a,
236
- container: b,
237
- nonce: t.nonce,
238
- speedy: t.speedy,
239
- prepend: t.prepend,
240
- insertionPoint: t.insertionPoint
241
- }),
242
- nonce: t.nonce,
243
- inserted: n,
244
- registered: {},
245
- insert: h
246
- };
247
- return u.sheet.hydrate(w), u;
248
- };
249
20
  export {
250
- hr as default
21
+ c as default
251
22
  };
package/index.es492.js CHANGED
@@ -1,45 +1,53 @@
1
- var h = !1;
2
- function a(n) {
3
- if (n.sheet)
4
- return n.sheet;
5
- for (var t = 0; t < document.styleSheets.length; t++)
6
- if (document.styleSheets[t].ownerNode === n)
7
- return document.styleSheets[t];
8
- }
9
- function o(n) {
10
- var t = document.createElement("style");
11
- return t.setAttribute("data-emotion", n.key), n.nonce !== void 0 && t.setAttribute("nonce", n.nonce), t.appendChild(document.createTextNode("")), t.setAttribute("data-s", ""), t;
12
- }
13
- var d = /* @__PURE__ */ function() {
14
- function n(i) {
15
- var e = this;
16
- this._insertTag = function(r) {
17
- var s;
18
- e.tags.length === 0 ? e.insertionPoint ? s = e.insertionPoint.nextSibling : e.prepend ? s = e.container.firstChild : s = e.before : s = e.tags[e.tags.length - 1].nextSibling, e.container.insertBefore(r, s), e.tags.push(r);
19
- }, this.isSpeedy = i.speedy === void 0 ? !h : i.speedy, this.tags = [], this.ctr = 0, this.nonce = i.nonce, this.key = i.key, this.container = i.container, this.prepend = i.prepend, this.insertionPoint = i.insertionPoint, this.before = null;
20
- }
21
- var t = n.prototype;
22
- return t.hydrate = function(e) {
23
- e.forEach(this._insertTag);
24
- }, t.insert = function(e) {
25
- this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(o(this));
26
- var r = this.tags[this.tags.length - 1];
27
- if (this.isSpeedy) {
28
- var s = a(r);
29
- try {
30
- s.insertRule(e, s.cssRules.length);
31
- } catch {
32
- }
33
- } else
34
- r.appendChild(document.createTextNode(e));
35
- this.ctr++;
36
- }, t.flush = function() {
37
- this.tags.forEach(function(e) {
38
- var r;
39
- return (r = e.parentNode) == null ? void 0 : r.removeChild(e);
40
- }), this.tags = [], this.ctr = 0;
41
- }, n;
42
- }();
1
+ var o = {
2
+ animationIterationCount: 1,
3
+ aspectRatio: 1,
4
+ borderImageOutset: 1,
5
+ borderImageSlice: 1,
6
+ borderImageWidth: 1,
7
+ boxFlex: 1,
8
+ boxFlexGroup: 1,
9
+ boxOrdinalGroup: 1,
10
+ columnCount: 1,
11
+ columns: 1,
12
+ flex: 1,
13
+ flexGrow: 1,
14
+ flexPositive: 1,
15
+ flexShrink: 1,
16
+ flexNegative: 1,
17
+ flexOrder: 1,
18
+ gridRow: 1,
19
+ gridRowEnd: 1,
20
+ gridRowSpan: 1,
21
+ gridRowStart: 1,
22
+ gridColumn: 1,
23
+ gridColumnEnd: 1,
24
+ gridColumnSpan: 1,
25
+ gridColumnStart: 1,
26
+ msGridRow: 1,
27
+ msGridRowSpan: 1,
28
+ msGridColumn: 1,
29
+ msGridColumnSpan: 1,
30
+ fontWeight: 1,
31
+ lineHeight: 1,
32
+ opacity: 1,
33
+ order: 1,
34
+ orphans: 1,
35
+ scale: 1,
36
+ tabSize: 1,
37
+ widows: 1,
38
+ zIndex: 1,
39
+ zoom: 1,
40
+ WebkitLineClamp: 1,
41
+ // SVG-related properties
42
+ fillOpacity: 1,
43
+ floodOpacity: 1,
44
+ stopOpacity: 1,
45
+ strokeDasharray: 1,
46
+ strokeDashoffset: 1,
47
+ strokeMiterlimit: 1,
48
+ strokeOpacity: 1,
49
+ strokeWidth: 1
50
+ };
43
51
  export {
44
- d as StyleSheet
52
+ o as default
45
53
  };
package/index.es493.js CHANGED
@@ -1,18 +1,251 @@
1
- import { sizeof as p } from "./index.es495.js";
2
- function c(t) {
3
- var r = p(t);
4
- return function(f, n, i, a) {
5
- for (var o = "", u = 0; u < r; u++)
6
- o += t[u](f, n, i, a) || "";
7
- return o;
8
- };
1
+ import { StyleSheet as K } from "./index.es494.js";
2
+ import { middleware as z, rulesheet as B } from "./index.es495.js";
3
+ import { RULESET as D, KEYFRAMES as F, DECLARATION as H, WEBKIT as e, MS as o, MOZ as k } from "./index.es496.js";
4
+ import { combine as N, replace as c, hash as U, charat as y, strlen as E, indexof as R, match as Y, from as Z } from "./index.es497.js";
5
+ import { serialize as m, stringify as _ } from "./index.es498.js";
6
+ import { copy as g, dealloc as G, alloc as J, next as C, token as S, peek as A, delimit as Q, slice as V, position as T } from "./index.es499.js";
7
+ import { compile as X } from "./index.es500.js";
8
+ var j = function(t, a, s) {
9
+ for (var i = 0, n = 0; i = n, n = A(), i === 38 && n === 12 && (a[s] = 1), !S(n); )
10
+ C();
11
+ return V(t, T);
12
+ }, l = function(t, a) {
13
+ var s = -1, i = 44;
14
+ do
15
+ switch (S(i)) {
16
+ case 0:
17
+ i === 38 && A() === 12 && (a[s] = 1), t[s] += j(T - 1, a, s);
18
+ break;
19
+ case 2:
20
+ t[s] += Q(i);
21
+ break;
22
+ case 4:
23
+ if (i === 44) {
24
+ t[++s] = A() === 58 ? "&\f" : "", a[s] = t[s].length;
25
+ break;
26
+ }
27
+ default:
28
+ t[s] += Z(i);
29
+ }
30
+ while (i = C());
31
+ return t;
32
+ }, v = function(t, a) {
33
+ return G(l(J(t), a));
34
+ }, P = /* @__PURE__ */ new WeakMap(), rr = function(t) {
35
+ if (!(t.type !== "rule" || !t.parent || // positive .length indicates that this rule contains pseudo
36
+ // negative .length indicates that this rule has been already prefixed
37
+ t.length < 1)) {
38
+ for (var a = t.value, s = t.parent, i = t.column === s.column && t.line === s.line; s.type !== "rule"; )
39
+ if (s = s.parent, !s)
40
+ return;
41
+ if (!(t.props.length === 1 && a.charCodeAt(0) !== 58 && !P.get(s)) && !i) {
42
+ P.set(t, !0);
43
+ for (var n = [], b = v(a, n), w = s.props, h = 0, x = 0; h < b.length; h++)
44
+ for (var d = 0; d < w.length; d++, x++)
45
+ t.props[x] = n[h] ? b[h].replace(/&\f/g, w[d]) : w[d] + " " + b[h];
46
+ }
47
+ }
48
+ }, tr = function(t) {
49
+ if (t.type === "decl") {
50
+ var a = t.value;
51
+ // charcode for l
52
+ a.charCodeAt(0) === 108 && // charcode for b
53
+ a.charCodeAt(2) === 98 && (t.return = "", t.value = "");
54
+ }
55
+ };
56
+ function L(r, t) {
57
+ switch (U(r, t)) {
58
+ case 5103:
59
+ return e + "print-" + r + r;
60
+ case 5737:
61
+ case 4201:
62
+ case 3177:
63
+ case 3433:
64
+ case 1641:
65
+ case 4457:
66
+ case 2921:
67
+ case 5572:
68
+ case 6356:
69
+ case 5844:
70
+ case 3191:
71
+ case 6645:
72
+ case 3005:
73
+ case 6391:
74
+ case 5879:
75
+ case 5623:
76
+ case 6135:
77
+ case 4599:
78
+ case 4855:
79
+ case 4215:
80
+ case 6389:
81
+ case 5109:
82
+ case 5365:
83
+ case 5621:
84
+ case 3829:
85
+ return e + r + r;
86
+ case 5349:
87
+ case 4246:
88
+ case 4810:
89
+ case 6968:
90
+ case 2756:
91
+ return e + r + k + r + o + r + r;
92
+ case 6828:
93
+ case 4268:
94
+ return e + r + o + r + r;
95
+ case 6165:
96
+ return e + r + o + "flex-" + r + r;
97
+ case 5187:
98
+ return e + r + c(r, /(\w+).+(:[^]+)/, e + "box-$1$2" + o + "flex-$1$2") + r;
99
+ case 5443:
100
+ return e + r + o + "flex-item-" + c(r, /flex-|-self/, "") + r;
101
+ case 4675:
102
+ return e + r + o + "flex-line-pack" + c(r, /align-content|flex-|-self/, "") + r;
103
+ case 5548:
104
+ return e + r + o + c(r, "shrink", "negative") + r;
105
+ case 5292:
106
+ return e + r + o + c(r, "basis", "preferred-size") + r;
107
+ case 6060:
108
+ return e + "box-" + c(r, "-grow", "") + e + r + o + c(r, "grow", "positive") + r;
109
+ case 4554:
110
+ return e + c(r, /([^-])(transform)/g, "$1" + e + "$2") + r;
111
+ case 6187:
112
+ return c(c(c(r, /(zoom-|grab)/, e + "$1"), /(image-set)/, e + "$1"), r, "") + r;
113
+ case 5495:
114
+ case 3959:
115
+ return c(r, /(image-set\([^]*)/, e + "$1$`$1");
116
+ case 4968:
117
+ return c(c(r, /(.+:)(flex-)?(.*)/, e + "box-pack:$3" + o + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + e + r + r;
118
+ case 4095:
119
+ case 3583:
120
+ case 4068:
121
+ case 2532:
122
+ return c(r, /(.+)-inline(.+)/, e + "$1$2") + r;
123
+ case 8116:
124
+ case 7059:
125
+ case 5753:
126
+ case 5535:
127
+ case 5445:
128
+ case 5701:
129
+ case 4933:
130
+ case 4677:
131
+ case 5533:
132
+ case 5789:
133
+ case 5021:
134
+ case 4765:
135
+ if (E(r) - 1 - t > 6)
136
+ switch (y(r, t + 1)) {
137
+ case 109:
138
+ if (y(r, t + 4) !== 45)
139
+ break;
140
+ case 102:
141
+ return c(r, /(.+:)(.+)-([^]+)/, "$1" + e + "$2-$3$1" + k + (y(r, t + 3) == 108 ? "$3" : "$2-$3")) + r;
142
+ case 115:
143
+ return ~R(r, "stretch") ? L(c(r, "stretch", "fill-available"), t) + r : r;
144
+ }
145
+ break;
146
+ case 4949:
147
+ if (y(r, t + 1) !== 115)
148
+ break;
149
+ case 6444:
150
+ switch (y(r, E(r) - 3 - (~R(r, "!important") && 10))) {
151
+ case 107:
152
+ return c(r, ":", ":" + e) + r;
153
+ case 101:
154
+ return c(r, /(.+:)([^;!]+)(;|!.+)?/, "$1" + e + (y(r, 14) === 45 ? "inline-" : "") + "box$3$1" + e + "$2$3$1" + o + "$2box$3") + r;
155
+ }
156
+ break;
157
+ case 5936:
158
+ switch (y(r, t + 11)) {
159
+ case 114:
160
+ return e + r + o + c(r, /[svh]\w+-[tblr]{2}/, "tb") + r;
161
+ case 108:
162
+ return e + r + o + c(r, /[svh]\w+-[tblr]{2}/, "tb-rl") + r;
163
+ case 45:
164
+ return e + r + o + c(r, /[svh]\w+-[tblr]{2}/, "lr") + r;
165
+ }
166
+ return e + r + o + r + r;
167
+ }
168
+ return r;
9
169
  }
10
- function d(t) {
11
- return function(r) {
12
- r.root || (r = r.return) && t(r);
170
+ var er = function(t, a, s, i) {
171
+ if (t.length > -1 && !t.return)
172
+ switch (t.type) {
173
+ case H:
174
+ t.return = L(t.value, t.length);
175
+ break;
176
+ case F:
177
+ return m([g(t, {
178
+ value: c(t.value, "@", "@" + e)
179
+ })], i);
180
+ case D:
181
+ if (t.length)
182
+ return N(t.props, function(n) {
183
+ switch (Y(n, /(::plac\w+|:read-\w+)/)) {
184
+ case ":read-only":
185
+ case ":read-write":
186
+ return m([g(t, {
187
+ props: [c(n, /:(read-\w+)/, ":" + k + "$1")]
188
+ })], i);
189
+ case "::placeholder":
190
+ return m([g(t, {
191
+ props: [c(n, /:(plac\w+)/, ":" + e + "input-$1")]
192
+ }), g(t, {
193
+ props: [c(n, /:(plac\w+)/, ":" + k + "$1")]
194
+ }), g(t, {
195
+ props: [c(n, /:(plac\w+)/, o + "input-$1")]
196
+ })], i);
197
+ }
198
+ return "";
199
+ });
200
+ }
201
+ }, cr = [er], hr = function(t) {
202
+ var a = t.key;
203
+ if (a === "css") {
204
+ var s = document.querySelectorAll("style[data-emotion]:not([data-s])");
205
+ Array.prototype.forEach.call(s, function(f) {
206
+ var p = f.getAttribute("data-emotion");
207
+ p.indexOf(" ") !== -1 && (document.head.appendChild(f), f.setAttribute("data-s", ""));
208
+ });
209
+ }
210
+ var i = t.stylisPlugins || cr, n = {}, b, w = [];
211
+ b = t.container || document.head, Array.prototype.forEach.call(
212
+ // this means we will ignore elements which don't have a space in them which
213
+ // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
214
+ document.querySelectorAll('style[data-emotion^="' + a + ' "]'),
215
+ function(f) {
216
+ for (var p = f.getAttribute("data-emotion").split(" "), $ = 1; $ < p.length; $++)
217
+ n[p[$]] = !0;
218
+ w.push(f);
219
+ }
220
+ );
221
+ var h, x = [rr, tr];
222
+ {
223
+ var d, M = [_, B(function(f) {
224
+ d.insert(f);
225
+ })], W = z(x.concat(i, M)), I = function(p) {
226
+ return m(X(p), W);
227
+ };
228
+ h = function(p, $, O, q) {
229
+ d = O, I(p ? p + "{" + $.styles + "}" : $.styles), q && (u.inserted[$.name] = !0);
230
+ };
231
+ }
232
+ var u = {
233
+ key: a,
234
+ sheet: new K({
235
+ key: a,
236
+ container: b,
237
+ nonce: t.nonce,
238
+ speedy: t.speedy,
239
+ prepend: t.prepend,
240
+ insertionPoint: t.insertionPoint
241
+ }),
242
+ nonce: t.nonce,
243
+ inserted: n,
244
+ registered: {},
245
+ insert: h
13
246
  };
14
- }
247
+ return u.sheet.hydrate(w), u;
248
+ };
15
249
  export {
16
- c as middleware,
17
- d as rulesheet
250
+ hr as default
18
251
  };
package/index.es494.js CHANGED
@@ -1,12 +1,45 @@
1
- var r = "-ms-", a = "-moz-", v = "-webkit-", E = "comm", e = "rule", m = "decl", M = "@import", R = "@keyframes", T = "@layer";
1
+ var h = !1;
2
+ function a(n) {
3
+ if (n.sheet)
4
+ return n.sheet;
5
+ for (var t = 0; t < document.styleSheets.length; t++)
6
+ if (document.styleSheets[t].ownerNode === n)
7
+ return document.styleSheets[t];
8
+ }
9
+ function o(n) {
10
+ var t = document.createElement("style");
11
+ return t.setAttribute("data-emotion", n.key), n.nonce !== void 0 && t.setAttribute("nonce", n.nonce), t.appendChild(document.createTextNode("")), t.setAttribute("data-s", ""), t;
12
+ }
13
+ var d = /* @__PURE__ */ function() {
14
+ function n(i) {
15
+ var e = this;
16
+ this._insertTag = function(r) {
17
+ var s;
18
+ e.tags.length === 0 ? e.insertionPoint ? s = e.insertionPoint.nextSibling : e.prepend ? s = e.container.firstChild : s = e.before : s = e.tags[e.tags.length - 1].nextSibling, e.container.insertBefore(r, s), e.tags.push(r);
19
+ }, this.isSpeedy = i.speedy === void 0 ? !h : i.speedy, this.tags = [], this.ctr = 0, this.nonce = i.nonce, this.key = i.key, this.container = i.container, this.prepend = i.prepend, this.insertionPoint = i.insertionPoint, this.before = null;
20
+ }
21
+ var t = n.prototype;
22
+ return t.hydrate = function(e) {
23
+ e.forEach(this._insertTag);
24
+ }, t.insert = function(e) {
25
+ this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(o(this));
26
+ var r = this.tags[this.tags.length - 1];
27
+ if (this.isSpeedy) {
28
+ var s = a(r);
29
+ try {
30
+ s.insertRule(e, s.cssRules.length);
31
+ } catch {
32
+ }
33
+ } else
34
+ r.appendChild(document.createTextNode(e));
35
+ this.ctr++;
36
+ }, t.flush = function() {
37
+ this.tags.forEach(function(e) {
38
+ var r;
39
+ return (r = e.parentNode) == null ? void 0 : r.removeChild(e);
40
+ }), this.tags = [], this.ctr = 0;
41
+ }, n;
42
+ }();
2
43
  export {
3
- E as COMMENT,
4
- m as DECLARATION,
5
- M as IMPORT,
6
- R as KEYFRAMES,
7
- T as LAYER,
8
- a as MOZ,
9
- r as MS,
10
- e as RULESET,
11
- v as WEBKIT
44
+ d as StyleSheet
12
45
  };