visits-style 1.4.0 → 1.4.1

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/index.es.js CHANGED
@@ -1,936 +1,11 @@
1
- import styled, { css, keyframes } from "styled-components";
2
- import require$$0, { forwardRef, useLayoutEffect, useEffect, useRef, useMemo, useImperativeHandle, useState, cloneElement, Children, useCallback, createElement } from "react";
3
- import { getLuminance, transparentize, darken } from "polished";
4
- import { useFloating, shift, flip, offset, useInteractions, useHover, useClientPoint, FloatingFocusManager, autoUpdate, useClick, FloatingOverlay, useId, useDismiss, useTransitionStyles } from "@floating-ui/react";
5
- import { createPortal } from "react-dom";
6
- var jsxRuntime = { exports: {} };
7
- var reactJsxRuntime_production_min = {};
8
- /**
9
- * @license React
10
- * react-jsx-runtime.production.min.js
11
- *
12
- * Copyright (c) Facebook, Inc. and its affiliates.
13
- *
14
- * This source code is licensed under the MIT license found in the
15
- * LICENSE file in the root directory of this source tree.
16
- */
17
- var hasRequiredReactJsxRuntime_production_min;
18
- function requireReactJsxRuntime_production_min() {
19
- if (hasRequiredReactJsxRuntime_production_min)
20
- return reactJsxRuntime_production_min;
21
- hasRequiredReactJsxRuntime_production_min = 1;
22
- var f = require$$0, k = Symbol.for("react.element"), l = Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, n = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: true, ref: true, __self: true, __source: true };
23
- function q(c, a, g) {
24
- var b, d = {}, e = null, h = null;
25
- void 0 !== g && (e = "" + g);
26
- void 0 !== a.key && (e = "" + a.key);
27
- void 0 !== a.ref && (h = a.ref);
28
- for (b in a)
29
- m.call(a, b) && !p.hasOwnProperty(b) && (d[b] = a[b]);
30
- if (c && c.defaultProps)
31
- for (b in a = c.defaultProps, a)
32
- void 0 === d[b] && (d[b] = a[b]);
33
- return { $$typeof: k, type: c, key: e, ref: h, props: d, _owner: n.current };
34
- }
35
- reactJsxRuntime_production_min.Fragment = l;
36
- reactJsxRuntime_production_min.jsx = q;
37
- reactJsxRuntime_production_min.jsxs = q;
38
- return reactJsxRuntime_production_min;
39
- }
40
- var reactJsxRuntime_development = {};
41
- /**
42
- * @license React
43
- * react-jsx-runtime.development.js
44
- *
45
- * Copyright (c) Facebook, Inc. and its affiliates.
46
- *
47
- * This source code is licensed under the MIT license found in the
48
- * LICENSE file in the root directory of this source tree.
49
- */
50
- var hasRequiredReactJsxRuntime_development;
51
- function requireReactJsxRuntime_development() {
52
- if (hasRequiredReactJsxRuntime_development)
53
- return reactJsxRuntime_development;
54
- hasRequiredReactJsxRuntime_development = 1;
55
- if (process.env.NODE_ENV !== "production") {
56
- (function() {
57
- var React = require$$0;
58
- var REACT_ELEMENT_TYPE = Symbol.for("react.element");
59
- var REACT_PORTAL_TYPE = Symbol.for("react.portal");
60
- var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
61
- var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
62
- var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
63
- var REACT_PROVIDER_TYPE = Symbol.for("react.provider");
64
- var REACT_CONTEXT_TYPE = Symbol.for("react.context");
65
- var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
66
- var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
67
- var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list");
68
- var REACT_MEMO_TYPE = Symbol.for("react.memo");
69
- var REACT_LAZY_TYPE = Symbol.for("react.lazy");
70
- var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen");
71
- var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
72
- var FAUX_ITERATOR_SYMBOL = "@@iterator";
73
- function getIteratorFn(maybeIterable) {
74
- if (maybeIterable === null || typeof maybeIterable !== "object") {
75
- return null;
76
- }
77
- var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
78
- if (typeof maybeIterator === "function") {
79
- return maybeIterator;
80
- }
81
- return null;
82
- }
83
- var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
84
- function error(format) {
85
- {
86
- {
87
- for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
88
- args[_key2 - 1] = arguments[_key2];
89
- }
90
- printWarning("error", format, args);
91
- }
92
- }
93
- }
94
- function printWarning(level, format, args) {
95
- {
96
- var ReactDebugCurrentFrame2 = ReactSharedInternals.ReactDebugCurrentFrame;
97
- var stack = ReactDebugCurrentFrame2.getStackAddendum();
98
- if (stack !== "") {
99
- format += "%s";
100
- args = args.concat([stack]);
101
- }
102
- var argsWithFormat = args.map(function(item) {
103
- return String(item);
104
- });
105
- argsWithFormat.unshift("Warning: " + format);
106
- Function.prototype.apply.call(console[level], console, argsWithFormat);
107
- }
108
- }
109
- var enableScopeAPI = false;
110
- var enableCacheElement = false;
111
- var enableTransitionTracing = false;
112
- var enableLegacyHidden = false;
113
- var enableDebugTracing = false;
114
- var REACT_MODULE_REFERENCE;
115
- {
116
- REACT_MODULE_REFERENCE = Symbol.for("react.module.reference");
117
- }
118
- function isValidElementType(type) {
119
- if (typeof type === "string" || typeof type === "function") {
120
- return true;
121
- }
122
- if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing) {
123
- return true;
124
- }
125
- if (typeof type === "object" && type !== null) {
126
- if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object
127
- // types supported by any Flight configuration anywhere since
128
- // we don't know which Flight build this will end up being used
129
- // with.
130
- type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== void 0) {
131
- return true;
132
- }
133
- }
134
- return false;
135
- }
136
- function getWrappedName(outerType, innerType, wrapperName) {
137
- var displayName = outerType.displayName;
138
- if (displayName) {
139
- return displayName;
140
- }
141
- var functionName = innerType.displayName || innerType.name || "";
142
- return functionName !== "" ? wrapperName + "(" + functionName + ")" : wrapperName;
143
- }
144
- function getContextName(type) {
145
- return type.displayName || "Context";
146
- }
147
- function getComponentNameFromType(type) {
148
- if (type == null) {
149
- return null;
150
- }
151
- {
152
- if (typeof type.tag === "number") {
153
- error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.");
154
- }
155
- }
156
- if (typeof type === "function") {
157
- return type.displayName || type.name || null;
158
- }
159
- if (typeof type === "string") {
160
- return type;
161
- }
162
- switch (type) {
163
- case REACT_FRAGMENT_TYPE:
164
- return "Fragment";
165
- case REACT_PORTAL_TYPE:
166
- return "Portal";
167
- case REACT_PROFILER_TYPE:
168
- return "Profiler";
169
- case REACT_STRICT_MODE_TYPE:
170
- return "StrictMode";
171
- case REACT_SUSPENSE_TYPE:
172
- return "Suspense";
173
- case REACT_SUSPENSE_LIST_TYPE:
174
- return "SuspenseList";
175
- }
176
- if (typeof type === "object") {
177
- switch (type.$$typeof) {
178
- case REACT_CONTEXT_TYPE:
179
- var context = type;
180
- return getContextName(context) + ".Consumer";
181
- case REACT_PROVIDER_TYPE:
182
- var provider = type;
183
- return getContextName(provider._context) + ".Provider";
184
- case REACT_FORWARD_REF_TYPE:
185
- return getWrappedName(type, type.render, "ForwardRef");
186
- case REACT_MEMO_TYPE:
187
- var outerName = type.displayName || null;
188
- if (outerName !== null) {
189
- return outerName;
190
- }
191
- return getComponentNameFromType(type.type) || "Memo";
192
- case REACT_LAZY_TYPE: {
193
- var lazyComponent = type;
194
- var payload = lazyComponent._payload;
195
- var init = lazyComponent._init;
196
- try {
197
- return getComponentNameFromType(init(payload));
198
- } catch (x) {
199
- return null;
200
- }
201
- }
202
- }
203
- }
204
- return null;
205
- }
206
- var assign = Object.assign;
207
- var disabledDepth = 0;
208
- var prevLog;
209
- var prevInfo;
210
- var prevWarn;
211
- var prevError;
212
- var prevGroup;
213
- var prevGroupCollapsed;
214
- var prevGroupEnd;
215
- function disabledLog() {
216
- }
217
- disabledLog.__reactDisabledLog = true;
218
- function disableLogs() {
219
- {
220
- if (disabledDepth === 0) {
221
- prevLog = console.log;
222
- prevInfo = console.info;
223
- prevWarn = console.warn;
224
- prevError = console.error;
225
- prevGroup = console.group;
226
- prevGroupCollapsed = console.groupCollapsed;
227
- prevGroupEnd = console.groupEnd;
228
- var props = {
229
- configurable: true,
230
- enumerable: true,
231
- value: disabledLog,
232
- writable: true
233
- };
234
- Object.defineProperties(console, {
235
- info: props,
236
- log: props,
237
- warn: props,
238
- error: props,
239
- group: props,
240
- groupCollapsed: props,
241
- groupEnd: props
242
- });
243
- }
244
- disabledDepth++;
245
- }
246
- }
247
- function reenableLogs() {
248
- {
249
- disabledDepth--;
250
- if (disabledDepth === 0) {
251
- var props = {
252
- configurable: true,
253
- enumerable: true,
254
- writable: true
255
- };
256
- Object.defineProperties(console, {
257
- log: assign({}, props, {
258
- value: prevLog
259
- }),
260
- info: assign({}, props, {
261
- value: prevInfo
262
- }),
263
- warn: assign({}, props, {
264
- value: prevWarn
265
- }),
266
- error: assign({}, props, {
267
- value: prevError
268
- }),
269
- group: assign({}, props, {
270
- value: prevGroup
271
- }),
272
- groupCollapsed: assign({}, props, {
273
- value: prevGroupCollapsed
274
- }),
275
- groupEnd: assign({}, props, {
276
- value: prevGroupEnd
277
- })
278
- });
279
- }
280
- if (disabledDepth < 0) {
281
- error("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
282
- }
283
- }
284
- }
285
- var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;
286
- var prefix;
287
- function describeBuiltInComponentFrame(name, source, ownerFn) {
288
- {
289
- if (prefix === void 0) {
290
- try {
291
- throw Error();
292
- } catch (x) {
293
- var match = x.stack.trim().match(/\n( *(at )?)/);
294
- prefix = match && match[1] || "";
295
- }
296
- }
297
- return "\n" + prefix + name;
298
- }
299
- }
300
- var reentry = false;
301
- var componentFrameCache;
302
- {
303
- var PossiblyWeakMap = typeof WeakMap === "function" ? WeakMap : Map;
304
- componentFrameCache = new PossiblyWeakMap();
305
- }
306
- function describeNativeComponentFrame(fn, construct) {
307
- if (!fn || reentry) {
308
- return "";
309
- }
310
- {
311
- var frame = componentFrameCache.get(fn);
312
- if (frame !== void 0) {
313
- return frame;
314
- }
315
- }
316
- var control;
317
- reentry = true;
318
- var previousPrepareStackTrace = Error.prepareStackTrace;
319
- Error.prepareStackTrace = void 0;
320
- var previousDispatcher;
321
- {
322
- previousDispatcher = ReactCurrentDispatcher.current;
323
- ReactCurrentDispatcher.current = null;
324
- disableLogs();
325
- }
326
- try {
327
- if (construct) {
328
- var Fake = function() {
329
- throw Error();
330
- };
331
- Object.defineProperty(Fake.prototype, "props", {
332
- set: function() {
333
- throw Error();
334
- }
335
- });
336
- if (typeof Reflect === "object" && Reflect.construct) {
337
- try {
338
- Reflect.construct(Fake, []);
339
- } catch (x) {
340
- control = x;
341
- }
342
- Reflect.construct(fn, [], Fake);
343
- } else {
344
- try {
345
- Fake.call();
346
- } catch (x) {
347
- control = x;
348
- }
349
- fn.call(Fake.prototype);
350
- }
351
- } else {
352
- try {
353
- throw Error();
354
- } catch (x) {
355
- control = x;
356
- }
357
- fn();
358
- }
359
- } catch (sample) {
360
- if (sample && control && typeof sample.stack === "string") {
361
- var sampleLines = sample.stack.split("\n");
362
- var controlLines = control.stack.split("\n");
363
- var s = sampleLines.length - 1;
364
- var c = controlLines.length - 1;
365
- while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {
366
- c--;
367
- }
368
- for (; s >= 1 && c >= 0; s--, c--) {
369
- if (sampleLines[s] !== controlLines[c]) {
370
- if (s !== 1 || c !== 1) {
371
- do {
372
- s--;
373
- c--;
374
- if (c < 0 || sampleLines[s] !== controlLines[c]) {
375
- var _frame = "\n" + sampleLines[s].replace(" at new ", " at ");
376
- if (fn.displayName && _frame.includes("<anonymous>")) {
377
- _frame = _frame.replace("<anonymous>", fn.displayName);
378
- }
379
- {
380
- if (typeof fn === "function") {
381
- componentFrameCache.set(fn, _frame);
382
- }
383
- }
384
- return _frame;
385
- }
386
- } while (s >= 1 && c >= 0);
387
- }
388
- break;
389
- }
390
- }
391
- }
392
- } finally {
393
- reentry = false;
394
- {
395
- ReactCurrentDispatcher.current = previousDispatcher;
396
- reenableLogs();
397
- }
398
- Error.prepareStackTrace = previousPrepareStackTrace;
399
- }
400
- var name = fn ? fn.displayName || fn.name : "";
401
- var syntheticFrame = name ? describeBuiltInComponentFrame(name) : "";
402
- {
403
- if (typeof fn === "function") {
404
- componentFrameCache.set(fn, syntheticFrame);
405
- }
406
- }
407
- return syntheticFrame;
408
- }
409
- function describeFunctionComponentFrame(fn, source, ownerFn) {
410
- {
411
- return describeNativeComponentFrame(fn, false);
412
- }
413
- }
414
- function shouldConstruct(Component) {
415
- var prototype = Component.prototype;
416
- return !!(prototype && prototype.isReactComponent);
417
- }
418
- function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {
419
- if (type == null) {
420
- return "";
421
- }
422
- if (typeof type === "function") {
423
- {
424
- return describeNativeComponentFrame(type, shouldConstruct(type));
425
- }
426
- }
427
- if (typeof type === "string") {
428
- return describeBuiltInComponentFrame(type);
429
- }
430
- switch (type) {
431
- case REACT_SUSPENSE_TYPE:
432
- return describeBuiltInComponentFrame("Suspense");
433
- case REACT_SUSPENSE_LIST_TYPE:
434
- return describeBuiltInComponentFrame("SuspenseList");
435
- }
436
- if (typeof type === "object") {
437
- switch (type.$$typeof) {
438
- case REACT_FORWARD_REF_TYPE:
439
- return describeFunctionComponentFrame(type.render);
440
- case REACT_MEMO_TYPE:
441
- return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);
442
- case REACT_LAZY_TYPE: {
443
- var lazyComponent = type;
444
- var payload = lazyComponent._payload;
445
- var init = lazyComponent._init;
446
- try {
447
- return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);
448
- } catch (x) {
449
- }
450
- }
451
- }
452
- }
453
- return "";
454
- }
455
- var hasOwnProperty = Object.prototype.hasOwnProperty;
456
- var loggedTypeFailures = {};
457
- var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
458
- function setCurrentlyValidatingElement(element) {
459
- {
460
- if (element) {
461
- var owner = element._owner;
462
- var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
463
- ReactDebugCurrentFrame.setExtraStackFrame(stack);
464
- } else {
465
- ReactDebugCurrentFrame.setExtraStackFrame(null);
466
- }
467
- }
468
- }
469
- function checkPropTypes(typeSpecs, values, location, componentName, element) {
470
- {
471
- var has = Function.call.bind(hasOwnProperty);
472
- for (var typeSpecName in typeSpecs) {
473
- if (has(typeSpecs, typeSpecName)) {
474
- var error$1 = void 0;
475
- try {
476
- if (typeof typeSpecs[typeSpecName] !== "function") {
477
- var err = Error((componentName || "React class") + ": " + location + " type `" + typeSpecName + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof typeSpecs[typeSpecName] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
478
- err.name = "Invariant Violation";
479
- throw err;
480
- }
481
- error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
482
- } catch (ex) {
483
- error$1 = ex;
484
- }
485
- if (error$1 && !(error$1 instanceof Error)) {
486
- setCurrentlyValidatingElement(element);
487
- error("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", componentName || "React class", location, typeSpecName, typeof error$1);
488
- setCurrentlyValidatingElement(null);
489
- }
490
- if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {
491
- loggedTypeFailures[error$1.message] = true;
492
- setCurrentlyValidatingElement(element);
493
- error("Failed %s type: %s", location, error$1.message);
494
- setCurrentlyValidatingElement(null);
495
- }
496
- }
497
- }
498
- }
499
- }
500
- var isArrayImpl = Array.isArray;
501
- function isArray(a) {
502
- return isArrayImpl(a);
503
- }
504
- function typeName(value) {
505
- {
506
- var hasToStringTag = typeof Symbol === "function" && Symbol.toStringTag;
507
- var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
508
- return type;
509
- }
510
- }
511
- function willCoercionThrow(value) {
512
- {
513
- try {
514
- testStringCoercion(value);
515
- return false;
516
- } catch (e) {
517
- return true;
518
- }
519
- }
520
- }
521
- function testStringCoercion(value) {
522
- return "" + value;
523
- }
524
- function checkKeyStringCoercion(value) {
525
- {
526
- if (willCoercionThrow(value)) {
527
- error("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", typeName(value));
528
- return testStringCoercion(value);
529
- }
530
- }
531
- }
532
- var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;
533
- var RESERVED_PROPS = {
534
- key: true,
535
- ref: true,
536
- __self: true,
537
- __source: true
538
- };
539
- var specialPropKeyWarningShown;
540
- var specialPropRefWarningShown;
541
- var didWarnAboutStringRefs;
542
- {
543
- didWarnAboutStringRefs = {};
544
- }
545
- function hasValidRef(config) {
546
- {
547
- if (hasOwnProperty.call(config, "ref")) {
548
- var getter = Object.getOwnPropertyDescriptor(config, "ref").get;
549
- if (getter && getter.isReactWarning) {
550
- return false;
551
- }
552
- }
553
- }
554
- return config.ref !== void 0;
555
- }
556
- function hasValidKey(config) {
557
- {
558
- if (hasOwnProperty.call(config, "key")) {
559
- var getter = Object.getOwnPropertyDescriptor(config, "key").get;
560
- if (getter && getter.isReactWarning) {
561
- return false;
562
- }
563
- }
564
- }
565
- return config.key !== void 0;
566
- }
567
- function warnIfStringRefCannotBeAutoConverted(config, self) {
568
- {
569
- if (typeof config.ref === "string" && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) {
570
- var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);
571
- if (!didWarnAboutStringRefs[componentName]) {
572
- error('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', getComponentNameFromType(ReactCurrentOwner.current.type), config.ref);
573
- didWarnAboutStringRefs[componentName] = true;
574
- }
575
- }
576
- }
577
- }
578
- function defineKeyPropWarningGetter(props, displayName) {
579
- {
580
- var warnAboutAccessingKey = function() {
581
- if (!specialPropKeyWarningShown) {
582
- specialPropKeyWarningShown = true;
583
- error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", displayName);
584
- }
585
- };
586
- warnAboutAccessingKey.isReactWarning = true;
587
- Object.defineProperty(props, "key", {
588
- get: warnAboutAccessingKey,
589
- configurable: true
590
- });
591
- }
592
- }
593
- function defineRefPropWarningGetter(props, displayName) {
594
- {
595
- var warnAboutAccessingRef = function() {
596
- if (!specialPropRefWarningShown) {
597
- specialPropRefWarningShown = true;
598
- error("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", displayName);
599
- }
600
- };
601
- warnAboutAccessingRef.isReactWarning = true;
602
- Object.defineProperty(props, "ref", {
603
- get: warnAboutAccessingRef,
604
- configurable: true
605
- });
606
- }
607
- }
608
- var ReactElement = function(type, key, ref, self, source, owner, props) {
609
- var element = {
610
- // This tag allows us to uniquely identify this as a React Element
611
- $$typeof: REACT_ELEMENT_TYPE,
612
- // Built-in properties that belong on the element
613
- type,
614
- key,
615
- ref,
616
- props,
617
- // Record the component responsible for creating this element.
618
- _owner: owner
619
- };
620
- {
621
- element._store = {};
622
- Object.defineProperty(element._store, "validated", {
623
- configurable: false,
624
- enumerable: false,
625
- writable: true,
626
- value: false
627
- });
628
- Object.defineProperty(element, "_self", {
629
- configurable: false,
630
- enumerable: false,
631
- writable: false,
632
- value: self
633
- });
634
- Object.defineProperty(element, "_source", {
635
- configurable: false,
636
- enumerable: false,
637
- writable: false,
638
- value: source
639
- });
640
- if (Object.freeze) {
641
- Object.freeze(element.props);
642
- Object.freeze(element);
643
- }
644
- }
645
- return element;
646
- };
647
- function jsxDEV(type, config, maybeKey, source, self) {
648
- {
649
- var propName;
650
- var props = {};
651
- var key = null;
652
- var ref = null;
653
- if (maybeKey !== void 0) {
654
- {
655
- checkKeyStringCoercion(maybeKey);
656
- }
657
- key = "" + maybeKey;
658
- }
659
- if (hasValidKey(config)) {
660
- {
661
- checkKeyStringCoercion(config.key);
662
- }
663
- key = "" + config.key;
664
- }
665
- if (hasValidRef(config)) {
666
- ref = config.ref;
667
- warnIfStringRefCannotBeAutoConverted(config, self);
668
- }
669
- for (propName in config) {
670
- if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
671
- props[propName] = config[propName];
672
- }
673
- }
674
- if (type && type.defaultProps) {
675
- var defaultProps = type.defaultProps;
676
- for (propName in defaultProps) {
677
- if (props[propName] === void 0) {
678
- props[propName] = defaultProps[propName];
679
- }
680
- }
681
- }
682
- if (key || ref) {
683
- var displayName = typeof type === "function" ? type.displayName || type.name || "Unknown" : type;
684
- if (key) {
685
- defineKeyPropWarningGetter(props, displayName);
686
- }
687
- if (ref) {
688
- defineRefPropWarningGetter(props, displayName);
689
- }
690
- }
691
- return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);
692
- }
693
- }
694
- var ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;
695
- var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;
696
- function setCurrentlyValidatingElement$1(element) {
697
- {
698
- if (element) {
699
- var owner = element._owner;
700
- var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
701
- ReactDebugCurrentFrame$1.setExtraStackFrame(stack);
702
- } else {
703
- ReactDebugCurrentFrame$1.setExtraStackFrame(null);
704
- }
705
- }
706
- }
707
- var propTypesMisspellWarningShown;
708
- {
709
- propTypesMisspellWarningShown = false;
710
- }
711
- function isValidElement(object) {
712
- {
713
- return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
714
- }
715
- }
716
- function getDeclarationErrorAddendum() {
717
- {
718
- if (ReactCurrentOwner$1.current) {
719
- var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);
720
- if (name) {
721
- return "\n\nCheck the render method of `" + name + "`.";
722
- }
723
- }
724
- return "";
725
- }
726
- }
727
- function getSourceInfoErrorAddendum(source) {
728
- {
729
- if (source !== void 0) {
730
- var fileName = source.fileName.replace(/^.*[\\\/]/, "");
731
- var lineNumber = source.lineNumber;
732
- return "\n\nCheck your code at " + fileName + ":" + lineNumber + ".";
733
- }
734
- return "";
735
- }
736
- }
737
- var ownerHasKeyUseWarning = {};
738
- function getCurrentComponentErrorInfo(parentType) {
739
- {
740
- var info = getDeclarationErrorAddendum();
741
- if (!info) {
742
- var parentName = typeof parentType === "string" ? parentType : parentType.displayName || parentType.name;
743
- if (parentName) {
744
- info = "\n\nCheck the top-level render call using <" + parentName + ">.";
745
- }
746
- }
747
- return info;
748
- }
749
- }
750
- function validateExplicitKey(element, parentType) {
751
- {
752
- if (!element._store || element._store.validated || element.key != null) {
753
- return;
754
- }
755
- element._store.validated = true;
756
- var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);
757
- if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {
758
- return;
759
- }
760
- ownerHasKeyUseWarning[currentComponentErrorInfo] = true;
761
- var childOwner = "";
762
- if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {
763
- childOwner = " It was passed a child from " + getComponentNameFromType(element._owner.type) + ".";
764
- }
765
- setCurrentlyValidatingElement$1(element);
766
- error('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);
767
- setCurrentlyValidatingElement$1(null);
768
- }
769
- }
770
- function validateChildKeys(node, parentType) {
771
- {
772
- if (typeof node !== "object") {
773
- return;
774
- }
775
- if (isArray(node)) {
776
- for (var i = 0; i < node.length; i++) {
777
- var child = node[i];
778
- if (isValidElement(child)) {
779
- validateExplicitKey(child, parentType);
780
- }
781
- }
782
- } else if (isValidElement(node)) {
783
- if (node._store) {
784
- node._store.validated = true;
785
- }
786
- } else if (node) {
787
- var iteratorFn = getIteratorFn(node);
788
- if (typeof iteratorFn === "function") {
789
- if (iteratorFn !== node.entries) {
790
- var iterator = iteratorFn.call(node);
791
- var step;
792
- while (!(step = iterator.next()).done) {
793
- if (isValidElement(step.value)) {
794
- validateExplicitKey(step.value, parentType);
795
- }
796
- }
797
- }
798
- }
799
- }
800
- }
801
- }
802
- function validatePropTypes(element) {
803
- {
804
- var type = element.type;
805
- if (type === null || type === void 0 || typeof type === "string") {
806
- return;
807
- }
808
- var propTypes;
809
- if (typeof type === "function") {
810
- propTypes = type.propTypes;
811
- } else if (typeof type === "object" && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.
812
- // Inner props are checked in the reconciler.
813
- type.$$typeof === REACT_MEMO_TYPE)) {
814
- propTypes = type.propTypes;
815
- } else {
816
- return;
817
- }
818
- if (propTypes) {
819
- var name = getComponentNameFromType(type);
820
- checkPropTypes(propTypes, element.props, "prop", name, element);
821
- } else if (type.PropTypes !== void 0 && !propTypesMisspellWarningShown) {
822
- propTypesMisspellWarningShown = true;
823
- var _name = getComponentNameFromType(type);
824
- error("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _name || "Unknown");
825
- }
826
- if (typeof type.getDefaultProps === "function" && !type.getDefaultProps.isReactClassApproved) {
827
- error("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
828
- }
829
- }
830
- }
831
- function validateFragmentProps(fragment) {
832
- {
833
- var keys = Object.keys(fragment.props);
834
- for (var i = 0; i < keys.length; i++) {
835
- var key = keys[i];
836
- if (key !== "children" && key !== "key") {
837
- setCurrentlyValidatingElement$1(fragment);
838
- error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", key);
839
- setCurrentlyValidatingElement$1(null);
840
- break;
841
- }
842
- }
843
- if (fragment.ref !== null) {
844
- setCurrentlyValidatingElement$1(fragment);
845
- error("Invalid attribute `ref` supplied to `React.Fragment`.");
846
- setCurrentlyValidatingElement$1(null);
847
- }
848
- }
849
- }
850
- function jsxWithValidation(type, props, key, isStaticChildren, source, self) {
851
- {
852
- var validType = isValidElementType(type);
853
- if (!validType) {
854
- var info = "";
855
- if (type === void 0 || typeof type === "object" && type !== null && Object.keys(type).length === 0) {
856
- info += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
857
- }
858
- var sourceInfo = getSourceInfoErrorAddendum(source);
859
- if (sourceInfo) {
860
- info += sourceInfo;
861
- } else {
862
- info += getDeclarationErrorAddendum();
863
- }
864
- var typeString;
865
- if (type === null) {
866
- typeString = "null";
867
- } else if (isArray(type)) {
868
- typeString = "array";
869
- } else if (type !== void 0 && type.$$typeof === REACT_ELEMENT_TYPE) {
870
- typeString = "<" + (getComponentNameFromType(type.type) || "Unknown") + " />";
871
- info = " Did you accidentally export a JSX literal instead of a component?";
872
- } else {
873
- typeString = typeof type;
874
- }
875
- error("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", typeString, info);
876
- }
877
- var element = jsxDEV(type, props, key, source, self);
878
- if (element == null) {
879
- return element;
880
- }
881
- if (validType) {
882
- var children = props.children;
883
- if (children !== void 0) {
884
- if (isStaticChildren) {
885
- if (isArray(children)) {
886
- for (var i = 0; i < children.length; i++) {
887
- validateChildKeys(children[i], type);
888
- }
889
- if (Object.freeze) {
890
- Object.freeze(children);
891
- }
892
- } else {
893
- error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
894
- }
895
- } else {
896
- validateChildKeys(children, type);
897
- }
898
- }
899
- }
900
- if (type === REACT_FRAGMENT_TYPE) {
901
- validateFragmentProps(element);
902
- } else {
903
- validatePropTypes(element);
904
- }
905
- return element;
906
- }
907
- }
908
- function jsxWithValidationStatic(type, props, key) {
909
- {
910
- return jsxWithValidation(type, props, key, true);
911
- }
912
- }
913
- function jsxWithValidationDynamic(type, props, key) {
914
- {
915
- return jsxWithValidation(type, props, key, false);
916
- }
917
- }
918
- var jsx = jsxWithValidationDynamic;
919
- var jsxs = jsxWithValidationStatic;
920
- reactJsxRuntime_development.Fragment = REACT_FRAGMENT_TYPE;
921
- reactJsxRuntime_development.jsx = jsx;
922
- reactJsxRuntime_development.jsxs = jsxs;
923
- })();
924
- }
925
- return reactJsxRuntime_development;
926
- }
927
- if (process.env.NODE_ENV === "production") {
928
- jsxRuntime.exports = requireReactJsxRuntime_production_min();
929
- } else {
930
- jsxRuntime.exports = requireReactJsxRuntime_development();
931
- }
932
- var jsxRuntimeExports = jsxRuntime.exports;
933
- const Wrapper$8 = /* @__PURE__ */ styled.div.withConfig({
1
+ import { styled, css, keyframes } from 'styled-components';
2
+ import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
3
+ import React, { forwardRef, useLayoutEffect, useEffect, useRef, useMemo, useImperativeHandle, useState, cloneElement, Children, useCallback, createElement } from 'react';
4
+ import { getLuminance, transparentize, darken } from 'polished';
5
+ import { useFloating, shift, flip, offset, useInteractions, useHover, useClientPoint, FloatingFocusManager, autoUpdate, useClick, FloatingOverlay, useId, useDismiss, useTransitionStyles } from '@floating-ui/react';
6
+ import { createPortal } from 'react-dom';
7
+
8
+ const Wrapper$6 = /* @__PURE__ */ styled.div.withConfig({
934
9
  displayName: "Field__Wrapper",
935
10
  componentId: "sc-1ayqhds-0"
936
11
  })(["display:block;margin:1.5rem 0;"]);
@@ -938,43 +13,48 @@ const Label = /* @__PURE__ */ styled.h5.withConfig({
938
13
  displayName: "Field__Label",
939
14
  componentId: "sc-1ayqhds-1"
940
15
  })(["display:block;font-size:1rem;font-weight:normal;margin-bottom:0.625rem;text-align:left;color:", ";& > i{color:", ";margin-left:0.325rem;}"], ({
941
- theme: theme2
942
- }) => theme2.textStrong, ({
943
- theme: theme2
944
- }) => theme2.primary);
16
+ theme
17
+ }) => theme.textStrong, ({
18
+ theme
19
+ }) => theme.primary);
945
20
  function Field({
946
21
  label,
947
22
  children,
948
23
  required,
949
24
  ...rest
950
25
  }) {
951
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper$8, { ...rest, children: [
952
- label && /* @__PURE__ */ jsxRuntimeExports.jsxs(Label, { children: [
26
+ return /* @__PURE__ */ jsxs(Wrapper$6, { ...rest, children: [
27
+ label && /* @__PURE__ */ jsxs(Label, { children: [
953
28
  label,
954
- required && /* @__PURE__ */ jsxRuntimeExports.jsx("i", { children: "*" })
29
+ required && /* @__PURE__ */ jsx("i", { children: "*" })
955
30
  ] }),
956
31
  children
957
32
  ] });
958
33
  }
34
+
959
35
  function findColorInvert({
960
36
  black,
961
37
  white
962
38
  }, color) {
963
39
  if (!color || getLuminance(color) > 0.55) {
964
- return black;
40
+ return black || "#000";
965
41
  }
966
- return white;
42
+ return white || "#fff";
967
43
  }
44
+
968
45
  function hamburger(size) {
969
46
  return css(["display:block;position:relative;height:", ";width:", ";cursor:pointer;span{background-color:currentColor;display:block;height:1px;left:calc(50% - 8px);position:absolute;transform-origin:center;transition-duration:100ms;transition-property:background-color,opacity,transform;transition-timing-function:ease-out;width:16px;&:nth-child(1){top:calc(50% - 6px);}&:nth-child(2){top:calc(50% - 1px);}&:nth-child(3){top:calc(50% + 4px);}&:hover{background-color:rgba(black,0.05);}}&.active span{&:nth-child(1){transform:translateY(5px) rotate(45deg);}&:nth-child(2){opacity:0;}&:nth-child(3){transform:translateY(-5px) rotate(-45deg);}}"], size, size);
970
47
  }
48
+
971
49
  function boxShadow(size, color, amount) {
972
50
  const shadowColor = amount ? transparentize(amount, color) : color;
973
51
  return css(["box-shadow:0 0 0 ", " ", ";"], size, shadowColor);
974
52
  }
53
+
975
54
  function Arrow(color) {
976
55
  return css(["position:absolute;border:3px solid ", ';border-radius:2px;border-right:0;border-top:0;content:" ";display:block;height:0.625em;margin-top:-0.625em;pointer-events:none;top:50%;transform:rotate(-45deg);transform-origin:center;width:0.625em;'], color);
977
56
  }
57
+
978
58
  function setSize(name, size) {
979
59
  switch (size) {
980
60
  case "small":
@@ -987,64 +67,70 @@ function setSize(name, size) {
987
67
  return `${name}: 1rem;`;
988
68
  }
989
69
  }
70
+
990
71
  function mediaMobile({
991
- theme: theme2
72
+ theme
992
73
  }) {
993
- if (!theme2.responsive)
74
+ if (!theme.responsive)
994
75
  return "@media (max-width: 0)";
995
- return `@media screen and (max-width: ${theme2.media.mobile})`;
76
+ return `@media screen and (max-width: ${theme.media.mobile})`;
996
77
  }
997
78
  function mediaTablet({
998
- theme: theme2
79
+ theme
999
80
  }) {
1000
- if (!theme2.responsive)
81
+ if (!theme.responsive)
1001
82
  return "@media (max-width: 0)";
1002
- return `@media screen and (max-width: ${theme2.media.tablet})`;
83
+ return `@media screen and (max-width: ${theme.media.tablet})`;
1003
84
  }
1004
85
  function mediaDesktop({
1005
- theme: theme2
86
+ theme
1006
87
  }) {
1007
- if (!theme2.responsive)
88
+ if (!theme.responsive)
1008
89
  return "@media (max-width: 0)";
1009
- return `@media screen and (max-width: ${theme2.media.desktop})`;
90
+ return `@media screen and (max-width: ${theme.media.desktop})`;
1010
91
  }
1011
92
  function mediaFullHD({
1012
- theme: theme2
93
+ theme
1013
94
  }) {
1014
- if (!theme2.responsive)
95
+ if (!theme.responsive)
1015
96
  return "@media (max-width: 0)";
1016
- return `@media screen and (max-width: ${theme2.media.fullhd})`;
97
+ return `@media screen and (max-width: ${theme.media.fullhd})`;
1017
98
  }
1018
99
  function mediaUntilFullHD({
1019
- theme: theme2
100
+ theme
1020
101
  }) {
1021
- if (!theme2.responsive)
102
+ if (!theme.responsive)
1022
103
  return "@media (max-width: 0)";
1023
- return `@media screen and (min-width: ${theme2.media.fullhd})`;
104
+ return `@media screen and (min-width: ${theme.media.fullhd})`;
1024
105
  }
1025
- function disabledColor(theme2) {
1026
- const textColor = transparentize(0.15, theme2.textDark);
1027
- const backColor = transparentize(0.55, theme2.border);
106
+
107
+ function disabledColor(theme) {
108
+ const textColor = transparentize(0.15, theme.textDark || "#000");
109
+ const backColor = transparentize(0.55, theme.border || "#EEE");
1028
110
  return css(["pointer-events:none;box-shadow:none;color:", ";background-color:", ";"], textColor, backColor);
1029
111
  }
112
+
1030
113
  const Message = /* @__PURE__ */ styled.small.withConfig({
114
+ shouldForwardProp: (name) => name !== "error"
115
+ }).withConfig({
1031
116
  displayName: "HelpMessage__Message",
1032
117
  componentId: "sc-14wou17-0"
1033
118
  })(["font-size:0.8rem;color:", ";"], ({
1034
119
  error,
1035
- theme: theme2
1036
- }) => error ? theme2.danger : theme2.textLight);
120
+ theme
121
+ }) => error ? theme.danger : theme.textLight);
1037
122
  function HelpMessage({
1038
123
  help,
1039
124
  error,
1040
125
  noErrorMessage
1041
126
  }) {
1042
127
  if (error && !noErrorMessage)
1043
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Message, { error: true, children: error });
128
+ return /* @__PURE__ */ jsx(Message, { error: true, children: error });
1044
129
  if (help)
1045
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Message, { children: help });
130
+ return /* @__PURE__ */ jsx(Message, { children: help });
1046
131
  return null;
1047
132
  }
133
+
1048
134
  const TextInput = forwardRef(({
1049
135
  className,
1050
136
  outline,
@@ -1057,11 +143,11 @@ const TextInput = forwardRef(({
1057
143
  maxLength = 255,
1058
144
  noErrorMessage,
1059
145
  ...rest
1060
- }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper$7, { className, outline, error, style, disabled: rest.disabled, children: [
1061
- leftIcon2 && /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { children: leftIcon2 }),
1062
- rightIcon2 && /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { right: true, children: rightIcon2 }),
1063
- /* @__PURE__ */ jsxRuntimeExports.jsx("input", { type, maxLength, ref, ...rest }),
1064
- /* @__PURE__ */ jsxRuntimeExports.jsx(HelpMessage, { help, error, noErrorMessage })
146
+ }, ref) => /* @__PURE__ */ jsxs(Wrapper$5, { className, outline, error, style, disabled: rest.disabled, children: [
147
+ leftIcon2 && /* @__PURE__ */ jsx(Icon, { children: leftIcon2 }),
148
+ rightIcon2 && /* @__PURE__ */ jsx(Icon, { right: true, children: rightIcon2 }),
149
+ /* @__PURE__ */ jsx("input", { type, maxLength, ref, ...rest }),
150
+ /* @__PURE__ */ jsx(HelpMessage, { help, error, noErrorMessage })
1065
151
  ] }));
1066
152
  TextInput.displayName = "TextInput";
1067
153
  const TextInput$1 = TextInput;
@@ -1071,44 +157,45 @@ const Icon = /* @__PURE__ */ styled.span.withConfig({
1071
157
  displayName: "TextInput__Icon",
1072
158
  componentId: "sc-1myda3q-0"
1073
159
  })(["position:absolute;top:0.375em;bottom:0;z-index:1;color:", ";", " svg,img{height:1em;width:1em;}"], ({
1074
- theme: theme2
1075
- }) => theme2.border, ({
160
+ theme
161
+ }) => theme.border, ({
1076
162
  right
1077
163
  }) => right ? rightIcon : leftIcon);
1078
- const Wrapper$7 = /* @__PURE__ */ styled.span.withConfig({
164
+ const Wrapper$5 = /* @__PURE__ */ styled.span.withConfig({
1079
165
  displayName: "TextInput__Wrapper",
1080
166
  componentId: "sc-1myda3q-1"
1081
167
  })(["position:relative;display:block;input{max-width:100%;width:100%;height:100%;position:relative;display:block;outline:none;box-shadow:none;appearance:none;text-align:left;color:inherit;padding:", ";border:1px solid ", ";", " ", " transition-property:box-shadow;transition-duration:150ms;transition-timing-function:ease-in-out;&:focus{border-color:", ";box-shadow:", ";}&:disabled,[disabled]{resize:none;}&::placeholder{color:", ";}}&:hover{input:not(:disabled):not(:focus):not(:active){border-color:", ";}", "{color:", ";}}", ""], ({
1082
- theme: theme2
1083
- }) => theme2.formPadding, ({
168
+ theme
169
+ }) => theme.formPadding, ({
1084
170
  error,
1085
- theme: theme2
1086
- }) => error ? theme2.danger : theme2.border, ({
171
+ theme
172
+ }) => error ? theme.danger : theme.border, ({
1087
173
  outline,
1088
- theme: theme2
174
+ theme
1089
175
  }) => outline ? {
1090
- borderRadius: theme2.radius
176
+ borderRadius: theme.radius
1091
177
  } : {
1092
178
  borderRadius: 0,
1093
179
  borderWidth: 0,
1094
180
  borderBottomWidth: "1px"
1095
181
  }, setSize("font-size"), ({
1096
182
  error,
1097
- theme: theme2
1098
- }) => error ? theme2.danger : theme2.primary, ({
1099
- theme: theme2,
183
+ theme
184
+ }) => error ? theme.danger : theme.primary, ({
185
+ theme,
1100
186
  outline,
1101
187
  error
1102
- }) => outline ? `0 0 0 0.1em ${error ? theme2.danger : theme2.primary}` : `0 0.1em ${error ? theme2.danger : theme2.primary}`, ({
1103
- theme: theme2
1104
- }) => theme2.placeholder, ({
1105
- theme: theme2
1106
- }) => theme2.borderHover, Icon, ({
1107
- theme: theme2
1108
- }) => theme2.borderHover, ({
188
+ }) => outline ? `0 0 0 0.1em ${error ? theme.danger : theme.primary}` : `0 0.1em ${error ? theme.danger : theme.primary}`, ({
189
+ theme
190
+ }) => theme.placeholder, ({
191
+ theme
192
+ }) => theme.borderHover, Icon, ({
193
+ theme
194
+ }) => theme.borderHover, ({
1109
195
  disabled,
1110
- theme: theme2
1111
- }) => disabled ? css(["input{", " border-style:dashed;}"], disabledColor(theme2)) : void 0);
196
+ theme
197
+ }) => disabled ? css(["input{", " border-style:dashed;}"], disabledColor(theme)) : void 0);
198
+
1112
199
  const Textarea = forwardRef(({
1113
200
  className,
1114
201
  help,
@@ -1116,43 +203,51 @@ const Textarea = forwardRef(({
1116
203
  style,
1117
204
  noErrorMessage,
1118
205
  ...rest
1119
- }, ref) => /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper$6, { className, error: !!error, style, disabled: rest.disabled, children: [
1120
- /* @__PURE__ */ jsxRuntimeExports.jsx("textarea", { ...rest, ref }),
1121
- /* @__PURE__ */ jsxRuntimeExports.jsx(HelpMessage, { help, error, noErrorMessage })
206
+ }, ref) => /* @__PURE__ */ jsxs(InputWrapper$2, { className, error: Boolean(error), style, disabled: Boolean(rest.disabled), children: [
207
+ /* @__PURE__ */ jsx("textarea", { ...rest, ref }),
208
+ /* @__PURE__ */ jsx(HelpMessage, { help, error, noErrorMessage })
1122
209
  ] }));
1123
210
  Textarea.displayName = "Textarea";
1124
211
  const Textarea$1 = Textarea;
1125
- const Wrapper$6 = /* @__PURE__ */ styled.span.withConfig({
1126
- displayName: "Textarea__Wrapper",
212
+ function shouldForwardProp$6(name) {
213
+ return name !== "error" && name !== "disabled";
214
+ }
215
+ const InputWrapper$2 = /* @__PURE__ */ styled.span.withConfig({
216
+ shouldForwardProp: shouldForwardProp$6
217
+ }).withConfig({
218
+ displayName: "Textarea__InputWrapper",
1127
219
  componentId: "sc-z9p0uf-0"
1128
220
  })(["display:block;position:relative;textarea{max-width:100%;width:100%;height:100%;padding:0.625em;resize:vertical;appearance:none;overflow:auto;outline:none;text-align:left;color:inherit;border-radius:", ";border:1px solid ", ";transition-property:box-shadow;transition-duration:0.15s;transition-timing-function:ease-in-out;", " &:focus{border-color:", ";", "}&:disabled,[disabled],&:readonly{", "}&:disabled,[disabled]{resize:none;}&::placeholder{color:", ";}}&:hover{textarea:not(:disabled):not(:focus){border-color:", ";}}", ""], ({
1129
- theme: theme2
1130
- }) => theme2.radius, ({
1131
- theme: theme2,
221
+ theme
222
+ }) => theme.radius, ({
223
+ theme,
1132
224
  error
1133
- }) => error ? theme2.danger : theme2.border, setSize("font-size"), ({
1134
- theme: theme2,
225
+ }) => error ? theme.danger : theme.border, setSize("font-size"), ({
226
+ theme,
1135
227
  error
1136
- }) => error ? theme2.danger : theme2.primary, ({
1137
- theme: theme2,
228
+ }) => error ? theme.danger : theme.primary, ({
229
+ theme,
1138
230
  error
1139
- }) => boxShadow("0.1em", error ? theme2.danger : theme2.primary), ({
1140
- theme: theme2
1141
- }) => disabledColor(theme2), ({
1142
- theme: theme2
1143
- }) => theme2.placeholder, ({
1144
- theme: theme2
1145
- }) => theme2.borderHover, ({
231
+ }) => boxShadow("0.1em", error ? theme.danger : theme.primary), ({
232
+ theme
233
+ }) => disabledColor(theme), ({
234
+ theme
235
+ }) => theme.placeholder, ({
236
+ theme
237
+ }) => theme.borderHover, ({
1146
238
  disabled,
1147
- theme: theme2
1148
- }) => disabled ? css(["textarea{", " border-style:dashed;}"], disabledColor(theme2)) : void 0);
239
+ theme
240
+ }) => disabled ? css(["textarea{", " border-style:dashed;}"], disabledColor(theme)) : void 0);
241
+
1149
242
  const isClient = typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined";
243
+
1150
244
  const useIsomorphicLayoutEffect = isClient ? useLayoutEffect : useEffect;
245
+
1151
246
  function Approved$1() {
1152
- return /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", viewBox: "0 0 30 30", children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M11.5 18.5l-3.9-4L6 16l5.6 5.6 11.6-11.5-1.7-1.6z", fill: "currentColor" }) });
247
+ return /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", viewBox: "0 0 30 30", children: /* @__PURE__ */ jsx("path", { d: "M11.5 18.5l-3.9-4L6 16l5.6 5.6 11.6-11.5-1.7-1.6z", fill: "currentColor" }) });
1153
248
  }
1154
249
  function Indeterminate() {
1155
- return /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", viewBox: "0 0 30 30", children: /* @__PURE__ */ jsxRuntimeExports.jsx("rect", { width: "20", height: "4", y: "13", x: "4.5", fill: "currentColor", stroke: "none", rx: "2" }) });
250
+ return /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", viewBox: "0 0 30 30", children: /* @__PURE__ */ jsx("rect", { width: "20", height: "4", y: "13", x: "4.5", fill: "currentColor", stroke: "none", rx: "2" }) });
1156
251
  }
1157
252
  const Checkbox = forwardRef(({
1158
253
  className,
@@ -1176,10 +271,10 @@ const Checkbox = forwardRef(({
1176
271
  innerRef.current.indeterminate = indeterminate;
1177
272
  }
1178
273
  }, [indeterminate]);
1179
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper$5, { className, children: [
1180
- /* @__PURE__ */ jsxRuntimeExports.jsx("input", { type: "checkbox", id, ...rest, ref: innerRef }),
1181
- /* @__PURE__ */ jsxRuntimeExports.jsxs("label", { htmlFor: id, children: [
1182
- /* @__PURE__ */ jsxRuntimeExports.jsx(Shape$1, { className: innerClass, children: indeterminate ? /* @__PURE__ */ jsxRuntimeExports.jsx(Indeterminate, {}) : /* @__PURE__ */ jsxRuntimeExports.jsx(Approved$1, {}) }),
274
+ return /* @__PURE__ */ jsxs(Wrapper$4, { className, children: [
275
+ /* @__PURE__ */ jsx("input", { type: "checkbox", id, ...rest, ref: innerRef }),
276
+ /* @__PURE__ */ jsxs("label", { htmlFor: id, children: [
277
+ /* @__PURE__ */ jsx(Shape$1, { className: innerClass, children: indeterminate ? /* @__PURE__ */ jsx(Indeterminate, {}) : /* @__PURE__ */ jsx(Approved$1, {}) }),
1183
278
  children
1184
279
  ] })
1185
280
  ] });
@@ -1190,31 +285,33 @@ const Shape$1 = /* @__PURE__ */ styled.div.withConfig({
1190
285
  displayName: "Checkbox__Shape",
1191
286
  componentId: "sc-1lh5swj-0"
1192
287
  })(["display:inline-flex;margin:0.5rem;width:1.25em;height:1.25em;background:transparent;border:0.1em solid ", ";border-radius:", ";justify-content:center;align-items:center;will-change:background-color;transition:background-color 150ms ease-out;svg{opacity:0;stroke-width:0.1em;stroke:currentColor;}&.checked{border-color:", ";background-color:", ";color:", ";svg{opacity:1;}&.disabled{color:", ";}}&.disabled{background:", ";border-color:", ";}"], ({
1193
- theme: theme2
1194
- }) => theme2.border, ({
1195
- theme: theme2
1196
- }) => theme2.radius, ({
1197
- theme: theme2
1198
- }) => theme2.primary, ({
1199
- theme: theme2
1200
- }) => theme2.primary, ({
1201
- theme: theme2
1202
- }) => theme2.white, ({
1203
- theme: theme2
1204
- }) => transparentize(0.15, theme2.textDark), ({
1205
- theme: theme2
1206
- }) => transparentize(0.55, theme2.border), ({
1207
- theme: theme2
1208
- }) => theme2.border);
1209
- const Wrapper$5 = /* @__PURE__ */ styled.span.withConfig({
288
+ theme
289
+ }) => theme.border, ({
290
+ theme
291
+ }) => theme.radius, ({
292
+ theme
293
+ }) => theme.primary, ({
294
+ theme
295
+ }) => theme.primary, ({
296
+ theme
297
+ }) => theme.white, ({
298
+ theme
299
+ }) => transparentize(0.15, theme.textDark), ({
300
+ theme
301
+ }) => transparentize(0.55, theme.border), ({
302
+ theme
303
+ }) => theme.border);
304
+ const Wrapper$4 = /* @__PURE__ */ styled.span.withConfig({
1210
305
  displayName: "Checkbox__Wrapper",
1211
306
  componentId: "sc-1lh5swj-1"
1212
307
  })(["display:block;position:relative;width:auto;label{display:flex;align-items:center;cursor:pointer;padding-left:0.625em;max-width:100%;width:100%;line-height:1.25;margin-right:0.625rem;}input{display:none;&:disabled + label{color:", ";}}"], ({
1213
- theme: theme2
1214
- }) => transparentize(0.25, theme2.textDark));
308
+ theme
309
+ }) => transparentize(0.25, theme.textDark));
310
+
1215
311
  function ChevronDown(props) {
1216
- return /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { width: "12", height: "8", viewBox: "0 0 12 8", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M10.6 0L6 4.6 1.4 0 0 1.4l6 6 6-6L10.6 0z", fill: "currentColor" }) });
312
+ return /* @__PURE__ */ jsx("svg", { width: "12", height: "8", viewBox: "0 0 12 8", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: /* @__PURE__ */ jsx("path", { d: "M10.6 0L6 4.6 1.4 0 0 1.4l6 6 6-6L10.6 0z", fill: "currentColor" }) });
1217
313
  }
314
+
1218
315
  function Select({
1219
316
  options = [],
1220
317
  placeholder,
@@ -1229,49 +326,55 @@ function Select({
1229
326
  innerRef,
1230
327
  ...rest
1231
328
  }) {
1232
- const list = useMemo(() => options.map((item) => typeof item === "string" ? /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: item, children: render ? render(item) : item }, item) : /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: item.id, children: render ? render(item.name) : item.name }, item.id)), [options, render]);
1233
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(InputWrapper, { className, inputSize, outline, error: !!error, disabled: rest.disabled, children: [
1234
- /* @__PURE__ */ jsxRuntimeExports.jsxs("select", { ...rest, ref: innerRef, children: [
1235
- placeholder && /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: "", disabled: !optional, children: placeholder }),
329
+ const list = useMemo(() => options.map((item) => typeof item === "string" ? /* @__PURE__ */ jsx("option", { value: item, children: render ? render(item) : item }, item) : /* @__PURE__ */ jsx("option", { value: item.id, children: render ? render(item.name) : item.name }, item.id)), [options, render]);
330
+ return /* @__PURE__ */ jsxs(InputWrapper$1, { className, inputSize, outline, error: !!error, disabled: rest.disabled, children: [
331
+ /* @__PURE__ */ jsxs("select", { ...rest, ref: innerRef, children: [
332
+ placeholder && /* @__PURE__ */ jsx("option", { value: "", disabled: !optional, children: placeholder }),
1236
333
  list
1237
334
  ] }),
1238
- /* @__PURE__ */ jsxRuntimeExports.jsx(ChevronDown, {}),
1239
- /* @__PURE__ */ jsxRuntimeExports.jsx(HelpMessage, { help, error, noErrorMessage })
335
+ /* @__PURE__ */ jsx(ChevronDown, {}),
336
+ /* @__PURE__ */ jsx(HelpMessage, { help, error, noErrorMessage })
1240
337
  ] });
1241
338
  }
1242
- const index$5 = forwardRef((props, ref) => /* @__PURE__ */ jsxRuntimeExports.jsx(Select, { ...props, innerRef: ref }));
1243
- const InputWrapper = /* @__PURE__ */ styled.span.withConfig({
339
+ const index$5 = forwardRef((props, ref) => /* @__PURE__ */ jsx(Select, { ...props, innerRef: ref }));
340
+ function shouldForwardProp$5(name) {
341
+ return name !== "error" && name !== "disabled" && name !== "inputSize" && name !== "outline";
342
+ }
343
+ const InputWrapper$1 = /* @__PURE__ */ styled.span.withConfig({
344
+ shouldForwardProp: shouldForwardProp$5
345
+ }).withConfig({
1244
346
  displayName: "Select__InputWrapper",
1245
347
  componentId: "sc-gevlx8-0"
1246
348
  })(["position:relative;display:block;select{display:block;cursor:pointer;appearance:none;outline:none;max-width:100%;width:100%;height:100%;background-color:transparent;padding:", ";padding-right:1.85rem;text-align:left;color:inherit;", " border:1px solid ", ";", " will-change:box-shadow;transition-property:box-shadow;transition-duration:150ms;transition-timing-function:ease-in-out;&:hover{border-color:", ";}&:focus{border-color:", ";box-shadow:", ";}&::-ms-expand{display:none;}&:-moz-focusring{color:transparent;text-shadow:0 0 0 #000;}&:invalid{color:", ";}}svg{position:absolute;right:0.75rem;top:50%;transform:translateY(-50%);color:", ";}select:hover + svg{color:", ";}", ""], ({
1247
- theme: theme2
1248
- }) => theme2.formPadding, ({
349
+ theme
350
+ }) => theme.formPadding, ({
1249
351
  inputSize
1250
352
  }) => setSize("font-size", inputSize), ({
1251
353
  error,
1252
- theme: theme2
1253
- }) => error ? theme2.danger : theme2.border, ({
354
+ theme
355
+ }) => error ? theme.danger : theme.border, ({
1254
356
  outline,
1255
- theme: theme2
1256
- }) => outline ? css(["border-radius:", ";"], theme2.radius) : css(["border-width:0;border-radius:0;border-bottom-width:1px;"]), ({
1257
- theme: theme2
1258
- }) => theme2.borderHover, ({
357
+ theme
358
+ }) => outline ? css(["border-radius:", ";"], theme.radius) : css(["border-width:0;border-radius:0;border-bottom-width:1px;"]), ({
359
+ theme
360
+ }) => theme.borderHover, ({
1259
361
  error,
1260
- theme: theme2
1261
- }) => error ? theme2.danger : theme2.primary, ({
1262
- theme: theme2,
362
+ theme
363
+ }) => error ? theme.danger : theme.primary, ({
364
+ theme,
1263
365
  outline,
1264
366
  error
1265
- }) => outline ? `0 0 0 0.1em ${error ? theme2.danger : theme2.primary}` : `0 0.1em ${error ? theme2.danger : theme2.primary}`, ({
1266
- theme: theme2
1267
- }) => theme2.placeholder, ({
1268
- theme: theme2
1269
- }) => theme2.border, ({
1270
- theme: theme2
1271
- }) => theme2.borderHover, ({
367
+ }) => outline ? `0 0 0 0.1em ${error ? theme.danger : theme.primary}` : `0 0.1em ${error ? theme.danger : theme.primary}`, ({
368
+ theme
369
+ }) => theme.placeholder, ({
370
+ theme
371
+ }) => theme.border, ({
372
+ theme
373
+ }) => theme.borderHover, ({
1272
374
  disabled,
1273
- theme: theme2
1274
- }) => disabled ? css(["select{", " border-style:dashed;}svg{display:none;}"], disabledColor(theme2)) : void 0);
375
+ theme
376
+ }) => disabled ? css(["select{", " border-style:dashed;}svg{display:none;}"], disabledColor(theme)) : void 0);
377
+
1275
378
  function Radio({
1276
379
  className,
1277
380
  style,
@@ -1288,37 +391,38 @@ function Radio({
1288
391
  arr.push("disabled");
1289
392
  return arr.join(" ");
1290
393
  }, [rest.checked, rest.disabled]);
1291
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper$4, { className, style, children: [
1292
- /* @__PURE__ */ jsxRuntimeExports.jsxs("label", { htmlFor: id, children: [
1293
- /* @__PURE__ */ jsxRuntimeExports.jsx(Shape, { className: innerClass, children: /* @__PURE__ */ jsxRuntimeExports.jsx("i", {}) }),
394
+ return /* @__PURE__ */ jsxs(Wrapper$3, { className, style, children: [
395
+ /* @__PURE__ */ jsxs("label", { htmlFor: id, children: [
396
+ /* @__PURE__ */ jsx(Shape, { className: innerClass, children: /* @__PURE__ */ jsx("i", {}) }),
1294
397
  children
1295
398
  ] }),
1296
- /* @__PURE__ */ jsxRuntimeExports.jsx("input", { id, type: "radio", ...rest, ref: innerRef })
399
+ /* @__PURE__ */ jsx("input", { id, type: "radio", ...rest, ref: innerRef })
1297
400
  ] });
1298
401
  }
1299
- const index$4 = forwardRef((props, ref) => /* @__PURE__ */ jsxRuntimeExports.jsx(Radio, { ...props, innerRef: ref }));
402
+ const index$4 = forwardRef((props, ref) => /* @__PURE__ */ jsx(Radio, { ...props, innerRef: ref }));
1300
403
  const Shape = /* @__PURE__ */ styled.div.withConfig({
1301
404
  displayName: "Radio__Shape",
1302
405
  componentId: "sc-13m0vd4-0"
1303
406
  })(["display:inline-flex;margin:0.5rem;width:1.25em;height:1.25em;background:transparent;border:0.1em solid ", ";border-radius:50%;justify-content:center;align-items:center;will-change:background-color,border-color;transition-property:background-color,border-color;transition-duration:150ms;transition-timing-function:ease-out;&.checked{border-color:", ";& > i{transform:scale(1);}&.disabled > i{background-color:", ";}}&.disabled{background:", ";border-color:", ";}& > i{display:block;width:0.5em;height:0.5em;background:", ";border:none;transform:scale(0);border-radius:50%;will-change:transform;transition:transform 150ms ease-out;}"], ({
1304
- theme: theme2
1305
- }) => theme2.border, ({
1306
- theme: theme2
1307
- }) => theme2.primary, ({
1308
- theme: theme2
1309
- }) => transparentize(0.15, theme2.textDark), ({
1310
- theme: theme2
1311
- }) => transparentize(0.55, theme2.border), ({
1312
- theme: theme2
1313
- }) => theme2.border, ({
1314
- theme: theme2
1315
- }) => theme2.primary);
1316
- const Wrapper$4 = /* @__PURE__ */ styled.span.withConfig({
407
+ theme
408
+ }) => theme.border, ({
409
+ theme
410
+ }) => theme.primary, ({
411
+ theme
412
+ }) => transparentize(0.15, theme.textDark), ({
413
+ theme
414
+ }) => transparentize(0.55, theme.border), ({
415
+ theme
416
+ }) => theme.border, ({
417
+ theme
418
+ }) => theme.primary);
419
+ const Wrapper$3 = /* @__PURE__ */ styled.span.withConfig({
1317
420
  displayName: "Radio__Wrapper",
1318
421
  componentId: "sc-13m0vd4-1"
1319
422
  })(["display:block;width:auto;label{cursor:pointer;max-width:100%;width:100%;line-height:1.25;margin-right:0.625rem;display:flex;align-items:center;&:hover > div:not(.checked):not(.disabled){border-color:", ";}}input{display:none;}"], ({
1320
- theme: theme2
1321
- }) => theme2.borderHover);
423
+ theme
424
+ }) => theme.borderHover);
425
+
1322
426
  const Switch = forwardRef(({
1323
427
  className,
1324
428
  showLabel,
@@ -1329,9 +433,9 @@ const Switch = forwardRef(({
1329
433
  ...rest
1330
434
  }, ref) => {
1331
435
  const id = `switch_${rest.name}`;
1332
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper$3, { className, showLabel, background, anchorColor, labelTextOn: onLabel, labelTextOff: offLabel, disabled: rest.disabled, children: [
1333
- /* @__PURE__ */ jsxRuntimeExports.jsx("input", { id, type: "checkbox", ...rest, ref }),
1334
- /* @__PURE__ */ jsxRuntimeExports.jsx("label", { htmlFor: id, "aria-label": id })
436
+ return /* @__PURE__ */ jsxs(InputWrapper, { className, showLabel, background, anchorColor, labelTextOn: onLabel, labelTextOff: offLabel, disabled: rest.disabled, children: [
437
+ /* @__PURE__ */ jsx("input", { id, type: "checkbox", ...rest, ref }),
438
+ /* @__PURE__ */ jsx("label", { htmlFor: id, "aria-label": id })
1335
439
  ] });
1336
440
  });
1337
441
  Switch.displayName = "Switch";
@@ -1339,31 +443,37 @@ const Switch$1 = Switch;
1339
443
  const labelStyle = /* @__PURE__ */ css(["label:before{position:absolute;display:block;content:'", "';top:0.5rem;right:0.6875rem;font-size:0.825rem;line-height:0.825rem;color:", ";}input:checked ~ label:before{content:'", "';right:unset;left:0.6875rem;color:", ";}"], ({
1340
444
  offLabel
1341
445
  }) => offLabel, ({
1342
- theme: theme2
1343
- }) => theme2.textLight, ({
446
+ theme
447
+ }) => theme.textLight, ({
1344
448
  onLabel
1345
449
  }) => onLabel, ({
1346
- theme: theme2
1347
- }) => findColorInvert(theme2, theme2.primary));
1348
- const Wrapper$3 = /* @__PURE__ */ styled.span.withConfig({
1349
- displayName: "Switch__Wrapper",
450
+ theme
451
+ }) => findColorInvert(theme, theme.primary));
452
+ function shouldForwardProp$4(name) {
453
+ return name !== "labelTextOn" && name !== "labelTextOff" && name !== "anchorColor" && name !== "background" && name !== "showLabel";
454
+ }
455
+ const InputWrapper = /* @__PURE__ */ styled.span.withConfig({
456
+ shouldForwardProp: shouldForwardProp$4
457
+ }).withConfig({
458
+ displayName: "Switch__InputWrapper",
1350
459
  componentId: "sc-1ljdf1-0"
1351
460
  })(["display:inline-block;cursor:pointer;line-height:1.25;position:relative;input{display:none;}label{position:relative;display:block;height:1.875rem;min-width:5rem;background:transparent;border:1px solid ", ";border-radius:1.25rem;cursor:pointer;will-change:background-color;transition:background-color 300ms ease;box-shadow:inset 0 0.25rem 0.25rem rgba(0,0,0,0.05);&:after{position:absolute;display:block;left:0.375rem;top:0.2rem;width:1.375rem;height:1.375rem;border-radius:100%;background:", ";content:'';text-align:right;border:1px solid ", ";will-change:left;transition:left 300ms ease;box-shadow:0 0 0.375rem rgba(0,0,0,0.1);}}input:checked ~ label{background:", ";box-shadow:inset 0 0.25rem 0.25rem rgba(0,0,0,0.15);&:after{left:calc(100% - 1.75rem);box-shadow:0 0 0.375rem rgba(0,0,0,0.15);}}", " ", ""], ({
1352
- theme: theme2
1353
- }) => theme2.border, ({
1354
- theme: theme2,
461
+ theme
462
+ }) => theme.border, ({
463
+ theme,
1355
464
  anchorColor
1356
- }) => anchorColor || theme2.white, ({
1357
- theme: theme2
1358
- }) => theme2.border, ({
1359
- theme: theme2,
465
+ }) => anchorColor || theme.white, ({
466
+ theme
467
+ }) => theme.border, ({
468
+ theme,
1360
469
  background
1361
- }) => background || theme2.primary, ({
470
+ }) => background || theme.primary, ({
1362
471
  showLabel
1363
472
  }) => showLabel ? labelStyle : void 0, ({
1364
473
  disabled,
1365
- theme: theme2
1366
- }) => disabled ? css(["cursor:default;label{", " &:after{background:", ";}}input:checked ~ label{background:", ";}"], disabledColor(theme2), theme2.disabled, theme2.grey) : void 0);
474
+ theme
475
+ }) => disabled ? css(["cursor:default;label{", " &:after{background:", ";}}input:checked ~ label{background:", ";}"], disabledColor(theme), theme.disabled, theme.grey) : void 0);
476
+
1367
477
  function Accordion({
1368
478
  header,
1369
479
  show,
@@ -1437,9 +547,9 @@ function Accordion({
1437
547
  clearTimeout(timeoutId);
1438
548
  };
1439
549
  }, [show]);
1440
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { ...rest, children: [
550
+ return /* @__PURE__ */ jsxs("div", { ...rest, children: [
1441
551
  header,
1442
- /* @__PURE__ */ jsxRuntimeExports.jsx(AnimatedContent, { "aria-hidden": !show, ref, style: {
552
+ /* @__PURE__ */ jsx(AnimatedContent, { "aria-hidden": !show, ref, style: {
1443
553
  transitionDuration: `${timeout}ms`
1444
554
  }, children })
1445
555
  ] });
@@ -1448,6 +558,7 @@ const AnimatedContent = /* @__PURE__ */ styled.div.withConfig({
1448
558
  displayName: "Accordion__AnimatedContent",
1449
559
  componentId: "sc-1yjowun-0"
1450
560
  })(["will-change:opacity,height,transform;transition-property:opacity,height,transform;transition-timing-function:ease-in-out;"]);
561
+
1451
562
  function setAlign({
1452
563
  align
1453
564
  }) {
@@ -1462,6 +573,7 @@ function setAlign({
1462
573
  return "space-evenly";
1463
574
  }
1464
575
  }
576
+
1465
577
  function AppBar({
1466
578
  children,
1467
579
  align,
@@ -1470,25 +582,25 @@ function AppBar({
1470
582
  }) {
1471
583
  const [show, setShow] = useState(false);
1472
584
  const toggleMenu = () => setShow(!show);
1473
- return /* @__PURE__ */ jsxRuntimeExports.jsx(NavBar, { role: "navigation", ...rest, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("nav", { children: [
585
+ return /* @__PURE__ */ jsx(NavBar, { role: "navigation", ...rest, children: /* @__PURE__ */ jsxs("nav", { children: [
1474
586
  brand,
1475
- children && /* @__PURE__ */ jsxRuntimeExports.jsxs(Burger, { className: show ? "active" : void 0, onClick: toggleMenu, children: [
1476
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", {}),
1477
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", {}),
1478
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", {})
587
+ children && /* @__PURE__ */ jsxs(Burger, { className: show ? "active" : void 0, onClick: toggleMenu, children: [
588
+ /* @__PURE__ */ jsx("span", {}),
589
+ /* @__PURE__ */ jsx("span", {}),
590
+ /* @__PURE__ */ jsx("span", {})
1479
591
  ] }),
1480
- /* @__PURE__ */ jsxRuntimeExports.jsx(NavContent, { className: show ? "active" : void 0, align, children })
592
+ /* @__PURE__ */ jsx(NavContent, { className: show ? "active" : void 0, align, children })
1481
593
  ] }) });
1482
594
  }
1483
595
  function setColor$1({
1484
596
  color,
1485
- theme: theme2,
597
+ theme,
1486
598
  backdrop
1487
599
  }) {
1488
- const backgroundColor = color ? theme2[color] : "transparent";
1489
- const textColor = findColorInvert(theme2, backgroundColor === "transparent" ? theme2.background : backgroundColor);
600
+ const backgroundColor = color ? theme[color] : "transparent";
601
+ const textColor = findColorInvert(theme, backgroundColor === "transparent" ? theme.background : backgroundColor);
1490
602
  if (backdrop) {
1491
- const backColor = transparentize(0.2, backgroundColor === "transparent" ? theme2.white : backgroundColor);
603
+ const backColor = transparentize(0.2, backgroundColor === "transparent" ? theme.white : backgroundColor);
1492
604
  return css(["background-color:", ";color:", ";"], backColor, textColor);
1493
605
  }
1494
606
  return css(["background-color:", ";color:", ";"], backgroundColor, textColor);
@@ -1520,7 +632,8 @@ const NavContent = /* @__PURE__ */ styled.div.withConfig({
1520
632
  })(["display:flex;flex-direction:row;justify-content:space-between;align-items:center;flex-basis:auto;flex-grow:1;height:100%;& > ul{display:flex;flex-direction:row;list-style:none;flex-grow:1;flex-basis:100%;height:inherit;align-items:center;justify-content:", ";li{padding:0.85rem;}}& > div,& > span,& > form{display:flex;", "}", "{width:100%;flex-direction:column;align-items:flex-start;height:auto;padding-bottom:0.5rem;&:not(.active){display:none;}& > ul{flex-direction:column;align-items:flex-start;width:100%;flex-basis:auto;li{padding:.5rem 0;}}& > div,& > span,& > form{padding:.5rem 0;width:100%;}}"], setAlign, ({
1521
633
  color
1522
634
  }) => color ? `color: ${color};` : "", mediaMobile);
1523
- const Portal = require$$0.forwardRef(({
635
+
636
+ const Portal = React.forwardRef(({
1524
637
  children,
1525
638
  container,
1526
639
  disabled
@@ -1547,6 +660,7 @@ const Portal = require$$0.forwardRef(({
1547
660
  });
1548
661
  Portal.displayName = "Portal";
1549
662
  const Portal$1 = Portal;
663
+
1550
664
  function Tooltip$1({
1551
665
  children,
1552
666
  position = "bottom",
@@ -1557,7 +671,7 @@ function Tooltip$1({
1557
671
  x: 0,
1558
672
  y: 6
1559
673
  },
1560
- clientPoint,
674
+ clientPoint = false,
1561
675
  disabled
1562
676
  }) {
1563
677
  const [open, setOpen] = useState(false);
@@ -1582,13 +696,13 @@ function Tooltip$1({
1582
696
  }), useClientPoint(context, {
1583
697
  enabled: clientPoint
1584
698
  })]);
1585
- const child = typeof children === "string" ? /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children }) : children;
1586
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
699
+ const child = typeof children === "string" ? /* @__PURE__ */ jsx("span", { children }) : children;
700
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
1587
701
  cloneElement(Children.only(child), {
1588
702
  ref: refs.setReference,
1589
703
  ...getReferenceProps()
1590
704
  }),
1591
- /* @__PURE__ */ jsxRuntimeExports.jsx(Portal$1, { children: open ? /* @__PURE__ */ jsxRuntimeExports.jsx(FloatingFocusManager, { context, modal: false, children: /* @__PURE__ */ jsxRuntimeExports.jsx(TooltipWrapper, { className, ref: refs.setFloating, role: "tooltip", $color: color, style: floatingStyles, ...getFloatingProps(), children: label }) }) : null })
705
+ /* @__PURE__ */ jsx(Portal$1, { children: open ? /* @__PURE__ */ jsx(FloatingFocusManager, { context, modal: false, children: /* @__PURE__ */ jsx(TooltipWrapper, { className, ref: refs.setFloating, role: "tooltip", $color: color, style: floatingStyles, ...getFloatingProps(), children: label }) }) : null })
1592
706
  ] });
1593
707
  }
1594
708
  const TooltipWrapper = /* @__PURE__ */ styled.div.withConfig({
@@ -1596,86 +710,33 @@ const TooltipWrapper = /* @__PURE__ */ styled.div.withConfig({
1596
710
  componentId: "sc-1xyhucq-0"
1597
711
  })(["position:relative;box-shadow:0 1px 2px 0 rgba(0,0,0,0.05);z-index:9999;padding:0.375rem 0.625rem;cursor:default;white-space:pre;font-size:0.85rem;z-index:9999;background-color:", ";&:focus{outline:none;}"], ({
1598
712
  $color,
1599
- theme: theme2
1600
- }) => $color ? theme2[$color] || theme2.background : theme2.background);
713
+ theme
714
+ }) => $color ? theme[$color] || theme.background : theme.background);
715
+
1601
716
  const Box = styled.div.withConfig({
717
+ shouldForwardProp: (name) => name !== "color" && name !== "borderless"
718
+ }).withConfig({
1602
719
  displayName: "Box",
1603
720
  componentId: "sc-kc6ybp-0"
1604
721
  })(["position:relative;display:flex;flex-direction:column;border:", ";border-radius:", ";width:100%;min-width:0;word-wrap:break-word;", ""], ({
1605
722
  borderless,
1606
- theme: theme2
1607
- }) => borderless ? "none" : `1px solid ${theme2.border}`, ({
1608
- theme: theme2
1609
- }) => theme2.radius, ({
723
+ theme
724
+ }) => borderless ? "none" : `1px solid ${theme.border}`, ({
725
+ theme
726
+ }) => theme.radius, ({
1610
727
  color,
1611
- theme: theme2
728
+ theme
1612
729
  }) => {
1613
730
  if (!color)
1614
731
  return void 0;
1615
- const target = theme2[color] || color;
1616
- const invertColor = findColorInvert(theme2, target);
732
+ const target = theme[color] || color;
733
+ const invertColor = findColorInvert(theme, target);
1617
734
  return {
1618
735
  backgroundColor: target,
1619
736
  color: invertColor
1620
737
  };
1621
738
  });
1622
- const CardBody = /* @__PURE__ */ styled.div.withConfig({
1623
- displayName: "Card__CardBody",
1624
- componentId: "sc-1xqn2rf-0"
1625
- })(["padding:1.25rem;margin:0;"]);
1626
- const CardHeader = /* @__PURE__ */ styled.header.withConfig({
1627
- displayName: "Card__CardHeader",
1628
- componentId: "sc-1xqn2rf-1"
1629
- })(["display:flex;padding:0.5rem 1.5rem;min-height:3.5rem;border-bottom:1px solid ", ";align-items:center;justify-content:space-between;"], ({
1630
- theme: theme2
1631
- }) => theme2.border);
1632
- const CardFooter = /* @__PURE__ */ styled.footer.withConfig({
1633
- displayName: "Card__CardFooter",
1634
- componentId: "sc-1xqn2rf-2"
1635
- })(["display:flex;padding:0.5rem 1.5rem;min-height:3.5rem;border-top:1px solid ", ";align-items:center;justify-content:space-between;"], ({
1636
- theme: theme2
1637
- }) => theme2.border);
1638
- const CardImage = /* @__PURE__ */ styled.a.withConfig({
1639
- displayName: "Card__CardImage",
1640
- componentId: "sc-1xqn2rf-3"
1641
- })(["width:100%;img{width:100%;padding:0;margin:0;border-top-left-radius:3px;border-top-right-radius:3px;}"]);
1642
- const CardImageHorizontal = /* @__PURE__ */ styled.a.withConfig({
1643
- displayName: "Card__CardImageHorizontal",
1644
- componentId: "sc-1xqn2rf-4"
1645
- })(["flex:0 0 30%;min-width:5rem;width:30%;border-top-left-radius:3px;border-bottom-left-radius:3px;background:no-repeat center/cover;", ""], ({
1646
- url
1647
- }) => url ? {
1648
- backgroundImage: `url(${url})`
1649
- } : void 0);
1650
- function Card({
1651
- image,
1652
- title,
1653
- children,
1654
- horizontal,
1655
- footer,
1656
- color,
1657
- style = {},
1658
- ...rest
1659
- }) {
1660
- const header = useMemo(() => {
1661
- if (image && !horizontal)
1662
- return /* @__PURE__ */ jsxRuntimeExports.jsx(CardImage, { children: /* @__PURE__ */ jsxRuntimeExports.jsx("img", { src: image, alt: "" }) });
1663
- if (image && horizontal)
1664
- return /* @__PURE__ */ jsxRuntimeExports.jsx(CardImageHorizontal, { url: image });
1665
- if (title && !horizontal)
1666
- return /* @__PURE__ */ jsxRuntimeExports.jsx(CardHeader, { children: /* @__PURE__ */ jsxRuntimeExports.jsx("h3", { children: title }) });
1667
- return null;
1668
- }, [image, title, horizontal]);
1669
- const styles = useMemo(() => ({
1670
- flexDirection: horizontal ? "row" : "column",
1671
- ...style
1672
- }), [style, horizontal]);
1673
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(Box, { color, ...rest, style: styles, children: [
1674
- header,
1675
- /* @__PURE__ */ jsxRuntimeExports.jsx(CardBody, { children }),
1676
- footer && /* @__PURE__ */ jsxRuntimeExports.jsx(CardFooter, { children: require$$0.Children.only(footer) })
1677
- ] });
1678
- }
739
+
1679
740
  function stopPropagation$1(e) {
1680
741
  if (!e)
1681
742
  return;
@@ -1739,7 +800,7 @@ const Popover = forwardRef(({
1739
800
  } = useInteractions([useClick(context, {
1740
801
  enabled: !disabled
1741
802
  })]);
1742
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
803
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
1743
804
  cloneElement(Children.only(label), {
1744
805
  ref: refs.setReference,
1745
806
  ...getReferenceProps({
@@ -1749,9 +810,9 @@ const Popover = forwardRef(({
1749
810
  onClick: stopPropagation$1
1750
811
  })
1751
812
  }),
1752
- /* @__PURE__ */ jsxRuntimeExports.jsx(Portal$1, { children: open ? /* @__PURE__ */ jsxRuntimeExports.jsx(FloatingOverlay, { "data-testid": "visits-style-shadow", onClick: handleBlur, style: {
813
+ /* @__PURE__ */ jsx(Portal$1, { children: open ? /* @__PURE__ */ jsx(FloatingOverlay, { "data-testid": "visits-style-shadow", onClick: handleBlur, style: {
1753
814
  zIndex: 9996
1754
- }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(FloatingFocusManager, { context, modal: false, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip, { role: "tooltip", ref: refs.setFloating, color, style: floatingStyles, ...getFloatingProps({
815
+ }, children: /* @__PURE__ */ jsx(FloatingFocusManager, { context, modal: false, children: /* @__PURE__ */ jsx(Tooltip, { role: "tooltip", ref: refs.setFloating, color, style: floatingStyles, ...getFloatingProps({
1755
816
  ...rest,
1756
817
  onClick: stopPropagation$1
1757
818
  }), children }) }) }) : null })
@@ -1763,6 +824,7 @@ const Tooltip = /* @__PURE__ */ styled(Box).withConfig({
1763
824
  displayName: "Popover__Tooltip",
1764
825
  componentId: "sc-1huajr8-0"
1765
826
  })(["display:flex;box-shadow:0 1px 2px 0 rgba(0,0,0,0.05);padding:0.5rem 0;width:auto;height:auto;cursor:auto;z-index:20;"]);
827
+
1766
828
  function stopPropagation(e) {
1767
829
  if (!e)
1768
830
  return;
@@ -1772,9 +834,8 @@ function Modal({
1772
834
  show,
1773
835
  children,
1774
836
  timeout = 200,
1775
- color = "background",
837
+ padding = "0.85rem",
1776
838
  closeModal,
1777
- external,
1778
839
  closeOnOverlay,
1779
840
  closeOnEsc,
1780
841
  onExited,
@@ -1809,35 +870,38 @@ function Modal({
1809
870
  }
1810
871
  });
1811
872
  useEffect(() => {
1812
- var _a;
1813
873
  if (isTransMountedRef.current === isMounted)
1814
874
  return;
1815
875
  isTransMountedRef.current = isMounted;
1816
876
  if (isMounted)
1817
877
  return;
1818
- (_a = exitRef.current) == null ? void 0 : _a.call(exitRef);
878
+ exitRef.current?.();
1819
879
  }, [isMounted]);
1820
880
  const handleOverlayClose = (e) => {
1821
881
  if (!closeOnOverlay)
1822
882
  return;
1823
- closeModal == null ? void 0 : closeModal();
883
+ closeModal?.();
1824
884
  };
1825
885
  exitRef.current = onExited;
1826
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Portal$1, { children: isMounted ? /* @__PURE__ */ jsxRuntimeExports.jsx(Overlay, { lockScroll: true, "data-testid": "vs-modal-overlay", onClick: handleOverlayClose, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper$2, { ref: refs.setFloating, role: "dialog", style: styles, onClick: stopPropagation, children: [
1827
- /* @__PURE__ */ jsxRuntimeExports.jsx(Box, { role: "document", color, ...getFloatingProps(rest), children }),
1828
- external
1829
- ] }) }) : null });
886
+ return /* @__PURE__ */ jsx(Portal$1, { children: isMounted ? /* @__PURE__ */ jsx(Overlay, { lockScroll: true, "data-testid": "vs-modal-overlay", onClick: handleOverlayClose, style: {
887
+ padding
888
+ }, children: /* @__PURE__ */ jsx(Wrapper$2, { ref: refs.setFloating, role: "dialog", ...getFloatingProps({
889
+ ...rest,
890
+ style: styles,
891
+ onClick: stopPropagation
892
+ }), children }) }) : null });
1830
893
  }
1831
894
  const Overlay = /* @__PURE__ */ styled(FloatingOverlay).withConfig({
1832
895
  displayName: "Modal__Overlay",
1833
896
  componentId: "sc-pb7lhx-0"
1834
- })([" display:flex;display:grid;place-items:center;align-items:center;justify-content:center;background:", ";padding:0.85rem;z-index:9997;"], ({
1835
- theme: theme2
1836
- }) => theme2.backdrop);
897
+ })([" display:flex;display:grid;place-items:center;align-items:center;justify-content:center;background:", ";z-index:9997;"], ({
898
+ theme
899
+ }) => theme.backdrop);
1837
900
  const Wrapper$2 = /* @__PURE__ */ styled.div.withConfig({
1838
901
  displayName: "Modal__Wrapper",
1839
902
  componentId: "sc-pb7lhx-1"
1840
903
  })(["will-change:transform,opacity;transform-origin:center top;transition-timing-function:cubic-bezier(0.645,0.045,0.355,1);z-index:9999;"]);
904
+
1841
905
  function ToastItem({
1842
906
  className,
1843
907
  message,
@@ -1869,11 +933,10 @@ function ToastItem({
1869
933
  });
1870
934
  useEffect(() => setOpen(true), [id]);
1871
935
  useEffect(() => {
1872
- var _a;
1873
936
  if (isPrevMountedRef.current === isMounted)
1874
937
  return;
1875
938
  if (!isMounted) {
1876
- (_a = clearRef.current) == null ? void 0 : _a.call(clearRef, id);
939
+ clearRef.current?.(id);
1877
940
  }
1878
941
  isPrevMountedRef.current = isMounted;
1879
942
  }, [isMounted, id]);
@@ -1891,12 +954,13 @@ function ToastItem({
1891
954
  clearRef.current = clear;
1892
955
  if (!isMounted)
1893
956
  return null;
1894
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Item, { ref: refs.setFloating, role: "status", "data-testid": "vs-toast-item", className, style: styles, onClick: handleClickToast, children: message });
957
+ return /* @__PURE__ */ jsx(Item, { ref: refs.setFloating, role: "status", "data-testid": "vs-toast-item", className, style: styles, onClick: handleClickToast, children: message });
1895
958
  }
1896
959
  const Item = /* @__PURE__ */ styled.li.withConfig({
1897
960
  displayName: "ToastItem__Item",
1898
961
  componentId: "sc-193rp7r-0"
1899
962
  })(["position:relative;display:flex;width:fit-content;padding:0.375em 0.75em;max-width:100%;transition-timing-function:cubic-bezier(0.645,0.045,0.355,1);"]);
963
+
1900
964
  function Toast({
1901
965
  toasts,
1902
966
  clear,
@@ -1926,21 +990,27 @@ function Toast({
1926
990
  }
1927
991
  return base;
1928
992
  }, [fixed, margin, position]);
1929
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Portal$1, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(ToastList, { style, children: toasts.map((props) => /* @__PURE__ */ createElement(ToastItem, { ...props, key: props.id, clear })) }) });
993
+ return /* @__PURE__ */ jsx(Portal$1, { children: /* @__PURE__ */ jsx(ToastList, { style, children: toasts.map((props) => /* @__PURE__ */ createElement(ToastItem, { ...props, key: props.id, clear })) }) });
1930
994
  }
1931
995
  const ToastList = /* @__PURE__ */ styled.ul.withConfig({
1932
996
  displayName: "Toast__ToastList",
1933
997
  componentId: "sc-8192b2-0"
1934
998
  })(["display:flex;flex-direction:column;z-index:9999;pointer-events:none;overflow:hidden;li + li{margin-top:1rem;}"]);
999
+
1935
1000
  function getColor$1({
1936
- theme: theme2,
1001
+ theme,
1937
1002
  color
1938
1003
  }) {
1939
- const value = !color || color === "light" ? theme2.background : theme2[color];
1940
- return css(["border-color:", ";border-right-color:", ";border-top-color:", ";"], value, theme2.border, theme2.border);
1004
+ const value = !color || color === "light" ? theme.background : theme[color];
1005
+ return css(["border-color:", ";border-right-color:", ";border-top-color:", ";"], value, theme.border, theme.border);
1941
1006
  }
1942
1007
  const spin = /* @__PURE__ */ keyframes(["from{transform:rotate(0deg);}to{transform:rotate(359deg);}"]);
1008
+ function shouldForwardProp$3(name) {
1009
+ return name !== "color" && name !== "size" && name !== "borderSize";
1010
+ }
1943
1011
  const Spinner = /* @__PURE__ */ styled.div.withConfig({
1012
+ shouldForwardProp: shouldForwardProp$3
1013
+ }).withConfig({
1944
1014
  displayName: "Spinner",
1945
1015
  componentId: "sc-34g0il-0"
1946
1016
  })(["display:inline-block;width:", ";height:", ";margin:0;padding:0;position:relative;&:after{display:block;top:0;left:0;animation:", " 750ms infinite linear;border:", " solid;border-radius:100%;", ' content:"";height:100%;width:100%;position:absolute;}'], ({
@@ -1954,6 +1024,7 @@ Spinner.defaultProps = {
1954
1024
  borderSize: "2px"
1955
1025
  };
1956
1026
  const Spinner$1 = Spinner;
1027
+
1957
1028
  function setGap(width, gap) {
1958
1029
  return parseInt(width.replace("px", ""), 10) - 2 * gap;
1959
1030
  }
@@ -1964,31 +1035,33 @@ function setResponsive({
1964
1035
  return css(["padding-right:0.75rem;padding-left:0.75rem;", "{padding-right:0.5rem;padding-left:0.5rem;}"], mediaTablet);
1965
1036
  }
1966
1037
  return css(["margin-right:auto;margin-left:auto;", "{max-width:", "px;}", "{max-width:", "px;}", "{max-width:", "px;}", "{max-width:", "px;}"], mediaUntilFullHD, ({
1967
- theme: theme2
1968
- }) => setGap(theme2.media.fullhd, theme2.gutter), mediaDesktop, ({
1969
- theme: theme2
1970
- }) => setGap(theme2.media.desktop, theme2.gutter), mediaTablet, ({
1971
- theme: theme2
1972
- }) => setGap(theme2.media.tablet, theme2.smallGutter), mediaMobile, ({
1973
- theme: theme2
1974
- }) => setGap(theme2.media.mobile, theme2.smallGutter));
1038
+ theme
1039
+ }) => setGap(theme.media.fullhd, theme.gutter), mediaDesktop, ({
1040
+ theme
1041
+ }) => setGap(theme.media.desktop, theme.gutter), mediaTablet, ({
1042
+ theme
1043
+ }) => setGap(theme.media.tablet, theme.smallGutter), mediaMobile, ({
1044
+ theme
1045
+ }) => setGap(theme.media.mobile, theme.smallGutter));
1975
1046
  }
1976
1047
  const Container = styled.div.withConfig({
1977
1048
  displayName: "Container",
1978
1049
  componentId: "sc-1308ay5-0"
1979
1050
  })(["position:relative;width:100%;", ""], setResponsive);
1051
+
1980
1052
  const Row = styled.div.withConfig({
1981
1053
  displayName: "Row",
1982
1054
  componentId: "sc-1qqbtdw-0"
1983
1055
  })(["display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:wrap;margin:-", "px;padding:", "px;", "{margin:-", "px;padding:", "px;}"], ({
1984
- theme: theme2
1985
- }) => theme2.gutter / 2, ({
1986
- theme: theme2
1987
- }) => theme2.gutter / 2, mediaTablet, ({
1988
- theme: theme2
1989
- }) => theme2.smallGutter / 2, ({
1990
- theme: theme2
1991
- }) => theme2.smallGutter / 2);
1056
+ theme
1057
+ }) => theme.gutter / 2, ({
1058
+ theme
1059
+ }) => theme.gutter / 2, mediaTablet, ({
1060
+ theme
1061
+ }) => theme.smallGutter / 2, ({
1062
+ theme
1063
+ }) => theme.smallGutter / 2);
1064
+
1992
1065
  const sizes = ["auto", "8.3333333%", "16.666667%", "25%", "33.333333%", "41.666667%", "50%", "58.333333%", "66.666667%", "75%", "83.333333%", "91.666667%", "100%"];
1993
1066
  function setAutoSize({
1994
1067
  size,
@@ -2004,8 +1077,8 @@ const Col = /* @__PURE__ */ styled.div.withConfig({
2004
1077
  displayName: "Col",
2005
1078
  componentId: "sc-16i9d04-0"
2006
1079
  })(["display:flex;flex:0 0 auto;flex-direction:row;flex-wrap:wrap;padding:", "px;", " ", " ", "{padding:", "px;}", ""], ({
2007
- theme: theme2
2008
- }) => theme2.gutter / 2, ({
1080
+ theme
1081
+ }) => theme.gutter / 2, ({
2009
1082
  size
2010
1083
  }) => size ? {
2011
1084
  flexBasis: sizes[size],
@@ -2015,79 +1088,93 @@ const Col = /* @__PURE__ */ styled.div.withConfig({
2015
1088
  flexBasis: 0,
2016
1089
  maxWidth: "100%"
2017
1090
  }, ({
2018
- offset: offset2
2019
- }) => offset2 ? {
2020
- marginLeft: sizes[offset2]
1091
+ offset
1092
+ }) => offset ? {
1093
+ marginLeft: sizes[offset]
2021
1094
  } : void 0, mediaTablet, ({
2022
- theme: theme2
2023
- }) => theme2.smallGutter / 2, setAutoSize);
1095
+ theme
1096
+ }) => theme.smallGutter / 2, setAutoSize);
2024
1097
  Col.defaultProps = {
2025
1098
  size: 0,
2026
1099
  offset: 0
2027
1100
  };
2028
1101
  const Col$1 = Col;
1102
+
2029
1103
  const index$3 = styled.div.withConfig({
2030
1104
  displayName: "Content",
2031
1105
  componentId: "sc-180oh4h-0"
2032
1106
  })(["color:", ";line-height:1.5;li + li{margin-top:0.25em;}p,dl,ol,ul,blockquote,pre,table{&:not(:last-child){margin-bottom:1em;}}h1,h2,h3,h4,h5,h6{font-weight:600;line-height:1.125;}h1{font-size:2rem;margin-bottom:0.5em;}h2{font-size:1.75em;margin-bottom:0.5714em;&:not(:first-child){margin-top:1.1428em;}}h3{font-size:1.5em;margin-bottom:0.6666em;&:not(:first-child){margin-top:1.3333em;}}h4{font-size:1.25em;margin-bottom:0.8em;}h5{font-size:1.125em;margin-bottom:0.8888em;}h6{font-size:1em;margin-bottom:1em;}ol{list-style:decimal outside;margin-left:2em;margin-top:1em;}ul{list-style:disc outside;margin-left:2em;margin-top:1em;ul{list-style-type:circle;margin-top:0.5em;ul{list-style-type:square;}}}dd{margin-left:2em;}table{width:100%;td,th{border:1px solid ", ";border-width:0 0 1px;padding:0.5em 0.75em;vertical-align:top;}th{color:", ";text-align:left;}thead{td,th{border-width:0 0 2px;color:", ";}}tfoot{td,th{border-width:2px 0 0;color:", ";}}tbody > tr:last-child{td,th{border-bottom-width:0;}}}"], ({
2033
- theme: theme2
2034
- }) => theme2.text, ({
2035
- theme: theme2
2036
- }) => theme2.border, ({
2037
- theme: theme2
2038
- }) => theme2.text, ({
2039
- theme: theme2
2040
- }) => theme2.text, ({
2041
- theme: theme2
2042
- }) => theme2.text);
1107
+ theme
1108
+ }) => theme.text, ({
1109
+ theme
1110
+ }) => theme.border, ({
1111
+ theme
1112
+ }) => theme.text, ({
1113
+ theme
1114
+ }) => theme.text, ({
1115
+ theme
1116
+ }) => theme.text);
1117
+
2043
1118
  const setAnimation = ({
2044
- theme: theme2
2045
- }) => keyframes(["0%{background-color:", ";}50%{background-color:", ";}100%{background-color:", ";}"], theme2.greyLighter, theme2.grey, theme2.greyLighter);
1119
+ theme
1120
+ }) => keyframes(["0%{background-color:", ";}50%{background-color:", ";}100%{background-color:", ";}"], theme.greyLighter, theme.grey, theme.greyLighter);
2046
1121
  const index$2 = styled.span.withConfig({
2047
1122
  displayName: "Placeholder",
2048
1123
  componentId: "sc-1091c0n-0"
2049
1124
  })(["display:inline-block;height:1rem;width:100%;animation:", " 3.5s ease infinite;border-radius:", ";opacity:0.125;"], setAnimation, ({
2050
- theme: theme2
2051
- }) => theme2.radius);
1125
+ theme
1126
+ }) => theme.radius);
1127
+
2052
1128
  function setColor({
2053
- theme: theme2,
1129
+ theme,
2054
1130
  color,
2055
1131
  outline,
2056
1132
  disabled
2057
1133
  }) {
2058
1134
  if (disabled) {
2059
- return disabledColor(theme2);
1135
+ return disabledColor(theme);
2060
1136
  }
2061
1137
  if (!color) {
2062
- return css(["border-color:", ";color:", ";&:hover{border-color:", ";}&:active{border-color:", ";}"], theme2.border, theme2.text, theme2.borderHover, theme2.borderActive);
1138
+ return css(["border-color:", ";color:", ";&:hover{border-color:", ";}&:active{border-color:", ";}"], theme.border, theme.text, theme.borderHover, theme.borderActive);
2063
1139
  }
2064
- const target = theme2[color] || color;
2065
- const invertColor = findColorInvert(theme2, target);
1140
+ const target = theme[color] || color;
1141
+ const invertColor = findColorInvert(theme, target);
2066
1142
  if (outline) {
2067
1143
  return css(["background-color:transparent;border-color:", ";color:", ";&:hover{background-color:", ";color:", ";}&:active{background-color:", ";}&:focus:not(:active){", "}"], target, target, target, invertColor, darken(0.1, target), boxShadow("0.1rem", target, 0.5));
2068
1144
  }
2069
1145
  return css(["background-color:", ";border-color:transparent;color:", ";box-shadow:none;&:hover{color:", ";background-color:", ";}&:active{background-color:", ";}&:focus:not(:active){", "}"], target, invertColor, invertColor, darken(0.05, target), darken(0.1, target), boxShadow("0.1rem", target, 0.5));
2070
1146
  }
1147
+ function shouldForwardProp$2(name) {
1148
+ return name !== "color" && name !== "size" && name !== "outline" && name !== "round" && name !== "icon";
1149
+ }
2071
1150
  const Button = styled.button.withConfig({
1151
+ shouldForwardProp: shouldForwardProp$2
1152
+ }).withConfig({
2072
1153
  displayName: "Button",
2073
1154
  componentId: "sc-f6cc58-0"
2074
1155
  })(["position:relative;outline:none;appearance:none;box-sizing:border-box;display:inline-block;text-align:center;white-space:nowrap;cursor:pointer;justify-content:center;vertical-align:middle;user-select:none;background:transparent;border:1px solid transparent;border-radius:", ";padding:", ";line-height:", ";", " ", ""], ({
2075
1156
  round,
2076
- theme: theme2
2077
- }) => round ? "2456189px" : theme2.radius, ({
1157
+ theme
1158
+ }) => round ? "2456189px" : theme.radius, ({
2078
1159
  icon
2079
1160
  }) => icon ? "0.375em" : "0.375em 0.75em", ({
2080
1161
  icon
2081
1162
  }) => icon ? 1 : 1.5, setColor, ({
2082
1163
  size
2083
1164
  }) => setSize("font-size", size));
1165
+
1166
+ function shouldForwardProp$1(name) {
1167
+ return name !== "color" && name !== "size" && name !== "pure" && name !== "underline" && name !== "round" && name !== "icon";
1168
+ }
2084
1169
  const TextButton = styled.button.withConfig({
1170
+ shouldForwardProp: shouldForwardProp$1
1171
+ }).withConfig({
2085
1172
  displayName: "TextButton",
2086
1173
  componentId: "sc-14wzat7-0"
2087
1174
  })(["background-color:transparent;border:none;cursor:pointer;display:inline;margin:0;border-radius:", ";padding:", ";line-height:", ";color:", ";", " &:hover,&:focus{", " ", "}&:focus,&:active{outline:none;}&:active{", "}", ""], ({
2088
1175
  round,
2089
- theme: theme2
2090
- }) => round ? "2456189px" : theme2.radius, ({
1176
+ theme
1177
+ }) => round ? "2456189px" : theme.radius, ({
2091
1178
  pure,
2092
1179
  icon
2093
1180
  }) => {
@@ -2100,8 +1187,8 @@ const TextButton = styled.button.withConfig({
2100
1187
  icon
2101
1188
  }) => icon ? 1 : 1.5, ({
2102
1189
  color,
2103
- theme: theme2
2104
- }) => color ? theme2[color] : theme2.text, ({
1190
+ theme
1191
+ }) => color ? theme[color] : theme.text, ({
2105
1192
  size
2106
1193
  }) => setSize("font-size", size), ({
2107
1194
  underline
@@ -2109,24 +1196,26 @@ const TextButton = styled.button.withConfig({
2109
1196
  textDecoration: "underline"
2110
1197
  } : void 0, ({
2111
1198
  pure,
2112
- theme: theme2,
1199
+ theme,
2113
1200
  color
2114
1201
  }) => pure ? void 0 : {
2115
- background: transparentize(0.9, color ? theme2[color] || theme2.text : theme2.text)
1202
+ background: transparentize(0.9, color ? theme[color] || theme.text : theme.text)
2116
1203
  }, ({
2117
1204
  pure,
2118
- theme: theme2,
1205
+ theme,
2119
1206
  color
2120
1207
  }) => pure ? void 0 : {
2121
- background: transparentize(0.8, color ? theme2[color] || theme2.text : theme2.text)
1208
+ background: transparentize(0.8, color ? theme[color] || theme.text : theme.text)
2122
1209
  }, ({
2123
1210
  disabled,
2124
- theme: theme2
2125
- }) => disabled ? css(["color:", ";cursor:default;&:hover{background:transparent;text-decoration:none;}"], transparentize(0.75, theme2.textDark)) : void 0);
1211
+ theme
1212
+ }) => disabled ? css(["color:", ";cursor:default;&:hover{background:transparent;text-decoration:none;}"], transparentize(0.75, theme.textDark)) : void 0);
1213
+
2126
1214
  const ButtonGroup = styled.div.withConfig({
2127
1215
  displayName: "ButtonGroup",
2128
1216
  componentId: "sc-b4d11t-0"
2129
1217
  })(["display:inline-block;&:not(:last-child){margin-right:0.5rem;}", "{margin:0;border-radius:0;&:hover{z-index:1;}&:first-child{border-top-left-radius:4px;border-bottom-left-radius:4px;}&:not(:first-child){margin-left:-1px;}&:last-child{border-top-right-radius:4px;border-bottom-right-radius:4px;}}"], Button);
1218
+
2130
1219
  const stripedStyle = /* @__PURE__ */ css(["tbody > tr:nth-child(odd){background-color:rgba(0,0,0,0.02);}"]);
2131
1220
  const hoverStyle = /* @__PURE__ */ css(["tbody > tr:hover{background-color:rgba(0,0,0,0.04);}"]);
2132
1221
  const index$1 = styled.table.withConfig({
@@ -2135,15 +1224,16 @@ const index$1 = styled.table.withConfig({
2135
1224
  })(["", " max-width:100%;margin-bottom:1rem;background-color:transparent;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;td,th{vertical-align:top;padding:0.75rem;", " border-width:0 0 1px;}th{white-space:nowrap;}", " ", " ", ""], ({
2136
1225
  full
2137
1226
  }) => full ? css(["width:100%;"]) : void 0, ({
2138
- theme: theme2,
1227
+ theme,
2139
1228
  bordered
2140
- }) => bordered ? css(["border:1px solid ", ";"], theme2.border) : void 0, ({
1229
+ }) => bordered ? css(["border:1px solid ", ";"], theme.border) : void 0, ({
2141
1230
  striped
2142
1231
  }) => striped ? stripedStyle : void 0, ({
2143
1232
  hover
2144
1233
  }) => hover ? hoverStyle : void 0, ({
2145
1234
  headerStyle
2146
1235
  }) => headerStyle ? css(["th{", "}"], headerStyle) : void 0);
1236
+
2147
1237
  function Progress({
2148
1238
  value,
2149
1239
  max,
@@ -2151,7 +1241,7 @@ function Progress({
2151
1241
  ...rest
2152
1242
  }) {
2153
1243
  const percent = useMemo(() => value ? Math.round(value / max * 100) : 0, [value, max]);
2154
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Wrapper$1, { color, ...rest, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { role: "progressbar", "aria-label": "progress", className: value !== max ? "in-progress" : void 0, style: {
1244
+ return /* @__PURE__ */ jsx(Wrapper$1, { color, ...rest, children: /* @__PURE__ */ jsx("div", { role: "progressbar", "aria-label": "progress", className: value !== max ? "in-progress" : void 0, style: {
2155
1245
  width: `${percent > 100 ? 100 : percent}%`
2156
1246
  } }) });
2157
1247
  }
@@ -2159,54 +1249,62 @@ const Wrapper$1 = /* @__PURE__ */ styled.div.withConfig({
2159
1249
  displayName: "Progress__Wrapper",
2160
1250
  componentId: "sc-807hhi-0"
2161
1251
  })(["position:relative;display:block;width:100%;border-radius:", ";background-color:", ";", ' & > div[role="progressbar"]{position:relative;height:100%;border-radius:', ";background-color:", ";&.in-progress{border-bottom-right-radius:0;border-top-right-radius:0;}will-change:width;transition-property:width;transition-duration:350ms;transition-timing-function:cubic-bezier(0.645,0.045,0.355,1);z-index:1;}"], ({
2162
- theme: theme2
2163
- }) => theme2.radius, ({
2164
- theme: theme2
2165
- }) => theme2.background, ({
1252
+ theme
1253
+ }) => theme.radius, ({
1254
+ theme
1255
+ }) => theme.background, ({
2166
1256
  size,
2167
1257
  height
2168
1258
  }) => height || setSize("height", size), ({
2169
- theme: theme2
2170
- }) => theme2.radius, ({
1259
+ theme
1260
+ }) => theme.radius, ({
2171
1261
  color,
2172
- theme: theme2
2173
- }) => theme2[color] || color);
1262
+ theme
1263
+ }) => theme[color] || color);
1264
+
2174
1265
  const index = styled.hr.withConfig({
2175
1266
  displayName: "Divider",
2176
1267
  componentId: "sc-13lwfus-0"
2177
1268
  })(["border:none;height:1px;margin:0;flex-shrink:0;background-color:", ";"], ({
2178
- theme: theme2
2179
- }) => theme2.border);
1269
+ theme
1270
+ }) => theme.border);
1271
+
2180
1272
  function Close(props) {
2181
- return /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", viewBox: "0 0 30 30", ...props, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("g", { fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", children: [
2182
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M25.999 26l-12.5-12.5L25.999 1" }),
2183
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M1 26l12.5-12.5L1 1" })
1273
+ return /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", viewBox: "0 0 30 30", ...props, children: /* @__PURE__ */ jsxs("g", { fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", children: [
1274
+ /* @__PURE__ */ jsx("path", { d: "M25.999 26l-12.5-12.5L25.999 1" }),
1275
+ /* @__PURE__ */ jsx("path", { d: "M1 26l12.5-12.5L1 1" })
2184
1276
  ] }) });
2185
1277
  }
2186
- function getColor(theme2, color) {
2187
- return !color || color === "light" ? theme2.background : theme2[color];
1278
+
1279
+ function getColor(theme, color) {
1280
+ return !color || color === "light" ? theme.background : theme[color];
2188
1281
  }
2189
1282
  const closeCss = /* @__PURE__ */ css(["padding-right:1.625rem;", "{display:flex;position:absolute;align-items:center;color:inherit;top:0;right:0;bottom:0;padding:0 0.35rem;svg{width:0.625rem;height:0.625rem;}&:hover{background-color:rgba(0,0,0,0.15);}}"], TextButton);
1283
+ function shouldForwardProp(name) {
1284
+ return name !== "color" && name !== "round" && name !== "close";
1285
+ }
2190
1286
  const Wrapper = /* @__PURE__ */ styled.div.withConfig({
1287
+ shouldForwardProp
1288
+ }).withConfig({
2191
1289
  displayName: "Tag__Wrapper",
2192
1290
  componentId: "sc-10pvl04-0"
2193
1291
  })(["display:inline-flex;position:relative;font-size:0.75rem;cursor:default;padding:0.325rem 0.5rem;align-items:center;justify-content:center;height:1.5rem;border-radius:", ";white-space:nowrap;", " &:not(:last-child){margin-right:0.5rem;}", "{border-radius:0;border-top-right-radius:", ";border-bottom-right-radius:", ";}", ""], ({
2194
- theme: theme2,
1292
+ theme,
2195
1293
  round
2196
- }) => round ? "50rem" : theme2.radius, ({
1294
+ }) => round ? "50rem" : theme.radius, ({
2197
1295
  color,
2198
- theme: theme2
1296
+ theme
2199
1297
  }) => {
2200
- const target = getColor(theme2, color);
2201
- const invertColor = findColorInvert(theme2, target);
1298
+ const target = getColor(theme, color);
1299
+ const invertColor = findColorInvert(theme, target);
2202
1300
  return css(["color:", ";background-color:", ";a,span{color:", ";}"], invertColor, target, invertColor);
2203
1301
  }, TextButton, ({
2204
- theme: theme2,
1302
+ theme,
2205
1303
  round
2206
- }) => round ? "50rem" : theme2.radius, ({
2207
- theme: theme2,
1304
+ }) => round ? "50rem" : theme.radius, ({
1305
+ theme,
2208
1306
  round
2209
- }) => round ? "50rem" : theme2.radius, ({
1307
+ }) => round ? "50rem" : theme.radius, ({
2210
1308
  close
2211
1309
  }) => close ? closeCss : void 0);
2212
1310
  function Tag({
@@ -2214,72 +1312,82 @@ function Tag({
2214
1312
  onClose,
2215
1313
  ...rest
2216
1314
  }) {
2217
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper, { close: !!onClose, ...rest, children: [
1315
+ return /* @__PURE__ */ jsxs(Wrapper, { close: !!onClose, ...rest, children: [
2218
1316
  children,
2219
- onClose && /* @__PURE__ */ jsxRuntimeExports.jsx(TextButton, { onClick: onClose, pure: true, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Close, {}) })
1317
+ onClose && /* @__PURE__ */ jsx(TextButton, { onClick: onClose, pure: true, children: /* @__PURE__ */ jsx(Close, {}) })
2220
1318
  ] });
2221
1319
  }
1320
+
2222
1321
  function Approved(props) {
2223
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", viewBox: "0 0 30 30", ...props, children: [
2224
- /* @__PURE__ */ jsxRuntimeExports.jsxs("g", { fill: "none", children: [
2225
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M15 29c-3.74 0-7.255-1.456-9.9-4.1A13.908 13.908 0 011 15c0-3.74 1.456-7.255 4.1-9.9A13.908 13.908 0 0115 1c3.74 0 7.255 1.456 9.9 4.1A13.908 13.908 0 0129 15c0 3.74-1.456 7.255-4.1 9.9A13.908 13.908 0 0115 29z" }),
2226
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M15 2a12.915 12.915 0 00-9.192 3.808A12.915 12.915 0 002 15c0 3.472 1.352 6.737 3.808 9.192A12.915 12.915 0 0015 28c3.472 0 6.737-1.352 9.192-3.808A12.915 12.915 0 0028 15c0-3.472-1.352-6.737-3.808-9.192A12.915 12.915 0 0015 2m0-2c8.284 0 15 6.716 15 15 0 8.284-6.716 15-15 15-8.284 0-15-6.716-15-15C0 6.716 6.716 0 15 0z", fill: "currentColor" })
1322
+ return /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", viewBox: "0 0 30 30", ...props, children: [
1323
+ /* @__PURE__ */ jsxs("g", { fill: "none", children: [
1324
+ /* @__PURE__ */ jsx("path", { d: "M15 29c-3.74 0-7.255-1.456-9.9-4.1A13.908 13.908 0 011 15c0-3.74 1.456-7.255 4.1-9.9A13.908 13.908 0 0115 1c3.74 0 7.255 1.456 9.9 4.1A13.908 13.908 0 0129 15c0 3.74-1.456 7.255-4.1 9.9A13.908 13.908 0 0115 29z" }),
1325
+ /* @__PURE__ */ jsx("path", { d: "M15 2a12.915 12.915 0 00-9.192 3.808A12.915 12.915 0 002 15c0 3.472 1.352 6.737 3.808 9.192A12.915 12.915 0 0015 28c3.472 0 6.737-1.352 9.192-3.808A12.915 12.915 0 0028 15c0-3.472-1.352-6.737-3.808-9.192A12.915 12.915 0 0015 2m0-2c8.284 0 15 6.716 15 15 0 8.284-6.716 15-15 15-8.284 0-15-6.716-15-15C0 6.716 6.716 0 15 0z", fill: "currentColor" })
2227
1326
  ] }),
2228
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M11.515 18.466l-3.878-3.985L6 16.005l5.59 5.59 11.562-11.533-1.7-1.595z", fill: "currentColor" })
1327
+ /* @__PURE__ */ jsx("path", { d: "M11.515 18.466l-3.878-3.985L6 16.005l5.59 5.59 11.562-11.533-1.7-1.595z", fill: "currentColor" })
2229
1328
  ] });
2230
1329
  }
1330
+
2231
1331
  function ChevronLeftRound(props) {
2232
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", viewBox: "0 0 30 30", ...props, children: [
2233
- /* @__PURE__ */ jsxRuntimeExports.jsxs("g", { fill: "none", children: [
2234
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M15 29c-3.74 0-7.255-1.456-9.9-4.1A13.908 13.908 0 011 15c0-3.74 1.456-7.255 4.1-9.9A13.908 13.908 0 0115 1c3.74 0 7.255 1.456 9.9 4.1A13.908 13.908 0 0129 15c0 3.74-1.456 7.255-4.1 9.9A13.908 13.908 0 0115 29z" }),
2235
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M15 2a12.915 12.915 0 00-9.192 3.808A12.915 12.915 0 002 15c0 3.472 1.352 6.737 3.808 9.192A12.915 12.915 0 0015 28c3.472 0 6.737-1.352 9.192-3.808A12.915 12.915 0 0028 15c0-3.472-1.352-6.737-3.808-9.192A12.915 12.915 0 0015 2m0-2c8.284 0 15 6.716 15 15 0 8.284-6.716 15-15 15-8.284 0-15-6.716-15-15C0 6.716 6.716 0 15 0z", fill: "currentColor" })
1332
+ return /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", viewBox: "0 0 30 30", ...props, children: [
1333
+ /* @__PURE__ */ jsxs("g", { fill: "none", children: [
1334
+ /* @__PURE__ */ jsx("path", { d: "M15 29c-3.74 0-7.255-1.456-9.9-4.1A13.908 13.908 0 011 15c0-3.74 1.456-7.255 4.1-9.9A13.908 13.908 0 0115 1c3.74 0 7.255 1.456 9.9 4.1A13.908 13.908 0 0129 15c0 3.74-1.456 7.255-4.1 9.9A13.908 13.908 0 0115 29z" }),
1335
+ /* @__PURE__ */ jsx("path", { d: "M15 2a12.915 12.915 0 00-9.192 3.808A12.915 12.915 0 002 15c0 3.472 1.352 6.737 3.808 9.192A12.915 12.915 0 0015 28c3.472 0 6.737-1.352 9.192-3.808A12.915 12.915 0 0028 15c0-3.472-1.352-6.737-3.808-9.192A12.915 12.915 0 0015 2m0-2c8.284 0 15 6.716 15 15 0 8.284-6.716 15-15 15-8.284 0-15-6.716-15-15C0 6.716 6.716 0 15 0z", fill: "currentColor" })
2236
1336
  ] }),
2237
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M18.066 8.5l-7.567 6.731 7.567 6.2", fill: "none", stroke: "currentColor", strokeWidth: "2" })
1337
+ /* @__PURE__ */ jsx("path", { d: "M18.066 8.5l-7.567 6.731 7.567 6.2", fill: "none", stroke: "currentColor", strokeWidth: "2" })
2238
1338
  ] });
2239
1339
  }
1340
+
2240
1341
  function ChevronRightRound(props) {
2241
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", viewBox: "0 0 30 30", ...props, children: [
2242
- /* @__PURE__ */ jsxRuntimeExports.jsxs("g", { fill: "none", children: [
2243
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M15 1c3.74 0 7.255 1.456 9.9 4.1A13.908 13.908 0 0129 15c0 3.74-1.456 7.255-4.1 9.9A13.908 13.908 0 0115 29c-3.74 0-7.255-1.456-9.9-4.1A13.908 13.908 0 011 15c0-3.74 1.456-7.255 4.1-9.9A13.908 13.908 0 0115 1z" }),
2244
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M15 28c3.472 0 6.737-1.352 9.192-3.808A12.915 12.915 0 0028 15c0-3.472-1.352-6.737-3.808-9.192A12.915 12.915 0 0015 2a12.915 12.915 0 00-9.192 3.808A12.915 12.915 0 002 15c0 3.472 1.352 6.737 3.808 9.192A12.915 12.915 0 0015 28m0 2C6.716 30 0 23.284 0 15 0 6.716 6.716 0 15 0c8.284 0 15 6.716 15 15 0 8.284-6.716 15-15 15z", fill: "currentColor" })
1342
+ return /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", viewBox: "0 0 30 30", ...props, children: [
1343
+ /* @__PURE__ */ jsxs("g", { fill: "none", children: [
1344
+ /* @__PURE__ */ jsx("path", { d: "M15 1c3.74 0 7.255 1.456 9.9 4.1A13.908 13.908 0 0129 15c0 3.74-1.456 7.255-4.1 9.9A13.908 13.908 0 0115 29c-3.74 0-7.255-1.456-9.9-4.1A13.908 13.908 0 011 15c0-3.74 1.456-7.255 4.1-9.9A13.908 13.908 0 0115 1z" }),
1345
+ /* @__PURE__ */ jsx("path", { d: "M15 28c3.472 0 6.737-1.352 9.192-3.808A12.915 12.915 0 0028 15c0-3.472-1.352-6.737-3.808-9.192A12.915 12.915 0 0015 2a12.915 12.915 0 00-9.192 3.808A12.915 12.915 0 002 15c0 3.472 1.352 6.737 3.808 9.192A12.915 12.915 0 0015 28m0 2C6.716 30 0 23.284 0 15 0 6.716 6.716 0 15 0c8.284 0 15 6.716 15 15 0 8.284-6.716 15-15 15z", fill: "currentColor" })
2245
1346
  ] }),
2246
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M11.934 21.5l7.567-6.731-7.567-6.2", fill: "none", stroke: "currentColor", strokeWidth: "2" })
1347
+ /* @__PURE__ */ jsx("path", { d: "M11.934 21.5l7.567-6.731-7.567-6.2", fill: "none", stroke: "currentColor", strokeWidth: "2" })
2247
1348
  ] });
2248
1349
  }
1350
+
2249
1351
  function FileRound(props) {
2250
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", viewBox: "0 0 30 30", ...props, children: [
2251
- /* @__PURE__ */ jsxRuntimeExports.jsxs("g", { fill: "none", children: [
2252
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M15 29c-3.74 0-7.255-1.456-9.9-4.1A13.908 13.908 0 011 15c0-3.74 1.456-7.255 4.1-9.9A13.908 13.908 0 0115 1c3.74 0 7.255 1.456 9.9 4.1A13.908 13.908 0 0129 15c0 3.74-1.456 7.255-4.1 9.9A13.908 13.908 0 0115 29z" }),
2253
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M15 2a12.915 12.915 0 00-9.192 3.808A12.915 12.915 0 002 15c0 3.472 1.352 6.737 3.808 9.192A12.915 12.915 0 0015 28c3.472 0 6.737-1.352 9.192-3.808A12.915 12.915 0 0028 15c0-3.472-1.352-6.737-3.808-9.192A12.915 12.915 0 0015 2m0-2c8.284 0 15 6.716 15 15 0 8.284-6.716 15-15 15-8.284 0-15-6.716-15-15C0 6.716 6.716 0 15 0z", fill: "currentColor" })
1352
+ return /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", viewBox: "0 0 30 30", ...props, children: [
1353
+ /* @__PURE__ */ jsxs("g", { fill: "none", children: [
1354
+ /* @__PURE__ */ jsx("path", { d: "M15 29c-3.74 0-7.255-1.456-9.9-4.1A13.908 13.908 0 011 15c0-3.74 1.456-7.255 4.1-9.9A13.908 13.908 0 0115 1c3.74 0 7.255 1.456 9.9 4.1A13.908 13.908 0 0129 15c0 3.74-1.456 7.255-4.1 9.9A13.908 13.908 0 0115 29z" }),
1355
+ /* @__PURE__ */ jsx("path", { d: "M15 2a12.915 12.915 0 00-9.192 3.808A12.915 12.915 0 002 15c0 3.472 1.352 6.737 3.808 9.192A12.915 12.915 0 0015 28c3.472 0 6.737-1.352 9.192-3.808A12.915 12.915 0 0028 15c0-3.472-1.352-6.737-3.808-9.192A12.915 12.915 0 0015 2m0-2c8.284 0 15 6.716 15 15 0 8.284-6.716 15-15 15-8.284 0-15-6.716-15-15C0 6.716 6.716 0 15 0z", fill: "currentColor" })
2254
1356
  ] }),
2255
- /* @__PURE__ */ jsxRuntimeExports.jsxs("g", { transform: "translate(9 7)", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [
2256
- /* @__PURE__ */ jsxRuntimeExports.jsx("rect", { width: "12", height: "16", rx: "1", stroke: "none" }),
2257
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M1 1h10v14H1z" })
1357
+ /* @__PURE__ */ jsxs("g", { transform: "translate(9 7)", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [
1358
+ /* @__PURE__ */ jsx("rect", { width: "12", height: "16", rx: "1", stroke: "none" }),
1359
+ /* @__PURE__ */ jsx("path", { d: "M1 1h10v14H1z" })
2258
1360
  ] }),
2259
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { fill: "currentColor", d: "M13 11h4v1.3h-4zM13 14h4v1.3h-4zM13 17h4v1.3h-4z" })
1361
+ /* @__PURE__ */ jsx("path", { fill: "currentColor", d: "M13 11h4v1.3h-4zM13 14h4v1.3h-4zM13 17h4v1.3h-4z" })
2260
1362
  ] });
2261
1363
  }
1364
+
2262
1365
  function Pencil(props) {
2263
- return /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "17.796", height: "17.908", viewBox: "0 0 17.796 17.908", ...props, children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M1.254 12.674L.5 17.408l4.726-.8L17.3 4.472 13.281.5zM1.375 12.766l3.851 3.838M10.949 2.959l3.836 3.801", fill: "none", stroke: "currentColor" }) });
1366
+ return /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "17.796", height: "17.908", viewBox: "0 0 17.796 17.908", ...props, children: /* @__PURE__ */ jsx("path", { d: "M1.254 12.674L.5 17.408l4.726-.8L17.3 4.472 13.281.5zM1.375 12.766l3.851 3.838M10.949 2.959l3.836 3.801", fill: "none", stroke: "currentColor" }) });
2264
1367
  }
1368
+
2265
1369
  function PencilSimple(props) {
2266
- return /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { width: "15", height: "15", viewBox: "0 0 15 15", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M9.97.22a.75.75 0 011.06 0l3.75 3.75a.75.75 0 010 1.06l-9.75 9.75a.75.75 0 01-.53.22H.75a.75.75 0 01-.75-.75V10.5a.75.75 0 01.22-.53L9.97.22zM1.5 10.81v2.69h2.69l9-9-2.69-2.69-9 9z", fill: "currentColor" }) });
1370
+ return /* @__PURE__ */ jsx("svg", { width: "15", height: "15", viewBox: "0 0 15 15", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: /* @__PURE__ */ jsx("path", { d: "M9.97.22a.75.75 0 011.06 0l3.75 3.75a.75.75 0 010 1.06l-9.75 9.75a.75.75 0 01-.53.22H.75a.75.75 0 01-.75-.75V10.5a.75.75 0 01.22-.53L9.97.22zM1.5 10.81v2.69h2.69l9-9-2.69-2.69-9 9z", fill: "currentColor" }) });
2267
1371
  }
1372
+
2268
1373
  function User(props) {
2269
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", viewBox: "0 0 30 30", ...props, children: [
2270
- /* @__PURE__ */ jsxRuntimeExports.jsxs("g", { fill: "none", stroke: "currentColor", strokeWidth: "2", children: [
2271
- /* @__PURE__ */ jsxRuntimeExports.jsx("circle", { cx: "15", cy: "15", r: "15", stroke: "none" }),
2272
- /* @__PURE__ */ jsxRuntimeExports.jsx("circle", { cx: "15", cy: "15", r: "14" })
1374
+ return /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", viewBox: "0 0 30 30", ...props, children: [
1375
+ /* @__PURE__ */ jsxs("g", { fill: "none", stroke: "currentColor", strokeWidth: "2", children: [
1376
+ /* @__PURE__ */ jsx("circle", { cx: "15", cy: "15", r: "15", stroke: "none" }),
1377
+ /* @__PURE__ */ jsx("circle", { cx: "15", cy: "15", r: "14" })
2273
1378
  ] }),
2274
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M8 23a6.018 6.018 0 016-6h2a6.018 6.018 0 016 6zm2.6-2h8.9a4.033 4.033 0 00-3.5-2h-1.9a4.035 4.035 0 00-3.5 2zm.4-9v-1a4.012 4.012 0 014-4 4.012 4.012 0 014 4v1a4.012 4.012 0 01-4 4 4.012 4.012 0 01-4-4zm2-1v1a2.006 2.006 0 002 2 2.006 2.006 0 002-2v-1a2.006 2.006 0 00-2-2 2.006 2.006 0 00-2 2z", fill: "currentColor" })
1379
+ /* @__PURE__ */ jsx("path", { d: "M8 23a6.018 6.018 0 016-6h2a6.018 6.018 0 016 6zm2.6-2h8.9a4.033 4.033 0 00-3.5-2h-1.9a4.035 4.035 0 00-3.5 2zm.4-9v-1a4.012 4.012 0 014-4 4.012 4.012 0 014 4v1a4.012 4.012 0 01-4 4 4.012 4.012 0 01-4-4zm2-1v1a2.006 2.006 0 002 2 2.006 2.006 0 002-2v-1a2.006 2.006 0 00-2-2 2.006 2.006 0 00-2 2z", fill: "currentColor" })
2275
1380
  ] });
2276
1381
  }
1382
+
2277
1383
  function Refresh(props) {
2278
- return /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", viewBox: "0 0 30 30", ...props, children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M15.065 0A15.069 15.069 0 00.142 13.105a1.256 1.256 0 102.478.406c0-.027.008-.055.01-.082a12.52 12.52 0 0121.3-7.226l-2.584 2.584 7.532 1.255-1.255-7.532-1.92 1.92A15 15 0 0015.065 0zm13.7 15.589A1.255 1.255 0 0027.5 16.7a12.512 12.512 0 01-21.893 6.569l1.927-1.927L0 20.086l1.255 7.532 2.572-2.572a15.02 15.02 0 0026.16-8.023 1.256 1.256 0 00-1.064-1.423 1.273 1.273 0 00-.16-.011z", fill: "currentColor" }) });
1384
+ return /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", viewBox: "0 0 30 30", ...props, children: /* @__PURE__ */ jsx("path", { d: "M15.065 0A15.069 15.069 0 00.142 13.105a1.256 1.256 0 102.478.406c0-.027.008-.055.01-.082a12.52 12.52 0 0121.3-7.226l-2.584 2.584 7.532 1.255-1.255-7.532-1.92 1.92A15 15 0 0015.065 0zm13.7 15.589A1.255 1.255 0 0027.5 16.7a12.512 12.512 0 01-21.893 6.569l1.927-1.927L0 20.086l1.255 7.532 2.572-2.572a15.02 15.02 0 0026.16-8.023 1.256 1.256 0 00-1.064-1.423 1.273 1.273 0 00-.16-.011z", fill: "currentColor" }) });
2279
1385
  }
1386
+
2280
1387
  function Plus(props) {
2281
- return /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { width: "21", height: "21", viewBox: "0 0 21 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M9 0v9H0v3h9v9h3v-9h9V9h-9V0H9z", fill: "currentColor" }) });
1388
+ return /* @__PURE__ */ jsx("svg", { width: "21", height: "21", viewBox: "0 0 21 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: /* @__PURE__ */ jsx("path", { d: "M9 0v9H0v3h9v9h3v-9h9V9h-9V0H9z", fill: "currentColor" }) });
2282
1389
  }
1390
+
2283
1391
  const theme = {
2284
1392
  fontFamily: "-apple-system BlinkMacSystemFont, Meiryo, system-ui, sans-serif",
2285
1393
  fontSize: "16px",
@@ -2324,66 +1432,15 @@ const theme = {
2324
1432
  responsive: true
2325
1433
  };
2326
1434
  const theme$1 = theme;
1435
+
2327
1436
  /*! based on normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */
2328
1437
  const normalized = /* @__PURE__ */ css(["*,::after,::before{box-sizing:border-box;}html{line-height:1.15;-webkit-text-size-adjust:100%;-ms-overflow-style:scrollbar;}body{margin:0;font-family:", ";font-size:", ";text-align:left;}h1{font-size:2em;margin:.67em 0;}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace,monospace;font-size:1em;}a{background-color:transparent;color:", ';}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder;}code,kbd,samp{font-family:monospace,monospace;font-size:1em;}small{font-size:80%;}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}sub{bottom:-.25em;}sup{top:-.5em;}img{border-style:none;}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible;}button,select{text-transform:none;}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0;}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText;}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox;}fieldset{padding:.35em .75em .625em;}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline;resize:vertical;}textarea{overflow:auto;}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto;}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none;}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block;}summary{display:list-item;}template{display:none;}[hidden]{display:none;}blockquote,body,dd,dl,dt,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,html,iframe,legend,li,ol,p,pre,textarea,ul{margin:0;padding:0;}button{font-size:inherit;}article,aside,figure,footer,header,hgroup,section{display:block;}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0;}a{cursor:pointer;text-decoration:none;color:#3273dc;&:hover{color:currentColor;}}img{vertical-align:middle;border-style:none;}svg{overflow:hidden;vertical-align:middle;}small{font-size:.875em;}span{font-style:inherit;font-weight:inherit;}strong{color:#363636;font-weight:700;}table{border-collapse:collapse;border-spacing:0;}th{text-align:inherit;}ul{list-style-type:none;}'], ({
2329
- theme: theme2
2330
- }) => theme2 ? theme2.fontFamily : "sans-serif", ({
2331
- theme: theme2
2332
- }) => theme2 ? theme2.fontSize : "16px", ({
2333
- theme: theme2
2334
- }) => theme2.link);
1438
+ theme
1439
+ }) => theme ? theme.fontFamily : "sans-serif", ({
1440
+ theme
1441
+ }) => theme ? theme.fontSize : "16px", ({
1442
+ theme
1443
+ }) => theme.link);
2335
1444
  const normalized$1 = normalized;
2336
- export {
2337
- Accordion,
2338
- AppBar,
2339
- Box,
2340
- Button,
2341
- ButtonGroup,
2342
- Card,
2343
- Checkbox$1 as Checkbox,
2344
- Col$1 as Col,
2345
- Container,
2346
- index$3 as Content,
2347
- index as Divider,
2348
- Field,
2349
- Approved as IconApproved,
2350
- ChevronDown as IconArrowDown,
2351
- ChevronLeftRound as IconChevronLeftRound,
2352
- ChevronRightRound as IconChevronRightRound,
2353
- Close as IconClose,
2354
- FileRound as IconFileRound,
2355
- Pencil as IconPencil,
2356
- PencilSimple as IconPencilSimple,
2357
- Plus as IconPlus,
2358
- Refresh as IconRefresh,
2359
- User as IconUser,
2360
- Modal,
2361
- index$2 as Placeholder,
2362
- Popover$1 as Popover,
2363
- Portal$1 as Portal,
2364
- Progress,
2365
- index$4 as Radio,
2366
- Row,
2367
- index$5 as Select,
2368
- Spinner$1 as Spinner,
2369
- Switch$1 as Switch,
2370
- index$1 as Table,
2371
- Tag,
2372
- TextButton,
2373
- TextInput$1 as TextInput,
2374
- Textarea$1 as Textarea,
2375
- Toast,
2376
- Tooltip$1 as Tooltip,
2377
- Arrow as arrow,
2378
- boxShadow,
2379
- theme$1 as defaultTheme,
2380
- findColorInvert,
2381
- hamburger as hambuger,
2382
- mediaDesktop,
2383
- mediaFullHD,
2384
- mediaMobile,
2385
- mediaTablet,
2386
- mediaUntilFullHD,
2387
- normalized$1 as normalizeStyle,
2388
- setSize
2389
- };
1445
+
1446
+ export { Accordion, AppBar, Box, Button, ButtonGroup, Checkbox$1 as Checkbox, Col$1 as Col, Container, index$3 as Content, index as Divider, Field, Approved as IconApproved, ChevronDown as IconArrowDown, ChevronLeftRound as IconChevronLeftRound, ChevronRightRound as IconChevronRightRound, Close as IconClose, FileRound as IconFileRound, Pencil as IconPencil, PencilSimple as IconPencilSimple, Plus as IconPlus, Refresh as IconRefresh, User as IconUser, Modal, index$2 as Placeholder, Popover$1 as Popover, Portal$1 as Portal, Progress, index$4 as Radio, Row, index$5 as Select, Spinner$1 as Spinner, Switch$1 as Switch, index$1 as Table, Tag, TextButton, TextInput$1 as TextInput, Textarea$1 as Textarea, Toast, Tooltip$1 as Tooltip, Arrow as arrow, boxShadow, theme$1 as defaultTheme, findColorInvert, hamburger as hambuger, mediaDesktop, mediaFullHD, mediaMobile, mediaTablet, mediaUntilFullHD, normalized$1 as normalizeStyle, setSize };