@loopr-ai/craft 0.1.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/dist/ButtonBase-750a4103.js +832 -0
  2. package/dist/TransitionGroupContext-e16207d6.js +127 -0
  3. package/dist/assets/theme.css +1 -0
  4. package/dist/chainPropTypes-004bf492.js +8 -0
  5. package/dist/components/cell/AvatarGroup/index.d.ts +31 -0
  6. package/dist/components/cell/AvatarGroup/index.js +390 -0
  7. package/dist/components/cell/Button/index.d.ts +19 -4
  8. package/dist/components/cell/Button/index.js +383 -4
  9. package/dist/components/cell/Chip/index.d.ts +27 -0
  10. package/dist/components/cell/Chip/index.js +483 -0
  11. package/dist/components/cell/ProgressBar/index.d.ts +27 -0
  12. package/dist/components/cell/ProgressBar/index.js +326 -0
  13. package/dist/components/cell/Search/index.d.ts +25 -0
  14. package/dist/components/cell/Search/index.js +26358 -0
  15. package/dist/components/cell/Typography/index.d.ts +20 -0
  16. package/dist/components/cell/Typography/index.js +217 -0
  17. package/dist/createSvgIcon-5dcb7caa.js +184 -0
  18. package/dist/createTheme-95c30431.js +2221 -0
  19. package/dist/emotion-react.browser.esm-ff33c213.js +439 -0
  20. package/dist/exactProp-a28c53c1.js +13 -0
  21. package/dist/global/colors.d.ts +16 -0
  22. package/dist/global/colors.js +22 -0
  23. package/dist/global/constants.js +1 -0
  24. package/dist/global/enums.js +1 -0
  25. package/dist/global/interfaces.d.ts +6 -0
  26. package/dist/global/interfaces.js +1 -0
  27. package/dist/global/theme.d.ts +35 -0
  28. package/dist/global/theme.js +76 -0
  29. package/dist/main.d.ts +8 -2
  30. package/dist/main.js +14 -4
  31. package/dist/providers/CraftThemeProvider.d.ts +16 -0
  32. package/dist/providers/CraftThemeProvider.js +135 -0
  33. package/dist/providers/index.d.ts +2 -0
  34. package/dist/providers/index.js +4 -0
  35. package/dist/styled-05df7dc6.js +699 -0
  36. package/dist/unsupportedProp-3dbf01f6.js +9 -0
  37. package/dist/useTheme-462e5dc6.js +10 -0
  38. package/dist/useThemeWithoutDefault-188598a8.js +950 -0
  39. package/package.json +24 -3
  40. package/dist/components/cell/Input/index.d.ts +0 -5
  41. package/dist/components/cell/Input/index.js +0 -6
@@ -0,0 +1,699 @@
1
+ import { _ as E, g as we, h as re, a as ne, c as z, s as Ce, f as xe } from "./createTheme-95c30431.js";
2
+ import { m as ke, w as Oe, a as $e, g as Ae, s as Fe, r as Me, b as Ie, i as Le, c as Ne, T as oe } from "./useThemeWithoutDefault-188598a8.js";
3
+ import * as F from "react";
4
+ var j = { exports: {} }, f = {};
5
+ /**
6
+ * @license React
7
+ * react-is.production.min.js
8
+ *
9
+ * Copyright (c) Facebook, Inc. and its affiliates.
10
+ *
11
+ * This source code is licensed under the MIT license found in the
12
+ * LICENSE file in the root directory of this source tree.
13
+ */
14
+ var X;
15
+ function De() {
16
+ if (X)
17
+ return f;
18
+ X = 1;
19
+ var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), a = Symbol.for("react.context"), S = Symbol.for("react.server_context"), m = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), P = Symbol.for("react.offscreen"), g;
20
+ g = Symbol.for("react.module.reference");
21
+ function c(o) {
22
+ if (typeof o == "object" && o !== null) {
23
+ var T = o.$$typeof;
24
+ switch (T) {
25
+ case e:
26
+ switch (o = o.type, o) {
27
+ case n:
28
+ case i:
29
+ case r:
30
+ case h:
31
+ case p:
32
+ return o;
33
+ default:
34
+ switch (o = o && o.$$typeof, o) {
35
+ case S:
36
+ case a:
37
+ case m:
38
+ case b:
39
+ case v:
40
+ case l:
41
+ return o;
42
+ default:
43
+ return T;
44
+ }
45
+ }
46
+ case t:
47
+ return T;
48
+ }
49
+ }
50
+ }
51
+ return f.ContextConsumer = a, f.ContextProvider = l, f.Element = e, f.ForwardRef = m, f.Fragment = n, f.Lazy = b, f.Memo = v, f.Portal = t, f.Profiler = i, f.StrictMode = r, f.Suspense = h, f.SuspenseList = p, f.isAsyncMode = function() {
52
+ return !1;
53
+ }, f.isConcurrentMode = function() {
54
+ return !1;
55
+ }, f.isContextConsumer = function(o) {
56
+ return c(o) === a;
57
+ }, f.isContextProvider = function(o) {
58
+ return c(o) === l;
59
+ }, f.isElement = function(o) {
60
+ return typeof o == "object" && o !== null && o.$$typeof === e;
61
+ }, f.isForwardRef = function(o) {
62
+ return c(o) === m;
63
+ }, f.isFragment = function(o) {
64
+ return c(o) === n;
65
+ }, f.isLazy = function(o) {
66
+ return c(o) === b;
67
+ }, f.isMemo = function(o) {
68
+ return c(o) === v;
69
+ }, f.isPortal = function(o) {
70
+ return c(o) === t;
71
+ }, f.isProfiler = function(o) {
72
+ return c(o) === i;
73
+ }, f.isStrictMode = function(o) {
74
+ return c(o) === r;
75
+ }, f.isSuspense = function(o) {
76
+ return c(o) === h;
77
+ }, f.isSuspenseList = function(o) {
78
+ return c(o) === p;
79
+ }, f.isValidElementType = function(o) {
80
+ return typeof o == "string" || typeof o == "function" || o === n || o === i || o === r || o === h || o === p || o === P || typeof o == "object" && o !== null && (o.$$typeof === b || o.$$typeof === v || o.$$typeof === l || o.$$typeof === a || o.$$typeof === m || o.$$typeof === g || o.getModuleId !== void 0);
81
+ }, f.typeOf = c, f;
82
+ }
83
+ var d = {};
84
+ /**
85
+ * @license React
86
+ * react-is.development.js
87
+ *
88
+ * Copyright (c) Facebook, Inc. and its affiliates.
89
+ *
90
+ * This source code is licensed under the MIT license found in the
91
+ * LICENSE file in the root directory of this source tree.
92
+ */
93
+ var B;
94
+ function ze() {
95
+ return B || (B = 1, process.env.NODE_ENV !== "production" && function() {
96
+ var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), a = Symbol.for("react.context"), S = Symbol.for("react.server_context"), m = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), P = Symbol.for("react.offscreen"), g = !1, c = !1, o = !1, T = !1, k = !1, R;
97
+ R = Symbol.for("react.module.reference");
98
+ function _(s) {
99
+ return !!(typeof s == "string" || typeof s == "function" || s === n || s === i || k || s === r || s === h || s === p || T || s === P || g || c || o || typeof s == "object" && s !== null && (s.$$typeof === b || s.$$typeof === v || s.$$typeof === l || s.$$typeof === a || s.$$typeof === m || // This needs to include all possible module reference object
100
+ // types supported by any Flight configuration anywhere since
101
+ // we don't know which Flight build this will end up being used
102
+ // with.
103
+ s.$$typeof === R || s.getModuleId !== void 0));
104
+ }
105
+ function y(s) {
106
+ if (typeof s == "object" && s !== null) {
107
+ var V = s.$$typeof;
108
+ switch (V) {
109
+ case e:
110
+ var D = s.type;
111
+ switch (D) {
112
+ case n:
113
+ case i:
114
+ case r:
115
+ case h:
116
+ case p:
117
+ return D;
118
+ default:
119
+ var W = D && D.$$typeof;
120
+ switch (W) {
121
+ case S:
122
+ case a:
123
+ case m:
124
+ case b:
125
+ case v:
126
+ case l:
127
+ return W;
128
+ default:
129
+ return V;
130
+ }
131
+ }
132
+ case t:
133
+ return V;
134
+ }
135
+ }
136
+ }
137
+ var w = a, O = l, $ = e, C = m, u = n, x = b, L = v, N = t, Y = i, A = r, ue = h, fe = p, q = !1, H = !1;
138
+ function de(s) {
139
+ return q || (q = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
140
+ }
141
+ function me(s) {
142
+ return H || (H = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
143
+ }
144
+ function pe(s) {
145
+ return y(s) === a;
146
+ }
147
+ function he(s) {
148
+ return y(s) === l;
149
+ }
150
+ function ye(s) {
151
+ return typeof s == "object" && s !== null && s.$$typeof === e;
152
+ }
153
+ function ve(s) {
154
+ return y(s) === m;
155
+ }
156
+ function ge(s) {
157
+ return y(s) === n;
158
+ }
159
+ function Se(s) {
160
+ return y(s) === b;
161
+ }
162
+ function _e(s) {
163
+ return y(s) === v;
164
+ }
165
+ function be(s) {
166
+ return y(s) === t;
167
+ }
168
+ function Ee(s) {
169
+ return y(s) === i;
170
+ }
171
+ function Te(s) {
172
+ return y(s) === r;
173
+ }
174
+ function Pe(s) {
175
+ return y(s) === h;
176
+ }
177
+ function Re(s) {
178
+ return y(s) === p;
179
+ }
180
+ d.ContextConsumer = w, d.ContextProvider = O, d.Element = $, d.ForwardRef = C, d.Fragment = u, d.Lazy = x, d.Memo = L, d.Portal = N, d.Profiler = Y, d.StrictMode = A, d.Suspense = ue, d.SuspenseList = fe, d.isAsyncMode = de, d.isConcurrentMode = me, d.isContextConsumer = pe, d.isContextProvider = he, d.isElement = ye, d.isForwardRef = ve, d.isFragment = ge, d.isLazy = Se, d.isMemo = _e, d.isPortal = be, d.isProfiler = Ee, d.isStrictMode = Te, d.isSuspense = Pe, d.isSuspenseList = Re, d.isValidElementType = _, d.typeOf = y;
181
+ }()), d;
182
+ }
183
+ process.env.NODE_ENV === "production" ? j.exports = De() : j.exports = ze();
184
+ var G = j.exports;
185
+ const Ye = /^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;
186
+ function Ve(e) {
187
+ const t = `${e}`.match(Ye);
188
+ return t && t[1] || "";
189
+ }
190
+ function ie(e, t = "") {
191
+ return e.displayName || e.name || Ve(e) || t;
192
+ }
193
+ function K(e, t, n) {
194
+ const r = ie(t);
195
+ return e.displayName || (r !== "" ? `${n}(${r})` : n);
196
+ }
197
+ function je(e) {
198
+ if (e != null) {
199
+ if (typeof e == "string")
200
+ return e;
201
+ if (typeof e == "function")
202
+ return ie(e, "Component");
203
+ if (typeof e == "object")
204
+ switch (e.$$typeof) {
205
+ case G.ForwardRef:
206
+ return K(e, e.render, "ForwardRef");
207
+ case G.Memo:
208
+ return K(e, e.type, "memo");
209
+ default:
210
+ return;
211
+ }
212
+ }
213
+ }
214
+ function se(e, t) {
215
+ const n = E({}, t);
216
+ return Object.keys(e).forEach((r) => {
217
+ if (r.toString().match(/^(components|slots)$/))
218
+ n[r] = E({}, e[r], n[r]);
219
+ else if (r.toString().match(/^(componentsProps|slotProps)$/)) {
220
+ const i = e[r] || {}, l = t[r];
221
+ n[r] = {}, !l || !Object.keys(l) ? n[r] = i : !i || !Object.keys(i) ? n[r] = l : (n[r] = E({}, l), Object.keys(i).forEach((a) => {
222
+ n[r][a] = se(i[a], l[a]);
223
+ }));
224
+ } else
225
+ n[r] === void 0 && (n[r] = e[r]);
226
+ }), n;
227
+ }
228
+ function vt(e, t, n = void 0) {
229
+ const r = {};
230
+ return Object.keys(e).forEach(
231
+ // `Object.keys(slots)` can't be wider than `T` because we infer `T` from `slots`.
232
+ // @ts-expect-error https://github.com/microsoft/TypeScript/pull/12253#issuecomment-263132208
233
+ (i) => {
234
+ r[i] = e[i].reduce((l, a) => {
235
+ if (a) {
236
+ const S = t(a);
237
+ S !== "" && l.push(S), n && n[a] && l.push(n[a]);
238
+ }
239
+ return l;
240
+ }, []).join(" ");
241
+ }
242
+ ), r;
243
+ }
244
+ function gt(e, t, n = "Mui") {
245
+ const r = {};
246
+ return t.forEach((i) => {
247
+ r[i] = we(e, i, n);
248
+ }), r;
249
+ }
250
+ var Ue = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, qe = /* @__PURE__ */ ke(
251
+ function(e) {
252
+ return Ue.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
253
+ }
254
+ /* Z+1 */
255
+ ), He = qe, We = function(t) {
256
+ return t !== "theme";
257
+ }, J = function(t) {
258
+ return typeof t == "string" && // 96 is one less than the char code
259
+ // for "a" so this is checking that
260
+ // it's a lowercase character
261
+ t.charCodeAt(0) > 96 ? He : We;
262
+ }, Z = function(t, n, r) {
263
+ var i;
264
+ if (n) {
265
+ var l = n.shouldForwardProp;
266
+ i = t.__emotion_forwardProp && l ? function(a) {
267
+ return t.__emotion_forwardProp(a) && l(a);
268
+ } : l;
269
+ }
270
+ return typeof i != "function" && r && (i = t.__emotion_forwardProp), i;
271
+ }, Q = `You have illegal escape sequence in your template literal, most likely inside content's property value.
272
+ Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
273
+ You can read more about this here:
274
+ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`, Xe = function(t) {
275
+ var n = t.cache, r = t.serialized, i = t.isStringTag;
276
+ return Me(n, r, i), Ie(function() {
277
+ return Le(n, r, i);
278
+ }), null;
279
+ }, Be = function e(t, n) {
280
+ if (process.env.NODE_ENV !== "production" && t === void 0)
281
+ throw new Error(`You are trying to create a styled element with an undefined component.
282
+ You may have forgotten to import it.`);
283
+ var r = t.__emotion_real === t, i = r && t.__emotion_base || t, l, a;
284
+ n !== void 0 && (l = n.label, a = n.target);
285
+ var S = Z(t, n, r), m = S || J(i), h = !m("as");
286
+ return function() {
287
+ var p = arguments, v = r && t.__emotion_styles !== void 0 ? t.__emotion_styles.slice(0) : [];
288
+ if (l !== void 0 && v.push("label:" + l + ";"), p[0] == null || p[0].raw === void 0)
289
+ v.push.apply(v, p);
290
+ else {
291
+ process.env.NODE_ENV !== "production" && p[0][0] === void 0 && console.error(Q), v.push(p[0][0]);
292
+ for (var b = p.length, P = 1; P < b; P++)
293
+ process.env.NODE_ENV !== "production" && p[0][P] === void 0 && console.error(Q), v.push(p[P], p[0][P]);
294
+ }
295
+ var g = Oe(function(c, o, T) {
296
+ var k = h && c.as || i, R = "", _ = [], y = c;
297
+ if (c.theme == null) {
298
+ y = {};
299
+ for (var w in c)
300
+ y[w] = c[w];
301
+ y.theme = F.useContext($e);
302
+ }
303
+ typeof c.className == "string" ? R = Ae(o.registered, _, c.className) : c.className != null && (R = c.className + " ");
304
+ var O = Fe(v.concat(_), o.registered, y);
305
+ R += o.key + "-" + O.name, a !== void 0 && (R += " " + a);
306
+ var $ = h && S === void 0 ? J(k) : m, C = {};
307
+ for (var u in c)
308
+ h && u === "as" || // $FlowFixMe
309
+ $(u) && (C[u] = c[u]);
310
+ return C.className = R, C.ref = T, /* @__PURE__ */ F.createElement(F.Fragment, null, /* @__PURE__ */ F.createElement(Xe, {
311
+ cache: o,
312
+ serialized: O,
313
+ isStringTag: typeof k == "string"
314
+ }), /* @__PURE__ */ F.createElement(k, C));
315
+ });
316
+ return g.displayName = l !== void 0 ? l : "Styled(" + (typeof i == "string" ? i : i.displayName || i.name || "Component") + ")", g.defaultProps = t.defaultProps, g.__emotion_real = g, g.__emotion_base = i, g.__emotion_styles = v, g.__emotion_forwardProp = S, Object.defineProperty(g, "toString", {
317
+ value: function() {
318
+ return a === void 0 && process.env.NODE_ENV !== "production" ? "NO_COMPONENT_SELECTOR" : "." + a;
319
+ }
320
+ }), g.withComponent = function(c, o) {
321
+ return e(c, E({}, n, o, {
322
+ shouldForwardProp: Z(g, o, !0)
323
+ })).apply(void 0, v);
324
+ }, g;
325
+ };
326
+ }, Ge = [
327
+ "a",
328
+ "abbr",
329
+ "address",
330
+ "area",
331
+ "article",
332
+ "aside",
333
+ "audio",
334
+ "b",
335
+ "base",
336
+ "bdi",
337
+ "bdo",
338
+ "big",
339
+ "blockquote",
340
+ "body",
341
+ "br",
342
+ "button",
343
+ "canvas",
344
+ "caption",
345
+ "cite",
346
+ "code",
347
+ "col",
348
+ "colgroup",
349
+ "data",
350
+ "datalist",
351
+ "dd",
352
+ "del",
353
+ "details",
354
+ "dfn",
355
+ "dialog",
356
+ "div",
357
+ "dl",
358
+ "dt",
359
+ "em",
360
+ "embed",
361
+ "fieldset",
362
+ "figcaption",
363
+ "figure",
364
+ "footer",
365
+ "form",
366
+ "h1",
367
+ "h2",
368
+ "h3",
369
+ "h4",
370
+ "h5",
371
+ "h6",
372
+ "head",
373
+ "header",
374
+ "hgroup",
375
+ "hr",
376
+ "html",
377
+ "i",
378
+ "iframe",
379
+ "img",
380
+ "input",
381
+ "ins",
382
+ "kbd",
383
+ "keygen",
384
+ "label",
385
+ "legend",
386
+ "li",
387
+ "link",
388
+ "main",
389
+ "map",
390
+ "mark",
391
+ "marquee",
392
+ "menu",
393
+ "menuitem",
394
+ "meta",
395
+ "meter",
396
+ "nav",
397
+ "noscript",
398
+ "object",
399
+ "ol",
400
+ "optgroup",
401
+ "option",
402
+ "output",
403
+ "p",
404
+ "param",
405
+ "picture",
406
+ "pre",
407
+ "progress",
408
+ "q",
409
+ "rp",
410
+ "rt",
411
+ "ruby",
412
+ "s",
413
+ "samp",
414
+ "script",
415
+ "section",
416
+ "select",
417
+ "small",
418
+ "source",
419
+ "span",
420
+ "strong",
421
+ "style",
422
+ "sub",
423
+ "summary",
424
+ "sup",
425
+ "table",
426
+ "tbody",
427
+ "td",
428
+ "textarea",
429
+ "tfoot",
430
+ "th",
431
+ "thead",
432
+ "time",
433
+ "title",
434
+ "tr",
435
+ "track",
436
+ "u",
437
+ "ul",
438
+ "var",
439
+ "video",
440
+ "wbr",
441
+ // SVG
442
+ "circle",
443
+ "clipPath",
444
+ "defs",
445
+ "ellipse",
446
+ "foreignObject",
447
+ "g",
448
+ "image",
449
+ "line",
450
+ "linearGradient",
451
+ "mask",
452
+ "path",
453
+ "pattern",
454
+ "polygon",
455
+ "polyline",
456
+ "radialGradient",
457
+ "rect",
458
+ "stop",
459
+ "svg",
460
+ "text",
461
+ "tspan"
462
+ ], U = Be.bind();
463
+ Ge.forEach(function(e) {
464
+ U[e] = U(e);
465
+ });
466
+ /**
467
+ * @mui/styled-engine v5.14.9
468
+ *
469
+ * @license MIT
470
+ * This source code is licensed under the MIT license found in the
471
+ * LICENSE file in the root directory of this source tree.
472
+ */
473
+ function Ke(e, t) {
474
+ const n = U(e, t);
475
+ return process.env.NODE_ENV !== "production" ? (...r) => {
476
+ const i = typeof e == "string" ? `"${e}"` : "component";
477
+ return r.length === 0 ? console.error([`MUI: Seems like you called \`styled(${i})()\` without a \`style\` argument.`, 'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
478
+ `)) : r.some((l) => l === void 0) && console.error(`MUI: the styled(${i})(...args) API requires all its args to be defined.`), n(...r);
479
+ } : n;
480
+ }
481
+ const Je = (e, t) => {
482
+ Array.isArray(e.__emotion_styles) && (e.__emotion_styles = t(e.__emotion_styles));
483
+ }, Ze = re();
484
+ function Qe(e = Ze) {
485
+ return Ne(e);
486
+ }
487
+ function ae(e) {
488
+ var t, n, r = "";
489
+ if (typeof e == "string" || typeof e == "number")
490
+ r += e;
491
+ else if (typeof e == "object")
492
+ if (Array.isArray(e))
493
+ for (t = 0; t < e.length; t++)
494
+ e[t] && (n = ae(e[t])) && (r && (r += " "), r += n);
495
+ else
496
+ for (t in e)
497
+ e[t] && (r && (r += " "), r += t);
498
+ return r;
499
+ }
500
+ function St() {
501
+ for (var e, t, n = 0, r = ""; n < arguments.length; )
502
+ (e = arguments[n++]) && (t = ae(e)) && (r && (r += " "), r += t);
503
+ return r;
504
+ }
505
+ const et = ["variant"];
506
+ function ee(e) {
507
+ return e.length === 0;
508
+ }
509
+ function le(e) {
510
+ const {
511
+ variant: t
512
+ } = e, n = ne(e, et);
513
+ let r = t || "";
514
+ return Object.keys(n).sort().forEach((i) => {
515
+ i === "color" ? r += ee(r) ? e[i] : z(e[i]) : r += `${ee(r) ? i : z(i)}${z(e[i].toString())}`;
516
+ }), r;
517
+ }
518
+ const tt = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
519
+ function rt(e) {
520
+ return Object.keys(e).length === 0;
521
+ }
522
+ function nt(e) {
523
+ return typeof e == "string" && // 96 is one less than the char code
524
+ // for "a" so this is checking that
525
+ // it's a lowercase character
526
+ e.charCodeAt(0) > 96;
527
+ }
528
+ const ot = (e, t) => t.components && t.components[e] && t.components[e].styleOverrides ? t.components[e].styleOverrides : null, it = (e, t) => {
529
+ let n = [];
530
+ t && t.components && t.components[e] && t.components[e].variants && (n = t.components[e].variants);
531
+ const r = {};
532
+ return n.forEach((i) => {
533
+ const l = le(i.props);
534
+ r[l] = i.style;
535
+ }), r;
536
+ }, st = (e, t, n, r) => {
537
+ var i;
538
+ const {
539
+ ownerState: l = {}
540
+ } = e, a = [], S = n == null || (i = n.components) == null || (i = i[r]) == null ? void 0 : i.variants;
541
+ return S && S.forEach((m) => {
542
+ let h = !0;
543
+ Object.keys(m.props).forEach((p) => {
544
+ l[p] !== m.props[p] && e[p] !== m.props[p] && (h = !1);
545
+ }), h && a.push(t[le(m.props)]);
546
+ }), a;
547
+ };
548
+ function I(e) {
549
+ return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
550
+ }
551
+ const at = re(), te = (e) => e && e.charAt(0).toLowerCase() + e.slice(1);
552
+ function M({
553
+ defaultTheme: e,
554
+ theme: t,
555
+ themeId: n
556
+ }) {
557
+ return rt(t) ? e : t[n] || t;
558
+ }
559
+ function lt(e) {
560
+ return e ? (t, n) => n[e] : null;
561
+ }
562
+ function ct(e = {}) {
563
+ const {
564
+ themeId: t,
565
+ defaultTheme: n = at,
566
+ rootShouldForwardProp: r = I,
567
+ slotShouldForwardProp: i = I
568
+ } = e, l = (a) => Ce(E({}, a, {
569
+ theme: M(E({}, a, {
570
+ defaultTheme: n,
571
+ themeId: t
572
+ }))
573
+ }));
574
+ return l.__mui_systemSx = !0, (a, S = {}) => {
575
+ Je(a, (_) => _.filter((y) => !(y != null && y.__mui_systemSx)));
576
+ const {
577
+ name: m,
578
+ slot: h,
579
+ skipVariantsResolver: p,
580
+ skipSx: v,
581
+ // TODO v6: remove `lowercaseFirstLetter()` in the next major release
582
+ // For more details: https://github.com/mui/material-ui/pull/37908
583
+ overridesResolver: b = lt(te(h))
584
+ } = S, P = ne(S, tt), g = p !== void 0 ? p : (
585
+ // TODO v6: remove `Root` in the next major release
586
+ // For more details: https://github.com/mui/material-ui/pull/37908
587
+ h && h !== "Root" && h !== "root" || !1
588
+ ), c = v || !1;
589
+ let o;
590
+ process.env.NODE_ENV !== "production" && m && (o = `${m}-${te(h || "Root")}`);
591
+ let T = I;
592
+ h === "Root" || h === "root" ? T = r : h ? T = i : nt(a) && (T = void 0);
593
+ const k = Ke(a, E({
594
+ shouldForwardProp: T,
595
+ label: o
596
+ }, P)), R = (_, ...y) => {
597
+ const w = y ? y.map((u) => typeof u == "function" && u.__emotion_real !== u ? (x) => u(E({}, x, {
598
+ theme: M(E({}, x, {
599
+ defaultTheme: n,
600
+ themeId: t
601
+ }))
602
+ })) : u) : [];
603
+ let O = _;
604
+ m && b && w.push((u) => {
605
+ const x = M(E({}, u, {
606
+ defaultTheme: n,
607
+ themeId: t
608
+ })), L = ot(m, x);
609
+ if (L) {
610
+ const N = {};
611
+ return Object.entries(L).forEach(([Y, A]) => {
612
+ N[Y] = typeof A == "function" ? A(E({}, u, {
613
+ theme: x
614
+ })) : A;
615
+ }), b(u, N);
616
+ }
617
+ return null;
618
+ }), m && !g && w.push((u) => {
619
+ const x = M(E({}, u, {
620
+ defaultTheme: n,
621
+ themeId: t
622
+ }));
623
+ return st(u, it(m, x), x, m);
624
+ }), c || w.push(l);
625
+ const $ = w.length - y.length;
626
+ if (Array.isArray(_) && $ > 0) {
627
+ const u = new Array($).fill("");
628
+ O = [..._, ...u], O.raw = [..._.raw, ...u];
629
+ } else
630
+ typeof _ == "function" && // On the server Emotion doesn't use React.forwardRef for creating components, so the created
631
+ // component stays as a function. This condition makes sure that we do not interpolate functions
632
+ // which are basically components used as a selectors.
633
+ _.__emotion_real !== _ && (O = (u) => _(E({}, u, {
634
+ theme: M(E({}, u, {
635
+ defaultTheme: n,
636
+ themeId: t
637
+ }))
638
+ })));
639
+ const C = k(O, ...w);
640
+ if (process.env.NODE_ENV !== "production") {
641
+ let u;
642
+ m && (u = `${m}${z(h || "")}`), u === void 0 && (u = `Styled(${je(a)})`), C.displayName = u;
643
+ }
644
+ return a.muiName && (C.muiName = a.muiName), C;
645
+ };
646
+ return k.withConfig && (R.withConfig = k.withConfig), R;
647
+ };
648
+ }
649
+ function ut(e) {
650
+ const {
651
+ theme: t,
652
+ name: n,
653
+ props: r
654
+ } = e;
655
+ return !t || !t.components || !t.components[n] || !t.components[n].defaultProps ? r : se(t.components[n].defaultProps, r);
656
+ }
657
+ function ft({
658
+ props: e,
659
+ name: t,
660
+ defaultTheme: n,
661
+ themeId: r
662
+ }) {
663
+ let i = Qe(n);
664
+ return r && (i = i[r] || i), ut({
665
+ theme: i,
666
+ name: t,
667
+ props: e
668
+ });
669
+ }
670
+ const dt = xe(), ce = dt;
671
+ function _t({
672
+ props: e,
673
+ name: t
674
+ }) {
675
+ return ft({
676
+ props: e,
677
+ name: t,
678
+ defaultTheme: ce,
679
+ themeId: oe
680
+ });
681
+ }
682
+ const mt = (e) => I(e) && e !== "classes", bt = I, pt = ct({
683
+ themeId: oe,
684
+ defaultTheme: ce,
685
+ rootShouldForwardProp: mt
686
+ }), Et = pt;
687
+ export {
688
+ _t as a,
689
+ vt as b,
690
+ St as c,
691
+ ce as d,
692
+ se as e,
693
+ G as f,
694
+ gt as g,
695
+ bt as h,
696
+ mt as r,
697
+ Et as s,
698
+ Qe as u
699
+ };