kilya-ui 0.0.9 → 0.0.10

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.
@@ -1,189 +1,189 @@
1
- import se, { useDebugValue as gr, createElement as lt, useRef as ut, useContext as dt } from "react";
2
- var _e = { exports: {} }, ve = {};
3
- var yr;
4
- function pt() {
5
- if (yr) return ve;
6
- yr = 1;
1
+ import ae, { useDebugValue as gr, createElement as gt, useRef as bt, useContext as yt } from "react";
2
+ var _e = { exports: {} }, we = {};
3
+ var br;
4
+ function vt() {
5
+ if (br) return we;
6
+ br = 1;
7
7
  var e = /* @__PURE__ */ Symbol.for("react.transitional.element"), r = /* @__PURE__ */ Symbol.for("react.fragment");
8
- function t(o, n, a) {
9
- var i = null;
10
- if (a !== void 0 && (i = "" + a), n.key !== void 0 && (i = "" + n.key), "key" in n) {
11
- a = {};
12
- for (var u in n)
13
- u !== "key" && (a[u] = n[u]);
14
- } else a = n;
15
- return n = a.ref, {
8
+ function t(o, n, s) {
9
+ var c = null;
10
+ if (s !== void 0 && (c = "" + s), n.key !== void 0 && (c = "" + n.key), "key" in n) {
11
+ s = {};
12
+ for (var d in n)
13
+ d !== "key" && (s[d] = n[d]);
14
+ } else s = n;
15
+ return n = s.ref, {
16
16
  $$typeof: e,
17
17
  type: o,
18
- key: i,
18
+ key: c,
19
19
  ref: n !== void 0 ? n : null,
20
- props: a
20
+ props: s
21
21
  };
22
22
  }
23
- return ve.Fragment = r, ve.jsx = t, ve.jsxs = t, ve;
23
+ return we.Fragment = r, we.jsx = t, we.jsxs = t, we;
24
24
  }
25
- var we = {};
26
- var br;
27
- function ft() {
28
- return br || (br = 1, process.env.NODE_ENV !== "production" && (function() {
29
- function e(s) {
30
- if (s == null) return null;
31
- if (typeof s == "function")
32
- return s.$$typeof === qe ? null : s.displayName || s.name || null;
33
- if (typeof s == "string") return s;
34
- switch (s) {
25
+ var ke = {};
26
+ var yr;
27
+ function wt() {
28
+ return yr || (yr = 1, process.env.NODE_ENV !== "production" && (function() {
29
+ function e(a) {
30
+ if (a == null) return null;
31
+ if (typeof a == "function")
32
+ return a.$$typeof === He ? null : a.displayName || a.name || null;
33
+ if (typeof a == "string") return a;
34
+ switch (a) {
35
35
  case j:
36
36
  return "Fragment";
37
37
  case _:
38
38
  return "Profiler";
39
39
  case O:
40
40
  return "StrictMode";
41
- case m:
41
+ case g:
42
42
  return "Suspense";
43
43
  case p:
44
44
  return "SuspenseList";
45
- case Ue:
45
+ case qe:
46
46
  return "Activity";
47
47
  }
48
- if (typeof s == "object")
49
- switch (typeof s.tag == "number" && console.error(
48
+ if (typeof a == "object")
49
+ switch (typeof a.tag == "number" && console.error(
50
50
  "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
51
- ), s.$$typeof) {
51
+ ), a.$$typeof) {
52
52
  case A:
53
53
  return "Portal";
54
- case E:
55
- return s.displayName || "Context";
56
- case k:
57
- return (s._context.displayName || "Context") + ".Consumer";
54
+ case x:
55
+ return a.displayName || "Context";
56
+ case S:
57
+ return (a._context.displayName || "Context") + ".Consumer";
58
58
  case R:
59
- var d = s.render;
60
- return s = s.displayName, s || (s = d.displayName || d.name || "", s = s !== "" ? "ForwardRef(" + s + ")" : "ForwardRef"), s;
59
+ var u = a.render;
60
+ return a = a.displayName, a || (a = u.displayName || u.name || "", a = a !== "" ? "ForwardRef(" + a + ")" : "ForwardRef"), a;
61
61
  case Y:
62
- return d = s.displayName || null, d !== null ? d : e(s.type) || "Memo";
63
- case B:
64
- d = s._payload, s = s._init;
62
+ return u = a.displayName || null, u !== null ? u : e(a.type) || "Memo";
63
+ case V:
64
+ u = a._payload, a = a._init;
65
65
  try {
66
- return e(s(d));
66
+ return e(a(u));
67
67
  } catch {
68
68
  }
69
69
  }
70
70
  return null;
71
71
  }
72
- function r(s) {
73
- return "" + s;
72
+ function r(a) {
73
+ return "" + a;
74
74
  }
75
- function t(s) {
75
+ function t(a) {
76
76
  try {
77
- r(s);
78
- var d = !1;
77
+ r(a);
78
+ var u = !1;
79
79
  } catch {
80
- d = !0;
80
+ u = !0;
81
81
  }
82
- if (d) {
83
- d = console;
84
- var $ = d.error, T = typeof Symbol == "function" && Symbol.toStringTag && s[Symbol.toStringTag] || s.constructor.name || "Object";
85
- return $.call(
86
- d,
82
+ if (u) {
83
+ u = console;
84
+ var E = u.error, T = typeof Symbol == "function" && Symbol.toStringTag && a[Symbol.toStringTag] || a.constructor.name || "Object";
85
+ return E.call(
86
+ u,
87
87
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
88
88
  T
89
- ), r(s);
89
+ ), r(a);
90
90
  }
91
91
  }
92
- function o(s) {
93
- if (s === j) return "<>";
94
- if (typeof s == "object" && s !== null && s.$$typeof === B)
92
+ function o(a) {
93
+ if (a === j) return "<>";
94
+ if (typeof a == "object" && a !== null && a.$$typeof === V)
95
95
  return "<...>";
96
96
  try {
97
- var d = e(s);
98
- return d ? "<" + d + ">" : "<...>";
97
+ var u = e(a);
98
+ return u ? "<" + u + ">" : "<...>";
99
99
  } catch {
100
100
  return "<...>";
101
101
  }
102
102
  }
103
103
  function n() {
104
- var s = he.A;
105
- return s === null ? null : s.getOwner();
104
+ var a = me.A;
105
+ return a === null ? null : a.getOwner();
106
106
  }
107
- function a() {
107
+ function s() {
108
108
  return Error("react-stack-top-frame");
109
109
  }
110
- function i(s) {
111
- if (me.call(s, "key")) {
112
- var d = Object.getOwnPropertyDescriptor(s, "key").get;
113
- if (d && d.isReactWarning) return !1;
110
+ function c(a) {
111
+ if (ge.call(a, "key")) {
112
+ var u = Object.getOwnPropertyDescriptor(a, "key").get;
113
+ if (u && u.isReactWarning) return !1;
114
114
  }
115
- return s.key !== void 0;
115
+ return a.key !== void 0;
116
116
  }
117
- function u(s, d) {
118
- function $() {
119
- $e || ($e = !0, console.error(
117
+ function d(a, u) {
118
+ function E() {
119
+ Ee || (Ee = !0, console.error(
120
120
  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
121
- d
121
+ u
122
122
  ));
123
123
  }
124
- $.isReactWarning = !0, Object.defineProperty(s, "key", {
125
- get: $,
124
+ E.isReactWarning = !0, Object.defineProperty(a, "key", {
125
+ get: E,
126
126
  configurable: !0
127
127
  });
128
128
  }
129
129
  function l() {
130
- var s = e(this.type);
131
- return oe[s] || (oe[s] = !0, console.error(
130
+ var a = e(this.type);
131
+ return oe[a] || (oe[a] = !0, console.error(
132
132
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
133
- )), s = this.props.ref, s !== void 0 ? s : null;
133
+ )), a = this.props.ref, a !== void 0 ? a : null;
134
134
  }
135
- function b(s, d, $, T, G, U) {
136
- var C = $.ref;
137
- return s = {
138
- $$typeof: x,
139
- type: s,
140
- key: d,
141
- props: $,
135
+ function w(a, u, E, T, U, q) {
136
+ var C = E.ref;
137
+ return a = {
138
+ $$typeof: $,
139
+ type: a,
140
+ key: u,
141
+ props: E,
142
142
  _owner: T
143
- }, (C !== void 0 ? C : null) !== null ? Object.defineProperty(s, "ref", {
143
+ }, (C !== void 0 ? C : null) !== null ? Object.defineProperty(a, "ref", {
144
144
  enumerable: !1,
145
145
  get: l
146
- }) : Object.defineProperty(s, "ref", { enumerable: !1, value: null }), s._store = {}, Object.defineProperty(s._store, "validated", {
146
+ }) : Object.defineProperty(a, "ref", { enumerable: !1, value: null }), a._store = {}, Object.defineProperty(a._store, "validated", {
147
147
  configurable: !1,
148
148
  enumerable: !1,
149
149
  writable: !0,
150
150
  value: 0
151
- }), Object.defineProperty(s, "_debugInfo", {
151
+ }), Object.defineProperty(a, "_debugInfo", {
152
152
  configurable: !1,
153
153
  enumerable: !1,
154
154
  writable: !0,
155
155
  value: null
156
- }), Object.defineProperty(s, "_debugStack", {
156
+ }), Object.defineProperty(a, "_debugStack", {
157
157
  configurable: !1,
158
158
  enumerable: !1,
159
159
  writable: !0,
160
- value: G
161
- }), Object.defineProperty(s, "_debugTask", {
160
+ value: U
161
+ }), Object.defineProperty(a, "_debugTask", {
162
162
  configurable: !1,
163
163
  enumerable: !1,
164
164
  writable: !0,
165
- value: U
166
- }), Object.freeze && (Object.freeze(s.props), Object.freeze(s)), s;
165
+ value: q
166
+ }), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
167
167
  }
168
- function g(s, d, $, T, G, U) {
169
- var C = d.children;
168
+ function y(a, u, E, T, U, q) {
169
+ var C = u.children;
170
170
  if (C !== void 0)
171
171
  if (T)
172
- if (He(C)) {
172
+ if (Xe(C)) {
173
173
  for (T = 0; T < C.length; T++)
174
- y(C[T]);
174
+ b(C[T]);
175
175
  Object.freeze && Object.freeze(C);
176
176
  } else
177
177
  console.error(
178
178
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
179
179
  );
180
- else y(C);
181
- if (me.call(d, "key")) {
182
- C = e(s);
183
- var z = Object.keys(d).filter(function(be) {
184
- return be !== "key";
180
+ else b(C);
181
+ if (ge.call(u, "key")) {
182
+ C = e(a);
183
+ var z = Object.keys(u).filter(function(ve) {
184
+ return ve !== "key";
185
185
  });
186
- T = 0 < z.length ? "{key: someKey, " + z.join(": ..., ") + ": ...}" : "{key: someKey}", H[C + T] || (z = 0 < z.length ? "{" + z.join(": ..., ") + ": ...}" : "{}", console.error(
186
+ T = 0 < z.length ? "{key: someKey, " + z.join(": ..., ") + ": ...}" : "{key: someKey}", X[C + T] || (z = 0 < z.length ? "{" + z.join(": ..., ") + ": ...}" : "{}", console.error(
187
187
  `A props object containing a "key" prop is being spread into JSX:
188
188
  let props = %s;
189
189
  <%s {...props} />
@@ -194,106 +194,106 @@ React keys must be passed directly to JSX without using spread:
194
194
  C,
195
195
  z,
196
196
  C
197
- ), H[C + T] = !0);
197
+ ), X[C + T] = !0);
198
198
  }
199
- if (C = null, $ !== void 0 && (t($), C = "" + $), i(d) && (t(d.key), C = "" + d.key), "key" in d) {
200
- $ = {};
201
- for (var W in d)
202
- W !== "key" && ($[W] = d[W]);
203
- } else $ = d;
204
- return C && u(
205
- $,
206
- typeof s == "function" ? s.displayName || s.name || "Unknown" : s
207
- ), b(
208
- s,
199
+ if (C = null, E !== void 0 && (t(E), C = "" + E), c(u) && (t(u.key), C = "" + u.key), "key" in u) {
200
+ E = {};
201
+ for (var L in u)
202
+ L !== "key" && (E[L] = u[L]);
203
+ } else E = u;
204
+ return C && d(
205
+ E,
206
+ typeof a == "function" ? a.displayName || a.name || "Unknown" : a
207
+ ), w(
208
+ a,
209
209
  C,
210
- $,
210
+ E,
211
211
  n(),
212
- G,
213
- U
212
+ U,
213
+ q
214
214
  );
215
215
  }
216
- function y(s) {
217
- v(s) ? s._store && (s._store.validated = 1) : typeof s == "object" && s !== null && s.$$typeof === B && (s._payload.status === "fulfilled" ? v(s._payload.value) && s._payload.value._store && (s._payload.value._store.validated = 1) : s._store && (s._store.validated = 1));
216
+ function b(a) {
217
+ v(a) ? a._store && (a._store.validated = 1) : typeof a == "object" && a !== null && a.$$typeof === V && (a._payload.status === "fulfilled" ? v(a._payload.value) && a._payload.value._store && (a._payload.value._store.validated = 1) : a._store && (a._store.validated = 1));
218
218
  }
219
- function v(s) {
220
- return typeof s == "object" && s !== null && s.$$typeof === x;
219
+ function v(a) {
220
+ return typeof a == "object" && a !== null && a.$$typeof === $;
221
221
  }
222
- var h = se, x = /* @__PURE__ */ Symbol.for("react.transitional.element"), A = /* @__PURE__ */ Symbol.for("react.portal"), j = /* @__PURE__ */ Symbol.for("react.fragment"), O = /* @__PURE__ */ Symbol.for("react.strict_mode"), _ = /* @__PURE__ */ Symbol.for("react.profiler"), k = /* @__PURE__ */ Symbol.for("react.consumer"), E = /* @__PURE__ */ Symbol.for("react.context"), R = /* @__PURE__ */ Symbol.for("react.forward_ref"), m = /* @__PURE__ */ Symbol.for("react.suspense"), p = /* @__PURE__ */ Symbol.for("react.suspense_list"), Y = /* @__PURE__ */ Symbol.for("react.memo"), B = /* @__PURE__ */ Symbol.for("react.lazy"), Ue = /* @__PURE__ */ Symbol.for("react.activity"), qe = /* @__PURE__ */ Symbol.for("react.client.reference"), he = h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, me = Object.prototype.hasOwnProperty, He = Array.isArray, ge = console.createTask ? console.createTask : function() {
222
+ var m = ae, $ = /* @__PURE__ */ Symbol.for("react.transitional.element"), A = /* @__PURE__ */ Symbol.for("react.portal"), j = /* @__PURE__ */ Symbol.for("react.fragment"), O = /* @__PURE__ */ Symbol.for("react.strict_mode"), _ = /* @__PURE__ */ Symbol.for("react.profiler"), S = /* @__PURE__ */ Symbol.for("react.consumer"), x = /* @__PURE__ */ Symbol.for("react.context"), R = /* @__PURE__ */ Symbol.for("react.forward_ref"), g = /* @__PURE__ */ Symbol.for("react.suspense"), p = /* @__PURE__ */ Symbol.for("react.suspense_list"), Y = /* @__PURE__ */ Symbol.for("react.memo"), V = /* @__PURE__ */ Symbol.for("react.lazy"), qe = /* @__PURE__ */ Symbol.for("react.activity"), He = /* @__PURE__ */ Symbol.for("react.client.reference"), me = m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, ge = Object.prototype.hasOwnProperty, Xe = Array.isArray, be = console.createTask ? console.createTask : function() {
223
223
  return null;
224
224
  };
225
- h = {
226
- react_stack_bottom_frame: function(s) {
227
- return s();
225
+ m = {
226
+ react_stack_bottom_frame: function(a) {
227
+ return a();
228
228
  }
229
229
  };
230
- var $e, oe = {}, ye = h.react_stack_bottom_frame.bind(
231
- h,
232
- a
233
- )(), M = ge(o(a)), H = {};
234
- we.Fragment = j, we.jsx = function(s, d, $) {
235
- var T = 1e4 > he.recentlyCreatedOwnerStacks++;
236
- return g(
237
- s,
238
- d,
239
- $,
230
+ var Ee, oe = {}, ye = m.react_stack_bottom_frame.bind(
231
+ m,
232
+ s
233
+ )(), M = be(o(s)), X = {};
234
+ ke.Fragment = j, ke.jsx = function(a, u, E) {
235
+ var T = 1e4 > me.recentlyCreatedOwnerStacks++;
236
+ return y(
237
+ a,
238
+ u,
239
+ E,
240
240
  !1,
241
241
  T ? Error("react-stack-top-frame") : ye,
242
- T ? ge(o(s)) : M
242
+ T ? be(o(a)) : M
243
243
  );
244
- }, we.jsxs = function(s, d, $) {
245
- var T = 1e4 > he.recentlyCreatedOwnerStacks++;
246
- return g(
247
- s,
248
- d,
249
- $,
244
+ }, ke.jsxs = function(a, u, E) {
245
+ var T = 1e4 > me.recentlyCreatedOwnerStacks++;
246
+ return y(
247
+ a,
248
+ u,
249
+ E,
250
250
  !0,
251
251
  T ? Error("react-stack-top-frame") : ye,
252
- T ? ge(o(s)) : M
252
+ T ? be(o(a)) : M
253
253
  );
254
254
  };
255
- })()), we;
255
+ })()), ke;
256
256
  }
257
257
  var vr;
258
- function ht() {
259
- return vr || (vr = 1, process.env.NODE_ENV === "production" ? _e.exports = pt() : _e.exports = ft()), _e.exports;
258
+ function kt() {
259
+ return vr || (vr = 1, process.env.NODE_ENV === "production" ? _e.exports = vt() : _e.exports = wt()), _e.exports;
260
260
  }
261
- var Z = ht(), D = function() {
261
+ var B = kt(), D = function() {
262
262
  return D = Object.assign || function(r) {
263
263
  for (var t, o = 1, n = arguments.length; o < n; o++) {
264
264
  t = arguments[o];
265
- for (var a in t) Object.prototype.hasOwnProperty.call(t, a) && (r[a] = t[a]);
265
+ for (var s in t) Object.prototype.hasOwnProperty.call(t, s) && (r[s] = t[s]);
266
266
  }
267
267
  return r;
268
268
  }, D.apply(this, arguments);
269
269
  };
270
- function ae(e, r, t) {
271
- if (t || arguments.length === 2) for (var o = 0, n = r.length, a; o < n; o++)
272
- (a || !(o in r)) && (a || (a = Array.prototype.slice.call(r, 0, o)), a[o] = r[o]);
273
- return e.concat(a || Array.prototype.slice.call(r));
270
+ function se(e, r, t) {
271
+ if (t || arguments.length === 2) for (var o = 0, n = r.length, s; o < n; o++)
272
+ (s || !(o in r)) && (s || (s = Array.prototype.slice.call(r, 0, o)), s[o] = r[o]);
273
+ return e.concat(s || Array.prototype.slice.call(r));
274
274
  }
275
- function mt(e) {
275
+ function St(e) {
276
276
  var r = /* @__PURE__ */ Object.create(null);
277
277
  return function(t) {
278
278
  return r[t] === void 0 && (r[t] = e(t)), r[t];
279
279
  };
280
280
  }
281
- var gt = /^((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|disableRemotePlayback|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)-.*))$/, yt = /* @__PURE__ */ mt(
281
+ var $t = /^((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|disableRemotePlayback|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)-.*))$/, xt = /* @__PURE__ */ St(
282
282
  function(e) {
283
- return gt.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
283
+ return $t.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
284
284
  }
285
285
  /* Z+1 */
286
- ), P = "-ms-", ke = "-moz-", S = "-webkit-", Mr = "comm", We = "rule", cr = "decl", bt = "@import", Lr = "@keyframes", vt = "@layer", Wr = Math.abs, lr = String.fromCharCode, Qe = Object.assign;
287
- function wt(e, r) {
286
+ ), P = "-ms-", $e = "-moz-", k = "-webkit-", Vr = "comm", Le = "rule", lr = "decl", Et = "@import", Gr = "@keyframes", Pt = "@layer", Ur = Math.abs, ur = String.fromCharCode, er = Object.assign;
287
+ function _t(e, r) {
288
288
  return I(e, 0) ^ 45 ? (((r << 2 ^ I(e, 0)) << 2 ^ I(e, 1)) << 2 ^ I(e, 2)) << 2 ^ I(e, 3) : 0;
289
289
  }
290
- function Fr(e) {
290
+ function qr(e) {
291
291
  return e.trim();
292
292
  }
293
- function q(e, r) {
293
+ function H(e, r) {
294
294
  return (e = r.exec(e)) ? e[0] : e;
295
295
  }
296
- function f(e, r, t) {
296
+ function h(e, r, t) {
297
297
  return e.replace(r, t);
298
298
  }
299
299
  function Oe(e, r, t) {
@@ -305,54 +305,54 @@ function I(e, r) {
305
305
  function ie(e, r, t) {
306
306
  return e.slice(r, t);
307
307
  }
308
- function V(e) {
308
+ function G(e) {
309
309
  return e.length;
310
310
  }
311
- function Yr(e) {
311
+ function Hr(e) {
312
312
  return e.length;
313
313
  }
314
314
  function Se(e, r) {
315
315
  return r.push(e), e;
316
316
  }
317
- function St(e, r) {
317
+ function Rt(e, r) {
318
318
  return e.map(r).join("");
319
319
  }
320
320
  function wr(e, r) {
321
321
  return e.filter(function(t) {
322
- return !q(t, r);
322
+ return !H(t, r);
323
323
  });
324
324
  }
325
- var Fe = 1, ce = 1, Br = 0, L = 0, N = 0, pe = "";
326
- function Ye(e, r, t, o, n, a, i, u) {
327
- return { value: e, root: r, parent: t, type: o, props: n, children: a, line: Fe, column: ce, length: i, return: "", siblings: u };
325
+ var Be = 1, ce = 1, Xr = 0, F = 0, N = 0, pe = "";
326
+ function We(e, r, t, o, n, s, c, d) {
327
+ return { value: e, root: r, parent: t, type: o, props: n, children: s, line: Be, column: ce, length: c, return: "", siblings: d };
328
328
  }
329
- function J(e, r) {
330
- return Qe(Ye("", null, null, "", null, null, 0, e.siblings), e, { length: -e.length }, r);
329
+ function Z(e, r) {
330
+ return er(We("", null, null, "", null, null, 0, e.siblings), e, { length: -e.length }, r);
331
331
  }
332
332
  function ne(e) {
333
333
  for (; e.root; )
334
- e = J(e.root, { children: [e] });
334
+ e = Z(e.root, { children: [e] });
335
335
  Se(e, e.siblings);
336
336
  }
337
- function kt() {
337
+ function Ct() {
338
338
  return N;
339
339
  }
340
- function xt() {
341
- return N = L > 0 ? I(pe, --L) : 0, ce--, N === 10 && (ce = 1, Fe--), N;
340
+ function At() {
341
+ return N = F > 0 ? I(pe, --F) : 0, ce--, N === 10 && (ce = 1, Be--), N;
342
342
  }
343
- function F() {
344
- return N = L < Br ? I(pe, L++) : 0, ce++, N === 10 && (ce = 1, Fe++), N;
343
+ function W() {
344
+ return N = F < Xr ? I(pe, F++) : 0, ce++, N === 10 && (ce = 1, Be++), N;
345
345
  }
346
346
  function ee() {
347
- return I(pe, L);
347
+ return I(pe, F);
348
348
  }
349
349
  function Ne() {
350
- return L;
350
+ return F;
351
351
  }
352
- function Be(e, r) {
352
+ function Ye(e, r) {
353
353
  return ie(pe, e, r);
354
354
  }
355
- function er(e) {
355
+ function rr(e) {
356
356
  switch (e) {
357
357
  // \0 \t \n \r \s whitespace token
358
358
  case 0:
@@ -390,93 +390,93 @@ function er(e) {
390
390
  }
391
391
  return 0;
392
392
  }
393
- function Et(e) {
394
- return Fe = ce = 1, Br = V(pe = e), L = 0, [];
393
+ function Tt(e) {
394
+ return Be = ce = 1, Xr = G(pe = e), F = 0, [];
395
395
  }
396
- function $t(e) {
396
+ function Ot(e) {
397
397
  return pe = "", e;
398
398
  }
399
- function Xe(e) {
400
- return Fr(Be(L - 1, rr(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
399
+ function Je(e) {
400
+ return qr(Ye(F - 1, tr(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
401
401
  }
402
- function Pt(e) {
402
+ function Nt(e) {
403
403
  for (; (N = ee()) && N < 33; )
404
- F();
405
- return er(e) > 2 || er(N) > 3 ? "" : " ";
404
+ W();
405
+ return rr(e) > 2 || rr(N) > 3 ? "" : " ";
406
406
  }
407
- function _t(e, r) {
408
- for (; --r && F() && !(N < 48 || N > 102 || N > 57 && N < 65 || N > 70 && N < 97); )
407
+ function It(e, r) {
408
+ for (; --r && W() && !(N < 48 || N > 102 || N > 57 && N < 65 || N > 70 && N < 97); )
409
409
  ;
410
- return Be(e, Ne() + (r < 6 && ee() == 32 && F() == 32));
410
+ return Ye(e, Ne() + (r < 6 && ee() == 32 && W() == 32));
411
411
  }
412
- function rr(e) {
413
- for (; F(); )
412
+ function tr(e) {
413
+ for (; W(); )
414
414
  switch (N) {
415
415
  // ] ) " '
416
416
  case e:
417
- return L;
417
+ return F;
418
418
  // " '
419
419
  case 34:
420
420
  case 39:
421
- e !== 34 && e !== 39 && rr(N);
421
+ e !== 34 && e !== 39 && tr(N);
422
422
  break;
423
423
  // (
424
424
  case 40:
425
- e === 41 && rr(e);
425
+ e === 41 && tr(e);
426
426
  break;
427
427
  // \
428
428
  case 92:
429
- F();
429
+ W();
430
430
  break;
431
431
  }
432
- return L;
432
+ return F;
433
433
  }
434
- function Rt(e, r) {
435
- for (; F() && e + N !== 57; )
434
+ function jt(e, r) {
435
+ for (; W() && e + N !== 57; )
436
436
  if (e + N === 84 && ee() === 47)
437
437
  break;
438
- return "/*" + Be(r, L - 1) + "*" + lr(e === 47 ? e : F());
438
+ return "/*" + Ye(r, F - 1) + "*" + ur(e === 47 ? e : W());
439
439
  }
440
- function Ct(e) {
441
- for (; !er(ee()); )
442
- F();
443
- return Be(e, L);
440
+ function Dt(e) {
441
+ for (; !rr(ee()); )
442
+ W();
443
+ return Ye(e, F);
444
444
  }
445
- function At(e) {
446
- return $t(Ie("", null, null, null, [""], e = Et(e), 0, [0], e));
445
+ function zt(e) {
446
+ return Ot(Ie("", null, null, null, [""], e = Tt(e), 0, [0], e));
447
447
  }
448
- function Ie(e, r, t, o, n, a, i, u, l) {
449
- for (var b = 0, g = 0, y = i, v = 0, h = 0, x = 0, A = 1, j = 1, O = 1, _ = 0, k = "", E = n, R = a, m = o, p = k; j; )
450
- switch (x = _, _ = F()) {
448
+ function Ie(e, r, t, o, n, s, c, d, l) {
449
+ for (var w = 0, y = 0, b = c, v = 0, m = 0, $ = 0, A = 1, j = 1, O = 1, _ = 0, S = "", x = n, R = s, g = o, p = S; j; )
450
+ switch ($ = _, _ = W()) {
451
451
  // (
452
452
  case 40:
453
- if (x != 108 && I(p, y - 1) == 58) {
454
- Oe(p += f(Xe(_), "&", "&\f"), "&\f", Wr(b ? u[b - 1] : 0)) != -1 && (O = -1);
453
+ if ($ != 108 && I(p, b - 1) == 58) {
454
+ Oe(p += h(Je(_), "&", "&\f"), "&\f", Ur(w ? d[w - 1] : 0)) != -1 && (O = -1);
455
455
  break;
456
456
  }
457
457
  // " ' [
458
458
  case 34:
459
459
  case 39:
460
460
  case 91:
461
- p += Xe(_);
461
+ p += Je(_);
462
462
  break;
463
463
  // \t \n \r \s
464
464
  case 9:
465
465
  case 10:
466
466
  case 13:
467
467
  case 32:
468
- p += Pt(x);
468
+ p += Nt($);
469
469
  break;
470
470
  // \
471
471
  case 92:
472
- p += _t(Ne() - 1, 7);
472
+ p += It(Ne() - 1, 7);
473
473
  continue;
474
474
  // /
475
475
  case 47:
476
476
  switch (ee()) {
477
477
  case 42:
478
478
  case 47:
479
- Se(Tt(Rt(F(), Ne()), r, t, l), l);
479
+ Se(Mt(jt(W(), Ne()), r, t, l), l);
480
480
  break;
481
481
  default:
482
482
  p += "/";
@@ -484,7 +484,7 @@ function Ie(e, r, t, o, n, a, i, u, l) {
484
484
  break;
485
485
  // {
486
486
  case 123 * A:
487
- u[b++] = V(p) * O;
487
+ d[w++] = G(p) * O;
488
488
  // } ; \0
489
489
  case 125 * A:
490
490
  case 59:
@@ -495,17 +495,17 @@ function Ie(e, r, t, o, n, a, i, u, l) {
495
495
  case 125:
496
496
  j = 0;
497
497
  // ;
498
- case 59 + g:
499
- O == -1 && (p = f(p, /\f/g, "")), h > 0 && V(p) - y && Se(h > 32 ? kr(p + ";", o, t, y - 1, l) : kr(f(p, " ", "") + ";", o, t, y - 2, l), l);
498
+ case 59 + y:
499
+ O == -1 && (p = h(p, /\f/g, "")), m > 0 && G(p) - b && Se(m > 32 ? Sr(p + ";", o, t, b - 1, l) : Sr(h(p, " ", "") + ";", o, t, b - 2, l), l);
500
500
  break;
501
501
  // @ ;
502
502
  case 59:
503
503
  p += ";";
504
504
  // { rule/at-rule
505
505
  default:
506
- if (Se(m = Sr(p, r, t, b, g, n, u, k, E = [], R = [], y, a), a), _ === 123)
507
- if (g === 0)
508
- Ie(p, r, m, m, E, a, y, u, R);
506
+ if (Se(g = kr(p, r, t, w, y, n, d, S, x = [], R = [], b, s), s), _ === 123)
507
+ if (y === 0)
508
+ Ie(p, r, g, g, x, s, b, d, R);
509
509
  else
510
510
  switch (v === 99 && I(p, 3) === 110 ? 100 : v) {
511
511
  // d l m s
@@ -513,61 +513,61 @@ function Ie(e, r, t, o, n, a, i, u, l) {
513
513
  case 108:
514
514
  case 109:
515
515
  case 115:
516
- Ie(e, m, m, o && Se(Sr(e, m, m, 0, 0, n, u, k, n, E = [], y, R), R), n, R, y, u, o ? E : R);
516
+ Ie(e, g, g, o && Se(kr(e, g, g, 0, 0, n, d, S, n, x = [], b, R), R), n, R, b, d, o ? x : R);
517
517
  break;
518
518
  default:
519
- Ie(p, m, m, m, [""], R, 0, u, R);
519
+ Ie(p, g, g, g, [""], R, 0, d, R);
520
520
  }
521
521
  }
522
- b = g = h = 0, A = O = 1, k = p = "", y = i;
522
+ w = y = m = 0, A = O = 1, S = p = "", b = c;
523
523
  break;
524
524
  // :
525
525
  case 58:
526
- y = 1 + V(p), h = x;
526
+ b = 1 + G(p), m = $;
527
527
  default:
528
528
  if (A < 1) {
529
529
  if (_ == 123)
530
530
  --A;
531
- else if (_ == 125 && A++ == 0 && xt() == 125)
531
+ else if (_ == 125 && A++ == 0 && At() == 125)
532
532
  continue;
533
533
  }
534
- switch (p += lr(_), _ * A) {
534
+ switch (p += ur(_), _ * A) {
535
535
  // &
536
536
  case 38:
537
- O = g > 0 ? 1 : (p += "\f", -1);
537
+ O = y > 0 ? 1 : (p += "\f", -1);
538
538
  break;
539
539
  // ,
540
540
  case 44:
541
- u[b++] = (V(p) - 1) * O, O = 1;
541
+ d[w++] = (G(p) - 1) * O, O = 1;
542
542
  break;
543
543
  // @
544
544
  case 64:
545
- ee() === 45 && (p += Xe(F())), v = ee(), g = y = V(k = p += Ct(Ne())), _++;
545
+ ee() === 45 && (p += Je(W())), v = ee(), y = b = G(S = p += Dt(Ne())), _++;
546
546
  break;
547
547
  // -
548
548
  case 45:
549
- x === 45 && V(p) == 2 && (A = 0);
549
+ $ === 45 && G(p) == 2 && (A = 0);
550
550
  }
551
551
  }
552
- return a;
552
+ return s;
553
553
  }
554
- function Sr(e, r, t, o, n, a, i, u, l, b, g, y) {
555
- for (var v = n - 1, h = n === 0 ? a : [""], x = Yr(h), A = 0, j = 0, O = 0; A < o; ++A)
556
- for (var _ = 0, k = ie(e, v + 1, v = Wr(j = i[A])), E = e; _ < x; ++_)
557
- (E = Fr(j > 0 ? h[_] + " " + k : f(k, /&\f/g, h[_]))) && (l[O++] = E);
558
- return Ye(e, r, t, n === 0 ? We : u, l, b, g, y);
554
+ function kr(e, r, t, o, n, s, c, d, l, w, y, b) {
555
+ for (var v = n - 1, m = n === 0 ? s : [""], $ = Hr(m), A = 0, j = 0, O = 0; A < o; ++A)
556
+ for (var _ = 0, S = ie(e, v + 1, v = Ur(j = c[A])), x = e; _ < $; ++_)
557
+ (x = qr(j > 0 ? m[_] + " " + S : h(S, /&\f/g, m[_]))) && (l[O++] = x);
558
+ return We(e, r, t, n === 0 ? Le : d, l, w, y, b);
559
559
  }
560
- function Tt(e, r, t, o) {
561
- return Ye(e, r, t, Mr, lr(kt()), ie(e, 2, -2), 0, o);
560
+ function Mt(e, r, t, o) {
561
+ return We(e, r, t, Vr, ur(Ct()), ie(e, 2, -2), 0, o);
562
562
  }
563
- function kr(e, r, t, o, n) {
564
- return Ye(e, r, t, cr, ie(e, 0, o), ie(e, o + 1, -1), o, n);
563
+ function Sr(e, r, t, o, n) {
564
+ return We(e, r, t, lr, ie(e, 0, o), ie(e, o + 1, -1), o, n);
565
565
  }
566
- function Vr(e, r, t) {
567
- switch (wt(e, r)) {
566
+ function Jr(e, r, t) {
567
+ switch (_t(e, r)) {
568
568
  // color-adjust
569
569
  case 5103:
570
- return S + "print-" + e + e;
570
+ return k + "print-" + e + e;
571
571
  // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
572
572
  case 5737:
573
573
  case 4201:
@@ -597,95 +597,95 @@ function Vr(e, r, t) {
597
597
  case 5365:
598
598
  case 5621:
599
599
  case 3829:
600
- return S + e + e;
600
+ return k + e + e;
601
601
  // tab-size
602
602
  case 4789:
603
- return ke + e + e;
603
+ return $e + e + e;
604
604
  // appearance, user-select, transform, hyphens, text-size-adjust
605
605
  case 5349:
606
606
  case 4246:
607
607
  case 4810:
608
608
  case 6968:
609
609
  case 2756:
610
- return S + e + ke + e + P + e + e;
610
+ return k + e + $e + e + P + e + e;
611
611
  // writing-mode
612
612
  case 5936:
613
613
  switch (I(e, r + 11)) {
614
614
  // vertical-l(r)
615
615
  case 114:
616
- return S + e + P + f(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
616
+ return k + e + P + h(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
617
617
  // vertical-r(l)
618
618
  case 108:
619
- return S + e + P + f(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
619
+ return k + e + P + h(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
620
620
  // horizontal(-)tb
621
621
  case 45:
622
- return S + e + P + f(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
622
+ return k + e + P + h(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
623
623
  }
624
624
  // flex, flex-direction, scroll-snap-type, writing-mode
625
625
  case 6828:
626
626
  case 4268:
627
627
  case 2903:
628
- return S + e + P + e + e;
628
+ return k + e + P + e + e;
629
629
  // order
630
630
  case 6165:
631
- return S + e + P + "flex-" + e + e;
631
+ return k + e + P + "flex-" + e + e;
632
632
  // align-items
633
633
  case 5187:
634
- return S + e + f(e, /(\w+).+(:[^]+)/, S + "box-$1$2" + P + "flex-$1$2") + e;
634
+ return k + e + h(e, /(\w+).+(:[^]+)/, k + "box-$1$2" + P + "flex-$1$2") + e;
635
635
  // align-self
636
636
  case 5443:
637
- return S + e + P + "flex-item-" + f(e, /flex-|-self/g, "") + (q(e, /flex-|baseline/) ? "" : P + "grid-row-" + f(e, /flex-|-self/g, "")) + e;
637
+ return k + e + P + "flex-item-" + h(e, /flex-|-self/g, "") + (H(e, /flex-|baseline/) ? "" : P + "grid-row-" + h(e, /flex-|-self/g, "")) + e;
638
638
  // align-content
639
639
  case 4675:
640
- return S + e + P + "flex-line-pack" + f(e, /align-content|flex-|-self/g, "") + e;
640
+ return k + e + P + "flex-line-pack" + h(e, /align-content|flex-|-self/g, "") + e;
641
641
  // flex-shrink
642
642
  case 5548:
643
- return S + e + P + f(e, "shrink", "negative") + e;
643
+ return k + e + P + h(e, "shrink", "negative") + e;
644
644
  // flex-basis
645
645
  case 5292:
646
- return S + e + P + f(e, "basis", "preferred-size") + e;
646
+ return k + e + P + h(e, "basis", "preferred-size") + e;
647
647
  // flex-grow
648
648
  case 6060:
649
- return S + "box-" + f(e, "-grow", "") + S + e + P + f(e, "grow", "positive") + e;
649
+ return k + "box-" + h(e, "-grow", "") + k + e + P + h(e, "grow", "positive") + e;
650
650
  // transition
651
651
  case 4554:
652
- return S + f(e, /([^-])(transform)/g, "$1" + S + "$2") + e;
652
+ return k + h(e, /([^-])(transform)/g, "$1" + k + "$2") + e;
653
653
  // cursor
654
654
  case 6187:
655
- return f(f(f(e, /(zoom-|grab)/, S + "$1"), /(image-set)/, S + "$1"), e, "") + e;
655
+ return h(h(h(e, /(zoom-|grab)/, k + "$1"), /(image-set)/, k + "$1"), e, "") + e;
656
656
  // background, background-image
657
657
  case 5495:
658
658
  case 3959:
659
- return f(e, /(image-set\([^]*)/, S + "$1$`$1");
659
+ return h(e, /(image-set\([^]*)/, k + "$1$`$1");
660
660
  // justify-content
661
661
  case 4968:
662
- return f(f(e, /(.+:)(flex-)?(.*)/, S + "box-pack:$3" + P + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + S + e + e;
662
+ return h(h(e, /(.+:)(flex-)?(.*)/, k + "box-pack:$3" + P + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + k + e + e;
663
663
  // justify-self
664
664
  case 4200:
665
- if (!q(e, /flex-|baseline/)) return P + "grid-column-align" + ie(e, r) + e;
665
+ if (!H(e, /flex-|baseline/)) return P + "grid-column-align" + ie(e, r) + e;
666
666
  break;
667
667
  // grid-template-(columns|rows)
668
668
  case 2592:
669
669
  case 3360:
670
- return P + f(e, "template-", "") + e;
670
+ return P + h(e, "template-", "") + e;
671
671
  // grid-(row|column)-start
672
672
  case 4384:
673
673
  case 3616:
674
674
  return t && t.some(function(o, n) {
675
- return r = n, q(o.props, /grid-\w+-end/);
676
- }) ? ~Oe(e + (t = t[r].value), "span", 0) ? e : P + f(e, "-start", "") + e + P + "grid-row-span:" + (~Oe(t, "span", 0) ? q(t, /\d+/) : +q(t, /\d+/) - +q(e, /\d+/)) + ";" : P + f(e, "-start", "") + e;
675
+ return r = n, H(o.props, /grid-\w+-end/);
676
+ }) ? ~Oe(e + (t = t[r].value), "span", 0) ? e : P + h(e, "-start", "") + e + P + "grid-row-span:" + (~Oe(t, "span", 0) ? H(t, /\d+/) : +H(t, /\d+/) - +H(e, /\d+/)) + ";" : P + h(e, "-start", "") + e;
677
677
  // grid-(row|column)-end
678
678
  case 4896:
679
679
  case 4128:
680
680
  return t && t.some(function(o) {
681
- return q(o.props, /grid-\w+-start/);
682
- }) ? e : P + f(f(e, "-end", "-span"), "span ", "") + e;
681
+ return H(o.props, /grid-\w+-start/);
682
+ }) ? e : P + h(h(e, "-end", "-span"), "span ", "") + e;
683
683
  // (margin|padding)-inline-(start|end)
684
684
  case 4095:
685
685
  case 3583:
686
686
  case 4068:
687
687
  case 2532:
688
- return f(e, /(.+)-inline(.+)/, S + "$1$2") + e;
688
+ return h(e, /(.+)-inline(.+)/, k + "$1$2") + e;
689
689
  // (min|max)?(width|height|inline-size|block-size)
690
690
  case 8116:
691
691
  case 7059:
@@ -699,7 +699,7 @@ function Vr(e, r, t) {
699
699
  case 5789:
700
700
  case 5021:
701
701
  case 4765:
702
- if (V(e) - 1 - r > 6)
702
+ if (G(e) - 1 - r > 6)
703
703
  switch (I(e, r + 1)) {
704
704
  // (m)ax-content, (m)in-content
705
705
  case 109:
@@ -707,32 +707,32 @@ function Vr(e, r, t) {
707
707
  break;
708
708
  // (f)ill-available, (f)it-content
709
709
  case 102:
710
- return f(e, /(.+:)(.+)-([^]+)/, "$1" + S + "$2-$3$1" + ke + (I(e, r + 3) == 108 ? "$3" : "$2-$3")) + e;
710
+ return h(e, /(.+:)(.+)-([^]+)/, "$1" + k + "$2-$3$1" + $e + (I(e, r + 3) == 108 ? "$3" : "$2-$3")) + e;
711
711
  // (s)tretch
712
712
  case 115:
713
- return ~Oe(e, "stretch", 0) ? Vr(f(e, "stretch", "fill-available"), r, t) + e : e;
713
+ return ~Oe(e, "stretch", 0) ? Jr(h(e, "stretch", "fill-available"), r, t) + e : e;
714
714
  }
715
715
  break;
716
716
  // grid-(column|row)
717
717
  case 5152:
718
718
  case 5920:
719
- return f(e, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function(o, n, a, i, u, l, b) {
720
- return P + n + ":" + a + b + (i ? P + n + "-span:" + (u ? l : +l - +a) + b : "") + e;
719
+ return h(e, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function(o, n, s, c, d, l, w) {
720
+ return P + n + ":" + s + w + (c ? P + n + "-span:" + (d ? l : +l - +s) + w : "") + e;
721
721
  });
722
722
  // position: sticky
723
723
  case 4949:
724
724
  if (I(e, r + 6) === 121)
725
- return f(e, ":", ":" + S) + e;
725
+ return h(e, ":", ":" + k) + e;
726
726
  break;
727
727
  // display: (flex|inline-flex|grid|inline-grid)
728
728
  case 6444:
729
729
  switch (I(e, I(e, 14) === 45 ? 18 : 11)) {
730
730
  // (inline-)?fle(x)
731
731
  case 120:
732
- return f(e, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, "$1" + S + (I(e, 14) === 45 ? "inline-" : "") + "box$3$1" + S + "$2$3$1" + P + "$2box$3") + e;
732
+ return h(e, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, "$1" + k + (I(e, 14) === 45 ? "inline-" : "") + "box$3$1" + k + "$2$3$1" + P + "$2box$3") + e;
733
733
  // (inline-)?gri(d)
734
734
  case 100:
735
- return f(e, ":", ":" + P) + e;
735
+ return h(e, ":", ":" + P) + e;
736
736
  }
737
737
  break;
738
738
  // scroll-margin, scroll-margin-(top|right|bottom|left)
@@ -741,7 +741,7 @@ function Vr(e, r, t) {
741
741
  case 2135:
742
742
  case 3927:
743
743
  case 2391:
744
- return f(e, "scroll-", "scroll-snap-") + e;
744
+ return h(e, "scroll-", "scroll-snap-") + e;
745
745
  }
746
746
  return e;
747
747
  }
@@ -750,62 +750,62 @@ function ze(e, r) {
750
750
  t += r(e[o], o, e, r) || "";
751
751
  return t;
752
752
  }
753
- function Ot(e, r, t, o) {
753
+ function Ft(e, r, t, o) {
754
754
  switch (e.type) {
755
- case vt:
755
+ case Pt:
756
756
  if (e.children.length) break;
757
- case bt:
758
- case cr:
757
+ case Et:
758
+ case lr:
759
759
  return e.return = e.return || e.value;
760
- case Mr:
760
+ case Vr:
761
761
  return "";
762
- case Lr:
762
+ case Gr:
763
763
  return e.return = e.value + "{" + ze(e.children, o) + "}";
764
- case We:
765
- if (!V(e.value = e.props.join(","))) return "";
764
+ case Le:
765
+ if (!G(e.value = e.props.join(","))) return "";
766
766
  }
767
- return V(t = ze(e.children, o)) ? e.return = e.value + "{" + t + "}" : "";
768
- }
769
- function Nt(e) {
770
- var r = Yr(e);
771
- return function(t, o, n, a) {
772
- for (var i = "", u = 0; u < r; u++)
773
- i += e[u](t, o, n, a) || "";
774
- return i;
767
+ return G(t = ze(e.children, o)) ? e.return = e.value + "{" + t + "}" : "";
768
+ }
769
+ function Lt(e) {
770
+ var r = Hr(e);
771
+ return function(t, o, n, s) {
772
+ for (var c = "", d = 0; d < r; d++)
773
+ c += e[d](t, o, n, s) || "";
774
+ return c;
775
775
  };
776
776
  }
777
- function It(e) {
777
+ function Bt(e) {
778
778
  return function(r) {
779
779
  r.root || (r = r.return) && e(r);
780
780
  };
781
781
  }
782
- function jt(e, r, t, o) {
782
+ function Wt(e, r, t, o) {
783
783
  if (e.length > -1 && !e.return)
784
784
  switch (e.type) {
785
- case cr:
786
- e.return = Vr(e.value, e.length, t);
785
+ case lr:
786
+ e.return = Jr(e.value, e.length, t);
787
787
  return;
788
- case Lr:
789
- return ze([J(e, { value: f(e.value, "@", "@" + S) })], o);
790
- case We:
788
+ case Gr:
789
+ return ze([Z(e, { value: h(e.value, "@", "@" + k) })], o);
790
+ case Le:
791
791
  if (e.length)
792
- return St(t = e.props, function(n) {
793
- switch (q(n, o = /(::plac\w+|:read-\w+)/)) {
792
+ return Rt(t = e.props, function(n) {
793
+ switch (H(n, o = /(::plac\w+|:read-\w+)/)) {
794
794
  // :read-(only|write)
795
795
  case ":read-only":
796
796
  case ":read-write":
797
- ne(J(e, { props: [f(n, /:(read-\w+)/, ":" + ke + "$1")] })), ne(J(e, { props: [n] })), Qe(e, { props: wr(t, o) });
797
+ ne(Z(e, { props: [h(n, /:(read-\w+)/, ":" + $e + "$1")] })), ne(Z(e, { props: [n] })), er(e, { props: wr(t, o) });
798
798
  break;
799
799
  // :placeholder
800
800
  case "::placeholder":
801
- ne(J(e, { props: [f(n, /:(plac\w+)/, ":" + S + "input-$1")] })), ne(J(e, { props: [f(n, /:(plac\w+)/, ":" + ke + "$1")] })), ne(J(e, { props: [f(n, /:(plac\w+)/, P + "input-$1")] })), ne(J(e, { props: [n] })), Qe(e, { props: wr(t, o) });
801
+ ne(Z(e, { props: [h(n, /:(plac\w+)/, ":" + k + "input-$1")] })), ne(Z(e, { props: [h(n, /:(plac\w+)/, ":" + $e + "$1")] })), ne(Z(e, { props: [h(n, /:(plac\w+)/, P + "input-$1")] })), ne(Z(e, { props: [n] })), er(e, { props: wr(t, o) });
802
802
  break;
803
803
  }
804
804
  return "";
805
805
  });
806
806
  }
807
807
  }
808
- var Dt = {
808
+ var Yt = {
809
809
  animationIterationCount: 1,
810
810
  aspectRatio: 1,
811
811
  borderImageOutset: 1,
@@ -853,8 +853,8 @@ var Dt = {
853
853
  strokeMiterlimit: 1,
854
854
  strokeOpacity: 1,
855
855
  strokeWidth: 1
856
- }, te = typeof process < "u" && process.env !== void 0 && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled", Gr = "active", Ur = "data-styled-version", Ve = "6.1.19", ur = `/*!sc*/
857
- `, Me = typeof window < "u" && typeof document < "u", zt = !!(typeof SC_DISABLE_SPEEDY == "boolean" ? SC_DISABLE_SPEEDY : typeof process < "u" && process.env !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== "" ? process.env.REACT_APP_SC_DISABLE_SPEEDY !== "false" && process.env.REACT_APP_SC_DISABLE_SPEEDY : typeof process < "u" && process.env !== void 0 && process.env.SC_DISABLE_SPEEDY !== void 0 && process.env.SC_DISABLE_SPEEDY !== "" ? process.env.SC_DISABLE_SPEEDY !== "false" && process.env.SC_DISABLE_SPEEDY : process.env.NODE_ENV !== "production"), xr = /invalid hook call/i, Re = /* @__PURE__ */ new Set(), Mt = function(e, r) {
856
+ }, te = typeof process < "u" && process.env !== void 0 && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled", Zr = "active", Kr = "data-styled-version", Ve = "6.1.19", dr = `/*!sc*/
857
+ `, Me = typeof window < "u" && typeof document < "u", Vt = !!(typeof SC_DISABLE_SPEEDY == "boolean" ? SC_DISABLE_SPEEDY : typeof process < "u" && process.env !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== "" ? process.env.REACT_APP_SC_DISABLE_SPEEDY !== "false" && process.env.REACT_APP_SC_DISABLE_SPEEDY : typeof process < "u" && process.env !== void 0 && process.env.SC_DISABLE_SPEEDY !== void 0 && process.env.SC_DISABLE_SPEEDY !== "" ? process.env.SC_DISABLE_SPEEDY !== "false" && process.env.SC_DISABLE_SPEEDY : process.env.NODE_ENV !== "production"), $r = /invalid hook call/i, Re = /* @__PURE__ */ new Set(), Gt = function(e, r) {
858
858
  if (process.env.NODE_ENV !== "production") {
859
859
  var t = r ? ' with the id of "'.concat(r, '"') : "", o = "The component ".concat(e).concat(t, ` has been created dynamically.
860
860
  `) + `You may see this warning because you've called styled inside another component.
@@ -862,68 +862,68 @@ To resolve this only create new StyledComponents outside of any render method an
862
862
  See https://styled-components.com/docs/basics#define-styled-components-outside-of-the-render-method for more info.
863
863
  `, n = console.error;
864
864
  try {
865
- var a = !0;
866
- console.error = function(i) {
867
- for (var u = [], l = 1; l < arguments.length; l++) u[l - 1] = arguments[l];
868
- xr.test(i) ? (a = !1, Re.delete(o)) : n.apply(void 0, ae([i], u, !1));
869
- }, ut(), a && !Re.has(o) && (console.warn(o), Re.add(o));
870
- } catch (i) {
871
- xr.test(i.message) && Re.delete(o);
865
+ var s = !0;
866
+ console.error = function(c) {
867
+ for (var d = [], l = 1; l < arguments.length; l++) d[l - 1] = arguments[l];
868
+ $r.test(c) ? (s = !1, Re.delete(o)) : n.apply(void 0, se([c], d, !1));
869
+ }, bt(), s && !Re.has(o) && (console.warn(o), Re.add(o));
870
+ } catch (c) {
871
+ $r.test(c.message) && Re.delete(o);
872
872
  } finally {
873
873
  console.error = n;
874
874
  }
875
875
  }
876
876
  }, Ge = Object.freeze([]), le = Object.freeze({});
877
- function Lt(e, r, t) {
877
+ function Ut(e, r, t) {
878
878
  return t === void 0 && (t = le), e.theme !== t.theme && e.theme || r || t.theme;
879
879
  }
880
- var tr = /* @__PURE__ */ new Set(["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "u", "ul", "use", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "tspan"]), Wt = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g, Ft = /(^-|-$)/g;
881
- function Er(e) {
882
- return e.replace(Wt, "-").replace(Ft, "");
880
+ var or = /* @__PURE__ */ new Set(["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "u", "ul", "use", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "tspan"]), qt = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g, Ht = /(^-|-$)/g;
881
+ function xr(e) {
882
+ return e.replace(qt, "-").replace(Ht, "");
883
883
  }
884
- var Yt = /(a)(d)/gi, Ce = 52, $r = function(e) {
884
+ var Xt = /(a)(d)/gi, Ce = 52, Er = function(e) {
885
885
  return String.fromCharCode(e + (e > 25 ? 39 : 97));
886
886
  };
887
- function or(e) {
887
+ function nr(e) {
888
888
  var r, t = "";
889
- for (r = Math.abs(e); r > Ce; r = r / Ce | 0) t = $r(r % Ce) + t;
890
- return ($r(r % Ce) + t).replace(Yt, "$1-$2");
889
+ for (r = Math.abs(e); r > Ce; r = r / Ce | 0) t = Er(r % Ce) + t;
890
+ return (Er(r % Ce) + t).replace(Xt, "$1-$2");
891
891
  }
892
- var Je, qr = 5381, K = function(e, r) {
892
+ var Ze, Qr = 5381, K = function(e, r) {
893
893
  for (var t = r.length; t; ) e = 33 * e ^ r.charCodeAt(--t);
894
894
  return e;
895
- }, Hr = function(e) {
896
- return K(qr, e);
895
+ }, et = function(e) {
896
+ return K(Qr, e);
897
897
  };
898
- function Bt(e) {
899
- return or(Hr(e) >>> 0);
898
+ function Jt(e) {
899
+ return nr(et(e) >>> 0);
900
900
  }
901
- function Xr(e) {
901
+ function rt(e) {
902
902
  return process.env.NODE_ENV !== "production" && typeof e == "string" && e || e.displayName || e.name || "Component";
903
903
  }
904
- function Ze(e) {
904
+ function Ke(e) {
905
905
  return typeof e == "string" && (process.env.NODE_ENV === "production" || e.charAt(0) === e.charAt(0).toLowerCase());
906
906
  }
907
- var Jr = typeof Symbol == "function" && Symbol.for, Zr = Jr ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, Vt = Jr ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, Gt = { childContextTypes: !0, contextType: !0, contextTypes: !0, defaultProps: !0, displayName: !0, getDefaultProps: !0, getDerivedStateFromError: !0, getDerivedStateFromProps: !0, mixins: !0, propTypes: !0, type: !0 }, Ut = { name: !0, length: !0, prototype: !0, caller: !0, callee: !0, arguments: !0, arity: !0 }, Kr = { $$typeof: !0, compare: !0, defaultProps: !0, displayName: !0, propTypes: !0, type: !0 }, qt = ((Je = {})[Vt] = { $$typeof: !0, render: !0, defaultProps: !0, displayName: !0, propTypes: !0 }, Je[Zr] = Kr, Je);
907
+ var tt = typeof Symbol == "function" && Symbol.for, ot = tt ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, Zt = tt ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, Kt = { childContextTypes: !0, contextType: !0, contextTypes: !0, defaultProps: !0, displayName: !0, getDefaultProps: !0, getDerivedStateFromError: !0, getDerivedStateFromProps: !0, mixins: !0, propTypes: !0, type: !0 }, Qt = { name: !0, length: !0, prototype: !0, caller: !0, callee: !0, arguments: !0, arity: !0 }, nt = { $$typeof: !0, compare: !0, defaultProps: !0, displayName: !0, propTypes: !0, type: !0 }, eo = ((Ze = {})[Zt] = { $$typeof: !0, render: !0, defaultProps: !0, displayName: !0, propTypes: !0 }, Ze[ot] = nt, Ze);
908
908
  function Pr(e) {
909
- return ("type" in (r = e) && r.type.$$typeof) === Zr ? Kr : "$$typeof" in e ? qt[e.$$typeof] : Gt;
909
+ return ("type" in (r = e) && r.type.$$typeof) === ot ? nt : "$$typeof" in e ? eo[e.$$typeof] : Kt;
910
910
  var r;
911
911
  }
912
- var Ht = Object.defineProperty, Xt = Object.getOwnPropertyNames, _r = Object.getOwnPropertySymbols, Jt = Object.getOwnPropertyDescriptor, Zt = Object.getPrototypeOf, Rr = Object.prototype;
913
- function Qr(e, r, t) {
912
+ var ro = Object.defineProperty, to = Object.getOwnPropertyNames, _r = Object.getOwnPropertySymbols, oo = Object.getOwnPropertyDescriptor, no = Object.getPrototypeOf, Rr = Object.prototype;
913
+ function at(e, r, t) {
914
914
  if (typeof r != "string") {
915
915
  if (Rr) {
916
- var o = Zt(r);
917
- o && o !== Rr && Qr(e, o, t);
916
+ var o = no(r);
917
+ o && o !== Rr && at(e, o, t);
918
918
  }
919
- var n = Xt(r);
919
+ var n = to(r);
920
920
  _r && (n = n.concat(_r(r)));
921
- for (var a = Pr(e), i = Pr(r), u = 0; u < n.length; ++u) {
922
- var l = n[u];
923
- if (!(l in Ut || t && t[l] || i && l in i || a && l in a)) {
924
- var b = Jt(r, l);
921
+ for (var s = Pr(e), c = Pr(r), d = 0; d < n.length; ++d) {
922
+ var l = n[d];
923
+ if (!(l in Qt || t && t[l] || c && l in c || s && l in s)) {
924
+ var w = oo(r, l);
925
925
  try {
926
- Ht(e, l, b);
926
+ ro(e, l, w);
927
927
  } catch {
928
928
  }
929
929
  }
@@ -934,7 +934,7 @@ function Qr(e, r, t) {
934
934
  function ue(e) {
935
935
  return typeof e == "function";
936
936
  }
937
- function dr(e) {
937
+ function pr(e) {
938
938
  return typeof e == "object" && "styledComponentId" in e;
939
939
  }
940
940
  function Q(e, r) {
@@ -948,16 +948,16 @@ function Cr(e, r) {
948
948
  function de(e) {
949
949
  return e !== null && typeof e == "object" && e.constructor.name === Object.name && !("props" in e && e.$$typeof);
950
950
  }
951
- function nr(e, r, t) {
951
+ function ar(e, r, t) {
952
952
  if (t === void 0 && (t = !1), !t && !de(e) && !Array.isArray(e)) return r;
953
- if (Array.isArray(r)) for (var o = 0; o < r.length; o++) e[o] = nr(e[o], r[o]);
954
- else if (de(r)) for (var o in r) e[o] = nr(e[o], r[o]);
953
+ if (Array.isArray(r)) for (var o = 0; o < r.length; o++) e[o] = ar(e[o], r[o]);
954
+ else if (de(r)) for (var o in r) e[o] = ar(e[o], r[o]);
955
955
  return e;
956
956
  }
957
- function pr(e, r) {
957
+ function fr(e, r) {
958
958
  Object.defineProperty(e, "toString", { value: r });
959
959
  }
960
- var Kt = process.env.NODE_ENV !== "production" ? { 1: `Cannot create styled-component for component: %s.
960
+ var ao = process.env.NODE_ENV !== "production" ? { 1: `Cannot create styled-component for component: %s.
961
961
 
962
962
  `, 2: `Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
963
963
 
@@ -999,18 +999,18 @@ as for instance in your render method then you may be running into this limitati
999
999
  `, 17: `CSSStyleSheet could not be found on HTMLStyleElement.
1000
1000
  Has styled-components' style tag been unmounted or altered by another script?
1001
1001
  `, 18: "ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`" } : {};
1002
- function Qt() {
1002
+ function so() {
1003
1003
  for (var e = [], r = 0; r < arguments.length; r++) e[r] = arguments[r];
1004
- for (var t = e[0], o = [], n = 1, a = e.length; n < a; n += 1) o.push(e[n]);
1005
- return o.forEach(function(i) {
1006
- t = t.replace(/%[a-z]/, i);
1004
+ for (var t = e[0], o = [], n = 1, s = e.length; n < s; n += 1) o.push(e[n]);
1005
+ return o.forEach(function(c) {
1006
+ t = t.replace(/%[a-z]/, c);
1007
1007
  }), t;
1008
1008
  }
1009
1009
  function fe(e) {
1010
1010
  for (var r = [], t = 1; t < arguments.length; t++) r[t - 1] = arguments[t];
1011
- return process.env.NODE_ENV === "production" ? new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e, " for more information.").concat(r.length > 0 ? " Args: ".concat(r.join(", ")) : "")) : new Error(Qt.apply(void 0, ae([Kt[e]], r, !1)).trim());
1011
+ return process.env.NODE_ENV === "production" ? new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e, " for more information.").concat(r.length > 0 ? " Args: ".concat(r.join(", ")) : "")) : new Error(so.apply(void 0, se([ao[e]], r, !1)).trim());
1012
1012
  }
1013
- var eo = (function() {
1013
+ var io = (function() {
1014
1014
  function e(r) {
1015
1015
  this.groupSizes = new Uint32Array(512), this.length = 512, this.tag = r;
1016
1016
  }
@@ -1019,68 +1019,68 @@ var eo = (function() {
1019
1019
  return t;
1020
1020
  }, e.prototype.insertRules = function(r, t) {
1021
1021
  if (r >= this.groupSizes.length) {
1022
- for (var o = this.groupSizes, n = o.length, a = n; r >= a; ) if ((a <<= 1) < 0) throw fe(16, "".concat(r));
1023
- this.groupSizes = new Uint32Array(a), this.groupSizes.set(o), this.length = a;
1024
- for (var i = n; i < a; i++) this.groupSizes[i] = 0;
1022
+ for (var o = this.groupSizes, n = o.length, s = n; r >= s; ) if ((s <<= 1) < 0) throw fe(16, "".concat(r));
1023
+ this.groupSizes = new Uint32Array(s), this.groupSizes.set(o), this.length = s;
1024
+ for (var c = n; c < s; c++) this.groupSizes[c] = 0;
1025
1025
  }
1026
- for (var u = this.indexOfGroup(r + 1), l = (i = 0, t.length); i < l; i++) this.tag.insertRule(u, t[i]) && (this.groupSizes[r]++, u++);
1026
+ for (var d = this.indexOfGroup(r + 1), l = (c = 0, t.length); c < l; c++) this.tag.insertRule(d, t[c]) && (this.groupSizes[r]++, d++);
1027
1027
  }, e.prototype.clearGroup = function(r) {
1028
1028
  if (r < this.length) {
1029
1029
  var t = this.groupSizes[r], o = this.indexOfGroup(r), n = o + t;
1030
1030
  this.groupSizes[r] = 0;
1031
- for (var a = o; a < n; a++) this.tag.deleteRule(o);
1031
+ for (var s = o; s < n; s++) this.tag.deleteRule(o);
1032
1032
  }
1033
1033
  }, e.prototype.getGroup = function(r) {
1034
1034
  var t = "";
1035
1035
  if (r >= this.length || this.groupSizes[r] === 0) return t;
1036
- for (var o = this.groupSizes[r], n = this.indexOfGroup(r), a = n + o, i = n; i < a; i++) t += "".concat(this.tag.getRule(i)).concat(ur);
1036
+ for (var o = this.groupSizes[r], n = this.indexOfGroup(r), s = n + o, c = n; c < s; c++) t += "".concat(this.tag.getRule(c)).concat(dr);
1037
1037
  return t;
1038
1038
  }, e;
1039
- })(), ro = 1 << 30, je = /* @__PURE__ */ new Map(), Le = /* @__PURE__ */ new Map(), De = 1, Ae = function(e) {
1039
+ })(), co = 1 << 30, je = /* @__PURE__ */ new Map(), Fe = /* @__PURE__ */ new Map(), De = 1, Ae = function(e) {
1040
1040
  if (je.has(e)) return je.get(e);
1041
- for (; Le.has(De); ) De++;
1041
+ for (; Fe.has(De); ) De++;
1042
1042
  var r = De++;
1043
- if (process.env.NODE_ENV !== "production" && ((0 | r) < 0 || r > ro)) throw fe(16, "".concat(r));
1044
- return je.set(e, r), Le.set(r, e), r;
1045
- }, to = function(e, r) {
1046
- De = r + 1, je.set(e, r), Le.set(r, e);
1047
- }, oo = "style[".concat(te, "][").concat(Ur, '="').concat(Ve, '"]'), no = new RegExp("^".concat(te, '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')), so = function(e, r, t) {
1048
- for (var o, n = t.split(","), a = 0, i = n.length; a < i; a++) (o = n[a]) && e.registerName(r, o);
1049
- }, ao = function(e, r) {
1050
- for (var t, o = ((t = r.textContent) !== null && t !== void 0 ? t : "").split(ur), n = [], a = 0, i = o.length; a < i; a++) {
1051
- var u = o[a].trim();
1052
- if (u) {
1053
- var l = u.match(no);
1043
+ if (process.env.NODE_ENV !== "production" && ((0 | r) < 0 || r > co)) throw fe(16, "".concat(r));
1044
+ return je.set(e, r), Fe.set(r, e), r;
1045
+ }, lo = function(e, r) {
1046
+ De = r + 1, je.set(e, r), Fe.set(r, e);
1047
+ }, uo = "style[".concat(te, "][").concat(Kr, '="').concat(Ve, '"]'), po = new RegExp("^".concat(te, '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')), fo = function(e, r, t) {
1048
+ for (var o, n = t.split(","), s = 0, c = n.length; s < c; s++) (o = n[s]) && e.registerName(r, o);
1049
+ }, ho = function(e, r) {
1050
+ for (var t, o = ((t = r.textContent) !== null && t !== void 0 ? t : "").split(dr), n = [], s = 0, c = o.length; s < c; s++) {
1051
+ var d = o[s].trim();
1052
+ if (d) {
1053
+ var l = d.match(po);
1054
1054
  if (l) {
1055
- var b = 0 | parseInt(l[1], 10), g = l[2];
1056
- b !== 0 && (to(g, b), so(e, g, l[3]), e.getTag().insertRules(b, n)), n.length = 0;
1057
- } else n.push(u);
1055
+ var w = 0 | parseInt(l[1], 10), y = l[2];
1056
+ w !== 0 && (lo(y, w), fo(e, y, l[3]), e.getTag().insertRules(w, n)), n.length = 0;
1057
+ } else n.push(d);
1058
1058
  }
1059
1059
  }
1060
1060
  }, Ar = function(e) {
1061
- for (var r = document.querySelectorAll(oo), t = 0, o = r.length; t < o; t++) {
1061
+ for (var r = document.querySelectorAll(uo), t = 0, o = r.length; t < o; t++) {
1062
1062
  var n = r[t];
1063
- n && n.getAttribute(te) !== Gr && (ao(e, n), n.parentNode && n.parentNode.removeChild(n));
1063
+ n && n.getAttribute(te) !== Zr && (ho(e, n), n.parentNode && n.parentNode.removeChild(n));
1064
1064
  }
1065
1065
  };
1066
- function io() {
1066
+ function mo() {
1067
1067
  return typeof __webpack_nonce__ < "u" ? __webpack_nonce__ : null;
1068
1068
  }
1069
- var et = function(e) {
1070
- var r = document.head, t = e || r, o = document.createElement("style"), n = (function(u) {
1071
- var l = Array.from(u.querySelectorAll("style[".concat(te, "]")));
1069
+ var st = function(e) {
1070
+ var r = document.head, t = e || r, o = document.createElement("style"), n = (function(d) {
1071
+ var l = Array.from(d.querySelectorAll("style[".concat(te, "]")));
1072
1072
  return l[l.length - 1];
1073
- })(t), a = n !== void 0 ? n.nextSibling : null;
1074
- o.setAttribute(te, Gr), o.setAttribute(Ur, Ve);
1075
- var i = io();
1076
- return i && o.setAttribute("nonce", i), t.insertBefore(o, a), o;
1077
- }, co = (function() {
1073
+ })(t), s = n !== void 0 ? n.nextSibling : null;
1074
+ o.setAttribute(te, Zr), o.setAttribute(Kr, Ve);
1075
+ var c = mo();
1076
+ return c && o.setAttribute("nonce", c), t.insertBefore(o, s), o;
1077
+ }, go = (function() {
1078
1078
  function e(r) {
1079
- this.element = et(r), this.element.appendChild(document.createTextNode("")), this.sheet = (function(t) {
1079
+ this.element = st(r), this.element.appendChild(document.createTextNode("")), this.sheet = (function(t) {
1080
1080
  if (t.sheet) return t.sheet;
1081
- for (var o = document.styleSheets, n = 0, a = o.length; n < a; n++) {
1082
- var i = o[n];
1083
- if (i.ownerNode === t) return i;
1081
+ for (var o = document.styleSheets, n = 0, s = o.length; n < s; n++) {
1082
+ var c = o[n];
1083
+ if (c.ownerNode === t) return c;
1084
1084
  }
1085
1085
  throw fe(17);
1086
1086
  })(this.element), this.length = 0;
@@ -1097,9 +1097,9 @@ var et = function(e) {
1097
1097
  var t = this.sheet.cssRules[r];
1098
1098
  return t && t.cssText ? t.cssText : "";
1099
1099
  }, e;
1100
- })(), lo = (function() {
1100
+ })(), bo = (function() {
1101
1101
  function e(r) {
1102
- this.element = et(r), this.nodes = this.element.childNodes, this.length = 0;
1102
+ this.element = st(r), this.nodes = this.element.childNodes, this.length = 0;
1103
1103
  }
1104
1104
  return e.prototype.insertRule = function(r, t) {
1105
1105
  if (r <= this.length && r >= 0) {
@@ -1112,7 +1112,7 @@ var et = function(e) {
1112
1112
  }, e.prototype.getRule = function(r) {
1113
1113
  return r < this.length ? this.nodes[r].textContent : "";
1114
1114
  }, e;
1115
- })(), uo = (function() {
1115
+ })(), yo = (function() {
1116
1116
  function e(r) {
1117
1117
  this.rules = [], this.length = 0;
1118
1118
  }
@@ -1123,24 +1123,24 @@ var et = function(e) {
1123
1123
  }, e.prototype.getRule = function(r) {
1124
1124
  return r < this.length ? this.rules[r] : "";
1125
1125
  }, e;
1126
- })(), Tr = Me, po = { isServer: !Me, useCSSOMInjection: !zt }, rt = (function() {
1126
+ })(), Tr = Me, vo = { isServer: !Me, useCSSOMInjection: !Vt }, it = (function() {
1127
1127
  function e(r, t, o) {
1128
1128
  r === void 0 && (r = le), t === void 0 && (t = {});
1129
1129
  var n = this;
1130
- this.options = D(D({}, po), r), this.gs = t, this.names = new Map(o), this.server = !!r.isServer, !this.server && Me && Tr && (Tr = !1, Ar(this)), pr(this, function() {
1131
- return (function(a) {
1132
- for (var i = a.getTag(), u = i.length, l = "", b = function(y) {
1130
+ this.options = D(D({}, vo), r), this.gs = t, this.names = new Map(o), this.server = !!r.isServer, !this.server && Me && Tr && (Tr = !1, Ar(this)), fr(this, function() {
1131
+ return (function(s) {
1132
+ for (var c = s.getTag(), d = c.length, l = "", w = function(b) {
1133
1133
  var v = (function(O) {
1134
- return Le.get(O);
1135
- })(y);
1134
+ return Fe.get(O);
1135
+ })(b);
1136
1136
  if (v === void 0) return "continue";
1137
- var h = a.names.get(v), x = i.getGroup(y);
1138
- if (h === void 0 || !h.size || x.length === 0) return "continue";
1139
- var A = "".concat(te, ".g").concat(y, '[id="').concat(v, '"]'), j = "";
1140
- h !== void 0 && h.forEach(function(O) {
1137
+ var m = s.names.get(v), $ = c.getGroup(b);
1138
+ if (m === void 0 || !m.size || $.length === 0) return "continue";
1139
+ var A = "".concat(te, ".g").concat(b, '[id="').concat(v, '"]'), j = "";
1140
+ m !== void 0 && m.forEach(function(O) {
1141
1141
  O.length > 0 && (j += "".concat(O, ","));
1142
- }), l += "".concat(x).concat(A, '{content:"').concat(j, '"}').concat(ur);
1143
- }, g = 0; g < u; g++) b(g);
1142
+ }), l += "".concat($).concat(A, '{content:"').concat(j, '"}').concat(dr);
1143
+ }, y = 0; y < d; y++) w(y);
1144
1144
  return l;
1145
1145
  })(n);
1146
1146
  });
@@ -1156,8 +1156,8 @@ var et = function(e) {
1156
1156
  }, e.prototype.getTag = function() {
1157
1157
  return this.tag || (this.tag = (r = (function(t) {
1158
1158
  var o = t.useCSSOMInjection, n = t.target;
1159
- return t.isServer ? new uo(n) : o ? new co(n) : new lo(n);
1160
- })(this.options), new eo(r)));
1159
+ return t.isServer ? new yo(n) : o ? new go(n) : new bo(n);
1160
+ })(this.options), new io(r)));
1161
1161
  var r;
1162
1162
  }, e.prototype.hasNameForId = function(r, t) {
1163
1163
  return this.names.has(r) && this.names.get(r).has(t);
@@ -1176,185 +1176,185 @@ var et = function(e) {
1176
1176
  }, e.prototype.clearTag = function() {
1177
1177
  this.tag = void 0;
1178
1178
  }, e;
1179
- })(), fo = /&/g, ho = /^\s*\/\/.*$/gm;
1180
- function tt(e, r) {
1179
+ })(), wo = /&/g, ko = /^\s*\/\/.*$/gm;
1180
+ function ct(e, r) {
1181
1181
  return e.map(function(t) {
1182
1182
  return t.type === "rule" && (t.value = "".concat(r, " ").concat(t.value), t.value = t.value.replaceAll(",", ",".concat(r, " ")), t.props = t.props.map(function(o) {
1183
1183
  return "".concat(r, " ").concat(o);
1184
- })), Array.isArray(t.children) && t.type !== "@keyframes" && (t.children = tt(t.children, r)), t;
1184
+ })), Array.isArray(t.children) && t.type !== "@keyframes" && (t.children = ct(t.children, r)), t;
1185
1185
  });
1186
1186
  }
1187
- function mo(e) {
1188
- var r, t, o, n = le, a = n.options, i = a === void 0 ? le : a, u = n.plugins, l = u === void 0 ? Ge : u, b = function(v, h, x) {
1189
- return x.startsWith(t) && x.endsWith(t) && x.replaceAll(t, "").length > 0 ? ".".concat(r) : v;
1190
- }, g = l.slice();
1191
- g.push(function(v) {
1192
- v.type === We && v.value.includes("&") && (v.props[0] = v.props[0].replace(fo, t).replace(o, b));
1193
- }), i.prefix && g.push(jt), g.push(Ot);
1194
- var y = function(v, h, x, A) {
1195
- h === void 0 && (h = ""), x === void 0 && (x = ""), A === void 0 && (A = "&"), r = A, t = h, o = new RegExp("\\".concat(t, "\\b"), "g");
1196
- var j = v.replace(ho, ""), O = At(x || h ? "".concat(x, " ").concat(h, " { ").concat(j, " }") : j);
1197
- i.namespace && (O = tt(O, i.namespace));
1187
+ function So(e) {
1188
+ var r, t, o, n = le, s = n.options, c = s === void 0 ? le : s, d = n.plugins, l = d === void 0 ? Ge : d, w = function(v, m, $) {
1189
+ return $.startsWith(t) && $.endsWith(t) && $.replaceAll(t, "").length > 0 ? ".".concat(r) : v;
1190
+ }, y = l.slice();
1191
+ y.push(function(v) {
1192
+ v.type === Le && v.value.includes("&") && (v.props[0] = v.props[0].replace(wo, t).replace(o, w));
1193
+ }), c.prefix && y.push(Wt), y.push(Ft);
1194
+ var b = function(v, m, $, A) {
1195
+ m === void 0 && (m = ""), $ === void 0 && ($ = ""), A === void 0 && (A = "&"), r = A, t = m, o = new RegExp("\\".concat(t, "\\b"), "g");
1196
+ var j = v.replace(ko, ""), O = zt($ || m ? "".concat($, " ").concat(m, " { ").concat(j, " }") : j);
1197
+ c.namespace && (O = ct(O, c.namespace));
1198
1198
  var _ = [];
1199
- return ze(O, Nt(g.concat(It(function(k) {
1200
- return _.push(k);
1199
+ return ze(O, Lt(y.concat(Bt(function(S) {
1200
+ return _.push(S);
1201
1201
  })))), _;
1202
1202
  };
1203
- return y.hash = l.length ? l.reduce(function(v, h) {
1204
- return h.name || fe(15), K(v, h.name);
1205
- }, qr).toString() : "", y;
1203
+ return b.hash = l.length ? l.reduce(function(v, m) {
1204
+ return m.name || fe(15), K(v, m.name);
1205
+ }, Qr).toString() : "", b;
1206
1206
  }
1207
- var go = new rt(), sr = mo(), ot = se.createContext({ shouldForwardProp: void 0, styleSheet: go, stylis: sr });
1208
- ot.Consumer;
1209
- se.createContext(void 0);
1207
+ var $o = new it(), sr = So(), lt = ae.createContext({ shouldForwardProp: void 0, styleSheet: $o, stylis: sr });
1208
+ lt.Consumer;
1209
+ ae.createContext(void 0);
1210
1210
  function Or() {
1211
- return dt(ot);
1211
+ return yt(lt);
1212
1212
  }
1213
1213
  var Nr = (function() {
1214
1214
  function e(r, t) {
1215
1215
  var o = this;
1216
- this.inject = function(n, a) {
1217
- a === void 0 && (a = sr);
1218
- var i = o.name + a.hash;
1219
- n.hasNameForId(o.id, i) || n.insertRules(o.id, i, a(o.rules, i, "@keyframes"));
1220
- }, this.name = r, this.id = "sc-keyframes-".concat(r), this.rules = t, pr(this, function() {
1216
+ this.inject = function(n, s) {
1217
+ s === void 0 && (s = sr);
1218
+ var c = o.name + s.hash;
1219
+ n.hasNameForId(o.id, c) || n.insertRules(o.id, c, s(o.rules, c, "@keyframes"));
1220
+ }, this.name = r, this.id = "sc-keyframes-".concat(r), this.rules = t, fr(this, function() {
1221
1221
  throw fe(12, String(o.name));
1222
1222
  });
1223
1223
  }
1224
1224
  return e.prototype.getName = function(r) {
1225
1225
  return r === void 0 && (r = sr), this.name + r.hash;
1226
1226
  }, e;
1227
- })(), yo = function(e) {
1227
+ })(), xo = function(e) {
1228
1228
  return e >= "A" && e <= "Z";
1229
1229
  };
1230
1230
  function Ir(e) {
1231
1231
  for (var r = "", t = 0; t < e.length; t++) {
1232
1232
  var o = e[t];
1233
1233
  if (t === 1 && o === "-" && e[0] === "-") return e;
1234
- yo(o) ? r += "-" + o.toLowerCase() : r += o;
1234
+ xo(o) ? r += "-" + o.toLowerCase() : r += o;
1235
1235
  }
1236
1236
  return r.startsWith("ms-") ? "-" + r : r;
1237
1237
  }
1238
- var nt = function(e) {
1238
+ var ut = function(e) {
1239
1239
  return e == null || e === !1 || e === "";
1240
- }, st = function(e) {
1240
+ }, dt = function(e) {
1241
1241
  var r, t, o = [];
1242
1242
  for (var n in e) {
1243
- var a = e[n];
1244
- e.hasOwnProperty(n) && !nt(a) && (Array.isArray(a) && a.isCss || ue(a) ? o.push("".concat(Ir(n), ":"), a, ";") : de(a) ? o.push.apply(o, ae(ae(["".concat(n, " {")], st(a), !1), ["}"], !1)) : o.push("".concat(Ir(n), ": ").concat((r = n, (t = a) == null || typeof t == "boolean" || t === "" ? "" : typeof t != "number" || t === 0 || r in Dt || r.startsWith("--") ? String(t).trim() : "".concat(t, "px")), ";")));
1243
+ var s = e[n];
1244
+ e.hasOwnProperty(n) && !ut(s) && (Array.isArray(s) && s.isCss || ue(s) ? o.push("".concat(Ir(n), ":"), s, ";") : de(s) ? o.push.apply(o, se(se(["".concat(n, " {")], dt(s), !1), ["}"], !1)) : o.push("".concat(Ir(n), ": ").concat((r = n, (t = s) == null || typeof t == "boolean" || t === "" ? "" : typeof t != "number" || t === 0 || r in Yt || r.startsWith("--") ? String(t).trim() : "".concat(t, "px")), ";")));
1245
1245
  }
1246
1246
  return o;
1247
1247
  };
1248
1248
  function re(e, r, t, o) {
1249
- if (nt(e)) return [];
1250
- if (dr(e)) return [".".concat(e.styledComponentId)];
1249
+ if (ut(e)) return [];
1250
+ if (pr(e)) return [".".concat(e.styledComponentId)];
1251
1251
  if (ue(e)) {
1252
- if (!ue(a = e) || a.prototype && a.prototype.isReactComponent || !r) return [e];
1252
+ if (!ue(s = e) || s.prototype && s.prototype.isReactComponent || !r) return [e];
1253
1253
  var n = e(r);
1254
- return process.env.NODE_ENV === "production" || typeof n != "object" || Array.isArray(n) || n instanceof Nr || de(n) || n === null || console.error("".concat(Xr(e), " is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")), re(n, r, t, o);
1254
+ return process.env.NODE_ENV === "production" || typeof n != "object" || Array.isArray(n) || n instanceof Nr || de(n) || n === null || console.error("".concat(rt(e), " is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")), re(n, r, t, o);
1255
1255
  }
1256
- var a;
1257
- return e instanceof Nr ? t ? (e.inject(t, o), [e.getName(o)]) : [e] : de(e) ? st(e) : Array.isArray(e) ? Array.prototype.concat.apply(Ge, e.map(function(i) {
1258
- return re(i, r, t, o);
1256
+ var s;
1257
+ return e instanceof Nr ? t ? (e.inject(t, o), [e.getName(o)]) : [e] : de(e) ? dt(e) : Array.isArray(e) ? Array.prototype.concat.apply(Ge, e.map(function(c) {
1258
+ return re(c, r, t, o);
1259
1259
  })) : [e.toString()];
1260
1260
  }
1261
- function bo(e) {
1261
+ function Eo(e) {
1262
1262
  for (var r = 0; r < e.length; r += 1) {
1263
1263
  var t = e[r];
1264
- if (ue(t) && !dr(t)) return !1;
1264
+ if (ue(t) && !pr(t)) return !1;
1265
1265
  }
1266
1266
  return !0;
1267
1267
  }
1268
- var vo = Hr(Ve), wo = (function() {
1268
+ var Po = et(Ve), _o = (function() {
1269
1269
  function e(r, t, o) {
1270
- this.rules = r, this.staticRulesId = "", this.isStatic = process.env.NODE_ENV === "production" && (o === void 0 || o.isStatic) && bo(r), this.componentId = t, this.baseHash = K(vo, t), this.baseStyle = o, rt.registerId(t);
1270
+ this.rules = r, this.staticRulesId = "", this.isStatic = process.env.NODE_ENV === "production" && (o === void 0 || o.isStatic) && Eo(r), this.componentId = t, this.baseHash = K(Po, t), this.baseStyle = o, it.registerId(t);
1271
1271
  }
1272
1272
  return e.prototype.generateAndInjectStyles = function(r, t, o) {
1273
1273
  var n = this.baseStyle ? this.baseStyle.generateAndInjectStyles(r, t, o) : "";
1274
1274
  if (this.isStatic && !o.hash) if (this.staticRulesId && t.hasNameForId(this.componentId, this.staticRulesId)) n = Q(n, this.staticRulesId);
1275
1275
  else {
1276
- var a = Cr(re(this.rules, r, t, o)), i = or(K(this.baseHash, a) >>> 0);
1277
- if (!t.hasNameForId(this.componentId, i)) {
1278
- var u = o(a, ".".concat(i), void 0, this.componentId);
1279
- t.insertRules(this.componentId, i, u);
1276
+ var s = Cr(re(this.rules, r, t, o)), c = nr(K(this.baseHash, s) >>> 0);
1277
+ if (!t.hasNameForId(this.componentId, c)) {
1278
+ var d = o(s, ".".concat(c), void 0, this.componentId);
1279
+ t.insertRules(this.componentId, c, d);
1280
1280
  }
1281
- n = Q(n, i), this.staticRulesId = i;
1281
+ n = Q(n, c), this.staticRulesId = c;
1282
1282
  }
1283
1283
  else {
1284
- for (var l = K(this.baseHash, o.hash), b = "", g = 0; g < this.rules.length; g++) {
1285
- var y = this.rules[g];
1286
- if (typeof y == "string") b += y, process.env.NODE_ENV !== "production" && (l = K(l, y));
1287
- else if (y) {
1288
- var v = Cr(re(y, r, t, o));
1289
- l = K(l, v + g), b += v;
1284
+ for (var l = K(this.baseHash, o.hash), w = "", y = 0; y < this.rules.length; y++) {
1285
+ var b = this.rules[y];
1286
+ if (typeof b == "string") w += b, process.env.NODE_ENV !== "production" && (l = K(l, b));
1287
+ else if (b) {
1288
+ var v = Cr(re(b, r, t, o));
1289
+ l = K(l, v + y), w += v;
1290
1290
  }
1291
1291
  }
1292
- if (b) {
1293
- var h = or(l >>> 0);
1294
- t.hasNameForId(this.componentId, h) || t.insertRules(this.componentId, h, o(b, ".".concat(h), void 0, this.componentId)), n = Q(n, h);
1292
+ if (w) {
1293
+ var m = nr(l >>> 0);
1294
+ t.hasNameForId(this.componentId, m) || t.insertRules(this.componentId, m, o(w, ".".concat(m), void 0, this.componentId)), n = Q(n, m);
1295
1295
  }
1296
1296
  }
1297
1297
  return n;
1298
1298
  }, e;
1299
- })(), at = se.createContext(void 0);
1300
- at.Consumer;
1301
- var Ke = {}, jr = /* @__PURE__ */ new Set();
1302
- function So(e, r, t) {
1303
- var o = dr(e), n = e, a = !Ze(e), i = r.attrs, u = i === void 0 ? Ge : i, l = r.componentId, b = l === void 0 ? (function(E, R) {
1304
- var m = typeof E != "string" ? "sc" : Er(E);
1305
- Ke[m] = (Ke[m] || 0) + 1;
1306
- var p = "".concat(m, "-").concat(Bt(Ve + m + Ke[m]));
1299
+ })(), pt = ae.createContext(void 0);
1300
+ pt.Consumer;
1301
+ var Qe = {}, jr = /* @__PURE__ */ new Set();
1302
+ function Ro(e, r, t) {
1303
+ var o = pr(e), n = e, s = !Ke(e), c = r.attrs, d = c === void 0 ? Ge : c, l = r.componentId, w = l === void 0 ? (function(x, R) {
1304
+ var g = typeof x != "string" ? "sc" : xr(x);
1305
+ Qe[g] = (Qe[g] || 0) + 1;
1306
+ var p = "".concat(g, "-").concat(Jt(Ve + g + Qe[g]));
1307
1307
  return R ? "".concat(R, "-").concat(p) : p;
1308
- })(r.displayName, r.parentComponentId) : l, g = r.displayName, y = g === void 0 ? (function(E) {
1309
- return Ze(E) ? "styled.".concat(E) : "Styled(".concat(Xr(E), ")");
1310
- })(e) : g, v = r.displayName && r.componentId ? "".concat(Er(r.displayName), "-").concat(r.componentId) : r.componentId || b, h = o && n.attrs ? n.attrs.concat(u).filter(Boolean) : u, x = r.shouldForwardProp;
1308
+ })(r.displayName, r.parentComponentId) : l, y = r.displayName, b = y === void 0 ? (function(x) {
1309
+ return Ke(x) ? "styled.".concat(x) : "Styled(".concat(rt(x), ")");
1310
+ })(e) : y, v = r.displayName && r.componentId ? "".concat(xr(r.displayName), "-").concat(r.componentId) : r.componentId || w, m = o && n.attrs ? n.attrs.concat(d).filter(Boolean) : d, $ = r.shouldForwardProp;
1311
1311
  if (o && n.shouldForwardProp) {
1312
1312
  var A = n.shouldForwardProp;
1313
1313
  if (r.shouldForwardProp) {
1314
1314
  var j = r.shouldForwardProp;
1315
- x = function(E, R) {
1316
- return A(E, R) && j(E, R);
1315
+ $ = function(x, R) {
1316
+ return A(x, R) && j(x, R);
1317
1317
  };
1318
- } else x = A;
1318
+ } else $ = A;
1319
1319
  }
1320
- var O = new wo(t, v, o ? n.componentStyle : void 0);
1321
- function _(E, R) {
1322
- return (function(m, p, Y) {
1323
- var B = m.attrs, Ue = m.componentStyle, qe = m.defaultProps, he = m.foldedComponentIds, me = m.styledComponentId, He = m.target, ge = se.useContext(at), $e = Or(), oe = m.shouldForwardProp || $e.shouldForwardProp;
1324
- process.env.NODE_ENV !== "production" && gr(me);
1325
- var ye = Lt(p, ge, qe) || le, M = (function(G, U, C) {
1326
- for (var z, W = D(D({}, U), { className: void 0, theme: C }), be = 0; be < G.length; be += 1) {
1327
- var Pe = ue(z = G[be]) ? z(W) : z;
1328
- for (var X in Pe) W[X] = X === "className" ? Q(W[X], Pe[X]) : X === "style" ? D(D({}, W[X]), Pe[X]) : Pe[X];
1320
+ var O = new _o(t, v, o ? n.componentStyle : void 0);
1321
+ function _(x, R) {
1322
+ return (function(g, p, Y) {
1323
+ var V = g.attrs, qe = g.componentStyle, He = g.defaultProps, me = g.foldedComponentIds, ge = g.styledComponentId, Xe = g.target, be = ae.useContext(pt), Ee = Or(), oe = g.shouldForwardProp || Ee.shouldForwardProp;
1324
+ process.env.NODE_ENV !== "production" && gr(ge);
1325
+ var ye = Ut(p, be, He) || le, M = (function(U, q, C) {
1326
+ for (var z, L = D(D({}, q), { className: void 0, theme: C }), ve = 0; ve < U.length; ve += 1) {
1327
+ var Pe = ue(z = U[ve]) ? z(L) : z;
1328
+ for (var J in Pe) L[J] = J === "className" ? Q(L[J], Pe[J]) : J === "style" ? D(D({}, L[J]), Pe[J]) : Pe[J];
1329
1329
  }
1330
- return U.className && (W.className = Q(W.className, U.className)), W;
1331
- })(B, p, ye), H = M.as || He, s = {};
1332
- for (var d in M) M[d] === void 0 || d[0] === "$" || d === "as" || d === "theme" && M.theme === ye || (d === "forwardedAs" ? s.as = M.forwardedAs : oe && !oe(d, H) || (s[d] = M[d], oe || process.env.NODE_ENV !== "development" || yt(d) || jr.has(d) || !tr.has(H) || (jr.add(d), console.warn('styled-components: it looks like an unknown prop "'.concat(d, '" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));
1333
- var $ = (function(G, U) {
1334
- var C = Or(), z = G.generateAndInjectStyles(U, C.styleSheet, C.stylis);
1330
+ return q.className && (L.className = Q(L.className, q.className)), L;
1331
+ })(V, p, ye), X = M.as || Xe, a = {};
1332
+ for (var u in M) M[u] === void 0 || u[0] === "$" || u === "as" || u === "theme" && M.theme === ye || (u === "forwardedAs" ? a.as = M.forwardedAs : oe && !oe(u, X) || (a[u] = M[u], oe || process.env.NODE_ENV !== "development" || xt(u) || jr.has(u) || !or.has(X) || (jr.add(u), console.warn('styled-components: it looks like an unknown prop "'.concat(u, '" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));
1333
+ var E = (function(U, q) {
1334
+ var C = Or(), z = U.generateAndInjectStyles(q, C.styleSheet, C.stylis);
1335
1335
  return process.env.NODE_ENV !== "production" && gr(z), z;
1336
- })(Ue, M);
1337
- process.env.NODE_ENV !== "production" && m.warnTooManyClasses && m.warnTooManyClasses($);
1338
- var T = Q(he, me);
1339
- return $ && (T += " " + $), M.className && (T += " " + M.className), s[Ze(H) && !tr.has(H) ? "class" : "className"] = T, Y && (s.ref = Y), lt(H, s);
1340
- })(k, E, R);
1336
+ })(qe, M);
1337
+ process.env.NODE_ENV !== "production" && g.warnTooManyClasses && g.warnTooManyClasses(E);
1338
+ var T = Q(me, ge);
1339
+ return E && (T += " " + E), M.className && (T += " " + M.className), a[Ke(X) && !or.has(X) ? "class" : "className"] = T, Y && (a.ref = Y), gt(X, a);
1340
+ })(S, x, R);
1341
1341
  }
1342
- _.displayName = y;
1343
- var k = se.forwardRef(_);
1344
- return k.attrs = h, k.componentStyle = O, k.displayName = y, k.shouldForwardProp = x, k.foldedComponentIds = o ? Q(n.foldedComponentIds, n.styledComponentId) : "", k.styledComponentId = v, k.target = o ? n.target : e, Object.defineProperty(k, "defaultProps", { get: function() {
1342
+ _.displayName = b;
1343
+ var S = ae.forwardRef(_);
1344
+ return S.attrs = m, S.componentStyle = O, S.displayName = b, S.shouldForwardProp = $, S.foldedComponentIds = o ? Q(n.foldedComponentIds, n.styledComponentId) : "", S.styledComponentId = v, S.target = o ? n.target : e, Object.defineProperty(S, "defaultProps", { get: function() {
1345
1345
  return this._foldedDefaultProps;
1346
- }, set: function(E) {
1346
+ }, set: function(x) {
1347
1347
  this._foldedDefaultProps = o ? (function(R) {
1348
- for (var m = [], p = 1; p < arguments.length; p++) m[p - 1] = arguments[p];
1349
- for (var Y = 0, B = m; Y < B.length; Y++) nr(R, B[Y], !0);
1348
+ for (var g = [], p = 1; p < arguments.length; p++) g[p - 1] = arguments[p];
1349
+ for (var Y = 0, V = g; Y < V.length; Y++) ar(R, V[Y], !0);
1350
1350
  return R;
1351
- })({}, n.defaultProps, E) : E;
1352
- } }), process.env.NODE_ENV !== "production" && (Mt(y, v), k.warnTooManyClasses = /* @__PURE__ */ (function(E, R) {
1353
- var m = {}, p = !1;
1351
+ })({}, n.defaultProps, x) : x;
1352
+ } }), process.env.NODE_ENV !== "production" && (Gt(b, v), S.warnTooManyClasses = /* @__PURE__ */ (function(x, R) {
1353
+ var g = {}, p = !1;
1354
1354
  return function(Y) {
1355
- if (!p && (m[Y] = !0, Object.keys(m).length >= 200)) {
1356
- var B = R ? ' with the id of "'.concat(R, '"') : "";
1357
- console.warn("Over ".concat(200, " classes were generated for component ").concat(E).concat(B, `.
1355
+ if (!p && (g[Y] = !0, Object.keys(g).length >= 200)) {
1356
+ var V = R ? ' with the id of "'.concat(R, '"') : "";
1357
+ console.warn("Over ".concat(200, " classes were generated for component ").concat(x).concat(V, `.
1358
1358
  `) + `Consider using the attrs method, together with a style object for frequently changed styles.
1359
1359
  Example:
1360
1360
  const Component = styled.div.attrs(props => ({
@@ -1363,12 +1363,12 @@ Example:
1363
1363
  },
1364
1364
  }))\`width: 100%;\`
1365
1365
 
1366
- <Component />`), p = !0, m = {};
1366
+ <Component />`), p = !0, g = {};
1367
1367
  }
1368
1368
  };
1369
- })(y, v)), pr(k, function() {
1370
- return ".".concat(k.styledComponentId);
1371
- }), a && Qr(k, e, { attrs: !0, componentStyle: !0, displayName: !0, foldedComponentIds: !0, shouldForwardProp: !0, styledComponentId: !0, target: !0 }), k;
1369
+ })(b, v)), fr(S, function() {
1370
+ return ".".concat(S.styledComponentId);
1371
+ }), s && at(S, e, { attrs: !0, componentStyle: !0, displayName: !0, foldedComponentIds: !0, shouldForwardProp: !0, styledComponentId: !0, target: !0 }), S;
1372
1372
  }
1373
1373
  function Dr(e, r) {
1374
1374
  for (var t = [e[0]], o = 0, n = r.length; o < n; o += 1) t.push(r[o], e[o + 1]);
@@ -1377,29 +1377,29 @@ function Dr(e, r) {
1377
1377
  var zr = function(e) {
1378
1378
  return Object.assign(e, { isCss: !0 });
1379
1379
  };
1380
- function w(e) {
1380
+ function f(e) {
1381
1381
  for (var r = [], t = 1; t < arguments.length; t++) r[t - 1] = arguments[t];
1382
- if (ue(e) || de(e)) return zr(re(Dr(Ge, ae([e], r, !0))));
1382
+ if (ue(e) || de(e)) return zr(re(Dr(Ge, se([e], r, !0))));
1383
1383
  var o = e;
1384
1384
  return r.length === 0 && o.length === 1 && typeof o[0] == "string" ? re(o) : zr(re(Dr(o, r)));
1385
1385
  }
1386
- function ar(e, r, t) {
1386
+ function ir(e, r, t) {
1387
1387
  if (t === void 0 && (t = le), !r) throw fe(1, r);
1388
1388
  var o = function(n) {
1389
- for (var a = [], i = 1; i < arguments.length; i++) a[i - 1] = arguments[i];
1390
- return e(r, t, w.apply(void 0, ae([n], a, !1)));
1389
+ for (var s = [], c = 1; c < arguments.length; c++) s[c - 1] = arguments[c];
1390
+ return e(r, t, f.apply(void 0, se([n], s, !1)));
1391
1391
  };
1392
1392
  return o.attrs = function(n) {
1393
- return ar(e, r, D(D({}, t), { attrs: Array.prototype.concat(t.attrs, n).filter(Boolean) }));
1393
+ return ir(e, r, D(D({}, t), { attrs: Array.prototype.concat(t.attrs, n).filter(Boolean) }));
1394
1394
  }, o.withConfig = function(n) {
1395
- return ar(e, r, D(D({}, t), n));
1395
+ return ir(e, r, D(D({}, t), n));
1396
1396
  }, o;
1397
1397
  }
1398
- var it = function(e) {
1399
- return ar(So, e);
1400
- }, xe = it;
1401
- tr.forEach(function(e) {
1402
- xe[e] = it(e);
1398
+ var ft = function(e) {
1399
+ return ir(Ro, e);
1400
+ }, he = ft;
1401
+ or.forEach(function(e) {
1402
+ he[e] = ft(e);
1403
1403
  });
1404
1404
  process.env.NODE_ENV !== "production" && typeof navigator < "u" && navigator.product === "ReactNative" && console.warn(`It looks like you've imported 'styled-components' on React Native.
1405
1405
  Perhaps you're looking to import 'styled-components/native'?
@@ -1408,7 +1408,7 @@ var Te = "__sc-".concat(te, "__");
1408
1408
  process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && typeof window < "u" && (window[Te] || (window[Te] = 0), window[Te] === 1 && console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
1409
1409
 
1410
1410
  See https://s-c.sh/2BAXzed for more info.`), window[Te] += 1);
1411
- const fr = (e) => w`
1411
+ const Ue = (e) => f`
1412
1412
  @media (hover: hover) {
1413
1413
  &:hover:not(:disabled) {
1414
1414
  ${e}
@@ -1420,25 +1420,25 @@ const fr = (e) => w`
1420
1420
  ${e}
1421
1421
  }
1422
1422
  }
1423
- `, ko = (e = "1rem") => w`
1423
+ `, Co = (e = "1rem") => f`
1424
1424
  &:not(:last-child) {
1425
1425
  margin-block-end: ${e};
1426
1426
  }
1427
- `, xo = (e = "1rem") => w`
1427
+ `, Ao = (e = "1rem") => f`
1428
1428
  &:not(:first-child) {
1429
1429
  margin-block-start: ${e};
1430
1430
  }
1431
- `, Eo = (e = "1rem", r) => w`
1432
- ${xo(e)}
1433
- ${ko(e)}
1434
- `, $o = (e = "1.5rem", r) => w`
1431
+ `, To = (e = "1rem", r) => f`
1432
+ ${Ao(e)}
1433
+ ${Co(e)}
1434
+ `, ht = (e = "1.5rem", r) => f`
1435
1435
  --ava: ${e};
1436
1436
  max-width: var(--ava);
1437
1437
  min-width: var(--ava);
1438
1438
  width: var(--ava);
1439
1439
  height: ${"var(--ava)"};
1440
1440
  max-height: var(--ava);
1441
- `, Po = w`
1441
+ `, Oo = f`
1442
1442
  path,
1443
1443
  rect,
1444
1444
  circle {
@@ -1453,55 +1453,62 @@ const fr = (e) => w`
1453
1453
  }
1454
1454
  }
1455
1455
  `;
1456
- w`
1456
+ f`
1457
1457
  position: absolute;
1458
1458
  top: 50%;
1459
1459
  left: 50%;
1460
1460
  transform: translate(-50%, -50%);
1461
1461
  `;
1462
- w`
1462
+ f`
1463
1463
  list-style: none;
1464
1464
  margin: 0;
1465
1465
  padding-inline-start: 0;
1466
- ${Eo("0")}
1466
+ ${To("0")}
1467
1467
  `;
1468
- const _o = w`
1468
+ const No = f`
1469
1469
  max-width: 100%;
1470
1470
  width: 100%;
1471
1471
  height: 100%;
1472
1472
  object-fit: contain;
1473
1473
  `;
1474
- w`
1474
+ f`
1475
1475
  max-width: 100%;
1476
1476
  width: 100%;
1477
1477
  height: 100%;
1478
1478
  object-fit: cover;
1479
1479
  `;
1480
- const c = {
1480
+ const i = {
1481
1481
  colors: {
1482
1482
  // Основные цвета
1483
1483
  bgPrimary: "var(--bg-primary, #1677ff)",
1484
1484
  bgDefault: "var(--bg-default, #d9d9d9)",
1485
1485
  bgWhite: "var(--bg-white, #fff)",
1486
- colorText: "var(--color-text, #000)",
1487
- colorWhite: "var(--color-white, #fff)",
1488
- colorLink: "var(--color-link, #1677ff)",
1489
- brDefault: "var(--br-default, #d9d9d9)",
1486
+ text: "var(--color-text, #000)",
1487
+ white: "var(--color-white, #fff)",
1488
+ link: "var(--color-link, #1677ff)",
1489
+ brDefault: "var(--color-br-default, #d9d9d9)",
1490
+ inputText: "var(--color-input-text, #000)",
1491
+ inputBg: "var(--bg-input-text, #ffffff)",
1492
+ inputBorder: "var(--color-br-input-text, #a8a8a8)",
1490
1493
  // Hover состояния
1491
1494
  hover: {
1492
1495
  bgPrimary: "var(--hover-bg-primary, #4096ff)",
1493
- colorLink: "var(--hover-color-link, #4096ff)"
1496
+ link: "var(--hover-color-link, #4096ff)"
1497
+ },
1498
+ // Focus состояния
1499
+ focused: {
1500
+ bgPrimary: "var(--focused-bg-primary, #4096ff)"
1494
1501
  },
1495
1502
  // Pressed состояния
1496
1503
  pressed: {
1497
1504
  bgPrimary: "var(--pressed-bg-primary, #0958d9)",
1498
- colorLink: "var(--pressed-color-link, #0958d9)"
1505
+ link: "var(--pressed-color-link, #0958d9)"
1499
1506
  },
1500
1507
  // Disabled состояния
1501
1508
  disabled: {
1502
1509
  bgPrimary: "var(--disabled-bg-primary, #ddd)",
1503
- colorText: "var(--disabled-color-text, #818181)",
1504
- colorWhite: "var(--disabled-color-white, #818181)",
1510
+ text: "var(--disabled-color-text, #818181)",
1511
+ white: "var(--disabled-color-white, #818181)",
1505
1512
  brDefault: "var(--disabled-br-default, #ddd)"
1506
1513
  },
1507
1514
  button: {
@@ -1510,19 +1517,45 @@ const c = {
1510
1517
  }
1511
1518
  },
1512
1519
  typography: {
1520
+ fontFamily: "var(--button-font-family, system-ui)",
1513
1521
  button: {
1514
1522
  fontFamily: "var(--button-font-family, system-ui)",
1515
1523
  fontSize: "var(--button-font-size, 0.875rem)",
1516
1524
  fontWeight: "var(--button-font-weight, 400)"
1525
+ },
1526
+ label: {
1527
+ fontSize: "var(--label-font-size, 1rem)",
1528
+ fontWeight: "var(--label-font-weight, 400)"
1517
1529
  }
1518
1530
  },
1531
+ range: {
1532
+ colors: {
1533
+ borderImageSource: {
1534
+ default: "var(--range-border-image-source, #1677ff)",
1535
+ hover: "var(--range-hover-border-image-source, #4096ff)",
1536
+ pressed: "var(--range-pressed-border-image-source, #0958d9)"
1537
+ }
1538
+ },
1539
+ sizes: {
1540
+ thumb: "var(--range-thumb-size, 1.25rem)",
1541
+ track: "var(--range-track-size, 0.125rem)",
1542
+ line: "var(--range-line-size, 0.125rem)"
1543
+ },
1544
+ radius: "var(--range-radius, 1.25rem)"
1545
+ },
1519
1546
  radius: {
1520
- button: { brSmall: "var(--button-br-small, 0.25rem)" }
1547
+ button: { brSmall: "var(--br-button-small, 0.25rem)" },
1548
+ checkbox: "var(--br-checkbox, 0.125rem)",
1549
+ input: "var(--br-checkbox, 0.3125rem)"
1521
1550
  },
1522
1551
  padding: {
1523
- button: "var(--button-padding, 0.5rem 1rem)"
1552
+ button: "var(--button-padding, 0.5rem 1rem)",
1553
+ input: "var(--button-padding, 0.5rem 0.75rem)"
1554
+ },
1555
+ shadow: {
1556
+ checkmark: "var(--shadow-checkmark, 0 0 0 0.25rem rgba(13, 110, 253, 0.25))"
1524
1557
  }
1525
- }, Ee = w`
1558
+ }, xe = f`
1526
1559
  font-style: normal;
1527
1560
  line-height: 1.5;
1528
1561
  width: fit-content;
@@ -1533,10 +1566,10 @@ const c = {
1533
1566
  user-select: none;
1534
1567
  transition: 0.2s color, 0.2s background-color, 0.2s border-color;
1535
1568
 
1536
- ${Po}
1569
+ ${Oo}
1537
1570
 
1538
1571
  svg {
1539
- ${_o}
1572
+ ${No}
1540
1573
  }
1541
1574
 
1542
1575
  &:focus-visible {
@@ -1544,154 +1577,154 @@ const c = {
1544
1577
  }
1545
1578
 
1546
1579
  &:disabled {
1547
- background-color: ${c.colors.disabled.bgPrimary};
1548
- color: ${c.colors.disabled.colorWhite};
1549
- border-color: ${c.colors.disabled.brDefault};
1580
+ background-color: ${i.colors.disabled.bgPrimary};
1581
+ color: ${i.colors.disabled.white};
1582
+ border-color: ${i.colors.disabled.brDefault};
1550
1583
  pointer-events: none;
1551
1584
  }
1552
- `, ct = w`
1553
- font-family: ${c.typography.button.fontFamily};
1554
- font-size: ${c.typography.button.fontSize};
1555
- font-weight: ${c.typography.button.fontWeight};
1585
+ `, mt = f`
1586
+ font-family: ${i.typography.button.fontFamily};
1587
+ font-size: ${i.typography.button.fontSize};
1588
+ font-weight: ${i.typography.button.fontWeight};
1556
1589
  text-align: center;
1557
1590
  display: flex;
1558
1591
  align-items: center;
1559
1592
  justify-content: center;
1560
1593
  gap: 0.625rem;
1561
- `, hr = w`
1562
- ${ct}
1563
- ${Ee}
1564
- background-color: var(--background-color, ${c.colors.bgPrimary});
1565
- color: var(--color, ${c.colors.colorWhite});
1566
- border-color: var(--border-color, ${c.colors.bgPrimary});
1567
- border-radius: var(--border-radius, ${c.radius.button.brSmall});
1594
+ `, hr = f`
1595
+ ${mt}
1596
+ ${xe}
1597
+ background-color: var(--background-color, ${i.colors.bgPrimary});
1598
+ color: var(--color, ${i.colors.white});
1599
+ border-color: var(--border-color, ${i.colors.bgPrimary});
1600
+ border-radius: var(--border-radius, ${i.radius.button.brSmall});
1568
1601
  padding: 0.5rem 1rem;
1569
1602
 
1570
- ${fr(w`
1603
+ ${Ue(f`
1571
1604
  background-color: var(
1572
1605
  --hover-background-color,
1573
- ${c.colors.hover.bgPrimary}
1606
+ ${i.colors.hover.bgPrimary}
1574
1607
  );
1575
- color: var(--hover-color, ${c.colors.colorWhite});
1576
- border-color: var(--hover-border-color, ${c.colors.hover.bgPrimary});
1608
+ color: var(--hover-color, ${i.colors.white});
1609
+ border-color: var(--hover-border-color, ${i.colors.hover.bgPrimary});
1577
1610
  `)}
1578
1611
 
1579
1612
  &:active:not(:disabled) {
1580
1613
  background-color: var(
1581
1614
  --pressed-background-color,
1582
- ${c.colors.pressed.bgPrimary}
1615
+ ${i.colors.pressed.bgPrimary}
1583
1616
  );
1584
- color: var(--pressed-color, ${c.colors.colorWhite});
1617
+ color: var(--pressed-color, ${i.colors.white});
1585
1618
  border-color: var(
1586
1619
  --pressed-border-color,
1587
- ${c.colors.pressed.bgPrimary}
1620
+ ${i.colors.pressed.bgPrimary}
1588
1621
  );
1589
1622
  }
1590
- `, mr = w`
1591
- ${Ee}
1623
+ `, mr = f`
1624
+ ${xe}
1592
1625
  ${hr}
1593
- --background-color: ${c.colors.bgPrimary};
1594
- --color: ${c.colors.colorWhite};
1595
- --border-color: ${c.colors.bgPrimary};
1596
- --border-radius: ${c.radius.button.brSmall};
1597
- --hover-background-color: ${c.colors.hover.bgPrimary};
1598
- --hover-color: ${c.colors.colorWhite};
1599
- --hover-border-color: ${c.colors.hover.bgPrimary};
1600
- --pressed-background-color: ${c.colors.pressed.bgPrimary};
1601
- --pressed-color: ${c.colors.colorWhite};
1602
- --pressed-border-color: ${c.colors.pressed.bgPrimary};
1603
- `, Ro = xe.button`
1604
- ${Ee}
1605
- ${ct}
1626
+ --background-color: ${i.colors.bgPrimary};
1627
+ --color: ${i.colors.white};
1628
+ --border-color: ${i.colors.bgPrimary};
1629
+ --border-radius: ${i.radius.button.brSmall};
1630
+ --hover-background-color: ${i.colors.hover.bgPrimary};
1631
+ --hover-color: ${i.colors.white};
1632
+ --hover-border-color: ${i.colors.hover.bgPrimary};
1633
+ --pressed-background-color: ${i.colors.pressed.bgPrimary};
1634
+ --pressed-color: ${i.colors.white};
1635
+ --pressed-border-color: ${i.colors.pressed.bgPrimary};
1636
+ `, Io = he.button`
1637
+ ${xe}
1638
+ ${mt}
1606
1639
 
1607
1640
  // Общие стили для всех кнопок
1608
- border-radius: ${c.radius.button.brSmall};
1609
- padding: ${c.padding.button};
1610
- `, Co = w`
1641
+ border-radius: ${i.radius.button.brSmall};
1642
+ padding: ${i.padding.button};
1643
+ `, jo = f`
1611
1644
  ${hr}
1612
1645
  --background-color: transparent;
1613
- --color: ${c.colors.colorText};
1614
- --border-color: ${c.colors.bgPrimary};
1615
- --border-radius: ${c.radius.button.brSmall};
1616
- --hover-background-color: ${c.colors.hover.bgPrimary};
1617
- --hover-color: ${c.colors.colorWhite};
1618
- --hover-border-color: ${c.colors.hover.bgPrimary};
1619
- --pressed-background-color: ${c.colors.pressed.bgPrimary};
1620
- --pressed-color: ${c.colors.colorWhite};
1621
- --pressed-border-color: ${c.colors.pressed.bgPrimary};
1622
- `, Ao = w`
1646
+ --color: ${i.colors.text};
1647
+ --border-color: ${i.colors.bgPrimary};
1648
+ --border-radius: ${i.radius.button.brSmall};
1649
+ --hover-background-color: ${i.colors.hover.bgPrimary};
1650
+ --hover-color: ${i.colors.white};
1651
+ --hover-border-color: ${i.colors.hover.bgPrimary};
1652
+ --pressed-background-color: ${i.colors.pressed.bgPrimary};
1653
+ --pressed-color: ${i.colors.white};
1654
+ --pressed-border-color: ${i.colors.pressed.bgPrimary};
1655
+ `, Do = f`
1623
1656
  ${mr}
1624
- `, To = w`
1625
- color: var(--color, ${c.colors.colorLink});
1657
+ `, zo = f`
1658
+ color: var(--color, ${i.colors.link});
1626
1659
  border: none;
1627
1660
  border-radius: 0;
1628
1661
  padding: 0;
1629
1662
 
1630
- ${fr(w`
1631
- color: var(--hover-color, ${c.colors.hover.colorLink});
1663
+ ${Ue(f`
1664
+ color: var(--hover-color, ${i.colors.hover.link});
1632
1665
  `)}
1633
1666
 
1634
1667
  &:active:not(:disabled) {
1635
- color: var(--pressed-color, ${c.colors.pressed.colorLink});
1668
+ color: var(--pressed-color, ${i.colors.pressed.link});
1636
1669
  }
1637
- `, Oo = w`
1638
- ${Ee}
1639
- `, No = w`
1670
+ `, Mo = f`
1671
+ ${xe}
1672
+ `, Fo = f`
1640
1673
  ${hr}
1641
- --background-color: ${c.colors.bgWhite};
1642
- --color: ${c.colors.colorText};
1643
- --border-color: ${c.colors.bgWhite};
1644
- --border-radius: ${c.radius.button.brSmall};
1645
- --hover-background-color: ${c.colors.hover.bgPrimary};
1646
- --hover-color: ${c.colors.colorWhite};
1647
- --hover-border-color: ${c.colors.hover.bgPrimary};
1648
- --pressed-background-color: ${c.colors.pressed.bgPrimary};
1649
- --pressed-color: ${c.colors.colorWhite};
1650
- --pressed-border-color: ${c.colors.pressed.bgPrimary};
1651
- `, Io = xe(Ro)`
1674
+ --background-color: ${i.colors.bgWhite};
1675
+ --color: ${i.colors.text};
1676
+ --border-color: ${i.colors.bgWhite};
1677
+ --border-radius: ${i.radius.button.brSmall};
1678
+ --hover-background-color: ${i.colors.hover.bgPrimary};
1679
+ --hover-color: ${i.colors.white};
1680
+ --hover-border-color: ${i.colors.hover.bgPrimary};
1681
+ --pressed-background-color: ${i.colors.pressed.bgPrimary};
1682
+ --pressed-color: ${i.colors.white};
1683
+ --pressed-border-color: ${i.colors.pressed.bgPrimary};
1684
+ `, Lo = he(Io)`
1652
1685
  ${({ button: e }) => {
1653
1686
  switch (e) {
1654
1687
  case "border":
1655
- return Co;
1688
+ return jo;
1656
1689
  case "link":
1657
- return To;
1690
+ return zo;
1658
1691
  case "white":
1659
- return No;
1692
+ return Fo;
1660
1693
  case "reset":
1661
- return Oo;
1694
+ return Mo;
1662
1695
  default:
1663
- return Ao;
1696
+ return Do;
1664
1697
  }
1665
1698
  }}
1666
- `, qo = ({
1699
+ `, on = ({
1667
1700
  children: e,
1668
1701
  disabled: r = !1,
1669
1702
  type: t = "button",
1670
1703
  button: o = "default",
1671
1704
  className: n = "",
1672
- ...a
1673
- }) => /* @__PURE__ */ Z.jsx(
1674
- Io,
1705
+ ...s
1706
+ }) => /* @__PURE__ */ B.jsx(
1707
+ Lo,
1675
1708
  {
1676
1709
  type: t,
1677
1710
  disabled: r,
1678
1711
  button: o,
1679
1712
  className: n,
1680
1713
  "aria-disabled": r,
1681
- ...a,
1714
+ ...s,
1682
1715
  children: e
1683
1716
  }
1684
- ), jo = xe.button`
1685
- ${Ee}
1686
- ${$o("1.875rem")}
1717
+ ), Bo = he.button`
1718
+ ${xe}
1719
+ ${ht("1.875rem")}
1687
1720
 
1688
1721
  font-size: 0;
1689
1722
  position: relative;
1690
1723
  border-radius: 0.25rem;
1691
- color: ${(e) => e.disabled ? c.colors.disabled.colorText : e.color || c.colors.button.colorClose};
1724
+ color: ${(e) => e.disabled ? i.colors.disabled.text : e.color || i.colors.button.colorClose};
1692
1725
 
1693
- ${fr(w`
1694
- color: ${(e) => e.disabled ? c.colors.disabled.colorText : e.hoverColor || c.colors.button.hoverColorClose};
1726
+ ${Ue(f`
1727
+ color: ${(e) => e.disabled ? i.colors.disabled.text : e.hoverColor || i.colors.button.hoverColorClose};
1695
1728
  `)}
1696
1729
 
1697
1730
  &:before {
@@ -1709,12 +1742,12 @@ const c = {
1709
1742
  stroke: currentColor;
1710
1743
  stroke-width: 0.125rem;
1711
1744
  }
1712
- `, Ho = ({
1745
+ `, nn = ({
1713
1746
  disabled: e = !1,
1714
1747
  className: r = "",
1715
1748
  ...t
1716
- }) => /* @__PURE__ */ Z.jsxs(
1717
- jo,
1749
+ }) => /* @__PURE__ */ B.jsxs(
1750
+ Bo,
1718
1751
  {
1719
1752
  type: "button",
1720
1753
  className: r,
@@ -1722,159 +1755,336 @@ const c = {
1722
1755
  "aria-label": "Close",
1723
1756
  ...t,
1724
1757
  children: [
1725
- /* @__PURE__ */ Z.jsx("span", { style: { display: "none" }, children: "Close" }),
1726
- /* @__PURE__ */ Z.jsxs("svg", { viewBox: "0 0 24 25", children: [
1727
- /* @__PURE__ */ Z.jsx("path", { d: "M6.34314 18.1567L17.6568 6.84303" }),
1728
- /* @__PURE__ */ Z.jsx("path", { d: "M17.6569 18.1567L6.34315 6.84303" })
1758
+ /* @__PURE__ */ B.jsx("span", { style: { display: "none" }, children: "Close" }),
1759
+ /* @__PURE__ */ B.jsxs("svg", { viewBox: "0 0 24 25", children: [
1760
+ /* @__PURE__ */ B.jsx("path", { d: "M6.34314 18.1567L17.6568 6.84303" }),
1761
+ /* @__PURE__ */ B.jsx("path", { d: "M17.6569 18.1567L6.34315 6.84303" })
1729
1762
  ] })
1730
1763
  ]
1731
1764
  }
1732
- ), ir = w`
1733
- border: 1px solid ${c.colors.brDefault};
1734
- padding: 8px 12px;
1735
- border-radius: 4px;
1736
- width: 100%;
1765
+ ), Wo = f`
1766
+ -webkit-appearance: none;
1767
+ appearance: none;
1768
+ ${ht("1rem")}
1769
+ border: 0.0625rem solid ${i.colors.bgPrimary};
1770
+ border-radius: ${i.radius.checkbox};
1771
+ background-repeat: no-repeat;
1772
+ background-position: center;
1773
+ background-size: contain;
1774
+ background-color: ${i.colors.bgWhite};
1775
+ cursor: pointer;
1776
+ transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out,
1777
+ border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
1778
+ margin: 0;
1779
+ cursor: pointer;
1737
1780
 
1738
- &::placeholder {
1739
- color: #999;
1781
+ &[type="radio"] {
1782
+ border-radius: var(--ava);
1740
1783
  }
1741
- `, Do = w`
1742
- ${mr}
1743
- display: inline-block;
1744
- text-align: center;
1745
- `, zo = w`
1746
- margin-right: 8px;
1747
- transform: scale(1.2);
1748
1784
 
1749
1785
  &:checked {
1750
- accent-color: ${c.colors.bgPrimary};
1786
+ background-color: ${i.colors.bgPrimary};
1787
+ border-color: ${i.colors.bgPrimary};
1788
+
1789
+ &[type="checkbox"] {
1790
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
1791
+ }
1792
+
1793
+ &[type="radio"] {
1794
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
1795
+ }
1796
+ }
1797
+
1798
+ ${Ue(f`
1799
+ border-color: ${i.colors.hover.bgPrimary};
1800
+
1801
+ &:checked {
1802
+ background-color: ${i.colors.hover.bgPrimary};
1803
+ }
1804
+ `)}
1805
+
1806
+ &:focus-visible {
1807
+ outline: none;
1808
+ border-color: ${i.colors.hover.bgPrimary};
1809
+ box-shadow: ${i.shadow.checkmark};
1810
+ }
1811
+
1812
+ &:disabled {
1813
+ filter: none;
1814
+ opacity: 0.5;
1815
+ cursor: not-allowed;
1816
+
1817
+ ~ p {
1818
+ opacity: 0.5;
1819
+ }
1820
+ }
1821
+
1822
+ body & ~ p {
1823
+ margin-top: -0.1875em;
1751
1824
  }
1752
- `, Mo = w`
1825
+ `, cr = f`
1826
+ font-family: ${i.typography.fontFamily};
1827
+ font-size: ${i.typography.label.fontSize};
1828
+ font-weight: ${i.typography.label.fontWeight};
1829
+ color: ${i.colors.inputText};
1830
+ background-color: ${i.colors.inputBg};
1831
+ border: 0.0625rem solid ${i.colors.inputBorder};
1832
+ border-radius: ${i.radius.input};
1833
+ padding: ${i.padding.input};
1834
+ transition: 0.2s border-color, 0.2s background-color, 0.2s color;
1835
+
1836
+ &:focus-visible {
1837
+ outline: none;
1838
+ border-color: ${i.colors.bgPrimary};
1839
+ }
1840
+
1841
+ @media (hover: hover) {
1842
+ &:hover:not(:focus, :focus-visible, :disabled) {
1843
+ border-color: ${i.colors.bgPrimary};
1844
+ }
1845
+ }
1846
+
1847
+ @media (hover: none) {
1848
+ &:active:not(:focus, :focus-visible, :disabled) {
1849
+ border-color: ${i.colors.bgPrimary};
1850
+ }
1851
+ }
1852
+ `, Yo = f`
1853
+ ${cr}
1854
+ -moz-appearance: textfield;
1855
+ appearance: none;
1856
+ outline: none;
1857
+ min-width: 1.75rem;
1858
+ width: fit-content;
1859
+ text-align: center;
1860
+
1861
+ &::-webkit-outer-spin-button,
1862
+ &::-webkit-inner-spin-button {
1863
+ -webkit-appearance: none;
1864
+ margin: 0;
1865
+ }
1866
+ `, Mr = f`
1867
+ width: ${i.range.sizes.thumb};
1868
+ height: ${i.range.sizes.thumb};
1869
+ margin-top: var(--margin-top-thumb);
1870
+ border: none;
1871
+ border-radius: ${i.range.radius};
1872
+ background-color: ${i.colors.bgPrimary};
1873
+ cursor: pointer;
1874
+ transition: 0.2s;
1875
+ `, Fr = f`
1876
+ box-sizing: border-box;
1877
+ background-color: ${i.colors.bgDefault};
1878
+ height: ${i.range.sizes.track};
1879
+ border: none;
1880
+ `, Lr = f`
1881
+ --border-image-source: ${i.range.colors.borderImageSource.hover};
1882
+ `, Br = f`
1883
+ --border-image-source: ${i.range.colors.borderImageSource.pressed};
1884
+ `, Wr = f`
1885
+ box-shadow: 0 0 0 1.875rem inset ${i.colors.disabled.brDefault};
1886
+ `, Yr = f`
1887
+ outline: 0.1875rem solid ${i.colors.focused.bgPrimary};
1888
+ outline-offset: ${i.range.sizes.track};
1889
+ `, Vo = f`
1890
+ --border-image-source: ${i.range.colors.borderImageSource.default};
1891
+ --margin-top-thumb: calc(
1892
+ ${i.range.sizes.thumb} / -2 + (${i.range.sizes.track} / 2)
1893
+ );
1894
+ accent-color: ${i.colors.bgPrimary};
1895
+ appearance: none;
1896
+ height: ${i.range.sizes.thumb};
1897
+ overflow-x: clip;
1898
+ background-color: transparent;
1899
+ width: 100%;
1900
+ cursor: pointer;
1901
+
1902
+ &::-webkit-slider-runnable-track {
1903
+ ${Fr}
1904
+ }
1905
+ &::-moz-range-track {
1906
+ ${Fr}
1907
+ }
1908
+ &::-webkit-slider-thumb {
1909
+ -webkit-appearance: none;
1910
+ ${Mr}
1911
+ }
1912
+ &::-moz-range-thumb {
1913
+ -moz-appearance: none;
1914
+ ${Mr}
1915
+ }
1916
+
1917
+ /* Focus состояния */
1918
+ &:focus-visible {
1919
+ outline: none;
1920
+
1921
+ &::-webkit-slider-thumb {
1922
+ ${Yr}
1923
+ }
1924
+ &::-moz-range-thumb {
1925
+ ${Yr}
1926
+ }
1927
+ }
1928
+
1929
+ /* Hover состояния */
1930
+ &:hover:not(:disabled),
1931
+ &:focus-visible:not(:disabled) {
1932
+ &::-webkit-slider-thumb {
1933
+ ${Lr}
1934
+ }
1935
+ &::-moz-range-thumb {
1936
+ ${Lr}
1937
+ }
1938
+ }
1939
+
1940
+ /* Active состояния */
1941
+ &:active:not(:disabled) {
1942
+ &::-webkit-slider-thumb {
1943
+ ${Br}
1944
+ }
1945
+ &::-moz-range-thumb {
1946
+ ${Br}
1947
+ }
1948
+ }
1949
+
1950
+ /* Прогресс для Firefox */
1951
+ &::-moz-range-progress {
1952
+ background-color: var(--border-image-source);
1953
+ height: ${i.range.sizes.track};
1954
+ }
1955
+
1956
+ &::-webkit-slider-thumb {
1957
+ background-color: var(--border-image-source);
1958
+ border-image-outset: 0 100vw;
1959
+ border-image-repeat: stretch;
1960
+ border-image-slice: 0 1;
1961
+ border-image-source: linear-gradient(
1962
+ 90deg,
1963
+ var(--border-image-source) 50%,
1964
+ transparent 0
1965
+ );
1966
+ border-image-width: calc(50% - ${i.range.sizes.line}) 50%;
1967
+ }
1968
+
1969
+ /* Disabled состояния */
1970
+ &:disabled {
1971
+ cursor: not-allowed;
1972
+ opacity: 0.8;
1973
+
1974
+ &::-webkit-slider-thumb {
1975
+ cursor: not-allowed;
1976
+ ${Wr}
1977
+ }
1978
+
1979
+ &::-moz-range-thumb {
1980
+ cursor: not-allowed;
1981
+ ${Wr}
1982
+ }
1983
+ }
1984
+ `, Go = f`
1985
+ ${mr}
1986
+ display: inline-block;
1987
+ `, Uo = f`
1753
1988
  width: 50px;
1754
1989
  height: 30px;
1755
1990
  padding: 2px;
1756
- border: 1px solid ${c.colors.brDefault};
1991
+ border: 1px solid ${i.colors.brDefault};
1757
1992
  border-radius: 4px;
1758
1993
  cursor: pointer;
1759
- `, Lo = w`
1994
+ `, qo = f`
1760
1995
  padding: 8px;
1761
- border: 1px dashed ${c.colors.brDefault};
1996
+ border: 1px dashed ${i.colors.brDefault};
1762
1997
  border-radius: 4px;
1763
- width: 100%;
1764
1998
  cursor: pointer;
1765
1999
 
1766
2000
  &::file-selector-button {
1767
2001
  ${mr}
1768
2002
  margin-right: 12px;
1769
2003
  }
1770
- `, Wo = w`
1771
- ${ir}
1772
-
1773
- &::-webkit-inner-spin-button,
1774
- &::-webkit-outer-spin-button {
1775
- margin: 0;
1776
- }
1777
- `, Fo = w`
1778
- width: 100%;
1779
- height: 6px;
1780
- background: ${c.colors.bgDefault};
1781
- border-radius: 3px;
1782
- outline: none;
1783
-
1784
- &::-webkit-slider-thumb {
1785
- width: 18px;
1786
- height: 18px;
1787
- border-radius: 50%;
1788
- background: ${c.colors.bgPrimary};
1789
- cursor: pointer;
1790
- appearance: none;
1791
- }
1792
-
1793
- &::-moz-range-thumb {
1794
- width: 18px;
1795
- height: 18px;
1796
- border-radius: 50%;
1797
- background: ${c.colors.bgPrimary};
1798
- cursor: pointer;
1799
- border: none;
1800
- }
1801
- `, Yo = w`
2004
+ `, Ho = f`
1802
2005
  padding: 10px 20px;
1803
2006
  border: none;
1804
2007
  border-radius: 4px;
1805
2008
  cursor: pointer;
1806
2009
  font-weight: bold;
1807
- background-color: ${c.colors.bgPrimary};
1808
- color: ${c.colors.colorWhite};
2010
+ background-color: ${i.colors.bgPrimary};
2011
+ color: ${i.colors.white};
1809
2012
 
1810
2013
  &:hover:not(:disabled) {
1811
- background-color: ${c.colors.hover.bgPrimary};
2014
+ background-color: ${i.colors.hover.bgPrimary};
1812
2015
  }
1813
- `, Bo = w`
2016
+ `, Xo = f`
1814
2017
  display: none;
1815
- `, Vo = (e) => {
2018
+ `, Jo = f`
2019
+ flex-direction: column;
2020
+
2021
+ p {
2022
+ order: -1;
2023
+ }
2024
+ `, Zo = f``, Ko = (e) => {
1816
2025
  switch (e) {
1817
2026
  case "button":
1818
2027
  case "submit":
1819
2028
  case "reset":
1820
- return Do;
2029
+ return Go;
1821
2030
  case "checkbox":
1822
2031
  case "radio":
1823
- return zo;
2032
+ return Wo;
1824
2033
  case "color":
1825
- return Mo;
2034
+ return Uo;
1826
2035
  case "date":
1827
2036
  case "datetime-local":
1828
2037
  case "month":
1829
2038
  case "time":
1830
2039
  case "week":
1831
- return ir;
2040
+ return cr;
1832
2041
  case "file":
1833
- return Lo;
2042
+ return qo;
1834
2043
  case "image":
1835
- return Yo;
2044
+ return Ho;
1836
2045
  case "number":
1837
- return Wo;
2046
+ return Yo;
1838
2047
  case "range":
1839
- return Fo;
2048
+ return Vo;
1840
2049
  case "hidden":
1841
- return Bo;
2050
+ return Xo;
1842
2051
  // text, password, email, search, tel, url
1843
2052
  default:
1844
- return ir;
2053
+ return cr;
1845
2054
  }
1846
- }, Go = xe.input`
1847
- ${({ type: e }) => Vo(e)}
1848
- `, Xo = ({
1849
- id: e,
1850
- type: r,
1851
- name: t,
1852
- className: o,
1853
- disabled: n,
1854
- required: a,
1855
- readOnly: i,
1856
- onBlur: u,
1857
- onFocus: l,
1858
- onClick: b,
1859
- ...g
1860
- }) => /* @__PURE__ */ Z.jsx(
1861
- Go,
1862
- {
1863
- type: r,
1864
- className: o,
1865
- name: t,
1866
- id: e,
1867
- disabled: n,
1868
- required: a,
1869
- readOnly: i,
1870
- onBlur: u,
1871
- onFocus: l,
1872
- onClick: b,
1873
- ...g
2055
+ }, Qo = (e) => {
2056
+ switch (e) {
2057
+ case "checkbox":
2058
+ case "radio":
2059
+ return Zo;
2060
+ default:
2061
+ return Jo;
1874
2062
  }
1875
- );
2063
+ }, en = he.input`
2064
+ width: auto;
2065
+ max-width: 100%;
2066
+ ${({ type: e }) => Ko(e)}
2067
+ `, rn = he.label`
2068
+ ${({ $type: e }) => Qo(e)}
2069
+ display: flex;
2070
+ gap: 0.25rem;
2071
+ user-select: none;
2072
+
2073
+ p {
2074
+ font-family: ${i.typography.fontFamily};
2075
+ font-size: ${i.typography.label.fontSize};
2076
+ font-weight: ${i.typography.label.fontWeight};
2077
+ margin: 0;
2078
+ }
2079
+ `, an = ({ id: e, type: r = "text", label: t, ...o }) => {
2080
+ const n = () => /* @__PURE__ */ B.jsx(en, { id: e, type: r, ...o });
2081
+ return t ? /* @__PURE__ */ B.jsxs(rn, { $type: r, children: [
2082
+ /* @__PURE__ */ B.jsx(n, {}),
2083
+ /* @__PURE__ */ B.jsx("p", { children: t })
2084
+ ] }) : /* @__PURE__ */ B.jsx(n, {});
2085
+ };
1876
2086
  export {
1877
- qo as Button,
1878
- Ho as ButtonClose,
1879
- Xo as Input
2087
+ on as Button,
2088
+ nn as ButtonClose,
2089
+ an as Input
1880
2090
  };