@hexure/ui 1.10.0 → 1.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/index.js CHANGED
@@ -1,8 +1,10 @@
1
1
  'use strict';
2
2
 
3
3
  var React = require('react');
4
+ var styled = require('styled-components');
4
5
  var Icon = require('@mdi/react');
5
6
  var js = require('@mdi/js');
7
+ var dayjs = require('dayjs');
6
8
  var Numeral = require('numeral');
7
9
  var Moment = require('moment');
8
10
 
@@ -22,16 +24,6 @@ PERFORMANCE OF THIS SOFTWARE.
22
24
  ***************************************************************************** */
23
25
  /* global Reflect, Promise */
24
26
 
25
- var __assign = function () {
26
- __assign = Object.assign || function __assign(t) {
27
- for (var s, i = 1, n = arguments.length; i < n; i++) {
28
- s = arguments[i];
29
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
30
- }
31
- return t;
32
- };
33
- return __assign.apply(this, arguments);
34
- };
35
27
  function __rest(s, e) {
36
28
  var t = {};
37
29
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
@@ -40,1633 +32,6 @@ function __rest(s, e) {
40
32
  }
41
33
  return t;
42
34
  }
43
- function __spreadArray(to, from, pack) {
44
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
45
- if (ar || !(i in from)) {
46
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
47
- ar[i] = from[i];
48
- }
49
- }
50
- return to.concat(ar || Array.prototype.slice.call(from));
51
- }
52
-
53
- function memoize(fn) {
54
- var cache = Object.create(null);
55
- return function (arg) {
56
- if (cache[arg] === undefined) cache[arg] = fn(arg);
57
- return cache[arg];
58
- };
59
- }
60
-
61
- 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|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
62
-
63
- var isPropValid = /* #__PURE__ */memoize(function (prop) {
64
- return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111
65
- /* o */ && prop.charCodeAt(1) === 110
66
- /* n */ && prop.charCodeAt(2) < 91;
67
- }
68
- /* Z+1 */);
69
-
70
- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
71
-
72
- function getDefaultExportFromCjs (x) {
73
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
74
- }
75
-
76
- var MS = '-ms-';
77
- var MOZ = '-moz-';
78
- var WEBKIT = '-webkit-';
79
- var COMMENT = 'comm';
80
- var RULESET = 'rule';
81
- var DECLARATION = 'decl';
82
- var IMPORT = '@import';
83
- var KEYFRAMES = '@keyframes';
84
- var LAYER = '@layer';
85
-
86
- /**
87
- * @param {number}
88
- * @return {number}
89
- */
90
- var abs = Math.abs;
91
-
92
- /**
93
- * @param {number}
94
- * @return {string}
95
- */
96
- var from = String.fromCharCode;
97
-
98
- /**
99
- * @param {object}
100
- * @return {object}
101
- */
102
- var assign = Object.assign;
103
-
104
- /**
105
- * @param {string} value
106
- * @param {number} length
107
- * @return {number}
108
- */
109
- function hash(value, length) {
110
- return charat(value, 0) ^ 45 ? (((length << 2 ^ charat(value, 0)) << 2 ^ charat(value, 1)) << 2 ^ charat(value, 2)) << 2 ^ charat(value, 3) : 0;
111
- }
112
-
113
- /**
114
- * @param {string} value
115
- * @return {string}
116
- */
117
- function trim(value) {
118
- return value.trim();
119
- }
120
-
121
- /**
122
- * @param {string} value
123
- * @param {RegExp} pattern
124
- * @return {string?}
125
- */
126
- function match(value, pattern) {
127
- return (value = pattern.exec(value)) ? value[0] : value;
128
- }
129
-
130
- /**
131
- * @param {string} value
132
- * @param {(string|RegExp)} pattern
133
- * @param {string} replacement
134
- * @return {string}
135
- */
136
- function replace(value, pattern, replacement) {
137
- return value.replace(pattern, replacement);
138
- }
139
-
140
- /**
141
- * @param {string} value
142
- * @param {string} search
143
- * @param {number} position
144
- * @return {number}
145
- */
146
- function indexof(value, search, position) {
147
- return value.indexOf(search, position);
148
- }
149
-
150
- /**
151
- * @param {string} value
152
- * @param {number} index
153
- * @return {number}
154
- */
155
- function charat(value, index) {
156
- return value.charCodeAt(index) | 0;
157
- }
158
-
159
- /**
160
- * @param {string} value
161
- * @param {number} begin
162
- * @param {number} end
163
- * @return {string}
164
- */
165
- function substr(value, begin, end) {
166
- return value.slice(begin, end);
167
- }
168
-
169
- /**
170
- * @param {string} value
171
- * @return {number}
172
- */
173
- function strlen(value) {
174
- return value.length;
175
- }
176
-
177
- /**
178
- * @param {any[]} value
179
- * @return {number}
180
- */
181
- function sizeof(value) {
182
- return value.length;
183
- }
184
-
185
- /**
186
- * @param {any} value
187
- * @param {any[]} array
188
- * @return {any}
189
- */
190
- function append(value, array) {
191
- return array.push(value), value;
192
- }
193
-
194
- /**
195
- * @param {string[]} array
196
- * @param {function} callback
197
- * @return {string}
198
- */
199
- function combine(array, callback) {
200
- return array.map(callback).join('');
201
- }
202
-
203
- /**
204
- * @param {string[]} array
205
- * @param {RegExp} pattern
206
- * @return {string[]}
207
- */
208
- function filter(array, pattern) {
209
- return array.filter(function (value) {
210
- return !match(value, pattern);
211
- });
212
- }
213
-
214
- var line = 1;
215
- var column = 1;
216
- var length = 0;
217
- var position = 0;
218
- var character = 0;
219
- var characters = '';
220
-
221
- /**
222
- * @param {string} value
223
- * @param {object | null} root
224
- * @param {object | null} parent
225
- * @param {string} type
226
- * @param {string[] | string} props
227
- * @param {object[] | string} children
228
- * @param {object[]} siblings
229
- * @param {number} length
230
- */
231
- function node(value, root, parent, type, props, children, length, siblings) {
232
- return {
233
- value: value,
234
- root: root,
235
- parent: parent,
236
- type: type,
237
- props: props,
238
- children: children,
239
- line: line,
240
- column: column,
241
- length: length,
242
- return: '',
243
- siblings: siblings
244
- };
245
- }
246
-
247
- /**
248
- * @param {object} root
249
- * @param {object} props
250
- * @return {object}
251
- */
252
- function copy(root, props) {
253
- return assign(node('', null, null, '', null, null, 0, root.siblings), root, {
254
- length: -root.length
255
- }, props);
256
- }
257
-
258
- /**
259
- * @param {object} root
260
- */
261
- function lift(root) {
262
- while (root.root) root = copy(root.root, {
263
- children: [root]
264
- });
265
- append(root, root.siblings);
266
- }
267
-
268
- /**
269
- * @return {number}
270
- */
271
- function char() {
272
- return character;
273
- }
274
-
275
- /**
276
- * @return {number}
277
- */
278
- function prev() {
279
- character = position > 0 ? charat(characters, --position) : 0;
280
- if (column--, character === 10) column = 1, line--;
281
- return character;
282
- }
283
-
284
- /**
285
- * @return {number}
286
- */
287
- function next() {
288
- character = position < length ? charat(characters, position++) : 0;
289
- if (column++, character === 10) column = 1, line++;
290
- return character;
291
- }
292
-
293
- /**
294
- * @return {number}
295
- */
296
- function peek() {
297
- return charat(characters, position);
298
- }
299
-
300
- /**
301
- * @return {number}
302
- */
303
- function caret() {
304
- return position;
305
- }
306
-
307
- /**
308
- * @param {number} begin
309
- * @param {number} end
310
- * @return {string}
311
- */
312
- function slice(begin, end) {
313
- return substr(characters, begin, end);
314
- }
315
-
316
- /**
317
- * @param {number} type
318
- * @return {number}
319
- */
320
- function token(type) {
321
- switch (type) {
322
- // \0 \t \n \r \s whitespace token
323
- case 0:
324
- case 9:
325
- case 10:
326
- case 13:
327
- case 32:
328
- return 5;
329
- // ! + , / > @ ~ isolate token
330
- case 33:
331
- case 43:
332
- case 44:
333
- case 47:
334
- case 62:
335
- case 64:
336
- case 126:
337
- // ; { } breakpoint token
338
- case 59:
339
- case 123:
340
- case 125:
341
- return 4;
342
- // : accompanied token
343
- case 58:
344
- return 3;
345
- // " ' ( [ opening delimit token
346
- case 34:
347
- case 39:
348
- case 40:
349
- case 91:
350
- return 2;
351
- // ) ] closing delimit token
352
- case 41:
353
- case 93:
354
- return 1;
355
- }
356
- return 0;
357
- }
358
-
359
- /**
360
- * @param {string} value
361
- * @return {any[]}
362
- */
363
- function alloc(value) {
364
- return line = column = 1, length = strlen(characters = value), position = 0, [];
365
- }
366
-
367
- /**
368
- * @param {any} value
369
- * @return {any}
370
- */
371
- function dealloc(value) {
372
- return characters = '', value;
373
- }
374
-
375
- /**
376
- * @param {number} type
377
- * @return {string}
378
- */
379
- function delimit(type) {
380
- return trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)));
381
- }
382
-
383
- /**
384
- * @param {number} type
385
- * @return {string}
386
- */
387
- function whitespace(type) {
388
- while (character = peek()) if (character < 33) next();else break;
389
- return token(type) > 2 || token(character) > 3 ? '' : ' ';
390
- }
391
-
392
- /**
393
- * @param {number} index
394
- * @param {number} count
395
- * @return {string}
396
- */
397
- function escaping(index, count) {
398
- while (--count && next())
399
- // not 0-9 A-F a-f
400
- if (character < 48 || character > 102 || character > 57 && character < 65 || character > 70 && character < 97) break;
401
- return slice(index, caret() + (count < 6 && peek() == 32 && next() == 32));
402
- }
403
-
404
- /**
405
- * @param {number} type
406
- * @return {number}
407
- */
408
- function delimiter(type) {
409
- while (next()) switch (character) {
410
- // ] ) " '
411
- case type:
412
- return position;
413
- // " '
414
- case 34:
415
- case 39:
416
- if (type !== 34 && type !== 39) delimiter(character);
417
- break;
418
- // (
419
- case 40:
420
- if (type === 41) delimiter(type);
421
- break;
422
- // \
423
- case 92:
424
- next();
425
- break;
426
- }
427
- return position;
428
- }
429
-
430
- /**
431
- * @param {number} type
432
- * @param {number} index
433
- * @return {number}
434
- */
435
- function commenter(type, index) {
436
- while (next())
437
- // //
438
- if (type + character === 47 + 10) break;
439
- // /*
440
- else if (type + character === 42 + 42 && peek() === 47) break;
441
- return '/*' + slice(index, position - 1) + '*' + from(type === 47 ? type : next());
442
- }
443
-
444
- /**
445
- * @param {number} index
446
- * @return {string}
447
- */
448
- function identifier(index) {
449
- while (!token(peek())) next();
450
- return slice(index, position);
451
- }
452
-
453
- /**
454
- * @param {string} value
455
- * @return {object[]}
456
- */
457
- function compile(value) {
458
- return dealloc(parse('', null, null, null, [''], value = alloc(value), 0, [0], value));
459
- }
460
-
461
- /**
462
- * @param {string} value
463
- * @param {object} root
464
- * @param {object?} parent
465
- * @param {string[]} rule
466
- * @param {string[]} rules
467
- * @param {string[]} rulesets
468
- * @param {number[]} pseudo
469
- * @param {number[]} points
470
- * @param {string[]} declarations
471
- * @return {object}
472
- */
473
- function parse(value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {
474
- var index = 0;
475
- var offset = 0;
476
- var length = pseudo;
477
- var atrule = 0;
478
- var property = 0;
479
- var previous = 0;
480
- var variable = 1;
481
- var scanning = 1;
482
- var ampersand = 1;
483
- var character = 0;
484
- var type = '';
485
- var props = rules;
486
- var children = rulesets;
487
- var reference = rule;
488
- var characters = type;
489
- while (scanning) switch (previous = character, character = next()) {
490
- // (
491
- case 40:
492
- if (previous != 108 && charat(characters, length - 1) == 58) {
493
- if (indexof(characters += replace(delimit(character), '&', '&\f'), '&\f', abs(index ? points[index - 1] : 0)) != -1) ampersand = -1;
494
- break;
495
- }
496
- // " ' [
497
- case 34:
498
- case 39:
499
- case 91:
500
- characters += delimit(character);
501
- break;
502
- // \t \n \r \s
503
- case 9:
504
- case 10:
505
- case 13:
506
- case 32:
507
- characters += whitespace(previous);
508
- break;
509
- // \
510
- case 92:
511
- characters += escaping(caret() - 1, 7);
512
- continue;
513
- // /
514
- case 47:
515
- switch (peek()) {
516
- case 42:
517
- case 47:
518
- append(comment(commenter(next(), caret()), root, parent, declarations), declarations);
519
- break;
520
- default:
521
- characters += '/';
522
- }
523
- break;
524
- // {
525
- case 123 * variable:
526
- points[index++] = strlen(characters) * ampersand;
527
- // } ; \0
528
- case 125 * variable:
529
- case 59:
530
- case 0:
531
- switch (character) {
532
- // \0 }
533
- case 0:
534
- case 125:
535
- scanning = 0;
536
- // ;
537
- case 59 + offset:
538
- if (ampersand == -1) characters = replace(characters, /\f/g, '');
539
- if (property > 0 && strlen(characters) - length) append(property > 32 ? declaration(characters + ';', rule, parent, length - 1, declarations) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2, declarations), declarations);
540
- break;
541
- // @ ;
542
- case 59:
543
- characters += ';';
544
- // { rule/at-rule
545
- default:
546
- append(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length, rulesets), rulesets);
547
- if (character === 123) if (offset === 0) parse(characters, root, reference, reference, props, rulesets, length, points, children);else switch (atrule === 99 && charat(characters, 3) === 110 ? 100 : atrule) {
548
- // d l m s
549
- case 100:
550
- case 108:
551
- case 109:
552
- case 115:
553
- parse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length, children), children), rules, children, length, points, rule ? props : children);
554
- break;
555
- default:
556
- parse(characters, reference, reference, reference, [''], children, 0, points, children);
557
- }
558
- }
559
- index = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo;
560
- break;
561
- // :
562
- case 58:
563
- length = 1 + strlen(characters), property = previous;
564
- default:
565
- if (variable < 1) if (character == 123) --variable;else if (character == 125 && variable++ == 0 && prev() == 125) continue;
566
- switch (characters += from(character), character * variable) {
567
- // &
568
- case 38:
569
- ampersand = offset > 0 ? 1 : (characters += '\f', -1);
570
- break;
571
- // ,
572
- case 44:
573
- points[index++] = (strlen(characters) - 1) * ampersand, ampersand = 1;
574
- break;
575
- // @
576
- case 64:
577
- // -
578
- if (peek() === 45) characters += delimit(next());
579
- atrule = peek(), offset = length = strlen(type = characters += identifier(caret())), character++;
580
- break;
581
- // -
582
- case 45:
583
- if (previous === 45 && strlen(characters) == 2) variable = 0;
584
- }
585
- }
586
- return rulesets;
587
- }
588
-
589
- /**
590
- * @param {string} value
591
- * @param {object} root
592
- * @param {object?} parent
593
- * @param {number} index
594
- * @param {number} offset
595
- * @param {string[]} rules
596
- * @param {number[]} points
597
- * @param {string} type
598
- * @param {string[]} props
599
- * @param {string[]} children
600
- * @param {number} length
601
- * @param {object[]} siblings
602
- * @return {object}
603
- */
604
- function ruleset(value, root, parent, index, offset, rules, points, type, props, children, length, siblings) {
605
- var post = offset - 1;
606
- var rule = offset === 0 ? rules : [''];
607
- var size = sizeof(rule);
608
- for (var i = 0, j = 0, k = 0; i < index; ++i) for (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x) if (z = trim(j > 0 ? rule[x] + ' ' + y : replace(y, /&\f/g, rule[x]))) props[k++] = z;
609
- return node(value, root, parent, offset === 0 ? RULESET : type, props, children, length, siblings);
610
- }
611
-
612
- /**
613
- * @param {number} value
614
- * @param {object} root
615
- * @param {object?} parent
616
- * @param {object[]} siblings
617
- * @return {object}
618
- */
619
- function comment(value, root, parent, siblings) {
620
- return node(value, root, parent, COMMENT, from(char()), substr(value, 2, -2), 0, siblings);
621
- }
622
-
623
- /**
624
- * @param {string} value
625
- * @param {object} root
626
- * @param {object?} parent
627
- * @param {number} length
628
- * @param {object[]} siblings
629
- * @return {object}
630
- */
631
- function declaration(value, root, parent, length, siblings) {
632
- return node(value, root, parent, DECLARATION, substr(value, 0, length), substr(value, length + 1, -1), length, siblings);
633
- }
634
-
635
- /**
636
- * @param {string} value
637
- * @param {number} length
638
- * @param {object[]} children
639
- * @return {string}
640
- */
641
- function prefix(value, length, children) {
642
- switch (hash(value, length)) {
643
- // color-adjust
644
- case 5103:
645
- return WEBKIT + 'print-' + value + value;
646
- // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
647
- case 5737:
648
- case 4201:
649
- case 3177:
650
- case 3433:
651
- case 1641:
652
- case 4457:
653
- case 2921:
654
- // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
655
- case 5572:
656
- case 6356:
657
- case 5844:
658
- case 3191:
659
- case 6645:
660
- case 3005:
661
- // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
662
- case 6391:
663
- case 5879:
664
- case 5623:
665
- case 6135:
666
- case 4599:
667
- case 4855:
668
- // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
669
- case 4215:
670
- case 6389:
671
- case 5109:
672
- case 5365:
673
- case 5621:
674
- case 3829:
675
- return WEBKIT + value + value;
676
- // tab-size
677
- case 4789:
678
- return MOZ + value + value;
679
- // appearance, user-select, transform, hyphens, text-size-adjust
680
- case 5349:
681
- case 4246:
682
- case 4810:
683
- case 6968:
684
- case 2756:
685
- return WEBKIT + value + MOZ + value + MS + value + value;
686
- // writing-mode
687
- case 5936:
688
- switch (charat(value, length + 11)) {
689
- // vertical-l(r)
690
- case 114:
691
- return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'tb') + value;
692
- // vertical-r(l)
693
- case 108:
694
- return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'tb-rl') + value;
695
- // horizontal(-)tb
696
- case 45:
697
- return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'lr') + value;
698
- // default: fallthrough to below
699
- }
700
- // flex, flex-direction, scroll-snap-type, writing-mode
701
- case 6828:
702
- case 4268:
703
- case 2903:
704
- return WEBKIT + value + MS + value + value;
705
- // order
706
- case 6165:
707
- return WEBKIT + value + MS + 'flex-' + value + value;
708
- // align-items
709
- case 5187:
710
- return WEBKIT + value + replace(value, /(\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value;
711
- // align-self
712
- case 5443:
713
- return WEBKIT + value + MS + 'flex-item-' + replace(value, /flex-|-self/g, '') + (!match(value, /flex-|baseline/) ? MS + 'grid-row-' + replace(value, /flex-|-self/g, '') : '') + value;
714
- // align-content
715
- case 4675:
716
- return WEBKIT + value + MS + 'flex-line-pack' + replace(value, /align-content|flex-|-self/g, '') + value;
717
- // flex-shrink
718
- case 5548:
719
- return WEBKIT + value + MS + replace(value, 'shrink', 'negative') + value;
720
- // flex-basis
721
- case 5292:
722
- return WEBKIT + value + MS + replace(value, 'basis', 'preferred-size') + value;
723
- // flex-grow
724
- case 6060:
725
- return WEBKIT + 'box-' + replace(value, '-grow', '') + WEBKIT + value + MS + replace(value, 'grow', 'positive') + value;
726
- // transition
727
- case 4554:
728
- return WEBKIT + replace(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value;
729
- // cursor
730
- case 6187:
731
- return replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value;
732
- // background, background-image
733
- case 5495:
734
- case 3959:
735
- return replace(value, /(image-set\([^]*)/, WEBKIT + '$1' + '$`$1');
736
- // justify-content
737
- case 4968:
738
- return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value;
739
- // justify-self
740
- case 4200:
741
- if (!match(value, /flex-|baseline/)) return MS + 'grid-column-align' + substr(value, length) + value;
742
- break;
743
- // grid-template-(columns|rows)
744
- case 2592:
745
- case 3360:
746
- return MS + replace(value, 'template-', '') + value;
747
- // grid-(row|column)-start
748
- case 4384:
749
- case 3616:
750
- if (children && children.some(function (element, index) {
751
- return length = index, match(element.props, /grid-\w+-end/);
752
- })) {
753
- return ~indexof(value + (children = children[length].value), 'span', 0) ? value : MS + replace(value, '-start', '') + value + MS + 'grid-row-span:' + (~indexof(children, 'span', 0) ? match(children, /\d+/) : +match(children, /\d+/) - +match(value, /\d+/)) + ';';
754
- }
755
- return MS + replace(value, '-start', '') + value;
756
- // grid-(row|column)-end
757
- case 4896:
758
- case 4128:
759
- return children && children.some(function (element) {
760
- return match(element.props, /grid-\w+-start/);
761
- }) ? value : MS + replace(replace(value, '-end', '-span'), 'span ', '') + value;
762
- // (margin|padding)-inline-(start|end)
763
- case 4095:
764
- case 3583:
765
- case 4068:
766
- case 2532:
767
- return replace(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value;
768
- // (min|max)?(width|height|inline-size|block-size)
769
- case 8116:
770
- case 7059:
771
- case 5753:
772
- case 5535:
773
- case 5445:
774
- case 5701:
775
- case 4933:
776
- case 4677:
777
- case 5533:
778
- case 5789:
779
- case 5021:
780
- case 4765:
781
- // stretch, max-content, min-content, fill-available
782
- if (strlen(value) - 1 - length > 6) switch (charat(value, length + 1)) {
783
- // (m)ax-content, (m)in-content
784
- case 109:
785
- // -
786
- if (charat(value, length + 4) !== 45) break;
787
- // (f)ill-available, (f)it-content
788
- case 102:
789
- return replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value;
790
- // (s)tretch
791
- case 115:
792
- return ~indexof(value, 'stretch', 0) ? prefix(replace(value, 'stretch', 'fill-available'), length, children) + value : value;
793
- }
794
- break;
795
- // grid-(column|row)
796
- case 5152:
797
- case 5920:
798
- return replace(value, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function (_, a, b, c, d, e, f) {
799
- return MS + a + ':' + b + f + (c ? MS + a + '-span:' + (d ? e : +e - +b) + f : '') + value;
800
- });
801
- // position: sticky
802
- case 4949:
803
- // stick(y)?
804
- if (charat(value, length + 6) === 121) return replace(value, ':', ':' + WEBKIT) + value;
805
- break;
806
- // display: (flex|inline-flex|grid|inline-grid)
807
- case 6444:
808
- switch (charat(value, charat(value, 14) === 45 ? 18 : 11)) {
809
- // (inline-)?fle(x)
810
- case 120:
811
- return replace(value, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value;
812
- // (inline-)?gri(d)
813
- case 100:
814
- return replace(value, ':', ':' + MS) + value;
815
- }
816
- break;
817
- // scroll-margin, scroll-margin-(top|right|bottom|left)
818
- case 5719:
819
- case 2647:
820
- case 2135:
821
- case 3927:
822
- case 2391:
823
- return replace(value, 'scroll-', 'scroll-snap-') + value;
824
- }
825
- return value;
826
- }
827
-
828
- /**
829
- * @param {object[]} children
830
- * @param {function} callback
831
- * @return {string}
832
- */
833
- function serialize(children, callback) {
834
- var output = '';
835
- for (var i = 0; i < children.length; i++) output += callback(children[i], i, children, callback) || '';
836
- return output;
837
- }
838
-
839
- /**
840
- * @param {object} element
841
- * @param {number} index
842
- * @param {object[]} children
843
- * @param {function} callback
844
- * @return {string}
845
- */
846
- function stringify(element, index, children, callback) {
847
- switch (element.type) {
848
- case LAYER:
849
- if (element.children.length) break;
850
- case IMPORT:
851
- case DECLARATION:
852
- return element.return = element.return || element.value;
853
- case COMMENT:
854
- return '';
855
- case KEYFRAMES:
856
- return element.return = element.value + '{' + serialize(element.children, callback) + '}';
857
- case RULESET:
858
- if (!strlen(element.value = element.props.join(','))) return '';
859
- }
860
- return strlen(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : '';
861
- }
862
-
863
- /**
864
- * @param {function[]} collection
865
- * @return {function}
866
- */
867
- function middleware(collection) {
868
- var length = sizeof(collection);
869
- return function (element, index, children, callback) {
870
- var output = '';
871
- for (var i = 0; i < length; i++) output += collection[i](element, index, children, callback) || '';
872
- return output;
873
- };
874
- }
875
-
876
- /**
877
- * @param {function} callback
878
- * @return {function}
879
- */
880
- function rulesheet(callback) {
881
- return function (element) {
882
- if (!element.root) if (element = element.return) callback(element);
883
- };
884
- }
885
-
886
- /**
887
- * @param {object} element
888
- * @param {number} index
889
- * @param {object[]} children
890
- * @param {function} callback
891
- */
892
- function prefixer(element, index, children, callback) {
893
- if (element.length > -1) if (!element.return) switch (element.type) {
894
- case DECLARATION:
895
- element.return = prefix(element.value, element.length, children);
896
- return;
897
- case KEYFRAMES:
898
- return serialize([copy(element, {
899
- value: replace(element.value, '@', '@' + WEBKIT)
900
- })], callback);
901
- case RULESET:
902
- if (element.length) return combine(children = element.props, function (value) {
903
- switch (match(value, callback = /(::plac\w+|:read-\w+)/)) {
904
- // :read-(only|write)
905
- case ':read-only':
906
- case ':read-write':
907
- lift(copy(element, {
908
- props: [replace(value, /:(read-\w+)/, ':' + MOZ + '$1')]
909
- }));
910
- lift(copy(element, {
911
- props: [value]
912
- }));
913
- assign(element, {
914
- props: filter(children, callback)
915
- });
916
- break;
917
- // :placeholder
918
- case '::placeholder':
919
- lift(copy(element, {
920
- props: [replace(value, /:(plac\w+)/, ':' + WEBKIT + 'input-$1')]
921
- }));
922
- lift(copy(element, {
923
- props: [replace(value, /:(plac\w+)/, ':' + MOZ + '$1')]
924
- }));
925
- lift(copy(element, {
926
- props: [replace(value, /:(plac\w+)/, MS + 'input-$1')]
927
- }));
928
- lift(copy(element, {
929
- props: [value]
930
- }));
931
- assign(element, {
932
- props: filter(children, callback)
933
- });
934
- break;
935
- }
936
- return '';
937
- });
938
- }
939
- }
940
-
941
- var unitlessKeys = {
942
- animationIterationCount: 1,
943
- borderImageOutset: 1,
944
- borderImageSlice: 1,
945
- borderImageWidth: 1,
946
- boxFlex: 1,
947
- boxFlexGroup: 1,
948
- boxOrdinalGroup: 1,
949
- columnCount: 1,
950
- columns: 1,
951
- flex: 1,
952
- flexGrow: 1,
953
- flexPositive: 1,
954
- flexShrink: 1,
955
- flexNegative: 1,
956
- flexOrder: 1,
957
- gridRow: 1,
958
- gridRowEnd: 1,
959
- gridRowSpan: 1,
960
- gridRowStart: 1,
961
- gridColumn: 1,
962
- gridColumnEnd: 1,
963
- gridColumnSpan: 1,
964
- gridColumnStart: 1,
965
- msGridRow: 1,
966
- msGridRowSpan: 1,
967
- msGridColumn: 1,
968
- msGridColumnSpan: 1,
969
- fontWeight: 1,
970
- lineHeight: 1,
971
- opacity: 1,
972
- order: 1,
973
- orphans: 1,
974
- tabSize: 1,
975
- widows: 1,
976
- zIndex: 1,
977
- zoom: 1,
978
- WebkitLineClamp: 1,
979
- // SVG-related properties
980
- fillOpacity: 1,
981
- floodOpacity: 1,
982
- stopOpacity: 1,
983
- strokeDasharray: 1,
984
- strokeDashoffset: 1,
985
- strokeMiterlimit: 1,
986
- strokeOpacity: 1,
987
- strokeWidth: 1
988
- };
989
-
990
- var f = "undefined" != typeof process && void 0 !== process.env && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled",
991
- m = "active",
992
- y = "data-styled-version",
993
- v = "6.1.8",
994
- g = "/*!sc*/\n",
995
- S = "undefined" != typeof window && "HTMLElement" in window,
996
- 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),
997
- E = /invalid hook call/i,
998
- N = new Set(),
999
- P = function (t, n) {
1000
- if ("production" !== process.env.NODE_ENV) {
1001
- var o = n ? ' with the id of "'.concat(n, '"') : "",
1002
- 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.",
1003
- i = console.error;
1004
- try {
1005
- var a = !0;
1006
- console.error = function (t) {
1007
- for (var n = [], o = 1; o < arguments.length; o++) n[o - 1] = arguments[o];
1008
- E.test(t) ? (a = !1, N.delete(s)) : i.apply(void 0, __spreadArray([t], n, !1));
1009
- }, React.useRef(), a && !N.has(s) && (console.warn(s), N.add(s));
1010
- } catch (e) {
1011
- E.test(e.message) && N.delete(s);
1012
- } finally {
1013
- console.error = i;
1014
- }
1015
- }
1016
- },
1017
- _ = Object.freeze([]),
1018
- C = Object.freeze({});
1019
- function I(e, t, n) {
1020
- return void 0 === n && (n = C), e.theme !== n.theme && e.theme || t || n.theme;
1021
- }
1022
- 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"]),
1023
- O = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,
1024
- D = /(^-|-$)/g;
1025
- function R(e) {
1026
- return e.replace(O, "-").replace(D, "");
1027
- }
1028
- var T = /(a)(d)/gi,
1029
- k = 52,
1030
- j = function (e) {
1031
- return String.fromCharCode(e + (e > 25 ? 39 : 97));
1032
- };
1033
- function x(e) {
1034
- var t,
1035
- n = "";
1036
- for (t = Math.abs(e); t > k; t = t / k | 0) n = j(t % k) + n;
1037
- return (j(t % k) + n).replace(T, "$1-$2");
1038
- }
1039
- var V,
1040
- F = 5381,
1041
- M = function (e, t) {
1042
- for (var n = t.length; n;) e = 33 * e ^ t.charCodeAt(--n);
1043
- return e;
1044
- },
1045
- z = function (e) {
1046
- return M(F, e);
1047
- };
1048
- function $(e) {
1049
- return x(z(e) >>> 0);
1050
- }
1051
- function B(e) {
1052
- return "production" !== process.env.NODE_ENV && "string" == typeof e && e || e.displayName || e.name || "Component";
1053
- }
1054
- function L(e) {
1055
- return "string" == typeof e && ("production" === process.env.NODE_ENV || e.charAt(0) === e.charAt(0).toLowerCase());
1056
- }
1057
- var G = "function" == typeof Symbol && Symbol.for,
1058
- Y = G ? Symbol.for("react.memo") : 60115,
1059
- q = G ? Symbol.for("react.forward_ref") : 60112,
1060
- W = {
1061
- childContextTypes: !0,
1062
- contextType: !0,
1063
- contextTypes: !0,
1064
- defaultProps: !0,
1065
- displayName: !0,
1066
- getDefaultProps: !0,
1067
- getDerivedStateFromError: !0,
1068
- getDerivedStateFromProps: !0,
1069
- mixins: !0,
1070
- propTypes: !0,
1071
- type: !0
1072
- },
1073
- H = {
1074
- name: !0,
1075
- length: !0,
1076
- prototype: !0,
1077
- caller: !0,
1078
- callee: !0,
1079
- arguments: !0,
1080
- arity: !0
1081
- },
1082
- U = {
1083
- $$typeof: !0,
1084
- compare: !0,
1085
- defaultProps: !0,
1086
- displayName: !0,
1087
- propTypes: !0,
1088
- type: !0
1089
- },
1090
- J = ((V = {})[q] = {
1091
- $$typeof: !0,
1092
- render: !0,
1093
- defaultProps: !0,
1094
- displayName: !0,
1095
- propTypes: !0
1096
- }, V[Y] = U, V);
1097
- function X(e) {
1098
- return ("type" in (t = e) && t.type.$$typeof) === Y ? U : "$$typeof" in e ? J[e.$$typeof] : W;
1099
- var t;
1100
- }
1101
- var Z = Object.defineProperty,
1102
- K = Object.getOwnPropertyNames,
1103
- Q = Object.getOwnPropertySymbols,
1104
- ee = Object.getOwnPropertyDescriptor,
1105
- te = Object.getPrototypeOf,
1106
- ne = Object.prototype;
1107
- function oe(e, t, n) {
1108
- if ("string" != typeof t) {
1109
- if (ne) {
1110
- var o = te(t);
1111
- o && o !== ne && oe(e, o, n);
1112
- }
1113
- var r = K(t);
1114
- Q && (r = r.concat(Q(t)));
1115
- for (var s = X(e), i = X(t), a = 0; a < r.length; ++a) {
1116
- var c = r[a];
1117
- if (!(c in H || n && n[c] || i && c in i || s && c in s)) {
1118
- var l = ee(t, c);
1119
- try {
1120
- Z(e, c, l);
1121
- } catch (e) {}
1122
- }
1123
- }
1124
- }
1125
- return e;
1126
- }
1127
- function re(e) {
1128
- return "function" == typeof e;
1129
- }
1130
- function se(e) {
1131
- return "object" == typeof e && "styledComponentId" in e;
1132
- }
1133
- function ie(e, t) {
1134
- return e && t ? "".concat(e, " ").concat(t) : e || t || "";
1135
- }
1136
- function ae(e, t) {
1137
- if (0 === e.length) return "";
1138
- for (var n = e[0], o = 1; o < e.length; o++) n += t ? t + e[o] : e[o];
1139
- return n;
1140
- }
1141
- function ce(e) {
1142
- return null !== e && "object" == typeof e && e.constructor.name === Object.name && !("props" in e && e.$$typeof);
1143
- }
1144
- function le(e, t, n) {
1145
- if (void 0 === n && (n = !1), !n && !ce(e) && !Array.isArray(e)) return t;
1146
- 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]);
1147
- return e;
1148
- }
1149
- function ue(e, t) {
1150
- Object.defineProperty(e, "toString", {
1151
- value: t
1152
- });
1153
- }
1154
- var pe = "production" !== process.env.NODE_ENV ? {
1155
- 1: "Cannot create styled-component for component: %s.\n\n",
1156
- 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",
1157
- 3: "Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",
1158
- 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",
1159
- 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",
1160
- 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",
1161
- 7: 'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',
1162
- 8: 'ThemeProvider: Please make your "theme" prop an object.\n\n',
1163
- 9: "Missing document `<head>`\n\n",
1164
- 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",
1165
- 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",
1166
- 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",
1167
- 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",
1168
- 14: 'ThemeProvider: "theme" prop is required.\n\n',
1169
- 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",
1170
- 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",
1171
- 17: "CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n",
1172
- 18: "ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"
1173
- } : {};
1174
- function de() {
1175
- for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
1176
- for (var n = e[0], o = [], r = 1, s = e.length; r < s; r += 1) o.push(e[r]);
1177
- return o.forEach(function (e) {
1178
- n = n.replace(/%[a-z]/, e);
1179
- }), n;
1180
- }
1181
- function he(t) {
1182
- for (var n = [], o = 1; o < arguments.length; o++) n[o - 1] = arguments[o];
1183
- 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, !1)).trim());
1184
- }
1185
- var fe = function () {
1186
- function e(e) {
1187
- this.groupSizes = new Uint32Array(512), this.length = 512, this.tag = e;
1188
- }
1189
- return e.prototype.indexOfGroup = function (e) {
1190
- for (var t = 0, n = 0; n < e; n++) t += this.groupSizes[n];
1191
- return t;
1192
- }, e.prototype.insertRules = function (e, t) {
1193
- if (e >= this.groupSizes.length) {
1194
- for (var n = this.groupSizes, o = n.length, r = o; e >= r;) if ((r <<= 1) < 0) throw he(16, "".concat(e));
1195
- this.groupSizes = new Uint32Array(r), this.groupSizes.set(n), this.length = r;
1196
- for (var s = o; s < r; s++) this.groupSizes[s] = 0;
1197
- }
1198
- 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++);
1199
- }, e.prototype.clearGroup = function (e) {
1200
- if (e < this.length) {
1201
- var t = this.groupSizes[e],
1202
- n = this.indexOfGroup(e),
1203
- o = n + t;
1204
- this.groupSizes[e] = 0;
1205
- for (var r = n; r < o; r++) this.tag.deleteRule(n);
1206
- }
1207
- }, e.prototype.getGroup = function (e) {
1208
- var t = "";
1209
- if (e >= this.length || 0 === this.groupSizes[e]) return t;
1210
- 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);
1211
- return t;
1212
- }, e;
1213
- }(),
1214
- me = new Map(),
1215
- ye = new Map(),
1216
- ve = 1,
1217
- ge = function (e) {
1218
- if (me.has(e)) return me.get(e);
1219
- for (; ye.has(ve);) ve++;
1220
- var t = ve++;
1221
- if ("production" !== process.env.NODE_ENV && ((0 | t) < 0 || t > 1073741824)) throw he(16, "".concat(t));
1222
- return me.set(e, t), ye.set(t, e), t;
1223
- },
1224
- Se = function (e, t) {
1225
- ve = t + 1, me.set(e, t), ye.set(t, e);
1226
- },
1227
- we = "style[".concat(f, "][").concat(y, '="').concat(v, '"]'),
1228
- be = new RegExp("^".concat(f, '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),
1229
- Ee = function (e, t, n) {
1230
- for (var o, r = n.split(","), s = 0, i = r.length; s < i; s++) (o = r[s]) && e.registerName(t, o);
1231
- },
1232
- Ne = function (e, t) {
1233
- for (var n, o = (null !== (n = t.textContent) && void 0 !== n ? n : "").split(g), r = [], s = 0, i = o.length; s < i; s++) {
1234
- var a = o[s].trim();
1235
- if (a) {
1236
- var c = a.match(be);
1237
- if (c) {
1238
- var l = 0 | parseInt(c[1], 10),
1239
- u = c[2];
1240
- 0 !== l && (Se(u, l), Ee(e, u, c[3]), e.getTag().insertRules(l, r)), r.length = 0;
1241
- } else r.push(a);
1242
- }
1243
- }
1244
- };
1245
- function Pe() {
1246
- return "undefined" != typeof __webpack_nonce__ ? __webpack_nonce__ : null;
1247
- }
1248
- var _e = function (e) {
1249
- var t = document.head,
1250
- n = e || t,
1251
- o = document.createElement("style"),
1252
- r = function (e) {
1253
- var t = Array.from(e.querySelectorAll("style[".concat(f, "]")));
1254
- return t[t.length - 1];
1255
- }(n),
1256
- s = void 0 !== r ? r.nextSibling : null;
1257
- o.setAttribute(f, m), o.setAttribute(y, v);
1258
- var i = Pe();
1259
- return i && o.setAttribute("nonce", i), n.insertBefore(o, s), o;
1260
- },
1261
- Ce = function () {
1262
- function e(e) {
1263
- this.element = _e(e), this.element.appendChild(document.createTextNode("")), this.sheet = function (e) {
1264
- if (e.sheet) return e.sheet;
1265
- for (var t = document.styleSheets, n = 0, o = t.length; n < o; n++) {
1266
- var r = t[n];
1267
- if (r.ownerNode === e) return r;
1268
- }
1269
- throw he(17);
1270
- }(this.element), this.length = 0;
1271
- }
1272
- return e.prototype.insertRule = function (e, t) {
1273
- try {
1274
- return this.sheet.insertRule(t, e), this.length++, !0;
1275
- } catch (e) {
1276
- return !1;
1277
- }
1278
- }, e.prototype.deleteRule = function (e) {
1279
- this.sheet.deleteRule(e), this.length--;
1280
- }, e.prototype.getRule = function (e) {
1281
- var t = this.sheet.cssRules[e];
1282
- return t && t.cssText ? t.cssText : "";
1283
- }, e;
1284
- }(),
1285
- Ie = function () {
1286
- function e(e) {
1287
- this.element = _e(e), this.nodes = this.element.childNodes, this.length = 0;
1288
- }
1289
- return e.prototype.insertRule = function (e, t) {
1290
- if (e <= this.length && e >= 0) {
1291
- var n = document.createTextNode(t);
1292
- return this.element.insertBefore(n, this.nodes[e] || null), this.length++, !0;
1293
- }
1294
- return !1;
1295
- }, e.prototype.deleteRule = function (e) {
1296
- this.element.removeChild(this.nodes[e]), this.length--;
1297
- }, e.prototype.getRule = function (e) {
1298
- return e < this.length ? this.nodes[e].textContent : "";
1299
- }, e;
1300
- }(),
1301
- Ae = function () {
1302
- function e(e) {
1303
- this.rules = [], this.length = 0;
1304
- }
1305
- return e.prototype.insertRule = function (e, t) {
1306
- return e <= this.length && (this.rules.splice(e, 0, t), this.length++, !0);
1307
- }, e.prototype.deleteRule = function (e) {
1308
- this.rules.splice(e, 1), this.length--;
1309
- }, e.prototype.getRule = function (e) {
1310
- return e < this.length ? this.rules[e] : "";
1311
- }, e;
1312
- }(),
1313
- Oe = S,
1314
- De = {
1315
- isServer: !S,
1316
- useCSSOMInjection: !w
1317
- },
1318
- Re = function () {
1319
- function e(e, n, o) {
1320
- void 0 === e && (e = C), void 0 === n && (n = {});
1321
- var r = this;
1322
- this.options = __assign(__assign({}, De), e), this.gs = n, this.names = new Map(o), this.server = !!e.isServer, !this.server && S && Oe && (Oe = !1, function (e) {
1323
- for (var t = document.querySelectorAll(we), n = 0, o = t.length; n < o; n++) {
1324
- var r = t[n];
1325
- r && r.getAttribute(f) !== m && (Ne(e, r), r.parentNode && r.parentNode.removeChild(r));
1326
- }
1327
- }(this)), ue(this, function () {
1328
- return function (e) {
1329
- for (var t = e.getTag(), n = t.length, o = "", r = function (n) {
1330
- var r = function (e) {
1331
- return ye.get(e);
1332
- }(n);
1333
- if (void 0 === r) return "continue";
1334
- var s = e.names.get(r),
1335
- i = t.getGroup(n);
1336
- if (void 0 === s || 0 === i.length) return "continue";
1337
- var a = "".concat(f, ".g").concat(n, '[id="').concat(r, '"]'),
1338
- c = "";
1339
- void 0 !== s && s.forEach(function (e) {
1340
- e.length > 0 && (c += "".concat(e, ","));
1341
- }), o += "".concat(i).concat(a, '{content:"').concat(c, '"}').concat(g);
1342
- }, s = 0; s < n; s++) r(s);
1343
- return o;
1344
- }(r);
1345
- });
1346
- }
1347
- return e.registerId = function (e) {
1348
- return ge(e);
1349
- }, e.prototype.reconstructWithOptions = function (n, o) {
1350
- return void 0 === o && (o = !0), new e(__assign(__assign({}, this.options), n), this.gs, o && this.names || void 0);
1351
- }, e.prototype.allocateGSInstance = function (e) {
1352
- return this.gs[e] = (this.gs[e] || 0) + 1;
1353
- }, e.prototype.getTag = function () {
1354
- return this.tag || (this.tag = (e = function (e) {
1355
- var t = e.useCSSOMInjection,
1356
- n = e.target;
1357
- return e.isServer ? new Ae(n) : t ? new Ce(n) : new Ie(n);
1358
- }(this.options), new fe(e)));
1359
- var e;
1360
- }, e.prototype.hasNameForId = function (e, t) {
1361
- return this.names.has(e) && this.names.get(e).has(t);
1362
- }, e.prototype.registerName = function (e, t) {
1363
- if (ge(e), this.names.has(e)) this.names.get(e).add(t);else {
1364
- var n = new Set();
1365
- n.add(t), this.names.set(e, n);
1366
- }
1367
- }, e.prototype.insertRules = function (e, t, n) {
1368
- this.registerName(e, t), this.getTag().insertRules(ge(e), n);
1369
- }, e.prototype.clearNames = function (e) {
1370
- this.names.has(e) && this.names.get(e).clear();
1371
- }, e.prototype.clearRules = function (e) {
1372
- this.getTag().clearGroup(ge(e)), this.clearNames(e);
1373
- }, e.prototype.clearTag = function () {
1374
- this.tag = void 0;
1375
- }, e;
1376
- }(),
1377
- Te = /&/g,
1378
- ke = /^\s*\/\/.*$/gm;
1379
- function je(e, t) {
1380
- return e.map(function (e) {
1381
- 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) {
1382
- return "".concat(t, " ").concat(e);
1383
- })), Array.isArray(e.children) && "@keyframes" !== e.type && (e.children = je(e.children, t)), e;
1384
- });
1385
- }
1386
- function xe(e) {
1387
- var t,
1388
- n,
1389
- o,
1390
- r = void 0 === e ? C : e,
1391
- s = r.options,
1392
- i = void 0 === s ? C : s,
1393
- a = r.plugins,
1394
- c = void 0 === a ? _ : a,
1395
- l = function (e, o, r) {
1396
- return r.startsWith(n) && r.endsWith(n) && r.replaceAll(n, "").length > 0 ? ".".concat(t) : e;
1397
- },
1398
- u = c.slice();
1399
- u.push(function (e) {
1400
- e.type === RULESET && e.value.includes("&") && (e.props[0] = e.props[0].replace(Te, n).replace(o, l));
1401
- }), i.prefix && u.push(prefixer), u.push(stringify);
1402
- var p = function (e, r, s, a) {
1403
- void 0 === r && (r = ""), void 0 === s && (s = ""), void 0 === a && (a = "&"), t = a, n = r, o = new RegExp("\\".concat(n, "\\b"), "g");
1404
- var c = e.replace(ke, ""),
1405
- l = compile(s || r ? "".concat(s, " ").concat(r, " { ").concat(c, " }") : c);
1406
- i.namespace && (l = je(l, i.namespace));
1407
- var p = [];
1408
- return serialize(l, middleware(u.concat(rulesheet(function (e) {
1409
- return p.push(e);
1410
- })))), p;
1411
- };
1412
- return p.hash = c.length ? c.reduce(function (e, t) {
1413
- return t.name || he(15), M(e, t.name);
1414
- }, F).toString() : "", p;
1415
- }
1416
- var Ve = new Re(),
1417
- Fe = xe(),
1418
- Me = React.createContext({
1419
- shouldForwardProp: void 0,
1420
- styleSheet: Ve,
1421
- stylis: Fe
1422
- });
1423
- Me.Consumer;
1424
- React.createContext(void 0);
1425
- function Be() {
1426
- return React.useContext(Me);
1427
- }
1428
- var Ge = function () {
1429
- function e(e, t) {
1430
- var n = this;
1431
- this.inject = function (e, t) {
1432
- void 0 === t && (t = Fe);
1433
- var o = n.name + t.hash;
1434
- e.hasNameForId(n.id, o) || e.insertRules(n.id, o, t(n.rules, o, "@keyframes"));
1435
- }, this.name = e, this.id = "sc-keyframes-".concat(e), this.rules = t, ue(this, function () {
1436
- throw he(12, String(n.name));
1437
- });
1438
- }
1439
- return e.prototype.getName = function (e) {
1440
- return void 0 === e && (e = Fe), this.name + e.hash;
1441
- }, e;
1442
- }(),
1443
- Ye = function (e) {
1444
- return e >= "A" && e <= "Z";
1445
- };
1446
- function qe(e) {
1447
- for (var t = "", n = 0; n < e.length; n++) {
1448
- var o = e[n];
1449
- if (1 === n && "-" === o && "-" === e[0]) return e;
1450
- Ye(o) ? t += "-" + o.toLowerCase() : t += o;
1451
- }
1452
- return t.startsWith("ms-") ? "-" + t : t;
1453
- }
1454
- var We = function (e) {
1455
- return null == e || !1 === e || "" === e;
1456
- },
1457
- He = function (t) {
1458
- var n,
1459
- o,
1460
- r = [];
1461
- for (var s in t) {
1462
- var i = t[s];
1463
- t.hasOwnProperty(s) && !We(i) && (Array.isArray(i) && i.isCss || re(i) ? r.push("".concat(qe(s), ":"), i, ";") : ce(i) ? r.push.apply(r, __spreadArray(__spreadArray(["".concat(s, " {")], He(i), !1), ["}"], !1)) : r.push("".concat(qe(s), ": ").concat((n = s, null == (o = i) || "boolean" == typeof o || "" === o ? "" : "number" != typeof o || 0 === o || n in unitlessKeys || n.startsWith("--") ? String(o).trim() : "".concat(o, "px")), ";")));
1464
- }
1465
- return r;
1466
- };
1467
- function Ue(e, t, n, o) {
1468
- if (We(e)) return [];
1469
- if (se(e)) return [".".concat(e.styledComponentId)];
1470
- if (re(e)) {
1471
- if (!re(s = e) || s.prototype && s.prototype.isReactComponent || !t) return [e];
1472
- var r = e(t);
1473
- return "production" === process.env.NODE_ENV || "object" != typeof r || Array.isArray(r) || r instanceof Ge || 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.")), Ue(r, t, n, o);
1474
- }
1475
- var s;
1476
- return e instanceof Ge ? n ? (e.inject(n, o), [e.getName(o)]) : [e] : ce(e) ? He(e) : Array.isArray(e) ? Array.prototype.concat.apply(_, e.map(function (e) {
1477
- return Ue(e, t, n, o);
1478
- })) : [e.toString()];
1479
- }
1480
- function Je(e) {
1481
- for (var t = 0; t < e.length; t += 1) {
1482
- var n = e[t];
1483
- if (re(n) && !se(n)) return !1;
1484
- }
1485
- return !0;
1486
- }
1487
- var Xe = z(v),
1488
- Ze = function () {
1489
- function e(e, t, n) {
1490
- this.rules = e, this.staticRulesId = "", this.isStatic = "production" === process.env.NODE_ENV && (void 0 === n || n.isStatic) && Je(e), this.componentId = t, this.baseHash = M(Xe, t), this.baseStyle = n, Re.registerId(t);
1491
- }
1492
- return e.prototype.generateAndInjectStyles = function (e, t, n) {
1493
- var o = this.baseStyle ? this.baseStyle.generateAndInjectStyles(e, t, n) : "";
1494
- if (this.isStatic && !n.hash) {
1495
- if (this.staticRulesId && t.hasNameForId(this.componentId, this.staticRulesId)) o = ie(o, this.staticRulesId);else {
1496
- var r = ae(Ue(this.rules, e, t, n)),
1497
- s = x(M(this.baseHash, r) >>> 0);
1498
- if (!t.hasNameForId(this.componentId, s)) {
1499
- var i = n(r, ".".concat(s), void 0, this.componentId);
1500
- t.insertRules(this.componentId, s, i);
1501
- }
1502
- o = ie(o, s), this.staticRulesId = s;
1503
- }
1504
- } else {
1505
- for (var a = M(this.baseHash, n.hash), c = "", l = 0; l < this.rules.length; l++) {
1506
- var u = this.rules[l];
1507
- if ("string" == typeof u) c += u, "production" !== process.env.NODE_ENV && (a = M(a, u));else if (u) {
1508
- var p = ae(Ue(u, e, t, n));
1509
- a = M(a, p + l), c += p;
1510
- }
1511
- }
1512
- if (c) {
1513
- var d = x(a >>> 0);
1514
- t.hasNameForId(this.componentId, d) || t.insertRules(this.componentId, d, n(c, ".".concat(d), void 0, this.componentId)), o = ie(o, d);
1515
- }
1516
- }
1517
- return o;
1518
- }, e;
1519
- }(),
1520
- Ke = React.createContext(void 0);
1521
- Ke.Consumer;
1522
- var nt = {},
1523
- ot = new Set();
1524
- function rt(e, r, s) {
1525
- var i = se(e),
1526
- a = e,
1527
- c = !L(e),
1528
- p = r.attrs,
1529
- d = void 0 === p ? _ : p,
1530
- h = r.componentId,
1531
- f = void 0 === h ? function (e, t) {
1532
- var n = "string" != typeof e ? "sc" : R(e);
1533
- nt[n] = (nt[n] || 0) + 1;
1534
- var o = "".concat(n, "-").concat($(v + n + nt[n]));
1535
- return t ? "".concat(t, "-").concat(o) : o;
1536
- }(r.displayName, r.parentComponentId) : h,
1537
- m = r.displayName,
1538
- y = void 0 === m ? function (e) {
1539
- return L(e) ? "styled.".concat(e) : "Styled(".concat(B(e), ")");
1540
- }(e) : m,
1541
- g = r.displayName && r.componentId ? "".concat(R(r.displayName), "-").concat(r.componentId) : r.componentId || f,
1542
- S = i && a.attrs ? a.attrs.concat(d).filter(Boolean) : d,
1543
- w = r.shouldForwardProp;
1544
- if (i && a.shouldForwardProp) {
1545
- var b = a.shouldForwardProp;
1546
- if (r.shouldForwardProp) {
1547
- var E = r.shouldForwardProp;
1548
- w = function (e, t) {
1549
- return b(e, t) && E(e, t);
1550
- };
1551
- } else w = b;
1552
- }
1553
- var N = new Ze(s, g, i ? a.componentStyle : void 0);
1554
- function O(e, r) {
1555
- return function (e, r, s) {
1556
- var i = e.attrs,
1557
- a = e.componentStyle,
1558
- c = e.defaultProps,
1559
- p = e.foldedComponentIds,
1560
- d = e.styledComponentId,
1561
- h = e.target,
1562
- f = React.useContext(Ke),
1563
- m = Be(),
1564
- y = e.shouldForwardProp || m.shouldForwardProp;
1565
- "production" !== process.env.NODE_ENV && React.useDebugValue(d);
1566
- var v = I(r, f, c) || C,
1567
- g = function (e, n, o) {
1568
- for (var r, s = __assign(__assign({}, n), {
1569
- className: void 0,
1570
- theme: o
1571
- }), i = 0; i < e.length; i += 1) {
1572
- var a = re(r = e[i]) ? r(s) : r;
1573
- for (var c in a) s[c] = "className" === c ? ie(s[c], a[c]) : "style" === c ? __assign(__assign({}, s[c]), a[c]) : a[c];
1574
- }
1575
- return n.className && (s.className = ie(s.className, n.className)), s;
1576
- }(i, r, v),
1577
- S = g.as || h,
1578
- w = {};
1579
- 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) || ot.has(b) || !A.has(S) || (ot.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.)')))));
1580
- var E = function (e, t) {
1581
- var n = Be(),
1582
- o = e.generateAndInjectStyles(t, n.styleSheet, n.stylis);
1583
- return "production" !== process.env.NODE_ENV && React.useDebugValue(o), o;
1584
- }(a, g);
1585
- "production" !== process.env.NODE_ENV && e.warnTooManyClasses && e.warnTooManyClasses(E);
1586
- var N = ie(p, d);
1587
- return E && (N += " " + E), g.className && (N += " " + g.className), w[L(S) && !A.has(S) ? "class" : "className"] = N, w.ref = s, React.createElement(S, w);
1588
- }(D, e, r);
1589
- }
1590
- O.displayName = y;
1591
- var D = React.forwardRef(O);
1592
- 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", {
1593
- get: function () {
1594
- return this._foldedDefaultProps;
1595
- },
1596
- set: function (e) {
1597
- this._foldedDefaultProps = i ? function (e) {
1598
- for (var t = [], n = 1; n < arguments.length; n++) t[n - 1] = arguments[n];
1599
- for (var o = 0, r = t; o < r.length; o++) le(e, r[o], !0);
1600
- return e;
1601
- }({}, a.defaultProps, e) : e;
1602
- }
1603
- }), "production" !== process.env.NODE_ENV && (P(y, g), D.warnTooManyClasses = function (e, t) {
1604
- var n = {},
1605
- o = !1;
1606
- return function (r) {
1607
- if (!o && (n[r] = !0, Object.keys(n).length >= 200)) {
1608
- var s = t ? ' with the id of "'.concat(t, '"') : "";
1609
- 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 = !0, n = {};
1610
- }
1611
- };
1612
- }(y, g)), ue(D, function () {
1613
- return ".".concat(D.styledComponentId);
1614
- }), c && oe(D, e, {
1615
- attrs: !0,
1616
- componentStyle: !0,
1617
- displayName: !0,
1618
- foldedComponentIds: !0,
1619
- shouldForwardProp: !0,
1620
- styledComponentId: !0,
1621
- target: !0
1622
- }), D;
1623
- }
1624
- function st(e, t) {
1625
- for (var n = [e[0]], o = 0, r = t.length; o < r; o += 1) n.push(t[o], e[o + 1]);
1626
- return n;
1627
- }
1628
- var it = function (e) {
1629
- return Object.assign(e, {
1630
- isCss: !0
1631
- });
1632
- };
1633
- function at(t) {
1634
- for (var n = [], o = 1; o < arguments.length; o++) n[o - 1] = arguments[o];
1635
- if (re(t) || ce(t)) return it(Ue(st(_, __spreadArray([t], n, !0))));
1636
- var r = t;
1637
- return 0 === n.length && 1 === r.length && "string" == typeof r[0] ? Ue(r) : it(Ue(st(r, n)));
1638
- }
1639
- function ct(n, o, r) {
1640
- if (void 0 === r && (r = C), !o) throw he(1, o);
1641
- var s = function (t) {
1642
- for (var s = [], i = 1; i < arguments.length; i++) s[i - 1] = arguments[i];
1643
- return n(o, r, at.apply(void 0, __spreadArray([t], s, !1)));
1644
- };
1645
- return s.attrs = function (e) {
1646
- return ct(n, o, __assign(__assign({}, r), {
1647
- attrs: Array.prototype.concat(r.attrs, e).filter(Boolean)
1648
- }));
1649
- }, s.withConfig = function (e) {
1650
- return ct(n, o, __assign(__assign({}, r), e));
1651
- }, s;
1652
- }
1653
- var lt = function (e) {
1654
- return ct(rt, e);
1655
- },
1656
- ut = lt;
1657
- A.forEach(function (e) {
1658
- ut[e] = lt(e);
1659
- });
1660
- function ht(t) {
1661
- for (var n = [], o = 1; o < arguments.length; o++) n[o - 1] = arguments[o];
1662
- "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.");
1663
- var r = ae(at.apply(void 0, __spreadArray([t], n, !1))),
1664
- s = $(r);
1665
- return new Ge(s, r);
1666
- }
1667
- "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");
1668
- var gt = "__sc-".concat(f, "__");
1669
- "production" !== process.env.NODE_ENV && "test" !== process.env.NODE_ENV && "undefined" != typeof window && (window[gt] || (window[gt] = 0), 1 === window[gt] && 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[gt] += 1);
1670
35
 
1671
36
  const Colors = {
1672
37
  PRIMARY: {
@@ -1718,7 +83,7 @@ const EditableTheme = {
1718
83
  PRIMARY_COLOR: Colors.PRIMARY,
1719
84
  };
1720
85
 
1721
- const Header$3 = ut.div `
86
+ const Header$3 = styled.div `
1722
87
  display: flex;
1723
88
  align-items: center;
1724
89
  justify-content: space-between;
@@ -1729,7 +94,7 @@ const Header$3 = ut.div `
1729
94
  height: 50px;
1730
95
  cursor: pointer;
1731
96
  `;
1732
- const Title$2 = ut.div `
97
+ const Title$2 = styled.div `
1733
98
  font-size: ${FontSizes.DEFAULT};
1734
99
  font-weight: 400;
1735
100
  color: ${Colors.BLACK.Hex};
@@ -1746,7 +111,7 @@ const Accordion = (_a) => {
1746
111
  open ? children : null));
1747
112
  };
1748
113
 
1749
- const StyledButton = ut.button `
114
+ const StyledButton = styled.button `
1750
115
  height: ${props => (props.$small ? '30px' : '40px')};
1751
116
  line-height: 1em;
1752
117
  border-radius: ${props => (props.$small ? '15px' : '20px')};
@@ -1789,21 +154,21 @@ const StyledButton = ut.button `
1789
154
  opacity: ${props => (props.$disabled ? 0.6 : 1)};
1790
155
  }
1791
156
  `;
1792
- const Label$5 = ut.span `
157
+ const Label$5 = styled.span `
1793
158
  color: ${props => props.$content_color || '#fff'};
1794
159
  font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
1795
160
  font-family: ${FontStyles.DEFAULT};
1796
161
  font-weight: 500;
1797
162
  line-height: 1;
1798
163
  `;
1799
- const StyledIcon$6 = ut.span `
164
+ const StyledIcon$6 = styled.span `
1800
165
  margin-left: ${props => (props.$hasChildren ? '6px' : '0px')};
1801
166
  margin-right: ${props => (props.$hasChildren ? '-4px' : '0px')};
1802
167
  display: flex;
1803
168
  align-items: center;
1804
169
  box-sizing: border-box;
1805
170
  `;
1806
- const Badge$1 = ut.span `
171
+ const Badge$1 = styled.span `
1807
172
  width: ${props => (props.$small ? '20px' : '24px')};
1808
173
  height: ${props => (props.$small ? '20px' : '24px')};
1809
174
  line-height: 1;
@@ -1822,7 +187,7 @@ const Badge$1 = ut.span `
1822
187
  `;
1823
188
  const Button = (_a) => {
1824
189
  var { badge, children, disabled = false, icon, isForm = false, loading = false, margin = '', onClick, small = false, format = 'primary' } = _a, accessibleProps = __rest(_a, ["badge", "children", "disabled", "icon", "isForm", "loading", "margin", "onClick", "small", "format"]);
1825
- const theme = React.useContext(Ke) || EditableTheme;
190
+ const theme = React.useContext(styled.ThemeContext) || EditableTheme;
1826
191
  const has_children = children && children.length > 0;
1827
192
  const button_type_mapping = {
1828
193
  primary: {
@@ -1862,7 +227,7 @@ const Button = (_a) => {
1862
227
  badge && !icon ? (React.createElement(Badge$1, { "$bg_color": format_styles.badge_bg_color, "$content_color": format_styles.badge_content_color, "$small": small }, badge)) : null));
1863
228
  };
1864
229
 
1865
- const StyledComponent = ut.p `
230
+ const StyledComponent = styled.p `
1866
231
  color: ${props => Colors[props.$color || 'BLACK'].Hex};
1867
232
  font-size: ${props => (props.$type === 'small' ? FontSizes.SMALL : FontSizes.DEFAULT)};
1868
233
  line-height: ${props => (props.$type === 'small' ? '1.5em' : '1.6em')};
@@ -1883,7 +248,7 @@ Copy.defaultProps = {
1883
248
  type: 'default',
1884
249
  };
1885
250
 
1886
- const H1 = ut.h1 `
251
+ const H1 = styled.h1 `
1887
252
  color: ${Colors.BLACK.Hex};
1888
253
  font-size: 30px;
1889
254
  font-weight: ${props => (props.$bold ? '500' : '400')};
@@ -1893,7 +258,7 @@ const H1 = ut.h1 `
1893
258
  padding: ${props => props.$padding || '0px'};
1894
259
  box-sizing: border-box;
1895
260
  `;
1896
- const H2 = ut.h2 `
261
+ const H2 = styled.h2 `
1897
262
  color: ${Colors.BLACK.Hex};
1898
263
  font-size: 24px;
1899
264
  font-weight: ${props => (props.$bold ? '500' : '400')};
@@ -1903,7 +268,7 @@ const H2 = ut.h2 `
1903
268
  padding: ${props => props.$padding || '0px'};
1904
269
  box-sizing: border-box;
1905
270
  `;
1906
- const H3 = ut.h3 `
271
+ const H3 = styled.h3 `
1907
272
  color: ${Colors.BLACK.Hex};
1908
273
  font-size: 18px;
1909
274
  font-weight: ${props => (props.$bold ? '500' : '400')};
@@ -1932,7 +297,7 @@ Heading.defaultProps = {
1932
297
  type: 'primary',
1933
298
  };
1934
299
 
1935
- const Wrapper$i = ut.div `
300
+ const Wrapper$i = styled.div `
1936
301
  position: fixed;
1937
302
  top: 0;
1938
303
  right: 0;
@@ -1945,7 +310,7 @@ const Wrapper$i = ut.div `
1945
310
  justify-content: center;
1946
311
  box-sizing: border-box;
1947
312
  `;
1948
- const Container$3 = ut.dialog `
313
+ const Container$4 = styled.dialog `
1949
314
  max-width: 600px;
1950
315
  width: auto;
1951
316
  border-radius: 8px;
@@ -1958,7 +323,7 @@ const Container$3 = ut.dialog `
1958
323
  text-align: center;
1959
324
  box-sizing: border-box;
1960
325
  `;
1961
- const Buttons = ut.div `
326
+ const Buttons$1 = styled.div `
1962
327
  display: flex;
1963
328
  gap: 10px;
1964
329
  align-items: center;
@@ -1969,16 +334,16 @@ const Buttons = ut.div `
1969
334
  const ActionDialog = (_a) => {
1970
335
  var { description, title, primaryButton, secondaryButton, tertiaryButton } = _a, accessibleProps = __rest(_a, ["description", "title", "primaryButton", "secondaryButton", "tertiaryButton"]);
1971
336
  return (React.createElement(Wrapper$i, Object.assign({}, accessibleProps),
1972
- React.createElement(Container$3, { open: true },
337
+ React.createElement(Container$4, { open: true },
1973
338
  title ? (React.createElement(Heading, { margin: '0px 0px 20px 0px', type: 'secondary' }, title)) : null,
1974
339
  description ? React.createElement(Copy, { align: 'center' }, description) : null,
1975
- primaryButton || secondaryButton || tertiaryButton ? (React.createElement(Buttons, null,
340
+ primaryButton || secondaryButton || tertiaryButton ? (React.createElement(Buttons$1, null,
1976
341
  tertiaryButton ? React.createElement(Button, Object.assign({}, tertiaryButton, { format: 'secondary' })) : null,
1977
342
  secondaryButton ? React.createElement(Button, Object.assign({}, secondaryButton, { format: 'secondary' })) : null,
1978
343
  primaryButton ? (React.createElement(Button, Object.assign({}, primaryButton, { format: primaryButton.format === 'red' ? 'red' : 'primary' }))) : null)) : null)));
1979
344
  };
1980
345
 
1981
- const Wrapper$h = ut.div `
346
+ const Wrapper$h = styled.div `
1982
347
  border: 1px solid #f1f1f1;
1983
348
  border-radius: 4px;
1984
349
  border-left-width: 4px;
@@ -1989,10 +354,10 @@ const Wrapper$h = ut.div `
1989
354
  padding: ${({ $small }) => ($small ? '11px' : '20px')};
1990
355
  box-sizing: border-box;
1991
356
  `;
1992
- const StyledIcon$5 = ut(Icon) `
357
+ const StyledIcon$5 = styled(Icon) `
1993
358
  flex-shrink: 0;
1994
359
  `;
1995
- const Action$1 = ut.div `
360
+ const Action$1 = styled.div `
1996
361
  color: ${props => props.theme.PRIMARY_COLOR.Hex};
1997
362
  font-size: ${FontSizes.DEFAULT};
1998
363
  font-family: ${FontStyles.DEFAULT};
@@ -2003,7 +368,7 @@ const Action$1 = ut.div `
2003
368
  Action$1.defaultProps = { theme: EditableTheme };
2004
369
  const Alert = (_a) => {
2005
370
  var { action, type = 'info', title, description, small = false } = _a, accessibleProps = __rest(_a, ["action", "type", "title", "description", "small"]);
2006
- const theme = React.useContext(Ke) || EditableTheme;
371
+ const theme = React.useContext(styled.ThemeContext) || EditableTheme;
2007
372
  const type_mapping = {
2008
373
  info: {
2009
374
  color: theme.PRIMARY_COLOR.Hex,
@@ -2030,7 +395,78 @@ const Alert = (_a) => {
2030
395
  action && !small ? React.createElement(Action$1, { onClick: action.onClick }, action.label) : null)));
2031
396
  };
2032
397
 
2033
- const Wrapper$g = ut.div `
398
+ const colorMapping = {
399
+ black: {
400
+ fill_1: '#000000',
401
+ fill_2: '#000000',
402
+ fill_3: '#000000',
403
+ },
404
+ white: {
405
+ fill_1: '#ffffff',
406
+ fill_2: '#ffffff',
407
+ fill_3: '#ffffff',
408
+ },
409
+ full: {
410
+ fill_1: '#000000',
411
+ fill_2: '#E82425',
412
+ fill_3: '#E82425',
413
+ },
414
+ reversed: {
415
+ fill_1: '#ffffff',
416
+ fill_2: '#E82425',
417
+ fill_3: '#E82425',
418
+ },
419
+ };
420
+ const Logo = (_a) => {
421
+ var { type = 'standard_full', height = '50px' } = _a, accessibleProps = __rest(_a, ["type", "height"]);
422
+ const type_parts = type.split('_');
423
+ switch (type_parts[0]) {
424
+ case 'mark':
425
+ return (React.createElement("svg", Object.assign({ fill: 'none', height: height, viewBox: '0 0 58 51', width: '100%', xmlns: 'http://www.w3.org/2000/svg' }, accessibleProps),
426
+ React.createElement("path", { d: 'M43.9348 -1.14441e-05H13.3724L0 25.2376L7.27148 38.0136L14.1215 50.0487H43.1856L57.3077 25.2376L43.9348 -1.14441e-05ZM38.206 9.49903L46.459 25.0743L37.6507 40.5497H19.6567L15.5417 33.3199L10.8487 25.0743L19.1013 9.49903H38.206Z', fill: type_parts[1] })));
427
+ default:
428
+ return (React.createElement("svg", Object.assign({ fill: 'none', height: height, preserveAspectRatio: 'xMidYMid meet', viewBox: '0 0 236 50', width: '100%', xmlns: 'http://www.w3.org/2000/svg' }, accessibleProps),
429
+ React.createElement("path", { d: 'M230.794 29.59H219.306L214.279 39.0907L217.012 43.9001L219.587 48.4308H230.512L235.821 39.0907L230.794 29.59V29.59ZM228.641 33.1659L231.743 39.0292L228.432 44.8549H221.668L220.121 42.1332L218.356 39.0292L221.459 33.1659H228.641Z', fill: colorMapping[type_parts[1]].fill_3 }),
430
+ React.createElement("path", { d: 'M211.662 42.6033L199.206 42.6319C196.339 42.6319 193.862 41.6095 191.846 39.5923C189.828 37.5755 188.805 35.0985 188.805 32.2321C188.805 29.3656 189.828 26.8886 191.846 24.8718C193.848 22.8332 196.325 21.7975 199.206 21.7975C202.072 21.7975 204.549 22.8199 206.566 24.8374C207.613 25.8847 208.391 27.093 208.944 28.5312L209.253 29.3327H197.87L196.325 32.2579L197.921 35.0969H211.458L215.015 28.6192C214.296 25.5702 212.835 22.9293 210.672 20.7657C207.531 17.6257 203.674 16.0333 199.206 16.0333C194.737 16.0333 190.88 17.6257 187.739 20.7657C184.555 23.9501 183.007 27.7011 183.007 32.2321C183.007 36.7001 184.599 40.5577 187.739 43.6981C190.88 46.8384 194.737 48.4308 199.206 48.4308H210.095L214.745 48.3297L211.662 42.6033', fill: colorMapping[type_parts[1]].fill_1 }),
431
+ React.createElement("path", { d: 'M160.945 19.133L158.826 20.8384C155.734 23.9359 154.141 27.8058 154.141 32.2967L154.141 47.7903L156.985 49.407L159.939 47.8778L159.94 32.2967C159.94 29.6632 160.778 27.3706 162.432 25.4846C162.615 25.2739 162.811 25.0666 163.018 24.8639C163.074 24.8155 164.138 24.0061 164.811 23.5592C166.321 22.5576 168.076 21.9876 170.024 21.8632L170.166 21.8621C172.923 21.8621 175.32 22.7325 177.301 24.4494L180.146 23.0088L180.246 19.3426C177.44 17.1664 174.132 16.0633 170.408 16.0633C166.909 16.0633 163.725 17.0962 160.945 19.133', fill: colorMapping[type_parts[1]].fill_1 }),
432
+ React.createElement("path", { d: 'M131.392 50C135.884 50 139.753 48.4076 142.893 45.2676C146.033 42.1269 147.626 38.2581 147.626 33.7668V18.1124L144.782 16.4964L141.827 18.0251V33.7668C141.827 36.6932 140.792 39.1936 138.745 41.2034C136.684 43.1927 134.128 44.2013 131.151 44.2013L131.01 44.2002H131.81L131.669 44.2013C128.692 44.2013 126.136 43.1927 124.074 41.2034C122.028 39.1936 120.993 36.6932 120.993 33.7668V18.0251L118.038 16.4964L115.194 18.1124V33.7668C115.194 38.2581 116.786 42.1269 119.926 45.2676C123.067 48.4076 126.936 50 131.427 50H131.392Z', fill: colorMapping[type_parts[1]].fill_1 }),
433
+ React.createElement("path", { d: 'M93.8353 26.9933L97.8468 31.2421L100.788 28.1521L107.791 20.4534L106.753 17.3567L103.584 16.5678', fill: colorMapping[type_parts[1]].fill_2 }),
434
+ React.createElement("path", { d: 'M80.7509 16.5677L77.5821 17.3564L76.5441 20.4534L83.5514 28.1568L88.1484 32.9862L76.5412 45.2133L77.5187 48.3175C79.525 48.9571 80.359 49.1805 80.6985 49.2584L92.195 37.238L103.636 49.2584C103.976 49.1805 104.81 48.9571 106.817 48.3175L107.794 45.2133L80.7509 16.5677', fill: colorMapping[type_parts[1]].fill_1 }),
435
+ React.createElement("path", { d: 'M67.8498 45.479C67.5109 44.893 66.7322 43.5486 66.2043 42.6319H55.1965C52.3299 42.6319 49.8532 41.6095 47.8364 39.5923C45.819 37.5755 44.7966 35.0985 44.7966 32.2321C44.7966 29.3656 45.819 26.8886 47.8364 24.8718C49.8388 22.8332 52.316 21.7975 55.1965 21.7975C58.0632 21.7975 60.5398 22.8199 62.5565 24.8374C63.6038 25.8847 64.3824 27.093 64.9357 28.5312L65.2435 29.3327H53.8141C53.231 30.2171 52.5673 31.6476 52.303 32.2354L53.912 35.0969H67.474L71.0059 28.6192C70.2872 25.5702 68.8261 22.9293 66.6625 20.7657C63.5219 17.6257 59.6649 16.0333 55.1965 16.0333C50.7283 16.0333 46.8708 17.6257 43.7303 20.7657C40.546 23.9501 38.9979 27.7011 38.9979 32.2321C38.9979 36.7001 40.5903 40.5577 43.7303 43.6981C46.8708 46.8384 50.7283 48.4308 55.1965 48.4308H66.0873C66.9322 47.0737 67.5668 45.977 67.8498 45.479', fill: colorMapping[type_parts[1]].fill_1 }),
436
+ React.createElement("path", { d: 'M27.6655 20.7443C26.9235 20.002 26.2307 19.4097 25.608 18.9831C22.7338 17.0113 19.5684 16.0117 16.1992 16.0117C13.6229 16.0117 11.1676 16.5943 8.9002 17.7442C8.1016 18.1264 7.38657 18.6118 6.73074 19.0799L5.88805 19.6819C5.85364 19.711 5.81716 19.7449 5.78223 19.7749L5.77618 17.9067C5.78246 17.9022 5.7892 17.8965 5.79554 17.8921L5.72168 1.52402L2.84058 1.54784e-05L0 1.6145V24.9966V30.8918C0.0184614 30.8508 0.0393993 30.8108 0.0580857 30.7698C0.0216133 31.2417 0 31.7206 0 32.2105V47.6757L2.84688 49.2499C4.7412 48.3293 5.4988 47.9164 5.79866 47.7385V32.2105C5.79866 29.3439 6.82128 26.8672 8.83853 24.8504C10.8415 22.8118 13.319 21.7759 16.1992 21.7759C19.0796 21.7759 21.557 22.8118 23.5635 24.8538C25.3441 26.6351 26.3374 28.7976 26.5963 31.4625C26.6263 31.6669 26.6339 40.3058 26.6339 47.6694C27.2825 48.0147 28.6127 48.8167 29.5141 49.3059C29.9448 49.0814 32.0589 47.8425 32.3979 47.6669V32.2105C32.3979 27.6795 30.8499 23.9285 27.6655 20.7443Z', fill: colorMapping[type_parts[1]].fill_1 })));
437
+ }
438
+ };
439
+
440
+ const Container$3 = styled.header `
441
+ width: 100%;
442
+ display: flex;
443
+ padding: 20px;
444
+ box-sizing: border-box;
445
+ border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
446
+ background: '#fff';
447
+ justify-content: space-between;
448
+ `;
449
+ const LogoWrapper = styled.div `
450
+ display: flex;
451
+ align-items: center;
452
+ `;
453
+ const Image = styled.img `
454
+ height: 30px !important;
455
+ width: auto !important;
456
+ `;
457
+ const Buttons = styled.div `
458
+ display: flex;
459
+ flex-direction: row;
460
+ column-gap: 10px;
461
+ flex-direction: reverse;
462
+ `;
463
+ const AppHeader = ({ logoUrl, buttons = [] }) => {
464
+ return (React.createElement(Container$3, null,
465
+ React.createElement(LogoWrapper, null, logoUrl ? React.createElement(Image, { src: logoUrl }) : React.createElement(Logo, { height: '30px' })),
466
+ React.createElement(Buttons, null, buttons.map(b => (React.createElement(Button, Object.assign({}, b)))))));
467
+ };
468
+
469
+ const Wrapper$g = styled.div `
2034
470
  border: 1px solid ${props => props.theme.PRIMARY_COLOR.Hex};
2035
471
  border-radius: 8px;
2036
472
  box-sizing: border-box;
@@ -2040,27 +476,27 @@ const Wrapper$g = ut.div `
2040
476
  padding: 16px 20px;
2041
477
  `;
2042
478
  Wrapper$g.defaultProps = { theme: EditableTheme };
2043
- const Left = ut.div `
479
+ const Left = styled.div `
2044
480
  box-sizing: border-box;
2045
481
  display: flex;
2046
482
  align-items: center;
2047
483
  justify-content: space-between;
2048
484
  flex-shrink: 0;
2049
485
  `;
2050
- const Info$1 = ut.div `
486
+ const Info$1 = styled.div `
2051
487
  box-sizing: border-box;
2052
488
  display: flex;
2053
489
  align-items: center;
2054
490
  margin-right: 30px;
2055
491
  `;
2056
- const Selected = ut.span `
492
+ const Selected = styled.span `
2057
493
  font-size: 14px;
2058
494
  font-weight: 400;
2059
495
  font-family: ${FontStyles.DEFAULT};
2060
496
  color: ${Colors.BLACK.Hex};
2061
497
  line-height: 1;
2062
498
  `;
2063
- const Clear = ut.span `
499
+ const Clear = styled.span `
2064
500
  font-size: 14px;
2065
501
  font-weight: 400;
2066
502
  font-family: ${FontStyles.DEFAULT};
@@ -2072,13 +508,13 @@ const Clear = ut.span `
2072
508
  border-left: 1px solid #ccc;
2073
509
  `;
2074
510
  Clear.defaultProps = { theme: EditableTheme };
2075
- const Actions$1 = ut.div `
511
+ const Actions$1 = styled.div `
2076
512
  box-sizing: border-box;
2077
513
  display: flex;
2078
514
  align-items: center;
2079
515
  column-gap: 10px;
2080
516
  `;
2081
- const Error$1 = ut.div `
517
+ const Error = styled.div `
2082
518
  box-sizing: border-box;
2083
519
  display: flex;
2084
520
  align-items: center;
@@ -2090,7 +526,7 @@ const Error$1 = ut.div `
2090
526
  overflow: hidden;
2091
527
  margin-left: 30px;
2092
528
  `;
2093
- const ErrorMsg = ut.span `
529
+ const ErrorMsg = styled.span `
2094
530
  font-size: 14px;
2095
531
  font-weight: 500;
2096
532
  font-family: ${FontStyles.DEFAULT};
@@ -2108,12 +544,12 @@ const BulkActionBar = (_a) => {
2108
544
  " Selected"),
2109
545
  onClear ? React.createElement(Clear, { onClick: onClear }, "Clear") : null),
2110
546
  React.createElement(Actions$1, null, actions.map((action, i) => (React.createElement(Button, Object.assign({}, action, { key: i, small: true })))))),
2111
- errorMsg ? (React.createElement(Error$1, null,
547
+ errorMsg ? (React.createElement(Error, null,
2112
548
  React.createElement(Icon, { color: Colors.RED.Hex, path: js.mdiInformationOutline, size: '20px' }),
2113
549
  React.createElement(ErrorMsg, null, errorMsg))) : null));
2114
550
  };
2115
551
 
2116
- const Wrapper$f = ut.div `
552
+ const Wrapper$f = styled.div `
2117
553
  background: #fff;
2118
554
  border-radius: 8px;
2119
555
  box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
@@ -2124,7 +560,7 @@ const Wrapper$f = ut.div `
2124
560
  padding: 10px;
2125
561
  width: 200px;
2126
562
  `;
2127
- const MenuItem = ut.div `
563
+ const MenuItem = styled.div `
2128
564
  align-items: center;
2129
565
  border-radius: 8px;
2130
566
  border: 1px solid transparent;
@@ -2143,7 +579,7 @@ const MenuItem = ut.div `
2143
579
  }
2144
580
  `;
2145
581
  MenuItem.defaultProps = { theme: EditableTheme };
2146
- const Title$1 = ut.span `
582
+ const Title$1 = styled.span `
2147
583
  font-family: Roboto;
2148
584
  font-size: 14px;
2149
585
  font-weight: 400;
@@ -2161,11 +597,11 @@ const MoreMenu = (_a) => {
2161
597
  })));
2162
598
  };
2163
599
 
2164
- const Wrapper$e = ut.div `
600
+ const Wrapper$e = styled.div `
2165
601
  position: relative;
2166
602
  display: inline-block;
2167
603
  `;
2168
- const StyledMoreMenu = ut(MoreMenu) `
604
+ const StyledMoreMenu = styled(MoreMenu) `
2169
605
  position: absolute;
2170
606
  right: ${props => (props.$position === 'right' ? '0px' : 'auto')};
2171
607
  left: ${props => (props.$position === 'left' ? '0px' : 'auto')};
@@ -2180,7 +616,7 @@ const ButtonMenu = ({ disabled, label, maxHeight, menuItems, small, position = '
2180
616
  show_menu ? (React.createElement(StyledMoreMenu, { "$menuWidth": menuWidth, "$position": position, "$small": small, maxHeight: maxHeight, menuItems: menuItems })) : null));
2181
617
  };
2182
618
 
2183
- const Wrapper$d = ut.label `
619
+ const Wrapper$d = styled.label `
2184
620
  border-radius: 4px;
2185
621
  padding: 4px 0px 4px 6px;
2186
622
  margin-left: -6px;
@@ -2196,13 +632,13 @@ const Wrapper$d = ut.label `
2196
632
  }
2197
633
  `;
2198
634
  Wrapper$d.defaultProps = { theme: EditableTheme };
2199
- const Input$2 = ut.input `
635
+ const Input$2 = styled.input `
2200
636
  font-size: 20px;
2201
637
  margin: 5px 0px 0px 0px;
2202
638
  line-height: 1.1em;
2203
639
  box-sizing: border-box;
2204
640
  `;
2205
- const Label$4 = ut.span `
641
+ const Label$4 = styled.span `
2206
642
  font-family: ${FontStyles.DEFAULT};
2207
643
  font-size: ${FontSizes.DEFAULT};
2208
644
  font-weight: 400;
@@ -2218,12 +654,12 @@ const Checkbox = (_a) => {
2218
654
  children ? React.createElement(Label$4, null, children) : null));
2219
655
  };
2220
656
 
2221
- const SelectAll = ut.div `
657
+ const SelectAll = styled.div `
2222
658
  padding: 8px 12px;
2223
659
  border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
2224
660
  box-sizing: border-box;
2225
661
  `;
2226
- const Options$1 = ut.div `
662
+ const Options$1 = styled.div `
2227
663
  padding: 12px;
2228
664
  box-sizing: border-box;
2229
665
  `;
@@ -2264,325 +700,7 @@ const Checklist = (_a) => {
2264
700
  }))));
2265
701
  };
2266
702
 
2267
- var dayjs_min = {exports: {}};
2268
-
2269
- (function (module, exports) {
2270
- !function (t, e) {
2271
- module.exports = e() ;
2272
- }(commonjsGlobal, function () {
2273
-
2274
- var t = 1e3,
2275
- e = 6e4,
2276
- n = 36e5,
2277
- r = "millisecond",
2278
- i = "second",
2279
- s = "minute",
2280
- u = "hour",
2281
- a = "day",
2282
- o = "week",
2283
- f = "month",
2284
- h = "quarter",
2285
- c = "year",
2286
- d = "date",
2287
- l = "Invalid Date",
2288
- $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,
2289
- y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,
2290
- M = {
2291
- name: "en",
2292
- weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
2293
- months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
2294
- ordinal: function (t) {
2295
- var e = ["th", "st", "nd", "rd"],
2296
- n = t % 100;
2297
- return "[" + t + (e[(n - 20) % 10] || e[n] || e[0]) + "]";
2298
- }
2299
- },
2300
- m = function (t, e, n) {
2301
- var r = String(t);
2302
- return !r || r.length >= e ? t : "" + Array(e + 1 - r.length).join(n) + t;
2303
- },
2304
- v = {
2305
- s: m,
2306
- z: function (t) {
2307
- var e = -t.utcOffset(),
2308
- n = Math.abs(e),
2309
- r = Math.floor(n / 60),
2310
- i = n % 60;
2311
- return (e <= 0 ? "+" : "-") + m(r, 2, "0") + ":" + m(i, 2, "0");
2312
- },
2313
- m: function t(e, n) {
2314
- if (e.date() < n.date()) return -t(n, e);
2315
- var r = 12 * (n.year() - e.year()) + (n.month() - e.month()),
2316
- i = e.clone().add(r, f),
2317
- s = n - i < 0,
2318
- u = e.clone().add(r + (s ? -1 : 1), f);
2319
- return +(-(r + (n - i) / (s ? i - u : u - i)) || 0);
2320
- },
2321
- a: function (t) {
2322
- return t < 0 ? Math.ceil(t) || 0 : Math.floor(t);
2323
- },
2324
- p: function (t) {
2325
- return {
2326
- M: f,
2327
- y: c,
2328
- w: o,
2329
- d: a,
2330
- D: d,
2331
- h: u,
2332
- m: s,
2333
- s: i,
2334
- ms: r,
2335
- Q: h
2336
- }[t] || String(t || "").toLowerCase().replace(/s$/, "");
2337
- },
2338
- u: function (t) {
2339
- return void 0 === t;
2340
- }
2341
- },
2342
- g = "en",
2343
- D = {};
2344
- D[g] = M;
2345
- var p = function (t) {
2346
- return t instanceof _;
2347
- },
2348
- S = function t(e, n, r) {
2349
- var i;
2350
- if (!e) return g;
2351
- if ("string" == typeof e) {
2352
- var s = e.toLowerCase();
2353
- D[s] && (i = s), n && (D[s] = n, i = s);
2354
- var u = e.split("-");
2355
- if (!i && u.length > 1) return t(u[0]);
2356
- } else {
2357
- var a = e.name;
2358
- D[a] = e, i = a;
2359
- }
2360
- return !r && i && (g = i), i || !r && g;
2361
- },
2362
- w = function (t, e) {
2363
- if (p(t)) return t.clone();
2364
- var n = "object" == typeof e ? e : {};
2365
- return n.date = t, n.args = arguments, new _(n);
2366
- },
2367
- O = v;
2368
- O.l = S, O.i = p, O.w = function (t, e) {
2369
- return w(t, {
2370
- locale: e.$L,
2371
- utc: e.$u,
2372
- x: e.$x,
2373
- $offset: e.$offset
2374
- });
2375
- };
2376
- var _ = function () {
2377
- function M(t) {
2378
- this.$L = S(t.locale, null, !0), this.parse(t);
2379
- }
2380
- var m = M.prototype;
2381
- return m.parse = function (t) {
2382
- this.$d = function (t) {
2383
- var e = t.date,
2384
- n = t.utc;
2385
- if (null === e) return new Date(NaN);
2386
- if (O.u(e)) return new Date();
2387
- if (e instanceof Date) return new Date(e);
2388
- if ("string" == typeof e && !/Z$/i.test(e)) {
2389
- var r = e.match($);
2390
- if (r) {
2391
- var i = r[2] - 1 || 0,
2392
- s = (r[7] || "0").substring(0, 3);
2393
- return n ? new Date(Date.UTC(r[1], i, r[3] || 1, r[4] || 0, r[5] || 0, r[6] || 0, s)) : new Date(r[1], i, r[3] || 1, r[4] || 0, r[5] || 0, r[6] || 0, s);
2394
- }
2395
- }
2396
- return new Date(e);
2397
- }(t), this.$x = t.x || {}, this.init();
2398
- }, m.init = function () {
2399
- var t = this.$d;
2400
- this.$y = t.getFullYear(), this.$M = t.getMonth(), this.$D = t.getDate(), this.$W = t.getDay(), this.$H = t.getHours(), this.$m = t.getMinutes(), this.$s = t.getSeconds(), this.$ms = t.getMilliseconds();
2401
- }, m.$utils = function () {
2402
- return O;
2403
- }, m.isValid = function () {
2404
- return !(this.$d.toString() === l);
2405
- }, m.isSame = function (t, e) {
2406
- var n = w(t);
2407
- return this.startOf(e) <= n && n <= this.endOf(e);
2408
- }, m.isAfter = function (t, e) {
2409
- return w(t) < this.startOf(e);
2410
- }, m.isBefore = function (t, e) {
2411
- return this.endOf(e) < w(t);
2412
- }, m.$g = function (t, e, n) {
2413
- return O.u(t) ? this[e] : this.set(n, t);
2414
- }, m.unix = function () {
2415
- return Math.floor(this.valueOf() / 1e3);
2416
- }, m.valueOf = function () {
2417
- return this.$d.getTime();
2418
- }, m.startOf = function (t, e) {
2419
- var n = this,
2420
- r = !!O.u(e) || e,
2421
- h = O.p(t),
2422
- l = function (t, e) {
2423
- var i = O.w(n.$u ? Date.UTC(n.$y, e, t) : new Date(n.$y, e, t), n);
2424
- return r ? i : i.endOf(a);
2425
- },
2426
- $ = function (t, e) {
2427
- return O.w(n.toDate()[t].apply(n.toDate("s"), (r ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e)), n);
2428
- },
2429
- y = this.$W,
2430
- M = this.$M,
2431
- m = this.$D,
2432
- v = "set" + (this.$u ? "UTC" : "");
2433
- switch (h) {
2434
- case c:
2435
- return r ? l(1, 0) : l(31, 11);
2436
- case f:
2437
- return r ? l(1, M) : l(0, M + 1);
2438
- case o:
2439
- var g = this.$locale().weekStart || 0,
2440
- D = (y < g ? y + 7 : y) - g;
2441
- return l(r ? m - D : m + (6 - D), M);
2442
- case a:
2443
- case d:
2444
- return $(v + "Hours", 0);
2445
- case u:
2446
- return $(v + "Minutes", 1);
2447
- case s:
2448
- return $(v + "Seconds", 2);
2449
- case i:
2450
- return $(v + "Milliseconds", 3);
2451
- default:
2452
- return this.clone();
2453
- }
2454
- }, m.endOf = function (t) {
2455
- return this.startOf(t, !1);
2456
- }, m.$set = function (t, e) {
2457
- var n,
2458
- o = O.p(t),
2459
- h = "set" + (this.$u ? "UTC" : ""),
2460
- l = (n = {}, n[a] = h + "Date", n[d] = h + "Date", n[f] = h + "Month", n[c] = h + "FullYear", n[u] = h + "Hours", n[s] = h + "Minutes", n[i] = h + "Seconds", n[r] = h + "Milliseconds", n)[o],
2461
- $ = o === a ? this.$D + (e - this.$W) : e;
2462
- if (o === f || o === c) {
2463
- var y = this.clone().set(d, 1);
2464
- y.$d[l]($), y.init(), this.$d = y.set(d, Math.min(this.$D, y.daysInMonth())).$d;
2465
- } else l && this.$d[l]($);
2466
- return this.init(), this;
2467
- }, m.set = function (t, e) {
2468
- return this.clone().$set(t, e);
2469
- }, m.get = function (t) {
2470
- return this[O.p(t)]();
2471
- }, m.add = function (r, h) {
2472
- var d,
2473
- l = this;
2474
- r = Number(r);
2475
- var $ = O.p(h),
2476
- y = function (t) {
2477
- var e = w(l);
2478
- return O.w(e.date(e.date() + Math.round(t * r)), l);
2479
- };
2480
- if ($ === f) return this.set(f, this.$M + r);
2481
- if ($ === c) return this.set(c, this.$y + r);
2482
- if ($ === a) return y(1);
2483
- if ($ === o) return y(7);
2484
- var M = (d = {}, d[s] = e, d[u] = n, d[i] = t, d)[$] || 1,
2485
- m = this.$d.getTime() + r * M;
2486
- return O.w(m, this);
2487
- }, m.subtract = function (t, e) {
2488
- return this.add(-1 * t, e);
2489
- }, m.format = function (t) {
2490
- var e = this,
2491
- n = this.$locale();
2492
- if (!this.isValid()) return n.invalidDate || l;
2493
- var r = t || "YYYY-MM-DDTHH:mm:ssZ",
2494
- i = O.z(this),
2495
- s = this.$H,
2496
- u = this.$m,
2497
- a = this.$M,
2498
- o = n.weekdays,
2499
- f = n.months,
2500
- h = function (t, n, i, s) {
2501
- return t && (t[n] || t(e, r)) || i[n].slice(0, s);
2502
- },
2503
- c = function (t) {
2504
- return O.s(s % 12 || 12, t, "0");
2505
- },
2506
- d = n.meridiem || function (t, e, n) {
2507
- var r = t < 12 ? "AM" : "PM";
2508
- return n ? r.toLowerCase() : r;
2509
- },
2510
- $ = {
2511
- YY: String(this.$y).slice(-2),
2512
- YYYY: O.s(this.$y, 4, "0"),
2513
- M: a + 1,
2514
- MM: O.s(a + 1, 2, "0"),
2515
- MMM: h(n.monthsShort, a, f, 3),
2516
- MMMM: h(f, a),
2517
- D: this.$D,
2518
- DD: O.s(this.$D, 2, "0"),
2519
- d: String(this.$W),
2520
- dd: h(n.weekdaysMin, this.$W, o, 2),
2521
- ddd: h(n.weekdaysShort, this.$W, o, 3),
2522
- dddd: o[this.$W],
2523
- H: String(s),
2524
- HH: O.s(s, 2, "0"),
2525
- h: c(1),
2526
- hh: c(2),
2527
- a: d(s, u, !0),
2528
- A: d(s, u, !1),
2529
- m: String(u),
2530
- mm: O.s(u, 2, "0"),
2531
- s: String(this.$s),
2532
- ss: O.s(this.$s, 2, "0"),
2533
- SSS: O.s(this.$ms, 3, "0"),
2534
- Z: i
2535
- };
2536
- return r.replace(y, function (t, e) {
2537
- return e || $[t] || i.replace(":", "");
2538
- });
2539
- }, m.utcOffset = function () {
2540
- return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
2541
- }, m.diff = function (r, d, l) {
2542
- var $,
2543
- y = O.p(d),
2544
- M = w(r),
2545
- m = (M.utcOffset() - this.utcOffset()) * e,
2546
- v = this - M,
2547
- g = O.m(this, M);
2548
- return g = ($ = {}, $[c] = g / 12, $[f] = g, $[h] = g / 3, $[o] = (v - m) / 6048e5, $[a] = (v - m) / 864e5, $[u] = v / n, $[s] = v / e, $[i] = v / t, $)[y] || v, l ? g : O.a(g);
2549
- }, m.daysInMonth = function () {
2550
- return this.endOf(f).$D;
2551
- }, m.$locale = function () {
2552
- return D[this.$L];
2553
- }, m.locale = function (t, e) {
2554
- if (!t) return this.$L;
2555
- var n = this.clone(),
2556
- r = S(t, e, !0);
2557
- return r && (n.$L = r), n;
2558
- }, m.clone = function () {
2559
- return O.w(this.$d, this);
2560
- }, m.toDate = function () {
2561
- return new Date(this.valueOf());
2562
- }, m.toJSON = function () {
2563
- return this.isValid() ? this.toISOString() : null;
2564
- }, m.toISOString = function () {
2565
- return this.$d.toISOString();
2566
- }, m.toString = function () {
2567
- return this.$d.toUTCString();
2568
- }, M;
2569
- }(),
2570
- T = _.prototype;
2571
- return w.prototype = T, [["$ms", r], ["$s", i], ["$m", s], ["$H", u], ["$W", a], ["$M", f], ["$y", c], ["$D", d]].forEach(function (t) {
2572
- T[t[1]] = function (e) {
2573
- return this.$g(e, t[0], t[1]);
2574
- };
2575
- }), w.extend = function (t, e) {
2576
- return t.$i || (t(e, _, w), t.$i = !0), w;
2577
- }, w.locale = S, w.isDayjs = p, w.unix = function (t) {
2578
- return w(1e3 * t);
2579
- }, w.en = D[g], w.Ls = D, w.p = {}, w;
2580
- });
2581
- })(dayjs_min);
2582
- var dayjs_minExports = dayjs_min.exports;
2583
- var dayjs = /*@__PURE__*/getDefaultExportFromCjs(dayjs_minExports);
2584
-
2585
- const Wrapper$c = ut.div `
703
+ const Wrapper$c = styled.div `
2586
704
  border-radius: 4px;
2587
705
  height: 40px;
2588
706
  background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
@@ -2604,7 +722,7 @@ const Wrapper$c = ut.div `
2604
722
  }
2605
723
  `;
2606
724
  Wrapper$c.defaultProps = { theme: EditableTheme };
2607
- const Trigger$1 = ut.select `
725
+ const Trigger$1 = styled.select `
2608
726
  appearance: none;
2609
727
  box-shadow: none;
2610
728
  outline: none;
@@ -2624,7 +742,7 @@ const Trigger$1 = ut.select `
2624
742
  position: relative;
2625
743
  z-index: 2;
2626
744
  `;
2627
- const IconWrapper$2 = ut(Icon) `
745
+ const IconWrapper$2 = styled(Icon) `
2628
746
  position: absolute;
2629
747
  right: 9px;
2630
748
  z-index: 1;
@@ -2647,11 +765,11 @@ const Select = (_a) => {
2647
765
  React.createElement(IconWrapper$2, { color: Colors.BLACK.Hex, path: js.mdiChevronDown, size: '22px' })));
2648
766
  };
2649
767
 
2650
- const DatePickerWrapper = ut.div `
768
+ const DatePickerWrapper = styled.div `
2651
769
  display: flex;
2652
770
  width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
2653
771
  `;
2654
- const Middle = ut.div `
772
+ const Middle = styled.div `
2655
773
  margin: 0px -1px;
2656
774
  flex-grow: 1;
2657
775
  `;
@@ -2717,7 +835,7 @@ const DatePicker = ({ readOnly = false, invalid = false, maxDate = null, minDate
2717
835
  React.createElement(Select, { invalid: invalid, onChange: handleYearChange, options: years, readOnly: readOnly, style: { borderRadius: '0px 4px 4px 0px', flexGrow: 2 }, value: dDate.format('YYYY') }))));
2718
836
  };
2719
837
 
2720
- const Scrim$1 = ut.div `
838
+ const Scrim$1 = styled.div `
2721
839
  position: ${({ $position }) => $position};
2722
840
  top: 0;
2723
841
  right: 0;
@@ -2726,7 +844,7 @@ const Scrim$1 = ut.div `
2726
844
  z-index: ${({ $position }) => ($position === 'fixed' ? 9998 : 10)};
2727
845
  background: ${({ $scrim }) => ($scrim === 'dark' ? 'rgba(0,0,0,0.8)' : 'transparent')};
2728
846
  `;
2729
- const Container$2 = ut.div `
847
+ const Container$2 = styled.div `
2730
848
  z-index: ${({ $position }) => ($position === 'fixed' ? 9999 : 11)};
2731
849
  min-width: 400px;
2732
850
  width: ${({ $width }) => $width || '400px'};
@@ -2744,7 +862,7 @@ const Container$2 = ut.div `
2744
862
  box-sizing: border-box;
2745
863
  background: #fff;
2746
864
  `;
2747
- const Header$2 = ut.div `
865
+ const Header$2 = styled.div `
2748
866
  padding: 30px 20px;
2749
867
  display: flex;
2750
868
  align-items: flex-start;
@@ -2752,21 +870,21 @@ const Header$2 = ut.div `
2752
870
  flex-shrink: 0;
2753
871
  background: #fff;
2754
872
  `;
2755
- const Close$1 = ut.div `
873
+ const Close$1 = styled.div `
2756
874
  margin-left: auto;
2757
875
  display: flex;
2758
876
  align-items: center;
2759
877
  padding-left: 20px;
2760
878
  cursor: pointer;
2761
879
  `;
2762
- const ContentWrapper$1 = ut.div `
880
+ const ContentWrapper$1 = styled.div `
2763
881
  overflow-x: hidden;
2764
882
  overflow-y: auto;
2765
883
  box-sizing: border-box;
2766
884
  flex: 1;
2767
885
  background: #fff;
2768
886
  `;
2769
- const ButtonBar$1 = ut.div `
887
+ const ButtonBar$1 = styled.div `
2770
888
  padding: 20px;
2771
889
  display: flex;
2772
890
  align-items: center;
@@ -2804,12 +922,12 @@ const Drawer = (_a) => {
2804
922
  scrim ? React.createElement(Scrim$1, { "$position": position, "$scrim": scrim, onClick: onClose }) : null));
2805
923
  };
2806
924
 
2807
- const Wrapper$b = ut.div `
925
+ const Wrapper$b = styled.div `
2808
926
  display: inline-block;
2809
927
  position: relative;
2810
928
  height: 16px;
2811
929
  `;
2812
- const StyledIcon$4 = ut(Icon) `
930
+ const StyledIcon$4 = styled(Icon) `
2813
931
  width: 16px;
2814
932
  height: 16px;
2815
933
  margin: 0px 6px;
@@ -2845,7 +963,7 @@ const positions = {
2845
963
  transform: 'translateY(-50%)',
2846
964
  },
2847
965
  };
2848
- const Content$3 = ut.div(props => (Object.assign({ position: 'absolute', borderRadius: '4px', borderWidth: '1px', borderStyle: 'solid', borderColor: props.theme.PRIMARY_COLOR.Hex, background: '#ffffff', boxShadow: '0px 5px 30px -10px rgba(0, 0, 0, 0.5)', width: props.$width || '240px', padding: '10px 12px', zIndex: 10 }, positions[props.$position])));
966
+ const Content$3 = styled.div(props => (Object.assign({ position: 'absolute', borderRadius: '4px', borderWidth: '1px', borderStyle: 'solid', borderColor: props.theme.PRIMARY_COLOR.Hex, background: '#ffffff', boxShadow: '0px 5px 30px -10px rgba(0, 0, 0, 0.5)', width: props.$width || '240px', padding: '10px 12px', zIndex: 10 }, positions[props.$position])));
2849
967
  Content$3.defaultProps = { theme: EditableTheme };
2850
968
  const Tooltip = ({ children, position = 'right-top', width = '240px', trigger, }) => {
2851
969
  const [show_content, toggleContent] = React.useState(false);
@@ -2854,15 +972,15 @@ const Tooltip = ({ children, position = 'right-top', width = '240px', trigger, }
2854
972
  show_content ? (React.createElement(Content$3, { "$position": position, "$width": width }, children && React.createElement(Copy, { type: 'small' }, children))) : null));
2855
973
  };
2856
974
 
2857
- const Wrapper$a = ut.div(props => (Object.assign({ margin: '0px 0px 18px 0px' }, props.style)));
2858
- const LabelRow = ut.div `
975
+ const Wrapper$a = styled.div(props => (Object.assign({ margin: '0px 0px 18px 0px' }, props.style)));
976
+ const LabelRow = styled.div `
2859
977
  display: flex;
2860
978
  align-items: center;
2861
979
  justify-content: space-between;
2862
980
  margin: 0 0 4px 0;
2863
981
  box-sizing: border-box;
2864
982
  `;
2865
- const Label$3 = ut.label `
983
+ const Label$3 = styled.label `
2866
984
  font-size: ${FontSizes.DEFAULT};
2867
985
  font-weight: 500;
2868
986
  line-height: 1em;
@@ -2871,11 +989,11 @@ const Label$3 = ut.label `
2871
989
  display: flex;
2872
990
  align-items: center;
2873
991
  `;
2874
- const Required = ut.span `
992
+ const Required = styled.span `
2875
993
  color: ${Colors.RED.Hex};
2876
994
  margin-left: 4px;
2877
995
  `;
2878
- const Action = ut.span `
996
+ const Action = styled.span `
2879
997
  font-size: ${FontSizes.DEFAULT};
2880
998
  font-weight: 500;
2881
999
  line-height: 1em;
@@ -2884,7 +1002,7 @@ const Action = ut.span `
2884
1002
  cursor: pointer;
2885
1003
  `;
2886
1004
  Action.defaultProps = { theme: EditableTheme };
2887
- const Description = ut.div `
1005
+ const Description = styled.div `
2888
1006
  font-size: ${FontSizes.SMALL};
2889
1007
  font-weight: 400;
2890
1008
  line-height: 1.3em;
@@ -2893,7 +1011,7 @@ const Description = ut.div `
2893
1011
  margin: 0 0 8px 0;
2894
1012
  box-sizing: border-box;
2895
1013
  `;
2896
- const Validation = ut.div `
1014
+ const Validation = styled.div `
2897
1015
  font-size: ${FontSizes.SMALL};
2898
1016
  font-weight: 400;
2899
1017
  line-height: 1.3em;
@@ -2916,7 +1034,7 @@ const Field = (_a) => {
2916
1034
  validationText ? React.createElement(Validation, null, validationText) : null));
2917
1035
  };
2918
1036
 
2919
- const Wrapper$9 = ut.fieldset `
1037
+ const Wrapper$9 = styled.fieldset `
2920
1038
  margin-inline-start: 0px;
2921
1039
  margin-inline-end: 0px;
2922
1040
  padding-block-start: 0px;
@@ -2929,7 +1047,7 @@ const Wrapper$9 = ut.fieldset `
2929
1047
  border-color: transparent;
2930
1048
  border-image: none;
2931
1049
  `;
2932
- const Label$2 = ut.legend `
1050
+ const Label$2 = styled.legend `
2933
1051
  padding-inline-start: 0px;
2934
1052
  padding-inline-end: 0px;
2935
1053
 
@@ -2940,7 +1058,7 @@ const Label$2 = ut.legend `
2940
1058
  line-height: 22px;
2941
1059
  margin-bottom: 6px;
2942
1060
  `;
2943
- const Content$2 = ut.div `
1061
+ const Content$2 = styled.div `
2944
1062
  padding: 20px;
2945
1063
  border-radius: 8px;
2946
1064
  background: #fcfcfc;
@@ -2951,7 +1069,7 @@ const FieldGroup = ({ children, label }) => {
2951
1069
  React.createElement(Content$2, null, children)));
2952
1070
  };
2953
1071
 
2954
- const Dropzone = ut.div `
1072
+ const Dropzone = styled.div `
2955
1073
  border-radius: 8px;
2956
1074
  border-width: 1px;
2957
1075
  border-style: dashed;
@@ -2960,7 +1078,7 @@ const Dropzone = ut.div `
2960
1078
  cursor: copy;
2961
1079
  `;
2962
1080
  Dropzone.defaultProps = { theme: EditableTheme };
2963
- const IconWrapper$1 = ut.div `
1081
+ const IconWrapper$1 = styled.div `
2964
1082
  width: 80px;
2965
1083
  height: 80px;
2966
1084
  border-radius: 40px;
@@ -2969,7 +1087,7 @@ const IconWrapper$1 = ut.div `
2969
1087
  align-items: center;
2970
1088
  justify-content: center;
2971
1089
  `;
2972
- const StyledIcon$3 = ut(Icon) `
1090
+ const StyledIcon$3 = styled(Icon) `
2973
1091
  width: 40px !important;
2974
1092
  height: 40px !important;
2975
1093
 
@@ -2977,27 +1095,27 @@ const StyledIcon$3 = ut(Icon) `
2977
1095
  fill: ${Colors.GRAY.Hex} !important;
2978
1096
  }
2979
1097
  `;
2980
- const ClickZone = ut.div `
1098
+ const ClickZone = styled.div `
2981
1099
  margin: 40px 20px;
2982
1100
  display: flex;
2983
1101
  flex-direction: column;
2984
1102
  align-items: center;
2985
1103
  gap: 16px;
2986
1104
  `;
2987
- const Content$1 = ut.div `
1105
+ const Content$1 = styled.div `
2988
1106
  display: flex;
2989
1107
  flex-direction: column;
2990
1108
  align-items: center;
2991
1109
  gap: 2px;
2992
1110
  `;
2993
- const Files = ut.div `
1111
+ const Files = styled.div `
2994
1112
  display: flex;
2995
1113
  flex-direction: column;
2996
1114
  align-self: stretch;
2997
1115
  gap: 10px;
2998
1116
  margin: 20px;
2999
1117
  `;
3000
- const File = ut.div `
1118
+ const File = styled.div `
3001
1119
  display: flex;
3002
1120
  padding: 10px;
3003
1121
  align-items: center;
@@ -3007,7 +1125,7 @@ const File = ut.div `
3007
1125
  border: 1px solid #cccccc;
3008
1126
  background: #ffffff;
3009
1127
  `;
3010
- const Remove$1 = ut(Icon) `
1128
+ const Remove$1 = styled(Icon) `
3011
1129
  width: 24px;
3012
1130
  height: 24px;
3013
1131
  cursor: pointer;
@@ -3201,7 +1319,7 @@ const formatAsSsn = (number) => {
3201
1319
  return formatted_value;
3202
1320
  };
3203
1321
 
3204
- const StyledInput = ut.input `
1322
+ const StyledInput = styled.input `
3205
1323
  border: none !important;
3206
1324
  background: none !important;
3207
1325
  font-size: ${FontSizes.DEFAULT};
@@ -3222,7 +1340,7 @@ const StyledInput = ut.input `
3222
1340
  display: block;
3223
1341
  width: 100%;
3224
1342
  `;
3225
- const StyledSuffix = ut.div `
1343
+ const StyledSuffix = styled.div `
3226
1344
  box-sizing: border-box;
3227
1345
  border-radius: 0px 4px 4px 0px;
3228
1346
  display: flex;
@@ -3240,7 +1358,7 @@ const StyledSuffix = ut.div `
3240
1358
  font-size: ${FontSizes.DEFAULT};
3241
1359
  color: Colors.BLACK.Hex;
3242
1360
  `;
3243
- const StyledWrapper = ut.div `
1361
+ const StyledWrapper = styled.div `
3244
1362
  display: flex;
3245
1363
  width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
3246
1364
  background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
@@ -3255,7 +1373,7 @@ const StyledWrapper = ut.div `
3255
1373
  }
3256
1374
  `;
3257
1375
  StyledWrapper.defaultProps = { theme: EditableTheme };
3258
- const StyledTextarea = ut.textarea `
1376
+ const StyledTextarea = styled.textarea `
3259
1377
  background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
3260
1378
  border-radius: 4px;
3261
1379
  border-width: 1px;
@@ -3284,7 +1402,7 @@ const StyledTextarea = ut.textarea `
3284
1402
  }
3285
1403
  `;
3286
1404
  StyledTextarea.defaultProps = { theme: EditableTheme };
3287
- const SuggestedValues = ut.div `
1405
+ const SuggestedValues = styled.div `
3288
1406
  background: #fff;
3289
1407
  box-shadow: 0px 5px 30px -15px rgba(0, 0, 0, 0.2);
3290
1408
  border-color: ${props => props.theme.PRIMARY_COLOR.Hex};
@@ -3301,7 +1419,7 @@ const SuggestedValues = ut.div `
3301
1419
  overflow: auto;
3302
1420
  `;
3303
1421
  SuggestedValues.defaultProps = { theme: EditableTheme };
3304
- const SuggestedSummary = ut.div `
1422
+ const SuggestedSummary = styled.div `
3305
1423
  color: ${Colors.MEDIUM_GRAY.Hex};
3306
1424
  font-size: 12px;
3307
1425
  font-family: ${FontStyles.DEFAULT};
@@ -3314,7 +1432,7 @@ const SuggestedSummary = ut.div `
3314
1432
  position: sticky;
3315
1433
  top: 0px;
3316
1434
  `;
3317
- const SuggestedValue = ut.div `
1435
+ const SuggestedValue = styled.div `
3318
1436
  cursor: pointer;
3319
1437
  padding: 8px 12px;
3320
1438
  font-size: ${FontSizes.DEFAULT};
@@ -3387,7 +1505,7 @@ const Input$1 = (_a) => {
3387
1505
  }))) : null));
3388
1506
  };
3389
1507
 
3390
- const Wrapper$8 = ut.a `
1508
+ const Wrapper$8 = styled.a `
3391
1509
  color: ${props => props.theme.PRIMARY_COLOR.Hex};
3392
1510
  font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
3393
1511
  line-height: ${props => (props.$small ? '1.5em' : '1.6em')};
@@ -3407,7 +1525,7 @@ const Link = (_a) => {
3407
1525
  return (React.createElement(Wrapper$8, Object.assign({ "$small": small, onClick: onClick }, accessibleProps), children));
3408
1526
  };
3409
1527
 
3410
- const dash = ht `
1528
+ const dash = styled.keyframes `
3411
1529
  0% {
3412
1530
  stroke-dasharray: 1, 160;
3413
1531
  stroke-dashoffset: 0;
@@ -3421,7 +1539,7 @@ const dash = ht `
3421
1539
  stroke-dashoffset: -124;
3422
1540
  }
3423
1541
  `;
3424
- const Spinner = ut.svg `
1542
+ const Spinner = styled.svg `
3425
1543
  z-index: 2;
3426
1544
  position: absolute;
3427
1545
  top: 50%;
@@ -3430,7 +1548,7 @@ const Spinner = ut.svg `
3430
1548
  width: 40px;
3431
1549
  height: 40px;
3432
1550
  `;
3433
- const Path = ut.path `
1551
+ const Path = styled.path `
3434
1552
  stroke: #0193d7;
3435
1553
  stroke-linecap: round;
3436
1554
  -webkit-animation: ${dash} 1.1s ease-in-out infinite;
@@ -3441,49 +1559,7 @@ const Loader = () => {
3441
1559
  React.createElement(Path, { d: 'M7.21487 1.2868C7.88431 0.9044 8.73031 0.9044 9.39974 1.2868L9.40283 1.28856L14.4613 4.20761C15.1684 4.598 15.5746 5.33558 15.5746 6.11465V8.99996V11.8853C15.5746 12.6507 15.1632 13.3848 14.4617 13.7721L9.37973 16.7132C8.71029 17.0956 7.86428 17.0956 7.19485 16.7132L7.19088 16.7109L2.11279 13.772C1.40602 13.3816 1 12.6441 1 11.8653V8.98995V6.11465C1 5.31458 1.44381 4.59039 2.10827 4.21051L7.21487 1.2868Z', fill: 'none', strokeWidth: '2' })));
3442
1560
  };
3443
1561
 
3444
- const colorMapping = {
3445
- black: {
3446
- fill_1: '#000000',
3447
- fill_2: '#000000',
3448
- fill_3: '#000000',
3449
- },
3450
- white: {
3451
- fill_1: '#ffffff',
3452
- fill_2: '#ffffff',
3453
- fill_3: '#ffffff',
3454
- },
3455
- full: {
3456
- fill_1: '#000000',
3457
- fill_2: '#E82425',
3458
- fill_3: '#E82425',
3459
- },
3460
- reversed: {
3461
- fill_1: '#ffffff',
3462
- fill_2: '#E82425',
3463
- fill_3: '#E82425',
3464
- },
3465
- };
3466
- const Logo = (_a) => {
3467
- var { type = 'standard_full', height = '50px' } = _a, accessibleProps = __rest(_a, ["type", "height"]);
3468
- const type_parts = type.split('_');
3469
- switch (type_parts[0]) {
3470
- case 'mark':
3471
- return (React.createElement("svg", Object.assign({ fill: 'none', height: height, viewBox: '0 0 58 51', width: '100%', xmlns: 'http://www.w3.org/2000/svg' }, accessibleProps),
3472
- React.createElement("path", { d: 'M43.9348 -1.14441e-05H13.3724L0 25.2376L7.27148 38.0136L14.1215 50.0487H43.1856L57.3077 25.2376L43.9348 -1.14441e-05ZM38.206 9.49903L46.459 25.0743L37.6507 40.5497H19.6567L15.5417 33.3199L10.8487 25.0743L19.1013 9.49903H38.206Z', fill: type_parts[1] })));
3473
- default:
3474
- return (React.createElement("svg", Object.assign({ fill: 'none', height: height, preserveAspectRatio: 'xMidYMid meet', viewBox: '0 0 236 50', width: '100%', xmlns: 'http://www.w3.org/2000/svg' }, accessibleProps),
3475
- React.createElement("path", { d: 'M230.794 29.59H219.306L214.279 39.0907L217.012 43.9001L219.587 48.4308H230.512L235.821 39.0907L230.794 29.59V29.59ZM228.641 33.1659L231.743 39.0292L228.432 44.8549H221.668L220.121 42.1332L218.356 39.0292L221.459 33.1659H228.641Z', fill: colorMapping[type_parts[1]].fill_3 }),
3476
- React.createElement("path", { d: 'M211.662 42.6033L199.206 42.6319C196.339 42.6319 193.862 41.6095 191.846 39.5923C189.828 37.5755 188.805 35.0985 188.805 32.2321C188.805 29.3656 189.828 26.8886 191.846 24.8718C193.848 22.8332 196.325 21.7975 199.206 21.7975C202.072 21.7975 204.549 22.8199 206.566 24.8374C207.613 25.8847 208.391 27.093 208.944 28.5312L209.253 29.3327H197.87L196.325 32.2579L197.921 35.0969H211.458L215.015 28.6192C214.296 25.5702 212.835 22.9293 210.672 20.7657C207.531 17.6257 203.674 16.0333 199.206 16.0333C194.737 16.0333 190.88 17.6257 187.739 20.7657C184.555 23.9501 183.007 27.7011 183.007 32.2321C183.007 36.7001 184.599 40.5577 187.739 43.6981C190.88 46.8384 194.737 48.4308 199.206 48.4308H210.095L214.745 48.3297L211.662 42.6033', fill: colorMapping[type_parts[1]].fill_1 }),
3477
- React.createElement("path", { d: 'M160.945 19.133L158.826 20.8384C155.734 23.9359 154.141 27.8058 154.141 32.2967L154.141 47.7903L156.985 49.407L159.939 47.8778L159.94 32.2967C159.94 29.6632 160.778 27.3706 162.432 25.4846C162.615 25.2739 162.811 25.0666 163.018 24.8639C163.074 24.8155 164.138 24.0061 164.811 23.5592C166.321 22.5576 168.076 21.9876 170.024 21.8632L170.166 21.8621C172.923 21.8621 175.32 22.7325 177.301 24.4494L180.146 23.0088L180.246 19.3426C177.44 17.1664 174.132 16.0633 170.408 16.0633C166.909 16.0633 163.725 17.0962 160.945 19.133', fill: colorMapping[type_parts[1]].fill_1 }),
3478
- React.createElement("path", { d: 'M131.392 50C135.884 50 139.753 48.4076 142.893 45.2676C146.033 42.1269 147.626 38.2581 147.626 33.7668V18.1124L144.782 16.4964L141.827 18.0251V33.7668C141.827 36.6932 140.792 39.1936 138.745 41.2034C136.684 43.1927 134.128 44.2013 131.151 44.2013L131.01 44.2002H131.81L131.669 44.2013C128.692 44.2013 126.136 43.1927 124.074 41.2034C122.028 39.1936 120.993 36.6932 120.993 33.7668V18.0251L118.038 16.4964L115.194 18.1124V33.7668C115.194 38.2581 116.786 42.1269 119.926 45.2676C123.067 48.4076 126.936 50 131.427 50H131.392Z', fill: colorMapping[type_parts[1]].fill_1 }),
3479
- React.createElement("path", { d: 'M93.8353 26.9933L97.8468 31.2421L100.788 28.1521L107.791 20.4534L106.753 17.3567L103.584 16.5678', fill: colorMapping[type_parts[1]].fill_2 }),
3480
- React.createElement("path", { d: 'M80.7509 16.5677L77.5821 17.3564L76.5441 20.4534L83.5514 28.1568L88.1484 32.9862L76.5412 45.2133L77.5187 48.3175C79.525 48.9571 80.359 49.1805 80.6985 49.2584L92.195 37.238L103.636 49.2584C103.976 49.1805 104.81 48.9571 106.817 48.3175L107.794 45.2133L80.7509 16.5677', fill: colorMapping[type_parts[1]].fill_1 }),
3481
- React.createElement("path", { d: 'M67.8498 45.479C67.5109 44.893 66.7322 43.5486 66.2043 42.6319H55.1965C52.3299 42.6319 49.8532 41.6095 47.8364 39.5923C45.819 37.5755 44.7966 35.0985 44.7966 32.2321C44.7966 29.3656 45.819 26.8886 47.8364 24.8718C49.8388 22.8332 52.316 21.7975 55.1965 21.7975C58.0632 21.7975 60.5398 22.8199 62.5565 24.8374C63.6038 25.8847 64.3824 27.093 64.9357 28.5312L65.2435 29.3327H53.8141C53.231 30.2171 52.5673 31.6476 52.303 32.2354L53.912 35.0969H67.474L71.0059 28.6192C70.2872 25.5702 68.8261 22.9293 66.6625 20.7657C63.5219 17.6257 59.6649 16.0333 55.1965 16.0333C50.7283 16.0333 46.8708 17.6257 43.7303 20.7657C40.546 23.9501 38.9979 27.7011 38.9979 32.2321C38.9979 36.7001 40.5903 40.5577 43.7303 43.6981C46.8708 46.8384 50.7283 48.4308 55.1965 48.4308H66.0873C66.9322 47.0737 67.5668 45.977 67.8498 45.479', fill: colorMapping[type_parts[1]].fill_1 }),
3482
- React.createElement("path", { d: 'M27.6655 20.7443C26.9235 20.002 26.2307 19.4097 25.608 18.9831C22.7338 17.0113 19.5684 16.0117 16.1992 16.0117C13.6229 16.0117 11.1676 16.5943 8.9002 17.7442C8.1016 18.1264 7.38657 18.6118 6.73074 19.0799L5.88805 19.6819C5.85364 19.711 5.81716 19.7449 5.78223 19.7749L5.77618 17.9067C5.78246 17.9022 5.7892 17.8965 5.79554 17.8921L5.72168 1.52402L2.84058 1.54784e-05L0 1.6145V24.9966V30.8918C0.0184614 30.8508 0.0393993 30.8108 0.0580857 30.7698C0.0216133 31.2417 0 31.7206 0 32.2105V47.6757L2.84688 49.2499C4.7412 48.3293 5.4988 47.9164 5.79866 47.7385V32.2105C5.79866 29.3439 6.82128 26.8672 8.83853 24.8504C10.8415 22.8118 13.319 21.7759 16.1992 21.7759C19.0796 21.7759 21.557 22.8118 23.5635 24.8538C25.3441 26.6351 26.3374 28.7976 26.5963 31.4625C26.6263 31.6669 26.6339 40.3058 26.6339 47.6694C27.2825 48.0147 28.6127 48.8167 29.5141 49.3059C29.9448 49.0814 32.0589 47.8425 32.3979 47.6669V32.2105C32.3979 27.6795 30.8499 23.9285 27.6655 20.7443Z', fill: colorMapping[type_parts[1]].fill_1 })));
3483
- }
3484
- };
3485
-
3486
- const Steps = ut.div `
1562
+ const Steps = styled.div `
3487
1563
  padding: 20px;
3488
1564
  border-bottom: 1px solid #e7e6e6;
3489
1565
  background: #f5f5f5;
@@ -3491,18 +1567,18 @@ const Steps = ut.div `
3491
1567
  gap: 30px;
3492
1568
  align-items: center;
3493
1569
  `;
3494
- const Step = ut.div `
1570
+ const Step = styled.div `
3495
1571
  display: flex;
3496
1572
  align-items: center;
3497
1573
  gap: 8px;
3498
1574
  `;
3499
- const StyledIcon$2 = ut(Icon) `
1575
+ const StyledIcon$2 = styled(Icon) `
3500
1576
  > path {
3501
1577
  fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
3502
1578
  }
3503
1579
  `;
3504
1580
  StyledIcon$2.defaultProps = { theme: EditableTheme };
3505
- const StepIndicator = ut.div `
1581
+ const StepIndicator = styled.div `
3506
1582
  width: 30px;
3507
1583
  height: 30px;
3508
1584
  border-radius: 15px;
@@ -3518,7 +1594,7 @@ const StepIndicator = ut.div `
3518
1594
  flex-shrink: 0;
3519
1595
  `;
3520
1596
  StepIndicator.defaultProps = { theme: EditableTheme };
3521
- const StepLabel = ut.div `
1597
+ const StepLabel = styled.div `
3522
1598
  color: #000;
3523
1599
  font-family: 'Roboto', Helvetica, Arial, sans-serif;
3524
1600
  font-size: 14px;
@@ -3533,7 +1609,7 @@ const ProgressBar = ({ steps }) => {
3533
1609
  })));
3534
1610
  };
3535
1611
 
3536
- const Wrapper$7 = ut.div `
1612
+ const Wrapper$7 = styled.div `
3537
1613
  position: fixed;
3538
1614
  top: 0;
3539
1615
  right: 0;
@@ -3545,7 +1621,7 @@ const Wrapper$7 = ut.div `
3545
1621
  align-items: center;
3546
1622
  justify-content: center;
3547
1623
  `;
3548
- const Container$1 = ut.dialog `
1624
+ const Container$1 = styled.dialog `
3549
1625
  width: ${props => (props.$fullscreen ? 'calc(100vw - 80px)' : props.$maxWidth || '900px')};
3550
1626
  max-width: calc(100vw - 80px);
3551
1627
  height: ${props => (props.$fullscreen ? 'calc(100vh - 80px)' : 'auto')};
@@ -3561,7 +1637,7 @@ const Container$1 = ut.dialog `
3561
1637
  display: flex;
3562
1638
  flex-direction: column;
3563
1639
  `;
3564
- const Header$1 = ut.div `
1640
+ const Header$1 = styled.div `
3565
1641
  flex-shrink: 0;
3566
1642
  padding: 20px;
3567
1643
  border-bottom: 1px solid #e7e6e6;
@@ -3570,28 +1646,28 @@ const Header$1 = ut.div `
3570
1646
  background: #ffffff;
3571
1647
  box-sizing: border-box;
3572
1648
  `;
3573
- const Close = ut.div `
1649
+ const Close = styled.div `
3574
1650
  margin-left: auto;
3575
1651
  display: flex;
3576
1652
  align-items: center;
3577
1653
  padding-left: 20px;
3578
1654
  cursor: pointer;
3579
1655
  `;
3580
- const CloseMsg = ut.span `
1656
+ const CloseMsg = styled.span `
3581
1657
  font-size: ${FontSizes.SMALL};
3582
1658
  font-weight: 400;
3583
1659
  font-family: ${FontStyles.DEFAULT};
3584
1660
  line-height: 1em;
3585
1661
  color: ${Colors.MEDIUM_GRAY.Hex};
3586
1662
  `;
3587
- const ContentWrapper = ut.div `
1663
+ const ContentWrapper = styled.div `
3588
1664
  overflow-x: hidden;
3589
1665
  overflow-y: auto;
3590
1666
  background: #ffffff;
3591
1667
  flex: 1;
3592
1668
  box-sizing: border-box;
3593
1669
  `;
3594
- const ButtonBar = ut.div `
1670
+ const ButtonBar = styled.div `
3595
1671
  flex-shrink: 0;
3596
1672
  background: #ffffff;
3597
1673
  padding: 20px;
@@ -3634,11 +1710,11 @@ const Modal = (_a) => {
3634
1710
  primaryButton ? (React.createElement(Button, Object.assign({}, primaryButton, { format: 'primary', margin: '0px 0px 0px 10px' }))) : null)) : null)) : null)));
3635
1711
  };
3636
1712
 
3637
- const Wrapper$6 = ut.div `
1713
+ const Wrapper$6 = styled.div `
3638
1714
  position: relative;
3639
1715
  width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
3640
1716
  `;
3641
- const Trigger = ut.div `
1717
+ const Trigger = styled.div `
3642
1718
  box-sizing: border-box;
3643
1719
  border-radius: ${props => (props.$showOptions ? '4px 4px 0px 0px' : '4px')};
3644
1720
  height: 40px;
@@ -3667,7 +1743,7 @@ const Trigger = ut.div `
3667
1743
  z-index: 1;
3668
1744
  `;
3669
1745
  Trigger.defaultProps = { theme: EditableTheme };
3670
- const Value = ut.div `
1746
+ const Value = styled.div `
3671
1747
  color: ${Colors.BLACK.Hex};
3672
1748
  font-family: ${FontStyles.DEFAULT};
3673
1749
  font-size: ${FontSizes.DEFAULT};
@@ -3678,7 +1754,7 @@ const Value = ut.div `
3678
1754
  white-space: nowrap;
3679
1755
  width: 100%;
3680
1756
  `;
3681
- const Options = ut.div `
1757
+ const Options = styled.div `
3682
1758
  background: #fff;
3683
1759
  box-shadow: 0px 5px 30px -15px rgba(0, 0, 0, 0.2);
3684
1760
  border-color: ${props => props.theme.PRIMARY_COLOR.Hex};
@@ -3694,7 +1770,7 @@ const Options = ut.div `
3694
1770
  overflow: auto;
3695
1771
  `;
3696
1772
  Options.defaultProps = { theme: EditableTheme };
3697
- const Scrim = ut.div `
1773
+ const Scrim = styled.div `
3698
1774
  bottom: 0;
3699
1775
  left: 0;
3700
1776
  position: fixed;
@@ -3717,7 +1793,7 @@ const MultiSelect = (_a) => {
3717
1793
  showOptions ? React.createElement(Scrim, { onClick: setShowOptions.bind(null, !showOptions) }) : null));
3718
1794
  };
3719
1795
 
3720
- const Wrapper$5 = ut.div `
1796
+ const Wrapper$5 = styled.div `
3721
1797
  display: inline-block;
3722
1798
  border-radius: 4px;
3723
1799
  padding: 4px 6px;
@@ -3726,18 +1802,18 @@ const Wrapper$5 = ut.div `
3726
1802
  box-sizing: border-box;
3727
1803
  cursor: ${props => (props.$removable ? 'pointer' : 'default')};
3728
1804
  `;
3729
- const Content = ut.div `
1805
+ const Content = styled.div `
3730
1806
  display: flex;
3731
1807
  align-items: center;
3732
1808
  `;
3733
- const Label$1 = ut.div `
1809
+ const Label$1 = styled.div `
3734
1810
  color: ${props => (props.$color === 'SUBTLE_GRAY' ? '#000000' : '#ffffff')};
3735
1811
  font-size: ${FontSizes.SMALL};
3736
1812
  font-weight: 500;
3737
1813
  font-family: ${FontStyles.DEFAULT};
3738
1814
  line-height: 1.2em;
3739
1815
  `;
3740
- const Remove = ut.div `
1816
+ const Remove = styled.div `
3741
1817
  margin-left: 10px;
3742
1818
  display: flex;
3743
1819
  align-items: center;
@@ -3751,7 +1827,7 @@ const Tag = (_a) => {
3751
1827
  React.createElement(Icon, { color: color === 'SUBTLE_GRAY' ? '#000000' : '#ffffff', path: js.mdiClose, size: '15px' }))) : null)));
3752
1828
  };
3753
1829
 
3754
- const Wrapper$4 = ut.div `
1830
+ const Wrapper$4 = styled.div `
3755
1831
  display: flex;
3756
1832
  padding: 16px 30px;
3757
1833
  align-items: center;
@@ -3759,24 +1835,24 @@ const Wrapper$4 = ut.div `
3759
1835
  align-self: stretch;
3760
1836
  border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
3761
1837
  `;
3762
- const Title = ut.div `
1838
+ const Title = styled.div `
3763
1839
  display: flex;
3764
1840
  align-items: center;
3765
1841
  gap: 20px;
3766
1842
  `;
3767
- const Info = ut.div `
1843
+ const Info = styled.div `
3768
1844
  display: flex;
3769
1845
  flex-direction: column;
3770
1846
  align-items: flex-start;
3771
1847
  gap: 4px;
3772
1848
  flex: 1 0 0;
3773
1849
  `;
3774
- const Breadcrumbs = ut.div `
1850
+ const Breadcrumbs = styled.div `
3775
1851
  display: flex;
3776
1852
  align-items: center;
3777
1853
  gap: 4px;
3778
1854
  `;
3779
- const Actions = ut.div `
1855
+ const Actions = styled.div `
3780
1856
  display: flex;
3781
1857
  align-items: center;
3782
1858
  gap: 8px;
@@ -3801,7 +1877,7 @@ const PageHeader = ({ title = '', breadcrumbs, actions, buttonMenu, tag }) => {
3801
1877
  menuItems.length ? (React.createElement(ButtonMenu, { format: format, label: label, menuItems: menuItems, small: true })) : null)) : null));
3802
1878
  };
3803
1879
 
3804
- const Wrapper$3 = ut.nav `
1880
+ const Wrapper$3 = styled.nav `
3805
1881
  box-sizing: border-box;
3806
1882
  display: flex;
3807
1883
  align-items: center;
@@ -3836,7 +1912,7 @@ const Pagination = (_a) => {
3836
1912
  React.createElement(Button, { disabled: is_last_page, icon: js.mdiChevronRight, onClick: handleNextClick, small: true })));
3837
1913
  };
3838
1914
 
3839
- const Wrapper$2 = ut.label `
1915
+ const Wrapper$2 = styled.label `
3840
1916
  border-radius: 4px;
3841
1917
  padding: 4px 0px 4px 6px;
3842
1918
  margin-left: -6px;
@@ -3852,12 +1928,12 @@ const Wrapper$2 = ut.label `
3852
1928
  }
3853
1929
  `;
3854
1930
  Wrapper$2.defaultProps = { theme: EditableTheme };
3855
- const Input = ut.input `
1931
+ const Input = styled.input `
3856
1932
  font-size: 20px;
3857
1933
  margin: 0px 0px 2px 0px;
3858
1934
  line-height: 1.1em;
3859
1935
  `;
3860
- const Label = ut.span `
1936
+ const Label = styled.span `
3861
1937
  font-family: ${FontStyles.DEFAULT};
3862
1938
  font-size: ${FontSizes.DEFAULT};
3863
1939
  font-weight: 400;
@@ -3880,7 +1956,7 @@ const RadioList = (_a) => {
3880
1956
  })));
3881
1957
  };
3882
1958
 
3883
- const StyledTable = ut.table `
1959
+ const StyledTable = styled.table `
3884
1960
  width: 100%;
3885
1961
  margin-top: 1px;
3886
1962
  table-layout: ${props => props.$tableLayout || 'auto'};
@@ -3890,7 +1966,7 @@ const StyledTable = ut.table `
3890
1966
  border-color: none;
3891
1967
  box-sizing: border-box;
3892
1968
  `;
3893
- const Header = ut.th `
1969
+ const Header = styled.th `
3894
1970
  padding: 12px !important;
3895
1971
  text-align: left;
3896
1972
  font-weight: 500;
@@ -3909,7 +1985,7 @@ const Header = ut.th `
3909
1985
  color: ${props => (props.$isSortable ? props.theme.PRIMARY_COLOR.Hex : Colors.BLACK.Hex)};
3910
1986
  `;
3911
1987
  Header.defaultProps = { theme: EditableTheme };
3912
- const Row = ut.tr `
1988
+ const Row = styled.tr `
3913
1989
  cursor: ${props => (props.$isClickable ? 'pointer' : 'default')};
3914
1990
  transition: all 0.2s;
3915
1991
  background-color: ${props => props.$bgColor};
@@ -3919,7 +1995,7 @@ const Row = ut.tr `
3919
1995
  }
3920
1996
  `;
3921
1997
  Row.defaultProps = { theme: EditableTheme };
3922
- const Column = ut.td `
1998
+ const Column = styled.td `
3923
1999
  padding: 16px 12px !important;
3924
2000
  font-size: ${FontSizes.DEFAULT} !important;
3925
2001
  font-weight: 400 !important;
@@ -3930,13 +2006,13 @@ const Column = ut.td `
3930
2006
  box-sizing: border-box;
3931
2007
  width: ${props => props.$width || 'auto'};
3932
2008
  `;
3933
- const IconWrapper = ut.span `
2009
+ const IconWrapper = styled.span `
3934
2010
  position: absolute;
3935
2011
  top: 50%;
3936
2012
  transform: translateY(-50%);
3937
2013
  margin-left: 2px;
3938
2014
  `;
3939
- const StyledIcon$1 = ut(Icon) `
2015
+ const StyledIcon$1 = styled(Icon) `
3940
2016
  > path {
3941
2017
  fill: ${props => props.theme.PRIMARY_COLOR.Hex} !important;
3942
2018
  }
@@ -3959,7 +2035,7 @@ const Table = (_a) => {
3959
2035
  }))) : null));
3960
2036
  };
3961
2037
 
3962
- const Wrapper$1 = ut.div `
2038
+ const Wrapper$1 = styled.div `
3963
2039
  display: flex;
3964
2040
  box-sizing: border-box;
3965
2041
  align-items: flex-end;
@@ -3970,7 +2046,7 @@ const Wrapper$1 = ut.div `
3970
2046
  padding: 0;
3971
2047
  margin: 0;
3972
2048
  `;
3973
- const Tab = ut.div `
2049
+ const Tab = styled.div `
3974
2050
  display: flex;
3975
2051
  align-items: center;
3976
2052
  gap: 6px;
@@ -3992,7 +2068,7 @@ const Tab = ut.div `
3992
2068
  }
3993
2069
  `;
3994
2070
  Tab.defaultProps = { theme: EditableTheme };
3995
- const Badge = ut.div `
2071
+ const Badge = styled.div `
3996
2072
  display: flex;
3997
2073
  width: 18px;
3998
2074
  height: 18px;
@@ -4019,7 +2095,7 @@ const Tabs = (_a) => {
4019
2095
  };
4020
2096
  Tabs.defaultProps = {};
4021
2097
 
4022
- const Track = ut.div `
2098
+ const Track = styled.div `
4023
2099
  height: 24px;
4024
2100
  border-radius: 12px;
4025
2101
  background: ${props => (props.$on ? Colors.GREEN.Hex : Colors.BLACK.Hex)};
@@ -4030,7 +2106,7 @@ const Track = ut.div `
4030
2106
  padding: 2px;
4031
2107
  box-sizing: border-box;
4032
2108
  `;
4033
- const Handle = ut.div `
2109
+ const Handle = styled.div `
4034
2110
  width: 20px;
4035
2111
  height: 20px;
4036
2112
  border-radius: 10px;
@@ -4050,7 +2126,7 @@ const Toggle = (_a) => {
4050
2126
  };
4051
2127
  Toggle.defaultProps = {};
4052
2128
 
4053
- const Container = ut.div `
2129
+ const Container = styled.div `
4054
2130
  width: 100%;
4055
2131
  padding: 40px auto;
4056
2132
  gap: 20px;
@@ -4059,14 +2135,14 @@ const Container = ut.div `
4059
2135
  justify-items: center;
4060
2136
  align-items: center;
4061
2137
  `;
4062
- const Wrapper = ut.div `
2138
+ const Wrapper = styled.div `
4063
2139
  gap: 10px;
4064
2140
  display: flex;
4065
2141
  flex-direction: column;
4066
2142
  justify-items: center;
4067
2143
  align-items: center;
4068
2144
  `;
4069
- const StyledIcon = ut.div `
2145
+ const StyledIcon = styled.div `
4070
2146
  display: flex;
4071
2147
  align-items: center;
4072
2148
  justify-content: center;
@@ -4089,6 +2165,7 @@ const ZeroState = (_a) => {
4089
2165
  exports.Accordion = Accordion;
4090
2166
  exports.ActionDialog = ActionDialog;
4091
2167
  exports.Alert = Alert;
2168
+ exports.AppHeader = AppHeader;
4092
2169
  exports.BulkActionBar = BulkActionBar;
4093
2170
  exports.Button = Button;
4094
2171
  exports.ButtonMenu = ButtonMenu;