@nearform/quantum 0.1.3 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -34,9 +34,6 @@ var __objRest = (source, exclude) => {
34
34
  }
35
35
  return target;
36
36
  };
37
- var __commonJS = (cb, mod) => function __require() {
38
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
39
- };
40
37
  var __export = (target, all) => {
41
38
  for (var name in all)
42
39
  __defProp(target, name, { get: all[name], enumerable: true });
@@ -59,3114 +56,29 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
59
56
  ));
60
57
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
61
58
 
62
- // node_modules/react/cjs/react.production.min.js
63
- var require_react_production_min = __commonJS({
64
- "node_modules/react/cjs/react.production.min.js"(exports) {
65
- "use strict";
66
- var l = Symbol.for("react.element");
67
- var n = Symbol.for("react.portal");
68
- var p = Symbol.for("react.fragment");
69
- var q = Symbol.for("react.strict_mode");
70
- var r = Symbol.for("react.profiler");
71
- var t = Symbol.for("react.provider");
72
- var u = Symbol.for("react.context");
73
- var v = Symbol.for("react.forward_ref");
74
- var w = Symbol.for("react.suspense");
75
- var x = Symbol.for("react.memo");
76
- var y = Symbol.for("react.lazy");
77
- var z = Symbol.iterator;
78
- function A(a) {
79
- if (null === a || "object" !== typeof a)
80
- return null;
81
- a = z && a[z] || a["@@iterator"];
82
- return "function" === typeof a ? a : null;
83
- }
84
- var B = { isMounted: function() {
85
- return false;
86
- }, enqueueForceUpdate: function() {
87
- }, enqueueReplaceState: function() {
88
- }, enqueueSetState: function() {
89
- } };
90
- var C = Object.assign;
91
- var D = {};
92
- function E(a, b, e) {
93
- this.props = a;
94
- this.context = b;
95
- this.refs = D;
96
- this.updater = e || B;
97
- }
98
- E.prototype.isReactComponent = {};
99
- E.prototype.setState = function(a, b) {
100
- if ("object" !== typeof a && "function" !== typeof a && null != a)
101
- throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
102
- this.updater.enqueueSetState(this, a, b, "setState");
103
- };
104
- E.prototype.forceUpdate = function(a) {
105
- this.updater.enqueueForceUpdate(this, a, "forceUpdate");
106
- };
107
- function F() {
108
- }
109
- F.prototype = E.prototype;
110
- function G(a, b, e) {
111
- this.props = a;
112
- this.context = b;
113
- this.refs = D;
114
- this.updater = e || B;
115
- }
116
- var H = G.prototype = new F();
117
- H.constructor = G;
118
- C(H, E.prototype);
119
- H.isPureReactComponent = true;
120
- var I = Array.isArray;
121
- var J = Object.prototype.hasOwnProperty;
122
- var K = { current: null };
123
- var L = { key: true, ref: true, __self: true, __source: true };
124
- function M(a, b, e) {
125
- var d, c = {}, k = null, h = null;
126
- if (null != b)
127
- for (d in void 0 !== b.ref && (h = b.ref), void 0 !== b.key && (k = "" + b.key), b)
128
- J.call(b, d) && !L.hasOwnProperty(d) && (c[d] = b[d]);
129
- var g = arguments.length - 2;
130
- if (1 === g)
131
- c.children = e;
132
- else if (1 < g) {
133
- for (var f = Array(g), m = 0; m < g; m++)
134
- f[m] = arguments[m + 2];
135
- c.children = f;
136
- }
137
- if (a && a.defaultProps)
138
- for (d in g = a.defaultProps, g)
139
- void 0 === c[d] && (c[d] = g[d]);
140
- return { $$typeof: l, type: a, key: k, ref: h, props: c, _owner: K.current };
141
- }
142
- function N(a, b) {
143
- return { $$typeof: l, type: a.type, key: b, ref: a.ref, props: a.props, _owner: a._owner };
144
- }
145
- function O(a) {
146
- return "object" === typeof a && null !== a && a.$$typeof === l;
147
- }
148
- function escape(a) {
149
- var b = { "=": "=0", ":": "=2" };
150
- return "$" + a.replace(/[=:]/g, function(a2) {
151
- return b[a2];
152
- });
153
- }
154
- var P = /\/+/g;
155
- function Q(a, b) {
156
- return "object" === typeof a && null !== a && null != a.key ? escape("" + a.key) : b.toString(36);
157
- }
158
- function R(a, b, e, d, c) {
159
- var k = typeof a;
160
- if ("undefined" === k || "boolean" === k)
161
- a = null;
162
- var h = false;
163
- if (null === a)
164
- h = true;
165
- else
166
- switch (k) {
167
- case "string":
168
- case "number":
169
- h = true;
170
- break;
171
- case "object":
172
- switch (a.$$typeof) {
173
- case l:
174
- case n:
175
- h = true;
176
- }
177
- }
178
- if (h)
179
- return h = a, c = c(h), a = "" === d ? "." + Q(h, 0) : d, I(c) ? (e = "", null != a && (e = a.replace(P, "$&/") + "/"), R(c, b, e, "", function(a2) {
180
- return a2;
181
- })) : null != c && (O(c) && (c = N(c, e + (!c.key || h && h.key === c.key ? "" : ("" + c.key).replace(P, "$&/") + "/") + a)), b.push(c)), 1;
182
- h = 0;
183
- d = "" === d ? "." : d + ":";
184
- if (I(a))
185
- for (var g = 0; g < a.length; g++) {
186
- k = a[g];
187
- var f = d + Q(k, g);
188
- h += R(k, b, e, f, c);
189
- }
190
- else if (f = A(a), "function" === typeof f)
191
- for (a = f.call(a), g = 0; !(k = a.next()).done; )
192
- k = k.value, f = d + Q(k, g++), h += R(k, b, e, f, c);
193
- else if ("object" === k)
194
- throw b = String(a), Error("Objects are not valid as a React child (found: " + ("[object Object]" === b ? "object with keys {" + Object.keys(a).join(", ") + "}" : b) + "). If you meant to render a collection of children, use an array instead.");
195
- return h;
196
- }
197
- function S(a, b, e) {
198
- if (null == a)
199
- return a;
200
- var d = [], c = 0;
201
- R(a, d, "", "", function(a2) {
202
- return b.call(e, a2, c++);
203
- });
204
- return d;
205
- }
206
- function T(a) {
207
- if (-1 === a._status) {
208
- var b = a._result;
209
- b = b();
210
- b.then(function(b2) {
211
- if (0 === a._status || -1 === a._status)
212
- a._status = 1, a._result = b2;
213
- }, function(b2) {
214
- if (0 === a._status || -1 === a._status)
215
- a._status = 2, a._result = b2;
216
- });
217
- -1 === a._status && (a._status = 0, a._result = b);
218
- }
219
- if (1 === a._status)
220
- return a._result.default;
221
- throw a._result;
222
- }
223
- var U = { current: null };
224
- var V = { transition: null };
225
- var W = { ReactCurrentDispatcher: U, ReactCurrentBatchConfig: V, ReactCurrentOwner: K };
226
- exports.Children = { map: S, forEach: function(a, b, e) {
227
- S(a, function() {
228
- b.apply(this, arguments);
229
- }, e);
230
- }, count: function(a) {
231
- var b = 0;
232
- S(a, function() {
233
- b++;
234
- });
235
- return b;
236
- }, toArray: function(a) {
237
- return S(a, function(a2) {
238
- return a2;
239
- }) || [];
240
- }, only: function(a) {
241
- if (!O(a))
242
- throw Error("React.Children.only expected to receive a single React element child.");
243
- return a;
244
- } };
245
- exports.Component = E;
246
- exports.Fragment = p;
247
- exports.Profiler = r;
248
- exports.PureComponent = G;
249
- exports.StrictMode = q;
250
- exports.Suspense = w;
251
- exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = W;
252
- exports.cloneElement = function(a, b, e) {
253
- if (null === a || void 0 === a)
254
- throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + a + ".");
255
- var d = C({}, a.props), c = a.key, k = a.ref, h = a._owner;
256
- if (null != b) {
257
- void 0 !== b.ref && (k = b.ref, h = K.current);
258
- void 0 !== b.key && (c = "" + b.key);
259
- if (a.type && a.type.defaultProps)
260
- var g = a.type.defaultProps;
261
- for (f in b)
262
- J.call(b, f) && !L.hasOwnProperty(f) && (d[f] = void 0 === b[f] && void 0 !== g ? g[f] : b[f]);
263
- }
264
- var f = arguments.length - 2;
265
- if (1 === f)
266
- d.children = e;
267
- else if (1 < f) {
268
- g = Array(f);
269
- for (var m = 0; m < f; m++)
270
- g[m] = arguments[m + 2];
271
- d.children = g;
272
- }
273
- return { $$typeof: l, type: a.type, key: c, ref: k, props: d, _owner: h };
274
- };
275
- exports.createContext = function(a) {
276
- a = { $$typeof: u, _currentValue: a, _currentValue2: a, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null };
277
- a.Provider = { $$typeof: t, _context: a };
278
- return a.Consumer = a;
279
- };
280
- exports.createElement = M;
281
- exports.createFactory = function(a) {
282
- var b = M.bind(null, a);
283
- b.type = a;
284
- return b;
285
- };
286
- exports.createRef = function() {
287
- return { current: null };
288
- };
289
- exports.forwardRef = function(a) {
290
- return { $$typeof: v, render: a };
291
- };
292
- exports.isValidElement = O;
293
- exports.lazy = function(a) {
294
- return { $$typeof: y, _payload: { _status: -1, _result: a }, _init: T };
295
- };
296
- exports.memo = function(a, b) {
297
- return { $$typeof: x, type: a, compare: void 0 === b ? null : b };
298
- };
299
- exports.startTransition = function(a) {
300
- var b = V.transition;
301
- V.transition = {};
302
- try {
303
- a();
304
- } finally {
305
- V.transition = b;
306
- }
307
- };
308
- exports.unstable_act = function() {
309
- throw Error("act(...) is not supported in production builds of React.");
310
- };
311
- exports.useCallback = function(a, b) {
312
- return U.current.useCallback(a, b);
313
- };
314
- exports.useContext = function(a) {
315
- return U.current.useContext(a);
316
- };
317
- exports.useDebugValue = function() {
318
- };
319
- exports.useDeferredValue = function(a) {
320
- return U.current.useDeferredValue(a);
321
- };
322
- exports.useEffect = function(a, b) {
323
- return U.current.useEffect(a, b);
324
- };
325
- exports.useId = function() {
326
- return U.current.useId();
327
- };
328
- exports.useImperativeHandle = function(a, b, e) {
329
- return U.current.useImperativeHandle(a, b, e);
330
- };
331
- exports.useInsertionEffect = function(a, b) {
332
- return U.current.useInsertionEffect(a, b);
333
- };
334
- exports.useLayoutEffect = function(a, b) {
335
- return U.current.useLayoutEffect(a, b);
336
- };
337
- exports.useMemo = function(a, b) {
338
- return U.current.useMemo(a, b);
339
- };
340
- exports.useReducer = function(a, b, e) {
341
- return U.current.useReducer(a, b, e);
342
- };
343
- exports.useRef = function(a) {
344
- return U.current.useRef(a);
345
- };
346
- exports.useState = function(a) {
347
- return U.current.useState(a);
348
- };
349
- exports.useSyncExternalStore = function(a, b, e) {
350
- return U.current.useSyncExternalStore(a, b, e);
351
- };
352
- exports.useTransition = function() {
353
- return U.current.useTransition();
354
- };
355
- exports.version = "18.2.0";
356
- }
357
- });
358
-
359
- // node_modules/react/cjs/react.development.js
360
- var require_react_development = __commonJS({
361
- "node_modules/react/cjs/react.development.js"(exports, module2) {
362
- "use strict";
363
- if (process.env.NODE_ENV !== "production") {
364
- (function() {
365
- "use strict";
366
- if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === "function") {
367
- __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
368
- }
369
- var ReactVersion = "18.2.0";
370
- var REACT_ELEMENT_TYPE = Symbol.for("react.element");
371
- var REACT_PORTAL_TYPE = Symbol.for("react.portal");
372
- var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
373
- var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
374
- var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
375
- var REACT_PROVIDER_TYPE = Symbol.for("react.provider");
376
- var REACT_CONTEXT_TYPE = Symbol.for("react.context");
377
- var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
378
- var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
379
- var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list");
380
- var REACT_MEMO_TYPE = Symbol.for("react.memo");
381
- var REACT_LAZY_TYPE = Symbol.for("react.lazy");
382
- var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen");
383
- var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
384
- var FAUX_ITERATOR_SYMBOL = "@@iterator";
385
- function getIteratorFn(maybeIterable) {
386
- if (maybeIterable === null || typeof maybeIterable !== "object") {
387
- return null;
388
- }
389
- var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
390
- if (typeof maybeIterator === "function") {
391
- return maybeIterator;
392
- }
393
- return null;
394
- }
395
- var ReactCurrentDispatcher = {
396
- /**
397
- * @internal
398
- * @type {ReactComponent}
399
- */
400
- current: null
401
- };
402
- var ReactCurrentBatchConfig = {
403
- transition: null
404
- };
405
- var ReactCurrentActQueue = {
406
- current: null,
407
- // Used to reproduce behavior of `batchedUpdates` in legacy mode.
408
- isBatchingLegacy: false,
409
- didScheduleLegacyUpdate: false
410
- };
411
- var ReactCurrentOwner = {
412
- /**
413
- * @internal
414
- * @type {ReactComponent}
415
- */
416
- current: null
417
- };
418
- var ReactDebugCurrentFrame = {};
419
- var currentExtraStackFrame = null;
420
- function setExtraStackFrame(stack) {
421
- {
422
- currentExtraStackFrame = stack;
423
- }
424
- }
425
- {
426
- ReactDebugCurrentFrame.setExtraStackFrame = function(stack) {
427
- {
428
- currentExtraStackFrame = stack;
429
- }
430
- };
431
- ReactDebugCurrentFrame.getCurrentStack = null;
432
- ReactDebugCurrentFrame.getStackAddendum = function() {
433
- var stack = "";
434
- if (currentExtraStackFrame) {
435
- stack += currentExtraStackFrame;
436
- }
437
- var impl = ReactDebugCurrentFrame.getCurrentStack;
438
- if (impl) {
439
- stack += impl() || "";
440
- }
441
- return stack;
442
- };
443
- }
444
- var enableScopeAPI = false;
445
- var enableCacheElement = false;
446
- var enableTransitionTracing = false;
447
- var enableLegacyHidden = false;
448
- var enableDebugTracing = false;
449
- var ReactSharedInternals = {
450
- ReactCurrentDispatcher,
451
- ReactCurrentBatchConfig,
452
- ReactCurrentOwner
453
- };
454
- {
455
- ReactSharedInternals.ReactDebugCurrentFrame = ReactDebugCurrentFrame;
456
- ReactSharedInternals.ReactCurrentActQueue = ReactCurrentActQueue;
457
- }
458
- function warn(format) {
459
- {
460
- {
461
- for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
462
- args[_key - 1] = arguments[_key];
463
- }
464
- printWarning("warn", format, args);
465
- }
466
- }
467
- }
468
- function error(format) {
469
- {
470
- {
471
- for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
472
- args[_key2 - 1] = arguments[_key2];
473
- }
474
- printWarning("error", format, args);
475
- }
476
- }
477
- }
478
- function printWarning(level, format, args) {
479
- {
480
- var ReactDebugCurrentFrame2 = ReactSharedInternals.ReactDebugCurrentFrame;
481
- var stack = ReactDebugCurrentFrame2.getStackAddendum();
482
- if (stack !== "") {
483
- format += "%s";
484
- args = args.concat([stack]);
485
- }
486
- var argsWithFormat = args.map(function(item) {
487
- return String(item);
488
- });
489
- argsWithFormat.unshift("Warning: " + format);
490
- Function.prototype.apply.call(console[level], console, argsWithFormat);
491
- }
492
- }
493
- var didWarnStateUpdateForUnmountedComponent = {};
494
- function warnNoop(publicInstance, callerName) {
495
- {
496
- var _constructor = publicInstance.constructor;
497
- var componentName = _constructor && (_constructor.displayName || _constructor.name) || "ReactClass";
498
- var warningKey = componentName + "." + callerName;
499
- if (didWarnStateUpdateForUnmountedComponent[warningKey]) {
500
- return;
501
- }
502
- error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.", callerName, componentName);
503
- didWarnStateUpdateForUnmountedComponent[warningKey] = true;
504
- }
505
- }
506
- var ReactNoopUpdateQueue = {
507
- /**
508
- * Checks whether or not this composite component is mounted.
509
- * @param {ReactClass} publicInstance The instance we want to test.
510
- * @return {boolean} True if mounted, false otherwise.
511
- * @protected
512
- * @final
513
- */
514
- isMounted: function(publicInstance) {
515
- return false;
516
- },
517
- /**
518
- * Forces an update. This should only be invoked when it is known with
519
- * certainty that we are **not** in a DOM transaction.
520
- *
521
- * You may want to call this when you know that some deeper aspect of the
522
- * component's state has changed but `setState` was not called.
523
- *
524
- * This will not invoke `shouldComponentUpdate`, but it will invoke
525
- * `componentWillUpdate` and `componentDidUpdate`.
526
- *
527
- * @param {ReactClass} publicInstance The instance that should rerender.
528
- * @param {?function} callback Called after component is updated.
529
- * @param {?string} callerName name of the calling function in the public API.
530
- * @internal
531
- */
532
- enqueueForceUpdate: function(publicInstance, callback, callerName) {
533
- warnNoop(publicInstance, "forceUpdate");
534
- },
535
- /**
536
- * Replaces all of the state. Always use this or `setState` to mutate state.
537
- * You should treat `this.state` as immutable.
538
- *
539
- * There is no guarantee that `this.state` will be immediately updated, so
540
- * accessing `this.state` after calling this method may return the old value.
541
- *
542
- * @param {ReactClass} publicInstance The instance that should rerender.
543
- * @param {object} completeState Next state.
544
- * @param {?function} callback Called after component is updated.
545
- * @param {?string} callerName name of the calling function in the public API.
546
- * @internal
547
- */
548
- enqueueReplaceState: function(publicInstance, completeState, callback, callerName) {
549
- warnNoop(publicInstance, "replaceState");
550
- },
551
- /**
552
- * Sets a subset of the state. This only exists because _pendingState is
553
- * internal. This provides a merging strategy that is not available to deep
554
- * properties which is confusing. TODO: Expose pendingState or don't use it
555
- * during the merge.
556
- *
557
- * @param {ReactClass} publicInstance The instance that should rerender.
558
- * @param {object} partialState Next partial state to be merged with state.
559
- * @param {?function} callback Called after component is updated.
560
- * @param {?string} Name of the calling function in the public API.
561
- * @internal
562
- */
563
- enqueueSetState: function(publicInstance, partialState, callback, callerName) {
564
- warnNoop(publicInstance, "setState");
565
- }
566
- };
567
- var assign = Object.assign;
568
- var emptyObject = {};
569
- {
570
- Object.freeze(emptyObject);
571
- }
572
- function Component(props, context, updater) {
573
- this.props = props;
574
- this.context = context;
575
- this.refs = emptyObject;
576
- this.updater = updater || ReactNoopUpdateQueue;
577
- }
578
- Component.prototype.isReactComponent = {};
579
- Component.prototype.setState = function(partialState, callback) {
580
- if (typeof partialState !== "object" && typeof partialState !== "function" && partialState != null) {
581
- throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
582
- }
583
- this.updater.enqueueSetState(this, partialState, callback, "setState");
584
- };
585
- Component.prototype.forceUpdate = function(callback) {
586
- this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
587
- };
588
- {
589
- var deprecatedAPIs = {
590
- isMounted: ["isMounted", "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],
591
- replaceState: ["replaceState", "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]
592
- };
593
- var defineDeprecationWarning = function(methodName, info) {
594
- Object.defineProperty(Component.prototype, methodName, {
595
- get: function() {
596
- warn("%s(...) is deprecated in plain JavaScript React classes. %s", info[0], info[1]);
597
- return void 0;
598
- }
599
- });
600
- };
601
- for (var fnName in deprecatedAPIs) {
602
- if (deprecatedAPIs.hasOwnProperty(fnName)) {
603
- defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
604
- }
605
- }
606
- }
607
- function ComponentDummy() {
608
- }
609
- ComponentDummy.prototype = Component.prototype;
610
- function PureComponent(props, context, updater) {
611
- this.props = props;
612
- this.context = context;
613
- this.refs = emptyObject;
614
- this.updater = updater || ReactNoopUpdateQueue;
615
- }
616
- var pureComponentPrototype = PureComponent.prototype = new ComponentDummy();
617
- pureComponentPrototype.constructor = PureComponent;
618
- assign(pureComponentPrototype, Component.prototype);
619
- pureComponentPrototype.isPureReactComponent = true;
620
- function createRef() {
621
- var refObject = {
622
- current: null
623
- };
624
- {
625
- Object.seal(refObject);
626
- }
627
- return refObject;
628
- }
629
- var isArrayImpl = Array.isArray;
630
- function isArray(a) {
631
- return isArrayImpl(a);
632
- }
633
- function typeName(value) {
634
- {
635
- var hasToStringTag = typeof Symbol === "function" && Symbol.toStringTag;
636
- var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
637
- return type;
638
- }
639
- }
640
- function willCoercionThrow(value) {
641
- {
642
- try {
643
- testStringCoercion(value);
644
- return false;
645
- } catch (e) {
646
- return true;
647
- }
648
- }
649
- }
650
- function testStringCoercion(value) {
651
- return "" + value;
652
- }
653
- function checkKeyStringCoercion(value) {
654
- {
655
- if (willCoercionThrow(value)) {
656
- error("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", typeName(value));
657
- return testStringCoercion(value);
658
- }
659
- }
660
- }
661
- function getWrappedName(outerType, innerType, wrapperName) {
662
- var displayName = outerType.displayName;
663
- if (displayName) {
664
- return displayName;
665
- }
666
- var functionName = innerType.displayName || innerType.name || "";
667
- return functionName !== "" ? wrapperName + "(" + functionName + ")" : wrapperName;
668
- }
669
- function getContextName(type) {
670
- return type.displayName || "Context";
671
- }
672
- function getComponentNameFromType(type) {
673
- if (type == null) {
674
- return null;
675
- }
676
- {
677
- if (typeof type.tag === "number") {
678
- error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.");
679
- }
680
- }
681
- if (typeof type === "function") {
682
- return type.displayName || type.name || null;
683
- }
684
- if (typeof type === "string") {
685
- return type;
686
- }
687
- switch (type) {
688
- case REACT_FRAGMENT_TYPE:
689
- return "Fragment";
690
- case REACT_PORTAL_TYPE:
691
- return "Portal";
692
- case REACT_PROFILER_TYPE:
693
- return "Profiler";
694
- case REACT_STRICT_MODE_TYPE:
695
- return "StrictMode";
696
- case REACT_SUSPENSE_TYPE:
697
- return "Suspense";
698
- case REACT_SUSPENSE_LIST_TYPE:
699
- return "SuspenseList";
700
- }
701
- if (typeof type === "object") {
702
- switch (type.$$typeof) {
703
- case REACT_CONTEXT_TYPE:
704
- var context = type;
705
- return getContextName(context) + ".Consumer";
706
- case REACT_PROVIDER_TYPE:
707
- var provider = type;
708
- return getContextName(provider._context) + ".Provider";
709
- case REACT_FORWARD_REF_TYPE:
710
- return getWrappedName(type, type.render, "ForwardRef");
711
- case REACT_MEMO_TYPE:
712
- var outerName = type.displayName || null;
713
- if (outerName !== null) {
714
- return outerName;
715
- }
716
- return getComponentNameFromType(type.type) || "Memo";
717
- case REACT_LAZY_TYPE: {
718
- var lazyComponent = type;
719
- var payload = lazyComponent._payload;
720
- var init = lazyComponent._init;
721
- try {
722
- return getComponentNameFromType(init(payload));
723
- } catch (x) {
724
- return null;
725
- }
726
- }
727
- }
728
- }
729
- return null;
730
- }
731
- var hasOwnProperty = Object.prototype.hasOwnProperty;
732
- var RESERVED_PROPS = {
733
- key: true,
734
- ref: true,
735
- __self: true,
736
- __source: true
737
- };
738
- var specialPropKeyWarningShown, specialPropRefWarningShown, didWarnAboutStringRefs;
739
- {
740
- didWarnAboutStringRefs = {};
741
- }
742
- function hasValidRef(config) {
743
- {
744
- if (hasOwnProperty.call(config, "ref")) {
745
- var getter = Object.getOwnPropertyDescriptor(config, "ref").get;
746
- if (getter && getter.isReactWarning) {
747
- return false;
748
- }
749
- }
750
- }
751
- return config.ref !== void 0;
752
- }
753
- function hasValidKey(config) {
754
- {
755
- if (hasOwnProperty.call(config, "key")) {
756
- var getter = Object.getOwnPropertyDescriptor(config, "key").get;
757
- if (getter && getter.isReactWarning) {
758
- return false;
759
- }
760
- }
761
- }
762
- return config.key !== void 0;
763
- }
764
- function defineKeyPropWarningGetter(props, displayName) {
765
- var warnAboutAccessingKey = function() {
766
- {
767
- if (!specialPropKeyWarningShown) {
768
- specialPropKeyWarningShown = true;
769
- 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);
770
- }
771
- }
772
- };
773
- warnAboutAccessingKey.isReactWarning = true;
774
- Object.defineProperty(props, "key", {
775
- get: warnAboutAccessingKey,
776
- configurable: true
777
- });
778
- }
779
- function defineRefPropWarningGetter(props, displayName) {
780
- var warnAboutAccessingRef = function() {
781
- {
782
- if (!specialPropRefWarningShown) {
783
- specialPropRefWarningShown = true;
784
- 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);
785
- }
786
- }
787
- };
788
- warnAboutAccessingRef.isReactWarning = true;
789
- Object.defineProperty(props, "ref", {
790
- get: warnAboutAccessingRef,
791
- configurable: true
792
- });
793
- }
794
- function warnIfStringRefCannotBeAutoConverted(config) {
795
- {
796
- if (typeof config.ref === "string" && ReactCurrentOwner.current && config.__self && ReactCurrentOwner.current.stateNode !== config.__self) {
797
- var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);
798
- if (!didWarnAboutStringRefs[componentName]) {
799
- 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', componentName, config.ref);
800
- didWarnAboutStringRefs[componentName] = true;
801
- }
802
- }
803
- }
804
- }
805
- var ReactElement = function(type, key, ref, self, source, owner, props) {
806
- var element = {
807
- // This tag allows us to uniquely identify this as a React Element
808
- $$typeof: REACT_ELEMENT_TYPE,
809
- // Built-in properties that belong on the element
810
- type,
811
- key,
812
- ref,
813
- props,
814
- // Record the component responsible for creating this element.
815
- _owner: owner
816
- };
817
- {
818
- element._store = {};
819
- Object.defineProperty(element._store, "validated", {
820
- configurable: false,
821
- enumerable: false,
822
- writable: true,
823
- value: false
824
- });
825
- Object.defineProperty(element, "_self", {
826
- configurable: false,
827
- enumerable: false,
828
- writable: false,
829
- value: self
830
- });
831
- Object.defineProperty(element, "_source", {
832
- configurable: false,
833
- enumerable: false,
834
- writable: false,
835
- value: source
836
- });
837
- if (Object.freeze) {
838
- Object.freeze(element.props);
839
- Object.freeze(element);
840
- }
841
- }
842
- return element;
843
- };
844
- function createElement(type, config, children) {
845
- var propName;
846
- var props = {};
847
- var key = null;
848
- var ref = null;
849
- var self = null;
850
- var source = null;
851
- if (config != null) {
852
- if (hasValidRef(config)) {
853
- ref = config.ref;
854
- {
855
- warnIfStringRefCannotBeAutoConverted(config);
856
- }
857
- }
858
- if (hasValidKey(config)) {
859
- {
860
- checkKeyStringCoercion(config.key);
861
- }
862
- key = "" + config.key;
863
- }
864
- self = config.__self === void 0 ? null : config.__self;
865
- source = config.__source === void 0 ? null : config.__source;
866
- for (propName in config) {
867
- if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
868
- props[propName] = config[propName];
869
- }
870
- }
871
- }
872
- var childrenLength = arguments.length - 2;
873
- if (childrenLength === 1) {
874
- props.children = children;
875
- } else if (childrenLength > 1) {
876
- var childArray = Array(childrenLength);
877
- for (var i = 0; i < childrenLength; i++) {
878
- childArray[i] = arguments[i + 2];
879
- }
880
- {
881
- if (Object.freeze) {
882
- Object.freeze(childArray);
883
- }
884
- }
885
- props.children = childArray;
886
- }
887
- if (type && type.defaultProps) {
888
- var defaultProps = type.defaultProps;
889
- for (propName in defaultProps) {
890
- if (props[propName] === void 0) {
891
- props[propName] = defaultProps[propName];
892
- }
893
- }
894
- }
895
- {
896
- if (key || ref) {
897
- var displayName = typeof type === "function" ? type.displayName || type.name || "Unknown" : type;
898
- if (key) {
899
- defineKeyPropWarningGetter(props, displayName);
900
- }
901
- if (ref) {
902
- defineRefPropWarningGetter(props, displayName);
903
- }
904
- }
905
- }
906
- return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);
907
- }
908
- function cloneAndReplaceKey(oldElement, newKey) {
909
- var newElement = ReactElement(oldElement.type, newKey, oldElement.ref, oldElement._self, oldElement._source, oldElement._owner, oldElement.props);
910
- return newElement;
911
- }
912
- function cloneElement(element, config, children) {
913
- if (element === null || element === void 0) {
914
- throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + element + ".");
915
- }
916
- var propName;
917
- var props = assign({}, element.props);
918
- var key = element.key;
919
- var ref = element.ref;
920
- var self = element._self;
921
- var source = element._source;
922
- var owner = element._owner;
923
- if (config != null) {
924
- if (hasValidRef(config)) {
925
- ref = config.ref;
926
- owner = ReactCurrentOwner.current;
927
- }
928
- if (hasValidKey(config)) {
929
- {
930
- checkKeyStringCoercion(config.key);
931
- }
932
- key = "" + config.key;
933
- }
934
- var defaultProps;
935
- if (element.type && element.type.defaultProps) {
936
- defaultProps = element.type.defaultProps;
937
- }
938
- for (propName in config) {
939
- if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
940
- if (config[propName] === void 0 && defaultProps !== void 0) {
941
- props[propName] = defaultProps[propName];
942
- } else {
943
- props[propName] = config[propName];
944
- }
945
- }
946
- }
947
- }
948
- var childrenLength = arguments.length - 2;
949
- if (childrenLength === 1) {
950
- props.children = children;
951
- } else if (childrenLength > 1) {
952
- var childArray = Array(childrenLength);
953
- for (var i = 0; i < childrenLength; i++) {
954
- childArray[i] = arguments[i + 2];
955
- }
956
- props.children = childArray;
957
- }
958
- return ReactElement(element.type, key, ref, self, source, owner, props);
959
- }
960
- function isValidElement(object) {
961
- return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
962
- }
963
- var SEPARATOR = ".";
964
- var SUBSEPARATOR = ":";
965
- function escape(key) {
966
- var escapeRegex = /[=:]/g;
967
- var escaperLookup = {
968
- "=": "=0",
969
- ":": "=2"
970
- };
971
- var escapedString = key.replace(escapeRegex, function(match) {
972
- return escaperLookup[match];
973
- });
974
- return "$" + escapedString;
975
- }
976
- var didWarnAboutMaps = false;
977
- var userProvidedKeyEscapeRegex = /\/+/g;
978
- function escapeUserProvidedKey(text) {
979
- return text.replace(userProvidedKeyEscapeRegex, "$&/");
980
- }
981
- function getElementKey(element, index) {
982
- if (typeof element === "object" && element !== null && element.key != null) {
983
- {
984
- checkKeyStringCoercion(element.key);
985
- }
986
- return escape("" + element.key);
987
- }
988
- return index.toString(36);
989
- }
990
- function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
991
- var type = typeof children;
992
- if (type === "undefined" || type === "boolean") {
993
- children = null;
994
- }
995
- var invokeCallback = false;
996
- if (children === null) {
997
- invokeCallback = true;
998
- } else {
999
- switch (type) {
1000
- case "string":
1001
- case "number":
1002
- invokeCallback = true;
1003
- break;
1004
- case "object":
1005
- switch (children.$$typeof) {
1006
- case REACT_ELEMENT_TYPE:
1007
- case REACT_PORTAL_TYPE:
1008
- invokeCallback = true;
1009
- }
1010
- }
1011
- }
1012
- if (invokeCallback) {
1013
- var _child = children;
1014
- var mappedChild = callback(_child);
1015
- var childKey = nameSoFar === "" ? SEPARATOR + getElementKey(_child, 0) : nameSoFar;
1016
- if (isArray(mappedChild)) {
1017
- var escapedChildKey = "";
1018
- if (childKey != null) {
1019
- escapedChildKey = escapeUserProvidedKey(childKey) + "/";
1020
- }
1021
- mapIntoArray(mappedChild, array, escapedChildKey, "", function(c) {
1022
- return c;
1023
- });
1024
- } else if (mappedChild != null) {
1025
- if (isValidElement(mappedChild)) {
1026
- {
1027
- if (mappedChild.key && (!_child || _child.key !== mappedChild.key)) {
1028
- checkKeyStringCoercion(mappedChild.key);
1029
- }
1030
- }
1031
- mappedChild = cloneAndReplaceKey(
1032
- mappedChild,
1033
- // Keep both the (mapped) and old keys if they differ, just as
1034
- // traverseAllChildren used to do for objects as children
1035
- escapedPrefix + // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key
1036
- (mappedChild.key && (!_child || _child.key !== mappedChild.key) ? (
1037
- // $FlowFixMe Flow incorrectly thinks existing element's key can be a number
1038
- // eslint-disable-next-line react-internal/safe-string-coercion
1039
- escapeUserProvidedKey("" + mappedChild.key) + "/"
1040
- ) : "") + childKey
1041
- );
1042
- }
1043
- array.push(mappedChild);
1044
- }
1045
- return 1;
1046
- }
1047
- var child;
1048
- var nextName;
1049
- var subtreeCount = 0;
1050
- var nextNamePrefix = nameSoFar === "" ? SEPARATOR : nameSoFar + SUBSEPARATOR;
1051
- if (isArray(children)) {
1052
- for (var i = 0; i < children.length; i++) {
1053
- child = children[i];
1054
- nextName = nextNamePrefix + getElementKey(child, i);
1055
- subtreeCount += mapIntoArray(child, array, escapedPrefix, nextName, callback);
1056
- }
1057
- } else {
1058
- var iteratorFn = getIteratorFn(children);
1059
- if (typeof iteratorFn === "function") {
1060
- var iterableChildren = children;
1061
- {
1062
- if (iteratorFn === iterableChildren.entries) {
1063
- if (!didWarnAboutMaps) {
1064
- warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead.");
1065
- }
1066
- didWarnAboutMaps = true;
1067
- }
1068
- }
1069
- var iterator = iteratorFn.call(iterableChildren);
1070
- var step;
1071
- var ii = 0;
1072
- while (!(step = iterator.next()).done) {
1073
- child = step.value;
1074
- nextName = nextNamePrefix + getElementKey(child, ii++);
1075
- subtreeCount += mapIntoArray(child, array, escapedPrefix, nextName, callback);
1076
- }
1077
- } else if (type === "object") {
1078
- var childrenString = String(children);
1079
- throw new Error("Objects are not valid as a React child (found: " + (childrenString === "[object Object]" ? "object with keys {" + Object.keys(children).join(", ") + "}" : childrenString) + "). If you meant to render a collection of children, use an array instead.");
1080
- }
1081
- }
1082
- return subtreeCount;
1083
- }
1084
- function mapChildren(children, func, context) {
1085
- if (children == null) {
1086
- return children;
1087
- }
1088
- var result = [];
1089
- var count = 0;
1090
- mapIntoArray(children, result, "", "", function(child) {
1091
- return func.call(context, child, count++);
1092
- });
1093
- return result;
1094
- }
1095
- function countChildren(children) {
1096
- var n = 0;
1097
- mapChildren(children, function() {
1098
- n++;
1099
- });
1100
- return n;
1101
- }
1102
- function forEachChildren(children, forEachFunc, forEachContext) {
1103
- mapChildren(children, function() {
1104
- forEachFunc.apply(this, arguments);
1105
- }, forEachContext);
1106
- }
1107
- function toArray(children) {
1108
- return mapChildren(children, function(child) {
1109
- return child;
1110
- }) || [];
1111
- }
1112
- function onlyChild(children) {
1113
- if (!isValidElement(children)) {
1114
- throw new Error("React.Children.only expected to receive a single React element child.");
1115
- }
1116
- return children;
1117
- }
1118
- function createContext(defaultValue) {
1119
- var context = {
1120
- $$typeof: REACT_CONTEXT_TYPE,
1121
- // As a workaround to support multiple concurrent renderers, we categorize
1122
- // some renderers as primary and others as secondary. We only expect
1123
- // there to be two concurrent renderers at most: React Native (primary) and
1124
- // Fabric (secondary); React DOM (primary) and React ART (secondary).
1125
- // Secondary renderers store their context values on separate fields.
1126
- _currentValue: defaultValue,
1127
- _currentValue2: defaultValue,
1128
- // Used to track how many concurrent renderers this context currently
1129
- // supports within in a single renderer. Such as parallel server rendering.
1130
- _threadCount: 0,
1131
- // These are circular
1132
- Provider: null,
1133
- Consumer: null,
1134
- // Add these to use same hidden class in VM as ServerContext
1135
- _defaultValue: null,
1136
- _globalName: null
1137
- };
1138
- context.Provider = {
1139
- $$typeof: REACT_PROVIDER_TYPE,
1140
- _context: context
1141
- };
1142
- var hasWarnedAboutUsingNestedContextConsumers = false;
1143
- var hasWarnedAboutUsingConsumerProvider = false;
1144
- var hasWarnedAboutDisplayNameOnConsumer = false;
1145
- {
1146
- var Consumer = {
1147
- $$typeof: REACT_CONTEXT_TYPE,
1148
- _context: context
1149
- };
1150
- Object.defineProperties(Consumer, {
1151
- Provider: {
1152
- get: function() {
1153
- if (!hasWarnedAboutUsingConsumerProvider) {
1154
- hasWarnedAboutUsingConsumerProvider = true;
1155
- error("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?");
1156
- }
1157
- return context.Provider;
1158
- },
1159
- set: function(_Provider) {
1160
- context.Provider = _Provider;
1161
- }
1162
- },
1163
- _currentValue: {
1164
- get: function() {
1165
- return context._currentValue;
1166
- },
1167
- set: function(_currentValue) {
1168
- context._currentValue = _currentValue;
1169
- }
1170
- },
1171
- _currentValue2: {
1172
- get: function() {
1173
- return context._currentValue2;
1174
- },
1175
- set: function(_currentValue2) {
1176
- context._currentValue2 = _currentValue2;
1177
- }
1178
- },
1179
- _threadCount: {
1180
- get: function() {
1181
- return context._threadCount;
1182
- },
1183
- set: function(_threadCount) {
1184
- context._threadCount = _threadCount;
1185
- }
1186
- },
1187
- Consumer: {
1188
- get: function() {
1189
- if (!hasWarnedAboutUsingNestedContextConsumers) {
1190
- hasWarnedAboutUsingNestedContextConsumers = true;
1191
- error("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?");
1192
- }
1193
- return context.Consumer;
1194
- }
1195
- },
1196
- displayName: {
1197
- get: function() {
1198
- return context.displayName;
1199
- },
1200
- set: function(displayName) {
1201
- if (!hasWarnedAboutDisplayNameOnConsumer) {
1202
- warn("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.", displayName);
1203
- hasWarnedAboutDisplayNameOnConsumer = true;
1204
- }
1205
- }
1206
- }
1207
- });
1208
- context.Consumer = Consumer;
1209
- }
1210
- {
1211
- context._currentRenderer = null;
1212
- context._currentRenderer2 = null;
1213
- }
1214
- return context;
1215
- }
1216
- var Uninitialized = -1;
1217
- var Pending = 0;
1218
- var Resolved = 1;
1219
- var Rejected = 2;
1220
- function lazyInitializer(payload) {
1221
- if (payload._status === Uninitialized) {
1222
- var ctor = payload._result;
1223
- var thenable = ctor();
1224
- thenable.then(function(moduleObject2) {
1225
- if (payload._status === Pending || payload._status === Uninitialized) {
1226
- var resolved = payload;
1227
- resolved._status = Resolved;
1228
- resolved._result = moduleObject2;
1229
- }
1230
- }, function(error2) {
1231
- if (payload._status === Pending || payload._status === Uninitialized) {
1232
- var rejected = payload;
1233
- rejected._status = Rejected;
1234
- rejected._result = error2;
1235
- }
1236
- });
1237
- if (payload._status === Uninitialized) {
1238
- var pending = payload;
1239
- pending._status = Pending;
1240
- pending._result = thenable;
1241
- }
1242
- }
1243
- if (payload._status === Resolved) {
1244
- var moduleObject = payload._result;
1245
- {
1246
- if (moduleObject === void 0) {
1247
- error("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?", moduleObject);
1248
- }
1249
- }
1250
- {
1251
- if (!("default" in moduleObject)) {
1252
- error("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))", moduleObject);
1253
- }
1254
- }
1255
- return moduleObject.default;
1256
- } else {
1257
- throw payload._result;
1258
- }
1259
- }
1260
- function lazy(ctor) {
1261
- var payload = {
1262
- // We use these fields to store the result.
1263
- _status: Uninitialized,
1264
- _result: ctor
1265
- };
1266
- var lazyType = {
1267
- $$typeof: REACT_LAZY_TYPE,
1268
- _payload: payload,
1269
- _init: lazyInitializer
1270
- };
1271
- {
1272
- var defaultProps;
1273
- var propTypes;
1274
- Object.defineProperties(lazyType, {
1275
- defaultProps: {
1276
- configurable: true,
1277
- get: function() {
1278
- return defaultProps;
1279
- },
1280
- set: function(newDefaultProps) {
1281
- error("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it.");
1282
- defaultProps = newDefaultProps;
1283
- Object.defineProperty(lazyType, "defaultProps", {
1284
- enumerable: true
1285
- });
1286
- }
1287
- },
1288
- propTypes: {
1289
- configurable: true,
1290
- get: function() {
1291
- return propTypes;
1292
- },
1293
- set: function(newPropTypes) {
1294
- error("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it.");
1295
- propTypes = newPropTypes;
1296
- Object.defineProperty(lazyType, "propTypes", {
1297
- enumerable: true
1298
- });
1299
- }
1300
- }
1301
- });
1302
- }
1303
- return lazyType;
1304
- }
1305
- function forwardRef7(render) {
1306
- {
1307
- if (render != null && render.$$typeof === REACT_MEMO_TYPE) {
1308
- error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).");
1309
- } else if (typeof render !== "function") {
1310
- error("forwardRef requires a render function but was given %s.", render === null ? "null" : typeof render);
1311
- } else {
1312
- if (render.length !== 0 && render.length !== 2) {
1313
- error("forwardRef render functions accept exactly two parameters: props and ref. %s", render.length === 1 ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined.");
1314
- }
1315
- }
1316
- if (render != null) {
1317
- if (render.defaultProps != null || render.propTypes != null) {
1318
- error("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");
1319
- }
1320
- }
1321
- }
1322
- var elementType = {
1323
- $$typeof: REACT_FORWARD_REF_TYPE,
1324
- render
1325
- };
1326
- {
1327
- var ownName;
1328
- Object.defineProperty(elementType, "displayName", {
1329
- enumerable: false,
1330
- configurable: true,
1331
- get: function() {
1332
- return ownName;
1333
- },
1334
- set: function(name) {
1335
- ownName = name;
1336
- if (!render.name && !render.displayName) {
1337
- render.displayName = name;
1338
- }
1339
- }
1340
- });
1341
- }
1342
- return elementType;
1343
- }
1344
- var REACT_MODULE_REFERENCE;
1345
- {
1346
- REACT_MODULE_REFERENCE = Symbol.for("react.module.reference");
1347
- }
1348
- function isValidElementType(type) {
1349
- if (typeof type === "string" || typeof type === "function") {
1350
- return true;
1351
- }
1352
- 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) {
1353
- return true;
1354
- }
1355
- if (typeof type === "object" && type !== null) {
1356
- 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
1357
- // types supported by any Flight configuration anywhere since
1358
- // we don't know which Flight build this will end up being used
1359
- // with.
1360
- type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== void 0) {
1361
- return true;
1362
- }
1363
- }
1364
- return false;
1365
- }
1366
- function memo(type, compare) {
1367
- {
1368
- if (!isValidElementType(type)) {
1369
- error("memo: The first argument must be a component. Instead received: %s", type === null ? "null" : typeof type);
1370
- }
1371
- }
1372
- var elementType = {
1373
- $$typeof: REACT_MEMO_TYPE,
1374
- type,
1375
- compare: compare === void 0 ? null : compare
1376
- };
1377
- {
1378
- var ownName;
1379
- Object.defineProperty(elementType, "displayName", {
1380
- enumerable: false,
1381
- configurable: true,
1382
- get: function() {
1383
- return ownName;
1384
- },
1385
- set: function(name) {
1386
- ownName = name;
1387
- if (!type.name && !type.displayName) {
1388
- type.displayName = name;
1389
- }
1390
- }
1391
- });
1392
- }
1393
- return elementType;
1394
- }
1395
- function resolveDispatcher() {
1396
- var dispatcher = ReactCurrentDispatcher.current;
1397
- {
1398
- if (dispatcher === null) {
1399
- error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.");
1400
- }
1401
- }
1402
- return dispatcher;
1403
- }
1404
- function useContext(Context) {
1405
- var dispatcher = resolveDispatcher();
1406
- {
1407
- if (Context._context !== void 0) {
1408
- var realContext = Context._context;
1409
- if (realContext.Consumer === Context) {
1410
- error("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?");
1411
- } else if (realContext.Provider === Context) {
1412
- error("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?");
1413
- }
1414
- }
1415
- }
1416
- return dispatcher.useContext(Context);
1417
- }
1418
- function useState(initialState) {
1419
- var dispatcher = resolveDispatcher();
1420
- return dispatcher.useState(initialState);
1421
- }
1422
- function useReducer(reducer, initialArg, init) {
1423
- var dispatcher = resolveDispatcher();
1424
- return dispatcher.useReducer(reducer, initialArg, init);
1425
- }
1426
- function useRef(initialValue) {
1427
- var dispatcher = resolveDispatcher();
1428
- return dispatcher.useRef(initialValue);
1429
- }
1430
- function useEffect(create, deps) {
1431
- var dispatcher = resolveDispatcher();
1432
- return dispatcher.useEffect(create, deps);
1433
- }
1434
- function useInsertionEffect(create, deps) {
1435
- var dispatcher = resolveDispatcher();
1436
- return dispatcher.useInsertionEffect(create, deps);
1437
- }
1438
- function useLayoutEffect(create, deps) {
1439
- var dispatcher = resolveDispatcher();
1440
- return dispatcher.useLayoutEffect(create, deps);
1441
- }
1442
- function useCallback(callback, deps) {
1443
- var dispatcher = resolveDispatcher();
1444
- return dispatcher.useCallback(callback, deps);
1445
- }
1446
- function useMemo(create, deps) {
1447
- var dispatcher = resolveDispatcher();
1448
- return dispatcher.useMemo(create, deps);
1449
- }
1450
- function useImperativeHandle(ref, create, deps) {
1451
- var dispatcher = resolveDispatcher();
1452
- return dispatcher.useImperativeHandle(ref, create, deps);
1453
- }
1454
- function useDebugValue(value, formatterFn) {
1455
- {
1456
- var dispatcher = resolveDispatcher();
1457
- return dispatcher.useDebugValue(value, formatterFn);
1458
- }
1459
- }
1460
- function useTransition() {
1461
- var dispatcher = resolveDispatcher();
1462
- return dispatcher.useTransition();
1463
- }
1464
- function useDeferredValue(value) {
1465
- var dispatcher = resolveDispatcher();
1466
- return dispatcher.useDeferredValue(value);
1467
- }
1468
- function useId() {
1469
- var dispatcher = resolveDispatcher();
1470
- return dispatcher.useId();
1471
- }
1472
- function useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {
1473
- var dispatcher = resolveDispatcher();
1474
- return dispatcher.useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
1475
- }
1476
- var disabledDepth = 0;
1477
- var prevLog;
1478
- var prevInfo;
1479
- var prevWarn;
1480
- var prevError;
1481
- var prevGroup;
1482
- var prevGroupCollapsed;
1483
- var prevGroupEnd;
1484
- function disabledLog() {
1485
- }
1486
- disabledLog.__reactDisabledLog = true;
1487
- function disableLogs() {
1488
- {
1489
- if (disabledDepth === 0) {
1490
- prevLog = console.log;
1491
- prevInfo = console.info;
1492
- prevWarn = console.warn;
1493
- prevError = console.error;
1494
- prevGroup = console.group;
1495
- prevGroupCollapsed = console.groupCollapsed;
1496
- prevGroupEnd = console.groupEnd;
1497
- var props = {
1498
- configurable: true,
1499
- enumerable: true,
1500
- value: disabledLog,
1501
- writable: true
1502
- };
1503
- Object.defineProperties(console, {
1504
- info: props,
1505
- log: props,
1506
- warn: props,
1507
- error: props,
1508
- group: props,
1509
- groupCollapsed: props,
1510
- groupEnd: props
1511
- });
1512
- }
1513
- disabledDepth++;
1514
- }
1515
- }
1516
- function reenableLogs() {
1517
- {
1518
- disabledDepth--;
1519
- if (disabledDepth === 0) {
1520
- var props = {
1521
- configurable: true,
1522
- enumerable: true,
1523
- writable: true
1524
- };
1525
- Object.defineProperties(console, {
1526
- log: assign({}, props, {
1527
- value: prevLog
1528
- }),
1529
- info: assign({}, props, {
1530
- value: prevInfo
1531
- }),
1532
- warn: assign({}, props, {
1533
- value: prevWarn
1534
- }),
1535
- error: assign({}, props, {
1536
- value: prevError
1537
- }),
1538
- group: assign({}, props, {
1539
- value: prevGroup
1540
- }),
1541
- groupCollapsed: assign({}, props, {
1542
- value: prevGroupCollapsed
1543
- }),
1544
- groupEnd: assign({}, props, {
1545
- value: prevGroupEnd
1546
- })
1547
- });
1548
- }
1549
- if (disabledDepth < 0) {
1550
- error("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
1551
- }
1552
- }
1553
- }
1554
- var ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher;
1555
- var prefix;
1556
- function describeBuiltInComponentFrame(name, source, ownerFn) {
1557
- {
1558
- if (prefix === void 0) {
1559
- try {
1560
- throw Error();
1561
- } catch (x) {
1562
- var match = x.stack.trim().match(/\n( *(at )?)/);
1563
- prefix = match && match[1] || "";
1564
- }
1565
- }
1566
- return "\n" + prefix + name;
1567
- }
1568
- }
1569
- var reentry = false;
1570
- var componentFrameCache;
1571
- {
1572
- var PossiblyWeakMap = typeof WeakMap === "function" ? WeakMap : Map;
1573
- componentFrameCache = new PossiblyWeakMap();
1574
- }
1575
- function describeNativeComponentFrame(fn, construct) {
1576
- if (!fn || reentry) {
1577
- return "";
1578
- }
1579
- {
1580
- var frame = componentFrameCache.get(fn);
1581
- if (frame !== void 0) {
1582
- return frame;
1583
- }
1584
- }
1585
- var control;
1586
- reentry = true;
1587
- var previousPrepareStackTrace = Error.prepareStackTrace;
1588
- Error.prepareStackTrace = void 0;
1589
- var previousDispatcher;
1590
- {
1591
- previousDispatcher = ReactCurrentDispatcher$1.current;
1592
- ReactCurrentDispatcher$1.current = null;
1593
- disableLogs();
1594
- }
1595
- try {
1596
- if (construct) {
1597
- var Fake = function() {
1598
- throw Error();
1599
- };
1600
- Object.defineProperty(Fake.prototype, "props", {
1601
- set: function() {
1602
- throw Error();
1603
- }
1604
- });
1605
- if (typeof Reflect === "object" && Reflect.construct) {
1606
- try {
1607
- Reflect.construct(Fake, []);
1608
- } catch (x) {
1609
- control = x;
1610
- }
1611
- Reflect.construct(fn, [], Fake);
1612
- } else {
1613
- try {
1614
- Fake.call();
1615
- } catch (x) {
1616
- control = x;
1617
- }
1618
- fn.call(Fake.prototype);
1619
- }
1620
- } else {
1621
- try {
1622
- throw Error();
1623
- } catch (x) {
1624
- control = x;
1625
- }
1626
- fn();
1627
- }
1628
- } catch (sample) {
1629
- if (sample && control && typeof sample.stack === "string") {
1630
- var sampleLines = sample.stack.split("\n");
1631
- var controlLines = control.stack.split("\n");
1632
- var s = sampleLines.length - 1;
1633
- var c = controlLines.length - 1;
1634
- while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {
1635
- c--;
1636
- }
1637
- for (; s >= 1 && c >= 0; s--, c--) {
1638
- if (sampleLines[s] !== controlLines[c]) {
1639
- if (s !== 1 || c !== 1) {
1640
- do {
1641
- s--;
1642
- c--;
1643
- if (c < 0 || sampleLines[s] !== controlLines[c]) {
1644
- var _frame = "\n" + sampleLines[s].replace(" at new ", " at ");
1645
- if (fn.displayName && _frame.includes("<anonymous>")) {
1646
- _frame = _frame.replace("<anonymous>", fn.displayName);
1647
- }
1648
- {
1649
- if (typeof fn === "function") {
1650
- componentFrameCache.set(fn, _frame);
1651
- }
1652
- }
1653
- return _frame;
1654
- }
1655
- } while (s >= 1 && c >= 0);
1656
- }
1657
- break;
1658
- }
1659
- }
1660
- }
1661
- } finally {
1662
- reentry = false;
1663
- {
1664
- ReactCurrentDispatcher$1.current = previousDispatcher;
1665
- reenableLogs();
1666
- }
1667
- Error.prepareStackTrace = previousPrepareStackTrace;
1668
- }
1669
- var name = fn ? fn.displayName || fn.name : "";
1670
- var syntheticFrame = name ? describeBuiltInComponentFrame(name) : "";
1671
- {
1672
- if (typeof fn === "function") {
1673
- componentFrameCache.set(fn, syntheticFrame);
1674
- }
1675
- }
1676
- return syntheticFrame;
1677
- }
1678
- function describeFunctionComponentFrame(fn, source, ownerFn) {
1679
- {
1680
- return describeNativeComponentFrame(fn, false);
1681
- }
1682
- }
1683
- function shouldConstruct(Component2) {
1684
- var prototype = Component2.prototype;
1685
- return !!(prototype && prototype.isReactComponent);
1686
- }
1687
- function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {
1688
- if (type == null) {
1689
- return "";
1690
- }
1691
- if (typeof type === "function") {
1692
- {
1693
- return describeNativeComponentFrame(type, shouldConstruct(type));
1694
- }
1695
- }
1696
- if (typeof type === "string") {
1697
- return describeBuiltInComponentFrame(type);
1698
- }
1699
- switch (type) {
1700
- case REACT_SUSPENSE_TYPE:
1701
- return describeBuiltInComponentFrame("Suspense");
1702
- case REACT_SUSPENSE_LIST_TYPE:
1703
- return describeBuiltInComponentFrame("SuspenseList");
1704
- }
1705
- if (typeof type === "object") {
1706
- switch (type.$$typeof) {
1707
- case REACT_FORWARD_REF_TYPE:
1708
- return describeFunctionComponentFrame(type.render);
1709
- case REACT_MEMO_TYPE:
1710
- return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);
1711
- case REACT_LAZY_TYPE: {
1712
- var lazyComponent = type;
1713
- var payload = lazyComponent._payload;
1714
- var init = lazyComponent._init;
1715
- try {
1716
- return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);
1717
- } catch (x) {
1718
- }
1719
- }
1720
- }
1721
- }
1722
- return "";
1723
- }
1724
- var loggedTypeFailures = {};
1725
- var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;
1726
- function setCurrentlyValidatingElement(element) {
1727
- {
1728
- if (element) {
1729
- var owner = element._owner;
1730
- var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
1731
- ReactDebugCurrentFrame$1.setExtraStackFrame(stack);
1732
- } else {
1733
- ReactDebugCurrentFrame$1.setExtraStackFrame(null);
1734
- }
1735
- }
1736
- }
1737
- function checkPropTypes(typeSpecs, values, location, componentName, element) {
1738
- {
1739
- var has = Function.call.bind(hasOwnProperty);
1740
- for (var typeSpecName in typeSpecs) {
1741
- if (has(typeSpecs, typeSpecName)) {
1742
- var error$1 = void 0;
1743
- try {
1744
- if (typeof typeSpecs[typeSpecName] !== "function") {
1745
- 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`.");
1746
- err.name = "Invariant Violation";
1747
- throw err;
1748
- }
1749
- error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1750
- } catch (ex) {
1751
- error$1 = ex;
1752
- }
1753
- if (error$1 && !(error$1 instanceof Error)) {
1754
- setCurrentlyValidatingElement(element);
1755
- 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);
1756
- setCurrentlyValidatingElement(null);
1757
- }
1758
- if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {
1759
- loggedTypeFailures[error$1.message] = true;
1760
- setCurrentlyValidatingElement(element);
1761
- error("Failed %s type: %s", location, error$1.message);
1762
- setCurrentlyValidatingElement(null);
1763
- }
1764
- }
1765
- }
1766
- }
1767
- }
1768
- function setCurrentlyValidatingElement$1(element) {
1769
- {
1770
- if (element) {
1771
- var owner = element._owner;
1772
- var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
1773
- setExtraStackFrame(stack);
1774
- } else {
1775
- setExtraStackFrame(null);
1776
- }
1777
- }
1778
- }
1779
- var propTypesMisspellWarningShown;
1780
- {
1781
- propTypesMisspellWarningShown = false;
1782
- }
1783
- function getDeclarationErrorAddendum() {
1784
- if (ReactCurrentOwner.current) {
1785
- var name = getComponentNameFromType(ReactCurrentOwner.current.type);
1786
- if (name) {
1787
- return "\n\nCheck the render method of `" + name + "`.";
1788
- }
1789
- }
1790
- return "";
1791
- }
1792
- function getSourceInfoErrorAddendum(source) {
1793
- if (source !== void 0) {
1794
- var fileName = source.fileName.replace(/^.*[\\\/]/, "");
1795
- var lineNumber = source.lineNumber;
1796
- return "\n\nCheck your code at " + fileName + ":" + lineNumber + ".";
1797
- }
1798
- return "";
1799
- }
1800
- function getSourceInfoErrorAddendumForProps(elementProps) {
1801
- if (elementProps !== null && elementProps !== void 0) {
1802
- return getSourceInfoErrorAddendum(elementProps.__source);
1803
- }
1804
- return "";
1805
- }
1806
- var ownerHasKeyUseWarning = {};
1807
- function getCurrentComponentErrorInfo(parentType) {
1808
- var info = getDeclarationErrorAddendum();
1809
- if (!info) {
1810
- var parentName = typeof parentType === "string" ? parentType : parentType.displayName || parentType.name;
1811
- if (parentName) {
1812
- info = "\n\nCheck the top-level render call using <" + parentName + ">.";
1813
- }
1814
- }
1815
- return info;
1816
- }
1817
- function validateExplicitKey(element, parentType) {
1818
- if (!element._store || element._store.validated || element.key != null) {
1819
- return;
1820
- }
1821
- element._store.validated = true;
1822
- var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);
1823
- if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {
1824
- return;
1825
- }
1826
- ownerHasKeyUseWarning[currentComponentErrorInfo] = true;
1827
- var childOwner = "";
1828
- if (element && element._owner && element._owner !== ReactCurrentOwner.current) {
1829
- childOwner = " It was passed a child from " + getComponentNameFromType(element._owner.type) + ".";
1830
- }
1831
- {
1832
- setCurrentlyValidatingElement$1(element);
1833
- 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);
1834
- setCurrentlyValidatingElement$1(null);
1835
- }
1836
- }
1837
- function validateChildKeys(node, parentType) {
1838
- if (typeof node !== "object") {
1839
- return;
1840
- }
1841
- if (isArray(node)) {
1842
- for (var i = 0; i < node.length; i++) {
1843
- var child = node[i];
1844
- if (isValidElement(child)) {
1845
- validateExplicitKey(child, parentType);
1846
- }
1847
- }
1848
- } else if (isValidElement(node)) {
1849
- if (node._store) {
1850
- node._store.validated = true;
1851
- }
1852
- } else if (node) {
1853
- var iteratorFn = getIteratorFn(node);
1854
- if (typeof iteratorFn === "function") {
1855
- if (iteratorFn !== node.entries) {
1856
- var iterator = iteratorFn.call(node);
1857
- var step;
1858
- while (!(step = iterator.next()).done) {
1859
- if (isValidElement(step.value)) {
1860
- validateExplicitKey(step.value, parentType);
1861
- }
1862
- }
1863
- }
1864
- }
1865
- }
1866
- }
1867
- function validatePropTypes(element) {
1868
- {
1869
- var type = element.type;
1870
- if (type === null || type === void 0 || typeof type === "string") {
1871
- return;
1872
- }
1873
- var propTypes;
1874
- if (typeof type === "function") {
1875
- propTypes = type.propTypes;
1876
- } else if (typeof type === "object" && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.
1877
- // Inner props are checked in the reconciler.
1878
- type.$$typeof === REACT_MEMO_TYPE)) {
1879
- propTypes = type.propTypes;
1880
- } else {
1881
- return;
1882
- }
1883
- if (propTypes) {
1884
- var name = getComponentNameFromType(type);
1885
- checkPropTypes(propTypes, element.props, "prop", name, element);
1886
- } else if (type.PropTypes !== void 0 && !propTypesMisspellWarningShown) {
1887
- propTypesMisspellWarningShown = true;
1888
- var _name = getComponentNameFromType(type);
1889
- error("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _name || "Unknown");
1890
- }
1891
- if (typeof type.getDefaultProps === "function" && !type.getDefaultProps.isReactClassApproved) {
1892
- error("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
1893
- }
1894
- }
1895
- }
1896
- function validateFragmentProps(fragment) {
1897
- {
1898
- var keys = Object.keys(fragment.props);
1899
- for (var i = 0; i < keys.length; i++) {
1900
- var key = keys[i];
1901
- if (key !== "children" && key !== "key") {
1902
- setCurrentlyValidatingElement$1(fragment);
1903
- error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", key);
1904
- setCurrentlyValidatingElement$1(null);
1905
- break;
1906
- }
1907
- }
1908
- if (fragment.ref !== null) {
1909
- setCurrentlyValidatingElement$1(fragment);
1910
- error("Invalid attribute `ref` supplied to `React.Fragment`.");
1911
- setCurrentlyValidatingElement$1(null);
1912
- }
1913
- }
1914
- }
1915
- function createElementWithValidation(type, props, children) {
1916
- var validType = isValidElementType(type);
1917
- if (!validType) {
1918
- var info = "";
1919
- if (type === void 0 || typeof type === "object" && type !== null && Object.keys(type).length === 0) {
1920
- 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.";
1921
- }
1922
- var sourceInfo = getSourceInfoErrorAddendumForProps(props);
1923
- if (sourceInfo) {
1924
- info += sourceInfo;
1925
- } else {
1926
- info += getDeclarationErrorAddendum();
1927
- }
1928
- var typeString;
1929
- if (type === null) {
1930
- typeString = "null";
1931
- } else if (isArray(type)) {
1932
- typeString = "array";
1933
- } else if (type !== void 0 && type.$$typeof === REACT_ELEMENT_TYPE) {
1934
- typeString = "<" + (getComponentNameFromType(type.type) || "Unknown") + " />";
1935
- info = " Did you accidentally export a JSX literal instead of a component?";
1936
- } else {
1937
- typeString = typeof type;
1938
- }
1939
- {
1940
- error("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", typeString, info);
1941
- }
1942
- }
1943
- var element = createElement.apply(this, arguments);
1944
- if (element == null) {
1945
- return element;
1946
- }
1947
- if (validType) {
1948
- for (var i = 2; i < arguments.length; i++) {
1949
- validateChildKeys(arguments[i], type);
1950
- }
1951
- }
1952
- if (type === REACT_FRAGMENT_TYPE) {
1953
- validateFragmentProps(element);
1954
- } else {
1955
- validatePropTypes(element);
1956
- }
1957
- return element;
1958
- }
1959
- var didWarnAboutDeprecatedCreateFactory = false;
1960
- function createFactoryWithValidation(type) {
1961
- var validatedFactory = createElementWithValidation.bind(null, type);
1962
- validatedFactory.type = type;
1963
- {
1964
- if (!didWarnAboutDeprecatedCreateFactory) {
1965
- didWarnAboutDeprecatedCreateFactory = true;
1966
- warn("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.");
1967
- }
1968
- Object.defineProperty(validatedFactory, "type", {
1969
- enumerable: false,
1970
- get: function() {
1971
- warn("Factory.type is deprecated. Access the class directly before passing it to createFactory.");
1972
- Object.defineProperty(this, "type", {
1973
- value: type
1974
- });
1975
- return type;
1976
- }
1977
- });
1978
- }
1979
- return validatedFactory;
1980
- }
1981
- function cloneElementWithValidation(element, props, children) {
1982
- var newElement = cloneElement.apply(this, arguments);
1983
- for (var i = 2; i < arguments.length; i++) {
1984
- validateChildKeys(arguments[i], newElement.type);
1985
- }
1986
- validatePropTypes(newElement);
1987
- return newElement;
1988
- }
1989
- function startTransition(scope, options) {
1990
- var prevTransition = ReactCurrentBatchConfig.transition;
1991
- ReactCurrentBatchConfig.transition = {};
1992
- var currentTransition = ReactCurrentBatchConfig.transition;
1993
- {
1994
- ReactCurrentBatchConfig.transition._updatedFibers = /* @__PURE__ */ new Set();
1995
- }
1996
- try {
1997
- scope();
1998
- } finally {
1999
- ReactCurrentBatchConfig.transition = prevTransition;
2000
- {
2001
- if (prevTransition === null && currentTransition._updatedFibers) {
2002
- var updatedFibersCount = currentTransition._updatedFibers.size;
2003
- if (updatedFibersCount > 10) {
2004
- warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.");
2005
- }
2006
- currentTransition._updatedFibers.clear();
2007
- }
2008
- }
2009
- }
2010
- }
2011
- var didWarnAboutMessageChannel = false;
2012
- var enqueueTaskImpl = null;
2013
- function enqueueTask(task) {
2014
- if (enqueueTaskImpl === null) {
2015
- try {
2016
- var requireString = ("require" + Math.random()).slice(0, 7);
2017
- var nodeRequire = module2 && module2[requireString];
2018
- enqueueTaskImpl = nodeRequire.call(module2, "timers").setImmediate;
2019
- } catch (_err) {
2020
- enqueueTaskImpl = function(callback) {
2021
- {
2022
- if (didWarnAboutMessageChannel === false) {
2023
- didWarnAboutMessageChannel = true;
2024
- if (typeof MessageChannel === "undefined") {
2025
- error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning.");
2026
- }
2027
- }
2028
- }
2029
- var channel = new MessageChannel();
2030
- channel.port1.onmessage = callback;
2031
- channel.port2.postMessage(void 0);
2032
- };
2033
- }
2034
- }
2035
- return enqueueTaskImpl(task);
2036
- }
2037
- var actScopeDepth = 0;
2038
- var didWarnNoAwaitAct = false;
2039
- function act(callback) {
2040
- {
2041
- var prevActScopeDepth = actScopeDepth;
2042
- actScopeDepth++;
2043
- if (ReactCurrentActQueue.current === null) {
2044
- ReactCurrentActQueue.current = [];
2045
- }
2046
- var prevIsBatchingLegacy = ReactCurrentActQueue.isBatchingLegacy;
2047
- var result;
2048
- try {
2049
- ReactCurrentActQueue.isBatchingLegacy = true;
2050
- result = callback();
2051
- if (!prevIsBatchingLegacy && ReactCurrentActQueue.didScheduleLegacyUpdate) {
2052
- var queue = ReactCurrentActQueue.current;
2053
- if (queue !== null) {
2054
- ReactCurrentActQueue.didScheduleLegacyUpdate = false;
2055
- flushActQueue(queue);
2056
- }
2057
- }
2058
- } catch (error2) {
2059
- popActScope(prevActScopeDepth);
2060
- throw error2;
2061
- } finally {
2062
- ReactCurrentActQueue.isBatchingLegacy = prevIsBatchingLegacy;
2063
- }
2064
- if (result !== null && typeof result === "object" && typeof result.then === "function") {
2065
- var thenableResult = result;
2066
- var wasAwaited = false;
2067
- var thenable = {
2068
- then: function(resolve, reject) {
2069
- wasAwaited = true;
2070
- thenableResult.then(function(returnValue2) {
2071
- popActScope(prevActScopeDepth);
2072
- if (actScopeDepth === 0) {
2073
- recursivelyFlushAsyncActWork(returnValue2, resolve, reject);
2074
- } else {
2075
- resolve(returnValue2);
2076
- }
2077
- }, function(error2) {
2078
- popActScope(prevActScopeDepth);
2079
- reject(error2);
2080
- });
2081
- }
2082
- };
2083
- {
2084
- if (!didWarnNoAwaitAct && typeof Promise !== "undefined") {
2085
- Promise.resolve().then(function() {
2086
- }).then(function() {
2087
- if (!wasAwaited) {
2088
- didWarnNoAwaitAct = true;
2089
- error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);");
2090
- }
2091
- });
2092
- }
2093
- }
2094
- return thenable;
2095
- } else {
2096
- var returnValue = result;
2097
- popActScope(prevActScopeDepth);
2098
- if (actScopeDepth === 0) {
2099
- var _queue = ReactCurrentActQueue.current;
2100
- if (_queue !== null) {
2101
- flushActQueue(_queue);
2102
- ReactCurrentActQueue.current = null;
2103
- }
2104
- var _thenable = {
2105
- then: function(resolve, reject) {
2106
- if (ReactCurrentActQueue.current === null) {
2107
- ReactCurrentActQueue.current = [];
2108
- recursivelyFlushAsyncActWork(returnValue, resolve, reject);
2109
- } else {
2110
- resolve(returnValue);
2111
- }
2112
- }
2113
- };
2114
- return _thenable;
2115
- } else {
2116
- var _thenable2 = {
2117
- then: function(resolve, reject) {
2118
- resolve(returnValue);
2119
- }
2120
- };
2121
- return _thenable2;
2122
- }
2123
- }
2124
- }
2125
- }
2126
- function popActScope(prevActScopeDepth) {
2127
- {
2128
- if (prevActScopeDepth !== actScopeDepth - 1) {
2129
- error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. ");
2130
- }
2131
- actScopeDepth = prevActScopeDepth;
2132
- }
2133
- }
2134
- function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {
2135
- {
2136
- var queue = ReactCurrentActQueue.current;
2137
- if (queue !== null) {
2138
- try {
2139
- flushActQueue(queue);
2140
- enqueueTask(function() {
2141
- if (queue.length === 0) {
2142
- ReactCurrentActQueue.current = null;
2143
- resolve(returnValue);
2144
- } else {
2145
- recursivelyFlushAsyncActWork(returnValue, resolve, reject);
2146
- }
2147
- });
2148
- } catch (error2) {
2149
- reject(error2);
2150
- }
2151
- } else {
2152
- resolve(returnValue);
2153
- }
2154
- }
2155
- }
2156
- var isFlushing = false;
2157
- function flushActQueue(queue) {
2158
- {
2159
- if (!isFlushing) {
2160
- isFlushing = true;
2161
- var i = 0;
2162
- try {
2163
- for (; i < queue.length; i++) {
2164
- var callback = queue[i];
2165
- do {
2166
- callback = callback(true);
2167
- } while (callback !== null);
2168
- }
2169
- queue.length = 0;
2170
- } catch (error2) {
2171
- queue = queue.slice(i + 1);
2172
- throw error2;
2173
- } finally {
2174
- isFlushing = false;
2175
- }
2176
- }
2177
- }
2178
- }
2179
- var createElement$1 = createElementWithValidation;
2180
- var cloneElement$1 = cloneElementWithValidation;
2181
- var createFactory = createFactoryWithValidation;
2182
- var Children = {
2183
- map: mapChildren,
2184
- forEach: forEachChildren,
2185
- count: countChildren,
2186
- toArray,
2187
- only: onlyChild
2188
- };
2189
- exports.Children = Children;
2190
- exports.Component = Component;
2191
- exports.Fragment = REACT_FRAGMENT_TYPE;
2192
- exports.Profiler = REACT_PROFILER_TYPE;
2193
- exports.PureComponent = PureComponent;
2194
- exports.StrictMode = REACT_STRICT_MODE_TYPE;
2195
- exports.Suspense = REACT_SUSPENSE_TYPE;
2196
- exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ReactSharedInternals;
2197
- exports.cloneElement = cloneElement$1;
2198
- exports.createContext = createContext;
2199
- exports.createElement = createElement$1;
2200
- exports.createFactory = createFactory;
2201
- exports.createRef = createRef;
2202
- exports.forwardRef = forwardRef7;
2203
- exports.isValidElement = isValidElement;
2204
- exports.lazy = lazy;
2205
- exports.memo = memo;
2206
- exports.startTransition = startTransition;
2207
- exports.unstable_act = act;
2208
- exports.useCallback = useCallback;
2209
- exports.useContext = useContext;
2210
- exports.useDebugValue = useDebugValue;
2211
- exports.useDeferredValue = useDeferredValue;
2212
- exports.useEffect = useEffect;
2213
- exports.useId = useId;
2214
- exports.useImperativeHandle = useImperativeHandle;
2215
- exports.useInsertionEffect = useInsertionEffect;
2216
- exports.useLayoutEffect = useLayoutEffect;
2217
- exports.useMemo = useMemo;
2218
- exports.useReducer = useReducer;
2219
- exports.useRef = useRef;
2220
- exports.useState = useState;
2221
- exports.useSyncExternalStore = useSyncExternalStore;
2222
- exports.useTransition = useTransition;
2223
- exports.version = ReactVersion;
2224
- if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop === "function") {
2225
- __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
2226
- }
2227
- })();
2228
- }
2229
- }
2230
- });
2231
-
2232
- // node_modules/react/index.js
2233
- var require_react = __commonJS({
2234
- "node_modules/react/index.js"(exports, module2) {
2235
- "use strict";
2236
- if (process.env.NODE_ENV === "production") {
2237
- module2.exports = require_react_production_min();
2238
- } else {
2239
- module2.exports = require_react_development();
2240
- }
2241
- }
2242
- });
2243
-
2244
- // node_modules/react/cjs/react-jsx-runtime.production.min.js
2245
- var require_react_jsx_runtime_production_min = __commonJS({
2246
- "node_modules/react/cjs/react-jsx-runtime.production.min.js"(exports) {
2247
- "use strict";
2248
- var f = require_react();
2249
- var k = Symbol.for("react.element");
2250
- var l = Symbol.for("react.fragment");
2251
- var m = Object.prototype.hasOwnProperty;
2252
- var n = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner;
2253
- var p = { key: true, ref: true, __self: true, __source: true };
2254
- function q(c, a, g) {
2255
- var b, d = {}, e = null, h = null;
2256
- void 0 !== g && (e = "" + g);
2257
- void 0 !== a.key && (e = "" + a.key);
2258
- void 0 !== a.ref && (h = a.ref);
2259
- for (b in a)
2260
- m.call(a, b) && !p.hasOwnProperty(b) && (d[b] = a[b]);
2261
- if (c && c.defaultProps)
2262
- for (b in a = c.defaultProps, a)
2263
- void 0 === d[b] && (d[b] = a[b]);
2264
- return { $$typeof: k, type: c, key: e, ref: h, props: d, _owner: n.current };
2265
- }
2266
- exports.Fragment = l;
2267
- exports.jsx = q;
2268
- exports.jsxs = q;
2269
- }
2270
- });
2271
-
2272
- // node_modules/react/cjs/react-jsx-runtime.development.js
2273
- var require_react_jsx_runtime_development = __commonJS({
2274
- "node_modules/react/cjs/react-jsx-runtime.development.js"(exports) {
2275
- "use strict";
2276
- if (process.env.NODE_ENV !== "production") {
2277
- (function() {
2278
- "use strict";
2279
- var React7 = require_react();
2280
- var REACT_ELEMENT_TYPE = Symbol.for("react.element");
2281
- var REACT_PORTAL_TYPE = Symbol.for("react.portal");
2282
- var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
2283
- var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
2284
- var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
2285
- var REACT_PROVIDER_TYPE = Symbol.for("react.provider");
2286
- var REACT_CONTEXT_TYPE = Symbol.for("react.context");
2287
- var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
2288
- var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
2289
- var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list");
2290
- var REACT_MEMO_TYPE = Symbol.for("react.memo");
2291
- var REACT_LAZY_TYPE = Symbol.for("react.lazy");
2292
- var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen");
2293
- var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
2294
- var FAUX_ITERATOR_SYMBOL = "@@iterator";
2295
- function getIteratorFn(maybeIterable) {
2296
- if (maybeIterable === null || typeof maybeIterable !== "object") {
2297
- return null;
2298
- }
2299
- var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
2300
- if (typeof maybeIterator === "function") {
2301
- return maybeIterator;
2302
- }
2303
- return null;
2304
- }
2305
- var ReactSharedInternals = React7.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
2306
- function error(format) {
2307
- {
2308
- {
2309
- for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
2310
- args[_key2 - 1] = arguments[_key2];
2311
- }
2312
- printWarning("error", format, args);
2313
- }
2314
- }
2315
- }
2316
- function printWarning(level, format, args) {
2317
- {
2318
- var ReactDebugCurrentFrame2 = ReactSharedInternals.ReactDebugCurrentFrame;
2319
- var stack = ReactDebugCurrentFrame2.getStackAddendum();
2320
- if (stack !== "") {
2321
- format += "%s";
2322
- args = args.concat([stack]);
2323
- }
2324
- var argsWithFormat = args.map(function(item) {
2325
- return String(item);
2326
- });
2327
- argsWithFormat.unshift("Warning: " + format);
2328
- Function.prototype.apply.call(console[level], console, argsWithFormat);
2329
- }
2330
- }
2331
- var enableScopeAPI = false;
2332
- var enableCacheElement = false;
2333
- var enableTransitionTracing = false;
2334
- var enableLegacyHidden = false;
2335
- var enableDebugTracing = false;
2336
- var REACT_MODULE_REFERENCE;
2337
- {
2338
- REACT_MODULE_REFERENCE = Symbol.for("react.module.reference");
2339
- }
2340
- function isValidElementType(type) {
2341
- if (typeof type === "string" || typeof type === "function") {
2342
- return true;
2343
- }
2344
- 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) {
2345
- return true;
2346
- }
2347
- if (typeof type === "object" && type !== null) {
2348
- 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
2349
- // types supported by any Flight configuration anywhere since
2350
- // we don't know which Flight build this will end up being used
2351
- // with.
2352
- type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== void 0) {
2353
- return true;
2354
- }
2355
- }
2356
- return false;
2357
- }
2358
- function getWrappedName(outerType, innerType, wrapperName) {
2359
- var displayName = outerType.displayName;
2360
- if (displayName) {
2361
- return displayName;
2362
- }
2363
- var functionName = innerType.displayName || innerType.name || "";
2364
- return functionName !== "" ? wrapperName + "(" + functionName + ")" : wrapperName;
2365
- }
2366
- function getContextName(type) {
2367
- return type.displayName || "Context";
2368
- }
2369
- function getComponentNameFromType(type) {
2370
- if (type == null) {
2371
- return null;
2372
- }
2373
- {
2374
- if (typeof type.tag === "number") {
2375
- error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.");
2376
- }
2377
- }
2378
- if (typeof type === "function") {
2379
- return type.displayName || type.name || null;
2380
- }
2381
- if (typeof type === "string") {
2382
- return type;
2383
- }
2384
- switch (type) {
2385
- case REACT_FRAGMENT_TYPE:
2386
- return "Fragment";
2387
- case REACT_PORTAL_TYPE:
2388
- return "Portal";
2389
- case REACT_PROFILER_TYPE:
2390
- return "Profiler";
2391
- case REACT_STRICT_MODE_TYPE:
2392
- return "StrictMode";
2393
- case REACT_SUSPENSE_TYPE:
2394
- return "Suspense";
2395
- case REACT_SUSPENSE_LIST_TYPE:
2396
- return "SuspenseList";
2397
- }
2398
- if (typeof type === "object") {
2399
- switch (type.$$typeof) {
2400
- case REACT_CONTEXT_TYPE:
2401
- var context = type;
2402
- return getContextName(context) + ".Consumer";
2403
- case REACT_PROVIDER_TYPE:
2404
- var provider = type;
2405
- return getContextName(provider._context) + ".Provider";
2406
- case REACT_FORWARD_REF_TYPE:
2407
- return getWrappedName(type, type.render, "ForwardRef");
2408
- case REACT_MEMO_TYPE:
2409
- var outerName = type.displayName || null;
2410
- if (outerName !== null) {
2411
- return outerName;
2412
- }
2413
- return getComponentNameFromType(type.type) || "Memo";
2414
- case REACT_LAZY_TYPE: {
2415
- var lazyComponent = type;
2416
- var payload = lazyComponent._payload;
2417
- var init = lazyComponent._init;
2418
- try {
2419
- return getComponentNameFromType(init(payload));
2420
- } catch (x) {
2421
- return null;
2422
- }
2423
- }
2424
- }
2425
- }
2426
- return null;
2427
- }
2428
- var assign = Object.assign;
2429
- var disabledDepth = 0;
2430
- var prevLog;
2431
- var prevInfo;
2432
- var prevWarn;
2433
- var prevError;
2434
- var prevGroup;
2435
- var prevGroupCollapsed;
2436
- var prevGroupEnd;
2437
- function disabledLog() {
2438
- }
2439
- disabledLog.__reactDisabledLog = true;
2440
- function disableLogs() {
2441
- {
2442
- if (disabledDepth === 0) {
2443
- prevLog = console.log;
2444
- prevInfo = console.info;
2445
- prevWarn = console.warn;
2446
- prevError = console.error;
2447
- prevGroup = console.group;
2448
- prevGroupCollapsed = console.groupCollapsed;
2449
- prevGroupEnd = console.groupEnd;
2450
- var props = {
2451
- configurable: true,
2452
- enumerable: true,
2453
- value: disabledLog,
2454
- writable: true
2455
- };
2456
- Object.defineProperties(console, {
2457
- info: props,
2458
- log: props,
2459
- warn: props,
2460
- error: props,
2461
- group: props,
2462
- groupCollapsed: props,
2463
- groupEnd: props
2464
- });
2465
- }
2466
- disabledDepth++;
2467
- }
2468
- }
2469
- function reenableLogs() {
2470
- {
2471
- disabledDepth--;
2472
- if (disabledDepth === 0) {
2473
- var props = {
2474
- configurable: true,
2475
- enumerable: true,
2476
- writable: true
2477
- };
2478
- Object.defineProperties(console, {
2479
- log: assign({}, props, {
2480
- value: prevLog
2481
- }),
2482
- info: assign({}, props, {
2483
- value: prevInfo
2484
- }),
2485
- warn: assign({}, props, {
2486
- value: prevWarn
2487
- }),
2488
- error: assign({}, props, {
2489
- value: prevError
2490
- }),
2491
- group: assign({}, props, {
2492
- value: prevGroup
2493
- }),
2494
- groupCollapsed: assign({}, props, {
2495
- value: prevGroupCollapsed
2496
- }),
2497
- groupEnd: assign({}, props, {
2498
- value: prevGroupEnd
2499
- })
2500
- });
2501
- }
2502
- if (disabledDepth < 0) {
2503
- error("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
2504
- }
2505
- }
2506
- }
2507
- var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;
2508
- var prefix;
2509
- function describeBuiltInComponentFrame(name, source, ownerFn) {
2510
- {
2511
- if (prefix === void 0) {
2512
- try {
2513
- throw Error();
2514
- } catch (x) {
2515
- var match = x.stack.trim().match(/\n( *(at )?)/);
2516
- prefix = match && match[1] || "";
2517
- }
2518
- }
2519
- return "\n" + prefix + name;
2520
- }
2521
- }
2522
- var reentry = false;
2523
- var componentFrameCache;
2524
- {
2525
- var PossiblyWeakMap = typeof WeakMap === "function" ? WeakMap : Map;
2526
- componentFrameCache = new PossiblyWeakMap();
2527
- }
2528
- function describeNativeComponentFrame(fn, construct) {
2529
- if (!fn || reentry) {
2530
- return "";
2531
- }
2532
- {
2533
- var frame = componentFrameCache.get(fn);
2534
- if (frame !== void 0) {
2535
- return frame;
2536
- }
2537
- }
2538
- var control;
2539
- reentry = true;
2540
- var previousPrepareStackTrace = Error.prepareStackTrace;
2541
- Error.prepareStackTrace = void 0;
2542
- var previousDispatcher;
2543
- {
2544
- previousDispatcher = ReactCurrentDispatcher.current;
2545
- ReactCurrentDispatcher.current = null;
2546
- disableLogs();
2547
- }
2548
- try {
2549
- if (construct) {
2550
- var Fake = function() {
2551
- throw Error();
2552
- };
2553
- Object.defineProperty(Fake.prototype, "props", {
2554
- set: function() {
2555
- throw Error();
2556
- }
2557
- });
2558
- if (typeof Reflect === "object" && Reflect.construct) {
2559
- try {
2560
- Reflect.construct(Fake, []);
2561
- } catch (x) {
2562
- control = x;
2563
- }
2564
- Reflect.construct(fn, [], Fake);
2565
- } else {
2566
- try {
2567
- Fake.call();
2568
- } catch (x) {
2569
- control = x;
2570
- }
2571
- fn.call(Fake.prototype);
2572
- }
2573
- } else {
2574
- try {
2575
- throw Error();
2576
- } catch (x) {
2577
- control = x;
2578
- }
2579
- fn();
2580
- }
2581
- } catch (sample) {
2582
- if (sample && control && typeof sample.stack === "string") {
2583
- var sampleLines = sample.stack.split("\n");
2584
- var controlLines = control.stack.split("\n");
2585
- var s = sampleLines.length - 1;
2586
- var c = controlLines.length - 1;
2587
- while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {
2588
- c--;
2589
- }
2590
- for (; s >= 1 && c >= 0; s--, c--) {
2591
- if (sampleLines[s] !== controlLines[c]) {
2592
- if (s !== 1 || c !== 1) {
2593
- do {
2594
- s--;
2595
- c--;
2596
- if (c < 0 || sampleLines[s] !== controlLines[c]) {
2597
- var _frame = "\n" + sampleLines[s].replace(" at new ", " at ");
2598
- if (fn.displayName && _frame.includes("<anonymous>")) {
2599
- _frame = _frame.replace("<anonymous>", fn.displayName);
2600
- }
2601
- {
2602
- if (typeof fn === "function") {
2603
- componentFrameCache.set(fn, _frame);
2604
- }
2605
- }
2606
- return _frame;
2607
- }
2608
- } while (s >= 1 && c >= 0);
2609
- }
2610
- break;
2611
- }
2612
- }
2613
- }
2614
- } finally {
2615
- reentry = false;
2616
- {
2617
- ReactCurrentDispatcher.current = previousDispatcher;
2618
- reenableLogs();
2619
- }
2620
- Error.prepareStackTrace = previousPrepareStackTrace;
2621
- }
2622
- var name = fn ? fn.displayName || fn.name : "";
2623
- var syntheticFrame = name ? describeBuiltInComponentFrame(name) : "";
2624
- {
2625
- if (typeof fn === "function") {
2626
- componentFrameCache.set(fn, syntheticFrame);
2627
- }
2628
- }
2629
- return syntheticFrame;
2630
- }
2631
- function describeFunctionComponentFrame(fn, source, ownerFn) {
2632
- {
2633
- return describeNativeComponentFrame(fn, false);
2634
- }
2635
- }
2636
- function shouldConstruct(Component) {
2637
- var prototype = Component.prototype;
2638
- return !!(prototype && prototype.isReactComponent);
2639
- }
2640
- function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {
2641
- if (type == null) {
2642
- return "";
2643
- }
2644
- if (typeof type === "function") {
2645
- {
2646
- return describeNativeComponentFrame(type, shouldConstruct(type));
2647
- }
2648
- }
2649
- if (typeof type === "string") {
2650
- return describeBuiltInComponentFrame(type);
2651
- }
2652
- switch (type) {
2653
- case REACT_SUSPENSE_TYPE:
2654
- return describeBuiltInComponentFrame("Suspense");
2655
- case REACT_SUSPENSE_LIST_TYPE:
2656
- return describeBuiltInComponentFrame("SuspenseList");
2657
- }
2658
- if (typeof type === "object") {
2659
- switch (type.$$typeof) {
2660
- case REACT_FORWARD_REF_TYPE:
2661
- return describeFunctionComponentFrame(type.render);
2662
- case REACT_MEMO_TYPE:
2663
- return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);
2664
- case REACT_LAZY_TYPE: {
2665
- var lazyComponent = type;
2666
- var payload = lazyComponent._payload;
2667
- var init = lazyComponent._init;
2668
- try {
2669
- return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);
2670
- } catch (x) {
2671
- }
2672
- }
2673
- }
2674
- }
2675
- return "";
2676
- }
2677
- var hasOwnProperty = Object.prototype.hasOwnProperty;
2678
- var loggedTypeFailures = {};
2679
- var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
2680
- function setCurrentlyValidatingElement(element) {
2681
- {
2682
- if (element) {
2683
- var owner = element._owner;
2684
- var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
2685
- ReactDebugCurrentFrame.setExtraStackFrame(stack);
2686
- } else {
2687
- ReactDebugCurrentFrame.setExtraStackFrame(null);
2688
- }
2689
- }
2690
- }
2691
- function checkPropTypes(typeSpecs, values, location, componentName, element) {
2692
- {
2693
- var has = Function.call.bind(hasOwnProperty);
2694
- for (var typeSpecName in typeSpecs) {
2695
- if (has(typeSpecs, typeSpecName)) {
2696
- var error$1 = void 0;
2697
- try {
2698
- if (typeof typeSpecs[typeSpecName] !== "function") {
2699
- 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`.");
2700
- err.name = "Invariant Violation";
2701
- throw err;
2702
- }
2703
- error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
2704
- } catch (ex) {
2705
- error$1 = ex;
2706
- }
2707
- if (error$1 && !(error$1 instanceof Error)) {
2708
- setCurrentlyValidatingElement(element);
2709
- 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);
2710
- setCurrentlyValidatingElement(null);
2711
- }
2712
- if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {
2713
- loggedTypeFailures[error$1.message] = true;
2714
- setCurrentlyValidatingElement(element);
2715
- error("Failed %s type: %s", location, error$1.message);
2716
- setCurrentlyValidatingElement(null);
2717
- }
2718
- }
2719
- }
2720
- }
2721
- }
2722
- var isArrayImpl = Array.isArray;
2723
- function isArray(a) {
2724
- return isArrayImpl(a);
2725
- }
2726
- function typeName(value) {
2727
- {
2728
- var hasToStringTag = typeof Symbol === "function" && Symbol.toStringTag;
2729
- var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
2730
- return type;
2731
- }
2732
- }
2733
- function willCoercionThrow(value) {
2734
- {
2735
- try {
2736
- testStringCoercion(value);
2737
- return false;
2738
- } catch (e) {
2739
- return true;
2740
- }
2741
- }
2742
- }
2743
- function testStringCoercion(value) {
2744
- return "" + value;
2745
- }
2746
- function checkKeyStringCoercion(value) {
2747
- {
2748
- if (willCoercionThrow(value)) {
2749
- error("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", typeName(value));
2750
- return testStringCoercion(value);
2751
- }
2752
- }
2753
- }
2754
- var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;
2755
- var RESERVED_PROPS = {
2756
- key: true,
2757
- ref: true,
2758
- __self: true,
2759
- __source: true
2760
- };
2761
- var specialPropKeyWarningShown;
2762
- var specialPropRefWarningShown;
2763
- var didWarnAboutStringRefs;
2764
- {
2765
- didWarnAboutStringRefs = {};
2766
- }
2767
- function hasValidRef(config) {
2768
- {
2769
- if (hasOwnProperty.call(config, "ref")) {
2770
- var getter = Object.getOwnPropertyDescriptor(config, "ref").get;
2771
- if (getter && getter.isReactWarning) {
2772
- return false;
2773
- }
2774
- }
2775
- }
2776
- return config.ref !== void 0;
2777
- }
2778
- function hasValidKey(config) {
2779
- {
2780
- if (hasOwnProperty.call(config, "key")) {
2781
- var getter = Object.getOwnPropertyDescriptor(config, "key").get;
2782
- if (getter && getter.isReactWarning) {
2783
- return false;
2784
- }
2785
- }
2786
- }
2787
- return config.key !== void 0;
2788
- }
2789
- function warnIfStringRefCannotBeAutoConverted(config, self) {
2790
- {
2791
- if (typeof config.ref === "string" && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) {
2792
- var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);
2793
- if (!didWarnAboutStringRefs[componentName]) {
2794
- 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);
2795
- didWarnAboutStringRefs[componentName] = true;
2796
- }
2797
- }
2798
- }
2799
- }
2800
- function defineKeyPropWarningGetter(props, displayName) {
2801
- {
2802
- var warnAboutAccessingKey = function() {
2803
- if (!specialPropKeyWarningShown) {
2804
- specialPropKeyWarningShown = true;
2805
- 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);
2806
- }
2807
- };
2808
- warnAboutAccessingKey.isReactWarning = true;
2809
- Object.defineProperty(props, "key", {
2810
- get: warnAboutAccessingKey,
2811
- configurable: true
2812
- });
2813
- }
2814
- }
2815
- function defineRefPropWarningGetter(props, displayName) {
2816
- {
2817
- var warnAboutAccessingRef = function() {
2818
- if (!specialPropRefWarningShown) {
2819
- specialPropRefWarningShown = true;
2820
- 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);
2821
- }
2822
- };
2823
- warnAboutAccessingRef.isReactWarning = true;
2824
- Object.defineProperty(props, "ref", {
2825
- get: warnAboutAccessingRef,
2826
- configurable: true
2827
- });
2828
- }
2829
- }
2830
- var ReactElement = function(type, key, ref, self, source, owner, props) {
2831
- var element = {
2832
- // This tag allows us to uniquely identify this as a React Element
2833
- $$typeof: REACT_ELEMENT_TYPE,
2834
- // Built-in properties that belong on the element
2835
- type,
2836
- key,
2837
- ref,
2838
- props,
2839
- // Record the component responsible for creating this element.
2840
- _owner: owner
2841
- };
2842
- {
2843
- element._store = {};
2844
- Object.defineProperty(element._store, "validated", {
2845
- configurable: false,
2846
- enumerable: false,
2847
- writable: true,
2848
- value: false
2849
- });
2850
- Object.defineProperty(element, "_self", {
2851
- configurable: false,
2852
- enumerable: false,
2853
- writable: false,
2854
- value: self
2855
- });
2856
- Object.defineProperty(element, "_source", {
2857
- configurable: false,
2858
- enumerable: false,
2859
- writable: false,
2860
- value: source
2861
- });
2862
- if (Object.freeze) {
2863
- Object.freeze(element.props);
2864
- Object.freeze(element);
2865
- }
2866
- }
2867
- return element;
2868
- };
2869
- function jsxDEV(type, config, maybeKey, source, self) {
2870
- {
2871
- var propName;
2872
- var props = {};
2873
- var key = null;
2874
- var ref = null;
2875
- if (maybeKey !== void 0) {
2876
- {
2877
- checkKeyStringCoercion(maybeKey);
2878
- }
2879
- key = "" + maybeKey;
2880
- }
2881
- if (hasValidKey(config)) {
2882
- {
2883
- checkKeyStringCoercion(config.key);
2884
- }
2885
- key = "" + config.key;
2886
- }
2887
- if (hasValidRef(config)) {
2888
- ref = config.ref;
2889
- warnIfStringRefCannotBeAutoConverted(config, self);
2890
- }
2891
- for (propName in config) {
2892
- if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
2893
- props[propName] = config[propName];
2894
- }
2895
- }
2896
- if (type && type.defaultProps) {
2897
- var defaultProps = type.defaultProps;
2898
- for (propName in defaultProps) {
2899
- if (props[propName] === void 0) {
2900
- props[propName] = defaultProps[propName];
2901
- }
2902
- }
2903
- }
2904
- if (key || ref) {
2905
- var displayName = typeof type === "function" ? type.displayName || type.name || "Unknown" : type;
2906
- if (key) {
2907
- defineKeyPropWarningGetter(props, displayName);
2908
- }
2909
- if (ref) {
2910
- defineRefPropWarningGetter(props, displayName);
2911
- }
2912
- }
2913
- return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);
2914
- }
2915
- }
2916
- var ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;
2917
- var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;
2918
- function setCurrentlyValidatingElement$1(element) {
2919
- {
2920
- if (element) {
2921
- var owner = element._owner;
2922
- var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
2923
- ReactDebugCurrentFrame$1.setExtraStackFrame(stack);
2924
- } else {
2925
- ReactDebugCurrentFrame$1.setExtraStackFrame(null);
2926
- }
2927
- }
2928
- }
2929
- var propTypesMisspellWarningShown;
2930
- {
2931
- propTypesMisspellWarningShown = false;
2932
- }
2933
- function isValidElement(object) {
2934
- {
2935
- return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
2936
- }
2937
- }
2938
- function getDeclarationErrorAddendum() {
2939
- {
2940
- if (ReactCurrentOwner$1.current) {
2941
- var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);
2942
- if (name) {
2943
- return "\n\nCheck the render method of `" + name + "`.";
2944
- }
2945
- }
2946
- return "";
2947
- }
2948
- }
2949
- function getSourceInfoErrorAddendum(source) {
2950
- {
2951
- if (source !== void 0) {
2952
- var fileName = source.fileName.replace(/^.*[\\\/]/, "");
2953
- var lineNumber = source.lineNumber;
2954
- return "\n\nCheck your code at " + fileName + ":" + lineNumber + ".";
2955
- }
2956
- return "";
2957
- }
2958
- }
2959
- var ownerHasKeyUseWarning = {};
2960
- function getCurrentComponentErrorInfo(parentType) {
2961
- {
2962
- var info = getDeclarationErrorAddendum();
2963
- if (!info) {
2964
- var parentName = typeof parentType === "string" ? parentType : parentType.displayName || parentType.name;
2965
- if (parentName) {
2966
- info = "\n\nCheck the top-level render call using <" + parentName + ">.";
2967
- }
2968
- }
2969
- return info;
2970
- }
2971
- }
2972
- function validateExplicitKey(element, parentType) {
2973
- {
2974
- if (!element._store || element._store.validated || element.key != null) {
2975
- return;
2976
- }
2977
- element._store.validated = true;
2978
- var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);
2979
- if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {
2980
- return;
2981
- }
2982
- ownerHasKeyUseWarning[currentComponentErrorInfo] = true;
2983
- var childOwner = "";
2984
- if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {
2985
- childOwner = " It was passed a child from " + getComponentNameFromType(element._owner.type) + ".";
2986
- }
2987
- setCurrentlyValidatingElement$1(element);
2988
- 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);
2989
- setCurrentlyValidatingElement$1(null);
2990
- }
2991
- }
2992
- function validateChildKeys(node, parentType) {
2993
- {
2994
- if (typeof node !== "object") {
2995
- return;
2996
- }
2997
- if (isArray(node)) {
2998
- for (var i = 0; i < node.length; i++) {
2999
- var child = node[i];
3000
- if (isValidElement(child)) {
3001
- validateExplicitKey(child, parentType);
3002
- }
3003
- }
3004
- } else if (isValidElement(node)) {
3005
- if (node._store) {
3006
- node._store.validated = true;
3007
- }
3008
- } else if (node) {
3009
- var iteratorFn = getIteratorFn(node);
3010
- if (typeof iteratorFn === "function") {
3011
- if (iteratorFn !== node.entries) {
3012
- var iterator = iteratorFn.call(node);
3013
- var step;
3014
- while (!(step = iterator.next()).done) {
3015
- if (isValidElement(step.value)) {
3016
- validateExplicitKey(step.value, parentType);
3017
- }
3018
- }
3019
- }
3020
- }
3021
- }
3022
- }
3023
- }
3024
- function validatePropTypes(element) {
3025
- {
3026
- var type = element.type;
3027
- if (type === null || type === void 0 || typeof type === "string") {
3028
- return;
3029
- }
3030
- var propTypes;
3031
- if (typeof type === "function") {
3032
- propTypes = type.propTypes;
3033
- } else if (typeof type === "object" && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.
3034
- // Inner props are checked in the reconciler.
3035
- type.$$typeof === REACT_MEMO_TYPE)) {
3036
- propTypes = type.propTypes;
3037
- } else {
3038
- return;
3039
- }
3040
- if (propTypes) {
3041
- var name = getComponentNameFromType(type);
3042
- checkPropTypes(propTypes, element.props, "prop", name, element);
3043
- } else if (type.PropTypes !== void 0 && !propTypesMisspellWarningShown) {
3044
- propTypesMisspellWarningShown = true;
3045
- var _name = getComponentNameFromType(type);
3046
- error("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _name || "Unknown");
3047
- }
3048
- if (typeof type.getDefaultProps === "function" && !type.getDefaultProps.isReactClassApproved) {
3049
- error("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
3050
- }
3051
- }
3052
- }
3053
- function validateFragmentProps(fragment) {
3054
- {
3055
- var keys = Object.keys(fragment.props);
3056
- for (var i = 0; i < keys.length; i++) {
3057
- var key = keys[i];
3058
- if (key !== "children" && key !== "key") {
3059
- setCurrentlyValidatingElement$1(fragment);
3060
- error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", key);
3061
- setCurrentlyValidatingElement$1(null);
3062
- break;
3063
- }
3064
- }
3065
- if (fragment.ref !== null) {
3066
- setCurrentlyValidatingElement$1(fragment);
3067
- error("Invalid attribute `ref` supplied to `React.Fragment`.");
3068
- setCurrentlyValidatingElement$1(null);
3069
- }
3070
- }
3071
- }
3072
- function jsxWithValidation(type, props, key, isStaticChildren, source, self) {
3073
- {
3074
- var validType = isValidElementType(type);
3075
- if (!validType) {
3076
- var info = "";
3077
- if (type === void 0 || typeof type === "object" && type !== null && Object.keys(type).length === 0) {
3078
- 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.";
3079
- }
3080
- var sourceInfo = getSourceInfoErrorAddendum(source);
3081
- if (sourceInfo) {
3082
- info += sourceInfo;
3083
- } else {
3084
- info += getDeclarationErrorAddendum();
3085
- }
3086
- var typeString;
3087
- if (type === null) {
3088
- typeString = "null";
3089
- } else if (isArray(type)) {
3090
- typeString = "array";
3091
- } else if (type !== void 0 && type.$$typeof === REACT_ELEMENT_TYPE) {
3092
- typeString = "<" + (getComponentNameFromType(type.type) || "Unknown") + " />";
3093
- info = " Did you accidentally export a JSX literal instead of a component?";
3094
- } else {
3095
- typeString = typeof type;
3096
- }
3097
- 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);
3098
- }
3099
- var element = jsxDEV(type, props, key, source, self);
3100
- if (element == null) {
3101
- return element;
3102
- }
3103
- if (validType) {
3104
- var children = props.children;
3105
- if (children !== void 0) {
3106
- if (isStaticChildren) {
3107
- if (isArray(children)) {
3108
- for (var i = 0; i < children.length; i++) {
3109
- validateChildKeys(children[i], type);
3110
- }
3111
- if (Object.freeze) {
3112
- Object.freeze(children);
3113
- }
3114
- } else {
3115
- 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.");
3116
- }
3117
- } else {
3118
- validateChildKeys(children, type);
3119
- }
3120
- }
3121
- }
3122
- if (type === REACT_FRAGMENT_TYPE) {
3123
- validateFragmentProps(element);
3124
- } else {
3125
- validatePropTypes(element);
3126
- }
3127
- return element;
3128
- }
3129
- }
3130
- function jsxWithValidationStatic(type, props, key) {
3131
- {
3132
- return jsxWithValidation(type, props, key, true);
3133
- }
3134
- }
3135
- function jsxWithValidationDynamic(type, props, key) {
3136
- {
3137
- return jsxWithValidation(type, props, key, false);
3138
- }
3139
- }
3140
- var jsx11 = jsxWithValidationDynamic;
3141
- var jsxs2 = jsxWithValidationStatic;
3142
- exports.Fragment = REACT_FRAGMENT_TYPE;
3143
- exports.jsx = jsx11;
3144
- exports.jsxs = jsxs2;
3145
- })();
3146
- }
3147
- }
3148
- });
3149
-
3150
- // node_modules/react/jsx-runtime.js
3151
- var require_jsx_runtime = __commonJS({
3152
- "node_modules/react/jsx-runtime.js"(exports, module2) {
3153
- "use strict";
3154
- if (process.env.NODE_ENV === "production") {
3155
- module2.exports = require_react_jsx_runtime_production_min();
3156
- } else {
3157
- module2.exports = require_react_jsx_runtime_development();
3158
- }
3159
- }
3160
- });
3161
-
3162
59
  // src/index.ts
3163
60
  var src_exports = {};
3164
61
  __export(src_exports, {
62
+ AngleDownIcon: () => AngleDownIcon,
3165
63
  Button: () => Button,
64
+ ButtonGroup: () => ButtonGroup,
65
+ CalendarIcon: () => CalendarIcon,
66
+ CheckIcon: () => CheckIcon,
3166
67
  Checkbox: () => Checkbox,
68
+ Chip: () => Chip,
69
+ CircleIcon: () => CircleIcon,
70
+ CircleOutlineIcon: () => CircleOutlineIcon,
71
+ CloseIcon: () => CloseIcon,
72
+ CodeIcon: () => CodeIcon,
73
+ FolderIcon: () => FolderIcon,
74
+ Input: () => Input,
3167
75
  Label: () => Label,
76
+ MinusIcon: () => MinusIcon,
77
+ PlusIcon: () => PlusIcon,
3168
78
  Radio: () => RadioGroupItem,
3169
79
  RadioGroup: () => RadioGroup,
80
+ SearchIcon: () => SearchIcon,
81
+ Switch: () => Switch,
3170
82
  Table: () => Table,
3171
83
  TableBody: () => TableBody,
3172
84
  TableCaption: () => TableCaption,
@@ -3175,12 +87,15 @@ __export(src_exports, {
3175
87
  TableHead: () => TableHead,
3176
88
  TableHeader: () => TableHeader,
3177
89
  TableRow: () => TableRow,
90
+ Tooltip: () => Tooltip,
91
+ UserGroupIcon: () => UserGroupIcon,
92
+ UserIcon: () => UserIcon,
3178
93
  buttonVariants: () => buttonVariants,
3179
- colors: () => colors
94
+ colors: () => colors_default
3180
95
  });
3181
96
  module.exports = __toCommonJS(src_exports);
3182
97
 
3183
- // src/colors.ts
98
+ // src/colors/base.ts
3184
99
  var colors = {
3185
100
  grey: {
3186
101
  50: "#F9FAFB",
@@ -3290,54 +205,198 @@ var colors = {
3290
205
  800: "#5521B5",
3291
206
  900: "#4A1D96"
3292
207
  },
3293
- pink: {
3294
- 50: "#FFF6F9",
3295
- 100: "#FFF1F5",
3296
- 200: "#FFE8EE",
3297
- 300: "#FFD9E3",
3298
- 400: "#FFBFD0",
3299
- 500: "#FF9DB7",
3300
- 600: "#FB7A9C",
3301
- 700: "#D95477",
3302
- 800: "#A02042",
3303
- 900: "#731837"
208
+ pink: {
209
+ 50: "#FFF6F9",
210
+ 100: "#FFF1F5",
211
+ 200: "#FFE8EE",
212
+ 300: "#FFD9E3",
213
+ 400: "#FFBFD0",
214
+ 500: "#FF9DB7",
215
+ 600: "#FB7A9C",
216
+ 700: "#D95477",
217
+ 800: "#A02042",
218
+ 900: "#731837"
219
+ }
220
+ };
221
+
222
+ // src/colors/foreground.ts
223
+ var foreground = {
224
+ DEFAULT: colors.grey["900"],
225
+ dark: "#FFF",
226
+ muted: {
227
+ DEFAULT: colors.grey["500"],
228
+ dark: colors.grey["300"]
229
+ },
230
+ subtle: {
231
+ DEFAULT: colors.grey["400"],
232
+ dark: colors.grey["500"]
233
+ },
234
+ inverse: {
235
+ DEFAULT: "#FFF",
236
+ dark: colors.grey["900"]
237
+ }
238
+ };
239
+
240
+ // src/colors/background.ts
241
+ var background = {
242
+ DEFAULT: "#FFF",
243
+ dark: "#000",
244
+ alt: {
245
+ DEFAULT: colors.grey["50"],
246
+ dark: colors.grey["700"]
247
+ },
248
+ subtle: {
249
+ DEFAULT: colors.purple["50"],
250
+ dark: colors.grey["800"]
251
+ },
252
+ inverse: {
253
+ DEFAULT: colors.grey["900"],
254
+ dark: "#FFF"
255
+ }
256
+ };
257
+
258
+ // src/colors/accent.ts
259
+ var accent = {
260
+ DEFAULT: colors.blue["700"],
261
+ dark: "#FFF",
262
+ alt: {
263
+ DEFAULT: colors.grey["300"],
264
+ dark: colors.grey["600"]
265
+ },
266
+ hover: {
267
+ DEFAULT: colors.grey["900"],
268
+ dark: colors.grey["300"]
269
+ },
270
+ focus: {
271
+ DEFAULT: "#000",
272
+ dark: colors.grey["100"]
273
+ }
274
+ };
275
+
276
+ // src/colors/border.ts
277
+ var border = {
278
+ DEFAULT: colors.grey["300"],
279
+ dark: colors.grey["500"],
280
+ hover: {
281
+ DEFAULT: colors.grey["400"],
282
+ dark: colors.grey["300"]
283
+ },
284
+ focus: {
285
+ DEFAULT: colors.grey["500"],
286
+ dark: colors.grey["400"]
287
+ },
288
+ subtle: {
289
+ DEFAULT: colors.grey["200"],
290
+ dark: colors.grey["700"]
291
+ }
292
+ };
293
+
294
+ // src/colors/feedback.ts
295
+ var feedback = {
296
+ green: colors.green["500"],
297
+ yellow: colors.yellow["300"],
298
+ orange: colors.orange["400"],
299
+ red: colors.red["600"]
300
+ };
301
+
302
+ // src/colors/button.ts
303
+ var button = {
304
+ primary: {
305
+ DEFAULT: colors.blue["700"],
306
+ dark: "#FFF",
307
+ hover: {
308
+ DEFAULT: colors.blue["800"],
309
+ dark: accent.hover.dark
310
+ },
311
+ focus: {
312
+ DEFAULT: accent.DEFAULT,
313
+ dark: accent.focus.dark
314
+ },
315
+ disabled: {
316
+ DEFAULT: colors.grey["50"],
317
+ dark: background.subtle.dark
318
+ }
319
+ },
320
+ secondary: {
321
+ DEFAULT: "#FFF",
322
+ dark: "#000",
323
+ hover: {
324
+ DEFAULT: colors.grey["50"],
325
+ dark: background.subtle.dark
326
+ },
327
+ focus: {
328
+ DEFAULT: colors.blue["50"],
329
+ dark: colors.blue["900"]
330
+ },
331
+ disabled: {
332
+ DEFAULT: colors.grey["50"],
333
+ dark: background.subtle.dark
334
+ },
335
+ border: {
336
+ DEFAULT: border.DEFAULT,
337
+ dark: border.dark,
338
+ hover: {
339
+ DEFAULT: border.hover.DEFAULT,
340
+ dark: border.hover.dark
341
+ },
342
+ focus: {
343
+ DEFAULT: border.DEFAULT,
344
+ dark: border.focus.dark
345
+ },
346
+ disabled: {
347
+ DEFAULT: border.subtle.DEFAULT,
348
+ dark: border.subtle.dark
349
+ }
350
+ }
351
+ },
352
+ tertiary: {
353
+ hover: {
354
+ DEFAULT: colors.grey["50"],
355
+ dark: background.subtle.dark
356
+ },
357
+ focus: {
358
+ DEFAULT: background.DEFAULT,
359
+ dark: colors.blue["900"]
360
+ }
361
+ },
362
+ success: {
363
+ DEFAULT: feedback.green,
364
+ hover: {
365
+ DEFAULT: colors.green["500"]
366
+ },
367
+ focus: {
368
+ DEFAULT: colors.green["600"]
369
+ },
370
+ disabled: {
371
+ DEFAULT: colors.grey["50"]
372
+ }
373
+ },
374
+ danger: {
375
+ DEFAULT: feedback.red,
376
+ hover: {
377
+ DEFAULT: colors.red["700"]
378
+ },
379
+ focus: {
380
+ DEFAULT: colors.red["600"]
381
+ },
382
+ disabled: {
383
+ DEFAULT: colors.grey["50"]
384
+ }
3304
385
  }
3305
386
  };
387
+
388
+ // src/colors/index.ts
3306
389
  var colors_default = __spreadValues({
3307
390
  transparent: "transparent",
3308
391
  current: "currentColor",
3309
392
  primary: colors.blue,
3310
393
  secondary: colors.pink,
3311
- foreground: {
3312
- DEFAULT: colors.grey["900"],
3313
- muted: colors.grey["500"],
3314
- subtle: colors.grey["400"],
3315
- inverse: "#FFF"
3316
- },
3317
- accent: {
3318
- DEFAULT: colors.blue["700"],
3319
- hover: colors.grey["900"],
3320
- focus: "#000",
3321
- alt: colors.grey["300"],
3322
- "alt-dark": colors.grey["600"]
3323
- },
3324
- border: {
3325
- DEFAULT: colors.grey["300"],
3326
- hover: colors.grey["400"],
3327
- subtle: colors.grey["200"]
3328
- },
3329
- feedback: {
3330
- green: colors.green["400"],
3331
- yellow: colors.yellow["300"],
3332
- orange: colors.orange["400"],
3333
- red: colors.red["600"]
3334
- },
3335
- button: {
3336
- active: colors.blue["700"],
3337
- hover: colors.grey["900"],
3338
- focus: "#000",
3339
- disabled: colors.purple["50"]
3340
- },
394
+ foreground,
395
+ background,
396
+ accent,
397
+ border,
398
+ feedback,
399
+ button,
3341
400
  white: {
3342
401
  DEFAULT: "#fff"
3343
402
  },
@@ -3347,7 +406,7 @@ var colors_default = __spreadValues({
3347
406
  }, colors);
3348
407
 
3349
408
  // src/components/Button/index.tsx
3350
- var React = __toESM(require_react());
409
+ var React = __toESM(require("react"));
3351
410
 
3352
411
  // node_modules/@babel/runtime/helpers/esm/extends.js
3353
412
  function _extends() {
@@ -3366,10 +425,10 @@ function _extends() {
3366
425
  }
3367
426
 
3368
427
  // node_modules/@radix-ui/react-slot/dist/index.mjs
3369
- var import_react2 = __toESM(require_react(), 1);
428
+ var import_react2 = require("react");
3370
429
 
3371
430
  // node_modules/@radix-ui/react-compose-refs/dist/index.mjs
3372
- var import_react = __toESM(require_react(), 1);
431
+ var import_react = require("react");
3373
432
  function $6ed0406888f73fc4$var$setRef(ref, value) {
3374
433
  if (typeof ref === "function")
3375
434
  ref(value);
@@ -3457,23 +516,94 @@ function cn(...inputs) {
3457
516
  }
3458
517
 
3459
518
  // src/components/Button/index.tsx
3460
- var import_jsx_runtime = __toESM(require_jsx_runtime());
519
+ var import_jsx_runtime = require("react/jsx-runtime");
3461
520
  var buttonVariants = (0, import_class_variance_authority.cva)(
3462
- "inline-flex items-center justify-center whitespace-nowrap rounded-lg transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none border-2",
521
+ [
522
+ "inline-flex",
523
+ "items-center",
524
+ "justify-center",
525
+ "whitespace-nowrap",
526
+ "rounded-lg",
527
+ "transition-colors",
528
+ "focus-visible:outline-none",
529
+ "focus-visible:ring-1",
530
+ "focus-visible:ring-ring",
531
+ "disabled:pointer-events-none",
532
+ "border-2 "
533
+ ],
3463
534
  {
3464
535
  variants: {
3465
536
  variant: {
3466
- primary: "bg-button-active border-button-active text-white hover:bg-button-hover hover:border-button-hover focus:bg-button-focus focus:border-button-focus disabled:bg-button-disabled disabled:text-foreground-subtle disabled:border-button-disabled",
3467
- secondary: "bg-white text-grey-900 border-border hover:bg-button-disabled hover:border-border focus:bg-primary-50 focus:border-foreground-muted disabled:bg-button-disabled disabled:border-border-subtle disabled:text-foreground-subtle",
3468
- tertiary: "bg-transparent border-transparent text-foreground hover:bg-purple-50 hover:border-purple-50 focus:bg-blue-50 focus:border-blue-50 disabled:text-foreground-subtle",
3469
- success: "bg-green-400 border-green-400 text-black hover:bg-green-500 hover:border-green-500 focus:bg-green-600 focus:border-green-600 disabled:bg-button-disabled disabled:border-button-disabled disabled:text-foreground-subtle",
3470
- danger: "bg-red-600 border-red-600 text-white hover:bg-red-700 hover:border-red-700 focus:bg-red-800 focus:border-red-800 disabled:bg-button-disabled disabled:border-button-disabled disabled:text-foreground-subtle"
537
+ primary: [
538
+ "bg-button-primary",
539
+ "border-button-primary",
540
+ "text-white",
541
+ "hover:bg-button-primary-hover",
542
+ "hover:border-button-primary-hover",
543
+ "focus:bg-button-primary-focus",
544
+ "focus:border-button-primary-focus",
545
+ "focus-visible:shadow-blue",
546
+ "disabled:bg-button-primary-disabled",
547
+ "disabled:text-foreground-subtle",
548
+ "disabled:border-button-primary-disabled"
549
+ ],
550
+ secondary: [
551
+ "bg-white",
552
+ "text-grey-900",
553
+ "border-border",
554
+ "hover:bg-button-secondary-hover",
555
+ "hover:border-button-secondary-border-hover",
556
+ "focus:border-button-secondary-border-focus",
557
+ "focus-visible:shadow-blue",
558
+ "disabled:bg-button-secondary-disabled",
559
+ "disabled:border-button-secondary-border-disabled",
560
+ "disabled:text-foreground-subtle"
561
+ ],
562
+ tertiary: [
563
+ "bg-transparent border-transparent",
564
+ "text-foreground",
565
+ "dark:text-white",
566
+ "hover:bg-button-tertiary-hover",
567
+ "hover:border-button-tertiary-hover",
568
+ "hover:dark:text-button-tertiary-hover-dark",
569
+ "focus:bg-button-tertiary-focus",
570
+ "focus:border-button-tertiary-focus",
571
+ "focus-visible:shadow-blue",
572
+ "disabled:text-foreground-subtle",
573
+ "dark:text-white"
574
+ ],
575
+ success: [
576
+ "bg-button-success",
577
+ "border-button-success",
578
+ "text-white",
579
+ "hover:bg-button-success-hover",
580
+ "hover:border-button-success-hover",
581
+ "focus:bg-button-success-focus",
582
+ "focus:border-button-success-focus",
583
+ "focus-visible:shadow-green",
584
+ "disabled:bg-button-success-disabled",
585
+ "disabled:border-button-success-disabled",
586
+ "disabled:text-foreground-subtle"
587
+ ],
588
+ danger: [
589
+ "bg-button-danger",
590
+ "border-button-danger",
591
+ "text-white",
592
+ "hover:bg-button-danger-hover",
593
+ "hover:border-button-danger-hover",
594
+ "focus:bg-button-danger-focus",
595
+ "focus:border-button-danger-focus",
596
+ "focus-visible::shadow-red",
597
+ "disabled:bg-button-danger-disabled",
598
+ "disabled:border-button-danger-disabled",
599
+ "disabled:text-foreground-subtle"
600
+ ]
3471
601
  },
3472
602
  size: {
3473
- lg: "px-4 py-3 text-base",
3474
- md: "p-2.5 text-sm",
3475
- sm: "px-2.5 py-2 text-sm",
3476
- xs: "px-2 py-2.5 text-xs"
603
+ lg: ["px-4", "py-3", "text-base"],
604
+ md: ["p-2.5", "text-sm"],
605
+ sm: ["px-2.5", "py-2", "text-sm"],
606
+ xs: ["px-2", "py-2.5", "text-xs"]
3477
607
  }
3478
608
  },
3479
609
  defaultVariants: {
@@ -3498,12 +628,12 @@ var Button = React.forwardRef(
3498
628
  Button.displayName = "Button";
3499
629
 
3500
630
  // src/components/Checkbox/index.tsx
3501
- var React2 = __toESM(require_react());
631
+ var React2 = __toESM(require("react"));
3502
632
  var CheckboxPrimitive = __toESM(require("@radix-ui/react-checkbox"));
3503
633
 
3504
634
  // src/assets/build/check.icon.tsx
3505
- var import_jsx_runtime2 = __toESM(require_jsx_runtime());
3506
- var Check = (props) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
635
+ var import_jsx_runtime2 = require("react/jsx-runtime");
636
+ var CheckIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
3507
637
  "svg",
3508
638
  __spreadProps(__spreadValues({
3509
639
  viewBox: "0 0 24 24",
@@ -3521,8 +651,8 @@ var Check = (props) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
3521
651
  );
3522
652
 
3523
653
  // src/assets/build/minus.icon.tsx
3524
- var import_jsx_runtime3 = __toESM(require_jsx_runtime());
3525
- var Minus = (props) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("svg", __spreadProps(__spreadValues({ viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, props), { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("g", { id: "minus", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
654
+ var import_jsx_runtime3 = require("react/jsx-runtime");
655
+ var MinusIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("svg", __spreadProps(__spreadValues({ viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, props), { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("g", { id: "minus", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
3526
656
  "path",
3527
657
  {
3528
658
  id: "Vector",
@@ -3533,16 +663,395 @@ var Minus = (props) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("svg", __spr
3533
663
  }
3534
664
  ) }) }));
3535
665
 
3536
- // src/assets/build/radio-selected.icon.tsx
3537
- var import_jsx_runtime4 = __toESM(require_jsx_runtime());
3538
- var RadioSelected = (props) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("svg", __spreadProps(__spreadValues({ xmlns: "http://www.w3.org/2000/svg" }, props), { viewBox: "0 0 20 20", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("g", { id: "State=Selected", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("circle", { id: "Ellipse 1", cx: 10, cy: 10, r: 4 }) }) }));
666
+ // src/assets/build/circle.icon.tsx
667
+ var import_jsx_runtime4 = require("react/jsx-runtime");
668
+ var CircleIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("svg", __spreadProps(__spreadValues({ xmlns: "http://www.w3.org/2000/svg" }, props), { viewBox: "0 0 20 20", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("g", { id: "State=Selected", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("circle", { id: "Ellipse 1", cx: 10, cy: 10, r: 4 }) }) }));
3539
669
 
3540
670
  // src/assets/build/user.icon.tsx
3541
- var import_jsx_runtime5 = __toESM(require_jsx_runtime());
671
+ var import_jsx_runtime5 = require("react/jsx-runtime");
672
+ var UserIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
673
+ "svg",
674
+ __spreadProps(__spreadValues({
675
+ xmlns: "http://www.w3.org/2000/svg",
676
+ width: 20,
677
+ height: 20,
678
+ fill: "none",
679
+ color: "inherit",
680
+ stroke: "currentColor",
681
+ viewBox: "0 0 20 20"
682
+ }, props), {
683
+ children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
684
+ "path",
685
+ {
686
+ stroke: "inherit",
687
+ d: "M12.75 19.605a9.85 9.85 0 0 1-1.121.249A10.008 10.008 0 0 1 10 20a10.01 10.01 0 0 1-1.307-.095l4.057-.3Zm0 0 .064-.016m-.064.016.064-.016M1.5 10a8.474 8.474 0 0 0 2.69 6.188l.498.465.295-.614A4.475 4.475 0 0 1 9 13.5h1.998a4.475 4.475 0 0 1 4.018 2.54l.295.615.498-.466A8.5 8.5 0 1 0 1.5 10.001Zm0 0L2 10l-.5.001Zm11.314 9.588c.029-.007.058-.014.087-.023l-.087.023Zm-8.036-1.66-.012-.009-.012-.008a9.5 9.5 0 1 1 13.61-3.42 9.499 9.499 0 0 1-3.125 3.42l-.012.008-.012.009-.013.01-.002.001c-.018.01-.056.03-.095.054a9.711 9.711 0 0 1-.949.532l-.086.043c-.062.03-.114.055-.17.08l-.008.004c-.37.17-.75.316-1.138.435h-.003a.614.614 0 0 1-.042.012l-.009.002-.085.021-.002.001c-.35.1-.705.178-1.064.236l-.005.001a6.98 6.98 0 0 1-.307.048h-.006c-.408.058-.82.088-1.231.091a9.53 9.53 0 0 1-1.238-.09l-.006-.001a6.97 6.97 0 0 1-.307-.048h-.005a9.325 9.325 0 0 1-1.064-.237l-.005-.001a2.483 2.483 0 0 0-.128-.032l-.008-.003a9.118 9.118 0 0 1-1.138-.435l-.007-.003a4.313 4.313 0 0 1-.17-.081l-.087-.043a9.682 9.682 0 0 1-.95-.532 1.21 1.21 0 0 0-.094-.054l-.002-.001-.013-.01Zm10.372.056.002-.001h-.001v.001Zm-10.308 0v-.001Zm8.177-.048.012-.005.018-.007.02-.006.075-.03c.312-.122.617-.263.912-.422l.373-.2-.137-.4a3.488 3.488 0 0 0-3.29-2.367H8.998a3.489 3.489 0 0 0-3.29 2.369l-.136.4.372.2a8.32 8.32 0 0 0 .99.45l.003.002.032.011.012.005a8.668 8.668 0 0 0 6.038 0Zm-1.075-7.027a3.5 3.5 0 1 1-3.889-5.82 3.5 3.5 0 0 1 3.89 5.82Zm-.555-4.989a2.5 2.5 0 1 0-2.778 4.157 2.5 2.5 0 0 0 2.778-4.157Z"
688
+ }
689
+ )
690
+ })
691
+ );
692
+
693
+ // src/assets/build/close.icon.tsx
694
+ var import_jsx_runtime6 = require("react/jsx-runtime");
695
+ var CloseIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
696
+ "svg",
697
+ __spreadProps(__spreadValues({
698
+ xmlns: "http://www.w3.org/2000/svg",
699
+ width: 12,
700
+ height: 13,
701
+ viewBox: "0 0 12 13",
702
+ color: "inherit",
703
+ stroke: "currentColor",
704
+ fill: "none"
705
+ }, props), {
706
+ children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
707
+ "path",
708
+ {
709
+ fill: "inherit",
710
+ stroke: "inherit",
711
+ strokeWidth: 0.6,
712
+ d: "m6.494 6.288-.212.212.212.212 2.64 2.64a.2.2 0 0 1-.005.277l.213.213-.213-.213a.2.2 0 0 1-.277.004l-2.64-2.64L6 6.782l-.212.213-2.642 2.641-.004.004a.199.199 0 0 1-.064.045l.118.275-.118-.275a.2.2 0 0 1-.217-.326l.004-.004 2.641-2.642.212-.212-.212-.212-2.64-2.64a.2.2 0 0 1 .282-.281l2.64 2.64.212.212.212-.213 2.642-2.641.004-.004a.199.199 0 0 1 .326.217l.275.118-.275-.118a.199.199 0 0 1-.045.064l-.004.004-2.641 2.642Z"
713
+ }
714
+ )
715
+ })
716
+ );
717
+
718
+ // src/assets/build/search.icon.tsx
719
+ var import_jsx_runtime7 = require("react/jsx-runtime");
720
+ var SearchIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
721
+ "svg",
722
+ __spreadProps(__spreadValues({
723
+ xmlns: "http://www.w3.org/2000/svg",
724
+ width: 16,
725
+ height: 16,
726
+ fill: "none",
727
+ viewBox: "0 0 24 24",
728
+ color: "inherit",
729
+ stroke: "currentColor"
730
+ }, props), {
731
+ children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
732
+ "path",
733
+ {
734
+ fill: "#111928",
735
+ stroke: "inherit",
736
+ d: "M19.817 20.383a.4.4 0 0 0 .283.117l-.283-.117Zm0 0-3.596-3.597m3.596 3.597-3.596-3.597m0 0a.4.4 0 0 1 .566-.565l3.596 3.596a.4.4 0 0 1-.283.683l-3.879-3.714ZM10.201 4.3a5.9 5.9 0 1 0 5.9 5.9 5.906 5.906 0 0 0-5.9-5.9Zm-.002 12.6a6.7 6.7 0 1 1 6.701-6.7 6.708 6.708 0 0 1-6.7 6.7Z"
737
+ }
738
+ )
739
+ })
740
+ );
741
+
742
+ // src/assets/build/plus.icon.tsx
743
+ var import_jsx_runtime8 = require("react/jsx-runtime");
744
+ var PlusIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
745
+ "svg",
746
+ __spreadProps(__spreadValues({
747
+ xmlns: "http://www.w3.org/2000/svg",
748
+ viewBox: "0 0 12 12",
749
+ width: 24,
750
+ height: 24,
751
+ fill: "none"
752
+ }, props), {
753
+ children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
754
+ "path",
755
+ {
756
+ stroke: "inherit",
757
+ strokeLinecap: "round",
758
+ strokeLinejoin: "round",
759
+ d: "M6 2.5V6m0 0v3.5M6 6h3.5M6 6H2.5"
760
+ }
761
+ )
762
+ })
763
+ );
764
+
765
+ // src/assets/build/code.icon.tsx
766
+ var import_jsx_runtime9 = require("react/jsx-runtime");
767
+ var CodeIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
768
+ "svg",
769
+ __spreadProps(__spreadValues({
770
+ xmlns: "http://www.w3.org/2000/svg",
771
+ width: 24,
772
+ height: 24,
773
+ viewBox: "0 0 24 24",
774
+ fill: "none"
775
+ }, props), {
776
+ children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
777
+ "path",
778
+ {
779
+ stroke: "inherit",
780
+ strokeLinecap: "round",
781
+ strokeLinejoin: "round",
782
+ strokeWidth: 2,
783
+ d: "m7 8-4 4 4 4m10-8 4 4-4 4M13 5l-2 14"
784
+ }
785
+ )
786
+ })
787
+ );
788
+
789
+ // src/assets/build/user-groups-outline.icon.tsx
790
+ var import_jsx_runtime10 = require("react/jsx-runtime");
791
+ var UserGroupIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
792
+ "svg",
793
+ __spreadProps(__spreadValues({
794
+ xmlns: "http://www.w3.org/2000/svg",
795
+ width: 24,
796
+ height: 24,
797
+ viewBox: "0 0 24 24"
798
+ }, props), {
799
+ children: [
800
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("mask", { id: "a", fill: "#fff", children: [
801
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("path", { d: "M16.5 2A3.987 3.987 0 0 0 13 4.1c.66.136 1.284.405 1.836.79a2 2 0 1 1 2.051 3.07c.144.658.15 1.34.015 2A3.989 3.989 0 0 0 16.5 2Z" }),
802
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("path", { d: "M12 13a4 4 0 1 1 0-8 4 4 0 0 1 0 8Zm0-6a2 2 0 1 0 0 4 2 2 0 0 0 0-4ZM17 22H7a1 1 0 0 1-1-1v-2a5.006 5.006 0 0 1 5-5h2a5.006 5.006 0 0 1 5 5v2a1 1 0 0 1-1 1Zm-9-2h8v-1a3 3 0 0 0-3-3h-2a3 3 0 0 0-3 3v1Z" }),
803
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("path", { d: "M7 9c.001-.35.039-.697.112-1.039a2 2 0 1 1 2.051-3.07A4.963 4.963 0 0 1 11 4.101a3.987 3.987 0 1 0-3.9 5.858A4.974 4.974 0 0 1 7 9ZM17 11h-.429a5.057 5.057 0 0 1-1.937 2.232c.042.012.08.033.123.046.39-.182.813-.277 1.243-.278h1a3 3 0 0 1 3 3v1h-1.347c.229.642.346 1.318.347 2h2a1 1 0 0 0 1-1v-2a5.006 5.006 0 0 0-5-5ZM5.347 17H4v-1a3 3 0 0 1 3-3h1c.43.001.854.096 1.244.278.042-.013.08-.034.122-.046A5.057 5.057 0 0 1 7.429 11H7a5.006 5.006 0 0 0-5 5v2a1 1 0 0 0 1 1h2c0-.682.118-1.358.347-2Z" })
804
+ ] }),
805
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
806
+ "path",
807
+ {
808
+ fill: "inherit",
809
+ d: "M16.5 2A3.987 3.987 0 0 0 13 4.1c.66.136 1.284.405 1.836.79a2 2 0 1 1 2.051 3.07c.144.658.15 1.34.015 2A3.989 3.989 0 0 0 16.5 2Z"
810
+ }
811
+ ),
812
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
813
+ "path",
814
+ {
815
+ fill: "inherit",
816
+ d: "M12 13a4 4 0 1 1 0-8 4 4 0 0 1 0 8Zm0-6a2 2 0 1 0 0 4 2 2 0 0 0 0-4ZM17 22H7a1 1 0 0 1-1-1v-2a5.006 5.006 0 0 1 5-5h2a5.006 5.006 0 0 1 5 5v2a1 1 0 0 1-1 1Zm-9-2h8v-1a3 3 0 0 0-3-3h-2a3 3 0 0 0-3 3v1Z"
817
+ }
818
+ ),
819
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
820
+ "path",
821
+ {
822
+ fill: "inherit",
823
+ d: "M7 9c.001-.35.039-.697.112-1.039a2 2 0 1 1 2.051-3.07A4.963 4.963 0 0 1 11 4.101a3.987 3.987 0 1 0-3.9 5.858A4.974 4.974 0 0 1 7 9ZM17 11h-.429a5.057 5.057 0 0 1-1.937 2.232c.042.012.08.033.123.046.39-.182.813-.277 1.243-.278h1a3 3 0 0 1 3 3v1h-1.347c.229.642.346 1.318.347 2h2a1 1 0 0 0 1-1v-2a5.006 5.006 0 0 0-5-5ZM5.347 17H4v-1a3 3 0 0 1 3-3h1c.43.001.854.096 1.244.278.042-.013.08-.034.122-.046A5.057 5.057 0 0 1 7.429 11H7a5.006 5.006 0 0 0-5 5v2a1 1 0 0 0 1 1h2c0-.682.118-1.358.347-2Z"
824
+ }
825
+ ),
826
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
827
+ "path",
828
+ {
829
+ stroke: "inherit",
830
+ strokeWidth: 2,
831
+ d: "M16.5 2A3.987 3.987 0 0 0 13 4.1c.66.136 1.284.405 1.836.79a2 2 0 1 1 2.051 3.07c.144.658.15 1.34.015 2A3.989 3.989 0 0 0 16.5 2Z",
832
+ mask: "url(#a)"
833
+ }
834
+ ),
835
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
836
+ "path",
837
+ {
838
+ stroke: "inherit",
839
+ strokeWidth: 2,
840
+ d: "M12 13a4 4 0 1 1 0-8 4 4 0 0 1 0 8Zm0-6a2 2 0 1 0 0 4 2 2 0 0 0 0-4ZM17 22H7a1 1 0 0 1-1-1v-2a5.006 5.006 0 0 1 5-5h2a5.006 5.006 0 0 1 5 5v2a1 1 0 0 1-1 1Zm-9-2h8v-1a3 3 0 0 0-3-3h-2a3 3 0 0 0-3 3v1Z",
841
+ mask: "url(#a)"
842
+ }
843
+ ),
844
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
845
+ "path",
846
+ {
847
+ stroke: "inherit",
848
+ strokeWidth: 2,
849
+ d: "M7 9c.001-.35.039-.697.112-1.039a2 2 0 1 1 2.051-3.07A4.963 4.963 0 0 1 11 4.101a3.987 3.987 0 1 0-3.9 5.858A4.974 4.974 0 0 1 7 9ZM17 11h-.429a5.057 5.057 0 0 1-1.937 2.232c.042.012.08.033.123.046.39-.182.813-.277 1.243-.278h1a3 3 0 0 1 3 3v1h-1.347c.229.642.346 1.318.347 2h2a1 1 0 0 0 1-1v-2a5.006 5.006 0 0 0-5-5ZM5.347 17H4v-1a3 3 0 0 1 3-3h1c.43.001.854.096 1.244.278.042-.013.08-.034.122-.046A5.057 5.057 0 0 1 7.429 11H7a5.006 5.006 0 0 0-5 5v2a1 1 0 0 0 1 1h2c0-.682.118-1.358.347-2Z",
850
+ mask: "url(#a)"
851
+ }
852
+ )
853
+ ]
854
+ })
855
+ );
856
+
857
+ // src/assets/build/folder.icon.tsx
858
+ var import_jsx_runtime11 = require("react/jsx-runtime");
859
+ var FolderIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
860
+ "svg",
861
+ __spreadProps(__spreadValues({
862
+ xmlns: "http://www.w3.org/2000/svg",
863
+ width: 24,
864
+ height: 24,
865
+ viewBox: "0 0 24 24",
866
+ fill: "none"
867
+ }, props), {
868
+ children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
869
+ "path",
870
+ {
871
+ fill: "inherit",
872
+ stroke: "inherit",
873
+ d: "M21.435 10.728a.5.5 0 0 0-.42-.228H19.5V9A1.5 1.5 0 0 0 18 7.5h-4.807l-.15-.2-2.4-3.2a1.509 1.509 0 0 0-1.2-.6H4A1.5 1.5 0 0 0 2.5 5v14A1.5 1.5 0 0 0 4 20.5h13.016a.5.5 0 0 0 .457-.297l4-9-.038-.475Zm0 0a.499.499 0 0 1 .038.475l-.038-.475ZM17.016 21a1 1 0 0 0 .914-.594l4-9L17.016 21ZM9.843 4.7l-.15-.2H3.5v10.787l.957.203 2.086-4.693A.5.5 0 0 1 7 10.5h11.5v-2h-5.557a.5.5 0 0 1-.4-.2l-2.7-3.6Zm6.523 14.8h.325l.132-.297 3.11-7 .313-.703H7.324l-.132.297-3.11 7-.312.703h12.596Z"
874
+ }
875
+ )
876
+ })
877
+ );
878
+
879
+ // src/assets/build/circle-outline.icon.tsx
880
+ var import_jsx_runtime12 = require("react/jsx-runtime");
881
+ var CircleOutlineIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
882
+ "svg",
883
+ __spreadProps(__spreadValues({
884
+ xmlns: "http://www.w3.org/2000/svg",
885
+ width: "8px",
886
+ height: "8px",
887
+ fill: "none"
888
+ }, props), {
889
+ children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("circle", { cx: "50%", cy: "50%", r: "50%" })
890
+ })
891
+ );
892
+
893
+ // src/assets/build/angle-down.icon.tsx
894
+ var import_jsx_runtime13 = require("react/jsx-runtime");
895
+ var AngleDownIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
896
+ "svg",
897
+ __spreadProps(__spreadValues({
898
+ className: "w-6 h-6 text-gray-800 dark:text-white",
899
+ "aria-hidden": "true",
900
+ xmlns: "http://www.w3.org/2000/svg",
901
+ fill: "none",
902
+ viewBox: "0 0 14 8"
903
+ }, props), {
904
+ children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
905
+ "path",
906
+ {
907
+ stroke: "currentColor",
908
+ strokeLinecap: "round",
909
+ strokeLinejoin: "round",
910
+ strokeWidth: "2",
911
+ d: "m1 1 5.326 5.7a.909.909 0 0 0 1.348 0L13 1"
912
+ }
913
+ )
914
+ })
915
+ );
916
+
917
+ // src/assets/build/calendar.icon.tsx
918
+ var import_jsx_runtime14 = require("react/jsx-runtime");
919
+ var CalendarIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
920
+ "svg",
921
+ __spreadProps(__spreadValues({
922
+ xmlns: "http://www.w3.org/2000/svg",
923
+ viewBox: "0 0 24 24",
924
+ fill: "none"
925
+ }, props), {
926
+ children: [
927
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("mask", { id: "path-1-inside-1_20_5191", fill: "white", children: [
928
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("path", { d: "M19.2 4.8H17.4V3.9C17.4 3.66131 17.3052 3.43239 17.1364 3.2636C16.9676 3.09482 16.7387 3 16.5 3C16.2613 3 16.0324 3.09482 15.8636 3.2636C15.6948 3.43239 15.6 3.66131 15.6 3.9V4.8H12.9V3.9C12.9 3.66131 12.8052 3.43239 12.6364 3.2636C12.4676 3.09482 12.2387 3 12 3C11.7613 3 11.5324 3.09482 11.3636 3.2636C11.1948 3.43239 11.1 3.66131 11.1 3.9V4.8H8.4V3.9C8.4 3.66131 8.30518 3.43239 8.1364 3.2636C7.96761 3.09482 7.73869 3 7.5 3C7.26131 3 7.03239 3.09482 6.8636 3.2636C6.69482 3.43239 6.6 3.66131 6.6 3.9V4.8H4.8C4.32261 4.8 3.86477 4.98964 3.52721 5.32721C3.18964 5.66477 3 6.12261 3 6.6V19.2C3 19.6774 3.18964 20.1352 3.52721 20.4728C3.86477 20.8104 4.32261 21 4.8 21H19.2C19.6774 21 20.1352 20.8104 20.4728 20.4728C20.8104 20.1352 21 19.6774 21 19.2V6.6C21 6.12261 20.8104 5.66477 20.4728 5.32721C20.1352 4.98964 19.6774 4.8 19.2 4.8ZM6.6 6.6C6.6 6.83869 6.69482 7.06761 6.8636 7.2364C7.03239 7.40518 7.26131 7.5 7.5 7.5C7.73869 7.5 7.96761 7.40518 8.1364 7.2364C8.30518 7.06761 8.4 6.83869 8.4 6.6H11.1C11.1 6.83869 11.1948 7.06761 11.3636 7.2364C11.5324 7.40518 11.7613 7.5 12 7.5C12.2387 7.5 12.4676 7.40518 12.6364 7.2364C12.8052 7.06761 12.9 6.83869 12.9 6.6H15.6C15.6 6.83869 15.6948 7.06761 15.8636 7.2364C16.0324 7.40518 16.2613 7.5 16.5 7.5C16.7387 7.5 16.9676 7.40518 17.1364 7.2364C17.3052 7.06761 17.4 6.83869 17.4 6.6H19.2V8.4H4.8V6.6H6.6ZM4.8 19.2V10.2H19.2V19.2H4.8Z" }),
929
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("path", { d: "M7.95 12H7.05C6.80147 12 6.6 12.2015 6.6 12.45V13.35C6.6 13.5985 6.80147 13.8 7.05 13.8H7.95C8.19853 13.8 8.4 13.5985 8.4 13.35V12.45C8.4 12.2015 8.19853 12 7.95 12Z" }),
930
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("path", { d: "M7.95 15.6H7.05C6.80147 15.6 6.6 15.8015 6.6 16.05V16.95C6.6 17.1985 6.80147 17.4 7.05 17.4H7.95C8.19853 17.4 8.4 17.1985 8.4 16.95V16.05C8.4 15.8015 8.19853 15.6 7.95 15.6Z" }),
931
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("path", { d: "M12.45 12H11.55C11.3015 12 11.1 12.2015 11.1 12.45V13.35C11.1 13.5985 11.3015 13.8 11.55 13.8H12.45C12.6985 13.8 12.9 13.5985 12.9 13.35V12.45C12.9 12.2015 12.6985 12 12.45 12Z" }),
932
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("path", { d: "M12.45 15.6H11.55C11.3015 15.6 11.1 15.8015 11.1 16.05V16.95C11.1 17.1985 11.3015 17.4 11.55 17.4H12.45C12.6985 17.4 12.9 17.1985 12.9 16.95V16.05C12.9 15.8015 12.6985 15.6 12.45 15.6Z" }),
933
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("path", { d: "M16.95 12H16.05C15.8015 12 15.6 12.2015 15.6 12.45V13.35C15.6 13.5985 15.8015 13.8 16.05 13.8H16.95C17.1985 13.8 17.4 13.5985 17.4 13.35V12.45C17.4 12.2015 17.1985 12 16.95 12Z" }),
934
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("path", { d: "M16.95 15.6H16.05C15.8015 15.6 15.6 15.8015 15.6 16.05V16.95C15.6 17.1985 15.8015 17.4 16.05 17.4H16.95C17.1985 17.4 17.4 17.1985 17.4 16.95V16.05C17.4 15.8015 17.1985 15.6 16.95 15.6Z" })
935
+ ] }),
936
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
937
+ "path",
938
+ {
939
+ d: "M19.2 4.8H17.4V3.9C17.4 3.66131 17.3052 3.43239 17.1364 3.2636C16.9676 3.09482 16.7387 3 16.5 3C16.2613 3 16.0324 3.09482 15.8636 3.2636C15.6948 3.43239 15.6 3.66131 15.6 3.9V4.8H12.9V3.9C12.9 3.66131 12.8052 3.43239 12.6364 3.2636C12.4676 3.09482 12.2387 3 12 3C11.7613 3 11.5324 3.09482 11.3636 3.2636C11.1948 3.43239 11.1 3.66131 11.1 3.9V4.8H8.4V3.9C8.4 3.66131 8.30518 3.43239 8.1364 3.2636C7.96761 3.09482 7.73869 3 7.5 3C7.26131 3 7.03239 3.09482 6.8636 3.2636C6.69482 3.43239 6.6 3.66131 6.6 3.9V4.8H4.8C4.32261 4.8 3.86477 4.98964 3.52721 5.32721C3.18964 5.66477 3 6.12261 3 6.6V19.2C3 19.6774 3.18964 20.1352 3.52721 20.4728C3.86477 20.8104 4.32261 21 4.8 21H19.2C19.6774 21 20.1352 20.8104 20.4728 20.4728C20.8104 20.1352 21 19.6774 21 19.2V6.6C21 6.12261 20.8104 5.66477 20.4728 5.32721C20.1352 4.98964 19.6774 4.8 19.2 4.8ZM6.6 6.6C6.6 6.83869 6.69482 7.06761 6.8636 7.2364C7.03239 7.40518 7.26131 7.5 7.5 7.5C7.73869 7.5 7.96761 7.40518 8.1364 7.2364C8.30518 7.06761 8.4 6.83869 8.4 6.6H11.1C11.1 6.83869 11.1948 7.06761 11.3636 7.2364C11.5324 7.40518 11.7613 7.5 12 7.5C12.2387 7.5 12.4676 7.40518 12.6364 7.2364C12.8052 7.06761 12.9 6.83869 12.9 6.6H15.6C15.6 6.83869 15.6948 7.06761 15.8636 7.2364C16.0324 7.40518 16.2613 7.5 16.5 7.5C16.7387 7.5 16.9676 7.40518 17.1364 7.2364C17.3052 7.06761 17.4 6.83869 17.4 6.6H19.2V8.4H4.8V6.6H6.6ZM4.8 19.2V10.2H19.2V19.2H4.8Z",
940
+ fill: "#111928"
941
+ }
942
+ ),
943
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
944
+ "path",
945
+ {
946
+ d: "M7.95 12H7.05C6.80147 12 6.6 12.2015 6.6 12.45V13.35C6.6 13.5985 6.80147 13.8 7.05 13.8H7.95C8.19853 13.8 8.4 13.5985 8.4 13.35V12.45C8.4 12.2015 8.19853 12 7.95 12Z",
947
+ fill: "#111928"
948
+ }
949
+ ),
950
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
951
+ "path",
952
+ {
953
+ d: "M7.95 15.6H7.05C6.80147 15.6 6.6 15.8015 6.6 16.05V16.95C6.6 17.1985 6.80147 17.4 7.05 17.4H7.95C8.19853 17.4 8.4 17.1985 8.4 16.95V16.05C8.4 15.8015 8.19853 15.6 7.95 15.6Z",
954
+ fill: "#111928"
955
+ }
956
+ ),
957
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
958
+ "path",
959
+ {
960
+ d: "M12.45 12H11.55C11.3015 12 11.1 12.2015 11.1 12.45V13.35C11.1 13.5985 11.3015 13.8 11.55 13.8H12.45C12.6985 13.8 12.9 13.5985 12.9 13.35V12.45C12.9 12.2015 12.6985 12 12.45 12Z",
961
+ fill: "#111928"
962
+ }
963
+ ),
964
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
965
+ "path",
966
+ {
967
+ d: "M12.45 15.6H11.55C11.3015 15.6 11.1 15.8015 11.1 16.05V16.95C11.1 17.1985 11.3015 17.4 11.55 17.4H12.45C12.6985 17.4 12.9 17.1985 12.9 16.95V16.05C12.9 15.8015 12.6985 15.6 12.45 15.6Z",
968
+ fill: "#111928"
969
+ }
970
+ ),
971
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
972
+ "path",
973
+ {
974
+ d: "M16.95 12H16.05C15.8015 12 15.6 12.2015 15.6 12.45V13.35C15.6 13.5985 15.8015 13.8 16.05 13.8H16.95C17.1985 13.8 17.4 13.5985 17.4 13.35V12.45C17.4 12.2015 17.1985 12 16.95 12Z",
975
+ fill: "#111928"
976
+ }
977
+ ),
978
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
979
+ "path",
980
+ {
981
+ d: "M16.95 15.6H16.05C15.8015 15.6 15.6 15.8015 15.6 16.05V16.95C15.6 17.1985 15.8015 17.4 16.05 17.4H16.95C17.1985 17.4 17.4 17.1985 17.4 16.95V16.05C17.4 15.8015 17.1985 15.6 16.95 15.6Z",
982
+ fill: "#111928"
983
+ }
984
+ ),
985
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
986
+ "path",
987
+ {
988
+ d: "M19.2 4.8H17.4V3.9C17.4 3.66131 17.3052 3.43239 17.1364 3.2636C16.9676 3.09482 16.7387 3 16.5 3C16.2613 3 16.0324 3.09482 15.8636 3.2636C15.6948 3.43239 15.6 3.66131 15.6 3.9V4.8H12.9V3.9C12.9 3.66131 12.8052 3.43239 12.6364 3.2636C12.4676 3.09482 12.2387 3 12 3C11.7613 3 11.5324 3.09482 11.3636 3.2636C11.1948 3.43239 11.1 3.66131 11.1 3.9V4.8H8.4V3.9C8.4 3.66131 8.30518 3.43239 8.1364 3.2636C7.96761 3.09482 7.73869 3 7.5 3C7.26131 3 7.03239 3.09482 6.8636 3.2636C6.69482 3.43239 6.6 3.66131 6.6 3.9V4.8H4.8C4.32261 4.8 3.86477 4.98964 3.52721 5.32721C3.18964 5.66477 3 6.12261 3 6.6V19.2C3 19.6774 3.18964 20.1352 3.52721 20.4728C3.86477 20.8104 4.32261 21 4.8 21H19.2C19.6774 21 20.1352 20.8104 20.4728 20.4728C20.8104 20.1352 21 19.6774 21 19.2V6.6C21 6.12261 20.8104 5.66477 20.4728 5.32721C20.1352 4.98964 19.6774 4.8 19.2 4.8ZM6.6 6.6C6.6 6.83869 6.69482 7.06761 6.8636 7.2364C7.03239 7.40518 7.26131 7.5 7.5 7.5C7.73869 7.5 7.96761 7.40518 8.1364 7.2364C8.30518 7.06761 8.4 6.83869 8.4 6.6H11.1C11.1 6.83869 11.1948 7.06761 11.3636 7.2364C11.5324 7.40518 11.7613 7.5 12 7.5C12.2387 7.5 12.4676 7.40518 12.6364 7.2364C12.8052 7.06761 12.9 6.83869 12.9 6.6H15.6C15.6 6.83869 15.6948 7.06761 15.8636 7.2364C16.0324 7.40518 16.2613 7.5 16.5 7.5C16.7387 7.5 16.9676 7.40518 17.1364 7.2364C17.3052 7.06761 17.4 6.83869 17.4 6.6H19.2V8.4H4.8V6.6H6.6ZM4.8 19.2V10.2H19.2V19.2H4.8Z",
989
+ stroke: "#111928",
990
+ "stroke-width": "2",
991
+ mask: "url(#path-1-inside-1_20_5191)"
992
+ }
993
+ ),
994
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
995
+ "path",
996
+ {
997
+ d: "M7.95 12H7.05C6.80147 12 6.6 12.2015 6.6 12.45V13.35C6.6 13.5985 6.80147 13.8 7.05 13.8H7.95C8.19853 13.8 8.4 13.5985 8.4 13.35V12.45C8.4 12.2015 8.19853 12 7.95 12Z",
998
+ stroke: "#111928",
999
+ "stroke-width": "2",
1000
+ mask: "url(#path-1-inside-1_20_5191)"
1001
+ }
1002
+ ),
1003
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1004
+ "path",
1005
+ {
1006
+ d: "M7.95 15.6H7.05C6.80147 15.6 6.6 15.8015 6.6 16.05V16.95C6.6 17.1985 6.80147 17.4 7.05 17.4H7.95C8.19853 17.4 8.4 17.1985 8.4 16.95V16.05C8.4 15.8015 8.19853 15.6 7.95 15.6Z",
1007
+ stroke: "#111928",
1008
+ "stroke-width": "2",
1009
+ mask: "url(#path-1-inside-1_20_5191)"
1010
+ }
1011
+ ),
1012
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1013
+ "path",
1014
+ {
1015
+ d: "M12.45 12H11.55C11.3015 12 11.1 12.2015 11.1 12.45V13.35C11.1 13.5985 11.3015 13.8 11.55 13.8H12.45C12.6985 13.8 12.9 13.5985 12.9 13.35V12.45C12.9 12.2015 12.6985 12 12.45 12Z",
1016
+ stroke: "#111928",
1017
+ "stroke-width": "2",
1018
+ mask: "url(#path-1-inside-1_20_5191)"
1019
+ }
1020
+ ),
1021
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1022
+ "path",
1023
+ {
1024
+ d: "M12.45 15.6H11.55C11.3015 15.6 11.1 15.8015 11.1 16.05V16.95C11.1 17.1985 11.3015 17.4 11.55 17.4H12.45C12.6985 17.4 12.9 17.1985 12.9 16.95V16.05C12.9 15.8015 12.6985 15.6 12.45 15.6Z",
1025
+ stroke: "#111928",
1026
+ "stroke-width": "2",
1027
+ mask: "url(#path-1-inside-1_20_5191)"
1028
+ }
1029
+ ),
1030
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1031
+ "path",
1032
+ {
1033
+ d: "M16.95 12H16.05C15.8015 12 15.6 12.2015 15.6 12.45V13.35C15.6 13.5985 15.8015 13.8 16.05 13.8H16.95C17.1985 13.8 17.4 13.5985 17.4 13.35V12.45C17.4 12.2015 17.1985 12 16.95 12Z",
1034
+ stroke: "#111928",
1035
+ "stroke-width": "2",
1036
+ mask: "url(#path-1-inside-1_20_5191)"
1037
+ }
1038
+ ),
1039
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1040
+ "path",
1041
+ {
1042
+ d: "M16.95 15.6H16.05C15.8015 15.6 15.6 15.8015 15.6 16.05V16.95C15.6 17.1985 15.8015 17.4 16.05 17.4H16.95C17.1985 17.4 17.4 17.1985 17.4 16.95V16.05C17.4 15.8015 17.1985 15.6 16.95 15.6Z",
1043
+ stroke: "#111928",
1044
+ "stroke-width": "2",
1045
+ mask: "url(#path-1-inside-1_20_5191)"
1046
+ }
1047
+ )
1048
+ ]
1049
+ })
1050
+ );
3542
1051
 
3543
1052
  // src/components/Checkbox/index.tsx
3544
1053
  var import_class_variance_authority2 = require("class-variance-authority");
3545
- var import_jsx_runtime6 = __toESM(require_jsx_runtime());
1054
+ var import_jsx_runtime15 = require("react/jsx-runtime");
3546
1055
  var checkboxVariants = (0, import_class_variance_authority2.cva)([
3547
1056
  [
3548
1057
  "peer",
@@ -3555,33 +1064,33 @@ var checkboxVariants = (0, import_class_variance_authority2.cva)([
3555
1064
  "border-border"
3556
1065
  ],
3557
1066
  [
3558
- "data-[state=checked]:border-blue-600",
3559
- "data-[state=checked]:bg-blue-600",
1067
+ "data-[state=checked]:border-primary-600",
1068
+ "data-[state=checked]:bg-primary-600",
3560
1069
  "data-[state=checked]:text-foreground-inverse",
3561
- "data-[state=indeterminate]:border-blue-600",
3562
- "data-[state=indeterminate]:bg-blue-600",
1070
+ "data-[state=indeterminate]:border-primary-600",
1071
+ "data-[state=indeterminate]:bg-primary-600",
3563
1072
  "data-[state=indeterminate]:text-foreground-inverse"
3564
1073
  ],
3565
1074
  [
3566
- "dark:data-[state=unchecked]:bg-grey-700",
3567
- "dark:data-[state=unchecked]:border-grey-500"
1075
+ "dark:data-[state=unchecked]:bg-background-alt-dark",
1076
+ "dark:data-[state=unchecked]:border-border-dark"
3568
1077
  ]
3569
1078
  ]);
3570
1079
  var Checkbox = React2.forwardRef((_a, ref) => {
3571
1080
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
3572
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1081
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
3573
1082
  CheckboxPrimitive.Root,
3574
1083
  __spreadProps(__spreadValues({
3575
1084
  ref,
3576
1085
  className: cn(checkboxVariants(), className)
3577
1086
  }, props), {
3578
- children: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1087
+ children: /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
3579
1088
  CheckboxPrimitive.Indicator,
3580
1089
  {
3581
1090
  className: cn("flex items-center justify-center text-inherit"),
3582
1091
  children: [
3583
- (props.checked === true || props.checked === void 0) && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Check, { className: "text-inherit stroke-current stroke-1 fill-current" }),
3584
- props.checked === "indeterminate" && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Minus, { className: "text-inherit stroke-current stroke-3 fill-current" })
1092
+ (props.checked === true || props.checked === void 0) && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(CheckIcon, { className: "text-inherit stroke-current stroke-1 fill-current" }),
1093
+ props.checked === "indeterminate" && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(MinusIcon, { className: "text-inherit stroke-current stroke-3 fill-current" })
3585
1094
  ]
3586
1095
  }
3587
1096
  )
@@ -3591,10 +1100,10 @@ var Checkbox = React2.forwardRef((_a, ref) => {
3591
1100
  Checkbox.displayName = CheckboxPrimitive.Root.displayName;
3592
1101
 
3593
1102
  // src/components/Label/index.tsx
3594
- var React3 = __toESM(require_react());
1103
+ var React3 = __toESM(require("react"));
3595
1104
  var LabelPrimitive = __toESM(require("@radix-ui/react-label"));
3596
1105
  var import_class_variance_authority3 = require("class-variance-authority");
3597
- var import_jsx_runtime7 = __toESM(require_jsx_runtime());
1106
+ var import_jsx_runtime16 = require("react/jsx-runtime");
3598
1107
  var labelVariants = (0, import_class_variance_authority3.cva)(
3599
1108
  "text-sm font-medium leading-normal peer-disabled:cursor-not-allowed peer-disabled:opacity-70 dark:text-foreground-inverse",
3600
1109
  {
@@ -3611,7 +1120,7 @@ var labelVariants = (0, import_class_variance_authority3.cva)(
3611
1120
  );
3612
1121
  var Label = React3.forwardRef((_a, ref) => {
3613
1122
  var _b = _a, { className, size } = _b, props = __objRest(_b, ["className", "size"]);
3614
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
1123
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
3615
1124
  LabelPrimitive.Root,
3616
1125
  __spreadValues({
3617
1126
  ref,
@@ -3622,12 +1131,12 @@ var Label = React3.forwardRef((_a, ref) => {
3622
1131
  Label.displayName = LabelPrimitive.Root.displayName;
3623
1132
 
3624
1133
  // src/components/Radio/RadioGroup.tsx
3625
- var React4 = __toESM(require_react());
1134
+ var React4 = __toESM(require("react"));
3626
1135
  var RadioGroupPrimitive = __toESM(require("@radix-ui/react-radio-group"));
3627
- var import_jsx_runtime8 = __toESM(require_jsx_runtime());
1136
+ var import_jsx_runtime17 = require("react/jsx-runtime");
3628
1137
  var RadioGroup = React4.forwardRef((_a, ref) => {
3629
1138
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
3630
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
1139
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
3631
1140
  RadioGroupPrimitive.Root,
3632
1141
  __spreadProps(__spreadValues({
3633
1142
  className: cn("grid gap-2", className)
@@ -3639,17 +1148,17 @@ var RadioGroup = React4.forwardRef((_a, ref) => {
3639
1148
  RadioGroup.displayName = RadioGroupPrimitive.Root.displayName;
3640
1149
 
3641
1150
  // src/components/Radio/RadioGroupItem.tsx
3642
- var React5 = __toESM(require_react());
1151
+ var React5 = __toESM(require("react"));
3643
1152
  var RadioGroupPrimitive2 = __toESM(require("@radix-ui/react-radio-group"));
3644
1153
  var import_class_variance_authority4 = require("class-variance-authority");
3645
- var import_jsx_runtime9 = __toESM(require_jsx_runtime());
1154
+ var import_jsx_runtime18 = require("react/jsx-runtime");
3646
1155
  var radioVariant = (0, import_class_variance_authority4.cva)([
3647
1156
  [
3648
1157
  "h-5 w-5",
3649
1158
  "rounded-full",
3650
1159
  "border-[0.533px]",
3651
1160
  "border-border",
3652
- "bg-grey-50",
1161
+ "bg-background-alt",
3653
1162
  "disabled:opacity-50",
3654
1163
  "text-foreground-inverse"
3655
1164
  ],
@@ -3658,26 +1167,26 @@ var radioVariant = (0, import_class_variance_authority4.cva)([
3658
1167
  "data-[state=checked]:bg-primary-600",
3659
1168
  "data-[state=checked]:bg-primary-600"
3660
1169
  ],
3661
- ["dark:bg-grey-700", "dark:border-grey-500"]
1170
+ ["dark:bg-background-alt-dark", "dark:border-border-dark"]
3662
1171
  ]);
3663
1172
  var RadioGroupItem = React5.forwardRef((_a, ref) => {
3664
1173
  var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
3665
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1174
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
3666
1175
  RadioGroupPrimitive2.Item,
3667
1176
  __spreadProps(__spreadValues({
3668
1177
  ref,
3669
1178
  className: cn(radioVariant(), className)
3670
1179
  }, props), {
3671
- children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(RadioGroupPrimitive2.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(RadioSelected, { className: "text-inherit stroke-current stroke-1 fill-current" }) })
1180
+ children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(RadioGroupPrimitive2.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(CircleIcon, { className: "text-inherit stroke-current stroke-1 fill-current" }) })
3672
1181
  })
3673
1182
  );
3674
1183
  });
3675
1184
  RadioGroupItem.displayName = RadioGroupPrimitive2.Item.displayName;
3676
1185
 
3677
1186
  // src/components/Table/index.tsx
3678
- var React6 = __toESM(require_react());
1187
+ var React6 = __toESM(require("react"));
3679
1188
  var import_class_variance_authority5 = require("class-variance-authority");
3680
- var import_jsx_runtime10 = __toESM(require_jsx_runtime());
1189
+ var import_jsx_runtime19 = require("react/jsx-runtime");
3681
1190
  var tableBodyVariants = (0, import_class_variance_authority5.cva)(["dark:bg-grey-900"], {
3682
1191
  variants: {
3683
1192
  variant: {
@@ -3699,7 +1208,7 @@ var tableBodyVariants = (0, import_class_variance_authority5.cva)(["dark:bg-grey
3699
1208
  });
3700
1209
  var Table = React6.forwardRef((_a, ref) => {
3701
1210
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
3702
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
1211
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
3703
1212
  "table",
3704
1213
  __spreadValues({
3705
1214
  ref,
@@ -3710,7 +1219,7 @@ var Table = React6.forwardRef((_a, ref) => {
3710
1219
  Table.displayName = "Table";
3711
1220
  var TableHeader = React6.forwardRef((_a, ref) => {
3712
1221
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
3713
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
1222
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
3714
1223
  "thead",
3715
1224
  __spreadValues({
3716
1225
  ref,
@@ -3721,7 +1230,7 @@ var TableHeader = React6.forwardRef((_a, ref) => {
3721
1230
  TableHeader.displayName = "TableHeader";
3722
1231
  var TableHead = React6.forwardRef((_a, ref) => {
3723
1232
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
3724
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
1233
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
3725
1234
  "th",
3726
1235
  __spreadValues({
3727
1236
  ref,
@@ -3736,7 +1245,7 @@ TableHead.displayName = "TableHead";
3736
1245
  var TableBody = React6.forwardRef(
3737
1246
  (_a, ref) => {
3738
1247
  var _b = _a, { className, variant } = _b, props = __objRest(_b, ["className", "variant"]);
3739
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
1248
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
3740
1249
  "tbody",
3741
1250
  __spreadValues({
3742
1251
  ref,
@@ -3748,7 +1257,7 @@ var TableBody = React6.forwardRef(
3748
1257
  TableBody.displayName = "TableBody";
3749
1258
  var TableRow = React6.forwardRef((_a, ref) => {
3750
1259
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
3751
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
1260
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
3752
1261
  "tr",
3753
1262
  __spreadValues({
3754
1263
  ref,
@@ -3762,7 +1271,7 @@ var TableRow = React6.forwardRef((_a, ref) => {
3762
1271
  TableRow.displayName = "TableRow";
3763
1272
  var TableCell = React6.forwardRef((_a, ref) => {
3764
1273
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
3765
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
1274
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
3766
1275
  "td",
3767
1276
  __spreadValues({
3768
1277
  ref,
@@ -3776,12 +1285,12 @@ var TableCell = React6.forwardRef((_a, ref) => {
3776
1285
  TableCell.displayName = "TableCell";
3777
1286
  var TableCaption = React6.forwardRef((_a, ref) => {
3778
1287
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
3779
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("caption", __spreadValues({ ref, className: cn("mt-4", className) }, props));
1288
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("caption", __spreadValues({ ref, className: cn("mt-4", className) }, props));
3780
1289
  });
3781
1290
  TableCaption.displayName = "TableCaption";
3782
1291
  var TableFooter = React6.forwardRef((_a, ref) => {
3783
1292
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
3784
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
1293
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
3785
1294
  "tfoot",
3786
1295
  __spreadValues({
3787
1296
  ref,
@@ -3790,13 +1299,412 @@ var TableFooter = React6.forwardRef((_a, ref) => {
3790
1299
  );
3791
1300
  });
3792
1301
  TableFooter.displayName = "TableFooter";
1302
+
1303
+ // src/components/ButtonGroup/index.tsx
1304
+ var import_react3 = __toESM(require("react"));
1305
+ var import_class_variance_authority6 = require("class-variance-authority");
1306
+ var import_jsx_runtime20 = require("react/jsx-runtime");
1307
+ var buttonGroupVariants = (0, import_class_variance_authority6.cva)(
1308
+ [
1309
+ "inline-flex",
1310
+ "[&>*]:flex",
1311
+ "[&>*]:rounded-none",
1312
+ "[&>*]:border-0",
1313
+ "divide-border-subtle",
1314
+ "p-0",
1315
+ "[&>*]:gap-[10px]",
1316
+ "[&>*]:items-center",
1317
+ "[&>*]:justify-center",
1318
+ "[&>*]:px-3",
1319
+ "items-start",
1320
+ "rounded-lg",
1321
+ "overflow-hidden"
1322
+ ],
1323
+ {
1324
+ variants: {
1325
+ variant: {
1326
+ primary: [
1327
+ "dark:divide-border-subtle-dark",
1328
+ "dark:[&>*]:bg-button-primary-dark",
1329
+ "dark:[&>*]:text-foreground-inverse-dark",
1330
+ "dark:[&>*:hover]:bg-button-secondary-hover",
1331
+ "dark:[&>*:focus]:bg-button-secondary-focus"
1332
+ ],
1333
+ secondary: [
1334
+ "bg-background",
1335
+ "border-[1px] border-border-subtle",
1336
+ "[&>*]:bg-white [&>*]:text-grey-900",
1337
+ "[&>*:focus]:bg-button-secondary-focus",
1338
+ "[&>*:hover]:bg-button-secondary-hover",
1339
+ "[&>*:disabled]:bg-button-secondary-disabled [&>*:disabled]:border-button-secondary-border-disabled [&>*:disabled]:text-foreground-subtle"
1340
+ ]
1341
+ },
1342
+ orientation: {
1343
+ horizontal: ["inline-flex", "divide-x-[1px]"],
1344
+ vertical: ["flex-col", "divide-y-[1px]", "[&>*]:self-stretch"]
1345
+ },
1346
+ size: {
1347
+ md: ["[&>*]:py-2.5"],
1348
+ sm: ["[&>*]:py-2"]
1349
+ }
1350
+ },
1351
+ defaultVariants: {
1352
+ orientation: "horizontal",
1353
+ variant: "primary",
1354
+ size: "md"
1355
+ }
1356
+ }
1357
+ );
1358
+ var ButtonGroup = import_react3.default.forwardRef(
1359
+ (_a, ref) => {
1360
+ var _b = _a, { className, orientation, variant, size } = _b, props = __objRest(_b, ["className", "orientation", "variant", "size"]);
1361
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1362
+ "div",
1363
+ __spreadProps(__spreadValues({
1364
+ className: cn(
1365
+ buttonGroupVariants({ orientation, variant, size }),
1366
+ className
1367
+ )
1368
+ }, props), {
1369
+ ref
1370
+ })
1371
+ );
1372
+ }
1373
+ );
1374
+ ButtonGroup.displayName = "ButtonGroup";
1375
+
1376
+ // src/components/Tooltip/index.tsx
1377
+ var React8 = __toESM(require("react"));
1378
+ var TooltipPrimitive = __toESM(require("@radix-ui/react-tooltip"));
1379
+ var import_class_variance_authority7 = require("class-variance-authority");
1380
+ var import_jsx_runtime21 = require("react/jsx-runtime");
1381
+ var tooltipVariants = (0, import_class_variance_authority7.cva)([
1382
+ [
1383
+ "fill-accent",
1384
+ "bg-accent",
1385
+ "z-50",
1386
+ "overflow-hidden",
1387
+ "rounded",
1388
+ "p-2",
1389
+ "text-xs",
1390
+ "text-center",
1391
+ "text-foreground-inverse",
1392
+ "font-semibold"
1393
+ ],
1394
+ [
1395
+ "dark:text-foreground-inverse-dark",
1396
+ "dark:bg-accent-dark",
1397
+ "dark:fill-accent-dark"
1398
+ ]
1399
+ ]);
1400
+ var Tooltip = React8.forwardRef(({ children, side, content, sideOffset, className }, ref) => {
1401
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(TooltipPrimitive.Provider, { children: /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(TooltipPrimitive.Root, { children: [
1402
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(TooltipPrimitive.Trigger, { children }),
1403
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
1404
+ TooltipPrimitive.Content,
1405
+ {
1406
+ side: side != null ? side : "top",
1407
+ sideOffset: sideOffset != null ? sideOffset : 4,
1408
+ className: cn(tooltipVariants(), className),
1409
+ ref,
1410
+ children: [
1411
+ content,
1412
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(TooltipPrimitive.Arrow, { className: "fill-inherit" })
1413
+ ]
1414
+ }
1415
+ )
1416
+ ] }) });
1417
+ });
1418
+
1419
+ // src/components/Input/index.tsx
1420
+ var import_react4 = __toESM(require("react"));
1421
+ var import_class_variance_authority8 = require("class-variance-authority");
1422
+ var import_jsx_runtime22 = require("react/jsx-runtime");
1423
+ var leftSideVariants = (0, import_class_variance_authority8.cva)(["flex", "items-center", "text-inherit"]);
1424
+ var rightSideVariants = (0, import_class_variance_authority8.cva)(["flex", "self-center text-inherit"]);
1425
+ var formVariants = (0, import_class_variance_authority8.cva)(
1426
+ [
1427
+ "flex",
1428
+ "border",
1429
+ "border-2",
1430
+ "rounded-lg",
1431
+ "overflow-hidden",
1432
+ "p-3",
1433
+ "items-center",
1434
+ "gap-1.5",
1435
+ "[&:has(:disabled)]:border-none"
1436
+ ],
1437
+ {
1438
+ variants: {
1439
+ variant: {
1440
+ primary: [
1441
+ "border-border-subtle",
1442
+ "dark:border-border-subtle-dark",
1443
+ "bg-background-alt",
1444
+ "dark:bg-background-alt-dark",
1445
+ "hover:border-border-hover",
1446
+ "hover:focus-within:border-border-focus",
1447
+ "dark:hover:focus-within:border-border-focus-dark",
1448
+ "focus-within:shadow-blue",
1449
+ "text-foreground-muted",
1450
+ "dark:text-foreground-muted-dark"
1451
+ ],
1452
+ error: [
1453
+ "border-feedback-red",
1454
+ "text-feedback-red",
1455
+ "bg-red-50",
1456
+ "hover:border-red-700",
1457
+ "focus-within:shadow-red"
1458
+ ],
1459
+ success: [
1460
+ "border-feedback-green",
1461
+ "text-feedback-green",
1462
+ "bg-green-50",
1463
+ "hover:border-green-700",
1464
+ "focus-within:shadow-green"
1465
+ ]
1466
+ }
1467
+ }
1468
+ }
1469
+ );
1470
+ var inputVariants = (0, import_class_variance_authority8.cva)(
1471
+ ["flex", "flex-grow", "items-center", "outline-none", "bg-transparent"],
1472
+ {
1473
+ variants: {
1474
+ variant: {
1475
+ primary: ["text-foreground", "dark:text-foreground-dark"],
1476
+ error: ["text-feedback-red"],
1477
+ success: ["text-green-700"]
1478
+ }
1479
+ },
1480
+ defaultVariants: {
1481
+ variant: "primary"
1482
+ }
1483
+ }
1484
+ );
1485
+ var convertTypeToComponent = {
1486
+ left: {
1487
+ text: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(UserIcon, {}),
1488
+ search: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(SearchIcon, {})
1489
+ }
1490
+ };
1491
+ var Input = import_react4.default.forwardRef(
1492
+ (_a, ref) => {
1493
+ var _b = _a, {
1494
+ type,
1495
+ className,
1496
+ formClassName,
1497
+ leftSideClassName,
1498
+ variant,
1499
+ leftSideChild,
1500
+ rightSideChild,
1501
+ onClear
1502
+ } = _b, props = __objRest(_b, [
1503
+ "type",
1504
+ "className",
1505
+ "formClassName",
1506
+ "leftSideClassName",
1507
+ "variant",
1508
+ "leftSideChild",
1509
+ "rightSideChild",
1510
+ "onClear"
1511
+ ]);
1512
+ const leftSideComponent = leftSideChild != null ? leftSideChild : convertTypeToComponent.left[`${type}`];
1513
+ const rightSideComponent = rightSideChild != null ? rightSideChild : /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(CloseIcon, {});
1514
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("form", { className: cn(formVariants({ variant }), formClassName), children: [
1515
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: cn(leftSideVariants(), leftSideClassName), children: leftSideComponent }),
1516
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1517
+ "input",
1518
+ __spreadValues({
1519
+ type: "text",
1520
+ className: cn(inputVariants({ variant }), className),
1521
+ ref
1522
+ }, props)
1523
+ ),
1524
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: "input-right-side" }),
1525
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("button", { type: "button", onClick: onClear, className: rightSideVariants(), children: rightSideComponent })
1526
+ ] });
1527
+ }
1528
+ );
1529
+
1530
+ // src/components/Switch/index.tsx
1531
+ var React10 = __toESM(require("react"));
1532
+ var SwitchPrimitives = __toESM(require("@radix-ui/react-switch"));
1533
+ var import_class_variance_authority9 = require("class-variance-authority");
1534
+ var import_jsx_runtime23 = require("react/jsx-runtime");
1535
+ var switchVariants = (0, import_class_variance_authority9.cva)([
1536
+ [
1537
+ "peer",
1538
+ "inline-flex",
1539
+ "h-5",
1540
+ "py-0.5",
1541
+ "w-10",
1542
+ "gap-[8px]",
1543
+ "shrink-0",
1544
+ "cursor-pointer",
1545
+ "items-center",
1546
+ "rounded-full",
1547
+ "border-none",
1548
+ "transition-colors ",
1549
+ "focus-visible:outline-none",
1550
+ "focus-visible:shadow-blue",
1551
+ "disabled:cursor-not-allowed"
1552
+ ],
1553
+ [
1554
+ "dark:data-[state=checked]:bg-blue-300",
1555
+ //TODO: change to accent/dark when colour changes are made
1556
+ "dark:bg-foreground-subtle-dark",
1557
+ "dark:disabled:bg-grey-200"
1558
+ ],
1559
+ [
1560
+ "data-[state=checked]:bg-accent",
1561
+ "data-[state=unchecked]:bg-foreground-subtle",
1562
+ "data-[disabled]:bg-grey-200"
1563
+ ]
1564
+ ]);
1565
+ var Switch = React10.forwardRef((_a, ref) => {
1566
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1567
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1568
+ SwitchPrimitives.Root,
1569
+ __spreadProps(__spreadValues({
1570
+ className: cn(switchVariants(), className)
1571
+ }, props), {
1572
+ ref,
1573
+ children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1574
+ SwitchPrimitives.Thumb,
1575
+ {
1576
+ className: cn([
1577
+ "pointer-events-none",
1578
+ "block",
1579
+ "h-4",
1580
+ "w-4",
1581
+ "rounded-full",
1582
+ "bg-background",
1583
+ "ring-0",
1584
+ "transition-transform ",
1585
+ "data-[state=checked]:translate-x-[22px]",
1586
+ "data-[state=unchecked]:translate-x-[2px]",
1587
+ "data-[disabled]:bg-grey-300",
1588
+ "dark:bg-black",
1589
+ "dark:data-[disabled]:bg-grey-300"
1590
+ ])
1591
+ }
1592
+ )
1593
+ })
1594
+ );
1595
+ });
1596
+ Switch.displayName = SwitchPrimitives.Root.displayName;
1597
+
1598
+ // src/components/Chip/index.tsx
1599
+ var import_react5 = __toESM(require("react"));
1600
+ var import_class_variance_authority10 = require("class-variance-authority");
1601
+ var import_jsx_runtime24 = require("react/jsx-runtime");
1602
+ var chipVariants = (0, import_class_variance_authority10.cva)(
1603
+ [
1604
+ [
1605
+ "inline-flex",
1606
+ "rounded-full",
1607
+ "shrink-0",
1608
+ "items-center",
1609
+ "justify-center",
1610
+ "border border-2",
1611
+ "font-semibold",
1612
+ "leading-normal",
1613
+ "text-foreground",
1614
+ "focus-visible:outline-none",
1615
+ "focus-visible:shadow-blue"
1616
+ ],
1617
+ [
1618
+ "disabled:border-none",
1619
+ "disabled:text-foreground-subtle",
1620
+ "disabled:bg-background-subtle",
1621
+ "dark:disabled:bg-background-subtle-dark",
1622
+ "dark:disabled:text-foreground-subtle-dark"
1623
+ ],
1624
+ [
1625
+ "data-[active]:bg-foreground",
1626
+ "data-[active]:border-none",
1627
+ "data-[active]:text-foreground-inverse",
1628
+ "dark:data-[active]:bg-foreground-dark",
1629
+ "dark:data-[active]:text-foreground-inverse-dark"
1630
+ ]
1631
+ ],
1632
+ {
1633
+ variants: {
1634
+ variant: {
1635
+ default: [
1636
+ "bg-background",
1637
+ "border-border-subtle",
1638
+ "dark:bg-background-dark",
1639
+ "dark:border-border-subtle-dark",
1640
+ "dark:text-foreground-dark"
1641
+ ],
1642
+ warning: ["bg-yellow-50", "border-feedback-yellow"],
1643
+ success: ["bg-green-50", "border-feedback-green"],
1644
+ error: ["bg-red-50", "border-feedback-red"],
1645
+ info: ["bg-blue-50", "border-primary-600", "dark:border-primary-600"]
1646
+ },
1647
+ size: {
1648
+ default: ["text-xs", "px-2.5", "py-2 h-[26px]", "gap-1"],
1649
+ lg: ["text-sm", "pl-4", "pr-3", "py-1.5", "h-[33px]", "gap-1.5"]
1650
+ }
1651
+ },
1652
+ defaultVariants: {
1653
+ variant: "default",
1654
+ size: "default"
1655
+ }
1656
+ }
1657
+ );
1658
+ var Chip = import_react5.default.forwardRef(
1659
+ (_a, ref) => {
1660
+ var _b = _a, { className, variant, size, children, disabled, onClick, active } = _b, props = __objRest(_b, ["className", "variant", "size", "children", "disabled", "onClick", "active"]);
1661
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
1662
+ "button",
1663
+ __spreadProps(__spreadValues({
1664
+ onClick,
1665
+ "data-active": active,
1666
+ className: cn(chipVariants({ variant, size })),
1667
+ disabled,
1668
+ ref
1669
+ }, props), {
1670
+ children: [
1671
+ children,
1672
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: "flex items-center justify-center w-6 h-6 p-2.5", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1673
+ PlusIcon,
1674
+ {
1675
+ className: cn(size == "lg" ? "h-4 w-4" : "h-3 w-3", [
1676
+ "stroke-current",
1677
+ "shrink-0"
1678
+ ])
1679
+ }
1680
+ ) })
1681
+ ]
1682
+ })
1683
+ );
1684
+ }
1685
+ );
3793
1686
  // Annotate the CommonJS export names for ESM import in node:
3794
1687
  0 && (module.exports = {
1688
+ AngleDownIcon,
3795
1689
  Button,
1690
+ ButtonGroup,
1691
+ CalendarIcon,
1692
+ CheckIcon,
3796
1693
  Checkbox,
1694
+ Chip,
1695
+ CircleIcon,
1696
+ CircleOutlineIcon,
1697
+ CloseIcon,
1698
+ CodeIcon,
1699
+ FolderIcon,
1700
+ Input,
3797
1701
  Label,
1702
+ MinusIcon,
1703
+ PlusIcon,
3798
1704
  Radio,
3799
1705
  RadioGroup,
1706
+ SearchIcon,
1707
+ Switch,
3800
1708
  Table,
3801
1709
  TableBody,
3802
1710
  TableCaption,
@@ -3805,53 +1713,10 @@ TableFooter.displayName = "TableFooter";
3805
1713
  TableHead,
3806
1714
  TableHeader,
3807
1715
  TableRow,
1716
+ Tooltip,
1717
+ UserGroupIcon,
1718
+ UserIcon,
3808
1719
  buttonVariants,
3809
1720
  colors
3810
1721
  });
3811
- /*! Bundled license information:
3812
-
3813
- react/cjs/react.production.min.js:
3814
- (**
3815
- * @license React
3816
- * react.production.min.js
3817
- *
3818
- * Copyright (c) Facebook, Inc. and its affiliates.
3819
- *
3820
- * This source code is licensed under the MIT license found in the
3821
- * LICENSE file in the root directory of this source tree.
3822
- *)
3823
-
3824
- react/cjs/react.development.js:
3825
- (**
3826
- * @license React
3827
- * react.development.js
3828
- *
3829
- * Copyright (c) Facebook, Inc. and its affiliates.
3830
- *
3831
- * This source code is licensed under the MIT license found in the
3832
- * LICENSE file in the root directory of this source tree.
3833
- *)
3834
-
3835
- react/cjs/react-jsx-runtime.production.min.js:
3836
- (**
3837
- * @license React
3838
- * react-jsx-runtime.production.min.js
3839
- *
3840
- * Copyright (c) Facebook, Inc. and its affiliates.
3841
- *
3842
- * This source code is licensed under the MIT license found in the
3843
- * LICENSE file in the root directory of this source tree.
3844
- *)
3845
-
3846
- react/cjs/react-jsx-runtime.development.js:
3847
- (**
3848
- * @license React
3849
- * react-jsx-runtime.development.js
3850
- *
3851
- * Copyright (c) Facebook, Inc. and its affiliates.
3852
- *
3853
- * This source code is licensed under the MIT license found in the
3854
- * LICENSE file in the root directory of this source tree.
3855
- *)
3856
- */
3857
1722
  //# sourceMappingURL=index.js.map