AdSense Plugin WP QUADS - Version 2.0.11

Version Description

(26th August 2020) = * New: Geo Location Targetting for ads #156 * New: AdsforWP Migrator #87

Download this release

Release Info

Developer wpquads
Plugin Icon 128x128 AdSense Plugin WP QUADS
Version 2.0.11
Comparing to
See all releases

Code changes from version 2.0.10.2 to 2.0.11

Files changed (2) hide show
  1. Gruntfile.js +125 -0
  2. admin/assets/js/dist/adminscript.js +21009 -8605
Gruntfile.js ADDED
@@ -0,0 +1,125 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* local path:
2
+ cd "P:\quick-adsense-reloaded\github\quick-adsense-reloaded"
3
+ server path:
4
+ http://wpquads.com/wp-content/uploads/edd/2016/09/wp-quads-pro.zip
5
+ *
6
+ */
7
+ module.exports = function (grunt) {
8
+
9
+ // Project configuration.
10
+ grunt.initConfig({
11
+ pkg: grunt.file.readJSON('package.json'),
12
+ paths: {
13
+ // Base destination dir free version for wordpress.org
14
+ base: '../../wordpress-svn/tags/<%= pkg.version %>',
15
+ basetrunk: '../../wordpress-svn/trunk/',
16
+ basezip: '../../wordpress-svn/',
17
+ },
18
+ // Tasks here
19
+ // Bump version numbers
20
+ version: {
21
+ css: {
22
+ options: {
23
+ prefix: 'Version\\:\\s'
24
+ },
25
+ src: ['style.css']
26
+ },
27
+ php: {
28
+ options: {
29
+ prefix: '\@version\\s+'
30
+ },
31
+ src: ['functions.php', '<%= pkg.name %>.php']
32
+ }
33
+ },
34
+ // minify js
35
+ uglify: {
36
+ build: {
37
+ files: [
38
+ //{'assets/js/quads-admin.min.js': 'assets/js/quads-admin.js'}
39
+ {'<%= paths.base %>/assets/js/quads-admin.min.js': 'assets/js/quads-admin.js'}
40
+ ]
41
+ }
42
+ },
43
+ // Copy to build folder
44
+ copy: {
45
+ build: {
46
+ files: [
47
+ {expand: true, src: ['**', '!node_modules/**', '!Gruntfile.js', '!package.json', '!nbproject/**', '!grunt/**', '!wp-quads-pro.php', '!**/includes/admin/settings/advanced-settings.php', '!grafik/**'],
48
+ dest: '<%= paths.base %>'},
49
+ {expand: true, src: ['**', '!node_modules/**', '!Gruntfile.js', '!package.json', '!nbproject/**', '!grunt/**', '!wp-quads-pro.php', '!**/includes/admin/settings/advanced-settings.php', '!grafik/**'],
50
+ dest: '<%= paths.basetrunk %>'}
51
+ ]
52
+ },
53
+ },
54
+ 'string-replace': {
55
+ version: {
56
+ files: {
57
+ '<%= paths.basetrunk %>quick-adsense-reloaded.php': 'quick-adsense-reloaded.php',
58
+ '<%= paths.base %>/quick-adsense-reloaded.php': 'quick-adsense-reloaded.php',
59
+ '<%= paths.base %>/readme.txt': 'readme.txt',
60
+ '<%= paths.basetrunk %>readme.txt': 'readme.txt',
61
+
62
+ },
63
+ options: {
64
+ replacements: [{
65
+ pattern: /2.0.10/g,
66
+ replacement: '<%= pkg.version %>'
67
+ }]
68
+ }
69
+ }
70
+ },
71
+ // Clean the build folder
72
+ clean: {
73
+ options: {
74
+ force: true
75
+ },
76
+ build: {
77
+ files: [
78
+ {src: ['<%= paths.base %>']},
79
+ {src: ['<%= paths.basetrunk %>']},
80
+ ]
81
+
82
+ }
83
+ },
84
+ // Minify CSS files
85
+ cssmin: {
86
+ build: {
87
+ files: [
88
+ //{'assets/css/quads-admin.min.css': 'assets/css/quads-admin.css'}
89
+ {'<%= paths.base %>/assets/css/quads-admin.min.css': 'assets/css/quads-admin.css'}
90
+ ]
91
+ }
92
+ },
93
+ // Compress the build folder into an upload-ready zip file
94
+ compress: {
95
+ build: {
96
+ options:
97
+ {
98
+ archive: '<%= paths.basezip %>/quick-adsense-reloaded.zip'
99
+ },
100
+ files:[
101
+ {
102
+ expand: true,
103
+ cwd: '<%= paths.base %>',
104
+ src: ['**/*']
105
+ }
106
+ ]
107
+ }
108
+ }
109
+
110
+
111
+ });
112
+
113
+ // Load all grunt plugins here
114
+ // [...]
115
+ //require('load-grunt-config')(grunt);
116
+ require('load-grunt-tasks')(grunt);
117
+
118
+ // Display task timing
119
+ require('time-grunt')(grunt);
120
+
121
+ // Build task
122
+ //grunt.registerTask( 'build', [ 'compress:build' ]);
123
+ //grunt.registerTask('build', ['clean:build', 'uglify:build', 'cssmin:build', 'copy:build', 'string-replace:version', 'compress:build']);
124
+ grunt.registerTask('build', ['clean:build', 'copy:build', 'cssmin:build', 'string-replace:version', 'compress:build']);
125
+ };
admin/assets/js/dist/adminscript.js CHANGED
@@ -1,117254 +1,117419 @@
1
- /******/ (function(modules) { // webpackBootstrap
2
- /******/ // The module cache
3
- /******/ var installedModules = {};
4
- /******/
5
- /******/ // The require function
6
- /******/ function __webpack_require__(moduleId) {
7
- /******/
8
- /******/ // Check if module is in cache
9
- /******/ if(installedModules[moduleId]) {
10
- /******/ return installedModules[moduleId].exports;
11
- /******/ }
12
- /******/ // Create a new module (and put it into the cache)
13
- /******/ var module = installedModules[moduleId] = {
14
- /******/ i: moduleId,
15
- /******/ l: false,
16
- /******/ exports: {}
17
- /******/ };
18
- /******/
19
- /******/ // Execute the module function
20
- /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
21
- /******/
22
- /******/ // Flag the module as loaded
23
- /******/ module.l = true;
24
- /******/
25
- /******/ // Return the exports of the module
26
- /******/ return module.exports;
27
- /******/ }
28
- /******/
29
- /******/
30
- /******/ // expose the modules object (__webpack_modules__)
31
- /******/ __webpack_require__.m = modules;
32
- /******/
33
- /******/ // expose the module cache
34
- /******/ __webpack_require__.c = installedModules;
35
- /******/
36
- /******/ // define getter function for harmony exports
37
- /******/ __webpack_require__.d = function(exports, name, getter) {
38
- /******/ if(!__webpack_require__.o(exports, name)) {
39
- /******/ Object.defineProperty(exports, name, {
40
- /******/ configurable: false,
41
- /******/ enumerable: true,
42
- /******/ get: getter
43
- /******/ });
44
- /******/ }
45
- /******/ };
46
- /******/
47
- /******/ // getDefaultExport function for compatibility with non-harmony modules
48
- /******/ __webpack_require__.n = function(module) {
49
- /******/ var getter = module && module.__esModule ?
50
- /******/ function getDefault() { return module['default']; } :
51
- /******/ function getModuleExports() { return module; };
52
- /******/ __webpack_require__.d(getter, 'a', getter);
53
- /******/ return getter;
54
- /******/ };
55
- /******/
56
- /******/ // Object.prototype.hasOwnProperty.call
57
- /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
58
- /******/
59
- /******/ // __webpack_public_path__
60
- /******/ __webpack_require__.p = "";
61
- /******/
62
- /******/ // Load entry module and return exports
63
- /******/ return __webpack_require__(__webpack_require__.s = 388);
64
- /******/ })
65
- /************************************************************************/
66
- /******/ ([
67
- /* 0 */
68
- /***/ (function(module, exports, __webpack_require__) {
69
-
70
- "use strict";
71
- /* WEBPACK VAR INJECTION */(function(process) {
72
-
73
- if (process.env.NODE_ENV === 'production') {
74
- module.exports = __webpack_require__(389);
75
- } else {
76
- module.exports = __webpack_require__(390);
77
- }
78
-
79
- /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
80
-
81
- /***/ }),
82
- /* 1 */
83
- /***/ (function(module, exports) {
84
-
85
- // shim for using process in browser
86
- var process = module.exports = {};
87
-
88
- // cached from whatever global is present so that test runners that stub it
89
- // don't break things. But we need to wrap it in a try catch in case it is
90
- // wrapped in strict mode code which doesn't define any globals. It's inside a
91
- // function because try/catches deoptimize in certain engines.
92
-
93
- var cachedSetTimeout;
94
- var cachedClearTimeout;
95
-
96
- function defaultSetTimout() {
97
- throw new Error('setTimeout has not been defined');
98
- }
99
- function defaultClearTimeout () {
100
- throw new Error('clearTimeout has not been defined');
101
- }
102
- (function () {
103
- try {
104
- if (typeof setTimeout === 'function') {
105
- cachedSetTimeout = setTimeout;
106
- } else {
107
- cachedSetTimeout = defaultSetTimout;
108
- }
109
- } catch (e) {
110
- cachedSetTimeout = defaultSetTimout;
111
- }
112
- try {
113
- if (typeof clearTimeout === 'function') {
114
- cachedClearTimeout = clearTimeout;
115
- } else {
116
- cachedClearTimeout = defaultClearTimeout;
117
- }
118
- } catch (e) {
119
- cachedClearTimeout = defaultClearTimeout;
120
- }
121
- } ())
122
- function runTimeout(fun) {
123
- if (cachedSetTimeout === setTimeout) {
124
- //normal enviroments in sane situations
125
- return setTimeout(fun, 0);
126
- }
127
- // if setTimeout wasn't available but was latter defined
128
- if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
129
- cachedSetTimeout = setTimeout;
130
- return setTimeout(fun, 0);
131
- }
132
- try {
133
- // when when somebody has screwed with setTimeout but no I.E. maddness
134
- return cachedSetTimeout(fun, 0);
135
- } catch(e){
136
- try {
137
- // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
138
- return cachedSetTimeout.call(null, fun, 0);
139
- } catch(e){
140
- // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
141
- return cachedSetTimeout.call(this, fun, 0);
142
- }
143
- }
144
-
145
-
146
- }
147
- function runClearTimeout(marker) {
148
- if (cachedClearTimeout === clearTimeout) {
149
- //normal enviroments in sane situations
150
- return clearTimeout(marker);
151
- }
152
- // if clearTimeout wasn't available but was latter defined
153
- if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
154
- cachedClearTimeout = clearTimeout;
155
- return clearTimeout(marker);
156
- }
157
- try {
158
- // when when somebody has screwed with setTimeout but no I.E. maddness
159
- return cachedClearTimeout(marker);
160
- } catch (e){
161
- try {
162
- // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
163
- return cachedClearTimeout.call(null, marker);
164
- } catch (e){
165
- // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
166
- // Some versions of I.E. have different rules for clearTimeout vs setTimeout
167
- return cachedClearTimeout.call(this, marker);
168
- }
169
- }
170
-
171
-
172
-
173
- }
174
- var queue = [];
175
- var draining = false;
176
- var currentQueue;
177
- var queueIndex = -1;
178
-
179
- function cleanUpNextTick() {
180
- if (!draining || !currentQueue) {
181
- return;
182
- }
183
- draining = false;
184
- if (currentQueue.length) {
185
- queue = currentQueue.concat(queue);
186
- } else {
187
- queueIndex = -1;
188
- }
189
- if (queue.length) {
190
- drainQueue();
191
- }
192
- }
193
-
194
- function drainQueue() {
195
- if (draining) {
196
- return;
197
- }
198
- var timeout = runTimeout(cleanUpNextTick);
199
- draining = true;
200
-
201
- var len = queue.length;
202
- while(len) {
203
- currentQueue = queue;
204
- queue = [];
205
- while (++queueIndex < len) {
206
- if (currentQueue) {
207
- currentQueue[queueIndex].run();
208
- }
209
- }
210
- queueIndex = -1;
211
- len = queue.length;
212
- }
213
- currentQueue = null;
214
- draining = false;
215
- runClearTimeout(timeout);
216
- }
217
-
218
- process.nextTick = function (fun) {
219
- var args = new Array(arguments.length - 1);
220
- if (arguments.length > 1) {
221
- for (var i = 1; i < arguments.length; i++) {
222
- args[i - 1] = arguments[i];
223
- }
224
- }
225
- queue.push(new Item(fun, args));
226
- if (queue.length === 1 && !draining) {
227
- runTimeout(drainQueue);
228
- }
229
- };
230
-
231
- // v8 likes predictible objects
232
- function Item(fun, array) {
233
- this.fun = fun;
234
- this.array = array;
235
- }
236
- Item.prototype.run = function () {
237
- this.fun.apply(null, this.array);
238
- };
239
- process.title = 'browser';
240
- process.browser = true;
241
- process.env = {};
242
- process.argv = [];
243
- process.version = ''; // empty string to avoid regexp issues
244
- process.versions = {};
245
-
246
- function noop() {}
247
-
248
- process.on = noop;
249
- process.addListener = noop;
250
- process.once = noop;
251
- process.off = noop;
252
- process.removeListener = noop;
253
- process.removeAllListeners = noop;
254
- process.emit = noop;
255
- process.prependListener = noop;
256
- process.prependOnceListener = noop;
257
-
258
- process.listeners = function (name) { return [] }
259
-
260
- process.binding = function (name) {
261
- throw new Error('process.binding is not supported');
262
- };
263
-
264
- process.cwd = function () { return '/' };
265
- process.chdir = function (dir) {
266
- throw new Error('process.chdir is not supported');
267
- };
268
- process.umask = function() { return 0; };
269
-
270
-
271
- /***/ }),
272
- /* 2 */
273
- /***/ (function(module, exports, __webpack_require__) {
274
-
275
- /* WEBPACK VAR INJECTION */(function(process) {/**
276
- * Copyright (c) 2013-present, Facebook, Inc.
277
- *
278
- * This source code is licensed under the MIT license found in the
279
- * LICENSE file in the root directory of this source tree.
280
- */
281
-
282
- if (process.env.NODE_ENV !== 'production') {
283
- var ReactIs = __webpack_require__(15);
284
-
285
- // By explicitly using `prop-types` you are opting into new development behavior.
286
- // http://fb.me/prop-types-in-prod
287
- var throwOnDirectAccess = true;
288
- module.exports = __webpack_require__(401)(ReactIs.isElement, throwOnDirectAccess);
289
- } else {
290
- // By explicitly using `prop-types` you are opting into new production behavior.
291
- // http://fb.me/prop-types-in-prod
292
- module.exports = __webpack_require__(402)();
293
- }
294
-
295
- /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
296
-
297
- /***/ }),
298
- /* 3 */
299
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
300
-
301
- "use strict";
302
- /* harmony export (immutable) */ __webpack_exports__["a"] = _extends;
303
- function _extends() {
304
- _extends = Object.assign || function (target) {
305
- for (var i = 1; i < arguments.length; i++) {
306
- var source = arguments[i];
307
-
308
- for (var key in source) {
309
- if (Object.prototype.hasOwnProperty.call(source, key)) {
310
- target[key] = source[key];
311
- }
312
- }
313
- }
314
-
315
- return target;
316
- };
317
-
318
- return _extends.apply(this, arguments);
319
- }
320
-
321
- /***/ }),
322
- /* 4 */
323
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
324
-
325
- "use strict";
326
- /* harmony export (immutable) */ __webpack_exports__["a"] = _objectWithoutProperties;
327
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__objectWithoutPropertiesLoose__ = __webpack_require__(54);
328
-
329
- function _objectWithoutProperties(source, excluded) {
330
- if (source == null) return {};
331
- var target = Object(__WEBPACK_IMPORTED_MODULE_0__objectWithoutPropertiesLoose__["a" /* default */])(source, excluded);
332
- var key, i;
333
-
334
- if (Object.getOwnPropertySymbols) {
335
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
336
-
337
- for (i = 0; i < sourceSymbolKeys.length; i++) {
338
- key = sourceSymbolKeys[i];
339
- if (excluded.indexOf(key) >= 0) continue;
340
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
341
- target[key] = source[key];
342
- }
343
- }
344
-
345
- return target;
346
- }
347
-
348
- /***/ }),
349
- /* 5 */
350
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
351
-
352
- "use strict";
353
- function toVal(mix) {
354
- var k, y, str='';
355
-
356
- if (typeof mix === 'string' || typeof mix === 'number') {
357
- str += mix;
358
- } else if (typeof mix === 'object') {
359
- if (Array.isArray(mix)) {
360
- for (k=0; k < mix.length; k++) {
361
- if (mix[k]) {
362
- if (y = toVal(mix[k])) {
363
- str && (str += ' ');
364
- str += y;
365
- }
366
- }
367
- }
368
- } else {
369
- for (k in mix) {
370
- if (mix[k]) {
371
- str && (str += ' ');
372
- str += k;
373
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
374
  }
375
- }
376
- }
377
-
378
- return str;
379
- }
380
-
381
- /* harmony default export */ __webpack_exports__["a"] = (function () {
382
- var i=0, tmp, x, str='';
383
- while (i < arguments.length) {
384
- if (tmp = arguments[i++]) {
385
- if (x = toVal(tmp)) {
386
- str && (str += ' ');
387
- str += x
388
  }
389
- }
 
390
  }
391
- return str;
392
- });
393
-
394
-
395
- /***/ }),
396
- /* 6 */
397
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
398
-
399
- "use strict";
400
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
401
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__material_ui_styles__ = __webpack_require__(23);
402
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__defaultTheme__ = __webpack_require__(64);
403
-
404
-
405
-
406
-
407
- function withStyles(stylesOrCreator, options) {
408
- return Object(__WEBPACK_IMPORTED_MODULE_1__material_ui_styles__["g" /* withStyles */])(stylesOrCreator, Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({
409
- defaultTheme: __WEBPACK_IMPORTED_MODULE_2__defaultTheme__["a" /* default */]
410
- }, options));
411
- }
412
-
413
- /* harmony default export */ __webpack_exports__["a"] = (withStyles);
414
-
415
- /***/ }),
416
- /* 7 */
417
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
418
-
419
- "use strict";
420
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__chainPropTypes__ = __webpack_require__(119);
421
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_0__chainPropTypes__["a"]; });
422
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__deepmerge__ = __webpack_require__(433);
423
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_1__deepmerge__["a"]; });
424
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__elementAcceptingRef__ = __webpack_require__(434);
425
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return __WEBPACK_IMPORTED_MODULE_2__elementAcceptingRef__["a"]; });
426
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__elementTypeAcceptingRef__ = __webpack_require__(435);
427
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return __WEBPACK_IMPORTED_MODULE_3__elementTypeAcceptingRef__["a"]; });
428
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__exactProp__ = __webpack_require__(436);
429
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return __WEBPACK_IMPORTED_MODULE_4__exactProp__["a"]; });
430
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__formatMuiErrorMessage__ = __webpack_require__(437);
431
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return __WEBPACK_IMPORTED_MODULE_5__formatMuiErrorMessage__["a"]; });
432
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__getDisplayName__ = __webpack_require__(438);
433
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return __WEBPACK_IMPORTED_MODULE_6__getDisplayName__["a"]; });
434
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__HTMLElementType__ = __webpack_require__(439);
435
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_7__HTMLElementType__["a"]; });
436
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__ponyfillGlobal__ = __webpack_require__(440);
437
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return __WEBPACK_IMPORTED_MODULE_8__ponyfillGlobal__["a"]; });
438
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__refType__ = __webpack_require__(441);
439
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return __WEBPACK_IMPORTED_MODULE_9__refType__["a"]; });
440
- /** @license Material-UI v4.10.2
441
- *
442
- * This source code is licensed under the MIT license found in the
443
- * LICENSE file in the root directory of this source tree.
444
- */
445
-
446
-
447
-
448
-
449
-
450
-
451
-
452
-
453
-
454
-
455
-
456
- /***/ }),
457
- /* 8 */
458
- /***/ (function(module, exports, __webpack_require__) {
459
-
460
- "use strict";
461
-
462
-
463
- Object.defineProperty(exports, "__esModule", {
464
- value: true
465
- });
466
- exports.ReactCSS = exports.loop = exports.handleActive = exports.handleHover = exports.hover = undefined;
467
-
468
- var _flattenNames = __webpack_require__(725);
469
-
470
- var _flattenNames2 = _interopRequireDefault(_flattenNames);
471
-
472
- var _mergeClasses = __webpack_require__(796);
473
-
474
- var _mergeClasses2 = _interopRequireDefault(_mergeClasses);
475
-
476
- var _autoprefix = __webpack_require__(816);
477
-
478
- var _autoprefix2 = _interopRequireDefault(_autoprefix);
479
-
480
- var _hover2 = __webpack_require__(817);
481
-
482
- var _hover3 = _interopRequireDefault(_hover2);
483
-
484
- var _active = __webpack_require__(818);
485
-
486
- var _active2 = _interopRequireDefault(_active);
487
-
488
- var _loop2 = __webpack_require__(819);
489
-
490
- var _loop3 = _interopRequireDefault(_loop2);
491
-
492
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
493
-
494
- exports.hover = _hover3.default;
495
- exports.handleHover = _hover3.default;
496
- exports.handleActive = _active2.default;
497
- exports.loop = _loop3.default;
498
- var ReactCSS = exports.ReactCSS = function ReactCSS(classes) {
499
- for (var _len = arguments.length, activations = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
500
- activations[_key - 1] = arguments[_key];
501
- }
502
-
503
- var activeNames = (0, _flattenNames2.default)(activations);
504
- var merged = (0, _mergeClasses2.default)(classes, activeNames);
505
- return (0, _autoprefix2.default)(merged);
506
  };
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
507
 
508
- exports.default = ReactCSS;
509
-
510
- /***/ }),
511
- /* 9 */
512
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
513
-
514
- "use strict";
515
- /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (immutable) */ __webpack_exports__["a"] = capitalize;
516
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_ui_utils__ = __webpack_require__(7);
517
-
518
- // It should to be noted that this function isn't equivalent to `text-transform: capitalize`.
519
- //
520
- // A strict capitalization should uppercase the first letter of each word a the sentence.
521
- // We only handle the first word.
522
- function capitalize(string) {
523
- if (typeof string !== 'string') {
524
- throw new Error(process.env.NODE_ENV !== "production" ? "Material-UI: capitalize(string) expects a string argument." : Object(__WEBPACK_IMPORTED_MODULE_0__material_ui_utils__["g" /* formatMuiErrorMessage */])(7));
525
- }
526
-
527
- return string.charAt(0).toUpperCase() + string.slice(1);
528
- }
529
- /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
530
-
531
- /***/ }),
532
- /* 10 */
533
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
534
-
535
- "use strict";
536
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__capitalize__ = __webpack_require__(9);
537
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__capitalize__["a"]; });
538
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__createChainedFunction__ = __webpack_require__(57);
539
- /* unused harmony reexport createChainedFunction */
540
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__createSvgIcon__ = __webpack_require__(21);
541
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_2__createSvgIcon__["a"]; });
542
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__debounce__ = __webpack_require__(47);
543
- /* unused harmony reexport debounce */
544
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__deprecatedPropType__ = __webpack_require__(516);
545
- /* unused harmony reexport deprecatedPropType */
546
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__isMuiElement__ = __webpack_require__(66);
547
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_5__isMuiElement__["a"]; });
548
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__ownerDocument__ = __webpack_require__(29);
549
- /* unused harmony reexport ownerDocument */
550
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__ownerWindow__ = __webpack_require__(86);
551
- /* unused harmony reexport ownerWindow */
552
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__requirePropFactory__ = __webpack_require__(237);
553
- /* unused harmony reexport requirePropFactory */
554
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__setRef__ = __webpack_require__(48);
555
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return __WEBPACK_IMPORTED_MODULE_9__setRef__["a"]; });
556
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__unsupportedProp__ = __webpack_require__(87);
557
- /* unused harmony reexport unsupportedProp */
558
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__useControlled__ = __webpack_require__(41);
559
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return __WEBPACK_IMPORTED_MODULE_11__useControlled__["a"]; });
560
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__useEventCallback__ = __webpack_require__(38);
561
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return __WEBPACK_IMPORTED_MODULE_12__useEventCallback__["a"]; });
562
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__useForkRef__ = __webpack_require__(14);
563
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return __WEBPACK_IMPORTED_MODULE_13__useForkRef__["a"]; });
564
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__unstable_useId__ = __webpack_require__(88);
565
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return __WEBPACK_IMPORTED_MODULE_14__unstable_useId__["a"]; });
566
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__useIsFocusVisible__ = __webpack_require__(67);
567
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return __WEBPACK_IMPORTED_MODULE_15__useIsFocusVisible__["a"]; });
568
-
569
-
570
-
571
-
572
-
573
-
574
-
575
-
576
-
577
-
578
-
579
-
580
-
581
- // eslint-disable-next-line camelcase
582
-
583
-
584
-
585
-
586
- /***/ }),
587
- /* 11 */
588
- /***/ (function(module, exports, __webpack_require__) {
589
-
590
- "use strict";
591
- /* WEBPACK VAR INJECTION */(function(process) {
592
-
593
- function checkDCE() {
594
- /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
595
- if (
596
- typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' ||
597
- typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function'
598
- ) {
599
- return;
600
- }
601
- if (process.env.NODE_ENV !== 'production') {
602
- // This branch is unreachable because this function is only called
603
- // in production, but the condition is true only in development.
604
- // Therefore if the branch is still here, dead code elimination wasn't
605
- // properly applied.
606
- // Don't change the message. React DevTools relies on it. Also make sure
607
- // this message doesn't occur elsewhere in this function, or it will cause
608
- // a false positive.
609
- throw new Error('^_^');
610
- }
611
- try {
612
- // Verify that the code above has been dead code eliminated (DCE'd).
613
- __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);
614
- } catch (err) {
615
- // DevTools shouldn't crash React, no matter what.
616
- // We should still report in case we break this code.
617
- console.error(err);
618
- }
619
- }
620
-
621
- if (process.env.NODE_ENV === 'production') {
622
- // DCE check should happen before ReactDOM bundle executes so that
623
- // DevTools can report bad minification during injection.
624
- checkDCE();
625
- module.exports = __webpack_require__(391);
626
- } else {
627
- module.exports = __webpack_require__(394);
628
- }
629
-
630
- /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
631
-
632
- /***/ }),
633
- /* 12 */
634
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
635
-
636
- "use strict";
637
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__colorManipulator__ = __webpack_require__(19);
638
- /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__colorManipulator__["a"]; });
639
- /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_0__colorManipulator__["b"]; });
640
- /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "d", function() { return __WEBPACK_IMPORTED_MODULE_0__colorManipulator__["c"]; });
641
- /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "e", function() { return __WEBPACK_IMPORTED_MODULE_0__colorManipulator__["e"]; });
642
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__createMuiTheme__ = __webpack_require__(126);
643
- /* unused harmony reexport createMuiTheme */
644
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__createMuiStrictModeTheme__ = __webpack_require__(507);
645
- /* unused harmony reexport unstable_createMuiStrictModeTheme */
646
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__createStyles__ = __webpack_require__(508);
647
- /* unused harmony reexport createStyles */
648
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__makeStyles__ = __webpack_require__(509);
649
- /* unused harmony reexport makeStyles */
650
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__responsiveFontSizes__ = __webpack_require__(510);
651
- /* unused harmony reexport responsiveFontSizes */
652
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__styled__ = __webpack_require__(236);
653
- /* unused harmony reexport styled */
654
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__transitions__ = __webpack_require__(34);
655
- /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_7__transitions__["b"]; });
656
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__useTheme__ = __webpack_require__(17);
657
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return __WEBPACK_IMPORTED_MODULE_8__useTheme__["a"]; });
658
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__withStyles__ = __webpack_require__(6);
659
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return __WEBPACK_IMPORTED_MODULE_9__withStyles__["a"]; });
660
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__withTheme__ = __webpack_require__(512);
661
- /* unused harmony reexport withTheme */
662
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__material_ui_styles__ = __webpack_require__(23);
663
- /* unused harmony reexport createGenerateClassName */
664
- /* unused harmony reexport jssPreset */
665
- /* unused harmony reexport ServerStyleSheets */
666
- /* unused harmony reexport StylesProvider */
667
- /* unused harmony reexport MuiThemeProvider */
668
- /* unused harmony reexport ThemeProvider */
669
-
670
- // eslint-disable-next-line camelcase
671
-
672
-
673
-
674
-
675
-
676
-
677
-
678
-
679
-
680
-
681
-
682
-
683
- /***/ }),
684
- /* 13 */
685
- /***/ (function(module, exports, __webpack_require__) {
686
-
687
- "use strict";
688
-
689
-
690
- Object.defineProperty(exports, "__esModule", {
691
- value: true
692
- });
693
-
694
- var _Alpha = __webpack_require__(820);
695
-
696
- Object.defineProperty(exports, 'Alpha', {
697
- enumerable: true,
698
- get: function get() {
699
- return _interopRequireDefault(_Alpha).default;
700
- }
701
- });
702
-
703
- var _Checkboard = __webpack_require__(183);
704
-
705
- Object.defineProperty(exports, 'Checkboard', {
706
- enumerable: true,
707
- get: function get() {
708
- return _interopRequireDefault(_Checkboard).default;
709
- }
710
- });
711
-
712
- var _EditableInput = __webpack_require__(823);
713
-
714
- Object.defineProperty(exports, 'EditableInput', {
715
- enumerable: true,
716
- get: function get() {
717
- return _interopRequireDefault(_EditableInput).default;
718
- }
719
- });
720
-
721
- var _Hue = __webpack_require__(824);
722
-
723
- Object.defineProperty(exports, 'Hue', {
724
- enumerable: true,
725
- get: function get() {
726
- return _interopRequireDefault(_Hue).default;
727
- }
728
- });
729
-
730
- var _Raised = __webpack_require__(826);
731
-
732
- Object.defineProperty(exports, 'Raised', {
733
- enumerable: true,
734
- get: function get() {
735
- return _interopRequireDefault(_Raised).default;
736
- }
737
- });
738
-
739
- var _Saturation = __webpack_require__(840);
740
-
741
- Object.defineProperty(exports, 'Saturation', {
742
- enumerable: true,
743
- get: function get() {
744
- return _interopRequireDefault(_Saturation).default;
745
- }
746
- });
747
-
748
- var _ColorWrap = __webpack_require__(386);
749
-
750
- Object.defineProperty(exports, 'ColorWrap', {
751
- enumerable: true,
752
- get: function get() {
753
- return _interopRequireDefault(_ColorWrap).default;
754
- }
755
- });
756
-
757
- var _Swatch = __webpack_require__(848);
758
-
759
- Object.defineProperty(exports, 'Swatch', {
760
- enumerable: true,
761
- get: function get() {
762
- return _interopRequireDefault(_Swatch).default;
763
- }
764
- });
765
-
766
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
767
-
768
- /***/ }),
769
- /* 14 */
770
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
771
-
772
- "use strict";
773
- /* harmony export (immutable) */ __webpack_exports__["a"] = useForkRef;
774
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
775
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
776
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__setRef__ = __webpack_require__(48);
777
-
778
-
779
- function useForkRef(refA, refB) {
780
- /**
781
- * This will create a new function if the ref props change and are defined.
782
- * This means react will call the old forkRef with `null` and the new forkRef
783
- * with the ref. Cleanup naturally emerges from this behavior
784
- */
785
- return __WEBPACK_IMPORTED_MODULE_0_react__["useMemo"](function () {
786
- if (refA == null && refB == null) {
787
- return null;
788
- }
789
-
790
- return function (refValue) {
791
- Object(__WEBPACK_IMPORTED_MODULE_1__setRef__["a" /* default */])(refA, refValue);
792
- Object(__WEBPACK_IMPORTED_MODULE_1__setRef__["a" /* default */])(refB, refValue);
793
- };
794
- }, [refA, refB]);
795
- }
796
-
797
- /***/ }),
798
- /* 15 */
799
- /***/ (function(module, exports, __webpack_require__) {
800
-
801
- "use strict";
802
- /* WEBPACK VAR INJECTION */(function(process) {
803
-
804
- if (process.env.NODE_ENV === 'production') {
805
- module.exports = __webpack_require__(399);
806
- } else {
807
- module.exports = __webpack_require__(400);
808
- }
809
-
810
- /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
811
-
812
- /***/ }),
813
- /* 16 */
814
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
815
-
816
- "use strict";
817
- /* harmony export (immutable) */ __webpack_exports__["a"] = _defineProperty;
818
- function _defineProperty(obj, key, value) {
819
- if (key in obj) {
820
- Object.defineProperty(obj, key, {
821
- value: value,
822
- enumerable: true,
823
- configurable: true,
824
- writable: true
825
- });
826
- } else {
827
- obj[key] = value;
828
- }
829
-
830
- return obj;
831
- }
832
-
833
- /***/ }),
834
- /* 17 */
835
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
836
-
837
- "use strict";
838
- /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (immutable) */ __webpack_exports__["a"] = useTheme;
839
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_ui_styles__ = __webpack_require__(23);
840
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react__ = __webpack_require__(0);
841
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_react__);
842
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__defaultTheme__ = __webpack_require__(64);
843
-
844
-
845
-
846
- function useTheme() {
847
- var theme = Object(__WEBPACK_IMPORTED_MODULE_0__material_ui_styles__["f" /* useTheme */])() || __WEBPACK_IMPORTED_MODULE_2__defaultTheme__["a" /* default */];
848
-
849
- if (process.env.NODE_ENV !== 'production') {
850
- // eslint-disable-next-line react-hooks/rules-of-hooks
851
- __WEBPACK_IMPORTED_MODULE_1_react___default.a.useDebugValue(theme);
852
- }
853
-
854
- return theme;
855
- }
856
- /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
857
-
858
- /***/ }),
859
- /* 18 */
860
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
861
-
862
- "use strict";
863
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ButtonBase__ = __webpack_require__(521);
864
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__ButtonBase__["a"]; });
865
-
866
-
867
- /***/ }),
868
- /* 19 */
869
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
870
-
871
- "use strict";
872
- /* WEBPACK VAR INJECTION */(function(process) {/* unused harmony export hexToRgb */
873
- /* unused harmony export rgbToHex */
874
- /* unused harmony export hslToRgb */
875
- /* unused harmony export decomposeColor */
876
- /* unused harmony export recomposeColor */
877
- /* harmony export (immutable) */ __webpack_exports__["d"] = getContrastRatio;
878
- /* unused harmony export getLuminance */
879
- /* harmony export (immutable) */ __webpack_exports__["b"] = emphasize;
880
- /* harmony export (immutable) */ __webpack_exports__["c"] = fade;
881
- /* harmony export (immutable) */ __webpack_exports__["a"] = darken;
882
- /* harmony export (immutable) */ __webpack_exports__["e"] = lighten;
883
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_ui_utils__ = __webpack_require__(7);
884
-
885
-
886
- /* eslint-disable no-use-before-define */
887
-
888
- /**
889
- * Returns a number whose value is limited to the given range.
890
- *
891
- * @param {number} value The value to be clamped
892
- * @param {number} min The lower boundary of the output range
893
- * @param {number} max The upper boundary of the output range
894
- * @returns {number} A number in the range [min, max]
895
- */
896
- function clamp(value) {
897
- var min = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
898
- var max = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;
899
-
900
- if (process.env.NODE_ENV !== 'production') {
901
- if (value < min || value > max) {
902
- console.error("Material-UI: The value provided ".concat(value, " is out of range [").concat(min, ", ").concat(max, "]."));
903
- }
904
- }
905
-
906
- return Math.min(Math.max(min, value), max);
907
- }
908
- /**
909
- * Converts a color from CSS hex format to CSS rgb format.
910
- *
911
- * @param {string} color - Hex color, i.e. #nnn or #nnnnnn
912
- * @returns {string} A CSS rgb color string
913
- */
914
-
915
-
916
- function hexToRgb(color) {
917
- color = color.substr(1);
918
- var re = new RegExp(".{1,".concat(color.length >= 6 ? 2 : 1, "}"), 'g');
919
- var colors = color.match(re);
920
-
921
- if (colors && colors[0].length === 1) {
922
- colors = colors.map(function (n) {
923
- return n + n;
924
- });
925
- }
926
-
927
- return colors ? "rgb".concat(colors.length === 4 ? 'a' : '', "(").concat(colors.map(function (n, index) {
928
- return index < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1000) / 1000;
929
- }).join(', '), ")") : '';
930
- }
931
-
932
- function intToHex(int) {
933
- var hex = int.toString(16);
934
- return hex.length === 1 ? "0".concat(hex) : hex;
935
- }
936
- /**
937
- * Converts a color from CSS rgb format to CSS hex format.
938
- *
939
- * @param {string} color - RGB color, i.e. rgb(n, n, n)
940
- * @returns {string} A CSS rgb color string, i.e. #nnnnnn
941
- */
942
-
943
-
944
- function rgbToHex(color) {
945
- // Idempotent
946
- if (color.indexOf('#') === 0) {
947
- return color;
948
- }
949
-
950
- var _decomposeColor = decomposeColor(color),
951
- values = _decomposeColor.values;
952
-
953
- return "#".concat(values.map(function (n) {
954
- return intToHex(n);
955
- }).join(''));
956
- }
957
- /**
958
- * Converts a color from hsl format to rgb format.
959
- *
960
- * @param {string} color - HSL color values
961
- * @returns {string} rgb color values
962
- */
963
-
964
- function hslToRgb(color) {
965
- color = decomposeColor(color);
966
- var _color = color,
967
- values = _color.values;
968
- var h = values[0];
969
- var s = values[1] / 100;
970
- var l = values[2] / 100;
971
- var a = s * Math.min(l, 1 - l);
972
-
973
- var f = function f(n) {
974
- var k = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : (n + h / 30) % 12;
975
- return l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1);
976
- };
977
-
978
- var type = 'rgb';
979
- var rgb = [Math.round(f(0) * 255), Math.round(f(8) * 255), Math.round(f(4) * 255)];
980
-
981
- if (color.type === 'hsla') {
982
- type += 'a';
983
- rgb.push(values[3]);
984
- }
985
 
986
- return recomposeColor({
987
- type: type,
988
- values: rgb
989
- });
 
 
 
990
  }
991
- /**
992
- * Returns an object with the type and values of a color.
993
- *
994
- * Note: Does not support rgb % values.
995
- *
996
- * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
997
- * @returns {object} - A MUI color object: {type: string, values: number[]}
998
- */
999
 
1000
- function decomposeColor(color) {
1001
- // Idempotent
1002
- if (color.type) {
1003
- return color;
1004
- }
1005
-
1006
- if (color.charAt(0) === '#') {
1007
- return decomposeColor(hexToRgb(color));
1008
- }
1009
-
1010
- var marker = color.indexOf('(');
1011
- var type = color.substring(0, marker);
1012
-
1013
- if (['rgb', 'rgba', 'hsl', 'hsla'].indexOf(type) === -1) {
1014
- throw new Error(process.env.NODE_ENV !== "production" ? "Material-UI: Unsupported `".concat(color, "` color.\nWe support the following formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla().") : Object(__WEBPACK_IMPORTED_MODULE_0__material_ui_utils__["g" /* formatMuiErrorMessage */])(3, color));
1015
- }
1016
-
1017
- var values = color.substring(marker + 1, color.length - 1).split(',');
1018
- values = values.map(function (value) {
1019
- return parseFloat(value);
1020
- });
1021
- return {
1022
- type: type,
1023
- values: values
1024
- };
1025
- }
1026
- /**
1027
- * Converts a color object with type and values to a string.
1028
- *
1029
- * @param {object} color - Decomposed color
1030
- * @param {string} color.type - One of: 'rgb', 'rgba', 'hsl', 'hsla'
1031
- * @param {array} color.values - [n,n,n] or [n,n,n,n]
1032
- * @returns {string} A CSS color string
1033
- */
1034
 
1035
- function recomposeColor(color) {
1036
- var type = color.type;
1037
- var values = color.values;
1038
-
1039
- if (type.indexOf('rgb') !== -1) {
1040
- // Only convert the first 3 values to int (i.e. not alpha)
1041
- values = values.map(function (n, i) {
1042
- return i < 3 ? parseInt(n, 10) : n;
1043
- });
1044
- } else if (type.indexOf('hsl') !== -1) {
1045
- values[1] = "".concat(values[1], "%");
1046
- values[2] = "".concat(values[2], "%");
1047
- }
1048
-
1049
- return "".concat(type, "(").concat(values.join(', '), ")");
1050
- }
1051
- /**
1052
- * Calculates the contrast ratio between two colors.
1053
- *
1054
- * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
1055
- *
1056
- * @param {string} foreground - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
1057
- * @param {string} background - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
1058
- * @returns {number} A contrast ratio value in the range 0 - 21.
1059
- */
1060
-
1061
- function getContrastRatio(foreground, background) {
1062
- var lumA = getLuminance(foreground);
1063
- var lumB = getLuminance(background);
1064
- return (Math.max(lumA, lumB) + 0.05) / (Math.min(lumA, lumB) + 0.05);
1065
- }
1066
- /**
1067
- * The relative brightness of any point in a color space,
1068
- * normalized to 0 for darkest black and 1 for lightest white.
1069
- *
1070
- * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
1071
- *
1072
- * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
1073
- * @returns {number} The relative brightness of the color in the range 0 - 1
1074
- */
1075
-
1076
- function getLuminance(color) {
1077
- color = decomposeColor(color);
1078
- var rgb = color.type === 'hsl' ? decomposeColor(hslToRgb(color)).values : color.values;
1079
- rgb = rgb.map(function (val) {
1080
- val /= 255; // normalized
1081
-
1082
- return val <= 0.03928 ? val / 12.92 : Math.pow((val + 0.055) / 1.055, 2.4);
1083
- }); // Truncate at 3 digits
1084
-
1085
- return Number((0.2126 * rgb[0] + 0.7152 * rgb[1] + 0.0722 * rgb[2]).toFixed(3));
1086
- }
1087
- /**
1088
- * Darken or lighten a color, depending on its luminance.
1089
- * Light colors are darkened, dark colors are lightened.
1090
- *
1091
- * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
1092
- * @param {number} coefficient=0.15 - multiplier in the range 0 - 1
1093
- * @returns {string} A CSS color string. Hex input values are returned as rgb
1094
- */
1095
-
1096
- function emphasize(color) {
1097
- var coefficient = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0.15;
1098
- return getLuminance(color) > 0.5 ? darken(color, coefficient) : lighten(color, coefficient);
1099
- }
1100
- /**
1101
- * Set the absolute transparency of a color.
1102
- * Any existing alpha values are overwritten.
1103
- *
1104
- * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
1105
- * @param {number} value - value to set the alpha channel to in the range 0 -1
1106
- * @returns {string} A CSS color string. Hex input values are returned as rgb
1107
- */
1108
-
1109
- function fade(color, value) {
1110
- color = decomposeColor(color);
1111
- value = clamp(value);
1112
-
1113
- if (color.type === 'rgb' || color.type === 'hsl') {
1114
- color.type += 'a';
1115
- }
1116
-
1117
- color.values[3] = value;
1118
- return recomposeColor(color);
1119
- }
1120
- /**
1121
- * Darkens a color.
1122
- *
1123
- * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
1124
- * @param {number} coefficient - multiplier in the range 0 - 1
1125
- * @returns {string} A CSS color string. Hex input values are returned as rgb
1126
- */
1127
-
1128
- function darken(color, coefficient) {
1129
- color = decomposeColor(color);
1130
- coefficient = clamp(coefficient);
1131
-
1132
- if (color.type.indexOf('hsl') !== -1) {
1133
- color.values[2] *= 1 - coefficient;
1134
- } else if (color.type.indexOf('rgb') !== -1) {
1135
- for (var i = 0; i < 3; i += 1) {
1136
- color.values[i] *= 1 - coefficient;
1137
- }
1138
- }
1139
-
1140
- return recomposeColor(color);
1141
- }
1142
- /**
1143
- * Lightens a color.
1144
- *
1145
- * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
1146
- * @param {number} coefficient - multiplier in the range 0 - 1
1147
- * @returns {string} A CSS color string. Hex input values are returned as rgb
1148
- */
1149
-
1150
- function lighten(color, coefficient) {
1151
- color = decomposeColor(color);
1152
- coefficient = clamp(coefficient);
1153
-
1154
- if (color.type.indexOf('hsl') !== -1) {
1155
- color.values[2] += (100 - color.values[2]) * coefficient;
1156
- } else if (color.type.indexOf('rgb') !== -1) {
1157
- for (var i = 0; i < 3; i += 1) {
1158
- color.values[i] += (255 - color.values[i]) * coefficient;
1159
- }
1160
- }
1161
-
1162
- return recomposeColor(color);
1163
- }
1164
- /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
1165
-
1166
- /***/ }),
1167
- /* 20 */
1168
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
1169
-
1170
- "use strict";
1171
- /* harmony export (immutable) */ __webpack_exports__["a"] = _slicedToArray;
1172
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__arrayWithHoles__ = __webpack_require__(223);
1173
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__iterableToArrayLimit__ = __webpack_require__(477);
1174
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__unsupportedIterableToArray__ = __webpack_require__(123);
1175
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__nonIterableRest__ = __webpack_require__(224);
1176
-
1177
-
1178
-
1179
-
1180
- function _slicedToArray(arr, i) {
1181
- return Object(__WEBPACK_IMPORTED_MODULE_0__arrayWithHoles__["a" /* default */])(arr) || Object(__WEBPACK_IMPORTED_MODULE_1__iterableToArrayLimit__["a" /* default */])(arr, i) || Object(__WEBPACK_IMPORTED_MODULE_2__unsupportedIterableToArray__["a" /* default */])(arr, i) || Object(__WEBPACK_IMPORTED_MODULE_3__nonIterableRest__["a" /* default */])();
1182
- }
1183
-
1184
- /***/ }),
1185
- /* 21 */
1186
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
1187
-
1188
- "use strict";
1189
- /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (immutable) */ __webpack_exports__["a"] = createSvgIcon;
1190
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
1191
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react__ = __webpack_require__(0);
1192
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_react__);
1193
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__SvgIcon__ = __webpack_require__(85);
1194
-
1195
-
1196
-
1197
- /**
1198
- * Private module reserved for @material-ui/x packages.
1199
- */
1200
-
1201
- function createSvgIcon(path, displayName) {
1202
- var Component = function Component(props, ref) {
1203
- return /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_1_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2__SvgIcon__["a" /* default */], Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({
1204
- ref: ref
1205
- }, props), path);
1206
- };
1207
-
1208
- if (process.env.NODE_ENV !== 'production') {
1209
- // Need to set `displayName` on the inner component for React.memo.
1210
- // React prior to 16.14 ignores `displayName` on the wrapper.
1211
- Component.displayName = "".concat(displayName, "Icon");
1212
- }
1213
-
1214
- Component.muiName = __WEBPACK_IMPORTED_MODULE_2__SvgIcon__["a" /* default */].muiName;
1215
- return /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_1_react___default.a.memo( /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_1_react___default.a.forwardRef(Component));
1216
- }
1217
- /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
1218
-
1219
- /***/ }),
1220
- /* 22 */
1221
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
1222
-
1223
- "use strict";
1224
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Paper__ = __webpack_require__(513);
1225
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Paper__["a"]; });
1226
-
1227
-
1228
- /***/ }),
1229
- /* 23 */
1230
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
1231
-
1232
- "use strict";
1233
- /* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_ui_utils__ = __webpack_require__(7);
1234
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__createGenerateClassName__ = __webpack_require__(78);
1235
- /* unused harmony reexport createGenerateClassName */
1236
- /* unused harmony namespace reexport */
1237
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__createStyles__ = __webpack_require__(192);
1238
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_2__createStyles__["a"]; });
1239
- /* unused harmony namespace reexport */
1240
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__getThemeProps__ = __webpack_require__(120);
1241
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_3__getThemeProps__["a"]; });
1242
- /* unused harmony namespace reexport */
1243
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__jssPreset__ = __webpack_require__(121);
1244
- /* unused harmony reexport jssPreset */
1245
- /* unused harmony namespace reexport */
1246
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__makeStyles__ = __webpack_require__(80);
1247
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_5__makeStyles__["a"]; });
1248
- /* unused harmony namespace reexport */
1249
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__mergeClasses__ = __webpack_require__(124);
1250
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return __WEBPACK_IMPORTED_MODULE_6__mergeClasses__["a"]; });
1251
- /* unused harmony namespace reexport */
1252
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__ServerStyleSheets__ = __webpack_require__(199);
1253
- /* unused harmony reexport ServerStyleSheets */
1254
- /* unused harmony namespace reexport */
1255
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__styled__ = __webpack_require__(200);
1256
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return __WEBPACK_IMPORTED_MODULE_8__styled__["a"]; });
1257
- /* unused harmony namespace reexport */
1258
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__StylesProvider__ = __webpack_require__(81);
1259
- /* unused harmony reexport StylesProvider */
1260
- /* unused harmony namespace reexport */
1261
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__ThemeProvider__ = __webpack_require__(201);
1262
- /* unused harmony reexport ThemeProvider */
1263
- /* unused harmony namespace reexport */
1264
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__useTheme__ = __webpack_require__(56);
1265
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return __WEBPACK_IMPORTED_MODULE_11__useTheme__["a"]; });
1266
- /* unused harmony namespace reexport */
1267
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__withStyles__ = __webpack_require__(202);
1268
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return __WEBPACK_IMPORTED_MODULE_12__withStyles__["a"]; });
1269
- /* unused harmony namespace reexport */
1270
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__withTheme__ = __webpack_require__(203);
1271
- /* unused harmony reexport withTheme */
1272
- /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "h", function() { return __WEBPACK_IMPORTED_MODULE_13__withTheme__["a"]; });
1273
- /** @license Material-UI v4.10.0
1274
- *
1275
- * This source code is licensed under the MIT license found in the
1276
- * LICENSE file in the root directory of this source tree.
1277
- */
1278
- /* eslint-disable import/export */
1279
-
1280
- /* Warning if there are several instances of @material-ui/styles */
1281
-
1282
- if (process.env.NODE_ENV !== 'production' && process.env.NODE_ENV !== 'test' && typeof window !== 'undefined') {
1283
- __WEBPACK_IMPORTED_MODULE_0__material_ui_utils__["i" /* ponyfillGlobal */]['__@material-ui/styles-init__'] = __WEBPACK_IMPORTED_MODULE_0__material_ui_utils__["i" /* ponyfillGlobal */]['__@material-ui/styles-init__'] || 0;
1284
-
1285
- if (__WEBPACK_IMPORTED_MODULE_0__material_ui_utils__["i" /* ponyfillGlobal */]['__@material-ui/styles-init__'] === 1) {
1286
- console.warn(['It looks like there are several instances of `@material-ui/styles` initialized in this application.', 'This may cause theme propagation issues, broken class names, ' + 'specificity issues, and makes your application bigger without a good reason.', '', 'See https://material-ui.com/r/styles-instance-warning for more info.'].join('\n'));
1287
- }
1288
-
1289
- __WEBPACK_IMPORTED_MODULE_0__material_ui_utils__["i" /* ponyfillGlobal */]['__@material-ui/styles-init__'] += 1;
1290
- }
1291
-
1292
-
1293
-
1294
-
1295
-
1296
-
1297
-
1298
-
1299
-
1300
-
1301
-
1302
-
1303
-
1304
-
1305
-
1306
-
1307
-
1308
-
1309
-
1310
-
1311
-
1312
-
1313
-
1314
-
1315
-
1316
-
1317
-
1318
- /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
1319
-
1320
- /***/ }),
1321
- /* 24 */
1322
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
1323
-
1324
- "use strict";
1325
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Typography__ = __webpack_require__(561);
1326
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Typography__["a"]; });
1327
-
1328
-
1329
- /***/ }),
1330
- /* 25 */
1331
- /***/ (function(module, exports) {
1332
-
1333
- /**
1334
- * Checks if `value` is classified as an `Array` object.
1335
- *
1336
- * @static
1337
- * @memberOf _
1338
- * @since 0.1.0
1339
- * @category Lang
1340
- * @param {*} value The value to check.
1341
- * @returns {boolean} Returns `true` if `value` is an array, else `false`.
1342
- * @example
1343
- *
1344
- * _.isArray([1, 2, 3]);
1345
- * // => true
1346
- *
1347
- * _.isArray(document.body.children);
1348
- * // => false
1349
- *
1350
- * _.isArray('abc');
1351
- * // => false
1352
- *
1353
- * _.isArray(_.noop);
1354
- * // => false
1355
- */
1356
- var isArray = Array.isArray;
1357
-
1358
- module.exports = isArray;
1359
-
1360
-
1361
- /***/ }),
1362
- /* 26 */
1363
- /***/ (function(module, exports, __webpack_require__) {
1364
-
1365
- var baseMerge = __webpack_require__(827),
1366
- createAssigner = __webpack_require__(831);
1367
-
1368
- /**
1369
- * This method is like `_.assign` except that it recursively merges own and
1370
- * inherited enumerable string keyed properties of source objects into the
1371
- * destination object. Source properties that resolve to `undefined` are
1372
- * skipped if a destination value exists. Array and plain object properties
1373
- * are merged recursively. Other objects and value types are overridden by
1374
- * assignment. Source objects are applied from left to right. Subsequent
1375
- * sources overwrite property assignments of previous sources.
1376
- *
1377
- * **Note:** This method mutates `object`.
1378
- *
1379
- * @static
1380
- * @memberOf _
1381
- * @since 0.5.0
1382
- * @category Object
1383
- * @param {Object} object The destination object.
1384
- * @param {...Object} [sources] The source objects.
1385
- * @returns {Object} Returns `object`.
1386
- * @example
1387
- *
1388
- * var object = {
1389
- * 'a': [{ 'b': 2 }, { 'd': 4 }]
1390
- * };
1391
- *
1392
- * var other = {
1393
- * 'a': [{ 'c': 3 }, { 'e': 5 }]
1394
- * };
1395
- *
1396
- * _.merge(object, other);
1397
- * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }
1398
- */
1399
- var merge = createAssigner(function(object, source, srcIndex) {
1400
- baseMerge(object, source, srcIndex);
1401
- });
1402
-
1403
- module.exports = merge;
1404
-
1405
-
1406
- /***/ }),
1407
- /* 27 */
1408
- /***/ (function(module, exports) {
1409
-
1410
- /**
1411
- * Checks if `value` is the
1412
- * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
1413
- * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
1414
- *
1415
- * @static
1416
- * @memberOf _
1417
- * @since 0.1.0
1418
- * @category Lang
1419
- * @param {*} value The value to check.
1420
- * @returns {boolean} Returns `true` if `value` is an object, else `false`.
1421
- * @example
1422
- *
1423
- * _.isObject({});
1424
- * // => true
1425
- *
1426
- * _.isObject([1, 2, 3]);
1427
- * // => true
1428
- *
1429
- * _.isObject(_.noop);
1430
- * // => true
1431
- *
1432
- * _.isObject(null);
1433
- * // => false
1434
- */
1435
- function isObject(value) {
1436
- var type = typeof value;
1437
- return value != null && (type == 'object' || type == 'function');
1438
- }
1439
-
1440
- module.exports = isObject;
1441
-
1442
-
1443
- /***/ }),
1444
- /* 28 */
1445
- /***/ (function(module, exports, __webpack_require__) {
1446
-
1447
- "use strict";
1448
-
1449
- var strictUriEncode = __webpack_require__(424);
1450
- var objectAssign = __webpack_require__(52);
1451
-
1452
- function encoderForArrayFormat(opts) {
1453
- switch (opts.arrayFormat) {
1454
- case 'index':
1455
- return function (key, value, index) {
1456
- return value === null ? [
1457
- encode(key, opts),
1458
- '[',
1459
- index,
1460
- ']'
1461
- ].join('') : [
1462
- encode(key, opts),
1463
- '[',
1464
- encode(index, opts),
1465
- ']=',
1466
- encode(value, opts)
1467
- ].join('');
1468
- };
1469
-
1470
- case 'bracket':
1471
- return function (key, value) {
1472
- return value === null ? encode(key, opts) : [
1473
- encode(key, opts),
1474
- '[]=',
1475
- encode(value, opts)
1476
- ].join('');
1477
- };
1478
-
1479
- default:
1480
- return function (key, value) {
1481
- return value === null ? encode(key, opts) : [
1482
- encode(key, opts),
1483
- '=',
1484
- encode(value, opts)
1485
- ].join('');
1486
- };
1487
- }
1488
- }
1489
-
1490
- function parserForArrayFormat(opts) {
1491
- var result;
1492
-
1493
- switch (opts.arrayFormat) {
1494
- case 'index':
1495
- return function (key, value, accumulator) {
1496
- result = /\[(\d*)\]$/.exec(key);
1497
-
1498
- key = key.replace(/\[\d*\]$/, '');
1499
-
1500
- if (!result) {
1501
- accumulator[key] = value;
1502
- return;
1503
- }
1504
-
1505
- if (accumulator[key] === undefined) {
1506
- accumulator[key] = {};
1507
- }
1508
-
1509
- accumulator[key][result[1]] = value;
1510
- };
1511
-
1512
- case 'bracket':
1513
- return function (key, value, accumulator) {
1514
- result = /(\[\])$/.exec(key);
1515
- key = key.replace(/\[\]$/, '');
1516
-
1517
- if (!result) {
1518
- accumulator[key] = value;
1519
- return;
1520
- } else if (accumulator[key] === undefined) {
1521
- accumulator[key] = [value];
1522
- return;
1523
- }
1524
-
1525
- accumulator[key] = [].concat(accumulator[key], value);
1526
- };
1527
-
1528
- default:
1529
- return function (key, value, accumulator) {
1530
- if (accumulator[key] === undefined) {
1531
- accumulator[key] = value;
1532
- return;
1533
- }
1534
-
1535
- accumulator[key] = [].concat(accumulator[key], value);
1536
- };
1537
- }
1538
- }
1539
-
1540
- function encode(value, opts) {
1541
- if (opts.encode) {
1542
- return opts.strict ? strictUriEncode(value) : encodeURIComponent(value);
1543
- }
1544
-
1545
- return value;
1546
- }
1547
-
1548
- function keysSorter(input) {
1549
- if (Array.isArray(input)) {
1550
- return input.sort();
1551
- } else if (typeof input === 'object') {
1552
- return keysSorter(Object.keys(input)).sort(function (a, b) {
1553
- return Number(a) - Number(b);
1554
- }).map(function (key) {
1555
- return input[key];
1556
- });
1557
- }
1558
-
1559
- return input;
1560
- }
1561
-
1562
- exports.extract = function (str) {
1563
- return str.split('?')[1] || '';
1564
- };
1565
-
1566
- exports.parse = function (str, opts) {
1567
- opts = objectAssign({arrayFormat: 'none'}, opts);
1568
-
1569
- var formatter = parserForArrayFormat(opts);
1570
-
1571
- // Create an object with no prototype
1572
- // https://github.com/sindresorhus/query-string/issues/47
1573
- var ret = Object.create(null);
1574
-
1575
- if (typeof str !== 'string') {
1576
- return ret;
1577
- }
1578
-
1579
- str = str.trim().replace(/^(\?|#|&)/, '');
1580
-
1581
- if (!str) {
1582
- return ret;
1583
- }
1584
-
1585
- str.split('&').forEach(function (param) {
1586
- var parts = param.replace(/\+/g, ' ').split('=');
1587
- // Firefox (pre 40) decodes `%3D` to `=`
1588
- // https://github.com/sindresorhus/query-string/pull/37
1589
- var key = parts.shift();
1590
- var val = parts.length > 0 ? parts.join('=') : undefined;
1591
-
1592
- // missing `=` should be `null`:
1593
- // http://w3.org/TR/2012/WD-url-20120524/#collect-url-parameters
1594
- val = val === undefined ? null : decodeURIComponent(val);
1595
-
1596
- formatter(decodeURIComponent(key), val, ret);
1597
- });
1598
-
1599
- return Object.keys(ret).sort().reduce(function (result, key) {
1600
- var val = ret[key];
1601
- if (Boolean(val) && typeof val === 'object' && !Array.isArray(val)) {
1602
- // Sort object keys, not values
1603
- result[key] = keysSorter(val);
1604
- } else {
1605
- result[key] = val;
1606
- }
1607
-
1608
- return result;
1609
- }, Object.create(null));
1610
- };
1611
-
1612
- exports.stringify = function (obj, opts) {
1613
- var defaults = {
1614
- encode: true,
1615
- strict: true,
1616
- arrayFormat: 'none'
1617
- };
1618
-
1619
- opts = objectAssign(defaults, opts);
1620
-
1621
- var formatter = encoderForArrayFormat(opts);
1622
-
1623
- return obj ? Object.keys(obj).sort().map(function (key) {
1624
- var val = obj[key];
1625
-
1626
- if (val === undefined) {
1627
- return '';
1628
- }
1629
-
1630
- if (val === null) {
1631
- return encode(key, opts);
1632
- }
1633
-
1634
- if (Array.isArray(val)) {
1635
- var result = [];
1636
-
1637
- val.slice().forEach(function (val2) {
1638
- if (val2 === undefined) {
1639
- return;
1640
- }
1641
-
1642
- result.push(formatter(key, val2, result.length));
1643
- });
1644
-
1645
- return result.join('&');
1646
- }
1647
-
1648
- return encode(key, opts) + '=' + encode(val, opts);
1649
- }).filter(function (x) {
1650
- return x.length > 0;
1651
- }).join('&') : '';
1652
- };
1653
-
1654
-
1655
- /***/ }),
1656
- /* 29 */
1657
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
1658
-
1659
- "use strict";
1660
- /* harmony export (immutable) */ __webpack_exports__["a"] = ownerDocument;
1661
- function ownerDocument(node) {
1662
- return node && node.ownerDocument || document;
1663
- }
1664
-
1665
- /***/ }),
1666
- /* 30 */
1667
- /***/ (function(module, exports, __webpack_require__) {
1668
-
1669
- var freeGlobal = __webpack_require__(354);
1670
-
1671
- /** Detect free variable `self`. */
1672
- var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
1673
-
1674
- /** Used as a reference to the global object. */
1675
- var root = freeGlobal || freeSelf || Function('return this')();
1676
-
1677
- module.exports = root;
1678
-
1679
-
1680
- /***/ }),
1681
- /* 31 */
1682
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
1683
-
1684
- "use strict";
1685
- Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
1686
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Icon__ = __webpack_require__(432);
1687
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return __WEBPACK_IMPORTED_MODULE_0__Icon__["a"]; });
1688
-
1689
-
1690
- /***/ }),
1691
- /* 32 */
1692
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
1693
-
1694
- "use strict";
1695
- /* harmony export (immutable) */ __webpack_exports__["a"] = _toConsumableArray;
1696
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__arrayWithoutHoles__ = __webpack_require__(454);
1697
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__iterableToArray__ = __webpack_require__(195);
1698
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__unsupportedIterableToArray__ = __webpack_require__(123);
1699
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__nonIterableSpread__ = __webpack_require__(455);
1700
-
1701
-
1702
-
1703
-
1704
- function _toConsumableArray(arr) {
1705
- return Object(__WEBPACK_IMPORTED_MODULE_0__arrayWithoutHoles__["a" /* default */])(arr) || Object(__WEBPACK_IMPORTED_MODULE_1__iterableToArray__["a" /* default */])(arr) || Object(__WEBPACK_IMPORTED_MODULE_2__unsupportedIterableToArray__["a" /* default */])(arr) || Object(__WEBPACK_IMPORTED_MODULE_3__nonIterableSpread__["a" /* default */])();
1706
- }
1707
-
1708
- /***/ }),
1709
- /* 33 */
1710
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
1711
-
1712
- "use strict";
1713
- /* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_defineProperty__ = __webpack_require__(16);
1714
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__responsivePropType__ = __webpack_require__(216);
1715
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__breakpoints__ = __webpack_require__(127);
1716
-
1717
-
1718
-
1719
-
1720
- function getPath(obj, path) {
1721
- if (!path || typeof path !== 'string') {
1722
- return null;
1723
- }
1724
-
1725
- return path.split('.').reduce(function (acc, item) {
1726
- return acc && acc[item] ? acc[item] : null;
1727
- }, obj);
1728
- }
1729
-
1730
- function style(options) {
1731
- var prop = options.prop,
1732
- _options$cssProperty = options.cssProperty,
1733
- cssProperty = _options$cssProperty === void 0 ? options.prop : _options$cssProperty,
1734
- themeKey = options.themeKey,
1735
- transform = options.transform;
1736
-
1737
- var fn = function fn(props) {
1738
- if (props[prop] == null) {
1739
- return null;
1740
- }
1741
-
1742
- var propValue = props[prop];
1743
- var theme = props.theme;
1744
- var themeMapping = getPath(theme, themeKey) || {};
1745
-
1746
- var styleFromPropValue = function styleFromPropValue(propValueFinal) {
1747
- var value;
1748
-
1749
- if (typeof themeMapping === 'function') {
1750
- value = themeMapping(propValueFinal);
1751
- } else if (Array.isArray(themeMapping)) {
1752
- value = themeMapping[propValueFinal] || propValueFinal;
1753
- } else {
1754
- value = getPath(themeMapping, propValueFinal) || propValueFinal;
1755
-
1756
- if (transform) {
1757
- value = transform(value);
1758
- }
1759
- }
1760
-
1761
- if (cssProperty === false) {
1762
- return value;
1763
- }
1764
-
1765
- return Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_defineProperty__["a" /* default */])({}, cssProperty, value);
1766
- };
1767
-
1768
- return Object(__WEBPACK_IMPORTED_MODULE_2__breakpoints__["a" /* handleBreakpoints */])(props, propValue, styleFromPropValue);
1769
- };
1770
-
1771
- fn.propTypes = process.env.NODE_ENV !== 'production' ? Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_defineProperty__["a" /* default */])({}, prop, __WEBPACK_IMPORTED_MODULE_1__responsivePropType__["a" /* default */]) : {};
1772
- fn.filterProps = [prop];
1773
- return fn;
1774
- }
1775
-
1776
- /* harmony default export */ __webpack_exports__["a"] = (style);
1777
- /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
1778
-
1779
- /***/ }),
1780
- /* 34 */
1781
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
1782
-
1783
- "use strict";
1784
- /* WEBPACK VAR INJECTION */(function(process) {/* unused harmony export easing */
1785
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return duration; });
1786
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_objectWithoutProperties__ = __webpack_require__(4);
1787
-
1788
- // Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves
1789
- // to learn the context in which each easing should be used.
1790
- var easing = {
1791
- // This is the most common easing curve.
1792
- easeInOut: 'cubic-bezier(0.4, 0, 0.2, 1)',
1793
- // Objects enter the screen at full velocity from off-screen and
1794
- // slowly decelerate to a resting point.
1795
- easeOut: 'cubic-bezier(0.0, 0, 0.2, 1)',
1796
- // Objects leave the screen at full velocity. They do not decelerate when off-screen.
1797
- easeIn: 'cubic-bezier(0.4, 0, 1, 1)',
1798
- // The sharp curve is used by objects that may return to the screen at any time.
1799
- sharp: 'cubic-bezier(0.4, 0, 0.6, 1)'
1800
- }; // Follow https://material.io/guidelines/motion/duration-easing.html#duration-easing-common-durations
1801
- // to learn when use what timing
1802
-
1803
- var duration = {
1804
- shortest: 150,
1805
- shorter: 200,
1806
- short: 250,
1807
- // most basic recommended timing
1808
- standard: 300,
1809
- // this is to be used in complex animations
1810
- complex: 375,
1811
- // recommended when something is entering screen
1812
- enteringScreen: 225,
1813
- // recommended when something is leaving screen
1814
- leavingScreen: 195
1815
- };
1816
-
1817
- function formatMs(milliseconds) {
1818
- return "".concat(Math.round(milliseconds), "ms");
1819
- }
1820
- /**
1821
- * @param {string|Array} props
1822
- * @param {object} param
1823
- * @param {string} param.prop
1824
- * @param {number} param.duration
1825
- * @param {string} param.easing
1826
- * @param {number} param.delay
1827
- */
1828
-
1829
-
1830
- /* harmony default export */ __webpack_exports__["a"] = ({
1831
- easing: easing,
1832
- duration: duration,
1833
- create: function create() {
1834
- var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ['all'];
1835
- var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
1836
-
1837
- var _options$duration = options.duration,
1838
- durationOption = _options$duration === void 0 ? duration.standard : _options$duration,
1839
- _options$easing = options.easing,
1840
- easingOption = _options$easing === void 0 ? easing.easeInOut : _options$easing,
1841
- _options$delay = options.delay,
1842
- delay = _options$delay === void 0 ? 0 : _options$delay,
1843
- other = Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_objectWithoutProperties__["a" /* default */])(options, ["duration", "easing", "delay"]);
1844
-
1845
- if (process.env.NODE_ENV !== 'production') {
1846
- var isString = function isString(value) {
1847
- return typeof value === 'string';
1848
- };
1849
-
1850
- var isNumber = function isNumber(value) {
1851
- return !isNaN(parseFloat(value));
1852
- };
1853
-
1854
- if (!isString(props) && !Array.isArray(props)) {
1855
- console.error('Material-UI: Argument "props" must be a string or Array.');
1856
- }
1857
-
1858
- if (!isNumber(durationOption) && !isString(durationOption)) {
1859
- console.error("Material-UI: Argument \"duration\" must be a number or a string but found ".concat(durationOption, "."));
1860
- }
1861
-
1862
- if (!isString(easingOption)) {
1863
- console.error('Material-UI: Argument "easing" must be a string.');
1864
- }
1865
-
1866
- if (!isNumber(delay) && !isString(delay)) {
1867
- console.error('Material-UI: Argument "delay" must be a number or a string.');
1868
- }
1869
-
1870
- if (Object.keys(other).length !== 0) {
1871
- console.error("Material-UI: Unrecognized argument(s) [".concat(Object.keys(other).join(','), "]."));
1872
- }
1873
- }
1874
-
1875
- return (Array.isArray(props) ? props : [props]).map(function (animatedProp) {
1876
- return "".concat(animatedProp, " ").concat(typeof durationOption === 'string' ? durationOption : formatMs(durationOption), " ").concat(easingOption, " ").concat(typeof delay === 'string' ? delay : formatMs(delay));
1877
- }).join(',');
1878
- },
1879
- getAutoHeightDuration: function getAutoHeightDuration(height) {
1880
- if (!height) {
1881
- return 0;
1882
- }
1883
-
1884
- var constant = height / 36; // https://www.wolframalpha.com/input/?i=(4+%2B+15+*+(x+%2F+36+)+**+0.25+%2B+(x+%2F+36)+%2F+5)+*+10
1885
-
1886
- return Math.round((4 + 15 * Math.pow(constant, 0.25) + constant / 5) * 10);
1887
- }
1888
- });
1889
- /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
1890
-
1891
- /***/ }),
1892
- /* 35 */
1893
- /***/ (function(module, exports) {
1894
-
1895
- /**
1896
- * Checks if `value` is object-like. A value is object-like if it's not `null`
1897
- * and has a `typeof` result of "object".
1898
- *
1899
- * @static
1900
- * @memberOf _
1901
- * @since 4.0.0
1902
- * @category Lang
1903
- * @param {*} value The value to check.
1904
- * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
1905
- * @example
1906
- *
1907
- * _.isObjectLike({});
1908
- * // => true
1909
- *
1910
- * _.isObjectLike([1, 2, 3]);
1911
- * // => true
1912
- *
1913
- * _.isObjectLike(_.noop);
1914
- * // => false
1915
- *
1916
- * _.isObjectLike(null);
1917
- * // => false
1918
- */
1919
- function isObjectLike(value) {
1920
- return value != null && typeof value == 'object';
1921
- }
1922
-
1923
- module.exports = isObjectLike;
1924
-
1925
-
1926
- /***/ }),
1927
- /* 36 */
1928
- /***/ (function(module, exports, __webpack_require__) {
1929
-
1930
- "use strict";
1931
-
1932
-
1933
- Object.defineProperty(exports, "__esModule", {
1934
- value: true
1935
- });
1936
- exports.red = exports.getContrastingColor = exports.isValidHex = exports.toState = exports.simpleCheckForValidColor = undefined;
1937
-
1938
- var _each = __webpack_require__(845);
1939
-
1940
- var _each2 = _interopRequireDefault(_each);
1941
-
1942
- var _tinycolor = __webpack_require__(847);
1943
-
1944
- var _tinycolor2 = _interopRequireDefault(_tinycolor);
1945
-
1946
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
1947
-
1948
- var simpleCheckForValidColor = exports.simpleCheckForValidColor = function simpleCheckForValidColor(data) {
1949
- var keysToCheck = ['r', 'g', 'b', 'a', 'h', 's', 'l', 'v'];
1950
- var checked = 0;
1951
- var passed = 0;
1952
- (0, _each2.default)(keysToCheck, function (letter) {
1953
- if (data[letter]) {
1954
- checked += 1;
1955
- if (!isNaN(data[letter])) {
1956
- passed += 1;
1957
- }
1958
- if (letter === 's' || letter === 'l') {
1959
- var percentPatt = /^\d+%$/;
1960
- if (percentPatt.test(data[letter])) {
1961
- passed += 1;
1962
- }
1963
- }
1964
- }
1965
- });
1966
- return checked === passed ? data : false;
1967
- };
1968
-
1969
- var toState = exports.toState = function toState(data, oldHue) {
1970
- var color = data.hex ? (0, _tinycolor2.default)(data.hex) : (0, _tinycolor2.default)(data);
1971
- var hsl = color.toHsl();
1972
- var hsv = color.toHsv();
1973
- var rgb = color.toRgb();
1974
- var hex = color.toHex();
1975
- if (hsl.s === 0) {
1976
- hsl.h = oldHue || 0;
1977
- hsv.h = oldHue || 0;
1978
- }
1979
- var transparent = hex === '000000' && rgb.a === 0;
1980
-
1981
- return {
1982
- hsl: hsl,
1983
- hex: transparent ? 'transparent' : '#' + hex,
1984
- rgb: rgb,
1985
- hsv: hsv,
1986
- oldHue: data.h || oldHue || hsl.h,
1987
- source: data.source
1988
- };
1989
- };
1990
-
1991
- var isValidHex = exports.isValidHex = function isValidHex(hex) {
1992
- // disable hex4 and hex8
1993
- var lh = String(hex).charAt(0) === '#' ? 1 : 0;
1994
- return hex.length !== 4 + lh && hex.length < 7 + lh && (0, _tinycolor2.default)(hex).isValid();
1995
- };
1996
-
1997
- var getContrastingColor = exports.getContrastingColor = function getContrastingColor(data) {
1998
- if (!data) {
1999
- return '#fff';
2000
- }
2001
- var col = toState(data);
2002
- if (col.hex === 'transparent') {
2003
- return 'rgba(0,0,0,0.4)';
2004
- }
2005
- var yiq = (col.rgb.r * 299 + col.rgb.g * 587 + col.rgb.b * 114) / 1000;
2006
- return yiq >= 128 ? '#000' : '#fff';
2007
- };
2008
-
2009
- var red = exports.red = {
2010
- hsl: { a: 1, h: 0, l: 0.5, s: 1 },
2011
- hex: '#ff0000',
2012
- rgb: { r: 255, g: 0, b: 0, a: 1 },
2013
- hsv: { h: 0, s: 1, v: 1, a: 1 }
2014
- };
2015
-
2016
- exports.default = exports;
2017
-
2018
- /***/ }),
2019
- /* 37 */
2020
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
2021
-
2022
- "use strict";
2023
- /* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
2024
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__merge__ = __webpack_require__(83);
2025
-
2026
-
2027
-
2028
- function compose() {
2029
- for (var _len = arguments.length, styles = new Array(_len), _key = 0; _key < _len; _key++) {
2030
- styles[_key] = arguments[_key];
2031
- }
2032
-
2033
- var fn = function fn(props) {
2034
- return styles.reduce(function (acc, style) {
2035
- var output = style(props);
2036
-
2037
- if (output) {
2038
- return Object(__WEBPACK_IMPORTED_MODULE_1__merge__["a" /* default */])(acc, output);
2039
- }
2040
-
2041
- return acc;
2042
- }, {});
2043
- }; // Alternative approach that doesn't yield any performance gain.
2044
- // const handlers = styles.reduce((acc, style) => {
2045
- // style.filterProps.forEach(prop => {
2046
- // acc[prop] = style;
2047
- // });
2048
- // return acc;
2049
- // }, {});
2050
- // const fn = props => {
2051
- // return Object.keys(props).reduce((acc, prop) => {
2052
- // if (handlers[prop]) {
2053
- // return merge(acc, handlers[prop](props));
2054
- // }
2055
- // return acc;
2056
- // }, {});
2057
- // };
2058
-
2059
-
2060
- fn.propTypes = process.env.NODE_ENV !== 'production' ? styles.reduce(function (acc, style) {
2061
- return Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])(acc, style.propTypes);
2062
- }, {}) : {};
2063
- fn.filterProps = styles.reduce(function (acc, style) {
2064
- return acc.concat(style.filterProps);
2065
- }, []);
2066
- return fn;
2067
- }
2068
-
2069
- /* harmony default export */ __webpack_exports__["a"] = (compose);
2070
- /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
2071
-
2072
- /***/ }),
2073
- /* 38 */
2074
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
2075
-
2076
- "use strict";
2077
- /* harmony export (immutable) */ __webpack_exports__["a"] = useEventCallback;
2078
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
2079
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
2080
-
2081
- var useEnhancedEffect = typeof window !== 'undefined' ? __WEBPACK_IMPORTED_MODULE_0_react__["useLayoutEffect"] : __WEBPACK_IMPORTED_MODULE_0_react__["useEffect"];
2082
- /**
2083
- * https://github.com/facebook/react/issues/14099#issuecomment-440013892
2084
- *
2085
- * @param {function} fn
2086
- */
2087
-
2088
- function useEventCallback(fn) {
2089
- var ref = __WEBPACK_IMPORTED_MODULE_0_react__["useRef"](fn);
2090
- useEnhancedEffect(function () {
2091
- ref.current = fn;
2092
- });
2093
- return __WEBPACK_IMPORTED_MODULE_0_react__["useCallback"](function () {
2094
- return (0, ref.current).apply(void 0, arguments);
2095
- }, []);
2096
- }
2097
-
2098
- /***/ }),
2099
- /* 39 */
2100
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
2101
-
2102
- "use strict";
2103
- Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
2104
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__BrowserRouter__ = __webpack_require__(398);
2105
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "BrowserRouter", function() { return __WEBPACK_IMPORTED_MODULE_0__BrowserRouter__["a"]; });
2106
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__HashRouter__ = __webpack_require__(406);
2107
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "HashRouter", function() { return __WEBPACK_IMPORTED_MODULE_1__HashRouter__["a"]; });
2108
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__Link__ = __webpack_require__(185);
2109
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Link", function() { return __WEBPACK_IMPORTED_MODULE_2__Link__["a"]; });
2110
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__MemoryRouter__ = __webpack_require__(407);
2111
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MemoryRouter", function() { return __WEBPACK_IMPORTED_MODULE_3__MemoryRouter__["a"]; });
2112
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__NavLink__ = __webpack_require__(409);
2113
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "NavLink", function() { return __WEBPACK_IMPORTED_MODULE_4__NavLink__["a"]; });
2114
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__Prompt__ = __webpack_require__(411);
2115
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Prompt", function() { return __WEBPACK_IMPORTED_MODULE_5__Prompt__["a"]; });
2116
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__Redirect__ = __webpack_require__(413);
2117
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Redirect", function() { return __WEBPACK_IMPORTED_MODULE_6__Redirect__["a"]; });
2118
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__Route__ = __webpack_require__(186);
2119
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Route", function() { return __WEBPACK_IMPORTED_MODULE_7__Route__["a"]; });
2120
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__Router__ = __webpack_require__(116);
2121
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Router", function() { return __WEBPACK_IMPORTED_MODULE_8__Router__["a"]; });
2122
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__StaticRouter__ = __webpack_require__(415);
2123
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "StaticRouter", function() { return __WEBPACK_IMPORTED_MODULE_9__StaticRouter__["a"]; });
2124
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__Switch__ = __webpack_require__(417);
2125
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Switch", function() { return __WEBPACK_IMPORTED_MODULE_10__Switch__["a"]; });
2126
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__generatePath__ = __webpack_require__(419);
2127
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "generatePath", function() { return __WEBPACK_IMPORTED_MODULE_11__generatePath__["a"]; });
2128
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__matchPath__ = __webpack_require__(420);
2129
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "matchPath", function() { return __WEBPACK_IMPORTED_MODULE_12__matchPath__["a"]; });
2130
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__withRouter__ = __webpack_require__(421);
2131
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "withRouter", function() { return __WEBPACK_IMPORTED_MODULE_13__withRouter__["a"]; });
2132
-
2133
-
2134
-
2135
-
2136
-
2137
-
2138
-
2139
-
2140
-
2141
-
2142
-
2143
-
2144
-
2145
-
2146
-
2147
-
2148
-
2149
-
2150
-
2151
-
2152
-
2153
-
2154
-
2155
-
2156
-
2157
-
2158
-
2159
-
2160
-
2161
- /***/ }),
2162
- /* 40 */
2163
- /***/ (function(module, exports, __webpack_require__) {
2164
-
2165
- "use strict";
2166
- /* WEBPACK VAR INJECTION */(function(process) {/**
2167
- * Copyright (c) 2014-present, Facebook, Inc.
2168
- *
2169
- * This source code is licensed under the MIT license found in the
2170
- * LICENSE file in the root directory of this source tree.
2171
- */
2172
-
2173
-
2174
-
2175
- /**
2176
- * Similar to invariant but only logs a warning if the condition is not met.
2177
- * This can be used to log issues in development environments in critical
2178
- * paths. Removing the logging code for production environments will keep the
2179
- * same logic and follow the same code paths.
2180
- */
2181
-
2182
- var __DEV__ = process.env.NODE_ENV !== 'production';
2183
-
2184
- var warning = function() {};
2185
-
2186
- if (__DEV__) {
2187
- var printWarning = function printWarning(format, args) {
2188
- var len = arguments.length;
2189
- args = new Array(len > 1 ? len - 1 : 0);
2190
- for (var key = 1; key < len; key++) {
2191
- args[key - 1] = arguments[key];
2192
- }
2193
- var argIndex = 0;
2194
- var message = 'Warning: ' +
2195
- format.replace(/%s/g, function() {
2196
- return args[argIndex++];
2197
- });
2198
- if (typeof console !== 'undefined') {
2199
- console.error(message);
2200
- }
2201
- try {
2202
- // --- Welcome to debugging React ---
2203
- // This error was thrown as a convenience so that you can use this stack
2204
- // to find the callsite that caused this warning to fire.
2205
- throw new Error(message);
2206
- } catch (x) {}
2207
- }
2208
-
2209
- warning = function(condition, format, args) {
2210
- var len = arguments.length;
2211
- args = new Array(len > 2 ? len - 2 : 0);
2212
- for (var key = 2; key < len; key++) {
2213
- args[key - 2] = arguments[key];
2214
- }
2215
- if (format === undefined) {
2216
- throw new Error(
2217
- '`warning(condition, format, ...args)` requires a warning ' +
2218
- 'message argument'
2219
- );
2220
- }
2221
- if (!condition) {
2222
- printWarning.apply(null, [format].concat(args));
2223
- }
2224
- };
2225
- }
2226
-
2227
- module.exports = warning;
2228
-
2229
- /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
2230
-
2231
- /***/ }),
2232
- /* 41 */
2233
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
2234
-
2235
- "use strict";
2236
- /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (immutable) */ __webpack_exports__["a"] = useControlled;
2237
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
2238
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
2239
- /* eslint-disable react-hooks/rules-of-hooks, react-hooks/exhaustive-deps */
2240
-
2241
- function useControlled(_ref) {
2242
- var controlled = _ref.controlled,
2243
- defaultProp = _ref.default,
2244
- name = _ref.name,
2245
- _ref$state = _ref.state,
2246
- state = _ref$state === void 0 ? 'value' : _ref$state;
2247
-
2248
- var _React$useRef = __WEBPACK_IMPORTED_MODULE_0_react__["useRef"](controlled !== undefined),
2249
- isControlled = _React$useRef.current;
2250
-
2251
- var _React$useState = __WEBPACK_IMPORTED_MODULE_0_react__["useState"](defaultProp),
2252
- valueState = _React$useState[0],
2253
- setValue = _React$useState[1];
2254
-
2255
- var value = isControlled ? controlled : valueState;
2256
-
2257
- if (process.env.NODE_ENV !== 'production') {
2258
- __WEBPACK_IMPORTED_MODULE_0_react__["useEffect"](function () {
2259
- if (isControlled !== (controlled !== undefined)) {
2260
- console.error(["Material-UI: A component is changing the ".concat(isControlled ? '' : 'un', "controlled ").concat(state, " state of ").concat(name, " to be ").concat(isControlled ? 'un' : '', "controlled."), 'Elements should not switch from uncontrolled to controlled (or vice versa).', "Decide between using a controlled or uncontrolled ".concat(name, " ") + 'element for the lifetime of the component.', "The nature of the state is determined during the first render, it's considered controlled if the value is not `undefined`.", 'More info: https://fb.me/react-controlled-components'].join('\n'));
2261
- }
2262
- }, [controlled]);
2263
-
2264
- var _React$useRef2 = __WEBPACK_IMPORTED_MODULE_0_react__["useRef"](defaultProp),
2265
- defaultValue = _React$useRef2.current;
2266
-
2267
- __WEBPACK_IMPORTED_MODULE_0_react__["useEffect"](function () {
2268
- if (!isControlled && defaultValue !== defaultProp) {
2269
- console.error(["Material-UI: A component is changing the default ".concat(state, " state of an uncontrolled ").concat(name, " after being initialized. ") + "To suppress this warning opt to use a controlled ".concat(name, ".")].join('\n'));
2270
- }
2271
- }, [JSON.stringify(defaultProp)]);
2272
- }
2273
-
2274
- var setValueIfUncontrolled = __WEBPACK_IMPORTED_MODULE_0_react__["useCallback"](function (newValue) {
2275
- if (!isControlled) {
2276
- setValue(newValue);
2277
- }
2278
- }, []);
2279
- return [value, setValueIfUncontrolled];
2280
- }
2281
- /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
2282
-
2283
- /***/ }),
2284
- /* 42 */
2285
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
2286
-
2287
- "use strict";
2288
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__IconButton__ = __webpack_require__(520);
2289
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__IconButton__["a"]; });
2290
-
2291
-
2292
- /***/ }),
2293
- /* 43 */
2294
- /***/ (function(module, exports, __webpack_require__) {
2295
-
2296
- var arrayMap = __webpack_require__(361),
2297
- baseIteratee = __webpack_require__(736),
2298
- baseMap = __webpack_require__(794),
2299
- isArray = __webpack_require__(25);
2300
-
2301
- /**
2302
- * Creates an array of values by running each element in `collection` thru
2303
- * `iteratee`. The iteratee is invoked with three arguments:
2304
- * (value, index|key, collection).
2305
- *
2306
- * Many lodash methods are guarded to work as iteratees for methods like
2307
- * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.
2308
- *
2309
- * The guarded methods are:
2310
- * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,
2311
- * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,
2312
- * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,
2313
- * `template`, `trim`, `trimEnd`, `trimStart`, and `words`
2314
- *
2315
- * @static
2316
- * @memberOf _
2317
- * @since 0.1.0
2318
- * @category Collection
2319
- * @param {Array|Object} collection The collection to iterate over.
2320
- * @param {Function} [iteratee=_.identity] The function invoked per iteration.
2321
- * @returns {Array} Returns the new mapped array.
2322
- * @example
2323
- *
2324
- * function square(n) {
2325
- * return n * n;
2326
- * }
2327
- *
2328
- * _.map([4, 8], square);
2329
- * // => [16, 64]
2330
- *
2331
- * _.map({ 'a': 4, 'b': 8 }, square);
2332
- * // => [16, 64] (iteration order is not guaranteed)
2333
- *
2334
- * var users = [
2335
- * { 'user': 'barney' },
2336
- * { 'user': 'fred' }
2337
- * ];
2338
- *
2339
- * // The `_.property` iteratee shorthand.
2340
- * _.map(users, 'user');
2341
- * // => ['barney', 'fred']
2342
- */
2343
- function map(collection, iteratee) {
2344
- var func = isArray(collection) ? arrayMap : baseMap;
2345
- return func(collection, baseIteratee(iteratee, 3));
2346
- }
2347
-
2348
- module.exports = map;
2349
-
2350
-
2351
- /***/ }),
2352
- /* 44 */
2353
- /***/ (function(module, exports, __webpack_require__) {
2354
-
2355
- "use strict";
2356
- /* WEBPACK VAR INJECTION */(function(process) {/**
2357
- * Copyright (c) 2013-present, Facebook, Inc.
2358
- *
2359
- * This source code is licensed under the MIT license found in the
2360
- * LICENSE file in the root directory of this source tree.
2361
- */
2362
-
2363
-
2364
-
2365
- /**
2366
- * Use invariant() to assert state which your program assumes to be true.
2367
- *
2368
- * Provide sprintf-style format (only %s is supported) and arguments
2369
- * to provide information about what broke and what you were
2370
- * expecting.
2371
- *
2372
- * The invariant message will be stripped in production, but the invariant
2373
- * will remain to ensure logic does not differ in production.
2374
- */
2375
-
2376
- var invariant = function(condition, format, a, b, c, d, e, f) {
2377
- if (process.env.NODE_ENV !== 'production') {
2378
- if (format === undefined) {
2379
- throw new Error('invariant requires an error message argument');
2380
- }
2381
- }
2382
-
2383
- if (!condition) {
2384
- var error;
2385
- if (format === undefined) {
2386
- error = new Error(
2387
- 'Minified exception occurred; use the non-minified dev environment ' +
2388
- 'for the full error message and additional helpful warnings.'
2389
- );
2390
- } else {
2391
- var args = [a, b, c, d, e, f];
2392
- var argIndex = 0;
2393
- error = new Error(
2394
- format.replace(/%s/g, function() { return args[argIndex++]; })
2395
- );
2396
- error.name = 'Invariant Violation';
2397
- }
2398
-
2399
- error.framesToPop = 1; // we don't care about invariant's own frame
2400
- throw error;
2401
- }
2402
- };
2403
-
2404
- module.exports = invariant;
2405
-
2406
- /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
2407
-
2408
- /***/ }),
2409
- /* 45 */
2410
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
2411
-
2412
- "use strict";
2413
- /* harmony export (immutable) */ __webpack_exports__["a"] = _typeof;
2414
- function _typeof(obj) {
2415
- "@babel/helpers - typeof";
2416
-
2417
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
2418
- _typeof = function _typeof(obj) {
2419
- return typeof obj;
2420
- };
2421
- } else {
2422
- _typeof = function _typeof(obj) {
2423
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
2424
- };
2425
- }
2426
-
2427
- return _typeof(obj);
2428
- }
2429
-
2430
- /***/ }),
2431
- /* 46 */
2432
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
2433
-
2434
- "use strict";
2435
- /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return RuleList; });
2436
- /* unused harmony export SheetsManager */
2437
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return SheetsRegistry; });
2438
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return create; });
2439
- /* unused harmony export createGenerateId */
2440
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return createRule; });
2441
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return getDynamicStyles; });
2442
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return hasCSSTOMSupport; });
2443
- /* unused harmony export sheets */
2444
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return toCssValue; });
2445
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
2446
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_is_in_browser__ = __webpack_require__(193);
2447
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_tiny_warning__ = __webpack_require__(77);
2448
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_esm_createClass__ = __webpack_require__(79);
2449
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__babel_runtime_helpers_esm_inheritsLoose__ = __webpack_require__(55);
2450
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__babel_runtime_helpers_esm_assertThisInitialized__ = __webpack_require__(122);
2451
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__babel_runtime_helpers_esm_objectWithoutPropertiesLoose__ = __webpack_require__(54);
2452
-
2453
-
2454
-
2455
-
2456
-
2457
-
2458
-
2459
-
2460
- var plainObjectConstrurctor = {}.constructor;
2461
- function cloneStyle(style) {
2462
- if (style == null || typeof style !== 'object') return style;
2463
- if (Array.isArray(style)) return style.map(cloneStyle);
2464
- if (style.constructor !== plainObjectConstrurctor) return style;
2465
- var newStyle = {};
2466
-
2467
- for (var name in style) {
2468
- newStyle[name] = cloneStyle(style[name]);
2469
- }
2470
-
2471
- return newStyle;
2472
- }
2473
-
2474
- /**
2475
- * Create a rule instance.
2476
- */
2477
-
2478
- function createRule(name, decl, options) {
2479
- if (name === void 0) {
2480
- name = 'unnamed';
2481
- }
2482
-
2483
- var jss = options.jss;
2484
- var declCopy = cloneStyle(decl);
2485
- var rule = jss.plugins.onCreateRule(name, declCopy, options);
2486
- if (rule) return rule; // It is an at-rule and it has no instance.
2487
-
2488
- if (name[0] === '@') {
2489
- process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_2_tiny_warning__["a" /* default */])(false, "[JSS] Unknown rule " + name) : void 0;
2490
- }
2491
-
2492
- return null;
2493
- }
2494
-
2495
- var join = function join(value, by) {
2496
- var result = '';
2497
-
2498
- for (var i = 0; i < value.length; i++) {
2499
- // Remove !important from the value, it will be readded later.
2500
- if (value[i] === '!important') break;
2501
- if (result) result += by;
2502
- result += value[i];
2503
- }
2504
-
2505
- return result;
2506
- };
2507
- /**
2508
- * Converts array values to string.
2509
- *
2510
- * `margin: [['5px', '10px']]` > `margin: 5px 10px;`
2511
- * `border: ['1px', '2px']` > `border: 1px, 2px;`
2512
- * `margin: [['5px', '10px'], '!important']` > `margin: 5px 10px !important;`
2513
- * `color: ['red', !important]` > `color: red !important;`
2514
- */
2515
-
2516
-
2517
- function toCssValue(value, ignoreImportant) {
2518
- if (ignoreImportant === void 0) {
2519
- ignoreImportant = false;
2520
- }
2521
-
2522
- if (!Array.isArray(value)) return value;
2523
- var cssValue = ''; // Support space separated values via `[['5px', '10px']]`.
2524
-
2525
- if (Array.isArray(value[0])) {
2526
- for (var i = 0; i < value.length; i++) {
2527
- if (value[i] === '!important') break;
2528
- if (cssValue) cssValue += ', ';
2529
- cssValue += join(value[i], ' ');
2530
- }
2531
- } else cssValue = join(value, ', '); // Add !important, because it was ignored.
2532
-
2533
-
2534
- if (!ignoreImportant && value[value.length - 1] === '!important') {
2535
- cssValue += ' !important';
2536
- }
2537
-
2538
- return cssValue;
2539
- }
2540
-
2541
- /**
2542
- * Indent a string.
2543
- * http://jsperf.com/array-join-vs-for
2544
- */
2545
- function indentStr(str, indent) {
2546
- var result = '';
2547
-
2548
- for (var index = 0; index < indent; index++) {
2549
- result += ' ';
2550
- }
2551
-
2552
- return result + str;
2553
- }
2554
- /**
2555
- * Converts a Rule to CSS string.
2556
- */
2557
-
2558
-
2559
- function toCss(selector, style, options) {
2560
- if (options === void 0) {
2561
- options = {};
2562
- }
2563
-
2564
- var result = '';
2565
- if (!style) return result;
2566
- var _options = options,
2567
- _options$indent = _options.indent,
2568
- indent = _options$indent === void 0 ? 0 : _options$indent;
2569
- var fallbacks = style.fallbacks;
2570
- if (selector) indent++; // Apply fallbacks first.
2571
-
2572
- if (fallbacks) {
2573
- // Array syntax {fallbacks: [{prop: value}]}
2574
- if (Array.isArray(fallbacks)) {
2575
- for (var index = 0; index < fallbacks.length; index++) {
2576
- var fallback = fallbacks[index];
2577
-
2578
- for (var prop in fallback) {
2579
- var value = fallback[prop];
2580
-
2581
- if (value != null) {
2582
- if (result) result += '\n';
2583
- result += "" + indentStr(prop + ": " + toCssValue(value) + ";", indent);
2584
- }
2585
- }
2586
- }
2587
- } else {
2588
- // Object syntax {fallbacks: {prop: value}}
2589
- for (var _prop in fallbacks) {
2590
- var _value = fallbacks[_prop];
2591
-
2592
- if (_value != null) {
2593
- if (result) result += '\n';
2594
- result += "" + indentStr(_prop + ": " + toCssValue(_value) + ";", indent);
2595
- }
2596
- }
2597
- }
2598
- }
2599
-
2600
- for (var _prop2 in style) {
2601
- var _value2 = style[_prop2];
2602
-
2603
- if (_value2 != null && _prop2 !== 'fallbacks') {
2604
- if (result) result += '\n';
2605
- result += "" + indentStr(_prop2 + ": " + toCssValue(_value2) + ";", indent);
2606
- }
2607
- } // Allow empty style in this case, because properties will be added dynamically.
2608
-
2609
-
2610
- if (!result && !options.allowEmpty) return result; // When rule is being stringified before selector was defined.
2611
-
2612
- if (!selector) return result;
2613
- indent--;
2614
- if (result) result = "\n" + result + "\n";
2615
- return indentStr(selector + " {" + result, indent) + indentStr('}', indent);
2616
- }
2617
-
2618
- var escapeRegex = /([[\].#*$><+~=|^:(),"'`\s])/g;
2619
- var nativeEscape = typeof CSS !== 'undefined' && CSS.escape;
2620
- var escape = (function (str) {
2621
- return nativeEscape ? nativeEscape(str) : str.replace(escapeRegex, '\\$1');
2622
- });
2623
-
2624
- var BaseStyleRule =
2625
- /*#__PURE__*/
2626
- function () {
2627
- function BaseStyleRule(key, style, options) {
2628
- this.type = 'style';
2629
- this.key = void 0;
2630
- this.isProcessed = false;
2631
- this.style = void 0;
2632
- this.renderer = void 0;
2633
- this.renderable = void 0;
2634
- this.options = void 0;
2635
- var sheet = options.sheet,
2636
- Renderer = options.Renderer;
2637
- this.key = key;
2638
- this.options = options;
2639
- this.style = style;
2640
- if (sheet) this.renderer = sheet.renderer;else if (Renderer) this.renderer = new Renderer();
2641
- }
2642
- /**
2643
- * Get or set a style property.
2644
- */
2645
-
2646
-
2647
- var _proto = BaseStyleRule.prototype;
2648
-
2649
- _proto.prop = function prop(name, value, options) {
2650
- // It's a getter.
2651
- if (value === undefined) return this.style[name]; // Don't do anything if the value has not changed.
2652
-
2653
- var force = options ? options.force : false;
2654
- if (!force && this.style[name] === value) return this;
2655
- var newValue = value;
2656
-
2657
- if (!options || options.process !== false) {
2658
- newValue = this.options.jss.plugins.onChangeValue(value, name, this);
2659
- }
2660
-
2661
- var isEmpty = newValue == null || newValue === false;
2662
- var isDefined = name in this.style; // Value is empty and wasn't defined before.
2663
-
2664
- if (isEmpty && !isDefined && !force) return this; // We are going to remove this value.
2665
-
2666
- var remove = isEmpty && isDefined;
2667
- if (remove) delete this.style[name];else this.style[name] = newValue; // Renderable is defined if StyleSheet option `link` is true.
2668
-
2669
- if (this.renderable && this.renderer) {
2670
- if (remove) this.renderer.removeProperty(this.renderable, name);else this.renderer.setProperty(this.renderable, name, newValue);
2671
- return this;
2672
- }
2673
-
2674
- var sheet = this.options.sheet;
2675
-
2676
- if (sheet && sheet.attached) {
2677
- process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_2_tiny_warning__["a" /* default */])(false, '[JSS] Rule is not linked. Missing sheet option "link: true".') : void 0;
2678
- }
2679
-
2680
- return this;
2681
- };
2682
-
2683
- return BaseStyleRule;
2684
- }();
2685
- var StyleRule =
2686
- /*#__PURE__*/
2687
- function (_BaseStyleRule) {
2688
- Object(__WEBPACK_IMPORTED_MODULE_4__babel_runtime_helpers_esm_inheritsLoose__["a" /* default */])(StyleRule, _BaseStyleRule);
2689
-
2690
- function StyleRule(key, style, options) {
2691
- var _this;
2692
-
2693
- _this = _BaseStyleRule.call(this, key, style, options) || this;
2694
- _this.selectorText = void 0;
2695
- _this.id = void 0;
2696
- _this.renderable = void 0;
2697
- var selector = options.selector,
2698
- scoped = options.scoped,
2699
- sheet = options.sheet,
2700
- generateId = options.generateId;
2701
-
2702
- if (selector) {
2703
- _this.selectorText = selector;
2704
- } else if (scoped !== false) {
2705
- _this.id = generateId(Object(__WEBPACK_IMPORTED_MODULE_5__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_5__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(_this)), sheet);
2706
- _this.selectorText = "." + escape(_this.id);
2707
- }
2708
-
2709
- return _this;
2710
- }
2711
- /**
2712
- * Set selector string.
2713
- * Attention: use this with caution. Most browsers didn't implement
2714
- * selectorText setter, so this may result in rerendering of entire Style Sheet.
2715
- */
2716
-
2717
-
2718
- var _proto2 = StyleRule.prototype;
2719
-
2720
- /**
2721
- * Apply rule to an element inline.
2722
- */
2723
- _proto2.applyTo = function applyTo(renderable) {
2724
- var renderer = this.renderer;
2725
-
2726
- if (renderer) {
2727
- var json = this.toJSON();
2728
-
2729
- for (var prop in json) {
2730
- renderer.setProperty(renderable, prop, json[prop]);
2731
- }
2732
- }
2733
-
2734
- return this;
2735
- }
2736
- /**
2737
- * Returns JSON representation of the rule.
2738
- * Fallbacks are not supported.
2739
- * Useful for inline styles.
2740
- */
2741
- ;
2742
-
2743
- _proto2.toJSON = function toJSON() {
2744
- var json = {};
2745
-
2746
- for (var prop in this.style) {
2747
- var value = this.style[prop];
2748
- if (typeof value !== 'object') json[prop] = value;else if (Array.isArray(value)) json[prop] = toCssValue(value);
2749
- }
2750
-
2751
- return json;
2752
- }
2753
- /**
2754
- * Generates a CSS string.
2755
- */
2756
- ;
2757
-
2758
- _proto2.toString = function toString(options) {
2759
- var sheet = this.options.sheet;
2760
- var link = sheet ? sheet.options.link : false;
2761
- var opts = link ? Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({}, options, {
2762
- allowEmpty: true
2763
- }) : options;
2764
- return toCss(this.selectorText, this.style, opts);
2765
- };
2766
-
2767
- Object(__WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_esm_createClass__["a" /* default */])(StyleRule, [{
2768
- key: "selector",
2769
- set: function set(selector) {
2770
- if (selector === this.selectorText) return;
2771
- this.selectorText = selector;
2772
- var renderer = this.renderer,
2773
- renderable = this.renderable;
2774
- if (!renderable || !renderer) return;
2775
- var hasChanged = renderer.setSelector(renderable, selector); // If selector setter is not implemented, rerender the rule.
2776
-
2777
- if (!hasChanged) {
2778
- renderer.replaceRule(renderable, this);
2779
- }
2780
- }
2781
- /**
2782
- * Get selector string.
2783
- */
2784
- ,
2785
- get: function get() {
2786
- return this.selectorText;
2787
- }
2788
- }]);
2789
-
2790
- return StyleRule;
2791
- }(BaseStyleRule);
2792
- var pluginStyleRule = {
2793
- onCreateRule: function onCreateRule(name, style, options) {
2794
- if (name[0] === '@' || options.parent && options.parent.type === 'keyframes') {
2795
- return null;
2796
- }
2797
-
2798
- return new StyleRule(name, style, options);
2799
- }
2800
- };
2801
-
2802
- var defaultToStringOptions = {
2803
- indent: 1,
2804
- children: true
2805
- };
2806
- var atRegExp = /@([\w-]+)/;
2807
- /**
2808
- * Conditional rule for @media, @supports
2809
- */
2810
-
2811
- var ConditionalRule =
2812
- /*#__PURE__*/
2813
- function () {
2814
- function ConditionalRule(key, styles, options) {
2815
- this.type = 'conditional';
2816
- this.at = void 0;
2817
- this.key = void 0;
2818
- this.query = void 0;
2819
- this.rules = void 0;
2820
- this.options = void 0;
2821
- this.isProcessed = false;
2822
- this.renderable = void 0;
2823
- this.key = key; // Key might contain a unique suffix in case the `name` passed by user was duplicate.
2824
-
2825
- this.query = options.name;
2826
- var atMatch = key.match(atRegExp);
2827
- this.at = atMatch ? atMatch[1] : 'unknown';
2828
- this.options = options;
2829
- this.rules = new RuleList(Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({}, options, {
2830
- parent: this
2831
- }));
2832
-
2833
- for (var name in styles) {
2834
- this.rules.add(name, styles[name]);
2835
- }
2836
-
2837
- this.rules.process();
2838
- }
2839
- /**
2840
- * Get a rule.
2841
- */
2842
-
2843
-
2844
- var _proto = ConditionalRule.prototype;
2845
-
2846
- _proto.getRule = function getRule(name) {
2847
- return this.rules.get(name);
2848
- }
2849
- /**
2850
- * Get index of a rule.
2851
- */
2852
- ;
2853
-
2854
- _proto.indexOf = function indexOf(rule) {
2855
- return this.rules.indexOf(rule);
2856
- }
2857
- /**
2858
- * Create and register rule, run plugins.
2859
- */
2860
- ;
2861
-
2862
- _proto.addRule = function addRule(name, style, options) {
2863
- var rule = this.rules.add(name, style, options);
2864
- if (!rule) return null;
2865
- this.options.jss.plugins.onProcessRule(rule);
2866
- return rule;
2867
- }
2868
- /**
2869
- * Generates a CSS string.
2870
- */
2871
- ;
2872
-
2873
- _proto.toString = function toString(options) {
2874
- if (options === void 0) {
2875
- options = defaultToStringOptions;
2876
- }
2877
-
2878
- if (options.indent == null) options.indent = defaultToStringOptions.indent;
2879
- if (options.children == null) options.children = defaultToStringOptions.children;
2880
-
2881
- if (options.children === false) {
2882
- return this.query + " {}";
2883
- }
2884
-
2885
- var children = this.rules.toString(options);
2886
- return children ? this.query + " {\n" + children + "\n}" : '';
2887
- };
2888
-
2889
- return ConditionalRule;
2890
- }();
2891
- var keyRegExp = /@media|@supports\s+/;
2892
- var pluginConditionalRule = {
2893
- onCreateRule: function onCreateRule(key, styles, options) {
2894
- return keyRegExp.test(key) ? new ConditionalRule(key, styles, options) : null;
2895
- }
2896
- };
2897
-
2898
- var defaultToStringOptions$1 = {
2899
- indent: 1,
2900
- children: true
2901
- };
2902
- var nameRegExp = /@keyframes\s+([\w-]+)/;
2903
- /**
2904
- * Rule for @keyframes
2905
- */
2906
-
2907
- var KeyframesRule =
2908
- /*#__PURE__*/
2909
- function () {
2910
- function KeyframesRule(key, frames, options) {
2911
- this.type = 'keyframes';
2912
- this.at = '@keyframes';
2913
- this.key = void 0;
2914
- this.name = void 0;
2915
- this.id = void 0;
2916
- this.rules = void 0;
2917
- this.options = void 0;
2918
- this.isProcessed = false;
2919
- this.renderable = void 0;
2920
- var nameMatch = key.match(nameRegExp);
2921
-
2922
- if (nameMatch && nameMatch[1]) {
2923
- this.name = nameMatch[1];
2924
- } else {
2925
- this.name = 'noname';
2926
- process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_2_tiny_warning__["a" /* default */])(false, "[JSS] Bad keyframes name " + key) : void 0;
2927
- }
2928
-
2929
- this.key = this.type + "-" + this.name;
2930
- this.options = options;
2931
- var scoped = options.scoped,
2932
- sheet = options.sheet,
2933
- generateId = options.generateId;
2934
- this.id = scoped === false ? this.name : escape(generateId(this, sheet));
2935
- this.rules = new RuleList(Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({}, options, {
2936
- parent: this
2937
- }));
2938
-
2939
- for (var name in frames) {
2940
- this.rules.add(name, frames[name], Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({}, options, {
2941
- parent: this
2942
- }));
2943
- }
2944
-
2945
- this.rules.process();
2946
- }
2947
- /**
2948
- * Generates a CSS string.
2949
- */
2950
-
2951
-
2952
- var _proto = KeyframesRule.prototype;
2953
-
2954
- _proto.toString = function toString(options) {
2955
- if (options === void 0) {
2956
- options = defaultToStringOptions$1;
2957
- }
2958
-
2959
- if (options.indent == null) options.indent = defaultToStringOptions$1.indent;
2960
- if (options.children == null) options.children = defaultToStringOptions$1.children;
2961
-
2962
- if (options.children === false) {
2963
- return this.at + " " + this.id + " {}";
2964
- }
2965
-
2966
- var children = this.rules.toString(options);
2967
- if (children) children = "\n" + children + "\n";
2968
- return this.at + " " + this.id + " {" + children + "}";
2969
- };
2970
-
2971
- return KeyframesRule;
2972
- }();
2973
- var keyRegExp$1 = /@keyframes\s+/;
2974
- var refRegExp = /\$([\w-]+)/g;
2975
-
2976
- var findReferencedKeyframe = function findReferencedKeyframe(val, keyframes) {
2977
- if (typeof val === 'string') {
2978
- return val.replace(refRegExp, function (match, name) {
2979
- if (name in keyframes) {
2980
- return keyframes[name];
2981
- }
2982
-
2983
- process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_2_tiny_warning__["a" /* default */])(false, "[JSS] Referenced keyframes rule \"" + name + "\" is not defined.") : void 0;
2984
- return match;
2985
- });
2986
- }
2987
-
2988
- return val;
2989
- };
2990
- /**
2991
- * Replace the reference for a animation name.
2992
- */
2993
-
2994
-
2995
- var replaceRef = function replaceRef(style, prop, keyframes) {
2996
- var value = style[prop];
2997
- var refKeyframe = findReferencedKeyframe(value, keyframes);
2998
-
2999
- if (refKeyframe !== value) {
3000
- style[prop] = refKeyframe;
3001
- }
3002
- };
3003
-
3004
- var plugin = {
3005
- onCreateRule: function onCreateRule(key, frames, options) {
3006
- return typeof key === 'string' && keyRegExp$1.test(key) ? new KeyframesRule(key, frames, options) : null;
3007
- },
3008
- // Animation name ref replacer.
3009
- onProcessStyle: function onProcessStyle(style, rule, sheet) {
3010
- if (rule.type !== 'style' || !sheet) return style;
3011
- if ('animation-name' in style) replaceRef(style, 'animation-name', sheet.keyframes);
3012
- if ('animation' in style) replaceRef(style, 'animation', sheet.keyframes);
3013
- return style;
3014
- },
3015
- onChangeValue: function onChangeValue(val, prop, rule) {
3016
- var sheet = rule.options.sheet;
3017
-
3018
- if (!sheet) {
3019
- return val;
3020
- }
3021
-
3022
- switch (prop) {
3023
- case 'animation':
3024
- return findReferencedKeyframe(val, sheet.keyframes);
3025
-
3026
- case 'animation-name':
3027
- return findReferencedKeyframe(val, sheet.keyframes);
3028
-
3029
- default:
3030
- return val;
3031
- }
3032
- }
3033
- };
3034
-
3035
- var KeyframeRule =
3036
- /*#__PURE__*/
3037
- function (_BaseStyleRule) {
3038
- Object(__WEBPACK_IMPORTED_MODULE_4__babel_runtime_helpers_esm_inheritsLoose__["a" /* default */])(KeyframeRule, _BaseStyleRule);
3039
-
3040
- function KeyframeRule() {
3041
- var _this;
3042
-
3043
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
3044
- args[_key] = arguments[_key];
3045
- }
3046
-
3047
- _this = _BaseStyleRule.call.apply(_BaseStyleRule, [this].concat(args)) || this;
3048
- _this.renderable = void 0;
3049
- return _this;
3050
- }
3051
-
3052
- var _proto = KeyframeRule.prototype;
3053
-
3054
- /**
3055
- * Generates a CSS string.
3056
- */
3057
- _proto.toString = function toString(options) {
3058
- var sheet = this.options.sheet;
3059
- var link = sheet ? sheet.options.link : false;
3060
- var opts = link ? Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({}, options, {
3061
- allowEmpty: true
3062
- }) : options;
3063
- return toCss(this.key, this.style, opts);
3064
- };
3065
-
3066
- return KeyframeRule;
3067
- }(BaseStyleRule);
3068
- var pluginKeyframeRule = {
3069
- onCreateRule: function onCreateRule(key, style, options) {
3070
- if (options.parent && options.parent.type === 'keyframes') {
3071
- return new KeyframeRule(key, style, options);
3072
- }
3073
-
3074
- return null;
3075
- }
3076
- };
3077
-
3078
- var FontFaceRule =
3079
- /*#__PURE__*/
3080
- function () {
3081
- function FontFaceRule(key, style, options) {
3082
- this.type = 'font-face';
3083
- this.at = '@font-face';
3084
- this.key = void 0;
3085
- this.style = void 0;
3086
- this.options = void 0;
3087
- this.isProcessed = false;
3088
- this.renderable = void 0;
3089
- this.key = key;
3090
- this.style = style;
3091
- this.options = options;
3092
- }
3093
- /**
3094
- * Generates a CSS string.
3095
- */
3096
-
3097
-
3098
- var _proto = FontFaceRule.prototype;
3099
-
3100
- _proto.toString = function toString(options) {
3101
- if (Array.isArray(this.style)) {
3102
- var str = '';
3103
-
3104
- for (var index = 0; index < this.style.length; index++) {
3105
- str += toCss(this.at, this.style[index]);
3106
- if (this.style[index + 1]) str += '\n';
3107
- }
3108
-
3109
- return str;
3110
- }
3111
-
3112
- return toCss(this.at, this.style, options);
3113
- };
3114
-
3115
- return FontFaceRule;
3116
- }();
3117
- var keyRegExp$2 = /@font-face/;
3118
- var pluginFontFaceRule = {
3119
- onCreateRule: function onCreateRule(key, style, options) {
3120
- return keyRegExp$2.test(key) ? new FontFaceRule(key, style, options) : null;
3121
- }
3122
- };
3123
-
3124
- var ViewportRule =
3125
- /*#__PURE__*/
3126
- function () {
3127
- function ViewportRule(key, style, options) {
3128
- this.type = 'viewport';
3129
- this.at = '@viewport';
3130
- this.key = void 0;
3131
- this.style = void 0;
3132
- this.options = void 0;
3133
- this.isProcessed = false;
3134
- this.renderable = void 0;
3135
- this.key = key;
3136
- this.style = style;
3137
- this.options = options;
3138
- }
3139
- /**
3140
- * Generates a CSS string.
3141
- */
3142
-
3143
-
3144
- var _proto = ViewportRule.prototype;
3145
-
3146
- _proto.toString = function toString(options) {
3147
- return toCss(this.key, this.style, options);
3148
- };
3149
-
3150
- return ViewportRule;
3151
- }();
3152
- var pluginViewportRule = {
3153
- onCreateRule: function onCreateRule(key, style, options) {
3154
- return key === '@viewport' || key === '@-ms-viewport' ? new ViewportRule(key, style, options) : null;
3155
- }
3156
- };
3157
-
3158
- var SimpleRule =
3159
- /*#__PURE__*/
3160
- function () {
3161
- function SimpleRule(key, value, options) {
3162
- this.type = 'simple';
3163
- this.key = void 0;
3164
- this.value = void 0;
3165
- this.options = void 0;
3166
- this.isProcessed = false;
3167
- this.renderable = void 0;
3168
- this.key = key;
3169
- this.value = value;
3170
- this.options = options;
3171
- }
3172
- /**
3173
- * Generates a CSS string.
3174
- */
3175
- // eslint-disable-next-line no-unused-vars
3176
-
3177
-
3178
- var _proto = SimpleRule.prototype;
3179
-
3180
- _proto.toString = function toString(options) {
3181
- if (Array.isArray(this.value)) {
3182
- var str = '';
3183
-
3184
- for (var index = 0; index < this.value.length; index++) {
3185
- str += this.key + " " + this.value[index] + ";";
3186
- if (this.value[index + 1]) str += '\n';
3187
- }
3188
-
3189
- return str;
3190
- }
3191
-
3192
- return this.key + " " + this.value + ";";
3193
- };
3194
-
3195
- return SimpleRule;
3196
- }();
3197
- var keysMap = {
3198
- '@charset': true,
3199
- '@import': true,
3200
- '@namespace': true
3201
- };
3202
- var pluginSimpleRule = {
3203
- onCreateRule: function onCreateRule(key, value, options) {
3204
- return key in keysMap ? new SimpleRule(key, value, options) : null;
3205
- }
3206
- };
3207
-
3208
- var plugins = [pluginStyleRule, pluginConditionalRule, plugin, pluginKeyframeRule, pluginFontFaceRule, pluginViewportRule, pluginSimpleRule];
3209
-
3210
- var defaultUpdateOptions = {
3211
- process: true
3212
- };
3213
- var forceUpdateOptions = {
3214
- force: true,
3215
- process: true
3216
- /**
3217
- * Contains rules objects and allows adding/removing etc.
3218
- * Is used for e.g. by `StyleSheet` or `ConditionalRule`.
3219
- */
3220
-
3221
- };
3222
-
3223
- var RuleList =
3224
- /*#__PURE__*/
3225
- function () {
3226
- // Rules registry for access by .get() method.
3227
- // It contains the same rule registered by name and by selector.
3228
- // Original styles object.
3229
- // Used to ensure correct rules order.
3230
- function RuleList(options) {
3231
- this.map = {};
3232
- this.raw = {};
3233
- this.index = [];
3234
- this.counter = 0;
3235
- this.options = void 0;
3236
- this.classes = void 0;
3237
- this.keyframes = void 0;
3238
- this.options = options;
3239
- this.classes = options.classes;
3240
- this.keyframes = options.keyframes;
3241
- }
3242
- /**
3243
- * Create and register rule.
3244
- *
3245
- * Will not render after Style Sheet was rendered the first time.
3246
- */
3247
-
3248
-
3249
- var _proto = RuleList.prototype;
3250
-
3251
- _proto.add = function add(name, decl, ruleOptions) {
3252
- var _this$options = this.options,
3253
- parent = _this$options.parent,
3254
- sheet = _this$options.sheet,
3255
- jss = _this$options.jss,
3256
- Renderer = _this$options.Renderer,
3257
- generateId = _this$options.generateId,
3258
- scoped = _this$options.scoped;
3259
-
3260
- var options = Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({
3261
- classes: this.classes,
3262
- parent: parent,
3263
- sheet: sheet,
3264
- jss: jss,
3265
- Renderer: Renderer,
3266
- generateId: generateId,
3267
- scoped: scoped,
3268
- name: name
3269
- }, ruleOptions); // When user uses .createStyleSheet(), duplicate names are not possible, but
3270
- // `sheet.addRule()` opens the door for any duplicate rule name. When this happens
3271
- // we need to make the key unique within this RuleList instance scope.
3272
-
3273
-
3274
- var key = name;
3275
-
3276
- if (name in this.raw) {
3277
- key = name + "-d" + this.counter++;
3278
- } // We need to save the original decl before creating the rule
3279
- // because cache plugin needs to use it as a key to return a cached rule.
3280
-
3281
-
3282
- this.raw[key] = decl;
3283
-
3284
- if (key in this.classes) {
3285
- // E.g. rules inside of @media container
3286
- options.selector = "." + escape(this.classes[key]);
3287
- }
3288
-
3289
- var rule = createRule(key, decl, options);
3290
- if (!rule) return null;
3291
- this.register(rule);
3292
- var index = options.index === undefined ? this.index.length : options.index;
3293
- this.index.splice(index, 0, rule);
3294
- return rule;
3295
- }
3296
- /**
3297
- * Get a rule.
3298
- */
3299
- ;
3300
-
3301
- _proto.get = function get(name) {
3302
- return this.map[name];
3303
- }
3304
- /**
3305
- * Delete a rule.
3306
- */
3307
- ;
3308
-
3309
- _proto.remove = function remove(rule) {
3310
- this.unregister(rule);
3311
- delete this.raw[rule.key];
3312
- this.index.splice(this.index.indexOf(rule), 1);
3313
- }
3314
- /**
3315
- * Get index of a rule.
3316
- */
3317
- ;
3318
-
3319
- _proto.indexOf = function indexOf(rule) {
3320
- return this.index.indexOf(rule);
3321
- }
3322
- /**
3323
- * Run `onProcessRule()` plugins on every rule.
3324
- */
3325
- ;
3326
-
3327
- _proto.process = function process() {
3328
- var plugins = this.options.jss.plugins; // We need to clone array because if we modify the index somewhere else during a loop
3329
- // we end up with very hard-to-track-down side effects.
3330
-
3331
- this.index.slice(0).forEach(plugins.onProcessRule, plugins);
3332
- }
3333
- /**
3334
- * Register a rule in `.map`, `.classes` and `.keyframes` maps.
3335
- */
3336
- ;
3337
-
3338
- _proto.register = function register(rule) {
3339
- this.map[rule.key] = rule;
3340
-
3341
- if (rule instanceof StyleRule) {
3342
- this.map[rule.selector] = rule;
3343
- if (rule.id) this.classes[rule.key] = rule.id;
3344
- } else if (rule instanceof KeyframesRule && this.keyframes) {
3345
- this.keyframes[rule.name] = rule.id;
3346
- }
3347
- }
3348
- /**
3349
- * Unregister a rule.
3350
- */
3351
- ;
3352
-
3353
- _proto.unregister = function unregister(rule) {
3354
- delete this.map[rule.key];
3355
-
3356
- if (rule instanceof StyleRule) {
3357
- delete this.map[rule.selector];
3358
- delete this.classes[rule.key];
3359
- } else if (rule instanceof KeyframesRule) {
3360
- delete this.keyframes[rule.name];
3361
- }
3362
- }
3363
- /**
3364
- * Update the function values with a new data.
3365
- */
3366
- ;
3367
-
3368
- _proto.update = function update() {
3369
- var name;
3370
- var data;
3371
- var options;
3372
-
3373
- if (typeof (arguments.length <= 0 ? undefined : arguments[0]) === 'string') {
3374
- name = arguments.length <= 0 ? undefined : arguments[0]; // $FlowFixMe
3375
-
3376
- data = arguments.length <= 1 ? undefined : arguments[1]; // $FlowFixMe
3377
-
3378
- options = arguments.length <= 2 ? undefined : arguments[2];
3379
- } else {
3380
- data = arguments.length <= 0 ? undefined : arguments[0]; // $FlowFixMe
3381
-
3382
- options = arguments.length <= 1 ? undefined : arguments[1];
3383
- name = null;
3384
- }
3385
-
3386
- if (name) {
3387
- this.updateOne(this.map[name], data, options);
3388
- } else {
3389
- for (var index = 0; index < this.index.length; index++) {
3390
- this.updateOne(this.index[index], data, options);
3391
- }
3392
- }
3393
- }
3394
- /**
3395
- * Execute plugins, update rule props.
3396
- */
3397
- ;
3398
-
3399
- _proto.updateOne = function updateOne(rule, data, options) {
3400
- if (options === void 0) {
3401
- options = defaultUpdateOptions;
3402
- }
3403
-
3404
- var _this$options2 = this.options,
3405
- plugins = _this$options2.jss.plugins,
3406
- sheet = _this$options2.sheet; // It is a rules container like for e.g. ConditionalRule.
3407
-
3408
- if (rule.rules instanceof RuleList) {
3409
- rule.rules.update(data, options);
3410
- return;
3411
- }
3412
-
3413
- var styleRule = rule;
3414
- var style = styleRule.style;
3415
- plugins.onUpdate(data, rule, sheet, options); // We rely on a new `style` ref in case it was mutated during onUpdate hook.
3416
-
3417
- if (options.process && style && style !== styleRule.style) {
3418
- // We need to run the plugins in case new `style` relies on syntax plugins.
3419
- plugins.onProcessStyle(styleRule.style, styleRule, sheet); // Update and add props.
3420
-
3421
- for (var prop in styleRule.style) {
3422
- var nextValue = styleRule.style[prop];
3423
- var prevValue = style[prop]; // We need to use `force: true` because `rule.style` has been updated during onUpdate hook, so `rule.prop()` will not update the CSSOM rule.
3424
- // We do this comparison to avoid unneeded `rule.prop()` calls, since we have the old `style` object here.
3425
-
3426
- if (nextValue !== prevValue) {
3427
- styleRule.prop(prop, nextValue, forceUpdateOptions);
3428
- }
3429
- } // Remove props.
3430
-
3431
-
3432
- for (var _prop in style) {
3433
- var _nextValue = styleRule.style[_prop];
3434
- var _prevValue = style[_prop]; // We need to use `force: true` because `rule.style` has been updated during onUpdate hook, so `rule.prop()` will not update the CSSOM rule.
3435
- // We do this comparison to avoid unneeded `rule.prop()` calls, since we have the old `style` object here.
3436
-
3437
- if (_nextValue == null && _nextValue !== _prevValue) {
3438
- styleRule.prop(_prop, null, forceUpdateOptions);
3439
- }
3440
- }
3441
- }
3442
- }
3443
- /**
3444
- * Convert rules to a CSS string.
3445
- */
3446
- ;
3447
-
3448
- _proto.toString = function toString(options) {
3449
- var str = '';
3450
- var sheet = this.options.sheet;
3451
- var link = sheet ? sheet.options.link : false;
3452
-
3453
- for (var index = 0; index < this.index.length; index++) {
3454
- var rule = this.index[index];
3455
- var css = rule.toString(options); // No need to render an empty rule.
3456
-
3457
- if (!css && !link) continue;
3458
- if (str) str += '\n';
3459
- str += css;
3460
- }
3461
-
3462
- return str;
3463
- };
3464
-
3465
- return RuleList;
3466
- }();
3467
-
3468
- var StyleSheet =
3469
- /*#__PURE__*/
3470
- function () {
3471
- function StyleSheet(styles, options) {
3472
- this.options = void 0;
3473
- this.deployed = void 0;
3474
- this.attached = void 0;
3475
- this.rules = void 0;
3476
- this.renderer = void 0;
3477
- this.classes = void 0;
3478
- this.keyframes = void 0;
3479
- this.queue = void 0;
3480
- this.attached = false;
3481
- this.deployed = false;
3482
- this.classes = {};
3483
- this.keyframes = {};
3484
- this.options = Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({}, options, {
3485
- sheet: this,
3486
- parent: this,
3487
- classes: this.classes,
3488
- keyframes: this.keyframes
3489
- });
3490
-
3491
- if (options.Renderer) {
3492
- this.renderer = new options.Renderer(this);
3493
- }
3494
-
3495
- this.rules = new RuleList(this.options);
3496
-
3497
- for (var name in styles) {
3498
- this.rules.add(name, styles[name]);
3499
- }
3500
-
3501
- this.rules.process();
3502
- }
3503
- /**
3504
- * Attach renderable to the render tree.
3505
- */
3506
-
3507
-
3508
- var _proto = StyleSheet.prototype;
3509
-
3510
- _proto.attach = function attach() {
3511
- if (this.attached) return this;
3512
- if (this.renderer) this.renderer.attach();
3513
- this.attached = true; // Order is important, because we can't use insertRule API if style element is not attached.
3514
-
3515
- if (!this.deployed) this.deploy();
3516
- return this;
3517
- }
3518
- /**
3519
- * Remove renderable from render tree.
3520
- */
3521
- ;
3522
-
3523
- _proto.detach = function detach() {
3524
- if (!this.attached) return this;
3525
- if (this.renderer) this.renderer.detach();
3526
- this.attached = false;
3527
- return this;
3528
- }
3529
- /**
3530
- * Add a rule to the current stylesheet.
3531
- * Will insert a rule also after the stylesheet has been rendered first time.
3532
- */
3533
- ;
3534
-
3535
- _proto.addRule = function addRule(name, decl, options) {
3536
- var queue = this.queue; // Plugins can create rules.
3537
- // In order to preserve the right order, we need to queue all `.addRule` calls,
3538
- // which happen after the first `rules.add()` call.
3539
-
3540
- if (this.attached && !queue) this.queue = [];
3541
- var rule = this.rules.add(name, decl, options);
3542
- if (!rule) return null;
3543
- this.options.jss.plugins.onProcessRule(rule);
3544
-
3545
- if (this.attached) {
3546
- if (!this.deployed) return rule; // Don't insert rule directly if there is no stringified version yet.
3547
- // It will be inserted all together when .attach is called.
3548
-
3549
- if (queue) queue.push(rule);else {
3550
- this.insertRule(rule);
3551
-
3552
- if (this.queue) {
3553
- this.queue.forEach(this.insertRule, this);
3554
- this.queue = undefined;
3555
- }
3556
- }
3557
- return rule;
3558
- } // We can't add rules to a detached style node.
3559
- // We will redeploy the sheet once user will attach it.
3560
-
3561
-
3562
- this.deployed = false;
3563
- return rule;
3564
- }
3565
- /**
3566
- * Insert rule into the StyleSheet
3567
- */
3568
- ;
3569
-
3570
- _proto.insertRule = function insertRule(rule) {
3571
- if (this.renderer) {
3572
- this.renderer.insertRule(rule);
3573
- }
3574
- }
3575
- /**
3576
- * Create and add rules.
3577
- * Will render also after Style Sheet was rendered the first time.
3578
- */
3579
- ;
3580
-
3581
- _proto.addRules = function addRules(styles, options) {
3582
- var added = [];
3583
-
3584
- for (var name in styles) {
3585
- var rule = this.addRule(name, styles[name], options);
3586
- if (rule) added.push(rule);
3587
- }
3588
-
3589
- return added;
3590
- }
3591
- /**
3592
- * Get a rule by name.
3593
- */
3594
- ;
3595
-
3596
- _proto.getRule = function getRule(name) {
3597
- return this.rules.get(name);
3598
- }
3599
- /**
3600
- * Delete a rule by name.
3601
- * Returns `true`: if rule has been deleted from the DOM.
3602
- */
3603
- ;
3604
-
3605
- _proto.deleteRule = function deleteRule(name) {
3606
- var rule = typeof name === 'object' ? name : this.rules.get(name);
3607
- if (!rule) return false;
3608
- this.rules.remove(rule);
3609
-
3610
- if (this.attached && rule.renderable && this.renderer) {
3611
- return this.renderer.deleteRule(rule.renderable);
3612
- }
3613
-
3614
- return true;
3615
- }
3616
- /**
3617
- * Get index of a rule.
3618
- */
3619
- ;
3620
-
3621
- _proto.indexOf = function indexOf(rule) {
3622
- return this.rules.indexOf(rule);
3623
- }
3624
- /**
3625
- * Deploy pure CSS string to a renderable.
3626
- */
3627
- ;
3628
-
3629
- _proto.deploy = function deploy() {
3630
- if (this.renderer) this.renderer.deploy();
3631
- this.deployed = true;
3632
- return this;
3633
- }
3634
- /**
3635
- * Update the function values with a new data.
3636
- */
3637
- ;
3638
-
3639
- _proto.update = function update() {
3640
- var _this$rules;
3641
-
3642
- (_this$rules = this.rules).update.apply(_this$rules, arguments);
3643
-
3644
- return this;
3645
- }
3646
- /**
3647
- * Updates a single rule.
3648
- */
3649
- ;
3650
-
3651
- _proto.updateOne = function updateOne(rule, data, options) {
3652
- this.rules.updateOne(rule, data, options);
3653
- return this;
3654
- }
3655
- /**
3656
- * Convert rules to a CSS string.
3657
- */
3658
- ;
3659
-
3660
- _proto.toString = function toString(options) {
3661
- return this.rules.toString(options);
3662
- };
3663
-
3664
- return StyleSheet;
3665
- }();
3666
-
3667
- var PluginsRegistry =
3668
- /*#__PURE__*/
3669
- function () {
3670
- function PluginsRegistry() {
3671
- this.plugins = {
3672
- internal: [],
3673
- external: []
3674
- };
3675
- this.registry = void 0;
3676
- }
3677
-
3678
- var _proto = PluginsRegistry.prototype;
3679
-
3680
- /**
3681
- * Call `onCreateRule` hooks and return an object if returned by a hook.
3682
- */
3683
- _proto.onCreateRule = function onCreateRule(name, decl, options) {
3684
- for (var i = 0; i < this.registry.onCreateRule.length; i++) {
3685
- var rule = this.registry.onCreateRule[i](name, decl, options);
3686
- if (rule) return rule;
3687
- }
3688
-
3689
- return null;
3690
- }
3691
- /**
3692
- * Call `onProcessRule` hooks.
3693
- */
3694
- ;
3695
-
3696
- _proto.onProcessRule = function onProcessRule(rule) {
3697
- if (rule.isProcessed) return;
3698
- var sheet = rule.options.sheet;
3699
-
3700
- for (var i = 0; i < this.registry.onProcessRule.length; i++) {
3701
- this.registry.onProcessRule[i](rule, sheet);
3702
- }
3703
-
3704
- if (rule.style) this.onProcessStyle(rule.style, rule, sheet);
3705
- rule.isProcessed = true;
3706
- }
3707
- /**
3708
- * Call `onProcessStyle` hooks.
3709
- */
3710
- ;
3711
-
3712
- _proto.onProcessStyle = function onProcessStyle(style, rule, sheet) {
3713
- for (var i = 0; i < this.registry.onProcessStyle.length; i++) {
3714
- // $FlowFixMe
3715
- rule.style = this.registry.onProcessStyle[i](rule.style, rule, sheet);
3716
- }
3717
- }
3718
- /**
3719
- * Call `onProcessSheet` hooks.
3720
- */
3721
- ;
3722
-
3723
- _proto.onProcessSheet = function onProcessSheet(sheet) {
3724
- for (var i = 0; i < this.registry.onProcessSheet.length; i++) {
3725
- this.registry.onProcessSheet[i](sheet);
3726
- }
3727
- }
3728
- /**
3729
- * Call `onUpdate` hooks.
3730
- */
3731
- ;
3732
-
3733
- _proto.onUpdate = function onUpdate(data, rule, sheet, options) {
3734
- for (var i = 0; i < this.registry.onUpdate.length; i++) {
3735
- this.registry.onUpdate[i](data, rule, sheet, options);
3736
- }
3737
- }
3738
- /**
3739
- * Call `onChangeValue` hooks.
3740
- */
3741
- ;
3742
-
3743
- _proto.onChangeValue = function onChangeValue(value, prop, rule) {
3744
- var processedValue = value;
3745
-
3746
- for (var i = 0; i < this.registry.onChangeValue.length; i++) {
3747
- processedValue = this.registry.onChangeValue[i](processedValue, prop, rule);
3748
- }
3749
-
3750
- return processedValue;
3751
- }
3752
- /**
3753
- * Register a plugin.
3754
- */
3755
- ;
3756
-
3757
- _proto.use = function use(newPlugin, options) {
3758
- if (options === void 0) {
3759
- options = {
3760
- queue: 'external'
3761
- };
3762
- }
3763
-
3764
- var plugins = this.plugins[options.queue]; // Avoids applying same plugin twice, at least based on ref.
3765
-
3766
- if (plugins.indexOf(newPlugin) !== -1) {
3767
- return;
3768
- }
3769
-
3770
- plugins.push(newPlugin);
3771
- this.registry = [].concat(this.plugins.external, this.plugins.internal).reduce(function (registry, plugin) {
3772
- for (var name in plugin) {
3773
- if (name in registry) {
3774
- registry[name].push(plugin[name]);
3775
- } else {
3776
- process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_2_tiny_warning__["a" /* default */])(false, "[JSS] Unknown hook \"" + name + "\".") : void 0;
3777
- }
3778
- }
3779
-
3780
- return registry;
3781
- }, {
3782
- onCreateRule: [],
3783
- onProcessRule: [],
3784
- onProcessStyle: [],
3785
- onProcessSheet: [],
3786
- onChangeValue: [],
3787
- onUpdate: []
3788
- });
3789
- };
3790
-
3791
- return PluginsRegistry;
3792
- }();
3793
-
3794
- /**
3795
- * Sheets registry to access them all at one place.
3796
- */
3797
- var SheetsRegistry =
3798
- /*#__PURE__*/
3799
- function () {
3800
- function SheetsRegistry() {
3801
- this.registry = [];
3802
- }
3803
-
3804
- var _proto = SheetsRegistry.prototype;
3805
-
3806
- /**
3807
- * Register a Style Sheet.
3808
- */
3809
- _proto.add = function add(sheet) {
3810
- var registry = this.registry;
3811
- var index = sheet.options.index;
3812
- if (registry.indexOf(sheet) !== -1) return;
3813
-
3814
- if (registry.length === 0 || index >= this.index) {
3815
- registry.push(sheet);
3816
- return;
3817
- } // Find a position.
3818
-
3819
-
3820
- for (var i = 0; i < registry.length; i++) {
3821
- if (registry[i].options.index > index) {
3822
- registry.splice(i, 0, sheet);
3823
- return;
3824
- }
3825
- }
3826
- }
3827
- /**
3828
- * Reset the registry.
3829
- */
3830
- ;
3831
-
3832
- _proto.reset = function reset() {
3833
- this.registry = [];
3834
- }
3835
- /**
3836
- * Remove a Style Sheet.
3837
- */
3838
- ;
3839
-
3840
- _proto.remove = function remove(sheet) {
3841
- var index = this.registry.indexOf(sheet);
3842
- this.registry.splice(index, 1);
3843
- }
3844
- /**
3845
- * Convert all attached sheets to a CSS string.
3846
- */
3847
- ;
3848
-
3849
- _proto.toString = function toString(_temp) {
3850
- var _ref = _temp === void 0 ? {} : _temp,
3851
- attached = _ref.attached,
3852
- options = Object(__WEBPACK_IMPORTED_MODULE_6__babel_runtime_helpers_esm_objectWithoutPropertiesLoose__["a" /* default */])(_ref, ["attached"]);
3853
-
3854
- var css = '';
3855
-
3856
- for (var i = 0; i < this.registry.length; i++) {
3857
- var sheet = this.registry[i];
3858
-
3859
- if (attached != null && sheet.attached !== attached) {
3860
- continue;
3861
- }
3862
-
3863
- if (css) css += '\n';
3864
- css += sheet.toString(options);
3865
- }
3866
-
3867
- return css;
3868
- };
3869
-
3870
- Object(__WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_esm_createClass__["a" /* default */])(SheetsRegistry, [{
3871
- key: "index",
3872
-
3873
- /**
3874
- * Current highest index number.
3875
- */
3876
- get: function get() {
3877
- return this.registry.length === 0 ? 0 : this.registry[this.registry.length - 1].options.index;
3878
- }
3879
- }]);
3880
-
3881
- return SheetsRegistry;
3882
- }();
3883
-
3884
- /**
3885
- * This is a global sheets registry. Only DomRenderer will add sheets to it.
3886
- * On the server one should use an own SheetsRegistry instance and add the
3887
- * sheets to it, because you need to make sure to create a new registry for
3888
- * each request in order to not leak sheets across requests.
3889
- */
3890
-
3891
- var sheets = new SheetsRegistry();
3892
-
3893
- /* eslint-disable */
3894
- // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
3895
- var globalThis = typeof window != 'undefined' && window.Math == Math ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')();
3896
-
3897
- var ns = '2f1acc6c3a606b082e5eef5e54414ffb';
3898
- if (globalThis[ns] == null) globalThis[ns] = 0; // Bundle may contain multiple JSS versions at the same time. In order to identify
3899
- // the current version with just one short number and use it for classes generation
3900
- // we use a counter. Also it is more accurate, because user can manually reevaluate
3901
- // the module.
3902
-
3903
- var moduleId = globalThis[ns]++;
3904
-
3905
- var maxRules = 1e10;
3906
-
3907
- /**
3908
- * Returns a function which generates unique class names based on counters.
3909
- * When new generator function is created, rule counter is reseted.
3910
- * We need to reset the rule counter for SSR for each request.
3911
- */
3912
- var createGenerateId = function createGenerateId(options) {
3913
- if (options === void 0) {
3914
- options = {};
3915
- }
3916
-
3917
- var ruleCounter = 0;
3918
- return function (rule, sheet) {
3919
- ruleCounter += 1;
3920
-
3921
- if (ruleCounter > maxRules) {
3922
- process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_2_tiny_warning__["a" /* default */])(false, "[JSS] You might have a memory leak. Rule counter is at " + ruleCounter + ".") : void 0;
3923
- }
3924
-
3925
- var jssId = '';
3926
- var prefix = '';
3927
-
3928
- if (sheet) {
3929
- if (sheet.options.classNamePrefix) {
3930
- prefix = sheet.options.classNamePrefix;
3931
- }
3932
-
3933
- if (sheet.options.jss.id != null) {
3934
- jssId = String(sheet.options.jss.id);
3935
- }
3936
- }
3937
-
3938
- if (options.minify) {
3939
- // Using "c" because a number can't be the first char in a class name.
3940
- return "" + (prefix || 'c') + moduleId + jssId + ruleCounter;
3941
- }
3942
-
3943
- return prefix + rule.key + "-" + moduleId + (jssId ? "-" + jssId : '') + "-" + ruleCounter;
3944
- };
3945
- };
3946
-
3947
- /**
3948
- * Cache the value from the first time a function is called.
3949
- */
3950
- var memoize = function memoize(fn) {
3951
- var value;
3952
- return function () {
3953
- if (!value) value = fn();
3954
- return value;
3955
- };
3956
- };
3957
- /**
3958
- * Get a style property value.
3959
- */
3960
-
3961
-
3962
- function getPropertyValue(cssRule, prop) {
3963
- try {
3964
- // Support CSSTOM.
3965
- if (cssRule.attributeStyleMap) {
3966
- return cssRule.attributeStyleMap.get(prop);
3967
- }
3968
-
3969
- return cssRule.style.getPropertyValue(prop);
3970
- } catch (err) {
3971
- // IE may throw if property is unknown.
3972
- return '';
3973
- }
3974
- }
3975
- /**
3976
- * Set a style property.
3977
- */
3978
-
3979
-
3980
- function setProperty(cssRule, prop, value) {
3981
- try {
3982
- var cssValue = value;
3983
-
3984
- if (Array.isArray(value)) {
3985
- cssValue = toCssValue(value, true);
3986
-
3987
- if (value[value.length - 1] === '!important') {
3988
- cssRule.style.setProperty(prop, cssValue, 'important');
3989
- return true;
3990
- }
3991
- } // Support CSSTOM.
3992
-
3993
-
3994
- if (cssRule.attributeStyleMap) {
3995
- cssRule.attributeStyleMap.set(prop, cssValue);
3996
- } else {
3997
- cssRule.style.setProperty(prop, cssValue);
3998
- }
3999
- } catch (err) {
4000
- // IE may throw if property is unknown.
4001
- return false;
4002
- }
4003
-
4004
- return true;
4005
- }
4006
- /**
4007
- * Remove a style property.
4008
- */
4009
-
4010
-
4011
- function removeProperty(cssRule, prop) {
4012
- try {
4013
- // Support CSSTOM.
4014
- if (cssRule.attributeStyleMap) {
4015
- cssRule.attributeStyleMap.delete(prop);
4016
- } else {
4017
- cssRule.style.removeProperty(prop);
4018
- }
4019
- } catch (err) {
4020
- process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_2_tiny_warning__["a" /* default */])(false, "[JSS] DOMException \"" + err.message + "\" was thrown. Tried to remove property \"" + prop + "\".") : void 0;
4021
- }
4022
- }
4023
- /**
4024
- * Set the selector.
4025
- */
4026
-
4027
-
4028
- function setSelector(cssRule, selectorText) {
4029
- cssRule.selectorText = selectorText; // Return false if setter was not successful.
4030
- // Currently works in chrome only.
4031
-
4032
- return cssRule.selectorText === selectorText;
4033
- }
4034
- /**
4035
- * Gets the `head` element upon the first call and caches it.
4036
- * We assume it can't be null.
4037
- */
4038
-
4039
-
4040
- var getHead = memoize(function () {
4041
- return document.querySelector('head');
4042
- });
4043
- /**
4044
- * Find attached sheet with an index higher than the passed one.
4045
- */
4046
-
4047
- function findHigherSheet(registry, options) {
4048
- for (var i = 0; i < registry.length; i++) {
4049
- var sheet = registry[i];
4050
-
4051
- if (sheet.attached && sheet.options.index > options.index && sheet.options.insertionPoint === options.insertionPoint) {
4052
- return sheet;
4053
- }
4054
- }
4055
-
4056
- return null;
4057
- }
4058
- /**
4059
- * Find attached sheet with the highest index.
4060
- */
4061
-
4062
-
4063
- function findHighestSheet(registry, options) {
4064
- for (var i = registry.length - 1; i >= 0; i--) {
4065
- var sheet = registry[i];
4066
-
4067
- if (sheet.attached && sheet.options.insertionPoint === options.insertionPoint) {
4068
- return sheet;
4069
- }
4070
- }
4071
-
4072
- return null;
4073
- }
4074
- /**
4075
- * Find a comment with "jss" inside.
4076
- */
4077
-
4078
-
4079
- function findCommentNode(text) {
4080
- var head = getHead();
4081
-
4082
- for (var i = 0; i < head.childNodes.length; i++) {
4083
- var node = head.childNodes[i];
4084
-
4085
- if (node.nodeType === 8 && node.nodeValue.trim() === text) {
4086
- return node;
4087
- }
4088
- }
4089
-
4090
- return null;
4091
- }
4092
-
4093
- /**
4094
- * Find a node before which we can insert the sheet.
4095
- */
4096
- function findPrevNode(options) {
4097
- var registry = sheets.registry;
4098
-
4099
- if (registry.length > 0) {
4100
- // Try to insert before the next higher sheet.
4101
- var sheet = findHigherSheet(registry, options);
4102
-
4103
- if (sheet && sheet.renderer) {
4104
- return {
4105
- parent: sheet.renderer.element.parentNode,
4106
- node: sheet.renderer.element
4107
- };
4108
- } // Otherwise insert after the last attached.
4109
-
4110
-
4111
- sheet = findHighestSheet(registry, options);
4112
-
4113
- if (sheet && sheet.renderer) {
4114
- return {
4115
- parent: sheet.renderer.element.parentNode,
4116
- node: sheet.renderer.element.nextSibling
4117
- };
4118
- }
4119
- } // Try to find a comment placeholder if registry is empty.
4120
-
4121
-
4122
- var insertionPoint = options.insertionPoint;
4123
-
4124
- if (insertionPoint && typeof insertionPoint === 'string') {
4125
- var comment = findCommentNode(insertionPoint);
4126
-
4127
- if (comment) {
4128
- return {
4129
- parent: comment.parentNode,
4130
- node: comment.nextSibling
4131
- };
4132
- } // If user specifies an insertion point and it can't be found in the document -
4133
- // bad specificity issues may appear.
4134
-
4135
-
4136
- process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_2_tiny_warning__["a" /* default */])(false, "[JSS] Insertion point \"" + insertionPoint + "\" not found.") : void 0;
4137
- }
4138
-
4139
- return false;
4140
- }
4141
- /**
4142
- * Insert style element into the DOM.
4143
- */
4144
-
4145
-
4146
- function insertStyle(style, options) {
4147
- var insertionPoint = options.insertionPoint;
4148
- var nextNode = findPrevNode(options);
4149
-
4150
- if (nextNode !== false && nextNode.parent) {
4151
- nextNode.parent.insertBefore(style, nextNode.node);
4152
- return;
4153
- } // Works with iframes and any node types.
4154
-
4155
-
4156
- if (insertionPoint && typeof insertionPoint.nodeType === 'number') {
4157
- // https://stackoverflow.com/questions/41328728/force-casting-in-flow
4158
- var insertionPointElement = insertionPoint;
4159
- var parentNode = insertionPointElement.parentNode;
4160
- if (parentNode) parentNode.insertBefore(style, insertionPointElement.nextSibling);else process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_2_tiny_warning__["a" /* default */])(false, '[JSS] Insertion point is not in the DOM.') : void 0;
4161
- return;
4162
- }
4163
-
4164
- getHead().appendChild(style);
4165
- }
4166
- /**
4167
- * Read jss nonce setting from the page if the user has set it.
4168
- */
4169
-
4170
-
4171
- var getNonce = memoize(function () {
4172
- var node = document.querySelector('meta[property="csp-nonce"]');
4173
- return node ? node.getAttribute('content') : null;
4174
- });
4175
-
4176
- var _insertRule = function insertRule(container, rule, index) {
4177
- var maxIndex = container.cssRules.length; // In case previous insertion fails, passed index might be wrong
4178
-
4179
- if (index === undefined || index > maxIndex) {
4180
- // eslint-disable-next-line no-param-reassign
4181
- index = maxIndex;
4182
- }
4183
-
4184
- try {
4185
- if ('insertRule' in container) {
4186
- var c = container;
4187
- c.insertRule(rule, index);
4188
- } // Keyframes rule.
4189
- else if ('appendRule' in container) {
4190
- var _c = container;
4191
-
4192
- _c.appendRule(rule);
4193
- }
4194
- } catch (err) {
4195
- process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_2_tiny_warning__["a" /* default */])(false, "[JSS] " + err.message) : void 0;
4196
- return false;
4197
- }
4198
-
4199
- return container.cssRules[index];
4200
- };
4201
-
4202
- var createStyle = function createStyle() {
4203
- var el = document.createElement('style'); // Without it, IE will have a broken source order specificity if we
4204
- // insert rules after we insert the style tag.
4205
- // It seems to kick-off the source order specificity algorithm.
4206
-
4207
- el.textContent = '\n';
4208
- return el;
4209
- };
4210
-
4211
- var DomRenderer =
4212
- /*#__PURE__*/
4213
- function () {
4214
- // HTMLStyleElement needs fixing https://github.com/facebook/flow/issues/2696
4215
- function DomRenderer(sheet) {
4216
- this.getPropertyValue = getPropertyValue;
4217
- this.setProperty = setProperty;
4218
- this.removeProperty = removeProperty;
4219
- this.setSelector = setSelector;
4220
- this.element = void 0;
4221
- this.sheet = void 0;
4222
- this.hasInsertedRules = false;
4223
- // There is no sheet when the renderer is used from a standalone StyleRule.
4224
- if (sheet) sheets.add(sheet);
4225
- this.sheet = sheet;
4226
-
4227
- var _ref = this.sheet ? this.sheet.options : {},
4228
- media = _ref.media,
4229
- meta = _ref.meta,
4230
- element = _ref.element;
4231
-
4232
- this.element = element || createStyle();
4233
- this.element.setAttribute('data-jss', '');
4234
- if (media) this.element.setAttribute('media', media);
4235
- if (meta) this.element.setAttribute('data-meta', meta);
4236
- var nonce = getNonce();
4237
- if (nonce) this.element.setAttribute('nonce', nonce);
4238
- }
4239
- /**
4240
- * Insert style element into render tree.
4241
- */
4242
-
4243
-
4244
- var _proto = DomRenderer.prototype;
4245
-
4246
- _proto.attach = function attach() {
4247
- // In the case the element node is external and it is already in the DOM.
4248
- if (this.element.parentNode || !this.sheet) return;
4249
- insertStyle(this.element, this.sheet.options); // When rules are inserted using `insertRule` API, after `sheet.detach().attach()`
4250
- // most browsers create a new CSSStyleSheet, except of all IEs.
4251
-
4252
- var deployed = Boolean(this.sheet && this.sheet.deployed);
4253
-
4254
- if (this.hasInsertedRules && deployed) {
4255
- this.hasInsertedRules = false;
4256
- this.deploy();
4257
- }
4258
- }
4259
- /**
4260
- * Remove style element from render tree.
4261
- */
4262
- ;
4263
-
4264
- _proto.detach = function detach() {
4265
- var parentNode = this.element.parentNode;
4266
- if (parentNode) parentNode.removeChild(this.element);
4267
- }
4268
- /**
4269
- * Inject CSS string into element.
4270
- */
4271
- ;
4272
-
4273
- _proto.deploy = function deploy() {
4274
- var sheet = this.sheet;
4275
- if (!sheet) return;
4276
-
4277
- if (sheet.options.link) {
4278
- this.insertRules(sheet.rules);
4279
- return;
4280
- }
4281
-
4282
- this.element.textContent = "\n" + sheet.toString() + "\n";
4283
- }
4284
- /**
4285
- * Insert RuleList into an element.
4286
- */
4287
- ;
4288
-
4289
- _proto.insertRules = function insertRules(rules, nativeParent) {
4290
- for (var i = 0; i < rules.index.length; i++) {
4291
- this.insertRule(rules.index[i], i, nativeParent);
4292
- }
4293
- }
4294
- /**
4295
- * Insert a rule into element.
4296
- */
4297
- ;
4298
-
4299
- _proto.insertRule = function insertRule(rule, index, nativeParent) {
4300
- if (nativeParent === void 0) {
4301
- nativeParent = this.element.sheet;
4302
- }
4303
-
4304
- if (rule.rules) {
4305
- var parent = rule;
4306
- var latestNativeParent = nativeParent;
4307
-
4308
- if (rule.type === 'conditional' || rule.type === 'keyframes') {
4309
- // We need to render the container without children first.
4310
- latestNativeParent = _insertRule(nativeParent, parent.toString({
4311
- children: false
4312
- }), index);
4313
-
4314
- if (latestNativeParent === false) {
4315
- return false;
4316
- }
4317
- }
4318
-
4319
- this.insertRules(parent.rules, latestNativeParent);
4320
- return latestNativeParent;
4321
- } // IE keeps the CSSStyleSheet after style node has been reattached,
4322
- // so we need to check if the `renderable` reference the right style sheet and not
4323
- // rerender those rules.
4324
-
4325
-
4326
- if (rule.renderable && rule.renderable.parentStyleSheet === this.element.sheet) {
4327
- return rule.renderable;
4328
- }
4329
-
4330
- var ruleStr = rule.toString();
4331
- if (!ruleStr) return false;
4332
-
4333
- var nativeRule = _insertRule(nativeParent, ruleStr, index);
4334
-
4335
- if (nativeRule === false) {
4336
- return false;
4337
- }
4338
-
4339
- this.hasInsertedRules = true;
4340
- rule.renderable = nativeRule;
4341
- return nativeRule;
4342
- }
4343
- /**
4344
- * Delete a rule.
4345
- */
4346
- ;
4347
-
4348
- _proto.deleteRule = function deleteRule(cssRule) {
4349
- var sheet = this.element.sheet;
4350
- var index = this.indexOf(cssRule);
4351
- if (index === -1) return false;
4352
- sheet.deleteRule(index);
4353
- return true;
4354
- }
4355
- /**
4356
- * Get index of a CSS Rule.
4357
- */
4358
- ;
4359
-
4360
- _proto.indexOf = function indexOf(cssRule) {
4361
- var cssRules = this.element.sheet.cssRules;
4362
-
4363
- for (var index = 0; index < cssRules.length; index++) {
4364
- if (cssRule === cssRules[index]) return index;
4365
- }
4366
-
4367
- return -1;
4368
- }
4369
- /**
4370
- * Generate a new CSS rule and replace the existing one.
4371
- *
4372
- * Only used for some old browsers because they can't set a selector.
4373
- */
4374
- ;
4375
-
4376
- _proto.replaceRule = function replaceRule(cssRule, rule) {
4377
- var index = this.indexOf(cssRule);
4378
- if (index === -1) return false;
4379
- this.element.sheet.deleteRule(index);
4380
- return this.insertRule(rule, index);
4381
- }
4382
- /**
4383
- * Get all rules elements.
4384
- */
4385
- ;
4386
-
4387
- _proto.getRules = function getRules() {
4388
- return this.element.sheet.cssRules;
4389
- };
4390
-
4391
- return DomRenderer;
4392
- }();
4393
-
4394
- var instanceCounter = 0;
4395
-
4396
- var Jss =
4397
- /*#__PURE__*/
4398
- function () {
4399
- function Jss(options) {
4400
- this.id = instanceCounter++;
4401
- this.version = "10.3.0";
4402
- this.plugins = new PluginsRegistry();
4403
- this.options = {
4404
- id: {
4405
- minify: false
4406
- },
4407
- createGenerateId: createGenerateId,
4408
- Renderer: __WEBPACK_IMPORTED_MODULE_1_is_in_browser__["a" /* default */] ? DomRenderer : null,
4409
- plugins: []
4410
- };
4411
- this.generateId = createGenerateId({
4412
- minify: false
4413
- });
4414
-
4415
- for (var i = 0; i < plugins.length; i++) {
4416
- this.plugins.use(plugins[i], {
4417
- queue: 'internal'
4418
- });
4419
- }
4420
-
4421
- this.setup(options);
4422
- }
4423
- /**
4424
- * Prepares various options, applies plugins.
4425
- * Should not be used twice on the same instance, because there is no plugins
4426
- * deduplication logic.
4427
- */
4428
-
4429
-
4430
- var _proto = Jss.prototype;
4431
-
4432
- _proto.setup = function setup(options) {
4433
- if (options === void 0) {
4434
- options = {};
4435
- }
4436
-
4437
- if (options.createGenerateId) {
4438
- this.options.createGenerateId = options.createGenerateId;
4439
- }
4440
-
4441
- if (options.id) {
4442
- this.options.id = Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({}, this.options.id, options.id);
4443
- }
4444
-
4445
- if (options.createGenerateId || options.id) {
4446
- this.generateId = this.options.createGenerateId(this.options.id);
4447
- }
4448
-
4449
- if (options.insertionPoint != null) this.options.insertionPoint = options.insertionPoint;
4450
-
4451
- if ('Renderer' in options) {
4452
- this.options.Renderer = options.Renderer;
4453
- } // eslint-disable-next-line prefer-spread
4454
-
4455
-
4456
- if (options.plugins) this.use.apply(this, options.plugins);
4457
- return this;
4458
- }
4459
- /**
4460
- * Create a Style Sheet.
4461
- */
4462
- ;
4463
-
4464
- _proto.createStyleSheet = function createStyleSheet(styles, options) {
4465
- if (options === void 0) {
4466
- options = {};
4467
- }
4468
-
4469
- var _options = options,
4470
- index = _options.index;
4471
-
4472
- if (typeof index !== 'number') {
4473
- index = sheets.index === 0 ? 0 : sheets.index + 1;
4474
- }
4475
-
4476
- var sheet = new StyleSheet(styles, Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({}, options, {
4477
- jss: this,
4478
- generateId: options.generateId || this.generateId,
4479
- insertionPoint: this.options.insertionPoint,
4480
- Renderer: this.options.Renderer,
4481
- index: index
4482
- }));
4483
- this.plugins.onProcessSheet(sheet);
4484
- return sheet;
4485
- }
4486
- /**
4487
- * Detach the Style Sheet and remove it from the registry.
4488
- */
4489
- ;
4490
-
4491
- _proto.removeStyleSheet = function removeStyleSheet(sheet) {
4492
- sheet.detach();
4493
- sheets.remove(sheet);
4494
- return this;
4495
- }
4496
- /**
4497
- * Create a rule without a Style Sheet.
4498
- * [Deprecated] will be removed in the next major version.
4499
- */
4500
- ;
4501
-
4502
- _proto.createRule = function createRule$1(name, style, options) {
4503
- if (style === void 0) {
4504
- style = {};
4505
- }
4506
-
4507
- if (options === void 0) {
4508
- options = {};
4509
- }
4510
-
4511
- // Enable rule without name for inline styles.
4512
- if (typeof name === 'object') {
4513
- return this.createRule(undefined, name, style);
4514
- }
4515
-
4516
- var ruleOptions = Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({}, options, {
4517
- name: name,
4518
- jss: this,
4519
- Renderer: this.options.Renderer
4520
- });
4521
-
4522
- if (!ruleOptions.generateId) ruleOptions.generateId = this.generateId;
4523
- if (!ruleOptions.classes) ruleOptions.classes = {};
4524
- if (!ruleOptions.keyframes) ruleOptions.keyframes = {};
4525
-
4526
- var rule = createRule(name, style, ruleOptions);
4527
-
4528
- if (rule) this.plugins.onProcessRule(rule);
4529
- return rule;
4530
- }
4531
- /**
4532
- * Register plugin. Passed function will be invoked with a rule instance.
4533
- */
4534
- ;
4535
-
4536
- _proto.use = function use() {
4537
- var _this = this;
4538
-
4539
- for (var _len = arguments.length, plugins = new Array(_len), _key = 0; _key < _len; _key++) {
4540
- plugins[_key] = arguments[_key];
4541
- }
4542
-
4543
- plugins.forEach(function (plugin) {
4544
- _this.plugins.use(plugin);
4545
- });
4546
- return this;
4547
- };
4548
-
4549
- return Jss;
4550
- }();
4551
-
4552
- /**
4553
- * Extracts a styles object with only props that contain function values.
4554
- */
4555
- function getDynamicStyles(styles) {
4556
- var to = null;
4557
-
4558
- for (var key in styles) {
4559
- var value = styles[key];
4560
- var type = typeof value;
4561
-
4562
- if (type === 'function') {
4563
- if (!to) to = {};
4564
- to[key] = value;
4565
- } else if (type === 'object' && value !== null && !Array.isArray(value)) {
4566
- var extracted = getDynamicStyles(value);
4567
-
4568
- if (extracted) {
4569
- if (!to) to = {};
4570
- to[key] = extracted;
4571
- }
4572
- }
4573
- }
4574
-
4575
- return to;
4576
- }
4577
-
4578
- /**
4579
- * SheetsManager is like a WeakMap which is designed to count StyleSheet
4580
- * instances and attach/detach automatically.
4581
- */
4582
- var SheetsManager =
4583
- /*#__PURE__*/
4584
- function () {
4585
- function SheetsManager() {
4586
- this.length = 0;
4587
- this.sheets = new WeakMap();
4588
- }
4589
-
4590
- var _proto = SheetsManager.prototype;
4591
-
4592
- _proto.get = function get(key) {
4593
- var entry = this.sheets.get(key);
4594
- return entry && entry.sheet;
4595
- };
4596
-
4597
- _proto.add = function add(key, sheet) {
4598
- if (this.sheets.has(key)) return;
4599
- this.length++;
4600
- this.sheets.set(key, {
4601
- sheet: sheet,
4602
- refs: 0
4603
- });
4604
- };
4605
-
4606
- _proto.manage = function manage(key) {
4607
- var entry = this.sheets.get(key);
4608
-
4609
- if (entry) {
4610
- if (entry.refs === 0) {
4611
- entry.sheet.attach();
4612
- }
4613
-
4614
- entry.refs++;
4615
- return entry.sheet;
4616
- }
4617
-
4618
- Object(__WEBPACK_IMPORTED_MODULE_2_tiny_warning__["a" /* default */])(false, "[JSS] SheetsManager: can't find sheet to manage");
4619
- return undefined;
4620
- };
4621
-
4622
- _proto.unmanage = function unmanage(key) {
4623
- var entry = this.sheets.get(key);
4624
-
4625
- if (entry) {
4626
- if (entry.refs > 0) {
4627
- entry.refs--;
4628
- if (entry.refs === 0) entry.sheet.detach();
4629
- }
4630
- } else {
4631
- Object(__WEBPACK_IMPORTED_MODULE_2_tiny_warning__["a" /* default */])(false, "SheetsManager: can't find sheet to unmanage");
4632
- }
4633
- };
4634
-
4635
- Object(__WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_esm_createClass__["a" /* default */])(SheetsManager, [{
4636
- key: "size",
4637
- get: function get() {
4638
- return this.length;
4639
- }
4640
- }]);
4641
-
4642
- return SheetsManager;
4643
- }();
4644
-
4645
- /**
4646
- * A better abstraction over CSS.
4647
- *
4648
- * @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
4649
- * @website https://github.com/cssinjs/jss
4650
- * @license MIT
4651
- */
4652
-
4653
- /**
4654
- * Export a constant indicating if this browser has CSSTOM support.
4655
- * https://developers.google.com/web/updates/2018/03/cssom
4656
- */
4657
- var hasCSSTOMSupport = typeof CSS !== 'undefined' && CSS && 'number' in CSS;
4658
- /**
4659
- * Creates a new instance of Jss.
4660
- */
4661
-
4662
- var create = function create(options) {
4663
- return new Jss(options);
4664
- };
4665
- /**
4666
- * A global Jss instance.
4667
- */
4668
-
4669
- var index = create();
4670
-
4671
- /* unused harmony default export */ var _unused_webpack_default_export = (index);
4672
-
4673
-
4674
- /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
4675
-
4676
- /***/ }),
4677
- /* 47 */
4678
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
4679
-
4680
- "use strict";
4681
- /* harmony export (immutable) */ __webpack_exports__["a"] = debounce;
4682
- // Corresponds to 10 frames at 60 Hz.
4683
- // A few bytes payload overhead when lodash/debounce is ~3 kB and debounce ~300 B.
4684
- function debounce(func) {
4685
- var wait = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 166;
4686
- var timeout;
4687
-
4688
- function debounced() {
4689
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
4690
- args[_key] = arguments[_key];
4691
- }
4692
-
4693
- // eslint-disable-next-line consistent-this
4694
- var that = this;
4695
-
4696
- var later = function later() {
4697
- func.apply(that, args);
4698
- };
4699
-
4700
- clearTimeout(timeout);
4701
- timeout = setTimeout(later, wait);
4702
- }
4703
-
4704
- debounced.clear = function () {
4705
- clearTimeout(timeout);
4706
- };
4707
-
4708
- return debounced;
4709
- }
4710
-
4711
- /***/ }),
4712
- /* 48 */
4713
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
4714
-
4715
- "use strict";
4716
- /* harmony export (immutable) */ __webpack_exports__["a"] = setRef;
4717
- // TODO v5: consider to make it private
4718
- function setRef(ref, value) {
4719
- if (typeof ref === 'function') {
4720
- ref(value);
4721
- } else if (ref) {
4722
- ref.current = value;
4723
- }
4724
- }
4725
-
4726
- /***/ }),
4727
- /* 49 */
4728
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
4729
-
4730
- "use strict";
4731
- /* harmony export (immutable) */ __webpack_exports__["a"] = useFormControl;
4732
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
4733
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
4734
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__FormControlContext__ = __webpack_require__(91);
4735
-
4736
-
4737
- function useFormControl() {
4738
- return __WEBPACK_IMPORTED_MODULE_0_react__["useContext"](__WEBPACK_IMPORTED_MODULE_1__FormControlContext__["a" /* default */]);
4739
- }
4740
-
4741
- /***/ }),
4742
- /* 50 */
4743
- /***/ (function(module, exports, __webpack_require__) {
4744
-
4745
- var Symbol = __webpack_require__(73),
4746
- getRawTag = __webpack_require__(727),
4747
- objectToString = __webpack_require__(728);
4748
-
4749
- /** `Object#toString` result references. */
4750
- var nullTag = '[object Null]',
4751
- undefinedTag = '[object Undefined]';
4752
-
4753
- /** Built-in value references. */
4754
- var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
4755
-
4756
- /**
4757
- * The base implementation of `getTag` without fallbacks for buggy environments.
4758
- *
4759
- * @private
4760
- * @param {*} value The value to query.
4761
- * @returns {string} Returns the `toStringTag`.
4762
- */
4763
- function baseGetTag(value) {
4764
- if (value == null) {
4765
- return value === undefined ? undefinedTag : nullTag;
4766
- }
4767
- return (symToStringTag && symToStringTag in Object(value))
4768
- ? getRawTag(value)
4769
- : objectToString(value);
4770
- }
4771
-
4772
- module.exports = baseGetTag;
4773
-
4774
-
4775
- /***/ }),
4776
- /* 51 */
4777
- /***/ (function(module, exports, __webpack_require__) {
4778
-
4779
- var baseIsNative = __webpack_require__(749),
4780
- getValue = __webpack_require__(752);
4781
-
4782
- /**
4783
- * Gets the native function at `key` of `object`.
4784
- *
4785
- * @private
4786
- * @param {Object} object The object to query.
4787
- * @param {string} key The key of the method to get.
4788
- * @returns {*} Returns the function if it's native, else `undefined`.
4789
- */
4790
- function getNative(object, key) {
4791
- var value = getValue(object, key);
4792
- return baseIsNative(value) ? value : undefined;
4793
- }
4794
-
4795
- module.exports = getNative;
4796
-
4797
-
4798
- /***/ }),
4799
- /* 52 */
4800
- /***/ (function(module, exports, __webpack_require__) {
4801
-
4802
- "use strict";
4803
- /*
4804
- object-assign
4805
- (c) Sindre Sorhus
4806
- @license MIT
4807
- */
4808
-
4809
-
4810
- /* eslint-disable no-unused-vars */
4811
- var getOwnPropertySymbols = Object.getOwnPropertySymbols;
4812
- var hasOwnProperty = Object.prototype.hasOwnProperty;
4813
- var propIsEnumerable = Object.prototype.propertyIsEnumerable;
4814
-
4815
- function toObject(val) {
4816
- if (val === null || val === undefined) {
4817
- throw new TypeError('Object.assign cannot be called with null or undefined');
4818
- }
4819
-
4820
- return Object(val);
4821
- }
4822
-
4823
- function shouldUseNative() {
4824
- try {
4825
- if (!Object.assign) {
4826
- return false;
4827
- }
4828
-
4829
- // Detect buggy property enumeration order in older V8 versions.
4830
-
4831
- // https://bugs.chromium.org/p/v8/issues/detail?id=4118
4832
- var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
4833
- test1[5] = 'de';
4834
- if (Object.getOwnPropertyNames(test1)[0] === '5') {
4835
- return false;
4836
- }
4837
-
4838
- // https://bugs.chromium.org/p/v8/issues/detail?id=3056
4839
- var test2 = {};
4840
- for (var i = 0; i < 10; i++) {
4841
- test2['_' + String.fromCharCode(i)] = i;
4842
- }
4843
- var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
4844
- return test2[n];
4845
- });
4846
- if (order2.join('') !== '0123456789') {
4847
- return false;
4848
- }
4849
-
4850
- // https://bugs.chromium.org/p/v8/issues/detail?id=3056
4851
- var test3 = {};
4852
- 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
4853
- test3[letter] = letter;
4854
- });
4855
- if (Object.keys(Object.assign({}, test3)).join('') !==
4856
- 'abcdefghijklmnopqrst') {
4857
- return false;
4858
- }
4859
-
4860
- return true;
4861
- } catch (err) {
4862
- // We don't expect any of the above to throw, but better to be safe.
4863
- return false;
4864
- }
4865
- }
4866
-
4867
- module.exports = shouldUseNative() ? Object.assign : function (target, source) {
4868
- var from;
4869
- var to = toObject(target);
4870
- var symbols;
4871
-
4872
- for (var s = 1; s < arguments.length; s++) {
4873
- from = Object(arguments[s]);
4874
-
4875
- for (var key in from) {
4876
- if (hasOwnProperty.call(from, key)) {
4877
- to[key] = from[key];
4878
- }
4879
- }
4880
-
4881
- if (getOwnPropertySymbols) {
4882
- symbols = getOwnPropertySymbols(from);
4883
- for (var i = 0; i < symbols.length; i++) {
4884
- if (propIsEnumerable.call(from, symbols[i])) {
4885
- to[symbols[i]] = from[symbols[i]];
4886
- }
4887
- }
4888
- }
4889
- }
4890
-
4891
- return to;
4892
- };
4893
-
4894
-
4895
- /***/ }),
4896
- /* 53 */
4897
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
4898
-
4899
- "use strict";
4900
- /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return createBrowserHistory; });
4901
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return createHashHistory; });
4902
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return createMemoryHistory; });
4903
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return createLocation; });
4904
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return locationsAreEqual; });
4905
- /* unused harmony export parsePath */
4906
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return createPath; });
4907
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
4908
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_resolve_pathname__ = __webpack_require__(403);
4909
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_value_equal__ = __webpack_require__(404);
4910
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_tiny_warning__ = __webpack_require__(77);
4911
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_tiny_invariant__ = __webpack_require__(405);
4912
-
4913
-
4914
-
4915
-
4916
-
4917
-
4918
- function addLeadingSlash(path) {
4919
- return path.charAt(0) === '/' ? path : '/' + path;
4920
- }
4921
- function stripLeadingSlash(path) {
4922
- return path.charAt(0) === '/' ? path.substr(1) : path;
4923
- }
4924
- function hasBasename(path, prefix) {
4925
- return path.toLowerCase().indexOf(prefix.toLowerCase()) === 0 && '/?#'.indexOf(path.charAt(prefix.length)) !== -1;
4926
- }
4927
- function stripBasename(path, prefix) {
4928
- return hasBasename(path, prefix) ? path.substr(prefix.length) : path;
4929
- }
4930
- function stripTrailingSlash(path) {
4931
- return path.charAt(path.length - 1) === '/' ? path.slice(0, -1) : path;
4932
- }
4933
- function parsePath(path) {
4934
- var pathname = path || '/';
4935
- var search = '';
4936
- var hash = '';
4937
- var hashIndex = pathname.indexOf('#');
4938
-
4939
- if (hashIndex !== -1) {
4940
- hash = pathname.substr(hashIndex);
4941
- pathname = pathname.substr(0, hashIndex);
4942
- }
4943
-
4944
- var searchIndex = pathname.indexOf('?');
4945
-
4946
- if (searchIndex !== -1) {
4947
- search = pathname.substr(searchIndex);
4948
- pathname = pathname.substr(0, searchIndex);
4949
- }
4950
-
4951
- return {
4952
- pathname: pathname,
4953
- search: search === '?' ? '' : search,
4954
- hash: hash === '#' ? '' : hash
4955
- };
4956
- }
4957
- function createPath(location) {
4958
- var pathname = location.pathname,
4959
- search = location.search,
4960
- hash = location.hash;
4961
- var path = pathname || '/';
4962
- if (search && search !== '?') path += search.charAt(0) === '?' ? search : "?" + search;
4963
- if (hash && hash !== '#') path += hash.charAt(0) === '#' ? hash : "#" + hash;
4964
- return path;
4965
- }
4966
-
4967
- function createLocation(path, state, key, currentLocation) {
4968
- var location;
4969
-
4970
- if (typeof path === 'string') {
4971
- // Two-arg form: push(path, state)
4972
- location = parsePath(path);
4973
- location.state = state;
4974
- } else {
4975
- // One-arg form: push(location)
4976
- location = Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({}, path);
4977
- if (location.pathname === undefined) location.pathname = '';
4978
-
4979
- if (location.search) {
4980
- if (location.search.charAt(0) !== '?') location.search = '?' + location.search;
4981
- } else {
4982
- location.search = '';
4983
- }
4984
-
4985
- if (location.hash) {
4986
- if (location.hash.charAt(0) !== '#') location.hash = '#' + location.hash;
4987
- } else {
4988
- location.hash = '';
4989
- }
4990
-
4991
- if (state !== undefined && location.state === undefined) location.state = state;
4992
- }
4993
-
4994
- try {
4995
- location.pathname = decodeURI(location.pathname);
4996
- } catch (e) {
4997
- if (e instanceof URIError) {
4998
- throw new URIError('Pathname "' + location.pathname + '" could not be decoded. ' + 'This is likely caused by an invalid percent-encoding.');
4999
- } else {
5000
- throw e;
5001
- }
5002
- }
5003
-
5004
- if (key) location.key = key;
5005
-
5006
- if (currentLocation) {
5007
- // Resolve incomplete/relative pathname relative to current location.
5008
- if (!location.pathname) {
5009
- location.pathname = currentLocation.pathname;
5010
- } else if (location.pathname.charAt(0) !== '/') {
5011
- location.pathname = Object(__WEBPACK_IMPORTED_MODULE_1_resolve_pathname__["a" /* default */])(location.pathname, currentLocation.pathname);
5012
- }
5013
- } else {
5014
- // When there is no prior location and pathname is empty, set it to /
5015
- if (!location.pathname) {
5016
- location.pathname = '/';
5017
- }
5018
- }
5019
-
5020
- return location;
5021
- }
5022
- function locationsAreEqual(a, b) {
5023
- return a.pathname === b.pathname && a.search === b.search && a.hash === b.hash && a.key === b.key && Object(__WEBPACK_IMPORTED_MODULE_2_value_equal__["a" /* default */])(a.state, b.state);
5024
- }
5025
-
5026
- function createTransitionManager() {
5027
- var prompt = null;
5028
-
5029
- function setPrompt(nextPrompt) {
5030
- process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(prompt == null, 'A history supports only one prompt at a time') : void 0;
5031
- prompt = nextPrompt;
5032
- return function () {
5033
- if (prompt === nextPrompt) prompt = null;
5034
- };
5035
- }
5036
-
5037
- function confirmTransitionTo(location, action, getUserConfirmation, callback) {
5038
- // TODO: If another transition starts while we're still confirming
5039
- // the previous one, we may end up in a weird state. Figure out the
5040
- // best way to handle this.
5041
- if (prompt != null) {
5042
- var result = typeof prompt === 'function' ? prompt(location, action) : prompt;
5043
-
5044
- if (typeof result === 'string') {
5045
- if (typeof getUserConfirmation === 'function') {
5046
- getUserConfirmation(result, callback);
5047
- } else {
5048
- process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(false, 'A history needs a getUserConfirmation function in order to use a prompt message') : void 0;
5049
- callback(true);
5050
- }
5051
- } else {
5052
- // Return false from a transition hook to cancel the transition.
5053
- callback(result !== false);
5054
- }
5055
- } else {
5056
- callback(true);
5057
- }
5058
- }
5059
-
5060
- var listeners = [];
5061
-
5062
- function appendListener(fn) {
5063
- var isActive = true;
5064
-
5065
- function listener() {
5066
- if (isActive) fn.apply(void 0, arguments);
5067
- }
5068
-
5069
- listeners.push(listener);
5070
- return function () {
5071
- isActive = false;
5072
- listeners = listeners.filter(function (item) {
5073
- return item !== listener;
5074
- });
5075
- };
5076
- }
5077
-
5078
- function notifyListeners() {
5079
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
5080
- args[_key] = arguments[_key];
5081
- }
5082
-
5083
- listeners.forEach(function (listener) {
5084
- return listener.apply(void 0, args);
5085
- });
5086
- }
5087
-
5088
- return {
5089
- setPrompt: setPrompt,
5090
- confirmTransitionTo: confirmTransitionTo,
5091
- appendListener: appendListener,
5092
- notifyListeners: notifyListeners
5093
- };
5094
- }
5095
-
5096
- var canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);
5097
- function getConfirmation(message, callback) {
5098
- callback(window.confirm(message)); // eslint-disable-line no-alert
5099
- }
5100
- /**
5101
- * Returns true if the HTML5 history API is supported. Taken from Modernizr.
5102
- *
5103
- * https://github.com/Modernizr/Modernizr/blob/master/LICENSE
5104
- * https://github.com/Modernizr/Modernizr/blob/master/feature-detects/history.js
5105
- * changed to avoid false negatives for Windows Phones: https://github.com/reactjs/react-router/issues/586
5106
- */
5107
-
5108
- function supportsHistory() {
5109
- var ua = window.navigator.userAgent;
5110
- if ((ua.indexOf('Android 2.') !== -1 || ua.indexOf('Android 4.0') !== -1) && ua.indexOf('Mobile Safari') !== -1 && ua.indexOf('Chrome') === -1 && ua.indexOf('Windows Phone') === -1) return false;
5111
- return window.history && 'pushState' in window.history;
5112
- }
5113
- /**
5114
- * Returns true if browser fires popstate on hash change.
5115
- * IE10 and IE11 do not.
5116
- */
5117
-
5118
- function supportsPopStateOnHashChange() {
5119
- return window.navigator.userAgent.indexOf('Trident') === -1;
5120
- }
5121
- /**
5122
- * Returns false if using go(n) with hash history causes a full page reload.
5123
- */
5124
-
5125
- function supportsGoWithoutReloadUsingHash() {
5126
- return window.navigator.userAgent.indexOf('Firefox') === -1;
5127
- }
5128
- /**
5129
- * Returns true if a given popstate event is an extraneous WebKit event.
5130
- * Accounts for the fact that Chrome on iOS fires real popstate events
5131
- * containing undefined state when pressing the back button.
5132
- */
5133
-
5134
- function isExtraneousPopstateEvent(event) {
5135
- return event.state === undefined && navigator.userAgent.indexOf('CriOS') === -1;
5136
- }
5137
-
5138
- var PopStateEvent = 'popstate';
5139
- var HashChangeEvent = 'hashchange';
5140
-
5141
- function getHistoryState() {
5142
- try {
5143
- return window.history.state || {};
5144
- } catch (e) {
5145
- // IE 11 sometimes throws when accessing window.history.state
5146
- // See https://github.com/ReactTraining/history/pull/289
5147
- return {};
5148
- }
5149
- }
5150
- /**
5151
- * Creates a history object that uses the HTML5 history API including
5152
- * pushState, replaceState, and the popstate event.
5153
- */
5154
-
5155
-
5156
- function createBrowserHistory(props) {
5157
- if (props === void 0) {
5158
- props = {};
5159
- }
5160
-
5161
- !canUseDOM ? process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_4_tiny_invariant__["a" /* default */])(false, 'Browser history needs a DOM') : Object(__WEBPACK_IMPORTED_MODULE_4_tiny_invariant__["a" /* default */])(false) : void 0;
5162
- var globalHistory = window.history;
5163
- var canUseHistory = supportsHistory();
5164
- var needsHashChangeListener = !supportsPopStateOnHashChange();
5165
- var _props = props,
5166
- _props$forceRefresh = _props.forceRefresh,
5167
- forceRefresh = _props$forceRefresh === void 0 ? false : _props$forceRefresh,
5168
- _props$getUserConfirm = _props.getUserConfirmation,
5169
- getUserConfirmation = _props$getUserConfirm === void 0 ? getConfirmation : _props$getUserConfirm,
5170
- _props$keyLength = _props.keyLength,
5171
- keyLength = _props$keyLength === void 0 ? 6 : _props$keyLength;
5172
- var basename = props.basename ? stripTrailingSlash(addLeadingSlash(props.basename)) : '';
5173
-
5174
- function getDOMLocation(historyState) {
5175
- var _ref = historyState || {},
5176
- key = _ref.key,
5177
- state = _ref.state;
5178
-
5179
- var _window$location = window.location,
5180
- pathname = _window$location.pathname,
5181
- search = _window$location.search,
5182
- hash = _window$location.hash;
5183
- var path = pathname + search + hash;
5184
- process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(!basename || hasBasename(path, basename), 'You are attempting to use a basename on a page whose URL path does not begin ' + 'with the basename. Expected path "' + path + '" to begin with "' + basename + '".') : void 0;
5185
- if (basename) path = stripBasename(path, basename);
5186
- return createLocation(path, state, key);
5187
- }
5188
-
5189
- function createKey() {
5190
- return Math.random().toString(36).substr(2, keyLength);
5191
- }
5192
-
5193
- var transitionManager = createTransitionManager();
5194
-
5195
- function setState(nextState) {
5196
- Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])(history, nextState);
5197
-
5198
- history.length = globalHistory.length;
5199
- transitionManager.notifyListeners(history.location, history.action);
5200
- }
5201
-
5202
- function handlePopState(event) {
5203
- // Ignore extraneous popstate events in WebKit.
5204
- if (isExtraneousPopstateEvent(event)) return;
5205
- handlePop(getDOMLocation(event.state));
5206
- }
5207
-
5208
- function handleHashChange() {
5209
- handlePop(getDOMLocation(getHistoryState()));
5210
- }
5211
-
5212
- var forceNextPop = false;
5213
-
5214
- function handlePop(location) {
5215
- if (forceNextPop) {
5216
- forceNextPop = false;
5217
- setState();
5218
- } else {
5219
- var action = 'POP';
5220
- transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
5221
- if (ok) {
5222
- setState({
5223
- action: action,
5224
- location: location
5225
- });
5226
- } else {
5227
- revertPop(location);
5228
- }
5229
- });
5230
- }
5231
- }
5232
-
5233
- function revertPop(fromLocation) {
5234
- var toLocation = history.location; // TODO: We could probably make this more reliable by
5235
- // keeping a list of keys we've seen in sessionStorage.
5236
- // Instead, we just default to 0 for keys we don't know.
5237
-
5238
- var toIndex = allKeys.indexOf(toLocation.key);
5239
- if (toIndex === -1) toIndex = 0;
5240
- var fromIndex = allKeys.indexOf(fromLocation.key);
5241
- if (fromIndex === -1) fromIndex = 0;
5242
- var delta = toIndex - fromIndex;
5243
-
5244
- if (delta) {
5245
- forceNextPop = true;
5246
- go(delta);
5247
- }
5248
- }
5249
-
5250
- var initialLocation = getDOMLocation(getHistoryState());
5251
- var allKeys = [initialLocation.key]; // Public interface
5252
-
5253
- function createHref(location) {
5254
- return basename + createPath(location);
5255
- }
5256
-
5257
- function push(path, state) {
5258
- process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to push when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;
5259
- var action = 'PUSH';
5260
- var location = createLocation(path, state, createKey(), history.location);
5261
- transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
5262
- if (!ok) return;
5263
- var href = createHref(location);
5264
- var key = location.key,
5265
- state = location.state;
5266
-
5267
- if (canUseHistory) {
5268
- globalHistory.pushState({
5269
- key: key,
5270
- state: state
5271
- }, null, href);
5272
-
5273
- if (forceRefresh) {
5274
- window.location.href = href;
5275
- } else {
5276
- var prevIndex = allKeys.indexOf(history.location.key);
5277
- var nextKeys = allKeys.slice(0, prevIndex + 1);
5278
- nextKeys.push(location.key);
5279
- allKeys = nextKeys;
5280
- setState({
5281
- action: action,
5282
- location: location
5283
- });
5284
- }
5285
- } else {
5286
- process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(state === undefined, 'Browser history cannot push state in browsers that do not support HTML5 history') : void 0;
5287
- window.location.href = href;
5288
- }
5289
- });
5290
- }
5291
-
5292
- function replace(path, state) {
5293
- process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to replace when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;
5294
- var action = 'REPLACE';
5295
- var location = createLocation(path, state, createKey(), history.location);
5296
- transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
5297
- if (!ok) return;
5298
- var href = createHref(location);
5299
- var key = location.key,
5300
- state = location.state;
5301
-
5302
- if (canUseHistory) {
5303
- globalHistory.replaceState({
5304
- key: key,
5305
- state: state
5306
- }, null, href);
5307
-
5308
- if (forceRefresh) {
5309
- window.location.replace(href);
5310
- } else {
5311
- var prevIndex = allKeys.indexOf(history.location.key);
5312
- if (prevIndex !== -1) allKeys[prevIndex] = location.key;
5313
- setState({
5314
- action: action,
5315
- location: location
5316
- });
5317
- }
5318
- } else {
5319
- process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(state === undefined, 'Browser history cannot replace state in browsers that do not support HTML5 history') : void 0;
5320
- window.location.replace(href);
5321
- }
5322
- });
5323
- }
5324
-
5325
- function go(n) {
5326
- globalHistory.go(n);
5327
- }
5328
-
5329
- function goBack() {
5330
- go(-1);
5331
- }
5332
-
5333
- function goForward() {
5334
- go(1);
5335
- }
5336
-
5337
- var listenerCount = 0;
5338
-
5339
- function checkDOMListeners(delta) {
5340
- listenerCount += delta;
5341
-
5342
- if (listenerCount === 1 && delta === 1) {
5343
- window.addEventListener(PopStateEvent, handlePopState);
5344
- if (needsHashChangeListener) window.addEventListener(HashChangeEvent, handleHashChange);
5345
- } else if (listenerCount === 0) {
5346
- window.removeEventListener(PopStateEvent, handlePopState);
5347
- if (needsHashChangeListener) window.removeEventListener(HashChangeEvent, handleHashChange);
5348
- }
5349
- }
5350
-
5351
- var isBlocked = false;
5352
-
5353
- function block(prompt) {
5354
- if (prompt === void 0) {
5355
- prompt = false;
5356
- }
5357
-
5358
- var unblock = transitionManager.setPrompt(prompt);
5359
-
5360
- if (!isBlocked) {
5361
- checkDOMListeners(1);
5362
- isBlocked = true;
5363
- }
5364
-
5365
- return function () {
5366
- if (isBlocked) {
5367
- isBlocked = false;
5368
- checkDOMListeners(-1);
5369
- }
5370
-
5371
- return unblock();
5372
- };
5373
- }
5374
-
5375
- function listen(listener) {
5376
- var unlisten = transitionManager.appendListener(listener);
5377
- checkDOMListeners(1);
5378
- return function () {
5379
- checkDOMListeners(-1);
5380
- unlisten();
5381
- };
5382
- }
5383
-
5384
- var history = {
5385
- length: globalHistory.length,
5386
- action: 'POP',
5387
- location: initialLocation,
5388
- createHref: createHref,
5389
- push: push,
5390
- replace: replace,
5391
- go: go,
5392
- goBack: goBack,
5393
- goForward: goForward,
5394
- block: block,
5395
- listen: listen
5396
- };
5397
- return history;
5398
- }
5399
-
5400
- var HashChangeEvent$1 = 'hashchange';
5401
- var HashPathCoders = {
5402
- hashbang: {
5403
- encodePath: function encodePath(path) {
5404
- return path.charAt(0) === '!' ? path : '!/' + stripLeadingSlash(path);
5405
- },
5406
- decodePath: function decodePath(path) {
5407
- return path.charAt(0) === '!' ? path.substr(1) : path;
5408
- }
5409
- },
5410
- noslash: {
5411
- encodePath: stripLeadingSlash,
5412
- decodePath: addLeadingSlash
5413
- },
5414
- slash: {
5415
- encodePath: addLeadingSlash,
5416
- decodePath: addLeadingSlash
5417
- }
5418
- };
5419
-
5420
- function stripHash(url) {
5421
- var hashIndex = url.indexOf('#');
5422
- return hashIndex === -1 ? url : url.slice(0, hashIndex);
5423
- }
5424
-
5425
- function getHashPath() {
5426
- // We can't use window.location.hash here because it's not
5427
- // consistent across browsers - Firefox will pre-decode it!
5428
- var href = window.location.href;
5429
- var hashIndex = href.indexOf('#');
5430
- return hashIndex === -1 ? '' : href.substring(hashIndex + 1);
5431
- }
5432
-
5433
- function pushHashPath(path) {
5434
- window.location.hash = path;
5435
- }
5436
-
5437
- function replaceHashPath(path) {
5438
- window.location.replace(stripHash(window.location.href) + '#' + path);
5439
- }
5440
-
5441
- function createHashHistory(props) {
5442
- if (props === void 0) {
5443
- props = {};
5444
- }
5445
-
5446
- !canUseDOM ? process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_4_tiny_invariant__["a" /* default */])(false, 'Hash history needs a DOM') : Object(__WEBPACK_IMPORTED_MODULE_4_tiny_invariant__["a" /* default */])(false) : void 0;
5447
- var globalHistory = window.history;
5448
- var canGoWithoutReload = supportsGoWithoutReloadUsingHash();
5449
- var _props = props,
5450
- _props$getUserConfirm = _props.getUserConfirmation,
5451
- getUserConfirmation = _props$getUserConfirm === void 0 ? getConfirmation : _props$getUserConfirm,
5452
- _props$hashType = _props.hashType,
5453
- hashType = _props$hashType === void 0 ? 'slash' : _props$hashType;
5454
- var basename = props.basename ? stripTrailingSlash(addLeadingSlash(props.basename)) : '';
5455
- var _HashPathCoders$hashT = HashPathCoders[hashType],
5456
- encodePath = _HashPathCoders$hashT.encodePath,
5457
- decodePath = _HashPathCoders$hashT.decodePath;
5458
-
5459
- function getDOMLocation() {
5460
- var path = decodePath(getHashPath());
5461
- process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(!basename || hasBasename(path, basename), 'You are attempting to use a basename on a page whose URL path does not begin ' + 'with the basename. Expected path "' + path + '" to begin with "' + basename + '".') : void 0;
5462
- if (basename) path = stripBasename(path, basename);
5463
- return createLocation(path);
5464
- }
5465
-
5466
- var transitionManager = createTransitionManager();
5467
-
5468
- function setState(nextState) {
5469
- Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])(history, nextState);
5470
-
5471
- history.length = globalHistory.length;
5472
- transitionManager.notifyListeners(history.location, history.action);
5473
- }
5474
-
5475
- var forceNextPop = false;
5476
- var ignorePath = null;
5477
-
5478
- function locationsAreEqual$$1(a, b) {
5479
- return a.pathname === b.pathname && a.search === b.search && a.hash === b.hash;
5480
- }
5481
-
5482
- function handleHashChange() {
5483
- var path = getHashPath();
5484
- var encodedPath = encodePath(path);
5485
-
5486
- if (path !== encodedPath) {
5487
- // Ensure we always have a properly-encoded hash.
5488
- replaceHashPath(encodedPath);
5489
- } else {
5490
- var location = getDOMLocation();
5491
- var prevLocation = history.location;
5492
- if (!forceNextPop && locationsAreEqual$$1(prevLocation, location)) return; // A hashchange doesn't always == location change.
5493
-
5494
- if (ignorePath === createPath(location)) return; // Ignore this change; we already setState in push/replace.
5495
-
5496
- ignorePath = null;
5497
- handlePop(location);
5498
- }
5499
- }
5500
-
5501
- function handlePop(location) {
5502
- if (forceNextPop) {
5503
- forceNextPop = false;
5504
- setState();
5505
- } else {
5506
- var action = 'POP';
5507
- transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
5508
- if (ok) {
5509
- setState({
5510
- action: action,
5511
- location: location
5512
- });
5513
- } else {
5514
- revertPop(location);
5515
- }
5516
- });
5517
- }
5518
- }
5519
-
5520
- function revertPop(fromLocation) {
5521
- var toLocation = history.location; // TODO: We could probably make this more reliable by
5522
- // keeping a list of paths we've seen in sessionStorage.
5523
- // Instead, we just default to 0 for paths we don't know.
5524
-
5525
- var toIndex = allPaths.lastIndexOf(createPath(toLocation));
5526
- if (toIndex === -1) toIndex = 0;
5527
- var fromIndex = allPaths.lastIndexOf(createPath(fromLocation));
5528
- if (fromIndex === -1) fromIndex = 0;
5529
- var delta = toIndex - fromIndex;
5530
-
5531
- if (delta) {
5532
- forceNextPop = true;
5533
- go(delta);
5534
- }
5535
- } // Ensure the hash is encoded properly before doing anything else.
5536
-
5537
-
5538
- var path = getHashPath();
5539
- var encodedPath = encodePath(path);
5540
- if (path !== encodedPath) replaceHashPath(encodedPath);
5541
- var initialLocation = getDOMLocation();
5542
- var allPaths = [createPath(initialLocation)]; // Public interface
5543
-
5544
- function createHref(location) {
5545
- var baseTag = document.querySelector('base');
5546
- var href = '';
5547
-
5548
- if (baseTag && baseTag.getAttribute('href')) {
5549
- href = stripHash(window.location.href);
5550
- }
5551
-
5552
- return href + '#' + encodePath(basename + createPath(location));
5553
- }
5554
-
5555
- function push(path, state) {
5556
- process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(state === undefined, 'Hash history cannot push state; it is ignored') : void 0;
5557
- var action = 'PUSH';
5558
- var location = createLocation(path, undefined, undefined, history.location);
5559
- transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
5560
- if (!ok) return;
5561
- var path = createPath(location);
5562
- var encodedPath = encodePath(basename + path);
5563
- var hashChanged = getHashPath() !== encodedPath;
5564
-
5565
- if (hashChanged) {
5566
- // We cannot tell if a hashchange was caused by a PUSH, so we'd
5567
- // rather setState here and ignore the hashchange. The caveat here
5568
- // is that other hash histories in the page will consider it a POP.
5569
- ignorePath = path;
5570
- pushHashPath(encodedPath);
5571
- var prevIndex = allPaths.lastIndexOf(createPath(history.location));
5572
- var nextPaths = allPaths.slice(0, prevIndex + 1);
5573
- nextPaths.push(path);
5574
- allPaths = nextPaths;
5575
- setState({
5576
- action: action,
5577
- location: location
5578
- });
5579
- } else {
5580
- process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(false, 'Hash history cannot PUSH the same path; a new entry will not be added to the history stack') : void 0;
5581
- setState();
5582
- }
5583
- });
5584
- }
5585
-
5586
- function replace(path, state) {
5587
- process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(state === undefined, 'Hash history cannot replace state; it is ignored') : void 0;
5588
- var action = 'REPLACE';
5589
- var location = createLocation(path, undefined, undefined, history.location);
5590
- transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
5591
- if (!ok) return;
5592
- var path = createPath(location);
5593
- var encodedPath = encodePath(basename + path);
5594
- var hashChanged = getHashPath() !== encodedPath;
5595
-
5596
- if (hashChanged) {
5597
- // We cannot tell if a hashchange was caused by a REPLACE, so we'd
5598
- // rather setState here and ignore the hashchange. The caveat here
5599
- // is that other hash histories in the page will consider it a POP.
5600
- ignorePath = path;
5601
- replaceHashPath(encodedPath);
5602
- }
5603
-
5604
- var prevIndex = allPaths.indexOf(createPath(history.location));
5605
- if (prevIndex !== -1) allPaths[prevIndex] = path;
5606
- setState({
5607
- action: action,
5608
- location: location
5609
- });
5610
- });
5611
- }
5612
-
5613
- function go(n) {
5614
- process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(canGoWithoutReload, 'Hash history go(n) causes a full page reload in this browser') : void 0;
5615
- globalHistory.go(n);
5616
- }
5617
-
5618
- function goBack() {
5619
- go(-1);
5620
- }
5621
-
5622
- function goForward() {
5623
- go(1);
5624
- }
5625
-
5626
- var listenerCount = 0;
5627
-
5628
- function checkDOMListeners(delta) {
5629
- listenerCount += delta;
5630
-
5631
- if (listenerCount === 1 && delta === 1) {
5632
- window.addEventListener(HashChangeEvent$1, handleHashChange);
5633
- } else if (listenerCount === 0) {
5634
- window.removeEventListener(HashChangeEvent$1, handleHashChange);
5635
- }
5636
- }
5637
-
5638
- var isBlocked = false;
5639
-
5640
- function block(prompt) {
5641
- if (prompt === void 0) {
5642
- prompt = false;
5643
- }
5644
-
5645
- var unblock = transitionManager.setPrompt(prompt);
5646
-
5647
- if (!isBlocked) {
5648
- checkDOMListeners(1);
5649
- isBlocked = true;
5650
- }
5651
-
5652
- return function () {
5653
- if (isBlocked) {
5654
- isBlocked = false;
5655
- checkDOMListeners(-1);
5656
- }
5657
-
5658
- return unblock();
5659
- };
5660
- }
5661
-
5662
- function listen(listener) {
5663
- var unlisten = transitionManager.appendListener(listener);
5664
- checkDOMListeners(1);
5665
- return function () {
5666
- checkDOMListeners(-1);
5667
- unlisten();
5668
- };
5669
- }
5670
-
5671
- var history = {
5672
- length: globalHistory.length,
5673
- action: 'POP',
5674
- location: initialLocation,
5675
- createHref: createHref,
5676
- push: push,
5677
- replace: replace,
5678
- go: go,
5679
- goBack: goBack,
5680
- goForward: goForward,
5681
- block: block,
5682
- listen: listen
5683
- };
5684
- return history;
5685
- }
5686
-
5687
- function clamp(n, lowerBound, upperBound) {
5688
- return Math.min(Math.max(n, lowerBound), upperBound);
5689
- }
5690
- /**
5691
- * Creates a history object that stores locations in memory.
5692
- */
5693
-
5694
-
5695
- function createMemoryHistory(props) {
5696
- if (props === void 0) {
5697
- props = {};
5698
- }
5699
-
5700
- var _props = props,
5701
- getUserConfirmation = _props.getUserConfirmation,
5702
- _props$initialEntries = _props.initialEntries,
5703
- initialEntries = _props$initialEntries === void 0 ? ['/'] : _props$initialEntries,
5704
- _props$initialIndex = _props.initialIndex,
5705
- initialIndex = _props$initialIndex === void 0 ? 0 : _props$initialIndex,
5706
- _props$keyLength = _props.keyLength,
5707
- keyLength = _props$keyLength === void 0 ? 6 : _props$keyLength;
5708
- var transitionManager = createTransitionManager();
5709
-
5710
- function setState(nextState) {
5711
- Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])(history, nextState);
5712
-
5713
- history.length = history.entries.length;
5714
- transitionManager.notifyListeners(history.location, history.action);
5715
- }
5716
-
5717
- function createKey() {
5718
- return Math.random().toString(36).substr(2, keyLength);
5719
- }
5720
-
5721
- var index = clamp(initialIndex, 0, initialEntries.length - 1);
5722
- var entries = initialEntries.map(function (entry) {
5723
- return typeof entry === 'string' ? createLocation(entry, undefined, createKey()) : createLocation(entry, undefined, entry.key || createKey());
5724
- }); // Public interface
5725
-
5726
- var createHref = createPath;
5727
-
5728
- function push(path, state) {
5729
- process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to push when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;
5730
- var action = 'PUSH';
5731
- var location = createLocation(path, state, createKey(), history.location);
5732
- transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
5733
- if (!ok) return;
5734
- var prevIndex = history.index;
5735
- var nextIndex = prevIndex + 1;
5736
- var nextEntries = history.entries.slice(0);
5737
-
5738
- if (nextEntries.length > nextIndex) {
5739
- nextEntries.splice(nextIndex, nextEntries.length - nextIndex, location);
5740
- } else {
5741
- nextEntries.push(location);
5742
- }
5743
-
5744
- setState({
5745
- action: action,
5746
- location: location,
5747
- index: nextIndex,
5748
- entries: nextEntries
5749
- });
5750
- });
5751
- }
5752
-
5753
- function replace(path, state) {
5754
- process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to replace when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;
5755
- var action = 'REPLACE';
5756
- var location = createLocation(path, state, createKey(), history.location);
5757
- transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
5758
- if (!ok) return;
5759
- history.entries[history.index] = location;
5760
- setState({
5761
- action: action,
5762
- location: location
5763
- });
5764
- });
5765
- }
5766
-
5767
- function go(n) {
5768
- var nextIndex = clamp(history.index + n, 0, history.entries.length - 1);
5769
- var action = 'POP';
5770
- var location = history.entries[nextIndex];
5771
- transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
5772
- if (ok) {
5773
- setState({
5774
- action: action,
5775
- location: location,
5776
- index: nextIndex
5777
- });
5778
- } else {
5779
- // Mimic the behavior of DOM histories by
5780
- // causing a render after a cancelled POP.
5781
- setState();
5782
- }
5783
- });
5784
- }
5785
-
5786
- function goBack() {
5787
- go(-1);
5788
- }
5789
-
5790
- function goForward() {
5791
- go(1);
5792
- }
5793
-
5794
- function canGo(n) {
5795
- var nextIndex = history.index + n;
5796
- return nextIndex >= 0 && nextIndex < history.entries.length;
5797
- }
5798
-
5799
- function block(prompt) {
5800
- if (prompt === void 0) {
5801
- prompt = false;
5802
- }
5803
-
5804
- return transitionManager.setPrompt(prompt);
5805
- }
5806
-
5807
- function listen(listener) {
5808
- return transitionManager.appendListener(listener);
5809
- }
5810
-
5811
- var history = {
5812
- length: entries.length,
5813
- action: 'POP',
5814
- location: entries[index],
5815
- index: index,
5816
- entries: entries,
5817
- createHref: createHref,
5818
- push: push,
5819
- replace: replace,
5820
- go: go,
5821
- goBack: goBack,
5822
- goForward: goForward,
5823
- canGo: canGo,
5824
- block: block,
5825
- listen: listen
5826
- };
5827
- return history;
5828
- }
5829
-
5830
-
5831
-
5832
- /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
5833
-
5834
- /***/ }),
5835
- /* 54 */
5836
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
5837
-
5838
- "use strict";
5839
- /* harmony export (immutable) */ __webpack_exports__["a"] = _objectWithoutPropertiesLoose;
5840
- function _objectWithoutPropertiesLoose(source, excluded) {
5841
- if (source == null) return {};
5842
- var target = {};
5843
- var sourceKeys = Object.keys(source);
5844
- var key, i;
5845
-
5846
- for (i = 0; i < sourceKeys.length; i++) {
5847
- key = sourceKeys[i];
5848
- if (excluded.indexOf(key) >= 0) continue;
5849
- target[key] = source[key];
5850
- }
5851
-
5852
- return target;
5853
- }
5854
-
5855
- /***/ }),
5856
- /* 55 */
5857
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
5858
-
5859
- "use strict";
5860
- /* harmony export (immutable) */ __webpack_exports__["a"] = _inheritsLoose;
5861
- function _inheritsLoose(subClass, superClass) {
5862
- subClass.prototype = Object.create(superClass.prototype);
5863
- subClass.prototype.constructor = subClass;
5864
- subClass.__proto__ = superClass;
5865
- }
5866
-
5867
- /***/ }),
5868
- /* 56 */
5869
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
5870
-
5871
- "use strict";
5872
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__useTheme__ = __webpack_require__(460);
5873
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__useTheme__["a"]; });
5874
-
5875
-
5876
- /***/ }),
5877
- /* 57 */
5878
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
5879
-
5880
- "use strict";
5881
- /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (immutable) */ __webpack_exports__["a"] = createChainedFunction;
5882
- /**
5883
- * Safe chained function
5884
- *
5885
- * Will only create a new function if needed,
5886
- * otherwise will pass back existing functions or null.
5887
- *
5888
- * @param {function} functions to chain
5889
- * @returns {function|null}
5890
- */
5891
- function createChainedFunction() {
5892
- for (var _len = arguments.length, funcs = new Array(_len), _key = 0; _key < _len; _key++) {
5893
- funcs[_key] = arguments[_key];
5894
- }
5895
-
5896
- return funcs.reduce(function (acc, func) {
5897
- if (func == null) {
5898
- return acc;
5899
- }
5900
-
5901
- if (process.env.NODE_ENV !== 'production') {
5902
- if (typeof func !== 'function') {
5903
- console.error('Material-UI: Invalid Argument Type, must only provide functions, undefined, or null.');
5904
- }
5905
- }
5906
-
5907
- return function chainedFunction() {
5908
- for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
5909
- args[_key2] = arguments[_key2];
5910
- }
5911
-
5912
- acc.apply(this, args);
5913
- func.apply(this, args);
5914
- };
5915
- }, function () {});
5916
- }
5917
- /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
5918
-
5919
- /***/ }),
5920
- /* 58 */
5921
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
5922
-
5923
- "use strict";
5924
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CSSTransition__ = __webpack_require__(523);
5925
- /* unused harmony reexport CSSTransition */
5926
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__ReplaceTransition__ = __webpack_require__(527);
5927
- /* unused harmony reexport ReplaceTransition */
5928
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__SwitchTransition__ = __webpack_require__(529);
5929
- /* unused harmony reexport SwitchTransition */
5930
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__TransitionGroup__ = __webpack_require__(241);
5931
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_3__TransitionGroup__["a"]; });
5932
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__Transition__ = __webpack_require__(130);
5933
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_4__Transition__["d"]; });
5934
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__config__ = __webpack_require__(239);
5935
- /* unused harmony reexport config */
5936
-
5937
-
5938
-
5939
-
5940
-
5941
-
5942
-
5943
- /***/ }),
5944
- /* 59 */
5945
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
5946
-
5947
- "use strict";
5948
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Collapse__ = __webpack_require__(547);
5949
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Collapse__["a"]; });
5950
-
5951
-
5952
- /***/ }),
5953
- /* 60 */
5954
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
5955
-
5956
- "use strict";
5957
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return reflow; });
5958
- /* harmony export (immutable) */ __webpack_exports__["a"] = getTransitionProps;
5959
- var reflow = function reflow(node) {
5960
- return node.scrollTop;
5961
- };
5962
- function getTransitionProps(props, options) {
5963
- var timeout = props.timeout,
5964
- _props$style = props.style,
5965
- style = _props$style === void 0 ? {} : _props$style;
5966
- return {
5967
- duration: style.transitionDuration || typeof timeout === 'number' ? timeout : timeout[options.mode] || 0,
5968
- delay: style.transitionDelay
5969
- };
5970
- }
5971
-
5972
- /***/ }),
5973
- /* 61 */
5974
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
5975
-
5976
- "use strict";
5977
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__InputBase__ = __webpack_require__(599);
5978
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__InputBase__["a"]; });
5979
-
5980
-
5981
- /***/ }),
5982
- /* 62 */
5983
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
5984
-
5985
- "use strict";
5986
- /* harmony export (immutable) */ __webpack_exports__["a"] = formControlState;
5987
- function formControlState(_ref) {
5988
- var props = _ref.props,
5989
- states = _ref.states,
5990
- muiFormControl = _ref.muiFormControl;
5991
- return states.reduce(function (acc, state) {
5992
- acc[state] = props[state];
5993
-
5994
- if (muiFormControl) {
5995
- if (typeof props[state] === 'undefined') {
5996
- acc[state] = muiFormControl[state];
5997
- }
5998
- }
5999
-
6000
- return acc;
6001
- }, {});
6002
- }
6003
-
6004
- /***/ }),
6005
- /* 63 */
6006
- /***/ (function(module, exports, __webpack_require__) {
6007
-
6008
- var isFunction = __webpack_require__(175),
6009
- isLength = __webpack_require__(171);
6010
-
6011
- /**
6012
- * Checks if `value` is array-like. A value is considered array-like if it's
6013
- * not a function and has a `value.length` that's an integer greater than or
6014
- * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
6015
- *
6016
- * @static
6017
- * @memberOf _
6018
- * @since 4.0.0
6019
- * @category Lang
6020
- * @param {*} value The value to check.
6021
- * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
6022
- * @example
6023
- *
6024
- * _.isArrayLike([1, 2, 3]);
6025
- * // => true
6026
- *
6027
- * _.isArrayLike(document.body.children);
6028
- * // => true
6029
- *
6030
- * _.isArrayLike('abc');
6031
- * // => true
6032
- *
6033
- * _.isArrayLike(_.noop);
6034
- * // => false
6035
- */
6036
- function isArrayLike(value) {
6037
- return value != null && isLength(value.length) && !isFunction(value);
6038
- }
6039
-
6040
- module.exports = isArrayLike;
6041
-
6042
-
6043
- /***/ }),
6044
- /* 64 */
6045
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6046
-
6047
- "use strict";
6048
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__createMuiTheme__ = __webpack_require__(126);
6049
-
6050
- var defaultTheme = Object(__WEBPACK_IMPORTED_MODULE_0__createMuiTheme__["a" /* default */])();
6051
- /* harmony default export */ __webpack_exports__["a"] = (defaultTheme);
6052
-
6053
- /***/ }),
6054
- /* 65 */
6055
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6056
-
6057
- "use strict";
6058
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__emotion_serialize__ = __webpack_require__(230);
6059
-
6060
-
6061
- function css() {
6062
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
6063
- args[_key] = arguments[_key];
6064
- }
6065
-
6066
- return Object(__WEBPACK_IMPORTED_MODULE_0__emotion_serialize__["a" /* serializeStyles */])(args);
6067
- }
6068
-
6069
- /* harmony default export */ __webpack_exports__["a"] = (css);
6070
-
6071
-
6072
- /***/ }),
6073
- /* 66 */
6074
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6075
-
6076
- "use strict";
6077
- /* harmony export (immutable) */ __webpack_exports__["a"] = isMuiElement;
6078
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
6079
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
6080
-
6081
- function isMuiElement(element, muiNames) {
6082
- return /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_0_react__["isValidElement"](element) && muiNames.indexOf(element.type.muiName) !== -1;
6083
- }
6084
-
6085
- /***/ }),
6086
- /* 67 */
6087
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6088
-
6089
- "use strict";
6090
- /* WEBPACK VAR INJECTION */(function(process) {/* unused harmony export teardown */
6091
- /* harmony export (immutable) */ __webpack_exports__["a"] = useIsFocusVisible;
6092
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
6093
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
6094
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react_dom__ = __webpack_require__(11);
6095
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_react_dom__);
6096
- // based on https://github.com/WICG/focus-visible/blob/v4.1.5/src/focus-visible.js
6097
-
6098
-
6099
- var hadKeyboardEvent = true;
6100
- var hadFocusVisibleRecently = false;
6101
- var hadFocusVisibleRecentlyTimeout = null;
6102
- var inputTypesWhitelist = {
6103
- text: true,
6104
- search: true,
6105
- url: true,
6106
- tel: true,
6107
- email: true,
6108
- password: true,
6109
- number: true,
6110
- date: true,
6111
- month: true,
6112
- week: true,
6113
- time: true,
6114
- datetime: true,
6115
- 'datetime-local': true
6116
- };
6117
- /**
6118
- * Computes whether the given element should automatically trigger the
6119
- * `focus-visible` class being added, i.e. whether it should always match
6120
- * `:focus-visible` when focused.
6121
- * @param {Element} node
6122
- * @return {boolean}
6123
- */
6124
-
6125
- function focusTriggersKeyboardModality(node) {
6126
- var type = node.type,
6127
- tagName = node.tagName;
6128
-
6129
- if (tagName === 'INPUT' && inputTypesWhitelist[type] && !node.readOnly) {
6130
- return true;
6131
- }
6132
-
6133
- if (tagName === 'TEXTAREA' && !node.readOnly) {
6134
- return true;
6135
- }
6136
-
6137
- if (node.isContentEditable) {
6138
- return true;
6139
- }
6140
-
6141
- return false;
6142
- }
6143
- /**
6144
- * Keep track of our keyboard modality state with `hadKeyboardEvent`.
6145
- * If the most recent user interaction was via the keyboard;
6146
- * and the key press did not include a meta, alt/option, or control key;
6147
- * then the modality is keyboard. Otherwise, the modality is not keyboard.
6148
- * @param {KeyboardEvent} event
6149
- */
6150
-
6151
-
6152
- function handleKeyDown(event) {
6153
- if (event.metaKey || event.altKey || event.ctrlKey) {
6154
- return;
6155
- }
6156
-
6157
- hadKeyboardEvent = true;
6158
- }
6159
- /**
6160
- * If at any point a user clicks with a pointing device, ensure that we change
6161
- * the modality away from keyboard.
6162
- * This avoids the situation where a user presses a key on an already focused
6163
- * element, and then clicks on a different element, focusing it with a
6164
- * pointing device, while we still think we're in keyboard modality.
6165
- */
6166
-
6167
-
6168
- function handlePointerDown() {
6169
- hadKeyboardEvent = false;
6170
- }
6171
-
6172
- function handleVisibilityChange() {
6173
- if (this.visibilityState === 'hidden') {
6174
- // If the tab becomes active again, the browser will handle calling focus
6175
- // on the element (Safari actually calls it twice).
6176
- // If this tab change caused a blur on an element with focus-visible,
6177
- // re-apply the class when the user switches back to the tab.
6178
- if (hadFocusVisibleRecently) {
6179
- hadKeyboardEvent = true;
6180
- }
6181
- }
6182
- }
6183
-
6184
- function prepare(doc) {
6185
- doc.addEventListener('keydown', handleKeyDown, true);
6186
- doc.addEventListener('mousedown', handlePointerDown, true);
6187
- doc.addEventListener('pointerdown', handlePointerDown, true);
6188
- doc.addEventListener('touchstart', handlePointerDown, true);
6189
- doc.addEventListener('visibilitychange', handleVisibilityChange, true);
6190
- }
6191
-
6192
- function teardown(doc) {
6193
- doc.removeEventListener('keydown', handleKeyDown, true);
6194
- doc.removeEventListener('mousedown', handlePointerDown, true);
6195
- doc.removeEventListener('pointerdown', handlePointerDown, true);
6196
- doc.removeEventListener('touchstart', handlePointerDown, true);
6197
- doc.removeEventListener('visibilitychange', handleVisibilityChange, true);
6198
- }
6199
-
6200
- function isFocusVisible(event) {
6201
- var target = event.target;
6202
-
6203
- try {
6204
- return target.matches(':focus-visible');
6205
- } catch (error) {// browsers not implementing :focus-visible will throw a SyntaxError
6206
- // we use our own heuristic for those browsers
6207
- // rethrow might be better if it's not the expected error but do we really
6208
- // want to crash if focus-visible malfunctioned?
6209
- } // no need for validFocusTarget check. the user does that by attaching it to
6210
- // focusable events only
6211
-
6212
-
6213
- return hadKeyboardEvent || focusTriggersKeyboardModality(target);
6214
- }
6215
- /**
6216
- * Should be called if a blur event is fired on a focus-visible element
6217
- */
6218
-
6219
-
6220
- function handleBlurVisible() {
6221
- // To detect a tab/window switch, we look for a blur event followed
6222
- // rapidly by a visibility change.
6223
- // If we don't see a visibility change within 100ms, it's probably a
6224
- // regular focus change.
6225
- hadFocusVisibleRecently = true;
6226
- window.clearTimeout(hadFocusVisibleRecentlyTimeout);
6227
- hadFocusVisibleRecentlyTimeout = window.setTimeout(function () {
6228
- hadFocusVisibleRecently = false;
6229
- }, 100);
6230
- }
6231
-
6232
- function useIsFocusVisible() {
6233
- var ref = __WEBPACK_IMPORTED_MODULE_0_react__["useCallback"](function (instance) {
6234
- var node = __WEBPACK_IMPORTED_MODULE_1_react_dom__["findDOMNode"](instance);
6235
-
6236
- if (node != null) {
6237
- prepare(node.ownerDocument);
6238
- }
6239
- }, []);
6240
-
6241
- if (process.env.NODE_ENV !== 'production') {
6242
- // eslint-disable-next-line react-hooks/rules-of-hooks
6243
- __WEBPACK_IMPORTED_MODULE_0_react__["useDebugValue"](isFocusVisible);
6244
- }
6245
-
6246
- return {
6247
- isFocusVisible: isFocusVisible,
6248
- onBlurVisible: handleBlurVisible,
6249
- ref: ref
6250
- };
6251
- }
6252
- /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
6253
-
6254
- /***/ }),
6255
- /* 68 */
6256
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6257
-
6258
- "use strict";
6259
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Modal__ = __webpack_require__(583);
6260
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Modal__["a"]; });
6261
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__ModalManager__ = __webpack_require__(267);
6262
- /* unused harmony reexport ModalManager */
6263
-
6264
-
6265
-
6266
- /***/ }),
6267
- /* 69 */
6268
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6269
-
6270
- "use strict";
6271
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Grow__ = __webpack_require__(610);
6272
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Grow__["a"]; });
6273
-
6274
-
6275
- /***/ }),
6276
- /* 70 */
6277
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6278
-
6279
- "use strict";
6280
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Input__ = __webpack_require__(615);
6281
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Input__["a"]; });
6282
-
6283
-
6284
- /***/ }),
6285
- /* 71 */
6286
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6287
-
6288
- "use strict";
6289
- /* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
6290
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
6291
-
6292
- /**
6293
- * @ignore - internal component.
6294
- */
6295
-
6296
- var ListContext = /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_0_react__["createContext"]({});
6297
-
6298
- if (process.env.NODE_ENV !== 'production') {
6299
- ListContext.displayName = 'ListContext';
6300
- }
6301
-
6302
- /* harmony default export */ __webpack_exports__["a"] = (ListContext);
6303
- /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
6304
-
6305
- /***/ }),
6306
- /* 72 */
6307
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6308
-
6309
- "use strict";
6310
- /* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
6311
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
6312
-
6313
- /**
6314
- * @ignore - internal component.
6315
- */
6316
-
6317
- var Tablelvl2Context = /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_0_react__["createContext"]();
6318
-
6319
- if (process.env.NODE_ENV !== 'production') {
6320
- Tablelvl2Context.displayName = 'Tablelvl2Context';
6321
- }
6322
-
6323
- /* harmony default export */ __webpack_exports__["a"] = (Tablelvl2Context);
6324
- /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
6325
-
6326
- /***/ }),
6327
- /* 73 */
6328
- /***/ (function(module, exports, __webpack_require__) {
6329
-
6330
- var root = __webpack_require__(30);
6331
-
6332
- /** Built-in value references. */
6333
- var Symbol = root.Symbol;
6334
-
6335
- module.exports = Symbol;
6336
-
6337
-
6338
- /***/ }),
6339
- /* 74 */
6340
- /***/ (function(module, exports, __webpack_require__) {
6341
-
6342
- var arrayLikeKeys = __webpack_require__(357),
6343
- baseKeys = __webpack_require__(734),
6344
- isArrayLike = __webpack_require__(63);
6345
-
6346
- /**
6347
- * Creates an array of the own enumerable property names of `object`.
6348
- *
6349
- * **Note:** Non-object values are coerced to objects. See the
6350
- * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
6351
- * for more details.
6352
- *
6353
- * @static
6354
- * @since 0.1.0
6355
- * @memberOf _
6356
- * @category Object
6357
- * @param {Object} object The object to query.
6358
- * @returns {Array} Returns the array of property names.
6359
- * @example
6360
- *
6361
- * function Foo() {
6362
- * this.a = 1;
6363
- * this.b = 2;
6364
- * }
6365
- *
6366
- * Foo.prototype.c = 3;
6367
- *
6368
- * _.keys(new Foo);
6369
- * // => ['a', 'b'] (iteration order is not guaranteed)
6370
- *
6371
- * _.keys('hi');
6372
- * // => ['0', '1']
6373
- */
6374
- function keys(object) {
6375
- return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
6376
- }
6377
-
6378
- module.exports = keys;
6379
-
6380
-
6381
- /***/ }),
6382
- /* 75 */
6383
- /***/ (function(module, exports) {
6384
-
6385
- /**
6386
- * Performs a
6387
- * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
6388
- * comparison between two values to determine if they are equivalent.
6389
- *
6390
- * @static
6391
- * @memberOf _
6392
- * @since 4.0.0
6393
- * @category Lang
6394
- * @param {*} value The value to compare.
6395
- * @param {*} other The other value to compare.
6396
- * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
6397
- * @example
6398
- *
6399
- * var object = { 'a': 1 };
6400
- * var other = { 'a': 1 };
6401
- *
6402
- * _.eq(object, object);
6403
- * // => true
6404
- *
6405
- * _.eq(object, other);
6406
- * // => false
6407
- *
6408
- * _.eq('a', 'a');
6409
- * // => true
6410
- *
6411
- * _.eq('a', Object('a'));
6412
- * // => false
6413
- *
6414
- * _.eq(NaN, NaN);
6415
- * // => true
6416
- */
6417
- function eq(value, other) {
6418
- return value === other || (value !== value && other !== other);
6419
- }
6420
-
6421
- module.exports = eq;
6422
-
6423
-
6424
- /***/ }),
6425
- /* 76 */
6426
- /***/ (function(module, exports, __webpack_require__) {
6427
-
6428
- var assignValue = __webpack_require__(376),
6429
- baseAssignValue = __webpack_require__(181);
6430
-
6431
- /**
6432
- * Copies properties of `source` to `object`.
6433
- *
6434
- * @private
6435
- * @param {Object} source The object to copy properties from.
6436
- * @param {Array} props The property identifiers to copy.
6437
- * @param {Object} [object={}] The object to copy properties to.
6438
- * @param {Function} [customizer] The function to customize copied values.
6439
- * @returns {Object} Returns `object`.
6440
- */
6441
- function copyObject(source, props, object, customizer) {
6442
- var isNew = !object;
6443
- object || (object = {});
6444
-
6445
- var index = -1,
6446
- length = props.length;
6447
-
6448
- while (++index < length) {
6449
- var key = props[index];
6450
-
6451
- var newValue = customizer
6452
- ? customizer(object[key], source[key], key, object, source)
6453
- : undefined;
6454
-
6455
- if (newValue === undefined) {
6456
- newValue = source[key];
6457
- }
6458
- if (isNew) {
6459
- baseAssignValue(object, key, newValue);
6460
- } else {
6461
- assignValue(object, key, newValue);
6462
- }
6463
- }
6464
- return object;
6465
- }
6466
-
6467
- module.exports = copyObject;
6468
-
6469
-
6470
- /***/ }),
6471
- /* 77 */
6472
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6473
-
6474
- "use strict";
6475
- /* WEBPACK VAR INJECTION */(function(process) {var isProduction = process.env.NODE_ENV === 'production';
6476
- function warning(condition, message) {
6477
- if (!isProduction) {
6478
- if (condition) {
6479
- return;
6480
- }
6481
-
6482
- var text = "Warning: " + message;
6483
-
6484
- if (typeof console !== 'undefined') {
6485
- console.warn(text);
6486
- }
6487
-
6488
- try {
6489
- throw Error(text);
6490
- } catch (x) {}
6491
- }
6492
- }
6493
-
6494
- /* harmony default export */ __webpack_exports__["a"] = (warning);
6495
-
6496
- /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
6497
-
6498
- /***/ }),
6499
- /* 78 */
6500
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6501
-
6502
- "use strict";
6503
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__createGenerateClassName__ = __webpack_require__(442);
6504
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__createGenerateClassName__["a"]; });
6505
-
6506
-
6507
- /***/ }),
6508
- /* 79 */
6509
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6510
-
6511
- "use strict";
6512
- /* harmony export (immutable) */ __webpack_exports__["a"] = _createClass;
6513
- function _defineProperties(target, props) {
6514
- for (var i = 0; i < props.length; i++) {
6515
- var descriptor = props[i];
6516
- descriptor.enumerable = descriptor.enumerable || false;
6517
- descriptor.configurable = true;
6518
- if ("value" in descriptor) descriptor.writable = true;
6519
- Object.defineProperty(target, descriptor.key, descriptor);
6520
- }
6521
- }
6522
-
6523
- function _createClass(Constructor, protoProps, staticProps) {
6524
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
6525
- if (staticProps) _defineProperties(Constructor, staticProps);
6526
- return Constructor;
6527
- }
6528
-
6529
- /***/ }),
6530
- /* 80 */
6531
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6532
-
6533
- "use strict";
6534
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__makeStyles__ = __webpack_require__(457);
6535
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__makeStyles__["a"]; });
6536
-
6537
-
6538
- /***/ }),
6539
- /* 81 */
6540
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6541
-
6542
- "use strict";
6543
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__StylesProvider__ = __webpack_require__(197);
6544
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_0__StylesProvider__["b"]; });
6545
- /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__StylesProvider__["a"]; });
6546
-
6547
-
6548
-
6549
- /***/ }),
6550
- /* 82 */
6551
- /***/ (function(module, exports, __webpack_require__) {
6552
-
6553
- "use strict";
6554
-
6555
-
6556
- var reactIs = __webpack_require__(15);
6557
-
6558
- /**
6559
- * Copyright 2015, Yahoo! Inc.
6560
- * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
6561
- */
6562
- var REACT_STATICS = {
6563
- childContextTypes: true,
6564
- contextType: true,
6565
- contextTypes: true,
6566
- defaultProps: true,
6567
- displayName: true,
6568
- getDefaultProps: true,
6569
- getDerivedStateFromError: true,
6570
- getDerivedStateFromProps: true,
6571
- mixins: true,
6572
- propTypes: true,
6573
- type: true
6574
- };
6575
- var KNOWN_STATICS = {
6576
- name: true,
6577
- length: true,
6578
- prototype: true,
6579
- caller: true,
6580
- callee: true,
6581
- arguments: true,
6582
- arity: true
6583
- };
6584
- var FORWARD_REF_STATICS = {
6585
- '$$typeof': true,
6586
- render: true,
6587
- defaultProps: true,
6588
- displayName: true,
6589
- propTypes: true
6590
- };
6591
- var MEMO_STATICS = {
6592
- '$$typeof': true,
6593
- compare: true,
6594
- defaultProps: true,
6595
- displayName: true,
6596
- propTypes: true,
6597
- type: true
6598
- };
6599
- var TYPE_STATICS = {};
6600
- TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
6601
- TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
6602
-
6603
- function getStatics(component) {
6604
- // React v16.11 and below
6605
- if (reactIs.isMemo(component)) {
6606
- return MEMO_STATICS;
6607
- } // React v16.12 and above
6608
-
6609
-
6610
- return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;
6611
- }
6612
-
6613
- var defineProperty = Object.defineProperty;
6614
- var getOwnPropertyNames = Object.getOwnPropertyNames;
6615
- var getOwnPropertySymbols = Object.getOwnPropertySymbols;
6616
- var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
6617
- var getPrototypeOf = Object.getPrototypeOf;
6618
- var objectPrototype = Object.prototype;
6619
- function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
6620
- if (typeof sourceComponent !== 'string') {
6621
- // don't hoist over string (html) components
6622
- if (objectPrototype) {
6623
- var inheritedComponent = getPrototypeOf(sourceComponent);
6624
-
6625
- if (inheritedComponent && inheritedComponent !== objectPrototype) {
6626
- hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
6627
- }
6628
- }
6629
-
6630
- var keys = getOwnPropertyNames(sourceComponent);
6631
-
6632
- if (getOwnPropertySymbols) {
6633
- keys = keys.concat(getOwnPropertySymbols(sourceComponent));
6634
- }
6635
-
6636
- var targetStatics = getStatics(targetComponent);
6637
- var sourceStatics = getStatics(sourceComponent);
6638
-
6639
- for (var i = 0; i < keys.length; ++i) {
6640
- var key = keys[i];
6641
-
6642
- if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {
6643
- var descriptor = getOwnPropertyDescriptor(sourceComponent, key);
6644
-
6645
- try {
6646
- // Avoid failures from read-only properties
6647
- defineProperty(targetComponent, key, descriptor);
6648
- } catch (e) {}
6649
- }
6650
- }
6651
- }
6652
-
6653
- return targetComponent;
6654
- }
6655
-
6656
- module.exports = hoistNonReactStatics;
6657
-
6658
-
6659
- /***/ }),
6660
- /* 83 */
6661
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6662
-
6663
- "use strict";
6664
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_ui_utils__ = __webpack_require__(7);
6665
-
6666
-
6667
- function merge(acc, item) {
6668
- if (!item) {
6669
- return acc;
6670
- }
6671
-
6672
- return Object(__WEBPACK_IMPORTED_MODULE_0__material_ui_utils__["c" /* deepmerge */])(acc, item, {
6673
- clone: false // No need to clone deep, it's way faster.
6674
-
6675
- });
6676
- }
6677
-
6678
- /* harmony default export */ __webpack_exports__["a"] = (merge);
6679
-
6680
- /***/ }),
6681
- /* 84 */
6682
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6683
-
6684
- "use strict";
6685
- Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
6686
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NonceProvider", function() { return NonceProvider; });
6687
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
6688
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
6689
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_memoize_one__ = __webpack_require__(227);
6690
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__emotion_core__ = __webpack_require__(128);
6691
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react_dom__ = __webpack_require__(11);
6692
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_react_dom__);
6693
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types__ = __webpack_require__(2);
6694
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_prop_types__);
6695
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__utils_06b0d5a4_browser_esm_js__ = __webpack_require__(129);
6696
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__index_4322c0ed_browser_esm_js__ = __webpack_require__(231);
6697
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return __WEBPACK_IMPORTED_MODULE_6__index_4322c0ed_browser_esm_js__["z"]; });
6698
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__Select_9fdb8cd0_browser_esm_js__ = __webpack_require__(233);
6699
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "createFilter", function() { return __WEBPACK_IMPORTED_MODULE_7__Select_9fdb8cd0_browser_esm_js__["c"]; });
6700
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "defaultTheme", function() { return __WEBPACK_IMPORTED_MODULE_7__Select_9fdb8cd0_browser_esm_js__["b"]; });
6701
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "mergeStyles", function() { return __WEBPACK_IMPORTED_MODULE_7__Select_9fdb8cd0_browser_esm_js__["d"]; });
6702
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__emotion_css__ = __webpack_require__(65);
6703
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_react_input_autosize__ = __webpack_require__(232);
6704
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_react_input_autosize___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_9_react_input_autosize__);
6705
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__stateManager_04f734a2_browser_esm_js__ = __webpack_require__(486);
6706
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__emotion_cache__ = __webpack_require__(228);
6707
-
6708
-
6709
-
6710
-
6711
-
6712
-
6713
-
6714
-
6715
-
6716
-
6717
-
6718
-
6719
-
6720
-
6721
- function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
6722
-
6723
- var NonceProvider =
6724
- /*#__PURE__*/
6725
- function (_Component) {
6726
- _inheritsLoose(NonceProvider, _Component);
6727
-
6728
- function NonceProvider(props) {
6729
- var _this;
6730
-
6731
- _this = _Component.call(this, props) || this;
6732
-
6733
- _this.createEmotionCache = function (nonce) {
6734
- return Object(__WEBPACK_IMPORTED_MODULE_11__emotion_cache__["a" /* default */])({
6735
- nonce: nonce
6736
- });
6737
- };
6738
-
6739
- _this.createEmotionCache = Object(__WEBPACK_IMPORTED_MODULE_1_memoize_one__["a" /* default */])(_this.createEmotionCache);
6740
- return _this;
6741
- }
6742
-
6743
- var _proto = NonceProvider.prototype;
6744
-
6745
- _proto.render = function render() {
6746
- var emotionCache = this.createEmotionCache(this.props.nonce);
6747
- return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2__emotion_core__["a" /* CacheProvider */], {
6748
- value: emotionCache
6749
- }, this.props.children);
6750
- };
6751
-
6752
- return NonceProvider;
6753
- }(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);
6754
-
6755
- var index = Object(__WEBPACK_IMPORTED_MODULE_10__stateManager_04f734a2_browser_esm_js__["a" /* m */])(__WEBPACK_IMPORTED_MODULE_7__Select_9fdb8cd0_browser_esm_js__["a" /* S */]);
6756
-
6757
- /* harmony default export */ __webpack_exports__["default"] = (index);
6758
-
6759
-
6760
-
6761
- /***/ }),
6762
- /* 85 */
6763
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6764
-
6765
- "use strict";
6766
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__SvgIcon__ = __webpack_require__(515);
6767
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__SvgIcon__["a"]; });
6768
-
6769
-
6770
- /***/ }),
6771
- /* 86 */
6772
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6773
-
6774
- "use strict";
6775
- /* harmony export (immutable) */ __webpack_exports__["a"] = ownerWindow;
6776
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ownerDocument__ = __webpack_require__(29);
6777
-
6778
- function ownerWindow(node) {
6779
- var doc = Object(__WEBPACK_IMPORTED_MODULE_0__ownerDocument__["a" /* default */])(node);
6780
- return doc.defaultView || window;
6781
- }
6782
-
6783
- /***/ }),
6784
- /* 87 */
6785
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6786
-
6787
- "use strict";
6788
- /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (immutable) */ __webpack_exports__["a"] = unsupportedProp;
6789
- function unsupportedProp(props, propName, componentName, location, propFullName) {
6790
- if (process.env.NODE_ENV === 'production') {
6791
- return null;
6792
- }
6793
-
6794
- var propFullNameSafe = propFullName || propName;
6795
-
6796
- if (typeof props[propName] !== 'undefined') {
6797
- return new Error("The prop `".concat(propFullNameSafe, "` is not supported. Please remove it."));
6798
- }
6799
-
6800
- return null;
6801
- }
6802
- /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
6803
-
6804
- /***/ }),
6805
- /* 88 */
6806
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6807
-
6808
- "use strict";
6809
- /* harmony export (immutable) */ __webpack_exports__["a"] = useId;
6810
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
6811
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
6812
-
6813
- /**
6814
- * Private module reserved for @material-ui/x packages.
6815
- */
6816
-
6817
- function useId(idOverride) {
6818
- var _React$useState = __WEBPACK_IMPORTED_MODULE_0_react__["useState"](idOverride),
6819
- defaultId = _React$useState[0],
6820
- setDefaultId = _React$useState[1];
6821
-
6822
- var id = idOverride || defaultId;
6823
- __WEBPACK_IMPORTED_MODULE_0_react__["useEffect"](function () {
6824
- if (defaultId == null) {
6825
- // Fallback to this default id when possible.
6826
- // Use the random value for client-side rendering only.
6827
- // We can't use it server-side.
6828
- setDefaultId("mui-".concat(Math.round(Math.random() * 1e5)));
6829
- }
6830
- }, [defaultId]);
6831
- return id;
6832
- }
6833
-
6834
- /***/ }),
6835
- /* 89 */
6836
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6837
-
6838
- "use strict";
6839
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Backdrop__ = __webpack_require__(554);
6840
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Backdrop__["a"]; });
6841
-
6842
-
6843
- /***/ }),
6844
- /* 90 */
6845
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6846
-
6847
- "use strict";
6848
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Fade__ = __webpack_require__(555);
6849
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Fade__["a"]; });
6850
-
6851
-
6852
- /***/ }),
6853
- /* 91 */
6854
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6855
-
6856
- "use strict";
6857
- /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (immutable) */ __webpack_exports__["b"] = useFormControl;
6858
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
6859
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
6860
-
6861
- /**
6862
- * @ignore - internal component.
6863
- */
6864
-
6865
- var FormControlContext = /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_0_react__["createContext"]();
6866
-
6867
- if (process.env.NODE_ENV !== 'production') {
6868
- FormControlContext.displayName = 'FormControlContext';
6869
- }
6870
-
6871
- function useFormControl() {
6872
- return __WEBPACK_IMPORTED_MODULE_0_react__["useContext"](FormControlContext);
6873
- }
6874
- /* harmony default export */ __webpack_exports__["a"] = (FormControlContext);
6875
- /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
6876
-
6877
- /***/ }),
6878
- /* 92 */
6879
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6880
-
6881
- "use strict";
6882
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Portal__ = __webpack_require__(584);
6883
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Portal__["a"]; });
6884
-
6885
-
6886
- /***/ }),
6887
- /* 93 */
6888
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6889
-
6890
- "use strict";
6891
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Fab__ = __webpack_require__(597);
6892
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Fab__["a"]; });
6893
-
6894
-
6895
- /***/ }),
6896
- /* 94 */
6897
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6898
-
6899
- "use strict";
6900
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__FilledInput__ = __webpack_require__(598);
6901
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__FilledInput__["a"]; });
6902
-
6903
-
6904
- /***/ }),
6905
- /* 95 */
6906
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6907
-
6908
- "use strict";
6909
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__FormControl__ = __webpack_require__(601);
6910
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__FormControl__["a"]; });
6911
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__useFormControl__ = __webpack_require__(49);
6912
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_1__useFormControl__["a"]; });
6913
-
6914
-
6915
-
6916
- /***/ }),
6917
- /* 96 */
6918
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6919
-
6920
- "use strict";
6921
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__withWidth__ = __webpack_require__(286);
6922
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__withWidth__["a"]; });
6923
- /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_0__withWidth__["b"]; });
6924
- /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_0__withWidth__["c"]; });
6925
-
6926
-
6927
-
6928
- /***/ }),
6929
- /* 97 */
6930
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6931
-
6932
- "use strict";
6933
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__OutlinedInput__ = __webpack_require__(632);
6934
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__OutlinedInput__["a"]; });
6935
-
6936
-
6937
- /***/ }),
6938
- /* 98 */
6939
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6940
-
6941
- "use strict";
6942
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Popper__ = __webpack_require__(634);
6943
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Popper__["a"]; });
6944
-
6945
-
6946
- /***/ }),
6947
- /* 99 */
6948
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6949
-
6950
- "use strict";
6951
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Select__ = __webpack_require__(646);
6952
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Select__["a"]; });
6953
-
6954
-
6955
- /***/ }),
6956
- /* 100 */
6957
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6958
-
6959
- "use strict";
6960
- Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
6961
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Tooltip__ = __webpack_require__(684);
6962
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return __WEBPACK_IMPORTED_MODULE_0__Tooltip__["a"]; });
6963
-
6964
-
6965
- /***/ }),
6966
- /* 101 */
6967
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6968
-
6969
- "use strict";
6970
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TabContext__ = __webpack_require__(339);
6971
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__TabContext__["a"]; });
6972
- /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_0__TabContext__["b"]; });
6973
- /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_0__TabContext__["c"]; });
6974
- /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "d", function() { return __WEBPACK_IMPORTED_MODULE_0__TabContext__["d"]; });
6975
-
6976
-
6977
-
6978
- /***/ }),
6979
- /* 102 */
6980
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6981
-
6982
- "use strict";
6983
- /* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
6984
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
6985
-
6986
- /**
6987
- * @ignore - internal component.
6988
- */
6989
-
6990
- var TimelineContext = __WEBPACK_IMPORTED_MODULE_0_react__["createContext"]({});
6991
-
6992
- if (process.env.NODE_ENV !== 'production') {
6993
- TimelineContext.displayName = 'TimelineContext';
6994
- }
6995
-
6996
- /* harmony default export */ __webpack_exports__["a"] = (TimelineContext);
6997
- /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
6998
-
6999
- /***/ }),
7000
- /* 103 */
7001
- /***/ (function(module, exports, __webpack_require__) {
7002
-
7003
- /* WEBPACK VAR INJECTION */(function(module) {var root = __webpack_require__(30),
7004
- stubFalse = __webpack_require__(732);
7005
-
7006
- /** Detect free variable `exports`. */
7007
- var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;
7008
-
7009
- /** Detect free variable `module`. */
7010
- var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;
7011
-
7012
- /** Detect the popular CommonJS extension `module.exports`. */
7013
- var moduleExports = freeModule && freeModule.exports === freeExports;
7014
-
7015
- /** Built-in value references. */
7016
- var Buffer = moduleExports ? root.Buffer : undefined;
7017
-
7018
- /* Built-in method references for those with the same name as other `lodash` methods. */
7019
- var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
7020
-
7021
- /**
7022
- * Checks if `value` is a buffer.
7023
- *
7024
- * @static
7025
- * @memberOf _
7026
- * @since 4.3.0
7027
- * @category Lang
7028
- * @param {*} value The value to check.
7029
- * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
7030
- * @example
7031
- *
7032
- * _.isBuffer(new Buffer(2));
7033
- * // => true
7034
- *
7035
- * _.isBuffer(new Uint8Array(2));
7036
- * // => false
7037
- */
7038
- var isBuffer = nativeIsBuffer || stubFalse;
7039
-
7040
- module.exports = isBuffer;
7041
-
7042
- /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(168)(module)))
7043
-
7044
- /***/ }),
7045
- /* 104 */
7046
- /***/ (function(module, exports) {
7047
-
7048
- /**
7049
- * This method returns the first argument it receives.
7050
- *
7051
- * @static
7052
- * @since 0.1.0
7053
- * @memberOf _
7054
- * @category Util
7055
- * @param {*} value Any value.
7056
- * @returns {*} Returns `value`.
7057
- * @example
7058
- *
7059
- * var object = { 'a': 1 };
7060
- *
7061
- * console.log(_.identity(object) === object);
7062
- * // => true
7063
- */
7064
- function identity(value) {
7065
- return value;
7066
- }
7067
-
7068
- module.exports = identity;
7069
-
7070
-
7071
- /***/ }),
7072
- /* 105 */
7073
- /***/ (function(module, exports, __webpack_require__) {
7074
-
7075
- var ListCache = __webpack_require__(106),
7076
- stackClear = __webpack_require__(744),
7077
- stackDelete = __webpack_require__(745),
7078
- stackGet = __webpack_require__(746),
7079
- stackHas = __webpack_require__(747),
7080
- stackSet = __webpack_require__(748);
7081
-
7082
- /**
7083
- * Creates a stack cache object to store key-value pairs.
7084
- *
7085
- * @private
7086
- * @constructor
7087
- * @param {Array} [entries] The key-value pairs to cache.
7088
- */
7089
- function Stack(entries) {
7090
- var data = this.__data__ = new ListCache(entries);
7091
- this.size = data.size;
7092
- }
7093
-
7094
- // Add methods to `Stack`.
7095
- Stack.prototype.clear = stackClear;
7096
- Stack.prototype['delete'] = stackDelete;
7097
- Stack.prototype.get = stackGet;
7098
- Stack.prototype.has = stackHas;
7099
- Stack.prototype.set = stackSet;
7100
-
7101
- module.exports = Stack;
7102
-
7103
-
7104
- /***/ }),
7105
- /* 106 */
7106
- /***/ (function(module, exports, __webpack_require__) {
7107
-
7108
- var listCacheClear = __webpack_require__(739),
7109
- listCacheDelete = __webpack_require__(740),
7110
- listCacheGet = __webpack_require__(741),
7111
- listCacheHas = __webpack_require__(742),
7112
- listCacheSet = __webpack_require__(743);
7113
-
7114
- /**
7115
- * Creates an list cache object.
7116
- *
7117
- * @private
7118
- * @constructor
7119
- * @param {Array} [entries] The key-value pairs to cache.
7120
- */
7121
- function ListCache(entries) {
7122
- var index = -1,
7123
- length = entries == null ? 0 : entries.length;
7124
-
7125
- this.clear();
7126
- while (++index < length) {
7127
- var entry = entries[index];
7128
- this.set(entry[0], entry[1]);
7129
- }
7130
- }
7131
-
7132
- // Add methods to `ListCache`.
7133
- ListCache.prototype.clear = listCacheClear;
7134
- ListCache.prototype['delete'] = listCacheDelete;
7135
- ListCache.prototype.get = listCacheGet;
7136
- ListCache.prototype.has = listCacheHas;
7137
- ListCache.prototype.set = listCacheSet;
7138
-
7139
- module.exports = ListCache;
7140
-
7141
-
7142
- /***/ }),
7143
- /* 107 */
7144
- /***/ (function(module, exports, __webpack_require__) {
7145
-
7146
- var eq = __webpack_require__(75);
7147
-
7148
- /**
7149
- * Gets the index at which the `key` is found in `array` of key-value pairs.
7150
- *
7151
- * @private
7152
- * @param {Array} array The array to inspect.
7153
- * @param {*} key The key to search for.
7154
- * @returns {number} Returns the index of the matched value, else `-1`.
7155
- */
7156
- function assocIndexOf(array, key) {
7157
- var length = array.length;
7158
- while (length--) {
7159
- if (eq(array[length][0], key)) {
7160
- return length;
7161
- }
7162
- }
7163
- return -1;
7164
- }
7165
-
7166
- module.exports = assocIndexOf;
7167
-
7168
-
7169
- /***/ }),
7170
- /* 108 */
7171
- /***/ (function(module, exports, __webpack_require__) {
7172
-
7173
- var getNative = __webpack_require__(51);
7174
-
7175
- /* Built-in method references that are verified to be native. */
7176
- var nativeCreate = getNative(Object, 'create');
7177
-
7178
- module.exports = nativeCreate;
7179
-
7180
-
7181
- /***/ }),
7182
- /* 109 */
7183
- /***/ (function(module, exports, __webpack_require__) {
7184
-
7185
- var isKeyable = __webpack_require__(761);
7186
-
7187
- /**
7188
- * Gets the data for `map`.
7189
- *
7190
- * @private
7191
- * @param {Object} map The map to query.
7192
- * @param {string} key The reference key.
7193
- * @returns {*} Returns the map data.
7194
- */
7195
- function getMapData(map, key) {
7196
- var data = map.__data__;
7197
- return isKeyable(key)
7198
- ? data[typeof key == 'string' ? 'string' : 'hash']
7199
- : data.map;
7200
- }
7201
-
7202
- module.exports = getMapData;
7203
-
7204
-
7205
- /***/ }),
7206
- /* 110 */
7207
- /***/ (function(module, exports, __webpack_require__) {
7208
-
7209
- var DataView = __webpack_require__(776),
7210
- Map = __webpack_require__(177),
7211
- Promise = __webpack_require__(777),
7212
- Set = __webpack_require__(778),
7213
- WeakMap = __webpack_require__(779),
7214
- baseGetTag = __webpack_require__(50),
7215
- toSource = __webpack_require__(362);
7216
-
7217
- /** `Object#toString` result references. */
7218
- var mapTag = '[object Map]',
7219
- objectTag = '[object Object]',
7220
- promiseTag = '[object Promise]',
7221
- setTag = '[object Set]',
7222
- weakMapTag = '[object WeakMap]';
7223
-
7224
- var dataViewTag = '[object DataView]';
7225
-
7226
- /** Used to detect maps, sets, and weakmaps. */
7227
- var dataViewCtorString = toSource(DataView),
7228
- mapCtorString = toSource(Map),
7229
- promiseCtorString = toSource(Promise),
7230
- setCtorString = toSource(Set),
7231
- weakMapCtorString = toSource(WeakMap);
7232
-
7233
- /**
7234
- * Gets the `toStringTag` of `value`.
7235
- *
7236
- * @private
7237
- * @param {*} value The value to query.
7238
- * @returns {string} Returns the `toStringTag`.
7239
- */
7240
- var getTag = baseGetTag;
7241
-
7242
- // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
7243
- if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
7244
- (Map && getTag(new Map) != mapTag) ||
7245
- (Promise && getTag(Promise.resolve()) != promiseTag) ||
7246
- (Set && getTag(new Set) != setTag) ||
7247
- (WeakMap && getTag(new WeakMap) != weakMapTag)) {
7248
- getTag = function(value) {
7249
- var result = baseGetTag(value),
7250
- Ctor = result == objectTag ? value.constructor : undefined,
7251
- ctorString = Ctor ? toSource(Ctor) : '';
7252
-
7253
- if (ctorString) {
7254
- switch (ctorString) {
7255
- case dataViewCtorString: return dataViewTag;
7256
- case mapCtorString: return mapTag;
7257
- case promiseCtorString: return promiseTag;
7258
- case setCtorString: return setTag;
7259
- case weakMapCtorString: return weakMapTag;
7260
- }
7261
- }
7262
- return result;
7263
- };
7264
- }
7265
-
7266
- module.exports = getTag;
7267
-
7268
-
7269
- /***/ }),
7270
- /* 111 */
7271
- /***/ (function(module, exports, __webpack_require__) {
7272
-
7273
- var baseGetTag = __webpack_require__(50),
7274
- isObjectLike = __webpack_require__(35);
7275
-
7276
- /** `Object#toString` result references. */
7277
- var symbolTag = '[object Symbol]';
7278
-
7279
- /**
7280
- * Checks if `value` is classified as a `Symbol` primitive or object.
7281
- *
7282
- * @static
7283
- * @memberOf _
7284
- * @since 4.0.0
7285
- * @category Lang
7286
- * @param {*} value The value to check.
7287
- * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
7288
- * @example
7289
- *
7290
- * _.isSymbol(Symbol.iterator);
7291
- * // => true
7292
- *
7293
- * _.isSymbol('abc');
7294
- * // => false
7295
- */
7296
- function isSymbol(value) {
7297
- return typeof value == 'symbol' ||
7298
- (isObjectLike(value) && baseGetTag(value) == symbolTag);
7299
- }
7300
-
7301
- module.exports = isSymbol;
7302
-
7303
-
7304
- /***/ }),
7305
- /* 112 */
7306
- /***/ (function(module, exports, __webpack_require__) {
7307
-
7308
- var isSymbol = __webpack_require__(111);
7309
-
7310
- /** Used as references for various `Number` constants. */
7311
- var INFINITY = 1 / 0;
7312
-
7313
- /**
7314
- * Converts `value` to a string key if it's not a string or symbol.
7315
- *
7316
- * @private
7317
- * @param {*} value The value to inspect.
7318
- * @returns {string|symbol} Returns the key.
7319
- */
7320
- function toKey(value) {
7321
- if (typeof value == 'string' || isSymbol(value)) {
7322
- return value;
7323
- }
7324
- var result = (value + '');
7325
- return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
7326
- }
7327
-
7328
- module.exports = toKey;
7329
-
7330
-
7331
- /***/ }),
7332
- /* 113 */
7333
- /***/ (function(module, exports, __webpack_require__) {
7334
-
7335
- var arrayLikeKeys = __webpack_require__(357),
7336
- baseKeysIn = __webpack_require__(801),
7337
- isArrayLike = __webpack_require__(63);
7338
-
7339
- /**
7340
- * Creates an array of the own and inherited enumerable property names of `object`.
7341
- *
7342
- * **Note:** Non-object values are coerced to objects.
7343
- *
7344
- * @static
7345
- * @memberOf _
7346
- * @since 3.0.0
7347
- * @category Object
7348
- * @param {Object} object The object to query.
7349
- * @returns {Array} Returns the array of property names.
7350
- * @example
7351
- *
7352
- * function Foo() {
7353
- * this.a = 1;
7354
- * this.b = 2;
7355
- * }
7356
- *
7357
- * Foo.prototype.c = 3;
7358
- *
7359
- * _.keysIn(new Foo);
7360
- * // => ['a', 'b', 'c'] (iteration order is not guaranteed)
7361
- */
7362
- function keysIn(object) {
7363
- return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
7364
- }
7365
-
7366
- module.exports = keysIn;
7367
-
7368
-
7369
- /***/ }),
7370
- /* 114 */
7371
- /***/ (function(module, exports, __webpack_require__) {
7372
-
7373
- "use strict";
7374
- /* WEBPACK VAR INJECTION */(function(process) {/**
7375
- * Copyright (c) 2013-present, Facebook, Inc.
7376
- *
7377
- * This source code is licensed under the MIT license found in the
7378
- * LICENSE file in the root directory of this source tree.
7379
- */
7380
-
7381
-
7382
-
7383
- var printWarning = function() {};
7384
-
7385
- if (process.env.NODE_ENV !== 'production') {
7386
- var ReactPropTypesSecret = __webpack_require__(115);
7387
- var loggedTypeFailures = {};
7388
- var has = Function.call.bind(Object.prototype.hasOwnProperty);
7389
-
7390
- printWarning = function(text) {
7391
- var message = 'Warning: ' + text;
7392
- if (typeof console !== 'undefined') {
7393
- console.error(message);
7394
- }
7395
- try {
7396
- // --- Welcome to debugging React ---
7397
- // This error was thrown as a convenience so that you can use this stack
7398
- // to find the callsite that caused this warning to fire.
7399
- throw new Error(message);
7400
- } catch (x) {}
7401
- };
7402
- }
7403
-
7404
- /**
7405
- * Assert that the values match with the type specs.
7406
- * Error messages are memorized and will only be shown once.
7407
- *
7408
- * @param {object} typeSpecs Map of name to a ReactPropType
7409
- * @param {object} values Runtime values that need to be type-checked
7410
- * @param {string} location e.g. "prop", "context", "child context"
7411
- * @param {string} componentName Name of the component for error messages.
7412
- * @param {?Function} getStack Returns the component stack.
7413
- * @private
7414
- */
7415
- function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
7416
- if (process.env.NODE_ENV !== 'production') {
7417
- for (var typeSpecName in typeSpecs) {
7418
- if (has(typeSpecs, typeSpecName)) {
7419
- var error;
7420
- // Prop type validation may throw. In case they do, we don't want to
7421
- // fail the render phase where it didn't fail before. So we log it.
7422
- // After these have been cleaned up, we'll let them throw.
7423
- try {
7424
- // This is intentionally an invariant that gets caught. It's the same
7425
- // behavior as without this statement except with a better message.
7426
- if (typeof typeSpecs[typeSpecName] !== 'function') {
7427
- var err = Error(
7428
- (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
7429
- 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'
7430
- );
7431
- err.name = 'Invariant Violation';
7432
- throw err;
7433
- }
7434
- error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
7435
- } catch (ex) {
7436
- error = ex;
7437
- }
7438
- if (error && !(error instanceof Error)) {
7439
- printWarning(
7440
- (componentName || 'React class') + ': type specification of ' +
7441
- location + ' `' + typeSpecName + '` is invalid; the type checker ' +
7442
- 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +
7443
- 'You may have forgotten to pass an argument to the type checker ' +
7444
- 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +
7445
- 'shape all require an argument).'
7446
- );
7447
- }
7448
- if (error instanceof Error && !(error.message in loggedTypeFailures)) {
7449
- // Only monitor this failure once because there tends to be a lot of the
7450
- // same error.
7451
- loggedTypeFailures[error.message] = true;
7452
-
7453
- var stack = getStack ? getStack() : '';
7454
-
7455
- printWarning(
7456
- 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')
7457
- );
7458
- }
7459
- }
7460
- }
7461
- }
7462
- }
7463
-
7464
- /**
7465
- * Resets warning cache when testing.
7466
- *
7467
- * @private
7468
- */
7469
- checkPropTypes.resetWarningCache = function() {
7470
- if (process.env.NODE_ENV !== 'production') {
7471
- loggedTypeFailures = {};
7472
- }
7473
- }
7474
-
7475
- module.exports = checkPropTypes;
7476
-
7477
- /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
7478
-
7479
- /***/ }),
7480
- /* 115 */
7481
- /***/ (function(module, exports, __webpack_require__) {
7482
-
7483
- "use strict";
7484
- /**
7485
- * Copyright (c) 2013-present, Facebook, Inc.
7486
- *
7487
- * This source code is licensed under the MIT license found in the
7488
- * LICENSE file in the root directory of this source tree.
7489
- */
7490
-
7491
-
7492
-
7493
- var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
7494
-
7495
- module.exports = ReactPropTypesSecret;
7496
-
7497
-
7498
- /***/ }),
7499
- /* 116 */
7500
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
7501
-
7502
- "use strict";
7503
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react_router_es_Router__ = __webpack_require__(117);
7504
- // Written in this round about way for babel-transform-imports
7505
-
7506
-
7507
- /* harmony default export */ __webpack_exports__["a"] = (__WEBPACK_IMPORTED_MODULE_0_react_router_es_Router__["a" /* default */]);
7508
-
7509
- /***/ }),
7510
- /* 117 */
7511
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
7512
-
7513
- "use strict";
7514
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_warning__ = __webpack_require__(40);
7515
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_warning___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_warning__);
7516
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_invariant__ = __webpack_require__(44);
7517
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_invariant___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_invariant__);
7518
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react__ = __webpack_require__(0);
7519
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react__);
7520
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types__ = __webpack_require__(2);
7521
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_prop_types__);
7522
- 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; };
7523
-
7524
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
7525
-
7526
- 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; }
7527
-
7528
- 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; }
7529
-
7530
-
7531
-
7532
-
7533
-
7534
-
7535
- /**
7536
- * The public API for putting history on context.
7537
- */
7538
-
7539
- var Router = function (_React$Component) {
7540
- _inherits(Router, _React$Component);
7541
-
7542
- function Router() {
7543
- var _temp, _this, _ret;
7544
-
7545
- _classCallCheck(this, Router);
7546
-
7547
- for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
7548
- args[_key] = arguments[_key];
7549
- }
7550
-
7551
- return _ret = (_temp = (_this = _possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.state = {
7552
- match: _this.computeMatch(_this.props.history.location.pathname)
7553
- }, _temp), _possibleConstructorReturn(_this, _ret);
7554
- }
7555
-
7556
- Router.prototype.getChildContext = function getChildContext() {
7557
- return {
7558
- router: _extends({}, this.context.router, {
7559
- history: this.props.history,
7560
- route: {
7561
- location: this.props.history.location,
7562
- match: this.state.match
7563
- }
7564
- })
7565
- };
7566
- };
7567
-
7568
- Router.prototype.computeMatch = function computeMatch(pathname) {
7569
- return {
7570
- path: "/",
7571
- url: "/",
7572
- params: {},
7573
- isExact: pathname === "/"
7574
- };
7575
- };
7576
-
7577
- Router.prototype.componentWillMount = function componentWillMount() {
7578
- var _this2 = this;
7579
-
7580
- var _props = this.props,
7581
- children = _props.children,
7582
- history = _props.history;
7583
-
7584
-
7585
- __WEBPACK_IMPORTED_MODULE_1_invariant___default()(children == null || __WEBPACK_IMPORTED_MODULE_2_react___default.a.Children.count(children) === 1, "A <Router> may have only one child element");
7586
-
7587
- // Do this here so we can setState when a <Redirect> changes the
7588
- // location in componentWillMount. This happens e.g. when doing
7589
- // server rendering using a <StaticRouter>.
7590
- this.unlisten = history.listen(function () {
7591
- _this2.setState({
7592
- match: _this2.computeMatch(history.location.pathname)
7593
- });
7594
- });
7595
- };
7596
-
7597
- Router.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
7598
- __WEBPACK_IMPORTED_MODULE_0_warning___default()(this.props.history === nextProps.history, "You cannot change <Router history>");
7599
- };
7600
-
7601
- Router.prototype.componentWillUnmount = function componentWillUnmount() {
7602
- this.unlisten();
7603
- };
7604
-
7605
- Router.prototype.render = function render() {
7606
- var children = this.props.children;
7607
-
7608
- return children ? __WEBPACK_IMPORTED_MODULE_2_react___default.a.Children.only(children) : null;
7609
- };
7610
-
7611
- return Router;
7612
- }(__WEBPACK_IMPORTED_MODULE_2_react___default.a.Component);
7613
-
7614
- Router.propTypes = {
7615
- history: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object.isRequired,
7616
- children: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.node
7617
- };
7618
- Router.contextTypes = {
7619
- router: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object
7620
- };
7621
- Router.childContextTypes = {
7622
- router: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object.isRequired
7623
- };
7624
-
7625
-
7626
- /* harmony default export */ __webpack_exports__["a"] = (Router);
7627
-
7628
- /***/ }),
7629
- /* 118 */
7630
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
7631
-
7632
- "use strict";
7633
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_path_to_regexp__ = __webpack_require__(188);
7634
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_path_to_regexp___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_path_to_regexp__);
7635
-
7636
-
7637
- var patternCache = {};
7638
- var cacheLimit = 10000;
7639
- var cacheCount = 0;
7640
-
7641
- var compilePath = function compilePath(pattern, options) {
7642
- var cacheKey = "" + options.end + options.strict + options.sensitive;
7643
- var cache = patternCache[cacheKey] || (patternCache[cacheKey] = {});
7644
-
7645
- if (cache[pattern]) return cache[pattern];
7646
-
7647
- var keys = [];
7648
- var re = __WEBPACK_IMPORTED_MODULE_0_path_to_regexp___default()(pattern, keys, options);
7649
- var compiledPattern = { re: re, keys: keys };
7650
-
7651
- if (cacheCount < cacheLimit) {
7652
- cache[pattern] = compiledPattern;
7653
- cacheCount++;
7654
- }
7655
-
7656
- return compiledPattern;
7657
- };
7658
-
7659
- /**
7660
- * Public API for matching a URL pathname to a path pattern.
7661
- */
7662
- var matchPath = function matchPath(pathname) {
7663
- var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
7664
- var parent = arguments[2];
7665
-
7666
- if (typeof options === "string") options = { path: options };
7667
-
7668
- var _options = options,
7669
- path = _options.path,
7670
- _options$exact = _options.exact,
7671
- exact = _options$exact === undefined ? false : _options$exact,
7672
- _options$strict = _options.strict,
7673
- strict = _options$strict === undefined ? false : _options$strict,
7674
- _options$sensitive = _options.sensitive,
7675
- sensitive = _options$sensitive === undefined ? false : _options$sensitive;
7676
-
7677
-
7678
- if (path == null) return parent;
7679
-
7680
- var _compilePath = compilePath(path, { end: exact, strict: strict, sensitive: sensitive }),
7681
- re = _compilePath.re,
7682
- keys = _compilePath.keys;
7683
-
7684
- var match = re.exec(pathname);
7685
-
7686
- if (!match) return null;
7687
-
7688
- var url = match[0],
7689
- values = match.slice(1);
7690
-
7691
- var isExact = pathname === url;
7692
-
7693
- if (exact && !isExact) return null;
7694
-
7695
- return {
7696
- path: path, // the path pattern used to match
7697
- url: path === "/" && url === "" ? "/" : url, // the matched portion of the URL
7698
- isExact: isExact, // whether or not we matched exactly
7699
- params: keys.reduce(function (memo, key, index) {
7700
- memo[key.name] = values[index];
7701
- return memo;
7702
- }, {})
7703
- };
7704
- };
7705
-
7706
- /* harmony default export */ __webpack_exports__["a"] = (matchPath);
7707
-
7708
- /***/ }),
7709
- /* 119 */
7710
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
7711
-
7712
- "use strict";
7713
- /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (immutable) */ __webpack_exports__["a"] = chainPropTypes;
7714
- function chainPropTypes(propType1, propType2) {
7715
- if (process.env.NODE_ENV === 'production') {
7716
- return function () {
7717
- return null;
7718
- };
7719
- }
7720
-
7721
- return function validate() {
7722
- return propType1.apply(void 0, arguments) || propType2.apply(void 0, arguments);
7723
- };
7724
- }
7725
- /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
7726
-
7727
- /***/ }),
7728
- /* 120 */
7729
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
7730
-
7731
- "use strict";
7732
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__getThemeProps__ = __webpack_require__(444);
7733
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__getThemeProps__["a"]; });
7734
-
7735
-
7736
- /***/ }),
7737
- /* 121 */
7738
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
7739
-
7740
- "use strict";
7741
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__jssPreset__ = __webpack_require__(445);
7742
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__jssPreset__["a"]; });
7743
-
7744
-
7745
- /***/ }),
7746
- /* 122 */
7747
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
7748
-
7749
- "use strict";
7750
- /* harmony export (immutable) */ __webpack_exports__["a"] = _assertThisInitialized;
7751
- function _assertThisInitialized(self) {
7752
- if (self === void 0) {
7753
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
7754
- }
7755
-
7756
- return self;
7757
- }
7758
-
7759
- /***/ }),
7760
- /* 123 */
7761
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
7762
-
7763
- "use strict";
7764
- /* harmony export (immutable) */ __webpack_exports__["a"] = _unsupportedIterableToArray;
7765
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__arrayLikeToArray__ = __webpack_require__(194);
7766
-
7767
- function _unsupportedIterableToArray(o, minLen) {
7768
- if (!o) return;
7769
- if (typeof o === "string") return Object(__WEBPACK_IMPORTED_MODULE_0__arrayLikeToArray__["a" /* default */])(o, minLen);
7770
- var n = Object.prototype.toString.call(o).slice(8, -1);
7771
- if (n === "Object" && o.constructor) n = o.constructor.name;
7772
- if (n === "Map" || n === "Set") return Array.from(o);
7773
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Object(__WEBPACK_IMPORTED_MODULE_0__arrayLikeToArray__["a" /* default */])(o, minLen);
7774
- }
7775
-
7776
- /***/ }),
7777
- /* 124 */
7778
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
7779
-
7780
- "use strict";
7781
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__mergeClasses__ = __webpack_require__(458);
7782
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__mergeClasses__["a"]; });
7783
-
7784
-
7785
- /***/ }),
7786
- /* 125 */
7787
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
7788
-
7789
- "use strict";
7790
- /* harmony export (immutable) */ __webpack_exports__["a"] = _classCallCheck;
7791
- function _classCallCheck(instance, Constructor) {
7792
- if (!(instance instanceof Constructor)) {
7793
- throw new TypeError("Cannot call a class as a function");
7794
- }
7795
- }
7796
-
7797
- /***/ }),
7798
- /* 126 */
7799
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
7800
-
7801
- "use strict";
7802
- /* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_defineProperty__ = __webpack_require__(16);
7803
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_objectWithoutProperties__ = __webpack_require__(4);
7804
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__material_ui_utils__ = __webpack_require__(7);
7805
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__createBreakpoints__ = __webpack_require__(205);
7806
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__createMixins__ = __webpack_require__(468);
7807
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__createPalette__ = __webpack_require__(469);
7808
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__createTypography__ = __webpack_require__(470);
7809
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__shadows__ = __webpack_require__(471);
7810
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__shape__ = __webpack_require__(472);
7811
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__createSpacing__ = __webpack_require__(473);
7812
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__transitions__ = __webpack_require__(34);
7813
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__zIndex__ = __webpack_require__(226);
7814
-
7815
-
7816
-
7817
-
7818
-
7819
-
7820
-
7821
-
7822
-
7823
-
7824
-
7825
-
7826
-
7827
- function createMuiTheme() {
7828
- var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
7829
-
7830
- var _options$breakpoints = options.breakpoints,
7831
- breakpointsInput = _options$breakpoints === void 0 ? {} : _options$breakpoints,
7832
- _options$mixins = options.mixins,
7833
- mixinsInput = _options$mixins === void 0 ? {} : _options$mixins,
7834
- _options$palette = options.palette,
7835
- paletteInput = _options$palette === void 0 ? {} : _options$palette,
7836
- spacingInput = options.spacing,
7837
- _options$typography = options.typography,
7838
- typographyInput = _options$typography === void 0 ? {} : _options$typography,
7839
- other = Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_objectWithoutProperties__["a" /* default */])(options, ["breakpoints", "mixins", "palette", "spacing", "typography"]);
7840
-
7841
- var palette = Object(__WEBPACK_IMPORTED_MODULE_5__createPalette__["a" /* default */])(paletteInput);
7842
- var breakpoints = Object(__WEBPACK_IMPORTED_MODULE_3__createBreakpoints__["a" /* default */])(breakpointsInput);
7843
- var spacing = Object(__WEBPACK_IMPORTED_MODULE_9__createSpacing__["a" /* default */])(spacingInput);
7844
- var muiTheme = Object(__WEBPACK_IMPORTED_MODULE_2__material_ui_utils__["c" /* deepmerge */])({
7845
- breakpoints: breakpoints,
7846
- direction: 'ltr',
7847
- mixins: Object(__WEBPACK_IMPORTED_MODULE_4__createMixins__["a" /* default */])(breakpoints, spacing, mixinsInput),
7848
- overrides: {},
7849
- // Inject custom styles
7850
- palette: palette,
7851
- props: {},
7852
- // Provide default props
7853
- shadows: __WEBPACK_IMPORTED_MODULE_7__shadows__["a" /* default */],
7854
- typography: Object(__WEBPACK_IMPORTED_MODULE_6__createTypography__["a" /* default */])(palette, typographyInput),
7855
- spacing: spacing,
7856
- shape: __WEBPACK_IMPORTED_MODULE_8__shape__["a" /* default */],
7857
- transitions: __WEBPACK_IMPORTED_MODULE_10__transitions__["a" /* default */],
7858
- zIndex: __WEBPACK_IMPORTED_MODULE_11__zIndex__["a" /* default */]
7859
- }, other);
7860
-
7861
- for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
7862
- args[_key - 1] = arguments[_key];
7863
- }
7864
-
7865
- muiTheme = args.reduce(function (acc, argument) {
7866
- return Object(__WEBPACK_IMPORTED_MODULE_2__material_ui_utils__["c" /* deepmerge */])(acc, argument);
7867
- }, muiTheme);
7868
-
7869
- if (process.env.NODE_ENV !== 'production') {
7870
- var pseudoClasses = ['checked', 'disabled', 'error', 'focused', 'focusVisible', 'required', 'expanded', 'selected'];
7871
-
7872
- var traverse = function traverse(node, parentKey) {
7873
- var depth = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;
7874
- var key; // eslint-disable-next-line guard-for-in, no-restricted-syntax
7875
-
7876
- for (key in node) {
7877
- var child = node[key];
7878
-
7879
- if (depth === 1) {
7880
- if (key.indexOf('Mui') === 0 && child) {
7881
- traverse(child, key, depth + 1);
7882
- }
7883
- } else if (pseudoClasses.indexOf(key) !== -1 && Object.keys(child).length > 0) {
7884
- if (process.env.NODE_ENV !== 'production') {
7885
- console.error(["Material-UI: The `".concat(parentKey, "` component increases ") + "the CSS specificity of the `".concat(key, "` internal state."), 'You can not override it like this: ', JSON.stringify(node, null, 2), '', 'Instead, you need to use the $ruleName syntax:', JSON.stringify({
7886
- root: Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_defineProperty__["a" /* default */])({}, "&$".concat(key), child)
7887
- }, null, 2), '', 'https://material-ui.com/r/pseudo-classes-guide'].join('\n'));
7888
- } // Remove the style to prevent global conflicts.
7889
-
7890
-
7891
- node[key] = {};
7892
- }
7893
- }
7894
- };
7895
-
7896
- traverse(muiTheme.overrides);
7897
- }
7898
-
7899
- return muiTheme;
7900
- }
7901
-
7902
- /* harmony default export */ __webpack_exports__["a"] = (createMuiTheme);
7903
- /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
7904
-
7905
- /***/ }),
7906
- /* 127 */
7907
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
7908
-
7909
- "use strict";
7910
- /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (immutable) */ __webpack_exports__["a"] = handleBreakpoints;
7911
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_toConsumableArray__ = __webpack_require__(32);
7912
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
7913
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_typeof__ = __webpack_require__(45);
7914
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types__ = __webpack_require__(2);
7915
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_prop_types__);
7916
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__merge__ = __webpack_require__(83);
7917
-
7918
-
7919
-
7920
-
7921
- // The breakpoint **start** at this value.
7922
- // For instance with the first breakpoint xs: [xs, sm[.
7923
-
7924
- var values = {
7925
- xs: 0,
7926
- sm: 600,
7927
- md: 960,
7928
- lg: 1280,
7929
- xl: 1920
7930
- };
7931
- var defaultBreakpoints = {
7932
- // Sorted ASC by size. That's important.
7933
- // It can't be configured as it's used statically for propTypes.
7934
- keys: ['xs', 'sm', 'md', 'lg', 'xl'],
7935
- up: function up(key) {
7936
- return "@media (min-width:".concat(values[key], "px)");
7937
- }
7938
- };
7939
- function handleBreakpoints(props, propValue, styleFromPropValue) {
7940
- if (process.env.NODE_ENV !== 'production') {
7941
- if (!props.theme) {
7942
- console.error('Material-UI: You are calling a style function without a theme value.');
7943
- }
7944
- }
7945
-
7946
- if (Array.isArray(propValue)) {
7947
- var themeBreakpoints = props.theme.breakpoints || defaultBreakpoints;
7948
- return propValue.reduce(function (acc, item, index) {
7949
- acc[themeBreakpoints.up(themeBreakpoints.keys[index])] = styleFromPropValue(propValue[index]);
7950
- return acc;
7951
- }, {});
7952
- }
7953
-
7954
- if (Object(__WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_typeof__["a" /* default */])(propValue) === 'object') {
7955
- var _themeBreakpoints = props.theme.breakpoints || defaultBreakpoints;
7956
-
7957
- return Object.keys(propValue).reduce(function (acc, breakpoint) {
7958
- acc[_themeBreakpoints.up(breakpoint)] = styleFromPropValue(propValue[breakpoint]);
7959
- return acc;
7960
- }, {});
7961
- }
7962
-
7963
- var output = styleFromPropValue(propValue);
7964
- return output;
7965
- }
7966
-
7967
- function breakpoints(styleFunction) {
7968
- var newStyleFunction = function newStyleFunction(props) {
7969
- var base = styleFunction(props);
7970
- var themeBreakpoints = props.theme.breakpoints || defaultBreakpoints;
7971
- var extended = themeBreakpoints.keys.reduce(function (acc, key) {
7972
- if (props[key]) {
7973
- acc = acc || {};
7974
- acc[themeBreakpoints.up(key)] = styleFunction(Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_extends__["a" /* default */])({
7975
- theme: props.theme
7976
- }, props[key]));
7977
- }
7978
-
7979
- return acc;
7980
- }, null);
7981
- return Object(__WEBPACK_IMPORTED_MODULE_4__merge__["a" /* default */])(base, extended);
7982
- };
7983
-
7984
- newStyleFunction.propTypes = process.env.NODE_ENV !== 'production' ? Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_extends__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_extends__["a" /* default */])({}, styleFunction.propTypes), {}, {
7985
- xs: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object,
7986
- sm: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object,
7987
- md: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object,
7988
- lg: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object,
7989
- xl: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object
7990
- }) : {};
7991
- newStyleFunction.filterProps = ['xs', 'sm', 'md', 'lg', 'xl'].concat(Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_toConsumableArray__["a" /* default */])(styleFunction.filterProps));
7992
- return newStyleFunction;
7993
- }
7994
-
7995
- /* unused harmony default export */ var _unused_webpack_default_export = (breakpoints);
7996
- /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
7997
-
7998
- /***/ }),
7999
- /* 128 */
8000
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
8001
-
8002
- "use strict";
8003
- /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CacheProvider; });
8004
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return ClassNames; });
8005
- /* unused harmony export Global */
8006
- /* unused harmony export ThemeContext */
8007
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return jsx; });
8008
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return keyframes; });
8009
- /* unused harmony export withEmotionCache */
8010
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_inheritsLoose__ = __webpack_require__(479);
8011
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_inheritsLoose___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_inheritsLoose__);
8012
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react__ = __webpack_require__(0);
8013
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_react__);
8014
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__emotion_cache__ = __webpack_require__(228);
8015
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__emotion_utils__ = __webpack_require__(482);
8016
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__emotion_serialize__ = __webpack_require__(230);
8017
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__emotion_sheet__ = __webpack_require__(229);
8018
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__emotion_css__ = __webpack_require__(65);
8019
- /* unused harmony reexport css */
8020
-
8021
-
8022
-
8023
-
8024
-
8025
-
8026
-
8027
-
8028
-
8029
- var EmotionCacheContext = Object(__WEBPACK_IMPORTED_MODULE_1_react__["createContext"])( // we're doing this to avoid preconstruct's dead code elimination in this one case
8030
- // because this module is primarily intended for the browser and node
8031
- // but it's also required in react native and similar environments sometimes
8032
- // and we could have a special build just for that
8033
- // but this is much easier and the native packages
8034
- // might use a different theme context in the future anyway
8035
- typeof HTMLElement !== 'undefined' ? Object(__WEBPACK_IMPORTED_MODULE_2__emotion_cache__["a" /* default */])() : null);
8036
- var ThemeContext = Object(__WEBPACK_IMPORTED_MODULE_1_react__["createContext"])({});
8037
- var CacheProvider = EmotionCacheContext.Provider;
8038
-
8039
- var withEmotionCache = function withEmotionCache(func) {
8040
- var render = function render(props, ref) {
8041
- return Object(__WEBPACK_IMPORTED_MODULE_1_react__["createElement"])(EmotionCacheContext.Consumer, null, function (cache) {
8042
- return func(props, cache, ref);
8043
- });
8044
- }; // $FlowFixMe
8045
-
8046
-
8047
- return Object(__WEBPACK_IMPORTED_MODULE_1_react__["forwardRef"])(render);
8048
- };
8049
-
8050
- // thus we only need to replace what is a valid character for JS, but not for CSS
8051
-
8052
- var sanitizeIdentifier = function sanitizeIdentifier(identifier) {
8053
- return identifier.replace(/\$/g, '-');
8054
- };
8055
-
8056
- var typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__';
8057
- var labelPropName = '__EMOTION_LABEL_PLEASE_DO_NOT_USE__';
8058
- var hasOwnProperty = Object.prototype.hasOwnProperty;
8059
-
8060
- var render = function render(cache, props, theme, ref) {
8061
- var cssProp = theme === null ? props.css : props.css(theme); // so that using `css` from `emotion` and passing the result to the css prop works
8062
- // not passing the registered cache to serializeStyles because it would
8063
- // make certain babel optimisations not possible
8064
-
8065
- if (typeof cssProp === 'string' && cache.registered[cssProp] !== undefined) {
8066
- cssProp = cache.registered[cssProp];
8067
- }
8068
-
8069
- var type = props[typePropName];
8070
- var registeredStyles = [cssProp];
8071
- var className = '';
8072
-
8073
- if (typeof props.className === 'string') {
8074
- className = Object(__WEBPACK_IMPORTED_MODULE_3__emotion_utils__["a" /* getRegisteredStyles */])(cache.registered, registeredStyles, props.className);
8075
- } else if (props.className != null) {
8076
- className = props.className + " ";
8077
- }
8078
-
8079
- var serialized = Object(__WEBPACK_IMPORTED_MODULE_4__emotion_serialize__["a" /* serializeStyles */])(registeredStyles);
8080
-
8081
- if (process.env.NODE_ENV !== 'production' && serialized.name.indexOf('-') === -1) {
8082
- var labelFromStack = props[labelPropName];
8083
-
8084
- if (labelFromStack) {
8085
- serialized = Object(__WEBPACK_IMPORTED_MODULE_4__emotion_serialize__["a" /* serializeStyles */])([serialized, 'label:' + labelFromStack + ';']);
8086
- }
8087
- }
8088
-
8089
- var rules = Object(__WEBPACK_IMPORTED_MODULE_3__emotion_utils__["b" /* insertStyles */])(cache, serialized, typeof type === 'string');
8090
- className += cache.key + "-" + serialized.name;
8091
- var newProps = {};
8092
-
8093
- for (var key in props) {
8094
- if (hasOwnProperty.call(props, key) && key !== 'css' && key !== typePropName && (process.env.NODE_ENV === 'production' || key !== labelPropName)) {
8095
- newProps[key] = props[key];
8096
- }
8097
- }
8098
-
8099
- newProps.ref = ref;
8100
- newProps.className = className;
8101
- var ele = Object(__WEBPACK_IMPORTED_MODULE_1_react__["createElement"])(type, newProps);
8102
-
8103
- return ele;
8104
- };
8105
-
8106
- var Emotion =
8107
- /* #__PURE__ */
8108
- withEmotionCache(function (props, cache, ref) {
8109
- // use Context.read for the theme when it's stable
8110
- if (typeof props.css === 'function') {
8111
- return Object(__WEBPACK_IMPORTED_MODULE_1_react__["createElement"])(ThemeContext.Consumer, null, function (theme) {
8112
- return render(cache, props, theme, ref);
8113
- });
8114
- }
8115
-
8116
- return render(cache, props, null, ref);
8117
- });
8118
-
8119
- if (process.env.NODE_ENV !== 'production') {
8120
- Emotion.displayName = 'EmotionCssPropInternal';
8121
- } // $FlowFixMe
8122
-
8123
-
8124
- var jsx = function jsx(type, props) {
8125
- var args = arguments;
8126
-
8127
- if (props == null || !hasOwnProperty.call(props, 'css')) {
8128
- // $FlowFixMe
8129
- return __WEBPACK_IMPORTED_MODULE_1_react__["createElement"].apply(undefined, args);
8130
- }
8131
-
8132
- if (process.env.NODE_ENV !== 'production' && typeof props.css === 'string' && // check if there is a css declaration
8133
- props.css.indexOf(':') !== -1) {
8134
- throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/css' like this: css`" + props.css + "`");
8135
- }
8136
-
8137
- var argsLength = args.length;
8138
- var createElementArgArray = new Array(argsLength);
8139
- createElementArgArray[0] = Emotion;
8140
- var newProps = {};
8141
-
8142
- for (var key in props) {
8143
- if (hasOwnProperty.call(props, key)) {
8144
- newProps[key] = props[key];
8145
- }
8146
- }
8147
-
8148
- newProps[typePropName] = type;
8149
-
8150
- if (process.env.NODE_ENV !== 'production') {
8151
- var error = new Error();
8152
-
8153
- if (error.stack) {
8154
- // chrome
8155
- var match = error.stack.match(/at (?:Object\.|)jsx.*\n\s+at ([A-Z][A-Za-z$]+) /);
8156
-
8157
- if (!match) {
8158
- // safari and firefox
8159
- match = error.stack.match(/.*\n([A-Z][A-Za-z$]+)@/);
8160
- }
8161
-
8162
- if (match) {
8163
- newProps[labelPropName] = sanitizeIdentifier(match[1]);
8164
- }
8165
- }
8166
- }
8167
-
8168
- createElementArgArray[1] = newProps;
8169
-
8170
- for (var i = 2; i < argsLength; i++) {
8171
- createElementArgArray[i] = args[i];
8172
- } // $FlowFixMe
8173
-
8174
-
8175
- return __WEBPACK_IMPORTED_MODULE_1_react__["createElement"].apply(null, createElementArgArray);
8176
- };
8177
-
8178
- var warnedAboutCssPropForGlobal = false;
8179
- var Global =
8180
- /* #__PURE__ */
8181
- withEmotionCache(function (props, cache) {
8182
- if (process.env.NODE_ENV !== 'production' && !warnedAboutCssPropForGlobal && ( // check for className as well since the user is
8183
- // probably using the custom createElement which
8184
- // means it will be turned into a className prop
8185
- // $FlowFixMe I don't really want to add it to the type since it shouldn't be used
8186
- props.className || props.css)) {
8187
- console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?");
8188
- warnedAboutCssPropForGlobal = true;
8189
- }
8190
-
8191
- var styles = props.styles;
8192
-
8193
- if (typeof styles === 'function') {
8194
- return Object(__WEBPACK_IMPORTED_MODULE_1_react__["createElement"])(ThemeContext.Consumer, null, function (theme) {
8195
- var serialized = Object(__WEBPACK_IMPORTED_MODULE_4__emotion_serialize__["a" /* serializeStyles */])([styles(theme)]);
8196
- return Object(__WEBPACK_IMPORTED_MODULE_1_react__["createElement"])(InnerGlobal, {
8197
- serialized: serialized,
8198
- cache: cache
8199
- });
8200
- });
8201
- }
8202
-
8203
- var serialized = Object(__WEBPACK_IMPORTED_MODULE_4__emotion_serialize__["a" /* serializeStyles */])([styles]);
8204
- return Object(__WEBPACK_IMPORTED_MODULE_1_react__["createElement"])(InnerGlobal, {
8205
- serialized: serialized,
8206
- cache: cache
8207
- });
8208
- });
8209
-
8210
- // maintain place over rerenders.
8211
- // initial render from browser, insertBefore context.sheet.tags[0] or if a style hasn't been inserted there yet, appendChild
8212
- // initial client-side render from SSR, use place of hydrating tag
8213
- var InnerGlobal =
8214
- /*#__PURE__*/
8215
- function (_React$Component) {
8216
- __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_inheritsLoose___default()(InnerGlobal, _React$Component);
8217
-
8218
- function InnerGlobal(props, context, updater) {
8219
- return _React$Component.call(this, props, context, updater) || this;
8220
- }
8221
-
8222
- var _proto = InnerGlobal.prototype;
8223
-
8224
- _proto.componentDidMount = function componentDidMount() {
8225
- this.sheet = new __WEBPACK_IMPORTED_MODULE_5__emotion_sheet__["a" /* StyleSheet */]({
8226
- key: this.props.cache.key + "-global",
8227
- nonce: this.props.cache.sheet.nonce,
8228
- container: this.props.cache.sheet.container
8229
- }); // $FlowFixMe
8230
-
8231
- var node = document.querySelector("style[data-emotion-" + this.props.cache.key + "=\"" + this.props.serialized.name + "\"]");
8232
-
8233
- if (node !== null) {
8234
- this.sheet.tags.push(node);
8235
- }
8236
-
8237
- if (this.props.cache.sheet.tags.length) {
8238
- this.sheet.before = this.props.cache.sheet.tags[0];
8239
- }
8240
-
8241
- this.insertStyles();
8242
- };
8243
-
8244
- _proto.componentDidUpdate = function componentDidUpdate(prevProps) {
8245
- if (prevProps.serialized.name !== this.props.serialized.name) {
8246
- this.insertStyles();
8247
- }
8248
- };
8249
-
8250
- _proto.insertStyles = function insertStyles$1() {
8251
- if (this.props.serialized.next !== undefined) {
8252
- // insert keyframes
8253
- Object(__WEBPACK_IMPORTED_MODULE_3__emotion_utils__["b" /* insertStyles */])(this.props.cache, this.props.serialized.next, true);
8254
- }
8255
-
8256
- if (this.sheet.tags.length) {
8257
- // if this doesn't exist then it will be null so the style element will be appended
8258
- var element = this.sheet.tags[this.sheet.tags.length - 1].nextElementSibling;
8259
- this.sheet.before = element;
8260
- this.sheet.flush();
8261
- }
8262
-
8263
- this.props.cache.insert("", this.props.serialized, this.sheet, false);
8264
- };
8265
-
8266
- _proto.componentWillUnmount = function componentWillUnmount() {
8267
- this.sheet.flush();
8268
- };
8269
-
8270
- _proto.render = function render() {
8271
-
8272
- return null;
8273
- };
8274
-
8275
- return InnerGlobal;
8276
- }(__WEBPACK_IMPORTED_MODULE_1_react__["Component"]);
8277
-
8278
- var keyframes = function keyframes() {
8279
- var insertable = __WEBPACK_IMPORTED_MODULE_6__emotion_css__["a" /* default */].apply(void 0, arguments);
8280
- var name = "animation-" + insertable.name; // $FlowFixMe
8281
-
8282
- return {
8283
- name: name,
8284
- styles: "@keyframes " + name + "{" + insertable.styles + "}",
8285
- anim: 1,
8286
- toString: function toString() {
8287
- return "_EMO_" + this.name + "_" + this.styles + "_EMO_";
8288
- }
8289
- };
8290
- };
8291
-
8292
- var classnames = function classnames(args) {
8293
- var len = args.length;
8294
- var i = 0;
8295
- var cls = '';
8296
-
8297
- for (; i < len; i++) {
8298
- var arg = args[i];
8299
- if (arg == null) continue;
8300
- var toAdd = void 0;
8301
-
8302
- switch (typeof arg) {
8303
- case 'boolean':
8304
- break;
8305
-
8306
- case 'object':
8307
- {
8308
- if (Array.isArray(arg)) {
8309
- toAdd = classnames(arg);
8310
- } else {
8311
- toAdd = '';
8312
-
8313
- for (var k in arg) {
8314
- if (arg[k] && k) {
8315
- toAdd && (toAdd += ' ');
8316
- toAdd += k;
8317
- }
8318
- }
8319
- }
8320
-
8321
- break;
8322
- }
8323
-
8324
- default:
8325
- {
8326
- toAdd = arg;
8327
- }
8328
- }
8329
-
8330
- if (toAdd) {
8331
- cls && (cls += ' ');
8332
- cls += toAdd;
8333
- }
8334
- }
8335
-
8336
- return cls;
8337
- };
8338
-
8339
- function merge(registered, css, className) {
8340
- var registeredStyles = [];
8341
- var rawClassName = Object(__WEBPACK_IMPORTED_MODULE_3__emotion_utils__["a" /* getRegisteredStyles */])(registered, registeredStyles, className);
8342
-
8343
- if (registeredStyles.length < 2) {
8344
- return className;
8345
- }
8346
-
8347
- return rawClassName + css(registeredStyles);
8348
- }
8349
-
8350
- var ClassNames = withEmotionCache(function (props, context) {
8351
- return Object(__WEBPACK_IMPORTED_MODULE_1_react__["createElement"])(ThemeContext.Consumer, null, function (theme) {
8352
- var hasRendered = false;
8353
-
8354
- var css = function css() {
8355
- if (hasRendered && process.env.NODE_ENV !== 'production') {
8356
- throw new Error('css can only be used during render');
8357
- }
8358
-
8359
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
8360
- args[_key] = arguments[_key];
8361
- }
8362
-
8363
- var serialized = Object(__WEBPACK_IMPORTED_MODULE_4__emotion_serialize__["a" /* serializeStyles */])(args, context.registered);
8364
-
8365
- {
8366
- Object(__WEBPACK_IMPORTED_MODULE_3__emotion_utils__["b" /* insertStyles */])(context, serialized, false);
8367
- }
8368
-
8369
- return context.key + "-" + serialized.name;
8370
- };
8371
-
8372
- var cx = function cx() {
8373
- if (hasRendered && process.env.NODE_ENV !== 'production') {
8374
- throw new Error('cx can only be used during render');
8375
- }
8376
-
8377
- for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
8378
- args[_key2] = arguments[_key2];
8379
- }
8380
-
8381
- return merge(context.registered, css, classnames(args));
8382
- };
8383
-
8384
- var content = {
8385
- css: css,
8386
- cx: cx,
8387
- theme: theme
8388
- };
8389
- var ele = props.children(content);
8390
- hasRendered = true;
8391
-
8392
- return ele;
8393
- });
8394
- });
8395
-
8396
-
8397
-
8398
- /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
8399
-
8400
- /***/ }),
8401
- /* 129 */
8402
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
8403
-
8404
- "use strict";
8405
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return getScrollParent; });
8406
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return getScrollTop; });
8407
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return animatedScrollTo; });
8408
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return isMobileDevice; });
8409
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return cleanValue; });
8410
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return scrollIntoView; });
8411
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return getBoundingClientObj; });
8412
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return classNames; });
8413
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return isTouchCapable; });
8414
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return isDocumentElement; });
8415
- /* unused harmony export k */
8416
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return noop; });
8417
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return scrollTo; });
8418
- // ==============================
8419
- // NO OP
8420
- // ==============================
8421
- var noop = function noop() {};
8422
- // Class Name Prefixer
8423
- // ==============================
8424
-
8425
- /**
8426
- String representation of component state for styling with class names.
8427
-
8428
- Expects an array of strings OR a string/object pair:
8429
- - className(['comp', 'comp-arg', 'comp-arg-2'])
8430
- @returns 'react-select__comp react-select__comp-arg react-select__comp-arg-2'
8431
- - className('comp', { some: true, state: false })
8432
- @returns 'react-select__comp react-select__comp--some'
8433
- */
8434
-
8435
- function applyPrefixToName(prefix, name) {
8436
- if (!name) {
8437
- return prefix;
8438
- } else if (name[0] === '-') {
8439
- return prefix + name;
8440
- } else {
8441
- return prefix + '__' + name;
8442
- }
8443
- }
8444
-
8445
- function classNames(prefix, state, className) {
8446
- var arr = [className];
8447
-
8448
- if (state && prefix) {
8449
- for (var key in state) {
8450
- if (state.hasOwnProperty(key) && state[key]) {
8451
- arr.push("" + applyPrefixToName(prefix, key));
8452
- }
8453
- }
8454
- }
8455
-
8456
- return arr.filter(function (i) {
8457
- return i;
8458
- }).map(function (i) {
8459
- return String(i).trim();
8460
- }).join(' ');
8461
- } // ==============================
8462
- // Clean Value
8463
- // ==============================
8464
-
8465
- var cleanValue = function cleanValue(value) {
8466
- if (Array.isArray(value)) return value.filter(Boolean);
8467
- if (typeof value === 'object' && value !== null) return [value];
8468
- return [];
8469
- }; // ==============================
8470
- // Handle Input Change
8471
- // ==============================
8472
-
8473
- function handleInputChange(inputValue, actionMeta, onInputChange) {
8474
- if (onInputChange) {
8475
- var newValue = onInputChange(inputValue, actionMeta);
8476
- if (typeof newValue === 'string') return newValue;
8477
- }
8478
-
8479
- return inputValue;
8480
- } // ==============================
8481
- // Scroll Helpers
8482
- // ==============================
8483
-
8484
- function isDocumentElement(el) {
8485
- return [document.documentElement, document.body, window].indexOf(el) > -1;
8486
- } // Normalized Scroll Top
8487
- // ------------------------------
8488
-
8489
- function getScrollTop(el) {
8490
- if (isDocumentElement(el)) {
8491
- return window.pageYOffset;
8492
- }
8493
-
8494
- return el.scrollTop;
8495
- }
8496
- function scrollTo(el, top) {
8497
- // with a scroll distance, we perform scroll on the element
8498
- if (isDocumentElement(el)) {
8499
- window.scrollTo(0, top);
8500
- return;
8501
- }
8502
-
8503
- el.scrollTop = top;
8504
- } // Get Scroll Parent
8505
- // ------------------------------
8506
-
8507
- function getScrollParent(element) {
8508
- var style = getComputedStyle(element);
8509
- var excludeStaticParent = style.position === 'absolute';
8510
- var overflowRx = /(auto|scroll)/;
8511
- var docEl = document.documentElement; // suck it, flow...
8512
-
8513
- if (style.position === 'fixed') return docEl;
8514
-
8515
- for (var parent = element; parent = parent.parentElement;) {
8516
- style = getComputedStyle(parent);
8517
-
8518
- if (excludeStaticParent && style.position === 'static') {
8519
- continue;
8520
- }
8521
-
8522
- if (overflowRx.test(style.overflow + style.overflowY + style.overflowX)) {
8523
- return parent;
8524
- }
8525
- }
8526
-
8527
- return docEl;
8528
- } // Animated Scroll To
8529
- // ------------------------------
8530
-
8531
- /**
8532
- @param t: time (elapsed)
8533
- @param b: initial value
8534
- @param c: amount of change
8535
- @param d: duration
8536
- */
8537
-
8538
- function easeOutCubic(t, b, c, d) {
8539
- return c * ((t = t / d - 1) * t * t + 1) + b;
8540
- }
8541
-
8542
- function animatedScrollTo(element, to, duration, callback) {
8543
- if (duration === void 0) {
8544
- duration = 200;
8545
- }
8546
-
8547
- if (callback === void 0) {
8548
- callback = noop;
8549
- }
8550
-
8551
- var start = getScrollTop(element);
8552
- var change = to - start;
8553
- var increment = 10;
8554
- var currentTime = 0;
8555
-
8556
- function animateScroll() {
8557
- currentTime += increment;
8558
- var val = easeOutCubic(currentTime, start, change, duration);
8559
- scrollTo(element, val);
8560
-
8561
- if (currentTime < duration) {
8562
- window.requestAnimationFrame(animateScroll);
8563
- } else {
8564
- callback(element);
8565
- }
8566
- }
8567
-
8568
- animateScroll();
8569
- } // Scroll Into View
8570
- // ------------------------------
8571
-
8572
- function scrollIntoView(menuEl, focusedEl) {
8573
- var menuRect = menuEl.getBoundingClientRect();
8574
- var focusedRect = focusedEl.getBoundingClientRect();
8575
- var overScroll = focusedEl.offsetHeight / 3;
8576
-
8577
- if (focusedRect.bottom + overScroll > menuRect.bottom) {
8578
- scrollTo(menuEl, Math.min(focusedEl.offsetTop + focusedEl.clientHeight - menuEl.offsetHeight + overScroll, menuEl.scrollHeight));
8579
- } else if (focusedRect.top - overScroll < menuRect.top) {
8580
- scrollTo(menuEl, Math.max(focusedEl.offsetTop - overScroll, 0));
8581
- }
8582
- } // ==============================
8583
- // Get bounding client object
8584
- // ==============================
8585
- // cannot get keys using array notation with DOMRect
8586
-
8587
- function getBoundingClientObj(element) {
8588
- var rect = element.getBoundingClientRect();
8589
- return {
8590
- bottom: rect.bottom,
8591
- height: rect.height,
8592
- left: rect.left,
8593
- right: rect.right,
8594
- top: rect.top,
8595
- width: rect.width
8596
- };
8597
- }
8598
- // Touch Capability Detector
8599
- // ==============================
8600
-
8601
- function isTouchCapable() {
8602
- try {
8603
- document.createEvent('TouchEvent');
8604
- return true;
8605
- } catch (e) {
8606
- return false;
8607
- }
8608
- } // ==============================
8609
- // Mobile Device Detector
8610
- // ==============================
8611
-
8612
- function isMobileDevice() {
8613
- try {
8614
- return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IE
1
+ /******/ (function(modules) { // webpackBootstrap
2
+ /******/ // The module cache
3
+ /******/ var installedModules = {};
4
+ /******/
5
+ /******/ // The require function
6
+ /******/ function __webpack_require__(moduleId) {
7
+ /******/
8
+ /******/ // Check if module is in cache
9
+ /******/ if(installedModules[moduleId]) {
10
+ /******/ return installedModules[moduleId].exports;
11
+ /******/ }
12
+ /******/ // Create a new module (and put it into the cache)
13
+ /******/ var module = installedModules[moduleId] = {
14
+ /******/ i: moduleId,
15
+ /******/ l: false,
16
+ /******/ exports: {}
17
+ /******/ };
18
+ /******/
19
+ /******/ // Execute the module function
20
+ /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
21
+ /******/
22
+ /******/ // Flag the module as loaded
23
+ /******/ module.l = true;
24
+ /******/
25
+ /******/ // Return the exports of the module
26
+ /******/ return module.exports;
27
+ /******/ }
28
+ /******/
29
+ /******/
30
+ /******/ // expose the modules object (__webpack_modules__)
31
+ /******/ __webpack_require__.m = modules;
32
+ /******/
33
+ /******/ // expose the module cache
34
+ /******/ __webpack_require__.c = installedModules;
35
+ /******/
36
+ /******/ // define getter function for harmony exports
37
+ /******/ __webpack_require__.d = function(exports, name, getter) {
38
+ /******/ if(!__webpack_require__.o(exports, name)) {
39
+ /******/ Object.defineProperty(exports, name, {
40
+ /******/ configurable: false,
41
+ /******/ enumerable: true,
42
+ /******/ get: getter
43
+ /******/ });
44
+ /******/ }
45
+ /******/ };
46
+ /******/
47
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
48
+ /******/ __webpack_require__.n = function(module) {
49
+ /******/ var getter = module && module.__esModule ?
50
+ /******/ function getDefault() { return module['default']; } :
51
+ /******/ function getModuleExports() { return module; };
52
+ /******/ __webpack_require__.d(getter, 'a', getter);
53
+ /******/ return getter;
54
+ /******/ };
55
+ /******/
56
+ /******/ // Object.prototype.hasOwnProperty.call
57
+ /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
58
+ /******/
59
+ /******/ // __webpack_public_path__
60
+ /******/ __webpack_require__.p = "";
61
+ /******/
62
+ /******/ // Load entry module and return exports
63
+ /******/ return __webpack_require__(__webpack_require__.s = 388);
64
+ /******/ })
65
+ /************************************************************************/
66
+ /******/ ([
67
+ /* 0 */
68
+ /***/ (function(module, exports, __webpack_require__) {
69
+
70
+ "use strict";
71
+ /* WEBPACK VAR INJECTION */(function(process) {
72
+
73
+ if (process.env.NODE_ENV === 'production') {
74
+ module.exports = __webpack_require__(389);
75
+ } else {
76
+ module.exports = __webpack_require__(390);
77
+ }
78
+
79
+ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
80
+
81
+ /***/ }),
82
+ /* 1 */
83
+ /***/ (function(module, exports) {
84
+
85
+ // shim for using process in browser
86
+ var process = module.exports = {};
87
+
88
+ // cached from whatever global is present so that test runners that stub it
89
+ // don't break things. But we need to wrap it in a try catch in case it is
90
+ // wrapped in strict mode code which doesn't define any globals. It's inside a
91
+ // function because try/catches deoptimize in certain engines.
92
+
93
+ var cachedSetTimeout;
94
+ var cachedClearTimeout;
95
+
96
+ function defaultSetTimout() {
97
+ throw new Error('setTimeout has not been defined');
98
+ }
99
+ function defaultClearTimeout () {
100
+ throw new Error('clearTimeout has not been defined');
101
+ }
102
+ (function () {
103
+ try {
104
+ if (typeof setTimeout === 'function') {
105
+ cachedSetTimeout = setTimeout;
106
+ } else {
107
+ cachedSetTimeout = defaultSetTimout;
108
+ }
109
+ } catch (e) {
110
+ cachedSetTimeout = defaultSetTimout;
111
+ }
112
+ try {
113
+ if (typeof clearTimeout === 'function') {
114
+ cachedClearTimeout = clearTimeout;
115
+ } else {
116
+ cachedClearTimeout = defaultClearTimeout;
117
+ }
118
+ } catch (e) {
119
+ cachedClearTimeout = defaultClearTimeout;
120
+ }
121
+ } ())
122
+ function runTimeout(fun) {
123
+ if (cachedSetTimeout === setTimeout) {
124
+ //normal enviroments in sane situations
125
+ return setTimeout(fun, 0);
126
+ }
127
+ // if setTimeout wasn't available but was latter defined
128
+ if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
129
+ cachedSetTimeout = setTimeout;
130
+ return setTimeout(fun, 0);
131
+ }
132
+ try {
133
+ // when when somebody has screwed with setTimeout but no I.E. maddness
134
+ return cachedSetTimeout(fun, 0);
135
+ } catch(e){
136
+ try {
137
+ // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
138
+ return cachedSetTimeout.call(null, fun, 0);
139
+ } catch(e){
140
+ // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
141
+ return cachedSetTimeout.call(this, fun, 0);
142
+ }
143
+ }
144
+
145
+
146
+ }
147
+ function runClearTimeout(marker) {
148
+ if (cachedClearTimeout === clearTimeout) {
149
+ //normal enviroments in sane situations
150
+ return clearTimeout(marker);
151
+ }
152
+ // if clearTimeout wasn't available but was latter defined
153
+ if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
154
+ cachedClearTimeout = clearTimeout;
155
+ return clearTimeout(marker);
156
+ }
157
+ try {
158
+ // when when somebody has screwed with setTimeout but no I.E. maddness
159
+ return cachedClearTimeout(marker);
160
+ } catch (e){
161
+ try {
162
+ // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
163
+ return cachedClearTimeout.call(null, marker);
164
+ } catch (e){
165
+ // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
166
+ // Some versions of I.E. have different rules for clearTimeout vs setTimeout
167
+ return cachedClearTimeout.call(this, marker);
168
+ }
169
+ }
170
+
171
+
172
+
173
+ }
174
+ var queue = [];
175
+ var draining = false;
176
+ var currentQueue;
177
+ var queueIndex = -1;
178
+
179
+ function cleanUpNextTick() {
180
+ if (!draining || !currentQueue) {
181
+ return;
182
+ }
183
+ draining = false;
184
+ if (currentQueue.length) {
185
+ queue = currentQueue.concat(queue);
186
+ } else {
187
+ queueIndex = -1;
188
+ }
189
+ if (queue.length) {
190
+ drainQueue();
191
+ }
192
+ }
193
+
194
+ function drainQueue() {
195
+ if (draining) {
196
+ return;
197
+ }
198
+ var timeout = runTimeout(cleanUpNextTick);
199
+ draining = true;
200
+
201
+ var len = queue.length;
202
+ while(len) {
203
+ currentQueue = queue;
204
+ queue = [];
205
+ while (++queueIndex < len) {
206
+ if (currentQueue) {
207
+ currentQueue[queueIndex].run();
208
+ }
209
+ }
210
+ queueIndex = -1;
211
+ len = queue.length;
212
+ }
213
+ currentQueue = null;
214
+ draining = false;
215
+ runClearTimeout(timeout);
216
+ }
217
+
218
+ process.nextTick = function (fun) {
219
+ var args = new Array(arguments.length - 1);
220
+ if (arguments.length > 1) {
221
+ for (var i = 1; i < arguments.length; i++) {
222
+ args[i - 1] = arguments[i];
223
+ }
224
+ }
225
+ queue.push(new Item(fun, args));
226
+ if (queue.length === 1 && !draining) {
227
+ runTimeout(drainQueue);
228
+ }
229
+ };
230
+
231
+ // v8 likes predictible objects
232
+ function Item(fun, array) {
233
+ this.fun = fun;
234
+ this.array = array;
235
+ }
236
+ Item.prototype.run = function () {
237
+ this.fun.apply(null, this.array);
238
+ };
239
+ process.title = 'browser';
240
+ process.browser = true;
241
+ process.env = {};
242
+ process.argv = [];
243
+ process.version = ''; // empty string to avoid regexp issues
244
+ process.versions = {};
245
+
246
+ function noop() {}
247
+
248
+ process.on = noop;
249
+ process.addListener = noop;
250
+ process.once = noop;
251
+ process.off = noop;
252
+ process.removeListener = noop;
253
+ process.removeAllListeners = noop;
254
+ process.emit = noop;
255
+ process.prependListener = noop;
256
+ process.prependOnceListener = noop;
257
+
258
+ process.listeners = function (name) { return [] }
259
+
260
+ process.binding = function (name) {
261
+ throw new Error('process.binding is not supported');
262
+ };
263
+
264
+ process.cwd = function () { return '/' };
265
+ process.chdir = function (dir) {
266
+ throw new Error('process.chdir is not supported');
267
+ };
268
+ process.umask = function() { return 0; };
269
+
270
+
271
+ /***/ }),
272
+ /* 2 */
273
+ /***/ (function(module, exports, __webpack_require__) {
274
+
275
+ /* WEBPACK VAR INJECTION */(function(process) {/**
276
+ * Copyright (c) 2013-present, Facebook, Inc.
277
+ *
278
+ * This source code is licensed under the MIT license found in the
279
+ * LICENSE file in the root directory of this source tree.
280
+ */
281
+
282
+ if (process.env.NODE_ENV !== 'production') {
283
+ var ReactIs = __webpack_require__(15);
284
+
285
+ // By explicitly using `prop-types` you are opting into new development behavior.
286
+ // http://fb.me/prop-types-in-prod
287
+ var throwOnDirectAccess = true;
288
+ module.exports = __webpack_require__(401)(ReactIs.isElement, throwOnDirectAccess);
289
+ } else {
290
+ // By explicitly using `prop-types` you are opting into new production behavior.
291
+ // http://fb.me/prop-types-in-prod
292
+ module.exports = __webpack_require__(402)();
293
+ }
294
+
295
+ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
296
+
297
+ /***/ }),
298
+ /* 3 */
299
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
300
+
301
+ "use strict";
302
+ /* harmony export (immutable) */ __webpack_exports__["a"] = _extends;
303
+ function _extends() {
304
+ _extends = Object.assign || function (target) {
305
+ for (var i = 1; i < arguments.length; i++) {
306
+ var source = arguments[i];
307
+
308
+ for (var key in source) {
309
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
310
+ target[key] = source[key];
311
+ }
312
+ }
313
+ }
314
+
315
+ return target;
316
+ };
317
+
318
+ return _extends.apply(this, arguments);
319
+ }
320
+
321
+ /***/ }),
322
+ /* 4 */
323
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
324
+
325
+ "use strict";
326
+ /* harmony export (immutable) */ __webpack_exports__["a"] = _objectWithoutProperties;
327
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__objectWithoutPropertiesLoose__ = __webpack_require__(54);
328
+
329
+ function _objectWithoutProperties(source, excluded) {
330
+ if (source == null) return {};
331
+ var target = Object(__WEBPACK_IMPORTED_MODULE_0__objectWithoutPropertiesLoose__["a" /* default */])(source, excluded);
332
+ var key, i;
333
+
334
+ if (Object.getOwnPropertySymbols) {
335
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
336
+
337
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
338
+ key = sourceSymbolKeys[i];
339
+ if (excluded.indexOf(key) >= 0) continue;
340
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
341
+ target[key] = source[key];
342
+ }
343
+ }
344
+
345
+ return target;
346
+ }
347
+
348
+ /***/ }),
349
+ /* 5 */
350
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
351
+
352
+ "use strict";
353
+ function toVal(mix) {
354
+ var k, y, str='';
355
+
356
+ if (typeof mix === 'string' || typeof mix === 'number') {
357
+ str += mix;
358
+ } else if (typeof mix === 'object') {
359
+ if (Array.isArray(mix)) {
360
+ for (k=0; k < mix.length; k++) {
361
+ if (mix[k]) {
362
+ if (y = toVal(mix[k])) {
363
+ str && (str += ' ');
364
+ str += y;
365
+ }
366
+ }
367
+ }
368
+ } else {
369
+ for (k in mix) {
370
+ if (mix[k]) {
371
+ str && (str += ' ');
372
+ str += k;
373
+ }
374
+ }
375
+ }
376
+ }
377
+
378
+ return str;
379
+ }
380
+
381
+ /* harmony default export */ __webpack_exports__["a"] = (function () {
382
+ var i=0, tmp, x, str='';
383
+ while (i < arguments.length) {
384
+ if (tmp = arguments[i++]) {
385
+ if (x = toVal(tmp)) {
386
+ str && (str += ' ');
387
+ str += x
388
+ }
389
+ }
390
+ }
391
+ return str;
392
+ });
393
+
394
+
395
+ /***/ }),
396
+ /* 6 */
397
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
398
+
399
+ "use strict";
400
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
401
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__material_ui_styles__ = __webpack_require__(23);
402
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__defaultTheme__ = __webpack_require__(64);
403
+
404
+
405
+
406
+
407
+ function withStyles(stylesOrCreator, options) {
408
+ return Object(__WEBPACK_IMPORTED_MODULE_1__material_ui_styles__["g" /* withStyles */])(stylesOrCreator, Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({
409
+ defaultTheme: __WEBPACK_IMPORTED_MODULE_2__defaultTheme__["a" /* default */]
410
+ }, options));
411
+ }
412
+
413
+ /* harmony default export */ __webpack_exports__["a"] = (withStyles);
414
+
415
+ /***/ }),
416
+ /* 7 */
417
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
418
+
419
+ "use strict";
420
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__chainPropTypes__ = __webpack_require__(119);
421
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_0__chainPropTypes__["a"]; });
422
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__deepmerge__ = __webpack_require__(433);
423
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_1__deepmerge__["a"]; });
424
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__elementAcceptingRef__ = __webpack_require__(434);
425
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return __WEBPACK_IMPORTED_MODULE_2__elementAcceptingRef__["a"]; });
426
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__elementTypeAcceptingRef__ = __webpack_require__(435);
427
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return __WEBPACK_IMPORTED_MODULE_3__elementTypeAcceptingRef__["a"]; });
428
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__exactProp__ = __webpack_require__(436);
429
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return __WEBPACK_IMPORTED_MODULE_4__exactProp__["a"]; });
430
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__formatMuiErrorMessage__ = __webpack_require__(437);
431
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return __WEBPACK_IMPORTED_MODULE_5__formatMuiErrorMessage__["a"]; });
432
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__getDisplayName__ = __webpack_require__(438);
433
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return __WEBPACK_IMPORTED_MODULE_6__getDisplayName__["a"]; });
434
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__HTMLElementType__ = __webpack_require__(439);
435
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_7__HTMLElementType__["a"]; });
436
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__ponyfillGlobal__ = __webpack_require__(440);
437
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return __WEBPACK_IMPORTED_MODULE_8__ponyfillGlobal__["a"]; });
438
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__refType__ = __webpack_require__(441);
439
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return __WEBPACK_IMPORTED_MODULE_9__refType__["a"]; });
440
+ /** @license Material-UI v4.10.2
441
+ *
442
+ * This source code is licensed under the MIT license found in the
443
+ * LICENSE file in the root directory of this source tree.
444
+ */
445
+
446
+
447
+
448
+
449
+
450
+
451
+
452
+
453
+
454
+
455
+
456
+ /***/ }),
457
+ /* 8 */
458
+ /***/ (function(module, exports, __webpack_require__) {
459
+
460
+ "use strict";
461
+
462
+
463
+ Object.defineProperty(exports, "__esModule", {
464
+ value: true
465
+ });
466
+ exports.ReactCSS = exports.loop = exports.handleActive = exports.handleHover = exports.hover = undefined;
467
+
468
+ var _flattenNames = __webpack_require__(725);
469
+
470
+ var _flattenNames2 = _interopRequireDefault(_flattenNames);
471
+
472
+ var _mergeClasses = __webpack_require__(796);
473
+
474
+ var _mergeClasses2 = _interopRequireDefault(_mergeClasses);
475
+
476
+ var _autoprefix = __webpack_require__(816);
477
+
478
+ var _autoprefix2 = _interopRequireDefault(_autoprefix);
479
+
480
+ var _hover2 = __webpack_require__(817);
481
+
482
+ var _hover3 = _interopRequireDefault(_hover2);
483
+
484
+ var _active = __webpack_require__(818);
485
+
486
+ var _active2 = _interopRequireDefault(_active);
487
+
488
+ var _loop2 = __webpack_require__(819);
489
+
490
+ var _loop3 = _interopRequireDefault(_loop2);
491
+
492
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
493
+
494
+ exports.hover = _hover3.default;
495
+ exports.handleHover = _hover3.default;
496
+ exports.handleActive = _active2.default;
497
+ exports.loop = _loop3.default;
498
+ var ReactCSS = exports.ReactCSS = function ReactCSS(classes) {
499
+ for (var _len = arguments.length, activations = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
500
+ activations[_key - 1] = arguments[_key];
501
+ }
502
+
503
+ var activeNames = (0, _flattenNames2.default)(activations);
504
+ var merged = (0, _mergeClasses2.default)(classes, activeNames);
505
+ return (0, _autoprefix2.default)(merged);
506
+ };
507
+
508
+ exports.default = ReactCSS;
509
+
510
+ /***/ }),
511
+ /* 9 */
512
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
513
+
514
+ "use strict";
515
+ /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (immutable) */ __webpack_exports__["a"] = capitalize;
516
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_ui_utils__ = __webpack_require__(7);
517
+
518
+ // It should to be noted that this function isn't equivalent to `text-transform: capitalize`.
519
+ //
520
+ // A strict capitalization should uppercase the first letter of each word a the sentence.
521
+ // We only handle the first word.
522
+ function capitalize(string) {
523
+ if (typeof string !== 'string') {
524
+ throw new Error(process.env.NODE_ENV !== "production" ? "Material-UI: capitalize(string) expects a string argument." : Object(__WEBPACK_IMPORTED_MODULE_0__material_ui_utils__["g" /* formatMuiErrorMessage */])(7));
525
+ }
526
+
527
+ return string.charAt(0).toUpperCase() + string.slice(1);
528
+ }
529
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
530
+
531
+ /***/ }),
532
+ /* 10 */
533
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
534
+
535
+ "use strict";
536
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__capitalize__ = __webpack_require__(9);
537
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__capitalize__["a"]; });
538
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__createChainedFunction__ = __webpack_require__(57);
539
+ /* unused harmony reexport createChainedFunction */
540
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__createSvgIcon__ = __webpack_require__(21);
541
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_2__createSvgIcon__["a"]; });
542
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__debounce__ = __webpack_require__(47);
543
+ /* unused harmony reexport debounce */
544
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__deprecatedPropType__ = __webpack_require__(516);
545
+ /* unused harmony reexport deprecatedPropType */
546
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__isMuiElement__ = __webpack_require__(66);
547
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_5__isMuiElement__["a"]; });
548
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__ownerDocument__ = __webpack_require__(29);
549
+ /* unused harmony reexport ownerDocument */
550
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__ownerWindow__ = __webpack_require__(86);
551
+ /* unused harmony reexport ownerWindow */
552
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__requirePropFactory__ = __webpack_require__(237);
553
+ /* unused harmony reexport requirePropFactory */
554
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__setRef__ = __webpack_require__(48);
555
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return __WEBPACK_IMPORTED_MODULE_9__setRef__["a"]; });
556
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__unsupportedProp__ = __webpack_require__(87);
557
+ /* unused harmony reexport unsupportedProp */
558
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__useControlled__ = __webpack_require__(41);
559
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return __WEBPACK_IMPORTED_MODULE_11__useControlled__["a"]; });
560
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__useEventCallback__ = __webpack_require__(38);
561
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return __WEBPACK_IMPORTED_MODULE_12__useEventCallback__["a"]; });
562
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__useForkRef__ = __webpack_require__(14);
563
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return __WEBPACK_IMPORTED_MODULE_13__useForkRef__["a"]; });
564
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__unstable_useId__ = __webpack_require__(88);
565
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return __WEBPACK_IMPORTED_MODULE_14__unstable_useId__["a"]; });
566
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__useIsFocusVisible__ = __webpack_require__(67);
567
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return __WEBPACK_IMPORTED_MODULE_15__useIsFocusVisible__["a"]; });
568
+
569
+
570
+
571
+
572
+
573
+
574
+
575
+
576
+
577
+
578
+
579
+
580
+
581
+ // eslint-disable-next-line camelcase
582
+
583
+
584
+
585
+
586
+ /***/ }),
587
+ /* 11 */
588
+ /***/ (function(module, exports, __webpack_require__) {
589
+
590
+ "use strict";
591
+ /* WEBPACK VAR INJECTION */(function(process) {
592
+
593
+ function checkDCE() {
594
+ /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
595
+ if (
596
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' ||
597
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function'
598
+ ) {
599
+ return;
600
+ }
601
+ if (process.env.NODE_ENV !== 'production') {
602
+ // This branch is unreachable because this function is only called
603
+ // in production, but the condition is true only in development.
604
+ // Therefore if the branch is still here, dead code elimination wasn't
605
+ // properly applied.
606
+ // Don't change the message. React DevTools relies on it. Also make sure
607
+ // this message doesn't occur elsewhere in this function, or it will cause
608
+ // a false positive.
609
+ throw new Error('^_^');
610
+ }
611
+ try {
612
+ // Verify that the code above has been dead code eliminated (DCE'd).
613
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);
614
+ } catch (err) {
615
+ // DevTools shouldn't crash React, no matter what.
616
+ // We should still report in case we break this code.
617
+ console.error(err);
618
+ }
619
+ }
620
+
621
+ if (process.env.NODE_ENV === 'production') {
622
+ // DCE check should happen before ReactDOM bundle executes so that
623
+ // DevTools can report bad minification during injection.
624
+ checkDCE();
625
+ module.exports = __webpack_require__(391);
626
+ } else {
627
+ module.exports = __webpack_require__(394);
628
+ }
629
+
630
+ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
631
+
632
+ /***/ }),
633
+ /* 12 */
634
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
635
+
636
+ "use strict";
637
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__colorManipulator__ = __webpack_require__(19);
638
+ /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__colorManipulator__["a"]; });
639
+ /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_0__colorManipulator__["b"]; });
640
+ /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "d", function() { return __WEBPACK_IMPORTED_MODULE_0__colorManipulator__["c"]; });
641
+ /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "e", function() { return __WEBPACK_IMPORTED_MODULE_0__colorManipulator__["e"]; });
642
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__createMuiTheme__ = __webpack_require__(126);
643
+ /* unused harmony reexport createMuiTheme */
644
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__createMuiStrictModeTheme__ = __webpack_require__(507);
645
+ /* unused harmony reexport unstable_createMuiStrictModeTheme */
646
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__createStyles__ = __webpack_require__(508);
647
+ /* unused harmony reexport createStyles */
648
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__makeStyles__ = __webpack_require__(509);
649
+ /* unused harmony reexport makeStyles */
650
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__responsiveFontSizes__ = __webpack_require__(510);
651
+ /* unused harmony reexport responsiveFontSizes */
652
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__styled__ = __webpack_require__(236);
653
+ /* unused harmony reexport styled */
654
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__transitions__ = __webpack_require__(34);
655
+ /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_7__transitions__["b"]; });
656
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__useTheme__ = __webpack_require__(17);
657
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return __WEBPACK_IMPORTED_MODULE_8__useTheme__["a"]; });
658
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__withStyles__ = __webpack_require__(6);
659
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return __WEBPACK_IMPORTED_MODULE_9__withStyles__["a"]; });
660
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__withTheme__ = __webpack_require__(512);
661
+ /* unused harmony reexport withTheme */
662
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__material_ui_styles__ = __webpack_require__(23);
663
+ /* unused harmony reexport createGenerateClassName */
664
+ /* unused harmony reexport jssPreset */
665
+ /* unused harmony reexport ServerStyleSheets */
666
+ /* unused harmony reexport StylesProvider */
667
+ /* unused harmony reexport MuiThemeProvider */
668
+ /* unused harmony reexport ThemeProvider */
669
+
670
+ // eslint-disable-next-line camelcase
671
+
672
+
673
+
674
+
675
+
676
+
677
+
678
+
679
+
680
+
681
+
682
+
683
+ /***/ }),
684
+ /* 13 */
685
+ /***/ (function(module, exports, __webpack_require__) {
686
+
687
+ "use strict";
688
+
689
+
690
+ Object.defineProperty(exports, "__esModule", {
691
+ value: true
692
+ });
693
+
694
+ var _Alpha = __webpack_require__(820);
695
+
696
+ Object.defineProperty(exports, 'Alpha', {
697
+ enumerable: true,
698
+ get: function get() {
699
+ return _interopRequireDefault(_Alpha).default;
700
+ }
701
+ });
702
+
703
+ var _Checkboard = __webpack_require__(183);
704
+
705
+ Object.defineProperty(exports, 'Checkboard', {
706
+ enumerable: true,
707
+ get: function get() {
708
+ return _interopRequireDefault(_Checkboard).default;
709
+ }
710
+ });
711
+
712
+ var _EditableInput = __webpack_require__(823);
713
+
714
+ Object.defineProperty(exports, 'EditableInput', {
715
+ enumerable: true,
716
+ get: function get() {
717
+ return _interopRequireDefault(_EditableInput).default;
718
+ }
719
+ });
720
+
721
+ var _Hue = __webpack_require__(824);
722
+
723
+ Object.defineProperty(exports, 'Hue', {
724
+ enumerable: true,
725
+ get: function get() {
726
+ return _interopRequireDefault(_Hue).default;
727
+ }
728
+ });
729
+
730
+ var _Raised = __webpack_require__(826);
731
+
732
+ Object.defineProperty(exports, 'Raised', {
733
+ enumerable: true,
734
+ get: function get() {
735
+ return _interopRequireDefault(_Raised).default;
736
+ }
737
+ });
738
+
739
+ var _Saturation = __webpack_require__(840);
740
+
741
+ Object.defineProperty(exports, 'Saturation', {
742
+ enumerable: true,
743
+ get: function get() {
744
+ return _interopRequireDefault(_Saturation).default;
745
+ }
746
+ });
747
+
748
+ var _ColorWrap = __webpack_require__(386);
749
+
750
+ Object.defineProperty(exports, 'ColorWrap', {
751
+ enumerable: true,
752
+ get: function get() {
753
+ return _interopRequireDefault(_ColorWrap).default;
754
+ }
755
+ });
756
+
757
+ var _Swatch = __webpack_require__(848);
758
+
759
+ Object.defineProperty(exports, 'Swatch', {
760
+ enumerable: true,
761
+ get: function get() {
762
+ return _interopRequireDefault(_Swatch).default;
763
+ }
764
+ });
765
+
766
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
767
+
768
+ /***/ }),
769
+ /* 14 */
770
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
771
+
772
+ "use strict";
773
+ /* harmony export (immutable) */ __webpack_exports__["a"] = useForkRef;
774
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
775
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
776
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__setRef__ = __webpack_require__(48);
777
+
778
+
779
+ function useForkRef(refA, refB) {
780
+ /**
781
+ * This will create a new function if the ref props change and are defined.
782
+ * This means react will call the old forkRef with `null` and the new forkRef
783
+ * with the ref. Cleanup naturally emerges from this behavior
784
+ */
785
+ return __WEBPACK_IMPORTED_MODULE_0_react__["useMemo"](function () {
786
+ if (refA == null && refB == null) {
787
+ return null;
788
+ }
789
+
790
+ return function (refValue) {
791
+ Object(__WEBPACK_IMPORTED_MODULE_1__setRef__["a" /* default */])(refA, refValue);
792
+ Object(__WEBPACK_IMPORTED_MODULE_1__setRef__["a" /* default */])(refB, refValue);
793
+ };
794
+ }, [refA, refB]);
795
+ }
796
+
797
+ /***/ }),
798
+ /* 15 */
799
+ /***/ (function(module, exports, __webpack_require__) {
800
+
801
+ "use strict";
802
+ /* WEBPACK VAR INJECTION */(function(process) {
803
+
804
+ if (process.env.NODE_ENV === 'production') {
805
+ module.exports = __webpack_require__(399);
806
+ } else {
807
+ module.exports = __webpack_require__(400);
808
+ }
809
+
810
+ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
811
+
812
+ /***/ }),
813
+ /* 16 */
814
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
815
+
816
+ "use strict";
817
+ /* harmony export (immutable) */ __webpack_exports__["a"] = _defineProperty;
818
+ function _defineProperty(obj, key, value) {
819
+ if (key in obj) {
820
+ Object.defineProperty(obj, key, {
821
+ value: value,
822
+ enumerable: true,
823
+ configurable: true,
824
+ writable: true
825
+ });
826
+ } else {
827
+ obj[key] = value;
828
+ }
829
+
830
+ return obj;
831
+ }
832
+
833
+ /***/ }),
834
+ /* 17 */
835
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
836
+
837
+ "use strict";
838
+ /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (immutable) */ __webpack_exports__["a"] = useTheme;
839
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_ui_styles__ = __webpack_require__(23);
840
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react__ = __webpack_require__(0);
841
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_react__);
842
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__defaultTheme__ = __webpack_require__(64);
843
+
844
+
845
+
846
+ function useTheme() {
847
+ var theme = Object(__WEBPACK_IMPORTED_MODULE_0__material_ui_styles__["f" /* useTheme */])() || __WEBPACK_IMPORTED_MODULE_2__defaultTheme__["a" /* default */];
848
+
849
+ if (process.env.NODE_ENV !== 'production') {
850
+ // eslint-disable-next-line react-hooks/rules-of-hooks
851
+ __WEBPACK_IMPORTED_MODULE_1_react___default.a.useDebugValue(theme);
852
+ }
853
+
854
+ return theme;
855
+ }
856
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
857
+
858
+ /***/ }),
859
+ /* 18 */
860
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
861
+
862
+ "use strict";
863
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ButtonBase__ = __webpack_require__(521);
864
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__ButtonBase__["a"]; });
865
+
866
+
867
+ /***/ }),
868
+ /* 19 */
869
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
870
+
871
+ "use strict";
872
+ /* WEBPACK VAR INJECTION */(function(process) {/* unused harmony export hexToRgb */
873
+ /* unused harmony export rgbToHex */
874
+ /* unused harmony export hslToRgb */
875
+ /* unused harmony export decomposeColor */
876
+ /* unused harmony export recomposeColor */
877
+ /* harmony export (immutable) */ __webpack_exports__["d"] = getContrastRatio;
878
+ /* unused harmony export getLuminance */
879
+ /* harmony export (immutable) */ __webpack_exports__["b"] = emphasize;
880
+ /* harmony export (immutable) */ __webpack_exports__["c"] = fade;
881
+ /* harmony export (immutable) */ __webpack_exports__["a"] = darken;
882
+ /* harmony export (immutable) */ __webpack_exports__["e"] = lighten;
883
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_ui_utils__ = __webpack_require__(7);
884
+
885
+
886
+ /* eslint-disable no-use-before-define */
887
+
888
+ /**
889
+ * Returns a number whose value is limited to the given range.
890
+ *
891
+ * @param {number} value The value to be clamped
892
+ * @param {number} min The lower boundary of the output range
893
+ * @param {number} max The upper boundary of the output range
894
+ * @returns {number} A number in the range [min, max]
895
+ */
896
+ function clamp(value) {
897
+ var min = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
898
+ var max = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;
899
+
900
+ if (process.env.NODE_ENV !== 'production') {
901
+ if (value < min || value > max) {
902
+ console.error("Material-UI: The value provided ".concat(value, " is out of range [").concat(min, ", ").concat(max, "]."));
903
+ }
904
+ }
905
+
906
+ return Math.min(Math.max(min, value), max);
907
+ }
908
+ /**
909
+ * Converts a color from CSS hex format to CSS rgb format.
910
+ *
911
+ * @param {string} color - Hex color, i.e. #nnn or #nnnnnn
912
+ * @returns {string} A CSS rgb color string
913
+ */
914
+
915
+
916
+ function hexToRgb(color) {
917
+ color = color.substr(1);
918
+ var re = new RegExp(".{1,".concat(color.length >= 6 ? 2 : 1, "}"), 'g');
919
+ var colors = color.match(re);
920
+
921
+ if (colors && colors[0].length === 1) {
922
+ colors = colors.map(function (n) {
923
+ return n + n;
924
+ });
925
+ }
926
+
927
+ return colors ? "rgb".concat(colors.length === 4 ? 'a' : '', "(").concat(colors.map(function (n, index) {
928
+ return index < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1000) / 1000;
929
+ }).join(', '), ")") : '';
930
+ }
931
+
932
+ function intToHex(int) {
933
+ var hex = int.toString(16);
934
+ return hex.length === 1 ? "0".concat(hex) : hex;
935
+ }
936
+ /**
937
+ * Converts a color from CSS rgb format to CSS hex format.
938
+ *
939
+ * @param {string} color - RGB color, i.e. rgb(n, n, n)
940
+ * @returns {string} A CSS rgb color string, i.e. #nnnnnn
941
+ */
942
+
943
+
944
+ function rgbToHex(color) {
945
+ // Idempotent
946
+ if (color.indexOf('#') === 0) {
947
+ return color;
948
+ }
949
+
950
+ var _decomposeColor = decomposeColor(color),
951
+ values = _decomposeColor.values;
952
+
953
+ return "#".concat(values.map(function (n) {
954
+ return intToHex(n);
955
+ }).join(''));
956
+ }
957
+ /**
958
+ * Converts a color from hsl format to rgb format.
959
+ *
960
+ * @param {string} color - HSL color values
961
+ * @returns {string} rgb color values
962
+ */
963
+
964
+ function hslToRgb(color) {
965
+ color = decomposeColor(color);
966
+ var _color = color,
967
+ values = _color.values;
968
+ var h = values[0];
969
+ var s = values[1] / 100;
970
+ var l = values[2] / 100;
971
+ var a = s * Math.min(l, 1 - l);
972
+
973
+ var f = function f(n) {
974
+ var k = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : (n + h / 30) % 12;
975
+ return l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1);
976
+ };
977
+
978
+ var type = 'rgb';
979
+ var rgb = [Math.round(f(0) * 255), Math.round(f(8) * 255), Math.round(f(4) * 255)];
980
+
981
+ if (color.type === 'hsla') {
982
+ type += 'a';
983
+ rgb.push(values[3]);
984
+ }
985
+
986
+ return recomposeColor({
987
+ type: type,
988
+ values: rgb
989
+ });
990
+ }
991
+ /**
992
+ * Returns an object with the type and values of a color.
993
+ *
994
+ * Note: Does not support rgb % values.
995
+ *
996
+ * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
997
+ * @returns {object} - A MUI color object: {type: string, values: number[]}
998
+ */
999
+
1000
+ function decomposeColor(color) {
1001
+ // Idempotent
1002
+ if (color.type) {
1003
+ return color;
1004
+ }
1005
+
1006
+ if (color.charAt(0) === '#') {
1007
+ return decomposeColor(hexToRgb(color));
1008
+ }
1009
+
1010
+ var marker = color.indexOf('(');
1011
+ var type = color.substring(0, marker);
1012
+
1013
+ if (['rgb', 'rgba', 'hsl', 'hsla'].indexOf(type) === -1) {
1014
+ throw new Error(process.env.NODE_ENV !== "production" ? "Material-UI: Unsupported `".concat(color, "` color.\nWe support the following formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla().") : Object(__WEBPACK_IMPORTED_MODULE_0__material_ui_utils__["g" /* formatMuiErrorMessage */])(3, color));
1015
+ }
1016
+
1017
+ var values = color.substring(marker + 1, color.length - 1).split(',');
1018
+ values = values.map(function (value) {
1019
+ return parseFloat(value);
1020
+ });
1021
+ return {
1022
+ type: type,
1023
+ values: values
1024
+ };
1025
+ }
1026
+ /**
1027
+ * Converts a color object with type and values to a string.
1028
+ *
1029
+ * @param {object} color - Decomposed color
1030
+ * @param {string} color.type - One of: 'rgb', 'rgba', 'hsl', 'hsla'
1031
+ * @param {array} color.values - [n,n,n] or [n,n,n,n]
1032
+ * @returns {string} A CSS color string
1033
+ */
1034
+
1035
+ function recomposeColor(color) {
1036
+ var type = color.type;
1037
+ var values = color.values;
1038
+
1039
+ if (type.indexOf('rgb') !== -1) {
1040
+ // Only convert the first 3 values to int (i.e. not alpha)
1041
+ values = values.map(function (n, i) {
1042
+ return i < 3 ? parseInt(n, 10) : n;
1043
+ });
1044
+ } else if (type.indexOf('hsl') !== -1) {
1045
+ values[1] = "".concat(values[1], "%");
1046
+ values[2] = "".concat(values[2], "%");
1047
+ }
1048
+
1049
+ return "".concat(type, "(").concat(values.join(', '), ")");
1050
+ }
1051
+ /**
1052
+ * Calculates the contrast ratio between two colors.
1053
+ *
1054
+ * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
1055
+ *
1056
+ * @param {string} foreground - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
1057
+ * @param {string} background - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
1058
+ * @returns {number} A contrast ratio value in the range 0 - 21.
1059
+ */
1060
+
1061
+ function getContrastRatio(foreground, background) {
1062
+ var lumA = getLuminance(foreground);
1063
+ var lumB = getLuminance(background);
1064
+ return (Math.max(lumA, lumB) + 0.05) / (Math.min(lumA, lumB) + 0.05);
1065
+ }
1066
+ /**
1067
+ * The relative brightness of any point in a color space,
1068
+ * normalized to 0 for darkest black and 1 for lightest white.
1069
+ *
1070
+ * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
1071
+ *
1072
+ * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
1073
+ * @returns {number} The relative brightness of the color in the range 0 - 1
1074
+ */
1075
+
1076
+ function getLuminance(color) {
1077
+ color = decomposeColor(color);
1078
+ var rgb = color.type === 'hsl' ? decomposeColor(hslToRgb(color)).values : color.values;
1079
+ rgb = rgb.map(function (val) {
1080
+ val /= 255; // normalized
1081
+
1082
+ return val <= 0.03928 ? val / 12.92 : Math.pow((val + 0.055) / 1.055, 2.4);
1083
+ }); // Truncate at 3 digits
1084
+
1085
+ return Number((0.2126 * rgb[0] + 0.7152 * rgb[1] + 0.0722 * rgb[2]).toFixed(3));
1086
+ }
1087
+ /**
1088
+ * Darken or lighten a color, depending on its luminance.
1089
+ * Light colors are darkened, dark colors are lightened.
1090
+ *
1091
+ * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
1092
+ * @param {number} coefficient=0.15 - multiplier in the range 0 - 1
1093
+ * @returns {string} A CSS color string. Hex input values are returned as rgb
1094
+ */
1095
+
1096
+ function emphasize(color) {
1097
+ var coefficient = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0.15;
1098
+ return getLuminance(color) > 0.5 ? darken(color, coefficient) : lighten(color, coefficient);
1099
+ }
1100
+ /**
1101
+ * Set the absolute transparency of a color.
1102
+ * Any existing alpha values are overwritten.
1103
+ *
1104
+ * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
1105
+ * @param {number} value - value to set the alpha channel to in the range 0 -1
1106
+ * @returns {string} A CSS color string. Hex input values are returned as rgb
1107
+ */
1108
+
1109
+ function fade(color, value) {
1110
+ color = decomposeColor(color);
1111
+ value = clamp(value);
1112
+
1113
+ if (color.type === 'rgb' || color.type === 'hsl') {
1114
+ color.type += 'a';
1115
+ }
1116
+
1117
+ color.values[3] = value;
1118
+ return recomposeColor(color);
1119
+ }
1120
+ /**
1121
+ * Darkens a color.
1122
+ *
1123
+ * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
1124
+ * @param {number} coefficient - multiplier in the range 0 - 1
1125
+ * @returns {string} A CSS color string. Hex input values are returned as rgb
1126
+ */
1127
+
1128
+ function darken(color, coefficient) {
1129
+ color = decomposeColor(color);
1130
+ coefficient = clamp(coefficient);
1131
+
1132
+ if (color.type.indexOf('hsl') !== -1) {
1133
+ color.values[2] *= 1 - coefficient;
1134
+ } else if (color.type.indexOf('rgb') !== -1) {
1135
+ for (var i = 0; i < 3; i += 1) {
1136
+ color.values[i] *= 1 - coefficient;
1137
+ }
1138
+ }
1139
+
1140
+ return recomposeColor(color);
1141
+ }
1142
+ /**
1143
+ * Lightens a color.
1144
+ *
1145
+ * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
1146
+ * @param {number} coefficient - multiplier in the range 0 - 1
1147
+ * @returns {string} A CSS color string. Hex input values are returned as rgb
1148
+ */
1149
+
1150
+ function lighten(color, coefficient) {
1151
+ color = decomposeColor(color);
1152
+ coefficient = clamp(coefficient);
1153
+
1154
+ if (color.type.indexOf('hsl') !== -1) {
1155
+ color.values[2] += (100 - color.values[2]) * coefficient;
1156
+ } else if (color.type.indexOf('rgb') !== -1) {
1157
+ for (var i = 0; i < 3; i += 1) {
1158
+ color.values[i] += (255 - color.values[i]) * coefficient;
1159
+ }
1160
+ }
1161
+
1162
+ return recomposeColor(color);
1163
+ }
1164
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
1165
+
1166
+ /***/ }),
1167
+ /* 20 */
1168
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
1169
+
1170
+ "use strict";
1171
+ /* harmony export (immutable) */ __webpack_exports__["a"] = _slicedToArray;
1172
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__arrayWithHoles__ = __webpack_require__(223);
1173
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__iterableToArrayLimit__ = __webpack_require__(477);
1174
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__unsupportedIterableToArray__ = __webpack_require__(123);
1175
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__nonIterableRest__ = __webpack_require__(224);
1176
+
1177
+
1178
+
1179
+
1180
+ function _slicedToArray(arr, i) {
1181
+ return Object(__WEBPACK_IMPORTED_MODULE_0__arrayWithHoles__["a" /* default */])(arr) || Object(__WEBPACK_IMPORTED_MODULE_1__iterableToArrayLimit__["a" /* default */])(arr, i) || Object(__WEBPACK_IMPORTED_MODULE_2__unsupportedIterableToArray__["a" /* default */])(arr, i) || Object(__WEBPACK_IMPORTED_MODULE_3__nonIterableRest__["a" /* default */])();
1182
+ }
1183
+
1184
+ /***/ }),
1185
+ /* 21 */
1186
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
1187
+
1188
+ "use strict";
1189
+ /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (immutable) */ __webpack_exports__["a"] = createSvgIcon;
1190
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
1191
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react__ = __webpack_require__(0);
1192
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_react__);
1193
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__SvgIcon__ = __webpack_require__(85);
1194
+
1195
+
1196
+
1197
+ /**
1198
+ * Private module reserved for @material-ui/x packages.
1199
+ */
1200
+
1201
+ function createSvgIcon(path, displayName) {
1202
+ var Component = function Component(props, ref) {
1203
+ return /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_1_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2__SvgIcon__["a" /* default */], Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({
1204
+ ref: ref
1205
+ }, props), path);
1206
+ };
1207
+
1208
+ if (process.env.NODE_ENV !== 'production') {
1209
+ // Need to set `displayName` on the inner component for React.memo.
1210
+ // React prior to 16.14 ignores `displayName` on the wrapper.
1211
+ Component.displayName = "".concat(displayName, "Icon");
1212
+ }
1213
+
1214
+ Component.muiName = __WEBPACK_IMPORTED_MODULE_2__SvgIcon__["a" /* default */].muiName;
1215
+ return /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_1_react___default.a.memo( /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_1_react___default.a.forwardRef(Component));
1216
+ }
1217
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
1218
+
1219
+ /***/ }),
1220
+ /* 22 */
1221
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
1222
+
1223
+ "use strict";
1224
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Paper__ = __webpack_require__(513);
1225
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Paper__["a"]; });
1226
+
1227
+
1228
+ /***/ }),
1229
+ /* 23 */
1230
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
1231
+
1232
+ "use strict";
1233
+ /* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_ui_utils__ = __webpack_require__(7);
1234
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__createGenerateClassName__ = __webpack_require__(78);
1235
+ /* unused harmony reexport createGenerateClassName */
1236
+ /* unused harmony namespace reexport */
1237
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__createStyles__ = __webpack_require__(192);
1238
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_2__createStyles__["a"]; });
1239
+ /* unused harmony namespace reexport */
1240
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__getThemeProps__ = __webpack_require__(120);
1241
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_3__getThemeProps__["a"]; });
1242
+ /* unused harmony namespace reexport */
1243
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__jssPreset__ = __webpack_require__(121);
1244
+ /* unused harmony reexport jssPreset */
1245
+ /* unused harmony namespace reexport */
1246
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__makeStyles__ = __webpack_require__(80);
1247
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_5__makeStyles__["a"]; });
1248
+ /* unused harmony namespace reexport */
1249
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__mergeClasses__ = __webpack_require__(124);
1250
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return __WEBPACK_IMPORTED_MODULE_6__mergeClasses__["a"]; });
1251
+ /* unused harmony namespace reexport */
1252
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__ServerStyleSheets__ = __webpack_require__(199);
1253
+ /* unused harmony reexport ServerStyleSheets */
1254
+ /* unused harmony namespace reexport */
1255
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__styled__ = __webpack_require__(200);
1256
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return __WEBPACK_IMPORTED_MODULE_8__styled__["a"]; });
1257
+ /* unused harmony namespace reexport */
1258
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__StylesProvider__ = __webpack_require__(81);
1259
+ /* unused harmony reexport StylesProvider */
1260
+ /* unused harmony namespace reexport */
1261
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__ThemeProvider__ = __webpack_require__(201);
1262
+ /* unused harmony reexport ThemeProvider */
1263
+ /* unused harmony namespace reexport */
1264
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__useTheme__ = __webpack_require__(56);
1265
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return __WEBPACK_IMPORTED_MODULE_11__useTheme__["a"]; });
1266
+ /* unused harmony namespace reexport */
1267
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__withStyles__ = __webpack_require__(202);
1268
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return __WEBPACK_IMPORTED_MODULE_12__withStyles__["a"]; });
1269
+ /* unused harmony namespace reexport */
1270
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__withTheme__ = __webpack_require__(203);
1271
+ /* unused harmony reexport withTheme */
1272
+ /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "h", function() { return __WEBPACK_IMPORTED_MODULE_13__withTheme__["a"]; });
1273
+ /** @license Material-UI v4.10.0
1274
+ *
1275
+ * This source code is licensed under the MIT license found in the
1276
+ * LICENSE file in the root directory of this source tree.
1277
+ */
1278
+ /* eslint-disable import/export */
1279
+
1280
+ /* Warning if there are several instances of @material-ui/styles */
1281
+
1282
+ if (process.env.NODE_ENV !== 'production' && process.env.NODE_ENV !== 'test' && typeof window !== 'undefined') {
1283
+ __WEBPACK_IMPORTED_MODULE_0__material_ui_utils__["i" /* ponyfillGlobal */]['__@material-ui/styles-init__'] = __WEBPACK_IMPORTED_MODULE_0__material_ui_utils__["i" /* ponyfillGlobal */]['__@material-ui/styles-init__'] || 0;
1284
+
1285
+ if (__WEBPACK_IMPORTED_MODULE_0__material_ui_utils__["i" /* ponyfillGlobal */]['__@material-ui/styles-init__'] === 1) {
1286
+ console.warn(['It looks like there are several instances of `@material-ui/styles` initialized in this application.', 'This may cause theme propagation issues, broken class names, ' + 'specificity issues, and makes your application bigger without a good reason.', '', 'See https://material-ui.com/r/styles-instance-warning for more info.'].join('\n'));
1287
+ }
1288
+
1289
+ __WEBPACK_IMPORTED_MODULE_0__material_ui_utils__["i" /* ponyfillGlobal */]['__@material-ui/styles-init__'] += 1;
1290
+ }
1291
+
1292
+
1293
+
1294
+
1295
+
1296
+
1297
+
1298
+
1299
+
1300
+
1301
+
1302
+
1303
+
1304
+
1305
+
1306
+
1307
+
1308
+
1309
+
1310
+
1311
+
1312
+
1313
+
1314
+
1315
+
1316
+
1317
+
1318
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
1319
+
1320
+ /***/ }),
1321
+ /* 24 */
1322
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
1323
+
1324
+ "use strict";
1325
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Typography__ = __webpack_require__(561);
1326
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Typography__["a"]; });
1327
+
1328
+
1329
+ /***/ }),
1330
+ /* 25 */
1331
+ /***/ (function(module, exports) {
1332
+
1333
+ /**
1334
+ * Checks if `value` is classified as an `Array` object.
1335
+ *
1336
+ * @static
1337
+ * @memberOf _
1338
+ * @since 0.1.0
1339
+ * @category Lang
1340
+ * @param {*} value The value to check.
1341
+ * @returns {boolean} Returns `true` if `value` is an array, else `false`.
1342
+ * @example
1343
+ *
1344
+ * _.isArray([1, 2, 3]);
1345
+ * // => true
1346
+ *
1347
+ * _.isArray(document.body.children);
1348
+ * // => false
1349
+ *
1350
+ * _.isArray('abc');
1351
+ * // => false
1352
+ *
1353
+ * _.isArray(_.noop);
1354
+ * // => false
1355
+ */
1356
+ var isArray = Array.isArray;
1357
+
1358
+ module.exports = isArray;
1359
+
1360
+
1361
+ /***/ }),
1362
+ /* 26 */
1363
+ /***/ (function(module, exports, __webpack_require__) {
1364
+
1365
+ var baseMerge = __webpack_require__(827),
1366
+ createAssigner = __webpack_require__(831);
1367
+
1368
+ /**
1369
+ * This method is like `_.assign` except that it recursively merges own and
1370
+ * inherited enumerable string keyed properties of source objects into the
1371
+ * destination object. Source properties that resolve to `undefined` are
1372
+ * skipped if a destination value exists. Array and plain object properties
1373
+ * are merged recursively. Other objects and value types are overridden by
1374
+ * assignment. Source objects are applied from left to right. Subsequent
1375
+ * sources overwrite property assignments of previous sources.
1376
+ *
1377
+ * **Note:** This method mutates `object`.
1378
+ *
1379
+ * @static
1380
+ * @memberOf _
1381
+ * @since 0.5.0
1382
+ * @category Object
1383
+ * @param {Object} object The destination object.
1384
+ * @param {...Object} [sources] The source objects.
1385
+ * @returns {Object} Returns `object`.
1386
+ * @example
1387
+ *
1388
+ * var object = {
1389
+ * 'a': [{ 'b': 2 }, { 'd': 4 }]
1390
+ * };
1391
+ *
1392
+ * var other = {
1393
+ * 'a': [{ 'c': 3 }, { 'e': 5 }]
1394
+ * };
1395
+ *
1396
+ * _.merge(object, other);
1397
+ * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }
1398
+ */
1399
+ var merge = createAssigner(function(object, source, srcIndex) {
1400
+ baseMerge(object, source, srcIndex);
1401
+ });
1402
+
1403
+ module.exports = merge;
1404
+
1405
+
1406
+ /***/ }),
1407
+ /* 27 */
1408
+ /***/ (function(module, exports) {
1409
+
1410
+ /**
1411
+ * Checks if `value` is the
1412
+ * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
1413
+ * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
1414
+ *
1415
+ * @static
1416
+ * @memberOf _
1417
+ * @since 0.1.0
1418
+ * @category Lang
1419
+ * @param {*} value The value to check.
1420
+ * @returns {boolean} Returns `true` if `value` is an object, else `false`.
1421
+ * @example
1422
+ *
1423
+ * _.isObject({});
1424
+ * // => true
1425
+ *
1426
+ * _.isObject([1, 2, 3]);
1427
+ * // => true
1428
+ *
1429
+ * _.isObject(_.noop);
1430
+ * // => true
1431
+ *
1432
+ * _.isObject(null);
1433
+ * // => false
1434
+ */
1435
+ function isObject(value) {
1436
+ var type = typeof value;
1437
+ return value != null && (type == 'object' || type == 'function');
1438
+ }
1439
+
1440
+ module.exports = isObject;
1441
+
1442
+
1443
+ /***/ }),
1444
+ /* 28 */
1445
+ /***/ (function(module, exports, __webpack_require__) {
1446
+
1447
+ "use strict";
1448
+
1449
+ var strictUriEncode = __webpack_require__(424);
1450
+ var objectAssign = __webpack_require__(52);
1451
+
1452
+ function encoderForArrayFormat(opts) {
1453
+ switch (opts.arrayFormat) {
1454
+ case 'index':
1455
+ return function (key, value, index) {
1456
+ return value === null ? [
1457
+ encode(key, opts),
1458
+ '[',
1459
+ index,
1460
+ ']'
1461
+ ].join('') : [
1462
+ encode(key, opts),
1463
+ '[',
1464
+ encode(index, opts),
1465
+ ']=',
1466
+ encode(value, opts)
1467
+ ].join('');
1468
+ };
1469
+
1470
+ case 'bracket':
1471
+ return function (key, value) {
1472
+ return value === null ? encode(key, opts) : [
1473
+ encode(key, opts),
1474
+ '[]=',
1475
+ encode(value, opts)
1476
+ ].join('');
1477
+ };
1478
+
1479
+ default:
1480
+ return function (key, value) {
1481
+ return value === null ? encode(key, opts) : [
1482
+ encode(key, opts),
1483
+ '=',
1484
+ encode(value, opts)
1485
+ ].join('');
1486
+ };
1487
+ }
1488
+ }
1489
+
1490
+ function parserForArrayFormat(opts) {
1491
+ var result;
1492
+
1493
+ switch (opts.arrayFormat) {
1494
+ case 'index':
1495
+ return function (key, value, accumulator) {
1496
+ result = /\[(\d*)\]$/.exec(key);
1497
+
1498
+ key = key.replace(/\[\d*\]$/, '');
1499
+
1500
+ if (!result) {
1501
+ accumulator[key] = value;
1502
+ return;
1503
+ }
1504
+
1505
+ if (accumulator[key] === undefined) {
1506
+ accumulator[key] = {};
1507
+ }
1508
+
1509
+ accumulator[key][result[1]] = value;
1510
+ };
1511
+
1512
+ case 'bracket':
1513
+ return function (key, value, accumulator) {
1514
+ result = /(\[\])$/.exec(key);
1515
+ key = key.replace(/\[\]$/, '');
1516
+
1517
+ if (!result) {
1518
+ accumulator[key] = value;
1519
+ return;
1520
+ } else if (accumulator[key] === undefined) {
1521
+ accumulator[key] = [value];
1522
+ return;
1523
+ }
1524
+
1525
+ accumulator[key] = [].concat(accumulator[key], value);
1526
+ };
1527
+
1528
+ default:
1529
+ return function (key, value, accumulator) {
1530
+ if (accumulator[key] === undefined) {
1531
+ accumulator[key] = value;
1532
+ return;
1533
+ }
1534
+
1535
+ accumulator[key] = [].concat(accumulator[key], value);
1536
+ };
1537
+ }
1538
+ }
1539
+
1540
+ function encode(value, opts) {
1541
+ if (opts.encode) {
1542
+ return opts.strict ? strictUriEncode(value) : encodeURIComponent(value);
1543
+ }
1544
+
1545
+ return value;
1546
+ }
1547
+
1548
+ function keysSorter(input) {
1549
+ if (Array.isArray(input)) {
1550
+ return input.sort();
1551
+ } else if (typeof input === 'object') {
1552
+ return keysSorter(Object.keys(input)).sort(function (a, b) {
1553
+ return Number(a) - Number(b);
1554
+ }).map(function (key) {
1555
+ return input[key];
1556
+ });
1557
+ }
1558
+
1559
+ return input;
1560
+ }
1561
+
1562
+ exports.extract = function (str) {
1563
+ return str.split('?')[1] || '';
1564
+ };
1565
+
1566
+ exports.parse = function (str, opts) {
1567
+ opts = objectAssign({arrayFormat: 'none'}, opts);
1568
+
1569
+ var formatter = parserForArrayFormat(opts);
1570
+
1571
+ // Create an object with no prototype
1572
+ // https://github.com/sindresorhus/query-string/issues/47
1573
+ var ret = Object.create(null);
1574
+
1575
+ if (typeof str !== 'string') {
1576
+ return ret;
1577
+ }
1578
+
1579
+ str = str.trim().replace(/^(\?|#|&)/, '');
1580
+
1581
+ if (!str) {
1582
+ return ret;
1583
+ }
1584
+
1585
+ str.split('&').forEach(function (param) {
1586
+ var parts = param.replace(/\+/g, ' ').split('=');
1587
+ // Firefox (pre 40) decodes `%3D` to `=`
1588
+ // https://github.com/sindresorhus/query-string/pull/37
1589
+ var key = parts.shift();
1590
+ var val = parts.length > 0 ? parts.join('=') : undefined;
1591
+
1592
+ // missing `=` should be `null`:
1593
+ // http://w3.org/TR/2012/WD-url-20120524/#collect-url-parameters
1594
+ val = val === undefined ? null : decodeURIComponent(val);
1595
+
1596
+ formatter(decodeURIComponent(key), val, ret);
1597
+ });
1598
+
1599
+ return Object.keys(ret).sort().reduce(function (result, key) {
1600
+ var val = ret[key];
1601
+ if (Boolean(val) && typeof val === 'object' && !Array.isArray(val)) {
1602
+ // Sort object keys, not values
1603
+ result[key] = keysSorter(val);
1604
+ } else {
1605
+ result[key] = val;
1606
+ }
1607
+
1608
+ return result;
1609
+ }, Object.create(null));
1610
+ };
1611
+
1612
+ exports.stringify = function (obj, opts) {
1613
+ var defaults = {
1614
+ encode: true,
1615
+ strict: true,
1616
+ arrayFormat: 'none'
1617
+ };
1618
+
1619
+ opts = objectAssign(defaults, opts);
1620
+
1621
+ var formatter = encoderForArrayFormat(opts);
1622
+
1623
+ return obj ? Object.keys(obj).sort().map(function (key) {
1624
+ var val = obj[key];
1625
+
1626
+ if (val === undefined) {
1627
+ return '';
1628
+ }
1629
+
1630
+ if (val === null) {
1631
+ return encode(key, opts);
1632
+ }
1633
+
1634
+ if (Array.isArray(val)) {
1635
+ var result = [];
1636
+
1637
+ val.slice().forEach(function (val2) {
1638
+ if (val2 === undefined) {
1639
+ return;
1640
+ }
1641
+
1642
+ result.push(formatter(key, val2, result.length));
1643
+ });
1644
+
1645
+ return result.join('&');
1646
+ }
1647
+
1648
+ return encode(key, opts) + '=' + encode(val, opts);
1649
+ }).filter(function (x) {
1650
+ return x.length > 0;
1651
+ }).join('&') : '';
1652
+ };
1653
+
1654
+
1655
+ /***/ }),
1656
+ /* 29 */
1657
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
1658
+
1659
+ "use strict";
1660
+ /* harmony export (immutable) */ __webpack_exports__["a"] = ownerDocument;
1661
+ function ownerDocument(node) {
1662
+ return node && node.ownerDocument || document;
1663
+ }
1664
+
1665
+ /***/ }),
1666
+ /* 30 */
1667
+ /***/ (function(module, exports, __webpack_require__) {
1668
+
1669
+ var freeGlobal = __webpack_require__(354);
1670
+
1671
+ /** Detect free variable `self`. */
1672
+ var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
1673
+
1674
+ /** Used as a reference to the global object. */
1675
+ var root = freeGlobal || freeSelf || Function('return this')();
1676
+
1677
+ module.exports = root;
1678
+
1679
+
1680
+ /***/ }),
1681
+ /* 31 */
1682
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
1683
+
1684
+ "use strict";
1685
+ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
1686
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Icon__ = __webpack_require__(432);
1687
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return __WEBPACK_IMPORTED_MODULE_0__Icon__["a"]; });
1688
+
1689
+
1690
+ /***/ }),
1691
+ /* 32 */
1692
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
1693
+
1694
+ "use strict";
1695
+ /* harmony export (immutable) */ __webpack_exports__["a"] = _toConsumableArray;
1696
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__arrayWithoutHoles__ = __webpack_require__(454);
1697
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__iterableToArray__ = __webpack_require__(195);
1698
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__unsupportedIterableToArray__ = __webpack_require__(123);
1699
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__nonIterableSpread__ = __webpack_require__(455);
1700
+
1701
+
1702
+
1703
+
1704
+ function _toConsumableArray(arr) {
1705
+ return Object(__WEBPACK_IMPORTED_MODULE_0__arrayWithoutHoles__["a" /* default */])(arr) || Object(__WEBPACK_IMPORTED_MODULE_1__iterableToArray__["a" /* default */])(arr) || Object(__WEBPACK_IMPORTED_MODULE_2__unsupportedIterableToArray__["a" /* default */])(arr) || Object(__WEBPACK_IMPORTED_MODULE_3__nonIterableSpread__["a" /* default */])();
1706
+ }
1707
+
1708
+ /***/ }),
1709
+ /* 33 */
1710
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
1711
+
1712
+ "use strict";
1713
+ /* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_defineProperty__ = __webpack_require__(16);
1714
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__responsivePropType__ = __webpack_require__(216);
1715
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__breakpoints__ = __webpack_require__(127);
1716
+
1717
+
1718
+
1719
+
1720
+ function getPath(obj, path) {
1721
+ if (!path || typeof path !== 'string') {
1722
+ return null;
1723
+ }
1724
+
1725
+ return path.split('.').reduce(function (acc, item) {
1726
+ return acc && acc[item] ? acc[item] : null;
1727
+ }, obj);
1728
+ }
1729
+
1730
+ function style(options) {
1731
+ var prop = options.prop,
1732
+ _options$cssProperty = options.cssProperty,
1733
+ cssProperty = _options$cssProperty === void 0 ? options.prop : _options$cssProperty,
1734
+ themeKey = options.themeKey,
1735
+ transform = options.transform;
1736
+
1737
+ var fn = function fn(props) {
1738
+ if (props[prop] == null) {
1739
+ return null;
1740
+ }
1741
+
1742
+ var propValue = props[prop];
1743
+ var theme = props.theme;
1744
+ var themeMapping = getPath(theme, themeKey) || {};
1745
+
1746
+ var styleFromPropValue = function styleFromPropValue(propValueFinal) {
1747
+ var value;
1748
+
1749
+ if (typeof themeMapping === 'function') {
1750
+ value = themeMapping(propValueFinal);
1751
+ } else if (Array.isArray(themeMapping)) {
1752
+ value = themeMapping[propValueFinal] || propValueFinal;
1753
+ } else {
1754
+ value = getPath(themeMapping, propValueFinal) || propValueFinal;
1755
+
1756
+ if (transform) {
1757
+ value = transform(value);
1758
+ }
1759
+ }
1760
+
1761
+ if (cssProperty === false) {
1762
+ return value;
1763
+ }
1764
+
1765
+ return Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_defineProperty__["a" /* default */])({}, cssProperty, value);
1766
+ };
1767
+
1768
+ return Object(__WEBPACK_IMPORTED_MODULE_2__breakpoints__["a" /* handleBreakpoints */])(props, propValue, styleFromPropValue);
1769
+ };
1770
+
1771
+ fn.propTypes = process.env.NODE_ENV !== 'production' ? Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_defineProperty__["a" /* default */])({}, prop, __WEBPACK_IMPORTED_MODULE_1__responsivePropType__["a" /* default */]) : {};
1772
+ fn.filterProps = [prop];
1773
+ return fn;
1774
+ }
1775
+
1776
+ /* harmony default export */ __webpack_exports__["a"] = (style);
1777
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
1778
+
1779
+ /***/ }),
1780
+ /* 34 */
1781
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
1782
+
1783
+ "use strict";
1784
+ /* WEBPACK VAR INJECTION */(function(process) {/* unused harmony export easing */
1785
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return duration; });
1786
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_objectWithoutProperties__ = __webpack_require__(4);
1787
+
1788
+ // Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves
1789
+ // to learn the context in which each easing should be used.
1790
+ var easing = {
1791
+ // This is the most common easing curve.
1792
+ easeInOut: 'cubic-bezier(0.4, 0, 0.2, 1)',
1793
+ // Objects enter the screen at full velocity from off-screen and
1794
+ // slowly decelerate to a resting point.
1795
+ easeOut: 'cubic-bezier(0.0, 0, 0.2, 1)',
1796
+ // Objects leave the screen at full velocity. They do not decelerate when off-screen.
1797
+ easeIn: 'cubic-bezier(0.4, 0, 1, 1)',
1798
+ // The sharp curve is used by objects that may return to the screen at any time.
1799
+ sharp: 'cubic-bezier(0.4, 0, 0.6, 1)'
1800
+ }; // Follow https://material.io/guidelines/motion/duration-easing.html#duration-easing-common-durations
1801
+ // to learn when use what timing
1802
+
1803
+ var duration = {
1804
+ shortest: 150,
1805
+ shorter: 200,
1806
+ short: 250,
1807
+ // most basic recommended timing
1808
+ standard: 300,
1809
+ // this is to be used in complex animations
1810
+ complex: 375,
1811
+ // recommended when something is entering screen
1812
+ enteringScreen: 225,
1813
+ // recommended when something is leaving screen
1814
+ leavingScreen: 195
1815
+ };
1816
+
1817
+ function formatMs(milliseconds) {
1818
+ return "".concat(Math.round(milliseconds), "ms");
1819
+ }
1820
+ /**
1821
+ * @param {string|Array} props
1822
+ * @param {object} param
1823
+ * @param {string} param.prop
1824
+ * @param {number} param.duration
1825
+ * @param {string} param.easing
1826
+ * @param {number} param.delay
1827
+ */
1828
+
1829
+
1830
+ /* harmony default export */ __webpack_exports__["a"] = ({
1831
+ easing: easing,
1832
+ duration: duration,
1833
+ create: function create() {
1834
+ var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ['all'];
1835
+ var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
1836
+
1837
+ var _options$duration = options.duration,
1838
+ durationOption = _options$duration === void 0 ? duration.standard : _options$duration,
1839
+ _options$easing = options.easing,
1840
+ easingOption = _options$easing === void 0 ? easing.easeInOut : _options$easing,
1841
+ _options$delay = options.delay,
1842
+ delay = _options$delay === void 0 ? 0 : _options$delay,
1843
+ other = Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_objectWithoutProperties__["a" /* default */])(options, ["duration", "easing", "delay"]);
1844
+
1845
+ if (process.env.NODE_ENV !== 'production') {
1846
+ var isString = function isString(value) {
1847
+ return typeof value === 'string';
1848
+ };
1849
+
1850
+ var isNumber = function isNumber(value) {
1851
+ return !isNaN(parseFloat(value));
1852
+ };
1853
+
1854
+ if (!isString(props) && !Array.isArray(props)) {
1855
+ console.error('Material-UI: Argument "props" must be a string or Array.');
1856
+ }
1857
+
1858
+ if (!isNumber(durationOption) && !isString(durationOption)) {
1859
+ console.error("Material-UI: Argument \"duration\" must be a number or a string but found ".concat(durationOption, "."));
1860
+ }
1861
+
1862
+ if (!isString(easingOption)) {
1863
+ console.error('Material-UI: Argument "easing" must be a string.');
1864
+ }
1865
+
1866
+ if (!isNumber(delay) && !isString(delay)) {
1867
+ console.error('Material-UI: Argument "delay" must be a number or a string.');
1868
+ }
1869
+
1870
+ if (Object.keys(other).length !== 0) {
1871
+ console.error("Material-UI: Unrecognized argument(s) [".concat(Object.keys(other).join(','), "]."));
1872
+ }
1873
+ }
1874
+
1875
+ return (Array.isArray(props) ? props : [props]).map(function (animatedProp) {
1876
+ return "".concat(animatedProp, " ").concat(typeof durationOption === 'string' ? durationOption : formatMs(durationOption), " ").concat(easingOption, " ").concat(typeof delay === 'string' ? delay : formatMs(delay));
1877
+ }).join(',');
1878
+ },
1879
+ getAutoHeightDuration: function getAutoHeightDuration(height) {
1880
+ if (!height) {
1881
+ return 0;
1882
+ }
1883
+
1884
+ var constant = height / 36; // https://www.wolframalpha.com/input/?i=(4+%2B+15+*+(x+%2F+36+)+**+0.25+%2B+(x+%2F+36)+%2F+5)+*+10
1885
+
1886
+ return Math.round((4 + 15 * Math.pow(constant, 0.25) + constant / 5) * 10);
1887
+ }
1888
+ });
1889
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
1890
+
1891
+ /***/ }),
1892
+ /* 35 */
1893
+ /***/ (function(module, exports) {
1894
+
1895
+ /**
1896
+ * Checks if `value` is object-like. A value is object-like if it's not `null`
1897
+ * and has a `typeof` result of "object".
1898
+ *
1899
+ * @static
1900
+ * @memberOf _
1901
+ * @since 4.0.0
1902
+ * @category Lang
1903
+ * @param {*} value The value to check.
1904
+ * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
1905
+ * @example
1906
+ *
1907
+ * _.isObjectLike({});
1908
+ * // => true
1909
+ *
1910
+ * _.isObjectLike([1, 2, 3]);
1911
+ * // => true
1912
+ *
1913
+ * _.isObjectLike(_.noop);
1914
+ * // => false
1915
+ *
1916
+ * _.isObjectLike(null);
1917
+ * // => false
1918
+ */
1919
+ function isObjectLike(value) {
1920
+ return value != null && typeof value == 'object';
1921
+ }
1922
+
1923
+ module.exports = isObjectLike;
1924
+
1925
+
1926
+ /***/ }),
1927
+ /* 36 */
1928
+ /***/ (function(module, exports, __webpack_require__) {
1929
+
1930
+ "use strict";
1931
+
1932
+
1933
+ Object.defineProperty(exports, "__esModule", {
1934
+ value: true
1935
+ });
1936
+ exports.red = exports.getContrastingColor = exports.isValidHex = exports.toState = exports.simpleCheckForValidColor = undefined;
1937
+
1938
+ var _each = __webpack_require__(845);
1939
+
1940
+ var _each2 = _interopRequireDefault(_each);
1941
+
1942
+ var _tinycolor = __webpack_require__(847);
1943
+
1944
+ var _tinycolor2 = _interopRequireDefault(_tinycolor);
1945
+
1946
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
1947
+
1948
+ var simpleCheckForValidColor = exports.simpleCheckForValidColor = function simpleCheckForValidColor(data) {
1949
+ var keysToCheck = ['r', 'g', 'b', 'a', 'h', 's', 'l', 'v'];
1950
+ var checked = 0;
1951
+ var passed = 0;
1952
+ (0, _each2.default)(keysToCheck, function (letter) {
1953
+ if (data[letter]) {
1954
+ checked += 1;
1955
+ if (!isNaN(data[letter])) {
1956
+ passed += 1;
1957
+ }
1958
+ if (letter === 's' || letter === 'l') {
1959
+ var percentPatt = /^\d+%$/;
1960
+ if (percentPatt.test(data[letter])) {
1961
+ passed += 1;
1962
+ }
1963
+ }
1964
+ }
1965
+ });
1966
+ return checked === passed ? data : false;
1967
+ };
1968
+
1969
+ var toState = exports.toState = function toState(data, oldHue) {
1970
+ var color = data.hex ? (0, _tinycolor2.default)(data.hex) : (0, _tinycolor2.default)(data);
1971
+ var hsl = color.toHsl();
1972
+ var hsv = color.toHsv();
1973
+ var rgb = color.toRgb();
1974
+ var hex = color.toHex();
1975
+ if (hsl.s === 0) {
1976
+ hsl.h = oldHue || 0;
1977
+ hsv.h = oldHue || 0;
1978
+ }
1979
+ var transparent = hex === '000000' && rgb.a === 0;
1980
+
1981
+ return {
1982
+ hsl: hsl,
1983
+ hex: transparent ? 'transparent' : '#' + hex,
1984
+ rgb: rgb,
1985
+ hsv: hsv,
1986
+ oldHue: data.h || oldHue || hsl.h,
1987
+ source: data.source
1988
+ };
1989
+ };
1990
+
1991
+ var isValidHex = exports.isValidHex = function isValidHex(hex) {
1992
+ // disable hex4 and hex8
1993
+ var lh = String(hex).charAt(0) === '#' ? 1 : 0;
1994
+ return hex.length !== 4 + lh && hex.length < 7 + lh && (0, _tinycolor2.default)(hex).isValid();
1995
+ };
1996
+
1997
+ var getContrastingColor = exports.getContrastingColor = function getContrastingColor(data) {
1998
+ if (!data) {
1999
+ return '#fff';
2000
+ }
2001
+ var col = toState(data);
2002
+ if (col.hex === 'transparent') {
2003
+ return 'rgba(0,0,0,0.4)';
2004
+ }
2005
+ var yiq = (col.rgb.r * 299 + col.rgb.g * 587 + col.rgb.b * 114) / 1000;
2006
+ return yiq >= 128 ? '#000' : '#fff';
2007
+ };
2008
+
2009
+ var red = exports.red = {
2010
+ hsl: { a: 1, h: 0, l: 0.5, s: 1 },
2011
+ hex: '#ff0000',
2012
+ rgb: { r: 255, g: 0, b: 0, a: 1 },
2013
+ hsv: { h: 0, s: 1, v: 1, a: 1 }
2014
+ };
2015
+
2016
+ exports.default = exports;
2017
+
2018
+ /***/ }),
2019
+ /* 37 */
2020
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
2021
+
2022
+ "use strict";
2023
+ /* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
2024
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__merge__ = __webpack_require__(83);
2025
+
2026
+
2027
+
2028
+ function compose() {
2029
+ for (var _len = arguments.length, styles = new Array(_len), _key = 0; _key < _len; _key++) {
2030
+ styles[_key] = arguments[_key];
2031
+ }
2032
+
2033
+ var fn = function fn(props) {
2034
+ return styles.reduce(function (acc, style) {
2035
+ var output = style(props);
2036
+
2037
+ if (output) {
2038
+ return Object(__WEBPACK_IMPORTED_MODULE_1__merge__["a" /* default */])(acc, output);
2039
+ }
2040
+
2041
+ return acc;
2042
+ }, {});
2043
+ }; // Alternative approach that doesn't yield any performance gain.
2044
+ // const handlers = styles.reduce((acc, style) => {
2045
+ // style.filterProps.forEach(prop => {
2046
+ // acc[prop] = style;
2047
+ // });
2048
+ // return acc;
2049
+ // }, {});
2050
+ // const fn = props => {
2051
+ // return Object.keys(props).reduce((acc, prop) => {
2052
+ // if (handlers[prop]) {
2053
+ // return merge(acc, handlers[prop](props));
2054
+ // }
2055
+ // return acc;
2056
+ // }, {});
2057
+ // };
2058
+
2059
+
2060
+ fn.propTypes = process.env.NODE_ENV !== 'production' ? styles.reduce(function (acc, style) {
2061
+ return Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])(acc, style.propTypes);
2062
+ }, {}) : {};
2063
+ fn.filterProps = styles.reduce(function (acc, style) {
2064
+ return acc.concat(style.filterProps);
2065
+ }, []);
2066
+ return fn;
2067
+ }
2068
+
2069
+ /* harmony default export */ __webpack_exports__["a"] = (compose);
2070
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
2071
+
2072
+ /***/ }),
2073
+ /* 38 */
2074
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
2075
+
2076
+ "use strict";
2077
+ /* harmony export (immutable) */ __webpack_exports__["a"] = useEventCallback;
2078
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
2079
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
2080
+
2081
+ var useEnhancedEffect = typeof window !== 'undefined' ? __WEBPACK_IMPORTED_MODULE_0_react__["useLayoutEffect"] : __WEBPACK_IMPORTED_MODULE_0_react__["useEffect"];
2082
+ /**
2083
+ * https://github.com/facebook/react/issues/14099#issuecomment-440013892
2084
+ *
2085
+ * @param {function} fn
2086
+ */
2087
+
2088
+ function useEventCallback(fn) {
2089
+ var ref = __WEBPACK_IMPORTED_MODULE_0_react__["useRef"](fn);
2090
+ useEnhancedEffect(function () {
2091
+ ref.current = fn;
2092
+ });
2093
+ return __WEBPACK_IMPORTED_MODULE_0_react__["useCallback"](function () {
2094
+ return (0, ref.current).apply(void 0, arguments);
2095
+ }, []);
2096
+ }
2097
+
2098
+ /***/ }),
2099
+ /* 39 */
2100
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
2101
+
2102
+ "use strict";
2103
+ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
2104
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__BrowserRouter__ = __webpack_require__(398);
2105
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "BrowserRouter", function() { return __WEBPACK_IMPORTED_MODULE_0__BrowserRouter__["a"]; });
2106
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__HashRouter__ = __webpack_require__(406);
2107
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "HashRouter", function() { return __WEBPACK_IMPORTED_MODULE_1__HashRouter__["a"]; });
2108
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__Link__ = __webpack_require__(185);
2109
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Link", function() { return __WEBPACK_IMPORTED_MODULE_2__Link__["a"]; });
2110
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__MemoryRouter__ = __webpack_require__(407);
2111
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "MemoryRouter", function() { return __WEBPACK_IMPORTED_MODULE_3__MemoryRouter__["a"]; });
2112
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__NavLink__ = __webpack_require__(409);
2113
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "NavLink", function() { return __WEBPACK_IMPORTED_MODULE_4__NavLink__["a"]; });
2114
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__Prompt__ = __webpack_require__(411);
2115
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Prompt", function() { return __WEBPACK_IMPORTED_MODULE_5__Prompt__["a"]; });
2116
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__Redirect__ = __webpack_require__(413);
2117
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Redirect", function() { return __WEBPACK_IMPORTED_MODULE_6__Redirect__["a"]; });
2118
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__Route__ = __webpack_require__(186);
2119
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Route", function() { return __WEBPACK_IMPORTED_MODULE_7__Route__["a"]; });
2120
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__Router__ = __webpack_require__(116);
2121
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Router", function() { return __WEBPACK_IMPORTED_MODULE_8__Router__["a"]; });
2122
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__StaticRouter__ = __webpack_require__(415);
2123
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "StaticRouter", function() { return __WEBPACK_IMPORTED_MODULE_9__StaticRouter__["a"]; });
2124
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__Switch__ = __webpack_require__(417);
2125
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Switch", function() { return __WEBPACK_IMPORTED_MODULE_10__Switch__["a"]; });
2126
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__generatePath__ = __webpack_require__(419);
2127
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "generatePath", function() { return __WEBPACK_IMPORTED_MODULE_11__generatePath__["a"]; });
2128
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__matchPath__ = __webpack_require__(420);
2129
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "matchPath", function() { return __WEBPACK_IMPORTED_MODULE_12__matchPath__["a"]; });
2130
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__withRouter__ = __webpack_require__(421);
2131
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "withRouter", function() { return __WEBPACK_IMPORTED_MODULE_13__withRouter__["a"]; });
2132
+
2133
+
2134
+
2135
+
2136
+
2137
+
2138
+
2139
+
2140
+
2141
+
2142
+
2143
+
2144
+
2145
+
2146
+
2147
+
2148
+
2149
+
2150
+
2151
+
2152
+
2153
+
2154
+
2155
+
2156
+
2157
+
2158
+
2159
+
2160
+
2161
+ /***/ }),
2162
+ /* 40 */
2163
+ /***/ (function(module, exports, __webpack_require__) {
2164
+
2165
+ "use strict";
2166
+ /* WEBPACK VAR INJECTION */(function(process) {/**
2167
+ * Copyright (c) 2014-present, Facebook, Inc.
2168
+ *
2169
+ * This source code is licensed under the MIT license found in the
2170
+ * LICENSE file in the root directory of this source tree.
2171
+ */
2172
+
2173
+
2174
+
2175
+ /**
2176
+ * Similar to invariant but only logs a warning if the condition is not met.
2177
+ * This can be used to log issues in development environments in critical
2178
+ * paths. Removing the logging code for production environments will keep the
2179
+ * same logic and follow the same code paths.
2180
+ */
2181
+
2182
+ var __DEV__ = process.env.NODE_ENV !== 'production';
2183
+
2184
+ var warning = function() {};
2185
+
2186
+ if (__DEV__) {
2187
+ var printWarning = function printWarning(format, args) {
2188
+ var len = arguments.length;
2189
+ args = new Array(len > 1 ? len - 1 : 0);
2190
+ for (var key = 1; key < len; key++) {
2191
+ args[key - 1] = arguments[key];
2192
+ }
2193
+ var argIndex = 0;
2194
+ var message = 'Warning: ' +
2195
+ format.replace(/%s/g, function() {
2196
+ return args[argIndex++];
2197
+ });
2198
+ if (typeof console !== 'undefined') {
2199
+ console.error(message);
2200
+ }
2201
+ try {
2202
+ // --- Welcome to debugging React ---
2203
+ // This error was thrown as a convenience so that you can use this stack
2204
+ // to find the callsite that caused this warning to fire.
2205
+ throw new Error(message);
2206
+ } catch (x) {}
2207
+ }
2208
+
2209
+ warning = function(condition, format, args) {
2210
+ var len = arguments.length;
2211
+ args = new Array(len > 2 ? len - 2 : 0);
2212
+ for (var key = 2; key < len; key++) {
2213
+ args[key - 2] = arguments[key];
2214
+ }
2215
+ if (format === undefined) {
2216
+ throw new Error(
2217
+ '`warning(condition, format, ...args)` requires a warning ' +
2218
+ 'message argument'
2219
+ );
2220
+ }
2221
+ if (!condition) {
2222
+ printWarning.apply(null, [format].concat(args));
2223
+ }
2224
+ };
2225
+ }
2226
+
2227
+ module.exports = warning;
2228
+
2229
+ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
2230
+
2231
+ /***/ }),
2232
+ /* 41 */
2233
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
2234
+
2235
+ "use strict";
2236
+ /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (immutable) */ __webpack_exports__["a"] = useControlled;
2237
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
2238
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
2239
+ /* eslint-disable react-hooks/rules-of-hooks, react-hooks/exhaustive-deps */
2240
+
2241
+ function useControlled(_ref) {
2242
+ var controlled = _ref.controlled,
2243
+ defaultProp = _ref.default,
2244
+ name = _ref.name,
2245
+ _ref$state = _ref.state,
2246
+ state = _ref$state === void 0 ? 'value' : _ref$state;
2247
+
2248
+ var _React$useRef = __WEBPACK_IMPORTED_MODULE_0_react__["useRef"](controlled !== undefined),
2249
+ isControlled = _React$useRef.current;
2250
+
2251
+ var _React$useState = __WEBPACK_IMPORTED_MODULE_0_react__["useState"](defaultProp),
2252
+ valueState = _React$useState[0],
2253
+ setValue = _React$useState[1];
2254
+
2255
+ var value = isControlled ? controlled : valueState;
2256
+
2257
+ if (process.env.NODE_ENV !== 'production') {
2258
+ __WEBPACK_IMPORTED_MODULE_0_react__["useEffect"](function () {
2259
+ if (isControlled !== (controlled !== undefined)) {
2260
+ console.error(["Material-UI: A component is changing the ".concat(isControlled ? '' : 'un', "controlled ").concat(state, " state of ").concat(name, " to be ").concat(isControlled ? 'un' : '', "controlled."), 'Elements should not switch from uncontrolled to controlled (or vice versa).', "Decide between using a controlled or uncontrolled ".concat(name, " ") + 'element for the lifetime of the component.', "The nature of the state is determined during the first render, it's considered controlled if the value is not `undefined`.", 'More info: https://fb.me/react-controlled-components'].join('\n'));
2261
+ }
2262
+ }, [controlled]);
2263
+
2264
+ var _React$useRef2 = __WEBPACK_IMPORTED_MODULE_0_react__["useRef"](defaultProp),
2265
+ defaultValue = _React$useRef2.current;
2266
+
2267
+ __WEBPACK_IMPORTED_MODULE_0_react__["useEffect"](function () {
2268
+ if (!isControlled && defaultValue !== defaultProp) {
2269
+ console.error(["Material-UI: A component is changing the default ".concat(state, " state of an uncontrolled ").concat(name, " after being initialized. ") + "To suppress this warning opt to use a controlled ".concat(name, ".")].join('\n'));
2270
+ }
2271
+ }, [JSON.stringify(defaultProp)]);
2272
+ }
2273
+
2274
+ var setValueIfUncontrolled = __WEBPACK_IMPORTED_MODULE_0_react__["useCallback"](function (newValue) {
2275
+ if (!isControlled) {
2276
+ setValue(newValue);
2277
+ }
2278
+ }, []);
2279
+ return [value, setValueIfUncontrolled];
2280
+ }
2281
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
2282
+
2283
+ /***/ }),
2284
+ /* 42 */
2285
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
2286
+
2287
+ "use strict";
2288
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__IconButton__ = __webpack_require__(520);
2289
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__IconButton__["a"]; });
2290
+
2291
+
2292
+ /***/ }),
2293
+ /* 43 */
2294
+ /***/ (function(module, exports, __webpack_require__) {
2295
+
2296
+ var arrayMap = __webpack_require__(361),
2297
+ baseIteratee = __webpack_require__(736),
2298
+ baseMap = __webpack_require__(794),
2299
+ isArray = __webpack_require__(25);
2300
+
2301
+ /**
2302
+ * Creates an array of values by running each element in `collection` thru
2303
+ * `iteratee`. The iteratee is invoked with three arguments:
2304
+ * (value, index|key, collection).
2305
+ *
2306
+ * Many lodash methods are guarded to work as iteratees for methods like
2307
+ * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.
2308
+ *
2309
+ * The guarded methods are:
2310
+ * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,
2311
+ * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,
2312
+ * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,
2313
+ * `template`, `trim`, `trimEnd`, `trimStart`, and `words`
2314
+ *
2315
+ * @static
2316
+ * @memberOf _
2317
+ * @since 0.1.0
2318
+ * @category Collection
2319
+ * @param {Array|Object} collection The collection to iterate over.
2320
+ * @param {Function} [iteratee=_.identity] The function invoked per iteration.
2321
+ * @returns {Array} Returns the new mapped array.
2322
+ * @example
2323
+ *
2324
+ * function square(n) {
2325
+ * return n * n;
2326
+ * }
2327
+ *
2328
+ * _.map([4, 8], square);
2329
+ * // => [16, 64]
2330
+ *
2331
+ * _.map({ 'a': 4, 'b': 8 }, square);
2332
+ * // => [16, 64] (iteration order is not guaranteed)
2333
+ *
2334
+ * var users = [
2335
+ * { 'user': 'barney' },
2336
+ * { 'user': 'fred' }
2337
+ * ];
2338
+ *
2339
+ * // The `_.property` iteratee shorthand.
2340
+ * _.map(users, 'user');
2341
+ * // => ['barney', 'fred']
2342
+ */
2343
+ function map(collection, iteratee) {
2344
+ var func = isArray(collection) ? arrayMap : baseMap;
2345
+ return func(collection, baseIteratee(iteratee, 3));
2346
+ }
2347
+
2348
+ module.exports = map;
2349
+
2350
+
2351
+ /***/ }),
2352
+ /* 44 */
2353
+ /***/ (function(module, exports, __webpack_require__) {
2354
+
2355
+ "use strict";
2356
+ /* WEBPACK VAR INJECTION */(function(process) {/**
2357
+ * Copyright (c) 2013-present, Facebook, Inc.
2358
+ *
2359
+ * This source code is licensed under the MIT license found in the
2360
+ * LICENSE file in the root directory of this source tree.
2361
+ */
2362
+
2363
+
2364
+
2365
+ /**
2366
+ * Use invariant() to assert state which your program assumes to be true.
2367
+ *
2368
+ * Provide sprintf-style format (only %s is supported) and arguments
2369
+ * to provide information about what broke and what you were
2370
+ * expecting.
2371
+ *
2372
+ * The invariant message will be stripped in production, but the invariant
2373
+ * will remain to ensure logic does not differ in production.
2374
+ */
2375
+
2376
+ var invariant = function(condition, format, a, b, c, d, e, f) {
2377
+ if (process.env.NODE_ENV !== 'production') {
2378
+ if (format === undefined) {
2379
+ throw new Error('invariant requires an error message argument');
2380
+ }
2381
+ }
2382
+
2383
+ if (!condition) {
2384
+ var error;
2385
+ if (format === undefined) {
2386
+ error = new Error(
2387
+ 'Minified exception occurred; use the non-minified dev environment ' +
2388
+ 'for the full error message and additional helpful warnings.'
2389
+ );
2390
+ } else {
2391
+ var args = [a, b, c, d, e, f];
2392
+ var argIndex = 0;
2393
+ error = new Error(
2394
+ format.replace(/%s/g, function() { return args[argIndex++]; })
2395
+ );
2396
+ error.name = 'Invariant Violation';
2397
+ }
2398
+
2399
+ error.framesToPop = 1; // we don't care about invariant's own frame
2400
+ throw error;
2401
+ }
2402
+ };
2403
+
2404
+ module.exports = invariant;
2405
+
2406
+ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
2407
+
2408
+ /***/ }),
2409
+ /* 45 */
2410
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
2411
+
2412
+ "use strict";
2413
+ /* harmony export (immutable) */ __webpack_exports__["a"] = _typeof;
2414
+ function _typeof(obj) {
2415
+ "@babel/helpers - typeof";
2416
+
2417
+ if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
2418
+ _typeof = function _typeof(obj) {
2419
+ return typeof obj;
2420
+ };
2421
+ } else {
2422
+ _typeof = function _typeof(obj) {
2423
+ return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
2424
+ };
2425
+ }
2426
+
2427
+ return _typeof(obj);
2428
+ }
2429
+
2430
+ /***/ }),
2431
+ /* 46 */
2432
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
2433
+
2434
+ "use strict";
2435
+ /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return RuleList; });
2436
+ /* unused harmony export SheetsManager */
2437
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return SheetsRegistry; });
2438
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return create; });
2439
+ /* unused harmony export createGenerateId */
2440
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return createRule; });
2441
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return getDynamicStyles; });
2442
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return hasCSSTOMSupport; });
2443
+ /* unused harmony export sheets */
2444
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return toCssValue; });
2445
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
2446
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_is_in_browser__ = __webpack_require__(193);
2447
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_tiny_warning__ = __webpack_require__(77);
2448
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_esm_createClass__ = __webpack_require__(79);
2449
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__babel_runtime_helpers_esm_inheritsLoose__ = __webpack_require__(55);
2450
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__babel_runtime_helpers_esm_assertThisInitialized__ = __webpack_require__(122);
2451
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__babel_runtime_helpers_esm_objectWithoutPropertiesLoose__ = __webpack_require__(54);
2452
+
2453
+
2454
+
2455
+
2456
+
2457
+
2458
+
2459
+
2460
+ var plainObjectConstrurctor = {}.constructor;
2461
+ function cloneStyle(style) {
2462
+ if (style == null || typeof style !== 'object') return style;
2463
+ if (Array.isArray(style)) return style.map(cloneStyle);
2464
+ if (style.constructor !== plainObjectConstrurctor) return style;
2465
+ var newStyle = {};
2466
+
2467
+ for (var name in style) {
2468
+ newStyle[name] = cloneStyle(style[name]);
2469
+ }
2470
+
2471
+ return newStyle;
2472
+ }
2473
+
2474
+ /**
2475
+ * Create a rule instance.
2476
+ */
2477
+
2478
+ function createRule(name, decl, options) {
2479
+ if (name === void 0) {
2480
+ name = 'unnamed';
2481
+ }
2482
+
2483
+ var jss = options.jss;
2484
+ var declCopy = cloneStyle(decl);
2485
+ var rule = jss.plugins.onCreateRule(name, declCopy, options);
2486
+ if (rule) return rule; // It is an at-rule and it has no instance.
2487
+
2488
+ if (name[0] === '@') {
2489
+ process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_2_tiny_warning__["a" /* default */])(false, "[JSS] Unknown rule " + name) : void 0;
2490
+ }
2491
+
2492
+ return null;
2493
+ }
2494
+
2495
+ var join = function join(value, by) {
2496
+ var result = '';
2497
+
2498
+ for (var i = 0; i < value.length; i++) {
2499
+ // Remove !important from the value, it will be readded later.
2500
+ if (value[i] === '!important') break;
2501
+ if (result) result += by;
2502
+ result += value[i];
2503
+ }
2504
+
2505
+ return result;
2506
+ };
2507
+ /**
2508
+ * Converts array values to string.
2509
+ *
2510
+ * `margin: [['5px', '10px']]` > `margin: 5px 10px;`
2511
+ * `border: ['1px', '2px']` > `border: 1px, 2px;`
2512
+ * `margin: [['5px', '10px'], '!important']` > `margin: 5px 10px !important;`
2513
+ * `color: ['red', !important]` > `color: red !important;`
2514
+ */
2515
+
2516
+
2517
+ function toCssValue(value, ignoreImportant) {
2518
+ if (ignoreImportant === void 0) {
2519
+ ignoreImportant = false;
2520
+ }
2521
+
2522
+ if (!Array.isArray(value)) return value;
2523
+ var cssValue = ''; // Support space separated values via `[['5px', '10px']]`.
2524
+
2525
+ if (Array.isArray(value[0])) {
2526
+ for (var i = 0; i < value.length; i++) {
2527
+ if (value[i] === '!important') break;
2528
+ if (cssValue) cssValue += ', ';
2529
+ cssValue += join(value[i], ' ');
2530
+ }
2531
+ } else cssValue = join(value, ', '); // Add !important, because it was ignored.
2532
+
2533
+
2534
+ if (!ignoreImportant && value[value.length - 1] === '!important') {
2535
+ cssValue += ' !important';
2536
+ }
2537
+
2538
+ return cssValue;
2539
+ }
2540
+
2541
+ /**
2542
+ * Indent a string.
2543
+ * http://jsperf.com/array-join-vs-for
2544
+ */
2545
+ function indentStr(str, indent) {
2546
+ var result = '';
2547
+
2548
+ for (var index = 0; index < indent; index++) {
2549
+ result += ' ';
2550
+ }
2551
+
2552
+ return result + str;
2553
+ }
2554
+ /**
2555
+ * Converts a Rule to CSS string.
2556
+ */
2557
+
2558
+
2559
+ function toCss(selector, style, options) {
2560
+ if (options === void 0) {
2561
+ options = {};
2562
+ }
2563
+
2564
+ var result = '';
2565
+ if (!style) return result;
2566
+ var _options = options,
2567
+ _options$indent = _options.indent,
2568
+ indent = _options$indent === void 0 ? 0 : _options$indent;
2569
+ var fallbacks = style.fallbacks;
2570
+ if (selector) indent++; // Apply fallbacks first.
2571
+
2572
+ if (fallbacks) {
2573
+ // Array syntax {fallbacks: [{prop: value}]}
2574
+ if (Array.isArray(fallbacks)) {
2575
+ for (var index = 0; index < fallbacks.length; index++) {
2576
+ var fallback = fallbacks[index];
2577
+
2578
+ for (var prop in fallback) {
2579
+ var value = fallback[prop];
2580
+
2581
+ if (value != null) {
2582
+ if (result) result += '\n';
2583
+ result += "" + indentStr(prop + ": " + toCssValue(value) + ";", indent);
2584
+ }
2585
+ }
2586
+ }
2587
+ } else {
2588
+ // Object syntax {fallbacks: {prop: value}}
2589
+ for (var _prop in fallbacks) {
2590
+ var _value = fallbacks[_prop];
2591
+
2592
+ if (_value != null) {
2593
+ if (result) result += '\n';
2594
+ result += "" + indentStr(_prop + ": " + toCssValue(_value) + ";", indent);
2595
+ }
2596
+ }
2597
+ }
2598
+ }
2599
+
2600
+ for (var _prop2 in style) {
2601
+ var _value2 = style[_prop2];
2602
+
2603
+ if (_value2 != null && _prop2 !== 'fallbacks') {
2604
+ if (result) result += '\n';
2605
+ result += "" + indentStr(_prop2 + ": " + toCssValue(_value2) + ";", indent);
2606
+ }
2607
+ } // Allow empty style in this case, because properties will be added dynamically.
2608
+
2609
+
2610
+ if (!result && !options.allowEmpty) return result; // When rule is being stringified before selector was defined.
2611
+
2612
+ if (!selector) return result;
2613
+ indent--;
2614
+ if (result) result = "\n" + result + "\n";
2615
+ return indentStr(selector + " {" + result, indent) + indentStr('}', indent);
2616
+ }
2617
+
2618
+ var escapeRegex = /([[\].#*$><+~=|^:(),"'`\s])/g;
2619
+ var nativeEscape = typeof CSS !== 'undefined' && CSS.escape;
2620
+ var escape = (function (str) {
2621
+ return nativeEscape ? nativeEscape(str) : str.replace(escapeRegex, '\\$1');
2622
+ });
2623
+
2624
+ var BaseStyleRule =
2625
+ /*#__PURE__*/
2626
+ function () {
2627
+ function BaseStyleRule(key, style, options) {
2628
+ this.type = 'style';
2629
+ this.key = void 0;
2630
+ this.isProcessed = false;
2631
+ this.style = void 0;
2632
+ this.renderer = void 0;
2633
+ this.renderable = void 0;
2634
+ this.options = void 0;
2635
+ var sheet = options.sheet,
2636
+ Renderer = options.Renderer;
2637
+ this.key = key;
2638
+ this.options = options;
2639
+ this.style = style;
2640
+ if (sheet) this.renderer = sheet.renderer;else if (Renderer) this.renderer = new Renderer();
2641
+ }
2642
+ /**
2643
+ * Get or set a style property.
2644
+ */
2645
+
2646
+
2647
+ var _proto = BaseStyleRule.prototype;
2648
+
2649
+ _proto.prop = function prop(name, value, options) {
2650
+ // It's a getter.
2651
+ if (value === undefined) return this.style[name]; // Don't do anything if the value has not changed.
2652
+
2653
+ var force = options ? options.force : false;
2654
+ if (!force && this.style[name] === value) return this;
2655
+ var newValue = value;
2656
+
2657
+ if (!options || options.process !== false) {
2658
+ newValue = this.options.jss.plugins.onChangeValue(value, name, this);
2659
+ }
2660
+
2661
+ var isEmpty = newValue == null || newValue === false;
2662
+ var isDefined = name in this.style; // Value is empty and wasn't defined before.
2663
+
2664
+ if (isEmpty && !isDefined && !force) return this; // We are going to remove this value.
2665
+
2666
+ var remove = isEmpty && isDefined;
2667
+ if (remove) delete this.style[name];else this.style[name] = newValue; // Renderable is defined if StyleSheet option `link` is true.
2668
+
2669
+ if (this.renderable && this.renderer) {
2670
+ if (remove) this.renderer.removeProperty(this.renderable, name);else this.renderer.setProperty(this.renderable, name, newValue);
2671
+ return this;
2672
+ }
2673
+
2674
+ var sheet = this.options.sheet;
2675
+
2676
+ if (sheet && sheet.attached) {
2677
+ process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_2_tiny_warning__["a" /* default */])(false, '[JSS] Rule is not linked. Missing sheet option "link: true".') : void 0;
2678
+ }
2679
+
2680
+ return this;
2681
+ };
2682
+
2683
+ return BaseStyleRule;
2684
+ }();
2685
+ var StyleRule =
2686
+ /*#__PURE__*/
2687
+ function (_BaseStyleRule) {
2688
+ Object(__WEBPACK_IMPORTED_MODULE_4__babel_runtime_helpers_esm_inheritsLoose__["a" /* default */])(StyleRule, _BaseStyleRule);
2689
+
2690
+ function StyleRule(key, style, options) {
2691
+ var _this;
2692
+
2693
+ _this = _BaseStyleRule.call(this, key, style, options) || this;
2694
+ _this.selectorText = void 0;
2695
+ _this.id = void 0;
2696
+ _this.renderable = void 0;
2697
+ var selector = options.selector,
2698
+ scoped = options.scoped,
2699
+ sheet = options.sheet,
2700
+ generateId = options.generateId;
2701
+
2702
+ if (selector) {
2703
+ _this.selectorText = selector;
2704
+ } else if (scoped !== false) {
2705
+ _this.id = generateId(Object(__WEBPACK_IMPORTED_MODULE_5__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_5__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(_this)), sheet);
2706
+ _this.selectorText = "." + escape(_this.id);
2707
+ }
2708
+
2709
+ return _this;
2710
+ }
2711
+ /**
2712
+ * Set selector string.
2713
+ * Attention: use this with caution. Most browsers didn't implement
2714
+ * selectorText setter, so this may result in rerendering of entire Style Sheet.
2715
+ */
2716
+
2717
+
2718
+ var _proto2 = StyleRule.prototype;
2719
+
2720
+ /**
2721
+ * Apply rule to an element inline.
2722
+ */
2723
+ _proto2.applyTo = function applyTo(renderable) {
2724
+ var renderer = this.renderer;
2725
+
2726
+ if (renderer) {
2727
+ var json = this.toJSON();
2728
+
2729
+ for (var prop in json) {
2730
+ renderer.setProperty(renderable, prop, json[prop]);
2731
+ }
2732
+ }
2733
+
2734
+ return this;
2735
+ }
2736
+ /**
2737
+ * Returns JSON representation of the rule.
2738
+ * Fallbacks are not supported.
2739
+ * Useful for inline styles.
2740
+ */
2741
+ ;
2742
+
2743
+ _proto2.toJSON = function toJSON() {
2744
+ var json = {};
2745
+
2746
+ for (var prop in this.style) {
2747
+ var value = this.style[prop];
2748
+ if (typeof value !== 'object') json[prop] = value;else if (Array.isArray(value)) json[prop] = toCssValue(value);
2749
+ }
2750
+
2751
+ return json;
2752
+ }
2753
+ /**
2754
+ * Generates a CSS string.
2755
+ */
2756
+ ;
2757
+
2758
+ _proto2.toString = function toString(options) {
2759
+ var sheet = this.options.sheet;
2760
+ var link = sheet ? sheet.options.link : false;
2761
+ var opts = link ? Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({}, options, {
2762
+ allowEmpty: true
2763
+ }) : options;
2764
+ return toCss(this.selectorText, this.style, opts);
2765
+ };
2766
+
2767
+ Object(__WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_esm_createClass__["a" /* default */])(StyleRule, [{
2768
+ key: "selector",
2769
+ set: function set(selector) {
2770
+ if (selector === this.selectorText) return;
2771
+ this.selectorText = selector;
2772
+ var renderer = this.renderer,
2773
+ renderable = this.renderable;
2774
+ if (!renderable || !renderer) return;
2775
+ var hasChanged = renderer.setSelector(renderable, selector); // If selector setter is not implemented, rerender the rule.
2776
+
2777
+ if (!hasChanged) {
2778
+ renderer.replaceRule(renderable, this);
2779
+ }
2780
+ }
2781
+ /**
2782
+ * Get selector string.
2783
+ */
2784
+ ,
2785
+ get: function get() {
2786
+ return this.selectorText;
2787
+ }
2788
+ }]);
2789
+
2790
+ return StyleRule;
2791
+ }(BaseStyleRule);
2792
+ var pluginStyleRule = {
2793
+ onCreateRule: function onCreateRule(name, style, options) {
2794
+ if (name[0] === '@' || options.parent && options.parent.type === 'keyframes') {
2795
+ return null;
2796
+ }
2797
+
2798
+ return new StyleRule(name, style, options);
2799
+ }
2800
+ };
2801
+
2802
+ var defaultToStringOptions = {
2803
+ indent: 1,
2804
+ children: true
2805
+ };
2806
+ var atRegExp = /@([\w-]+)/;
2807
+ /**
2808
+ * Conditional rule for @media, @supports
2809
+ */
2810
+
2811
+ var ConditionalRule =
2812
+ /*#__PURE__*/
2813
+ function () {
2814
+ function ConditionalRule(key, styles, options) {
2815
+ this.type = 'conditional';
2816
+ this.at = void 0;
2817
+ this.key = void 0;
2818
+ this.query = void 0;
2819
+ this.rules = void 0;
2820
+ this.options = void 0;
2821
+ this.isProcessed = false;
2822
+ this.renderable = void 0;
2823
+ this.key = key; // Key might contain a unique suffix in case the `name` passed by user was duplicate.
2824
+
2825
+ this.query = options.name;
2826
+ var atMatch = key.match(atRegExp);
2827
+ this.at = atMatch ? atMatch[1] : 'unknown';
2828
+ this.options = options;
2829
+ this.rules = new RuleList(Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({}, options, {
2830
+ parent: this
2831
+ }));
2832
+
2833
+ for (var name in styles) {
2834
+ this.rules.add(name, styles[name]);
2835
+ }
2836
+
2837
+ this.rules.process();
2838
+ }
2839
+ /**
2840
+ * Get a rule.
2841
+ */
2842
+
2843
+
2844
+ var _proto = ConditionalRule.prototype;
2845
+
2846
+ _proto.getRule = function getRule(name) {
2847
+ return this.rules.get(name);
2848
+ }
2849
+ /**
2850
+ * Get index of a rule.
2851
+ */
2852
+ ;
2853
+
2854
+ _proto.indexOf = function indexOf(rule) {
2855
+ return this.rules.indexOf(rule);
2856
+ }
2857
+ /**
2858
+ * Create and register rule, run plugins.
2859
+ */
2860
+ ;
2861
+
2862
+ _proto.addRule = function addRule(name, style, options) {
2863
+ var rule = this.rules.add(name, style, options);
2864
+ if (!rule) return null;
2865
+ this.options.jss.plugins.onProcessRule(rule);
2866
+ return rule;
2867
+ }
2868
+ /**
2869
+ * Generates a CSS string.
2870
+ */
2871
+ ;
2872
+
2873
+ _proto.toString = function toString(options) {
2874
+ if (options === void 0) {
2875
+ options = defaultToStringOptions;
2876
+ }
2877
+
2878
+ if (options.indent == null) options.indent = defaultToStringOptions.indent;
2879
+ if (options.children == null) options.children = defaultToStringOptions.children;
2880
+
2881
+ if (options.children === false) {
2882
+ return this.query + " {}";
2883
+ }
2884
+
2885
+ var children = this.rules.toString(options);
2886
+ return children ? this.query + " {\n" + children + "\n}" : '';
2887
+ };
2888
+
2889
+ return ConditionalRule;
2890
+ }();
2891
+ var keyRegExp = /@media|@supports\s+/;
2892
+ var pluginConditionalRule = {
2893
+ onCreateRule: function onCreateRule(key, styles, options) {
2894
+ return keyRegExp.test(key) ? new ConditionalRule(key, styles, options) : null;
2895
+ }
2896
+ };
2897
+
2898
+ var defaultToStringOptions$1 = {
2899
+ indent: 1,
2900
+ children: true
2901
+ };
2902
+ var nameRegExp = /@keyframes\s+([\w-]+)/;
2903
+ /**
2904
+ * Rule for @keyframes
2905
+ */
2906
+
2907
+ var KeyframesRule =
2908
+ /*#__PURE__*/
2909
+ function () {
2910
+ function KeyframesRule(key, frames, options) {
2911
+ this.type = 'keyframes';
2912
+ this.at = '@keyframes';
2913
+ this.key = void 0;
2914
+ this.name = void 0;
2915
+ this.id = void 0;
2916
+ this.rules = void 0;
2917
+ this.options = void 0;
2918
+ this.isProcessed = false;
2919
+ this.renderable = void 0;
2920
+ var nameMatch = key.match(nameRegExp);
2921
+
2922
+ if (nameMatch && nameMatch[1]) {
2923
+ this.name = nameMatch[1];
2924
+ } else {
2925
+ this.name = 'noname';
2926
+ process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_2_tiny_warning__["a" /* default */])(false, "[JSS] Bad keyframes name " + key) : void 0;
2927
+ }
2928
+
2929
+ this.key = this.type + "-" + this.name;
2930
+ this.options = options;
2931
+ var scoped = options.scoped,
2932
+ sheet = options.sheet,
2933
+ generateId = options.generateId;
2934
+ this.id = scoped === false ? this.name : escape(generateId(this, sheet));
2935
+ this.rules = new RuleList(Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({}, options, {
2936
+ parent: this
2937
+ }));
2938
+
2939
+ for (var name in frames) {
2940
+ this.rules.add(name, frames[name], Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({}, options, {
2941
+ parent: this
2942
+ }));
2943
+ }
2944
+
2945
+ this.rules.process();
2946
+ }
2947
+ /**
2948
+ * Generates a CSS string.
2949
+ */
2950
+
2951
+
2952
+ var _proto = KeyframesRule.prototype;
2953
+
2954
+ _proto.toString = function toString(options) {
2955
+ if (options === void 0) {
2956
+ options = defaultToStringOptions$1;
2957
+ }
2958
+
2959
+ if (options.indent == null) options.indent = defaultToStringOptions$1.indent;
2960
+ if (options.children == null) options.children = defaultToStringOptions$1.children;
2961
+
2962
+ if (options.children === false) {
2963
+ return this.at + " " + this.id + " {}";
2964
+ }
2965
+
2966
+ var children = this.rules.toString(options);
2967
+ if (children) children = "\n" + children + "\n";
2968
+ return this.at + " " + this.id + " {" + children + "}";
2969
+ };
2970
+
2971
+ return KeyframesRule;
2972
+ }();
2973
+ var keyRegExp$1 = /@keyframes\s+/;
2974
+ var refRegExp = /\$([\w-]+)/g;
2975
+
2976
+ var findReferencedKeyframe = function findReferencedKeyframe(val, keyframes) {
2977
+ if (typeof val === 'string') {
2978
+ return val.replace(refRegExp, function (match, name) {
2979
+ if (name in keyframes) {
2980
+ return keyframes[name];
2981
+ }
2982
+
2983
+ process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_2_tiny_warning__["a" /* default */])(false, "[JSS] Referenced keyframes rule \"" + name + "\" is not defined.") : void 0;
2984
+ return match;
2985
+ });
2986
+ }
2987
+
2988
+ return val;
2989
+ };
2990
+ /**
2991
+ * Replace the reference for a animation name.
2992
+ */
2993
+
2994
+
2995
+ var replaceRef = function replaceRef(style, prop, keyframes) {
2996
+ var value = style[prop];
2997
+ var refKeyframe = findReferencedKeyframe(value, keyframes);
2998
+
2999
+ if (refKeyframe !== value) {
3000
+ style[prop] = refKeyframe;
3001
+ }
3002
+ };
3003
+
3004
+ var plugin = {
3005
+ onCreateRule: function onCreateRule(key, frames, options) {
3006
+ return typeof key === 'string' && keyRegExp$1.test(key) ? new KeyframesRule(key, frames, options) : null;
3007
+ },
3008
+ // Animation name ref replacer.
3009
+ onProcessStyle: function onProcessStyle(style, rule, sheet) {
3010
+ if (rule.type !== 'style' || !sheet) return style;
3011
+ if ('animation-name' in style) replaceRef(style, 'animation-name', sheet.keyframes);
3012
+ if ('animation' in style) replaceRef(style, 'animation', sheet.keyframes);
3013
+ return style;
3014
+ },
3015
+ onChangeValue: function onChangeValue(val, prop, rule) {
3016
+ var sheet = rule.options.sheet;
3017
+
3018
+ if (!sheet) {
3019
+ return val;
3020
+ }
3021
+
3022
+ switch (prop) {
3023
+ case 'animation':
3024
+ return findReferencedKeyframe(val, sheet.keyframes);
3025
+
3026
+ case 'animation-name':
3027
+ return findReferencedKeyframe(val, sheet.keyframes);
3028
+
3029
+ default:
3030
+ return val;
3031
+ }
3032
+ }
3033
+ };
3034
+
3035
+ var KeyframeRule =
3036
+ /*#__PURE__*/
3037
+ function (_BaseStyleRule) {
3038
+ Object(__WEBPACK_IMPORTED_MODULE_4__babel_runtime_helpers_esm_inheritsLoose__["a" /* default */])(KeyframeRule, _BaseStyleRule);
3039
+
3040
+ function KeyframeRule() {
3041
+ var _this;
3042
+
3043
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
3044
+ args[_key] = arguments[_key];
3045
+ }
3046
+
3047
+ _this = _BaseStyleRule.call.apply(_BaseStyleRule, [this].concat(args)) || this;
3048
+ _this.renderable = void 0;
3049
+ return _this;
3050
+ }
3051
+
3052
+ var _proto = KeyframeRule.prototype;
3053
+
3054
+ /**
3055
+ * Generates a CSS string.
3056
+ */
3057
+ _proto.toString = function toString(options) {
3058
+ var sheet = this.options.sheet;
3059
+ var link = sheet ? sheet.options.link : false;
3060
+ var opts = link ? Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({}, options, {
3061
+ allowEmpty: true
3062
+ }) : options;
3063
+ return toCss(this.key, this.style, opts);
3064
+ };
3065
+
3066
+ return KeyframeRule;
3067
+ }(BaseStyleRule);
3068
+ var pluginKeyframeRule = {
3069
+ onCreateRule: function onCreateRule(key, style, options) {
3070
+ if (options.parent && options.parent.type === 'keyframes') {
3071
+ return new KeyframeRule(key, style, options);
3072
+ }
3073
+
3074
+ return null;
3075
+ }
3076
+ };
3077
+
3078
+ var FontFaceRule =
3079
+ /*#__PURE__*/
3080
+ function () {
3081
+ function FontFaceRule(key, style, options) {
3082
+ this.type = 'font-face';
3083
+ this.at = '@font-face';
3084
+ this.key = void 0;
3085
+ this.style = void 0;
3086
+ this.options = void 0;
3087
+ this.isProcessed = false;
3088
+ this.renderable = void 0;
3089
+ this.key = key;
3090
+ this.style = style;
3091
+ this.options = options;
3092
+ }
3093
+ /**
3094
+ * Generates a CSS string.
3095
+ */
3096
+
3097
+
3098
+ var _proto = FontFaceRule.prototype;
3099
+
3100
+ _proto.toString = function toString(options) {
3101
+ if (Array.isArray(this.style)) {
3102
+ var str = '';
3103
+
3104
+ for (var index = 0; index < this.style.length; index++) {
3105
+ str += toCss(this.at, this.style[index]);
3106
+ if (this.style[index + 1]) str += '\n';
3107
+ }
3108
+
3109
+ return str;
3110
+ }
3111
+
3112
+ return toCss(this.at, this.style, options);
3113
+ };
3114
+
3115
+ return FontFaceRule;
3116
+ }();
3117
+ var keyRegExp$2 = /@font-face/;
3118
+ var pluginFontFaceRule = {
3119
+ onCreateRule: function onCreateRule(key, style, options) {
3120
+ return keyRegExp$2.test(key) ? new FontFaceRule(key, style, options) : null;
3121
+ }
3122
+ };
3123
+
3124
+ var ViewportRule =
3125
+ /*#__PURE__*/
3126
+ function () {
3127
+ function ViewportRule(key, style, options) {
3128
+ this.type = 'viewport';
3129
+ this.at = '@viewport';
3130
+ this.key = void 0;
3131
+ this.style = void 0;
3132
+ this.options = void 0;
3133
+ this.isProcessed = false;
3134
+ this.renderable = void 0;
3135
+ this.key = key;
3136
+ this.style = style;
3137
+ this.options = options;
3138
+ }
3139
+ /**
3140
+ * Generates a CSS string.
3141
+ */
3142
+
3143
+
3144
+ var _proto = ViewportRule.prototype;
3145
+
3146
+ _proto.toString = function toString(options) {
3147
+ return toCss(this.key, this.style, options);
3148
+ };
3149
+
3150
+ return ViewportRule;
3151
+ }();
3152
+ var pluginViewportRule = {
3153
+ onCreateRule: function onCreateRule(key, style, options) {
3154
+ return key === '@viewport' || key === '@-ms-viewport' ? new ViewportRule(key, style, options) : null;
3155
+ }
3156
+ };
3157
+
3158
+ var SimpleRule =
3159
+ /*#__PURE__*/
3160
+ function () {
3161
+ function SimpleRule(key, value, options) {
3162
+ this.type = 'simple';
3163
+ this.key = void 0;
3164
+ this.value = void 0;
3165
+ this.options = void 0;
3166
+ this.isProcessed = false;
3167
+ this.renderable = void 0;
3168
+ this.key = key;
3169
+ this.value = value;
3170
+ this.options = options;
3171
+ }
3172
+ /**
3173
+ * Generates a CSS string.
3174
+ */
3175
+ // eslint-disable-next-line no-unused-vars
3176
+
3177
+
3178
+ var _proto = SimpleRule.prototype;
3179
+
3180
+ _proto.toString = function toString(options) {
3181
+ if (Array.isArray(this.value)) {
3182
+ var str = '';
3183
+
3184
+ for (var index = 0; index < this.value.length; index++) {
3185
+ str += this.key + " " + this.value[index] + ";";
3186
+ if (this.value[index + 1]) str += '\n';
3187
+ }
3188
+
3189
+ return str;
3190
+ }
3191
+
3192
+ return this.key + " " + this.value + ";";
3193
+ };
3194
+
3195
+ return SimpleRule;
3196
+ }();
3197
+ var keysMap = {
3198
+ '@charset': true,
3199
+ '@import': true,
3200
+ '@namespace': true
3201
+ };
3202
+ var pluginSimpleRule = {
3203
+ onCreateRule: function onCreateRule(key, value, options) {
3204
+ return key in keysMap ? new SimpleRule(key, value, options) : null;
3205
+ }
3206
+ };
3207
+
3208
+ var plugins = [pluginStyleRule, pluginConditionalRule, plugin, pluginKeyframeRule, pluginFontFaceRule, pluginViewportRule, pluginSimpleRule];
3209
+
3210
+ var defaultUpdateOptions = {
3211
+ process: true
3212
+ };
3213
+ var forceUpdateOptions = {
3214
+ force: true,
3215
+ process: true
3216
+ /**
3217
+ * Contains rules objects and allows adding/removing etc.
3218
+ * Is used for e.g. by `StyleSheet` or `ConditionalRule`.
3219
+ */
3220
+
3221
+ };
3222
+
3223
+ var RuleList =
3224
+ /*#__PURE__*/
3225
+ function () {
3226
+ // Rules registry for access by .get() method.
3227
+ // It contains the same rule registered by name and by selector.
3228
+ // Original styles object.
3229
+ // Used to ensure correct rules order.
3230
+ function RuleList(options) {
3231
+ this.map = {};
3232
+ this.raw = {};
3233
+ this.index = [];
3234
+ this.counter = 0;
3235
+ this.options = void 0;
3236
+ this.classes = void 0;
3237
+ this.keyframes = void 0;
3238
+ this.options = options;
3239
+ this.classes = options.classes;
3240
+ this.keyframes = options.keyframes;
3241
+ }
3242
+ /**
3243
+ * Create and register rule.
3244
+ *
3245
+ * Will not render after Style Sheet was rendered the first time.
3246
+ */
3247
+
3248
+
3249
+ var _proto = RuleList.prototype;
3250
+
3251
+ _proto.add = function add(name, decl, ruleOptions) {
3252
+ var _this$options = this.options,
3253
+ parent = _this$options.parent,
3254
+ sheet = _this$options.sheet,
3255
+ jss = _this$options.jss,
3256
+ Renderer = _this$options.Renderer,
3257
+ generateId = _this$options.generateId,
3258
+ scoped = _this$options.scoped;
3259
+
3260
+ var options = Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({
3261
+ classes: this.classes,
3262
+ parent: parent,
3263
+ sheet: sheet,
3264
+ jss: jss,
3265
+ Renderer: Renderer,
3266
+ generateId: generateId,
3267
+ scoped: scoped,
3268
+ name: name
3269
+ }, ruleOptions); // When user uses .createStyleSheet(), duplicate names are not possible, but
3270
+ // `sheet.addRule()` opens the door for any duplicate rule name. When this happens
3271
+ // we need to make the key unique within this RuleList instance scope.
3272
+
3273
+
3274
+ var key = name;
3275
+
3276
+ if (name in this.raw) {
3277
+ key = name + "-d" + this.counter++;
3278
+ } // We need to save the original decl before creating the rule
3279
+ // because cache plugin needs to use it as a key to return a cached rule.
3280
+
3281
+
3282
+ this.raw[key] = decl;
3283
+
3284
+ if (key in this.classes) {
3285
+ // E.g. rules inside of @media container
3286
+ options.selector = "." + escape(this.classes[key]);
3287
+ }
3288
+
3289
+ var rule = createRule(key, decl, options);
3290
+ if (!rule) return null;
3291
+ this.register(rule);
3292
+ var index = options.index === undefined ? this.index.length : options.index;
3293
+ this.index.splice(index, 0, rule);
3294
+ return rule;
3295
+ }
3296
+ /**
3297
+ * Get a rule.
3298
+ */
3299
+ ;
3300
+
3301
+ _proto.get = function get(name) {
3302
+ return this.map[name];
3303
+ }
3304
+ /**
3305
+ * Delete a rule.
3306
+ */
3307
+ ;
3308
+
3309
+ _proto.remove = function remove(rule) {
3310
+ this.unregister(rule);
3311
+ delete this.raw[rule.key];
3312
+ this.index.splice(this.index.indexOf(rule), 1);
3313
+ }
3314
+ /**
3315
+ * Get index of a rule.
3316
+ */
3317
+ ;
3318
+
3319
+ _proto.indexOf = function indexOf(rule) {
3320
+ return this.index.indexOf(rule);
3321
+ }
3322
+ /**
3323
+ * Run `onProcessRule()` plugins on every rule.
3324
+ */
3325
+ ;
3326
+
3327
+ _proto.process = function process() {
3328
+ var plugins = this.options.jss.plugins; // We need to clone array because if we modify the index somewhere else during a loop
3329
+ // we end up with very hard-to-track-down side effects.
3330
+
3331
+ this.index.slice(0).forEach(plugins.onProcessRule, plugins);
3332
+ }
3333
+ /**
3334
+ * Register a rule in `.map`, `.classes` and `.keyframes` maps.
3335
+ */
3336
+ ;
3337
+
3338
+ _proto.register = function register(rule) {
3339
+ this.map[rule.key] = rule;
3340
+
3341
+ if (rule instanceof StyleRule) {
3342
+ this.map[rule.selector] = rule;
3343
+ if (rule.id) this.classes[rule.key] = rule.id;
3344
+ } else if (rule instanceof KeyframesRule && this.keyframes) {
3345
+ this.keyframes[rule.name] = rule.id;
3346
+ }
3347
+ }
3348
+ /**
3349
+ * Unregister a rule.
3350
+ */
3351
+ ;
3352
+
3353
+ _proto.unregister = function unregister(rule) {
3354
+ delete this.map[rule.key];
3355
+
3356
+ if (rule instanceof StyleRule) {
3357
+ delete this.map[rule.selector];
3358
+ delete this.classes[rule.key];
3359
+ } else if (rule instanceof KeyframesRule) {
3360
+ delete this.keyframes[rule.name];
3361
+ }
3362
+ }
3363
+ /**
3364
+ * Update the function values with a new data.
3365
+ */
3366
+ ;
3367
+
3368
+ _proto.update = function update() {
3369
+ var name;
3370
+ var data;
3371
+ var options;
3372
+
3373
+ if (typeof (arguments.length <= 0 ? undefined : arguments[0]) === 'string') {
3374
+ name = arguments.length <= 0 ? undefined : arguments[0]; // $FlowFixMe
3375
+
3376
+ data = arguments.length <= 1 ? undefined : arguments[1]; // $FlowFixMe
3377
+
3378
+ options = arguments.length <= 2 ? undefined : arguments[2];
3379
+ } else {
3380
+ data = arguments.length <= 0 ? undefined : arguments[0]; // $FlowFixMe
3381
+
3382
+ options = arguments.length <= 1 ? undefined : arguments[1];
3383
+ name = null;
3384
+ }
3385
+
3386
+ if (name) {
3387
+ this.updateOne(this.map[name], data, options);
3388
+ } else {
3389
+ for (var index = 0; index < this.index.length; index++) {
3390
+ this.updateOne(this.index[index], data, options);
3391
+ }
3392
+ }
3393
+ }
3394
+ /**
3395
+ * Execute plugins, update rule props.
3396
+ */
3397
+ ;
3398
+
3399
+ _proto.updateOne = function updateOne(rule, data, options) {
3400
+ if (options === void 0) {
3401
+ options = defaultUpdateOptions;
3402
+ }
3403
+
3404
+ var _this$options2 = this.options,
3405
+ plugins = _this$options2.jss.plugins,
3406
+ sheet = _this$options2.sheet; // It is a rules container like for e.g. ConditionalRule.
3407
+
3408
+ if (rule.rules instanceof RuleList) {
3409
+ rule.rules.update(data, options);
3410
+ return;
3411
+ }
3412
+
3413
+ var styleRule = rule;
3414
+ var style = styleRule.style;
3415
+ plugins.onUpdate(data, rule, sheet, options); // We rely on a new `style` ref in case it was mutated during onUpdate hook.
3416
+
3417
+ if (options.process && style && style !== styleRule.style) {
3418
+ // We need to run the plugins in case new `style` relies on syntax plugins.
3419
+ plugins.onProcessStyle(styleRule.style, styleRule, sheet); // Update and add props.
3420
+
3421
+ for (var prop in styleRule.style) {
3422
+ var nextValue = styleRule.style[prop];
3423
+ var prevValue = style[prop]; // We need to use `force: true` because `rule.style` has been updated during onUpdate hook, so `rule.prop()` will not update the CSSOM rule.
3424
+ // We do this comparison to avoid unneeded `rule.prop()` calls, since we have the old `style` object here.
3425
+
3426
+ if (nextValue !== prevValue) {
3427
+ styleRule.prop(prop, nextValue, forceUpdateOptions);
3428
+ }
3429
+ } // Remove props.
3430
+
3431
+
3432
+ for (var _prop in style) {
3433
+ var _nextValue = styleRule.style[_prop];
3434
+ var _prevValue = style[_prop]; // We need to use `force: true` because `rule.style` has been updated during onUpdate hook, so `rule.prop()` will not update the CSSOM rule.
3435
+ // We do this comparison to avoid unneeded `rule.prop()` calls, since we have the old `style` object here.
3436
+
3437
+ if (_nextValue == null && _nextValue !== _prevValue) {
3438
+ styleRule.prop(_prop, null, forceUpdateOptions);
3439
+ }
3440
+ }
3441
+ }
3442
+ }
3443
+ /**
3444
+ * Convert rules to a CSS string.
3445
+ */
3446
+ ;
3447
+
3448
+ _proto.toString = function toString(options) {
3449
+ var str = '';
3450
+ var sheet = this.options.sheet;
3451
+ var link = sheet ? sheet.options.link : false;
3452
+
3453
+ for (var index = 0; index < this.index.length; index++) {
3454
+ var rule = this.index[index];
3455
+ var css = rule.toString(options); // No need to render an empty rule.
3456
+
3457
+ if (!css && !link) continue;
3458
+ if (str) str += '\n';
3459
+ str += css;
3460
+ }
3461
+
3462
+ return str;
3463
+ };
3464
+
3465
+ return RuleList;
3466
+ }();
3467
+
3468
+ var StyleSheet =
3469
+ /*#__PURE__*/
3470
+ function () {
3471
+ function StyleSheet(styles, options) {
3472
+ this.options = void 0;
3473
+ this.deployed = void 0;
3474
+ this.attached = void 0;
3475
+ this.rules = void 0;
3476
+ this.renderer = void 0;
3477
+ this.classes = void 0;
3478
+ this.keyframes = void 0;
3479
+ this.queue = void 0;
3480
+ this.attached = false;
3481
+ this.deployed = false;
3482
+ this.classes = {};
3483
+ this.keyframes = {};
3484
+ this.options = Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({}, options, {
3485
+ sheet: this,
3486
+ parent: this,
3487
+ classes: this.classes,
3488
+ keyframes: this.keyframes
3489
+ });
3490
+
3491
+ if (options.Renderer) {
3492
+ this.renderer = new options.Renderer(this);
3493
+ }
3494
+
3495
+ this.rules = new RuleList(this.options);
3496
+
3497
+ for (var name in styles) {
3498
+ this.rules.add(name, styles[name]);
3499
+ }
3500
+
3501
+ this.rules.process();
3502
+ }
3503
+ /**
3504
+ * Attach renderable to the render tree.
3505
+ */
3506
+
3507
+
3508
+ var _proto = StyleSheet.prototype;
3509
+
3510
+ _proto.attach = function attach() {
3511
+ if (this.attached) return this;
3512
+ if (this.renderer) this.renderer.attach();
3513
+ this.attached = true; // Order is important, because we can't use insertRule API if style element is not attached.
3514
+
3515
+ if (!this.deployed) this.deploy();
3516
+ return this;
3517
+ }
3518
+ /**
3519
+ * Remove renderable from render tree.
3520
+ */
3521
+ ;
3522
+
3523
+ _proto.detach = function detach() {
3524
+ if (!this.attached) return this;
3525
+ if (this.renderer) this.renderer.detach();
3526
+ this.attached = false;
3527
+ return this;
3528
+ }
3529
+ /**
3530
+ * Add a rule to the current stylesheet.
3531
+ * Will insert a rule also after the stylesheet has been rendered first time.
3532
+ */
3533
+ ;
3534
+
3535
+ _proto.addRule = function addRule(name, decl, options) {
3536
+ var queue = this.queue; // Plugins can create rules.
3537
+ // In order to preserve the right order, we need to queue all `.addRule` calls,
3538
+ // which happen after the first `rules.add()` call.
3539
+
3540
+ if (this.attached && !queue) this.queue = [];
3541
+ var rule = this.rules.add(name, decl, options);
3542
+ if (!rule) return null;
3543
+ this.options.jss.plugins.onProcessRule(rule);
3544
+
3545
+ if (this.attached) {
3546
+ if (!this.deployed) return rule; // Don't insert rule directly if there is no stringified version yet.
3547
+ // It will be inserted all together when .attach is called.
3548
+
3549
+ if (queue) queue.push(rule);else {
3550
+ this.insertRule(rule);
3551
+
3552
+ if (this.queue) {
3553
+ this.queue.forEach(this.insertRule, this);
3554
+ this.queue = undefined;
3555
+ }
3556
+ }
3557
+ return rule;
3558
+ } // We can't add rules to a detached style node.
3559
+ // We will redeploy the sheet once user will attach it.
3560
+
3561
+
3562
+ this.deployed = false;
3563
+ return rule;
3564
+ }
3565
+ /**
3566
+ * Insert rule into the StyleSheet
3567
+ */
3568
+ ;
3569
+
3570
+ _proto.insertRule = function insertRule(rule) {
3571
+ if (this.renderer) {
3572
+ this.renderer.insertRule(rule);
3573
+ }
3574
+ }
3575
+ /**
3576
+ * Create and add rules.
3577
+ * Will render also after Style Sheet was rendered the first time.
3578
+ */
3579
+ ;
3580
+
3581
+ _proto.addRules = function addRules(styles, options) {
3582
+ var added = [];
3583
+
3584
+ for (var name in styles) {
3585
+ var rule = this.addRule(name, styles[name], options);
3586
+ if (rule) added.push(rule);
3587
+ }
3588
+
3589
+ return added;
3590
+ }
3591
+ /**
3592
+ * Get a rule by name.
3593
+ */
3594
+ ;
3595
+
3596
+ _proto.getRule = function getRule(name) {
3597
+ return this.rules.get(name);
3598
+ }
3599
+ /**
3600
+ * Delete a rule by name.
3601
+ * Returns `true`: if rule has been deleted from the DOM.
3602
+ */
3603
+ ;
3604
+
3605
+ _proto.deleteRule = function deleteRule(name) {
3606
+ var rule = typeof name === 'object' ? name : this.rules.get(name);
3607
+ if (!rule) return false;
3608
+ this.rules.remove(rule);
3609
+
3610
+ if (this.attached && rule.renderable && this.renderer) {
3611
+ return this.renderer.deleteRule(rule.renderable);
3612
+ }
3613
+
3614
+ return true;
3615
+ }
3616
+ /**
3617
+ * Get index of a rule.
3618
+ */
3619
+ ;
3620
+
3621
+ _proto.indexOf = function indexOf(rule) {
3622
+ return this.rules.indexOf(rule);
3623
+ }
3624
+ /**
3625
+ * Deploy pure CSS string to a renderable.
3626
+ */
3627
+ ;
3628
+
3629
+ _proto.deploy = function deploy() {
3630
+ if (this.renderer) this.renderer.deploy();
3631
+ this.deployed = true;
3632
+ return this;
3633
+ }
3634
+ /**
3635
+ * Update the function values with a new data.
3636
+ */
3637
+ ;
3638
+
3639
+ _proto.update = function update() {
3640
+ var _this$rules;
3641
+
3642
+ (_this$rules = this.rules).update.apply(_this$rules, arguments);
3643
+
3644
+ return this;
3645
+ }
3646
+ /**
3647
+ * Updates a single rule.
3648
+ */
3649
+ ;
3650
+
3651
+ _proto.updateOne = function updateOne(rule, data, options) {
3652
+ this.rules.updateOne(rule, data, options);
3653
+ return this;
3654
+ }
3655
+ /**
3656
+ * Convert rules to a CSS string.
3657
+ */
3658
+ ;
3659
+
3660
+ _proto.toString = function toString(options) {
3661
+ return this.rules.toString(options);
3662
+ };
3663
+
3664
+ return StyleSheet;
3665
+ }();
3666
+
3667
+ var PluginsRegistry =
3668
+ /*#__PURE__*/
3669
+ function () {
3670
+ function PluginsRegistry() {
3671
+ this.plugins = {
3672
+ internal: [],
3673
+ external: []
3674
+ };
3675
+ this.registry = void 0;
3676
+ }
3677
+
3678
+ var _proto = PluginsRegistry.prototype;
3679
+
3680
+ /**
3681
+ * Call `onCreateRule` hooks and return an object if returned by a hook.
3682
+ */
3683
+ _proto.onCreateRule = function onCreateRule(name, decl, options) {
3684
+ for (var i = 0; i < this.registry.onCreateRule.length; i++) {
3685
+ var rule = this.registry.onCreateRule[i](name, decl, options);
3686
+ if (rule) return rule;
3687
+ }
3688
+
3689
+ return null;
3690
+ }
3691
+ /**
3692
+ * Call `onProcessRule` hooks.
3693
+ */
3694
+ ;
3695
+
3696
+ _proto.onProcessRule = function onProcessRule(rule) {
3697
+ if (rule.isProcessed) return;
3698
+ var sheet = rule.options.sheet;
3699
+
3700
+ for (var i = 0; i < this.registry.onProcessRule.length; i++) {
3701
+ this.registry.onProcessRule[i](rule, sheet);
3702
+ }
3703
+
3704
+ if (rule.style) this.onProcessStyle(rule.style, rule, sheet);
3705
+ rule.isProcessed = true;
3706
+ }
3707
+ /**
3708
+ * Call `onProcessStyle` hooks.
3709
+ */
3710
+ ;
3711
+
3712
+ _proto.onProcessStyle = function onProcessStyle(style, rule, sheet) {
3713
+ for (var i = 0; i < this.registry.onProcessStyle.length; i++) {
3714
+ // $FlowFixMe
3715
+ rule.style = this.registry.onProcessStyle[i](rule.style, rule, sheet);
3716
+ }
3717
+ }
3718
+ /**
3719
+ * Call `onProcessSheet` hooks.
3720
+ */
3721
+ ;
3722
+
3723
+ _proto.onProcessSheet = function onProcessSheet(sheet) {
3724
+ for (var i = 0; i < this.registry.onProcessSheet.length; i++) {
3725
+ this.registry.onProcessSheet[i](sheet);
3726
+ }
3727
+ }
3728
+ /**
3729
+ * Call `onUpdate` hooks.
3730
+ */
3731
+ ;
3732
+
3733
+ _proto.onUpdate = function onUpdate(data, rule, sheet, options) {
3734
+ for (var i = 0; i < this.registry.onUpdate.length; i++) {
3735
+ this.registry.onUpdate[i](data, rule, sheet, options);
3736
+ }
3737
+ }
3738
+ /**
3739
+ * Call `onChangeValue` hooks.
3740
+ */
3741
+ ;
3742
+
3743
+ _proto.onChangeValue = function onChangeValue(value, prop, rule) {
3744
+ var processedValue = value;
3745
+
3746
+ for (var i = 0; i < this.registry.onChangeValue.length; i++) {
3747
+ processedValue = this.registry.onChangeValue[i](processedValue, prop, rule);
3748
+ }
3749
+
3750
+ return processedValue;
3751
+ }
3752
+ /**
3753
+ * Register a plugin.
3754
+ */
3755
+ ;
3756
+
3757
+ _proto.use = function use(newPlugin, options) {
3758
+ if (options === void 0) {
3759
+ options = {
3760
+ queue: 'external'
3761
+ };
3762
+ }
3763
+
3764
+ var plugins = this.plugins[options.queue]; // Avoids applying same plugin twice, at least based on ref.
3765
+
3766
+ if (plugins.indexOf(newPlugin) !== -1) {
3767
+ return;
3768
+ }
3769
+
3770
+ plugins.push(newPlugin);
3771
+ this.registry = [].concat(this.plugins.external, this.plugins.internal).reduce(function (registry, plugin) {
3772
+ for (var name in plugin) {
3773
+ if (name in registry) {
3774
+ registry[name].push(plugin[name]);
3775
+ } else {
3776
+ process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_2_tiny_warning__["a" /* default */])(false, "[JSS] Unknown hook \"" + name + "\".") : void 0;
3777
+ }
3778
+ }
3779
+
3780
+ return registry;
3781
+ }, {
3782
+ onCreateRule: [],
3783
+ onProcessRule: [],
3784
+ onProcessStyle: [],
3785
+ onProcessSheet: [],
3786
+ onChangeValue: [],
3787
+ onUpdate: []
3788
+ });
3789
+ };
3790
+
3791
+ return PluginsRegistry;
3792
+ }();
3793
+
3794
+ /**
3795
+ * Sheets registry to access them all at one place.
3796
+ */
3797
+ var SheetsRegistry =
3798
+ /*#__PURE__*/
3799
+ function () {
3800
+ function SheetsRegistry() {
3801
+ this.registry = [];
3802
+ }
3803
+
3804
+ var _proto = SheetsRegistry.prototype;
3805
+
3806
+ /**
3807
+ * Register a Style Sheet.
3808
+ */
3809
+ _proto.add = function add(sheet) {
3810
+ var registry = this.registry;
3811
+ var index = sheet.options.index;
3812
+ if (registry.indexOf(sheet) !== -1) return;
3813
+
3814
+ if (registry.length === 0 || index >= this.index) {
3815
+ registry.push(sheet);
3816
+ return;
3817
+ } // Find a position.
3818
+
3819
+
3820
+ for (var i = 0; i < registry.length; i++) {
3821
+ if (registry[i].options.index > index) {
3822
+ registry.splice(i, 0, sheet);
3823
+ return;
3824
+ }
3825
+ }
3826
+ }
3827
+ /**
3828
+ * Reset the registry.
3829
+ */
3830
+ ;
3831
+
3832
+ _proto.reset = function reset() {
3833
+ this.registry = [];
3834
+ }
3835
+ /**
3836
+ * Remove a Style Sheet.
3837
+ */
3838
+ ;
3839
+
3840
+ _proto.remove = function remove(sheet) {
3841
+ var index = this.registry.indexOf(sheet);
3842
+ this.registry.splice(index, 1);
3843
+ }
3844
+ /**
3845
+ * Convert all attached sheets to a CSS string.
3846
+ */
3847
+ ;
3848
+
3849
+ _proto.toString = function toString(_temp) {
3850
+ var _ref = _temp === void 0 ? {} : _temp,
3851
+ attached = _ref.attached,
3852
+ options = Object(__WEBPACK_IMPORTED_MODULE_6__babel_runtime_helpers_esm_objectWithoutPropertiesLoose__["a" /* default */])(_ref, ["attached"]);
3853
+
3854
+ var css = '';
3855
+
3856
+ for (var i = 0; i < this.registry.length; i++) {
3857
+ var sheet = this.registry[i];
3858
+
3859
+ if (attached != null && sheet.attached !== attached) {
3860
+ continue;
3861
+ }
3862
+
3863
+ if (css) css += '\n';
3864
+ css += sheet.toString(options);
3865
+ }
3866
+
3867
+ return css;
3868
+ };
3869
+
3870
+ Object(__WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_esm_createClass__["a" /* default */])(SheetsRegistry, [{
3871
+ key: "index",
3872
+
3873
+ /**
3874
+ * Current highest index number.
3875
+ */
3876
+ get: function get() {
3877
+ return this.registry.length === 0 ? 0 : this.registry[this.registry.length - 1].options.index;
3878
+ }
3879
+ }]);
3880
+
3881
+ return SheetsRegistry;
3882
+ }();
3883
+
3884
+ /**
3885
+ * This is a global sheets registry. Only DomRenderer will add sheets to it.
3886
+ * On the server one should use an own SheetsRegistry instance and add the
3887
+ * sheets to it, because you need to make sure to create a new registry for
3888
+ * each request in order to not leak sheets across requests.
3889
+ */
3890
+
3891
+ var sheets = new SheetsRegistry();
3892
+
3893
+ /* eslint-disable */
3894
+ // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
3895
+ var globalThis = typeof window != 'undefined' && window.Math == Math ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')();
3896
+
3897
+ var ns = '2f1acc6c3a606b082e5eef5e54414ffb';
3898
+ if (globalThis[ns] == null) globalThis[ns] = 0; // Bundle may contain multiple JSS versions at the same time. In order to identify
3899
+ // the current version with just one short number and use it for classes generation
3900
+ // we use a counter. Also it is more accurate, because user can manually reevaluate
3901
+ // the module.
3902
+
3903
+ var moduleId = globalThis[ns]++;
3904
+
3905
+ var maxRules = 1e10;
3906
+
3907
+ /**
3908
+ * Returns a function which generates unique class names based on counters.
3909
+ * When new generator function is created, rule counter is reseted.
3910
+ * We need to reset the rule counter for SSR for each request.
3911
+ */
3912
+ var createGenerateId = function createGenerateId(options) {
3913
+ if (options === void 0) {
3914
+ options = {};
3915
+ }
3916
+
3917
+ var ruleCounter = 0;
3918
+ return function (rule, sheet) {
3919
+ ruleCounter += 1;
3920
+
3921
+ if (ruleCounter > maxRules) {
3922
+ process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_2_tiny_warning__["a" /* default */])(false, "[JSS] You might have a memory leak. Rule counter is at " + ruleCounter + ".") : void 0;
3923
+ }
3924
+
3925
+ var jssId = '';
3926
+ var prefix = '';
3927
+
3928
+ if (sheet) {
3929
+ if (sheet.options.classNamePrefix) {
3930
+ prefix = sheet.options.classNamePrefix;
3931
+ }
3932
+
3933
+ if (sheet.options.jss.id != null) {
3934
+ jssId = String(sheet.options.jss.id);
3935
+ }
3936
+ }
3937
+
3938
+ if (options.minify) {
3939
+ // Using "c" because a number can't be the first char in a class name.
3940
+ return "" + (prefix || 'c') + moduleId + jssId + ruleCounter;
3941
+ }
3942
+
3943
+ return prefix + rule.key + "-" + moduleId + (jssId ? "-" + jssId : '') + "-" + ruleCounter;
3944
+ };
3945
+ };
3946
+
3947
+ /**
3948
+ * Cache the value from the first time a function is called.
3949
+ */
3950
+ var memoize = function memoize(fn) {
3951
+ var value;
3952
+ return function () {
3953
+ if (!value) value = fn();
3954
+ return value;
3955
+ };
3956
+ };
3957
+ /**
3958
+ * Get a style property value.
3959
+ */
3960
+
3961
+
3962
+ function getPropertyValue(cssRule, prop) {
3963
+ try {
3964
+ // Support CSSTOM.
3965
+ if (cssRule.attributeStyleMap) {
3966
+ return cssRule.attributeStyleMap.get(prop);
3967
+ }
3968
+
3969
+ return cssRule.style.getPropertyValue(prop);
3970
+ } catch (err) {
3971
+ // IE may throw if property is unknown.
3972
+ return '';
3973
+ }
3974
+ }
3975
+ /**
3976
+ * Set a style property.
3977
+ */
3978
+
3979
+
3980
+ function setProperty(cssRule, prop, value) {
3981
+ try {
3982
+ var cssValue = value;
3983
+
3984
+ if (Array.isArray(value)) {
3985
+ cssValue = toCssValue(value, true);
3986
+
3987
+ if (value[value.length - 1] === '!important') {
3988
+ cssRule.style.setProperty(prop, cssValue, 'important');
3989
+ return true;
3990
+ }
3991
+ } // Support CSSTOM.
3992
+
3993
+
3994
+ if (cssRule.attributeStyleMap) {
3995
+ cssRule.attributeStyleMap.set(prop, cssValue);
3996
+ } else {
3997
+ cssRule.style.setProperty(prop, cssValue);
3998
+ }
3999
+ } catch (err) {
4000
+ // IE may throw if property is unknown.
4001
+ return false;
4002
+ }
4003
+
4004
+ return true;
4005
+ }
4006
+ /**
4007
+ * Remove a style property.
4008
+ */
4009
+
4010
+
4011
+ function removeProperty(cssRule, prop) {
4012
+ try {
4013
+ // Support CSSTOM.
4014
+ if (cssRule.attributeStyleMap) {
4015
+ cssRule.attributeStyleMap.delete(prop);
4016
+ } else {
4017
+ cssRule.style.removeProperty(prop);
4018
+ }
4019
+ } catch (err) {
4020
+ process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_2_tiny_warning__["a" /* default */])(false, "[JSS] DOMException \"" + err.message + "\" was thrown. Tried to remove property \"" + prop + "\".") : void 0;
4021
+ }
4022
+ }
4023
+ /**
4024
+ * Set the selector.
4025
+ */
4026
+
4027
+
4028
+ function setSelector(cssRule, selectorText) {
4029
+ cssRule.selectorText = selectorText; // Return false if setter was not successful.
4030
+ // Currently works in chrome only.
4031
+
4032
+ return cssRule.selectorText === selectorText;
4033
+ }
4034
+ /**
4035
+ * Gets the `head` element upon the first call and caches it.
4036
+ * We assume it can't be null.
4037
+ */
4038
+
4039
+
4040
+ var getHead = memoize(function () {
4041
+ return document.querySelector('head');
4042
+ });
4043
+ /**
4044
+ * Find attached sheet with an index higher than the passed one.
4045
+ */
4046
+
4047
+ function findHigherSheet(registry, options) {
4048
+ for (var i = 0; i < registry.length; i++) {
4049
+ var sheet = registry[i];
4050
+
4051
+ if (sheet.attached && sheet.options.index > options.index && sheet.options.insertionPoint === options.insertionPoint) {
4052
+ return sheet;
4053
+ }
4054
+ }
4055
+
4056
+ return null;
4057
+ }
4058
+ /**
4059
+ * Find attached sheet with the highest index.
4060
+ */
4061
+
4062
+
4063
+ function findHighestSheet(registry, options) {
4064
+ for (var i = registry.length - 1; i >= 0; i--) {
4065
+ var sheet = registry[i];
4066
+
4067
+ if (sheet.attached && sheet.options.insertionPoint === options.insertionPoint) {
4068
+ return sheet;
4069
+ }
4070
+ }
4071
+
4072
+ return null;
4073
+ }
4074
+ /**
4075
+ * Find a comment with "jss" inside.
4076
+ */
4077
+
4078
+
4079
+ function findCommentNode(text) {
4080
+ var head = getHead();
4081
+
4082
+ for (var i = 0; i < head.childNodes.length; i++) {
4083
+ var node = head.childNodes[i];
4084
+
4085
+ if (node.nodeType === 8 && node.nodeValue.trim() === text) {
4086
+ return node;
4087
+ }
4088
+ }
4089
+
4090
+ return null;
4091
+ }
4092
+
4093
+ /**
4094
+ * Find a node before which we can insert the sheet.
4095
+ */
4096
+ function findPrevNode(options) {
4097
+ var registry = sheets.registry;
4098
+
4099
+ if (registry.length > 0) {
4100
+ // Try to insert before the next higher sheet.
4101
+ var sheet = findHigherSheet(registry, options);
4102
+
4103
+ if (sheet && sheet.renderer) {
4104
+ return {
4105
+ parent: sheet.renderer.element.parentNode,
4106
+ node: sheet.renderer.element
4107
+ };
4108
+ } // Otherwise insert after the last attached.
4109
+
4110
+
4111
+ sheet = findHighestSheet(registry, options);
4112
+
4113
+ if (sheet && sheet.renderer) {
4114
+ return {
4115
+ parent: sheet.renderer.element.parentNode,
4116
+ node: sheet.renderer.element.nextSibling
4117
+ };
4118
+ }
4119
+ } // Try to find a comment placeholder if registry is empty.
4120
+
4121
+
4122
+ var insertionPoint = options.insertionPoint;
4123
+
4124
+ if (insertionPoint && typeof insertionPoint === 'string') {
4125
+ var comment = findCommentNode(insertionPoint);
4126
+
4127
+ if (comment) {
4128
+ return {
4129
+ parent: comment.parentNode,
4130
+ node: comment.nextSibling
4131
+ };
4132
+ } // If user specifies an insertion point and it can't be found in the document -
4133
+ // bad specificity issues may appear.
4134
+
4135
+
4136
+ process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_2_tiny_warning__["a" /* default */])(false, "[JSS] Insertion point \"" + insertionPoint + "\" not found.") : void 0;
4137
+ }
4138
+
4139
+ return false;
4140
+ }
4141
+ /**
4142
+ * Insert style element into the DOM.
4143
+ */
4144
+
4145
+
4146
+ function insertStyle(style, options) {
4147
+ var insertionPoint = options.insertionPoint;
4148
+ var nextNode = findPrevNode(options);
4149
+
4150
+ if (nextNode !== false && nextNode.parent) {
4151
+ nextNode.parent.insertBefore(style, nextNode.node);
4152
+ return;
4153
+ } // Works with iframes and any node types.
4154
+
4155
+
4156
+ if (insertionPoint && typeof insertionPoint.nodeType === 'number') {
4157
+ // https://stackoverflow.com/questions/41328728/force-casting-in-flow
4158
+ var insertionPointElement = insertionPoint;
4159
+ var parentNode = insertionPointElement.parentNode;
4160
+ if (parentNode) parentNode.insertBefore(style, insertionPointElement.nextSibling);else process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_2_tiny_warning__["a" /* default */])(false, '[JSS] Insertion point is not in the DOM.') : void 0;
4161
+ return;
4162
+ }
4163
+
4164
+ getHead().appendChild(style);
4165
+ }
4166
+ /**
4167
+ * Read jss nonce setting from the page if the user has set it.
4168
+ */
4169
+
4170
+
4171
+ var getNonce = memoize(function () {
4172
+ var node = document.querySelector('meta[property="csp-nonce"]');
4173
+ return node ? node.getAttribute('content') : null;
4174
+ });
4175
+
4176
+ var _insertRule = function insertRule(container, rule, index) {
4177
+ var maxIndex = container.cssRules.length; // In case previous insertion fails, passed index might be wrong
4178
+
4179
+ if (index === undefined || index > maxIndex) {
4180
+ // eslint-disable-next-line no-param-reassign
4181
+ index = maxIndex;
4182
+ }
4183
+
4184
+ try {
4185
+ if ('insertRule' in container) {
4186
+ var c = container;
4187
+ c.insertRule(rule, index);
4188
+ } // Keyframes rule.
4189
+ else if ('appendRule' in container) {
4190
+ var _c = container;
4191
+
4192
+ _c.appendRule(rule);
4193
+ }
4194
+ } catch (err) {
4195
+ process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_2_tiny_warning__["a" /* default */])(false, "[JSS] " + err.message) : void 0;
4196
+ return false;
4197
+ }
4198
+
4199
+ return container.cssRules[index];
4200
+ };
4201
+
4202
+ var createStyle = function createStyle() {
4203
+ var el = document.createElement('style'); // Without it, IE will have a broken source order specificity if we
4204
+ // insert rules after we insert the style tag.
4205
+ // It seems to kick-off the source order specificity algorithm.
4206
+
4207
+ el.textContent = '\n';
4208
+ return el;
4209
+ };
4210
+
4211
+ var DomRenderer =
4212
+ /*#__PURE__*/
4213
+ function () {
4214
+ // HTMLStyleElement needs fixing https://github.com/facebook/flow/issues/2696
4215
+ function DomRenderer(sheet) {
4216
+ this.getPropertyValue = getPropertyValue;
4217
+ this.setProperty = setProperty;
4218
+ this.removeProperty = removeProperty;
4219
+ this.setSelector = setSelector;
4220
+ this.element = void 0;
4221
+ this.sheet = void 0;
4222
+ this.hasInsertedRules = false;
4223
+ // There is no sheet when the renderer is used from a standalone StyleRule.
4224
+ if (sheet) sheets.add(sheet);
4225
+ this.sheet = sheet;
4226
+
4227
+ var _ref = this.sheet ? this.sheet.options : {},
4228
+ media = _ref.media,
4229
+ meta = _ref.meta,
4230
+ element = _ref.element;
4231
+
4232
+ this.element = element || createStyle();
4233
+ this.element.setAttribute('data-jss', '');
4234
+ if (media) this.element.setAttribute('media', media);
4235
+ if (meta) this.element.setAttribute('data-meta', meta);
4236
+ var nonce = getNonce();
4237
+ if (nonce) this.element.setAttribute('nonce', nonce);
4238
+ }
4239
+ /**
4240
+ * Insert style element into render tree.
4241
+ */
4242
+
4243
+
4244
+ var _proto = DomRenderer.prototype;
4245
+
4246
+ _proto.attach = function attach() {
4247
+ // In the case the element node is external and it is already in the DOM.
4248
+ if (this.element.parentNode || !this.sheet) return;
4249
+ insertStyle(this.element, this.sheet.options); // When rules are inserted using `insertRule` API, after `sheet.detach().attach()`
4250
+ // most browsers create a new CSSStyleSheet, except of all IEs.
4251
+
4252
+ var deployed = Boolean(this.sheet && this.sheet.deployed);
4253
+
4254
+ if (this.hasInsertedRules && deployed) {
4255
+ this.hasInsertedRules = false;
4256
+ this.deploy();
4257
+ }
4258
+ }
4259
+ /**
4260
+ * Remove style element from render tree.
4261
+ */
4262
+ ;
4263
+
4264
+ _proto.detach = function detach() {
4265
+ var parentNode = this.element.parentNode;
4266
+ if (parentNode) parentNode.removeChild(this.element);
4267
+ }
4268
+ /**
4269
+ * Inject CSS string into element.
4270
+ */
4271
+ ;
4272
+
4273
+ _proto.deploy = function deploy() {
4274
+ var sheet = this.sheet;
4275
+ if (!sheet) return;
4276
+
4277
+ if (sheet.options.link) {
4278
+ this.insertRules(sheet.rules);
4279
+ return;
4280
+ }
4281
+
4282
+ this.element.textContent = "\n" + sheet.toString() + "\n";
4283
+ }
4284
+ /**
4285
+ * Insert RuleList into an element.
4286
+ */
4287
+ ;
4288
+
4289
+ _proto.insertRules = function insertRules(rules, nativeParent) {
4290
+ for (var i = 0; i < rules.index.length; i++) {
4291
+ this.insertRule(rules.index[i], i, nativeParent);
4292
+ }
4293
+ }
4294
+ /**
4295
+ * Insert a rule into element.
4296
+ */
4297
+ ;
4298
+
4299
+ _proto.insertRule = function insertRule(rule, index, nativeParent) {
4300
+ if (nativeParent === void 0) {
4301
+ nativeParent = this.element.sheet;
4302
+ }
4303
+
4304
+ if (rule.rules) {
4305
+ var parent = rule;
4306
+ var latestNativeParent = nativeParent;
4307
+
4308
+ if (rule.type === 'conditional' || rule.type === 'keyframes') {
4309
+ // We need to render the container without children first.
4310
+ latestNativeParent = _insertRule(nativeParent, parent.toString({
4311
+ children: false
4312
+ }), index);
4313
+
4314
+ if (latestNativeParent === false) {
4315
+ return false;
4316
+ }
4317
+ }
4318
+
4319
+ this.insertRules(parent.rules, latestNativeParent);
4320
+ return latestNativeParent;
4321
+ } // IE keeps the CSSStyleSheet after style node has been reattached,
4322
+ // so we need to check if the `renderable` reference the right style sheet and not
4323
+ // rerender those rules.
4324
+
4325
+
4326
+ if (rule.renderable && rule.renderable.parentStyleSheet === this.element.sheet) {
4327
+ return rule.renderable;
4328
+ }
4329
+
4330
+ var ruleStr = rule.toString();
4331
+ if (!ruleStr) return false;
4332
+
4333
+ var nativeRule = _insertRule(nativeParent, ruleStr, index);
4334
+
4335
+ if (nativeRule === false) {
4336
+ return false;
4337
+ }
4338
+
4339
+ this.hasInsertedRules = true;
4340
+ rule.renderable = nativeRule;
4341
+ return nativeRule;
4342
+ }
4343
+ /**
4344
+ * Delete a rule.
4345
+ */
4346
+ ;
4347
+
4348
+ _proto.deleteRule = function deleteRule(cssRule) {
4349
+ var sheet = this.element.sheet;
4350
+ var index = this.indexOf(cssRule);
4351
+ if (index === -1) return false;
4352
+ sheet.deleteRule(index);
4353
+ return true;
4354
+ }
4355
+ /**
4356
+ * Get index of a CSS Rule.
4357
+ */
4358
+ ;
4359
+
4360
+ _proto.indexOf = function indexOf(cssRule) {
4361
+ var cssRules = this.element.sheet.cssRules;
4362
+
4363
+ for (var index = 0; index < cssRules.length; index++) {
4364
+ if (cssRule === cssRules[index]) return index;
4365
+ }
4366
+
4367
+ return -1;
4368
+ }
4369
+ /**
4370
+ * Generate a new CSS rule and replace the existing one.
4371
+ *
4372
+ * Only used for some old browsers because they can't set a selector.
4373
+ */
4374
+ ;
4375
+
4376
+ _proto.replaceRule = function replaceRule(cssRule, rule) {
4377
+ var index = this.indexOf(cssRule);
4378
+ if (index === -1) return false;
4379
+ this.element.sheet.deleteRule(index);
4380
+ return this.insertRule(rule, index);
4381
+ }
4382
+ /**
4383
+ * Get all rules elements.
4384
+ */
4385
+ ;
4386
+
4387
+ _proto.getRules = function getRules() {
4388
+ return this.element.sheet.cssRules;
4389
+ };
4390
+
4391
+ return DomRenderer;
4392
+ }();
4393
+
4394
+ var instanceCounter = 0;
4395
+
4396
+ var Jss =
4397
+ /*#__PURE__*/
4398
+ function () {
4399
+ function Jss(options) {
4400
+ this.id = instanceCounter++;
4401
+ this.version = "10.3.0";
4402
+ this.plugins = new PluginsRegistry();
4403
+ this.options = {
4404
+ id: {
4405
+ minify: false
4406
+ },
4407
+ createGenerateId: createGenerateId,
4408
+ Renderer: __WEBPACK_IMPORTED_MODULE_1_is_in_browser__["a" /* default */] ? DomRenderer : null,
4409
+ plugins: []
4410
+ };
4411
+ this.generateId = createGenerateId({
4412
+ minify: false
4413
+ });
4414
+
4415
+ for (var i = 0; i < plugins.length; i++) {
4416
+ this.plugins.use(plugins[i], {
4417
+ queue: 'internal'
4418
+ });
4419
+ }
4420
+
4421
+ this.setup(options);
4422
+ }
4423
+ /**
4424
+ * Prepares various options, applies plugins.
4425
+ * Should not be used twice on the same instance, because there is no plugins
4426
+ * deduplication logic.
4427
+ */
4428
+
4429
+
4430
+ var _proto = Jss.prototype;
4431
+
4432
+ _proto.setup = function setup(options) {
4433
+ if (options === void 0) {
4434
+ options = {};
4435
+ }
4436
+
4437
+ if (options.createGenerateId) {
4438
+ this.options.createGenerateId = options.createGenerateId;
4439
+ }
4440
+
4441
+ if (options.id) {
4442
+ this.options.id = Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({}, this.options.id, options.id);
4443
+ }
4444
+
4445
+ if (options.createGenerateId || options.id) {
4446
+ this.generateId = this.options.createGenerateId(this.options.id);
4447
+ }
4448
+
4449
+ if (options.insertionPoint != null) this.options.insertionPoint = options.insertionPoint;
4450
+
4451
+ if ('Renderer' in options) {
4452
+ this.options.Renderer = options.Renderer;
4453
+ } // eslint-disable-next-line prefer-spread
4454
+
4455
+
4456
+ if (options.plugins) this.use.apply(this, options.plugins);
4457
+ return this;
4458
+ }
4459
+ /**
4460
+ * Create a Style Sheet.
4461
+ */
4462
+ ;
4463
+
4464
+ _proto.createStyleSheet = function createStyleSheet(styles, options) {
4465
+ if (options === void 0) {
4466
+ options = {};
4467
+ }
4468
+
4469
+ var _options = options,
4470
+ index = _options.index;
4471
+
4472
+ if (typeof index !== 'number') {
4473
+ index = sheets.index === 0 ? 0 : sheets.index + 1;
4474
+ }
4475
+
4476
+ var sheet = new StyleSheet(styles, Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({}, options, {
4477
+ jss: this,
4478
+ generateId: options.generateId || this.generateId,
4479
+ insertionPoint: this.options.insertionPoint,
4480
+ Renderer: this.options.Renderer,
4481
+ index: index
4482
+ }));
4483
+ this.plugins.onProcessSheet(sheet);
4484
+ return sheet;
4485
+ }
4486
+ /**
4487
+ * Detach the Style Sheet and remove it from the registry.
4488
+ */
4489
+ ;
4490
+
4491
+ _proto.removeStyleSheet = function removeStyleSheet(sheet) {
4492
+ sheet.detach();
4493
+ sheets.remove(sheet);
4494
+ return this;
4495
+ }
4496
+ /**
4497
+ * Create a rule without a Style Sheet.
4498
+ * [Deprecated] will be removed in the next major version.
4499
+ */
4500
+ ;
4501
+
4502
+ _proto.createRule = function createRule$1(name, style, options) {
4503
+ if (style === void 0) {
4504
+ style = {};
4505
+ }
4506
+
4507
+ if (options === void 0) {
4508
+ options = {};
4509
+ }
4510
+
4511
+ // Enable rule without name for inline styles.
4512
+ if (typeof name === 'object') {
4513
+ return this.createRule(undefined, name, style);
4514
+ }
4515
+
4516
+ var ruleOptions = Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({}, options, {
4517
+ name: name,
4518
+ jss: this,
4519
+ Renderer: this.options.Renderer
4520
+ });
4521
+
4522
+ if (!ruleOptions.generateId) ruleOptions.generateId = this.generateId;
4523
+ if (!ruleOptions.classes) ruleOptions.classes = {};
4524
+ if (!ruleOptions.keyframes) ruleOptions.keyframes = {};
4525
+
4526
+ var rule = createRule(name, style, ruleOptions);
4527
+
4528
+ if (rule) this.plugins.onProcessRule(rule);
4529
+ return rule;
4530
+ }
4531
+ /**
4532
+ * Register plugin. Passed function will be invoked with a rule instance.
4533
+ */
4534
+ ;
4535
+
4536
+ _proto.use = function use() {
4537
+ var _this = this;
4538
+
4539
+ for (var _len = arguments.length, plugins = new Array(_len), _key = 0; _key < _len; _key++) {
4540
+ plugins[_key] = arguments[_key];
4541
+ }
4542
+
4543
+ plugins.forEach(function (plugin) {
4544
+ _this.plugins.use(plugin);
4545
+ });
4546
+ return this;
4547
+ };
4548
+
4549
+ return Jss;
4550
+ }();
4551
+
4552
+ /**
4553
+ * Extracts a styles object with only props that contain function values.
4554
+ */
4555
+ function getDynamicStyles(styles) {
4556
+ var to = null;
4557
+
4558
+ for (var key in styles) {
4559
+ var value = styles[key];
4560
+ var type = typeof value;
4561
+
4562
+ if (type === 'function') {
4563
+ if (!to) to = {};
4564
+ to[key] = value;
4565
+ } else if (type === 'object' && value !== null && !Array.isArray(value)) {
4566
+ var extracted = getDynamicStyles(value);
4567
+
4568
+ if (extracted) {
4569
+ if (!to) to = {};
4570
+ to[key] = extracted;
4571
+ }
4572
+ }
4573
+ }
4574
+
4575
+ return to;
4576
+ }
4577
+
4578
+ /**
4579
+ * SheetsManager is like a WeakMap which is designed to count StyleSheet
4580
+ * instances and attach/detach automatically.
4581
+ */
4582
+ var SheetsManager =
4583
+ /*#__PURE__*/
4584
+ function () {
4585
+ function SheetsManager() {
4586
+ this.length = 0;
4587
+ this.sheets = new WeakMap();
4588
+ }
4589
+
4590
+ var _proto = SheetsManager.prototype;
4591
+
4592
+ _proto.get = function get(key) {
4593
+ var entry = this.sheets.get(key);
4594
+ return entry && entry.sheet;
4595
+ };
4596
+
4597
+ _proto.add = function add(key, sheet) {
4598
+ if (this.sheets.has(key)) return;
4599
+ this.length++;
4600
+ this.sheets.set(key, {
4601
+ sheet: sheet,
4602
+ refs: 0
4603
+ });
4604
+ };
4605
+
4606
+ _proto.manage = function manage(key) {
4607
+ var entry = this.sheets.get(key);
4608
+
4609
+ if (entry) {
4610
+ if (entry.refs === 0) {
4611
+ entry.sheet.attach();
4612
+ }
4613
+
4614
+ entry.refs++;
4615
+ return entry.sheet;
4616
+ }
4617
+
4618
+ Object(__WEBPACK_IMPORTED_MODULE_2_tiny_warning__["a" /* default */])(false, "[JSS] SheetsManager: can't find sheet to manage");
4619
+ return undefined;
4620
+ };
4621
+
4622
+ _proto.unmanage = function unmanage(key) {
4623
+ var entry = this.sheets.get(key);
4624
+
4625
+ if (entry) {
4626
+ if (entry.refs > 0) {
4627
+ entry.refs--;
4628
+ if (entry.refs === 0) entry.sheet.detach();
4629
+ }
4630
+ } else {
4631
+ Object(__WEBPACK_IMPORTED_MODULE_2_tiny_warning__["a" /* default */])(false, "SheetsManager: can't find sheet to unmanage");
4632
+ }
4633
+ };
4634
+
4635
+ Object(__WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_esm_createClass__["a" /* default */])(SheetsManager, [{
4636
+ key: "size",
4637
+ get: function get() {
4638
+ return this.length;
4639
+ }
4640
+ }]);
4641
+
4642
+ return SheetsManager;
4643
+ }();
4644
+
4645
+ /**
4646
+ * A better abstraction over CSS.
4647
+ *
4648
+ * @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
4649
+ * @website https://github.com/cssinjs/jss
4650
+ * @license MIT
4651
+ */
4652
+
4653
+ /**
4654
+ * Export a constant indicating if this browser has CSSTOM support.
4655
+ * https://developers.google.com/web/updates/2018/03/cssom
4656
+ */
4657
+ var hasCSSTOMSupport = typeof CSS !== 'undefined' && CSS && 'number' in CSS;
4658
+ /**
4659
+ * Creates a new instance of Jss.
4660
+ */
4661
+
4662
+ var create = function create(options) {
4663
+ return new Jss(options);
4664
+ };
4665
+ /**
4666
+ * A global Jss instance.
4667
+ */
4668
+
4669
+ var index = create();
4670
+
4671
+ /* unused harmony default export */ var _unused_webpack_default_export = (index);
4672
+
4673
+
4674
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
4675
+
4676
+ /***/ }),
4677
+ /* 47 */
4678
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
4679
+
4680
+ "use strict";
4681
+ /* harmony export (immutable) */ __webpack_exports__["a"] = debounce;
4682
+ // Corresponds to 10 frames at 60 Hz.
4683
+ // A few bytes payload overhead when lodash/debounce is ~3 kB and debounce ~300 B.
4684
+ function debounce(func) {
4685
+ var wait = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 166;
4686
+ var timeout;
4687
+
4688
+ function debounced() {
4689
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
4690
+ args[_key] = arguments[_key];
4691
+ }
4692
+
4693
+ // eslint-disable-next-line consistent-this
4694
+ var that = this;
4695
+
4696
+ var later = function later() {
4697
+ func.apply(that, args);
4698
+ };
4699
+
4700
+ clearTimeout(timeout);
4701
+ timeout = setTimeout(later, wait);
4702
+ }
4703
+
4704
+ debounced.clear = function () {
4705
+ clearTimeout(timeout);
4706
+ };
4707
+
4708
+ return debounced;
4709
+ }
4710
+
4711
+ /***/ }),
4712
+ /* 48 */
4713
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
4714
+
4715
+ "use strict";
4716
+ /* harmony export (immutable) */ __webpack_exports__["a"] = setRef;
4717
+ // TODO v5: consider to make it private
4718
+ function setRef(ref, value) {
4719
+ if (typeof ref === 'function') {
4720
+ ref(value);
4721
+ } else if (ref) {
4722
+ ref.current = value;
4723
+ }
4724
+ }
4725
+
4726
+ /***/ }),
4727
+ /* 49 */
4728
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
4729
+
4730
+ "use strict";
4731
+ /* harmony export (immutable) */ __webpack_exports__["a"] = useFormControl;
4732
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
4733
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
4734
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__FormControlContext__ = __webpack_require__(91);
4735
+
4736
+
4737
+ function useFormControl() {
4738
+ return __WEBPACK_IMPORTED_MODULE_0_react__["useContext"](__WEBPACK_IMPORTED_MODULE_1__FormControlContext__["a" /* default */]);
4739
+ }
4740
+
4741
+ /***/ }),
4742
+ /* 50 */
4743
+ /***/ (function(module, exports, __webpack_require__) {
4744
+
4745
+ var Symbol = __webpack_require__(73),
4746
+ getRawTag = __webpack_require__(727),
4747
+ objectToString = __webpack_require__(728);
4748
+
4749
+ /** `Object#toString` result references. */
4750
+ var nullTag = '[object Null]',
4751
+ undefinedTag = '[object Undefined]';
4752
+
4753
+ /** Built-in value references. */
4754
+ var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
4755
+
4756
+ /**
4757
+ * The base implementation of `getTag` without fallbacks for buggy environments.
4758
+ *
4759
+ * @private
4760
+ * @param {*} value The value to query.
4761
+ * @returns {string} Returns the `toStringTag`.
4762
+ */
4763
+ function baseGetTag(value) {
4764
+ if (value == null) {
4765
+ return value === undefined ? undefinedTag : nullTag;
4766
+ }
4767
+ return (symToStringTag && symToStringTag in Object(value))
4768
+ ? getRawTag(value)
4769
+ : objectToString(value);
4770
+ }
4771
+
4772
+ module.exports = baseGetTag;
4773
+
4774
+
4775
+ /***/ }),
4776
+ /* 51 */
4777
+ /***/ (function(module, exports, __webpack_require__) {
4778
+
4779
+ var baseIsNative = __webpack_require__(749),
4780
+ getValue = __webpack_require__(752);
4781
+
4782
+ /**
4783
+ * Gets the native function at `key` of `object`.
4784
+ *
4785
+ * @private
4786
+ * @param {Object} object The object to query.
4787
+ * @param {string} key The key of the method to get.
4788
+ * @returns {*} Returns the function if it's native, else `undefined`.
4789
+ */
4790
+ function getNative(object, key) {
4791
+ var value = getValue(object, key);
4792
+ return baseIsNative(value) ? value : undefined;
4793
+ }
4794
+
4795
+ module.exports = getNative;
4796
+
4797
+
4798
+ /***/ }),
4799
+ /* 52 */
4800
+ /***/ (function(module, exports, __webpack_require__) {
4801
+
4802
+ "use strict";
4803
+ /*
4804
+ object-assign
4805
+ (c) Sindre Sorhus
4806
+ @license MIT
4807
+ */
4808
+
4809
+
4810
+ /* eslint-disable no-unused-vars */
4811
+ var getOwnPropertySymbols = Object.getOwnPropertySymbols;
4812
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
4813
+ var propIsEnumerable = Object.prototype.propertyIsEnumerable;
4814
+
4815
+ function toObject(val) {
4816
+ if (val === null || val === undefined) {
4817
+ throw new TypeError('Object.assign cannot be called with null or undefined');
4818
+ }
4819
+
4820
+ return Object(val);
4821
+ }
4822
+
4823
+ function shouldUseNative() {
4824
+ try {
4825
+ if (!Object.assign) {
4826
+ return false;
4827
+ }
4828
+
4829
+ // Detect buggy property enumeration order in older V8 versions.
4830
+
4831
+ // https://bugs.chromium.org/p/v8/issues/detail?id=4118
4832
+ var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
4833
+ test1[5] = 'de';
4834
+ if (Object.getOwnPropertyNames(test1)[0] === '5') {
4835
+ return false;
4836
+ }
4837
+
4838
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3056
4839
+ var test2 = {};
4840
+ for (var i = 0; i < 10; i++) {
4841
+ test2['_' + String.fromCharCode(i)] = i;
4842
+ }
4843
+ var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
4844
+ return test2[n];
4845
+ });
4846
+ if (order2.join('') !== '0123456789') {
4847
+ return false;
4848
+ }
4849
+
4850
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3056
4851
+ var test3 = {};
4852
+ 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
4853
+ test3[letter] = letter;
4854
+ });
4855
+ if (Object.keys(Object.assign({}, test3)).join('') !==
4856
+ 'abcdefghijklmnopqrst') {
4857
+ return false;
4858
+ }
4859
+
4860
+ return true;
4861
+ } catch (err) {
4862
+ // We don't expect any of the above to throw, but better to be safe.
4863
+ return false;
4864
+ }
4865
+ }
4866
+
4867
+ module.exports = shouldUseNative() ? Object.assign : function (target, source) {
4868
+ var from;
4869
+ var to = toObject(target);
4870
+ var symbols;
4871
+
4872
+ for (var s = 1; s < arguments.length; s++) {
4873
+ from = Object(arguments[s]);
4874
+
4875
+ for (var key in from) {
4876
+ if (hasOwnProperty.call(from, key)) {
4877
+ to[key] = from[key];
4878
+ }
4879
+ }
4880
+
4881
+ if (getOwnPropertySymbols) {
4882
+ symbols = getOwnPropertySymbols(from);
4883
+ for (var i = 0; i < symbols.length; i++) {
4884
+ if (propIsEnumerable.call(from, symbols[i])) {
4885
+ to[symbols[i]] = from[symbols[i]];
4886
+ }
4887
+ }
4888
+ }
4889
+ }
4890
+
4891
+ return to;
4892
+ };
4893
+
4894
+
4895
+ /***/ }),
4896
+ /* 53 */
4897
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
4898
+
4899
+ "use strict";
4900
+ /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return createBrowserHistory; });
4901
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return createHashHistory; });
4902
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return createMemoryHistory; });
4903
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return createLocation; });
4904
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return locationsAreEqual; });
4905
+ /* unused harmony export parsePath */
4906
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return createPath; });
4907
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
4908
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_resolve_pathname__ = __webpack_require__(403);
4909
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_value_equal__ = __webpack_require__(404);
4910
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_tiny_warning__ = __webpack_require__(77);
4911
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_tiny_invariant__ = __webpack_require__(405);
4912
+
4913
+
4914
+
4915
+
4916
+
4917
+
4918
+ function addLeadingSlash(path) {
4919
+ return path.charAt(0) === '/' ? path : '/' + path;
4920
+ }
4921
+ function stripLeadingSlash(path) {
4922
+ return path.charAt(0) === '/' ? path.substr(1) : path;
4923
+ }
4924
+ function hasBasename(path, prefix) {
4925
+ return path.toLowerCase().indexOf(prefix.toLowerCase()) === 0 && '/?#'.indexOf(path.charAt(prefix.length)) !== -1;
4926
+ }
4927
+ function stripBasename(path, prefix) {
4928
+ return hasBasename(path, prefix) ? path.substr(prefix.length) : path;
4929
+ }
4930
+ function stripTrailingSlash(path) {
4931
+ return path.charAt(path.length - 1) === '/' ? path.slice(0, -1) : path;
4932
+ }
4933
+ function parsePath(path) {
4934
+ var pathname = path || '/';
4935
+ var search = '';
4936
+ var hash = '';
4937
+ var hashIndex = pathname.indexOf('#');
4938
+
4939
+ if (hashIndex !== -1) {
4940
+ hash = pathname.substr(hashIndex);
4941
+ pathname = pathname.substr(0, hashIndex);
4942
+ }
4943
+
4944
+ var searchIndex = pathname.indexOf('?');
4945
+
4946
+ if (searchIndex !== -1) {
4947
+ search = pathname.substr(searchIndex);
4948
+ pathname = pathname.substr(0, searchIndex);
4949
+ }
4950
+
4951
+ return {
4952
+ pathname: pathname,
4953
+ search: search === '?' ? '' : search,
4954
+ hash: hash === '#' ? '' : hash
4955
+ };
4956
+ }
4957
+ function createPath(location) {
4958
+ var pathname = location.pathname,
4959
+ search = location.search,
4960
+ hash = location.hash;
4961
+ var path = pathname || '/';
4962
+ if (search && search !== '?') path += search.charAt(0) === '?' ? search : "?" + search;
4963
+ if (hash && hash !== '#') path += hash.charAt(0) === '#' ? hash : "#" + hash;
4964
+ return path;
4965
+ }
4966
+
4967
+ function createLocation(path, state, key, currentLocation) {
4968
+ var location;
4969
+
4970
+ if (typeof path === 'string') {
4971
+ // Two-arg form: push(path, state)
4972
+ location = parsePath(path);
4973
+ location.state = state;
4974
+ } else {
4975
+ // One-arg form: push(location)
4976
+ location = Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({}, path);
4977
+ if (location.pathname === undefined) location.pathname = '';
4978
+
4979
+ if (location.search) {
4980
+ if (location.search.charAt(0) !== '?') location.search = '?' + location.search;
4981
+ } else {
4982
+ location.search = '';
4983
+ }
4984
+
4985
+ if (location.hash) {
4986
+ if (location.hash.charAt(0) !== '#') location.hash = '#' + location.hash;
4987
+ } else {
4988
+ location.hash = '';
4989
+ }
4990
+
4991
+ if (state !== undefined && location.state === undefined) location.state = state;
4992
+ }
4993
+
4994
+ try {
4995
+ location.pathname = decodeURI(location.pathname);
4996
+ } catch (e) {
4997
+ if (e instanceof URIError) {
4998
+ throw new URIError('Pathname "' + location.pathname + '" could not be decoded. ' + 'This is likely caused by an invalid percent-encoding.');
4999
+ } else {
5000
+ throw e;
5001
+ }
5002
+ }
5003
+
5004
+ if (key) location.key = key;
5005
+
5006
+ if (currentLocation) {
5007
+ // Resolve incomplete/relative pathname relative to current location.
5008
+ if (!location.pathname) {
5009
+ location.pathname = currentLocation.pathname;
5010
+ } else if (location.pathname.charAt(0) !== '/') {
5011
+ location.pathname = Object(__WEBPACK_IMPORTED_MODULE_1_resolve_pathname__["a" /* default */])(location.pathname, currentLocation.pathname);
5012
+ }
5013
+ } else {
5014
+ // When there is no prior location and pathname is empty, set it to /
5015
+ if (!location.pathname) {
5016
+ location.pathname = '/';
5017
+ }
5018
+ }
5019
+
5020
+ return location;
5021
+ }
5022
+ function locationsAreEqual(a, b) {
5023
+ return a.pathname === b.pathname && a.search === b.search && a.hash === b.hash && a.key === b.key && Object(__WEBPACK_IMPORTED_MODULE_2_value_equal__["a" /* default */])(a.state, b.state);
5024
+ }
5025
+
5026
+ function createTransitionManager() {
5027
+ var prompt = null;
5028
+
5029
+ function setPrompt(nextPrompt) {
5030
+ process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(prompt == null, 'A history supports only one prompt at a time') : void 0;
5031
+ prompt = nextPrompt;
5032
+ return function () {
5033
+ if (prompt === nextPrompt) prompt = null;
5034
+ };
5035
+ }
5036
+
5037
+ function confirmTransitionTo(location, action, getUserConfirmation, callback) {
5038
+ // TODO: If another transition starts while we're still confirming
5039
+ // the previous one, we may end up in a weird state. Figure out the
5040
+ // best way to handle this.
5041
+ if (prompt != null) {
5042
+ var result = typeof prompt === 'function' ? prompt(location, action) : prompt;
5043
+
5044
+ if (typeof result === 'string') {
5045
+ if (typeof getUserConfirmation === 'function') {
5046
+ getUserConfirmation(result, callback);
5047
+ } else {
5048
+ process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(false, 'A history needs a getUserConfirmation function in order to use a prompt message') : void 0;
5049
+ callback(true);
5050
+ }
5051
+ } else {
5052
+ // Return false from a transition hook to cancel the transition.
5053
+ callback(result !== false);
5054
+ }
5055
+ } else {
5056
+ callback(true);
5057
+ }
5058
+ }
5059
+
5060
+ var listeners = [];
5061
+
5062
+ function appendListener(fn) {
5063
+ var isActive = true;
5064
+
5065
+ function listener() {
5066
+ if (isActive) fn.apply(void 0, arguments);
5067
+ }
5068
+
5069
+ listeners.push(listener);
5070
+ return function () {
5071
+ isActive = false;
5072
+ listeners = listeners.filter(function (item) {
5073
+ return item !== listener;
5074
+ });
5075
+ };
5076
+ }
5077
+
5078
+ function notifyListeners() {
5079
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
5080
+ args[_key] = arguments[_key];
5081
+ }
5082
+
5083
+ listeners.forEach(function (listener) {
5084
+ return listener.apply(void 0, args);
5085
+ });
5086
+ }
5087
+
5088
+ return {
5089
+ setPrompt: setPrompt,
5090
+ confirmTransitionTo: confirmTransitionTo,
5091
+ appendListener: appendListener,
5092
+ notifyListeners: notifyListeners
5093
+ };
5094
+ }
5095
+
5096
+ var canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);
5097
+ function getConfirmation(message, callback) {
5098
+ callback(window.confirm(message)); // eslint-disable-line no-alert
5099
+ }
5100
+ /**
5101
+ * Returns true if the HTML5 history API is supported. Taken from Modernizr.
5102
+ *
5103
+ * https://github.com/Modernizr/Modernizr/blob/master/LICENSE
5104
+ * https://github.com/Modernizr/Modernizr/blob/master/feature-detects/history.js
5105
+ * changed to avoid false negatives for Windows Phones: https://github.com/reactjs/react-router/issues/586
5106
+ */
5107
+
5108
+ function supportsHistory() {
5109
+ var ua = window.navigator.userAgent;
5110
+ if ((ua.indexOf('Android 2.') !== -1 || ua.indexOf('Android 4.0') !== -1) && ua.indexOf('Mobile Safari') !== -1 && ua.indexOf('Chrome') === -1 && ua.indexOf('Windows Phone') === -1) return false;
5111
+ return window.history && 'pushState' in window.history;
5112
+ }
5113
+ /**
5114
+ * Returns true if browser fires popstate on hash change.
5115
+ * IE10 and IE11 do not.
5116
+ */
5117
+
5118
+ function supportsPopStateOnHashChange() {
5119
+ return window.navigator.userAgent.indexOf('Trident') === -1;
5120
+ }
5121
+ /**
5122
+ * Returns false if using go(n) with hash history causes a full page reload.
5123
+ */
5124
+
5125
+ function supportsGoWithoutReloadUsingHash() {
5126
+ return window.navigator.userAgent.indexOf('Firefox') === -1;
5127
+ }
5128
+ /**
5129
+ * Returns true if a given popstate event is an extraneous WebKit event.
5130
+ * Accounts for the fact that Chrome on iOS fires real popstate events
5131
+ * containing undefined state when pressing the back button.
5132
+ */
5133
+
5134
+ function isExtraneousPopstateEvent(event) {
5135
+ return event.state === undefined && navigator.userAgent.indexOf('CriOS') === -1;
5136
+ }
5137
+
5138
+ var PopStateEvent = 'popstate';
5139
+ var HashChangeEvent = 'hashchange';
5140
+
5141
+ function getHistoryState() {
5142
+ try {
5143
+ return window.history.state || {};
5144
+ } catch (e) {
5145
+ // IE 11 sometimes throws when accessing window.history.state
5146
+ // See https://github.com/ReactTraining/history/pull/289
5147
+ return {};
5148
+ }
5149
+ }
5150
+ /**
5151
+ * Creates a history object that uses the HTML5 history API including
5152
+ * pushState, replaceState, and the popstate event.
5153
+ */
5154
+
5155
+
5156
+ function createBrowserHistory(props) {
5157
+ if (props === void 0) {
5158
+ props = {};
5159
+ }
5160
+
5161
+ !canUseDOM ? process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_4_tiny_invariant__["a" /* default */])(false, 'Browser history needs a DOM') : Object(__WEBPACK_IMPORTED_MODULE_4_tiny_invariant__["a" /* default */])(false) : void 0;
5162
+ var globalHistory = window.history;
5163
+ var canUseHistory = supportsHistory();
5164
+ var needsHashChangeListener = !supportsPopStateOnHashChange();
5165
+ var _props = props,
5166
+ _props$forceRefresh = _props.forceRefresh,
5167
+ forceRefresh = _props$forceRefresh === void 0 ? false : _props$forceRefresh,
5168
+ _props$getUserConfirm = _props.getUserConfirmation,
5169
+ getUserConfirmation = _props$getUserConfirm === void 0 ? getConfirmation : _props$getUserConfirm,
5170
+ _props$keyLength = _props.keyLength,
5171
+ keyLength = _props$keyLength === void 0 ? 6 : _props$keyLength;
5172
+ var basename = props.basename ? stripTrailingSlash(addLeadingSlash(props.basename)) : '';
5173
+
5174
+ function getDOMLocation(historyState) {
5175
+ var _ref = historyState || {},
5176
+ key = _ref.key,
5177
+ state = _ref.state;
5178
+
5179
+ var _window$location = window.location,
5180
+ pathname = _window$location.pathname,
5181
+ search = _window$location.search,
5182
+ hash = _window$location.hash;
5183
+ var path = pathname + search + hash;
5184
+ process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(!basename || hasBasename(path, basename), 'You are attempting to use a basename on a page whose URL path does not begin ' + 'with the basename. Expected path "' + path + '" to begin with "' + basename + '".') : void 0;
5185
+ if (basename) path = stripBasename(path, basename);
5186
+ return createLocation(path, state, key);
5187
+ }
5188
+
5189
+ function createKey() {
5190
+ return Math.random().toString(36).substr(2, keyLength);
5191
+ }
5192
+
5193
+ var transitionManager = createTransitionManager();
5194
+
5195
+ function setState(nextState) {
5196
+ Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])(history, nextState);
5197
+
5198
+ history.length = globalHistory.length;
5199
+ transitionManager.notifyListeners(history.location, history.action);
5200
+ }
5201
+
5202
+ function handlePopState(event) {
5203
+ // Ignore extraneous popstate events in WebKit.
5204
+ if (isExtraneousPopstateEvent(event)) return;
5205
+ handlePop(getDOMLocation(event.state));
5206
+ }
5207
+
5208
+ function handleHashChange() {
5209
+ handlePop(getDOMLocation(getHistoryState()));
5210
+ }
5211
+
5212
+ var forceNextPop = false;
5213
+
5214
+ function handlePop(location) {
5215
+ if (forceNextPop) {
5216
+ forceNextPop = false;
5217
+ setState();
5218
+ } else {
5219
+ var action = 'POP';
5220
+ transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
5221
+ if (ok) {
5222
+ setState({
5223
+ action: action,
5224
+ location: location
5225
+ });
5226
+ } else {
5227
+ revertPop(location);
5228
+ }
5229
+ });
5230
+ }
5231
+ }
5232
+
5233
+ function revertPop(fromLocation) {
5234
+ var toLocation = history.location; // TODO: We could probably make this more reliable by
5235
+ // keeping a list of keys we've seen in sessionStorage.
5236
+ // Instead, we just default to 0 for keys we don't know.
5237
+
5238
+ var toIndex = allKeys.indexOf(toLocation.key);
5239
+ if (toIndex === -1) toIndex = 0;
5240
+ var fromIndex = allKeys.indexOf(fromLocation.key);
5241
+ if (fromIndex === -1) fromIndex = 0;
5242
+ var delta = toIndex - fromIndex;
5243
+
5244
+ if (delta) {
5245
+ forceNextPop = true;
5246
+ go(delta);
5247
+ }
5248
+ }
5249
+
5250
+ var initialLocation = getDOMLocation(getHistoryState());
5251
+ var allKeys = [initialLocation.key]; // Public interface
5252
+
5253
+ function createHref(location) {
5254
+ return basename + createPath(location);
5255
+ }
5256
+
5257
+ function push(path, state) {
5258
+ process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to push when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;
5259
+ var action = 'PUSH';
5260
+ var location = createLocation(path, state, createKey(), history.location);
5261
+ transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
5262
+ if (!ok) return;
5263
+ var href = createHref(location);
5264
+ var key = location.key,
5265
+ state = location.state;
5266
+
5267
+ if (canUseHistory) {
5268
+ globalHistory.pushState({
5269
+ key: key,
5270
+ state: state
5271
+ }, null, href);
5272
+
5273
+ if (forceRefresh) {
5274
+ window.location.href = href;
5275
+ } else {
5276
+ var prevIndex = allKeys.indexOf(history.location.key);
5277
+ var nextKeys = allKeys.slice(0, prevIndex + 1);
5278
+ nextKeys.push(location.key);
5279
+ allKeys = nextKeys;
5280
+ setState({
5281
+ action: action,
5282
+ location: location
5283
+ });
5284
+ }
5285
+ } else {
5286
+ process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(state === undefined, 'Browser history cannot push state in browsers that do not support HTML5 history') : void 0;
5287
+ window.location.href = href;
5288
+ }
5289
+ });
5290
+ }
5291
+
5292
+ function replace(path, state) {
5293
+ process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to replace when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;
5294
+ var action = 'REPLACE';
5295
+ var location = createLocation(path, state, createKey(), history.location);
5296
+ transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
5297
+ if (!ok) return;
5298
+ var href = createHref(location);
5299
+ var key = location.key,
5300
+ state = location.state;
5301
+
5302
+ if (canUseHistory) {
5303
+ globalHistory.replaceState({
5304
+ key: key,
5305
+ state: state
5306
+ }, null, href);
5307
+
5308
+ if (forceRefresh) {
5309
+ window.location.replace(href);
5310
+ } else {
5311
+ var prevIndex = allKeys.indexOf(history.location.key);
5312
+ if (prevIndex !== -1) allKeys[prevIndex] = location.key;
5313
+ setState({
5314
+ action: action,
5315
+ location: location
5316
+ });
5317
+ }
5318
+ } else {
5319
+ process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(state === undefined, 'Browser history cannot replace state in browsers that do not support HTML5 history') : void 0;
5320
+ window.location.replace(href);
5321
+ }
5322
+ });
5323
+ }
5324
+
5325
+ function go(n) {
5326
+ globalHistory.go(n);
5327
+ }
5328
+
5329
+ function goBack() {
5330
+ go(-1);
5331
+ }
5332
+
5333
+ function goForward() {
5334
+ go(1);
5335
+ }
5336
+
5337
+ var listenerCount = 0;
5338
+
5339
+ function checkDOMListeners(delta) {
5340
+ listenerCount += delta;
5341
+
5342
+ if (listenerCount === 1 && delta === 1) {
5343
+ window.addEventListener(PopStateEvent, handlePopState);
5344
+ if (needsHashChangeListener) window.addEventListener(HashChangeEvent, handleHashChange);
5345
+ } else if (listenerCount === 0) {
5346
+ window.removeEventListener(PopStateEvent, handlePopState);
5347
+ if (needsHashChangeListener) window.removeEventListener(HashChangeEvent, handleHashChange);
5348
+ }
5349
+ }
5350
+
5351
+ var isBlocked = false;
5352
+
5353
+ function block(prompt) {
5354
+ if (prompt === void 0) {
5355
+ prompt = false;
5356
+ }
5357
+
5358
+ var unblock = transitionManager.setPrompt(prompt);
5359
+
5360
+ if (!isBlocked) {
5361
+ checkDOMListeners(1);
5362
+ isBlocked = true;
5363
+ }
5364
+
5365
+ return function () {
5366
+ if (isBlocked) {
5367
+ isBlocked = false;
5368
+ checkDOMListeners(-1);
5369
+ }
5370
+
5371
+ return unblock();
5372
+ };
5373
+ }
5374
+
5375
+ function listen(listener) {
5376
+ var unlisten = transitionManager.appendListener(listener);
5377
+ checkDOMListeners(1);
5378
+ return function () {
5379
+ checkDOMListeners(-1);
5380
+ unlisten();
5381
+ };
5382
+ }
5383
+
5384
+ var history = {
5385
+ length: globalHistory.length,
5386
+ action: 'POP',
5387
+ location: initialLocation,
5388
+ createHref: createHref,
5389
+ push: push,
5390
+ replace: replace,
5391
+ go: go,
5392
+ goBack: goBack,
5393
+ goForward: goForward,
5394
+ block: block,
5395
+ listen: listen
5396
+ };
5397
+ return history;
5398
+ }
5399
+
5400
+ var HashChangeEvent$1 = 'hashchange';
5401
+ var HashPathCoders = {
5402
+ hashbang: {
5403
+ encodePath: function encodePath(path) {
5404
+ return path.charAt(0) === '!' ? path : '!/' + stripLeadingSlash(path);
5405
+ },
5406
+ decodePath: function decodePath(path) {
5407
+ return path.charAt(0) === '!' ? path.substr(1) : path;
5408
+ }
5409
+ },
5410
+ noslash: {
5411
+ encodePath: stripLeadingSlash,
5412
+ decodePath: addLeadingSlash
5413
+ },
5414
+ slash: {
5415
+ encodePath: addLeadingSlash,
5416
+ decodePath: addLeadingSlash
5417
+ }
5418
+ };
5419
+
5420
+ function stripHash(url) {
5421
+ var hashIndex = url.indexOf('#');
5422
+ return hashIndex === -1 ? url : url.slice(0, hashIndex);
5423
+ }
5424
+
5425
+ function getHashPath() {
5426
+ // We can't use window.location.hash here because it's not
5427
+ // consistent across browsers - Firefox will pre-decode it!
5428
+ var href = window.location.href;
5429
+ var hashIndex = href.indexOf('#');
5430
+ return hashIndex === -1 ? '' : href.substring(hashIndex + 1);
5431
+ }
5432
+
5433
+ function pushHashPath(path) {
5434
+ window.location.hash = path;
5435
+ }
5436
+
5437
+ function replaceHashPath(path) {
5438
+ window.location.replace(stripHash(window.location.href) + '#' + path);
5439
+ }
5440
+
5441
+ function createHashHistory(props) {
5442
+ if (props === void 0) {
5443
+ props = {};
5444
+ }
5445
+
5446
+ !canUseDOM ? process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_4_tiny_invariant__["a" /* default */])(false, 'Hash history needs a DOM') : Object(__WEBPACK_IMPORTED_MODULE_4_tiny_invariant__["a" /* default */])(false) : void 0;
5447
+ var globalHistory = window.history;
5448
+ var canGoWithoutReload = supportsGoWithoutReloadUsingHash();
5449
+ var _props = props,
5450
+ _props$getUserConfirm = _props.getUserConfirmation,
5451
+ getUserConfirmation = _props$getUserConfirm === void 0 ? getConfirmation : _props$getUserConfirm,
5452
+ _props$hashType = _props.hashType,
5453
+ hashType = _props$hashType === void 0 ? 'slash' : _props$hashType;
5454
+ var basename = props.basename ? stripTrailingSlash(addLeadingSlash(props.basename)) : '';
5455
+ var _HashPathCoders$hashT = HashPathCoders[hashType],
5456
+ encodePath = _HashPathCoders$hashT.encodePath,
5457
+ decodePath = _HashPathCoders$hashT.decodePath;
5458
+
5459
+ function getDOMLocation() {
5460
+ var path = decodePath(getHashPath());
5461
+ process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(!basename || hasBasename(path, basename), 'You are attempting to use a basename on a page whose URL path does not begin ' + 'with the basename. Expected path "' + path + '" to begin with "' + basename + '".') : void 0;
5462
+ if (basename) path = stripBasename(path, basename);
5463
+ return createLocation(path);
5464
+ }
5465
+
5466
+ var transitionManager = createTransitionManager();
5467
+
5468
+ function setState(nextState) {
5469
+ Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])(history, nextState);
5470
+
5471
+ history.length = globalHistory.length;
5472
+ transitionManager.notifyListeners(history.location, history.action);
5473
+ }
5474
+
5475
+ var forceNextPop = false;
5476
+ var ignorePath = null;
5477
+
5478
+ function locationsAreEqual$$1(a, b) {
5479
+ return a.pathname === b.pathname && a.search === b.search && a.hash === b.hash;
5480
+ }
5481
+
5482
+ function handleHashChange() {
5483
+ var path = getHashPath();
5484
+ var encodedPath = encodePath(path);
5485
+
5486
+ if (path !== encodedPath) {
5487
+ // Ensure we always have a properly-encoded hash.
5488
+ replaceHashPath(encodedPath);
5489
+ } else {
5490
+ var location = getDOMLocation();
5491
+ var prevLocation = history.location;
5492
+ if (!forceNextPop && locationsAreEqual$$1(prevLocation, location)) return; // A hashchange doesn't always == location change.
5493
+
5494
+ if (ignorePath === createPath(location)) return; // Ignore this change; we already setState in push/replace.
5495
+
5496
+ ignorePath = null;
5497
+ handlePop(location);
5498
+ }
5499
+ }
5500
+
5501
+ function handlePop(location) {
5502
+ if (forceNextPop) {
5503
+ forceNextPop = false;
5504
+ setState();
5505
+ } else {
5506
+ var action = 'POP';
5507
+ transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
5508
+ if (ok) {
5509
+ setState({
5510
+ action: action,
5511
+ location: location
5512
+ });
5513
+ } else {
5514
+ revertPop(location);
5515
+ }
5516
+ });
5517
+ }
5518
+ }
5519
+
5520
+ function revertPop(fromLocation) {
5521
+ var toLocation = history.location; // TODO: We could probably make this more reliable by
5522
+ // keeping a list of paths we've seen in sessionStorage.
5523
+ // Instead, we just default to 0 for paths we don't know.
5524
+
5525
+ var toIndex = allPaths.lastIndexOf(createPath(toLocation));
5526
+ if (toIndex === -1) toIndex = 0;
5527
+ var fromIndex = allPaths.lastIndexOf(createPath(fromLocation));
5528
+ if (fromIndex === -1) fromIndex = 0;
5529
+ var delta = toIndex - fromIndex;
5530
+
5531
+ if (delta) {
5532
+ forceNextPop = true;
5533
+ go(delta);
5534
+ }
5535
+ } // Ensure the hash is encoded properly before doing anything else.
5536
+
5537
+
5538
+ var path = getHashPath();
5539
+ var encodedPath = encodePath(path);
5540
+ if (path !== encodedPath) replaceHashPath(encodedPath);
5541
+ var initialLocation = getDOMLocation();
5542
+ var allPaths = [createPath(initialLocation)]; // Public interface
5543
+
5544
+ function createHref(location) {
5545
+ var baseTag = document.querySelector('base');
5546
+ var href = '';
5547
+
5548
+ if (baseTag && baseTag.getAttribute('href')) {
5549
+ href = stripHash(window.location.href);
5550
+ }
5551
+
5552
+ return href + '#' + encodePath(basename + createPath(location));
5553
+ }
5554
+
5555
+ function push(path, state) {
5556
+ process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(state === undefined, 'Hash history cannot push state; it is ignored') : void 0;
5557
+ var action = 'PUSH';
5558
+ var location = createLocation(path, undefined, undefined, history.location);
5559
+ transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
5560
+ if (!ok) return;
5561
+ var path = createPath(location);
5562
+ var encodedPath = encodePath(basename + path);
5563
+ var hashChanged = getHashPath() !== encodedPath;
5564
+
5565
+ if (hashChanged) {
5566
+ // We cannot tell if a hashchange was caused by a PUSH, so we'd
5567
+ // rather setState here and ignore the hashchange. The caveat here
5568
+ // is that other hash histories in the page will consider it a POP.
5569
+ ignorePath = path;
5570
+ pushHashPath(encodedPath);
5571
+ var prevIndex = allPaths.lastIndexOf(createPath(history.location));
5572
+ var nextPaths = allPaths.slice(0, prevIndex + 1);
5573
+ nextPaths.push(path);
5574
+ allPaths = nextPaths;
5575
+ setState({
5576
+ action: action,
5577
+ location: location
5578
+ });
5579
+ } else {
5580
+ process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(false, 'Hash history cannot PUSH the same path; a new entry will not be added to the history stack') : void 0;
5581
+ setState();
5582
+ }
5583
+ });
5584
+ }
5585
+
5586
+ function replace(path, state) {
5587
+ process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(state === undefined, 'Hash history cannot replace state; it is ignored') : void 0;
5588
+ var action = 'REPLACE';
5589
+ var location = createLocation(path, undefined, undefined, history.location);
5590
+ transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
5591
+ if (!ok) return;
5592
+ var path = createPath(location);
5593
+ var encodedPath = encodePath(basename + path);
5594
+ var hashChanged = getHashPath() !== encodedPath;
5595
+
5596
+ if (hashChanged) {
5597
+ // We cannot tell if a hashchange was caused by a REPLACE, so we'd
5598
+ // rather setState here and ignore the hashchange. The caveat here
5599
+ // is that other hash histories in the page will consider it a POP.
5600
+ ignorePath = path;
5601
+ replaceHashPath(encodedPath);
5602
+ }
5603
+
5604
+ var prevIndex = allPaths.indexOf(createPath(history.location));
5605
+ if (prevIndex !== -1) allPaths[prevIndex] = path;
5606
+ setState({
5607
+ action: action,
5608
+ location: location
5609
+ });
5610
+ });
5611
+ }
5612
+
5613
+ function go(n) {
5614
+ process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(canGoWithoutReload, 'Hash history go(n) causes a full page reload in this browser') : void 0;
5615
+ globalHistory.go(n);
5616
+ }
5617
+
5618
+ function goBack() {
5619
+ go(-1);
5620
+ }
5621
+
5622
+ function goForward() {
5623
+ go(1);
5624
+ }
5625
+
5626
+ var listenerCount = 0;
5627
+
5628
+ function checkDOMListeners(delta) {
5629
+ listenerCount += delta;
5630
+
5631
+ if (listenerCount === 1 && delta === 1) {
5632
+ window.addEventListener(HashChangeEvent$1, handleHashChange);
5633
+ } else if (listenerCount === 0) {
5634
+ window.removeEventListener(HashChangeEvent$1, handleHashChange);
5635
+ }
5636
+ }
5637
+
5638
+ var isBlocked = false;
5639
+
5640
+ function block(prompt) {
5641
+ if (prompt === void 0) {
5642
+ prompt = false;
5643
+ }
5644
+
5645
+ var unblock = transitionManager.setPrompt(prompt);
5646
+
5647
+ if (!isBlocked) {
5648
+ checkDOMListeners(1);
5649
+ isBlocked = true;
5650
+ }
5651
+
5652
+ return function () {
5653
+ if (isBlocked) {
5654
+ isBlocked = false;
5655
+ checkDOMListeners(-1);
5656
+ }
5657
+
5658
+ return unblock();
5659
+ };
5660
+ }
5661
+
5662
+ function listen(listener) {
5663
+ var unlisten = transitionManager.appendListener(listener);
5664
+ checkDOMListeners(1);
5665
+ return function () {
5666
+ checkDOMListeners(-1);
5667
+ unlisten();
5668
+ };
5669
+ }
5670
+
5671
+ var history = {
5672
+ length: globalHistory.length,
5673
+ action: 'POP',
5674
+ location: initialLocation,
5675
+ createHref: createHref,
5676
+ push: push,
5677
+ replace: replace,
5678
+ go: go,
5679
+ goBack: goBack,
5680
+ goForward: goForward,
5681
+ block: block,
5682
+ listen: listen
5683
+ };
5684
+ return history;
5685
+ }
5686
+
5687
+ function clamp(n, lowerBound, upperBound) {
5688
+ return Math.min(Math.max(n, lowerBound), upperBound);
5689
+ }
5690
+ /**
5691
+ * Creates a history object that stores locations in memory.
5692
+ */
5693
+
5694
+
5695
+ function createMemoryHistory(props) {
5696
+ if (props === void 0) {
5697
+ props = {};
5698
+ }
5699
+
5700
+ var _props = props,
5701
+ getUserConfirmation = _props.getUserConfirmation,
5702
+ _props$initialEntries = _props.initialEntries,
5703
+ initialEntries = _props$initialEntries === void 0 ? ['/'] : _props$initialEntries,
5704
+ _props$initialIndex = _props.initialIndex,
5705
+ initialIndex = _props$initialIndex === void 0 ? 0 : _props$initialIndex,
5706
+ _props$keyLength = _props.keyLength,
5707
+ keyLength = _props$keyLength === void 0 ? 6 : _props$keyLength;
5708
+ var transitionManager = createTransitionManager();
5709
+
5710
+ function setState(nextState) {
5711
+ Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])(history, nextState);
5712
+
5713
+ history.length = history.entries.length;
5714
+ transitionManager.notifyListeners(history.location, history.action);
5715
+ }
5716
+
5717
+ function createKey() {
5718
+ return Math.random().toString(36).substr(2, keyLength);
5719
+ }
5720
+
5721
+ var index = clamp(initialIndex, 0, initialEntries.length - 1);
5722
+ var entries = initialEntries.map(function (entry) {
5723
+ return typeof entry === 'string' ? createLocation(entry, undefined, createKey()) : createLocation(entry, undefined, entry.key || createKey());
5724
+ }); // Public interface
5725
+
5726
+ var createHref = createPath;
5727
+
5728
+ function push(path, state) {
5729
+ process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to push when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;
5730
+ var action = 'PUSH';
5731
+ var location = createLocation(path, state, createKey(), history.location);
5732
+ transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
5733
+ if (!ok) return;
5734
+ var prevIndex = history.index;
5735
+ var nextIndex = prevIndex + 1;
5736
+ var nextEntries = history.entries.slice(0);
5737
+
5738
+ if (nextEntries.length > nextIndex) {
5739
+ nextEntries.splice(nextIndex, nextEntries.length - nextIndex, location);
5740
+ } else {
5741
+ nextEntries.push(location);
5742
+ }
5743
+
5744
+ setState({
5745
+ action: action,
5746
+ location: location,
5747
+ index: nextIndex,
5748
+ entries: nextEntries
5749
+ });
5750
+ });
5751
+ }
5752
+
5753
+ function replace(path, state) {
5754
+ process.env.NODE_ENV !== "production" ? Object(__WEBPACK_IMPORTED_MODULE_3_tiny_warning__["a" /* default */])(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to replace when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;
5755
+ var action = 'REPLACE';
5756
+ var location = createLocation(path, state, createKey(), history.location);
5757
+ transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
5758
+ if (!ok) return;
5759
+ history.entries[history.index] = location;
5760
+ setState({
5761
+ action: action,
5762
+ location: location
5763
+ });
5764
+ });
5765
+ }
5766
+
5767
+ function go(n) {
5768
+ var nextIndex = clamp(history.index + n, 0, history.entries.length - 1);
5769
+ var action = 'POP';
5770
+ var location = history.entries[nextIndex];
5771
+ transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {
5772
+ if (ok) {
5773
+ setState({
5774
+ action: action,
5775
+ location: location,
5776
+ index: nextIndex
5777
+ });
5778
+ } else {
5779
+ // Mimic the behavior of DOM histories by
5780
+ // causing a render after a cancelled POP.
5781
+ setState();
5782
+ }
5783
+ });
5784
+ }
5785
+
5786
+ function goBack() {
5787
+ go(-1);
5788
+ }
5789
+
5790
+ function goForward() {
5791
+ go(1);
5792
+ }
5793
+
5794
+ function canGo(n) {
5795
+ var nextIndex = history.index + n;
5796
+ return nextIndex >= 0 && nextIndex < history.entries.length;
5797
+ }
5798
+
5799
+ function block(prompt) {
5800
+ if (prompt === void 0) {
5801
+ prompt = false;
5802
+ }
5803
+
5804
+ return transitionManager.setPrompt(prompt);
5805
+ }
5806
+
5807
+ function listen(listener) {
5808
+ return transitionManager.appendListener(listener);
5809
+ }
5810
+
5811
+ var history = {
5812
+ length: entries.length,
5813
+ action: 'POP',
5814
+ location: entries[index],
5815
+ index: index,
5816
+ entries: entries,
5817
+ createHref: createHref,
5818
+ push: push,
5819
+ replace: replace,
5820
+ go: go,
5821
+ goBack: goBack,
5822
+ goForward: goForward,
5823
+ canGo: canGo,
5824
+ block: block,
5825
+ listen: listen
5826
+ };
5827
+ return history;
5828
+ }
5829
+
5830
+
5831
+
5832
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
5833
+
5834
+ /***/ }),
5835
+ /* 54 */
5836
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
5837
+
5838
+ "use strict";
5839
+ /* harmony export (immutable) */ __webpack_exports__["a"] = _objectWithoutPropertiesLoose;
5840
+ function _objectWithoutPropertiesLoose(source, excluded) {
5841
+ if (source == null) return {};
5842
+ var target = {};
5843
+ var sourceKeys = Object.keys(source);
5844
+ var key, i;
5845
+
5846
+ for (i = 0; i < sourceKeys.length; i++) {
5847
+ key = sourceKeys[i];
5848
+ if (excluded.indexOf(key) >= 0) continue;
5849
+ target[key] = source[key];
5850
+ }
5851
+
5852
+ return target;
5853
+ }
5854
+
5855
+ /***/ }),
5856
+ /* 55 */
5857
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
5858
+
5859
+ "use strict";
5860
+ /* harmony export (immutable) */ __webpack_exports__["a"] = _inheritsLoose;
5861
+ function _inheritsLoose(subClass, superClass) {
5862
+ subClass.prototype = Object.create(superClass.prototype);
5863
+ subClass.prototype.constructor = subClass;
5864
+ subClass.__proto__ = superClass;
5865
+ }
5866
+
5867
+ /***/ }),
5868
+ /* 56 */
5869
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
5870
+
5871
+ "use strict";
5872
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__useTheme__ = __webpack_require__(460);
5873
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__useTheme__["a"]; });
5874
+
5875
+
5876
+ /***/ }),
5877
+ /* 57 */
5878
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
5879
+
5880
+ "use strict";
5881
+ /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (immutable) */ __webpack_exports__["a"] = createChainedFunction;
5882
+ /**
5883
+ * Safe chained function
5884
+ *
5885
+ * Will only create a new function if needed,
5886
+ * otherwise will pass back existing functions or null.
5887
+ *
5888
+ * @param {function} functions to chain
5889
+ * @returns {function|null}
5890
+ */
5891
+ function createChainedFunction() {
5892
+ for (var _len = arguments.length, funcs = new Array(_len), _key = 0; _key < _len; _key++) {
5893
+ funcs[_key] = arguments[_key];
5894
+ }
5895
+
5896
+ return funcs.reduce(function (acc, func) {
5897
+ if (func == null) {
5898
+ return acc;
5899
+ }
5900
+
5901
+ if (process.env.NODE_ENV !== 'production') {
5902
+ if (typeof func !== 'function') {
5903
+ console.error('Material-UI: Invalid Argument Type, must only provide functions, undefined, or null.');
5904
+ }
5905
+ }
5906
+
5907
+ return function chainedFunction() {
5908
+ for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
5909
+ args[_key2] = arguments[_key2];
5910
+ }
5911
+
5912
+ acc.apply(this, args);
5913
+ func.apply(this, args);
5914
+ };
5915
+ }, function () {});
5916
+ }
5917
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
5918
+
5919
+ /***/ }),
5920
+ /* 58 */
5921
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
5922
+
5923
+ "use strict";
5924
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CSSTransition__ = __webpack_require__(523);
5925
+ /* unused harmony reexport CSSTransition */
5926
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__ReplaceTransition__ = __webpack_require__(527);
5927
+ /* unused harmony reexport ReplaceTransition */
5928
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__SwitchTransition__ = __webpack_require__(529);
5929
+ /* unused harmony reexport SwitchTransition */
5930
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__TransitionGroup__ = __webpack_require__(241);
5931
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_3__TransitionGroup__["a"]; });
5932
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__Transition__ = __webpack_require__(130);
5933
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_4__Transition__["d"]; });
5934
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__config__ = __webpack_require__(239);
5935
+ /* unused harmony reexport config */
5936
+
5937
+
5938
+
5939
+
5940
+
5941
+
5942
+
5943
+ /***/ }),
5944
+ /* 59 */
5945
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
5946
+
5947
+ "use strict";
5948
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Collapse__ = __webpack_require__(547);
5949
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Collapse__["a"]; });
5950
+
5951
+
5952
+ /***/ }),
5953
+ /* 60 */
5954
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
5955
+
5956
+ "use strict";
5957
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return reflow; });
5958
+ /* harmony export (immutable) */ __webpack_exports__["a"] = getTransitionProps;
5959
+ var reflow = function reflow(node) {
5960
+ return node.scrollTop;
5961
+ };
5962
+ function getTransitionProps(props, options) {
5963
+ var timeout = props.timeout,
5964
+ _props$style = props.style,
5965
+ style = _props$style === void 0 ? {} : _props$style;
5966
+ return {
5967
+ duration: style.transitionDuration || typeof timeout === 'number' ? timeout : timeout[options.mode] || 0,
5968
+ delay: style.transitionDelay
5969
+ };
5970
+ }
5971
+
5972
+ /***/ }),
5973
+ /* 61 */
5974
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
5975
+
5976
+ "use strict";
5977
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__InputBase__ = __webpack_require__(599);
5978
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__InputBase__["a"]; });
5979
+
5980
+
5981
+ /***/ }),
5982
+ /* 62 */
5983
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
5984
+
5985
+ "use strict";
5986
+ /* harmony export (immutable) */ __webpack_exports__["a"] = formControlState;
5987
+ function formControlState(_ref) {
5988
+ var props = _ref.props,
5989
+ states = _ref.states,
5990
+ muiFormControl = _ref.muiFormControl;
5991
+ return states.reduce(function (acc, state) {
5992
+ acc[state] = props[state];
5993
+
5994
+ if (muiFormControl) {
5995
+ if (typeof props[state] === 'undefined') {
5996
+ acc[state] = muiFormControl[state];
5997
+ }
5998
+ }
5999
+
6000
+ return acc;
6001
+ }, {});
6002
+ }
6003
+
6004
+ /***/ }),
6005
+ /* 63 */
6006
+ /***/ (function(module, exports, __webpack_require__) {
6007
+
6008
+ var isFunction = __webpack_require__(175),
6009
+ isLength = __webpack_require__(171);
6010
+
6011
+ /**
6012
+ * Checks if `value` is array-like. A value is considered array-like if it's
6013
+ * not a function and has a `value.length` that's an integer greater than or
6014
+ * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
6015
+ *
6016
+ * @static
6017
+ * @memberOf _
6018
+ * @since 4.0.0
6019
+ * @category Lang
6020
+ * @param {*} value The value to check.
6021
+ * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
6022
+ * @example
6023
+ *
6024
+ * _.isArrayLike([1, 2, 3]);
6025
+ * // => true
6026
+ *
6027
+ * _.isArrayLike(document.body.children);
6028
+ * // => true
6029
+ *
6030
+ * _.isArrayLike('abc');
6031
+ * // => true
6032
+ *
6033
+ * _.isArrayLike(_.noop);
6034
+ * // => false
6035
+ */
6036
+ function isArrayLike(value) {
6037
+ return value != null && isLength(value.length) && !isFunction(value);
6038
+ }
6039
+
6040
+ module.exports = isArrayLike;
6041
+
6042
+
6043
+ /***/ }),
6044
+ /* 64 */
6045
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6046
+
6047
+ "use strict";
6048
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__createMuiTheme__ = __webpack_require__(126);
6049
+
6050
+ var defaultTheme = Object(__WEBPACK_IMPORTED_MODULE_0__createMuiTheme__["a" /* default */])();
6051
+ /* harmony default export */ __webpack_exports__["a"] = (defaultTheme);
6052
+
6053
+ /***/ }),
6054
+ /* 65 */
6055
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6056
+
6057
+ "use strict";
6058
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__emotion_serialize__ = __webpack_require__(230);
6059
+
6060
+
6061
+ function css() {
6062
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
6063
+ args[_key] = arguments[_key];
6064
+ }
6065
+
6066
+ return Object(__WEBPACK_IMPORTED_MODULE_0__emotion_serialize__["a" /* serializeStyles */])(args);
6067
+ }
6068
+
6069
+ /* harmony default export */ __webpack_exports__["a"] = (css);
6070
+
6071
+
6072
+ /***/ }),
6073
+ /* 66 */
6074
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6075
+
6076
+ "use strict";
6077
+ /* harmony export (immutable) */ __webpack_exports__["a"] = isMuiElement;
6078
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
6079
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
6080
+
6081
+ function isMuiElement(element, muiNames) {
6082
+ return /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_0_react__["isValidElement"](element) && muiNames.indexOf(element.type.muiName) !== -1;
6083
+ }
6084
+
6085
+ /***/ }),
6086
+ /* 67 */
6087
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6088
+
6089
+ "use strict";
6090
+ /* WEBPACK VAR INJECTION */(function(process) {/* unused harmony export teardown */
6091
+ /* harmony export (immutable) */ __webpack_exports__["a"] = useIsFocusVisible;
6092
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
6093
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
6094
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react_dom__ = __webpack_require__(11);
6095
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_react_dom__);
6096
+ // based on https://github.com/WICG/focus-visible/blob/v4.1.5/src/focus-visible.js
6097
+
6098
+
6099
+ var hadKeyboardEvent = true;
6100
+ var hadFocusVisibleRecently = false;
6101
+ var hadFocusVisibleRecentlyTimeout = null;
6102
+ var inputTypesWhitelist = {
6103
+ text: true,
6104
+ search: true,
6105
+ url: true,
6106
+ tel: true,
6107
+ email: true,
6108
+ password: true,
6109
+ number: true,
6110
+ date: true,
6111
+ month: true,
6112
+ week: true,
6113
+ time: true,
6114
+ datetime: true,
6115
+ 'datetime-local': true
6116
+ };
6117
+ /**
6118
+ * Computes whether the given element should automatically trigger the
6119
+ * `focus-visible` class being added, i.e. whether it should always match
6120
+ * `:focus-visible` when focused.
6121
+ * @param {Element} node
6122
+ * @return {boolean}
6123
+ */
6124
+
6125
+ function focusTriggersKeyboardModality(node) {
6126
+ var type = node.type,
6127
+ tagName = node.tagName;
6128
+
6129
+ if (tagName === 'INPUT' && inputTypesWhitelist[type] && !node.readOnly) {
6130
+ return true;
6131
+ }
6132
+
6133
+ if (tagName === 'TEXTAREA' && !node.readOnly) {
6134
+ return true;
6135
+ }
6136
+
6137
+ if (node.isContentEditable) {
6138
+ return true;
6139
+ }
6140
+
6141
+ return false;
6142
+ }
6143
+ /**
6144
+ * Keep track of our keyboard modality state with `hadKeyboardEvent`.
6145
+ * If the most recent user interaction was via the keyboard;
6146
+ * and the key press did not include a meta, alt/option, or control key;
6147
+ * then the modality is keyboard. Otherwise, the modality is not keyboard.
6148
+ * @param {KeyboardEvent} event
6149
+ */
6150
+
6151
+
6152
+ function handleKeyDown(event) {
6153
+ if (event.metaKey || event.altKey || event.ctrlKey) {
6154
+ return;
6155
+ }
6156
+
6157
+ hadKeyboardEvent = true;
6158
+ }
6159
+ /**
6160
+ * If at any point a user clicks with a pointing device, ensure that we change
6161
+ * the modality away from keyboard.
6162
+ * This avoids the situation where a user presses a key on an already focused
6163
+ * element, and then clicks on a different element, focusing it with a
6164
+ * pointing device, while we still think we're in keyboard modality.
6165
+ */
6166
+
6167
+
6168
+ function handlePointerDown() {
6169
+ hadKeyboardEvent = false;
6170
+ }
6171
+
6172
+ function handleVisibilityChange() {
6173
+ if (this.visibilityState === 'hidden') {
6174
+ // If the tab becomes active again, the browser will handle calling focus
6175
+ // on the element (Safari actually calls it twice).
6176
+ // If this tab change caused a blur on an element with focus-visible,
6177
+ // re-apply the class when the user switches back to the tab.
6178
+ if (hadFocusVisibleRecently) {
6179
+ hadKeyboardEvent = true;
6180
+ }
6181
+ }
6182
+ }
6183
+
6184
+ function prepare(doc) {
6185
+ doc.addEventListener('keydown', handleKeyDown, true);
6186
+ doc.addEventListener('mousedown', handlePointerDown, true);
6187
+ doc.addEventListener('pointerdown', handlePointerDown, true);
6188
+ doc.addEventListener('touchstart', handlePointerDown, true);
6189
+ doc.addEventListener('visibilitychange', handleVisibilityChange, true);
6190
+ }
6191
+
6192
+ function teardown(doc) {
6193
+ doc.removeEventListener('keydown', handleKeyDown, true);
6194
+ doc.removeEventListener('mousedown', handlePointerDown, true);
6195
+ doc.removeEventListener('pointerdown', handlePointerDown, true);
6196
+ doc.removeEventListener('touchstart', handlePointerDown, true);
6197
+ doc.removeEventListener('visibilitychange', handleVisibilityChange, true);
6198
+ }
6199
+
6200
+ function isFocusVisible(event) {
6201
+ var target = event.target;
6202
+
6203
+ try {
6204
+ return target.matches(':focus-visible');
6205
+ } catch (error) {// browsers not implementing :focus-visible will throw a SyntaxError
6206
+ // we use our own heuristic for those browsers
6207
+ // rethrow might be better if it's not the expected error but do we really
6208
+ // want to crash if focus-visible malfunctioned?
6209
+ } // no need for validFocusTarget check. the user does that by attaching it to
6210
+ // focusable events only
6211
+
6212
+
6213
+ return hadKeyboardEvent || focusTriggersKeyboardModality(target);
6214
+ }
6215
+ /**
6216
+ * Should be called if a blur event is fired on a focus-visible element
6217
+ */
6218
+
6219
+
6220
+ function handleBlurVisible() {
6221
+ // To detect a tab/window switch, we look for a blur event followed
6222
+ // rapidly by a visibility change.
6223
+ // If we don't see a visibility change within 100ms, it's probably a
6224
+ // regular focus change.
6225
+ hadFocusVisibleRecently = true;
6226
+ window.clearTimeout(hadFocusVisibleRecentlyTimeout);
6227
+ hadFocusVisibleRecentlyTimeout = window.setTimeout(function () {
6228
+ hadFocusVisibleRecently = false;
6229
+ }, 100);
6230
+ }
6231
+
6232
+ function useIsFocusVisible() {
6233
+ var ref = __WEBPACK_IMPORTED_MODULE_0_react__["useCallback"](function (instance) {
6234
+ var node = __WEBPACK_IMPORTED_MODULE_1_react_dom__["findDOMNode"](instance);
6235
+
6236
+ if (node != null) {
6237
+ prepare(node.ownerDocument);
6238
+ }
6239
+ }, []);
6240
+
6241
+ if (process.env.NODE_ENV !== 'production') {
6242
+ // eslint-disable-next-line react-hooks/rules-of-hooks
6243
+ __WEBPACK_IMPORTED_MODULE_0_react__["useDebugValue"](isFocusVisible);
6244
+ }
6245
+
6246
+ return {
6247
+ isFocusVisible: isFocusVisible,
6248
+ onBlurVisible: handleBlurVisible,
6249
+ ref: ref
6250
+ };
6251
+ }
6252
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
6253
+
6254
+ /***/ }),
6255
+ /* 68 */
6256
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6257
+
6258
+ "use strict";
6259
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Modal__ = __webpack_require__(583);
6260
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Modal__["a"]; });
6261
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__ModalManager__ = __webpack_require__(267);
6262
+ /* unused harmony reexport ModalManager */
6263
+
6264
+
6265
+
6266
+ /***/ }),
6267
+ /* 69 */
6268
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6269
+
6270
+ "use strict";
6271
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Grow__ = __webpack_require__(610);
6272
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Grow__["a"]; });
6273
+
6274
+
6275
+ /***/ }),
6276
+ /* 70 */
6277
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6278
+
6279
+ "use strict";
6280
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Input__ = __webpack_require__(615);
6281
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Input__["a"]; });
6282
+
6283
+
6284
+ /***/ }),
6285
+ /* 71 */
6286
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6287
+
6288
+ "use strict";
6289
+ /* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
6290
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
6291
+
6292
+ /**
6293
+ * @ignore - internal component.
6294
+ */
6295
+
6296
+ var ListContext = /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_0_react__["createContext"]({});
6297
+
6298
+ if (process.env.NODE_ENV !== 'production') {
6299
+ ListContext.displayName = 'ListContext';
6300
+ }
6301
+
6302
+ /* harmony default export */ __webpack_exports__["a"] = (ListContext);
6303
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
6304
+
6305
+ /***/ }),
6306
+ /* 72 */
6307
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6308
+
6309
+ "use strict";
6310
+ /* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
6311
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
6312
+
6313
+ /**
6314
+ * @ignore - internal component.
6315
+ */
6316
+
6317
+ var Tablelvl2Context = /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_0_react__["createContext"]();
6318
+
6319
+ if (process.env.NODE_ENV !== 'production') {
6320
+ Tablelvl2Context.displayName = 'Tablelvl2Context';
6321
+ }
6322
+
6323
+ /* harmony default export */ __webpack_exports__["a"] = (Tablelvl2Context);
6324
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
6325
+
6326
+ /***/ }),
6327
+ /* 73 */
6328
+ /***/ (function(module, exports, __webpack_require__) {
6329
+
6330
+ var root = __webpack_require__(30);
6331
+
6332
+ /** Built-in value references. */
6333
+ var Symbol = root.Symbol;
6334
+
6335
+ module.exports = Symbol;
6336
+
6337
+
6338
+ /***/ }),
6339
+ /* 74 */
6340
+ /***/ (function(module, exports, __webpack_require__) {
6341
+
6342
+ var arrayLikeKeys = __webpack_require__(357),
6343
+ baseKeys = __webpack_require__(734),
6344
+ isArrayLike = __webpack_require__(63);
6345
+
6346
+ /**
6347
+ * Creates an array of the own enumerable property names of `object`.
6348
+ *
6349
+ * **Note:** Non-object values are coerced to objects. See the
6350
+ * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
6351
+ * for more details.
6352
+ *
6353
+ * @static
6354
+ * @since 0.1.0
6355
+ * @memberOf _
6356
+ * @category Object
6357
+ * @param {Object} object The object to query.
6358
+ * @returns {Array} Returns the array of property names.
6359
+ * @example
6360
+ *
6361
+ * function Foo() {
6362
+ * this.a = 1;
6363
+ * this.b = 2;
6364
+ * }
6365
+ *
6366
+ * Foo.prototype.c = 3;
6367
+ *
6368
+ * _.keys(new Foo);
6369
+ * // => ['a', 'b'] (iteration order is not guaranteed)
6370
+ *
6371
+ * _.keys('hi');
6372
+ * // => ['0', '1']
6373
+ */
6374
+ function keys(object) {
6375
+ return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
6376
+ }
6377
+
6378
+ module.exports = keys;
6379
+
6380
+
6381
+ /***/ }),
6382
+ /* 75 */
6383
+ /***/ (function(module, exports) {
6384
+
6385
+ /**
6386
+ * Performs a
6387
+ * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
6388
+ * comparison between two values to determine if they are equivalent.
6389
+ *
6390
+ * @static
6391
+ * @memberOf _
6392
+ * @since 4.0.0
6393
+ * @category Lang
6394
+ * @param {*} value The value to compare.
6395
+ * @param {*} other The other value to compare.
6396
+ * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
6397
+ * @example
6398
+ *
6399
+ * var object = { 'a': 1 };
6400
+ * var other = { 'a': 1 };
6401
+ *
6402
+ * _.eq(object, object);
6403
+ * // => true
6404
+ *
6405
+ * _.eq(object, other);
6406
+ * // => false
6407
+ *
6408
+ * _.eq('a', 'a');
6409
+ * // => true
6410
+ *
6411
+ * _.eq('a', Object('a'));
6412
+ * // => false
6413
+ *
6414
+ * _.eq(NaN, NaN);
6415
+ * // => true
6416
+ */
6417
+ function eq(value, other) {
6418
+ return value === other || (value !== value && other !== other);
6419
+ }
6420
+
6421
+ module.exports = eq;
6422
+
6423
+
6424
+ /***/ }),
6425
+ /* 76 */
6426
+ /***/ (function(module, exports, __webpack_require__) {
6427
+
6428
+ var assignValue = __webpack_require__(376),
6429
+ baseAssignValue = __webpack_require__(181);
6430
+
6431
+ /**
6432
+ * Copies properties of `source` to `object`.
6433
+ *
6434
+ * @private
6435
+ * @param {Object} source The object to copy properties from.
6436
+ * @param {Array} props The property identifiers to copy.
6437
+ * @param {Object} [object={}] The object to copy properties to.
6438
+ * @param {Function} [customizer] The function to customize copied values.
6439
+ * @returns {Object} Returns `object`.
6440
+ */
6441
+ function copyObject(source, props, object, customizer) {
6442
+ var isNew = !object;
6443
+ object || (object = {});
6444
+
6445
+ var index = -1,
6446
+ length = props.length;
6447
+
6448
+ while (++index < length) {
6449
+ var key = props[index];
6450
+
6451
+ var newValue = customizer
6452
+ ? customizer(object[key], source[key], key, object, source)
6453
+ : undefined;
6454
+
6455
+ if (newValue === undefined) {
6456
+ newValue = source[key];
6457
+ }
6458
+ if (isNew) {
6459
+ baseAssignValue(object, key, newValue);
6460
+ } else {
6461
+ assignValue(object, key, newValue);
6462
+ }
6463
+ }
6464
+ return object;
6465
+ }
6466
+
6467
+ module.exports = copyObject;
6468
+
6469
+
6470
+ /***/ }),
6471
+ /* 77 */
6472
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6473
+
6474
+ "use strict";
6475
+ /* WEBPACK VAR INJECTION */(function(process) {var isProduction = process.env.NODE_ENV === 'production';
6476
+ function warning(condition, message) {
6477
+ if (!isProduction) {
6478
+ if (condition) {
6479
+ return;
6480
+ }
6481
+
6482
+ var text = "Warning: " + message;
6483
+
6484
+ if (typeof console !== 'undefined') {
6485
+ console.warn(text);
6486
+ }
6487
+
6488
+ try {
6489
+ throw Error(text);
6490
+ } catch (x) {}
6491
+ }
6492
+ }
6493
+
6494
+ /* harmony default export */ __webpack_exports__["a"] = (warning);
6495
+
6496
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
6497
+
6498
+ /***/ }),
6499
+ /* 78 */
6500
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6501
+
6502
+ "use strict";
6503
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__createGenerateClassName__ = __webpack_require__(442);
6504
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__createGenerateClassName__["a"]; });
6505
+
6506
+
6507
+ /***/ }),
6508
+ /* 79 */
6509
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6510
+
6511
+ "use strict";
6512
+ /* harmony export (immutable) */ __webpack_exports__["a"] = _createClass;
6513
+ function _defineProperties(target, props) {
6514
+ for (var i = 0; i < props.length; i++) {
6515
+ var descriptor = props[i];
6516
+ descriptor.enumerable = descriptor.enumerable || false;
6517
+ descriptor.configurable = true;
6518
+ if ("value" in descriptor) descriptor.writable = true;
6519
+ Object.defineProperty(target, descriptor.key, descriptor);
6520
+ }
6521
+ }
6522
+
6523
+ function _createClass(Constructor, protoProps, staticProps) {
6524
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
6525
+ if (staticProps) _defineProperties(Constructor, staticProps);
6526
+ return Constructor;
6527
+ }
6528
+
6529
+ /***/ }),
6530
+ /* 80 */
6531
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6532
+
6533
+ "use strict";
6534
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__makeStyles__ = __webpack_require__(457);
6535
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__makeStyles__["a"]; });
6536
+
6537
+
6538
+ /***/ }),
6539
+ /* 81 */
6540
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6541
+
6542
+ "use strict";
6543
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__StylesProvider__ = __webpack_require__(197);
6544
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_0__StylesProvider__["b"]; });
6545
+ /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__StylesProvider__["a"]; });
6546
+
6547
+
6548
+
6549
+ /***/ }),
6550
+ /* 82 */
6551
+ /***/ (function(module, exports, __webpack_require__) {
6552
+
6553
+ "use strict";
6554
+
6555
+
6556
+ var reactIs = __webpack_require__(15);
6557
+
6558
+ /**
6559
+ * Copyright 2015, Yahoo! Inc.
6560
+ * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
6561
+ */
6562
+ var REACT_STATICS = {
6563
+ childContextTypes: true,
6564
+ contextType: true,
6565
+ contextTypes: true,
6566
+ defaultProps: true,
6567
+ displayName: true,
6568
+ getDefaultProps: true,
6569
+ getDerivedStateFromError: true,
6570
+ getDerivedStateFromProps: true,
6571
+ mixins: true,
6572
+ propTypes: true,
6573
+ type: true
6574
+ };
6575
+ var KNOWN_STATICS = {
6576
+ name: true,
6577
+ length: true,
6578
+ prototype: true,
6579
+ caller: true,
6580
+ callee: true,
6581
+ arguments: true,
6582
+ arity: true
6583
+ };
6584
+ var FORWARD_REF_STATICS = {
6585
+ '$$typeof': true,
6586
+ render: true,
6587
+ defaultProps: true,
6588
+ displayName: true,
6589
+ propTypes: true
6590
+ };
6591
+ var MEMO_STATICS = {
6592
+ '$$typeof': true,
6593
+ compare: true,
6594
+ defaultProps: true,
6595
+ displayName: true,
6596
+ propTypes: true,
6597
+ type: true
6598
+ };
6599
+ var TYPE_STATICS = {};
6600
+ TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
6601
+ TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
6602
+
6603
+ function getStatics(component) {
6604
+ // React v16.11 and below
6605
+ if (reactIs.isMemo(component)) {
6606
+ return MEMO_STATICS;
6607
+ } // React v16.12 and above
6608
+
6609
+
6610
+ return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;
6611
+ }
6612
+
6613
+ var defineProperty = Object.defineProperty;
6614
+ var getOwnPropertyNames = Object.getOwnPropertyNames;
6615
+ var getOwnPropertySymbols = Object.getOwnPropertySymbols;
6616
+ var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
6617
+ var getPrototypeOf = Object.getPrototypeOf;
6618
+ var objectPrototype = Object.prototype;
6619
+ function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
6620
+ if (typeof sourceComponent !== 'string') {
6621
+ // don't hoist over string (html) components
6622
+ if (objectPrototype) {
6623
+ var inheritedComponent = getPrototypeOf(sourceComponent);
6624
+
6625
+ if (inheritedComponent && inheritedComponent !== objectPrototype) {
6626
+ hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
6627
+ }
6628
+ }
6629
+
6630
+ var keys = getOwnPropertyNames(sourceComponent);
6631
+
6632
+ if (getOwnPropertySymbols) {
6633
+ keys = keys.concat(getOwnPropertySymbols(sourceComponent));
6634
+ }
6635
+
6636
+ var targetStatics = getStatics(targetComponent);
6637
+ var sourceStatics = getStatics(sourceComponent);
6638
+
6639
+ for (var i = 0; i < keys.length; ++i) {
6640
+ var key = keys[i];
6641
+
6642
+ if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {
6643
+ var descriptor = getOwnPropertyDescriptor(sourceComponent, key);
6644
+
6645
+ try {
6646
+ // Avoid failures from read-only properties
6647
+ defineProperty(targetComponent, key, descriptor);
6648
+ } catch (e) {}
6649
+ }
6650
+ }
6651
+ }
6652
+
6653
+ return targetComponent;
6654
+ }
6655
+
6656
+ module.exports = hoistNonReactStatics;
6657
+
6658
+
6659
+ /***/ }),
6660
+ /* 83 */
6661
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6662
+
6663
+ "use strict";
6664
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__material_ui_utils__ = __webpack_require__(7);
6665
+
6666
+
6667
+ function merge(acc, item) {
6668
+ if (!item) {
6669
+ return acc;
6670
+ }
6671
+
6672
+ return Object(__WEBPACK_IMPORTED_MODULE_0__material_ui_utils__["c" /* deepmerge */])(acc, item, {
6673
+ clone: false // No need to clone deep, it's way faster.
6674
+
6675
+ });
6676
+ }
6677
+
6678
+ /* harmony default export */ __webpack_exports__["a"] = (merge);
6679
+
6680
+ /***/ }),
6681
+ /* 84 */
6682
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6683
+
6684
+ "use strict";
6685
+ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
6686
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NonceProvider", function() { return NonceProvider; });
6687
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
6688
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
6689
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_memoize_one__ = __webpack_require__(227);
6690
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__emotion_core__ = __webpack_require__(128);
6691
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react_dom__ = __webpack_require__(11);
6692
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_react_dom__);
6693
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types__ = __webpack_require__(2);
6694
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_prop_types__);
6695
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__utils_06b0d5a4_browser_esm_js__ = __webpack_require__(129);
6696
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__index_4322c0ed_browser_esm_js__ = __webpack_require__(231);
6697
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return __WEBPACK_IMPORTED_MODULE_6__index_4322c0ed_browser_esm_js__["z"]; });
6698
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__Select_9fdb8cd0_browser_esm_js__ = __webpack_require__(233);
6699
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "createFilter", function() { return __WEBPACK_IMPORTED_MODULE_7__Select_9fdb8cd0_browser_esm_js__["c"]; });
6700
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "defaultTheme", function() { return __WEBPACK_IMPORTED_MODULE_7__Select_9fdb8cd0_browser_esm_js__["b"]; });
6701
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "mergeStyles", function() { return __WEBPACK_IMPORTED_MODULE_7__Select_9fdb8cd0_browser_esm_js__["d"]; });
6702
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__emotion_css__ = __webpack_require__(65);
6703
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_react_input_autosize__ = __webpack_require__(232);
6704
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_react_input_autosize___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_9_react_input_autosize__);
6705
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__stateManager_04f734a2_browser_esm_js__ = __webpack_require__(486);
6706
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__emotion_cache__ = __webpack_require__(228);
6707
+
6708
+
6709
+
6710
+
6711
+
6712
+
6713
+
6714
+
6715
+
6716
+
6717
+
6718
+
6719
+
6720
+
6721
+ function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
6722
+
6723
+ var NonceProvider =
6724
+ /*#__PURE__*/
6725
+ function (_Component) {
6726
+ _inheritsLoose(NonceProvider, _Component);
6727
+
6728
+ function NonceProvider(props) {
6729
+ var _this;
6730
+
6731
+ _this = _Component.call(this, props) || this;
6732
+
6733
+ _this.createEmotionCache = function (nonce) {
6734
+ return Object(__WEBPACK_IMPORTED_MODULE_11__emotion_cache__["a" /* default */])({
6735
+ nonce: nonce
6736
+ });
6737
+ };
6738
+
6739
+ _this.createEmotionCache = Object(__WEBPACK_IMPORTED_MODULE_1_memoize_one__["a" /* default */])(_this.createEmotionCache);
6740
+ return _this;
6741
+ }
6742
+
6743
+ var _proto = NonceProvider.prototype;
6744
+
6745
+ _proto.render = function render() {
6746
+ var emotionCache = this.createEmotionCache(this.props.nonce);
6747
+ return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2__emotion_core__["a" /* CacheProvider */], {
6748
+ value: emotionCache
6749
+ }, this.props.children);
6750
+ };
6751
+
6752
+ return NonceProvider;
6753
+ }(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);
6754
+
6755
+ var index = Object(__WEBPACK_IMPORTED_MODULE_10__stateManager_04f734a2_browser_esm_js__["a" /* m */])(__WEBPACK_IMPORTED_MODULE_7__Select_9fdb8cd0_browser_esm_js__["a" /* S */]);
6756
+
6757
+ /* harmony default export */ __webpack_exports__["default"] = (index);
6758
+
6759
+
6760
+
6761
+ /***/ }),
6762
+ /* 85 */
6763
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6764
+
6765
+ "use strict";
6766
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__SvgIcon__ = __webpack_require__(515);
6767
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__SvgIcon__["a"]; });
6768
+
6769
+
6770
+ /***/ }),
6771
+ /* 86 */
6772
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6773
+
6774
+ "use strict";
6775
+ /* harmony export (immutable) */ __webpack_exports__["a"] = ownerWindow;
6776
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ownerDocument__ = __webpack_require__(29);
6777
+
6778
+ function ownerWindow(node) {
6779
+ var doc = Object(__WEBPACK_IMPORTED_MODULE_0__ownerDocument__["a" /* default */])(node);
6780
+ return doc.defaultView || window;
6781
+ }
6782
+
6783
+ /***/ }),
6784
+ /* 87 */
6785
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6786
+
6787
+ "use strict";
6788
+ /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (immutable) */ __webpack_exports__["a"] = unsupportedProp;
6789
+ function unsupportedProp(props, propName, componentName, location, propFullName) {
6790
+ if (process.env.NODE_ENV === 'production') {
6791
+ return null;
6792
+ }
6793
+
6794
+ var propFullNameSafe = propFullName || propName;
6795
+
6796
+ if (typeof props[propName] !== 'undefined') {
6797
+ return new Error("The prop `".concat(propFullNameSafe, "` is not supported. Please remove it."));
6798
+ }
6799
+
6800
+ return null;
6801
+ }
6802
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
6803
+
6804
+ /***/ }),
6805
+ /* 88 */
6806
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6807
+
6808
+ "use strict";
6809
+ /* harmony export (immutable) */ __webpack_exports__["a"] = useId;
6810
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
6811
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
6812
+
6813
+ /**
6814
+ * Private module reserved for @material-ui/x packages.
6815
+ */
6816
+
6817
+ function useId(idOverride) {
6818
+ var _React$useState = __WEBPACK_IMPORTED_MODULE_0_react__["useState"](idOverride),
6819
+ defaultId = _React$useState[0],
6820
+ setDefaultId = _React$useState[1];
6821
+
6822
+ var id = idOverride || defaultId;
6823
+ __WEBPACK_IMPORTED_MODULE_0_react__["useEffect"](function () {
6824
+ if (defaultId == null) {
6825
+ // Fallback to this default id when possible.
6826
+ // Use the random value for client-side rendering only.
6827
+ // We can't use it server-side.
6828
+ setDefaultId("mui-".concat(Math.round(Math.random() * 1e5)));
6829
+ }
6830
+ }, [defaultId]);
6831
+ return id;
6832
+ }
6833
+
6834
+ /***/ }),
6835
+ /* 89 */
6836
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6837
+
6838
+ "use strict";
6839
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Backdrop__ = __webpack_require__(554);
6840
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Backdrop__["a"]; });
6841
+
6842
+
6843
+ /***/ }),
6844
+ /* 90 */
6845
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6846
+
6847
+ "use strict";
6848
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Fade__ = __webpack_require__(555);
6849
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Fade__["a"]; });
6850
+
6851
+
6852
+ /***/ }),
6853
+ /* 91 */
6854
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6855
+
6856
+ "use strict";
6857
+ /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (immutable) */ __webpack_exports__["b"] = useFormControl;
6858
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
6859
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
6860
+
6861
+ /**
6862
+ * @ignore - internal component.
6863
+ */
6864
+
6865
+ var FormControlContext = /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_0_react__["createContext"]();
6866
+
6867
+ if (process.env.NODE_ENV !== 'production') {
6868
+ FormControlContext.displayName = 'FormControlContext';
6869
+ }
6870
+
6871
+ function useFormControl() {
6872
+ return __WEBPACK_IMPORTED_MODULE_0_react__["useContext"](FormControlContext);
6873
+ }
6874
+ /* harmony default export */ __webpack_exports__["a"] = (FormControlContext);
6875
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
6876
+
6877
+ /***/ }),
6878
+ /* 92 */
6879
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6880
+
6881
+ "use strict";
6882
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Portal__ = __webpack_require__(584);
6883
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Portal__["a"]; });
6884
+
6885
+
6886
+ /***/ }),
6887
+ /* 93 */
6888
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6889
+
6890
+ "use strict";
6891
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Fab__ = __webpack_require__(597);
6892
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Fab__["a"]; });
6893
+
6894
+
6895
+ /***/ }),
6896
+ /* 94 */
6897
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6898
+
6899
+ "use strict";
6900
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__FilledInput__ = __webpack_require__(598);
6901
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__FilledInput__["a"]; });
6902
+
6903
+
6904
+ /***/ }),
6905
+ /* 95 */
6906
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6907
+
6908
+ "use strict";
6909
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__FormControl__ = __webpack_require__(601);
6910
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__FormControl__["a"]; });
6911
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__useFormControl__ = __webpack_require__(49);
6912
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_1__useFormControl__["a"]; });
6913
+
6914
+
6915
+
6916
+ /***/ }),
6917
+ /* 96 */
6918
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6919
+
6920
+ "use strict";
6921
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__withWidth__ = __webpack_require__(286);
6922
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__withWidth__["a"]; });
6923
+ /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_0__withWidth__["b"]; });
6924
+ /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_0__withWidth__["c"]; });
6925
+
6926
+
6927
+
6928
+ /***/ }),
6929
+ /* 97 */
6930
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6931
+
6932
+ "use strict";
6933
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__OutlinedInput__ = __webpack_require__(632);
6934
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__OutlinedInput__["a"]; });
6935
+
6936
+
6937
+ /***/ }),
6938
+ /* 98 */
6939
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6940
+
6941
+ "use strict";
6942
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Popper__ = __webpack_require__(634);
6943
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Popper__["a"]; });
6944
+
6945
+
6946
+ /***/ }),
6947
+ /* 99 */
6948
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6949
+
6950
+ "use strict";
6951
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Select__ = __webpack_require__(646);
6952
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Select__["a"]; });
6953
+
6954
+
6955
+ /***/ }),
6956
+ /* 100 */
6957
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6958
+
6959
+ "use strict";
6960
+ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
6961
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Tooltip__ = __webpack_require__(684);
6962
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return __WEBPACK_IMPORTED_MODULE_0__Tooltip__["a"]; });
6963
+
6964
+
6965
+ /***/ }),
6966
+ /* 101 */
6967
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6968
+
6969
+ "use strict";
6970
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TabContext__ = __webpack_require__(339);
6971
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__TabContext__["a"]; });
6972
+ /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_0__TabContext__["b"]; });
6973
+ /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_0__TabContext__["c"]; });
6974
+ /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "d", function() { return __WEBPACK_IMPORTED_MODULE_0__TabContext__["d"]; });
6975
+
6976
+
6977
+
6978
+ /***/ }),
6979
+ /* 102 */
6980
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6981
+
6982
+ "use strict";
6983
+ /* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
6984
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
6985
+
6986
+ /**
6987
+ * @ignore - internal component.
6988
+ */
6989
+
6990
+ var TimelineContext = __WEBPACK_IMPORTED_MODULE_0_react__["createContext"]({});
6991
+
6992
+ if (process.env.NODE_ENV !== 'production') {
6993
+ TimelineContext.displayName = 'TimelineContext';
6994
+ }
6995
+
6996
+ /* harmony default export */ __webpack_exports__["a"] = (TimelineContext);
6997
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
6998
+
6999
+ /***/ }),
7000
+ /* 103 */
7001
+ /***/ (function(module, exports, __webpack_require__) {
7002
+
7003
+ /* WEBPACK VAR INJECTION */(function(module) {var root = __webpack_require__(30),
7004
+ stubFalse = __webpack_require__(732);
7005
+
7006
+ /** Detect free variable `exports`. */
7007
+ var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;
7008
+
7009
+ /** Detect free variable `module`. */
7010
+ var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;
7011
+
7012
+ /** Detect the popular CommonJS extension `module.exports`. */
7013
+ var moduleExports = freeModule && freeModule.exports === freeExports;
7014
+
7015
+ /** Built-in value references. */
7016
+ var Buffer = moduleExports ? root.Buffer : undefined;
7017
+
7018
+ /* Built-in method references for those with the same name as other `lodash` methods. */
7019
+ var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
7020
+
7021
+ /**
7022
+ * Checks if `value` is a buffer.
7023
+ *
7024
+ * @static
7025
+ * @memberOf _
7026
+ * @since 4.3.0
7027
+ * @category Lang
7028
+ * @param {*} value The value to check.
7029
+ * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
7030
+ * @example
7031
+ *
7032
+ * _.isBuffer(new Buffer(2));
7033
+ * // => true
7034
+ *
7035
+ * _.isBuffer(new Uint8Array(2));
7036
+ * // => false
7037
+ */
7038
+ var isBuffer = nativeIsBuffer || stubFalse;
7039
+
7040
+ module.exports = isBuffer;
7041
+
7042
+ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(168)(module)))
7043
+
7044
+ /***/ }),
7045
+ /* 104 */
7046
+ /***/ (function(module, exports) {
7047
+
7048
+ /**
7049
+ * This method returns the first argument it receives.
7050
+ *
7051
+ * @static
7052
+ * @since 0.1.0
7053
+ * @memberOf _
7054
+ * @category Util
7055
+ * @param {*} value Any value.
7056
+ * @returns {*} Returns `value`.
7057
+ * @example
7058
+ *
7059
+ * var object = { 'a': 1 };
7060
+ *
7061
+ * console.log(_.identity(object) === object);
7062
+ * // => true
7063
+ */
7064
+ function identity(value) {
7065
+ return value;
7066
+ }
7067
+
7068
+ module.exports = identity;
7069
+
7070
+
7071
+ /***/ }),
7072
+ /* 105 */
7073
+ /***/ (function(module, exports, __webpack_require__) {
7074
+
7075
+ var ListCache = __webpack_require__(106),
7076
+ stackClear = __webpack_require__(744),
7077
+ stackDelete = __webpack_require__(745),
7078
+ stackGet = __webpack_require__(746),
7079
+ stackHas = __webpack_require__(747),
7080
+ stackSet = __webpack_require__(748);
7081
+
7082
+ /**
7083
+ * Creates a stack cache object to store key-value pairs.
7084
+ *
7085
+ * @private
7086
+ * @constructor
7087
+ * @param {Array} [entries] The key-value pairs to cache.
7088
+ */
7089
+ function Stack(entries) {
7090
+ var data = this.__data__ = new ListCache(entries);
7091
+ this.size = data.size;
7092
+ }
7093
+
7094
+ // Add methods to `Stack`.
7095
+ Stack.prototype.clear = stackClear;
7096
+ Stack.prototype['delete'] = stackDelete;
7097
+ Stack.prototype.get = stackGet;
7098
+ Stack.prototype.has = stackHas;
7099
+ Stack.prototype.set = stackSet;
7100
+
7101
+ module.exports = Stack;
7102
+
7103
+
7104
+ /***/ }),
7105
+ /* 106 */
7106
+ /***/ (function(module, exports, __webpack_require__) {
7107
+
7108
+ var listCacheClear = __webpack_require__(739),
7109
+ listCacheDelete = __webpack_require__(740),
7110
+ listCacheGet = __webpack_require__(741),
7111
+ listCacheHas = __webpack_require__(742),
7112
+ listCacheSet = __webpack_require__(743);
7113
+
7114
+ /**
7115
+ * Creates an list cache object.
7116
+ *
7117
+ * @private
7118
+ * @constructor
7119
+ * @param {Array} [entries] The key-value pairs to cache.
7120
+ */
7121
+ function ListCache(entries) {
7122
+ var index = -1,
7123
+ length = entries == null ? 0 : entries.length;
7124
+
7125
+ this.clear();
7126
+ while (++index < length) {
7127
+ var entry = entries[index];
7128
+ this.set(entry[0], entry[1]);
7129
+ }
7130
+ }
7131
+
7132
+ // Add methods to `ListCache`.
7133
+ ListCache.prototype.clear = listCacheClear;
7134
+ ListCache.prototype['delete'] = listCacheDelete;
7135
+ ListCache.prototype.get = listCacheGet;
7136
+ ListCache.prototype.has = listCacheHas;
7137
+ ListCache.prototype.set = listCacheSet;
7138
+
7139
+ module.exports = ListCache;
7140
+
7141
+
7142
+ /***/ }),
7143
+ /* 107 */
7144
+ /***/ (function(module, exports, __webpack_require__) {
7145
+
7146
+ var eq = __webpack_require__(75);
7147
+
7148
+ /**
7149
+ * Gets the index at which the `key` is found in `array` of key-value pairs.
7150
+ *
7151
+ * @private
7152
+ * @param {Array} array The array to inspect.
7153
+ * @param {*} key The key to search for.
7154
+ * @returns {number} Returns the index of the matched value, else `-1`.
7155
+ */
7156
+ function assocIndexOf(array, key) {
7157
+ var length = array.length;
7158
+ while (length--) {
7159
+ if (eq(array[length][0], key)) {
7160
+ return length;
7161
+ }
7162
+ }
7163
+ return -1;
7164
+ }
7165
+
7166
+ module.exports = assocIndexOf;
7167
+
7168
+
7169
+ /***/ }),
7170
+ /* 108 */
7171
+ /***/ (function(module, exports, __webpack_require__) {
7172
+
7173
+ var getNative = __webpack_require__(51);
7174
+
7175
+ /* Built-in method references that are verified to be native. */
7176
+ var nativeCreate = getNative(Object, 'create');
7177
+
7178
+ module.exports = nativeCreate;
7179
+
7180
+
7181
+ /***/ }),
7182
+ /* 109 */
7183
+ /***/ (function(module, exports, __webpack_require__) {
7184
+
7185
+ var isKeyable = __webpack_require__(761);
7186
+
7187
+ /**
7188
+ * Gets the data for `map`.
7189
+ *
7190
+ * @private
7191
+ * @param {Object} map The map to query.
7192
+ * @param {string} key The reference key.
7193
+ * @returns {*} Returns the map data.
7194
+ */
7195
+ function getMapData(map, key) {
7196
+ var data = map.__data__;
7197
+ return isKeyable(key)
7198
+ ? data[typeof key == 'string' ? 'string' : 'hash']
7199
+ : data.map;
7200
+ }
7201
+
7202
+ module.exports = getMapData;
7203
+
7204
+
7205
+ /***/ }),
7206
+ /* 110 */
7207
+ /***/ (function(module, exports, __webpack_require__) {
7208
+
7209
+ var DataView = __webpack_require__(776),
7210
+ Map = __webpack_require__(177),
7211
+ Promise = __webpack_require__(777),
7212
+ Set = __webpack_require__(778),
7213
+ WeakMap = __webpack_require__(779),
7214
+ baseGetTag = __webpack_require__(50),
7215
+ toSource = __webpack_require__(362);
7216
+
7217
+ /** `Object#toString` result references. */
7218
+ var mapTag = '[object Map]',
7219
+ objectTag = '[object Object]',
7220
+ promiseTag = '[object Promise]',
7221
+ setTag = '[object Set]',
7222
+ weakMapTag = '[object WeakMap]';
7223
+
7224
+ var dataViewTag = '[object DataView]';
7225
+
7226
+ /** Used to detect maps, sets, and weakmaps. */
7227
+ var dataViewCtorString = toSource(DataView),
7228
+ mapCtorString = toSource(Map),
7229
+ promiseCtorString = toSource(Promise),
7230
+ setCtorString = toSource(Set),
7231
+ weakMapCtorString = toSource(WeakMap);
7232
+
7233
+ /**
7234
+ * Gets the `toStringTag` of `value`.
7235
+ *
7236
+ * @private
7237
+ * @param {*} value The value to query.
7238
+ * @returns {string} Returns the `toStringTag`.
7239
+ */
7240
+ var getTag = baseGetTag;
7241
+
7242
+ // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
7243
+ if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
7244
+ (Map && getTag(new Map) != mapTag) ||
7245
+ (Promise && getTag(Promise.resolve()) != promiseTag) ||
7246
+ (Set && getTag(new Set) != setTag) ||
7247
+ (WeakMap && getTag(new WeakMap) != weakMapTag)) {
7248
+ getTag = function(value) {
7249
+ var result = baseGetTag(value),
7250
+ Ctor = result == objectTag ? value.constructor : undefined,
7251
+ ctorString = Ctor ? toSource(Ctor) : '';
7252
+
7253
+ if (ctorString) {
7254
+ switch (ctorString) {
7255
+ case dataViewCtorString: return dataViewTag;
7256
+ case mapCtorString: return mapTag;
7257
+ case promiseCtorString: return promiseTag;
7258
+ case setCtorString: return setTag;
7259
+ case weakMapCtorString: return weakMapTag;
7260
+ }
7261
+ }
7262
+ return result;
7263
+ };
7264
+ }
7265
+
7266
+ module.exports = getTag;
7267
+
7268
+
7269
+ /***/ }),
7270
+ /* 111 */
7271
+ /***/ (function(module, exports, __webpack_require__) {
7272
+
7273
+ var baseGetTag = __webpack_require__(50),
7274
+ isObjectLike = __webpack_require__(35);
7275
+
7276
+ /** `Object#toString` result references. */
7277
+ var symbolTag = '[object Symbol]';
7278
+
7279
+ /**
7280
+ * Checks if `value` is classified as a `Symbol` primitive or object.
7281
+ *
7282
+ * @static
7283
+ * @memberOf _
7284
+ * @since 4.0.0
7285
+ * @category Lang
7286
+ * @param {*} value The value to check.
7287
+ * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
7288
+ * @example
7289
+ *
7290
+ * _.isSymbol(Symbol.iterator);
7291
+ * // => true
7292
+ *
7293
+ * _.isSymbol('abc');
7294
+ * // => false
7295
+ */
7296
+ function isSymbol(value) {
7297
+ return typeof value == 'symbol' ||
7298
+ (isObjectLike(value) && baseGetTag(value) == symbolTag);
7299
+ }
7300
+
7301
+ module.exports = isSymbol;
7302
+
7303
+
7304
+ /***/ }),
7305
+ /* 112 */
7306
+ /***/ (function(module, exports, __webpack_require__) {
7307
+
7308
+ var isSymbol = __webpack_require__(111);
7309
+
7310
+ /** Used as references for various `Number` constants. */
7311
+ var INFINITY = 1 / 0;
7312
+
7313
+ /**
7314
+ * Converts `value` to a string key if it's not a string or symbol.
7315
+ *
7316
+ * @private
7317
+ * @param {*} value The value to inspect.
7318
+ * @returns {string|symbol} Returns the key.
7319
+ */
7320
+ function toKey(value) {
7321
+ if (typeof value == 'string' || isSymbol(value)) {
7322
+ return value;
7323
+ }
7324
+ var result = (value + '');
7325
+ return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
7326
+ }
7327
+
7328
+ module.exports = toKey;
7329
+
7330
+
7331
+ /***/ }),
7332
+ /* 113 */
7333
+ /***/ (function(module, exports, __webpack_require__) {
7334
+
7335
+ var arrayLikeKeys = __webpack_require__(357),
7336
+ baseKeysIn = __webpack_require__(801),
7337
+ isArrayLike = __webpack_require__(63);
7338
+
7339
+ /**
7340
+ * Creates an array of the own and inherited enumerable property names of `object`.
7341
+ *
7342
+ * **Note:** Non-object values are coerced to objects.
7343
+ *
7344
+ * @static
7345
+ * @memberOf _
7346
+ * @since 3.0.0
7347
+ * @category Object
7348
+ * @param {Object} object The object to query.
7349
+ * @returns {Array} Returns the array of property names.
7350
+ * @example
7351
+ *
7352
+ * function Foo() {
7353
+ * this.a = 1;
7354
+ * this.b = 2;
7355
+ * }
7356
+ *
7357
+ * Foo.prototype.c = 3;
7358
+ *
7359
+ * _.keysIn(new Foo);
7360
+ * // => ['a', 'b', 'c'] (iteration order is not guaranteed)
7361
+ */
7362
+ function keysIn(object) {
7363
+ return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
7364
+ }
7365
+
7366
+ module.exports = keysIn;
7367
+
7368
+
7369
+ /***/ }),
7370
+ /* 114 */
7371
+ /***/ (function(module, exports, __webpack_require__) {
7372
+
7373
+ "use strict";
7374
+ /* WEBPACK VAR INJECTION */(function(process) {/**
7375
+ * Copyright (c) 2013-present, Facebook, Inc.
7376
+ *
7377
+ * This source code is licensed under the MIT license found in the
7378
+ * LICENSE file in the root directory of this source tree.
7379
+ */
7380
+
7381
+
7382
+
7383
+ var printWarning = function() {};
7384
+
7385
+ if (process.env.NODE_ENV !== 'production') {
7386
+ var ReactPropTypesSecret = __webpack_require__(115);
7387
+ var loggedTypeFailures = {};
7388
+ var has = Function.call.bind(Object.prototype.hasOwnProperty);
7389
+
7390
+ printWarning = function(text) {
7391
+ var message = 'Warning: ' + text;
7392
+ if (typeof console !== 'undefined') {
7393
+ console.error(message);
7394
+ }
7395
+ try {
7396
+ // --- Welcome to debugging React ---
7397
+ // This error was thrown as a convenience so that you can use this stack
7398
+ // to find the callsite that caused this warning to fire.
7399
+ throw new Error(message);
7400
+ } catch (x) {}
7401
+ };
7402
+ }
7403
+
7404
+ /**
7405
+ * Assert that the values match with the type specs.
7406
+ * Error messages are memorized and will only be shown once.
7407
+ *
7408
+ * @param {object} typeSpecs Map of name to a ReactPropType
7409
+ * @param {object} values Runtime values that need to be type-checked
7410
+ * @param {string} location e.g. "prop", "context", "child context"
7411
+ * @param {string} componentName Name of the component for error messages.
7412
+ * @param {?Function} getStack Returns the component stack.
7413
+ * @private
7414
+ */
7415
+ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
7416
+ if (process.env.NODE_ENV !== 'production') {
7417
+ for (var typeSpecName in typeSpecs) {
7418
+ if (has(typeSpecs, typeSpecName)) {
7419
+ var error;
7420
+ // Prop type validation may throw. In case they do, we don't want to
7421
+ // fail the render phase where it didn't fail before. So we log it.
7422
+ // After these have been cleaned up, we'll let them throw.
7423
+ try {
7424
+ // This is intentionally an invariant that gets caught. It's the same
7425
+ // behavior as without this statement except with a better message.
7426
+ if (typeof typeSpecs[typeSpecName] !== 'function') {
7427
+ var err = Error(
7428
+ (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
7429
+ 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'
7430
+ );
7431
+ err.name = 'Invariant Violation';
7432
+ throw err;
7433
+ }
7434
+ error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
7435
+ } catch (ex) {
7436
+ error = ex;
7437
+ }
7438
+ if (error && !(error instanceof Error)) {
7439
+ printWarning(
7440
+ (componentName || 'React class') + ': type specification of ' +
7441
+ location + ' `' + typeSpecName + '` is invalid; the type checker ' +
7442
+ 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +
7443
+ 'You may have forgotten to pass an argument to the type checker ' +
7444
+ 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +
7445
+ 'shape all require an argument).'
7446
+ );
7447
+ }
7448
+ if (error instanceof Error && !(error.message in loggedTypeFailures)) {
7449
+ // Only monitor this failure once because there tends to be a lot of the
7450
+ // same error.
7451
+ loggedTypeFailures[error.message] = true;
7452
+
7453
+ var stack = getStack ? getStack() : '';
7454
+
7455
+ printWarning(
7456
+ 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')
7457
+ );
7458
+ }
7459
+ }
7460
+ }
7461
+ }
7462
+ }
7463
+
7464
+ /**
7465
+ * Resets warning cache when testing.
7466
+ *
7467
+ * @private
7468
+ */
7469
+ checkPropTypes.resetWarningCache = function() {
7470
+ if (process.env.NODE_ENV !== 'production') {
7471
+ loggedTypeFailures = {};
7472
+ }
7473
+ }
7474
+
7475
+ module.exports = checkPropTypes;
7476
+
7477
+ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
7478
+
7479
+ /***/ }),
7480
+ /* 115 */
7481
+ /***/ (function(module, exports, __webpack_require__) {
7482
+
7483
+ "use strict";
7484
+ /**
7485
+ * Copyright (c) 2013-present, Facebook, Inc.
7486
+ *
7487
+ * This source code is licensed under the MIT license found in the
7488
+ * LICENSE file in the root directory of this source tree.
7489
+ */
7490
+
7491
+
7492
+
7493
+ var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
7494
+
7495
+ module.exports = ReactPropTypesSecret;
7496
+
7497
+
7498
+ /***/ }),
7499
+ /* 116 */
7500
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
7501
+
7502
+ "use strict";
7503
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react_router_es_Router__ = __webpack_require__(117);
7504
+ // Written in this round about way for babel-transform-imports
7505
+
7506
+
7507
+ /* harmony default export */ __webpack_exports__["a"] = (__WEBPACK_IMPORTED_MODULE_0_react_router_es_Router__["a" /* default */]);
7508
+
7509
+ /***/ }),
7510
+ /* 117 */
7511
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
7512
+
7513
+ "use strict";
7514
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_warning__ = __webpack_require__(40);
7515
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_warning___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_warning__);
7516
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_invariant__ = __webpack_require__(44);
7517
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_invariant___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_invariant__);
7518
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react__ = __webpack_require__(0);
7519
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react__);
7520
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types__ = __webpack_require__(2);
7521
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_prop_types__);
7522
+ 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; };
7523
+
7524
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
7525
+
7526
+ 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; }
7527
+
7528
+ 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; }
7529
+
7530
+
7531
+
7532
+
7533
+
7534
+
7535
+ /**
7536
+ * The public API for putting history on context.
7537
+ */
7538
+
7539
+ var Router = function (_React$Component) {
7540
+ _inherits(Router, _React$Component);
7541
+
7542
+ function Router() {
7543
+ var _temp, _this, _ret;
7544
+
7545
+ _classCallCheck(this, Router);
7546
+
7547
+ for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
7548
+ args[_key] = arguments[_key];
7549
+ }
7550
+
7551
+ return _ret = (_temp = (_this = _possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.state = {
7552
+ match: _this.computeMatch(_this.props.history.location.pathname)
7553
+ }, _temp), _possibleConstructorReturn(_this, _ret);
7554
+ }
7555
+
7556
+ Router.prototype.getChildContext = function getChildContext() {
7557
+ return {
7558
+ router: _extends({}, this.context.router, {
7559
+ history: this.props.history,
7560
+ route: {
7561
+ location: this.props.history.location,
7562
+ match: this.state.match
7563
+ }
7564
+ })
7565
+ };
7566
+ };
7567
+
7568
+ Router.prototype.computeMatch = function computeMatch(pathname) {
7569
+ return {
7570
+ path: "/",
7571
+ url: "/",
7572
+ params: {},
7573
+ isExact: pathname === "/"
7574
+ };
7575
+ };
7576
+
7577
+ Router.prototype.componentWillMount = function componentWillMount() {
7578
+ var _this2 = this;
7579
+
7580
+ var _props = this.props,
7581
+ children = _props.children,
7582
+ history = _props.history;
7583
+
7584
+
7585
+ __WEBPACK_IMPORTED_MODULE_1_invariant___default()(children == null || __WEBPACK_IMPORTED_MODULE_2_react___default.a.Children.count(children) === 1, "A <Router> may have only one child element");
7586
+
7587
+ // Do this here so we can setState when a <Redirect> changes the
7588
+ // location in componentWillMount. This happens e.g. when doing
7589
+ // server rendering using a <StaticRouter>.
7590
+ this.unlisten = history.listen(function () {
7591
+ _this2.setState({
7592
+ match: _this2.computeMatch(history.location.pathname)
7593
+ });
7594
+ });
7595
+ };
7596
+
7597
+ Router.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
7598
+ __WEBPACK_IMPORTED_MODULE_0_warning___default()(this.props.history === nextProps.history, "You cannot change <Router history>");
7599
+ };
7600
+
7601
+ Router.prototype.componentWillUnmount = function componentWillUnmount() {
7602
+ this.unlisten();
7603
+ };
7604
+
7605
+ Router.prototype.render = function render() {
7606
+ var children = this.props.children;
7607
+
7608
+ return children ? __WEBPACK_IMPORTED_MODULE_2_react___default.a.Children.only(children) : null;
7609
+ };
7610
+
7611
+ return Router;
7612
+ }(__WEBPACK_IMPORTED_MODULE_2_react___default.a.Component);
7613
+
7614
+ Router.propTypes = {
7615
+ history: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object.isRequired,
7616
+ children: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.node
7617
+ };
7618
+ Router.contextTypes = {
7619
+ router: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object
7620
+ };
7621
+ Router.childContextTypes = {
7622
+ router: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object.isRequired
7623
+ };
7624
+
7625
+
7626
+ /* harmony default export */ __webpack_exports__["a"] = (Router);
7627
+
7628
+ /***/ }),
7629
+ /* 118 */
7630
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
7631
+
7632
+ "use strict";
7633
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_path_to_regexp__ = __webpack_require__(188);
7634
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_path_to_regexp___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_path_to_regexp__);
7635
+
7636
+
7637
+ var patternCache = {};
7638
+ var cacheLimit = 10000;
7639
+ var cacheCount = 0;
7640
+
7641
+ var compilePath = function compilePath(pattern, options) {
7642
+ var cacheKey = "" + options.end + options.strict + options.sensitive;
7643
+ var cache = patternCache[cacheKey] || (patternCache[cacheKey] = {});
7644
+
7645
+ if (cache[pattern]) return cache[pattern];
7646
+
7647
+ var keys = [];
7648
+ var re = __WEBPACK_IMPORTED_MODULE_0_path_to_regexp___default()(pattern, keys, options);
7649
+ var compiledPattern = { re: re, keys: keys };
7650
+
7651
+ if (cacheCount < cacheLimit) {
7652
+ cache[pattern] = compiledPattern;
7653
+ cacheCount++;
7654
+ }
7655
+
7656
+ return compiledPattern;
7657
+ };
7658
+
7659
+ /**
7660
+ * Public API for matching a URL pathname to a path pattern.
7661
+ */
7662
+ var matchPath = function matchPath(pathname) {
7663
+ var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
7664
+ var parent = arguments[2];
7665
+
7666
+ if (typeof options === "string") options = { path: options };
7667
+
7668
+ var _options = options,
7669
+ path = _options.path,
7670
+ _options$exact = _options.exact,
7671
+ exact = _options$exact === undefined ? false : _options$exact,
7672
+ _options$strict = _options.strict,
7673
+ strict = _options$strict === undefined ? false : _options$strict,
7674
+ _options$sensitive = _options.sensitive,
7675
+ sensitive = _options$sensitive === undefined ? false : _options$sensitive;
7676
+
7677
+
7678
+ if (path == null) return parent;
7679
+
7680
+ var _compilePath = compilePath(path, { end: exact, strict: strict, sensitive: sensitive }),
7681
+ re = _compilePath.re,
7682
+ keys = _compilePath.keys;
7683
+
7684
+ var match = re.exec(pathname);
7685
+
7686
+ if (!match) return null;
7687
+
7688
+ var url = match[0],
7689
+ values = match.slice(1);
7690
+
7691
+ var isExact = pathname === url;
7692
+
7693
+ if (exact && !isExact) return null;
7694
+
7695
+ return {
7696
+ path: path, // the path pattern used to match
7697
+ url: path === "/" && url === "" ? "/" : url, // the matched portion of the URL
7698
+ isExact: isExact, // whether or not we matched exactly
7699
+ params: keys.reduce(function (memo, key, index) {
7700
+ memo[key.name] = values[index];
7701
+ return memo;
7702
+ }, {})
7703
+ };
7704
+ };
7705
+
7706
+ /* harmony default export */ __webpack_exports__["a"] = (matchPath);
7707
+
7708
+ /***/ }),
7709
+ /* 119 */
7710
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
7711
+
7712
+ "use strict";
7713
+ /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (immutable) */ __webpack_exports__["a"] = chainPropTypes;
7714
+ function chainPropTypes(propType1, propType2) {
7715
+ if (process.env.NODE_ENV === 'production') {
7716
+ return function () {
7717
+ return null;
7718
+ };
7719
+ }
7720
+
7721
+ return function validate() {
7722
+ return propType1.apply(void 0, arguments) || propType2.apply(void 0, arguments);
7723
+ };
7724
+ }
7725
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
7726
+
7727
+ /***/ }),
7728
+ /* 120 */
7729
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
7730
+
7731
+ "use strict";
7732
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__getThemeProps__ = __webpack_require__(444);
7733
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__getThemeProps__["a"]; });
7734
+
7735
+
7736
+ /***/ }),
7737
+ /* 121 */
7738
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
7739
+
7740
+ "use strict";
7741
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__jssPreset__ = __webpack_require__(445);
7742
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__jssPreset__["a"]; });
7743
+
7744
+
7745
+ /***/ }),
7746
+ /* 122 */
7747
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
7748
+
7749
+ "use strict";
7750
+ /* harmony export (immutable) */ __webpack_exports__["a"] = _assertThisInitialized;
7751
+ function _assertThisInitialized(self) {
7752
+ if (self === void 0) {
7753
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
7754
+ }
7755
+
7756
+ return self;
7757
+ }
7758
+
7759
+ /***/ }),
7760
+ /* 123 */
7761
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
7762
+
7763
+ "use strict";
7764
+ /* harmony export (immutable) */ __webpack_exports__["a"] = _unsupportedIterableToArray;
7765
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__arrayLikeToArray__ = __webpack_require__(194);
7766
+
7767
+ function _unsupportedIterableToArray(o, minLen) {
7768
+ if (!o) return;
7769
+ if (typeof o === "string") return Object(__WEBPACK_IMPORTED_MODULE_0__arrayLikeToArray__["a" /* default */])(o, minLen);
7770
+ var n = Object.prototype.toString.call(o).slice(8, -1);
7771
+ if (n === "Object" && o.constructor) n = o.constructor.name;
7772
+ if (n === "Map" || n === "Set") return Array.from(o);
7773
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Object(__WEBPACK_IMPORTED_MODULE_0__arrayLikeToArray__["a" /* default */])(o, minLen);
7774
+ }
7775
+
7776
+ /***/ }),
7777
+ /* 124 */
7778
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
7779
+
7780
+ "use strict";
7781
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__mergeClasses__ = __webpack_require__(458);
7782
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__mergeClasses__["a"]; });
7783
+
7784
+
7785
+ /***/ }),
7786
+ /* 125 */
7787
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
7788
+
7789
+ "use strict";
7790
+ /* harmony export (immutable) */ __webpack_exports__["a"] = _classCallCheck;
7791
+ function _classCallCheck(instance, Constructor) {
7792
+ if (!(instance instanceof Constructor)) {
7793
+ throw new TypeError("Cannot call a class as a function");
7794
+ }
7795
+ }
7796
+
7797
+ /***/ }),
7798
+ /* 126 */
7799
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
7800
+
7801
+ "use strict";
7802
+ /* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_defineProperty__ = __webpack_require__(16);
7803
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_objectWithoutProperties__ = __webpack_require__(4);
7804
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__material_ui_utils__ = __webpack_require__(7);
7805
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__createBreakpoints__ = __webpack_require__(205);
7806
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__createMixins__ = __webpack_require__(468);
7807
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__createPalette__ = __webpack_require__(469);
7808
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__createTypography__ = __webpack_require__(470);
7809
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__shadows__ = __webpack_require__(471);
7810
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__shape__ = __webpack_require__(472);
7811
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__createSpacing__ = __webpack_require__(473);
7812
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__transitions__ = __webpack_require__(34);
7813
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__zIndex__ = __webpack_require__(226);
7814
+
7815
+
7816
+
7817
+
7818
+
7819
+
7820
+
7821
+
7822
+
7823
+
7824
+
7825
+
7826
+
7827
+ function createMuiTheme() {
7828
+ var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
7829
+
7830
+ var _options$breakpoints = options.breakpoints,
7831
+ breakpointsInput = _options$breakpoints === void 0 ? {} : _options$breakpoints,
7832
+ _options$mixins = options.mixins,
7833
+ mixinsInput = _options$mixins === void 0 ? {} : _options$mixins,
7834
+ _options$palette = options.palette,
7835
+ paletteInput = _options$palette === void 0 ? {} : _options$palette,
7836
+ spacingInput = options.spacing,
7837
+ _options$typography = options.typography,
7838
+ typographyInput = _options$typography === void 0 ? {} : _options$typography,
7839
+ other = Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_objectWithoutProperties__["a" /* default */])(options, ["breakpoints", "mixins", "palette", "spacing", "typography"]);
7840
+
7841
+ var palette = Object(__WEBPACK_IMPORTED_MODULE_5__createPalette__["a" /* default */])(paletteInput);
7842
+ var breakpoints = Object(__WEBPACK_IMPORTED_MODULE_3__createBreakpoints__["a" /* default */])(breakpointsInput);
7843
+ var spacing = Object(__WEBPACK_IMPORTED_MODULE_9__createSpacing__["a" /* default */])(spacingInput);
7844
+ var muiTheme = Object(__WEBPACK_IMPORTED_MODULE_2__material_ui_utils__["c" /* deepmerge */])({
7845
+ breakpoints: breakpoints,
7846
+ direction: 'ltr',
7847
+ mixins: Object(__WEBPACK_IMPORTED_MODULE_4__createMixins__["a" /* default */])(breakpoints, spacing, mixinsInput),
7848
+ overrides: {},
7849
+ // Inject custom styles
7850
+ palette: palette,
7851
+ props: {},
7852
+ // Provide default props
7853
+ shadows: __WEBPACK_IMPORTED_MODULE_7__shadows__["a" /* default */],
7854
+ typography: Object(__WEBPACK_IMPORTED_MODULE_6__createTypography__["a" /* default */])(palette, typographyInput),
7855
+ spacing: spacing,
7856
+ shape: __WEBPACK_IMPORTED_MODULE_8__shape__["a" /* default */],
7857
+ transitions: __WEBPACK_IMPORTED_MODULE_10__transitions__["a" /* default */],
7858
+ zIndex: __WEBPACK_IMPORTED_MODULE_11__zIndex__["a" /* default */]
7859
+ }, other);
7860
+
7861
+ for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
7862
+ args[_key - 1] = arguments[_key];
7863
+ }
7864
+
7865
+ muiTheme = args.reduce(function (acc, argument) {
7866
+ return Object(__WEBPACK_IMPORTED_MODULE_2__material_ui_utils__["c" /* deepmerge */])(acc, argument);
7867
+ }, muiTheme);
7868
+
7869
+ if (process.env.NODE_ENV !== 'production') {
7870
+ var pseudoClasses = ['checked', 'disabled', 'error', 'focused', 'focusVisible', 'required', 'expanded', 'selected'];
7871
+
7872
+ var traverse = function traverse(node, parentKey) {
7873
+ var depth = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;
7874
+ var key; // eslint-disable-next-line guard-for-in, no-restricted-syntax
7875
+
7876
+ for (key in node) {
7877
+ var child = node[key];
7878
+
7879
+ if (depth === 1) {
7880
+ if (key.indexOf('Mui') === 0 && child) {
7881
+ traverse(child, key, depth + 1);
7882
+ }
7883
+ } else if (pseudoClasses.indexOf(key) !== -1 && Object.keys(child).length > 0) {
7884
+ if (process.env.NODE_ENV !== 'production') {
7885
+ console.error(["Material-UI: The `".concat(parentKey, "` component increases ") + "the CSS specificity of the `".concat(key, "` internal state."), 'You can not override it like this: ', JSON.stringify(node, null, 2), '', 'Instead, you need to use the $ruleName syntax:', JSON.stringify({
7886
+ root: Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_defineProperty__["a" /* default */])({}, "&$".concat(key), child)
7887
+ }, null, 2), '', 'https://material-ui.com/r/pseudo-classes-guide'].join('\n'));
7888
+ } // Remove the style to prevent global conflicts.
7889
+
7890
+
7891
+ node[key] = {};
7892
+ }
7893
+ }
7894
+ };
7895
+
7896
+ traverse(muiTheme.overrides);
7897
+ }
7898
+
7899
+ return muiTheme;
7900
+ }
7901
+
7902
+ /* harmony default export */ __webpack_exports__["a"] = (createMuiTheme);
7903
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
7904
+
7905
+ /***/ }),
7906
+ /* 127 */
7907
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
7908
+
7909
+ "use strict";
7910
+ /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (immutable) */ __webpack_exports__["a"] = handleBreakpoints;
7911
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_toConsumableArray__ = __webpack_require__(32);
7912
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
7913
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_typeof__ = __webpack_require__(45);
7914
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types__ = __webpack_require__(2);
7915
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_prop_types__);
7916
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__merge__ = __webpack_require__(83);
7917
+
7918
+
7919
+
7920
+
7921
+ // The breakpoint **start** at this value.
7922
+ // For instance with the first breakpoint xs: [xs, sm[.
7923
+
7924
+ var values = {
7925
+ xs: 0,
7926
+ sm: 600,
7927
+ md: 960,
7928
+ lg: 1280,
7929
+ xl: 1920
7930
+ };
7931
+ var defaultBreakpoints = {
7932
+ // Sorted ASC by size. That's important.
7933
+ // It can't be configured as it's used statically for propTypes.
7934
+ keys: ['xs', 'sm', 'md', 'lg', 'xl'],
7935
+ up: function up(key) {
7936
+ return "@media (min-width:".concat(values[key], "px)");
7937
+ }
7938
+ };
7939
+ function handleBreakpoints(props, propValue, styleFromPropValue) {
7940
+ if (process.env.NODE_ENV !== 'production') {
7941
+ if (!props.theme) {
7942
+ console.error('Material-UI: You are calling a style function without a theme value.');
7943
+ }
7944
+ }
7945
+
7946
+ if (Array.isArray(propValue)) {
7947
+ var themeBreakpoints = props.theme.breakpoints || defaultBreakpoints;
7948
+ return propValue.reduce(function (acc, item, index) {
7949
+ acc[themeBreakpoints.up(themeBreakpoints.keys[index])] = styleFromPropValue(propValue[index]);
7950
+ return acc;
7951
+ }, {});
7952
+ }
7953
+
7954
+ if (Object(__WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_typeof__["a" /* default */])(propValue) === 'object') {
7955
+ var _themeBreakpoints = props.theme.breakpoints || defaultBreakpoints;
7956
+
7957
+ return Object.keys(propValue).reduce(function (acc, breakpoint) {
7958
+ acc[_themeBreakpoints.up(breakpoint)] = styleFromPropValue(propValue[breakpoint]);
7959
+ return acc;
7960
+ }, {});
7961
+ }
7962
+
7963
+ var output = styleFromPropValue(propValue);
7964
+ return output;
7965
+ }
7966
+
7967
+ function breakpoints(styleFunction) {
7968
+ var newStyleFunction = function newStyleFunction(props) {
7969
+ var base = styleFunction(props);
7970
+ var themeBreakpoints = props.theme.breakpoints || defaultBreakpoints;
7971
+ var extended = themeBreakpoints.keys.reduce(function (acc, key) {
7972
+ if (props[key]) {
7973
+ acc = acc || {};
7974
+ acc[themeBreakpoints.up(key)] = styleFunction(Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_extends__["a" /* default */])({
7975
+ theme: props.theme
7976
+ }, props[key]));
7977
+ }
7978
+
7979
+ return acc;
7980
+ }, null);
7981
+ return Object(__WEBPACK_IMPORTED_MODULE_4__merge__["a" /* default */])(base, extended);
7982
+ };
7983
+
7984
+ newStyleFunction.propTypes = process.env.NODE_ENV !== 'production' ? Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_extends__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_extends__["a" /* default */])({}, styleFunction.propTypes), {}, {
7985
+ xs: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object,
7986
+ sm: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object,
7987
+ md: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object,
7988
+ lg: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object,
7989
+ xl: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object
7990
+ }) : {};
7991
+ newStyleFunction.filterProps = ['xs', 'sm', 'md', 'lg', 'xl'].concat(Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_toConsumableArray__["a" /* default */])(styleFunction.filterProps));
7992
+ return newStyleFunction;
7993
+ }
7994
+
7995
+ /* unused harmony default export */ var _unused_webpack_default_export = (breakpoints);
7996
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
7997
+
7998
+ /***/ }),
7999
+ /* 128 */
8000
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
8001
+
8002
+ "use strict";
8003
+ /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CacheProvider; });
8004
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return ClassNames; });
8005
+ /* unused harmony export Global */
8006
+ /* unused harmony export ThemeContext */
8007
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return jsx; });
8008
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return keyframes; });
8009
+ /* unused harmony export withEmotionCache */
8010
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_inheritsLoose__ = __webpack_require__(479);
8011
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_inheritsLoose___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_inheritsLoose__);
8012
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react__ = __webpack_require__(0);
8013
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_react__);
8014
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__emotion_cache__ = __webpack_require__(228);
8015
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__emotion_utils__ = __webpack_require__(482);
8016
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__emotion_serialize__ = __webpack_require__(230);
8017
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__emotion_sheet__ = __webpack_require__(229);
8018
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__emotion_css__ = __webpack_require__(65);
8019
+ /* unused harmony reexport css */
8020
+
8021
+
8022
+
8023
+
8024
+
8025
+
8026
+
8027
+
8028
+
8029
+ var EmotionCacheContext = Object(__WEBPACK_IMPORTED_MODULE_1_react__["createContext"])( // we're doing this to avoid preconstruct's dead code elimination in this one case
8030
+ // because this module is primarily intended for the browser and node
8031
+ // but it's also required in react native and similar environments sometimes
8032
+ // and we could have a special build just for that
8033
+ // but this is much easier and the native packages
8034
+ // might use a different theme context in the future anyway
8035
+ typeof HTMLElement !== 'undefined' ? Object(__WEBPACK_IMPORTED_MODULE_2__emotion_cache__["a" /* default */])() : null);
8036
+ var ThemeContext = Object(__WEBPACK_IMPORTED_MODULE_1_react__["createContext"])({});
8037
+ var CacheProvider = EmotionCacheContext.Provider;
8038
+
8039
+ var withEmotionCache = function withEmotionCache(func) {
8040
+ var render = function render(props, ref) {
8041
+ return Object(__WEBPACK_IMPORTED_MODULE_1_react__["createElement"])(EmotionCacheContext.Consumer, null, function (cache) {
8042
+ return func(props, cache, ref);
8043
+ });
8044
+ }; // $FlowFixMe
8045
+
8046
+
8047
+ return Object(__WEBPACK_IMPORTED_MODULE_1_react__["forwardRef"])(render);
8048
+ };
8049
+
8050
+ // thus we only need to replace what is a valid character for JS, but not for CSS
8051
+
8052
+ var sanitizeIdentifier = function sanitizeIdentifier(identifier) {
8053
+ return identifier.replace(/\$/g, '-');
8054
+ };
8055
+
8056
+ var typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__';
8057
+ var labelPropName = '__EMOTION_LABEL_PLEASE_DO_NOT_USE__';
8058
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
8059
+
8060
+ var render = function render(cache, props, theme, ref) {
8061
+ var cssProp = theme === null ? props.css : props.css(theme); // so that using `css` from `emotion` and passing the result to the css prop works
8062
+ // not passing the registered cache to serializeStyles because it would
8063
+ // make certain babel optimisations not possible
8064
+
8065
+ if (typeof cssProp === 'string' && cache.registered[cssProp] !== undefined) {
8066
+ cssProp = cache.registered[cssProp];
8067
+ }
8068
+
8069
+ var type = props[typePropName];
8070
+ var registeredStyles = [cssProp];
8071
+ var className = '';
8072
+
8073
+ if (typeof props.className === 'string') {
8074
+ className = Object(__WEBPACK_IMPORTED_MODULE_3__emotion_utils__["a" /* getRegisteredStyles */])(cache.registered, registeredStyles, props.className);
8075
+ } else if (props.className != null) {
8076
+ className = props.className + " ";
8077
+ }
8078
+
8079
+ var serialized = Object(__WEBPACK_IMPORTED_MODULE_4__emotion_serialize__["a" /* serializeStyles */])(registeredStyles);
8080
+
8081
+ if (process.env.NODE_ENV !== 'production' && serialized.name.indexOf('-') === -1) {
8082
+ var labelFromStack = props[labelPropName];
8083
+
8084
+ if (labelFromStack) {
8085
+ serialized = Object(__WEBPACK_IMPORTED_MODULE_4__emotion_serialize__["a" /* serializeStyles */])([serialized, 'label:' + labelFromStack + ';']);
8086
+ }
8087
+ }
8088
+
8089
+ var rules = Object(__WEBPACK_IMPORTED_MODULE_3__emotion_utils__["b" /* insertStyles */])(cache, serialized, typeof type === 'string');
8090
+ className += cache.key + "-" + serialized.name;
8091
+ var newProps = {};
8092
+
8093
+ for (var key in props) {
8094
+ if (hasOwnProperty.call(props, key) && key !== 'css' && key !== typePropName && (process.env.NODE_ENV === 'production' || key !== labelPropName)) {
8095
+ newProps[key] = props[key];
8096
+ }
8097
+ }
8098
+
8099
+ newProps.ref = ref;
8100
+ newProps.className = className;
8101
+ var ele = Object(__WEBPACK_IMPORTED_MODULE_1_react__["createElement"])(type, newProps);
8102
+
8103
+ return ele;
8104
+ };
8105
+
8106
+ var Emotion =
8107
+ /* #__PURE__ */
8108
+ withEmotionCache(function (props, cache, ref) {
8109
+ // use Context.read for the theme when it's stable
8110
+ if (typeof props.css === 'function') {
8111
+ return Object(__WEBPACK_IMPORTED_MODULE_1_react__["createElement"])(ThemeContext.Consumer, null, function (theme) {
8112
+ return render(cache, props, theme, ref);
8113
+ });
8114
+ }
8115
+
8116
+ return render(cache, props, null, ref);
8117
+ });
8118
+
8119
+ if (process.env.NODE_ENV !== 'production') {
8120
+ Emotion.displayName = 'EmotionCssPropInternal';
8121
+ } // $FlowFixMe
8122
+
8123
+
8124
+ var jsx = function jsx(type, props) {
8125
+ var args = arguments;
8126
+
8127
+ if (props == null || !hasOwnProperty.call(props, 'css')) {
8128
+ // $FlowFixMe
8129
+ return __WEBPACK_IMPORTED_MODULE_1_react__["createElement"].apply(undefined, args);
8130
+ }
8131
+
8132
+ if (process.env.NODE_ENV !== 'production' && typeof props.css === 'string' && // check if there is a css declaration
8133
+ props.css.indexOf(':') !== -1) {
8134
+ throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/css' like this: css`" + props.css + "`");
8135
+ }
8136
+
8137
+ var argsLength = args.length;
8138
+ var createElementArgArray = new Array(argsLength);
8139
+ createElementArgArray[0] = Emotion;
8140
+ var newProps = {};
8141
+
8142
+ for (var key in props) {
8143
+ if (hasOwnProperty.call(props, key)) {
8144
+ newProps[key] = props[key];
8145
+ }
8146
+ }
8147
+
8148
+ newProps[typePropName] = type;
8149
+
8150
+ if (process.env.NODE_ENV !== 'production') {
8151
+ var error = new Error();
8152
+
8153
+ if (error.stack) {
8154
+ // chrome
8155
+ var match = error.stack.match(/at (?:Object\.|)jsx.*\n\s+at ([A-Z][A-Za-z$]+) /);
8156
+
8157
+ if (!match) {
8158
+ // safari and firefox
8159
+ match = error.stack.match(/.*\n([A-Z][A-Za-z$]+)@/);
8160
+ }
8161
+
8162
+ if (match) {
8163
+ newProps[labelPropName] = sanitizeIdentifier(match[1]);
8164
+ }
8165
+ }
8166
+ }
8167
+
8168
+ createElementArgArray[1] = newProps;
8169
+
8170
+ for (var i = 2; i < argsLength; i++) {
8171
+ createElementArgArray[i] = args[i];
8172
+ } // $FlowFixMe
8173
+
8174
+
8175
+ return __WEBPACK_IMPORTED_MODULE_1_react__["createElement"].apply(null, createElementArgArray);
8176
+ };
8177
+
8178
+ var warnedAboutCssPropForGlobal = false;
8179
+ var Global =
8180
+ /* #__PURE__ */
8181
+ withEmotionCache(function (props, cache) {
8182
+ if (process.env.NODE_ENV !== 'production' && !warnedAboutCssPropForGlobal && ( // check for className as well since the user is
8183
+ // probably using the custom createElement which
8184
+ // means it will be turned into a className prop
8185
+ // $FlowFixMe I don't really want to add it to the type since it shouldn't be used
8186
+ props.className || props.css)) {
8187
+ console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?");
8188
+ warnedAboutCssPropForGlobal = true;
8189
+ }
8190
+
8191
+ var styles = props.styles;
8192
+
8193
+ if (typeof styles === 'function') {
8194
+ return Object(__WEBPACK_IMPORTED_MODULE_1_react__["createElement"])(ThemeContext.Consumer, null, function (theme) {
8195
+ var serialized = Object(__WEBPACK_IMPORTED_MODULE_4__emotion_serialize__["a" /* serializeStyles */])([styles(theme)]);
8196
+ return Object(__WEBPACK_IMPORTED_MODULE_1_react__["createElement"])(InnerGlobal, {
8197
+ serialized: serialized,
8198
+ cache: cache
8199
+ });
8200
+ });
8201
+ }
8202
+
8203
+ var serialized = Object(__WEBPACK_IMPORTED_MODULE_4__emotion_serialize__["a" /* serializeStyles */])([styles]);
8204
+ return Object(__WEBPACK_IMPORTED_MODULE_1_react__["createElement"])(InnerGlobal, {
8205
+ serialized: serialized,
8206
+ cache: cache
8207
+ });
8208
+ });
8209
+
8210
+ // maintain place over rerenders.
8211
+ // initial render from browser, insertBefore context.sheet.tags[0] or if a style hasn't been inserted there yet, appendChild
8212
+ // initial client-side render from SSR, use place of hydrating tag
8213
+ var InnerGlobal =
8214
+ /*#__PURE__*/
8215
+ function (_React$Component) {
8216
+ __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_inheritsLoose___default()(InnerGlobal, _React$Component);
8217
+
8218
+ function InnerGlobal(props, context, updater) {
8219
+ return _React$Component.call(this, props, context, updater) || this;
8220
+ }
8221
+
8222
+ var _proto = InnerGlobal.prototype;
8223
+
8224
+ _proto.componentDidMount = function componentDidMount() {
8225
+ this.sheet = new __WEBPACK_IMPORTED_MODULE_5__emotion_sheet__["a" /* StyleSheet */]({
8226
+ key: this.props.cache.key + "-global",
8227
+ nonce: this.props.cache.sheet.nonce,
8228
+ container: this.props.cache.sheet.container
8229
+ }); // $FlowFixMe
8230
+
8231
+ var node = document.querySelector("style[data-emotion-" + this.props.cache.key + "=\"" + this.props.serialized.name + "\"]");
8232
+
8233
+ if (node !== null) {
8234
+ this.sheet.tags.push(node);
8235
+ }
8236
+
8237
+ if (this.props.cache.sheet.tags.length) {
8238
+ this.sheet.before = this.props.cache.sheet.tags[0];
8239
+ }
8240
+
8241
+ this.insertStyles();
8242
+ };
8243
+
8244
+ _proto.componentDidUpdate = function componentDidUpdate(prevProps) {
8245
+ if (prevProps.serialized.name !== this.props.serialized.name) {
8246
+ this.insertStyles();
8247
+ }
8248
+ };
8249
+
8250
+ _proto.insertStyles = function insertStyles$1() {
8251
+ if (this.props.serialized.next !== undefined) {
8252
+ // insert keyframes
8253
+ Object(__WEBPACK_IMPORTED_MODULE_3__emotion_utils__["b" /* insertStyles */])(this.props.cache, this.props.serialized.next, true);
8254
+ }
8255
+
8256
+ if (this.sheet.tags.length) {
8257
+ // if this doesn't exist then it will be null so the style element will be appended
8258
+ var element = this.sheet.tags[this.sheet.tags.length - 1].nextElementSibling;
8259
+ this.sheet.before = element;
8260
+ this.sheet.flush();
8261
+ }
8262
+
8263
+ this.props.cache.insert("", this.props.serialized, this.sheet, false);
8264
+ };
8265
+
8266
+ _proto.componentWillUnmount = function componentWillUnmount() {
8267
+ this.sheet.flush();
8268
+ };
8269
+
8270
+ _proto.render = function render() {
8271
+
8272
+ return null;
8273
+ };
8274
+
8275
+ return InnerGlobal;
8276
+ }(__WEBPACK_IMPORTED_MODULE_1_react__["Component"]);
8277
+
8278
+ var keyframes = function keyframes() {
8279
+ var insertable = __WEBPACK_IMPORTED_MODULE_6__emotion_css__["a" /* default */].apply(void 0, arguments);
8280
+ var name = "animation-" + insertable.name; // $FlowFixMe
8281
+
8282
+ return {
8283
+ name: name,
8284
+ styles: "@keyframes " + name + "{" + insertable.styles + "}",
8285
+ anim: 1,
8286
+ toString: function toString() {
8287
+ return "_EMO_" + this.name + "_" + this.styles + "_EMO_";
8288
+ }
8289
+ };
8290
+ };
8291
+
8292
+ var classnames = function classnames(args) {
8293
+ var len = args.length;
8294
+ var i = 0;
8295
+ var cls = '';
8296
+
8297
+ for (; i < len; i++) {
8298
+ var arg = args[i];
8299
+ if (arg == null) continue;
8300
+ var toAdd = void 0;
8301
+
8302
+ switch (typeof arg) {
8303
+ case 'boolean':
8304
+ break;
8305
+
8306
+ case 'object':
8307
+ {
8308
+ if (Array.isArray(arg)) {
8309
+ toAdd = classnames(arg);
8310
+ } else {
8311
+ toAdd = '';
8312
+
8313
+ for (var k in arg) {
8314
+ if (arg[k] && k) {
8315
+ toAdd && (toAdd += ' ');
8316
+ toAdd += k;
8317
+ }
8318
+ }
8319
+ }
8320
+
8321
+ break;
8322
+ }
8323
+
8324
+ default:
8325
+ {
8326
+ toAdd = arg;
8327
+ }
8328
+ }
8329
+
8330
+ if (toAdd) {
8331
+ cls && (cls += ' ');
8332
+ cls += toAdd;
8333
+ }
8334
+ }
8335
+
8336
+ return cls;
8337
+ };
8338
+
8339
+ function merge(registered, css, className) {
8340
+ var registeredStyles = [];
8341
+ var rawClassName = Object(__WEBPACK_IMPORTED_MODULE_3__emotion_utils__["a" /* getRegisteredStyles */])(registered, registeredStyles, className);
8342
+
8343
+ if (registeredStyles.length < 2) {
8344
+ return className;
8345
+ }
8346
+
8347
+ return rawClassName + css(registeredStyles);
8348
+ }
8349
+
8350
+ var ClassNames = withEmotionCache(function (props, context) {
8351
+ return Object(__WEBPACK_IMPORTED_MODULE_1_react__["createElement"])(ThemeContext.Consumer, null, function (theme) {
8352
+ var hasRendered = false;
8353
+
8354
+ var css = function css() {
8355
+ if (hasRendered && process.env.NODE_ENV !== 'production') {
8356
+ throw new Error('css can only be used during render');
8357
+ }
8358
+
8359
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
8360
+ args[_key] = arguments[_key];
8361
+ }
8362
+
8363
+ var serialized = Object(__WEBPACK_IMPORTED_MODULE_4__emotion_serialize__["a" /* serializeStyles */])(args, context.registered);
8364
+
8365
+ {
8366
+ Object(__WEBPACK_IMPORTED_MODULE_3__emotion_utils__["b" /* insertStyles */])(context, serialized, false);
8367
+ }
8368
+
8369
+ return context.key + "-" + serialized.name;
8370
+ };
8371
+
8372
+ var cx = function cx() {
8373
+ if (hasRendered && process.env.NODE_ENV !== 'production') {
8374
+ throw new Error('cx can only be used during render');
8375
+ }
8376
+
8377
+ for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
8378
+ args[_key2] = arguments[_key2];
8379
+ }
8380
+
8381
+ return merge(context.registered, css, classnames(args));
8382
+ };
8383
+
8384
+ var content = {
8385
+ css: css,
8386
+ cx: cx,
8387
+ theme: theme
8388
+ };
8389
+ var ele = props.children(content);
8390
+ hasRendered = true;
8391
+
8392
+ return ele;
8393
+ });
8394
+ });
8395
+
8396
+
8397
+
8398
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
8399
+
8400
+ /***/ }),
8401
+ /* 129 */
8402
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
8403
+
8404
+ "use strict";
8405
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return getScrollParent; });
8406
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return getScrollTop; });
8407
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return animatedScrollTo; });
8408
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return isMobileDevice; });
8409
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return cleanValue; });
8410
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return scrollIntoView; });
8411
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return getBoundingClientObj; });
8412
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return classNames; });
8413
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return isTouchCapable; });
8414
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return isDocumentElement; });
8415
+ /* unused harmony export k */
8416
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return noop; });
8417
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return scrollTo; });
8418
+ // ==============================
8419
+ // NO OP
8420
+ // ==============================
8421
+ var noop = function noop() {};
8422
+ // Class Name Prefixer
8423
+ // ==============================
8424
+
8425
+ /**
8426
+ String representation of component state for styling with class names.
8427
+
8428
+ Expects an array of strings OR a string/object pair:
8429
+ - className(['comp', 'comp-arg', 'comp-arg-2'])
8430
+ @returns 'react-select__comp react-select__comp-arg react-select__comp-arg-2'
8431
+ - className('comp', { some: true, state: false })
8432
+ @returns 'react-select__comp react-select__comp--some'
8433
+ */
8434
+
8435
+ function applyPrefixToName(prefix, name) {
8436
+ if (!name) {
8437
+ return prefix;
8438
+ } else if (name[0] === '-') {
8439
+ return prefix + name;
8440
+ } else {
8441
+ return prefix + '__' + name;
8442
+ }
8443
+ }
8444
+
8445
+ function classNames(prefix, state, className) {
8446
+ var arr = [className];
8447
+
8448
+ if (state && prefix) {
8449
+ for (var key in state) {
8450
+ if (state.hasOwnProperty(key) && state[key]) {
8451
+ arr.push("" + applyPrefixToName(prefix, key));
8452
+ }
8453
+ }
8454
+ }
8455
+
8456
+ return arr.filter(function (i) {
8457
+ return i;
8458
+ }).map(function (i) {
8459
+ return String(i).trim();
8460
+ }).join(' ');
8461
+ } // ==============================
8462
+ // Clean Value
8463
+ // ==============================
8464
+
8465
+ var cleanValue = function cleanValue(value) {
8466
+ if (Array.isArray(value)) return value.filter(Boolean);
8467
+ if (typeof value === 'object' && value !== null) return [value];
8468
+ return [];
8469
+ }; // ==============================
8470
+ // Handle Input Change
8471
+ // ==============================
8472
+
8473
+ function handleInputChange(inputValue, actionMeta, onInputChange) {
8474
+ if (onInputChange) {
8475
+ var newValue = onInputChange(inputValue, actionMeta);
8476
+ if (typeof newValue === 'string') return newValue;
8477
+ }
8478
+
8479
+ return inputValue;
8480
+ } // ==============================
8481
+ // Scroll Helpers
8482
+ // ==============================
8483
+
8484
+ function isDocumentElement(el) {
8485
+ return [document.documentElement, document.body, window].indexOf(el) > -1;
8486
+ } // Normalized Scroll Top
8487
+ // ------------------------------
8488
+
8489
+ function getScrollTop(el) {
8490
+ if (isDocumentElement(el)) {
8491
+ return window.pageYOffset;
8492
+ }
8493
+
8494
+ return el.scrollTop;
8495
+ }
8496
+ function scrollTo(el, top) {
8497
+ // with a scroll distance, we perform scroll on the element
8498
+ if (isDocumentElement(el)) {
8499
+ window.scrollTo(0, top);
8500
+ return;
8501
+ }
8502
+
8503
+ el.scrollTop = top;
8504
+ } // Get Scroll Parent
8505
+ // ------------------------------
8506
+
8507
+ function getScrollParent(element) {
8508
+ var style = getComputedStyle(element);
8509
+ var excludeStaticParent = style.position === 'absolute';
8510
+ var overflowRx = /(auto|scroll)/;
8511
+ var docEl = document.documentElement; // suck it, flow...
8512
+
8513
+ if (style.position === 'fixed') return docEl;
8514
+
8515
+ for (var parent = element; parent = parent.parentElement;) {
8516
+ style = getComputedStyle(parent);
8517
+
8518
+ if (excludeStaticParent && style.position === 'static') {
8519
+ continue;
8520
+ }
8521
+
8522
+ if (overflowRx.test(style.overflow + style.overflowY + style.overflowX)) {
8523
+ return parent;
8524
+ }
8525
+ }
8526
+
8527
+ return docEl;
8528
+ } // Animated Scroll To
8529
+ // ------------------------------
8530
+
8531
+ /**
8532
+ @param t: time (elapsed)
8533
+ @param b: initial value
8534
+ @param c: amount of change
8535
+ @param d: duration
8536
+ */
8537
+
8538
+ function easeOutCubic(t, b, c, d) {
8539
+ return c * ((t = t / d - 1) * t * t + 1) + b;
8540
+ }
8541
+
8542
+ function animatedScrollTo(element, to, duration, callback) {
8543
+ if (duration === void 0) {
8544
+ duration = 200;
8545
+ }
8546
+
8547
+ if (callback === void 0) {
8548
+ callback = noop;
8549
+ }
8550
+
8551
+ var start = getScrollTop(element);
8552
+ var change = to - start;
8553
+ var increment = 10;
8554
+ var currentTime = 0;
8555
+
8556
+ function animateScroll() {
8557
+ currentTime += increment;
8558
+ var val = easeOutCubic(currentTime, start, change, duration);
8559
+ scrollTo(element, val);
8560
+
8561
+ if (currentTime < duration) {
8562
+ window.requestAnimationFrame(animateScroll);
8563
+ } else {
8564
+ callback(element);
8565
+ }
8566
+ }
8567
+
8568
+ animateScroll();
8569
+ } // Scroll Into View
8570
+ // ------------------------------
8571
+
8572
+ function scrollIntoView(menuEl, focusedEl) {
8573
+ var menuRect = menuEl.getBoundingClientRect();
8574
+ var focusedRect = focusedEl.getBoundingClientRect();
8575
+ var overScroll = focusedEl.offsetHeight / 3;
8576
+
8577
+ if (focusedRect.bottom + overScroll > menuRect.bottom) {
8578
+ scrollTo(menuEl, Math.min(focusedEl.offsetTop + focusedEl.clientHeight - menuEl.offsetHeight + overScroll, menuEl.scrollHeight));
8579
+ } else if (focusedRect.top - overScroll < menuRect.top) {
8580
+ scrollTo(menuEl, Math.max(focusedEl.offsetTop - overScroll, 0));
8581
+ }
8582
+ } // ==============================
8583
+ // Get bounding client object
8584
+ // ==============================
8585
+ // cannot get keys using array notation with DOMRect
8586
+
8587
+ function getBoundingClientObj(element) {
8588
+ var rect = element.getBoundingClientRect();
8589
+ return {
8590
+ bottom: rect.bottom,
8591
+ height: rect.height,
8592
+ left: rect.left,
8593
+ right: rect.right,
8594
+ top: rect.top,
8595
+ width: rect.width
8596
+ };
8597
+ }
8598
+ // Touch Capability Detector
8599
+ // ==============================
8600
+
8601
+ function isTouchCapable() {
8602
+ try {
8603
+ document.createEvent('TouchEvent');
8604
+ return true;
8605
+ } catch (e) {
8606
+ return false;
8607
+ }
8608
+ } // ==============================
8609
+ // Mobile Device Detector
8610
+ // ==============================
8611
+
8612
+ function isMobileDevice() {
8613
+ try {
8614
+ return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
8615
+ } catch (e) {
8616
+ return false;
8617
+ }
8618
+ }
8619
+
8620
+
8621
+
8622
+
8623
+ /***/ }),
8624
+ /* 130 */
8625
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
8626
+
8627
+ "use strict";
8628
+ /* WEBPACK VAR INJECTION */(function(process) {/* unused harmony export UNMOUNTED */
8629
+ /* unused harmony export EXITED */
8630
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return ENTERING; });
8631
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ENTERED; });
8632
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return EXITING; });
8633
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_objectWithoutPropertiesLoose__ = __webpack_require__(54);
8634
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_inheritsLoose__ = __webpack_require__(55);
8635
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_prop_types__ = __webpack_require__(2);
8636
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_prop_types__);
8637
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react__ = __webpack_require__(0);
8638
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_react__);
8639
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_react_dom__ = __webpack_require__(11);
8640
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_react_dom__);
8641
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__config__ = __webpack_require__(239);
8642
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__utils_PropTypes__ = __webpack_require__(240);
8643
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__TransitionGroupContext__ = __webpack_require__(131);
8644
+
8645
+
8646
+
8647
+
8648
+
8649
+
8650
+
8651
+
8652
+ var UNMOUNTED = 'unmounted';
8653
+ var EXITED = 'exited';
8654
+ var ENTERING = 'entering';
8655
+ var ENTERED = 'entered';
8656
+ var EXITING = 'exiting';
8657
+ /**
8658
+ * The Transition component lets you describe a transition from one component
8659
+ * state to another _over time_ with a simple declarative API. Most commonly
8660
+ * it's used to animate the mounting and unmounting of a component, but can also
8661
+ * be used to describe in-place transition states as well.
8662
+ *
8663
+ * ---
8664
+ *
8665
+ * **Note**: `Transition` is a platform-agnostic base component. If you're using
8666
+ * transitions in CSS, you'll probably want to use
8667
+ * [`CSSTransition`](https://reactcommunity.org/react-transition-group/css-transition)
8668
+ * instead. It inherits all the features of `Transition`, but contains
8669
+ * additional features necessary to play nice with CSS transitions (hence the
8670
+ * name of the component).
8671
+ *
8672
+ * ---
8673
+ *
8674
+ * By default the `Transition` component does not alter the behavior of the
8675
+ * component it renders, it only tracks "enter" and "exit" states for the
8676
+ * components. It's up to you to give meaning and effect to those states. For
8677
+ * example we can add styles to a component when it enters or exits:
8678
+ *
8679
+ * ```jsx
8680
+ * import { Transition } from 'react-transition-group';
8681
+ *
8682
+ * const duration = 300;
8683
+ *
8684
+ * const defaultStyle = {
8685
+ * transition: `opacity ${duration}ms ease-in-out`,
8686
+ * opacity: 0,
8687
+ * }
8688
+ *
8689
+ * const transitionStyles = {
8690
+ * entering: { opacity: 1 },
8691
+ * entered: { opacity: 1 },
8692
+ * exiting: { opacity: 0 },
8693
+ * exited: { opacity: 0 },
8694
+ * };
8695
+ *
8696
+ * const Fade = ({ in: inProp }) => (
8697
+ * <Transition in={inProp} timeout={duration}>
8698
+ * {state => (
8699
+ * <div style={{
8700
+ * ...defaultStyle,
8701
+ * ...transitionStyles[state]
8702
+ * }}>
8703
+ * I'm a fade Transition!
8704
+ * </div>
8705
+ * )}
8706
+ * </Transition>
8707
+ * );
8708
+ * ```
8709
+ *
8710
+ * There are 4 main states a Transition can be in:
8711
+ * - `'entering'`
8712
+ * - `'entered'`
8713
+ * - `'exiting'`
8714
+ * - `'exited'`
8715
+ *
8716
+ * Transition state is toggled via the `in` prop. When `true` the component
8717
+ * begins the "Enter" stage. During this stage, the component will shift from
8718
+ * its current transition state, to `'entering'` for the duration of the
8719
+ * transition and then to the `'entered'` stage once it's complete. Let's take
8720
+ * the following example (we'll use the
8721
+ * [useState](https://reactjs.org/docs/hooks-reference.html#usestate) hook):
8722
+ *
8723
+ * ```jsx
8724
+ * function App() {
8725
+ * const [inProp, setInProp] = useState(false);
8726
+ * return (
8727
+ * <div>
8728
+ * <Transition in={inProp} timeout={500}>
8729
+ * {state => (
8730
+ * // ...
8731
+ * )}
8732
+ * </Transition>
8733
+ * <button onClick={() => setInProp(true)}>
8734
+ * Click to Enter
8735
+ * </button>
8736
+ * </div>
8737
+ * );
8738
+ * }
8739
+ * ```
8740
+ *
8741
+ * When the button is clicked the component will shift to the `'entering'` state
8742
+ * and stay there for 500ms (the value of `timeout`) before it finally switches
8743
+ * to `'entered'`.
8744
+ *
8745
+ * When `in` is `false` the same thing happens except the state moves from
8746
+ * `'exiting'` to `'exited'`.
8747
+ */
8748
+
8749
+ var Transition = /*#__PURE__*/function (_React$Component) {
8750
+ Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_inheritsLoose__["a" /* default */])(Transition, _React$Component);
8751
+
8752
+ function Transition(props, context) {
8753
+ var _this;
8754
+
8755
+ _this = _React$Component.call(this, props, context) || this;
8756
+ var parentGroup = context; // In the context of a TransitionGroup all enters are really appears
8757
+
8758
+ var appear = parentGroup && !parentGroup.isMounting ? props.enter : props.appear;
8759
+ var initialStatus;
8760
+ _this.appearStatus = null;
8761
+
8762
+ if (props.in) {
8763
+ if (appear) {
8764
+ initialStatus = EXITED;
8765
+ _this.appearStatus = ENTERING;
8766
+ } else {
8767
+ initialStatus = ENTERED;
8768
+ }
8769
+ } else {
8770
+ if (props.unmountOnExit || props.mountOnEnter) {
8771
+ initialStatus = UNMOUNTED;
8772
+ } else {
8773
+ initialStatus = EXITED;
8774
+ }
8775
+ }
8776
+
8777
+ _this.state = {
8778
+ status: initialStatus
8779
+ };
8780
+ _this.nextCallback = null;
8781
+ return _this;
8782
+ }
8783
+
8784
+ Transition.getDerivedStateFromProps = function getDerivedStateFromProps(_ref, prevState) {
8785
+ var nextIn = _ref.in;
8786
+
8787
+ if (nextIn && prevState.status === UNMOUNTED) {
8788
+ return {
8789
+ status: EXITED
8790
+ };
8791
+ }
8792
+
8793
+ return null;
8794
+ } // getSnapshotBeforeUpdate(prevProps) {
8795
+ // let nextStatus = null
8796
+ // if (prevProps !== this.props) {
8797
+ // const { status } = this.state
8798
+ // if (this.props.in) {
8799
+ // if (status !== ENTERING && status !== ENTERED) {
8800
+ // nextStatus = ENTERING
8801
+ // }
8802
+ // } else {
8803
+ // if (status === ENTERING || status === ENTERED) {
8804
+ // nextStatus = EXITING
8805
+ // }
8806
+ // }
8807
+ // }
8808
+ // return { nextStatus }
8809
+ // }
8810
+ ;
8811
+
8812
+ var _proto = Transition.prototype;
8813
+
8814
+ _proto.componentDidMount = function componentDidMount() {
8815
+ this.updateStatus(true, this.appearStatus);
8816
+ };
8817
+
8818
+ _proto.componentDidUpdate = function componentDidUpdate(prevProps) {
8819
+ var nextStatus = null;
8820
+
8821
+ if (prevProps !== this.props) {
8822
+ var status = this.state.status;
8823
+
8824
+ if (this.props.in) {
8825
+ if (status !== ENTERING && status !== ENTERED) {
8826
+ nextStatus = ENTERING;
8827
+ }
8828
+ } else {
8829
+ if (status === ENTERING || status === ENTERED) {
8830
+ nextStatus = EXITING;
8831
+ }
8832
+ }
8833
+ }
8834
+
8835
+ this.updateStatus(false, nextStatus);
8836
+ };
8837
+
8838
+ _proto.componentWillUnmount = function componentWillUnmount() {
8839
+ this.cancelNextCallback();
8840
+ };
8841
+
8842
+ _proto.getTimeouts = function getTimeouts() {
8843
+ var timeout = this.props.timeout;
8844
+ var exit, enter, appear;
8845
+ exit = enter = appear = timeout;
8846
+
8847
+ if (timeout != null && typeof timeout !== 'number') {
8848
+ exit = timeout.exit;
8849
+ enter = timeout.enter; // TODO: remove fallback for next major
8850
+
8851
+ appear = timeout.appear !== undefined ? timeout.appear : enter;
8852
+ }
8853
+
8854
+ return {
8855
+ exit: exit,
8856
+ enter: enter,
8857
+ appear: appear
8858
+ };
8859
+ };
8860
+
8861
+ _proto.updateStatus = function updateStatus(mounting, nextStatus) {
8862
+ if (mounting === void 0) {
8863
+ mounting = false;
8864
+ }
8865
+
8866
+ if (nextStatus !== null) {
8867
+ // nextStatus will always be ENTERING or EXITING.
8868
+ this.cancelNextCallback();
8869
+
8870
+ if (nextStatus === ENTERING) {
8871
+ this.performEnter(mounting);
8872
+ } else {
8873
+ this.performExit();
8874
+ }
8875
+ } else if (this.props.unmountOnExit && this.state.status === EXITED) {
8876
+ this.setState({
8877
+ status: UNMOUNTED
8878
+ });
8879
+ }
8880
+ };
8881
+
8882
+ _proto.performEnter = function performEnter(mounting) {
8883
+ var _this2 = this;
8884
+
8885
+ var enter = this.props.enter;
8886
+ var appearing = this.context ? this.context.isMounting : mounting;
8887
+
8888
+ var _ref2 = this.props.nodeRef ? [appearing] : [__WEBPACK_IMPORTED_MODULE_4_react_dom___default.a.findDOMNode(this), appearing],
8889
+ maybeNode = _ref2[0],
8890
+ maybeAppearing = _ref2[1];
8891
+
8892
+ var timeouts = this.getTimeouts();
8893
+ var enterTimeout = appearing ? timeouts.appear : timeouts.enter; // no enter animation skip right to ENTERED
8894
+ // if we are mounting and running this it means appear _must_ be set
8895
+
8896
+ if (!mounting && !enter || __WEBPACK_IMPORTED_MODULE_5__config__["a" /* default */].disabled) {
8897
+ this.safeSetState({
8898
+ status: ENTERED
8899
+ }, function () {
8900
+ _this2.props.onEntered(maybeNode);
8901
+ });
8902
+ return;
8903
+ }
8904
+
8905
+ this.props.onEnter(maybeNode, maybeAppearing);
8906
+ this.safeSetState({
8907
+ status: ENTERING
8908
+ }, function () {
8909
+ _this2.props.onEntering(maybeNode, maybeAppearing);
8910
+
8911
+ _this2.onTransitionEnd(enterTimeout, function () {
8912
+ _this2.safeSetState({
8913
+ status: ENTERED
8914
+ }, function () {
8915
+ _this2.props.onEntered(maybeNode, maybeAppearing);
8916
+ });
8917
+ });
8918
+ });
8919
+ };
8920
+
8921
+ _proto.performExit = function performExit() {
8922
+ var _this3 = this;
8923
+
8924
+ var exit = this.props.exit;
8925
+ var timeouts = this.getTimeouts();
8926
+ var maybeNode = this.props.nodeRef ? undefined : __WEBPACK_IMPORTED_MODULE_4_react_dom___default.a.findDOMNode(this); // no exit animation skip right to EXITED
8927
+
8928
+ if (!exit || __WEBPACK_IMPORTED_MODULE_5__config__["a" /* default */].disabled) {
8929
+ this.safeSetState({
8930
+ status: EXITED
8931
+ }, function () {
8932
+ _this3.props.onExited(maybeNode);
8933
+ });
8934
+ return;
8935
+ }
8936
+
8937
+ this.props.onExit(maybeNode);
8938
+ this.safeSetState({
8939
+ status: EXITING
8940
+ }, function () {
8941
+ _this3.props.onExiting(maybeNode);
8942
+
8943
+ _this3.onTransitionEnd(timeouts.exit, function () {
8944
+ _this3.safeSetState({
8945
+ status: EXITED
8946
+ }, function () {
8947
+ _this3.props.onExited(maybeNode);
8948
+ });
8949
+ });
8950
+ });
8951
+ };
8952
+
8953
+ _proto.cancelNextCallback = function cancelNextCallback() {
8954
+ if (this.nextCallback !== null) {
8955
+ this.nextCallback.cancel();
8956
+ this.nextCallback = null;
8957
+ }
8958
+ };
8959
+
8960
+ _proto.safeSetState = function safeSetState(nextState, callback) {
8961
+ // This shouldn't be necessary, but there are weird race conditions with
8962
+ // setState callbacks and unmounting in testing, so always make sure that
8963
+ // we can cancel any pending setState callbacks after we unmount.
8964
+ callback = this.setNextCallback(callback);
8965
+ this.setState(nextState, callback);
8966
+ };
8967
+
8968
+ _proto.setNextCallback = function setNextCallback(callback) {
8969
+ var _this4 = this;
8970
+
8971
+ var active = true;
8972
+
8973
+ this.nextCallback = function (event) {
8974
+ if (active) {
8975
+ active = false;
8976
+ _this4.nextCallback = null;
8977
+ callback(event);
8978
+ }
8979
+ };
8980
+
8981
+ this.nextCallback.cancel = function () {
8982
+ active = false;
8983
+ };
8984
+
8985
+ return this.nextCallback;
8986
+ };
8987
+
8988
+ _proto.onTransitionEnd = function onTransitionEnd(timeout, handler) {
8989
+ this.setNextCallback(handler);
8990
+ var node = this.props.nodeRef ? this.props.nodeRef.current : __WEBPACK_IMPORTED_MODULE_4_react_dom___default.a.findDOMNode(this);
8991
+ var doesNotHaveTimeoutOrListener = timeout == null && !this.props.addEndListener;
8992
+
8993
+ if (!node || doesNotHaveTimeoutOrListener) {
8994
+ setTimeout(this.nextCallback, 0);
8995
+ return;
8996
+ }
8997
+
8998
+ if (this.props.addEndListener) {
8999
+ var _ref3 = this.props.nodeRef ? [this.nextCallback] : [node, this.nextCallback],
9000
+ maybeNode = _ref3[0],
9001
+ maybeNextCallback = _ref3[1];
9002
+
9003
+ this.props.addEndListener(maybeNode, maybeNextCallback);
9004
+ }
9005
+
9006
+ if (timeout != null) {
9007
+ setTimeout(this.nextCallback, timeout);
9008
+ }
9009
+ };
9010
+
9011
+ _proto.render = function render() {
9012
+ var status = this.state.status;
9013
+
9014
+ if (status === UNMOUNTED) {
9015
+ return null;
9016
+ }
9017
+
9018
+ var _this$props = this.props,
9019
+ children = _this$props.children,
9020
+ _in = _this$props.in,
9021
+ _mountOnEnter = _this$props.mountOnEnter,
9022
+ _unmountOnExit = _this$props.unmountOnExit,
9023
+ _appear = _this$props.appear,
9024
+ _enter = _this$props.enter,
9025
+ _exit = _this$props.exit,
9026
+ _timeout = _this$props.timeout,
9027
+ _addEndListener = _this$props.addEndListener,
9028
+ _onEnter = _this$props.onEnter,
9029
+ _onEntering = _this$props.onEntering,
9030
+ _onEntered = _this$props.onEntered,
9031
+ _onExit = _this$props.onExit,
9032
+ _onExiting = _this$props.onExiting,
9033
+ _onExited = _this$props.onExited,
9034
+ _nodeRef = _this$props.nodeRef,
9035
+ childProps = Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_objectWithoutPropertiesLoose__["a" /* default */])(_this$props, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
9036
+
9037
+ return (
9038
+ /*#__PURE__*/
9039
+ // allows for nested Transitions
9040
+ __WEBPACK_IMPORTED_MODULE_3_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_7__TransitionGroupContext__["a" /* default */].Provider, {
9041
+ value: null
9042
+ }, typeof children === 'function' ? children(status, childProps) : __WEBPACK_IMPORTED_MODULE_3_react___default.a.cloneElement(__WEBPACK_IMPORTED_MODULE_3_react___default.a.Children.only(children), childProps))
9043
+ );
9044
+ };
9045
+
9046
+ return Transition;
9047
+ }(__WEBPACK_IMPORTED_MODULE_3_react___default.a.Component);
9048
+
9049
+ Transition.contextType = __WEBPACK_IMPORTED_MODULE_7__TransitionGroupContext__["a" /* default */];
9050
+ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
9051
+ /**
9052
+ * A React reference to DOM element that need to transition:
9053
+ * https://stackoverflow.com/a/51127130/4671932
9054
+ *
9055
+ * - When `nodeRef` prop is used, `node` is not passed to callback functions
9056
+ * (e.g. `onEnter`) because user already has direct access to the node.
9057
+ * - When changing `key` prop of `Transition` in a `TransitionGroup` a new
9058
+ * `nodeRef` need to be provided to `Transition` with changed `key` prop
9059
+ * (see
9060
+ * [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).
9061
+ */
9062
+ nodeRef: __WEBPACK_IMPORTED_MODULE_2_prop_types___default.a.shape({
9063
+ current: typeof Element === 'undefined' ? __WEBPACK_IMPORTED_MODULE_2_prop_types___default.a.any : __WEBPACK_IMPORTED_MODULE_2_prop_types___default.a.instanceOf(Element)
9064
+ }),
9065
+
9066
+ /**
9067
+ * A `function` child can be used instead of a React element. This function is
9068
+ * called with the current transition status (`'entering'`, `'entered'`,
9069
+ * `'exiting'`, `'exited'`), which can be used to apply context
9070
+ * specific props to a component.
9071
+ *
9072
+ * ```jsx
9073
+ * <Transition in={this.state.in} timeout={150}>
9074
+ * {state => (
9075
+ * <MyComponent className={`fade fade-${state}`} />
9076
+ * )}
9077
+ * </Transition>
9078
+ * ```
9079
+ */
9080
+ children: __WEBPACK_IMPORTED_MODULE_2_prop_types___default.a.oneOfType([__WEBPACK_IMPORTED_MODULE_2_prop_types___default.a.func.isRequired, __WEBPACK_IMPORTED_MODULE_2_prop_types___default.a.element.isRequired]).isRequired,
9081
+
9082
+ /**
9083
+ * Show the component; triggers the enter or exit states
9084
+ */
9085
+ in: __WEBPACK_IMPORTED_MODULE_2_prop_types___default.a.bool,
9086
+
9087
+ /**
9088
+ * By default the child component is mounted immediately along with
9089
+ * the parent `Transition` component. If you want to "lazy mount" the component on the
9090
+ * first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay
9091
+ * mounted, even on "exited", unless you also specify `unmountOnExit`.
9092
+ */
9093
+ mountOnEnter: __WEBPACK_IMPORTED_MODULE_2_prop_types___default.a.bool,
9094
+
9095
+ /**
9096
+ * By default the child component stays mounted after it reaches the `'exited'` state.
9097
+ * Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.
9098
+ */
9099
+ unmountOnExit: __WEBPACK_IMPORTED_MODULE_2_prop_types___default.a.bool,
9100
+
9101
+ /**
9102
+ * By default the child component does not perform the enter transition when
9103
+ * it first mounts, regardless of the value of `in`. If you want this
9104
+ * behavior, set both `appear` and `in` to `true`.
9105
+ *
9106
+ * > **Note**: there are no special appear states like `appearing`/`appeared`, this prop
9107
+ * > only adds an additional enter transition. However, in the
9108
+ * > `<CSSTransition>` component that first enter transition does result in
9109
+ * > additional `.appear-*` classes, that way you can choose to style it
9110
+ * > differently.
9111
+ */
9112
+ appear: __WEBPACK_IMPORTED_MODULE_2_prop_types___default.a.bool,
9113
+
9114
+ /**
9115
+ * Enable or disable enter transitions.
9116
+ */
9117
+ enter: __WEBPACK_IMPORTED_MODULE_2_prop_types___default.a.bool,
9118
+
9119
+ /**
9120
+ * Enable or disable exit transitions.
9121
+ */
9122
+ exit: __WEBPACK_IMPORTED_MODULE_2_prop_types___default.a.bool,
9123
+
9124
+ /**
9125
+ * The duration of the transition, in milliseconds.
9126
+ * Required unless `addEndListener` is provided.
9127
+ *
9128
+ * You may specify a single timeout for all transitions:
9129
+ *
9130
+ * ```jsx
9131
+ * timeout={500}
9132
+ * ```
9133
+ *
9134
+ * or individually:
9135
+ *
9136
+ * ```jsx
9137
+ * timeout={{
9138
+ * appear: 500,
9139
+ * enter: 300,
9140
+ * exit: 500,
9141
+ * }}
9142
+ * ```
9143
+ *
9144
+ * - `appear` defaults to the value of `enter`
9145
+ * - `enter` defaults to `0`
9146
+ * - `exit` defaults to `0`
9147
+ *
9148
+ * @type {number | { enter?: number, exit?: number, appear?: number }}
9149
+ */
9150
+ timeout: function timeout(props) {
9151
+ var pt = __WEBPACK_IMPORTED_MODULE_6__utils_PropTypes__["b" /* timeoutsShape */];
9152
+ if (!props.addEndListener) pt = pt.isRequired;
9153
+
9154
+ for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
9155
+ args[_key - 1] = arguments[_key];
9156
+ }
9157
+
9158
+ return pt.apply(void 0, [props].concat(args));
9159
+ },
9160
+
9161
+ /**
9162
+ * Add a custom transition end trigger. Called with the transitioning
9163
+ * DOM node and a `done` callback. Allows for more fine grained transition end
9164
+ * logic. Timeouts are still used as a fallback if provided.
9165
+ *
9166
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
9167
+ *
9168
+ * ```jsx
9169
+ * addEndListener={(node, done) => {
9170
+ * // use the css transitionend event to mark the finish of a transition
9171
+ * node.addEventListener('transitionend', done, false);
9172
+ * }}
9173
+ * ```
9174
+ */
9175
+ addEndListener: __WEBPACK_IMPORTED_MODULE_2_prop_types___default.a.func,
9176
+
9177
+ /**
9178
+ * Callback fired before the "entering" status is applied. An extra parameter
9179
+ * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
9180
+ *
9181
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
9182
+ *
9183
+ * @type Function(node: HtmlElement, isAppearing: bool) -> void
9184
+ */
9185
+ onEnter: __WEBPACK_IMPORTED_MODULE_2_prop_types___default.a.func,
9186
+
9187
+ /**
9188
+ * Callback fired after the "entering" status is applied. An extra parameter
9189
+ * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
9190
+ *
9191
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
9192
+ *
9193
+ * @type Function(node: HtmlElement, isAppearing: bool)
9194
+ */
9195
+ onEntering: __WEBPACK_IMPORTED_MODULE_2_prop_types___default.a.func,
9196
+
9197
+ /**
9198
+ * Callback fired after the "entered" status is applied. An extra parameter
9199
+ * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
9200
+ *
9201
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
9202
+ *
9203
+ * @type Function(node: HtmlElement, isAppearing: bool) -> void
9204
+ */
9205
+ onEntered: __WEBPACK_IMPORTED_MODULE_2_prop_types___default.a.func,
9206
+
9207
+ /**
9208
+ * Callback fired before the "exiting" status is applied.
9209
+ *
9210
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
9211
+ *
9212
+ * @type Function(node: HtmlElement) -> void
9213
+ */
9214
+ onExit: __WEBPACK_IMPORTED_MODULE_2_prop_types___default.a.func,
9215
+
9216
+ /**
9217
+ * Callback fired after the "exiting" status is applied.
9218
+ *
9219
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
9220
+ *
9221
+ * @type Function(node: HtmlElement) -> void
9222
+ */
9223
+ onExiting: __WEBPACK_IMPORTED_MODULE_2_prop_types___default.a.func,
9224
+
9225
+ /**
9226
+ * Callback fired after the "exited" status is applied.
9227
+ *
9228
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed
9229
+ *
9230
+ * @type Function(node: HtmlElement) -> void
9231
+ */
9232
+ onExited: __WEBPACK_IMPORTED_MODULE_2_prop_types___default.a.func
9233
+ } : {}; // Name the function so it is clearer in the documentation
9234
+
9235
+ function noop() {}
9236
+
9237
+ Transition.defaultProps = {
9238
+ in: false,
9239
+ mountOnEnter: false,
9240
+ unmountOnExit: false,
9241
+ appear: false,
9242
+ enter: true,
9243
+ exit: true,
9244
+ onEnter: noop,
9245
+ onEntering: noop,
9246
+ onEntered: noop,
9247
+ onExit: noop,
9248
+ onExiting: noop,
9249
+ onExited: noop
9250
+ };
9251
+ Transition.UNMOUNTED = UNMOUNTED;
9252
+ Transition.EXITED = EXITED;
9253
+ Transition.ENTERING = ENTERING;
9254
+ Transition.ENTERED = ENTERED;
9255
+ Transition.EXITING = EXITING;
9256
+ /* harmony default export */ __webpack_exports__["d"] = (Transition);
9257
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
9258
+
9259
+ /***/ }),
9260
+ /* 131 */
9261
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
9262
+
9263
+ "use strict";
9264
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
9265
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
9266
+
9267
+ /* harmony default export */ __webpack_exports__["a"] = (__WEBPACK_IMPORTED_MODULE_0_react___default.a.createContext(null));
9268
+
9269
+ /***/ }),
9270
+ /* 132 */
9271
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
9272
+
9273
+ "use strict";
9274
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Avatar__ = __webpack_require__(552);
9275
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Avatar__["a"]; });
9276
+
9277
+
9278
+ /***/ }),
9279
+ /* 133 */
9280
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
9281
+
9282
+ "use strict";
9283
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Button__ = __webpack_require__(564);
9284
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Button__["a"]; });
9285
+
9286
+
9287
+ /***/ }),
9288
+ /* 134 */
9289
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
9290
+
9291
+ "use strict";
9292
+ /* WEBPACK VAR INJECTION */(function(process) {/* unused harmony export styles */
9293
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
9294
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_slicedToArray__ = __webpack_require__(20);
9295
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_objectWithoutProperties__ = __webpack_require__(4);
9296
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react__ = __webpack_require__(0);
9297
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_react__);
9298
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types__ = __webpack_require__(2);
9299
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_prop_types__);
9300
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_clsx__ = __webpack_require__(5);
9301
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__material_ui_utils__ = __webpack_require__(7);
9302
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__utils_useControlled__ = __webpack_require__(41);
9303
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__FormControl_useFormControl__ = __webpack_require__(49);
9304
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__styles_withStyles__ = __webpack_require__(6);
9305
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__IconButton__ = __webpack_require__(42);
9306
+
9307
+
9308
+
9309
+
9310
+
9311
+
9312
+
9313
+
9314
+
9315
+
9316
+
9317
+ var styles = {
9318
+ root: {
9319
+ padding: 9
9320
+ },
9321
+ checked: {},
9322
+ disabled: {},
9323
+ input: {
9324
+ cursor: 'inherit',
9325
+ position: 'absolute',
9326
+ opacity: 0,
9327
+ width: '100%',
9328
+ height: '100%',
9329
+ top: 0,
9330
+ left: 0,
9331
+ margin: 0,
9332
+ padding: 0,
9333
+ zIndex: 1
9334
+ }
9335
+ };
9336
+ /**
9337
+ * @ignore - internal component.
9338
+ */
9339
+
9340
+ var SwitchBase = /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_3_react__["forwardRef"](function SwitchBase(props, ref) {
9341
+ var autoFocus = props.autoFocus,
9342
+ checkedProp = props.checked,
9343
+ checkedIcon = props.checkedIcon,
9344
+ classes = props.classes,
9345
+ className = props.className,
9346
+ defaultChecked = props.defaultChecked,
9347
+ disabledProp = props.disabled,
9348
+ icon = props.icon,
9349
+ id = props.id,
9350
+ inputProps = props.inputProps,
9351
+ inputRef = props.inputRef,
9352
+ name = props.name,
9353
+ onBlur = props.onBlur,
9354
+ onChange = props.onChange,
9355
+ onFocus = props.onFocus,
9356
+ readOnly = props.readOnly,
9357
+ required = props.required,
9358
+ tabIndex = props.tabIndex,
9359
+ type = props.type,
9360
+ value = props.value,
9361
+ other = Object(__WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_objectWithoutProperties__["a" /* default */])(props, ["autoFocus", "checked", "checkedIcon", "classes", "className", "defaultChecked", "disabled", "icon", "id", "inputProps", "inputRef", "name", "onBlur", "onChange", "onFocus", "readOnly", "required", "tabIndex", "type", "value"]);
9362
+
9363
+ var _useControlled = Object(__WEBPACK_IMPORTED_MODULE_7__utils_useControlled__["a" /* default */])({
9364
+ controlled: checkedProp,
9365
+ default: Boolean(defaultChecked),
9366
+ name: 'SwitchBase',
9367
+ state: 'checked'
9368
+ }),
9369
+ _useControlled2 = Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_slicedToArray__["a" /* default */])(_useControlled, 2),
9370
+ checked = _useControlled2[0],
9371
+ setCheckedState = _useControlled2[1];
9372
+
9373
+ var muiFormControl = Object(__WEBPACK_IMPORTED_MODULE_8__FormControl_useFormControl__["a" /* default */])();
9374
+
9375
+ var handleFocus = function handleFocus(event) {
9376
+ if (onFocus) {
9377
+ onFocus(event);
9378
+ }
9379
+
9380
+ if (muiFormControl && muiFormControl.onFocus) {
9381
+ muiFormControl.onFocus(event);
9382
+ }
9383
+ };
9384
+
9385
+ var handleBlur = function handleBlur(event) {
9386
+ if (onBlur) {
9387
+ onBlur(event);
9388
+ }
9389
+
9390
+ if (muiFormControl && muiFormControl.onBlur) {
9391
+ muiFormControl.onBlur(event);
9392
+ }
9393
+ };
9394
+
9395
+ var handleInputChange = function handleInputChange(event) {
9396
+ var newChecked = event.target.checked;
9397
+ setCheckedState(newChecked);
9398
+
9399
+ if (onChange) {
9400
+ // TODO v5: remove the second argument.
9401
+ onChange(event, newChecked);
9402
+ }
9403
+ };
9404
+
9405
+ var disabled = disabledProp;
9406
+
9407
+ if (muiFormControl) {
9408
+ if (typeof disabled === 'undefined') {
9409
+ disabled = muiFormControl.disabled;
9410
+ }
9411
+ }
9412
+
9413
+ var hasLabelFor = type === 'checkbox' || type === 'radio';
9414
+ return /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_3_react__["createElement"](__WEBPACK_IMPORTED_MODULE_10__IconButton__["a" /* default */], Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({
9415
+ component: "span",
9416
+ className: Object(__WEBPACK_IMPORTED_MODULE_5_clsx__["a" /* default */])(classes.root, className, checked && classes.checked, disabled && classes.disabled),
9417
+ disabled: disabled,
9418
+ tabIndex: null,
9419
+ role: undefined,
9420
+ onFocus: handleFocus,
9421
+ onBlur: handleBlur,
9422
+ ref: ref
9423
+ }, other), /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_3_react__["createElement"]("input", Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({
9424
+ autoFocus: autoFocus,
9425
+ checked: checkedProp,
9426
+ defaultChecked: defaultChecked,
9427
+ className: classes.input,
9428
+ disabled: disabled,
9429
+ id: hasLabelFor && id,
9430
+ name: name,
9431
+ onChange: handleInputChange,
9432
+ readOnly: readOnly,
9433
+ ref: inputRef,
9434
+ required: required,
9435
+ tabIndex: tabIndex,
9436
+ type: type,
9437
+ value: value
9438
+ }, inputProps)), checked ? checkedIcon : icon);
9439
+ }); // NB: If changed, please update Checkbox, Switch and Radio
9440
+ // so that the API documentation is updated.
9441
+
9442
+ process.env.NODE_ENV !== "production" ? SwitchBase.propTypes = {
9443
+ /**
9444
+ * If `true`, the `input` element will be focused during the first mount.
9445
+ */
9446
+ autoFocus: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.bool,
9447
+
9448
+ /**
9449
+ * If `true`, the component is checked.
9450
+ */
9451
+ checked: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.bool,
9452
+
9453
+ /**
9454
+ * The icon to display when the component is checked.
9455
+ */
9456
+ checkedIcon: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.node.isRequired,
9457
+
9458
+ /**
9459
+ * Override or extend the styles applied to the component.
9460
+ * See [CSS API](#css) below for more details.
9461
+ */
9462
+ classes: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.object.isRequired,
9463
+
9464
+ /**
9465
+ * @ignore
9466
+ */
9467
+ className: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.string,
9468
+
9469
+ /**
9470
+ * @ignore
9471
+ */
9472
+ defaultChecked: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.bool,
9473
+
9474
+ /**
9475
+ * If `true`, the switch will be disabled.
9476
+ */
9477
+ disabled: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.bool,
9478
+
9479
+ /**
9480
+ * The icon to display when the component is unchecked.
9481
+ */
9482
+ icon: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.node.isRequired,
9483
+
9484
+ /**
9485
+ * The id of the `input` element.
9486
+ */
9487
+ id: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.string,
9488
+
9489
+ /**
9490
+ * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
9491
+ */
9492
+ inputProps: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.object,
9493
+
9494
+ /**
9495
+ * Pass a ref to the `input` element.
9496
+ */
9497
+ inputRef: __WEBPACK_IMPORTED_MODULE_6__material_ui_utils__["j" /* refType */],
9498
+
9499
+ /*
9500
+ * @ignore
9501
+ */
9502
+ name: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.string,
9503
+
9504
+ /**
9505
+ * @ignore
9506
+ */
9507
+ onBlur: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.func,
9508
+
9509
+ /**
9510
+ * Callback fired when the state is changed.
9511
+ *
9512
+ * @param {object} event The event source of the callback.
9513
+ * You can pull out the new checked state by accessing `event.target.checked` (boolean).
9514
+ */
9515
+ onChange: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.func,
9516
+
9517
+ /**
9518
+ * @ignore
9519
+ */
9520
+ onFocus: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.func,
9521
+
9522
+ /**
9523
+ * It prevents the user from changing the value of the field
9524
+ * (not from interacting with the field).
9525
+ */
9526
+ readOnly: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.bool,
9527
+
9528
+ /**
9529
+ * If `true`, the `input` element will be required.
9530
+ */
9531
+ required: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.bool,
9532
+
9533
+ /**
9534
+ * @ignore
9535
+ */
9536
+ tabIndex: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.oneOfType([__WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.number, __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.string]),
9537
+
9538
+ /**
9539
+ * The input component prop `type`.
9540
+ */
9541
+ type: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.string.isRequired,
9542
+
9543
+ /**
9544
+ * The value of the component.
9545
+ */
9546
+ value: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.any
9547
+ } : void 0;
9548
+ /* harmony default export */ __webpack_exports__["a"] = (Object(__WEBPACK_IMPORTED_MODULE_9__styles_withStyles__["a" /* default */])(styles, {
9549
+ name: 'PrivateSwitchBase'
9550
+ })(SwitchBase));
9551
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
9552
+
9553
+ /***/ }),
9554
+ /* 135 */
9555
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
9556
+
9557
+ "use strict";
9558
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Chip__ = __webpack_require__(576);
9559
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Chip__["a"]; });
9560
+
9561
+
9562
+ /***/ }),
9563
+ /* 136 */
9564
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
9565
+
9566
+ "use strict";
9567
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ClickAwayListener__ = __webpack_require__(579);
9568
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__ClickAwayListener__["a"]; });
9569
+
9570
+
9571
+ /***/ }),
9572
+ /* 137 */
9573
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
9574
+
9575
+ "use strict";
9576
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Unstable_TrapFocus__ = __webpack_require__(585);
9577
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Unstable_TrapFocus__["a"]; });
9578
+
9579
+
9580
+ /***/ }),
9581
+ /* 138 */
9582
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
9583
+
9584
+ "use strict";
9585
+ /* WEBPACK VAR INJECTION */(function(process) {/* unused harmony export styles */
9586
+ /* harmony export (immutable) */ __webpack_exports__["c"] = isHorizontal;
9587
+ /* harmony export (immutable) */ __webpack_exports__["b"] = getAnchor;
9588
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
9589
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_objectWithoutProperties__ = __webpack_require__(4);
9590
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react__ = __webpack_require__(0);
9591
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react__);
9592
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types__ = __webpack_require__(2);
9593
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_prop_types__);
9594
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_clsx__ = __webpack_require__(5);
9595
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__Modal__ = __webpack_require__(68);
9596
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__Backdrop__ = __webpack_require__(89);
9597
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__styles_withStyles__ = __webpack_require__(6);
9598
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__Slide__ = __webpack_require__(139);
9599
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__Paper__ = __webpack_require__(22);
9600
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__utils_capitalize__ = __webpack_require__(9);
9601
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__styles_transitions__ = __webpack_require__(34);
9602
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__styles_useTheme__ = __webpack_require__(17);
9603
+
9604
+
9605
+
9606
+
9607
+
9608
+
9609
+
9610
+
9611
+
9612
+
9613
+
9614
+
9615
+
9616
+ var styles = function styles(theme) {
9617
+ return {
9618
+ /* Styles applied to the root element. */
9619
+ root: {},
9620
+
9621
+ /* Styles applied to the root element if `variant="permanent or persistent"`. */
9622
+ docked: {
9623
+ flex: '0 0 auto'
9624
+ },
9625
+
9626
+ /* Styles applied to the `Paper` component. */
9627
+ paper: {
9628
+ overflowY: 'auto',
9629
+ display: 'flex',
9630
+ flexDirection: 'column',
9631
+ height: '100%',
9632
+ flex: '1 0 auto',
9633
+ zIndex: theme.zIndex.drawer,
9634
+ WebkitOverflowScrolling: 'touch',
9635
+ // Add iOS momentum scrolling.
9636
+ // temporary style
9637
+ position: 'fixed',
9638
+ top: 0,
9639
+ // We disable the focus ring for mouse, touch and keyboard users.
9640
+ // At some point, it would be better to keep it for keyboard users.
9641
+ // :focus-ring CSS pseudo-class will help.
9642
+ outline: 0
9643
+ },
9644
+
9645
+ /* Styles applied to the `Paper` component if `anchor="left"`. */
9646
+ paperAnchorLeft: {
9647
+ left: 0,
9648
+ right: 'auto'
9649
+ },
9650
+
9651
+ /* Styles applied to the `Paper` component if `anchor="right"`. */
9652
+ paperAnchorRight: {
9653
+ left: 'auto',
9654
+ right: 0
9655
+ },
9656
+
9657
+ /* Styles applied to the `Paper` component if `anchor="top"`. */
9658
+ paperAnchorTop: {
9659
+ top: 0,
9660
+ left: 0,
9661
+ bottom: 'auto',
9662
+ right: 0,
9663
+ height: 'auto',
9664
+ maxHeight: '100%'
9665
+ },
9666
+
9667
+ /* Styles applied to the `Paper` component if `anchor="bottom"`. */
9668
+ paperAnchorBottom: {
9669
+ top: 'auto',
9670
+ left: 0,
9671
+ bottom: 0,
9672
+ right: 0,
9673
+ height: 'auto',
9674
+ maxHeight: '100%'
9675
+ },
9676
+
9677
+ /* Styles applied to the `Paper` component if `anchor="left"` and `variant` is not "temporary". */
9678
+ paperAnchorDockedLeft: {
9679
+ borderRight: "1px solid ".concat(theme.palette.divider)
9680
+ },
9681
+
9682
+ /* Styles applied to the `Paper` component if `anchor="top"` and `variant` is not "temporary". */
9683
+ paperAnchorDockedTop: {
9684
+ borderBottom: "1px solid ".concat(theme.palette.divider)
9685
+ },
9686
+
9687
+ /* Styles applied to the `Paper` component if `anchor="right"` and `variant` is not "temporary". */
9688
+ paperAnchorDockedRight: {
9689
+ borderLeft: "1px solid ".concat(theme.palette.divider)
9690
+ },
9691
+
9692
+ /* Styles applied to the `Paper` component if `anchor="bottom"` and `variant` is not "temporary". */
9693
+ paperAnchorDockedBottom: {
9694
+ borderTop: "1px solid ".concat(theme.palette.divider)
9695
+ },
9696
+
9697
+ /* Styles applied to the `Modal` component. */
9698
+ modal: {}
9699
+ };
9700
+ };
9701
+ var oppositeDirection = {
9702
+ left: 'right',
9703
+ right: 'left',
9704
+ top: 'down',
9705
+ bottom: 'up'
9706
+ };
9707
+ function isHorizontal(anchor) {
9708
+ return ['left', 'right'].indexOf(anchor) !== -1;
9709
+ }
9710
+ function getAnchor(theme, anchor) {
9711
+ return theme.direction === 'rtl' && isHorizontal(anchor) ? oppositeDirection[anchor] : anchor;
9712
+ }
9713
+ var defaultTransitionDuration = {
9714
+ enter: __WEBPACK_IMPORTED_MODULE_11__styles_transitions__["b" /* duration */].enteringScreen,
9715
+ exit: __WEBPACK_IMPORTED_MODULE_11__styles_transitions__["b" /* duration */].leavingScreen
9716
+ };
9717
+ /**
9718
+ * The props of the [Modal](/api/modal/) component are available
9719
+ * when `variant="temporary"` is set.
9720
+ */
9721
+
9722
+ var Drawer = /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_2_react__["forwardRef"](function Drawer(props, ref) {
9723
+ var _props$anchor = props.anchor,
9724
+ anchorProp = _props$anchor === void 0 ? 'left' : _props$anchor,
9725
+ BackdropProps = props.BackdropProps,
9726
+ children = props.children,
9727
+ classes = props.classes,
9728
+ className = props.className,
9729
+ _props$elevation = props.elevation,
9730
+ elevation = _props$elevation === void 0 ? 16 : _props$elevation,
9731
+ _props$ModalProps = props.ModalProps;
9732
+ _props$ModalProps = _props$ModalProps === void 0 ? {} : _props$ModalProps;
9733
+
9734
+ var BackdropPropsProp = _props$ModalProps.BackdropProps,
9735
+ ModalProps = Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_objectWithoutProperties__["a" /* default */])(_props$ModalProps, ["BackdropProps"]),
9736
+ onClose = props.onClose,
9737
+ _props$open = props.open,
9738
+ open = _props$open === void 0 ? false : _props$open,
9739
+ _props$PaperProps = props.PaperProps,
9740
+ PaperProps = _props$PaperProps === void 0 ? {} : _props$PaperProps,
9741
+ SlideProps = props.SlideProps,
9742
+ _props$TransitionComp = props.TransitionComponent,
9743
+ TransitionComponent = _props$TransitionComp === void 0 ? __WEBPACK_IMPORTED_MODULE_8__Slide__["a" /* default */] : _props$TransitionComp,
9744
+ _props$transitionDura = props.transitionDuration,
9745
+ transitionDuration = _props$transitionDura === void 0 ? defaultTransitionDuration : _props$transitionDura,
9746
+ _props$variant = props.variant,
9747
+ variant = _props$variant === void 0 ? 'temporary' : _props$variant,
9748
+ other = Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_objectWithoutProperties__["a" /* default */])(props, ["anchor", "BackdropProps", "children", "classes", "className", "elevation", "ModalProps", "onClose", "open", "PaperProps", "SlideProps", "TransitionComponent", "transitionDuration", "variant"]);
9749
+
9750
+ var theme = Object(__WEBPACK_IMPORTED_MODULE_12__styles_useTheme__["a" /* default */])(); // Let's assume that the Drawer will always be rendered on user space.
9751
+ // We use this state is order to skip the appear transition during the
9752
+ // initial mount of the component.
9753
+
9754
+ var mounted = __WEBPACK_IMPORTED_MODULE_2_react__["useRef"](false);
9755
+ __WEBPACK_IMPORTED_MODULE_2_react__["useEffect"](function () {
9756
+ mounted.current = true;
9757
+ }, []);
9758
+ var anchor = getAnchor(theme, anchorProp);
9759
+ var drawer = /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_2_react__["createElement"](__WEBPACK_IMPORTED_MODULE_9__Paper__["a" /* default */], Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({
9760
+ elevation: variant === 'temporary' ? elevation : 0,
9761
+ square: true
9762
+ }, PaperProps, {
9763
+ className: Object(__WEBPACK_IMPORTED_MODULE_4_clsx__["a" /* default */])(classes.paper, classes["paperAnchor".concat(Object(__WEBPACK_IMPORTED_MODULE_10__utils_capitalize__["a" /* default */])(anchor))], PaperProps.className, variant !== 'temporary' && classes["paperAnchorDocked".concat(Object(__WEBPACK_IMPORTED_MODULE_10__utils_capitalize__["a" /* default */])(anchor))])
9764
+ }), children);
9765
+
9766
+ if (variant === 'permanent') {
9767
+ return /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_2_react__["createElement"]("div", Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({
9768
+ className: Object(__WEBPACK_IMPORTED_MODULE_4_clsx__["a" /* default */])(classes.root, classes.docked, className),
9769
+ ref: ref
9770
+ }, other), drawer);
9771
+ }
9772
+
9773
+ var slidingDrawer = /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_2_react__["createElement"](TransitionComponent, Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({
9774
+ in: open,
9775
+ direction: oppositeDirection[anchor],
9776
+ timeout: transitionDuration,
9777
+ appear: mounted.current
9778
+ }, SlideProps), drawer);
9779
+
9780
+ if (variant === 'persistent') {
9781
+ return /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_2_react__["createElement"]("div", Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({
9782
+ className: Object(__WEBPACK_IMPORTED_MODULE_4_clsx__["a" /* default */])(classes.root, classes.docked, className),
9783
+ ref: ref
9784
+ }, other), slidingDrawer);
9785
+ } // variant === temporary
9786
+
9787
+
9788
+ return /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_2_react__["createElement"](__WEBPACK_IMPORTED_MODULE_5__Modal__["a" /* default */], Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({
9789
+ BackdropProps: Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({}, BackdropProps, BackdropPropsProp, {
9790
+ transitionDuration: transitionDuration
9791
+ }),
9792
+ BackdropComponent: __WEBPACK_IMPORTED_MODULE_6__Backdrop__["a" /* default */],
9793
+ className: Object(__WEBPACK_IMPORTED_MODULE_4_clsx__["a" /* default */])(classes.root, classes.modal, className),
9794
+ open: open,
9795
+ onClose: onClose,
9796
+ ref: ref
9797
+ }, other, ModalProps), slidingDrawer);
9798
+ });
9799
+ process.env.NODE_ENV !== "production" ? Drawer.propTypes = {
9800
+ // ----------------------------- Warning --------------------------------
9801
+ // | These PropTypes are generated from the TypeScript type definitions |
9802
+ // | To update them edit the d.ts file and run "yarn proptypes" |
9803
+ // ----------------------------------------------------------------------
9804
+
9805
+ /**
9806
+ * Side from which the drawer will appear.
9807
+ */
9808
+ anchor: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.oneOf(['bottom', 'left', 'right', 'top']),
9809
+
9810
+ /**
9811
+ * @ignore
9812
+ */
9813
+ BackdropProps: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object,
9814
+
9815
+ /**
9816
+ * The contents of the drawer.
9817
+ */
9818
+ children: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.node,
9819
+
9820
+ /**
9821
+ * Override or extend the styles applied to the component.
9822
+ * See [CSS API](#css) below for more details.
9823
+ */
9824
+ classes: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object,
9825
+
9826
+ /**
9827
+ * @ignore
9828
+ */
9829
+ className: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.string,
9830
+
9831
+ /**
9832
+ * The elevation of the drawer.
9833
+ */
9834
+ elevation: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.number,
9835
+
9836
+ /**
9837
+ * Props applied to the [`Modal`](/api/modal/) element.
9838
+ */
9839
+ ModalProps: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object,
9840
+
9841
+ /**
9842
+ * Callback fired when the component requests to be closed.
9843
+ *
9844
+ * @param {object} event The event source of the callback.
9845
+ */
9846
+ onClose: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.func,
9847
+
9848
+ /**
9849
+ * If `true`, the drawer is open.
9850
+ */
9851
+ open: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.bool,
9852
+
9853
+ /**
9854
+ * Props applied to the [`Paper`](/api/paper/) element.
9855
+ */
9856
+ PaperProps: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object,
9857
+
9858
+ /**
9859
+ * Props applied to the [`Slide`](/api/slide/) element.
9860
+ */
9861
+ SlideProps: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object,
9862
+
9863
+ /**
9864
+ * The duration for the transition, in milliseconds.
9865
+ * You may specify a single timeout for all transitions, or individually with an object.
9866
+ */
9867
+ transitionDuration: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.oneOfType([__WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.number, __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.shape({
9868
+ appear: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.number,
9869
+ enter: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.number,
9870
+ exit: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.number
9871
+ })]),
9872
+
9873
+ /**
9874
+ * The variant to use.
9875
+ */
9876
+ variant: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.oneOf(['permanent', 'persistent', 'temporary'])
9877
+ } : void 0;
9878
+ /* harmony default export */ __webpack_exports__["a"] = (Object(__WEBPACK_IMPORTED_MODULE_7__styles_withStyles__["a" /* default */])(styles, {
9879
+ name: 'MuiDrawer',
9880
+ flip: false
9881
+ })(Drawer));
9882
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
9883
+
9884
+ /***/ }),
9885
+ /* 139 */
9886
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
9887
+
9888
+ "use strict";
9889
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Slide__ = __webpack_require__(592);
9890
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Slide__["a"]; });
9891
+
9892
+
9893
+ /***/ }),
9894
+ /* 140 */
9895
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
9896
+
9897
+ "use strict";
9898
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TextareaAutosize__ = __webpack_require__(600);
9899
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__TextareaAutosize__["a"]; });
9900
+
9901
+
9902
+ /***/ }),
9903
+ /* 141 */
9904
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
9905
+
9906
+ "use strict";
9907
+ /* unused harmony export hasValue */
9908
+ /* harmony export (immutable) */ __webpack_exports__["b"] = isFilled;
9909
+ /* harmony export (immutable) */ __webpack_exports__["a"] = isAdornedStart;
9910
+ // Supports determination of isControlled().
9911
+ // Controlled input accepts its current value as a prop.
9912
+ //
9913
+ // @see https://facebook.github.io/react/docs/forms.html#controlled-components
9914
+ // @param value
9915
+ // @returns {boolean} true if string (including '') or number (including zero)
9916
+ function hasValue(value) {
9917
+ return value != null && !(Array.isArray(value) && value.length === 0);
9918
+ } // Determine if field is empty or filled.
9919
+ // Response determines if label is presented above field or as placeholder.
9920
+ //
9921
+ // @param obj
9922
+ // @param SSR
9923
+ // @returns {boolean} False when not present or empty string.
9924
+ // True when any number or string with length.
9925
+
9926
+ function isFilled(obj) {
9927
+ var SSR = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
9928
+ return obj && (hasValue(obj.value) && obj.value !== '' || SSR && hasValue(obj.defaultValue) && obj.defaultValue !== '');
9929
+ } // Determine if an Input is adorned on start.
9930
+ // It's corresponding to the left with LTR.
9931
+ //
9932
+ // @param obj
9933
+ // @returns {boolean} False when no adornments.
9934
+ // True when adorned at the start.
9935
+
9936
+ function isAdornedStart(obj) {
9937
+ return obj.startAdornment;
9938
+ }
9939
+
9940
+ /***/ }),
9941
+ /* 142 */
9942
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
9943
+
9944
+ "use strict";
9945
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__FormGroup__ = __webpack_require__(603);
9946
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__FormGroup__["a"]; });
9947
+
9948
+
9949
+ /***/ }),
9950
+ /* 143 */
9951
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
9952
+
9953
+ "use strict";
9954
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__FormHelperText__ = __webpack_require__(604);
9955
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__FormHelperText__["a"]; });
9956
+
9957
+
9958
+ /***/ }),
9959
+ /* 144 */
9960
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
9961
+
9962
+ "use strict";
9963
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__FormLabel__ = __webpack_require__(605);
9964
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__FormLabel__["a"]; });
9965
+
9966
+
9967
+ /***/ }),
9968
+ /* 145 */
9969
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
9970
+
9971
+ "use strict";
9972
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__useMediaQuery__ = __webpack_require__(613);
9973
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__useMediaQuery__["a"]; });
9974
+
9975
+
9976
+ /***/ }),
9977
+ /* 146 */
9978
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
9979
+
9980
+ "use strict";
9981
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__InputLabel__ = __webpack_require__(617);
9982
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__InputLabel__["a"]; });
9983
+
9984
+
9985
+ /***/ }),
9986
+ /* 147 */
9987
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
9988
+
9989
+ "use strict";
9990
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__LinearProgress__ = __webpack_require__(618);
9991
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__LinearProgress__["a"]; });
9992
+
9993
+
9994
+ /***/ }),
9995
+ /* 148 */
9996
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
9997
+
9998
+ "use strict";
9999
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__List__ = __webpack_require__(620);
10000
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__List__["a"]; });
10001
+
10002
+
10003
+ /***/ }),
10004
+ /* 149 */
10005
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
10006
+
10007
+ "use strict";
10008
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ListItem__ = __webpack_require__(621);
10009
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__ListItem__["a"]; });
10010
+
10011
+
10012
+ /***/ }),
10013
+ /* 150 */
10014
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
10015
+
10016
+ "use strict";
10017
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ListSubheader__ = __webpack_require__(626);
10018
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__ListSubheader__["a"]; });
10019
+
10020
+
10021
+ /***/ }),
10022
+ /* 151 */
10023
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
10024
+
10025
+ "use strict";
10026
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Popover__ = __webpack_require__(627);
10027
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Popover__["a"]; });
10028
+
10029
+
10030
+ /***/ }),
10031
+ /* 152 */
10032
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
10033
+
10034
+ "use strict";
10035
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__MenuList__ = __webpack_require__(628);
10036
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__MenuList__["a"]; });
10037
+
10038
+
10039
+ /***/ }),
10040
+ /* 153 */
10041
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
10042
+
10043
+ "use strict";
10044
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__MenuItem__ = __webpack_require__(629);
10045
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__MenuItem__["a"]; });
10046
+
10047
+
10048
+ /***/ }),
10049
+ /* 154 */
10050
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
10051
+
10052
+ "use strict";
10053
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__NoSsr__ = __webpack_require__(631);
10054
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__NoSsr__["a"]; });
10055
+
10056
+
10057
+ /***/ }),
10058
+ /* 155 */
10059
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
10060
+
10061
+ "use strict";
10062
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__SnackbarContent__ = __webpack_require__(651);
10063
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__SnackbarContent__["a"]; });
10064
+
10065
+
10066
+ /***/ }),
10067
+ /* 156 */
10068
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
10069
+
10070
+ "use strict";
10071
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__StepLabel__ = __webpack_require__(654);
10072
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__StepLabel__["a"]; });
10073
+
10074
+
10075
+ /***/ }),
10076
+ /* 157 */
10077
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
10078
+
10079
+ "use strict";
10080
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__StepIcon__ = __webpack_require__(655);
10081
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__StepIcon__["a"]; });
10082
+
10083
+
10084
+ /***/ }),
10085
+ /* 158 */
10086
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
10087
+
10088
+ "use strict";
10089
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__StepConnector__ = __webpack_require__(658);
10090
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__StepConnector__["a"]; });
10091
+
10092
+
10093
+ /***/ }),
10094
+ /* 159 */
10095
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
10096
+
10097
+ "use strict";
10098
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TableCell__ = __webpack_require__(667);
10099
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__TableCell__["a"]; });
10100
+
10101
+
10102
+ /***/ }),
10103
+ /* 160 */
10104
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
10105
+
10106
+ "use strict";
10107
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Toolbar__ = __webpack_require__(672);
10108
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Toolbar__["a"]; });
10109
+
10110
+
10111
+ /***/ }),
10112
+ /* 161 */
10113
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
10114
+
10115
+ "use strict";
10116
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Tabs__ = __webpack_require__(677);
10117
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Tabs__["a"]; });
10118
+
10119
+
10120
+ /***/ }),
10121
+ /* 162 */
10122
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
10123
+
10124
+ "use strict";
10125
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TabScrollButton__ = __webpack_require__(682);
10126
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__TabScrollButton__["a"]; });
10127
+
10128
+
10129
+ /***/ }),
10130
+ /* 163 */
10131
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
10132
+
10133
+ "use strict";
10134
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Zoom__ = __webpack_require__(687);
10135
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Zoom__["a"]; });
10136
+
10137
+
10138
+ /***/ }),
10139
+ /* 164 */
10140
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
10141
+
10142
+ "use strict";
10143
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__PaginationItem__ = __webpack_require__(693);
10144
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__PaginationItem__["a"]; });
10145
+
10146
+
10147
+ /***/ }),
10148
+ /* 165 */
10149
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
10150
+
10151
+ "use strict";
10152
+ /* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
10153
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
10154
+
10155
+ /**
10156
+ * @ignore - internal component.
10157
+ */
10158
+
10159
+ var TimelineItemContext = __WEBPACK_IMPORTED_MODULE_0_react__["createContext"]({});
10160
+
10161
+ if (process.env.NODE_ENV !== 'production') {
10162
+ TimelineItemContext.displayName = 'TimelineItemContext';
10163
+ }
10164
+
10165
+ /* harmony default export */ __webpack_exports__["a"] = (TimelineItemContext);
10166
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
10167
+
10168
+ /***/ }),
10169
+ /* 166 */
10170
+ /***/ (function(module, exports, __webpack_require__) {
10171
+
10172
+ var baseForOwn = __webpack_require__(355),
10173
+ castFunction = __webpack_require__(359);
10174
+
10175
+ /**
10176
+ * Iterates over own enumerable string keyed properties of an object and
10177
+ * invokes `iteratee` for each property. The iteratee is invoked with three
10178
+ * arguments: (value, key, object). Iteratee functions may exit iteration
10179
+ * early by explicitly returning `false`.
10180
+ *
10181
+ * @static
10182
+ * @memberOf _
10183
+ * @since 0.3.0
10184
+ * @category Object
10185
+ * @param {Object} object The object to iterate over.
10186
+ * @param {Function} [iteratee=_.identity] The function invoked per iteration.
10187
+ * @returns {Object} Returns `object`.
10188
+ * @see _.forOwnRight
10189
+ * @example
10190
+ *
10191
+ * function Foo() {
10192
+ * this.a = 1;
10193
+ * this.b = 2;
10194
+ * }
10195
+ *
10196
+ * Foo.prototype.c = 3;
10197
+ *
10198
+ * _.forOwn(new Foo, function(value, key) {
10199
+ * console.log(key);
10200
+ * });
10201
+ * // => Logs 'a' then 'b' (iteration order is not guaranteed).
10202
+ */
10203
+ function forOwn(object, iteratee) {
10204
+ return object && baseForOwn(object, castFunction(iteratee));
10205
+ }
10206
+
10207
+ module.exports = forOwn;
10208
+
10209
+
10210
+ /***/ }),
10211
+ /* 167 */
10212
+ /***/ (function(module, exports, __webpack_require__) {
10213
+
10214
+ var baseIsArguments = __webpack_require__(731),
10215
+ isObjectLike = __webpack_require__(35);
10216
+
10217
+ /** Used for built-in method references. */
10218
+ var objectProto = Object.prototype;
10219
+
10220
+ /** Used to check objects for own properties. */
10221
+ var hasOwnProperty = objectProto.hasOwnProperty;
10222
+
10223
+ /** Built-in value references. */
10224
+ var propertyIsEnumerable = objectProto.propertyIsEnumerable;
10225
+
10226
+ /**
10227
+ * Checks if `value` is likely an `arguments` object.
10228
+ *
10229
+ * @static
10230
+ * @memberOf _
10231
+ * @since 0.1.0
10232
+ * @category Lang
10233
+ * @param {*} value The value to check.
10234
+ * @returns {boolean} Returns `true` if `value` is an `arguments` object,
10235
+ * else `false`.
10236
+ * @example
10237
+ *
10238
+ * _.isArguments(function() { return arguments; }());
10239
+ * // => true
10240
+ *
10241
+ * _.isArguments([1, 2, 3]);
10242
+ * // => false
10243
+ */
10244
+ var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
10245
+ return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&
10246
+ !propertyIsEnumerable.call(value, 'callee');
10247
+ };
10248
+
10249
+ module.exports = isArguments;
10250
+
10251
+
10252
+ /***/ }),
10253
+ /* 168 */
10254
+ /***/ (function(module, exports) {
10255
+
10256
+ module.exports = function(module) {
10257
+ if(!module.webpackPolyfill) {
10258
+ module.deprecate = function() {};
10259
+ module.paths = [];
10260
+ // module.parent = undefined by default
10261
+ if(!module.children) module.children = [];
10262
+ Object.defineProperty(module, "loaded", {
10263
+ enumerable: true,
10264
+ get: function() {
10265
+ return module.l;
10266
  }
10267
+ });
10268
+ Object.defineProperty(module, "id", {
10269
+ enumerable: true,
10270
+ get: function() {
10271
+ return module.i;
 
 
 
 
 
 
 
 
10272
  }
10273
+ });
10274
+ module.webpackPolyfill = 1;
10275
  }
10276
+ return module;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10277
  };
10278
+
10279
+
10280
+ /***/ }),
10281
+ /* 169 */
10282
+ /***/ (function(module, exports) {
10283
+
10284
+ /** Used as references for various `Number` constants. */
10285
+ var MAX_SAFE_INTEGER = 9007199254740991;
10286
+
10287
+ /** Used to detect unsigned integer values. */
10288
+ var reIsUint = /^(?:0|[1-9]\d*)$/;
10289
+
10290
+ /**
10291
+ * Checks if `value` is a valid array-like index.
10292
+ *
10293
+ * @private
10294
+ * @param {*} value The value to check.
10295
+ * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
10296
+ * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
10297
+ */
10298
+ function isIndex(value, length) {
10299
+ var type = typeof value;
10300
+ length = length == null ? MAX_SAFE_INTEGER : length;
10301
+
10302
+ return !!length &&
10303
+ (type == 'number' ||
10304
+ (type != 'symbol' && reIsUint.test(value))) &&
10305
+ (value > -1 && value % 1 == 0 && value < length);
10306
+ }
10307
+
10308
+ module.exports = isIndex;
10309
+
10310
+
10311
+ /***/ }),
10312
+ /* 170 */
10313
+ /***/ (function(module, exports, __webpack_require__) {
10314
+
10315
+ var baseIsTypedArray = __webpack_require__(733),
10316
+ baseUnary = __webpack_require__(172),
10317
+ nodeUtil = __webpack_require__(173);
10318
+
10319
+ /* Node.js helper references. */
10320
+ var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
10321
+
10322
+ /**
10323
+ * Checks if `value` is classified as a typed array.
10324
+ *
10325
+ * @static
10326
+ * @memberOf _
10327
+ * @since 3.0.0
10328
+ * @category Lang
10329
+ * @param {*} value The value to check.
10330
+ * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
10331
+ * @example
10332
+ *
10333
+ * _.isTypedArray(new Uint8Array);
10334
+ * // => true
10335
+ *
10336
+ * _.isTypedArray([]);
10337
+ * // => false
10338
+ */
10339
+ var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
10340
+
10341
+ module.exports = isTypedArray;
10342
+
10343
+
10344
+ /***/ }),
10345
+ /* 171 */
10346
+ /***/ (function(module, exports) {
10347
+
10348
+ /** Used as references for various `Number` constants. */
10349
+ var MAX_SAFE_INTEGER = 9007199254740991;
10350
+
10351
+ /**
10352
+ * Checks if `value` is a valid array-like length.
10353
+ *
10354
+ * **Note:** This method is loosely based on
10355
+ * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
10356
+ *
10357
+ * @static
10358
+ * @memberOf _
10359
+ * @since 4.0.0
10360
+ * @category Lang
10361
+ * @param {*} value The value to check.
10362
+ * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
10363
+ * @example
10364
+ *
10365
+ * _.isLength(3);
10366
+ * // => true
10367
+ *
10368
+ * _.isLength(Number.MIN_VALUE);
10369
+ * // => false
10370
+ *
10371
+ * _.isLength(Infinity);
10372
+ * // => false
10373
+ *
10374
+ * _.isLength('3');
10375
+ * // => false
10376
+ */
10377
+ function isLength(value) {
10378
+ return typeof value == 'number' &&
10379
+ value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
10380
+ }
10381
+
10382
+ module.exports = isLength;
10383
+
10384
+
10385
+ /***/ }),
10386
+ /* 172 */
10387
+ /***/ (function(module, exports) {
10388
+
10389
+ /**
10390
+ * The base implementation of `_.unary` without support for storing metadata.
10391
+ *
10392
+ * @private
10393
+ * @param {Function} func The function to cap arguments for.
10394
+ * @returns {Function} Returns the new capped function.
10395
+ */
10396
+ function baseUnary(func) {
10397
+ return function(value) {
10398
+ return func(value);
10399
+ };
10400
+ }
10401
+
10402
+ module.exports = baseUnary;
10403
+
10404
+
10405
+ /***/ }),
10406
+ /* 173 */
10407
+ /***/ (function(module, exports, __webpack_require__) {
10408
+
10409
+ /* WEBPACK VAR INJECTION */(function(module) {var freeGlobal = __webpack_require__(354);
10410
+
10411
+ /** Detect free variable `exports`. */
10412
+ var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;
10413
+
10414
+ /** Detect free variable `module`. */
10415
+ var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;
10416
+
10417
+ /** Detect the popular CommonJS extension `module.exports`. */
10418
+ var moduleExports = freeModule && freeModule.exports === freeExports;
10419
+
10420
+ /** Detect free variable `process` from Node.js. */
10421
+ var freeProcess = moduleExports && freeGlobal.process;
10422
+
10423
+ /** Used to access faster Node.js helpers. */
10424
+ var nodeUtil = (function() {
10425
+ try {
10426
+ // Use `util.types` for Node.js 10+.
10427
+ var types = freeModule && freeModule.require && freeModule.require('util').types;
10428
+
10429
+ if (types) {
10430
+ return types;
10431
+ }
10432
+
10433
+ // Legacy `process.binding('util')` for Node.js < 10.
10434
+ return freeProcess && freeProcess.binding && freeProcess.binding('util');
10435
+ } catch (e) {}
10436
+ }());
10437
+
10438
+ module.exports = nodeUtil;
10439
+
10440
+ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(168)(module)))
10441
+
10442
+ /***/ }),
10443
+ /* 174 */
10444
+ /***/ (function(module, exports) {
10445
+
10446
+ /** Used for built-in method references. */
10447
+ var objectProto = Object.prototype;
10448
+
10449
+ /**
10450
+ * Checks if `value` is likely a prototype object.
10451
+ *
10452
+ * @private
10453
+ * @param {*} value The value to check.
10454
+ * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
10455
+ */
10456
+ function isPrototype(value) {
10457
+ var Ctor = value && value.constructor,
10458
+ proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;
10459
+
10460
+ return value === proto;
10461
+ }
10462
+
10463
+ module.exports = isPrototype;
10464
+
10465
+
10466
+ /***/ }),
10467
+ /* 175 */
10468
+ /***/ (function(module, exports, __webpack_require__) {
10469
+
10470
+ var baseGetTag = __webpack_require__(50),
10471
+ isObject = __webpack_require__(27);
10472
+
10473
+ /** `Object#toString` result references. */
10474
+ var asyncTag = '[object AsyncFunction]',
10475
+ funcTag = '[object Function]',
10476
+ genTag = '[object GeneratorFunction]',
10477
+ proxyTag = '[object Proxy]';
10478
+
10479
+ /**
10480
+ * Checks if `value` is classified as a `Function` object.
10481
+ *
10482
+ * @static
10483
+ * @memberOf _
10484
+ * @since 0.1.0
10485
+ * @category Lang
10486
+ * @param {*} value The value to check.
10487
+ * @returns {boolean} Returns `true` if `value` is a function, else `false`.
10488
+ * @example
10489
+ *
10490
+ * _.isFunction(_);
10491
+ * // => true
10492
+ *
10493
+ * _.isFunction(/abc/);
10494
+ * // => false
10495
+ */
10496
+ function isFunction(value) {
10497
+ if (!isObject(value)) {
10498
+ return false;
10499
+ }
10500
+ // The use of `Object#toString` avoids issues with the `typeof` operator
10501
+ // in Safari 9 which returns 'object' for typed arrays and other constructors.
10502
+ var tag = baseGetTag(value);
10503
+ return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
10504
+ }
10505
+
10506
+ module.exports = isFunction;
10507
+
10508
+
10509
+ /***/ }),
10510
+ /* 176 */
10511
+ /***/ (function(module, exports, __webpack_require__) {
10512
+
10513
+ var overArg = __webpack_require__(358);
10514
+
10515
+ /** Built-in value references. */
10516
+ var getPrototype = overArg(Object.getPrototypeOf, Object);
10517
+
10518
+ module.exports = getPrototype;
10519
+
10520
+
10521
+ /***/ }),
10522
+ /* 177 */
10523
+ /***/ (function(module, exports, __webpack_require__) {
10524
+
10525
+ var getNative = __webpack_require__(51),
10526
+ root = __webpack_require__(30);
10527
+
10528
+ /* Built-in method references that are verified to be native. */
10529
+ var Map = getNative(root, 'Map');
10530
+
10531
+ module.exports = Map;
10532
+
10533
+
10534
+ /***/ }),
10535
+ /* 178 */
10536
+ /***/ (function(module, exports, __webpack_require__) {
10537
+
10538
+ var mapCacheClear = __webpack_require__(753),
10539
+ mapCacheDelete = __webpack_require__(760),
10540
+ mapCacheGet = __webpack_require__(762),
10541
+ mapCacheHas = __webpack_require__(763),
10542
+ mapCacheSet = __webpack_require__(764);
10543
+
10544
+ /**
10545
+ * Creates a map cache object to store key-value pairs.
10546
+ *
10547
+ * @private
10548
+ * @constructor
10549
+ * @param {Array} [entries] The key-value pairs to cache.
10550
+ */
10551
+ function MapCache(entries) {
10552
+ var index = -1,
10553
+ length = entries == null ? 0 : entries.length;
10554
+
10555
+ this.clear();
10556
+ while (++index < length) {
10557
+ var entry = entries[index];
10558
+ this.set(entry[0], entry[1]);
10559
+ }
10560
+ }
10561
+
10562
+ // Add methods to `MapCache`.
10563
+ MapCache.prototype.clear = mapCacheClear;
10564
+ MapCache.prototype['delete'] = mapCacheDelete;
10565
+ MapCache.prototype.get = mapCacheGet;
10566
+ MapCache.prototype.has = mapCacheHas;
10567
+ MapCache.prototype.set = mapCacheSet;
10568
+
10569
+ module.exports = MapCache;
10570
+
10571
+
10572
+ /***/ }),
10573
+ /* 179 */
10574
+ /***/ (function(module, exports, __webpack_require__) {
10575
+
10576
+ var arrayFilter = __webpack_require__(775),
10577
+ stubArray = __webpack_require__(369);
10578
+
10579
+ /** Used for built-in method references. */
10580
+ var objectProto = Object.prototype;
10581
+
10582
+ /** Built-in value references. */
10583
+ var propertyIsEnumerable = objectProto.propertyIsEnumerable;
10584
+
10585
+ /* Built-in method references for those with the same name as other `lodash` methods. */
10586
+ var nativeGetSymbols = Object.getOwnPropertySymbols;
10587
+
10588
+ /**
10589
+ * Creates an array of the own enumerable symbols of `object`.
10590
+ *
10591
+ * @private
10592
+ * @param {Object} object The object to query.
10593
+ * @returns {Array} Returns the array of symbols.
10594
+ */
10595
+ var getSymbols = !nativeGetSymbols ? stubArray : function(object) {
10596
+ if (object == null) {
10597
+ return [];
10598
+ }
10599
+ object = Object(object);
10600
+ return arrayFilter(nativeGetSymbols(object), function(symbol) {
10601
+ return propertyIsEnumerable.call(object, symbol);
10602
+ });
10603
+ };
10604
+
10605
+ module.exports = getSymbols;
10606
+
10607
+
10608
+ /***/ }),
10609
+ /* 180 */
10610
+ /***/ (function(module, exports, __webpack_require__) {
10611
+
10612
+ var isArray = __webpack_require__(25),
10613
+ isSymbol = __webpack_require__(111);
10614
+
10615
+ /** Used to match property names within property paths. */
10616
+ var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
10617
+ reIsPlainProp = /^\w*$/;
10618
+
10619
+ /**
10620
+ * Checks if `value` is a property name and not a property path.
10621
+ *
10622
+ * @private
10623
+ * @param {*} value The value to check.
10624
+ * @param {Object} [object] The object to query keys on.
10625
+ * @returns {boolean} Returns `true` if `value` is a property name, else `false`.
10626
+ */
10627
+ function isKey(value, object) {
10628
+ if (isArray(value)) {
10629
+ return false;
10630
+ }
10631
+ var type = typeof value;
10632
+ if (type == 'number' || type == 'symbol' || type == 'boolean' ||
10633
+ value == null || isSymbol(value)) {
10634
+ return true;
10635
+ }
10636
+ return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||
10637
+ (object != null && value in Object(object));
10638
+ }
10639
+
10640
+ module.exports = isKey;
10641
+
10642
+
10643
+ /***/ }),
10644
+ /* 181 */
10645
+ /***/ (function(module, exports, __webpack_require__) {
10646
+
10647
+ var defineProperty = __webpack_require__(377);
10648
+
10649
+ /**
10650
+ * The base implementation of `assignValue` and `assignMergeValue` without
10651
+ * value checks.
10652
+ *
10653
+ * @private
10654
+ * @param {Object} object The object to modify.
10655
+ * @param {string} key The key of the property to assign.
10656
+ * @param {*} value The value to assign.
10657
+ */
10658
+ function baseAssignValue(object, key, value) {
10659
+ if (key == '__proto__' && defineProperty) {
10660
+ defineProperty(object, key, {
10661
+ 'configurable': true,
10662
+ 'enumerable': true,
10663
+ 'value': value,
10664
+ 'writable': true
10665
+ });
10666
+ } else {
10667
+ object[key] = value;
10668
+ }
10669
+ }
10670
+
10671
+ module.exports = baseAssignValue;
10672
+
10673
+
10674
+ /***/ }),
10675
+ /* 182 */
10676
+ /***/ (function(module, exports, __webpack_require__) {
10677
+
10678
+ var Uint8Array = __webpack_require__(365);
10679
+
10680
+ /**
10681
+ * Creates a clone of `arrayBuffer`.
10682
+ *
10683
+ * @private
10684
+ * @param {ArrayBuffer} arrayBuffer The array buffer to clone.
10685
+ * @returns {ArrayBuffer} Returns the cloned array buffer.
10686
+ */
10687
+ function cloneArrayBuffer(arrayBuffer) {
10688
+ var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
10689
+ new Uint8Array(result).set(new Uint8Array(arrayBuffer));
10690
+ return result;
10691
+ }
10692
+
10693
+ module.exports = cloneArrayBuffer;
10694
+
10695
+
10696
+ /***/ }),
10697
+ /* 183 */
10698
+ /***/ (function(module, exports, __webpack_require__) {
10699
+
10700
+ "use strict";
10701
+
10702
+
10703
+ Object.defineProperty(exports, "__esModule", {
10704
+ value: true
10705
+ });
10706
+ exports.Checkboard = undefined;
10707
+
10708
+ 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; };
10709
+
10710
+ var _react = __webpack_require__(0);
10711
+
10712
+ var _react2 = _interopRequireDefault(_react);
10713
+
10714
+ var _reactcss = __webpack_require__(8);
10715
+
10716
+ var _reactcss2 = _interopRequireDefault(_reactcss);
10717
+
10718
+ var _checkboard = __webpack_require__(822);
10719
+
10720
+ var checkboard = _interopRequireWildcard(_checkboard);
10721
+
10722
+ function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }
10723
+
10724
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10725
+
10726
+ var Checkboard = exports.Checkboard = function Checkboard(_ref) {
10727
+ var white = _ref.white,
10728
+ grey = _ref.grey,
10729
+ size = _ref.size,
10730
+ renderers = _ref.renderers,
10731
+ borderRadius = _ref.borderRadius,
10732
+ boxShadow = _ref.boxShadow,
10733
+ children = _ref.children;
10734
+
10735
+ var styles = (0, _reactcss2.default)({
10736
+ 'default': {
10737
+ grid: {
10738
+ borderRadius: borderRadius,
10739
+ boxShadow: boxShadow,
10740
+ absolute: '0px 0px 0px 0px',
10741
+ background: 'url(' + checkboard.get(white, grey, size, renderers.canvas) + ') center left'
10742
+ }
10743
+ }
10744
+ });
10745
+ return (0, _react.isValidElement)(children) ? _react2.default.cloneElement(children, _extends({}, children.props, { style: _extends({}, children.props.style, styles.grid) })) : _react2.default.createElement('div', { style: styles.grid });
10746
+ };
10747
+
10748
+ Checkboard.defaultProps = {
10749
+ size: 8,
10750
+ white: 'transparent',
10751
+ grey: 'rgba(0,0,0,.08)',
10752
+ renderers: {}
10753
+ };
10754
+
10755
+ exports.default = Checkboard;
10756
+
10757
+ /***/ }),
10758
+ /* 184 */
10759
+ /***/ (function(module, exports, __webpack_require__) {
10760
+
10761
+ "use strict";
10762
+ /* WEBPACK VAR INJECTION */(function(process) {
10763
+
10764
+ if (process.env.NODE_ENV === 'production') {
10765
+ module.exports = __webpack_require__(392);
10766
+ } else {
10767
+ module.exports = __webpack_require__(393);
10768
+ }
10769
+
10770
+ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)))
10771
+
10772
+ /***/ }),
10773
+ /* 185 */
10774
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
10775
+
10776
+ "use strict";
10777
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
10778
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
10779
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_prop_types__ = __webpack_require__(2);
10780
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_prop_types__);
10781
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_invariant__ = __webpack_require__(44);
10782
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_invariant___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_invariant__);
10783
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_history__ = __webpack_require__(53);
10784
+ 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; };
10785
+
10786
+ 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; }
10787
+
10788
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
10789
+
10790
+ 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; }
10791
+
10792
+ 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; }
10793
+
10794
+
10795
+
10796
+
10797
+
10798
+
10799
+ var isModifiedEvent = function isModifiedEvent(event) {
10800
+ return !!(event.metaKey || event.altKey || event.ctrlKey || event.shiftKey);
10801
+ };
10802
+
10803
+ /**
10804
+ * The public API for rendering a history-aware <a>.
10805
+ */
10806
+
10807
+ var Link = function (_React$Component) {
10808
+ _inherits(Link, _React$Component);
10809
+
10810
+ function Link() {
10811
+ var _temp, _this, _ret;
10812
+
10813
+ _classCallCheck(this, Link);
10814
+
10815
+ for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
10816
+ args[_key] = arguments[_key];
10817
+ }
10818
+
10819
+ return _ret = (_temp = (_this = _possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.handleClick = function (event) {
10820
+ if (_this.props.onClick) _this.props.onClick(event);
10821
+
10822
+ if (!event.defaultPrevented && // onClick prevented default
10823
+ event.button === 0 && // ignore everything but left clicks
10824
+ !_this.props.target && // let browser handle "target=_blank" etc.
10825
+ !isModifiedEvent(event) // ignore clicks with modifier keys
10826
+ ) {
10827
+ event.preventDefault();
10828
+
10829
+ var history = _this.context.router.history;
10830
+ var _this$props = _this.props,
10831
+ replace = _this$props.replace,
10832
+ to = _this$props.to;
10833
+
10834
+
10835
+ if (replace) {
10836
+ history.replace(to);
10837
+ } else {
10838
+ history.push(to);
10839
+ }
10840
+ }
10841
+ }, _temp), _possibleConstructorReturn(_this, _ret);
10842
+ }
10843
+
10844
+ Link.prototype.render = function render() {
10845
+ var _props = this.props,
10846
+ replace = _props.replace,
10847
+ to = _props.to,
10848
+ innerRef = _props.innerRef,
10849
+ props = _objectWithoutProperties(_props, ["replace", "to", "innerRef"]); // eslint-disable-line no-unused-vars
10850
+
10851
+ __WEBPACK_IMPORTED_MODULE_2_invariant___default()(this.context.router, "You should not use <Link> outside a <Router>");
10852
+
10853
+ __WEBPACK_IMPORTED_MODULE_2_invariant___default()(to !== undefined, 'You must specify the "to" property');
10854
+
10855
+ var history = this.context.router.history;
10856
+
10857
+ var location = typeof to === "string" ? Object(__WEBPACK_IMPORTED_MODULE_3_history__["c" /* createLocation */])(to, null, null, history.location) : to;
10858
+
10859
+ var href = history.createHref(location);
10860
+ return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("a", _extends({}, props, { onClick: this.handleClick, href: href, ref: innerRef }));
10861
+ };
10862
+
10863
+ return Link;
10864
+ }(__WEBPACK_IMPORTED_MODULE_0_react___default.a.Component);
10865
+
10866
+ Link.propTypes = {
10867
+ onClick: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.func,
10868
+ target: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.string,
10869
+ replace: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.bool,
10870
+ to: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.oneOfType([__WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.string, __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.object]).isRequired,
10871
+ innerRef: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.oneOfType([__WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.string, __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.func])
10872
+ };
10873
+ Link.defaultProps = {
10874
+ replace: false
10875
+ };
10876
+ Link.contextTypes = {
10877
+ router: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.shape({
10878
+ history: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.shape({
10879
+ push: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.func.isRequired,
10880
+ replace: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.func.isRequired,
10881
+ createHref: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.func.isRequired
10882
+ }).isRequired
10883
+ }).isRequired
10884
+ };
10885
+
10886
+
10887
+ /* harmony default export */ __webpack_exports__["a"] = (Link);
10888
+
10889
+ /***/ }),
10890
+ /* 186 */
10891
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
10892
+
10893
+ "use strict";
10894
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react_router_es_Route__ = __webpack_require__(187);
10895
+ // Written in this round about way for babel-transform-imports
10896
+
10897
+
10898
+ /* harmony default export */ __webpack_exports__["a"] = (__WEBPACK_IMPORTED_MODULE_0_react_router_es_Route__["a" /* default */]);
10899
+
10900
+ /***/ }),
10901
+ /* 187 */
10902
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
10903
+
10904
+ "use strict";
10905
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_warning__ = __webpack_require__(40);
10906
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_warning___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_warning__);
10907
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_invariant__ = __webpack_require__(44);
10908
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_invariant___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_invariant__);
10909
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react__ = __webpack_require__(0);
10910
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react__);
10911
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types__ = __webpack_require__(2);
10912
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_prop_types__);
10913
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__matchPath__ = __webpack_require__(118);
10914
+ 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; };
10915
+
10916
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
10917
+
10918
+ 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; }
10919
+
10920
+ 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; }
10921
+
10922
+
10923
+
10924
+
10925
+
10926
+
10927
+
10928
+ var isEmptyChildren = function isEmptyChildren(children) {
10929
+ return __WEBPACK_IMPORTED_MODULE_2_react___default.a.Children.count(children) === 0;
10930
+ };
10931
+
10932
+ /**
10933
+ * The public API for matching a single path and rendering.
10934
+ */
10935
+
10936
+ var Route = function (_React$Component) {
10937
+ _inherits(Route, _React$Component);
10938
+
10939
+ function Route() {
10940
+ var _temp, _this, _ret;
10941
+
10942
+ _classCallCheck(this, Route);
10943
+
10944
+ for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
10945
+ args[_key] = arguments[_key];
10946
+ }
10947
+
10948
+ return _ret = (_temp = (_this = _possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.state = {
10949
+ match: _this.computeMatch(_this.props, _this.context.router)
10950
+ }, _temp), _possibleConstructorReturn(_this, _ret);
10951
+ }
10952
+
10953
+ Route.prototype.getChildContext = function getChildContext() {
10954
+ return {
10955
+ router: _extends({}, this.context.router, {
10956
+ route: {
10957
+ location: this.props.location || this.context.router.route.location,
10958
+ match: this.state.match
10959
+ }
10960
+ })
10961
+ };
10962
+ };
10963
+
10964
+ Route.prototype.computeMatch = function computeMatch(_ref, router) {
10965
+ var computedMatch = _ref.computedMatch,
10966
+ location = _ref.location,
10967
+ path = _ref.path,
10968
+ strict = _ref.strict,
10969
+ exact = _ref.exact,
10970
+ sensitive = _ref.sensitive;
10971
+
10972
+ if (computedMatch) return computedMatch; // <Switch> already computed the match for us
10973
+
10974
+ __WEBPACK_IMPORTED_MODULE_1_invariant___default()(router, "You should not use <Route> or withRouter() outside a <Router>");
10975
+
10976
+ var route = router.route;
10977
+
10978
+ var pathname = (location || route.location).pathname;
10979
+
10980
+ return Object(__WEBPACK_IMPORTED_MODULE_4__matchPath__["a" /* default */])(pathname, { path: path, strict: strict, exact: exact, sensitive: sensitive }, route.match);
10981
+ };
10982
+
10983
+ Route.prototype.componentWillMount = function componentWillMount() {
10984
+ __WEBPACK_IMPORTED_MODULE_0_warning___default()(!(this.props.component && this.props.render), "You should not use <Route component> and <Route render> in the same route; <Route render> will be ignored");
10985
+
10986
+ __WEBPACK_IMPORTED_MODULE_0_warning___default()(!(this.props.component && this.props.children && !isEmptyChildren(this.props.children)), "You should not use <Route component> and <Route children> in the same route; <Route children> will be ignored");
10987
+
10988
+ __WEBPACK_IMPORTED_MODULE_0_warning___default()(!(this.props.render && this.props.children && !isEmptyChildren(this.props.children)), "You should not use <Route render> and <Route children> in the same route; <Route children> will be ignored");
10989
+ };
10990
+
10991
+ Route.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps, nextContext) {
10992
+ __WEBPACK_IMPORTED_MODULE_0_warning___default()(!(nextProps.location && !this.props.location), '<Route> elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.');
10993
+
10994
+ __WEBPACK_IMPORTED_MODULE_0_warning___default()(!(!nextProps.location && this.props.location), '<Route> elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.');
10995
+
10996
+ this.setState({
10997
+ match: this.computeMatch(nextProps, nextContext.router)
10998
+ });
10999
+ };
11000
+
11001
+ Route.prototype.render = function render() {
11002
+ var match = this.state.match;
11003
+ var _props = this.props,
11004
+ children = _props.children,
11005
+ component = _props.component,
11006
+ render = _props.render;
11007
+ var _context$router = this.context.router,
11008
+ history = _context$router.history,
11009
+ route = _context$router.route,
11010
+ staticContext = _context$router.staticContext;
11011
+
11012
+ var location = this.props.location || route.location;
11013
+ var props = { match: match, location: location, history: history, staticContext: staticContext };
11014
+
11015
+ if (component) return match ? __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(component, props) : null;
11016
+
11017
+ if (render) return match ? render(props) : null;
11018
+
11019
+ if (typeof children === "function") return children(props);
11020
+
11021
+ if (children && !isEmptyChildren(children)) return __WEBPACK_IMPORTED_MODULE_2_react___default.a.Children.only(children);
11022
+
11023
+ return null;
11024
+ };
11025
+
11026
+ return Route;
11027
+ }(__WEBPACK_IMPORTED_MODULE_2_react___default.a.Component);
11028
+
11029
+ Route.propTypes = {
11030
+ computedMatch: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object, // private, from <Switch>
11031
+ path: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.string,
11032
+ exact: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.bool,
11033
+ strict: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.bool,
11034
+ sensitive: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.bool,
11035
+ component: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.func,
11036
+ render: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.func,
11037
+ children: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.oneOfType([__WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.func, __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.node]),
11038
+ location: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object
11039
+ };
11040
+ Route.contextTypes = {
11041
+ router: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.shape({
11042
+ history: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object.isRequired,
11043
+ route: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object.isRequired,
11044
+ staticContext: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object
11045
+ })
11046
+ };
11047
+ Route.childContextTypes = {
11048
+ router: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object.isRequired
11049
+ };
11050
+
11051
+
11052
+ /* harmony default export */ __webpack_exports__["a"] = (Route);
11053
+
11054
+ /***/ }),
11055
+ /* 188 */
11056
+ /***/ (function(module, exports, __webpack_require__) {
11057
+
11058
+ var isarray = __webpack_require__(410)
11059
+
11060
+ /**
11061
+ * Expose `pathToRegexp`.
11062
+ */
11063
+ module.exports = pathToRegexp
11064
+ module.exports.parse = parse
11065
+ module.exports.compile = compile
11066
+ module.exports.tokensToFunction = tokensToFunction
11067
+ module.exports.tokensToRegExp = tokensToRegExp
11068
+
11069
+ /**
11070
+ * The main path matching regexp utility.
11071
+ *
11072
+ * @type {RegExp}
11073
+ */
11074
+ var PATH_REGEXP = new RegExp([
11075
+ // Match escaped characters that would otherwise appear in future matches.
11076
+ // This allows the user to escape special characters that won't transform.
11077
+ '(\\\\.)',
11078
+ // Match Express-style parameters and un-named parameters with a prefix
11079
+ // and optional suffixes. Matches appear as:
11080
+ //
11081
+ // "/:test(\\d+)?" => ["/", "test", "\d+", undefined, "?", undefined]
11082
+ // "/route(\\d+)" => [undefined, undefined, undefined, "\d+", undefined, undefined]
11083
+ // "/*" => ["/", undefined, undefined, undefined, undefined, "*"]
11084
+ '([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))'
11085
+ ].join('|'), 'g')
11086
+
11087
+ /**
11088
+ * Parse a string for the raw tokens.
11089
+ *
11090
+ * @param {string} str
11091
+ * @param {Object=} options
11092
+ * @return {!Array}
11093
+ */
11094
+ function parse (str, options) {
11095
+ var tokens = []
11096
+ var key = 0
11097
+ var index = 0
11098
+ var path = ''
11099
+ var defaultDelimiter = options && options.delimiter || '/'
11100
+ var res
11101
+
11102
+ while ((res = PATH_REGEXP.exec(str)) != null) {
11103
+ var m = res[0]
11104
+ var escaped = res[1]
11105
+ var offset = res.index
11106
+ path += str.slice(index, offset)
11107
+ index = offset + m.length
11108
+
11109
+ // Ignore already escaped sequences.
11110
+ if (escaped) {
11111
+ path += escaped[1]
11112
+ continue
11113
+ }
11114
+
11115
+ var next = str[index]
11116
+ var prefix = res[2]
11117
+ var name = res[3]
11118
+ var capture = res[4]
11119
+ var group = res[5]
11120
+ var modifier = res[6]
11121
+ var asterisk = res[7]
11122
+
11123
+ // Push the current path onto the tokens.
11124
+ if (path) {
11125
+ tokens.push(path)
11126
+ path = ''
11127
+ }
11128
+
11129
+ var partial = prefix != null && next != null && next !== prefix
11130
+ var repeat = modifier === '+' || modifier === '*'
11131
+ var optional = modifier === '?' || modifier === '*'
11132
+ var delimiter = res[2] || defaultDelimiter
11133
+ var pattern = capture || group
11134
+
11135
+ tokens.push({
11136
+ name: name || key++,
11137
+ prefix: prefix || '',
11138
+ delimiter: delimiter,
11139
+ optional: optional,
11140
+ repeat: repeat,
11141
+ partial: partial,
11142
+ asterisk: !!asterisk,
11143
+ pattern: pattern ? escapeGroup(pattern) : (asterisk ? '.*' : '[^' + escapeString(delimiter) + ']+?')
11144
+ })
11145
+ }
11146
+
11147
+ // Match any characters still remaining.
11148
+ if (index < str.length) {
11149
+ path += str.substr(index)
11150
+ }
11151
+
11152
+ // If the path exists, push it onto the end.
11153
+ if (path) {
11154
+ tokens.push(path)
11155
+ }
11156
+
11157
+ return tokens
11158
+ }
11159
+
11160
+ /**
11161
+ * Compile a string to a template function for the path.
11162
+ *
11163
+ * @param {string} str
11164
+ * @param {Object=} options
11165
+ * @return {!function(Object=, Object=)}
11166
+ */
11167
+ function compile (str, options) {
11168
+ return tokensToFunction(parse(str, options), options)
11169
+ }
11170
+
11171
+ /**
11172
+ * Prettier encoding of URI path segments.
11173
+ *
11174
+ * @param {string}
11175
+ * @return {string}
11176
+ */
11177
+ function encodeURIComponentPretty (str) {
11178
+ return encodeURI(str).replace(/[\/?#]/g, function (c) {
11179
+ return '%' + c.charCodeAt(0).toString(16).toUpperCase()
11180
+ })
11181
+ }
11182
+
11183
+ /**
11184
+ * Encode the asterisk parameter. Similar to `pretty`, but allows slashes.
11185
+ *
11186
+ * @param {string}
11187
+ * @return {string}
11188
+ */
11189
+ function encodeAsterisk (str) {
11190
+ return encodeURI(str).replace(/[?#]/g, function (c) {
11191
+ return '%' + c.charCodeAt(0).toString(16).toUpperCase()
11192
+ })
11193
+ }
11194
+
11195
+ /**
11196
+ * Expose a method for transforming tokens into the path function.
11197
+ */
11198
+ function tokensToFunction (tokens, options) {
11199
+ // Compile all the tokens into regexps.
11200
+ var matches = new Array(tokens.length)
11201
+
11202
+ // Compile all the patterns before compilation.
11203
+ for (var i = 0; i < tokens.length; i++) {
11204
+ if (typeof tokens[i] === 'object') {
11205
+ matches[i] = new RegExp('^(?:' + tokens[i].pattern + ')$', flags(options))
11206
+ }
11207
+ }
11208
+
11209
+ return function (obj, opts) {
11210
+ var path = ''
11211
+ var data = obj || {}
11212
+ var options = opts || {}
11213
+ var encode = options.pretty ? encodeURIComponentPretty : encodeURIComponent
11214
+
11215
+ for (var i = 0; i < tokens.length; i++) {
11216
+ var token = tokens[i]
11217
+
11218
+ if (typeof token === 'string') {
11219
+ path += token
11220
+
11221
+ continue
11222
+ }
11223
+
11224
+ var value = data[token.name]
11225
+ var segment
11226
+
11227
+ if (value == null) {
11228
+ if (token.optional) {
11229
+ // Prepend partial segment prefixes.
11230
+ if (token.partial) {
11231
+ path += token.prefix
11232
+ }
11233
+
11234
+ continue
11235
+ } else {
11236
+ throw new TypeError('Expected "' + token.name + '" to be defined')
11237
+ }
11238
+ }
11239
+
11240
+ if (isarray(value)) {
11241
+ if (!token.repeat) {
11242
+ throw new TypeError('Expected "' + token.name + '" to not repeat, but received `' + JSON.stringify(value) + '`')
11243
+ }
11244
+
11245
+ if (value.length === 0) {
11246
+ if (token.optional) {
11247
+ continue
11248
+ } else {
11249
+ throw new TypeError('Expected "' + token.name + '" to not be empty')
11250
+ }
11251
+ }
11252
+
11253
+ for (var j = 0; j < value.length; j++) {
11254
+ segment = encode(value[j])
11255
+
11256
+ if (!matches[i].test(segment)) {
11257
+ throw new TypeError('Expected all "' + token.name + '" to match "' + token.pattern + '", but received `' + JSON.stringify(segment) + '`')
11258
+ }
11259
+
11260
+ path += (j === 0 ? token.prefix : token.delimiter) + segment
11261
+ }
11262
+
11263
+ continue
11264
+ }
11265
+
11266
+ segment = token.asterisk ? encodeAsterisk(value) : encode(value)
11267
+
11268
+ if (!matches[i].test(segment)) {
11269
+ throw new TypeError('Expected "' + token.name + '" to match "' + token.pattern + '", but received "' + segment + '"')
11270
+ }
11271
+
11272
+ path += token.prefix + segment
11273
+ }
11274
+
11275
+ return path
11276
+ }
11277
+ }
11278
+
11279
+ /**
11280
+ * Escape a regular expression string.
11281
+ *
11282
+ * @param {string} str
11283
+ * @return {string}
11284
+ */
11285
+ function escapeString (str) {
11286
+ return str.replace(/([.+*?=^!:${}()[\]|\/\\])/g, '\\$1')
11287
+ }
11288
+
11289
+ /**
11290
+ * Escape the capturing group by escaping special characters and meaning.
11291
+ *
11292
+ * @param {string} group
11293
+ * @return {string}
11294
+ */
11295
+ function escapeGroup (group) {
11296
+ return group.replace(/([=!:$\/()])/g, '\\$1')
11297
+ }
11298
+
11299
+ /**
11300
+ * Attach the keys as a property of the regexp.
11301
+ *
11302
+ * @param {!RegExp} re
11303
+ * @param {Array} keys
11304
+ * @return {!RegExp}
11305
+ */
11306
+ function attachKeys (re, keys) {
11307
+ re.keys = keys
11308
+ return re
11309
+ }
11310
+
11311
+ /**
11312
+ * Get the flags for a regexp from the options.
11313
+ *
11314
+ * @param {Object} options
11315
+ * @return {string}
11316
+ */
11317
+ function flags (options) {
11318
+ return options && options.sensitive ? '' : 'i'
11319
+ }
11320
+
11321
+ /**
11322
+ * Pull out keys from a regexp.
11323
+ *
11324
+ * @param {!RegExp} path
11325
+ * @param {!Array} keys
11326
+ * @return {!RegExp}
11327
+ */
11328
+ function regexpToRegexp (path, keys) {
11329
+ // Use a negative lookahead to match only capturing groups.
11330
+ var groups = path.source.match(/\((?!\?)/g)
11331
+
11332
+ if (groups) {
11333
+ for (var i = 0; i < groups.length; i++) {
11334
+ keys.push({
11335
+ name: i,
11336
+ prefix: null,
11337
+ delimiter: null,
11338
+ optional: false,
11339
+ repeat: false,
11340
+ partial: false,
11341
+ asterisk: false,
11342
+ pattern: null
11343
+ })
11344
+ }
11345
+ }
11346
+
11347
+ return attachKeys(path, keys)
11348
+ }
11349
+
11350
+ /**
11351
+ * Transform an array into a regexp.
11352
+ *
11353
+ * @param {!Array} path
11354
+ * @param {Array} keys
11355
+ * @param {!Object} options
11356
+ * @return {!RegExp}
11357
+ */
11358
+ function arrayToRegexp (path, keys, options) {
11359
+ var parts = []
11360
+
11361
+ for (var i = 0; i < path.length; i++) {
11362
+ parts.push(pathToRegexp(path[i], keys, options).source)
11363
+ }
11364
+
11365
+ var regexp = new RegExp('(?:' + parts.join('|') + ')', flags(options))
11366
+
11367
+ return attachKeys(regexp, keys)
11368
+ }
11369
+
11370
+ /**
11371
+ * Create a path regexp from string input.
11372
+ *
11373
+ * @param {string} path
11374
+ * @param {!Array} keys
11375
+ * @param {!Object} options
11376
+ * @return {!RegExp}
11377
+ */
11378
+ function stringToRegexp (path, keys, options) {
11379
+ return tokensToRegExp(parse(path, options), keys, options)
11380
+ }
11381
+
11382
+ /**
11383
+ * Expose a function for taking tokens and returning a RegExp.
11384
+ *
11385
+ * @param {!Array} tokens
11386
+ * @param {(Array|Object)=} keys
11387
+ * @param {Object=} options
11388
+ * @return {!RegExp}
11389
+ */
11390
+ function tokensToRegExp (tokens, keys, options) {
11391
+ if (!isarray(keys)) {
11392
+ options = /** @type {!Object} */ (keys || options)
11393
+ keys = []
11394
+ }
11395
+
11396
+ options = options || {}
11397
+
11398
+ var strict = options.strict
11399
+ var end = options.end !== false
11400
+ var route = ''
11401
+
11402
+ // Iterate over the tokens and create our regexp string.
11403
+ for (var i = 0; i < tokens.length; i++) {
11404
+ var token = tokens[i]
11405
+
11406
+ if (typeof token === 'string') {
11407
+ route += escapeString(token)
11408
+ } else {
11409
+ var prefix = escapeString(token.prefix)
11410
+ var capture = '(?:' + token.pattern + ')'
11411
+
11412
+ keys.push(token)
11413
+
11414
+ if (token.repeat) {
11415
+ capture += '(?:' + prefix + capture + ')*'
11416
+ }
11417
+
11418
+ if (token.optional) {
11419
+ if (!token.partial) {
11420
+ capture = '(?:' + prefix + '(' + capture + '))?'
11421
+ } else {
11422
+ capture = prefix + '(' + capture + ')?'
11423
+ }
11424
+ } else {
11425
+ capture = prefix + '(' + capture + ')'
11426
+ }
11427
+
11428
+ route += capture
11429
+ }
11430
+ }
11431
+
11432
+ var delimiter = escapeString(options.delimiter || '/')
11433
+ var endsWithDelimiter = route.slice(-delimiter.length) === delimiter
11434
+
11435
+ // In non-strict mode we allow a slash at the end of match. If the path to
11436
+ // match already ends with a slash, we remove it for consistency. The slash
11437
+ // is valid at the end of a path match, not in the middle. This is important
11438
+ // in non-ending mode, where "/test/" shouldn't match "/test//route".
11439
+ if (!strict) {
11440
+ route = (endsWithDelimiter ? route.slice(0, -delimiter.length) : route) + '(?:' + delimiter + '(?=$))?'
11441
+ }
11442
+
11443
+ if (end) {
11444
+ route += '$'
11445
+ } else {
11446
+ // In non-ending mode, we need the capturing groups to match as much as
11447
+ // possible by using a positive lookahead to the end or next path segment.
11448
+ route += strict && endsWithDelimiter ? '' : '(?=' + delimiter + '|$)'
11449
+ }
11450
+
11451
+ return attachKeys(new RegExp('^' + route, flags(options)), keys)
11452
+ }
11453
+
11454
+ /**
11455
+ * Normalize the given path string, returning a regular expression.
11456
+ *
11457
+ * An empty array can be passed in for the keys, which will hold the
11458
+ * placeholder key descriptions. For example, using `/user/:id`, `keys` will
11459
+ * contain `[{ name: 'id', delimiter: '/', optional: false, repeat: false }]`.
11460
+ *
11461
+ * @param {(string|RegExp|Array)} path
11462
+ * @param {(Array|Object)=} keys
11463
+ * @param {Object=} options
11464
+ * @return {!RegExp}
11465
+ */
11466
+ function pathToRegexp (path, keys, options) {
11467
+ if (!isarray(keys)) {
11468
+ options = /** @type {!Object} */ (keys || options)
11469
+ keys = []
11470
+ }
11471
+
11472
+ options = options || {}
11473
+
11474
+ if (path instanceof RegExp) {
11475
+ return regexpToRegexp(path, /** @type {!Array} */ (keys))
11476
+ }
11477
+
11478
+ if (isarray(path)) {
11479
+ return arrayToRegexp(/** @type {!Array} */ (path), /** @type {!Array} */ (keys), options)
11480
+ }
11481
+
11482
+ return stringToRegexp(/** @type {string} */ (path), /** @type {!Array} */ (keys), options)
11483
+ }
11484
+
11485
+
11486
+ /***/ }),
11487
+ /* 189 */
11488
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
11489
+
11490
+ "use strict";
11491
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_path_to_regexp__ = __webpack_require__(188);
11492
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_path_to_regexp___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_path_to_regexp__);
11493
+
11494
+
11495
+ var patternCache = {};
11496
+ var cacheLimit = 10000;
11497
+ var cacheCount = 0;
11498
+
11499
+ var compileGenerator = function compileGenerator(pattern) {
11500
+ var cacheKey = pattern;
11501
+ var cache = patternCache[cacheKey] || (patternCache[cacheKey] = {});
11502
+
11503
+ if (cache[pattern]) return cache[pattern];
11504
+
11505
+ var compiledGenerator = __WEBPACK_IMPORTED_MODULE_0_path_to_regexp___default.a.compile(pattern);
11506
+
11507
+ if (cacheCount < cacheLimit) {
11508
+ cache[pattern] = compiledGenerator;
11509
+ cacheCount++;
11510
+ }
11511
+
11512
+ return compiledGenerator;
11513
+ };
11514
+
11515
+ /**
11516
+ * Public API for generating a URL pathname from a pattern and parameters.
11517
+ */
11518
+ var generatePath = function generatePath() {
11519
+ var pattern = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "/";
11520
+ var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
11521
+
11522
+ if (pattern === "/") {
11523
+ return pattern;
11524
+ }
11525
+ var generator = compileGenerator(pattern);
11526
+ return generator(params, { pretty: true });
11527
+ };
11528
+
11529
+ /* harmony default export */ __webpack_exports__["a"] = (generatePath);
11530
+
11531
+ /***/ }),
11532
+ /* 190 */
11533
+ /***/ (function(module, exports, __webpack_require__) {
11534
+
11535
+ "use strict";
11536
+
11537
+
11538
+ Object.defineProperty(exports, "__esModule", {
11539
+ value: true
11540
+ });
11541
+ exports["default"] = void 0;
11542
+
11543
+ var _react = _interopRequireWildcard(__webpack_require__(0));
11544
+
11545
+ var _reactRouterDom = __webpack_require__(39);
11546
+
11547
+ var _reactDom = _interopRequireDefault(__webpack_require__(11));
11548
+
11549
+ __webpack_require__(425);
11550
+
11551
+ var _QuadsAdConfig = _interopRequireDefault(__webpack_require__(426));
11552
+
11553
+ var _QuadsAdTargeting = _interopRequireDefault(__webpack_require__(493));
11554
+
11555
+ var _QuadsAdPublish = _interopRequireDefault(__webpack_require__(501));
11556
+
11557
+ var _queryString = _interopRequireDefault(__webpack_require__(28));
11558
+
11559
+ var _Icon = _interopRequireDefault(__webpack_require__(31));
11560
+
11561
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11562
+
11563
+ function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
11564
+
11565
+ function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
11566
+
11567
+ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
11568
+
11569
+ function _extends() { _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; }; return _extends.apply(this, arguments); }
11570
+
11571
+ function _readOnlyError(name) { throw new Error("\"" + name + "\" is read-only"); }
11572
+
11573
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
11574
+
11575
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
11576
+
11577
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
11578
+
11579
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
11580
+
11581
+ function _iterableToArrayLimit(arr, i) { if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
11582
+
11583
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
11584
+
11585
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
11586
+
11587
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
11588
+
11589
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
11590
+
11591
+ 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); } }
11592
+
11593
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
11594
+
11595
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
11596
+
11597
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
11598
+
11599
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
11600
+
11601
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
11602
+
11603
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
11604
+
11605
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
11606
+
11607
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
11608
+
11609
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
11610
+
11611
+ var QuadsAdCreateRouter = /*#__PURE__*/function (_Component) {
11612
+ _inherits(QuadsAdCreateRouter, _Component);
11613
+
11614
+ var _super = _createSuper(QuadsAdCreateRouter);
11615
+
11616
+ function QuadsAdCreateRouter(props) {
11617
+ var _this;
11618
+
11619
+ _classCallCheck(this, QuadsAdCreateRouter);
11620
+
11621
+ var visibility_include_def_val = [{
11622
+ type: {
11623
+ label: "Post Type",
11624
+ value: "post_type"
11625
+ },
11626
+ value: {
11627
+ label: "post",
11628
+ value: "post"
11629
+ }
11630
+ }];
11631
+ _this = _super.call(this, props);
11632
+
11633
+ _defineProperty(_assertThisInitialized(_this), "updateVisitorTarget", function (include, exclude) {
11634
+ _this.includedVal = include;
11635
+ _this.excludedVal = exclude;
11636
+ });
11637
+
11638
+ _defineProperty(_assertThisInitialized(_this), "updateVisibility", function (include, exclude) {
11639
+ _this.includedVisibilityVal = include;
11640
+ _this.excludedVisibilityVal = exclude;
11641
+ });
11642
+
11643
+ _defineProperty(_assertThisInitialized(_this), "updateRandomAds", function (random_ads_list) {
11644
+ _this.random_ads_list = random_ads_list;
11645
+ });
11646
+
11647
+ _defineProperty(_assertThisInitialized(_this), "getAdDataById", function (ad_id) {
11648
+ var url = quads_localize_data.rest_url + 'quads-route/get-ad-by-id?ad-id=' + ad_id;
11649
+
11650
+ if (quads_localize_data.rest_url.includes('?')) {
11651
+ url = quads_localize_data.rest_url + 'quads-route/get-ad-by-id&ad-id=' + ad_id;
11652
+ }
11653
+
11654
+ fetch(url, {
11655
+ headers: {
11656
+ 'X-WP-Nonce': quads_localize_data.nonce
11657
+ }
11658
+ }).then(function (res) {
11659
+ return res.json();
11660
+ }).then(function (result) {
11661
+ var _this$state = _objectSpread({}, _this.state),
11662
+ quads_post_meta = _this$state.quads_post_meta;
11663
+
11664
+ Object.entries(result).map(function (_ref) {
11665
+ var _ref2 = _slicedToArray(_ref, 2),
11666
+ key = _ref2[0],
11667
+ value = _ref2[1];
11668
+
11669
+ if (key == 'post') {
11670
+ _this.setState({
11671
+ quads_post: result.post
11672
+ });
11673
+ } else {
11674
+ Object.entries(value).map(function (_ref3) {
11675
+ var _ref4 = _slicedToArray(_ref3, 2),
11676
+ meta_key = _ref4[0],
11677
+ meta_val = _ref4[1];
11678
+
11679
+ if (meta_val) {
11680
+ quads_post_meta[meta_key] = meta_val;
11681
+ }
11682
+ });
11683
+
11684
+ _this.setState(quads_post_meta);
11685
+ }
11686
+ });
11687
+ }, function (error) {});
11688
+ });
11689
+
11690
+ _defineProperty(_assertThisInitialized(_this), "removeVisibilityIncludeItem", function (e) {
11691
+ e.preventDefault();
11692
+ var index = e.currentTarget.dataset.index;
11693
+
11694
+ var _this$state2 = _objectSpread({}, _this.state),
11695
+ quads_post_meta = _this$state2.quads_post_meta;
11696
+
11697
+ quads_post_meta.visibility_include.splice(index, 1);
11698
+
11699
+ _this.setState(quads_post_meta);
11700
+ });
11701
+
11702
+ _defineProperty(_assertThisInitialized(_this), "removeVisibilityExcludeItem", function (e) {
11703
+ e.preventDefault();
11704
+ var index = e.currentTarget.dataset.index;
11705
+
11706
+ var _this$state3 = _objectSpread({}, _this.state),
11707
+ quads_post_meta = _this$state3.quads_post_meta;
11708
+
11709
+ quads_post_meta.visibility_exclude.splice(index, 1);
11710
+
11711
+ _this.setState(quads_post_meta);
11712
+ });
11713
+
11714
+ _defineProperty(_assertThisInitialized(_this), "onListSearchHover", function () {});
11715
+
11716
+ _defineProperty(_assertThisInitialized(_this), "addIncludeFromSearch", function (e) {
11717
+ e.preventDefault();
11718
+ var id = e.currentTarget.dataset.id;
11719
+ var text = e.currentTarget.dataset.text;
11720
+
11721
+ _this.setState({
11722
+ quads_include_input_id: id,
11723
+ quads_include_input_text: text
11724
+ });
11725
+
11726
+ var _this$state4 = _objectSpread({}, _this.state),
11727
+ quads_post_meta = _this$state4.quads_post_meta;
11728
+
11729
+ quads_post_meta.include_dropdown = false;
11730
+
11731
+ _this.setState(quads_post_meta);
11732
+ });
11733
+
11734
+ _defineProperty(_assertThisInitialized(_this), "addExcludeFromSearch", function (e) {
11735
+ e.preventDefault();
11736
+ var id = e.currentTarget.dataset.id;
11737
+ var text = e.currentTarget.dataset.text;
11738
+
11739
+ _this.setState({
11740
+ quads_exclude_input_id: id,
11741
+ quads_exclude_input_text: text
11742
+ });
11743
+
11744
+ var _this$state5 = _objectSpread({}, _this.state),
11745
+ quads_post_meta = _this$state5.quads_post_meta;
11746
+
11747
+ quads_post_meta.exclude_dropdown = false;
11748
+
11749
+ _this.setState(quads_post_meta);
11750
+ });
11751
+
11752
+ _defineProperty(_assertThisInitialized(_this), "onIncludeFocus", function () {
11753
+ var _this$state6 = _objectSpread({}, _this.state),
11754
+ quads_post_meta = _this$state6.quads_post_meta;
11755
+
11756
+ quads_post_meta.include_dropdown = true;
11757
+
11758
+ _this.setState(quads_post_meta);
11759
+ });
11760
+
11761
+ _defineProperty(_assertThisInitialized(_this), "onExcludeFocus", function () {
11762
+ var _this$state7 = _objectSpread({}, _this.state),
11763
+ quads_post_meta = _this$state7.quads_post_meta;
11764
+
11765
+ quads_post_meta.exclude_dropdown = true;
11766
+
11767
+ _this.setState(quads_post_meta);
11768
+ });
11769
+
11770
+ _defineProperty(_assertThisInitialized(_this), "excludeFormToggle", function () {
11771
+ _this.setState({
11772
+ quads_exclude_toggle: !_this.state.quads_exclude_toggle
11773
+ });
11774
+ });
11775
+
11776
+ _defineProperty(_assertThisInitialized(_this), "includeFormToggle", function () {
11777
+ _this.setState({
11778
+ quads_include_toggle: !_this.state.quads_include_toggle
11779
+ });
11780
+ });
11781
+
11782
+ _defineProperty(_assertThisInitialized(_this), "openModal", function () {
11783
+ _this.setState({
11784
+ quads_modal_open: true
11785
+ });
11786
+ });
11787
+
11788
+ _defineProperty(_assertThisInitialized(_this), "closeModal", function () {
11789
+ _this.setState({
11790
+ quads_modal_open: false
11791
+ });
11792
+
11793
+ _this.setState({
11794
+ quads_modal_error: ''
11795
+ });
11796
+ });
11797
+
11798
+ _defineProperty(_assertThisInitialized(_this), "modalValue", function (e) {
11799
+ _this.setState({
11800
+ quads_modal_value: e.target.value
11801
+ });
11802
+ });
11803
+
11804
+ _defineProperty(_assertThisInitialized(_this), "getGoogleAdsenseAttr", function (content, regex) {
11805
+ var str = content;
11806
+ var m;
11807
+ var result = {};
11808
+
11809
+ while ((m = regex.exec(str)) !== null) {
11810
+ // This is necessary to avoid infinite loops with zero-width matches
11811
+ if (m.index === regex.lastIndex) {
11812
+ regex.lastIndex++;
11813
+ } // The result can be accessed through the `m`-variable.
11814
+
11815
+
11816
+ m.forEach(function (match, index) {
11817
+ //console.log(`Found match, group ${groupIndex}: ${match}`);
11818
+ result = match;
11819
+ });
11820
+ }
11821
+
11822
+ return result;
11823
+ });
11824
+
11825
+ _defineProperty(_assertThisInitialized(_this), "getAdsenseCode", function () {
11826
+ var content = _this.state.quads_modal_value;
11827
+
11828
+ _this.setState({
11829
+ quads_modal_open: true
11830
+ });
11831
+
11832
+ if (content) {
11833
+ var slot_regex = /google_ad_slot\s*=\s*"(\d*)";/g;
11834
+
11835
+ var ad_slot = _this.getGoogleAdsenseAttr(content, slot_regex);
11836
+
11837
+ var ad_client_regex = /google_ad_client\s*=\s*"ca-pub-(\d*)";/g;
11838
+
11839
+ var ad_client = _this.getGoogleAdsenseAttr(content, ad_client_regex);
11840
+
11841
+ var width_regex = /google_ad_width\s*=\s*(\d*);/g;
11842
+
11843
+ var ad_width = _this.getGoogleAdsenseAttr(content, width_regex);
11844
+
11845
+ var height_regex = /google_ad_height\s*=\s*(\d*);/g;
11846
+
11847
+ var ad_height = _this.getGoogleAdsenseAttr(content, height_regex);
11848
+
11849
+ var ad_format_regex = /data-ad-format\s*=\s*"(\w*)";/g;
11850
+
11851
+ var ad_format = _this.getGoogleAdsenseAttr(content, ad_format_regex);
11852
+
11853
+ var adsense_type = 'normal';
11854
+
11855
+ if ((!ad_slot || 0 === ad_slot.length) && (!ad_client || 0 === ad_client.length) && (!ad_width || 0 === ad_width.length)) {
11856
+ adsense_type = (_readOnlyError("adsense_type"), 'normal');
11857
+ }
11858
+
11859
+ if (ad_format == 'auto') {
11860
+ adsense_type = (_readOnlyError("adsense_type"), 'responsive');
11861
+ }
11862
+
11863
+ if (ad_slot.length >= 0 && ad_client.length >= 0) {
11864
+ var _this$state8 = _objectSpread({}, _this.state),
11865
+ quads_post_meta = _this$state8.quads_post_meta;
11866
+
11867
+ quads_post_meta.g_data_ad_slot = ad_slot;
11868
+ quads_post_meta.g_data_ad_client = 'ca-pub-' + ad_client;
11869
+ quads_post_meta.g_data_ad_width = ad_width;
11870
+ quads_post_meta.g_data_ad_height = ad_height;
11871
+ quads_post_meta.adsense_type = adsense_type;
11872
+
11873
+ _this.setState(quads_post_meta);
11874
+
11875
+ _this.setState({
11876
+ quads_modal_open: false
11877
+ });
11878
+ } else {
11879
+ _this.setState({
11880
+ quads_modal_error: 'Can not parse AdSense Code. Is the code valid?'
11881
+ });
11882
+
11883
+ _this.setState({
11884
+ quads_modal_open: true
11885
+ });
11886
+ }
11887
+ } else {
11888
+ _this.setState({
11889
+ quads_modal_error: 'Please provide adsense code'
11890
+ });
11891
+ }
11892
+ });
11893
+
11894
+ _defineProperty(_assertThisInitialized(_this), "saveAdFormData", function (ad_status) {
11895
+ _this.setState({
11896
+ quads_is_loaded: true
11897
+ });
11898
+
11899
+ var body_json = _this.state;
11900
+ body_json.quads_ad_status = ad_status; //visitor targeting
11901
+
11902
+ body_json.quads_post_meta.targeting_include = _this.includedVal;
11903
+ body_json.quads_post_meta.targeting_exclude = _this.excludedVal;
11904
+ body_json.quads_post_meta.visibility_include = _this.includedVisibilityVal;
11905
+ body_json.quads_post_meta.visibility_exclude = _this.excludedVisibilityVal;
11906
+ body_json.quads_post_meta.random_ads_list = _this.random_ads_list;
11907
+ var url = quads_localize_data.rest_url + 'quads-route/update-ad';
11908
+ fetch(url, {
11909
+ method: "post",
11910
+ headers: {
11911
+ 'Accept': 'application/json',
11912
+ 'Content-Type': 'application/json',
11913
+ 'X-WP-Nonce': quads_localize_data.nonce
11914
+ },
11915
+ //make sure to serialize your JSON body
11916
+ body: JSON.stringify(body_json)
11917
+ }).then(function (res) {
11918
+ return res.json();
11919
+ }).then(function (result) {
11920
+ _this.setState({
11921
+ quads_is_loaded: false
11922
+ });
11923
+
11924
+ _this.setState(Object.assign(_this.state.quads_post_meta, {
11925
+ ad_id: result.ad_id
11926
+ }));
11927
+
11928
+ var path = _this.props.location.pathname;
11929
+ var search = _this.props.location.search;
11930
+
11931
+ var page = _queryString["default"].parse(window.location.search);
11932
+
11933
+ var new_url = path + search;
11934
+
11935
+ if (page.action != 'edit') {
11936
+ new_url = _this.removePartofQueryString(new_url, 'path=wizard_target');
11937
+ new_url += 'path=wizard_publish&action=edit&post=' + result.ad_id;
11938
+ } else {
11939
+ new_url = _this.removePartofQueryString(new_url, 'path=wizard_target');
11940
+ new_url += 'path=wizard_publish';
11941
+ }
11942
+
11943
+ _this.setState({
11944
+ quads_is_saved: true
11945
+ });
11946
+
11947
+ _this.props.history.push(new_url);
11948
+ }, function (error) {
11949
+ _this.setState({
11950
+ quads_is_error: error,
11951
+ quads_is_loaded: false
11952
+ });
11953
+ });
11954
+ });
11955
+
11956
+ _defineProperty(_assertThisInitialized(_this), "adFormChangeHandler", function (event) {
11957
+ var name = event.target.name;
11958
+ var value = event.target.type === 'checkbox' ? event.target.checked : event.target.value;
11959
+
11960
+ var _this$state9 = _objectSpread({}, _this.state),
11961
+ quads_post_meta = _this$state9.quads_post_meta;
11962
+
11963
+ var currentState = quads_post_meta;
11964
+
11965
+ if (name) {
11966
+ currentState[name] = value;
11967
+
11968
+ _this.setState({
11969
+ quads_post_meta: currentState,
11970
+ quads_state_changed: true
11971
+ });
11972
+ }
11973
+
11974
+ var page = _queryString["default"].parse(window.location.search);
11975
+
11976
+ if (!_this.state.quads_ad_status) {
11977
+ _this.setState({
11978
+ quads_ad_status: 'draft'
11979
+ });
11980
+ }
11981
+ });
11982
+
11983
+ _defineProperty(_assertThisInitialized(_this), "saveAsDraft", function (event) {
11984
+ event.preventDefault();
11985
+
11986
+ _this.saveAdFormData('draft');
11987
+ });
11988
+
11989
+ _defineProperty(_assertThisInitialized(_this), "publish", function (event) {
11990
+ event.preventDefault();
11991
+ var quads_post_meta = _this.state.quads_post_meta;
11992
+ var validation_flag = true;
11993
+
11994
+ if (quads_post_meta.position == 'after_the_percentage') {
11995
+ if (quads_post_meta.after_the_percentage_value == '' || parseInt(quads_post_meta.after_the_percentage_value) < 10 || parseInt(quads_post_meta.after_the_percentage_value) > 101) {
11996
+ validation_flag = false;
11997
+ }
11998
+ }
11999
+
12000
+ switch (quads_post_meta.ad_type) {
12001
+ case 'plain_text':
12002
+ if (validation_flag && quads_post_meta.code && quads_post_meta.position && quads_post_meta.visibility_include.length > 0) {
12003
+ _this.saveAdFormData('publish');
12004
+ } else {
12005
+ _this.setState({
12006
+ show_form_error: true
12007
+ });
12008
+ }
12009
+
12010
+ break;
12011
+
12012
+ case 'adsense':
12013
+ if (validation_flag && (quads_post_meta.adsense_ad_type == 'adsense_auto_ads' || quads_post_meta.g_data_ad_slot) && quads_post_meta.g_data_ad_client && quads_post_meta.position && quads_post_meta.visibility_include.length > 0) {
12014
+ _this.saveAdFormData('publish');
12015
+ } else {
12016
+ _this.setState({
12017
+ show_form_error: true
12018
+ });
12019
+ }
12020
+
12021
+ break;
12022
+
12023
+ case 'random_ads':
12024
+ if (validation_flag && quads_post_meta.random_ads_list.length > 0 && quads_post_meta.position && quads_post_meta.visibility_include.length > 0) {
12025
+ _this.saveAdFormData('publish');
12026
+ } else {
12027
+ _this.setState({
12028
+ show_form_error: true
12029
+ });
12030
+ }
12031
+
12032
+ break;
12033
+
12034
+ case 'double_click':
12035
+ if (validation_flag && quads_post_meta.ad_unit_name && quads_post_meta.network_code && quads_post_meta.position && quads_post_meta.visibility_include.length > 0) {
12036
+ _this.saveAdFormData('publish');
12037
+ } else {
12038
+ _this.setState({
12039
+ show_form_error: true
12040
+ });
12041
+ }
12042
+
12043
+ break;
12044
+
12045
+ case 'yandex':
12046
+ if (validation_flag && quads_post_meta.block_id && quads_post_meta.position && quads_post_meta.visibility_include.length > 0) {
12047
+ _this.saveAdFormData('publish');
12048
+ } else {
12049
+ _this.setState({
12050
+ show_form_error: true
12051
+ });
12052
+ }
12053
+
12054
+ break;
12055
+
12056
+ case 'mgid':
12057
+ if (validation_flag && quads_post_meta.data_js_src && quads_post_meta.data_container && quads_post_meta.position && quads_post_meta.visibility_include.length > 0) {
12058
+ _this.saveAdFormData('publish');
12059
+ } else {
12060
+ _this.setState({
12061
+ show_form_error: true
12062
+ });
12063
+ }
12064
+
12065
+ break;
12066
+
12067
+ case 'ad_image':
12068
+ if (validation_flag && quads_post_meta.image_src && quads_post_meta.image_redirect_url && quads_post_meta.position && quads_post_meta.visibility_include.length > 0) {
12069
+ _this.saveAdFormData('publish');
12070
+ } else {
12071
+ _this.setState({
12072
+ show_form_error: true
12073
+ });
12074
+ }
12075
+
12076
+ break;
12077
+
12078
+ case 'taboola':
12079
+ if (validation_flag && quads_post_meta.taboola_publisher_id && quads_post_meta.position && quads_post_meta.visibility_include.length > 0) {
12080
+ _this.saveAdFormData('publish');
12081
+ } else {
12082
+ _this.setState({
12083
+ show_form_error: true
12084
+ });
12085
+ }
12086
+
12087
+ break;
12088
+
12089
+ case 'media_net':
12090
+ if (validation_flag && quads_post_meta.data_cid && quads_post_meta.data_crid && quads_post_meta.position && quads_post_meta.visibility_include.length > 0) {
12091
+ _this.saveAdFormData('publish');
12092
+ } else {
12093
+ _this.setState({
12094
+ show_form_error: true
12095
+ });
12096
+ }
12097
+
12098
+ break;
12099
+
12100
+ case 'mediavine':
12101
+ if (validation_flag && quads_post_meta.mediavine_site_id && quads_post_meta.position && quads_post_meta.visibility_include.length > 0) {
12102
+ _this.saveAdFormData('publish');
12103
+ } else {
12104
+ _this.setState({
12105
+ show_form_error: true
12106
+ });
12107
+ }
12108
+
12109
+ break;
12110
+
12111
+ case 'outbrain':
12112
+ if (validation_flag && quads_post_meta.outbrain_widget_ids && quads_post_meta.position && quads_post_meta.visibility_include.length > 0) {
12113
+ _this.saveAdFormData('publish');
12114
+ } else {
12115
+ _this.setState({
12116
+ show_form_error: true
12117
+ });
12118
+ }
12119
+
12120
+ break;
12121
+
12122
+ case 'background_ad':
12123
+ if (validation_flag && quads_post_meta.image_src && quads_post_meta.image_redirect_url && quads_post_meta.position && quads_post_meta.visibility_include.length > 0) {
12124
+ _this.saveAdFormData('publish');
12125
+ } else {
12126
+ _this.setState({
12127
+ show_form_error: true
12128
+ });
12129
+ }
12130
+
12131
+ break;
12132
+
12133
+ default:
12134
+ break;
12135
+ }
12136
+ });
12137
+
12138
+ _defineProperty(_assertThisInitialized(_this), "removePartofQueryString", function (q_string, part) {
12139
+ var split_arr = q_string.split("&");
12140
+ var new_search = '';
12141
+
12142
+ for (var i = 0; i < split_arr.length; i++) {
12143
+ if (!split_arr[i].includes(part)) {
12144
+ new_search += split_arr[i] + '&';
12145
+ }
12146
+ }
12147
+
12148
+ return new_search;
12149
+ });
12150
+
12151
+ _defineProperty(_assertThisInitialized(_this), "quadsGoBack", function (e) {
12152
+ e.preventDefault();
12153
+
12154
+ var page = _queryString["default"].parse(window.location.search);
12155
+
12156
+ var new_url = _this.props.location.pathname + '?page=quads-settings';
12157
+
12158
+ if (_this.state.quads_state_changed && !_this.state.quads_is_saved) {
12159
+ var r = confirm("Changes you made may not be saved.");
12160
+
12161
+ if (r == true) {
12162
+ _this.props.history.push(new_url);
12163
+ } else {
12164
+ return false;
12165
+ }
12166
+ } else {
12167
+ _this.props.history.push(new_url);
12168
+ }
12169
+ });
12170
+
12171
+ _defineProperty(_assertThisInitialized(_this), "moveNext", function (e) {
12172
+ var page = _queryString["default"].parse(window.location.search);
12173
+
12174
+ var new_url = _this.props.location.pathname + _this.removePartofQueryString(_this.props.location.search, 'path=wizard');
12175
+
12176
+ var quads_post_meta = _this.state.quads_post_meta;
12177
+
12178
+ if (page.path == 'wizard') {
12179
+ new_url += 'path=wizard_target';
12180
+
12181
+ switch (quads_post_meta.ad_type) {
12182
+ case 'plain_text':
12183
+ if (quads_post_meta.code) {
12184
+ _this.props.history.push(new_url);
12185
+ } else {
12186
+ _this.setState({
12187
+ show_form_error: true
12188
+ });
12189
+ }
12190
+
12191
+ break;
12192
+
12193
+ case 'adsense':
12194
+ if ((quads_post_meta.adsense_ad_type == 'adsense_auto_ads' || quads_post_meta.g_data_ad_slot) && quads_post_meta.g_data_ad_client) {
12195
+ _this.props.history.push(new_url);
12196
+ } else {
12197
+ _this.setState({
12198
+ show_form_error: true
12199
+ });
12200
+ }
12201
+
12202
+ break;
12203
+
12204
+ case 'random_ads':
12205
+ if (quads_post_meta.random_ads_list.length > 0) {
12206
+ _this.props.history.push(new_url);
12207
+ } else {
12208
+ _this.setState({
12209
+ show_form_error: true
12210
+ });
12211
+ }
12212
+
12213
+ break;
12214
+
12215
+ case 'double_click':
12216
+ if (quads_post_meta.ad_unit_name && quads_post_meta.network_code) {
12217
+ _this.props.history.push(new_url);
12218
+ } else {
12219
+ _this.setState({
12220
+ show_form_error: true
12221
+ });
12222
+ }
12223
+
12224
+ break;
12225
+
12226
+ case 'yandex':
12227
+ if (quads_post_meta.block_id) {
12228
+ _this.props.history.push(new_url);
12229
+ } else {
12230
+ _this.setState({
12231
+ show_form_error: true
12232
+ });
12233
+ }
12234
+
12235
+ break;
12236
+
12237
+ case 'mgid':
12238
+ if (quads_post_meta.data_container && quads_post_meta.data_js_src) {
12239
+ _this.props.history.push(new_url);
12240
+ } else {
12241
+ _this.setState({
12242
+ show_form_error: true
12243
+ });
12244
+ }
12245
+
12246
+ break;
12247
+
12248
+ case 'ad_image':
12249
+ if (quads_post_meta.image_src && quads_post_meta.image_redirect_url) {
12250
+ _this.props.history.push(new_url);
12251
+ } else {
12252
+ _this.setState({
12253
+ show_form_error: true
12254
+ });
12255
+ }
12256
+
12257
+ break;
12258
+
12259
+ case 'taboola':
12260
+ if (quads_post_meta.taboola_publisher_id) {
12261
+ _this.props.history.push(new_url);
12262
+ } else {
12263
+ _this.setState({
12264
+ show_form_error: true
12265
+ });
12266
+ }
12267
+
12268
+ break;
12269
+
12270
+ case 'media_net':
12271
+ if (quads_post_meta.data_cid && quads_post_meta.data_crid) {
12272
+ _this.props.history.push(new_url);
12273
+ } else {
12274
+ _this.setState({
12275
+ show_form_error: true
12276
+ });
12277
+ }
12278
+
12279
+ break;
12280
+
12281
+ case 'mediavine':
12282
+ if (quads_post_meta.mediavine_site_id) {
12283
+ _this.props.history.push(new_url);
12284
+ } else {
12285
+ _this.setState({
12286
+ show_form_error: true
12287
+ });
12288
+ }
12289
+
12290
+ break;
12291
+
12292
+ case 'outbrain':
12293
+ if (quads_post_meta.outbrain_widget_ids) {
12294
+ _this.props.history.push(new_url);
12295
+ } else {
12296
+ _this.setState({
12297
+ show_form_error: true
12298
+ });
12299
+ }
12300
+
12301
+ break;
12302
+
12303
+ case 'background_ad':
12304
+ if (quads_post_meta.image_src && quads_post_meta.image_redirect_url) {
12305
+ _this.props.history.push(new_url);
12306
+ } else {
12307
+ _this.setState({
12308
+ show_form_error: true
12309
+ });
12310
+ }
12311
+
12312
+ break;
12313
+
12314
+ default:
12315
+ break;
12316
+ }
12317
+ } else if (page.path == 'wizard_target') {
12318
+ new_url += 'path=wizard_publish';
12319
+
12320
+ if (quads_post_meta.position && visibility_include.length > 0) {
12321
+ _this.props.history.push(new_url);
12322
+ } else {
12323
+ _this.setState({
12324
+ show_form_error: true
12325
+ });
12326
+ }
12327
+ }
12328
+ });
12329
+
12330
+ _defineProperty(_assertThisInitialized(_this), "movePrev", function (e) {
12331
+ var page = _queryString["default"].parse(window.location.search);
12332
+
12333
+ var new_url = _this.props.location.pathname + _this.removePartofQueryString(_this.props.location.search, 'path=wizard');
12334
+
12335
+ if (page.path == 'wizard_publish') {
12336
+ new_url += 'path=wizard_target';
12337
+ } else if (page.path == 'wizard_target') {
12338
+ new_url += 'path=wizard';
12339
+ }
12340
+
12341
+ _this.props.history.push(new_url);
12342
+ });
12343
+
12344
+ _defineProperty(_assertThisInitialized(_this), "closeNotice", function () {
12345
+ _this.setState({
12346
+ quads_is_saved: false
12347
+ });
12348
+ });
12349
+
12350
+ _this.state = {
12351
+ show_form_error: false,
12352
+ quads_include_toggle: false,
12353
+ Quads_confirm_box: false,
12354
+ quads_exclude_toggle: false,
12355
+ quads_include_placeholder: 'Search for post types',
12356
+ quads_exclude_placeholder: 'Search for post types',
12357
+ quads_include_current_type: 'post_type',
12358
+ quads_exclude_current_type: 'post_type',
12359
+ quads_include_input_text: '',
12360
+ quads_exclude_input_text: '',
12361
+ quads_include_input_id: '',
12362
+ quads_exclude_input_id: '',
12363
+ quads_is_reload: true,
12364
+ quads_modal_value: '',
12365
+ quads_modal_error: '',
12366
+ quads_modal_open: false,
12367
+ quads_is_loaded: true,
12368
+ quads_is_visibility: true,
12369
+ quads_state_changed: false,
12370
+ quads_is_saved: false,
12371
+ quads_ad_status: '',
12372
+ quads_is_error: [],
12373
+ quads_post: {},
12374
+ quads_include_meta: {},
12375
+ quads_exclude_meta: {},
12376
+ quads_post_meta: {
12377
+ visibility_include: visibility_include_def_val,
12378
+ visibility_exclude: [],
12379
+ targeting_include: [],
12380
+ targeting_exclude: [],
12381
+ ad_id: '',
12382
+ ad_type: '',
12383
+ label: '',
12384
+ adsense_ad_type: 'display_ads',
12385
+ data_layout_key: '',
12386
+ g_data_ad_slot: '',
12387
+ g_data_ad_client: '',
12388
+ adsense_type: '',
12389
+ g_data_ad_width: '',
12390
+ g_data_ad_height: '',
12391
+ network_code: '',
12392
+ ad_unit_name: '',
12393
+ code: '',
12394
+ align: 3,
12395
+ ad_label_check: false,
12396
+ adlabel: '',
12397
+ ad_label_text: 'Advertisements',
12398
+ margin: 0,
12399
+ position: 'beginning_of_post',
12400
+ paragraph_number: 1,
12401
+ word_count_number: 100,
12402
+ image_number: 1,
12403
+ enabled_on_amp: false,
12404
+ enable_on_end_of_post: false,
12405
+ repeat_paragraph: false,
12406
+ after_the_percentage_value: 50,
12407
+ ads_loop_number: 1,
12408
+ image_caption: false,
12409
+ include_dropdown: false,
12410
+ exclude_dropdown: false,
12411
+ random_ads_list: [],
12412
+ image_src: '',
12413
+ image_src_id: '',
12414
+ image_redirect_url: '',
12415
+ taboola_publisher_id: '',
12416
+ data_cid: '',
12417
+ data_crid: '',
12418
+ mediavine_site_id: '',
12419
+ outbrain_widget_ids: '',
12420
+ data_container: '',
12421
+ data_js_src: ''
12422
+ },
12423
+ quads_form_errors: {
12424
+ g_data_ad_slot: '',
12425
+ g_data_ad_client: '',
12426
+ code: '',
12427
+ label: '',
12428
+ position: '',
12429
+ visibility_include: [],
12430
+ random_ads_list: []
12431
+ }
12432
+ };
12433
+ _this.include_timer = null;
12434
+ _this.exclude_timer = null;
12435
+ _this.includedVal = [];
12436
+ _this.excludedVal = [];
12437
+ _this.includedVisibilityVal = visibility_include_def_val;
12438
+ _this.excludedVisibilityVal = [];
12439
+ return _this;
12440
+ }
12441
+
12442
+ _createClass(QuadsAdCreateRouter, [{
12443
+ key: "componentDidUpdate",
12444
+ value: function componentDidUpdate() {}
12445
+ }, {
12446
+ key: "componentDidMount",
12447
+ value: function componentDidMount() {
12448
+ var page = _queryString["default"].parse(window.location.search);
12449
+
12450
+ if (this.state.quads_is_reload && page.action == 'edit') {
12451
+ document.body.classList.add('quads_editpage');
12452
+ this.getAdDataById(page.post);
12453
+ this.setState({
12454
+ quads_is_reload: false
12455
+ });
12456
+ } else {
12457
+ document.body.classList.add('quads_addpage');
12458
+ }
12459
+
12460
+ this.setState(Object.assign(this.state.quads_post_meta, {
12461
+ ad_type: page.ad_type
12462
+ }));
12463
+ this.setState({
12464
+ quads_is_loaded: false
12465
+ });
12466
+ }
12467
+ }, {
12468
+ key: "render",
12469
+ value: function render() {
12470
+ var _this2 = this;
12471
+
12472
+ var location = this.props.location;
12473
+
12474
+ var page = _queryString["default"].parse(window.location.search);
12475
+
12476
+ var __ = wp.i18n.__;
12477
+ var post_meta = this.state.quads_post_meta;
12478
+ var show_form_error = this.state.show_form_error;
12479
+
12480
+ if (page.path == 'wizard_target' && this.state.quads_post_meta.label == '') {
12481
+ var json_data = {
12482
+ action: 'quads_ajax_add_ads'
12483
+ };
12484
+ var url = quads_localize_data.rest_url + "quads-route/get-add-next-id";
12485
+ fetch(url, {
12486
+ method: "post",
12487
+ headers: {
12488
+ 'Accept': 'application/json',
12489
+ 'Content-Type': 'application/json',
12490
+ 'X-WP-Nonce': quads_localize_data.nonce
12491
+ },
12492
+ body: JSON.stringify(json_data)
12493
+ }).then(function (res) {
12494
+ return res.json();
12495
+ }).then(function (result) {
12496
+ var titleName = result.name;
12497
+ var quads_ad_old_id = 'ad' + result.id;
12498
+
12499
+ if (page.ad_type == 'random_ads') {
12500
+ titleName = result.name + " (Random)";
12501
+ }
12502
+
12503
+ _this2.setState(Object.assign(_this2.state.quads_post_meta, {
12504
+ label: titleName,
12505
+ quads_ad_old_id: quads_ad_old_id
12506
+ }));
12507
+ }, function (error) {});
12508
+ }
12509
+
12510
+ return /*#__PURE__*/_react["default"].createElement("div", null, this.state.quads_is_loaded ? /*#__PURE__*/_react["default"].createElement("div", {
12511
+ className: "quads-cover-spin"
12512
+ }) : '', /*#__PURE__*/_react["default"].createElement("form", {
12513
+ id: "quads-ad-form"
12514
+ }, /*#__PURE__*/_react["default"].createElement("div", {
12515
+ className: "material-icons quads-close-create-page"
12516
+ }, /*#__PURE__*/_react["default"].createElement("a", {
12517
+ onClick: this.quadsGoBack
12518
+ }, "close")), /*#__PURE__*/_react["default"].createElement("div", {
12519
+ className: "quads-ad-config-header"
12520
+ }, /*#__PURE__*/_react["default"].createElement("div", {
12521
+ className: "quads-ad-input"
12522
+ }, /*#__PURE__*/_react["default"].createElement("input", {
12523
+ value: this.state.quads_post_meta.label,
12524
+ type: "text",
12525
+ onChange: this.adFormChangeHandler,
12526
+ name: "label",
12527
+ placeholder: __('Name your ad unit', 'quick-adsense-reloaded')
12528
+ }), /*#__PURE__*/_react["default"].createElement("input", {
12529
+ type: "hidden",
12530
+ name: "ad_id",
12531
+ value: this.state.quads_post_meta.ad_id
12532
+ }), /*#__PURE__*/_react["default"].createElement("input", {
12533
+ type: "hidden",
12534
+ name: "ad_type",
12535
+ value: this.state.quads_post_meta.ad_type
12536
+ })), /*#__PURE__*/_react["default"].createElement("div", {
12537
+ className: "quads-ad-config-menu"
12538
+ }, /*#__PURE__*/_react["default"].createElement("div", {
12539
+ className: "quads-ad-config-tab"
12540
+ }, /*#__PURE__*/_react["default"].createElement("ul", null, /*#__PURE__*/_react["default"].createElement("li", {
12541
+ className: "".concat(page.path == 'wizard' ? 'quads-selected' : '')
12542
+ }, __('Configuration', 'quick-adsense-reloaded')), /*#__PURE__*/_react["default"].createElement("li", {
12543
+ className: "".concat(page.path == 'wizard_target' ? 'quads-selected' : '')
12544
+ }, __('Targeting', 'quick-adsense-reloaded')), /*#__PURE__*/_react["default"].createElement("li", {
12545
+ className: "".concat(page.path == 'wizard_publish' ? 'quads-selected' : '')
12546
+ }, __('Publish', 'quick-adsense-reloaded')))))), /*#__PURE__*/_react["default"].createElement(_reactRouterDom.Route, {
12547
+ render: function render(props) {
12548
+ switch (page.path) {
12549
+ case "wizard":
12550
+ return /*#__PURE__*/_react["default"].createElement(_QuadsAdConfig["default"], _extends({}, props, {
12551
+ moveNext: _this2.moveNext,
12552
+ parentState: _this2.state,
12553
+ adFormChangeHandler: _this2.adFormChangeHandler,
12554
+ modalValue: _this2.modalValue,
12555
+ getAdsenseCode: _this2.getAdsenseCode,
12556
+ openModal: _this2.openModal,
12557
+ closeModal: _this2.closeModal,
12558
+ updateRandomAds: _this2.updateRandomAds
12559
+ }));
12560
+
12561
+ case "wizard_target":
12562
+ return /*#__PURE__*/_react["default"].createElement(_QuadsAdTargeting["default"], _extends({}, props, {
12563
+ parentState: _this2.state,
12564
+ updateVisitorTarget: _this2.updateVisitorTarget,
12565
+ updateVisibility: _this2.updateVisibility,
12566
+ adFormChangeHandler: _this2.adFormChangeHandler,
12567
+ movePrev: _this2.movePrev,
12568
+ publish: _this2.publish,
12569
+ onListSearchHover: _this2.onListSearchHover
12570
+ }));
12571
+
12572
+ case "wizard_publish":
12573
+ return /*#__PURE__*/_react["default"].createElement(_QuadsAdPublish["default"], _extends({}, props, {
12574
+ parentState: _this2.state,
12575
+ adFormChangeHandler: _this2.adFormChangeHandler,
12576
+ movePrev: _this2.movePrev
12577
+ }));
12578
+
12579
+ default:
12580
+ return null;
12581
+ }
12582
+ }
12583
+ })));
12584
+ }
12585
+ }]);
12586
+
12587
+ return QuadsAdCreateRouter;
12588
+ }(_react.Component);
12589
+
12590
+ var _default = QuadsAdCreateRouter;
12591
+ exports["default"] = _default;
12592
+
12593
+ /***/ }),
12594
+ /* 191 */
12595
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
12596
+
12597
+ "use strict";
12598
+ var hasSymbol = typeof Symbol === 'function' && Symbol.for;
12599
+ /* harmony default export */ __webpack_exports__["a"] = (hasSymbol ? Symbol.for('mui.nested') : '__THEME_NESTED__');
12600
+
12601
+ /***/ }),
12602
+ /* 192 */
12603
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
12604
+
12605
+ "use strict";
12606
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__createStyles__ = __webpack_require__(443);
12607
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__createStyles__["a"]; });
12608
+
12609
+
12610
+ /***/ }),
12611
+ /* 193 */
12612
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
12613
+
12614
+ "use strict";
12615
+ /* unused harmony export isBrowser */
12616
+ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
12617
+
12618
+ var isBrowser = (typeof window === "undefined" ? "undefined" : _typeof(window)) === "object" && (typeof document === "undefined" ? "undefined" : _typeof(document)) === 'object' && document.nodeType === 9;
12619
+
12620
+ /* harmony default export */ __webpack_exports__["a"] = (isBrowser);
12621
+
12622
+
12623
+ /***/ }),
12624
+ /* 194 */
12625
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
12626
+
12627
+ "use strict";
12628
+ /* harmony export (immutable) */ __webpack_exports__["a"] = _arrayLikeToArray;
12629
+ function _arrayLikeToArray(arr, len) {
12630
+ if (len == null || len > arr.length) len = arr.length;
12631
+
12632
+ for (var i = 0, arr2 = new Array(len); i < len; i++) {
12633
+ arr2[i] = arr[i];
12634
+ }
12635
+
12636
+ return arr2;
12637
+ }
12638
+
12639
+ /***/ }),
12640
+ /* 195 */
12641
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
12642
+
12643
+ "use strict";
12644
+ /* harmony export (immutable) */ __webpack_exports__["a"] = _iterableToArray;
12645
+ function _iterableToArray(iter) {
12646
+ if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter);
12647
+ }
12648
+
12649
+ /***/ }),
12650
+ /* 196 */
12651
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
12652
+
12653
+ "use strict";
12654
+ /* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
12655
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
12656
+
12657
+ var ThemeContext = __WEBPACK_IMPORTED_MODULE_0_react___default.a.createContext(null);
12658
+
12659
+ if (process.env.NODE_ENV !== 'production') {
12660
+ ThemeContext.displayName = 'ThemeContext';
12661
+ }
12662
+
12663
+ /* harmony default export */ __webpack_exports__["a"] = (ThemeContext);
12664
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
12665
+
12666
+ /***/ }),
12667
+ /* 197 */
12668
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
12669
+
12670
+ "use strict";
12671
+ /* WEBPACK VAR INJECTION */(function(process) {/* unused harmony export sheetsManager */
12672
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return StylesContext; });
12673
+ /* harmony export (immutable) */ __webpack_exports__["b"] = StylesProvider;
12674
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
12675
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_objectWithoutProperties__ = __webpack_require__(4);
12676
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react__ = __webpack_require__(0);
12677
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react__);
12678
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types__ = __webpack_require__(2);
12679
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_prop_types__);
12680
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__material_ui_utils__ = __webpack_require__(7);
12681
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__createGenerateClassName__ = __webpack_require__(78);
12682
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_jss__ = __webpack_require__(46);
12683
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__jssPreset__ = __webpack_require__(121);
12684
+
12685
+
12686
+
12687
+
12688
+
12689
+
12690
+
12691
+ // Default JSS instance.
12692
+
12693
+ var jss = Object(__WEBPACK_IMPORTED_MODULE_6_jss__["c" /* create */])(Object(__WEBPACK_IMPORTED_MODULE_7__jssPreset__["a" /* default */])()); // Use a singleton or the provided one by the context.
12694
+ //
12695
+ // The counter-based approach doesn't tolerate any mistake.
12696
+ // It's much safer to use the same counter everywhere.
12697
+
12698
+ var generateClassName = Object(__WEBPACK_IMPORTED_MODULE_5__createGenerateClassName__["a" /* default */])(); // Exported for test purposes
12699
+
12700
+ var sheetsManager = new Map();
12701
+ var defaultOptions = {
12702
+ disableGeneration: false,
12703
+ generateClassName: generateClassName,
12704
+ jss: jss,
12705
+ sheetsCache: null,
12706
+ sheetsManager: sheetsManager,
12707
+ sheetsRegistry: null
12708
+ };
12709
+ var StylesContext = __WEBPACK_IMPORTED_MODULE_2_react___default.a.createContext(defaultOptions);
12710
+
12711
+ if (process.env.NODE_ENV !== 'production') {
12712
+ StylesContext.displayName = 'StylesContext';
12713
+ }
12714
+
12715
+ var injectFirstNode;
12716
+ function StylesProvider(props) {
12717
+ var children = props.children,
12718
+ _props$injectFirst = props.injectFirst,
12719
+ injectFirst = _props$injectFirst === void 0 ? false : _props$injectFirst,
12720
+ _props$disableGenerat = props.disableGeneration,
12721
+ disableGeneration = _props$disableGenerat === void 0 ? false : _props$disableGenerat,
12722
+ localOptions = Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_objectWithoutProperties__["a" /* default */])(props, ["children", "injectFirst", "disableGeneration"]);
12723
+
12724
+ var outerOptions = __WEBPACK_IMPORTED_MODULE_2_react___default.a.useContext(StylesContext);
12725
+
12726
+ var context = Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({}, outerOptions), {}, {
12727
+ disableGeneration: disableGeneration
12728
+ }, localOptions);
12729
+
12730
+ if (process.env.NODE_ENV !== 'production') {
12731
+ if (typeof window === 'undefined' && !context.sheetsManager) {
12732
+ console.error('Material-UI: You need to use the ServerStyleSheets API when rendering on the server.');
12733
+ }
12734
+ }
12735
+
12736
+ if (process.env.NODE_ENV !== 'production') {
12737
+ if (context.jss.options.insertionPoint && injectFirst) {
12738
+ console.error('Material-UI: You cannot use a custom insertionPoint and <StylesContext injectFirst> at the same time.');
12739
+ }
12740
+ }
12741
+
12742
+ if (process.env.NODE_ENV !== 'production') {
12743
+ if (injectFirst && localOptions.jss) {
12744
+ console.error('Material-UI: You cannot use the jss and injectFirst props at the same time.');
12745
+ }
12746
+ }
12747
+
12748
+ if (!context.jss.options.insertionPoint && injectFirst && typeof window !== 'undefined') {
12749
+ if (!injectFirstNode) {
12750
+ var head = document.head;
12751
+ injectFirstNode = document.createComment('mui-inject-first');
12752
+ head.insertBefore(injectFirstNode, head.firstChild);
12753
+ }
12754
+
12755
+ context.jss = Object(__WEBPACK_IMPORTED_MODULE_6_jss__["c" /* create */])({
12756
+ plugins: Object(__WEBPACK_IMPORTED_MODULE_7__jssPreset__["a" /* default */])().plugins,
12757
+ insertionPoint: injectFirstNode
12758
+ });
12759
+ }
12760
+
12761
+ return /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(StylesContext.Provider, {
12762
+ value: context
12763
+ }, children);
12764
+ }
12765
+ process.env.NODE_ENV !== "production" ? StylesProvider.propTypes = {
12766
+ /**
12767
+ * Your component tree.
12768
+ */
12769
+ children: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.node.isRequired,
12770
+
12771
+ /**
12772
+ * You can disable the generation of the styles with this option.
12773
+ * It can be useful when traversing the React tree outside of the HTML
12774
+ * rendering step on the server.
12775
+ * Let's say you are using react-apollo to extract all
12776
+ * the queries made by the interface server-side - you can significantly speed up the traversal with this prop.
12777
+ */
12778
+ disableGeneration: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.bool,
12779
+
12780
+ /**
12781
+ * JSS's class name generator.
12782
+ */
12783
+ generateClassName: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.func,
12784
+
12785
+ /**
12786
+ * By default, the styles are injected last in the <head> element of the page.
12787
+ * As a result, they gain more specificity than any other style sheet.
12788
+ * If you want to override Material-UI's styles, set this prop.
12789
+ */
12790
+ injectFirst: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.bool,
12791
+
12792
+ /**
12793
+ * JSS's instance.
12794
+ */
12795
+ jss: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object,
12796
+
12797
+ /**
12798
+ * @ignore
12799
+ */
12800
+ serverGenerateClassName: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.func,
12801
+
12802
+ /**
12803
+ * @ignore
12804
+ *
12805
+ * Beta feature.
12806
+ *
12807
+ * Cache for the sheets.
12808
+ */
12809
+ sheetsCache: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object,
12810
+
12811
+ /**
12812
+ * @ignore
12813
+ *
12814
+ * The sheetsManager is used to deduplicate style sheet injection in the page.
12815
+ * It's deduplicating using the (theme, styles) couple.
12816
+ * On the server, you should provide a new instance for each request.
12817
+ */
12818
+ sheetsManager: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object,
12819
+
12820
+ /**
12821
+ * @ignore
12822
+ *
12823
+ * Collect the sheets.
12824
+ */
12825
+ sheetsRegistry: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object
12826
+ } : void 0;
12827
+
12828
+ if (process.env.NODE_ENV !== 'production') {
12829
+ process.env.NODE_ENV !== "production" ? StylesProvider.propTypes = Object(__WEBPACK_IMPORTED_MODULE_4__material_ui_utils__["f" /* exactProp */])(StylesProvider.propTypes) : void 0;
12830
+ }
12831
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
12832
+
12833
+ /***/ }),
12834
+ /* 198 */
12835
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
12836
+
12837
+ "use strict";
12838
+ // We use the same empty object to ref count the styles that don't need a theme object.
12839
+ var noopTheme = {};
12840
+ /* harmony default export */ __webpack_exports__["a"] = (noopTheme);
12841
+
12842
+ /***/ }),
12843
+ /* 199 */
12844
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
12845
+
12846
+ "use strict";
12847
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ServerStyleSheets__ = __webpack_require__(464);
12848
+ /* unused harmony reexport default */
12849
+
12850
+
12851
+ /***/ }),
12852
+ /* 200 */
12853
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
12854
+
12855
+ "use strict";
12856
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__styled__ = __webpack_require__(465);
12857
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__styled__["a"]; });
12858
+
12859
+
12860
+ /***/ }),
12861
+ /* 201 */
12862
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
12863
+
12864
+ "use strict";
12865
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ThemeProvider__ = __webpack_require__(466);
12866
+ /* unused harmony reexport default */
12867
+
12868
+
12869
+ /***/ }),
12870
+ /* 202 */
12871
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
12872
+
12873
+ "use strict";
12874
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__withStyles__ = __webpack_require__(467);
12875
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__withStyles__["a"]; });
12876
+
12877
+
12878
+ /***/ }),
12879
+ /* 203 */
12880
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
12881
+
12882
+ "use strict";
12883
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__withTheme__ = __webpack_require__(204);
12884
+ /* unused harmony reexport default */
12885
+ /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__withTheme__["a"]; });
12886
+
12887
+
12888
+
12889
+ /***/ }),
12890
+ /* 204 */
12891
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
12892
+
12893
+ "use strict";
12894
+ /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (immutable) */ __webpack_exports__["a"] = withThemeCreator;
12895
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
12896
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_objectWithoutProperties__ = __webpack_require__(4);
12897
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react__ = __webpack_require__(0);
12898
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react__);
12899
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types__ = __webpack_require__(2);
12900
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_prop_types__);
12901
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_hoist_non_react_statics__ = __webpack_require__(82);
12902
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_hoist_non_react_statics___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_hoist_non_react_statics__);
12903
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__material_ui_utils__ = __webpack_require__(7);
12904
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__useTheme__ = __webpack_require__(56);
12905
+
12906
+
12907
+
12908
+
12909
+
12910
+
12911
+
12912
+ function withThemeCreator() {
12913
+ var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
12914
+ var defaultTheme = options.defaultTheme;
12915
+
12916
+ var withTheme = function withTheme(Component) {
12917
+ if (process.env.NODE_ENV !== 'production') {
12918
+ if (Component === undefined) {
12919
+ throw new Error(['You are calling withTheme(Component) with an undefined component.', 'You may have forgotten to import it.'].join('\n'));
12920
+ }
12921
+ }
12922
+
12923
+ var WithTheme = __WEBPACK_IMPORTED_MODULE_2_react___default.a.forwardRef(function WithTheme(props, ref) {
12924
+ var innerRef = props.innerRef,
12925
+ other = Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_objectWithoutProperties__["a" /* default */])(props, ["innerRef"]);
12926
+
12927
+ var theme = Object(__WEBPACK_IMPORTED_MODULE_6__useTheme__["a" /* default */])() || defaultTheme;
12928
+ return /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(Component, Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({
12929
+ theme: theme,
12930
+ ref: innerRef || ref
12931
+ }, other));
12932
+ });
12933
+ process.env.NODE_ENV !== "production" ? WithTheme.propTypes = {
12934
+ /**
12935
+ * Use that prop to pass a ref to the decorated component.
12936
+ * @deprecated
12937
+ */
12938
+ innerRef: Object(__WEBPACK_IMPORTED_MODULE_5__material_ui_utils__["b" /* chainPropTypes */])(__WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.oneOfType([__WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.func, __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object]), function (props) {
12939
+ if (props.innerRef == null) {
12940
+ return null;
12941
+ }
12942
+
12943
+ return new Error('Material-UI: The `innerRef` prop is deprecated and will be removed in v5. ' + 'Refs are now automatically forwarded to the inner component.');
12944
+ })
12945
+ } : void 0;
12946
+
12947
+ if (process.env.NODE_ENV !== 'production') {
12948
+ WithTheme.displayName = "WithTheme(".concat(Object(__WEBPACK_IMPORTED_MODULE_5__material_ui_utils__["h" /* getDisplayName */])(Component), ")");
12949
+ }
12950
+
12951
+ __WEBPACK_IMPORTED_MODULE_4_hoist_non_react_statics___default()(WithTheme, Component);
12952
+
12953
+ if (process.env.NODE_ENV !== 'production') {
12954
+ // Exposed for test purposes.
12955
+ WithTheme.Naked = Component;
12956
+ }
12957
+
12958
+ return WithTheme;
12959
+ };
12960
+
12961
+ return withTheme;
12962
+ } // Provide the theme object as a prop to the input component.
12963
+ // It's an alternative API to useTheme().
12964
+ // We encourage the usage of useTheme() where possible.
12965
+
12966
+ var withTheme = withThemeCreator();
12967
+ /* unused harmony default export */ var _unused_webpack_default_export = (withTheme);
12968
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
12969
+
12970
+ /***/ }),
12971
+ /* 205 */
12972
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
12973
+
12974
+ "use strict";
12975
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return keys; });
12976
+ /* harmony export (immutable) */ __webpack_exports__["a"] = createBreakpoints;
12977
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
12978
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_objectWithoutProperties__ = __webpack_require__(4);
12979
+
12980
+
12981
+ // Sorted ASC by size. That's important.
12982
+ // It can't be configured as it's used statically for propTypes.
12983
+ var keys = ['xs', 'sm', 'md', 'lg', 'xl']; // Keep in mind that @media is inclusive by the CSS specification.
12984
+
12985
+ function createBreakpoints(breakpoints) {
12986
+ var _breakpoints$values = breakpoints.values,
12987
+ values = _breakpoints$values === void 0 ? {
12988
+ xs: 0,
12989
+ sm: 600,
12990
+ md: 960,
12991
+ lg: 1280,
12992
+ xl: 1920
12993
+ } : _breakpoints$values,
12994
+ _breakpoints$unit = breakpoints.unit,
12995
+ unit = _breakpoints$unit === void 0 ? 'px' : _breakpoints$unit,
12996
+ _breakpoints$step = breakpoints.step,
12997
+ step = _breakpoints$step === void 0 ? 5 : _breakpoints$step,
12998
+ other = Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_objectWithoutProperties__["a" /* default */])(breakpoints, ["values", "unit", "step"]);
12999
+
13000
+ function up(key) {
13001
+ var value = typeof values[key] === 'number' ? values[key] : key;
13002
+ return "@media (min-width:".concat(value).concat(unit, ")");
13003
+ }
13004
+
13005
+ function down(key) {
13006
+ var endIndex = keys.indexOf(key) + 1;
13007
+ var upperbound = values[keys[endIndex]];
13008
+
13009
+ if (endIndex === keys.length) {
13010
+ // xl down applies to all sizes
13011
+ return up('xs');
13012
+ }
13013
+
13014
+ var value = typeof upperbound === 'number' && endIndex > 0 ? upperbound : key;
13015
+ return "@media (max-width:".concat(value - step / 100).concat(unit, ")");
13016
+ }
13017
+
13018
+ function between(start, end) {
13019
+ var endIndex = keys.indexOf(end);
13020
+
13021
+ if (endIndex === keys.length - 1) {
13022
+ return up(start);
13023
+ }
13024
+
13025
+ return "@media (min-width:".concat(typeof values[start] === 'number' ? values[start] : start).concat(unit, ") and ") + "(max-width:".concat((endIndex !== -1 && typeof values[keys[endIndex + 1]] === 'number' ? values[keys[endIndex + 1]] : end) - step / 100).concat(unit, ")");
13026
+ }
13027
+
13028
+ function only(key) {
13029
+ return between(key, key);
13030
+ }
13031
+
13032
+ function width(key) {
13033
+ return values[key];
13034
+ }
13035
+
13036
+ return Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({
13037
+ keys: keys,
13038
+ values: values,
13039
+ up: up,
13040
+ down: down,
13041
+ between: between,
13042
+ only: only,
13043
+ width: width
13044
+ }, other);
13045
+ }
13046
+
13047
+ /***/ }),
13048
+ /* 206 */
13049
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
13050
+
13051
+ "use strict";
13052
+ var common = {
13053
+ black: '#000',
13054
+ white: '#fff'
13055
+ };
13056
+ /* harmony default export */ __webpack_exports__["a"] = (common);
13057
+
13058
+ /***/ }),
13059
+ /* 207 */
13060
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
13061
+
13062
+ "use strict";
13063
+ var grey = {
13064
+ 50: '#fafafa',
13065
+ 100: '#f5f5f5',
13066
+ 200: '#eeeeee',
13067
+ 300: '#e0e0e0',
13068
+ 400: '#bdbdbd',
13069
+ 500: '#9e9e9e',
13070
+ 600: '#757575',
13071
+ 700: '#616161',
13072
+ 800: '#424242',
13073
+ 900: '#212121',
13074
+ A100: '#d5d5d5',
13075
+ A200: '#aaaaaa',
13076
+ A400: '#303030',
13077
+ A700: '#616161'
13078
+ };
13079
+ /* harmony default export */ __webpack_exports__["a"] = (grey);
13080
+
13081
+ /***/ }),
13082
+ /* 208 */
13083
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
13084
+
13085
+ "use strict";
13086
+ var indigo = {
13087
+ 50: '#e8eaf6',
13088
+ 100: '#c5cae9',
13089
+ 200: '#9fa8da',
13090
+ 300: '#7986cb',
13091
+ 400: '#5c6bc0',
13092
+ 500: '#3f51b5',
13093
+ 600: '#3949ab',
13094
+ 700: '#303f9f',
13095
+ 800: '#283593',
13096
+ 900: '#1a237e',
13097
+ A100: '#8c9eff',
13098
+ A200: '#536dfe',
13099
+ A400: '#3d5afe',
13100
+ A700: '#304ffe'
13101
+ };
13102
+ /* harmony default export */ __webpack_exports__["a"] = (indigo);
13103
+
13104
+ /***/ }),
13105
+ /* 209 */
13106
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
13107
+
13108
+ "use strict";
13109
+ var pink = {
13110
+ 50: '#fce4ec',
13111
+ 100: '#f8bbd0',
13112
+ 200: '#f48fb1',
13113
+ 300: '#f06292',
13114
+ 400: '#ec407a',
13115
+ 500: '#e91e63',
13116
+ 600: '#d81b60',
13117
+ 700: '#c2185b',
13118
+ 800: '#ad1457',
13119
+ 900: '#880e4f',
13120
+ A100: '#ff80ab',
13121
+ A200: '#ff4081',
13122
+ A400: '#f50057',
13123
+ A700: '#c51162'
13124
+ };
13125
+ /* harmony default export */ __webpack_exports__["a"] = (pink);
13126
+
13127
+ /***/ }),
13128
+ /* 210 */
13129
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
13130
+
13131
+ "use strict";
13132
+ var red = {
13133
+ 50: '#ffebee',
13134
+ 100: '#ffcdd2',
13135
+ 200: '#ef9a9a',
13136
+ 300: '#e57373',
13137
+ 400: '#ef5350',
13138
+ 500: '#f44336',
13139
+ 600: '#e53935',
13140
+ 700: '#d32f2f',
13141
+ 800: '#c62828',
13142
+ 900: '#b71c1c',
13143
+ A100: '#ff8a80',
13144
+ A200: '#ff5252',
13145
+ A400: '#ff1744',
13146
+ A700: '#d50000'
13147
+ };
13148
+ /* harmony default export */ __webpack_exports__["a"] = (red);
13149
+
13150
+ /***/ }),
13151
+ /* 211 */
13152
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
13153
+
13154
+ "use strict";
13155
+ var orange = {
13156
+ 50: '#fff3e0',
13157
+ 100: '#ffe0b2',
13158
+ 200: '#ffcc80',
13159
+ 300: '#ffb74d',
13160
+ 400: '#ffa726',
13161
+ 500: '#ff9800',
13162
+ 600: '#fb8c00',
13163
+ 700: '#f57c00',
13164
+ 800: '#ef6c00',
13165
+ 900: '#e65100',
13166
+ A100: '#ffd180',
13167
+ A200: '#ffab40',
13168
+ A400: '#ff9100',
13169
+ A700: '#ff6d00'
13170
+ };
13171
+ /* harmony default export */ __webpack_exports__["a"] = (orange);
13172
+
13173
+ /***/ }),
13174
+ /* 212 */
13175
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
13176
+
13177
+ "use strict";
13178
+ var blue = {
13179
+ 50: '#e3f2fd',
13180
+ 100: '#bbdefb',
13181
+ 200: '#90caf9',
13182
+ 300: '#64b5f6',
13183
+ 400: '#42a5f5',
13184
+ 500: '#2196f3',
13185
+ 600: '#1e88e5',
13186
+ 700: '#1976d2',
13187
+ 800: '#1565c0',
13188
+ 900: '#0d47a1',
13189
+ A100: '#82b1ff',
13190
+ A200: '#448aff',
13191
+ A400: '#2979ff',
13192
+ A700: '#2962ff'
13193
+ };
13194
+ /* harmony default export */ __webpack_exports__["a"] = (blue);
13195
+
13196
+ /***/ }),
13197
+ /* 213 */
13198
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
13199
+
13200
+ "use strict";
13201
+ var green = {
13202
+ 50: '#e8f5e9',
13203
+ 100: '#c8e6c9',
13204
+ 200: '#a5d6a7',
13205
+ 300: '#81c784',
13206
+ 400: '#66bb6a',
13207
+ 500: '#4caf50',
13208
+ 600: '#43a047',
13209
+ 700: '#388e3c',
13210
+ 800: '#2e7d32',
13211
+ 900: '#1b5e20',
13212
+ A100: '#b9f6ca',
13213
+ A200: '#69f0ae',
13214
+ A400: '#00e676',
13215
+ A700: '#00c853'
13216
+ };
13217
+ /* harmony default export */ __webpack_exports__["a"] = (green);
13218
+
13219
+ /***/ }),
13220
+ /* 214 */
13221
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
13222
+
13223
+ "use strict";
13224
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__borders__ = __webpack_require__(215);
13225
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__borders__["a"]; });
13226
+ /* unused harmony namespace reexport */
13227
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__breakpoints__ = __webpack_require__(127);
13228
+ /* unused harmony reexport breakpoints */
13229
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__compose__ = __webpack_require__(37);
13230
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_2__compose__["a"]; });
13231
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__css__ = __webpack_require__(474);
13232
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return __WEBPACK_IMPORTED_MODULE_3__css__["a"]; });
13233
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__display__ = __webpack_require__(475);
13234
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return __WEBPACK_IMPORTED_MODULE_4__display__["a"]; });
13235
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__flexbox__ = __webpack_require__(217);
13236
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return __WEBPACK_IMPORTED_MODULE_5__flexbox__["a"]; });
13237
+ /* unused harmony namespace reexport */
13238
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__grid__ = __webpack_require__(218);
13239
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return __WEBPACK_IMPORTED_MODULE_6__grid__["a"]; });
13240
+ /* unused harmony namespace reexport */
13241
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__palette__ = __webpack_require__(219);
13242
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return __WEBPACK_IMPORTED_MODULE_7__palette__["a"]; });
13243
+ /* unused harmony namespace reexport */
13244
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__positions__ = __webpack_require__(220);
13245
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return __WEBPACK_IMPORTED_MODULE_8__positions__["a"]; });
13246
+ /* unused harmony namespace reexport */
13247
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__shadows__ = __webpack_require__(476);
13248
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return __WEBPACK_IMPORTED_MODULE_9__shadows__["a"]; });
13249
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__sizing__ = __webpack_require__(221);
13250
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return __WEBPACK_IMPORTED_MODULE_10__sizing__["a"]; });
13251
+ /* unused harmony namespace reexport */
13252
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__spacing__ = __webpack_require__(222);
13253
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return __WEBPACK_IMPORTED_MODULE_11__spacing__["b"]; });
13254
+ /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_11__spacing__["a"]; });
13255
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__style__ = __webpack_require__(33);
13256
+ /* unused harmony reexport style */
13257
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__typography__ = __webpack_require__(225);
13258
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return __WEBPACK_IMPORTED_MODULE_13__typography__["a"]; });
13259
+ /* unused harmony namespace reexport */
13260
+ /** @license Material-UI v4.9.14
13261
+ *
13262
+ * This source code is licensed under the MIT license found in the
13263
+ * LICENSE file in the root directory of this source tree.
13264
+ */
13265
+
13266
+
13267
+
13268
+
13269
+
13270
+
13271
+
13272
+
13273
+
13274
+
13275
+
13276
+
13277
+
13278
+
13279
+
13280
+
13281
+
13282
+
13283
+
13284
+
13285
+
13286
+
13287
+
13288
+ /***/ }),
13289
+ /* 215 */
13290
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
13291
+
13292
+ "use strict";
13293
+ /* unused harmony export border */
13294
+ /* unused harmony export borderTop */
13295
+ /* unused harmony export borderRight */
13296
+ /* unused harmony export borderBottom */
13297
+ /* unused harmony export borderLeft */
13298
+ /* unused harmony export borderColor */
13299
+ /* unused harmony export borderRadius */
13300
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style__ = __webpack_require__(33);
13301
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__compose__ = __webpack_require__(37);
13302
+
13303
+
13304
+
13305
+ function getBorder(value) {
13306
+ if (typeof value !== 'number') {
13307
+ return value;
13308
+ }
13309
+
13310
+ return "".concat(value, "px solid");
13311
+ }
13312
+
13313
+ var border = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13314
+ prop: 'border',
13315
+ themeKey: 'borders',
13316
+ transform: getBorder
13317
+ });
13318
+ var borderTop = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13319
+ prop: 'borderTop',
13320
+ themeKey: 'borders',
13321
+ transform: getBorder
13322
+ });
13323
+ var borderRight = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13324
+ prop: 'borderRight',
13325
+ themeKey: 'borders',
13326
+ transform: getBorder
13327
+ });
13328
+ var borderBottom = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13329
+ prop: 'borderBottom',
13330
+ themeKey: 'borders',
13331
+ transform: getBorder
13332
+ });
13333
+ var borderLeft = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13334
+ prop: 'borderLeft',
13335
+ themeKey: 'borders',
13336
+ transform: getBorder
13337
+ });
13338
+ var borderColor = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13339
+ prop: 'borderColor',
13340
+ themeKey: 'palette'
13341
+ });
13342
+ var borderRadius = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13343
+ prop: 'borderRadius',
13344
+ themeKey: 'shape'
13345
+ });
13346
+ var borders = Object(__WEBPACK_IMPORTED_MODULE_1__compose__["a" /* default */])(border, borderTop, borderRight, borderBottom, borderLeft, borderColor, borderRadius);
13347
+ /* harmony default export */ __webpack_exports__["a"] = (borders);
13348
+
13349
+ /***/ }),
13350
+ /* 216 */
13351
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
13352
+
13353
+ "use strict";
13354
+ /* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_prop_types__ = __webpack_require__(2);
13355
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_prop_types__);
13356
+
13357
+ var responsivePropType = process.env.NODE_ENV !== 'production' ? __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.oneOfType([__WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.number, __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.string, __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.object, __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.array]) : {};
13358
+ /* harmony default export */ __webpack_exports__["a"] = (responsivePropType);
13359
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
13360
+
13361
+ /***/ }),
13362
+ /* 217 */
13363
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
13364
+
13365
+ "use strict";
13366
+ /* unused harmony export flexBasis */
13367
+ /* unused harmony export flexDirection */
13368
+ /* unused harmony export flexWrap */
13369
+ /* unused harmony export justifyContent */
13370
+ /* unused harmony export alignItems */
13371
+ /* unused harmony export alignContent */
13372
+ /* unused harmony export order */
13373
+ /* unused harmony export flex */
13374
+ /* unused harmony export flexGrow */
13375
+ /* unused harmony export flexShrink */
13376
+ /* unused harmony export alignSelf */
13377
+ /* unused harmony export justifyItems */
13378
+ /* unused harmony export justifySelf */
13379
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style__ = __webpack_require__(33);
13380
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__compose__ = __webpack_require__(37);
13381
+
13382
+
13383
+ var flexBasis = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13384
+ prop: 'flexBasis'
13385
+ });
13386
+ var flexDirection = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13387
+ prop: 'flexDirection'
13388
+ });
13389
+ var flexWrap = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13390
+ prop: 'flexWrap'
13391
+ });
13392
+ var justifyContent = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13393
+ prop: 'justifyContent'
13394
+ });
13395
+ var alignItems = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13396
+ prop: 'alignItems'
13397
+ });
13398
+ var alignContent = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13399
+ prop: 'alignContent'
13400
+ });
13401
+ var order = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13402
+ prop: 'order'
13403
+ });
13404
+ var flex = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13405
+ prop: 'flex'
13406
+ });
13407
+ var flexGrow = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13408
+ prop: 'flexGrow'
13409
+ });
13410
+ var flexShrink = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13411
+ prop: 'flexShrink'
13412
+ });
13413
+ var alignSelf = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13414
+ prop: 'alignSelf'
13415
+ });
13416
+ var justifyItems = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13417
+ prop: 'justifyItems'
13418
+ });
13419
+ var justifySelf = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13420
+ prop: 'justifySelf'
13421
+ });
13422
+ var flexbox = Object(__WEBPACK_IMPORTED_MODULE_1__compose__["a" /* default */])(flexBasis, flexDirection, flexWrap, justifyContent, alignItems, alignContent, order, flex, flexGrow, flexShrink, alignSelf, justifyItems, justifySelf);
13423
+ /* harmony default export */ __webpack_exports__["a"] = (flexbox);
13424
+
13425
+ /***/ }),
13426
+ /* 218 */
13427
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
13428
+
13429
+ "use strict";
13430
+ /* unused harmony export gridGap */
13431
+ /* unused harmony export gridColumnGap */
13432
+ /* unused harmony export gridRowGap */
13433
+ /* unused harmony export gridColumn */
13434
+ /* unused harmony export gridRow */
13435
+ /* unused harmony export gridAutoFlow */
13436
+ /* unused harmony export gridAutoColumns */
13437
+ /* unused harmony export gridAutoRows */
13438
+ /* unused harmony export gridTemplateColumns */
13439
+ /* unused harmony export gridTemplateRows */
13440
+ /* unused harmony export gridTemplateAreas */
13441
+ /* unused harmony export gridArea */
13442
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style__ = __webpack_require__(33);
13443
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__compose__ = __webpack_require__(37);
13444
+
13445
+
13446
+ var gridGap = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13447
+ prop: 'gridGap'
13448
+ });
13449
+ var gridColumnGap = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13450
+ prop: 'gridColumnGap'
13451
+ });
13452
+ var gridRowGap = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13453
+ prop: 'gridRowGap'
13454
+ });
13455
+ var gridColumn = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13456
+ prop: 'gridColumn'
13457
+ });
13458
+ var gridRow = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13459
+ prop: 'gridRow'
13460
+ });
13461
+ var gridAutoFlow = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13462
+ prop: 'gridAutoFlow'
13463
+ });
13464
+ var gridAutoColumns = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13465
+ prop: 'gridAutoColumns'
13466
+ });
13467
+ var gridAutoRows = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13468
+ prop: 'gridAutoRows'
13469
+ });
13470
+ var gridTemplateColumns = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13471
+ prop: 'gridTemplateColumns'
13472
+ });
13473
+ var gridTemplateRows = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13474
+ prop: 'gridTemplateRows'
13475
+ });
13476
+ var gridTemplateAreas = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13477
+ prop: 'gridTemplateAreas'
13478
+ });
13479
+ var gridArea = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13480
+ prop: 'gridArea'
13481
+ });
13482
+ var grid = Object(__WEBPACK_IMPORTED_MODULE_1__compose__["a" /* default */])(gridGap, gridColumnGap, gridRowGap, gridColumn, gridRow, gridAutoFlow, gridAutoColumns, gridAutoRows, gridTemplateColumns, gridTemplateRows, gridTemplateAreas, gridArea);
13483
+ /* harmony default export */ __webpack_exports__["a"] = (grid);
13484
+
13485
+ /***/ }),
13486
+ /* 219 */
13487
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
13488
+
13489
+ "use strict";
13490
+ /* unused harmony export color */
13491
+ /* unused harmony export bgcolor */
13492
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style__ = __webpack_require__(33);
13493
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__compose__ = __webpack_require__(37);
13494
+
13495
+
13496
+ var color = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13497
+ prop: 'color',
13498
+ themeKey: 'palette'
13499
+ });
13500
+ var bgcolor = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13501
+ prop: 'bgcolor',
13502
+ cssProperty: 'backgroundColor',
13503
+ themeKey: 'palette'
13504
+ });
13505
+ var palette = Object(__WEBPACK_IMPORTED_MODULE_1__compose__["a" /* default */])(color, bgcolor);
13506
+ /* harmony default export */ __webpack_exports__["a"] = (palette);
13507
+
13508
+ /***/ }),
13509
+ /* 220 */
13510
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
13511
+
13512
+ "use strict";
13513
+ /* unused harmony export position */
13514
+ /* unused harmony export zIndex */
13515
+ /* unused harmony export top */
13516
+ /* unused harmony export right */
13517
+ /* unused harmony export bottom */
13518
+ /* unused harmony export left */
13519
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style__ = __webpack_require__(33);
13520
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__compose__ = __webpack_require__(37);
13521
+
13522
+
13523
+ var position = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13524
+ prop: 'position'
13525
+ });
13526
+ var zIndex = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13527
+ prop: 'zIndex',
13528
+ themeKey: 'zIndex'
13529
+ });
13530
+ var top = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13531
+ prop: 'top'
13532
+ });
13533
+ var right = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13534
+ prop: 'right'
13535
+ });
13536
+ var bottom = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13537
+ prop: 'bottom'
13538
+ });
13539
+ var left = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13540
+ prop: 'left'
13541
+ });
13542
+ /* harmony default export */ __webpack_exports__["a"] = (Object(__WEBPACK_IMPORTED_MODULE_1__compose__["a" /* default */])(position, zIndex, top, right, bottom, left));
13543
+
13544
+ /***/ }),
13545
+ /* 221 */
13546
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
13547
+
13548
+ "use strict";
13549
+ /* unused harmony export width */
13550
+ /* unused harmony export maxWidth */
13551
+ /* unused harmony export minWidth */
13552
+ /* unused harmony export height */
13553
+ /* unused harmony export maxHeight */
13554
+ /* unused harmony export minHeight */
13555
+ /* unused harmony export sizeWidth */
13556
+ /* unused harmony export sizeHeight */
13557
+ /* unused harmony export boxSizing */
13558
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style__ = __webpack_require__(33);
13559
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__compose__ = __webpack_require__(37);
13560
+
13561
+
13562
+
13563
+ function transform(value) {
13564
+ return value <= 1 ? "".concat(value * 100, "%") : value;
13565
+ }
13566
+
13567
+ var width = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13568
+ prop: 'width',
13569
+ transform: transform
13570
+ });
13571
+ var maxWidth = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13572
+ prop: 'maxWidth',
13573
+ transform: transform
13574
+ });
13575
+ var minWidth = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13576
+ prop: 'minWidth',
13577
+ transform: transform
13578
+ });
13579
+ var height = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13580
+ prop: 'height',
13581
+ transform: transform
13582
+ });
13583
+ var maxHeight = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13584
+ prop: 'maxHeight',
13585
+ transform: transform
13586
+ });
13587
+ var minHeight = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13588
+ prop: 'minHeight',
13589
+ transform: transform
13590
+ });
13591
+ var sizeWidth = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13592
+ prop: 'size',
13593
+ cssProperty: 'width',
13594
+ transform: transform
13595
+ });
13596
+ var sizeHeight = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13597
+ prop: 'size',
13598
+ cssProperty: 'height',
13599
+ transform: transform
13600
+ });
13601
+ var boxSizing = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13602
+ prop: 'boxSizing'
13603
+ });
13604
+ var sizing = Object(__WEBPACK_IMPORTED_MODULE_1__compose__["a" /* default */])(width, maxWidth, minWidth, height, maxHeight, minHeight, boxSizing);
13605
+ /* harmony default export */ __webpack_exports__["a"] = (sizing);
13606
+
13607
+ /***/ }),
13608
+ /* 222 */
13609
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
13610
+
13611
+ "use strict";
13612
+ /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (immutable) */ __webpack_exports__["a"] = createUnarySpacing;
13613
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_slicedToArray__ = __webpack_require__(20);
13614
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__responsivePropType__ = __webpack_require__(216);
13615
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__breakpoints__ = __webpack_require__(127);
13616
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__merge__ = __webpack_require__(83);
13617
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__memoize__ = __webpack_require__(478);
13618
+
13619
+
13620
+
13621
+
13622
+
13623
+ var properties = {
13624
+ m: 'margin',
13625
+ p: 'padding'
13626
+ };
13627
+ var directions = {
13628
+ t: 'Top',
13629
+ r: 'Right',
13630
+ b: 'Bottom',
13631
+ l: 'Left',
13632
+ x: ['Left', 'Right'],
13633
+ y: ['Top', 'Bottom']
13634
+ };
13635
+ var aliases = {
13636
+ marginX: 'mx',
13637
+ marginY: 'my',
13638
+ paddingX: 'px',
13639
+ paddingY: 'py'
13640
+ }; // memoize() impact:
13641
+ // From 300,000 ops/sec
13642
+ // To 350,000 ops/sec
13643
+
13644
+ var getCssProperties = Object(__WEBPACK_IMPORTED_MODULE_4__memoize__["a" /* default */])(function (prop) {
13645
+ // It's not a shorthand notation.
13646
+ if (prop.length > 2) {
13647
+ if (aliases[prop]) {
13648
+ prop = aliases[prop];
13649
+ } else {
13650
+ return [prop];
13651
+ }
13652
+ }
13653
+
13654
+ var _prop$split = prop.split(''),
13655
+ _prop$split2 = Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_slicedToArray__["a" /* default */])(_prop$split, 2),
13656
+ a = _prop$split2[0],
13657
+ b = _prop$split2[1];
13658
+
13659
+ var property = properties[a];
13660
+ var direction = directions[b] || '';
13661
+ return Array.isArray(direction) ? direction.map(function (dir) {
13662
+ return property + dir;
13663
+ }) : [property + direction];
13664
+ });
13665
+ var spacingKeys = ['m', 'mt', 'mr', 'mb', 'ml', 'mx', 'my', 'p', 'pt', 'pr', 'pb', 'pl', 'px', 'py', 'margin', 'marginTop', 'marginRight', 'marginBottom', 'marginLeft', 'marginX', 'marginY', 'padding', 'paddingTop', 'paddingRight', 'paddingBottom', 'paddingLeft', 'paddingX', 'paddingY'];
13666
+ function createUnarySpacing(theme) {
13667
+ var themeSpacing = theme.spacing || 8;
13668
+
13669
+ if (typeof themeSpacing === 'number') {
13670
+ return function (abs) {
13671
+ if (process.env.NODE_ENV !== 'production') {
13672
+ if (typeof abs !== 'number') {
13673
+ console.error("Material-UI: Expected spacing argument to be a number, got ".concat(abs, "."));
13674
+ }
13675
+ }
13676
+
13677
+ return themeSpacing * abs;
13678
+ };
13679
+ }
13680
+
13681
+ if (Array.isArray(themeSpacing)) {
13682
+ return function (abs) {
13683
+ if (process.env.NODE_ENV !== 'production') {
13684
+ if (abs > themeSpacing.length - 1) {
13685
+ console.error(["Material-UI: The value provided (".concat(abs, ") overflows."), "The supported values are: ".concat(JSON.stringify(themeSpacing), "."), "".concat(abs, " > ").concat(themeSpacing.length - 1, ", you need to add the missing values.")].join('\n'));
13686
+ }
13687
+ }
13688
+
13689
+ return themeSpacing[abs];
13690
+ };
13691
+ }
13692
+
13693
+ if (typeof themeSpacing === 'function') {
13694
+ return themeSpacing;
13695
+ }
13696
+
13697
+ if (process.env.NODE_ENV !== 'production') {
13698
+ console.error(["Material-UI: The `theme.spacing` value (".concat(themeSpacing, ") is invalid."), 'It should be a number, an array or a function.'].join('\n'));
13699
+ }
13700
+
13701
+ return function () {
13702
+ return undefined;
13703
+ };
13704
+ }
13705
+
13706
+ function getValue(transformer, propValue) {
13707
+ if (typeof propValue === 'string') {
13708
+ return propValue;
13709
+ }
13710
+
13711
+ var abs = Math.abs(propValue);
13712
+ var transformed = transformer(abs);
13713
+
13714
+ if (propValue >= 0) {
13715
+ return transformed;
13716
+ }
13717
+
13718
+ if (typeof transformed === 'number') {
13719
+ return -transformed;
13720
+ }
13721
+
13722
+ return "-".concat(transformed);
13723
+ }
13724
+
13725
+ function getStyleFromPropValue(cssProperties, transformer) {
13726
+ return function (propValue) {
13727
+ return cssProperties.reduce(function (acc, cssProperty) {
13728
+ acc[cssProperty] = getValue(transformer, propValue);
13729
+ return acc;
13730
+ }, {});
13731
+ };
13732
+ }
13733
+
13734
+ function spacing(props) {
13735
+ var theme = props.theme;
13736
+ var transformer = createUnarySpacing(theme);
13737
+ return Object.keys(props).map(function (prop) {
13738
+ // Using a hash computation over an array iteration could be faster, but with only 28 items,
13739
+ // it's doesn't worth the bundle size.
13740
+ if (spacingKeys.indexOf(prop) === -1) {
13741
+ return null;
13742
+ }
13743
+
13744
+ var cssProperties = getCssProperties(prop);
13745
+ var styleFromPropValue = getStyleFromPropValue(cssProperties, transformer);
13746
+ var propValue = props[prop];
13747
+ return Object(__WEBPACK_IMPORTED_MODULE_2__breakpoints__["a" /* handleBreakpoints */])(props, propValue, styleFromPropValue);
13748
+ }).reduce(__WEBPACK_IMPORTED_MODULE_3__merge__["a" /* default */], {});
13749
+ }
13750
+
13751
+ spacing.propTypes = process.env.NODE_ENV !== 'production' ? spacingKeys.reduce(function (obj, key) {
13752
+ obj[key] = __WEBPACK_IMPORTED_MODULE_1__responsivePropType__["a" /* default */];
13753
+ return obj;
13754
+ }, {}) : {};
13755
+ spacing.filterProps = spacingKeys;
13756
+ /* harmony default export */ __webpack_exports__["b"] = (spacing);
13757
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
13758
+
13759
+ /***/ }),
13760
+ /* 223 */
13761
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
13762
+
13763
+ "use strict";
13764
+ /* harmony export (immutable) */ __webpack_exports__["a"] = _arrayWithHoles;
13765
+ function _arrayWithHoles(arr) {
13766
+ if (Array.isArray(arr)) return arr;
13767
+ }
13768
+
13769
+ /***/ }),
13770
+ /* 224 */
13771
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
13772
+
13773
+ "use strict";
13774
+ /* harmony export (immutable) */ __webpack_exports__["a"] = _nonIterableRest;
13775
+ function _nonIterableRest() {
13776
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
13777
+ }
13778
+
13779
+ /***/ }),
13780
+ /* 225 */
13781
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
13782
+
13783
+ "use strict";
13784
+ /* unused harmony export fontFamily */
13785
+ /* unused harmony export fontSize */
13786
+ /* unused harmony export fontStyle */
13787
+ /* unused harmony export fontWeight */
13788
+ /* unused harmony export letterSpacing */
13789
+ /* unused harmony export lineHeight */
13790
+ /* unused harmony export textAlign */
13791
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style__ = __webpack_require__(33);
13792
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__compose__ = __webpack_require__(37);
13793
+
13794
+
13795
+ var fontFamily = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13796
+ prop: 'fontFamily',
13797
+ themeKey: 'typography'
13798
+ });
13799
+ var fontSize = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13800
+ prop: 'fontSize',
13801
+ themeKey: 'typography'
13802
+ });
13803
+ var fontStyle = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13804
+ prop: 'fontStyle',
13805
+ themeKey: 'typography'
13806
+ });
13807
+ var fontWeight = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13808
+ prop: 'fontWeight',
13809
+ themeKey: 'typography'
13810
+ });
13811
+ var letterSpacing = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13812
+ prop: 'letterSpacing'
13813
+ });
13814
+ var lineHeight = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13815
+ prop: 'lineHeight'
13816
+ });
13817
+ var textAlign = Object(__WEBPACK_IMPORTED_MODULE_0__style__["a" /* default */])({
13818
+ prop: 'textAlign'
13819
+ });
13820
+ var typography = Object(__WEBPACK_IMPORTED_MODULE_1__compose__["a" /* default */])(fontFamily, fontSize, fontStyle, fontWeight, letterSpacing, lineHeight, textAlign);
13821
+ /* harmony default export */ __webpack_exports__["a"] = (typography);
13822
+
13823
+ /***/ }),
13824
+ /* 226 */
13825
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
13826
+
13827
+ "use strict";
13828
+ // We need to centralize the zIndex definitions as they work
13829
+ // like global values in the browser.
13830
+ var zIndex = {
13831
+ mobileStepper: 1000,
13832
+ speedDial: 1050,
13833
+ appBar: 1100,
13834
+ drawer: 1200,
13835
+ modal: 1300,
13836
+ snackbar: 1400,
13837
+ tooltip: 1500
13838
+ };
13839
+ /* harmony default export */ __webpack_exports__["a"] = (zIndex);
13840
+
13841
+ /***/ }),
13842
+ /* 227 */
13843
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
13844
+
13845
+ "use strict";
13846
+ function areInputsEqual(newInputs, lastInputs) {
13847
+ if (newInputs.length !== lastInputs.length) {
13848
+ return false;
13849
+ }
13850
+ for (var i = 0; i < newInputs.length; i++) {
13851
+ if (newInputs[i] !== lastInputs[i]) {
13852
+ return false;
13853
+ }
13854
+ }
13855
+ return true;
13856
+ }
13857
+
13858
+ function memoizeOne(resultFn, isEqual) {
13859
+ if (isEqual === void 0) { isEqual = areInputsEqual; }
13860
+ var lastThis;
13861
+ var lastArgs = [];
13862
+ var lastResult;
13863
+ var calledOnce = false;
13864
+ function memoized() {
13865
+ var newArgs = [];
13866
+ for (var _i = 0; _i < arguments.length; _i++) {
13867
+ newArgs[_i] = arguments[_i];
13868
+ }
13869
+ if (calledOnce && lastThis === this && isEqual(newArgs, lastArgs)) {
13870
+ return lastResult;
13871
+ }
13872
+ lastResult = resultFn.apply(this, newArgs);
13873
+ calledOnce = true;
13874
+ lastThis = this;
13875
+ lastArgs = newArgs;
13876
+ return lastResult;
13877
+ }
13878
+ return memoized;
13879
+ }
13880
+
13881
+ /* harmony default export */ __webpack_exports__["a"] = (memoizeOne);
13882
+
13883
+
13884
+ /***/ }),
13885
+ /* 228 */
13886
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
13887
+
13888
+ "use strict";
13889
+ /* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__emotion_sheet__ = __webpack_require__(229);
13890
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__emotion_stylis__ = __webpack_require__(480);
13891
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__emotion_weak_memoize__ = __webpack_require__(481);
13892
+
13893
+
13894
+
13895
+
13896
+ // https://github.com/thysultan/stylis.js/tree/master/plugins/rule-sheet
13897
+ // inlined to avoid umd wrapper and peerDep warnings/installing stylis
13898
+ // since we use stylis after closure compiler
13899
+ var delimiter = '/*|*/';
13900
+ var needle = delimiter + '}';
13901
+
13902
+ function toSheet(block) {
13903
+ if (block) {
13904
+ Sheet.current.insert(block + '}');
13905
+ }
13906
+ }
13907
+
13908
+ var Sheet = {
13909
+ current: null
13910
+ };
13911
+ var ruleSheet = function ruleSheet(context, content, selectors, parents, line, column, length, ns, depth, at) {
13912
+ switch (context) {
13913
+ // property
13914
+ case 1:
13915
+ {
13916
+ switch (content.charCodeAt(0)) {
13917
+ case 64:
13918
+ {
13919
+ // @import
13920
+ Sheet.current.insert(content + ';');
13921
+ return '';
13922
+ }
13923
+ // charcode for l
13924
+
13925
+ case 108:
13926
+ {
13927
+ // charcode for b
13928
+ // this ignores label
13929
+ if (content.charCodeAt(2) === 98) {
13930
+ return '';
13931
+ }
13932
+ }
13933
+ }
13934
+
13935
+ break;
13936
+ }
13937
+ // selector
13938
+
13939
+ case 2:
13940
+ {
13941
+ if (ns === 0) return content + delimiter;
13942
+ break;
13943
+ }
13944
+ // at-rule
13945
+
13946
+ case 3:
13947
+ {
13948
+ switch (ns) {
13949
+ // @font-face, @page
13950
+ case 102:
13951
+ case 112:
13952
+ {
13953
+ Sheet.current.insert(selectors[0] + content);
13954
+ return '';
13955
+ }
13956
+
13957
+ default:
13958
+ {
13959
+ return content + (at === 0 ? delimiter : '');
13960
+ }
13961
+ }
13962
+ }
13963
+
13964
+ case -2:
13965
+ {
13966
+ content.split(needle).forEach(toSheet);
13967
+ }
13968
+ }
13969
+ };
13970
+
13971
+ var createCache = function createCache(options) {
13972
+ if (options === undefined) options = {};
13973
+ var key = options.key || 'css';
13974
+ var stylisOptions;
13975
+
13976
+ if (options.prefix !== undefined) {
13977
+ stylisOptions = {
13978
+ prefix: options.prefix
13979
+ };
13980
+ }
13981
+
13982
+ var stylis = new __WEBPACK_IMPORTED_MODULE_1__emotion_stylis__["a" /* default */](stylisOptions);
13983
+
13984
+ if (process.env.NODE_ENV !== 'production') {
13985
+ // $FlowFixMe
13986
+ if (/[^a-z-]/.test(key)) {
13987
+ throw new Error("Emotion key must only contain lower case alphabetical characters and - but \"" + key + "\" was passed");
13988
+ }
13989
+ }
13990
+
13991
+ var inserted = {}; // $FlowFixMe
13992
+
13993
+ var container;
13994
+
13995
+ {
13996
+ container = options.container || document.head;
13997
+ var nodes = document.querySelectorAll("style[data-emotion-" + key + "]");
13998
+ Array.prototype.forEach.call(nodes, function (node) {
13999
+ var attrib = node.getAttribute("data-emotion-" + key); // $FlowFixMe
14000
+
14001
+ attrib.split(' ').forEach(function (id) {
14002
+ inserted[id] = true;
14003
+ });
14004
+
14005
+ if (node.parentNode !== container) {
14006
+ container.appendChild(node);
14007
+ }
14008
+ });
14009
+ }
14010
+
14011
+ var _insert;
14012
+
14013
+ {
14014
+ stylis.use(options.stylisPlugins)(ruleSheet);
14015
+
14016
+ _insert = function insert(selector, serialized, sheet, shouldCache) {
14017
+ var name = serialized.name;
14018
+ Sheet.current = sheet;
14019
+
14020
+ if (process.env.NODE_ENV !== 'production' && serialized.map !== undefined) {
14021
+ var map = serialized.map;
14022
+ Sheet.current = {
14023
+ insert: function insert(rule) {
14024
+ sheet.insert(rule + map);
14025
+ }
14026
+ };
14027
+ }
14028
+
14029
+ stylis(selector, serialized.styles);
14030
+
14031
+ if (shouldCache) {
14032
+ cache.inserted[name] = true;
14033
+ }
14034
+ };
14035
+ }
14036
+
14037
+ if (process.env.NODE_ENV !== 'production') {
14038
+ // https://esbench.com/bench/5bf7371a4cd7e6009ef61d0a
14039
+ var commentStart = /\/\*/g;
14040
+ var commentEnd = /\*\//g;
14041
+ stylis.use(function (context, content) {
14042
+ switch (context) {
14043
+ case -1:
14044
+ {
14045
+ while (commentStart.test(content)) {
14046
+ commentEnd.lastIndex = commentStart.lastIndex;
14047
+
14048
+ if (commentEnd.test(content)) {
14049
+ commentStart.lastIndex = commentEnd.lastIndex;
14050
+ continue;
14051
+ }
14052
+
14053
+ throw new Error('Your styles have an unterminated comment ("/*" without corresponding "*/").');
14054
+ }
14055
+
14056
+ commentStart.lastIndex = 0;
14057
+ break;
14058
+ }
14059
+ }
14060
+ });
14061
+ stylis.use(function (context, content, selectors) {
14062
+ switch (context) {
14063
+ case -1:
14064
+ {
14065
+ var flag = 'emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason';
14066
+ var unsafePseudoClasses = content.match(/(:first|:nth|:nth-last)-child/g);
14067
+
14068
+ if (unsafePseudoClasses && cache.compat !== true) {
14069
+ unsafePseudoClasses.forEach(function (unsafePseudoClass) {
14070
+ var ignoreRegExp = new RegExp(unsafePseudoClass + ".*\\/\\* " + flag + " \\*\\/");
14071
+ var ignore = ignoreRegExp.test(content);
14072
+
14073
+ if (unsafePseudoClass && !ignore) {
14074
+ console.error("The pseudo class \"" + unsafePseudoClass + "\" is potentially unsafe when doing server-side rendering. Try changing it to \"" + unsafePseudoClass.split('-child')[0] + "-of-type\".");
14075
+ }
14076
+ });
14077
+ }
14078
+
14079
+ break;
14080
+ }
14081
+ }
14082
+ });
14083
+ }
14084
+
14085
+ var cache = {
14086
+ key: key,
14087
+ sheet: new __WEBPACK_IMPORTED_MODULE_0__emotion_sheet__["a" /* StyleSheet */]({
14088
+ key: key,
14089
+ container: container,
14090
+ nonce: options.nonce,
14091
+ speedy: options.speedy
14092
+ }),
14093
+ nonce: options.nonce,
14094
+ inserted: inserted,
14095
+ registered: {},
14096
+ insert: _insert
14097
+ };
14098
+ return cache;
14099
+ };
14100
+
14101
+ /* harmony default export */ __webpack_exports__["a"] = (createCache);
14102
+
14103
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
14104
+
14105
+ /***/ }),
14106
+ /* 229 */
14107
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
14108
+
14109
+ "use strict";
14110
+ /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return StyleSheet; });
14111
+ /*
14112
+
14113
+ Based off glamor's StyleSheet, thanks Sunil ❤️
14114
+
14115
+ high performance StyleSheet for css-in-js systems
14116
+
14117
+ - uses multiple style tags behind the scenes for millions of rules
14118
+ - uses `insertRule` for appending in production for *much* faster performance
14119
+
14120
+ // usage
14121
+
14122
+ import { StyleSheet } from '@emotion/sheet'
14123
+
14124
+ let styleSheet = new StyleSheet({ key: '', container: document.head })
14125
+
14126
+ styleSheet.insert('#box { border: 1px solid red; }')
14127
+ - appends a css rule into the stylesheet
14128
+
14129
+ styleSheet.flush()
14130
+ - empties the stylesheet of all its contents
14131
+
14132
+ */
14133
+ // $FlowFixMe
14134
+ function sheetForTag(tag) {
14135
+ if (tag.sheet) {
14136
+ // $FlowFixMe
14137
+ return tag.sheet;
14138
+ } // this weirdness brought to you by firefox
14139
+
14140
+ /* istanbul ignore next */
14141
+
14142
+
14143
+ for (var i = 0; i < document.styleSheets.length; i++) {
14144
+ if (document.styleSheets[i].ownerNode === tag) {
14145
+ // $FlowFixMe
14146
+ return document.styleSheets[i];
14147
+ }
14148
+ }
14149
+ }
14150
+
14151
+ function createStyleElement(options) {
14152
+ var tag = document.createElement('style');
14153
+ tag.setAttribute('data-emotion', options.key);
14154
+
14155
+ if (options.nonce !== undefined) {
14156
+ tag.setAttribute('nonce', options.nonce);
14157
+ }
14158
+
14159
+ tag.appendChild(document.createTextNode(''));
14160
+ return tag;
14161
+ }
14162
+
14163
+ var StyleSheet =
14164
+ /*#__PURE__*/
14165
+ function () {
14166
+ function StyleSheet(options) {
14167
+ this.isSpeedy = options.speedy === undefined ? process.env.NODE_ENV === 'production' : options.speedy;
14168
+ this.tags = [];
14169
+ this.ctr = 0;
14170
+ this.nonce = options.nonce; // key is the value of the data-emotion attribute, it's used to identify different sheets
14171
+
14172
+ this.key = options.key;
14173
+ this.container = options.container;
14174
+ this.before = null;
14175
+ }
14176
+
14177
+ var _proto = StyleSheet.prototype;
14178
+
14179
+ _proto.insert = function insert(rule) {
14180
+ // the max length is how many rules we have per style tag, it's 65000 in speedy mode
14181
+ // it's 1 in dev because we insert source maps that map a single rule to a location
14182
+ // and you can only have one source map per style tag
14183
+ if (this.ctr % (this.isSpeedy ? 65000 : 1) === 0) {
14184
+ var _tag = createStyleElement(this);
14185
+
14186
+ var before;
14187
+
14188
+ if (this.tags.length === 0) {
14189
+ before = this.before;
14190
+ } else {
14191
+ before = this.tags[this.tags.length - 1].nextSibling;
14192
+ }
14193
+
14194
+ this.container.insertBefore(_tag, before);
14195
+ this.tags.push(_tag);
14196
+ }
14197
+
14198
+ var tag = this.tags[this.tags.length - 1];
14199
+
14200
+ if (this.isSpeedy) {
14201
+ var sheet = sheetForTag(tag);
14202
+
14203
+ try {
14204
+ // this is a really hot path
14205
+ // we check the second character first because having "i"
14206
+ // as the second character will happen less often than
14207
+ // having "@" as the first character
14208
+ var isImportRule = rule.charCodeAt(1) === 105 && rule.charCodeAt(0) === 64; // this is the ultrafast version, works across browsers
14209
+ // the big drawback is that the css won't be editable in devtools
14210
+
14211
+ sheet.insertRule(rule, // we need to insert @import rules before anything else
14212
+ // otherwise there will be an error
14213
+ // technically this means that the @import rules will
14214
+ // _usually_(not always since there could be multiple style tags)
14215
+ // be the first ones in prod and generally later in dev
14216
+ // this shouldn't really matter in the real world though
14217
+ // @import is generally only used for font faces from google fonts and etc.
14218
+ // so while this could be technically correct then it would be slower and larger
14219
+ // for a tiny bit of correctness that won't matter in the real world
14220
+ isImportRule ? 0 : sheet.cssRules.length);
14221
+ } catch (e) {
14222
+ if (process.env.NODE_ENV !== 'production') {
14223
+ console.warn("There was a problem inserting the following rule: \"" + rule + "\"", e);
14224
+ }
14225
+ }
14226
+ } else {
14227
+ tag.appendChild(document.createTextNode(rule));
14228
+ }
14229
+
14230
+ this.ctr++;
14231
+ };
14232
+
14233
+ _proto.flush = function flush() {
14234
+ // $FlowFixMe
14235
+ this.tags.forEach(function (tag) {
14236
+ return tag.parentNode.removeChild(tag);
14237
+ });
14238
+ this.tags = [];
14239
+ this.ctr = 0;
14240
+ };
14241
+
14242
+ return StyleSheet;
14243
+ }();
14244
+
14245
+
14246
+
14247
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
14248
+
14249
+ /***/ }),
14250
+ /* 230 */
14251
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
14252
+
14253
+ "use strict";
14254
+ /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return serializeStyles; });
14255
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__emotion_hash__ = __webpack_require__(483);
14256
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__emotion_unitless__ = __webpack_require__(484);
14257
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__emotion_memoize__ = __webpack_require__(485);
14258
+
14259
+
14260
+
14261
+
14262
+ var ILLEGAL_ESCAPE_SEQUENCE_ERROR = "You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences";
14263
+ var UNDEFINED_AS_OBJECT_KEY_ERROR = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).";
14264
+ var hyphenateRegex = /[A-Z]|^ms/g;
14265
+ var animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;
14266
+
14267
+ var isCustomProperty = function isCustomProperty(property) {
14268
+ return property.charCodeAt(1) === 45;
14269
+ };
14270
+
14271
+ var isProcessableValue = function isProcessableValue(value) {
14272
+ return value != null && typeof value !== 'boolean';
14273
+ };
14274
+
14275
+ var processStyleName = Object(__WEBPACK_IMPORTED_MODULE_2__emotion_memoize__["a" /* default */])(function (styleName) {
14276
+ return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, '-$&').toLowerCase();
14277
+ });
14278
+
14279
+ var processStyleValue = function processStyleValue(key, value) {
14280
+ switch (key) {
14281
+ case 'animation':
14282
+ case 'animationName':
14283
+ {
14284
+ if (typeof value === 'string') {
14285
+ return value.replace(animationRegex, function (match, p1, p2) {
14286
+ cursor = {
14287
+ name: p1,
14288
+ styles: p2,
14289
+ next: cursor
14290
+ };
14291
+ return p1;
14292
+ });
14293
+ }
14294
+ }
14295
+ }
14296
+
14297
+ if (__WEBPACK_IMPORTED_MODULE_1__emotion_unitless__["a" /* default */][key] !== 1 && !isCustomProperty(key) && typeof value === 'number' && value !== 0) {
14298
+ return value + 'px';
14299
+ }
14300
+
14301
+ return value;
14302
+ };
14303
+
14304
+ if (process.env.NODE_ENV !== 'production') {
14305
+ var contentValuePattern = /(attr|calc|counters?|url)\(/;
14306
+ var contentValues = ['normal', 'none', 'counter', 'open-quote', 'close-quote', 'no-open-quote', 'no-close-quote', 'initial', 'inherit', 'unset'];
14307
+ var oldProcessStyleValue = processStyleValue;
14308
+ var msPattern = /^-ms-/;
14309
+ var hyphenPattern = /-(.)/g;
14310
+ var hyphenatedCache = {};
14311
+
14312
+ processStyleValue = function processStyleValue(key, value) {
14313
+ if (key === 'content') {
14314
+ if (typeof value !== 'string' || contentValues.indexOf(value) === -1 && !contentValuePattern.test(value) && (value.charAt(0) !== value.charAt(value.length - 1) || value.charAt(0) !== '"' && value.charAt(0) !== "'")) {
14315
+ console.error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"" + value + "\"'`");
14316
+ }
14317
+ }
14318
+
14319
+ var processed = oldProcessStyleValue(key, value);
14320
+
14321
+ if (processed !== '' && !isCustomProperty(key) && key.indexOf('-') !== -1 && hyphenatedCache[key] === undefined) {
14322
+ hyphenatedCache[key] = true;
14323
+ console.error("Using kebab-case for css properties in objects is not supported. Did you mean " + key.replace(msPattern, 'ms-').replace(hyphenPattern, function (str, _char) {
14324
+ return _char.toUpperCase();
14325
+ }) + "?");
14326
+ }
14327
+
14328
+ return processed;
14329
+ };
14330
+ }
14331
+
14332
+ var shouldWarnAboutInterpolatingClassNameFromCss = true;
14333
+
14334
+ function handleInterpolation(mergedProps, registered, interpolation, couldBeSelectorInterpolation) {
14335
+ if (interpolation == null) {
14336
+ return '';
14337
+ }
14338
+
14339
+ if (interpolation.__emotion_styles !== undefined) {
14340
+ if (process.env.NODE_ENV !== 'production' && interpolation.toString() === 'NO_COMPONENT_SELECTOR') {
14341
+ throw new Error('Component selectors can only be used in conjunction with babel-plugin-emotion.');
14342
+ }
14343
+
14344
+ return interpolation;
14345
+ }
14346
+
14347
+ switch (typeof interpolation) {
14348
+ case 'boolean':
14349
+ {
14350
+ return '';
14351
+ }
14352
+
14353
+ case 'object':
14354
+ {
14355
+ if (interpolation.anim === 1) {
14356
+ cursor = {
14357
+ name: interpolation.name,
14358
+ styles: interpolation.styles,
14359
+ next: cursor
14360
+ };
14361
+ return interpolation.name;
14362
+ }
14363
+
14364
+ if (interpolation.styles !== undefined) {
14365
+ var next = interpolation.next;
14366
+
14367
+ if (next !== undefined) {
14368
+ // not the most efficient thing ever but this is a pretty rare case
14369
+ // and there will be very few iterations of this generally
14370
+ while (next !== undefined) {
14371
+ cursor = {
14372
+ name: next.name,
14373
+ styles: next.styles,
14374
+ next: cursor
14375
+ };
14376
+ next = next.next;
14377
+ }
14378
+ }
14379
+
14380
+ var styles = interpolation.styles + ";";
14381
+
14382
+ if (process.env.NODE_ENV !== 'production' && interpolation.map !== undefined) {
14383
+ styles += interpolation.map;
14384
+ }
14385
+
14386
+ return styles;
14387
+ }
14388
+
14389
+ return createStringFromObject(mergedProps, registered, interpolation);
14390
+ }
14391
+
14392
+ case 'function':
14393
+ {
14394
+ if (mergedProps !== undefined) {
14395
+ var previousCursor = cursor;
14396
+ var result = interpolation(mergedProps);
14397
+ cursor = previousCursor;
14398
+ return handleInterpolation(mergedProps, registered, result, couldBeSelectorInterpolation);
14399
+ } else if (process.env.NODE_ENV !== 'production') {
14400
+ console.error('Functions that are interpolated in css calls will be stringified.\n' + 'If you want to have a css call based on props, create a function that returns a css call like this\n' + 'let dynamicStyle = (props) => css`color: ${props.color}`\n' + 'It can be called directly with props or interpolated in a styled call like this\n' + "let SomeComponent = styled('div')`${dynamicStyle}`");
14401
+ }
14402
+
14403
+ break;
14404
+ }
14405
+
14406
+ case 'string':
14407
+ if (process.env.NODE_ENV !== 'production') {
14408
+ var matched = [];
14409
+ var replaced = interpolation.replace(animationRegex, function (match, p1, p2) {
14410
+ var fakeVarName = "animation" + matched.length;
14411
+ matched.push("const " + fakeVarName + " = keyframes`" + p2.replace(/^@keyframes animation-\w+/, '') + "`");
14412
+ return "${" + fakeVarName + "}";
14413
+ });
14414
+
14415
+ if (matched.length) {
14416
+ console.error('`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\n' + 'Instead of doing this:\n\n' + [].concat(matched, ["`" + replaced + "`"]).join('\n') + '\n\nYou should wrap it with `css` like this:\n\n' + ("css`" + replaced + "`"));
14417
+ }
14418
+ }
14419
+
14420
+ break;
14421
+ } // finalize string values (regular strings and functions interpolated into css calls)
14422
+
14423
+
14424
+ if (registered == null) {
14425
+ return interpolation;
14426
+ }
14427
+
14428
+ var cached = registered[interpolation];
14429
+
14430
+ if (process.env.NODE_ENV !== 'production' && couldBeSelectorInterpolation && shouldWarnAboutInterpolatingClassNameFromCss && cached !== undefined) {
14431
+ console.error('Interpolating a className from css`` is not recommended and will cause problems with composition.\n' + 'Interpolating a className from css`` will be completely unsupported in a future major version of Emotion');
14432
+ shouldWarnAboutInterpolatingClassNameFromCss = false;
14433
+ }
14434
+
14435
+ return cached !== undefined && !couldBeSelectorInterpolation ? cached : interpolation;
14436
+ }
14437
+
14438
+ function createStringFromObject(mergedProps, registered, obj) {
14439
+ var string = '';
14440
+
14441
+ if (Array.isArray(obj)) {
14442
+ for (var i = 0; i < obj.length; i++) {
14443
+ string += handleInterpolation(mergedProps, registered, obj[i], false);
14444
+ }
14445
+ } else {
14446
+ for (var _key in obj) {
14447
+ var value = obj[_key];
14448
+
14449
+ if (typeof value !== 'object') {
14450
+ if (registered != null && registered[value] !== undefined) {
14451
+ string += _key + "{" + registered[value] + "}";
14452
+ } else if (isProcessableValue(value)) {
14453
+ string += processStyleName(_key) + ":" + processStyleValue(_key, value) + ";";
14454
+ }
14455
+ } else {
14456
+ if (_key === 'NO_COMPONENT_SELECTOR' && process.env.NODE_ENV !== 'production') {
14457
+ throw new Error('Component selectors can only be used in conjunction with babel-plugin-emotion.');
14458
+ }
14459
+
14460
+ if (Array.isArray(value) && typeof value[0] === 'string' && (registered == null || registered[value[0]] === undefined)) {
14461
+ for (var _i = 0; _i < value.length; _i++) {
14462
+ if (isProcessableValue(value[_i])) {
14463
+ string += processStyleName(_key) + ":" + processStyleValue(_key, value[_i]) + ";";
14464
+ }
14465
+ }
14466
+ } else {
14467
+ var interpolated = handleInterpolation(mergedProps, registered, value, false);
14468
+
14469
+ switch (_key) {
14470
+ case 'animation':
14471
+ case 'animationName':
14472
+ {
14473
+ string += processStyleName(_key) + ":" + interpolated + ";";
14474
+ break;
14475
+ }
14476
+
14477
+ default:
14478
+ {
14479
+ if (process.env.NODE_ENV !== 'production' && _key === 'undefined') {
14480
+ console.error(UNDEFINED_AS_OBJECT_KEY_ERROR);
14481
+ }
14482
+
14483
+ string += _key + "{" + interpolated + "}";
14484
+ }
14485
+ }
14486
+ }
14487
+ }
14488
+ }
14489
+ }
14490
+
14491
+ return string;
14492
+ }
14493
+
14494
+ var labelPattern = /label:\s*([^\s;\n{]+)\s*;/g;
14495
+ var sourceMapPattern;
14496
+
14497
+ if (process.env.NODE_ENV !== 'production') {
14498
+ sourceMapPattern = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//;
14499
+ } // this is the cursor for keyframes
14500
+ // keyframes are stored on the SerializedStyles object as a linked list
14501
+
14502
+
14503
+ var cursor;
14504
+ var serializeStyles = function serializeStyles(args, registered, mergedProps) {
14505
+ if (args.length === 1 && typeof args[0] === 'object' && args[0] !== null && args[0].styles !== undefined) {
14506
+ return args[0];
14507
+ }
14508
+
14509
+ var stringMode = true;
14510
+ var styles = '';
14511
+ cursor = undefined;
14512
+ var strings = args[0];
14513
+
14514
+ if (strings == null || strings.raw === undefined) {
14515
+ stringMode = false;
14516
+ styles += handleInterpolation(mergedProps, registered, strings, false);
14517
+ } else {
14518
+ if (process.env.NODE_ENV !== 'production' && strings[0] === undefined) {
14519
+ console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);
14520
+ }
14521
+
14522
+ styles += strings[0];
14523
+ } // we start at 1 since we've already handled the first arg
14524
+
14525
+
14526
+ for (var i = 1; i < args.length; i++) {
14527
+ styles += handleInterpolation(mergedProps, registered, args[i], styles.charCodeAt(styles.length - 1) === 46);
14528
+
14529
+ if (stringMode) {
14530
+ if (process.env.NODE_ENV !== 'production' && strings[i] === undefined) {
14531
+ console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);
14532
+ }
14533
+
14534
+ styles += strings[i];
14535
+ }
14536
+ }
14537
+
14538
+ var sourceMap;
14539
+
14540
+ if (process.env.NODE_ENV !== 'production') {
14541
+ styles = styles.replace(sourceMapPattern, function (match) {
14542
+ sourceMap = match;
14543
+ return '';
14544
+ });
14545
+ } // using a global regex with .exec is stateful so lastIndex has to be reset each time
14546
+
14547
+
14548
+ labelPattern.lastIndex = 0;
14549
+ var identifierName = '';
14550
+ var match; // https://esbench.com/bench/5b809c2cf2949800a0f61fb5
14551
+
14552
+ while ((match = labelPattern.exec(styles)) !== null) {
14553
+ identifierName += '-' + // $FlowFixMe we know it's not null
14554
+ match[1];
14555
+ }
14556
+
14557
+ var name = Object(__WEBPACK_IMPORTED_MODULE_0__emotion_hash__["a" /* default */])(styles) + identifierName;
14558
+
14559
+ if (process.env.NODE_ENV !== 'production') {
14560
+ // $FlowFixMe SerializedStyles type doesn't have toString property (and we don't want to add it)
14561
+ return {
14562
+ name: name,
14563
+ styles: styles,
14564
+ map: sourceMap,
14565
+ next: cursor,
14566
+ toString: function toString() {
14567
+ return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
14568
+ }
14569
+ };
14570
+ }
14571
+
14572
+ return {
14573
+ name: name,
14574
+ styles: styles,
14575
+ next: cursor
14576
+ };
14577
+ };
14578
+
14579
+
14580
+
14581
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
14582
+
14583
+ /***/ }),
14584
+ /* 231 */
14585
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
14586
+
14587
+ "use strict";
14588
+ /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MenuPlacer; });
14589
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return containerCSS; });
14590
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return css; });
14591
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return clearIndicatorCSS; });
14592
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return dropdownIndicatorCSS; });
14593
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return groupHeadingCSS; });
14594
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return indicatorSeparatorCSS; });
14595
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return groupCSS; });
14596
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return inputCSS; });
14597
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return indicatorsContainerCSS; });
14598
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return loadingMessageCSS; });
14599
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return menuListCSS; });
14600
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return loadingIndicatorCSS; });
14601
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return menuCSS; });
14602
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return menuPortalCSS; });
14603
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return multiValueCSS; });
14604
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return multiValueLabelCSS; });
14605
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return multiValueRemoveCSS; });
14606
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return noOptionsMessageCSS; });
14607
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return optionCSS; });
14608
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return placeholderCSS; });
14609
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return css$1; });
14610
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return valueContainerCSS; });
14611
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return defaultComponents; });
14612
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return exportedEqual; });
14613
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return components; });
14614
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
14615
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
14616
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__emotion_core__ = __webpack_require__(128);
14617
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react_dom__ = __webpack_require__(11);
14618
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react_dom__);
14619
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types__ = __webpack_require__(2);
14620
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_prop_types__);
14621
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__utils_06b0d5a4_browser_esm_js__ = __webpack_require__(129);
14622
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__emotion_css__ = __webpack_require__(65);
14623
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_react_input_autosize__ = __webpack_require__(232);
14624
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_react_input_autosize___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_react_input_autosize__);
14625
+
14626
+
14627
+
14628
+
14629
+
14630
+
14631
+
14632
+
14633
+ function _extends() { _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; }; return _extends.apply(this, arguments); }
14634
+
14635
+ function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
14636
+ function getMenuPlacement(_ref) {
14637
+ var maxHeight = _ref.maxHeight,
14638
+ menuEl = _ref.menuEl,
14639
+ minHeight = _ref.minHeight,
14640
+ placement = _ref.placement,
14641
+ shouldScroll = _ref.shouldScroll,
14642
+ isFixedPosition = _ref.isFixedPosition,
14643
+ theme = _ref.theme;
14644
+ var spacing = theme.spacing;
14645
+ var scrollParent = Object(__WEBPACK_IMPORTED_MODULE_4__utils_06b0d5a4_browser_esm_js__["a"])(menuEl);
14646
+ var defaultState = {
14647
+ placement: 'bottom',
14648
+ maxHeight: maxHeight
14649
+ }; // something went wrong, return default state
14650
+
14651
+ if (!menuEl || !menuEl.offsetParent) return defaultState; // we can't trust `scrollParent.scrollHeight` --> it may increase when
14652
+ // the menu is rendered
14653
+
14654
+ var _scrollParent$getBoun = scrollParent.getBoundingClientRect(),
14655
+ scrollHeight = _scrollParent$getBoun.height;
14656
+
14657
+ var _menuEl$getBoundingCl = menuEl.getBoundingClientRect(),
14658
+ menuBottom = _menuEl$getBoundingCl.bottom,
14659
+ menuHeight = _menuEl$getBoundingCl.height,
14660
+ menuTop = _menuEl$getBoundingCl.top;
14661
+
14662
+ var _menuEl$offsetParent$ = menuEl.offsetParent.getBoundingClientRect(),
14663
+ containerTop = _menuEl$offsetParent$.top;
14664
+
14665
+ var viewHeight = window.innerHeight;
14666
+ var scrollTop = Object(__WEBPACK_IMPORTED_MODULE_4__utils_06b0d5a4_browser_esm_js__["b"])(scrollParent);
14667
+ var marginBottom = parseInt(getComputedStyle(menuEl).marginBottom, 10);
14668
+ var marginTop = parseInt(getComputedStyle(menuEl).marginTop, 10);
14669
+ var viewSpaceAbove = containerTop - marginTop;
14670
+ var viewSpaceBelow = viewHeight - menuTop;
14671
+ var scrollSpaceAbove = viewSpaceAbove + scrollTop;
14672
+ var scrollSpaceBelow = scrollHeight - scrollTop - menuTop;
14673
+ var scrollDown = menuBottom - viewHeight + scrollTop + marginBottom;
14674
+ var scrollUp = scrollTop + menuTop - marginTop;
14675
+ var scrollDuration = 160;
14676
+
14677
+ switch (placement) {
14678
+ case 'auto':
14679
+ case 'bottom':
14680
+ // 1: the menu will fit, do nothing
14681
+ if (viewSpaceBelow >= menuHeight) {
14682
+ return {
14683
+ placement: 'bottom',
14684
+ maxHeight: maxHeight
14685
+ };
14686
+ } // 2: the menu will fit, if scrolled
14687
+
14688
+
14689
+ if (scrollSpaceBelow >= menuHeight && !isFixedPosition) {
14690
+ if (shouldScroll) {
14691
+ Object(__WEBPACK_IMPORTED_MODULE_4__utils_06b0d5a4_browser_esm_js__["c"])(scrollParent, scrollDown, scrollDuration);
14692
+ }
14693
+
14694
+ return {
14695
+ placement: 'bottom',
14696
+ maxHeight: maxHeight
14697
+ };
14698
+ } // 3: the menu will fit, if constrained
14699
+
14700
+
14701
+ if (!isFixedPosition && scrollSpaceBelow >= minHeight || isFixedPosition && viewSpaceBelow >= minHeight) {
14702
+ if (shouldScroll) {
14703
+ Object(__WEBPACK_IMPORTED_MODULE_4__utils_06b0d5a4_browser_esm_js__["c"])(scrollParent, scrollDown, scrollDuration);
14704
+ } // we want to provide as much of the menu as possible to the user,
14705
+ // so give them whatever is available below rather than the minHeight.
14706
+
14707
+
14708
+ var constrainedHeight = isFixedPosition ? viewSpaceBelow - marginBottom : scrollSpaceBelow - marginBottom;
14709
+ return {
14710
+ placement: 'bottom',
14711
+ maxHeight: constrainedHeight
14712
+ };
14713
+ } // 4. Forked beviour when there isn't enough space below
14714
+ // AUTO: flip the menu, render above
14715
+
14716
+
14717
+ if (placement === 'auto' || isFixedPosition) {
14718
+ // may need to be constrained after flipping
14719
+ var _constrainedHeight = maxHeight;
14720
+ var spaceAbove = isFixedPosition ? viewSpaceAbove : scrollSpaceAbove;
14721
+
14722
+ if (spaceAbove >= minHeight) {
14723
+ _constrainedHeight = Math.min(spaceAbove - marginBottom - spacing.controlHeight, maxHeight);
14724
+ }
14725
+
14726
+ return {
14727
+ placement: 'top',
14728
+ maxHeight: _constrainedHeight
14729
+ };
14730
+ } // BOTTOM: allow browser to increase scrollable area and immediately set scroll
14731
+
14732
+
14733
+ if (placement === 'bottom') {
14734
+ Object(__WEBPACK_IMPORTED_MODULE_4__utils_06b0d5a4_browser_esm_js__["l" /* s */])(scrollParent, scrollDown);
14735
+ return {
14736
+ placement: 'bottom',
14737
+ maxHeight: maxHeight
14738
+ };
14739
+ }
14740
+
14741
+ break;
14742
+
14743
+ case 'top':
14744
+ // 1: the menu will fit, do nothing
14745
+ if (viewSpaceAbove >= menuHeight) {
14746
+ return {
14747
+ placement: 'top',
14748
+ maxHeight: maxHeight
14749
+ };
14750
+ } // 2: the menu will fit, if scrolled
14751
+
14752
+
14753
+ if (scrollSpaceAbove >= menuHeight && !isFixedPosition) {
14754
+ if (shouldScroll) {
14755
+ Object(__WEBPACK_IMPORTED_MODULE_4__utils_06b0d5a4_browser_esm_js__["c"])(scrollParent, scrollUp, scrollDuration);
14756
+ }
14757
+
14758
+ return {
14759
+ placement: 'top',
14760
+ maxHeight: maxHeight
14761
+ };
14762
+ } // 3: the menu will fit, if constrained
14763
+
14764
+
14765
+ if (!isFixedPosition && scrollSpaceAbove >= minHeight || isFixedPosition && viewSpaceAbove >= minHeight) {
14766
+ var _constrainedHeight2 = maxHeight; // we want to provide as much of the menu as possible to the user,
14767
+ // so give them whatever is available below rather than the minHeight.
14768
+
14769
+ if (!isFixedPosition && scrollSpaceAbove >= minHeight || isFixedPosition && viewSpaceAbove >= minHeight) {
14770
+ _constrainedHeight2 = isFixedPosition ? viewSpaceAbove - marginTop : scrollSpaceAbove - marginTop;
14771
+ }
14772
+
14773
+ if (shouldScroll) {
14774
+ Object(__WEBPACK_IMPORTED_MODULE_4__utils_06b0d5a4_browser_esm_js__["c"])(scrollParent, scrollUp, scrollDuration);
14775
+ }
14776
+
14777
+ return {
14778
+ placement: 'top',
14779
+ maxHeight: _constrainedHeight2
14780
+ };
14781
+ } // 4. not enough space, the browser WILL NOT increase scrollable area when
14782
+ // absolutely positioned element rendered above the viewport (only below).
14783
+ // Flip the menu, render below
14784
+
14785
+
14786
+ return {
14787
+ placement: 'bottom',
14788
+ maxHeight: maxHeight
14789
+ };
14790
+
14791
+ default:
14792
+ throw new Error("Invalid placement provided \"" + placement + "\".");
14793
+ } // fulfil contract with flow: implicit return value of undefined
14794
+
14795
+
14796
+ return defaultState;
14797
+ } // Menu Component
14798
+ // ------------------------------
14799
+
14800
+ function alignToControl(placement) {
14801
+ var placementToCSSProp = {
14802
+ bottom: 'top',
14803
+ top: 'bottom'
14804
+ };
14805
+ return placement ? placementToCSSProp[placement] : 'bottom';
14806
+ }
14807
+
14808
+ var coercePlacement = function coercePlacement(p) {
14809
+ return p === 'auto' ? 'bottom' : p;
14810
+ };
14811
+
14812
+ var menuCSS = function menuCSS(_ref2) {
14813
+ var _ref3;
14814
+
14815
+ var placement = _ref2.placement,
14816
+ _ref2$theme = _ref2.theme,
14817
+ borderRadius = _ref2$theme.borderRadius,
14818
+ spacing = _ref2$theme.spacing,
14819
+ colors = _ref2$theme.colors;
14820
+ return _ref3 = {
14821
+ label: 'menu'
14822
+ }, _ref3[alignToControl(placement)] = '100%', _ref3.backgroundColor = colors.neutral0, _ref3.borderRadius = borderRadius, _ref3.boxShadow = '0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)', _ref3.marginBottom = spacing.menuGutter, _ref3.marginTop = spacing.menuGutter, _ref3.position = 'absolute', _ref3.width = '100%', _ref3.zIndex = 1, _ref3;
14823
+ }; // NOTE: internal only
14824
+
14825
+ var MenuPlacer =
14826
+ /*#__PURE__*/
14827
+ function (_Component) {
14828
+ _inheritsLoose(MenuPlacer, _Component);
14829
+
14830
+ function MenuPlacer() {
14831
+ var _this;
14832
+
14833
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
14834
+ args[_key] = arguments[_key];
14835
+ }
14836
+
14837
+ _this = _Component.call.apply(_Component, [this].concat(args)) || this;
14838
+ _this.state = {
14839
+ maxHeight: _this.props.maxMenuHeight,
14840
+ placement: null
14841
+ };
14842
+
14843
+ _this.getPlacement = function (ref) {
14844
+ var _this$props = _this.props,
14845
+ minMenuHeight = _this$props.minMenuHeight,
14846
+ maxMenuHeight = _this$props.maxMenuHeight,
14847
+ menuPlacement = _this$props.menuPlacement,
14848
+ menuPosition = _this$props.menuPosition,
14849
+ menuShouldScrollIntoView = _this$props.menuShouldScrollIntoView,
14850
+ theme = _this$props.theme;
14851
+ var getPortalPlacement = _this.context.getPortalPlacement;
14852
+ if (!ref) return; // DO NOT scroll if position is fixed
14853
+
14854
+ var isFixedPosition = menuPosition === 'fixed';
14855
+ var shouldScroll = menuShouldScrollIntoView && !isFixedPosition;
14856
+ var state = getMenuPlacement({
14857
+ maxHeight: maxMenuHeight,
14858
+ menuEl: ref,
14859
+ minHeight: minMenuHeight,
14860
+ placement: menuPlacement,
14861
+ shouldScroll: shouldScroll,
14862
+ isFixedPosition: isFixedPosition,
14863
+ theme: theme
14864
+ });
14865
+ if (getPortalPlacement) getPortalPlacement(state);
14866
+
14867
+ _this.setState(state);
14868
+ };
14869
+
14870
+ _this.getUpdatedProps = function () {
14871
+ var menuPlacement = _this.props.menuPlacement;
14872
+ var placement = _this.state.placement || coercePlacement(menuPlacement);
14873
+ return _extends({}, _this.props, {
14874
+ placement: placement,
14875
+ maxHeight: _this.state.maxHeight
14876
+ });
14877
+ };
14878
+
14879
+ return _this;
14880
+ }
14881
+
14882
+ var _proto = MenuPlacer.prototype;
14883
+
14884
+ _proto.render = function render() {
14885
+ var children = this.props.children;
14886
+ return children({
14887
+ ref: this.getPlacement,
14888
+ placerProps: this.getUpdatedProps()
14889
+ });
14890
+ };
14891
+
14892
+ return MenuPlacer;
14893
+ }(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);
14894
+ MenuPlacer.contextTypes = {
14895
+ getPortalPlacement: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.func
14896
+ };
14897
+
14898
+ var Menu = function Menu(props) {
14899
+ var children = props.children,
14900
+ className = props.className,
14901
+ cx = props.cx,
14902
+ getStyles = props.getStyles,
14903
+ innerRef = props.innerRef,
14904
+ innerProps = props.innerProps;
14905
+ return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("div", _extends({
14906
+ css: getStyles('menu', props),
14907
+ className: cx({
14908
+ menu: true
14909
+ }, className)
14910
+ }, innerProps, {
14911
+ ref: innerRef
14912
+ }), children);
14913
+ };
14914
+ // Menu List
14915
+ // ==============================
14916
+
14917
+ var menuListCSS = function menuListCSS(_ref4) {
14918
+ var maxHeight = _ref4.maxHeight,
14919
+ baseUnit = _ref4.theme.spacing.baseUnit;
14920
+ return {
14921
+ maxHeight: maxHeight,
14922
+ overflowY: 'auto',
14923
+ paddingBottom: baseUnit,
14924
+ paddingTop: baseUnit,
14925
+ position: 'relative',
14926
+ // required for offset[Height, Top] > keyboard scroll
14927
+ WebkitOverflowScrolling: 'touch'
14928
+ };
14929
+ };
14930
+ var MenuList = function MenuList(props) {
14931
+ var children = props.children,
14932
+ className = props.className,
14933
+ cx = props.cx,
14934
+ getStyles = props.getStyles,
14935
+ isMulti = props.isMulti,
14936
+ innerRef = props.innerRef;
14937
+ return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("div", {
14938
+ css: getStyles('menuList', props),
14939
+ className: cx({
14940
+ 'menu-list': true,
14941
+ 'menu-list--is-multi': isMulti
14942
+ }, className),
14943
+ ref: innerRef
14944
+ }, children);
14945
+ }; // ==============================
14946
+ // Menu Notices
14947
+ // ==============================
14948
+
14949
+ var noticeCSS = function noticeCSS(_ref5) {
14950
+ var _ref5$theme = _ref5.theme,
14951
+ baseUnit = _ref5$theme.spacing.baseUnit,
14952
+ colors = _ref5$theme.colors;
14953
+ return {
14954
+ color: colors.neutral40,
14955
+ padding: baseUnit * 2 + "px " + baseUnit * 3 + "px",
14956
+ textAlign: 'center'
14957
+ };
14958
+ };
14959
+
14960
+ var noOptionsMessageCSS = noticeCSS;
14961
+ var loadingMessageCSS = noticeCSS;
14962
+ var NoOptionsMessage = function NoOptionsMessage(props) {
14963
+ var children = props.children,
14964
+ className = props.className,
14965
+ cx = props.cx,
14966
+ getStyles = props.getStyles,
14967
+ innerProps = props.innerProps;
14968
+ return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("div", _extends({
14969
+ css: getStyles('noOptionsMessage', props),
14970
+ className: cx({
14971
+ 'menu-notice': true,
14972
+ 'menu-notice--no-options': true
14973
+ }, className)
14974
+ }, innerProps), children);
14975
+ };
14976
+ NoOptionsMessage.defaultProps = {
14977
+ children: 'No options'
14978
+ };
14979
+ var LoadingMessage = function LoadingMessage(props) {
14980
+ var children = props.children,
14981
+ className = props.className,
14982
+ cx = props.cx,
14983
+ getStyles = props.getStyles,
14984
+ innerProps = props.innerProps;
14985
+ return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("div", _extends({
14986
+ css: getStyles('loadingMessage', props),
14987
+ className: cx({
14988
+ 'menu-notice': true,
14989
+ 'menu-notice--loading': true
14990
+ }, className)
14991
+ }, innerProps), children);
14992
+ };
14993
+ LoadingMessage.defaultProps = {
14994
+ children: 'Loading...'
14995
+ }; // ==============================
14996
+ // Menu Portal
14997
+ // ==============================
14998
+
14999
+ var menuPortalCSS = function menuPortalCSS(_ref6) {
15000
+ var rect = _ref6.rect,
15001
+ offset = _ref6.offset,
15002
+ position = _ref6.position;
15003
+ return {
15004
+ left: rect.left,
15005
+ position: position,
15006
+ top: offset,
15007
+ width: rect.width,
15008
+ zIndex: 1
15009
+ };
15010
+ };
15011
+ var MenuPortal =
15012
+ /*#__PURE__*/
15013
+ function (_Component2) {
15014
+ _inheritsLoose(MenuPortal, _Component2);
15015
+
15016
+ function MenuPortal() {
15017
+ var _this2;
15018
+
15019
+ for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
15020
+ args[_key2] = arguments[_key2];
15021
+ }
15022
+
15023
+ _this2 = _Component2.call.apply(_Component2, [this].concat(args)) || this;
15024
+ _this2.state = {
15025
+ placement: null
15026
+ };
15027
+
15028
+ _this2.getPortalPlacement = function (_ref7) {
15029
+ var placement = _ref7.placement;
15030
+ var initialPlacement = coercePlacement(_this2.props.menuPlacement); // avoid re-renders if the placement has not changed
15031
+
15032
+ if (placement !== initialPlacement) {
15033
+ _this2.setState({
15034
+ placement: placement
15035
+ });
15036
+ }
15037
+ };
15038
+
15039
+ return _this2;
15040
+ }
15041
+
15042
+ var _proto2 = MenuPortal.prototype;
15043
+
15044
+ _proto2.getChildContext = function getChildContext() {
15045
+ return {
15046
+ getPortalPlacement: this.getPortalPlacement
15047
+ };
15048
+ } // callback for occassions where the menu must "flip"
15049
+ ;
15050
+
15051
+ _proto2.render = function render() {
15052
+ var _this$props2 = this.props,
15053
+ appendTo = _this$props2.appendTo,
15054
+ children = _this$props2.children,
15055
+ controlElement = _this$props2.controlElement,
15056
+ menuPlacement = _this$props2.menuPlacement,
15057
+ position = _this$props2.menuPosition,
15058
+ getStyles = _this$props2.getStyles;
15059
+ var isFixed = position === 'fixed'; // bail early if required elements aren't present
15060
+
15061
+ if (!appendTo && !isFixed || !controlElement) {
15062
+ return null;
15063
+ }
15064
+
15065
+ var placement = this.state.placement || coercePlacement(menuPlacement);
15066
+ var rect = Object(__WEBPACK_IMPORTED_MODULE_4__utils_06b0d5a4_browser_esm_js__["g"])(controlElement);
15067
+ var scrollDistance = isFixed ? 0 : window.pageYOffset;
15068
+ var offset = rect[placement] + scrollDistance;
15069
+ var state = {
15070
+ offset: offset,
15071
+ position: position,
15072
+ rect: rect
15073
+ }; // same wrapper element whether fixed or portalled
15074
+
15075
+ var menuWrapper = Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("div", {
15076
+ css: getStyles('menuPortal', state)
15077
+ }, children);
15078
+ return appendTo ? Object(__WEBPACK_IMPORTED_MODULE_2_react_dom__["createPortal"])(menuWrapper, appendTo) : menuWrapper;
15079
+ };
15080
+
15081
+ return MenuPortal;
15082
+ }(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);
15083
+ MenuPortal.childContextTypes = {
15084
+ getPortalPlacement: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.func
15085
+ };
15086
+
15087
+ var isArray = Array.isArray;
15088
+ var keyList = Object.keys;
15089
+ var hasProp = Object.prototype.hasOwnProperty;
15090
+
15091
+ function equal(a, b) {
15092
+ // fast-deep-equal index.js 2.0.1
15093
+ if (a === b) return true;
15094
+
15095
+ if (a && b && typeof a == 'object' && typeof b == 'object') {
15096
+ var arrA = isArray(a),
15097
+ arrB = isArray(b),
15098
+ i,
15099
+ length,
15100
+ key;
15101
+
15102
+ if (arrA && arrB) {
15103
+ length = a.length;
15104
+ if (length != b.length) return false;
15105
+
15106
+ for (i = length; i-- !== 0;) {
15107
+ if (!equal(a[i], b[i])) return false;
15108
+ }
15109
+
15110
+ return true;
15111
+ }
15112
+
15113
+ if (arrA != arrB) return false;
15114
+ var dateA = a instanceof Date,
15115
+ dateB = b instanceof Date;
15116
+ if (dateA != dateB) return false;
15117
+ if (dateA && dateB) return a.getTime() == b.getTime();
15118
+ var regexpA = a instanceof RegExp,
15119
+ regexpB = b instanceof RegExp;
15120
+ if (regexpA != regexpB) return false;
15121
+ if (regexpA && regexpB) return a.toString() == b.toString();
15122
+ var keys = keyList(a);
15123
+ length = keys.length;
15124
+
15125
+ if (length !== keyList(b).length) {
15126
+ return false;
15127
+ }
15128
+
15129
+ for (i = length; i-- !== 0;) {
15130
+ if (!hasProp.call(b, keys[i])) return false;
15131
+ } // end fast-deep-equal
15132
+ // Custom handling for React
15133
+
15134
+
15135
+ for (i = length; i-- !== 0;) {
15136
+ key = keys[i];
15137
+
15138
+ if (key === '_owner' && a.$$typeof) {
15139
+ // React-specific: avoid traversing React elements' _owner.
15140
+ // _owner contains circular references
15141
+ // and is not needed when comparing the actual elements (and not their owners)
15142
+ // .$$typeof and ._store on just reasonable markers of a react element
15143
+ continue;
15144
+ } else {
15145
+ // all other properties should be traversed as usual
15146
+ if (!equal(a[key], b[key])) return false;
15147
+ }
15148
+ } // fast-deep-equal index.js 2.0.1
15149
+
15150
+
15151
+ return true;
15152
+ }
15153
+
15154
+ return a !== a && b !== b;
15155
+ } // end fast-deep-equal
15156
+
15157
+
15158
+ function exportedEqual(a, b) {
15159
+ try {
15160
+ return equal(a, b);
15161
+ } catch (error) {
15162
+ if (error.message && error.message.match(/stack|recursion/i)) {
15163
+ // warn on circular references, don't crash
15164
+ // browsers give this different errors name and messages:
15165
+ // chrome/safari: "RangeError", "Maximum call stack size exceeded"
15166
+ // firefox: "InternalError", too much recursion"
15167
+ // edge: "Error", "Out of stack space"
15168
+ console.warn('Warning: react-fast-compare does not handle circular references.', error.name, error.message);
15169
+ return false;
15170
+ } // some other error. we should definitely know about these
15171
+
15172
+
15173
+ throw error;
15174
+ }
15175
+ }
15176
+
15177
+ function _extends$1() { _extends$1 = 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; }; return _extends$1.apply(this, arguments); }
15178
+ var containerCSS = function containerCSS(_ref) {
15179
+ var isDisabled = _ref.isDisabled,
15180
+ isRtl = _ref.isRtl;
15181
+ return {
15182
+ label: 'container',
15183
+ direction: isRtl ? 'rtl' : null,
15184
+ pointerEvents: isDisabled ? 'none' : null,
15185
+ // cancel mouse events when disabled
15186
+ position: 'relative'
15187
+ };
15188
+ };
15189
+ var SelectContainer = function SelectContainer(props) {
15190
+ var children = props.children,
15191
+ className = props.className,
15192
+ cx = props.cx,
15193
+ getStyles = props.getStyles,
15194
+ innerProps = props.innerProps,
15195
+ isDisabled = props.isDisabled,
15196
+ isRtl = props.isRtl;
15197
+ return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("div", _extends$1({
15198
+ css: getStyles('container', props),
15199
+ className: cx({
15200
+ '--is-disabled': isDisabled,
15201
+ '--is-rtl': isRtl
15202
+ }, className)
15203
+ }, innerProps), children);
15204
+ }; // ==============================
15205
+ // Value Container
15206
+ // ==============================
15207
+
15208
+ var valueContainerCSS = function valueContainerCSS(_ref2) {
15209
+ var spacing = _ref2.theme.spacing;
15210
+ return {
15211
+ alignItems: 'center',
15212
+ display: 'flex',
15213
+ flex: 1,
15214
+ flexWrap: 'wrap',
15215
+ padding: spacing.baseUnit / 2 + "px " + spacing.baseUnit * 2 + "px",
15216
+ WebkitOverflowScrolling: 'touch',
15217
+ position: 'relative',
15218
+ overflow: 'hidden'
15219
+ };
15220
+ };
15221
+ var ValueContainer = function ValueContainer(props) {
15222
+ var children = props.children,
15223
+ className = props.className,
15224
+ cx = props.cx,
15225
+ isMulti = props.isMulti,
15226
+ getStyles = props.getStyles,
15227
+ hasValue = props.hasValue;
15228
+ return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("div", {
15229
+ css: getStyles('valueContainer', props),
15230
+ className: cx({
15231
+ 'value-container': true,
15232
+ 'value-container--is-multi': isMulti,
15233
+ 'value-container--has-value': hasValue
15234
+ }, className)
15235
+ }, children);
15236
+ }; // ==============================
15237
+ // Indicator Container
15238
+ // ==============================
15239
+
15240
+ var indicatorsContainerCSS = function indicatorsContainerCSS() {
15241
+ return {
15242
+ alignItems: 'center',
15243
+ alignSelf: 'stretch',
15244
+ display: 'flex',
15245
+ flexShrink: 0
15246
+ };
15247
+ };
15248
+ var IndicatorsContainer = function IndicatorsContainer(props) {
15249
+ var children = props.children,
15250
+ className = props.className,
15251
+ cx = props.cx,
15252
+ getStyles = props.getStyles;
15253
+ return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("div", {
15254
+ css: getStyles('indicatorsContainer', props),
15255
+ className: cx({
15256
+ indicators: true
15257
+ }, className)
15258
+ }, children);
15259
+ };
15260
+
15261
+ function _templateObject() {
15262
+ var data = _taggedTemplateLiteralLoose(["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"]);
15263
+
15264
+ _templateObject = function _templateObject() {
15265
+ return data;
15266
+ };
15267
+
15268
+ return data;
15269
+ }
15270
+
15271
+ function _taggedTemplateLiteralLoose(strings, raw) { if (!raw) { raw = strings.slice(0); } strings.raw = raw; return strings; }
15272
+
15273
+ function _extends$2() { _extends$2 = 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; }; return _extends$2.apply(this, arguments); }
15274
+
15275
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
15276
+
15277
+ var _ref2 = process.env.NODE_ENV === "production" ? {
15278
+ name: "19bqh2r",
15279
+ styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;"
15280
+ } : {
15281
+ name: "19bqh2r",
15282
+ styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;",
15283
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBa0JJIiwiZmlsZSI6ImluZGljYXRvcnMuanMiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBAZmxvd1xuLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyB0eXBlIE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL2NvcmUnO1xuXG5pbXBvcnQgdHlwZSB7IENvbW1vblByb3BzLCBUaGVtZSB9IGZyb20gJy4uL3R5cGVzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHsgc2l6ZSwgLi4ucHJvcHMgfTogeyBzaXplOiBudW1iZXIgfSkgPT4gKFxuICA8c3ZnXG4gICAgaGVpZ2h0PXtzaXplfVxuICAgIHdpZHRoPXtzaXplfVxuICAgIHZpZXdCb3g9XCIwIDAgMjAgMjBcIlxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgZm9jdXNhYmxlPVwiZmFsc2VcIlxuICAgIGNzcz17e1xuICAgICAgZGlzcGxheTogJ2lubGluZS1ibG9jaycsXG4gICAgICBmaWxsOiAnY3VycmVudENvbG9yJyxcbiAgICAgIGxpbmVIZWlnaHQ6IDEsXG4gICAgICBzdHJva2U6ICdjdXJyZW50Q29sb3InLFxuICAgICAgc3Ryb2tlV2lkdGg6IDAsXG4gICAgfX1cbiAgICB7Li4ucHJvcHN9XG4gIC8+XG4pO1xuXG5leHBvcnQgY29uc3QgQ3Jvc3NJY29uID0gKHByb3BzOiBhbnkpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTE0LjM0OCAxNC44NDljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDBsLTIuNjUxLTMuMDMwLTIuNjUxIDMuMDI5Yy0wLjQ2OSAwLjQ2OS0xLjIyOSAwLjQ2OS0xLjY5NyAwLTAuNDY5LTAuNDY5LTAuNDY5LTEuMjI5IDAtMS42OTdsMi43NTgtMy4xNS0yLjc1OS0zLjE1MmMtMC40NjktMC40NjktMC40NjktMS4yMjggMC0xLjY5N3MxLjIyOC0wLjQ2OSAxLjY5NyAwbDIuNjUyIDMuMDMxIDIuNjUxLTMuMDMxYzAuNDY5LTAuNDY5IDEuMjI4LTAuNDY5IDEuNjk3IDBzMC40NjkgMS4yMjkgMCAxLjY5N2wtMi43NTggMy4xNTIgMi43NTggMy4xNWMwLjQ2OSAwLjQ2OSAwLjQ2OSAxLjIyOSAwIDEuNjk4elwiIC8+XG4gIDwvU3ZnPlxuKTtcbmV4cG9ydCBjb25zdCBEb3duQ2hldnJvbiA9IChwcm9wczogYW55KSA9PiAoXG4gIDxTdmcgc2l6ZT17MjB9IHsuLi5wcm9wc30+XG4gICAgPHBhdGggZD1cIk00LjUxNiA3LjU0OGMwLjQzNi0wLjQ0NiAxLjA0My0wLjQ4MSAxLjU3NiAwbDMuOTA4IDMuNzQ3IDMuOTA4LTMuNzQ3YzAuNTMzLTAuNDgxIDEuMTQxLTAuNDQ2IDEuNTc0IDAgMC40MzYgMC40NDUgMC40MDggMS4xOTcgMCAxLjYxNS0wLjQwNiAwLjQxOC00LjY5NSA0LjUwMi00LjY5NSA0LjUwMi0wLjIxNyAwLjIyMy0wLjUwMiAwLjMzNS0wLjc4NyAwLjMzNXMtMC41Ny0wLjExMi0wLjc4OS0wLjMzNWMwIDAtNC4yODctNC4wODQtNC42OTUtNC41MDJzLTAuNDM2LTEuMTcgMC0xLjYxNXpcIiAvPlxuICA8L1N2Zz5cbik7XG5cbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuLy8gRHJvcGRvd24gJiBDbGVhciBCdXR0b25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuZXhwb3J0IHR5cGUgSW5kaWNhdG9yUHJvcHMgPSBDb21tb25Qcm9wcyAmIHtcbiAgLyoqIFRoZSBjaGlsZHJlbiB0byBiZSByZW5kZXJlZCBpbnNpZGUgdGhlIGluZGljYXRvci4gKi9cbiAgY2hpbGRyZW46IE5vZGUsXG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogYW55LFxuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuLFxuICAvKiogV2hldGhlciB0aGUgdGV4dCBpcyByaWdodCB0byBsZWZ0ICovXG4gIGlzUnRsOiBib29sZWFuLFxufTtcblxuY29uc3QgYmFzZUNTUyA9ICh7XG4gIGlzRm9jdXNlZCxcbiAgdGhlbWU6IHtcbiAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgY29sb3JzLFxuICB9LFxufTogSW5kaWNhdG9yUHJvcHMpID0+ICh7XG4gIGxhYmVsOiAnaW5kaWNhdG9yQ29udGFpbmVyJyxcbiAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcblxuICAnOmhvdmVyJzoge1xuICAgIGNvbG9yOiBpc0ZvY3VzZWQgPyBjb2xvcnMubmV1dHJhbDgwIDogY29sb3JzLm5ldXRyYWw0MCxcbiAgfSxcbn0pO1xuXG5leHBvcnQgY29uc3QgZHJvcGRvd25JbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IERyb3Bkb3duSW5kaWNhdG9yID0gKHByb3BzOiBJbmRpY2F0b3JQcm9wcykgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBjbGFzc05hbWUsIGN4LCBnZXRTdHlsZXMsIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgY3NzPXtnZXRTdHlsZXMoJ2Ryb3Bkb3duSW5kaWNhdG9yJywgcHJvcHMpfVxuICAgICAgY2xhc3NOYW1lPXtjeChcbiAgICAgICAge1xuICAgICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgICAnZHJvcGRvd24taW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfSxcbiAgICAgICAgY2xhc3NOYW1lXG4gICAgICApfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8RG93bkNoZXZyb24gLz59XG4gICAgPC9kaXY+XG4gICk7XG59O1xuXG5leHBvcnQgY29uc3QgY2xlYXJJbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IENsZWFySW5kaWNhdG9yID0gKHByb3BzOiBJbmRpY2F0b3JQcm9wcykgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBjbGFzc05hbWUsIGN4LCBnZXRTdHlsZXMsIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgY3NzPXtnZXRTdHlsZXMoJ2NsZWFySW5kaWNhdG9yJywgcHJvcHMpfVxuICAgICAgY2xhc3NOYW1lPXtjeChcbiAgICAgICAge1xuICAgICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgICAnY2xlYXItaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfSxcbiAgICAgICAgY2xhc3NOYW1lXG4gICAgICApfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8Q3Jvc3NJY29uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBTZXBhcmF0b3Jcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG50eXBlIFNlcGFyYXRvclN0YXRlID0geyBpc0Rpc2FibGVkOiBib29sZWFuIH07XG5cbmV4cG9ydCBjb25zdCBpbmRpY2F0b3JTZXBhcmF0b3JDU1MgPSAoe1xuICBpc0Rpc2FibGVkLFxuICB0aGVtZToge1xuICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICBjb2xvcnMsXG4gIH0sXG59OiBDb21tb25Qcm9wcyAmIFNlcGFyYXRvclN0YXRlKSA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvclNlcGFyYXRvcicsXG4gIGFsaWduU2VsZjogJ3N0cmV0Y2gnLFxuICBiYWNrZ3JvdW5kQ29sb3I6IGlzRGlzYWJsZWQgPyBjb2xvcnMubmV1dHJhbDEwIDogY29sb3JzLm5ldXRyYWwyMCxcbiAgbWFyZ2luQm90dG9tOiBiYXNlVW5pdCAqIDIsXG4gIG1hcmdpblRvcDogYmFzZVVuaXQgKiAyLFxuICB3aWR0aDogMSxcbn0pO1xuXG5leHBvcnQgY29uc3QgSW5kaWNhdG9yU2VwYXJhdG9yID0gKHByb3BzOiBJbmRpY2F0b3JQcm9wcykgPT4ge1xuICBjb25zdCB7IGNsYXNzTmFtZSwgY3gsIGdldFN0eWxlcywgaW5uZXJQcm9wcyB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPHNwYW5cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgY3NzPXtnZXRTdHlsZXMoJ2luZGljYXRvclNlcGFyYXRvcicsIHByb3BzKX1cbiAgICAgIGNsYXNzTmFtZT17Y3goeyAnaW5kaWNhdG9yLXNlcGFyYXRvcic6IHRydWUgfSwgY2xhc3NOYW1lKX1cbiAgICAvPlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBMb2FkaW5nXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgbG9hZGluZ0RvdEFuaW1hdGlvbnMgPSBrZXlmcmFtZXNgXG4gIDAlLCA4MCUsIDEwMCUgeyBvcGFjaXR5OiAwOyB9XG4gIDQwJSB7IG9wYWNpdHk6IDE7IH1cbmA7XG5cbmV4cG9ydCBjb25zdCBsb2FkaW5nSW5kaWNhdG9yQ1NTID0gKHtcbiAgaXNGb2N1c2VkLFxuICBzaXplLFxuICB0aGVtZToge1xuICAgIGNvbG9ycyxcbiAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gIH0sXG59OiB7XG4gIGlzRm9jdXNlZDogYm9vbGVhbixcbiAgc2l6ZTogbnVtYmVyLFxuICB0aGVtZTogVGhlbWUsXG59KSA9PiAoe1xuICBsYWJlbDogJ2xvYWRpbmdJbmRpY2F0b3InLFxuICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw2MCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gIGRpc3BsYXk6ICdmbGV4JyxcbiAgcGFkZGluZzogYmFzZVVuaXQgKiAyLFxuICB0cmFuc2l0aW9uOiAnY29sb3IgMTUwbXMnLFxuICBhbGlnblNlbGY6ICdjZW50ZXInLFxuICBmb250U2l6ZTogc2l6ZSxcbiAgbGluZUhlaWdodDogMSxcbiAgbWFyZ2luUmlnaHQ6IHNpemUsXG4gIHRleHRBbGlnbjogJ2NlbnRlcicsXG4gIHZlcnRpY2FsQWxpZ246ICdtaWRkbGUnLFxufSk7XG5cbnR5cGUgRG90UHJvcHMgPSB7IGRlbGF5OiBudW1iZXIsIG9mZnNldDogYm9vbGVhbiB9O1xuY29uc3QgTG9hZGluZ0RvdCA9ICh7IGRlbGF5LCBvZmZzZXQgfTogRG90UHJvcHMpID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGFuaW1hdGlvbjogYCR7bG9hZGluZ0RvdEFuaW1hdGlvbnN9IDFzIGVhc2UtaW4tb3V0ICR7ZGVsYXl9bXMgaW5maW5pdGU7YCxcbiAgICAgIGJhY2tncm91bmRDb2xvcjogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBib3JkZXJSYWRpdXM6ICcxZW0nLFxuICAgICAgZGlzcGxheTogJ2lubGluZS1ibG9jaycsXG4gICAgICBtYXJnaW5MZWZ0OiBvZmZzZXQgPyAnMWVtJyA6IG51bGwsXG4gICAgICBoZWlnaHQ6ICcxZW0nLFxuICAgICAgdmVydGljYWxBbGlnbjogJ3RvcCcsXG4gICAgICB3aWR0aDogJzFlbScsXG4gICAgfX1cbiAgLz5cbik7XG5cbmV4cG9ydCB0eXBlIExvYWRpbmdJY29uUHJvcHMgPSB7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogYW55LFxuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuLFxuICAvKiogV2hldGhlciB0aGUgdGV4dCBpcyByaWdodCB0byBsZWZ0ICovXG4gIGlzUnRsOiBib29sZWFuLFxufSAmIENvbW1vblByb3BzICYge1xuICAgIC8qKiBTZXQgc2l6ZSBvZiB0aGUgY29udGFpbmVyLiAqL1xuICAgIHNpemU6IG51bWJlcixcbiAgfTtcbmV4cG9ydCBjb25zdCBMb2FkaW5nSW5kaWNhdG9yID0gKHByb3BzOiBMb2FkaW5nSWNvblByb3BzKSA9PiB7XG4gIGNvbnN0IHsgY2xhc3NOYW1lLCBjeCwgZ2V0U3R5bGVzLCBpbm5lclByb3BzLCBpc1J0bCB9ID0gcHJvcHM7XG5cbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICAgIGNzcz17Z2V0U3R5bGVzKCdsb2FkaW5nSW5kaWNhdG9yJywgcHJvcHMpfVxuICAgICAgY2xhc3NOYW1lPXtjeChcbiAgICAgICAge1xuICAgICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgICAnbG9hZGluZy1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgICB9LFxuICAgICAgICBjbGFzc05hbWVcbiAgICAgICl9XG4gICAgPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezB9IG9mZnNldD17aXNSdGx9IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MTYwfSBvZmZzZXQgLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXszMjB9IG9mZnNldD17IWlzUnRsfSAvPlxuICAgIDwvZGl2PlxuICApO1xufTtcbkxvYWRpbmdJbmRpY2F0b3IuZGVmYXVsdFByb3BzID0geyBzaXplOiA0IH07XG4iXX0= */"
15284
+ };
15285
+
15286
+ // ==============================
15287
+ // Dropdown & Clear Icons
15288
+ // ==============================
15289
+ var Svg = function Svg(_ref) {
15290
+ var size = _ref.size,
15291
+ props = _objectWithoutPropertiesLoose(_ref, ["size"]);
15292
+
15293
+ return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("svg", _extends$2({
15294
+ height: size,
15295
+ width: size,
15296
+ viewBox: "0 0 20 20",
15297
+ "aria-hidden": "true",
15298
+ focusable: "false",
15299
+ css: _ref2
15300
+ }, props));
15301
+ };
15302
+
15303
+ var CrossIcon = function CrossIcon(props) {
15304
+ return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])(Svg, _extends$2({
15305
+ size: 20
15306
+ }, props), Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("path", {
15307
+ d: "M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"
15308
+ }));
15309
+ };
15310
+ var DownChevron = function DownChevron(props) {
15311
+ return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])(Svg, _extends$2({
15312
+ size: 20
15313
+ }, props), Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("path", {
15314
+ d: "M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"
15315
+ }));
15316
+ }; // ==============================
15317
+ // Dropdown & Clear Buttons
15318
+ // ==============================
15319
+
15320
+ var baseCSS = function baseCSS(_ref3) {
15321
+ var isFocused = _ref3.isFocused,
15322
+ _ref3$theme = _ref3.theme,
15323
+ baseUnit = _ref3$theme.spacing.baseUnit,
15324
+ colors = _ref3$theme.colors;
15325
+ return {
15326
+ label: 'indicatorContainer',
15327
+ color: isFocused ? colors.neutral60 : colors.neutral20,
15328
+ display: 'flex',
15329
+ padding: baseUnit * 2,
15330
+ transition: 'color 150ms',
15331
+ ':hover': {
15332
+ color: isFocused ? colors.neutral80 : colors.neutral40
15333
+ }
15334
+ };
15335
+ };
15336
+
15337
+ var dropdownIndicatorCSS = baseCSS;
15338
+ var DropdownIndicator = function DropdownIndicator(props) {
15339
+ var children = props.children,
15340
+ className = props.className,
15341
+ cx = props.cx,
15342
+ getStyles = props.getStyles,
15343
+ innerProps = props.innerProps;
15344
+ return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("div", _extends$2({}, innerProps, {
15345
+ css: getStyles('dropdownIndicator', props),
15346
+ className: cx({
15347
+ indicator: true,
15348
+ 'dropdown-indicator': true
15349
+ }, className)
15350
+ }), children || Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])(DownChevron, null));
15351
+ };
15352
+ var clearIndicatorCSS = baseCSS;
15353
+ var ClearIndicator = function ClearIndicator(props) {
15354
+ var children = props.children,
15355
+ className = props.className,
15356
+ cx = props.cx,
15357
+ getStyles = props.getStyles,
15358
+ innerProps = props.innerProps;
15359
+ return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("div", _extends$2({}, innerProps, {
15360
+ css: getStyles('clearIndicator', props),
15361
+ className: cx({
15362
+ indicator: true,
15363
+ 'clear-indicator': true
15364
+ }, className)
15365
+ }), children || Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])(CrossIcon, null));
15366
+ }; // ==============================
15367
+ // Separator
15368
+ // ==============================
15369
+
15370
+ var indicatorSeparatorCSS = function indicatorSeparatorCSS(_ref4) {
15371
+ var isDisabled = _ref4.isDisabled,
15372
+ _ref4$theme = _ref4.theme,
15373
+ baseUnit = _ref4$theme.spacing.baseUnit,
15374
+ colors = _ref4$theme.colors;
15375
+ return {
15376
+ label: 'indicatorSeparator',
15377
+ alignSelf: 'stretch',
15378
+ backgroundColor: isDisabled ? colors.neutral10 : colors.neutral20,
15379
+ marginBottom: baseUnit * 2,
15380
+ marginTop: baseUnit * 2,
15381
+ width: 1
15382
+ };
15383
+ };
15384
+ var IndicatorSeparator = function IndicatorSeparator(props) {
15385
+ var className = props.className,
15386
+ cx = props.cx,
15387
+ getStyles = props.getStyles,
15388
+ innerProps = props.innerProps;
15389
+ return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("span", _extends$2({}, innerProps, {
15390
+ css: getStyles('indicatorSeparator', props),
15391
+ className: cx({
15392
+ 'indicator-separator': true
15393
+ }, className)
15394
+ }));
15395
+ }; // ==============================
15396
+ // Loading
15397
+ // ==============================
15398
+
15399
+ var loadingDotAnimations = Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["d" /* keyframes */])(_templateObject());
15400
+ var loadingIndicatorCSS = function loadingIndicatorCSS(_ref5) {
15401
+ var isFocused = _ref5.isFocused,
15402
+ size = _ref5.size,
15403
+ _ref5$theme = _ref5.theme,
15404
+ colors = _ref5$theme.colors,
15405
+ baseUnit = _ref5$theme.spacing.baseUnit;
15406
+ return {
15407
+ label: 'loadingIndicator',
15408
+ color: isFocused ? colors.neutral60 : colors.neutral20,
15409
+ display: 'flex',
15410
+ padding: baseUnit * 2,
15411
+ transition: 'color 150ms',
15412
+ alignSelf: 'center',
15413
+ fontSize: size,
15414
+ lineHeight: 1,
15415
+ marginRight: size,
15416
+ textAlign: 'center',
15417
+ verticalAlign: 'middle'
15418
+ };
15419
+ };
15420
+
15421
+ var LoadingDot = function LoadingDot(_ref6) {
15422
+ var delay = _ref6.delay,
15423
+ offset = _ref6.offset;
15424
+ return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("span", {
15425
+ css:
15426
+ /*#__PURE__*/
15427
+ Object(__WEBPACK_IMPORTED_MODULE_5__emotion_css__["a" /* default */])({
15428
+ animation: loadingDotAnimations + " 1s ease-in-out " + delay + "ms infinite;",
15429
+ backgroundColor: 'currentColor',
15430
+ borderRadius: '1em',
15431
+ display: 'inline-block',
15432
+ marginLeft: offset ? '1em' : null,
15433
+ height: '1em',
15434
+ verticalAlign: 'top',
15435
+ width: '1em'
15436
+ }, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBc0xJIiwiZmlsZSI6ImluZGljYXRvcnMuanMiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBAZmxvd1xuLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyB0eXBlIE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL2NvcmUnO1xuXG5pbXBvcnQgdHlwZSB7IENvbW1vblByb3BzLCBUaGVtZSB9IGZyb20gJy4uL3R5cGVzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHsgc2l6ZSwgLi4ucHJvcHMgfTogeyBzaXplOiBudW1iZXIgfSkgPT4gKFxuICA8c3ZnXG4gICAgaGVpZ2h0PXtzaXplfVxuICAgIHdpZHRoPXtzaXplfVxuICAgIHZpZXdCb3g9XCIwIDAgMjAgMjBcIlxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgZm9jdXNhYmxlPVwiZmFsc2VcIlxuICAgIGNzcz17e1xuICAgICAgZGlzcGxheTogJ2lubGluZS1ibG9jaycsXG4gICAgICBmaWxsOiAnY3VycmVudENvbG9yJyxcbiAgICAgIGxpbmVIZWlnaHQ6IDEsXG4gICAgICBzdHJva2U6ICdjdXJyZW50Q29sb3InLFxuICAgICAgc3Ryb2tlV2lkdGg6IDAsXG4gICAgfX1cbiAgICB7Li4ucHJvcHN9XG4gIC8+XG4pO1xuXG5leHBvcnQgY29uc3QgQ3Jvc3NJY29uID0gKHByb3BzOiBhbnkpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTE0LjM0OCAxNC44NDljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDBsLTIuNjUxLTMuMDMwLTIuNjUxIDMuMDI5Yy0wLjQ2OSAwLjQ2OS0xLjIyOSAwLjQ2OS0xLjY5NyAwLTAuNDY5LTAuNDY5LTAuNDY5LTEuMjI5IDAtMS42OTdsMi43NTgtMy4xNS0yLjc1OS0zLjE1MmMtMC40NjktMC40NjktMC40NjktMS4yMjggMC0xLjY5N3MxLjIyOC0wLjQ2OSAxLjY5NyAwbDIuNjUyIDMuMDMxIDIuNjUxLTMuMDMxYzAuNDY5LTAuNDY5IDEuMjI4LTAuNDY5IDEuNjk3IDBzMC40NjkgMS4yMjkgMCAxLjY5N2wtMi43NTggMy4xNTIgMi43NTggMy4xNWMwLjQ2OSAwLjQ2OSAwLjQ2OSAxLjIyOSAwIDEuNjk4elwiIC8+XG4gIDwvU3ZnPlxuKTtcbmV4cG9ydCBjb25zdCBEb3duQ2hldnJvbiA9IChwcm9wczogYW55KSA9PiAoXG4gIDxTdmcgc2l6ZT17MjB9IHsuLi5wcm9wc30+XG4gICAgPHBhdGggZD1cIk00LjUxNiA3LjU0OGMwLjQzNi0wLjQ0NiAxLjA0My0wLjQ4MSAxLjU3NiAwbDMuOTA4IDMuNzQ3IDMuOTA4LTMuNzQ3YzAuNTMzLTAuNDgxIDEuMTQxLTAuNDQ2IDEuNTc0IDAgMC40MzYgMC40NDUgMC40MDggMS4xOTcgMCAxLjYxNS0wLjQwNiAwLjQxOC00LjY5NSA0LjUwMi00LjY5NSA0LjUwMi0wLjIxNyAwLjIyMy0wLjUwMiAwLjMzNS0wLjc4NyAwLjMzNXMtMC41Ny0wLjExMi0wLjc4OS0wLjMzNWMwIDAtNC4yODctNC4wODQtNC42OTUtNC41MDJzLTAuNDM2LTEuMTcgMC0xLjYxNXpcIiAvPlxuICA8L1N2Zz5cbik7XG5cbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuLy8gRHJvcGRvd24gJiBDbGVhciBCdXR0b25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuZXhwb3J0IHR5cGUgSW5kaWNhdG9yUHJvcHMgPSBDb21tb25Qcm9wcyAmIHtcbiAgLyoqIFRoZSBjaGlsZHJlbiB0byBiZSByZW5kZXJlZCBpbnNpZGUgdGhlIGluZGljYXRvci4gKi9cbiAgY2hpbGRyZW46IE5vZGUsXG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogYW55LFxuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuLFxuICAvKiogV2hldGhlciB0aGUgdGV4dCBpcyByaWdodCB0byBsZWZ0ICovXG4gIGlzUnRsOiBib29sZWFuLFxufTtcblxuY29uc3QgYmFzZUNTUyA9ICh7XG4gIGlzRm9jdXNlZCxcbiAgdGhlbWU6IHtcbiAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgY29sb3JzLFxuICB9LFxufTogSW5kaWNhdG9yUHJvcHMpID0+ICh7XG4gIGxhYmVsOiAnaW5kaWNhdG9yQ29udGFpbmVyJyxcbiAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcblxuICAnOmhvdmVyJzoge1xuICAgIGNvbG9yOiBpc0ZvY3VzZWQgPyBjb2xvcnMubmV1dHJhbDgwIDogY29sb3JzLm5ldXRyYWw0MCxcbiAgfSxcbn0pO1xuXG5leHBvcnQgY29uc3QgZHJvcGRvd25JbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IERyb3Bkb3duSW5kaWNhdG9yID0gKHByb3BzOiBJbmRpY2F0b3JQcm9wcykgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBjbGFzc05hbWUsIGN4LCBnZXRTdHlsZXMsIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgY3NzPXtnZXRTdHlsZXMoJ2Ryb3Bkb3duSW5kaWNhdG9yJywgcHJvcHMpfVxuICAgICAgY2xhc3NOYW1lPXtjeChcbiAgICAgICAge1xuICAgICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgICAnZHJvcGRvd24taW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfSxcbiAgICAgICAgY2xhc3NOYW1lXG4gICAgICApfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8RG93bkNoZXZyb24gLz59XG4gICAgPC9kaXY+XG4gICk7XG59O1xuXG5leHBvcnQgY29uc3QgY2xlYXJJbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IENsZWFySW5kaWNhdG9yID0gKHByb3BzOiBJbmRpY2F0b3JQcm9wcykgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBjbGFzc05hbWUsIGN4LCBnZXRTdHlsZXMsIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgY3NzPXtnZXRTdHlsZXMoJ2NsZWFySW5kaWNhdG9yJywgcHJvcHMpfVxuICAgICAgY2xhc3NOYW1lPXtjeChcbiAgICAgICAge1xuICAgICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgICAnY2xlYXItaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfSxcbiAgICAgICAgY2xhc3NOYW1lXG4gICAgICApfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8Q3Jvc3NJY29uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBTZXBhcmF0b3Jcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG50eXBlIFNlcGFyYXRvclN0YXRlID0geyBpc0Rpc2FibGVkOiBib29sZWFuIH07XG5cbmV4cG9ydCBjb25zdCBpbmRpY2F0b3JTZXBhcmF0b3JDU1MgPSAoe1xuICBpc0Rpc2FibGVkLFxuICB0aGVtZToge1xuICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICBjb2xvcnMsXG4gIH0sXG59OiBDb21tb25Qcm9wcyAmIFNlcGFyYXRvclN0YXRlKSA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvclNlcGFyYXRvcicsXG4gIGFsaWduU2VsZjogJ3N0cmV0Y2gnLFxuICBiYWNrZ3JvdW5kQ29sb3I6IGlzRGlzYWJsZWQgPyBjb2xvcnMubmV1dHJhbDEwIDogY29sb3JzLm5ldXRyYWwyMCxcbiAgbWFyZ2luQm90dG9tOiBiYXNlVW5pdCAqIDIsXG4gIG1hcmdpblRvcDogYmFzZVVuaXQgKiAyLFxuICB3aWR0aDogMSxcbn0pO1xuXG5leHBvcnQgY29uc3QgSW5kaWNhdG9yU2VwYXJhdG9yID0gKHByb3BzOiBJbmRpY2F0b3JQcm9wcykgPT4ge1xuICBjb25zdCB7IGNsYXNzTmFtZSwgY3gsIGdldFN0eWxlcywgaW5uZXJQcm9wcyB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPHNwYW5cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgY3NzPXtnZXRTdHlsZXMoJ2luZGljYXRvclNlcGFyYXRvcicsIHByb3BzKX1cbiAgICAgIGNsYXNzTmFtZT17Y3goeyAnaW5kaWNhdG9yLXNlcGFyYXRvcic6IHRydWUgfSwgY2xhc3NOYW1lKX1cbiAgICAvPlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBMb2FkaW5nXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgbG9hZGluZ0RvdEFuaW1hdGlvbnMgPSBrZXlmcmFtZXNgXG4gIDAlLCA4MCUsIDEwMCUgeyBvcGFjaXR5OiAwOyB9XG4gIDQwJSB7IG9wYWNpdHk6IDE7IH1cbmA7XG5cbmV4cG9ydCBjb25zdCBsb2FkaW5nSW5kaWNhdG9yQ1NTID0gKHtcbiAgaXNGb2N1c2VkLFxuICBzaXplLFxuICB0aGVtZToge1xuICAgIGNvbG9ycyxcbiAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gIH0sXG59OiB7XG4gIGlzRm9jdXNlZDogYm9vbGVhbixcbiAgc2l6ZTogbnVtYmVyLFxuICB0aGVtZTogVGhlbWUsXG59KSA9PiAoe1xuICBsYWJlbDogJ2xvYWRpbmdJbmRpY2F0b3InLFxuICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw2MCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gIGRpc3BsYXk6ICdmbGV4JyxcbiAgcGFkZGluZzogYmFzZVVuaXQgKiAyLFxuICB0cmFuc2l0aW9uOiAnY29sb3IgMTUwbXMnLFxuICBhbGlnblNlbGY6ICdjZW50ZXInLFxuICBmb250U2l6ZTogc2l6ZSxcbiAgbGluZUhlaWdodDogMSxcbiAgbWFyZ2luUmlnaHQ6IHNpemUsXG4gIHRleHRBbGlnbjogJ2NlbnRlcicsXG4gIHZlcnRpY2FsQWxpZ246ICdtaWRkbGUnLFxufSk7XG5cbnR5cGUgRG90UHJvcHMgPSB7IGRlbGF5OiBudW1iZXIsIG9mZnNldDogYm9vbGVhbiB9O1xuY29uc3QgTG9hZGluZ0RvdCA9ICh7IGRlbGF5LCBvZmZzZXQgfTogRG90UHJvcHMpID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGFuaW1hdGlvbjogYCR7bG9hZGluZ0RvdEFuaW1hdGlvbnN9IDFzIGVhc2UtaW4tb3V0ICR7ZGVsYXl9bXMgaW5maW5pdGU7YCxcbiAgICAgIGJhY2tncm91bmRDb2xvcjogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBib3JkZXJSYWRpdXM6ICcxZW0nLFxuICAgICAgZGlzcGxheTogJ2lubGluZS1ibG9jaycsXG4gICAgICBtYXJnaW5MZWZ0OiBvZmZzZXQgPyAnMWVtJyA6IG51bGwsXG4gICAgICBoZWlnaHQ6ICcxZW0nLFxuICAgICAgdmVydGljYWxBbGlnbjogJ3RvcCcsXG4gICAgICB3aWR0aDogJzFlbScsXG4gICAgfX1cbiAgLz5cbik7XG5cbmV4cG9ydCB0eXBlIExvYWRpbmdJY29uUHJvcHMgPSB7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogYW55LFxuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuLFxuICAvKiogV2hldGhlciB0aGUgdGV4dCBpcyByaWdodCB0byBsZWZ0ICovXG4gIGlzUnRsOiBib29sZWFuLFxufSAmIENvbW1vblByb3BzICYge1xuICAgIC8qKiBTZXQgc2l6ZSBvZiB0aGUgY29udGFpbmVyLiAqL1xuICAgIHNpemU6IG51bWJlcixcbiAgfTtcbmV4cG9ydCBjb25zdCBMb2FkaW5nSW5kaWNhdG9yID0gKHByb3BzOiBMb2FkaW5nSWNvblByb3BzKSA9PiB7XG4gIGNvbnN0IHsgY2xhc3NOYW1lLCBjeCwgZ2V0U3R5bGVzLCBpbm5lclByb3BzLCBpc1J0bCB9ID0gcHJvcHM7XG5cbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICAgIGNzcz17Z2V0U3R5bGVzKCdsb2FkaW5nSW5kaWNhdG9yJywgcHJvcHMpfVxuICAgICAgY2xhc3NOYW1lPXtjeChcbiAgICAgICAge1xuICAgICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgICAnbG9hZGluZy1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgICB9LFxuICAgICAgICBjbGFzc05hbWVcbiAgICAgICl9XG4gICAgPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezB9IG9mZnNldD17aXNSdGx9IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MTYwfSBvZmZzZXQgLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXszMjB9IG9mZnNldD17IWlzUnRsfSAvPlxuICAgIDwvZGl2PlxuICApO1xufTtcbkxvYWRpbmdJbmRpY2F0b3IuZGVmYXVsdFByb3BzID0geyBzaXplOiA0IH07XG4iXX0= */")
15437
+ });
15438
+ };
15439
+
15440
+ var LoadingIndicator = function LoadingIndicator(props) {
15441
+ var className = props.className,
15442
+ cx = props.cx,
15443
+ getStyles = props.getStyles,
15444
+ innerProps = props.innerProps,
15445
+ isRtl = props.isRtl;
15446
+ return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("div", _extends$2({}, innerProps, {
15447
+ css: getStyles('loadingIndicator', props),
15448
+ className: cx({
15449
+ indicator: true,
15450
+ 'loading-indicator': true
15451
+ }, className)
15452
+ }), Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])(LoadingDot, {
15453
+ delay: 0,
15454
+ offset: isRtl
15455
+ }), Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])(LoadingDot, {
15456
+ delay: 160,
15457
+ offset: true
15458
+ }), Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])(LoadingDot, {
15459
+ delay: 320,
15460
+ offset: !isRtl
15461
+ }));
15462
+ };
15463
+ LoadingIndicator.defaultProps = {
15464
+ size: 4
15465
+ };
15466
+
15467
+ function _extends$3() { _extends$3 = 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; }; return _extends$3.apply(this, arguments); }
15468
+ var css = function css(_ref) {
15469
+ var isDisabled = _ref.isDisabled,
15470
+ isFocused = _ref.isFocused,
15471
+ _ref$theme = _ref.theme,
15472
+ colors = _ref$theme.colors,
15473
+ borderRadius = _ref$theme.borderRadius,
15474
+ spacing = _ref$theme.spacing;
15475
+ return {
15476
+ label: 'control',
15477
+ alignItems: 'center',
15478
+ backgroundColor: isDisabled ? colors.neutral5 : colors.neutral0,
15479
+ borderColor: isDisabled ? colors.neutral10 : isFocused ? colors.primary : colors.neutral20,
15480
+ borderRadius: borderRadius,
15481
+ borderStyle: 'solid',
15482
+ borderWidth: 1,
15483
+ boxShadow: isFocused ? "0 0 0 1px " + colors.primary : null,
15484
+ cursor: 'default',
15485
+ display: 'flex',
15486
+ flexWrap: 'wrap',
15487
+ justifyContent: 'space-between',
15488
+ minHeight: spacing.controlHeight,
15489
+ outline: '0 !important',
15490
+ position: 'relative',
15491
+ transition: 'all 100ms',
15492
+ '&:hover': {
15493
+ borderColor: isFocused ? colors.primary : colors.neutral30
15494
+ }
15495
+ };
15496
+ };
15497
+
15498
+ var Control = function Control(props) {
15499
+ var children = props.children,
15500
+ cx = props.cx,
15501
+ getStyles = props.getStyles,
15502
+ className = props.className,
15503
+ isDisabled = props.isDisabled,
15504
+ isFocused = props.isFocused,
15505
+ innerRef = props.innerRef,
15506
+ innerProps = props.innerProps,
15507
+ menuIsOpen = props.menuIsOpen;
15508
+ return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("div", _extends$3({
15509
+ ref: innerRef,
15510
+ css: getStyles('control', props),
15511
+ className: cx({
15512
+ control: true,
15513
+ 'control--is-disabled': isDisabled,
15514
+ 'control--is-focused': isFocused,
15515
+ 'control--menu-is-open': menuIsOpen
15516
+ }, className)
15517
+ }, innerProps), children);
15518
+ };
15519
+
15520
+ function _objectWithoutPropertiesLoose$1(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
15521
+
15522
+ function _extends$4() { _extends$4 = 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; }; return _extends$4.apply(this, arguments); }
15523
+ var groupCSS = function groupCSS(_ref) {
15524
+ var spacing = _ref.theme.spacing;
15525
+ return {
15526
+ paddingBottom: spacing.baseUnit * 2,
15527
+ paddingTop: spacing.baseUnit * 2
15528
+ };
15529
+ };
15530
+
15531
+ var Group = function Group(props) {
15532
+ var children = props.children,
15533
+ className = props.className,
15534
+ cx = props.cx,
15535
+ getStyles = props.getStyles,
15536
+ Heading = props.Heading,
15537
+ headingProps = props.headingProps,
15538
+ label = props.label,
15539
+ theme = props.theme,
15540
+ selectProps = props.selectProps;
15541
+ return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("div", {
15542
+ css: getStyles('group', props),
15543
+ className: cx({
15544
+ group: true
15545
+ }, className)
15546
+ }, Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])(Heading, _extends$4({}, headingProps, {
15547
+ selectProps: selectProps,
15548
+ theme: theme,
15549
+ getStyles: getStyles,
15550
+ cx: cx
15551
+ }), label), Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("div", null, children));
15552
+ };
15553
+
15554
+ var groupHeadingCSS = function groupHeadingCSS(_ref2) {
15555
+ var spacing = _ref2.theme.spacing;
15556
+ return {
15557
+ label: 'group',
15558
+ color: '#999',
15559
+ cursor: 'default',
15560
+ display: 'block',
15561
+ fontSize: '75%',
15562
+ fontWeight: '500',
15563
+ marginBottom: '0.25em',
15564
+ paddingLeft: spacing.baseUnit * 3,
15565
+ paddingRight: spacing.baseUnit * 3,
15566
+ textTransform: 'uppercase'
15567
+ };
15568
+ };
15569
+ var GroupHeading = function GroupHeading(props) {
15570
+ var className = props.className,
15571
+ cx = props.cx,
15572
+ getStyles = props.getStyles,
15573
+ theme = props.theme,
15574
+ selectProps = props.selectProps,
15575
+ cleanProps = _objectWithoutPropertiesLoose$1(props, ["className", "cx", "getStyles", "theme", "selectProps"]);
15576
+
15577
+ return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("div", _extends$4({
15578
+ css: getStyles('groupHeading', _extends$4({
15579
+ theme: theme
15580
+ }, cleanProps)),
15581
+ className: cx({
15582
+ 'group-heading': true
15583
+ }, className)
15584
+ }, cleanProps));
15585
+ };
15586
+
15587
+ function _extends$5() { _extends$5 = 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; }; return _extends$5.apply(this, arguments); }
15588
+
15589
+ function _objectWithoutPropertiesLoose$2(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
15590
+ var inputCSS = function inputCSS(_ref) {
15591
+ var isDisabled = _ref.isDisabled,
15592
+ _ref$theme = _ref.theme,
15593
+ spacing = _ref$theme.spacing,
15594
+ colors = _ref$theme.colors;
15595
+ return {
15596
+ margin: spacing.baseUnit / 2,
15597
+ paddingBottom: spacing.baseUnit / 2,
15598
+ paddingTop: spacing.baseUnit / 2,
15599
+ visibility: isDisabled ? 'hidden' : 'visible',
15600
+ color: colors.neutral80
15601
+ };
15602
+ };
15603
+
15604
+ var inputStyle = function inputStyle(isHidden) {
15605
+ return {
15606
+ label: 'input',
15607
+ background: 0,
15608
+ border: 0,
15609
+ fontSize: 'inherit',
15610
+ opacity: isHidden ? 0 : 1,
15611
+ outline: 0,
15612
+ padding: 0,
15613
+ color: 'inherit'
15614
+ };
15615
+ };
15616
+
15617
+ var Input = function Input(_ref2) {
15618
+ var className = _ref2.className,
15619
+ cx = _ref2.cx,
15620
+ getStyles = _ref2.getStyles,
15621
+ innerRef = _ref2.innerRef,
15622
+ isHidden = _ref2.isHidden,
15623
+ isDisabled = _ref2.isDisabled,
15624
+ theme = _ref2.theme,
15625
+ selectProps = _ref2.selectProps,
15626
+ props = _objectWithoutPropertiesLoose$2(_ref2, ["className", "cx", "getStyles", "innerRef", "isHidden", "isDisabled", "theme", "selectProps"]);
15627
+
15628
+ return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("div", {
15629
+ css: getStyles('input', _extends$5({
15630
+ theme: theme
15631
+ }, props))
15632
+ }, Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])(__WEBPACK_IMPORTED_MODULE_6_react_input_autosize___default.a, _extends$5({
15633
+ className: cx({
15634
+ input: true
15635
+ }, className),
15636
+ inputRef: innerRef,
15637
+ inputStyle: inputStyle(isHidden),
15638
+ disabled: isDisabled
15639
+ }, props)));
15640
+ };
15641
+
15642
+ function _extends$6() { _extends$6 = 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; }; return _extends$6.apply(this, arguments); }
15643
+ var multiValueCSS = function multiValueCSS(_ref) {
15644
+ var _ref$theme = _ref.theme,
15645
+ spacing = _ref$theme.spacing,
15646
+ borderRadius = _ref$theme.borderRadius,
15647
+ colors = _ref$theme.colors;
15648
+ return {
15649
+ label: 'multiValue',
15650
+ backgroundColor: colors.neutral10,
15651
+ borderRadius: borderRadius / 2,
15652
+ display: 'flex',
15653
+ margin: spacing.baseUnit / 2,
15654
+ minWidth: 0 // resolves flex/text-overflow bug
15655
+
15656
+ };
15657
+ };
15658
+ var multiValueLabelCSS = function multiValueLabelCSS(_ref2) {
15659
+ var _ref2$theme = _ref2.theme,
15660
+ borderRadius = _ref2$theme.borderRadius,
15661
+ colors = _ref2$theme.colors,
15662
+ cropWithEllipsis = _ref2.cropWithEllipsis;
15663
+ return {
15664
+ borderRadius: borderRadius / 2,
15665
+ color: colors.neutral80,
15666
+ fontSize: '85%',
15667
+ overflow: 'hidden',
15668
+ padding: 3,
15669
+ paddingLeft: 6,
15670
+ textOverflow: cropWithEllipsis ? 'ellipsis' : null,
15671
+ whiteSpace: 'nowrap'
15672
+ };
15673
+ };
15674
+ var multiValueRemoveCSS = function multiValueRemoveCSS(_ref3) {
15675
+ var _ref3$theme = _ref3.theme,
15676
+ spacing = _ref3$theme.spacing,
15677
+ borderRadius = _ref3$theme.borderRadius,
15678
+ colors = _ref3$theme.colors,
15679
+ isFocused = _ref3.isFocused;
15680
+ return {
15681
+ alignItems: 'center',
15682
+ borderRadius: borderRadius / 2,
15683
+ backgroundColor: isFocused && colors.dangerLight,
15684
+ display: 'flex',
15685
+ paddingLeft: spacing.baseUnit,
15686
+ paddingRight: spacing.baseUnit,
15687
+ ':hover': {
15688
+ backgroundColor: colors.dangerLight,
15689
+ color: colors.danger
15690
+ }
15691
+ };
15692
+ };
15693
+ var MultiValueGeneric = function MultiValueGeneric(_ref4) {
15694
+ var children = _ref4.children,
15695
+ innerProps = _ref4.innerProps;
15696
+ return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("div", innerProps, children);
15697
+ };
15698
+ var MultiValueContainer = MultiValueGeneric;
15699
+ var MultiValueLabel = MultiValueGeneric;
15700
+ function MultiValueRemove(_ref5) {
15701
+ var children = _ref5.children,
15702
+ innerProps = _ref5.innerProps;
15703
+ return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("div", innerProps, children || Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])(CrossIcon, {
15704
+ size: 14
15705
+ }));
15706
+ }
15707
+
15708
+ var MultiValue = function MultiValue(props) {
15709
+ var children = props.children,
15710
+ className = props.className,
15711
+ components = props.components,
15712
+ cx = props.cx,
15713
+ data = props.data,
15714
+ getStyles = props.getStyles,
15715
+ innerProps = props.innerProps,
15716
+ isDisabled = props.isDisabled,
15717
+ removeProps = props.removeProps,
15718
+ selectProps = props.selectProps;
15719
+ var Container = components.Container,
15720
+ Label = components.Label,
15721
+ Remove = components.Remove;
15722
+ return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["b" /* ClassNames */], null, function (_ref6) {
15723
+ var css = _ref6.css,
15724
+ emotionCx = _ref6.cx;
15725
+ return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])(Container, {
15726
+ data: data,
15727
+ innerProps: _extends$6({}, innerProps, {
15728
+ className: emotionCx(css(getStyles('multiValue', props)), cx({
15729
+ 'multi-value': true,
15730
+ 'multi-value--is-disabled': isDisabled
15731
+ }, className))
15732
+ }),
15733
+ selectProps: selectProps
15734
+ }, Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])(Label, {
15735
+ data: data,
15736
+ innerProps: {
15737
+ className: emotionCx(css(getStyles('multiValueLabel', props)), cx({
15738
+ 'multi-value__label': true
15739
+ }, className))
15740
+ },
15741
+ selectProps: selectProps
15742
+ }, children), Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])(Remove, {
15743
+ data: data,
15744
+ innerProps: _extends$6({
15745
+ className: emotionCx(css(getStyles('multiValueRemove', props)), cx({
15746
+ 'multi-value__remove': true
15747
+ }, className))
15748
+ }, removeProps),
15749
+ selectProps: selectProps
15750
+ }));
15751
+ });
15752
+ };
15753
+
15754
+ MultiValue.defaultProps = {
15755
+ cropWithEllipsis: true
15756
+ };
15757
+
15758
+ function _extends$7() { _extends$7 = 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; }; return _extends$7.apply(this, arguments); }
15759
+ var optionCSS = function optionCSS(_ref) {
15760
+ var isDisabled = _ref.isDisabled,
15761
+ isFocused = _ref.isFocused,
15762
+ isSelected = _ref.isSelected,
15763
+ _ref$theme = _ref.theme,
15764
+ spacing = _ref$theme.spacing,
15765
+ colors = _ref$theme.colors;
15766
+ return {
15767
+ label: 'option',
15768
+ backgroundColor: isSelected ? colors.primary : isFocused ? colors.primary25 : 'transparent',
15769
+ color: isDisabled ? colors.neutral20 : isSelected ? colors.neutral0 : 'inherit',
15770
+ cursor: 'default',
15771
+ display: 'block',
15772
+ fontSize: 'inherit',
15773
+ padding: spacing.baseUnit * 2 + "px " + spacing.baseUnit * 3 + "px",
15774
+ width: '100%',
15775
+ userSelect: 'none',
15776
+ WebkitTapHighlightColor: 'rgba(0, 0, 0, 0)',
15777
+ // provide some affordance on touch devices
15778
+ ':active': {
15779
+ backgroundColor: !isDisabled && (isSelected ? colors.primary : colors.primary50)
15780
+ }
15781
+ };
15782
+ };
15783
+
15784
+ var Option = function Option(props) {
15785
+ var children = props.children,
15786
+ className = props.className,
15787
+ cx = props.cx,
15788
+ getStyles = props.getStyles,
15789
+ isDisabled = props.isDisabled,
15790
+ isFocused = props.isFocused,
15791
+ isSelected = props.isSelected,
15792
+ innerRef = props.innerRef,
15793
+ innerProps = props.innerProps;
15794
+ return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("div", _extends$7({
15795
+ css: getStyles('option', props),
15796
+ className: cx({
15797
+ option: true,
15798
+ 'option--is-disabled': isDisabled,
15799
+ 'option--is-focused': isFocused,
15800
+ 'option--is-selected': isSelected
15801
+ }, className),
15802
+ ref: innerRef
15803
+ }, innerProps), children);
15804
+ };
15805
+
15806
+ function _extends$8() { _extends$8 = 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; }; return _extends$8.apply(this, arguments); }
15807
+ var placeholderCSS = function placeholderCSS(_ref) {
15808
+ var _ref$theme = _ref.theme,
15809
+ spacing = _ref$theme.spacing,
15810
+ colors = _ref$theme.colors;
15811
+ return {
15812
+ label: 'placeholder',
15813
+ color: colors.neutral50,
15814
+ marginLeft: spacing.baseUnit / 2,
15815
+ marginRight: spacing.baseUnit / 2,
15816
+ position: 'absolute',
15817
+ top: '50%',
15818
+ transform: 'translateY(-50%)'
15819
+ };
15820
+ };
15821
+
15822
+ var Placeholder = function Placeholder(props) {
15823
+ var children = props.children,
15824
+ className = props.className,
15825
+ cx = props.cx,
15826
+ getStyles = props.getStyles,
15827
+ innerProps = props.innerProps;
15828
+ return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("div", _extends$8({
15829
+ css: getStyles('placeholder', props),
15830
+ className: cx({
15831
+ placeholder: true
15832
+ }, className)
15833
+ }, innerProps), children);
15834
+ };
15835
+
15836
+ function _extends$9() { _extends$9 = 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; }; return _extends$9.apply(this, arguments); }
15837
+ var css$1 = function css(_ref) {
15838
+ var isDisabled = _ref.isDisabled,
15839
+ _ref$theme = _ref.theme,
15840
+ spacing = _ref$theme.spacing,
15841
+ colors = _ref$theme.colors;
15842
+ return {
15843
+ label: 'singleValue',
15844
+ color: isDisabled ? colors.neutral40 : colors.neutral80,
15845
+ marginLeft: spacing.baseUnit / 2,
15846
+ marginRight: spacing.baseUnit / 2,
15847
+ maxWidth: "calc(100% - " + spacing.baseUnit * 2 + "px)",
15848
+ overflow: 'hidden',
15849
+ position: 'absolute',
15850
+ textOverflow: 'ellipsis',
15851
+ whiteSpace: 'nowrap',
15852
+ top: '50%',
15853
+ transform: 'translateY(-50%)'
15854
+ };
15855
+ };
15856
+
15857
+ var SingleValue = function SingleValue(props) {
15858
+ var children = props.children,
15859
+ className = props.className,
15860
+ cx = props.cx,
15861
+ getStyles = props.getStyles,
15862
+ isDisabled = props.isDisabled,
15863
+ innerProps = props.innerProps;
15864
+ return Object(__WEBPACK_IMPORTED_MODULE_1__emotion_core__["c" /* jsx */])("div", _extends$9({
15865
+ css: getStyles('singleValue', props),
15866
+ className: cx({
15867
+ 'single-value': true,
15868
+ 'single-value--is-disabled': isDisabled
15869
+ }, className)
15870
+ }, innerProps), children);
15871
+ };
15872
+
15873
+ function _extends$a() { _extends$a = 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; }; return _extends$a.apply(this, arguments); }
15874
+ var components = {
15875
+ ClearIndicator: ClearIndicator,
15876
+ Control: Control,
15877
+ DropdownIndicator: DropdownIndicator,
15878
+ DownChevron: DownChevron,
15879
+ CrossIcon: CrossIcon,
15880
+ Group: Group,
15881
+ GroupHeading: GroupHeading,
15882
+ IndicatorsContainer: IndicatorsContainer,
15883
+ IndicatorSeparator: IndicatorSeparator,
15884
+ Input: Input,
15885
+ LoadingIndicator: LoadingIndicator,
15886
+ Menu: Menu,
15887
+ MenuList: MenuList,
15888
+ MenuPortal: MenuPortal,
15889
+ LoadingMessage: LoadingMessage,
15890
+ NoOptionsMessage: NoOptionsMessage,
15891
+ MultiValue: MultiValue,
15892
+ MultiValueContainer: MultiValueContainer,
15893
+ MultiValueLabel: MultiValueLabel,
15894
+ MultiValueRemove: MultiValueRemove,
15895
+ Option: Option,
15896
+ Placeholder: Placeholder,
15897
+ SelectContainer: SelectContainer,
15898
+ SingleValue: SingleValue,
15899
+ ValueContainer: ValueContainer
15900
+ };
15901
+ var defaultComponents = function defaultComponents(props) {
15902
+ return _extends$a({}, components, props.components);
15903
+ };
15904
+
15905
+
15906
+
15907
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
15908
+
15909
+ /***/ }),
15910
+ /* 232 */
15911
+ /***/ (function(module, exports, __webpack_require__) {
15912
+
15913
+ "use strict";
15914
+
15915
+
15916
+ Object.defineProperty(exports, "__esModule", {
15917
+ value: true
15918
+ });
15919
+
15920
+ 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; };
15921
+
15922
+ 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; }; }();
15923
+
15924
+ var _react = __webpack_require__(0);
15925
+
15926
+ var _react2 = _interopRequireDefault(_react);
15927
+
15928
+ var _propTypes = __webpack_require__(2);
15929
+
15930
+ var _propTypes2 = _interopRequireDefault(_propTypes);
15931
+
15932
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15933
+
15934
+ 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; }
15935
+
15936
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
15937
+
15938
+ 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; }
15939
+
15940
+ 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; }
15941
+
15942
+ var sizerStyle = {
15943
+ position: 'absolute',
15944
+ top: 0,
15945
+ left: 0,
15946
+ visibility: 'hidden',
15947
+ height: 0,
15948
+ overflow: 'scroll',
15949
+ whiteSpace: 'pre'
15950
+ };
15951
+
15952
+ var INPUT_PROPS_BLACKLIST = ['extraWidth', 'injectStyles', 'inputClassName', 'inputRef', 'inputStyle', 'minWidth', 'onAutosize', 'placeholderIsMinWidth'];
15953
+
15954
+ var cleanInputProps = function cleanInputProps(inputProps) {
15955
+ INPUT_PROPS_BLACKLIST.forEach(function (field) {
15956
+ return delete inputProps[field];
15957
+ });
15958
+ return inputProps;
15959
+ };
15960
+
15961
+ var copyStyles = function copyStyles(styles, node) {
15962
+ node.style.fontSize = styles.fontSize;
15963
+ node.style.fontFamily = styles.fontFamily;
15964
+ node.style.fontWeight = styles.fontWeight;
15965
+ node.style.fontStyle = styles.fontStyle;
15966
+ node.style.letterSpacing = styles.letterSpacing;
15967
+ node.style.textTransform = styles.textTransform;
15968
+ };
15969
+
15970
+ var isIE = typeof window !== 'undefined' && window.navigator ? /MSIE |Trident\/|Edge\//.test(window.navigator.userAgent) : false;
15971
+
15972
+ var generateId = function generateId() {
15973
+ // we only need an auto-generated ID for stylesheet injection, which is only
15974
+ // used for IE. so if the browser is not IE, this should return undefined.
15975
+ return isIE ? '_' + Math.random().toString(36).substr(2, 12) : undefined;
15976
+ };
15977
+
15978
+ var AutosizeInput = function (_Component) {
15979
+ _inherits(AutosizeInput, _Component);
15980
+
15981
+ function AutosizeInput(props) {
15982
+ _classCallCheck(this, AutosizeInput);
15983
+
15984
+ var _this = _possibleConstructorReturn(this, (AutosizeInput.__proto__ || Object.getPrototypeOf(AutosizeInput)).call(this, props));
15985
+
15986
+ _this.inputRef = function (el) {
15987
+ _this.input = el;
15988
+ if (typeof _this.props.inputRef === 'function') {
15989
+ _this.props.inputRef(el);
15990
+ }
15991
+ };
15992
+
15993
+ _this.placeHolderSizerRef = function (el) {
15994
+ _this.placeHolderSizer = el;
15995
+ };
15996
+
15997
+ _this.sizerRef = function (el) {
15998
+ _this.sizer = el;
15999
+ };
16000
+
16001
+ _this.state = {
16002
+ inputWidth: props.minWidth,
16003
+ inputId: props.id || generateId()
16004
+ };
16005
+ return _this;
16006
+ }
16007
+
16008
+ _createClass(AutosizeInput, [{
16009
+ key: 'componentDidMount',
16010
+ value: function componentDidMount() {
16011
+ this.mounted = true;
16012
+ this.copyInputStyles();
16013
+ this.updateInputWidth();
16014
+ }
16015
+ }, {
16016
+ key: 'UNSAFE_componentWillReceiveProps',
16017
+ value: function UNSAFE_componentWillReceiveProps(nextProps) {
16018
+ var id = nextProps.id;
16019
+
16020
+ if (id !== this.props.id) {
16021
+ this.setState({ inputId: id || generateId() });
16022
+ }
16023
+ }
16024
+ }, {
16025
+ key: 'componentDidUpdate',
16026
+ value: function componentDidUpdate(prevProps, prevState) {
16027
+ if (prevState.inputWidth !== this.state.inputWidth) {
16028
+ if (typeof this.props.onAutosize === 'function') {
16029
+ this.props.onAutosize(this.state.inputWidth);
16030
+ }
16031
+ }
16032
+ this.updateInputWidth();
16033
+ }
16034
+ }, {
16035
+ key: 'componentWillUnmount',
16036
+ value: function componentWillUnmount() {
16037
+ this.mounted = false;
16038
+ }
16039
+ }, {
16040
+ key: 'copyInputStyles',
16041
+ value: function copyInputStyles() {
16042
+ if (!this.mounted || !window.getComputedStyle) {
16043
+ return;
16044
+ }
16045
+ var inputStyles = this.input && window.getComputedStyle(this.input);
16046
+ if (!inputStyles) {
16047
+ return;
16048
+ }
16049
+ copyStyles(inputStyles, this.sizer);
16050
+ if (this.placeHolderSizer) {
16051
+ copyStyles(inputStyles, this.placeHolderSizer);
16052
+ }
16053
+ }
16054
+ }, {
16055
+ key: 'updateInputWidth',
16056
+ value: function updateInputWidth() {
16057
+ if (!this.mounted || !this.sizer || typeof this.sizer.scrollWidth === 'undefined') {
16058
+ return;
16059
+ }
16060
+ var newInputWidth = void 0;
16061
+ if (this.props.placeholder && (!this.props.value || this.props.value && this.props.placeholderIsMinWidth)) {
16062
+ newInputWidth = Math.max(this.sizer.scrollWidth, this.placeHolderSizer.scrollWidth) + 2;
16063
+ } else {
16064
+ newInputWidth = this.sizer.scrollWidth + 2;
16065
+ }
16066
+ // add extraWidth to the detected width. for number types, this defaults to 16 to allow for the stepper UI
16067
+ var extraWidth = this.props.type === 'number' && this.props.extraWidth === undefined ? 16 : parseInt(this.props.extraWidth) || 0;
16068
+ newInputWidth += extraWidth;
16069
+ if (newInputWidth < this.props.minWidth) {
16070
+ newInputWidth = this.props.minWidth;
16071
+ }
16072
+ if (newInputWidth !== this.state.inputWidth) {
16073
+ this.setState({
16074
+ inputWidth: newInputWidth
16075
+ });
16076
+ }
16077
+ }
16078
+ }, {
16079
+ key: 'getInput',
16080
+ value: function getInput() {
16081
+ return this.input;
16082
+ }
16083
+ }, {
16084
+ key: 'focus',
16085
+ value: function focus() {
16086
+ this.input.focus();
16087
+ }
16088
+ }, {
16089
+ key: 'blur',
16090
+ value: function blur() {
16091
+ this.input.blur();
16092
+ }
16093
+ }, {
16094
+ key: 'select',
16095
+ value: function select() {
16096
+ this.input.select();
16097
+ }
16098
+ }, {
16099
+ key: 'renderStyles',
16100
+ value: function renderStyles() {
16101
+ // this method injects styles to hide IE's clear indicator, which messes
16102
+ // with input size detection. the stylesheet is only injected when the
16103
+ // browser is IE, and can also be disabled by the `injectStyles` prop.
16104
+ var injectStyles = this.props.injectStyles;
16105
+
16106
+ return isIE && injectStyles ? _react2.default.createElement('style', { dangerouslySetInnerHTML: {
16107
+ __html: 'input#' + this.state.inputId + '::-ms-clear {display: none;}'
16108
+ } }) : null;
16109
+ }
16110
+ }, {
16111
+ key: 'render',
16112
+ value: function render() {
16113
+ var sizerValue = [this.props.defaultValue, this.props.value, ''].reduce(function (previousValue, currentValue) {
16114
+ if (previousValue !== null && previousValue !== undefined) {
16115
+ return previousValue;
16116
+ }
16117
+ return currentValue;
16118
+ });
16119
+
16120
+ var wrapperStyle = _extends({}, this.props.style);
16121
+ if (!wrapperStyle.display) wrapperStyle.display = 'inline-block';
16122
+
16123
+ var inputStyle = _extends({
16124
+ boxSizing: 'content-box',
16125
+ width: this.state.inputWidth + 'px'
16126
+ }, this.props.inputStyle);
16127
+
16128
+ var inputProps = _objectWithoutProperties(this.props, []);
16129
+
16130
+ cleanInputProps(inputProps);
16131
+ inputProps.className = this.props.inputClassName;
16132
+ inputProps.id = this.state.inputId;
16133
+ inputProps.style = inputStyle;
16134
+
16135
+ return _react2.default.createElement(
16136
+ 'div',
16137
+ { className: this.props.className, style: wrapperStyle },
16138
+ this.renderStyles(),
16139
+ _react2.default.createElement('input', _extends({}, inputProps, { ref: this.inputRef })),
16140
+ _react2.default.createElement(
16141
+ 'div',
16142
+ { ref: this.sizerRef, style: sizerStyle },
16143
+ sizerValue
16144
+ ),
16145
+ this.props.placeholder ? _react2.default.createElement(
16146
+ 'div',
16147
+ { ref: this.placeHolderSizerRef, style: sizerStyle },
16148
+ this.props.placeholder
16149
+ ) : null
16150
+ );
16151
+ }
16152
+ }]);
16153
+
16154
+ return AutosizeInput;
16155
+ }(_react.Component);
16156
+
16157
+ AutosizeInput.propTypes = {
16158
+ className: _propTypes2.default.string, // className for the outer element
16159
+ defaultValue: _propTypes2.default.any, // default field value
16160
+ extraWidth: _propTypes2.default.oneOfType([// additional width for input element
16161
+ _propTypes2.default.number, _propTypes2.default.string]),
16162
+ id: _propTypes2.default.string, // id to use for the input, can be set for consistent snapshots
16163
+ injectStyles: _propTypes2.default.bool, // inject the custom stylesheet to hide clear UI, defaults to true
16164
+ inputClassName: _propTypes2.default.string, // className for the input element
16165
+ inputRef: _propTypes2.default.func, // ref callback for the input element
16166
+ inputStyle: _propTypes2.default.object, // css styles for the input element
16167
+ minWidth: _propTypes2.default.oneOfType([// minimum width for input element
16168
+ _propTypes2.default.number, _propTypes2.default.string]),
16169
+ onAutosize: _propTypes2.default.func, // onAutosize handler: function(newWidth) {}
16170
+ onChange: _propTypes2.default.func, // onChange handler: function(event) {}
16171
+ placeholder: _propTypes2.default.string, // placeholder text
16172
+ placeholderIsMinWidth: _propTypes2.default.bool, // don't collapse size to less than the placeholder
16173
+ style: _propTypes2.default.object, // css styles for the outer element
16174
+ value: _propTypes2.default.any // field value
16175
+ };
16176
+ AutosizeInput.defaultProps = {
16177
+ minWidth: 1,
16178
+ injectStyles: true
16179
+ };
16180
+
16181
+ exports.default = AutosizeInput;
16182
+
16183
+ /***/ }),
16184
+ /* 233 */
16185
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
16186
+
16187
+ "use strict";
16188
+ /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Select; });
16189
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return defaultTheme; });
16190
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return createFilter; });
16191
+ /* unused harmony export d */
16192
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return mergeStyles; });
16193
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
16194
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
16195
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_memoize_one__ = __webpack_require__(227);
16196
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__emotion_core__ = __webpack_require__(128);
16197
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react_dom__ = __webpack_require__(11);
16198
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_react_dom__);
16199
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__utils_06b0d5a4_browser_esm_js__ = __webpack_require__(129);
16200
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__ = __webpack_require__(231);
16201
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__emotion_css__ = __webpack_require__(65);
16202
+
16203
+
16204
+
16205
+
16206
+
16207
+
16208
+
16209
+
16210
+ var diacritics = [{
16211
+ base: 'A',
16212
+ letters: /[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F]/g
16213
+ }, {
16214
+ base: 'AA',
16215
+ letters: /[\uA732]/g
16216
+ }, {
16217
+ base: 'AE',
16218
+ letters: /[\u00C6\u01FC\u01E2]/g
16219
+ }, {
16220
+ base: 'AO',
16221
+ letters: /[\uA734]/g
16222
+ }, {
16223
+ base: 'AU',
16224
+ letters: /[\uA736]/g
16225
+ }, {
16226
+ base: 'AV',
16227
+ letters: /[\uA738\uA73A]/g
16228
+ }, {
16229
+ base: 'AY',
16230
+ letters: /[\uA73C]/g
16231
+ }, {
16232
+ base: 'B',
16233
+ letters: /[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181]/g
16234
+ }, {
16235
+ base: 'C',
16236
+ letters: /[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E]/g
16237
+ }, {
16238
+ base: 'D',
16239
+ letters: /[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779]/g
16240
+ }, {
16241
+ base: 'DZ',
16242
+ letters: /[\u01F1\u01C4]/g
16243
+ }, {
16244
+ base: 'Dz',
16245
+ letters: /[\u01F2\u01C5]/g
16246
+ }, {
16247
+ base: 'E',
16248
+ letters: /[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E]/g
16249
+ }, {
16250
+ base: 'F',
16251
+ letters: /[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B]/g
16252
+ }, {
16253
+ base: 'G',
16254
+ letters: /[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E]/g
16255
+ }, {
16256
+ base: 'H',
16257
+ letters: /[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D]/g
16258
+ }, {
16259
+ base: 'I',
16260
+ letters: /[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197]/g
16261
+ }, {
16262
+ base: 'J',
16263
+ letters: /[\u004A\u24BF\uFF2A\u0134\u0248]/g
16264
+ }, {
16265
+ base: 'K',
16266
+ letters: /[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2]/g
16267
+ }, {
16268
+ base: 'L',
16269
+ letters: /[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780]/g
16270
+ }, {
16271
+ base: 'LJ',
16272
+ letters: /[\u01C7]/g
16273
+ }, {
16274
+ base: 'Lj',
16275
+ letters: /[\u01C8]/g
16276
+ }, {
16277
+ base: 'M',
16278
+ letters: /[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C]/g
16279
+ }, {
16280
+ base: 'N',
16281
+ letters: /[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4]/g
16282
+ }, {
16283
+ base: 'NJ',
16284
+ letters: /[\u01CA]/g
16285
+ }, {
16286
+ base: 'Nj',
16287
+ letters: /[\u01CB]/g
16288
+ }, {
16289
+ base: 'O',
16290
+ letters: /[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C]/g
16291
+ }, {
16292
+ base: 'OI',
16293
+ letters: /[\u01A2]/g
16294
+ }, {
16295
+ base: 'OO',
16296
+ letters: /[\uA74E]/g
16297
+ }, {
16298
+ base: 'OU',
16299
+ letters: /[\u0222]/g
16300
+ }, {
16301
+ base: 'P',
16302
+ letters: /[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754]/g
16303
+ }, {
16304
+ base: 'Q',
16305
+ letters: /[\u0051\u24C6\uFF31\uA756\uA758\u024A]/g
16306
+ }, {
16307
+ base: 'R',
16308
+ letters: /[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782]/g
16309
+ }, {
16310
+ base: 'S',
16311
+ letters: /[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784]/g
16312
+ }, {
16313
+ base: 'T',
16314
+ letters: /[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786]/g
16315
+ }, {
16316
+ base: 'TZ',
16317
+ letters: /[\uA728]/g
16318
+ }, {
16319
+ base: 'U',
16320
+ letters: /[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244]/g
16321
+ }, {
16322
+ base: 'V',
16323
+ letters: /[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245]/g
16324
+ }, {
16325
+ base: 'VY',
16326
+ letters: /[\uA760]/g
16327
+ }, {
16328
+ base: 'W',
16329
+ letters: /[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72]/g
16330
+ }, {
16331
+ base: 'X',
16332
+ letters: /[\u0058\u24CD\uFF38\u1E8A\u1E8C]/g
16333
+ }, {
16334
+ base: 'Y',
16335
+ letters: /[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE]/g
16336
+ }, {
16337
+ base: 'Z',
16338
+ letters: /[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762]/g
16339
+ }, {
16340
+ base: 'a',
16341
+ letters: /[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g
16342
+ }, {
16343
+ base: 'aa',
16344
+ letters: /[\uA733]/g
16345
+ }, {
16346
+ base: 'ae',
16347
+ letters: /[\u00E6\u01FD\u01E3]/g
16348
+ }, {
16349
+ base: 'ao',
16350
+ letters: /[\uA735]/g
16351
+ }, {
16352
+ base: 'au',
16353
+ letters: /[\uA737]/g
16354
+ }, {
16355
+ base: 'av',
16356
+ letters: /[\uA739\uA73B]/g
16357
+ }, {
16358
+ base: 'ay',
16359
+ letters: /[\uA73D]/g
16360
+ }, {
16361
+ base: 'b',
16362
+ letters: /[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253]/g
16363
+ }, {
16364
+ base: 'c',
16365
+ letters: /[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g
16366
+ }, {
16367
+ base: 'd',
16368
+ letters: /[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A]/g
16369
+ }, {
16370
+ base: 'dz',
16371
+ letters: /[\u01F3\u01C6]/g
16372
+ }, {
16373
+ base: 'e',
16374
+ letters: /[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g
16375
+ }, {
16376
+ base: 'f',
16377
+ letters: /[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C]/g
16378
+ }, {
16379
+ base: 'g',
16380
+ letters: /[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F]/g
16381
+ }, {
16382
+ base: 'h',
16383
+ letters: /[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265]/g
16384
+ }, {
16385
+ base: 'hv',
16386
+ letters: /[\u0195]/g
16387
+ }, {
16388
+ base: 'i',
16389
+ letters: /[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g
16390
+ }, {
16391
+ base: 'j',
16392
+ letters: /[\u006A\u24D9\uFF4A\u0135\u01F0\u0249]/g
16393
+ }, {
16394
+ base: 'k',
16395
+ letters: /[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3]/g
16396
+ }, {
16397
+ base: 'l',
16398
+ letters: /[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747]/g
16399
+ }, {
16400
+ base: 'lj',
16401
+ letters: /[\u01C9]/g
16402
+ }, {
16403
+ base: 'm',
16404
+ letters: /[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F]/g
16405
+ }, {
16406
+ base: 'n',
16407
+ letters: /[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5]/g
16408
+ }, {
16409
+ base: 'nj',
16410
+ letters: /[\u01CC]/g
16411
+ }, {
16412
+ base: 'o',
16413
+ letters: /[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g
16414
+ }, {
16415
+ base: 'oi',
16416
+ letters: /[\u01A3]/g
16417
+ }, {
16418
+ base: 'ou',
16419
+ letters: /[\u0223]/g
16420
+ }, {
16421
+ base: 'oo',
16422
+ letters: /[\uA74F]/g
16423
+ }, {
16424
+ base: 'p',
16425
+ letters: /[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755]/g
16426
+ }, {
16427
+ base: 'q',
16428
+ letters: /[\u0071\u24E0\uFF51\u024B\uA757\uA759]/g
16429
+ }, {
16430
+ base: 'r',
16431
+ letters: /[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783]/g
16432
+ }, {
16433
+ base: 's',
16434
+ letters: /[\u0073\u24E2\uFF53\u00DF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B]/g
16435
+ }, {
16436
+ base: 't',
16437
+ letters: /[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787]/g
16438
+ }, {
16439
+ base: 'tz',
16440
+ letters: /[\uA729]/g
16441
+ }, {
16442
+ base: 'u',
16443
+ letters: /[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g
16444
+ }, {
16445
+ base: 'v',
16446
+ letters: /[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C]/g
16447
+ }, {
16448
+ base: 'vy',
16449
+ letters: /[\uA761]/g
16450
+ }, {
16451
+ base: 'w',
16452
+ letters: /[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73]/g
16453
+ }, {
16454
+ base: 'x',
16455
+ letters: /[\u0078\u24E7\uFF58\u1E8B\u1E8D]/g
16456
+ }, {
16457
+ base: 'y',
16458
+ letters: /[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF]/g
16459
+ }, {
16460
+ base: 'z',
16461
+ letters: /[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g
16462
+ }];
16463
+ var stripDiacritics = function stripDiacritics(str) {
16464
+ for (var i = 0; i < diacritics.length; i++) {
16465
+ str = str.replace(diacritics[i].letters, diacritics[i].base);
16466
+ }
16467
+
16468
+ return str;
16469
+ };
16470
+
16471
+ function _extends() { _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; }; return _extends.apply(this, arguments); }
16472
+
16473
+ var trimString = function trimString(str) {
16474
+ return str.replace(/^\s+|\s+$/g, '');
16475
+ };
16476
+
16477
+ var defaultStringify = function defaultStringify(option) {
16478
+ return option.label + " " + option.value;
16479
+ };
16480
+
16481
+ var createFilter = function createFilter(config) {
16482
+ return function (option, rawInput) {
16483
+ var _ignoreCase$ignoreAcc = _extends({
16484
+ ignoreCase: true,
16485
+ ignoreAccents: true,
16486
+ stringify: defaultStringify,
16487
+ trim: true,
16488
+ matchFrom: 'any'
16489
+ }, config),
16490
+ ignoreCase = _ignoreCase$ignoreAcc.ignoreCase,
16491
+ ignoreAccents = _ignoreCase$ignoreAcc.ignoreAccents,
16492
+ stringify = _ignoreCase$ignoreAcc.stringify,
16493
+ trim = _ignoreCase$ignoreAcc.trim,
16494
+ matchFrom = _ignoreCase$ignoreAcc.matchFrom;
16495
+
16496
+ var input = trim ? trimString(rawInput) : rawInput;
16497
+ var candidate = trim ? trimString(stringify(option)) : stringify(option);
16498
+
16499
+ if (ignoreCase) {
16500
+ input = input.toLowerCase();
16501
+ candidate = candidate.toLowerCase();
16502
+ }
16503
+
16504
+ if (ignoreAccents) {
16505
+ input = stripDiacritics(input);
16506
+ candidate = stripDiacritics(candidate);
16507
+ }
16508
+
16509
+ return matchFrom === 'start' ? candidate.substr(0, input.length) === input : candidate.indexOf(input) > -1;
16510
+ };
16511
+ };
16512
+
16513
+ function _extends$1() { _extends$1 = 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; }; return _extends$1.apply(this, arguments); }
16514
+
16515
+ var _ref = process.env.NODE_ENV === "production" ? {
16516
+ name: "1laao21-a11yText",
16517
+ styles: "label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;"
16518
+ } : {
16519
+ name: "1laao21-a11yText",
16520
+ styles: "label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;",
16521
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVFNIiwiZmlsZSI6IkExMXlUZXh0LmpzIiwic291cmNlc0NvbnRlbnQiOlsiLy8gQGZsb3dcbi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgdHlwZSBFbGVtZW50Q29uZmlnIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vY29yZSc7XG5cbi8vIEFzc2lzdGl2ZSB0ZXh0IHRvIGRlc2NyaWJlIHZpc3VhbCBlbGVtZW50cy4gSGlkZGVuIGZvciBzaWdodGVkIHVzZXJzLlxuY29uc3QgQTExeVRleHQgPSAocHJvcHM6IEVsZW1lbnRDb25maWc8J3NwYW4nPikgPT4gKFxuICAgIDxzcGFuXG4gICAgICBjc3M9e3tcbiAgICAgICAgbGFiZWw6ICdhMTF5VGV4dCcsXG4gICAgICAgIHpJbmRleDogOTk5OSxcbiAgICAgICAgYm9yZGVyOiAwLFxuICAgICAgICBjbGlwOiAncmVjdCgxcHgsIDFweCwgMXB4LCAxcHgpJyxcbiAgICAgICAgaGVpZ2h0OiAxLFxuICAgICAgICB3aWR0aDogMSxcbiAgICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICAgIG92ZXJmbG93OiAnaGlkZGVuJyxcbiAgICAgICAgcGFkZGluZzogMCxcbiAgICAgICAgd2hpdGVTcGFjZTogJ25vd3JhcCcsXG4gICAgICB9fVxuICAgICAgey4uLnByb3BzfVxuICAgIC8+XG4pO1xuXG5leHBvcnQgZGVmYXVsdCBBMTF5VGV4dDtcbiJdfQ== */"
16522
+ };
16523
+
16524
+ var A11yText = function A11yText(props) {
16525
+ return Object(__WEBPACK_IMPORTED_MODULE_2__emotion_core__["c" /* jsx */])("span", _extends$1({
16526
+ css: _ref
16527
+ }, props));
16528
+ };
16529
+
16530
+ function _extends$2() { _extends$2 = 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; }; return _extends$2.apply(this, arguments); }
16531
+
16532
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
16533
+ function DummyInput(_ref) {
16534
+ var inProp = _ref.in,
16535
+ out = _ref.out,
16536
+ onExited = _ref.onExited,
16537
+ appear = _ref.appear,
16538
+ enter = _ref.enter,
16539
+ exit = _ref.exit,
16540
+ innerRef = _ref.innerRef,
16541
+ emotion = _ref.emotion,
16542
+ props = _objectWithoutPropertiesLoose(_ref, ["in", "out", "onExited", "appear", "enter", "exit", "innerRef", "emotion"]);
16543
+
16544
+ return Object(__WEBPACK_IMPORTED_MODULE_2__emotion_core__["c" /* jsx */])("input", _extends$2({
16545
+ ref: innerRef
16546
+ }, props, {
16547
+ css:
16548
+ /*#__PURE__*/
16549
+ Object(__WEBPACK_IMPORTED_MODULE_6__emotion_css__["a" /* default */])({
16550
+ label: 'dummyInput',
16551
+ // get rid of any default styles
16552
+ background: 0,
16553
+ border: 0,
16554
+ fontSize: 'inherit',
16555
+ outline: 0,
16556
+ padding: 0,
16557
+ // important! without `width` browsers won't allow focus
16558
+ width: 1,
16559
+ // remove cursor on desktop
16560
+ color: 'transparent',
16561
+ // remove cursor on mobile whilst maintaining "scroll into view" behaviour
16562
+ left: -100,
16563
+ opacity: 0,
16564
+ position: 'relative',
16565
+ transform: 'scale(0)'
16566
+ }, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBbUJNIiwiZmlsZSI6IkR1bW15SW5wdXQuanMiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBAZmxvd1xuLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9jb3JlJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRHVtbXlJbnB1dCh7XG4gIGluOiBpblByb3AsXG4gIG91dCxcbiAgb25FeGl0ZWQsXG4gIGFwcGVhcixcbiAgZW50ZXIsXG4gIGV4aXQsXG4gIGlubmVyUmVmLFxuICBlbW90aW9uLFxuICAuLi5wcm9wc1xufTogYW55KSB7XG4gIHJldHVybiAoXG4gICAgPGlucHV0XG4gICAgICByZWY9e2lubmVyUmVmfVxuICAgICAgey4uLnByb3BzfVxuICAgICAgY3NzPXt7XG4gICAgICAgIGxhYmVsOiAnZHVtbXlJbnB1dCcsXG4gICAgICAgIC8vIGdldCByaWQgb2YgYW55IGRlZmF1bHQgc3R5bGVzXG4gICAgICAgIGJhY2tncm91bmQ6IDAsXG4gICAgICAgIGJvcmRlcjogMCxcbiAgICAgICAgZm9udFNpemU6ICdpbmhlcml0JyxcbiAgICAgICAgb3V0bGluZTogMCxcbiAgICAgICAgcGFkZGluZzogMCxcbiAgICAgICAgLy8gaW1wb3J0YW50ISB3aXRob3V0IGB3aWR0aGAgYnJvd3NlcnMgd29uJ3QgYWxsb3cgZm9jdXNcbiAgICAgICAgd2lkdGg6IDEsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBkZXNrdG9wXG4gICAgICAgIGNvbG9yOiAndHJhbnNwYXJlbnQnLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gbW9iaWxlIHdoaWxzdCBtYWludGFpbmluZyBcInNjcm9sbCBpbnRvIHZpZXdcIiBiZWhhdmlvdXJcbiAgICAgICAgbGVmdDogLTEwMCxcbiAgICAgICAgb3BhY2l0eTogMCxcbiAgICAgICAgcG9zaXRpb246ICdyZWxhdGl2ZScsXG4gICAgICAgIHRyYW5zZm9ybTogJ3NjYWxlKDApJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")
16567
+ }));
16568
+ }
16569
+
16570
+ function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
16571
+
16572
+ var NodeResolver =
16573
+ /*#__PURE__*/
16574
+ function (_Component) {
16575
+ _inheritsLoose(NodeResolver, _Component);
16576
+
16577
+ function NodeResolver() {
16578
+ return _Component.apply(this, arguments) || this;
16579
+ }
16580
+
16581
+ var _proto = NodeResolver.prototype;
16582
+
16583
+ _proto.componentDidMount = function componentDidMount() {
16584
+ this.props.innerRef(Object(__WEBPACK_IMPORTED_MODULE_3_react_dom__["findDOMNode"])(this));
16585
+ };
16586
+
16587
+ _proto.componentWillUnmount = function componentWillUnmount() {
16588
+ this.props.innerRef(null);
16589
+ };
16590
+
16591
+ _proto.render = function render() {
16592
+ return this.props.children;
16593
+ };
16594
+
16595
+ return NodeResolver;
16596
+ }(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);
16597
+
16598
+ var STYLE_KEYS = ['boxSizing', 'height', 'overflow', 'paddingRight', 'position'];
16599
+ var LOCK_STYLES = {
16600
+ boxSizing: 'border-box',
16601
+ // account for possible declaration `width: 100%;` on body
16602
+ overflow: 'hidden',
16603
+ position: 'relative',
16604
+ height: '100%'
16605
+ };
16606
+
16607
+ function preventTouchMove(e) {
16608
+ e.preventDefault();
16609
+ }
16610
+ function allowTouchMove(e) {
16611
+ e.stopPropagation();
16612
+ }
16613
+ function preventInertiaScroll() {
16614
+ var top = this.scrollTop;
16615
+ var totalScroll = this.scrollHeight;
16616
+ var currentScroll = top + this.offsetHeight;
16617
+
16618
+ if (top === 0) {
16619
+ this.scrollTop = 1;
16620
+ } else if (currentScroll === totalScroll) {
16621
+ this.scrollTop = top - 1;
16622
+ }
16623
+ } // `ontouchstart` check works on most browsers
16624
+ // `maxTouchPoints` works on IE10/11 and Surface
16625
+
16626
+ function isTouchDevice() {
16627
+ return 'ontouchstart' in window || navigator.maxTouchPoints;
16628
+ }
16629
+
16630
+ function _inheritsLoose$1(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
16631
+ var canUseDOM = !!( window.document && window.document.createElement);
16632
+ var activeScrollLocks = 0;
16633
+
16634
+ var ScrollLock =
16635
+ /*#__PURE__*/
16636
+ function (_Component) {
16637
+ _inheritsLoose$1(ScrollLock, _Component);
16638
+
16639
+ function ScrollLock() {
16640
+ var _this;
16641
+
16642
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
16643
+ args[_key] = arguments[_key];
16644
+ }
16645
+
16646
+ _this = _Component.call.apply(_Component, [this].concat(args)) || this;
16647
+ _this.originalStyles = {};
16648
+ _this.listenerOptions = {
16649
+ capture: false,
16650
+ passive: false
16651
+ };
16652
+ return _this;
16653
+ }
16654
+
16655
+ var _proto = ScrollLock.prototype;
16656
+
16657
+ _proto.componentDidMount = function componentDidMount() {
16658
+ var _this2 = this;
16659
+
16660
+ if (!canUseDOM) return;
16661
+ var _this$props = this.props,
16662
+ accountForScrollbars = _this$props.accountForScrollbars,
16663
+ touchScrollTarget = _this$props.touchScrollTarget;
16664
+ var target = document.body;
16665
+ var targetStyle = target && target.style;
16666
+
16667
+ if (accountForScrollbars) {
16668
+ // store any styles already applied to the body
16669
+ STYLE_KEYS.forEach(function (key) {
16670
+ var val = targetStyle && targetStyle[key];
16671
+ _this2.originalStyles[key] = val;
16672
+ });
16673
+ } // apply the lock styles and padding if this is the first scroll lock
16674
+
16675
+
16676
+ if (accountForScrollbars && activeScrollLocks < 1) {
16677
+ var currentPadding = parseInt(this.originalStyles.paddingRight, 10) || 0;
16678
+ var clientWidth = document.body ? document.body.clientWidth : 0;
16679
+ var adjustedPadding = window.innerWidth - clientWidth + currentPadding || 0;
16680
+ Object.keys(LOCK_STYLES).forEach(function (key) {
16681
+ var val = LOCK_STYLES[key];
16682
+
16683
+ if (targetStyle) {
16684
+ targetStyle[key] = val;
16685
+ }
16686
+ });
16687
+
16688
+ if (targetStyle) {
16689
+ targetStyle.paddingRight = adjustedPadding + "px";
16690
+ }
16691
+ } // account for touch devices
16692
+
16693
+
16694
+ if (target && isTouchDevice()) {
16695
+ // Mobile Safari ignores { overflow: hidden } declaration on the body.
16696
+ target.addEventListener('touchmove', preventTouchMove, this.listenerOptions); // Allow scroll on provided target
16697
+
16698
+ if (touchScrollTarget) {
16699
+ touchScrollTarget.addEventListener('touchstart', preventInertiaScroll, this.listenerOptions);
16700
+ touchScrollTarget.addEventListener('touchmove', allowTouchMove, this.listenerOptions);
16701
+ }
16702
+ } // increment active scroll locks
16703
+
16704
+
16705
+ activeScrollLocks += 1;
16706
+ };
16707
+
16708
+ _proto.componentWillUnmount = function componentWillUnmount() {
16709
+ var _this3 = this;
16710
+
16711
+ if (!canUseDOM) return;
16712
+ var _this$props2 = this.props,
16713
+ accountForScrollbars = _this$props2.accountForScrollbars,
16714
+ touchScrollTarget = _this$props2.touchScrollTarget;
16715
+ var target = document.body;
16716
+ var targetStyle = target && target.style; // safely decrement active scroll locks
16717
+
16718
+ activeScrollLocks = Math.max(activeScrollLocks - 1, 0); // reapply original body styles, if any
16719
+
16720
+ if (accountForScrollbars && activeScrollLocks < 1) {
16721
+ STYLE_KEYS.forEach(function (key) {
16722
+ var val = _this3.originalStyles[key];
16723
+
16724
+ if (targetStyle) {
16725
+ targetStyle[key] = val;
16726
+ }
16727
+ });
16728
+ } // remove touch listeners
16729
+
16730
+
16731
+ if (target && isTouchDevice()) {
16732
+ target.removeEventListener('touchmove', preventTouchMove, this.listenerOptions);
16733
+
16734
+ if (touchScrollTarget) {
16735
+ touchScrollTarget.removeEventListener('touchstart', preventInertiaScroll, this.listenerOptions);
16736
+ touchScrollTarget.removeEventListener('touchmove', allowTouchMove, this.listenerOptions);
16737
+ }
16738
+ }
16739
+ };
16740
+
16741
+ _proto.render = function render() {
16742
+ return null;
16743
+ };
16744
+
16745
+ return ScrollLock;
16746
+ }(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);
16747
+
16748
+ ScrollLock.defaultProps = {
16749
+ accountForScrollbars: true
16750
+ };
16751
+
16752
+ function _inheritsLoose$2(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
16753
+
16754
+ var _ref$1 = process.env.NODE_ENV === "production" ? {
16755
+ name: "1dsbpcp",
16756
+ styles: "position:fixed;left:0;bottom:0;right:0;top:0;"
16757
+ } : {
16758
+ name: "1dsbpcp",
16759
+ styles: "position:fixed;left:0;bottom:0;right:0;top:0;",
16760
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbEJsb2NrLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTZEVSIsImZpbGUiOiJTY3JvbGxCbG9jay5qcyIsInNvdXJjZXNDb250ZW50IjpbIi8vIEBmbG93XG4vKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IFB1cmVDb21wb25lbnQsIHR5cGUgRWxlbWVudCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL2NvcmUnO1xuaW1wb3J0IE5vZGVSZXNvbHZlciBmcm9tICcuL05vZGVSZXNvbHZlcic7XG5pbXBvcnQgU2Nyb2xsTG9jayBmcm9tICcuL1Njcm9sbExvY2svaW5kZXgnO1xuXG50eXBlIFByb3BzID0ge1xuICBjaGlsZHJlbjogRWxlbWVudDwqPixcbiAgaXNFbmFibGVkOiBib29sZWFuLFxufTtcbnR5cGUgU3RhdGUgPSB7XG4gIHRvdWNoU2Nyb2xsVGFyZ2V0OiBIVE1MRWxlbWVudCB8IG51bGwsXG59O1xuXG4vLyBOT1RFOlxuLy8gV2Ugc2hvdWxkbid0IG5lZWQgdGhpcyBhZnRlciB1cGRhdGluZyB0byBSZWFjdCB2MTYuMy4wLCB3aGljaCBpbnRyb2R1Y2VzOlxuLy8gLSBjcmVhdGVSZWYoKSBodHRwczovL3JlYWN0anMub3JnL2RvY3MvcmVhY3QtYXBpLmh0bWwjcmVhY3RjcmVhdGVyZWZcbi8vIC0gZm9yd2FyZFJlZigpIGh0dHBzOi8vcmVhY3Rqcy5vcmcvZG9jcy9yZWFjdC1hcGkuaHRtbCNyZWFjdGZvcndhcmRyZWZcblxuZXhwb3J0IGRlZmF1bHQgY2xhc3MgU2Nyb2xsQmxvY2sgZXh0ZW5kcyBQdXJlQ29tcG9uZW50PFByb3BzLCBTdGF0ZT4ge1xuICBzdGF0ZSA9IHsgdG91Y2hTY3JvbGxUYXJnZXQ6IG51bGwgfTtcblxuICAvLyBtdXN0IGJlIGluIHN0YXRlIHRvIHRyaWdnZXIgYSByZS1yZW5kZXIsIG9ubHkgcnVucyBvbmNlIHBlciBpbnN0YW5jZVxuICBnZXRTY3JvbGxUYXJnZXQgPSAocmVmOiBIVE1MRWxlbWVudCkgPT4ge1xuICAgIGlmIChyZWYgPT09IHRoaXMuc3RhdGUudG91Y2hTY3JvbGxUYXJnZXQpIHJldHVybjtcbiAgICB0aGlzLnNldFN0YXRlKHsgdG91Y2hTY3JvbGxUYXJnZXQ6IHJlZiB9KTtcbiAgfTtcblxuICAvLyB0aGlzIHdpbGwgY2xvc2UgdGhlIG1lbnUgd2hlbiBhIHVzZXIgY2xpY2tzIG91dHNpZGVcbiAgYmx1clNlbGVjdElucHV0ID0gKCkgPT4ge1xuICAgIGlmIChkb2N1bWVudC5hY3RpdmVFbGVtZW50KSB7XG4gICAgICBkb2N1bWVudC5hY3RpdmVFbGVtZW50LmJsdXIoKTtcbiAgICB9XG4gIH07XG5cbiAgcmVuZGVyKCkge1xuICAgIGNvbnN0IHsgY2hpbGRyZW4sIGlzRW5hYmxlZCB9ID0gdGhpcy5wcm9wcztcbiAgICBjb25zdCB7IHRvdWNoU2Nyb2xsVGFyZ2V0IH0gPSB0aGlzLnN0YXRlO1xuXG4gICAgLy8gYmFpbCBlYXJseSBpZiBub3QgZW5hYmxlZFxuICAgIGlmICghaXNFbmFibGVkKSByZXR1cm4gY2hpbGRyZW47XG5cbiAgICAvKlxuICAgICAqIERpdlxuICAgICAqIC0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLVxuICAgICAqIGJsb2NrcyBzY3JvbGxpbmcgb24gbm9uLWJvZHkgZWxlbWVudHMgYmVoaW5kIHRoZSBtZW51XG5cbiAgICAgKiBOb2RlUmVzb2x2ZXJcbiAgICAgKiAtLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS1cbiAgICAgKiB3ZSBuZWVkIGEgcmVmZXJlbmNlIHRvIHRoZSBzY3JvbGxhYmxlIGVsZW1lbnQgdG8gXCJ1bmxvY2tcIiBzY3JvbGwgb25cbiAgICAgKiBtb2JpbGUgZGV2aWNlc1xuXG4gICAgICogU2Nyb2xsTG9ja1xuICAgICAqIC0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLVxuICAgICAqIGFjdHVhbGx5IGRvZXMgdGhlIHNjcm9sbCBsb2NraW5nXG4gICAgICovXG4gICAgcmV0dXJuIChcbiAgICAgIDxkaXY+XG4gICAgICAgIDxkaXZcbiAgICAgICAgICBvbkNsaWNrPXt0aGlzLmJsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgICA8Tm9kZVJlc29sdmVyIGlubmVyUmVmPXt0aGlzLmdldFNjcm9sbFRhcmdldH0+e2NoaWxkcmVufTwvTm9kZVJlc29sdmVyPlxuICAgICAgICB7dG91Y2hTY3JvbGxUYXJnZXQgPyAoXG4gICAgICAgICAgPFNjcm9sbExvY2sgdG91Y2hTY3JvbGxUYXJnZXQ9e3RvdWNoU2Nyb2xsVGFyZ2V0fSAvPlxuICAgICAgICApIDogbnVsbH1cbiAgICAgIDwvZGl2PlxuICAgICk7XG4gIH1cbn1cbiJdfQ== */"
16761
+ };
16762
+
16763
+ // NOTE:
16764
+ // We shouldn't need this after updating to React v16.3.0, which introduces:
16765
+ // - createRef() https://reactjs.org/docs/react-api.html#reactcreateref
16766
+ // - forwardRef() https://reactjs.org/docs/react-api.html#reactforwardref
16767
+ var ScrollBlock =
16768
+ /*#__PURE__*/
16769
+ function (_PureComponent) {
16770
+ _inheritsLoose$2(ScrollBlock, _PureComponent);
16771
+
16772
+ function ScrollBlock() {
16773
+ var _this;
16774
+
16775
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
16776
+ args[_key] = arguments[_key];
16777
+ }
16778
+
16779
+ _this = _PureComponent.call.apply(_PureComponent, [this].concat(args)) || this;
16780
+ _this.state = {
16781
+ touchScrollTarget: null
16782
+ };
16783
+
16784
+ _this.getScrollTarget = function (ref) {
16785
+ if (ref === _this.state.touchScrollTarget) return;
16786
+
16787
+ _this.setState({
16788
+ touchScrollTarget: ref
16789
+ });
16790
+ };
16791
+
16792
+ _this.blurSelectInput = function () {
16793
+ if (document.activeElement) {
16794
+ document.activeElement.blur();
16795
+ }
16796
+ };
16797
+
16798
+ return _this;
16799
+ }
16800
+
16801
+ var _proto = ScrollBlock.prototype;
16802
+
16803
+ _proto.render = function render() {
16804
+ var _this$props = this.props,
16805
+ children = _this$props.children,
16806
+ isEnabled = _this$props.isEnabled;
16807
+ var touchScrollTarget = this.state.touchScrollTarget; // bail early if not enabled
16808
+
16809
+ if (!isEnabled) return children;
16810
+ /*
16811
+ * Div
16812
+ * ------------------------------
16813
+ * blocks scrolling on non-body elements behind the menu
16814
+ * NodeResolver
16815
+ * ------------------------------
16816
+ * we need a reference to the scrollable element to "unlock" scroll on
16817
+ * mobile devices
16818
+ * ScrollLock
16819
+ * ------------------------------
16820
+ * actually does the scroll locking
16821
+ */
16822
+
16823
+ return Object(__WEBPACK_IMPORTED_MODULE_2__emotion_core__["c" /* jsx */])("div", null, Object(__WEBPACK_IMPORTED_MODULE_2__emotion_core__["c" /* jsx */])("div", {
16824
+ onClick: this.blurSelectInput,
16825
+ css: _ref$1
16826
+ }), Object(__WEBPACK_IMPORTED_MODULE_2__emotion_core__["c" /* jsx */])(NodeResolver, {
16827
+ innerRef: this.getScrollTarget
16828
+ }, children), touchScrollTarget ? Object(__WEBPACK_IMPORTED_MODULE_2__emotion_core__["c" /* jsx */])(ScrollLock, {
16829
+ touchScrollTarget: touchScrollTarget
16830
+ }) : null);
16831
+ };
16832
+
16833
+ return ScrollBlock;
16834
+ }(__WEBPACK_IMPORTED_MODULE_0_react__["PureComponent"]);
16835
+
16836
+ function _objectWithoutPropertiesLoose$1(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
16837
+
16838
+ function _inheritsLoose$3(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
16839
+
16840
+ var ScrollCaptor =
16841
+ /*#__PURE__*/
16842
+ function (_Component) {
16843
+ _inheritsLoose$3(ScrollCaptor, _Component);
16844
+
16845
+ function ScrollCaptor() {
16846
+ var _this;
16847
+
16848
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
16849
+ args[_key] = arguments[_key];
16850
+ }
16851
+
16852
+ _this = _Component.call.apply(_Component, [this].concat(args)) || this;
16853
+ _this.isBottom = false;
16854
+ _this.isTop = false;
16855
+ _this.scrollTarget = void 0;
16856
+ _this.touchStart = void 0;
16857
+
16858
+ _this.cancelScroll = function (event) {
16859
+ event.preventDefault();
16860
+ event.stopPropagation();
16861
+ };
16862
+
16863
+ _this.handleEventDelta = function (event, delta) {
16864
+ var _this$props = _this.props,
16865
+ onBottomArrive = _this$props.onBottomArrive,
16866
+ onBottomLeave = _this$props.onBottomLeave,
16867
+ onTopArrive = _this$props.onTopArrive,
16868
+ onTopLeave = _this$props.onTopLeave;
16869
+ var _this$scrollTarget = _this.scrollTarget,
16870
+ scrollTop = _this$scrollTarget.scrollTop,
16871
+ scrollHeight = _this$scrollTarget.scrollHeight,
16872
+ clientHeight = _this$scrollTarget.clientHeight;
16873
+ var target = _this.scrollTarget;
16874
+ var isDeltaPositive = delta > 0;
16875
+ var availableScroll = scrollHeight - clientHeight - scrollTop;
16876
+ var shouldCancelScroll = false; // reset bottom/top flags
16877
+
16878
+ if (availableScroll > delta && _this.isBottom) {
16879
+ if (onBottomLeave) onBottomLeave(event);
16880
+ _this.isBottom = false;
16881
+ }
16882
+
16883
+ if (isDeltaPositive && _this.isTop) {
16884
+ if (onTopLeave) onTopLeave(event);
16885
+ _this.isTop = false;
16886
+ } // bottom limit
16887
+
16888
+
16889
+ if (isDeltaPositive && delta > availableScroll) {
16890
+ if (onBottomArrive && !_this.isBottom) {
16891
+ onBottomArrive(event);
16892
+ }
16893
+
16894
+ target.scrollTop = scrollHeight;
16895
+ shouldCancelScroll = true;
16896
+ _this.isBottom = true; // top limit
16897
+ } else if (!isDeltaPositive && -delta > scrollTop) {
16898
+ if (onTopArrive && !_this.isTop) {
16899
+ onTopArrive(event);
16900
+ }
16901
+
16902
+ target.scrollTop = 0;
16903
+ shouldCancelScroll = true;
16904
+ _this.isTop = true;
16905
+ } // cancel scroll
16906
+
16907
+
16908
+ if (shouldCancelScroll) {
16909
+ _this.cancelScroll(event);
16910
+ }
16911
+ };
16912
+
16913
+ _this.onWheel = function (event) {
16914
+ _this.handleEventDelta(event, event.deltaY);
16915
+ };
16916
+
16917
+ _this.onTouchStart = function (event) {
16918
+ // set touch start so we can calculate touchmove delta
16919
+ _this.touchStart = event.changedTouches[0].clientY;
16920
+ };
16921
+
16922
+ _this.onTouchMove = function (event) {
16923
+ var deltaY = _this.touchStart - event.changedTouches[0].clientY;
16924
+
16925
+ _this.handleEventDelta(event, deltaY);
16926
+ };
16927
+
16928
+ _this.getScrollTarget = function (ref) {
16929
+ _this.scrollTarget = ref;
16930
+ };
16931
+
16932
+ return _this;
16933
+ }
16934
+
16935
+ var _proto = ScrollCaptor.prototype;
16936
+
16937
+ _proto.componentDidMount = function componentDidMount() {
16938
+ this.startListening(this.scrollTarget);
16939
+ };
16940
+
16941
+ _proto.componentWillUnmount = function componentWillUnmount() {
16942
+ this.stopListening(this.scrollTarget);
16943
+ };
16944
+
16945
+ _proto.startListening = function startListening(el) {
16946
+ // bail early if no element is available to attach to
16947
+ if (!el) return; // all the if statements are to appease Flow 😢
16948
+
16949
+ if (typeof el.addEventListener === 'function') {
16950
+ el.addEventListener('wheel', this.onWheel, false);
16951
+ }
16952
+
16953
+ if (typeof el.addEventListener === 'function') {
16954
+ el.addEventListener('touchstart', this.onTouchStart, false);
16955
+ }
16956
+
16957
+ if (typeof el.addEventListener === 'function') {
16958
+ el.addEventListener('touchmove', this.onTouchMove, false);
16959
+ }
16960
+ };
16961
+
16962
+ _proto.stopListening = function stopListening(el) {
16963
+ // all the if statements are to appease Flow 😢
16964
+ if (typeof el.removeEventListener === 'function') {
16965
+ el.removeEventListener('wheel', this.onWheel, false);
16966
+ }
16967
+
16968
+ if (typeof el.removeEventListener === 'function') {
16969
+ el.removeEventListener('touchstart', this.onTouchStart, false);
16970
+ }
16971
+
16972
+ if (typeof el.removeEventListener === 'function') {
16973
+ el.removeEventListener('touchmove', this.onTouchMove, false);
16974
+ }
16975
+ };
16976
+
16977
+ _proto.render = function render() {
16978
+ return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(NodeResolver, {
16979
+ innerRef: this.getScrollTarget
16980
+ }, this.props.children);
16981
+ };
16982
+
16983
+ return ScrollCaptor;
16984
+ }(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);
16985
+
16986
+ function ScrollCaptorSwitch(_ref) {
16987
+ var _ref$isEnabled = _ref.isEnabled,
16988
+ isEnabled = _ref$isEnabled === void 0 ? true : _ref$isEnabled,
16989
+ props = _objectWithoutPropertiesLoose$1(_ref, ["isEnabled"]);
16990
+
16991
+ return isEnabled ? __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ScrollCaptor, props) : props.children;
16992
+ }
16993
+
16994
+ var instructionsAriaMessage = function instructionsAriaMessage(event, context) {
16995
+ if (context === void 0) {
16996
+ context = {};
16997
+ }
16998
+
16999
+ var _context = context,
17000
+ isSearchable = _context.isSearchable,
17001
+ isMulti = _context.isMulti,
17002
+ label = _context.label,
17003
+ isDisabled = _context.isDisabled;
17004
+
17005
+ switch (event) {
17006
+ case 'menu':
17007
+ return "Use Up and Down to choose options" + (isDisabled ? '' : ', press Enter to select the currently focused option') + ", press Escape to exit the menu, press Tab to select the option and exit the menu.";
17008
+
17009
+ case 'input':
17010
+ return (label ? label : 'Select') + " is focused " + (isSearchable ? ',type to refine list' : '') + ", press Down to open the menu, " + (isMulti ? ' press left to focus selected values' : '');
17011
+
17012
+ case 'value':
17013
+ return 'Use left and right to toggle between focused values, press Backspace to remove the currently focused value';
17014
+ }
17015
+ };
17016
+ var valueEventAriaMessage = function valueEventAriaMessage(event, context) {
17017
+ var value = context.value,
17018
+ isDisabled = context.isDisabled;
17019
+ if (!value) return;
17020
+
17021
+ switch (event) {
17022
+ case 'deselect-option':
17023
+ case 'pop-value':
17024
+ case 'remove-value':
17025
+ return "option " + value + ", deselected.";
17026
+
17027
+ case 'select-option':
17028
+ return isDisabled ? "option " + value + " is disabled. Select another option." : "option " + value + ", selected.";
17029
+ }
17030
+ };
17031
+ var valueFocusAriaMessage = function valueFocusAriaMessage(_ref) {
17032
+ var focusedValue = _ref.focusedValue,
17033
+ getOptionLabel = _ref.getOptionLabel,
17034
+ selectValue = _ref.selectValue;
17035
+ return "value " + getOptionLabel(focusedValue) + " focused, " + (selectValue.indexOf(focusedValue) + 1) + " of " + selectValue.length + ".";
17036
+ };
17037
+ var optionFocusAriaMessage = function optionFocusAriaMessage(_ref2) {
17038
+ var focusedOption = _ref2.focusedOption,
17039
+ getOptionLabel = _ref2.getOptionLabel,
17040
+ options = _ref2.options;
17041
+ return "option " + getOptionLabel(focusedOption) + " focused" + (focusedOption.isDisabled ? ' disabled' : '') + ", " + (options.indexOf(focusedOption) + 1) + " of " + options.length + ".";
17042
+ };
17043
+ var resultsAriaMessage = function resultsAriaMessage(_ref3) {
17044
+ var inputValue = _ref3.inputValue,
17045
+ screenReaderMessage = _ref3.screenReaderMessage;
17046
+ return "" + screenReaderMessage + (inputValue ? ' for search term ' + inputValue : '') + ".";
17047
+ };
17048
+
17049
+ var formatGroupLabel = function formatGroupLabel(group) {
17050
+ return group.label;
17051
+ };
17052
+ var getOptionLabel = function getOptionLabel(option) {
17053
+ return option.label;
17054
+ };
17055
+ var getOptionValue = function getOptionValue(option) {
17056
+ return option.value;
17057
+ };
17058
+ var isOptionDisabled = function isOptionDisabled(option) {
17059
+ return !!option.isDisabled;
17060
+ };
17061
+
17062
+ function _extends$3() { _extends$3 = 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; }; return _extends$3.apply(this, arguments); }
17063
+ var defaultStyles = {
17064
+ clearIndicator: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["d" /* c */],
17065
+ container: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["b" /* a */],
17066
+ control: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["c" /* b */],
17067
+ dropdownIndicator: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["e" /* d */],
17068
+ group: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["h" /* g */],
17069
+ groupHeading: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["f" /* e */],
17070
+ indicatorsContainer: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["j" /* i */],
17071
+ indicatorSeparator: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["g" /* f */],
17072
+ input: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["i" /* h */],
17073
+ loadingIndicator: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["m" /* l */],
17074
+ loadingMessage: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["k" /* j */],
17075
+ menu: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["n" /* m */],
17076
+ menuList: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["l" /* k */],
17077
+ menuPortal: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["o" /* n */],
17078
+ multiValue: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["p" /* o */],
17079
+ multiValueLabel: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["q" /* p */],
17080
+ multiValueRemove: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["r" /* q */],
17081
+ noOptionsMessage: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["s" /* r */],
17082
+ option: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["t" /* s */],
17083
+ placeholder: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["u" /* t */],
17084
+ singleValue: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["v" /* u */],
17085
+ valueContainer: __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["w" /* v */]
17086
+ }; // Merge Utility
17087
+ // Allows consumers to extend a base Select with additional styles
17088
+
17089
+ function mergeStyles(source, target) {
17090
+ if (target === void 0) {
17091
+ target = {};
17092
+ }
17093
+
17094
+ // initialize with source styles
17095
+ var styles = _extends$3({}, source); // massage in target styles
17096
+
17097
+
17098
+ Object.keys(target).forEach(function (key) {
17099
+ if (source[key]) {
17100
+ styles[key] = function (rsCss, props) {
17101
+ return target[key](source[key](rsCss, props), props);
17102
+ };
17103
+ } else {
17104
+ styles[key] = target[key];
17105
+ }
17106
+ });
17107
+ return styles;
17108
+ }
17109
+
17110
+ var colors = {
17111
+ primary: '#2684FF',
17112
+ primary75: '#4C9AFF',
17113
+ primary50: '#B2D4FF',
17114
+ primary25: '#DEEBFF',
17115
+ danger: '#DE350B',
17116
+ dangerLight: '#FFBDAD',
17117
+ neutral0: 'hsl(0, 0%, 100%)',
17118
+ neutral5: 'hsl(0, 0%, 95%)',
17119
+ neutral10: 'hsl(0, 0%, 90%)',
17120
+ neutral20: 'hsl(0, 0%, 80%)',
17121
+ neutral30: 'hsl(0, 0%, 70%)',
17122
+ neutral40: 'hsl(0, 0%, 60%)',
17123
+ neutral50: 'hsl(0, 0%, 50%)',
17124
+ neutral60: 'hsl(0, 0%, 40%)',
17125
+ neutral70: 'hsl(0, 0%, 30%)',
17126
+ neutral80: 'hsl(0, 0%, 20%)',
17127
+ neutral90: 'hsl(0, 0%, 10%)'
17128
+ };
17129
+ var borderRadius = 4; // Used to calculate consistent margin/padding on elements
17130
+
17131
+ var baseUnit = 4; // The minimum height of the control
17132
+
17133
+ var controlHeight = 38; // The amount of space between the control and menu */
17134
+
17135
+ var menuGutter = baseUnit * 2;
17136
+ var spacing = {
17137
+ baseUnit: baseUnit,
17138
+ controlHeight: controlHeight,
17139
+ menuGutter: menuGutter
17140
+ };
17141
+ var defaultTheme = {
17142
+ borderRadius: borderRadius,
17143
+ colors: colors,
17144
+ spacing: spacing
17145
+ };
17146
+
17147
+ function _objectWithoutPropertiesLoose$2(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
17148
+
17149
+ function _extends$4() { _extends$4 = 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; }; return _extends$4.apply(this, arguments); }
17150
+
17151
+ function _inheritsLoose$4(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
17152
+
17153
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
17154
+ var defaultProps = {
17155
+ backspaceRemovesValue: true,
17156
+ blurInputOnSelect: Object(__WEBPACK_IMPORTED_MODULE_4__utils_06b0d5a4_browser_esm_js__["i"])(),
17157
+ captureMenuScroll: !Object(__WEBPACK_IMPORTED_MODULE_4__utils_06b0d5a4_browser_esm_js__["i"])(),
17158
+ closeMenuOnSelect: true,
17159
+ closeMenuOnScroll: false,
17160
+ components: {},
17161
+ controlShouldRenderValue: true,
17162
+ escapeClearsValue: false,
17163
+ filterOption: createFilter(),
17164
+ formatGroupLabel: formatGroupLabel,
17165
+ getOptionLabel: getOptionLabel,
17166
+ getOptionValue: getOptionValue,
17167
+ isDisabled: false,
17168
+ isLoading: false,
17169
+ isMulti: false,
17170
+ isRtl: false,
17171
+ isSearchable: true,
17172
+ isOptionDisabled: isOptionDisabled,
17173
+ loadingMessage: function loadingMessage() {
17174
+ return 'Loading...';
17175
+ },
17176
+ maxMenuHeight: 300,
17177
+ minMenuHeight: 140,
17178
+ menuIsOpen: false,
17179
+ menuPlacement: 'bottom',
17180
+ menuPosition: 'absolute',
17181
+ menuShouldBlockScroll: false,
17182
+ menuShouldScrollIntoView: !Object(__WEBPACK_IMPORTED_MODULE_4__utils_06b0d5a4_browser_esm_js__["d"])(),
17183
+ noOptionsMessage: function noOptionsMessage() {
17184
+ return 'No options';
17185
+ },
17186
+ openMenuOnFocus: false,
17187
+ openMenuOnClick: true,
17188
+ options: [],
17189
+ pageSize: 5,
17190
+ placeholder: 'Select...',
17191
+ screenReaderStatus: function screenReaderStatus(_ref) {
17192
+ var count = _ref.count;
17193
+ return count + " result" + (count !== 1 ? 's' : '') + " available";
17194
+ },
17195
+ styles: {},
17196
+ tabIndex: '0',
17197
+ tabSelectsValue: true
17198
+ };
17199
+ var instanceId = 1;
17200
+
17201
+ var Select =
17202
+ /*#__PURE__*/
17203
+ function (_Component) {
17204
+ _inheritsLoose$4(Select, _Component);
17205
+
17206
+ // Misc. Instance Properties
17207
+ // ------------------------------
17208
+ // TODO
17209
+ // Refs
17210
+ // ------------------------------
17211
+ // Lifecycle
17212
+ // ------------------------------
17213
+ function Select(_props) {
17214
+ var _this;
17215
+
17216
+ _this = _Component.call(this, _props) || this;
17217
+ _this.state = {
17218
+ ariaLiveSelection: '',
17219
+ ariaLiveContext: '',
17220
+ focusedOption: null,
17221
+ focusedValue: null,
17222
+ inputIsHidden: false,
17223
+ isFocused: false,
17224
+ menuOptions: {
17225
+ render: [],
17226
+ focusable: []
17227
+ },
17228
+ selectValue: []
17229
+ };
17230
+ _this.blockOptionHover = false;
17231
+ _this.isComposing = false;
17232
+ _this.clearFocusValueOnUpdate = false;
17233
+ _this.commonProps = void 0;
17234
+ _this.components = void 0;
17235
+ _this.hasGroups = false;
17236
+ _this.initialTouchX = 0;
17237
+ _this.initialTouchY = 0;
17238
+ _this.inputIsHiddenAfterUpdate = void 0;
17239
+ _this.instancePrefix = '';
17240
+ _this.openAfterFocus = false;
17241
+ _this.scrollToFocusedOptionOnUpdate = false;
17242
+ _this.userIsDragging = void 0;
17243
+ _this.controlRef = null;
17244
+
17245
+ _this.getControlRef = function (ref) {
17246
+ _this.controlRef = ref;
17247
+ };
17248
+
17249
+ _this.focusedOptionRef = null;
17250
+
17251
+ _this.getFocusedOptionRef = function (ref) {
17252
+ _this.focusedOptionRef = ref;
17253
+ };
17254
+
17255
+ _this.menuListRef = null;
17256
+
17257
+ _this.getMenuListRef = function (ref) {
17258
+ _this.menuListRef = ref;
17259
+ };
17260
+
17261
+ _this.inputRef = null;
17262
+
17263
+ _this.getInputRef = function (ref) {
17264
+ _this.inputRef = ref;
17265
+ };
17266
+
17267
+ _this.cacheComponents = function (components) {
17268
+ _this.components = Object(__WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["x" /* w */])({
17269
+ components: components
17270
+ });
17271
+ };
17272
+
17273
+ _this.focus = _this.focusInput;
17274
+ _this.blur = _this.blurInput;
17275
+
17276
+ _this.onChange = function (newValue, actionMeta) {
17277
+ var _this$props = _this.props,
17278
+ onChange = _this$props.onChange,
17279
+ name = _this$props.name;
17280
+ onChange(newValue, _extends$4({}, actionMeta, {
17281
+ name: name
17282
+ }));
17283
+ };
17284
+
17285
+ _this.setValue = function (newValue, action, option) {
17286
+ if (action === void 0) {
17287
+ action = 'set-value';
17288
+ }
17289
+
17290
+ var _this$props2 = _this.props,
17291
+ closeMenuOnSelect = _this$props2.closeMenuOnSelect,
17292
+ isMulti = _this$props2.isMulti;
17293
+
17294
+ _this.onInputChange('', {
17295
+ action: 'set-value'
17296
+ });
17297
+
17298
+ if (closeMenuOnSelect) {
17299
+ _this.inputIsHiddenAfterUpdate = !isMulti;
17300
+
17301
+ _this.onMenuClose();
17302
+ } // when the select value should change, we should reset focusedValue
17303
+
17304
+
17305
+ _this.clearFocusValueOnUpdate = true;
17306
+
17307
+ _this.onChange(newValue, {
17308
+ action: action,
17309
+ option: option
17310
+ });
17311
+ };
17312
+
17313
+ _this.selectOption = function (newValue) {
17314
+ var _this$props3 = _this.props,
17315
+ blurInputOnSelect = _this$props3.blurInputOnSelect,
17316
+ isMulti = _this$props3.isMulti;
17317
+ var selectValue = _this.state.selectValue;
17318
+
17319
+ if (isMulti) {
17320
+ if (_this.isOptionSelected(newValue, selectValue)) {
17321
+ var candidate = _this.getOptionValue(newValue);
17322
+
17323
+ _this.setValue(selectValue.filter(function (i) {
17324
+ return _this.getOptionValue(i) !== candidate;
17325
+ }), 'deselect-option', newValue);
17326
+
17327
+ _this.announceAriaLiveSelection({
17328
+ event: 'deselect-option',
17329
+ context: {
17330
+ value: _this.getOptionLabel(newValue)
17331
+ }
17332
+ });
17333
+ } else {
17334
+ if (!_this.isOptionDisabled(newValue, selectValue)) {
17335
+ _this.setValue([].concat(selectValue, [newValue]), 'select-option', newValue);
17336
+
17337
+ _this.announceAriaLiveSelection({
17338
+ event: 'select-option',
17339
+ context: {
17340
+ value: _this.getOptionLabel(newValue)
17341
+ }
17342
+ });
17343
+ } else {
17344
+ // announce that option is disabled
17345
+ _this.announceAriaLiveSelection({
17346
+ event: 'select-option',
17347
+ context: {
17348
+ value: _this.getOptionLabel(newValue),
17349
+ isDisabled: true
17350
+ }
17351
+ });
17352
+ }
17353
+ }
17354
+ } else {
17355
+ if (!_this.isOptionDisabled(newValue, selectValue)) {
17356
+ _this.setValue(newValue, 'select-option');
17357
+
17358
+ _this.announceAriaLiveSelection({
17359
+ event: 'select-option',
17360
+ context: {
17361
+ value: _this.getOptionLabel(newValue)
17362
+ }
17363
+ });
17364
+ } else {
17365
+ // announce that option is disabled
17366
+ _this.announceAriaLiveSelection({
17367
+ event: 'select-option',
17368
+ context: {
17369
+ value: _this.getOptionLabel(newValue),
17370
+ isDisabled: true
17371
+ }
17372
+ });
17373
+ }
17374
+ }
17375
+
17376
+ if (blurInputOnSelect) {
17377
+ _this.blurInput();
17378
+ }
17379
+ };
17380
+
17381
+ _this.removeValue = function (removedValue) {
17382
+ var selectValue = _this.state.selectValue;
17383
+
17384
+ var candidate = _this.getOptionValue(removedValue);
17385
+
17386
+ var newValue = selectValue.filter(function (i) {
17387
+ return _this.getOptionValue(i) !== candidate;
17388
+ });
17389
+
17390
+ _this.onChange(newValue.length ? newValue : null, {
17391
+ action: 'remove-value',
17392
+ removedValue: removedValue
17393
+ });
17394
+
17395
+ _this.announceAriaLiveSelection({
17396
+ event: 'remove-value',
17397
+ context: {
17398
+ value: removedValue ? _this.getOptionLabel(removedValue) : ''
17399
+ }
17400
+ });
17401
+
17402
+ _this.focusInput();
17403
+ };
17404
+
17405
+ _this.clearValue = function () {
17406
+ var isMulti = _this.props.isMulti;
17407
+
17408
+ _this.onChange(isMulti ? [] : null, {
17409
+ action: 'clear'
17410
+ });
17411
+ };
17412
+
17413
+ _this.popValue = function () {
17414
+ var selectValue = _this.state.selectValue;
17415
+ var lastSelectedValue = selectValue[selectValue.length - 1];
17416
+ var newValue = selectValue.slice(0, selectValue.length - 1);
17417
+
17418
+ _this.announceAriaLiveSelection({
17419
+ event: 'pop-value',
17420
+ context: {
17421
+ value: lastSelectedValue ? _this.getOptionLabel(lastSelectedValue) : ''
17422
+ }
17423
+ });
17424
+
17425
+ _this.onChange(newValue.length ? newValue : null, {
17426
+ action: 'pop-value',
17427
+ removedValue: lastSelectedValue
17428
+ });
17429
+ };
17430
+
17431
+ _this.getOptionLabel = function (data) {
17432
+ return _this.props.getOptionLabel(data);
17433
+ };
17434
+
17435
+ _this.getOptionValue = function (data) {
17436
+ return _this.props.getOptionValue(data);
17437
+ };
17438
+
17439
+ _this.getStyles = function (key, props) {
17440
+ var base = defaultStyles[key](props);
17441
+ base.boxSizing = 'border-box';
17442
+ var custom = _this.props.styles[key];
17443
+ return custom ? custom(base, props) : base;
17444
+ };
17445
+
17446
+ _this.getElementId = function (element) {
17447
+ return _this.instancePrefix + "-" + element;
17448
+ };
17449
+
17450
+ _this.getActiveDescendentId = function () {
17451
+ var menuIsOpen = _this.props.menuIsOpen;
17452
+ var _this$state = _this.state,
17453
+ menuOptions = _this$state.menuOptions,
17454
+ focusedOption = _this$state.focusedOption;
17455
+ if (!focusedOption || !menuIsOpen) return undefined;
17456
+ var index = menuOptions.focusable.indexOf(focusedOption);
17457
+ var option = menuOptions.render[index];
17458
+ return option && option.key;
17459
+ };
17460
+
17461
+ _this.announceAriaLiveSelection = function (_ref2) {
17462
+ var event = _ref2.event,
17463
+ context = _ref2.context;
17464
+
17465
+ _this.setState({
17466
+ ariaLiveSelection: valueEventAriaMessage(event, context)
17467
+ });
17468
+ };
17469
+
17470
+ _this.announceAriaLiveContext = function (_ref3) {
17471
+ var event = _ref3.event,
17472
+ context = _ref3.context;
17473
+
17474
+ _this.setState({
17475
+ ariaLiveContext: instructionsAriaMessage(event, _extends$4({}, context, {
17476
+ label: _this.props['aria-label']
17477
+ }))
17478
+ });
17479
+ };
17480
+
17481
+ _this.onMenuMouseDown = function (event) {
17482
+ if (event.button !== 0) {
17483
+ return;
17484
+ }
17485
+
17486
+ event.stopPropagation();
17487
+ event.preventDefault();
17488
+
17489
+ _this.focusInput();
17490
+ };
17491
+
17492
+ _this.onMenuMouseMove = function (event) {
17493
+ _this.blockOptionHover = false;
17494
+ };
17495
+
17496
+ _this.onControlMouseDown = function (event) {
17497
+ var openMenuOnClick = _this.props.openMenuOnClick;
17498
+
17499
+ if (!_this.state.isFocused) {
17500
+ if (openMenuOnClick) {
17501
+ _this.openAfterFocus = true;
17502
+ }
17503
+
17504
+ _this.focusInput();
17505
+ } else if (!_this.props.menuIsOpen) {
17506
+ if (openMenuOnClick) {
17507
+ _this.openMenu('first');
17508
+ }
17509
+ } else {
17510
+ if ( // $FlowFixMe
17511
+ event.target.tagName !== 'INPUT' && event.target.tagName !== 'TEXTAREA') {
17512
+ _this.onMenuClose();
17513
+ }
17514
+ }
17515
+
17516
+ if ( // $FlowFixMe
17517
+ event.target.tagName !== 'INPUT' && event.target.tagName !== 'TEXTAREA') {
17518
+ event.preventDefault();
17519
+ }
17520
+ };
17521
+
17522
+ _this.onDropdownIndicatorMouseDown = function (event) {
17523
+ // ignore mouse events that weren't triggered by the primary button
17524
+ if (event && event.type === 'mousedown' && event.button !== 0) {
17525
+ return;
17526
+ }
17527
+
17528
+ if (_this.props.isDisabled) return;
17529
+ var _this$props4 = _this.props,
17530
+ isMulti = _this$props4.isMulti,
17531
+ menuIsOpen = _this$props4.menuIsOpen;
17532
+
17533
+ _this.focusInput();
17534
+
17535
+ if (menuIsOpen) {
17536
+ _this.inputIsHiddenAfterUpdate = !isMulti;
17537
+
17538
+ _this.onMenuClose();
17539
+ } else {
17540
+ _this.openMenu('first');
17541
+ }
17542
+
17543
+ event.preventDefault();
17544
+ event.stopPropagation();
17545
+ };
17546
+
17547
+ _this.onClearIndicatorMouseDown = function (event) {
17548
+ // ignore mouse events that weren't triggered by the primary button
17549
+ if (event && event.type === 'mousedown' && event.button !== 0) {
17550
+ return;
17551
+ }
17552
+
17553
+ _this.clearValue();
17554
+
17555
+ event.stopPropagation();
17556
+ _this.openAfterFocus = false;
17557
+
17558
+ if (event.type === 'touchend') {
17559
+ _this.focusInput();
17560
+ } else {
17561
+ setTimeout(function () {
17562
+ return _this.focusInput();
17563
+ });
17564
+ }
17565
+ };
17566
+
17567
+ _this.onScroll = function (event) {
17568
+ if (typeof _this.props.closeMenuOnScroll === 'boolean') {
17569
+ if (event.target instanceof HTMLElement && Object(__WEBPACK_IMPORTED_MODULE_4__utils_06b0d5a4_browser_esm_js__["j"])(event.target)) {
17570
+ _this.props.onMenuClose();
17571
+ }
17572
+ } else if (typeof _this.props.closeMenuOnScroll === 'function') {
17573
+ if (_this.props.closeMenuOnScroll(event)) {
17574
+ _this.props.onMenuClose();
17575
+ }
17576
+ }
17577
+ };
17578
+
17579
+ _this.onCompositionStart = function () {
17580
+ _this.isComposing = true;
17581
+ };
17582
+
17583
+ _this.onCompositionEnd = function () {
17584
+ _this.isComposing = false;
17585
+ };
17586
+
17587
+ _this.onTouchStart = function (_ref4) {
17588
+ var touches = _ref4.touches;
17589
+ var touch = touches.item(0);
17590
+
17591
+ if (!touch) {
17592
+ return;
17593
+ }
17594
+
17595
+ _this.initialTouchX = touch.clientX;
17596
+ _this.initialTouchY = touch.clientY;
17597
+ _this.userIsDragging = false;
17598
+ };
17599
+
17600
+ _this.onTouchMove = function (_ref5) {
17601
+ var touches = _ref5.touches;
17602
+ var touch = touches.item(0);
17603
+
17604
+ if (!touch) {
17605
+ return;
17606
+ }
17607
+
17608
+ var deltaX = Math.abs(touch.clientX - _this.initialTouchX);
17609
+ var deltaY = Math.abs(touch.clientY - _this.initialTouchY);
17610
+ var moveThreshold = 5;
17611
+ _this.userIsDragging = deltaX > moveThreshold || deltaY > moveThreshold;
17612
+ };
17613
+
17614
+ _this.onTouchEnd = function (event) {
17615
+ if (_this.userIsDragging) return; // close the menu if the user taps outside
17616
+ // we're checking on event.target here instead of event.currentTarget, because we want to assert information
17617
+ // on events on child elements, not the document (which we've attached this handler to).
17618
+
17619
+ if (_this.controlRef && !_this.controlRef.contains(event.target) && _this.menuListRef && !_this.menuListRef.contains(event.target)) {
17620
+ _this.blurInput();
17621
+ } // reset move vars
17622
+
17623
+
17624
+ _this.initialTouchX = 0;
17625
+ _this.initialTouchY = 0;
17626
+ };
17627
+
17628
+ _this.onControlTouchEnd = function (event) {
17629
+ if (_this.userIsDragging) return;
17630
+
17631
+ _this.onControlMouseDown(event);
17632
+ };
17633
+
17634
+ _this.onClearIndicatorTouchEnd = function (event) {
17635
+ if (_this.userIsDragging) return;
17636
+
17637
+ _this.onClearIndicatorMouseDown(event);
17638
+ };
17639
+
17640
+ _this.onDropdownIndicatorTouchEnd = function (event) {
17641
+ if (_this.userIsDragging) return;
17642
+
17643
+ _this.onDropdownIndicatorMouseDown(event);
17644
+ };
17645
+
17646
+ _this.handleInputChange = function (event) {
17647
+ var inputValue = event.currentTarget.value;
17648
+ _this.inputIsHiddenAfterUpdate = false;
17649
+
17650
+ _this.onInputChange(inputValue, {
17651
+ action: 'input-change'
17652
+ });
17653
+
17654
+ _this.onMenuOpen();
17655
+ };
17656
+
17657
+ _this.onInputFocus = function (event) {
17658
+ var _this$props5 = _this.props,
17659
+ isSearchable = _this$props5.isSearchable,
17660
+ isMulti = _this$props5.isMulti;
17661
+
17662
+ if (_this.props.onFocus) {
17663
+ _this.props.onFocus(event);
17664
+ }
17665
+
17666
+ _this.inputIsHiddenAfterUpdate = false;
17667
+
17668
+ _this.announceAriaLiveContext({
17669
+ event: 'input',
17670
+ context: {
17671
+ isSearchable: isSearchable,
17672
+ isMulti: isMulti
17673
+ }
17674
+ });
17675
+
17676
+ _this.setState({
17677
+ isFocused: true
17678
+ });
17679
+
17680
+ if (_this.openAfterFocus || _this.props.openMenuOnFocus) {
17681
+ _this.openMenu('first');
17682
+ }
17683
+
17684
+ _this.openAfterFocus = false;
17685
+ };
17686
+
17687
+ _this.onInputBlur = function (event) {
17688
+ if (_this.menuListRef && _this.menuListRef.contains(document.activeElement)) {
17689
+ _this.inputRef.focus();
17690
+
17691
+ return;
17692
+ }
17693
+
17694
+ if (_this.props.onBlur) {
17695
+ _this.props.onBlur(event);
17696
+ }
17697
+
17698
+ _this.onInputChange('', {
17699
+ action: 'input-blur'
17700
+ });
17701
+
17702
+ _this.onMenuClose();
17703
+
17704
+ _this.setState({
17705
+ focusedValue: null,
17706
+ isFocused: false
17707
+ });
17708
+ };
17709
+
17710
+ _this.onOptionHover = function (focusedOption) {
17711
+ if (_this.blockOptionHover || _this.state.focusedOption === focusedOption) {
17712
+ return;
17713
+ }
17714
+
17715
+ _this.setState({
17716
+ focusedOption: focusedOption
17717
+ });
17718
+ };
17719
+
17720
+ _this.shouldHideSelectedOptions = function () {
17721
+ var _this$props6 = _this.props,
17722
+ hideSelectedOptions = _this$props6.hideSelectedOptions,
17723
+ isMulti = _this$props6.isMulti;
17724
+ if (hideSelectedOptions === undefined) return isMulti;
17725
+ return hideSelectedOptions;
17726
+ };
17727
+
17728
+ _this.onKeyDown = function (event) {
17729
+ var _this$props7 = _this.props,
17730
+ isMulti = _this$props7.isMulti,
17731
+ backspaceRemovesValue = _this$props7.backspaceRemovesValue,
17732
+ escapeClearsValue = _this$props7.escapeClearsValue,
17733
+ inputValue = _this$props7.inputValue,
17734
+ isClearable = _this$props7.isClearable,
17735
+ isDisabled = _this$props7.isDisabled,
17736
+ menuIsOpen = _this$props7.menuIsOpen,
17737
+ onKeyDown = _this$props7.onKeyDown,
17738
+ tabSelectsValue = _this$props7.tabSelectsValue,
17739
+ openMenuOnFocus = _this$props7.openMenuOnFocus;
17740
+ var _this$state2 = _this.state,
17741
+ focusedOption = _this$state2.focusedOption,
17742
+ focusedValue = _this$state2.focusedValue,
17743
+ selectValue = _this$state2.selectValue;
17744
+ if (isDisabled) return;
17745
+
17746
+ if (typeof onKeyDown === 'function') {
17747
+ onKeyDown(event);
17748
+
17749
+ if (event.defaultPrevented) {
17750
+ return;
17751
+ }
17752
+ } // Block option hover events when the user has just pressed a key
17753
+
17754
+
17755
+ _this.blockOptionHover = true;
17756
+
17757
+ switch (event.key) {
17758
+ case 'ArrowLeft':
17759
+ if (!isMulti || inputValue) return;
17760
+
17761
+ _this.focusValue('previous');
17762
+
17763
+ break;
17764
+
17765
+ case 'ArrowRight':
17766
+ if (!isMulti || inputValue) return;
17767
+
17768
+ _this.focusValue('next');
17769
+
17770
+ break;
17771
+
17772
+ case 'Delete':
17773
+ case 'Backspace':
17774
+ if (inputValue) return;
17775
+
17776
+ if (focusedValue) {
17777
+ _this.removeValue(focusedValue);
17778
+ } else {
17779
+ if (!backspaceRemovesValue) return;
17780
+
17781
+ if (isMulti) {
17782
+ _this.popValue();
17783
+ } else if (isClearable) {
17784
+ _this.clearValue();
17785
+ }
17786
+ }
17787
+
17788
+ break;
17789
+
17790
+ case 'Tab':
17791
+ if (_this.isComposing) return;
17792
+
17793
+ if (event.shiftKey || !menuIsOpen || !tabSelectsValue || !focusedOption || // don't capture the event if the menu opens on focus and the focused
17794
+ // option is already selected; it breaks the flow of navigation
17795
+ openMenuOnFocus && _this.isOptionSelected(focusedOption, selectValue)) {
17796
+ return;
17797
+ }
17798
+
17799
+ _this.selectOption(focusedOption);
17800
+
17801
+ break;
17802
+
17803
+ case 'Enter':
17804
+ if (event.keyCode === 229) {
17805
+ // ignore the keydown event from an Input Method Editor(IME)
17806
+ // ref. https://www.w3.org/TR/uievents/#determine-keydown-keyup-keyCode
17807
+ break;
17808
+ }
17809
+
17810
+ if (menuIsOpen) {
17811
+ if (!focusedOption) return;
17812
+ if (_this.isComposing) return;
17813
+
17814
+ _this.selectOption(focusedOption);
17815
+
17816
+ break;
17817
+ }
17818
+
17819
+ return;
17820
+
17821
+ case 'Escape':
17822
+ if (menuIsOpen) {
17823
+ _this.inputIsHiddenAfterUpdate = false;
17824
+
17825
+ _this.onInputChange('', {
17826
+ action: 'menu-close'
17827
+ });
17828
+
17829
+ _this.onMenuClose();
17830
+ } else if (isClearable && escapeClearsValue) {
17831
+ _this.clearValue();
17832
+ }
17833
+
17834
+ break;
17835
+
17836
+ case ' ':
17837
+ // space
17838
+ if (inputValue) {
17839
+ return;
17840
+ }
17841
+
17842
+ if (!menuIsOpen) {
17843
+ _this.openMenu('first');
17844
+
17845
+ break;
17846
+ }
17847
+
17848
+ if (!focusedOption) return;
17849
+
17850
+ _this.selectOption(focusedOption);
17851
+
17852
+ break;
17853
+
17854
+ case 'ArrowUp':
17855
+ if (menuIsOpen) {
17856
+ _this.focusOption('up');
17857
+ } else {
17858
+ _this.openMenu('last');
17859
+ }
17860
+
17861
+ break;
17862
+
17863
+ case 'ArrowDown':
17864
+ if (menuIsOpen) {
17865
+ _this.focusOption('down');
17866
+ } else {
17867
+ _this.openMenu('first');
17868
+ }
17869
+
17870
+ break;
17871
+
17872
+ case 'PageUp':
17873
+ if (!menuIsOpen) return;
17874
+
17875
+ _this.focusOption('pageup');
17876
+
17877
+ break;
17878
+
17879
+ case 'PageDown':
17880
+ if (!menuIsOpen) return;
17881
+
17882
+ _this.focusOption('pagedown');
17883
+
17884
+ break;
17885
+
17886
+ case 'Home':
17887
+ if (!menuIsOpen) return;
17888
+
17889
+ _this.focusOption('first');
17890
+
17891
+ break;
17892
+
17893
+ case 'End':
17894
+ if (!menuIsOpen) return;
17895
+
17896
+ _this.focusOption('last');
17897
+
17898
+ break;
17899
+
17900
+ default:
17901
+ return;
17902
+ }
17903
+
17904
+ event.preventDefault();
17905
+ };
17906
+
17907
+ _this.buildMenuOptions = function (props, selectValue) {
17908
+ var _props$inputValue = props.inputValue,
17909
+ inputValue = _props$inputValue === void 0 ? '' : _props$inputValue,
17910
+ options = props.options;
17911
+
17912
+ var toOption = function toOption(option, id) {
17913
+ var isDisabled = _this.isOptionDisabled(option, selectValue);
17914
+
17915
+ var isSelected = _this.isOptionSelected(option, selectValue);
17916
+
17917
+ var label = _this.getOptionLabel(option);
17918
+
17919
+ var value = _this.getOptionValue(option);
17920
+
17921
+ if (_this.shouldHideSelectedOptions() && isSelected || !_this.filterOption({
17922
+ label: label,
17923
+ value: value,
17924
+ data: option
17925
+ }, inputValue)) {
17926
+ return;
17927
+ }
17928
+
17929
+ var onHover = isDisabled ? undefined : function () {
17930
+ return _this.onOptionHover(option);
17931
+ };
17932
+ var onSelect = isDisabled ? undefined : function () {
17933
+ return _this.selectOption(option);
17934
+ };
17935
+ var optionId = _this.getElementId('option') + "-" + id;
17936
+ return {
17937
+ innerProps: {
17938
+ id: optionId,
17939
+ onClick: onSelect,
17940
+ onMouseMove: onHover,
17941
+ onMouseOver: onHover,
17942
+ tabIndex: -1
17943
+ },
17944
+ data: option,
17945
+ isDisabled: isDisabled,
17946
+ isSelected: isSelected,
17947
+ key: optionId,
17948
+ label: label,
17949
+ type: 'option',
17950
+ value: value
17951
+ };
17952
+ };
17953
+
17954
+ return options.reduce(function (acc, item, itemIndex) {
17955
+ if (item.options) {
17956
+ // TODO needs a tidier implementation
17957
+ if (!_this.hasGroups) _this.hasGroups = true;
17958
+ var items = item.options;
17959
+ var children = items.map(function (child, i) {
17960
+ var option = toOption(child, itemIndex + "-" + i);
17961
+ if (option) acc.focusable.push(child);
17962
+ return option;
17963
+ }).filter(Boolean);
17964
+
17965
+ if (children.length) {
17966
+ var groupId = _this.getElementId('group') + "-" + itemIndex;
17967
+ acc.render.push({
17968
+ type: 'group',
17969
+ key: groupId,
17970
+ data: item,
17971
+ options: children
17972
+ });
17973
+ }
17974
+ } else {
17975
+ var option = toOption(item, "" + itemIndex);
17976
+
17977
+ if (option) {
17978
+ acc.render.push(option);
17979
+ acc.focusable.push(item);
17980
+ }
17981
+ }
17982
+
17983
+ return acc;
17984
+ }, {
17985
+ render: [],
17986
+ focusable: []
17987
+ });
17988
+ };
17989
+
17990
+ var _value = _props.value;
17991
+ _this.cacheComponents = Object(__WEBPACK_IMPORTED_MODULE_1_memoize_one__["a" /* default */])(_this.cacheComponents, __WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["y" /* x */]).bind(_assertThisInitialized(_assertThisInitialized(_this)));
17992
+
17993
+ _this.cacheComponents(_props.components);
17994
+
17995
+ _this.instancePrefix = 'react-select-' + (_this.props.instanceId || ++instanceId);
17996
+
17997
+ var _selectValue = Object(__WEBPACK_IMPORTED_MODULE_4__utils_06b0d5a4_browser_esm_js__["e"])(_value);
17998
+
17999
+ _this.buildMenuOptions = Object(__WEBPACK_IMPORTED_MODULE_1_memoize_one__["a" /* default */])(_this.buildMenuOptions, function (newArgs, lastArgs) {
18000
+ var _ref6 = newArgs,
18001
+ newProps = _ref6[0],
18002
+ newSelectValue = _ref6[1];
18003
+ var _ref7 = lastArgs,
18004
+ lastProps = _ref7[0],
18005
+ lastSelectValue = _ref7[1];
18006
+ return Object(__WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["y" /* x */])(newSelectValue, lastSelectValue) && Object(__WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["y" /* x */])(newProps.inputValue, lastProps.inputValue) && Object(__WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["y" /* x */])(newProps.options, lastProps.options);
18007
+ }).bind(_assertThisInitialized(_assertThisInitialized(_this)));
18008
+
18009
+ var _menuOptions = _props.menuIsOpen ? _this.buildMenuOptions(_props, _selectValue) : {
18010
+ render: [],
18011
+ focusable: []
18012
+ };
18013
+
18014
+ _this.state.menuOptions = _menuOptions;
18015
+ _this.state.selectValue = _selectValue;
18016
+ return _this;
18017
+ }
18018
+
18019
+ var _proto = Select.prototype;
18020
+
18021
+ _proto.componentDidMount = function componentDidMount() {
18022
+ this.startListeningComposition();
18023
+ this.startListeningToTouch();
18024
+
18025
+ if (this.props.closeMenuOnScroll && document && document.addEventListener) {
18026
+ // Listen to all scroll events, and filter them out inside of 'onScroll'
18027
+ document.addEventListener('scroll', this.onScroll, true);
18028
+ }
18029
+
18030
+ if (this.props.autoFocus) {
18031
+ this.focusInput();
18032
+ }
18033
+ };
18034
+
18035
+ _proto.UNSAFE_componentWillReceiveProps = function UNSAFE_componentWillReceiveProps(nextProps) {
18036
+ var _this$props8 = this.props,
18037
+ options = _this$props8.options,
18038
+ value = _this$props8.value,
18039
+ menuIsOpen = _this$props8.menuIsOpen,
18040
+ inputValue = _this$props8.inputValue; // re-cache custom components
18041
+
18042
+ this.cacheComponents(nextProps.components); // rebuild the menu options
18043
+
18044
+ if (nextProps.value !== value || nextProps.options !== options || nextProps.menuIsOpen !== menuIsOpen || nextProps.inputValue !== inputValue) {
18045
+ var selectValue = Object(__WEBPACK_IMPORTED_MODULE_4__utils_06b0d5a4_browser_esm_js__["e"])(nextProps.value);
18046
+ var menuOptions = nextProps.menuIsOpen ? this.buildMenuOptions(nextProps, selectValue) : {
18047
+ render: [],
18048
+ focusable: []
18049
+ };
18050
+ var focusedValue = this.getNextFocusedValue(selectValue);
18051
+ var focusedOption = this.getNextFocusedOption(menuOptions.focusable);
18052
+ this.setState({
18053
+ menuOptions: menuOptions,
18054
+ selectValue: selectValue,
18055
+ focusedOption: focusedOption,
18056
+ focusedValue: focusedValue
18057
+ });
18058
+ } // some updates should toggle the state of the input visibility
18059
+
18060
+
18061
+ if (this.inputIsHiddenAfterUpdate != null) {
18062
+ this.setState({
18063
+ inputIsHidden: this.inputIsHiddenAfterUpdate
18064
+ });
18065
+ delete this.inputIsHiddenAfterUpdate;
18066
+ }
18067
+ };
18068
+
18069
+ _proto.componentDidUpdate = function componentDidUpdate(prevProps) {
18070
+ var _this$props9 = this.props,
18071
+ isDisabled = _this$props9.isDisabled,
18072
+ menuIsOpen = _this$props9.menuIsOpen;
18073
+ var isFocused = this.state.isFocused;
18074
+
18075
+ if ( // ensure focus is restored correctly when the control becomes enabled
18076
+ isFocused && !isDisabled && prevProps.isDisabled || // ensure focus is on the Input when the menu opens
18077
+ isFocused && menuIsOpen && !prevProps.menuIsOpen) {
18078
+ this.focusInput();
18079
+ } // scroll the focused option into view if necessary
18080
+
18081
+
18082
+ if (this.menuListRef && this.focusedOptionRef && this.scrollToFocusedOptionOnUpdate) {
18083
+ Object(__WEBPACK_IMPORTED_MODULE_4__utils_06b0d5a4_browser_esm_js__["f"])(this.menuListRef, this.focusedOptionRef);
18084
+ this.scrollToFocusedOptionOnUpdate = false;
18085
+ }
18086
+ };
18087
+
18088
+ _proto.componentWillUnmount = function componentWillUnmount() {
18089
+ this.stopListeningComposition();
18090
+ this.stopListeningToTouch();
18091
+ document.removeEventListener('scroll', this.onScroll, true);
18092
+ };
18093
+
18094
+ // ==============================
18095
+ // Consumer Handlers
18096
+ // ==============================
18097
+ _proto.onMenuOpen = function onMenuOpen() {
18098
+ this.props.onMenuOpen();
18099
+ };
18100
+
18101
+ _proto.onMenuClose = function onMenuClose() {
18102
+ var _this$props10 = this.props,
18103
+ isSearchable = _this$props10.isSearchable,
18104
+ isMulti = _this$props10.isMulti;
18105
+ this.announceAriaLiveContext({
18106
+ event: 'input',
18107
+ context: {
18108
+ isSearchable: isSearchable,
18109
+ isMulti: isMulti
18110
+ }
18111
+ });
18112
+ this.onInputChange('', {
18113
+ action: 'menu-close'
18114
+ });
18115
+ this.props.onMenuClose();
18116
+ };
18117
+
18118
+ _proto.onInputChange = function onInputChange(newValue, actionMeta) {
18119
+ this.props.onInputChange(newValue, actionMeta);
18120
+ } // ==============================
18121
+ // Methods
18122
+ // ==============================
18123
+ ;
18124
+
18125
+ _proto.focusInput = function focusInput() {
18126
+ if (!this.inputRef) return;
18127
+ this.inputRef.focus();
18128
+ };
18129
+
18130
+ _proto.blurInput = function blurInput() {
18131
+ if (!this.inputRef) return;
18132
+ this.inputRef.blur();
18133
+ } // aliased for consumers
18134
+ ;
18135
+
18136
+ _proto.openMenu = function openMenu(focusOption) {
18137
+ var _this2 = this;
18138
+
18139
+ var _this$state3 = this.state,
18140
+ selectValue = _this$state3.selectValue,
18141
+ isFocused = _this$state3.isFocused;
18142
+ var menuOptions = this.buildMenuOptions(this.props, selectValue);
18143
+ var isMulti = this.props.isMulti;
18144
+ var openAtIndex = focusOption === 'first' ? 0 : menuOptions.focusable.length - 1;
18145
+
18146
+ if (!isMulti) {
18147
+ var selectedIndex = menuOptions.focusable.indexOf(selectValue[0]);
18148
+
18149
+ if (selectedIndex > -1) {
18150
+ openAtIndex = selectedIndex;
18151
+ }
18152
+ } // only scroll if the menu isn't already open
18153
+
18154
+
18155
+ this.scrollToFocusedOptionOnUpdate = !(isFocused && this.menuListRef);
18156
+ this.inputIsHiddenAfterUpdate = false;
18157
+ this.setState({
18158
+ menuOptions: menuOptions,
18159
+ focusedValue: null,
18160
+ focusedOption: menuOptions.focusable[openAtIndex]
18161
+ }, function () {
18162
+ _this2.onMenuOpen();
18163
+
18164
+ _this2.announceAriaLiveContext({
18165
+ event: 'menu'
18166
+ });
18167
+ });
18168
+ };
18169
+
18170
+ _proto.focusValue = function focusValue(direction) {
18171
+ var _this$props11 = this.props,
18172
+ isMulti = _this$props11.isMulti,
18173
+ isSearchable = _this$props11.isSearchable;
18174
+ var _this$state4 = this.state,
18175
+ selectValue = _this$state4.selectValue,
18176
+ focusedValue = _this$state4.focusedValue; // Only multiselects support value focusing
18177
+
18178
+ if (!isMulti) return;
18179
+ this.setState({
18180
+ focusedOption: null
18181
+ });
18182
+ var focusedIndex = selectValue.indexOf(focusedValue);
18183
+
18184
+ if (!focusedValue) {
18185
+ focusedIndex = -1;
18186
+ this.announceAriaLiveContext({
18187
+ event: 'value'
18188
+ });
18189
+ }
18190
+
18191
+ var lastIndex = selectValue.length - 1;
18192
+ var nextFocus = -1;
18193
+ if (!selectValue.length) return;
18194
+
18195
+ switch (direction) {
18196
+ case 'previous':
18197
+ if (focusedIndex === 0) {
18198
+ // don't cycle from the start to the end
18199
+ nextFocus = 0;
18200
+ } else if (focusedIndex === -1) {
18201
+ // if nothing is focused, focus the last value first
18202
+ nextFocus = lastIndex;
18203
+ } else {
18204
+ nextFocus = focusedIndex - 1;
18205
+ }
18206
+
18207
+ break;
18208
+
18209
+ case 'next':
18210
+ if (focusedIndex > -1 && focusedIndex < lastIndex) {
18211
+ nextFocus = focusedIndex + 1;
18212
+ }
18213
+
18214
+ break;
18215
+ }
18216
+
18217
+ if (nextFocus === -1) {
18218
+ this.announceAriaLiveContext({
18219
+ event: 'input',
18220
+ context: {
18221
+ isSearchable: isSearchable,
18222
+ isMulti: isMulti
18223
+ }
18224
+ });
18225
+ }
18226
+
18227
+ this.setState({
18228
+ inputIsHidden: nextFocus !== -1,
18229
+ focusedValue: selectValue[nextFocus]
18230
+ });
18231
+ };
18232
+
18233
+ _proto.focusOption = function focusOption(direction) {
18234
+ if (direction === void 0) {
18235
+ direction = 'first';
18236
+ }
18237
+
18238
+ var pageSize = this.props.pageSize;
18239
+ var _this$state5 = this.state,
18240
+ focusedOption = _this$state5.focusedOption,
18241
+ menuOptions = _this$state5.menuOptions;
18242
+ var options = menuOptions.focusable;
18243
+ if (!options.length) return;
18244
+ var nextFocus = 0; // handles 'first'
18245
+
18246
+ var focusedIndex = options.indexOf(focusedOption);
18247
+
18248
+ if (!focusedOption) {
18249
+ focusedIndex = -1;
18250
+ this.announceAriaLiveContext({
18251
+ event: 'menu'
18252
+ });
18253
+ }
18254
+
18255
+ if (direction === 'up') {
18256
+ nextFocus = focusedIndex > 0 ? focusedIndex - 1 : options.length - 1;
18257
+ } else if (direction === 'down') {
18258
+ nextFocus = (focusedIndex + 1) % options.length;
18259
+ } else if (direction === 'pageup') {
18260
+ nextFocus = focusedIndex - pageSize;
18261
+ if (nextFocus < 0) nextFocus = 0;
18262
+ } else if (direction === 'pagedown') {
18263
+ nextFocus = focusedIndex + pageSize;
18264
+ if (nextFocus > options.length - 1) nextFocus = options.length - 1;
18265
+ } else if (direction === 'last') {
18266
+ nextFocus = options.length - 1;
18267
+ }
18268
+
18269
+ this.scrollToFocusedOptionOnUpdate = true;
18270
+ this.setState({
18271
+ focusedOption: options[nextFocus],
18272
+ focusedValue: null
18273
+ });
18274
+ this.announceAriaLiveContext({
18275
+ event: 'menu',
18276
+ context: {
18277
+ isDisabled: isOptionDisabled(options[nextFocus])
18278
+ }
18279
+ });
18280
+ };
18281
+
18282
+ // ==============================
18283
+ // Getters
18284
+ // ==============================
18285
+ _proto.getTheme = function getTheme() {
18286
+ // Use the default theme if there are no customizations.
18287
+ if (!this.props.theme) {
18288
+ return defaultTheme;
18289
+ } // If the theme prop is a function, assume the function
18290
+ // knows how to merge the passed-in default theme with
18291
+ // its own modifications.
18292
+
18293
+
18294
+ if (typeof this.props.theme === 'function') {
18295
+ return this.props.theme(defaultTheme);
18296
+ } // Otherwise, if a plain theme object was passed in,
18297
+ // overlay it with the default theme.
18298
+
18299
+
18300
+ return _extends$4({}, defaultTheme, this.props.theme);
18301
+ };
18302
+
18303
+ _proto.getCommonProps = function getCommonProps() {
18304
+ var clearValue = this.clearValue,
18305
+ getStyles = this.getStyles,
18306
+ setValue = this.setValue,
18307
+ selectOption = this.selectOption,
18308
+ props = this.props;
18309
+ var classNamePrefix = props.classNamePrefix,
18310
+ isMulti = props.isMulti,
18311
+ isRtl = props.isRtl,
18312
+ options = props.options;
18313
+ var selectValue = this.state.selectValue;
18314
+ var hasValue = this.hasValue();
18315
+
18316
+ var getValue = function getValue() {
18317
+ return selectValue;
18318
+ };
18319
+
18320
+ var cx = __WEBPACK_IMPORTED_MODULE_4__utils_06b0d5a4_browser_esm_js__["h"].bind(null, classNamePrefix);
18321
+ return {
18322
+ cx: cx,
18323
+ clearValue: clearValue,
18324
+ getStyles: getStyles,
18325
+ getValue: getValue,
18326
+ hasValue: hasValue,
18327
+ isMulti: isMulti,
18328
+ isRtl: isRtl,
18329
+ options: options,
18330
+ selectOption: selectOption,
18331
+ setValue: setValue,
18332
+ selectProps: props,
18333
+ theme: this.getTheme()
18334
+ };
18335
+ };
18336
+
18337
+ _proto.getNextFocusedValue = function getNextFocusedValue(nextSelectValue) {
18338
+ if (this.clearFocusValueOnUpdate) {
18339
+ this.clearFocusValueOnUpdate = false;
18340
+ return null;
18341
+ }
18342
+
18343
+ var _this$state6 = this.state,
18344
+ focusedValue = _this$state6.focusedValue,
18345
+ lastSelectValue = _this$state6.selectValue;
18346
+ var lastFocusedIndex = lastSelectValue.indexOf(focusedValue);
18347
+
18348
+ if (lastFocusedIndex > -1) {
18349
+ var nextFocusedIndex = nextSelectValue.indexOf(focusedValue);
18350
+
18351
+ if (nextFocusedIndex > -1) {
18352
+ // the focused value is still in the selectValue, return it
18353
+ return focusedValue;
18354
+ } else if (lastFocusedIndex < nextSelectValue.length) {
18355
+ // the focusedValue is not present in the next selectValue array by
18356
+ // reference, so return the new value at the same index
18357
+ return nextSelectValue[lastFocusedIndex];
18358
+ }
18359
+ }
18360
+
18361
+ return null;
18362
+ };
18363
+
18364
+ _proto.getNextFocusedOption = function getNextFocusedOption(options) {
18365
+ var lastFocusedOption = this.state.focusedOption;
18366
+ return lastFocusedOption && options.indexOf(lastFocusedOption) > -1 ? lastFocusedOption : options[0];
18367
+ };
18368
+
18369
+ _proto.hasValue = function hasValue() {
18370
+ var selectValue = this.state.selectValue;
18371
+ return selectValue.length > 0;
18372
+ };
18373
+
18374
+ _proto.hasOptions = function hasOptions() {
18375
+ return !!this.state.menuOptions.render.length;
18376
+ };
18377
+
18378
+ _proto.countOptions = function countOptions() {
18379
+ return this.state.menuOptions.focusable.length;
18380
+ };
18381
+
18382
+ _proto.isClearable = function isClearable() {
18383
+ var _this$props12 = this.props,
18384
+ isClearable = _this$props12.isClearable,
18385
+ isMulti = _this$props12.isMulti; // single select, by default, IS NOT clearable
18386
+ // multi select, by default, IS clearable
18387
+
18388
+ if (isClearable === undefined) return isMulti;
18389
+ return isClearable;
18390
+ };
18391
+
18392
+ _proto.isOptionDisabled = function isOptionDisabled(option, selectValue) {
18393
+ return typeof this.props.isOptionDisabled === 'function' ? this.props.isOptionDisabled(option, selectValue) : false;
18394
+ };
18395
+
18396
+ _proto.isOptionSelected = function isOptionSelected(option, selectValue) {
18397
+ var _this3 = this;
18398
+
18399
+ if (selectValue.indexOf(option) > -1) return true;
18400
+
18401
+ if (typeof this.props.isOptionSelected === 'function') {
18402
+ return this.props.isOptionSelected(option, selectValue);
18403
+ }
18404
+
18405
+ var candidate = this.getOptionValue(option);
18406
+ return selectValue.some(function (i) {
18407
+ return _this3.getOptionValue(i) === candidate;
18408
+ });
18409
+ };
18410
+
18411
+ _proto.filterOption = function filterOption(option, inputValue) {
18412
+ return this.props.filterOption ? this.props.filterOption(option, inputValue) : true;
18413
+ };
18414
+
18415
+ _proto.formatOptionLabel = function formatOptionLabel(data, context) {
18416
+ if (typeof this.props.formatOptionLabel === 'function') {
18417
+ var inputValue = this.props.inputValue;
18418
+ var selectValue = this.state.selectValue;
18419
+ return this.props.formatOptionLabel(data, {
18420
+ context: context,
18421
+ inputValue: inputValue,
18422
+ selectValue: selectValue
18423
+ });
18424
+ } else {
18425
+ return this.getOptionLabel(data);
18426
+ }
18427
+ };
18428
+
18429
+ _proto.formatGroupLabel = function formatGroupLabel(data) {
18430
+ return this.props.formatGroupLabel(data);
18431
+ } // ==============================
18432
+ // Mouse Handlers
18433
+ // ==============================
18434
+ ;
18435
+
18436
+ // ==============================
18437
+ // Composition Handlers
18438
+ // ==============================
18439
+ _proto.startListeningComposition = function startListeningComposition() {
18440
+ if (document && document.addEventListener) {
18441
+ document.addEventListener('compositionstart', this.onCompositionStart, false);
18442
+ document.addEventListener('compositionend', this.onCompositionEnd, false);
18443
+ }
18444
+ };
18445
+
18446
+ _proto.stopListeningComposition = function stopListeningComposition() {
18447
+ if (document && document.removeEventListener) {
18448
+ document.removeEventListener('compositionstart', this.onCompositionStart);
18449
+ document.removeEventListener('compositionend', this.onCompositionEnd);
18450
+ }
18451
+ };
18452
+
18453
+ // ==============================
18454
+ // Touch Handlers
18455
+ // ==============================
18456
+ _proto.startListeningToTouch = function startListeningToTouch() {
18457
+ if (document && document.addEventListener) {
18458
+ document.addEventListener('touchstart', this.onTouchStart, false);
18459
+ document.addEventListener('touchmove', this.onTouchMove, false);
18460
+ document.addEventListener('touchend', this.onTouchEnd, false);
18461
+ }
18462
+ };
18463
+
18464
+ _proto.stopListeningToTouch = function stopListeningToTouch() {
18465
+ if (document && document.removeEventListener) {
18466
+ document.removeEventListener('touchstart', this.onTouchStart);
18467
+ document.removeEventListener('touchmove', this.onTouchMove);
18468
+ document.removeEventListener('touchend', this.onTouchEnd);
18469
+ }
18470
+ };
18471
+
18472
+ // ==============================
18473
+ // Renderers
18474
+ // ==============================
18475
+ _proto.constructAriaLiveMessage = function constructAriaLiveMessage() {
18476
+ var _this$state7 = this.state,
18477
+ ariaLiveContext = _this$state7.ariaLiveContext,
18478
+ selectValue = _this$state7.selectValue,
18479
+ focusedValue = _this$state7.focusedValue,
18480
+ focusedOption = _this$state7.focusedOption;
18481
+ var _this$props13 = this.props,
18482
+ options = _this$props13.options,
18483
+ menuIsOpen = _this$props13.menuIsOpen,
18484
+ inputValue = _this$props13.inputValue,
18485
+ screenReaderStatus = _this$props13.screenReaderStatus; // An aria live message representing the currently focused value in the select.
18486
+
18487
+ var focusedValueMsg = focusedValue ? valueFocusAriaMessage({
18488
+ focusedValue: focusedValue,
18489
+ getOptionLabel: this.getOptionLabel,
18490
+ selectValue: selectValue
18491
+ }) : ''; // An aria live message representing the currently focused option in the select.
18492
+
18493
+ var focusedOptionMsg = focusedOption && menuIsOpen ? optionFocusAriaMessage({
18494
+ focusedOption: focusedOption,
18495
+ getOptionLabel: this.getOptionLabel,
18496
+ options: options
18497
+ }) : ''; // An aria live message representing the set of focusable results and current searchterm/inputvalue.
18498
+
18499
+ var resultsMsg = resultsAriaMessage({
18500
+ inputValue: inputValue,
18501
+ screenReaderMessage: screenReaderStatus({
18502
+ count: this.countOptions()
18503
+ })
18504
+ });
18505
+ return focusedValueMsg + " " + focusedOptionMsg + " " + resultsMsg + " " + ariaLiveContext;
18506
+ };
18507
+
18508
+ _proto.renderInput = function renderInput() {
18509
+ var _this$props14 = this.props,
18510
+ isDisabled = _this$props14.isDisabled,
18511
+ isSearchable = _this$props14.isSearchable,
18512
+ inputId = _this$props14.inputId,
18513
+ inputValue = _this$props14.inputValue,
18514
+ tabIndex = _this$props14.tabIndex;
18515
+ var Input = this.components.Input;
18516
+ var inputIsHidden = this.state.inputIsHidden;
18517
+ var id = inputId || this.getElementId('input'); // aria attributes makes the JSX "noisy", separated for clarity
18518
+
18519
+ var ariaAttributes = {
18520
+ 'aria-autocomplete': 'list',
18521
+ 'aria-label': this.props['aria-label'],
18522
+ 'aria-labelledby': this.props['aria-labelledby']
18523
+ };
18524
+
18525
+ if (!isSearchable) {
18526
+ // use a dummy input to maintain focus/blur functionality
18527
+ return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(DummyInput, _extends$4({
18528
+ id: id,
18529
+ innerRef: this.getInputRef,
18530
+ onBlur: this.onInputBlur,
18531
+ onChange: __WEBPACK_IMPORTED_MODULE_4__utils_06b0d5a4_browser_esm_js__["k" /* n */],
18532
+ onFocus: this.onInputFocus,
18533
+ readOnly: true,
18534
+ disabled: isDisabled,
18535
+ tabIndex: tabIndex,
18536
+ value: ""
18537
+ }, ariaAttributes));
18538
+ }
18539
+
18540
+ var _this$commonProps = this.commonProps,
18541
+ cx = _this$commonProps.cx,
18542
+ theme = _this$commonProps.theme,
18543
+ selectProps = _this$commonProps.selectProps;
18544
+ return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(Input, _extends$4({
18545
+ autoCapitalize: "none",
18546
+ autoComplete: "off",
18547
+ autoCorrect: "off",
18548
+ cx: cx,
18549
+ getStyles: this.getStyles,
18550
+ id: id,
18551
+ innerRef: this.getInputRef,
18552
+ isDisabled: isDisabled,
18553
+ isHidden: inputIsHidden,
18554
+ onBlur: this.onInputBlur,
18555
+ onChange: this.handleInputChange,
18556
+ onFocus: this.onInputFocus,
18557
+ selectProps: selectProps,
18558
+ spellCheck: "false",
18559
+ tabIndex: tabIndex,
18560
+ theme: theme,
18561
+ type: "text",
18562
+ value: inputValue
18563
+ }, ariaAttributes));
18564
+ };
18565
+
18566
+ _proto.renderPlaceholderOrValue = function renderPlaceholderOrValue() {
18567
+ var _this4 = this;
18568
+
18569
+ var _this$components = this.components,
18570
+ MultiValue = _this$components.MultiValue,
18571
+ MultiValueContainer = _this$components.MultiValueContainer,
18572
+ MultiValueLabel = _this$components.MultiValueLabel,
18573
+ MultiValueRemove = _this$components.MultiValueRemove,
18574
+ SingleValue = _this$components.SingleValue,
18575
+ Placeholder = _this$components.Placeholder;
18576
+ var commonProps = this.commonProps;
18577
+ var _this$props15 = this.props,
18578
+ controlShouldRenderValue = _this$props15.controlShouldRenderValue,
18579
+ isDisabled = _this$props15.isDisabled,
18580
+ isMulti = _this$props15.isMulti,
18581
+ inputValue = _this$props15.inputValue,
18582
+ placeholder = _this$props15.placeholder;
18583
+ var _this$state8 = this.state,
18584
+ selectValue = _this$state8.selectValue,
18585
+ focusedValue = _this$state8.focusedValue,
18586
+ isFocused = _this$state8.isFocused;
18587
+
18588
+ if (!this.hasValue() || !controlShouldRenderValue) {
18589
+ return inputValue ? null : __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(Placeholder, _extends$4({}, commonProps, {
18590
+ key: "placeholder",
18591
+ isDisabled: isDisabled,
18592
+ isFocused: isFocused
18593
+ }), placeholder);
18594
+ }
18595
+
18596
+ if (isMulti) {
18597
+ var selectValues = selectValue.map(function (opt, index) {
18598
+ var isOptionFocused = opt === focusedValue;
18599
+ return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(MultiValue, _extends$4({}, commonProps, {
18600
+ components: {
18601
+ Container: MultiValueContainer,
18602
+ Label: MultiValueLabel,
18603
+ Remove: MultiValueRemove
18604
+ },
18605
+ isFocused: isOptionFocused,
18606
+ isDisabled: isDisabled,
18607
+ key: _this4.getOptionValue(opt),
18608
+ index: index,
18609
+ removeProps: {
18610
+ onClick: function onClick() {
18611
+ return _this4.removeValue(opt);
18612
+ },
18613
+ onTouchEnd: function onTouchEnd() {
18614
+ return _this4.removeValue(opt);
18615
+ },
18616
+ onMouseDown: function onMouseDown(e) {
18617
+ e.preventDefault();
18618
+ e.stopPropagation();
18619
+ }
18620
+ },
18621
+ data: opt
18622
+ }), _this4.formatOptionLabel(opt, 'value'));
18623
+ });
18624
+ return selectValues;
18625
+ }
18626
+
18627
+ if (inputValue) {
18628
+ return null;
18629
+ }
18630
+
18631
+ var singleValue = selectValue[0];
18632
+ return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(SingleValue, _extends$4({}, commonProps, {
18633
+ data: singleValue,
18634
+ isDisabled: isDisabled
18635
+ }), this.formatOptionLabel(singleValue, 'value'));
18636
+ };
18637
+
18638
+ _proto.renderClearIndicator = function renderClearIndicator() {
18639
+ var ClearIndicator = this.components.ClearIndicator;
18640
+ var commonProps = this.commonProps;
18641
+ var _this$props16 = this.props,
18642
+ isDisabled = _this$props16.isDisabled,
18643
+ isLoading = _this$props16.isLoading;
18644
+ var isFocused = this.state.isFocused;
18645
+
18646
+ if (!this.isClearable() || !ClearIndicator || isDisabled || !this.hasValue() || isLoading) {
18647
+ return null;
18648
+ }
18649
+
18650
+ var innerProps = {
18651
+ onMouseDown: this.onClearIndicatorMouseDown,
18652
+ onTouchEnd: this.onClearIndicatorTouchEnd,
18653
+ 'aria-hidden': 'true'
18654
+ };
18655
+ return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ClearIndicator, _extends$4({}, commonProps, {
18656
+ innerProps: innerProps,
18657
+ isFocused: isFocused
18658
+ }));
18659
+ };
18660
+
18661
+ _proto.renderLoadingIndicator = function renderLoadingIndicator() {
18662
+ var LoadingIndicator = this.components.LoadingIndicator;
18663
+ var commonProps = this.commonProps;
18664
+ var _this$props17 = this.props,
18665
+ isDisabled = _this$props17.isDisabled,
18666
+ isLoading = _this$props17.isLoading;
18667
+ var isFocused = this.state.isFocused;
18668
+ if (!LoadingIndicator || !isLoading) return null;
18669
+ var innerProps = {
18670
+ 'aria-hidden': 'true'
18671
+ };
18672
+ return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(LoadingIndicator, _extends$4({}, commonProps, {
18673
+ innerProps: innerProps,
18674
+ isDisabled: isDisabled,
18675
+ isFocused: isFocused
18676
+ }));
18677
+ };
18678
+
18679
+ _proto.renderIndicatorSeparator = function renderIndicatorSeparator() {
18680
+ var _this$components2 = this.components,
18681
+ DropdownIndicator = _this$components2.DropdownIndicator,
18682
+ IndicatorSeparator = _this$components2.IndicatorSeparator; // separator doesn't make sense without the dropdown indicator
18683
+
18684
+ if (!DropdownIndicator || !IndicatorSeparator) return null;
18685
+ var commonProps = this.commonProps;
18686
+ var isDisabled = this.props.isDisabled;
18687
+ var isFocused = this.state.isFocused;
18688
+ return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(IndicatorSeparator, _extends$4({}, commonProps, {
18689
+ isDisabled: isDisabled,
18690
+ isFocused: isFocused
18691
+ }));
18692
+ };
18693
+
18694
+ _proto.renderDropdownIndicator = function renderDropdownIndicator() {
18695
+ var DropdownIndicator = this.components.DropdownIndicator;
18696
+ if (!DropdownIndicator) return null;
18697
+ var commonProps = this.commonProps;
18698
+ var isDisabled = this.props.isDisabled;
18699
+ var isFocused = this.state.isFocused;
18700
+ var innerProps = {
18701
+ onMouseDown: this.onDropdownIndicatorMouseDown,
18702
+ onTouchEnd: this.onDropdownIndicatorTouchEnd,
18703
+ 'aria-hidden': 'true'
18704
+ };
18705
+ return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(DropdownIndicator, _extends$4({}, commonProps, {
18706
+ innerProps: innerProps,
18707
+ isDisabled: isDisabled,
18708
+ isFocused: isFocused
18709
+ }));
18710
+ };
18711
+
18712
+ _proto.renderMenu = function renderMenu() {
18713
+ var _this5 = this;
18714
+
18715
+ var _this$components3 = this.components,
18716
+ Group = _this$components3.Group,
18717
+ GroupHeading = _this$components3.GroupHeading,
18718
+ Menu = _this$components3.Menu,
18719
+ MenuList = _this$components3.MenuList,
18720
+ MenuPortal = _this$components3.MenuPortal,
18721
+ LoadingMessage = _this$components3.LoadingMessage,
18722
+ NoOptionsMessage = _this$components3.NoOptionsMessage,
18723
+ Option = _this$components3.Option;
18724
+ var commonProps = this.commonProps;
18725
+ var _this$state9 = this.state,
18726
+ focusedOption = _this$state9.focusedOption,
18727
+ menuOptions = _this$state9.menuOptions;
18728
+ var _this$props18 = this.props,
18729
+ captureMenuScroll = _this$props18.captureMenuScroll,
18730
+ inputValue = _this$props18.inputValue,
18731
+ isLoading = _this$props18.isLoading,
18732
+ loadingMessage = _this$props18.loadingMessage,
18733
+ minMenuHeight = _this$props18.minMenuHeight,
18734
+ maxMenuHeight = _this$props18.maxMenuHeight,
18735
+ menuIsOpen = _this$props18.menuIsOpen,
18736
+ menuPlacement = _this$props18.menuPlacement,
18737
+ menuPosition = _this$props18.menuPosition,
18738
+ menuPortalTarget = _this$props18.menuPortalTarget,
18739
+ menuShouldBlockScroll = _this$props18.menuShouldBlockScroll,
18740
+ menuShouldScrollIntoView = _this$props18.menuShouldScrollIntoView,
18741
+ noOptionsMessage = _this$props18.noOptionsMessage,
18742
+ onMenuScrollToTop = _this$props18.onMenuScrollToTop,
18743
+ onMenuScrollToBottom = _this$props18.onMenuScrollToBottom;
18744
+ if (!menuIsOpen) return null; // TODO: Internal Option Type here
18745
+
18746
+ var render = function render(props) {
18747
+ // for performance, the menu options in state aren't changed when the
18748
+ // focused option changes so we calculate additional props based on that
18749
+ var isFocused = focusedOption === props.data;
18750
+ props.innerRef = isFocused ? _this5.getFocusedOptionRef : undefined;
18751
+ return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(Option, _extends$4({}, commonProps, props, {
18752
+ isFocused: isFocused
18753
+ }), _this5.formatOptionLabel(props.data, 'menu'));
18754
+ };
18755
+
18756
+ var menuUI;
18757
+
18758
+ if (this.hasOptions()) {
18759
+ menuUI = menuOptions.render.map(function (item) {
18760
+ if (item.type === 'group') {
18761
+ var type = item.type,
18762
+ group = _objectWithoutPropertiesLoose$2(item, ["type"]);
18763
+
18764
+ var headingId = item.key + "-heading";
18765
+ return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(Group, _extends$4({}, commonProps, group, {
18766
+ Heading: GroupHeading,
18767
+ headingProps: {
18768
+ id: headingId
18769
+ },
18770
+ label: _this5.formatGroupLabel(item.data)
18771
+ }), item.options.map(function (option) {
18772
+ return render(option);
18773
+ }));
18774
+ } else if (item.type === 'option') {
18775
+ return render(item);
18776
+ }
18777
+ });
18778
+ } else if (isLoading) {
18779
+ var message = loadingMessage({
18780
+ inputValue: inputValue
18781
+ });
18782
+ if (message === null) return null;
18783
+ menuUI = __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(LoadingMessage, commonProps, message);
18784
+ } else {
18785
+ var _message = noOptionsMessage({
18786
+ inputValue: inputValue
18787
+ });
18788
+
18789
+ if (_message === null) return null;
18790
+ menuUI = __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(NoOptionsMessage, commonProps, _message);
18791
+ }
18792
+
18793
+ var menuPlacementProps = {
18794
+ minMenuHeight: minMenuHeight,
18795
+ maxMenuHeight: maxMenuHeight,
18796
+ menuPlacement: menuPlacement,
18797
+ menuPosition: menuPosition,
18798
+ menuShouldScrollIntoView: menuShouldScrollIntoView
18799
+ };
18800
+ var menuElement = __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_5__index_4322c0ed_browser_esm_js__["a" /* M */], _extends$4({}, commonProps, menuPlacementProps), function (_ref8) {
18801
+ var ref = _ref8.ref,
18802
+ _ref8$placerProps = _ref8.placerProps,
18803
+ placement = _ref8$placerProps.placement,
18804
+ maxHeight = _ref8$placerProps.maxHeight;
18805
+ return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(Menu, _extends$4({}, commonProps, menuPlacementProps, {
18806
+ innerRef: ref,
18807
+ innerProps: {
18808
+ onMouseDown: _this5.onMenuMouseDown,
18809
+ onMouseMove: _this5.onMenuMouseMove
18810
+ },
18811
+ isLoading: isLoading,
18812
+ placement: placement
18813
+ }), __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ScrollCaptorSwitch, {
18814
+ isEnabled: captureMenuScroll,
18815
+ onTopArrive: onMenuScrollToTop,
18816
+ onBottomArrive: onMenuScrollToBottom
18817
+ }, __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ScrollBlock, {
18818
+ isEnabled: menuShouldBlockScroll
18819
+ }, __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(MenuList, _extends$4({}, commonProps, {
18820
+ innerRef: _this5.getMenuListRef,
18821
+ isLoading: isLoading,
18822
+ maxHeight: maxHeight
18823
+ }), menuUI))));
18824
+ }); // positioning behaviour is almost identical for portalled and fixed,
18825
+ // so we use the same component. the actual portalling logic is forked
18826
+ // within the component based on `menuPosition`
18827
+
18828
+ return menuPortalTarget || menuPosition === 'fixed' ? __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(MenuPortal, _extends$4({}, commonProps, {
18829
+ appendTo: menuPortalTarget,
18830
+ controlElement: this.controlRef,
18831
+ menuPlacement: menuPlacement,
18832
+ menuPosition: menuPosition
18833
+ }), menuElement) : menuElement;
18834
+ };
18835
+
18836
+ _proto.renderFormField = function renderFormField() {
18837
+ var _this6 = this;
18838
+
18839
+ var _this$props19 = this.props,
18840
+ delimiter = _this$props19.delimiter,
18841
+ isDisabled = _this$props19.isDisabled,
18842
+ isMulti = _this$props19.isMulti,
18843
+ name = _this$props19.name;
18844
+ var selectValue = this.state.selectValue;
18845
+ if (!name || isDisabled) return;
18846
+
18847
+ if (isMulti) {
18848
+ if (delimiter) {
18849
+ var value = selectValue.map(function (opt) {
18850
+ return _this6.getOptionValue(opt);
18851
+ }).join(delimiter);
18852
+ return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("input", {
18853
+ name: name,
18854
+ type: "hidden",
18855
+ value: value
18856
+ });
18857
+ } else {
18858
+ var input = selectValue.length > 0 ? selectValue.map(function (opt, i) {
18859
+ return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("input", {
18860
+ key: "i-" + i,
18861
+ name: name,
18862
+ type: "hidden",
18863
+ value: _this6.getOptionValue(opt)
18864
+ });
18865
+ }) : __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("input", {
18866
+ name: name,
18867
+ type: "hidden"
18868
+ });
18869
+ return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("div", null, input);
18870
+ }
18871
+ } else {
18872
+ var _value2 = selectValue[0] ? this.getOptionValue(selectValue[0]) : '';
18873
+
18874
+ return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("input", {
18875
+ name: name,
18876
+ type: "hidden",
18877
+ value: _value2
18878
+ });
18879
+ }
18880
+ };
18881
+
18882
+ _proto.renderLiveRegion = function renderLiveRegion() {
18883
+ if (!this.state.isFocused) return null;
18884
+ return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(A11yText, {
18885
+ "aria-live": "polite"
18886
+ }, __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("p", {
18887
+ id: "aria-selection-event"
18888
+ }, "\xA0", this.state.ariaLiveSelection), __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("p", {
18889
+ id: "aria-context"
18890
+ }, "\xA0", this.constructAriaLiveMessage()));
18891
+ };
18892
+
18893
+ _proto.render = function render() {
18894
+ var _this$components4 = this.components,
18895
+ Control = _this$components4.Control,
18896
+ IndicatorsContainer = _this$components4.IndicatorsContainer,
18897
+ SelectContainer = _this$components4.SelectContainer,
18898
+ ValueContainer = _this$components4.ValueContainer;
18899
+ var _this$props20 = this.props,
18900
+ className = _this$props20.className,
18901
+ id = _this$props20.id,
18902
+ isDisabled = _this$props20.isDisabled,
18903
+ menuIsOpen = _this$props20.menuIsOpen;
18904
+ var isFocused = this.state.isFocused;
18905
+ var commonProps = this.commonProps = this.getCommonProps();
18906
+ return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(SelectContainer, _extends$4({}, commonProps, {
18907
+ className: className,
18908
+ innerProps: {
18909
+ id: id,
18910
+ onKeyDown: this.onKeyDown
18911
+ },
18912
+ isDisabled: isDisabled,
18913
+ isFocused: isFocused
18914
+ }), this.renderLiveRegion(), __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(Control, _extends$4({}, commonProps, {
18915
+ innerRef: this.getControlRef,
18916
+ innerProps: {
18917
+ onMouseDown: this.onControlMouseDown,
18918
+ onTouchEnd: this.onControlTouchEnd
18919
+ },
18920
+ isDisabled: isDisabled,
18921
+ isFocused: isFocused,
18922
+ menuIsOpen: menuIsOpen
18923
+ }), __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ValueContainer, _extends$4({}, commonProps, {
18924
+ isDisabled: isDisabled
18925
+ }), this.renderPlaceholderOrValue(), this.renderInput()), __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(IndicatorsContainer, _extends$4({}, commonProps, {
18926
+ isDisabled: isDisabled
18927
+ }), this.renderClearIndicator(), this.renderLoadingIndicator(), this.renderIndicatorSeparator(), this.renderDropdownIndicator())), this.renderMenu(), this.renderFormField());
18928
+ };
18929
+
18930
+ return Select;
18931
+ }(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);
18932
+
18933
+ Select.defaultProps = defaultProps;
18934
+
18935
+
18936
+
18937
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
18938
+
18939
+ /***/ }),
18940
+ /* 234 */
18941
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
18942
+
18943
+ "use strict";
18944
+ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
18945
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Alert__ = __webpack_require__(235);
18946
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Alert", function() { return __WEBPACK_IMPORTED_MODULE_0__Alert__["a"]; });
18947
+ /* empty harmony namespace reexport */
18948
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__AlertTitle__ = __webpack_require__(242);
18949
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "AlertTitle", function() { return __WEBPACK_IMPORTED_MODULE_1__AlertTitle__["a"]; });
18950
+ /* empty harmony namespace reexport */
18951
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__Autocomplete__ = __webpack_require__(329);
18952
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Autocomplete", function() { return __WEBPACK_IMPORTED_MODULE_2__Autocomplete__["b"]; });
18953
+ /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "createFilterOptions", function() { return __WEBPACK_IMPORTED_MODULE_2__Autocomplete__["a"]; });
18954
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__AvatarGroup__ = __webpack_require__(331);
18955
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "AvatarGroup", function() { return __WEBPACK_IMPORTED_MODULE_3__AvatarGroup__["a"]; });
18956
+ /* empty harmony namespace reexport */
18957
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__Pagination__ = __webpack_require__(332);
18958
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Pagination", function() { return __WEBPACK_IMPORTED_MODULE_4__Pagination__["a"]; });
18959
+ /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "usePagination", function() { return __WEBPACK_IMPORTED_MODULE_4__Pagination__["b"]; });
18960
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__PaginationItem__ = __webpack_require__(164);
18961
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "PaginationItem", function() { return __WEBPACK_IMPORTED_MODULE_5__PaginationItem__["a"]; });
18962
+ /* empty harmony namespace reexport */
18963
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__Rating__ = __webpack_require__(334);
18964
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Rating", function() { return __WEBPACK_IMPORTED_MODULE_6__Rating__["a"]; });
18965
+ /* empty harmony namespace reexport */
18966
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__Skeleton__ = __webpack_require__(335);
18967
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Skeleton", function() { return __WEBPACK_IMPORTED_MODULE_7__Skeleton__["a"]; });
18968
+ /* empty harmony namespace reexport */
18969
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__SpeedDial__ = __webpack_require__(336);
18970
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "SpeedDial", function() { return __WEBPACK_IMPORTED_MODULE_8__SpeedDial__["a"]; });
18971
+ /* empty harmony namespace reexport */
18972
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__SpeedDialAction__ = __webpack_require__(337);
18973
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "SpeedDialAction", function() { return __WEBPACK_IMPORTED_MODULE_9__SpeedDialAction__["a"]; });
18974
+ /* empty harmony namespace reexport */
18975
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__SpeedDialIcon__ = __webpack_require__(338);
18976
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "SpeedDialIcon", function() { return __WEBPACK_IMPORTED_MODULE_10__SpeedDialIcon__["a"]; });
18977
+ /* empty harmony namespace reexport */
18978
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__TabContext__ = __webpack_require__(101);
18979
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "TabContext", function() { return __WEBPACK_IMPORTED_MODULE_11__TabContext__["a"]; });
18980
+ /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "useTabContext", function() { return __WEBPACK_IMPORTED_MODULE_11__TabContext__["d"]; });
18981
+ /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "getPanelId", function() { return __WEBPACK_IMPORTED_MODULE_11__TabContext__["b"]; });
18982
+ /* harmony namespace reexport (by provided) */ __webpack_require__.d(__webpack_exports__, "getTabId", function() { return __WEBPACK_IMPORTED_MODULE_11__TabContext__["c"]; });
18983
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__TabList__ = __webpack_require__(340);
18984
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "TabList", function() { return __WEBPACK_IMPORTED_MODULE_12__TabList__["a"]; });
18985
+ /* empty harmony namespace reexport */
18986
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__TabPanel__ = __webpack_require__(341);
18987
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "TabPanel", function() { return __WEBPACK_IMPORTED_MODULE_13__TabPanel__["a"]; });
18988
+ /* empty harmony namespace reexport */
18989
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__Timeline__ = __webpack_require__(342);
18990
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Timeline", function() { return __WEBPACK_IMPORTED_MODULE_14__Timeline__["a"]; });
18991
+ /* empty harmony namespace reexport */
18992
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__TimelineConnector__ = __webpack_require__(343);
18993
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "TimelineConnector", function() { return __WEBPACK_IMPORTED_MODULE_15__TimelineConnector__["a"]; });
18994
+ /* empty harmony namespace reexport */
18995
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__TimelineContent__ = __webpack_require__(344);
18996
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "TimelineContent", function() { return __WEBPACK_IMPORTED_MODULE_16__TimelineContent__["a"]; });
18997
+ /* empty harmony namespace reexport */
18998
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_17__TimelineDot__ = __webpack_require__(345);
18999
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "TimelineDot", function() { return __WEBPACK_IMPORTED_MODULE_17__TimelineDot__["a"]; });
19000
+ /* empty harmony namespace reexport */
19001
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_18__TimelineItem__ = __webpack_require__(346);
19002
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "TimelineItem", function() { return __WEBPACK_IMPORTED_MODULE_18__TimelineItem__["a"]; });
19003
+ /* empty harmony namespace reexport */
19004
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_19__TimelineOppositeContent__ = __webpack_require__(347);
19005
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "TimelineOppositeContent", function() { return __WEBPACK_IMPORTED_MODULE_19__TimelineOppositeContent__["a"]; });
19006
+ /* empty harmony namespace reexport */
19007
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_20__TimelineSeparator__ = __webpack_require__(348);
19008
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "TimelineSeparator", function() { return __WEBPACK_IMPORTED_MODULE_20__TimelineSeparator__["a"]; });
19009
+ /* empty harmony namespace reexport */
19010
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_21__ToggleButton__ = __webpack_require__(349);
19011
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "ToggleButton", function() { return __WEBPACK_IMPORTED_MODULE_21__ToggleButton__["a"]; });
19012
+ /* empty harmony namespace reexport */
19013
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_22__ToggleButtonGroup__ = __webpack_require__(350);
19014
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "ToggleButtonGroup", function() { return __WEBPACK_IMPORTED_MODULE_22__ToggleButtonGroup__["a"]; });
19015
+ /* empty harmony namespace reexport */
19016
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_23__TreeItem__ = __webpack_require__(351);
19017
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "TreeItem", function() { return __WEBPACK_IMPORTED_MODULE_23__TreeItem__["a"]; });
19018
+ /* empty harmony namespace reexport */
19019
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_24__TreeView__ = __webpack_require__(353);
19020
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "TreeView", function() { return __WEBPACK_IMPORTED_MODULE_24__TreeView__["a"]; });
19021
+ /* empty harmony namespace reexport */
19022
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_25__useAutocomplete__ = __webpack_require__(330);
19023
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "useAutocomplete", function() { return __WEBPACK_IMPORTED_MODULE_25__useAutocomplete__["b"]; });
19024
+ /** @license Material-UI v4.0.0-alpha.56
19025
+ *
19026
+ * This source code is licensed under the MIT license found in the
19027
+ * LICENSE file in the root directory of this source tree.
19028
+ */
19029
+ /* eslint-disable import/export */
19030
+
19031
+
19032
+
19033
+
19034
+
19035
+
19036
+
19037
+
19038
+
19039
+
19040
+
19041
+
19042
+
19043
+
19044
+
19045
+
19046
+
19047
+
19048
+
19049
+
19050
+
19051
+
19052
+
19053
+
19054
+
19055
+
19056
+
19057
+
19058
+
19059
+
19060
+
19061
+
19062
+
19063
+
19064
+
19065
+
19066
+
19067
+
19068
+
19069
+
19070
+
19071
+
19072
+
19073
+
19074
+
19075
+
19076
+
19077
+
19078
+
19079
+ // createFilterOptions is exported from Autocomplete
19080
+
19081
+
19082
+
19083
+ /***/ }),
19084
+ /* 235 */
19085
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19086
+
19087
+ "use strict";
19088
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Alert__ = __webpack_require__(506);
19089
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__Alert__["a"]; });
19090
+
19091
+
19092
+ /***/ }),
19093
+ /* 236 */
19094
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19095
+
19096
+ "use strict";
19097
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
19098
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__material_ui_styles__ = __webpack_require__(23);
19099
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__defaultTheme__ = __webpack_require__(64);
19100
+
19101
+
19102
+
19103
+
19104
+ var styled = function styled(Component) {
19105
+ var componentCreator = Object(__WEBPACK_IMPORTED_MODULE_1__material_ui_styles__["e" /* styled */])(Component);
19106
+ return function (style, options) {
19107
+ return componentCreator(style, Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({
19108
+ defaultTheme: __WEBPACK_IMPORTED_MODULE_2__defaultTheme__["a" /* default */]
19109
+ }, options));
19110
+ };
19111
+ };
19112
+
19113
+ /* harmony default export */ __webpack_exports__["a"] = (styled);
19114
+
19115
+ /***/ }),
19116
+ /* 237 */
19117
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19118
+
19119
+ "use strict";
19120
+ /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (immutable) */ __webpack_exports__["a"] = requirePropFactory;
19121
+ function requirePropFactory(componentNameInError) {
19122
+ if (process.env.NODE_ENV === 'production') {
19123
+ return function () {
19124
+ return null;
19125
+ };
19126
+ }
19127
+
19128
+ var requireProp = function requireProp(requiredProp) {
19129
+ return function (props, propName, componentName, location, propFullName) {
19130
+ var propFullNameSafe = propFullName || propName;
19131
+
19132
+ if (typeof props[propName] !== 'undefined' && !props[requiredProp]) {
19133
+ return new Error("The prop `".concat(propFullNameSafe, "` of ") + "`".concat(componentNameInError, "` must be used on `").concat(requiredProp, "`."));
19134
+ }
19135
+
19136
+ return null;
19137
+ };
19138
+ };
19139
+
19140
+ return requireProp;
19141
+ }
19142
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
19143
+
19144
+ /***/ }),
19145
+ /* 238 */
19146
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19147
+
19148
+ "use strict";
19149
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
19150
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
19151
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__material_ui_core_utils__ = __webpack_require__(10);
19152
+
19153
+
19154
+ /**
19155
+ * @ignore - internal component.
19156
+ */
19157
+
19158
+ /* harmony default export */ __webpack_exports__["a"] = (Object(__WEBPACK_IMPORTED_MODULE_1__material_ui_core_utils__["b" /* createSvgIcon */])( /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_0_react__["createElement"]("path", {
19159
+ d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
19160
+ }), 'Close'));
19161
+
19162
+ /***/ }),
19163
+ /* 239 */
19164
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19165
+
19166
+ "use strict";
19167
+ /* harmony default export */ __webpack_exports__["a"] = ({
19168
+ disabled: false
19169
+ });
19170
+
19171
+ /***/ }),
19172
+ /* 240 */
19173
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19174
+
19175
+ "use strict";
19176
+ /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return timeoutsShape; });
19177
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return classNamesShape; });
19178
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_prop_types__ = __webpack_require__(2);
19179
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_prop_types__);
19180
+
19181
+ var timeoutsShape = process.env.NODE_ENV !== 'production' ? __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.oneOfType([__WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.number, __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.shape({
19182
+ enter: __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.number,
19183
+ exit: __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.number,
19184
+ appear: __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.number
19185
+ }).isRequired]) : null;
19186
+ var classNamesShape = process.env.NODE_ENV !== 'production' ? __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.oneOfType([__WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.string, __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.shape({
19187
+ enter: __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.string,
19188
+ exit: __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.string,
19189
+ active: __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.string
19190
+ }), __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.shape({
19191
+ enter: __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.string,
19192
+ enterDone: __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.string,
19193
+ enterActive: __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.string,
19194
+ exit: __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.string,
19195
+ exitDone: __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.string,
19196
+ exitActive: __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.string
19197
+ })]) : null;
19198
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
19199
+
19200
+ /***/ }),
19201
+ /* 241 */
19202
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19203
+
19204
+ "use strict";
19205
+ /* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_objectWithoutPropertiesLoose__ = __webpack_require__(54);
19206
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
19207
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_assertThisInitialized__ = __webpack_require__(122);
19208
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_esm_inheritsLoose__ = __webpack_require__(55);
19209
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types__ = __webpack_require__(2);
19210
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_prop_types__);
19211
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_react__ = __webpack_require__(0);
19212
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_react__);
19213
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__TransitionGroupContext__ = __webpack_require__(131);
19214
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__utils_ChildMapping__ = __webpack_require__(528);
19215
+
19216
+
19217
+
19218
+
19219
+
19220
+
19221
+
19222
+
19223
+
19224
+ var values = Object.values || function (obj) {
19225
+ return Object.keys(obj).map(function (k) {
19226
+ return obj[k];
19227
+ });
19228
+ };
19229
+
19230
+ var defaultProps = {
19231
+ component: 'div',
19232
+ childFactory: function childFactory(child) {
19233
+ return child;
19234
+ }
19235
+ };
19236
+ /**
19237
+ * The `<TransitionGroup>` component manages a set of transition components
19238
+ * (`<Transition>` and `<CSSTransition>`) in a list. Like with the transition
19239
+ * components, `<TransitionGroup>` is a state machine for managing the mounting
19240
+ * and unmounting of components over time.
19241
+ *
19242
+ * Consider the example below. As items are removed or added to the TodoList the
19243
+ * `in` prop is toggled automatically by the `<TransitionGroup>`.
19244
+ *
19245
+ * Note that `<TransitionGroup>` does not define any animation behavior!
19246
+ * Exactly _how_ a list item animates is up to the individual transition
19247
+ * component. This means you can mix and match animations across different list
19248
+ * items.
19249
+ */
19250
+
19251
+ var TransitionGroup = /*#__PURE__*/function (_React$Component) {
19252
+ Object(__WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_esm_inheritsLoose__["a" /* default */])(TransitionGroup, _React$Component);
19253
+
19254
+ function TransitionGroup(props, context) {
19255
+ var _this;
19256
+
19257
+ _this = _React$Component.call(this, props, context) || this;
19258
+
19259
+ var handleExited = _this.handleExited.bind(Object(__WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(_this)); // Initial children should all be entering, dependent on appear
19260
+
19261
+
19262
+ _this.state = {
19263
+ contextValue: {
19264
+ isMounting: true
19265
+ },
19266
+ handleExited: handleExited,
19267
+ firstRender: true
19268
+ };
19269
+ return _this;
19270
+ }
19271
+
19272
+ var _proto = TransitionGroup.prototype;
19273
+
19274
+ _proto.componentDidMount = function componentDidMount() {
19275
+ this.mounted = true;
19276
+ this.setState({
19277
+ contextValue: {
19278
+ isMounting: false
19279
+ }
19280
+ });
19281
+ };
19282
+
19283
+ _proto.componentWillUnmount = function componentWillUnmount() {
19284
+ this.mounted = false;
19285
+ };
19286
+
19287
+ TransitionGroup.getDerivedStateFromProps = function getDerivedStateFromProps(nextProps, _ref) {
19288
+ var prevChildMapping = _ref.children,
19289
+ handleExited = _ref.handleExited,
19290
+ firstRender = _ref.firstRender;
19291
+ return {
19292
+ children: firstRender ? Object(__WEBPACK_IMPORTED_MODULE_7__utils_ChildMapping__["b" /* getInitialChildMapping */])(nextProps, handleExited) : Object(__WEBPACK_IMPORTED_MODULE_7__utils_ChildMapping__["c" /* getNextChildMapping */])(nextProps, prevChildMapping, handleExited),
19293
+ firstRender: false
19294
+ };
19295
+ } // node is `undefined` when user provided `nodeRef` prop
19296
+ ;
19297
+
19298
+ _proto.handleExited = function handleExited(child, node) {
19299
+ var currentChildMapping = Object(__WEBPACK_IMPORTED_MODULE_7__utils_ChildMapping__["a" /* getChildMapping */])(this.props.children);
19300
+ if (child.key in currentChildMapping) return;
19301
+
19302
+ if (child.props.onExited) {
19303
+ child.props.onExited(node);
19304
+ }
19305
+
19306
+ if (this.mounted) {
19307
+ this.setState(function (state) {
19308
+ var children = Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_extends__["a" /* default */])({}, state.children);
19309
+
19310
+ delete children[child.key];
19311
+ return {
19312
+ children: children
19313
+ };
19314
+ });
19315
+ }
19316
+ };
19317
+
19318
+ _proto.render = function render() {
19319
+ var _this$props = this.props,
19320
+ Component = _this$props.component,
19321
+ childFactory = _this$props.childFactory,
19322
+ props = Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_objectWithoutPropertiesLoose__["a" /* default */])(_this$props, ["component", "childFactory"]);
19323
+
19324
+ var contextValue = this.state.contextValue;
19325
+ var children = values(this.state.children).map(childFactory);
19326
+ delete props.appear;
19327
+ delete props.enter;
19328
+ delete props.exit;
19329
+
19330
+ if (Component === null) {
19331
+ return /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_5_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_6__TransitionGroupContext__["a" /* default */].Provider, {
19332
+ value: contextValue
19333
+ }, children);
19334
+ }
19335
+
19336
+ return /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_5_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_6__TransitionGroupContext__["a" /* default */].Provider, {
19337
+ value: contextValue
19338
+ }, /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_5_react___default.a.createElement(Component, props, children));
19339
+ };
19340
+
19341
+ return TransitionGroup;
19342
+ }(__WEBPACK_IMPORTED_MODULE_5_react___default.a.Component);
19343
+
19344
+ TransitionGroup.propTypes = process.env.NODE_ENV !== "production" ? {
19345
+ /**
19346
+ * `<TransitionGroup>` renders a `<div>` by default. You can change this
19347
+ * behavior by providing a `component` prop.
19348
+ * If you use React v16+ and would like to avoid a wrapping `<div>` element
19349
+ * you can pass in `component={null}`. This is useful if the wrapping div
19350
+ * borks your css styles.
19351
+ */
19352
+ component: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.any,
19353
+
19354
+ /**
19355
+ * A set of `<Transition>` components, that are toggled `in` and out as they
19356
+ * leave. the `<TransitionGroup>` will inject specific transition props, so
19357
+ * remember to spread them through if you are wrapping the `<Transition>` as
19358
+ * with our `<Fade>` example.
19359
+ *
19360
+ * While this component is meant for multiple `Transition` or `CSSTransition`
19361
+ * children, sometimes you may want to have a single transition child with
19362
+ * content that you want to be transitioned out and in when you change it
19363
+ * (e.g. routes, images etc.) In that case you can change the `key` prop of
19364
+ * the transition child as you change its content, this will cause
19365
+ * `TransitionGroup` to transition the child out and back in.
19366
+ */
19367
+ children: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.node,
19368
+
19369
+ /**
19370
+ * A convenience prop that enables or disables appear animations
19371
+ * for all children. Note that specifying this will override any defaults set
19372
+ * on individual children Transitions.
19373
+ */
19374
+ appear: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.bool,
19375
+
19376
+ /**
19377
+ * A convenience prop that enables or disables enter animations
19378
+ * for all children. Note that specifying this will override any defaults set
19379
+ * on individual children Transitions.
19380
+ */
19381
+ enter: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.bool,
19382
+
19383
+ /**
19384
+ * A convenience prop that enables or disables exit animations
19385
+ * for all children. Note that specifying this will override any defaults set
19386
+ * on individual children Transitions.
19387
+ */
19388
+ exit: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.bool,
19389
+
19390
+ /**
19391
+ * You may need to apply reactive updates to a child as it is exiting.
19392
+ * This is generally done by using `cloneElement` however in the case of an exiting
19393
+ * child the element has already been removed and not accessible to the consumer.
19394
+ *
19395
+ * If you do need to update a child as it leaves you can provide a `childFactory`
19396
+ * to wrap every child, even the ones that are leaving.
19397
+ *
19398
+ * @type Function(child: ReactElement) -> ReactElement
19399
+ */
19400
+ childFactory: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.func
19401
+ } : {};
19402
+ TransitionGroup.defaultProps = defaultProps;
19403
+ /* harmony default export */ __webpack_exports__["a"] = (TransitionGroup);
19404
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
19405
+
19406
+ /***/ }),
19407
+ /* 242 */
19408
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19409
+
19410
+ "use strict";
19411
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__AlertTitle__ = __webpack_require__(531);
19412
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__AlertTitle__["a"]; });
19413
+
19414
+
19415
+ /***/ }),
19416
+ /* 243 */
19417
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19418
+
19419
+ "use strict";
19420
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Accordion__ = __webpack_require__(546);
19421
+ /* unused harmony reexport default */
19422
+
19423
+
19424
+ /***/ }),
19425
+ /* 244 */
19426
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19427
+
19428
+ "use strict";
19429
+ /* harmony export (immutable) */ __webpack_exports__["a"] = _toArray;
19430
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__arrayWithHoles__ = __webpack_require__(223);
19431
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__iterableToArray__ = __webpack_require__(195);
19432
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__unsupportedIterableToArray__ = __webpack_require__(123);
19433
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__nonIterableRest__ = __webpack_require__(224);
19434
+
19435
+
19436
+
19437
+
19438
+ function _toArray(arr) {
19439
+ return Object(__WEBPACK_IMPORTED_MODULE_0__arrayWithHoles__["a" /* default */])(arr) || Object(__WEBPACK_IMPORTED_MODULE_1__iterableToArray__["a" /* default */])(arr) || Object(__WEBPACK_IMPORTED_MODULE_2__unsupportedIterableToArray__["a" /* default */])(arr) || Object(__WEBPACK_IMPORTED_MODULE_3__nonIterableRest__["a" /* default */])();
19440
+ }
19441
+
19442
+ /***/ }),
19443
+ /* 245 */
19444
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19445
+
19446
+ "use strict";
19447
+ /* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
19448
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
19449
+
19450
+ /**
19451
+ * @ignore - internal component.
19452
+ * @type {React.Context<{} | {expanded: boolean, disabled: boolean, toggle: () => void}>}
19453
+ */
19454
+
19455
+ var AccordionContext = /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_0_react__["createContext"]({});
19456
+
19457
+ if (process.env.NODE_ENV !== 'production') {
19458
+ AccordionContext.displayName = 'AccordionContext';
19459
+ }
19460
+
19461
+ /* harmony default export */ __webpack_exports__["a"] = (AccordionContext);
19462
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
19463
+
19464
+ /***/ }),
19465
+ /* 246 */
19466
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19467
+
19468
+ "use strict";
19469
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__AccordionActions__ = __webpack_require__(548);
19470
+ /* unused harmony reexport default */
19471
+
19472
+
19473
+ /***/ }),
19474
+ /* 247 */
19475
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19476
+
19477
+ "use strict";
19478
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__AccordionDetails__ = __webpack_require__(549);
19479
+ /* unused harmony reexport default */
19480
+
19481
+
19482
+ /***/ }),
19483
+ /* 248 */
19484
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19485
+
19486
+ "use strict";
19487
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__AccordionSummary__ = __webpack_require__(550);
19488
+ /* unused harmony reexport default */
19489
+
19490
+
19491
+ /***/ }),
19492
+ /* 249 */
19493
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19494
+
19495
+ "use strict";
19496
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__AppBar__ = __webpack_require__(551);
19497
+ /* unused harmony reexport default */
19498
+
19499
+
19500
+ /***/ }),
19501
+ /* 250 */
19502
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19503
+
19504
+ "use strict";
19505
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Badge__ = __webpack_require__(556);
19506
+ /* unused harmony reexport default */
19507
+
19508
+
19509
+ /***/ }),
19510
+ /* 251 */
19511
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19512
+
19513
+ "use strict";
19514
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__BottomNavigation__ = __webpack_require__(557);
19515
+ /* unused harmony reexport default */
19516
+
19517
+
19518
+ /***/ }),
19519
+ /* 252 */
19520
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19521
+
19522
+ "use strict";
19523
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__BottomNavigationAction__ = __webpack_require__(558);
19524
+ /* unused harmony reexport default */
19525
+
19526
+
19527
+ /***/ }),
19528
+ /* 253 */
19529
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19530
+
19531
+ "use strict";
19532
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Box__ = __webpack_require__(559);
19533
+ /* unused harmony reexport default */
19534
+ /* unused harmony reexport styleFunction */
19535
+
19536
+
19537
+ /***/ }),
19538
+ /* 254 */
19539
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19540
+
19541
+ "use strict";
19542
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Breadcrumbs__ = __webpack_require__(560);
19543
+ /* unused harmony reexport default */
19544
+
19545
+
19546
+ /***/ }),
19547
+ /* 255 */
19548
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19549
+
19550
+ "use strict";
19551
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ButtonGroup__ = __webpack_require__(565);
19552
+ /* unused harmony reexport default */
19553
+
19554
+
19555
+ /***/ }),
19556
+ /* 256 */
19557
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19558
+
19559
+ "use strict";
19560
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Card__ = __webpack_require__(566);
19561
+ /* unused harmony reexport default */
19562
+
19563
+
19564
+ /***/ }),
19565
+ /* 257 */
19566
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19567
+
19568
+ "use strict";
19569
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CardActionArea__ = __webpack_require__(567);
19570
+ /* unused harmony reexport default */
19571
+
19572
+
19573
+ /***/ }),
19574
+ /* 258 */
19575
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19576
+
19577
+ "use strict";
19578
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CardActions__ = __webpack_require__(568);
19579
+ /* unused harmony reexport default */
19580
+
19581
+
19582
+ /***/ }),
19583
+ /* 259 */
19584
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19585
+
19586
+ "use strict";
19587
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CardContent__ = __webpack_require__(569);
19588
+ /* unused harmony reexport default */
19589
+
19590
+
19591
+ /***/ }),
19592
+ /* 260 */
19593
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19594
+
19595
+ "use strict";
19596
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CardHeader__ = __webpack_require__(570);
19597
+ /* unused harmony reexport default */
19598
+
19599
+
19600
+ /***/ }),
19601
+ /* 261 */
19602
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19603
+
19604
+ "use strict";
19605
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CardMedia__ = __webpack_require__(571);
19606
+ /* unused harmony reexport default */
19607
+
19608
+
19609
+ /***/ }),
19610
+ /* 262 */
19611
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19612
+
19613
+ "use strict";
19614
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Checkbox__ = __webpack_require__(572);
19615
+ /* unused harmony reexport default */
19616
+
19617
+
19618
+ /***/ }),
19619
+ /* 263 */
19620
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19621
+
19622
+ "use strict";
19623
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CircularProgress__ = __webpack_require__(578);
19624
+ /* unused harmony reexport default */
19625
+
19626
+
19627
+ /***/ }),
19628
+ /* 264 */
19629
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19630
+
19631
+ "use strict";
19632
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Container__ = __webpack_require__(580);
19633
+ /* unused harmony reexport default */
19634
+
19635
+
19636
+ /***/ }),
19637
+ /* 265 */
19638
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19639
+
19640
+ "use strict";
19641
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__CssBaseline__ = __webpack_require__(581);
19642
+ /* unused harmony reexport default */
19643
+
19644
+
19645
+ /***/ }),
19646
+ /* 266 */
19647
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19648
+
19649
+ "use strict";
19650
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Dialog__ = __webpack_require__(582);
19651
+ /* unused harmony reexport default */
19652
+
19653
+
19654
+ /***/ }),
19655
+ /* 267 */
19656
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19657
+
19658
+ "use strict";
19659
+ /* harmony export (immutable) */ __webpack_exports__["a"] = ariaHidden;
19660
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return ModalManager; });
19661
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_classCallCheck__ = __webpack_require__(125);
19662
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_createClass__ = __webpack_require__(79);
19663
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_toConsumableArray__ = __webpack_require__(32);
19664
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__utils_getScrollbarSize__ = __webpack_require__(268);
19665
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__utils_ownerDocument__ = __webpack_require__(29);
19666
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__utils_ownerWindow__ = __webpack_require__(86);
19667
+
19668
+
19669
+
19670
+
19671
+
19672
+ // Is a vertical scrollbar displayed?
19673
+
19674
+ function isOverflowing(container) {
19675
+ var doc = Object(__WEBPACK_IMPORTED_MODULE_4__utils_ownerDocument__["a" /* default */])(container);
19676
+
19677
+ if (doc.body === container) {
19678
+ return Object(__WEBPACK_IMPORTED_MODULE_5__utils_ownerWindow__["a" /* default */])(doc).innerWidth > doc.documentElement.clientWidth;
19679
+ }
19680
+
19681
+ return container.scrollHeight > container.clientHeight;
19682
+ }
19683
+
19684
+ function ariaHidden(node, show) {
19685
+ if (show) {
19686
+ node.setAttribute('aria-hidden', 'true');
19687
+ } else {
19688
+ node.removeAttribute('aria-hidden');
19689
+ }
19690
+ }
19691
+
19692
+ function getPaddingRight(node) {
19693
+ return parseInt(window.getComputedStyle(node)['padding-right'], 10) || 0;
19694
+ }
19695
+
19696
+ function ariaHiddenSiblings(container, mountNode, currentNode) {
19697
+ var nodesToExclude = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : [];
19698
+ var show = arguments.length > 4 ? arguments[4] : undefined;
19699
+ var blacklist = [mountNode, currentNode].concat(Object(__WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_esm_toConsumableArray__["a" /* default */])(nodesToExclude));
19700
+ var blacklistTagNames = ['TEMPLATE', 'SCRIPT', 'STYLE'];
19701
+ [].forEach.call(container.children, function (node) {
19702
+ if (node.nodeType === 1 && blacklist.indexOf(node) === -1 && blacklistTagNames.indexOf(node.tagName) === -1) {
19703
+ ariaHidden(node, show);
19704
+ }
19705
+ });
19706
+ }
19707
+
19708
+ function findIndexOf(containerInfo, callback) {
19709
+ var idx = -1;
19710
+ containerInfo.some(function (item, index) {
19711
+ if (callback(item)) {
19712
+ idx = index;
19713
+ return true;
19714
+ }
19715
+
19716
+ return false;
19717
+ });
19718
+ return idx;
19719
+ }
19720
+
19721
+ function handleContainer(containerInfo, props) {
19722
+ var restoreStyle = [];
19723
+ var restorePaddings = [];
19724
+ var container = containerInfo.container;
19725
+ var fixedNodes;
19726
+
19727
+ if (!props.disableScrollLock) {
19728
+ if (isOverflowing(container)) {
19729
+ // Compute the size before applying overflow hidden to avoid any scroll jumps.
19730
+ var scrollbarSize = Object(__WEBPACK_IMPORTED_MODULE_3__utils_getScrollbarSize__["a" /* default */])();
19731
+ restoreStyle.push({
19732
+ value: container.style.paddingRight,
19733
+ key: 'padding-right',
19734
+ el: container
19735
+ }); // Use computed style, here to get the real padding to add our scrollbar width.
19736
+
19737
+ container.style['padding-right'] = "".concat(getPaddingRight(container) + scrollbarSize, "px"); // .mui-fixed is a global helper.
19738
+
19739
+ fixedNodes = Object(__WEBPACK_IMPORTED_MODULE_4__utils_ownerDocument__["a" /* default */])(container).querySelectorAll('.mui-fixed');
19740
+ [].forEach.call(fixedNodes, function (node) {
19741
+ restorePaddings.push(node.style.paddingRight);
19742
+ node.style.paddingRight = "".concat(getPaddingRight(node) + scrollbarSize, "px");
19743
+ });
19744
+ } // Improve Gatsby support
19745
+ // https://css-tricks.com/snippets/css/force-vertical-scrollbar/
19746
+
19747
+
19748
+ var parent = container.parentElement;
19749
+ var scrollContainer = parent.nodeName === 'HTML' && window.getComputedStyle(parent)['overflow-y'] === 'scroll' ? parent : container; // Block the scroll even if no scrollbar is visible to account for mobile keyboard
19750
+ // screensize shrink.
19751
+
19752
+ restoreStyle.push({
19753
+ value: scrollContainer.style.overflow,
19754
+ key: 'overflow',
19755
+ el: scrollContainer
19756
+ });
19757
+ scrollContainer.style.overflow = 'hidden';
19758
+ }
19759
+
19760
+ var restore = function restore() {
19761
+ if (fixedNodes) {
19762
+ [].forEach.call(fixedNodes, function (node, i) {
19763
+ if (restorePaddings[i]) {
19764
+ node.style.paddingRight = restorePaddings[i];
19765
+ } else {
19766
+ node.style.removeProperty('padding-right');
19767
+ }
19768
+ });
19769
+ }
19770
+
19771
+ restoreStyle.forEach(function (_ref) {
19772
+ var value = _ref.value,
19773
+ el = _ref.el,
19774
+ key = _ref.key;
19775
+
19776
+ if (value) {
19777
+ el.style.setProperty(key, value);
19778
+ } else {
19779
+ el.style.removeProperty(key);
19780
+ }
19781
+ });
19782
+ };
19783
+
19784
+ return restore;
19785
+ }
19786
+
19787
+ function getHiddenSiblings(container) {
19788
+ var hiddenSiblings = [];
19789
+ [].forEach.call(container.children, function (node) {
19790
+ if (node.getAttribute && node.getAttribute('aria-hidden') === 'true') {
19791
+ hiddenSiblings.push(node);
19792
+ }
19793
+ });
19794
+ return hiddenSiblings;
19795
+ }
19796
+ /**
19797
+ * @ignore - do not document.
19798
+ *
19799
+ * Proper state management for containers and the modals in those containers.
19800
+ * Simplified, but inspired by react-overlay's ModalManager class.
19801
+ * Used by the Modal to ensure proper styling of containers.
19802
+ */
19803
+
19804
+
19805
+ var ModalManager = /*#__PURE__*/function () {
19806
+ function ModalManager() {
19807
+ Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_classCallCheck__["a" /* default */])(this, ModalManager);
19808
+
19809
+ // this.modals[modalIndex] = modal
19810
+ this.modals = []; // this.containers[containerIndex] = {
19811
+ // modals: [],
19812
+ // container,
19813
+ // restore: null,
19814
+ // }
19815
+
19816
+ this.containers = [];
19817
+ }
19818
+
19819
+ Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_createClass__["a" /* default */])(ModalManager, [{
19820
+ key: "add",
19821
+ value: function add(modal, container) {
19822
+ var modalIndex = this.modals.indexOf(modal);
19823
+
19824
+ if (modalIndex !== -1) {
19825
+ return modalIndex;
19826
+ }
19827
+
19828
+ modalIndex = this.modals.length;
19829
+ this.modals.push(modal); // If the modal we are adding is already in the DOM.
19830
+
19831
+ if (modal.modalRef) {
19832
+ ariaHidden(modal.modalRef, false);
19833
+ }
19834
+
19835
+ var hiddenSiblingNodes = getHiddenSiblings(container);
19836
+ ariaHiddenSiblings(container, modal.mountNode, modal.modalRef, hiddenSiblingNodes, true);
19837
+ var containerIndex = findIndexOf(this.containers, function (item) {
19838
+ return item.container === container;
19839
+ });
19840
+
19841
+ if (containerIndex !== -1) {
19842
+ this.containers[containerIndex].modals.push(modal);
19843
+ return modalIndex;
19844
+ }
19845
+
19846
+ this.containers.push({
19847
+ modals: [modal],
19848
+ container: container,
19849
+ restore: null,
19850
+ hiddenSiblingNodes: hiddenSiblingNodes
19851
+ });
19852
+ return modalIndex;
19853
+ }
19854
+ }, {
19855
+ key: "mount",
19856
+ value: function mount(modal, props) {
19857
+ var containerIndex = findIndexOf(this.containers, function (item) {
19858
+ return item.modals.indexOf(modal) !== -1;
19859
+ });
19860
+ var containerInfo = this.containers[containerIndex];
19861
+
19862
+ if (!containerInfo.restore) {
19863
+ containerInfo.restore = handleContainer(containerInfo, props);
19864
+ }
19865
+ }
19866
+ }, {
19867
+ key: "remove",
19868
+ value: function remove(modal) {
19869
+ var modalIndex = this.modals.indexOf(modal);
19870
+
19871
+ if (modalIndex === -1) {
19872
+ return modalIndex;
19873
+ }
19874
+
19875
+ var containerIndex = findIndexOf(this.containers, function (item) {
19876
+ return item.modals.indexOf(modal) !== -1;
19877
+ });
19878
+ var containerInfo = this.containers[containerIndex];
19879
+ containerInfo.modals.splice(containerInfo.modals.indexOf(modal), 1);
19880
+ this.modals.splice(modalIndex, 1); // If that was the last modal in a container, clean up the container.
19881
+
19882
+ if (containerInfo.modals.length === 0) {
19883
+ // The modal might be closed before it had the chance to be mounted in the DOM.
19884
+ if (containerInfo.restore) {
19885
+ containerInfo.restore();
19886
+ }
19887
+
19888
+ if (modal.modalRef) {
19889
+ // In case the modal wasn't in the DOM yet.
19890
+ ariaHidden(modal.modalRef, true);
19891
+ }
19892
+
19893
+ ariaHiddenSiblings(containerInfo.container, modal.mountNode, modal.modalRef, containerInfo.hiddenSiblingNodes, false);
19894
+ this.containers.splice(containerIndex, 1);
19895
+ } else {
19896
+ // Otherwise make sure the next top modal is visible to a screen reader.
19897
+ var nextTop = containerInfo.modals[containerInfo.modals.length - 1]; // as soon as a modal is adding its modalRef is undefined. it can't set
19898
+ // aria-hidden because the dom element doesn't exist either
19899
+ // when modal was unmounted before modalRef gets null
19900
+
19901
+ if (nextTop.modalRef) {
19902
+ ariaHidden(nextTop.modalRef, false);
19903
+ }
19904
+ }
19905
+
19906
+ return modalIndex;
19907
+ }
19908
+ }, {
19909
+ key: "isTopModal",
19910
+ value: function isTopModal(modal) {
19911
+ return this.modals.length > 0 && this.modals[this.modals.length - 1] === modal;
19912
+ }
19913
+ }]);
19914
+
19915
+ return ModalManager;
19916
+ }();
19917
+
19918
+
19919
+
19920
+ /***/ }),
19921
+ /* 268 */
19922
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19923
+
19924
+ "use strict";
19925
+ /* harmony export (immutable) */ __webpack_exports__["a"] = getScrollbarSize;
19926
+ // A change of the browser zoom change the scrollbar size.
19927
+ // Credit https://github.com/twbs/bootstrap/blob/3ffe3a5d82f6f561b82ff78d82b32a7d14aed558/js/src/modal.js#L512-L519
19928
+ function getScrollbarSize() {
19929
+ var scrollDiv = document.createElement('div');
19930
+ scrollDiv.style.width = '99px';
19931
+ scrollDiv.style.height = '99px';
19932
+ scrollDiv.style.position = 'absolute';
19933
+ scrollDiv.style.top = '-9999px';
19934
+ scrollDiv.style.overflow = 'scroll';
19935
+ document.body.appendChild(scrollDiv);
19936
+ var scrollbarSize = scrollDiv.offsetWidth - scrollDiv.clientWidth;
19937
+ document.body.removeChild(scrollDiv);
19938
+ return scrollbarSize;
19939
+ }
19940
+
19941
+ /***/ }),
19942
+ /* 269 */
19943
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19944
+
19945
+ "use strict";
19946
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__DialogActions__ = __webpack_require__(587);
19947
+ /* unused harmony reexport default */
19948
+
19949
+
19950
+ /***/ }),
19951
+ /* 270 */
19952
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19953
+
19954
+ "use strict";
19955
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__DialogContent__ = __webpack_require__(588);
19956
+ /* unused harmony reexport default */
19957
+
19958
+
19959
+ /***/ }),
19960
+ /* 271 */
19961
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19962
+
19963
+ "use strict";
19964
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__DialogContentText__ = __webpack_require__(589);
19965
+ /* unused harmony reexport default */
19966
+
19967
+
19968
+ /***/ }),
19969
+ /* 272 */
19970
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19971
+
19972
+ "use strict";
19973
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__DialogTitle__ = __webpack_require__(590);
19974
+ /* unused harmony reexport default */
19975
+
19976
+
19977
+ /***/ }),
19978
+ /* 273 */
19979
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19980
+
19981
+ "use strict";
19982
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Divider__ = __webpack_require__(591);
19983
+ /* unused harmony reexport default */
19984
+
19985
+
19986
+ /***/ }),
19987
+ /* 274 */
19988
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19989
+
19990
+ "use strict";
19991
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Drawer__ = __webpack_require__(138);
19992
+ /* unused harmony reexport default */
19993
+
19994
+
19995
+ /***/ }),
19996
+ /* 275 */
19997
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
19998
+
19999
+ "use strict";
20000
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ExpansionPanel__ = __webpack_require__(593);
20001
+ /* unused harmony reexport default */
20002
+
20003
+
20004
+ /***/ }),
20005
+ /* 276 */
20006
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
20007
+
20008
+ "use strict";
20009
+ /* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
20010
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
20011
+
20012
+ /**
20013
+ * @ignore - internal component.
20014
+ * @type {React.Context<{} | {expanded: boolean, disabled: boolean, toggle: () => void}>}
20015
+ */
20016
+
20017
+ var ExpansionPanelContext = /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_0_react__["createContext"]({});
20018
+
20019
+ if (process.env.NODE_ENV !== 'production') {
20020
+ ExpansionPanelContext.displayName = 'ExpansionPanelContext';
20021
+ }
20022
+
20023
+ /* harmony default export */ __webpack_exports__["a"] = (ExpansionPanelContext);
20024
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
20025
+
20026
+ /***/ }),
20027
+ /* 277 */
20028
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
20029
+
20030
+ "use strict";
20031
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ExpansionPanelActions__ = __webpack_require__(594);
20032
+ /* unused harmony reexport default */
20033
+
20034
+
20035
+ /***/ }),
20036
+ /* 278 */
20037
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
20038
+
20039
+ "use strict";
20040
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ExpansionPanelDetails__ = __webpack_require__(595);
20041
+ /* unused harmony reexport default */
20042
+
20043
+
20044
+ /***/ }),
20045
+ /* 279 */
20046
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
20047
+
20048
+ "use strict";
20049
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ExpansionPanelSummary__ = __webpack_require__(596);
20050
+ /* unused harmony reexport default */
20051
+
20052
+
20053
+ /***/ }),
20054
+ /* 280 */
20055
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
20056
+
20057
+ "use strict";
20058
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__FormControlLabel__ = __webpack_require__(602);
20059
+ /* unused harmony reexport default */
20060
+
20061
+
20062
+ /***/ }),
20063
+ /* 281 */
20064
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
20065
+
20066
+ "use strict";
20067
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Grid__ = __webpack_require__(606);
20068
+ /* unused harmony reexport default */
20069
+
20070
+
20071
+ /***/ }),
20072
+ /* 282 */
20073
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
20074
+
20075
+ "use strict";
20076
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__GridList__ = __webpack_require__(607);
20077
+ /* unused harmony reexport default */
20078
+
20079
+
20080
+ /***/ }),
20081
+ /* 283 */
20082
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
20083
+
20084
+ "use strict";
20085
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__GridListTile__ = __webpack_require__(608);
20086
+ /* unused harmony reexport default */
20087
+
20088
+
20089
+ /***/ }),
20090
+ /* 284 */
20091
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
20092
+
20093
+ "use strict";
20094
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__GridListTileBar__ = __webpack_require__(609);
20095
+ /* unused harmony reexport default */
20096
+
20097
+
20098
+ /***/ }),
20099
+ /* 285 */
20100
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
20101
+
20102
+ "use strict";
20103
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Hidden__ = __webpack_require__(611);
20104
+ /* unused harmony reexport default */
20105
+
20106
+
20107
+ /***/ }),
20108
+ /* 286 */
20109
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
20110
+
20111
+ "use strict";
20112
+ /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return isWidthUp; });
20113
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return isWidthDown; });
20114
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
20115
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_objectWithoutProperties__ = __webpack_require__(4);
20116
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react__ = __webpack_require__(0);
20117
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react__);
20118
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types__ = __webpack_require__(2);
20119
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_prop_types__);
20120
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__material_ui_utils__ = __webpack_require__(7);
20121
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__material_ui_styles__ = __webpack_require__(23);
20122
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_hoist_non_react_statics__ = __webpack_require__(82);
20123
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_hoist_non_react_statics___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_hoist_non_react_statics__);
20124
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__styles_useTheme__ = __webpack_require__(17);
20125
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__styles_createBreakpoints__ = __webpack_require__(205);
20126
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__useMediaQuery__ = __webpack_require__(145);
20127
+
20128
+
20129
+
20130
+
20131
+
20132
+
20133
+
20134
+
20135
+
20136
+ // By default, returns true if screen width is the same or greater than the given breakpoint.
20137
+
20138
+ var isWidthUp = function isWidthUp(breakpoint, width) {
20139
+ var inclusive = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
20140
+
20141
+ if (inclusive) {
20142
+ return __WEBPACK_IMPORTED_MODULE_8__styles_createBreakpoints__["b" /* keys */].indexOf(breakpoint) <= __WEBPACK_IMPORTED_MODULE_8__styles_createBreakpoints__["b" /* keys */].indexOf(width);
20143
+ }
20144
+
20145
+ return __WEBPACK_IMPORTED_MODULE_8__styles_createBreakpoints__["b" /* keys */].indexOf(breakpoint) < __WEBPACK_IMPORTED_MODULE_8__styles_createBreakpoints__["b" /* keys */].indexOf(width);
20146
+ }; // By default, returns true if screen width is the same or less than the given breakpoint.
20147
+
20148
+ var isWidthDown = function isWidthDown(breakpoint, width) {
20149
+ var inclusive = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
20150
+
20151
+ if (inclusive) {
20152
+ return __WEBPACK_IMPORTED_MODULE_8__styles_createBreakpoints__["b" /* keys */].indexOf(width) <= __WEBPACK_IMPORTED_MODULE_8__styles_createBreakpoints__["b" /* keys */].indexOf(breakpoint);
20153
+ }
20154
+
20155
+ return __WEBPACK_IMPORTED_MODULE_8__styles_createBreakpoints__["b" /* keys */].indexOf(width) < __WEBPACK_IMPORTED_MODULE_8__styles_createBreakpoints__["b" /* keys */].indexOf(breakpoint);
20156
+ };
20157
+ var useEnhancedEffect = typeof window === 'undefined' ? __WEBPACK_IMPORTED_MODULE_2_react__["useEffect"] : __WEBPACK_IMPORTED_MODULE_2_react__["useLayoutEffect"];
20158
+
20159
+ var withWidth = function withWidth() {
20160
+ var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
20161
+ return function (Component) {
20162
+ var _options$withTheme = options.withTheme,
20163
+ withThemeOption = _options$withTheme === void 0 ? false : _options$withTheme,
20164
+ _options$noSSR = options.noSSR,
20165
+ noSSR = _options$noSSR === void 0 ? false : _options$noSSR,
20166
+ initialWidthOption = options.initialWidth;
20167
+
20168
+ function WithWidth(props) {
20169
+ var contextTheme = Object(__WEBPACK_IMPORTED_MODULE_7__styles_useTheme__["a" /* default */])();
20170
+ var theme = props.theme || contextTheme;
20171
+
20172
+ var _getThemeProps = Object(__WEBPACK_IMPORTED_MODULE_5__material_ui_styles__["b" /* getThemeProps */])({
20173
+ theme: theme,
20174
+ name: 'MuiWithWidth',
20175
+ props: Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({}, props)
20176
+ }),
20177
+ initialWidth = _getThemeProps.initialWidth,
20178
+ width = _getThemeProps.width,
20179
+ other = Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_objectWithoutProperties__["a" /* default */])(_getThemeProps, ["initialWidth", "width"]);
20180
+
20181
+ var _React$useState = __WEBPACK_IMPORTED_MODULE_2_react__["useState"](false),
20182
+ mountedState = _React$useState[0],
20183
+ setMountedState = _React$useState[1];
20184
+
20185
+ useEnhancedEffect(function () {
20186
+ setMountedState(true);
20187
+ }, []);
20188
+ /**
20189
+ * innerWidth |xs sm md lg xl
20190
+ * |-------|-------|-------|-------|------>
20191
+ * width | xs | sm | md | lg | xl
20192
+ */
20193
+
20194
+ var keys = theme.breakpoints.keys.slice().reverse();
20195
+ var widthComputed = keys.reduce(function (output, key) {
20196
+ // eslint-disable-next-line react-hooks/rules-of-hooks
20197
+ var matches = Object(__WEBPACK_IMPORTED_MODULE_9__useMediaQuery__["a" /* default */])(theme.breakpoints.up(key));
20198
+ return !output && matches ? key : output;
20199
+ }, null);
20200
+
20201
+ var more = Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({
20202
+ width: width || (mountedState || noSSR ? widthComputed : undefined) || initialWidth || initialWidthOption
20203
+ }, withThemeOption ? {
20204
+ theme: theme
20205
+ } : {}, other); // When rendering the component on the server,
20206
+ // we have no idea about the client browser screen width.
20207
+ // In order to prevent blinks and help the reconciliation of the React tree
20208
+ // we are not rendering the child component.
20209
+ //
20210
+ // An alternative is to use the `initialWidth` property.
20211
+
20212
+
20213
+ if (more.width === undefined) {
20214
+ return null;
20215
+ }
20216
+
20217
+ return /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_2_react__["createElement"](Component, more);
20218
+ }
20219
+
20220
+ process.env.NODE_ENV !== "production" ? WithWidth.propTypes = {
20221
+ /**
20222
+ * As `window.innerWidth` is unavailable on the server,
20223
+ * we default to rendering an empty component during the first mount.
20224
+ * You might want to use an heuristic to approximate
20225
+ * the screen width of the client browser screen width.
20226
+ *
20227
+ * For instance, you could be using the user-agent or the client-hints.
20228
+ * https://caniuse.com/#search=client%20hint
20229
+ */
20230
+ initialWidth: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.oneOf(['xs', 'sm', 'md', 'lg', 'xl']),
20231
+
20232
+ /**
20233
+ * @ignore
20234
+ */
20235
+ theme: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object,
20236
+
20237
+ /**
20238
+ * Bypass the width calculation logic.
20239
+ */
20240
+ width: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.oneOf(['xs', 'sm', 'md', 'lg', 'xl'])
20241
+ } : void 0;
20242
+
20243
+ if (process.env.NODE_ENV !== 'production') {
20244
+ WithWidth.displayName = "WithWidth(".concat(Object(__WEBPACK_IMPORTED_MODULE_4__material_ui_utils__["h" /* getDisplayName */])(Component), ")");
20245
+ }
20246
+
20247
+ __WEBPACK_IMPORTED_MODULE_6_hoist_non_react_statics___default()(WithWidth, Component);
20248
+ return WithWidth;
20249
+ };
20250
+ };
20251
+
20252
+ /* harmony default export */ __webpack_exports__["a"] = (withWidth);
20253
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
20254
+
20255
+ /***/ }),
20256
+ /* 287 */
20257
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
20258
+
20259
+ "use strict";
20260
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__InputAdornment__ = __webpack_require__(616);
20261
+ /* unused harmony reexport default */
20262
+
20263
+
20264
+ /***/ }),
20265
+ /* 288 */
20266
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
20267
+
20268
+ "use strict";
20269
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Link__ = __webpack_require__(619);
20270
+ /* unused harmony reexport default */
20271
+
20272
+
20273
+ /***/ }),
20274
+ /* 289 */
20275
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
20276
+
20277
+ "use strict";
20278
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ListItemAvatar__ = __webpack_require__(622);
20279
+ /* unused harmony reexport default */
20280
+
20281
+
20282
+ /***/ }),
20283
+ /* 290 */
20284
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
20285
+
20286
+ "use strict";
20287
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ListItemIcon__ = __webpack_require__(623);
20288
+ /* unused harmony reexport default */
20289
+
20290
+
20291
+ /***/ }),
20292
+ /* 291 */
20293
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
20294
+
20295
+ "use strict";
20296
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ListItemSecondaryAction__ = __webpack_require__(624);
20297
+ /* unused harmony reexport default */
20298
+
20299
+
20300
+ /***/ }),
20301
+ /* 292 */
20302
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
20303
+
20304
+ "use strict";
20305
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ListItemText__ = __webpack_require__(625);
20306
+ /* unused harmony reexport default */
20307
+
20308
+
20309
+ /***/ }),
20310
+ /* 293 */
20311
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
20312
+
20313
+ "use strict";
20314
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Menu__ = __webpack_require__(294);
20315
+ /* unused harmony reexport default */
20316
+
20317
+
20318
+ /***/ }),
20319
+ /* 294 */
20320
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
20321
+
20322
+ "use strict";
20323
+ /* WEBPACK VAR INJECTION */(function(process) {/* unused harmony export styles */
20324
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
20325
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_objectWithoutProperties__ = __webpack_require__(4);
20326
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react__ = __webpack_require__(0);
20327
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react__);
20328
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react_is__ = __webpack_require__(15);
20329
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react_is___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_react_is__);
20330
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types__ = __webpack_require__(2);
20331
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_prop_types__);
20332
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_clsx__ = __webpack_require__(5);
20333
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__material_ui_utils__ = __webpack_require__(7);
20334
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__styles_withStyles__ = __webpack_require__(6);
20335
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__Popover__ = __webpack_require__(151);
20336
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__MenuList__ = __webpack_require__(152);
20337
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_react_dom__ = __webpack_require__(11);
20338
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_10_react_dom__);
20339
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__utils_setRef__ = __webpack_require__(48);
20340
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__styles_useTheme__ = __webpack_require__(17);
20341
+
20342
+
20343
+
20344
+
20345
+
20346
+
20347
+
20348
+
20349
+
20350
+
20351
+
20352
+
20353
+
20354
+ var RTL_ORIGIN = {
20355
+ vertical: 'top',
20356
+ horizontal: 'right'
20357
+ };
20358
+ var LTR_ORIGIN = {
20359
+ vertical: 'top',
20360
+ horizontal: 'left'
20361
+ };
20362
+ var styles = {
20363
+ /* Styles applied to the `Paper` component. */
20364
+ paper: {
20365
+ // specZ: The maximum height of a simple menu should be one or more rows less than the view
20366
+ // height. This ensures a tapable area outside of the simple menu with which to dismiss
20367
+ // the menu.
20368
+ maxHeight: 'calc(100% - 96px)',
20369
+ // Add iOS momentum scrolling.
20370
+ WebkitOverflowScrolling: 'touch'
20371
+ },
20372
+
20373
+ /* Styles applied to the `List` component via `MenuList`. */
20374
+ list: {
20375
+ // We disable the focus ring for mouse, touch and keyboard users.
20376
+ outline: 0
20377
+ }
20378
+ };
20379
+ var Menu = /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_2_react__["forwardRef"](function Menu(props, ref) {
20380
+ var _props$autoFocus = props.autoFocus,
20381
+ autoFocus = _props$autoFocus === void 0 ? true : _props$autoFocus,
20382
+ children = props.children,
20383
+ classes = props.classes,
20384
+ _props$disableAutoFoc = props.disableAutoFocusItem,
20385
+ disableAutoFocusItem = _props$disableAutoFoc === void 0 ? false : _props$disableAutoFoc,
20386
+ _props$MenuListProps = props.MenuListProps,
20387
+ MenuListProps = _props$MenuListProps === void 0 ? {} : _props$MenuListProps,
20388
+ onClose = props.onClose,
20389
+ onEntering = props.onEntering,
20390
+ open = props.open,
20391
+ _props$PaperProps = props.PaperProps,
20392
+ PaperProps = _props$PaperProps === void 0 ? {} : _props$PaperProps,
20393
+ PopoverClasses = props.PopoverClasses,
20394
+ _props$transitionDura = props.transitionDuration,
20395
+ transitionDuration = _props$transitionDura === void 0 ? 'auto' : _props$transitionDura,
20396
+ _props$variant = props.variant,
20397
+ variant = _props$variant === void 0 ? 'selectedMenu' : _props$variant,
20398
+ other = Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_objectWithoutProperties__["a" /* default */])(props, ["autoFocus", "children", "classes", "disableAutoFocusItem", "MenuListProps", "onClose", "onEntering", "open", "PaperProps", "PopoverClasses", "transitionDuration", "variant"]);
20399
+
20400
+ var theme = Object(__WEBPACK_IMPORTED_MODULE_12__styles_useTheme__["a" /* default */])();
20401
+ var autoFocusItem = autoFocus && !disableAutoFocusItem && open;
20402
+ var menuListActionsRef = __WEBPACK_IMPORTED_MODULE_2_react__["useRef"](null);
20403
+ var contentAnchorRef = __WEBPACK_IMPORTED_MODULE_2_react__["useRef"](null);
20404
+
20405
+ var getContentAnchorEl = function getContentAnchorEl() {
20406
+ return contentAnchorRef.current;
20407
+ };
20408
+
20409
+ var handleEntering = function handleEntering(element, isAppearing) {
20410
+ if (menuListActionsRef.current) {
20411
+ menuListActionsRef.current.adjustStyleForScrollbar(element, theme);
20412
+ }
20413
+
20414
+ if (onEntering) {
20415
+ onEntering(element, isAppearing);
20416
+ }
20417
+ };
20418
+
20419
+ var handleListKeyDown = function handleListKeyDown(event) {
20420
+ if (event.key === 'Tab') {
20421
+ event.preventDefault();
20422
+
20423
+ if (onClose) {
20424
+ onClose(event, 'tabKeyDown');
20425
+ }
20426
+ }
20427
+ };
20428
+ /**
20429
+ * the index of the item should receive focus
20430
+ * in a `variant="selectedMenu"` it's the first `selected` item
20431
+ * otherwise it's the very first item.
20432
+ */
20433
+
20434
+
20435
+ var activeItemIndex = -1; // since we inject focus related props into children we have to do a lookahead
20436
+ // to check if there is a `selected` item. We're looking for the last `selected`
20437
+ // item and use the first valid item as a fallback
20438
+
20439
+ __WEBPACK_IMPORTED_MODULE_2_react__["Children"].map(children, function (child, index) {
20440
+ if (! /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_2_react__["isValidElement"](child)) {
20441
+ return;
20442
+ }
20443
+
20444
+ if (process.env.NODE_ENV !== 'production') {
20445
+ if (Object(__WEBPACK_IMPORTED_MODULE_3_react_is__["isFragment"])(child)) {
20446
+ console.error(["Material-UI: The Menu component doesn't accept a Fragment as a child.", 'Consider providing an array instead.'].join('\n'));
20447
+ }
20448
+ }
20449
+
20450
+ if (!child.props.disabled) {
20451
+ if (variant !== "menu" && child.props.selected) {
20452
+ activeItemIndex = index;
20453
+ } else if (activeItemIndex === -1) {
20454
+ activeItemIndex = index;
20455
+ }
20456
+ }
20457
+ });
20458
+ var items = __WEBPACK_IMPORTED_MODULE_2_react__["Children"].map(children, function (child, index) {
20459
+ if (index === activeItemIndex) {
20460
+ return /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_2_react__["cloneElement"](child, {
20461
+ ref: function ref(instance) {
20462
+ // #StrictMode ready
20463
+ contentAnchorRef.current = __WEBPACK_IMPORTED_MODULE_10_react_dom__["findDOMNode"](instance);
20464
+ Object(__WEBPACK_IMPORTED_MODULE_11__utils_setRef__["a" /* default */])(child.ref, instance);
20465
+ }
20466
+ });
20467
+ }
20468
+
20469
+ return child;
20470
+ });
20471
+ return /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_2_react__["createElement"](__WEBPACK_IMPORTED_MODULE_8__Popover__["a" /* default */], Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({
20472
+ getContentAnchorEl: getContentAnchorEl,
20473
+ classes: PopoverClasses,
20474
+ onClose: onClose,
20475
+ onEntering: handleEntering,
20476
+ anchorOrigin: theme.direction === 'rtl' ? RTL_ORIGIN : LTR_ORIGIN,
20477
+ transformOrigin: theme.direction === 'rtl' ? RTL_ORIGIN : LTR_ORIGIN,
20478
+ PaperProps: Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({}, PaperProps, {
20479
+ classes: Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({}, PaperProps.classes, {
20480
+ root: classes.paper
20481
+ })
20482
+ }),
20483
+ open: open,
20484
+ ref: ref,
20485
+ transitionDuration: transitionDuration
20486
+ }, other), /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_2_react__["createElement"](__WEBPACK_IMPORTED_MODULE_9__MenuList__["a" /* default */], Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({
20487
+ onKeyDown: handleListKeyDown,
20488
+ actions: menuListActionsRef,
20489
+ autoFocus: autoFocus && (activeItemIndex === -1 || disableAutoFocusItem),
20490
+ autoFocusItem: autoFocusItem,
20491
+ variant: variant
20492
+ }, MenuListProps, {
20493
+ className: Object(__WEBPACK_IMPORTED_MODULE_5_clsx__["a" /* default */])(classes.list, MenuListProps.className)
20494
+ }), items));
20495
+ });
20496
+ process.env.NODE_ENV !== "production" ? Menu.propTypes = {
20497
+ // ----------------------------- Warning --------------------------------
20498
+ // | These PropTypes are generated from the TypeScript type definitions |
20499
+ // | To update them edit the d.ts file and run "yarn proptypes" |
20500
+ // ----------------------------------------------------------------------
20501
+
20502
+ /**
20503
+ * A HTML element, or a function that returns it.
20504
+ * It's used to set the position of the menu.
20505
+ */
20506
+ anchorEl: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a
20507
+ /* @typescript-to-proptypes-ignore */
20508
+ .oneOfType([__WEBPACK_IMPORTED_MODULE_6__material_ui_utils__["a" /* HTMLElementType */], __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.func]),
20509
+
20510
+ /**
20511
+ * If `true` (Default) will focus the `[role="menu"]` if no focusable child is found. Disabled
20512
+ * children are not focusable. If you set this prop to `false` focus will be placed
20513
+ * on the parent modal container. This has severe accessibility implications
20514
+ * and should only be considered if you manage focus otherwise.
20515
+ */
20516
+ autoFocus: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.bool,
20517
+
20518
+ /**
20519
+ * Menu contents, normally `MenuItem`s.
20520
+ */
20521
+ children: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.node,
20522
+
20523
+ /**
20524
+ * Override or extend the styles applied to the component.
20525
+ * See [CSS API](#css) below for more details.
20526
+ */
20527
+ classes: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.object,
20528
+
20529
+ /**
20530
+ * When opening the menu will not focus the active item but the `[role="menu"]`
20531
+ * unless `autoFocus` is also set to `false`. Not using the default means not
20532
+ * following WAI-ARIA authoring practices. Please be considerate about possible
20533
+ * accessibility implications.
20534
+ */
20535
+ disableAutoFocusItem: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.bool,
20536
+
20537
+ /**
20538
+ * Props applied to the [`MenuList`](/api/menu-list/) element.
20539
+ */
20540
+ MenuListProps: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.object,
20541
+
20542
+ /**
20543
+ * Callback fired when the component requests to be closed.
20544
+ *
20545
+ * @param {object} event The event source of the callback.
20546
+ * @param {string} reason Can be: `"escapeKeyDown"`, `"backdropClick"`, `"tabKeyDown"`.
20547
+ */
20548
+ onClose: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.func,
20549
+
20550
+ /**
20551
+ * Callback fired before the Menu enters.
20552
+ */
20553
+ onEnter: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.func,
20554
+
20555
+ /**
20556
+ * Callback fired when the Menu has entered.
20557
+ */
20558
+ onEntered: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.func,
20559
+
20560
+ /**
20561
+ * Callback fired when the Menu is entering.
20562
+ */
20563
+ onEntering: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.func,
20564
+
20565
+ /**
20566
+ * Callback fired before the Menu exits.
20567
+ */
20568
+ onExit: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.func,
20569
+
20570
+ /**
20571
+ * Callback fired when the Menu has exited.
20572
+ */
20573
+ onExited: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.func,
20574
+
20575
+ /**
20576
+ * Callback fired when the Menu is exiting.
20577
+ */
20578
+ onExiting: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.func,
20579
+
20580
+ /**
20581
+ * If `true`, the menu is visible.
20582
+ */
20583
+ open: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.bool.isRequired,
20584
+
20585
+ /**
20586
+ * @ignore
20587
+ */
20588
+ PaperProps: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.object,
20589
+
20590
+ /**
20591
+ * `classes` prop applied to the [`Popover`](/api/popover/) element.
20592
+ */
20593
+ PopoverClasses: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.object,
20594
+
20595
+ /**
20596
+ * The length of the transition in `ms`, or 'auto'
20597
+ */
20598
+ transitionDuration: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.oneOfType([__WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.oneOf(['auto']), __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.number, __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.shape({
20599
+ appear: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.number,
20600
+ enter: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.number,
20601
+ exit: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.number
20602
+ })]),
20603
+
20604
+ /**
20605
+ * The variant to use. Use `menu` to prevent selected items from impacting the initial focus
20606
+ * and the vertical alignment relative to the anchor element.
20607
+ */
20608
+ variant: __WEBPACK_IMPORTED_MODULE_4_prop_types___default.a.oneOf(['menu', 'selectedMenu'])
20609
+ } : void 0;
20610
+ /* harmony default export */ __webpack_exports__["a"] = (Object(__WEBPACK_IMPORTED_MODULE_7__styles_withStyles__["a" /* default */])(styles, {
20611
+ name: 'MuiMenu'
20612
+ })(Menu));
20613
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
20614
+
20615
+ /***/ }),
20616
+ /* 295 */
20617
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
20618
+
20619
+ "use strict";
20620
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__MobileStepper__ = __webpack_require__(630);
20621
+ /* unused harmony reexport default */
20622
+
20623
+
20624
+ /***/ }),
20625
+ /* 296 */
20626
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
20627
+
20628
+ "use strict";
20629
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__NativeSelect__ = __webpack_require__(297);
20630
+ /* unused harmony reexport default */
20631
+
20632
+
20633
+ /***/ }),
20634
+ /* 297 */
20635
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
20636
+
20637
+ "use strict";
20638
+ /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return styles; });
20639
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
20640
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_objectWithoutProperties__ = __webpack_require__(4);
20641
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react__ = __webpack_require__(0);
20642
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react__);
20643
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types__ = __webpack_require__(2);
20644
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_prop_types__);
20645
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__NativeSelectInput__ = __webpack_require__(298);
20646
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__styles_withStyles__ = __webpack_require__(6);
20647
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__FormControl_formControlState__ = __webpack_require__(62);
20648
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__FormControl_useFormControl__ = __webpack_require__(49);
20649
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__internal_svg_icons_ArrowDropDown__ = __webpack_require__(299);
20650
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__Input__ = __webpack_require__(70);
20651
+
20652
+
20653
+
20654
+
20655
+
20656
+
20657
+
20658
+
20659
+
20660
+
20661
+ var styles = function styles(theme) {
20662
+ return {
20663
+ /* Styles applied to the select component `root` class. */
20664
+ root: {},
20665
+
20666
+ /* Styles applied to the select component `select` class. */
20667
+ select: {
20668
+ '-moz-appearance': 'none',
20669
+ // Reset
20670
+ '-webkit-appearance': 'none',
20671
+ // Reset
20672
+ // When interacting quickly, the text can end up selected.
20673
+ // Native select can't be selected either.
20674
+ userSelect: 'none',
20675
+ borderRadius: 0,
20676
+ // Reset
20677
+ minWidth: 16,
20678
+ // So it doesn't collapse.
20679
+ cursor: 'pointer',
20680
+ '&:focus': {
20681
+ // Show that it's not an text input
20682
+ backgroundColor: theme.palette.type === 'light' ? 'rgba(0, 0, 0, 0.05)' : 'rgba(255, 255, 255, 0.05)',
20683
+ borderRadius: 0 // Reset Chrome style
20684
+
20685
+ },
20686
+ // Remove IE 11 arrow
20687
+ '&::-ms-expand': {
20688
+ display: 'none'
20689
+ },
20690
+ '&$disabled': {
20691
+ cursor: 'default'
20692
+ },
20693
+ '&[multiple]': {
20694
+ height: 'auto'
20695
+ },
20696
+ '&:not([multiple]) option, &:not([multiple]) optgroup': {
20697
+ backgroundColor: theme.palette.background.paper
20698
+ },
20699
+ '&&': {
20700
+ paddingRight: 24
20701
+ }
20702
+ },
20703
+
20704
+ /* Styles applied to the select component if `variant="filled"`. */
20705
+ filled: {
20706
+ '&&': {
20707
+ paddingRight: 32
20708
+ }
20709
+ },
20710
+
20711
+ /* Styles applied to the select component if `variant="outlined"`. */
20712
+ outlined: {
20713
+ borderRadius: theme.shape.borderRadius,
20714
+ '&&': {
20715
+ paddingRight: 32
20716
+ }
20717
+ },
20718
+
20719
+ /* Styles applied to the select component `selectMenu` class. */
20720
+ selectMenu: {
20721
+ height: 'auto',
20722
+ // Resets for multpile select with chips
20723
+ minHeight: '1.1876em',
20724
+ // Required for select\text-field height consistency
20725
+ textOverflow: 'ellipsis',
20726
+ whiteSpace: 'nowrap',
20727
+ overflow: 'hidden'
20728
+ },
20729
+
20730
+ /* Pseudo-class applied to the select component `disabled` class. */
20731
+ disabled: {},
20732
+
20733
+ /* Styles applied to the icon component. */
20734
+ icon: {
20735
+ // We use a position absolute over a flexbox in order to forward the pointer events
20736
+ // to the input and to support wrapping tags..
20737
+ position: 'absolute',
20738
+ right: 0,
20739
+ top: 'calc(50% - 12px)',
20740
+ // Center vertically
20741
+ pointerEvents: 'none',
20742
+ // Don't block pointer events on the select under the icon.
20743
+ color: theme.palette.action.active,
20744
+ '&$disabled': {
20745
+ color: theme.palette.action.disabled
20746
+ }
20747
+ },
20748
+
20749
+ /* Styles applied to the icon component if the popup is open. */
20750
+ iconOpen: {
20751
+ transform: 'rotate(180deg)'
20752
+ },
20753
+
20754
+ /* Styles applied to the icon component if `variant="filled"`. */
20755
+ iconFilled: {
20756
+ right: 7
20757
+ },
20758
+
20759
+ /* Styles applied to the icon component if `variant="outlined"`. */
20760
+ iconOutlined: {
20761
+ right: 7
20762
+ },
20763
+
20764
+ /* Styles applied to the underlying native input component. */
20765
+ nativeInput: {
20766
+ bottom: 0,
20767
+ left: 0,
20768
+ position: 'absolute',
20769
+ opacity: 0,
20770
+ pointerEvents: 'none',
20771
+ width: '100%'
20772
+ }
20773
+ };
20774
+ };
20775
+ var defaultInput = /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_2_react__["createElement"](__WEBPACK_IMPORTED_MODULE_9__Input__["a" /* default */], null);
20776
+ /**
20777
+ * An alternative to `<Select native />` with a much smaller bundle size footprint.
20778
+ */
20779
+
20780
+ var NativeSelect = /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_2_react__["forwardRef"](function NativeSelect(props, ref) {
20781
+ var children = props.children,
20782
+ classes = props.classes,
20783
+ _props$IconComponent = props.IconComponent,
20784
+ IconComponent = _props$IconComponent === void 0 ? __WEBPACK_IMPORTED_MODULE_8__internal_svg_icons_ArrowDropDown__["a" /* default */] : _props$IconComponent,
20785
+ _props$input = props.input,
20786
+ input = _props$input === void 0 ? defaultInput : _props$input,
20787
+ inputProps = props.inputProps,
20788
+ variant = props.variant,
20789
+ other = Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_objectWithoutProperties__["a" /* default */])(props, ["children", "classes", "IconComponent", "input", "inputProps", "variant"]);
20790
+
20791
+ var muiFormControl = Object(__WEBPACK_IMPORTED_MODULE_7__FormControl_useFormControl__["a" /* default */])();
20792
+ var fcs = Object(__WEBPACK_IMPORTED_MODULE_6__FormControl_formControlState__["a" /* default */])({
20793
+ props: props,
20794
+ muiFormControl: muiFormControl,
20795
+ states: ['variant']
20796
+ });
20797
+ return /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_2_react__["cloneElement"](input, Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({
20798
+ // Most of the logic is implemented in `NativeSelectInput`.
20799
+ // The `Select` component is a simple API wrapper to expose something better to play with.
20800
+ inputComponent: __WEBPACK_IMPORTED_MODULE_4__NativeSelectInput__["a" /* default */],
20801
+ inputProps: Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({
20802
+ children: children,
20803
+ classes: classes,
20804
+ IconComponent: IconComponent,
20805
+ variant: fcs.variant,
20806
+ type: undefined
20807
+ }, inputProps, input ? input.props.inputProps : {}),
20808
+ ref: ref
20809
+ }, other));
20810
+ });
20811
+ process.env.NODE_ENV !== "production" ? NativeSelect.propTypes = {
20812
+ // ----------------------------- Warning --------------------------------
20813
+ // | These PropTypes are generated from the TypeScript type definitions |
20814
+ // | To update them edit the d.ts file and run "yarn proptypes" |
20815
+ // ----------------------------------------------------------------------
20816
+
20817
+ /**
20818
+ * The option elements to populate the select with.
20819
+ * Can be some `<option>` elements.
20820
+ */
20821
+ children: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.node,
20822
+
20823
+ /**
20824
+ * Override or extend the styles applied to the component.
20825
+ * See [CSS API](#css) below for more details.
20826
+ */
20827
+ classes: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object,
20828
+
20829
+ /**
20830
+ * The icon that displays the arrow.
20831
+ */
20832
+ IconComponent: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.elementType,
20833
+
20834
+ /**
20835
+ * An `Input` element; does not have to be a material-ui specific `Input`.
20836
+ */
20837
+ input: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.element,
20838
+
20839
+ /**
20840
+ * Attributes applied to the `select` element.
20841
+ */
20842
+ inputProps: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object,
20843
+
20844
+ /**
20845
+ * Callback function fired when a menu item is selected.
20846
+ *
20847
+ * @param {object} event The event source of the callback.
20848
+ * You can pull out the new value by accessing `event.target.value` (string).
20849
+ */
20850
+ onChange: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.func,
20851
+
20852
+ /**
20853
+ * The input value. The DOM API casts this to a string.
20854
+ */
20855
+ value: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.any,
20856
+
20857
+ /**
20858
+ * The variant to use.
20859
+ */
20860
+ variant: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.oneOf(['filled', 'outlined', 'standard'])
20861
+ } : void 0;
20862
+ NativeSelect.muiName = 'Select';
20863
+ /* unused harmony default export */ var _unused_webpack_default_export = (Object(__WEBPACK_IMPORTED_MODULE_5__styles_withStyles__["a" /* default */])(styles, {
20864
+ name: 'MuiNativeSelect'
20865
+ })(NativeSelect));
20866
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
20867
+
20868
+ /***/ }),
20869
+ /* 298 */
20870
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
20871
+
20872
+ "use strict";
20873
+ /* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__ = __webpack_require__(3);
20874
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_objectWithoutProperties__ = __webpack_require__(4);
20875
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react__ = __webpack_require__(0);
20876
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react__);
20877
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types__ = __webpack_require__(2);
20878
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_prop_types__);
20879
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_clsx__ = __webpack_require__(5);
20880
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__material_ui_utils__ = __webpack_require__(7);
20881
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__utils_capitalize__ = __webpack_require__(9);
20882
+
20883
+
20884
+
20885
+
20886
+
20887
+
20888
+
20889
+ /**
20890
+ * @ignore - internal component.
20891
+ */
20892
+
20893
+ var NativeSelectInput = /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_2_react__["forwardRef"](function NativeSelectInput(props, ref) {
20894
+ var classes = props.classes,
20895
+ className = props.className,
20896
+ disabled = props.disabled,
20897
+ IconComponent = props.IconComponent,
20898
+ inputRef = props.inputRef,
20899
+ _props$variant = props.variant,
20900
+ variant = _props$variant === void 0 ? 'standard' : _props$variant,
20901
+ other = Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_objectWithoutProperties__["a" /* default */])(props, ["classes", "className", "disabled", "IconComponent", "inputRef", "variant"]);
20902
+
20903
+ return /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_2_react__["createElement"](__WEBPACK_IMPORTED_MODULE_2_react__["Fragment"], null, /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_2_react__["createElement"]("select", Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_extends__["a" /* default */])({
20904
+ className: Object(__WEBPACK_IMPORTED_MODULE_4_clsx__["a" /* default */])(classes.root, // TODO v5: merge root and select
20905
+ classes.select, classes[variant], className, disabled && classes.disabled),
20906
+ disabled: disabled,
20907
+ ref: inputRef || ref
20908
+ }, other)), props.multiple ? null : /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_2_react__["createElement"](IconComponent, {
20909
+ className: Object(__WEBPACK_IMPORTED_MODULE_4_clsx__["a" /* default */])(classes.icon, classes["icon".concat(Object(__WEBPACK_IMPORTED_MODULE_6__utils_capitalize__["a" /* default */])(variant))], disabled && classes.disabled)
20910
+ }));
20911
+ });
20912
+ process.env.NODE_ENV !== "production" ? NativeSelectInput.propTypes = {
20913
+ /**
20914
+ * The option elements to populate the select with.
20915
+ * Can be some `<option>` elements.
20916
+ */
20917
+ children: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.node,
20918
+
20919
+ /**
20920
+ * Override or extend the styles applied to the component.
20921
+ * See [CSS API](#css) below for more details.
20922
+ */
20923
+ classes: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.object.isRequired,
20924
+
20925
+ /**
20926
+ * The CSS class name of the select element.
20927
+ */
20928
+ className: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.string,
20929
+
20930
+ /**
20931
+ * If `true`, the select will be disabled.
20932
+ */
20933
+ disabled: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.bool,
20934
+
20935
+ /**
20936
+ * The icon that displays the arrow.
20937
+ */
20938
+ IconComponent: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.elementType.isRequired,
20939
+
20940
+ /**
20941
+ * Use that prop to pass a ref to the native select element.
20942
+ * @deprecated
20943
+ */
20944
+ inputRef: __WEBPACK_IMPORTED_MODULE_5__material_ui_utils__["j" /* refType */],
20945
+
20946
+ /**
20947
+ * @ignore
20948
+ */
20949
+ multiple: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.bool,
20950
+
20951
+ /**
20952
+ * Name attribute of the `select` or hidden `input` element.
20953
+ */
20954
+ name: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.string,
20955
+
20956
+ /**
20957
+ * Callback function fired when a menu item is selected.
20958
+ *
20959
+ * @param {object} event The event source of the callback.
20960
+ * You can pull out the new value by accessing `event.target.value` (string).
20961
+ */
20962
+ onChange: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.func,
20963
+
20964
+ /**
20965
+ * The input value.
20966
+ */
20967
+ value: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.any,
20968
+
20969
+ /**
20970
+ * The variant to use.
20971
+ */
20972
+ variant: __WEBPACK_IMPORTED_MODULE_3_prop_types___default.a.oneOf(['standard', 'outlined', 'filled'])
20973
+ } : void 0;
20974
+ /* harmony default export */ __webpack_exports__["a"] = (NativeSelectInput);
20975
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(1)))
20976
+
20977
+ /***/ }),
20978
+ /* 299 */
20979
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
20980
+
20981
+ "use strict";
20982
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
20983
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
20984
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__utils_createSvgIcon__ = __webpack_require__(21);
20985
+
20986
+
20987
+ /**
20988
+ * @ignore - internal component.
20989
+ */
20990
+
20991
+ /* harmony default export */ __webpack_exports__["a"] = (Object(__WEBPACK_IMPORTED_MODULE_1__utils_createSvgIcon__["a" /* default */])( /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_0_react__["createElement"]("path", {
20992
+ d: "M7 10l5 5 5-5z"
20993
+ }), 'ArrowDropDown'));
20994
+
20995
+ /***/ }),
20996
+ /* 300 */
20997
+ /***/ (function(module, exports) {
20998
+
20999
+ var g;
21000
 
21001
+ // This works in non-strict mode
21002
+ g = (function() {
21003
+ return this;
21004
+ })();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21005
 
21006
+ try {
21007
+ // This works if eval is allowed (see CSP)
21008
+ g = g || Function("return this")() || (1,eval)("this");
21009
+ } catch(e) {
21010
+ // This works if the window reference is available
21011
+ if(typeof window === "object")
21012
+ g = window;
21013
  }
 
 
 
 
 
 
 
 
21014
 
21015
+ // g can still be undefined, but nothing to do about it...
21016
+ // We return undefined, instead of nothing here, so it's
21017
+ // easier to handle this case. if(!global) { ...}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21018