@stella-source/stellasource-dsl 0.1.5 → 0.1.6

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,929 +1,8 @@
1
1
  import * as a$i from 'react';
2
- import a__default, { useDebugValue, createElement, useRef, useContext, createContext, useMemo as useMemo$1, isValidElement, version as version$1, useLayoutEffect as useLayoutEffect$1, useEffect, useState, forwardRef, useImperativeHandle } from 'react';
2
+ import a__default, { createContext, useMemo as useMemo$1, isValidElement, version as version$1, useContext, useRef, useLayoutEffect as useLayoutEffect$1, useEffect, useState, forwardRef, useImperativeHandle } from 'react';
3
+ import styled, { css, keyframes } from 'styled-components';
3
4
  import ReactDOM, { createPortal } from 'react-dom';
4
5
 
5
- /******************************************************************************
6
- Copyright (c) Microsoft Corporation.
7
-
8
- Permission to use, copy, modify, and/or distribute this software for any
9
- purpose with or without fee is hereby granted.
10
-
11
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
12
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
13
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
14
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
15
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
16
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
17
- PERFORMANCE OF THIS SOFTWARE.
18
- ***************************************************************************** */
19
- /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
20
-
21
-
22
- var __assign = function() {
23
- __assign = Object.assign || function __assign(t) {
24
- for (var s, i = 1, n = arguments.length; i < n; i++) {
25
- s = arguments[i];
26
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
27
- }
28
- return t;
29
- };
30
- return __assign.apply(this, arguments);
31
- };
32
-
33
- function __spreadArray(to, from, pack) {
34
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
35
- if (ar || !(i in from)) {
36
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
37
- ar[i] = from[i];
38
- }
39
- }
40
- return to.concat(ar || Array.prototype.slice.call(from));
41
- }
42
-
43
- typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
44
- var e = new Error(message);
45
- return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
46
- };
47
-
48
- function memoize(fn) {
49
- var cache = Object.create(null);
50
- return function (arg) {
51
- if (cache[arg] === undefined) cache[arg] = fn(arg);
52
- return cache[arg];
53
- };
54
- }
55
-
56
- var reactPropsRegex = /^((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)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23
57
-
58
- var isPropValid = /* #__PURE__ */memoize(function (prop) {
59
- return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111
60
- /* o */
61
- && prop.charCodeAt(1) === 110
62
- /* n */
63
- && prop.charCodeAt(2) < 91;
64
- }
65
- /* Z+1 */
66
- );
67
-
68
- function getDefaultExportFromCjs (x) {
69
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
70
- }
71
-
72
- var MS = '-ms-';
73
- var MOZ = '-moz-';
74
- var WEBKIT = '-webkit-';
75
-
76
- var COMMENT$1 = 'comm';
77
- var RULESET$1 = 'rule';
78
- var DECLARATION$1 = 'decl';
79
- var IMPORT$1 = '@import';
80
- var KEYFRAMES$1 = '@keyframes';
81
- var LAYER$1 = '@layer';
82
-
83
- /**
84
- * @param {number}
85
- * @return {number}
86
- */
87
- var abs$1 = Math.abs;
88
-
89
- /**
90
- * @param {number}
91
- * @return {string}
92
- */
93
- var from$1 = String.fromCharCode;
94
-
95
- /**
96
- * @param {object}
97
- * @return {object}
98
- */
99
- var assign = Object.assign;
100
-
101
- /**
102
- * @param {string} value
103
- * @param {number} length
104
- * @return {number}
105
- */
106
- function hash (value, length) {
107
- return charat$1(value, 0) ^ 45 ? (((((((length << 2) ^ charat$1(value, 0)) << 2) ^ charat$1(value, 1)) << 2) ^ charat$1(value, 2)) << 2) ^ charat$1(value, 3) : 0
108
- }
109
-
110
- /**
111
- * @param {string} value
112
- * @return {string}
113
- */
114
- function trim$1 (value) {
115
- return value.trim()
116
- }
117
-
118
- /**
119
- * @param {string} value
120
- * @param {RegExp} pattern
121
- * @return {string?}
122
- */
123
- function match (value, pattern) {
124
- return (value = pattern.exec(value)) ? value[0] : value
125
- }
126
-
127
- /**
128
- * @param {string} value
129
- * @param {(string|RegExp)} pattern
130
- * @param {string} replacement
131
- * @return {string}
132
- */
133
- function replace$1 (value, pattern, replacement) {
134
- return value.replace(pattern, replacement)
135
- }
136
-
137
- /**
138
- * @param {string} value
139
- * @param {string} search
140
- * @param {number} position
141
- * @return {number}
142
- */
143
- function indexof$1 (value, search, position) {
144
- return value.indexOf(search, position)
145
- }
146
-
147
- /**
148
- * @param {string} value
149
- * @param {number} index
150
- * @return {number}
151
- */
152
- function charat$1 (value, index) {
153
- return value.charCodeAt(index) | 0
154
- }
155
-
156
- /**
157
- * @param {string} value
158
- * @param {number} begin
159
- * @param {number} end
160
- * @return {string}
161
- */
162
- function substr$1 (value, begin, end) {
163
- return value.slice(begin, end)
164
- }
165
-
166
- /**
167
- * @param {string} value
168
- * @return {number}
169
- */
170
- function strlen$1 (value) {
171
- return value.length
172
- }
173
-
174
- /**
175
- * @param {any[]} value
176
- * @return {number}
177
- */
178
- function sizeof$1 (value) {
179
- return value.length
180
- }
181
-
182
- /**
183
- * @param {any} value
184
- * @param {any[]} array
185
- * @return {any}
186
- */
187
- function append$1 (value, array) {
188
- return array.push(value), value
189
- }
190
-
191
- /**
192
- * @param {string[]} array
193
- * @param {function} callback
194
- * @return {string}
195
- */
196
- function combine (array, callback) {
197
- return array.map(callback).join('')
198
- }
199
-
200
- /**
201
- * @param {string[]} array
202
- * @param {RegExp} pattern
203
- * @return {string[]}
204
- */
205
- function filter (array, pattern) {
206
- return array.filter(function (value) { return !match(value, pattern) })
207
- }
208
-
209
- var line$1 = 1;
210
- var column$1 = 1;
211
- var length$1 = 0;
212
- var position$1 = 0;
213
- var character$1 = 0;
214
- var characters$1 = '';
215
-
216
- /**
217
- * @param {string} value
218
- * @param {object | null} root
219
- * @param {object | null} parent
220
- * @param {string} type
221
- * @param {string[] | string} props
222
- * @param {object[] | string} children
223
- * @param {object[]} siblings
224
- * @param {number} length
225
- */
226
- function node$1 (value, root, parent, type, props, children, length, siblings) {
227
- return {value: value, root: root, parent: parent, type: type, props: props, children: children, line: line$1, column: column$1, length: length, return: '', siblings: siblings}
228
- }
229
-
230
- /**
231
- * @param {object} root
232
- * @param {object} props
233
- * @return {object}
234
- */
235
- function copy (root, props) {
236
- return assign(node$1('', null, null, '', null, null, 0, root.siblings), root, {length: -root.length}, props)
237
- }
238
-
239
- /**
240
- * @param {object} root
241
- */
242
- function lift (root) {
243
- while (root.root)
244
- root = copy(root.root, {children: [root]});
245
-
246
- append$1(root, root.siblings);
247
- }
248
-
249
- /**
250
- * @return {number}
251
- */
252
- function char$1 () {
253
- return character$1
254
- }
255
-
256
- /**
257
- * @return {number}
258
- */
259
- function prev$1 () {
260
- character$1 = position$1 > 0 ? charat$1(characters$1, --position$1) : 0;
261
-
262
- if (column$1--, character$1 === 10)
263
- column$1 = 1, line$1--;
264
-
265
- return character$1
266
- }
267
-
268
- /**
269
- * @return {number}
270
- */
271
- function next$1 () {
272
- character$1 = position$1 < length$1 ? charat$1(characters$1, position$1++) : 0;
273
-
274
- if (column$1++, character$1 === 10)
275
- column$1 = 1, line$1++;
276
-
277
- return character$1
278
- }
279
-
280
- /**
281
- * @return {number}
282
- */
283
- function peek$1 () {
284
- return charat$1(characters$1, position$1)
285
- }
286
-
287
- /**
288
- * @return {number}
289
- */
290
- function caret$1 () {
291
- return position$1
292
- }
293
-
294
- /**
295
- * @param {number} begin
296
- * @param {number} end
297
- * @return {string}
298
- */
299
- function slice$1 (begin, end) {
300
- return substr$1(characters$1, begin, end)
301
- }
302
-
303
- /**
304
- * @param {number} type
305
- * @return {number}
306
- */
307
- function token$1 (type) {
308
- switch (type) {
309
- // \0 \t \n \r \s whitespace token
310
- case 0: case 9: case 10: case 13: case 32:
311
- return 5
312
- // ! + , / > @ ~ isolate token
313
- case 33: case 43: case 44: case 47: case 62: case 64: case 126:
314
- // ; { } breakpoint token
315
- case 59: case 123: case 125:
316
- return 4
317
- // : accompanied token
318
- case 58:
319
- return 3
320
- // " ' ( [ opening delimit token
321
- case 34: case 39: case 40: case 91:
322
- return 2
323
- // ) ] closing delimit token
324
- case 41: case 93:
325
- return 1
326
- }
327
-
328
- return 0
329
- }
330
-
331
- /**
332
- * @param {string} value
333
- * @return {any[]}
334
- */
335
- function alloc$1 (value) {
336
- return line$1 = column$1 = 1, length$1 = strlen$1(characters$1 = value), position$1 = 0, []
337
- }
338
-
339
- /**
340
- * @param {any} value
341
- * @return {any}
342
- */
343
- function dealloc$1 (value) {
344
- return characters$1 = '', value
345
- }
346
-
347
- /**
348
- * @param {number} type
349
- * @return {string}
350
- */
351
- function delimit$1 (type) {
352
- return trim$1(slice$1(position$1 - 1, delimiter$1(type === 91 ? type + 2 : type === 40 ? type + 1 : type)))
353
- }
354
-
355
- /**
356
- * @param {number} type
357
- * @return {string}
358
- */
359
- function whitespace$2 (type) {
360
- while (character$1 = peek$1())
361
- if (character$1 < 33)
362
- next$1();
363
- else
364
- break
365
-
366
- return token$1(type) > 2 || token$1(character$1) > 3 ? '' : ' '
367
- }
368
-
369
- /**
370
- * @param {number} index
371
- * @param {number} count
372
- * @return {string}
373
- */
374
- function escaping$1 (index, count) {
375
- while (--count && next$1())
376
- // not 0-9 A-F a-f
377
- if (character$1 < 48 || character$1 > 102 || (character$1 > 57 && character$1 < 65) || (character$1 > 70 && character$1 < 97))
378
- break
379
-
380
- return slice$1(index, caret$1() + (count < 6 && peek$1() == 32 && next$1() == 32))
381
- }
382
-
383
- /**
384
- * @param {number} type
385
- * @return {number}
386
- */
387
- function delimiter$1 (type) {
388
- while (next$1())
389
- switch (character$1) {
390
- // ] ) " '
391
- case type:
392
- return position$1
393
- // " '
394
- case 34: case 39:
395
- if (type !== 34 && type !== 39)
396
- delimiter$1(character$1);
397
- break
398
- // (
399
- case 40:
400
- if (type === 41)
401
- delimiter$1(type);
402
- break
403
- // \
404
- case 92:
405
- next$1();
406
- break
407
- }
408
-
409
- return position$1
410
- }
411
-
412
- /**
413
- * @param {number} type
414
- * @param {number} index
415
- * @return {number}
416
- */
417
- function commenter$1 (type, index) {
418
- while (next$1())
419
- // //
420
- if (type + character$1 === 47 + 10)
421
- break
422
- // /*
423
- else if (type + character$1 === 42 + 42 && peek$1() === 47)
424
- break
425
-
426
- return '/*' + slice$1(index, position$1 - 1) + '*' + from$1(type === 47 ? type : next$1())
427
- }
428
-
429
- /**
430
- * @param {number} index
431
- * @return {string}
432
- */
433
- function identifier$1 (index) {
434
- while (!token$1(peek$1()))
435
- next$1();
436
-
437
- return slice$1(index, position$1)
438
- }
439
-
440
- /**
441
- * @param {string} value
442
- * @return {object[]}
443
- */
444
- function compile$1 (value) {
445
- return dealloc$1(parse$1('', null, null, null, [''], value = alloc$1(value), 0, [0], value))
446
- }
447
-
448
- /**
449
- * @param {string} value
450
- * @param {object} root
451
- * @param {object?} parent
452
- * @param {string[]} rule
453
- * @param {string[]} rules
454
- * @param {string[]} rulesets
455
- * @param {number[]} pseudo
456
- * @param {number[]} points
457
- * @param {string[]} declarations
458
- * @return {object}
459
- */
460
- function parse$1 (value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {
461
- var index = 0;
462
- var offset = 0;
463
- var length = pseudo;
464
- var atrule = 0;
465
- var property = 0;
466
- var previous = 0;
467
- var variable = 1;
468
- var scanning = 1;
469
- var ampersand = 1;
470
- var character = 0;
471
- var type = '';
472
- var props = rules;
473
- var children = rulesets;
474
- var reference = rule;
475
- var characters = type;
476
-
477
- while (scanning)
478
- switch (previous = character, character = next$1()) {
479
- // (
480
- case 40:
481
- if (previous != 108 && charat$1(characters, length - 1) == 58) {
482
- if (indexof$1(characters += replace$1(delimit$1(character), '&', '&\f'), '&\f', abs$1(index ? points[index - 1] : 0)) != -1)
483
- ampersand = -1;
484
- break
485
- }
486
- // " ' [
487
- case 34: case 39: case 91:
488
- characters += delimit$1(character);
489
- break
490
- // \t \n \r \s
491
- case 9: case 10: case 13: case 32:
492
- characters += whitespace$2(previous);
493
- break
494
- // \
495
- case 92:
496
- characters += escaping$1(caret$1() - 1, 7);
497
- continue
498
- // /
499
- case 47:
500
- switch (peek$1()) {
501
- case 42: case 47:
502
- append$1(comment$1(commenter$1(next$1(), caret$1()), root, parent, declarations), declarations);
503
- break
504
- default:
505
- characters += '/';
506
- }
507
- break
508
- // {
509
- case 123 * variable:
510
- points[index++] = strlen$1(characters) * ampersand;
511
- // } ; \0
512
- case 125 * variable: case 59: case 0:
513
- switch (character) {
514
- // \0 }
515
- case 0: case 125: scanning = 0;
516
- // ;
517
- case 59 + offset: if (ampersand == -1) characters = replace$1(characters, /\f/g, '');
518
- if (property > 0 && (strlen$1(characters) - length))
519
- append$1(property > 32 ? declaration$1(characters + ';', rule, parent, length - 1, declarations) : declaration$1(replace$1(characters, ' ', '') + ';', rule, parent, length - 2, declarations), declarations);
520
- break
521
- // @ ;
522
- case 59: characters += ';';
523
- // { rule/at-rule
524
- default:
525
- append$1(reference = ruleset$1(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length, rulesets), rulesets);
526
-
527
- if (character === 123)
528
- if (offset === 0)
529
- parse$1(characters, root, reference, reference, props, rulesets, length, points, children);
530
- else
531
- switch (atrule === 99 && charat$1(characters, 3) === 110 ? 100 : atrule) {
532
- // d l m s
533
- case 100: case 108: case 109: case 115:
534
- parse$1(value, reference, reference, rule && append$1(ruleset$1(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length, children), children), rules, children, length, points, rule ? props : children);
535
- break
536
- default:
537
- parse$1(characters, reference, reference, reference, [''], children, 0, points, children);
538
- }
539
- }
540
-
541
- index = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo;
542
- break
543
- // :
544
- case 58:
545
- length = 1 + strlen$1(characters), property = previous;
546
- default:
547
- if (variable < 1)
548
- if (character == 123)
549
- --variable;
550
- else if (character == 125 && variable++ == 0 && prev$1() == 125)
551
- continue
552
-
553
- switch (characters += from$1(character), character * variable) {
554
- // &
555
- case 38:
556
- ampersand = offset > 0 ? 1 : (characters += '\f', -1);
557
- break
558
- // ,
559
- case 44:
560
- points[index++] = (strlen$1(characters) - 1) * ampersand, ampersand = 1;
561
- break
562
- // @
563
- case 64:
564
- // -
565
- if (peek$1() === 45)
566
- characters += delimit$1(next$1());
567
-
568
- atrule = peek$1(), offset = length = strlen$1(type = characters += identifier$1(caret$1())), character++;
569
- break
570
- // -
571
- case 45:
572
- if (previous === 45 && strlen$1(characters) == 2)
573
- variable = 0;
574
- }
575
- }
576
-
577
- return rulesets
578
- }
579
-
580
- /**
581
- * @param {string} value
582
- * @param {object} root
583
- * @param {object?} parent
584
- * @param {number} index
585
- * @param {number} offset
586
- * @param {string[]} rules
587
- * @param {number[]} points
588
- * @param {string} type
589
- * @param {string[]} props
590
- * @param {string[]} children
591
- * @param {number} length
592
- * @param {object[]} siblings
593
- * @return {object}
594
- */
595
- function ruleset$1 (value, root, parent, index, offset, rules, points, type, props, children, length, siblings) {
596
- var post = offset - 1;
597
- var rule = offset === 0 ? rules : [''];
598
- var size = sizeof$1(rule);
599
-
600
- for (var i = 0, j = 0, k = 0; i < index; ++i)
601
- for (var x = 0, y = substr$1(value, post + 1, post = abs$1(j = points[i])), z = value; x < size; ++x)
602
- if (z = trim$1(j > 0 ? rule[x] + ' ' + y : replace$1(y, /&\f/g, rule[x])))
603
- props[k++] = z;
604
-
605
- return node$1(value, root, parent, offset === 0 ? RULESET$1 : type, props, children, length, siblings)
606
- }
607
-
608
- /**
609
- * @param {number} value
610
- * @param {object} root
611
- * @param {object?} parent
612
- * @param {object[]} siblings
613
- * @return {object}
614
- */
615
- function comment$1 (value, root, parent, siblings) {
616
- return node$1(value, root, parent, COMMENT$1, from$1(char$1()), substr$1(value, 2, -2), 0, siblings)
617
- }
618
-
619
- /**
620
- * @param {string} value
621
- * @param {object} root
622
- * @param {object?} parent
623
- * @param {number} length
624
- * @param {object[]} siblings
625
- * @return {object}
626
- */
627
- function declaration$1 (value, root, parent, length, siblings) {
628
- return node$1(value, root, parent, DECLARATION$1, substr$1(value, 0, length), substr$1(value, length + 1, -1), length, siblings)
629
- }
630
-
631
- /**
632
- * @param {string} value
633
- * @param {number} length
634
- * @param {object[]} children
635
- * @return {string}
636
- */
637
- function prefix (value, length, children) {
638
- switch (hash(value, length)) {
639
- // color-adjust
640
- case 5103:
641
- return WEBKIT + 'print-' + value + value
642
- // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
643
- case 5737: case 4201: case 3177: case 3433: case 1641: case 4457: case 2921:
644
- // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
645
- case 5572: case 6356: case 5844: case 3191: case 6645: case 3005:
646
- // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
647
- case 6391: case 5879: case 5623: case 6135: case 4599: case 4855:
648
- // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
649
- case 4215: case 6389: case 5109: case 5365: case 5621: case 3829:
650
- return WEBKIT + value + value
651
- // tab-size
652
- case 4789:
653
- return MOZ + value + value
654
- // appearance, user-select, transform, hyphens, text-size-adjust
655
- case 5349: case 4246: case 4810: case 6968: case 2756:
656
- return WEBKIT + value + MOZ + value + MS + value + value
657
- // writing-mode
658
- case 5936:
659
- switch (charat$1(value, length + 11)) {
660
- // vertical-l(r)
661
- case 114:
662
- return WEBKIT + value + MS + replace$1(value, /[svh]\w+-[tblr]{2}/, 'tb') + value
663
- // vertical-r(l)
664
- case 108:
665
- return WEBKIT + value + MS + replace$1(value, /[svh]\w+-[tblr]{2}/, 'tb-rl') + value
666
- // horizontal(-)tb
667
- case 45:
668
- return WEBKIT + value + MS + replace$1(value, /[svh]\w+-[tblr]{2}/, 'lr') + value
669
- // default: fallthrough to below
670
- }
671
- // flex, flex-direction, scroll-snap-type, writing-mode
672
- case 6828: case 4268: case 2903:
673
- return WEBKIT + value + MS + value + value
674
- // order
675
- case 6165:
676
- return WEBKIT + value + MS + 'flex-' + value + value
677
- // align-items
678
- case 5187:
679
- return WEBKIT + value + replace$1(value, /(\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value
680
- // align-self
681
- case 5443:
682
- return WEBKIT + value + MS + 'flex-item-' + replace$1(value, /flex-|-self/g, '') + (!match(value, /flex-|baseline/) ? MS + 'grid-row-' + replace$1(value, /flex-|-self/g, '') : '') + value
683
- // align-content
684
- case 4675:
685
- return WEBKIT + value + MS + 'flex-line-pack' + replace$1(value, /align-content|flex-|-self/g, '') + value
686
- // flex-shrink
687
- case 5548:
688
- return WEBKIT + value + MS + replace$1(value, 'shrink', 'negative') + value
689
- // flex-basis
690
- case 5292:
691
- return WEBKIT + value + MS + replace$1(value, 'basis', 'preferred-size') + value
692
- // flex-grow
693
- case 6060:
694
- return WEBKIT + 'box-' + replace$1(value, '-grow', '') + WEBKIT + value + MS + replace$1(value, 'grow', 'positive') + value
695
- // transition
696
- case 4554:
697
- return WEBKIT + replace$1(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value
698
- // cursor
699
- case 6187:
700
- return replace$1(replace$1(replace$1(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value
701
- // background, background-image
702
- case 5495: case 3959:
703
- return replace$1(value, /(image-set\([^]*)/, WEBKIT + '$1' + '$`$1')
704
- // justify-content
705
- case 4968:
706
- return replace$1(replace$1(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value
707
- // justify-self
708
- case 4200:
709
- if (!match(value, /flex-|baseline/)) return MS + 'grid-column-align' + substr$1(value, length) + value
710
- break
711
- // grid-template-(columns|rows)
712
- case 2592: case 3360:
713
- return MS + replace$1(value, 'template-', '') + value
714
- // grid-(row|column)-start
715
- case 4384: case 3616:
716
- if (children && children.some(function (element, index) { return length = index, match(element.props, /grid-\w+-end/) })) {
717
- return ~indexof$1(value + (children = children[length].value), 'span', 0) ? value : (MS + replace$1(value, '-start', '') + value + MS + 'grid-row-span:' + (~indexof$1(children, 'span', 0) ? match(children, /\d+/) : +match(children, /\d+/) - +match(value, /\d+/)) + ';')
718
- }
719
- return MS + replace$1(value, '-start', '') + value
720
- // grid-(row|column)-end
721
- case 4896: case 4128:
722
- return (children && children.some(function (element) { return match(element.props, /grid-\w+-start/) })) ? value : MS + replace$1(replace$1(value, '-end', '-span'), 'span ', '') + value
723
- // (margin|padding)-inline-(start|end)
724
- case 4095: case 3583: case 4068: case 2532:
725
- return replace$1(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value
726
- // (min|max)?(width|height|inline-size|block-size)
727
- case 8116: case 7059: case 5753: case 5535:
728
- case 5445: case 5701: case 4933: case 4677:
729
- case 5533: case 5789: case 5021: case 4765:
730
- // stretch, max-content, min-content, fill-available
731
- if (strlen$1(value) - 1 - length > 6)
732
- switch (charat$1(value, length + 1)) {
733
- // (m)ax-content, (m)in-content
734
- case 109:
735
- // -
736
- if (charat$1(value, length + 4) !== 45)
737
- break
738
- // (f)ill-available, (f)it-content
739
- case 102:
740
- return replace$1(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat$1(value, length + 3) == 108 ? '$3' : '$2-$3')) + value
741
- // (s)tretch
742
- case 115:
743
- return ~indexof$1(value, 'stretch', 0) ? prefix(replace$1(value, 'stretch', 'fill-available'), length, children) + value : value
744
- }
745
- break
746
- // grid-(column|row)
747
- case 5152: case 5920:
748
- return replace$1(value, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function (_, a, b, c, d, e, f) { return (MS + a + ':' + b + f) + (c ? (MS + a + '-span:' + (d ? e : +e - +b)) + f : '') + value })
749
- // position: sticky
750
- case 4949:
751
- // stick(y)?
752
- if (charat$1(value, length + 6) === 121)
753
- return replace$1(value, ':', ':' + WEBKIT) + value
754
- break
755
- // display: (flex|inline-flex|grid|inline-grid)
756
- case 6444:
757
- switch (charat$1(value, charat$1(value, 14) === 45 ? 18 : 11)) {
758
- // (inline-)?fle(x)
759
- case 120:
760
- return replace$1(value, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, '$1' + WEBKIT + (charat$1(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value
761
- // (inline-)?gri(d)
762
- case 100:
763
- return replace$1(value, ':', ':' + MS) + value
764
- }
765
- break
766
- // scroll-margin, scroll-margin-(top|right|bottom|left)
767
- case 5719: case 2647: case 2135: case 3927: case 2391:
768
- return replace$1(value, 'scroll-', 'scroll-snap-') + value
769
- }
770
-
771
- return value
772
- }
773
-
774
- /**
775
- * @param {object[]} children
776
- * @param {function} callback
777
- * @return {string}
778
- */
779
- function serialize$1 (children, callback) {
780
- var output = '';
781
-
782
- for (var i = 0; i < children.length; i++)
783
- output += callback(children[i], i, children, callback) || '';
784
-
785
- return output
786
- }
787
-
788
- /**
789
- * @param {object} element
790
- * @param {number} index
791
- * @param {object[]} children
792
- * @param {function} callback
793
- * @return {string}
794
- */
795
- function stringify$2 (element, index, children, callback) {
796
- switch (element.type) {
797
- case LAYER$1: if (element.children.length) break
798
- case IMPORT$1: case DECLARATION$1: return element.return = element.return || element.value
799
- case COMMENT$1: return ''
800
- case KEYFRAMES$1: return element.return = element.value + '{' + serialize$1(element.children, callback) + '}'
801
- case RULESET$1: if (!strlen$1(element.value = element.props.join(','))) return ''
802
- }
803
-
804
- return strlen$1(children = serialize$1(element.children, callback)) ? element.return = element.value + '{' + children + '}' : ''
805
- }
806
-
807
- /**
808
- * @param {function[]} collection
809
- * @return {function}
810
- */
811
- function middleware (collection) {
812
- var length = sizeof$1(collection);
813
-
814
- return function (element, index, children, callback) {
815
- var output = '';
816
-
817
- for (var i = 0; i < length; i++)
818
- output += collection[i](element, index, children, callback) || '';
819
-
820
- return output
821
- }
822
- }
823
-
824
- /**
825
- * @param {function} callback
826
- * @return {function}
827
- */
828
- function rulesheet (callback) {
829
- return function (element) {
830
- if (!element.root)
831
- if (element = element.return)
832
- callback(element);
833
- }
834
- }
835
-
836
- /**
837
- * @param {object} element
838
- * @param {number} index
839
- * @param {object[]} children
840
- * @param {function} callback
841
- */
842
- function prefixer (element, index, children, callback) {
843
- if (element.length > -1)
844
- if (!element.return)
845
- switch (element.type) {
846
- case DECLARATION$1: element.return = prefix(element.value, element.length, children);
847
- return
848
- case KEYFRAMES$1:
849
- return serialize$1([copy(element, {value: replace$1(element.value, '@', '@' + WEBKIT)})], callback)
850
- case RULESET$1:
851
- if (element.length)
852
- return combine(children = element.props, function (value) {
853
- switch (match(value, callback = /(::plac\w+|:read-\w+)/)) {
854
- // :read-(only|write)
855
- case ':read-only': case ':read-write':
856
- lift(copy(element, {props: [replace$1(value, /:(read-\w+)/, ':' + MOZ + '$1')]}));
857
- lift(copy(element, {props: [value]}));
858
- assign(element, {props: filter(children, callback)});
859
- break
860
- // :placeholder
861
- case '::placeholder':
862
- lift(copy(element, {props: [replace$1(value, /:(plac\w+)/, ':' + WEBKIT + 'input-$1')]}));
863
- lift(copy(element, {props: [replace$1(value, /:(plac\w+)/, ':' + MOZ + '$1')]}));
864
- lift(copy(element, {props: [replace$1(value, /:(plac\w+)/, MS + 'input-$1')]}));
865
- lift(copy(element, {props: [value]}));
866
- assign(element, {props: filter(children, callback)});
867
- break
868
- }
869
-
870
- return ''
871
- })
872
- }
873
- }
874
-
875
- var unitlessKeys$1 = {
876
- animationIterationCount: 1,
877
- aspectRatio: 1,
878
- borderImageOutset: 1,
879
- borderImageSlice: 1,
880
- borderImageWidth: 1,
881
- boxFlex: 1,
882
- boxFlexGroup: 1,
883
- boxOrdinalGroup: 1,
884
- columnCount: 1,
885
- columns: 1,
886
- flex: 1,
887
- flexGrow: 1,
888
- flexPositive: 1,
889
- flexShrink: 1,
890
- flexNegative: 1,
891
- flexOrder: 1,
892
- gridRow: 1,
893
- gridRowEnd: 1,
894
- gridRowSpan: 1,
895
- gridRowStart: 1,
896
- gridColumn: 1,
897
- gridColumnEnd: 1,
898
- gridColumnSpan: 1,
899
- gridColumnStart: 1,
900
- msGridRow: 1,
901
- msGridRowSpan: 1,
902
- msGridColumn: 1,
903
- msGridColumnSpan: 1,
904
- fontWeight: 1,
905
- lineHeight: 1,
906
- opacity: 1,
907
- order: 1,
908
- orphans: 1,
909
- tabSize: 1,
910
- widows: 1,
911
- zIndex: 1,
912
- zoom: 1,
913
- WebkitLineClamp: 1,
914
- // SVG-related properties
915
- fillOpacity: 1,
916
- floodOpacity: 1,
917
- stopOpacity: 1,
918
- strokeDasharray: 1,
919
- strokeDashoffset: 1,
920
- strokeMiterlimit: 1,
921
- strokeOpacity: 1,
922
- strokeWidth: 1
923
- };
924
-
925
- var f$1="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",m$9="active",y="data-styled-version",v="6.1.19",g="/*!sc*/\n",S="undefined"!=typeof window&&"undefined"!=typeof document,w=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY?"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:"production"!==process.env.NODE_ENV),E=/invalid hook call/i,N=new Set,P=function(t,n){if("production"!==process.env.NODE_ENV){var o=n?' with the id of "'.concat(n,'"'):"",s="The component ".concat(t).concat(o," has been created dynamically.\n")+"You may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.\nSee https://styled-components.com/docs/basics#define-styled-components-outside-of-the-render-method for more info.\n",i=console.error;try{var a=!0;console.error=function(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];E.test(t)?(a=!1,N.delete(s)):i.apply(void 0,__spreadArray([t],n,!1));},useRef(),a&&!N.has(s)&&(console.warn(s),N.add(s));}catch(e){E.test(e.message)&&N.delete(s);}finally{console.error=i;}}},_=Object.freeze([]),C=Object.freeze({});function I(e,t,n){return void 0===n&&(n=C),e.theme!==n.theme&&e.theme||t||n.theme}var A=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"]),O=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,D=/(^-|-$)/g;function R(e){return e.replace(O,"-").replace(D,"")}var T=/(a)(d)/gi,k=52,j=function(e){return String.fromCharCode(e+(e>25?39:97))};function x(e){var t,n="";for(t=Math.abs(e);t>k;t=t/k|0)n=j(t%k)+n;return (j(t%k)+n).replace(T,"$1-$2")}var V,F=5381,z=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},M=function(e){return z(F,e)};function $(e){return x(M(e)>>>0)}function B(e){return "production"!==process.env.NODE_ENV&&"string"==typeof e&&e||e.displayName||e.name||"Component"}function G(e){return "string"==typeof e&&("production"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var L="function"==typeof Symbol&&Symbol.for,Y=L?Symbol.for("react.memo"):60115,q=L?Symbol.for("react.forward_ref"):60112,W={childContextTypes:true,contextType:true,contextTypes:true,defaultProps:true,displayName:true,getDefaultProps:true,getDerivedStateFromError:true,getDerivedStateFromProps:true,mixins:true,propTypes:true,type:true},H$1={name:true,length:true,prototype:true,caller:true,callee:true,arguments:true,arity:true},U={$$typeof:true,compare:true,defaultProps:true,displayName:true,propTypes:true,type:true},J=((V={})[q]={$$typeof:true,render:true,defaultProps:true,displayName:true,propTypes:true},V[Y]=U,V);function X(e){return ("type"in(t=e)&&t.type.$$typeof)===Y?U:"$$typeof"in e?J[e.$$typeof]:W;var t;}var Z=Object.defineProperty,K=Object.getOwnPropertyNames,Q=Object.getOwnPropertySymbols,ee=Object.getOwnPropertyDescriptor,te=Object.getPrototypeOf,ne=Object.prototype;function oe(e,t,n){if("string"!=typeof t){if(ne){var o=te(t);o&&o!==ne&&oe(e,o,n);}var r=K(t);Q&&(r=r.concat(Q(t)));for(var s=X(e),i=X(t),a=0;a<r.length;++a){var c=r[a];if(!(c in H$1||n&&n[c]||i&&c in i||s&&c in s)){var l=ee(t,c);try{Z(e,c,l);}catch(e){}}}}return e}function re(e){return "function"==typeof e}function se(e){return "object"==typeof e&&"styledComponentId"in e}function ie(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function ae(e,t){if(0===e.length)return "";for(var n=e[0],o=1;o<e.length;o++)n+=e[o];return n}function ce(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function le(e,t,n){if(void 0===n&&(n=false),!n&&!ce(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)e[o]=le(e[o],t[o]);else if(ce(t))for(var o in t)e[o]=le(e[o],t[o]);return e}function ue(e,t){Object.defineProperty(e,"toString",{value:t});}var pe="production"!==process.env.NODE_ENV?{1:"Cannot create styled-component for component: %s.\n\n",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.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",3:"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",4:"The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",5:"The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",6:"Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",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.\n\n',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\n\n",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.\n\n",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.\n\n",14:'ThemeProvider: "theme" prop is required.\n\n',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.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",17:"CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n",18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function de(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],o=[],r=1,s=e.length;r<s;r+=1)o.push(e[r]);return o.forEach(function(e){n=n.replace(/%[a-z]/,e);}),n}function he(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];return "production"===process.env.NODE_ENV?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(t," for more information.").concat(n.length>0?" Args: ".concat(n.join(", ")):"")):new Error(de.apply(void 0,__spreadArray([pe[t]],n,false)).trim())}var fe=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e;}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,r=o;e>=r;)if((r<<=1)<0)throw he(16,"".concat(e));this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var s=o;s<r;s++)this.groupSizes[s]=0;}for(var i=this.indexOfGroup(e+1),a=(s=0,t.length);s<a;s++)this.tag.insertRule(i,t[s])&&(this.groupSizes[e]++,i++);},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),o=n+t;this.groupSizes[e]=0;for(var r=n;r<o;r++)this.tag.deleteRule(n);}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),r=o+n,s=o;s<r;s++)t+="".concat(this.tag.getRule(s)).concat(g);return t},e}(),me=1<<30,ye=new Map,ve=new Map,ge=1,Se=function(e){if(ye.has(e))return ye.get(e);for(;ve.has(ge);)ge++;var t=ge++;if("production"!==process.env.NODE_ENV&&((0|t)<0||t>me))throw he(16,"".concat(t));return ye.set(e,t),ve.set(t,e),t},we=function(e,t){ge=t+1,ye.set(e,t),ve.set(t,e);},be="style[".concat(f$1,"][").concat(y,'="').concat(v,'"]'),Ee=new RegExp("^".concat(f$1,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Ne=function(e,t,n){for(var o,r=n.split(","),s=0,i=r.length;s<i;s++)(o=r[s])&&e.registerName(t,o);},Pe=function(e,t){for(var n,o=(null!==(n=t.textContent)&&void 0!==n?n:"").split(g),r=[],s=0,i=o.length;s<i;s++){var a=o[s].trim();if(a){var c=a.match(Ee);if(c){var l=0|parseInt(c[1],10),u=c[2];0!==l&&(we(u,l),Ne(e,u,c[3]),e.getTag().insertRules(l,r)),r.length=0;}else r.push(a);}}},_e=function(e){for(var t=document.querySelectorAll(be),n=0,o=t.length;n<o;n++){var r=t[n];r&&r.getAttribute(f$1)!==m$9&&(Pe(e,r),r.parentNode&&r.parentNode.removeChild(r));}};function Ce(){return "undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null}var Ie=function(e){var t=document.head,n=e||t,o=document.createElement("style"),r=function(e){var t=Array.from(e.querySelectorAll("style[".concat(f$1,"]")));return t[t.length-1]}(n),s=void 0!==r?r.nextSibling:null;o.setAttribute(f$1,m$9),o.setAttribute(y,v);var i=Ce();return i&&o.setAttribute("nonce",i),n.insertBefore(o,s),o},Ae=function(){function e(e){this.element=Ie(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,o=t.length;n<o;n++){var r=t[n];if(r.ownerNode===e)return r}throw he(17)}(this.element),this.length=0;}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return false}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--;},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),Oe=function(){function e(e){this.element=Ie(e),this.nodes=this.element.childNodes,this.length=0;}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,true}return false},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--;},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),De=function(){function e(e){this.rules=[],this.length=0;}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,true)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--;},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Re=S,Te={isServer:!S,useCSSOMInjection:!w},ke=function(){function e(e,n,o){ void 0===e&&(e=C),void 0===n&&(n={});var r=this;this.options=__assign(__assign({},Te),e),this.gs=n,this.names=new Map(o),this.server=!!e.isServer,!this.server&&S&&Re&&(Re=false,_e(this)),ue(this,function(){return function(e){for(var t=e.getTag(),n=t.length,o="",r=function(n){var r=function(e){return ve.get(e)}(n);if(void 0===r)return "continue";var s=e.names.get(r),i=t.getGroup(n);if(void 0===s||!s.size||0===i.length)return "continue";var a="".concat(f$1,".g").concat(n,'[id="').concat(r,'"]'),c="";void 0!==s&&s.forEach(function(e){e.length>0&&(c+="".concat(e,","));}),o+="".concat(i).concat(a,'{content:"').concat(c,'"}').concat(g);},s=0;s<n;s++)r(s);return o}(r)});}return e.registerId=function(e){return Se(e)},e.prototype.rehydrate=function(){!this.server&&S&&_e(this);},e.prototype.reconstructWithOptions=function(n,o){return void 0===o&&(o=true),new e(__assign(__assign({},this.options),n),this.gs,o&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new De(n):t?new Ae(n):new Oe(n)}(this.options),new fe(e)));var e;},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(Se(e),this.names.has(e))this.names.get(e).add(t);else {var n=new Set;n.add(t),this.names.set(e,n);}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(Se(e),n);},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear();},e.prototype.clearRules=function(e){this.getTag().clearGroup(Se(e)),this.clearNames(e);},e.prototype.clearTag=function(){this.tag=void 0;},e}(),je=/&/g,xe=/^\s*\/\/.*$/gm;function Ve(e,t){return e.map(function(e){return "rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map(function(e){return "".concat(t," ").concat(e)})),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Ve(e.children,t)),e})}function Fe(e){var t,n,o,r=C,s=r.options,i=void 0===s?C:s,a=r.plugins,c=void 0===a?_:a,l=function(e,o,r){return r.startsWith(n)&&r.endsWith(n)&&r.replaceAll(n,"").length>0?".".concat(t):e},u=c.slice();u.push(function(e){e.type===RULESET$1&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(je,n).replace(o,l));}),i.prefix&&u.push(prefixer),u.push(stringify$2);var p=function(e,r,s,a){ void 0===r&&(r=""),void 0===s&&(s=""),void 0===a&&(a="&"),t=a,n=r,o=new RegExp("\\".concat(n,"\\b"),"g");var c=e.replace(xe,""),l=compile$1(s||r?"".concat(s," ").concat(r," { ").concat(c," }"):c);i.namespace&&(l=Ve(l,i.namespace));var p=[];return serialize$1(l,middleware(u.concat(rulesheet(function(e){return p.push(e)})))),p};return p.hash=c.length?c.reduce(function(e,t){return t.name||he(15),z(e,t.name)},F).toString():"",p}var ze=new ke,Me=Fe(),$e=a__default.createContext({shouldForwardProp:void 0,styleSheet:ze,stylis:Me});$e.Consumer;a__default.createContext(void 0);function Le(){return useContext($e)}var qe=function(){function e(e,t){var n=this;this.inject=function(e,t){ void 0===t&&(t=Me);var o=n.name+t.hash;e.hasNameForId(n.id,o)||e.insertRules(n.id,o,t(n.rules,o,"@keyframes"));},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,ue(this,function(){throw he(12,String(n.name))});}return e.prototype.getName=function(e){return void 0===e&&(e=Me),this.name+e.hash},e}(),We=function(e){return e>="A"&&e<="Z"};function He(e){for(var t="",n=0;n<e.length;n++){var o=e[n];if(1===n&&"-"===o&&"-"===e[0])return e;We(o)?t+="-"+o.toLowerCase():t+=o;}return t.startsWith("ms-")?"-"+t:t}var Ue=function(e){return null==e||false===e||""===e},Je=function(t){var n,o,r=[];for(var s in t){var i=t[s];t.hasOwnProperty(s)&&!Ue(i)&&(Array.isArray(i)&&i.isCss||re(i)?r.push("".concat(He(s),":"),i,";"):ce(i)?r.push.apply(r,__spreadArray(__spreadArray(["".concat(s," {")],Je(i),false),["}"],false)):r.push("".concat(He(s),": ").concat((n=s,null==(o=i)||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||n in unitlessKeys$1||n.startsWith("--")?String(o).trim():"".concat(o,"px")),";")));}return r};function Xe(e,t,n,o){if(Ue(e))return [];if(se(e))return [".".concat(e.styledComponentId)];if(re(e)){if(!re(s=e)||s.prototype&&s.prototype.isReactComponent||!t)return [e];var r=e(t);return "production"===process.env.NODE_ENV||"object"!=typeof r||Array.isArray(r)||r instanceof qe||ce(r)||null===r||console.error("".concat(B(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.")),Xe(r,t,n,o)}var s;return e instanceof qe?n?(e.inject(n,o),[e.getName(o)]):[e]:ce(e)?Je(e):Array.isArray(e)?Array.prototype.concat.apply(_,e.map(function(e){return Xe(e,t,n,o)})):[e.toString()]}function Ze(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(re(n)&&!se(n))return false}return true}var Ke=M(v),Qe=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic="production"===process.env.NODE_ENV&&(void 0===n||n.isStatic)&&Ze(e),this.componentId=t,this.baseHash=z(Ke,t),this.baseStyle=n,ke.registerId(t);}return e.prototype.generateAndInjectStyles=function(e,t,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))o=ie(o,this.staticRulesId);else {var r=ae(Xe(this.rules,e,t,n)),s=x(z(this.baseHash,r)>>>0);if(!t.hasNameForId(this.componentId,s)){var i=n(r,".".concat(s),void 0,this.componentId);t.insertRules(this.componentId,s,i);}o=ie(o,s),this.staticRulesId=s;}else {for(var a=z(this.baseHash,n.hash),c="",l=0;l<this.rules.length;l++){var u=this.rules[l];if("string"==typeof u)c+=u,"production"!==process.env.NODE_ENV&&(a=z(a,u));else if(u){var p=ae(Xe(u,e,t,n));a=z(a,p+l),c+=p;}}if(c){var d=x(a>>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,n(c,".".concat(d),void 0,this.componentId)),o=ie(o,d);}}return o},e}(),et=a__default.createContext(void 0);et.Consumer;var rt={},st=new Set;function it(e,r,s){var i=se(e),a=e,c=!G(e),p=r.attrs,d=void 0===p?_:p,h=r.componentId,f=void 0===h?function(e,t){var n="string"!=typeof e?"sc":R(e);rt[n]=(rt[n]||0)+1;var o="".concat(n,"-").concat($(v+n+rt[n]));return t?"".concat(t,"-").concat(o):o}(r.displayName,r.parentComponentId):h,m=r.displayName,y=void 0===m?function(e){return G(e)?"styled.".concat(e):"Styled(".concat(B(e),")")}(e):m,g=r.displayName&&r.componentId?"".concat(R(r.displayName),"-").concat(r.componentId):r.componentId||f,S=i&&a.attrs?a.attrs.concat(d).filter(Boolean):d,w=r.shouldForwardProp;if(i&&a.shouldForwardProp){var b=a.shouldForwardProp;if(r.shouldForwardProp){var E=r.shouldForwardProp;w=function(e,t){return b(e,t)&&E(e,t)};}else w=b;}var N=new Qe(s,g,i?a.componentStyle:void 0);function O(e,r){return function(e,r,s){var i=e.attrs,a=e.componentStyle,c=e.defaultProps,p=e.foldedComponentIds,d=e.styledComponentId,h=e.target,f=a__default.useContext(et),m=Le(),y=e.shouldForwardProp||m.shouldForwardProp;"production"!==process.env.NODE_ENV&&useDebugValue(d);var v=I(r,f,c)||C,g=function(e,n,o){for(var r,s=__assign(__assign({},n),{className:void 0,theme:o}),i=0;i<e.length;i+=1){var a=re(r=e[i])?r(s):r;for(var c in a)s[c]="className"===c?ie(s[c],a[c]):"style"===c?__assign(__assign({},s[c]),a[c]):a[c];}return n.className&&(s.className=ie(s.className,n.className)),s}(i,r,v),S=g.as||h,w={};for(var b in g) void 0===g[b]||"$"===b[0]||"as"===b||"theme"===b&&g.theme===v||("forwardedAs"===b?w.as=g.forwardedAs:y&&!y(b,S)||(w[b]=g[b],y||"development"!==process.env.NODE_ENV||isPropValid(b)||st.has(b)||!A.has(S)||(st.add(b),console.warn('styled-components: it looks like an unknown prop "'.concat(b,'" 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.)')))));var E=function(e,t){var n=Le(),o=e.generateAndInjectStyles(t,n.styleSheet,n.stylis);return "production"!==process.env.NODE_ENV&&useDebugValue(o),o}(a,g);"production"!==process.env.NODE_ENV&&e.warnTooManyClasses&&e.warnTooManyClasses(E);var N=ie(p,d);return E&&(N+=" "+E),g.className&&(N+=" "+g.className),w[G(S)&&!A.has(S)?"class":"className"]=N,s&&(w.ref=s),createElement(S,w)}(D,e,r)}O.displayName=y;var D=a__default.forwardRef(O);return D.attrs=S,D.componentStyle=N,D.displayName=y,D.shouldForwardProp=w,D.foldedComponentIds=i?ie(a.foldedComponentIds,a.styledComponentId):"",D.styledComponentId=g,D.target=i?a.target:e,Object.defineProperty(D,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var o=0,r=t;o<r.length;o++)le(e,r[o],true);return e}({},a.defaultProps,e):e;}}),"production"!==process.env.NODE_ENV&&(P(y,g),D.warnTooManyClasses=function(e,t){var n={},o=false;return function(r){if(!o&&(n[r]=true,Object.keys(n).length>=200)){var s=t?' with the id of "'.concat(t,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(e).concat(s,".\n")+"Consider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n <Component />"),o=true,n={};}}}(y,g)),ue(D,function(){return ".".concat(D.styledComponentId)}),c&&oe(D,e,{attrs:true,componentStyle:true,displayName:true,foldedComponentIds:true,shouldForwardProp:true,styledComponentId:true,target:true}),D}function at(e,t){for(var n=[e[0]],o=0,r=t.length;o<r;o+=1)n.push(t[o],e[o+1]);return n}var ct=function(e){return Object.assign(e,{isCss:true})};function lt(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];if(re(t)||ce(t))return ct(Xe(at(_,__spreadArray([t],n,true))));var r=t;return 0===n.length&&1===r.length&&"string"==typeof r[0]?Xe(r):ct(Xe(at(r,n)))}function ut(n,o,r){if(void 0===r&&(r=C),!o)throw he(1,o);var s=function(t){for(var s=[],i=1;i<arguments.length;i++)s[i-1]=arguments[i];return n(o,r,lt.apply(void 0,__spreadArray([t],s,false)))};return s.attrs=function(e){return ut(n,o,__assign(__assign({},r),{attrs:Array.prototype.concat(r.attrs,e).filter(Boolean)}))},s.withConfig=function(e){return ut(n,o,__assign(__assign({},r),e))},s}var pt=function(e){return ut(it,e)},dt=pt;A.forEach(function(e){dt[e]=pt(e);});function mt(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];"production"!==process.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.");var r=ae(lt.apply(void 0,__spreadArray([t],n,false))),s=$(r);return new qe(s,r)}"production"!==process.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native");var wt="__sc-".concat(f$1,"__");"production"!==process.env.NODE_ENV&&"test"!==process.env.NODE_ENV&&"undefined"!=typeof window&&(window[wt]||(window[wt]=0),1===window[wt]&&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.\n\nSee https://s-c.sh/2BAXzed for more info."),window[wt]+=1);
926
-
927
6
  const colorTokens = {
928
7
  white: "var(--white)",
929
8
  black: "var(--black)",
@@ -2706,6 +1785,10 @@ var TooltipIconType;
2706
1785
  TooltipIconType["INFO"] = "info";
2707
1786
  })(TooltipIconType || (TooltipIconType = {}));
2708
1787
 
1788
+ function getDefaultExportFromCjs (x) {
1789
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
1790
+ }
1791
+
2709
1792
  var classnames = {exports: {}};
2710
1793
 
2711
1794
  /*!
@@ -17528,13 +16611,13 @@ const Tooltip = ({ title, placement, type = TooltipIconType.INFO, ariaLabel, ico
17528
16611
  a__default.createElement("button", { className: "DSL-tooltip-button", type: "button", "aria-label": ariaLabel ?? title }, renderIcon(type))));
17529
16612
  };
17530
16613
 
17531
- const RequiredIcon = dt(StellaIcon) `
16614
+ const RequiredIcon = styled(StellaIcon) `
17532
16615
  margin-left: 3px;
17533
16616
  `;
17534
- const ToolTipIcon = dt(Tooltip) `
16617
+ const ToolTipIcon = styled(Tooltip) `
17535
16618
  margin-left: 2px;
17536
16619
  `;
17537
- const LabelComponent = dt.label `
16620
+ const LabelComponent = styled.label `
17538
16621
  font-family: "Inter", sans-serif;
17539
16622
  font-weight: 500;
17540
16623
  font-size: 12px;
@@ -17545,12 +16628,12 @@ const LabelComponent = dt.label `
17545
16628
  flex-direction: column;
17546
16629
  gap: 5px;
17547
16630
  ${({ $hideLabel }) => $hideLabel &&
17548
- lt `
16631
+ css `
17549
16632
  font-size: 0px;
17550
16633
  height: 0px;
17551
16634
  `};
17552
16635
  `;
17553
- const LabelContainer = dt.span `
16636
+ const LabelContainer = styled.span `
17554
16637
  display: flex;
17555
16638
  align-items: center;
17556
16639
  `;
@@ -17579,7 +16662,7 @@ var StellaButtonVariant;
17579
16662
  const variantSelector = (variant) => {
17580
16663
  switch (variant) {
17581
16664
  case StellaButtonVariant.PRIMARY:
17582
- return lt `
16665
+ return css `
17583
16666
  & svg {
17584
16667
  fill: var(--DSL-button-p-text-color);
17585
16668
  }
@@ -17603,7 +16686,7 @@ const variantSelector = (variant) => {
17603
16686
  }
17604
16687
  `;
17605
16688
  case StellaButtonVariant.SECONDARY:
17606
- return lt `
16689
+ return css `
17607
16690
  & svg {
17608
16691
  fill: var(--DSL-button-branding);
17609
16692
  }
@@ -17639,7 +16722,7 @@ const variantSelector = (variant) => {
17639
16722
  }
17640
16723
  `;
17641
16724
  case StellaButtonVariant.TERTIARY:
17642
- return lt `
16725
+ return css `
17643
16726
  & svg {
17644
16727
  fill: var(--DSL-button-branding);
17645
16728
  }
@@ -17672,10 +16755,10 @@ const variantSelector = (variant) => {
17672
16755
  }
17673
16756
  `;
17674
16757
  default:
17675
- return lt ``;
16758
+ return css ``;
17676
16759
  }
17677
16760
  };
17678
- const ButtonComponent = dt.button.attrs({
16761
+ const ButtonComponent = styled.button.attrs({
17679
16762
  className: "DSL-stella-button",
17680
16763
  }) `
17681
16764
  max-width: 400px;
@@ -17715,7 +16798,7 @@ const ButtonComponent = dt.button.attrs({
17715
16798
  --DSL-button-st-background-active-hover: ${Styles.color.blue.light};
17716
16799
  `;
17717
16800
 
17718
- const spin = mt `
16801
+ const spin = keyframes `
17719
16802
  0% {
17720
16803
  transform: rotate(0deg);
17721
16804
  }
@@ -17723,7 +16806,7 @@ const spin = mt `
17723
16806
  transform: rotate(360deg);
17724
16807
  }
17725
16808
  `;
17726
- const CustomLoader = dt(m$5) `
16809
+ const CustomLoader = styled(m$5) `
17727
16810
  animation: ${spin} 1s linear infinite;
17728
16811
  `;
17729
16812
 
@@ -17746,13 +16829,13 @@ const StellaButton = ({ disabled, variant = "primary", label, startIcon, endIcon
17746
16829
  endIcon && !isLoading && getIcon(endIcon, "end-icon")));
17747
16830
  };
17748
16831
 
17749
- const Wrapper$1 = dt.div `
16832
+ const Wrapper$1 = styled.div `
17750
16833
  display: flex;
17751
16834
  width: 100%;
17752
16835
  position: ${({ $affectLayout }) => ($affectLayout ? "relative" : "absolute")};
17753
16836
  top: ${({ $affectLayout }) => ($affectLayout ? "auto" : "100%")};
17754
16837
  `;
17755
- const Text = dt.p `
16838
+ const Text = styled.p `
17756
16839
  font-family: "Inter", sans-serif;
17757
16840
  font-size: 14px;
17758
16841
  line-height: 20px;
@@ -17760,7 +16843,7 @@ const Text = dt.p `
17760
16843
  color: ${({ $type }) => $type === "error" ? Styles.color.states.error : Styles.color.grey.charcoal};
17761
16844
  word-wrap: break-word;
17762
16845
  `;
17763
- const Icon = dt.div `
16846
+ const Icon = styled.div `
17764
16847
  margin-right: 5px;
17765
16848
  margin-top: 6px;
17766
16849
  height: 100%;
@@ -17775,7 +16858,7 @@ const HelperText = ({ id, className, affectLayout = true, text, type = "info", h
17775
16858
  a__default.createElement(Text, { "$type": type }, text)));
17776
16859
  };
17777
16860
 
17778
- const IconButtonComponent = dt(ButtonComponent) `
16861
+ const IconButtonComponent = styled(ButtonComponent) `
17779
16862
  padding: 5px;
17780
16863
  height: fit-content;
17781
16864
  min-width: fit-content;
@@ -17787,7 +16870,7 @@ const IconButton = ({ iconName, onClick, disabled, variant = "primary", isLoadin
17787
16870
  }, ...htmlProps }, isLoading ? (a__default.createElement(Loader, { size: size, dataTestId: "loader" })) : (a__default.createElement(StellaIcon, { iconName: iconName, size: size }))));
17788
16871
  };
17789
16872
 
17790
- const Wrapper = dt.div `
16873
+ const Wrapper = styled.div `
17791
16874
  display: flex;
17792
16875
  flex-direction: column;
17793
16876
  min-width: 60px;
@@ -17795,7 +16878,7 @@ const Wrapper = dt.div `
17795
16878
  position: relative;
17796
16879
  width: 100%;
17797
16880
  `;
17798
- const TextFieldWrapper = dt.div.attrs({
16881
+ const TextFieldWrapper = styled.div.attrs({
17799
16882
  className: "DSL-stella-textfield",
17800
16883
  }) `
17801
16884
  display: flex;
@@ -17821,7 +16904,7 @@ const TextFieldWrapper = dt.div.attrs({
17821
16904
  }
17822
16905
  --DSL-textfield-outline: ${Styles.color.core.primary};
17823
16906
  `;
17824
- const TextFieldInput = dt.input `
16907
+ const TextFieldInput = styled.input `
17825
16908
  width: 100%;
17826
16909
  height: 100%;
17827
16910
  padding: 0px 6px;
@@ -17840,8 +16923,11 @@ const TextFieldInput = dt.input `
17840
16923
  return "wait";
17841
16924
  return "text";
17842
16925
  }};
16926
+ &::placeholder {
16927
+ color: ${Styles.color.grey.smoke};
16928
+ }
17843
16929
  `;
17844
- const Category = dt.span `
16930
+ const Category = styled.span `
17845
16931
  font-family: "Inter", sans-serif;
17846
16932
  font-size: 14px;
17847
16933
  line-height: 20px;
@@ -17855,7 +16941,7 @@ const Category = dt.span `
17855
16941
  color: ${Styles.color.grey.shadow};
17856
16942
  background-color: ${Styles.color.grey.pale};
17857
16943
  `;
17858
- const IconContainer = dt.div `
16944
+ const IconContainer = styled.div `
17859
16945
  display: flex;
17860
16946
  align-items: center;
17861
16947
  justify-content: center;
@@ -17904,7 +16990,7 @@ const TextInput = ({ id, className, htmlProps, label, onChange, onBlur, onFocus,
17904
16990
  a__default.createElement(TextFieldInput, { "aria-describedby": `${id}-helper-text ${ariaDescribedBy}`, type: "text", id: `${id}-text-field`, disabled: disabled, placeholder: placeholder, onChange: handleChange, onBlur: (e) => onBlur?.(e.target.value), onFocus: (e) => onFocus?.(e.target.value), value: valueToUse, maxLength: maxLength, "$textAlign": textAlign, "$isDisabled": disabled, "$isLoading": isLoading, ...htmlProps })));
17905
16991
  };
17906
16992
 
17907
- const CustomIconButton = dt(IconButton) `
16993
+ const CustomIconButton = styled(IconButton) `
17908
16994
  margin-right: 2px;
17909
16995
  `;
17910
16996