@sproutsocial/seeds-react-radio 1.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 ADDED
@@ -0,0 +1,4651 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8
+ var __esm = (fn, res) => function __init() {
9
+ return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
10
+ };
11
+ var __commonJS = (cb, mod) => function __require() {
12
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
13
+ };
14
+ var __export = (target, all) => {
15
+ for (var name in all)
16
+ __defProp(target, name, { get: all[name], enumerable: true });
17
+ };
18
+ var __copyProps = (to, from, except, desc) => {
19
+ if (from && typeof from === "object" || typeof from === "function") {
20
+ for (let key of __getOwnPropNames(from))
21
+ if (!__hasOwnProp.call(to, key) && key !== except)
22
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
23
+ }
24
+ return to;
25
+ };
26
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
27
+ // If the importer is in node compatibility mode or this is not an ESM
28
+ // file that has been converted to a CommonJS file using a Babel-
29
+ // compatible transform (i.e. "__esModule" has not been set), then set
30
+ // "default" to the CommonJS "module.exports" for node compatibility.
31
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
32
+ mod
33
+ ));
34
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
35
+ var __publicField = (obj, key, value) => {
36
+ __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
37
+ return value;
38
+ };
39
+
40
+ // ../../node_modules/polished/node_modules/@babel/runtime/helpers/esm/extends.js
41
+ function _extends() {
42
+ _extends = Object.assign ? Object.assign.bind() : function(target) {
43
+ for (var i = 1; i < arguments.length; i++) {
44
+ var source = arguments[i];
45
+ for (var key in source) {
46
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
47
+ target[key] = source[key];
48
+ }
49
+ }
50
+ }
51
+ return target;
52
+ };
53
+ return _extends.apply(this, arguments);
54
+ }
55
+ var init_extends = __esm({
56
+ "../../node_modules/polished/node_modules/@babel/runtime/helpers/esm/extends.js"() {
57
+ "use strict";
58
+ }
59
+ });
60
+
61
+ // ../../node_modules/polished/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
62
+ function _assertThisInitialized(self) {
63
+ if (self === void 0) {
64
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
65
+ }
66
+ return self;
67
+ }
68
+ var init_assertThisInitialized = __esm({
69
+ "../../node_modules/polished/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js"() {
70
+ "use strict";
71
+ }
72
+ });
73
+
74
+ // ../../node_modules/polished/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
75
+ function _setPrototypeOf(o, p) {
76
+ _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o2, p2) {
77
+ o2.__proto__ = p2;
78
+ return o2;
79
+ };
80
+ return _setPrototypeOf(o, p);
81
+ }
82
+ var init_setPrototypeOf = __esm({
83
+ "../../node_modules/polished/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"() {
84
+ "use strict";
85
+ }
86
+ });
87
+
88
+ // ../../node_modules/polished/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js
89
+ function _inheritsLoose(subClass, superClass) {
90
+ subClass.prototype = Object.create(superClass.prototype);
91
+ subClass.prototype.constructor = subClass;
92
+ _setPrototypeOf(subClass, superClass);
93
+ }
94
+ var init_inheritsLoose = __esm({
95
+ "../../node_modules/polished/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js"() {
96
+ "use strict";
97
+ init_setPrototypeOf();
98
+ }
99
+ });
100
+
101
+ // ../../node_modules/polished/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
102
+ function _getPrototypeOf(o) {
103
+ _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf2(o2) {
104
+ return o2.__proto__ || Object.getPrototypeOf(o2);
105
+ };
106
+ return _getPrototypeOf(o);
107
+ }
108
+ var init_getPrototypeOf = __esm({
109
+ "../../node_modules/polished/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js"() {
110
+ "use strict";
111
+ }
112
+ });
113
+
114
+ // ../../node_modules/polished/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js
115
+ function _isNativeFunction(fn) {
116
+ return Function.toString.call(fn).indexOf("[native code]") !== -1;
117
+ }
118
+ var init_isNativeFunction = __esm({
119
+ "../../node_modules/polished/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js"() {
120
+ "use strict";
121
+ }
122
+ });
123
+
124
+ // ../../node_modules/polished/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js
125
+ function _isNativeReflectConstruct() {
126
+ if (typeof Reflect === "undefined" || !Reflect.construct)
127
+ return false;
128
+ if (Reflect.construct.sham)
129
+ return false;
130
+ if (typeof Proxy === "function")
131
+ return true;
132
+ try {
133
+ Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
134
+ }));
135
+ return true;
136
+ } catch (e) {
137
+ return false;
138
+ }
139
+ }
140
+ var init_isNativeReflectConstruct = __esm({
141
+ "../../node_modules/polished/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js"() {
142
+ "use strict";
143
+ }
144
+ });
145
+
146
+ // ../../node_modules/polished/node_modules/@babel/runtime/helpers/esm/construct.js
147
+ function _construct(Parent, args, Class) {
148
+ if (_isNativeReflectConstruct()) {
149
+ _construct = Reflect.construct.bind();
150
+ } else {
151
+ _construct = function _construct2(Parent2, args2, Class2) {
152
+ var a = [null];
153
+ a.push.apply(a, args2);
154
+ var Constructor = Function.bind.apply(Parent2, a);
155
+ var instance = new Constructor();
156
+ if (Class2)
157
+ _setPrototypeOf(instance, Class2.prototype);
158
+ return instance;
159
+ };
160
+ }
161
+ return _construct.apply(null, arguments);
162
+ }
163
+ var init_construct = __esm({
164
+ "../../node_modules/polished/node_modules/@babel/runtime/helpers/esm/construct.js"() {
165
+ "use strict";
166
+ init_setPrototypeOf();
167
+ init_isNativeReflectConstruct();
168
+ }
169
+ });
170
+
171
+ // ../../node_modules/polished/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js
172
+ function _wrapNativeSuper(Class) {
173
+ var _cache = typeof Map === "function" ? /* @__PURE__ */ new Map() : void 0;
174
+ _wrapNativeSuper = function _wrapNativeSuper2(Class2) {
175
+ if (Class2 === null || !_isNativeFunction(Class2))
176
+ return Class2;
177
+ if (typeof Class2 !== "function") {
178
+ throw new TypeError("Super expression must either be null or a function");
179
+ }
180
+ if (typeof _cache !== "undefined") {
181
+ if (_cache.has(Class2))
182
+ return _cache.get(Class2);
183
+ _cache.set(Class2, Wrapper);
184
+ }
185
+ function Wrapper() {
186
+ return _construct(Class2, arguments, _getPrototypeOf(this).constructor);
187
+ }
188
+ Wrapper.prototype = Object.create(Class2.prototype, {
189
+ constructor: {
190
+ value: Wrapper,
191
+ enumerable: false,
192
+ writable: true,
193
+ configurable: true
194
+ }
195
+ });
196
+ return _setPrototypeOf(Wrapper, Class2);
197
+ };
198
+ return _wrapNativeSuper(Class);
199
+ }
200
+ var init_wrapNativeSuper = __esm({
201
+ "../../node_modules/polished/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js"() {
202
+ "use strict";
203
+ init_getPrototypeOf();
204
+ init_setPrototypeOf();
205
+ init_isNativeFunction();
206
+ init_construct();
207
+ }
208
+ });
209
+
210
+ // ../../node_modules/polished/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js
211
+ function _taggedTemplateLiteralLoose(strings, raw) {
212
+ if (!raw) {
213
+ raw = strings.slice(0);
214
+ }
215
+ strings.raw = raw;
216
+ return strings;
217
+ }
218
+ var init_taggedTemplateLiteralLoose = __esm({
219
+ "../../node_modules/polished/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js"() {
220
+ "use strict";
221
+ }
222
+ });
223
+
224
+ // ../../node_modules/polished/dist/polished.esm.js
225
+ var polished_esm_exports = {};
226
+ __export(polished_esm_exports, {
227
+ adjustHue: () => curriedAdjustHue,
228
+ animation: () => animation,
229
+ backgroundImages: () => backgroundImages,
230
+ backgrounds: () => backgrounds,
231
+ between: () => between,
232
+ border: () => border,
233
+ borderColor: () => borderColor,
234
+ borderRadius: () => borderRadius,
235
+ borderStyle: () => borderStyle,
236
+ borderWidth: () => borderWidth,
237
+ buttons: () => buttons,
238
+ clearFix: () => clearFix,
239
+ complement: () => complement,
240
+ cover: () => cover,
241
+ cssVar: () => cssVar,
242
+ darken: () => curriedDarken,
243
+ desaturate: () => curriedDesaturate,
244
+ directionalProperty: () => directionalProperty,
245
+ ellipsis: () => ellipsis,
246
+ em: () => em,
247
+ fluidRange: () => fluidRange,
248
+ fontFace: () => fontFace,
249
+ getContrast: () => getContrast,
250
+ getLuminance: () => getLuminance,
251
+ getValueAndUnit: () => getValueAndUnit,
252
+ grayscale: () => grayscale,
253
+ hiDPI: () => hiDPI,
254
+ hideText: () => hideText,
255
+ hideVisually: () => hideVisually,
256
+ hsl: () => hsl,
257
+ hslToColorString: () => hslToColorString,
258
+ hsla: () => hsla,
259
+ invert: () => invert,
260
+ lighten: () => curriedLighten,
261
+ linearGradient: () => linearGradient,
262
+ margin: () => margin,
263
+ math: () => math,
264
+ meetsContrastGuidelines: () => meetsContrastGuidelines,
265
+ mix: () => curriedMix,
266
+ modularScale: () => modularScale,
267
+ normalize: () => normalize,
268
+ opacify: () => curriedOpacify,
269
+ padding: () => padding,
270
+ parseToHsl: () => parseToHsl,
271
+ parseToRgb: () => parseToRgb,
272
+ position: () => position,
273
+ radialGradient: () => radialGradient,
274
+ readableColor: () => readableColor,
275
+ rem: () => rem,
276
+ retinaImage: () => retinaImage,
277
+ rgb: () => rgb,
278
+ rgbToColorString: () => rgbToColorString,
279
+ rgba: () => rgba,
280
+ saturate: () => curriedSaturate,
281
+ setHue: () => curriedSetHue,
282
+ setLightness: () => curriedSetLightness,
283
+ setSaturation: () => curriedSetSaturation,
284
+ shade: () => curriedShade,
285
+ size: () => size,
286
+ stripUnit: () => stripUnit,
287
+ textInputs: () => textInputs,
288
+ timingFunctions: () => timingFunctions,
289
+ tint: () => curriedTint,
290
+ toColorString: () => toColorString,
291
+ transitions: () => transitions,
292
+ transparentize: () => curriedTransparentize,
293
+ triangle: () => triangle,
294
+ wordWrap: () => wordWrap
295
+ });
296
+ function last() {
297
+ var _ref;
298
+ return _ref = arguments.length - 1, _ref < 0 || arguments.length <= _ref ? void 0 : arguments[_ref];
299
+ }
300
+ function negation(a) {
301
+ return -a;
302
+ }
303
+ function addition(a, b) {
304
+ return a + b;
305
+ }
306
+ function subtraction(a, b) {
307
+ return a - b;
308
+ }
309
+ function multiplication(a, b) {
310
+ return a * b;
311
+ }
312
+ function division(a, b) {
313
+ return a / b;
314
+ }
315
+ function factorial(a) {
316
+ if (a % 1 || !(+a >= 0))
317
+ return NaN;
318
+ if (a > 170)
319
+ return Infinity;
320
+ else if (a === 0)
321
+ return 1;
322
+ else {
323
+ return a * factorial(a - 1);
324
+ }
325
+ }
326
+ function power(a, b) {
327
+ return Math.pow(a, b);
328
+ }
329
+ function sqrt(a) {
330
+ return Math.sqrt(a);
331
+ }
332
+ function max() {
333
+ return Math.max.apply(Math, arguments);
334
+ }
335
+ function min() {
336
+ return Math.min.apply(Math, arguments);
337
+ }
338
+ function comma() {
339
+ return Array.of.apply(Array, arguments);
340
+ }
341
+ function format() {
342
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
343
+ args[_key] = arguments[_key];
344
+ }
345
+ var a = args[0];
346
+ var b = [];
347
+ var c;
348
+ for (c = 1; c < args.length; c += 1) {
349
+ b.push(args[c]);
350
+ }
351
+ b.forEach(function(d) {
352
+ a = a.replace(/%[a-z]/, d);
353
+ });
354
+ return a;
355
+ }
356
+ function mergeSymbolMaps(additionalSymbols) {
357
+ var symbolMap = {};
358
+ symbolMap.symbols = additionalSymbols ? _extends({}, defaultMathSymbols.symbols, additionalSymbols.symbols) : _extends({}, defaultMathSymbols.symbols);
359
+ return symbolMap;
360
+ }
361
+ function exec(operators, values) {
362
+ var _ref;
363
+ var op = operators.pop();
364
+ values.push(op.f.apply(op, (_ref = []).concat.apply(_ref, values.splice(-op.argCount))));
365
+ return op.precedence;
366
+ }
367
+ function calculate(expression, additionalSymbols) {
368
+ var symbolMap = mergeSymbolMaps(additionalSymbols);
369
+ var match;
370
+ var operators = [symbolMap.symbols["("].prefix];
371
+ var values = [];
372
+ var pattern = new RegExp(
373
+ // Pattern for numbers
374
+ "\\d+(?:\\.\\d+)?|" + // ...and patterns for individual operators/function names
375
+ Object.keys(symbolMap.symbols).map(function(key) {
376
+ return symbolMap.symbols[key];
377
+ }).sort(function(a, b) {
378
+ return b.symbol.length - a.symbol.length;
379
+ }).map(function(val) {
380
+ return val.regSymbol;
381
+ }).join("|") + "|(\\S)",
382
+ "g"
383
+ );
384
+ pattern.lastIndex = 0;
385
+ var afterValue = false;
386
+ do {
387
+ match = pattern.exec(expression);
388
+ var _ref2 = match || [")", void 0], token = _ref2[0], bad = _ref2[1];
389
+ var notNumber = symbolMap.symbols[token];
390
+ var notNewValue = notNumber && !notNumber.prefix && !notNumber.func;
391
+ var notAfterValue = !notNumber || !notNumber.postfix && !notNumber.infix;
392
+ if (bad || (afterValue ? notAfterValue : notNewValue)) {
393
+ throw new PolishedError(37, match ? match.index : expression.length, expression);
394
+ }
395
+ if (afterValue) {
396
+ var curr = notNumber.postfix || notNumber.infix;
397
+ do {
398
+ var prev = operators[operators.length - 1];
399
+ if ((curr.precedence - prev.precedence || prev.rightToLeft) > 0)
400
+ break;
401
+ } while (exec(operators, values));
402
+ afterValue = curr.notation === "postfix";
403
+ if (curr.symbol !== ")") {
404
+ operators.push(curr);
405
+ if (afterValue)
406
+ exec(operators, values);
407
+ }
408
+ } else if (notNumber) {
409
+ operators.push(notNumber.prefix || notNumber.func);
410
+ if (notNumber.func) {
411
+ match = pattern.exec(expression);
412
+ if (!match || match[0] !== "(") {
413
+ throw new PolishedError(38, match ? match.index : expression.length, expression);
414
+ }
415
+ }
416
+ } else {
417
+ values.push(+token);
418
+ afterValue = true;
419
+ }
420
+ } while (match && operators.length);
421
+ if (operators.length) {
422
+ throw new PolishedError(39, match ? match.index : expression.length, expression);
423
+ } else if (match) {
424
+ throw new PolishedError(40, match ? match.index : expression.length, expression);
425
+ } else {
426
+ return values.pop();
427
+ }
428
+ }
429
+ function reverseString(str) {
430
+ return str.split("").reverse().join("");
431
+ }
432
+ function math(formula, additionalSymbols) {
433
+ var reversedFormula = reverseString(formula);
434
+ var formulaMatch = reversedFormula.match(unitRegExp);
435
+ if (formulaMatch && !formulaMatch.every(function(unit) {
436
+ return unit === formulaMatch[0];
437
+ })) {
438
+ throw new PolishedError(41);
439
+ }
440
+ var cleanFormula = reverseString(reversedFormula.replace(unitRegExp, ""));
441
+ return "" + calculate(cleanFormula, additionalSymbols) + (formulaMatch ? reverseString(formulaMatch[0]) : "");
442
+ }
443
+ function cssVar(cssVariable, passThrough) {
444
+ if (!cssVariable || !cssVariable.match(cssVariableRegex)) {
445
+ if (passThrough)
446
+ return cssVariable;
447
+ throw new PolishedError(73);
448
+ }
449
+ var variableValue;
450
+ if (typeof document !== "undefined" && document.documentElement !== null) {
451
+ variableValue = getComputedStyle(document.documentElement).getPropertyValue(cssVariable);
452
+ }
453
+ if (variableValue) {
454
+ return variableValue.trim();
455
+ } else {
456
+ throw new PolishedError(74);
457
+ }
458
+ }
459
+ function capitalizeString(string) {
460
+ return string.charAt(0).toUpperCase() + string.slice(1);
461
+ }
462
+ function generateProperty(property, position2) {
463
+ if (!property)
464
+ return position2.toLowerCase();
465
+ var splitProperty = property.split("-");
466
+ if (splitProperty.length > 1) {
467
+ splitProperty.splice(1, 0, position2);
468
+ return splitProperty.reduce(function(acc, val) {
469
+ return "" + acc + capitalizeString(val);
470
+ });
471
+ }
472
+ var joinedProperty = property.replace(/([a-z])([A-Z])/g, "$1" + position2 + "$2");
473
+ return property === joinedProperty ? "" + property + position2 : joinedProperty;
474
+ }
475
+ function generateStyles(property, valuesWithDefaults) {
476
+ var styles = {};
477
+ for (var i = 0; i < valuesWithDefaults.length; i += 1) {
478
+ if (valuesWithDefaults[i] || valuesWithDefaults[i] === 0) {
479
+ styles[generateProperty(property, positionMap[i])] = valuesWithDefaults[i];
480
+ }
481
+ }
482
+ return styles;
483
+ }
484
+ function directionalProperty(property) {
485
+ for (var _len = arguments.length, values = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
486
+ values[_key - 1] = arguments[_key];
487
+ }
488
+ var firstValue = values[0], _values$ = values[1], secondValue = _values$ === void 0 ? firstValue : _values$, _values$2 = values[2], thirdValue = _values$2 === void 0 ? firstValue : _values$2, _values$3 = values[3], fourthValue = _values$3 === void 0 ? secondValue : _values$3;
489
+ var valuesWithDefaults = [firstValue, secondValue, thirdValue, fourthValue];
490
+ return generateStyles(property, valuesWithDefaults);
491
+ }
492
+ function endsWith(string, suffix) {
493
+ return string.substr(-suffix.length) === suffix;
494
+ }
495
+ function stripUnit(value, unitReturn) {
496
+ if (typeof value !== "string")
497
+ return unitReturn ? [value, void 0] : value;
498
+ var matchedValue = value.match(cssRegex);
499
+ if (unitReturn) {
500
+ console.warn("stripUnit's unitReturn functionality has been marked for deprecation in polished 4.0. It's functionality has been been moved to getValueAndUnit.");
501
+ if (matchedValue)
502
+ return [parseFloat(value), matchedValue[2]];
503
+ return [value, void 0];
504
+ }
505
+ if (matchedValue)
506
+ return parseFloat(value);
507
+ return value;
508
+ }
509
+ function getValueAndUnit(value) {
510
+ if (typeof value !== "string")
511
+ return [value, ""];
512
+ var matchedValue = value.match(cssRegex$1);
513
+ if (matchedValue)
514
+ return [parseFloat(value), matchedValue[2]];
515
+ return [value, void 0];
516
+ }
517
+ function getRatio(ratioName) {
518
+ return ratioNames[ratioName];
519
+ }
520
+ function modularScale(steps, base, ratio) {
521
+ if (base === void 0) {
522
+ base = "1em";
523
+ }
524
+ if (ratio === void 0) {
525
+ ratio = 1.333;
526
+ }
527
+ if (typeof steps !== "number") {
528
+ throw new PolishedError(42);
529
+ }
530
+ if (typeof ratio === "string" && !ratioNames[ratio]) {
531
+ throw new PolishedError(43);
532
+ }
533
+ var _ref = typeof base === "string" ? getValueAndUnit(base) : [base, ""], realBase = _ref[0], unit = _ref[1];
534
+ var realRatio = typeof ratio === "string" ? getRatio(ratio) : ratio;
535
+ if (typeof realBase === "string") {
536
+ throw new PolishedError(44, base);
537
+ }
538
+ return "" + realBase * Math.pow(realRatio, steps) + (unit || "");
539
+ }
540
+ function between(fromSize, toSize, minScreen, maxScreen) {
541
+ if (minScreen === void 0) {
542
+ minScreen = "320px";
543
+ }
544
+ if (maxScreen === void 0) {
545
+ maxScreen = "1200px";
546
+ }
547
+ var _getValueAndUnit = getValueAndUnit(fromSize), unitlessFromSize = _getValueAndUnit[0], fromSizeUnit = _getValueAndUnit[1];
548
+ var _getValueAndUnit2 = getValueAndUnit(toSize), unitlessToSize = _getValueAndUnit2[0], toSizeUnit = _getValueAndUnit2[1];
549
+ var _getValueAndUnit3 = getValueAndUnit(minScreen), unitlessMinScreen = _getValueAndUnit3[0], minScreenUnit = _getValueAndUnit3[1];
550
+ var _getValueAndUnit4 = getValueAndUnit(maxScreen), unitlessMaxScreen = _getValueAndUnit4[0], maxScreenUnit = _getValueAndUnit4[1];
551
+ if (typeof unitlessMinScreen !== "number" || typeof unitlessMaxScreen !== "number" || !minScreenUnit || !maxScreenUnit || minScreenUnit !== maxScreenUnit) {
552
+ throw new PolishedError(47);
553
+ }
554
+ if (typeof unitlessFromSize !== "number" || typeof unitlessToSize !== "number" || fromSizeUnit !== toSizeUnit) {
555
+ throw new PolishedError(48);
556
+ }
557
+ if (fromSizeUnit !== minScreenUnit || toSizeUnit !== maxScreenUnit) {
558
+ throw new PolishedError(75);
559
+ }
560
+ var slope = (unitlessFromSize - unitlessToSize) / (unitlessMinScreen - unitlessMaxScreen);
561
+ var base = unitlessToSize - slope * unitlessMaxScreen;
562
+ return "calc(" + base.toFixed(2) + (fromSizeUnit || "") + " + " + (100 * slope).toFixed(2) + "vw)";
563
+ }
564
+ function clearFix(parent) {
565
+ var _ref;
566
+ if (parent === void 0) {
567
+ parent = "&";
568
+ }
569
+ var pseudoSelector = parent + "::after";
570
+ return _ref = {}, _ref[pseudoSelector] = {
571
+ clear: "both",
572
+ content: '""',
573
+ display: "table"
574
+ }, _ref;
575
+ }
576
+ function cover(offset) {
577
+ if (offset === void 0) {
578
+ offset = 0;
579
+ }
580
+ return {
581
+ position: "absolute",
582
+ top: offset,
583
+ right: offset,
584
+ bottom: offset,
585
+ left: offset
586
+ };
587
+ }
588
+ function ellipsis(width) {
589
+ if (width === void 0) {
590
+ width = "100%";
591
+ }
592
+ return {
593
+ display: "inline-block",
594
+ maxWidth: width,
595
+ overflow: "hidden",
596
+ textOverflow: "ellipsis",
597
+ whiteSpace: "nowrap",
598
+ wordWrap: "normal"
599
+ };
600
+ }
601
+ function _createForOfIteratorHelperLoose(o, allowArrayLike) {
602
+ var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
603
+ if (it)
604
+ return (it = it.call(o)).next.bind(it);
605
+ if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
606
+ if (it)
607
+ o = it;
608
+ var i = 0;
609
+ return function() {
610
+ if (i >= o.length)
611
+ return { done: true };
612
+ return { done: false, value: o[i++] };
613
+ };
614
+ }
615
+ throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
616
+ }
617
+ function _unsupportedIterableToArray(o, minLen) {
618
+ if (!o)
619
+ return;
620
+ if (typeof o === "string")
621
+ return _arrayLikeToArray(o, minLen);
622
+ var n = Object.prototype.toString.call(o).slice(8, -1);
623
+ if (n === "Object" && o.constructor)
624
+ n = o.constructor.name;
625
+ if (n === "Map" || n === "Set")
626
+ return Array.from(o);
627
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
628
+ return _arrayLikeToArray(o, minLen);
629
+ }
630
+ function _arrayLikeToArray(arr, len) {
631
+ if (len == null || len > arr.length)
632
+ len = arr.length;
633
+ for (var i = 0, arr2 = new Array(len); i < len; i++) {
634
+ arr2[i] = arr[i];
635
+ }
636
+ return arr2;
637
+ }
638
+ function fluidRange(cssProp, minScreen, maxScreen) {
639
+ if (minScreen === void 0) {
640
+ minScreen = "320px";
641
+ }
642
+ if (maxScreen === void 0) {
643
+ maxScreen = "1200px";
644
+ }
645
+ if (!Array.isArray(cssProp) && typeof cssProp !== "object" || cssProp === null) {
646
+ throw new PolishedError(49);
647
+ }
648
+ if (Array.isArray(cssProp)) {
649
+ var mediaQueries = {};
650
+ var fallbacks = {};
651
+ for (var _iterator = _createForOfIteratorHelperLoose(cssProp), _step; !(_step = _iterator()).done; ) {
652
+ var _extends2, _extends3;
653
+ var obj = _step.value;
654
+ if (!obj.prop || !obj.fromSize || !obj.toSize) {
655
+ throw new PolishedError(50);
656
+ }
657
+ fallbacks[obj.prop] = obj.fromSize;
658
+ mediaQueries["@media (min-width: " + minScreen + ")"] = _extends({}, mediaQueries["@media (min-width: " + minScreen + ")"], (_extends2 = {}, _extends2[obj.prop] = between(obj.fromSize, obj.toSize, minScreen, maxScreen), _extends2));
659
+ mediaQueries["@media (min-width: " + maxScreen + ")"] = _extends({}, mediaQueries["@media (min-width: " + maxScreen + ")"], (_extends3 = {}, _extends3[obj.prop] = obj.toSize, _extends3));
660
+ }
661
+ return _extends({}, fallbacks, mediaQueries);
662
+ } else {
663
+ var _ref, _ref2, _ref3;
664
+ if (!cssProp.prop || !cssProp.fromSize || !cssProp.toSize) {
665
+ throw new PolishedError(51);
666
+ }
667
+ return _ref3 = {}, _ref3[cssProp.prop] = cssProp.fromSize, _ref3["@media (min-width: " + minScreen + ")"] = (_ref = {}, _ref[cssProp.prop] = between(cssProp.fromSize, cssProp.toSize, minScreen, maxScreen), _ref), _ref3["@media (min-width: " + maxScreen + ")"] = (_ref2 = {}, _ref2[cssProp.prop] = cssProp.toSize, _ref2), _ref3;
668
+ }
669
+ }
670
+ function generateFormatHint(format2, formatHint) {
671
+ if (!formatHint)
672
+ return "";
673
+ return ' format("' + formatHintMap[format2] + '")';
674
+ }
675
+ function isDataURI(fontFilePath) {
676
+ return !!fontFilePath.replace(/\s+/g, " ").match(dataURIRegex);
677
+ }
678
+ function generateFileReferences(fontFilePath, fileFormats, formatHint) {
679
+ if (isDataURI(fontFilePath)) {
680
+ return 'url("' + fontFilePath + '")' + generateFormatHint(fileFormats[0], formatHint);
681
+ }
682
+ var fileFontReferences = fileFormats.map(function(format2) {
683
+ return 'url("' + fontFilePath + "." + format2 + '")' + generateFormatHint(format2, formatHint);
684
+ });
685
+ return fileFontReferences.join(", ");
686
+ }
687
+ function generateLocalReferences(localFonts) {
688
+ var localFontReferences = localFonts.map(function(font) {
689
+ return 'local("' + font + '")';
690
+ });
691
+ return localFontReferences.join(", ");
692
+ }
693
+ function generateSources(fontFilePath, localFonts, fileFormats, formatHint) {
694
+ var fontReferences = [];
695
+ if (localFonts)
696
+ fontReferences.push(generateLocalReferences(localFonts));
697
+ if (fontFilePath) {
698
+ fontReferences.push(generateFileReferences(fontFilePath, fileFormats, formatHint));
699
+ }
700
+ return fontReferences.join(", ");
701
+ }
702
+ function fontFace(_ref) {
703
+ var fontFamily = _ref.fontFamily, fontFilePath = _ref.fontFilePath, fontStretch = _ref.fontStretch, fontStyle = _ref.fontStyle, fontVariant = _ref.fontVariant, fontWeight = _ref.fontWeight, _ref$fileFormats = _ref.fileFormats, fileFormats = _ref$fileFormats === void 0 ? ["eot", "woff2", "woff", "ttf", "svg"] : _ref$fileFormats, _ref$formatHint = _ref.formatHint, formatHint = _ref$formatHint === void 0 ? false : _ref$formatHint, localFonts = _ref.localFonts, unicodeRange = _ref.unicodeRange, fontDisplay = _ref.fontDisplay, fontVariationSettings = _ref.fontVariationSettings, fontFeatureSettings = _ref.fontFeatureSettings;
704
+ if (!fontFamily)
705
+ throw new PolishedError(55);
706
+ if (!fontFilePath && !localFonts) {
707
+ throw new PolishedError(52);
708
+ }
709
+ if (localFonts && !Array.isArray(localFonts)) {
710
+ throw new PolishedError(53);
711
+ }
712
+ if (!Array.isArray(fileFormats)) {
713
+ throw new PolishedError(54);
714
+ }
715
+ var fontFaceDeclaration = {
716
+ "@font-face": {
717
+ fontFamily,
718
+ src: generateSources(fontFilePath, localFonts, fileFormats, formatHint),
719
+ unicodeRange,
720
+ fontStretch,
721
+ fontStyle,
722
+ fontVariant,
723
+ fontWeight,
724
+ fontDisplay,
725
+ fontVariationSettings,
726
+ fontFeatureSettings
727
+ }
728
+ };
729
+ return JSON.parse(JSON.stringify(fontFaceDeclaration));
730
+ }
731
+ function hideText() {
732
+ return {
733
+ textIndent: "101%",
734
+ overflow: "hidden",
735
+ whiteSpace: "nowrap"
736
+ };
737
+ }
738
+ function hideVisually() {
739
+ return {
740
+ border: "0",
741
+ clip: "rect(0 0 0 0)",
742
+ height: "1px",
743
+ margin: "-1px",
744
+ overflow: "hidden",
745
+ padding: "0",
746
+ position: "absolute",
747
+ whiteSpace: "nowrap",
748
+ width: "1px"
749
+ };
750
+ }
751
+ function hiDPI(ratio) {
752
+ if (ratio === void 0) {
753
+ ratio = 1.3;
754
+ }
755
+ return "\n @media only screen and (-webkit-min-device-pixel-ratio: " + ratio + "),\n only screen and (min--moz-device-pixel-ratio: " + ratio + "),\n only screen and (-o-min-device-pixel-ratio: " + ratio + "/1),\n only screen and (min-resolution: " + Math.round(ratio * 96) + "dpi),\n only screen and (min-resolution: " + ratio + "dppx)\n ";
756
+ }
757
+ function constructGradientValue(literals) {
758
+ var template2 = "";
759
+ for (var _len = arguments.length, substitutions = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
760
+ substitutions[_key - 1] = arguments[_key];
761
+ }
762
+ for (var i = 0; i < literals.length; i += 1) {
763
+ template2 += literals[i];
764
+ if (i === substitutions.length - 1 && substitutions[i]) {
765
+ var definedValues = substitutions.filter(function(substitute) {
766
+ return !!substitute;
767
+ });
768
+ if (definedValues.length > 1) {
769
+ template2 = template2.slice(0, -1);
770
+ template2 += ", " + substitutions[i];
771
+ } else if (definedValues.length === 1) {
772
+ template2 += "" + substitutions[i];
773
+ }
774
+ } else if (substitutions[i]) {
775
+ template2 += substitutions[i] + " ";
776
+ }
777
+ }
778
+ return template2.trim();
779
+ }
780
+ function linearGradient(_ref) {
781
+ var colorStops = _ref.colorStops, fallback = _ref.fallback, _ref$toDirection = _ref.toDirection, toDirection = _ref$toDirection === void 0 ? "" : _ref$toDirection;
782
+ if (!colorStops || colorStops.length < 2) {
783
+ throw new PolishedError(56);
784
+ }
785
+ return {
786
+ backgroundColor: fallback || colorStops[0].replace(/,\s+/g, ",").split(" ")[0].replace(/,(?=\S)/g, ", "),
787
+ backgroundImage: constructGradientValue(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["linear-gradient(", "", ")"])), toDirection, colorStops.join(", ").replace(/,(?=\S)/g, ", "))
788
+ };
789
+ }
790
+ function normalize() {
791
+ var _ref;
792
+ return [(_ref = {
793
+ html: {
794
+ lineHeight: "1.15",
795
+ textSizeAdjust: "100%"
796
+ },
797
+ body: {
798
+ margin: "0"
799
+ },
800
+ main: {
801
+ display: "block"
802
+ },
803
+ h1: {
804
+ fontSize: "2em",
805
+ margin: "0.67em 0"
806
+ },
807
+ hr: {
808
+ boxSizing: "content-box",
809
+ height: "0",
810
+ overflow: "visible"
811
+ },
812
+ pre: {
813
+ fontFamily: "monospace, monospace",
814
+ fontSize: "1em"
815
+ },
816
+ a: {
817
+ backgroundColor: "transparent"
818
+ },
819
+ "abbr[title]": {
820
+ borderBottom: "none",
821
+ textDecoration: "underline"
822
+ }
823
+ }, _ref["b,\n strong"] = {
824
+ fontWeight: "bolder"
825
+ }, _ref["code,\n kbd,\n samp"] = {
826
+ fontFamily: "monospace, monospace",
827
+ fontSize: "1em"
828
+ }, _ref.small = {
829
+ fontSize: "80%"
830
+ }, _ref["sub,\n sup"] = {
831
+ fontSize: "75%",
832
+ lineHeight: "0",
833
+ position: "relative",
834
+ verticalAlign: "baseline"
835
+ }, _ref.sub = {
836
+ bottom: "-0.25em"
837
+ }, _ref.sup = {
838
+ top: "-0.5em"
839
+ }, _ref.img = {
840
+ borderStyle: "none"
841
+ }, _ref["button,\n input,\n optgroup,\n select,\n textarea"] = {
842
+ fontFamily: "inherit",
843
+ fontSize: "100%",
844
+ lineHeight: "1.15",
845
+ margin: "0"
846
+ }, _ref["button,\n input"] = {
847
+ overflow: "visible"
848
+ }, _ref["button,\n select"] = {
849
+ textTransform: "none"
850
+ }, _ref['button,\n html [type="button"],\n [type="reset"],\n [type="submit"]'] = {
851
+ WebkitAppearance: "button"
852
+ }, _ref['button::-moz-focus-inner,\n [type="button"]::-moz-focus-inner,\n [type="reset"]::-moz-focus-inner,\n [type="submit"]::-moz-focus-inner'] = {
853
+ borderStyle: "none",
854
+ padding: "0"
855
+ }, _ref['button:-moz-focusring,\n [type="button"]:-moz-focusring,\n [type="reset"]:-moz-focusring,\n [type="submit"]:-moz-focusring'] = {
856
+ outline: "1px dotted ButtonText"
857
+ }, _ref.fieldset = {
858
+ padding: "0.35em 0.625em 0.75em"
859
+ }, _ref.legend = {
860
+ boxSizing: "border-box",
861
+ color: "inherit",
862
+ display: "table",
863
+ maxWidth: "100%",
864
+ padding: "0",
865
+ whiteSpace: "normal"
866
+ }, _ref.progress = {
867
+ verticalAlign: "baseline"
868
+ }, _ref.textarea = {
869
+ overflow: "auto"
870
+ }, _ref['[type="checkbox"],\n [type="radio"]'] = {
871
+ boxSizing: "border-box",
872
+ padding: "0"
873
+ }, _ref['[type="number"]::-webkit-inner-spin-button,\n [type="number"]::-webkit-outer-spin-button'] = {
874
+ height: "auto"
875
+ }, _ref['[type="search"]'] = {
876
+ WebkitAppearance: "textfield",
877
+ outlineOffset: "-2px"
878
+ }, _ref['[type="search"]::-webkit-search-decoration'] = {
879
+ WebkitAppearance: "none"
880
+ }, _ref["::-webkit-file-upload-button"] = {
881
+ WebkitAppearance: "button",
882
+ font: "inherit"
883
+ }, _ref.details = {
884
+ display: "block"
885
+ }, _ref.summary = {
886
+ display: "list-item"
887
+ }, _ref.template = {
888
+ display: "none"
889
+ }, _ref["[hidden]"] = {
890
+ display: "none"
891
+ }, _ref), {
892
+ "abbr[title]": {
893
+ textDecoration: "underline dotted"
894
+ }
895
+ }];
896
+ }
897
+ function radialGradient(_ref) {
898
+ var colorStops = _ref.colorStops, _ref$extent = _ref.extent, extent = _ref$extent === void 0 ? "" : _ref$extent, fallback = _ref.fallback, _ref$position = _ref.position, position2 = _ref$position === void 0 ? "" : _ref$position, _ref$shape = _ref.shape, shape = _ref$shape === void 0 ? "" : _ref$shape;
899
+ if (!colorStops || colorStops.length < 2) {
900
+ throw new PolishedError(57);
901
+ }
902
+ return {
903
+ backgroundColor: fallback || colorStops[0].split(" ")[0],
904
+ backgroundImage: constructGradientValue(_templateObject$1 || (_templateObject$1 = _taggedTemplateLiteralLoose(["radial-gradient(", "", "", "", ")"])), position2, shape, extent, colorStops.join(", "))
905
+ };
906
+ }
907
+ function retinaImage(filename, backgroundSize, extension, retinaFilename, retinaSuffix) {
908
+ var _ref;
909
+ if (extension === void 0) {
910
+ extension = "png";
911
+ }
912
+ if (retinaSuffix === void 0) {
913
+ retinaSuffix = "_2x";
914
+ }
915
+ if (!filename) {
916
+ throw new PolishedError(58);
917
+ }
918
+ var ext = extension.replace(/^\./, "");
919
+ var rFilename = retinaFilename ? retinaFilename + "." + ext : "" + filename + retinaSuffix + "." + ext;
920
+ return _ref = {
921
+ backgroundImage: "url(" + filename + "." + ext + ")"
922
+ }, _ref[hiDPI()] = _extends({
923
+ backgroundImage: "url(" + rFilename + ")"
924
+ }, backgroundSize ? {
925
+ backgroundSize
926
+ } : {}), _ref;
927
+ }
928
+ function getTimingFunction(functionName) {
929
+ return functionsMap[functionName];
930
+ }
931
+ function timingFunctions(timingFunction) {
932
+ return getTimingFunction(timingFunction);
933
+ }
934
+ function triangle(_ref) {
935
+ var pointingDirection = _ref.pointingDirection, height = _ref.height, width = _ref.width, foregroundColor = _ref.foregroundColor, _ref$backgroundColor = _ref.backgroundColor, backgroundColor = _ref$backgroundColor === void 0 ? "transparent" : _ref$backgroundColor;
936
+ var widthAndUnit = getValueAndUnit(width);
937
+ var heightAndUnit = getValueAndUnit(height);
938
+ if (isNaN(heightAndUnit[0]) || isNaN(widthAndUnit[0])) {
939
+ throw new PolishedError(60);
940
+ }
941
+ return _extends({
942
+ width: "0",
943
+ height: "0",
944
+ borderColor: backgroundColor
945
+ }, getBorderColor(pointingDirection, foregroundColor), {
946
+ borderStyle: "solid",
947
+ borderWidth: getBorderWidth(pointingDirection, heightAndUnit, widthAndUnit)
948
+ });
949
+ }
950
+ function wordWrap(wrap) {
951
+ if (wrap === void 0) {
952
+ wrap = "break-word";
953
+ }
954
+ var wordBreak = wrap === "break-word" ? "break-all" : wrap;
955
+ return {
956
+ overflowWrap: wrap,
957
+ wordWrap: wrap,
958
+ wordBreak
959
+ };
960
+ }
961
+ function colorToInt(color) {
962
+ return Math.round(color * 255);
963
+ }
964
+ function convertToInt(red, green, blue) {
965
+ return colorToInt(red) + "," + colorToInt(green) + "," + colorToInt(blue);
966
+ }
967
+ function hslToRgb(hue, saturation, lightness, convert) {
968
+ if (convert === void 0) {
969
+ convert = convertToInt;
970
+ }
971
+ if (saturation === 0) {
972
+ return convert(lightness, lightness, lightness);
973
+ }
974
+ var huePrime = (hue % 360 + 360) % 360 / 60;
975
+ var chroma = (1 - Math.abs(2 * lightness - 1)) * saturation;
976
+ var secondComponent = chroma * (1 - Math.abs(huePrime % 2 - 1));
977
+ var red = 0;
978
+ var green = 0;
979
+ var blue = 0;
980
+ if (huePrime >= 0 && huePrime < 1) {
981
+ red = chroma;
982
+ green = secondComponent;
983
+ } else if (huePrime >= 1 && huePrime < 2) {
984
+ red = secondComponent;
985
+ green = chroma;
986
+ } else if (huePrime >= 2 && huePrime < 3) {
987
+ green = chroma;
988
+ blue = secondComponent;
989
+ } else if (huePrime >= 3 && huePrime < 4) {
990
+ green = secondComponent;
991
+ blue = chroma;
992
+ } else if (huePrime >= 4 && huePrime < 5) {
993
+ red = secondComponent;
994
+ blue = chroma;
995
+ } else if (huePrime >= 5 && huePrime < 6) {
996
+ red = chroma;
997
+ blue = secondComponent;
998
+ }
999
+ var lightnessModification = lightness - chroma / 2;
1000
+ var finalRed = red + lightnessModification;
1001
+ var finalGreen = green + lightnessModification;
1002
+ var finalBlue = blue + lightnessModification;
1003
+ return convert(finalRed, finalGreen, finalBlue);
1004
+ }
1005
+ function nameToHex(color) {
1006
+ if (typeof color !== "string")
1007
+ return color;
1008
+ var normalizedColorName = color.toLowerCase();
1009
+ return namedColorMap[normalizedColorName] ? "#" + namedColorMap[normalizedColorName] : color;
1010
+ }
1011
+ function parseToRgb(color) {
1012
+ if (typeof color !== "string") {
1013
+ throw new PolishedError(3);
1014
+ }
1015
+ var normalizedColor = nameToHex(color);
1016
+ if (normalizedColor.match(hexRegex)) {
1017
+ return {
1018
+ red: parseInt("" + normalizedColor[1] + normalizedColor[2], 16),
1019
+ green: parseInt("" + normalizedColor[3] + normalizedColor[4], 16),
1020
+ blue: parseInt("" + normalizedColor[5] + normalizedColor[6], 16)
1021
+ };
1022
+ }
1023
+ if (normalizedColor.match(hexRgbaRegex)) {
1024
+ var alpha = parseFloat((parseInt("" + normalizedColor[7] + normalizedColor[8], 16) / 255).toFixed(2));
1025
+ return {
1026
+ red: parseInt("" + normalizedColor[1] + normalizedColor[2], 16),
1027
+ green: parseInt("" + normalizedColor[3] + normalizedColor[4], 16),
1028
+ blue: parseInt("" + normalizedColor[5] + normalizedColor[6], 16),
1029
+ alpha
1030
+ };
1031
+ }
1032
+ if (normalizedColor.match(reducedHexRegex)) {
1033
+ return {
1034
+ red: parseInt("" + normalizedColor[1] + normalizedColor[1], 16),
1035
+ green: parseInt("" + normalizedColor[2] + normalizedColor[2], 16),
1036
+ blue: parseInt("" + normalizedColor[3] + normalizedColor[3], 16)
1037
+ };
1038
+ }
1039
+ if (normalizedColor.match(reducedRgbaHexRegex)) {
1040
+ var _alpha = parseFloat((parseInt("" + normalizedColor[4] + normalizedColor[4], 16) / 255).toFixed(2));
1041
+ return {
1042
+ red: parseInt("" + normalizedColor[1] + normalizedColor[1], 16),
1043
+ green: parseInt("" + normalizedColor[2] + normalizedColor[2], 16),
1044
+ blue: parseInt("" + normalizedColor[3] + normalizedColor[3], 16),
1045
+ alpha: _alpha
1046
+ };
1047
+ }
1048
+ var rgbMatched = rgbRegex.exec(normalizedColor);
1049
+ if (rgbMatched) {
1050
+ return {
1051
+ red: parseInt("" + rgbMatched[1], 10),
1052
+ green: parseInt("" + rgbMatched[2], 10),
1053
+ blue: parseInt("" + rgbMatched[3], 10)
1054
+ };
1055
+ }
1056
+ var rgbaMatched = rgbaRegex.exec(normalizedColor.substring(0, 50));
1057
+ if (rgbaMatched) {
1058
+ return {
1059
+ red: parseInt("" + rgbaMatched[1], 10),
1060
+ green: parseInt("" + rgbaMatched[2], 10),
1061
+ blue: parseInt("" + rgbaMatched[3], 10),
1062
+ alpha: parseFloat("" + rgbaMatched[4])
1063
+ };
1064
+ }
1065
+ var hslMatched = hslRegex.exec(normalizedColor);
1066
+ if (hslMatched) {
1067
+ var hue = parseInt("" + hslMatched[1], 10);
1068
+ var saturation = parseInt("" + hslMatched[2], 10) / 100;
1069
+ var lightness = parseInt("" + hslMatched[3], 10) / 100;
1070
+ var rgbColorString = "rgb(" + hslToRgb(hue, saturation, lightness) + ")";
1071
+ var hslRgbMatched = rgbRegex.exec(rgbColorString);
1072
+ if (!hslRgbMatched) {
1073
+ throw new PolishedError(4, normalizedColor, rgbColorString);
1074
+ }
1075
+ return {
1076
+ red: parseInt("" + hslRgbMatched[1], 10),
1077
+ green: parseInt("" + hslRgbMatched[2], 10),
1078
+ blue: parseInt("" + hslRgbMatched[3], 10)
1079
+ };
1080
+ }
1081
+ var hslaMatched = hslaRegex.exec(normalizedColor.substring(0, 50));
1082
+ if (hslaMatched) {
1083
+ var _hue = parseInt("" + hslaMatched[1], 10);
1084
+ var _saturation = parseInt("" + hslaMatched[2], 10) / 100;
1085
+ var _lightness = parseInt("" + hslaMatched[3], 10) / 100;
1086
+ var _rgbColorString = "rgb(" + hslToRgb(_hue, _saturation, _lightness) + ")";
1087
+ var _hslRgbMatched = rgbRegex.exec(_rgbColorString);
1088
+ if (!_hslRgbMatched) {
1089
+ throw new PolishedError(4, normalizedColor, _rgbColorString);
1090
+ }
1091
+ return {
1092
+ red: parseInt("" + _hslRgbMatched[1], 10),
1093
+ green: parseInt("" + _hslRgbMatched[2], 10),
1094
+ blue: parseInt("" + _hslRgbMatched[3], 10),
1095
+ alpha: parseFloat("" + hslaMatched[4])
1096
+ };
1097
+ }
1098
+ throw new PolishedError(5);
1099
+ }
1100
+ function rgbToHsl(color) {
1101
+ var red = color.red / 255;
1102
+ var green = color.green / 255;
1103
+ var blue = color.blue / 255;
1104
+ var max2 = Math.max(red, green, blue);
1105
+ var min2 = Math.min(red, green, blue);
1106
+ var lightness = (max2 + min2) / 2;
1107
+ if (max2 === min2) {
1108
+ if (color.alpha !== void 0) {
1109
+ return {
1110
+ hue: 0,
1111
+ saturation: 0,
1112
+ lightness,
1113
+ alpha: color.alpha
1114
+ };
1115
+ } else {
1116
+ return {
1117
+ hue: 0,
1118
+ saturation: 0,
1119
+ lightness
1120
+ };
1121
+ }
1122
+ }
1123
+ var hue;
1124
+ var delta = max2 - min2;
1125
+ var saturation = lightness > 0.5 ? delta / (2 - max2 - min2) : delta / (max2 + min2);
1126
+ switch (max2) {
1127
+ case red:
1128
+ hue = (green - blue) / delta + (green < blue ? 6 : 0);
1129
+ break;
1130
+ case green:
1131
+ hue = (blue - red) / delta + 2;
1132
+ break;
1133
+ default:
1134
+ hue = (red - green) / delta + 4;
1135
+ break;
1136
+ }
1137
+ hue *= 60;
1138
+ if (color.alpha !== void 0) {
1139
+ return {
1140
+ hue,
1141
+ saturation,
1142
+ lightness,
1143
+ alpha: color.alpha
1144
+ };
1145
+ }
1146
+ return {
1147
+ hue,
1148
+ saturation,
1149
+ lightness
1150
+ };
1151
+ }
1152
+ function parseToHsl(color) {
1153
+ return rgbToHsl(parseToRgb(color));
1154
+ }
1155
+ function numberToHex(value) {
1156
+ var hex = value.toString(16);
1157
+ return hex.length === 1 ? "0" + hex : hex;
1158
+ }
1159
+ function colorToHex(color) {
1160
+ return numberToHex(Math.round(color * 255));
1161
+ }
1162
+ function convertToHex(red, green, blue) {
1163
+ return reduceHexValue("#" + colorToHex(red) + colorToHex(green) + colorToHex(blue));
1164
+ }
1165
+ function hslToHex(hue, saturation, lightness) {
1166
+ return hslToRgb(hue, saturation, lightness, convertToHex);
1167
+ }
1168
+ function hsl(value, saturation, lightness) {
1169
+ if (typeof value === "number" && typeof saturation === "number" && typeof lightness === "number") {
1170
+ return hslToHex(value, saturation, lightness);
1171
+ } else if (typeof value === "object" && saturation === void 0 && lightness === void 0) {
1172
+ return hslToHex(value.hue, value.saturation, value.lightness);
1173
+ }
1174
+ throw new PolishedError(1);
1175
+ }
1176
+ function hsla(value, saturation, lightness, alpha) {
1177
+ if (typeof value === "number" && typeof saturation === "number" && typeof lightness === "number" && typeof alpha === "number") {
1178
+ return alpha >= 1 ? hslToHex(value, saturation, lightness) : "rgba(" + hslToRgb(value, saturation, lightness) + "," + alpha + ")";
1179
+ } else if (typeof value === "object" && saturation === void 0 && lightness === void 0 && alpha === void 0) {
1180
+ return value.alpha >= 1 ? hslToHex(value.hue, value.saturation, value.lightness) : "rgba(" + hslToRgb(value.hue, value.saturation, value.lightness) + "," + value.alpha + ")";
1181
+ }
1182
+ throw new PolishedError(2);
1183
+ }
1184
+ function rgb(value, green, blue) {
1185
+ if (typeof value === "number" && typeof green === "number" && typeof blue === "number") {
1186
+ return reduceHexValue("#" + numberToHex(value) + numberToHex(green) + numberToHex(blue));
1187
+ } else if (typeof value === "object" && green === void 0 && blue === void 0) {
1188
+ return reduceHexValue("#" + numberToHex(value.red) + numberToHex(value.green) + numberToHex(value.blue));
1189
+ }
1190
+ throw new PolishedError(6);
1191
+ }
1192
+ function rgba(firstValue, secondValue, thirdValue, fourthValue) {
1193
+ if (typeof firstValue === "string" && typeof secondValue === "number") {
1194
+ var rgbValue = parseToRgb(firstValue);
1195
+ return "rgba(" + rgbValue.red + "," + rgbValue.green + "," + rgbValue.blue + "," + secondValue + ")";
1196
+ } else if (typeof firstValue === "number" && typeof secondValue === "number" && typeof thirdValue === "number" && typeof fourthValue === "number") {
1197
+ return fourthValue >= 1 ? rgb(firstValue, secondValue, thirdValue) : "rgba(" + firstValue + "," + secondValue + "," + thirdValue + "," + fourthValue + ")";
1198
+ } else if (typeof firstValue === "object" && secondValue === void 0 && thirdValue === void 0 && fourthValue === void 0) {
1199
+ return firstValue.alpha >= 1 ? rgb(firstValue.red, firstValue.green, firstValue.blue) : "rgba(" + firstValue.red + "," + firstValue.green + "," + firstValue.blue + "," + firstValue.alpha + ")";
1200
+ }
1201
+ throw new PolishedError(7);
1202
+ }
1203
+ function toColorString(color) {
1204
+ if (typeof color !== "object")
1205
+ throw new PolishedError(8);
1206
+ if (isRgba(color))
1207
+ return rgba(color);
1208
+ if (isRgb(color))
1209
+ return rgb(color);
1210
+ if (isHsla(color))
1211
+ return hsla(color);
1212
+ if (isHsl(color))
1213
+ return hsl(color);
1214
+ throw new PolishedError(8);
1215
+ }
1216
+ function curried(f, length, acc) {
1217
+ return function fn() {
1218
+ var combined = acc.concat(Array.prototype.slice.call(arguments));
1219
+ return combined.length >= length ? f.apply(this, combined) : curried(f, length, combined);
1220
+ };
1221
+ }
1222
+ function curry(f) {
1223
+ return curried(f, f.length, []);
1224
+ }
1225
+ function adjustHue(degree, color) {
1226
+ if (color === "transparent")
1227
+ return color;
1228
+ var hslColor = parseToHsl(color);
1229
+ return toColorString(_extends({}, hslColor, {
1230
+ hue: hslColor.hue + parseFloat(degree)
1231
+ }));
1232
+ }
1233
+ function complement(color) {
1234
+ if (color === "transparent")
1235
+ return color;
1236
+ var hslColor = parseToHsl(color);
1237
+ return toColorString(_extends({}, hslColor, {
1238
+ hue: (hslColor.hue + 180) % 360
1239
+ }));
1240
+ }
1241
+ function guard(lowerBoundary, upperBoundary, value) {
1242
+ return Math.max(lowerBoundary, Math.min(upperBoundary, value));
1243
+ }
1244
+ function darken(amount, color) {
1245
+ if (color === "transparent")
1246
+ return color;
1247
+ var hslColor = parseToHsl(color);
1248
+ return toColorString(_extends({}, hslColor, {
1249
+ lightness: guard(0, 1, hslColor.lightness - parseFloat(amount))
1250
+ }));
1251
+ }
1252
+ function desaturate(amount, color) {
1253
+ if (color === "transparent")
1254
+ return color;
1255
+ var hslColor = parseToHsl(color);
1256
+ return toColorString(_extends({}, hslColor, {
1257
+ saturation: guard(0, 1, hslColor.saturation - parseFloat(amount))
1258
+ }));
1259
+ }
1260
+ function getLuminance(color) {
1261
+ if (color === "transparent")
1262
+ return 0;
1263
+ var rgbColor = parseToRgb(color);
1264
+ var _Object$keys$map = Object.keys(rgbColor).map(function(key) {
1265
+ var channel = rgbColor[key] / 255;
1266
+ return channel <= 0.03928 ? channel / 12.92 : Math.pow((channel + 0.055) / 1.055, 2.4);
1267
+ }), r = _Object$keys$map[0], g = _Object$keys$map[1], b = _Object$keys$map[2];
1268
+ return parseFloat((0.2126 * r + 0.7152 * g + 0.0722 * b).toFixed(3));
1269
+ }
1270
+ function getContrast(color1, color2) {
1271
+ var luminance1 = getLuminance(color1);
1272
+ var luminance2 = getLuminance(color2);
1273
+ return parseFloat((luminance1 > luminance2 ? (luminance1 + 0.05) / (luminance2 + 0.05) : (luminance2 + 0.05) / (luminance1 + 0.05)).toFixed(2));
1274
+ }
1275
+ function grayscale(color) {
1276
+ if (color === "transparent")
1277
+ return color;
1278
+ return toColorString(_extends({}, parseToHsl(color), {
1279
+ saturation: 0
1280
+ }));
1281
+ }
1282
+ function hslToColorString(color) {
1283
+ if (typeof color === "object" && typeof color.hue === "number" && typeof color.saturation === "number" && typeof color.lightness === "number") {
1284
+ if (color.alpha && typeof color.alpha === "number") {
1285
+ return hsla({
1286
+ hue: color.hue,
1287
+ saturation: color.saturation,
1288
+ lightness: color.lightness,
1289
+ alpha: color.alpha
1290
+ });
1291
+ }
1292
+ return hsl({
1293
+ hue: color.hue,
1294
+ saturation: color.saturation,
1295
+ lightness: color.lightness
1296
+ });
1297
+ }
1298
+ throw new PolishedError(45);
1299
+ }
1300
+ function invert(color) {
1301
+ if (color === "transparent")
1302
+ return color;
1303
+ var value = parseToRgb(color);
1304
+ return toColorString(_extends({}, value, {
1305
+ red: 255 - value.red,
1306
+ green: 255 - value.green,
1307
+ blue: 255 - value.blue
1308
+ }));
1309
+ }
1310
+ function lighten(amount, color) {
1311
+ if (color === "transparent")
1312
+ return color;
1313
+ var hslColor = parseToHsl(color);
1314
+ return toColorString(_extends({}, hslColor, {
1315
+ lightness: guard(0, 1, hslColor.lightness + parseFloat(amount))
1316
+ }));
1317
+ }
1318
+ function meetsContrastGuidelines(color1, color2) {
1319
+ var contrastRatio = getContrast(color1, color2);
1320
+ return {
1321
+ AA: contrastRatio >= 4.5,
1322
+ AALarge: contrastRatio >= 3,
1323
+ AAA: contrastRatio >= 7,
1324
+ AAALarge: contrastRatio >= 4.5
1325
+ };
1326
+ }
1327
+ function mix(weight, color, otherColor) {
1328
+ if (color === "transparent")
1329
+ return otherColor;
1330
+ if (otherColor === "transparent")
1331
+ return color;
1332
+ if (weight === 0)
1333
+ return otherColor;
1334
+ var parsedColor1 = parseToRgb(color);
1335
+ var color1 = _extends({}, parsedColor1, {
1336
+ alpha: typeof parsedColor1.alpha === "number" ? parsedColor1.alpha : 1
1337
+ });
1338
+ var parsedColor2 = parseToRgb(otherColor);
1339
+ var color2 = _extends({}, parsedColor2, {
1340
+ alpha: typeof parsedColor2.alpha === "number" ? parsedColor2.alpha : 1
1341
+ });
1342
+ var alphaDelta = color1.alpha - color2.alpha;
1343
+ var x = parseFloat(weight) * 2 - 1;
1344
+ var y = x * alphaDelta === -1 ? x : x + alphaDelta;
1345
+ var z = 1 + x * alphaDelta;
1346
+ var weight1 = (y / z + 1) / 2;
1347
+ var weight2 = 1 - weight1;
1348
+ var mixedColor = {
1349
+ red: Math.floor(color1.red * weight1 + color2.red * weight2),
1350
+ green: Math.floor(color1.green * weight1 + color2.green * weight2),
1351
+ blue: Math.floor(color1.blue * weight1 + color2.blue * weight2),
1352
+ alpha: color1.alpha * (parseFloat(weight) / 1) + color2.alpha * (1 - parseFloat(weight) / 1)
1353
+ };
1354
+ return rgba(mixedColor);
1355
+ }
1356
+ function opacify(amount, color) {
1357
+ if (color === "transparent")
1358
+ return color;
1359
+ var parsedColor = parseToRgb(color);
1360
+ var alpha = typeof parsedColor.alpha === "number" ? parsedColor.alpha : 1;
1361
+ var colorWithAlpha = _extends({}, parsedColor, {
1362
+ alpha: guard(0, 1, (alpha * 100 + parseFloat(amount) * 100) / 100)
1363
+ });
1364
+ return rgba(colorWithAlpha);
1365
+ }
1366
+ function readableColor(color, returnIfLightColor, returnIfDarkColor, strict) {
1367
+ if (returnIfLightColor === void 0) {
1368
+ returnIfLightColor = defaultReturnIfLightColor;
1369
+ }
1370
+ if (returnIfDarkColor === void 0) {
1371
+ returnIfDarkColor = defaultReturnIfDarkColor;
1372
+ }
1373
+ if (strict === void 0) {
1374
+ strict = true;
1375
+ }
1376
+ var isColorLight = getLuminance(color) > 0.179;
1377
+ var preferredReturnColor = isColorLight ? returnIfLightColor : returnIfDarkColor;
1378
+ if (!strict || getContrast(color, preferredReturnColor) >= 4.5) {
1379
+ return preferredReturnColor;
1380
+ }
1381
+ return isColorLight ? defaultReturnIfLightColor : defaultReturnIfDarkColor;
1382
+ }
1383
+ function rgbToColorString(color) {
1384
+ if (typeof color === "object" && typeof color.red === "number" && typeof color.green === "number" && typeof color.blue === "number") {
1385
+ if (typeof color.alpha === "number") {
1386
+ return rgba({
1387
+ red: color.red,
1388
+ green: color.green,
1389
+ blue: color.blue,
1390
+ alpha: color.alpha
1391
+ });
1392
+ }
1393
+ return rgb({
1394
+ red: color.red,
1395
+ green: color.green,
1396
+ blue: color.blue
1397
+ });
1398
+ }
1399
+ throw new PolishedError(46);
1400
+ }
1401
+ function saturate(amount, color) {
1402
+ if (color === "transparent")
1403
+ return color;
1404
+ var hslColor = parseToHsl(color);
1405
+ return toColorString(_extends({}, hslColor, {
1406
+ saturation: guard(0, 1, hslColor.saturation + parseFloat(amount))
1407
+ }));
1408
+ }
1409
+ function setHue(hue, color) {
1410
+ if (color === "transparent")
1411
+ return color;
1412
+ return toColorString(_extends({}, parseToHsl(color), {
1413
+ hue: parseFloat(hue)
1414
+ }));
1415
+ }
1416
+ function setLightness(lightness, color) {
1417
+ if (color === "transparent")
1418
+ return color;
1419
+ return toColorString(_extends({}, parseToHsl(color), {
1420
+ lightness: parseFloat(lightness)
1421
+ }));
1422
+ }
1423
+ function setSaturation(saturation, color) {
1424
+ if (color === "transparent")
1425
+ return color;
1426
+ return toColorString(_extends({}, parseToHsl(color), {
1427
+ saturation: parseFloat(saturation)
1428
+ }));
1429
+ }
1430
+ function shade(percentage, color) {
1431
+ if (color === "transparent")
1432
+ return color;
1433
+ return curriedMix(parseFloat(percentage), "rgb(0, 0, 0)", color);
1434
+ }
1435
+ function tint(percentage, color) {
1436
+ if (color === "transparent")
1437
+ return color;
1438
+ return curriedMix(parseFloat(percentage), "rgb(255, 255, 255)", color);
1439
+ }
1440
+ function transparentize(amount, color) {
1441
+ if (color === "transparent")
1442
+ return color;
1443
+ var parsedColor = parseToRgb(color);
1444
+ var alpha = typeof parsedColor.alpha === "number" ? parsedColor.alpha : 1;
1445
+ var colorWithAlpha = _extends({}, parsedColor, {
1446
+ alpha: guard(0, 1, +(alpha * 100 - parseFloat(amount) * 100).toFixed(2) / 100)
1447
+ });
1448
+ return rgba(colorWithAlpha);
1449
+ }
1450
+ function animation() {
1451
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
1452
+ args[_key] = arguments[_key];
1453
+ }
1454
+ var multiMode = Array.isArray(args[0]);
1455
+ if (!multiMode && args.length > 8) {
1456
+ throw new PolishedError(64);
1457
+ }
1458
+ var code = args.map(function(arg) {
1459
+ if (multiMode && !Array.isArray(arg) || !multiMode && Array.isArray(arg)) {
1460
+ throw new PolishedError(65);
1461
+ }
1462
+ if (Array.isArray(arg) && arg.length > 8) {
1463
+ throw new PolishedError(66);
1464
+ }
1465
+ return Array.isArray(arg) ? arg.join(" ") : arg;
1466
+ }).join(", ");
1467
+ return {
1468
+ animation: code
1469
+ };
1470
+ }
1471
+ function backgroundImages() {
1472
+ for (var _len = arguments.length, properties = new Array(_len), _key = 0; _key < _len; _key++) {
1473
+ properties[_key] = arguments[_key];
1474
+ }
1475
+ return {
1476
+ backgroundImage: properties.join(", ")
1477
+ };
1478
+ }
1479
+ function backgrounds() {
1480
+ for (var _len = arguments.length, properties = new Array(_len), _key = 0; _key < _len; _key++) {
1481
+ properties[_key] = arguments[_key];
1482
+ }
1483
+ return {
1484
+ background: properties.join(", ")
1485
+ };
1486
+ }
1487
+ function border(sideKeyword) {
1488
+ for (var _len = arguments.length, values = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
1489
+ values[_key - 1] = arguments[_key];
1490
+ }
1491
+ if (typeof sideKeyword === "string" && sideMap.indexOf(sideKeyword) >= 0) {
1492
+ var _ref;
1493
+ return _ref = {}, _ref["border" + capitalizeString(sideKeyword) + "Width"] = values[0], _ref["border" + capitalizeString(sideKeyword) + "Style"] = values[1], _ref["border" + capitalizeString(sideKeyword) + "Color"] = values[2], _ref;
1494
+ } else {
1495
+ values.unshift(sideKeyword);
1496
+ return {
1497
+ borderWidth: values[0],
1498
+ borderStyle: values[1],
1499
+ borderColor: values[2]
1500
+ };
1501
+ }
1502
+ }
1503
+ function borderColor() {
1504
+ for (var _len = arguments.length, values = new Array(_len), _key = 0; _key < _len; _key++) {
1505
+ values[_key] = arguments[_key];
1506
+ }
1507
+ return directionalProperty.apply(void 0, ["borderColor"].concat(values));
1508
+ }
1509
+ function borderRadius(side, radius) {
1510
+ var uppercaseSide = capitalizeString(side);
1511
+ if (!radius && radius !== 0) {
1512
+ throw new PolishedError(62);
1513
+ }
1514
+ if (uppercaseSide === "Top" || uppercaseSide === "Bottom") {
1515
+ var _ref;
1516
+ return _ref = {}, _ref["border" + uppercaseSide + "RightRadius"] = radius, _ref["border" + uppercaseSide + "LeftRadius"] = radius, _ref;
1517
+ }
1518
+ if (uppercaseSide === "Left" || uppercaseSide === "Right") {
1519
+ var _ref2;
1520
+ return _ref2 = {}, _ref2["borderTop" + uppercaseSide + "Radius"] = radius, _ref2["borderBottom" + uppercaseSide + "Radius"] = radius, _ref2;
1521
+ }
1522
+ throw new PolishedError(63);
1523
+ }
1524
+ function borderStyle() {
1525
+ for (var _len = arguments.length, values = new Array(_len), _key = 0; _key < _len; _key++) {
1526
+ values[_key] = arguments[_key];
1527
+ }
1528
+ return directionalProperty.apply(void 0, ["borderStyle"].concat(values));
1529
+ }
1530
+ function borderWidth() {
1531
+ for (var _len = arguments.length, values = new Array(_len), _key = 0; _key < _len; _key++) {
1532
+ values[_key] = arguments[_key];
1533
+ }
1534
+ return directionalProperty.apply(void 0, ["borderWidth"].concat(values));
1535
+ }
1536
+ function generateSelectors(template2, state) {
1537
+ var stateSuffix = state ? ":" + state : "";
1538
+ return template2(stateSuffix);
1539
+ }
1540
+ function statefulSelectors(states, template2, stateMap2) {
1541
+ if (!template2)
1542
+ throw new PolishedError(67);
1543
+ if (states.length === 0)
1544
+ return generateSelectors(template2, null);
1545
+ var selectors = [];
1546
+ for (var i = 0; i < states.length; i += 1) {
1547
+ if (stateMap2 && stateMap2.indexOf(states[i]) < 0) {
1548
+ throw new PolishedError(68);
1549
+ }
1550
+ selectors.push(generateSelectors(template2, states[i]));
1551
+ }
1552
+ selectors = selectors.join(",");
1553
+ return selectors;
1554
+ }
1555
+ function template(state) {
1556
+ return "button" + state + ',\n input[type="button"]' + state + ',\n input[type="reset"]' + state + ',\n input[type="submit"]' + state;
1557
+ }
1558
+ function buttons() {
1559
+ for (var _len = arguments.length, states = new Array(_len), _key = 0; _key < _len; _key++) {
1560
+ states[_key] = arguments[_key];
1561
+ }
1562
+ return statefulSelectors(states, template, stateMap);
1563
+ }
1564
+ function margin() {
1565
+ for (var _len = arguments.length, values = new Array(_len), _key = 0; _key < _len; _key++) {
1566
+ values[_key] = arguments[_key];
1567
+ }
1568
+ return directionalProperty.apply(void 0, ["margin"].concat(values));
1569
+ }
1570
+ function padding() {
1571
+ for (var _len = arguments.length, values = new Array(_len), _key = 0; _key < _len; _key++) {
1572
+ values[_key] = arguments[_key];
1573
+ }
1574
+ return directionalProperty.apply(void 0, ["padding"].concat(values));
1575
+ }
1576
+ function position(firstValue) {
1577
+ for (var _len = arguments.length, values = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
1578
+ values[_key - 1] = arguments[_key];
1579
+ }
1580
+ if (positionMap$1.indexOf(firstValue) >= 0 && firstValue) {
1581
+ return _extends({}, directionalProperty.apply(void 0, [""].concat(values)), {
1582
+ position: firstValue
1583
+ });
1584
+ } else {
1585
+ return directionalProperty.apply(void 0, ["", firstValue].concat(values));
1586
+ }
1587
+ }
1588
+ function size(height, width) {
1589
+ if (width === void 0) {
1590
+ width = height;
1591
+ }
1592
+ return {
1593
+ height,
1594
+ width
1595
+ };
1596
+ }
1597
+ function template$1(state) {
1598
+ return 'input[type="color"]' + state + ',\n input[type="date"]' + state + ',\n input[type="datetime"]' + state + ',\n input[type="datetime-local"]' + state + ',\n input[type="email"]' + state + ',\n input[type="month"]' + state + ',\n input[type="number"]' + state + ',\n input[type="password"]' + state + ',\n input[type="search"]' + state + ',\n input[type="tel"]' + state + ',\n input[type="text"]' + state + ',\n input[type="time"]' + state + ',\n input[type="url"]' + state + ',\n input[type="week"]' + state + ",\n input:not([type])" + state + ",\n textarea" + state;
1599
+ }
1600
+ function textInputs() {
1601
+ for (var _len = arguments.length, states = new Array(_len), _key = 0; _key < _len; _key++) {
1602
+ states[_key] = arguments[_key];
1603
+ }
1604
+ return statefulSelectors(states, template$1, stateMap$1);
1605
+ }
1606
+ function transitions() {
1607
+ for (var _len = arguments.length, properties = new Array(_len), _key = 0; _key < _len; _key++) {
1608
+ properties[_key] = arguments[_key];
1609
+ }
1610
+ if (Array.isArray(properties[0]) && properties.length === 2) {
1611
+ var value = properties[1];
1612
+ if (typeof value !== "string") {
1613
+ throw new PolishedError(61);
1614
+ }
1615
+ var transitionsString = properties[0].map(function(property) {
1616
+ return property + " " + value;
1617
+ }).join(", ");
1618
+ return {
1619
+ transition: transitionsString
1620
+ };
1621
+ } else {
1622
+ return {
1623
+ transition: properties.join(", ")
1624
+ };
1625
+ }
1626
+ }
1627
+ var defaultMathSymbols, ERRORS, PolishedError, unitRegExp, cssVariableRegex, positionMap, cssRegex, pxtoFactory, em, cssRegex$1, ratioNames, rem, dataURIRegex, formatHintMap, _templateObject, _templateObject$1, functionsMap, getBorderWidth, getBorderColor, namedColorMap, hexRegex, hexRgbaRegex, reducedHexRegex, reducedRgbaHexRegex, rgbRegex, rgbaRegex, hslRegex, hslaRegex, reduceHexValue, isRgb, isRgba, isHsl, isHsla, curriedAdjustHue, curriedDarken, curriedDesaturate, curriedLighten, curriedMix, curriedOpacify, defaultReturnIfLightColor, defaultReturnIfDarkColor, curriedSaturate, curriedSetHue, curriedSetLightness, curriedSetSaturation, curriedShade, curriedTint, curriedTransparentize, sideMap, stateMap, positionMap$1, stateMap$1;
1628
+ var init_polished_esm = __esm({
1629
+ "../../node_modules/polished/dist/polished.esm.js"() {
1630
+ "use strict";
1631
+ init_extends();
1632
+ init_assertThisInitialized();
1633
+ init_inheritsLoose();
1634
+ init_wrapNativeSuper();
1635
+ init_taggedTemplateLiteralLoose();
1636
+ defaultMathSymbols = {
1637
+ symbols: {
1638
+ "!": {
1639
+ postfix: {
1640
+ symbol: "!",
1641
+ f: factorial,
1642
+ notation: "postfix",
1643
+ precedence: 6,
1644
+ rightToLeft: 0,
1645
+ argCount: 1
1646
+ },
1647
+ symbol: "!",
1648
+ regSymbol: "!"
1649
+ },
1650
+ "^": {
1651
+ infix: {
1652
+ symbol: "^",
1653
+ f: power,
1654
+ notation: "infix",
1655
+ precedence: 5,
1656
+ rightToLeft: 1,
1657
+ argCount: 2
1658
+ },
1659
+ symbol: "^",
1660
+ regSymbol: "\\^"
1661
+ },
1662
+ "*": {
1663
+ infix: {
1664
+ symbol: "*",
1665
+ f: multiplication,
1666
+ notation: "infix",
1667
+ precedence: 4,
1668
+ rightToLeft: 0,
1669
+ argCount: 2
1670
+ },
1671
+ symbol: "*",
1672
+ regSymbol: "\\*"
1673
+ },
1674
+ "/": {
1675
+ infix: {
1676
+ symbol: "/",
1677
+ f: division,
1678
+ notation: "infix",
1679
+ precedence: 4,
1680
+ rightToLeft: 0,
1681
+ argCount: 2
1682
+ },
1683
+ symbol: "/",
1684
+ regSymbol: "/"
1685
+ },
1686
+ "+": {
1687
+ infix: {
1688
+ symbol: "+",
1689
+ f: addition,
1690
+ notation: "infix",
1691
+ precedence: 2,
1692
+ rightToLeft: 0,
1693
+ argCount: 2
1694
+ },
1695
+ prefix: {
1696
+ symbol: "+",
1697
+ f: last,
1698
+ notation: "prefix",
1699
+ precedence: 3,
1700
+ rightToLeft: 0,
1701
+ argCount: 1
1702
+ },
1703
+ symbol: "+",
1704
+ regSymbol: "\\+"
1705
+ },
1706
+ "-": {
1707
+ infix: {
1708
+ symbol: "-",
1709
+ f: subtraction,
1710
+ notation: "infix",
1711
+ precedence: 2,
1712
+ rightToLeft: 0,
1713
+ argCount: 2
1714
+ },
1715
+ prefix: {
1716
+ symbol: "-",
1717
+ f: negation,
1718
+ notation: "prefix",
1719
+ precedence: 3,
1720
+ rightToLeft: 0,
1721
+ argCount: 1
1722
+ },
1723
+ symbol: "-",
1724
+ regSymbol: "-"
1725
+ },
1726
+ ",": {
1727
+ infix: {
1728
+ symbol: ",",
1729
+ f: comma,
1730
+ notation: "infix",
1731
+ precedence: 1,
1732
+ rightToLeft: 0,
1733
+ argCount: 2
1734
+ },
1735
+ symbol: ",",
1736
+ regSymbol: ","
1737
+ },
1738
+ "(": {
1739
+ prefix: {
1740
+ symbol: "(",
1741
+ f: last,
1742
+ notation: "prefix",
1743
+ precedence: 0,
1744
+ rightToLeft: 0,
1745
+ argCount: 1
1746
+ },
1747
+ symbol: "(",
1748
+ regSymbol: "\\("
1749
+ },
1750
+ ")": {
1751
+ postfix: {
1752
+ symbol: ")",
1753
+ f: void 0,
1754
+ notation: "postfix",
1755
+ precedence: 0,
1756
+ rightToLeft: 0,
1757
+ argCount: 1
1758
+ },
1759
+ symbol: ")",
1760
+ regSymbol: "\\)"
1761
+ },
1762
+ min: {
1763
+ func: {
1764
+ symbol: "min",
1765
+ f: min,
1766
+ notation: "func",
1767
+ precedence: 0,
1768
+ rightToLeft: 0,
1769
+ argCount: 1
1770
+ },
1771
+ symbol: "min",
1772
+ regSymbol: "min\\b"
1773
+ },
1774
+ max: {
1775
+ func: {
1776
+ symbol: "max",
1777
+ f: max,
1778
+ notation: "func",
1779
+ precedence: 0,
1780
+ rightToLeft: 0,
1781
+ argCount: 1
1782
+ },
1783
+ symbol: "max",
1784
+ regSymbol: "max\\b"
1785
+ },
1786
+ sqrt: {
1787
+ func: {
1788
+ symbol: "sqrt",
1789
+ f: sqrt,
1790
+ notation: "func",
1791
+ precedence: 0,
1792
+ rightToLeft: 0,
1793
+ argCount: 1
1794
+ },
1795
+ symbol: "sqrt",
1796
+ regSymbol: "sqrt\\b"
1797
+ }
1798
+ }
1799
+ };
1800
+ ERRORS = {
1801
+ "1": "Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }).\n\n",
1802
+ "2": "Passed invalid arguments to hsla, please pass multiple numbers e.g. hsla(360, 0.75, 0.4, 0.7) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75, alpha: 0.7 }).\n\n",
1803
+ "3": "Passed an incorrect argument to a color function, please pass a string representation of a color.\n\n",
1804
+ "4": "Couldn't generate valid rgb string from %s, it returned %s.\n\n",
1805
+ "5": "Couldn't parse the color string. Please provide the color as a string in hex, rgb, rgba, hsl or hsla notation.\n\n",
1806
+ "6": "Passed invalid arguments to rgb, please pass multiple numbers e.g. rgb(255, 205, 100) or an object e.g. rgb({ red: 255, green: 205, blue: 100 }).\n\n",
1807
+ "7": "Passed invalid arguments to rgba, please pass multiple numbers e.g. rgb(255, 205, 100, 0.75) or an object e.g. rgb({ red: 255, green: 205, blue: 100, alpha: 0.75 }).\n\n",
1808
+ "8": "Passed invalid argument to toColorString, please pass a RgbColor, RgbaColor, HslColor or HslaColor object.\n\n",
1809
+ "9": "Please provide a number of steps to the modularScale helper.\n\n",
1810
+ "10": "Please pass a number or one of the predefined scales to the modularScale helper as the ratio.\n\n",
1811
+ "11": 'Invalid value passed as base to modularScale, expected number or em string but got "%s"\n\n',
1812
+ "12": 'Expected a string ending in "px" or a number passed as the first argument to %s(), got "%s" instead.\n\n',
1813
+ "13": 'Expected a string ending in "px" or a number passed as the second argument to %s(), got "%s" instead.\n\n',
1814
+ "14": 'Passed invalid pixel value ("%s") to %s(), please pass a value like "12px" or 12.\n\n',
1815
+ "15": 'Passed invalid base value ("%s") to %s(), please pass a value like "12px" or 12.\n\n',
1816
+ "16": "You must provide a template to this method.\n\n",
1817
+ "17": "You passed an unsupported selector state to this method.\n\n",
1818
+ "18": "minScreen and maxScreen must be provided as stringified numbers with the same units.\n\n",
1819
+ "19": "fromSize and toSize must be provided as stringified numbers with the same units.\n\n",
1820
+ "20": "expects either an array of objects or a single object with the properties prop, fromSize, and toSize.\n\n",
1821
+ "21": "expects the objects in the first argument array to have the properties `prop`, `fromSize`, and `toSize`.\n\n",
1822
+ "22": "expects the first argument object to have the properties `prop`, `fromSize`, and `toSize`.\n\n",
1823
+ "23": "fontFace expects a name of a font-family.\n\n",
1824
+ "24": "fontFace expects either the path to the font file(s) or a name of a local copy.\n\n",
1825
+ "25": "fontFace expects localFonts to be an array.\n\n",
1826
+ "26": "fontFace expects fileFormats to be an array.\n\n",
1827
+ "27": "radialGradient requries at least 2 color-stops to properly render.\n\n",
1828
+ "28": "Please supply a filename to retinaImage() as the first argument.\n\n",
1829
+ "29": "Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'.\n\n",
1830
+ "30": "Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",
1831
+ "31": "The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation\n\n",
1832
+ "32": "To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s')\n\n",
1833
+ "33": "The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation\n\n",
1834
+ "34": "borderRadius expects a radius value as a string or number as the second argument.\n\n",
1835
+ "35": 'borderRadius expects one of "top", "bottom", "left" or "right" as the first argument.\n\n',
1836
+ "36": "Property must be a string value.\n\n",
1837
+ "37": "Syntax Error at %s.\n\n",
1838
+ "38": "Formula contains a function that needs parentheses at %s.\n\n",
1839
+ "39": "Formula is missing closing parenthesis at %s.\n\n",
1840
+ "40": "Formula has too many closing parentheses at %s.\n\n",
1841
+ "41": "All values in a formula must have the same unit or be unitless.\n\n",
1842
+ "42": "Please provide a number of steps to the modularScale helper.\n\n",
1843
+ "43": "Please pass a number or one of the predefined scales to the modularScale helper as the ratio.\n\n",
1844
+ "44": "Invalid value passed as base to modularScale, expected number or em/rem string but got %s.\n\n",
1845
+ "45": "Passed invalid argument to hslToColorString, please pass a HslColor or HslaColor object.\n\n",
1846
+ "46": "Passed invalid argument to rgbToColorString, please pass a RgbColor or RgbaColor object.\n\n",
1847
+ "47": "minScreen and maxScreen must be provided as stringified numbers with the same units.\n\n",
1848
+ "48": "fromSize and toSize must be provided as stringified numbers with the same units.\n\n",
1849
+ "49": "Expects either an array of objects or a single object with the properties prop, fromSize, and toSize.\n\n",
1850
+ "50": "Expects the objects in the first argument array to have the properties prop, fromSize, and toSize.\n\n",
1851
+ "51": "Expects the first argument object to have the properties prop, fromSize, and toSize.\n\n",
1852
+ "52": "fontFace expects either the path to the font file(s) or a name of a local copy.\n\n",
1853
+ "53": "fontFace expects localFonts to be an array.\n\n",
1854
+ "54": "fontFace expects fileFormats to be an array.\n\n",
1855
+ "55": "fontFace expects a name of a font-family.\n\n",
1856
+ "56": "linearGradient requries at least 2 color-stops to properly render.\n\n",
1857
+ "57": "radialGradient requries at least 2 color-stops to properly render.\n\n",
1858
+ "58": "Please supply a filename to retinaImage() as the first argument.\n\n",
1859
+ "59": "Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'.\n\n",
1860
+ "60": "Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",
1861
+ "61": "Property must be a string value.\n\n",
1862
+ "62": "borderRadius expects a radius value as a string or number as the second argument.\n\n",
1863
+ "63": 'borderRadius expects one of "top", "bottom", "left" or "right" as the first argument.\n\n',
1864
+ "64": "The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation.\n\n",
1865
+ "65": "To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s').\n\n",
1866
+ "66": "The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation.\n\n",
1867
+ "67": "You must provide a template to this method.\n\n",
1868
+ "68": "You passed an unsupported selector state to this method.\n\n",
1869
+ "69": 'Expected a string ending in "px" or a number passed as the first argument to %s(), got %s instead.\n\n',
1870
+ "70": 'Expected a string ending in "px" or a number passed as the second argument to %s(), got %s instead.\n\n',
1871
+ "71": 'Passed invalid pixel value %s to %s(), please pass a value like "12px" or 12.\n\n',
1872
+ "72": 'Passed invalid base value %s to %s(), please pass a value like "12px" or 12.\n\n',
1873
+ "73": "Please provide a valid CSS variable.\n\n",
1874
+ "74": "CSS variable not found.\n\n",
1875
+ "75": "fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen.\n"
1876
+ };
1877
+ PolishedError = /* @__PURE__ */ function(_Error) {
1878
+ _inheritsLoose(PolishedError2, _Error);
1879
+ function PolishedError2(code) {
1880
+ var _this;
1881
+ if (process.env.NODE_ENV === "production") {
1882
+ _this = _Error.call(this, "An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#" + code + " for more information.") || this;
1883
+ } else {
1884
+ for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
1885
+ args[_key2 - 1] = arguments[_key2];
1886
+ }
1887
+ _this = _Error.call(this, format.apply(void 0, [ERRORS[code]].concat(args))) || this;
1888
+ }
1889
+ return _assertThisInitialized(_this);
1890
+ }
1891
+ return PolishedError2;
1892
+ }(/* @__PURE__ */ _wrapNativeSuper(Error));
1893
+ unitRegExp = /((?!\w)a|na|hc|mc|dg|me[r]?|xe|ni(?![a-zA-Z])|mm|cp|tp|xp|q(?!s)|hv|xamv|nimv|wv|sm|s(?!\D|$)|ged|darg?|nrut)/g;
1894
+ cssVariableRegex = /--[\S]*/g;
1895
+ positionMap = ["Top", "Right", "Bottom", "Left"];
1896
+ cssRegex = /^([+-]?(?:\d+|\d*\.\d+))([a-z]*|%)$/;
1897
+ pxtoFactory = function pxtoFactory2(to) {
1898
+ return function(pxval, base) {
1899
+ if (base === void 0) {
1900
+ base = "16px";
1901
+ }
1902
+ var newPxval = pxval;
1903
+ var newBase = base;
1904
+ if (typeof pxval === "string") {
1905
+ if (!endsWith(pxval, "px")) {
1906
+ throw new PolishedError(69, to, pxval);
1907
+ }
1908
+ newPxval = stripUnit(pxval);
1909
+ }
1910
+ if (typeof base === "string") {
1911
+ if (!endsWith(base, "px")) {
1912
+ throw new PolishedError(70, to, base);
1913
+ }
1914
+ newBase = stripUnit(base);
1915
+ }
1916
+ if (typeof newPxval === "string") {
1917
+ throw new PolishedError(71, pxval, to);
1918
+ }
1919
+ if (typeof newBase === "string") {
1920
+ throw new PolishedError(72, base, to);
1921
+ }
1922
+ return "" + newPxval / newBase + to;
1923
+ };
1924
+ };
1925
+ em = /* @__PURE__ */ pxtoFactory("em");
1926
+ cssRegex$1 = /^([+-]?(?:\d+|\d*\.\d+))([a-z]*|%)$/;
1927
+ ratioNames = {
1928
+ minorSecond: 1.067,
1929
+ majorSecond: 1.125,
1930
+ minorThird: 1.2,
1931
+ majorThird: 1.25,
1932
+ perfectFourth: 1.333,
1933
+ augFourth: 1.414,
1934
+ perfectFifth: 1.5,
1935
+ minorSixth: 1.6,
1936
+ goldenSection: 1.618,
1937
+ majorSixth: 1.667,
1938
+ minorSeventh: 1.778,
1939
+ majorSeventh: 1.875,
1940
+ octave: 2,
1941
+ majorTenth: 2.5,
1942
+ majorEleventh: 2.667,
1943
+ majorTwelfth: 3,
1944
+ doubleOctave: 4
1945
+ };
1946
+ rem = /* @__PURE__ */ pxtoFactory("rem");
1947
+ dataURIRegex = /^\s*data:([a-z]+\/[a-z-]+(;[a-z-]+=[a-z-]+)?)?(;charset=[a-z0-9-]+)?(;base64)?,[a-z0-9!$&',()*+,;=\-._~:@/?%\s]*\s*$/i;
1948
+ formatHintMap = {
1949
+ woff: "woff",
1950
+ woff2: "woff2",
1951
+ ttf: "truetype",
1952
+ otf: "opentype",
1953
+ eot: "embedded-opentype",
1954
+ svg: "svg",
1955
+ svgz: "svg"
1956
+ };
1957
+ functionsMap = {
1958
+ easeInBack: "cubic-bezier(0.600, -0.280, 0.735, 0.045)",
1959
+ easeInCirc: "cubic-bezier(0.600, 0.040, 0.980, 0.335)",
1960
+ easeInCubic: "cubic-bezier(0.550, 0.055, 0.675, 0.190)",
1961
+ easeInExpo: "cubic-bezier(0.950, 0.050, 0.795, 0.035)",
1962
+ easeInQuad: "cubic-bezier(0.550, 0.085, 0.680, 0.530)",
1963
+ easeInQuart: "cubic-bezier(0.895, 0.030, 0.685, 0.220)",
1964
+ easeInQuint: "cubic-bezier(0.755, 0.050, 0.855, 0.060)",
1965
+ easeInSine: "cubic-bezier(0.470, 0.000, 0.745, 0.715)",
1966
+ easeOutBack: "cubic-bezier(0.175, 0.885, 0.320, 1.275)",
1967
+ easeOutCubic: "cubic-bezier(0.215, 0.610, 0.355, 1.000)",
1968
+ easeOutCirc: "cubic-bezier(0.075, 0.820, 0.165, 1.000)",
1969
+ easeOutExpo: "cubic-bezier(0.190, 1.000, 0.220, 1.000)",
1970
+ easeOutQuad: "cubic-bezier(0.250, 0.460, 0.450, 0.940)",
1971
+ easeOutQuart: "cubic-bezier(0.165, 0.840, 0.440, 1.000)",
1972
+ easeOutQuint: "cubic-bezier(0.230, 1.000, 0.320, 1.000)",
1973
+ easeOutSine: "cubic-bezier(0.390, 0.575, 0.565, 1.000)",
1974
+ easeInOutBack: "cubic-bezier(0.680, -0.550, 0.265, 1.550)",
1975
+ easeInOutCirc: "cubic-bezier(0.785, 0.135, 0.150, 0.860)",
1976
+ easeInOutCubic: "cubic-bezier(0.645, 0.045, 0.355, 1.000)",
1977
+ easeInOutExpo: "cubic-bezier(1.000, 0.000, 0.000, 1.000)",
1978
+ easeInOutQuad: "cubic-bezier(0.455, 0.030, 0.515, 0.955)",
1979
+ easeInOutQuart: "cubic-bezier(0.770, 0.000, 0.175, 1.000)",
1980
+ easeInOutQuint: "cubic-bezier(0.860, 0.000, 0.070, 1.000)",
1981
+ easeInOutSine: "cubic-bezier(0.445, 0.050, 0.550, 0.950)"
1982
+ };
1983
+ getBorderWidth = function getBorderWidth2(pointingDirection, height, width) {
1984
+ var fullWidth = "" + width[0] + (width[1] || "");
1985
+ var halfWidth = "" + width[0] / 2 + (width[1] || "");
1986
+ var fullHeight = "" + height[0] + (height[1] || "");
1987
+ var halfHeight = "" + height[0] / 2 + (height[1] || "");
1988
+ switch (pointingDirection) {
1989
+ case "top":
1990
+ return "0 " + halfWidth + " " + fullHeight + " " + halfWidth;
1991
+ case "topLeft":
1992
+ return fullWidth + " " + fullHeight + " 0 0";
1993
+ case "left":
1994
+ return halfHeight + " " + fullWidth + " " + halfHeight + " 0";
1995
+ case "bottomLeft":
1996
+ return fullWidth + " 0 0 " + fullHeight;
1997
+ case "bottom":
1998
+ return fullHeight + " " + halfWidth + " 0 " + halfWidth;
1999
+ case "bottomRight":
2000
+ return "0 0 " + fullWidth + " " + fullHeight;
2001
+ case "right":
2002
+ return halfHeight + " 0 " + halfHeight + " " + fullWidth;
2003
+ case "topRight":
2004
+ default:
2005
+ return "0 " + fullWidth + " " + fullHeight + " 0";
2006
+ }
2007
+ };
2008
+ getBorderColor = function getBorderColor2(pointingDirection, foregroundColor) {
2009
+ switch (pointingDirection) {
2010
+ case "top":
2011
+ case "bottomRight":
2012
+ return {
2013
+ borderBottomColor: foregroundColor
2014
+ };
2015
+ case "right":
2016
+ case "bottomLeft":
2017
+ return {
2018
+ borderLeftColor: foregroundColor
2019
+ };
2020
+ case "bottom":
2021
+ case "topLeft":
2022
+ return {
2023
+ borderTopColor: foregroundColor
2024
+ };
2025
+ case "left":
2026
+ case "topRight":
2027
+ return {
2028
+ borderRightColor: foregroundColor
2029
+ };
2030
+ default:
2031
+ throw new PolishedError(59);
2032
+ }
2033
+ };
2034
+ namedColorMap = {
2035
+ aliceblue: "f0f8ff",
2036
+ antiquewhite: "faebd7",
2037
+ aqua: "00ffff",
2038
+ aquamarine: "7fffd4",
2039
+ azure: "f0ffff",
2040
+ beige: "f5f5dc",
2041
+ bisque: "ffe4c4",
2042
+ black: "000",
2043
+ blanchedalmond: "ffebcd",
2044
+ blue: "0000ff",
2045
+ blueviolet: "8a2be2",
2046
+ brown: "a52a2a",
2047
+ burlywood: "deb887",
2048
+ cadetblue: "5f9ea0",
2049
+ chartreuse: "7fff00",
2050
+ chocolate: "d2691e",
2051
+ coral: "ff7f50",
2052
+ cornflowerblue: "6495ed",
2053
+ cornsilk: "fff8dc",
2054
+ crimson: "dc143c",
2055
+ cyan: "00ffff",
2056
+ darkblue: "00008b",
2057
+ darkcyan: "008b8b",
2058
+ darkgoldenrod: "b8860b",
2059
+ darkgray: "a9a9a9",
2060
+ darkgreen: "006400",
2061
+ darkgrey: "a9a9a9",
2062
+ darkkhaki: "bdb76b",
2063
+ darkmagenta: "8b008b",
2064
+ darkolivegreen: "556b2f",
2065
+ darkorange: "ff8c00",
2066
+ darkorchid: "9932cc",
2067
+ darkred: "8b0000",
2068
+ darksalmon: "e9967a",
2069
+ darkseagreen: "8fbc8f",
2070
+ darkslateblue: "483d8b",
2071
+ darkslategray: "2f4f4f",
2072
+ darkslategrey: "2f4f4f",
2073
+ darkturquoise: "00ced1",
2074
+ darkviolet: "9400d3",
2075
+ deeppink: "ff1493",
2076
+ deepskyblue: "00bfff",
2077
+ dimgray: "696969",
2078
+ dimgrey: "696969",
2079
+ dodgerblue: "1e90ff",
2080
+ firebrick: "b22222",
2081
+ floralwhite: "fffaf0",
2082
+ forestgreen: "228b22",
2083
+ fuchsia: "ff00ff",
2084
+ gainsboro: "dcdcdc",
2085
+ ghostwhite: "f8f8ff",
2086
+ gold: "ffd700",
2087
+ goldenrod: "daa520",
2088
+ gray: "808080",
2089
+ green: "008000",
2090
+ greenyellow: "adff2f",
2091
+ grey: "808080",
2092
+ honeydew: "f0fff0",
2093
+ hotpink: "ff69b4",
2094
+ indianred: "cd5c5c",
2095
+ indigo: "4b0082",
2096
+ ivory: "fffff0",
2097
+ khaki: "f0e68c",
2098
+ lavender: "e6e6fa",
2099
+ lavenderblush: "fff0f5",
2100
+ lawngreen: "7cfc00",
2101
+ lemonchiffon: "fffacd",
2102
+ lightblue: "add8e6",
2103
+ lightcoral: "f08080",
2104
+ lightcyan: "e0ffff",
2105
+ lightgoldenrodyellow: "fafad2",
2106
+ lightgray: "d3d3d3",
2107
+ lightgreen: "90ee90",
2108
+ lightgrey: "d3d3d3",
2109
+ lightpink: "ffb6c1",
2110
+ lightsalmon: "ffa07a",
2111
+ lightseagreen: "20b2aa",
2112
+ lightskyblue: "87cefa",
2113
+ lightslategray: "789",
2114
+ lightslategrey: "789",
2115
+ lightsteelblue: "b0c4de",
2116
+ lightyellow: "ffffe0",
2117
+ lime: "0f0",
2118
+ limegreen: "32cd32",
2119
+ linen: "faf0e6",
2120
+ magenta: "f0f",
2121
+ maroon: "800000",
2122
+ mediumaquamarine: "66cdaa",
2123
+ mediumblue: "0000cd",
2124
+ mediumorchid: "ba55d3",
2125
+ mediumpurple: "9370db",
2126
+ mediumseagreen: "3cb371",
2127
+ mediumslateblue: "7b68ee",
2128
+ mediumspringgreen: "00fa9a",
2129
+ mediumturquoise: "48d1cc",
2130
+ mediumvioletred: "c71585",
2131
+ midnightblue: "191970",
2132
+ mintcream: "f5fffa",
2133
+ mistyrose: "ffe4e1",
2134
+ moccasin: "ffe4b5",
2135
+ navajowhite: "ffdead",
2136
+ navy: "000080",
2137
+ oldlace: "fdf5e6",
2138
+ olive: "808000",
2139
+ olivedrab: "6b8e23",
2140
+ orange: "ffa500",
2141
+ orangered: "ff4500",
2142
+ orchid: "da70d6",
2143
+ palegoldenrod: "eee8aa",
2144
+ palegreen: "98fb98",
2145
+ paleturquoise: "afeeee",
2146
+ palevioletred: "db7093",
2147
+ papayawhip: "ffefd5",
2148
+ peachpuff: "ffdab9",
2149
+ peru: "cd853f",
2150
+ pink: "ffc0cb",
2151
+ plum: "dda0dd",
2152
+ powderblue: "b0e0e6",
2153
+ purple: "800080",
2154
+ rebeccapurple: "639",
2155
+ red: "f00",
2156
+ rosybrown: "bc8f8f",
2157
+ royalblue: "4169e1",
2158
+ saddlebrown: "8b4513",
2159
+ salmon: "fa8072",
2160
+ sandybrown: "f4a460",
2161
+ seagreen: "2e8b57",
2162
+ seashell: "fff5ee",
2163
+ sienna: "a0522d",
2164
+ silver: "c0c0c0",
2165
+ skyblue: "87ceeb",
2166
+ slateblue: "6a5acd",
2167
+ slategray: "708090",
2168
+ slategrey: "708090",
2169
+ snow: "fffafa",
2170
+ springgreen: "00ff7f",
2171
+ steelblue: "4682b4",
2172
+ tan: "d2b48c",
2173
+ teal: "008080",
2174
+ thistle: "d8bfd8",
2175
+ tomato: "ff6347",
2176
+ turquoise: "40e0d0",
2177
+ violet: "ee82ee",
2178
+ wheat: "f5deb3",
2179
+ white: "fff",
2180
+ whitesmoke: "f5f5f5",
2181
+ yellow: "ff0",
2182
+ yellowgreen: "9acd32"
2183
+ };
2184
+ hexRegex = /^#[a-fA-F0-9]{6}$/;
2185
+ hexRgbaRegex = /^#[a-fA-F0-9]{8}$/;
2186
+ reducedHexRegex = /^#[a-fA-F0-9]{3}$/;
2187
+ reducedRgbaHexRegex = /^#[a-fA-F0-9]{4}$/;
2188
+ rgbRegex = /^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i;
2189
+ rgbaRegex = /^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*([-+]?[0-9]*[.]?[0-9]+)\s*\)$/i;
2190
+ hslRegex = /^hsl\(\s*(\d{0,3}[.]?[0-9]+)\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i;
2191
+ hslaRegex = /^hsla\(\s*(\d{0,3}[.]?[0-9]+)\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*,\s*([-+]?[0-9]*[.]?[0-9]+)\s*\)$/i;
2192
+ reduceHexValue = function reduceHexValue2(value) {
2193
+ if (value.length === 7 && value[1] === value[2] && value[3] === value[4] && value[5] === value[6]) {
2194
+ return "#" + value[1] + value[3] + value[5];
2195
+ }
2196
+ return value;
2197
+ };
2198
+ isRgb = function isRgb2(color) {
2199
+ return typeof color.red === "number" && typeof color.green === "number" && typeof color.blue === "number" && (typeof color.alpha !== "number" || typeof color.alpha === "undefined");
2200
+ };
2201
+ isRgba = function isRgba2(color) {
2202
+ return typeof color.red === "number" && typeof color.green === "number" && typeof color.blue === "number" && typeof color.alpha === "number";
2203
+ };
2204
+ isHsl = function isHsl2(color) {
2205
+ return typeof color.hue === "number" && typeof color.saturation === "number" && typeof color.lightness === "number" && (typeof color.alpha !== "number" || typeof color.alpha === "undefined");
2206
+ };
2207
+ isHsla = function isHsla2(color) {
2208
+ return typeof color.hue === "number" && typeof color.saturation === "number" && typeof color.lightness === "number" && typeof color.alpha === "number";
2209
+ };
2210
+ curriedAdjustHue = /* @__PURE__ */ curry(adjustHue);
2211
+ curriedDarken = /* @__PURE__ */ curry(darken);
2212
+ curriedDesaturate = /* @__PURE__ */ curry(desaturate);
2213
+ curriedLighten = /* @__PURE__ */ curry(lighten);
2214
+ curriedMix = /* @__PURE__ */ curry(mix);
2215
+ curriedOpacify = /* @__PURE__ */ curry(opacify);
2216
+ defaultReturnIfLightColor = "#000";
2217
+ defaultReturnIfDarkColor = "#fff";
2218
+ curriedSaturate = /* @__PURE__ */ curry(saturate);
2219
+ curriedSetHue = /* @__PURE__ */ curry(setHue);
2220
+ curriedSetLightness = /* @__PURE__ */ curry(setLightness);
2221
+ curriedSetSaturation = /* @__PURE__ */ curry(setSaturation);
2222
+ curriedShade = /* @__PURE__ */ curry(shade);
2223
+ curriedTint = /* @__PURE__ */ curry(tint);
2224
+ curriedTransparentize = /* @__PURE__ */ curry(transparentize);
2225
+ sideMap = ["top", "right", "bottom", "left"];
2226
+ stateMap = [void 0, null, "active", "focus", "hover"];
2227
+ positionMap$1 = ["absolute", "fixed", "relative", "static", "sticky"];
2228
+ stateMap$1 = [void 0, null, "active", "focus", "hover"];
2229
+ }
2230
+ });
2231
+
2232
+ // ../../seeds-design-tokens/seeds-color/dist/seeds-color.js
2233
+ var require_seeds_color = __commonJS({
2234
+ "../../seeds-design-tokens/seeds-color/dist/seeds-color.js"(exports, module) {
2235
+ "use strict";
2236
+ module.exports = {
2237
+ COLOR_GREEN_0: "#ebf9eb",
2238
+ COLOR_GREEN_100: "#d7f4d7",
2239
+ COLOR_GREEN_200: "#c2f2bd",
2240
+ COLOR_GREEN_300: "#98e58e",
2241
+ COLOR_GREEN_400: "#75dd66",
2242
+ COLOR_GREEN_500: "#59cb59",
2243
+ COLOR_GREEN_600: "#2bb656",
2244
+ COLOR_GREEN_700: "#0ca750",
2245
+ COLOR_GREEN_800: "#008b46",
2246
+ COLOR_GREEN_900: "#006b40",
2247
+ COLOR_GREEN_1000: "#08422f",
2248
+ COLOR_GREEN_1100: "#002b20",
2249
+ COLOR_TEAL_0: "#e5f9f5",
2250
+ COLOR_TEAL_50: "#CCF1EA",
2251
+ COLOR_TEAL_100: "#cdf7ef",
2252
+ COLOR_TEAL_200: "#b3f2e6",
2253
+ COLOR_TEAL_300: "#7dead5",
2254
+ COLOR_TEAL_400: "#24e0c5",
2255
+ COLOR_TEAL_500: "#08c4b2",
2256
+ COLOR_TEAL_600: "#00a99c",
2257
+ COLOR_TEAL_700: "#0b968f",
2258
+ COLOR_TEAL_800: "#067c7c",
2259
+ COLOR_TEAL_900: "#026661",
2260
+ COLOR_TEAL_1000: "#083f3f",
2261
+ COLOR_TEAL_1100: "#002528",
2262
+ COLOR_AQUA_0: "#d9fcfb",
2263
+ COLOR_AQUA_100: "#c5f9f9",
2264
+ COLOR_AQUA_200: "#a5f2f2",
2265
+ COLOR_AQUA_300: "#76e5e2",
2266
+ COLOR_AQUA_400: "#33d6e2",
2267
+ COLOR_AQUA_500: "#17b8ce",
2268
+ COLOR_AQUA_600: "#0797ae",
2269
+ COLOR_AQUA_700: "#0b8599",
2270
+ COLOR_AQUA_800: "#0f6e84",
2271
+ COLOR_AQUA_900: "#035e73",
2272
+ COLOR_AQUA_1000: "#083d4f",
2273
+ COLOR_AQUA_1100: "#002838",
2274
+ COLOR_BLUE_0: "#e9f4ff",
2275
+ COLOR_BLUE_100: "#deebfe",
2276
+ COLOR_BLUE_200: "#c7dbf9",
2277
+ COLOR_BLUE_300: "#a1c2f8",
2278
+ COLOR_BLUE_400: "#679eff",
2279
+ COLOR_BLUE_500: "#3876e3",
2280
+ COLOR_BLUE_600: "#2b68d3",
2281
+ COLOR_BLUE_700: "#205bc3",
2282
+ COLOR_BLUE_800: "#1150aa",
2283
+ COLOR_BLUE_900: "#0c3f89",
2284
+ COLOR_BLUE_1000: "#0a2960",
2285
+ COLOR_BLUE_1100: "#001738",
2286
+ COLOR_PURPLE_0: "#f2f2f9",
2287
+ COLOR_PURPLE_100: "#eaeaf9",
2288
+ COLOR_PURPLE_200: "#d8d7f9",
2289
+ COLOR_PURPLE_300: "#c1c1f7",
2290
+ COLOR_PURPLE_400: "#a193f2",
2291
+ COLOR_PURPLE_500: "#9180f4",
2292
+ COLOR_PURPLE_600: "#816fea",
2293
+ COLOR_PURPLE_700: "#6f5ed3",
2294
+ COLOR_PURPLE_800: "#5e4eba",
2295
+ COLOR_PURPLE_900: "#483a9c",
2296
+ COLOR_PURPLE_1000: "#2d246b",
2297
+ COLOR_PURPLE_1100: "#1d1d38",
2298
+ COLOR_MAGENTA_0: "#fef0ff",
2299
+ COLOR_MAGENTA_100: "#f9e3fc",
2300
+ COLOR_MAGENTA_200: "#f4c4f7",
2301
+ COLOR_MAGENTA_300: "#edadf2",
2302
+ COLOR_MAGENTA_350: "#EC9AF1",
2303
+ COLOR_MAGENTA_400: "#f282f5",
2304
+ COLOR_MAGENTA_500: "#db61db",
2305
+ COLOR_MAGENTA_600: "#c44eb9",
2306
+ COLOR_MAGENTA_700: "#ac44a8",
2307
+ COLOR_MAGENTA_800: "#8f3896",
2308
+ COLOR_MAGENTA_900: "#6c2277",
2309
+ COLOR_MAGENTA_1000: "#451551",
2310
+ COLOR_MAGENTA_1100: "#29192d",
2311
+ COLOR_PINK_0: "#ffe9f3",
2312
+ COLOR_PINK_100: "#fcdbeb",
2313
+ COLOR_PINK_200: "#ffb5d5",
2314
+ COLOR_PINK_300: "#ff95c1",
2315
+ COLOR_PINK_400: "#ff76ae",
2316
+ COLOR_PINK_500: "#ef588b",
2317
+ COLOR_PINK_600: "#e0447c",
2318
+ COLOR_PINK_700: "#ce3665",
2319
+ COLOR_PINK_800: "#b22f5b",
2320
+ COLOR_PINK_900: "#931847",
2321
+ COLOR_PINK_1000: "#561231",
2322
+ COLOR_PINK_1100: "#2b1721",
2323
+ COLOR_RED_0: "#ffeae9",
2324
+ COLOR_RED_100: "#ffd5d2",
2325
+ COLOR_RED_200: "#ffb8b1",
2326
+ COLOR_RED_300: "#ff9c8f",
2327
+ COLOR_RED_400: "#ff7f6e",
2328
+ COLOR_RED_500: "#f76054",
2329
+ COLOR_RED_600: "#ed4c42",
2330
+ COLOR_RED_700: "#db3e3e",
2331
+ COLOR_RED_800: "#c63434",
2332
+ COLOR_RED_900: "#992222",
2333
+ COLOR_RED_1000: "#6d1313",
2334
+ COLOR_RED_1100: "#2b1111",
2335
+ COLOR_ORANGE_0: "#ffede3",
2336
+ COLOR_ORANGE_100: "#fcdccc",
2337
+ COLOR_ORANGE_200: "#ffc6a4",
2338
+ COLOR_ORANGE_300: "#ffb180",
2339
+ COLOR_ORANGE_400: "#ff9c5d",
2340
+ COLOR_ORANGE_500: "#fc8943",
2341
+ COLOR_ORANGE_600: "#f57d33",
2342
+ COLOR_ORANGE_700: "#ed7024",
2343
+ COLOR_ORANGE_800: "#ce5511",
2344
+ COLOR_ORANGE_900: "#962c0b",
2345
+ COLOR_ORANGE_1000: "#601700",
2346
+ COLOR_ORANGE_1100: "#2d130e",
2347
+ COLOR_NEUTRAL_0: "#FFFFFF",
2348
+ COLOR_NEUTRAL_100: "#f3f4f4",
2349
+ COLOR_NEUTRAL_200: "#dee1e1",
2350
+ COLOR_NEUTRAL_300: "#c8cccc",
2351
+ COLOR_NEUTRAL_400: "#b0b6b7",
2352
+ COLOR_NEUTRAL_500: "#929a9b",
2353
+ COLOR_NEUTRAL_600: "#6e797a",
2354
+ COLOR_NEUTRAL_700: "#515e5f",
2355
+ COLOR_NEUTRAL_800: "#364141",
2356
+ COLOR_NEUTRAL_900: "#273333",
2357
+ COLOR_NEUTRAL_1000: "#162020",
2358
+ COLOR_NEUTRAL_1100: "#040404",
2359
+ COLOR_YELLOW_0: "#fff8e2",
2360
+ COLOR_YELLOW_100: "#fdefcd",
2361
+ COLOR_YELLOW_200: "#ffe99a",
2362
+ COLOR_YELLOW_300: "#ffe16e",
2363
+ COLOR_YELLOW_400: "#ffd943",
2364
+ COLOR_YELLOW_500: "#ffcd1c",
2365
+ COLOR_YELLOW_600: "#ffbc00",
2366
+ COLOR_YELLOW_700: "#dd9903",
2367
+ COLOR_YELLOW_800: "#ba7506",
2368
+ COLOR_YELLOW_900: "#944c0c",
2369
+ COLOR_YELLOW_1000: "#542a00",
2370
+ COLOR_YELLOW_1100: "#2d1a05",
2371
+ COLOR_BAMBU_TEAL_400: "#11a7aa",
2372
+ COLOR_BAMBU_TEAL_500: "#078888",
2373
+ COLOR_BAMBU_TEAL_600: "#0f6270",
2374
+ COLOR_BAMBU_TEAL_700: "#0a3f49",
2375
+ COLOR_BAMBU_YELLOW_500: "#f9b450",
2376
+ COLOR_BAMBU_YELLOW_600: "#ffa017"
2377
+ };
2378
+ }
2379
+ });
2380
+
2381
+ // ../../seeds-design-tokens/seeds-networkcolor/dist/seeds-networkcolor.js
2382
+ var require_seeds_networkcolor = __commonJS({
2383
+ "../../seeds-design-tokens/seeds-networkcolor/dist/seeds-networkcolor.js"(exports, module) {
2384
+ "use strict";
2385
+ module.exports = {
2386
+ NETWORK_COLOR_TWITTER: "#1da1f2",
2387
+ NETWORK_COLOR_TWITTER_LIKE: "#e0245e",
2388
+ NETWORK_COLOR_FACEBOOK: "#217bee",
2389
+ NETWORK_COLOR_FACEBOOK_AUDIENCE_NETWORK: "#58409B",
2390
+ NETWORK_COLOR_LINKEDIN: "#0A66C2",
2391
+ NETWORK_COLOR_INSTAGRAM: "#e4405f",
2392
+ NETWORK_COLOR_FEEDLY: "#2bb24c",
2393
+ NETWORK_COLOR_ANALYTICS: "#ef6c00",
2394
+ NETWORK_COLOR_YOUTUBE: "#ff0000",
2395
+ NETWORK_COLOR_MESSENGER: "#0084ff",
2396
+ NETWORK_COLOR_SNAPCHAT: "#fffc00",
2397
+ NETWORK_COLOR_PINTEREST: "#E60023",
2398
+ NETWORK_COLOR_REDDIT: "#ff4500",
2399
+ NETWORK_COLOR_TUMBLR: "#35465c",
2400
+ NETWORK_COLOR_GOOGLE_MY_BUSINESS: "#4285F4",
2401
+ NETWORK_COLOR_TRIPADVISOR: "#00B087",
2402
+ NETWORK_COLOR_GLASSDOOR: "#0CAA41",
2403
+ NETWORK_COLOR_APPLE_APP_STORE: "#17C8F5",
2404
+ NETWORK_COLOR_GOOGLE_PLAY_STORE: "#01875F",
2405
+ NETWORK_COLOR_GOOGLE_BUSINESS_MESSAGES: "#1A73EA",
2406
+ NETWORK_COLOR_SALESFORCE: "#1589EE",
2407
+ NETWORK_COLOR_ZENDESK: "#03363D",
2408
+ NETWORK_COLOR_HUBSPOT: "#FF7A59",
2409
+ NETWORK_COLOR_MICROSOFT_DYNAMICS: "#002050",
2410
+ NETWORK_COLOR_SHOPIFY: "#96bf48",
2411
+ NETWORK_COLOR_YELP: "#FF1A1A",
2412
+ NETWORK_COLOR_WHATSAPP: "#25D366",
2413
+ NETWORK_COLOR_TIKTOK: "#000000",
2414
+ NETWORK_COLOR_THREADS: "#000000",
2415
+ NETWORK_COLOR_TRUSTPILOT: "#04DA8D",
2416
+ NETWORK_COLOR_TRUSTPILOT_0_STAR: "#DCDCE6",
2417
+ NETWORK_COLOR_TRUSTPILOT_1_STAR: "#FF3722",
2418
+ NETWORK_COLOR_TRUSTPILOT_2_STAR: "#FF8622",
2419
+ NETWORK_COLOR_TRUSTPILOT_3_STAR: "#FFCE00",
2420
+ NETWORK_COLOR_TRUSTPILOT_4_STAR: "#73CF11",
2421
+ NETWORK_COLOR_TRUSTPILOT_5_STAR: "#00B67A"
2422
+ };
2423
+ }
2424
+ });
2425
+
2426
+ // ../../seeds-design-tokens/seeds-typography/dist/seeds-typography.js
2427
+ var require_seeds_typography = __commonJS({
2428
+ "../../seeds-design-tokens/seeds-typography/dist/seeds-typography.js"(exports, module) {
2429
+ "use strict";
2430
+ module.exports = {
2431
+ TYPOGRAPHY_FAMILY: 'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif',
2432
+ TYPOGRAPHY_FAMILY_PROXIMA: '"Proxima Nova", proxima-nova, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',
2433
+ TYPOGRAPHY_FAMILY_RECOLETA: '"Recoleta", recoleta, proxima-nova, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',
2434
+ TYPOGRAPHY_FAMILY_ROBOTO: '"Roboto Serif", roboto-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',
2435
+ TYPOGRAPHY_SIZE_100: {
2436
+ fontSize: "11px",
2437
+ lineHeight: "18.666666666666668px"
2438
+ },
2439
+ TYPOGRAPHY_SIZE_200: {
2440
+ fontSize: "13px",
2441
+ lineHeight: "21.333333333333332px"
2442
+ },
2443
+ TYPOGRAPHY_SIZE_300: {
2444
+ fontSize: "16px",
2445
+ lineHeight: "24px"
2446
+ },
2447
+ TYPOGRAPHY_SIZE_400: {
2448
+ fontSize: "18px",
2449
+ lineHeight: "26.666666666666668px"
2450
+ },
2451
+ TYPOGRAPHY_SIZE_500: {
2452
+ fontSize: "21px",
2453
+ lineHeight: "29.333333333333332px"
2454
+ },
2455
+ TYPOGRAPHY_SIZE_600: {
2456
+ fontSize: "24px",
2457
+ lineHeight: "32px"
2458
+ },
2459
+ TYPOGRAPHY_SIZE_700: {
2460
+ fontSize: "32px",
2461
+ lineHeight: "40px"
2462
+ },
2463
+ TYPOGRAPHY_SIZE_800: {
2464
+ fontSize: "43px",
2465
+ lineHeight: "50.666666666666664px"
2466
+ },
2467
+ TYPOGRAPHY_SIZE_900: {
2468
+ fontSize: "57px",
2469
+ lineHeight: "64px"
2470
+ },
2471
+ TYPOGRAPHY_SIZE_1000: {
2472
+ fontSize: "76px",
2473
+ lineHeight: "80px"
2474
+ },
2475
+ TYPOGRAPHY_SIZE_1100: {
2476
+ fontSize: "101px",
2477
+ lineHeight: "101.33333333333333px"
2478
+ },
2479
+ TYPOGRAPHY_SIZE_1200: {
2480
+ fontSize: "135px",
2481
+ lineHeight: "125.33333333333333px"
2482
+ },
2483
+ TYPOGRAPHY_WEIGHT_NORMAL: "400",
2484
+ TYPOGRAPHY_WEIGHT_SEMIBOLD: "600",
2485
+ TYPOGRAPHY_WEIGHT_BOLD: "700",
2486
+ TYPOGRAPHY_WEIGHT_EXTRA_BOLD: "800"
2487
+ };
2488
+ }
2489
+ });
2490
+
2491
+ // ../../seeds-design-tokens/seeds-space/dist/seeds-space.js
2492
+ var require_seeds_space = __commonJS({
2493
+ "../../seeds-design-tokens/seeds-space/dist/seeds-space.js"(exports, module) {
2494
+ "use strict";
2495
+ module.exports = {
2496
+ SPACE_SIZE_0: "0px",
2497
+ SPACE_SIZE_100: "2px",
2498
+ SPACE_SIZE_200: "4px",
2499
+ SPACE_SIZE_300: "8px",
2500
+ SPACE_SIZE_350: "12px",
2501
+ SPACE_SIZE_400: "16px",
2502
+ SPACE_SIZE_450: "24px",
2503
+ SPACE_SIZE_500: "32px",
2504
+ SPACE_SIZE_600: "40px"
2505
+ };
2506
+ }
2507
+ });
2508
+
2509
+ // ../../seeds-design-tokens/seeds-depth/dist/seeds-depth.js
2510
+ var require_seeds_depth = __commonJS({
2511
+ "../../seeds-design-tokens/seeds-depth/dist/seeds-depth.js"(exports, module) {
2512
+ "use strict";
2513
+ module.exports = {
2514
+ ELEVATION_LEVEL_100: "0px 2px 4px",
2515
+ ELEVATION_LEVEL_300: "0px 8px 16px",
2516
+ ELEVATION_LEVEL_400: "0px 16px 32px"
2517
+ };
2518
+ }
2519
+ });
2520
+
2521
+ // ../../seeds-design-tokens/seeds-motion/dist/seeds-motion.js
2522
+ var require_seeds_motion = __commonJS({
2523
+ "../../seeds-design-tokens/seeds-motion/dist/seeds-motion.js"(exports, module) {
2524
+ "use strict";
2525
+ module.exports = {
2526
+ MOTION_EASE_IN: "cubic-bezier(.4, 0, .7, .2)",
2527
+ MOTION_EASE_OUT: "cubic-bezier(0, 0, .2, 1)",
2528
+ MOTION_EASE_INOUT: "cubic-bezier(.4, 0, .2, 1)",
2529
+ MOTION_DURATION_FAST: ".15s",
2530
+ MOTION_DURATION_MEDIUM: ".3s",
2531
+ MOTION_DURATION_SLOW: ".6s"
2532
+ };
2533
+ }
2534
+ });
2535
+
2536
+ // ../../seeds-design-tokens/seeds-border/dist/seeds-border.js
2537
+ var require_seeds_border = __commonJS({
2538
+ "../../seeds-design-tokens/seeds-border/dist/seeds-border.js"(exports, module) {
2539
+ "use strict";
2540
+ module.exports = {
2541
+ BORDER_RADIUS_400: "4px",
2542
+ BORDER_RADIUS_500: "6px",
2543
+ BORDER_RADIUS_600: "8px",
2544
+ BORDER_RADIUS_1000: "999999px",
2545
+ BORDER_WIDTH_500: "1px",
2546
+ BORDER_WIDTH_600: "2px"
2547
+ };
2548
+ }
2549
+ });
2550
+
2551
+ // ../seeds-react-theme/commonjs/light/literal-colors.js
2552
+ var require_literal_colors = __commonJS({
2553
+ "../seeds-react-theme/commonjs/light/literal-colors.js"(exports) {
2554
+ "use strict";
2555
+ Object.defineProperty(exports, "__esModule", {
2556
+ value: true
2557
+ });
2558
+ exports.default = void 0;
2559
+ var _seedsColor = _interopRequireDefault(require_seeds_color());
2560
+ function _interopRequireDefault(obj) {
2561
+ return obj && obj.__esModule ? obj : { default: obj };
2562
+ }
2563
+ var literalColors = {
2564
+ neutral: {
2565
+ "0": _seedsColor.default.COLOR_NEUTRAL_0,
2566
+ "100": _seedsColor.default.COLOR_NEUTRAL_100,
2567
+ "200": _seedsColor.default.COLOR_NEUTRAL_200,
2568
+ "300": _seedsColor.default.COLOR_NEUTRAL_300,
2569
+ "400": _seedsColor.default.COLOR_NEUTRAL_400,
2570
+ "500": _seedsColor.default.COLOR_NEUTRAL_500,
2571
+ "600": _seedsColor.default.COLOR_NEUTRAL_600,
2572
+ "700": _seedsColor.default.COLOR_NEUTRAL_700,
2573
+ "800": _seedsColor.default.COLOR_NEUTRAL_800,
2574
+ "900": _seedsColor.default.COLOR_NEUTRAL_900,
2575
+ "1000": _seedsColor.default.COLOR_NEUTRAL_1000,
2576
+ "1100": _seedsColor.default.COLOR_NEUTRAL_1100
2577
+ },
2578
+ green: {
2579
+ "0": _seedsColor.default.COLOR_GREEN_0,
2580
+ "100": _seedsColor.default.COLOR_GREEN_100,
2581
+ "200": _seedsColor.default.COLOR_GREEN_200,
2582
+ "300": _seedsColor.default.COLOR_GREEN_300,
2583
+ "400": _seedsColor.default.COLOR_GREEN_400,
2584
+ "500": _seedsColor.default.COLOR_GREEN_500,
2585
+ "600": _seedsColor.default.COLOR_GREEN_600,
2586
+ "700": _seedsColor.default.COLOR_GREEN_700,
2587
+ "800": _seedsColor.default.COLOR_GREEN_800,
2588
+ "900": _seedsColor.default.COLOR_GREEN_900,
2589
+ "1000": _seedsColor.default.COLOR_GREEN_1000,
2590
+ "1100": _seedsColor.default.COLOR_GREEN_1100
2591
+ },
2592
+ red: {
2593
+ "0": _seedsColor.default.COLOR_RED_0,
2594
+ "100": _seedsColor.default.COLOR_RED_100,
2595
+ "200": _seedsColor.default.COLOR_RED_200,
2596
+ "300": _seedsColor.default.COLOR_RED_300,
2597
+ "400": _seedsColor.default.COLOR_RED_400,
2598
+ "500": _seedsColor.default.COLOR_RED_500,
2599
+ "600": _seedsColor.default.COLOR_RED_600,
2600
+ "700": _seedsColor.default.COLOR_RED_700,
2601
+ "800": _seedsColor.default.COLOR_RED_800,
2602
+ "900": _seedsColor.default.COLOR_RED_900,
2603
+ "1000": _seedsColor.default.COLOR_RED_1000,
2604
+ "1100": _seedsColor.default.COLOR_RED_1100
2605
+ },
2606
+ blue: {
2607
+ "0": _seedsColor.default.COLOR_BLUE_0,
2608
+ "100": _seedsColor.default.COLOR_BLUE_100,
2609
+ "200": _seedsColor.default.COLOR_BLUE_200,
2610
+ "300": _seedsColor.default.COLOR_BLUE_300,
2611
+ "400": _seedsColor.default.COLOR_BLUE_400,
2612
+ "500": _seedsColor.default.COLOR_BLUE_500,
2613
+ "600": _seedsColor.default.COLOR_BLUE_600,
2614
+ "700": _seedsColor.default.COLOR_BLUE_700,
2615
+ "800": _seedsColor.default.COLOR_BLUE_800,
2616
+ "900": _seedsColor.default.COLOR_BLUE_900,
2617
+ "1000": _seedsColor.default.COLOR_BLUE_1000,
2618
+ "1100": _seedsColor.default.COLOR_BLUE_1100
2619
+ },
2620
+ teal: {
2621
+ "0": _seedsColor.default.COLOR_TEAL_0,
2622
+ "50": _seedsColor.default.COLOR_TEAL_50,
2623
+ "100": _seedsColor.default.COLOR_TEAL_100,
2624
+ "200": _seedsColor.default.COLOR_TEAL_200,
2625
+ "300": _seedsColor.default.COLOR_TEAL_300,
2626
+ "400": _seedsColor.default.COLOR_TEAL_400,
2627
+ "500": _seedsColor.default.COLOR_TEAL_500,
2628
+ "600": _seedsColor.default.COLOR_TEAL_600,
2629
+ "700": _seedsColor.default.COLOR_TEAL_700,
2630
+ "800": _seedsColor.default.COLOR_TEAL_800,
2631
+ "900": _seedsColor.default.COLOR_TEAL_900,
2632
+ "1000": _seedsColor.default.COLOR_TEAL_1000,
2633
+ "1100": _seedsColor.default.COLOR_TEAL_1100
2634
+ },
2635
+ aqua: {
2636
+ "0": _seedsColor.default.COLOR_AQUA_0,
2637
+ "100": _seedsColor.default.COLOR_AQUA_100,
2638
+ "200": _seedsColor.default.COLOR_AQUA_200,
2639
+ "300": _seedsColor.default.COLOR_AQUA_300,
2640
+ "400": _seedsColor.default.COLOR_AQUA_400,
2641
+ "500": _seedsColor.default.COLOR_AQUA_500,
2642
+ "600": _seedsColor.default.COLOR_AQUA_600,
2643
+ "700": _seedsColor.default.COLOR_AQUA_700,
2644
+ "800": _seedsColor.default.COLOR_AQUA_800,
2645
+ "900": _seedsColor.default.COLOR_AQUA_900,
2646
+ "1000": _seedsColor.default.COLOR_AQUA_1000,
2647
+ "1100": _seedsColor.default.COLOR_AQUA_1100
2648
+ },
2649
+ purple: {
2650
+ "0": _seedsColor.default.COLOR_PURPLE_0,
2651
+ "100": _seedsColor.default.COLOR_PURPLE_100,
2652
+ "200": _seedsColor.default.COLOR_PURPLE_200,
2653
+ "300": _seedsColor.default.COLOR_PURPLE_300,
2654
+ "400": _seedsColor.default.COLOR_PURPLE_400,
2655
+ "500": _seedsColor.default.COLOR_PURPLE_500,
2656
+ "600": _seedsColor.default.COLOR_PURPLE_600,
2657
+ "700": _seedsColor.default.COLOR_PURPLE_700,
2658
+ "800": _seedsColor.default.COLOR_PURPLE_800,
2659
+ "900": _seedsColor.default.COLOR_PURPLE_900,
2660
+ "1000": _seedsColor.default.COLOR_PURPLE_1000,
2661
+ "1100": _seedsColor.default.COLOR_PURPLE_1100
2662
+ },
2663
+ magenta: {
2664
+ "0": _seedsColor.default.COLOR_MAGENTA_0,
2665
+ "100": _seedsColor.default.COLOR_MAGENTA_100,
2666
+ "200": _seedsColor.default.COLOR_MAGENTA_200,
2667
+ "300": _seedsColor.default.COLOR_MAGENTA_300,
2668
+ "350": _seedsColor.default.COLOR_MAGENTA_350,
2669
+ "400": _seedsColor.default.COLOR_MAGENTA_400,
2670
+ "500": _seedsColor.default.COLOR_MAGENTA_500,
2671
+ "600": _seedsColor.default.COLOR_MAGENTA_600,
2672
+ "700": _seedsColor.default.COLOR_MAGENTA_700,
2673
+ "800": _seedsColor.default.COLOR_MAGENTA_800,
2674
+ "900": _seedsColor.default.COLOR_MAGENTA_900,
2675
+ "1000": _seedsColor.default.COLOR_MAGENTA_1000,
2676
+ "1100": _seedsColor.default.COLOR_MAGENTA_1100
2677
+ },
2678
+ yellow: {
2679
+ "0": _seedsColor.default.COLOR_YELLOW_0,
2680
+ "100": _seedsColor.default.COLOR_YELLOW_100,
2681
+ "200": _seedsColor.default.COLOR_YELLOW_200,
2682
+ "300": _seedsColor.default.COLOR_YELLOW_300,
2683
+ "400": _seedsColor.default.COLOR_YELLOW_400,
2684
+ "500": _seedsColor.default.COLOR_YELLOW_500,
2685
+ "600": _seedsColor.default.COLOR_YELLOW_600,
2686
+ "700": _seedsColor.default.COLOR_YELLOW_700,
2687
+ "800": _seedsColor.default.COLOR_YELLOW_800,
2688
+ "900": _seedsColor.default.COLOR_YELLOW_900,
2689
+ "1000": _seedsColor.default.COLOR_YELLOW_1000,
2690
+ "1100": _seedsColor.default.COLOR_YELLOW_1100
2691
+ },
2692
+ pink: {
2693
+ "0": _seedsColor.default.COLOR_PINK_0,
2694
+ "100": _seedsColor.default.COLOR_PINK_100,
2695
+ "200": _seedsColor.default.COLOR_PINK_200,
2696
+ "300": _seedsColor.default.COLOR_PINK_300,
2697
+ "400": _seedsColor.default.COLOR_PINK_400,
2698
+ "500": _seedsColor.default.COLOR_PINK_500,
2699
+ "600": _seedsColor.default.COLOR_PINK_600,
2700
+ "700": _seedsColor.default.COLOR_PINK_700,
2701
+ "800": _seedsColor.default.COLOR_PINK_800,
2702
+ "900": _seedsColor.default.COLOR_PINK_900,
2703
+ "1000": _seedsColor.default.COLOR_PINK_1000,
2704
+ "1100": _seedsColor.default.COLOR_PINK_1100
2705
+ },
2706
+ orange: {
2707
+ "0": _seedsColor.default.COLOR_ORANGE_0,
2708
+ "100": _seedsColor.default.COLOR_ORANGE_100,
2709
+ "200": _seedsColor.default.COLOR_ORANGE_200,
2710
+ "300": _seedsColor.default.COLOR_ORANGE_300,
2711
+ "400": _seedsColor.default.COLOR_ORANGE_400,
2712
+ "500": _seedsColor.default.COLOR_ORANGE_500,
2713
+ "600": _seedsColor.default.COLOR_ORANGE_600,
2714
+ "700": _seedsColor.default.COLOR_ORANGE_700,
2715
+ "800": _seedsColor.default.COLOR_ORANGE_800,
2716
+ "900": _seedsColor.default.COLOR_ORANGE_900,
2717
+ "1000": _seedsColor.default.COLOR_ORANGE_1000,
2718
+ "1100": _seedsColor.default.COLOR_ORANGE_1100
2719
+ }
2720
+ };
2721
+ var _default = exports.default = literalColors;
2722
+ }
2723
+ });
2724
+
2725
+ // ../seeds-react-theme/commonjs/light/dataviz-palette.js
2726
+ var require_dataviz_palette = __commonJS({
2727
+ "../seeds-react-theme/commonjs/light/dataviz-palette.js"(exports) {
2728
+ "use strict";
2729
+ Object.defineProperty(exports, "__esModule", {
2730
+ value: true
2731
+ });
2732
+ exports.datavizPalette = void 0;
2733
+ var _seedsColor = _interopRequireDefault(require_seeds_color());
2734
+ function _interopRequireDefault(obj) {
2735
+ return obj && obj.__esModule ? obj : { default: obj };
2736
+ }
2737
+ var datavizPalette = exports.datavizPalette = {
2738
+ DATAVIZ_COLORS_LIST: [_seedsColor.default.COLOR_TEAL_500, _seedsColor.default.COLOR_PURPLE_700, _seedsColor.default.COLOR_PINK_700, _seedsColor.default.COLOR_YELLOW_500, _seedsColor.default.COLOR_BLUE_500, _seedsColor.default.COLOR_MAGENTA_500, _seedsColor.default.COLOR_GREEN_500, _seedsColor.default.COLOR_ORANGE_500, _seedsColor.default.COLOR_RED_700, _seedsColor.default.COLOR_TEAL_900, _seedsColor.default.COLOR_PURPLE_400, _seedsColor.default.COLOR_PINK_900, _seedsColor.default.COLOR_YELLOW_900, _seedsColor.default.COLOR_BLUE_900, _seedsColor.default.COLOR_MAGENTA_900, _seedsColor.default.COLOR_GREEN_900, _seedsColor.default.COLOR_ORANGE_900, _seedsColor.default.COLOR_RED_400, _seedsColor.default.COLOR_GREEN_700, _seedsColor.default.COLOR_YELLOW_800],
2739
+ DATAVIZ_COLORS_MAP: {
2740
+ "1": _seedsColor.default.COLOR_TEAL_500,
2741
+ "2": _seedsColor.default.COLOR_PURPLE_700,
2742
+ "3": _seedsColor.default.COLOR_PINK_700,
2743
+ "4": _seedsColor.default.COLOR_YELLOW_500,
2744
+ "5": _seedsColor.default.COLOR_BLUE_500,
2745
+ "6": _seedsColor.default.COLOR_MAGENTA_500,
2746
+ "7": _seedsColor.default.COLOR_GREEN_500,
2747
+ "8": _seedsColor.default.COLOR_ORANGE_500,
2748
+ "9": _seedsColor.default.COLOR_RED_700,
2749
+ "10": _seedsColor.default.COLOR_TEAL_900,
2750
+ "11": _seedsColor.default.COLOR_PURPLE_400,
2751
+ "12": _seedsColor.default.COLOR_PINK_900,
2752
+ "13": _seedsColor.default.COLOR_YELLOW_900,
2753
+ "14": _seedsColor.default.COLOR_BLUE_900,
2754
+ "15": _seedsColor.default.COLOR_MAGENTA_900,
2755
+ "16": _seedsColor.default.COLOR_GREEN_900,
2756
+ "17": _seedsColor.default.COLOR_ORANGE_900,
2757
+ "18": _seedsColor.default.COLOR_RED_400,
2758
+ "19": _seedsColor.default.COLOR_GREEN_700,
2759
+ "20": _seedsColor.default.COLOR_YELLOW_800
2760
+ }
2761
+ };
2762
+ }
2763
+ });
2764
+
2765
+ // ../seeds-react-theme/commonjs/light/decorative-palettes.js
2766
+ var require_decorative_palettes = __commonJS({
2767
+ "../seeds-react-theme/commonjs/light/decorative-palettes.js"(exports) {
2768
+ "use strict";
2769
+ Object.defineProperty(exports, "__esModule", {
2770
+ value: true
2771
+ });
2772
+ exports.yellow = exports.teal = exports.red = exports.purple = exports.pink = exports.orange = exports.neutral = exports.magenta = exports.green = exports.blue = exports.aqua = void 0;
2773
+ var _seedsColor = _interopRequireDefault(require_seeds_color());
2774
+ function _interopRequireDefault(obj) {
2775
+ return obj && obj.__esModule ? obj : { default: obj };
2776
+ }
2777
+ var green = exports.green = {
2778
+ background: _seedsColor.default.COLOR_GREEN_100,
2779
+ highlight: _seedsColor.default.COLOR_GREEN_500,
2780
+ foreground: _seedsColor.default.COLOR_GREEN_900
2781
+ };
2782
+ var blue = exports.blue = {
2783
+ background: _seedsColor.default.COLOR_BLUE_100,
2784
+ highlight: _seedsColor.default.COLOR_BLUE_600,
2785
+ foreground: _seedsColor.default.COLOR_BLUE_900
2786
+ };
2787
+ var purple = exports.purple = {
2788
+ background: _seedsColor.default.COLOR_PURPLE_100,
2789
+ highlight: _seedsColor.default.COLOR_PURPLE_500,
2790
+ foreground: _seedsColor.default.COLOR_PURPLE_800
2791
+ };
2792
+ var yellow = exports.yellow = {
2793
+ background: _seedsColor.default.COLOR_YELLOW_100,
2794
+ highlight: _seedsColor.default.COLOR_YELLOW_600,
2795
+ foreground: _seedsColor.default.COLOR_YELLOW_900
2796
+ };
2797
+ var orange = exports.orange = {
2798
+ background: _seedsColor.default.COLOR_ORANGE_100,
2799
+ highlight: _seedsColor.default.COLOR_ORANGE_600,
2800
+ foreground: _seedsColor.default.COLOR_ORANGE_900
2801
+ };
2802
+ var red = exports.red = {
2803
+ background: _seedsColor.default.COLOR_RED_100,
2804
+ highlight: _seedsColor.default.COLOR_RED_600,
2805
+ foreground: _seedsColor.default.COLOR_RED_900
2806
+ };
2807
+ var neutral = exports.neutral = {
2808
+ background: _seedsColor.default.COLOR_NEUTRAL_100,
2809
+ highlight: _seedsColor.default.COLOR_NEUTRAL_600,
2810
+ foreground: _seedsColor.default.COLOR_NEUTRAL_900
2811
+ };
2812
+ var magenta = exports.magenta = {
2813
+ background: _seedsColor.default.COLOR_MAGENTA_100,
2814
+ highlight: _seedsColor.default.COLOR_MAGENTA_600,
2815
+ foreground: _seedsColor.default.COLOR_MAGENTA_900
2816
+ };
2817
+ var pink = exports.pink = {
2818
+ background: _seedsColor.default.COLOR_PINK_100,
2819
+ highlight: _seedsColor.default.COLOR_PINK_600,
2820
+ foreground: _seedsColor.default.COLOR_PINK_900
2821
+ };
2822
+ var aqua = exports.aqua = {
2823
+ background: _seedsColor.default.COLOR_AQUA_100,
2824
+ highlight: _seedsColor.default.COLOR_AQUA_500,
2825
+ foreground: _seedsColor.default.COLOR_AQUA_900
2826
+ };
2827
+ var teal = exports.teal = {
2828
+ background: _seedsColor.default.COLOR_TEAL_100,
2829
+ highlight: _seedsColor.default.COLOR_TEAL_500,
2830
+ foreground: _seedsColor.default.COLOR_TEAL_900
2831
+ };
2832
+ }
2833
+ });
2834
+
2835
+ // ../seeds-react-theme/commonjs/light/theme.js
2836
+ var require_theme = __commonJS({
2837
+ "../seeds-react-theme/commonjs/light/theme.js"(exports) {
2838
+ "use strict";
2839
+ Object.defineProperty(exports, "__esModule", {
2840
+ value: true
2841
+ });
2842
+ exports.typography = exports.space = exports.shadows = exports.radii = exports.lineHeights = exports.fontWeights = exports.fontSizes = exports.fontFamily = exports.easing = exports.duration = exports.default = exports.breakpoints = exports.borders = exports.borderWidths = void 0;
2843
+ var _polished = (init_polished_esm(), __toCommonJS(polished_esm_exports));
2844
+ var _seedsColor = _interopRequireDefault(require_seeds_color());
2845
+ var _seedsNetworkcolor = _interopRequireDefault(require_seeds_networkcolor());
2846
+ var TYPOGRAPHY = _interopRequireWildcard(require_seeds_typography());
2847
+ var _seedsSpace = _interopRequireDefault(require_seeds_space());
2848
+ var _seedsDepth = _interopRequireDefault(require_seeds_depth());
2849
+ var _seedsMotion = _interopRequireDefault(require_seeds_motion());
2850
+ var _seedsBorder = _interopRequireDefault(require_seeds_border());
2851
+ var _literalColors = _interopRequireDefault(require_literal_colors());
2852
+ var _datavizPalette = require_dataviz_palette();
2853
+ var _decorativePalettes = require_decorative_palettes();
2854
+ function _getRequireWildcardCache(e) {
2855
+ if ("function" != typeof WeakMap)
2856
+ return null;
2857
+ var r = /* @__PURE__ */ new WeakMap(), t = /* @__PURE__ */ new WeakMap();
2858
+ return (_getRequireWildcardCache = function _getRequireWildcardCache2(e2) {
2859
+ return e2 ? t : r;
2860
+ })(e);
2861
+ }
2862
+ function _interopRequireWildcard(e, r) {
2863
+ if (!r && e && e.__esModule)
2864
+ return e;
2865
+ if (null === e || "object" != _typeof(e) && "function" != typeof e)
2866
+ return { default: e };
2867
+ var t = _getRequireWildcardCache(r);
2868
+ if (t && t.has(e))
2869
+ return t.get(e);
2870
+ var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor;
2871
+ for (var u in e)
2872
+ if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {
2873
+ var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
2874
+ i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
2875
+ }
2876
+ return n.default = e, t && t.set(e, n), n;
2877
+ }
2878
+ function _interopRequireDefault(obj) {
2879
+ return obj && obj.__esModule ? obj : { default: obj };
2880
+ }
2881
+ function _typeof(o) {
2882
+ "@babel/helpers - typeof";
2883
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
2884
+ return typeof o2;
2885
+ } : function(o2) {
2886
+ return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
2887
+ }, _typeof(o);
2888
+ }
2889
+ function ownKeys(e, r) {
2890
+ var t = Object.keys(e);
2891
+ if (Object.getOwnPropertySymbols) {
2892
+ var o = Object.getOwnPropertySymbols(e);
2893
+ r && (o = o.filter(function(r2) {
2894
+ return Object.getOwnPropertyDescriptor(e, r2).enumerable;
2895
+ })), t.push.apply(t, o);
2896
+ }
2897
+ return t;
2898
+ }
2899
+ function _objectSpread(e) {
2900
+ for (var r = 1; r < arguments.length; r++) {
2901
+ var t = null != arguments[r] ? arguments[r] : {};
2902
+ r % 2 ? ownKeys(Object(t), true).forEach(function(r2) {
2903
+ _defineProperty(e, r2, t[r2]);
2904
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r2) {
2905
+ Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t, r2));
2906
+ });
2907
+ }
2908
+ return e;
2909
+ }
2910
+ function _defineProperty(obj, key, value) {
2911
+ key = _toPropertyKey(key);
2912
+ if (key in obj) {
2913
+ Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
2914
+ } else {
2915
+ obj[key] = value;
2916
+ }
2917
+ return obj;
2918
+ }
2919
+ function _toPropertyKey(t) {
2920
+ var i = _toPrimitive(t, "string");
2921
+ return "symbol" == _typeof(i) ? i : String(i);
2922
+ }
2923
+ function _toPrimitive(t, r) {
2924
+ if ("object" != _typeof(t) || !t)
2925
+ return t;
2926
+ var e = t[Symbol.toPrimitive];
2927
+ if (void 0 !== e) {
2928
+ var i = e.call(t, r || "default");
2929
+ if ("object" != _typeof(i))
2930
+ return i;
2931
+ throw new TypeError("@@toPrimitive must return a primitive value.");
2932
+ }
2933
+ return ("string" === r ? String : Number)(t);
2934
+ }
2935
+ var breakpoints = exports.breakpoints = ["900px", "1200px", "1500px", "1800px"];
2936
+ var MODE = "light";
2937
+ var colors = _objectSpread(_objectSpread({
2938
+ app: {
2939
+ background: {
2940
+ base: _seedsColor.default.COLOR_NEUTRAL_100
2941
+ }
2942
+ },
2943
+ container: {
2944
+ background: {
2945
+ base: _seedsColor.default.COLOR_NEUTRAL_0,
2946
+ success: _decorativePalettes.green.background,
2947
+ warning: _decorativePalettes.yellow.background,
2948
+ error: _decorativePalettes.red.background,
2949
+ info: _decorativePalettes.blue.background,
2950
+ opportunity: _decorativePalettes.purple.background,
2951
+ /** @deprecated Use "error" instead of "danger" */
2952
+ danger: _decorativePalettes.red.background,
2953
+ decorative: {
2954
+ green: _decorativePalettes.green.background,
2955
+ blue: _decorativePalettes.blue.background,
2956
+ purple: _decorativePalettes.purple.background,
2957
+ yellow: _decorativePalettes.yellow.background,
2958
+ orange: _decorativePalettes.orange.background,
2959
+ red: _decorativePalettes.red.background,
2960
+ neutral: _decorativePalettes.neutral.background,
2961
+ magenta: _decorativePalettes.magenta.background,
2962
+ pink: _decorativePalettes.pink.background,
2963
+ aqua: _decorativePalettes.aqua.background,
2964
+ teal: _decorativePalettes.teal.background
2965
+ },
2966
+ selected: _seedsColor.default.COLOR_NEUTRAL_800,
2967
+ positive_sentiment: _seedsColor.default.COLOR_BLUE_500,
2968
+ negative_sentiment: _seedsColor.default.COLOR_RED_500,
2969
+ neutral_sentiment: _seedsColor.default.COLOR_NEUTRAL_300
2970
+ },
2971
+ border: {
2972
+ base: _seedsColor.default.COLOR_NEUTRAL_200,
2973
+ success: _decorativePalettes.green.highlight,
2974
+ warning: _decorativePalettes.yellow.highlight,
2975
+ error: _decorativePalettes.red.highlight,
2976
+ /** @deprecated Use "error" instead of "danger" */
2977
+ danger: _decorativePalettes.red.highlight,
2978
+ info: _decorativePalettes.blue.highlight,
2979
+ opportunity: _decorativePalettes.purple.highlight,
2980
+ decorative: {
2981
+ green: _decorativePalettes.green.highlight,
2982
+ blue: _decorativePalettes.blue.highlight,
2983
+ purple: _decorativePalettes.purple.highlight,
2984
+ yellow: _decorativePalettes.yellow.highlight,
2985
+ orange: _decorativePalettes.orange.highlight,
2986
+ red: _decorativePalettes.red.highlight,
2987
+ neutral: _decorativePalettes.neutral.highlight,
2988
+ magenta: _decorativePalettes.magenta.highlight,
2989
+ pink: _decorativePalettes.pink.highlight,
2990
+ aqua: _decorativePalettes.aqua.highlight,
2991
+ teal: _decorativePalettes.teal.highlight
2992
+ },
2993
+ selected: _seedsColor.default.COLOR_NEUTRAL_800
2994
+ }
2995
+ },
2996
+ button: {
2997
+ primary: {
2998
+ background: {
2999
+ base: _seedsColor.default.COLOR_BLUE_700,
3000
+ hover: _seedsColor.default.COLOR_BLUE_800,
3001
+ active: _seedsColor.default.COLOR_BLUE_900
3002
+ },
3003
+ border: {
3004
+ base: "transparent"
3005
+ },
3006
+ text: {
3007
+ base: _seedsColor.default.COLOR_NEUTRAL_0,
3008
+ hover: _seedsColor.default.COLOR_NEUTRAL_0
3009
+ }
3010
+ },
3011
+ secondary: {
3012
+ background: {
3013
+ base: "transparent",
3014
+ hover: _seedsColor.default.COLOR_NEUTRAL_800,
3015
+ active: _seedsColor.default.COLOR_NEUTRAL_900
3016
+ },
3017
+ border: {
3018
+ base: _seedsColor.default.COLOR_NEUTRAL_800
3019
+ },
3020
+ text: {
3021
+ base: _seedsColor.default.COLOR_NEUTRAL_800,
3022
+ hover: _seedsColor.default.COLOR_NEUTRAL_0
3023
+ }
3024
+ },
3025
+ pill: {
3026
+ background: {
3027
+ base: "transparent",
3028
+ hover: _seedsColor.default.COLOR_NEUTRAL_100,
3029
+ active: _seedsColor.default.COLOR_NEUTRAL_200
3030
+ },
3031
+ border: {
3032
+ base: "transparent",
3033
+ hover: _seedsColor.default.COLOR_NEUTRAL_800
3034
+ },
3035
+ text: {
3036
+ base: _seedsColor.default.COLOR_NEUTRAL_800,
3037
+ hover: _seedsColor.default.COLOR_NEUTRAL_900
3038
+ }
3039
+ },
3040
+ destructive: {
3041
+ background: {
3042
+ base: _seedsColor.default.COLOR_RED_800,
3043
+ hover: _seedsColor.default.COLOR_RED_900,
3044
+ active: _seedsColor.default.COLOR_RED_1000
3045
+ },
3046
+ border: {
3047
+ base: "transparent"
3048
+ },
3049
+ text: {
3050
+ base: _seedsColor.default.COLOR_NEUTRAL_0,
3051
+ hover: _seedsColor.default.COLOR_NEUTRAL_0
3052
+ }
3053
+ },
3054
+ placeholder: {
3055
+ background: {
3056
+ base: "transparent",
3057
+ hover: _seedsColor.default.COLOR_NEUTRAL_0,
3058
+ active: _seedsColor.default.COLOR_NEUTRAL_0
3059
+ },
3060
+ border: {
3061
+ base: _seedsColor.default.COLOR_NEUTRAL_500
3062
+ },
3063
+ text: {
3064
+ base: _seedsColor.default.COLOR_BLUE_700,
3065
+ hover: _seedsColor.default.COLOR_BLUE_800
3066
+ }
3067
+ },
3068
+ unstyled: {
3069
+ background: {
3070
+ base: "transparent"
3071
+ },
3072
+ border: {
3073
+ base: "transparent"
3074
+ },
3075
+ text: {
3076
+ base: _seedsColor.default.COLOR_NEUTRAL_700,
3077
+ hover: _seedsColor.default.COLOR_NEUTRAL_900
3078
+ }
3079
+ }
3080
+ },
3081
+ link: {
3082
+ base: _seedsColor.default.COLOR_BLUE_800,
3083
+ hover: _seedsColor.default.COLOR_BLUE_900
3084
+ },
3085
+ text: {
3086
+ headline: _seedsColor.default.COLOR_NEUTRAL_900,
3087
+ subtext: _seedsColor.default.COLOR_NEUTRAL_700,
3088
+ body: _seedsColor.default.COLOR_NEUTRAL_800,
3089
+ inverse: _seedsColor.default.COLOR_NEUTRAL_0,
3090
+ error: _decorativePalettes.red.foreground,
3091
+ background: {
3092
+ highlight: _seedsColor.default.COLOR_YELLOW_200,
3093
+ selection: _seedsColor.default.COLOR_BLUE_300
3094
+ },
3095
+ decorative: {
3096
+ green: _decorativePalettes.green.foreground,
3097
+ blue: _decorativePalettes.blue.foreground,
3098
+ purple: _decorativePalettes.purple.foreground,
3099
+ yellow: _decorativePalettes.yellow.foreground,
3100
+ orange: _decorativePalettes.orange.foreground,
3101
+ red: _decorativePalettes.red.foreground,
3102
+ neutral: _decorativePalettes.neutral.foreground,
3103
+ magenta: _decorativePalettes.magenta.foreground,
3104
+ pink: _decorativePalettes.pink.foreground,
3105
+ aqua: _decorativePalettes.aqua.foreground,
3106
+ teal: _decorativePalettes.teal.foreground
3107
+ }
3108
+ },
3109
+ icon: {
3110
+ base: _seedsColor.default.COLOR_NEUTRAL_800,
3111
+ inverse: _seedsColor.default.COLOR_NEUTRAL_0,
3112
+ success: _decorativePalettes.green.foreground,
3113
+ warning: _decorativePalettes.yellow.foreground,
3114
+ error: _decorativePalettes.red.foreground,
3115
+ /** @deprecated Use "error" instead of "danger" */
3116
+ danger: _decorativePalettes.red.foreground,
3117
+ info: _decorativePalettes.blue.foreground,
3118
+ opportunity: _decorativePalettes.purple.foreground,
3119
+ applied: _seedsColor.default.COLOR_BLUE_700,
3120
+ positive_sentiment: _seedsColor.default.COLOR_BLUE_600,
3121
+ negative_sentiment: _seedsColor.default.COLOR_RED_600,
3122
+ neutral_sentiment: _seedsColor.default.COLOR_NEUTRAL_500
3123
+ },
3124
+ form: {
3125
+ background: {
3126
+ base: _seedsColor.default.COLOR_NEUTRAL_0,
3127
+ selected: _seedsColor.default.COLOR_NEUTRAL_800
3128
+ },
3129
+ border: {
3130
+ base: _seedsColor.default.COLOR_NEUTRAL_600,
3131
+ error: _decorativePalettes.red.highlight,
3132
+ warning: _decorativePalettes.yellow.highlight,
3133
+ selected: _seedsColor.default.COLOR_NEUTRAL_800
3134
+ },
3135
+ placeholder: {
3136
+ base: _seedsColor.default.COLOR_NEUTRAL_700
3137
+ }
3138
+ },
3139
+ listItem: {
3140
+ background: {
3141
+ base: "transparent",
3142
+ hover: _seedsColor.default.COLOR_NEUTRAL_100,
3143
+ selected: _seedsColor.default.COLOR_NEUTRAL_800
3144
+ }
3145
+ },
3146
+ overlay: {
3147
+ background: {
3148
+ base: (0, _polished.transparentize)(0.44, _seedsColor.default.COLOR_NEUTRAL_1000)
3149
+ },
3150
+ text: {
3151
+ base: _seedsColor.default.COLOR_NEUTRAL_0
3152
+ },
3153
+ icon: {
3154
+ base: _seedsColor.default.COLOR_NEUTRAL_0
3155
+ }
3156
+ },
3157
+ elevation: {
3158
+ base: "".concat(_seedsColor.default.COLOR_NEUTRAL_900, "3D")
3159
+ },
3160
+ illustration: {
3161
+ fill: _seedsColor.default.COLOR_BLUE_400,
3162
+ stroke: _decorativePalettes.neutral.foreground
3163
+ },
3164
+ network: {
3165
+ twitter: _seedsNetworkcolor.default.NETWORK_COLOR_TWITTER,
3166
+ twitter_like: _seedsNetworkcolor.default.NETWORK_COLOR_TWITTER_LIKE,
3167
+ facebook: _seedsNetworkcolor.default.NETWORK_COLOR_FACEBOOK,
3168
+ facebook_audience_network: _seedsNetworkcolor.default.NETWORK_COLOR_FACEBOOK_AUDIENCE_NETWORK,
3169
+ linkedin: _seedsNetworkcolor.default.NETWORK_COLOR_LINKEDIN,
3170
+ instagram: _seedsNetworkcolor.default.NETWORK_COLOR_INSTAGRAM,
3171
+ feedly: _seedsNetworkcolor.default.NETWORK_COLOR_FEEDLY,
3172
+ analytics: _seedsNetworkcolor.default.NETWORK_COLOR_ANALYTICS,
3173
+ youtube: _seedsNetworkcolor.default.NETWORK_COLOR_YOUTUBE,
3174
+ messenger: _seedsNetworkcolor.default.NETWORK_COLOR_MESSENGER,
3175
+ snapchat: _seedsNetworkcolor.default.NETWORK_COLOR_SNAPCHAT,
3176
+ pinterest: _seedsNetworkcolor.default.NETWORK_COLOR_PINTEREST,
3177
+ tumblr: _seedsNetworkcolor.default.NETWORK_COLOR_TUMBLR,
3178
+ reddit: _seedsNetworkcolor.default.NETWORK_COLOR_REDDIT,
3179
+ tripadvisor: _seedsNetworkcolor.default.NETWORK_COLOR_TRIPADVISOR,
3180
+ glassdoor: _seedsNetworkcolor.default.NETWORK_COLOR_GLASSDOOR,
3181
+ google_my_business: _seedsNetworkcolor.default.NETWORK_COLOR_GOOGLE_MY_BUSINESS,
3182
+ google_business_messages: _seedsNetworkcolor.default.NETWORK_COLOR_GOOGLE_BUSINESS_MESSAGES,
3183
+ google_play_store: _seedsNetworkcolor.default.NETWORK_COLOR_GOOGLE_PLAY_STORE,
3184
+ apple_app_store: _seedsNetworkcolor.default.NETWORK_COLOR_APPLE_APP_STORE,
3185
+ salesforce: _seedsNetworkcolor.default.NETWORK_COLOR_SALESFORCE,
3186
+ zendesk: _seedsNetworkcolor.default.NETWORK_COLOR_ZENDESK,
3187
+ hubspot: _seedsNetworkcolor.default.NETWORK_COLOR_HUBSPOT,
3188
+ microsoft_dynamics: _seedsNetworkcolor.default.NETWORK_COLOR_MICROSOFT_DYNAMICS,
3189
+ yelp: _seedsNetworkcolor.default.NETWORK_COLOR_YELP,
3190
+ whatsapp: _seedsNetworkcolor.default.NETWORK_COLOR_WHATSAPP,
3191
+ tiktok: _seedsNetworkcolor.default.NETWORK_COLOR_TIKTOK,
3192
+ threads: _seedsNetworkcolor.default.NETWORK_COLOR_THREADS,
3193
+ trustpilot: _seedsNetworkcolor.default.NETWORK_COLOR_TRUSTPILOT
3194
+ },
3195
+ dataviz: {
3196
+ map: _datavizPalette.datavizPalette.DATAVIZ_COLORS_MAP,
3197
+ list: _datavizPalette.datavizPalette.DATAVIZ_COLORS_LIST
3198
+ }
3199
+ }, _literalColors.default), _datavizPalette.datavizPalette);
3200
+ var typography = exports.typography = {
3201
+ 100: TYPOGRAPHY.TYPOGRAPHY_SIZE_100,
3202
+ 200: TYPOGRAPHY.TYPOGRAPHY_SIZE_200,
3203
+ 300: TYPOGRAPHY.TYPOGRAPHY_SIZE_300,
3204
+ 400: TYPOGRAPHY.TYPOGRAPHY_SIZE_400,
3205
+ 500: TYPOGRAPHY.TYPOGRAPHY_SIZE_500,
3206
+ 600: TYPOGRAPHY.TYPOGRAPHY_SIZE_600,
3207
+ 700: TYPOGRAPHY.TYPOGRAPHY_SIZE_700,
3208
+ 800: TYPOGRAPHY.TYPOGRAPHY_SIZE_800,
3209
+ 900: TYPOGRAPHY.TYPOGRAPHY_SIZE_900,
3210
+ 1e3: TYPOGRAPHY.TYPOGRAPHY_SIZE_1000,
3211
+ 1100: TYPOGRAPHY.TYPOGRAPHY_SIZE_1100,
3212
+ 1200: TYPOGRAPHY.TYPOGRAPHY_SIZE_1200
3213
+ };
3214
+ var fontSizes = exports.fontSizes = {
3215
+ 100: TYPOGRAPHY.TYPOGRAPHY_SIZE_100.fontSize,
3216
+ 200: TYPOGRAPHY.TYPOGRAPHY_SIZE_200.fontSize,
3217
+ 300: TYPOGRAPHY.TYPOGRAPHY_SIZE_300.fontSize,
3218
+ 400: TYPOGRAPHY.TYPOGRAPHY_SIZE_400.fontSize,
3219
+ 500: TYPOGRAPHY.TYPOGRAPHY_SIZE_500.fontSize,
3220
+ 600: TYPOGRAPHY.TYPOGRAPHY_SIZE_600.fontSize,
3221
+ 700: TYPOGRAPHY.TYPOGRAPHY_SIZE_700.fontSize,
3222
+ 800: TYPOGRAPHY.TYPOGRAPHY_SIZE_800.fontSize,
3223
+ 900: TYPOGRAPHY.TYPOGRAPHY_SIZE_900.fontSize,
3224
+ 1e3: TYPOGRAPHY.TYPOGRAPHY_SIZE_1000.fontSize,
3225
+ 1100: TYPOGRAPHY.TYPOGRAPHY_SIZE_1100.fontSize,
3226
+ 1200: TYPOGRAPHY.TYPOGRAPHY_SIZE_1200.fontSize
3227
+ };
3228
+ var lineHeights = exports.lineHeights = {
3229
+ 100: TYPOGRAPHY.TYPOGRAPHY_SIZE_100.lineHeight,
3230
+ 200: TYPOGRAPHY.TYPOGRAPHY_SIZE_200.lineHeight,
3231
+ 300: TYPOGRAPHY.TYPOGRAPHY_SIZE_300.lineHeight,
3232
+ 400: TYPOGRAPHY.TYPOGRAPHY_SIZE_400.lineHeight,
3233
+ 500: TYPOGRAPHY.TYPOGRAPHY_SIZE_500.lineHeight,
3234
+ 600: TYPOGRAPHY.TYPOGRAPHY_SIZE_600.lineHeight,
3235
+ 700: TYPOGRAPHY.TYPOGRAPHY_SIZE_700.lineHeight,
3236
+ 800: TYPOGRAPHY.TYPOGRAPHY_SIZE_800.lineHeight,
3237
+ 900: TYPOGRAPHY.TYPOGRAPHY_SIZE_900.lineHeight,
3238
+ 1e3: TYPOGRAPHY.TYPOGRAPHY_SIZE_1000.lineHeight,
3239
+ 1100: TYPOGRAPHY.TYPOGRAPHY_SIZE_1100.lineHeight,
3240
+ 1200: TYPOGRAPHY.TYPOGRAPHY_SIZE_1200.lineHeight
3241
+ };
3242
+ var fontFamily = exports.fontFamily = TYPOGRAPHY.TYPOGRAPHY_FAMILY;
3243
+ var fontWeights = exports.fontWeights = {
3244
+ normal: TYPOGRAPHY.TYPOGRAPHY_WEIGHT_NORMAL,
3245
+ semibold: TYPOGRAPHY.TYPOGRAPHY_WEIGHT_SEMIBOLD,
3246
+ bold: TYPOGRAPHY.TYPOGRAPHY_WEIGHT_BOLD,
3247
+ extrabold: TYPOGRAPHY.TYPOGRAPHY_WEIGHT_EXTRA_BOLD
3248
+ };
3249
+ var space = exports.space = {
3250
+ 0: _seedsSpace.default.SPACE_SIZE_0,
3251
+ 100: _seedsSpace.default.SPACE_SIZE_100,
3252
+ 200: _seedsSpace.default.SPACE_SIZE_200,
3253
+ 300: _seedsSpace.default.SPACE_SIZE_300,
3254
+ 350: _seedsSpace.default.SPACE_SIZE_350,
3255
+ 400: _seedsSpace.default.SPACE_SIZE_400,
3256
+ 450: _seedsSpace.default.SPACE_SIZE_450,
3257
+ 500: _seedsSpace.default.SPACE_SIZE_500,
3258
+ 600: _seedsSpace.default.SPACE_SIZE_600
3259
+ };
3260
+ var radii = exports.radii = {
3261
+ 400: _seedsBorder.default.BORDER_RADIUS_400,
3262
+ 500: _seedsBorder.default.BORDER_RADIUS_500,
3263
+ 600: _seedsBorder.default.BORDER_RADIUS_600,
3264
+ 1e3: _seedsBorder.default.BORDER_RADIUS_1000,
3265
+ inner: _seedsBorder.default.BORDER_RADIUS_500,
3266
+ outer: _seedsBorder.default.BORDER_RADIUS_600,
3267
+ pill: _seedsBorder.default.BORDER_RADIUS_1000
3268
+ };
3269
+ var borders = exports.borders = {
3270
+ 500: "".concat(_seedsBorder.default.BORDER_WIDTH_500, " solid")
3271
+ };
3272
+ var borderWidths = exports.borderWidths = {
3273
+ 500: _seedsBorder.default.BORDER_WIDTH_500
3274
+ };
3275
+ var shadows = exports.shadows = {
3276
+ low: "".concat(_seedsDepth.default.ELEVATION_LEVEL_100, " ").concat(_seedsColor.default.COLOR_NEUTRAL_900, "3D"),
3277
+ medium: "".concat(_seedsDepth.default.ELEVATION_LEVEL_300, " ").concat(_seedsColor.default.COLOR_NEUTRAL_900, "3D"),
3278
+ high: "".concat(_seedsDepth.default.ELEVATION_LEVEL_400, " ").concat(_seedsColor.default.COLOR_NEUTRAL_900, "3D")
3279
+ };
3280
+ var easing = exports.easing = {
3281
+ ease_in: _seedsMotion.default.MOTION_EASE_IN,
3282
+ ease_out: _seedsMotion.default.MOTION_EASE_OUT,
3283
+ ease_inout: _seedsMotion.default.MOTION_EASE_INOUT
3284
+ };
3285
+ var duration = exports.duration = {
3286
+ fast: _seedsMotion.default.MOTION_DURATION_FAST,
3287
+ medium: _seedsMotion.default.MOTION_DURATION_MEDIUM,
3288
+ slow: _seedsMotion.default.MOTION_DURATION_SLOW
3289
+ };
3290
+ var theme2 = {
3291
+ breakpoints,
3292
+ colors,
3293
+ typography: _objectSpread(_objectSpread({}, typography), {}, {
3294
+ typography
3295
+ }),
3296
+ fontSizes,
3297
+ lineHeights,
3298
+ fontFamily,
3299
+ fontWeights,
3300
+ space: _objectSpread(_objectSpread({}, space), {}, {
3301
+ space,
3302
+ "-space": Object.keys(space).reduce(function(negativeSpace, key) {
3303
+ negativeSpace[key] = "-".concat(space[key]);
3304
+ return negativeSpace;
3305
+ }, {})
3306
+ }),
3307
+ radii: _objectSpread(_objectSpread({}, radii), {}, {
3308
+ radii
3309
+ }),
3310
+ borders,
3311
+ borderWidths,
3312
+ shadows,
3313
+ easing,
3314
+ duration,
3315
+ mode: MODE
3316
+ };
3317
+ var _default = exports.default = theme2;
3318
+ }
3319
+ });
3320
+
3321
+ // ../seeds-react-theme/commonjs/dark/dataviz-palette.js
3322
+ var require_dataviz_palette2 = __commonJS({
3323
+ "../seeds-react-theme/commonjs/dark/dataviz-palette.js"(exports) {
3324
+ "use strict";
3325
+ Object.defineProperty(exports, "__esModule", {
3326
+ value: true
3327
+ });
3328
+ exports.datavizPalette = void 0;
3329
+ var _seedsColor = _interopRequireDefault(require_seeds_color());
3330
+ function _interopRequireDefault(obj) {
3331
+ return obj && obj.__esModule ? obj : { default: obj };
3332
+ }
3333
+ var datavizPalette = exports.datavizPalette = {
3334
+ DATAVIZ_COLORS_LIST: [_seedsColor.default.COLOR_TEAL_400, _seedsColor.default.COLOR_PURPLE_400, _seedsColor.default.COLOR_PINK_400, _seedsColor.default.COLOR_YELLOW_500, _seedsColor.default.COLOR_BLUE_400, _seedsColor.default.COLOR_MAGENTA_400, _seedsColor.default.COLOR_GREEN_400, _seedsColor.default.COLOR_ORANGE_400, _seedsColor.default.COLOR_RED_700, _seedsColor.default.COLOR_TEAL_700, _seedsColor.default.COLOR_PURPLE_700, _seedsColor.default.COLOR_PINK_700, _seedsColor.default.COLOR_YELLOW_800, _seedsColor.default.COLOR_BLUE_700, _seedsColor.default.COLOR_MAGENTA_700, _seedsColor.default.COLOR_GREEN_700, _seedsColor.default.COLOR_ORANGE_700, _seedsColor.default.COLOR_RED_400, _seedsColor.default.COLOR_GREEN_200, _seedsColor.default.COLOR_YELLOW_200],
3335
+ DATAVIZ_COLORS_MAP: {
3336
+ "1": _seedsColor.default.COLOR_TEAL_400,
3337
+ "2": _seedsColor.default.COLOR_PURPLE_400,
3338
+ "3": _seedsColor.default.COLOR_PINK_400,
3339
+ "4": _seedsColor.default.COLOR_YELLOW_500,
3340
+ "5": _seedsColor.default.COLOR_BLUE_400,
3341
+ "6": _seedsColor.default.COLOR_MAGENTA_400,
3342
+ "7": _seedsColor.default.COLOR_GREEN_400,
3343
+ "8": _seedsColor.default.COLOR_ORANGE_400,
3344
+ "9": _seedsColor.default.COLOR_RED_700,
3345
+ "10": _seedsColor.default.COLOR_TEAL_700,
3346
+ "11": _seedsColor.default.COLOR_PURPLE_700,
3347
+ "12": _seedsColor.default.COLOR_PINK_700,
3348
+ "13": _seedsColor.default.COLOR_YELLOW_800,
3349
+ "14": _seedsColor.default.COLOR_BLUE_700,
3350
+ "15": _seedsColor.default.COLOR_MAGENTA_700,
3351
+ "16": _seedsColor.default.COLOR_GREEN_700,
3352
+ "17": _seedsColor.default.COLOR_ORANGE_700,
3353
+ "18": _seedsColor.default.COLOR_RED_400,
3354
+ "19": _seedsColor.default.COLOR_GREEN_200,
3355
+ "20": _seedsColor.default.COLOR_YELLOW_200
3356
+ }
3357
+ };
3358
+ }
3359
+ });
3360
+
3361
+ // ../seeds-react-theme/commonjs/dark/decorative-palettes.js
3362
+ var require_decorative_palettes2 = __commonJS({
3363
+ "../seeds-react-theme/commonjs/dark/decorative-palettes.js"(exports) {
3364
+ "use strict";
3365
+ Object.defineProperty(exports, "__esModule", {
3366
+ value: true
3367
+ });
3368
+ exports.yellow = exports.teal = exports.red = exports.purple = exports.pink = exports.orange = exports.neutral = exports.magenta = exports.green = exports.blue = exports.aqua = void 0;
3369
+ var _seedsColor = _interopRequireDefault(require_seeds_color());
3370
+ function _interopRequireDefault(obj) {
3371
+ return obj && obj.__esModule ? obj : { default: obj };
3372
+ }
3373
+ var green = exports.green = {
3374
+ background: _seedsColor.default.COLOR_GREEN_900,
3375
+ highlight: _seedsColor.default.COLOR_GREEN_500,
3376
+ foreground: _seedsColor.default.COLOR_GREEN_100
3377
+ };
3378
+ var blue = exports.blue = {
3379
+ background: _seedsColor.default.COLOR_BLUE_900,
3380
+ highlight: _seedsColor.default.COLOR_BLUE_600,
3381
+ foreground: _seedsColor.default.COLOR_BLUE_100
3382
+ };
3383
+ var purple = exports.purple = {
3384
+ background: _seedsColor.default.COLOR_PURPLE_900,
3385
+ highlight: _seedsColor.default.COLOR_PURPLE_500,
3386
+ foreground: _seedsColor.default.COLOR_PURPLE_100
3387
+ };
3388
+ var yellow = exports.yellow = {
3389
+ background: _seedsColor.default.COLOR_YELLOW_900,
3390
+ highlight: _seedsColor.default.COLOR_YELLOW_600,
3391
+ foreground: _seedsColor.default.COLOR_YELLOW_100
3392
+ };
3393
+ var orange = exports.orange = {
3394
+ background: _seedsColor.default.COLOR_ORANGE_900,
3395
+ highlight: _seedsColor.default.COLOR_ORANGE_600,
3396
+ foreground: _seedsColor.default.COLOR_ORANGE_100
3397
+ };
3398
+ var red = exports.red = {
3399
+ background: _seedsColor.default.COLOR_RED_900,
3400
+ highlight: _seedsColor.default.COLOR_RED_600,
3401
+ foreground: _seedsColor.default.COLOR_RED_100
3402
+ };
3403
+ var neutral = exports.neutral = {
3404
+ background: _seedsColor.default.COLOR_NEUTRAL_1000,
3405
+ highlight: _seedsColor.default.COLOR_NEUTRAL_600,
3406
+ foreground: _seedsColor.default.COLOR_NEUTRAL_100
3407
+ };
3408
+ var magenta = exports.magenta = {
3409
+ background: _seedsColor.default.COLOR_MAGENTA_900,
3410
+ highlight: _seedsColor.default.COLOR_MAGENTA_600,
3411
+ foreground: _seedsColor.default.COLOR_MAGENTA_100
3412
+ };
3413
+ var pink = exports.pink = {
3414
+ background: _seedsColor.default.COLOR_PINK_900,
3415
+ highlight: _seedsColor.default.COLOR_PINK_600,
3416
+ foreground: _seedsColor.default.COLOR_PINK_100
3417
+ };
3418
+ var aqua = exports.aqua = {
3419
+ background: _seedsColor.default.COLOR_AQUA_900,
3420
+ highlight: _seedsColor.default.COLOR_AQUA_500,
3421
+ foreground: _seedsColor.default.COLOR_AQUA_100
3422
+ };
3423
+ var teal = exports.teal = {
3424
+ background: _seedsColor.default.COLOR_TEAL_900,
3425
+ highlight: _seedsColor.default.COLOR_TEAL_500,
3426
+ foreground: _seedsColor.default.COLOR_TEAL_100
3427
+ };
3428
+ }
3429
+ });
3430
+
3431
+ // ../seeds-react-theme/commonjs/dark/theme.js
3432
+ var require_theme2 = __commonJS({
3433
+ "../seeds-react-theme/commonjs/dark/theme.js"(exports) {
3434
+ "use strict";
3435
+ Object.defineProperty(exports, "__esModule", {
3436
+ value: true
3437
+ });
3438
+ exports.shadows = exports.default = void 0;
3439
+ var _polished = (init_polished_esm(), __toCommonJS(polished_esm_exports));
3440
+ var _seedsColor = _interopRequireDefault(require_seeds_color());
3441
+ var _seedsDepth = _interopRequireDefault(require_seeds_depth());
3442
+ var _theme = _interopRequireDefault(require_theme());
3443
+ var _datavizPalette = require_dataviz_palette2();
3444
+ var _decorativePalettes = require_decorative_palettes2();
3445
+ function _interopRequireDefault(obj) {
3446
+ return obj && obj.__esModule ? obj : { default: obj };
3447
+ }
3448
+ function _typeof(o) {
3449
+ "@babel/helpers - typeof";
3450
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
3451
+ return typeof o2;
3452
+ } : function(o2) {
3453
+ return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
3454
+ }, _typeof(o);
3455
+ }
3456
+ function ownKeys(e, r) {
3457
+ var t = Object.keys(e);
3458
+ if (Object.getOwnPropertySymbols) {
3459
+ var o = Object.getOwnPropertySymbols(e);
3460
+ r && (o = o.filter(function(r2) {
3461
+ return Object.getOwnPropertyDescriptor(e, r2).enumerable;
3462
+ })), t.push.apply(t, o);
3463
+ }
3464
+ return t;
3465
+ }
3466
+ function _objectSpread(e) {
3467
+ for (var r = 1; r < arguments.length; r++) {
3468
+ var t = null != arguments[r] ? arguments[r] : {};
3469
+ r % 2 ? ownKeys(Object(t), true).forEach(function(r2) {
3470
+ _defineProperty(e, r2, t[r2]);
3471
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r2) {
3472
+ Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t, r2));
3473
+ });
3474
+ }
3475
+ return e;
3476
+ }
3477
+ function _defineProperty(obj, key, value) {
3478
+ key = _toPropertyKey(key);
3479
+ if (key in obj) {
3480
+ Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
3481
+ } else {
3482
+ obj[key] = value;
3483
+ }
3484
+ return obj;
3485
+ }
3486
+ function _toPropertyKey(t) {
3487
+ var i = _toPrimitive(t, "string");
3488
+ return "symbol" == _typeof(i) ? i : String(i);
3489
+ }
3490
+ function _toPrimitive(t, r) {
3491
+ if ("object" != _typeof(t) || !t)
3492
+ return t;
3493
+ var e = t[Symbol.toPrimitive];
3494
+ if (void 0 !== e) {
3495
+ var i = e.call(t, r || "default");
3496
+ if ("object" != _typeof(i))
3497
+ return i;
3498
+ throw new TypeError("@@toPrimitive must return a primitive value.");
3499
+ }
3500
+ return ("string" === r ? String : Number)(t);
3501
+ }
3502
+ var MODE = "dark";
3503
+ var shadows = exports.shadows = {
3504
+ low: "".concat(_seedsDepth.default.ELEVATION_LEVEL_100, " ").concat(_seedsColor.default.COLOR_NEUTRAL_1100, "FF"),
3505
+ medium: "".concat(_seedsDepth.default.ELEVATION_LEVEL_300, " ").concat(_seedsColor.default.COLOR_NEUTRAL_1100, "FF"),
3506
+ high: "".concat(_seedsDepth.default.ELEVATION_LEVEL_400, " ").concat(_seedsColor.default.COLOR_NEUTRAL_1100, "FF")
3507
+ };
3508
+ var colors = _objectSpread(_objectSpread({}, _theme.default.colors), {}, {
3509
+ app: {
3510
+ background: {
3511
+ base: _seedsColor.default.COLOR_NEUTRAL_1000
3512
+ }
3513
+ },
3514
+ container: {
3515
+ background: {
3516
+ base: _seedsColor.default.COLOR_NEUTRAL_900,
3517
+ success: _decorativePalettes.green.background,
3518
+ warning: _decorativePalettes.yellow.background,
3519
+ error: _decorativePalettes.red.background,
3520
+ info: _decorativePalettes.blue.background,
3521
+ opportunity: _decorativePalettes.purple.background,
3522
+ /** @deprecated Use "error" instead of "danger" */
3523
+ danger: _decorativePalettes.red.background,
3524
+ decorative: {
3525
+ green: _decorativePalettes.green.background,
3526
+ blue: _decorativePalettes.blue.background,
3527
+ purple: _decorativePalettes.purple.background,
3528
+ yellow: _decorativePalettes.yellow.background,
3529
+ orange: _decorativePalettes.orange.background,
3530
+ red: _decorativePalettes.red.background,
3531
+ neutral: _decorativePalettes.neutral.background,
3532
+ magenta: _decorativePalettes.magenta.background,
3533
+ pink: _decorativePalettes.pink.background,
3534
+ aqua: _decorativePalettes.aqua.background,
3535
+ teal: _decorativePalettes.teal.background
3536
+ },
3537
+ selected: _seedsColor.default.COLOR_NEUTRAL_0,
3538
+ positive_sentiment: _seedsColor.default.COLOR_BLUE_500,
3539
+ negative_sentiment: _seedsColor.default.COLOR_RED_500,
3540
+ neutral_sentiment: _seedsColor.default.COLOR_NEUTRAL_300
3541
+ },
3542
+ border: {
3543
+ base: _seedsColor.default.COLOR_NEUTRAL_1100,
3544
+ success: _decorativePalettes.green.highlight,
3545
+ warning: _decorativePalettes.yellow.highlight,
3546
+ error: _decorativePalettes.red.highlight,
3547
+ /** @deprecated Use "error" instead of "danger" */
3548
+ danger: _decorativePalettes.red.highlight,
3549
+ info: _decorativePalettes.blue.highlight,
3550
+ opportunity: _decorativePalettes.purple.highlight,
3551
+ decorative: {
3552
+ green: _decorativePalettes.green.highlight,
3553
+ blue: _decorativePalettes.blue.highlight,
3554
+ purple: _decorativePalettes.purple.highlight,
3555
+ yellow: _decorativePalettes.yellow.highlight,
3556
+ orange: _decorativePalettes.orange.highlight,
3557
+ red: _decorativePalettes.red.highlight,
3558
+ neutral: _decorativePalettes.neutral.highlight,
3559
+ magenta: _decorativePalettes.magenta.highlight,
3560
+ pink: _decorativePalettes.pink.highlight,
3561
+ aqua: _decorativePalettes.aqua.highlight,
3562
+ teal: _decorativePalettes.teal.highlight
3563
+ },
3564
+ selected: _seedsColor.default.COLOR_NEUTRAL_0
3565
+ }
3566
+ },
3567
+ button: {
3568
+ primary: {
3569
+ background: {
3570
+ base: _seedsColor.default.COLOR_BLUE_400,
3571
+ hover: _seedsColor.default.COLOR_BLUE_300,
3572
+ active: _seedsColor.default.COLOR_BLUE_200
3573
+ },
3574
+ border: {
3575
+ base: "transparent"
3576
+ },
3577
+ text: {
3578
+ base: _seedsColor.default.COLOR_NEUTRAL_900,
3579
+ hover: _seedsColor.default.COLOR_NEUTRAL_1000
3580
+ }
3581
+ },
3582
+ secondary: {
3583
+ background: {
3584
+ base: "transparent",
3585
+ hover: _seedsColor.default.COLOR_NEUTRAL_100,
3586
+ active: _seedsColor.default.COLOR_NEUTRAL_0
3587
+ },
3588
+ border: {
3589
+ base: _seedsColor.default.COLOR_NEUTRAL_0
3590
+ },
3591
+ text: {
3592
+ base: _seedsColor.default.COLOR_NEUTRAL_0,
3593
+ hover: _seedsColor.default.COLOR_NEUTRAL_800
3594
+ }
3595
+ },
3596
+ pill: {
3597
+ background: {
3598
+ base: "transparent",
3599
+ hover: _seedsColor.default.COLOR_NEUTRAL_1000,
3600
+ active: _seedsColor.default.COLOR_NEUTRAL_900
3601
+ },
3602
+ border: {
3603
+ base: "transparent",
3604
+ hover: _seedsColor.default.COLOR_NEUTRAL_0
3605
+ },
3606
+ text: {
3607
+ base: _seedsColor.default.COLOR_NEUTRAL_100,
3608
+ hover: _seedsColor.default.COLOR_NEUTRAL_0
3609
+ }
3610
+ },
3611
+ destructive: {
3612
+ background: {
3613
+ base: _seedsColor.default.COLOR_RED_400,
3614
+ hover: _seedsColor.default.COLOR_RED_300,
3615
+ active: _seedsColor.default.COLOR_RED_200
3616
+ },
3617
+ border: {
3618
+ base: "transparent"
3619
+ },
3620
+ text: {
3621
+ base: _seedsColor.default.COLOR_NEUTRAL_900,
3622
+ hover: _seedsColor.default.COLOR_NEUTRAL_1000
3623
+ }
3624
+ },
3625
+ placeholder: {
3626
+ background: {
3627
+ base: "transparent",
3628
+ hover: _seedsColor.default.COLOR_NEUTRAL_1100,
3629
+ active: _seedsColor.default.COLOR_NEUTRAL_1100
3630
+ },
3631
+ border: {
3632
+ base: _seedsColor.default.COLOR_NEUTRAL_500
3633
+ },
3634
+ text: {
3635
+ base: _seedsColor.default.COLOR_BLUE_400,
3636
+ hover: _seedsColor.default.COLOR_BLUE_300
3637
+ }
3638
+ },
3639
+ unstyled: {
3640
+ background: {
3641
+ base: "transparent"
3642
+ },
3643
+ border: {
3644
+ base: "transparent"
3645
+ },
3646
+ text: {
3647
+ base: _seedsColor.default.COLOR_NEUTRAL_300,
3648
+ hover: _seedsColor.default.COLOR_NEUTRAL_200
3649
+ }
3650
+ }
3651
+ },
3652
+ link: {
3653
+ base: _seedsColor.default.COLOR_BLUE_400,
3654
+ hover: _seedsColor.default.COLOR_BLUE_300
3655
+ },
3656
+ text: {
3657
+ headline: _seedsColor.default.COLOR_NEUTRAL_0,
3658
+ subtext: _seedsColor.default.COLOR_NEUTRAL_200,
3659
+ body: _seedsColor.default.COLOR_NEUTRAL_100,
3660
+ inverse: _seedsColor.default.COLOR_NEUTRAL_900,
3661
+ error: _decorativePalettes.red.foreground,
3662
+ background: {
3663
+ highlight: _seedsColor.default.COLOR_YELLOW_900,
3664
+ selection: _seedsColor.default.COLOR_BLUE_800
3665
+ },
3666
+ decorative: {
3667
+ green: _decorativePalettes.green.foreground,
3668
+ blue: _decorativePalettes.blue.foreground,
3669
+ purple: _decorativePalettes.purple.foreground,
3670
+ yellow: _decorativePalettes.yellow.foreground,
3671
+ orange: _decorativePalettes.orange.foreground,
3672
+ red: _decorativePalettes.red.foreground,
3673
+ neutral: _decorativePalettes.neutral.foreground,
3674
+ magenta: _decorativePalettes.magenta.foreground,
3675
+ pink: _decorativePalettes.pink.foreground,
3676
+ aqua: _decorativePalettes.aqua.foreground,
3677
+ teal: _decorativePalettes.teal.foreground
3678
+ }
3679
+ },
3680
+ icon: {
3681
+ base: _seedsColor.default.COLOR_NEUTRAL_100,
3682
+ inverse: _seedsColor.default.COLOR_NEUTRAL_900,
3683
+ success: _decorativePalettes.green.foreground,
3684
+ warning: _decorativePalettes.yellow.foreground,
3685
+ error: _decorativePalettes.red.foreground,
3686
+ /** @deprecated Use "error" instead of "danger" */
3687
+ danger: _decorativePalettes.red.foreground,
3688
+ info: _decorativePalettes.blue.foreground,
3689
+ opportunity: _decorativePalettes.purple.foreground,
3690
+ applied: _seedsColor.default.COLOR_BLUE_400,
3691
+ positive_sentiment: _seedsColor.default.COLOR_BLUE_600,
3692
+ negative_sentiment: _seedsColor.default.COLOR_RED_600,
3693
+ neutral_sentiment: _seedsColor.default.COLOR_NEUTRAL_500
3694
+ },
3695
+ form: {
3696
+ background: {
3697
+ base: _seedsColor.default.COLOR_NEUTRAL_900,
3698
+ selected: _seedsColor.default.COLOR_NEUTRAL_0
3699
+ },
3700
+ border: {
3701
+ base: _seedsColor.default.COLOR_NEUTRAL_500,
3702
+ error: _decorativePalettes.red.highlight,
3703
+ warning: _decorativePalettes.yellow.highlight,
3704
+ selected: _seedsColor.default.COLOR_NEUTRAL_0
3705
+ },
3706
+ placeholder: {
3707
+ base: _seedsColor.default.COLOR_NEUTRAL_500
3708
+ }
3709
+ },
3710
+ listItem: {
3711
+ background: {
3712
+ base: "transparent",
3713
+ hover: _seedsColor.default.COLOR_NEUTRAL_800,
3714
+ selected: _seedsColor.default.COLOR_NEUTRAL_0
3715
+ }
3716
+ },
3717
+ overlay: {
3718
+ background: {
3719
+ base: (0, _polished.transparentize)(0.28, _seedsColor.default.COLOR_NEUTRAL_1000)
3720
+ },
3721
+ text: {
3722
+ base: _seedsColor.default.COLOR_NEUTRAL_0
3723
+ },
3724
+ icon: {
3725
+ base: _seedsColor.default.COLOR_NEUTRAL_0
3726
+ }
3727
+ },
3728
+ elevation: {
3729
+ base: _seedsColor.default.COLOR_NEUTRAL_1100
3730
+ },
3731
+ illustration: {
3732
+ fill: _seedsColor.default.COLOR_BLUE_400,
3733
+ stroke: _decorativePalettes.neutral.foreground
3734
+ },
3735
+ dataviz: {
3736
+ map: _datavizPalette.datavizPalette.DATAVIZ_COLORS_MAP,
3737
+ list: _datavizPalette.datavizPalette.DATAVIZ_COLORS_LIST
3738
+ }
3739
+ }, _datavizPalette.datavizPalette);
3740
+ var darkTheme = _objectSpread(_objectSpread({}, _theme.default), {}, {
3741
+ colors,
3742
+ shadows,
3743
+ mode: MODE
3744
+ });
3745
+ var _default = exports.default = darkTheme;
3746
+ }
3747
+ });
3748
+
3749
+ // ../seeds-react-theme/commonjs/extendedThemes/sproutTheme/light/theme.js
3750
+ var require_theme3 = __commonJS({
3751
+ "../seeds-react-theme/commonjs/extendedThemes/sproutTheme/light/theme.js"(exports) {
3752
+ "use strict";
3753
+ Object.defineProperty(exports, "__esModule", {
3754
+ value: true
3755
+ });
3756
+ exports.navigation = exports.listening = exports.growth = exports.default = exports.datePicker = exports.cardControl = exports.analytics = void 0;
3757
+ var _polished = (init_polished_esm(), __toCommonJS(polished_esm_exports));
3758
+ var _theme = _interopRequireDefault(require_theme());
3759
+ function _interopRequireDefault(obj) {
3760
+ return obj && obj.__esModule ? obj : { default: obj };
3761
+ }
3762
+ function _typeof(o) {
3763
+ "@babel/helpers - typeof";
3764
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
3765
+ return typeof o2;
3766
+ } : function(o2) {
3767
+ return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
3768
+ }, _typeof(o);
3769
+ }
3770
+ function ownKeys(e, r) {
3771
+ var t = Object.keys(e);
3772
+ if (Object.getOwnPropertySymbols) {
3773
+ var o = Object.getOwnPropertySymbols(e);
3774
+ r && (o = o.filter(function(r2) {
3775
+ return Object.getOwnPropertyDescriptor(e, r2).enumerable;
3776
+ })), t.push.apply(t, o);
3777
+ }
3778
+ return t;
3779
+ }
3780
+ function _objectSpread(e) {
3781
+ for (var r = 1; r < arguments.length; r++) {
3782
+ var t = null != arguments[r] ? arguments[r] : {};
3783
+ r % 2 ? ownKeys(Object(t), true).forEach(function(r2) {
3784
+ _defineProperty(e, r2, t[r2]);
3785
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r2) {
3786
+ Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t, r2));
3787
+ });
3788
+ }
3789
+ return e;
3790
+ }
3791
+ function _defineProperty(obj, key, value) {
3792
+ key = _toPropertyKey(key);
3793
+ if (key in obj) {
3794
+ Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
3795
+ } else {
3796
+ obj[key] = value;
3797
+ }
3798
+ return obj;
3799
+ }
3800
+ function _toPropertyKey(t) {
3801
+ var i = _toPrimitive(t, "string");
3802
+ return "symbol" == _typeof(i) ? i : String(i);
3803
+ }
3804
+ function _toPrimitive(t, r) {
3805
+ if ("object" != _typeof(t) || !t)
3806
+ return t;
3807
+ var e = t[Symbol.toPrimitive];
3808
+ if (void 0 !== e) {
3809
+ var i = e.call(t, r || "default");
3810
+ if ("object" != _typeof(i))
3811
+ return i;
3812
+ throw new TypeError("@@toPrimitive must return a primitive value.");
3813
+ }
3814
+ return ("string" === r ? String : Number)(t);
3815
+ }
3816
+ var navigation = exports.navigation = {
3817
+ main: {
3818
+ background: {
3819
+ base: _theme.default.colors.neutral[900],
3820
+ overflowGradient: _theme.default.colors.neutral[1e3]
3821
+ },
3822
+ border: {
3823
+ base: _theme.default.colors.neutral[1e3]
3824
+ }
3825
+ },
3826
+ secondary: {
3827
+ background: {
3828
+ base: _theme.default.colors.neutral[800]
3829
+ },
3830
+ widget: {
3831
+ background: {
3832
+ base: _theme.default.colors.neutral[1e3]
3833
+ }
3834
+ },
3835
+ accordion: {
3836
+ background: {
3837
+ base: _theme.default.colors.neutral[900]
3838
+ }
3839
+ }
3840
+ },
3841
+ settings: {
3842
+ listItem: {
3843
+ background: {
3844
+ base: "transparent",
3845
+ hover: _theme.default.colors.neutral[200],
3846
+ selected: _theme.default.colors.neutral[0]
3847
+ }
3848
+ }
3849
+ },
3850
+ text: {
3851
+ base: _theme.default.colors.neutral[0],
3852
+ hover: _theme.default.colors.neutral[0]
3853
+ },
3854
+ icon: {
3855
+ base: _theme.default.colors.neutral[0],
3856
+ hover: _theme.default.colors.neutral[0]
3857
+ },
3858
+ listItem: {
3859
+ background: {
3860
+ base: _theme.default.colors.neutral[800],
3861
+ hover: _theme.default.colors.neutral[1e3],
3862
+ selected: _theme.default.colors.neutral[700]
3863
+ }
3864
+ }
3865
+ };
3866
+ var datePicker = exports.datePicker = {
3867
+ comparison: {
3868
+ background: {
3869
+ base: _theme.default.colors.neutral[400]
3870
+ },
3871
+ text: {
3872
+ base: _theme.default.colors.neutral[800]
3873
+ }
3874
+ }
3875
+ };
3876
+ var analytics = exports.analytics = {
3877
+ trend: {
3878
+ positive: _theme.default.colors.teal[800],
3879
+ neutral: _theme.default.colors.neutral[800],
3880
+ negative: _theme.default.colors.neutral[800]
3881
+ },
3882
+ overlay: {
3883
+ background: {
3884
+ base: (0, _polished.transparentize)(0.2, _theme.default.colors.neutral[0])
3885
+ }
3886
+ }
3887
+ };
3888
+ var listening = exports.listening = {
3889
+ chart: {
3890
+ indicator: {
3891
+ default: {
3892
+ primary: _theme.default.colors.neutral[400],
3893
+ secondary: _theme.default.colors.neutral[0]
3894
+ },
3895
+ hover: {
3896
+ primary: _theme.default.colors.neutral[1e3],
3897
+ secondary: _theme.default.colors.neutral[0]
3898
+ }
3899
+ },
3900
+ spike: {
3901
+ background: {
3902
+ base: _theme.default.colors.teal[500]
3903
+ },
3904
+ icon: {
3905
+ base: _theme.default.colors.neutral[0]
3906
+ }
3907
+ }
3908
+ },
3909
+ topicTypes: {
3910
+ customTopic: _theme.default.colors.blue[400],
3911
+ brandHealth: _theme.default.colors.red[400],
3912
+ industryInsights: _theme.default.colors.green[400],
3913
+ competitiveAnalysis: _theme.default.colors.yellow[400],
3914
+ campaignAnalysis: _theme.default.colors.magenta[400],
3915
+ eventMonitoring: _theme.default.colors.aqua[400],
3916
+ featuredTopic: _theme.default.colors.green[400]
3917
+ },
3918
+ worldMap: {
3919
+ empty: _theme.default.colors.neutral[200],
3920
+ q0: _theme.default.colors.purple[200],
3921
+ q1: _theme.default.colors.purple[300],
3922
+ q2: _theme.default.colors.purple[400],
3923
+ q3: _theme.default.colors.purple[500],
3924
+ q4: _theme.default.colors.purple[600],
3925
+ q5: _theme.default.colors.purple[700],
3926
+ q6: _theme.default.colors.purple[800],
3927
+ q7: _theme.default.colors.purple[900]
3928
+ }
3929
+ };
3930
+ var growth = exports.growth = {
3931
+ carousel: {
3932
+ indicator: {
3933
+ active: _theme.default.colors.blue[600],
3934
+ inactive: _theme.default.colors.neutral[300]
3935
+ }
3936
+ },
3937
+ education: {
3938
+ decorative: {
3939
+ aqua: _theme.default.colors.aqua[600],
3940
+ teal: _theme.default.colors.teal[700]
3941
+ }
3942
+ },
3943
+ opportunity: {
3944
+ background: {
3945
+ base: _theme.default.colors.purple[700],
3946
+ secondary: _theme.default.colors.neutral[900],
3947
+ hover: _theme.default.colors.purple[300]
3948
+ },
3949
+ button: {
3950
+ primary: {
3951
+ base: _theme.default.colors.purple[700],
3952
+ hover: _theme.default.colors.purple[800]
3953
+ }
3954
+ },
3955
+ badge: {
3956
+ background: {
3957
+ base: _theme.default.colors.purple[200],
3958
+ active: _theme.default.colors.purple[800]
3959
+ },
3960
+ icon: {
3961
+ base: _theme.default.colors.purple[700],
3962
+ active: _theme.default.colors.purple[100]
3963
+ },
3964
+ text: {
3965
+ base: _theme.default.colors.purple[700]
3966
+ }
3967
+ },
3968
+ decorative: {
3969
+ // confetti
3970
+ green: _theme.default.colors.green[700],
3971
+ lightAqua: _theme.default.colors.aqua[600],
3972
+ darkAqua: _theme.default.colors.aqua[1100],
3973
+ purple: _theme.default.colors.purple[700]
3974
+ }
3975
+ },
3976
+ featuredDemo: {
3977
+ background: {
3978
+ primary: {
3979
+ base: _theme.default.colors.blue[700],
3980
+ hover: _theme.default.colors.blue[900]
3981
+ },
3982
+ secondary: {
3983
+ base: _theme.default.colors.purple[800],
3984
+ hover: _theme.default.colors.purple[800]
3985
+ }
3986
+ }
3987
+ },
3988
+ darkModal: {
3989
+ background: {
3990
+ base: _theme.default.colors.aqua[1100]
3991
+ },
3992
+ text: {
3993
+ base: _theme.default.colors.neutral[0]
3994
+ },
3995
+ cards: {
3996
+ background: {
3997
+ base: _theme.default.colors.neutral[0],
3998
+ hover: _theme.default.colors.purple[100]
3999
+ },
4000
+ text: {
4001
+ base: _theme.default.colors.neutral[800],
4002
+ hover: _theme.default.colors.neutral[900]
4003
+ },
4004
+ border: {
4005
+ base: _theme.default.colors.neutral[0],
4006
+ hover: _theme.default.colors.purple[700]
4007
+ }
4008
+ }
4009
+ },
4010
+ user: {
4011
+ status: {
4012
+ online: _theme.default.colors.green[700]
4013
+ }
4014
+ }
4015
+ };
4016
+ var cardControl = exports.cardControl = {
4017
+ background: {
4018
+ base: _theme.default.colors.neutral[0],
4019
+ selected: _theme.default.colors.neutral[800],
4020
+ hover: _theme.default.colors.neutral[100]
4021
+ },
4022
+ text: {
4023
+ selected: _theme.default.colors.text.inverse
4024
+ }
4025
+ };
4026
+ var lightTheme = _objectSpread(_objectSpread({}, _theme.default), {}, {
4027
+ colors: _objectSpread(_objectSpread({}, _theme.default.colors), {}, {
4028
+ navigation,
4029
+ datePicker,
4030
+ analytics,
4031
+ listening,
4032
+ growth,
4033
+ cardControl
4034
+ })
4035
+ });
4036
+ var _default = exports.default = lightTheme;
4037
+ }
4038
+ });
4039
+
4040
+ // ../seeds-react-theme/commonjs/extendedThemes/sproutTheme/dark/theme.js
4041
+ var require_theme4 = __commonJS({
4042
+ "../seeds-react-theme/commonjs/extendedThemes/sproutTheme/dark/theme.js"(exports) {
4043
+ "use strict";
4044
+ Object.defineProperty(exports, "__esModule", {
4045
+ value: true
4046
+ });
4047
+ exports.navigation = exports.listening = exports.growth = exports.default = exports.datePicker = exports.cardControl = exports.analytics = void 0;
4048
+ var _polished = (init_polished_esm(), __toCommonJS(polished_esm_exports));
4049
+ var _theme = _interopRequireDefault(require_theme2());
4050
+ function _interopRequireDefault(obj) {
4051
+ return obj && obj.__esModule ? obj : { default: obj };
4052
+ }
4053
+ function _typeof(o) {
4054
+ "@babel/helpers - typeof";
4055
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
4056
+ return typeof o2;
4057
+ } : function(o2) {
4058
+ return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
4059
+ }, _typeof(o);
4060
+ }
4061
+ function ownKeys(e, r) {
4062
+ var t = Object.keys(e);
4063
+ if (Object.getOwnPropertySymbols) {
4064
+ var o = Object.getOwnPropertySymbols(e);
4065
+ r && (o = o.filter(function(r2) {
4066
+ return Object.getOwnPropertyDescriptor(e, r2).enumerable;
4067
+ })), t.push.apply(t, o);
4068
+ }
4069
+ return t;
4070
+ }
4071
+ function _objectSpread(e) {
4072
+ for (var r = 1; r < arguments.length; r++) {
4073
+ var t = null != arguments[r] ? arguments[r] : {};
4074
+ r % 2 ? ownKeys(Object(t), true).forEach(function(r2) {
4075
+ _defineProperty(e, r2, t[r2]);
4076
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r2) {
4077
+ Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t, r2));
4078
+ });
4079
+ }
4080
+ return e;
4081
+ }
4082
+ function _defineProperty(obj, key, value) {
4083
+ key = _toPropertyKey(key);
4084
+ if (key in obj) {
4085
+ Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
4086
+ } else {
4087
+ obj[key] = value;
4088
+ }
4089
+ return obj;
4090
+ }
4091
+ function _toPropertyKey(t) {
4092
+ var i = _toPrimitive(t, "string");
4093
+ return "symbol" == _typeof(i) ? i : String(i);
4094
+ }
4095
+ function _toPrimitive(t, r) {
4096
+ if ("object" != _typeof(t) || !t)
4097
+ return t;
4098
+ var e = t[Symbol.toPrimitive];
4099
+ if (void 0 !== e) {
4100
+ var i = e.call(t, r || "default");
4101
+ if ("object" != _typeof(i))
4102
+ return i;
4103
+ throw new TypeError("@@toPrimitive must return a primitive value.");
4104
+ }
4105
+ return ("string" === r ? String : Number)(t);
4106
+ }
4107
+ var navigation = exports.navigation = {
4108
+ main: {
4109
+ background: {
4110
+ base: _theme.default.colors.neutral[1e3],
4111
+ overflowGradient: _theme.default.colors.neutral[1100]
4112
+ },
4113
+ border: {
4114
+ base: _theme.default.colors.neutral[1100]
4115
+ }
4116
+ },
4117
+ secondary: {
4118
+ background: {
4119
+ base: _theme.default.colors.neutral[900]
4120
+ },
4121
+ widget: {
4122
+ background: {
4123
+ base: _theme.default.colors.neutral[800]
4124
+ }
4125
+ },
4126
+ accordion: {
4127
+ background: {
4128
+ // Uses hexicimal to change the opacity of the color
4129
+ // Adding 'A3' at end to make this color have a 64% opacity
4130
+ // Reference https://gist.github.com/lopspower/03fb1cc0ac9f32ef38f4
4131
+ base: "".concat(_theme.default.colors.neutral[1e3], "A3")
4132
+ }
4133
+ }
4134
+ },
4135
+ settings: {
4136
+ listItem: {
4137
+ background: {
4138
+ base: "transparent",
4139
+ hover: _theme.default.colors.neutral[1100],
4140
+ selected: _theme.default.colors.neutral[800]
4141
+ }
4142
+ }
4143
+ },
4144
+ text: {
4145
+ base: _theme.default.colors.neutral[0],
4146
+ hover: _theme.default.colors.neutral[0]
4147
+ },
4148
+ icon: {
4149
+ base: _theme.default.colors.neutral[0],
4150
+ hover: _theme.default.colors.neutral[0]
4151
+ },
4152
+ listItem: {
4153
+ background: {
4154
+ base: _theme.default.colors.neutral[1e3],
4155
+ hover: _theme.default.colors.neutral[1100],
4156
+ selected: _theme.default.colors.neutral[700]
4157
+ }
4158
+ }
4159
+ };
4160
+ var datePicker = exports.datePicker = {
4161
+ comparison: {
4162
+ background: {
4163
+ base: _theme.default.colors.neutral[400]
4164
+ },
4165
+ text: {
4166
+ base: _theme.default.colors.neutral[800]
4167
+ }
4168
+ }
4169
+ };
4170
+ var analytics = exports.analytics = {
4171
+ trend: {
4172
+ positive: _theme.default.colors.teal[500],
4173
+ neutral: _theme.default.colors.neutral[100],
4174
+ negative: _theme.default.colors.neutral[100]
4175
+ },
4176
+ overlay: {
4177
+ background: {
4178
+ base: (0, _polished.transparentize)(0.2, _theme.default.colors.neutral[900])
4179
+ }
4180
+ }
4181
+ };
4182
+ var listening = exports.listening = {
4183
+ chart: {
4184
+ indicator: {
4185
+ default: {
4186
+ primary: _theme.default.colors.neutral[100],
4187
+ secondary: _theme.default.colors.neutral[900]
4188
+ },
4189
+ hover: {
4190
+ primary: _theme.default.colors.neutral[300],
4191
+ secondary: _theme.default.colors.neutral[0]
4192
+ }
4193
+ },
4194
+ spike: {
4195
+ background: {
4196
+ base: _theme.default.colors.teal[500]
4197
+ },
4198
+ icon: {
4199
+ base: _theme.default.colors.neutral[0]
4200
+ }
4201
+ }
4202
+ },
4203
+ topicTypes: {
4204
+ customTopic: _theme.default.colors.teal[400],
4205
+ brandHealth: _theme.default.colors.red[400],
4206
+ industryInsights: _theme.default.colors.green[400],
4207
+ competitiveAnalysis: _theme.default.colors.yellow[400],
4208
+ campaignAnalysis: _theme.default.colors.magenta[400],
4209
+ eventMonitoring: _theme.default.colors.aqua[400],
4210
+ featuredTopic: _theme.default.colors.green[400]
4211
+ },
4212
+ worldMap: {
4213
+ empty: _theme.default.colors.neutral[200],
4214
+ q0: _theme.default.colors.purple[200],
4215
+ q1: _theme.default.colors.purple[300],
4216
+ q2: _theme.default.colors.purple[400],
4217
+ q3: _theme.default.colors.purple[500],
4218
+ q4: _theme.default.colors.purple[600],
4219
+ q5: _theme.default.colors.purple[700],
4220
+ q6: _theme.default.colors.purple[800],
4221
+ q7: _theme.default.colors.purple[900]
4222
+ }
4223
+ };
4224
+ var growth = exports.growth = {
4225
+ carousel: {
4226
+ indicator: {
4227
+ active: _theme.default.colors.blue[600],
4228
+ inactive: _theme.default.colors.neutral[300]
4229
+ }
4230
+ },
4231
+ education: {
4232
+ decorative: {
4233
+ aqua: _theme.default.colors.aqua[600],
4234
+ teal: _theme.default.colors.teal[500]
4235
+ }
4236
+ },
4237
+ opportunity: {
4238
+ background: {
4239
+ base: _theme.default.colors.purple[700],
4240
+ secondary: _theme.default.colors.neutral[700],
4241
+ hover: _theme.default.colors.purple[500]
4242
+ },
4243
+ button: {
4244
+ primary: {
4245
+ base: _theme.default.colors.purple[400],
4246
+ hover: _theme.default.colors.purple[300]
4247
+ }
4248
+ },
4249
+ badge: {
4250
+ background: {
4251
+ base: _theme.default.colors.purple[700],
4252
+ active: _theme.default.colors.purple[100]
4253
+ },
4254
+ icon: {
4255
+ base: _theme.default.colors.purple[200],
4256
+ active: _theme.default.colors.purple[800]
4257
+ },
4258
+ text: {
4259
+ base: _theme.default.colors.purple[200]
4260
+ }
4261
+ },
4262
+ decorative: {
4263
+ // confetti
4264
+ green: _theme.default.colors.green[700],
4265
+ lightAqua: _theme.default.colors.aqua[600],
4266
+ darkAqua: _theme.default.colors.aqua[1100],
4267
+ purple: _theme.default.colors.purple[700]
4268
+ }
4269
+ },
4270
+ featuredDemo: {
4271
+ background: {
4272
+ primary: {
4273
+ base: _theme.default.colors.blue[400],
4274
+ hover: _theme.default.colors.blue[100]
4275
+ },
4276
+ secondary: {
4277
+ base: _theme.default.colors.purple[500],
4278
+ hover: _theme.default.colors.purple[100]
4279
+ }
4280
+ }
4281
+ },
4282
+ darkModal: {
4283
+ background: {
4284
+ base: _theme.default.colors.aqua[1100]
4285
+ },
4286
+ text: {
4287
+ base: _theme.default.colors.neutral[0]
4288
+ },
4289
+ cards: {
4290
+ background: {
4291
+ base: _theme.default.colors.neutral[0],
4292
+ hover: _theme.default.colors.purple[100]
4293
+ },
4294
+ text: {
4295
+ base: _theme.default.colors.neutral[800],
4296
+ hover: _theme.default.colors.neutral[900]
4297
+ },
4298
+ border: {
4299
+ base: _theme.default.colors.neutral[0],
4300
+ hover: _theme.default.colors.purple[700]
4301
+ }
4302
+ }
4303
+ },
4304
+ user: {
4305
+ status: {
4306
+ online: _theme.default.colors.green[700]
4307
+ }
4308
+ }
4309
+ };
4310
+ var cardControl = exports.cardControl = {
4311
+ background: {
4312
+ base: _theme.default.colors.neutral[900],
4313
+ selected: _theme.default.colors.neutral[700],
4314
+ hover: _theme.default.colors.neutral[800]
4315
+ },
4316
+ text: {
4317
+ selected: _theme.default.colors.text.body
4318
+ }
4319
+ };
4320
+ var darkTheme = _objectSpread(_objectSpread({}, _theme.default), {}, {
4321
+ colors: _objectSpread(_objectSpread({}, _theme.default.colors), {}, {
4322
+ navigation,
4323
+ datePicker,
4324
+ analytics,
4325
+ listening,
4326
+ growth,
4327
+ cardControl
4328
+ })
4329
+ });
4330
+ var _default = exports.default = darkTheme;
4331
+ }
4332
+ });
4333
+
4334
+ // ../seeds-react-theme/commonjs/extendedThemes/sproutTheme/index.js
4335
+ var require_sproutTheme = __commonJS({
4336
+ "../seeds-react-theme/commonjs/extendedThemes/sproutTheme/index.js"(exports) {
4337
+ "use strict";
4338
+ Object.defineProperty(exports, "__esModule", {
4339
+ value: true
4340
+ });
4341
+ Object.defineProperty(exports, "sproutDarkTheme", {
4342
+ enumerable: true,
4343
+ get: function get() {
4344
+ return _theme2.default;
4345
+ }
4346
+ });
4347
+ Object.defineProperty(exports, "sproutLightTheme", {
4348
+ enumerable: true,
4349
+ get: function get() {
4350
+ return _theme.default;
4351
+ }
4352
+ });
4353
+ var _theme = _interopRequireDefault(require_theme3());
4354
+ var _theme2 = _interopRequireDefault(require_theme4());
4355
+ function _interopRequireDefault(obj) {
4356
+ return obj && obj.__esModule ? obj : { default: obj };
4357
+ }
4358
+ }
4359
+ });
4360
+
4361
+ // ../seeds-react-theme/commonjs/types/theme.js
4362
+ var require_theme5 = __commonJS({
4363
+ "../seeds-react-theme/commonjs/types/theme.js"(exports) {
4364
+ "use strict";
4365
+ Object.defineProperty(exports, "__esModule", {
4366
+ value: true
4367
+ });
4368
+ }
4369
+ });
4370
+
4371
+ // ../seeds-react-theme/commonjs/index.js
4372
+ var require_commonjs = __commonJS({
4373
+ "../seeds-react-theme/commonjs/index.js"(exports) {
4374
+ "use strict";
4375
+ Object.defineProperty(exports, "__esModule", {
4376
+ value: true
4377
+ });
4378
+ var _exportNames = {
4379
+ theme: true,
4380
+ darkTheme: true,
4381
+ sproutLightTheme: true,
4382
+ sproutDarkTheme: true
4383
+ };
4384
+ Object.defineProperty(exports, "darkTheme", {
4385
+ enumerable: true,
4386
+ get: function get() {
4387
+ return _theme2.default;
4388
+ }
4389
+ });
4390
+ Object.defineProperty(exports, "sproutDarkTheme", {
4391
+ enumerable: true,
4392
+ get: function get() {
4393
+ return _sproutTheme.sproutDarkTheme;
4394
+ }
4395
+ });
4396
+ Object.defineProperty(exports, "sproutLightTheme", {
4397
+ enumerable: true,
4398
+ get: function get() {
4399
+ return _sproutTheme.sproutLightTheme;
4400
+ }
4401
+ });
4402
+ Object.defineProperty(exports, "theme", {
4403
+ enumerable: true,
4404
+ get: function get() {
4405
+ return _theme.default;
4406
+ }
4407
+ });
4408
+ var _theme = _interopRequireDefault(require_theme());
4409
+ var _theme2 = _interopRequireDefault(require_theme2());
4410
+ var _sproutTheme = require_sproutTheme();
4411
+ var _theme3 = require_theme5();
4412
+ Object.keys(_theme3).forEach(function(key) {
4413
+ if (key === "default" || key === "__esModule")
4414
+ return;
4415
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key))
4416
+ return;
4417
+ if (key in exports && exports[key] === _theme3[key])
4418
+ return;
4419
+ Object.defineProperty(exports, key, {
4420
+ enumerable: true,
4421
+ get: function get() {
4422
+ return _theme3[key];
4423
+ }
4424
+ });
4425
+ });
4426
+ function _interopRequireDefault(obj) {
4427
+ return obj && obj.__esModule ? obj : { default: obj };
4428
+ }
4429
+ }
4430
+ });
4431
+
4432
+ // src/Radio.tsx
4433
+ import * as React from "react";
4434
+
4435
+ // src/styles.ts
4436
+ import styled, { css as css2 } from "styled-components";
4437
+ import { COMMON } from "@sproutsocial/seeds-react-system-props";
4438
+
4439
+ // ../seeds-react-mixins/dist/index.mjs
4440
+ init_polished_esm();
4441
+ var import_seeds_react_theme = __toESM(require_commonjs(), 1);
4442
+ import { css } from "styled-components";
4443
+ var visuallyHidden = css`
4444
+ position: absolute;
4445
+ width: 1px;
4446
+ height: 1px;
4447
+ padding: 0;
4448
+ margin: -1px;
4449
+ overflow: hidden;
4450
+ clip: rect(0 0 0 0);
4451
+ border: 0;
4452
+ `;
4453
+ var focusRing = css`
4454
+ box-shadow: 0 0 0 1px ${import_seeds_react_theme.theme.colors.button.primary.background.base},
4455
+ 0 0px 0px 4px
4456
+ ${curriedTransparentize(0.7, import_seeds_react_theme.theme.colors.button.primary.background.base)};
4457
+ outline: none;
4458
+
4459
+ &::-moz-focus-inner {
4460
+ border: 0;
4461
+ }
4462
+ `;
4463
+ var pill = css`
4464
+ min-width: ${import_seeds_react_theme.theme.space[600]};
4465
+ min-height: ${import_seeds_react_theme.theme.space[600]};
4466
+ padding: ${import_seeds_react_theme.theme.space[300]};
4467
+ border-radius: ${import_seeds_react_theme.theme.radii.pill};
4468
+ `;
4469
+ var disabled = css`
4470
+ opacity: 0.4;
4471
+ pointer-events: none;
4472
+ `;
4473
+
4474
+ // src/styles.ts
4475
+ import Text from "@sproutsocial/seeds-react-text";
4476
+ var Container = styled.span`
4477
+ display: inline-flex;
4478
+ align-items: center;
4479
+ box-sizing: border-box;
4480
+
4481
+ ${COMMON}
4482
+ `;
4483
+ Container.displayName = "Radio";
4484
+ var Input = styled.input`
4485
+ box-sizing: border-box;
4486
+ position: absolute;
4487
+ top: 0;
4488
+ left: 0;
4489
+ width: 100%;
4490
+ height: 100%;
4491
+ margin: 0;
4492
+ appearance: none;
4493
+ cursor: ${(props) => props.disabled ? "not-allowed" : "pointer"};
4494
+ border: 1px solid ${(props) => props.theme.colors.form.border.base};
4495
+ border-radius: 50%;
4496
+ background-color: ${(props) => props.theme.colors.form.background.base};
4497
+ transition: border-color ${(props) => props.theme.duration.fast}
4498
+ ${(props) => props.theme.easing.ease_in},
4499
+ background-color ${(props) => props.theme.duration.fast}
4500
+ ${(props) => props.theme.easing.ease_in};
4501
+
4502
+ &:focus {
4503
+ ${focusRing}
4504
+ }
4505
+ `;
4506
+ Input.displayName = "Input";
4507
+ var InputWrapper = styled.span`
4508
+ position: relative;
4509
+ width: ${(props) => props.theme.space[400]};
4510
+ height: ${(props) => props.theme.space[400]};
4511
+ cursor: ${(props) => props.disabled ? "not-allowed" : "pointer"};
4512
+ ${(props) => props.disabled && disabled}
4513
+
4514
+ &:before {
4515
+ content: "";
4516
+ position: absolute;
4517
+ top: 50%;
4518
+ left: 50%;
4519
+ transform: translate(-50%, -50%);
4520
+ width: 6px;
4521
+ height: 6px;
4522
+ border-radius: 50%;
4523
+ opacity: 0;
4524
+ transition: opacity ${(props) => props.theme.duration.fast}
4525
+ ${(props) => props.theme.easing.ease_in};
4526
+ z-index: 1;
4527
+ pointer-events: none;
4528
+ cursor: ${(props) => props.disabled ? "not-allowed" : "pointer"};
4529
+ }
4530
+
4531
+ ${(props) => !props.checked && css2`
4532
+ &:hover,
4533
+ &:focus {
4534
+ ${Input} {
4535
+ border-color: ${props.theme.colors.form.border.base};
4536
+ background-color: ${props.theme.colors.form.background.base};
4537
+ }
4538
+
4539
+ &:before {
4540
+ opacity: ${props.disabled ? 0 : 1};
4541
+ background-color: ${props.theme.colors.form.background.base};
4542
+ }
4543
+ }
4544
+ `}
4545
+
4546
+ ${(props) => props.checked && css2`
4547
+ ${Input} {
4548
+ border-color: ${props.theme.colors.form.border.selected};
4549
+ background-color: ${props.theme.colors.form.background.selected};
4550
+ }
4551
+
4552
+ &:before {
4553
+ opacity: 1;
4554
+ background-color: ${props.theme.colors.form.background.base};
4555
+ }
4556
+ `}
4557
+ `;
4558
+ InputWrapper.displayName = "InputWrapper";
4559
+ var LabelText = styled(Text)`
4560
+ margin-left: ${(props) => props.theme.space[300]};
4561
+ font-size: ${(props) => props.theme.typography[200].fontSize};
4562
+ line-height: 1;
4563
+ cursor: ${(props) => props.disabled ? "not-allowed" : "pointer"};
4564
+ color: ${(props) => props.theme.colors.text.headline};
4565
+
4566
+ ${(props) => props.disabled && css2`
4567
+ opacity: 0.4;
4568
+ `}
4569
+ `;
4570
+ LabelText.displayName = "LabelText";
4571
+ var styles_default = Container;
4572
+
4573
+ // src/Radio.tsx
4574
+ var Radio = class extends React.Component {
4575
+ constructor() {
4576
+ super(...arguments);
4577
+ __publicField(this, "handleChange", (e) => {
4578
+ if (!!this.props.checked || this.props.disabled) {
4579
+ return;
4580
+ }
4581
+ this.props.onChange && this.props.onChange(e);
4582
+ });
4583
+ __publicField(this, "handleFocus", (e) => {
4584
+ if (this.props.onFocus) {
4585
+ this.props.onFocus(e);
4586
+ }
4587
+ });
4588
+ __publicField(this, "handleBlur", (e) => {
4589
+ if (this.props.onBlur) {
4590
+ this.props.onBlur(e);
4591
+ }
4592
+ });
4593
+ }
4594
+ render() {
4595
+ const {
4596
+ id,
4597
+ value,
4598
+ name,
4599
+ label,
4600
+ checked,
4601
+ disabled: disabled2,
4602
+ /* eslint-disable @typescript-eslint/no-unused-vars */
4603
+ onChange,
4604
+ onFocus,
4605
+ onBlur,
4606
+ /* eslint-enable @typescript-eslint/no-unused-vars */
4607
+ ariaLabel,
4608
+ qa = {},
4609
+ color,
4610
+ ...rest
4611
+ } = this.props;
4612
+ return /* @__PURE__ */ React.createElement(
4613
+ styles_default,
4614
+ {
4615
+ as: label && "label",
4616
+ color,
4617
+ ...rest
4618
+ },
4619
+ /* @__PURE__ */ React.createElement(InputWrapper, { checked, disabled: disabled2 }, /* @__PURE__ */ React.createElement(
4620
+ Input,
4621
+ {
4622
+ type: "radio",
4623
+ id,
4624
+ "aria-label": ariaLabel,
4625
+ value,
4626
+ name,
4627
+ checked,
4628
+ disabled: disabled2,
4629
+ onChange: this.handleChange,
4630
+ onFocus: this.handleFocus,
4631
+ onBlur: this.handleBlur,
4632
+ "data-qa-radio": name || "",
4633
+ "data-qa-radio-ischecked": checked === true,
4634
+ "data-qa-radio-isdisabled": disabled2 === true,
4635
+ ...qa
4636
+ }
4637
+ )),
4638
+ label && /* @__PURE__ */ React.createElement(LabelText, { disabled: disabled2 }, label)
4639
+ );
4640
+ }
4641
+ };
4642
+ __publicField(Radio, "defaultProps", {
4643
+ disabled: false
4644
+ });
4645
+
4646
+ // src/index.ts
4647
+ var src_default = Radio;
4648
+ export {
4649
+ Radio,
4650
+ src_default as default
4651
+ };