@cuemath/leap 3.0.22-aa0 → 3.0.22-aa1

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 (115) hide show
  1. package/dist/_virtual/___vite-browser-external.js +7 -0
  2. package/dist/_virtual/___vite-browser-external.js.map +1 -0
  3. package/dist/_virtual/__vite-browser-external.js +5 -0
  4. package/dist/_virtual/__vite-browser-external.js.map +1 -0
  5. package/dist/_virtual/_commonjsHelpers.js +24 -4
  6. package/dist/_virtual/_commonjsHelpers.js.map +1 -1
  7. package/dist/_virtual/index2.js +5 -0
  8. package/dist/_virtual/index2.js.map +1 -0
  9. package/dist/_virtual/picocolors.browser.js +5 -0
  10. package/dist/_virtual/picocolors.browser.js.map +1 -0
  11. package/dist/_virtual/symbols.js +5 -0
  12. package/dist/_virtual/symbols.js.map +1 -0
  13. package/dist/features/cue-canvas/sidebar/homework/homework.js +52 -26
  14. package/dist/features/cue-canvas/sidebar/homework/homework.js.map +1 -1
  15. package/dist/features/cue-canvas/sidebar/puzzles/puzzles.js +14 -14
  16. package/dist/features/cue-canvas/sidebar/puzzles/puzzles.js.map +1 -1
  17. package/dist/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +53 -0
  18. package/dist/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js.map +1 -0
  19. package/dist/node_modules/camelize/index.js +44 -0
  20. package/dist/node_modules/camelize/index.js.map +1 -0
  21. package/dist/node_modules/css-color-keywords/colors.json.js +298 -0
  22. package/dist/node_modules/css-color-keywords/colors.json.js.map +1 -0
  23. package/dist/node_modules/css-color-keywords/index.js +6 -0
  24. package/dist/node_modules/css-color-keywords/index.js.map +1 -0
  25. package/dist/node_modules/css-to-react-native/index.js +397 -0
  26. package/dist/node_modules/css-to-react-native/index.js.map +1 -0
  27. package/dist/node_modules/nanoid/non-secure/index.js +16 -0
  28. package/dist/node_modules/nanoid/non-secure/index.js.map +1 -0
  29. package/dist/node_modules/picocolors/picocolors.browser.js +11 -0
  30. package/dist/node_modules/picocolors/picocolors.browser.js.map +1 -0
  31. package/dist/node_modules/postcss/lib/at-rule.js +20 -0
  32. package/dist/node_modules/postcss/lib/at-rule.js.map +1 -0
  33. package/dist/node_modules/postcss/lib/comment.js +13 -0
  34. package/dist/node_modules/postcss/lib/comment.js.map +1 -0
  35. package/dist/node_modules/postcss/lib/container.js +226 -0
  36. package/dist/node_modules/postcss/lib/container.js.map +1 -0
  37. package/dist/node_modules/postcss/lib/css-syntax-error.js +45 -0
  38. package/dist/node_modules/postcss/lib/css-syntax-error.js.map +1 -0
  39. package/dist/node_modules/postcss/lib/declaration.js +16 -0
  40. package/dist/node_modules/postcss/lib/declaration.js.map +1 -0
  41. package/dist/node_modules/postcss/lib/document.js +22 -0
  42. package/dist/node_modules/postcss/lib/document.js.map +1 -0
  43. package/dist/node_modules/postcss/lib/fromJSON.js +43 -0
  44. package/dist/node_modules/postcss/lib/fromJSON.js.map +1 -0
  45. package/dist/node_modules/postcss/lib/input.js +134 -0
  46. package/dist/node_modules/postcss/lib/input.js.map +1 -0
  47. package/dist/node_modules/postcss/lib/lazy-result.js +347 -0
  48. package/dist/node_modules/postcss/lib/lazy-result.js.map +1 -0
  49. package/dist/node_modules/postcss/lib/list.js +22 -0
  50. package/dist/node_modules/postcss/lib/list.js.map +1 -0
  51. package/dist/node_modules/postcss/lib/map-generator.js +167 -0
  52. package/dist/node_modules/postcss/lib/map-generator.js.map +1 -0
  53. package/dist/node_modules/postcss/lib/no-work-result.js +90 -0
  54. package/dist/node_modules/postcss/lib/no-work-result.js.map +1 -0
  55. package/dist/node_modules/postcss/lib/node.js +216 -0
  56. package/dist/node_modules/postcss/lib/node.js.map +1 -0
  57. package/dist/node_modules/postcss/lib/parse.js +23 -0
  58. package/dist/node_modules/postcss/lib/parse.js.map +1 -0
  59. package/dist/node_modules/postcss/lib/parser.js +318 -0
  60. package/dist/node_modules/postcss/lib/parser.js.map +1 -0
  61. package/dist/node_modules/postcss/lib/postcss.js +30 -0
  62. package/dist/node_modules/postcss/lib/postcss.js.map +1 -0
  63. package/dist/node_modules/postcss/lib/postcss2.js +76 -0
  64. package/dist/node_modules/postcss/lib/postcss2.js.map +1 -0
  65. package/dist/node_modules/postcss/lib/previous-map.js +89 -0
  66. package/dist/node_modules/postcss/lib/previous-map.js.map +1 -0
  67. package/dist/node_modules/postcss/lib/processor.js +42 -0
  68. package/dist/node_modules/postcss/lib/processor.js.map +1 -0
  69. package/dist/node_modules/postcss/lib/result.js +27 -0
  70. package/dist/node_modules/postcss/lib/result.js.map +1 -0
  71. package/dist/node_modules/postcss/lib/root.js +38 -0
  72. package/dist/node_modules/postcss/lib/root.js.map +1 -0
  73. package/dist/node_modules/postcss/lib/rule.js +22 -0
  74. package/dist/node_modules/postcss/lib/rule.js.map +1 -0
  75. package/dist/node_modules/postcss/lib/stringifier.js +193 -0
  76. package/dist/node_modules/postcss/lib/stringifier.js.map +1 -0
  77. package/dist/node_modules/postcss/lib/stringify.js +11 -0
  78. package/dist/node_modules/postcss/lib/stringify.js.map +1 -0
  79. package/dist/node_modules/postcss/lib/symbols.js +7 -0
  80. package/dist/node_modules/postcss/lib/symbols.js.map +1 -0
  81. package/dist/node_modules/postcss/lib/tokenize.js +110 -0
  82. package/dist/node_modules/postcss/lib/tokenize.js.map +1 -0
  83. package/dist/node_modules/postcss/lib/warn-once.js +8 -0
  84. package/dist/node_modules/postcss/lib/warn-once.js.map +1 -0
  85. package/dist/node_modules/postcss/lib/warning.js +22 -0
  86. package/dist/node_modules/postcss/lib/warning.js.map +1 -0
  87. package/dist/node_modules/postcss-value-parser/lib/index.js +22 -0
  88. package/dist/node_modules/postcss-value-parser/lib/index.js.map +1 -0
  89. package/dist/node_modules/postcss-value-parser/lib/parse.js +115 -0
  90. package/dist/node_modules/postcss-value-parser/lib/parse.js.map +1 -0
  91. package/dist/node_modules/postcss-value-parser/lib/stringify.js +18 -0
  92. package/dist/node_modules/postcss-value-parser/lib/stringify.js.map +1 -0
  93. package/dist/node_modules/postcss-value-parser/lib/unit.js +37 -0
  94. package/dist/node_modules/postcss-value-parser/lib/unit.js.map +1 -0
  95. package/dist/node_modules/postcss-value-parser/lib/walk.js +9 -0
  96. package/dist/node_modules/postcss-value-parser/lib/walk.js.map +1 -0
  97. package/dist/node_modules/styled-components/native/dist/styled-components.native.esm.js +473 -0
  98. package/dist/node_modules/styled-components/native/dist/styled-components.native.esm.js.map +1 -0
  99. package/dist/node_modules/stylis/src/Enum.js +13 -0
  100. package/dist/node_modules/stylis/src/Enum.js.map +1 -0
  101. package/dist/node_modules/stylis/src/Middleware.js +48 -0
  102. package/dist/node_modules/stylis/src/Middleware.js.map +1 -0
  103. package/dist/node_modules/stylis/src/Parser.js +115 -0
  104. package/dist/node_modules/stylis/src/Parser.js.map +1 -0
  105. package/dist/node_modules/stylis/src/Prefixer.js +151 -0
  106. package/dist/node_modules/stylis/src/Prefixer.js.map +1 -0
  107. package/dist/node_modules/stylis/src/Serializer.js +28 -0
  108. package/dist/node_modules/stylis/src/Serializer.js.map +1 -0
  109. package/dist/node_modules/stylis/src/Tokenizer.js +138 -0
  110. package/dist/node_modules/stylis/src/Tokenizer.js.map +1 -0
  111. package/dist/node_modules/stylis/src/Utility.js +57 -0
  112. package/dist/node_modules/stylis/src/Utility.js.map +1 -0
  113. package/dist/node_modules/tslib/tslib.es6.js +19 -0
  114. package/dist/node_modules/tslib/tslib.es6.js.map +1 -0
  115. package/package.json +1 -1
@@ -0,0 +1,298 @@
1
+ const e = "#000000", o = "#c0c0c0", n = "#808080", t = "#ffffff", a = "#800000", s = "#ff0000", c = "#800080", r = "#ff00ff", l = "#008000", d = "#00ff00", f = "#808000", i = "#ffff00", g = "#000080", b = "#0000ff", u = "#008080", h = "#00ffff", m = "#ffa500", k = "#f0f8ff", y = "#faebd7", p = "#7fffd4", w = "#f0ffff", v = "#f5f5dc", q = "#ffe4c4", j = "#ffebcd", z = "#8a2be2", $ = "#a52a2a", x = "#deb887", A = "#5f9ea0", B = "#7fff00", C = "#d2691e", D = "#ff7f50", E = "#6495ed", F = "#fff8dc", G = "#dc143c", H = "#00008b", I = "#008b8b", J = "#b8860b", K = "#a9a9a9", L = "#006400", M = "#a9a9a9", N = "#bdb76b", O = "#8b008b", P = "#556b2f", Q = "#ff8c00", R = "#9932cc", S = "#8b0000", T = "#e9967a", U = "#8fbc8f", V = "#483d8b", W = "#2f4f4f", X = "#2f4f4f", Y = "#00ced1", Z = "#9400d3", _ = "#ff1493", ee = "#00bfff", oe = "#696969", ne = "#696969", te = "#1e90ff", ae = "#b22222", se = "#fffaf0", ce = "#228b22", re = "#dcdcdc", le = "#f8f8ff", de = "#ffd700", fe = "#daa520", ie = "#adff2f", ge = "#808080", be = "#f0fff0", ue = "#ff69b4", he = "#cd5c5c", me = "#4b0082", ke = "#fffff0", ye = "#f0e68c", pe = "#e6e6fa", we = "#fff0f5", ve = "#7cfc00", qe = "#fffacd", je = "#add8e6", ze = "#f08080", $e = "#e0ffff", xe = "#fafad2", Ae = "#d3d3d3", Be = "#90ee90", Ce = "#d3d3d3", De = "#ffb6c1", Ee = "#ffa07a", Fe = "#20b2aa", Ge = "#87cefa", He = "#778899", Ie = "#778899", Je = "#b0c4de", Ke = "#ffffe0", Le = "#32cd32", Me = "#faf0e6", Ne = "#66cdaa", Oe = "#0000cd", Pe = "#ba55d3", Qe = "#9370db", Re = "#3cb371", Se = "#7b68ee", Te = "#00fa9a", Ue = "#48d1cc", Ve = "#c71585", We = "#191970", Xe = "#f5fffa", Ye = "#ffe4e1", Ze = "#ffe4b5", _e = "#ffdead", eo = "#fdf5e6", oo = "#6b8e23", no = "#ff4500", to = "#da70d6", ao = "#eee8aa", so = "#98fb98", co = "#afeeee", ro = "#db7093", lo = "#ffefd5", fo = "#ffdab9", io = "#cd853f", go = "#ffc0cb", bo = "#dda0dd", uo = "#b0e0e6", ho = "#bc8f8f", mo = "#4169e1", ko = "#8b4513", yo = "#fa8072", po = "#f4a460", wo = "#2e8b57", vo = "#fff5ee", qo = "#a0522d", jo = "#87ceeb", zo = "#6a5acd", $o = "#708090", xo = "#708090", Ao = "#fffafa", Bo = "#00ff7f", Co = "#4682b4", Do = "#d2b48c", Eo = "#d8bfd8", Fo = "#ff6347", Go = "#40e0d0", Ho = "#ee82ee", Io = "#f5deb3", Jo = "#f5f5f5", Ko = "#9acd32", Lo = "#663399", Mo = {
2
+ black: e,
3
+ silver: o,
4
+ gray: n,
5
+ white: t,
6
+ maroon: a,
7
+ red: s,
8
+ purple: c,
9
+ fuchsia: r,
10
+ green: l,
11
+ lime: d,
12
+ olive: f,
13
+ yellow: i,
14
+ navy: g,
15
+ blue: b,
16
+ teal: u,
17
+ aqua: h,
18
+ orange: m,
19
+ aliceblue: k,
20
+ antiquewhite: y,
21
+ aquamarine: p,
22
+ azure: w,
23
+ beige: v,
24
+ bisque: q,
25
+ blanchedalmond: j,
26
+ blueviolet: z,
27
+ brown: $,
28
+ burlywood: x,
29
+ cadetblue: A,
30
+ chartreuse: B,
31
+ chocolate: C,
32
+ coral: D,
33
+ cornflowerblue: E,
34
+ cornsilk: F,
35
+ crimson: G,
36
+ darkblue: H,
37
+ darkcyan: I,
38
+ darkgoldenrod: J,
39
+ darkgray: K,
40
+ darkgreen: L,
41
+ darkgrey: M,
42
+ darkkhaki: N,
43
+ darkmagenta: O,
44
+ darkolivegreen: P,
45
+ darkorange: Q,
46
+ darkorchid: R,
47
+ darkred: S,
48
+ darksalmon: T,
49
+ darkseagreen: U,
50
+ darkslateblue: V,
51
+ darkslategray: W,
52
+ darkslategrey: X,
53
+ darkturquoise: Y,
54
+ darkviolet: Z,
55
+ deeppink: _,
56
+ deepskyblue: ee,
57
+ dimgray: oe,
58
+ dimgrey: ne,
59
+ dodgerblue: te,
60
+ firebrick: ae,
61
+ floralwhite: se,
62
+ forestgreen: ce,
63
+ gainsboro: re,
64
+ ghostwhite: le,
65
+ gold: de,
66
+ goldenrod: fe,
67
+ greenyellow: ie,
68
+ grey: ge,
69
+ honeydew: be,
70
+ hotpink: ue,
71
+ indianred: he,
72
+ indigo: me,
73
+ ivory: ke,
74
+ khaki: ye,
75
+ lavender: pe,
76
+ lavenderblush: we,
77
+ lawngreen: ve,
78
+ lemonchiffon: qe,
79
+ lightblue: je,
80
+ lightcoral: ze,
81
+ lightcyan: $e,
82
+ lightgoldenrodyellow: xe,
83
+ lightgray: Ae,
84
+ lightgreen: Be,
85
+ lightgrey: Ce,
86
+ lightpink: De,
87
+ lightsalmon: Ee,
88
+ lightseagreen: Fe,
89
+ lightskyblue: Ge,
90
+ lightslategray: He,
91
+ lightslategrey: Ie,
92
+ lightsteelblue: Je,
93
+ lightyellow: Ke,
94
+ limegreen: Le,
95
+ linen: Me,
96
+ mediumaquamarine: Ne,
97
+ mediumblue: Oe,
98
+ mediumorchid: Pe,
99
+ mediumpurple: Qe,
100
+ mediumseagreen: Re,
101
+ mediumslateblue: Se,
102
+ mediumspringgreen: Te,
103
+ mediumturquoise: Ue,
104
+ mediumvioletred: Ve,
105
+ midnightblue: We,
106
+ mintcream: Xe,
107
+ mistyrose: Ye,
108
+ moccasin: Ze,
109
+ navajowhite: _e,
110
+ oldlace: eo,
111
+ olivedrab: oo,
112
+ orangered: no,
113
+ orchid: to,
114
+ palegoldenrod: ao,
115
+ palegreen: so,
116
+ paleturquoise: co,
117
+ palevioletred: ro,
118
+ papayawhip: lo,
119
+ peachpuff: fo,
120
+ peru: io,
121
+ pink: go,
122
+ plum: bo,
123
+ powderblue: uo,
124
+ rosybrown: ho,
125
+ royalblue: mo,
126
+ saddlebrown: ko,
127
+ salmon: yo,
128
+ sandybrown: po,
129
+ seagreen: wo,
130
+ seashell: vo,
131
+ sienna: qo,
132
+ skyblue: jo,
133
+ slateblue: zo,
134
+ slategray: $o,
135
+ slategrey: xo,
136
+ snow: Ao,
137
+ springgreen: Bo,
138
+ steelblue: Co,
139
+ tan: Do,
140
+ thistle: Eo,
141
+ tomato: Fo,
142
+ turquoise: Go,
143
+ violet: Ho,
144
+ wheat: Io,
145
+ whitesmoke: Jo,
146
+ yellowgreen: Ko,
147
+ rebeccapurple: Lo
148
+ };
149
+ export {
150
+ k as aliceblue,
151
+ y as antiquewhite,
152
+ h as aqua,
153
+ p as aquamarine,
154
+ w as azure,
155
+ v as beige,
156
+ q as bisque,
157
+ e as black,
158
+ j as blanchedalmond,
159
+ b as blue,
160
+ z as blueviolet,
161
+ $ as brown,
162
+ x as burlywood,
163
+ A as cadetblue,
164
+ B as chartreuse,
165
+ C as chocolate,
166
+ D as coral,
167
+ E as cornflowerblue,
168
+ F as cornsilk,
169
+ G as crimson,
170
+ H as darkblue,
171
+ I as darkcyan,
172
+ J as darkgoldenrod,
173
+ K as darkgray,
174
+ L as darkgreen,
175
+ M as darkgrey,
176
+ N as darkkhaki,
177
+ O as darkmagenta,
178
+ P as darkolivegreen,
179
+ Q as darkorange,
180
+ R as darkorchid,
181
+ S as darkred,
182
+ T as darksalmon,
183
+ U as darkseagreen,
184
+ V as darkslateblue,
185
+ W as darkslategray,
186
+ X as darkslategrey,
187
+ Y as darkturquoise,
188
+ Z as darkviolet,
189
+ _ as deeppink,
190
+ ee as deepskyblue,
191
+ Mo as default,
192
+ oe as dimgray,
193
+ ne as dimgrey,
194
+ te as dodgerblue,
195
+ ae as firebrick,
196
+ se as floralwhite,
197
+ ce as forestgreen,
198
+ r as fuchsia,
199
+ re as gainsboro,
200
+ le as ghostwhite,
201
+ de as gold,
202
+ fe as goldenrod,
203
+ n as gray,
204
+ l as green,
205
+ ie as greenyellow,
206
+ ge as grey,
207
+ be as honeydew,
208
+ ue as hotpink,
209
+ he as indianred,
210
+ me as indigo,
211
+ ke as ivory,
212
+ ye as khaki,
213
+ pe as lavender,
214
+ we as lavenderblush,
215
+ ve as lawngreen,
216
+ qe as lemonchiffon,
217
+ je as lightblue,
218
+ ze as lightcoral,
219
+ $e as lightcyan,
220
+ xe as lightgoldenrodyellow,
221
+ Ae as lightgray,
222
+ Be as lightgreen,
223
+ Ce as lightgrey,
224
+ De as lightpink,
225
+ Ee as lightsalmon,
226
+ Fe as lightseagreen,
227
+ Ge as lightskyblue,
228
+ He as lightslategray,
229
+ Ie as lightslategrey,
230
+ Je as lightsteelblue,
231
+ Ke as lightyellow,
232
+ d as lime,
233
+ Le as limegreen,
234
+ Me as linen,
235
+ a as maroon,
236
+ Ne as mediumaquamarine,
237
+ Oe as mediumblue,
238
+ Pe as mediumorchid,
239
+ Qe as mediumpurple,
240
+ Re as mediumseagreen,
241
+ Se as mediumslateblue,
242
+ Te as mediumspringgreen,
243
+ Ue as mediumturquoise,
244
+ Ve as mediumvioletred,
245
+ We as midnightblue,
246
+ Xe as mintcream,
247
+ Ye as mistyrose,
248
+ Ze as moccasin,
249
+ _e as navajowhite,
250
+ g as navy,
251
+ eo as oldlace,
252
+ f as olive,
253
+ oo as olivedrab,
254
+ m as orange,
255
+ no as orangered,
256
+ to as orchid,
257
+ ao as palegoldenrod,
258
+ so as palegreen,
259
+ co as paleturquoise,
260
+ ro as palevioletred,
261
+ lo as papayawhip,
262
+ fo as peachpuff,
263
+ io as peru,
264
+ go as pink,
265
+ bo as plum,
266
+ uo as powderblue,
267
+ c as purple,
268
+ Lo as rebeccapurple,
269
+ s as red,
270
+ ho as rosybrown,
271
+ mo as royalblue,
272
+ ko as saddlebrown,
273
+ yo as salmon,
274
+ po as sandybrown,
275
+ wo as seagreen,
276
+ vo as seashell,
277
+ qo as sienna,
278
+ o as silver,
279
+ jo as skyblue,
280
+ zo as slateblue,
281
+ $o as slategray,
282
+ xo as slategrey,
283
+ Ao as snow,
284
+ Bo as springgreen,
285
+ Co as steelblue,
286
+ Do as tan,
287
+ u as teal,
288
+ Eo as thistle,
289
+ Fo as tomato,
290
+ Go as turquoise,
291
+ Ho as violet,
292
+ Io as wheat,
293
+ t as white,
294
+ Jo as whitesmoke,
295
+ i as yellow,
296
+ Ko as yellowgreen
297
+ };
298
+ //# sourceMappingURL=colors.json.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"colors.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,6 @@
1
+ import r from "./colors.json.js";
2
+ var e = r;
3
+ export {
4
+ e as c
5
+ };
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../node_modules/css-color-keywords/index.js"],"sourcesContent":["'use strict'\n\nmodule.exports = require('./colors.json')\n"],"names":["cssColorKeywords","require$$0"],"mappings":";AAEA,IAAAA,IAAiBC;","x_google_ignoreList":[0]}
@@ -0,0 +1,397 @@
1
+ import { getDefaultExportFromCjs as Cr } from "../../_virtual/_commonjsHelpers.js";
2
+ import { __exports as S } from "../../_virtual/index2.js";
3
+ import { l as Vr } from "../postcss-value-parser/lib/index.js";
4
+ import { c as Or } from "../camelize/index.js";
5
+ import { c as $r } from "../css-color-keywords/index.js";
6
+ (function(y) {
7
+ Object.defineProperty(y, "__esModule", {
8
+ value: !0
9
+ });
10
+ function E(n) {
11
+ return n && typeof n == "object" && "default" in n ? n.default : n;
12
+ }
13
+ var A = Vr, k = E(A), ee = E(Or), re = E($r), te = function(e) {
14
+ return e.type !== "string" ? null : e.value.replace(/\\([0-9a-f]{1,6})(?:\s|$)/gi, function(r, t) {
15
+ return String.fromCharCode(parseInt(t, 16));
16
+ }).replace(/\\/g, "");
17
+ }, ae = /^(#(?:[0-9a-f]{3,4}){1,2})$/i, ne = /^(rgba?|hsla?|hwb|lab|lch|gray|color)$/, ie = function(e) {
18
+ return e.type === "word" && (ae.test(e.value) || e.value in re || e.value === "transparent") ? e.value : e.type === "function" && ne.test(e.value) ? A.stringify(e) : null;
19
+ }, se = /^(none)$/i, oe = /^(auto)$/i, fe = /(^-?[_a-z][_a-z0-9-]*$)/i, le = /^([+-]?(?:\d*\.)?\d+(?:e[+-]?\d+)?)$/i, ue = /^(0$|(?:[+-]?(?:\d*\.)?\d+(?:e[+-]?\d+)?)(?=px$))/i, de = /^([+-]?(?:\d*\.)?\d+(?:e[+-]?\d+)?(ch|em|ex|rem|vh|vw|vmin|vmax|cm|mm|in|pc|pt))$/i, ce = /^([+-]?(?:\d*\.)?\d+(?:e[+-]?\d+)?(?:deg|rad))$/i, ve = /^([+-]?(?:\d*\.)?\d+(?:e[+-]?\d+)?%)$/i, F = function(e) {
20
+ return function(r) {
21
+ return e(r) ? "<token>" : null;
22
+ };
23
+ }, he = function(e) {
24
+ return function(r) {
25
+ return r.type === e ? r.value : null;
26
+ };
27
+ }, o = function(e, r) {
28
+ return r === void 0 && (r = String), function(t) {
29
+ if (t.type !== "word") return null;
30
+ var a = t.value.match(e);
31
+ if (a === null) return null;
32
+ var i = r(a[1]);
33
+ return i;
34
+ };
35
+ }, f = F(function(n) {
36
+ return n.type === "space";
37
+ }), I = F(function(n) {
38
+ return n.type === "div" && n.value === "/";
39
+ }), pe = F(function(n) {
40
+ return n.type === "div" && n.value === ",";
41
+ }), xe = he("word"), C = o(se), V = o(oe), p = o(le, Number), u = o(ue, Number), v = o(de), M = o(ce, function(n) {
42
+ return n.toLowerCase();
43
+ }), O = o(ve), b = o(fe), we = te, g = ie, $ = o(/^(none|underline|line-through)$/i), ye = function(e) {
44
+ var r = e.expect(p);
45
+ return e.hasTokens() && (e.expect(I), r /= e.expect(p)), {
46
+ aspectRatio: r
47
+ };
48
+ }, ge = o(/^(solid|dashed|dotted)$/), Te = 1, be = "black", Re = "solid", Ee = function(e) {
49
+ var r, t, a;
50
+ if (e.matches(C))
51
+ return e.expectEmpty(), {
52
+ borderWidth: 0,
53
+ borderColor: "black",
54
+ borderStyle: "solid"
55
+ };
56
+ for (var i = 0; i < 3 && e.hasTokens(); )
57
+ i !== 0 && e.expect(f), r === void 0 && e.matches(u, v) ? r = e.lastValue : t === void 0 && e.matches(g) ? t = e.lastValue : a === void 0 && e.matches(ge) ? a = e.lastValue : e.throw(), i += 1;
58
+ return e.expectEmpty(), r === void 0 && (r = Te), t === void 0 && (t = be), a === void 0 && (a = Re), {
59
+ borderWidth: r,
60
+ borderColor: t,
61
+ borderStyle: a
62
+ };
63
+ }, T = function(e) {
64
+ var r = e.types, t = r === void 0 ? [u, v, O] : r, a = e.directions, i = a === void 0 ? ["Top", "Right", "Bottom", "Left"] : a, s = e.prefix, l = s === void 0 ? "" : s, d = e.suffix, W = d === void 0 ? "" : d;
65
+ return function(c) {
66
+ var w, h = [];
67
+ for (h.push(c.expect.apply(c, t)); h.length < 4 && c.hasTokens(); )
68
+ c.expect(f), h.push(c.expect.apply(c, t));
69
+ c.expectEmpty();
70
+ var m = h[0], J = h[1], Z = J === void 0 ? m : J, q = h[2], Rr = q === void 0 ? m : q, Q = h[3], Er = Q === void 0 ? Z : Q, R = function(Fr) {
71
+ return "" + l + i[Fr] + W;
72
+ };
73
+ return w = {}, w[R(0)] = m, w[R(1)] = Z, w[R(2)] = Rr, w[R(3)] = Er, w;
74
+ };
75
+ }, B = function(e) {
76
+ var r = e.expect(u), t = e.matches(f) ? e.expect(u) : r;
77
+ return e.expectEmpty(), {
78
+ width: r,
79
+ height: t
80
+ };
81
+ }, G = function(e) {
82
+ var r, t, a, i;
83
+ if (e.matches(C))
84
+ return e.expectEmpty(), {
85
+ offset: {
86
+ width: 0,
87
+ height: 0
88
+ },
89
+ radius: 0,
90
+ color: "black"
91
+ };
92
+ for (var s = !1; e.hasTokens(); )
93
+ s && e.expect(f), r === void 0 && e.matches(u, v) ? (r = e.lastValue, e.expect(f), t = e.expect(u, v), e.saveRewindPoint(), e.matches(f) && e.matches(u, v) ? a = e.lastValue : e.rewind()) : i === void 0 && e.matches(g) ? i = e.lastValue : e.throw(), s = !0;
94
+ return r === void 0 && e.throw(), {
95
+ offset: {
96
+ width: r,
97
+ height: t
98
+ },
99
+ radius: a !== void 0 ? a : 0,
100
+ color: i !== void 0 ? i : "black"
101
+ };
102
+ }, Fe = function(e) {
103
+ var r = G(e), t = r.offset, a = r.radius, i = r.color;
104
+ return {
105
+ shadowOffset: t,
106
+ shadowRadius: a,
107
+ shadowColor: i,
108
+ shadowOpacity: 1
109
+ };
110
+ }, Ce = 1, Ve = 1, Oe = 0, $e = function(e) {
111
+ var r, t, a;
112
+ if (e.matches(C))
113
+ return e.expectEmpty(), {
114
+ flexGrow: 0,
115
+ flexShrink: 0,
116
+ flexBasis: "auto"
117
+ };
118
+ if (e.saveRewindPoint(), e.matches(V) && !e.hasTokens())
119
+ return {
120
+ flexGrow: 1,
121
+ flexShrink: 1,
122
+ flexBasis: "auto"
123
+ };
124
+ e.rewind();
125
+ for (var i = 0; i < 2 && e.hasTokens(); )
126
+ i !== 0 && e.expect(f), r === void 0 && e.matches(p) ? (r = e.lastValue, e.saveRewindPoint(), e.matches(f) && e.matches(p) ? t = e.lastValue : e.rewind()) : a === void 0 && e.matches(u, v, O) ? a = e.lastValue : a === void 0 && e.matches(V) ? a = "auto" : e.throw(), i += 1;
127
+ return e.expectEmpty(), r === void 0 && (r = Ce), t === void 0 && (t = Ve), a === void 0 && (a = Oe), {
128
+ flexGrow: r,
129
+ flexShrink: t,
130
+ flexBasis: a
131
+ };
132
+ }, Le = o(/(nowrap|wrap|wrap-reverse)/), _e = o(/(row|row-reverse|column|column-reverse)/), Ne = "nowrap", Pe = "row", De = function(e) {
133
+ for (var r, t, a = 0; a < 2 && e.hasTokens(); )
134
+ a !== 0 && e.expect(f), r === void 0 && e.matches(Le) ? r = e.lastValue : t === void 0 && e.matches(_e) ? t = e.lastValue : e.throw(), a += 1;
135
+ return e.expectEmpty(), r === void 0 && (r = Ne), t === void 0 && (t = Pe), {
136
+ flexWrap: r,
137
+ flexDirection: t
138
+ };
139
+ }, Y = function(e) {
140
+ var r;
141
+ if (e.matches(we))
142
+ r = e.lastValue;
143
+ else
144
+ for (r = e.expect(b); e.hasTokens(); ) {
145
+ e.expect(f);
146
+ var t = e.expect(b);
147
+ r += " " + t;
148
+ }
149
+ return e.expectEmpty(), {
150
+ fontFamily: r
151
+ };
152
+ }, We = o(/^(normal)$/), me = o(/^(italic)$/), Ae = o(/^([1-9]00|bold)$/), Ie = o(/^(small-caps)$/), Me = "normal", Be = "normal", Ge = [], Ye = function(e) {
153
+ for (var r, t, a, i, s = 0; s < 3 && e.hasTokens(); ) {
154
+ if (!e.matches(We)) if (r === void 0 && e.matches(me))
155
+ r = e.lastValue;
156
+ else if (t === void 0 && e.matches(Ae))
157
+ t = e.lastValue;
158
+ else if (a === void 0 && e.matches(Ie))
159
+ a = [e.lastValue];
160
+ else
161
+ break;
162
+ e.expect(f), s += 1;
163
+ }
164
+ var l = e.expect(u, v);
165
+ e.matches(I) && (i = e.expect(u, v)), e.expect(f);
166
+ var d = Y(e), W = d.fontFamily;
167
+ r === void 0 && (r = Me), t === void 0 && (t = Be), a === void 0 && (a = Ge);
168
+ var c = {
169
+ fontStyle: r,
170
+ fontWeight: t,
171
+ fontVariant: a,
172
+ fontSize: l,
173
+ fontFamily: W
174
+ };
175
+ return i !== void 0 && (c.lineHeight = i), c;
176
+ }, je = function(e) {
177
+ for (var r = [e.expect(b)]; e.hasTokens(); )
178
+ e.expect(f), r.push(e.expect(b));
179
+ return {
180
+ fontVariant: r
181
+ };
182
+ }, He = o(/(flex-(?:start|end)|center|stretch|space-(?:between|around))/), Ue = o(/(flex-(?:start|end)|center|space-(?:between|around|evenly))/), Xe = function(e) {
183
+ var r = e.expect(He), t;
184
+ return e.hasTokens() ? (e.expect(f), t = e.expect(Ue)) : t = "stretch", e.expectEmpty(), {
185
+ alignContent: r,
186
+ justifyContent: t
187
+ };
188
+ }, ze = o(/^(solid|double|dotted|dashed)$/), Ke = "none", Je = "solid", Ze = "black", qe = function(e) {
189
+ for (var r, t, a, i = !1; e.hasTokens(); ) {
190
+ if (i && e.expect(f), r === void 0 && e.matches($)) {
191
+ var s = [e.lastValue.toLowerCase()];
192
+ e.saveRewindPoint(), s[0] !== "none" && e.matches(f) && e.matches($) ? (s.push(e.lastValue.toLowerCase()), s.sort().reverse()) : e.rewind(), r = s.join(" ");
193
+ } else t === void 0 && e.matches(ze) ? t = e.lastValue : a === void 0 && e.matches(g) ? a = e.lastValue : e.throw();
194
+ i = !0;
195
+ }
196
+ return {
197
+ textDecorationLine: r !== void 0 ? r : Ke,
198
+ textDecorationColor: a !== void 0 ? a : Ze,
199
+ textDecorationStyle: t !== void 0 ? t : Je
200
+ };
201
+ }, Qe = function(e) {
202
+ for (var r = [], t = !1; e.hasTokens(); )
203
+ t && e.expect(f), r.push(e.expect($).toLowerCase()), t = !0;
204
+ return r.sort().reverse(), {
205
+ textDecorationLine: r.join(" ")
206
+ };
207
+ }, Se = function(e) {
208
+ var r = G(e), t = r.offset, a = r.radius, i = r.color;
209
+ return {
210
+ textShadowOffset: t,
211
+ textShadowRadius: a,
212
+ textShadowColor: i
213
+ };
214
+ }, L = function(e) {
215
+ return function(r) {
216
+ var t = r.expect(e);
217
+ return r.expectEmpty(), t;
218
+ };
219
+ }, _ = L(p), j = L(u), x = L(M), N = function(e) {
220
+ return function(r, t) {
221
+ return function(a) {
222
+ var i, s, l = a.expect(e), d;
223
+ if (a.hasTokens())
224
+ a.expect(pe), d = a.expect(e);
225
+ else if (t !== void 0)
226
+ d = t;
227
+ else
228
+ return l;
229
+ return a.expectEmpty(), [(i = {}, i[r + "Y"] = d, i), (s = {}, s[r + "X"] = l, s)];
230
+ };
231
+ };
232
+ }, ke = N(p), er = N(u), rr = N(M), tr = {
233
+ perspective: _,
234
+ scale: ke("scale"),
235
+ scaleX: _,
236
+ scaleY: _,
237
+ translate: er("translate", 0),
238
+ translateX: j,
239
+ translateY: j,
240
+ rotate: x,
241
+ rotateX: x,
242
+ rotateY: x,
243
+ rotateZ: x,
244
+ skewX: x,
245
+ skewY: x,
246
+ skew: rr("skew", "0deg")
247
+ }, ar = function(e) {
248
+ for (var r = [], t = !1; e.hasTokens(); ) {
249
+ t && e.expect(f);
250
+ var a = e.expectFunction(), i = a.functionName, s = tr[i](a);
251
+ if (!Array.isArray(s)) {
252
+ var l;
253
+ s = [(l = {}, l[i] = s, l)];
254
+ }
255
+ r = s.concat(r), t = !0;
256
+ }
257
+ return {
258
+ transform: r
259
+ };
260
+ }, nr = function(e) {
261
+ return {
262
+ backgroundColor: e.expect(g)
263
+ };
264
+ }, ir = T({
265
+ types: [g],
266
+ prefix: "border",
267
+ suffix: "Color"
268
+ }), sr = T({
269
+ directions: ["TopLeft", "TopRight", "BottomRight", "BottomLeft"],
270
+ prefix: "border",
271
+ suffix: "Radius"
272
+ }), or = T({
273
+ prefix: "border",
274
+ suffix: "Width"
275
+ }), fr = T({
276
+ types: [u, v, O, V],
277
+ prefix: "margin"
278
+ }), lr = T({
279
+ prefix: "padding"
280
+ }), ur = function(e) {
281
+ return {
282
+ fontWeight: e.expect(xe)
283
+ // Also match numbers as strings
284
+ };
285
+ }, dr = function(e) {
286
+ return {
287
+ shadowOffset: B(e)
288
+ };
289
+ }, cr = function(e) {
290
+ return {
291
+ textShadowOffset: B(e)
292
+ };
293
+ }, H = {
294
+ aspectRatio: ye,
295
+ background: nr,
296
+ border: Ee,
297
+ borderColor: ir,
298
+ borderRadius: sr,
299
+ borderWidth: or,
300
+ boxShadow: Fe,
301
+ flex: $e,
302
+ flexFlow: De,
303
+ font: Ye,
304
+ fontFamily: Y,
305
+ fontVariant: je,
306
+ fontWeight: ur,
307
+ margin: fr,
308
+ padding: lr,
309
+ placeContent: Xe,
310
+ shadowOffset: dr,
311
+ textShadow: Se,
312
+ textShadowOffset: cr,
313
+ textDecoration: qe,
314
+ textDecorationLine: Qe,
315
+ transform: ar
316
+ }, P;
317
+ process.env.NODE_ENV !== "production" && (P = ["aspectRatio", "elevation", "flexGrow", "flexShrink", "opacity", "shadowOpacity", "zIndex"]);
318
+ var vr = P != null ? new RegExp(P.join("|")) : null, D = "SYMBOL_MATCH", hr = /* @__PURE__ */ function() {
319
+ function n(r, t) {
320
+ this.index = 0, this.nodes = r, this.functionName = t != null ? t.value : null, this.lastValue = null, this.rewindIndex = -1;
321
+ }
322
+ var e = n.prototype;
323
+ return e.hasTokens = function() {
324
+ return this.index <= this.nodes.length - 1;
325
+ }, e[D] = function() {
326
+ if (!this.hasTokens()) return null;
327
+ for (var r = this.nodes[this.index], t = 0; t < arguments.length; t += 1) {
328
+ var a = t < 0 || arguments.length <= t ? void 0 : arguments[t], i = a(r);
329
+ if (i !== null)
330
+ return this.index += 1, this.lastValue = i, i;
331
+ }
332
+ return null;
333
+ }, e.matches = function() {
334
+ return this[D].apply(this, arguments) !== null;
335
+ }, e.expect = function() {
336
+ var t = this[D].apply(this, arguments);
337
+ return t !== null ? t : this.throw();
338
+ }, e.matchesFunction = function() {
339
+ var t = this.nodes[this.index];
340
+ if (t.type !== "function") return null;
341
+ var a = new n(t.nodes, t);
342
+ return this.index += 1, this.lastValue = null, a;
343
+ }, e.expectFunction = function() {
344
+ var t = this.matchesFunction();
345
+ return t !== null ? t : this.throw();
346
+ }, e.expectEmpty = function() {
347
+ this.hasTokens() && this.throw();
348
+ }, e.throw = function() {
349
+ throw new Error("Unexpected token type: " + this.nodes[this.index].type);
350
+ }, e.saveRewindPoint = function() {
351
+ this.rewindIndex = this.index;
352
+ }, e.rewind = function() {
353
+ if (this.rewindIndex === -1) throw new Error("Internal error");
354
+ this.index = this.rewindIndex, this.lastValue = null;
355
+ }, n;
356
+ }(), pr = /^([+-]?(?:\d*\.)?\d+(?:e[+-]?\d+)?)(?:px)?$/i, xr = /^[+-]?(?:\d*\.\d*|[1-9]\d*)(?:e[+-]?\d+)?$/i, wr = /^true|false$/i, yr = /^null$/i, gr = /^undefined$/i, U = function(e, r) {
357
+ if (process.env.NODE_ENV !== "production") {
358
+ var t = !vr.test(e), a = xr.test(r);
359
+ t && a && console.warn('Expected style "' + e + ": " + r + '" to contain units'), !t && r !== "0" && !a && console.warn('Expected style "' + e + ": " + r + '" to be unitless');
360
+ }
361
+ var i = r.match(pr);
362
+ if (i !== null) return Number(i[1]);
363
+ var s = r.match(wr);
364
+ if (s !== null) return s[0].toLowerCase() === "true";
365
+ var l = r.match(yr);
366
+ if (l !== null) return null;
367
+ var d = r.match(gr);
368
+ if (d === null)
369
+ return r;
370
+ }, X = function(e, r) {
371
+ var t = k(r), a = new hr(t.nodes);
372
+ return H[e](a);
373
+ }, Tr = process.env.NODE_ENV === "production" ? X : function(n, e) {
374
+ try {
375
+ return X(n, e);
376
+ } catch {
377
+ throw new Error('Failed to parse declaration "' + n + ": " + e + '"');
378
+ }
379
+ }, z = function(e, r, t) {
380
+ var a, i = t === !1 || !(e in H), s = r.trim(), l = i ? (a = {}, a[e] = U(e, s), a) : Tr(e, s);
381
+ return l;
382
+ }, K = function(e) {
383
+ var r = /^--\w+/.test(e);
384
+ return r ? e : ee(e);
385
+ }, br = function(e, r) {
386
+ return r === void 0 && (r = []), e.reduce(function(t, a) {
387
+ var i = K(a[0]), s = a[1], l = r.indexOf(i) === -1;
388
+ return Object.assign(t, z(i, s, l));
389
+ }, {});
390
+ };
391
+ y.default = br, y.getPropertyName = K, y.getStylesForProperty = z, y.transformRawValue = U;
392
+ })(S);
393
+ const mr = /* @__PURE__ */ Cr(S);
394
+ export {
395
+ mr as default
396
+ };
397
+ //# sourceMappingURL=index.js.map