1 | 'use strict';
|
2 |
|
3 | function __$styleInject(css, returnValue) {
|
4 | if (typeof document === 'undefined') {
|
5 | return returnValue;
|
6 | }
|
7 | css = css || '';
|
8 | var head = document.head || document.getElementsByTagName('head')[0];
|
9 | var style = document.createElement('style');
|
10 | style.type = 'text/css';
|
11 | head.appendChild(style);
|
12 |
|
13 | if (style.styleSheet){
|
14 | style.styleSheet.cssText = css;
|
15 | } else {
|
16 | style.appendChild(document.createTextNode(css));
|
17 | }
|
18 | return returnValue;
|
19 | }
|
20 |
|
21 | Object.defineProperty(exports, '__esModule', { value: true });
|
22 |
|
23 | function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
24 |
|
25 | var React = require('react');
|
26 | var React__default = _interopDefault(React);
|
27 | var PropTypes = _interopDefault(require('prop-types'));
|
28 | var styled = require('styled-components/no-parser');
|
29 | var styled__default = _interopDefault(styled);
|
30 |
|
31 | var asyncGenerator = function () {
|
32 | function AwaitValue(value) {
|
33 | this.value = value;
|
34 | }
|
35 |
|
36 | function AsyncGenerator(gen) {
|
37 | var front, back;
|
38 |
|
39 | function send(key, arg) {
|
40 | return new Promise(function (resolve, reject) {
|
41 | var request = {
|
42 | key: key,
|
43 | arg: arg,
|
44 | resolve: resolve,
|
45 | reject: reject,
|
46 | next: null
|
47 | };
|
48 |
|
49 | if (back) {
|
50 | back = back.next = request;
|
51 | } else {
|
52 | front = back = request;
|
53 | resume(key, arg);
|
54 | }
|
55 | });
|
56 | }
|
57 |
|
58 | function resume(key, arg) {
|
59 | try {
|
60 | var result = gen[key](arg);
|
61 | var value = result.value;
|
62 |
|
63 | if (value instanceof AwaitValue) {
|
64 | Promise.resolve(value.value).then(function (arg) {
|
65 | resume("next", arg);
|
66 | }, function (arg) {
|
67 | resume("throw", arg);
|
68 | });
|
69 | } else {
|
70 | settle(result.done ? "return" : "normal", result.value);
|
71 | }
|
72 | } catch (err) {
|
73 | settle("throw", err);
|
74 | }
|
75 | }
|
76 |
|
77 | function settle(type, value) {
|
78 | switch (type) {
|
79 | case "return":
|
80 | front.resolve({
|
81 | value: value,
|
82 | done: true
|
83 | });
|
84 | break;
|
85 |
|
86 | case "throw":
|
87 | front.reject(value);
|
88 | break;
|
89 |
|
90 | default:
|
91 | front.resolve({
|
92 | value: value,
|
93 | done: false
|
94 | });
|
95 | break;
|
96 | }
|
97 |
|
98 | front = front.next;
|
99 |
|
100 | if (front) {
|
101 | resume(front.key, front.arg);
|
102 | } else {
|
103 | back = null;
|
104 | }
|
105 | }
|
106 |
|
107 | this._invoke = send;
|
108 |
|
109 | if (typeof gen.return !== "function") {
|
110 | this.return = undefined;
|
111 | }
|
112 | }
|
113 |
|
114 | if (typeof Symbol === "function" && Symbol.asyncIterator) {
|
115 | AsyncGenerator.prototype[Symbol.asyncIterator] = function () {
|
116 | return this;
|
117 | };
|
118 | }
|
119 |
|
120 | AsyncGenerator.prototype.next = function (arg) {
|
121 | return this._invoke("next", arg);
|
122 | };
|
123 |
|
124 | AsyncGenerator.prototype.throw = function (arg) {
|
125 | return this._invoke("throw", arg);
|
126 | };
|
127 |
|
128 | AsyncGenerator.prototype.return = function (arg) {
|
129 | return this._invoke("return", arg);
|
130 | };
|
131 |
|
132 | return {
|
133 | wrap: function (fn) {
|
134 | return function () {
|
135 | return new AsyncGenerator(fn.apply(this, arguments));
|
136 | };
|
137 | },
|
138 | await: function (value) {
|
139 | return new AwaitValue(value);
|
140 | }
|
141 | };
|
142 | }();
|
143 |
|
144 |
|
145 |
|
146 |
|
147 |
|
148 | var classCallCheck = function (instance, Constructor) {
|
149 | if (!(instance instanceof Constructor)) {
|
150 | throw new TypeError("Cannot call a class as a function");
|
151 | }
|
152 | };
|
153 |
|
154 | var createClass = function () {
|
155 | function defineProperties(target, props) {
|
156 | for (var i = 0; i < props.length; i++) {
|
157 | var descriptor = props[i];
|
158 | descriptor.enumerable = descriptor.enumerable || false;
|
159 | descriptor.configurable = true;
|
160 | if ("value" in descriptor) descriptor.writable = true;
|
161 | Object.defineProperty(target, descriptor.key, descriptor);
|
162 | }
|
163 | }
|
164 |
|
165 | return function (Constructor, protoProps, staticProps) {
|
166 | if (protoProps) defineProperties(Constructor.prototype, protoProps);
|
167 | if (staticProps) defineProperties(Constructor, staticProps);
|
168 | return Constructor;
|
169 | };
|
170 | }();
|
171 |
|
172 |
|
173 |
|
174 |
|
175 |
|
176 | var defineProperty = function (obj, key, value) {
|
177 | if (key in obj) {
|
178 | Object.defineProperty(obj, key, {
|
179 | value: value,
|
180 | enumerable: true,
|
181 | configurable: true,
|
182 | writable: true
|
183 | });
|
184 | } else {
|
185 | obj[key] = value;
|
186 | }
|
187 |
|
188 | return obj;
|
189 | };
|
190 |
|
191 | var _extends = Object.assign || function (target) {
|
192 | for (var i = 1; i < arguments.length; i++) {
|
193 | var source = arguments[i];
|
194 |
|
195 | for (var key in source) {
|
196 | if (Object.prototype.hasOwnProperty.call(source, key)) {
|
197 | target[key] = source[key];
|
198 | }
|
199 | }
|
200 | }
|
201 |
|
202 | return target;
|
203 | };
|
204 |
|
205 |
|
206 |
|
207 | var inherits = function (subClass, superClass) {
|
208 | if (typeof superClass !== "function" && superClass !== null) {
|
209 | throw new TypeError("Super expression must either be null or a function, not " + typeof superClass);
|
210 | }
|
211 |
|
212 | subClass.prototype = Object.create(superClass && superClass.prototype, {
|
213 | constructor: {
|
214 | value: subClass,
|
215 | enumerable: false,
|
216 | writable: true,
|
217 | configurable: true
|
218 | }
|
219 | });
|
220 | if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;
|
221 | };
|
222 |
|
223 |
|
224 |
|
225 |
|
226 |
|
227 |
|
228 |
|
229 |
|
230 |
|
231 | var objectWithoutProperties = function (obj, keys) {
|
232 | var target = {};
|
233 |
|
234 | for (var i in obj) {
|
235 | if (keys.indexOf(i) >= 0) continue;
|
236 | if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;
|
237 | target[i] = obj[i];
|
238 | }
|
239 |
|
240 | return target;
|
241 | };
|
242 |
|
243 | var possibleConstructorReturn = function (self, call) {
|
244 | if (!self) {
|
245 | throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
246 | }
|
247 |
|
248 | return call && (typeof call === "object" || typeof call === "function") ? call : self;
|
249 | };
|
250 |
|
251 |
|
252 |
|
253 |
|
254 |
|
255 |
|
256 |
|
257 |
|
258 |
|
259 | var taggedTemplateLiteral = function (strings, raw) {
|
260 | return Object.freeze(Object.defineProperties(strings, {
|
261 | raw: {
|
262 | value: Object.freeze(raw)
|
263 | }
|
264 | }));
|
265 | };
|
266 |
|
267 | var IconBase = function IconBase(_ref) {
|
268 | var children = _ref.children,
|
269 | props = objectWithoutProperties(_ref, ['children']);
|
270 | return React__default.createElement(
|
271 | 'svg',
|
272 | _extends({ style: { fill: 'currentColor', borderRadius: '3px' } }, props),
|
273 | children
|
274 | );
|
275 | };
|
276 |
|
277 | IconBase.propTypes = {
|
278 | children: PropTypes.node.isRequired
|
279 | };
|
280 |
|
281 |
|
282 | var Flag = function Flag(props) {
|
283 | return React__default.createElement(
|
284 | IconBase,
|
285 | _extends({ viewBox: '0 0 56 40' }, props),
|
286 | React__default.createElement('rect', { fill: '#FF0000', x: '0', y: '0', width: '56', height: '40' }),
|
287 | React__default.createElement('polygon', {
|
288 | fill: '#3E3E3E',
|
289 | 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'
|
290 | })
|
291 | );
|
292 | };
|
293 |
|
294 | Flag.displayName = 'FlagAL';
|
295 |
|
296 |
|
297 | var Flag$2 = function Flag(props) {
|
298 | return React__default.createElement(
|
299 | IconBase,
|
300 | _extends({ viewBox: '0 0 56 40' }, props),
|
301 | React__default.createElement('rect', {
|
302 | id: 'Rectangle-path',
|
303 | fill: '#FFD200',
|
304 | x: '0',
|
305 | y: '0',
|
306 | width: '56',
|
307 | height: '40'
|
308 | }),
|
309 | React__default.createElement('rect', {
|
310 | id: 'Rectangle-path',
|
311 | fill: '#FF0000',
|
312 | x: '38',
|
313 | y: '0',
|
314 | width: '18',
|
315 | height: '40'
|
316 | }),
|
317 | React__default.createElement('rect', {
|
318 | id: 'Rectangle-path',
|
319 | fill: '#3B6AC3',
|
320 | x: '0',
|
321 | y: '0',
|
322 | width: '18',
|
323 | height: '40'
|
324 | }),
|
325 | React__default.createElement('path', {
|
326 | 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',
|
327 | id: 'Shape',
|
328 | fill: '#FF9C00'
|
329 | })
|
330 | );
|
331 | };
|
332 |
|
333 | Flag$2.displayName = 'FlagAD';
|
334 |
|
335 |
|
336 | var Flag$4 = function Flag(props) {
|
337 | return React__default.createElement(
|
338 | IconBase,
|
339 | _extends({ viewBox: '0 0 56 40' }, props),
|
340 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#001468', x: '0', y: '0', width: '56', height: '40' }),
|
341 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#FF9C00', x: '0', y: '27', width: '56', height: '13' }),
|
342 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#FF0000', x: '0', y: '0', width: '56', height: '13' })
|
343 | );
|
344 | };
|
345 |
|
346 | Flag$4.displayName = 'FlagAM';
|
347 |
|
348 |
|
349 | var Flag$6 = function Flag(props) {
|
350 | return React__default.createElement(
|
351 | IconBase,
|
352 | _extends({ viewBox: '0 0 56 40' }, props),
|
353 | React__default.createElement('rect', {
|
354 | id: 'Rectangle-path',
|
355 | fill: '#001468',
|
356 | x: '0',
|
357 | y: '0',
|
358 | width: '56',
|
359 | height: '40'
|
360 | }),
|
361 | React__default.createElement('polygon', {
|
362 | id: 'Shape',
|
363 | fill: '#FFFFFF',
|
364 | 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'
|
365 | }),
|
366 | React__default.createElement('polygon', {
|
367 | id: 'Shape',
|
368 | fill: '#FF0000',
|
369 | 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'
|
370 | }),
|
371 | React__default.createElement('path', {
|
372 | 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',
|
373 | id: 'Shape',
|
374 | fill: '#FFFFFF'
|
375 | })
|
376 | );
|
377 | };
|
378 |
|
379 | Flag$6.displayName = 'FlagAU';
|
380 |
|
381 |
|
382 | var Flag$8 = function Flag(props) {
|
383 | return React__default.createElement(
|
384 | IconBase,
|
385 | _extends({ viewBox: '0 0 56 40' }, props),
|
386 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#FFFFFF', x: '0', y: '0', width: '56', height: '40' }),
|
387 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#FF0000', x: '0', y: '27', width: '56', height: '13' }),
|
388 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#FF0000', x: '0', y: '0', width: '56', height: '13' })
|
389 | );
|
390 | };
|
391 |
|
392 | Flag$8.displayName = 'FlagAT';
|
393 |
|
394 |
|
395 | var Flag$10 = function Flag(props) {
|
396 | return React__default.createElement(
|
397 | IconBase,
|
398 | _extends({ viewBox: '0 0 56 40' }, props),
|
399 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#FF0000', x: '0', y: '0', width: '56', height: '40' }),
|
400 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#39953E', x: '0', y: '27', width: '56', height: '13' }),
|
401 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#3B6AC3', x: '0', y: '0', width: '56', height: '13' }),
|
402 | React__default.createElement('circle', { id: 'Oval', fill: '#FFFFFF', cx: '28', cy: '20', r: '5' })
|
403 | );
|
404 | };
|
405 |
|
406 | Flag$10.displayName = 'FlagAZ';
|
407 |
|
408 |
|
409 | var Flag$12 = function Flag(props) {
|
410 | return React__default.createElement(
|
411 | IconBase,
|
412 | _extends({ viewBox: '0 0 56 40' }, props),
|
413 | React__default.createElement('rect', {
|
414 | id: 'Rectangle-path',
|
415 | fill: '#FF0000',
|
416 | x: '0',
|
417 | y: '0',
|
418 | width: '56',
|
419 | height: '27'
|
420 | }),
|
421 | React__default.createElement('rect', {
|
422 | id: 'Rectangle-path',
|
423 | fill: '#39953E',
|
424 | x: '0',
|
425 | y: '27',
|
426 | width: '56',
|
427 | height: '13'
|
428 | }),
|
429 | React__default.createElement('rect', { id: 'Rectangle-2', fill: '#FFFFFF', x: '0', y: '0', width: '18', height: '40' }),
|
430 | React__default.createElement('path', {
|
431 | 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',
|
432 | id: 'Path',
|
433 | fill: '#FF0000'
|
434 | }),
|
435 | React__default.createElement('path', {
|
436 | 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',
|
437 | id: 'Path',
|
438 | fill: '#FF0000'
|
439 | }),
|
440 | React__default.createElement('path', {
|
441 | 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',
|
442 | id: 'Path',
|
443 | fill: '#FF0000'
|
444 | }),
|
445 | React__default.createElement('path', {
|
446 | 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',
|
447 | id: 'Path',
|
448 | fill: '#FF0000'
|
449 | }),
|
450 | React__default.createElement('path', {
|
451 | 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',
|
452 | id: 'Path',
|
453 | fill: '#FF0000'
|
454 | })
|
455 | );
|
456 | };
|
457 |
|
458 | Flag$12.displayName = 'FlagBY';
|
459 |
|
460 |
|
461 | var Flag$14 = function Flag(props) {
|
462 | return React__default.createElement(
|
463 | IconBase,
|
464 | _extends({ viewBox: '0 0 56 40' }, props),
|
465 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#FFD200', x: '0', y: '0', width: '56', height: '40' }),
|
466 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#3E3E3E', x: '0', y: '0', width: '18', height: '40' }),
|
467 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#FF0000', x: '38', y: '0', width: '18', height: '40' })
|
468 | );
|
469 | };
|
470 |
|
471 | Flag$14.displayName = 'FlagBE';
|
472 |
|
473 |
|
474 | var Flag$16 = function Flag(props) {
|
475 | return React__default.createElement(
|
476 | IconBase,
|
477 | _extends({ viewBox: '0 0 42 30' }, props),
|
478 | React__default.createElement('rect', { id: 'Rectangle-5', fill: '#001468', x: '0', y: '0', width: '42', height: '30' }),
|
479 | React__default.createElement('polygon', {
|
480 | id: 'Rectangle-3',
|
481 | fill: '#FFD200',
|
482 | points: '9 0 33.145586 0 33.145586 30.1690928'
|
483 | }),
|
484 | React__default.createElement('path', {
|
485 | 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',
|
486 | id: 'Path',
|
487 | fill: '#FFFFFF',
|
488 | transform: 'translate(10.447901, 6.942571) rotate(11.000000) translate(-10.447901, -6.942571) '
|
489 | }),
|
490 | React__default.createElement('path', {
|
491 | 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',
|
492 | id: 'Path',
|
493 | fill: '#FFFFFF',
|
494 | transform: 'translate(7.143969, 2.862555) rotate(11.000000) translate(-7.143969, -2.862555) '
|
495 | }),
|
496 | React__default.createElement('path', {
|
497 | 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',
|
498 | id: 'Path',
|
499 | fill: '#FFFFFF',
|
500 | transform: 'translate(13.751833, 11.022587) rotate(11.000000) translate(-13.751833, -11.022587) '
|
501 | }),
|
502 | React__default.createElement('path', {
|
503 | 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',
|
504 | id: 'Path',
|
505 | fill: '#FFFFFF',
|
506 | transform: 'translate(17.055765, 15.102604) rotate(11.000000) translate(-17.055765, -15.102604) '
|
507 | }),
|
508 | React__default.createElement('path', {
|
509 | 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',
|
510 | id: 'Path',
|
511 | fill: '#FFFFFF',
|
512 | transform: 'translate(23.831345, 23.469749) rotate(11.000000) translate(-23.831345, -23.469749) '
|
513 | }),
|
514 | React__default.createElement('path', {
|
515 | 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',
|
516 | id: 'Path',
|
517 | fill: '#FFFFFF',
|
518 | transform: 'translate(20.527413, 19.389733) rotate(11.000000) translate(-20.527413, -19.389733) '
|
519 | }),
|
520 | React__default.createElement('path', {
|
521 | 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',
|
522 | id: 'Path',
|
523 | fill: '#FFFFFF',
|
524 | transform: 'translate(27.135277, 27.549765) rotate(11.000000) translate(-27.135277, -27.549765) '
|
525 | })
|
526 | );
|
527 | };
|
528 |
|
529 | Flag$16.displayName = 'FlagBA';
|
530 |
|
531 |
|
532 | var Flag$18 = function Flag(props) {
|
533 | return React__default.createElement(
|
534 | IconBase,
|
535 | _extends({ viewBox: '0 0 56 40' }, props),
|
536 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#39953E', x: '0', y: '0', width: '56', height: '40' }),
|
537 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#FF0000', x: '0', y: '27', width: '56', height: '13' }),
|
538 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#FFFFFF', x: '0', y: '0', width: '56', height: '13' })
|
539 | );
|
540 | };
|
541 |
|
542 | Flag$18.displayName = 'FlagBG';
|
543 |
|
544 |
|
545 | var Flag$20 = function Flag(props) {
|
546 | return React__default.createElement(
|
547 | IconBase,
|
548 | _extends({ viewBox: '0 0 42 30' }, props),
|
549 | React__default.createElement(
|
550 | 'g',
|
551 | { fill: 'none', 'fill-rule': 'evenodd' },
|
552 | React__default.createElement('path', { fill: '#FFF', d: 'M0 10h42v10H0z' }),
|
553 | React__default.createElement('path', { fill: '#3B6AC3', d: 'M0 20h42v10H0z' }),
|
554 | React__default.createElement('path', { fill: '#F00', d: 'M0 0h42v10H0z' }),
|
555 | React__default.createElement('path', { fill: '#3B6AC3', d: 'M16 8l1.033-1L18 8v2h-2' }),
|
556 | React__default.createElement('path', { fill: '#001468', d: 'M18 8l1.033-1L20 8v2h-2' }),
|
557 | React__default.createElement('path', { fill: '#3B6AC3', d: 'M20 8l1.033-1L22 8v2h-2M24 8l1.033-1L26 8v2h-2' }),
|
558 | React__default.createElement('path', { fill: '#001468', d: 'M22 8l1.033-1L24 8v2h-2' }),
|
559 | React__default.createElement(
|
560 | 'g',
|
561 | null,
|
562 | React__default.createElement('path', {
|
563 | fill: '#F00',
|
564 | 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'
|
565 | }),
|
566 | React__default.createElement('path', { fill: '#FFF', d: 'M20 20h2v2h-2z' })
|
567 | )
|
568 | )
|
569 | );
|
570 | };
|
571 |
|
572 | Flag$20.displayName = 'FlagHR';
|
573 |
|
574 |
|
575 | var Flag$22 = function Flag(props) {
|
576 | return React__default.createElement(
|
577 | IconBase,
|
578 | _extends({ viewBox: '0 0 56 40' }, props),
|
579 | React__default.createElement('rect', {
|
580 | id: 'Rectangle-path',
|
581 | fill: '#FFFFFF',
|
582 | x: '0',
|
583 | y: '0',
|
584 | width: '56',
|
585 | height: '40'
|
586 | }),
|
587 | React__default.createElement('path', {
|
588 | 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',
|
589 | id: 'Path-2',
|
590 | fill: '#FF9C00'
|
591 | }),
|
592 | React__default.createElement('path', {
|
593 | 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',
|
594 | id: 'Shape',
|
595 | fill: '#39953E',
|
596 | transform: 'translate(28.000000, 31.500000) rotate(90.000000) translate(-28.000000, -31.500000) '
|
597 | })
|
598 | );
|
599 | };
|
600 |
|
601 | Flag$22.displayName = 'FlagCY';
|
602 |
|
603 |
|
604 | var Flag$24 = function Flag(props) {
|
605 | return React__default.createElement(
|
606 | IconBase,
|
607 | _extends({ viewBox: '0 0 56 40' }, props),
|
608 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#FFFFFF', x: '0', y: '0', width: '56', height: '40' }),
|
609 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#FF0000', x: '0', y: '20', width: '56', height: '20' }),
|
610 | React__default.createElement('polygon', { id: 'Shape', fill: '#001468', points: '0 0 24 20 0 40' })
|
611 | );
|
612 | };
|
613 |
|
614 | Flag$24.displayName = 'FlagCZ';
|
615 |
|
616 |
|
617 | var Flag$26 = function Flag(props) {
|
618 | return React__default.createElement(
|
619 | IconBase,
|
620 | _extends({ viewBox: '0 0 56 40' }, props),
|
621 | React__default.createElement('rect', {
|
622 | id: 'Rectangle-path',
|
623 | fill: '#FF0000',
|
624 | x: '0',
|
625 | y: '0',
|
626 | width: '56',
|
627 | height: '40'
|
628 | }),
|
629 | React__default.createElement('polygon', {
|
630 | id: 'Shape',
|
631 | fill: '#FFFFFF',
|
632 | 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'
|
633 | })
|
634 | );
|
635 | };
|
636 |
|
637 | Flag$26.displayName = 'FlagDK';
|
638 |
|
639 |
|
640 | var Flag$28 = function Flag(props) {
|
641 | return React__default.createElement(
|
642 | IconBase,
|
643 | _extends({ viewBox: '0 0 56 40' }, props),
|
644 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#3E3E3E', x: '0', y: '0', width: '56', height: '40' }),
|
645 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#FFFFFF', x: '0', y: '27', width: '56', height: '13' }),
|
646 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#3B6AC3', x: '0', y: '0', width: '56', height: '13' })
|
647 | );
|
648 | };
|
649 |
|
650 | Flag$28.displayName = 'FlagEE';
|
651 |
|
652 |
|
653 | var Flag$30 = function Flag(props) {
|
654 | return React__default.createElement(
|
655 | IconBase,
|
656 | _extends({ viewBox: '0 0 56 40' }, props),
|
657 | React__default.createElement('rect', {
|
658 | id: 'Rectangle-path',
|
659 | fill: '#FFFFFF',
|
660 | x: '0',
|
661 | y: '0',
|
662 | width: '56',
|
663 | height: '40'
|
664 | }),
|
665 | React__default.createElement('polygon', {
|
666 | id: 'Shape',
|
667 | fill: '#3B6AC3',
|
668 | 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'
|
669 | })
|
670 | );
|
671 | };
|
672 |
|
673 | Flag$30.displayName = 'FlagFI';
|
674 |
|
675 |
|
676 | var Flag$32 = function Flag(props) {
|
677 | return React__default.createElement(
|
678 | IconBase,
|
679 | _extends({ viewBox: '0 0 56 40' }, props),
|
680 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#FFFFFF', x: '0', y: '0', width: '56', height: '40' }),
|
681 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#3B6AC3', x: '0', y: '0', width: '18', height: '40' }),
|
682 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#FF0000', x: '38', y: '0', width: '18', height: '40' })
|
683 | );
|
684 | };
|
685 |
|
686 | Flag$32.displayName = 'FlagFR';
|
687 |
|
688 |
|
689 | var Flag$34 = function Flag(props) {
|
690 | return React__default.createElement(
|
691 | IconBase,
|
692 | _extends({ viewBox: '0 0 56 40' }, props),
|
693 | React__default.createElement('rect', {
|
694 | id: 'Rectangle-path',
|
695 | fill: '#FFFFFF',
|
696 | x: '0',
|
697 | y: '0',
|
698 | width: '56',
|
699 | height: '40'
|
700 | }),
|
701 | React__default.createElement('polygon', {
|
702 | id: 'Shape',
|
703 | fill: '#FF0000',
|
704 | 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'
|
705 | }),
|
706 | React__default.createElement('polygon', {
|
707 | id: 'Shape',
|
708 | fill: '#FF0000',
|
709 | 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'
|
710 | }),
|
711 | React__default.createElement('polygon', {
|
712 | id: 'Shape',
|
713 | fill: '#FF0000',
|
714 | 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'
|
715 | }),
|
716 | React__default.createElement('polygon', {
|
717 | id: 'Shape',
|
718 | fill: '#FF0000',
|
719 | 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'
|
720 | }),
|
721 | React__default.createElement('polygon', {
|
722 | id: 'Shape',
|
723 | fill: '#FF0000',
|
724 | 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'
|
725 | })
|
726 | );
|
727 | };
|
728 |
|
729 | Flag$34.displayName = 'FlagGE';
|
730 |
|
731 |
|
732 | var Flag$36 = function Flag(props) {
|
733 | return React__default.createElement(
|
734 | IconBase,
|
735 | _extends({ viewBox: '0 0 56 40' }, props),
|
736 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#FF0000', x: '0', y: '0', width: '56', height: '40' }),
|
737 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#FFD200', x: '0', y: '27', width: '56', height: '13' }),
|
738 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#3E3E3E', x: '0', y: '0', width: '56', height: '13' })
|
739 | );
|
740 | };
|
741 |
|
742 | Flag$36.displayName = 'FlagDE';
|
743 |
|
744 |
|
745 | var Flag$38 = function Flag(props) {
|
746 | return React__default.createElement(
|
747 | IconBase,
|
748 | _extends({ viewBox: '0 0 42 30' }, props),
|
749 | React__default.createElement(
|
750 | 'g',
|
751 | { fill: 'none', fillRule: 'evenodd' },
|
752 | React__default.createElement('path', { fill: '#FFF', d: 'M0 0h42v30H0z' }),
|
753 | React__default.createElement('path', { fill: '#3B6AC3', d: 'M0 0h42v3.3H0z' }),
|
754 | React__default.createElement('path', { fill: '#3B6AC3', d: 'M0 0h16.65v16.65H0z' }),
|
755 | React__default.createElement('path', {
|
756 | fill: '#3B6AC3',
|
757 | d: 'M0 6.675h42v3.3H0zM0 13.35h42v3.3H0zM0 20.025h42v3.3H0zM0 26.7h42V30H0z'
|
758 | }),
|
759 | React__default.createElement('path', { fill: '#FFF', d: 'M0 6.675h16.65v3.3H0z' }),
|
760 | React__default.createElement('path', { fill: '#FFF', d: 'M9.975 0v16.65h-3.3V0z' })
|
761 | )
|
762 | );
|
763 | };
|
764 |
|
765 | Flag$38.displayName = 'FlagGR';
|
766 |
|
767 |
|
768 | var Flag$40 = function Flag(props) {
|
769 | return React__default.createElement(
|
770 | IconBase,
|
771 | _extends({ viewBox: '0 0 56 40' }, props),
|
772 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#FFFFFF', x: '0', y: '0', width: '56', height: '40' }),
|
773 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#39953E', x: '0', y: '27', width: '56', height: '13' }),
|
774 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#FF0000', x: '0', y: '0', width: '56', height: '13' })
|
775 | );
|
776 | };
|
777 |
|
778 | Flag$40.displayName = 'FlagHU';
|
779 |
|
780 |
|
781 | var Flag$42 = function Flag(props) {
|
782 | return React__default.createElement(
|
783 | IconBase,
|
784 | _extends({ viewBox: '0 0 56 40' }, props),
|
785 | React__default.createElement('rect', {
|
786 | id: 'Rectangle-path',
|
787 | fill: '#3B6AC3',
|
788 | x: '0',
|
789 | y: '0',
|
790 | width: '56',
|
791 | height: '40'
|
792 | }),
|
793 | React__default.createElement('polygon', {
|
794 | id: 'Shape',
|
795 | fill: '#FFFFFF',
|
796 | 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'
|
797 | }),
|
798 | React__default.createElement('polygon', {
|
799 | id: 'Shape',
|
800 | fill: '#FF0000',
|
801 | 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'
|
802 | })
|
803 | );
|
804 | };
|
805 |
|
806 | Flag$42.displayName = 'FlagIS';
|
807 |
|
808 |
|
809 | var Flag$44 = function Flag(props) {
|
810 | return React__default.createElement(
|
811 | IconBase,
|
812 | _extends({ viewBox: '0 0 56 40' }, props),
|
813 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#FFFFFF', x: '0', y: '0', width: '56', height: '40' }),
|
814 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#FF9C00', x: '38', y: '0', width: '18', height: '40' }),
|
815 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#39953E', x: '0', y: '0', width: '18', height: '40' })
|
816 | );
|
817 | };
|
818 |
|
819 | Flag$44.displayName = 'FlagIE';
|
820 |
|
821 |
|
822 | var Flag$46 = function Flag(props) {
|
823 | return React__default.createElement(
|
824 | IconBase,
|
825 | _extends({ viewBox: '0 0 42 30' }, props),
|
826 | React__default.createElement(
|
827 | 'g',
|
828 | { fill: 'none', fillRule: 'evenodd' },
|
829 | React__default.createElement('path', { fill: '#FFF', d: 'M0 0h42v30H0z' }),
|
830 | React__default.createElement('path', { fill: '#3B6AC3', d: 'M0 24h42v6H0zM0 0h42v6H0z' }),
|
831 | React__default.createElement(
|
832 | 'g',
|
833 | { strokeWidth: '.8', stroke: '#3B6AC3' },
|
834 | React__default.createElement('path', { d: 'M21.004 9.276l5.195 8.5H15.81z' }),
|
835 | React__default.createElement('path', { d: 'M21.004 20.776l5.195-8.5H15.81z' })
|
836 | )
|
837 | )
|
838 | );
|
839 | };
|
840 |
|
841 | Flag$46.displayName = 'FlagIL';
|
842 |
|
843 |
|
844 | var Flag$48 = function Flag(props) {
|
845 | return React__default.createElement(
|
846 | IconBase,
|
847 | _extends({ viewBox: '0 0 56 40' }, props),
|
848 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#FFFFFF', x: '0', y: '0', width: '56', height: '40' }),
|
849 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#39953E', x: '0', y: '0', width: '18', height: '40' }),
|
850 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#FF0000', x: '38', y: '0', width: '18', height: '40' })
|
851 | );
|
852 | };
|
853 |
|
854 | Flag$48.displayName = 'FlagIT';
|
855 |
|
856 |
|
857 | var Flag$50 = function Flag(props) {
|
858 | return React__default.createElement(
|
859 | IconBase,
|
860 | _extends({ viewBox: '0 0 42 30' }, props),
|
861 | React__default.createElement(
|
862 | 'g',
|
863 | { fill: 'none', 'fill-rule': 'evenodd' },
|
864 | React__default.createElement('path', { fill: '#A5282E', d: 'M0 0h42v30H0z' }),
|
865 | React__default.createElement('path', { fill: '#FFF', d: 'M0 12h42v6H0z' })
|
866 | )
|
867 | );
|
868 | };
|
869 |
|
870 | Flag$50.displayName = 'FlagLV';
|
871 |
|
872 |
|
873 | var Flag$52 = function Flag(props) {
|
874 | return React__default.createElement(
|
875 | IconBase,
|
876 | _extends({ viewBox: '0 0 56 40' }, props),
|
877 | React__default.createElement('rect', {
|
878 | id: 'Rectangle-path',
|
879 | fill: '#39953E',
|
880 | x: '0',
|
881 | y: '0',
|
882 | width: '56',
|
883 | height: '40'
|
884 | }),
|
885 | React__default.createElement('rect', {
|
886 | id: 'Rectangle-path',
|
887 | fill: '#FF0000',
|
888 | x: '0',
|
889 | y: '27',
|
890 | width: '56',
|
891 | height: '13'
|
892 | }),
|
893 | React__default.createElement('rect', {
|
894 | id: 'Rectangle-path',
|
895 | fill: '#FF9C00',
|
896 | x: '0',
|
897 | y: '0',
|
898 | width: '56',
|
899 | height: '13'
|
900 | })
|
901 | );
|
902 | };
|
903 |
|
904 | Flag$52.displayName = 'FlagLT';
|
905 |
|
906 |
|
907 | var Flag$54 = function Flag(props) {
|
908 | return React__default.createElement(
|
909 | IconBase,
|
910 | _extends({ viewBox: '0 0 56 40' }, props),
|
911 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#FFFFFF', x: '0', y: '0', width: '56', height: '40' }),
|
912 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#7EC8EB', x: '0', y: '27', width: '56', height: '13' }),
|
913 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#FF0000', x: '0', y: '0', width: '56', height: '13' })
|
914 | );
|
915 | };
|
916 |
|
917 | Flag$54.displayName = 'FlagLU';
|
918 |
|
919 |
|
920 | var Flag$56 = function Flag(props) {
|
921 | return React__default.createElement(
|
922 | IconBase,
|
923 | _extends({ viewBox: '0 0 42 30' }, props),
|
924 | React__default.createElement('rect', { id: 'Rectangle', fill: '#FF0000', x: '0', y: '0', width: '42', height: '30' }),
|
925 | React__default.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' }),
|
926 | React__default.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' }),
|
927 | React__default.createElement('polygon', { id: 'Path-4', fill: '#FFD200', points: '0.0009765625 12.4472046 17.7207031 14.9025269 17.8007812 15.3245239 0 17.5928345' }),
|
928 | React__default.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' }),
|
929 | React__default.createElement('polygon', { id: 'Path-5', fill: '#FFD200', points: '23.3726807 17.8721924 39.597168 30 32.2716064 30' }),
|
930 | React__default.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' }),
|
931 | React__default.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' }),
|
932 | React__default.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' }),
|
933 | React__default.createElement('ellipse', { id: 'Oval', fill: '#FF0000', cx: '21', cy: '14.9528656', rx: '6', ry: '6' }),
|
934 | React__default.createElement('ellipse', { id: 'Oval', fill: '#FFD200', cx: '21', cy: '14.9528656', rx: '3.75', ry: '3.75' })
|
935 | );
|
936 | };
|
937 |
|
938 | Flag$56.displayName = 'FlagNL';
|
939 |
|
940 |
|
941 | var Flag$58 = function Flag(props) {
|
942 | return React__default.createElement(
|
943 | IconBase,
|
944 | _extends({ viewBox: '0 0 56 40' }, props),
|
945 | React__default.createElement('rect', {
|
946 | id: 'Rectangle-path',
|
947 | fill: '#FF0000',
|
948 | x: '0',
|
949 | y: '0',
|
950 | width: '56',
|
951 | height: '40'
|
952 | }),
|
953 | React__default.createElement('rect', {
|
954 | id: 'Rectangle-path',
|
955 | fill: '#FFFFFF',
|
956 | x: '0',
|
957 | y: '0',
|
958 | width: '28',
|
959 | height: '40'
|
960 | }),
|
961 | React__default.createElement('polygon', {
|
962 | id: 'Shape',
|
963 | fill: '#FF0000',
|
964 | 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'
|
965 | })
|
966 | );
|
967 | };
|
968 |
|
969 | Flag$58.displayName = 'FlagMT';
|
970 |
|
971 |
|
972 | var Flag$60 = function Flag(props) {
|
973 | return React__default.createElement(
|
974 | IconBase,
|
975 | _extends({ viewBox: '0 0 56 40' }, props),
|
976 | React__default.createElement('rect', {
|
977 | id: 'Rectangle-path',
|
978 | fill: '#FFD200',
|
979 | x: '0',
|
980 | y: '0',
|
981 | width: '56',
|
982 | height: '40'
|
983 | }),
|
984 | React__default.createElement('rect', {
|
985 | id: 'Rectangle-path',
|
986 | fill: '#001468',
|
987 | x: '0',
|
988 | y: '0',
|
989 | width: '18',
|
990 | height: '40'
|
991 | }),
|
992 | React__default.createElement('rect', {
|
993 | id: 'Rectangle-path',
|
994 | fill: '#FF0000',
|
995 | x: '38',
|
996 | y: '0',
|
997 | width: '18',
|
998 | height: '40'
|
999 | }),
|
1000 | React__default.createElement('path', {
|
1001 | 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',
|
1002 | id: 'Shape',
|
1003 | fill: '#FF9C00'
|
1004 | })
|
1005 | );
|
1006 | };
|
1007 |
|
1008 | Flag$60.displayName = 'FlagNL';
|
1009 |
|
1010 |
|
1011 | var Flag$62 = function Flag(props) {
|
1012 | return React__default.createElement(
|
1013 | IconBase,
|
1014 | _extends({ viewBox: '0 0 56 40' }, props),
|
1015 | React__default.createElement('rect', {
|
1016 | id: 'Rectangle-path',
|
1017 | fill: '#FFFFFF',
|
1018 | x: '0',
|
1019 | y: '0',
|
1020 | width: '56',
|
1021 | height: '40'
|
1022 | }),
|
1023 | React__default.createElement('rect', {
|
1024 | id: 'Rectangle-path',
|
1025 | fill: '#FF0000',
|
1026 | x: '0',
|
1027 | y: '0',
|
1028 | width: '56',
|
1029 | height: '20'
|
1030 | })
|
1031 | );
|
1032 | };
|
1033 |
|
1034 | Flag$62.displayName = 'FlagMC';
|
1035 |
|
1036 |
|
1037 | var Flag$64 = function Flag(props) {
|
1038 | return React__default.createElement(
|
1039 | IconBase,
|
1040 | _extends({ viewBox: '0 0 56 40' }, props),
|
1041 | React__default.createElement('rect', {
|
1042 | id: 'Rectangle-path',
|
1043 | fill: '#FFD200',
|
1044 | x: '0',
|
1045 | y: '0',
|
1046 | width: '56',
|
1047 | height: '40'
|
1048 | }),
|
1049 | React__default.createElement('rect', {
|
1050 | id: 'Rectangle-path',
|
1051 | fill: '#FF0000',
|
1052 | x: '2',
|
1053 | y: '2',
|
1054 | width: '52',
|
1055 | height: '36'
|
1056 | }),
|
1057 | React__default.createElement('path', {
|
1058 | 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',
|
1059 | id: 'Shape',
|
1060 | fill: '#FFD200'
|
1061 | })
|
1062 | );
|
1063 | };
|
1064 |
|
1065 | Flag$64.displayName = 'FlagME';
|
1066 |
|
1067 |
|
1068 | var Flag$66 = function Flag(props) {
|
1069 | return React__default.createElement(
|
1070 | IconBase,
|
1071 | _extends({ viewBox: '0 0 56 40' }, props),
|
1072 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#FF0000', x: '0', y: '0', width: '56', height: '40' }),
|
1073 | React__default.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' })
|
1074 | );
|
1075 | };
|
1076 |
|
1077 | Flag$66.displayName = 'FlagMA';
|
1078 |
|
1079 |
|
1080 | var Flag$68 = function Flag(props) {
|
1081 | return React__default.createElement(
|
1082 | IconBase,
|
1083 | _extends({ viewBox: '0 0 56 40' }, props),
|
1084 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#FFFFFF', x: '0', y: '0', width: '56', height: '40' }),
|
1085 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#FF0000', x: '0', y: '0', width: '56', height: '13' }),
|
1086 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#3B6AC3', x: '0', y: '27', width: '56', height: '13' })
|
1087 | );
|
1088 | };
|
1089 |
|
1090 | Flag$68.displayName = 'FlagNL';
|
1091 |
|
1092 |
|
1093 | var Flag$70 = function Flag(props) {
|
1094 | return React__default.createElement(
|
1095 | IconBase,
|
1096 | _extends({ viewBox: '0 0 56 40' }, props),
|
1097 | React__default.createElement('rect', {
|
1098 | id: 'Rectangle-path',
|
1099 | fill: '#FF0000',
|
1100 | x: '0',
|
1101 | y: '0',
|
1102 | width: '56',
|
1103 | height: '40'
|
1104 | }),
|
1105 | React__default.createElement('polygon', {
|
1106 | id: 'Shape',
|
1107 | fill: '#FFFFFF',
|
1108 | 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'
|
1109 | }),
|
1110 | React__default.createElement('polygon', {
|
1111 | id: 'Shape',
|
1112 | fill: '#3B6AC3',
|
1113 | 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'
|
1114 | })
|
1115 | );
|
1116 | };
|
1117 |
|
1118 | Flag$70.displayName = 'FlagNO';
|
1119 |
|
1120 |
|
1121 | var Flag$72 = function Flag(props) {
|
1122 | return React__default.createElement(
|
1123 | IconBase,
|
1124 | _extends({ viewBox: '0 0 56 40' }, props),
|
1125 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#FFFFFF', x: '0', y: '0', width: '56', height: '40' }),
|
1126 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#FF0000', x: '0', y: '20', width: '56', height: '20' })
|
1127 | );
|
1128 | };
|
1129 |
|
1130 | Flag$72.displayName = 'FlagPL';
|
1131 |
|
1132 |
|
1133 | var Flag$74 = function Flag(props) {
|
1134 | return React__default.createElement(
|
1135 | IconBase,
|
1136 | _extends({ viewBox: '0 0 56 40' }, props),
|
1137 | React__default.createElement('rect', {
|
1138 | id: 'Rectangle-path',
|
1139 | fill: '#FF0000',
|
1140 | x: '0',
|
1141 | y: '0',
|
1142 | width: '56',
|
1143 | height: '40'
|
1144 | }),
|
1145 | React__default.createElement('rect', {
|
1146 | id: 'Rectangle-path',
|
1147 | fill: '#39953E',
|
1148 | x: '0',
|
1149 | y: '0',
|
1150 | width: '21',
|
1151 | height: '40'
|
1152 | }),
|
1153 | React__default.createElement('path', {
|
1154 | 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',
|
1155 | id: 'Shape',
|
1156 | fill: '#FFD200'
|
1157 | })
|
1158 | );
|
1159 | };
|
1160 |
|
1161 | Flag$74.displayName = 'FlagPT';
|
1162 |
|
1163 |
|
1164 | var Flag$76 = function Flag(props) {
|
1165 | return React__default.createElement(
|
1166 | IconBase,
|
1167 | _extends({ viewBox: '0 0 56 40' }, props),
|
1168 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#FFD200', x: '0', y: '0', width: '56', height: '40' }),
|
1169 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#3B6AC3', x: '0', y: '0', width: '18', height: '40' }),
|
1170 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#FF0000', x: '38', y: '0', width: '18', height: '40' })
|
1171 | );
|
1172 | };
|
1173 |
|
1174 | Flag$76.displayName = 'FlagRO';
|
1175 |
|
1176 |
|
1177 | var Flag$78 = function Flag(props) {
|
1178 | return React__default.createElement(
|
1179 | IconBase,
|
1180 | _extends({ viewBox: '0 0 56 40' }, props),
|
1181 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#FFFFFF', x: '0', y: '0', width: '56', height: '40' }),
|
1182 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#FF0000', x: '0', y: '27', width: '56', height: '13' }),
|
1183 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#3B6AC3', x: '0', y: '13', width: '56', height: '14' })
|
1184 | );
|
1185 | };
|
1186 |
|
1187 | Flag$78.displayName = 'FlagRU';
|
1188 |
|
1189 |
|
1190 | var Flag$80 = function Flag(props) {
|
1191 | return React__default.createElement(
|
1192 | IconBase,
|
1193 | _extends({ viewBox: '0 0 42 30' }, props),
|
1194 | React__default.createElement(
|
1195 | 'g',
|
1196 | { fill: 'none', 'fill-rule': 'evenodd' },
|
1197 | React__default.createElement('path', { fill: '#FFF', d: 'M0 0h42v30H0z' }),
|
1198 | React__default.createElement('path', { fill: '#7EC8EB', d: 'M0 15h42v15H0z' }),
|
1199 | React__default.createElement(
|
1200 | 'g',
|
1201 | { transform: 'translate(15 11)' },
|
1202 | React__default.createElement('circle', { fill: '#39953E', cx: '8', cy: '4', r: '3.75' }),
|
1203 | React__default.createElement('circle', { fill: '#39953E', cx: '4', cy: '4', r: '3.75' }),
|
1204 | React__default.createElement('circle', { fill: '#FFD200', cx: '6', cy: '4', r: '3.75' }),
|
1205 | React__default.createElement('circle', { fill: '#7EC8EB', cx: '6', cy: '4', r: '2' })
|
1206 | )
|
1207 | )
|
1208 | );
|
1209 | };
|
1210 |
|
1211 | Flag$80.displayName = 'FlagSM';
|
1212 |
|
1213 |
|
1214 | var Flag$82 = function Flag(props) {
|
1215 | return React__default.createElement(
|
1216 | IconBase,
|
1217 | _extends({ viewBox: '0 0 42 30' }, props),
|
1218 | React__default.createElement('path', { fill: '#3B6AC3', d: 'M0 0h42v30H0z' }),
|
1219 | React__default.createElement('path', { fill: '#FFF', d: 'M0 20.25h42V30H0z' }),
|
1220 | React__default.createElement('path', { fill: '#F00', d: 'M0 0h42v9.75H0z' }),
|
1221 | React__default.createElement('path', {
|
1222 | 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',
|
1223 | fill: '#F00'
|
1224 | }),
|
1225 | React__default.createElement('path', {
|
1226 | 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',
|
1227 | fill: '#FFF'
|
1228 | }),
|
1229 | React__default.createElement('path', {
|
1230 | 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',
|
1231 | fill: '#FFD200'
|
1232 | })
|
1233 | );
|
1234 | };
|
1235 |
|
1236 | Flag$82.displayName = 'FlagRS';
|
1237 |
|
1238 |
|
1239 | var Flag$84 = function Flag(props) {
|
1240 | return React__default.createElement(
|
1241 | IconBase,
|
1242 | _extends({ viewBox: '0 0 56 40' }, props),
|
1243 | React__default.createElement('rect', {
|
1244 | id: 'Rectangle-path',
|
1245 | fill: '#FFFFFF',
|
1246 | x: '0',
|
1247 | y: '0',
|
1248 | width: '56',
|
1249 | height: '40'
|
1250 | }),
|
1251 | React__default.createElement('rect', {
|
1252 | id: 'Rectangle-path',
|
1253 | fill: '#FF0000',
|
1254 | x: '0',
|
1255 | y: '27',
|
1256 | width: '56',
|
1257 | height: '13'
|
1258 | }),
|
1259 | React__default.createElement('rect', {
|
1260 | id: 'Rectangle-path',
|
1261 | fill: '#3B6AC3',
|
1262 | x: '0',
|
1263 | y: '13',
|
1264 | width: '56',
|
1265 | height: '14'
|
1266 | }),
|
1267 | React__default.createElement('path', {
|
1268 | 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',
|
1269 | id: 'Shape',
|
1270 | stroke: '#FFFFFF',
|
1271 | fill: '#FF0000'
|
1272 | })
|
1273 | );
|
1274 | };
|
1275 |
|
1276 | Flag$84.displayName = 'FlagSK';
|
1277 |
|
1278 |
|
1279 | var Flag$86 = function Flag(props) {
|
1280 | return React__default.createElement(
|
1281 | IconBase,
|
1282 | _extends({ viewBox: '0 0 56 40' }, props),
|
1283 | React__default.createElement('rect', {
|
1284 | id: 'Rectangle-path',
|
1285 | fill: '#FFFFFF',
|
1286 | x: '0',
|
1287 | y: '0',
|
1288 | width: '56',
|
1289 | height: '40'
|
1290 | }),
|
1291 | React__default.createElement('rect', {
|
1292 | id: 'Rectangle-path',
|
1293 | fill: '#FF0000',
|
1294 | x: '0',
|
1295 | y: '27',
|
1296 | width: '56',
|
1297 | height: '13'
|
1298 | }),
|
1299 | React__default.createElement('rect', {
|
1300 | id: 'Rectangle-path',
|
1301 | fill: '#3B6AC3',
|
1302 | x: '0',
|
1303 | y: '13',
|
1304 | width: '56',
|
1305 | height: '14'
|
1306 | }),
|
1307 | React__default.createElement('path', {
|
1308 | 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',
|
1309 | id: 'Shape',
|
1310 | stroke: '#FF0000',
|
1311 | fill: '#3B6AC3'
|
1312 | })
|
1313 | );
|
1314 | };
|
1315 |
|
1316 | Flag$86.displayName = 'FlagSI';
|
1317 |
|
1318 |
|
1319 | var Flag$88 = function Flag(props) {
|
1320 | return React__default.createElement(
|
1321 | IconBase,
|
1322 | _extends({ viewBox: '0 0 56 40' }, props),
|
1323 | React__default.createElement('rect', {
|
1324 | id: 'Rectangle-path',
|
1325 | fill: '#FFD200',
|
1326 | x: '0',
|
1327 | y: '0',
|
1328 | width: '56',
|
1329 | height: '40'
|
1330 | }),
|
1331 | React__default.createElement('rect', {
|
1332 | id: 'Rectangle-path',
|
1333 | fill: '#FF0000',
|
1334 | x: '0',
|
1335 | y: '30',
|
1336 | width: '56',
|
1337 | height: '10'
|
1338 | }),
|
1339 | React__default.createElement('rect', {
|
1340 | id: 'Rectangle-path',
|
1341 | fill: '#FF0000',
|
1342 | x: '0',
|
1343 | y: '0',
|
1344 | width: '56',
|
1345 | height: '10'
|
1346 | }),
|
1347 | React__default.createElement('path', {
|
1348 | 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',
|
1349 | id: 'Shape',
|
1350 | fill: '#FF9C00'
|
1351 | })
|
1352 | );
|
1353 | };
|
1354 |
|
1355 | Flag$88.displayName = 'FlagES';
|
1356 |
|
1357 |
|
1358 | var Flag$90 = function Flag(props) {
|
1359 | return React__default.createElement(
|
1360 | IconBase,
|
1361 | _extends({ viewBox: '0 0 56 40' }, props),
|
1362 | React__default.createElement('rect', {
|
1363 | id: 'Rectangle-path',
|
1364 | fill: '#3B6AC3',
|
1365 | x: '0',
|
1366 | y: '0',
|
1367 | width: '56',
|
1368 | height: '40'
|
1369 | }),
|
1370 | React__default.createElement('polygon', {
|
1371 | id: 'Shape',
|
1372 | fill: '#FFD200',
|
1373 | 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'
|
1374 | })
|
1375 | );
|
1376 | };
|
1377 |
|
1378 | Flag$90.displayName = 'FlagSE';
|
1379 |
|
1380 |
|
1381 | var Flag$92 = function Flag(props) {
|
1382 | return React__default.createElement(
|
1383 | IconBase,
|
1384 | _extends({ viewBox: '0 0 56 40' }, props),
|
1385 | React__default.createElement('rect', {
|
1386 | id: 'Rectangle-path',
|
1387 | fill: '#FF0000',
|
1388 | x: '0',
|
1389 | y: '0',
|
1390 | width: '56',
|
1391 | height: '40'
|
1392 | }),
|
1393 | React__default.createElement('path', {
|
1394 | 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',
|
1395 | id: 'Combined-Shape',
|
1396 | fill: '#FFFFFF'
|
1397 | })
|
1398 | );
|
1399 | };
|
1400 |
|
1401 | Flag$92.displayName = 'FlagCH';
|
1402 |
|
1403 |
|
1404 | var Flag$94 = function Flag(props) {
|
1405 | return React__default.createElement(
|
1406 | IconBase,
|
1407 | _extends({ viewBox: '0 0 56 40' }, props),
|
1408 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#FF0000', x: '0', y: '0', width: '56', height: '40' }),
|
1409 | React__default.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' }),
|
1410 | React__default.createElement('circle', { id: 'Oval', fill: '#FFFFFF', cx: '34', cy: '20', r: '3' })
|
1411 | );
|
1412 | };
|
1413 |
|
1414 | Flag$94.displayName = 'FlagTR';
|
1415 |
|
1416 |
|
1417 | var Flag$96 = function Flag(props) {
|
1418 | return React__default.createElement(
|
1419 | IconBase,
|
1420 | _extends({ viewBox: '0 0 56 40' }, props),
|
1421 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#FFD200', x: '0', y: '0', width: '56', height: '40' }),
|
1422 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#3B6AC3', x: '0', y: '0', width: '56', height: '20' })
|
1423 | );
|
1424 | };
|
1425 |
|
1426 | Flag$96.displayName = 'FlagUA';
|
1427 |
|
1428 |
|
1429 | var Flag$98 = function Flag(props) {
|
1430 | return React__default.createElement(
|
1431 | IconBase,
|
1432 | _extends({ viewBox: '0 0 56 40' }, props),
|
1433 | React__default.createElement('rect', {
|
1434 | id: 'Rectangle-path',
|
1435 | fill: '#001468',
|
1436 | x: '0',
|
1437 | y: '0',
|
1438 | width: '56',
|
1439 | height: '40'
|
1440 | }),
|
1441 | React__default.createElement('polygon', {
|
1442 | id: 'Shape',
|
1443 | fill: '#FFFFFF',
|
1444 | 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'
|
1445 | }),
|
1446 | React__default.createElement('path', {
|
1447 | 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',
|
1448 | id: 'Shape',
|
1449 | fill: '#FF0000'
|
1450 | })
|
1451 | );
|
1452 | };
|
1453 |
|
1454 | Flag$98.displayName = 'FlagGB';
|
1455 |
|
1456 |
|
1457 | var Flag$100 = function Flag(props) {
|
1458 | return React__default.createElement(
|
1459 | IconBase,
|
1460 | _extends({ viewBox: '0 0 56 40' }, props),
|
1461 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#FFFFFF', x: '0', y: '2.27373675e-13', width: '56', height: '40' }),
|
1462 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#FF0000', x: '0', y: '2.27373675e-13', width: '56', height: '13' }),
|
1463 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#001468', x: '0', y: '27', width: '56', height: '13' }),
|
1464 | React__default.createElement('circle', { id: 'Oval', fill: '#FF0000', cx: '28', cy: '20', r: '5' })
|
1465 | );
|
1466 | };
|
1467 |
|
1468 | Flag$100.displayName = 'FlagYU';
|
1469 |
|
1470 |
|
1471 | var Flag$102 = function Flag(props) {
|
1472 | return React__default.createElement(
|
1473 | IconBase,
|
1474 | _extends({ viewBox: '0 0 56 40' }, props),
|
1475 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#FFFFFF', x: '0', y: '0', width: '56', height: '40' }),
|
1476 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#3B6AC3', x: '0', y: '0', width: '56', height: '13' }),
|
1477 | React__default.createElement('rect', { id: 'Rectangle-path', fill: '#FF0000', x: '0', y: '27', width: '56', height: '13' })
|
1478 | );
|
1479 | };
|
1480 |
|
1481 | Flag$102.displayName = 'FlagCS';
|
1482 |
|
1483 |
|
1484 |
|
1485 | var index = Object.freeze({
|
1486 | AL: Flag,
|
1487 | AD: Flag$2,
|
1488 | AM: Flag$4,
|
1489 | AU: Flag$6,
|
1490 | AT: Flag$8,
|
1491 | AZ: Flag$10,
|
1492 | BY: Flag$12,
|
1493 | BE: Flag$14,
|
1494 | BA: Flag$16,
|
1495 | BG: Flag$18,
|
1496 | HR: Flag$20,
|
1497 | CY: Flag$22,
|
1498 | CZ: Flag$24,
|
1499 | DK: Flag$26,
|
1500 | EE: Flag$28,
|
1501 | FI: Flag$30,
|
1502 | FR: Flag$32,
|
1503 | GE: Flag$34,
|
1504 | DE: Flag$36,
|
1505 | GR: Flag$38,
|
1506 | HU: Flag$40,
|
1507 | IS: Flag$42,
|
1508 | IE: Flag$44,
|
1509 | IL: Flag$46,
|
1510 | IT: Flag$48,
|
1511 | LV: Flag$50,
|
1512 | LT: Flag$52,
|
1513 | LU: Flag$54,
|
1514 | MK: Flag$56,
|
1515 | MT: Flag$58,
|
1516 | MD: Flag$60,
|
1517 | MC: Flag$62,
|
1518 | ME: Flag$64,
|
1519 | MA: Flag$66,
|
1520 | NL: Flag$68,
|
1521 | NO: Flag$70,
|
1522 | PL: Flag$72,
|
1523 | PT: Flag$74,
|
1524 | RO: Flag$76,
|
1525 | RU: Flag$78,
|
1526 | SM: Flag$80,
|
1527 | RS: Flag$82,
|
1528 | SK: Flag$84,
|
1529 | SI: Flag$86,
|
1530 | ES: Flag$88,
|
1531 | SE: Flag$90,
|
1532 | CH: Flag$92,
|
1533 | TR: Flag$94,
|
1534 | UA: Flag$96,
|
1535 | GB: Flag$98,
|
1536 | YU: Flag$100,
|
1537 | CS: Flag$102
|
1538 | });
|
1539 |
|
1540 |
|
1541 |
|
1542 |
|
1543 |
|
1544 |
|
1545 |
|
1546 |
|
1547 |
|
1548 |
|
1549 |
|
1550 |
|
1551 |
|
1552 |
|
1553 |
|
1554 |
|
1555 |
|
1556 |
|
1557 |
|
1558 |
|
1559 |
|
1560 |
|
1561 |
|
1562 |
|
1563 |
|
1564 |
|
1565 | function isObject(value) {
|
1566 | var type = typeof value;
|
1567 | return value != null && (type == 'object' || type == 'function');
|
1568 | }
|
1569 |
|
1570 | var isObject_1 = isObject;
|
1571 |
|
1572 | var commonjsGlobal = typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
1573 |
|
1574 |
|
1575 |
|
1576 | function unwrapExports (x) {
|
1577 | return x && x.__esModule ? x['default'] : x;
|
1578 | }
|
1579 |
|
1580 | function createCommonjsModule(fn, module) {
|
1581 | return module = { exports: {} }, fn(module, module.exports), module.exports;
|
1582 | }
|
1583 |
|
1584 |
|
1585 | var freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
|
1586 |
|
1587 | var _freeGlobal = freeGlobal;
|
1588 |
|
1589 |
|
1590 | var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
|
1591 |
|
1592 |
|
1593 | var root = _freeGlobal || freeSelf || Function('return this')();
|
1594 |
|
1595 | var _root = root;
|
1596 |
|
1597 |
|
1598 | var Symbol$1 = _root.Symbol;
|
1599 |
|
1600 | var _Symbol = Symbol$1;
|
1601 |
|
1602 |
|
1603 | var objectProto = Object.prototype;
|
1604 |
|
1605 |
|
1606 | var hasOwnProperty = objectProto.hasOwnProperty;
|
1607 |
|
1608 |
|
1609 |
|
1610 |
|
1611 |
|
1612 |
|
1613 | var nativeObjectToString = objectProto.toString;
|
1614 |
|
1615 |
|
1616 | var symToStringTag$1 = _Symbol ? _Symbol.toStringTag : undefined;
|
1617 |
|
1618 |
|
1619 |
|
1620 |
|
1621 |
|
1622 |
|
1623 |
|
1624 |
|
1625 | function getRawTag(value) {
|
1626 | var isOwn = hasOwnProperty.call(value, symToStringTag$1),
|
1627 | tag = value[symToStringTag$1];
|
1628 |
|
1629 | try {
|
1630 | value[symToStringTag$1] = undefined;
|
1631 | var unmasked = true;
|
1632 | } catch (e) {}
|
1633 |
|
1634 | var result = nativeObjectToString.call(value);
|
1635 | if (unmasked) {
|
1636 | if (isOwn) {
|
1637 | value[symToStringTag$1] = tag;
|
1638 | } else {
|
1639 | delete value[symToStringTag$1];
|
1640 | }
|
1641 | }
|
1642 | return result;
|
1643 | }
|
1644 |
|
1645 | var _getRawTag = getRawTag;
|
1646 |
|
1647 |
|
1648 | var objectProto$1 = Object.prototype;
|
1649 |
|
1650 |
|
1651 |
|
1652 |
|
1653 |
|
1654 |
|
1655 | var nativeObjectToString$1 = objectProto$1.toString;
|
1656 |
|
1657 |
|
1658 |
|
1659 |
|
1660 |
|
1661 |
|
1662 |
|
1663 |
|
1664 | function objectToString(value) {
|
1665 | return nativeObjectToString$1.call(value);
|
1666 | }
|
1667 |
|
1668 | var _objectToString = objectToString;
|
1669 |
|
1670 |
|
1671 | var nullTag = '[object Null]';
|
1672 | var undefinedTag = '[object Undefined]';
|
1673 |
|
1674 |
|
1675 | var symToStringTag = _Symbol ? _Symbol.toStringTag : undefined;
|
1676 |
|
1677 |
|
1678 |
|
1679 |
|
1680 |
|
1681 |
|
1682 |
|
1683 |
|
1684 | function baseGetTag(value) {
|
1685 | if (value == null) {
|
1686 | return value === undefined ? undefinedTag : nullTag;
|
1687 | }
|
1688 | return (symToStringTag && symToStringTag in Object(value))
|
1689 | ? _getRawTag(value)
|
1690 | : _objectToString(value);
|
1691 | }
|
1692 |
|
1693 | var _baseGetTag = baseGetTag;
|
1694 |
|
1695 |
|
1696 |
|
1697 |
|
1698 |
|
1699 |
|
1700 |
|
1701 |
|
1702 |
|
1703 |
|
1704 |
|
1705 |
|
1706 |
|
1707 |
|
1708 |
|
1709 |
|
1710 |
|
1711 |
|
1712 |
|
1713 |
|
1714 |
|
1715 |
|
1716 |
|
1717 |
|
1718 |
|
1719 | function isObjectLike(value) {
|
1720 | return value != null && typeof value == 'object';
|
1721 | }
|
1722 |
|
1723 | var isObjectLike_1 = isObjectLike;
|
1724 |
|
1725 |
|
1726 | var symbolTag = '[object Symbol]';
|
1727 |
|
1728 |
|
1729 |
|
1730 |
|
1731 |
|
1732 |
|
1733 |
|
1734 |
|
1735 |
|
1736 |
|
1737 |
|
1738 |
|
1739 |
|
1740 |
|
1741 |
|
1742 |
|
1743 |
|
1744 |
|
1745 | function isSymbol(value) {
|
1746 | return typeof value == 'symbol' ||
|
1747 | (isObjectLike_1(value) && _baseGetTag(value) == symbolTag);
|
1748 | }
|
1749 |
|
1750 | var isSymbol_1 = isSymbol;
|
1751 |
|
1752 |
|
1753 | var NAN = 0 / 0;
|
1754 |
|
1755 |
|
1756 | var reTrim = /^\s+|\s+$/g;
|
1757 |
|
1758 |
|
1759 | var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
|
1760 |
|
1761 |
|
1762 | var reIsBinary = /^0b[01]+$/i;
|
1763 |
|
1764 |
|
1765 | var reIsOctal = /^0o[0-7]+$/i;
|
1766 |
|
1767 |
|
1768 | var freeParseInt = parseInt;
|
1769 |
|
1770 |
|
1771 |
|
1772 |
|
1773 |
|
1774 |
|
1775 |
|
1776 |
|
1777 |
|
1778 |
|
1779 |
|
1780 |
|
1781 |
|
1782 |
|
1783 |
|
1784 |
|
1785 |
|
1786 |
|
1787 |
|
1788 |
|
1789 |
|
1790 |
|
1791 |
|
1792 |
|
1793 | function toNumber(value) {
|
1794 | if (typeof value == 'number') {
|
1795 | return value;
|
1796 | }
|
1797 | if (isSymbol_1(value)) {
|
1798 | return NAN;
|
1799 | }
|
1800 | if (isObject_1(value)) {
|
1801 | var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
|
1802 | value = isObject_1(other) ? (other + '') : other;
|
1803 | }
|
1804 | if (typeof value != 'string') {
|
1805 | return value === 0 ? value : +value;
|
1806 | }
|
1807 | value = value.replace(reTrim, '');
|
1808 | var isBinary = reIsBinary.test(value);
|
1809 | return (isBinary || reIsOctal.test(value))
|
1810 | ? freeParseInt(value.slice(2), isBinary ? 2 : 8)
|
1811 | : (reIsBadHex.test(value) ? NAN : +value);
|
1812 | }
|
1813 |
|
1814 | var toNumber_1 = toNumber;
|
1815 |
|
1816 |
|
1817 | var INFINITY = 1 / 0;
|
1818 | var MAX_INTEGER = 1.7976931348623157e+308;
|
1819 |
|
1820 |
|
1821 |
|
1822 |
|
1823 |
|
1824 |
|
1825 |
|
1826 |
|
1827 |
|
1828 |
|
1829 |
|
1830 |
|
1831 |
|
1832 |
|
1833 |
|
1834 |
|
1835 |
|
1836 |
|
1837 |
|
1838 |
|
1839 |
|
1840 |
|
1841 |
|
1842 |
|
1843 | function toFinite(value) {
|
1844 | if (!value) {
|
1845 | return value === 0 ? value : 0;
|
1846 | }
|
1847 | value = toNumber_1(value);
|
1848 | if (value === INFINITY || value === -INFINITY) {
|
1849 | var sign = (value < 0 ? -1 : 1);
|
1850 | return sign * MAX_INTEGER;
|
1851 | }
|
1852 | return value === value ? value : 0;
|
1853 | }
|
1854 |
|
1855 | var toFinite_1 = toFinite;
|
1856 |
|
1857 |
|
1858 |
|
1859 |
|
1860 |
|
1861 |
|
1862 |
|
1863 |
|
1864 |
|
1865 |
|
1866 |
|
1867 |
|
1868 |
|
1869 |
|
1870 |
|
1871 |
|
1872 |
|
1873 |
|
1874 |
|
1875 |
|
1876 |
|
1877 |
|
1878 |
|
1879 |
|
1880 |
|
1881 |
|
1882 |
|
1883 | function toInteger(value) {
|
1884 | var result = toFinite_1(value),
|
1885 | remainder = result % 1;
|
1886 |
|
1887 | return result === result ? (remainder ? result - remainder : result) : 0;
|
1888 | }
|
1889 |
|
1890 | var toInteger_1 = toInteger;
|
1891 |
|
1892 |
|
1893 |
|
1894 |
|
1895 |
|
1896 |
|
1897 |
|
1898 |
|
1899 |
|
1900 |
|
1901 |
|
1902 |
|
1903 |
|
1904 |
|
1905 |
|
1906 |
|
1907 |
|
1908 |
|
1909 |
|
1910 |
|
1911 |
|
1912 |
|
1913 |
|
1914 |
|
1915 |
|
1916 |
|
1917 |
|
1918 | function isInteger(value) {
|
1919 | return typeof value == 'number' && value == toInteger_1(value);
|
1920 | }
|
1921 |
|
1922 | var isInteger_1 = isInteger;
|
1923 |
|
1924 | var Container = styled__default.div.withConfig({
|
1925 | displayName: 'base__Container',
|
1926 | componentId: 'xgepi8-0'
|
1927 | })([['{display:inline-block;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:', function (props) {
|
1928 | return props.color || 'currentColor';
|
1929 | }, ';width:', function (props) {
|
1930 | return props.width ? isInteger_1(props.width) ? props.width + 'px' : props.width : 'auto';
|
1931 | }, ';height:', function (props) {
|
1932 | return props.height ? isInteger_1(props.height) ? props.height + 'px' : props.height : 'auto';
|
1933 | }, ';}']]);
|
1934 |
|
1935 | var Canvas = styled__default.canvas.withConfig({
|
1936 | displayName: 'base__Canvas',
|
1937 | componentId: 'xgepi8-1'
|
1938 | })([['{display:block;height:100%;visibility:hidden;}']]);
|
1939 |
|
1940 | var Icon = styled__default.svg.withConfig({
|
1941 | displayName: 'base__Icon',
|
1942 | componentId: 'xgepi8-2'
|
1943 | })([['{position:absolute;left:0;top:0;width:100%;height:100%;fill:currentColor;}']]);
|
1944 |
|
1945 | var IconBase$2 = function IconBase(_ref) {
|
1946 | var children = _ref.children,
|
1947 | title = _ref.title,
|
1948 | viewBox = _ref.viewBox,
|
1949 | width = _ref.width,
|
1950 | height = _ref.height,
|
1951 | color = _ref.color,
|
1952 | props = objectWithoutProperties(_ref, ['children', 'title', 'viewBox', 'width', 'height', 'color']);
|
1953 |
|
1954 | var fragments = viewBox.split(' ');
|
1955 |
|
1956 | return React__default.createElement(
|
1957 | Container,
|
1958 | _extends({
|
1959 | className: 'icon',
|
1960 | role: 'img',
|
1961 | 'aria-label': title,
|
1962 | color: color,
|
1963 | width: width,
|
1964 | height: height
|
1965 | }, props),
|
1966 | React__default.createElement(Canvas, { width: fragments[2], height: fragments[3] }),
|
1967 | React__default.createElement(
|
1968 | Icon,
|
1969 | { viewBox: viewBox },
|
1970 | children
|
1971 | )
|
1972 | );
|
1973 | };
|
1974 |
|
1975 | IconBase$2.propTypes = {
|
1976 | color: PropTypes.string,
|
1977 | title: PropTypes.string,
|
1978 | width: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
1979 | height: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
1980 | children: PropTypes.node.isRequired,
|
1981 | viewBox: PropTypes.string.isRequired
|
1982 | };
|
1983 |
|
1984 |
|
1985 | var Youtube = (function (props) {
|
1986 | return React__default.createElement(
|
1987 | IconBase$2,
|
1988 | _extends({ viewBox: '0 0 31 21' }, props),
|
1989 | React__default.createElement('path', {
|
1990 | 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',
|
1991 | fillRule: 'evenodd'
|
1992 | })
|
1993 | );
|
1994 | });
|
1995 |
|
1996 |
|
1997 | var Facebook = (function (props) {
|
1998 | return React__default.createElement(
|
1999 | IconBase$2,
|
2000 | _extends({ viewBox: '-1 -1 13 25' }, props),
|
2001 | React__default.createElement('path', {
|
2002 | 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'
|
2003 | })
|
2004 | );
|
2005 | });
|
2006 |
|
2007 |
|
2008 | var instagram = (function (props) {
|
2009 | return React__default.createElement(
|
2010 | IconBase$2,
|
2011 | _extends({ viewBox: '0 0 23 23' }, props),
|
2012 | React__default.createElement('path', {
|
2013 | 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',
|
2014 | fillRule: 'evenodd'
|
2015 | })
|
2016 | );
|
2017 | });
|
2018 |
|
2019 |
|
2020 | var snapchat = (function (props) {
|
2021 | return React__default.createElement(
|
2022 | IconBase$2,
|
2023 | _extends({ viewBox: '0 0 24 23' }, props),
|
2024 | React__default.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' })
|
2025 | );
|
2026 | });
|
2027 |
|
2028 |
|
2029 | var Twitter = (function (props) {
|
2030 | return React__default.createElement(
|
2031 | IconBase$2,
|
2032 | _extends({ viewBox: '0 0 26 21' }, props),
|
2033 | React__default.createElement('path', {
|
2034 | 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'
|
2035 | })
|
2036 | );
|
2037 | });
|
2038 |
|
2039 |
|
2040 | var Whatsapp = (function (props) {
|
2041 | return React__default.createElement(
|
2042 | IconBase$2,
|
2043 | _extends({ viewBox: '0 0 20 20' }, props),
|
2044 | React__default.createElement('path', {
|
2045 | 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',
|
2046 | fillRule: 'evenodd'
|
2047 | })
|
2048 | );
|
2049 | });
|
2050 |
|
2051 |
|
2052 | var GooglePlus = (function (props) {
|
2053 | return React__default.createElement(
|
2054 | IconBase$2,
|
2055 | _extends({ viewBox: '0 0 20 20' }, props),
|
2056 | React__default.createElement('path', {
|
2057 | 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',
|
2058 | fillRule: 'evenodd'
|
2059 | })
|
2060 | );
|
2061 | });
|
2062 |
|
2063 |
|
2064 | var mail = (function (props) {
|
2065 | return React__default.createElement(
|
2066 | IconBase$2,
|
2067 | _extends({ viewBox: '0 0 21 15' }, props),
|
2068 | React__default.createElement('path', {
|
2069 | 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',
|
2070 | fillRule: 'evenodd'
|
2071 | })
|
2072 | );
|
2073 | });
|
2074 |
|
2075 |
|
2076 | var vkontakte = (function (props) {
|
2077 | return React__default.createElement(
|
2078 | IconBase$2,
|
2079 | _extends({ viewBox: '0 0 20 20' }, props),
|
2080 | React__default.createElement('path', {
|
2081 | 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'
|
2082 | })
|
2083 | );
|
2084 | });
|
2085 |
|
2086 |
|
2087 | var arrowRight = (function (props) {
|
2088 | return React__default.createElement(
|
2089 | IconBase$2,
|
2090 | _extends({ viewBox: '0 0 20 20' }, props),
|
2091 | React__default.createElement('path', {
|
2092 | 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',
|
2093 | fillRule: 'evenodd'
|
2094 | })
|
2095 | );
|
2096 | });
|
2097 |
|
2098 |
|
2099 | var arrowLeft = (function (props) {
|
2100 | return React__default.createElement(
|
2101 | IconBase$2,
|
2102 | _extends({ viewBox: '0 0 20 16' }, props),
|
2103 | React__default.createElement('path', {
|
2104 | 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',
|
2105 | fillRule: 'evenodd'
|
2106 | })
|
2107 | );
|
2108 | });
|
2109 |
|
2110 |
|
2111 | var arrowUp = (function (props) {
|
2112 | return React__default.createElement(
|
2113 | IconBase$2,
|
2114 | _extends({ viewBox: '0 0 20 20' }, props),
|
2115 | React__default.createElement('path', {
|
2116 | 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',
|
2117 | fillRule: 'evenodd'
|
2118 | })
|
2119 | );
|
2120 | });
|
2121 |
|
2122 |
|
2123 | var arrowDown = (function (props) {
|
2124 | return React__default.createElement(
|
2125 | IconBase$2,
|
2126 | _extends({ viewBox: '0 0 20 20' }, props),
|
2127 | React__default.createElement('path', {
|
2128 | 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',
|
2129 | fillRule: 'evenodd'
|
2130 | })
|
2131 | );
|
2132 | });
|
2133 |
|
2134 |
|
2135 | var arrowCornerRight = (function (props) {
|
2136 | return React__default.createElement(
|
2137 | IconBase$2,
|
2138 | _extends({ viewBox: '0 0 20 20' }, props),
|
2139 | React__default.createElement('path', {
|
2140 | 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'
|
2141 | })
|
2142 | );
|
2143 | });
|
2144 |
|
2145 |
|
2146 | var chevronRight = (function (props) {
|
2147 | return React__default.createElement(
|
2148 | IconBase$2,
|
2149 | _extends({ viewBox: '0 0 11 20' }, props),
|
2150 | React__default.createElement('path', {
|
2151 | 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',
|
2152 | fillRule: 'evenodd'
|
2153 | })
|
2154 | );
|
2155 | });
|
2156 |
|
2157 |
|
2158 | var chevronLeft = (function (props) {
|
2159 | return React__default.createElement(
|
2160 | IconBase$2,
|
2161 | _extends({ viewBox: '0 0 11 20' }, props),
|
2162 | React__default.createElement('path', {
|
2163 | 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',
|
2164 | fillRule: 'evenodd'
|
2165 | })
|
2166 | );
|
2167 | });
|
2168 |
|
2169 |
|
2170 | var chevronUp = (function (props) {
|
2171 | return React__default.createElement(
|
2172 | IconBase$2,
|
2173 | _extends({ viewBox: '0 0 20 11' }, props),
|
2174 | React__default.createElement('path', {
|
2175 | 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',
|
2176 | fillRule: 'evenodd'
|
2177 | })
|
2178 | );
|
2179 | });
|
2180 |
|
2181 |
|
2182 | var ChevronDown = (function (props) {
|
2183 | return React__default.createElement(
|
2184 | IconBase$2,
|
2185 | _extends({ viewBox: '0 0 20 11' }, props),
|
2186 | React__default.createElement('path', {
|
2187 | 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',
|
2188 | fillRule: 'evenodd'
|
2189 | })
|
2190 | );
|
2191 | });
|
2192 |
|
2193 |
|
2194 | var smallArrowUp = (function (props) {
|
2195 | return React__default.createElement(
|
2196 | IconBase$2,
|
2197 | _extends({ viewBox: '0 0 10 5' }, props),
|
2198 | React__default.createElement('polygon', { points: '5 0 10 5 0 5' })
|
2199 | );
|
2200 | });
|
2201 |
|
2202 |
|
2203 | var smallArrowDown = (function (props) {
|
2204 | return React__default.createElement(
|
2205 | IconBase$2,
|
2206 | _extends({ viewBox: '0 0 10 5' }, props),
|
2207 | React__default.createElement('polygon', { transform: 'translate(5.000000, 2.500000) scale(1, -1) translate(-5.000000, -2.500000) ', points: '5 0 10 5 0 5' })
|
2208 | );
|
2209 | });
|
2210 |
|
2211 |
|
2212 | var toggleLeft = (function (props) {
|
2213 | return React__default.createElement(
|
2214 | IconBase$2,
|
2215 | _extends({ viewBox: '0 0 22 14' }, props),
|
2216 | React__default.createElement(
|
2217 | 'g',
|
2218 | { stroke: 'none', fill: 'none', fillRule: 'evenodd' },
|
2219 | React__default.createElement('path', {
|
2220 | 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',
|
2221 | fill: 'currentColor'
|
2222 | })
|
2223 | )
|
2224 | );
|
2225 | });
|
2226 |
|
2227 |
|
2228 | var toggleCenter = (function (props) {
|
2229 | return React__default.createElement(
|
2230 | IconBase$2,
|
2231 | _extends({ viewBox: '0 0 22 14' }, props),
|
2232 | React__default.createElement(
|
2233 | 'g',
|
2234 | { stroke: 'none', fill: 'none', fillRule: 'evenodd' },
|
2235 | React__default.createElement('path', {
|
2236 | 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',
|
2237 | fill: 'currentColor'
|
2238 | })
|
2239 | )
|
2240 | );
|
2241 | });
|
2242 |
|
2243 |
|
2244 | var toggleRight = (function (props) {
|
2245 | return React__default.createElement(
|
2246 | IconBase$2,
|
2247 | _extends({ viewBox: '0 0 22 14' }, props),
|
2248 | React__default.createElement(
|
2249 | 'g',
|
2250 | { stroke: 'none', fill: 'none', fillRule: 'evenodd' },
|
2251 | React__default.createElement('path', {
|
2252 | 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',
|
2253 | fill: 'currentColor'
|
2254 | })
|
2255 | )
|
2256 | );
|
2257 | });
|
2258 |
|
2259 |
|
2260 | var heart = (function (props) {
|
2261 | return React__default.createElement(
|
2262 | IconBase$2,
|
2263 | _extends({ viewBox: '0 0 21 16' }, props),
|
2264 | React__default.createElement('path', {
|
2265 | 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'
|
2266 | })
|
2267 | );
|
2268 | });
|
2269 |
|
2270 |
|
2271 | var list = (function (props) {
|
2272 | return React__default.createElement(
|
2273 | IconBase$2,
|
2274 | _extends({ viewBox: '0 0 20 16' }, props),
|
2275 | React__default.createElement('path', {
|
2276 | 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'
|
2277 | })
|
2278 | );
|
2279 | });
|
2280 |
|
2281 |
|
2282 | var plus = (function (props) {
|
2283 | return React__default.createElement(
|
2284 | IconBase$2,
|
2285 | _extends({ viewBox: '0 0 20 20' }, props),
|
2286 | React__default.createElement('polygon', {
|
2287 | 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'
|
2288 | })
|
2289 | );
|
2290 | });
|
2291 |
|
2292 |
|
2293 | var CloseIcon = (function (props) {
|
2294 | return React__default.createElement(
|
2295 | IconBase$2,
|
2296 | _extends({ viewBox: '0 0 20 20' }, props),
|
2297 | React__default.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' })
|
2298 | );
|
2299 | });
|
2300 |
|
2301 |
|
2302 | var trophy = (function (props) {
|
2303 | return React__default.createElement(
|
2304 | IconBase$2,
|
2305 | _extends({ viewBox: '0 -1 24 49' }, props),
|
2306 | React__default.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' })
|
2307 | );
|
2308 | });
|
2309 |
|
2310 |
|
2311 | var image = (function (props) {
|
2312 | return React__default.createElement(
|
2313 | IconBase$2,
|
2314 | _extends({ viewBox: '0 0 20 16' }, props),
|
2315 | React__default.createElement('path', {
|
2316 | 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'
|
2317 | })
|
2318 | );
|
2319 | });
|
2320 |
|
2321 |
|
2322 | var gallery = (function (props) {
|
2323 | return React__default.createElement(
|
2324 | IconBase$2,
|
2325 | _extends({ viewBox: '0 0 20 20' }, props),
|
2326 | React__default.createElement('path', { d: 'M2 16h12V6H2v10zm-2 4h16V4H0v16zM20 0v16h-2V2H4V0h16z' })
|
2327 | );
|
2328 | });
|
2329 |
|
2330 |
|
2331 | var video = (function (props) {
|
2332 | return React__default.createElement(
|
2333 | IconBase$2,
|
2334 | _extends({ viewBox: '0 0 20 20' }, props),
|
2335 | React__default.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' })
|
2336 | );
|
2337 | });
|
2338 |
|
2339 |
|
2340 | var bin = (function (props) {
|
2341 | return React__default.createElement(
|
2342 | IconBase$2,
|
2343 | _extends({ viewBox: '0 0 21 20' }, props),
|
2344 | React__default.createElement('path', {
|
2345 | 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',
|
2346 | fillRule: 'evenodd'
|
2347 | })
|
2348 | );
|
2349 | });
|
2350 |
|
2351 |
|
2352 | var calendar = (function (props) {
|
2353 | return React__default.createElement(
|
2354 | IconBase$2,
|
2355 | _extends({ viewBox: '0 0 20 20' }, props),
|
2356 | React__default.createElement('path', {
|
2357 | 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',
|
2358 | fillRule: 'evenodd'
|
2359 | })
|
2360 | );
|
2361 | });
|
2362 |
|
2363 |
|
2364 | var cloudUp = (function (props) {
|
2365 | return React__default.createElement(
|
2366 | IconBase$2,
|
2367 | _extends({ viewBox: '0 0 20 20' }, props),
|
2368 | React__default.createElement('path', {
|
2369 | 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'
|
2370 | })
|
2371 | );
|
2372 | });
|
2373 |
|
2374 |
|
2375 | var globe = (function (props) {
|
2376 | return React__default.createElement(
|
2377 | IconBase$2,
|
2378 | _extends({ viewBox: '0 0 20 20' }, props),
|
2379 | React__default.createElement('path', {
|
2380 | 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'
|
2381 | })
|
2382 | );
|
2383 | });
|
2384 |
|
2385 |
|
2386 | var magnifyingGlass = (function (props) {
|
2387 | return React__default.createElement(
|
2388 | IconBase$2,
|
2389 | _extends({ viewBox: '0 0 20 20' }, props),
|
2390 | React__default.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' })
|
2391 | );
|
2392 | });
|
2393 |
|
2394 |
|
2395 | var script = (function (props) {
|
2396 | return React__default.createElement(
|
2397 | IconBase$2,
|
2398 | _extends({ viewBox: '0 0 20 20' }, props),
|
2399 | React__default.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' })
|
2400 | );
|
2401 | });
|
2402 |
|
2403 |
|
2404 | var note = (function (props) {
|
2405 | return React__default.createElement(
|
2406 | IconBase$2,
|
2407 | _extends({ viewBox: '0 0 20 20' }, props),
|
2408 | React__default.createElement('path', { d: 'M18 18.01H2V2.097h8V.106H0V20h20v-9.947h-2v7.958zM6 9.95L15.84 0 20 4.115 9.842 14.032H6V9.95z' })
|
2409 | );
|
2410 | });
|
2411 |
|
2412 |
|
2413 | var bookmark = (function (props) {
|
2414 | return React__default.createElement(
|
2415 | IconBase$2,
|
2416 | _extends({ viewBox: '0 0 20 48' }, props),
|
2417 | React__default.createElement('path', { d: 'M20 0v48L10 38 0 48V0' })
|
2418 | );
|
2419 | });
|
2420 |
|
2421 |
|
2422 | var handle = (function (props) {
|
2423 | return React__default.createElement(
|
2424 | IconBase$2,
|
2425 | _extends({ viewBox: '0 0 20 10' }, props),
|
2426 | React__default.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' })
|
2427 | );
|
2428 | });
|
2429 |
|
2430 |
|
2431 | var blockStyleDefault = (function (props) {
|
2432 | return React__default.createElement(
|
2433 | IconBase$2,
|
2434 | _extends({ viewBox: '0 0 16 18' }, props),
|
2435 | React__default.createElement(
|
2436 | 'g',
|
2437 | null,
|
2438 | React__default.createElement('rect', { transform: 'translate(8.000000, 1.000000) scale(-1, 1) translate(-8.000000, -1.000000) ', x: '0', y: '0', width: '16', height: '2' }),
|
2439 | React__default.createElement('rect', { transform: 'translate(8.000000, 9.000000) scale(-1, 1) translate(-8.000000, -9.000000) ', x: '0', y: '4', width: '16', height: '10' }),
|
2440 | React__default.createElement('rect', { transform: 'translate(8.000000, 17.000000) scale(-1, 1) translate(-8.000000, -17.000000) ', x: '0', y: '16', width: '16', height: '2' })
|
2441 | )
|
2442 | );
|
2443 | });
|
2444 |
|
2445 |
|
2446 | var blockStyleBig = (function (props) {
|
2447 | return React__default.createElement(
|
2448 | IconBase$2,
|
2449 | _extends({ viewBox: '0 0 20 18' }, props),
|
2450 | React__default.createElement(
|
2451 | 'g',
|
2452 | null,
|
2453 | React__default.createElement('rect', { transform: 'translate(10.000000, 1.000000) scale(-1, 1) translate(-10.000000, -1.000000) ', x: '2', y: '0', width: '16', height: '2' }),
|
2454 | React__default.createElement('rect', { transform: 'translate(10.000000, 9.000000) scale(-1, 1) translate(-10.000000, -9.000000) ', x: '0', y: '4', width: '20', height: '10' }),
|
2455 | React__default.createElement('rect', { transform: 'translate(10.000000, 17.000000) scale(-1, 1) translate(-10.000000, -17.000000) ', x: '2', y: '16', width: '16', height: '2' })
|
2456 | )
|
2457 | );
|
2458 | });
|
2459 |
|
2460 |
|
2461 | var link = (function (props) {
|
2462 | return React__default.createElement(
|
2463 | IconBase$2,
|
2464 | _extends({ viewBox: '0 0 23 22' }, props),
|
2465 | React__default.createElement('path', {
|
2466 | 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'
|
2467 | })
|
2468 | );
|
2469 | });
|
2470 |
|
2471 |
|
2472 | var bold = (function (props) {
|
2473 | return React__default.createElement(
|
2474 | IconBase$2,
|
2475 | _extends({ viewBox: '0 0 12 14' }, props),
|
2476 | React__default.createElement('path', {
|
2477 | 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'
|
2478 | })
|
2479 | );
|
2480 | });
|
2481 |
|
2482 |
|
2483 | var italic = (function (props) {
|
2484 | return React__default.createElement(
|
2485 | IconBase$2,
|
2486 | _extends({ viewBox: '0 0 5 15' }, props),
|
2487 | React__default.createElement('path', {
|
2488 | 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'
|
2489 | })
|
2490 | );
|
2491 | });
|
2492 |
|
2493 |
|
2494 | var selection = (function (props) {
|
2495 | return React__default.createElement(
|
2496 | IconBase$2,
|
2497 | _extends({ viewBox: '0 0 20 20' }, props),
|
2498 | React__default.createElement('path', {
|
2499 | 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'
|
2500 | })
|
2501 | );
|
2502 | });
|
2503 |
|
2504 |
|
2505 | var underline = (function (props) {
|
2506 | return React__default.createElement(
|
2507 | IconBase$2,
|
2508 | _extends({ viewBox: '0 0 10 14' }, props),
|
2509 | React__default.createElement('path', {
|
2510 | 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'
|
2511 | }),
|
2512 | React__default.createElement('rect', { x: '0', y: '13', width: '10', height: '1' })
|
2513 | );
|
2514 | });
|
2515 |
|
2516 |
|
2517 | var unorderedList = (function (props) {
|
2518 | return React__default.createElement(
|
2519 | IconBase$2,
|
2520 | _extends({ viewBox: '0 0 20 10' }, props),
|
2521 | React__default.createElement('path', {
|
2522 | 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'
|
2523 | })
|
2524 | );
|
2525 | });
|
2526 |
|
2527 |
|
2528 | var quote = (function (props) {
|
2529 | return React__default.createElement(
|
2530 | IconBase$2,
|
2531 | _extends({ viewBox: '0 0 20 13' }, props),
|
2532 | React__default.createElement('path', {
|
2533 | 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'
|
2534 | })
|
2535 | );
|
2536 | });
|
2537 |
|
2538 |
|
2539 | var h2 = (function (props) {
|
2540 | return React__default.createElement(
|
2541 | IconBase$2,
|
2542 | _extends({ viewBox: '0 0 23 15' }, props),
|
2543 | React__default.createElement('path', {
|
2544 | 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'
|
2545 | })
|
2546 | );
|
2547 | });
|
2548 |
|
2549 |
|
2550 | var h3 = (function (props) {
|
2551 | return React__default.createElement(
|
2552 | IconBase$2,
|
2553 | _extends({ viewBox: '0 0 24 15' }, props),
|
2554 | React__default.createElement('path', {
|
2555 | 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'
|
2556 | })
|
2557 | );
|
2558 | });
|
2559 |
|
2560 |
|
2561 | var voteTo = (function (props) {
|
2562 | return React__default.createElement(
|
2563 | IconBase$2,
|
2564 | _extends({ viewBox: '0 0 46 30' }, props),
|
2565 | React__default.createElement(
|
2566 | 'g',
|
2567 | null,
|
2568 | React__default.createElement('rect', { fill: '#D8D8D8', x: '4', y: '0', width: '42', height: '30', rx: '2' }),
|
2569 | React__default.createElement('path', {
|
2570 | 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',
|
2571 | fill: '#000000'
|
2572 | })
|
2573 | )
|
2574 | );
|
2575 | });
|
2576 |
|
2577 |
|
2578 | var voteFrom = (function (props) {
|
2579 | return React__default.createElement(
|
2580 | IconBase$2,
|
2581 | _extends({ viewBox: '0 0 48 30' }, props),
|
2582 | React__default.createElement(
|
2583 | 'g',
|
2584 | null,
|
2585 | React__default.createElement('rect', { fill: '#D8D8D8', x: '0', y: '0', width: '42', height: '30', rx: '2' }),
|
2586 | React__default.createElement('path', {
|
2587 | 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',
|
2588 | fill: '#000000'
|
2589 | })
|
2590 | )
|
2591 | );
|
2592 | });
|
2593 |
|
2594 |
|
2595 |
|
2596 | var index$1 = Object.freeze({
|
2597 | Youtube: Youtube,
|
2598 | Facebook: Facebook,
|
2599 | Instagram: instagram,
|
2600 | Snapchat: snapchat,
|
2601 | Twitter: Twitter,
|
2602 | Whatsapp: Whatsapp,
|
2603 | GooglePlus: GooglePlus,
|
2604 | Mail: mail,
|
2605 | VKontakte: vkontakte,
|
2606 | ArrowRight: arrowRight,
|
2607 | ArrowLeft: arrowLeft,
|
2608 | ArrowUp: arrowUp,
|
2609 | ArrowDown: arrowDown,
|
2610 | ArrowCornerRight: arrowCornerRight,
|
2611 | ChevronRight: chevronRight,
|
2612 | ChevronLeft: chevronLeft,
|
2613 | ChevronUp: chevronUp,
|
2614 | ChevronDown: ChevronDown,
|
2615 | SmallArrowUp: smallArrowUp,
|
2616 | SmallArrowDown: smallArrowDown,
|
2617 | ToggleLeft: toggleLeft,
|
2618 | ToggleCenter: toggleCenter,
|
2619 | ToggleRight: toggleRight,
|
2620 | Heart: heart,
|
2621 | List: list,
|
2622 | Plus: plus,
|
2623 | Close: CloseIcon,
|
2624 | Trophy: trophy,
|
2625 | Image: image,
|
2626 | Gallery: gallery,
|
2627 | Video: video,
|
2628 | Bin: bin,
|
2629 | Calendar: calendar,
|
2630 | CloudUp: cloudUp,
|
2631 | Globe: globe,
|
2632 | MagnifyingGlass: magnifyingGlass,
|
2633 | Script: script,
|
2634 | Note: note,
|
2635 | Bookmark: bookmark,
|
2636 | Handle: handle,
|
2637 | BlockStyleDefault: blockStyleDefault,
|
2638 | BlockStyleBig: blockStyleBig,
|
2639 | Link: link,
|
2640 | Bold: bold,
|
2641 | Italic: italic,
|
2642 | Selection: selection,
|
2643 | Underline: underline,
|
2644 | UnorderedList: unorderedList,
|
2645 | Quote: quote,
|
2646 | H2: h2,
|
2647 | H3: h3,
|
2648 | VoteTo: voteTo,
|
2649 | VoteFrom: voteFrom
|
2650 | });
|
2651 |
|
2652 | var Base = styled__default.span.withConfig({
|
2653 | displayName: 'base',
|
2654 | componentId: 'hhid2v-0'
|
2655 | })([['{display:block;font-family:', function (props) {
|
2656 | return props.theme.font.base;
|
2657 | }, ';font-weight:300;color:', function (props) {
|
2658 | return props.theme.colors.black;
|
2659 | }, ';background:', function (props) {
|
2660 | return props.theme.colors.blank;
|
2661 | }, ';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;}']]);
|
2662 |
|
2663 | var info = styled__default(Base).withConfig({
|
2664 | displayName: 'info',
|
2665 | componentId: 's6dftfj-0'
|
2666 | })([['{color:', function (props) {
|
2667 | return props.theme.color.black;
|
2668 | }, ';background:', function (props) {
|
2669 | return props.theme.color.info;
|
2670 | }, ';}']]);
|
2671 |
|
2672 | var blank = styled__default(Base).withConfig({
|
2673 | displayName: 'blank',
|
2674 | componentId: 's150i7yz-0'
|
2675 | })([['{background:', function (props) {
|
2676 | return props.theme.colors.blank;
|
2677 | }, ';color:', function (props) {
|
2678 | return props.theme.colors.black;
|
2679 | }, ';border-color:', function (props) {
|
2680 | return props.theme.colors.light;
|
2681 | }, ';}']]);
|
2682 |
|
2683 | var warning = styled__default(Base).withConfig({
|
2684 | displayName: 'warning',
|
2685 | componentId: 's1chrh0i-0'
|
2686 | })([['{background:', function (props) {
|
2687 | return props.theme.colors.warning;
|
2688 | }, ';color:', function (props) {
|
2689 | return props.theme.colors.blank;
|
2690 | }, ';}']]);
|
2691 |
|
2692 | var success = styled__default(Base).withConfig({
|
2693 | displayName: 'success',
|
2694 | componentId: 's1653sbt-0'
|
2695 | })([['{background:', function (props) {
|
2696 | return props.theme.colors.success;
|
2697 | }, ';color:', function (props) {
|
2698 | return props.theme.colors.blank;
|
2699 | }, ';}']]);
|
2700 |
|
2701 |
|
2702 |
|
2703 | var index$2 = Object.freeze({
|
2704 | Info: info,
|
2705 | Blank: blank,
|
2706 | Warning: warning,
|
2707 | Success: success
|
2708 | });
|
2709 |
|
2710 | var theme = {
|
2711 | font: {
|
2712 | header: 'Montserrat, sans-serif',
|
2713 | body: 'Rubik, sans-serif'
|
2714 | },
|
2715 |
|
2716 | color: {
|
2717 | black: '#4A4A4A',
|
2718 | white: '#FFFFFF',
|
2719 | blue: {
|
2720 | pale: '#EFF1F9',
|
2721 | dim: '#C9CFE5',
|
2722 | medium: '#6073C5',
|
2723 | dark: '#414F8D'
|
2724 | },
|
2725 | grey: {
|
2726 | pale: '#F0F1F2',
|
2727 | dim: '#E8EAEC',
|
2728 | regular: '#9B9B9B'
|
2729 | },
|
2730 | red: '#E34C4C',
|
2731 | yellow: '#F7B422',
|
2732 | green: '#56BD5B',
|
2733 |
|
2734 |
|
2735 | info: '#d1ecf1'
|
2736 | },
|
2737 |
|
2738 | fontSize: [0, 14, 16, 18, 24, 30],
|
2739 |
|
2740 | spacing: [0, 5, 10, 15, 20, 25, 30, 35, 40, 50, 100],
|
2741 |
|
2742 | breakpoint: {
|
2743 | extraSmall: 320,
|
2744 | small: 576,
|
2745 | medium: 768,
|
2746 | large: 992,
|
2747 | extraLarge: 1200
|
2748 | },
|
2749 |
|
2750 | grid: {
|
2751 | container: {
|
2752 | extraSmall: 320,
|
2753 | small: 576,
|
2754 | medium: 768,
|
2755 | large: 992,
|
2756 | extraLarge: 1600
|
2757 | },
|
2758 | gutter: {
|
2759 | extraSmall: 24,
|
2760 | small: 24,
|
2761 | medium: 24,
|
2762 | large: 24,
|
2763 | extraLarge: 24
|
2764 | },
|
2765 | offset: {
|
2766 | extraSmall: 54,
|
2767 | small: 54,
|
2768 | medium: 54,
|
2769 | large: 54,
|
2770 | extraLarge: 54
|
2771 | }
|
2772 | }
|
2773 | };
|
2774 |
|
2775 | var media = Object.keys(theme.breakpoint).reduce(function (acc, label) {
|
2776 | acc[label] = function () {
|
2777 | return styled.css([['@media (min-width:', theme.breakpoint[label] / 16, 'em){'], ['{', styled.css.apply(undefined, arguments), ';}}']]);
|
2778 | };
|
2779 |
|
2780 | return acc;
|
2781 | }, {});
|
2782 |
|
2783 |
|
2784 |
|
2785 |
|
2786 |
|
2787 |
|
2788 |
|
2789 |
|
2790 |
|
2791 |
|
2792 | var endsWith = function (string, suffix) {
|
2793 | return string.substr(-suffix.length) === suffix;
|
2794 | };
|
2795 |
|
2796 |
|
2797 |
|
2798 |
|
2799 |
|
2800 |
|
2801 |
|
2802 |
|
2803 |
|
2804 |
|
2805 |
|
2806 |
|
2807 |
|
2808 |
|
2809 |
|
2810 |
|
2811 |
|
2812 |
|
2813 |
|
2814 |
|
2815 |
|
2816 |
|
2817 |
|
2818 |
|
2819 | function stripUnit(value) {
|
2820 | var unitlessValue = parseFloat(value);
|
2821 | if (isNaN(unitlessValue)) return value;
|
2822 | return unitlessValue;
|
2823 | }
|
2824 |
|
2825 |
|
2826 |
|
2827 |
|
2828 |
|
2829 |
|
2830 |
|
2831 | var pxtoFactory$1 = function pxtoFactory$1(to) {
|
2832 | return function (pxval) {
|
2833 | var base = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '16px';
|
2834 |
|
2835 | var newPxval = pxval;
|
2836 | var newBase = base;
|
2837 | if (typeof pxval === 'string') {
|
2838 | if (!endsWith(pxval, 'px')) {
|
2839 | throw new Error('Expected a string ending in "px" or a number passed as the first argument to ' + to + '(), got "' + pxval + '" instead.');
|
2840 | }
|
2841 | newPxval = stripUnit(pxval);
|
2842 | }
|
2843 |
|
2844 | if (typeof base === 'string') {
|
2845 | if (!endsWith(base, 'px')) {
|
2846 | throw new Error('Expected a string ending in "px" or a number passed as the second argument to ' + to + '(), got "' + base + '" instead.');
|
2847 | }
|
2848 | newBase = stripUnit(base);
|
2849 | }
|
2850 |
|
2851 | if (typeof newPxval === 'string') {
|
2852 | throw new Error('Passed invalid pixel value ("' + pxval + '") to ' + to + '(), please pass a value like "12px" or 12.');
|
2853 | }
|
2854 |
|
2855 | if (typeof newBase === 'string') {
|
2856 | throw new Error('Passed invalid base value ("' + base + '") to ' + to + '(), please pass a value like "12px" or 12.');
|
2857 | }
|
2858 |
|
2859 | return '' + newPxval / newBase + to;
|
2860 | };
|
2861 | };
|
2862 |
|
2863 |
|
2864 |
|
2865 |
|
2866 |
|
2867 |
|
2868 |
|
2869 |
|
2870 |
|
2871 |
|
2872 |
|
2873 |
|
2874 |
|
2875 |
|
2876 |
|
2877 |
|
2878 |
|
2879 |
|
2880 |
|
2881 |
|
2882 |
|
2883 |
|
2884 |
|
2885 |
|
2886 |
|
2887 |
|
2888 |
|
2889 | var em = pxtoFactory$1('em');
|
2890 |
|
2891 |
|
2892 |
|
2893 |
|
2894 |
|
2895 |
|
2896 |
|
2897 |
|
2898 |
|
2899 |
|
2900 |
|
2901 |
|
2902 |
|
2903 |
|
2904 |
|
2905 |
|
2906 |
|
2907 |
|
2908 |
|
2909 |
|
2910 |
|
2911 |
|
2912 |
|
2913 |
|
2914 |
|
2915 |
|
2916 |
|
2917 |
|
2918 | var rem = pxtoFactory$1('rem');
|
2919 |
|
2920 | var defineProperty$1 = function (obj, key, value) {
|
2921 | if (key in obj) {
|
2922 | Object.defineProperty(obj, key, {
|
2923 | value: value,
|
2924 | enumerable: true,
|
2925 | configurable: true,
|
2926 | writable: true
|
2927 | });
|
2928 | } else {
|
2929 | obj[key] = value;
|
2930 | }
|
2931 |
|
2932 | return obj;
|
2933 | };
|
2934 |
|
2935 | var taggedTemplateLiteral$1 = function (strings, raw) {
|
2936 | return Object.freeze(Object.defineProperties(strings, {
|
2937 | raw: {
|
2938 | value: Object.freeze(raw)
|
2939 | }
|
2940 | }));
|
2941 | };
|
2942 |
|
2943 | var _opinionatedRules;
|
2944 | var _unopinionatedRules;
|
2945 |
|
2946 |
|
2947 | var opinionatedRules = (_opinionatedRules = {
|
2948 | html: {
|
2949 | fontFamily: 'sans-serif'
|
2950 | },
|
2951 |
|
2952 | body: {
|
2953 | margin: '0'
|
2954 | }
|
2955 |
|
2956 | }, defineProperty$1(_opinionatedRules, 'a:active,\n a:hover', {
|
2957 | outlineWidth: '0'
|
2958 | }), defineProperty$1(_opinionatedRules, 'button,\n input,\n optgroup,\n select,\n textarea', {
|
2959 | fontFamily: 'sans-serif',
|
2960 | fontSize: '100%',
|
2961 | lineHeight: '1.15'
|
2962 | }), _opinionatedRules);
|
2963 |
|
2964 | var unopinionatedRules = (_unopinionatedRules = {
|
2965 | html: {
|
2966 | lineHeight: '1.15',
|
2967 | textSizeAdjust: '100%'
|
2968 | }
|
2969 |
|
2970 | }, defineProperty$1(_unopinionatedRules, 'article,\n aside,\n footer,\n header,\n nav,\n section', {
|
2971 | display: 'block'
|
2972 | }), defineProperty$1(_unopinionatedRules, 'h1', {
|
2973 | fontSize: '2em',
|
2974 | margin: '0.67em 0'
|
2975 | }), defineProperty$1(_unopinionatedRules, 'figcaption,\n figure,\n main', {
|
2976 | display: 'block'
|
2977 | }), defineProperty$1(_unopinionatedRules, 'figure', {
|
2978 | margin: '1em 40px'
|
2979 | }), defineProperty$1(_unopinionatedRules, 'hr', {
|
2980 | boxSizing: 'content-box',
|
2981 | height: '0',
|
2982 | overflow: 'visible'
|
2983 | }), defineProperty$1(_unopinionatedRules, 'pre', {
|
2984 | fontFamily: 'monospace, monospace',
|
2985 | fontSize: '1em'
|
2986 | }), defineProperty$1(_unopinionatedRules, 'a', {
|
2987 | 'background-color': 'transparent',
|
2988 | '-webkit-text-decoration-skip': 'objects'
|
2989 | }), defineProperty$1(_unopinionatedRules, 'abbr[title]', defineProperty$1({
|
2990 | borderBottom: 'none',
|
2991 | textDecoration: 'underline'
|
2992 | }, 'textDecoration', 'underline dotted')), defineProperty$1(_unopinionatedRules, 'b,\n strong', {
|
2993 | fontWeight: 'inherit'
|
2994 | }), defineProperty$1(_unopinionatedRules, 'code,\n kbd,\n samp', {
|
2995 | fontFamily: 'monospace, monospace',
|
2996 | fontSize: '1em'
|
2997 | }), defineProperty$1(_unopinionatedRules, 'dfn', {
|
2998 | fontStyle: 'italic'
|
2999 | }), defineProperty$1(_unopinionatedRules, 'mark', {
|
3000 | backgroundColor: '#ff0',
|
3001 | color: '#000'
|
3002 | }), defineProperty$1(_unopinionatedRules, 'small', {
|
3003 | fontSize: '80%'
|
3004 | }), defineProperty$1(_unopinionatedRules, 'sub,\n sup', {
|
3005 | fontSize: '75%',
|
3006 | lineHeight: '0',
|
3007 | position: 'relative',
|
3008 | verticalAlign: 'baseline'
|
3009 | }), defineProperty$1(_unopinionatedRules, 'sub', {
|
3010 | bottom: '-0.25em'
|
3011 | }), defineProperty$1(_unopinionatedRules, 'sup', {
|
3012 | top: '-0.5em'
|
3013 | }), defineProperty$1(_unopinionatedRules, 'audio,\n video', {
|
3014 | display: 'inline-block'
|
3015 | }), defineProperty$1(_unopinionatedRules, 'audio:not([controls])', {
|
3016 | display: 'none',
|
3017 | height: '0'
|
3018 | }), defineProperty$1(_unopinionatedRules, 'img', {
|
3019 | borderStyle: 'none'
|
3020 | }), defineProperty$1(_unopinionatedRules, 'svg:not(:root)', {
|
3021 | overflow: 'hidden'
|
3022 | }), defineProperty$1(_unopinionatedRules, 'button,\n input,\n optgroup,\n select,\n textarea', {
|
3023 | margin: '0'
|
3024 | }), defineProperty$1(_unopinionatedRules, 'button,\n input', {
|
3025 | overflow: 'visible'
|
3026 | }), defineProperty$1(_unopinionatedRules, 'button,\n select', {
|
3027 | textTransform: 'none'
|
3028 | }), defineProperty$1(_unopinionatedRules, 'button,\n html [type="button"],\n [type="reset"],\n [type="submit"]', {
|
3029 | '-webkit-appearance': 'button'
|
3030 | }), 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', {
|
3031 | borderStyle: 'none',
|
3032 | padding: '0'
|
3033 | }), defineProperty$1(_unopinionatedRules, 'button:-moz-focusring,\n [type="button"]:-moz-focusring,\n [type="reset"]:-moz-focusring,\n [type="submit"]:-moz-focusring', {
|
3034 | outline: '1px dotted ButtonText'
|
3035 | }), defineProperty$1(_unopinionatedRules, 'fieldset', {
|
3036 | border: '1px solid #c0c0c0',
|
3037 | margin: '0 2px',
|
3038 | padding: '0.35em 0.625em 0.75em'
|
3039 | }), defineProperty$1(_unopinionatedRules, 'legend', {
|
3040 | boxSizing: 'border-box',
|
3041 | color: 'inherit',
|
3042 | display: 'table',
|
3043 | maxWidth: '100%',
|
3044 | padding: '0',
|
3045 | whiteSpace: 'normal'
|
3046 | }), defineProperty$1(_unopinionatedRules, 'progress', {
|
3047 | display: 'inline-block',
|
3048 | verticalAlign: 'baseline'
|
3049 | }), defineProperty$1(_unopinionatedRules, 'textarea', {
|
3050 | overflow: 'auto'
|
3051 | }), defineProperty$1(_unopinionatedRules, '[type="checkbox"],\n [type="radio"]', {
|
3052 | boxSizing: 'border-box',
|
3053 | padding: '0'
|
3054 | }), defineProperty$1(_unopinionatedRules, '[type="number"]::-webkit-inner-spin-button,\n [type="number"]::-webkit-outer-spin-button', {
|
3055 | height: 'auto'
|
3056 | }), defineProperty$1(_unopinionatedRules, '[type="search"]', {
|
3057 | '-webkit-appearance': 'textfield',
|
3058 | outlineOffset: '-2px'
|
3059 | }), defineProperty$1(_unopinionatedRules, '[type="search"]::-webkit-search-cancel-button,\n [type="search"]::-webkit-search-decoration', {
|
3060 | '-webkit-appearance': 'none'
|
3061 | }), defineProperty$1(_unopinionatedRules, '::-webkit-file-upload-button', {
|
3062 | '-webkit-appearance': 'button',
|
3063 | font: 'inherit'
|
3064 | }), defineProperty$1(_unopinionatedRules, 'details,\n menu', {
|
3065 | display: 'block'
|
3066 | }), defineProperty$1(_unopinionatedRules, 'summary', {
|
3067 | display: 'list-item'
|
3068 | }), defineProperty$1(_unopinionatedRules, 'canvas', {
|
3069 | display: 'inline-block'
|
3070 | }), defineProperty$1(_unopinionatedRules, 'template', {
|
3071 | display: 'none'
|
3072 | }), defineProperty$1(_unopinionatedRules, '[hidden]', {
|
3073 | display: 'none'
|
3074 | }), _unopinionatedRules);
|
3075 |
|
3076 | var _templateObject = taggedTemplateLiteral$1(['radial-gradient(', '', '', '', ')'], ['radial-gradient(', '', '', '', ')']);
|
3077 |
|
3078 |
|
3079 |
|
3080 |
|
3081 |
|
3082 |
|
3083 | var mq = function mq(breakpoint) {
|
3084 | return '@media screen and (min-width: ' + em(breakpoint) + ')';
|
3085 | };
|
3086 |
|
3087 |
|
3088 |
|
3089 |
|
3090 |
|
3091 |
|
3092 |
|
3093 |
|
3094 |
|
3095 |
|
3096 |
|
3097 |
|
3098 |
|
3099 |
|
3100 |
|
3101 | var merge = function merge(a, b) {
|
3102 | return _extends({}, a, b);
|
3103 | };
|
3104 |
|
3105 |
|
3106 |
|
3107 |
|
3108 |
|
3109 |
|
3110 | var media$1 = function media(breakpoints) {
|
3111 | return function (declaration, i) {
|
3112 | return defineProperty({}, mq(breakpoints[i]), declaration);
|
3113 | };
|
3114 | };
|
3115 |
|
3116 |
|
3117 |
|
3118 |
|
3119 |
|
3120 |
|
3121 | var scale = function scale(_scale) {
|
3122 | return function (value) {
|
3123 | return value ? _scale[value] : null;
|
3124 | };
|
3125 | };
|
3126 |
|
3127 | var expression = /^[m][trblxy]?$/;
|
3128 |
|
3129 | var directions = {
|
3130 | t: ['Top'],
|
3131 | r: ['Right'],
|
3132 | b: ['Bottom'],
|
3133 | l: ['Left'],
|
3134 | x: ['Left', 'Right'],
|
3135 | y: ['Top', 'Bottom']
|
3136 | };
|
3137 |
|
3138 |
|
3139 |
|
3140 |
|
3141 |
|
3142 |
|
3143 | var getProperties = function getProperties(key) {
|
3144 | var dirs = directions[key[1]] || [''];
|
3145 | return dirs.map(function (direction) {
|
3146 | return 'margin' + direction;
|
3147 | });
|
3148 | };
|
3149 |
|
3150 | var margin = (function () {
|
3151 | return function (props) {
|
3152 | var _props$theme = props.theme,
|
3153 | spacing = _props$theme.spacing,
|
3154 | breakpoint = _props$theme.breakpoint;
|
3155 |
|
3156 | var keys = Object.keys(props).filter(function (key) {
|
3157 | return expression.test(key);
|
3158 | });
|
3159 |
|
3160 | return keys.map(function (key) {
|
3161 | var value = props[key];
|
3162 | var properties = getProperties(key);
|
3163 |
|
3164 | if (Array.isArray(value)) {
|
3165 | return value.map(scale(spacing)).map(function (size$$1) {
|
3166 | return rem(size$$1);
|
3167 | }).map(function (size$$1) {
|
3168 | return properties.map(function (property) {
|
3169 | return defineProperty({}, property, size$$1);
|
3170 | }).reduce(merge, {});
|
3171 | }).map(media$1(Object.values(breakpoint))).reduce(function (a, b) {
|
3172 | return _extends({}, a, b);
|
3173 | });
|
3174 | }
|
3175 |
|
3176 | return properties.map(function (property) {
|
3177 | return defineProperty({}, property, rem(spacing[parseInt(value, 0)]));
|
3178 | }).reduce(merge, {});
|
3179 | }).reduce(merge, {});
|
3180 | };
|
3181 | });
|
3182 |
|
3183 | var expression$1 = /^[p][trblxy]?$/;
|
3184 |
|
3185 | var directions$1 = {
|
3186 | t: ['Top'],
|
3187 | r: ['Right'],
|
3188 | b: ['Bottom'],
|
3189 | l: ['Left'],
|
3190 | x: ['Left', 'Right'],
|
3191 | y: ['Top', 'Bottom']
|
3192 | };
|
3193 |
|
3194 |
|
3195 |
|
3196 |
|
3197 |
|
3198 |
|
3199 | var getProperties$1 = function getProperties(key) {
|
3200 | var dirs = directions$1[key[1]] || [''];
|
3201 | return dirs.map(function (direction) {
|
3202 | return 'padding' + direction;
|
3203 | });
|
3204 | };
|
3205 |
|
3206 | var padding$1 = (function () {
|
3207 | return function (props) {
|
3208 | var _props$theme = props.theme,
|
3209 | spacing = _props$theme.spacing,
|
3210 | breakpoint = _props$theme.breakpoint;
|
3211 |
|
3212 | var keys = Object.keys(props).filter(function (key) {
|
3213 | return expression$1.test(key);
|
3214 | });
|
3215 |
|
3216 | return keys.map(function (key) {
|
3217 | var value = props[key];
|
3218 | var properties = getProperties$1(key);
|
3219 |
|
3220 | if (Array.isArray(value)) {
|
3221 | return value.map(scale(spacing)).map(function (size$$1) {
|
3222 | return rem(size$$1);
|
3223 | }).map(function (size$$1) {
|
3224 | return properties.map(function (property) {
|
3225 | return defineProperty({}, property, size$$1);
|
3226 | }).reduce(merge, {});
|
3227 | }).map(media$1(Object.values(breakpoint))).reduce(function (a, b) {
|
3228 | return _extends({}, a, b);
|
3229 | });
|
3230 | }
|
3231 |
|
3232 | return properties.map(function (property) {
|
3233 | return defineProperty({}, property, rem(spacing[parseInt(value, 0)]));
|
3234 | }).reduce(merge, {});
|
3235 | }).reduce(merge, {});
|
3236 | };
|
3237 | });
|
3238 |
|
3239 | var fontSize = (function (fallback) {
|
3240 | return function (props) {
|
3241 | var value = props.fontSize || fallback || 1;
|
3242 | var _props$theme = props.theme,
|
3243 | fontSize = _props$theme.fontSize,
|
3244 | breakpoint = _props$theme.breakpoint;
|
3245 |
|
3246 |
|
3247 | if (Array.isArray(value)) {
|
3248 | return value.map(scale(fontSize)).map(function (size$$1) {
|
3249 | return rem(size$$1);
|
3250 | }).map(function (size$$1) {
|
3251 | return { fontSize: size$$1 };
|
3252 | }).map(media$1(Object.values(breakpoint))).reduce(merge, {});
|
3253 | }
|
3254 |
|
3255 | return { fontSize: rem(fontSize[value]) };
|
3256 | };
|
3257 | });
|
3258 |
|
3259 | var style = styled.css([['{height:2.5rem;display:inline-block;padding:', function (props) {
|
3260 | return props.square ? '0' : '0 1.5em';
|
3261 | }, ';width:', function (props) {
|
3262 | return props.square ? '2.5rem' : 'auto';
|
3263 | }, ';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) {
|
3264 | return props.theme.font.header;
|
3265 | }, ';}']]);
|
3266 |
|
3267 | var StyledButton = styled__default.button.withConfig({
|
3268 | displayName: 'base__StyledButton',
|
3269 | componentId: 'ne2f7p-0'
|
3270 | })([['{', style, ';}']]);
|
3271 |
|
3272 | var Inner = styled__default.span.withConfig({
|
3273 | displayName: 'base__Inner',
|
3274 | componentId: 'ne2f7p-1'
|
3275 | })([['{', 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) {
|
3276 | return props.justify;
|
3277 | }, ';-webkit-justify-content:', function (props) {
|
3278 | return props.justify;
|
3279 | }, ';-ms-flex-pack:', function (props) {
|
3280 | return props.justify;
|
3281 | }, ';justify-content:', function (props) {
|
3282 | return props.justify;
|
3283 | }, ';-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;}']]);
|
3284 |
|
3285 |
|
3286 |
|
3287 |
|
3288 |
|
3289 |
|
3290 |
|
3291 | var BaseButton = function BaseButton(_ref) {
|
3292 | var children = _ref.children,
|
3293 | justify = _ref.justify,
|
3294 | square = _ref.square,
|
3295 | other = objectWithoutProperties(_ref, ['children', 'justify', 'square']);
|
3296 | return React__default.createElement(
|
3297 | StyledButton,
|
3298 | _extends({ square: square }, other),
|
3299 | React__default.createElement(
|
3300 | Inner,
|
3301 | { justify: justify },
|
3302 | React__default.Children.map(children, function (Child) {
|
3303 | return React__default.isValidElement(Child) ? React.cloneElement(Child, { height: Child.props.height || '24' }) : React__default.createElement(
|
3304 | 'span',
|
3305 | null,
|
3306 | Child
|
3307 | );
|
3308 | })
|
3309 | )
|
3310 | );
|
3311 | };
|
3312 |
|
3313 | BaseButton.defaultProps = {
|
3314 | justify: 'space-between'
|
3315 | };
|
3316 |
|
3317 | BaseButton.propTypes = {
|
3318 | square: PropTypes.bool,
|
3319 | justify: PropTypes.string,
|
3320 | children: PropTypes.node.isRequired
|
3321 | };
|
3322 |
|
3323 | var link$1 = styled__default.span.withConfig({
|
3324 | displayName: 'link',
|
3325 | componentId: 's1850vqz-0'
|
3326 | })([['{position:relative;display:inline-block;color:', function (props) {
|
3327 | return props.theme.color.black;
|
3328 | }, ';font-family:', function (props) {
|
3329 | return props.theme.font.base;
|
3330 | }, ';', 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) {
|
3331 | return props.theme.color.grey.pale;
|
3332 | }, ';}']]);
|
3333 |
|
3334 | var dark = styled__default(BaseButton).withConfig({
|
3335 | displayName: 'dark',
|
3336 | componentId: 's3gs2yy-0'
|
3337 | })([['{background:', function (props) {
|
3338 | return props.theme.colors.dark;
|
3339 | }, ';color:', function (props) {
|
3340 | return props.theme.colors.blank;
|
3341 | }, ';}']]);
|
3342 |
|
3343 | var blank$1 = styled__default(BaseButton).withConfig({
|
3344 | displayName: 'blank',
|
3345 | componentId: 's18g875l-0'
|
3346 | })([['{color:', function (props) {
|
3347 | return props.theme.color.black;
|
3348 | }, ';background:', function (props) {
|
3349 | return props.theme.color.white;
|
3350 | }, ';border-color:', function (props) {
|
3351 | return props.theme.color.grey.dim;
|
3352 | }, ';}']]);
|
3353 |
|
3354 | var circle = styled__default.button.withConfig({
|
3355 | displayName: 'circle',
|
3356 | componentId: 's1i37xu3-0'
|
3357 | })([['{', fontSize(1), ';border-radius:50%;position:relative;padding:0;width:2em;height:2em;border:0;outline:0;}']]);
|
3358 |
|
3359 | var primary = styled__default(BaseButton).withConfig({
|
3360 | displayName: 'primary',
|
3361 | componentId: 'nh4am0-0'
|
3362 | })([['{background:', function (props) {
|
3363 | return props.theme.colors.primary;
|
3364 | }, ';color:', function (props) {
|
3365 | return props.theme.colors.blank;
|
3366 | }, ';}']]);
|
3367 |
|
3368 | var secondary = styled__default(BaseButton).withConfig({
|
3369 | displayName: 'secondary',
|
3370 | componentId: 'k9bp6i-0'
|
3371 | })([['{background:', function (props) {
|
3372 | return props.theme.colors.secondary;
|
3373 | }, ';color:', function (props) {
|
3374 | return props.theme.colors.black;
|
3375 | }, ';}']]);
|
3376 |
|
3377 | var warning$1 = styled__default(BaseButton).withConfig({
|
3378 | displayName: 'warning',
|
3379 | componentId: 'gbzaw7-0'
|
3380 | })([['{background:', function (props) {
|
3381 | return props.theme.colors.warning;
|
3382 | }, ';color:', function (props) {
|
3383 | return props.theme.colors.blank;
|
3384 | }, ';}']]);
|
3385 |
|
3386 | var success$1 = styled__default(BaseButton).withConfig({
|
3387 | displayName: 'success',
|
3388 | componentId: 's17y7hd2-0'
|
3389 | })([['{background:', function (props) {
|
3390 | return props.theme.colors.success;
|
3391 | }, ';color:', function (props) {
|
3392 | return props.theme.colors.blank;
|
3393 | }, ';}']]);
|
3394 |
|
3395 |
|
3396 | var Button = styled__default(BaseButton).withConfig({
|
3397 | displayName: 'twitter__Button',
|
3398 | componentId: 's3dd3xw-0'
|
3399 | })([['{background:#03BBF0;color:', function (props) {
|
3400 | return props.theme.colors.blank;
|
3401 | }, ';}']]);
|
3402 |
|
3403 | var TwitterButton = function TwitterButton(_ref) {
|
3404 | var children = _ref.children,
|
3405 | other = objectWithoutProperties(_ref, ['children']);
|
3406 | return children ? React__default.createElement(
|
3407 | Button,
|
3408 | other,
|
3409 | React__default.createElement(Twitter, null),
|
3410 | children
|
3411 | ) : React__default.createElement(
|
3412 | Button,
|
3413 | other,
|
3414 | React__default.createElement(Twitter, null)
|
3415 | );
|
3416 | };
|
3417 |
|
3418 | TwitterButton.propTypes = {
|
3419 | children: PropTypes.node
|
3420 | };
|
3421 |
|
3422 |
|
3423 | var Button$1 = styled__default(BaseButton).withConfig({
|
3424 | displayName: 'youtube__Button',
|
3425 | componentId: 'qdlog4-0'
|
3426 | })([['{background:#FF001B;color:', function (props) {
|
3427 | return props.theme.colors.blank;
|
3428 | }, ';}']]);
|
3429 |
|
3430 | var YoutubeButton = function YoutubeButton(_ref) {
|
3431 | var children = _ref.children,
|
3432 | other = objectWithoutProperties(_ref, ['children']);
|
3433 | return children ? React__default.createElement(
|
3434 | Button$1,
|
3435 | other,
|
3436 | React__default.createElement(Youtube, null),
|
3437 | children
|
3438 | ) : React__default.createElement(
|
3439 | Button$1,
|
3440 | other,
|
3441 | React__default.createElement(Youtube, null)
|
3442 | );
|
3443 | };
|
3444 |
|
3445 | YoutubeButton.propTypes = {
|
3446 | children: PropTypes.node
|
3447 | };
|
3448 |
|
3449 |
|
3450 | var Button$2 = styled__default(BaseButton).withConfig({
|
3451 | displayName: 'facebook__Button',
|
3452 | componentId: 's1nnyis6-0'
|
3453 | })([['{background:#39579A;color:', function (props) {
|
3454 | return props.theme.colors.blank;
|
3455 | }, ';}']]);
|
3456 |
|
3457 | var FacebookButton = function FacebookButton(_ref) {
|
3458 | var children = _ref.children,
|
3459 | other = objectWithoutProperties(_ref, ['children']);
|
3460 | return children ? React__default.createElement(
|
3461 | Button$2,
|
3462 | other,
|
3463 | React__default.createElement(Facebook, null),
|
3464 | children
|
3465 | ) : React__default.createElement(
|
3466 | Button$2,
|
3467 | other,
|
3468 | React__default.createElement(Facebook, null)
|
3469 | );
|
3470 | };
|
3471 |
|
3472 | FacebookButton.propTypes = {
|
3473 | children: PropTypes.node
|
3474 | };
|
3475 |
|
3476 |
|
3477 | var Button$3 = styled__default(BaseButton).withConfig({
|
3478 | displayName: 'whatsapp__Button',
|
3479 | componentId: 's1802v0n-0'
|
3480 | })([['{background:#67C15E;color:', function (props) {
|
3481 | return props.theme.colors.blank;
|
3482 | }, ';}']]);
|
3483 |
|
3484 | var WhatsappButton = function WhatsappButton(_ref) {
|
3485 | var children = _ref.children,
|
3486 | other = objectWithoutProperties(_ref, ['children']);
|
3487 | return children ? React__default.createElement(
|
3488 | Button$3,
|
3489 | other,
|
3490 | React__default.createElement(Whatsapp, null),
|
3491 | children
|
3492 | ) : React__default.createElement(
|
3493 | Button$3,
|
3494 | other,
|
3495 | React__default.createElement(Whatsapp, null)
|
3496 | );
|
3497 | };
|
3498 |
|
3499 | WhatsappButton.propTypes = {
|
3500 | children: PropTypes.node
|
3501 | };
|
3502 |
|
3503 |
|
3504 | var Button$4 = styled__default(BaseButton).withConfig({
|
3505 | displayName: 'google-plus__Button',
|
3506 | componentId: 'ab4h4c-0'
|
3507 | })([['{background:#F93F2D;color:', function (props) {
|
3508 | return props.theme.colors.blank;
|
3509 | }, ';}']]);
|
3510 |
|
3511 | var GooglePlusButton = function GooglePlusButton(_ref) {
|
3512 | var children = _ref.children,
|
3513 | other = objectWithoutProperties(_ref, ['children']);
|
3514 | return children ? React__default.createElement(
|
3515 | Button$4,
|
3516 | other,
|
3517 | React__default.createElement(GooglePlus, null),
|
3518 | children
|
3519 | ) : React__default.createElement(
|
3520 | Button$4,
|
3521 | other,
|
3522 | React__default.createElement(GooglePlus, null)
|
3523 | );
|
3524 | };
|
3525 |
|
3526 | GooglePlusButton.propTypes = {
|
3527 | children: PropTypes.node
|
3528 | };
|
3529 |
|
3530 |
|
3531 |
|
3532 | var index$3 = Object.freeze({
|
3533 | Link: link$1,
|
3534 | Dark: dark,
|
3535 | Blank: blank$1,
|
3536 | Circle: circle,
|
3537 | Primary: primary,
|
3538 | Secondary: secondary,
|
3539 | Warning: warning$1,
|
3540 | Success: success$1,
|
3541 | Twitter: TwitterButton,
|
3542 | Youtube: YoutubeButton,
|
3543 | Facebook: FacebookButton,
|
3544 | Whatsapp: WhatsappButton,
|
3545 | Googleplus: GooglePlusButton
|
3546 | });
|
3547 |
|
3548 | var StyledTag = styled__default.span.withConfig({
|
3549 | displayName: 'tag__StyledTag',
|
3550 | componentId: 's10lm7t9-0'
|
3551 | })([['{', fontSize(1), ';font-family:', function (props) {
|
3552 | return props.theme.font.base;
|
3553 | }, ';font-weight:300;text-decoration:none;background:', function (props) {
|
3554 | return props.theme.color.black;
|
3555 | }, ';color:', function (props) {
|
3556 | return props.theme.color.white;
|
3557 | }, ';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;}']]);
|
3558 |
|
3559 | var Tag = function Tag(_ref) {
|
3560 | var children = _ref.children,
|
3561 | other = objectWithoutProperties(_ref, ['children']);
|
3562 | return React__default.createElement(
|
3563 | StyledTag,
|
3564 | other,
|
3565 | React__default.createElement(
|
3566 | 'span',
|
3567 | null,
|
3568 | children
|
3569 | )
|
3570 | );
|
3571 | };
|
3572 |
|
3573 | Tag.propTypes = {
|
3574 | children: PropTypes.string.isRequired
|
3575 | };
|
3576 |
|
3577 | var Text = styled__default.span.withConfig({
|
3578 | displayName: 'text__Text',
|
3579 | componentId: 's1jz2etq-0'
|
3580 | })([['{', fontSize(1), ';font-weight:300;font-family:', function (props) {
|
3581 | return props.theme.font.base;
|
3582 | }, ';}']]);
|
3583 |
|
3584 |
|
3585 | var Logo = function Logo(props) {
|
3586 | return React__default.createElement(
|
3587 | 'svg',
|
3588 | _extends({ viewBox: '0 0 129 40' }, props),
|
3589 | React__default.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' }),
|
3590 | React__default.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' }),
|
3591 | React__default.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' }),
|
3592 | React__default.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' }),
|
3593 | React__default.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' }),
|
3594 | React__default.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' }),
|
3595 | React__default.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' }),
|
3596 | React__default.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' }),
|
3597 | React__default.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' }),
|
3598 | React__default.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' }),
|
3599 | React__default.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' }),
|
3600 | React__default.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' }),
|
3601 | React__default.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' }),
|
3602 | React__default.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' }),
|
3603 | React__default.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' }),
|
3604 | React__default.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' }),
|
3605 | React__default.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' }),
|
3606 | React__default.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' }),
|
3607 | React__default.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' }),
|
3608 | React__default.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' }),
|
3609 | React__default.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' }),
|
3610 | React__default.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' })
|
3611 | );
|
3612 | };
|
3613 |
|
3614 | Logo.propTypes = {
|
3615 | fill: PropTypes.string,
|
3616 | width: PropTypes.number
|
3617 | };
|
3618 |
|
3619 | Logo.defaultProps = {
|
3620 | fill: '#FFFFFF'
|
3621 | };
|
3622 |
|
3623 | var Meta = styled__default.p.withConfig({
|
3624 | displayName: 'meta__Meta',
|
3625 | componentId: 's4zsj9-0'
|
3626 | })([['{font-family:', function (props) {
|
3627 | return props.theme.font.base;
|
3628 | }, ';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;}']]);
|
3629 |
|
3630 | var _templateObject$1 = taggedTemplateLiteral(['\n font-size: ', ';\n '], ['\n font-size: ', ';\n ']);
|
3631 |
|
3632 |
|
3633 |
|
3634 |
|
3635 |
|
3636 |
|
3637 |
|
3638 |
|
3639 | function getElement(level) {
|
3640 | switch (level) {
|
3641 | case 1:
|
3642 | return 'h1';
|
3643 | case 2:
|
3644 | return 'h2';
|
3645 | case 3:
|
3646 | return 'h3';
|
3647 | case 4:
|
3648 | return 'h4';
|
3649 | default:
|
3650 | return 'h1';
|
3651 | }
|
3652 | }
|
3653 |
|
3654 | var Title = function Title(_ref) {
|
3655 | var level = _ref.level,
|
3656 | size = _ref.size,
|
3657 | other = objectWithoutProperties(_ref, ['level', 'size']);
|
3658 |
|
3659 | var Element = styled__default(getElement(level)).withConfig({
|
3660 | displayName: 'title__Element',
|
3661 | componentId: 's8qpq7x-0'
|
3662 | })([['{font-family:', function (props) {
|
3663 | return props.theme.font.header;
|
3664 | }, ';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 () {
|
3665 | if (size === 1) return '1.5em';
|
3666 | if (size === 2) return '1.125em';
|
3667 | if (size === 3) return '1em';
|
3668 | return '1.5em';
|
3669 | }, ';', media.medium(_templateObject$1, function () {
|
3670 | if (size === 1) return '1.875em';
|
3671 | if (size === 2) return '1.5em';
|
3672 | if (size === 3) return '1.25em';
|
3673 | return '1.875em';
|
3674 | }), ' ', media.large(_templateObject$1, function () {
|
3675 | if (size === 1) return '2.5em';
|
3676 | if (size === 2) return '1.625em';
|
3677 | if (size === 3) return '1.25em';
|
3678 | return '2.5em';
|
3679 | }), ' ', media.extraLarge(_templateObject$1, function () {
|
3680 | if (size === 1) return '4em';
|
3681 | if (size === 2) return '2em';
|
3682 | if (size === 3) return '1.5em';
|
3683 | return '5em';
|
3684 | }), ';}']]);
|
3685 |
|
3686 | return React__default.createElement(Element, other);
|
3687 | };
|
3688 |
|
3689 | Title.propTypes = {
|
3690 | level: PropTypes.number,
|
3691 | size: PropTypes.number,
|
3692 | children: PropTypes.node
|
3693 | };
|
3694 |
|
3695 | var Wrapper = styled__default.span.withConfig({
|
3696 | displayName: 'input__Wrapper',
|
3697 | componentId: 'ko8zgu-0'
|
3698 | })([['{', 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) {
|
3699 | return props.theme.font.base;
|
3700 | }, ';font-weight:300;width:', function (props) {
|
3701 | return props.width || '100%';
|
3702 | }, ';}'], [' span:first-child{margin-right:1em;}'], [' span:last-child{margin-left:1em;}']]);
|
3703 |
|
3704 | var StyledInput = styled__default.input.withConfig({
|
3705 | displayName: 'input__StyledInput',
|
3706 | componentId: 'ko8zgu-1'
|
3707 | })([['{', fontSize(2), ';font-family:', function (props) {
|
3708 | return props.theme.font.base;
|
3709 | }, ';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) {
|
3710 | return props.width || 'auto';
|
3711 | }, ';}'], [':focus,'], [':active{outline:0;border-color:', function (props) {
|
3712 | return props.theme.color.primary;
|
3713 | }, ';}']]);
|
3714 |
|
3715 | var Input = function Input(_ref) {
|
3716 | var prefix = _ref.prefix,
|
3717 | suffix = _ref.suffix,
|
3718 | other = objectWithoutProperties(_ref, ['prefix', 'suffix']);
|
3719 |
|
3720 | if (!prefix && !suffix) return React__default.createElement(StyledInput, other);
|
3721 |
|
3722 | return React__default.createElement(
|
3723 | Wrapper,
|
3724 | null,
|
3725 | prefix && React__default.createElement(
|
3726 | 'span',
|
3727 | null,
|
3728 | prefix
|
3729 | ),
|
3730 | React__default.createElement(StyledInput, other),
|
3731 | suffix && React__default.createElement(
|
3732 | 'span',
|
3733 | null,
|
3734 | suffix
|
3735 | )
|
3736 | );
|
3737 | };
|
3738 |
|
3739 | Input.propTypes = {
|
3740 | prefix: PropTypes.string,
|
3741 | suffix: PropTypes.string
|
3742 | };
|
3743 |
|
3744 | var Label = styled__default.label.withConfig({
|
3745 | displayName: 'label__Label',
|
3746 | componentId: 's1yqpyf1-0'
|
3747 | })([['{font-family:', function (props) {
|
3748 | return props.theme.font.base;
|
3749 | }, ';color:', function (props) {
|
3750 | return props.theme.color.grey.regular;
|
3751 | }, ';font-size:0.875em;font-weight:300;display:block;', margin(), ';', padding$1(), ';}']]);
|
3752 |
|
3753 | var Container$1 = styled__default.span.withConfig({
|
3754 | displayName: 'radio__Container',
|
3755 | componentId: 's1q6b2rx-0'
|
3756 | })([['{display:', function (props) {
|
3757 | return props.block ? 'flex' : 'inline-flex';
|
3758 | }, ';margin-bottom:', function (props) {
|
3759 | return props.block ? '1em' : '0';
|
3760 | }, ';margin-right:', function (props) {
|
3761 | return props.block ? '0' : '1em';
|
3762 | }, ';-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}']]);
|
3763 |
|
3764 | var Label$2 = styled__default.label.withConfig({
|
3765 | displayName: 'radio__Label',
|
3766 | componentId: 's1q6b2rx-1'
|
3767 | })([[':before{vertical-align:middle;display:inline-block;content:\'\';width:20px;height:20px;border-radius:50%;background:', function (props) {
|
3768 | return props.theme.colors.blank;
|
3769 | }, ';box-shadow:0 2px 0 0 rgba(0,0,0,0.15);border:1px solid ', function (props) {
|
3770 | return props.theme.vivid;
|
3771 | }, ';}'], [' > *{vertical-align:middle;display:inline-block;padding-left:0.625em;}']]);
|
3772 |
|
3773 | var StyledRadio = styled__default.input.withConfig({
|
3774 | displayName: 'radio__StyledRadio',
|
3775 | componentId: 's1q6b2rx-2'
|
3776 | })([['{display:none;}'], [':checked + label:before{content:\'\\2022\';color:', function (props) {
|
3777 | return props.theme.dark;
|
3778 | }, ';font-size:3em;line-height:1.4rem;text-align:center;}']]);
|
3779 |
|
3780 | var Radio = function Radio(_ref) {
|
3781 | var children = _ref.children,
|
3782 | block = _ref.block,
|
3783 | id = _ref.id,
|
3784 | other = objectWithoutProperties(_ref, ['children', 'block', 'id']);
|
3785 | return React__default.createElement(
|
3786 | Container$1,
|
3787 | { block: block },
|
3788 | React__default.createElement(StyledRadio, _extends({ type: 'radio', id: id }, other)),
|
3789 | React__default.createElement(
|
3790 | Label$2,
|
3791 | { htmlFor: id },
|
3792 | children
|
3793 | )
|
3794 | );
|
3795 | };
|
3796 |
|
3797 | Radio.propTypes = {
|
3798 | id: PropTypes.string,
|
3799 | block: PropTypes.bool,
|
3800 | children: PropTypes.node
|
3801 | };
|
3802 |
|
3803 | var _templateObject$2 = taggedTemplateLiteral(['font-size: 0.875em;'], ['font-size: 0.875em;']);
|
3804 |
|
3805 | var DefinitionTerm = styled__default.dt.withConfig({
|
3806 | displayName: 'definition__DefinitionTerm',
|
3807 | componentId: 'ueq7jm-0'
|
3808 | })([['{font-size:0.75em;line-height:1;margin:0;font-family:', function (props) {
|
3809 | return props.theme.font.base;
|
3810 | }, ';font-weight:300;color:', function (props) {
|
3811 | return props.emphasis ? props.theme.colors.black : props.theme.colors.grey;
|
3812 | }, ';', media.large(_templateObject$2), ';}']]);
|
3813 |
|
3814 | var DefinitionData = styled__default.dd.withConfig({
|
3815 | displayName: 'definition__DefinitionData',
|
3816 | componentId: 'ueq7jm-1'
|
3817 | })([['{font-size:12px;line-height:1.5;margin:0;font-family:', function (props) {
|
3818 | return props.theme.font.base;
|
3819 | }, ';font-weight:300;color:', function (props) {
|
3820 | return props.emphasis ? props.theme.colors.black : props.theme.colors.grey;
|
3821 | }, ';}', media.large(_templateObject$2), ' '], [' + dd{margin-top:0;}'], [' + dt{margin-top:', function (props) {
|
3822 | return props.theme.spacing.large;
|
3823 | }, ';}']]);
|
3824 |
|
3825 | var Image = styled__default.img.withConfig({
|
3826 | displayName: 'profile-picture__Image',
|
3827 | componentId: 's487dwa-0'
|
3828 | })([['{display:inline-block;width:3.75em;height:3.75em;border-radius:50%;vertical-align:middle;}']]);
|
3829 |
|
3830 | var Initials = styled__default.div.withConfig({
|
3831 | displayName: 'profile-picture__Initials',
|
3832 | componentId: 's487dwa-1'
|
3833 | })([['{font-family:', function (props) {
|
3834 | return props.theme.font.base;
|
3835 | }, ';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) {
|
3836 | return props.theme.colors.primary;
|
3837 | }, ';color:', function (props) {
|
3838 | return props.theme.colors.blank;
|
3839 | }, ';}']]);
|
3840 |
|
3841 | var ProfilePicture = function ProfilePicture(props) {
|
3842 | if (props.image) {
|
3843 | return React__default.createElement(Image, { alt: props.user, src: props.image });
|
3844 | }
|
3845 |
|
3846 | return React__default.createElement(
|
3847 | Initials,
|
3848 | null,
|
3849 | props.user.match(/\b(\w)/g).join('')
|
3850 | );
|
3851 | };
|
3852 |
|
3853 | ProfilePicture.propTypes = {
|
3854 | image: PropTypes.string,
|
3855 | user: PropTypes.string.isRequired
|
3856 | };
|
3857 |
|
3858 | var Container$2 = styled__default.div.withConfig({
|
3859 | displayName: 'author__Container',
|
3860 | componentId: 's1tkgtaj-0'
|
3861 | })([['{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) {
|
3862 | return props.theme.font.base;
|
3863 | }, ';font-weight:300;}']]);
|
3864 |
|
3865 | var AuthorName = styled__default(DefinitionData).withConfig({
|
3866 | displayName: 'author__AuthorName',
|
3867 | componentId: 's1tkgtaj-1'
|
3868 | })([['{display:block;font-size:1em;margin:0 !important;}']]);
|
3869 |
|
3870 | var Content = styled__default.div.withConfig({
|
3871 | displayName: 'author__Content',
|
3872 | componentId: 's1tkgtaj-2'
|
3873 | })([['{display:inline-block;margin-left:1.25em;}']]);
|
3874 |
|
3875 | var Author = function Author(_ref) {
|
3876 | var name = _ref.name,
|
3877 | image = _ref.image,
|
3878 | other = objectWithoutProperties(_ref, ['name', 'image']);
|
3879 | return React__default.createElement(
|
3880 | Container$2,
|
3881 | other,
|
3882 | React__default.createElement(ProfilePicture, { user: name, image: image }),
|
3883 | React__default.createElement(
|
3884 | Content,
|
3885 | null,
|
3886 | React__default.createElement(
|
3887 | AuthorName,
|
3888 | null,
|
3889 | name
|
3890 | )
|
3891 | )
|
3892 | );
|
3893 | };
|
3894 |
|
3895 | Author.propTypes = {
|
3896 | image: PropTypes.string,
|
3897 | name: PropTypes.string.isRequired
|
3898 | };
|
3899 |
|
3900 | var CloseButton = function CloseButton(_ref) {
|
3901 | var onDelete = _ref.onDelete,
|
3902 | other = objectWithoutProperties(_ref, ['onDelete']);
|
3903 | return React__default.createElement(
|
3904 | 'div',
|
3905 | _extends({ onClick: onDelete }, other),
|
3906 | React__default.createElement(CloseIcon, { width: '8' })
|
3907 | );
|
3908 | };
|
3909 |
|
3910 | CloseButton.propTypes = {
|
3911 | onDelete: PropTypes.func.isRequired
|
3912 | };
|
3913 |
|
3914 | var Close$$1 = styled__default(CloseButton).withConfig({
|
3915 | displayName: 'close',
|
3916 | componentId: 's1fwlfgs-0'
|
3917 | })([['{position:absolute;top:0.75em;left:-0.5em;width:20px;height:20px;border-radius:50%;background:', function (props) {
|
3918 | return props.theme.dark;
|
3919 | }, ';color:', function (props) {
|
3920 | return props.theme.colors.blank;
|
3921 | }, ';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;}']]);
|
3922 |
|
3923 | var animation$1 = styled.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;}}']]);
|
3924 |
|
3925 | var Spinner = styled__default.div.withConfig({
|
3926 | displayName: 'spinner__Spinner',
|
3927 | componentId: 's5m1zon-0'
|
3928 | })([['{width:40px;height:40px;margin:100px auto;border-radius:100%;background:', function (props) {
|
3929 | return props.theme.color.black;
|
3930 | }, ';-webkit-animation:', animation$1, ' 2s infinite ease-out;animation:', animation$1, ' 2s infinite ease-out;}']]);
|
3931 |
|
3932 |
|
3933 | var Container$3 = styled__default.div.withConfig({
|
3934 | displayName: 'preview__Container',
|
3935 | componentId: 's14wwny5-0'
|
3936 | })([['{position:relative;}'], [' img,'], [' video{margin:1.25em 0;max-width:15em;}']]);
|
3937 |
|
3938 | var Preview = function (_Component) {
|
3939 | inherits(Preview, _Component);
|
3940 |
|
3941 | function Preview() {
|
3942 | var _ref;
|
3943 |
|
3944 | var _temp, _this, _ret;
|
3945 |
|
3946 | classCallCheck(this, Preview);
|
3947 |
|
3948 | for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
|
3949 | args[_key] = arguments[_key];
|
3950 | }
|
3951 |
|
3952 | return _ret = (_temp = (_this = possibleConstructorReturn(this, (_ref = Preview.__proto__ || Object.getPrototypeOf(Preview)).call.apply(_ref, [this].concat(args))), _this), _this.state = {
|
3953 | preview: null
|
3954 | }, _this.onDelete = function () {
|
3955 | _this.props.onDelete(_this.props.file);
|
3956 | }, _temp), possibleConstructorReturn(_this, _ret);
|
3957 | }
|
3958 | |
3959 |
|
3960 |
|
3961 |
|
3962 |
|
3963 |
|
3964 |
|
3965 | |
3966 |
|
3967 |
|
3968 |
|
3969 |
|
3970 |
|
3971 |
|
3972 | createClass(Preview, [{
|
3973 | key: 'componentDidMount',
|
3974 |
|
3975 |
|
3976 | |
3977 |
|
3978 |
|
3979 |
|
3980 |
|
3981 | value: function componentDidMount() {
|
3982 | this.readFile(this.props.file);
|
3983 | }
|
3984 |
|
3985 | |
3986 |
|
3987 |
|
3988 |
|
3989 |
|
3990 |
|
3991 | }, {
|
3992 | key: 'readFile',
|
3993 |
|
3994 |
|
3995 | |
3996 |
|
3997 |
|
3998 |
|
3999 |
|
4000 |
|
4001 | value: function readFile(file) {
|
4002 | var _this2 = this;
|
4003 |
|
4004 | if (file.preview) {
|
4005 | return this.setState({ preview: file.preview });
|
4006 | }
|
4007 |
|
4008 |
|
4009 | var reader = new FileReader();
|
4010 |
|
4011 | reader.onload = function (e) {
|
4012 | _this2.setState({ preview: e.target.result });
|
4013 | };
|
4014 |
|
4015 | return reader.readAsDataURL(file);
|
4016 | }
|
4017 |
|
4018 | |
4019 |
|
4020 |
|
4021 |
|
4022 |
|
4023 |
|
4024 | }, {
|
4025 | key: 'renderContent',
|
4026 | value: function renderContent() {
|
4027 | var mimeType = this.props.file.type;
|
4028 |
|
4029 | if (mimeType.startsWith('image/')) {
|
4030 | return React__default.createElement('img', { src: this.state.preview });
|
4031 | }
|
4032 |
|
4033 | if (mimeType.startsWith('video/')) {
|
4034 | return React__default.createElement(
|
4035 | 'video',
|
4036 | { controls: true },
|
4037 | React__default.createElement('source', { src: this.state.preview, type: mimeType })
|
4038 | );
|
4039 | }
|
4040 |
|
4041 | return 'File';
|
4042 | }
|
4043 |
|
4044 | |
4045 |
|
4046 |
|
4047 |
|
4048 |
|
4049 |
|
4050 | }, {
|
4051 | key: 'render',
|
4052 | value: function render() {
|
4053 | var onDelete = this.props.onDelete;
|
4054 |
|
4055 |
|
4056 | return React__default.createElement(
|
4057 | Container$3,
|
4058 | null,
|
4059 | onDelete && React__default.createElement(Close$$1, { onDelete: this.onDelete }),
|
4060 | this.state.preview ? this.renderContent() : React__default.createElement(Spinner, null)
|
4061 | );
|
4062 | }
|
4063 | }]);
|
4064 | return Preview;
|
4065 | }(React.Component);
|
4066 |
|
4067 | Preview.propTypes = {
|
4068 | onDelete: PropTypes.func,
|
4069 | file: PropTypes.shape().isRequired
|
4070 | };
|
4071 |
|
4072 | var Container$4 = styled__default.div.withConfig({
|
4073 | displayName: 'dropdown__Container',
|
4074 | componentId: 's157sr34-0'
|
4075 | })([['{position:relative;font-family:', function (props) {
|
4076 | return props.theme.font.base;
|
4077 | }, ';border-radius:3px;background:', function (props) {
|
4078 | return props.theme.color.white;
|
4079 | }, ';color:', function (props) {
|
4080 | return props.theme.color.black;
|
4081 | }, ';box-shadow:0 2px 0 0 rgba(189,189,189,0.5);}'], [' select::-ms-expand{display:none;}']]);
|
4082 |
|
4083 | var Select = styled__default.select.withConfig({
|
4084 | displayName: 'dropdown__Select',
|
4085 | componentId: 's157sr34-1'
|
4086 | })([['{', 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) {
|
4087 | return props.theme.color.grey.dim;
|
4088 | }, ';box-shadow:0px 2px 0px 0px rgba(0,0,0,0.16);}'], [' option{color:', function (props) {
|
4089 | return props.theme.color.black;
|
4090 | }, ';background:', function (props) {
|
4091 | return props.theme.color.blank;
|
4092 | }, ';}']]);
|
4093 |
|
4094 | var Icon$1 = styled__default.div.withConfig({
|
4095 | displayName: 'dropdown__Icon',
|
4096 | componentId: 's157sr34-2'
|
4097 | })([['{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) {
|
4098 | return props.theme.color.black;
|
4099 | }, ';}']]);
|
4100 |
|
4101 | var Dropdown = function Dropdown(_ref) {
|
4102 | var children = _ref.children,
|
4103 | className = _ref.className,
|
4104 | other = objectWithoutProperties(_ref, ['children', 'className']);
|
4105 | return React__default.createElement(
|
4106 | Container$4,
|
4107 | { className: className },
|
4108 | React__default.createElement(
|
4109 | Select,
|
4110 | other,
|
4111 | children
|
4112 | ),
|
4113 | React__default.createElement(
|
4114 | Icon$1,
|
4115 | null,
|
4116 | React__default.createElement(ChevronDown, { height: 8 })
|
4117 | )
|
4118 | );
|
4119 | };
|
4120 |
|
4121 | Dropdown.propTypes = {
|
4122 | className: PropTypes.string,
|
4123 | children: PropTypes.node.isRequired
|
4124 | };
|
4125 |
|
4126 | var dist = createCommonjsModule(function (module, exports) {
|
4127 | (function webpackUniversalModuleDefinition(root, factory) {
|
4128 | module.exports = factory(React__default, PropTypes);
|
4129 | })(commonjsGlobal, function(__WEBPACK_EXTERNAL_MODULE_2__, __WEBPACK_EXTERNAL_MODULE_3__) {
|
4130 | return (function(modules) {
|
4131 |
|
4132 | var installedModules = {};
|
4133 |
|
4134 |
|
4135 | function __webpack_require__(moduleId) {
|
4136 |
|
4137 |
|
4138 | if(installedModules[moduleId]) {
|
4139 | return installedModules[moduleId].exports;
|
4140 | }
|
4141 |
|
4142 | var module = installedModules[moduleId] = {
|
4143 | i: moduleId,
|
4144 | l: false,
|
4145 | exports: {}
|
4146 | };
|
4147 |
|
4148 |
|
4149 | modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
4150 |
|
4151 |
|
4152 | module.l = true;
|
4153 |
|
4154 |
|
4155 | return module.exports;
|
4156 | }
|
4157 |
|
4158 |
|
4159 |
|
4160 | __webpack_require__.m = modules;
|
4161 |
|
4162 |
|
4163 | __webpack_require__.c = installedModules;
|
4164 |
|
4165 |
|
4166 | __webpack_require__.d = function(exports, name, getter) {
|
4167 | if(!__webpack_require__.o(exports, name)) {
|
4168 | Object.defineProperty(exports, name, {
|
4169 | configurable: false,
|
4170 | enumerable: true,
|
4171 | get: getter
|
4172 | /******/ });
|
4173 | /******/ }
|
4174 | /******/ };
|
4175 | /******/
|
4176 | /******/ // getDefaultExport function for compatibility with non-harmony modules
|
4177 | /******/ __webpack_require__.n = function(module) {
|
4178 | var getter = module && module.__esModule ?
|
4179 | function getDefault() { return module['default']; } :
|
4180 | function getModuleExports() { return module; };
|
4181 | __webpack_require__.d(getter, 'a', getter);
|
4182 | return getter;
|
4183 | };
|
4184 |
|
4185 |
|
4186 | __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
4187 |
|
4188 |
|
4189 | __webpack_require__.p = "";
|
4190 |
|
4191 |
|
4192 | return __webpack_require__(__webpack_require__.s = 0);
|
4193 | })
|
4194 |
|
4195 | ([
|
4196 |
|
4197 | (function(module, exports, __webpack_require__) {
|
4198 |
|
4199 | "use strict";
|
4200 | (function(process) {
|
4201 |
|
4202 | Object.defineProperty(exports, "__esModule", {
|
4203 | value: true
|
4204 | });
|
4205 |
|
4206 | var _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; };
|
4207 |
|
4208 | var _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; }; }();
|
4209 |
|
4210 | var _react$$1 = __webpack_require__(2);
|
4211 |
|
4212 | var _react2 = _interopRequireDefault(_react$$1);
|
4213 |
|
4214 | var _propTypes$$1 = __webpack_require__(3);
|
4215 |
|
4216 | var _propTypes2 = _interopRequireDefault(_propTypes$$1);
|
4217 |
|
4218 | var _utils = __webpack_require__(4);
|
4219 |
|
4220 | var _styles = __webpack_require__(6);
|
4221 |
|
4222 | var _styles2 = _interopRequireDefault(_styles);
|
4223 |
|
4224 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
4225 |
|
4226 | function _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; }
|
4227 |
|
4228 | function _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); } }
|
4229 |
|
4230 | function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
4231 |
|
4232 | function _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; }
|
4233 |
|
4234 | function _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; }
|
4235 |
|
4236 | var Dropzone = function (_React$Component) {
|
4237 | _inherits(Dropzone, _React$Component);
|
4238 |
|
4239 | function Dropzone(props, context) {
|
4240 | _classCallCheck(this, Dropzone);
|
4241 |
|
4242 | var _this = _possibleConstructorReturn(this, (Dropzone.__proto__ || Object.getPrototypeOf(Dropzone)).call(this, props, context));
|
4243 |
|
4244 | _this.renderChildren = function (children, isDragActive, isDragAccept, isDragReject) {
|
4245 | if (typeof children === 'function') {
|
4246 | return children(_extends({}, _this.state, {
|
4247 | isDragActive: isDragActive,
|
4248 | isDragAccept: isDragAccept,
|
4249 | isDragReject: isDragReject
|
4250 | }));
|
4251 | }
|
4252 | return children;
|
4253 | };
|
4254 |
|
4255 | _this.composeHandlers = _this.composeHandlers.bind(_this);
|
4256 | _this.onClick = _this.onClick.bind(_this);
|
4257 | _this.onDocumentDrop = _this.onDocumentDrop.bind(_this);
|
4258 | _this.onDragEnter = _this.onDragEnter.bind(_this);
|
4259 | _this.onDragLeave = _this.onDragLeave.bind(_this);
|
4260 | _this.onDragOver = _this.onDragOver.bind(_this);
|
4261 | _this.onDragStart = _this.onDragStart.bind(_this);
|
4262 | _this.onDrop = _this.onDrop.bind(_this);
|
4263 | _this.onFileDialogCancel = _this.onFileDialogCancel.bind(_this);
|
4264 | _this.onInputElementClick = _this.onInputElementClick.bind(_this);
|
4265 |
|
4266 | _this.setRef = _this.setRef.bind(_this);
|
4267 | _this.setRefs = _this.setRefs.bind(_this);
|
4268 |
|
4269 | _this.isFileDialogActive = false;
|
4270 |
|
4271 | _this.state = {
|
4272 | draggedFiles: [],
|
4273 | acceptedFiles: [],
|
4274 | rejectedFiles: []
|
4275 | };
|
4276 | return _this;
|
4277 | }
|
4278 |
|
4279 | _createClass(Dropzone, [{
|
4280 | key: 'componentDidMount',
|
4281 | value: function componentDidMount() {
|
4282 | var preventDropOnDocument = this.props.preventDropOnDocument;
|
4283 |
|
4284 | this.dragTargets = [];
|
4285 |
|
4286 | if (preventDropOnDocument) {
|
4287 | document.addEventListener('dragover', _utils.onDocumentDragOver, false);
|
4288 | document.addEventListener('drop', this.onDocumentDrop, false);
|
4289 | }
|
4290 | this.fileInputEl.addEventListener('click', this.onInputElementClick, false);
|
4291 |
|
4292 | document.body.onfocus = this.onFileDialogCancel;
|
4293 | }
|
4294 | }, {
|
4295 | key: 'componentWillUnmount',
|
4296 | value: function componentWillUnmount() {
|
4297 | var preventDropOnDocument = this.props.preventDropOnDocument;
|
4298 |
|
4299 | if (preventDropOnDocument) {
|
4300 | document.removeEventListener('dragover', _utils.onDocumentDragOver);
|
4301 | document.removeEventListener('drop', this.onDocumentDrop);
|
4302 | }
|
4303 | this.fileInputEl.removeEventListener('click', this.onInputElementClick, false);
|
4304 |
|
4305 | document.body.onfocus = null;
|
4306 | }
|
4307 | }, {
|
4308 | key: 'composeHandlers',
|
4309 | value: function composeHandlers(handler) {
|
4310 | if (this.props.disabled) {
|
4311 | return null;
|
4312 | }
|
4313 |
|
4314 | return handler;
|
4315 | }
|
4316 | }, {
|
4317 | key: 'onDocumentDrop',
|
4318 | value: function onDocumentDrop(evt) {
|
4319 | if (this.node.contains(evt.target)) {
|
4320 |
|
4321 | return;
|
4322 | }
|
4323 | evt.preventDefault();
|
4324 | this.dragTargets = [];
|
4325 | }
|
4326 | }, {
|
4327 | key: 'onDragStart',
|
4328 | value: function onDragStart(evt) {
|
4329 | if (this.props.onDragStart) {
|
4330 | this.props.onDragStart.call(this, evt);
|
4331 | }
|
4332 | }
|
4333 | }, {
|
4334 | key: 'onDragEnter',
|
4335 | value: function onDragEnter(evt) {
|
4336 | evt.preventDefault();
|
4337 |
|
4338 |
|
4339 | if (this.dragTargets.indexOf(evt.target) === -1) {
|
4340 | this.dragTargets.push(evt.target);
|
4341 | }
|
4342 |
|
4343 | this.setState({
|
4344 | isDragActive: true,
|
4345 | draggedFiles: (0, _utils.getDataTransferItems)(evt)
|
4346 | });
|
4347 |
|
4348 | if (this.props.onDragEnter) {
|
4349 | this.props.onDragEnter.call(this, evt);
|
4350 | }
|
4351 | }
|
4352 | }, {
|
4353 | key: 'onDragOver',
|
4354 | value: function onDragOver(evt) {
|
4355 |
|
4356 | evt.preventDefault();
|
4357 | evt.stopPropagation();
|
4358 | try {
|
4359 | evt.dataTransfer.dropEffect = 'copy';
|
4360 | } catch (err) {
|
4361 |
|
4362 | }
|
4363 |
|
4364 | if (this.props.onDragOver) {
|
4365 | this.props.onDragOver.call(this, evt);
|
4366 | }
|
4367 | return false;
|
4368 | }
|
4369 | }, {
|
4370 | key: 'onDragLeave',
|
4371 | value: function onDragLeave(evt) {
|
4372 | var _this2 = this;
|
4373 |
|
4374 | evt.preventDefault();
|
4375 |
|
4376 |
|
4377 | this.dragTargets = this.dragTargets.filter(function (el) {
|
4378 | return el !== evt.target && _this2.node.contains(el);
|
4379 | });
|
4380 | if (this.dragTargets.length > 0) {
|
4381 | return;
|
4382 | }
|
4383 |
|
4384 |
|
4385 | this.setState({
|
4386 | isDragActive: false,
|
4387 | draggedFiles: []
|
4388 | });
|
4389 |
|
4390 | if (this.props.onDragLeave) {
|
4391 | this.props.onDragLeave.call(this, evt);
|
4392 | }
|
4393 | }
|
4394 | }, {
|
4395 | key: 'onDrop',
|
4396 | value: function onDrop(evt) {
|
4397 | var _this3 = this;
|
4398 |
|
4399 | var _props = this.props,
|
4400 | onDrop = _props.onDrop,
|
4401 | onDropAccepted = _props.onDropAccepted,
|
4402 | onDropRejected = _props.onDropRejected,
|
4403 | multiple = _props.multiple,
|
4404 | disablePreview = _props.disablePreview,
|
4405 | accept = _props.accept;
|
4406 |
|
4407 | var fileList = (0, _utils.getDataTransferItems)(evt);
|
4408 | var acceptedFiles = [];
|
4409 | var rejectedFiles = [];
|
4410 |
|
4411 |
|
4412 | evt.preventDefault();
|
4413 |
|
4414 |
|
4415 | this.dragTargets = [];
|
4416 | this.isFileDialogActive = false;
|
4417 |
|
4418 | fileList.forEach(function (file) {
|
4419 | if (!disablePreview) {
|
4420 | try {
|
4421 | file.preview = window.URL.createObjectURL(file);
|
4422 | } catch (err) {
|
4423 | if (process.env.NODE_ENV !== 'production') {
|
4424 | console.error('Failed to generate preview for file', file, err);
|
4425 | }
|
4426 | }
|
4427 | }
|
4428 |
|
4429 | if ((0, _utils.fileAccepted)(file, accept) && (0, _utils.fileMatchSize)(file, _this3.props.maxSize, _this3.props.minSize)) {
|
4430 | acceptedFiles.push(file);
|
4431 | } else {
|
4432 | rejectedFiles.push(file);
|
4433 | }
|
4434 | });
|
4435 |
|
4436 | if (!multiple) {
|
4437 |
|
4438 |
|
4439 | rejectedFiles.push.apply(rejectedFiles, _toConsumableArray(acceptedFiles.splice(1)));
|
4440 | }
|
4441 |
|
4442 | if (onDrop) {
|
4443 | onDrop.call(this, acceptedFiles, rejectedFiles, evt);
|
4444 | }
|
4445 |
|
4446 | if (rejectedFiles.length > 0 && onDropRejected) {
|
4447 | onDropRejected.call(this, rejectedFiles, evt);
|
4448 | }
|
4449 |
|
4450 | if (acceptedFiles.length > 0 && onDropAccepted) {
|
4451 | onDropAccepted.call(this, acceptedFiles, evt);
|
4452 | }
|
4453 |
|
4454 |
|
4455 | this.draggedFiles = null;
|
4456 |
|
4457 |
|
4458 | this.setState({
|
4459 | isDragActive: false,
|
4460 | draggedFiles: [],
|
4461 | acceptedFiles: acceptedFiles,
|
4462 | rejectedFiles: rejectedFiles
|
4463 | });
|
4464 | }
|
4465 | }, {
|
4466 | key: 'onClick',
|
4467 | value: function onClick(evt) {
|
4468 | var _props2 = this.props,
|
4469 | onClick = _props2.onClick,
|
4470 | disableClick = _props2.disableClick;
|
4471 |
|
4472 | if (!disableClick) {
|
4473 | evt.stopPropagation();
|
4474 |
|
4475 | if (onClick) {
|
4476 | onClick.call(this, evt);
|
4477 | }
|
4478 |
|
4479 |
|
4480 |
|
4481 |
|
4482 | setTimeout(this.open.bind(this), 0);
|
4483 | }
|
4484 | }
|
4485 | }, {
|
4486 | key: 'onInputElementClick',
|
4487 | value: function onInputElementClick(evt) {
|
4488 | evt.stopPropagation();
|
4489 | if (this.props.inputProps && this.props.inputProps.onClick) {
|
4490 | this.props.inputProps.onClick();
|
4491 | }
|
4492 | }
|
4493 | }, {
|
4494 | key: 'onFileDialogCancel',
|
4495 | value: function onFileDialogCancel() {
|
4496 |
|
4497 | var onFileDialogCancel = this.props.onFileDialogCancel;
|
4498 | var fileInputEl = this.fileInputEl;
|
4499 | var isFileDialogActive = this.isFileDialogActive;
|
4500 |
|
4501 |
|
4502 |
|
4503 | if (onFileDialogCancel && isFileDialogActive) {
|
4504 | setTimeout(function () {
|
4505 |
|
4506 | var FileList = fileInputEl.files;
|
4507 | if (!FileList.length) {
|
4508 | isFileDialogActive = false;
|
4509 | onFileDialogCancel();
|
4510 | }
|
4511 | }, 300);
|
4512 | }
|
4513 | }
|
4514 | }, {
|
4515 | key: 'setRef',
|
4516 | value: function setRef(ref) {
|
4517 | this.node = ref;
|
4518 | }
|
4519 | }, {
|
4520 | key: 'setRefs',
|
4521 | value: function setRefs(ref) {
|
4522 | this.fileInputEl = ref;
|
4523 | }
|
4524 | |
4525 |
|
4526 |
|
4527 |
|
4528 |
|
4529 |
|
4530 | }, {
|
4531 | key: 'open',
|
4532 | value: function open() {
|
4533 | this.isFileDialogActive = true;
|
4534 | this.fileInputEl.value = null;
|
4535 | this.fileInputEl.click();
|
4536 | }
|
4537 | }, {
|
4538 | key: 'render',
|
4539 | value: function render() {
|
4540 | var _props3 = this.props,
|
4541 | accept = _props3.accept,
|
4542 | acceptClassName = _props3.acceptClassName,
|
4543 | activeClassName = _props3.activeClassName,
|
4544 | children = _props3.children,
|
4545 | disabled = _props3.disabled,
|
4546 | disabledClassName = _props3.disabledClassName,
|
4547 | inputProps = _props3.inputProps,
|
4548 | multiple = _props3.multiple,
|
4549 | name = _props3.name,
|
4550 | rejectClassName = _props3.rejectClassName,
|
4551 | rest = _objectWithoutProperties(_props3, ['accept', 'acceptClassName', 'activeClassName', 'children', 'disabled', 'disabledClassName', 'inputProps', 'multiple', 'name', 'rejectClassName']);
|
4552 |
|
4553 | var acceptStyle = rest.acceptStyle,
|
4554 | activeStyle = rest.activeStyle,
|
4555 | className = rest.className,
|
4556 | disabledStyle = rest.disabledStyle,
|
4557 | rejectStyle = rest.rejectStyle,
|
4558 | style = rest.style,
|
4559 | props = _objectWithoutProperties(rest, ['acceptStyle', 'activeStyle', 'className', 'disabledStyle', 'rejectStyle', 'style']);
|
4560 |
|
4561 | var _state = this.state,
|
4562 | isDragActive = _state.isDragActive,
|
4563 | draggedFiles = _state.draggedFiles;
|
4564 |
|
4565 | var filesCount = draggedFiles.length;
|
4566 | var isMultipleAllowed = multiple || filesCount <= 1;
|
4567 | var isDragAccept = filesCount > 0 && (0, _utils.allFilesAccepted)(draggedFiles, this.props.accept);
|
4568 | var isDragReject = filesCount > 0 && (!isDragAccept || !isMultipleAllowed);
|
4569 | className = className || '';
|
4570 | var noStyles = !className && !style && !activeStyle && !acceptStyle && !rejectStyle && !disabledStyle;
|
4571 |
|
4572 | if (isDragActive && activeClassName) {
|
4573 | className += ' ' + activeClassName;
|
4574 | }
|
4575 | if (isDragAccept && acceptClassName) {
|
4576 | className += ' ' + acceptClassName;
|
4577 | }
|
4578 | if (isDragReject && rejectClassName) {
|
4579 | className += ' ' + rejectClassName;
|
4580 | }
|
4581 | if (disabled && disabledClassName) {
|
4582 | className += ' ' + disabledClassName;
|
4583 | }
|
4584 |
|
4585 | if (noStyles) {
|
4586 | style = _styles2.default.default;
|
4587 | activeStyle = _styles2.default.active;
|
4588 | acceptStyle = style.active;
|
4589 | rejectStyle = _styles2.default.rejected;
|
4590 | disabledStyle = _styles2.default.disabled;
|
4591 | }
|
4592 |
|
4593 | var appliedStyle = _extends({}, style);
|
4594 | if (activeStyle && isDragActive) {
|
4595 | appliedStyle = _extends({}, style, activeStyle);
|
4596 | }
|
4597 | if (acceptStyle && isDragAccept) {
|
4598 | appliedStyle = _extends({}, appliedStyle, acceptStyle);
|
4599 | }
|
4600 | if (rejectStyle && isDragReject) {
|
4601 | appliedStyle = _extends({}, appliedStyle, rejectStyle);
|
4602 | }
|
4603 | if (disabledStyle && disabled) {
|
4604 | appliedStyle = _extends({}, style, disabledStyle);
|
4605 | }
|
4606 |
|
4607 | var inputAttributes = {
|
4608 | accept: accept,
|
4609 | disabled: disabled,
|
4610 | type: 'file',
|
4611 | style: { display: 'none' },
|
4612 | multiple: _utils.supportMultiple && multiple,
|
4613 | ref: this.setRefs,
|
4614 | onChange: this.onDrop,
|
4615 | autoComplete: 'off'
|
4616 | };
|
4617 |
|
4618 | if (name && name.length) {
|
4619 | inputAttributes.name = name;
|
4620 | }
|
4621 |
|
4622 |
|
4623 | var customProps = ['acceptedFiles', 'preventDropOnDocument', 'disablePreview', 'disableClick', 'activeClassName', 'acceptClassName', 'rejectClassName', 'disabledClassName', 'onDropAccepted', 'onDropRejected', 'onFileDialogCancel', 'maxSize', 'minSize'];
|
4624 | var divProps = _extends({}, props);
|
4625 | customProps.forEach(function (prop) {
|
4626 | return delete divProps[prop];
|
4627 | });
|
4628 |
|
4629 | return _react2.default.createElement(
|
4630 | 'div',
|
4631 | _extends({
|
4632 | className: className,
|
4633 | style: appliedStyle
|
4634 | }, divProps , {
|
4635 | onClick: this.composeHandlers(this.onClick),
|
4636 | onDragStart: this.composeHandlers(this.onDragStart),
|
4637 | onDragEnter: this.composeHandlers(this.onDragEnter),
|
4638 | onDragOver: this.composeHandlers(this.onDragOver),
|
4639 | onDragLeave: this.composeHandlers(this.onDragLeave),
|
4640 | onDrop: this.composeHandlers(this.onDrop),
|
4641 | ref: this.setRef,
|
4642 | 'aria-disabled': disabled
|
4643 | }),
|
4644 | this.renderChildren(children, isDragActive, isDragAccept, isDragReject),
|
4645 | _react2.default.createElement('input', _extends({}, inputProps , inputAttributes))
|
4646 | );
|
4647 | }
|
4648 | }]);
|
4649 |
|
4650 | return Dropzone;
|
4651 | }(_react2.default.Component);
|
4652 |
|
4653 | exports.default = Dropzone;
|
4654 |
|
4655 |
|
4656 | Dropzone.propTypes = {
|
4657 | |
4658 |
|
4659 |
|
4660 |
|
4661 |
|
4662 |
|
4663 |
|
4664 | accept: _propTypes2.default.string,
|
4665 |
|
4666 | |
4667 |
|
4668 |
|
4669 | children: _propTypes2.default.oneOfType([_propTypes2.default.node, _propTypes2.default.func]),
|
4670 |
|
4671 | |
4672 |
|
4673 |
|
4674 | disableClick: _propTypes2.default.bool,
|
4675 |
|
4676 | |
4677 |
|
4678 |
|
4679 | disabled: _propTypes2.default.bool,
|
4680 |
|
4681 | |
4682 |
|
4683 |
|
4684 | disablePreview: _propTypes2.default.bool,
|
4685 |
|
4686 | |
4687 |
|
4688 |
|
4689 | preventDropOnDocument: _propTypes2.default.bool,
|
4690 |
|
4691 | |
4692 |
|
4693 |
|
4694 | inputProps: _propTypes2.default.object,
|
4695 |
|
4696 | |
4697 |
|
4698 |
|
4699 | multiple: _propTypes2.default.bool,
|
4700 |
|
4701 | |
4702 |
|
4703 |
|
4704 | name: _propTypes2.default.string,
|
4705 |
|
4706 | |
4707 |
|
4708 |
|
4709 | maxSize: _propTypes2.default.number,
|
4710 |
|
4711 | |
4712 |
|
4713 |
|
4714 | minSize: _propTypes2.default.number,
|
4715 |
|
4716 | |
4717 |
|
4718 |
|
4719 | className: _propTypes2.default.string,
|
4720 |
|
4721 | |
4722 |
|
4723 |
|
4724 | activeClassName: _propTypes2.default.string,
|
4725 |
|
4726 | |
4727 |
|
4728 |
|
4729 | acceptClassName: _propTypes2.default.string,
|
4730 |
|
4731 | |
4732 |
|
4733 |
|
4734 | rejectClassName: _propTypes2.default.string,
|
4735 |
|
4736 | |
4737 |
|
4738 |
|
4739 | disabledClassName: _propTypes2.default.string,
|
4740 |
|
4741 | |
4742 |
|
4743 |
|
4744 | style: _propTypes2.default.object,
|
4745 |
|
4746 | |
4747 |
|
4748 |
|
4749 | activeStyle: _propTypes2.default.object,
|
4750 |
|
4751 | |
4752 |
|
4753 |
|
4754 | acceptStyle: _propTypes2.default.object,
|
4755 |
|
4756 | |
4757 |
|
4758 |
|
4759 | rejectStyle: _propTypes2.default.object,
|
4760 |
|
4761 | |
4762 |
|
4763 |
|
4764 | disabledStyle: _propTypes2.default.object,
|
4765 |
|
4766 | |
4767 |
|
4768 |
|
4769 |
|
4770 | onClick: _propTypes2.default.func,
|
4771 |
|
4772 | |
4773 |
|
4774 |
|
4775 | onDrop: _propTypes2.default.func,
|
4776 |
|
4777 | |
4778 |
|
4779 |
|
4780 | onDropAccepted: _propTypes2.default.func,
|
4781 |
|
4782 | |
4783 |
|
4784 |
|
4785 | onDropRejected: _propTypes2.default.func,
|
4786 |
|
4787 | |
4788 |
|
4789 |
|
4790 | onDragStart: _propTypes2.default.func,
|
4791 |
|
4792 | |
4793 |
|
4794 |
|
4795 | onDragEnter: _propTypes2.default.func,
|
4796 |
|
4797 | |
4798 |
|
4799 |
|
4800 | onDragOver: _propTypes2.default.func,
|
4801 |
|
4802 | |
4803 |
|
4804 |
|
4805 | onDragLeave: _propTypes2.default.func,
|
4806 |
|
4807 | |
4808 |
|
4809 |
|
4810 | onFileDialogCancel: _propTypes2.default.func
|
4811 | };
|
4812 |
|
4813 | Dropzone.defaultProps = {
|
4814 | preventDropOnDocument: true,
|
4815 | disabled: false,
|
4816 | disablePreview: false,
|
4817 | disableClick: false,
|
4818 | multiple: true,
|
4819 | maxSize: Infinity,
|
4820 | minSize: 0
|
4821 | };
|
4822 | module.exports = exports['default'];
|
4823 | }.call(exports, __webpack_require__(1)));
|
4824 |
|
4825 | }),
|
4826 |
|
4827 | (function(module, exports) {
|
4828 |
|
4829 |
|
4830 | var process = module.exports = {};
|
4831 |
|
4832 |
|
4833 |
|
4834 |
|
4835 |
|
4836 |
|
4837 | var cachedSetTimeout;
|
4838 | var cachedClearTimeout;
|
4839 |
|
4840 | function defaultSetTimout() {
|
4841 | throw new Error('setTimeout has not been defined');
|
4842 | }
|
4843 | function defaultClearTimeout () {
|
4844 | throw new Error('clearTimeout has not been defined');
|
4845 | }
|
4846 | (function () {
|
4847 | try {
|
4848 | if (typeof setTimeout === 'function') {
|
4849 | cachedSetTimeout = setTimeout;
|
4850 | } else {
|
4851 | cachedSetTimeout = defaultSetTimout;
|
4852 | }
|
4853 | } catch (e) {
|
4854 | cachedSetTimeout = defaultSetTimout;
|
4855 | }
|
4856 | try {
|
4857 | if (typeof clearTimeout === 'function') {
|
4858 | cachedClearTimeout = clearTimeout;
|
4859 | } else {
|
4860 | cachedClearTimeout = defaultClearTimeout;
|
4861 | }
|
4862 | } catch (e) {
|
4863 | cachedClearTimeout = defaultClearTimeout;
|
4864 | }
|
4865 | } ());
|
4866 | function runTimeout(fun) {
|
4867 | if (cachedSetTimeout === setTimeout) {
|
4868 |
|
4869 | return setTimeout(fun, 0);
|
4870 | }
|
4871 |
|
4872 | if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
|
4873 | cachedSetTimeout = setTimeout;
|
4874 | return setTimeout(fun, 0);
|
4875 | }
|
4876 | try {
|
4877 |
|
4878 | return cachedSetTimeout(fun, 0);
|
4879 | } catch(e){
|
4880 | try {
|
4881 |
|
4882 | return cachedSetTimeout.call(null, fun, 0);
|
4883 | } catch(e){
|
4884 |
|
4885 | return cachedSetTimeout.call(this, fun, 0);
|
4886 | }
|
4887 | }
|
4888 |
|
4889 |
|
4890 | }
|
4891 | function runClearTimeout(marker) {
|
4892 | if (cachedClearTimeout === clearTimeout) {
|
4893 |
|
4894 | return clearTimeout(marker);
|
4895 | }
|
4896 |
|
4897 | if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
|
4898 | cachedClearTimeout = clearTimeout;
|
4899 | return clearTimeout(marker);
|
4900 | }
|
4901 | try {
|
4902 |
|
4903 | return cachedClearTimeout(marker);
|
4904 | } catch (e){
|
4905 | try {
|
4906 |
|
4907 | return cachedClearTimeout.call(null, marker);
|
4908 | } catch (e){
|
4909 |
|
4910 |
|
4911 | return cachedClearTimeout.call(this, marker);
|
4912 | }
|
4913 | }
|
4914 |
|
4915 |
|
4916 |
|
4917 | }
|
4918 | var queue = [];
|
4919 | var draining = false;
|
4920 | var currentQueue;
|
4921 | var queueIndex = -1;
|
4922 |
|
4923 | function cleanUpNextTick() {
|
4924 | if (!draining || !currentQueue) {
|
4925 | return;
|
4926 | }
|
4927 | draining = false;
|
4928 | if (currentQueue.length) {
|
4929 | queue = currentQueue.concat(queue);
|
4930 | } else {
|
4931 | queueIndex = -1;
|
4932 | }
|
4933 | if (queue.length) {
|
4934 | drainQueue();
|
4935 | }
|
4936 | }
|
4937 |
|
4938 | function drainQueue() {
|
4939 | if (draining) {
|
4940 | return;
|
4941 | }
|
4942 | var timeout = runTimeout(cleanUpNextTick);
|
4943 | draining = true;
|
4944 |
|
4945 | var len = queue.length;
|
4946 | while(len) {
|
4947 | currentQueue = queue;
|
4948 | queue = [];
|
4949 | while (++queueIndex < len) {
|
4950 | if (currentQueue) {
|
4951 | currentQueue[queueIndex].run();
|
4952 | }
|
4953 | }
|
4954 | queueIndex = -1;
|
4955 | len = queue.length;
|
4956 | }
|
4957 | currentQueue = null;
|
4958 | draining = false;
|
4959 | runClearTimeout(timeout);
|
4960 | }
|
4961 |
|
4962 | process.nextTick = function (fun) {
|
4963 | var args = new Array(arguments.length - 1);
|
4964 | if (arguments.length > 1) {
|
4965 | for (var i = 1; i < arguments.length; i++) {
|
4966 | args[i - 1] = arguments[i];
|
4967 | }
|
4968 | }
|
4969 | queue.push(new Item(fun, args));
|
4970 | if (queue.length === 1 && !draining) {
|
4971 | runTimeout(drainQueue);
|
4972 | }
|
4973 | };
|
4974 |
|
4975 |
|
4976 | function Item(fun, array) {
|
4977 | this.fun = fun;
|
4978 | this.array = array;
|
4979 | }
|
4980 | Item.prototype.run = function () {
|
4981 | this.fun.apply(null, this.array);
|
4982 | };
|
4983 | process.title = 'browser';
|
4984 | process.browser = true;
|
4985 | process.env = {};
|
4986 | process.argv = [];
|
4987 | process.version = '';
|
4988 | process.versions = {};
|
4989 |
|
4990 | function noop() {}
|
4991 |
|
4992 | process.on = noop;
|
4993 | process.addListener = noop;
|
4994 | process.once = noop;
|
4995 | process.off = noop;
|
4996 | process.removeListener = noop;
|
4997 | process.removeAllListeners = noop;
|
4998 | process.emit = noop;
|
4999 | process.prependListener = noop;
|
5000 | process.prependOnceListener = noop;
|
5001 |
|
5002 | process.listeners = function (name) { return [] };
|
5003 |
|
5004 | process.binding = function (name) {
|
5005 | throw new Error('process.binding is not supported');
|
5006 | };
|
5007 |
|
5008 | process.cwd = function () { return '/' };
|
5009 | process.chdir = function (dir) {
|
5010 | throw new Error('process.chdir is not supported');
|
5011 | };
|
5012 | process.umask = function() { return 0; };
|
5013 |
|
5014 |
|
5015 | }),
|
5016 |
|
5017 | (function(module, exports) {
|
5018 |
|
5019 | module.exports = __WEBPACK_EXTERNAL_MODULE_2__;
|
5020 |
|
5021 | }),
|
5022 |
|
5023 | (function(module, exports) {
|
5024 |
|
5025 | module.exports = __WEBPACK_EXTERNAL_MODULE_3__;
|
5026 |
|
5027 | }),
|
5028 |
|
5029 | (function(module, exports, __webpack_require__) {
|
5030 |
|
5031 | "use strict";
|
5032 |
|
5033 |
|
5034 | Object.defineProperty(exports, "__esModule", {
|
5035 | value: true
|
5036 | });
|
5037 | exports.supportMultiple = undefined;
|
5038 | exports.getDataTransferItems = getDataTransferItems;
|
5039 | exports.fileAccepted = fileAccepted;
|
5040 | exports.fileMatchSize = fileMatchSize;
|
5041 | exports.allFilesAccepted = allFilesAccepted;
|
5042 | exports.onDocumentDragOver = onDocumentDragOver;
|
5043 |
|
5044 | var _attrAccept = __webpack_require__(5);
|
5045 |
|
5046 | var _attrAccept2 = _interopRequireDefault(_attrAccept);
|
5047 |
|
5048 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
5049 |
|
5050 | var supportMultiple = exports.supportMultiple = typeof document !== 'undefined' && document && document.createElement ? 'multiple' in document.createElement('input') : true;
|
5051 |
|
5052 | function getDataTransferItems(event) {
|
5053 | var dataTransferItemsList = [];
|
5054 | if (event.dataTransfer) {
|
5055 | var dt = event.dataTransfer;
|
5056 | if (dt.files && dt.files.length) {
|
5057 | dataTransferItemsList = dt.files;
|
5058 | } else if (dt.items && dt.items.length) {
|
5059 |
|
5060 |
|
5061 | dataTransferItemsList = dt.items;
|
5062 | }
|
5063 | } else if (event.target && event.target.files) {
|
5064 | dataTransferItemsList = event.target.files;
|
5065 | }
|
5066 |
|
5067 | return Array.prototype.slice.call(dataTransferItemsList);
|
5068 | }
|
5069 |
|
5070 |
|
5071 |
|
5072 | function fileAccepted(file, accept) {
|
5073 | return file.type === 'application/x-moz-file' || (0, _attrAccept2.default)(file, accept);
|
5074 | }
|
5075 |
|
5076 | function fileMatchSize(file, maxSize, minSize) {
|
5077 | return file.size <= maxSize && file.size >= minSize;
|
5078 | }
|
5079 |
|
5080 | function allFilesAccepted(files, accept) {
|
5081 | return files.every(function (file) {
|
5082 | return fileAccepted(file, accept);
|
5083 | });
|
5084 | }
|
5085 |
|
5086 |
|
5087 | function onDocumentDragOver(evt) {
|
5088 | evt.preventDefault();
|
5089 | }
|
5090 |
|
5091 | }),
|
5092 |
|
5093 | (function(module, exports) {
|
5094 |
|
5095 | module.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);}]);
|
5096 |
|
5097 | }),
|
5098 |
|
5099 | (function(module, exports, __webpack_require__) {
|
5100 |
|
5101 | "use strict";
|
5102 |
|
5103 |
|
5104 | Object.defineProperty(exports, "__esModule", {
|
5105 | value: true
|
5106 | });
|
5107 | exports.default = {
|
5108 | rejected: {
|
5109 | borderStyle: 'solid',
|
5110 | borderColor: '#c66',
|
5111 | backgroundColor: '#eee'
|
5112 | },
|
5113 | disabled: {
|
5114 | opacity: 0.5
|
5115 | },
|
5116 | active: {
|
5117 | borderStyle: 'solid',
|
5118 | borderColor: '#6c6',
|
5119 | backgroundColor: '#eee'
|
5120 | },
|
5121 | default: {
|
5122 | width: 200,
|
5123 | height: 200,
|
5124 | borderWidth: 2,
|
5125 | borderColor: '#666',
|
5126 | borderStyle: 'dashed',
|
5127 | borderRadius: 5
|
5128 | }
|
5129 | };
|
5130 | module.exports = exports['default'];
|
5131 |
|
5132 | })
|
5133 | ]);
|
5134 | });
|
5135 |
|
5136 | });
|
5137 |
|
5138 | var Zone = unwrapExports(dist);
|
5139 |
|
5140 | var StyledZone = styled__default(Zone).withConfig({
|
5141 | displayName: 'dropzone__StyledZone',
|
5142 | componentId: 's7ees94-0'
|
5143 | })([['{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) {
|
5144 | return props.theme.grey;
|
5145 | }, ';border:1px dashed ', function (props) {
|
5146 | return props.theme.grey;
|
5147 | }, ';padding:1.25em;font-family:', function (props) {
|
5148 | return props.theme.font.base;
|
5149 | }, ';font-weight:300;}']]);
|
5150 |
|
5151 | var Dropzone = function Dropzone(_ref) {
|
5152 | var children = _ref.children,
|
5153 | other = objectWithoutProperties(_ref, ['children']);
|
5154 | return React__default.createElement(
|
5155 | StyledZone,
|
5156 | other,
|
5157 | children || React__default.createElement(
|
5158 | 'span',
|
5159 | null,
|
5160 | 'Click or drag to upload file'
|
5161 | )
|
5162 | );
|
5163 | };
|
5164 |
|
5165 | Dropzone.propTypes = {
|
5166 | children: PropTypes.node
|
5167 | };
|
5168 |
|
5169 | var autosize = createCommonjsModule(function (module, exports) {
|
5170 |
|
5171 |
|
5172 |
|
5173 |
|
5174 |
|
5175 | (function (global, factory) {
|
5176 | if (typeof undefined === 'function' && undefined.amd) {
|
5177 | undefined(['exports', 'module'], factory);
|
5178 | } else {
|
5179 | factory(exports, module);
|
5180 | }
|
5181 | })(commonjsGlobal, function (exports, module) {
|
5182 | 'use strict';
|
5183 |
|
5184 | var map = typeof Map === "function" ? new Map() : (function () {
|
5185 | var keys = [];
|
5186 | var values = [];
|
5187 |
|
5188 | return {
|
5189 | has: function has(key) {
|
5190 | return keys.indexOf(key) > -1;
|
5191 | },
|
5192 | get: function get(key) {
|
5193 | return values[keys.indexOf(key)];
|
5194 | },
|
5195 | set: function set(key, value) {
|
5196 | if (keys.indexOf(key) === -1) {
|
5197 | keys.push(key);
|
5198 | values.push(value);
|
5199 | }
|
5200 | },
|
5201 | 'delete': function _delete(key) {
|
5202 | var index = keys.indexOf(key);
|
5203 | if (index > -1) {
|
5204 | keys.splice(index, 1);
|
5205 | values.splice(index, 1);
|
5206 | }
|
5207 | }
|
5208 | };
|
5209 | })();
|
5210 |
|
5211 | var createEvent = function createEvent(name) {
|
5212 | return new Event(name, { bubbles: true });
|
5213 | };
|
5214 | try {
|
5215 | new Event('test');
|
5216 | } catch (e) {
|
5217 |
|
5218 | createEvent = function (name) {
|
5219 | var evt = document.createEvent('Event');
|
5220 | evt.initEvent(name, true, false);
|
5221 | return evt;
|
5222 | };
|
5223 | }
|
5224 |
|
5225 | function assign(ta) {
|
5226 | if (!ta || !ta.nodeName || ta.nodeName !== 'TEXTAREA' || map.has(ta)) return;
|
5227 |
|
5228 | var heightOffset = null;
|
5229 | var clientWidth = ta.clientWidth;
|
5230 | var cachedHeight = null;
|
5231 |
|
5232 | function init() {
|
5233 | var style = window.getComputedStyle(ta, null);
|
5234 |
|
5235 | if (style.resize === 'vertical') {
|
5236 | ta.style.resize = 'none';
|
5237 | } else if (style.resize === 'both') {
|
5238 | ta.style.resize = 'horizontal';
|
5239 | }
|
5240 |
|
5241 | if (style.boxSizing === 'content-box') {
|
5242 | heightOffset = -(parseFloat(style.paddingTop) + parseFloat(style.paddingBottom));
|
5243 | } else {
|
5244 | heightOffset = parseFloat(style.borderTopWidth) + parseFloat(style.borderBottomWidth);
|
5245 | }
|
5246 |
|
5247 | if (isNaN(heightOffset)) {
|
5248 | heightOffset = 0;
|
5249 | }
|
5250 |
|
5251 | update();
|
5252 | }
|
5253 |
|
5254 | function changeOverflow(value) {
|
5255 | {
|
5256 |
|
5257 |
|
5258 |
|
5259 | var width = ta.style.width;
|
5260 | ta.style.width = '0px';
|
5261 |
|
5262 |
|
5263 | ta.offsetWidth;
|
5264 |
|
5265 | ta.style.width = width;
|
5266 | }
|
5267 |
|
5268 | ta.style.overflowY = value;
|
5269 | }
|
5270 |
|
5271 | function getParentOverflows(el) {
|
5272 | var arr = [];
|
5273 |
|
5274 | while (el && el.parentNode && el.parentNode instanceof Element) {
|
5275 | if (el.parentNode.scrollTop) {
|
5276 | arr.push({
|
5277 | node: el.parentNode,
|
5278 | scrollTop: el.parentNode.scrollTop
|
5279 | });
|
5280 | }
|
5281 | el = el.parentNode;
|
5282 | }
|
5283 |
|
5284 | return arr;
|
5285 | }
|
5286 |
|
5287 | function resize() {
|
5288 | var originalHeight = ta.style.height;
|
5289 | var overflows = getParentOverflows(ta);
|
5290 | var docTop = document.documentElement && document.documentElement.scrollTop;
|
5291 |
|
5292 | ta.style.height = 'auto';
|
5293 |
|
5294 | var endHeight = ta.scrollHeight + heightOffset;
|
5295 |
|
5296 | if (ta.scrollHeight === 0) {
|
5297 |
|
5298 | ta.style.height = originalHeight;
|
5299 | return;
|
5300 | }
|
5301 |
|
5302 | ta.style.height = endHeight + 'px';
|
5303 |
|
5304 |
|
5305 | clientWidth = ta.clientWidth;
|
5306 |
|
5307 |
|
5308 | overflows.forEach(function (el) {
|
5309 | el.node.scrollTop = el.scrollTop;
|
5310 | });
|
5311 |
|
5312 | if (docTop) {
|
5313 | document.documentElement.scrollTop = docTop;
|
5314 | }
|
5315 | }
|
5316 |
|
5317 | function update() {
|
5318 | resize();
|
5319 |
|
5320 | var styleHeight = Math.round(parseFloat(ta.style.height));
|
5321 | var computed = window.getComputedStyle(ta, null);
|
5322 |
|
5323 |
|
5324 | var actualHeight = computed.boxSizing === 'content-box' ? Math.round(parseFloat(computed.height)) : ta.offsetHeight;
|
5325 |
|
5326 |
|
5327 |
|
5328 | if (actualHeight !== styleHeight) {
|
5329 | if (computed.overflowY === 'hidden') {
|
5330 | changeOverflow('scroll');
|
5331 | resize();
|
5332 | actualHeight = computed.boxSizing === 'content-box' ? Math.round(parseFloat(window.getComputedStyle(ta, null).height)) : ta.offsetHeight;
|
5333 | }
|
5334 | } else {
|
5335 |
|
5336 | if (computed.overflowY !== 'hidden') {
|
5337 | changeOverflow('hidden');
|
5338 | resize();
|
5339 | actualHeight = computed.boxSizing === 'content-box' ? Math.round(parseFloat(window.getComputedStyle(ta, null).height)) : ta.offsetHeight;
|
5340 | }
|
5341 | }
|
5342 |
|
5343 | if (cachedHeight !== actualHeight) {
|
5344 | cachedHeight = actualHeight;
|
5345 | var evt = createEvent('autosize:resized');
|
5346 | try {
|
5347 | ta.dispatchEvent(evt);
|
5348 | } catch (err) {
|
5349 |
|
5350 |
|
5351 | }
|
5352 | }
|
5353 | }
|
5354 |
|
5355 | var pageResize = function pageResize() {
|
5356 | if (ta.clientWidth !== clientWidth) {
|
5357 | update();
|
5358 | }
|
5359 | };
|
5360 |
|
5361 | var destroy = (function (style) {
|
5362 | window.removeEventListener('resize', pageResize, false);
|
5363 | ta.removeEventListener('input', update, false);
|
5364 | ta.removeEventListener('keyup', update, false);
|
5365 | ta.removeEventListener('autosize:destroy', destroy, false);
|
5366 | ta.removeEventListener('autosize:update', update, false);
|
5367 |
|
5368 | Object.keys(style).forEach(function (key) {
|
5369 | ta.style[key] = style[key];
|
5370 | });
|
5371 |
|
5372 | map['delete'](ta);
|
5373 | }).bind(ta, {
|
5374 | height: ta.style.height,
|
5375 | resize: ta.style.resize,
|
5376 | overflowY: ta.style.overflowY,
|
5377 | overflowX: ta.style.overflowX,
|
5378 | wordWrap: ta.style.wordWrap
|
5379 | });
|
5380 |
|
5381 | ta.addEventListener('autosize:destroy', destroy, false);
|
5382 |
|
5383 |
|
5384 |
|
5385 |
|
5386 | if ('onpropertychange' in ta && 'oninput' in ta) {
|
5387 | ta.addEventListener('keyup', update, false);
|
5388 | }
|
5389 |
|
5390 | window.addEventListener('resize', pageResize, false);
|
5391 | ta.addEventListener('input', update, false);
|
5392 | ta.addEventListener('autosize:update', update, false);
|
5393 | ta.style.overflowX = 'hidden';
|
5394 | ta.style.wordWrap = 'break-word';
|
5395 |
|
5396 | map.set(ta, {
|
5397 | destroy: destroy,
|
5398 | update: update
|
5399 | });
|
5400 |
|
5401 | init();
|
5402 | }
|
5403 |
|
5404 | function destroy(ta) {
|
5405 | var methods = map.get(ta);
|
5406 | if (methods) {
|
5407 | methods.destroy();
|
5408 | }
|
5409 | }
|
5410 |
|
5411 | function update(ta) {
|
5412 | var methods = map.get(ta);
|
5413 | if (methods) {
|
5414 | methods.update();
|
5415 | }
|
5416 | }
|
5417 |
|
5418 | var autosize = null;
|
5419 |
|
5420 |
|
5421 | if (typeof window === 'undefined' || typeof window.getComputedStyle !== 'function') {
|
5422 | autosize = function (el) {
|
5423 | return el;
|
5424 | };
|
5425 | autosize.destroy = function (el) {
|
5426 | return el;
|
5427 | };
|
5428 | autosize.update = function (el) {
|
5429 | return el;
|
5430 | };
|
5431 | } else {
|
5432 | autosize = function (el, options) {
|
5433 | if (el) {
|
5434 | Array.prototype.forEach.call(el.length ? el : [el], function (x) {
|
5435 | return assign(x, options);
|
5436 | });
|
5437 | }
|
5438 | return el;
|
5439 | };
|
5440 | autosize.destroy = function (el) {
|
5441 | if (el) {
|
5442 | Array.prototype.forEach.call(el.length ? el : [el], destroy);
|
5443 | }
|
5444 | return el;
|
5445 | };
|
5446 | autosize.update = function (el) {
|
5447 | if (el) {
|
5448 | Array.prototype.forEach.call(el.length ? el : [el], update);
|
5449 | }
|
5450 | return el;
|
5451 | };
|
5452 | }
|
5453 |
|
5454 | module.exports = autosize;
|
5455 | });
|
5456 | });
|
5457 |
|
5458 |
|
5459 |
|
5460 | var computedStyle = function (el, prop, getComputedStyle) {
|
5461 | getComputedStyle = window.getComputedStyle;
|
5462 |
|
5463 |
|
5464 | return (
|
5465 |
|
5466 | getComputedStyle ?
|
5467 |
|
5468 |
|
5469 | getComputedStyle(el) :
|
5470 |
|
5471 |
|
5472 | el.currentStyle
|
5473 | )[
|
5474 |
|
5475 |
|
5476 |
|
5477 |
|
5478 | prop.replace(/-(\w)/gi, function (word, letter) {
|
5479 | return letter.toUpperCase();
|
5480 | })
|
5481 | ];
|
5482 | };
|
5483 |
|
5484 | var computedStyle_commonjs = computedStyle;
|
5485 |
|
5486 |
|
5487 |
|
5488 |
|
5489 |
|
5490 |
|
5491 |
|
5492 |
|
5493 |
|
5494 | function lineHeight(node) {
|
5495 |
|
5496 | var lnHeightStr = computedStyle_commonjs(node, 'line-height');
|
5497 | var lnHeight = parseFloat(lnHeightStr, 10);
|
5498 |
|
5499 |
|
5500 | if (lnHeightStr === lnHeight + '') {
|
5501 |
|
5502 | var _lnHeightStyle = node.style.lineHeight;
|
5503 | node.style.lineHeight = lnHeightStr + 'em';
|
5504 |
|
5505 |
|
5506 | lnHeightStr = computedStyle_commonjs(node, 'line-height');
|
5507 | lnHeight = parseFloat(lnHeightStr, 10);
|
5508 |
|
5509 |
|
5510 | if (_lnHeightStyle) {
|
5511 | node.style.lineHeight = _lnHeightStyle;
|
5512 | } else {
|
5513 | delete node.style.lineHeight;
|
5514 | }
|
5515 | }
|
5516 |
|
5517 |
|
5518 |
|
5519 |
|
5520 | if (lnHeightStr.indexOf('pt') !== -1) {
|
5521 | lnHeight *= 4;
|
5522 | lnHeight /= 3;
|
5523 |
|
5524 | } else if (lnHeightStr.indexOf('mm') !== -1) {
|
5525 | lnHeight *= 96;
|
5526 | lnHeight /= 25.4;
|
5527 |
|
5528 | } else if (lnHeightStr.indexOf('cm') !== -1) {
|
5529 | lnHeight *= 96;
|
5530 | lnHeight /= 2.54;
|
5531 |
|
5532 | } else if (lnHeightStr.indexOf('in') !== -1) {
|
5533 | lnHeight *= 96;
|
5534 |
|
5535 | } else if (lnHeightStr.indexOf('pc') !== -1) {
|
5536 | lnHeight *= 16;
|
5537 | }
|
5538 |
|
5539 |
|
5540 | lnHeight = Math.round(lnHeight);
|
5541 |
|
5542 |
|
5543 | if (lnHeightStr === 'normal') {
|
5544 |
|
5545 | var nodeName = node.nodeName;
|
5546 | var _node = document.createElement(nodeName);
|
5547 | _node.innerHTML = ' ';
|
5548 |
|
5549 |
|
5550 |
|
5551 | if (nodeName.toUpperCase() === 'TEXTAREA') {
|
5552 | _node.setAttribute('rows', '1');
|
5553 | }
|
5554 |
|
5555 |
|
5556 | var fontSizeStr = computedStyle_commonjs(node, 'font-size');
|
5557 | _node.style.fontSize = fontSizeStr;
|
5558 |
|
5559 |
|
5560 |
|
5561 |
|
5562 | _node.style.padding = '0px';
|
5563 | _node.style.border = '0px';
|
5564 |
|
5565 |
|
5566 | var body = document.body;
|
5567 | body.appendChild(_node);
|
5568 |
|
5569 |
|
5570 | var height = _node.offsetHeight;
|
5571 | lnHeight = height;
|
5572 |
|
5573 |
|
5574 | body.removeChild(_node);
|
5575 | }
|
5576 |
|
5577 |
|
5578 | return lnHeight;
|
5579 | }
|
5580 |
|
5581 |
|
5582 | var lineHeight_1 = lineHeight;
|
5583 |
|
5584 | var TextareaAutosize_1 = createCommonjsModule(function (module, exports) {
|
5585 | 'use strict';
|
5586 |
|
5587 | Object.defineProperty(exports, "__esModule", {
|
5588 | value: true
|
5589 | });
|
5590 | exports.default = undefined;
|
5591 |
|
5592 | var _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; };
|
5593 |
|
5594 | var _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; }; }();
|
5595 |
|
5596 | var _class, _temp2;
|
5597 |
|
5598 |
|
5599 |
|
5600 | var _react2 = _interopRequireDefault(React__default);
|
5601 |
|
5602 |
|
5603 |
|
5604 | var _propTypes2 = _interopRequireDefault(PropTypes);
|
5605 |
|
5606 |
|
5607 |
|
5608 | var _autosize2 = _interopRequireDefault(autosize);
|
5609 |
|
5610 |
|
5611 |
|
5612 | var _lineHeight2 = _interopRequireDefault(lineHeight_1);
|
5613 |
|
5614 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
5615 |
|
5616 | function _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; }
|
5617 |
|
5618 | function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
5619 |
|
5620 | function _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; }
|
5621 |
|
5622 | function _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; }
|
5623 |
|
5624 | var UPDATE = 'autosize:update',
|
5625 | DESTROY = 'autosize:destroy',
|
5626 | RESIZED = 'autosize:resized';
|
5627 |
|
5628 |
|
5629 |
|
5630 |
|
5631 |
|
5632 |
|
5633 |
|
5634 |
|
5635 | var TextareaAutosize = (_temp2 = _class = function (_React$Component) {
|
5636 | _inherits(TextareaAutosize, _React$Component);
|
5637 |
|
5638 | function TextareaAutosize() {
|
5639 | var _ref;
|
5640 |
|
5641 | var _temp, _this, _ret;
|
5642 |
|
5643 | _classCallCheck(this, TextareaAutosize);
|
5644 |
|
5645 | for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
|
5646 | args[_key] = arguments[_key];
|
5647 | }
|
5648 |
|
5649 | return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = TextareaAutosize.__proto__ || Object.getPrototypeOf(TextareaAutosize)).call.apply(_ref, [this].concat(args))), _this), _this.state = {
|
5650 | lineHeight: null
|
5651 | }, _this.dispatchEvent = function (EVENT_TYPE) {
|
5652 | var event = document.createEvent('Event');
|
5653 | event.initEvent(EVENT_TYPE, true, false);
|
5654 |
|
5655 | _this.textarea.dispatchEvent(event);
|
5656 | }, _this.getValue = function (_ref2) {
|
5657 | var valueLink = _ref2.valueLink,
|
5658 | value = _ref2.value;
|
5659 | return valueLink ? valueLink.value : value;
|
5660 | }, _this.updateLineHeight = function () {
|
5661 | _this.setState({
|
5662 | lineHeight: (0, _lineHeight2.default)(_this.textarea)
|
5663 | });
|
5664 | }, _this.onChange = function (e) {
|
5665 | _this.currentValue = e.target.value;
|
5666 | _this.props.onChange && _this.props.onChange(e);
|
5667 | }, _this.saveDOMNodeRef = function (ref) {
|
5668 | var innerRef = _this.props.innerRef;
|
5669 |
|
5670 |
|
5671 | if (innerRef) {
|
5672 | innerRef(ref);
|
5673 | }
|
5674 |
|
5675 | _this.textarea = ref;
|
5676 | }, _this.getLocals = function () {
|
5677 | var _this2 = _this,
|
5678 | _this2$props = _this2.props,
|
5679 | onResize = _this2$props.onResize,
|
5680 | maxRows = _this2$props.maxRows,
|
5681 | onChange = _this2$props.onChange,
|
5682 | style = _this2$props.style,
|
5683 | innerRef = _this2$props.innerRef,
|
5684 | props = _objectWithoutProperties(_this2$props, ['onResize', 'maxRows', 'onChange', 'style', 'innerRef']),
|
5685 | lineHeight = _this2.state.lineHeight,
|
5686 | saveDOMNodeRef = _this2.saveDOMNodeRef;
|
5687 |
|
5688 | var maxHeight = maxRows && lineHeight ? lineHeight * maxRows : null;
|
5689 |
|
5690 | return _extends({}, props, {
|
5691 | saveDOMNodeRef: saveDOMNodeRef,
|
5692 | style: maxHeight ? _extends({}, style, { maxHeight: maxHeight }) : style,
|
5693 | onChange: _this.onChange
|
5694 | });
|
5695 | }, _temp), _possibleConstructorReturn(_this, _ret);
|
5696 | }
|
5697 |
|
5698 | _createClass(TextareaAutosize, [{
|
5699 | key: 'componentDidMount',
|
5700 | value: function componentDidMount() {
|
5701 | var _this3 = this;
|
5702 |
|
5703 | var _props = this.props,
|
5704 | onResize = _props.onResize,
|
5705 | maxRows = _props.maxRows;
|
5706 |
|
5707 |
|
5708 | if (typeof maxRows === 'number') {
|
5709 | this.updateLineHeight();
|
5710 |
|
5711 |
|
5712 | setTimeout(function () {
|
5713 | return (0, _autosize2.default)(_this3.textarea);
|
5714 | });
|
5715 | } else {
|
5716 | (0, _autosize2.default)(this.textarea);
|
5717 | }
|
5718 |
|
5719 | if (onResize) {
|
5720 | this.textarea.addEventListener(RESIZED, this.props.onResize);
|
5721 | }
|
5722 | }
|
5723 | }, {
|
5724 | key: 'componentWillUnmount',
|
5725 | value: function componentWillUnmount() {
|
5726 | if (this.props.onResize) {
|
5727 | this.textarea.removeEventListener(RESIZED, this.props.onResize);
|
5728 | }
|
5729 | this.dispatchEvent(DESTROY);
|
5730 | }
|
5731 | }, {
|
5732 | key: 'render',
|
5733 | value: function render() {
|
5734 | var _getLocals = this.getLocals(),
|
5735 | children = _getLocals.children,
|
5736 | saveDOMNodeRef = _getLocals.saveDOMNodeRef,
|
5737 | locals = _objectWithoutProperties(_getLocals, ['children', 'saveDOMNodeRef']);
|
5738 |
|
5739 | return _react2.default.createElement(
|
5740 | 'textarea',
|
5741 | _extends({}, locals, { ref: saveDOMNodeRef }),
|
5742 | children
|
5743 | );
|
5744 | }
|
5745 | }, {
|
5746 | key: 'componentDidUpdate',
|
5747 | value: function componentDidUpdate() {
|
5748 | if (this.getValue(this.props) !== this.currentValue) {
|
5749 | this.dispatchEvent(UPDATE);
|
5750 | }
|
5751 | }
|
5752 | }]);
|
5753 |
|
5754 | return TextareaAutosize;
|
5755 | }(_react2.default.Component), _class.defaultProps = {
|
5756 | rows: 1
|
5757 | }, _temp2);
|
5758 | exports.default = TextareaAutosize;
|
5759 |
|
5760 |
|
5761 | TextareaAutosize.propTypes = {
|
5762 | rows: _propTypes2.default.number,
|
5763 | maxRows: _propTypes2.default.number,
|
5764 | onResize: _propTypes2.default.func,
|
5765 | innerRef: _propTypes2.default.func
|
5766 | };
|
5767 | });
|
5768 |
|
5769 | unwrapExports(TextareaAutosize_1);
|
5770 |
|
5771 | var lib = createCommonjsModule(function (module, exports) {
|
5772 | 'use strict';
|
5773 |
|
5774 | Object.defineProperty(exports, "__esModule", {
|
5775 | value: true
|
5776 | });
|
5777 | exports.default = undefined;
|
5778 |
|
5779 |
|
5780 |
|
5781 | var _TextareaAutosize2 = _interopRequireDefault(TextareaAutosize_1);
|
5782 |
|
5783 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
5784 |
|
5785 | exports.default = _TextareaAutosize2.default;
|
5786 | });
|
5787 |
|
5788 | var AutosizeTextarea = unwrapExports(lib);
|
5789 |
|
5790 | var lib$1 = createCommonjsModule(function (module, exports) {
|
5791 | "use strict";
|
5792 |
|
5793 | Object.defineProperty(exports, "__esModule", {
|
5794 | value: true
|
5795 | });
|
5796 | exports.default = filterReactDomProps;
|
5797 | var DOMProps = {
|
5798 | "abbr": "abbr",
|
5799 | "accept": "accept",
|
5800 | "acceptCharset": "accept-charset",
|
5801 | "accessKey": "accesskey",
|
5802 | "action": "action",
|
5803 | "allowFullScreen": "allowfullscreen",
|
5804 | "allowTransparency": "allowtransparency",
|
5805 | "alt": "alt",
|
5806 | "async": "async",
|
5807 | "autoComplete": "autocomplete",
|
5808 | "autoFocus": "autofocus",
|
5809 | "autoPlay": "autoplay",
|
5810 | "cellPadding": "cellpadding",
|
5811 | "cellSpacing": "cellspacing",
|
5812 | "challenge": "challenge",
|
5813 | "charset": "charset",
|
5814 | "checked": "checked",
|
5815 | "cite": "cite",
|
5816 | "class": "class",
|
5817 | "className": "class",
|
5818 | "cols": "cols",
|
5819 | "colSpan": "colspan",
|
5820 | "command": "command",
|
5821 | "content": "content",
|
5822 | "contentEditable": "contenteditable",
|
5823 | "contextMenu": "contextmenu",
|
5824 | "controls": "controls",
|
5825 | "coords": "coords",
|
5826 | "crossOrigin": "crossorigin",
|
5827 | "data": "data",
|
5828 | "dateTime": "datetime",
|
5829 | "default": "default",
|
5830 | "defer": "defer",
|
5831 | "dir": "dir",
|
5832 | "disabled": "disabled",
|
5833 | "download": "download",
|
5834 | "draggable": "draggable",
|
5835 | "dropzone": "dropzone",
|
5836 | "encType": "enctype",
|
5837 | "for": "for",
|
5838 | "form": "form",
|
5839 | "formAction": "formaction",
|
5840 | "formEncType": "formenctype",
|
5841 | "formMethod": "formmethod",
|
5842 | "formNoValidate": "formnovalidate",
|
5843 | "formTarget": "formtarget",
|
5844 | "frameBorder": "frameBorder",
|
5845 | "headers": "headers",
|
5846 | "height": "height",
|
5847 | "hidden": "hidden",
|
5848 | "high": "high",
|
5849 | "href": "href",
|
5850 | "hrefLang": "hreflang",
|
5851 | "htmlFor": "for",
|
5852 | "httpEquiv": "http-equiv",
|
5853 | "icon": "icon",
|
5854 | "id": "id",
|
5855 | "inputMode": "inputmode",
|
5856 | "isMap": "ismap",
|
5857 | "itemId": "itemid",
|
5858 | "itemProp": "itemprop",
|
5859 | "itemRef": "itemref",
|
5860 | "itemScope": "itemscope",
|
5861 | "itemType": "itemtype",
|
5862 | "kind": "kind",
|
5863 | "label": "label",
|
5864 | "lang": "lang",
|
5865 | "list": "list",
|
5866 | "loop": "loop",
|
5867 | "manifest": "manifest",
|
5868 | "max": "max",
|
5869 | "maxLength": "maxlength",
|
5870 | "media": "media",
|
5871 | "mediaGroup": "mediagroup",
|
5872 | "method": "method",
|
5873 | "min": "min",
|
5874 | "minLength": "minlength",
|
5875 | "multiple": "multiple",
|
5876 | "muted": "muted",
|
5877 | "name": "name",
|
5878 | "noValidate": "novalidate",
|
5879 | "open": "open",
|
5880 | "optimum": "optimum",
|
5881 | "pattern": "pattern",
|
5882 | "ping": "ping",
|
5883 | "placeholder": "placeholder",
|
5884 | "poster": "poster",
|
5885 | "preload": "preload",
|
5886 | "radioGroup": "radiogroup",
|
5887 | "readOnly": "readonly",
|
5888 | "rel": "rel",
|
5889 | "required": "required",
|
5890 | "role": "role",
|
5891 | "rows": "rows",
|
5892 | "rowSpan": "rowspan",
|
5893 | "sandbox": "sandbox",
|
5894 | "scope": "scope",
|
5895 | "scoped": "scoped",
|
5896 | "scrolling": "scrolling",
|
5897 | "seamless": "seamless",
|
5898 | "selected": "selected",
|
5899 | "shape": "shape",
|
5900 | "size": "size",
|
5901 | "sizes": "sizes",
|
5902 | "sortable": "sortable",
|
5903 | "span": "span",
|
5904 | "spellCheck": "spellcheck",
|
5905 | "src": "src",
|
5906 | "srcDoc": "srcdoc",
|
5907 | "srcSet": "srcset",
|
5908 | "start": "start",
|
5909 | "step": "step",
|
5910 | "style": "style",
|
5911 | "tabIndex": "tabindex",
|
5912 | "target": "target",
|
5913 | "title": "title",
|
5914 | "translate": "translate",
|
5915 | "type": "type",
|
5916 | "typeMustMatch": "typemustmatch",
|
5917 | "useMap": "usemap",
|
5918 | "value": "value",
|
5919 | "width": "width",
|
5920 | "wmode": "wmode",
|
5921 | "wrap": "wrap",
|
5922 | "onCopy": "onCopy",
|
5923 | "onCut": "onCut",
|
5924 | "onPaste": "onPaste",
|
5925 | "onLoad": "onLoad",
|
5926 | "onError": "onError",
|
5927 | "onWheel": "onWheel",
|
5928 | "onScroll": "onScroll",
|
5929 | "onCompositionEnd": "onCompositionEnd",
|
5930 | "onCompositionStart": "onCompositionStart",
|
5931 | "onCompositionUpdate": "onCompositionUpdate",
|
5932 | "onKeyDown": "onKeyDown",
|
5933 | "onKeyPress": "onKeyPress",
|
5934 | "onKeyUp": "onKeyUp",
|
5935 | "onFocus": "onFocus",
|
5936 | "onBlur": "onBlur",
|
5937 | "onChange": "onChange",
|
5938 | "onInput": "onInput",
|
5939 | "onSubmit": "onSubmit",
|
5940 | "onClick": "onClick",
|
5941 | "onContextMenu": "onContextMenu",
|
5942 | "onDoubleClick": "onDoubleClick",
|
5943 | "onDrag": "onDrag",
|
5944 | "onDragEnd": "onDragEnd",
|
5945 | "onDragEnter": "onDragEnter",
|
5946 | "onDragExit": "onDragExit",
|
5947 | "onDragLeave": "onDragLeave",
|
5948 | "onDragOver": "onDragOver",
|
5949 | "onDragStart": "onDragStart",
|
5950 | "onDrop": "onDrop",
|
5951 | "onMouseDown": "onMouseDown",
|
5952 | "onMouseEnter": "onMouseEnter",
|
5953 | "onMouseLeave": "onMouseLeave",
|
5954 | "onMouseMove": "onMouseMove",
|
5955 | "onMouseOut": "onMouseOut",
|
5956 | "onMouseOver": "onMouseOver",
|
5957 | "onMouseUp": "onMouseUp",
|
5958 | "onSelect": "onSelect",
|
5959 | "onTouchCancel": "onTouchCancel",
|
5960 | "onTouchEnd": "onTouchEnd",
|
5961 | "onTouchMove": "onTouchMove",
|
5962 | "onTouchStart": "onTouchStart",
|
5963 | "onAnimationStart": "onAnimationStart",
|
5964 | "onAnimationEnd": "onAnimationEnd",
|
5965 | "onAnimationIteration": "onAnimationIteration",
|
5966 | "onTransitionEnd": "onTransitionEnd"
|
5967 | };
|
5968 |
|
5969 | function filterReactDomProps(props) {
|
5970 | var filterProps = {};
|
5971 |
|
5972 | for (var prop in props) {
|
5973 | if (props.hasOwnProperty(prop) && DOMProps[prop]) {
|
5974 | filterProps[prop] = props[prop];
|
5975 | }
|
5976 | }
|
5977 | return filterProps;
|
5978 | }
|
5979 | });
|
5980 |
|
5981 | var filterReactDomProps = unwrapExports(lib$1);
|
5982 |
|
5983 | var StyledTextarea = styled__default(AutosizeTextarea).withConfig({
|
5984 | displayName: 'textarea__StyledTextarea',
|
5985 | componentId: 's15dqnkm-0'
|
5986 | })([['{width:', function (props) {
|
5987 | return props.width || 'auto';
|
5988 | }, ';', fontSize(2), ';line-height:1.45;font-weight:300;padding:1em;border:none;border-radius:3px;border:1px solid ', function (props) {
|
5989 | return props.theme.color.grey.dim;
|
5990 | }, ';box-shadow:0px 2px 0px 0px rgba(0,0,0,0.16);height:', function (props) {
|
5991 | return props.height || '10em';
|
5992 | }, ';resize:none;}'], [':focus,'], [':active{outline:0;border-color:', function (props) {
|
5993 | return props.theme.colors.black;
|
5994 | }, ';}']]);
|
5995 |
|
5996 | var Textarea = function Textarea(props) {
|
5997 | return React__default.createElement(StyledTextarea, _extends({}, filterReactDomProps(props), { value: props.value || '' }));
|
5998 | };
|
5999 |
|
6000 | var _templateObject$3 = taggedTemplateLiteral(['font-size: 1em'], ['font-size: 1em']);
|
6001 | var _templateObject2 = taggedTemplateLiteral(['font-size: 1.25em'], ['font-size: 1.25em']);
|
6002 | var _templateObject3 = taggedTemplateLiteral(['font-size: 1.125em'], ['font-size: 1.125em']);
|
6003 | var _templateObject4 = taggedTemplateLiteral(['font-size: 1.5em;'], ['font-size: 1.5em;']);
|
6004 | var _templateObject5 = taggedTemplateLiteral(['font-size: 1.875em;'], ['font-size: 1.875em;']);
|
6005 |
|
6006 | var Paragraph = styled__default.p.withConfig({
|
6007 | displayName: 'paragraph__Paragraph',
|
6008 | componentId: 's446idw-0'
|
6009 | })([['{font-size:0.875em;font-family:', function (props) {
|
6010 | return props.theme.font.base;
|
6011 | }, ';font-weight:300;line-height:1.4;margin:0;margin-bottom:1em;', media.small(_templateObject$3), ' ', media.medium(_templateObject2), ' ', media.large(_templateObject3), ';}']]);
|
6012 |
|
6013 | var Lead = styled__default.p.withConfig({
|
6014 | displayName: 'paragraph__Lead',
|
6015 | componentId: 's446idw-1'
|
6016 | })([['{font-size:1.125em;font-family:', function (props) {
|
6017 | return props.theme.font.header;
|
6018 | }, ';font-weight:400;line-height:1.3;margin:0;margin-bottom:1.5em;', media.medium(_templateObject4), ' ', media.extraLarge(_templateObject5), ';}']]);
|
6019 |
|
6020 |
|
6021 | var zpad = function (n, m, c) {
|
6022 | if (!m) m = zpad._amount;
|
6023 | if (!c) c = zpad._character;
|
6024 | if (m < 1) m = 1;
|
6025 | n = "" + n;
|
6026 | m -= n.length;
|
6027 | while (m-- > 0) n = c + n;
|
6028 | return n;
|
6029 | };
|
6030 |
|
6031 |
|
6032 | zpad._amount = 2;
|
6033 | zpad._character = '0';
|
6034 |
|
6035 |
|
6036 | zpad.amount = function (m) {
|
6037 | if (m) {
|
6038 | zpad._amount = m;
|
6039 | return zpad;
|
6040 | } else {
|
6041 | return zpad._amount;
|
6042 | }
|
6043 | };
|
6044 |
|
6045 |
|
6046 | zpad.character = function (c) {
|
6047 | if (c) {
|
6048 | zpad._character = c;
|
6049 | return zpad;
|
6050 | } else {
|
6051 | return zpad._character;
|
6052 | }
|
6053 | };
|
6054 |
|
6055 | var zpad_1 = zpad;
|
6056 |
|
6057 | var Label$3 = styled__default.div.withConfig({
|
6058 | displayName: 'label',
|
6059 | componentId: 'v5h8hm-0'
|
6060 | })([['{position:absolute;top:0;z-index:5;text-align:center;width:100%;font-family:', function (props) {
|
6061 | return props.theme.font.header;
|
6062 | }, ';font-size:2.5em;line-height:1.1;color:', function (props) {
|
6063 | return props.theme.canvasDim;
|
6064 | }, ';}']]);
|
6065 |
|
6066 | var Clock = styled__default.div.withConfig({
|
6067 | displayName: 'clock__Clock',
|
6068 | componentId: 'ihqbcy-0'
|
6069 | })([['{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;}']]);
|
6070 |
|
6071 | var Unit = styled__default.div.withConfig({
|
6072 | displayName: 'clock__Unit',
|
6073 | componentId: 'ihqbcy-1'
|
6074 | })([['{text-align:center;}']]);
|
6075 |
|
6076 | var UnitLabel = styled__default.div.withConfig({
|
6077 | displayName: 'clock__UnitLabel',
|
6078 | componentId: 'ihqbcy-2'
|
6079 | })([['{display:block;font-family:', function (props) {
|
6080 | return props.theme.font.base;
|
6081 | }, ';font-size:0.875em;color:', function (props) {
|
6082 | return props.theme.dark;
|
6083 | }, ';}']]);
|
6084 |
|
6085 | var UnitAmount = styled__default.div.withConfig({
|
6086 | displayName: 'clock__UnitAmount',
|
6087 | componentId: 'ihqbcy-3'
|
6088 | })([['{display:block;font-family:', function (props) {
|
6089 | return props.theme.font.header;
|
6090 | }, ';font-size:2.5em;color:', function (props) {
|
6091 | return props.theme.dark;
|
6092 | }, ';min-width:1.5em;}']]);
|
6093 |
|
6094 | var DAY = 60 * 60 * 24;
|
6095 | var HOUR = 60 * 60;
|
6096 | var MINUTE = 60;
|
6097 | var SECOND = 1;
|
6098 |
|
6099 |
|
6100 |
|
6101 |
|
6102 |
|
6103 |
|
6104 |
|
6105 |
|
6106 |
|
6107 |
|
6108 |
|
6109 |
|
6110 | function differenceInDays(start, end) {
|
6111 | var startDate = start ? new Date(start) : new Date();
|
6112 | var endDate = end ? new Date(end) : new Date();
|
6113 | var difference = Math.abs(endDate.getTime() - startDate.getTime()) / 1000;
|
6114 |
|
6115 | var days = Math.floor(difference / DAY);
|
6116 | var hours = Math.floor((difference - days * DAY) / HOUR);
|
6117 | var minutes = Math.floor((difference - days * DAY - hours * HOUR) / MINUTE);
|
6118 | var seconds = Math.floor((difference - days * DAY - hours * HOUR - minutes * MINUTE) / SECOND);
|
6119 |
|
6120 | return {
|
6121 | days: days,
|
6122 | hours: hours,
|
6123 | minutes: minutes,
|
6124 | seconds: seconds
|
6125 | };
|
6126 | }
|
6127 |
|
6128 | var Countdown = function (_Component) {
|
6129 | inherits(Countdown, _Component);
|
6130 |
|
6131 | function Countdown() {
|
6132 | var _ref;
|
6133 |
|
6134 | var _temp, _this, _ret;
|
6135 |
|
6136 | classCallCheck(this, Countdown);
|
6137 |
|
6138 | for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
|
6139 | args[_key] = arguments[_key];
|
6140 | }
|
6141 |
|
6142 | return _ret = (_temp = (_this = possibleConstructorReturn(this, (_ref = Countdown.__proto__ || Object.getPrototypeOf(Countdown)).call.apply(_ref, [this].concat(args))), _this), _this.state = {
|
6143 | diff: differenceInDays(_this.props.date, _this.props.now)
|
6144 | }, _temp), possibleConstructorReturn(_this, _ret);
|
6145 | }
|
6146 | |
6147 |
|
6148 |
|
6149 |
|
6150 |
|
6151 |
|
6152 | |
6153 |
|
6154 |
|
6155 |
|
6156 |
|
6157 |
|
6158 | createClass(Countdown, [{
|
6159 | key: 'componentDidMount',
|
6160 |
|
6161 |
|
6162 | |
6163 |
|
6164 |
|
6165 |
|
6166 |
|
6167 | value: function componentDidMount() {
|
6168 | var _this2 = this;
|
6169 |
|
6170 | this.timer = setInterval(function () {
|
6171 | _this2.setState({
|
6172 | diff: differenceInDays(_this2.props.date, _this2.props.now)
|
6173 | });
|
6174 | });
|
6175 | }
|
6176 |
|
6177 | |
6178 |
|
6179 |
|
6180 |
|
6181 |
|
6182 |
|
6183 | }, {
|
6184 | key: 'componentWillUnmount',
|
6185 | value: function componentWillUnmount() {
|
6186 | clearInterval(this.timer);
|
6187 | }
|
6188 |
|
6189 | |
6190 |
|
6191 |
|
6192 |
|
6193 |
|
6194 |
|
6195 | }, {
|
6196 | key: 'render',
|
6197 | value: function render() {
|
6198 | var diff = this.state.diff;
|
6199 | var _props = this.props,
|
6200 | label = _props.label,
|
6201 | className = _props.className;
|
6202 |
|
6203 |
|
6204 | return React__default.createElement(
|
6205 | 'div',
|
6206 | { className: className },
|
6207 | React__default.createElement(
|
6208 | Label$3,
|
6209 | null,
|
6210 | label
|
6211 | ),
|
6212 | React__default.createElement(
|
6213 | Clock,
|
6214 | null,
|
6215 | React__default.createElement(
|
6216 | Unit,
|
6217 | null,
|
6218 | React__default.createElement(
|
6219 | UnitAmount,
|
6220 | null,
|
6221 | diff.days
|
6222 | ),
|
6223 | React__default.createElement(
|
6224 | UnitLabel,
|
6225 | null,
|
6226 | 'days'
|
6227 | )
|
6228 | ),
|
6229 | React__default.createElement(
|
6230 | Unit,
|
6231 | null,
|
6232 | React__default.createElement(
|
6233 | UnitAmount,
|
6234 | null,
|
6235 | zpad_1(diff.hours)
|
6236 | ),
|
6237 | React__default.createElement(
|
6238 | UnitLabel,
|
6239 | null,
|
6240 | 'hrs'
|
6241 | )
|
6242 | ),
|
6243 | React__default.createElement(
|
6244 | Unit,
|
6245 | null,
|
6246 | React__default.createElement(
|
6247 | UnitAmount,
|
6248 | null,
|
6249 | zpad_1(diff.minutes)
|
6250 | ),
|
6251 | React__default.createElement(
|
6252 | UnitLabel,
|
6253 | null,
|
6254 | 'min'
|
6255 | )
|
6256 | ),
|
6257 | React__default.createElement(
|
6258 | Unit,
|
6259 | null,
|
6260 | React__default.createElement(
|
6261 | UnitAmount,
|
6262 | null,
|
6263 | zpad_1(diff.seconds)
|
6264 | ),
|
6265 | React__default.createElement(
|
6266 | UnitLabel,
|
6267 | null,
|
6268 | 'sec'
|
6269 | )
|
6270 | )
|
6271 | )
|
6272 | );
|
6273 | }
|
6274 | }]);
|
6275 | return Countdown;
|
6276 | }(React.Component);
|
6277 |
|
6278 | Countdown.propTypes = {
|
6279 | now: PropTypes.string,
|
6280 | className: PropTypes.string,
|
6281 | date: PropTypes.string.isRequired,
|
6282 | label: PropTypes.string.isRequired
|
6283 | };
|
6284 | styled__default(Countdown).withConfig({
|
6285 | displayName: 'countdown',
|
6286 | componentId: 's1m9xmxa-0'
|
6287 | })([['{display:block;position:relative;padding-top:1.5em;}']]);
|
6288 |
|
6289 |
|
6290 |
|
6291 |
|
6292 |
|
6293 |
|
6294 |
|
6295 |
|
6296 |
|
6297 |
|
6298 |
|
6299 |
|
6300 |
|
6301 |
|
6302 |
|
6303 |
|
6304 |
|
6305 |
|
6306 |
|
6307 |
|
6308 |
|
6309 |
|
6310 |
|
6311 |
|
6312 | var isArray = Array.isArray;
|
6313 |
|
6314 | var isArray_1 = isArray;
|
6315 |
|
6316 |
|
6317 | var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/;
|
6318 | var reIsPlainProp = /^\w*$/;
|
6319 |
|
6320 |
|
6321 |
|
6322 |
|
6323 |
|
6324 |
|
6325 |
|
6326 |
|
6327 |
|
6328 | function isKey(value, object) {
|
6329 | if (isArray_1(value)) {
|
6330 | return false;
|
6331 | }
|
6332 | var type = typeof value;
|
6333 | if (type == 'number' || type == 'symbol' || type == 'boolean' ||
|
6334 | value == null || isSymbol_1(value)) {
|
6335 | return true;
|
6336 | }
|
6337 | return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||
|
6338 | (object != null && value in Object(object));
|
6339 | }
|
6340 |
|
6341 | var _isKey = isKey;
|
6342 |
|
6343 |
|
6344 | var asyncTag = '[object AsyncFunction]';
|
6345 | var funcTag = '[object Function]';
|
6346 | var genTag = '[object GeneratorFunction]';
|
6347 | var proxyTag = '[object Proxy]';
|
6348 |
|
6349 |
|
6350 |
|
6351 |
|
6352 |
|
6353 |
|
6354 |
|
6355 |
|
6356 |
|
6357 |
|
6358 |
|
6359 |
|
6360 |
|
6361 |
|
6362 |
|
6363 |
|
6364 |
|
6365 |
|
6366 | function isFunction(value) {
|
6367 | if (!isObject_1(value)) {
|
6368 | return false;
|
6369 | }
|
6370 |
|
6371 |
|
6372 | var tag = _baseGetTag(value);
|
6373 | return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
|
6374 | }
|
6375 |
|
6376 | var isFunction_1 = isFunction;
|
6377 |
|
6378 |
|
6379 | var coreJsData = _root['__core-js_shared__'];
|
6380 |
|
6381 | var _coreJsData = coreJsData;
|
6382 |
|
6383 |
|
6384 | var maskSrcKey = (function() {
|
6385 | var uid = /[^.]+$/.exec(_coreJsData && _coreJsData.keys && _coreJsData.keys.IE_PROTO || '');
|
6386 | return uid ? ('Symbol(src)_1.' + uid) : '';
|
6387 | }());
|
6388 |
|
6389 |
|
6390 |
|
6391 |
|
6392 |
|
6393 |
|
6394 |
|
6395 |
|
6396 | function isMasked(func) {
|
6397 | return !!maskSrcKey && (maskSrcKey in func);
|
6398 | }
|
6399 |
|
6400 | var _isMasked = isMasked;
|
6401 |
|
6402 |
|
6403 | var funcProto$1 = Function.prototype;
|
6404 |
|
6405 |
|
6406 | var funcToString$1 = funcProto$1.toString;
|
6407 |
|
6408 |
|
6409 |
|
6410 |
|
6411 |
|
6412 |
|
6413 |
|
6414 |
|
6415 | function toSource(func) {
|
6416 | if (func != null) {
|
6417 | try {
|
6418 | return funcToString$1.call(func);
|
6419 | } catch (e) {}
|
6420 | try {
|
6421 | return (func + '');
|
6422 | } catch (e) {}
|
6423 | }
|
6424 | return '';
|
6425 | }
|
6426 |
|
6427 | var _toSource = toSource;
|
6428 |
|
6429 |
|
6430 |
|
6431 |
|
6432 |
|
6433 | var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
|
6434 |
|
6435 |
|
6436 | var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
6437 |
|
6438 |
|
6439 | var funcProto = Function.prototype;
|
6440 | var objectProto$2 = Object.prototype;
|
6441 |
|
6442 |
|
6443 | var funcToString = funcProto.toString;
|
6444 |
|
6445 |
|
6446 | var hasOwnProperty$1 = objectProto$2.hasOwnProperty;
|
6447 |
|
6448 |
|
6449 | var reIsNative = RegExp('^' +
|
6450 | funcToString.call(hasOwnProperty$1).replace(reRegExpChar, '\\$&')
|
6451 | .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
|
6452 | );
|
6453 |
|
6454 |
|
6455 |
|
6456 |
|
6457 |
|
6458 |
|
6459 |
|
6460 |
|
6461 |
|
6462 | function baseIsNative(value) {
|
6463 | if (!isObject_1(value) || _isMasked(value)) {
|
6464 | return false;
|
6465 | }
|
6466 | var pattern = isFunction_1(value) ? reIsNative : reIsHostCtor;
|
6467 | return pattern.test(_toSource(value));
|
6468 | }
|
6469 |
|
6470 | var _baseIsNative = baseIsNative;
|
6471 |
|
6472 |
|
6473 |
|
6474 |
|
6475 |
|
6476 |
|
6477 |
|
6478 |
|
6479 |
|
6480 | function getValue(object, key) {
|
6481 | return object == null ? undefined : object[key];
|
6482 | }
|
6483 |
|
6484 | var _getValue = getValue;
|
6485 |
|
6486 |
|
6487 |
|
6488 |
|
6489 |
|
6490 |
|
6491 |
|
6492 |
|
6493 |
|
6494 | function getNative(object, key) {
|
6495 | var value = _getValue(object, key);
|
6496 | return _baseIsNative(value) ? value : undefined;
|
6497 | }
|
6498 |
|
6499 | var _getNative = getNative;
|
6500 |
|
6501 |
|
6502 | var nativeCreate = _getNative(Object, 'create');
|
6503 |
|
6504 | var _nativeCreate = nativeCreate;
|
6505 |
|
6506 |
|
6507 |
|
6508 |
|
6509 |
|
6510 |
|
6511 |
|
6512 |
|
6513 | function hashClear() {
|
6514 | this.__data__ = _nativeCreate ? _nativeCreate(null) : {};
|
6515 | this.size = 0;
|
6516 | }
|
6517 |
|
6518 | var _hashClear = hashClear;
|
6519 |
|
6520 |
|
6521 |
|
6522 |
|
6523 |
|
6524 |
|
6525 |
|
6526 |
|
6527 |
|
6528 |
|
6529 |
|
6530 | function hashDelete(key) {
|
6531 | var result = this.has(key) && delete this.__data__[key];
|
6532 | this.size -= result ? 1 : 0;
|
6533 | return result;
|
6534 | }
|
6535 |
|
6536 | var _hashDelete = hashDelete;
|
6537 |
|
6538 |
|
6539 | var HASH_UNDEFINED = '__lodash_hash_undefined__';
|
6540 |
|
6541 |
|
6542 | var objectProto$3 = Object.prototype;
|
6543 |
|
6544 |
|
6545 | var hasOwnProperty$2 = objectProto$3.hasOwnProperty;
|
6546 |
|
6547 |
|
6548 |
|
6549 |
|
6550 |
|
6551 |
|
6552 |
|
6553 |
|
6554 |
|
6555 |
|
6556 | function hashGet(key) {
|
6557 | var data = this.__data__;
|
6558 | if (_nativeCreate) {
|
6559 | var result = data[key];
|
6560 | return result === HASH_UNDEFINED ? undefined : result;
|
6561 | }
|
6562 | return hasOwnProperty$2.call(data, key) ? data[key] : undefined;
|
6563 | }
|
6564 |
|
6565 | var _hashGet = hashGet;
|
6566 |
|
6567 |
|
6568 | var objectProto$4 = Object.prototype;
|
6569 |
|
6570 |
|
6571 | var hasOwnProperty$3 = objectProto$4.hasOwnProperty;
|
6572 |
|
6573 |
|
6574 |
|
6575 |
|
6576 |
|
6577 |
|
6578 |
|
6579 |
|
6580 |
|
6581 |
|
6582 | function hashHas(key) {
|
6583 | var data = this.__data__;
|
6584 | return _nativeCreate ? (data[key] !== undefined) : hasOwnProperty$3.call(data, key);
|
6585 | }
|
6586 |
|
6587 | var _hashHas = hashHas;
|
6588 |
|
6589 |
|
6590 | var HASH_UNDEFINED$1 = '__lodash_hash_undefined__';
|
6591 |
|
6592 |
|
6593 |
|
6594 |
|
6595 |
|
6596 |
|
6597 |
|
6598 |
|
6599 |
|
6600 |
|
6601 |
|
6602 | function hashSet(key, value) {
|
6603 | var data = this.__data__;
|
6604 | this.size += this.has(key) ? 0 : 1;
|
6605 | data[key] = (_nativeCreate && value === undefined) ? HASH_UNDEFINED$1 : value;
|
6606 | return this;
|
6607 | }
|
6608 |
|
6609 | var _hashSet = hashSet;
|
6610 |
|
6611 |
|
6612 |
|
6613 |
|
6614 |
|
6615 |
|
6616 |
|
6617 |
|
6618 | function Hash(entries) {
|
6619 | var index = -1,
|
6620 | length = entries == null ? 0 : entries.length;
|
6621 |
|
6622 | this.clear();
|
6623 | while (++index < length) {
|
6624 | var entry = entries[index];
|
6625 | this.set(entry[0], entry[1]);
|
6626 | }
|
6627 | }
|
6628 |
|
6629 |
|
6630 | Hash.prototype.clear = _hashClear;
|
6631 | Hash.prototype['delete'] = _hashDelete;
|
6632 | Hash.prototype.get = _hashGet;
|
6633 | Hash.prototype.has = _hashHas;
|
6634 | Hash.prototype.set = _hashSet;
|
6635 |
|
6636 | var _Hash = Hash;
|
6637 |
|
6638 |
|
6639 |
|
6640 |
|
6641 |
|
6642 |
|
6643 |
|
6644 |
|
6645 | function listCacheClear() {
|
6646 | this.__data__ = [];
|
6647 | this.size = 0;
|
6648 | }
|
6649 |
|
6650 | var _listCacheClear = listCacheClear;
|
6651 |
|
6652 |
|
6653 |
|
6654 |
|
6655 |
|
6656 |
|
6657 |
|
6658 |
|
6659 |
|
6660 |
|
6661 |
|
6662 |
|
6663 |
|
6664 |
|
6665 |
|
6666 |
|
6667 |
|
6668 |
|
6669 |
|
6670 |
|
6671 |
|
6672 |
|
6673 |
|
6674 |
|
6675 |
|
6676 |
|
6677 |
|
6678 |
|
6679 |
|
6680 |
|
6681 |
|
6682 |
|
6683 |
|
6684 | function eq(value, other) {
|
6685 | return value === other || (value !== value && other !== other);
|
6686 | }
|
6687 |
|
6688 | var eq_1 = eq;
|
6689 |
|
6690 |
|
6691 |
|
6692 |
|
6693 |
|
6694 |
|
6695 |
|
6696 |
|
6697 |
|
6698 | function assocIndexOf(array, key) {
|
6699 | var length = array.length;
|
6700 | while (length--) {
|
6701 | if (eq_1(array[length][0], key)) {
|
6702 | return length;
|
6703 | }
|
6704 | }
|
6705 | return -1;
|
6706 | }
|
6707 |
|
6708 | var _assocIndexOf = assocIndexOf;
|
6709 |
|
6710 |
|
6711 | var arrayProto = Array.prototype;
|
6712 |
|
6713 |
|
6714 | var splice = arrayProto.splice;
|
6715 |
|
6716 |
|
6717 |
|
6718 |
|
6719 |
|
6720 |
|
6721 |
|
6722 |
|
6723 |
|
6724 |
|
6725 | function listCacheDelete(key) {
|
6726 | var data = this.__data__,
|
6727 | index = _assocIndexOf(data, key);
|
6728 |
|
6729 | if (index < 0) {
|
6730 | return false;
|
6731 | }
|
6732 | var lastIndex = data.length - 1;
|
6733 | if (index == lastIndex) {
|
6734 | data.pop();
|
6735 | } else {
|
6736 | splice.call(data, index, 1);
|
6737 | }
|
6738 | --this.size;
|
6739 | return true;
|
6740 | }
|
6741 |
|
6742 | var _listCacheDelete = listCacheDelete;
|
6743 |
|
6744 |
|
6745 |
|
6746 |
|
6747 |
|
6748 |
|
6749 |
|
6750 |
|
6751 |
|
6752 |
|
6753 | function listCacheGet(key) {
|
6754 | var data = this.__data__,
|
6755 | index = _assocIndexOf(data, key);
|
6756 |
|
6757 | return index < 0 ? undefined : data[index][1];
|
6758 | }
|
6759 |
|
6760 | var _listCacheGet = listCacheGet;
|
6761 |
|
6762 |
|
6763 |
|
6764 |
|
6765 |
|
6766 |
|
6767 |
|
6768 |
|
6769 |
|
6770 |
|
6771 | function listCacheHas(key) {
|
6772 | return _assocIndexOf(this.__data__, key) > -1;
|
6773 | }
|
6774 |
|
6775 | var _listCacheHas = listCacheHas;
|
6776 |
|
6777 |
|
6778 |
|
6779 |
|
6780 |
|
6781 |
|
6782 |
|
6783 |
|
6784 |
|
6785 |
|
6786 |
|
6787 | function listCacheSet(key, value) {
|
6788 | var data = this.__data__,
|
6789 | index = _assocIndexOf(data, key);
|
6790 |
|
6791 | if (index < 0) {
|
6792 | ++this.size;
|
6793 | data.push([key, value]);
|
6794 | } else {
|
6795 | data[index][1] = value;
|
6796 | }
|
6797 | return this;
|
6798 | }
|
6799 |
|
6800 | var _listCacheSet = listCacheSet;
|
6801 |
|
6802 |
|
6803 |
|
6804 |
|
6805 |
|
6806 |
|
6807 |
|
6808 |
|
6809 | function ListCache(entries) {
|
6810 | var index = -1,
|
6811 | length = entries == null ? 0 : entries.length;
|
6812 |
|
6813 | this.clear();
|
6814 | while (++index < length) {
|
6815 | var entry = entries[index];
|
6816 | this.set(entry[0], entry[1]);
|
6817 | }
|
6818 | }
|
6819 |
|
6820 |
|
6821 | ListCache.prototype.clear = _listCacheClear;
|
6822 | ListCache.prototype['delete'] = _listCacheDelete;
|
6823 | ListCache.prototype.get = _listCacheGet;
|
6824 | ListCache.prototype.has = _listCacheHas;
|
6825 | ListCache.prototype.set = _listCacheSet;
|
6826 |
|
6827 | var _ListCache = ListCache;
|
6828 |
|
6829 |
|
6830 | var Map$1 = _getNative(_root, 'Map');
|
6831 |
|
6832 | var _Map = Map$1;
|
6833 |
|
6834 |
|
6835 |
|
6836 |
|
6837 |
|
6838 |
|
6839 |
|
6840 |
|
6841 | function mapCacheClear() {
|
6842 | this.size = 0;
|
6843 | this.__data__ = {
|
6844 | 'hash': new _Hash,
|
6845 | 'map': new (_Map || _ListCache),
|
6846 | 'string': new _Hash
|
6847 | };
|
6848 | }
|
6849 |
|
6850 | var _mapCacheClear = mapCacheClear;
|
6851 |
|
6852 |
|
6853 |
|
6854 |
|
6855 |
|
6856 |
|
6857 |
|
6858 |
|
6859 | function isKeyable(value) {
|
6860 | var type = typeof value;
|
6861 | return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
|
6862 | ? (value !== '__proto__')
|
6863 | : (value === null);
|
6864 | }
|
6865 |
|
6866 | var _isKeyable = isKeyable;
|
6867 |
|
6868 |
|
6869 |
|
6870 |
|
6871 |
|
6872 |
|
6873 |
|
6874 |
|
6875 |
|
6876 | function getMapData(map, key) {
|
6877 | var data = map.__data__;
|
6878 | return _isKeyable(key)
|
6879 | ? data[typeof key == 'string' ? 'string' : 'hash']
|
6880 | : data.map;
|
6881 | }
|
6882 |
|
6883 | var _getMapData = getMapData;
|
6884 |
|
6885 |
|
6886 |
|
6887 |
|
6888 |
|
6889 |
|
6890 |
|
6891 |
|
6892 |
|
6893 |
|
6894 | function mapCacheDelete(key) {
|
6895 | var result = _getMapData(this, key)['delete'](key);
|
6896 | this.size -= result ? 1 : 0;
|
6897 | return result;
|
6898 | }
|
6899 |
|
6900 | var _mapCacheDelete = mapCacheDelete;
|
6901 |
|
6902 |
|
6903 |
|
6904 |
|
6905 |
|
6906 |
|
6907 |
|
6908 |
|
6909 |
|
6910 |
|
6911 | function mapCacheGet(key) {
|
6912 | return _getMapData(this, key).get(key);
|
6913 | }
|
6914 |
|
6915 | var _mapCacheGet = mapCacheGet;
|
6916 |
|
6917 |
|
6918 |
|
6919 |
|
6920 |
|
6921 |
|
6922 |
|
6923 |
|
6924 |
|
6925 |
|
6926 | function mapCacheHas(key) {
|
6927 | return _getMapData(this, key).has(key);
|
6928 | }
|
6929 |
|
6930 | var _mapCacheHas = mapCacheHas;
|
6931 |
|
6932 |
|
6933 |
|
6934 |
|
6935 |
|
6936 |
|
6937 |
|
6938 |
|
6939 |
|
6940 |
|
6941 |
|
6942 | function mapCacheSet(key, value) {
|
6943 | var data = _getMapData(this, key),
|
6944 | size = data.size;
|
6945 |
|
6946 | data.set(key, value);
|
6947 | this.size += data.size == size ? 0 : 1;
|
6948 | return this;
|
6949 | }
|
6950 |
|
6951 | var _mapCacheSet = mapCacheSet;
|
6952 |
|
6953 |
|
6954 |
|
6955 |
|
6956 |
|
6957 |
|
6958 |
|
6959 |
|
6960 | function MapCache(entries) {
|
6961 | var index = -1,
|
6962 | length = entries == null ? 0 : entries.length;
|
6963 |
|
6964 | this.clear();
|
6965 | while (++index < length) {
|
6966 | var entry = entries[index];
|
6967 | this.set(entry[0], entry[1]);
|
6968 | }
|
6969 | }
|
6970 |
|
6971 |
|
6972 | MapCache.prototype.clear = _mapCacheClear;
|
6973 | MapCache.prototype['delete'] = _mapCacheDelete;
|
6974 | MapCache.prototype.get = _mapCacheGet;
|
6975 | MapCache.prototype.has = _mapCacheHas;
|
6976 | MapCache.prototype.set = _mapCacheSet;
|
6977 |
|
6978 | var _MapCache = MapCache;
|
6979 |
|
6980 |
|
6981 | var FUNC_ERROR_TEXT = 'Expected a function';
|
6982 |
|
6983 |
|
6984 |
|
6985 |
|
6986 |
|
6987 |
|
6988 |
|
6989 |
|
6990 |
|
6991 |
|
6992 |
|
6993 |
|
6994 |
|
6995 |
|
6996 |
|
6997 |
|
6998 |
|
6999 |
|
7000 |
|
7001 |
|
7002 |
|
7003 |
|
7004 |
|
7005 |
|
7006 |
|
7007 |
|
7008 |
|
7009 |
|
7010 |
|
7011 |
|
7012 |
|
7013 |
|
7014 |
|
7015 |
|
7016 |
|
7017 |
|
7018 |
|
7019 |
|
7020 |
|
7021 |
|
7022 |
|
7023 |
|
7024 |
|
7025 |
|
7026 |
|
7027 | function memoize(func, resolver) {
|
7028 | if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {
|
7029 | throw new TypeError(FUNC_ERROR_TEXT);
|
7030 | }
|
7031 | var memoized = function() {
|
7032 | var args = arguments,
|
7033 | key = resolver ? resolver.apply(this, args) : args[0],
|
7034 | cache = memoized.cache;
|
7035 |
|
7036 | if (cache.has(key)) {
|
7037 | return cache.get(key);
|
7038 | }
|
7039 | var result = func.apply(this, args);
|
7040 | memoized.cache = cache.set(key, result) || cache;
|
7041 | return result;
|
7042 | };
|
7043 | memoized.cache = new (memoize.Cache || _MapCache);
|
7044 | return memoized;
|
7045 | }
|
7046 |
|
7047 |
|
7048 | memoize.Cache = _MapCache;
|
7049 |
|
7050 | var memoize_1 = memoize;
|
7051 |
|
7052 |
|
7053 | var MAX_MEMOIZE_SIZE = 500;
|
7054 |
|
7055 |
|
7056 |
|
7057 |
|
7058 |
|
7059 |
|
7060 |
|
7061 |
|
7062 |
|
7063 | function memoizeCapped(func) {
|
7064 | var result = memoize_1(func, function(key) {
|
7065 | if (cache.size === MAX_MEMOIZE_SIZE) {
|
7066 | cache.clear();
|
7067 | }
|
7068 | return key;
|
7069 | });
|
7070 |
|
7071 | var cache = result.cache;
|
7072 | return result;
|
7073 | }
|
7074 |
|
7075 | var _memoizeCapped = memoizeCapped;
|
7076 |
|
7077 |
|
7078 | var reLeadingDot = /^\./;
|
7079 | var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
|
7080 |
|
7081 |
|
7082 | var reEscapeChar = /\\(\\)?/g;
|
7083 |
|
7084 |
|
7085 |
|
7086 |
|
7087 |
|
7088 |
|
7089 |
|
7090 |
|
7091 | var stringToPath = _memoizeCapped(function(string) {
|
7092 | var result = [];
|
7093 | if (reLeadingDot.test(string)) {
|
7094 | result.push('');
|
7095 | }
|
7096 | string.replace(rePropName, function(match, number, quote, string) {
|
7097 | result.push(quote ? string.replace(reEscapeChar, '$1') : (number || match));
|
7098 | });
|
7099 | return result;
|
7100 | });
|
7101 |
|
7102 | var _stringToPath = stringToPath;
|
7103 |
|
7104 |
|
7105 |
|
7106 |
|
7107 |
|
7108 |
|
7109 |
|
7110 |
|
7111 |
|
7112 |
|
7113 | function arrayMap(array, iteratee) {
|
7114 | var index = -1,
|
7115 | length = array == null ? 0 : array.length,
|
7116 | result = Array(length);
|
7117 |
|
7118 | while (++index < length) {
|
7119 | result[index] = iteratee(array[index], index, array);
|
7120 | }
|
7121 | return result;
|
7122 | }
|
7123 |
|
7124 | var _arrayMap = arrayMap;
|
7125 |
|
7126 |
|
7127 | var INFINITY$1 = 1 / 0;
|
7128 |
|
7129 |
|
7130 | var symbolProto = _Symbol ? _Symbol.prototype : undefined;
|
7131 | var symbolToString = symbolProto ? symbolProto.toString : undefined;
|
7132 |
|
7133 |
|
7134 |
|
7135 |
|
7136 |
|
7137 |
|
7138 |
|
7139 |
|
7140 |
|
7141 | function baseToString(value) {
|
7142 |
|
7143 | if (typeof value == 'string') {
|
7144 | return value;
|
7145 | }
|
7146 | if (isArray_1(value)) {
|
7147 |
|
7148 | return _arrayMap(value, baseToString) + '';
|
7149 | }
|
7150 | if (isSymbol_1(value)) {
|
7151 | return symbolToString ? symbolToString.call(value) : '';
|
7152 | }
|
7153 | var result = (value + '');
|
7154 | return (result == '0' && (1 / value) == -INFINITY$1) ? '-0' : result;
|
7155 | }
|
7156 |
|
7157 | var _baseToString = baseToString;
|
7158 |
|
7159 |
|
7160 |
|
7161 |
|
7162 |
|
7163 |
|
7164 |
|
7165 |
|
7166 |
|
7167 |
|
7168 |
|
7169 |
|
7170 |
|
7171 |
|
7172 |
|
7173 |
|
7174 |
|
7175 |
|
7176 |
|
7177 |
|
7178 |
|
7179 |
|
7180 | function toString(value) {
|
7181 | return value == null ? '' : _baseToString(value);
|
7182 | }
|
7183 |
|
7184 | var toString_1 = toString;
|
7185 |
|
7186 |
|
7187 |
|
7188 |
|
7189 |
|
7190 |
|
7191 |
|
7192 |
|
7193 |
|
7194 | function castPath(value, object) {
|
7195 | if (isArray_1(value)) {
|
7196 | return value;
|
7197 | }
|
7198 | return _isKey(value, object) ? [value] : _stringToPath(toString_1(value));
|
7199 | }
|
7200 |
|
7201 | var _castPath = castPath;
|
7202 |
|
7203 |
|
7204 | var INFINITY$2 = 1 / 0;
|
7205 |
|
7206 |
|
7207 |
|
7208 |
|
7209 |
|
7210 |
|
7211 |
|
7212 |
|
7213 | function toKey(value) {
|
7214 | if (typeof value == 'string' || isSymbol_1(value)) {
|
7215 | return value;
|
7216 | }
|
7217 | var result = (value + '');
|
7218 | return (result == '0' && (1 / value) == -INFINITY$2) ? '-0' : result;
|
7219 | }
|
7220 |
|
7221 | var _toKey = toKey;
|
7222 |
|
7223 |
|
7224 |
|
7225 |
|
7226 |
|
7227 |
|
7228 |
|
7229 |
|
7230 |
|
7231 | function baseGet(object, path) {
|
7232 | path = _castPath(path, object);
|
7233 |
|
7234 | var index = 0,
|
7235 | length = path.length;
|
7236 |
|
7237 | while (object != null && index < length) {
|
7238 | object = object[_toKey(path[index++])];
|
7239 | }
|
7240 | return (index && index == length) ? object : undefined;
|
7241 | }
|
7242 |
|
7243 | var _baseGet = baseGet;
|
7244 |
|
7245 |
|
7246 |
|
7247 |
|
7248 |
|
7249 |
|
7250 |
|
7251 |
|
7252 |
|
7253 |
|
7254 |
|
7255 |
|
7256 |
|
7257 |
|
7258 |
|
7259 |
|
7260 |
|
7261 |
|
7262 |
|
7263 |
|
7264 |
|
7265 |
|
7266 |
|
7267 |
|
7268 |
|
7269 |
|
7270 | function get$2(object, path, defaultValue) {
|
7271 | var result = object == null ? undefined : _baseGet(object, path);
|
7272 | return result === undefined ? defaultValue : result;
|
7273 | }
|
7274 |
|
7275 | var get_1 = get$2;
|
7276 |
|
7277 | var _templateObject$4 = taggedTemplateLiteral(['\n font-size: ', '\n '], ['\n font-size: ', '\n ']);
|
7278 |
|
7279 | var SmallCaps = styled__default.span.withConfig({
|
7280 | displayName: 'small-caps__SmallCaps',
|
7281 | componentId: 's7vnjyj-0'
|
7282 | })([['{font-family:', function (props) {
|
7283 | return get_1(props.theme, 'font.header');
|
7284 | }, ';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) {
|
7285 | return props.large ? '0.875em' : '0.5em';
|
7286 | }, ';text-transform:uppercase;', media.medium(_templateObject$4, function (props) {
|
7287 | return props.large ? '1em' : '0.75em';
|
7288 | }), ';}']]);
|
7289 |
|
7290 | var _templateObject$5 = taggedTemplateLiteral(['\n margin-left: -', ';\n margin-right: -', ';\n '], ['\n margin-left: -', ';\n margin-right: -', ';\n ']);
|
7291 |
|
7292 | function push(props) {
|
7293 | var theme = props.theme;
|
7294 |
|
7295 | return Object.keys(theme.breakpoint).map(function (breakpoint) {
|
7296 | return media[breakpoint](_templateObject$5, rem(theme.grid.gutter[breakpoint] / 2), rem(theme.grid.gutter[breakpoint] / 2));
|
7297 | });
|
7298 | }
|
7299 |
|
7300 | var row = styled__default.div.withConfig({
|
7301 | displayName: 'row',
|
7302 | componentId: 'xc0kma-0'
|
7303 | })([['{', 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) {
|
7304 | return props.column ? 'column' : 'row';
|
7305 | }, ';-ms-flex-direction:', function (props) {
|
7306 | return props.column ? 'column' : 'row';
|
7307 | }, ';flex-direction:', function (props) {
|
7308 | return props.column ? 'column' : 'row';
|
7309 | }, ';-webkit-box-pack:', function (props) {
|
7310 | return props.justify || 'flex-start';
|
7311 | }, ';-webkit-justify-content:', function (props) {
|
7312 | return props.justify || 'flex-start';
|
7313 | }, ';-ms-flex-pack:', function (props) {
|
7314 | return props.justify || 'flex-start';
|
7315 | }, ';justify-content:', function (props) {
|
7316 | return props.justify || 'flex-start';
|
7317 | }, ';', function (props) {
|
7318 | return props.align && 'align-items: ' + props.align + ';';
|
7319 | }, ';}']]);
|
7320 |
|
7321 |
|
7322 |
|
7323 |
|
7324 |
|
7325 |
|
7326 |
|
7327 |
|
7328 |
|
7329 |
|
7330 |
|
7331 | var FUNC_ERROR_TEXT$1 = 'Expected a function';
|
7332 |
|
7333 |
|
7334 | var HASH_UNDEFINED$2 = '__lodash_hash_undefined__';
|
7335 |
|
7336 |
|
7337 | var INFINITY$3 = 1 / 0;
|
7338 |
|
7339 |
|
7340 | var funcTag$1 = '[object Function]';
|
7341 | var genTag$1 = '[object GeneratorFunction]';
|
7342 | var symbolTag$1 = '[object Symbol]';
|
7343 |
|
7344 |
|
7345 | var reIsDeepProp$1 = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/;
|
7346 | var reIsPlainProp$1 = /^\w*$/;
|
7347 | var reLeadingDot$1 = /^\./;
|
7348 | var rePropName$1 = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
|
7349 |
|
7350 |
|
7351 |
|
7352 |
|
7353 |
|
7354 | var reRegExpChar$1 = /[\\^$.*+?()[\]{}|]/g;
|
7355 |
|
7356 |
|
7357 | var reEscapeChar$1 = /\\(\\)?/g;
|
7358 |
|
7359 |
|
7360 | var reIsHostCtor$1 = /^\[object .+?Constructor\]$/;
|
7361 |
|
7362 |
|
7363 | var freeGlobal$2 = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
|
7364 |
|
7365 |
|
7366 | var freeSelf$1 = typeof self == 'object' && self && self.Object === Object && self;
|
7367 |
|
7368 |
|
7369 | var root$2 = freeGlobal$2 || freeSelf$1 || Function('return this')();
|
7370 |
|
7371 |
|
7372 |
|
7373 |
|
7374 |
|
7375 |
|
7376 |
|
7377 |
|
7378 |
|
7379 | function getValue$2(object, key) {
|
7380 | return object == null ? undefined : object[key];
|
7381 | }
|
7382 |
|
7383 |
|
7384 |
|
7385 |
|
7386 |
|
7387 |
|
7388 |
|
7389 |
|
7390 | function isHostObject(value) {
|
7391 |
|
7392 |
|
7393 | var result = false;
|
7394 | if (value != null && typeof value.toString != 'function') {
|
7395 | try {
|
7396 | result = !!(value + '');
|
7397 | } catch (e) {}
|
7398 | }
|
7399 | return result;
|
7400 | }
|
7401 |
|
7402 |
|
7403 | var arrayProto$1 = Array.prototype;
|
7404 | var funcProto$2 = Function.prototype;
|
7405 | var objectProto$5 = Object.prototype;
|
7406 |
|
7407 |
|
7408 | var coreJsData$2 = root$2['__core-js_shared__'];
|
7409 |
|
7410 |
|
7411 | var maskSrcKey$1 = (function() {
|
7412 | var uid = /[^.]+$/.exec(coreJsData$2 && coreJsData$2.keys && coreJsData$2.keys.IE_PROTO || '');
|
7413 | return uid ? ('Symbol(src)_1.' + uid) : '';
|
7414 | }());
|
7415 |
|
7416 |
|
7417 | var funcToString$2 = funcProto$2.toString;
|
7418 |
|
7419 |
|
7420 | var hasOwnProperty$4 = objectProto$5.hasOwnProperty;
|
7421 |
|
7422 |
|
7423 |
|
7424 |
|
7425 |
|
7426 |
|
7427 | var objectToString$2 = objectProto$5.toString;
|
7428 |
|
7429 |
|
7430 | var reIsNative$1 = RegExp('^' +
|
7431 | funcToString$2.call(hasOwnProperty$4).replace(reRegExpChar$1, '\\$&')
|
7432 | .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
|
7433 | );
|
7434 |
|
7435 |
|
7436 | var Symbol$3 = root$2.Symbol;
|
7437 | var splice$1 = arrayProto$1.splice;
|
7438 |
|
7439 |
|
7440 | var Map$3 = getNative$2(root$2, 'Map');
|
7441 | var nativeCreate$2 = getNative$2(Object, 'create');
|
7442 |
|
7443 |
|
7444 | var symbolProto$1 = Symbol$3 ? Symbol$3.prototype : undefined;
|
7445 | var symbolToString$1 = symbolProto$1 ? symbolProto$1.toString : undefined;
|
7446 |
|
7447 |
|
7448 |
|
7449 |
|
7450 |
|
7451 |
|
7452 |
|
7453 |
|
7454 | function Hash$2(entries) {
|
7455 | var index = -1,
|
7456 | length = entries ? entries.length : 0;
|
7457 |
|
7458 | this.clear();
|
7459 | while (++index < length) {
|
7460 | var entry = entries[index];
|
7461 | this.set(entry[0], entry[1]);
|
7462 | }
|
7463 | }
|
7464 |
|
7465 |
|
7466 |
|
7467 |
|
7468 |
|
7469 |
|
7470 |
|
7471 |
|
7472 | function hashClear$2() {
|
7473 | this.__data__ = nativeCreate$2 ? nativeCreate$2(null) : {};
|
7474 | }
|
7475 |
|
7476 |
|
7477 |
|
7478 |
|
7479 |
|
7480 |
|
7481 |
|
7482 |
|
7483 |
|
7484 |
|
7485 |
|
7486 | function hashDelete$2(key) {
|
7487 | return this.has(key) && delete this.__data__[key];
|
7488 | }
|
7489 |
|
7490 |
|
7491 |
|
7492 |
|
7493 |
|
7494 |
|
7495 |
|
7496 |
|
7497 |
|
7498 |
|
7499 | function hashGet$2(key) {
|
7500 | var data = this.__data__;
|
7501 | if (nativeCreate$2) {
|
7502 | var result = data[key];
|
7503 | return result === HASH_UNDEFINED$2 ? undefined : result;
|
7504 | }
|
7505 | return hasOwnProperty$4.call(data, key) ? data[key] : undefined;
|
7506 | }
|
7507 |
|
7508 |
|
7509 |
|
7510 |
|
7511 |
|
7512 |
|
7513 |
|
7514 |
|
7515 |
|
7516 |
|
7517 | function hashHas$2(key) {
|
7518 | var data = this.__data__;
|
7519 | return nativeCreate$2 ? data[key] !== undefined : hasOwnProperty$4.call(data, key);
|
7520 | }
|
7521 |
|
7522 |
|
7523 |
|
7524 |
|
7525 |
|
7526 |
|
7527 |
|
7528 |
|
7529 |
|
7530 |
|
7531 |
|
7532 | function hashSet$2(key, value) {
|
7533 | var data = this.__data__;
|
7534 | data[key] = (nativeCreate$2 && value === undefined) ? HASH_UNDEFINED$2 : value;
|
7535 | return this;
|
7536 | }
|
7537 |
|
7538 |
|
7539 | Hash$2.prototype.clear = hashClear$2;
|
7540 | Hash$2.prototype['delete'] = hashDelete$2;
|
7541 | Hash$2.prototype.get = hashGet$2;
|
7542 | Hash$2.prototype.has = hashHas$2;
|
7543 | Hash$2.prototype.set = hashSet$2;
|
7544 |
|
7545 |
|
7546 |
|
7547 |
|
7548 |
|
7549 |
|
7550 |
|
7551 |
|
7552 | function ListCache$2(entries) {
|
7553 | var index = -1,
|
7554 | length = entries ? entries.length : 0;
|
7555 |
|
7556 | this.clear();
|
7557 | while (++index < length) {
|
7558 | var entry = entries[index];
|
7559 | this.set(entry[0], entry[1]);
|
7560 | }
|
7561 | }
|
7562 |
|
7563 |
|
7564 |
|
7565 |
|
7566 |
|
7567 |
|
7568 |
|
7569 |
|
7570 | function listCacheClear$2() {
|
7571 | this.__data__ = [];
|
7572 | }
|
7573 |
|
7574 |
|
7575 |
|
7576 |
|
7577 |
|
7578 |
|
7579 |
|
7580 |
|
7581 |
|
7582 |
|
7583 | function listCacheDelete$2(key) {
|
7584 | var data = this.__data__,
|
7585 | index = assocIndexOf$2(data, key);
|
7586 |
|
7587 | if (index < 0) {
|
7588 | return false;
|
7589 | }
|
7590 | var lastIndex = data.length - 1;
|
7591 | if (index == lastIndex) {
|
7592 | data.pop();
|
7593 | } else {
|
7594 | splice$1.call(data, index, 1);
|
7595 | }
|
7596 | return true;
|
7597 | }
|
7598 |
|
7599 |
|
7600 |
|
7601 |
|
7602 |
|
7603 |
|
7604 |
|
7605 |
|
7606 |
|
7607 |
|
7608 | function listCacheGet$2(key) {
|
7609 | var data = this.__data__,
|
7610 | index = assocIndexOf$2(data, key);
|
7611 |
|
7612 | return index < 0 ? undefined : data[index][1];
|
7613 | }
|
7614 |
|
7615 |
|
7616 |
|
7617 |
|
7618 |
|
7619 |
|
7620 |
|
7621 |
|
7622 |
|
7623 |
|
7624 | function listCacheHas$2(key) {
|
7625 | return assocIndexOf$2(this.__data__, key) > -1;
|
7626 | }
|
7627 |
|
7628 |
|
7629 |
|
7630 |
|
7631 |
|
7632 |
|
7633 |
|
7634 |
|
7635 |
|
7636 |
|
7637 |
|
7638 | function listCacheSet$2(key, value) {
|
7639 | var data = this.__data__,
|
7640 | index = assocIndexOf$2(data, key);
|
7641 |
|
7642 | if (index < 0) {
|
7643 | data.push([key, value]);
|
7644 | } else {
|
7645 | data[index][1] = value;
|
7646 | }
|
7647 | return this;
|
7648 | }
|
7649 |
|
7650 |
|
7651 | ListCache$2.prototype.clear = listCacheClear$2;
|
7652 | ListCache$2.prototype['delete'] = listCacheDelete$2;
|
7653 | ListCache$2.prototype.get = listCacheGet$2;
|
7654 | ListCache$2.prototype.has = listCacheHas$2;
|
7655 | ListCache$2.prototype.set = listCacheSet$2;
|
7656 |
|
7657 |
|
7658 |
|
7659 |
|
7660 |
|
7661 |
|
7662 |
|
7663 |
|
7664 | function MapCache$2(entries) {
|
7665 | var index = -1,
|
7666 | length = entries ? entries.length : 0;
|
7667 |
|
7668 | this.clear();
|
7669 | while (++index < length) {
|
7670 | var entry = entries[index];
|
7671 | this.set(entry[0], entry[1]);
|
7672 | }
|
7673 | }
|
7674 |
|
7675 |
|
7676 |
|
7677 |
|
7678 |
|
7679 |
|
7680 |
|
7681 |
|
7682 | function mapCacheClear$2() {
|
7683 | this.__data__ = {
|
7684 | 'hash': new Hash$2,
|
7685 | 'map': new (Map$3 || ListCache$2),
|
7686 | 'string': new Hash$2
|
7687 | };
|
7688 | }
|
7689 |
|
7690 |
|
7691 |
|
7692 |
|
7693 |
|
7694 |
|
7695 |
|
7696 |
|
7697 |
|
7698 |
|
7699 | function mapCacheDelete$2(key) {
|
7700 | return getMapData$2(this, key)['delete'](key);
|
7701 | }
|
7702 |
|
7703 |
|
7704 |
|
7705 |
|
7706 |
|
7707 |
|
7708 |
|
7709 |
|
7710 |
|
7711 |
|
7712 | function mapCacheGet$2(key) {
|
7713 | return getMapData$2(this, key).get(key);
|
7714 | }
|
7715 |
|
7716 |
|
7717 |
|
7718 |
|
7719 |
|
7720 |
|
7721 |
|
7722 |
|
7723 |
|
7724 |
|
7725 | function mapCacheHas$2(key) {
|
7726 | return getMapData$2(this, key).has(key);
|
7727 | }
|
7728 |
|
7729 |
|
7730 |
|
7731 |
|
7732 |
|
7733 |
|
7734 |
|
7735 |
|
7736 |
|
7737 |
|
7738 |
|
7739 | function mapCacheSet$2(key, value) {
|
7740 | getMapData$2(this, key).set(key, value);
|
7741 | return this;
|
7742 | }
|
7743 |
|
7744 |
|
7745 | MapCache$2.prototype.clear = mapCacheClear$2;
|
7746 | MapCache$2.prototype['delete'] = mapCacheDelete$2;
|
7747 | MapCache$2.prototype.get = mapCacheGet$2;
|
7748 | MapCache$2.prototype.has = mapCacheHas$2;
|
7749 | MapCache$2.prototype.set = mapCacheSet$2;
|
7750 |
|
7751 |
|
7752 |
|
7753 |
|
7754 |
|
7755 |
|
7756 |
|
7757 |
|
7758 |
|
7759 | function assocIndexOf$2(array, key) {
|
7760 | var length = array.length;
|
7761 | while (length--) {
|
7762 | if (eq$2(array[length][0], key)) {
|
7763 | return length;
|
7764 | }
|
7765 | }
|
7766 | return -1;
|
7767 | }
|
7768 |
|
7769 |
|
7770 |
|
7771 |
|
7772 |
|
7773 |
|
7774 |
|
7775 |
|
7776 |
|
7777 | function baseGet$2(object, path) {
|
7778 | path = isKey$2(path, object) ? [path] : castPath$2(path);
|
7779 |
|
7780 | var index = 0,
|
7781 | length = path.length;
|
7782 |
|
7783 | while (object != null && index < length) {
|
7784 | object = object[toKey$2(path[index++])];
|
7785 | }
|
7786 | return (index && index == length) ? object : undefined;
|
7787 | }
|
7788 |
|
7789 |
|
7790 |
|
7791 |
|
7792 |
|
7793 |
|
7794 |
|
7795 |
|
7796 |
|
7797 | function baseIsNative$2(value) {
|
7798 | if (!isObject$2(value) || isMasked$2(value)) {
|
7799 | return false;
|
7800 | }
|
7801 | var pattern = (isFunction$2(value) || isHostObject(value)) ? reIsNative$1 : reIsHostCtor$1;
|
7802 | return pattern.test(toSource$2(value));
|
7803 | }
|
7804 |
|
7805 |
|
7806 |
|
7807 |
|
7808 |
|
7809 |
|
7810 |
|
7811 |
|
7812 |
|
7813 | function baseToString$2(value) {
|
7814 |
|
7815 | if (typeof value == 'string') {
|
7816 | return value;
|
7817 | }
|
7818 | if (isSymbol$2(value)) {
|
7819 | return symbolToString$1 ? symbolToString$1.call(value) : '';
|
7820 | }
|
7821 | var result = (value + '');
|
7822 | return (result == '0' && (1 / value) == -INFINITY$3) ? '-0' : result;
|
7823 | }
|
7824 |
|
7825 |
|
7826 |
|
7827 |
|
7828 |
|
7829 |
|
7830 |
|
7831 |
|
7832 | function castPath$2(value) {
|
7833 | return isArray$2(value) ? value : stringToPath$2(value);
|
7834 | }
|
7835 |
|
7836 |
|
7837 |
|
7838 |
|
7839 |
|
7840 |
|
7841 |
|
7842 |
|
7843 |
|
7844 | function getMapData$2(map, key) {
|
7845 | var data = map.__data__;
|
7846 | return isKeyable$2(key)
|
7847 | ? data[typeof key == 'string' ? 'string' : 'hash']
|
7848 | : data.map;
|
7849 | }
|
7850 |
|
7851 |
|
7852 |
|
7853 |
|
7854 |
|
7855 |
|
7856 |
|
7857 |
|
7858 |
|
7859 | function getNative$2(object, key) {
|
7860 | var value = getValue$2(object, key);
|
7861 | return baseIsNative$2(value) ? value : undefined;
|
7862 | }
|
7863 |
|
7864 |
|
7865 |
|
7866 |
|
7867 |
|
7868 |
|
7869 |
|
7870 |
|
7871 |
|
7872 | function isKey$2(value, object) {
|
7873 | if (isArray$2(value)) {
|
7874 | return false;
|
7875 | }
|
7876 | var type = typeof value;
|
7877 | if (type == 'number' || type == 'symbol' || type == 'boolean' ||
|
7878 | value == null || isSymbol$2(value)) {
|
7879 | return true;
|
7880 | }
|
7881 | return reIsPlainProp$1.test(value) || !reIsDeepProp$1.test(value) ||
|
7882 | (object != null && value in Object(object));
|
7883 | }
|
7884 |
|
7885 |
|
7886 |
|
7887 |
|
7888 |
|
7889 |
|
7890 |
|
7891 |
|
7892 | function isKeyable$2(value) {
|
7893 | var type = typeof value;
|
7894 | return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
|
7895 | ? (value !== '__proto__')
|
7896 | : (value === null);
|
7897 | }
|
7898 |
|
7899 |
|
7900 |
|
7901 |
|
7902 |
|
7903 |
|
7904 |
|
7905 |
|
7906 | function isMasked$2(func) {
|
7907 | return !!maskSrcKey$1 && (maskSrcKey$1 in func);
|
7908 | }
|
7909 |
|
7910 |
|
7911 |
|
7912 |
|
7913 |
|
7914 |
|
7915 |
|
7916 |
|
7917 | var stringToPath$2 = memoize$2(function(string) {
|
7918 | string = toString$2(string);
|
7919 |
|
7920 | var result = [];
|
7921 | if (reLeadingDot$1.test(string)) {
|
7922 | result.push('');
|
7923 | }
|
7924 | string.replace(rePropName$1, function(match, number, quote, string) {
|
7925 | result.push(quote ? string.replace(reEscapeChar$1, '$1') : (number || match));
|
7926 | });
|
7927 | return result;
|
7928 | });
|
7929 |
|
7930 |
|
7931 |
|
7932 |
|
7933 |
|
7934 |
|
7935 |
|
7936 |
|
7937 | function toKey$2(value) {
|
7938 | if (typeof value == 'string' || isSymbol$2(value)) {
|
7939 | return value;
|
7940 | }
|
7941 | var result = (value + '');
|
7942 | return (result == '0' && (1 / value) == -INFINITY$3) ? '-0' : result;
|
7943 | }
|
7944 |
|
7945 |
|
7946 |
|
7947 |
|
7948 |
|
7949 |
|
7950 |
|
7951 |
|
7952 | function toSource$2(func) {
|
7953 | if (func != null) {
|
7954 | try {
|
7955 | return funcToString$2.call(func);
|
7956 | } catch (e) {}
|
7957 | try {
|
7958 | return (func + '');
|
7959 | } catch (e) {}
|
7960 | }
|
7961 | return '';
|
7962 | }
|
7963 |
|
7964 |
|
7965 |
|
7966 |
|
7967 |
|
7968 |
|
7969 |
|
7970 |
|
7971 |
|
7972 |
|
7973 |
|
7974 |
|
7975 |
|
7976 |
|
7977 |
|
7978 |
|
7979 |
|
7980 |
|
7981 |
|
7982 |
|
7983 |
|
7984 |
|
7985 |
|
7986 |
|
7987 |
|
7988 |
|
7989 |
|
7990 |
|
7991 |
|
7992 |
|
7993 |
|
7994 |
|
7995 |
|
7996 |
|
7997 |
|
7998 |
|
7999 |
|
8000 |
|
8001 |
|
8002 |
|
8003 |
|
8004 |
|
8005 |
|
8006 |
|
8007 |
|
8008 | function memoize$2(func, resolver) {
|
8009 | if (typeof func != 'function' || (resolver && typeof resolver != 'function')) {
|
8010 | throw new TypeError(FUNC_ERROR_TEXT$1);
|
8011 | }
|
8012 | var memoized = function() {
|
8013 | var args = arguments,
|
8014 | key = resolver ? resolver.apply(this, args) : args[0],
|
8015 | cache = memoized.cache;
|
8016 |
|
8017 | if (cache.has(key)) {
|
8018 | return cache.get(key);
|
8019 | }
|
8020 | var result = func.apply(this, args);
|
8021 | memoized.cache = cache.set(key, result);
|
8022 | return result;
|
8023 | };
|
8024 | memoized.cache = new (memoize$2.Cache || MapCache$2);
|
8025 | return memoized;
|
8026 | }
|
8027 |
|
8028 |
|
8029 | memoize$2.Cache = MapCache$2;
|
8030 |
|
8031 |
|
8032 |
|
8033 |
|
8034 |
|
8035 |
|
8036 |
|
8037 |
|
8038 |
|
8039 |
|
8040 |
|
8041 |
|
8042 |
|
8043 |
|
8044 |
|
8045 |
|
8046 |
|
8047 |
|
8048 |
|
8049 |
|
8050 |
|
8051 |
|
8052 |
|
8053 |
|
8054 |
|
8055 |
|
8056 |
|
8057 |
|
8058 |
|
8059 |
|
8060 |
|
8061 |
|
8062 |
|
8063 | function eq$2(value, other) {
|
8064 | return value === other || (value !== value && other !== other);
|
8065 | }
|
8066 |
|
8067 |
|
8068 |
|
8069 |
|
8070 |
|
8071 |
|
8072 |
|
8073 |
|
8074 |
|
8075 |
|
8076 |
|
8077 |
|
8078 |
|
8079 |
|
8080 |
|
8081 |
|
8082 |
|
8083 |
|
8084 |
|
8085 |
|
8086 |
|
8087 |
|
8088 |
|
8089 |
|
8090 | var isArray$2 = Array.isArray;
|
8091 |
|
8092 |
|
8093 |
|
8094 |
|
8095 |
|
8096 |
|
8097 |
|
8098 |
|
8099 |
|
8100 |
|
8101 |
|
8102 |
|
8103 |
|
8104 |
|
8105 |
|
8106 |
|
8107 |
|
8108 |
|
8109 | function isFunction$2(value) {
|
8110 |
|
8111 |
|
8112 | var tag = isObject$2(value) ? objectToString$2.call(value) : '';
|
8113 | return tag == funcTag$1 || tag == genTag$1;
|
8114 | }
|
8115 |
|
8116 |
|
8117 |
|
8118 |
|
8119 |
|
8120 |
|
8121 |
|
8122 |
|
8123 |
|
8124 |
|
8125 |
|
8126 |
|
8127 |
|
8128 |
|
8129 |
|
8130 |
|
8131 |
|
8132 |
|
8133 |
|
8134 |
|
8135 |
|
8136 |
|
8137 |
|
8138 |
|
8139 |
|
8140 |
|
8141 | function isObject$2(value) {
|
8142 | var type = typeof value;
|
8143 | return !!value && (type == 'object' || type == 'function');
|
8144 | }
|
8145 |
|
8146 |
|
8147 |
|
8148 |
|
8149 |
|
8150 |
|
8151 |
|
8152 |
|
8153 |
|
8154 |
|
8155 |
|
8156 |
|
8157 |
|
8158 |
|
8159 |
|
8160 |
|
8161 |
|
8162 |
|
8163 |
|
8164 |
|
8165 |
|
8166 |
|
8167 |
|
8168 |
|
8169 |
|
8170 | function isObjectLike$2(value) {
|
8171 | return !!value && typeof value == 'object';
|
8172 | }
|
8173 |
|
8174 |
|
8175 |
|
8176 |
|
8177 |
|
8178 |
|
8179 |
|
8180 |
|
8181 |
|
8182 |
|
8183 |
|
8184 |
|
8185 |
|
8186 |
|
8187 |
|
8188 |
|
8189 |
|
8190 |
|
8191 | function isSymbol$2(value) {
|
8192 | return typeof value == 'symbol' ||
|
8193 | (isObjectLike$2(value) && objectToString$2.call(value) == symbolTag$1);
|
8194 | }
|
8195 |
|
8196 |
|
8197 |
|
8198 |
|
8199 |
|
8200 |
|
8201 |
|
8202 |
|
8203 |
|
8204 |
|
8205 |
|
8206 |
|
8207 |
|
8208 |
|
8209 |
|
8210 |
|
8211 |
|
8212 |
|
8213 |
|
8214 |
|
8215 |
|
8216 |
|
8217 | function toString$2(value) {
|
8218 | return value == null ? '' : baseToString$2(value);
|
8219 | }
|
8220 |
|
8221 |
|
8222 |
|
8223 |
|
8224 |
|
8225 |
|
8226 |
|
8227 |
|
8228 |
|
8229 |
|
8230 |
|
8231 |
|
8232 |
|
8233 |
|
8234 |
|
8235 |
|
8236 |
|
8237 |
|
8238 |
|
8239 |
|
8240 |
|
8241 |
|
8242 |
|
8243 |
|
8244 |
|
8245 |
|
8246 | function get$4(object, path, defaultValue) {
|
8247 | var result = object == null ? undefined : baseGet$2(object, path);
|
8248 | return result === undefined ? defaultValue : result;
|
8249 | }
|
8250 |
|
8251 | var lodash_get = get$4;
|
8252 |
|
8253 | var box = styled__default.div.withConfig({
|
8254 | displayName: 'box',
|
8255 | componentId: 's1kv4bvd-0'
|
8256 | })([['{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;', function (props) {
|
8257 | return props.background && styled.css([['{background:', lodash_get(props.theme.color, props.background), ';}']]);
|
8258 | }, ';', function (props) {
|
8259 | return props.justify ? 'justify-content: ' + props.justify + ';' : '';
|
8260 | }, ';', function (props) {
|
8261 | return props.align ? 'align-items: ' + props.align + ';' : '';
|
8262 | }, ';', function (props) {
|
8263 | return props.wrap ? 'flex-wrap: ' + props.wrap + ';' : '';
|
8264 | }, ';-webkit-flex-direction:', function (props) {
|
8265 | var suffix = props.reverse ? '-reverse' : '';
|
8266 | return props.column ? 'column' + suffix : 'row' + suffix;
|
8267 | }, ';-ms-flex-direction:', function (props) {
|
8268 | var suffix = props.reverse ? '-reverse' : '';return props.column ? 'column' + suffix : 'row' + suffix;
|
8269 | }, ';flex-direction:', function (props) {
|
8270 | var suffix = props.reverse ? '-reverse' : '';return props.column ? 'column' + suffix : 'row' + suffix;
|
8271 | }, ';', margin(), ';', padding$1(), ';}']]);
|
8272 |
|
8273 | var _templateObject$6 = taggedTemplateLiteral(['max-width: ', ''], ['max-width: ', '']);
|
8274 | var _templateObject2$1 = taggedTemplateLiteral(['\n padding-left: ', ';\n padding-right: ', ';\n '], ['\n padding-left: ', ';\n padding-right: ', ';\n ']);
|
8275 |
|
8276 | function container(props) {
|
8277 | var theme = props.theme,
|
8278 | fluid = props.fluid;
|
8279 |
|
8280 |
|
8281 | if (fluid) {
|
8282 | return null;
|
8283 | }
|
8284 |
|
8285 | return Object.keys(theme.breakpoint).map(function (breakpoint) {
|
8286 | return media[breakpoint](_templateObject$6, rem(theme.grid.container[breakpoint]));
|
8287 | });
|
8288 | }
|
8289 |
|
8290 | function offset(props) {
|
8291 | var theme = props.theme;
|
8292 |
|
8293 | return Object.keys(theme.breakpoint).map(function (breakpoint) {
|
8294 | return media[breakpoint](_templateObject2$1, rem(theme.grid.offset[breakpoint]), rem(theme.grid.offset[breakpoint]));
|
8295 | });
|
8296 | }
|
8297 |
|
8298 | var grid = styled__default.div.withConfig({
|
8299 | displayName: 'grid',
|
8300 | componentId: 'atvfvk-0'
|
8301 | })([['{width:100%;box-sizing:border-box;margin-left:auto;margin-right:auto;', container, ' ', offset, ';}']]);
|
8302 |
|
8303 | var _templateObject$7 = taggedTemplateLiteral(['\n flex-basis: ', '%;\n max-width: ', '%;\n '], ['\n flex-basis: ', '%;\n max-width: ', '%;\n ']);
|
8304 | var _templateObject2$2 = taggedTemplateLiteral(['\n padding-left: ', ';\n padding-right: ', ';\n ', ';\n '], ['\n padding-left: ', ';\n padding-right: ', ';\n ', ';\n ']);
|
8305 | var _templateObject3$1 = taggedTemplateLiteral(['\n margin-left: ', '%;\n '], ['\n margin-left: ', '%;\n ']);
|
8306 |
|
8307 | var shorthands = {
|
8308 | extraSmall: 'xs',
|
8309 | small: 'sm',
|
8310 | medium: 'md',
|
8311 | large: 'lg',
|
8312 | extraLarge: 'xl'
|
8313 | };
|
8314 |
|
8315 | function width(props) {
|
8316 | var theme = props.theme;
|
8317 |
|
8318 |
|
8319 | return Object.keys(theme.breakpoint).map(function (breakpoint) {
|
8320 | var key = shorthands[breakpoint];
|
8321 |
|
8322 | if (!props[key]) {
|
8323 | return null;
|
8324 | }
|
8325 |
|
8326 | return media[breakpoint](_templateObject$7, function (props) {
|
8327 | return props[key] * 100;
|
8328 | }, function (props) {
|
8329 | return props[key] * 100;
|
8330 | });
|
8331 | });
|
8332 | }
|
8333 |
|
8334 | function gutter(props) {
|
8335 | var theme = props.theme;
|
8336 |
|
8337 |
|
8338 | return Object.keys(theme.breakpoint).map(function (breakpoint) {
|
8339 | 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]));
|
8340 | });
|
8341 | }
|
8342 |
|
8343 | function push$1(props) {
|
8344 | var theme = props.theme;
|
8345 |
|
8346 |
|
8347 | return Object.keys(theme.breakpoint).map(function (breakpoint) {
|
8348 | var key = 'push-' + shorthands[breakpoint];
|
8349 |
|
8350 | if (!props[key]) {
|
8351 | return null;
|
8352 | }
|
8353 |
|
8354 | return media[breakpoint](_templateObject3$1, props[key] * 100);
|
8355 | });
|
8356 | }
|
8357 |
|
8358 | var column = styled__default.div.withConfig({
|
8359 | displayName: 'column',
|
8360 | componentId: 's1xhpsb0-0'
|
8361 | })([['{-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, ';}']]);
|
8362 |
|
8363 | var Container$5 = styled__default.tr.withConfig({
|
8364 | displayName: 'Row__Container',
|
8365 | componentId: 's14thbpv-0'
|
8366 | })([['{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) {
|
8367 | return props.theme.color.grey.pale;
|
8368 | }, ';}'], [':hover{background-color:', function (props) {
|
8369 | return props.theme.color.blue.pale;
|
8370 | }, ';}'], [':last-child{border-bottom:0;}']]);
|
8371 |
|
8372 | var Row = function Row(_ref) {
|
8373 | var children = _ref.children,
|
8374 | other = objectWithoutProperties(_ref, ['children']);
|
8375 | return React__default.createElement(
|
8376 | Container$5,
|
8377 | other,
|
8378 | children
|
8379 | );
|
8380 | };
|
8381 |
|
8382 | Row.propTypes = {
|
8383 | children: PropTypes.node
|
8384 | };
|
8385 |
|
8386 | var Cell = styled__default.td.withConfig({
|
8387 | displayName: 'Cell',
|
8388 | componentId: 'zoo41g-0'
|
8389 | })([['{', fontSize(1), ';padding:1rem;}']]);
|
8390 |
|
8391 | var Container$6 = styled__default.table.withConfig({
|
8392 | displayName: 'Table__Container',
|
8393 | componentId: 's12hr1al-0'
|
8394 | })([['{width:100%;font-weight:300;border-collapse:collapse;font-family:', function (props) {
|
8395 | return props.theme.font.base;
|
8396 | }, ';}']]);
|
8397 |
|
8398 | var Table = function Table(_ref) {
|
8399 | var children = _ref.children,
|
8400 | other = objectWithoutProperties(_ref, ['children']);
|
8401 | return React__default.createElement(
|
8402 | Container$6,
|
8403 | other,
|
8404 | React__default.createElement(
|
8405 | 'tbody',
|
8406 | null,
|
8407 | children
|
8408 | )
|
8409 | );
|
8410 | };
|
8411 |
|
8412 | Table.propTypes = {
|
8413 | children: PropTypes.node.isRequired
|
8414 | };
|
8415 |
|
8416 | var _templateObject$8 = taggedTemplateLiteral(['\n font-size: 1.25em;\n '], ['\n font-size: 1.25em;\n ']);
|
8417 | var _templateObject2$3 = taggedTemplateLiteral(['\n padding: 1.25rem;\n '], ['\n padding: 1.25rem;\n ']);
|
8418 |
|
8419 | var Container$7 = styled__default.span.withConfig({
|
8420 | displayName: 'tab__Container',
|
8421 | componentId: 's1cuvzzb-0'
|
8422 | })([['{-webkit-flex:1;-ms-flex:1;flex:1;font-family:', function (props) {
|
8423 | return props.theme.font.header;
|
8424 | }, ';color:', function (props) {
|
8425 | return props.active ? get_1(props.theme, 'colors.' + props.activeColor) : get_1(props.theme, 'colors.' + props.inactiveColor);
|
8426 | }, ';background:', function (props) {
|
8427 | return props.active ? get_1(props.theme, 'colors.' + props.activeBackground) : get_1(props.theme, 'colors.' + props.inactiveBackground);
|
8428 | }, ';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), ';}']]);
|
8429 |
|
8430 | var Tab = function (_Component) {
|
8431 | inherits(Tab, _Component);
|
8432 |
|
8433 | function Tab() {
|
8434 | var _ref;
|
8435 |
|
8436 | var _temp, _this, _ret;
|
8437 |
|
8438 | classCallCheck(this, Tab);
|
8439 |
|
8440 | for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
|
8441 | args[_key] = arguments[_key];
|
8442 | }
|
8443 |
|
8444 | return _ret = (_temp = (_this = possibleConstructorReturn(this, (_ref = Tab.__proto__ || Object.getPrototypeOf(Tab)).call.apply(_ref, [this].concat(args))), _this), _this.onClick = function () {
|
8445 | _this.context.onTabClick(_this.props.index);
|
8446 | }, _temp), possibleConstructorReturn(_this, _ret);
|
8447 | }
|
8448 | |
8449 |
|
8450 |
|
8451 |
|
8452 |
|
8453 |
|
8454 |
|
8455 | createClass(Tab, [{
|
8456 | key: 'render',
|
8457 |
|
8458 |
|
8459 | |
8460 |
|
8461 |
|
8462 |
|
8463 |
|
8464 | value: function render() {
|
8465 |
|
8466 | var _props = this.props,
|
8467 | children = _props.children,
|
8468 | index = _props.index,
|
8469 | active = _props.active,
|
8470 | other = objectWithoutProperties(_props, ['children', 'index', 'active']);
|
8471 | var _context = this.context,
|
8472 | activeColor = _context.activeColor,
|
8473 | inactiveColor = _context.inactiveColor,
|
8474 | activeBackground = _context.activeBackground,
|
8475 | inactiveBackground = _context.inactiveBackground;
|
8476 |
|
8477 |
|
8478 | return React__default.createElement(
|
8479 | Container$7,
|
8480 | _extends({
|
8481 | role: 'tab',
|
8482 | active: active,
|
8483 | onClick: this.onClick,
|
8484 | 'aria-selected': false,
|
8485 | activeColor: activeColor,
|
8486 | inactiveColor: inactiveColor,
|
8487 | activeBackground: activeBackground,
|
8488 | inactiveBackground: inactiveBackground
|
8489 | }, other),
|
8490 | React__default.Children.map(children, function (Child) {
|
8491 | return React__default.isValidElement(Child) ? Child : React__default.createElement(
|
8492 | 'span',
|
8493 | null,
|
8494 | Child
|
8495 | );
|
8496 | })
|
8497 | );
|
8498 | }
|
8499 | }]);
|
8500 | return Tab;
|
8501 | }(React.Component);
|
8502 |
|
8503 | Tab.propTypes = {
|
8504 | index: PropTypes.number,
|
8505 | active: PropTypes.bool,
|
8506 | children: PropTypes.node,
|
8507 | className: PropTypes.string
|
8508 | };
|
8509 | Tab.contextTypes = {
|
8510 | onTabClick: PropTypes.func.isRequired,
|
8511 | activeColor: PropTypes.string.isRequired,
|
8512 | inactiveColor: PropTypes.string.isRequired,
|
8513 | activeBackground: PropTypes.string.isRequired,
|
8514 | inactiveBackground: PropTypes.string.isRequired
|
8515 | };
|
8516 |
|
8517 | var Container$8 = styled__default.div.withConfig({
|
8518 | displayName: 'tabs__Container',
|
8519 | componentId: 'sv1ix8-0'
|
8520 | })([]);
|
8521 |
|
8522 | var Tabs = function (_Component) {
|
8523 | inherits(Tabs, _Component);
|
8524 |
|
8525 | function Tabs() {
|
8526 | var _ref;
|
8527 |
|
8528 | var _temp, _this, _ret;
|
8529 |
|
8530 | classCallCheck(this, Tabs);
|
8531 |
|
8532 | for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
|
8533 | args[_key] = arguments[_key];
|
8534 | }
|
8535 |
|
8536 | return _ret = (_temp = (_this = possibleConstructorReturn(this, (_ref = Tabs.__proto__ || Object.getPrototypeOf(Tabs)).call.apply(_ref, [this].concat(args))), _this), _this.state = {
|
8537 | currentTab: 0
|
8538 | }, _this.onTabClick = function (id) {
|
8539 | _this.setState({ currentTab: id });
|
8540 | }, _temp), possibleConstructorReturn(_this, _ret);
|
8541 | }
|
8542 | |
8543 |
|
8544 |
|
8545 |
|
8546 |
|
8547 |
|
8548 |
|
8549 | |
8550 |
|
8551 |
|
8552 |
|
8553 |
|
8554 |
|
8555 |
|
8556 | |
8557 |
|
8558 |
|
8559 |
|
8560 |
|
8561 |
|
8562 |
|
8563 | createClass(Tabs, [{
|
8564 | key: 'getChildContext',
|
8565 | value: function getChildContext() {
|
8566 | return {
|
8567 | onTabClick: this.onTabClick,
|
8568 | currentTab: this.state.currentTab,
|
8569 | activeColor: this.props.activeColor,
|
8570 | inactiveColor: this.props.inactiveColor,
|
8571 | activeBackground: this.props.activeBackground,
|
8572 | inactiveBackground: this.props.inactiveBackground
|
8573 | };
|
8574 | }
|
8575 | }, {
|
8576 | key: 'render',
|
8577 |
|
8578 |
|
8579 | |
8580 |
|
8581 |
|
8582 |
|
8583 |
|
8584 | value: function render() {
|
8585 | var _props = this.props,
|
8586 | children = _props.children,
|
8587 | other = objectWithoutProperties(_props, ['children']);
|
8588 |
|
8589 |
|
8590 | return React__default.createElement(
|
8591 | Container$8,
|
8592 | other,
|
8593 | React.Children.map(children, function (child, key) {
|
8594 | return React.cloneElement(child, { key: key });
|
8595 | })
|
8596 | );
|
8597 | }
|
8598 | }]);
|
8599 | return Tabs;
|
8600 | }(React.Component);
|
8601 |
|
8602 | Tabs.propTypes = {
|
8603 | children: PropTypes.node.isRequired,
|
8604 | activeColor: PropTypes.string,
|
8605 | inactiveColor: PropTypes.string,
|
8606 | activeBackground: PropTypes.string,
|
8607 | inactiveBackground: PropTypes.string
|
8608 | };
|
8609 | Tabs.defaultProps = {
|
8610 | activeColor: 'black',
|
8611 | inactiveColor: 'white',
|
8612 | activeBackground: 'white',
|
8613 | inactiveBackground: 'black'
|
8614 | };
|
8615 | Tabs.childContextTypes = {
|
8616 | onTabClick: PropTypes.func.isRequired,
|
8617 | currentTab: PropTypes.number.isRequired,
|
8618 | activeColor: PropTypes.string.isRequired,
|
8619 | inactiveColor: PropTypes.string.isRequired,
|
8620 | activeBackground: PropTypes.string.isRequired,
|
8621 | inactiveBackground: PropTypes.string.isRequired
|
8622 | };
|
8623 |
|
8624 | var Container$9 = styled__default.nav.withConfig({
|
8625 | displayName: 'tab-list__Container',
|
8626 | componentId: 's1hmyuc8-0'
|
8627 | })([['{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) {
|
8628 | return get_1(props.theme, 'colors.' + props.background);
|
8629 | }, ';border:1px solid ', function (props) {
|
8630 | return props.theme.colors.light;
|
8631 | }, ';border-radius:3px;box-shadow:0px 2px 0px 0px rgba(0,0,0,0.1);padding:2px;}']]);
|
8632 |
|
8633 | var TabList = function TabList(_ref, context) {
|
8634 | var children = _ref.children,
|
8635 | other = objectWithoutProperties(_ref, ['children']);
|
8636 | return React__default.createElement(
|
8637 | Container$9,
|
8638 | _extends({}, other, { background: context.inactiveBackground }),
|
8639 | React.Children.map(children, function (child, key) {
|
8640 | return React.cloneElement(child, _extends({
|
8641 | key: key,
|
8642 | index: key,
|
8643 | active: key === context.currentTab
|
8644 | }, child.props));
|
8645 | })
|
8646 | );
|
8647 | };
|
8648 |
|
8649 | TabList.propTypes = {
|
8650 | children: PropTypes.node.isRequired
|
8651 | };
|
8652 |
|
8653 | TabList.contextTypes = {
|
8654 | currentTab: PropTypes.number,
|
8655 | inactiveBackground: PropTypes.string.isRequired
|
8656 | };
|
8657 |
|
8658 | var TabPanel = function TabPanel(_ref) {
|
8659 | var active = _ref.active,
|
8660 | children = _ref.children;
|
8661 |
|
8662 | if (!active) return null;
|
8663 |
|
8664 | return React__default.createElement(
|
8665 | 'div',
|
8666 | null,
|
8667 | children
|
8668 | );
|
8669 | };
|
8670 |
|
8671 | TabPanel.propTypes = {
|
8672 | active: PropTypes.bool,
|
8673 | children: PropTypes.node
|
8674 | };
|
8675 |
|
8676 | var TabContent = function TabContent(_ref, context) {
|
8677 | var children = _ref.children;
|
8678 | return React__default.createElement(
|
8679 | 'div',
|
8680 | null,
|
8681 | React.Children.map(children, function (child, key) {
|
8682 | return React.cloneElement(child, {
|
8683 | key: key,
|
8684 | active: context.currentTab === key
|
8685 | });
|
8686 | })
|
8687 | );
|
8688 | };
|
8689 |
|
8690 | TabContent.propTypes = {
|
8691 | children: PropTypes.node.isRequired
|
8692 | };
|
8693 |
|
8694 | TabContent.contextTypes = {
|
8695 | currentTab: PropTypes.number
|
8696 | };
|
8697 |
|
8698 | var Item = styled__default.li.withConfig({
|
8699 | displayName: 'breadcrumb__Item',
|
8700 | componentId: 'y4hbmr-0'
|
8701 | })([['{margin-left:0.5em;font-weight:300;font-family:', function (props) {
|
8702 | return props.theme.font.base;
|
8703 | }, ';}'], [':first-child{margin-left:0;}']]);
|
8704 |
|
8705 | var Breadcrumb = function Breadcrumb(_ref) {
|
8706 | var children = _ref.children;
|
8707 | return React__default.createElement(
|
8708 | Item,
|
8709 | null,
|
8710 | children
|
8711 | );
|
8712 | };
|
8713 |
|
8714 | Breadcrumb.propTypes = {
|
8715 | children: PropTypes.node
|
8716 | };
|
8717 |
|
8718 | var Container$10 = styled__default.ul.withConfig({
|
8719 | displayName: 'breadcrumbs__Container',
|
8720 | componentId: 'dnwscn-0'
|
8721 | })([['{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;}']]);
|
8722 |
|
8723 | var Breadcrumbs = function Breadcrumbs(_ref) {
|
8724 | var children = _ref.children,
|
8725 | other = objectWithoutProperties(_ref, ['children']);
|
8726 | return React__default.createElement(
|
8727 | Container$10,
|
8728 | other,
|
8729 | React.Children.map(children, function (child, index) {
|
8730 | var count = React.Children.count(children);
|
8731 |
|
8732 | if (count === index + 1) {
|
8733 | return _extends({}, child, { props: _extends({}, child.props, { last: true }) });
|
8734 | }
|
8735 |
|
8736 | return child;
|
8737 | })
|
8738 | );
|
8739 | };
|
8740 |
|
8741 | Breadcrumbs.propTypes = {
|
8742 | children: PropTypes.node
|
8743 | };
|
8744 |
|
8745 | var Wrapper$1 = styled__default.span.withConfig({
|
8746 | displayName: 'seperator__Wrapper',
|
8747 | componentId: 's19g0t30-0'
|
8748 | })([['{margin-left:0.5em;}']]);
|
8749 |
|
8750 | var Seperator = function Seperator(props) {
|
8751 | return React__default.createElement(
|
8752 | Wrapper$1,
|
8753 | props,
|
8754 | '>'
|
8755 | );
|
8756 | };
|
8757 |
|
8758 | var _templateObject$10 = taggedTemplateLiteral(['\n padding: ', ';\n padding-bottom: 0;\n padding-top: ', ';\n '], ['\n padding: ', ';\n padding-bottom: 0;\n padding-top: ', ';\n ']);
|
8759 |
|
8760 | var styling$1 = styled.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) {
|
8761 | return props.theme.color.grey;
|
8762 | }, ';font-family:', function (props) {
|
8763 | return props.theme.font.base;
|
8764 | }, ';font-weight:300;padding:', function (props) {
|
8765 | return props.theme.spacing.medium;
|
8766 | }, ';padding-bottom:0;padding-top:', function (props) {
|
8767 | return props.theme.spacing.regular;
|
8768 | }, ';', media.large(_templateObject$10, function (props) {
|
8769 | return props.theme.spacing.large;
|
8770 | }, function (props) {
|
8771 | return props.theme.spacing.medium;
|
8772 | }), ';}']]);
|
8773 |
|
8774 | var Container$12 = styled__default.span.withConfig({
|
8775 | displayName: 'meta__Container',
|
8776 | componentId: 'zuq90-0'
|
8777 | })([['{', styling$1, ';}']]);
|
8778 |
|
8779 | var Meta$1 = function Meta(_ref) {
|
8780 | var meta = _ref.meta,
|
8781 | other = objectWithoutProperties(_ref, ['meta']);
|
8782 |
|
8783 | if (!meta) return null;
|
8784 |
|
8785 | return React__default.createElement(
|
8786 | Container$12,
|
8787 | other,
|
8788 | React__default.createElement(
|
8789 | 'span',
|
8790 | null,
|
8791 | meta.left
|
8792 | ),
|
8793 | React__default.createElement(
|
8794 | 'span',
|
8795 | null,
|
8796 | meta.right
|
8797 | )
|
8798 | );
|
8799 | };
|
8800 |
|
8801 | Meta$1.propTypes = {
|
8802 | meta: PropTypes.object
|
8803 | };
|
8804 |
|
8805 | var _templateObject$9 = taggedTemplateLiteral(['\n padding: ', ';\n '], ['\n padding: ', ';\n ']);
|
8806 |
|
8807 | var styling = styled.css([['{display:block;position:relative;text-align:left;box-shadow:', function (props) {
|
8808 | return props.border ? null : '0px 5px 10px 0px rgba(0, 0, 0, 0.10)';
|
8809 | }, ';color:', function (props) {
|
8810 | return props.dark ? props.theme.colors.blank : props.theme.colors.black;
|
8811 | }, ';background:', function (props) {
|
8812 | return props.dark ? props.theme.colors.black : props.theme.colors.blank;
|
8813 | }, ';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) {
|
8814 | return props.theme.font.base;
|
8815 | }, ';padding:', function (props) {
|
8816 | return props.theme.spacing.medium;
|
8817 | }, ';}', media.large(_templateObject$9, function (props) {
|
8818 | return props.theme.spacing.large;
|
8819 | }), ' '], [':hover{box-shadow:', function (props) {
|
8820 | return props.border ? null : '0px 10px 20px 0px rgba(0, 0, 0, 0.20)';
|
8821 | }, ';}'], [' 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;}']]);
|
8822 |
|
8823 | var Container$11 = styled__default.div.withConfig({
|
8824 | displayName: 'base__Container',
|
8825 | componentId: 'uqvute-0'
|
8826 | })([['{', styling, ';}']]);
|
8827 |
|
8828 | var Card = function Card(_ref) {
|
8829 | var children = _ref.children,
|
8830 | meta = _ref.meta,
|
8831 | other = objectWithoutProperties(_ref, ['children', 'meta']);
|
8832 | return React__default.createElement(
|
8833 | 'div',
|
8834 | null,
|
8835 | React__default.createElement(
|
8836 | Container$11,
|
8837 | _extends({ className: 'card' }, other),
|
8838 | children
|
8839 | ),
|
8840 | React__default.createElement(Meta$1, { className: 'meta', meta: meta })
|
8841 | );
|
8842 | };
|
8843 |
|
8844 | Card.propTypes = {
|
8845 | dark: PropTypes.bool,
|
8846 | border: PropTypes.bool,
|
8847 | children: PropTypes.node.isRequired,
|
8848 | meta: PropTypes.shape({ left: PropTypes.string, right: PropTypes.string })
|
8849 | };
|
8850 |
|
8851 | var _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 ']);
|
8852 |
|
8853 | var styling$3 = styled.css([['{position:relative;width:calc(100% + (2 * ', function (props) {
|
8854 | return props.theme.spacing.medium;
|
8855 | }, '));margin-left:-', function (props) {
|
8856 | return props.theme.spacing.medium;
|
8857 | }, ';margin-top:', function (props) {
|
8858 | return props.theme.spacing.medium;
|
8859 | }, ';margin-bottom:', function (props) {
|
8860 | return props.theme.spacing.medium;
|
8861 | }, ';padding:', function (props) {
|
8862 | return props.theme.spacing.medium;
|
8863 | }, ';', media.large(_templateObject$12, function (props) {
|
8864 | return props.theme.spacing.large;
|
8865 | }, function (props) {
|
8866 | return props.theme.spacing.large;
|
8867 | }, function (props) {
|
8868 | return props.theme.spacing.large;
|
8869 | }, function (props) {
|
8870 | return props.theme.spacing.large;
|
8871 | }, function (props) {
|
8872 | return props.theme.spacing.large;
|
8873 | }), ';}']]);
|
8874 |
|
8875 | var Container$13 = styled__default.div.withConfig({
|
8876 | displayName: 'inset__Container',
|
8877 | componentId: 'sfh9w0-0'
|
8878 | })([['{', styling$3, ';}']]);
|
8879 |
|
8880 | var CardInset = function CardInset(_ref) {
|
8881 | var children = _ref.children,
|
8882 | other = objectWithoutProperties(_ref, ['children']);
|
8883 | return React__default.createElement(
|
8884 | Container$13,
|
8885 | other,
|
8886 | children
|
8887 | );
|
8888 | };
|
8889 |
|
8890 | CardInset.propTypes = {
|
8891 | children: PropTypes.node
|
8892 | };
|
8893 |
|
8894 | var _templateObject$11 = taggedTemplateLiteral(['\n margin-top: -', ';\n '], ['\n margin-top: -', ';\n ']);
|
8895 |
|
8896 | var styling$2 = styled.css([['{background:', function (props) {
|
8897 | return props.theme.colors.dim;
|
8898 | }, ';overflow:hidden;border-radius:3px 3px 0px 0px;position:relative;margin-top:-', function (props) {
|
8899 | return props.theme.spacing.medium;
|
8900 | }, ';padding:0 !important;}', media.large(_templateObject$11, function (props) {
|
8901 | return props.theme.spacing.large;
|
8902 | }), ' '], [':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;}']]);
|
8903 |
|
8904 | var StyledCardInset = styled__default(CardInset).withConfig({
|
8905 | displayName: 'image__StyledCardInset',
|
8906 | componentId: 's2lqb2k-0'
|
8907 | })([['{', styling$2, ';}']]);
|
8908 |
|
8909 |
|
8910 |
|
8911 |
|
8912 | var CardImage = function CardImage(_ref) {
|
8913 | var src = _ref.src,
|
8914 | alt = _ref.alt,
|
8915 | other = objectWithoutProperties(_ref, ['src', 'alt']);
|
8916 | return React__default.createElement(
|
8917 | StyledCardInset,
|
8918 | other,
|
8919 | src && React__default.createElement('img', { src: src, alt: alt })
|
8920 | );
|
8921 | };
|
8922 |
|
8923 | CardImage.propTypes = {
|
8924 | src: PropTypes.string,
|
8925 | alt: PropTypes.string
|
8926 | };
|
8927 |
|
8928 | var _templateObject$13 = taggedTemplateLiteral(['\n margin-top: -', ';\n '], ['\n margin-top: -', ';\n ']);
|
8929 |
|
8930 | var StyledCardInset$1 = styled__default(CardInset).withConfig({
|
8931 | displayName: 'header__StyledCardInset',
|
8932 | componentId: 'e0iy5p-0'
|
8933 | })([['{position:relative;background:', function (props) {
|
8934 | return props.theme.colors.dim;
|
8935 | }, ';border-radius:3px 3px 0px 0px;margin-top:-', function (props) {
|
8936 | return props.theme.spacing.medium;
|
8937 | }, ';margin-bottom:', function (props) {
|
8938 | return props.theme.spacing.medium;
|
8939 | }, ';padding:0 !important;', media.large(_templateObject$13, function (props) {
|
8940 | return props.theme.spacing.large;
|
8941 | }), ';}']]);
|
8942 |
|
8943 |
|
8944 |
|
8945 |
|
8946 | var CardHeader = function CardHeader(_ref) {
|
8947 | var children = _ref.children,
|
8948 | other = objectWithoutProperties(_ref, ['children']);
|
8949 | return React__default.createElement(
|
8950 | StyledCardInset$1,
|
8951 | other,
|
8952 | children
|
8953 | );
|
8954 | };
|
8955 |
|
8956 | CardHeader.propTypes = {
|
8957 | children: PropTypes.node.isRequired
|
8958 | };
|
8959 |
|
8960 | var StyledCardInset$2 = styled__default(CardInset).withConfig({
|
8961 | displayName: 'action__StyledCardInset',
|
8962 | componentId: 's1iqkz9r-0'
|
8963 | })([['{background:', function (props) {
|
8964 | return props.theme.colors.grey;
|
8965 | }, ';border-radius:0px 0px 3px 3px;margin-bottom:-', function (props) {
|
8966 | return props.theme.spacing.large;
|
8967 | }, ';}']]);
|
8968 |
|
8969 |
|
8970 |
|
8971 |
|
8972 | var CardAction = function CardAction(_ref) {
|
8973 | var children = _ref.children,
|
8974 | other = objectWithoutProperties(_ref, ['children']);
|
8975 | return React__default.createElement(
|
8976 | StyledCardInset$2,
|
8977 | other,
|
8978 | children
|
8979 | );
|
8980 | };
|
8981 |
|
8982 | CardAction.propTypes = {
|
8983 | children: PropTypes.node.isRequired
|
8984 | };
|
8985 |
|
8986 | exports.Flag = index;
|
8987 | exports.Icon = index$1;
|
8988 | exports.Toast = index$2;
|
8989 | exports.Button = index$3;
|
8990 | exports.Tag = Tag;
|
8991 | exports.Text = Text;
|
8992 | exports.Logo = Logo;
|
8993 | exports.Meta = Meta;
|
8994 | exports.Title = Title;
|
8995 | exports.Input = Input;
|
8996 | exports.Label = Label;
|
8997 | exports.Radio = Radio;
|
8998 | exports.Author = Author;
|
8999 | exports.Preview = Preview;
|
9000 | exports.Spinner = Spinner;
|
9001 | exports.Dropdown = Dropdown;
|
9002 | exports.Dropzone = Dropzone;
|
9003 | exports.Textarea = Textarea;
|
9004 | exports.Paragraph = Paragraph;
|
9005 | exports.Countdown = Countdown;
|
9006 | exports.SmallCaps = SmallCaps;
|
9007 | exports.Grid = grid;
|
9008 | exports.Row = row;
|
9009 | exports.Column = column;
|
9010 | exports.Box = box;
|
9011 | exports.ProfilePicture = ProfilePicture;
|
9012 | exports.Table = Table;
|
9013 | exports.TableRow = Row;
|
9014 | exports.TableCell = Cell;
|
9015 | exports.DefinitionData = DefinitionData;
|
9016 | exports.DefinitionTerm = DefinitionTerm;
|
9017 | exports.Tab = Tab;
|
9018 | exports.Tabs = Tabs;
|
9019 | exports.TabPanel = TabPanel;
|
9020 | exports.TabList = TabList;
|
9021 | exports.TabContent = TabContent;
|
9022 | exports.Breadcrumb = Breadcrumb;
|
9023 | exports.Breadcrumbs = Breadcrumbs;
|
9024 | exports.BreadcrumbSeperator = Seperator;
|
9025 | exports.Card = Card;
|
9026 | exports.CardMeta = Meta$1;
|
9027 | exports.CardImage = CardImage;
|
9028 | exports.CardInset = CardInset;
|
9029 | exports.CardHeader = CardHeader;
|
9030 | exports.CardAction = CardAction;
|
9031 | exports.theme = theme;
|
9032 | exports.media = media;
|
9033 | exports.fontSize = fontSize;
|