UNPKG

314 kBJavaScriptView Raw
1function __$styleInject(css, returnValue) {
2 if (typeof document === 'undefined') {
3 return returnValue;
4 }
5 css = css || '';
6 var head = document.head || document.getElementsByTagName('head')[0];
7 var style = document.createElement('style');
8 style.type = 'text/css';
9 head.appendChild(style);
10
11 if (style.styleSheet){
12 style.styleSheet.cssText = css;
13 } else {
14 style.appendChild(document.createTextNode(css));
15 }
16 return returnValue;
17}
18
19import React, { Children, Component, cloneElement } from 'react';
20import PropTypes from 'prop-types';
21import styled, { css, keyframes } from 'styled-components/no-parser';
22
23var asyncGenerator = function () {
24 function AwaitValue(value) {
25 this.value = value;
26 }
27
28 function AsyncGenerator(gen) {
29 var front, back;
30
31 function send(key, arg) {
32 return new Promise(function (resolve, reject) {
33 var request = {
34 key: key,
35 arg: arg,
36 resolve: resolve,
37 reject: reject,
38 next: null
39 };
40
41 if (back) {
42 back = back.next = request;
43 } else {
44 front = back = request;
45 resume(key, arg);
46 }
47 });
48 }
49
50 function resume(key, arg) {
51 try {
52 var result = gen[key](arg);
53 var value = result.value;
54
55 if (value instanceof AwaitValue) {
56 Promise.resolve(value.value).then(function (arg) {
57 resume("next", arg);
58 }, function (arg) {
59 resume("throw", arg);
60 });
61 } else {
62 settle(result.done ? "return" : "normal", result.value);
63 }
64 } catch (err) {
65 settle("throw", err);
66 }
67 }
68
69 function settle(type, value) {
70 switch (type) {
71 case "return":
72 front.resolve({
73 value: value,
74 done: true
75 });
76 break;
77
78 case "throw":
79 front.reject(value);
80 break;
81
82 default:
83 front.resolve({
84 value: value,
85 done: false
86 });
87 break;
88 }
89
90 front = front.next;
91
92 if (front) {
93 resume(front.key, front.arg);
94 } else {
95 back = null;
96 }
97 }
98
99 this._invoke = send;
100
101 if (typeof gen.return !== "function") {
102 this.return = undefined;
103 }
104 }
105
106 if (typeof Symbol === "function" && Symbol.asyncIterator) {
107 AsyncGenerator.prototype[Symbol.asyncIterator] = function () {
108 return this;
109 };
110 }
111
112 AsyncGenerator.prototype.next = function (arg) {
113 return this._invoke("next", arg);
114 };
115
116 AsyncGenerator.prototype.throw = function (arg) {
117 return this._invoke("throw", arg);
118 };
119
120 AsyncGenerator.prototype.return = function (arg) {
121 return this._invoke("return", arg);
122 };
123
124 return {
125 wrap: function (fn) {
126 return function () {
127 return new AsyncGenerator(fn.apply(this, arguments));
128 };
129 },
130 await: function (value) {
131 return new AwaitValue(value);
132 }
133 };
134}();
135
136
137
138
139
140var classCallCheck = function (instance, Constructor) {
141 if (!(instance instanceof Constructor)) {
142 throw new TypeError("Cannot call a class as a function");
143 }
144};
145
146var createClass = function () {
147 function defineProperties(target, props) {
148 for (var i = 0; i < props.length; i++) {
149 var descriptor = props[i];
150 descriptor.enumerable = descriptor.enumerable || false;
151 descriptor.configurable = true;
152 if ("value" in descriptor) descriptor.writable = true;
153 Object.defineProperty(target, descriptor.key, descriptor);
154 }
155 }
156
157 return function (Constructor, protoProps, staticProps) {
158 if (protoProps) defineProperties(Constructor.prototype, protoProps);
159 if (staticProps) defineProperties(Constructor, staticProps);
160 return Constructor;
161 };
162}();
163
164
165
166
167
168var defineProperty = function (obj, key, value) {
169 if (key in obj) {
170 Object.defineProperty(obj, key, {
171 value: value,
172 enumerable: true,
173 configurable: true,
174 writable: true
175 });
176 } else {
177 obj[key] = value;
178 }
179
180 return obj;
181};
182
183var _extends = Object.assign || function (target) {
184 for (var i = 1; i < arguments.length; i++) {
185 var source = arguments[i];
186
187 for (var key in source) {
188 if (Object.prototype.hasOwnProperty.call(source, key)) {
189 target[key] = source[key];
190 }
191 }
192 }
193
194 return target;
195};
196
197
198
199var inherits = function (subClass, superClass) {
200 if (typeof superClass !== "function" && superClass !== null) {
201 throw new TypeError("Super expression must either be null or a function, not " + typeof superClass);
202 }
203
204 subClass.prototype = Object.create(superClass && superClass.prototype, {
205 constructor: {
206 value: subClass,
207 enumerable: false,
208 writable: true,
209 configurable: true
210 }
211 });
212 if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;
213};
214
215
216
217
218
219
220
221
222
223var objectWithoutProperties = function (obj, keys) {
224 var target = {};
225
226 for (var i in obj) {
227 if (keys.indexOf(i) >= 0) continue;
228 if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;
229 target[i] = obj[i];
230 }
231
232 return target;
233};
234
235var possibleConstructorReturn = function (self, call) {
236 if (!self) {
237 throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
238 }
239
240 return call && (typeof call === "object" || typeof call === "function") ? call : self;
241};
242
243
244
245
246
247
248
249
250
251var taggedTemplateLiteral = function (strings, raw) {
252 return Object.freeze(Object.defineProperties(strings, {
253 raw: {
254 value: Object.freeze(raw)
255 }
256 }));
257};
258
259var IconBase = function IconBase(_ref) {
260 var children = _ref.children,
261 props = objectWithoutProperties(_ref, ['children']);
262 return React.createElement(
263 'svg',
264 _extends({ style: { fill: 'currentColor', borderRadius: '3px' } }, props),
265 children
266 );
267};
268
269IconBase.propTypes = {
270 children: PropTypes.node.isRequired
271};
272
273/* eslint max-len: 0 */
274var Flag = function Flag(props) {
275 return React.createElement(
276 IconBase,
277 _extends({ viewBox: '0 0 56 40' }, props),
278 React.createElement('rect', { fill: '#FF0000', x: '0', y: '0', width: '56', height: '40' }),
279 React.createElement('polygon', {
280 fill: '#3E3E3E',
281 points: '28 34 24 28 27 24 22 28 18 29 16 20 16 9 18 9 26 14 21 9 24 8 26 8 28 12 30 8 32 8 35 9 30 14 38 9 40 9 40 20 38 29 34 28 29 24 32 28'
282 })
283 );
284};
285
286Flag.displayName = 'FlagAL';
287
288/* eslint max-len: 0 */
289var Flag$2 = function Flag(props) {
290 return React.createElement(
291 IconBase,
292 _extends({ viewBox: '0 0 56 40' }, props),
293 React.createElement('rect', {
294 id: 'Rectangle-path',
295 fill: '#FFD200',
296 x: '0',
297 y: '0',
298 width: '56',
299 height: '40'
300 }),
301 React.createElement('rect', {
302 id: 'Rectangle-path',
303 fill: '#FF0000',
304 x: '38',
305 y: '0',
306 width: '18',
307 height: '40'
308 }),
309 React.createElement('rect', {
310 id: 'Rectangle-path',
311 fill: '#3B6AC3',
312 x: '0',
313 y: '0',
314 width: '18',
315 height: '40'
316 }),
317 React.createElement('path', {
318 d: 'M28,29 C24.1,29 21,25.9 21,22 L21,13 C21,13 24.4,12 27.9,12 C31.4,12 35,13 35,13 L35,22 C35,25.9 31.9,29 28,29 Z',
319 id: 'Shape',
320 fill: '#FF9C00'
321 })
322 );
323};
324
325Flag$2.displayName = 'FlagAD';
326
327/* eslint max-len: 0 */
328var Flag$4 = function Flag(props) {
329 return React.createElement(
330 IconBase,
331 _extends({ viewBox: '0 0 56 40' }, props),
332 React.createElement('rect', { id: 'Rectangle-path', fill: '#001468', x: '0', y: '0', width: '56', height: '40' }),
333 React.createElement('rect', { id: 'Rectangle-path', fill: '#FF9C00', x: '0', y: '27', width: '56', height: '13' }),
334 React.createElement('rect', { id: 'Rectangle-path', fill: '#FF0000', x: '0', y: '0', width: '56', height: '13' })
335 );
336};
337
338Flag$4.displayName = 'FlagAM';
339
340/* eslint max-len: 0 */
341var Flag$6 = function Flag(props) {
342 return React.createElement(
343 IconBase,
344 _extends({ viewBox: '0 0 56 40' }, props),
345 React.createElement('rect', {
346 id: 'Rectangle-path',
347 fill: '#001468',
348 x: '0',
349 y: '0',
350 width: '56',
351 height: '40'
352 }),
353 React.createElement('polygon', {
354 id: 'Shape',
355 fill: '#FFFFFF',
356 points: '28 20 25 20 17 13.6 17 20 11 20 11 13.6 3 20 0 20 0 17 5.2 13 0 13 0 7 5.2 7 0 3 0 0 3 0 11 6.4 11 0 17 0 17 6.4 25 0 28 0 28 3 22.8 7 28 7 28 13 22.8 13 28 17'
357 }),
358 React.createElement('polygon', {
359 id: 'Shape',
360 fill: '#FF0000',
361 points: '28 20 27 20 17 12 16 12 16 20 12 20 12 12 11 12 1 20 0 20 0 19 8.5 12 0 12 0 8 8.5 8 0 1 0 0 1 0 11 8 12 8 12 0 16 0 16 8 17 8 27 0 28 0 28 1 19.5 8 28 8 28 12 19.5 12 28 19'
362 }),
363 React.createElement('path', {
364 d: 'M49,20 C47.9,20 47,19.1 47,18 C47,16.9 47.9,16 49,16 C50.1,16 51,16.9 51,18 C51,19.1 50.1,20 49,20 Z M43,13 C41.9,13 41,12.1 41,11 C41,9.9 41.9,9 43,9 C44.1,9 45,9.9 45,11 C45,12.1 44.1,13 43,13 Z M43,31 C43,32.1 42.1,33 41,33 C39.9,33 39,32.1 39,31 C39,29.9 39.9,29 41,29 C42.1,29 43,29.9 43,31 Z M36,20 C34.9,20 34,19.1 34,18 C34,16.9 34.9,16 36,16 C37.1,16 38,16.9 38,18 C38,19.1 37.1,20 36,20 Z M14,33 C12.3,33 11,31.7 11,30 C11,28.3 12.3,27 14,27 C15.7,27 17,28.3 17,30 C17,31.7 15.7,33 14,33 Z',
365 id: 'Shape',
366 fill: '#FFFFFF'
367 })
368 );
369};
370
371Flag$6.displayName = 'FlagAU';
372
373/* eslint max-len: 0 */
374var Flag$8 = function Flag(props) {
375 return React.createElement(
376 IconBase,
377 _extends({ viewBox: '0 0 56 40' }, props),
378 React.createElement('rect', { id: 'Rectangle-path', fill: '#FFFFFF', x: '0', y: '0', width: '56', height: '40' }),
379 React.createElement('rect', { id: 'Rectangle-path', fill: '#FF0000', x: '0', y: '27', width: '56', height: '13' }),
380 React.createElement('rect', { id: 'Rectangle-path', fill: '#FF0000', x: '0', y: '0', width: '56', height: '13' })
381 );
382};
383
384Flag$8.displayName = 'FlagAT';
385
386/* eslint max-len: 0 */
387var Flag$10 = function Flag(props) {
388 return React.createElement(
389 IconBase,
390 _extends({ viewBox: '0 0 56 40' }, props),
391 React.createElement('rect', { id: 'Rectangle-path', fill: '#FF0000', x: '0', y: '0', width: '56', height: '40' }),
392 React.createElement('rect', { id: 'Rectangle-path', fill: '#39953E', x: '0', y: '27', width: '56', height: '13' }),
393 React.createElement('rect', { id: 'Rectangle-path', fill: '#3B6AC3', x: '0', y: '0', width: '56', height: '13' }),
394 React.createElement('circle', { id: 'Oval', fill: '#FFFFFF', cx: '28', cy: '20', r: '5' })
395 );
396};
397
398Flag$10.displayName = 'FlagAZ';
399
400/* eslint max-len: 0 */
401var Flag$12 = function Flag(props) {
402 return React.createElement(
403 IconBase,
404 _extends({ viewBox: '0 0 56 40' }, props),
405 React.createElement('rect', {
406 id: 'Rectangle-path',
407 fill: '#FF0000',
408 x: '0',
409 y: '0',
410 width: '56',
411 height: '27'
412 }),
413 React.createElement('rect', {
414 id: 'Rectangle-path',
415 fill: '#39953E',
416 x: '0',
417 y: '27',
418 width: '56',
419 height: '13'
420 }),
421 React.createElement('rect', { id: 'Rectangle-2', fill: '#FFFFFF', x: '0', y: '0', width: '18', height: '40' }),
422 React.createElement('path', {
423 d: 'M9,22 C7.9,22 7,21.1 7,20 C7,18.9 7.9,18 9,18 C10.1,18 11,18.9 11,20 C11,21.1 10.1,22 9,22 Z',
424 id: 'Path',
425 fill: '#FF0000'
426 }),
427 React.createElement('path', {
428 d: 'M9,15 C7.9,15 7,14.1 7,13 C7,11.9 7.9,11 9,11 C10.1,11 11,11.9 11,13 C11,14.1 10.1,15 9,15 Z',
429 id: 'Path',
430 fill: '#FF0000'
431 }),
432 React.createElement('path', {
433 d: 'M9,8 C7.9,8 7,7.1 7,6 C7,4.9 7.9,4 9,4 C10.1,4 11,4.9 11,6 C11,7.1 10.1,8 9,8 Z',
434 id: 'Path',
435 fill: '#FF0000'
436 }),
437 React.createElement('path', {
438 d: 'M9,29 C7.9,29 7,28.1 7,27 C7,25.9 7.9,25 9,25 C10.1,25 11,25.9 11,27 C11,28.1 10.1,29 9,29 Z',
439 id: 'Path',
440 fill: '#FF0000'
441 }),
442 React.createElement('path', {
443 d: 'M9,36 C7.9,36 7,35.1 7,34 C7,32.9 7.9,32 9,32 C10.1,32 11,32.9 11,34 C11,35.1 10.1,36 9,36 Z',
444 id: 'Path',
445 fill: '#FF0000'
446 })
447 );
448};
449
450Flag$12.displayName = 'FlagBY';
451
452/* eslint max-len: 0 */
453var Flag$14 = function Flag(props) {
454 return React.createElement(
455 IconBase,
456 _extends({ viewBox: '0 0 56 40' }, props),
457 React.createElement('rect', { id: 'Rectangle-path', fill: '#FFD200', x: '0', y: '0', width: '56', height: '40' }),
458 React.createElement('rect', { id: 'Rectangle-path', fill: '#3E3E3E', x: '0', y: '0', width: '18', height: '40' }),
459 React.createElement('rect', { id: 'Rectangle-path', fill: '#FF0000', x: '38', y: '0', width: '18', height: '40' })
460 );
461};
462
463Flag$14.displayName = 'FlagBE';
464
465/* eslint max-len: 0 */
466var Flag$16 = function Flag(props) {
467 return React.createElement(
468 IconBase,
469 _extends({ viewBox: '0 0 42 30' }, props),
470 React.createElement('rect', { id: 'Rectangle-5', fill: '#001468', x: '0', y: '0', width: '42', height: '30' }),
471 React.createElement('polygon', {
472 id: 'Rectangle-3',
473 fill: '#FFD200',
474 points: '9 0 33.145586 0 33.145586 30.1690928'
475 }),
476 React.createElement('path', {
477 d: 'M10.4479006,8.4425711 C9.62290063,8.4425711 8.94790063,7.7675711 8.94790063,6.9425711 C8.94790063,6.1175711 9.62290063,5.4425711 10.4479006,5.4425711 C11.2729006,5.4425711 11.9479006,6.1175711 11.9479006,6.9425711 C11.9479006,7.7675711 11.2729006,8.4425711 10.4479006,8.4425711 Z',
478 id: 'Path',
479 fill: '#FFFFFF',
480 transform: 'translate(10.447901, 6.942571) rotate(11.000000) translate(-10.447901, -6.942571) '
481 }),
482 React.createElement('path', {
483 d: 'M7.14396858,4.3625548 C6.31896858,4.3625548 5.64396858,3.6875548 5.64396858,2.8625548 C5.64396858,2.0375548 6.31896858,1.3625548 7.14396858,1.3625548 C7.96896858,1.3625548 8.64396858,2.0375548 8.64396858,2.8625548 C8.64396858,3.6875548 7.96896858,4.3625548 7.14396858,4.3625548 Z',
484 id: 'Path',
485 fill: '#FFFFFF',
486 transform: 'translate(7.143969, 2.862555) rotate(11.000000) translate(-7.143969, -2.862555) '
487 }),
488 React.createElement('path', {
489 d: 'M13.7518327,12.5225874 C12.9268327,12.5225874 12.2518327,11.8475874 12.2518327,11.0225874 C12.2518327,10.1975874 12.9268327,9.52258739 13.7518327,9.52258739 C14.5768327,9.52258739 15.2518327,10.1975874 15.2518327,11.0225874 C15.2518327,11.8475874 14.5768327,12.5225874 13.7518327,12.5225874 Z',
490 id: 'Path',
491 fill: '#FFFFFF',
492 transform: 'translate(13.751833, 11.022587) rotate(11.000000) translate(-13.751833, -11.022587) '
493 }),
494 React.createElement('path', {
495 d: 'M17.0557647,16.6026037 C16.2307647,16.6026037 15.5557647,15.9276037 15.5557647,15.1026037 C15.5557647,14.2776037 16.2307647,13.6026037 17.0557647,13.6026037 C17.8807647,13.6026037 18.5557647,14.2776037 18.5557647,15.1026037 C18.5557647,15.9276037 17.8807647,16.6026037 17.0557647,16.6026037 Z',
496 id: 'Path',
497 fill: '#FFFFFF',
498 transform: 'translate(17.055765, 15.102604) rotate(11.000000) translate(-17.055765, -15.102604) '
499 }),
500 React.createElement('path', {
501 d: 'M23.8313454,24.969749 C23.0063454,24.969749 22.3313454,24.294749 22.3313454,23.469749 C22.3313454,22.644749 23.0063454,21.969749 23.8313454,21.969749 C24.6563454,21.969749 25.3313454,22.644749 25.3313454,23.469749 C25.3313454,24.294749 24.6563454,24.969749 23.8313454,24.969749 Z',
502 id: 'Path',
503 fill: '#FFFFFF',
504 transform: 'translate(23.831345, 23.469749) rotate(11.000000) translate(-23.831345, -23.469749) '
505 }),
506 React.createElement('path', {
507 d: 'M20.5274134,20.8897327 C19.7024134,20.8897327 19.0274134,20.2147327 19.0274134,19.3897327 C19.0274134,18.5647327 19.7024134,17.8897327 20.5274134,17.8897327 C21.3524134,17.8897327 22.0274134,18.5647327 22.0274134,19.3897327 C22.0274134,20.2147327 21.3524134,20.8897327 20.5274134,20.8897327 Z',
508 id: 'Path',
509 fill: '#FFFFFF',
510 transform: 'translate(20.527413, 19.389733) rotate(11.000000) translate(-20.527413, -19.389733) '
511 }),
512 React.createElement('path', {
513 d: 'M27.1352775,29.0497653 C26.3102775,29.0497653 25.6352775,28.3747653 25.6352775,27.5497653 C25.6352775,26.7247653 26.3102775,26.0497653 27.1352775,26.0497653 C27.9602775,26.0497653 28.6352775,26.7247653 28.6352775,27.5497653 C28.6352775,28.3747653 27.9602775,29.0497653 27.1352775,29.0497653 Z',
514 id: 'Path',
515 fill: '#FFFFFF',
516 transform: 'translate(27.135277, 27.549765) rotate(11.000000) translate(-27.135277, -27.549765) '
517 })
518 );
519};
520
521Flag$16.displayName = 'FlagBA';
522
523/* eslint max-len: 0 */
524var Flag$18 = function Flag(props) {
525 return React.createElement(
526 IconBase,
527 _extends({ viewBox: '0 0 56 40' }, props),
528 React.createElement('rect', { id: 'Rectangle-path', fill: '#39953E', x: '0', y: '0', width: '56', height: '40' }),
529 React.createElement('rect', { id: 'Rectangle-path', fill: '#FF0000', x: '0', y: '27', width: '56', height: '13' }),
530 React.createElement('rect', { id: 'Rectangle-path', fill: '#FFFFFF', x: '0', y: '0', width: '56', height: '13' })
531 );
532};
533
534Flag$18.displayName = 'FlagBG';
535
536/* eslint max-len: 0 */
537var Flag$20 = function Flag(props) {
538 return React.createElement(
539 IconBase,
540 _extends({ viewBox: '0 0 42 30' }, props),
541 React.createElement(
542 'g',
543 { fill: 'none', 'fill-rule': 'evenodd' },
544 React.createElement('path', { fill: '#FFF', d: 'M0 10h42v10H0z' }),
545 React.createElement('path', { fill: '#3B6AC3', d: 'M0 20h42v10H0z' }),
546 React.createElement('path', { fill: '#F00', d: 'M0 0h42v10H0z' }),
547 React.createElement('path', { fill: '#3B6AC3', d: 'M16 8l1.033-1L18 8v2h-2' }),
548 React.createElement('path', { fill: '#001468', d: 'M18 8l1.033-1L20 8v2h-2' }),
549 React.createElement('path', { fill: '#3B6AC3', d: 'M20 8l1.033-1L22 8v2h-2M24 8l1.033-1L26 8v2h-2' }),
550 React.createElement('path', { fill: '#001468', d: 'M22 8l1.033-1L24 8v2h-2' }),
551 React.createElement(
552 'g',
553 null,
554 React.createElement('path', {
555 fill: '#F00',
556 d: 'M16 14h2v2h-2zM20 14h2v2h-2zM18 16h2v2h-2zM16 18h2v2h-2zM22 16h2v2h-2zM24 14h2v2h-2zM24 18h2v2h-2zM16 10h2v2h-2zM20 10h2v2h-2zM18 12h2v2h-2zM22 12h2v2h-2zM24 10h2v2h-2zM20 18h2v2h-2zM18 20h2v2h-2zM22 20h2v2h-2z'
557 }),
558 React.createElement('path', { fill: '#FFF', d: 'M20 20h2v2h-2z' })
559 )
560 )
561 );
562};
563
564Flag$20.displayName = 'FlagHR';
565
566/* eslint max-len: 0 */
567var Flag$22 = function Flag(props) {
568 return React.createElement(
569 IconBase,
570 _extends({ viewBox: '0 0 56 40' }, props),
571 React.createElement('rect', {
572 id: 'Rectangle-path',
573 fill: '#FFFFFF',
574 x: '0',
575 y: '0',
576 width: '56',
577 height: '40'
578 }),
579 React.createElement('path', {
580 d: 'M45.8845215,8.03907799 C44.5063377,8.5121154 26.7548828,12.2273104 26.7548828,12.2273104 C26.7548828,12.2273104 26.189707,16.1766157 25.1401367,16.6980295 C24.0905665,17.2194432 22.4070082,15.0424628 20.9785156,15.2395334 C19.5500231,15.4366039 20.3778617,17.1962147 19.3037109,17.5032053 C18.2295602,17.8101958 16,16.6623849 16,16.6623849 C16,16.6623849 16.5420983,21.3430664 18.7094727,22.9929513 C20.876847,24.6428363 21.879924,24.8669363 26.7548828,24.8493967 C31.6298416,24.831857 33.5143943,24.6452239 35.7575684,23.3877108 C38.0007425,22.1301977 37.1860352,19.0017404 37.1860352,19.0017404 C37.1860352,19.0017404 44.0227051,19.5325021 43.7431641,19.5325021 C43.7431641,19.5325021 39.0611678,19.0082147 40.7758789,15.2395334 C42.49059,11.470852 47.2627052,7.56604057 45.8845215,8.03907799 Z',
581 id: 'Path-2',
582 fill: '#FF9C00'
583 }),
584 React.createElement('path', {
585 d: 'M29.5,30.5 C28.4,30.5 27.5,29.6 27.5,28.5 C27.5,27.4 28.4,26.5 29.5,26.5 C30.6,26.5 31.5,27.4 31.5,28.5 C31.5,29.6 30.6,30.5 29.5,30.5 Z M26.5,25.5 C25.4,25.5 24.5,24.6 24.5,23.5 C24.5,22.4 25.4,21.5 26.5,21.5 C27.6,21.5 28.5,22.4 28.5,23.5 C28.5,24.6 27.6,25.5 26.5,25.5 Z M26.5,37.5 C27.6,37.5 28.5,38.4 28.5,39.5 C28.5,40.6 27.6,41.5 26.5,41.5 C25.4,41.5 24.5,40.6 24.5,39.5 C24.5,38.4 25.4,37.5 26.5,37.5 Z M27.5,34.5 C27.5,33.4 28.4,32.5 29.5,32.5 C30.6,32.5 31.5,33.4 31.5,34.5 C31.5,35.6 30.6,36.5 29.5,36.5 C28.4,36.5 27.5,35.6 27.5,34.5 Z',
586 id: 'Shape',
587 fill: '#39953E',
588 transform: 'translate(28.000000, 31.500000) rotate(90.000000) translate(-28.000000, -31.500000) '
589 })
590 );
591};
592
593Flag$22.displayName = 'FlagCY';
594
595/* eslint max-len: 0 */
596var Flag$24 = function Flag(props) {
597 return React.createElement(
598 IconBase,
599 _extends({ viewBox: '0 0 56 40' }, props),
600 React.createElement('rect', { id: 'Rectangle-path', fill: '#FFFFFF', x: '0', y: '0', width: '56', height: '40' }),
601 React.createElement('rect', { id: 'Rectangle-path', fill: '#FF0000', x: '0', y: '20', width: '56', height: '20' }),
602 React.createElement('polygon', { id: 'Shape', fill: '#001468', points: '0 0 24 20 0 40' })
603 );
604};
605
606Flag$24.displayName = 'FlagCZ';
607
608/* eslint max-len: 0 */
609var Flag$26 = function Flag(props) {
610 return React.createElement(
611 IconBase,
612 _extends({ viewBox: '0 0 56 40' }, props),
613 React.createElement('rect', {
614 id: 'Rectangle-path',
615 fill: '#FF0000',
616 x: '0',
617 y: '0',
618 width: '56',
619 height: '40'
620 }),
621 React.createElement('polygon', {
622 id: 'Shape',
623 fill: '#FFFFFF',
624 points: '56 24 24 24 24 40 16 40 16 24 0 24 0 16 16 16 16 0 24 0 24 16 56 16'
625 })
626 );
627};
628
629Flag$26.displayName = 'FlagDK';
630
631/* eslint max-len: 0 */
632var Flag$28 = function Flag(props) {
633 return React.createElement(
634 IconBase,
635 _extends({ viewBox: '0 0 56 40' }, props),
636 React.createElement('rect', { id: 'Rectangle-path', fill: '#3E3E3E', x: '0', y: '0', width: '56', height: '40' }),
637 React.createElement('rect', { id: 'Rectangle-path', fill: '#FFFFFF', x: '0', y: '27', width: '56', height: '13' }),
638 React.createElement('rect', { id: 'Rectangle-path', fill: '#3B6AC3', x: '0', y: '0', width: '56', height: '13' })
639 );
640};
641
642Flag$28.displayName = 'FlagEE';
643
644/* eslint max-len: 0 */
645var Flag$30 = function Flag(props) {
646 return React.createElement(
647 IconBase,
648 _extends({ viewBox: '0 0 56 40' }, props),
649 React.createElement('rect', {
650 id: 'Rectangle-path',
651 fill: '#FFFFFF',
652 x: '0',
653 y: '0',
654 width: '56',
655 height: '40'
656 }),
657 React.createElement('polygon', {
658 id: 'Shape',
659 fill: '#3B6AC3',
660 points: '56 24 24 24 24 40 16 40 16 24 0 24 0 16 16 16 16 0 24 0 24 16 56 16'
661 })
662 );
663};
664
665Flag$30.displayName = 'FlagFI';
666
667/* eslint max-len: 0 */
668var Flag$32 = function Flag(props) {
669 return React.createElement(
670 IconBase,
671 _extends({ viewBox: '0 0 56 40' }, props),
672 React.createElement('rect', { id: 'Rectangle-path', fill: '#FFFFFF', x: '0', y: '0', width: '56', height: '40' }),
673 React.createElement('rect', { id: 'Rectangle-path', fill: '#3B6AC3', x: '0', y: '0', width: '18', height: '40' }),
674 React.createElement('rect', { id: 'Rectangle-path', fill: '#FF0000', x: '38', y: '0', width: '18', height: '40' })
675 );
676};
677
678Flag$32.displayName = 'FlagFR';
679
680/* eslint max-len: 0 */
681var Flag$34 = function Flag(props) {
682 return React.createElement(
683 IconBase,
684 _extends({ viewBox: '0 0 56 40' }, props),
685 React.createElement('rect', {
686 id: 'Rectangle-path',
687 fill: '#FFFFFF',
688 x: '0',
689 y: '0',
690 width: '56',
691 height: '40'
692 }),
693 React.createElement('polygon', {
694 id: 'Shape',
695 fill: '#FF0000',
696 points: '56 24 32 24 32 40 24 40 24 24 0 24 0 16 24 16 24 0 32 0 32 16 56 16'
697 }),
698 React.createElement('polygon', {
699 id: 'Shape',
700 fill: '#FF0000',
701 points: '16 9.66666667 12.6666667 9.66666667 12.6666667 13 9.33333333 13 9.33333333 9.66666667 6 9.66666667 6 6.33333333 9.33333333 6.33333333 9.33333333 3 12.6666667 3 12.6666667 6.33333333 16 6.33333333'
702 }),
703 React.createElement('polygon', {
704 id: 'Shape',
705 fill: '#FF0000',
706 points: '16 33.6666667 12.6666667 33.6666667 12.6666667 37 9.33333333 37 9.33333333 33.6666667 6 33.6666667 6 30.3333333 9.33333333 30.3333333 9.33333333 27 12.6666667 27 12.6666667 30.3333333 16 30.3333333'
707 }),
708 React.createElement('polygon', {
709 id: 'Shape',
710 fill: '#FF0000',
711 points: '50 33.6666667 46.6666667 33.6666667 46.6666667 37 43.3333333 37 43.3333333 33.6666667 40 33.6666667 40 30.3333333 43.3333333 30.3333333 43.3333333 27 46.6666667 27 46.6666667 30.3333333 50 30.3333333'
712 }),
713 React.createElement('polygon', {
714 id: 'Shape',
715 fill: '#FF0000',
716 points: '50 9.66666667 46.6666667 9.66666667 46.6666667 13 43.3333333 13 43.3333333 9.66666667 40 9.66666667 40 6.33333333 43.3333333 6.33333333 43.3333333 3 46.6666667 3 46.6666667 6.33333333 50 6.33333333'
717 })
718 );
719};
720
721Flag$34.displayName = 'FlagGE';
722
723/* eslint max-len: 0 */
724var Flag$36 = function Flag(props) {
725 return React.createElement(
726 IconBase,
727 _extends({ viewBox: '0 0 56 40' }, props),
728 React.createElement('rect', { id: 'Rectangle-path', fill: '#FF0000', x: '0', y: '0', width: '56', height: '40' }),
729 React.createElement('rect', { id: 'Rectangle-path', fill: '#FFD200', x: '0', y: '27', width: '56', height: '13' }),
730 React.createElement('rect', { id: 'Rectangle-path', fill: '#3E3E3E', x: '0', y: '0', width: '56', height: '13' })
731 );
732};
733
734Flag$36.displayName = 'FlagDE';
735
736/* eslint max-len: 0 */
737var Flag$38 = function Flag(props) {
738 return React.createElement(
739 IconBase,
740 _extends({ viewBox: '0 0 42 30' }, props),
741 React.createElement(
742 'g',
743 { fill: 'none', fillRule: 'evenodd' },
744 React.createElement('path', { fill: '#FFF', d: 'M0 0h42v30H0z' }),
745 React.createElement('path', { fill: '#3B6AC3', d: 'M0 0h42v3.3H0z' }),
746 React.createElement('path', { fill: '#3B6AC3', d: 'M0 0h16.65v16.65H0z' }),
747 React.createElement('path', {
748 fill: '#3B6AC3',
749 d: 'M0 6.675h42v3.3H0zM0 13.35h42v3.3H0zM0 20.025h42v3.3H0zM0 26.7h42V30H0z'
750 }),
751 React.createElement('path', { fill: '#FFF', d: 'M0 6.675h16.65v3.3H0z' }),
752 React.createElement('path', { fill: '#FFF', d: 'M9.975 0v16.65h-3.3V0z' })
753 )
754 );
755};
756
757Flag$38.displayName = 'FlagGR';
758
759/* eslint max-len: 0 */
760var Flag$40 = function Flag(props) {
761 return React.createElement(
762 IconBase,
763 _extends({ viewBox: '0 0 56 40' }, props),
764 React.createElement('rect', { id: 'Rectangle-path', fill: '#FFFFFF', x: '0', y: '0', width: '56', height: '40' }),
765 React.createElement('rect', { id: 'Rectangle-path', fill: '#39953E', x: '0', y: '27', width: '56', height: '13' }),
766 React.createElement('rect', { id: 'Rectangle-path', fill: '#FF0000', x: '0', y: '0', width: '56', height: '13' })
767 );
768};
769
770Flag$40.displayName = 'FlagHU';
771
772/* eslint max-len: 0 */
773var Flag$42 = function Flag(props) {
774 return React.createElement(
775 IconBase,
776 _extends({ viewBox: '0 0 56 40' }, props),
777 React.createElement('rect', {
778 id: 'Rectangle-path',
779 fill: '#3B6AC3',
780 x: '0',
781 y: '0',
782 width: '56',
783 height: '40'
784 }),
785 React.createElement('polygon', {
786 id: 'Shape',
787 fill: '#FFFFFF',
788 points: '56 24 24 24 24 40 16 40 16 24 0 24 0 16 16 16 16 0 24 0 24 16 56 16'
789 }),
790 React.createElement('polygon', {
791 id: 'Shape',
792 fill: '#FF0000',
793 points: '56 22 22 22 22 40 18 40 18 22 0 22 0 18 18 18 18 0 22 0 22 18 56 18'
794 })
795 );
796};
797
798Flag$42.displayName = 'FlagIS';
799
800/* eslint max-len: 0 */
801var Flag$44 = function Flag(props) {
802 return React.createElement(
803 IconBase,
804 _extends({ viewBox: '0 0 56 40' }, props),
805 React.createElement('rect', { id: 'Rectangle-path', fill: '#FFFFFF', x: '0', y: '0', width: '56', height: '40' }),
806 React.createElement('rect', { id: 'Rectangle-path', fill: '#FF9C00', x: '38', y: '0', width: '18', height: '40' }),
807 React.createElement('rect', { id: 'Rectangle-path', fill: '#39953E', x: '0', y: '0', width: '18', height: '40' })
808 );
809};
810
811Flag$44.displayName = 'FlagIE';
812
813/* eslint max-len: 0 */
814var Flag$46 = function Flag(props) {
815 return React.createElement(
816 IconBase,
817 _extends({ viewBox: '0 0 42 30' }, props),
818 React.createElement(
819 'g',
820 { fill: 'none', fillRule: 'evenodd' },
821 React.createElement('path', { fill: '#FFF', d: 'M0 0h42v30H0z' }),
822 React.createElement('path', { fill: '#3B6AC3', d: 'M0 24h42v6H0zM0 0h42v6H0z' }),
823 React.createElement(
824 'g',
825 { strokeWidth: '.8', stroke: '#3B6AC3' },
826 React.createElement('path', { d: 'M21.004 9.276l5.195 8.5H15.81z' }),
827 React.createElement('path', { d: 'M21.004 20.776l5.195-8.5H15.81z' })
828 )
829 )
830 );
831};
832
833Flag$46.displayName = 'FlagIL';
834
835/* eslint max-len: 0 */
836var Flag$48 = function Flag(props) {
837 return React.createElement(
838 IconBase,
839 _extends({ viewBox: '0 0 56 40' }, props),
840 React.createElement('rect', { id: 'Rectangle-path', fill: '#FFFFFF', x: '0', y: '0', width: '56', height: '40' }),
841 React.createElement('rect', { id: 'Rectangle-path', fill: '#39953E', x: '0', y: '0', width: '18', height: '40' }),
842 React.createElement('rect', { id: 'Rectangle-path', fill: '#FF0000', x: '38', y: '0', width: '18', height: '40' })
843 );
844};
845
846Flag$48.displayName = 'FlagIT';
847
848/* eslint max-len: 0 */
849var Flag$50 = function Flag(props) {
850 return React.createElement(
851 IconBase,
852 _extends({ viewBox: '0 0 42 30' }, props),
853 React.createElement(
854 'g',
855 { fill: 'none', 'fill-rule': 'evenodd' },
856 React.createElement('path', { fill: '#A5282E', d: 'M0 0h42v30H0z' }),
857 React.createElement('path', { fill: '#FFF', d: 'M0 12h42v6H0z' })
858 )
859 );
860};
861
862Flag$50.displayName = 'FlagLV';
863
864/* eslint max-len: 0 */
865var Flag$52 = function Flag(props) {
866 return React.createElement(
867 IconBase,
868 _extends({ viewBox: '0 0 56 40' }, props),
869 React.createElement('rect', {
870 id: 'Rectangle-path',
871 fill: '#39953E',
872 x: '0',
873 y: '0',
874 width: '56',
875 height: '40'
876 }),
877 React.createElement('rect', {
878 id: 'Rectangle-path',
879 fill: '#FF0000',
880 x: '0',
881 y: '27',
882 width: '56',
883 height: '13'
884 }),
885 React.createElement('rect', {
886 id: 'Rectangle-path',
887 fill: '#FF9C00',
888 x: '0',
889 y: '0',
890 width: '56',
891 height: '13'
892 })
893 );
894};
895
896Flag$52.displayName = 'FlagLT';
897
898/* eslint max-len: 0 */
899var Flag$54 = function Flag(props) {
900 return React.createElement(
901 IconBase,
902 _extends({ viewBox: '0 0 56 40' }, props),
903 React.createElement('rect', { id: 'Rectangle-path', fill: '#FFFFFF', x: '0', y: '0', width: '56', height: '40' }),
904 React.createElement('rect', { id: 'Rectangle-path', fill: '#7EC8EB', x: '0', y: '27', width: '56', height: '13' }),
905 React.createElement('rect', { id: 'Rectangle-path', fill: '#FF0000', x: '0', y: '0', width: '56', height: '13' })
906 );
907};
908
909Flag$54.displayName = 'FlagLU';
910
911/* eslint max-len: 0 */
912var Flag$56 = function Flag(props) {
913 return React.createElement(
914 IconBase,
915 _extends({ viewBox: '0 0 42 30' }, props),
916 React.createElement('rect', { id: 'Rectangle', fill: '#FF0000', x: '0', y: '0', width: '42', height: '30' }),
917 React.createElement('polygon', { id: 'Path-3', fill: '#FFD200', points: '19.0099792 0.00895469244 20.2878418 9.12548828 21.774292 9.07971191 23.0079346 -8.8817842e-16' }),
918 React.createElement('polygon', { id: 'Path-3', fill: '#FFD200', transform: 'translate(21.008957, 25.409219) scale(1, -1) translate(-21.008957, -25.409219) ', points: '19.0099792 20.8184379 20.2878418 30 21.774292 29.9542236 23.0079346 20.8184379' }),
919 React.createElement('polygon', { id: 'Path-4', fill: '#FFD200', points: '0.0009765625 12.4472046 17.7207031 14.9025269 17.8007812 15.3245239 0 17.5928345' }),
920 React.createElement('polygon', { id: 'Path-4', fill: '#FFD200', transform: 'translate(33.099609, 15.020020) scale(-1, 1) translate(-33.099609, -15.020020) ', points: '24.2001953 12.4472046 41.9199219 14.9025269 42 15.3245239 24.1992188 17.5928345' }),
921 React.createElement('polygon', { id: 'Path-5', fill: '#FFD200', points: '23.3726807 17.8721924 39.597168 30 32.2716064 30' }),
922 React.createElement('polygon', { id: 'Path-5', fill: '#FFD200', transform: 'translate(31.484924, 6.040344) scale(1, -1) translate(-31.484924, -6.040344) ', points: '23.3726807 0 39.597168 12.0806885 32.2716064 12.074585' }),
923 React.createElement('polygon', { id: 'Path-5', fill: '#FFD200', transform: 'translate(9.998276, 6.040344) scale(-1, -1) translate(-9.998276, -6.040344) ', points: '1.8860321 0 18.1105194 12.0806885 10.7849579 12.074585' }),
924 React.createElement('polygon', { id: 'Path-5', fill: '#FFD200', transform: 'translate(9.998276, 23.936096) scale(-1, 1) translate(-9.998276, -23.936096) ', points: '1.8860321 17.8721924 18.1105194 30 10.7849579 30' }),
925 React.createElement('ellipse', { id: 'Oval', fill: '#FF0000', cx: '21', cy: '14.9528656', rx: '6', ry: '6' }),
926 React.createElement('ellipse', { id: 'Oval', fill: '#FFD200', cx: '21', cy: '14.9528656', rx: '3.75', ry: '3.75' })
927 );
928};
929
930Flag$56.displayName = 'FlagNL';
931
932/* eslint max-len: 0 */
933var Flag$58 = function Flag(props) {
934 return React.createElement(
935 IconBase,
936 _extends({ viewBox: '0 0 56 40' }, props),
937 React.createElement('rect', {
938 id: 'Rectangle-path',
939 fill: '#FF0000',
940 x: '0',
941 y: '0',
942 width: '56',
943 height: '40'
944 }),
945 React.createElement('rect', {
946 id: 'Rectangle-path',
947 fill: '#FFFFFF',
948 x: '0',
949 y: '0',
950 width: '28',
951 height: '40'
952 }),
953 React.createElement('polygon', {
954 id: 'Shape',
955 fill: '#FF0000',
956 points: '18 12 14 12 14 16 10 16 10 12 6 12 6 8 10 8 10 4 14 4 14 8 18 8'
957 })
958 );
959};
960
961Flag$58.displayName = 'FlagMT';
962
963/* eslint max-len: 0 */
964var Flag$60 = function Flag(props) {
965 return React.createElement(
966 IconBase,
967 _extends({ viewBox: '0 0 56 40' }, props),
968 React.createElement('rect', {
969 id: 'Rectangle-path',
970 fill: '#FFD200',
971 x: '0',
972 y: '0',
973 width: '56',
974 height: '40'
975 }),
976 React.createElement('rect', {
977 id: 'Rectangle-path',
978 fill: '#001468',
979 x: '0',
980 y: '0',
981 width: '18',
982 height: '40'
983 }),
984 React.createElement('rect', {
985 id: 'Rectangle-path',
986 fill: '#FF0000',
987 x: '38',
988 y: '0',
989 width: '18',
990 height: '40'
991 }),
992 React.createElement('path', {
993 d: 'M28,29 C24.1,29 21,25.9 21,22 L21,13 C21,13 24.4,12 27.9,12 C31.4,12 35,13 35,13 L35,22 C35,25.9 31.9,29 28,29 Z',
994 id: 'Shape',
995 fill: '#FF9C00'
996 })
997 );
998};
999
1000Flag$60.displayName = 'FlagNL';
1001
1002/* eslint max-len: 0 */
1003var Flag$62 = function Flag(props) {
1004 return React.createElement(
1005 IconBase,
1006 _extends({ viewBox: '0 0 56 40' }, props),
1007 React.createElement('rect', {
1008 id: 'Rectangle-path',
1009 fill: '#FFFFFF',
1010 x: '0',
1011 y: '0',
1012 width: '56',
1013 height: '40'
1014 }),
1015 React.createElement('rect', {
1016 id: 'Rectangle-path',
1017 fill: '#FF0000',
1018 x: '0',
1019 y: '0',
1020 width: '56',
1021 height: '20'
1022 })
1023 );
1024};
1025
1026Flag$62.displayName = 'FlagMC';
1027
1028/* eslint max-len: 0 */
1029var Flag$64 = function Flag(props) {
1030 return React.createElement(
1031 IconBase,
1032 _extends({ viewBox: '0 0 56 40' }, props),
1033 React.createElement('rect', {
1034 id: 'Rectangle-path',
1035 fill: '#FFD200',
1036 x: '0',
1037 y: '0',
1038 width: '56',
1039 height: '40'
1040 }),
1041 React.createElement('rect', {
1042 id: 'Rectangle-path',
1043 fill: '#FF0000',
1044 x: '2',
1045 y: '2',
1046 width: '52',
1047 height: '36'
1048 }),
1049 React.createElement('path', {
1050 d: 'M28,29 C24.1,29 21,25.9 21,22 L21,13 C21,13 24.4,12 27.9,12 C31.4,12 35,13 35,13 L35,22 C35,25.9 31.9,29 28,29 Z',
1051 id: 'Shape',
1052 fill: '#FFD200'
1053 })
1054 );
1055};
1056
1057Flag$64.displayName = 'FlagME';
1058
1059/* eslint max-len: 0 */
1060var Flag$66 = function Flag(props) {
1061 return React.createElement(
1062 IconBase,
1063 _extends({ viewBox: '0 0 56 40' }, props),
1064 React.createElement('rect', { id: 'Rectangle-path', fill: '#FF0000', x: '0', y: '0', width: '56', height: '40' }),
1065 React.createElement('polygon', { id: 'Star', fill: '#39953E', points: '28 23.5 23.8855032 25.663119 24.6713022 21.0815595 21.3426044 17.836881 25.9427516 17.1684405 28 13 30.0572484 17.1684405 34.6573956 17.836881 31.3286978 21.0815595 32.1144968 25.663119' })
1066 );
1067};
1068
1069Flag$66.displayName = 'FlagMA';
1070
1071/* eslint max-len: 0 */
1072var Flag$68 = function Flag(props) {
1073 return React.createElement(
1074 IconBase,
1075 _extends({ viewBox: '0 0 56 40' }, props),
1076 React.createElement('rect', { id: 'Rectangle-path', fill: '#FFFFFF', x: '0', y: '0', width: '56', height: '40' }),
1077 React.createElement('rect', { id: 'Rectangle-path', fill: '#FF0000', x: '0', y: '0', width: '56', height: '13' }),
1078 React.createElement('rect', { id: 'Rectangle-path', fill: '#3B6AC3', x: '0', y: '27', width: '56', height: '13' })
1079 );
1080};
1081
1082Flag$68.displayName = 'FlagNL';
1083
1084/* eslint max-len: 0 */
1085var Flag$70 = function Flag(props) {
1086 return React.createElement(
1087 IconBase,
1088 _extends({ viewBox: '0 0 56 40' }, props),
1089 React.createElement('rect', {
1090 id: 'Rectangle-path',
1091 fill: '#FF0000',
1092 x: '0',
1093 y: '0',
1094 width: '56',
1095 height: '40'
1096 }),
1097 React.createElement('polygon', {
1098 id: 'Shape',
1099 fill: '#FFFFFF',
1100 points: '56 24 24 24 24 40 16 40 16 24 0 24 0 16 16 16 16 0 24 0 24 16 56 16'
1101 }),
1102 React.createElement('polygon', {
1103 id: 'Shape',
1104 fill: '#3B6AC3',
1105 points: '56 22 22 22 22 40 18 40 18 22 0 22 0 18 18 18 18 0 22 0 22 18 56 18'
1106 })
1107 );
1108};
1109
1110Flag$70.displayName = 'FlagNO';
1111
1112/* eslint max-len: 0 */
1113var Flag$72 = function Flag(props) {
1114 return React.createElement(
1115 IconBase,
1116 _extends({ viewBox: '0 0 56 40' }, props),
1117 React.createElement('rect', { id: 'Rectangle-path', fill: '#FFFFFF', x: '0', y: '0', width: '56', height: '40' }),
1118 React.createElement('rect', { id: 'Rectangle-path', fill: '#FF0000', x: '0', y: '20', width: '56', height: '20' })
1119 );
1120};
1121
1122Flag$72.displayName = 'FlagPL';
1123
1124/* eslint max-len: 0 */
1125var Flag$74 = function Flag(props) {
1126 return React.createElement(
1127 IconBase,
1128 _extends({ viewBox: '0 0 56 40' }, props),
1129 React.createElement('rect', {
1130 id: 'Rectangle-path',
1131 fill: '#FF0000',
1132 x: '0',
1133 y: '0',
1134 width: '56',
1135 height: '40'
1136 }),
1137 React.createElement('rect', {
1138 id: 'Rectangle-path',
1139 fill: '#39953E',
1140 x: '0',
1141 y: '0',
1142 width: '21',
1143 height: '40'
1144 }),
1145 React.createElement('path', {
1146 d: 'M21,29 C16,29 12,25 12,20 C12,15 16,11 21,11 C26,11 30,15 30,20 C30,25 26,29 21,29 Z M21,14 C17.7,14 15,16.7 15,20 C15,23.3 17.7,26 21,26 C24.3,26 27,23.3 27,20 C27,16.7 24.3,14 21,14 Z',
1147 id: 'Shape',
1148 fill: '#FFD200'
1149 })
1150 );
1151};
1152
1153Flag$74.displayName = 'FlagPT';
1154
1155/* eslint max-len: 0 */
1156var Flag$76 = function Flag(props) {
1157 return React.createElement(
1158 IconBase,
1159 _extends({ viewBox: '0 0 56 40' }, props),
1160 React.createElement('rect', { id: 'Rectangle-path', fill: '#FFD200', x: '0', y: '0', width: '56', height: '40' }),
1161 React.createElement('rect', { id: 'Rectangle-path', fill: '#3B6AC3', x: '0', y: '0', width: '18', height: '40' }),
1162 React.createElement('rect', { id: 'Rectangle-path', fill: '#FF0000', x: '38', y: '0', width: '18', height: '40' })
1163 );
1164};
1165
1166Flag$76.displayName = 'FlagRO';
1167
1168/* eslint max-len: 0 */
1169var Flag$78 = function Flag(props) {
1170 return React.createElement(
1171 IconBase,
1172 _extends({ viewBox: '0 0 56 40' }, props),
1173 React.createElement('rect', { id: 'Rectangle-path', fill: '#FFFFFF', x: '0', y: '0', width: '56', height: '40' }),
1174 React.createElement('rect', { id: 'Rectangle-path', fill: '#FF0000', x: '0', y: '27', width: '56', height: '13' }),
1175 React.createElement('rect', { id: 'Rectangle-path', fill: '#3B6AC3', x: '0', y: '13', width: '56', height: '14' })
1176 );
1177};
1178
1179Flag$78.displayName = 'FlagRU';
1180
1181/* eslint max-len: 0 */
1182var Flag$80 = function Flag(props) {
1183 return React.createElement(
1184 IconBase,
1185 _extends({ viewBox: '0 0 42 30' }, props),
1186 React.createElement(
1187 'g',
1188 { fill: 'none', 'fill-rule': 'evenodd' },
1189 React.createElement('path', { fill: '#FFF', d: 'M0 0h42v30H0z' }),
1190 React.createElement('path', { fill: '#7EC8EB', d: 'M0 15h42v15H0z' }),
1191 React.createElement(
1192 'g',
1193 { transform: 'translate(15 11)' },
1194 React.createElement('circle', { fill: '#39953E', cx: '8', cy: '4', r: '3.75' }),
1195 React.createElement('circle', { fill: '#39953E', cx: '4', cy: '4', r: '3.75' }),
1196 React.createElement('circle', { fill: '#FFD200', cx: '6', cy: '4', r: '3.75' }),
1197 React.createElement('circle', { fill: '#7EC8EB', cx: '6', cy: '4', r: '2' })
1198 )
1199 )
1200 );
1201};
1202
1203Flag$80.displayName = 'FlagSM';
1204
1205/* eslint max-len: 0 */
1206var Flag$82 = function Flag(props) {
1207 return React.createElement(
1208 IconBase,
1209 _extends({ viewBox: '0 0 42 30' }, props),
1210 React.createElement('path', { fill: '#3B6AC3', d: 'M0 0h42v30H0z' }),
1211 React.createElement('path', { fill: '#FFF', d: 'M0 20.25h42V30H0z' }),
1212 React.createElement('path', { fill: '#F00', d: 'M0 0h42v9.75H0z' }),
1213 React.createElement('path', {
1214 d: 'M12.25 21.75C9.325 21.75 7 19.425 7 16.5V9.75S9.55 9 12.175 9s5.325.75 5.325.75v6.75c0 2.925-2.325 5.25-5.25 5.25z',
1215 fill: '#F00'
1216 }),
1217 React.createElement('path', {
1218 d: 'M12.25 19.75c-1.81 0-3.25-1.596-3.25-3.603v-4.632S10.58 11 12.204 11c1.625 0 3.296.515 3.296.515v4.632c0 2.007-1.44 3.603-3.25 3.603z',
1219 fill: '#FFF'
1220 }),
1221 React.createElement('path', {
1222 d: 'M12.25 5C10.44 5 9 5.684 9 6.544V8.53s1.58.22 3.204.22c1.625 0 3.296-.22 3.296-.22V6.543C15.5 5.684 14.06 5 12.25 5z',
1223 fill: '#FFD200'
1224 })
1225 );
1226};
1227
1228Flag$82.displayName = 'FlagRS';
1229
1230/* eslint max-len: 0 */
1231var Flag$84 = function Flag(props) {
1232 return React.createElement(
1233 IconBase,
1234 _extends({ viewBox: '0 0 56 40' }, props),
1235 React.createElement('rect', {
1236 id: 'Rectangle-path',
1237 fill: '#FFFFFF',
1238 x: '0',
1239 y: '0',
1240 width: '56',
1241 height: '40'
1242 }),
1243 React.createElement('rect', {
1244 id: 'Rectangle-path',
1245 fill: '#FF0000',
1246 x: '0',
1247 y: '27',
1248 width: '56',
1249 height: '13'
1250 }),
1251 React.createElement('rect', {
1252 id: 'Rectangle-path',
1253 fill: '#3B6AC3',
1254 x: '0',
1255 y: '13',
1256 width: '56',
1257 height: '14'
1258 }),
1259 React.createElement('path', {
1260 d: 'M16,27.8710938 C12.1,27.8710938 9,23.9 9,20 L9,11 L16,11 L23,11 L23,20 C23,23.9 19.9,27.8710938 16,27.8710938 Z',
1261 id: 'Shape',
1262 stroke: '#FFFFFF',
1263 fill: '#FF0000'
1264 })
1265 );
1266};
1267
1268Flag$84.displayName = 'FlagSK';
1269
1270/* eslint max-len: 0 */
1271var Flag$86 = function Flag(props) {
1272 return React.createElement(
1273 IconBase,
1274 _extends({ viewBox: '0 0 56 40' }, props),
1275 React.createElement('rect', {
1276 id: 'Rectangle-path',
1277 fill: '#FFFFFF',
1278 x: '0',
1279 y: '0',
1280 width: '56',
1281 height: '40'
1282 }),
1283 React.createElement('rect', {
1284 id: 'Rectangle-path',
1285 fill: '#FF0000',
1286 x: '0',
1287 y: '27',
1288 width: '56',
1289 height: '13'
1290 }),
1291 React.createElement('rect', {
1292 id: 'Rectangle-path',
1293 fill: '#3B6AC3',
1294 x: '0',
1295 y: '13',
1296 width: '56',
1297 height: '14'
1298 }),
1299 React.createElement('path', {
1300 d: 'M16,21.8710938 C12.1,21.8710938 9,17.9 9,14 L9,5 L16,5 L23,5 L23,14 C23,17.9 19.9,21.8710938 16,21.8710938 Z',
1301 id: 'Shape',
1302 stroke: '#FF0000',
1303 fill: '#3B6AC3'
1304 })
1305 );
1306};
1307
1308Flag$86.displayName = 'FlagSI';
1309
1310/* eslint max-len: 0 */
1311var Flag$88 = function Flag(props) {
1312 return React.createElement(
1313 IconBase,
1314 _extends({ viewBox: '0 0 56 40' }, props),
1315 React.createElement('rect', {
1316 id: 'Rectangle-path',
1317 fill: '#FFD200',
1318 x: '0',
1319 y: '0',
1320 width: '56',
1321 height: '40'
1322 }),
1323 React.createElement('rect', {
1324 id: 'Rectangle-path',
1325 fill: '#FF0000',
1326 x: '0',
1327 y: '30',
1328 width: '56',
1329 height: '10'
1330 }),
1331 React.createElement('rect', {
1332 id: 'Rectangle-path',
1333 fill: '#FF0000',
1334 x: '0',
1335 y: '0',
1336 width: '56',
1337 height: '10'
1338 }),
1339 React.createElement('path', {
1340 d: 'M15.4,28 C12.2,28 9,27.1 9,27.1 L9,18.6 C9,15 11.9,12 15.5,12 C19.1,12 22,15 22,18.6 L22,27.1 C22,27.1 18.7,28 15.4,28 Z',
1341 id: 'Shape',
1342 fill: '#FF9C00'
1343 })
1344 );
1345};
1346
1347Flag$88.displayName = 'FlagES';
1348
1349/* eslint max-len: 0 */
1350var Flag$90 = function Flag(props) {
1351 return React.createElement(
1352 IconBase,
1353 _extends({ viewBox: '0 0 56 40' }, props),
1354 React.createElement('rect', {
1355 id: 'Rectangle-path',
1356 fill: '#3B6AC3',
1357 x: '0',
1358 y: '0',
1359 width: '56',
1360 height: '40'
1361 }),
1362 React.createElement('polygon', {
1363 id: 'Shape',
1364 fill: '#FFD200',
1365 points: '56 24 24 24 24 40 16 40 16 24 0 24 0 16 16 16 16 0 24 0 24 16 56 16'
1366 })
1367 );
1368};
1369
1370Flag$90.displayName = 'FlagSE';
1371
1372/* eslint max-len: 0 */
1373var Flag$92 = function Flag(props) {
1374 return React.createElement(
1375 IconBase,
1376 _extends({ viewBox: '0 0 56 40' }, props),
1377 React.createElement('rect', {
1378 id: 'Rectangle-path',
1379 fill: '#FF0000',
1380 x: '0',
1381 y: '0',
1382 width: '56',
1383 height: '40'
1384 }),
1385 React.createElement('path', {
1386 d: 'M32.9833333,16.1666667 L39.5,16.1666667 L39.5,23.8333333 L32.9833333,23.8333333 L16.5,23.8333333 L16.5,16.1666667 L32.9833333,16.1666667 Z M24.1666667,8.5 L31.8333333,8.5 L31.8333333,16.1666667 L24.1666667,16.1666667 L24.1666667,8.5 Z M24.1666667,23.8333333 L31.8333333,23.8333333 L31.8333333,31.5 L24.1666667,31.5 L24.1666667,23.8333333 Z',
1387 id: 'Combined-Shape',
1388 fill: '#FFFFFF'
1389 })
1390 );
1391};
1392
1393Flag$92.displayName = 'FlagCH';
1394
1395/* eslint max-len: 0 */
1396var Flag$94 = function Flag(props) {
1397 return React.createElement(
1398 IconBase,
1399 _extends({ viewBox: '0 0 56 40' }, props),
1400 React.createElement('rect', { id: 'Rectangle-path', fill: '#FF0000', x: '0', y: '0', width: '56', height: '40' }),
1401 React.createElement('path', { d: 'M24,10 C18.5,10 14,14.5 14,20 C14,25.5 18.5,30 24,30 C26.2,30 28.2,29.3 29.8,28.1 C27.6,30.5 24.5,32 21,32 C14.4,32 9,26.6 9,20 C9,13.4 14.4,8 21,8 C24.5,8 27.6,9.5 29.8,11.9 C28.2,10.7 26.2,10 24,10 Z', id: 'Shape', fill: '#FFFFFF' }),
1402 React.createElement('circle', { id: 'Oval', fill: '#FFFFFF', cx: '34', cy: '20', r: '3' })
1403 );
1404};
1405
1406Flag$94.displayName = 'FlagTR';
1407
1408/* eslint max-len: 0 */
1409var Flag$96 = function Flag(props) {
1410 return React.createElement(
1411 IconBase,
1412 _extends({ viewBox: '0 0 56 40' }, props),
1413 React.createElement('rect', { id: 'Rectangle-path', fill: '#FFD200', x: '0', y: '0', width: '56', height: '40' }),
1414 React.createElement('rect', { id: 'Rectangle-path', fill: '#3B6AC3', x: '0', y: '0', width: '56', height: '20' })
1415 );
1416};
1417
1418Flag$96.displayName = 'FlagUA';
1419
1420/* eslint max-len: 0 */
1421var Flag$98 = function Flag(props) {
1422 return React.createElement(
1423 IconBase,
1424 _extends({ viewBox: '0 0 56 40' }, props),
1425 React.createElement('rect', {
1426 id: 'Rectangle-path',
1427 fill: '#001468',
1428 x: '0',
1429 y: '0',
1430 width: '56',
1431 height: '40'
1432 }),
1433 React.createElement('polygon', {
1434 id: 'Shape',
1435 fill: '#FFFFFF',
1436 points: '56 40 50 40 34 27 34 40 22 40 22 27 6 40 0 40 0 36 12 26 0 26 0 14 12 14 0 4 0 0 6 0 22 13 22 0 34 0 34 13 50 0 56 0 56 4 44 14 56 14 56 26 44 26 56 36'
1437 }),
1438 React.createElement('path', {
1439 d: 'M53,40 L36,26 L41,26 L56,39 L56,40 L53,40 Z M32,40 L24,40 L24,24 L0,24 L0,16 L24,16 L24,0 L32,0 L32,16 L56,16 L56,24 L32,24 L32,40 Z M36,14 L53,0 L56,0 L56,1 L41,14 L36,14 Z M0,1 L0,0 L3,0 L20,14 L15,14 L0,1 Z M20,26 L3,40 L0,40 L0,39 L15,26 L20,26 Z',
1440 id: 'Shape',
1441 fill: '#FF0000'
1442 })
1443 );
1444};
1445
1446Flag$98.displayName = 'FlagGB';
1447
1448/* eslint max-len: 0 */
1449var Flag$100 = function Flag(props) {
1450 return React.createElement(
1451 IconBase,
1452 _extends({ viewBox: '0 0 56 40' }, props),
1453 React.createElement('rect', { id: 'Rectangle-path', fill: '#FFFFFF', x: '0', y: '2.27373675e-13', width: '56', height: '40' }),
1454 React.createElement('rect', { id: 'Rectangle-path', fill: '#FF0000', x: '0', y: '2.27373675e-13', width: '56', height: '13' }),
1455 React.createElement('rect', { id: 'Rectangle-path', fill: '#001468', x: '0', y: '27', width: '56', height: '13' }),
1456 React.createElement('circle', { id: 'Oval', fill: '#FF0000', cx: '28', cy: '20', r: '5' })
1457 );
1458};
1459
1460Flag$100.displayName = 'FlagYU';
1461
1462/* eslint max-len: 0 */
1463var Flag$102 = function Flag(props) {
1464 return React.createElement(
1465 IconBase,
1466 _extends({ viewBox: '0 0 56 40' }, props),
1467 React.createElement('rect', { id: 'Rectangle-path', fill: '#FFFFFF', x: '0', y: '0', width: '56', height: '40' }),
1468 React.createElement('rect', { id: 'Rectangle-path', fill: '#3B6AC3', x: '0', y: '0', width: '56', height: '13' }),
1469 React.createElement('rect', { id: 'Rectangle-path', fill: '#FF0000', x: '0', y: '27', width: '56', height: '13' })
1470 );
1471};
1472
1473Flag$102.displayName = 'FlagCS';
1474
1475
1476
1477var index = Object.freeze({
1478 AL: Flag,
1479 AD: Flag$2,
1480 AM: Flag$4,
1481 AU: Flag$6,
1482 AT: Flag$8,
1483 AZ: Flag$10,
1484 BY: Flag$12,
1485 BE: Flag$14,
1486 BA: Flag$16,
1487 BG: Flag$18,
1488 HR: Flag$20,
1489 CY: Flag$22,
1490 CZ: Flag$24,
1491 DK: Flag$26,
1492 EE: Flag$28,
1493 FI: Flag$30,
1494 FR: Flag$32,
1495 GE: Flag$34,
1496 DE: Flag$36,
1497 GR: Flag$38,
1498 HU: Flag$40,
1499 IS: Flag$42,
1500 IE: Flag$44,
1501 IL: Flag$46,
1502 IT: Flag$48,
1503 LV: Flag$50,
1504 LT: Flag$52,
1505 LU: Flag$54,
1506 MK: Flag$56,
1507 MT: Flag$58,
1508 MD: Flag$60,
1509 MC: Flag$62,
1510 ME: Flag$64,
1511 MA: Flag$66,
1512 NL: Flag$68,
1513 NO: Flag$70,
1514 PL: Flag$72,
1515 PT: Flag$74,
1516 RO: Flag$76,
1517 RU: Flag$78,
1518 SM: Flag$80,
1519 RS: Flag$82,
1520 SK: Flag$84,
1521 SI: Flag$86,
1522 ES: Flag$88,
1523 SE: Flag$90,
1524 CH: Flag$92,
1525 TR: Flag$94,
1526 UA: Flag$96,
1527 GB: Flag$98,
1528 YU: Flag$100,
1529 CS: Flag$102
1530});
1531
1532/**
1533 * Checks if `value` is the
1534 * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
1535 * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
1536 *
1537 * @static
1538 * @memberOf _
1539 * @since 0.1.0
1540 * @category Lang
1541 * @param {*} value The value to check.
1542 * @returns {boolean} Returns `true` if `value` is an object, else `false`.
1543 * @example
1544 *
1545 * _.isObject({});
1546 * // => true
1547 *
1548 * _.isObject([1, 2, 3]);
1549 * // => true
1550 *
1551 * _.isObject(_.noop);
1552 * // => true
1553 *
1554 * _.isObject(null);
1555 * // => false
1556 */
1557function isObject(value) {
1558 var type = typeof value;
1559 return value != null && (type == 'object' || type == 'function');
1560}
1561
1562var isObject_1 = isObject;
1563
1564var commonjsGlobal = typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
1565
1566
1567
1568function unwrapExports (x) {
1569 return x && x.__esModule ? x['default'] : x;
1570}
1571
1572function createCommonjsModule(fn, module) {
1573 return module = { exports: {} }, fn(module, module.exports), module.exports;
1574}
1575
1576/** Detect free variable `global` from Node.js. */
1577var freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
1578
1579var _freeGlobal = freeGlobal;
1580
1581/** Detect free variable `self`. */
1582var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
1583
1584/** Used as a reference to the global object. */
1585var root = _freeGlobal || freeSelf || Function('return this')();
1586
1587var _root = root;
1588
1589/** Built-in value references. */
1590var Symbol$1 = _root.Symbol;
1591
1592var _Symbol = Symbol$1;
1593
1594/** Used for built-in method references. */
1595var objectProto = Object.prototype;
1596
1597/** Used to check objects for own properties. */
1598var hasOwnProperty = objectProto.hasOwnProperty;
1599
1600/**
1601 * Used to resolve the
1602 * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
1603 * of values.
1604 */
1605var nativeObjectToString = objectProto.toString;
1606
1607/** Built-in value references. */
1608var symToStringTag$1 = _Symbol ? _Symbol.toStringTag : undefined;
1609
1610/**
1611 * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
1612 *
1613 * @private
1614 * @param {*} value The value to query.
1615 * @returns {string} Returns the raw `toStringTag`.
1616 */
1617function getRawTag(value) {
1618 var isOwn = hasOwnProperty.call(value, symToStringTag$1),
1619 tag = value[symToStringTag$1];
1620
1621 try {
1622 value[symToStringTag$1] = undefined;
1623 var unmasked = true;
1624 } catch (e) {}
1625
1626 var result = nativeObjectToString.call(value);
1627 if (unmasked) {
1628 if (isOwn) {
1629 value[symToStringTag$1] = tag;
1630 } else {
1631 delete value[symToStringTag$1];
1632 }
1633 }
1634 return result;
1635}
1636
1637var _getRawTag = getRawTag;
1638
1639/** Used for built-in method references. */
1640var objectProto$1 = Object.prototype;
1641
1642/**
1643 * Used to resolve the
1644 * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
1645 * of values.
1646 */
1647var nativeObjectToString$1 = objectProto$1.toString;
1648
1649/**
1650 * Converts `value` to a string using `Object.prototype.toString`.
1651 *
1652 * @private
1653 * @param {*} value The value to convert.
1654 * @returns {string} Returns the converted string.
1655 */
1656function objectToString(value) {
1657 return nativeObjectToString$1.call(value);
1658}
1659
1660var _objectToString = objectToString;
1661
1662/** `Object#toString` result references. */
1663var nullTag = '[object Null]';
1664var undefinedTag = '[object Undefined]';
1665
1666/** Built-in value references. */
1667var symToStringTag = _Symbol ? _Symbol.toStringTag : undefined;
1668
1669/**
1670 * The base implementation of `getTag` without fallbacks for buggy environments.
1671 *
1672 * @private
1673 * @param {*} value The value to query.
1674 * @returns {string} Returns the `toStringTag`.
1675 */
1676function baseGetTag(value) {
1677 if (value == null) {
1678 return value === undefined ? undefinedTag : nullTag;
1679 }
1680 return (symToStringTag && symToStringTag in Object(value))
1681 ? _getRawTag(value)
1682 : _objectToString(value);
1683}
1684
1685var _baseGetTag = baseGetTag;
1686
1687/**
1688 * Checks if `value` is object-like. A value is object-like if it's not `null`
1689 * and has a `typeof` result of "object".
1690 *
1691 * @static
1692 * @memberOf _
1693 * @since 4.0.0
1694 * @category Lang
1695 * @param {*} value The value to check.
1696 * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
1697 * @example
1698 *
1699 * _.isObjectLike({});
1700 * // => true
1701 *
1702 * _.isObjectLike([1, 2, 3]);
1703 * // => true
1704 *
1705 * _.isObjectLike(_.noop);
1706 * // => false
1707 *
1708 * _.isObjectLike(null);
1709 * // => false
1710 */
1711function isObjectLike(value) {
1712 return value != null && typeof value == 'object';
1713}
1714
1715var isObjectLike_1 = isObjectLike;
1716
1717/** `Object#toString` result references. */
1718var symbolTag = '[object Symbol]';
1719
1720/**
1721 * Checks if `value` is classified as a `Symbol` primitive or object.
1722 *
1723 * @static
1724 * @memberOf _
1725 * @since 4.0.0
1726 * @category Lang
1727 * @param {*} value The value to check.
1728 * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
1729 * @example
1730 *
1731 * _.isSymbol(Symbol.iterator);
1732 * // => true
1733 *
1734 * _.isSymbol('abc');
1735 * // => false
1736 */
1737function isSymbol(value) {
1738 return typeof value == 'symbol' ||
1739 (isObjectLike_1(value) && _baseGetTag(value) == symbolTag);
1740}
1741
1742var isSymbol_1 = isSymbol;
1743
1744/** Used as references for various `Number` constants. */
1745var NAN = 0 / 0;
1746
1747/** Used to match leading and trailing whitespace. */
1748var reTrim = /^\s+|\s+$/g;
1749
1750/** Used to detect bad signed hexadecimal string values. */
1751var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
1752
1753/** Used to detect binary string values. */
1754var reIsBinary = /^0b[01]+$/i;
1755
1756/** Used to detect octal string values. */
1757var reIsOctal = /^0o[0-7]+$/i;
1758
1759/** Built-in method references without a dependency on `root`. */
1760var freeParseInt = parseInt;
1761
1762/**
1763 * Converts `value` to a number.
1764 *
1765 * @static
1766 * @memberOf _
1767 * @since 4.0.0
1768 * @category Lang
1769 * @param {*} value The value to process.
1770 * @returns {number} Returns the number.
1771 * @example
1772 *
1773 * _.toNumber(3.2);
1774 * // => 3.2
1775 *
1776 * _.toNumber(Number.MIN_VALUE);
1777 * // => 5e-324
1778 *
1779 * _.toNumber(Infinity);
1780 * // => Infinity
1781 *
1782 * _.toNumber('3.2');
1783 * // => 3.2
1784 */
1785function toNumber(value) {
1786 if (typeof value == 'number') {
1787 return value;
1788 }
1789 if (isSymbol_1(value)) {
1790 return NAN;
1791 }
1792 if (isObject_1(value)) {
1793 var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
1794 value = isObject_1(other) ? (other + '') : other;
1795 }
1796 if (typeof value != 'string') {
1797 return value === 0 ? value : +value;
1798 }
1799 value = value.replace(reTrim, '');
1800 var isBinary = reIsBinary.test(value);
1801 return (isBinary || reIsOctal.test(value))
1802 ? freeParseInt(value.slice(2), isBinary ? 2 : 8)
1803 : (reIsBadHex.test(value) ? NAN : +value);
1804}
1805
1806var toNumber_1 = toNumber;
1807
1808/** Used as references for various `Number` constants. */
1809var INFINITY = 1 / 0;
1810var MAX_INTEGER = 1.7976931348623157e+308;
1811
1812/**
1813 * Converts `value` to a finite number.
1814 *
1815 * @static
1816 * @memberOf _
1817 * @since 4.12.0
1818 * @category Lang
1819 * @param {*} value The value to convert.
1820 * @returns {number} Returns the converted number.
1821 * @example
1822 *
1823 * _.toFinite(3.2);
1824 * // => 3.2
1825 *
1826 * _.toFinite(Number.MIN_VALUE);
1827 * // => 5e-324
1828 *
1829 * _.toFinite(Infinity);
1830 * // => 1.7976931348623157e+308
1831 *
1832 * _.toFinite('3.2');
1833 * // => 3.2
1834 */
1835function toFinite(value) {
1836 if (!value) {
1837 return value === 0 ? value : 0;
1838 }
1839 value = toNumber_1(value);
1840 if (value === INFINITY || value === -INFINITY) {
1841 var sign = (value < 0 ? -1 : 1);
1842 return sign * MAX_INTEGER;
1843 }
1844 return value === value ? value : 0;
1845}
1846
1847var toFinite_1 = toFinite;
1848
1849/**
1850 * Converts `value` to an integer.
1851 *
1852 * **Note:** This method is loosely based on
1853 * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).
1854 *
1855 * @static
1856 * @memberOf _
1857 * @since 4.0.0
1858 * @category Lang
1859 * @param {*} value The value to convert.
1860 * @returns {number} Returns the converted integer.
1861 * @example
1862 *
1863 * _.toInteger(3.2);
1864 * // => 3
1865 *
1866 * _.toInteger(Number.MIN_VALUE);
1867 * // => 0
1868 *
1869 * _.toInteger(Infinity);
1870 * // => 1.7976931348623157e+308
1871 *
1872 * _.toInteger('3.2');
1873 * // => 3
1874 */
1875function toInteger(value) {
1876 var result = toFinite_1(value),
1877 remainder = result % 1;
1878
1879 return result === result ? (remainder ? result - remainder : result) : 0;
1880}
1881
1882var toInteger_1 = toInteger;
1883
1884/**
1885 * Checks if `value` is an integer.
1886 *
1887 * **Note:** This method is based on
1888 * [`Number.isInteger`](https://mdn.io/Number/isInteger).
1889 *
1890 * @static
1891 * @memberOf _
1892 * @since 4.0.0
1893 * @category Lang
1894 * @param {*} value The value to check.
1895 * @returns {boolean} Returns `true` if `value` is an integer, else `false`.
1896 * @example
1897 *
1898 * _.isInteger(3);
1899 * // => true
1900 *
1901 * _.isInteger(Number.MIN_VALUE);
1902 * // => false
1903 *
1904 * _.isInteger(Infinity);
1905 * // => false
1906 *
1907 * _.isInteger('3');
1908 * // => false
1909 */
1910function isInteger(value) {
1911 return typeof value == 'number' && value == toInteger_1(value);
1912}
1913
1914var isInteger_1 = isInteger;
1915
1916var Container = styled.div.withConfig({
1917 displayName: 'base__Container',
1918 componentId: 'xgepi8-0'
1919})([['{display:inline-block;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:', function (props) {
1920 return props.color || 'currentColor';
1921}, ';width:', function (props) {
1922 return props.width ? isInteger_1(props.width) ? props.width + 'px' : props.width : 'auto';
1923}, ';height:', function (props) {
1924 return props.height ? isInteger_1(props.height) ? props.height + 'px' : props.height : 'auto';
1925}, ';}']]);
1926
1927var Canvas = styled.canvas.withConfig({
1928 displayName: 'base__Canvas',
1929 componentId: 'xgepi8-1'
1930})([['{display:block;height:100%;visibility:hidden;}']]);
1931
1932var Icon = styled.svg.withConfig({
1933 displayName: 'base__Icon',
1934 componentId: 'xgepi8-2'
1935})([['{position:absolute;left:0;top:0;width:100%;height:100%;fill:currentColor;}']]);
1936
1937var IconBase$2 = function IconBase(_ref) {
1938 var children = _ref.children,
1939 title = _ref.title,
1940 viewBox = _ref.viewBox,
1941 width = _ref.width,
1942 height = _ref.height,
1943 color = _ref.color,
1944 props = objectWithoutProperties(_ref, ['children', 'title', 'viewBox', 'width', 'height', 'color']);
1945
1946 var fragments = viewBox.split(' ');
1947
1948 return React.createElement(
1949 Container,
1950 _extends({
1951 className: 'icon',
1952 role: 'img',
1953 'aria-label': title,
1954 color: color,
1955 width: width,
1956 height: height
1957 }, props),
1958 React.createElement(Canvas, { width: fragments[2], height: fragments[3] }),
1959 React.createElement(
1960 Icon,
1961 { viewBox: viewBox },
1962 children
1963 )
1964 );
1965};
1966
1967IconBase$2.propTypes = {
1968 color: PropTypes.string,
1969 title: PropTypes.string,
1970 width: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
1971 height: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
1972 children: PropTypes.node.isRequired,
1973 viewBox: PropTypes.string.isRequired
1974};
1975
1976/* eslint max-len: 0 */
1977var Youtube = (function (props) {
1978 return React.createElement(
1979 IconBase$2,
1980 _extends({ viewBox: '0 0 31 21' }, props),
1981 React.createElement('path', {
1982 d: 'M11.9025,13.9619496 L11.9015625,5.81264495 L20.0071875,9.90134625 L11.9025,13.9619496 Z M29.7,4.40049762 C29.7,4.40049762 29.4065625,2.4019194 28.5075,1.52181988 C27.3665625,0.366179411 26.0878125,0.360741103 25.501875,0.293668636 C21.30375,0 15.0065625,0 15.0065625,0 L14.9934375,0 C14.9934375,0 8.69625,0 4.498125,0.293668636 C3.91125,0.360741103 2.6334375,0.366179411 1.4915625,1.52181988 C0.5925,2.4019194 0.3,4.40049762 0.3,4.40049762 C0.3,4.40049762 0,6.74803394 0,9.09466388 L0,11.2953659 C0,13.6429022 0.3,15.9895321 0.3,15.9895321 C0.3,15.9895321 0.5925,17.9881104 1.4915625,18.8682099 C2.6334375,20.0238504 4.1325,19.987595 4.8,20.1081441 C7.2,20.3311148 15,20.4 15,20.4 C15,20.4 21.30375,20.3909362 25.501875,20.0972675 C26.0878125,20.0292887 27.3665625,20.0238504 28.5075,18.8682099 C29.4065625,17.9881104 29.7,15.9895321 29.7,15.9895321 C29.7,15.9895321 30,13.6429022 30,11.2953659 L30,9.09466388 C30,6.74803394 29.7,4.40049762 29.7,4.40049762 L29.7,4.40049762 Z',
1983 fillRule: 'evenodd'
1984 })
1985 );
1986});
1987
1988/* eslint max-len: 0 */
1989var Facebook = (function (props) {
1990 return React.createElement(
1991 IconBase$2,
1992 _extends({ viewBox: '-1 -1 13 25' }, props),
1993 React.createElement('path', {
1994 d: 'M12,7.77131029 L7.91322167,7.77131029 L7.91322167,5.28039743 C7.91322167,4.34493894 8.58036351,4.12684744 9.05024947,4.12684744 L11.934248,4.12684744 L11.934248,0.0144069551 L7.962402,-1.77635684e-15 C3.55327869,-1.77635684e-15 2.54989309,3.06719106 2.54989309,5.03001449 L2.54989309,7.77131029 L-1.24344979e-14,7.77131029 L-1.24344979e-14,12.0089422 L2.54989309,12.0089422 L2.54989309,24 L7.91322167,24 L7.91322167,12.0089422 L11.5322523,12.0089422 L12,7.77131029 L12,7.77131029 Z'
1995 })
1996 );
1997});
1998
1999/* eslint max-len: 0 */
2000var instagram = (function (props) {
2001 return React.createElement(
2002 IconBase$2,
2003 _extends({ viewBox: '0 0 23 23' }, props),
2004 React.createElement('path', {
2005 d: 'M11.4,5.56637025 C14.6255457,5.56637025 17.2382377,8.17906225 17.2382377,11.4 C17.2382377,14.6255457 14.6255457,17.2382377 11.4,17.2382377 C8.17906225,17.2382377 5.56637025,14.6255457 5.56637025,11.4 C5.56637025,8.17906225 8.17906225,5.56637025 11.4,5.56637025 L11.4,5.56637025 Z M17.4041229,4.11948262 C18.109135,4.11948262 18.6851253,4.690865 18.6851253,5.39587712 C18.6851253,6.10088925 18.109135,6.67227162 17.4041229,6.67227162 C16.6991108,6.67227162 16.1277284,6.10088925 16.1277284,5.39587712 C16.1277284,4.690865 16.6991108,4.11948262 17.4041229,4.11948262 L17.4041229,4.11948262 Z M5.9672595,0 L16.8373484,0 C20.1181892,0 22.8,2.68641876 22.8,5.9672595 L22.8,16.8373484 C22.8,20.1181892 20.1181892,22.8 16.8373484,22.8 L5.9672595,22.8 C2.68641876,22.8 0,20.1181892 0,16.8373484 L0,5.9672595 C0,2.68641876 2.68641876,0 5.9672595,0 L5.9672595,0 Z M6.79668553,2.02748585 L16.0033145,2.02748585 C18.6298302,2.02748585 20.7771221,4.17477769 20.7771221,6.79668553 L20.7771221,16.0033145 C20.7771221,18.6298302 18.6298302,20.7771221 16.0033145,20.7771221 L6.79668553,20.7771221 C4.17477769,20.7771221 2.02748585,18.6298302 2.02748585,16.0033145 L2.02748585,6.79668553 C2.02748585,4.17477769 4.17477769,2.02748585 6.79668553,2.02748585 L6.79668553,2.02748585 Z M11.4,7.50630558 C13.5518998,7.50630558 15.2983023,9.24810024 15.2983023,11.4 C15.2983023,13.5518998 13.5518998,15.2983023 11.4,15.2983023 C9.24810024,15.2983023 7.50630558,13.5518998 7.50630558,11.4 C7.50630558,9.24810024 9.24810024,7.50630558 11.4,7.50630558 L11.4,7.50630558 Z',
2006 fillRule: 'evenodd'
2007 })
2008 );
2009});
2010
2011/* eslint max-len: 0 */
2012var snapchat = (function (props) {
2013 return React.createElement(
2014 IconBase$2,
2015 _extends({ viewBox: '0 0 24 23' }, props),
2016 React.createElement('path', { d: 'M2.21637278,18.8929282 C2.73738578,18.9958011 3.11574047,18.9349171 3.31422161,19.3695028 C3.47962256,19.7306077 3.51683778,20.2701657 3.65742859,20.6459669 C4.17844159,20.6732597 4.83384287,20.3352486 6.11156524,20.4381215 C8.69802265,20.6480663 9.08464738,22.8041989 11.9316113,22.7979006 C14.9170985,22.7916022 15.2106852,20.6816575 17.7475223,20.4444199 C19.0045696,20.3268508 19.8894647,20.6774586 20.2740219,20.6165746 C20.4311528,20.3289503 20.455963,19.7285083 20.6172289,19.3737017 C20.8219126,18.9307182 21.1816596,18.9979006 21.7109427,18.8929282 C22.3436013,18.7690608 23.7970622,18.4541436 23.933518,17.9271823 C23.6419988,17.7571271 22.4945297,17.8243094 20.8446552,16.4176796 C20.0755408,15.7626519 19.3829243,14.9081768 18.8060884,13.8374586 C18.1279445,12.5777901 18.0266364,11.6099448 19.6558358,10.9885083 C20.2244016,10.7701657 20.8632628,10.6190055 21.243685,10.2746961 C21.5331367,10.0164641 21.4070184,9.77082873 21.1010267,9.61337017 C20.718537,9.41812155 20.5386634,9.48320442 20.1892539,9.63436464 C19.6330932,9.87370166 18.8805189,10.0563536 18.3491683,9.68475138 C18.0576491,9.48110497 18.1444846,9.43701657 18.1816998,8.75889503 C18.2788729,7.09823204 18.4959617,4.87071823 17.8054127,3.49348066 C16.655876,1.20508287 14.648322,-0.0230939227 12.0308519,0.00209944751 C8.99781188,0.0314917127 7.19907651,1.38773481 6.17979313,3.38220994 C5.4106787,4.88751381 5.65878013,7.24939227 5.77042577,9.09060773 C5.78489836,9.32574586 5.83865367,9.48110497 5.69806286,9.60497238 C5.24941277,10.001768 4.42034049,9.93248619 3.82282954,9.71834254 C3.51270275,9.60497238 3.29768152,9.42232044 2.92139435,9.57348066 C2.62367263,9.69104972 2.3755712,9.94088398 2.65675282,10.2369061 C3.51063524,11.1333702 6.76489901,10.8583425 5.13983464,13.820663 C4.19498169,15.5401105 2.81388373,17.039116 0.924177829,17.6773481 C0.756709363,17.7340331 0.0702954053,17.8872928 0,17.9271823 C0.105443108,18.4205525 1.57957911,18.7669613 2.21637278,18.8929282 Z' })
2017 );
2018});
2019
2020/* eslint max-len: 0 */
2021var Twitter = (function (props) {
2022 return React.createElement(
2023 IconBase$2,
2024 _extends({ viewBox: '0 0 26 21' }, props),
2025 React.createElement('path', {
2026 d: 'M25.2,2.3483661 L22.8375,4.69830197 C22.8375,4.69830197 22.8375,4.48481414 22.8375,5.08917307 C22.8375,5.51850337 22.7682,5.92821162 22.6674,6.32693154 C22.612275,9.55828957 21.5775,13.8429589 17.325,17.2257991 C8.9609625,23.8784565 0,18.0083262 0,18.0083262 C7.0875,18.0083262 7.0875,15.6591752 7.0875,15.6591752 C5.5125,15.6591752 2.3625,12.528282 2.3625,12.528282 C3.15,13.3108091 4.725,12.528282 4.725,12.528282 C0.7875,10.179131 0.7875,7.82998003 0.7875,7.82998003 C1.575,8.6125071 3.15,7.82998003 3.15,7.82998003 C-0.7875,4.69908685 1.575,0.783311955 1.575,0.783311955 C2.3625,4.69830197 12.6,6.26335612 12.6,6.26335612 L12.730725,6.19899582 C12.6504,5.84030487 12.6,5.07975448 12.6,4.69830197 C12.6,1.88685565 14.891625,0 17.71875,0 C19.27485,0 20.6514,0.704823784 21.5908875,1.79502449 L22.05,1.56583903 L24.4125,0 L22.8375,3.13167806 L25.2,2.3483661 L25.2,2.3483661 Z'
2027 })
2028 );
2029});
2030
2031/* eslint max-len: 0 */
2032var Whatsapp = (function (props) {
2033 return React.createElement(
2034 IconBase$2,
2035 _extends({ viewBox: '0 0 20 20' }, props),
2036 React.createElement('path', {
2037 d: 'M9.99709729,0 L9.99709729,0.000165915897 L10.0029027,0.000165915897 C15.5157285,0.000165915897 20,4.4857022 20,10.000083 C20,15.5142978 15.5157285,20 10.0029027,20 C7.96934739,20 6.0827521,19.3945729 4.50185359,18.3481413 L0.658168639,19.5765826 L1.90417741,15.8612279 C0.705275467,14.2150104 0,12.1868545 0,9.99991704 C0,4.48553628 4.48427146,0 9.99709729,0 Z M7.20535425,5.07951519 C7.01145326,4.6151166 6.86449323,4.59752951 6.57073903,4.58558357 C6.47071995,4.57977651 6.35925591,4.57396945 6.23568342,4.57396945 C5.85352099,4.57396945 5.45394229,4.68563085 5.21293447,4.93251371 C4.91918027,5.23232374 4.19035139,5.93182516 4.19035139,7.36633401 C4.19035139,8.80084285 5.23648789,10.1882316 5.37747663,10.3823532 C5.52443667,10.576143 7.41700324,13.5626291 10.3555404,14.7797881 C12.6534911,15.7321454 13.3353791,15.6438781 13.8583644,15.5322167 C14.6223575,15.3676281 15.5804175,14.8030164 15.8214253,14.1212679 C16.0624331,13.4391877 16.0624331,12.8571547 15.9917729,12.7337133 C15.9212785,12.6102719 15.7272117,12.5399235 15.4334575,12.3927561 C15.1397033,12.2457546 13.7114043,11.5402802 13.4410377,11.4462059 C13.1764764,11.3463245 12.9238578,11.3816646 12.7241514,11.6638876 C12.442008,12.0577719 12.1658359,12.4576292 11.9424102,12.6985391 C11.7660914,12.8866877 11.4779767,12.9102478 11.2371348,12.8102005 C10.9138559,12.675145 10.008874,12.357416 8.89207726,11.3639116 C8.02806505,10.593896 7.44039079,9.63573165 7.27004321,9.34770165 C7.09952976,9.0538646 7.25246108,8.88313714 7.38747854,8.72452154 C7.53443857,8.54217997 7.67542732,8.41293149 7.82238735,8.24236994 C7.96934739,8.07197432 8.05161847,7.98370706 8.14566625,7.7837784 C8.24568533,7.58982272 8.17502509,7.38989406 8.10453071,7.24289258 C8.03403634,7.09589109 7.44636208,5.66138225 7.20535425,5.07951519 Z',
2038 fillRule: 'evenodd'
2039 })
2040 );
2041});
2042
2043/* eslint max-len: 0 */
2044var GooglePlus = (function (props) {
2045 return React.createElement(
2046 IconBase$2,
2047 _extends({ viewBox: '0 0 20 20' }, props),
2048 React.createElement('path', {
2049 d: 'M17.7987421,9.28288543 L17.7987421,7.05516266 L16.2264151,7.05516266 L16.2264151,9.28288543 L13.9622642,9.28288543 L13.9622642,10.874116 L16.2264151,10.874116 L16.2264151,13.165488 L17.7987421,13.165488 L17.7987421,10.874116 L20,10.874116 L20,9.28288543 L17.7987421,9.28288543 L17.7987421,9.28288543 Z M6.35220126,9.15558699 L6.35220126,11.7015559 C6.35220126,11.7015559 8.7927044,11.6982461 9.78641509,11.6982461 C9.24830189,13.3487341 8.41157233,14.2475248 6.35220126,14.2475248 C4.26811321,14.2475248 2.64150943,12.5377157 2.64150943,10.4285714 C2.64150943,8.31942716 4.26811321,6.6096181 6.35220126,6.6096181 C7.45408805,6.6096181 8.16572327,7.00157001 8.81849057,7.54787129 C9.34100629,7.01907355 9.29735849,6.94371287 10.6267296,5.67321075 C9.49823899,4.63369165 7.99836478,4 6.35220126,4 C2.84396226,4 0,6.87815417 0,10.4285714 C0,13.978925 2.84396226,16.8571429 6.35220126,16.8571429 C11.5960377,16.8571429 12.8777358,12.2362093 12.4528302,9.15558699 L6.35220126,9.15558699 L6.35220126,9.15558699 Z',
2050 fillRule: 'evenodd'
2051 })
2052 );
2053});
2054
2055/* eslint max-len: 0 */
2056var mail = (function (props) {
2057 return React.createElement(
2058 IconBase$2,
2059 _extends({ viewBox: '0 0 21 15' }, props),
2060 React.createElement('path', {
2061 d: 'M18,2.291 L10,9.318 L2,2.281 L2,2 L18,2 L18,2.291 Z M2,13 L2,4.945 L9.24737942,11.3181643 C9.66304029,11.6836861 10.34375,11.6780586 10.7526206,11.3189169 L18,4.953 L18,13 L2,13 Z M0,13.0081158 C0,14.1082031 0.898212381,15 1.99079514,15 L18.0092049,15 C19.1086907,15 20,14.1066027 20,13.0081158 L20,1.99188419 C20,0.891796927 19.1017876,0 18.0092049,0 L1.99079514,0 C0.891309342,0 0,0.893397331 0,1.99188419 L0,13.0081158 Z',
2062 fillRule: 'evenodd'
2063 })
2064 );
2065});
2066
2067/* eslint max-len: 0 */
2068var vkontakte = (function (props) {
2069 return React.createElement(
2070 IconBase$2,
2071 _extends({ viewBox: '0 0 20 20' }, props),
2072 React.createElement('path', {
2073 d: 'M3 0h14c1.6 0 3 1.4 3 3v14c0 1.6-1.4 3-3 3H3c-1.6 0-3-1.4-3-3V3c0-1.6 1.4-3 3-3zM10 14h1l.2-.2v-.3s0-1 .6-1.3c.5 0 1.2 1 2 1.5.4.4.8.3.8.3h1.8s1 0 .5-.8c0 0-.3-.6-1.4-1.6-1-1-1-1 .4-2.7 1-1.2 1.2-2 1-2.2 0-.3-.6-.2-.6-.2h-2-.2c-.2 0-.2.3-.2.3l-.8 1.5c-1 1.5-1.3 1.6-1.4 1.5-.4-.2-.3-1-.3-1.4 0-1.5.4-2-.3-2.3H8l-.3.5s.4 0 .6.3c.2.4.2 1 .2 1s0 1.8-.3 2c-.2.2-.6 0-1.4-1.6C6.3 7.7 6 7 6 7v-.3H3.4h-.3V7s1.5 3.6 3.2 5.5C8 14 9.8 14 9.8 14z'
2074 })
2075 );
2076});
2077
2078/* eslint max-len: 0 */
2079var arrowRight = (function (props) {
2080 return React.createElement(
2081 IconBase$2,
2082 _extends({ viewBox: '0 0 20 20' }, props),
2083 React.createElement('path', {
2084 d: 'M11.1276806,0.292743187 C10.7370078,-0.0975810622 10.1045374,-0.0975810622 9.7148638,0.292743187 C9.32419099,0.683067435 9.32419099,1.31497344 9.7148638,1.70429942 L16.1494748,8.14215385 C16.4642112,8.45660944 16.2413978,9.00166581 15.7967702,9.00166581 L1.01614898,9.00166581 C0.464610888,9.00166581 0,9.44090538 0,9.99195137 L0,9.99594446 C0,10.5469905 0.464610888,10.9982093 1.01614898,10.9982093 L15.7967702,10.9982093 C16.2413978,10.9982093 16.4642112,11.5282916 16.1494748,11.8427472 L9.68388974,18.2995688 C9.29321693,18.6888947 9.29321693,19.3188042 9.68388974,19.7091285 L9.68388974,19.7081302 C10.0735634,20.0974562 10.7060337,20.0974562 11.0967065,19.7071319 L19.4147402,11.3965197 L19.4147402,11.3965197 C20.1950866,10.6168695 20.1950866,9.35205919 19.4147402,8.57240897 C19.2338916,8.39272005 10.946832,0.112056002 11.1276806,0.292743187',
2085 fillRule: 'evenodd'
2086 })
2087 );
2088});
2089
2090/* eslint max-len: 0 */
2091var arrowLeft = (function (props) {
2092 return React.createElement(
2093 IconBase$2,
2094 _extends({ viewBox: '0 0 20 16' }, props),
2095 React.createElement('path', {
2096 d: 'M2.5310595,8.54994925 L9.07878622,14.4882029 C9.35101275,14.759715 9.35101275,15.1991357 9.07878622,15.4713623 C8.80584519,15.7435888 8.36428091,15.7435888 8.09133988,15.4713623 L0.266792146,8.37560996 C0.246785997,8.35917633 0.217491279,8.36560688 0.197485131,8.34631524 C0.0567275831,8.2062722 -0.0047198742,8.02192982 0.000281663021,7.83758745 C-0.0047198742,7.65324508 0.0567275831,7.46890271 0.197485131,7.32814516 C0.216776774,7.30956802 0.246785997,7.31599857 0.267506652,7.29956495 L8.09133988,0.203098136 C8.36428091,-0.0676993788 8.80584519,-0.0676993788 9.07878622,0.203098136 C9.35101275,0.476039168 9.35101275,0.916174443 9.07878622,1.18768646 L2.5310595,7.12522565 L19.2854947,7.12522565 C19.6799016,7.12522565 20,7.44460953 20,7.83758745 C20,8.23056538 19.6799016,8.54994925 19.2854947,8.54994925 L2.5310595,8.54994925 Z',
2097 fillRule: 'evenodd'
2098 })
2099 );
2100});
2101
2102/* eslint max-len: 0 */
2103var arrowUp = (function (props) {
2104 return React.createElement(
2105 IconBase$2,
2106 _extends({ viewBox: '0 0 20 20' }, props),
2107 React.createElement('path', {
2108 d: 'M0,10 L1.393,11.435 L9,3.828 L9,20 L11,20 L11,3.828 L18.586,11.414 L20,10 C16.339,6.339 13.504,3.504 10,0 C6.034,3.966 8.834,1.166 0,10',
2109 fillRule: 'evenodd'
2110 })
2111 );
2112});
2113
2114/* eslint max-len: 0 */
2115var arrowDown = (function (props) {
2116 return React.createElement(
2117 IconBase$2,
2118 _extends({ viewBox: '0 0 20 20' }, props),
2119 React.createElement('path', {
2120 d: 'M20,10 L18.607,8.565 L11,16.172 L11,0 L9,0 L9,16.172 L1.414,8.586 L0,10 C3.661,13.661 6.496,16.496 10,20 L20,10',
2121 fillRule: 'evenodd'
2122 })
2123 );
2124});
2125
2126/* eslint max-len: 0 */
2127var arrowCornerRight = (function (props) {
2128 return React.createElement(
2129 IconBase$2,
2130 _extends({ viewBox: '0 0 20 20' }, props),
2131 React.createElement('path', {
2132 d: 'M0 15c0 .6.3 1 .8 1h15c.5 0 .7.5.4 1l-1.4 1.3c-.4.4-.4 1 0 1.4.4.4 1 .4 1.4 0l3.2-3.4c.8-.7.8-2 0-2.7l-3-3.3c-.5-.4-1-.4-1.5 0-.6.3-.6 1-.2 1.4l1.4 1.5c.3.3 0 .8-.3.8H2V.8C2 .3 1.6 0 1 0 .5 0 0 .3 0 .8V15z'
2133 })
2134 );
2135});
2136
2137/* eslint max-len: 0 */
2138var chevronRight = (function (props) {
2139 return React.createElement(
2140 IconBase$2,
2141 _extends({ viewBox: '0 0 11 20' }, props),
2142 React.createElement('path', {
2143 d: 'M0.365851198,19.7076922 L0.365851198,19.7076922 C0.770764375,20.0974359 1.42628878,20.0974359 1.83016637,19.7076922 L10.3934069,11.4441266 C11.2021977,10.6636398 11.2021977,9.39747249 10.3934069,8.61698576 L1.76803135,0.292460172 C1.36726051,-0.0932861516 0.72002078,-0.0982828657 0.31407202,0.282466744 L0.31407202,0.282466744 C-0.100161409,0.671211096 -0.105339327,1.31178984 0.302680601,1.70653024 L8.19693417,9.32352112 C8.60184734,9.71426416 8.60184734,10.3468482 8.19693417,10.7375912 L0.365851198,18.2946215 C-0.0390619781,18.6843652 -0.0390619781,19.3179485 0.365851198,19.7076922',
2144 fillRule: 'evenodd'
2145 })
2146 );
2147});
2148
2149/* eslint max-len: 0 */
2150var chevronLeft = (function (props) {
2151 return React.createElement(
2152 IconBase$2,
2153 _extends({ viewBox: '0 0 11 20' }, props),
2154 React.createElement('path', {
2155 d: 'M10.6337771,0.292307771 L10.6337771,0.292307771 C10.2288781,-0.0974359237 9.57337657,-0.0974359237 9.1695131,0.292307771 L0.606571874,8.55587344 C-0.202190625,9.33636018 -0.202190625,10.6025275 0.606571874,11.3830142 L9.23164594,19.7075398 C9.63240277,20.0932862 10.2796199,20.0982829 10.6855545,19.7175333 L10.6855545,19.7175333 C11.1008089,19.3287889 11.1049511,18.6882102 10.6969455,18.2934698 L2.80296785,10.6764789 C2.39806883,10.2857358 2.39806883,9.65315185 2.80296785,9.26240881 L10.6337771,1.7053785 C11.0386761,1.31563481 11.0386761,0.683050809 10.6337771,0.292307771',
2156 fillRule: 'evenodd'
2157 })
2158 );
2159});
2160
2161/* eslint max-len: 0 */
2162var chevronUp = (function (props) {
2163 return React.createElement(
2164 IconBase$2,
2165 _extends({ viewBox: '0 0 20 11' }, props),
2166 React.createElement('path', {
2167 d: 'M19.7076922,10.6337771 L19.7076922,10.6337771 C20.0974359,10.2288781 20.0974359,9.57337657 19.7076922,9.1695131 L11.4441266,0.606571874 C10.6636398,-0.202190625 9.39747249,-0.202190625 8.61698576,0.606571874 L0.292460172,9.23164594 C-0.0932861516,9.63240277 -0.0982828657,10.2796199 0.282466744,10.6855545 C0.671211096,11.1008089 1.31178984,11.1049511 1.70653024,10.6969455 L9.32352112,2.80296785 C9.71426416,2.39806883 10.3468482,2.39806883 10.7375912,2.80296785 L18.2946215,10.6337771 C18.6843652,11.0386761 19.3179485,11.0386761 19.7076922,10.6337771',
2168 fillRule: 'evenodd'
2169 })
2170 );
2171});
2172
2173/* eslint max-len: 0 */
2174var ChevronDown = (function (props) {
2175 return React.createElement(
2176 IconBase$2,
2177 _extends({ viewBox: '0 0 20 11' }, props),
2178 React.createElement('path', {
2179 d: 'M0.292307771,0.365825368 L0.292307771,0.365825368 C-0.0974359237,0.770709957 -0.0974359237,1.42618808 0.292307771,1.83003715 L8.55587344,10.3926731 C9.33636018,11.2024423 10.6025275,11.2024423 11.3830142,10.3926731 L19.7075398,1.76790653 C20.0932862,1.36716398 20.0982829,0.719969944 19.7175333,0.314049845 C19.3287889,-0.100154337 18.6882102,-0.105331889 18.2934698,0.30265923 L10.6764789,8.19635544 C10.2857358,8.60124003 9.65315185,8.60124003 9.26240881,8.19635544 L1.7053785,0.365825368 C1.31563481,-0.0390592202 0.683050809,-0.0390592202 0.292307771,0.365825368',
2180 fillRule: 'evenodd'
2181 })
2182 );
2183});
2184
2185/* eslint max-len: 0 */
2186var smallArrowUp = (function (props) {
2187 return React.createElement(
2188 IconBase$2,
2189 _extends({ viewBox: '0 0 10 5' }, props),
2190 React.createElement('polygon', { points: '5 0 10 5 0 5' })
2191 );
2192});
2193
2194/* eslint max-len: 0 */
2195var smallArrowDown = (function (props) {
2196 return React.createElement(
2197 IconBase$2,
2198 _extends({ viewBox: '0 0 10 5' }, props),
2199 React.createElement('polygon', { transform: 'translate(5.000000, 2.500000) scale(1, -1) translate(-5.000000, -2.500000) ', points: '5 0 10 5 0 5' })
2200 );
2201});
2202
2203/* eslint max-len: 0 */
2204var toggleLeft = (function (props) {
2205 return React.createElement(
2206 IconBase$2,
2207 _extends({ viewBox: '0 0 22 14' }, props),
2208 React.createElement(
2209 'g',
2210 { stroke: 'none', fill: 'none', fillRule: 'evenodd' },
2211 React.createElement('path', {
2212 d: 'M0,7 C0,3.13400675 3.12869969,0 6.9911656,0 L15.0088344,0 C18.8699485,0 22,3.14187327 22,7 C22,10.8659932 18.8713003,14 15.0088344,14 L6.9911656,14 C3.13005145,14 0,10.8581267 0,7 Z M2,7 C2,4.23857625 4.24331781,2 6.99009984,2 L15.0099002,2 C17.7658562,2 20,4.24419519 20,7 C20,9.76142375 17.7566822,12 15.0099002,12 L6.99009984,12 C4.2341438,12 2,9.75580481 2,7 Z M7,10 C8.65685425,10 10,8.65685425 10,7 C10,5.34314575 8.65685425,4 7,4 C5.34314575,4 4,5.34314575 4,7 C4,8.65685425 5.34314575,10 7,10 Z',
2213 fill: 'currentColor'
2214 })
2215 )
2216 );
2217});
2218
2219/* eslint max-len: 0 */
2220var toggleCenter = (function (props) {
2221 return React.createElement(
2222 IconBase$2,
2223 _extends({ viewBox: '0 0 22 14' }, props),
2224 React.createElement(
2225 'g',
2226 { stroke: 'none', fill: 'none', fillRule: 'evenodd' },
2227 React.createElement('path', {
2228 d: 'M0,7 C0,3.13400675 3.12869969,0 6.9911656,0 L15.0088344,0 C18.8699485,0 22,3.14187327 22,7 C22,10.8659932 18.8713003,14 15.0088344,14 L6.9911656,14 C3.13005145,14 0,10.8581267 0,7 Z M2,7 C2,4.23857625 4.24331781,2 6.99009984,2 L15.0099002,2 C17.7658562,2 20,4.24419519 20,7 C20,9.76142375 17.7566822,12 15.0099002,12 L6.99009984,12 C4.2341438,12 2,9.75580481 2,7 Z M11,10 C12.6568542,10 14,8.65685425 14,7 C14,5.34314575 12.6568542,4 11,4 C9.34314575,4 8,5.34314575 8,7 C8,8.65685425 9.34314575,10 11,10 Z',
2229 fill: 'currentColor'
2230 })
2231 )
2232 );
2233});
2234
2235/* eslint max-len: 0 */
2236var toggleRight = (function (props) {
2237 return React.createElement(
2238 IconBase$2,
2239 _extends({ viewBox: '0 0 22 14' }, props),
2240 React.createElement(
2241 'g',
2242 { stroke: 'none', fill: 'none', fillRule: 'evenodd' },
2243 React.createElement('path', {
2244 d: 'M0,7 C0,3.13400675 3.12869969,0 6.9911656,0 L15.0088344,0 C18.8699485,0 22,3.14187327 22,7 C22,10.8659932 18.8713003,14 15.0088344,14 L6.9911656,14 C3.13005145,14 0,10.8581267 0,7 Z M2,7 C2,4.23857625 4.24331781,2 6.99009984,2 L15.0099002,2 C17.7658562,2 20,4.24419519 20,7 C20,9.76142375 17.7566822,12 15.0099002,12 L6.99009984,12 C4.2341438,12 2,9.75580481 2,7 Z M15,10 C16.6568542,10 18,8.65685425 18,7 C18,5.34314575 16.6568542,4 15,4 C13.3431458,4 12,5.34314575 12,7 C12,8.65685425 13.3431458,10 15,10 Z',
2245 fill: 'currentColor'
2246 })
2247 )
2248 );
2249});
2250
2251/* eslint max-len: 0 */
2252var heart = (function (props) {
2253 return React.createElement(
2254 IconBase$2,
2255 _extends({ viewBox: '0 0 21 16' }, props),
2256 React.createElement('path', {
2257 d: 'M11.9933186,13.3489915 C11.4453186,13.8148173 10.7413186,14.0717212 10.0103186,14.0717212 C9.28031856,14.0717212 8.57431856,13.8158169 8.00431856,13.3349968 C4.41031856,10.3071293 2.12231856,8.70073009 2.00331856,5.40596241 C1.87831856,1.91926651 5.69831856,0.644743207 8.04031856,3.50967166 C8.51431856,4.08845518 9.22631856,4.42033105 9.99431856,4.42033105 C10.7693186,4.42033105 11.4863186,4.08445668 11.9613186,3.49867577 C14.2523186,0.679730121 18.1743186,1.88028109 17.9953186,5.50792427 C17.8353186,8.73471738 15.4593186,10.4010941 11.9933186,13.3489915 M10.3873186,2.31012032 C10.2893186,2.43107508 10.1413186,2.49205227 9.99431856,2.49205227 C9.85031856,2.49205227 9.70731856,2.43307433 9.61131856,2.31611808 C6.06831856,-2.01726114 -0.187681436,0.140931644 0.00431856424,5.47293736 C0.157318564,9.71635022 3.16531856,11.8195636 6.70731856,14.8034475 C7.65431856,15.6011492 8.83231856,16 10.0103186,16 C11.1913186,16 12.3713186,15.5991499 13.3163186,14.7954505 C16.8193186,11.8155651 19.7893186,9.72634649 19.9923186,5.59889025 C20.2623186,0.147929027 13.9213186,-2.04125217 10.3873186,2.31012032'
2258 })
2259 );
2260});
2261
2262/* eslint max-len: 0 */
2263var list = (function (props) {
2264 return React.createElement(
2265 IconBase$2,
2266 _extends({ viewBox: '0 0 20 16' }, props),
2267 React.createElement('path', {
2268 d: 'M0,16 L14,16 L14,14 L0,14 L0,16 Z M0,2 L20,2 L20,0 L0,0 L0,2 Z M0,9 L20,9 L20,7 L0,7 L0,9 Z'
2269 })
2270 );
2271});
2272
2273/* eslint max-len: 0 */
2274var plus = (function (props) {
2275 return React.createElement(
2276 IconBase$2,
2277 _extends({ viewBox: '0 0 20 20' }, props),
2278 React.createElement('polygon', {
2279 points: '20 9 20 11 11 11 11 20 9 20 9 11 0 11 0 9 9 9 9 0 11 0 11 9'
2280 })
2281 );
2282});
2283
2284/* eslint max-len: 0 */
2285var CloseIcon = (function (props) {
2286 return React.createElement(
2287 IconBase$2,
2288 _extends({ viewBox: '0 0 20 20' }, props),
2289 React.createElement('polygon', { points: '11.446 10 20 18.554 18.553 20 10 11.446 1.446 20 0 18.554 8.553 10 0 1.446 1.446 0 10 8.554 18.553 0 20 1.446' })
2290 );
2291});
2292
2293/* eslint max-len: 0 */
2294var trophy = (function (props) {
2295 return React.createElement(
2296 IconBase$2,
2297 _extends({ viewBox: '0 -1 24 49' }, props),
2298 React.createElement('path', { d: 'M22.4495798,9.88237721 C23.3067227,9.88237721 24,10.5302088 24,11.3311643 C24,12.1321198 23.3067227,12.7799515 22.4495798,12.7799515 C22.0966387,12.7799515 21.7689076,12.6621639 21.5168067,12.4854825 L21.5168067,21.1310902 C21.5168067,23.9462132 19.0462185,26.2548496 16.0336134,26.2548496 L13.9663866,26.2548496 C14.3193277,26.2548496 14.5966387,26.5139822 14.5966387,26.8437874 L14.5966387,26.8437874 C14.5966387,27.1618139 14.3193277,27.4327253 13.9663866,27.4327253 C14.3193277,27.4327253 14.5966387,27.6918579 14.5966387,28.0098844 L14.5966387,28.0098844 C14.5966387,28.3396896 14.3193277,28.5988222 13.9663866,28.5988222 L13.9411765,28.5988222 L14.8109244,38.3398544 L16.7268908,38.4223057 C17.5336134,38.4458632 18.1890756,39.034801 18.1890756,39.7886415 L18.1890756,40.5778182 L18.6806723,40.589597 C19.8403361,40.6131545 20.7857143,41.2020923 20.7857143,41.9559328 L20.7857143,42.7568883 L20.105042,42.7568883 L21.1008403,42.7922245 C22.6890756,42.8511183 23.987395,43.9112065 23.987395,45.2775423 L23.987395,46.7263294 C23.987395,47.3506035 18.7436975,47.8570901 12.2647059,47.8570901 C5.79831933,47.8570901 0.554621849,47.3506035 0.554621849,46.7263294 L0.554621849,45.2775423 C0.554621849,43.9112065 1.85294118,42.8393396 3.42857143,42.7922245 L4.52521008,42.7568883 L3.69327731,42.7568883 L3.69327731,41.9559328 C3.69327731,41.2020923 4.63865546,40.6131545 5.79831933,40.589597 L6.30252101,40.5778182 L6.30252101,39.7886415 C6.30252101,39.034801 6.95798319,38.4458632 7.76470588,38.4223057 L9.64285714,38.3516331 L10.2857143,28.5988222 L10.197479,28.5988222 C9.85714286,28.5988222 9.56722689,28.3396896 9.56722689,28.0098844 L9.56722689,28.0098844 C9.56722689,27.6918579 9.85714286,27.4327253 10.197479,27.4327253 C9.85714286,27.4327253 9.56722689,27.1618139 9.56722689,26.8437874 L9.56722689,26.8437874 C9.56722689,26.5139822 9.85714286,26.2548496 10.197479,26.2548496 L8.14285714,26.2548496 C5.11764706,26.2548496 2.65966387,23.9462132 2.65966387,21.1310902 L2.65966387,12.3205799 C2.3697479,12.5914913 1.9789916,12.7681727 1.55042017,12.7681727 C0.693277311,12.7681727 0,12.1203411 0,11.3193856 C0,10.5184301 0.693277311,9.87059845 1.55042017,9.87059845 C1.9789916,9.87059845 2.3697479,10.035501 2.65966387,10.3064125 L2.65966387,9.02252794 L6.95798319,9.02252794 L6.95798319,2.67377786 C6.95798319,1.20143322 8.24369748,-7.10542736e-15 9.81932773,-7.10542736e-15 L14.3445378,-7.10542736e-15 C15.9201681,-7.10542736e-15 17.2058824,1.20143322 17.2058824,2.67377786 L17.2058824,9.01074918 L21.5168067,9.01074918 L21.5168067,10.1768461 C21.7689076,9.98838602 22.0966387,9.88237721 22.4495798,9.88237721 L22.4495798,9.88237721 Z M18.0378151,11.7316421 L18.0378151,14.3700837 L17.2058824,14.3700837 L17.2058824,19.6351881 C17.2058824,21.1075327 15.9201681,22.3089659 14.3445378,22.3089659 L9.81932773,22.3089659 C8.24369748,22.3089659 6.95798319,21.1075327 6.95798319,19.6351881 L6.95798319,14.3700837 L6.20168067,14.3700837 L6.20168067,11.7787571 L5.59663866,11.7787571 L5.59663866,20.0121083 C5.59663866,21.9556032 7.29831933,23.5457354 9.36554622,23.5457354 L14.7983193,23.5457354 C16.8781513,23.5457354 18.5672269,21.9556032 18.5672269,20.0121083 L18.5672269,11.7316421 L18.0378151,11.7316421 L18.0378151,11.7316421 Z' })
2299 );
2300});
2301
2302/* eslint max-len: 0 */
2303var image = (function (props) {
2304 return React.createElement(
2305 IconBase$2,
2306 _extends({ viewBox: '0 0 20 16' }, props),
2307 React.createElement('path', {
2308 d: 'M12.083,4.667 C12.083,3.562 12.978,2.667 14.083,2.667 C15.188,2.667 16.083,3.562 16.083,4.667 C16.083,5.772 15.188,6.667 14.083,6.667 C12.978,6.667 12.083,5.772 12.083,4.667 L12.083,4.667 Z M18,12.086 L13.987,8.074 L13.971,8.089 L13.955,8.074 L12.525,9.504 L7.896,4.876 L7.881,4.892 L7.865,4.876 L2,10.741 L2,2 L18,2 L18,12.086 Z M0,16 L20,16 L20,0 L0,0 L0,16 Z'
2309 })
2310 );
2311});
2312
2313/* eslint max-len: 0 */
2314var gallery = (function (props) {
2315 return React.createElement(
2316 IconBase$2,
2317 _extends({ viewBox: '0 0 20 20' }, props),
2318 React.createElement('path', { d: 'M2 16h12V6H2v10zm-2 4h16V4H0v16zM20 0v16h-2V2H4V0h16z' })
2319 );
2320});
2321
2322/* eslint max-len: 0 */
2323var video = (function (props) {
2324 return React.createElement(
2325 IconBase$2,
2326 _extends({ viewBox: '0 0 20 20' }, props),
2327 React.createElement('path', { d: 'M0 20V0h20v20H0zm2-2h16V2H2v16zm5-5.58V7.873C7 6.89 8.273 6.307 9.078 6.86l3.474 2.275c.706.486.682 1.537-.024 2.023l-3.445 2.274C8.28 13.986 7 13.404 7 12.42z' })
2328 );
2329});
2330
2331/* eslint max-len: 0 */
2332var bin = (function (props) {
2333 return React.createElement(
2334 IconBase$2,
2335 _extends({ viewBox: '0 0 21 20' }, props),
2336 React.createElement('path', {
2337 d: 'M7,16 L9,16 L9,8 L7,8 L7,16 Z M11,16 L13,16 L13,8 L11,8 L11,16 Z M5,18 L15,18 L15,6 L5,6 L5,18 Z M7,4 L13,4 L13,2 L7,2 L7,4 Z M15,4 L15,0 L5,0 L5,4 L0,4 L0,6 L3,6 L3,20 L17,20 L17,6 L20,6 L20,4 L15,4 Z',
2338 fillRule: 'evenodd'
2339 })
2340 );
2341});
2342
2343/* eslint max-len: 0 */
2344var calendar = (function (props) {
2345 return React.createElement(
2346 IconBase$2,
2347 _extends({ viewBox: '0 0 20 20' }, props),
2348 React.createElement('path', {
2349 d: 'M17.971246,8 L1.99680511,8 L1.99680511,4.971 C1.99680511,4.435 2.43111022,4 2.96625399,4 L3.99361022,4 L3.99361022,6 L5.99041534,6 L5.99041534,4 L13.9776358,4 L13.9776358,6 L15.9744409,6 L15.9744409,4 L16.9728435,4 C17.5239617,4 17.971246,4.448 17.971246,5 L17.971246,8 Z M17.971246,17 C17.971246,17.55 17.5219649,18 16.9728435,18 L2.99520767,18 C2.44408946,18 1.99680511,17.552 1.99680511,17 L1.99680511,10 L17.971246,10 L17.971246,17 Z M0.0638977636,17.761 C0.0638977636,18.865 1.02136581,20 2.12360224,20 L18.0980431,20 C19.201278,20 20,18.979 20,17.761 C20,17.372 19.9680511,5.36 19.9680511,4.708 C19.9680511,2.626 19.6875,2 15.9744409,2 L15.9744409,0 L13.9776358,0 L13.9776358,2 L5.99041534,2 L5.99041534,0 L3.99361022,0 L3.99361022,2 L1.99680511,2 C0.8985623,2 0,2.9 0,4 L0.0638977636,17.761 Z',
2350 fillRule: 'evenodd'
2351 })
2352 );
2353});
2354
2355/* eslint max-len: 0 */
2356var cloudUp = (function (props) {
2357 return React.createElement(
2358 IconBase$2,
2359 _extends({ viewBox: '0 0 20 20' }, props),
2360 React.createElement('path', {
2361 d: 'M10.007 6.005L6.302 9.71l1.413 1.414 1.292-1.292V20h2V9.832l1.29 1.292 1.414-1.413-3.703-3.705zm8.274 6.7c-1.754 1.51-3.492 1.297-5.276 1.297v-2c1.856 0 2.72.137 3.725-.55 2.415-1.652 1.155-5.544-1.827-5.437-1.332-6.604-11.72-4.37-9.656 2.43-2.628-2.09-5.712 3.558-.13 3.558h1.892v2H4.21c-3.334 0-5.388-3.56-3.48-6.28.913-1.3 2.344-1.62 2.344-1.62C3.736.99 9.57-1.708 13.89 1.184c1.854 1.242 2.558 3.058 2.558 3.058 3.71 1.127 4.83 5.884 1.833 8.462z'
2362 })
2363 );
2364});
2365
2366/* eslint max-len: 0 */
2367var globe = (function (props) {
2368 return React.createElement(
2369 IconBase$2,
2370 _extends({ viewBox: '0 0 20 20' }, props),
2371 React.createElement('path', {
2372 d: 'M12.3 17.7c1.3-2 2-4.4 2.2-6.7H18c-.5 3.2-2.7 5.8-5.7 6.7m-2.3-.2c-1.4-2-2.3-4.2-2.5-6.5h5c-.2 2.3-1 4.6-2.5 6.5M2 11h3.5c.2 2.3 1 4.6 2.2 6.7-3-1-5.2-3.5-5.6-6.7m5.3-8.5c-1 2-1.7 4.2-1.8 6.5H2c.4-3 2.5-5.5 5.3-6.5M10 2c1.6 2 2.4 4.5 2.5 7h-5c0-2.5 1-5 2.5-7m8 7h-3.5c0-2.3-.7-4.5-1.8-6.5 2.8 1 5 3.5 5.2 6.5m-7-9C5-.5 0 4.2 0 10c0 5.4 4.3 9.8 9.7 10 5.7.2 10.3-4.4 10.3-10 0-5.2-4-9.5-9-10'
2373 })
2374 );
2375});
2376
2377/* eslint max-len: 0 */
2378var magnifyingGlass = (function (props) {
2379 return React.createElement(
2380 IconBase$2,
2381 _extends({ viewBox: '0 0 20 20' }, props),
2382 React.createElement('path', { d: 'M20 18.586L18.586 20l-5.657-5.657 1.413-1.414L20 18.585zM7 12c-2.757 0-5-2.243-5-5s2.243-5 5-5 5 2.243 5 5-2.243 5-5 5zM7 0C3.134 0 0 3.134 0 7s3.134 7 7 7 7-3.134 7-7-3.134-7-7-7z' })
2383 );
2384});
2385
2386/* eslint max-len: 0 */
2387var script = (function (props) {
2388 return React.createElement(
2389 IconBase$2,
2390 _extends({ viewBox: '0 0 20 20' }, props),
2391 React.createElement('path', { d: 'M7 13h6v-2H7v2zm0-3h6V4H7v6zm9-6V2c1.103 0 2 .898 2 2h-2zm-2 12c0 1.103-.897 2-2 2v-4H6V4c0-1.102.897-2 2-2h6v14zm-4 2H4c-1.103 0-2-.897-2-2h8v2zm6-18H8C5.79 0 4 1.79 4 4v10H0v2c0 2.21 1.79 4 4 4h8c2.21 0 4-1.79 4-4V6h4V4c0-2.21-1.79-4-4-4z' })
2392 );
2393});
2394
2395/* eslint max-len: 0 */
2396var note = (function (props) {
2397 return React.createElement(
2398 IconBase$2,
2399 _extends({ viewBox: '0 0 20 20' }, props),
2400 React.createElement('path', { d: 'M18 18.01H2V2.097h8V.106H0V20h20v-9.947h-2v7.958zM6 9.95L15.84 0 20 4.115 9.842 14.032H6V9.95z' })
2401 );
2402});
2403
2404/* eslint max-len: 0 */
2405var bookmark = (function (props) {
2406 return React.createElement(
2407 IconBase$2,
2408 _extends({ viewBox: '0 0 20 48' }, props),
2409 React.createElement('path', { d: 'M20 0v48L10 38 0 48V0' })
2410 );
2411});
2412
2413/* eslint max-len: 0 */
2414var handle = (function (props) {
2415 return React.createElement(
2416 IconBase$2,
2417 _extends({ viewBox: '0 0 20 10' }, props),
2418 React.createElement('path', { d: 'M0 10L20 10 20 8 0 8 0 10ZM0 2L20 2 20 0 0 0 0 2ZM0 6L20 6 20 4 0 4 0 6Z' })
2419 );
2420});
2421
2422/* eslint max-len: 0 */
2423var blockStyleDefault = (function (props) {
2424 return React.createElement(
2425 IconBase$2,
2426 _extends({ viewBox: '0 0 16 18' }, props),
2427 React.createElement(
2428 'g',
2429 null,
2430 React.createElement('rect', { transform: 'translate(8.000000, 1.000000) scale(-1, 1) translate(-8.000000, -1.000000) ', x: '0', y: '0', width: '16', height: '2' }),
2431 React.createElement('rect', { transform: 'translate(8.000000, 9.000000) scale(-1, 1) translate(-8.000000, -9.000000) ', x: '0', y: '4', width: '16', height: '10' }),
2432 React.createElement('rect', { transform: 'translate(8.000000, 17.000000) scale(-1, 1) translate(-8.000000, -17.000000) ', x: '0', y: '16', width: '16', height: '2' })
2433 )
2434 );
2435});
2436
2437/* eslint max-len: 0 */
2438var blockStyleBig = (function (props) {
2439 return React.createElement(
2440 IconBase$2,
2441 _extends({ viewBox: '0 0 20 18' }, props),
2442 React.createElement(
2443 'g',
2444 null,
2445 React.createElement('rect', { transform: 'translate(10.000000, 1.000000) scale(-1, 1) translate(-10.000000, -1.000000) ', x: '2', y: '0', width: '16', height: '2' }),
2446 React.createElement('rect', { transform: 'translate(10.000000, 9.000000) scale(-1, 1) translate(-10.000000, -9.000000) ', x: '0', y: '4', width: '20', height: '10' }),
2447 React.createElement('rect', { transform: 'translate(10.000000, 17.000000) scale(-1, 1) translate(-10.000000, -17.000000) ', x: '2', y: '16', width: '16', height: '2' })
2448 )
2449 );
2450});
2451
2452/* eslint max-len: 0 */
2453var link = (function (props) {
2454 return React.createElement(
2455 IconBase$2,
2456 _extends({ viewBox: '0 0 23 22' }, props),
2457 React.createElement('path', {
2458 d: 'M18.2387431,1.76127893 C15.8904007,-0.587092975 12.0827382,-0.587092975 9.73439575,1.76127893 L7.16555163,4.33015523 L8.58277581,5.74739717 L11.1516199,3.17852087 C12.7181839,1.61193731 15.2539527,1.61193731 16.821519,3.17852087 C18.3840738,4.74209755 18.3840738,7.28491424 16.821519,8.84849092 L14.2526748,11.4173672 L15.669899,12.8346092 L18.2387431,10.2657329 C20.5870856,7.91736096 20.5870856,4.10965083 18.2387431,1.76127893 L18.2387431,1.76127893 Z M8.84838006,16.8207274 C8.09165852,17.5784607 7.08436693,17.9954145 6.01393169,17.9954145 C4.94349645,17.9954145 3.93620487,17.5784607 3.17948332,16.8207274 C1.61592623,15.258153 1.61592623,12.714334 3.17948332,11.1517597 L5.74832744,8.58288335 L4.33010098,7.16463911 L1.76125686,9.73351542 C-0.58708562,12.0818873 -0.58708562,15.8895975 1.76125686,18.2389716 C2.93592924,19.4126565 4.47442933,20 6.01393169,20 C7.55343406,20 9.09193415,19.4126565 10.2666065,18.2389716 L12.8354507,15.6700953 L11.4172242,14.2518511 L8.84838006,16.8207274 Z M12.2631487,6.31970633 L13.6803728,7.73694827 L7.72181713,13.6955786 L6.30459295,12.2783367 L12.2631487,6.31970633 Z'
2459 })
2460 );
2461});
2462
2463/* eslint max-len: 0 */
2464var bold = (function (props) {
2465 return React.createElement(
2466 IconBase$2,
2467 _extends({ viewBox: '0 0 12 14' }, props),
2468 React.createElement('path', {
2469 d: 'M0.16,13.84 C0.0533328,13.7333328 0,13.6066674 0,13.46 L0,0.54 C0,0.3933326 0.0533328,0.2666672 0.16,0.16 C0.2666672,0.0533328 0.3933326,0 0.54,0 L6.44,0 C7.4933386,0 8.3566633,0.2066646 9.03,0.62 C9.7033367,1.0333354 10.1899985,1.539997 10.49,2.14 C10.7900015,2.740003 10.94,3.339997 10.94,3.94 C10.94,4.6333368 10.7866682,5.2099977 10.48,5.67 C10.1733318,6.1300023 9.8666682,6.459999 9.56,6.66 C10.0400024,6.9800016 10.4366651,7.4033307 10.75,7.93 C11.0633349,8.4566693 11.22,9.0799964 11.22,9.8 C11.22,10.4933368 11.0500017,11.1633301 10.71,11.81 C10.3699983,12.4566699 9.8733366,12.9833313 9.22,13.39 C8.5666634,13.7966687 7.7933378,14 6.9,14 L0.54,14 C0.3933326,14 0.2666672,13.9466672 0.16,13.84 Z M2.7,2.5 L2.7,5.58 L6.24,5.58 C6.9200034,5.58 7.4233317,5.4533346 7.75,5.2 C8.0766683,4.9466654 8.24,4.5600026 8.24,4.04 C8.24,3.5199974 8.0766683,3.1333346 7.75,2.88 C7.4233317,2.6266654 6.9200034,2.5 6.24,2.5 L2.7,2.5 Z M6.4,11.5 C7.1066702,11.5 7.6366649,11.3466682 7.99,11.04 C8.3433351,10.7333318 8.52,10.3200026 8.52,9.8 C8.52,9.2799974 8.3366685,8.8633349 7.97,8.55 C7.6033315,8.2366651 7.0800034,8.08 6.4,8.08 L2.7,8.08 L2.7,11.5 L6.4,11.5 Z'
2470 })
2471 );
2472});
2473
2474/* eslint max-len: 0 */
2475var italic = (function (props) {
2476 return React.createElement(
2477 IconBase$2,
2478 _extends({ viewBox: '0 0 5 15' }, props),
2479 React.createElement('path', {
2480 d: 'M4.33941187,2.06 C4.21274457,2.1666672 4.07607927,2.22 3.92941187,2.22 L2.78941187,2.22 C2.64274447,2.22 2.52607897,2.1666672 2.43941187,2.06 C2.35274477,1.9533328 2.32941167,1.8266674 2.36941187,1.68 L2.60941187,0.54 C2.63607867,0.3933326 2.71274457,0.2666672 2.83941187,0.16 C2.96607917,0.0533328 3.10274447,0 3.24941187,0 L4.38941187,0 C4.53607927,0 4.65274477,0.0533328 4.73941187,0.16 C4.82607897,0.2666672 4.85607867,0.3933326 4.82941187,0.54 L4.58941187,1.68 C4.54941167,1.8266674 4.46607917,1.9533328 4.33941187,2.06 Z M1.59941187,14.04 C1.47274457,14.1466672 1.33607927,14.2 1.18941187,14.2 L0.449411875,14.2 C0.302744475,14.2 0.186078975,14.1466672 0.0994118748,14.04 C0.0127447748,13.9333328 -0.0172549252,13.8066674 0.00941187478,13.66 L1.98941187,4.34 C2.01607867,4.1933326 2.09607787,4.0666672 2.22941187,3.96 C2.36274587,3.8533328 2.50274447,3.8 2.64941187,3.8 L3.38941187,3.8 C3.53607927,3.8 3.64941147,3.8533328 3.72941187,3.96 C3.80941227,4.0666672 3.83607867,4.1933326 3.80941187,4.34 L1.82941187,13.66 C1.80274507,13.8066674 1.72607917,13.9333328 1.59941187,14.04 Z'
2481 })
2482 );
2483});
2484
2485/* eslint max-len: 0 */
2486var selection = (function (props) {
2487 return React.createElement(
2488 IconBase$2,
2489 _extends({ viewBox: '0 0 20 20' }, props),
2490 React.createElement('path', {
2491 d: 'M3,14 C2.448,14 2,13.552 2,13 L2,7 C2,6.448 2.448,6 3,6 C3.552,6 4,5.552 4,5 C4,4.448 3.552,4 3,4 L2,4 C0.895,4 0,4.895 0,6 L0,14 C0,15.105 0.895,16 2,16 L3,16 C3.552,16 4,15.552 4,15 C4,14.448 3.552,14 3,14 M18,4 L11,4 C10.448,4 10,4.448 10,5 C10,5.552 10.448,6 11,6 L17,6 C17.552,6 18,6.448 18,7 L18,13 C18,13.552 17.552,14 17,14 L11,14 C10.448,14 10,14.448 10,15 C10,15.552 10.448,16 11,16 L18,16 C19.105,16 20,15.105 20,14 L20,6 C20,4.895 19.105,4 18,4 M10,19 C10,19.552 9.552,20 9,20 L5,20 C4.448,20 4,19.552 4,19 C4,18.448 4.448,18 5,18 L6,18 L6,2 L5,2 C4.448,2 4,1.552 4,1 C4,0.448 4.448,0 5,0 L9,0 C9.552,0 10,0.448 10,1 C10,1.552 9.552,2 9,2 L8,2 L8,18 L9,18 C9.552,18 10,18.448 10,19'
2492 })
2493 );
2494});
2495
2496/* eslint max-len: 0 */
2497var underline = (function (props) {
2498 return React.createElement(
2499 IconBase$2,
2500 _extends({ viewBox: '0 0 10 14' }, props),
2501 React.createElement('path', {
2502 d: 'M0.56,0.76 C0.6666672,0.6533328 0.7933326,0.6 0.94,0.6 L1.68,0.6 C1.8266674,0.6 1.9533328,0.6533328 2.06,0.76 C2.1666672,0.8666672 2.22,0.9933326 2.22,1.14 L2.22,6.42 C2.22,7.4333384 2.4499977,8.1966641 2.91,8.71 C3.3700023,9.2233359 4.0399956,9.48 4.92,9.48 C5.7733376,9.48 6.4366643,9.2200026 6.91,8.7 C7.3833357,8.1799974 7.62,7.420005 7.62,6.42 L7.62,1.14 C7.62,0.9933326 7.6733328,0.8666672 7.78,0.76 C7.8866672,0.6533328 8.0133326,0.6 8.16,0.6 L8.9,0.6 C9.0466674,0.6 9.1733328,0.6533328 9.28,0.76 C9.3866672,0.8666672 9.44,0.9933326 9.44,1.14 L9.44,10.46 C9.44,10.6066674 9.3866672,10.7333328 9.28,10.84 C9.1733328,10.9466672 9.0466674,11 8.9,11 L8.16,11 C8.0133326,11 7.8866672,10.9466672 7.78,10.84 C7.6733328,10.7333328 7.62,10.6066674 7.62,10.46 L7.62,9.84 C6.9266632,10.7466712 5.9266732,11.2 4.62,11.2 C3.3399936,11.2 2.3166705,10.800004 1.55,10 C0.7833295,9.199996 0.4,8.1066736 0.4,6.72 L0.4,1.14 C0.4,0.9933326 0.4533328,0.8666672 0.56,0.76 Z'
2503 }),
2504 React.createElement('rect', { x: '0', y: '13', width: '10', height: '1' })
2505 );
2506});
2507
2508/* eslint max-len: 0 */
2509var unorderedList = (function (props) {
2510 return React.createElement(
2511 IconBase$2,
2512 _extends({ viewBox: '0 0 20 10' }, props),
2513 React.createElement('path', {
2514 d: 'M1,8 C0.448,8 0,8.448 0,9 C0,9.552 0.448,10 1,10 C1.552,10 2,9.552 2,9 C2,8.448 1.552,8 1,8 L1,8 Z M1,0.006 C0.448,0.006 0,0.454 0,1.006 C0,1.559 0.448,2.006 1,2.006 C1.552,2.006 2,1.559 2,1.006 C2,0.454 1.552,0.006 1,0.006 L1,0.006 Z M1,4 C0.448,4 0,4.448 0,5 C0,5.552 0.448,6 1,6 C1.552,6 2,5.552 2,5 C2,4.448 1.552,4 1,4 L1,4 Z M4,10 L20,10 L20,8 L4,8 L4,10 Z M4,2 L20,2 L20,0 L4,0 L4,2 Z M4,6 L20,6 L20,4 L4,4 L4,6 Z'
2515 })
2516 );
2517});
2518
2519/* eslint max-len: 0 */
2520var quote = (function (props) {
2521 return React.createElement(
2522 IconBase$2,
2523 _extends({ viewBox: '0 0 20 13' }, props),
2524 React.createElement('path', {
2525 d: 'M6.32324219,0 L6.32324219,1.00097656 C4.89094336,1.74967822 3.86556299,2.53092041 3.24707031,3.34472656 C2.62857764,4.15853271 2.31933594,5.04556812 2.31933594,6.00585938 C2.31933594,6.57552368 2.40071533,6.96614478 2.56347656,7.17773438 C2.70996167,7.4056001 2.88899634,7.51953125 3.10058594,7.51953125 C3.31217554,7.51953125 3.59700342,7.4584967 3.95507813,7.33642578 C4.31315283,7.21435486 4.63867041,7.15332031 4.93164062,7.15332031 C5.59896167,7.15332031 6.18082434,7.40152747 6.67724609,7.89794922 C7.17366785,8.39437097 7.421875,9.00064746 7.421875,9.71679688 C7.421875,10.4980508 7.12077124,11.1694308 6.51855469,11.730957 C5.91633813,12.2924833 5.16764771,12.5732422 4.27246094,12.5732422 C3.18196069,12.5732422 2.19727002,12.1012417 1.31835938,11.1572266 C0.43944873,10.2132114 0,9.04948608 0,7.66601562 C0,6.03840332 0.541172974,4.52067761 1.62353516,3.11279297 C2.70589734,1.70490833 4.27245068,0.667321045 6.32324219,0 Z M17.96875,0.0732421875 L17.96875,1.00097656 C16.3248616,1.9449917 15.2425156,2.7913374 14.7216797,3.54003906 C14.2008437,4.28874072 13.9404297,5.16763818 13.9404297,6.17675781 C13.9404297,6.63248926 14.029947,6.97428271 14.2089844,7.20214844 C14.3880217,7.43001416 14.5751943,7.54394531 14.7705078,7.54394531 C14.9495452,7.54394531 15.2180972,7.4788418 15.5761719,7.34863281 C15.9342466,7.21842383 16.2923159,7.15332031 16.6503906,7.15332031 C17.3177117,7.15332031 17.8995743,7.39338953 18.3959961,7.87353516 C18.8924178,8.35368079 19.140625,8.9436814 19.140625,9.64355469 C19.140625,10.4410847 18.8273143,11.1328096 18.2006836,11.71875 C17.5740529,12.3046904 16.8050176,12.5976562 15.8935547,12.5976562 C14.8193306,12.5976562 13.8509158,12.1337937 12.9882812,11.2060547 C12.1256467,10.2783157 11.6943359,9.12272827 11.6943359,7.73925781 C11.6943359,6.03026489 12.2395779,4.47184949 13.3300781,3.06396484 C14.4205784,1.6560802 15.9667869,0.659182617 17.96875,0.0732421875 Z'
2526 })
2527 );
2528});
2529
2530/* eslint max-len: 0 */
2531var h2 = (function (props) {
2532 return React.createElement(
2533 IconBase$2,
2534 _extends({ viewBox: '0 0 23 15' }, props),
2535 React.createElement('path', {
2536 d: 'M10.68,0.36 C10.7866672,0.4666672 10.84,0.5933326 10.84,0.74 L10.84,13.66 C10.84,13.8066674 10.7866672,13.9333328 10.68,14.04 C10.5733328,14.1466672 10.4466674,14.2 10.3,14.2 L9.48,14.2 C9.3333326,14.2 9.2066672,14.1466672 9.1,14.04 C8.9933328,13.9333328 8.94,13.8066674 8.94,13.66 L8.94,8.02 L1.9,8.02 L1.9,13.66 C1.9,13.8066674 1.8466672,13.9333328 1.74,14.04 C1.6333328,14.1466672 1.5066674,14.2 1.36,14.2 L0.54,14.2 C0.3933326,14.2 0.2666672,14.1500005 0.16,14.05 C0.0533328,13.9499995 0,13.8200008 0,13.66 L0,0.74 C0,0.5933326 0.0533328,0.4666672 0.16,0.36 C0.2666672,0.2533328 0.3933326,0.2 0.54,0.2 L1.36,0.2 C1.5066674,0.2 1.6333328,0.2533328 1.74,0.36 C1.8466672,0.4666672 1.9,0.5933326 1.9,0.74 L1.9,6.22 L8.94,6.22 L8.94,0.74 C8.94,0.5933326 8.9933328,0.4666672 9.1,0.36 C9.2066672,0.2533328 9.3333326,0.2 9.48,0.2 L10.3,0.2 C10.4466674,0.2 10.5733328,0.2533328 10.68,0.36 Z M20.115,5.7 C20.3016676,5.3266648 20.395,4.8533362 20.395,4.28 C20.395,3.5333296 20.1816688,2.9333356 19.755,2.48 C19.3283312,2.0266644 18.681671,1.8 17.815,1.8 C16.9616624,1.8 16.3216688,2.0233311 15.895,2.47 C15.4683312,2.9166689 15.1616676,3.5199962 14.975,4.28 C14.9349998,4.4266674 14.8683338,4.5399996 14.775,4.62 C14.6816662,4.7000004 14.5750006,4.74 14.455,4.74 L13.535,4.74 C13.4149994,4.74 13.3116671,4.6966671 13.225,4.61 C13.1383329,4.5233329 13.095,4.4200006 13.095,4.3 C13.1216668,3.6199966 13.3249981,2.94667 13.705,2.28 C14.0850019,1.61333 14.6283298,1.0666688 15.335,0.64 C16.0416702,0.2133312 16.8683286,0 17.815,0 C18.7616714,0 19.5716633,0.1899981 20.245,0.57 C20.9183367,0.9500019 21.4283316,1.4633301 21.775,2.11 C22.1216684,2.7566699 22.295,3.479996 22.295,4.28 C22.295,5.1200042 22.1516681,5.8366637 21.865,6.43 C21.5783319,7.0233363 21.0883368,7.6266636 20.395,8.24 L15.935,12.4 L22.055,12.4 C22.2016674,12.4 22.3283328,12.4533328 22.435,12.56 C22.5416672,12.6666672 22.595,12.7933326 22.595,12.94 L22.595,13.66 C22.595,13.8066674 22.5416672,13.9333328 22.435,14.04 C22.3283328,14.1466672 22.2016674,14.2 22.055,14.2 L13.435,14.2 C13.2883326,14.2 13.1616672,14.1466672 13.055,14.04 C12.9483328,13.9333328 12.895,13.8066674 12.895,13.66 L12.895,12.94 C12.895,12.7933326 12.9249997,12.6700005 12.985,12.57 C13.0450003,12.4699995 13.1616658,12.3400008 13.335,12.18 L19.195,6.84 C19.6216688,6.4533314 19.9283324,6.0733352 20.115,5.7 Z'
2537 })
2538 );
2539});
2540
2541/* eslint max-len: 0 */
2542var h3 = (function (props) {
2543 return React.createElement(
2544 IconBase$2,
2545 _extends({ viewBox: '0 0 24 15' }, props),
2546 React.createElement('path', {
2547 d: 'M0.88,13.87 C0.7999996,13.7833329 0.76,13.673334 0.76,13.54 L0.76,0.48 C0.76,0.3333326 0.7999996,0.2166671 0.88,0.13 C0.9600004,0.0433329 1.066666,0 1.2,0 L2.16,0 C2.3066674,0 2.4233329,0.0433329 2.51,0.13 C2.5966671,0.2166671 2.64,0.3333326 2.64,0.48 L2.64,6.04 L9.6,6.04 L9.6,0.48 C9.6,0.3333326 9.6433329,0.2166671 9.73,0.13 C9.8166671,0.0433329 9.926666,0 10.06,0 L11.02,0 C11.1666674,0 11.2833329,0.0433329 11.37,0.13 C11.4566671,0.2166671 11.5,0.3333326 11.5,0.48 L11.5,13.54 C11.5,13.673334 11.4533338,13.7833329 11.36,13.87 C11.2666662,13.9566671 11.153334,14 11.02,14 L10.06,14 C9.926666,14 9.8166671,13.9566671 9.73,13.87 C9.6433329,13.7833329 9.6,13.673334 9.6,13.54 L9.6,7.78 L2.64,7.78 L2.64,13.54 C2.64,13.673334 2.5933338,13.7833329 2.5,13.87 C2.4066662,13.9566671 2.293334,14 2.16,14 L1.2,14 C1.066666,14 0.9600004,13.9566671 0.88,13.87 Z M15.835,13.69 C15.0749962,13.3499983 14.4983353,12.9066694 14.105,12.36 C13.7116647,11.8133306 13.5016668,11.2466696 13.475,10.66 C13.475,10.5399994 13.5149996,10.4433337 13.595,10.37 C13.6750004,10.2966663 13.7749994,10.26 13.895,10.26 L14.795,10.26 C14.9416674,10.26 15.0616662,10.2899997 15.155,10.35 C15.2483338,10.4100003 15.3216664,10.5266658 15.375,10.7 C15.5483342,11.3800034 15.9249971,11.8599986 16.505,12.14 C17.0850029,12.4200014 17.7683294,12.56 18.555,12.56 C19.5150048,12.56 20.2783305,12.3300023 20.845,11.87 C21.4116695,11.4099977 21.695,10.7533376 21.695,9.9 C21.695,8.2733252 20.7016766,7.46 18.715,7.46 L16.835,7.46 C16.701666,7.46 16.5916671,7.4166671 16.505,7.33 C16.4183329,7.2433329 16.375,7.133334 16.375,7 L16.375,6.48 C16.375,6.279999 16.4483326,6.1066674 16.595,5.96 L20.495,1.64 L14.575,1.64 C14.441666,1.64 14.3316671,1.6000004 14.245,1.52 C14.1583329,1.4399996 14.115,1.333334 14.115,1.2 L14.115,0.48 C14.115,0.3333326 14.1583329,0.2166671 14.245,0.13 C14.3316671,0.0433329 14.441666,0 14.575,0 L22.495,0 C22.6416674,0 22.7583329,0.0433329 22.845,0.13 C22.9316671,0.2166671 22.975,0.3333326 22.975,0.48 L22.975,1.14 C22.975,1.2866674 22.908334,1.4399992 22.775,1.6 L18.875,5.98 L19.195,5.98 C20.5550068,6.0200002 21.6316627,6.37333 22.425,7.04 C23.2183373,7.70667 23.615,8.6799936 23.615,9.96 C23.615,10.8400044 23.3983355,11.5966635 22.965,12.23 C22.5316645,12.8633365 21.9283372,13.3499983 21.155,13.69 C20.3816628,14.0300017 19.5083382,14.2 18.535,14.2 C17.4949948,14.2 16.5950038,14.0300017 15.835,13.69 Z'
2548 })
2549 );
2550});
2551
2552/* eslint max-len: 0 */
2553var voteTo = (function (props) {
2554 return React.createElement(
2555 IconBase$2,
2556 _extends({ viewBox: '0 0 46 30' }, props),
2557 React.createElement(
2558 'g',
2559 null,
2560 React.createElement('rect', { fill: '#D8D8D8', x: '4', y: '0', width: '42', height: '30', rx: '2' }),
2561 React.createElement('path', {
2562 d: 'M14.8031339,11.6780479 L16.2274627,13.1620064 C16.5320996,13.4814279 16.3041263,13.9981098 15.8612932,13.9981098 L0.834220902,13.9981098 C0.277401146,13.9981098 0,14.4477032 0,15.0004326 L0,14.9924221 C0,15.5451515 0.277401146,16.0007528 0.834220902,16.0007528 L15.8461622,16.0007528 C16.2910128,16.0007528 16.5179773,16.5404651 16.2093055,16.857884 L14.7930466,18.3178108 C14.4097286,18.7163367 14.4268771,19.3521759 14.8333958,19.7286728 L14.8354133,19.7326781 C15.2368884,20.1051697 15.8663368,20.0861446 16.2446111,19.6896213 L19.4493509,16.3472101 C20.1867336,15.5721872 20.1826987,14.3605882 19.4422898,13.5895707 L16.2657945,10.3072388 C15.8885289,9.91472073 15.2641242,9.89569562 14.8636578,10.2651833 L14.8535705,10.2751965 C14.4480604,10.6486894 14.4258683,11.2775193 14.8031339,11.6780479',
2563 fill: '#000000'
2564 })
2565 )
2566 );
2567});
2568
2569/* eslint max-len: 0 */
2570var voteFrom = (function (props) {
2571 return React.createElement(
2572 IconBase$2,
2573 _extends({ viewBox: '0 0 48 30' }, props),
2574 React.createElement(
2575 'g',
2576 null,
2577 React.createElement('rect', { fill: '#D8D8D8', x: '0', y: '0', width: '42', height: '30', rx: '2' }),
2578 React.createElement('path', {
2579 d: 'M42.8031339,11.6780479 L44.2274627,13.1620064 C44.5320996,13.4814279 44.3041263,13.9981098 43.8612932,13.9981098 L28.8342209,13.9981098 C28.2774011,13.9981098 28,14.4477032 28,15.0004326 L28,14.9924221 C28,15.5451515 28.2774011,16.0007528 28.8342209,16.0007528 L43.8461622,16.0007528 C44.2910128,16.0007528 44.5179773,16.5404651 44.2093055,16.857884 L42.7930466,18.3178108 C42.4097286,18.7163367 42.4268771,19.3521759 42.8333958,19.7286728 L42.8354133,19.7326781 C43.2368884,20.1051697 43.8663368,20.0861446 44.2446111,19.6896213 L47.4493509,16.3472101 C48.1867336,15.5721872 48.1826987,14.3605882 47.4422898,13.5895707 L44.2657945,10.3072388 C43.8885289,9.91472073 43.2641242,9.89569562 42.8636578,10.2651833 L42.8535705,10.2751965 C42.4480604,10.6486894 42.4258683,11.2775193 42.8031339,11.6780479',
2580 fill: '#000000'
2581 })
2582 )
2583 );
2584});
2585
2586
2587
2588var index$1 = Object.freeze({
2589 Youtube: Youtube,
2590 Facebook: Facebook,
2591 Instagram: instagram,
2592 Snapchat: snapchat,
2593 Twitter: Twitter,
2594 Whatsapp: Whatsapp,
2595 GooglePlus: GooglePlus,
2596 Mail: mail,
2597 VKontakte: vkontakte,
2598 ArrowRight: arrowRight,
2599 ArrowLeft: arrowLeft,
2600 ArrowUp: arrowUp,
2601 ArrowDown: arrowDown,
2602 ArrowCornerRight: arrowCornerRight,
2603 ChevronRight: chevronRight,
2604 ChevronLeft: chevronLeft,
2605 ChevronUp: chevronUp,
2606 ChevronDown: ChevronDown,
2607 SmallArrowUp: smallArrowUp,
2608 SmallArrowDown: smallArrowDown,
2609 ToggleLeft: toggleLeft,
2610 ToggleCenter: toggleCenter,
2611 ToggleRight: toggleRight,
2612 Heart: heart,
2613 List: list,
2614 Plus: plus,
2615 Close: CloseIcon,
2616 Trophy: trophy,
2617 Image: image,
2618 Gallery: gallery,
2619 Video: video,
2620 Bin: bin,
2621 Calendar: calendar,
2622 CloudUp: cloudUp,
2623 Globe: globe,
2624 MagnifyingGlass: magnifyingGlass,
2625 Script: script,
2626 Note: note,
2627 Bookmark: bookmark,
2628 Handle: handle,
2629 BlockStyleDefault: blockStyleDefault,
2630 BlockStyleBig: blockStyleBig,
2631 Link: link,
2632 Bold: bold,
2633 Italic: italic,
2634 Selection: selection,
2635 Underline: underline,
2636 UnorderedList: unorderedList,
2637 Quote: quote,
2638 H2: h2,
2639 H3: h3,
2640 VoteTo: voteTo,
2641 VoteFrom: voteFrom
2642});
2643
2644var Base = styled.span.withConfig({
2645 displayName: 'base',
2646 componentId: 'hhid2v-0'
2647})([['{display:block;font-family:', function (props) {
2648 return props.theme.font.base;
2649}, ';font-weight:300;color:', function (props) {
2650 return props.theme.colors.black;
2651}, ';background:', function (props) {
2652 return props.theme.colors.blank;
2653}, ';padding:0.9em 1.25em 1em 1.25em;border:1px solid transparent;border-radius:3px;box-shadow:0px 2px 0px 0px rgba(0,0,0,0.16);margin:1em 0;}']]);
2654
2655var info = styled(Base).withConfig({
2656 displayName: 'info',
2657 componentId: 's6dftfj-0'
2658})([['{color:', function (props) {
2659 return props.theme.color.black;
2660}, ';background:', function (props) {
2661 return props.theme.color.info;
2662}, ';}']]);
2663
2664var blank = styled(Base).withConfig({
2665 displayName: 'blank',
2666 componentId: 's150i7yz-0'
2667})([['{background:', function (props) {
2668 return props.theme.colors.blank;
2669}, ';color:', function (props) {
2670 return props.theme.colors.black;
2671}, ';border-color:', function (props) {
2672 return props.theme.colors.light;
2673}, ';}']]);
2674
2675var warning = styled(Base).withConfig({
2676 displayName: 'warning',
2677 componentId: 's1chrh0i-0'
2678})([['{background:', function (props) {
2679 return props.theme.colors.warning;
2680}, ';color:', function (props) {
2681 return props.theme.colors.blank;
2682}, ';}']]);
2683
2684var success = styled(Base).withConfig({
2685 displayName: 'success',
2686 componentId: 's1653sbt-0'
2687})([['{background:', function (props) {
2688 return props.theme.colors.success;
2689}, ';color:', function (props) {
2690 return props.theme.colors.blank;
2691}, ';}']]);
2692
2693
2694
2695var index$2 = Object.freeze({
2696 Info: info,
2697 Blank: blank,
2698 Warning: warning,
2699 Success: success
2700});
2701
2702var theme = {
2703 font: {
2704 header: 'Montserrat, sans-serif',
2705 body: 'Rubik, sans-serif'
2706 },
2707
2708 color: {
2709 black: '#4A4A4A',
2710 white: '#FFFFFF',
2711 blue: {
2712 pale: '#EFF1F9',
2713 dim: '#C9CFE5',
2714 medium: '#6073C5',
2715 dark: '#414F8D'
2716 },
2717 grey: {
2718 pale: '#F0F1F2',
2719 dim: '#E8EAEC',
2720 regular: '#9B9B9B'
2721 },
2722 red: '#E34C4C',
2723 yellow: '#F7B422',
2724 green: '#56BD5B',
2725
2726 // Purpose
2727 info: '#d1ecf1'
2728 },
2729
2730 fontSize: [0, 14, 16, 18, 24, 30],
2731
2732 spacing: [0, 5, 10, 15, 20, 25, 30, 35, 40, 50, 100],
2733
2734 breakpoint: {
2735 extraSmall: 320,
2736 small: 576,
2737 medium: 768,
2738 large: 992,
2739 extraLarge: 1200
2740 },
2741
2742 grid: {
2743 container: {
2744 extraSmall: 320,
2745 small: 576,
2746 medium: 768,
2747 large: 992,
2748 extraLarge: 1600
2749 },
2750 gutter: {
2751 extraSmall: 24,
2752 small: 24,
2753 medium: 24,
2754 large: 24,
2755 extraLarge: 24
2756 },
2757 offset: {
2758 extraSmall: 54,
2759 small: 54,
2760 medium: 54,
2761 large: 54,
2762 extraLarge: 54
2763 }
2764 }
2765};
2766
2767var media = Object.keys(theme.breakpoint).reduce(function (acc, label) {
2768 acc[label] = function () {
2769 return css([['@media (min-width:', theme.breakpoint[label] / 16, 'em){'], ['{', css.apply(undefined, arguments), ';}}']]);
2770 };
2771
2772 return acc;
2773}, {});
2774
2775//
2776
2777// @private
2778//
2779
2780/**
2781 * Check if a string ends with something
2782 * @private
2783 */
2784var endsWith = function (string, suffix) {
2785 return string.substr(-suffix.length) === suffix;
2786};
2787
2788//
2789
2790/**
2791 * Strip the unit from a given CSS value, returning just the number. (or the original value if an invalid string was passed)
2792 *
2793 * @example
2794 * // Styles as object usage
2795 * const styles = {
2796 * '--dimension': stripUnit('100px')
2797 * }
2798 *
2799 * // styled-components usage
2800 * const div = styled.div`
2801 * --dimension: ${stripUnit('100px')}
2802 * `
2803 *
2804 * // CSS in JS Output
2805 *
2806 * element {
2807 * '--dimension': 100
2808 * }
2809 */
2810
2811function stripUnit(value) {
2812 var unitlessValue = parseFloat(value);
2813 if (isNaN(unitlessValue)) return value;
2814 return unitlessValue;
2815}
2816
2817//
2818
2819/**
2820 * Factory function that creates pixel-to-x converters
2821 * @private
2822 */
2823var pxtoFactory$1 = function pxtoFactory$1(to) {
2824 return function (pxval) {
2825 var base = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '16px';
2826
2827 var newPxval = pxval;
2828 var newBase = base;
2829 if (typeof pxval === 'string') {
2830 if (!endsWith(pxval, 'px')) {
2831 throw new Error('Expected a string ending in "px" or a number passed as the first argument to ' + to + '(), got "' + pxval + '" instead.');
2832 }
2833 newPxval = stripUnit(pxval);
2834 }
2835
2836 if (typeof base === 'string') {
2837 if (!endsWith(base, 'px')) {
2838 throw new Error('Expected a string ending in "px" or a number passed as the second argument to ' + to + '(), got "' + base + '" instead.');
2839 }
2840 newBase = stripUnit(base);
2841 }
2842
2843 if (typeof newPxval === 'string') {
2844 throw new Error('Passed invalid pixel value ("' + pxval + '") to ' + to + '(), please pass a value like "12px" or 12.');
2845 }
2846
2847 if (typeof newBase === 'string') {
2848 throw new Error('Passed invalid base value ("' + base + '") to ' + to + '(), please pass a value like "12px" or 12.');
2849 }
2850
2851 return '' + newPxval / newBase + to;
2852 };
2853};
2854
2855//
2856/**
2857 * Convert pixel value to ems. The default base value is 16px, but can be changed by passing a
2858 * second argument to the function.
2859 * @function
2860 * @param {string|number} pxval
2861 * @param {string|number} [base='16px']
2862 * @example
2863 * // Styles as object usage
2864 * const styles = {
2865 * 'height': em('16px')
2866 * }
2867 *
2868 * // styled-components usage
2869 * const div = styled.div`
2870 * height: ${em('16px')}
2871 * `
2872 *
2873 * // CSS in JS Output
2874 *
2875 * element {
2876 * 'height': '1em'
2877 * }
2878 */
2879
2880// Don’t inline this variable into export because Rollup will remove the /*#__PURE__*/ comment
2881var em = /* #__PURE__*/pxtoFactory$1('em'); // eslint-disable-line spaced-comment
2882
2883//
2884
2885/**
2886 * Convert pixel value to rems. The default base value is 16px, but can be changed by passing a
2887 * second argument to the function.
2888 * @function
2889 * @param {string|number} pxval
2890 * @param {string|number} [base='16px']
2891 * @example
2892 * // Styles as object usage
2893 * const styles = {
2894 * 'height': rem('16px')
2895 * }
2896 *
2897 * // styled-components usage
2898 * const div = styled.div`
2899 * height: ${rem('16px')}
2900 * `
2901 *
2902 * // CSS in JS Output
2903 *
2904 * element {
2905 * 'height': '1rem'
2906 * }
2907 */
2908
2909// Don’t inline this variable into export because Rollup will remove the /*#__PURE__*/ comment
2910var rem = /*#__PURE__*/pxtoFactory$1('rem'); // eslint-disable-line spaced-comment
2911
2912var defineProperty$1 = function (obj, key, value) {
2913 if (key in obj) {
2914 Object.defineProperty(obj, key, {
2915 value: value,
2916 enumerable: true,
2917 configurable: true,
2918 writable: true
2919 });
2920 } else {
2921 obj[key] = value;
2922 }
2923
2924 return obj;
2925};
2926
2927var taggedTemplateLiteral$1 = function (strings, raw) {
2928 return Object.freeze(Object.defineProperties(strings, {
2929 raw: {
2930 value: Object.freeze(raw)
2931 }
2932 }));
2933};
2934
2935var _opinionatedRules;
2936var _unopinionatedRules;
2937
2938//
2939var opinionatedRules = (_opinionatedRules = {
2940 html: {
2941 fontFamily: 'sans-serif'
2942 },
2943
2944 body: {
2945 margin: '0'
2946 }
2947
2948}, defineProperty$1(_opinionatedRules, 'a:active,\n a:hover', {
2949 outlineWidth: '0'
2950}), defineProperty$1(_opinionatedRules, 'button,\n input,\n optgroup,\n select,\n textarea', {
2951 fontFamily: 'sans-serif',
2952 fontSize: '100%',
2953 lineHeight: '1.15'
2954}), _opinionatedRules);
2955
2956var unopinionatedRules = (_unopinionatedRules = {
2957 html: {
2958 lineHeight: '1.15',
2959 textSizeAdjust: '100%'
2960 }
2961
2962}, defineProperty$1(_unopinionatedRules, 'article,\n aside,\n footer,\n header,\n nav,\n section', {
2963 display: 'block'
2964}), defineProperty$1(_unopinionatedRules, 'h1', {
2965 fontSize: '2em',
2966 margin: '0.67em 0'
2967}), defineProperty$1(_unopinionatedRules, 'figcaption,\n figure,\n main', {
2968 display: 'block'
2969}), defineProperty$1(_unopinionatedRules, 'figure', {
2970 margin: '1em 40px'
2971}), defineProperty$1(_unopinionatedRules, 'hr', {
2972 boxSizing: 'content-box',
2973 height: '0',
2974 overflow: 'visible'
2975}), defineProperty$1(_unopinionatedRules, 'pre', {
2976 fontFamily: 'monospace, monospace',
2977 fontSize: '1em'
2978}), defineProperty$1(_unopinionatedRules, 'a', {
2979 'background-color': 'transparent',
2980 '-webkit-text-decoration-skip': 'objects'
2981}), defineProperty$1(_unopinionatedRules, 'abbr[title]', defineProperty$1({
2982 borderBottom: 'none',
2983 textDecoration: 'underline'
2984}, 'textDecoration', 'underline dotted')), defineProperty$1(_unopinionatedRules, 'b,\n strong', {
2985 fontWeight: 'inherit'
2986}), defineProperty$1(_unopinionatedRules, 'code,\n kbd,\n samp', {
2987 fontFamily: 'monospace, monospace',
2988 fontSize: '1em'
2989}), defineProperty$1(_unopinionatedRules, 'dfn', {
2990 fontStyle: 'italic'
2991}), defineProperty$1(_unopinionatedRules, 'mark', {
2992 backgroundColor: '#ff0',
2993 color: '#000'
2994}), defineProperty$1(_unopinionatedRules, 'small', {
2995 fontSize: '80%'
2996}), defineProperty$1(_unopinionatedRules, 'sub,\n sup', {
2997 fontSize: '75%',
2998 lineHeight: '0',
2999 position: 'relative',
3000 verticalAlign: 'baseline'
3001}), defineProperty$1(_unopinionatedRules, 'sub', {
3002 bottom: '-0.25em'
3003}), defineProperty$1(_unopinionatedRules, 'sup', {
3004 top: '-0.5em'
3005}), defineProperty$1(_unopinionatedRules, 'audio,\n video', {
3006 display: 'inline-block'
3007}), defineProperty$1(_unopinionatedRules, 'audio:not([controls])', {
3008 display: 'none',
3009 height: '0'
3010}), defineProperty$1(_unopinionatedRules, 'img', {
3011 borderStyle: 'none'
3012}), defineProperty$1(_unopinionatedRules, 'svg:not(:root)', {
3013 overflow: 'hidden'
3014}), defineProperty$1(_unopinionatedRules, 'button,\n input,\n optgroup,\n select,\n textarea', {
3015 margin: '0'
3016}), defineProperty$1(_unopinionatedRules, 'button,\n input', {
3017 overflow: 'visible'
3018}), defineProperty$1(_unopinionatedRules, 'button,\n select', {
3019 textTransform: 'none'
3020}), defineProperty$1(_unopinionatedRules, 'button,\n html [type="button"],\n [type="reset"],\n [type="submit"]', {
3021 '-webkit-appearance': 'button'
3022}), defineProperty$1(_unopinionatedRules, 'button::-moz-focus-inner,\n [type="button"]::-moz-focus-inner,\n [type="reset"]::-moz-focus-inner,\n [type="submit"]::-moz-focus-inner', {
3023 borderStyle: 'none',
3024 padding: '0'
3025}), defineProperty$1(_unopinionatedRules, 'button:-moz-focusring,\n [type="button"]:-moz-focusring,\n [type="reset"]:-moz-focusring,\n [type="submit"]:-moz-focusring', {
3026 outline: '1px dotted ButtonText'
3027}), defineProperty$1(_unopinionatedRules, 'fieldset', {
3028 border: '1px solid #c0c0c0',
3029 margin: '0 2px',
3030 padding: '0.35em 0.625em 0.75em'
3031}), defineProperty$1(_unopinionatedRules, 'legend', {
3032 boxSizing: 'border-box',
3033 color: 'inherit',
3034 display: 'table',
3035 maxWidth: '100%',
3036 padding: '0',
3037 whiteSpace: 'normal'
3038}), defineProperty$1(_unopinionatedRules, 'progress', {
3039 display: 'inline-block',
3040 verticalAlign: 'baseline'
3041}), defineProperty$1(_unopinionatedRules, 'textarea', {
3042 overflow: 'auto'
3043}), defineProperty$1(_unopinionatedRules, '[type="checkbox"],\n [type="radio"]', {
3044 boxSizing: 'border-box',
3045 padding: '0'
3046}), defineProperty$1(_unopinionatedRules, '[type="number"]::-webkit-inner-spin-button,\n [type="number"]::-webkit-outer-spin-button', {
3047 height: 'auto'
3048}), defineProperty$1(_unopinionatedRules, '[type="search"]', {
3049 '-webkit-appearance': 'textfield',
3050 outlineOffset: '-2px'
3051}), defineProperty$1(_unopinionatedRules, '[type="search"]::-webkit-search-cancel-button,\n [type="search"]::-webkit-search-decoration', {
3052 '-webkit-appearance': 'none'
3053}), defineProperty$1(_unopinionatedRules, '::-webkit-file-upload-button', {
3054 '-webkit-appearance': 'button',
3055 font: 'inherit'
3056}), defineProperty$1(_unopinionatedRules, 'details,\n menu', {
3057 display: 'block'
3058}), defineProperty$1(_unopinionatedRules, 'summary', {
3059 display: 'list-item'
3060}), defineProperty$1(_unopinionatedRules, 'canvas', {
3061 display: 'inline-block'
3062}), defineProperty$1(_unopinionatedRules, 'template', {
3063 display: 'none'
3064}), defineProperty$1(_unopinionatedRules, '[hidden]', {
3065 display: 'none'
3066}), _unopinionatedRules);
3067
3068var _templateObject = taggedTemplateLiteral$1(['radial-gradient(', '', '', '', ')'], ['radial-gradient(', '', '', '', ')']);
3069
3070/**
3071 * Return a media query for a certain breakpoint.
3072 *
3073 * @param {number} breakpoint
3074 */
3075var mq = function mq(breakpoint) {
3076 return '@media screen and (min-width: ' + em(breakpoint) + ')';
3077};
3078
3079/**
3080 * Return a factory to create a CSS declaration for a property.
3081 *
3082 * @param {string} property
3083 */
3084
3085
3086/**
3087 * Merge two objects together.
3088 *
3089 * @param {object} a
3090 * @param {object} b
3091 * @return {object}
3092 */
3093var merge = function merge(a, b) {
3094 return _extends({}, a, b);
3095};
3096
3097/**
3098 * Create a method for adding a declaration for a breakpoint.
3099 *
3100 * @param {array} breakpoints
3101 */
3102var media$1 = function media(breakpoints) {
3103 return function (declaration, i) {
3104 return defineProperty({}, mq(breakpoints[i]), declaration);
3105 };
3106};
3107
3108/**
3109 * Grab a value from the scale by it's index.
3110 *
3111 * @param {array} scale
3112 */
3113var scale = function scale(_scale) {
3114 return function (value) {
3115 return value ? _scale[value] : null;
3116 };
3117};
3118
3119var expression = /^[m][trblxy]?$/;
3120
3121var directions = {
3122 t: ['Top'],
3123 r: ['Right'],
3124 b: ['Bottom'],
3125 l: ['Left'],
3126 x: ['Left', 'Right'],
3127 y: ['Top', 'Bottom']
3128};
3129
3130/**
3131 * Get the CSS property of the key.
3132 *
3133 * @param {string} key
3134 */
3135var getProperties = function getProperties(key) {
3136 var dirs = directions[key[1]] || [''];
3137 return dirs.map(function (direction) {
3138 return 'margin' + direction;
3139 });
3140};
3141
3142var margin = (function () {
3143 return function (props) {
3144 var _props$theme = props.theme,
3145 spacing = _props$theme.spacing,
3146 breakpoint = _props$theme.breakpoint;
3147
3148 var keys = Object.keys(props).filter(function (key) {
3149 return expression.test(key);
3150 });
3151
3152 return keys.map(function (key) {
3153 var value = props[key];
3154 var properties = getProperties(key);
3155
3156 if (Array.isArray(value)) {
3157 return value.map(scale(spacing)).map(function (size$$1) {
3158 return rem(size$$1);
3159 }).map(function (size$$1) {
3160 return properties.map(function (property) {
3161 return defineProperty({}, property, size$$1);
3162 }).reduce(merge, {});
3163 }).map(media$1(Object.values(breakpoint))).reduce(function (a, b) {
3164 return _extends({}, a, b);
3165 });
3166 }
3167
3168 return properties.map(function (property) {
3169 return defineProperty({}, property, rem(spacing[parseInt(value, 0)]));
3170 }).reduce(merge, {});
3171 }).reduce(merge, {});
3172 };
3173});
3174
3175var expression$1 = /^[p][trblxy]?$/;
3176
3177var directions$1 = {
3178 t: ['Top'],
3179 r: ['Right'],
3180 b: ['Bottom'],
3181 l: ['Left'],
3182 x: ['Left', 'Right'],
3183 y: ['Top', 'Bottom']
3184};
3185
3186/**
3187 * Get the CSS property of the key.
3188 *
3189 * @param {string} key
3190 */
3191var getProperties$1 = function getProperties(key) {
3192 var dirs = directions$1[key[1]] || [''];
3193 return dirs.map(function (direction) {
3194 return 'padding' + direction;
3195 });
3196};
3197
3198var padding$1 = (function () {
3199 return function (props) {
3200 var _props$theme = props.theme,
3201 spacing = _props$theme.spacing,
3202 breakpoint = _props$theme.breakpoint;
3203
3204 var keys = Object.keys(props).filter(function (key) {
3205 return expression$1.test(key);
3206 });
3207
3208 return keys.map(function (key) {
3209 var value = props[key];
3210 var properties = getProperties$1(key);
3211
3212 if (Array.isArray(value)) {
3213 return value.map(scale(spacing)).map(function (size$$1) {
3214 return rem(size$$1);
3215 }).map(function (size$$1) {
3216 return properties.map(function (property) {
3217 return defineProperty({}, property, size$$1);
3218 }).reduce(merge, {});
3219 }).map(media$1(Object.values(breakpoint))).reduce(function (a, b) {
3220 return _extends({}, a, b);
3221 });
3222 }
3223
3224 return properties.map(function (property) {
3225 return defineProperty({}, property, rem(spacing[parseInt(value, 0)]));
3226 }).reduce(merge, {});
3227 }).reduce(merge, {});
3228 };
3229});
3230
3231var fontSize = (function (fallback) {
3232 return function (props) {
3233 var value = props.fontSize || fallback || 1;
3234 var _props$theme = props.theme,
3235 fontSize = _props$theme.fontSize,
3236 breakpoint = _props$theme.breakpoint;
3237
3238
3239 if (Array.isArray(value)) {
3240 return value.map(scale(fontSize)).map(function (size$$1) {
3241 return rem(size$$1);
3242 }).map(function (size$$1) {
3243 return { fontSize: size$$1 };
3244 }).map(media$1(Object.values(breakpoint))).reduce(merge, {});
3245 }
3246
3247 return { fontSize: rem(fontSize[value]) };
3248 };
3249});
3250
3251var style = css([['{height:2.5rem;display:inline-block;padding:', function (props) {
3252 return props.square ? '0' : '0 1.5em';
3253}, ';width:', function (props) {
3254 return props.square ? '2.5rem' : 'auto';
3255}, ';border:0;border-radius:3px;border:1px solid transparent;box-shadow:0px 2px 0px 0px rgba(0,0,0,0.16);cursor:pointer;-webkit-transition:background 0.2s ease-in,color 0.2s ease-in;transition:background 0.2s ease-in,color 0.2s ease-in;font-family:', function (props) {
3256 return props.theme.font.header;
3257}, ';}']]);
3258
3259var StyledButton = styled.button.withConfig({
3260 displayName: 'base__StyledButton',
3261 componentId: 'ne2f7p-0'
3262})([['{', style, ';}']]);
3263
3264var Inner = styled.span.withConfig({
3265 displayName: 'base__Inner',
3266 componentId: 'ne2f7p-1'
3267})([['{', fontSize(1), ';width:100%;height:100%;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-pack:', function (props) {
3268 return props.justify;
3269}, ';-webkit-justify-content:', function (props) {
3270 return props.justify;
3271}, ';-ms-flex-pack:', function (props) {
3272 return props.justify;
3273}, ';justify-content:', function (props) {
3274 return props.justify;
3275}, ';-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}'], [' > span ~ .icon{margin-left:1em;}'], [' > .icon ~ span{margin-left:1em;}']]);
3276
3277/**
3278 * Button component.
3279 *
3280 * @param {Object} props
3281 * @return {ReactElement}
3282 */
3283var BaseButton = function BaseButton(_ref) {
3284 var children = _ref.children,
3285 justify = _ref.justify,
3286 square = _ref.square,
3287 other = objectWithoutProperties(_ref, ['children', 'justify', 'square']);
3288 return React.createElement(
3289 StyledButton,
3290 _extends({ square: square }, other),
3291 React.createElement(
3292 Inner,
3293 { justify: justify },
3294 React.Children.map(children, function (Child) {
3295 return React.isValidElement(Child) ? cloneElement(Child, { height: Child.props.height || '24' }) : React.createElement(
3296 'span',
3297 null,
3298 Child
3299 );
3300 })
3301 )
3302 );
3303};
3304
3305BaseButton.defaultProps = {
3306 justify: 'space-between'
3307};
3308
3309BaseButton.propTypes = {
3310 square: PropTypes.bool,
3311 justify: PropTypes.string,
3312 children: PropTypes.node.isRequired
3313};
3314
3315var link$1 = styled.span.withConfig({
3316 displayName: 'link',
3317 componentId: 's1850vqz-0'
3318})([['{position:relative;display:inline-block;color:', function (props) {
3319 return props.theme.color.black;
3320}, ';font-family:', function (props) {
3321 return props.theme.font.base;
3322}, ';', fontSize(1), ';}'], [' a{width:100%;height:100%;height:2.5rem;border-radius:3px;padding:0 1.5rem;position:relative;line-height:2.5rem;display:inline-block;}'], [' a:focus,'], [' a:active{outline:0;background:', function (props) {
3323 return props.theme.color.grey.pale;
3324}, ';}']]);
3325
3326var dark = styled(BaseButton).withConfig({
3327 displayName: 'dark',
3328 componentId: 's3gs2yy-0'
3329})([['{background:', function (props) {
3330 return props.theme.colors.dark;
3331}, ';color:', function (props) {
3332 return props.theme.colors.blank;
3333}, ';}']]);
3334
3335var blank$1 = styled(BaseButton).withConfig({
3336 displayName: 'blank',
3337 componentId: 's18g875l-0'
3338})([['{color:', function (props) {
3339 return props.theme.color.black;
3340}, ';background:', function (props) {
3341 return props.theme.color.white;
3342}, ';border-color:', function (props) {
3343 return props.theme.color.grey.dim;
3344}, ';}']]);
3345
3346var circle = styled.button.withConfig({
3347 displayName: 'circle',
3348 componentId: 's1i37xu3-0'
3349})([['{', fontSize(1), ';border-radius:50%;position:relative;padding:0;width:2em;height:2em;border:0;outline:0;}']]);
3350
3351var primary = styled(BaseButton).withConfig({
3352 displayName: 'primary',
3353 componentId: 'nh4am0-0'
3354})([['{background:', function (props) {
3355 return props.theme.colors.primary;
3356}, ';color:', function (props) {
3357 return props.theme.colors.blank;
3358}, ';}']]);
3359
3360var secondary = styled(BaseButton).withConfig({
3361 displayName: 'secondary',
3362 componentId: 'k9bp6i-0'
3363})([['{background:', function (props) {
3364 return props.theme.colors.secondary;
3365}, ';color:', function (props) {
3366 return props.theme.colors.black;
3367}, ';}']]);
3368
3369var warning$1 = styled(BaseButton).withConfig({
3370 displayName: 'warning',
3371 componentId: 'gbzaw7-0'
3372})([['{background:', function (props) {
3373 return props.theme.colors.warning;
3374}, ';color:', function (props) {
3375 return props.theme.colors.blank;
3376}, ';}']]);
3377
3378var success$1 = styled(BaseButton).withConfig({
3379 displayName: 'success',
3380 componentId: 's17y7hd2-0'
3381})([['{background:', function (props) {
3382 return props.theme.colors.success;
3383}, ';color:', function (props) {
3384 return props.theme.colors.blank;
3385}, ';}']]);
3386
3387/* eslint react/jsx-indent: 0 */
3388var Button = styled(BaseButton).withConfig({
3389 displayName: 'twitter__Button',
3390 componentId: 's3dd3xw-0'
3391})([['{background:#03BBF0;color:', function (props) {
3392 return props.theme.colors.blank;
3393}, ';}']]);
3394
3395var TwitterButton = function TwitterButton(_ref) {
3396 var children = _ref.children,
3397 other = objectWithoutProperties(_ref, ['children']);
3398 return children ? React.createElement(
3399 Button,
3400 other,
3401 React.createElement(Twitter, null),
3402 children
3403 ) : React.createElement(
3404 Button,
3405 other,
3406 React.createElement(Twitter, null)
3407 );
3408};
3409
3410TwitterButton.propTypes = {
3411 children: PropTypes.node
3412};
3413
3414/* eslint react/jsx-indent: 0 */
3415var Button$1 = styled(BaseButton).withConfig({
3416 displayName: 'youtube__Button',
3417 componentId: 'qdlog4-0'
3418})([['{background:#FF001B;color:', function (props) {
3419 return props.theme.colors.blank;
3420}, ';}']]);
3421
3422var YoutubeButton = function YoutubeButton(_ref) {
3423 var children = _ref.children,
3424 other = objectWithoutProperties(_ref, ['children']);
3425 return children ? React.createElement(
3426 Button$1,
3427 other,
3428 React.createElement(Youtube, null),
3429 children
3430 ) : React.createElement(
3431 Button$1,
3432 other,
3433 React.createElement(Youtube, null)
3434 );
3435};
3436
3437YoutubeButton.propTypes = {
3438 children: PropTypes.node
3439};
3440
3441/* eslint react/jsx-indent: 0 */
3442var Button$2 = styled(BaseButton).withConfig({
3443 displayName: 'facebook__Button',
3444 componentId: 's1nnyis6-0'
3445})([['{background:#39579A;color:', function (props) {
3446 return props.theme.colors.blank;
3447}, ';}']]);
3448
3449var FacebookButton = function FacebookButton(_ref) {
3450 var children = _ref.children,
3451 other = objectWithoutProperties(_ref, ['children']);
3452 return children ? React.createElement(
3453 Button$2,
3454 other,
3455 React.createElement(Facebook, null),
3456 children
3457 ) : React.createElement(
3458 Button$2,
3459 other,
3460 React.createElement(Facebook, null)
3461 );
3462};
3463
3464FacebookButton.propTypes = {
3465 children: PropTypes.node
3466};
3467
3468/* eslint react/jsx-indent: 0 */
3469var Button$3 = styled(BaseButton).withConfig({
3470 displayName: 'whatsapp__Button',
3471 componentId: 's1802v0n-0'
3472})([['{background:#67C15E;color:', function (props) {
3473 return props.theme.colors.blank;
3474}, ';}']]);
3475
3476var WhatsappButton = function WhatsappButton(_ref) {
3477 var children = _ref.children,
3478 other = objectWithoutProperties(_ref, ['children']);
3479 return children ? React.createElement(
3480 Button$3,
3481 other,
3482 React.createElement(Whatsapp, null),
3483 children
3484 ) : React.createElement(
3485 Button$3,
3486 other,
3487 React.createElement(Whatsapp, null)
3488 );
3489};
3490
3491WhatsappButton.propTypes = {
3492 children: PropTypes.node
3493};
3494
3495/* eslint react/jsx-indent: 0 */
3496var Button$4 = styled(BaseButton).withConfig({
3497 displayName: 'google-plus__Button',
3498 componentId: 'ab4h4c-0'
3499})([['{background:#F93F2D;color:', function (props) {
3500 return props.theme.colors.blank;
3501}, ';}']]);
3502
3503var GooglePlusButton = function GooglePlusButton(_ref) {
3504 var children = _ref.children,
3505 other = objectWithoutProperties(_ref, ['children']);
3506 return children ? React.createElement(
3507 Button$4,
3508 other,
3509 React.createElement(GooglePlus, null),
3510 children
3511 ) : React.createElement(
3512 Button$4,
3513 other,
3514 React.createElement(GooglePlus, null)
3515 );
3516};
3517
3518GooglePlusButton.propTypes = {
3519 children: PropTypes.node
3520};
3521
3522
3523
3524var index$3 = Object.freeze({
3525 Link: link$1,
3526 Dark: dark,
3527 Blank: blank$1,
3528 Circle: circle,
3529 Primary: primary,
3530 Secondary: secondary,
3531 Warning: warning$1,
3532 Success: success$1,
3533 Twitter: TwitterButton,
3534 Youtube: YoutubeButton,
3535 Facebook: FacebookButton,
3536 Whatsapp: WhatsappButton,
3537 Googleplus: GooglePlusButton
3538});
3539
3540var StyledTag = styled.span.withConfig({
3541 displayName: 'tag__StyledTag',
3542 componentId: 's10lm7t9-0'
3543})([['{', fontSize(1), ';font-family:', function (props) {
3544 return props.theme.font.base;
3545}, ';font-weight:300;text-decoration:none;background:', function (props) {
3546 return props.theme.color.black;
3547}, ';color:', function (props) {
3548 return props.theme.color.white;
3549}, ';padding:0 1rem;cursor:pointer;-webkit-transition:all 0.2s ease-in;transition:all 0.2s ease-in;border-radius:3px;box-shadow:0px 2px 0px 0px rgba(0,0,0,0.2);display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:2.5rem;}']]);
3550
3551var Tag = function Tag(_ref) {
3552 var children = _ref.children,
3553 other = objectWithoutProperties(_ref, ['children']);
3554 return React.createElement(
3555 StyledTag,
3556 other,
3557 React.createElement(
3558 'span',
3559 null,
3560 children
3561 )
3562 );
3563};
3564
3565Tag.propTypes = {
3566 children: PropTypes.string.isRequired
3567};
3568
3569var Text = styled.span.withConfig({
3570 displayName: 'text__Text',
3571 componentId: 's1jz2etq-0'
3572})([['{', fontSize(1), ';font-weight:300;font-family:', function (props) {
3573 return props.theme.font.base;
3574}, ';}']]);
3575
3576/* eslint max-len: 0 */
3577var Logo = function Logo(props) {
3578 return React.createElement(
3579 'svg',
3580 _extends({ viewBox: '0 0 129 40' }, props),
3581 React.createElement('path', { d: 'M109.019911,24.1162217 C107.301303,24.0309719 106.320629,22.0418098 106.446854,20.014759 C106.650757,16.4437395 109.709295,12.8443035 109.709295,12.8443035 C110.427809,13.4789409 112.573641,16.9268217 112.457125,19.5600934 C112.34061,22.1365318 110.738518,24.1919993 109.019911,24.1162217 L109.019911,24.1162217 Z M111.068646,11.6602784 C111.806579,10.8172526 112.311481,10.3341704 112.194965,9.74689399 C112.078449,9.16908978 110.058843,8.76178518 109.165555,9.57639439 C106.592499,7.58723235 107.136239,10.0405322 107.437238,10.4667812 C104.291313,12.6169707 102.17461,18.2908186 103.883508,22.7143361 C105.505019,26.9199929 110.622002,27.535686 113.233897,24.5329985 C115.573922,21.8428936 115.156407,16.8889329 111.068646,11.6602784 L111.068646,11.6602784 Z' }),
3582 React.createElement('path', { d: 'M22.2448001,38.5044938 L23.1089586,37.4814961 C23.7109567,37.9740506 24.3420837,38.277161 25.1091458,38.277161 C25.7111439,38.277161 26.0704008,38.040356 26.0704008,37.661468 L26.0704008,37.6425236 C26.0704008,37.2825799 25.8373693,37.0931359 24.7207599,36.8184421 C23.3808287,36.4774429 22.5069605,36.1174993 22.5069605,34.8198079 L22.5069605,34.8008635 C22.5069605,33.6168385 23.4876348,32.8401181 24.8469853,32.8401181 C25.8276596,32.8401181 26.6529796,33.1337563 27.3326548,33.6641995 L26.5655927,34.7440303 C25.9733043,34.3461979 25.3907255,34.1093929 24.827566,34.1093929 C24.2644065,34.1093929 23.9731171,34.3556701 23.9731171,34.6777249 L23.9731171,34.6966693 C23.9731171,35.1229183 24.2546969,35.2650013 25.4101448,35.5491673 C26.7694953,35.8901665 27.5268477,36.3637765 27.5268477,37.5004405 L27.5268477,37.5193849 C27.5268477,38.8170764 26.5170445,39.5464358 25.0800168,39.5464358 C24.0702136,39.5464358 23.0409911,39.1959644 22.2448001,38.5044938 L22.2448001,38.5044938 Z' }),
3583 React.createElement('path', { d: 'M34.5372125,36.2122213 L34.5372125,36.1932769 C34.5372125,35.0755573 33.7021829,34.1472817 32.517606,34.1472817 C31.3330292,34.1472817 30.5077092,35.0566129 30.5077092,36.1743325 L30.5077092,36.1932769 C30.5077092,37.3109965 31.3524485,38.2392722 32.5370253,38.2392722 C33.7216022,38.2392722 34.5372125,37.3299409 34.5372125,36.2122213 L34.5372125,36.2122213 Z M28.9735851,36.2122213 L28.9735851,36.1932769 C28.9735851,34.3367257 30.4688706,32.8211737 32.5370253,32.8211737 C34.5954704,32.8211737 36.0713366,34.3177813 36.0713366,36.1743325 L36.0713366,36.1932769 C36.0713366,38.040356 34.5760511,39.5653802 32.517606,39.5653802 C30.4494513,39.5653802 28.9735851,38.0593004 28.9735851,36.2122213 L28.9735851,36.2122213 Z' }),
3584 React.createElement('polygon', { points: '37.7608151 32.9348401 39.1201656 32.9348401 42.2466718 36.9415807 42.2466718 32.9348401 43.7031188 32.9348401 43.7031188 39.4517138 42.4505744 39.4517138 39.2172621 35.3028901 39.2172621 39.4517138 37.7608151 39.4517138' }),
3585 React.createElement('path', { d: 'M45.5770805,36.2122213 L45.5770805,36.1932769 C45.5770805,34.3367257 47.0529468,32.8211737 49.0725533,32.8211737 C50.2765494,32.8211737 51.0047729,33.1337563 51.7038675,33.7115605 L50.7717414,34.8008635 C50.2571301,34.3840867 49.8007768,34.1472817 49.024005,34.1472817 C47.9559439,34.1472817 47.1112047,35.0660851 47.1112047,36.1743325 L47.1112047,36.1932769 C47.1112047,37.3867741 47.9462343,38.2582166 49.1308111,38.2582166 C49.6648417,38.2582166 50.1406144,38.1256058 50.5192906,37.8698564 L50.5192906,36.9321085 L49.0337147,36.9321085 L49.0337147,35.7007225 L51.936899,35.7007225 L51.936899,38.5329104 C51.2475141,39.0917702 50.3056784,39.5653802 49.0822629,39.5653802 C47.0043986,39.5653802 45.5770805,38.135078 45.5770805,36.2122213 L45.5770805,36.2122213 Z' }),
3586 React.createElement('path', { d: 'M57.0635923,36.2122213 L57.0635923,36.1932769 C57.0635923,34.3367257 58.50062,32.8211737 60.5493554,32.8211737 C61.8116094,32.8211737 62.5592522,33.2284783 63.1806696,33.8252269 L62.2485435,34.8766411 C61.7339323,34.4219755 61.2096114,34.1472817 60.5396457,34.1472817 C59.4133268,34.1472817 58.6074261,35.0566129 58.6074261,36.1743325 L58.6074261,36.1932769 C58.6074261,37.3109965 59.3939075,38.2392722 60.5396457,38.2392722 C61.3067078,38.2392722 61.7727709,37.945634 62.2970918,37.4720239 L63.2292178,38.4002996 C62.5398329,39.1107146 61.7824805,39.5653802 60.4910975,39.5653802 C58.5297489,39.5653802 57.0635923,38.0782448 57.0635923,36.2122213 L57.0635923,36.2122213 Z' }),
3587 React.createElement('path', { d: 'M70.0550993,36.2122213 L70.0550993,36.1932769 C70.0550993,35.0755573 69.2200697,34.1472817 68.0354928,34.1472817 C66.850916,34.1472817 66.025596,35.0566129 66.025596,36.1743325 L66.025596,36.1932769 C66.025596,37.3109965 66.8703352,38.2392722 68.0549121,38.2392722 C69.239489,38.2392722 70.0550993,37.3299409 70.0550993,36.2122213 L70.0550993,36.2122213 Z M64.4914719,36.2122213 L64.4914719,36.1932769 C64.4914719,34.3367257 65.9867574,32.8211737 68.0549121,32.8211737 C70.1133572,32.8211737 71.5892234,34.3177813 71.5892234,36.1743325 L71.5892234,36.1932769 C71.5892234,38.040356 70.0939379,39.5653802 68.0354928,39.5653802 C65.9673381,39.5653802 64.4914719,38.0593004 64.4914719,36.2122213 L64.4914719,36.2122213 Z' }),
3588 React.createElement('polygon', { points: '73.2884116 32.9348401 74.6380524 32.9348401 77.7742682 36.9415807 77.7742682 32.9348401 79.2210056 32.9348401 79.2210056 39.4517138 77.9684612 39.4517138 74.7351489 35.3028901 74.7351489 39.4517138 73.2884116 39.4517138' }),
3589 React.createElement('polygon', { points: '82.8135748 34.2514759 80.774549 34.2514759 80.774549 32.9348401 86.3090475 32.9348401 86.3090475 34.2514759 84.2797314 34.2514759 84.2797314 39.4517138 82.8135748 39.4517138' }),
3590 React.createElement('polygon', { points: '88.0082356 32.9348401 93.0475421 32.9348401 93.0475421 34.2041149 89.4743922 34.2041149 89.4743922 35.5302229 92.6203177 35.5302229 92.6203177 36.8089699 89.4743922 36.8089699 89.4743922 38.1729668 93.0960904 38.1729668 93.0960904 39.4517138 88.0082356 39.4517138' }),
3591 React.createElement('path', { d: 'M94.5136988,38.5044938 L95.3778573,37.4814961 C95.9798554,37.9740506 96.6109824,38.277161 97.3780445,38.277161 C97.9800425,38.277161 98.3392995,38.040356 98.3392995,37.661468 L98.3392995,37.6425236 C98.3392995,37.2825799 98.1159776,37.0931359 96.9993682,36.8184421 C95.6497274,36.4774429 94.7855689,36.1174993 94.7855689,34.8198079 L94.7855689,34.8008635 C94.7855689,33.6168385 95.7565335,32.8401181 97.115884,32.8401181 C98.0965583,32.8401181 98.9218783,33.1337563 99.6015535,33.6641995 L98.8344914,34.7440303 C98.242203,34.3461979 97.6596242,34.1093929 97.0964647,34.1093929 C96.5333052,34.1093929 96.2420158,34.3556701 96.2420158,34.6777249 L96.2420158,34.6966693 C96.2420158,35.1229183 96.5235956,35.2650013 97.6790435,35.5491673 C99.038394,35.8901665 99.8054561,36.3637765 99.8054561,37.5004405 L99.8054561,37.5193849 C99.8054561,38.8170764 98.7859432,39.5464358 97.3489155,39.5464358 C96.3391123,39.5464358 95.3195994,39.1959644 94.5136988,38.5044938 L94.5136988,38.5044938 Z' }),
3592 React.createElement('polygon', { points: '103.058188 34.2514759 101.019162 34.2514759 101.019162 32.9348401 106.56337 32.9348401 106.56337 34.2514759 104.524344 34.2514759 104.524344 39.4517138 103.058188 39.4517138' }),
3593 React.createElement('path', { d: 'M12.6322501,2.94585426 C6.70936571,2.52907745 0.16506399,7.42620495 0.417514798,13.6304961 C0.446643738,14.2177725 0.961255001,14.7671601 1.69918813,14.7671601 C2.6118949,14.7671601 5.30146697,14.6629659 5.30146697,14.6629659 C5.30146697,14.6629659 0,18.736012 0,23.5100009 C0,26.0201339 1.94192929,29.0322936 5.98114223,29.0322936 C11.6418661,29.0322936 15.8558527,24.5140541 15.846143,20.6872852 C15.846143,20.393647 15.5063054,19.9863424 14.9528556,20.6399242 C14.0789874,21.672394 9.36980884,26.3895497 4.71888819,26.3895497 C3.1556351,26.3895497 1.80599424,25.5275795 1.80599424,23.7089171 C1.80599424,21.3219226 5.67043354,16.6900167 12.3215414,14.8618821 C13.952762,14.3977443 14.088697,12.1812494 12.0205423,12.0865274 C9.98151657,11.9823332 2.96144217,12.7495815 2.44683091,12.7495815 C1.94192929,12.7495815 1.89338106,12.6359151 2.07786434,12.1812494 C2.31089586,11.5845008 4.89366182,7.17992774 12.6322501,6.35584633 C15.244145,6.15693012 14.9722749,3.11635386 12.6322501,2.94585426 L12.6322501,2.94585426 Z' }),
3594 React.createElement('path', { d: 'M21.011675,10.2962816 C21.011675,8.89439598 18.7396177,7.88087056 17.8754592,10.0026434 C16.2248193,14.0851617 15.7199176,26.4274385 21.2544161,26.4274385 C23.6818277,26.4274385 26.7889146,21.2650894 26.7889146,16.1879901 C26.7889146,12.0107498 25.0314686,9.28275619 24.662502,8.78072958 C24.2838258,8.28817517 23.7789242,8.55339677 23.8468917,9.47220019 C23.9148593,10.4004758 24.1867294,18.925456 21.4486091,22.0228654 C20.3708383,23.1690017 19.5746473,21.9755044 19.4581315,20.8293682 C19.1280035,17.5046259 21.011675,12.4748876 21.011675,10.2962816 L21.011675,10.2962816 Z' }),
3595 React.createElement('path', { d: 'M46.305304,23.5857785 C44.7517606,23.5857785 43.8876021,21.625033 43.8876021,19.5032602 C43.8876021,15.7522689 46.6548513,12.3422768 46.6548513,12.3422768 C47.4122037,13.2894969 49.2376173,15.9606573 49.2376173,18.6602344 C49.2376173,21.3598114 47.8588475,23.5857785 46.305304,23.5857785 L46.305304,23.5857785 Z M47.5481388,11.167724 C47.5481388,11.167724 48.392878,10.0689488 47.8588475,9.40589479 C47.266559,8.66706317 45.3634683,8.43973037 43.5768934,10.3815314 C41.2271589,12.9484977 39.6250672,18.3002908 41.4019326,22.8469469 C43.091411,27.1662701 47.8685571,27.5451582 50.0726469,24.2583047 C52.0339954,21.3219226 51.5193842,16.4247951 47.5481388,11.167724 L47.5481388,11.167724 Z' }),
3596 React.createElement('path', { d: 'M31.9350272,15.5912415 C32.0709623,13.9051899 32.2068973,12.1528328 32.2068973,12.1528328 C32.2068973,12.1528328 36.0713366,11.1866684 37.4015582,11.3192792 C38.5472965,11.4424178 38.7900377,11.9160278 38.1977492,12.8064147 C36.8189794,14.8997709 33.643925,15.6196581 31.9350272,15.5912415 L31.9350272,15.5912415 Z M40.236775,26.7873821 C38.5861351,24.5519429 36.5082707,20.06212 33.3235067,17.3530707 C36.5471093,17.1541545 40.5863223,14.7008547 40.5863223,12.0865274 C40.5863223,10.1447264 38.5181676,8.69547977 35.8383051,8.69547977 C33.1584427,8.69547977 30.2067102,9.63322759 29.0803912,10.2962816 C27.6239442,11.120363 28.7114246,13.0811085 30.0707751,12.5506653 C30.0707751,12.5506653 29.5561639,14.8618821 29.4202288,16.0932681 C28.3230388,15.9606573 28.0997169,16.1595735 28.1676844,16.3869063 C28.2356519,16.6237113 28.7114246,16.8226275 29.2551648,17.4856815 C29.0803912,18.9349282 28.7793921,25.4139131 28.8473597,25.9822451 C28.9153272,26.5411049 29.3231323,26.5789937 29.7697761,26.0485505 C30.2067102,25.5181073 31.1485459,24.2393603 31.5951896,19.399066 C32.1000912,19.8347872 33.4982803,21.6534496 35.1877588,23.7752225 C37.683138,26.8821041 38.4987483,27.1094369 39.5279708,27.4599083 C40.071711,27.6493524 40.6445801,27.3367697 40.236775,26.7873821 L40.236775,26.7873821 Z' }),
3597 React.createElement('path', { d: 'M54.6458903,12.7116927 C54.7138579,6.52634593 58.034557,4.60348929 59.8405512,4.60348929 C62.34564,4.60348929 63.3651529,6.46004053 63.5399265,7.28412195 C63.7049905,8.10820336 64.6565359,8.77125738 64.9575349,7.41673275 C65.2682436,6.06220812 68.2199761,1.92285664 71.8513839,1.92285664 C75.1817926,1.92285664 76.3275309,5.26654331 76.2304344,8.10820336 C75.9585643,15.8564631 65.724597,22.0418098 64.3749561,25.9443563 C63.1806696,23.5857785 54.5585035,20.1663142 54.6458903,12.7116927 L54.6458903,12.7116927 Z M73.0359608,0 C70.0550993,0 66.520788,2.15018944 64.3846658,5.73068111 C63.802087,4.43298969 61.7727709,3.04057626 59.3259399,3.04057626 C57.3645914,3.04057626 51.8106736,5.42757071 51.8106736,13.1758305 C51.8106736,23.1784739 62.180576,25.2339413 64.2778596,28.340823 C64.4235043,28.5492114 64.8895674,28.7102388 65.064341,28.19874 C66.7344002,23.3868623 79.7064879,17.9403472 79.7064879,8.14609216 C79.7064879,2.65221605 76.0265319,0 73.0359608,0 L73.0359608,0 Z' }),
3598 React.createElement('path', { d: 'M81.4833532,9.16908978 C81.57074,12.5317209 78.5316207,17.8929862 78.3374277,21.8050048 C78.2014927,24.6466649 78.7258136,25.8022733 78.9685548,26.1716891 C79.2210056,26.5505771 79.813294,26.5316327 79.949229,25.8875231 C80.4055824,23.7562781 83.5320886,18.1297912 83.9301841,13.6115517 C84.1729253,10.836197 83.2893474,9.13120098 82.2795442,8.80914618 C81.8231908,8.66706317 81.4639339,8.71442417 81.4833532,9.16908978 L81.4833532,9.16908978 Z' }),
3599 React.createElement('path', { d: 'M92.7950913,8.71442417 C88.5519758,8.71442417 85.4837275,10.220504 85.4837275,13.5547185 C85.4837275,15.6007137 87.0469806,17.0215437 89.5326501,17.4193761 C90.9793874,17.6751256 92.3969958,17.7793198 92.9018974,17.9687638 C93.8340235,18.3002908 91.6105145,19.3422328 88.1538803,21.625033 C85.7944362,23.1974183 84.0661191,24.8455811 83.1437027,26.5979381 C82.8232844,27.2041589 83.2505088,27.7819632 83.9204745,27.3367697 C85.2215671,26.4653273 88.0664935,25.0160807 90.8240331,23.5384175 C93.4456376,22.1270596 95.9118878,20.5736188 95.9118878,18.6507622 C95.9118878,16.9078773 94.5719566,16.2448233 93.5427341,16.1311569 C91.7561592,15.9322407 87.8820102,16.0932681 87.8820102,13.9051899 C87.8820102,13.0905807 88.9889099,12.020222 92.5523502,12.020222 C95.3001801,12.020222 95.02831,8.71442417 92.7950913,8.71442417 L92.7950913,8.71442417 Z' }),
3600 React.createElement('path', { d: 'M98.1353969,9.39642259 C99.5238763,12.0012776 97.1547226,19.0296502 97.1547226,21.719755 C97.1547226,24.4098599 97.4654313,25.3570799 98.1936548,26.2285223 C98.5529117,26.6452991 99.0675229,26.3516609 99.1063615,25.9254119 C99.3296834,23.5573619 101.941578,17.1257379 102.106642,14.1325227 C102.320255,10.3341704 100.407454,8.90386818 99.2714255,8.80914618 C98.6500081,8.75231297 97.8246882,8.86597938 98.1353969,9.39642259 L98.1353969,9.39642259 Z' }),
3601 React.createElement('path', { d: 'M99.0869422,5.69279231 C99.0189747,8.16503656 103.252381,8.57234117 103.252381,5.54123711 C103.252381,2.89849326 100.990033,0.710415014 100.53368,0.350471407 C99.8248754,-0.208388404 98.8247818,-0.113666402 99.0675229,0.795664816 C99.6015535,2.69957705 99.1160712,4.8213499 99.0869422,5.69279231 L99.0869422,5.69279231 Z' }),
3602 React.createElement('path', { d: 'M128.147914,26.2001057 C127.594464,22.8658913 128.351817,18.5844568 128.351817,14.5492995 C128.351817,11.4708344 125.730212,9.888977 124.176669,9.888977 C122.147353,9.888977 120.953066,10.7793638 120.953066,10.7793638 C120.972485,10.1920874 121.079291,9.33011719 121.059872,9.04595118 C121.040453,8.71442417 120.642357,8.71442417 120.059779,9.01753458 C116.884724,10.9498634 116.418661,16.4532117 116.418661,20.2894528 C116.418661,24.1351661 117.040079,25.4991629 117.108046,26.0106617 C117.176014,26.5126883 117.797431,26.5789937 118.040172,26.1527447 C119.729651,22.9416689 119.923844,17.0878491 120.506422,13.8388845 C121.302613,12.7779981 124.574764,12.5790819 124.710699,15.1176315 C124.846634,17.7035422 124.584474,24.2298881 127.293465,26.5126883 C127.662432,26.8157987 128.225591,26.6737157 128.147914,26.2001057 L128.147914,26.2001057 Z' })
3603 );
3604};
3605
3606Logo.propTypes = {
3607 fill: PropTypes.string,
3608 width: PropTypes.number
3609};
3610
3611Logo.defaultProps = {
3612 fill: '#FFFFFF'
3613};
3614
3615var Meta = styled.p.withConfig({
3616 displayName: 'meta__Meta',
3617 componentId: 's4zsj9-0'
3618})([['{font-family:', function (props) {
3619 return props.theme.font.base;
3620}, ';font-weight:300;font-size:0.625em;text-transform:uppercase;-webkit-letter-spacing:0.1em;-moz-letter-spacing:0.1em;-ms-letter-spacing:0.1em;letter-spacing:0.1em;}']]);
3621
3622var _templateObject$1 = taggedTemplateLiteral(['\n font-size: ', ';\n '], ['\n font-size: ', ';\n ']);
3623
3624/**
3625 * Get the HTML element for the title, depending on the provided semantic
3626 * level.
3627 *
3628 * @param {Integer} level
3629 * @return {String}
3630 */
3631function getElement(level) {
3632 switch (level) {
3633 case 1:
3634 return 'h1';
3635 case 2:
3636 return 'h2';
3637 case 3:
3638 return 'h3';
3639 case 4:
3640 return 'h4';
3641 default:
3642 return 'h1';
3643 }
3644}
3645
3646var Title = function Title(_ref) {
3647 var level = _ref.level,
3648 size = _ref.size,
3649 other = objectWithoutProperties(_ref, ['level', 'size']);
3650
3651 var Element = styled(getElement(level)).withConfig({
3652 displayName: 'title__Element',
3653 componentId: 's8qpq7x-0'
3654 })([['{font-family:', function (props) {
3655 return props.theme.font.header;
3656 }, ';font-weight:400;line-height:1.2;margin-top:0;margin-bottom:0.5em;-webkit-letter-spacing:-0.02em;-moz-letter-spacing:-0.02em;-ms-letter-spacing:-0.02em;letter-spacing:-0.02em;font-size:', function () {
3657 if (size === 1) return '1.5em';
3658 if (size === 2) return '1.125em';
3659 if (size === 3) return '1em';
3660 return '1.5em';
3661 }, ';', media.medium(_templateObject$1, function () {
3662 if (size === 1) return '1.875em';
3663 if (size === 2) return '1.5em';
3664 if (size === 3) return '1.25em';
3665 return '1.875em';
3666 }), ' ', media.large(_templateObject$1, function () {
3667 if (size === 1) return '2.5em';
3668 if (size === 2) return '1.625em';
3669 if (size === 3) return '1.25em';
3670 return '2.5em';
3671 }), ' ', media.extraLarge(_templateObject$1, function () {
3672 if (size === 1) return '4em';
3673 if (size === 2) return '2em';
3674 if (size === 3) return '1.5em';
3675 return '5em';
3676 }), ';}']]);
3677
3678 return React.createElement(Element, other);
3679};
3680
3681Title.propTypes = {
3682 level: PropTypes.number,
3683 size: PropTypes.number,
3684 children: PropTypes.node
3685};
3686
3687var Wrapper = styled.span.withConfig({
3688 displayName: 'input__Wrapper',
3689 componentId: 'ko8zgu-0'
3690})([['{', fontSize(2), ';display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-family:', function (props) {
3691 return props.theme.font.base;
3692}, ';font-weight:300;width:', function (props) {
3693 return props.width || '100%';
3694}, ';}'], [' span:first-child{margin-right:1em;}'], [' span:last-child{margin-left:1em;}']]);
3695
3696var StyledInput = styled.input.withConfig({
3697 displayName: 'input__StyledInput',
3698 componentId: 'ko8zgu-1'
3699})([['{', fontSize(2), ';font-family:', function (props) {
3700 return props.theme.font.base;
3701}, ';font-weight:300;line-height:1;padding:1em;border:0;border-radius:3px;border:1px solid rgba(0,0,0,0.16);box-shadow:0px 2px 0px 0px rgba(0,0,0,0.16);-webkit-transition:border-color 0.2s ease-out;transition:border-color 0.2s ease-out;width:', function (props) {
3702 return props.width || 'auto';
3703}, ';}'], [':focus,'], [':active{outline:0;border-color:', function (props) {
3704 return props.theme.color.primary;
3705}, ';}']]);
3706
3707var Input = function Input(_ref) {
3708 var prefix = _ref.prefix,
3709 suffix = _ref.suffix,
3710 other = objectWithoutProperties(_ref, ['prefix', 'suffix']);
3711
3712 if (!prefix && !suffix) return React.createElement(StyledInput, other);
3713
3714 return React.createElement(
3715 Wrapper,
3716 null,
3717 prefix && React.createElement(
3718 'span',
3719 null,
3720 prefix
3721 ),
3722 React.createElement(StyledInput, other),
3723 suffix && React.createElement(
3724 'span',
3725 null,
3726 suffix
3727 )
3728 );
3729};
3730
3731Input.propTypes = {
3732 prefix: PropTypes.string,
3733 suffix: PropTypes.string
3734};
3735
3736var Label = styled.label.withConfig({
3737 displayName: 'label__Label',
3738 componentId: 's1yqpyf1-0'
3739})([['{font-family:', function (props) {
3740 return props.theme.font.base;
3741}, ';color:', function (props) {
3742 return props.theme.color.grey.regular;
3743}, ';font-size:0.875em;font-weight:300;display:block;', margin(), ';', padding$1(), ';}']]);
3744
3745var Container$1 = styled.span.withConfig({
3746 displayName: 'radio__Container',
3747 componentId: 's1q6b2rx-0'
3748})([['{display:', function (props) {
3749 return props.block ? 'flex' : 'inline-flex';
3750}, ';margin-bottom:', function (props) {
3751 return props.block ? '1em' : '0';
3752}, ';margin-right:', function (props) {
3753 return props.block ? '0' : '1em';
3754}, ';-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}']]);
3755
3756var Label$2 = styled.label.withConfig({
3757 displayName: 'radio__Label',
3758 componentId: 's1q6b2rx-1'
3759})([[':before{vertical-align:middle;display:inline-block;content:\'\';width:20px;height:20px;border-radius:50%;background:', function (props) {
3760 return props.theme.colors.blank;
3761}, ';box-shadow:0 2px 0 0 rgba(0,0,0,0.15);border:1px solid ', function (props) {
3762 return props.theme.vivid;
3763}, ';}'], [' > *{vertical-align:middle;display:inline-block;padding-left:0.625em;}']]);
3764
3765var StyledRadio = styled.input.withConfig({
3766 displayName: 'radio__StyledRadio',
3767 componentId: 's1q6b2rx-2'
3768})([['{display:none;}'], [':checked + label:before{content:\'\\2022\';color:', function (props) {
3769 return props.theme.dark;
3770}, ';font-size:3em;line-height:1.4rem;text-align:center;}']]);
3771
3772var Radio = function Radio(_ref) {
3773 var children = _ref.children,
3774 block = _ref.block,
3775 id = _ref.id,
3776 other = objectWithoutProperties(_ref, ['children', 'block', 'id']);
3777 return React.createElement(
3778 Container$1,
3779 { block: block },
3780 React.createElement(StyledRadio, _extends({ type: 'radio', id: id }, other)),
3781 React.createElement(
3782 Label$2,
3783 { htmlFor: id },
3784 children
3785 )
3786 );
3787};
3788
3789Radio.propTypes = {
3790 id: PropTypes.string,
3791 block: PropTypes.bool,
3792 children: PropTypes.node
3793};
3794
3795var _templateObject$2 = taggedTemplateLiteral(['font-size: 0.875em;'], ['font-size: 0.875em;']);
3796
3797var DefinitionTerm = styled.dt.withConfig({
3798 displayName: 'definition__DefinitionTerm',
3799 componentId: 'ueq7jm-0'
3800})([['{font-size:0.75em;line-height:1;margin:0;font-family:', function (props) {
3801 return props.theme.font.base;
3802}, ';font-weight:300;color:', function (props) {
3803 return props.emphasis ? props.theme.colors.black : props.theme.colors.grey;
3804}, ';', media.large(_templateObject$2), ';}']]);
3805
3806var DefinitionData = styled.dd.withConfig({
3807 displayName: 'definition__DefinitionData',
3808 componentId: 'ueq7jm-1'
3809})([['{font-size:12px;line-height:1.5;margin:0;font-family:', function (props) {
3810 return props.theme.font.base;
3811}, ';font-weight:300;color:', function (props) {
3812 return props.emphasis ? props.theme.colors.black : props.theme.colors.grey;
3813}, ';}', media.large(_templateObject$2), ' '], [' + dd{margin-top:0;}'], [' + dt{margin-top:', function (props) {
3814 return props.theme.spacing.large;
3815}, ';}']]);
3816
3817var Image = styled.img.withConfig({
3818 displayName: 'profile-picture__Image',
3819 componentId: 's487dwa-0'
3820})([['{display:inline-block;width:3.75em;height:3.75em;border-radius:50%;vertical-align:middle;}']]);
3821
3822var Initials = styled.div.withConfig({
3823 displayName: 'profile-picture__Initials',
3824 componentId: 's487dwa-1'
3825})([['{font-family:', function (props) {
3826 return props.theme.font.base;
3827}, ';text-transform:uppercase;display:inline-block;width:3.75em;height:3.75em;border-radius:50%;position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:', function (props) {
3828 return props.theme.colors.primary;
3829}, ';color:', function (props) {
3830 return props.theme.colors.blank;
3831}, ';}']]);
3832
3833var ProfilePicture = function ProfilePicture(props) {
3834 if (props.image) {
3835 return React.createElement(Image, { alt: props.user, src: props.image });
3836 }
3837
3838 return React.createElement(
3839 Initials,
3840 null,
3841 props.user.match(/\b(\w)/g).join('')
3842 );
3843};
3844
3845ProfilePicture.propTypes = {
3846 image: PropTypes.string,
3847 user: PropTypes.string.isRequired
3848};
3849
3850var Container$2 = styled.div.withConfig({
3851 displayName: 'author__Container',
3852 componentId: 's1tkgtaj-0'
3853})([['{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-family:', function (props) {
3854 return props.theme.font.base;
3855}, ';font-weight:300;}']]);
3856
3857var AuthorName = styled(DefinitionData).withConfig({
3858 displayName: 'author__AuthorName',
3859 componentId: 's1tkgtaj-1'
3860})([['{display:block;font-size:1em;margin:0 !important;}']]);
3861
3862var Content = styled.div.withConfig({
3863 displayName: 'author__Content',
3864 componentId: 's1tkgtaj-2'
3865})([['{display:inline-block;margin-left:1.25em;}']]);
3866
3867var Author = function Author(_ref) {
3868 var name = _ref.name,
3869 image = _ref.image,
3870 other = objectWithoutProperties(_ref, ['name', 'image']);
3871 return React.createElement(
3872 Container$2,
3873 other,
3874 React.createElement(ProfilePicture, { user: name, image: image }),
3875 React.createElement(
3876 Content,
3877 null,
3878 React.createElement(
3879 AuthorName,
3880 null,
3881 name
3882 )
3883 )
3884 );
3885};
3886
3887Author.propTypes = {
3888 image: PropTypes.string,
3889 name: PropTypes.string.isRequired
3890};
3891
3892var CloseButton = function CloseButton(_ref) {
3893 var onDelete = _ref.onDelete,
3894 other = objectWithoutProperties(_ref, ['onDelete']);
3895 return React.createElement(
3896 'div',
3897 _extends({ onClick: onDelete }, other),
3898 React.createElement(CloseIcon, { width: '8' })
3899 );
3900};
3901
3902CloseButton.propTypes = {
3903 onDelete: PropTypes.func.isRequired
3904};
3905
3906var Close$$1 = styled(CloseButton).withConfig({
3907 displayName: 'close',
3908 componentId: 's1fwlfgs-0'
3909})([['{position:absolute;top:0.75em;left:-0.5em;width:20px;height:20px;border-radius:50%;background:', function (props) {
3910 return props.theme.dark;
3911}, ';color:', function (props) {
3912 return props.theme.colors.blank;
3913}, ';display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}']]);
3914
3915var animation$1 = keyframes([['@-webkit-keyframes '], ['{0%{-webkit-transform:scale(0.75);-ms-transform:scale(0.75);transform:scale(0.75);opacity:0.75;}40%{-webkit-transform:scale(1.25);-ms-transform:scale(1.25);transform:scale(1.25);opacity:1;}100%{-webkit-transform:scale(0.75);-ms-transform:scale(0.75);transform:scale(0.75);opacity:0.75;}}@keyframes '], ['{0%{-webkit-transform:scale(0.75);-ms-transform:scale(0.75);transform:scale(0.75);opacity:0.75;}40%{-webkit-transform:scale(1.25);-ms-transform:scale(1.25);transform:scale(1.25);opacity:1;}100%{-webkit-transform:scale(0.75);-ms-transform:scale(0.75);transform:scale(0.75);opacity:0.75;}}']]);
3916
3917var Spinner = styled.div.withConfig({
3918 displayName: 'spinner__Spinner',
3919 componentId: 's5m1zon-0'
3920})([['{width:40px;height:40px;margin:100px auto;border-radius:100%;background:', function (props) {
3921 return props.theme.color.black;
3922}, ';-webkit-animation:', animation$1, ' 2s infinite ease-out;animation:', animation$1, ' 2s infinite ease-out;}']]);
3923
3924/* eslint jsx-a11y/img-has-alt: 0 */
3925var Container$3 = styled.div.withConfig({
3926 displayName: 'preview__Container',
3927 componentId: 's14wwny5-0'
3928})([['{position:relative;}'], [' img,'], [' video{margin:1.25em 0;max-width:15em;}']]);
3929
3930var Preview = function (_Component) {
3931 inherits(Preview, _Component);
3932
3933 function Preview() {
3934 var _ref;
3935
3936 var _temp, _this, _ret;
3937
3938 classCallCheck(this, Preview);
3939
3940 for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
3941 args[_key] = arguments[_key];
3942 }
3943
3944 return _ret = (_temp = (_this = possibleConstructorReturn(this, (_ref = Preview.__proto__ || Object.getPrototypeOf(Preview)).call.apply(_ref, [this].concat(args))), _this), _this.state = {
3945 preview: null
3946 }, _this.onDelete = function () {
3947 _this.props.onDelete(_this.props.file);
3948 }, _temp), possibleConstructorReturn(_this, _ret);
3949 }
3950 /**
3951 * Define the proptypes of the component.
3952 *
3953 * @type {Object}
3954 */
3955
3956
3957 /**
3958 * The initial state of the component.
3959 *
3960 * @type {Object}
3961 */
3962
3963
3964 createClass(Preview, [{
3965 key: 'componentDidMount',
3966
3967
3968 /**
3969 * Invoked when the component is mounted.
3970 *
3971 * @return {void}
3972 */
3973 value: function componentDidMount() {
3974 this.readFile(this.props.file);
3975 }
3976
3977 /**
3978 * Invoked when the file should be deleted.
3979 *
3980 * @return {void}
3981 */
3982
3983 }, {
3984 key: 'readFile',
3985
3986
3987 /**
3988 * Read the file with the file reader to generate preview.
3989 * If the file already has a preview, use that.
3990 *
3991 * @return {void}
3992 */
3993 value: function readFile(file) {
3994 var _this2 = this;
3995
3996 if (file.preview) {
3997 return this.setState({ preview: file.preview });
3998 }
3999
4000 // eslint-disable-next-line no-undef
4001 var reader = new FileReader();
4002
4003 reader.onload = function (e) {
4004 _this2.setState({ preview: e.target.result });
4005 };
4006
4007 return reader.readAsDataURL(file);
4008 }
4009
4010 /**
4011 * Render the content, depending on the mimetype.
4012 *
4013 * @return {void}
4014 */
4015
4016 }, {
4017 key: 'renderContent',
4018 value: function renderContent() {
4019 var mimeType = this.props.file.type;
4020
4021 if (mimeType.startsWith('image/')) {
4022 return React.createElement('img', { src: this.state.preview });
4023 }
4024
4025 if (mimeType.startsWith('video/')) {
4026 return React.createElement(
4027 'video',
4028 { controls: true },
4029 React.createElement('source', { src: this.state.preview, type: mimeType })
4030 );
4031 }
4032
4033 return 'File';
4034 }
4035
4036 /**
4037 * Render the component.
4038 *
4039 * @return {ReactElement}
4040 */
4041
4042 }, {
4043 key: 'render',
4044 value: function render() {
4045 var onDelete = this.props.onDelete;
4046
4047
4048 return React.createElement(
4049 Container$3,
4050 null,
4051 onDelete && React.createElement(Close$$1, { onDelete: this.onDelete }),
4052 this.state.preview ? this.renderContent() : React.createElement(Spinner, null)
4053 );
4054 }
4055 }]);
4056 return Preview;
4057}(Component);
4058
4059Preview.propTypes = {
4060 onDelete: PropTypes.func,
4061 file: PropTypes.shape().isRequired
4062};
4063
4064var Container$4 = styled.div.withConfig({
4065 displayName: 'dropdown__Container',
4066 componentId: 's157sr34-0'
4067})([['{position:relative;font-family:', function (props) {
4068 return props.theme.font.base;
4069}, ';border-radius:3px;background:', function (props) {
4070 return props.theme.color.white;
4071}, ';color:', function (props) {
4072 return props.theme.color.black;
4073}, ';box-shadow:0 2px 0 0 rgba(189,189,189,0.5);}'], [' select::-ms-expand{display:none;}']]);
4074
4075var Select = styled.select.withConfig({
4076 displayName: 'dropdown__Select',
4077 componentId: 's157sr34-1'
4078})([['{', fontSize(1), ';position:relative;z-index:10;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;color:currentColor;width:100%;padding:0em 5em 0 1em;height:2.5rem;border:0;border-radius:3px;border:1px solid ', function (props) {
4079 return props.theme.color.grey.dim;
4080}, ';box-shadow:0px 2px 0px 0px rgba(0,0,0,0.16);}'], [' option{color:', function (props) {
4081 return props.theme.color.black;
4082}, ';background:', function (props) {
4083 return props.theme.color.blank;
4084}, ';}']]);
4085
4086var Icon$1 = styled.div.withConfig({
4087 displayName: 'dropdown__Icon',
4088 componentId: 's157sr34-2'
4089})([['{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:absolute;top:0;right:1.5em;bottom:0;margin:auto;color:', function (props) {
4090 return props.theme.color.black;
4091}, ';}']]);
4092
4093var Dropdown = function Dropdown(_ref) {
4094 var children = _ref.children,
4095 className = _ref.className,
4096 other = objectWithoutProperties(_ref, ['children', 'className']);
4097 return React.createElement(
4098 Container$4,
4099 { className: className },
4100 React.createElement(
4101 Select,
4102 other,
4103 children
4104 ),
4105 React.createElement(
4106 Icon$1,
4107 null,
4108 React.createElement(ChevronDown, { height: 8 })
4109 )
4110 );
4111};
4112
4113Dropdown.propTypes = {
4114 className: PropTypes.string,
4115 children: PropTypes.node.isRequired
4116};
4117
4118var dist = createCommonjsModule(function (module, exports) {
4119(function webpackUniversalModuleDefinition(root, factory) {
4120 module.exports = factory(React, PropTypes);
4121})(commonjsGlobal, function(__WEBPACK_EXTERNAL_MODULE_2__, __WEBPACK_EXTERNAL_MODULE_3__) {
4122return /******/ (function(modules) { // webpackBootstrap
4123/******/ // The module cache
4124/******/ var installedModules = {};
4125/******/
4126/******/ // The require function
4127/******/ function __webpack_require__(moduleId) {
4128/******/
4129/******/ // Check if module is in cache
4130/******/ if(installedModules[moduleId]) {
4131/******/ return installedModules[moduleId].exports;
4132/******/ }
4133/******/ // Create a new module (and put it into the cache)
4134/******/ var module = installedModules[moduleId] = {
4135/******/ i: moduleId,
4136/******/ l: false,
4137/******/ exports: {}
4138/******/ };
4139/******/
4140/******/ // Execute the module function
4141/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
4142/******/
4143/******/ // Flag the module as loaded
4144/******/ module.l = true;
4145/******/
4146/******/ // Return the exports of the module
4147/******/ return module.exports;
4148/******/ }
4149/******/
4150/******/
4151/******/ // expose the modules object (__webpack_modules__)
4152/******/ __webpack_require__.m = modules;
4153/******/
4154/******/ // expose the module cache
4155/******/ __webpack_require__.c = installedModules;
4156/******/
4157/******/ // define getter function for harmony exports
4158/******/ __webpack_require__.d = function(exports, name, getter) {
4159/******/ if(!__webpack_require__.o(exports, name)) {
4160/******/ Object.defineProperty(exports, name, {
4161/******/ configurable: false,
4162/******/ enumerable: true,
4163/******/ get: getter
4164/******/ });
4165/******/ }
4166/******/ };
4167/******/
4168/******/ // getDefaultExport function for compatibility with non-harmony modules
4169/******/ __webpack_require__.n = function(module) {
4170/******/ var getter = module && module.__esModule ?
4171/******/ function getDefault() { return module['default']; } :
4172/******/ function getModuleExports() { return module; };
4173/******/ __webpack_require__.d(getter, 'a', getter);
4174/******/ return getter;
4175/******/ };
4176/******/
4177/******/ // Object.prototype.hasOwnProperty.call
4178/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
4179/******/
4180/******/ // __webpack_public_path__
4181/******/ __webpack_require__.p = "";
4182/******/
4183/******/ // Load entry module and return exports
4184/******/ return __webpack_require__(__webpack_require__.s = 0);
4185/******/ })
4186/************************************************************************/
4187/******/ ([
4188/* 0 */
4189/***/ (function(module, exports, __webpack_require__) {
4190
4191"use strict";
4192/* WEBPACK VAR INJECTION */(function(process) {
4193
4194Object.defineProperty(exports, "__esModule", {
4195 value: true
4196});
4197
4198var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
4199
4200var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
4201
4202var _react$$1 = __webpack_require__(2);
4203
4204var _react2 = _interopRequireDefault(_react$$1);
4205
4206var _propTypes$$1 = __webpack_require__(3);
4207
4208var _propTypes2 = _interopRequireDefault(_propTypes$$1);
4209
4210var _utils = __webpack_require__(4);
4211
4212var _styles = __webpack_require__(6);
4213
4214var _styles2 = _interopRequireDefault(_styles);
4215
4216function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
4217
4218function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
4219
4220function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
4221
4222function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
4223
4224function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
4225
4226function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } /* eslint prefer-template: 0 */
4227
4228var Dropzone = function (_React$Component) {
4229 _inherits(Dropzone, _React$Component);
4230
4231 function Dropzone(props, context) {
4232 _classCallCheck(this, Dropzone);
4233
4234 var _this = _possibleConstructorReturn(this, (Dropzone.__proto__ || Object.getPrototypeOf(Dropzone)).call(this, props, context));
4235
4236 _this.renderChildren = function (children, isDragActive, isDragAccept, isDragReject) {
4237 if (typeof children === 'function') {
4238 return children(_extends({}, _this.state, {
4239 isDragActive: isDragActive,
4240 isDragAccept: isDragAccept,
4241 isDragReject: isDragReject
4242 }));
4243 }
4244 return children;
4245 };
4246
4247 _this.composeHandlers = _this.composeHandlers.bind(_this);
4248 _this.onClick = _this.onClick.bind(_this);
4249 _this.onDocumentDrop = _this.onDocumentDrop.bind(_this);
4250 _this.onDragEnter = _this.onDragEnter.bind(_this);
4251 _this.onDragLeave = _this.onDragLeave.bind(_this);
4252 _this.onDragOver = _this.onDragOver.bind(_this);
4253 _this.onDragStart = _this.onDragStart.bind(_this);
4254 _this.onDrop = _this.onDrop.bind(_this);
4255 _this.onFileDialogCancel = _this.onFileDialogCancel.bind(_this);
4256 _this.onInputElementClick = _this.onInputElementClick.bind(_this);
4257
4258 _this.setRef = _this.setRef.bind(_this);
4259 _this.setRefs = _this.setRefs.bind(_this);
4260
4261 _this.isFileDialogActive = false;
4262
4263 _this.state = {
4264 draggedFiles: [],
4265 acceptedFiles: [],
4266 rejectedFiles: []
4267 };
4268 return _this;
4269 }
4270
4271 _createClass(Dropzone, [{
4272 key: 'componentDidMount',
4273 value: function componentDidMount() {
4274 var preventDropOnDocument = this.props.preventDropOnDocument;
4275
4276 this.dragTargets = [];
4277
4278 if (preventDropOnDocument) {
4279 document.addEventListener('dragover', _utils.onDocumentDragOver, false);
4280 document.addEventListener('drop', this.onDocumentDrop, false);
4281 }
4282 this.fileInputEl.addEventListener('click', this.onInputElementClick, false);
4283 // Tried implementing addEventListener, but didn't work out
4284 document.body.onfocus = this.onFileDialogCancel;
4285 }
4286 }, {
4287 key: 'componentWillUnmount',
4288 value: function componentWillUnmount() {
4289 var preventDropOnDocument = this.props.preventDropOnDocument;
4290
4291 if (preventDropOnDocument) {
4292 document.removeEventListener('dragover', _utils.onDocumentDragOver);
4293 document.removeEventListener('drop', this.onDocumentDrop);
4294 }
4295 this.fileInputEl.removeEventListener('click', this.onInputElementClick, false);
4296 // Can be replaced with removeEventListener, if addEventListener works
4297 document.body.onfocus = null;
4298 }
4299 }, {
4300 key: 'composeHandlers',
4301 value: function composeHandlers(handler) {
4302 if (this.props.disabled) {
4303 return null;
4304 }
4305
4306 return handler;
4307 }
4308 }, {
4309 key: 'onDocumentDrop',
4310 value: function onDocumentDrop(evt) {
4311 if (this.node.contains(evt.target)) {
4312 // if we intercepted an event for our instance, let it propagate down to the instance's onDrop handler
4313 return;
4314 }
4315 evt.preventDefault();
4316 this.dragTargets = [];
4317 }
4318 }, {
4319 key: 'onDragStart',
4320 value: function onDragStart(evt) {
4321 if (this.props.onDragStart) {
4322 this.props.onDragStart.call(this, evt);
4323 }
4324 }
4325 }, {
4326 key: 'onDragEnter',
4327 value: function onDragEnter(evt) {
4328 evt.preventDefault();
4329
4330 // Count the dropzone and any children that are entered.
4331 if (this.dragTargets.indexOf(evt.target) === -1) {
4332 this.dragTargets.push(evt.target);
4333 }
4334
4335 this.setState({
4336 isDragActive: true, // Do not rely on files for the drag state. It doesn't work in Safari.
4337 draggedFiles: (0, _utils.getDataTransferItems)(evt)
4338 });
4339
4340 if (this.props.onDragEnter) {
4341 this.props.onDragEnter.call(this, evt);
4342 }
4343 }
4344 }, {
4345 key: 'onDragOver',
4346 value: function onDragOver(evt) {
4347 // eslint-disable-line class-methods-use-this
4348 evt.preventDefault();
4349 evt.stopPropagation();
4350 try {
4351 evt.dataTransfer.dropEffect = 'copy'; // eslint-disable-line no-param-reassign
4352 } catch (err) {
4353 // continue regardless of error
4354 }
4355
4356 if (this.props.onDragOver) {
4357 this.props.onDragOver.call(this, evt);
4358 }
4359 return false;
4360 }
4361 }, {
4362 key: 'onDragLeave',
4363 value: function onDragLeave(evt) {
4364 var _this2 = this;
4365
4366 evt.preventDefault();
4367
4368 // Only deactivate once the dropzone and all children have been left.
4369 this.dragTargets = this.dragTargets.filter(function (el) {
4370 return el !== evt.target && _this2.node.contains(el);
4371 });
4372 if (this.dragTargets.length > 0) {
4373 return;
4374 }
4375
4376 // Clear dragging files state
4377 this.setState({
4378 isDragActive: false,
4379 draggedFiles: []
4380 });
4381
4382 if (this.props.onDragLeave) {
4383 this.props.onDragLeave.call(this, evt);
4384 }
4385 }
4386 }, {
4387 key: 'onDrop',
4388 value: function onDrop(evt) {
4389 var _this3 = this;
4390
4391 var _props = this.props,
4392 onDrop = _props.onDrop,
4393 onDropAccepted = _props.onDropAccepted,
4394 onDropRejected = _props.onDropRejected,
4395 multiple = _props.multiple,
4396 disablePreview = _props.disablePreview,
4397 accept = _props.accept;
4398
4399 var fileList = (0, _utils.getDataTransferItems)(evt);
4400 var acceptedFiles = [];
4401 var rejectedFiles = [];
4402
4403 // Stop default browser behavior
4404 evt.preventDefault();
4405
4406 // Reset the counter along with the drag on a drop.
4407 this.dragTargets = [];
4408 this.isFileDialogActive = false;
4409
4410 fileList.forEach(function (file) {
4411 if (!disablePreview) {
4412 try {
4413 file.preview = window.URL.createObjectURL(file); // eslint-disable-line no-param-reassign
4414 } catch (err) {
4415 if (process.env.NODE_ENV !== 'production') {
4416 console.error('Failed to generate preview for file', file, err); // eslint-disable-line no-console
4417 }
4418 }
4419 }
4420
4421 if ((0, _utils.fileAccepted)(file, accept) && (0, _utils.fileMatchSize)(file, _this3.props.maxSize, _this3.props.minSize)) {
4422 acceptedFiles.push(file);
4423 } else {
4424 rejectedFiles.push(file);
4425 }
4426 });
4427
4428 if (!multiple) {
4429 // if not in multi mode add any extra accepted files to rejected.
4430 // This will allow end users to easily ignore a multi file drop in "single" mode.
4431 rejectedFiles.push.apply(rejectedFiles, _toConsumableArray(acceptedFiles.splice(1)));
4432 }
4433
4434 if (onDrop) {
4435 onDrop.call(this, acceptedFiles, rejectedFiles, evt);
4436 }
4437
4438 if (rejectedFiles.length > 0 && onDropRejected) {
4439 onDropRejected.call(this, rejectedFiles, evt);
4440 }
4441
4442 if (acceptedFiles.length > 0 && onDropAccepted) {
4443 onDropAccepted.call(this, acceptedFiles, evt);
4444 }
4445
4446 // Clear files value
4447 this.draggedFiles = null;
4448
4449 // Reset drag state
4450 this.setState({
4451 isDragActive: false,
4452 draggedFiles: [],
4453 acceptedFiles: acceptedFiles,
4454 rejectedFiles: rejectedFiles
4455 });
4456 }
4457 }, {
4458 key: 'onClick',
4459 value: function onClick(evt) {
4460 var _props2 = this.props,
4461 onClick = _props2.onClick,
4462 disableClick = _props2.disableClick;
4463
4464 if (!disableClick) {
4465 evt.stopPropagation();
4466
4467 if (onClick) {
4468 onClick.call(this, evt);
4469 }
4470
4471 // in IE11/Edge the file-browser dialog is blocking, ensure this is behind setTimeout
4472 // this is so react can handle state changes in the onClick prop above above
4473 // see: https://github.com/react-dropzone/react-dropzone/issues/450
4474 setTimeout(this.open.bind(this), 0);
4475 }
4476 }
4477 }, {
4478 key: 'onInputElementClick',
4479 value: function onInputElementClick(evt) {
4480 evt.stopPropagation();
4481 if (this.props.inputProps && this.props.inputProps.onClick) {
4482 this.props.inputProps.onClick();
4483 }
4484 }
4485 }, {
4486 key: 'onFileDialogCancel',
4487 value: function onFileDialogCancel() {
4488 // timeout will not recognize context of this method
4489 var onFileDialogCancel = this.props.onFileDialogCancel;
4490 var fileInputEl = this.fileInputEl;
4491 var isFileDialogActive = this.isFileDialogActive;
4492 // execute the timeout only if the onFileDialogCancel is defined and FileDialog
4493 // is opened in the browser
4494
4495 if (onFileDialogCancel && isFileDialogActive) {
4496 setTimeout(function () {
4497 // Returns an object as FileList
4498 var FileList = fileInputEl.files;
4499 if (!FileList.length) {
4500 isFileDialogActive = false;
4501 onFileDialogCancel();
4502 }
4503 }, 300);
4504 }
4505 }
4506 }, {
4507 key: 'setRef',
4508 value: function setRef(ref) {
4509 this.node = ref;
4510 }
4511 }, {
4512 key: 'setRefs',
4513 value: function setRefs(ref) {
4514 this.fileInputEl = ref;
4515 }
4516 /**
4517 * Open system file upload dialog.
4518 *
4519 * @public
4520 */
4521
4522 }, {
4523 key: 'open',
4524 value: function open() {
4525 this.isFileDialogActive = true;
4526 this.fileInputEl.value = null;
4527 this.fileInputEl.click();
4528 }
4529 }, {
4530 key: 'render',
4531 value: function render() {
4532 var _props3 = this.props,
4533 accept = _props3.accept,
4534 acceptClassName = _props3.acceptClassName,
4535 activeClassName = _props3.activeClassName,
4536 children = _props3.children,
4537 disabled = _props3.disabled,
4538 disabledClassName = _props3.disabledClassName,
4539 inputProps = _props3.inputProps,
4540 multiple = _props3.multiple,
4541 name = _props3.name,
4542 rejectClassName = _props3.rejectClassName,
4543 rest = _objectWithoutProperties(_props3, ['accept', 'acceptClassName', 'activeClassName', 'children', 'disabled', 'disabledClassName', 'inputProps', 'multiple', 'name', 'rejectClassName']);
4544
4545 var acceptStyle = rest.acceptStyle,
4546 activeStyle = rest.activeStyle,
4547 className = rest.className,
4548 disabledStyle = rest.disabledStyle,
4549 rejectStyle = rest.rejectStyle,
4550 style = rest.style,
4551 props = _objectWithoutProperties(rest, ['acceptStyle', 'activeStyle', 'className', 'disabledStyle', 'rejectStyle', 'style']);
4552
4553 var _state = this.state,
4554 isDragActive = _state.isDragActive,
4555 draggedFiles = _state.draggedFiles;
4556
4557 var filesCount = draggedFiles.length;
4558 var isMultipleAllowed = multiple || filesCount <= 1;
4559 var isDragAccept = filesCount > 0 && (0, _utils.allFilesAccepted)(draggedFiles, this.props.accept);
4560 var isDragReject = filesCount > 0 && (!isDragAccept || !isMultipleAllowed);
4561 className = className || '';
4562 var noStyles = !className && !style && !activeStyle && !acceptStyle && !rejectStyle && !disabledStyle;
4563
4564 if (isDragActive && activeClassName) {
4565 className += ' ' + activeClassName;
4566 }
4567 if (isDragAccept && acceptClassName) {
4568 className += ' ' + acceptClassName;
4569 }
4570 if (isDragReject && rejectClassName) {
4571 className += ' ' + rejectClassName;
4572 }
4573 if (disabled && disabledClassName) {
4574 className += ' ' + disabledClassName;
4575 }
4576
4577 if (noStyles) {
4578 style = _styles2.default.default;
4579 activeStyle = _styles2.default.active;
4580 acceptStyle = style.active;
4581 rejectStyle = _styles2.default.rejected;
4582 disabledStyle = _styles2.default.disabled;
4583 }
4584
4585 var appliedStyle = _extends({}, style);
4586 if (activeStyle && isDragActive) {
4587 appliedStyle = _extends({}, style, activeStyle);
4588 }
4589 if (acceptStyle && isDragAccept) {
4590 appliedStyle = _extends({}, appliedStyle, acceptStyle);
4591 }
4592 if (rejectStyle && isDragReject) {
4593 appliedStyle = _extends({}, appliedStyle, rejectStyle);
4594 }
4595 if (disabledStyle && disabled) {
4596 appliedStyle = _extends({}, style, disabledStyle);
4597 }
4598
4599 var inputAttributes = {
4600 accept: accept,
4601 disabled: disabled,
4602 type: 'file',
4603 style: { display: 'none' },
4604 multiple: _utils.supportMultiple && multiple,
4605 ref: this.setRefs,
4606 onChange: this.onDrop,
4607 autoComplete: 'off'
4608 };
4609
4610 if (name && name.length) {
4611 inputAttributes.name = name;
4612 }
4613
4614 // Remove custom properties before passing them to the wrapper div element
4615 var customProps = ['acceptedFiles', 'preventDropOnDocument', 'disablePreview', 'disableClick', 'activeClassName', 'acceptClassName', 'rejectClassName', 'disabledClassName', 'onDropAccepted', 'onDropRejected', 'onFileDialogCancel', 'maxSize', 'minSize'];
4616 var divProps = _extends({}, props);
4617 customProps.forEach(function (prop) {
4618 return delete divProps[prop];
4619 });
4620
4621 return _react2.default.createElement(
4622 'div',
4623 _extends({
4624 className: className,
4625 style: appliedStyle
4626 }, divProps /* expand user provided props first so event handlers are never overridden */, {
4627 onClick: this.composeHandlers(this.onClick),
4628 onDragStart: this.composeHandlers(this.onDragStart),
4629 onDragEnter: this.composeHandlers(this.onDragEnter),
4630 onDragOver: this.composeHandlers(this.onDragOver),
4631 onDragLeave: this.composeHandlers(this.onDragLeave),
4632 onDrop: this.composeHandlers(this.onDrop),
4633 ref: this.setRef,
4634 'aria-disabled': disabled
4635 }),
4636 this.renderChildren(children, isDragActive, isDragAccept, isDragReject),
4637 _react2.default.createElement('input', _extends({}, inputProps /* expand user provided inputProps first so inputAttributes override them */, inputAttributes))
4638 );
4639 }
4640 }]);
4641
4642 return Dropzone;
4643}(_react2.default.Component);
4644
4645exports.default = Dropzone;
4646
4647
4648Dropzone.propTypes = {
4649 /**
4650 * Allow specific types of files. See https://github.com/okonet/attr-accept for more information.
4651 * Keep in mind that mime type determination is not reliable across platforms. CSV files,
4652 * for example, are reported as text/plain under macOS but as application/vnd.ms-excel under
4653 * Windows. In some cases there might not be a mime type set at all.
4654 * See: https://github.com/react-dropzone/react-dropzone/issues/276
4655 */
4656 accept: _propTypes2.default.string,
4657
4658 /**
4659 * Contents of the dropzone
4660 */
4661 children: _propTypes2.default.oneOfType([_propTypes2.default.node, _propTypes2.default.func]),
4662
4663 /**
4664 * Disallow clicking on the dropzone container to open file dialog
4665 */
4666 disableClick: _propTypes2.default.bool,
4667
4668 /**
4669 * Enable/disable the dropzone entirely
4670 */
4671 disabled: _propTypes2.default.bool,
4672
4673 /**
4674 * Enable/disable preview generation
4675 */
4676 disablePreview: _propTypes2.default.bool,
4677
4678 /**
4679 * If false, allow dropped items to take over the current browser window
4680 */
4681 preventDropOnDocument: _propTypes2.default.bool,
4682
4683 /**
4684 * Pass additional attributes to the `<input type="file"/>` tag
4685 */
4686 inputProps: _propTypes2.default.object,
4687
4688 /**
4689 * Allow dropping multiple files
4690 */
4691 multiple: _propTypes2.default.bool,
4692
4693 /**
4694 * `name` attribute for the input tag
4695 */
4696 name: _propTypes2.default.string,
4697
4698 /**
4699 * Maximum file size
4700 */
4701 maxSize: _propTypes2.default.number,
4702
4703 /**
4704 * Minimum file size
4705 */
4706 minSize: _propTypes2.default.number,
4707
4708 /**
4709 * className
4710 */
4711 className: _propTypes2.default.string,
4712
4713 /**
4714 * className for active state
4715 */
4716 activeClassName: _propTypes2.default.string,
4717
4718 /**
4719 * className for accepted state
4720 */
4721 acceptClassName: _propTypes2.default.string,
4722
4723 /**
4724 * className for rejected state
4725 */
4726 rejectClassName: _propTypes2.default.string,
4727
4728 /**
4729 * className for disabled state
4730 */
4731 disabledClassName: _propTypes2.default.string,
4732
4733 /**
4734 * CSS styles to apply
4735 */
4736 style: _propTypes2.default.object,
4737
4738 /**
4739 * CSS styles to apply when drag is active
4740 */
4741 activeStyle: _propTypes2.default.object,
4742
4743 /**
4744 * CSS styles to apply when drop will be accepted
4745 */
4746 acceptStyle: _propTypes2.default.object,
4747
4748 /**
4749 * CSS styles to apply when drop will be rejected
4750 */
4751 rejectStyle: _propTypes2.default.object,
4752
4753 /**
4754 * CSS styles to apply when dropzone is disabled
4755 */
4756 disabledStyle: _propTypes2.default.object,
4757
4758 /**
4759 * onClick callback
4760 * @param {Event} event
4761 */
4762 onClick: _propTypes2.default.func,
4763
4764 /**
4765 * onDrop callback
4766 */
4767 onDrop: _propTypes2.default.func,
4768
4769 /**
4770 * onDropAccepted callback
4771 */
4772 onDropAccepted: _propTypes2.default.func,
4773
4774 /**
4775 * onDropRejected callback
4776 */
4777 onDropRejected: _propTypes2.default.func,
4778
4779 /**
4780 * onDragStart callback
4781 */
4782 onDragStart: _propTypes2.default.func,
4783
4784 /**
4785 * onDragEnter callback
4786 */
4787 onDragEnter: _propTypes2.default.func,
4788
4789 /**
4790 * onDragOver callback
4791 */
4792 onDragOver: _propTypes2.default.func,
4793
4794 /**
4795 * onDragLeave callback
4796 */
4797 onDragLeave: _propTypes2.default.func,
4798
4799 /**
4800 * Provide a callback on clicking the cancel button of the file dialog
4801 */
4802 onFileDialogCancel: _propTypes2.default.func
4803};
4804
4805Dropzone.defaultProps = {
4806 preventDropOnDocument: true,
4807 disabled: false,
4808 disablePreview: false,
4809 disableClick: false,
4810 multiple: true,
4811 maxSize: Infinity,
4812 minSize: 0
4813};
4814module.exports = exports['default'];
4815/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)));
4816
4817/***/ }),
4818/* 1 */
4819/***/ (function(module, exports) {
4820
4821// shim for using process in browser
4822var process = module.exports = {};
4823
4824// cached from whatever global is present so that test runners that stub it
4825// don't break things. But we need to wrap it in a try catch in case it is
4826// wrapped in strict mode code which doesn't define any globals. It's inside a
4827// function because try/catches deoptimize in certain engines.
4828
4829var cachedSetTimeout;
4830var cachedClearTimeout;
4831
4832function defaultSetTimout() {
4833 throw new Error('setTimeout has not been defined');
4834}
4835function defaultClearTimeout () {
4836 throw new Error('clearTimeout has not been defined');
4837}
4838(function () {
4839 try {
4840 if (typeof setTimeout === 'function') {
4841 cachedSetTimeout = setTimeout;
4842 } else {
4843 cachedSetTimeout = defaultSetTimout;
4844 }
4845 } catch (e) {
4846 cachedSetTimeout = defaultSetTimout;
4847 }
4848 try {
4849 if (typeof clearTimeout === 'function') {
4850 cachedClearTimeout = clearTimeout;
4851 } else {
4852 cachedClearTimeout = defaultClearTimeout;
4853 }
4854 } catch (e) {
4855 cachedClearTimeout = defaultClearTimeout;
4856 }
4857} ());
4858function runTimeout(fun) {
4859 if (cachedSetTimeout === setTimeout) {
4860 //normal enviroments in sane situations
4861 return setTimeout(fun, 0);
4862 }
4863 // if setTimeout wasn't available but was latter defined
4864 if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
4865 cachedSetTimeout = setTimeout;
4866 return setTimeout(fun, 0);
4867 }
4868 try {
4869 // when when somebody has screwed with setTimeout but no I.E. maddness
4870 return cachedSetTimeout(fun, 0);
4871 } catch(e){
4872 try {
4873 // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
4874 return cachedSetTimeout.call(null, fun, 0);
4875 } catch(e){
4876 // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
4877 return cachedSetTimeout.call(this, fun, 0);
4878 }
4879 }
4880
4881
4882}
4883function runClearTimeout(marker) {
4884 if (cachedClearTimeout === clearTimeout) {
4885 //normal enviroments in sane situations
4886 return clearTimeout(marker);
4887 }
4888 // if clearTimeout wasn't available but was latter defined
4889 if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
4890 cachedClearTimeout = clearTimeout;
4891 return clearTimeout(marker);
4892 }
4893 try {
4894 // when when somebody has screwed with setTimeout but no I.E. maddness
4895 return cachedClearTimeout(marker);
4896 } catch (e){
4897 try {
4898 // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
4899 return cachedClearTimeout.call(null, marker);
4900 } catch (e){
4901 // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
4902 // Some versions of I.E. have different rules for clearTimeout vs setTimeout
4903 return cachedClearTimeout.call(this, marker);
4904 }
4905 }
4906
4907
4908
4909}
4910var queue = [];
4911var draining = false;
4912var currentQueue;
4913var queueIndex = -1;
4914
4915function cleanUpNextTick() {
4916 if (!draining || !currentQueue) {
4917 return;
4918 }
4919 draining = false;
4920 if (currentQueue.length) {
4921 queue = currentQueue.concat(queue);
4922 } else {
4923 queueIndex = -1;
4924 }
4925 if (queue.length) {
4926 drainQueue();
4927 }
4928}
4929
4930function drainQueue() {
4931 if (draining) {
4932 return;
4933 }
4934 var timeout = runTimeout(cleanUpNextTick);
4935 draining = true;
4936
4937 var len = queue.length;
4938 while(len) {
4939 currentQueue = queue;
4940 queue = [];
4941 while (++queueIndex < len) {
4942 if (currentQueue) {
4943 currentQueue[queueIndex].run();
4944 }
4945 }
4946 queueIndex = -1;
4947 len = queue.length;
4948 }
4949 currentQueue = null;
4950 draining = false;
4951 runClearTimeout(timeout);
4952}
4953
4954process.nextTick = function (fun) {
4955 var args = new Array(arguments.length - 1);
4956 if (arguments.length > 1) {
4957 for (var i = 1; i < arguments.length; i++) {
4958 args[i - 1] = arguments[i];
4959 }
4960 }
4961 queue.push(new Item(fun, args));
4962 if (queue.length === 1 && !draining) {
4963 runTimeout(drainQueue);
4964 }
4965};
4966
4967// v8 likes predictible objects
4968function Item(fun, array) {
4969 this.fun = fun;
4970 this.array = array;
4971}
4972Item.prototype.run = function () {
4973 this.fun.apply(null, this.array);
4974};
4975process.title = 'browser';
4976process.browser = true;
4977process.env = {};
4978process.argv = [];
4979process.version = ''; // empty string to avoid regexp issues
4980process.versions = {};
4981
4982function noop() {}
4983
4984process.on = noop;
4985process.addListener = noop;
4986process.once = noop;
4987process.off = noop;
4988process.removeListener = noop;
4989process.removeAllListeners = noop;
4990process.emit = noop;
4991process.prependListener = noop;
4992process.prependOnceListener = noop;
4993
4994process.listeners = function (name) { return [] };
4995
4996process.binding = function (name) {
4997 throw new Error('process.binding is not supported');
4998};
4999
5000process.cwd = function () { return '/' };
5001process.chdir = function (dir) {
5002 throw new Error('process.chdir is not supported');
5003};
5004process.umask = function() { return 0; };
5005
5006
5007/***/ }),
5008/* 2 */
5009/***/ (function(module, exports) {
5010
5011module.exports = __WEBPACK_EXTERNAL_MODULE_2__;
5012
5013/***/ }),
5014/* 3 */
5015/***/ (function(module, exports) {
5016
5017module.exports = __WEBPACK_EXTERNAL_MODULE_3__;
5018
5019/***/ }),
5020/* 4 */
5021/***/ (function(module, exports, __webpack_require__) {
5022
5023"use strict";
5024
5025
5026Object.defineProperty(exports, "__esModule", {
5027 value: true
5028});
5029exports.supportMultiple = undefined;
5030exports.getDataTransferItems = getDataTransferItems;
5031exports.fileAccepted = fileAccepted;
5032exports.fileMatchSize = fileMatchSize;
5033exports.allFilesAccepted = allFilesAccepted;
5034exports.onDocumentDragOver = onDocumentDragOver;
5035
5036var _attrAccept = __webpack_require__(5);
5037
5038var _attrAccept2 = _interopRequireDefault(_attrAccept);
5039
5040function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
5041
5042var supportMultiple = exports.supportMultiple = typeof document !== 'undefined' && document && document.createElement ? 'multiple' in document.createElement('input') : true;
5043
5044function getDataTransferItems(event) {
5045 var dataTransferItemsList = [];
5046 if (event.dataTransfer) {
5047 var dt = event.dataTransfer;
5048 if (dt.files && dt.files.length) {
5049 dataTransferItemsList = dt.files;
5050 } else if (dt.items && dt.items.length) {
5051 // During the drag even the dataTransfer.files is null
5052 // but Chrome implements some drag store, which is accesible via dataTransfer.items
5053 dataTransferItemsList = dt.items;
5054 }
5055 } else if (event.target && event.target.files) {
5056 dataTransferItemsList = event.target.files;
5057 }
5058 // Convert from DataTransferItemsList to the native Array
5059 return Array.prototype.slice.call(dataTransferItemsList);
5060}
5061
5062// Firefox versions prior to 53 return a bogus MIME type for every file drag, so dragovers with
5063// that MIME type will always be accepted
5064function fileAccepted(file, accept) {
5065 return file.type === 'application/x-moz-file' || (0, _attrAccept2.default)(file, accept);
5066}
5067
5068function fileMatchSize(file, maxSize, minSize) {
5069 return file.size <= maxSize && file.size >= minSize;
5070}
5071
5072function allFilesAccepted(files, accept) {
5073 return files.every(function (file) {
5074 return fileAccepted(file, accept);
5075 });
5076}
5077
5078// allow the entire document to be a drag target
5079function onDocumentDragOver(evt) {
5080 evt.preventDefault();
5081}
5082
5083/***/ }),
5084/* 5 */
5085/***/ (function(module, exports) {
5086
5087module.exports=function(t){function n(e){if(r[e])return r[e].exports;var o=r[e]={exports:{},id:e,loaded:!1};return t[e].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}var r={};return n.m=t,n.c=r,n.p="",n(0)}([function(t,n,r){"use strict";n.__esModule=!0,r(8),r(9),n["default"]=function(t,n){if(t&&n){var r=function(){var r=Array.isArray(n)?n:n.split(","),e=t.name||"",o=t.type||"",i=o.replace(/\/.*$/,"");return{v:r.some(function(t){var n=t.trim();return"."===n.charAt(0)?e.toLowerCase().endsWith(n.toLowerCase()):/\/\*$/.test(n)?i===n.replace(/\/.*$/,""):o===n})}}();if("object"==typeof r)return r.v}return!0},t.exports=n["default"];},function(t,n){var r=t.exports={version:"1.2.2"};"number"==typeof __e&&(__e=r);},function(t,n){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r);},function(t,n,r){var e=r(2),o=r(1),i=r(4),u=r(19),c="prototype",f=function(t,n){return function(){return t.apply(n,arguments)}},s=function(t,n,r){var a,p,l,y,d=t&s.G,h=t&s.P,v=d?e:t&s.S?e[n]||(e[n]={}):(e[n]||{})[c],x=d?o:o[n]||(o[n]={});d&&(r=n);for(a in r)p=!(t&s.F)&&v&&a in v,l=(p?v:r)[a],y=t&s.B&&p?f(l,e):h&&"function"==typeof l?f(Function.call,l):l,v&&!p&&u(v,a,l),x[a]!=l&&i(x,a,y),h&&((x[c]||(x[c]={}))[a]=l);};e.core=o,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,t.exports=s;},function(t,n,r){var e=r(5),o=r(18);t.exports=r(22)?function(t,n,r){return e.setDesc(t,n,o(1,r))}:function(t,n,r){return t[n]=r,t};},function(t,n){var r=Object;t.exports={create:r.create,getProto:r.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:r.getOwnPropertyDescriptor,setDesc:r.defineProperty,setDescs:r.defineProperties,getKeys:r.keys,getNames:r.getOwnPropertyNames,getSymbols:r.getOwnPropertySymbols,each:[].forEach};},function(t,n){var r=0,e=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+e).toString(36))};},function(t,n,r){var e=r(20)("wks"),o=r(2).Symbol;t.exports=function(t){return e[t]||(e[t]=o&&o[t]||(o||r(6))("Symbol."+t))};},function(t,n,r){r(26),t.exports=r(1).Array.some;},function(t,n,r){r(25),t.exports=r(1).String.endsWith;},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t};},function(t,n){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)};},function(t,n,r){var e=r(10);t.exports=function(t,n,r){if(e(t),void 0===n)return t;switch(r){case 1:return function(r){return t.call(n,r)};case 2:return function(r,e){return t.call(n,r,e)};case 3:return function(r,e,o){return t.call(n,r,e,o)}}return function(){return t.apply(n,arguments)}};},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t};},function(t,n,r){t.exports=function(t){var n=/./;try{"/./"[t](n);}catch(e){try{return n[r(7)("match")]=!1,!"/./"[t](n)}catch(o){}}return!0};},function(t,n){t.exports=function(t){try{return!!t()}catch(n){return!0}};},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t};},function(t,n,r){var e=r(16),o=r(11),i=r(7)("match");t.exports=function(t){var n;return e(t)&&(void 0!==(n=t[i])?!!n:"RegExp"==o(t))};},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}};},function(t,n,r){var e=r(2),o=r(4),i=r(6)("src"),u="toString",c=Function[u],f=(""+c).split(u);r(1).inspectSource=function(t){return c.call(t)},(t.exports=function(t,n,r,u){"function"==typeof r&&(o(r,i,t[n]?""+t[n]:f.join(String(n))),"name"in r||(r.name=n)),t===e?t[n]=r:(u||delete t[n],o(t,n,r));})(Function.prototype,u,function(){return"function"==typeof this&&this[i]||c.call(this)});},function(t,n,r){var e=r(2),o="__core-js_shared__",i=e[o]||(e[o]={});t.exports=function(t){return i[t]||(i[t]={})};},function(t,n,r){var e=r(17),o=r(13);t.exports=function(t,n,r){if(e(n))throw TypeError("String#"+r+" doesn't accept regex!");return String(o(t))};},function(t,n,r){t.exports=!r(15)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a});},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:r)(t)};},function(t,n,r){var e=r(23),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0};},function(t,n,r){"use strict";var e=r(3),o=r(24),i=r(21),u="endsWith",c=""[u];e(e.P+e.F*r(14)(u),"String",{endsWith:function(t){var n=i(this,t,u),r=arguments,e=r.length>1?r[1]:void 0,f=o(n.length),s=void 0===e?f:Math.min(o(e),f),a=String(t);return c?c.call(n,a,s):n.slice(s-a.length,s)===a}});},function(t,n,r){var e=r(5),o=r(3),i=r(1).Array||Array,u={},c=function(t,n){e.each.call(t.split(","),function(t){void 0==n&&t in i?u[t]=i[t]:t in[]&&(u[t]=r(12)(Function.call,[][t],n));});};c("pop,reverse,shift,keys,values,entries",1),c("indexOf,every,some,forEach,map,filter,find,findIndex,includes",3),c("join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill"),o(o.S,"Array",u);}]);
5088
5089/***/ }),
5090/* 6 */
5091/***/ (function(module, exports, __webpack_require__) {
5092
5093"use strict";
5094
5095
5096Object.defineProperty(exports, "__esModule", {
5097 value: true
5098});
5099exports.default = {
5100 rejected: {
5101 borderStyle: 'solid',
5102 borderColor: '#c66',
5103 backgroundColor: '#eee'
5104 },
5105 disabled: {
5106 opacity: 0.5
5107 },
5108 active: {
5109 borderStyle: 'solid',
5110 borderColor: '#6c6',
5111 backgroundColor: '#eee'
5112 },
5113 default: {
5114 width: 200,
5115 height: 200,
5116 borderWidth: 2,
5117 borderColor: '#666',
5118 borderStyle: 'dashed',
5119 borderRadius: 5
5120 }
5121};
5122module.exports = exports['default'];
5123
5124/***/ })
5125/******/ ]);
5126});
5127
5128});
5129
5130var Zone = unwrapExports(dist);
5131
5132var StyledZone = styled(Zone).withConfig({
5133 displayName: 'dropzone__StyledZone',
5134 componentId: 's7ees94-0'
5135})([['{box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%;color:', function (props) {
5136 return props.theme.grey;
5137}, ';border:1px dashed ', function (props) {
5138 return props.theme.grey;
5139}, ';padding:1.25em;font-family:', function (props) {
5140 return props.theme.font.base;
5141}, ';font-weight:300;}']]);
5142
5143var Dropzone = function Dropzone(_ref) {
5144 var children = _ref.children,
5145 other = objectWithoutProperties(_ref, ['children']);
5146 return React.createElement(
5147 StyledZone,
5148 other,
5149 children || React.createElement(
5150 'span',
5151 null,
5152 'Click or drag to upload file'
5153 )
5154 );
5155};
5156
5157Dropzone.propTypes = {
5158 children: PropTypes.node
5159};
5160
5161var autosize = createCommonjsModule(function (module, exports) {
5162/*!
5163 Autosize 3.0.21
5164 license: MIT
5165 http://www.jacklmoore.com/autosize
5166*/
5167(function (global, factory) {
5168 if (typeof undefined === 'function' && undefined.amd) {
5169 undefined(['exports', 'module'], factory);
5170 } else {
5171 factory(exports, module);
5172 }
5173})(commonjsGlobal, function (exports, module) {
5174 'use strict';
5175
5176 var map = typeof Map === "function" ? new Map() : (function () {
5177 var keys = [];
5178 var values = [];
5179
5180 return {
5181 has: function has(key) {
5182 return keys.indexOf(key) > -1;
5183 },
5184 get: function get(key) {
5185 return values[keys.indexOf(key)];
5186 },
5187 set: function set(key, value) {
5188 if (keys.indexOf(key) === -1) {
5189 keys.push(key);
5190 values.push(value);
5191 }
5192 },
5193 'delete': function _delete(key) {
5194 var index = keys.indexOf(key);
5195 if (index > -1) {
5196 keys.splice(index, 1);
5197 values.splice(index, 1);
5198 }
5199 }
5200 };
5201 })();
5202
5203 var createEvent = function createEvent(name) {
5204 return new Event(name, { bubbles: true });
5205 };
5206 try {
5207 new Event('test');
5208 } catch (e) {
5209 // IE does not support `new Event()`
5210 createEvent = function (name) {
5211 var evt = document.createEvent('Event');
5212 evt.initEvent(name, true, false);
5213 return evt;
5214 };
5215 }
5216
5217 function assign(ta) {
5218 if (!ta || !ta.nodeName || ta.nodeName !== 'TEXTAREA' || map.has(ta)) return;
5219
5220 var heightOffset = null;
5221 var clientWidth = ta.clientWidth;
5222 var cachedHeight = null;
5223
5224 function init() {
5225 var style = window.getComputedStyle(ta, null);
5226
5227 if (style.resize === 'vertical') {
5228 ta.style.resize = 'none';
5229 } else if (style.resize === 'both') {
5230 ta.style.resize = 'horizontal';
5231 }
5232
5233 if (style.boxSizing === 'content-box') {
5234 heightOffset = -(parseFloat(style.paddingTop) + parseFloat(style.paddingBottom));
5235 } else {
5236 heightOffset = parseFloat(style.borderTopWidth) + parseFloat(style.borderBottomWidth);
5237 }
5238 // Fix when a textarea is not on document body and heightOffset is Not a Number
5239 if (isNaN(heightOffset)) {
5240 heightOffset = 0;
5241 }
5242
5243 update();
5244 }
5245
5246 function changeOverflow(value) {
5247 {
5248 // Chrome/Safari-specific fix:
5249 // When the textarea y-overflow is hidden, Chrome/Safari do not reflow the text to account for the space
5250 // made available by removing the scrollbar. The following forces the necessary text reflow.
5251 var width = ta.style.width;
5252 ta.style.width = '0px';
5253 // Force reflow:
5254 /* jshint ignore:start */
5255 ta.offsetWidth;
5256 /* jshint ignore:end */
5257 ta.style.width = width;
5258 }
5259
5260 ta.style.overflowY = value;
5261 }
5262
5263 function getParentOverflows(el) {
5264 var arr = [];
5265
5266 while (el && el.parentNode && el.parentNode instanceof Element) {
5267 if (el.parentNode.scrollTop) {
5268 arr.push({
5269 node: el.parentNode,
5270 scrollTop: el.parentNode.scrollTop
5271 });
5272 }
5273 el = el.parentNode;
5274 }
5275
5276 return arr;
5277 }
5278
5279 function resize() {
5280 var originalHeight = ta.style.height;
5281 var overflows = getParentOverflows(ta);
5282 var docTop = document.documentElement && document.documentElement.scrollTop; // Needed for Mobile IE (ticket #240)
5283
5284 ta.style.height = 'auto';
5285
5286 var endHeight = ta.scrollHeight + heightOffset;
5287
5288 if (ta.scrollHeight === 0) {
5289 // If the scrollHeight is 0, then the element probably has display:none or is detached from the DOM.
5290 ta.style.height = originalHeight;
5291 return;
5292 }
5293
5294 ta.style.height = endHeight + 'px';
5295
5296 // used to check if an update is actually necessary on window.resize
5297 clientWidth = ta.clientWidth;
5298
5299 // prevents scroll-position jumping
5300 overflows.forEach(function (el) {
5301 el.node.scrollTop = el.scrollTop;
5302 });
5303
5304 if (docTop) {
5305 document.documentElement.scrollTop = docTop;
5306 }
5307 }
5308
5309 function update() {
5310 resize();
5311
5312 var styleHeight = Math.round(parseFloat(ta.style.height));
5313 var computed = window.getComputedStyle(ta, null);
5314
5315 // Using offsetHeight as a replacement for computed.height in IE, because IE does not account use of border-box
5316 var actualHeight = computed.boxSizing === 'content-box' ? Math.round(parseFloat(computed.height)) : ta.offsetHeight;
5317
5318 // The actual height not matching the style height (set via the resize method) indicates that
5319 // the max-height has been exceeded, in which case the overflow should be allowed.
5320 if (actualHeight !== styleHeight) {
5321 if (computed.overflowY === 'hidden') {
5322 changeOverflow('scroll');
5323 resize();
5324 actualHeight = computed.boxSizing === 'content-box' ? Math.round(parseFloat(window.getComputedStyle(ta, null).height)) : ta.offsetHeight;
5325 }
5326 } else {
5327 // Normally keep overflow set to hidden, to avoid flash of scrollbar as the textarea expands.
5328 if (computed.overflowY !== 'hidden') {
5329 changeOverflow('hidden');
5330 resize();
5331 actualHeight = computed.boxSizing === 'content-box' ? Math.round(parseFloat(window.getComputedStyle(ta, null).height)) : ta.offsetHeight;
5332 }
5333 }
5334
5335 if (cachedHeight !== actualHeight) {
5336 cachedHeight = actualHeight;
5337 var evt = createEvent('autosize:resized');
5338 try {
5339 ta.dispatchEvent(evt);
5340 } catch (err) {
5341 // Firefox will throw an error on dispatchEvent for a detached element
5342 // https://bugzilla.mozilla.org/show_bug.cgi?id=889376
5343 }
5344 }
5345 }
5346
5347 var pageResize = function pageResize() {
5348 if (ta.clientWidth !== clientWidth) {
5349 update();
5350 }
5351 };
5352
5353 var destroy = (function (style) {
5354 window.removeEventListener('resize', pageResize, false);
5355 ta.removeEventListener('input', update, false);
5356 ta.removeEventListener('keyup', update, false);
5357 ta.removeEventListener('autosize:destroy', destroy, false);
5358 ta.removeEventListener('autosize:update', update, false);
5359
5360 Object.keys(style).forEach(function (key) {
5361 ta.style[key] = style[key];
5362 });
5363
5364 map['delete'](ta);
5365 }).bind(ta, {
5366 height: ta.style.height,
5367 resize: ta.style.resize,
5368 overflowY: ta.style.overflowY,
5369 overflowX: ta.style.overflowX,
5370 wordWrap: ta.style.wordWrap
5371 });
5372
5373 ta.addEventListener('autosize:destroy', destroy, false);
5374
5375 // IE9 does not fire onpropertychange or oninput for deletions,
5376 // so binding to onkeyup to catch most of those events.
5377 // There is no way that I know of to detect something like 'cut' in IE9.
5378 if ('onpropertychange' in ta && 'oninput' in ta) {
5379 ta.addEventListener('keyup', update, false);
5380 }
5381
5382 window.addEventListener('resize', pageResize, false);
5383 ta.addEventListener('input', update, false);
5384 ta.addEventListener('autosize:update', update, false);
5385 ta.style.overflowX = 'hidden';
5386 ta.style.wordWrap = 'break-word';
5387
5388 map.set(ta, {
5389 destroy: destroy,
5390 update: update
5391 });
5392
5393 init();
5394 }
5395
5396 function destroy(ta) {
5397 var methods = map.get(ta);
5398 if (methods) {
5399 methods.destroy();
5400 }
5401 }
5402
5403 function update(ta) {
5404 var methods = map.get(ta);
5405 if (methods) {
5406 methods.update();
5407 }
5408 }
5409
5410 var autosize = null;
5411
5412 // Do nothing in Node.js environment and IE8 (or lower)
5413 if (typeof window === 'undefined' || typeof window.getComputedStyle !== 'function') {
5414 autosize = function (el) {
5415 return el;
5416 };
5417 autosize.destroy = function (el) {
5418 return el;
5419 };
5420 autosize.update = function (el) {
5421 return el;
5422 };
5423 } else {
5424 autosize = function (el, options) {
5425 if (el) {
5426 Array.prototype.forEach.call(el.length ? el : [el], function (x) {
5427 return assign(x, options);
5428 });
5429 }
5430 return el;
5431 };
5432 autosize.destroy = function (el) {
5433 if (el) {
5434 Array.prototype.forEach.call(el.length ? el : [el], destroy);
5435 }
5436 return el;
5437 };
5438 autosize.update = function (el) {
5439 if (el) {
5440 Array.prototype.forEach.call(el.length ? el : [el], update);
5441 }
5442 return el;
5443 };
5444 }
5445
5446 module.exports = autosize;
5447});
5448});
5449
5450// This code has been refactored for 140 bytes
5451// You can see the original here: https://github.com/twolfson/computedStyle/blob/04cd1da2e30fa45844f95f5cb1ac898e9b9ef050/lib/computedStyle.js
5452var computedStyle = function (el, prop, getComputedStyle) {
5453 getComputedStyle = window.getComputedStyle;
5454
5455 // In one fell swoop
5456 return (
5457 // If we have getComputedStyle
5458 getComputedStyle ?
5459 // Query it
5460 // TODO: From CSS-Query notes, we might need (node, null) for FF
5461 getComputedStyle(el) :
5462
5463 // Otherwise, we are in IE and use currentStyle
5464 el.currentStyle
5465 )[
5466 // Switch to camelCase for CSSOM
5467 // DEV: Grabbed from jQuery
5468 // https://github.com/jquery/jquery/blob/1.9-stable/src/css.js#L191-L194
5469 // https://github.com/jquery/jquery/blob/1.9-stable/src/core.js#L593-L597
5470 prop.replace(/-(\w)/gi, function (word, letter) {
5471 return letter.toUpperCase();
5472 })
5473 ];
5474};
5475
5476var computedStyle_commonjs = computedStyle;
5477
5478// Load in dependencies
5479
5480
5481/**
5482 * Calculate the `line-height` of a given node
5483 * @param {HTMLElement} node Element to calculate line height of. Must be in the DOM.
5484 * @returns {Number} `line-height` of the element in pixels
5485 */
5486function lineHeight(node) {
5487 // Grab the line-height via style
5488 var lnHeightStr = computedStyle_commonjs(node, 'line-height');
5489 var lnHeight = parseFloat(lnHeightStr, 10);
5490
5491 // If the lineHeight did not contain a unit (i.e. it was numeric), convert it to ems (e.g. '2.3' === '2.3em')
5492 if (lnHeightStr === lnHeight + '') {
5493 // Save the old lineHeight style and update the em unit to the element
5494 var _lnHeightStyle = node.style.lineHeight;
5495 node.style.lineHeight = lnHeightStr + 'em';
5496
5497 // Calculate the em based height
5498 lnHeightStr = computedStyle_commonjs(node, 'line-height');
5499 lnHeight = parseFloat(lnHeightStr, 10);
5500
5501 // Revert the lineHeight style
5502 if (_lnHeightStyle) {
5503 node.style.lineHeight = _lnHeightStyle;
5504 } else {
5505 delete node.style.lineHeight;
5506 }
5507 }
5508
5509 // If the lineHeight is in `pt`, convert it to pixels (4px for 3pt)
5510 // DEV: `em` units are converted to `pt` in IE6
5511 // Conversion ratio from https://developer.mozilla.org/en-US/docs/Web/CSS/length
5512 if (lnHeightStr.indexOf('pt') !== -1) {
5513 lnHeight *= 4;
5514 lnHeight /= 3;
5515 // Otherwise, if the lineHeight is in `mm`, convert it to pixels (96px for 25.4mm)
5516 } else if (lnHeightStr.indexOf('mm') !== -1) {
5517 lnHeight *= 96;
5518 lnHeight /= 25.4;
5519 // Otherwise, if the lineHeight is in `cm`, convert it to pixels (96px for 2.54cm)
5520 } else if (lnHeightStr.indexOf('cm') !== -1) {
5521 lnHeight *= 96;
5522 lnHeight /= 2.54;
5523 // Otherwise, if the lineHeight is in `in`, convert it to pixels (96px for 1in)
5524 } else if (lnHeightStr.indexOf('in') !== -1) {
5525 lnHeight *= 96;
5526 // Otherwise, if the lineHeight is in `pc`, convert it to pixels (12pt for 1pc)
5527 } else if (lnHeightStr.indexOf('pc') !== -1) {
5528 lnHeight *= 16;
5529 }
5530
5531 // Continue our computation
5532 lnHeight = Math.round(lnHeight);
5533
5534 // If the line-height is "normal", calculate by font-size
5535 if (lnHeightStr === 'normal') {
5536 // Create a temporary node
5537 var nodeName = node.nodeName;
5538 var _node = document.createElement(nodeName);
5539 _node.innerHTML = '&nbsp;';
5540
5541 // If we have a text area, reset it to only 1 row
5542 // https://github.com/twolfson/line-height/issues/4
5543 if (nodeName.toUpperCase() === 'TEXTAREA') {
5544 _node.setAttribute('rows', '1');
5545 }
5546
5547 // Set the font-size of the element
5548 var fontSizeStr = computedStyle_commonjs(node, 'font-size');
5549 _node.style.fontSize = fontSizeStr;
5550
5551 // Remove default padding/border which can affect offset height
5552 // https://github.com/twolfson/line-height/issues/4
5553 // https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetHeight
5554 _node.style.padding = '0px';
5555 _node.style.border = '0px';
5556
5557 // Append it to the body
5558 var body = document.body;
5559 body.appendChild(_node);
5560
5561 // Assume the line height of the element is the height
5562 var height = _node.offsetHeight;
5563 lnHeight = height;
5564
5565 // Remove our child from the DOM
5566 body.removeChild(_node);
5567 }
5568
5569 // Return the calculated height
5570 return lnHeight;
5571}
5572
5573// Export lineHeight
5574var lineHeight_1 = lineHeight;
5575
5576var TextareaAutosize_1 = createCommonjsModule(function (module, exports) {
5577'use strict';
5578
5579Object.defineProperty(exports, "__esModule", {
5580 value: true
5581});
5582exports.default = undefined;
5583
5584var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
5585
5586var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
5587
5588var _class, _temp2;
5589
5590
5591
5592var _react2 = _interopRequireDefault(React);
5593
5594
5595
5596var _propTypes2 = _interopRequireDefault(PropTypes);
5597
5598
5599
5600var _autosize2 = _interopRequireDefault(autosize);
5601
5602
5603
5604var _lineHeight2 = _interopRequireDefault(lineHeight_1);
5605
5606function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
5607
5608function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
5609
5610function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
5611
5612function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
5613
5614function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
5615
5616var UPDATE = 'autosize:update',
5617 DESTROY = 'autosize:destroy',
5618 RESIZED = 'autosize:resized';
5619
5620/** A light replacement for built-in textarea component
5621 * which automaticaly adjusts its height to match the content
5622 * @param onResize - called whenever the textarea resizes
5623 * @param rows - minimum number of visible rows
5624 * @param maxRows - maximum number of visible rows
5625 * @param innerRef - called with the ref to the DOM node
5626 */
5627var TextareaAutosize = (_temp2 = _class = function (_React$Component) {
5628 _inherits(TextareaAutosize, _React$Component);
5629
5630 function TextareaAutosize() {
5631 var _ref;
5632
5633 var _temp, _this, _ret;
5634
5635 _classCallCheck(this, TextareaAutosize);
5636
5637 for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
5638 args[_key] = arguments[_key];
5639 }
5640
5641 return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = TextareaAutosize.__proto__ || Object.getPrototypeOf(TextareaAutosize)).call.apply(_ref, [this].concat(args))), _this), _this.state = {
5642 lineHeight: null
5643 }, _this.dispatchEvent = function (EVENT_TYPE) {
5644 var event = document.createEvent('Event');
5645 event.initEvent(EVENT_TYPE, true, false);
5646
5647 _this.textarea.dispatchEvent(event);
5648 }, _this.getValue = function (_ref2) {
5649 var valueLink = _ref2.valueLink,
5650 value = _ref2.value;
5651 return valueLink ? valueLink.value : value;
5652 }, _this.updateLineHeight = function () {
5653 _this.setState({
5654 lineHeight: (0, _lineHeight2.default)(_this.textarea)
5655 });
5656 }, _this.onChange = function (e) {
5657 _this.currentValue = e.target.value;
5658 _this.props.onChange && _this.props.onChange(e);
5659 }, _this.saveDOMNodeRef = function (ref) {
5660 var innerRef = _this.props.innerRef;
5661
5662
5663 if (innerRef) {
5664 innerRef(ref);
5665 }
5666
5667 _this.textarea = ref;
5668 }, _this.getLocals = function () {
5669 var _this2 = _this,
5670 _this2$props = _this2.props,
5671 onResize = _this2$props.onResize,
5672 maxRows = _this2$props.maxRows,
5673 onChange = _this2$props.onChange,
5674 style = _this2$props.style,
5675 innerRef = _this2$props.innerRef,
5676 props = _objectWithoutProperties(_this2$props, ['onResize', 'maxRows', 'onChange', 'style', 'innerRef']),
5677 lineHeight = _this2.state.lineHeight,
5678 saveDOMNodeRef = _this2.saveDOMNodeRef;
5679
5680 var maxHeight = maxRows && lineHeight ? lineHeight * maxRows : null;
5681
5682 return _extends({}, props, {
5683 saveDOMNodeRef: saveDOMNodeRef,
5684 style: maxHeight ? _extends({}, style, { maxHeight: maxHeight }) : style,
5685 onChange: _this.onChange
5686 });
5687 }, _temp), _possibleConstructorReturn(_this, _ret);
5688 }
5689
5690 _createClass(TextareaAutosize, [{
5691 key: 'componentDidMount',
5692 value: function componentDidMount() {
5693 var _this3 = this;
5694
5695 var _props = this.props,
5696 onResize = _props.onResize,
5697 maxRows = _props.maxRows;
5698
5699
5700 if (typeof maxRows === 'number') {
5701 this.updateLineHeight();
5702
5703 // this trick is needed to force "autosize" to activate the scrollbar
5704 setTimeout(function () {
5705 return (0, _autosize2.default)(_this3.textarea);
5706 });
5707 } else {
5708 (0, _autosize2.default)(this.textarea);
5709 }
5710
5711 if (onResize) {
5712 this.textarea.addEventListener(RESIZED, this.props.onResize);
5713 }
5714 }
5715 }, {
5716 key: 'componentWillUnmount',
5717 value: function componentWillUnmount() {
5718 if (this.props.onResize) {
5719 this.textarea.removeEventListener(RESIZED, this.props.onResize);
5720 }
5721 this.dispatchEvent(DESTROY);
5722 }
5723 }, {
5724 key: 'render',
5725 value: function render() {
5726 var _getLocals = this.getLocals(),
5727 children = _getLocals.children,
5728 saveDOMNodeRef = _getLocals.saveDOMNodeRef,
5729 locals = _objectWithoutProperties(_getLocals, ['children', 'saveDOMNodeRef']);
5730
5731 return _react2.default.createElement(
5732 'textarea',
5733 _extends({}, locals, { ref: saveDOMNodeRef }),
5734 children
5735 );
5736 }
5737 }, {
5738 key: 'componentDidUpdate',
5739 value: function componentDidUpdate() {
5740 if (this.getValue(this.props) !== this.currentValue) {
5741 this.dispatchEvent(UPDATE);
5742 }
5743 }
5744 }]);
5745
5746 return TextareaAutosize;
5747}(_react2.default.Component), _class.defaultProps = {
5748 rows: 1
5749}, _temp2);
5750exports.default = TextareaAutosize;
5751
5752
5753TextareaAutosize.propTypes = {
5754 rows: _propTypes2.default.number,
5755 maxRows: _propTypes2.default.number,
5756 onResize: _propTypes2.default.func,
5757 innerRef: _propTypes2.default.func
5758};
5759});
5760
5761unwrapExports(TextareaAutosize_1);
5762
5763var lib = createCommonjsModule(function (module, exports) {
5764'use strict';
5765
5766Object.defineProperty(exports, "__esModule", {
5767 value: true
5768});
5769exports.default = undefined;
5770
5771
5772
5773var _TextareaAutosize2 = _interopRequireDefault(TextareaAutosize_1);
5774
5775function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
5776
5777exports.default = _TextareaAutosize2.default;
5778});
5779
5780var AutosizeTextarea = unwrapExports(lib);
5781
5782var lib$1 = createCommonjsModule(function (module, exports) {
5783"use strict";
5784
5785Object.defineProperty(exports, "__esModule", {
5786 value: true
5787});
5788exports.default = filterReactDomProps;
5789var DOMProps = {
5790 "abbr": "abbr",
5791 "accept": "accept",
5792 "acceptCharset": "accept-charset",
5793 "accessKey": "accesskey",
5794 "action": "action",
5795 "allowFullScreen": "allowfullscreen",
5796 "allowTransparency": "allowtransparency",
5797 "alt": "alt",
5798 "async": "async",
5799 "autoComplete": "autocomplete",
5800 "autoFocus": "autofocus",
5801 "autoPlay": "autoplay",
5802 "cellPadding": "cellpadding",
5803 "cellSpacing": "cellspacing",
5804 "challenge": "challenge",
5805 "charset": "charset",
5806 "checked": "checked",
5807 "cite": "cite",
5808 "class": "class",
5809 "className": "class",
5810 "cols": "cols",
5811 "colSpan": "colspan",
5812 "command": "command",
5813 "content": "content",
5814 "contentEditable": "contenteditable",
5815 "contextMenu": "contextmenu",
5816 "controls": "controls",
5817 "coords": "coords",
5818 "crossOrigin": "crossorigin",
5819 "data": "data",
5820 "dateTime": "datetime",
5821 "default": "default",
5822 "defer": "defer",
5823 "dir": "dir",
5824 "disabled": "disabled",
5825 "download": "download",
5826 "draggable": "draggable",
5827 "dropzone": "dropzone",
5828 "encType": "enctype",
5829 "for": "for",
5830 "form": "form",
5831 "formAction": "formaction",
5832 "formEncType": "formenctype",
5833 "formMethod": "formmethod",
5834 "formNoValidate": "formnovalidate",
5835 "formTarget": "formtarget",
5836 "frameBorder": "frameBorder",
5837 "headers": "headers",
5838 "height": "height",
5839 "hidden": "hidden",
5840 "high": "high",
5841 "href": "href",
5842 "hrefLang": "hreflang",
5843 "htmlFor": "for",
5844 "httpEquiv": "http-equiv",
5845 "icon": "icon",
5846 "id": "id",
5847 "inputMode": "inputmode",
5848 "isMap": "ismap",
5849 "itemId": "itemid",
5850 "itemProp": "itemprop",
5851 "itemRef": "itemref",
5852 "itemScope": "itemscope",
5853 "itemType": "itemtype",
5854 "kind": "kind",
5855 "label": "label",
5856 "lang": "lang",
5857 "list": "list",
5858 "loop": "loop",
5859 "manifest": "manifest",
5860 "max": "max",
5861 "maxLength": "maxlength",
5862 "media": "media",
5863 "mediaGroup": "mediagroup",
5864 "method": "method",
5865 "min": "min",
5866 "minLength": "minlength",
5867 "multiple": "multiple",
5868 "muted": "muted",
5869 "name": "name",
5870 "noValidate": "novalidate",
5871 "open": "open",
5872 "optimum": "optimum",
5873 "pattern": "pattern",
5874 "ping": "ping",
5875 "placeholder": "placeholder",
5876 "poster": "poster",
5877 "preload": "preload",
5878 "radioGroup": "radiogroup",
5879 "readOnly": "readonly",
5880 "rel": "rel",
5881 "required": "required",
5882 "role": "role",
5883 "rows": "rows",
5884 "rowSpan": "rowspan",
5885 "sandbox": "sandbox",
5886 "scope": "scope",
5887 "scoped": "scoped",
5888 "scrolling": "scrolling",
5889 "seamless": "seamless",
5890 "selected": "selected",
5891 "shape": "shape",
5892 "size": "size",
5893 "sizes": "sizes",
5894 "sortable": "sortable",
5895 "span": "span",
5896 "spellCheck": "spellcheck",
5897 "src": "src",
5898 "srcDoc": "srcdoc",
5899 "srcSet": "srcset",
5900 "start": "start",
5901 "step": "step",
5902 "style": "style",
5903 "tabIndex": "tabindex",
5904 "target": "target",
5905 "title": "title",
5906 "translate": "translate",
5907 "type": "type",
5908 "typeMustMatch": "typemustmatch",
5909 "useMap": "usemap",
5910 "value": "value",
5911 "width": "width",
5912 "wmode": "wmode",
5913 "wrap": "wrap",
5914 "onCopy": "onCopy",
5915 "onCut": "onCut",
5916 "onPaste": "onPaste",
5917 "onLoad": "onLoad",
5918 "onError": "onError",
5919 "onWheel": "onWheel",
5920 "onScroll": "onScroll",
5921 "onCompositionEnd": "onCompositionEnd",
5922 "onCompositionStart": "onCompositionStart",
5923 "onCompositionUpdate": "onCompositionUpdate",
5924 "onKeyDown": "onKeyDown",
5925 "onKeyPress": "onKeyPress",
5926 "onKeyUp": "onKeyUp",
5927 "onFocus": "onFocus",
5928 "onBlur": "onBlur",
5929 "onChange": "onChange",
5930 "onInput": "onInput",
5931 "onSubmit": "onSubmit",
5932 "onClick": "onClick",
5933 "onContextMenu": "onContextMenu",
5934 "onDoubleClick": "onDoubleClick",
5935 "onDrag": "onDrag",
5936 "onDragEnd": "onDragEnd",
5937 "onDragEnter": "onDragEnter",
5938 "onDragExit": "onDragExit",
5939 "onDragLeave": "onDragLeave",
5940 "onDragOver": "onDragOver",
5941 "onDragStart": "onDragStart",
5942 "onDrop": "onDrop",
5943 "onMouseDown": "onMouseDown",
5944 "onMouseEnter": "onMouseEnter",
5945 "onMouseLeave": "onMouseLeave",
5946 "onMouseMove": "onMouseMove",
5947 "onMouseOut": "onMouseOut",
5948 "onMouseOver": "onMouseOver",
5949 "onMouseUp": "onMouseUp",
5950 "onSelect": "onSelect",
5951 "onTouchCancel": "onTouchCancel",
5952 "onTouchEnd": "onTouchEnd",
5953 "onTouchMove": "onTouchMove",
5954 "onTouchStart": "onTouchStart",
5955 "onAnimationStart": "onAnimationStart",
5956 "onAnimationEnd": "onAnimationEnd",
5957 "onAnimationIteration": "onAnimationIteration",
5958 "onTransitionEnd": "onTransitionEnd"
5959};
5960
5961function filterReactDomProps(props) {
5962 var filterProps = {};
5963
5964 for (var prop in props) {
5965 if (props.hasOwnProperty(prop) && DOMProps[prop]) {
5966 filterProps[prop] = props[prop];
5967 }
5968 }
5969 return filterProps;
5970}
5971});
5972
5973var filterReactDomProps = unwrapExports(lib$1);
5974
5975var StyledTextarea = styled(AutosizeTextarea).withConfig({
5976 displayName: 'textarea__StyledTextarea',
5977 componentId: 's15dqnkm-0'
5978})([['{width:', function (props) {
5979 return props.width || 'auto';
5980}, ';', fontSize(2), ';line-height:1.45;font-weight:300;padding:1em;border:none;border-radius:3px;border:1px solid ', function (props) {
5981 return props.theme.color.grey.dim;
5982}, ';box-shadow:0px 2px 0px 0px rgba(0,0,0,0.16);height:', function (props) {
5983 return props.height || '10em';
5984}, ';resize:none;}'], [':focus,'], [':active{outline:0;border-color:', function (props) {
5985 return props.theme.colors.black;
5986}, ';}']]);
5987
5988var Textarea = function Textarea(props) {
5989 return React.createElement(StyledTextarea, _extends({}, filterReactDomProps(props), { value: props.value || '' }));
5990};
5991
5992var _templateObject$3 = taggedTemplateLiteral(['font-size: 1em'], ['font-size: 1em']);
5993var _templateObject2 = taggedTemplateLiteral(['font-size: 1.25em'], ['font-size: 1.25em']);
5994var _templateObject3 = taggedTemplateLiteral(['font-size: 1.125em'], ['font-size: 1.125em']);
5995var _templateObject4 = taggedTemplateLiteral(['font-size: 1.5em;'], ['font-size: 1.5em;']);
5996var _templateObject5 = taggedTemplateLiteral(['font-size: 1.875em;'], ['font-size: 1.875em;']);
5997
5998var Paragraph = styled.p.withConfig({
5999 displayName: 'paragraph__Paragraph',
6000 componentId: 's446idw-0'
6001})([['{font-size:0.875em;font-family:', function (props) {
6002 return props.theme.font.base;
6003}, ';font-weight:300;line-height:1.4;margin:0;margin-bottom:1em;', media.small(_templateObject$3), ' ', media.medium(_templateObject2), ' ', media.large(_templateObject3), ';}']]);
6004
6005var Lead = styled.p.withConfig({
6006 displayName: 'paragraph__Lead',
6007 componentId: 's446idw-1'
6008})([['{font-size:1.125em;font-family:', function (props) {
6009 return props.theme.font.header;
6010}, ';font-weight:400;line-height:1.3;margin:0;margin-bottom:1.5em;', media.medium(_templateObject4), ' ', media.extraLarge(_templateObject5), ';}']]);
6011
6012// main function
6013var zpad = function (n, m, c) {
6014 if (!m) m = zpad._amount;
6015 if (!c) c = zpad._character;
6016 if (m < 1) m = 1;
6017 n = "" + n;
6018 m -= n.length;
6019 while (m-- > 0) n = c + n;
6020 return n;
6021};
6022
6023// properties
6024zpad._amount = 2;
6025zpad._character = '0';
6026
6027// 'amount' getter/setter
6028zpad.amount = function (m) {
6029 if (m) {
6030 zpad._amount = m;
6031 return zpad; // return main function for chaining
6032 } else {
6033 return zpad._amount;
6034 }
6035};
6036
6037// 'character' getter/setter
6038zpad.character = function (c) {
6039 if (c) {
6040 zpad._character = c;
6041 return zpad; // return main function for chaining
6042 } else {
6043 return zpad._character;
6044 }
6045};
6046
6047var zpad_1 = zpad;
6048
6049var Label$3 = styled.div.withConfig({
6050 displayName: 'label',
6051 componentId: 'v5h8hm-0'
6052})([['{position:absolute;top:0;z-index:5;text-align:center;width:100%;font-family:', function (props) {
6053 return props.theme.font.header;
6054}, ';font-size:2.5em;line-height:1.1;color:', function (props) {
6055 return props.theme.canvasDim;
6056}, ';}']]);
6057
6058var Clock = styled.div.withConfig({
6059 displayName: 'clock__Clock',
6060 componentId: 'ihqbcy-0'
6061})([['{position:relative;z-index:10;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}']]);
6062
6063var Unit = styled.div.withConfig({
6064 displayName: 'clock__Unit',
6065 componentId: 'ihqbcy-1'
6066})([['{text-align:center;}']]);
6067
6068var UnitLabel = styled.div.withConfig({
6069 displayName: 'clock__UnitLabel',
6070 componentId: 'ihqbcy-2'
6071})([['{display:block;font-family:', function (props) {
6072 return props.theme.font.base;
6073}, ';font-size:0.875em;color:', function (props) {
6074 return props.theme.dark;
6075}, ';}']]);
6076
6077var UnitAmount = styled.div.withConfig({
6078 displayName: 'clock__UnitAmount',
6079 componentId: 'ihqbcy-3'
6080})([['{display:block;font-family:', function (props) {
6081 return props.theme.font.header;
6082}, ';font-size:2.5em;color:', function (props) {
6083 return props.theme.dark;
6084}, ';min-width:1.5em;}']]);
6085
6086var DAY = 60 * 60 * 24;
6087var HOUR = 60 * 60;
6088var MINUTE = 60;
6089var SECOND = 1;
6090
6091/**
6092 * Get the difference between the start and the end time.
6093 * For the countdown we need the days in absolute amounts, and the
6094 * hours, minutes & seconds relative.
6095 *
6096 * If there is no end date passed in, we grab the current time.
6097 *
6098 * @param {String} start
6099 * @param {String} end
6100 * @return {Object}
6101 */
6102function differenceInDays(start, end) {
6103 var startDate = start ? new Date(start) : new Date();
6104 var endDate = end ? new Date(end) : new Date();
6105 var difference = Math.abs(endDate.getTime() - startDate.getTime()) / 1000;
6106
6107 var days = Math.floor(difference / DAY);
6108 var hours = Math.floor((difference - days * DAY) / HOUR);
6109 var minutes = Math.floor((difference - days * DAY - hours * HOUR) / MINUTE);
6110 var seconds = Math.floor((difference - days * DAY - hours * HOUR - minutes * MINUTE) / SECOND);
6111
6112 return {
6113 days: days,
6114 hours: hours,
6115 minutes: minutes,
6116 seconds: seconds
6117 };
6118}
6119
6120var Countdown = function (_Component) {
6121 inherits(Countdown, _Component);
6122
6123 function Countdown() {
6124 var _ref;
6125
6126 var _temp, _this, _ret;
6127
6128 classCallCheck(this, Countdown);
6129
6130 for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
6131 args[_key] = arguments[_key];
6132 }
6133
6134 return _ret = (_temp = (_this = possibleConstructorReturn(this, (_ref = Countdown.__proto__ || Object.getPrototypeOf(Countdown)).call.apply(_ref, [this].concat(args))), _this), _this.state = {
6135 diff: differenceInDays(_this.props.date, _this.props.now)
6136 }, _temp), possibleConstructorReturn(_this, _ret);
6137 }
6138 /**
6139 * Define the proptypes of the component.
6140 * @type {Object}
6141 */
6142
6143
6144 /**
6145 * Define the initial state of the component.
6146 * @type {Object}
6147 */
6148
6149
6150 createClass(Countdown, [{
6151 key: 'componentDidMount',
6152
6153
6154 /**
6155 * Invoked when the component is mounted.
6156 *
6157 * @return {void}
6158 */
6159 value: function componentDidMount() {
6160 var _this2 = this;
6161
6162 this.timer = setInterval(function () {
6163 _this2.setState({
6164 diff: differenceInDays(_this2.props.date, _this2.props.now)
6165 });
6166 });
6167 }
6168
6169 /**
6170 * Invoked when the component will unmount.
6171 *
6172 * @return {void}
6173 */
6174
6175 }, {
6176 key: 'componentWillUnmount',
6177 value: function componentWillUnmount() {
6178 clearInterval(this.timer);
6179 }
6180
6181 /**
6182 * Render the component
6183 *
6184 * @return {ReactElement}
6185 */
6186
6187 }, {
6188 key: 'render',
6189 value: function render() {
6190 var diff = this.state.diff;
6191 var _props = this.props,
6192 label = _props.label,
6193 className = _props.className;
6194
6195
6196 return React.createElement(
6197 'div',
6198 { className: className },
6199 React.createElement(
6200 Label$3,
6201 null,
6202 label
6203 ),
6204 React.createElement(
6205 Clock,
6206 null,
6207 React.createElement(
6208 Unit,
6209 null,
6210 React.createElement(
6211 UnitAmount,
6212 null,
6213 diff.days
6214 ),
6215 React.createElement(
6216 UnitLabel,
6217 null,
6218 'days'
6219 )
6220 ),
6221 React.createElement(
6222 Unit,
6223 null,
6224 React.createElement(
6225 UnitAmount,
6226 null,
6227 zpad_1(diff.hours)
6228 ),
6229 React.createElement(
6230 UnitLabel,
6231 null,
6232 'hrs'
6233 )
6234 ),
6235 React.createElement(
6236 Unit,
6237 null,
6238 React.createElement(
6239 UnitAmount,
6240 null,
6241 zpad_1(diff.minutes)
6242 ),
6243 React.createElement(
6244 UnitLabel,
6245 null,
6246 'min'
6247 )
6248 ),
6249 React.createElement(
6250 Unit,
6251 null,
6252 React.createElement(
6253 UnitAmount,
6254 null,
6255 zpad_1(diff.seconds)
6256 ),
6257 React.createElement(
6258 UnitLabel,
6259 null,
6260 'sec'
6261 )
6262 )
6263 )
6264 );
6265 }
6266 }]);
6267 return Countdown;
6268}(Component);
6269
6270Countdown.propTypes = {
6271 now: PropTypes.string,
6272 className: PropTypes.string,
6273 date: PropTypes.string.isRequired,
6274 label: PropTypes.string.isRequired
6275};
6276styled(Countdown).withConfig({
6277 displayName: 'countdown',
6278 componentId: 's1m9xmxa-0'
6279})([['{display:block;position:relative;padding-top:1.5em;}']]);
6280
6281/**
6282 * Checks if `value` is classified as an `Array` object.
6283 *
6284 * @static
6285 * @memberOf _
6286 * @since 0.1.0
6287 * @category Lang
6288 * @param {*} value The value to check.
6289 * @returns {boolean} Returns `true` if `value` is an array, else `false`.
6290 * @example
6291 *
6292 * _.isArray([1, 2, 3]);
6293 * // => true
6294 *
6295 * _.isArray(document.body.children);
6296 * // => false
6297 *
6298 * _.isArray('abc');
6299 * // => false
6300 *
6301 * _.isArray(_.noop);
6302 * // => false
6303 */
6304var isArray = Array.isArray;
6305
6306var isArray_1 = isArray;
6307
6308/** Used to match property names within property paths. */
6309var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/;
6310var reIsPlainProp = /^\w*$/;
6311
6312/**
6313 * Checks if `value` is a property name and not a property path.
6314 *
6315 * @private
6316 * @param {*} value The value to check.
6317 * @param {Object} [object] The object to query keys on.
6318 * @returns {boolean} Returns `true` if `value` is a property name, else `false`.
6319 */
6320function isKey(value, object) {
6321 if (isArray_1(value)) {
6322 return false;
6323 }
6324 var type = typeof value;
6325 if (type == 'number' || type == 'symbol' || type == 'boolean' ||
6326 value == null || isSymbol_1(value)) {
6327 return true;
6328 }
6329 return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||
6330 (object != null && value in Object(object));
6331}
6332
6333var _isKey = isKey;
6334
6335/** `Object#toString` result references. */
6336var asyncTag = '[object AsyncFunction]';
6337var funcTag = '[object Function]';
6338var genTag = '[object GeneratorFunction]';
6339var proxyTag = '[object Proxy]';
6340
6341/**
6342 * Checks if `value` is classified as a `Function` object.
6343 *
6344 * @static
6345 * @memberOf _
6346 * @since 0.1.0
6347 * @category Lang
6348 * @param {*} value The value to check.
6349 * @returns {boolean} Returns `true` if `value` is a function, else `false`.
6350 * @example
6351 *
6352 * _.isFunction(_);
6353 * // => true
6354 *
6355 * _.isFunction(/abc/);
6356 * // => false
6357 */
6358function isFunction(value) {
6359 if (!isObject_1(value)) {
6360 return false;
6361 }
6362 // The use of `Object#toString` avoids issues with the `typeof` operator
6363 // in Safari 9 which returns 'object' for typed arrays and other constructors.
6364 var tag = _baseGetTag(value);
6365 return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
6366}
6367
6368var isFunction_1 = isFunction;
6369
6370/** Used to detect overreaching core-js shims. */
6371var coreJsData = _root['__core-js_shared__'];
6372
6373var _coreJsData = coreJsData;
6374
6375/** Used to detect methods masquerading as native. */
6376var maskSrcKey = (function() {
6377 var uid = /[^.]+$/.exec(_coreJsData && _coreJsData.keys && _coreJsData.keys.IE_PROTO || '');
6378 return uid ? ('Symbol(src)_1.' + uid) : '';
6379}());
6380
6381/**
6382 * Checks if `func` has its source masked.
6383 *
6384 * @private
6385 * @param {Function} func The function to check.
6386 * @returns {boolean} Returns `true` if `func` is masked, else `false`.
6387 */
6388function isMasked(func) {
6389 return !!maskSrcKey && (maskSrcKey in func);
6390}
6391
6392var _isMasked = isMasked;
6393
6394/** Used for built-in method references. */
6395var funcProto$1 = Function.prototype;
6396
6397/** Used to resolve the decompiled source of functions. */
6398var funcToString$1 = funcProto$1.toString;
6399
6400/**
6401 * Converts `func` to its source code.
6402 *
6403 * @private
6404 * @param {Function} func The function to convert.
6405 * @returns {string} Returns the source code.
6406 */
6407function toSource(func) {
6408 if (func != null) {
6409 try {
6410 return funcToString$1.call(func);
6411 } catch (e) {}
6412 try {
6413 return (func + '');
6414 } catch (e) {}
6415 }
6416 return '';
6417}
6418
6419var _toSource = toSource;
6420
6421/**
6422 * Used to match `RegExp`
6423 * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
6424 */
6425var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
6426
6427/** Used to detect host constructors (Safari). */
6428var reIsHostCtor = /^\[object .+?Constructor\]$/;
6429
6430/** Used for built-in method references. */
6431var funcProto = Function.prototype;
6432var objectProto$2 = Object.prototype;
6433
6434/** Used to resolve the decompiled source of functions. */
6435var funcToString = funcProto.toString;
6436
6437/** Used to check objects for own properties. */
6438var hasOwnProperty$1 = objectProto$2.hasOwnProperty;
6439
6440/** Used to detect if a method is native. */
6441var reIsNative = RegExp('^' +
6442 funcToString.call(hasOwnProperty$1).replace(reRegExpChar, '\\$&')
6443 .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
6444);
6445
6446/**
6447 * The base implementation of `_.isNative` without bad shim checks.
6448 *
6449 * @private
6450 * @param {*} value The value to check.
6451 * @returns {boolean} Returns `true` if `value` is a native function,
6452 * else `false`.
6453 */
6454function baseIsNative(value) {
6455 if (!isObject_1(value) || _isMasked(value)) {
6456 return false;
6457 }
6458 var pattern = isFunction_1(value) ? reIsNative : reIsHostCtor;
6459 return pattern.test(_toSource(value));
6460}
6461
6462var _baseIsNative = baseIsNative;
6463
6464/**
6465 * Gets the value at `key` of `object`.
6466 *
6467 * @private
6468 * @param {Object} [object] The object to query.
6469 * @param {string} key The key of the property to get.
6470 * @returns {*} Returns the property value.
6471 */
6472function getValue(object, key) {
6473 return object == null ? undefined : object[key];
6474}
6475
6476var _getValue = getValue;
6477
6478/**
6479 * Gets the native function at `key` of `object`.
6480 *
6481 * @private
6482 * @param {Object} object The object to query.
6483 * @param {string} key The key of the method to get.
6484 * @returns {*} Returns the function if it's native, else `undefined`.
6485 */
6486function getNative(object, key) {
6487 var value = _getValue(object, key);
6488 return _baseIsNative(value) ? value : undefined;
6489}
6490
6491var _getNative = getNative;
6492
6493/* Built-in method references that are verified to be native. */
6494var nativeCreate = _getNative(Object, 'create');
6495
6496var _nativeCreate = nativeCreate;
6497
6498/**
6499 * Removes all key-value entries from the hash.
6500 *
6501 * @private
6502 * @name clear
6503 * @memberOf Hash
6504 */
6505function hashClear() {
6506 this.__data__ = _nativeCreate ? _nativeCreate(null) : {};
6507 this.size = 0;
6508}
6509
6510var _hashClear = hashClear;
6511
6512/**
6513 * Removes `key` and its value from the hash.
6514 *
6515 * @private
6516 * @name delete
6517 * @memberOf Hash
6518 * @param {Object} hash The hash to modify.
6519 * @param {string} key The key of the value to remove.
6520 * @returns {boolean} Returns `true` if the entry was removed, else `false`.
6521 */
6522function hashDelete(key) {
6523 var result = this.has(key) && delete this.__data__[key];
6524 this.size -= result ? 1 : 0;
6525 return result;
6526}
6527
6528var _hashDelete = hashDelete;
6529
6530/** Used to stand-in for `undefined` hash values. */
6531var HASH_UNDEFINED = '__lodash_hash_undefined__';
6532
6533/** Used for built-in method references. */
6534var objectProto$3 = Object.prototype;
6535
6536/** Used to check objects for own properties. */
6537var hasOwnProperty$2 = objectProto$3.hasOwnProperty;
6538
6539/**
6540 * Gets the hash value for `key`.
6541 *
6542 * @private
6543 * @name get
6544 * @memberOf Hash
6545 * @param {string} key The key of the value to get.
6546 * @returns {*} Returns the entry value.
6547 */
6548function hashGet(key) {
6549 var data = this.__data__;
6550 if (_nativeCreate) {
6551 var result = data[key];
6552 return result === HASH_UNDEFINED ? undefined : result;
6553 }
6554 return hasOwnProperty$2.call(data, key) ? data[key] : undefined;
6555}
6556
6557var _hashGet = hashGet;
6558
6559/** Used for built-in method references. */
6560var objectProto$4 = Object.prototype;
6561
6562/** Used to check objects for own properties. */
6563var hasOwnProperty$3 = objectProto$4.hasOwnProperty;
6564
6565/**
6566 * Checks if a hash value for `key` exists.
6567 *
6568 * @private
6569 * @name has
6570 * @memberOf Hash
6571 * @param {string} key The key of the entry to check.
6572 * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
6573 */
6574function hashHas(key) {
6575 var data = this.__data__;
6576 return _nativeCreate ? (data[key] !== undefined) : hasOwnProperty$3.call(data, key);
6577}
6578
6579var _hashHas = hashHas;
6580
6581/** Used to stand-in for `undefined` hash values. */
6582var HASH_UNDEFINED$1 = '__lodash_hash_undefined__';
6583
6584/**
6585 * Sets the hash `key` to `value`.
6586 *
6587 * @private
6588 * @name set
6589 * @memberOf Hash
6590 * @param {string} key The key of the value to set.
6591 * @param {*} value The value to set.
6592 * @returns {Object} Returns the hash instance.
6593 */
6594function hashSet(key, value) {
6595 var data = this.__data__;
6596 this.size += this.has(key) ? 0 : 1;
6597 data[key] = (_nativeCreate && value === undefined) ? HASH_UNDEFINED$1 : value;
6598 return this;
6599}
6600
6601var _hashSet = hashSet;
6602
6603/**
6604 * Creates a hash object.
6605 *
6606 * @private
6607 * @constructor
6608 * @param {Array} [entries] The key-value pairs to cache.
6609 */
6610function Hash(entries) {
6611 var index = -1,
6612 length = entries == null ? 0 : entries.length;
6613
6614 this.clear();
6615 while (++index < length) {
6616 var entry = entries[index];
6617 this.set(entry[0], entry[1]);
6618 }
6619}
6620
6621// Add methods to `Hash`.
6622Hash.prototype.clear = _hashClear;
6623Hash.prototype['delete'] = _hashDelete;
6624Hash.prototype.get = _hashGet;
6625Hash.prototype.has = _hashHas;
6626Hash.prototype.set = _hashSet;
6627
6628var _Hash = Hash;
6629
6630/**
6631 * Removes all key-value entries from the list cache.
6632 *
6633 * @private
6634 * @name clear
6635 * @memberOf ListCache
6636 */
6637function listCacheClear() {
6638 this.__data__ = [];
6639 this.size = 0;
6640}
6641
6642var _listCacheClear = listCacheClear;
6643
6644/**
6645 * Performs a
6646 * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
6647 * comparison between two values to determine if they are equivalent.
6648 *
6649 * @static
6650 * @memberOf _
6651 * @since 4.0.0
6652 * @category Lang
6653 * @param {*} value The value to compare.
6654 * @param {*} other The other value to compare.
6655 * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
6656 * @example
6657 *
6658 * var object = { 'a': 1 };
6659 * var other = { 'a': 1 };
6660 *
6661 * _.eq(object, object);
6662 * // => true
6663 *
6664 * _.eq(object, other);
6665 * // => false
6666 *
6667 * _.eq('a', 'a');
6668 * // => true
6669 *
6670 * _.eq('a', Object('a'));
6671 * // => false
6672 *
6673 * _.eq(NaN, NaN);
6674 * // => true
6675 */
6676function eq(value, other) {
6677 return value === other || (value !== value && other !== other);
6678}
6679
6680var eq_1 = eq;
6681
6682/**
6683 * Gets the index at which the `key` is found in `array` of key-value pairs.
6684 *
6685 * @private
6686 * @param {Array} array The array to inspect.
6687 * @param {*} key The key to search for.
6688 * @returns {number} Returns the index of the matched value, else `-1`.
6689 */
6690function assocIndexOf(array, key) {
6691 var length = array.length;
6692 while (length--) {
6693 if (eq_1(array[length][0], key)) {
6694 return length;
6695 }
6696 }
6697 return -1;
6698}
6699
6700var _assocIndexOf = assocIndexOf;
6701
6702/** Used for built-in method references. */
6703var arrayProto = Array.prototype;
6704
6705/** Built-in value references. */
6706var splice = arrayProto.splice;
6707
6708/**
6709 * Removes `key` and its value from the list cache.
6710 *
6711 * @private
6712 * @name delete
6713 * @memberOf ListCache
6714 * @param {string} key The key of the value to remove.
6715 * @returns {boolean} Returns `true` if the entry was removed, else `false`.
6716 */
6717function listCacheDelete(key) {
6718 var data = this.__data__,
6719 index = _assocIndexOf(data, key);
6720
6721 if (index < 0) {
6722 return false;
6723 }
6724 var lastIndex = data.length - 1;
6725 if (index == lastIndex) {
6726 data.pop();
6727 } else {
6728 splice.call(data, index, 1);
6729 }
6730 --this.size;
6731 return true;
6732}
6733
6734var _listCacheDelete = listCacheDelete;
6735
6736/**
6737 * Gets the list cache value for `key`.
6738 *
6739 * @private
6740 * @name get
6741 * @memberOf ListCache
6742 * @param {string} key The key of the value to get.
6743 * @returns {*} Returns the entry value.
6744 */
6745function listCacheGet(key) {
6746 var data = this.__data__,
6747 index = _assocIndexOf(data, key);
6748
6749 return index < 0 ? undefined : data[index][1];
6750}
6751
6752var _listCacheGet = listCacheGet;
6753
6754/**
6755 * Checks if a list cache value for `key` exists.
6756 *
6757 * @private
6758 * @name has
6759 * @memberOf ListCache
6760 * @param {string} key The key of the entry to check.
6761 * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
6762 */
6763function listCacheHas(key) {
6764 return _assocIndexOf(this.__data__, key) > -1;
6765}
6766
6767var _listCacheHas = listCacheHas;
6768
6769/**
6770 * Sets the list cache `key` to `value`.
6771 *
6772 * @private
6773 * @name set
6774 * @memberOf ListCache
6775 * @param {string} key The key of the value to set.
6776 * @param {*} value The value to set.
6777 * @returns {Object} Returns the list cache instance.
6778 */
6779function listCacheSet(key, value) {
6780 var data = this.__data__,
6781 index = _assocIndexOf(data, key);
6782
6783 if (index < 0) {
6784 ++this.size;
6785 data.push([key, value]);
6786 } else {
6787 data[index][1] = value;
6788 }
6789 return this;
6790}
6791
6792var _listCacheSet = listCacheSet;
6793
6794/**
6795 * Creates an list cache object.
6796 *
6797 * @private
6798 * @constructor
6799 * @param {Array} [entries] The key-value pairs to cache.
6800 */
6801function ListCache(entries) {
6802 var index = -1,
6803 length = entries == null ? 0 : entries.length;
6804
6805 this.clear();
6806 while (++index < length) {
6807 var entry = entries[index];
6808 this.set(entry[0], entry[1]);
6809 }
6810}
6811
6812// Add methods to `ListCache`.
6813ListCache.prototype.clear = _listCacheClear;
6814ListCache.prototype['delete'] = _listCacheDelete;
6815ListCache.prototype.get = _listCacheGet;
6816ListCache.prototype.has = _listCacheHas;
6817ListCache.prototype.set = _listCacheSet;
6818
6819var _ListCache = ListCache;
6820
6821/* Built-in method references that are verified to be native. */
6822var Map$1 = _getNative(_root, 'Map');
6823
6824var _Map = Map$1;
6825
6826/**
6827 * Removes all key-value entries from the map.
6828 *
6829 * @private
6830 * @name clear
6831 * @memberOf MapCache
6832 */
6833function mapCacheClear() {
6834 this.size = 0;
6835 this.__data__ = {
6836 'hash': new _Hash,
6837 'map': new (_Map || _ListCache),
6838 'string': new _Hash
6839 };
6840}
6841
6842var _mapCacheClear = mapCacheClear;
6843
6844/**
6845 * Checks if `value` is suitable for use as unique object key.
6846 *
6847 * @private
6848 * @param {*} value The value to check.
6849 * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
6850 */
6851function isKeyable(value) {
6852 var type = typeof value;
6853 return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
6854 ? (value !== '__proto__')
6855 : (value === null);
6856}
6857
6858var _isKeyable = isKeyable;
6859
6860/**
6861 * Gets the data for `map`.
6862 *
6863 * @private
6864 * @param {Object} map The map to query.
6865 * @param {string} key The reference key.
6866 * @returns {*} Returns the map data.
6867 */
6868function getMapData(map, key) {
6869 var data = map.__data__;
6870 return _isKeyable(key)
6871 ? data[typeof key == 'string' ? 'string' : 'hash']
6872 : data.map;
6873}
6874
6875var _getMapData = getMapData;
6876
6877/**
6878 * Removes `key` and its value from the map.
6879 *
6880 * @private
6881 * @name delete
6882 * @memberOf MapCache
6883 * @param {string} key The key of the value to remove.
6884 * @returns {boolean} Returns `true` if the entry was removed, else `false`.
6885 */
6886function mapCacheDelete(key) {
6887 var result = _getMapData(this, key)['delete'](key);
6888 this.size -= result ? 1 : 0;
6889 return result;
6890}
6891
6892var _mapCacheDelete = mapCacheDelete;
6893
6894/**
6895 * Gets the map value for `key`.
6896 *
6897 * @private
6898 * @name get
6899 * @memberOf MapCache
6900 * @param {string} key The key of the value to get.
6901 * @returns {*} Returns the entry value.
6902 */
6903function mapCacheGet(key) {
6904 return _getMapData(this, key).get(key);
6905}
6906
6907var _mapCacheGet = mapCacheGet;
6908
6909/**
6910 * Checks if a map value for `key` exists.
6911 *
6912 * @private
6913 * @name has
6914 * @memberOf MapCache
6915 * @param {string} key The key of the entry to check.
6916 * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
6917 */
6918function mapCacheHas(key) {
6919 return _getMapData(this, key).has(key);
6920}
6921
6922var _mapCacheHas = mapCacheHas;
6923
6924/**
6925 * Sets the map `key` to `value`.
6926 *
6927 * @private
6928 * @name set
6929 * @memberOf MapCache
6930 * @param {string} key The key of the value to set.
6931 * @param {*} value The value to set.
6932 * @returns {Object} Returns the map cache instance.
6933 */
6934function mapCacheSet(key, value) {
6935 var data = _getMapData(this, key),
6936 size = data.size;
6937
6938 data.set(key, value);
6939 this.size += data.size == size ? 0 : 1;
6940 return this;
6941}
6942
6943var _mapCacheSet = mapCacheSet;
6944
6945/**
6946 * Creates a map cache object to store key-value pairs.
6947 *
6948 * @private
6949 * @constructor
6950 * @param {Array} [entries] The key-value pairs to cache.
6951 */
6952function MapCache(entries) {
6953 var index = -1,
6954 length = entries == null ? 0 : entries.length;
6955
6956 this.clear();
6957 while (++index < length) {
6958 var entry = entries[index];
6959 this.set(entry[0], entry[1]);
6960 }
6961}
6962
6963// Add methods to `MapCache`.
6964MapCache.prototype.clear = _mapCacheClear;
6965MapCache.prototype['delete'] = _mapCacheDelete;
6966MapCache.prototype.get = _mapCacheGet;
6967MapCache.prototype.has = _mapCacheHas;
6968MapCache.prototype.set = _mapCacheSet;
6969
6970var _MapCache = MapCache;
6971
6972/** Error message constants. */
6973var FUNC_ERROR_TEXT = 'Expected a function';
6974
6975/**
6976 * Creates a function that memoizes the result of `func`. If `resolver` is
6977 * provided, it determines the cache key for storing the result based on the
6978 * arguments provided to the memoized function. By default, the first argument
6979 * provided to the memoized function is used as the map cache key. The `func`
6980 * is invoked with the `this` binding of the memoized function.
6981 *
6982 * **Note:** The cache is exposed as the `cache` property on the memoized
6983 * function. Its creation may be customized by replacing the `_.memoize.Cache`
6984 * constructor with one whose instances implement the
6985 * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
6986 * method interface of `clear`, `delete`, `get`, `has`, and `set`.
6987 *
6988 * @static
6989 * @memberOf _
6990 * @since 0.1.0
6991 * @category Function
6992 * @param {Function} func The function to have its output memoized.
6993 * @param {Function} [resolver] The function to resolve the cache key.
6994 * @returns {Function} Returns the new memoized function.
6995 * @example
6996 *
6997 * var object = { 'a': 1, 'b': 2 };
6998 * var other = { 'c': 3, 'd': 4 };
6999 *
7000 * var values = _.memoize(_.values);
7001 * values(object);
7002 * // => [1, 2]
7003 *
7004 * values(other);
7005 * // => [3, 4]
7006 *
7007 * object.a = 2;
7008 * values(object);
7009 * // => [1, 2]
7010 *
7011 * // Modify the result cache.
7012 * values.cache.set(object, ['a', 'b']);
7013 * values(object);
7014 * // => ['a', 'b']
7015 *
7016 * // Replace `_.memoize.Cache`.
7017 * _.memoize.Cache = WeakMap;
7018 */
7019function memoize(func, resolver) {
7020 if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {
7021 throw new TypeError(FUNC_ERROR_TEXT);
7022 }
7023 var memoized = function() {
7024 var args = arguments,
7025 key = resolver ? resolver.apply(this, args) : args[0],
7026 cache = memoized.cache;
7027
7028 if (cache.has(key)) {
7029 return cache.get(key);
7030 }
7031 var result = func.apply(this, args);
7032 memoized.cache = cache.set(key, result) || cache;
7033 return result;
7034 };
7035 memoized.cache = new (memoize.Cache || _MapCache);
7036 return memoized;
7037}
7038
7039// Expose `MapCache`.
7040memoize.Cache = _MapCache;
7041
7042var memoize_1 = memoize;
7043
7044/** Used as the maximum memoize cache size. */
7045var MAX_MEMOIZE_SIZE = 500;
7046
7047/**
7048 * A specialized version of `_.memoize` which clears the memoized function's
7049 * cache when it exceeds `MAX_MEMOIZE_SIZE`.
7050 *
7051 * @private
7052 * @param {Function} func The function to have its output memoized.
7053 * @returns {Function} Returns the new memoized function.
7054 */
7055function memoizeCapped(func) {
7056 var result = memoize_1(func, function(key) {
7057 if (cache.size === MAX_MEMOIZE_SIZE) {
7058 cache.clear();
7059 }
7060 return key;
7061 });
7062
7063 var cache = result.cache;
7064 return result;
7065}
7066
7067var _memoizeCapped = memoizeCapped;
7068
7069/** Used to match property names within property paths. */
7070var reLeadingDot = /^\./;
7071var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
7072
7073/** Used to match backslashes in property paths. */
7074var reEscapeChar = /\\(\\)?/g;
7075
7076/**
7077 * Converts `string` to a property path array.
7078 *
7079 * @private
7080 * @param {string} string The string to convert.
7081 * @returns {Array} Returns the property path array.
7082 */
7083var stringToPath = _memoizeCapped(function(string) {
7084 var result = [];
7085 if (reLeadingDot.test(string)) {
7086 result.push('');
7087 }
7088 string.replace(rePropName, function(match, number, quote, string) {
7089 result.push(quote ? string.replace(reEscapeChar, '$1') : (number || match));
7090 });
7091 return result;
7092});
7093
7094var _stringToPath = stringToPath;
7095
7096/**
7097 * A specialized version of `_.map` for arrays without support for iteratee
7098 * shorthands.
7099 *
7100 * @private
7101 * @param {Array} [array] The array to iterate over.
7102 * @param {Function} iteratee The function invoked per iteration.
7103 * @returns {Array} Returns the new mapped array.
7104 */
7105function arrayMap(array, iteratee) {
7106 var index = -1,
7107 length = array == null ? 0 : array.length,
7108 result = Array(length);
7109
7110 while (++index < length) {
7111 result[index] = iteratee(array[index], index, array);
7112 }
7113 return result;
7114}
7115
7116var _arrayMap = arrayMap;
7117
7118/** Used as references for various `Number` constants. */
7119var INFINITY$1 = 1 / 0;
7120
7121/** Used to convert symbols to primitives and strings. */
7122var symbolProto = _Symbol ? _Symbol.prototype : undefined;
7123var symbolToString = symbolProto ? symbolProto.toString : undefined;
7124
7125/**
7126 * The base implementation of `_.toString` which doesn't convert nullish
7127 * values to empty strings.
7128 *
7129 * @private
7130 * @param {*} value The value to process.
7131 * @returns {string} Returns the string.
7132 */
7133function baseToString(value) {
7134 // Exit early for strings to avoid a performance hit in some environments.
7135 if (typeof value == 'string') {
7136 return value;
7137 }
7138 if (isArray_1(value)) {
7139 // Recursively convert values (susceptible to call stack limits).
7140 return _arrayMap(value, baseToString) + '';
7141 }
7142 if (isSymbol_1(value)) {
7143 return symbolToString ? symbolToString.call(value) : '';
7144 }
7145 var result = (value + '');
7146 return (result == '0' && (1 / value) == -INFINITY$1) ? '-0' : result;
7147}
7148
7149var _baseToString = baseToString;
7150
7151/**
7152 * Converts `value` to a string. An empty string is returned for `null`
7153 * and `undefined` values. The sign of `-0` is preserved.
7154 *
7155 * @static
7156 * @memberOf _
7157 * @since 4.0.0
7158 * @category Lang
7159 * @param {*} value The value to convert.
7160 * @returns {string} Returns the converted string.
7161 * @example
7162 *
7163 * _.toString(null);
7164 * // => ''
7165 *
7166 * _.toString(-0);
7167 * // => '-0'
7168 *
7169 * _.toString([1, 2, 3]);
7170 * // => '1,2,3'
7171 */
7172function toString(value) {
7173 return value == null ? '' : _baseToString(value);
7174}
7175
7176var toString_1 = toString;
7177
7178/**
7179 * Casts `value` to a path array if it's not one.
7180 *
7181 * @private
7182 * @param {*} value The value to inspect.
7183 * @param {Object} [object] The object to query keys on.
7184 * @returns {Array} Returns the cast property path array.
7185 */
7186function castPath(value, object) {
7187 if (isArray_1(value)) {
7188 return value;
7189 }
7190 return _isKey(value, object) ? [value] : _stringToPath(toString_1(value));
7191}
7192
7193var _castPath = castPath;
7194
7195/** Used as references for various `Number` constants. */
7196var INFINITY$2 = 1 / 0;
7197
7198/**
7199 * Converts `value` to a string key if it's not a string or symbol.
7200 *
7201 * @private
7202 * @param {*} value The value to inspect.
7203 * @returns {string|symbol} Returns the key.
7204 */
7205function toKey(value) {
7206 if (typeof value == 'string' || isSymbol_1(value)) {
7207 return value;
7208 }
7209 var result = (value + '');
7210 return (result == '0' && (1 / value) == -INFINITY$2) ? '-0' : result;
7211}
7212
7213var _toKey = toKey;
7214
7215/**
7216 * The base implementation of `_.get` without support for default values.
7217 *
7218 * @private
7219 * @param {Object} object The object to query.
7220 * @param {Array|string} path The path of the property to get.
7221 * @returns {*} Returns the resolved value.
7222 */
7223function baseGet(object, path) {
7224 path = _castPath(path, object);
7225
7226 var index = 0,
7227 length = path.length;
7228
7229 while (object != null && index < length) {
7230 object = object[_toKey(path[index++])];
7231 }
7232 return (index && index == length) ? object : undefined;
7233}
7234
7235var _baseGet = baseGet;
7236
7237/**
7238 * Gets the value at `path` of `object`. If the resolved value is
7239 * `undefined`, the `defaultValue` is returned in its place.
7240 *
7241 * @static
7242 * @memberOf _
7243 * @since 3.7.0
7244 * @category Object
7245 * @param {Object} object The object to query.
7246 * @param {Array|string} path The path of the property to get.
7247 * @param {*} [defaultValue] The value returned for `undefined` resolved values.
7248 * @returns {*} Returns the resolved value.
7249 * @example
7250 *
7251 * var object = { 'a': [{ 'b': { 'c': 3 } }] };
7252 *
7253 * _.get(object, 'a[0].b.c');
7254 * // => 3
7255 *
7256 * _.get(object, ['a', '0', 'b', 'c']);
7257 * // => 3
7258 *
7259 * _.get(object, 'a.b.c', 'default');
7260 * // => 'default'
7261 */
7262function get$2(object, path, defaultValue) {
7263 var result = object == null ? undefined : _baseGet(object, path);
7264 return result === undefined ? defaultValue : result;
7265}
7266
7267var get_1 = get$2;
7268
7269var _templateObject$4 = taggedTemplateLiteral(['\n font-size: ', '\n '], ['\n font-size: ', '\n ']);
7270
7271var SmallCaps = styled.span.withConfig({
7272 displayName: 'small-caps__SmallCaps',
7273 componentId: 's7vnjyj-0'
7274})([['{font-family:', function (props) {
7275 return get_1(props.theme, 'font.header');
7276}, ';font-weight:400;-webkit-letter-spacing:0.15em;-moz-letter-spacing:0.15em;-ms-letter-spacing:0.15em;letter-spacing:0.15em;font-size:', function (props) {
7277 return props.large ? '0.875em' : '0.5em';
7278}, ';text-transform:uppercase;', media.medium(_templateObject$4, function (props) {
7279 return props.large ? '1em' : '0.75em';
7280}), ';}']]);
7281
7282var _templateObject$5 = taggedTemplateLiteral(['\n margin-left: -', ';\n margin-right: -', ';\n '], ['\n margin-left: -', ';\n margin-right: -', ';\n ']);
7283
7284function push(props) {
7285 var theme = props.theme;
7286
7287 return Object.keys(theme.breakpoint).map(function (breakpoint) {
7288 return media[breakpoint](_templateObject$5, rem(theme.grid.gutter[breakpoint] / 2), rem(theme.grid.gutter[breakpoint] / 2));
7289 });
7290}
7291
7292var row = styled.div.withConfig({
7293 displayName: 'row',
7294 componentId: 'xc0kma-0'
7295})([['{', push, ';display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-flex-direction:', function (props) {
7296 return props.column ? 'column' : 'row';
7297}, ';-ms-flex-direction:', function (props) {
7298 return props.column ? 'column' : 'row';
7299}, ';flex-direction:', function (props) {
7300 return props.column ? 'column' : 'row';
7301}, ';-webkit-box-pack:', function (props) {
7302 return props.justify || 'flex-start';
7303}, ';-webkit-justify-content:', function (props) {
7304 return props.justify || 'flex-start';
7305}, ';-ms-flex-pack:', function (props) {
7306 return props.justify || 'flex-start';
7307}, ';justify-content:', function (props) {
7308 return props.justify || 'flex-start';
7309}, ';', function (props) {
7310 return props.align && 'align-items: ' + props.align + ';';
7311}, ';}']]);
7312
7313/**
7314 * lodash (Custom Build) <https://lodash.com/>
7315 * Build: `lodash modularize exports="npm" -o ./`
7316 * Copyright jQuery Foundation and other contributors <https://jquery.org/>
7317 * Released under MIT license <https://lodash.com/license>
7318 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
7319 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
7320 */
7321
7322/** Used as the `TypeError` message for "Functions" methods. */
7323var FUNC_ERROR_TEXT$1 = 'Expected a function';
7324
7325/** Used to stand-in for `undefined` hash values. */
7326var HASH_UNDEFINED$2 = '__lodash_hash_undefined__';
7327
7328/** Used as references for various `Number` constants. */
7329var INFINITY$3 = 1 / 0;
7330
7331/** `Object#toString` result references. */
7332var funcTag$1 = '[object Function]';
7333var genTag$1 = '[object GeneratorFunction]';
7334var symbolTag$1 = '[object Symbol]';
7335
7336/** Used to match property names within property paths. */
7337var reIsDeepProp$1 = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/;
7338var reIsPlainProp$1 = /^\w*$/;
7339var reLeadingDot$1 = /^\./;
7340var rePropName$1 = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
7341
7342/**
7343 * Used to match `RegExp`
7344 * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
7345 */
7346var reRegExpChar$1 = /[\\^$.*+?()[\]{}|]/g;
7347
7348/** Used to match backslashes in property paths. */
7349var reEscapeChar$1 = /\\(\\)?/g;
7350
7351/** Used to detect host constructors (Safari). */
7352var reIsHostCtor$1 = /^\[object .+?Constructor\]$/;
7353
7354/** Detect free variable `global` from Node.js. */
7355var freeGlobal$2 = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
7356
7357/** Detect free variable `self`. */
7358var freeSelf$1 = typeof self == 'object' && self && self.Object === Object && self;
7359
7360/** Used as a reference to the global object. */
7361var root$2 = freeGlobal$2 || freeSelf$1 || Function('return this')();
7362
7363/**
7364 * Gets the value at `key` of `object`.
7365 *
7366 * @private
7367 * @param {Object} [object] The object to query.
7368 * @param {string} key The key of the property to get.
7369 * @returns {*} Returns the property value.
7370 */
7371function getValue$2(object, key) {
7372 return object == null ? undefined : object[key];
7373}
7374
7375/**
7376 * Checks if `value` is a host object in IE < 9.
7377 *
7378 * @private
7379 * @param {*} value The value to check.
7380 * @returns {boolean} Returns `true` if `value` is a host object, else `false`.
7381 */
7382function isHostObject(value) {
7383 // Many host objects are `Object` objects that can coerce to strings
7384 // despite having improperly defined `toString` methods.
7385 var result = false;
7386 if (value != null && typeof value.toString != 'function') {
7387 try {
7388 result = !!(value + '');
7389 } catch (e) {}
7390 }
7391 return result;
7392}
7393
7394/** Used for built-in method references. */
7395var arrayProto$1 = Array.prototype;
7396var funcProto$2 = Function.prototype;
7397var objectProto$5 = Object.prototype;
7398
7399/** Used to detect overreaching core-js shims. */
7400var coreJsData$2 = root$2['__core-js_shared__'];
7401
7402/** Used to detect methods masquerading as native. */
7403var maskSrcKey$1 = (function() {
7404 var uid = /[^.]+$/.exec(coreJsData$2 && coreJsData$2.keys && coreJsData$2.keys.IE_PROTO || '');
7405 return uid ? ('Symbol(src)_1.' + uid) : '';
7406}());
7407
7408/** Used to resolve the decompiled source of functions. */
7409var funcToString$2 = funcProto$2.toString;
7410
7411/** Used to check objects for own properties. */
7412var hasOwnProperty$4 = objectProto$5.hasOwnProperty;
7413
7414/**
7415 * Used to resolve the
7416 * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
7417 * of values.
7418 */
7419var objectToString$2 = objectProto$5.toString;
7420
7421/** Used to detect if a method is native. */
7422var reIsNative$1 = RegExp('^' +
7423 funcToString$2.call(hasOwnProperty$4).replace(reRegExpChar$1, '\\$&')
7424 .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
7425);
7426
7427/** Built-in value references. */
7428var Symbol$3 = root$2.Symbol;
7429var splice$1 = arrayProto$1.splice;
7430
7431/* Built-in method references that are verified to be native. */
7432var Map$3 = getNative$2(root$2, 'Map');
7433var nativeCreate$2 = getNative$2(Object, 'create');
7434
7435/** Used to convert symbols to primitives and strings. */
7436var symbolProto$1 = Symbol$3 ? Symbol$3.prototype : undefined;
7437var symbolToString$1 = symbolProto$1 ? symbolProto$1.toString : undefined;
7438
7439/**
7440 * Creates a hash object.
7441 *
7442 * @private
7443 * @constructor
7444 * @param {Array} [entries] The key-value pairs to cache.
7445 */
7446function Hash$2(entries) {
7447 var index = -1,
7448 length = entries ? entries.length : 0;
7449
7450 this.clear();
7451 while (++index < length) {
7452 var entry = entries[index];
7453 this.set(entry[0], entry[1]);
7454 }
7455}
7456
7457/**
7458 * Removes all key-value entries from the hash.
7459 *
7460 * @private
7461 * @name clear
7462 * @memberOf Hash
7463 */
7464function hashClear$2() {
7465 this.__data__ = nativeCreate$2 ? nativeCreate$2(null) : {};
7466}
7467
7468/**
7469 * Removes `key` and its value from the hash.
7470 *
7471 * @private
7472 * @name delete
7473 * @memberOf Hash
7474 * @param {Object} hash The hash to modify.
7475 * @param {string} key The key of the value to remove.
7476 * @returns {boolean} Returns `true` if the entry was removed, else `false`.
7477 */
7478function hashDelete$2(key) {
7479 return this.has(key) && delete this.__data__[key];
7480}
7481
7482/**
7483 * Gets the hash value for `key`.
7484 *
7485 * @private
7486 * @name get
7487 * @memberOf Hash
7488 * @param {string} key The key of the value to get.
7489 * @returns {*} Returns the entry value.
7490 */
7491function hashGet$2(key) {
7492 var data = this.__data__;
7493 if (nativeCreate$2) {
7494 var result = data[key];
7495 return result === HASH_UNDEFINED$2 ? undefined : result;
7496 }
7497 return hasOwnProperty$4.call(data, key) ? data[key] : undefined;
7498}
7499
7500/**
7501 * Checks if a hash value for `key` exists.
7502 *
7503 * @private
7504 * @name has
7505 * @memberOf Hash
7506 * @param {string} key The key of the entry to check.
7507 * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
7508 */
7509function hashHas$2(key) {
7510 var data = this.__data__;
7511 return nativeCreate$2 ? data[key] !== undefined : hasOwnProperty$4.call(data, key);
7512}
7513
7514/**
7515 * Sets the hash `key` to `value`.
7516 *
7517 * @private
7518 * @name set
7519 * @memberOf Hash
7520 * @param {string} key The key of the value to set.
7521 * @param {*} value The value to set.
7522 * @returns {Object} Returns the hash instance.
7523 */
7524function hashSet$2(key, value) {
7525 var data = this.__data__;
7526 data[key] = (nativeCreate$2 && value === undefined) ? HASH_UNDEFINED$2 : value;
7527 return this;
7528}
7529
7530// Add methods to `Hash`.
7531Hash$2.prototype.clear = hashClear$2;
7532Hash$2.prototype['delete'] = hashDelete$2;
7533Hash$2.prototype.get = hashGet$2;
7534Hash$2.prototype.has = hashHas$2;
7535Hash$2.prototype.set = hashSet$2;
7536
7537/**
7538 * Creates an list cache object.
7539 *
7540 * @private
7541 * @constructor
7542 * @param {Array} [entries] The key-value pairs to cache.
7543 */
7544function ListCache$2(entries) {
7545 var index = -1,
7546 length = entries ? entries.length : 0;
7547
7548 this.clear();
7549 while (++index < length) {
7550 var entry = entries[index];
7551 this.set(entry[0], entry[1]);
7552 }
7553}
7554
7555/**
7556 * Removes all key-value entries from the list cache.
7557 *
7558 * @private
7559 * @name clear
7560 * @memberOf ListCache
7561 */
7562function listCacheClear$2() {
7563 this.__data__ = [];
7564}
7565
7566/**
7567 * Removes `key` and its value from the list cache.
7568 *
7569 * @private
7570 * @name delete
7571 * @memberOf ListCache
7572 * @param {string} key The key of the value to remove.
7573 * @returns {boolean} Returns `true` if the entry was removed, else `false`.
7574 */
7575function listCacheDelete$2(key) {
7576 var data = this.__data__,
7577 index = assocIndexOf$2(data, key);
7578
7579 if (index < 0) {
7580 return false;
7581 }
7582 var lastIndex = data.length - 1;
7583 if (index == lastIndex) {
7584 data.pop();
7585 } else {
7586 splice$1.call(data, index, 1);
7587 }
7588 return true;
7589}
7590
7591/**
7592 * Gets the list cache value for `key`.
7593 *
7594 * @private
7595 * @name get
7596 * @memberOf ListCache
7597 * @param {string} key The key of the value to get.
7598 * @returns {*} Returns the entry value.
7599 */
7600function listCacheGet$2(key) {
7601 var data = this.__data__,
7602 index = assocIndexOf$2(data, key);
7603
7604 return index < 0 ? undefined : data[index][1];
7605}
7606
7607/**
7608 * Checks if a list cache value for `key` exists.
7609 *
7610 * @private
7611 * @name has
7612 * @memberOf ListCache
7613 * @param {string} key The key of the entry to check.
7614 * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
7615 */
7616function listCacheHas$2(key) {
7617 return assocIndexOf$2(this.__data__, key) > -1;
7618}
7619
7620/**
7621 * Sets the list cache `key` to `value`.
7622 *
7623 * @private
7624 * @name set
7625 * @memberOf ListCache
7626 * @param {string} key The key of the value to set.
7627 * @param {*} value The value to set.
7628 * @returns {Object} Returns the list cache instance.
7629 */
7630function listCacheSet$2(key, value) {
7631 var data = this.__data__,
7632 index = assocIndexOf$2(data, key);
7633
7634 if (index < 0) {
7635 data.push([key, value]);
7636 } else {
7637 data[index][1] = value;
7638 }
7639 return this;
7640}
7641
7642// Add methods to `ListCache`.
7643ListCache$2.prototype.clear = listCacheClear$2;
7644ListCache$2.prototype['delete'] = listCacheDelete$2;
7645ListCache$2.prototype.get = listCacheGet$2;
7646ListCache$2.prototype.has = listCacheHas$2;
7647ListCache$2.prototype.set = listCacheSet$2;
7648
7649/**
7650 * Creates a map cache object to store key-value pairs.
7651 *
7652 * @private
7653 * @constructor
7654 * @param {Array} [entries] The key-value pairs to cache.
7655 */
7656function MapCache$2(entries) {
7657 var index = -1,
7658 length = entries ? entries.length : 0;
7659
7660 this.clear();
7661 while (++index < length) {
7662 var entry = entries[index];
7663 this.set(entry[0], entry[1]);
7664 }
7665}
7666
7667/**
7668 * Removes all key-value entries from the map.
7669 *
7670 * @private
7671 * @name clear
7672 * @memberOf MapCache
7673 */
7674function mapCacheClear$2() {
7675 this.__data__ = {
7676 'hash': new Hash$2,
7677 'map': new (Map$3 || ListCache$2),
7678 'string': new Hash$2
7679 };
7680}
7681
7682/**
7683 * Removes `key` and its value from the map.
7684 *
7685 * @private
7686 * @name delete
7687 * @memberOf MapCache
7688 * @param {string} key The key of the value to remove.
7689 * @returns {boolean} Returns `true` if the entry was removed, else `false`.
7690 */
7691function mapCacheDelete$2(key) {
7692 return getMapData$2(this, key)['delete'](key);
7693}
7694
7695/**
7696 * Gets the map value for `key`.
7697 *
7698 * @private
7699 * @name get
7700 * @memberOf MapCache
7701 * @param {string} key The key of the value to get.
7702 * @returns {*} Returns the entry value.
7703 */
7704function mapCacheGet$2(key) {
7705 return getMapData$2(this, key).get(key);
7706}
7707
7708/**
7709 * Checks if a map value for `key` exists.
7710 *
7711 * @private
7712 * @name has
7713 * @memberOf MapCache
7714 * @param {string} key The key of the entry to check.
7715 * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
7716 */
7717function mapCacheHas$2(key) {
7718 return getMapData$2(this, key).has(key);
7719}
7720
7721/**
7722 * Sets the map `key` to `value`.
7723 *
7724 * @private
7725 * @name set
7726 * @memberOf MapCache
7727 * @param {string} key The key of the value to set.
7728 * @param {*} value The value to set.
7729 * @returns {Object} Returns the map cache instance.
7730 */
7731function mapCacheSet$2(key, value) {
7732 getMapData$2(this, key).set(key, value);
7733 return this;
7734}
7735
7736// Add methods to `MapCache`.
7737MapCache$2.prototype.clear = mapCacheClear$2;
7738MapCache$2.prototype['delete'] = mapCacheDelete$2;
7739MapCache$2.prototype.get = mapCacheGet$2;
7740MapCache$2.prototype.has = mapCacheHas$2;
7741MapCache$2.prototype.set = mapCacheSet$2;
7742
7743/**
7744 * Gets the index at which the `key` is found in `array` of key-value pairs.
7745 *
7746 * @private
7747 * @param {Array} array The array to inspect.
7748 * @param {*} key The key to search for.
7749 * @returns {number} Returns the index of the matched value, else `-1`.
7750 */
7751function assocIndexOf$2(array, key) {
7752 var length = array.length;
7753 while (length--) {
7754 if (eq$2(array[length][0], key)) {
7755 return length;
7756 }
7757 }
7758 return -1;
7759}
7760
7761/**
7762 * The base implementation of `_.get` without support for default values.
7763 *
7764 * @private
7765 * @param {Object} object The object to query.
7766 * @param {Array|string} path The path of the property to get.
7767 * @returns {*} Returns the resolved value.
7768 */
7769function baseGet$2(object, path) {
7770 path = isKey$2(path, object) ? [path] : castPath$2(path);
7771
7772 var index = 0,
7773 length = path.length;
7774
7775 while (object != null && index < length) {
7776 object = object[toKey$2(path[index++])];
7777 }
7778 return (index && index == length) ? object : undefined;
7779}
7780
7781/**
7782 * The base implementation of `_.isNative` without bad shim checks.
7783 *
7784 * @private
7785 * @param {*} value The value to check.
7786 * @returns {boolean} Returns `true` if `value` is a native function,
7787 * else `false`.
7788 */
7789function baseIsNative$2(value) {
7790 if (!isObject$2(value) || isMasked$2(value)) {
7791 return false;
7792 }
7793 var pattern = (isFunction$2(value) || isHostObject(value)) ? reIsNative$1 : reIsHostCtor$1;
7794 return pattern.test(toSource$2(value));
7795}
7796
7797/**
7798 * The base implementation of `_.toString` which doesn't convert nullish
7799 * values to empty strings.
7800 *
7801 * @private
7802 * @param {*} value The value to process.
7803 * @returns {string} Returns the string.
7804 */
7805function baseToString$2(value) {
7806 // Exit early for strings to avoid a performance hit in some environments.
7807 if (typeof value == 'string') {
7808 return value;
7809 }
7810 if (isSymbol$2(value)) {
7811 return symbolToString$1 ? symbolToString$1.call(value) : '';
7812 }
7813 var result = (value + '');
7814 return (result == '0' && (1 / value) == -INFINITY$3) ? '-0' : result;
7815}
7816
7817/**
7818 * Casts `value` to a path array if it's not one.
7819 *
7820 * @private
7821 * @param {*} value The value to inspect.
7822 * @returns {Array} Returns the cast property path array.
7823 */
7824function castPath$2(value) {
7825 return isArray$2(value) ? value : stringToPath$2(value);
7826}
7827
7828/**
7829 * Gets the data for `map`.
7830 *
7831 * @private
7832 * @param {Object} map The map to query.
7833 * @param {string} key The reference key.
7834 * @returns {*} Returns the map data.
7835 */
7836function getMapData$2(map, key) {
7837 var data = map.__data__;
7838 return isKeyable$2(key)
7839 ? data[typeof key == 'string' ? 'string' : 'hash']
7840 : data.map;
7841}
7842
7843/**
7844 * Gets the native function at `key` of `object`.
7845 *
7846 * @private
7847 * @param {Object} object The object to query.
7848 * @param {string} key The key of the method to get.
7849 * @returns {*} Returns the function if it's native, else `undefined`.
7850 */
7851function getNative$2(object, key) {
7852 var value = getValue$2(object, key);
7853 return baseIsNative$2(value) ? value : undefined;
7854}
7855
7856/**
7857 * Checks if `value` is a property name and not a property path.
7858 *
7859 * @private
7860 * @param {*} value The value to check.
7861 * @param {Object} [object] The object to query keys on.
7862 * @returns {boolean} Returns `true` if `value` is a property name, else `false`.
7863 */
7864function isKey$2(value, object) {
7865 if (isArray$2(value)) {
7866 return false;
7867 }
7868 var type = typeof value;
7869 if (type == 'number' || type == 'symbol' || type == 'boolean' ||
7870 value == null || isSymbol$2(value)) {
7871 return true;
7872 }
7873 return reIsPlainProp$1.test(value) || !reIsDeepProp$1.test(value) ||
7874 (object != null && value in Object(object));
7875}
7876
7877/**
7878 * Checks if `value` is suitable for use as unique object key.
7879 *
7880 * @private
7881 * @param {*} value The value to check.
7882 * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
7883 */
7884function isKeyable$2(value) {
7885 var type = typeof value;
7886 return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
7887 ? (value !== '__proto__')
7888 : (value === null);
7889}
7890
7891/**
7892 * Checks if `func` has its source masked.
7893 *
7894 * @private
7895 * @param {Function} func The function to check.
7896 * @returns {boolean} Returns `true` if `func` is masked, else `false`.
7897 */
7898function isMasked$2(func) {
7899 return !!maskSrcKey$1 && (maskSrcKey$1 in func);
7900}
7901
7902/**
7903 * Converts `string` to a property path array.
7904 *
7905 * @private
7906 * @param {string} string The string to convert.
7907 * @returns {Array} Returns the property path array.
7908 */
7909var stringToPath$2 = memoize$2(function(string) {
7910 string = toString$2(string);
7911
7912 var result = [];
7913 if (reLeadingDot$1.test(string)) {
7914 result.push('');
7915 }
7916 string.replace(rePropName$1, function(match, number, quote, string) {
7917 result.push(quote ? string.replace(reEscapeChar$1, '$1') : (number || match));
7918 });
7919 return result;
7920});
7921
7922/**
7923 * Converts `value` to a string key if it's not a string or symbol.
7924 *
7925 * @private
7926 * @param {*} value The value to inspect.
7927 * @returns {string|symbol} Returns the key.
7928 */
7929function toKey$2(value) {
7930 if (typeof value == 'string' || isSymbol$2(value)) {
7931 return value;
7932 }
7933 var result = (value + '');
7934 return (result == '0' && (1 / value) == -INFINITY$3) ? '-0' : result;
7935}
7936
7937/**
7938 * Converts `func` to its source code.
7939 *
7940 * @private
7941 * @param {Function} func The function to process.
7942 * @returns {string} Returns the source code.
7943 */
7944function toSource$2(func) {
7945 if (func != null) {
7946 try {
7947 return funcToString$2.call(func);
7948 } catch (e) {}
7949 try {
7950 return (func + '');
7951 } catch (e) {}
7952 }
7953 return '';
7954}
7955
7956/**
7957 * Creates a function that memoizes the result of `func`. If `resolver` is
7958 * provided, it determines the cache key for storing the result based on the
7959 * arguments provided to the memoized function. By default, the first argument
7960 * provided to the memoized function is used as the map cache key. The `func`
7961 * is invoked with the `this` binding of the memoized function.
7962 *
7963 * **Note:** The cache is exposed as the `cache` property on the memoized
7964 * function. Its creation may be customized by replacing the `_.memoize.Cache`
7965 * constructor with one whose instances implement the
7966 * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
7967 * method interface of `delete`, `get`, `has`, and `set`.
7968 *
7969 * @static
7970 * @memberOf _
7971 * @since 0.1.0
7972 * @category Function
7973 * @param {Function} func The function to have its output memoized.
7974 * @param {Function} [resolver] The function to resolve the cache key.
7975 * @returns {Function} Returns the new memoized function.
7976 * @example
7977 *
7978 * var object = { 'a': 1, 'b': 2 };
7979 * var other = { 'c': 3, 'd': 4 };
7980 *
7981 * var values = _.memoize(_.values);
7982 * values(object);
7983 * // => [1, 2]
7984 *
7985 * values(other);
7986 * // => [3, 4]
7987 *
7988 * object.a = 2;
7989 * values(object);
7990 * // => [1, 2]
7991 *
7992 * // Modify the result cache.
7993 * values.cache.set(object, ['a', 'b']);
7994 * values(object);
7995 * // => ['a', 'b']
7996 *
7997 * // Replace `_.memoize.Cache`.
7998 * _.memoize.Cache = WeakMap;
7999 */
8000function memoize$2(func, resolver) {
8001 if (typeof func != 'function' || (resolver && typeof resolver != 'function')) {
8002 throw new TypeError(FUNC_ERROR_TEXT$1);
8003 }
8004 var memoized = function() {
8005 var args = arguments,
8006 key = resolver ? resolver.apply(this, args) : args[0],
8007 cache = memoized.cache;
8008
8009 if (cache.has(key)) {
8010 return cache.get(key);
8011 }
8012 var result = func.apply(this, args);
8013 memoized.cache = cache.set(key, result);
8014 return result;
8015 };
8016 memoized.cache = new (memoize$2.Cache || MapCache$2);
8017 return memoized;
8018}
8019
8020// Assign cache to `_.memoize`.
8021memoize$2.Cache = MapCache$2;
8022
8023/**
8024 * Performs a
8025 * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
8026 * comparison between two values to determine if they are equivalent.
8027 *
8028 * @static
8029 * @memberOf _
8030 * @since 4.0.0
8031 * @category Lang
8032 * @param {*} value The value to compare.
8033 * @param {*} other The other value to compare.
8034 * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
8035 * @example
8036 *
8037 * var object = { 'a': 1 };
8038 * var other = { 'a': 1 };
8039 *
8040 * _.eq(object, object);
8041 * // => true
8042 *
8043 * _.eq(object, other);
8044 * // => false
8045 *
8046 * _.eq('a', 'a');
8047 * // => true
8048 *
8049 * _.eq('a', Object('a'));
8050 * // => false
8051 *
8052 * _.eq(NaN, NaN);
8053 * // => true
8054 */
8055function eq$2(value, other) {
8056 return value === other || (value !== value && other !== other);
8057}
8058
8059/**
8060 * Checks if `value` is classified as an `Array` object.
8061 *
8062 * @static
8063 * @memberOf _
8064 * @since 0.1.0
8065 * @category Lang
8066 * @param {*} value The value to check.
8067 * @returns {boolean} Returns `true` if `value` is an array, else `false`.
8068 * @example
8069 *
8070 * _.isArray([1, 2, 3]);
8071 * // => true
8072 *
8073 * _.isArray(document.body.children);
8074 * // => false
8075 *
8076 * _.isArray('abc');
8077 * // => false
8078 *
8079 * _.isArray(_.noop);
8080 * // => false
8081 */
8082var isArray$2 = Array.isArray;
8083
8084/**
8085 * Checks if `value` is classified as a `Function` object.
8086 *
8087 * @static
8088 * @memberOf _
8089 * @since 0.1.0
8090 * @category Lang
8091 * @param {*} value The value to check.
8092 * @returns {boolean} Returns `true` if `value` is a function, else `false`.
8093 * @example
8094 *
8095 * _.isFunction(_);
8096 * // => true
8097 *
8098 * _.isFunction(/abc/);
8099 * // => false
8100 */
8101function isFunction$2(value) {
8102 // The use of `Object#toString` avoids issues with the `typeof` operator
8103 // in Safari 8-9 which returns 'object' for typed array and other constructors.
8104 var tag = isObject$2(value) ? objectToString$2.call(value) : '';
8105 return tag == funcTag$1 || tag == genTag$1;
8106}
8107
8108/**
8109 * Checks if `value` is the
8110 * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
8111 * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
8112 *
8113 * @static
8114 * @memberOf _
8115 * @since 0.1.0
8116 * @category Lang
8117 * @param {*} value The value to check.
8118 * @returns {boolean} Returns `true` if `value` is an object, else `false`.
8119 * @example
8120 *
8121 * _.isObject({});
8122 * // => true
8123 *
8124 * _.isObject([1, 2, 3]);
8125 * // => true
8126 *
8127 * _.isObject(_.noop);
8128 * // => true
8129 *
8130 * _.isObject(null);
8131 * // => false
8132 */
8133function isObject$2(value) {
8134 var type = typeof value;
8135 return !!value && (type == 'object' || type == 'function');
8136}
8137
8138/**
8139 * Checks if `value` is object-like. A value is object-like if it's not `null`
8140 * and has a `typeof` result of "object".
8141 *
8142 * @static
8143 * @memberOf _
8144 * @since 4.0.0
8145 * @category Lang
8146 * @param {*} value The value to check.
8147 * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
8148 * @example
8149 *
8150 * _.isObjectLike({});
8151 * // => true
8152 *
8153 * _.isObjectLike([1, 2, 3]);
8154 * // => true
8155 *
8156 * _.isObjectLike(_.noop);
8157 * // => false
8158 *
8159 * _.isObjectLike(null);
8160 * // => false
8161 */
8162function isObjectLike$2(value) {
8163 return !!value && typeof value == 'object';
8164}
8165
8166/**
8167 * Checks if `value` is classified as a `Symbol` primitive or object.
8168 *
8169 * @static
8170 * @memberOf _
8171 * @since 4.0.0
8172 * @category Lang
8173 * @param {*} value The value to check.
8174 * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
8175 * @example
8176 *
8177 * _.isSymbol(Symbol.iterator);
8178 * // => true
8179 *
8180 * _.isSymbol('abc');
8181 * // => false
8182 */
8183function isSymbol$2(value) {
8184 return typeof value == 'symbol' ||
8185 (isObjectLike$2(value) && objectToString$2.call(value) == symbolTag$1);
8186}
8187
8188/**
8189 * Converts `value` to a string. An empty string is returned for `null`
8190 * and `undefined` values. The sign of `-0` is preserved.
8191 *
8192 * @static
8193 * @memberOf _
8194 * @since 4.0.0
8195 * @category Lang
8196 * @param {*} value The value to process.
8197 * @returns {string} Returns the string.
8198 * @example
8199 *
8200 * _.toString(null);
8201 * // => ''
8202 *
8203 * _.toString(-0);
8204 * // => '-0'
8205 *
8206 * _.toString([1, 2, 3]);
8207 * // => '1,2,3'
8208 */
8209function toString$2(value) {
8210 return value == null ? '' : baseToString$2(value);
8211}
8212
8213/**
8214 * Gets the value at `path` of `object`. If the resolved value is
8215 * `undefined`, the `defaultValue` is returned in its place.
8216 *
8217 * @static
8218 * @memberOf _
8219 * @since 3.7.0
8220 * @category Object
8221 * @param {Object} object The object to query.
8222 * @param {Array|string} path The path of the property to get.
8223 * @param {*} [defaultValue] The value returned for `undefined` resolved values.
8224 * @returns {*} Returns the resolved value.
8225 * @example
8226 *
8227 * var object = { 'a': [{ 'b': { 'c': 3 } }] };
8228 *
8229 * _.get(object, 'a[0].b.c');
8230 * // => 3
8231 *
8232 * _.get(object, ['a', '0', 'b', 'c']);
8233 * // => 3
8234 *
8235 * _.get(object, 'a.b.c', 'default');
8236 * // => 'default'
8237 */
8238function get$4(object, path, defaultValue) {
8239 var result = object == null ? undefined : baseGet$2(object, path);
8240 return result === undefined ? defaultValue : result;
8241}
8242
8243var lodash_get = get$4;
8244
8245var box = styled.div.withConfig({
8246 displayName: 'box',
8247 componentId: 's1kv4bvd-0'
8248})([['{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;', function (props) {
8249 return props.background && css([['{background:', lodash_get(props.theme.color, props.background), ';}']]);
8250}, ';', function (props) {
8251 return props.justify ? 'justify-content: ' + props.justify + ';' : '';
8252}, ';', function (props) {
8253 return props.align ? 'align-items: ' + props.align + ';' : '';
8254}, ';', function (props) {
8255 return props.wrap ? 'flex-wrap: ' + props.wrap + ';' : '';
8256}, ';-webkit-flex-direction:', function (props) {
8257 var suffix = props.reverse ? '-reverse' : '';
8258 return props.column ? 'column' + suffix : 'row' + suffix;
8259}, ';-ms-flex-direction:', function (props) {
8260 var suffix = props.reverse ? '-reverse' : '';return props.column ? 'column' + suffix : 'row' + suffix;
8261}, ';flex-direction:', function (props) {
8262 var suffix = props.reverse ? '-reverse' : '';return props.column ? 'column' + suffix : 'row' + suffix;
8263}, ';', margin(), ';', padding$1(), ';}']]);
8264
8265var _templateObject$6 = taggedTemplateLiteral(['max-width: ', ''], ['max-width: ', '']);
8266var _templateObject2$1 = taggedTemplateLiteral(['\n padding-left: ', ';\n padding-right: ', ';\n '], ['\n padding-left: ', ';\n padding-right: ', ';\n ']);
8267
8268function container(props) {
8269 var theme = props.theme,
8270 fluid = props.fluid;
8271
8272
8273 if (fluid) {
8274 return null;
8275 }
8276
8277 return Object.keys(theme.breakpoint).map(function (breakpoint) {
8278 return media[breakpoint](_templateObject$6, rem(theme.grid.container[breakpoint]));
8279 });
8280}
8281
8282function offset(props) {
8283 var theme = props.theme;
8284
8285 return Object.keys(theme.breakpoint).map(function (breakpoint) {
8286 return media[breakpoint](_templateObject2$1, rem(theme.grid.offset[breakpoint]), rem(theme.grid.offset[breakpoint]));
8287 });
8288}
8289
8290var grid = styled.div.withConfig({
8291 displayName: 'grid',
8292 componentId: 'atvfvk-0'
8293})([['{width:100%;box-sizing:border-box;margin-left:auto;margin-right:auto;', container, ' ', offset, ';}']]);
8294
8295var _templateObject$7 = taggedTemplateLiteral(['\n flex-basis: ', '%;\n max-width: ', '%;\n '], ['\n flex-basis: ', '%;\n max-width: ', '%;\n ']);
8296var _templateObject2$2 = taggedTemplateLiteral(['\n padding-left: ', ';\n padding-right: ', ';\n ', ';\n '], ['\n padding-left: ', ';\n padding-right: ', ';\n ', ';\n ']);
8297var _templateObject3$1 = taggedTemplateLiteral(['\n margin-left: ', '%;\n '], ['\n margin-left: ', '%;\n ']);
8298
8299var shorthands = {
8300 extraSmall: 'xs',
8301 small: 'sm',
8302 medium: 'md',
8303 large: 'lg',
8304 extraLarge: 'xl'
8305};
8306
8307function width(props) {
8308 var theme = props.theme;
8309
8310
8311 return Object.keys(theme.breakpoint).map(function (breakpoint) {
8312 var key = shorthands[breakpoint];
8313
8314 if (!props[key]) {
8315 return null;
8316 }
8317
8318 return media[breakpoint](_templateObject$7, function (props) {
8319 return props[key] * 100;
8320 }, function (props) {
8321 return props[key] * 100;
8322 });
8323 });
8324}
8325
8326function gutter(props) {
8327 var theme = props.theme;
8328
8329
8330 return Object.keys(theme.breakpoint).map(function (breakpoint) {
8331 return media[breakpoint](_templateObject2$2, rem(theme.grid.gutter[breakpoint] / 2), rem(theme.grid.gutter[breakpoint] / 2), props.bottom && 'margin-bottom: ' + rem(theme.grid.gutter[breakpoint]));
8332 });
8333}
8334
8335function push$1(props) {
8336 var theme = props.theme;
8337
8338
8339 return Object.keys(theme.breakpoint).map(function (breakpoint) {
8340 var key = 'push-' + shorthands[breakpoint];
8341
8342 if (!props[key]) {
8343 return null;
8344 }
8345
8346 return media[breakpoint](_templateObject3$1, props[key] * 100);
8347 });
8348}
8349
8350var column = styled.div.withConfig({
8351 displayName: 'column',
8352 componentId: 's1xhpsb0-0'
8353})([['{-webkit-flex-grow:0;-ms-flex-grow:0;flex-grow:0;-webkit-flex-shrink:0;-ms-flex-shrink:0;flex-shrink:0;-webkit-flex-basis:100%;-ms-flex-basis:100%;flex-basis:100%;max-width:100%;box-sizing:border-box;', width, ' ', gutter, ' ', push$1, ';}']]);
8354
8355var Container$5 = styled.tr.withConfig({
8356 displayName: 'Row__Container',
8357 componentId: 's14thbpv-0'
8358})([['{padding:1em;background-color:transparent;-webkit-transition:background-color 0.2s ease-out;transition:background-color 0.2s ease-out;border-bottom:1px solid ', function (props) {
8359 return props.theme.color.grey.pale;
8360}, ';}'], [':hover{background-color:', function (props) {
8361 return props.theme.color.blue.pale;
8362}, ';}'], [':last-child{border-bottom:0;}']]);
8363
8364var Row = function Row(_ref) {
8365 var children = _ref.children,
8366 other = objectWithoutProperties(_ref, ['children']);
8367 return React.createElement(
8368 Container$5,
8369 other,
8370 children
8371 );
8372};
8373
8374Row.propTypes = {
8375 children: PropTypes.node
8376};
8377
8378var Cell = styled.td.withConfig({
8379 displayName: 'Cell',
8380 componentId: 'zoo41g-0'
8381})([['{', fontSize(1), ';padding:1rem;}']]);
8382
8383var Container$6 = styled.table.withConfig({
8384 displayName: 'Table__Container',
8385 componentId: 's12hr1al-0'
8386})([['{width:100%;font-weight:300;border-collapse:collapse;font-family:', function (props) {
8387 return props.theme.font.base;
8388}, ';}']]);
8389
8390var Table = function Table(_ref) {
8391 var children = _ref.children,
8392 other = objectWithoutProperties(_ref, ['children']);
8393 return React.createElement(
8394 Container$6,
8395 other,
8396 React.createElement(
8397 'tbody',
8398 null,
8399 children
8400 )
8401 );
8402};
8403
8404Table.propTypes = {
8405 children: PropTypes.node.isRequired
8406};
8407
8408var _templateObject$8 = taggedTemplateLiteral(['\n font-size: 1.25em;\n '], ['\n font-size: 1.25em;\n ']);
8409var _templateObject2$3 = taggedTemplateLiteral(['\n padding: 1.25rem;\n '], ['\n padding: 1.25rem;\n ']);
8410
8411var Container$7 = styled.span.withConfig({
8412 displayName: 'tab__Container',
8413 componentId: 's1cuvzzb-0'
8414})([['{-webkit-flex:1;-ms-flex:1;flex:1;font-family:', function (props) {
8415 return props.theme.font.header;
8416}, ';color:', function (props) {
8417 return props.active ? get_1(props.theme, 'colors.' + props.activeColor) : get_1(props.theme, 'colors.' + props.inactiveColor);
8418}, ';background:', function (props) {
8419 return props.active ? get_1(props.theme, 'colors.' + props.activeBackground) : get_1(props.theme, 'colors.' + props.inactiveBackground);
8420}, ';text-decoration:none;font-size:1em;text-align:center;-webkit-transition:all 0.2s ease-in;transition:all 0.2s ease-in;border-radius:3px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}'], [' ', media.medium(_templateObject$8), ' > *{display:inline-block;width:100%;line-height:1;padding:0.75rem;text-decoration:none;color:currentColor;', media.medium(_templateObject2$3), ';}']]);
8421
8422var Tab = function (_Component) {
8423 inherits(Tab, _Component);
8424
8425 function Tab() {
8426 var _ref;
8427
8428 var _temp, _this, _ret;
8429
8430 classCallCheck(this, Tab);
8431
8432 for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
8433 args[_key] = arguments[_key];
8434 }
8435
8436 return _ret = (_temp = (_this = possibleConstructorReturn(this, (_ref = Tab.__proto__ || Object.getPrototypeOf(Tab)).call.apply(_ref, [this].concat(args))), _this), _this.onClick = function () {
8437 _this.context.onTabClick(_this.props.index);
8438 }, _temp), possibleConstructorReturn(_this, _ret);
8439 }
8440 /**
8441 * Define the types of props the component accepts.
8442 *
8443 * @type {Object}
8444 */
8445
8446
8447 createClass(Tab, [{
8448 key: 'render',
8449
8450
8451 /**
8452 * Render the component
8453 *
8454 * @return {ReactElement}
8455 */
8456 value: function render() {
8457 // eslint-disable-next-line no-unused-vars
8458 var _props = this.props,
8459 children = _props.children,
8460 index = _props.index,
8461 active = _props.active,
8462 other = objectWithoutProperties(_props, ['children', 'index', 'active']);
8463 var _context = this.context,
8464 activeColor = _context.activeColor,
8465 inactiveColor = _context.inactiveColor,
8466 activeBackground = _context.activeBackground,
8467 inactiveBackground = _context.inactiveBackground;
8468
8469
8470 return React.createElement(
8471 Container$7,
8472 _extends({
8473 role: 'tab',
8474 active: active,
8475 onClick: this.onClick,
8476 'aria-selected': false,
8477 activeColor: activeColor,
8478 inactiveColor: inactiveColor,
8479 activeBackground: activeBackground,
8480 inactiveBackground: inactiveBackground
8481 }, other),
8482 React.Children.map(children, function (Child) {
8483 return React.isValidElement(Child) ? Child : React.createElement(
8484 'span',
8485 null,
8486 Child
8487 );
8488 })
8489 );
8490 }
8491 }]);
8492 return Tab;
8493}(Component);
8494
8495Tab.propTypes = {
8496 index: PropTypes.number,
8497 active: PropTypes.bool,
8498 children: PropTypes.node,
8499 className: PropTypes.string
8500};
8501Tab.contextTypes = {
8502 onTabClick: PropTypes.func.isRequired,
8503 activeColor: PropTypes.string.isRequired,
8504 inactiveColor: PropTypes.string.isRequired,
8505 activeBackground: PropTypes.string.isRequired,
8506 inactiveBackground: PropTypes.string.isRequired
8507};
8508
8509var Container$8 = styled.div.withConfig({
8510 displayName: 'tabs__Container',
8511 componentId: 'sv1ix8-0'
8512})([]);
8513
8514var Tabs = function (_Component) {
8515 inherits(Tabs, _Component);
8516
8517 function Tabs() {
8518 var _ref;
8519
8520 var _temp, _this, _ret;
8521
8522 classCallCheck(this, Tabs);
8523
8524 for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
8525 args[_key] = arguments[_key];
8526 }
8527
8528 return _ret = (_temp = (_this = possibleConstructorReturn(this, (_ref = Tabs.__proto__ || Object.getPrototypeOf(Tabs)).call.apply(_ref, [this].concat(args))), _this), _this.state = {
8529 currentTab: 0
8530 }, _this.onTabClick = function (id) {
8531 _this.setState({ currentTab: id });
8532 }, _temp), possibleConstructorReturn(_this, _ret);
8533 }
8534 /**
8535 * Define the types of props the component accepts.
8536 *
8537 * @type {Object}
8538 */
8539
8540
8541 /**
8542 * Define the default props of the component.
8543 *
8544 * @type {Object}
8545 */
8546
8547
8548 /**
8549 * Define the types of the child's context.
8550 *
8551 * @type {Object}
8552 */
8553
8554
8555 createClass(Tabs, [{
8556 key: 'getChildContext',
8557 value: function getChildContext() {
8558 return {
8559 onTabClick: this.onTabClick,
8560 currentTab: this.state.currentTab,
8561 activeColor: this.props.activeColor,
8562 inactiveColor: this.props.inactiveColor,
8563 activeBackground: this.props.activeBackground,
8564 inactiveBackground: this.props.inactiveBackground
8565 };
8566 }
8567 }, {
8568 key: 'render',
8569
8570
8571 /**
8572 * Render the component
8573 *
8574 * @return {ReactElement}
8575 */
8576 value: function render() {
8577 var _props = this.props,
8578 children = _props.children,
8579 other = objectWithoutProperties(_props, ['children']);
8580
8581
8582 return React.createElement(
8583 Container$8,
8584 other,
8585 Children.map(children, function (child, key) {
8586 return cloneElement(child, { key: key });
8587 })
8588 );
8589 }
8590 }]);
8591 return Tabs;
8592}(Component);
8593
8594Tabs.propTypes = {
8595 children: PropTypes.node.isRequired,
8596 activeColor: PropTypes.string,
8597 inactiveColor: PropTypes.string,
8598 activeBackground: PropTypes.string,
8599 inactiveBackground: PropTypes.string
8600};
8601Tabs.defaultProps = {
8602 activeColor: 'black',
8603 inactiveColor: 'white',
8604 activeBackground: 'white',
8605 inactiveBackground: 'black'
8606};
8607Tabs.childContextTypes = {
8608 onTabClick: PropTypes.func.isRequired,
8609 currentTab: PropTypes.number.isRequired,
8610 activeColor: PropTypes.string.isRequired,
8611 inactiveColor: PropTypes.string.isRequired,
8612 activeBackground: PropTypes.string.isRequired,
8613 inactiveBackground: PropTypes.string.isRequired
8614};
8615
8616var Container$9 = styled.nav.withConfig({
8617 displayName: 'tab-list__Container',
8618 componentId: 's1hmyuc8-0'
8619})([['{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:0 auto;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;background:', function (props) {
8620 return get_1(props.theme, 'colors.' + props.background);
8621}, ';border:1px solid ', function (props) {
8622 return props.theme.colors.light;
8623}, ';border-radius:3px;box-shadow:0px 2px 0px 0px rgba(0,0,0,0.1);padding:2px;}']]);
8624
8625var TabList = function TabList(_ref, context) {
8626 var children = _ref.children,
8627 other = objectWithoutProperties(_ref, ['children']);
8628 return React.createElement(
8629 Container$9,
8630 _extends({}, other, { background: context.inactiveBackground }),
8631 Children.map(children, function (child, key) {
8632 return cloneElement(child, _extends({
8633 key: key,
8634 index: key,
8635 active: key === context.currentTab
8636 }, child.props));
8637 })
8638 );
8639};
8640
8641TabList.propTypes = {
8642 children: PropTypes.node.isRequired
8643};
8644
8645TabList.contextTypes = {
8646 currentTab: PropTypes.number,
8647 inactiveBackground: PropTypes.string.isRequired
8648};
8649
8650var TabPanel = function TabPanel(_ref) {
8651 var active = _ref.active,
8652 children = _ref.children;
8653
8654 if (!active) return null;
8655
8656 return React.createElement(
8657 'div',
8658 null,
8659 children
8660 );
8661};
8662
8663TabPanel.propTypes = {
8664 active: PropTypes.bool,
8665 children: PropTypes.node
8666};
8667
8668var TabContent = function TabContent(_ref, context) {
8669 var children = _ref.children;
8670 return React.createElement(
8671 'div',
8672 null,
8673 Children.map(children, function (child, key) {
8674 return cloneElement(child, {
8675 key: key,
8676 active: context.currentTab === key
8677 });
8678 })
8679 );
8680};
8681
8682TabContent.propTypes = {
8683 children: PropTypes.node.isRequired
8684};
8685
8686TabContent.contextTypes = {
8687 currentTab: PropTypes.number
8688};
8689
8690var Item = styled.li.withConfig({
8691 displayName: 'breadcrumb__Item',
8692 componentId: 'y4hbmr-0'
8693})([['{margin-left:0.5em;font-weight:300;font-family:', function (props) {
8694 return props.theme.font.base;
8695}, ';}'], [':first-child{margin-left:0;}']]);
8696
8697var Breadcrumb = function Breadcrumb(_ref) {
8698 var children = _ref.children;
8699 return React.createElement(
8700 Item,
8701 null,
8702 children
8703 );
8704};
8705
8706Breadcrumb.propTypes = {
8707 children: PropTypes.node
8708};
8709
8710var Container$10 = styled.ul.withConfig({
8711 displayName: 'breadcrumbs__Container',
8712 componentId: 'dnwscn-0'
8713})([['{list-style:none;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-left:0;margin-bottom:0;}']]);
8714
8715var Breadcrumbs = function Breadcrumbs(_ref) {
8716 var children = _ref.children,
8717 other = objectWithoutProperties(_ref, ['children']);
8718 return React.createElement(
8719 Container$10,
8720 other,
8721 Children.map(children, function (child, index) {
8722 var count = Children.count(children);
8723
8724 if (count === index + 1) {
8725 return _extends({}, child, { props: _extends({}, child.props, { last: true }) });
8726 }
8727
8728 return child;
8729 })
8730 );
8731};
8732
8733Breadcrumbs.propTypes = {
8734 children: PropTypes.node
8735};
8736
8737var Wrapper$1 = styled.span.withConfig({
8738 displayName: 'seperator__Wrapper',
8739 componentId: 's19g0t30-0'
8740})([['{margin-left:0.5em;}']]);
8741
8742var Seperator = function Seperator(props) {
8743 return React.createElement(
8744 Wrapper$1,
8745 props,
8746 '>'
8747 );
8748};
8749
8750var _templateObject$10 = taggedTemplateLiteral(['\n padding: ', ';\n padding-bottom: 0;\n padding-top: ', ';\n '], ['\n padding: ', ';\n padding-bottom: 0;\n padding-top: ', ';\n ']);
8751
8752var styling$1 = css([['{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;font-size:0.875em;color:', function (props) {
8753 return props.theme.color.grey;
8754}, ';font-family:', function (props) {
8755 return props.theme.font.base;
8756}, ';font-weight:300;padding:', function (props) {
8757 return props.theme.spacing.medium;
8758}, ';padding-bottom:0;padding-top:', function (props) {
8759 return props.theme.spacing.regular;
8760}, ';', media.large(_templateObject$10, function (props) {
8761 return props.theme.spacing.large;
8762}, function (props) {
8763 return props.theme.spacing.medium;
8764}), ';}']]);
8765
8766var Container$12 = styled.span.withConfig({
8767 displayName: 'meta__Container',
8768 componentId: 'zuq90-0'
8769})([['{', styling$1, ';}']]);
8770
8771var Meta$1 = function Meta(_ref) {
8772 var meta = _ref.meta,
8773 other = objectWithoutProperties(_ref, ['meta']);
8774
8775 if (!meta) return null;
8776
8777 return React.createElement(
8778 Container$12,
8779 other,
8780 React.createElement(
8781 'span',
8782 null,
8783 meta.left
8784 ),
8785 React.createElement(
8786 'span',
8787 null,
8788 meta.right
8789 )
8790 );
8791};
8792
8793Meta$1.propTypes = {
8794 meta: PropTypes.object
8795};
8796
8797var _templateObject$9 = taggedTemplateLiteral(['\n padding: ', ';\n '], ['\n padding: ', ';\n ']);
8798
8799var styling = css([['{display:block;position:relative;text-align:left;box-shadow:', function (props) {
8800 return props.border ? null : '0px 5px 10px 0px rgba(0, 0, 0, 0.10)';
8801}, ';color:', function (props) {
8802 return props.dark ? props.theme.colors.blank : props.theme.colors.black;
8803}, ';background:', function (props) {
8804 return props.dark ? props.theme.colors.black : props.theme.colors.blank;
8805}, ';border:1px solid rgba(0,0,0,0.1);border-radius:3px;-webkit-transition:box-shadow 0.3s cubic-bezier(0.25,0.8,0.25,1);transition:box-shadow 0.3s cubic-bezier(0.25,0.8,0.25,1);font-family:', function (props) {
8806 return props.theme.font.base;
8807}, ';padding:', function (props) {
8808 return props.theme.spacing.medium;
8809}, ';}', media.large(_templateObject$9, function (props) {
8810 return props.theme.spacing.large;
8811}), ' '], [':hover{box-shadow:', function (props) {
8812 return props.border ? null : '0px 10px 20px 0px rgba(0, 0, 0, 0.20)';
8813}, ';}'], [' p:first-child,'], [' h1:first-child,'], [' h2:first-child,'], [' h3:first-child{margin-top:-0.05em;}'], [' p:last-child,'], [' h1:last-child,'], [' h2:last-child,'], [' h3:last-child{margin-bottom:-0.05em;}'], [' *{box-sizing:border-box;}']]);
8814
8815var Container$11 = styled.div.withConfig({
8816 displayName: 'base__Container',
8817 componentId: 'uqvute-0'
8818})([['{', styling, ';}']]);
8819
8820var Card = function Card(_ref) {
8821 var children = _ref.children,
8822 meta = _ref.meta,
8823 other = objectWithoutProperties(_ref, ['children', 'meta']);
8824 return React.createElement(
8825 'div',
8826 null,
8827 React.createElement(
8828 Container$11,
8829 _extends({ className: 'card' }, other),
8830 children
8831 ),
8832 React.createElement(Meta$1, { className: 'meta', meta: meta })
8833 );
8834};
8835
8836Card.propTypes = {
8837 dark: PropTypes.bool,
8838 border: PropTypes.bool,
8839 children: PropTypes.node.isRequired,
8840 meta: PropTypes.shape({ left: PropTypes.string, right: PropTypes.string })
8841};
8842
8843var _templateObject$12 = taggedTemplateLiteral(['\n width: calc(100% + (2 * ', '));\n margin-left: -', ';\n margin-top: ', ';\n margin-bottom: ', ';\n padding: ', ';\n '], ['\n width: calc(100% + (2 * ', '));\n margin-left: -', ';\n margin-top: ', ';\n margin-bottom: ', ';\n padding: ', ';\n ']);
8844
8845var styling$3 = css([['{position:relative;width:calc(100% + (2 * ', function (props) {
8846 return props.theme.spacing.medium;
8847}, '));margin-left:-', function (props) {
8848 return props.theme.spacing.medium;
8849}, ';margin-top:', function (props) {
8850 return props.theme.spacing.medium;
8851}, ';margin-bottom:', function (props) {
8852 return props.theme.spacing.medium;
8853}, ';padding:', function (props) {
8854 return props.theme.spacing.medium;
8855}, ';', media.large(_templateObject$12, function (props) {
8856 return props.theme.spacing.large;
8857}, function (props) {
8858 return props.theme.spacing.large;
8859}, function (props) {
8860 return props.theme.spacing.large;
8861}, function (props) {
8862 return props.theme.spacing.large;
8863}, function (props) {
8864 return props.theme.spacing.large;
8865}), ';}']]);
8866
8867var Container$13 = styled.div.withConfig({
8868 displayName: 'inset__Container',
8869 componentId: 'sfh9w0-0'
8870})([['{', styling$3, ';}']]);
8871
8872var CardInset = function CardInset(_ref) {
8873 var children = _ref.children,
8874 other = objectWithoutProperties(_ref, ['children']);
8875 return React.createElement(
8876 Container$13,
8877 other,
8878 children
8879 );
8880};
8881
8882CardInset.propTypes = {
8883 children: PropTypes.node
8884};
8885
8886var _templateObject$11 = taggedTemplateLiteral(['\n margin-top: -', ';\n '], ['\n margin-top: -', ';\n ']);
8887
8888var styling$2 = css([['{background:', function (props) {
8889 return props.theme.colors.dim;
8890}, ';overflow:hidden;border-radius:3px 3px 0px 0px;position:relative;margin-top:-', function (props) {
8891 return props.theme.spacing.medium;
8892}, ';padding:0 !important;}', media.large(_templateObject$11, function (props) {
8893 return props.theme.spacing.large;
8894}), ' '], [':before{display:block;content:\'\';width:100%;padding-top:52.63%;}'], [' img{position:absolute;top:0;right:0;bottom:0;left:0;max-width:100%;height:auto;overflow:hidden;border-radius:3px 3px 0px 0px;}']]);
8895
8896var StyledCardInset = styled(CardInset).withConfig({
8897 displayName: 'image__StyledCardInset',
8898 componentId: 's2lqb2k-0'
8899})([['{', styling$2, ';}']]);
8900
8901/**
8902 * Card Image
8903 */
8904var CardImage = function CardImage(_ref) {
8905 var src = _ref.src,
8906 alt = _ref.alt,
8907 other = objectWithoutProperties(_ref, ['src', 'alt']);
8908 return React.createElement(
8909 StyledCardInset,
8910 other,
8911 src && React.createElement('img', { src: src, alt: alt })
8912 );
8913};
8914
8915CardImage.propTypes = {
8916 src: PropTypes.string,
8917 alt: PropTypes.string
8918};
8919
8920var _templateObject$13 = taggedTemplateLiteral(['\n margin-top: -', ';\n '], ['\n margin-top: -', ';\n ']);
8921
8922var StyledCardInset$1 = styled(CardInset).withConfig({
8923 displayName: 'header__StyledCardInset',
8924 componentId: 'e0iy5p-0'
8925})([['{position:relative;background:', function (props) {
8926 return props.theme.colors.dim;
8927}, ';border-radius:3px 3px 0px 0px;margin-top:-', function (props) {
8928 return props.theme.spacing.medium;
8929}, ';margin-bottom:', function (props) {
8930 return props.theme.spacing.medium;
8931}, ';padding:0 !important;', media.large(_templateObject$13, function (props) {
8932 return props.theme.spacing.large;
8933}), ';}']]);
8934
8935/**
8936 * Card Header
8937 */
8938var CardHeader = function CardHeader(_ref) {
8939 var children = _ref.children,
8940 other = objectWithoutProperties(_ref, ['children']);
8941 return React.createElement(
8942 StyledCardInset$1,
8943 other,
8944 children
8945 );
8946};
8947
8948CardHeader.propTypes = {
8949 children: PropTypes.node.isRequired
8950};
8951
8952var StyledCardInset$2 = styled(CardInset).withConfig({
8953 displayName: 'action__StyledCardInset',
8954 componentId: 's1iqkz9r-0'
8955})([['{background:', function (props) {
8956 return props.theme.colors.grey;
8957}, ';border-radius:0px 0px 3px 3px;margin-bottom:-', function (props) {
8958 return props.theme.spacing.large;
8959}, ';}']]);
8960
8961/**
8962 * Card action
8963 */
8964var CardAction = function CardAction(_ref) {
8965 var children = _ref.children,
8966 other = objectWithoutProperties(_ref, ['children']);
8967 return React.createElement(
8968 StyledCardInset$2,
8969 other,
8970 children
8971 );
8972};
8973
8974CardAction.propTypes = {
8975 children: PropTypes.node.isRequired
8976};
8977
8978export { index as Flag, index$1 as Icon, index$2 as Toast, index$3 as Button, Tag, Text, Logo, Meta, Title, Input, Label, Radio, Author, Preview, Spinner, Dropdown, Dropzone, Textarea, Paragraph, Countdown, SmallCaps, grid as Grid, row as Row, column as Column, box as Box, ProfilePicture, Table, Row as TableRow, Cell as TableCell, DefinitionData, DefinitionTerm, Tab, Tabs, TabPanel, TabList, TabContent, Breadcrumb, Breadcrumbs, Seperator as BreadcrumbSeperator, Card, Meta$1 as CardMeta, CardImage, CardInset, CardHeader, CardAction, theme, media, fontSize };