@companycam/slab-web 0.0.23-beta.2 → 0.0.23-beta.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.mjs ADDED
@@ -0,0 +1,2254 @@
1
+ import { jsx as y, jsxs as O } from "react/jsx-runtime";
2
+ import ge, { useRef as an, useDebugValue as dt, createElement as cn, useContext as ln } from "react";
3
+ const ja = () => /* @__PURE__ */ y("div", { children: "Hams" });
4
+ var T = function() {
5
+ return T = Object.assign || function(t) {
6
+ for (var n, r = 1, o = arguments.length; r < o; r++) {
7
+ n = arguments[r];
8
+ for (var s in n)
9
+ Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
10
+ }
11
+ return t;
12
+ }, T.apply(this, arguments);
13
+ };
14
+ function Q(e, t, n) {
15
+ if (n || arguments.length === 2)
16
+ for (var r = 0, o = t.length, s; r < o; r++)
17
+ (s || !(r in t)) && (s || (s = Array.prototype.slice.call(t, 0, r)), s[r] = t[r]);
18
+ return e.concat(s || Array.prototype.slice.call(t));
19
+ }
20
+ function dn(e) {
21
+ var t = /* @__PURE__ */ Object.create(null);
22
+ return function(n) {
23
+ return t[n] === void 0 && (t[n] = e(n)), t[n];
24
+ };
25
+ }
26
+ var un = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, pn = /* @__PURE__ */ dn(
27
+ function(e) {
28
+ return un.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
29
+ }
30
+ /* Z+1 */
31
+ ), w = "-ms-", he = "-moz-", b = "-webkit-", At = "comm", Ne = "rule", rt = "decl", _n = "@import", Nt = "@keyframes", fn = "@layer", hn = Math.abs, ot = String.fromCharCode, Ye = Object.assign;
32
+ function gn(e, t) {
33
+ return A(e, 0) ^ 45 ? (((t << 2 ^ A(e, 0)) << 2 ^ A(e, 1)) << 2 ^ A(e, 2)) << 2 ^ A(e, 3) : 0;
34
+ }
35
+ function Pt(e) {
36
+ return e.trim();
37
+ }
38
+ function B(e, t) {
39
+ return (e = t.exec(e)) ? e[0] : e;
40
+ }
41
+ function u(e, t, n) {
42
+ return e.replace(t, n);
43
+ }
44
+ function $e(e, t) {
45
+ return e.indexOf(t);
46
+ }
47
+ function A(e, t) {
48
+ return e.charCodeAt(t) | 0;
49
+ }
50
+ function oe(e, t, n) {
51
+ return e.slice(t, n);
52
+ }
53
+ function L(e) {
54
+ return e.length;
55
+ }
56
+ function Tt(e) {
57
+ return e.length;
58
+ }
59
+ function fe(e, t) {
60
+ return t.push(e), e;
61
+ }
62
+ function mn(e, t) {
63
+ return e.map(t).join("");
64
+ }
65
+ function ut(e, t) {
66
+ return e.filter(function(n) {
67
+ return !B(n, t);
68
+ });
69
+ }
70
+ var Pe = 1, se = 1, Ot = 0, D = 0, I = 0, le = "";
71
+ function Te(e, t, n, r, o, s, a, c) {
72
+ return { value: e, root: t, parent: n, type: r, props: o, children: s, line: Pe, column: se, length: a, return: "", siblings: c };
73
+ }
74
+ function V(e, t) {
75
+ return Ye(Te("", null, null, "", null, null, 0, e.siblings), e, { length: -e.length }, t);
76
+ }
77
+ function ne(e) {
78
+ for (; e.root; )
79
+ e = V(e.root, { children: [e] });
80
+ fe(e, e.siblings);
81
+ }
82
+ function yn() {
83
+ return I;
84
+ }
85
+ function bn() {
86
+ return I = D > 0 ? A(le, --D) : 0, se--, I === 10 && (se = 1, Pe--), I;
87
+ }
88
+ function j() {
89
+ return I = D < Ot ? A(le, D++) : 0, se++, I === 10 && (se = 1, Pe++), I;
90
+ }
91
+ function X() {
92
+ return A(le, D);
93
+ }
94
+ function Se() {
95
+ return D;
96
+ }
97
+ function Oe(e, t) {
98
+ return oe(le, e, t);
99
+ }
100
+ function Ue(e) {
101
+ switch (e) {
102
+ case 0:
103
+ case 9:
104
+ case 10:
105
+ case 13:
106
+ case 32:
107
+ return 5;
108
+ case 33:
109
+ case 43:
110
+ case 44:
111
+ case 47:
112
+ case 62:
113
+ case 64:
114
+ case 126:
115
+ case 59:
116
+ case 123:
117
+ case 125:
118
+ return 4;
119
+ case 58:
120
+ return 3;
121
+ case 34:
122
+ case 39:
123
+ case 40:
124
+ case 91:
125
+ return 2;
126
+ case 41:
127
+ case 93:
128
+ return 1;
129
+ }
130
+ return 0;
131
+ }
132
+ function vn(e) {
133
+ return Pe = se = 1, Ot = L(le = e), D = 0, [];
134
+ }
135
+ function xn(e) {
136
+ return le = "", e;
137
+ }
138
+ function Be(e) {
139
+ return Pt(Oe(D - 1, We(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
140
+ }
141
+ function wn(e) {
142
+ for (; (I = X()) && I < 33; )
143
+ j();
144
+ return Ue(e) > 2 || Ue(I) > 3 ? "" : " ";
145
+ }
146
+ function kn(e, t) {
147
+ for (; --t && j() && !(I < 48 || I > 102 || I > 57 && I < 65 || I > 70 && I < 97); )
148
+ ;
149
+ return Oe(e, Se() + (t < 6 && X() == 32 && j() == 32));
150
+ }
151
+ function We(e) {
152
+ for (; j(); )
153
+ switch (I) {
154
+ case e:
155
+ return D;
156
+ case 34:
157
+ case 39:
158
+ e !== 34 && e !== 39 && We(I);
159
+ break;
160
+ case 40:
161
+ e === 41 && We(e);
162
+ break;
163
+ case 92:
164
+ j();
165
+ break;
166
+ }
167
+ return D;
168
+ }
169
+ function $n(e, t) {
170
+ for (; j() && e + I !== 47 + 10; )
171
+ if (e + I === 42 + 42 && X() === 47)
172
+ break;
173
+ return "/*" + Oe(t, D - 1) + "*" + ot(e === 47 ? e : j());
174
+ }
175
+ function Sn(e) {
176
+ for (; !Ue(X()); )
177
+ j();
178
+ return Oe(e, D);
179
+ }
180
+ function zn(e) {
181
+ return xn(ze("", null, null, null, [""], e = vn(e), 0, [0], e));
182
+ }
183
+ function ze(e, t, n, r, o, s, a, c, i) {
184
+ for (var l = 0, _ = 0, d = a, g = 0, h = 0, v = 0, $ = 1, N = 1, z = 1, C = 0, x = "", S = o, E = s, m = r, p = x; N; )
185
+ switch (v = C, C = j()) {
186
+ case 40:
187
+ if (v != 108 && A(p, d - 1) == 58) {
188
+ $e(p += u(Be(C), "&", "&\f"), "&\f") != -1 && (z = -1);
189
+ break;
190
+ }
191
+ case 34:
192
+ case 39:
193
+ case 91:
194
+ p += Be(C);
195
+ break;
196
+ case 9:
197
+ case 10:
198
+ case 13:
199
+ case 32:
200
+ p += wn(v);
201
+ break;
202
+ case 92:
203
+ p += kn(Se() - 1, 7);
204
+ continue;
205
+ case 47:
206
+ switch (X()) {
207
+ case 42:
208
+ case 47:
209
+ fe(Cn($n(j(), Se()), t, n, i), i);
210
+ break;
211
+ default:
212
+ p += "/";
213
+ }
214
+ break;
215
+ case 123 * $:
216
+ c[l++] = L(p) * z;
217
+ case 125 * $:
218
+ case 59:
219
+ case 0:
220
+ switch (C) {
221
+ case 0:
222
+ case 125:
223
+ N = 0;
224
+ case 59 + _:
225
+ z == -1 && (p = u(p, /\f/g, "")), h > 0 && L(p) - d && fe(h > 32 ? _t(p + ";", r, n, d - 1, i) : _t(u(p, " ", "") + ";", r, n, d - 2, i), i);
226
+ break;
227
+ case 59:
228
+ p += ";";
229
+ default:
230
+ if (fe(m = pt(p, t, n, l, _, o, c, x, S = [], E = [], d, s), s), C === 123)
231
+ if (_ === 0)
232
+ ze(p, t, m, m, S, s, d, c, E);
233
+ else
234
+ switch (g === 99 && A(p, 3) === 110 ? 100 : g) {
235
+ case 100:
236
+ case 108:
237
+ case 109:
238
+ case 115:
239
+ ze(e, m, m, r && fe(pt(e, m, m, 0, 0, o, c, x, o, S = [], d, E), E), o, E, d, c, r ? S : E);
240
+ break;
241
+ default:
242
+ ze(p, m, m, m, [""], E, 0, c, E);
243
+ }
244
+ }
245
+ l = _ = h = 0, $ = z = 1, x = p = "", d = a;
246
+ break;
247
+ case 58:
248
+ d = 1 + L(p), h = v;
249
+ default:
250
+ if ($ < 1) {
251
+ if (C == 123)
252
+ --$;
253
+ else if (C == 125 && $++ == 0 && bn() == 125)
254
+ continue;
255
+ }
256
+ switch (p += ot(C), C * $) {
257
+ case 38:
258
+ z = _ > 0 ? 1 : (p += "\f", -1);
259
+ break;
260
+ case 44:
261
+ c[l++] = (L(p) - 1) * z, z = 1;
262
+ break;
263
+ case 64:
264
+ X() === 45 && (p += Be(j())), g = X(), _ = d = L(x = p += Sn(Se())), C++;
265
+ break;
266
+ case 45:
267
+ v === 45 && L(p) == 2 && ($ = 0);
268
+ }
269
+ }
270
+ return s;
271
+ }
272
+ function pt(e, t, n, r, o, s, a, c, i, l, _, d) {
273
+ for (var g = o - 1, h = o === 0 ? s : [""], v = Tt(h), $ = 0, N = 0, z = 0; $ < r; ++$)
274
+ for (var C = 0, x = oe(e, g + 1, g = hn(N = a[$])), S = e; C < v; ++C)
275
+ (S = Pt(N > 0 ? h[C] + " " + x : u(x, /&\f/g, h[C]))) && (i[z++] = S);
276
+ return Te(e, t, n, o === 0 ? Ne : c, i, l, _, d);
277
+ }
278
+ function Cn(e, t, n, r) {
279
+ return Te(e, t, n, At, ot(yn()), oe(e, 2, -2), 0, r);
280
+ }
281
+ function _t(e, t, n, r, o) {
282
+ return Te(e, t, n, rt, oe(e, 0, r), oe(e, r + 1, -1), r, o);
283
+ }
284
+ function Rt(e, t, n) {
285
+ switch (gn(e, t)) {
286
+ case 5103:
287
+ return b + "print-" + e + e;
288
+ case 5737:
289
+ case 4201:
290
+ case 3177:
291
+ case 3433:
292
+ case 1641:
293
+ case 4457:
294
+ case 2921:
295
+ case 5572:
296
+ case 6356:
297
+ case 5844:
298
+ case 3191:
299
+ case 6645:
300
+ case 3005:
301
+ case 6391:
302
+ case 5879:
303
+ case 5623:
304
+ case 6135:
305
+ case 4599:
306
+ case 4855:
307
+ case 4215:
308
+ case 6389:
309
+ case 5109:
310
+ case 5365:
311
+ case 5621:
312
+ case 3829:
313
+ return b + e + e;
314
+ case 4789:
315
+ return he + e + e;
316
+ case 5349:
317
+ case 4246:
318
+ case 4810:
319
+ case 6968:
320
+ case 2756:
321
+ return b + e + he + e + w + e + e;
322
+ case 5936:
323
+ switch (A(e, t + 11)) {
324
+ case 114:
325
+ return b + e + w + u(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
326
+ case 108:
327
+ return b + e + w + u(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
328
+ case 45:
329
+ return b + e + w + u(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
330
+ }
331
+ case 6828:
332
+ case 4268:
333
+ case 2903:
334
+ return b + e + w + e + e;
335
+ case 6165:
336
+ return b + e + w + "flex-" + e + e;
337
+ case 5187:
338
+ return b + e + u(e, /(\w+).+(:[^]+)/, b + "box-$1$2" + w + "flex-$1$2") + e;
339
+ case 5443:
340
+ return b + e + w + "flex-item-" + u(e, /flex-|-self/g, "") + (B(e, /flex-|baseline/) ? "" : w + "grid-row-" + u(e, /flex-|-self/g, "")) + e;
341
+ case 4675:
342
+ return b + e + w + "flex-line-pack" + u(e, /align-content|flex-|-self/g, "") + e;
343
+ case 5548:
344
+ return b + e + w + u(e, "shrink", "negative") + e;
345
+ case 5292:
346
+ return b + e + w + u(e, "basis", "preferred-size") + e;
347
+ case 6060:
348
+ return b + "box-" + u(e, "-grow", "") + b + e + w + u(e, "grow", "positive") + e;
349
+ case 4554:
350
+ return b + u(e, /([^-])(transform)/g, "$1" + b + "$2") + e;
351
+ case 6187:
352
+ return u(u(u(e, /(zoom-|grab)/, b + "$1"), /(image-set)/, b + "$1"), e, "") + e;
353
+ case 5495:
354
+ case 3959:
355
+ return u(e, /(image-set\([^]*)/, b + "$1$`$1");
356
+ case 4968:
357
+ return u(u(e, /(.+:)(flex-)?(.*)/, b + "box-pack:$3" + w + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + b + e + e;
358
+ case 4200:
359
+ if (!B(e, /flex-|baseline/))
360
+ return w + "grid-column-align" + oe(e, t) + e;
361
+ break;
362
+ case 2592:
363
+ case 3360:
364
+ return w + u(e, "template-", "") + e;
365
+ case 4384:
366
+ case 3616:
367
+ return n && n.some(function(r, o) {
368
+ return t = o, B(r.props, /grid-\w+-end/);
369
+ }) ? ~$e(e + (n = n[t].value), "span") ? e : w + u(e, "-start", "") + e + w + "grid-row-span:" + (~$e(n, "span") ? B(n, /\d+/) : +B(n, /\d+/) - +B(e, /\d+/)) + ";" : w + u(e, "-start", "") + e;
370
+ case 4896:
371
+ case 4128:
372
+ return n && n.some(function(r) {
373
+ return B(r.props, /grid-\w+-start/);
374
+ }) ? e : w + u(u(e, "-end", "-span"), "span ", "") + e;
375
+ case 4095:
376
+ case 3583:
377
+ case 4068:
378
+ case 2532:
379
+ return u(e, /(.+)-inline(.+)/, b + "$1$2") + e;
380
+ case 8116:
381
+ case 7059:
382
+ case 5753:
383
+ case 5535:
384
+ case 5445:
385
+ case 5701:
386
+ case 4933:
387
+ case 4677:
388
+ case 5533:
389
+ case 5789:
390
+ case 5021:
391
+ case 4765:
392
+ if (L(e) - 1 - t > 6)
393
+ switch (A(e, t + 1)) {
394
+ case 109:
395
+ if (A(e, t + 4) !== 45)
396
+ break;
397
+ case 102:
398
+ return u(e, /(.+:)(.+)-([^]+)/, "$1" + b + "$2-$3$1" + he + (A(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
399
+ case 115:
400
+ return ~$e(e, "stretch") ? Rt(u(e, "stretch", "fill-available"), t, n) + e : e;
401
+ }
402
+ break;
403
+ case 5152:
404
+ case 5920:
405
+ return u(e, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function(r, o, s, a, c, i, l) {
406
+ return w + o + ":" + s + l + (a ? w + o + "-span:" + (c ? i : +i - +s) + l : "") + e;
407
+ });
408
+ case 4949:
409
+ if (A(e, t + 6) === 121)
410
+ return u(e, ":", ":" + b) + e;
411
+ break;
412
+ case 6444:
413
+ switch (A(e, A(e, 14) === 45 ? 18 : 11)) {
414
+ case 120:
415
+ return u(e, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, "$1" + b + (A(e, 14) === 45 ? "inline-" : "") + "box$3$1" + b + "$2$3$1" + w + "$2box$3") + e;
416
+ case 100:
417
+ return u(e, ":", ":" + w) + e;
418
+ }
419
+ break;
420
+ case 5719:
421
+ case 2647:
422
+ case 2135:
423
+ case 3927:
424
+ case 2391:
425
+ return u(e, "scroll-", "scroll-snap-") + e;
426
+ }
427
+ return e;
428
+ }
429
+ function Ie(e, t) {
430
+ for (var n = "", r = 0; r < e.length; r++)
431
+ n += t(e[r], r, e, t) || "";
432
+ return n;
433
+ }
434
+ function En(e, t, n, r) {
435
+ switch (e.type) {
436
+ case fn:
437
+ if (e.children.length)
438
+ break;
439
+ case _n:
440
+ case rt:
441
+ return e.return = e.return || e.value;
442
+ case At:
443
+ return "";
444
+ case Nt:
445
+ return e.return = e.value + "{" + Ie(e.children, r) + "}";
446
+ case Ne:
447
+ if (!L(e.value = e.props.join(",")))
448
+ return "";
449
+ }
450
+ return L(n = Ie(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
451
+ }
452
+ function In(e) {
453
+ var t = Tt(e);
454
+ return function(n, r, o, s) {
455
+ for (var a = "", c = 0; c < t; c++)
456
+ a += e[c](n, r, o, s) || "";
457
+ return a;
458
+ };
459
+ }
460
+ function An(e) {
461
+ return function(t) {
462
+ t.root || (t = t.return) && e(t);
463
+ };
464
+ }
465
+ function Nn(e, t, n, r) {
466
+ if (e.length > -1 && !e.return)
467
+ switch (e.type) {
468
+ case rt:
469
+ e.return = Rt(e.value, e.length, n);
470
+ return;
471
+ case Nt:
472
+ return Ie([V(e, { value: u(e.value, "@", "@" + b) })], r);
473
+ case Ne:
474
+ if (e.length)
475
+ return mn(n = e.props, function(o) {
476
+ switch (B(o, r = /(::plac\w+|:read-\w+)/)) {
477
+ case ":read-only":
478
+ case ":read-write":
479
+ ne(V(e, { props: [u(o, /:(read-\w+)/, ":" + he + "$1")] })), ne(V(e, { props: [o] })), Ye(e, { props: ut(n, r) });
480
+ break;
481
+ case "::placeholder":
482
+ ne(V(e, { props: [u(o, /:(plac\w+)/, ":" + b + "input-$1")] })), ne(V(e, { props: [u(o, /:(plac\w+)/, ":" + he + "$1")] })), ne(V(e, { props: [u(o, /:(plac\w+)/, w + "input-$1")] })), ne(V(e, { props: [o] })), Ye(e, { props: ut(n, r) });
483
+ break;
484
+ }
485
+ return "";
486
+ });
487
+ }
488
+ }
489
+ var Pn = {
490
+ animationIterationCount: 1,
491
+ aspectRatio: 1,
492
+ borderImageOutset: 1,
493
+ borderImageSlice: 1,
494
+ borderImageWidth: 1,
495
+ boxFlex: 1,
496
+ boxFlexGroup: 1,
497
+ boxOrdinalGroup: 1,
498
+ columnCount: 1,
499
+ columns: 1,
500
+ flex: 1,
501
+ flexGrow: 1,
502
+ flexPositive: 1,
503
+ flexShrink: 1,
504
+ flexNegative: 1,
505
+ flexOrder: 1,
506
+ gridRow: 1,
507
+ gridRowEnd: 1,
508
+ gridRowSpan: 1,
509
+ gridRowStart: 1,
510
+ gridColumn: 1,
511
+ gridColumnEnd: 1,
512
+ gridColumnSpan: 1,
513
+ gridColumnStart: 1,
514
+ msGridRow: 1,
515
+ msGridRowSpan: 1,
516
+ msGridColumn: 1,
517
+ msGridColumnSpan: 1,
518
+ fontWeight: 1,
519
+ lineHeight: 1,
520
+ opacity: 1,
521
+ order: 1,
522
+ orphans: 1,
523
+ tabSize: 1,
524
+ widows: 1,
525
+ zIndex: 1,
526
+ zoom: 1,
527
+ WebkitLineClamp: 1,
528
+ // SVG-related properties
529
+ fillOpacity: 1,
530
+ floodOpacity: 1,
531
+ stopOpacity: 1,
532
+ strokeDasharray: 1,
533
+ strokeDashoffset: 1,
534
+ strokeMiterlimit: 1,
535
+ strokeOpacity: 1,
536
+ strokeWidth: 1
537
+ }, J = typeof process < "u" && process.env !== void 0 && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled", st = typeof window < "u" && "HTMLElement" in window, Tn = !!(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"), ft = /invalid hook call/i, xe = /* @__PURE__ */ new Set(), On = function(e, t) {
538
+ if (process.env.NODE_ENV !== "production") {
539
+ var n = t ? ' with the id of "'.concat(t, '"') : "", r = "The component ".concat(e).concat(n, ` has been created dynamically.
540
+ `) + `You may see this warning because you've called styled inside another component.
541
+ To resolve this only create new StyledComponents outside of any render method and function component.`, o = console.error;
542
+ try {
543
+ var s = !0;
544
+ console.error = function(a) {
545
+ for (var c = [], i = 1; i < arguments.length; i++)
546
+ c[i - 1] = arguments[i];
547
+ ft.test(a) ? (s = !1, xe.delete(r)) : o.apply(void 0, Q([a], c, !1));
548
+ }, an(), s && !xe.has(r) && (console.warn(r), xe.add(r));
549
+ } catch (a) {
550
+ ft.test(a.message) && xe.delete(r);
551
+ } finally {
552
+ console.error = o;
553
+ }
554
+ }
555
+ }, Re = Object.freeze([]), ae = Object.freeze({});
556
+ function Rn(e, t, n) {
557
+ return n === void 0 && (n = ae), e.theme !== n.theme && e.theme || t || n.theme;
558
+ }
559
+ var qe = /* @__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"]), Dn = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g, Mn = /(^-|-$)/g;
560
+ function ht(e) {
561
+ return e.replace(Dn, "-").replace(Mn, "");
562
+ }
563
+ var jn = /(a)(d)/gi, gt = function(e) {
564
+ return String.fromCharCode(e + (e > 25 ? 39 : 97));
565
+ };
566
+ function Xe(e) {
567
+ var t, n = "";
568
+ for (t = Math.abs(e); t > 52; t = t / 52 | 0)
569
+ n = gt(t % 52) + n;
570
+ return (gt(t % 52) + n).replace(jn, "$1-$2");
571
+ }
572
+ var Fe, U = function(e, t) {
573
+ for (var n = t.length; n; )
574
+ e = 33 * e ^ t.charCodeAt(--n);
575
+ return e;
576
+ }, Dt = function(e) {
577
+ return U(5381, e);
578
+ };
579
+ function Mt(e) {
580
+ return Xe(Dt(e) >>> 0);
581
+ }
582
+ function jt(e) {
583
+ return process.env.NODE_ENV !== "production" && typeof e == "string" && e || e.displayName || e.name || "Component";
584
+ }
585
+ function He(e) {
586
+ return typeof e == "string" && (process.env.NODE_ENV === "production" || e.charAt(0) === e.charAt(0).toLowerCase());
587
+ }
588
+ var Lt = typeof Symbol == "function" && Symbol.for, Bt = Lt ? Symbol.for("react.memo") : 60115, Ln = Lt ? Symbol.for("react.forward_ref") : 60112, Bn = { childContextTypes: !0, contextType: !0, contextTypes: !0, defaultProps: !0, displayName: !0, getDefaultProps: !0, getDerivedStateFromError: !0, getDerivedStateFromProps: !0, mixins: !0, propTypes: !0, type: !0 }, Fn = { name: !0, length: !0, prototype: !0, caller: !0, callee: !0, arguments: !0, arity: !0 }, Ft = { $$typeof: !0, compare: !0, defaultProps: !0, displayName: !0, propTypes: !0, type: !0 }, Hn = ((Fe = {})[Ln] = { $$typeof: !0, render: !0, defaultProps: !0, displayName: !0, propTypes: !0 }, Fe[Bt] = Ft, Fe);
589
+ function mt(e) {
590
+ return ("type" in (t = e) && t.type.$$typeof) === Bt ? Ft : "$$typeof" in e ? Hn[e.$$typeof] : Bn;
591
+ var t;
592
+ }
593
+ var Vn = Object.defineProperty, Gn = Object.getOwnPropertyNames, yt = Object.getOwnPropertySymbols, Yn = Object.getOwnPropertyDescriptor, Un = Object.getPrototypeOf, bt = Object.prototype;
594
+ function Ht(e, t, n) {
595
+ if (typeof t != "string") {
596
+ if (bt) {
597
+ var r = Un(t);
598
+ r && r !== bt && Ht(e, r, n);
599
+ }
600
+ var o = Gn(t);
601
+ yt && (o = o.concat(yt(t)));
602
+ for (var s = mt(e), a = mt(t), c = 0; c < o.length; ++c) {
603
+ var i = o[c];
604
+ if (!(i in Fn || n && n[i] || a && i in a || s && i in s)) {
605
+ var l = Yn(t, i);
606
+ try {
607
+ Vn(e, i, l);
608
+ } catch {
609
+ }
610
+ }
611
+ }
612
+ }
613
+ return e;
614
+ }
615
+ function ie(e) {
616
+ return typeof e == "function";
617
+ }
618
+ function at(e) {
619
+ return typeof e == "object" && "styledComponentId" in e;
620
+ }
621
+ function W(e, t) {
622
+ return e && t ? "".concat(e, " ").concat(t) : e || t || "";
623
+ }
624
+ function Ke(e, t) {
625
+ if (e.length === 0)
626
+ return "";
627
+ for (var n = e[0], r = 1; r < e.length; r++)
628
+ n += t ? t + e[r] : e[r];
629
+ return n;
630
+ }
631
+ function ce(e) {
632
+ return e !== null && typeof e == "object" && e.constructor.name === Object.name && !("props" in e && e.$$typeof);
633
+ }
634
+ function Ze(e, t, n) {
635
+ if (n === void 0 && (n = !1), !n && !ce(e) && !Array.isArray(e))
636
+ return t;
637
+ if (Array.isArray(t))
638
+ for (var r = 0; r < t.length; r++)
639
+ e[r] = Ze(e[r], t[r]);
640
+ else if (ce(t))
641
+ for (var r in t)
642
+ e[r] = Ze(e[r], t[r]);
643
+ return e;
644
+ }
645
+ function it(e, t) {
646
+ Object.defineProperty(e, "toString", { value: t });
647
+ }
648
+ var Wn = process.env.NODE_ENV !== "production" ? { 1: `Cannot create styled-component for component: %s.
649
+
650
+ `, 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.
651
+
652
+ - Are you trying to reuse it across renders?
653
+ - Are you accidentally calling collectStyles twice?
654
+
655
+ `, 3: `Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.
656
+
657
+ `, 4: `The \`StyleSheetManager\` expects a valid target or sheet prop!
658
+
659
+ - Does this error occur on the client and is your target falsy?
660
+ - Does this error occur on the server and is the sheet falsy?
661
+
662
+ `, 5: `The clone method cannot be used on the client!
663
+
664
+ - Are you running in a client-like environment on the server?
665
+ - Are you trying to run SSR on the client?
666
+
667
+ `, 6: `Trying to insert a new style tag, but the given Node is unmounted!
668
+
669
+ - Are you using a custom target that isn't mounted?
670
+ - Does your document not have a valid head element?
671
+ - Have you accidentally removed a style tag manually?
672
+
673
+ `, 7: 'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n', 8: `ThemeProvider: Please make your "theme" prop an object.
674
+
675
+ `, 9: "Missing document `<head>`\n\n", 10: `Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021
676
+
677
+ `, 11: `_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.
678
+
679
+ `, 12: "It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n", 13: `%s 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.
680
+
681
+ `, 14: `ThemeProvider: "theme" prop is required.
682
+
683
+ `, 15: "A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n", 16: `Reached the limit of how many styled components may be created at group %s.
684
+ You may only create up to 1,073,741,824 components. If you're creating components dynamically,
685
+ as for instance in your render method then you may be running into this limitation.
686
+
687
+ `, 17: `CSSStyleSheet could not be found on HTMLStyleElement.
688
+ Has styled-components' style tag been unmounted or altered by another script?
689
+ `, 18: "ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`" } : {};
690
+ function qn() {
691
+ for (var e = [], t = 0; t < arguments.length; t++)
692
+ e[t] = arguments[t];
693
+ for (var n = e[0], r = [], o = 1, s = e.length; o < s; o += 1)
694
+ r.push(e[o]);
695
+ return r.forEach(function(a) {
696
+ n = n.replace(/%[a-z]/, a);
697
+ }), n;
698
+ }
699
+ function de(e) {
700
+ for (var t = [], n = 1; n < arguments.length; n++)
701
+ t[n - 1] = arguments[n];
702
+ 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(t.length > 0 ? " Args: ".concat(t.join(", ")) : "")) : new Error(qn.apply(void 0, Q([Wn[e]], t, !1)).trim());
703
+ }
704
+ var Xn = function() {
705
+ function e(t) {
706
+ this.groupSizes = new Uint32Array(512), this.length = 512, this.tag = t;
707
+ }
708
+ return e.prototype.indexOfGroup = function(t) {
709
+ for (var n = 0, r = 0; r < t; r++)
710
+ n += this.groupSizes[r];
711
+ return n;
712
+ }, e.prototype.insertRules = function(t, n) {
713
+ if (t >= this.groupSizes.length) {
714
+ for (var r = this.groupSizes, o = r.length, s = o; t >= s; )
715
+ if ((s <<= 1) < 0)
716
+ throw de(16, "".concat(t));
717
+ this.groupSizes = new Uint32Array(s), this.groupSizes.set(r), this.length = s;
718
+ for (var a = o; a < s; a++)
719
+ this.groupSizes[a] = 0;
720
+ }
721
+ for (var c = this.indexOfGroup(t + 1), i = (a = 0, n.length); a < i; a++)
722
+ this.tag.insertRule(c, n[a]) && (this.groupSizes[t]++, c++);
723
+ }, e.prototype.clearGroup = function(t) {
724
+ if (t < this.length) {
725
+ var n = this.groupSizes[t], r = this.indexOfGroup(t), o = r + n;
726
+ this.groupSizes[t] = 0;
727
+ for (var s = r; s < o; s++)
728
+ this.tag.deleteRule(r);
729
+ }
730
+ }, e.prototype.getGroup = function(t) {
731
+ var n = "";
732
+ if (t >= this.length || this.groupSizes[t] === 0)
733
+ return n;
734
+ for (var r = this.groupSizes[t], o = this.indexOfGroup(t), s = o + r, a = o; a < s; a++)
735
+ n += "".concat(this.tag.getRule(a)).concat(`/*!sc*/
736
+ `);
737
+ return n;
738
+ }, e;
739
+ }(), Ce = /* @__PURE__ */ new Map(), Ae = /* @__PURE__ */ new Map(), Ee = 1, we = function(e) {
740
+ if (Ce.has(e))
741
+ return Ce.get(e);
742
+ for (; Ae.has(Ee); )
743
+ Ee++;
744
+ var t = Ee++;
745
+ if (process.env.NODE_ENV !== "production" && ((0 | t) < 0 || t > 1073741824))
746
+ throw de(16, "".concat(t));
747
+ return Ce.set(e, t), Ae.set(t, e), t;
748
+ }, Kn = function(e, t) {
749
+ Ee = t + 1, Ce.set(e, t), Ae.set(t, e);
750
+ }, Zn = "style[".concat(J, "][").concat("data-styled-version", '="').concat("6.1.1", '"]'), Qn = new RegExp("^".concat(J, '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')), Jn = function(e, t, n) {
751
+ for (var r, o = n.split(","), s = 0, a = o.length; s < a; s++)
752
+ (r = o[s]) && e.registerName(t, r);
753
+ }, er = function(e, t) {
754
+ for (var n, r = ((n = t.textContent) !== null && n !== void 0 ? n : "").split(`/*!sc*/
755
+ `), o = [], s = 0, a = r.length; s < a; s++) {
756
+ var c = r[s].trim();
757
+ if (c) {
758
+ var i = c.match(Qn);
759
+ if (i) {
760
+ var l = 0 | parseInt(i[1], 10), _ = i[2];
761
+ l !== 0 && (Kn(_, l), Jn(e, _, i[3]), e.getTag().insertRules(l, o)), o.length = 0;
762
+ } else
763
+ o.push(c);
764
+ }
765
+ }
766
+ };
767
+ function tr() {
768
+ return typeof __webpack_nonce__ < "u" ? __webpack_nonce__ : null;
769
+ }
770
+ var Vt = function(e) {
771
+ var t = document.head, n = e || t, r = document.createElement("style"), o = function(c) {
772
+ var i = Array.from(c.querySelectorAll("style[".concat(J, "]")));
773
+ return i[i.length - 1];
774
+ }(n), s = o !== void 0 ? o.nextSibling : null;
775
+ r.setAttribute(J, "active"), r.setAttribute("data-styled-version", "6.1.1");
776
+ var a = tr();
777
+ return a && r.setAttribute("nonce", a), n.insertBefore(r, s), r;
778
+ }, nr = function() {
779
+ function e(t) {
780
+ this.element = Vt(t), this.element.appendChild(document.createTextNode("")), this.sheet = function(n) {
781
+ if (n.sheet)
782
+ return n.sheet;
783
+ for (var r = document.styleSheets, o = 0, s = r.length; o < s; o++) {
784
+ var a = r[o];
785
+ if (a.ownerNode === n)
786
+ return a;
787
+ }
788
+ throw de(17);
789
+ }(this.element), this.length = 0;
790
+ }
791
+ return e.prototype.insertRule = function(t, n) {
792
+ try {
793
+ return this.sheet.insertRule(n, t), this.length++, !0;
794
+ } catch {
795
+ return !1;
796
+ }
797
+ }, e.prototype.deleteRule = function(t) {
798
+ this.sheet.deleteRule(t), this.length--;
799
+ }, e.prototype.getRule = function(t) {
800
+ var n = this.sheet.cssRules[t];
801
+ return n && n.cssText ? n.cssText : "";
802
+ }, e;
803
+ }(), rr = function() {
804
+ function e(t) {
805
+ this.element = Vt(t), this.nodes = this.element.childNodes, this.length = 0;
806
+ }
807
+ return e.prototype.insertRule = function(t, n) {
808
+ if (t <= this.length && t >= 0) {
809
+ var r = document.createTextNode(n);
810
+ return this.element.insertBefore(r, this.nodes[t] || null), this.length++, !0;
811
+ }
812
+ return !1;
813
+ }, e.prototype.deleteRule = function(t) {
814
+ this.element.removeChild(this.nodes[t]), this.length--;
815
+ }, e.prototype.getRule = function(t) {
816
+ return t < this.length ? this.nodes[t].textContent : "";
817
+ }, e;
818
+ }(), or = function() {
819
+ function e(t) {
820
+ this.rules = [], this.length = 0;
821
+ }
822
+ return e.prototype.insertRule = function(t, n) {
823
+ return t <= this.length && (this.rules.splice(t, 0, n), this.length++, !0);
824
+ }, e.prototype.deleteRule = function(t) {
825
+ this.rules.splice(t, 1), this.length--;
826
+ }, e.prototype.getRule = function(t) {
827
+ return t < this.length ? this.rules[t] : "";
828
+ }, e;
829
+ }(), vt = st, sr = { isServer: !st, useCSSOMInjection: !Tn }, Gt = function() {
830
+ function e(t, n, r) {
831
+ t === void 0 && (t = ae), n === void 0 && (n = {});
832
+ var o = this;
833
+ this.options = T(T({}, sr), t), this.gs = n, this.names = new Map(r), this.server = !!t.isServer, !this.server && st && vt && (vt = !1, function(s) {
834
+ for (var a = document.querySelectorAll(Zn), c = 0, i = a.length; c < i; c++) {
835
+ var l = a[c];
836
+ l && l.getAttribute(J) !== "active" && (er(s, l), l.parentNode && l.parentNode.removeChild(l));
837
+ }
838
+ }(this)), it(this, function() {
839
+ return function(s) {
840
+ for (var a = s.getTag(), c = a.length, i = "", l = function(d) {
841
+ var g = function(z) {
842
+ return Ae.get(z);
843
+ }(d);
844
+ if (g === void 0)
845
+ return "continue";
846
+ var h = s.names.get(g), v = a.getGroup(d);
847
+ if (h === void 0 || v.length === 0)
848
+ return "continue";
849
+ var $ = "".concat(J, ".g").concat(d, '[id="').concat(g, '"]'), N = "";
850
+ h !== void 0 && h.forEach(function(z) {
851
+ z.length > 0 && (N += "".concat(z, ","));
852
+ }), i += "".concat(v).concat($, '{content:"').concat(N, '"}').concat(`/*!sc*/
853
+ `);
854
+ }, _ = 0; _ < c; _++)
855
+ l(_);
856
+ return i;
857
+ }(o);
858
+ });
859
+ }
860
+ return e.registerId = function(t) {
861
+ return we(t);
862
+ }, e.prototype.reconstructWithOptions = function(t, n) {
863
+ return n === void 0 && (n = !0), new e(T(T({}, this.options), t), this.gs, n && this.names || void 0);
864
+ }, e.prototype.allocateGSInstance = function(t) {
865
+ return this.gs[t] = (this.gs[t] || 0) + 1;
866
+ }, e.prototype.getTag = function() {
867
+ return this.tag || (this.tag = (t = function(n) {
868
+ var r = n.useCSSOMInjection, o = n.target;
869
+ return n.isServer ? new or(o) : r ? new nr(o) : new rr(o);
870
+ }(this.options), new Xn(t)));
871
+ var t;
872
+ }, e.prototype.hasNameForId = function(t, n) {
873
+ return this.names.has(t) && this.names.get(t).has(n);
874
+ }, e.prototype.registerName = function(t, n) {
875
+ if (we(t), this.names.has(t))
876
+ this.names.get(t).add(n);
877
+ else {
878
+ var r = /* @__PURE__ */ new Set();
879
+ r.add(n), this.names.set(t, r);
880
+ }
881
+ }, e.prototype.insertRules = function(t, n, r) {
882
+ this.registerName(t, n), this.getTag().insertRules(we(t), r);
883
+ }, e.prototype.clearNames = function(t) {
884
+ this.names.has(t) && this.names.get(t).clear();
885
+ }, e.prototype.clearRules = function(t) {
886
+ this.getTag().clearGroup(we(t)), this.clearNames(t);
887
+ }, e.prototype.clearTag = function() {
888
+ this.tag = void 0;
889
+ }, e;
890
+ }(), ar = /&/g, ir = /^\s*\/\/.*$/gm;
891
+ function Yt(e, t) {
892
+ return e.map(function(n) {
893
+ return n.type === "rule" && (n.value = "".concat(t, " ").concat(n.value), n.value = n.value.replaceAll(",", ",".concat(t, " ")), n.props = n.props.map(function(r) {
894
+ return "".concat(t, " ").concat(r);
895
+ })), Array.isArray(n.children) && n.type !== "@keyframes" && (n.children = Yt(n.children, t)), n;
896
+ });
897
+ }
898
+ function cr(e) {
899
+ var t, n, r, o = e === void 0 ? ae : e, s = o.options, a = s === void 0 ? ae : s, c = o.plugins, i = c === void 0 ? Re : c, l = function(g, h, v) {
900
+ return v === n || v.startsWith(n) && v.endsWith(n) && v.replaceAll(n, "").length > 0 ? ".".concat(t) : g;
901
+ }, _ = i.slice();
902
+ _.push(function(g) {
903
+ g.type === Ne && g.value.includes("&") && (g.props[0] = g.props[0].replace(ar, n).replace(r, l));
904
+ }), a.prefix && _.push(Nn), _.push(En);
905
+ var d = function(g, h, v, $) {
906
+ h === void 0 && (h = ""), v === void 0 && (v = ""), $ === void 0 && ($ = "&"), t = $, n = h, r = new RegExp("\\".concat(n, "\\b"), "g");
907
+ var N = g.replace(ir, ""), z = zn(v || h ? "".concat(v, " ").concat(h, " { ").concat(N, " }") : N);
908
+ a.namespace && (z = Yt(z, a.namespace));
909
+ var C = [];
910
+ return Ie(z, In(_.concat(An(function(x) {
911
+ return C.push(x);
912
+ })))), C;
913
+ };
914
+ return d.hash = i.length ? i.reduce(function(g, h) {
915
+ return h.name || de(15), U(g, h.name);
916
+ }, 5381).toString() : "", d;
917
+ }
918
+ var lr = new Gt(), Qe = cr(), Ut = ge.createContext({ shouldForwardProp: void 0, styleSheet: lr, stylis: Qe });
919
+ Ut.Consumer;
920
+ ge.createContext(void 0);
921
+ function xt() {
922
+ return ln(Ut);
923
+ }
924
+ var Je = function() {
925
+ function e(t, n) {
926
+ var r = this;
927
+ this.inject = function(o, s) {
928
+ s === void 0 && (s = Qe);
929
+ var a = r.name + s.hash;
930
+ o.hasNameForId(r.id, a) || o.insertRules(r.id, a, s(r.rules, a, "@keyframes"));
931
+ }, this.name = t, this.id = "sc-keyframes-".concat(t), this.rules = n, it(this, function() {
932
+ throw de(12, String(r.name));
933
+ });
934
+ }
935
+ return e.prototype.getName = function(t) {
936
+ return t === void 0 && (t = Qe), this.name + t.hash;
937
+ }, e;
938
+ }(), dr = function(e) {
939
+ return e >= "A" && e <= "Z";
940
+ };
941
+ function wt(e) {
942
+ for (var t = "", n = 0; n < e.length; n++) {
943
+ var r = e[n];
944
+ if (n === 1 && r === "-" && e[0] === "-")
945
+ return e;
946
+ dr(r) ? t += "-" + r.toLowerCase() : t += r;
947
+ }
948
+ return t.startsWith("ms-") ? "-" + t : t;
949
+ }
950
+ var Wt = function(e) {
951
+ return e == null || e === !1 || e === "";
952
+ }, qt = function(e) {
953
+ var t, n, r = [];
954
+ for (var o in e) {
955
+ var s = e[o];
956
+ e.hasOwnProperty(o) && !Wt(s) && (Array.isArray(s) && s.isCss || ie(s) ? r.push("".concat(wt(o), ":"), s, ";") : ce(s) ? r.push.apply(r, Q(Q(["".concat(o, " {")], qt(s), !1), ["}"], !1)) : r.push("".concat(wt(o), ": ").concat((t = o, (n = s) == null || typeof n == "boolean" || n === "" ? "" : typeof n != "number" || n === 0 || t in Pn || t.startsWith("--") ? String(n).trim() : "".concat(n, "px")), ";")));
957
+ }
958
+ return r;
959
+ };
960
+ function K(e, t, n, r) {
961
+ if (Wt(e))
962
+ return [];
963
+ if (at(e))
964
+ return [".".concat(e.styledComponentId)];
965
+ if (ie(e)) {
966
+ if (!ie(s = e) || s.prototype && s.prototype.isReactComponent || !t)
967
+ return [e];
968
+ var o = e(t);
969
+ return process.env.NODE_ENV === "production" || typeof o != "object" || Array.isArray(o) || o instanceof Je || ce(o) || o === null || console.error("".concat(jt(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.")), K(o, t, n, r);
970
+ }
971
+ var s;
972
+ return e instanceof Je ? n ? (e.inject(n, r), [e.getName(r)]) : [e] : ce(e) ? qt(e) : Array.isArray(e) ? Array.prototype.concat.apply(Re, e.map(function(a) {
973
+ return K(a, t, n, r);
974
+ })) : [e.toString()];
975
+ }
976
+ function ur(e) {
977
+ for (var t = 0; t < e.length; t += 1) {
978
+ var n = e[t];
979
+ if (ie(n) && !at(n))
980
+ return !1;
981
+ }
982
+ return !0;
983
+ }
984
+ var pr = Dt("6.1.1"), _r = function() {
985
+ function e(t, n, r) {
986
+ this.rules = t, this.staticRulesId = "", this.isStatic = process.env.NODE_ENV === "production" && (r === void 0 || r.isStatic) && ur(t), this.componentId = n, this.baseHash = U(pr, n), this.baseStyle = r, Gt.registerId(n);
987
+ }
988
+ return e.prototype.generateAndInjectStyles = function(t, n, r) {
989
+ var o = this.baseStyle ? this.baseStyle.generateAndInjectStyles(t, n, r) : "";
990
+ if (this.isStatic && !r.hash)
991
+ if (this.staticRulesId && n.hasNameForId(this.componentId, this.staticRulesId))
992
+ o = W(o, this.staticRulesId);
993
+ else {
994
+ var s = Ke(K(this.rules, t, n, r)), a = Xe(U(this.baseHash, s) >>> 0);
995
+ if (!n.hasNameForId(this.componentId, a)) {
996
+ var c = r(s, ".".concat(a), void 0, this.componentId);
997
+ n.insertRules(this.componentId, a, c);
998
+ }
999
+ o = W(o, a), this.staticRulesId = a;
1000
+ }
1001
+ else {
1002
+ for (var i = U(this.baseHash, r.hash), l = "", _ = 0; _ < this.rules.length; _++) {
1003
+ var d = this.rules[_];
1004
+ if (typeof d == "string")
1005
+ l += d, process.env.NODE_ENV !== "production" && (i = U(i, d));
1006
+ else if (d) {
1007
+ var g = Ke(K(d, t, n, r));
1008
+ i = U(i, g + _), l += g;
1009
+ }
1010
+ }
1011
+ if (l) {
1012
+ var h = Xe(i >>> 0);
1013
+ n.hasNameForId(this.componentId, h) || n.insertRules(this.componentId, h, r(l, ".".concat(h), void 0, this.componentId)), o = W(o, h);
1014
+ }
1015
+ }
1016
+ return o;
1017
+ }, e;
1018
+ }(), Xt = ge.createContext(void 0);
1019
+ Xt.Consumer;
1020
+ var Ve = {}, kt = /* @__PURE__ */ new Set();
1021
+ function fr(e, t, n) {
1022
+ var r = at(e), o = e, s = !He(e), a = t.attrs, c = a === void 0 ? Re : a, i = t.componentId, l = i === void 0 ? function(S, E) {
1023
+ var m = typeof S != "string" ? "sc" : ht(S);
1024
+ Ve[m] = (Ve[m] || 0) + 1;
1025
+ var p = "".concat(m, "-").concat(Mt("6.1.1" + m + Ve[m]));
1026
+ return E ? "".concat(E, "-").concat(p) : p;
1027
+ }(t.displayName, t.parentComponentId) : i, _ = t.displayName, d = _ === void 0 ? function(S) {
1028
+ return He(S) ? "styled.".concat(S) : "Styled(".concat(jt(S), ")");
1029
+ }(e) : _, g = t.displayName && t.componentId ? "".concat(ht(t.displayName), "-").concat(t.componentId) : t.componentId || l, h = r && o.attrs ? o.attrs.concat(c).filter(Boolean) : c, v = t.shouldForwardProp;
1030
+ if (r && o.shouldForwardProp) {
1031
+ var $ = o.shouldForwardProp;
1032
+ if (t.shouldForwardProp) {
1033
+ var N = t.shouldForwardProp;
1034
+ v = function(S, E) {
1035
+ return $(S, E) && N(S, E);
1036
+ };
1037
+ } else
1038
+ v = $;
1039
+ }
1040
+ var z = new _r(n, g, r ? o.componentStyle : void 0);
1041
+ function C(S, E) {
1042
+ return function(m, p, G) {
1043
+ var ee = m.attrs, en = m.componentStyle, tn = m.defaultProps, nn = m.foldedComponentIds, lt = m.styledComponentId, rn = m.target, on = ge.useContext(Xt), sn = xt(), De = m.shouldForwardProp || sn.shouldForwardProp;
1044
+ process.env.NODE_ENV !== "production" && dt(lt);
1045
+ var F = function(ye, _e, be) {
1046
+ for (var te, Y = T(T({}, _e), { className: void 0, theme: be }), Le = 0; Le < ye.length; Le += 1) {
1047
+ var ve = ie(te = ye[Le]) ? te(Y) : te;
1048
+ for (var H in ve)
1049
+ Y[H] = H === "className" ? W(Y[H], ve[H]) : H === "style" ? T(T({}, Y[H]), ve[H]) : ve[H];
1050
+ }
1051
+ return _e.className && (Y.className = W(Y.className, _e.className)), Y;
1052
+ }(ee, p, Rn(p, on, tn) || ae), ue = F.as || rn, pe = {};
1053
+ for (var R in F)
1054
+ F[R] === void 0 || R[0] === "$" || R === "as" || R === "theme" || (R === "forwardedAs" ? pe.as = F.forwardedAs : De && !De(R, ue) || (pe[R] = F[R], De || process.env.NODE_ENV !== "development" || pn(R) || kt.has(R) || !qe.has(ue) || (kt.add(R), console.warn('styled-components: it looks like an unknown prop "'.concat(R, '" 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.)')))));
1055
+ var Me = function(ye, _e) {
1056
+ var be = xt(), te = ye.generateAndInjectStyles(_e, be.styleSheet, be.stylis);
1057
+ return process.env.NODE_ENV !== "production" && dt(te), te;
1058
+ }(en, F);
1059
+ process.env.NODE_ENV !== "production" && m.warnTooManyClasses && m.warnTooManyClasses(Me);
1060
+ var je = W(nn, lt);
1061
+ return Me && (je += " " + Me), F.className && (je += " " + F.className), pe[He(ue) && !qe.has(ue) ? "class" : "className"] = je, pe.ref = G, cn(ue, pe);
1062
+ }(x, S, E);
1063
+ }
1064
+ C.displayName = d;
1065
+ var x = ge.forwardRef(C);
1066
+ return x.attrs = h, x.componentStyle = z, x.displayName = d, x.shouldForwardProp = v, x.foldedComponentIds = r ? W(o.foldedComponentIds, o.styledComponentId) : "", x.styledComponentId = g, x.target = r ? o.target : e, Object.defineProperty(x, "defaultProps", { get: function() {
1067
+ return this._foldedDefaultProps;
1068
+ }, set: function(S) {
1069
+ this._foldedDefaultProps = r ? function(E) {
1070
+ for (var m = [], p = 1; p < arguments.length; p++)
1071
+ m[p - 1] = arguments[p];
1072
+ for (var G = 0, ee = m; G < ee.length; G++)
1073
+ Ze(E, ee[G], !0);
1074
+ return E;
1075
+ }({}, o.defaultProps, S) : S;
1076
+ } }), process.env.NODE_ENV !== "production" && (On(d, g), x.warnTooManyClasses = function(S, E) {
1077
+ var m = {}, p = !1;
1078
+ return function(G) {
1079
+ if (!p && (m[G] = !0, Object.keys(m).length >= 200)) {
1080
+ var ee = E ? ' with the id of "'.concat(E, '"') : "";
1081
+ console.warn("Over ".concat(200, " classes were generated for component ").concat(S).concat(ee, `.
1082
+ `) + `Consider using the attrs method, together with a style object for frequently changed styles.
1083
+ Example:
1084
+ const Component = styled.div.attrs(props => ({
1085
+ style: {
1086
+ background: props.background,
1087
+ },
1088
+ }))\`width: 100%;\`
1089
+
1090
+ <Component />`), p = !0, m = {};
1091
+ }
1092
+ };
1093
+ }(d, g)), it(x, function() {
1094
+ return ".".concat(x.styledComponentId);
1095
+ }), s && Ht(x, e, { attrs: !0, componentStyle: !0, displayName: !0, foldedComponentIds: !0, shouldForwardProp: !0, styledComponentId: !0, target: !0 }), x;
1096
+ }
1097
+ function $t(e, t) {
1098
+ for (var n = [e[0]], r = 0, o = t.length; r < o; r += 1)
1099
+ n.push(t[r], e[r + 1]);
1100
+ return n;
1101
+ }
1102
+ var St = function(e) {
1103
+ return Object.assign(e, { isCss: !0 });
1104
+ };
1105
+ function P(e) {
1106
+ for (var t = [], n = 1; n < arguments.length; n++)
1107
+ t[n - 1] = arguments[n];
1108
+ if (ie(e) || ce(e)) {
1109
+ var r = e;
1110
+ return St(K($t(Re, Q([r], t, !0))));
1111
+ }
1112
+ var o = e;
1113
+ return t.length === 0 && o.length === 1 && typeof o[0] == "string" ? K(o) : St(K($t(o, t)));
1114
+ }
1115
+ function et(e, t, n) {
1116
+ if (n === void 0 && (n = ae), !t)
1117
+ throw de(1, t);
1118
+ var r = function(o) {
1119
+ for (var s = [], a = 1; a < arguments.length; a++)
1120
+ s[a - 1] = arguments[a];
1121
+ return e(t, n, P.apply(void 0, Q([o], s, !1)));
1122
+ };
1123
+ return r.attrs = function(o) {
1124
+ return et(e, t, T(T({}, n), { attrs: Array.prototype.concat(n.attrs, o).filter(Boolean) }));
1125
+ }, r.withConfig = function(o) {
1126
+ return et(e, t, T(T({}, n), o));
1127
+ }, r;
1128
+ }
1129
+ var Kt = function(e) {
1130
+ return et(fr, e);
1131
+ }, f = Kt;
1132
+ qe.forEach(function(e) {
1133
+ f[e] = Kt(e);
1134
+ });
1135
+ function Zt(e) {
1136
+ for (var t = [], n = 1; n < arguments.length; n++)
1137
+ t[n - 1] = arguments[n];
1138
+ process.env.NODE_ENV !== "production" && typeof navigator < "u" && navigator.product === "ReactNative" && console.warn("`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.");
1139
+ var r = Ke(P.apply(void 0, Q([e], t, !1))), o = Mt(r);
1140
+ return new Je(o, r);
1141
+ }
1142
+ process.env.NODE_ENV !== "production" && typeof navigator < "u" && navigator.product === "ReactNative" && console.warn(`It looks like you've imported 'styled-components' on React Native.
1143
+ Perhaps you're looking to import 'styled-components/native'?
1144
+ Read more about this at https://www.styled-components.com/docs/basics#react-native`);
1145
+ var ke = "__sc-".concat(J, "__");
1146
+ process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && typeof window < "u" && (window[ke] || (window[ke] = 0), window[ke] === 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.
1147
+
1148
+ See https://s-c.sh/2BAXzed for more info.`), window[ke] += 1);
1149
+ const M = {
1150
+ add_on: "add_on",
1151
+ assigned: "assigned",
1152
+ caution: "caution",
1153
+ destroy: "destroy",
1154
+ info: "info",
1155
+ success: "success",
1156
+ upgrade: "upgrade"
1157
+ }, me = {
1158
+ small: "small",
1159
+ medium: "medium"
1160
+ }, hr = (e) => {
1161
+ switch (e) {
1162
+ case M.info:
1163
+ return "var(--cc_color_background_2)";
1164
+ case M.upgrade:
1165
+ return "var(--cc_color_brand_upgrade_alpha_20)";
1166
+ case M.assigned:
1167
+ return "var(--cc_color_utility_assigned_alpha_20)";
1168
+ case M.add_on:
1169
+ return "var(--cc_color_brand_add_on_alpha_20)";
1170
+ default:
1171
+ return `var(--cc_color_utility_${e}_alpha_20)`;
1172
+ }
1173
+ }, gr = (e) => {
1174
+ switch (e) {
1175
+ case M.info:
1176
+ return "var(--cc_color_border_default)";
1177
+ case M.upgrade:
1178
+ return "var(--cc_color_brand_upgrade_alpha_60)";
1179
+ case M.assigned:
1180
+ return "var(--cc_color_utility_assigned_alpha_60)";
1181
+ case M.add_on:
1182
+ return "var(--cc_color_brand_add_on_alpha_60)";
1183
+ default:
1184
+ return `var(--cc_color_utility_${e}_alpha_60)`;
1185
+ }
1186
+ }, mr = f.span`
1187
+ display: inline-flex;
1188
+ align-items: center;
1189
+ justify-content: center;
1190
+ gap: var(--cc_size_spacing_xs);
1191
+ background-color: ${(e) => hr(e.color || M.info)};
1192
+ border-radius: var(--cc_size_border_radius_pill);
1193
+ border: var(--cc_size_border_width_s) solid
1194
+ ${(e) => gr(e.color || M.info)};
1195
+ padding: ${(e) => e.size === me.small ? "6px" : "var(--cc_size_spacing_s)"};
1196
+ height: ${(e) => e.size === me.small ? "var(--cc_size_avatar_xs)" : "var(--cc_size_avatar_s)"};
1197
+ line-height: 1.5;
1198
+ `, yr = f.i`
1199
+ color: var(--cc_color_text_default);
1200
+ font-size: ${(e) => e.size === me.small ? "11px" : "14px"};
1201
+ line-height: 0;
1202
+ `, br = f.span`
1203
+ color: var(--cc_color_text_default);
1204
+ font-family: 'Averta', system-ui, sans-serif;
1205
+ font-weight: 600;
1206
+ font-size: ${(e) => e.size === me.small ? "9px" : "10px"};
1207
+ text-transform: uppercase;
1208
+ white-space: nowrap;
1209
+ overflow: hidden;
1210
+ text-overflow: ellipsis;
1211
+ letter-spacing: 0.25px;
1212
+
1213
+ &:empty {
1214
+ display: none;
1215
+ }
1216
+ `;
1217
+ function La({
1218
+ children: e,
1219
+ color: t = M.info,
1220
+ className: n,
1221
+ iconName: r,
1222
+ size: o = me.medium,
1223
+ style: s,
1224
+ testId: a
1225
+ }) {
1226
+ return /* @__PURE__ */ O(
1227
+ mr,
1228
+ {
1229
+ size: o,
1230
+ className: n,
1231
+ color: t,
1232
+ style: s,
1233
+ "data-testid": a,
1234
+ children: [
1235
+ r ? /* @__PURE__ */ y(yr, { size: o, className: `mdi mdi-${r}` }) : null,
1236
+ /* @__PURE__ */ y(br, { size: o, children: e })
1237
+ ]
1238
+ }
1239
+ );
1240
+ }
1241
+ const vr = "#0967d2", xr = "#142334", wr = "#ffd000", kr = "#0ce8d6", $r = "#7949d1", Sr = "#bca4e8", zr = "#ef4e4e", Cr = "#f48585", Er = "#ffd000", Ir = "#12a537", Ar = "#3ebd93", Nr = "#42608a", Pr = "#e76119", Tr = "#ffffff", Or = "#142334", Rr = "#f5f7fa", Dr = "#192d43", Mr = "#ebeff5", jr = "#1f3751", Lr = "rgba(31, 55, 81, 0.75)", Br = "#142334", Fr = "#ffffff", Hr = "#4d5a68", Vr = "#c3c8cc", Gr = "#8191a2", Yr = "#a0a7af", Ur = "#0967d2", Wr = "#6fabf1", qr = "#1f3751", Xr = "#ffffff", Kr = "#ebeff5", Zr = "#2a415a", Qr = "#ef4e4e", Jr = "#f48585", eo = "#12a537", to = "#3ebd93", no = "#e5f1ff", ro = "rgba(255, 255, 255, 0.1)", oo = "#ffffff", so = "#142334", ao = "#ffffff", io = "#142334", co = "#4d5a68", lo = "#c3c8cc", uo = "#ffffff", po = "#142334", _o = "#ffffff", fo = "#142334", ho = "#0967d2", go = "#6fabf1", mo = "#142334", yo = "#ffffff", bo = "#4d5a68", vo = "#c3c8cc", xo = "rgba(20, 35, 52, 0.12)", wo = "rgba(255, 255, 255, 0.15)", ko = "rgba(20, 35, 52, 0.2)", $o = "rgba(255, 255, 255, 0.22)", So = "#0967d2", zo = "#6fabf1", Co = "rgba(20, 35, 52, 0.13)", Eo = "rgba(6, 10, 16, 0.5)", Io = "rgba(20, 35, 52, 0.13)", Ao = "rgba(6, 10, 16, 0.6)", No = "rgba(20, 35, 52, 0.2)", Po = "rgba(6, 10, 16, 0.7)", To = "#31a03c", Oo = "#4191ed", Ro = "#a227c5", Do = "#354b62", Mo = "#ffd000", jo = "#e76119", Lo = "#c73732", Bo = "#828c95", Fo = "#4d5a68", Ho = "#a227c5", Vo = "#e76119", Go = "#31a03c", Yo = "#4191ed", Uo = "#c73732", Wo = "#d28e09", qo = "#354b62", Xo = "#413ecf", Ko = "#d63baa", Zo = "#745138", Qo = "#ffd000", Jo = 2, es = 4, ts = 8, ns = 16, rs = 24, os = 32, ss = 48, as = 1, is = 2, cs = 4, ls = 8, ds = 2, us = 4, ps = 8, _s = 16, fs = 24, hs = 1e3, gs = 10, ms = 12, ys = 14, bs = 16, vs = 20, xs = 24, ws = 32, ks = 42, $s = 16, Ss = 24, zs = 32, Cs = 40, Es = 3, Is = 1, As = 6, Ns = 2, Ps = 12, Ts = 4, Os = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1242
+ __proto__: null,
1243
+ color_background_1_de: Or,
1244
+ color_background_1_le: Tr,
1245
+ color_background_2_de: Dr,
1246
+ color_background_2_le: Rr,
1247
+ color_background_3_de: jr,
1248
+ color_background_3_le: Mr,
1249
+ color_background_backdrop: Lr,
1250
+ color_border_default_de: wo,
1251
+ color_border_default_le: xo,
1252
+ color_border_input_active_de: zo,
1253
+ color_border_input_active_le: So,
1254
+ color_border_input_inactive_de: $o,
1255
+ color_border_input_inactive_le: ko,
1256
+ color_brand_accent: wr,
1257
+ color_brand_add_on_de: Sr,
1258
+ color_brand_add_on_le: $r,
1259
+ color_brand_primary: vr,
1260
+ color_brand_secondary: xr,
1261
+ color_brand_upgrade: kr,
1262
+ color_button_background_destroy_de: Jr,
1263
+ color_button_background_destroy_le: Qr,
1264
+ color_button_background_primary_de: Wr,
1265
+ color_button_background_primary_le: Ur,
1266
+ color_button_background_secondary_de: Xr,
1267
+ color_button_background_secondary_le: qr,
1268
+ color_button_background_subtle_de: Zr,
1269
+ color_button_background_subtle_le: Kr,
1270
+ color_button_background_success_de: to,
1271
+ color_button_background_success_le: eo,
1272
+ color_button_background_tint_de: ro,
1273
+ color_button_background_tint_le: no,
1274
+ color_button_text_destroy_de: po,
1275
+ color_button_text_destroy_le: uo,
1276
+ color_button_text_primary_de: so,
1277
+ color_button_text_primary_le: oo,
1278
+ color_button_text_secondary_de: io,
1279
+ color_button_text_secondary_le: ao,
1280
+ color_button_text_subtle_de: lo,
1281
+ color_button_text_subtle_le: co,
1282
+ color_button_text_success_de: fo,
1283
+ color_button_text_success_le: _o,
1284
+ color_collab_blue: Yo,
1285
+ color_collab_brown: Zo,
1286
+ color_collab_green: Go,
1287
+ color_collab_magenta: Ko,
1288
+ color_collab_navy: qo,
1289
+ color_collab_orange: Vo,
1290
+ color_collab_owner: Qo,
1291
+ color_collab_plum: Xo,
1292
+ color_collab_purple: Ho,
1293
+ color_collab_red: Uo,
1294
+ color_collab_yellow: Wo,
1295
+ color_depth_1_de: Eo,
1296
+ color_depth_1_le: Co,
1297
+ color_depth_2_de: Ao,
1298
+ color_depth_2_le: Io,
1299
+ color_depth_3_de: Po,
1300
+ color_depth_3_le: No,
1301
+ color_label_blue: Oo,
1302
+ color_label_dark_gray: Fo,
1303
+ color_label_green: To,
1304
+ color_label_light_gray: Bo,
1305
+ color_label_navy: Do,
1306
+ color_label_orange: jo,
1307
+ color_label_purple: Ro,
1308
+ color_label_red: Lo,
1309
+ color_label_yellow: Mo,
1310
+ color_link_primary_de: go,
1311
+ color_link_primary_le: ho,
1312
+ color_link_secondary_de: yo,
1313
+ color_link_secondary_le: mo,
1314
+ color_link_subtle_de: vo,
1315
+ color_link_subtle_le: bo,
1316
+ color_text_default_de: Fr,
1317
+ color_text_default_le: Br,
1318
+ color_text_nonessential_de: Yr,
1319
+ color_text_nonessential_le: Gr,
1320
+ color_text_subtle_de: Vr,
1321
+ color_text_subtle_le: Hr,
1322
+ color_utility_assigned: Pr,
1323
+ color_utility_caution: Er,
1324
+ color_utility_destroy_de: Cr,
1325
+ color_utility_destroy_le: zr,
1326
+ color_utility_info: Nr,
1327
+ color_utility_success_de: Ar,
1328
+ color_utility_success_le: Ir,
1329
+ size_avatar_l: Cs,
1330
+ size_avatar_m: zs,
1331
+ size_avatar_s: Ss,
1332
+ size_avatar_xs: $s,
1333
+ size_border_radius_l: ps,
1334
+ size_border_radius_m: us,
1335
+ size_border_radius_pill: hs,
1336
+ size_border_radius_s: ds,
1337
+ size_border_radius_xl: _s,
1338
+ size_border_radius_xxl: fs,
1339
+ size_border_width_l: cs,
1340
+ size_border_width_m: is,
1341
+ size_border_width_s: as,
1342
+ size_border_width_xl: ls,
1343
+ size_depth_1_blur: Es,
1344
+ size_depth_1_y: Is,
1345
+ size_depth_2_blur: As,
1346
+ size_depth_2_y: Ns,
1347
+ size_depth_3_blur: Ps,
1348
+ size_depth_3_y: Ts,
1349
+ size_spacing_l: rs,
1350
+ size_spacing_m: ns,
1351
+ size_spacing_s: ts,
1352
+ size_spacing_xl: os,
1353
+ size_spacing_xs: es,
1354
+ size_spacing_xxl: ss,
1355
+ size_spacing_xxs: Jo,
1356
+ size_text_l: vs,
1357
+ size_text_m: bs,
1358
+ size_text_s: ys,
1359
+ size_text_xl: xs,
1360
+ size_text_xs: ms,
1361
+ size_text_xxl: ws,
1362
+ size_text_xxs: gs,
1363
+ size_text_xxxl: ks
1364
+ }, Symbol.toStringTag, { value: "Module" })), q = {
1365
+ ...Os
1366
+ }, ct = `font-family: system-ui, -apple-system, BlinkMacSystemFont,
1367
+ 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;`, Qt = `font-family: 'Averta', system-ui, -apple-system, BlinkMacSystemFont,
1368
+ 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;`, Jt = (e = !1, t = !1) => {
1369
+ const n = P`
1370
+ outline-width: var(--cc_size_border_width_m);
1371
+ outline-style: solid;
1372
+ `;
1373
+ return e || t ? P`
1374
+ ${n}
1375
+ outline-color: ${t && !e ? "var(--cc_color_utility_success)" : "var(--cc_color_utility_destroy)"};
1376
+ ` : P`
1377
+ ${n}
1378
+ outline-color: var(--cc_color_border_input_active);
1379
+ `;
1380
+ }, Rs = ({ disabled: e = !1, readOnly: t = !1 }) => `
1381
+ all: initial;
1382
+ box-sizing: border-box;
1383
+ font-family: inherit;
1384
+ font-weight: 700;
1385
+ max-width: 100%;
1386
+ overflow: visible;
1387
+ display: inline-block;
1388
+ vertical-align: middle;
1389
+ text-align: center;
1390
+ background: none;
1391
+ position: relative;
1392
+ appearance: none;
1393
+ text-decoration: none;
1394
+ touch-action: manipulation;
1395
+ cursor: pointer;
1396
+ user-select: none;
1397
+ -webkit-font-smoothing: antialiased;
1398
+ -moz-osx-font-smoothing: grayscale;
1399
+
1400
+ &:focus-visible {
1401
+ ${Jt}
1402
+ }
1403
+
1404
+ ${e || t ? P`
1405
+ pointer-events: none;
1406
+ ` : ""}
1407
+ ${e ? P`
1408
+ opacity: 0.5;
1409
+ cursor: not-allowed;
1410
+ ` : ""}
1411
+ `, Ds = {
1412
+ small: "var(--cc_size_avatar_m)",
1413
+ medium: "var(--cc_size_avatar_l)",
1414
+ large: "48px"
1415
+ }, Ms = P`
1416
+ margin: -1px;
1417
+ padding: 0;
1418
+ width: 1px;
1419
+ height: 1px;
1420
+ overflow: hidden;
1421
+ clip: rect(0 0 0 0);
1422
+ clip: rect(0, 0, 0, 0);
1423
+ position: absolute;
1424
+ `, js = (e) => {
1425
+ const t = ["xxl", "xl", "l", "m", "s", "xs", "xxs"], n = e.split(" "), r = [];
1426
+ return n.forEach((o) => {
1427
+ t.includes(o) ? r.push(`var(--cc_size_spacing_${o})`) : r.push("0");
1428
+ }), r.join(" ");
1429
+ }, Ls = {
1430
+ large: q.size_avatar_l,
1431
+ medium: q.size_avatar_m,
1432
+ small: q.size_avatar_s,
1433
+ xsmall: q.size_avatar_xs
1434
+ }, Bs = Zt`
1435
+ to {
1436
+ stroke-dashoffset: 200;
1437
+ }
1438
+ `, Fs = Zt`
1439
+ to {
1440
+ transform: rotate(1turn);
1441
+ }
1442
+ `, Hs = f.span`
1443
+ display: inline-flex;
1444
+ flex-direction: ${(e) => e.$layout === "vertical" ? "column" : "row"};
1445
+ align-items: center;
1446
+ `, Vs = f.span`
1447
+ font-family: system-ui, sans-serif;
1448
+ font-weight: 400;
1449
+ font-size: ${(e) => e.$fontSize}px;
1450
+ color: var(--cc_color_text_nonessential);
1451
+ margin-${(e) => e.$layout === "vertical" ? "block-start" : "inline-start"}: 12px;
1452
+ `, Gs = f.span`
1453
+ display: block;
1454
+ position: relative;
1455
+ width: ${(e) => e.$size}px;
1456
+ height: ${(e) => e.$size}px;
1457
+ `, Ys = f.svg`
1458
+ position: absolute;
1459
+ top: 0;
1460
+ bottom: 0;
1461
+ left: 0;
1462
+ right: 0;
1463
+ transform: rotate(0turn);
1464
+ animation-name: ${Fs};
1465
+ animation-duration: 0.75s;
1466
+ animation-iteration-count: infinite;
1467
+ animation-timing-function: linear;
1468
+ `, Us = f.circle`
1469
+ stroke: ${(e) => e.$trackColor};
1470
+ fill: transparent;
1471
+ stroke-width: 28;
1472
+ `, Ws = f.circle`
1473
+ stroke: ${(e) => e.$meterColor};
1474
+ stroke-width: 28;
1475
+ fill: transparent;
1476
+ stroke-dasharray: 540;
1477
+ stroke-dashoffset: 506;
1478
+ animation-name: ${Bs};
1479
+ animation-duration: 1s;
1480
+ animation-iteration-count: infinite;
1481
+ animation-direction: alternate;
1482
+ animation-timing-function: linear;
1483
+ `, qs = ({
1484
+ accessibilityLabel: e,
1485
+ testId: t,
1486
+ className: n,
1487
+ label: r,
1488
+ layout: o = "horizontal",
1489
+ meterColor: s = "var(--cc_color_border_input_inactive)",
1490
+ size: a = "medium",
1491
+ style: c,
1492
+ trackColor: i = "var(--cc_color_background_2)"
1493
+ }) => {
1494
+ const l = typeof a == "number" ? a : Ls[a], _ = l <= 24 ? 12 : 14, d = /* @__PURE__ */ y(
1495
+ Gs,
1496
+ {
1497
+ $size: l,
1498
+ className: n,
1499
+ style: c,
1500
+ "data-testid": t,
1501
+ children: /* @__PURE__ */ O(
1502
+ Ys,
1503
+ {
1504
+ viewBox: "0 0 200 200",
1505
+ focusable: "false",
1506
+ "data-svg-type": "spinner",
1507
+ children: [
1508
+ /* @__PURE__ */ y("title", { children: e }),
1509
+ /* @__PURE__ */ O("g", { role: "presentation", children: [
1510
+ /* @__PURE__ */ y(Us, { r: "86", cy: "100", cx: "100", $trackColor: i }),
1511
+ /* @__PURE__ */ y(Ws, { r: "86", cy: "100", cx: "100", $meterColor: s })
1512
+ ] })
1513
+ ]
1514
+ }
1515
+ )
1516
+ }
1517
+ );
1518
+ return r ? /* @__PURE__ */ O(Hs, { $layout: o, children: [
1519
+ d,
1520
+ /* @__PURE__ */ y(Vs, { $fontSize: _, $layout: o, children: r })
1521
+ ] }) : d;
1522
+ }, Ge = {
1523
+ solid: "solid",
1524
+ outline: "outline",
1525
+ minimal: "minimal"
1526
+ }, Xs = {
1527
+ small: "0 calc(var(--cc_size_spacing_s) * 1.25)",
1528
+ medium: "0 var(--cc_size_spacing_m)",
1529
+ large: "0 var(--cc_size_spacing_l)"
1530
+ }, tt = {
1531
+ // bump up by 1 because Averta renders smaller than system font
1532
+ small: "calc(var(--cc_size_text_xs) + 1px)",
1533
+ medium: "calc(var(--cc_size_text_s) + 1px)",
1534
+ large: "calc(var(--cc_size_text_m) + 1px)"
1535
+ }, Ks = (e) => `
1536
+ color: var(--cc_color_button_text_${e});
1537
+ background: var(--cc_color_button_background_${e});
1538
+ &:hover {
1539
+ background: var(--cc_color_button_background_${e}_darken_10);
1540
+ }
1541
+ `, Zs = (e, t) => e === "destroy" || e === "success" ? `
1542
+ background: transparent;
1543
+ color: var(--cc_color_utility_${e});
1544
+ &:hover {
1545
+ color: var(--cc_color_utility_${e}_darken_10);
1546
+ background: var(--cc_color_button_background_${e}_alpha_10);
1547
+ }
1548
+ ${t ? `
1549
+ border-color: var(--cc_color_button_background_${e});
1550
+ &:hover {
1551
+ border-color: var(--cc_color_button_background_${e}_darken_10);
1552
+ }
1553
+ ` : null}
1554
+ ` : `
1555
+ background: transparent;
1556
+ color: var(--cc_color_link_${e});
1557
+ &:hover {
1558
+ background: var(--cc_color_button_background_${e}_alpha_${e === "subtle" ? "70" : "10"});
1559
+ color: var(--cc_color_link_${e}_darken_15);
1560
+ }
1561
+ ${t ? `
1562
+ border-color: var(--cc_color_link_${e});
1563
+ &:hover {
1564
+ border-color: var(--cc_color_link_${e}_darken_10);
1565
+ }
1566
+ ` : null}
1567
+ `, Qs = f.button`
1568
+ ${(e) => Rs({ disabled: e.disabled })}
1569
+ -webkit-font-smoothing: antialiased;
1570
+ -moz-osx-font-smoothing: grayscale;
1571
+ line-height: 1.2;
1572
+ display: inline-flex;
1573
+ align-items: center;
1574
+ justify-content: center;
1575
+ gap: ${(e) => `calc(${tt[e.$size]} * 0.25 + 4px)`};
1576
+ border: var(--cc_size_border_width_m) solid transparent;
1577
+ border-radius: var(--cc_size_border_radius_l);
1578
+ font-weight: 700;
1579
+ transition: transform 0.25s, color 0.25s, background 0.25s;
1580
+ box-sizing: border-box;
1581
+ ${(e) => e.$design === Ge.outline || e.$design === Ge.minimal ? Zs(
1582
+ e.$color,
1583
+ e.$design === Ge.outline
1584
+ ) : Ks(e.$color)};
1585
+ height: ${(e) => Ds[e.$size]};
1586
+ padding: ${(e) => Xs[e.$size]};
1587
+ font-family: 'Averta', system-ui, -apple-system, BlinkMacSystemFont,
1588
+ 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
1589
+ font-size: ${(e) => tt[e.$size]};
1590
+
1591
+ &:active {
1592
+ transform: scale(0.98);
1593
+ }
1594
+ `, Js = f.span`
1595
+ position: relative;
1596
+ white-space: nowrap;
1597
+ overflow: hidden;
1598
+ text-overflow: ellipsis;
1599
+ ${(e) => e.$isLoading ? P`
1600
+ visibility: hidden;
1601
+ ` : null}
1602
+ `, ea = f(qs)`
1603
+ position: absolute;
1604
+ top: 50%;
1605
+ left: 50%;
1606
+ transform: translate3d(-50%, -50%, 0);
1607
+ `, ta = f.i`
1608
+ // make icons render at the font size + 4px
1609
+ font-size: ${(e) => `calc(${tt[e.size]} + 4px)`};
1610
+ // because MD icon font has extra space at top
1611
+ transform: translateY(-0.05ch);
1612
+ top: 0;
1613
+
1614
+ ${(e) => e.$isLoading ? P`
1615
+ visibility: hidden;
1616
+ ` : null}
1617
+ `, nt = ({
1618
+ children: e,
1619
+ color: t = "subtle",
1620
+ design: n = "solid",
1621
+ href: r,
1622
+ icon: o = { position: "before" },
1623
+ loading: s = !1,
1624
+ size: a = "medium",
1625
+ type: c = "button",
1626
+ ...i
1627
+ }) => {
1628
+ const l = o != null && o.name ? /* @__PURE__ */ y(ta, { className: `mdi mdi-${o.name}`, size: a, $isLoading: s }) : null;
1629
+ return /* @__PURE__ */ O(
1630
+ Qs,
1631
+ {
1632
+ as: r ? "a" : "button",
1633
+ $color: t,
1634
+ href: r,
1635
+ disabled: i.disabled,
1636
+ $design: n,
1637
+ $size: a,
1638
+ type: r ? void 0 : c,
1639
+ className: i.className,
1640
+ style: i.style,
1641
+ ...i,
1642
+ children: [
1643
+ (o == null ? void 0 : o.position) === "before" ? l : null,
1644
+ /* @__PURE__ */ y(Js, { $isLoading: s, children: e }),
1645
+ (o == null ? void 0 : o.position) === "after" ? l : null,
1646
+ s ? /* @__PURE__ */ y(
1647
+ ea,
1648
+ {
1649
+ accessibilityLabel: "Loading",
1650
+ size: a === "large" ? 20 : "xsmall",
1651
+ trackColor: "rgba(0, 0, 0, 0.2)",
1652
+ meterColor: "currentColor"
1653
+ }
1654
+ ) : null
1655
+ ]
1656
+ }
1657
+ );
1658
+ }, re = {
1659
+ xxxl: {
1660
+ size: "var(--cc_size_text_xxxl)",
1661
+ family: "heading",
1662
+ weight: 800,
1663
+ lineHeight: 1.1
1664
+ },
1665
+ xxl: {
1666
+ size: "var(--cc_size_text_xxl)",
1667
+ family: "heading",
1668
+ weight: 800,
1669
+ lineHeight: 1.1
1670
+ },
1671
+ xl: {
1672
+ size: "var(--cc_size_text_xl)",
1673
+ family: "heading",
1674
+ weight: 700,
1675
+ lineHeight: 1.1
1676
+ },
1677
+ l: {
1678
+ size: "var(--cc_size_text_l)",
1679
+ family: "system",
1680
+ weight: 700,
1681
+ lineHeight: 1.2
1682
+ },
1683
+ m: {
1684
+ size: "var(--cc_size_text_m)",
1685
+ family: "system",
1686
+ lineHeight: 1.4
1687
+ },
1688
+ s: {
1689
+ size: "var(--cc_size_text_s)",
1690
+ family: "system",
1691
+ lineHeight: 1.4
1692
+ },
1693
+ xs: {
1694
+ size: "var(--cc_size_text_xs)",
1695
+ family: "system",
1696
+ lineHeight: 1.4
1697
+ },
1698
+ xxs: {
1699
+ size: "var(--cc_size_text_xxs)",
1700
+ family: "system",
1701
+ lineHeight: 1.4
1702
+ }
1703
+ }, na = f.span`
1704
+ /* unset all global typography styles */
1705
+ all: unset;
1706
+
1707
+ /* default is block */
1708
+ display: ${(e) => e.$display};
1709
+
1710
+ /* Component can inherit font color for one-offs */
1711
+ color: ${(e) => e.$color === "inherit" ? "inherit" : `var(--cc_color_text_${e.$color})`};
1712
+
1713
+ /* Use either Averta (heading) or system font stack default */
1714
+ ${(e) => e.$family && e.$family === "heading" || re[e.size].family === "heading" ? Qt : ct}
1715
+
1716
+ /* Add 1px to font size if heading font family, due to Averta lookin' too small */
1717
+ font-size: ${(e) => e.$family === "heading" ? `calc(${re[e.size].size} + 1px)` : re[e.size].size};
1718
+ line-height: ${(e) => re[e.size].lineHeight};
1719
+
1720
+ /* if ccMargin is specified in props, convert spacing tokens to CSS variables */
1721
+ ${(e) => e.$ccMargin ? P`
1722
+ margin: ${js(e.$ccMargin)};
1723
+ ` : null}
1724
+
1725
+ /* if user specifies weight in props OR there is a weight default for the font size, set it in CSS */
1726
+ ${(e) => e.$weight || re[e.size].weight ? P`
1727
+ font-weight: ${e.$weight || re[e.size].weight};
1728
+ ` : null}
1729
+ `;
1730
+ function zt({
1731
+ as: e,
1732
+ forwardedAs: t,
1733
+ children: n,
1734
+ color: r = "default",
1735
+ size: o = "s",
1736
+ family: s,
1737
+ ccMargin: a,
1738
+ weight: c,
1739
+ display: i = "block",
1740
+ className: l,
1741
+ style: _,
1742
+ ...d
1743
+ }) {
1744
+ return /* @__PURE__ */ y(
1745
+ na,
1746
+ {
1747
+ as: e,
1748
+ forwardedAs: t,
1749
+ size: o,
1750
+ $family: s,
1751
+ $ccMargin: a,
1752
+ $color: r,
1753
+ $weight: c,
1754
+ $display: i,
1755
+ className: l,
1756
+ style: _,
1757
+ ...d,
1758
+ children: n
1759
+ }
1760
+ );
1761
+ }
1762
+ const ra = {
1763
+ success: "var(--cc_color_utility_success)",
1764
+ caution: "var(--cc_color_utility_caution)",
1765
+ destroy: "var(--cc_color_utility_destroy)",
1766
+ info: "var(--cc_color_utility_info)"
1767
+ }, oa = f.div`
1768
+ height: 100%;
1769
+ display: flex;
1770
+ align-items: center;
1771
+ justify-content: center;
1772
+ flex-direction: column;
1773
+ `, sa = f.div`
1774
+ text-align: center;
1775
+ `, aa = f.div`
1776
+ height: 128px;
1777
+ width: 128px;
1778
+ margin-block-end: var(--cc_size_spacing_xs);
1779
+ `, ia = f.img`
1780
+ width: 100%;
1781
+ height: 100%;
1782
+ object-fit: contain;
1783
+ `, ca = f.i`
1784
+ display: block;
1785
+ color: ${(e) => ra[e.$iconColor]};
1786
+ font-size: 48px;
1787
+ line-height: 1;
1788
+ margin-block-end: var(--cc_size_spacing_xs);
1789
+ `, la = f.div`
1790
+ display: flex;
1791
+ flex-direction: column;
1792
+ gap: var(--cc_size_spacing_s);
1793
+ margin-block-start: var(--cc_size_spacing_m);
1794
+ `, Ba = ({
1795
+ image: e,
1796
+ className: t,
1797
+ color: n = "info",
1798
+ iconName: r,
1799
+ message: o = "",
1800
+ primaryAction: s,
1801
+ secondaryAction: a,
1802
+ style: c,
1803
+ title: i
1804
+ }) => {
1805
+ var _, d, g, h;
1806
+ return /* @__PURE__ */ O(oa, { className: t, style: c, children: [
1807
+ (() => e != null && e.src ? /* @__PURE__ */ y(aa, { style: e.imageContainerStyle, children: /* @__PURE__ */ y(ia, { src: e.src, alt: e.alt }) }) : /* @__PURE__ */ y(
1808
+ ca,
1809
+ {
1810
+ className: `mdi mdi-${r}`,
1811
+ $iconColor: n,
1812
+ "aria-hidden": "true"
1813
+ }
1814
+ ))(),
1815
+ /* @__PURE__ */ O(sa, { children: [
1816
+ i ? /* @__PURE__ */ y(
1817
+ zt,
1818
+ {
1819
+ as: "h3",
1820
+ family: "heading",
1821
+ size: "xl",
1822
+ weight: "800",
1823
+ ccMargin: "none none xs",
1824
+ children: i
1825
+ }
1826
+ ) : null,
1827
+ /* @__PURE__ */ y(zt, { as: "p", color: "subtle", children: o })
1828
+ ] }),
1829
+ /* @__PURE__ */ O(la, { children: [
1830
+ s ? /* @__PURE__ */ y(
1831
+ nt,
1832
+ {
1833
+ ...s,
1834
+ "data-testid": s["data-testid"],
1835
+ color: n === "destroy" ? "destroy" : "primary",
1836
+ icon: {
1837
+ name: (_ = s.icon) == null ? void 0 : _.name,
1838
+ position: (d = s.icon) == null ? void 0 : d.position
1839
+ },
1840
+ children: s.label
1841
+ }
1842
+ ) : null,
1843
+ a ? /* @__PURE__ */ y(
1844
+ nt,
1845
+ {
1846
+ ...a,
1847
+ "datatest-id": a["data-testid"],
1848
+ color: "subtle",
1849
+ icon: {
1850
+ name: (g = a.icon) == null ? void 0 : g.name,
1851
+ position: (h = a.icon) == null ? void 0 : h.position
1852
+ },
1853
+ children: a.label
1854
+ }
1855
+ ) : null
1856
+ ] })
1857
+ ] });
1858
+ }, da = f(nt)`
1859
+ padding: 0 0.25ch;
1860
+ height: auto;
1861
+ line-height: inherit;
1862
+ vertical-align: baseline;
1863
+ border-radius: var(--cc_size_border_radius_m);
1864
+ `, Fa = ({ ...e }) => /* @__PURE__ */ y(da, { design: "minimal", ...e }), ua = {
1865
+ default: "default",
1866
+ error: "error",
1867
+ success: "success"
1868
+ }, pa = {
1869
+ error: "alert-circle-outline",
1870
+ success: "check-circle-outline"
1871
+ }, _a = f.div`
1872
+ position: relative;
1873
+ z-index: 1;
1874
+ ${(e) => e.disabled ? P`
1875
+ opacity: 0.5;
1876
+ pointer-events: none;
1877
+ user-select: none;
1878
+ ` : null}
1879
+ `, fa = f.div`
1880
+ display: flex;
1881
+ align-items: center;
1882
+ gap: var(--cc_size_spacing_xs);
1883
+ font-size: var(--cc_size_text_xs);
1884
+ font-weight: 400;
1885
+ margin-block-start: var(--cc_size_spacing_xs);
1886
+ color: ${(e) => `var(--cc_color_utility_${e.status})`};
1887
+ `, ha = f.i`
1888
+ font-size: 18px;
1889
+ flex-shrink: 0;
1890
+ `, ga = f.span`
1891
+ ${ct}
1892
+ `;
1893
+ function ma({
1894
+ children: e,
1895
+ className: t,
1896
+ disabled: n = !1,
1897
+ id: r,
1898
+ message: o,
1899
+ status: s = "default",
1900
+ style: a
1901
+ }) {
1902
+ return /* @__PURE__ */ O(_a, { className: t, style: a, disabled: n, children: [
1903
+ e,
1904
+ o ? /* @__PURE__ */ O(fa, { status: ua[s], children: [
1905
+ s === "success" || s === "error" ? /* @__PURE__ */ y(
1906
+ ha,
1907
+ {
1908
+ className: `mdi mdi-${pa[s]}`,
1909
+ "aria-hidden": "true"
1910
+ }
1911
+ ) : null,
1912
+ /* @__PURE__ */ y(ga, { id: `${r}-message`, children: o })
1913
+ ] }) : null
1914
+ ] });
1915
+ }
1916
+ const ya = f.label`
1917
+ all: initial;
1918
+ ${(e) => e.$hideLabel ? Ms : P`
1919
+ box-sizing: border-box;
1920
+ display: block;
1921
+ ${Qt}
1922
+ font-weight: 600;
1923
+ font-size: calc(var(--cc_size_text_s) + 1px);
1924
+ color: var(--cc_color_text_default);
1925
+ margin-block-end: var(--cc_size_spacing_xs);
1926
+ `}
1927
+ `, ba = f.input`
1928
+ all: initial;
1929
+ box-sizing: border-box;
1930
+ background: transparent;
1931
+ ${ct};
1932
+ font-size: var(--cc_size_text_m);
1933
+ color: var(--cc_color_text_default);
1934
+ padding: 0 calc(var(--cc_size_spacing_m) * 0.75);
1935
+ flex: 1;
1936
+ height: ${(e) => e.$inputSize === "medium" ? 38 : 48}px;
1937
+ overflow: hidden;
1938
+ max-width: 100%;
1939
+ &::placeholder {
1940
+ color: var(--cc_color_text_nonessential);
1941
+ }
1942
+ `, va = f.div`
1943
+ border-width: var(--cc_size_border_width_s);
1944
+ border-style: solid;
1945
+ border-color: ${(e) => e.$error ? "var(--cc_color_utility_destroy)" : "var(--cc_color_border_input_inactive)"};
1946
+ display: flex;
1947
+ align-items: center;
1948
+ min-width: 1px;
1949
+ transition: border-color 0.3s;
1950
+ border-radius: ${(e) => e.$type === "search" ? "var(--cc_size_border_radius_pill)" : "var(--cc_size_border_radius_l)"};
1951
+ background: var(--cc_color_background_1);
1952
+ ${(e) => e.$disabled ? null : P`
1953
+ &:hover {
1954
+ border-color: var(--cc_color_button_background_secondary);
1955
+ }
1956
+ `}
1957
+
1958
+ &:focus-within {
1959
+ ${(e) => Jt(e.$error, e.$success)}
1960
+ border-color: transparent;
1961
+ outline-offset: -2px;
1962
+ }
1963
+ `, xa = f.i`
1964
+ color: var(--cc_color_text_nonessential);
1965
+ font-size: ${(e) => e.$inputSize === "large" ? 22 : 20}px;
1966
+ margin-inline-start: calc(var(--cc_size_spacing_m) * 0.75);
1967
+ line-height: 1;
1968
+ `, Ct = f.span`
1969
+ flex-shrink: 0;
1970
+ `, wa = ({ success: e, error: t }) => e && !t ? "success" : t ? "error" : "default", ka = ({ type: e }) => {
1971
+ switch (e) {
1972
+ case "email":
1973
+ return "email-outline";
1974
+ case "tel":
1975
+ return "phone-outline";
1976
+ case "search":
1977
+ return "magnify";
1978
+ case "url":
1979
+ return "web";
1980
+ default:
1981
+ return null;
1982
+ }
1983
+ };
1984
+ function Ha({
1985
+ className: e,
1986
+ contentBefore: t,
1987
+ contentAfter: n,
1988
+ error: r = !1,
1989
+ hideLabel: o = !1,
1990
+ id: s,
1991
+ label: a,
1992
+ message: c,
1993
+ name: i,
1994
+ inputSize: l = "medium",
1995
+ style: _,
1996
+ success: d = !1,
1997
+ testId: g,
1998
+ type: h = "text",
1999
+ ...v
2000
+ }) {
2001
+ const $ = ka({ type: h }), N = t || $, z = () => N ? /* @__PURE__ */ y(Ct, { children: t || /* @__PURE__ */ y(xa, { className: `mdi mdi-${$}`, $inputSize: l }) }) : null;
2002
+ return /* @__PURE__ */ O(
2003
+ ma,
2004
+ {
2005
+ id: s,
2006
+ message: c,
2007
+ disabled: v.disabled,
2008
+ className: e,
2009
+ status: wa({ success: d, error: r }),
2010
+ style: _,
2011
+ children: [
2012
+ /* @__PURE__ */ y(ya, { htmlFor: s, $hideLabel: o, children: a }),
2013
+ /* @__PURE__ */ O(
2014
+ va,
2015
+ {
2016
+ $disabled: v.disabled || !1,
2017
+ $success: d,
2018
+ $error: r,
2019
+ $type: h,
2020
+ children: [
2021
+ z(),
2022
+ /* @__PURE__ */ y(
2023
+ ba,
2024
+ {
2025
+ disabled: v.disabled,
2026
+ "aria-labelledby": c ? `${s}-message` : "",
2027
+ "aria-invalid": r,
2028
+ id: s,
2029
+ name: i || s,
2030
+ $inputSize: l,
2031
+ "data-testid": g,
2032
+ type: h,
2033
+ ...v
2034
+ }
2035
+ ),
2036
+ n ? /* @__PURE__ */ y(Ct, { children: n }) : null
2037
+ ]
2038
+ }
2039
+ )
2040
+ ]
2041
+ }
2042
+ );
2043
+ }
2044
+ const k = {
2045
+ add_on: "add_on",
2046
+ assigned: "assigned",
2047
+ caution: "caution",
2048
+ destroy: "destroy",
2049
+ info: "info",
2050
+ success: "success",
2051
+ upgrade: "upgrade"
2052
+ }, Z = {
2053
+ small: "small",
2054
+ medium: "medium",
2055
+ large: "large"
2056
+ }, $a = (e) => {
2057
+ switch (e) {
2058
+ case k.add_on:
2059
+ return "var(--cc_color_brand_add_on_alpha_10)";
2060
+ case k.assigned:
2061
+ return "var(--cc_color_utility_assigned_alpha_10)";
2062
+ case k.caution:
2063
+ return "var(--cc_color_utility_caution_alpha_20)";
2064
+ case k.destroy:
2065
+ return "var(--cc_color_utility_destroy_alpha_10)";
2066
+ case k.info:
2067
+ return "var(--cc_color_background_3_alpha_80)";
2068
+ case k.success:
2069
+ return "var(--cc_color_utility_success_alpha_10)";
2070
+ case k.upgrade:
2071
+ return "var(--cc_color_brand_upgrade_alpha_10)";
2072
+ default:
2073
+ return "var(--cc_color_background_3_alpha_80)";
2074
+ }
2075
+ }, Sa = (e) => {
2076
+ switch (e) {
2077
+ case k.add_on:
2078
+ return "var(--cc_color_brand_add_on)";
2079
+ case k.assigned:
2080
+ return "var(--cc_color_utility_assigned)";
2081
+ case k.caution:
2082
+ return "var(--cc_color_utility_caution)";
2083
+ case k.destroy:
2084
+ return "var(--cc_color_utility_destroy)";
2085
+ case k.info:
2086
+ return "var(--cc_color_utility_info_alpha_80)";
2087
+ case k.success:
2088
+ return "var(--cc_color_utility_success)";
2089
+ case k.upgrade:
2090
+ return "var(--cc_color_brand_upgrade)";
2091
+ default:
2092
+ return "var(--cc_color_utility_info_alpha_80)";
2093
+ }
2094
+ }, za = (e) => {
2095
+ switch (e) {
2096
+ case k.add_on:
2097
+ return "var(--cc_color_background_1)";
2098
+ case k.assigned:
2099
+ return "var(--cc_color_background_1)";
2100
+ case k.caution:
2101
+ return q.color_text_default_le;
2102
+ case k.destroy:
2103
+ return "var(--cc_color_background_1)";
2104
+ case k.info:
2105
+ return q.color_text_default_de;
2106
+ case k.success:
2107
+ return "var(--cc_color_background_1)";
2108
+ case k.upgrade:
2109
+ return "var(--cc_color_brand_secondary)";
2110
+ default:
2111
+ return q.color_text_default_de;
2112
+ }
2113
+ }, Ca = (e, t) => {
2114
+ switch (t) {
2115
+ case "add_on":
2116
+ return e || "information-outline";
2117
+ case "assigned":
2118
+ return e || "account-check";
2119
+ case "success":
2120
+ return e || "check";
2121
+ case "caution":
2122
+ return e || "alert-circle-outline";
2123
+ case "destroy":
2124
+ return e || "alert-circle-outline";
2125
+ case "upgrade":
2126
+ return e || "lightning-bolt";
2127
+ default:
2128
+ return e || "information-outline";
2129
+ }
2130
+ }, Ea = (e) => {
2131
+ switch (e) {
2132
+ case "small":
2133
+ return "6px 8px";
2134
+ case "medium":
2135
+ return "calc(var(--cc_size_spacing_s) + 2px) var(--cc_size_spacing_m) calc(var(--cc_size_spacing_s) + 2px)";
2136
+ case "large":
2137
+ return "var(--cc_size_spacing_m) var(--cc_size_spacing_l) var(--cc_size_spacing_m) var(--cc_size_spacing_m)";
2138
+ }
2139
+ }, Et = (e) => {
2140
+ switch (e) {
2141
+ case "small":
2142
+ return 24;
2143
+ case "medium":
2144
+ return 28;
2145
+ case "large":
2146
+ return 34;
2147
+ }
2148
+ }, Ia = (e) => {
2149
+ switch (e) {
2150
+ case "small":
2151
+ return "var(--cc_size_text_xs)";
2152
+ case "medium":
2153
+ return "calc(var(--cc_size_text_s) - 1px)";
2154
+ case "large":
2155
+ return "var(--cc_size_text_s)";
2156
+ }
2157
+ }, Aa = (e) => {
2158
+ switch (e) {
2159
+ case "small":
2160
+ return 16;
2161
+ case "medium":
2162
+ return 18;
2163
+ case "large":
2164
+ return 22;
2165
+ }
2166
+ }, Na = f.div`
2167
+ display: flex;
2168
+ flex-wrap: wrap;
2169
+ align-items: ${({ $contentAlign: e = "center" }) => e};
2170
+ gap: ${({ size: e = Z.medium }) => e === "small" ? "calc(var(--cc_size_spacing_s) + 2px)" : "var(--cc_size_spacing_m)"};
2171
+ padding: ${({ size: e = Z.medium }) => Ea(e)};
2172
+ background-color: ${({ color: e = k.info }) => $a(e)};
2173
+ border-radius: var(--cc_size_border_radius_l);
2174
+ color: var(--cc_color_text_subtle);
2175
+ font-size: ${({ size: e = Z.medium }) => Ia(e)};
2176
+ font-family: system-ui, sans-serif;
2177
+ line-height: 1.3;
2178
+ `, Pa = f.span`
2179
+ flex: 1;
2180
+ `, It = f.span`
2181
+ flex-shrink: 0;
2182
+ `, Ta = f.span`
2183
+ flex-shrink: 0;
2184
+ display: grid;
2185
+ place-items: center;
2186
+ width: ${({ size: e = Z.medium }) => Et(e)}px;
2187
+ height: ${({ size: e = Z.medium }) => Et(e)}px;
2188
+ background-color: ${({ color: e = k.info }) => Sa(e)};
2189
+ border-radius: var(--cc_size_border_radius_l);
2190
+ `, Oa = f.i`
2191
+ font-size: ${({ size: e = Z.medium }) => Aa(e)}px;
2192
+ color: ${({ color: e = k.info }) => za(e)};
2193
+ `;
2194
+ function Va({
2195
+ children: e,
2196
+ color: t = k.info,
2197
+ contentBefore: n,
2198
+ contentAfter: r,
2199
+ contentAlign: o = "center",
2200
+ iconName: s = "",
2201
+ hideIcon: a,
2202
+ size: c = Z.medium,
2203
+ testId: i
2204
+ }) {
2205
+ return /* @__PURE__ */ O(
2206
+ Na,
2207
+ {
2208
+ color: t,
2209
+ size: c,
2210
+ $contentAlign: o,
2211
+ "data-testid": i,
2212
+ children: [
2213
+ !a && !n ? /* @__PURE__ */ y(Ta, { color: t, size: c, children: /* @__PURE__ */ y(
2214
+ Oa,
2215
+ {
2216
+ className: `mdi mdi-${Ca(s, t)}`,
2217
+ "aria-hidden": "true",
2218
+ size: c,
2219
+ color: t,
2220
+ "data-testid": "icon"
2221
+ }
2222
+ ) }) : null,
2223
+ n ? /* @__PURE__ */ y(It, { children: n }) : null,
2224
+ /* @__PURE__ */ y(Pa, { children: e }),
2225
+ r ? /* @__PURE__ */ y(It, { children: r }) : null
2226
+ ]
2227
+ }
2228
+ );
2229
+ }
2230
+ const Ra = f.span`
2231
+ width: 1px;
2232
+ height: 1px;
2233
+ margin: -1px;
2234
+ padding: 0;
2235
+ position: absolute;
2236
+ top: 0;
2237
+ left: 0;
2238
+ overflow: hidden;
2239
+ clip: rect(0 0 0 0);
2240
+ border: 0;
2241
+ opacity: 0;
2242
+ `, Ga = ({ children: e }) => /* @__PURE__ */ y(Ra, { children: e });
2243
+ export {
2244
+ ja as Avatar,
2245
+ La as Badge,
2246
+ Ba as Billboard,
2247
+ nt as Button,
2248
+ Fa as ButtonCondensed,
2249
+ Ha as InputText,
2250
+ Va as Notice,
2251
+ Ga as ScreenReaderContent,
2252
+ qs as Spinner,
2253
+ zt as Text
2254
+ };