@lets-events/react 2.0.0 → 3.0.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.mjs CHANGED
@@ -1,7 +1,11 @@
1
+ var __create = Object.create;
1
2
  var __defProp = Object.defineProperty;
2
3
  var __defProps = Object.defineProperties;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
5
  var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
7
  var __getOwnPropSymbols = Object.getOwnPropertySymbols;
8
+ var __getProtoOf = Object.getPrototypeOf;
5
9
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
10
  var __propIsEnum = Object.prototype.propertyIsEnumerable;
7
11
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
@@ -17,6 +21,1015 @@ var __spreadValues = (a, b) => {
17
21
  return a;
18
22
  };
19
23
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
24
+ var __objRest = (source, exclude) => {
25
+ var target = {};
26
+ for (var prop in source)
27
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
28
+ target[prop] = source[prop];
29
+ if (source != null && __getOwnPropSymbols)
30
+ for (var prop of __getOwnPropSymbols(source)) {
31
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
32
+ target[prop] = source[prop];
33
+ }
34
+ return target;
35
+ };
36
+ var __commonJS = (cb, mod) => function __require() {
37
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
38
+ };
39
+ var __copyProps = (to, from, except, desc) => {
40
+ if (from && typeof from === "object" || typeof from === "function") {
41
+ for (let key of __getOwnPropNames(from))
42
+ if (!__hasOwnProp.call(to, key) && key !== except)
43
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
44
+ }
45
+ return to;
46
+ };
47
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
48
+ // If the importer is in node compatibility mode or this is not an ESM
49
+ // file that has been converted to a CommonJS file using a Babel-
50
+ // compatible transform (i.e. "__esModule" has not been set), then set
51
+ // "default" to the CommonJS "module.exports" for node compatibility.
52
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
53
+ mod
54
+ ));
55
+
56
+ // ../../node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js
57
+ var require_react_is_production_min = __commonJS({
58
+ "../../node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js"(exports) {
59
+ "use strict";
60
+ var b = "function" === typeof Symbol && Symbol.for;
61
+ var c = b ? Symbol.for("react.element") : 60103;
62
+ var d = b ? Symbol.for("react.portal") : 60106;
63
+ var e = b ? Symbol.for("react.fragment") : 60107;
64
+ var f = b ? Symbol.for("react.strict_mode") : 60108;
65
+ var g = b ? Symbol.for("react.profiler") : 60114;
66
+ var h = b ? Symbol.for("react.provider") : 60109;
67
+ var k = b ? Symbol.for("react.context") : 60110;
68
+ var l = b ? Symbol.for("react.async_mode") : 60111;
69
+ var m = b ? Symbol.for("react.concurrent_mode") : 60111;
70
+ var n = b ? Symbol.for("react.forward_ref") : 60112;
71
+ var p = b ? Symbol.for("react.suspense") : 60113;
72
+ var q = b ? Symbol.for("react.suspense_list") : 60120;
73
+ var r = b ? Symbol.for("react.memo") : 60115;
74
+ var t = b ? Symbol.for("react.lazy") : 60116;
75
+ var v = b ? Symbol.for("react.block") : 60121;
76
+ var w = b ? Symbol.for("react.fundamental") : 60117;
77
+ var x = b ? Symbol.for("react.responder") : 60118;
78
+ var y = b ? Symbol.for("react.scope") : 60119;
79
+ function z(a) {
80
+ if ("object" === typeof a && null !== a) {
81
+ var u = a.$$typeof;
82
+ switch (u) {
83
+ case c:
84
+ switch (a = a.type, a) {
85
+ case l:
86
+ case m:
87
+ case e:
88
+ case g:
89
+ case f:
90
+ case p:
91
+ return a;
92
+ default:
93
+ switch (a = a && a.$$typeof, a) {
94
+ case k:
95
+ case n:
96
+ case t:
97
+ case r:
98
+ case h:
99
+ return a;
100
+ default:
101
+ return u;
102
+ }
103
+ }
104
+ case d:
105
+ return u;
106
+ }
107
+ }
108
+ }
109
+ function A(a) {
110
+ return z(a) === m;
111
+ }
112
+ exports.AsyncMode = l;
113
+ exports.ConcurrentMode = m;
114
+ exports.ContextConsumer = k;
115
+ exports.ContextProvider = h;
116
+ exports.Element = c;
117
+ exports.ForwardRef = n;
118
+ exports.Fragment = e;
119
+ exports.Lazy = t;
120
+ exports.Memo = r;
121
+ exports.Portal = d;
122
+ exports.Profiler = g;
123
+ exports.StrictMode = f;
124
+ exports.Suspense = p;
125
+ exports.isAsyncMode = function(a) {
126
+ return A(a) || z(a) === l;
127
+ };
128
+ exports.isConcurrentMode = A;
129
+ exports.isContextConsumer = function(a) {
130
+ return z(a) === k;
131
+ };
132
+ exports.isContextProvider = function(a) {
133
+ return z(a) === h;
134
+ };
135
+ exports.isElement = function(a) {
136
+ return "object" === typeof a && null !== a && a.$$typeof === c;
137
+ };
138
+ exports.isForwardRef = function(a) {
139
+ return z(a) === n;
140
+ };
141
+ exports.isFragment = function(a) {
142
+ return z(a) === e;
143
+ };
144
+ exports.isLazy = function(a) {
145
+ return z(a) === t;
146
+ };
147
+ exports.isMemo = function(a) {
148
+ return z(a) === r;
149
+ };
150
+ exports.isPortal = function(a) {
151
+ return z(a) === d;
152
+ };
153
+ exports.isProfiler = function(a) {
154
+ return z(a) === g;
155
+ };
156
+ exports.isStrictMode = function(a) {
157
+ return z(a) === f;
158
+ };
159
+ exports.isSuspense = function(a) {
160
+ return z(a) === p;
161
+ };
162
+ exports.isValidElementType = function(a) {
163
+ return "string" === typeof a || "function" === typeof a || a === e || a === m || a === g || a === f || a === p || a === q || "object" === typeof a && null !== a && (a.$$typeof === t || a.$$typeof === r || a.$$typeof === h || a.$$typeof === k || a.$$typeof === n || a.$$typeof === w || a.$$typeof === x || a.$$typeof === y || a.$$typeof === v);
164
+ };
165
+ exports.typeOf = z;
166
+ }
167
+ });
168
+
169
+ // ../../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js
170
+ var require_react_is_development = __commonJS({
171
+ "../../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js"(exports) {
172
+ "use strict";
173
+ if (process.env.NODE_ENV !== "production") {
174
+ (function() {
175
+ "use strict";
176
+ var hasSymbol = typeof Symbol === "function" && Symbol.for;
177
+ var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for("react.element") : 60103;
178
+ var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for("react.portal") : 60106;
179
+ var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for("react.fragment") : 60107;
180
+ var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for("react.strict_mode") : 60108;
181
+ var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for("react.profiler") : 60114;
182
+ var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for("react.provider") : 60109;
183
+ var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for("react.context") : 60110;
184
+ var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for("react.async_mode") : 60111;
185
+ var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for("react.concurrent_mode") : 60111;
186
+ var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for("react.forward_ref") : 60112;
187
+ var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for("react.suspense") : 60113;
188
+ var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for("react.suspense_list") : 60120;
189
+ var REACT_MEMO_TYPE = hasSymbol ? Symbol.for("react.memo") : 60115;
190
+ var REACT_LAZY_TYPE = hasSymbol ? Symbol.for("react.lazy") : 60116;
191
+ var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for("react.block") : 60121;
192
+ var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for("react.fundamental") : 60117;
193
+ var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for("react.responder") : 60118;
194
+ var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for("react.scope") : 60119;
195
+ function isValidElementType(type) {
196
+ return typeof type === "string" || typeof type === "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
197
+ type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === "object" && type !== null && (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 || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
198
+ }
199
+ function typeOf(object) {
200
+ if (typeof object === "object" && object !== null) {
201
+ var $$typeof = object.$$typeof;
202
+ switch ($$typeof) {
203
+ case REACT_ELEMENT_TYPE:
204
+ var type = object.type;
205
+ switch (type) {
206
+ case REACT_ASYNC_MODE_TYPE:
207
+ case REACT_CONCURRENT_MODE_TYPE:
208
+ case REACT_FRAGMENT_TYPE:
209
+ case REACT_PROFILER_TYPE:
210
+ case REACT_STRICT_MODE_TYPE:
211
+ case REACT_SUSPENSE_TYPE:
212
+ return type;
213
+ default:
214
+ var $$typeofType = type && type.$$typeof;
215
+ switch ($$typeofType) {
216
+ case REACT_CONTEXT_TYPE:
217
+ case REACT_FORWARD_REF_TYPE:
218
+ case REACT_LAZY_TYPE:
219
+ case REACT_MEMO_TYPE:
220
+ case REACT_PROVIDER_TYPE:
221
+ return $$typeofType;
222
+ default:
223
+ return $$typeof;
224
+ }
225
+ }
226
+ case REACT_PORTAL_TYPE:
227
+ return $$typeof;
228
+ }
229
+ }
230
+ return void 0;
231
+ }
232
+ var AsyncMode = REACT_ASYNC_MODE_TYPE;
233
+ var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
234
+ var ContextConsumer = REACT_CONTEXT_TYPE;
235
+ var ContextProvider = REACT_PROVIDER_TYPE;
236
+ var Element = REACT_ELEMENT_TYPE;
237
+ var ForwardRef = REACT_FORWARD_REF_TYPE;
238
+ var Fragment2 = REACT_FRAGMENT_TYPE;
239
+ var Lazy = REACT_LAZY_TYPE;
240
+ var Memo = REACT_MEMO_TYPE;
241
+ var Portal = REACT_PORTAL_TYPE;
242
+ var Profiler = REACT_PROFILER_TYPE;
243
+ var StrictMode = REACT_STRICT_MODE_TYPE;
244
+ var Suspense = REACT_SUSPENSE_TYPE;
245
+ var hasWarnedAboutDeprecatedIsAsyncMode = false;
246
+ function isAsyncMode(object) {
247
+ {
248
+ if (!hasWarnedAboutDeprecatedIsAsyncMode) {
249
+ hasWarnedAboutDeprecatedIsAsyncMode = true;
250
+ console["warn"]("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.");
251
+ }
252
+ }
253
+ return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
254
+ }
255
+ function isConcurrentMode(object) {
256
+ return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
257
+ }
258
+ function isContextConsumer(object) {
259
+ return typeOf(object) === REACT_CONTEXT_TYPE;
260
+ }
261
+ function isContextProvider(object) {
262
+ return typeOf(object) === REACT_PROVIDER_TYPE;
263
+ }
264
+ function isElement(object) {
265
+ return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
266
+ }
267
+ function isForwardRef(object) {
268
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
269
+ }
270
+ function isFragment(object) {
271
+ return typeOf(object) === REACT_FRAGMENT_TYPE;
272
+ }
273
+ function isLazy(object) {
274
+ return typeOf(object) === REACT_LAZY_TYPE;
275
+ }
276
+ function isMemo(object) {
277
+ return typeOf(object) === REACT_MEMO_TYPE;
278
+ }
279
+ function isPortal(object) {
280
+ return typeOf(object) === REACT_PORTAL_TYPE;
281
+ }
282
+ function isProfiler(object) {
283
+ return typeOf(object) === REACT_PROFILER_TYPE;
284
+ }
285
+ function isStrictMode(object) {
286
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
287
+ }
288
+ function isSuspense(object) {
289
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
290
+ }
291
+ exports.AsyncMode = AsyncMode;
292
+ exports.ConcurrentMode = ConcurrentMode;
293
+ exports.ContextConsumer = ContextConsumer;
294
+ exports.ContextProvider = ContextProvider;
295
+ exports.Element = Element;
296
+ exports.ForwardRef = ForwardRef;
297
+ exports.Fragment = Fragment2;
298
+ exports.Lazy = Lazy;
299
+ exports.Memo = Memo;
300
+ exports.Portal = Portal;
301
+ exports.Profiler = Profiler;
302
+ exports.StrictMode = StrictMode;
303
+ exports.Suspense = Suspense;
304
+ exports.isAsyncMode = isAsyncMode;
305
+ exports.isConcurrentMode = isConcurrentMode;
306
+ exports.isContextConsumer = isContextConsumer;
307
+ exports.isContextProvider = isContextProvider;
308
+ exports.isElement = isElement;
309
+ exports.isForwardRef = isForwardRef;
310
+ exports.isFragment = isFragment;
311
+ exports.isLazy = isLazy;
312
+ exports.isMemo = isMemo;
313
+ exports.isPortal = isPortal;
314
+ exports.isProfiler = isProfiler;
315
+ exports.isStrictMode = isStrictMode;
316
+ exports.isSuspense = isSuspense;
317
+ exports.isValidElementType = isValidElementType;
318
+ exports.typeOf = typeOf;
319
+ })();
320
+ }
321
+ }
322
+ });
323
+
324
+ // ../../node_modules/prop-types/node_modules/react-is/index.js
325
+ var require_react_is = __commonJS({
326
+ "../../node_modules/prop-types/node_modules/react-is/index.js"(exports, module) {
327
+ "use strict";
328
+ if (process.env.NODE_ENV === "production") {
329
+ module.exports = require_react_is_production_min();
330
+ } else {
331
+ module.exports = require_react_is_development();
332
+ }
333
+ }
334
+ });
335
+
336
+ // ../../node_modules/object-assign/index.js
337
+ var require_object_assign = __commonJS({
338
+ "../../node_modules/object-assign/index.js"(exports, module) {
339
+ "use strict";
340
+ var getOwnPropertySymbols = Object.getOwnPropertySymbols;
341
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
342
+ var propIsEnumerable = Object.prototype.propertyIsEnumerable;
343
+ function toObject(val) {
344
+ if (val === null || val === void 0) {
345
+ throw new TypeError("Object.assign cannot be called with null or undefined");
346
+ }
347
+ return Object(val);
348
+ }
349
+ function shouldUseNative() {
350
+ try {
351
+ if (!Object.assign) {
352
+ return false;
353
+ }
354
+ var test1 = new String("abc");
355
+ test1[5] = "de";
356
+ if (Object.getOwnPropertyNames(test1)[0] === "5") {
357
+ return false;
358
+ }
359
+ var test2 = {};
360
+ for (var i = 0; i < 10; i++) {
361
+ test2["_" + String.fromCharCode(i)] = i;
362
+ }
363
+ var order2 = Object.getOwnPropertyNames(test2).map(function(n) {
364
+ return test2[n];
365
+ });
366
+ if (order2.join("") !== "0123456789") {
367
+ return false;
368
+ }
369
+ var test3 = {};
370
+ "abcdefghijklmnopqrst".split("").forEach(function(letter) {
371
+ test3[letter] = letter;
372
+ });
373
+ if (Object.keys(Object.assign({}, test3)).join("") !== "abcdefghijklmnopqrst") {
374
+ return false;
375
+ }
376
+ return true;
377
+ } catch (err) {
378
+ return false;
379
+ }
380
+ }
381
+ module.exports = shouldUseNative() ? Object.assign : function(target, source) {
382
+ var from;
383
+ var to = toObject(target);
384
+ var symbols;
385
+ for (var s = 1; s < arguments.length; s++) {
386
+ from = Object(arguments[s]);
387
+ for (var key in from) {
388
+ if (hasOwnProperty.call(from, key)) {
389
+ to[key] = from[key];
390
+ }
391
+ }
392
+ if (getOwnPropertySymbols) {
393
+ symbols = getOwnPropertySymbols(from);
394
+ for (var i = 0; i < symbols.length; i++) {
395
+ if (propIsEnumerable.call(from, symbols[i])) {
396
+ to[symbols[i]] = from[symbols[i]];
397
+ }
398
+ }
399
+ }
400
+ }
401
+ return to;
402
+ };
403
+ }
404
+ });
405
+
406
+ // ../../node_modules/prop-types/lib/ReactPropTypesSecret.js
407
+ var require_ReactPropTypesSecret = __commonJS({
408
+ "../../node_modules/prop-types/lib/ReactPropTypesSecret.js"(exports, module) {
409
+ "use strict";
410
+ var ReactPropTypesSecret = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
411
+ module.exports = ReactPropTypesSecret;
412
+ }
413
+ });
414
+
415
+ // ../../node_modules/prop-types/lib/has.js
416
+ var require_has = __commonJS({
417
+ "../../node_modules/prop-types/lib/has.js"(exports, module) {
418
+ "use strict";
419
+ module.exports = Function.call.bind(Object.prototype.hasOwnProperty);
420
+ }
421
+ });
422
+
423
+ // ../../node_modules/prop-types/checkPropTypes.js
424
+ var require_checkPropTypes = __commonJS({
425
+ "../../node_modules/prop-types/checkPropTypes.js"(exports, module) {
426
+ "use strict";
427
+ var printWarning = function() {
428
+ };
429
+ if (process.env.NODE_ENV !== "production") {
430
+ ReactPropTypesSecret = require_ReactPropTypesSecret();
431
+ loggedTypeFailures = {};
432
+ has = require_has();
433
+ printWarning = function(text) {
434
+ var message = "Warning: " + text;
435
+ if (typeof console !== "undefined") {
436
+ console.error(message);
437
+ }
438
+ try {
439
+ throw new Error(message);
440
+ } catch (x) {
441
+ }
442
+ };
443
+ }
444
+ var ReactPropTypesSecret;
445
+ var loggedTypeFailures;
446
+ var has;
447
+ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
448
+ if (process.env.NODE_ENV !== "production") {
449
+ for (var typeSpecName in typeSpecs) {
450
+ if (has(typeSpecs, typeSpecName)) {
451
+ var error;
452
+ try {
453
+ if (typeof typeSpecs[typeSpecName] !== "function") {
454
+ var err = Error(
455
+ (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`."
456
+ );
457
+ err.name = "Invariant Violation";
458
+ throw err;
459
+ }
460
+ error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
461
+ } catch (ex) {
462
+ error = ex;
463
+ }
464
+ if (error && !(error instanceof Error)) {
465
+ printWarning(
466
+ (componentName || "React class") + ": type specification of " + location + " `" + typeSpecName + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof error + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
467
+ );
468
+ }
469
+ if (error instanceof Error && !(error.message in loggedTypeFailures)) {
470
+ loggedTypeFailures[error.message] = true;
471
+ var stack = getStack ? getStack() : "";
472
+ printWarning(
473
+ "Failed " + location + " type: " + error.message + (stack != null ? stack : "")
474
+ );
475
+ }
476
+ }
477
+ }
478
+ }
479
+ }
480
+ checkPropTypes.resetWarningCache = function() {
481
+ if (process.env.NODE_ENV !== "production") {
482
+ loggedTypeFailures = {};
483
+ }
484
+ };
485
+ module.exports = checkPropTypes;
486
+ }
487
+ });
488
+
489
+ // ../../node_modules/prop-types/factoryWithTypeCheckers.js
490
+ var require_factoryWithTypeCheckers = __commonJS({
491
+ "../../node_modules/prop-types/factoryWithTypeCheckers.js"(exports, module) {
492
+ "use strict";
493
+ var ReactIs = require_react_is();
494
+ var assign = require_object_assign();
495
+ var ReactPropTypesSecret = require_ReactPropTypesSecret();
496
+ var has = require_has();
497
+ var checkPropTypes = require_checkPropTypes();
498
+ var printWarning = function() {
499
+ };
500
+ if (process.env.NODE_ENV !== "production") {
501
+ printWarning = function(text) {
502
+ var message = "Warning: " + text;
503
+ if (typeof console !== "undefined") {
504
+ console.error(message);
505
+ }
506
+ try {
507
+ throw new Error(message);
508
+ } catch (x) {
509
+ }
510
+ };
511
+ }
512
+ function emptyFunctionThatReturnsNull() {
513
+ return null;
514
+ }
515
+ module.exports = function(isValidElement, throwOnDirectAccess) {
516
+ var ITERATOR_SYMBOL = typeof Symbol === "function" && Symbol.iterator;
517
+ var FAUX_ITERATOR_SYMBOL = "@@iterator";
518
+ function getIteratorFn(maybeIterable) {
519
+ var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
520
+ if (typeof iteratorFn === "function") {
521
+ return iteratorFn;
522
+ }
523
+ }
524
+ var ANONYMOUS = "<<anonymous>>";
525
+ var ReactPropTypes = {
526
+ array: createPrimitiveTypeChecker("array"),
527
+ bigint: createPrimitiveTypeChecker("bigint"),
528
+ bool: createPrimitiveTypeChecker("boolean"),
529
+ func: createPrimitiveTypeChecker("function"),
530
+ number: createPrimitiveTypeChecker("number"),
531
+ object: createPrimitiveTypeChecker("object"),
532
+ string: createPrimitiveTypeChecker("string"),
533
+ symbol: createPrimitiveTypeChecker("symbol"),
534
+ any: createAnyTypeChecker(),
535
+ arrayOf: createArrayOfTypeChecker,
536
+ element: createElementTypeChecker(),
537
+ elementType: createElementTypeTypeChecker(),
538
+ instanceOf: createInstanceTypeChecker,
539
+ node: createNodeChecker(),
540
+ objectOf: createObjectOfTypeChecker,
541
+ oneOf: createEnumTypeChecker,
542
+ oneOfType: createUnionTypeChecker,
543
+ shape: createShapeTypeChecker,
544
+ exact: createStrictShapeTypeChecker
545
+ };
546
+ function is(x, y) {
547
+ if (x === y) {
548
+ return x !== 0 || 1 / x === 1 / y;
549
+ } else {
550
+ return x !== x && y !== y;
551
+ }
552
+ }
553
+ function PropTypeError(message, data) {
554
+ this.message = message;
555
+ this.data = data && typeof data === "object" ? data : {};
556
+ this.stack = "";
557
+ }
558
+ PropTypeError.prototype = Error.prototype;
559
+ function createChainableTypeChecker(validate) {
560
+ if (process.env.NODE_ENV !== "production") {
561
+ var manualPropTypeCallCache = {};
562
+ var manualPropTypeWarningCount = 0;
563
+ }
564
+ function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
565
+ componentName = componentName || ANONYMOUS;
566
+ propFullName = propFullName || propName;
567
+ if (secret !== ReactPropTypesSecret) {
568
+ if (throwOnDirectAccess) {
569
+ var err = new Error(
570
+ "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
571
+ );
572
+ err.name = "Invariant Violation";
573
+ throw err;
574
+ } else if (process.env.NODE_ENV !== "production" && typeof console !== "undefined") {
575
+ var cacheKey = componentName + ":" + propName;
576
+ if (!manualPropTypeCallCache[cacheKey] && // Avoid spamming the console because they are often not actionable except for lib authors
577
+ manualPropTypeWarningCount < 3) {
578
+ printWarning(
579
+ "You are manually calling a React.PropTypes validation function for the `" + propFullName + "` prop on `" + componentName + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
580
+ );
581
+ manualPropTypeCallCache[cacheKey] = true;
582
+ manualPropTypeWarningCount++;
583
+ }
584
+ }
585
+ }
586
+ if (props[propName] == null) {
587
+ if (isRequired) {
588
+ if (props[propName] === null) {
589
+ return new PropTypeError("The " + location + " `" + propFullName + "` is marked as required " + ("in `" + componentName + "`, but its value is `null`."));
590
+ }
591
+ return new PropTypeError("The " + location + " `" + propFullName + "` is marked as required in " + ("`" + componentName + "`, but its value is `undefined`."));
592
+ }
593
+ return null;
594
+ } else {
595
+ return validate(props, propName, componentName, location, propFullName);
596
+ }
597
+ }
598
+ var chainedCheckType = checkType.bind(null, false);
599
+ chainedCheckType.isRequired = checkType.bind(null, true);
600
+ return chainedCheckType;
601
+ }
602
+ function createPrimitiveTypeChecker(expectedType) {
603
+ function validate(props, propName, componentName, location, propFullName, secret) {
604
+ var propValue = props[propName];
605
+ var propType = getPropType(propValue);
606
+ if (propType !== expectedType) {
607
+ var preciseType = getPreciseType(propValue);
608
+ return new PropTypeError(
609
+ "Invalid " + location + " `" + propFullName + "` of type " + ("`" + preciseType + "` supplied to `" + componentName + "`, expected ") + ("`" + expectedType + "`."),
610
+ { expectedType }
611
+ );
612
+ }
613
+ return null;
614
+ }
615
+ return createChainableTypeChecker(validate);
616
+ }
617
+ function createAnyTypeChecker() {
618
+ return createChainableTypeChecker(emptyFunctionThatReturnsNull);
619
+ }
620
+ function createArrayOfTypeChecker(typeChecker) {
621
+ function validate(props, propName, componentName, location, propFullName) {
622
+ if (typeof typeChecker !== "function") {
623
+ return new PropTypeError("Property `" + propFullName + "` of component `" + componentName + "` has invalid PropType notation inside arrayOf.");
624
+ }
625
+ var propValue = props[propName];
626
+ if (!Array.isArray(propValue)) {
627
+ var propType = getPropType(propValue);
628
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected an array."));
629
+ }
630
+ for (var i = 0; i < propValue.length; i++) {
631
+ var error = typeChecker(propValue, i, componentName, location, propFullName + "[" + i + "]", ReactPropTypesSecret);
632
+ if (error instanceof Error) {
633
+ return error;
634
+ }
635
+ }
636
+ return null;
637
+ }
638
+ return createChainableTypeChecker(validate);
639
+ }
640
+ function createElementTypeChecker() {
641
+ function validate(props, propName, componentName, location, propFullName) {
642
+ var propValue = props[propName];
643
+ if (!isValidElement(propValue)) {
644
+ var propType = getPropType(propValue);
645
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected a single ReactElement."));
646
+ }
647
+ return null;
648
+ }
649
+ return createChainableTypeChecker(validate);
650
+ }
651
+ function createElementTypeTypeChecker() {
652
+ function validate(props, propName, componentName, location, propFullName) {
653
+ var propValue = props[propName];
654
+ if (!ReactIs.isValidElementType(propValue)) {
655
+ var propType = getPropType(propValue);
656
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected a single ReactElement type."));
657
+ }
658
+ return null;
659
+ }
660
+ return createChainableTypeChecker(validate);
661
+ }
662
+ function createInstanceTypeChecker(expectedClass) {
663
+ function validate(props, propName, componentName, location, propFullName) {
664
+ if (!(props[propName] instanceof expectedClass)) {
665
+ var expectedClassName = expectedClass.name || ANONYMOUS;
666
+ var actualClassName = getClassName(props[propName]);
667
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + actualClassName + "` supplied to `" + componentName + "`, expected ") + ("instance of `" + expectedClassName + "`."));
668
+ }
669
+ return null;
670
+ }
671
+ return createChainableTypeChecker(validate);
672
+ }
673
+ function createEnumTypeChecker(expectedValues) {
674
+ if (!Array.isArray(expectedValues)) {
675
+ if (process.env.NODE_ENV !== "production") {
676
+ if (arguments.length > 1) {
677
+ printWarning(
678
+ "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
679
+ );
680
+ } else {
681
+ printWarning("Invalid argument supplied to oneOf, expected an array.");
682
+ }
683
+ }
684
+ return emptyFunctionThatReturnsNull;
685
+ }
686
+ function validate(props, propName, componentName, location, propFullName) {
687
+ var propValue = props[propName];
688
+ for (var i = 0; i < expectedValues.length; i++) {
689
+ if (is(propValue, expectedValues[i])) {
690
+ return null;
691
+ }
692
+ }
693
+ var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
694
+ var type = getPreciseType(value);
695
+ if (type === "symbol") {
696
+ return String(value);
697
+ }
698
+ return value;
699
+ });
700
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of value `" + String(propValue) + "` " + ("supplied to `" + componentName + "`, expected one of " + valuesString + "."));
701
+ }
702
+ return createChainableTypeChecker(validate);
703
+ }
704
+ function createObjectOfTypeChecker(typeChecker) {
705
+ function validate(props, propName, componentName, location, propFullName) {
706
+ if (typeof typeChecker !== "function") {
707
+ return new PropTypeError("Property `" + propFullName + "` of component `" + componentName + "` has invalid PropType notation inside objectOf.");
708
+ }
709
+ var propValue = props[propName];
710
+ var propType = getPropType(propValue);
711
+ if (propType !== "object") {
712
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected an object."));
713
+ }
714
+ for (var key in propValue) {
715
+ if (has(propValue, key)) {
716
+ var error = typeChecker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
717
+ if (error instanceof Error) {
718
+ return error;
719
+ }
720
+ }
721
+ }
722
+ return null;
723
+ }
724
+ return createChainableTypeChecker(validate);
725
+ }
726
+ function createUnionTypeChecker(arrayOfTypeCheckers) {
727
+ if (!Array.isArray(arrayOfTypeCheckers)) {
728
+ process.env.NODE_ENV !== "production" ? printWarning("Invalid argument supplied to oneOfType, expected an instance of array.") : void 0;
729
+ return emptyFunctionThatReturnsNull;
730
+ }
731
+ for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
732
+ var checker = arrayOfTypeCheckers[i];
733
+ if (typeof checker !== "function") {
734
+ printWarning(
735
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + getPostfixForTypeWarning(checker) + " at index " + i + "."
736
+ );
737
+ return emptyFunctionThatReturnsNull;
738
+ }
739
+ }
740
+ function validate(props, propName, componentName, location, propFullName) {
741
+ var expectedTypes = [];
742
+ for (var i2 = 0; i2 < arrayOfTypeCheckers.length; i2++) {
743
+ var checker2 = arrayOfTypeCheckers[i2];
744
+ var checkerResult = checker2(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
745
+ if (checkerResult == null) {
746
+ return null;
747
+ }
748
+ if (checkerResult.data && has(checkerResult.data, "expectedType")) {
749
+ expectedTypes.push(checkerResult.data.expectedType);
750
+ }
751
+ }
752
+ var expectedTypesMessage = expectedTypes.length > 0 ? ", expected one of type [" + expectedTypes.join(", ") + "]" : "";
753
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` supplied to " + ("`" + componentName + "`" + expectedTypesMessage + "."));
754
+ }
755
+ return createChainableTypeChecker(validate);
756
+ }
757
+ function createNodeChecker() {
758
+ function validate(props, propName, componentName, location, propFullName) {
759
+ if (!isNode(props[propName])) {
760
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` supplied to " + ("`" + componentName + "`, expected a ReactNode."));
761
+ }
762
+ return null;
763
+ }
764
+ return createChainableTypeChecker(validate);
765
+ }
766
+ function invalidValidatorError(componentName, location, propFullName, key, type) {
767
+ return new PropTypeError(
768
+ (componentName || "React class") + ": " + location + " type `" + propFullName + "." + key + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + type + "`."
769
+ );
770
+ }
771
+ function createShapeTypeChecker(shapeTypes) {
772
+ function validate(props, propName, componentName, location, propFullName) {
773
+ var propValue = props[propName];
774
+ var propType = getPropType(propValue);
775
+ if (propType !== "object") {
776
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type `" + propType + "` " + ("supplied to `" + componentName + "`, expected `object`."));
777
+ }
778
+ for (var key in shapeTypes) {
779
+ var checker = shapeTypes[key];
780
+ if (typeof checker !== "function") {
781
+ return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
782
+ }
783
+ var error = checker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
784
+ if (error) {
785
+ return error;
786
+ }
787
+ }
788
+ return null;
789
+ }
790
+ return createChainableTypeChecker(validate);
791
+ }
792
+ function createStrictShapeTypeChecker(shapeTypes) {
793
+ function validate(props, propName, componentName, location, propFullName) {
794
+ var propValue = props[propName];
795
+ var propType = getPropType(propValue);
796
+ if (propType !== "object") {
797
+ return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type `" + propType + "` " + ("supplied to `" + componentName + "`, expected `object`."));
798
+ }
799
+ var allKeys = assign({}, props[propName], shapeTypes);
800
+ for (var key in allKeys) {
801
+ var checker = shapeTypes[key];
802
+ if (has(shapeTypes, key) && typeof checker !== "function") {
803
+ return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
804
+ }
805
+ if (!checker) {
806
+ return new PropTypeError(
807
+ "Invalid " + location + " `" + propFullName + "` key `" + key + "` supplied to `" + componentName + "`.\nBad object: " + JSON.stringify(props[propName], null, " ") + "\nValid keys: " + JSON.stringify(Object.keys(shapeTypes), null, " ")
808
+ );
809
+ }
810
+ var error = checker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
811
+ if (error) {
812
+ return error;
813
+ }
814
+ }
815
+ return null;
816
+ }
817
+ return createChainableTypeChecker(validate);
818
+ }
819
+ function isNode(propValue) {
820
+ switch (typeof propValue) {
821
+ case "number":
822
+ case "string":
823
+ case "undefined":
824
+ return true;
825
+ case "boolean":
826
+ return !propValue;
827
+ case "object":
828
+ if (Array.isArray(propValue)) {
829
+ return propValue.every(isNode);
830
+ }
831
+ if (propValue === null || isValidElement(propValue)) {
832
+ return true;
833
+ }
834
+ var iteratorFn = getIteratorFn(propValue);
835
+ if (iteratorFn) {
836
+ var iterator = iteratorFn.call(propValue);
837
+ var step;
838
+ if (iteratorFn !== propValue.entries) {
839
+ while (!(step = iterator.next()).done) {
840
+ if (!isNode(step.value)) {
841
+ return false;
842
+ }
843
+ }
844
+ } else {
845
+ while (!(step = iterator.next()).done) {
846
+ var entry = step.value;
847
+ if (entry) {
848
+ if (!isNode(entry[1])) {
849
+ return false;
850
+ }
851
+ }
852
+ }
853
+ }
854
+ } else {
855
+ return false;
856
+ }
857
+ return true;
858
+ default:
859
+ return false;
860
+ }
861
+ }
862
+ function isSymbol(propType, propValue) {
863
+ if (propType === "symbol") {
864
+ return true;
865
+ }
866
+ if (!propValue) {
867
+ return false;
868
+ }
869
+ if (propValue["@@toStringTag"] === "Symbol") {
870
+ return true;
871
+ }
872
+ if (typeof Symbol === "function" && propValue instanceof Symbol) {
873
+ return true;
874
+ }
875
+ return false;
876
+ }
877
+ function getPropType(propValue) {
878
+ var propType = typeof propValue;
879
+ if (Array.isArray(propValue)) {
880
+ return "array";
881
+ }
882
+ if (propValue instanceof RegExp) {
883
+ return "object";
884
+ }
885
+ if (isSymbol(propType, propValue)) {
886
+ return "symbol";
887
+ }
888
+ return propType;
889
+ }
890
+ function getPreciseType(propValue) {
891
+ if (typeof propValue === "undefined" || propValue === null) {
892
+ return "" + propValue;
893
+ }
894
+ var propType = getPropType(propValue);
895
+ if (propType === "object") {
896
+ if (propValue instanceof Date) {
897
+ return "date";
898
+ } else if (propValue instanceof RegExp) {
899
+ return "regexp";
900
+ }
901
+ }
902
+ return propType;
903
+ }
904
+ function getPostfixForTypeWarning(value) {
905
+ var type = getPreciseType(value);
906
+ switch (type) {
907
+ case "array":
908
+ case "object":
909
+ return "an " + type;
910
+ case "boolean":
911
+ case "date":
912
+ case "regexp":
913
+ return "a " + type;
914
+ default:
915
+ return type;
916
+ }
917
+ }
918
+ function getClassName(propValue) {
919
+ if (!propValue.constructor || !propValue.constructor.name) {
920
+ return ANONYMOUS;
921
+ }
922
+ return propValue.constructor.name;
923
+ }
924
+ ReactPropTypes.checkPropTypes = checkPropTypes;
925
+ ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
926
+ ReactPropTypes.PropTypes = ReactPropTypes;
927
+ return ReactPropTypes;
928
+ };
929
+ }
930
+ });
931
+
932
+ // ../../node_modules/prop-types/factoryWithThrowingShims.js
933
+ var require_factoryWithThrowingShims = __commonJS({
934
+ "../../node_modules/prop-types/factoryWithThrowingShims.js"(exports, module) {
935
+ "use strict";
936
+ var ReactPropTypesSecret = require_ReactPropTypesSecret();
937
+ function emptyFunction() {
938
+ }
939
+ function emptyFunctionWithReset() {
940
+ }
941
+ emptyFunctionWithReset.resetWarningCache = emptyFunction;
942
+ module.exports = function() {
943
+ function shim(props, propName, componentName, location, propFullName, secret) {
944
+ if (secret === ReactPropTypesSecret) {
945
+ return;
946
+ }
947
+ var err = new Error(
948
+ "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
949
+ );
950
+ err.name = "Invariant Violation";
951
+ throw err;
952
+ }
953
+ ;
954
+ shim.isRequired = shim;
955
+ function getShim() {
956
+ return shim;
957
+ }
958
+ ;
959
+ var ReactPropTypes = {
960
+ array: shim,
961
+ bigint: shim,
962
+ bool: shim,
963
+ func: shim,
964
+ number: shim,
965
+ object: shim,
966
+ string: shim,
967
+ symbol: shim,
968
+ any: shim,
969
+ arrayOf: getShim,
970
+ element: shim,
971
+ elementType: shim,
972
+ instanceOf: getShim,
973
+ node: shim,
974
+ objectOf: getShim,
975
+ oneOf: getShim,
976
+ oneOfType: getShim,
977
+ shape: getShim,
978
+ exact: getShim,
979
+ checkPropTypes: emptyFunctionWithReset,
980
+ resetWarningCache: emptyFunction
981
+ };
982
+ ReactPropTypes.PropTypes = ReactPropTypes;
983
+ return ReactPropTypes;
984
+ };
985
+ }
986
+ });
987
+
988
+ // ../../node_modules/prop-types/index.js
989
+ var require_prop_types = __commonJS({
990
+ "../../node_modules/prop-types/index.js"(exports, module) {
991
+ "use strict";
992
+ if (process.env.NODE_ENV !== "production") {
993
+ ReactIs = require_react_is();
994
+ throwOnDirectAccess = true;
995
+ module.exports = require_factoryWithTypeCheckers()(ReactIs.isElement, throwOnDirectAccess);
996
+ } else {
997
+ module.exports = require_factoryWithThrowingShims()();
998
+ }
999
+ var ReactIs;
1000
+ var throwOnDirectAccess;
1001
+ }
1002
+ });
1003
+
1004
+ // src/components/Icon.tsx
1005
+ var import_prop_types = __toESM(require_prop_types());
1006
+ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
1007
+ import { library } from "@fortawesome/fontawesome-svg-core";
1008
+ import { fas } from "@fortawesome/free-solid-svg-icons";
1009
+ import { far } from "@fortawesome/free-regular-svg-icons";
1010
+ import { fab } from "@fortawesome/free-brands-svg-icons";
1011
+ import { jsx } from "react/jsx-runtime";
1012
+ library.add(fas, far, fab);
1013
+ var Icon = (_a) => {
1014
+ var _b = _a, { name, prefix = "fas", size = "1x", color = "currentColor", className = "" } = _b, props = __objRest(_b, ["name", "prefix", "size", "color", "className"]);
1015
+ return /* @__PURE__ */ jsx(
1016
+ FontAwesomeIcon,
1017
+ __spreadValues({
1018
+ icon: [prefix, name],
1019
+ size,
1020
+ color,
1021
+ className
1022
+ }, props)
1023
+ );
1024
+ };
1025
+ Icon.propTypes = {
1026
+ name: import_prop_types.default.string.isRequired,
1027
+ prefix: import_prop_types.default.string,
1028
+ size: import_prop_types.default.string,
1029
+ color: import_prop_types.default.string,
1030
+ className: import_prop_types.default.string
1031
+ };
1032
+ var Icon_default = Icon;
20
1033
 
21
1034
  // ../tokens/dist/index.mjs
22
1035
  var colors = {
@@ -118,7 +1131,51 @@ var colors = {
118
1131
  grey700: "#516A7A",
119
1132
  grey800: "#394F61",
120
1133
  grey900: "#233543",
121
- grey950: "#101B23"
1134
+ grey950: "#101B23",
1135
+ error50: "#FCEEEF",
1136
+ error100: "#F9DCDF",
1137
+ error200: "#F3BEC3",
1138
+ error300: "#ED9CA2",
1139
+ error400: "#E77982",
1140
+ error500: "#E15662",
1141
+ error600: "#DB3644",
1142
+ error700: "#AD1F2B",
1143
+ error800: "#75151D",
1144
+ error900: "#380A0E",
1145
+ error950: "#1E0507",
1146
+ success50: "#E6F9EA",
1147
+ success100: "#CDF4D5",
1148
+ success200: "#9BE8AC",
1149
+ success300: "#6CD783",
1150
+ success400: "#5BCA72",
1151
+ success500: "#26A743",
1152
+ success600: "#1E8535",
1153
+ success700: "#176427",
1154
+ success800: "#0F421A",
1155
+ success900: "#08210D",
1156
+ success950: "#041107",
1157
+ warning50: "#FFF9E6",
1158
+ warning100: "#FFF3CD",
1159
+ warning200: "#FFE69C",
1160
+ warning300: "#FFDA6A",
1161
+ warning400: "#FFCD39",
1162
+ warning500: "#FFC107",
1163
+ warning600: "#CC9A06",
1164
+ warning700: "#997404",
1165
+ warning800: "#664D03",
1166
+ warning900: "#332701",
1167
+ warning950: "#191300",
1168
+ info50: "#E5F1FF",
1169
+ info100: "#CCE4FF",
1170
+ info200: "#9AC9FF",
1171
+ info300: "#66ADFF",
1172
+ info400: "#3392FF",
1173
+ info500: "#0278FE",
1174
+ info600: "#005FCD",
1175
+ info700: "#004799",
1176
+ info800: "#013066",
1177
+ info900: "#001834",
1178
+ info950: "#000C1A"
122
1179
  };
123
1180
  var fonts = {
124
1181
  default: '"Work Sans", sans-serif'
@@ -173,14 +1230,26 @@ var lineHeights = {
173
1230
  // 24px
174
1231
  };
175
1232
  var radii = {
176
- px: "1px",
177
- xs: "6px",
178
- sm: "8px",
179
- md: "12px",
180
- lg: "16px",
181
- "2xl": "24px",
182
- "3xl": "32px",
183
- "4xl": "40px",
1233
+ "3xs": "2px",
1234
+ "2xs": "4px",
1235
+ "xs": "6px",
1236
+ "sm": "8px",
1237
+ "md": "10px",
1238
+ "lg": "12px",
1239
+ "xl": "14px",
1240
+ "2xl": "16px",
1241
+ "3xl": "18px",
1242
+ "4xl": "20px",
1243
+ "5xl": "22px",
1244
+ "6xl": "24px",
1245
+ "7xl": "32px",
1246
+ "8xl": "36px",
1247
+ "9xl": "40px",
1248
+ "10xl": "48px",
1249
+ "11xl": "56px",
1250
+ "12xl": "64px",
1251
+ "13xl": "72px",
1252
+ "14xl": "80px",
184
1253
  full: "99999px"
185
1254
  };
186
1255
  var space = {
@@ -222,7 +1291,8 @@ var {
222
1291
  } = createStitches({
223
1292
  themeMap: __spreadProps(__spreadValues({}, defaultThemeMap), {
224
1293
  height: "space",
225
- width: "space"
1294
+ width: "space",
1295
+ gap: "space"
226
1296
  }),
227
1297
  theme: {
228
1298
  colors,
@@ -236,26 +1306,1254 @@ var {
236
1306
  });
237
1307
 
238
1308
  // src/components/Text.tsx
239
- var Text = styled("p", {
1309
+ import { Text as TextRadix } from "@radix-ui/themes";
1310
+ var Text = styled(TextRadix, {
240
1311
  fontFamily: "$default",
241
1312
  lineHeight: "$base",
242
- margin: 0,
243
1313
  color: "$gray100",
1314
+ letterSpacing: "$2",
1315
+ fontWeight: "$semibold",
244
1316
  variants: {
245
1317
  size: {
246
- xs: { fontSize: "$xs" },
247
- sm: { fontSize: "$sm" },
248
- md: { fontSize: "$md" },
249
- lg: { fontSize: "$lg" },
250
- "2xl": { fontSize: "$2xl" },
251
- "4xl": { fontSize: "$4xl" },
252
- full: { fontSize: "$full" }
1318
+ lg: { fontSize: "$56" },
1319
+ md: { fontSize: "$48" },
1320
+ sm: { fontSize: "$36" }
253
1321
  }
254
1322
  },
255
1323
  defaultVariants: {
256
1324
  size: "md"
257
1325
  }
258
1326
  });
1327
+
1328
+ // src/components/DisplayText.tsx
1329
+ var DisplayText = styled("p", {
1330
+ fontFamily: "$default",
1331
+ lineHeight: "$base",
1332
+ color: "$gray100",
1333
+ letterSpacing: "$2",
1334
+ fontWeight: "$semibold",
1335
+ variants: {
1336
+ size: {
1337
+ lg: { fontSize: "$56" },
1338
+ md: { fontSize: "$48" },
1339
+ sm: { fontSize: "$36" }
1340
+ }
1341
+ },
1342
+ defaultVariants: {
1343
+ size: "md"
1344
+ }
1345
+ });
1346
+
1347
+ // src/components/Headline.tsx
1348
+ import { Heading } from "@radix-ui/themes";
1349
+ var Headline = styled(Heading, {
1350
+ fontFamily: "$default",
1351
+ color: "$gray100",
1352
+ letterSpacing: "0px",
1353
+ variants: {
1354
+ size: {
1355
+ 1: { fontSize: "$48", lineHeight: "$64", fontWeight: "$semibold" },
1356
+ 2: { fontSize: "$32", lineHeight: "$48", fontWeight: "$semibold" },
1357
+ 3: { fontSize: "$24", lineHeight: "$40", fontWeight: "$semibold" },
1358
+ 4: { fontSize: "$20", lineHeight: "$36", fontWeight: "$semibold" },
1359
+ 5: { fontSize: "$18", lineHeight: "$24", fontWeight: "$semibold" },
1360
+ 6: { fontSize: "$18", lineHeight: "$34", fontWeight: "$medium" },
1361
+ 7: { fontSize: "$16", lineHeight: "$32", fontWeight: "$semibold" },
1362
+ 8: { fontSize: "$16", lineHeight: "$32", fontWeight: "$medium" }
1363
+ }
1364
+ },
1365
+ defaultVariants: {
1366
+ size: 1
1367
+ }
1368
+ });
1369
+
1370
+ // src/components/Subtitle.tsx
1371
+ import { Text as Text2 } from "@radix-ui/themes";
1372
+ var Subtitle = styled(Text2, {
1373
+ fontFamily: "$default",
1374
+ color: "$gray100",
1375
+ letterSpacing: "0px",
1376
+ variants: {
1377
+ size: {
1378
+ 1: { fontSize: "$20", lineHeight: "$36", fontWeight: "$regular" },
1379
+ 2: { fontSize: "$18", lineHeight: "$34", fontWeight: "$regular" },
1380
+ 3: { fontSize: "$16", lineHeight: "$32", fontWeight: "$regular" },
1381
+ 4: { fontSize: "$14", lineHeight: "$24", fontWeight: "$regular" },
1382
+ 5: { fontSize: "$14", lineHeight: "$16", fontWeight: "$semibold" }
1383
+ }
1384
+ },
1385
+ defaultVariants: {
1386
+ size: 1
1387
+ }
1388
+ });
1389
+
1390
+ // src/components/BodyText.tsx
1391
+ import { Text as Text3 } from "@radix-ui/themes";
1392
+ var BodyText = styled(Text3, {
1393
+ fontFamily: "$default",
1394
+ color: "$gray100",
1395
+ fontWeight: "$regular",
1396
+ variants: {
1397
+ size: {
1398
+ 1: { fontSize: "$16", lineHeight: "$24" },
1399
+ 2: { fontSize: "$14", lineHeight: "$24" },
1400
+ 3: { fontSize: "$13", lineHeight: "$24" },
1401
+ 4: { fontSize: "$12", lineHeight: "$16" }
1402
+ }
1403
+ },
1404
+ defaultVariants: {
1405
+ size: "1"
1406
+ }
1407
+ });
1408
+
1409
+ // src/components/Label.tsx
1410
+ import { Text as Text4 } from "@radix-ui/themes";
1411
+ var Label = styled(Text4, {
1412
+ fontFamily: "$default",
1413
+ color: "$gray100",
1414
+ letterSpacing: "0px",
1415
+ variants: {
1416
+ size: {
1417
+ 1: { fontSize: "$18", lineHeight: "$22", fontWeight: "$semibold" },
1418
+ 2: { fontSize: "$14", lineHeight: "$16", fontWeight: "$medium" },
1419
+ 3: { fontSize: "$14", lineHeight: "$16", fontWeight: "$regular" },
1420
+ 4: { fontSize: "$13", lineHeight: "$16", fontWeight: "$semibold", letterSpacing: "2px" },
1421
+ 5: { fontSize: "$13", lineHeight: "$16", fontWeight: "$medium" },
1422
+ 6: { fontSize: "$13", lineHeight: "$16", fontWeight: "$regular" },
1423
+ 7: { fontSize: "$12", lineHeight: "$12", fontWeight: "$regular" }
1424
+ }
1425
+ },
1426
+ defaultVariants: {
1427
+ size: "1"
1428
+ }
1429
+ });
1430
+
1431
+ // src/components/BadgeText.tsx
1432
+ import { Text as Text5 } from "@radix-ui/themes";
1433
+ var BadgeText = styled(Text5, {
1434
+ fontFamily: "$default",
1435
+ color: "$gray100",
1436
+ letterSpacing: "0px",
1437
+ variants: {
1438
+ size: {
1439
+ 1: { fontSize: "$16", lineHeight: "$16", fontWeight: "$regular" },
1440
+ 2: { fontSize: "$14", lineHeight: "$14", fontWeight: "$regular" },
1441
+ 3: { fontSize: "$12", lineHeight: "$12", fontWeight: "$regular" },
1442
+ 4: { fontSize: "$10", lineHeight: "$10", fontWeight: "$regular" }
1443
+ }
1444
+ },
1445
+ defaultVariants: {
1446
+ size: "1"
1447
+ }
1448
+ });
1449
+
1450
+ // src/components/CaptionText.tsx
1451
+ import { Text as Text6 } from "@radix-ui/themes";
1452
+ var CaptionText = styled(Text6, {
1453
+ fontFamily: "$default",
1454
+ color: "$gray100",
1455
+ letterSpacing: "0px",
1456
+ fontSize: "$14",
1457
+ lineHeight: "$16",
1458
+ fontWeight: "$regular"
1459
+ });
1460
+
1461
+ // src/components/TooltipText.tsx
1462
+ var TooltipText = styled("span", {
1463
+ fontFamily: "$default",
1464
+ color: "$gray100",
1465
+ letterSpacing: "0px",
1466
+ fontSize: "$13",
1467
+ lineHeight: "$16",
1468
+ fontWeight: "$regular"
1469
+ });
1470
+
1471
+ // src/components/Button.tsx
1472
+ import { Button as ButtonRadix } from "@radix-ui/themes";
1473
+ import { jsx as jsx2 } from "react/jsx-runtime";
1474
+ var ButtonStyled = styled(ButtonRadix, {
1475
+ fontFamily: "$default",
1476
+ letterSpacing: 0,
1477
+ border: 0,
1478
+ transition: "all 300ms ease-out",
1479
+ cursor: "pointer",
1480
+ borderRadius: "$xs",
1481
+ boxShadow: "0px 4px 4px 0px rgba(35, 53, 67, 0.08), 0px 2px 4px 0px rgba(35, 53, 67, 0.16)",
1482
+ display: "flex",
1483
+ alignItems: "center",
1484
+ justifyContent: "center",
1485
+ gap: "$10",
1486
+ variants: {
1487
+ variant: {
1488
+ simple: {
1489
+ backgroundColor: "transparent",
1490
+ padding: 0,
1491
+ color: "$neutral600",
1492
+ border: 0,
1493
+ boxShadow: "none",
1494
+ "&:hover": {
1495
+ transform: "scale(1.05)",
1496
+ color: "$brand600"
1497
+ },
1498
+ "&:focus": {
1499
+ border: "2px solid $gray500",
1500
+ color: "$brand700"
1501
+ },
1502
+ "&:active": {
1503
+ transform: "scale(0.95)",
1504
+ color: "$brand500"
1505
+ },
1506
+ "&:hover:disabled": {
1507
+ transform: "none"
1508
+ },
1509
+ "&:disabled": {
1510
+ cursor: "not-allowed",
1511
+ color: "$dark400",
1512
+ transition: "none"
1513
+ }
1514
+ },
1515
+ primary: {
1516
+ backgroundColor: "$brand500",
1517
+ color: "$grey50",
1518
+ "&:hover": {
1519
+ border: "$2 solid $brand700",
1520
+ transform: "scale(1.05)",
1521
+ backgroundColor: "$blue600"
1522
+ },
1523
+ "&:focus": {
1524
+ border: 0,
1525
+ backgroundColor: "$blue700"
1526
+ },
1527
+ "&:active": {
1528
+ transform: "scale(0.95)",
1529
+ border: "$4 solid $brand300",
1530
+ backgroundColor: "$blue500"
1531
+ },
1532
+ "&:hover:disabled": {
1533
+ transform: "none"
1534
+ },
1535
+ "&:disabled": {
1536
+ border: "$1 solid $brand50",
1537
+ backgroundColor: "$brand50",
1538
+ boxShadow: "none",
1539
+ color: "$neutral400",
1540
+ transition: "none"
1541
+ }
1542
+ },
1543
+ purple: {
1544
+ backgroundColor: "$purple500",
1545
+ color: "$grey50",
1546
+ "&:hover": {
1547
+ transform: "scale(1.05)",
1548
+ backgroundColor: "$purple600",
1549
+ border: "$2 solid $purple700"
1550
+ },
1551
+ "&:focus": {
1552
+ border: "$2 solid $purple700",
1553
+ backgroundColor: "$purple600"
1554
+ },
1555
+ "&:active": {
1556
+ transform: "scale(0.95)",
1557
+ border: "$2 solid $purple300",
1558
+ backgroundColor: "$purple500"
1559
+ },
1560
+ "&:hover:disabled": {
1561
+ transform: "none"
1562
+ },
1563
+ "&:disabled": {
1564
+ border: "$1 solid $purple200",
1565
+ backgroundColor: "$purple200",
1566
+ transition: "none"
1567
+ }
1568
+ },
1569
+ secondary: {
1570
+ backgroundColor: "$neutral500",
1571
+ border: "$1 solid $neutral300",
1572
+ color: "$neutral600",
1573
+ "&:hover": {
1574
+ transform: "scale(1.05)",
1575
+ backgroundColor: "$neutral100",
1576
+ border: "$1 solid $neutral400"
1577
+ },
1578
+ "&:focus": {
1579
+ backgroundColor: "$neutral200",
1580
+ border: 0
1581
+ },
1582
+ "&:active": {
1583
+ transform: "scale(0.95)",
1584
+ backgroundColor: "$neutral50",
1585
+ border: "$1 solid $neutral300"
1586
+ },
1587
+ "&:hover:disabled": {
1588
+ transform: "none"
1589
+ },
1590
+ "&:disabled": {
1591
+ backgroundColor: "$neutral50",
1592
+ border: "$1 solid $neutral200",
1593
+ color: "$neutral400",
1594
+ transition: "none"
1595
+ }
1596
+ }
1597
+ },
1598
+ size: {
1599
+ xs: {
1600
+ padding: "$6 $12",
1601
+ fontSize: "$12",
1602
+ lineHeight: "$base"
1603
+ },
1604
+ sm: {
1605
+ padding: "$8 $14",
1606
+ fontSize: "$13",
1607
+ lineHeight: "$smaller"
1608
+ },
1609
+ md: {
1610
+ padding: "$12 $16",
1611
+ fontSize: "$14",
1612
+ lineHeight: "$smaller"
1613
+ },
1614
+ lg: {
1615
+ padding: "$13 $20",
1616
+ fontSize: "$18",
1617
+ lineHeight: "$smaller"
1618
+ }
1619
+ },
1620
+ radii: {
1621
+ "full": {
1622
+ borderRadius: "$full"
1623
+ }
1624
+ }
1625
+ },
1626
+ defaultVariants: {
1627
+ variant: "simple",
1628
+ size: "md"
1629
+ }
1630
+ });
1631
+ function Button(_a) {
1632
+ var _b = _a, { asChild } = _b, props = __objRest(_b, ["asChild"]);
1633
+ const Component = asChild ? ButtonRadix : "button";
1634
+ return /* @__PURE__ */ jsx2(ButtonStyled, __spreadValues({ as: Component }, props));
1635
+ }
1636
+
1637
+ // src/components/ButtonGroup.tsx
1638
+ import { Button as Button2, Flex } from "@radix-ui/themes";
1639
+ import { jsx as jsx3 } from "react/jsx-runtime";
1640
+ var ButtonItemStyled = styled(Button2, {
1641
+ fontFamily: "$default",
1642
+ letterSpacing: 0,
1643
+ border: 0,
1644
+ transition: "all 300ms ease-out",
1645
+ cursor: "pointer",
1646
+ variants: {
1647
+ active: {
1648
+ true: {}
1649
+ }
1650
+ }
1651
+ });
1652
+ var ButtonGroupStyled = styled(Flex, {
1653
+ display: "flex",
1654
+ borderRadius: "$md",
1655
+ overflow: "hidden",
1656
+ variants: {
1657
+ variant: {
1658
+ primary: {
1659
+ [`& ${ButtonItemStyled}`]: {
1660
+ backgroundColor: "$brand500",
1661
+ color: "$grey50",
1662
+ "&:hover": { backgroundColor: "$blue600" },
1663
+ "&:focus": { backgroundColor: "$blue700" },
1664
+ "&:active": { backgroundColor: "$blue400" }
1665
+ },
1666
+ [`& ${ButtonItemStyled}.active`]: {
1667
+ backgroundColor: "$brand700",
1668
+ "&:hover": { backgroundColor: "$brand700" },
1669
+ "&:focus": { backgroundColor: "$brand700" },
1670
+ "&:active": { backgroundColor: "$brand700" }
1671
+ }
1672
+ },
1673
+ simple: {
1674
+ [`& ${ButtonItemStyled}`]: {
1675
+ backgroundColor: "transparent",
1676
+ border: "1px solid $dark300",
1677
+ color: "$dark600",
1678
+ "&:hover": { backgroundColor: "$neutral" }
1679
+ },
1680
+ [`& ${ButtonItemStyled}.active`]: {
1681
+ backgroundColor: "$dark200",
1682
+ color: "$dark600",
1683
+ "&:hover": { backgroundColor: "$dark200", color: "$dark600" }
1684
+ }
1685
+ }
1686
+ },
1687
+ size: {
1688
+ sm: {
1689
+ [`& ${ButtonItemStyled}`]: {
1690
+ padding: "$8 $14",
1691
+ fontSize: "$13",
1692
+ "&:not(:first-child)": {
1693
+ borderLeft: "none"
1694
+ },
1695
+ "&:first-child": {
1696
+ borderTopLeftRadius: "$sm",
1697
+ borderBottomLeftRadius: "$sm"
1698
+ },
1699
+ "&:last-child": {
1700
+ borderTopRightRadius: "$sm",
1701
+ borderBottomRightRadius: "$sm"
1702
+ }
1703
+ }
1704
+ },
1705
+ md: {
1706
+ [`& ${ButtonItemStyled}`]: {
1707
+ padding: "$12 $16",
1708
+ fontSize: "$14",
1709
+ "&:not(:first-child)": {
1710
+ borderLeft: "none"
1711
+ },
1712
+ "&:first-child": {
1713
+ borderTopLeftRadius: "$md",
1714
+ borderBottomLeftRadius: "$md"
1715
+ },
1716
+ "&:last-child": {
1717
+ borderTopRightRadius: "$md",
1718
+ borderBottomRightRadius: "$md"
1719
+ }
1720
+ }
1721
+ },
1722
+ lg: {
1723
+ [`& ${ButtonItemStyled}`]: {
1724
+ padding: "$13 $20",
1725
+ fontSize: "$18",
1726
+ "&:not(:first-child)": {
1727
+ borderLeft: "none"
1728
+ },
1729
+ "&:first-child": {
1730
+ borderTopLeftRadius: "$lg",
1731
+ borderBottomLeftRadius: "$lg"
1732
+ },
1733
+ "&:last-child": {
1734
+ borderTopRightRadius: "$lg",
1735
+ borderBottomRightRadius: "$lg"
1736
+ }
1737
+ }
1738
+ }
1739
+ }
1740
+ },
1741
+ defaultVariants: {
1742
+ variant: "primary",
1743
+ size: "md"
1744
+ }
1745
+ });
1746
+ function ButtonItem(_a) {
1747
+ var _b = _a, { children, active } = _b, props = __objRest(_b, ["children", "active"]);
1748
+ return /* @__PURE__ */ jsx3(ButtonItemStyled, __spreadProps(__spreadValues({ className: active ? "active" : "" }, props), { children }));
1749
+ }
1750
+ function ButtonGroup(_a) {
1751
+ var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
1752
+ return /* @__PURE__ */ jsx3(ButtonGroupStyled, __spreadProps(__spreadValues({}, props), { children }));
1753
+ }
1754
+
1755
+ // src/components/Avatar.tsx
1756
+ import { Avatar as AvatarRadix } from "@radix-ui/themes";
1757
+ import { jsx as jsx4 } from "react/jsx-runtime";
1758
+ var AvatarStyled = styled(AvatarRadix, {
1759
+ fontFamily: "$default",
1760
+ color: "$gray100",
1761
+ letterSpacing: "0px",
1762
+ variants: {
1763
+ size: {
1764
+ "xs": { width: "$24", height: "$24", display: "flex", alignItems: "center", justifyContent: "center", fontSize: "$10" },
1765
+ "sm": { width: "$32", height: "$32", display: "flex", alignItems: "center", justifyContent: "center", fontSize: "$14" },
1766
+ "md": { width: "$40", height: "$40", display: "flex", alignItems: "center", justifyContent: "center", fontSize: "$16" },
1767
+ "lg": { width: "$48", height: "$48", display: "flex", alignItems: "center", justifyContent: "center", fontSize: "$18" },
1768
+ "xl": { width: "$64", height: "$64", display: "flex", alignItems: "center", justifyContent: "center", fontSize: "$24" }
1769
+ },
1770
+ radii: {
1771
+ full: { borderRadius: "$full" }
1772
+ },
1773
+ variant: {
1774
+ "without-image": {
1775
+ border: "1px solid $brand500",
1776
+ backgroundColor: "$dark50",
1777
+ color: "$dark700",
1778
+ fontStyle: "normal",
1779
+ fontWeight: 500,
1780
+ lineHeight: "normal",
1781
+ textTransform: "uppercase"
1782
+ },
1783
+ "with-image": {
1784
+ border: 0,
1785
+ "img": {
1786
+ width: "100%",
1787
+ height: "100%",
1788
+ objectFit: "cover",
1789
+ borderRadius: "$full"
1790
+ }
1791
+ }
1792
+ }
1793
+ },
1794
+ defaultVariants: {
1795
+ size: "md",
1796
+ radii: "full",
1797
+ variant: "without-image"
1798
+ }
1799
+ });
1800
+ function Avatar(_a) {
1801
+ var _b = _a, { asChild } = _b, props = __objRest(_b, ["asChild"]);
1802
+ return /* @__PURE__ */ jsx4(AvatarStyled, __spreadValues({ as: AvatarRadix }, props));
1803
+ }
1804
+
1805
+ // src/components/Flex.tsx
1806
+ import { Flex as FlexRadix } from "@radix-ui/themes";
1807
+ var Flex2 = styled(FlexRadix, {
1808
+ display: "flex",
1809
+ variants: {
1810
+ direction: {
1811
+ row: { flexDirection: "row" },
1812
+ column: { flexDirection: "column" },
1813
+ "row-reverse": { flexDirection: "row-reverse" },
1814
+ "column-reverse": { flexDirection: "column-reverse" }
1815
+ },
1816
+ gap: {
1817
+ 2: { gap: "$2" },
1818
+ 4: { gap: "$4" },
1819
+ 6: { gap: "$6" },
1820
+ 8: { gap: "$8" },
1821
+ 10: { gap: "$10" },
1822
+ 12: { gap: "$12" },
1823
+ 14: { gap: "$14" },
1824
+ 16: { gap: "$16" },
1825
+ 20: { gap: "$20" },
1826
+ 22: { gap: "$22" },
1827
+ 24: { gap: "$24" },
1828
+ 32: { gap: "$32" },
1829
+ 36: { gap: "$36" },
1830
+ 40: { gap: "$40" },
1831
+ 48: { gap: "$48" },
1832
+ 56: { gap: "$56" },
1833
+ 64: { gap: "$64" },
1834
+ 72: { gap: "$72" },
1835
+ 80: { gap: "$80" },
1836
+ full: { gap: "$full" }
1837
+ }
1838
+ },
1839
+ defaultVariants: {
1840
+ direction: "row",
1841
+ gap: 10
1842
+ }
1843
+ });
1844
+
1845
+ // src/components/Box.tsx
1846
+ import { Box as BoxRadix } from "@radix-ui/themes";
1847
+ var Box = BoxRadix;
1848
+
1849
+ // src/components/TextField.tsx
1850
+ import { TextField as TextFieldRadix } from "@radix-ui/themes";
1851
+ import { Fragment, jsx as jsx5, jsxs } from "react/jsx-runtime";
1852
+ var TextFieldStyled = styled(TextFieldRadix.Root, {
1853
+ height: "$40",
1854
+ fontFamily: "$default",
1855
+ letterSpacing: "0px",
1856
+ fontSize: "$13",
1857
+ padding: "$12 $14",
1858
+ borderRadius: "$sm",
1859
+ boxSizing: "border-box",
1860
+ color: "$dark500",
1861
+ border: "1px solid $dark300",
1862
+ position: "relative",
1863
+ display: "flex",
1864
+ "input": {
1865
+ order: 1,
1866
+ border: "none",
1867
+ outline: "none",
1868
+ padding: 0,
1869
+ margin: 0,
1870
+ width: "100%"
1871
+ },
1872
+ "&:has(input:focus)": {
1873
+ border: "2px solid $brand300"
1874
+ },
1875
+ "&:has(input:disabled)": {
1876
+ backgroundColor: "$dark100",
1877
+ color: "$dark400",
1878
+ border: "1px solid $dark200",
1879
+ cursor: "not-allowed"
1880
+ },
1881
+ variants: {
1882
+ isValid: {
1883
+ true: {},
1884
+ false: {
1885
+ border: "1px solid $error400",
1886
+ color: "$error400",
1887
+ backgroundColor: "$error50"
1888
+ }
1889
+ }
1890
+ },
1891
+ compoundVariants: [
1892
+ {
1893
+ isValid: false,
1894
+ css: {
1895
+ border: "1px solid $error400",
1896
+ color: "$error400",
1897
+ backgroundColor: "$error50",
1898
+ "input": {
1899
+ "&::placeholder": {
1900
+ color: "$error400"
1901
+ },
1902
+ backgroundColor: "$error50"
1903
+ },
1904
+ "&:has(input:focus)": {
1905
+ border: "2px solid $error400"
1906
+ },
1907
+ "&:has(input:disabled)": {
1908
+ "input": {
1909
+ backgroundColor: "$error50"
1910
+ },
1911
+ backgroundColor: "$error50",
1912
+ color: "$error300",
1913
+ border: "1px solid $error100",
1914
+ cursor: "not-allowed"
1915
+ }
1916
+ }
1917
+ },
1918
+ {
1919
+ isValid: true,
1920
+ css: {
1921
+ "&:has(input:focus)": {
1922
+ border: "2px solid $success500"
1923
+ },
1924
+ "&:has(input:disabled)": {
1925
+ backgroundColor: "$dark100",
1926
+ color: "$dark400",
1927
+ border: "1px solid $dark200",
1928
+ cursor: "not-allowed"
1929
+ }
1930
+ }
1931
+ }
1932
+ ]
1933
+ });
1934
+ var TextFieldSlotStyled = styled(TextFieldRadix.Slot, {
1935
+ display: "flex",
1936
+ alignItems: "center",
1937
+ justifyContent: "center"
1938
+ });
1939
+ function TextField(_a) {
1940
+ var _b = _a, {
1941
+ children,
1942
+ isValid,
1943
+ name
1944
+ } = _b, props = __objRest(_b, [
1945
+ "children",
1946
+ "isValid",
1947
+ "name"
1948
+ ]);
1949
+ return /* @__PURE__ */ jsxs(TextFieldStyled, __spreadProps(__spreadValues({ isValid, name }, props), { children: [
1950
+ children,
1951
+ isValid && /* @__PURE__ */ jsx5(TextFieldSlot, { position: "flex-end", name, children: /* @__PURE__ */ jsx5(Icon_default, { name: "check" }) })
1952
+ ] }));
1953
+ }
1954
+ function TextFieldSlot(_a) {
1955
+ var _b = _a, {
1956
+ children,
1957
+ position = "flex-start",
1958
+ onClick
1959
+ } = _b, props = __objRest(_b, [
1960
+ "children",
1961
+ "position",
1962
+ "onClick"
1963
+ ]);
1964
+ console.log("onclick", onClick);
1965
+ return /* @__PURE__ */ jsx5(Fragment, { children: !!onClick ? /* @__PURE__ */ jsx5(TextFieldSlotStyled, __spreadProps(__spreadValues({}, props), { style: {
1966
+ position: "absolute",
1967
+ left: position === "flex-end" ? "none" : 15,
1968
+ right: position === "flex-start" ? "none" : 15,
1969
+ padding: 13,
1970
+ zIndex: 2,
1971
+ top: 0,
1972
+ cursor: "pointer"
1973
+ }, onClick: () => onClick(), children })) : /* @__PURE__ */ jsx5(TextFieldSlotStyled, __spreadProps(__spreadValues({}, props), { style: {
1974
+ float: position === "flex-start" ? "left" : "right",
1975
+ order: position === "flex-start" ? 0 : 2,
1976
+ marginLeft: position === "flex-start" ? 0 : 15,
1977
+ marginRight: position === "flex-end" ? 0 : 15
1978
+ }, children })) });
1979
+ }
1980
+
1981
+ // src/components/RadioGroup.tsx
1982
+ import { RadioGroup as RadioGroupRadix } from "@radix-ui/themes";
1983
+ import { jsx as jsx6 } from "react/jsx-runtime";
1984
+ var RadioGroupStyled = styled(RadioGroupRadix.Root, {
1985
+ fontFamily: "$default",
1986
+ letterSpacing: "0px",
1987
+ fontSize: "$13",
1988
+ "label": {
1989
+ display: "flex",
1990
+ alignItems: "center",
1991
+ gap: "$8",
1992
+ cursor: "pointer",
1993
+ "&:focus button, &:hover button": {
1994
+ transition: "all 300ms ease-out",
1995
+ boxShadow: "0px 0px 0px 4px rgba(56, 129, 255, 0.50)"
1996
+ }
1997
+ },
1998
+ "label button": {
1999
+ backgroundColor: "$white",
2000
+ borderRadius: "$full",
2001
+ height: "$16",
2002
+ width: "$16",
2003
+ position: "relative",
2004
+ border: "2px solid $dark300",
2005
+ cursor: "pointer"
2006
+ },
2007
+ "label button[data-state=checked]:before": {
2008
+ backgroundColor: "$dark50",
2009
+ content: "",
2010
+ width: "8px",
2011
+ height: "8px",
2012
+ position: "absolute",
2013
+ top: "2px",
2014
+ right: "2px",
2015
+ borderRadius: "$full",
2016
+ zIndex: 2
2017
+ },
2018
+ "label button[data-state=checked]:after": {
2019
+ backgroundColor: "$brand500",
2020
+ content: "",
2021
+ height: "$16",
2022
+ width: "$16",
2023
+ position: "absolute",
2024
+ top: "-2px",
2025
+ right: "-2px",
2026
+ borderRadius: "$full",
2027
+ zIndex: 1
2028
+ },
2029
+ variants: {
2030
+ isValid: {
2031
+ true: {
2032
+ "label": {
2033
+ "&:focus button, &:hover button": {
2034
+ boxShadow: "0px 0px 0px 4px rgba(38, 167, 67, 0.50)"
2035
+ }
2036
+ },
2037
+ "label button": {
2038
+ borderColor: "$green500",
2039
+ backgroundColor: "$dark50"
2040
+ },
2041
+ "label button[data-state=checked]:after": {
2042
+ backgroundColor: "$green500"
2043
+ }
2044
+ },
2045
+ false: {
2046
+ "label": {
2047
+ "&:focus button, &:hover button": {
2048
+ boxShadow: "0px 0px 0px 4px rgba(225, 86, 98, 0.50)"
2049
+ }
2050
+ },
2051
+ "label button": {
2052
+ borderColor: "$error400",
2053
+ backgroundColor: "$dark50"
2054
+ },
2055
+ "label button[data-state=checked]:after": {
2056
+ backgroundColor: "$error600"
2057
+ }
2058
+ }
2059
+ },
2060
+ disabled: {
2061
+ true: {
2062
+ "label": {
2063
+ cursor: "not-allowed",
2064
+ opacity: 0.5,
2065
+ "&:focus button, &:hover button": {
2066
+ boxShadow: "none"
2067
+ }
2068
+ },
2069
+ "label button": {
2070
+ cursor: "not-allowed"
2071
+ }
2072
+ },
2073
+ false: {}
2074
+ }
2075
+ },
2076
+ compoundVariants: [
2077
+ {
2078
+ isValid: void 0,
2079
+ disabled: false,
2080
+ css: {
2081
+ "label": {
2082
+ "&:focus button, &:hover button": {
2083
+ boxShadow: "0px 0px 0px 4px rgba(56, 129, 255, 0.50)"
2084
+ }
2085
+ },
2086
+ "label button": {
2087
+ borderColor: "$dark300"
2088
+ },
2089
+ "label button[data-state=checked]:after": {
2090
+ backgroundColor: "$brand500"
2091
+ }
2092
+ }
2093
+ },
2094
+ {
2095
+ isValid: void 0,
2096
+ disabled: true,
2097
+ css: {
2098
+ "label button": {
2099
+ borderColor: "$brand100",
2100
+ backgroundColor: "$dark50"
2101
+ },
2102
+ "label button[data-state=checked]:after": {
2103
+ backgroundColor: "$brand100"
2104
+ }
2105
+ }
2106
+ },
2107
+ {
2108
+ isValid: true,
2109
+ disabled: true,
2110
+ css: {
2111
+ "label button": {
2112
+ borderColor: "$success100",
2113
+ backgroundColor: "$dark50"
2114
+ },
2115
+ "label button[data-state=checked]:after": {
2116
+ backgroundColor: "$success100"
2117
+ }
2118
+ }
2119
+ },
2120
+ {
2121
+ isValid: false,
2122
+ disabled: true,
2123
+ css: {
2124
+ "label button": {
2125
+ borderColor: "$error100",
2126
+ backgroundColor: "$dark50"
2127
+ },
2128
+ "label button[data-state=checked]:after": {
2129
+ backgroundColor: "$error100"
2130
+ }
2131
+ }
2132
+ }
2133
+ ]
2134
+ });
2135
+ function RadioGroup(_a) {
2136
+ var _b = _a, {
2137
+ children,
2138
+ isValid,
2139
+ disabled
2140
+ } = _b, props = __objRest(_b, [
2141
+ "children",
2142
+ "isValid",
2143
+ "disabled"
2144
+ ]);
2145
+ return /* @__PURE__ */ jsx6(
2146
+ RadioGroupStyled,
2147
+ __spreadProps(__spreadValues({
2148
+ disabled,
2149
+ isValid
2150
+ }, props), {
2151
+ children
2152
+ })
2153
+ );
2154
+ }
2155
+ function RadioItem(_a) {
2156
+ var _b = _a, {
2157
+ children
2158
+ } = _b, props = __objRest(_b, [
2159
+ "children"
2160
+ ]);
2161
+ return /* @__PURE__ */ jsx6(RadioGroupRadix.Item, __spreadProps(__spreadValues({}, props), { children }));
2162
+ }
2163
+
2164
+ // src/components/CheckboxGroup.tsx
2165
+ import { CheckboxGroup as CheckboxGroupRadix } from "@radix-ui/themes";
2166
+ import { jsx as jsx7 } from "react/jsx-runtime";
2167
+ var CheckboxGroupStyled = styled(CheckboxGroupRadix.Root, {
2168
+ fontFamily: "$default",
2169
+ letterSpacing: "0px",
2170
+ fontSize: "$13",
2171
+ "svg": {
2172
+ display: "none"
2173
+ },
2174
+ "label": {
2175
+ display: "flex",
2176
+ alignItems: "center",
2177
+ gap: "$8",
2178
+ cursor: "pointer",
2179
+ "&:focus button, &:hover button": {
2180
+ transition: "all 300ms ease-out",
2181
+ boxShadow: "0px 0px 0px 4px rgba(56, 129, 255, 0.50)"
2182
+ }
2183
+ },
2184
+ "label button": {
2185
+ backgroundColor: "$white",
2186
+ borderRadius: "2px",
2187
+ height: "$16",
2188
+ width: "$16",
2189
+ position: "relative",
2190
+ border: "2px solid $dark300",
2191
+ cursor: "pointer"
2192
+ },
2193
+ "label button[data-state=checked]:before": {
2194
+ backgroundColor: "$dark50",
2195
+ content: "",
2196
+ width: "8px",
2197
+ height: "8px",
2198
+ position: "absolute",
2199
+ top: "2px",
2200
+ right: "2px",
2201
+ zIndex: 2
2202
+ },
2203
+ "label button[data-state=checked]:after": {
2204
+ backgroundColor: "$brand500",
2205
+ content: "",
2206
+ height: "$16",
2207
+ width: "$16",
2208
+ position: "absolute",
2209
+ top: "-2px",
2210
+ right: "-2px",
2211
+ borderRadius: "2px",
2212
+ zIndex: 1
2213
+ },
2214
+ variants: {
2215
+ isValid: {
2216
+ true: {
2217
+ "label": {
2218
+ "&:focus button, &:hover button": {
2219
+ boxShadow: "0px 0px 0px 4px rgba(38, 167, 67, 0.50)"
2220
+ }
2221
+ },
2222
+ "label button": {
2223
+ borderColor: "$green500",
2224
+ backgroundColor: "$dark50"
2225
+ },
2226
+ "label button[data-state=checked]:after": {
2227
+ backgroundColor: "$green500"
2228
+ }
2229
+ },
2230
+ false: {
2231
+ "label": {
2232
+ "&:focus button, &:hover button": {
2233
+ boxShadow: "0px 0px 0px 4px rgba(225, 86, 98, 0.50)"
2234
+ }
2235
+ },
2236
+ "label button": {
2237
+ borderColor: "$error400",
2238
+ backgroundColor: "$dark50"
2239
+ },
2240
+ "label button[data-state=checked]:after": {
2241
+ backgroundColor: "$error600"
2242
+ }
2243
+ }
2244
+ },
2245
+ disabled: {
2246
+ true: {
2247
+ "label": {
2248
+ cursor: "not-allowed",
2249
+ opacity: 0.5,
2250
+ "&:focus button, &:hover button": {
2251
+ boxShadow: "none"
2252
+ }
2253
+ },
2254
+ "label button": {
2255
+ cursor: "not-allowed"
2256
+ }
2257
+ },
2258
+ false: {}
2259
+ }
2260
+ },
2261
+ compoundVariants: [
2262
+ {
2263
+ isValid: void 0,
2264
+ disabled: false,
2265
+ css: {
2266
+ "label": {
2267
+ "&:focus button, &:hover button": {
2268
+ boxShadow: "0px 0px 0px 4px rgba(56, 129, 255, 0.50)"
2269
+ }
2270
+ },
2271
+ "label button": {
2272
+ borderColor: "$dark300"
2273
+ },
2274
+ "label button[data-state=checked]:after": {
2275
+ backgroundColor: "$brand500"
2276
+ }
2277
+ }
2278
+ },
2279
+ {
2280
+ isValid: void 0,
2281
+ disabled: true,
2282
+ css: {
2283
+ "label button": {
2284
+ borderColor: "$brand100",
2285
+ backgroundColor: "$dark50"
2286
+ },
2287
+ "label button[data-state=checked]:after": {
2288
+ backgroundColor: "$brand100"
2289
+ }
2290
+ }
2291
+ },
2292
+ {
2293
+ isValid: true,
2294
+ disabled: true,
2295
+ css: {
2296
+ "label button": {
2297
+ borderColor: "$success100",
2298
+ backgroundColor: "$dark50"
2299
+ },
2300
+ "label button[data-state=checked]:after": {
2301
+ backgroundColor: "$success100"
2302
+ }
2303
+ }
2304
+ },
2305
+ {
2306
+ isValid: false,
2307
+ disabled: true,
2308
+ css: {
2309
+ "label button": {
2310
+ borderColor: "$error100",
2311
+ backgroundColor: "$dark50"
2312
+ },
2313
+ "label button[data-state=checked]:after": {
2314
+ backgroundColor: "$error100"
2315
+ }
2316
+ }
2317
+ }
2318
+ ]
2319
+ });
2320
+ function CheckboxGroup(_a) {
2321
+ var _b = _a, {
2322
+ children
2323
+ } = _b, props = __objRest(_b, [
2324
+ "children"
2325
+ ]);
2326
+ return /* @__PURE__ */ jsx7(CheckboxGroupStyled, __spreadProps(__spreadValues({}, props), { children }));
2327
+ }
2328
+ function CheckboxItem(_a) {
2329
+ var _b = _a, {
2330
+ children
2331
+ } = _b, props = __objRest(_b, [
2332
+ "children"
2333
+ ]);
2334
+ return /* @__PURE__ */ jsx7(CheckboxGroupRadix.Item, __spreadProps(__spreadValues({}, props), { children }));
2335
+ }
2336
+
2337
+ // src/components/Filter.tsx
2338
+ import { Theme, DropdownMenu } from "@radix-ui/themes";
2339
+ import { jsx as jsx8, jsxs as jsxs2 } from "react/jsx-runtime";
2340
+ var FilterStyled = styled("div", {
2341
+ fontFamily: "$default",
2342
+ color: "$dark600",
2343
+ letterSpacing: "0px",
2344
+ cursor: "pointer",
2345
+ border: "1px solid $dark300",
2346
+ borderRadius: "$xs",
2347
+ padding: "$8 $12",
2348
+ width: "calc(100% - 24px)",
2349
+ display: "flex",
2350
+ "button": {
2351
+ fontFamily: "$default",
2352
+ color: "$dark600",
2353
+ letterSpacing: "0px",
2354
+ backgroundColor: "transparent",
2355
+ border: "none",
2356
+ width: "100%",
2357
+ outline: "none",
2358
+ display: "flex",
2359
+ alignItems: "center",
2360
+ gap: "$8",
2361
+ cursor: "pointer",
2362
+ "svg:last-child": {
2363
+ marginLeft: "auto"
2364
+ }
2365
+ }
2366
+ });
2367
+ var FilterContentStyled = styled(DropdownMenu.Content, {
2368
+ background: "white",
2369
+ padding: "$8 $12",
2370
+ border: "1px solid $dark300",
2371
+ borderRadius: "$xs",
2372
+ boxShadow: "0px 4px 4px 0px rgba(35, 53, 67, 0.08)",
2373
+ width: "calc(var(--radix-popper-anchor-width) - 24px);",
2374
+ minWidth: "100%",
2375
+ marginTop: "3px"
2376
+ });
2377
+ function Filter(_a) {
2378
+ var _b = _a, {
2379
+ children,
2380
+ placeholder
2381
+ } = _b, props = __objRest(_b, [
2382
+ "children",
2383
+ "placeholder"
2384
+ ]);
2385
+ return /* @__PURE__ */ jsx8(Theme, { children: /* @__PURE__ */ jsx8(DropdownMenu.Root, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ jsxs2(FilterStyled, { children: [
2386
+ /* @__PURE__ */ jsx8(DropdownMenu.Trigger, { children: /* @__PURE__ */ jsxs2("button", { "aria-label": placeholder || "Fitrar", children: [
2387
+ /* @__PURE__ */ jsx8(Icon, { name: "filter" }),
2388
+ /* @__PURE__ */ jsx8("span", { children: placeholder || "Fitrar" }),
2389
+ /* @__PURE__ */ jsx8(DropdownMenu.TriggerIcon, {})
2390
+ ] }) }),
2391
+ /* @__PURE__ */ jsx8(
2392
+ FilterContentStyled,
2393
+ {
2394
+ avoidCollisions: false,
2395
+ align: "start",
2396
+ alignOffset: -14,
2397
+ children: /* @__PURE__ */ jsx8(CheckboxGroup, { children })
2398
+ }
2399
+ )
2400
+ ] }) })) });
2401
+ }
2402
+ function FilterItem(_a) {
2403
+ var _b = _a, {
2404
+ children
2405
+ } = _b, props = __objRest(_b, [
2406
+ "children"
2407
+ ]);
2408
+ return /* @__PURE__ */ jsx8(CheckboxItem, __spreadProps(__spreadValues({}, props), { style: { padding: "8px 12px" }, children }));
2409
+ }
2410
+
2411
+ // src/components/Dropdown.tsx
2412
+ import { Theme as Theme2, DropdownMenu as DropdownMenuRadix } from "@radix-ui/themes";
2413
+ import { jsx as jsx9, jsxs as jsxs3 } from "react/jsx-runtime";
2414
+ var DropdownMenuStyled = styled("div", {
2415
+ fontFamily: "$default",
2416
+ color: "$dark600",
2417
+ letterSpacing: "0px",
2418
+ cursor: "pointer",
2419
+ border: "1px solid $dark300",
2420
+ borderRadius: "$xs",
2421
+ padding: "$8 $12",
2422
+ width: "calc(100% - 24px)",
2423
+ display: "flex",
2424
+ "button": {
2425
+ fontFamily: "$default",
2426
+ color: "$dark600",
2427
+ letterSpacing: "0px",
2428
+ backgroundColor: "transparent",
2429
+ border: "none",
2430
+ width: "100%",
2431
+ outline: "none",
2432
+ display: "flex",
2433
+ alignItems: "center",
2434
+ gap: "$8",
2435
+ cursor: "pointer",
2436
+ "svg": {
2437
+ marginLeft: "auto"
2438
+ }
2439
+ }
2440
+ });
2441
+ var DropdownMenuContentStyled = styled(DropdownMenuRadix.Content, {
2442
+ background: "white",
2443
+ padding: "$8 $12",
2444
+ border: "1px solid $dark300",
2445
+ borderRadius: "$xs",
2446
+ boxShadow: "0px 4px 4px 0px rgba(35, 53, 67, 0.08)",
2447
+ width: "calc(var(--radix-popper-anchor-width) - 24px);",
2448
+ minWidth: "100%",
2449
+ marginTop: "3px"
2450
+ });
2451
+ var DropdownMenuItemStyled = styled(DropdownMenuRadix.Item, {
2452
+ fontFamily: "$default",
2453
+ color: "$dark600",
2454
+ letterSpacing: "0px",
2455
+ padding: "$8 $12",
2456
+ "&:hover, &:focus": {
2457
+ backgroundColor: "transparent",
2458
+ border: "none",
2459
+ outline: "none",
2460
+ cursor: "pointer"
2461
+ }
2462
+ });
2463
+ function DropdownMenu2(_a) {
2464
+ var _b = _a, {
2465
+ children,
2466
+ placeholder
2467
+ } = _b, props = __objRest(_b, [
2468
+ "children",
2469
+ "placeholder"
2470
+ ]);
2471
+ return /* @__PURE__ */ jsx9(Theme2, { children: /* @__PURE__ */ jsx9(DropdownMenuRadix.Root, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ jsxs3(DropdownMenuStyled, { children: [
2472
+ /* @__PURE__ */ jsx9(DropdownMenuRadix.Trigger, { children: /* @__PURE__ */ jsxs3("button", { "aria-label": placeholder || "Fitrar", children: [
2473
+ /* @__PURE__ */ jsx9("span", { children: placeholder || "Fitrar" }),
2474
+ /* @__PURE__ */ jsx9(DropdownMenuRadix.TriggerIcon, {})
2475
+ ] }) }),
2476
+ /* @__PURE__ */ jsx9(
2477
+ DropdownMenuContentStyled,
2478
+ {
2479
+ avoidCollisions: false,
2480
+ align: "start",
2481
+ alignOffset: -14,
2482
+ children: /* @__PURE__ */ jsx9(DropdownMenuRadix.Group, { children })
2483
+ }
2484
+ )
2485
+ ] }) })) });
2486
+ }
2487
+ function DropdownMenuItem(_a) {
2488
+ var _b = _a, {
2489
+ children
2490
+ } = _b, props = __objRest(_b, [
2491
+ "children"
2492
+ ]);
2493
+ return /* @__PURE__ */ jsx9(DropdownMenuItemStyled, __spreadProps(__spreadValues({}, props), { children }));
2494
+ }
259
2495
  export {
260
- Text
2496
+ Avatar,
2497
+ AvatarStyled,
2498
+ BadgeText,
2499
+ BodyText,
2500
+ Box,
2501
+ Button,
2502
+ ButtonGroup,
2503
+ ButtonGroupStyled,
2504
+ ButtonItem,
2505
+ ButtonItemStyled,
2506
+ ButtonStyled,
2507
+ CaptionText,
2508
+ CheckboxGroup,
2509
+ CheckboxGroupStyled,
2510
+ CheckboxItem,
2511
+ DisplayText,
2512
+ DropdownMenu2 as DropdownMenu,
2513
+ DropdownMenuItem,
2514
+ Filter,
2515
+ FilterItem,
2516
+ Flex2 as Flex,
2517
+ Headline,
2518
+ Icon,
2519
+ Label,
2520
+ RadioGroup,
2521
+ RadioGroupStyled,
2522
+ RadioItem,
2523
+ Subtitle,
2524
+ Text,
2525
+ TextField,
2526
+ TextFieldSlot,
2527
+ TextFieldSlotStyled,
2528
+ TextFieldStyled,
2529
+ TooltipText
261
2530
  };
2531
+ /*! Bundled license information:
2532
+
2533
+ react-is/cjs/react-is.production.min.js:
2534
+ (** @license React v16.13.1
2535
+ * react-is.production.min.js
2536
+ *
2537
+ * Copyright (c) Facebook, Inc. and its affiliates.
2538
+ *
2539
+ * This source code is licensed under the MIT license found in the
2540
+ * LICENSE file in the root directory of this source tree.
2541
+ *)
2542
+
2543
+ react-is/cjs/react-is.development.js:
2544
+ (** @license React v16.13.1
2545
+ * react-is.development.js
2546
+ *
2547
+ * Copyright (c) Facebook, Inc. and its affiliates.
2548
+ *
2549
+ * This source code is licensed under the MIT license found in the
2550
+ * LICENSE file in the root directory of this source tree.
2551
+ *)
2552
+
2553
+ object-assign/index.js:
2554
+ (*
2555
+ object-assign
2556
+ (c) Sindre Sorhus
2557
+ @license MIT
2558
+ *)
2559
+ */