@hexure/ui 1.3.4 → 1.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +2248 -2095
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/FileUpload/FileUpload.d.ts +23 -0
- package/dist/cjs/types/components/FileUpload/index.d.ts +1 -0
- package/dist/cjs/types/index.d.ts +2 -0
- package/dist/esm/index.js +2221 -2070
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/FileUpload/FileUpload.d.ts +23 -0
- package/dist/esm/types/components/FileUpload/index.d.ts +1 -0
- package/dist/esm/types/index.d.ts +2 -0
- package/dist/index.d.ts +80 -53
- package/package.json +90 -90
- package/dist/cjs/types/components/Accordion/Accordion.stories.d.ts +0 -5
- package/dist/cjs/types/components/ActionDialog/ActionDialog.stories.d.ts +0 -5
- package/dist/cjs/types/components/ActionDialog/ActionDialog.test.d.ts +0 -1
- package/dist/cjs/types/components/Alert/Alert.stories.d.ts +0 -5
- package/dist/cjs/types/components/BulkActionBar/BulkActionBar.stories.d.ts +0 -5
- package/dist/cjs/types/components/Button/Button.stories.d.ts +0 -5
- package/dist/cjs/types/components/Checkbox/Checkbox.stories.d.ts +0 -5
- package/dist/cjs/types/components/Checklist/Checklist.stories.d.ts +0 -5
- package/dist/cjs/types/components/Copy/Copy.stories.d.ts +0 -5
- package/dist/cjs/types/components/DatePicker/DatePicker.stories.d.ts +0 -5
- package/dist/cjs/types/components/Drawer/Drawer.stories.d.ts +0 -5
- package/dist/cjs/types/components/Field/Field.stories.d.ts +0 -5
- package/dist/cjs/types/components/Heading/Heading.stories.d.ts +0 -5
- package/dist/cjs/types/components/Input/Input.stories.d.ts +0 -5
- package/dist/cjs/types/components/Logo/Logo.stories.d.ts +0 -5
- package/dist/cjs/types/components/Modal/Modal.stories.d.ts +0 -5
- package/dist/cjs/types/components/MoreMenu/MoreMenu.stories.d.ts +0 -5
- package/dist/cjs/types/components/Multiselect/MultiSelect.stories.d.ts +0 -5
- package/dist/cjs/types/components/Pagination/Pagination.stories.d.ts +0 -5
- package/dist/cjs/types/components/Radio/Radio.stories.d.ts +0 -5
- package/dist/cjs/types/components/RadioList/RadioList.stories.d.ts +0 -5
- package/dist/cjs/types/components/Select/Select.stories.d.ts +0 -5
- package/dist/cjs/types/components/Table/Table.stories.d.ts +0 -5
- package/dist/cjs/types/components/Tabs/Tabs.stories.d.ts +0 -5
- package/dist/cjs/types/components/Tag/Tag.stories.d.ts +0 -5
- package/dist/cjs/types/components/Toggle/Toggle.stories.d.ts +0 -5
- package/dist/cjs/types/components/ZeroState/ZeroState.stories.d.ts +0 -5
- package/dist/esm/types/components/Accordion/Accordion.stories.d.ts +0 -5
- package/dist/esm/types/components/ActionDialog/ActionDialog.stories.d.ts +0 -5
- package/dist/esm/types/components/ActionDialog/ActionDialog.test.d.ts +0 -1
- package/dist/esm/types/components/Alert/Alert.stories.d.ts +0 -5
- package/dist/esm/types/components/BulkActionBar/BulkActionBar.stories.d.ts +0 -5
- package/dist/esm/types/components/Button/Button.stories.d.ts +0 -5
- package/dist/esm/types/components/Checkbox/Checkbox.stories.d.ts +0 -5
- package/dist/esm/types/components/Checklist/Checklist.stories.d.ts +0 -5
- package/dist/esm/types/components/Copy/Copy.stories.d.ts +0 -5
- package/dist/esm/types/components/DatePicker/DatePicker.stories.d.ts +0 -5
- package/dist/esm/types/components/Drawer/Drawer.stories.d.ts +0 -5
- package/dist/esm/types/components/Field/Field.stories.d.ts +0 -5
- package/dist/esm/types/components/Heading/Heading.stories.d.ts +0 -5
- package/dist/esm/types/components/Input/Input.stories.d.ts +0 -5
- package/dist/esm/types/components/Logo/Logo.stories.d.ts +0 -5
- package/dist/esm/types/components/Modal/Modal.stories.d.ts +0 -5
- package/dist/esm/types/components/MoreMenu/MoreMenu.stories.d.ts +0 -5
- package/dist/esm/types/components/Multiselect/MultiSelect.stories.d.ts +0 -5
- package/dist/esm/types/components/Pagination/Pagination.stories.d.ts +0 -5
- package/dist/esm/types/components/Radio/Radio.stories.d.ts +0 -5
- package/dist/esm/types/components/RadioList/RadioList.stories.d.ts +0 -5
- package/dist/esm/types/components/Select/Select.stories.d.ts +0 -5
- package/dist/esm/types/components/Table/Table.stories.d.ts +0 -5
- package/dist/esm/types/components/Tabs/Tabs.stories.d.ts +0 -5
- package/dist/esm/types/components/Tag/Tag.stories.d.ts +0 -5
- package/dist/esm/types/components/Toggle/Toggle.stories.d.ts +0 -5
- package/dist/esm/types/components/ZeroState/ZeroState.stories.d.ts +0 -5
- /package/dist/cjs/types/components/{Multiselect → MultiSelect}/MultiSelect.d.ts +0 -0
- /package/dist/cjs/types/components/{Multiselect → MultiSelect}/index.d.ts +0 -0
- /package/dist/esm/types/components/{Multiselect → MultiSelect}/MultiSelect.d.ts +0 -0
- /package/dist/esm/types/components/{Multiselect → MultiSelect}/index.d.ts +0 -0
package/dist/esm/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React, { useRef, useDebugValue, useContext, createElement, useEffect, useState } from 'react';
|
|
2
|
-
import Icon from '@mdi/react';
|
|
3
|
-
import { mdiChevronUp, mdiChevronDown, mdiInformationOutline, mdiAlertOctagonOutline, mdiAlertOutline, mdiCheckboxMarkedCircleOutline, mdiClose, mdiChevronLeft, mdiChevronRight, mdiCheck } from '@mdi/js';
|
|
4
|
-
import Numeral from 'numeral';
|
|
5
|
-
import 'moment';
|
|
6
|
-
|
|
1
|
+
import React, { useRef, useDebugValue, useContext, createElement, useEffect, useState } from 'react';
|
|
2
|
+
import Icon from '@mdi/react';
|
|
3
|
+
import { mdiChevronUp, mdiChevronDown, mdiInformationOutline, mdiAlertOctagonOutline, mdiAlertOutline, mdiCheckboxMarkedCircleOutline, mdiClose, mdiMinusCircle, mdiFolderPlusOutline, mdiChevronLeft, mdiChevronRight, mdiCheck } from '@mdi/js';
|
|
4
|
+
import Numeral from 'numeral';
|
|
5
|
+
import 'moment';
|
|
6
|
+
|
|
7
7
|
/******************************************************************************
|
|
8
8
|
Copyright (c) Microsoft Corporation.
|
|
9
9
|
|
|
@@ -17,1969 +17,1978 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
|
17
17
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
18
18
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
19
19
|
PERFORMANCE OF THIS SOFTWARE.
|
|
20
|
-
***************************************************************************** */
|
|
21
|
-
/* global Reflect, Promise */
|
|
22
|
-
|
|
23
|
-
var __assign = function () {
|
|
24
|
-
__assign = Object.assign || function __assign(t) {
|
|
25
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
26
|
-
s = arguments[i];
|
|
27
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
28
|
-
}
|
|
29
|
-
return t;
|
|
30
|
-
};
|
|
31
|
-
return __assign.apply(this, arguments);
|
|
32
|
-
};
|
|
33
|
-
function __rest(s, e) {
|
|
34
|
-
var t = {};
|
|
35
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
36
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
37
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
38
|
-
}
|
|
39
|
-
return t;
|
|
40
|
-
}
|
|
41
|
-
function
|
|
42
|
-
if (
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
reactIs_production_min$1.
|
|
129
|
-
reactIs_production_min$1.
|
|
130
|
-
reactIs_production_min$1.
|
|
131
|
-
reactIs_production_min$1.
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
reactIs_production_min$1.
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
reactIs_production_min$1.
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
reactIs_production_min$1.
|
|
141
|
-
return
|
|
142
|
-
};
|
|
143
|
-
reactIs_production_min$1.
|
|
144
|
-
return
|
|
145
|
-
};
|
|
146
|
-
reactIs_production_min$1.
|
|
147
|
-
return v(a) ===
|
|
148
|
-
};
|
|
149
|
-
reactIs_production_min$1.
|
|
150
|
-
return v(a) ===
|
|
151
|
-
};
|
|
152
|
-
reactIs_production_min$1.
|
|
153
|
-
return
|
|
154
|
-
};
|
|
155
|
-
reactIs_production_min$1.
|
|
156
|
-
return v(a) ===
|
|
157
|
-
};
|
|
158
|
-
reactIs_production_min$1.
|
|
159
|
-
return v(a) ===
|
|
160
|
-
};
|
|
161
|
-
reactIs_production_min$1.
|
|
162
|
-
return v(a) ===
|
|
163
|
-
};
|
|
164
|
-
reactIs_production_min$1.
|
|
165
|
-
return v(a) ===
|
|
166
|
-
};
|
|
167
|
-
reactIs_production_min$1.
|
|
168
|
-
return v(a) ===
|
|
169
|
-
};
|
|
170
|
-
reactIs_production_min$1.
|
|
171
|
-
return v(a) ===
|
|
172
|
-
};
|
|
173
|
-
reactIs_production_min$1.
|
|
174
|
-
return
|
|
175
|
-
};
|
|
176
|
-
reactIs_production_min$1.
|
|
177
|
-
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
var
|
|
212
|
-
var
|
|
213
|
-
var
|
|
214
|
-
var
|
|
215
|
-
var
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
var
|
|
220
|
-
var
|
|
221
|
-
var
|
|
222
|
-
|
|
223
|
-
var
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
var
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
var
|
|
296
|
-
var
|
|
297
|
-
var
|
|
298
|
-
var
|
|
299
|
-
var
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
return
|
|
329
|
-
}
|
|
330
|
-
function
|
|
331
|
-
return typeOf(object) ===
|
|
332
|
-
}
|
|
333
|
-
function
|
|
334
|
-
return typeOf(object) ===
|
|
335
|
-
}
|
|
336
|
-
function
|
|
337
|
-
return
|
|
338
|
-
}
|
|
339
|
-
function
|
|
340
|
-
return typeOf(object) ===
|
|
341
|
-
}
|
|
342
|
-
function
|
|
343
|
-
return typeOf(object) ===
|
|
344
|
-
}
|
|
345
|
-
function
|
|
346
|
-
return typeOf(object) ===
|
|
347
|
-
}
|
|
348
|
-
function
|
|
349
|
-
return typeOf(object) ===
|
|
350
|
-
}
|
|
351
|
-
function
|
|
352
|
-
return typeOf(object) ===
|
|
353
|
-
}
|
|
354
|
-
function
|
|
355
|
-
return typeOf(object) ===
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
reactIs_development$1.
|
|
367
|
-
reactIs_development$1.
|
|
368
|
-
reactIs_development$1.
|
|
369
|
-
reactIs_development$1.
|
|
370
|
-
reactIs_development$1.
|
|
371
|
-
reactIs_development$1.
|
|
372
|
-
reactIs_development$1.
|
|
373
|
-
reactIs_development$1.
|
|
374
|
-
reactIs_development$1.
|
|
375
|
-
reactIs_development$1.
|
|
376
|
-
reactIs_development$1.
|
|
377
|
-
reactIs_development$1.
|
|
378
|
-
reactIs_development$1.
|
|
379
|
-
reactIs_development$1.
|
|
380
|
-
reactIs_development$1.
|
|
381
|
-
reactIs_development$1.
|
|
382
|
-
reactIs_development$1.
|
|
383
|
-
reactIs_development$1.
|
|
384
|
-
reactIs_development$1.
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
break;
|
|
567
|
-
case
|
|
568
|
-
|
|
569
|
-
break;
|
|
570
|
-
case
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
case
|
|
595
|
-
0 === n
|
|
596
|
-
break;
|
|
597
|
-
case
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
case
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
case
|
|
709
|
-
return '-webkit-' + a + a;
|
|
710
|
-
case
|
|
711
|
-
return
|
|
712
|
-
case
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
case
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
case
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
var
|
|
943
|
-
return
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
}
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
var
|
|
950
|
-
|
|
951
|
-
var
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
reactIs_production_min.
|
|
1027
|
-
reactIs_production_min.
|
|
1028
|
-
reactIs_production_min.
|
|
1029
|
-
reactIs_production_min.
|
|
1030
|
-
reactIs_production_min.
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
reactIs_production_min.
|
|
1034
|
-
reactIs_production_min.
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
reactIs_production_min.
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
reactIs_production_min.
|
|
1044
|
-
return z(a) ===
|
|
1045
|
-
};
|
|
1046
|
-
reactIs_production_min.
|
|
1047
|
-
return z(a) ===
|
|
1048
|
-
};
|
|
1049
|
-
reactIs_production_min.
|
|
1050
|
-
return
|
|
1051
|
-
};
|
|
1052
|
-
reactIs_production_min.
|
|
1053
|
-
return z(a) ===
|
|
1054
|
-
};
|
|
1055
|
-
reactIs_production_min.
|
|
1056
|
-
return z(a) ===
|
|
1057
|
-
};
|
|
1058
|
-
reactIs_production_min.
|
|
1059
|
-
return z(a) ===
|
|
1060
|
-
};
|
|
1061
|
-
reactIs_production_min.
|
|
1062
|
-
return z(a) ===
|
|
1063
|
-
};
|
|
1064
|
-
reactIs_production_min.
|
|
1065
|
-
return z(a) ===
|
|
1066
|
-
};
|
|
1067
|
-
reactIs_production_min.
|
|
1068
|
-
return
|
|
1069
|
-
};
|
|
1070
|
-
reactIs_production_min.
|
|
1071
|
-
|
|
1072
|
-
}
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
//
|
|
1102
|
-
|
|
1103
|
-
var
|
|
1104
|
-
var
|
|
1105
|
-
var
|
|
1106
|
-
var
|
|
1107
|
-
var
|
|
1108
|
-
var
|
|
1109
|
-
var
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
var
|
|
1113
|
-
var
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
var
|
|
1163
|
-
var
|
|
1164
|
-
var
|
|
1165
|
-
var
|
|
1166
|
-
var
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
return typeOf(object) ===
|
|
1186
|
-
}
|
|
1187
|
-
function
|
|
1188
|
-
return
|
|
1189
|
-
}
|
|
1190
|
-
function
|
|
1191
|
-
return typeOf(object) ===
|
|
1192
|
-
}
|
|
1193
|
-
function
|
|
1194
|
-
return typeOf(object) ===
|
|
1195
|
-
}
|
|
1196
|
-
function
|
|
1197
|
-
return
|
|
1198
|
-
}
|
|
1199
|
-
function
|
|
1200
|
-
return typeOf(object) ===
|
|
1201
|
-
}
|
|
1202
|
-
function
|
|
1203
|
-
return typeOf(object) ===
|
|
1204
|
-
}
|
|
1205
|
-
function
|
|
1206
|
-
return typeOf(object) ===
|
|
1207
|
-
}
|
|
1208
|
-
function
|
|
1209
|
-
return typeOf(object) ===
|
|
1210
|
-
}
|
|
1211
|
-
function
|
|
1212
|
-
return typeOf(object) ===
|
|
1213
|
-
}
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
reactIs_development.
|
|
1224
|
-
reactIs_development.
|
|
1225
|
-
reactIs_development.
|
|
1226
|
-
reactIs_development.
|
|
1227
|
-
reactIs_development.
|
|
1228
|
-
reactIs_development.
|
|
1229
|
-
reactIs_development.
|
|
1230
|
-
reactIs_development.
|
|
1231
|
-
reactIs_development.
|
|
1232
|
-
reactIs_development.
|
|
1233
|
-
reactIs_development.
|
|
1234
|
-
reactIs_development.
|
|
1235
|
-
reactIs_development.
|
|
1236
|
-
reactIs_development.
|
|
1237
|
-
reactIs_development.
|
|
1238
|
-
reactIs_development.
|
|
1239
|
-
reactIs_development.
|
|
1240
|
-
reactIs_development.
|
|
1241
|
-
reactIs_development.
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
}
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
};
|
|
1282
|
-
var
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
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
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
function
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
}
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
}
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
var
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
this.groupSizes
|
|
1425
|
-
for (var
|
|
1426
|
-
}
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
if (e
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
},
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
this.
|
|
1515
|
-
}
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
}
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
}
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
return e
|
|
1537
|
-
},
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
}
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
}
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
}, t.
|
|
1578
|
-
this.names.has(e) && this.names.get(e).
|
|
1579
|
-
}, t.
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
if (
|
|
1649
|
-
var
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
}
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
function
|
|
1735
|
-
|
|
1736
|
-
}
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
var
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
}
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
function
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
}
|
|
1788
|
-
var
|
|
1789
|
-
return
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
}
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
console.error =
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
}
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
function
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
function
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
var
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
i
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
}
|
|
1948
|
-
}
|
|
1949
|
-
}(v, g)
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
}
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
};
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
})
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
20
|
+
***************************************************************************** */
|
|
21
|
+
/* global Reflect, Promise */
|
|
22
|
+
|
|
23
|
+
var __assign = function () {
|
|
24
|
+
__assign = Object.assign || function __assign(t) {
|
|
25
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
26
|
+
s = arguments[i];
|
|
27
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
28
|
+
}
|
|
29
|
+
return t;
|
|
30
|
+
};
|
|
31
|
+
return __assign.apply(this, arguments);
|
|
32
|
+
};
|
|
33
|
+
function __rest(s, e) {
|
|
34
|
+
var t = {};
|
|
35
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
36
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
37
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
38
|
+
}
|
|
39
|
+
return t;
|
|
40
|
+
}
|
|
41
|
+
function __spreadArray(to, from, pack) {
|
|
42
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
43
|
+
if (ar || !(i in from)) {
|
|
44
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
45
|
+
ar[i] = from[i];
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
49
|
+
}
|
|
50
|
+
function __makeTemplateObject(cooked, raw) {
|
|
51
|
+
if (Object.defineProperty) {
|
|
52
|
+
Object.defineProperty(cooked, "raw", {
|
|
53
|
+
value: raw
|
|
54
|
+
});
|
|
55
|
+
} else {
|
|
56
|
+
cooked.raw = raw;
|
|
57
|
+
}
|
|
58
|
+
return cooked;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
function getDefaultExportFromCjs (x) {
|
|
62
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
var reactIs$2 = {exports: {}};
|
|
66
|
+
|
|
67
|
+
var reactIs_production_min$1 = {};
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* @license React
|
|
71
|
+
* react-is.production.min.js
|
|
72
|
+
*
|
|
73
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
74
|
+
*
|
|
75
|
+
* This source code is licensed under the MIT license found in the
|
|
76
|
+
* LICENSE file in the root directory of this source tree.
|
|
77
|
+
*/
|
|
78
|
+
var hasRequiredReactIs_production_min$1;
|
|
79
|
+
function requireReactIs_production_min$1() {
|
|
80
|
+
if (hasRequiredReactIs_production_min$1) return reactIs_production_min$1;
|
|
81
|
+
hasRequiredReactIs_production_min$1 = 1;
|
|
82
|
+
var b = Symbol.for("react.element"),
|
|
83
|
+
c = Symbol.for("react.portal"),
|
|
84
|
+
d = Symbol.for("react.fragment"),
|
|
85
|
+
e = Symbol.for("react.strict_mode"),
|
|
86
|
+
f = Symbol.for("react.profiler"),
|
|
87
|
+
g = Symbol.for("react.provider"),
|
|
88
|
+
h = Symbol.for("react.context"),
|
|
89
|
+
k = Symbol.for("react.server_context"),
|
|
90
|
+
l = Symbol.for("react.forward_ref"),
|
|
91
|
+
m = Symbol.for("react.suspense"),
|
|
92
|
+
n = Symbol.for("react.suspense_list"),
|
|
93
|
+
p = Symbol.for("react.memo"),
|
|
94
|
+
q = Symbol.for("react.lazy"),
|
|
95
|
+
t = Symbol.for("react.offscreen"),
|
|
96
|
+
u;
|
|
97
|
+
u = Symbol.for("react.module.reference");
|
|
98
|
+
function v(a) {
|
|
99
|
+
if ("object" === typeof a && null !== a) {
|
|
100
|
+
var r = a.$$typeof;
|
|
101
|
+
switch (r) {
|
|
102
|
+
case b:
|
|
103
|
+
switch (a = a.type, a) {
|
|
104
|
+
case d:
|
|
105
|
+
case f:
|
|
106
|
+
case e:
|
|
107
|
+
case m:
|
|
108
|
+
case n:
|
|
109
|
+
return a;
|
|
110
|
+
default:
|
|
111
|
+
switch (a = a && a.$$typeof, a) {
|
|
112
|
+
case k:
|
|
113
|
+
case h:
|
|
114
|
+
case l:
|
|
115
|
+
case q:
|
|
116
|
+
case p:
|
|
117
|
+
case g:
|
|
118
|
+
return a;
|
|
119
|
+
default:
|
|
120
|
+
return r;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
case c:
|
|
124
|
+
return r;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
reactIs_production_min$1.ContextConsumer = h;
|
|
129
|
+
reactIs_production_min$1.ContextProvider = g;
|
|
130
|
+
reactIs_production_min$1.Element = b;
|
|
131
|
+
reactIs_production_min$1.ForwardRef = l;
|
|
132
|
+
reactIs_production_min$1.Fragment = d;
|
|
133
|
+
reactIs_production_min$1.Lazy = q;
|
|
134
|
+
reactIs_production_min$1.Memo = p;
|
|
135
|
+
reactIs_production_min$1.Portal = c;
|
|
136
|
+
reactIs_production_min$1.Profiler = f;
|
|
137
|
+
reactIs_production_min$1.StrictMode = e;
|
|
138
|
+
reactIs_production_min$1.Suspense = m;
|
|
139
|
+
reactIs_production_min$1.SuspenseList = n;
|
|
140
|
+
reactIs_production_min$1.isAsyncMode = function () {
|
|
141
|
+
return !1;
|
|
142
|
+
};
|
|
143
|
+
reactIs_production_min$1.isConcurrentMode = function () {
|
|
144
|
+
return !1;
|
|
145
|
+
};
|
|
146
|
+
reactIs_production_min$1.isContextConsumer = function (a) {
|
|
147
|
+
return v(a) === h;
|
|
148
|
+
};
|
|
149
|
+
reactIs_production_min$1.isContextProvider = function (a) {
|
|
150
|
+
return v(a) === g;
|
|
151
|
+
};
|
|
152
|
+
reactIs_production_min$1.isElement = function (a) {
|
|
153
|
+
return "object" === typeof a && null !== a && a.$$typeof === b;
|
|
154
|
+
};
|
|
155
|
+
reactIs_production_min$1.isForwardRef = function (a) {
|
|
156
|
+
return v(a) === l;
|
|
157
|
+
};
|
|
158
|
+
reactIs_production_min$1.isFragment = function (a) {
|
|
159
|
+
return v(a) === d;
|
|
160
|
+
};
|
|
161
|
+
reactIs_production_min$1.isLazy = function (a) {
|
|
162
|
+
return v(a) === q;
|
|
163
|
+
};
|
|
164
|
+
reactIs_production_min$1.isMemo = function (a) {
|
|
165
|
+
return v(a) === p;
|
|
166
|
+
};
|
|
167
|
+
reactIs_production_min$1.isPortal = function (a) {
|
|
168
|
+
return v(a) === c;
|
|
169
|
+
};
|
|
170
|
+
reactIs_production_min$1.isProfiler = function (a) {
|
|
171
|
+
return v(a) === f;
|
|
172
|
+
};
|
|
173
|
+
reactIs_production_min$1.isStrictMode = function (a) {
|
|
174
|
+
return v(a) === e;
|
|
175
|
+
};
|
|
176
|
+
reactIs_production_min$1.isSuspense = function (a) {
|
|
177
|
+
return v(a) === m;
|
|
178
|
+
};
|
|
179
|
+
reactIs_production_min$1.isSuspenseList = function (a) {
|
|
180
|
+
return v(a) === n;
|
|
181
|
+
};
|
|
182
|
+
reactIs_production_min$1.isValidElementType = function (a) {
|
|
183
|
+
return "string" === typeof a || "function" === typeof a || a === d || a === f || a === e || a === m || a === n || a === t || "object" === typeof a && null !== a && (a.$$typeof === q || a.$$typeof === p || a.$$typeof === g || a.$$typeof === h || a.$$typeof === l || a.$$typeof === u || void 0 !== a.getModuleId) ? !0 : !1;
|
|
184
|
+
};
|
|
185
|
+
reactIs_production_min$1.typeOf = v;
|
|
186
|
+
return reactIs_production_min$1;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
var reactIs_development$1 = {};
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* @license React
|
|
193
|
+
* react-is.development.js
|
|
194
|
+
*
|
|
195
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
196
|
+
*
|
|
197
|
+
* This source code is licensed under the MIT license found in the
|
|
198
|
+
* LICENSE file in the root directory of this source tree.
|
|
199
|
+
*/
|
|
200
|
+
var hasRequiredReactIs_development$1;
|
|
201
|
+
function requireReactIs_development$1() {
|
|
202
|
+
if (hasRequiredReactIs_development$1) return reactIs_development$1;
|
|
203
|
+
hasRequiredReactIs_development$1 = 1;
|
|
204
|
+
if (process.env.NODE_ENV !== "production") {
|
|
205
|
+
(function () {
|
|
206
|
+
|
|
207
|
+
// ATTENTION
|
|
208
|
+
// When adding new symbols to this file,
|
|
209
|
+
// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'
|
|
210
|
+
// The Symbol used to tag the ReactElement-like types.
|
|
211
|
+
var REACT_ELEMENT_TYPE = Symbol.for('react.element');
|
|
212
|
+
var REACT_PORTAL_TYPE = Symbol.for('react.portal');
|
|
213
|
+
var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');
|
|
214
|
+
var REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');
|
|
215
|
+
var REACT_PROFILER_TYPE = Symbol.for('react.profiler');
|
|
216
|
+
var REACT_PROVIDER_TYPE = Symbol.for('react.provider');
|
|
217
|
+
var REACT_CONTEXT_TYPE = Symbol.for('react.context');
|
|
218
|
+
var REACT_SERVER_CONTEXT_TYPE = Symbol.for('react.server_context');
|
|
219
|
+
var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');
|
|
220
|
+
var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');
|
|
221
|
+
var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');
|
|
222
|
+
var REACT_MEMO_TYPE = Symbol.for('react.memo');
|
|
223
|
+
var REACT_LAZY_TYPE = Symbol.for('react.lazy');
|
|
224
|
+
var REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');
|
|
225
|
+
|
|
226
|
+
// -----------------------------------------------------------------------------
|
|
227
|
+
|
|
228
|
+
var enableScopeAPI = false; // Experimental Create Event Handle API.
|
|
229
|
+
var enableCacheElement = false;
|
|
230
|
+
var enableTransitionTracing = false; // No known bugs, but needs performance testing
|
|
231
|
+
|
|
232
|
+
var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber
|
|
233
|
+
// stuff. Intended to enable React core members to more easily debug scheduling
|
|
234
|
+
// issues in DEV builds.
|
|
235
|
+
|
|
236
|
+
var enableDebugTracing = false; // Track which Fiber(s) schedule render work.
|
|
237
|
+
|
|
238
|
+
var REACT_MODULE_REFERENCE;
|
|
239
|
+
{
|
|
240
|
+
REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');
|
|
241
|
+
}
|
|
242
|
+
function isValidElementType(type) {
|
|
243
|
+
if (typeof type === 'string' || typeof type === 'function') {
|
|
244
|
+
return true;
|
|
245
|
+
} // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).
|
|
246
|
+
|
|
247
|
+
if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing) {
|
|
248
|
+
return true;
|
|
249
|
+
}
|
|
250
|
+
if (typeof type === 'object' && type !== null) {
|
|
251
|
+
if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE ||
|
|
252
|
+
// This needs to include all possible module reference object
|
|
253
|
+
// types supported by any Flight configuration anywhere since
|
|
254
|
+
// we don't know which Flight build this will end up being used
|
|
255
|
+
// with.
|
|
256
|
+
type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {
|
|
257
|
+
return true;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
return false;
|
|
261
|
+
}
|
|
262
|
+
function typeOf(object) {
|
|
263
|
+
if (typeof object === 'object' && object !== null) {
|
|
264
|
+
var $$typeof = object.$$typeof;
|
|
265
|
+
switch ($$typeof) {
|
|
266
|
+
case REACT_ELEMENT_TYPE:
|
|
267
|
+
var type = object.type;
|
|
268
|
+
switch (type) {
|
|
269
|
+
case REACT_FRAGMENT_TYPE:
|
|
270
|
+
case REACT_PROFILER_TYPE:
|
|
271
|
+
case REACT_STRICT_MODE_TYPE:
|
|
272
|
+
case REACT_SUSPENSE_TYPE:
|
|
273
|
+
case REACT_SUSPENSE_LIST_TYPE:
|
|
274
|
+
return type;
|
|
275
|
+
default:
|
|
276
|
+
var $$typeofType = type && type.$$typeof;
|
|
277
|
+
switch ($$typeofType) {
|
|
278
|
+
case REACT_SERVER_CONTEXT_TYPE:
|
|
279
|
+
case REACT_CONTEXT_TYPE:
|
|
280
|
+
case REACT_FORWARD_REF_TYPE:
|
|
281
|
+
case REACT_LAZY_TYPE:
|
|
282
|
+
case REACT_MEMO_TYPE:
|
|
283
|
+
case REACT_PROVIDER_TYPE:
|
|
284
|
+
return $$typeofType;
|
|
285
|
+
default:
|
|
286
|
+
return $$typeof;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
case REACT_PORTAL_TYPE:
|
|
290
|
+
return $$typeof;
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
return undefined;
|
|
294
|
+
}
|
|
295
|
+
var ContextConsumer = REACT_CONTEXT_TYPE;
|
|
296
|
+
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
297
|
+
var Element = REACT_ELEMENT_TYPE;
|
|
298
|
+
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
299
|
+
var Fragment = REACT_FRAGMENT_TYPE;
|
|
300
|
+
var Lazy = REACT_LAZY_TYPE;
|
|
301
|
+
var Memo = REACT_MEMO_TYPE;
|
|
302
|
+
var Portal = REACT_PORTAL_TYPE;
|
|
303
|
+
var Profiler = REACT_PROFILER_TYPE;
|
|
304
|
+
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
305
|
+
var Suspense = REACT_SUSPENSE_TYPE;
|
|
306
|
+
var SuspenseList = REACT_SUSPENSE_LIST_TYPE;
|
|
307
|
+
var hasWarnedAboutDeprecatedIsAsyncMode = false;
|
|
308
|
+
var hasWarnedAboutDeprecatedIsConcurrentMode = false; // AsyncMode should be deprecated
|
|
309
|
+
|
|
310
|
+
function isAsyncMode(object) {
|
|
311
|
+
{
|
|
312
|
+
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
|
313
|
+
hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
|
|
314
|
+
|
|
315
|
+
console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 18+.');
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
return false;
|
|
319
|
+
}
|
|
320
|
+
function isConcurrentMode(object) {
|
|
321
|
+
{
|
|
322
|
+
if (!hasWarnedAboutDeprecatedIsConcurrentMode) {
|
|
323
|
+
hasWarnedAboutDeprecatedIsConcurrentMode = true; // Using console['warn'] to evade Babel and ESLint
|
|
324
|
+
|
|
325
|
+
console['warn']('The ReactIs.isConcurrentMode() alias has been deprecated, ' + 'and will be removed in React 18+.');
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
return false;
|
|
329
|
+
}
|
|
330
|
+
function isContextConsumer(object) {
|
|
331
|
+
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
332
|
+
}
|
|
333
|
+
function isContextProvider(object) {
|
|
334
|
+
return typeOf(object) === REACT_PROVIDER_TYPE;
|
|
335
|
+
}
|
|
336
|
+
function isElement(object) {
|
|
337
|
+
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
338
|
+
}
|
|
339
|
+
function isForwardRef(object) {
|
|
340
|
+
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
341
|
+
}
|
|
342
|
+
function isFragment(object) {
|
|
343
|
+
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
344
|
+
}
|
|
345
|
+
function isLazy(object) {
|
|
346
|
+
return typeOf(object) === REACT_LAZY_TYPE;
|
|
347
|
+
}
|
|
348
|
+
function isMemo(object) {
|
|
349
|
+
return typeOf(object) === REACT_MEMO_TYPE;
|
|
350
|
+
}
|
|
351
|
+
function isPortal(object) {
|
|
352
|
+
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
353
|
+
}
|
|
354
|
+
function isProfiler(object) {
|
|
355
|
+
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
356
|
+
}
|
|
357
|
+
function isStrictMode(object) {
|
|
358
|
+
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
359
|
+
}
|
|
360
|
+
function isSuspense(object) {
|
|
361
|
+
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
362
|
+
}
|
|
363
|
+
function isSuspenseList(object) {
|
|
364
|
+
return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
|
|
365
|
+
}
|
|
366
|
+
reactIs_development$1.ContextConsumer = ContextConsumer;
|
|
367
|
+
reactIs_development$1.ContextProvider = ContextProvider;
|
|
368
|
+
reactIs_development$1.Element = Element;
|
|
369
|
+
reactIs_development$1.ForwardRef = ForwardRef;
|
|
370
|
+
reactIs_development$1.Fragment = Fragment;
|
|
371
|
+
reactIs_development$1.Lazy = Lazy;
|
|
372
|
+
reactIs_development$1.Memo = Memo;
|
|
373
|
+
reactIs_development$1.Portal = Portal;
|
|
374
|
+
reactIs_development$1.Profiler = Profiler;
|
|
375
|
+
reactIs_development$1.StrictMode = StrictMode;
|
|
376
|
+
reactIs_development$1.Suspense = Suspense;
|
|
377
|
+
reactIs_development$1.SuspenseList = SuspenseList;
|
|
378
|
+
reactIs_development$1.isAsyncMode = isAsyncMode;
|
|
379
|
+
reactIs_development$1.isConcurrentMode = isConcurrentMode;
|
|
380
|
+
reactIs_development$1.isContextConsumer = isContextConsumer;
|
|
381
|
+
reactIs_development$1.isContextProvider = isContextProvider;
|
|
382
|
+
reactIs_development$1.isElement = isElement;
|
|
383
|
+
reactIs_development$1.isForwardRef = isForwardRef;
|
|
384
|
+
reactIs_development$1.isFragment = isFragment;
|
|
385
|
+
reactIs_development$1.isLazy = isLazy;
|
|
386
|
+
reactIs_development$1.isMemo = isMemo;
|
|
387
|
+
reactIs_development$1.isPortal = isPortal;
|
|
388
|
+
reactIs_development$1.isProfiler = isProfiler;
|
|
389
|
+
reactIs_development$1.isStrictMode = isStrictMode;
|
|
390
|
+
reactIs_development$1.isSuspense = isSuspense;
|
|
391
|
+
reactIs_development$1.isSuspenseList = isSuspenseList;
|
|
392
|
+
reactIs_development$1.isValidElementType = isValidElementType;
|
|
393
|
+
reactIs_development$1.typeOf = typeOf;
|
|
394
|
+
})();
|
|
395
|
+
}
|
|
396
|
+
return reactIs_development$1;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
if (process.env.NODE_ENV === 'production') {
|
|
400
|
+
reactIs$2.exports = requireReactIs_production_min$1();
|
|
401
|
+
} else {
|
|
402
|
+
reactIs$2.exports = requireReactIs_development$1();
|
|
403
|
+
}
|
|
404
|
+
var reactIsExports$1 = reactIs$2.exports;
|
|
405
|
+
|
|
406
|
+
function stylis_min(W) {
|
|
407
|
+
function M(d, c, e, h, a) {
|
|
408
|
+
for (var m = 0, b = 0, v = 0, n = 0, q, g, x = 0, K = 0, k, u = k = q = 0, l = 0, r = 0, I = 0, t = 0, B = e.length, J = B - 1, y, f = '', p = '', F = '', G = '', C; l < B;) {
|
|
409
|
+
g = e.charCodeAt(l);
|
|
410
|
+
l === J && 0 !== b + n + v + m && (0 !== b && (g = 47 === b ? 10 : 47), n = v = m = 0, B++, J++);
|
|
411
|
+
if (0 === b + n + v + m) {
|
|
412
|
+
if (l === J && (0 < r && (f = f.replace(N, '')), 0 < f.trim().length)) {
|
|
413
|
+
switch (g) {
|
|
414
|
+
case 32:
|
|
415
|
+
case 9:
|
|
416
|
+
case 59:
|
|
417
|
+
case 13:
|
|
418
|
+
case 10:
|
|
419
|
+
break;
|
|
420
|
+
default:
|
|
421
|
+
f += e.charAt(l);
|
|
422
|
+
}
|
|
423
|
+
g = 59;
|
|
424
|
+
}
|
|
425
|
+
switch (g) {
|
|
426
|
+
case 123:
|
|
427
|
+
f = f.trim();
|
|
428
|
+
q = f.charCodeAt(0);
|
|
429
|
+
k = 1;
|
|
430
|
+
for (t = ++l; l < B;) {
|
|
431
|
+
switch (g = e.charCodeAt(l)) {
|
|
432
|
+
case 123:
|
|
433
|
+
k++;
|
|
434
|
+
break;
|
|
435
|
+
case 125:
|
|
436
|
+
k--;
|
|
437
|
+
break;
|
|
438
|
+
case 47:
|
|
439
|
+
switch (g = e.charCodeAt(l + 1)) {
|
|
440
|
+
case 42:
|
|
441
|
+
case 47:
|
|
442
|
+
a: {
|
|
443
|
+
for (u = l + 1; u < J; ++u) {
|
|
444
|
+
switch (e.charCodeAt(u)) {
|
|
445
|
+
case 47:
|
|
446
|
+
if (42 === g && 42 === e.charCodeAt(u - 1) && l + 2 !== u) {
|
|
447
|
+
l = u + 1;
|
|
448
|
+
break a;
|
|
449
|
+
}
|
|
450
|
+
break;
|
|
451
|
+
case 10:
|
|
452
|
+
if (47 === g) {
|
|
453
|
+
l = u + 1;
|
|
454
|
+
break a;
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
l = u;
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
break;
|
|
462
|
+
case 91:
|
|
463
|
+
g++;
|
|
464
|
+
case 40:
|
|
465
|
+
g++;
|
|
466
|
+
case 34:
|
|
467
|
+
case 39:
|
|
468
|
+
for (; l++ < J && e.charCodeAt(l) !== g;) {}
|
|
469
|
+
}
|
|
470
|
+
if (0 === k) break;
|
|
471
|
+
l++;
|
|
472
|
+
}
|
|
473
|
+
k = e.substring(t, l);
|
|
474
|
+
0 === q && (q = (f = f.replace(ca, '').trim()).charCodeAt(0));
|
|
475
|
+
switch (q) {
|
|
476
|
+
case 64:
|
|
477
|
+
0 < r && (f = f.replace(N, ''));
|
|
478
|
+
g = f.charCodeAt(1);
|
|
479
|
+
switch (g) {
|
|
480
|
+
case 100:
|
|
481
|
+
case 109:
|
|
482
|
+
case 115:
|
|
483
|
+
case 45:
|
|
484
|
+
r = c;
|
|
485
|
+
break;
|
|
486
|
+
default:
|
|
487
|
+
r = O;
|
|
488
|
+
}
|
|
489
|
+
k = M(c, r, k, g, a + 1);
|
|
490
|
+
t = k.length;
|
|
491
|
+
0 < A && (r = X(O, f, I), C = H(3, k, r, c, D, z, t, g, a, h), f = r.join(''), void 0 !== C && 0 === (t = (k = C.trim()).length) && (g = 0, k = ''));
|
|
492
|
+
if (0 < t) switch (g) {
|
|
493
|
+
case 115:
|
|
494
|
+
f = f.replace(da, ea);
|
|
495
|
+
case 100:
|
|
496
|
+
case 109:
|
|
497
|
+
case 45:
|
|
498
|
+
k = f + '{' + k + '}';
|
|
499
|
+
break;
|
|
500
|
+
case 107:
|
|
501
|
+
f = f.replace(fa, '$1 $2');
|
|
502
|
+
k = f + '{' + k + '}';
|
|
503
|
+
k = 1 === w || 2 === w && L('@' + k, 3) ? '@-webkit-' + k + '@' + k : '@' + k;
|
|
504
|
+
break;
|
|
505
|
+
default:
|
|
506
|
+
k = f + k, 112 === h && (k = (p += k, ''));
|
|
507
|
+
} else k = '';
|
|
508
|
+
break;
|
|
509
|
+
default:
|
|
510
|
+
k = M(c, X(c, f, I), k, h, a + 1);
|
|
511
|
+
}
|
|
512
|
+
F += k;
|
|
513
|
+
k = I = r = u = q = 0;
|
|
514
|
+
f = '';
|
|
515
|
+
g = e.charCodeAt(++l);
|
|
516
|
+
break;
|
|
517
|
+
case 125:
|
|
518
|
+
case 59:
|
|
519
|
+
f = (0 < r ? f.replace(N, '') : f).trim();
|
|
520
|
+
if (1 < (t = f.length)) switch (0 === u && (q = f.charCodeAt(0), 45 === q || 96 < q && 123 > q) && (t = (f = f.replace(' ', ':')).length), 0 < A && void 0 !== (C = H(1, f, c, d, D, z, p.length, h, a, h)) && 0 === (t = (f = C.trim()).length) && (f = '\x00\x00'), q = f.charCodeAt(0), g = f.charCodeAt(1), q) {
|
|
521
|
+
case 0:
|
|
522
|
+
break;
|
|
523
|
+
case 64:
|
|
524
|
+
if (105 === g || 99 === g) {
|
|
525
|
+
G += f + e.charAt(l);
|
|
526
|
+
break;
|
|
527
|
+
}
|
|
528
|
+
default:
|
|
529
|
+
58 !== f.charCodeAt(t - 1) && (p += P(f, q, g, f.charCodeAt(2)));
|
|
530
|
+
}
|
|
531
|
+
I = r = u = q = 0;
|
|
532
|
+
f = '';
|
|
533
|
+
g = e.charCodeAt(++l);
|
|
534
|
+
}
|
|
535
|
+
}
|
|
536
|
+
switch (g) {
|
|
537
|
+
case 13:
|
|
538
|
+
case 10:
|
|
539
|
+
47 === b ? b = 0 : 0 === 1 + q && 107 !== h && 0 < f.length && (r = 1, f += '\x00');
|
|
540
|
+
0 < A * Y && H(0, f, c, d, D, z, p.length, h, a, h);
|
|
541
|
+
z = 1;
|
|
542
|
+
D++;
|
|
543
|
+
break;
|
|
544
|
+
case 59:
|
|
545
|
+
case 125:
|
|
546
|
+
if (0 === b + n + v + m) {
|
|
547
|
+
z++;
|
|
548
|
+
break;
|
|
549
|
+
}
|
|
550
|
+
default:
|
|
551
|
+
z++;
|
|
552
|
+
y = e.charAt(l);
|
|
553
|
+
switch (g) {
|
|
554
|
+
case 9:
|
|
555
|
+
case 32:
|
|
556
|
+
if (0 === n + m + b) switch (x) {
|
|
557
|
+
case 44:
|
|
558
|
+
case 58:
|
|
559
|
+
case 9:
|
|
560
|
+
case 32:
|
|
561
|
+
y = '';
|
|
562
|
+
break;
|
|
563
|
+
default:
|
|
564
|
+
32 !== g && (y = ' ');
|
|
565
|
+
}
|
|
566
|
+
break;
|
|
567
|
+
case 0:
|
|
568
|
+
y = '\\0';
|
|
569
|
+
break;
|
|
570
|
+
case 12:
|
|
571
|
+
y = '\\f';
|
|
572
|
+
break;
|
|
573
|
+
case 11:
|
|
574
|
+
y = '\\v';
|
|
575
|
+
break;
|
|
576
|
+
case 38:
|
|
577
|
+
0 === n + b + m && (r = I = 1, y = '\f' + y);
|
|
578
|
+
break;
|
|
579
|
+
case 108:
|
|
580
|
+
if (0 === n + b + m + E && 0 < u) switch (l - u) {
|
|
581
|
+
case 2:
|
|
582
|
+
112 === x && 58 === e.charCodeAt(l - 3) && (E = x);
|
|
583
|
+
case 8:
|
|
584
|
+
111 === K && (E = K);
|
|
585
|
+
}
|
|
586
|
+
break;
|
|
587
|
+
case 58:
|
|
588
|
+
0 === n + b + m && (u = l);
|
|
589
|
+
break;
|
|
590
|
+
case 44:
|
|
591
|
+
0 === b + v + n + m && (r = 1, y += '\r');
|
|
592
|
+
break;
|
|
593
|
+
case 34:
|
|
594
|
+
case 39:
|
|
595
|
+
0 === b && (n = n === g ? 0 : 0 === n ? g : n);
|
|
596
|
+
break;
|
|
597
|
+
case 91:
|
|
598
|
+
0 === n + b + v && m++;
|
|
599
|
+
break;
|
|
600
|
+
case 93:
|
|
601
|
+
0 === n + b + v && m--;
|
|
602
|
+
break;
|
|
603
|
+
case 41:
|
|
604
|
+
0 === n + b + m && v--;
|
|
605
|
+
break;
|
|
606
|
+
case 40:
|
|
607
|
+
if (0 === n + b + m) {
|
|
608
|
+
if (0 === q) switch (2 * x + 3 * K) {
|
|
609
|
+
case 533:
|
|
610
|
+
break;
|
|
611
|
+
default:
|
|
612
|
+
q = 1;
|
|
613
|
+
}
|
|
614
|
+
v++;
|
|
615
|
+
}
|
|
616
|
+
break;
|
|
617
|
+
case 64:
|
|
618
|
+
0 === b + v + n + m + u + k && (k = 1);
|
|
619
|
+
break;
|
|
620
|
+
case 42:
|
|
621
|
+
case 47:
|
|
622
|
+
if (!(0 < n + m + v)) switch (b) {
|
|
623
|
+
case 0:
|
|
624
|
+
switch (2 * g + 3 * e.charCodeAt(l + 1)) {
|
|
625
|
+
case 235:
|
|
626
|
+
b = 47;
|
|
627
|
+
break;
|
|
628
|
+
case 220:
|
|
629
|
+
t = l, b = 42;
|
|
630
|
+
}
|
|
631
|
+
break;
|
|
632
|
+
case 42:
|
|
633
|
+
47 === g && 42 === x && t + 2 !== l && (33 === e.charCodeAt(t + 2) && (p += e.substring(t, l + 1)), y = '', b = 0);
|
|
634
|
+
}
|
|
635
|
+
}
|
|
636
|
+
0 === b && (f += y);
|
|
637
|
+
}
|
|
638
|
+
K = x;
|
|
639
|
+
x = g;
|
|
640
|
+
l++;
|
|
641
|
+
}
|
|
642
|
+
t = p.length;
|
|
643
|
+
if (0 < t) {
|
|
644
|
+
r = c;
|
|
645
|
+
if (0 < A && (C = H(2, p, r, d, D, z, t, h, a, h), void 0 !== C && 0 === (p = C).length)) return G + p + F;
|
|
646
|
+
p = r.join(',') + '{' + p + '}';
|
|
647
|
+
if (0 !== w * E) {
|
|
648
|
+
2 !== w || L(p, 2) || (E = 0);
|
|
649
|
+
switch (E) {
|
|
650
|
+
case 111:
|
|
651
|
+
p = p.replace(ha, ':-moz-$1') + p;
|
|
652
|
+
break;
|
|
653
|
+
case 112:
|
|
654
|
+
p = p.replace(Q, '::-webkit-input-$1') + p.replace(Q, '::-moz-$1') + p.replace(Q, ':-ms-input-$1') + p;
|
|
655
|
+
}
|
|
656
|
+
E = 0;
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
return G + p + F;
|
|
660
|
+
}
|
|
661
|
+
function X(d, c, e) {
|
|
662
|
+
var h = c.trim().split(ia);
|
|
663
|
+
c = h;
|
|
664
|
+
var a = h.length,
|
|
665
|
+
m = d.length;
|
|
666
|
+
switch (m) {
|
|
667
|
+
case 0:
|
|
668
|
+
case 1:
|
|
669
|
+
var b = 0;
|
|
670
|
+
for (d = 0 === m ? '' : d[0] + ' '; b < a; ++b) {
|
|
671
|
+
c[b] = Z(d, c[b], e).trim();
|
|
672
|
+
}
|
|
673
|
+
break;
|
|
674
|
+
default:
|
|
675
|
+
var v = b = 0;
|
|
676
|
+
for (c = []; b < a; ++b) {
|
|
677
|
+
for (var n = 0; n < m; ++n) {
|
|
678
|
+
c[v++] = Z(d[n] + ' ', h[b], e).trim();
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
return c;
|
|
683
|
+
}
|
|
684
|
+
function Z(d, c, e) {
|
|
685
|
+
var h = c.charCodeAt(0);
|
|
686
|
+
33 > h && (h = (c = c.trim()).charCodeAt(0));
|
|
687
|
+
switch (h) {
|
|
688
|
+
case 38:
|
|
689
|
+
return c.replace(F, '$1' + d.trim());
|
|
690
|
+
case 58:
|
|
691
|
+
return d.trim() + c.replace(F, '$1' + d.trim());
|
|
692
|
+
default:
|
|
693
|
+
if (0 < 1 * e && 0 < c.indexOf('\f')) return c.replace(F, (58 === d.charCodeAt(0) ? '' : '$1') + d.trim());
|
|
694
|
+
}
|
|
695
|
+
return d + c;
|
|
696
|
+
}
|
|
697
|
+
function P(d, c, e, h) {
|
|
698
|
+
var a = d + ';',
|
|
699
|
+
m = 2 * c + 3 * e + 4 * h;
|
|
700
|
+
if (944 === m) {
|
|
701
|
+
d = a.indexOf(':', 9) + 1;
|
|
702
|
+
var b = a.substring(d, a.length - 1).trim();
|
|
703
|
+
b = a.substring(0, d).trim() + b + ';';
|
|
704
|
+
return 1 === w || 2 === w && L(b, 1) ? '-webkit-' + b + b : b;
|
|
705
|
+
}
|
|
706
|
+
if (0 === w || 2 === w && !L(a, 1)) return a;
|
|
707
|
+
switch (m) {
|
|
708
|
+
case 1015:
|
|
709
|
+
return 97 === a.charCodeAt(10) ? '-webkit-' + a + a : a;
|
|
710
|
+
case 951:
|
|
711
|
+
return 116 === a.charCodeAt(3) ? '-webkit-' + a + a : a;
|
|
712
|
+
case 963:
|
|
713
|
+
return 110 === a.charCodeAt(5) ? '-webkit-' + a + a : a;
|
|
714
|
+
case 1009:
|
|
715
|
+
if (100 !== a.charCodeAt(4)) break;
|
|
716
|
+
case 969:
|
|
717
|
+
case 942:
|
|
718
|
+
return '-webkit-' + a + a;
|
|
719
|
+
case 978:
|
|
720
|
+
return '-webkit-' + a + '-moz-' + a + a;
|
|
721
|
+
case 1019:
|
|
722
|
+
case 983:
|
|
723
|
+
return '-webkit-' + a + '-moz-' + a + '-ms-' + a + a;
|
|
724
|
+
case 883:
|
|
725
|
+
if (45 === a.charCodeAt(8)) return '-webkit-' + a + a;
|
|
726
|
+
if (0 < a.indexOf('image-set(', 11)) return a.replace(ja, '$1-webkit-$2') + a;
|
|
727
|
+
break;
|
|
728
|
+
case 932:
|
|
729
|
+
if (45 === a.charCodeAt(4)) switch (a.charCodeAt(5)) {
|
|
730
|
+
case 103:
|
|
731
|
+
return '-webkit-box-' + a.replace('-grow', '') + '-webkit-' + a + '-ms-' + a.replace('grow', 'positive') + a;
|
|
732
|
+
case 115:
|
|
733
|
+
return '-webkit-' + a + '-ms-' + a.replace('shrink', 'negative') + a;
|
|
734
|
+
case 98:
|
|
735
|
+
return '-webkit-' + a + '-ms-' + a.replace('basis', 'preferred-size') + a;
|
|
736
|
+
}
|
|
737
|
+
return '-webkit-' + a + '-ms-' + a + a;
|
|
738
|
+
case 964:
|
|
739
|
+
return '-webkit-' + a + '-ms-flex-' + a + a;
|
|
740
|
+
case 1023:
|
|
741
|
+
if (99 !== a.charCodeAt(8)) break;
|
|
742
|
+
b = a.substring(a.indexOf(':', 15)).replace('flex-', '').replace('space-between', 'justify');
|
|
743
|
+
return '-webkit-box-pack' + b + '-webkit-' + a + '-ms-flex-pack' + b + a;
|
|
744
|
+
case 1005:
|
|
745
|
+
return ka.test(a) ? a.replace(aa, ':-webkit-') + a.replace(aa, ':-moz-') + a : a;
|
|
746
|
+
case 1e3:
|
|
747
|
+
b = a.substring(13).trim();
|
|
748
|
+
c = b.indexOf('-') + 1;
|
|
749
|
+
switch (b.charCodeAt(0) + b.charCodeAt(c)) {
|
|
750
|
+
case 226:
|
|
751
|
+
b = a.replace(G, 'tb');
|
|
752
|
+
break;
|
|
753
|
+
case 232:
|
|
754
|
+
b = a.replace(G, 'tb-rl');
|
|
755
|
+
break;
|
|
756
|
+
case 220:
|
|
757
|
+
b = a.replace(G, 'lr');
|
|
758
|
+
break;
|
|
759
|
+
default:
|
|
760
|
+
return a;
|
|
761
|
+
}
|
|
762
|
+
return '-webkit-' + a + '-ms-' + b + a;
|
|
763
|
+
case 1017:
|
|
764
|
+
if (-1 === a.indexOf('sticky', 9)) break;
|
|
765
|
+
case 975:
|
|
766
|
+
c = (a = d).length - 10;
|
|
767
|
+
b = (33 === a.charCodeAt(c) ? a.substring(0, c) : a).substring(d.indexOf(':', 7) + 1).trim();
|
|
768
|
+
switch (m = b.charCodeAt(0) + (b.charCodeAt(7) | 0)) {
|
|
769
|
+
case 203:
|
|
770
|
+
if (111 > b.charCodeAt(8)) break;
|
|
771
|
+
case 115:
|
|
772
|
+
a = a.replace(b, '-webkit-' + b) + ';' + a;
|
|
773
|
+
break;
|
|
774
|
+
case 207:
|
|
775
|
+
case 102:
|
|
776
|
+
a = a.replace(b, '-webkit-' + (102 < m ? 'inline-' : '') + 'box') + ';' + a.replace(b, '-webkit-' + b) + ';' + a.replace(b, '-ms-' + b + 'box') + ';' + a;
|
|
777
|
+
}
|
|
778
|
+
return a + ';';
|
|
779
|
+
case 938:
|
|
780
|
+
if (45 === a.charCodeAt(5)) switch (a.charCodeAt(6)) {
|
|
781
|
+
case 105:
|
|
782
|
+
return b = a.replace('-items', ''), '-webkit-' + a + '-webkit-box-' + b + '-ms-flex-' + b + a;
|
|
783
|
+
case 115:
|
|
784
|
+
return '-webkit-' + a + '-ms-flex-item-' + a.replace(ba, '') + a;
|
|
785
|
+
default:
|
|
786
|
+
return '-webkit-' + a + '-ms-flex-line-pack' + a.replace('align-content', '').replace(ba, '') + a;
|
|
787
|
+
}
|
|
788
|
+
break;
|
|
789
|
+
case 973:
|
|
790
|
+
case 989:
|
|
791
|
+
if (45 !== a.charCodeAt(3) || 122 === a.charCodeAt(4)) break;
|
|
792
|
+
case 931:
|
|
793
|
+
case 953:
|
|
794
|
+
if (!0 === la.test(d)) return 115 === (b = d.substring(d.indexOf(':') + 1)).charCodeAt(0) ? P(d.replace('stretch', 'fill-available'), c, e, h).replace(':fill-available', ':stretch') : a.replace(b, '-webkit-' + b) + a.replace(b, '-moz-' + b.replace('fill-', '')) + a;
|
|
795
|
+
break;
|
|
796
|
+
case 962:
|
|
797
|
+
if (a = '-webkit-' + a + (102 === a.charCodeAt(5) ? '-ms-' + a : '') + a, 211 === e + h && 105 === a.charCodeAt(13) && 0 < a.indexOf('transform', 10)) return a.substring(0, a.indexOf(';', 27) + 1).replace(ma, '$1-webkit-$2') + a;
|
|
798
|
+
}
|
|
799
|
+
return a;
|
|
800
|
+
}
|
|
801
|
+
function L(d, c) {
|
|
802
|
+
var e = d.indexOf(1 === c ? ':' : '{'),
|
|
803
|
+
h = d.substring(0, 3 !== c ? e : 10);
|
|
804
|
+
e = d.substring(e + 1, d.length - 1);
|
|
805
|
+
return R(2 !== c ? h : h.replace(na, '$1'), e, c);
|
|
806
|
+
}
|
|
807
|
+
function ea(d, c) {
|
|
808
|
+
var e = P(c, c.charCodeAt(0), c.charCodeAt(1), c.charCodeAt(2));
|
|
809
|
+
return e !== c + ';' ? e.replace(oa, ' or ($1)').substring(4) : '(' + c + ')';
|
|
810
|
+
}
|
|
811
|
+
function H(d, c, e, h, a, m, b, v, n, q) {
|
|
812
|
+
for (var g = 0, x = c, w; g < A; ++g) {
|
|
813
|
+
switch (w = S[g].call(B, d, x, e, h, a, m, b, v, n, q)) {
|
|
814
|
+
case void 0:
|
|
815
|
+
case !1:
|
|
816
|
+
case !0:
|
|
817
|
+
case null:
|
|
818
|
+
break;
|
|
819
|
+
default:
|
|
820
|
+
x = w;
|
|
821
|
+
}
|
|
822
|
+
}
|
|
823
|
+
if (x !== c) return x;
|
|
824
|
+
}
|
|
825
|
+
function T(d) {
|
|
826
|
+
switch (d) {
|
|
827
|
+
case void 0:
|
|
828
|
+
case null:
|
|
829
|
+
A = S.length = 0;
|
|
830
|
+
break;
|
|
831
|
+
default:
|
|
832
|
+
if ('function' === typeof d) S[A++] = d;else if ('object' === typeof d) for (var c = 0, e = d.length; c < e; ++c) {
|
|
833
|
+
T(d[c]);
|
|
834
|
+
} else Y = !!d | 0;
|
|
835
|
+
}
|
|
836
|
+
return T;
|
|
837
|
+
}
|
|
838
|
+
function U(d) {
|
|
839
|
+
d = d.prefix;
|
|
840
|
+
void 0 !== d && (R = null, d ? 'function' !== typeof d ? w = 1 : (w = 2, R = d) : w = 0);
|
|
841
|
+
return U;
|
|
842
|
+
}
|
|
843
|
+
function B(d, c) {
|
|
844
|
+
var e = d;
|
|
845
|
+
33 > e.charCodeAt(0) && (e = e.trim());
|
|
846
|
+
V = e;
|
|
847
|
+
e = [V];
|
|
848
|
+
if (0 < A) {
|
|
849
|
+
var h = H(-1, c, e, e, D, z, 0, 0, 0, 0);
|
|
850
|
+
void 0 !== h && 'string' === typeof h && (c = h);
|
|
851
|
+
}
|
|
852
|
+
var a = M(O, e, c, 0, 0);
|
|
853
|
+
0 < A && (h = H(-2, a, e, e, D, z, a.length, 0, 0, 0), void 0 !== h && (a = h));
|
|
854
|
+
V = '';
|
|
855
|
+
E = 0;
|
|
856
|
+
z = D = 1;
|
|
857
|
+
return a;
|
|
858
|
+
}
|
|
859
|
+
var ca = /^\0+/g,
|
|
860
|
+
N = /[\0\r\f]/g,
|
|
861
|
+
aa = /: */g,
|
|
862
|
+
ka = /zoo|gra/,
|
|
863
|
+
ma = /([,: ])(transform)/g,
|
|
864
|
+
ia = /,\r+?/g,
|
|
865
|
+
F = /([\t\r\n ])*\f?&/g,
|
|
866
|
+
fa = /@(k\w+)\s*(\S*)\s*/,
|
|
867
|
+
Q = /::(place)/g,
|
|
868
|
+
ha = /:(read-only)/g,
|
|
869
|
+
G = /[svh]\w+-[tblr]{2}/,
|
|
870
|
+
da = /\(\s*(.*)\s*\)/g,
|
|
871
|
+
oa = /([\s\S]*?);/g,
|
|
872
|
+
ba = /-self|flex-/g,
|
|
873
|
+
na = /[^]*?(:[rp][el]a[\w-]+)[^]*/,
|
|
874
|
+
la = /stretch|:\s*\w+\-(?:conte|avail)/,
|
|
875
|
+
ja = /([^-])(image-set\()/,
|
|
876
|
+
z = 1,
|
|
877
|
+
D = 1,
|
|
878
|
+
E = 0,
|
|
879
|
+
w = 1,
|
|
880
|
+
O = [],
|
|
881
|
+
S = [],
|
|
882
|
+
A = 0,
|
|
883
|
+
R = null,
|
|
884
|
+
Y = 0,
|
|
885
|
+
V = '';
|
|
886
|
+
B.use = T;
|
|
887
|
+
B.set = U;
|
|
888
|
+
void 0 !== W && U(W);
|
|
889
|
+
return B;
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
var unitlessKeys = {
|
|
893
|
+
animationIterationCount: 1,
|
|
894
|
+
borderImageOutset: 1,
|
|
895
|
+
borderImageSlice: 1,
|
|
896
|
+
borderImageWidth: 1,
|
|
897
|
+
boxFlex: 1,
|
|
898
|
+
boxFlexGroup: 1,
|
|
899
|
+
boxOrdinalGroup: 1,
|
|
900
|
+
columnCount: 1,
|
|
901
|
+
columns: 1,
|
|
902
|
+
flex: 1,
|
|
903
|
+
flexGrow: 1,
|
|
904
|
+
flexPositive: 1,
|
|
905
|
+
flexShrink: 1,
|
|
906
|
+
flexNegative: 1,
|
|
907
|
+
flexOrder: 1,
|
|
908
|
+
gridRow: 1,
|
|
909
|
+
gridRowEnd: 1,
|
|
910
|
+
gridRowSpan: 1,
|
|
911
|
+
gridRowStart: 1,
|
|
912
|
+
gridColumn: 1,
|
|
913
|
+
gridColumnEnd: 1,
|
|
914
|
+
gridColumnSpan: 1,
|
|
915
|
+
gridColumnStart: 1,
|
|
916
|
+
msGridRow: 1,
|
|
917
|
+
msGridRowSpan: 1,
|
|
918
|
+
msGridColumn: 1,
|
|
919
|
+
msGridColumnSpan: 1,
|
|
920
|
+
fontWeight: 1,
|
|
921
|
+
lineHeight: 1,
|
|
922
|
+
opacity: 1,
|
|
923
|
+
order: 1,
|
|
924
|
+
orphans: 1,
|
|
925
|
+
tabSize: 1,
|
|
926
|
+
widows: 1,
|
|
927
|
+
zIndex: 1,
|
|
928
|
+
zoom: 1,
|
|
929
|
+
WebkitLineClamp: 1,
|
|
930
|
+
// SVG-related properties
|
|
931
|
+
fillOpacity: 1,
|
|
932
|
+
floodOpacity: 1,
|
|
933
|
+
stopOpacity: 1,
|
|
934
|
+
strokeDasharray: 1,
|
|
935
|
+
strokeDashoffset: 1,
|
|
936
|
+
strokeMiterlimit: 1,
|
|
937
|
+
strokeOpacity: 1,
|
|
938
|
+
strokeWidth: 1
|
|
939
|
+
};
|
|
940
|
+
|
|
941
|
+
function memoize(fn) {
|
|
942
|
+
var cache = Object.create(null);
|
|
943
|
+
return function (arg) {
|
|
944
|
+
if (cache[arg] === undefined) cache[arg] = fn(arg);
|
|
945
|
+
return cache[arg];
|
|
946
|
+
};
|
|
947
|
+
}
|
|
948
|
+
|
|
949
|
+
var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23
|
|
950
|
+
|
|
951
|
+
var isPropValid = /* #__PURE__ */memoize(function (prop) {
|
|
952
|
+
return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111
|
|
953
|
+
/* o */ && prop.charCodeAt(1) === 110
|
|
954
|
+
/* n */ && prop.charCodeAt(2) < 91;
|
|
955
|
+
}
|
|
956
|
+
/* Z+1 */);
|
|
957
|
+
|
|
958
|
+
var reactIs$1 = {exports: {}};
|
|
959
|
+
|
|
960
|
+
var reactIs_production_min = {};
|
|
961
|
+
|
|
962
|
+
/** @license React v16.13.1
|
|
963
|
+
* react-is.production.min.js
|
|
964
|
+
*
|
|
965
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
966
|
+
*
|
|
967
|
+
* This source code is licensed under the MIT license found in the
|
|
968
|
+
* LICENSE file in the root directory of this source tree.
|
|
969
|
+
*/
|
|
970
|
+
var hasRequiredReactIs_production_min;
|
|
971
|
+
function requireReactIs_production_min() {
|
|
972
|
+
if (hasRequiredReactIs_production_min) return reactIs_production_min;
|
|
973
|
+
hasRequiredReactIs_production_min = 1;
|
|
974
|
+
var b = "function" === typeof Symbol && Symbol.for,
|
|
975
|
+
c = b ? Symbol.for("react.element") : 60103,
|
|
976
|
+
d = b ? Symbol.for("react.portal") : 60106,
|
|
977
|
+
e = b ? Symbol.for("react.fragment") : 60107,
|
|
978
|
+
f = b ? Symbol.for("react.strict_mode") : 60108,
|
|
979
|
+
g = b ? Symbol.for("react.profiler") : 60114,
|
|
980
|
+
h = b ? Symbol.for("react.provider") : 60109,
|
|
981
|
+
k = b ? Symbol.for("react.context") : 60110,
|
|
982
|
+
l = b ? Symbol.for("react.async_mode") : 60111,
|
|
983
|
+
m = b ? Symbol.for("react.concurrent_mode") : 60111,
|
|
984
|
+
n = b ? Symbol.for("react.forward_ref") : 60112,
|
|
985
|
+
p = b ? Symbol.for("react.suspense") : 60113,
|
|
986
|
+
q = b ? Symbol.for("react.suspense_list") : 60120,
|
|
987
|
+
r = b ? Symbol.for("react.memo") : 60115,
|
|
988
|
+
t = b ? Symbol.for("react.lazy") : 60116,
|
|
989
|
+
v = b ? Symbol.for("react.block") : 60121,
|
|
990
|
+
w = b ? Symbol.for("react.fundamental") : 60117,
|
|
991
|
+
x = b ? Symbol.for("react.responder") : 60118,
|
|
992
|
+
y = b ? Symbol.for("react.scope") : 60119;
|
|
993
|
+
function z(a) {
|
|
994
|
+
if ("object" === typeof a && null !== a) {
|
|
995
|
+
var u = a.$$typeof;
|
|
996
|
+
switch (u) {
|
|
997
|
+
case c:
|
|
998
|
+
switch (a = a.type, a) {
|
|
999
|
+
case l:
|
|
1000
|
+
case m:
|
|
1001
|
+
case e:
|
|
1002
|
+
case g:
|
|
1003
|
+
case f:
|
|
1004
|
+
case p:
|
|
1005
|
+
return a;
|
|
1006
|
+
default:
|
|
1007
|
+
switch (a = a && a.$$typeof, a) {
|
|
1008
|
+
case k:
|
|
1009
|
+
case n:
|
|
1010
|
+
case t:
|
|
1011
|
+
case r:
|
|
1012
|
+
case h:
|
|
1013
|
+
return a;
|
|
1014
|
+
default:
|
|
1015
|
+
return u;
|
|
1016
|
+
}
|
|
1017
|
+
}
|
|
1018
|
+
case d:
|
|
1019
|
+
return u;
|
|
1020
|
+
}
|
|
1021
|
+
}
|
|
1022
|
+
}
|
|
1023
|
+
function A(a) {
|
|
1024
|
+
return z(a) === m;
|
|
1025
|
+
}
|
|
1026
|
+
reactIs_production_min.AsyncMode = l;
|
|
1027
|
+
reactIs_production_min.ConcurrentMode = m;
|
|
1028
|
+
reactIs_production_min.ContextConsumer = k;
|
|
1029
|
+
reactIs_production_min.ContextProvider = h;
|
|
1030
|
+
reactIs_production_min.Element = c;
|
|
1031
|
+
reactIs_production_min.ForwardRef = n;
|
|
1032
|
+
reactIs_production_min.Fragment = e;
|
|
1033
|
+
reactIs_production_min.Lazy = t;
|
|
1034
|
+
reactIs_production_min.Memo = r;
|
|
1035
|
+
reactIs_production_min.Portal = d;
|
|
1036
|
+
reactIs_production_min.Profiler = g;
|
|
1037
|
+
reactIs_production_min.StrictMode = f;
|
|
1038
|
+
reactIs_production_min.Suspense = p;
|
|
1039
|
+
reactIs_production_min.isAsyncMode = function (a) {
|
|
1040
|
+
return A(a) || z(a) === l;
|
|
1041
|
+
};
|
|
1042
|
+
reactIs_production_min.isConcurrentMode = A;
|
|
1043
|
+
reactIs_production_min.isContextConsumer = function (a) {
|
|
1044
|
+
return z(a) === k;
|
|
1045
|
+
};
|
|
1046
|
+
reactIs_production_min.isContextProvider = function (a) {
|
|
1047
|
+
return z(a) === h;
|
|
1048
|
+
};
|
|
1049
|
+
reactIs_production_min.isElement = function (a) {
|
|
1050
|
+
return "object" === typeof a && null !== a && a.$$typeof === c;
|
|
1051
|
+
};
|
|
1052
|
+
reactIs_production_min.isForwardRef = function (a) {
|
|
1053
|
+
return z(a) === n;
|
|
1054
|
+
};
|
|
1055
|
+
reactIs_production_min.isFragment = function (a) {
|
|
1056
|
+
return z(a) === e;
|
|
1057
|
+
};
|
|
1058
|
+
reactIs_production_min.isLazy = function (a) {
|
|
1059
|
+
return z(a) === t;
|
|
1060
|
+
};
|
|
1061
|
+
reactIs_production_min.isMemo = function (a) {
|
|
1062
|
+
return z(a) === r;
|
|
1063
|
+
};
|
|
1064
|
+
reactIs_production_min.isPortal = function (a) {
|
|
1065
|
+
return z(a) === d;
|
|
1066
|
+
};
|
|
1067
|
+
reactIs_production_min.isProfiler = function (a) {
|
|
1068
|
+
return z(a) === g;
|
|
1069
|
+
};
|
|
1070
|
+
reactIs_production_min.isStrictMode = function (a) {
|
|
1071
|
+
return z(a) === f;
|
|
1072
|
+
};
|
|
1073
|
+
reactIs_production_min.isSuspense = function (a) {
|
|
1074
|
+
return z(a) === p;
|
|
1075
|
+
};
|
|
1076
|
+
reactIs_production_min.isValidElementType = function (a) {
|
|
1077
|
+
return "string" === typeof a || "function" === typeof a || a === e || a === m || a === g || a === f || a === p || a === q || "object" === typeof a && null !== a && (a.$$typeof === t || a.$$typeof === r || a.$$typeof === h || a.$$typeof === k || a.$$typeof === n || a.$$typeof === w || a.$$typeof === x || a.$$typeof === y || a.$$typeof === v);
|
|
1078
|
+
};
|
|
1079
|
+
reactIs_production_min.typeOf = z;
|
|
1080
|
+
return reactIs_production_min;
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
var reactIs_development = {};
|
|
1084
|
+
|
|
1085
|
+
/** @license React v16.13.1
|
|
1086
|
+
* react-is.development.js
|
|
1087
|
+
*
|
|
1088
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
1089
|
+
*
|
|
1090
|
+
* This source code is licensed under the MIT license found in the
|
|
1091
|
+
* LICENSE file in the root directory of this source tree.
|
|
1092
|
+
*/
|
|
1093
|
+
var hasRequiredReactIs_development;
|
|
1094
|
+
function requireReactIs_development() {
|
|
1095
|
+
if (hasRequiredReactIs_development) return reactIs_development;
|
|
1096
|
+
hasRequiredReactIs_development = 1;
|
|
1097
|
+
if (process.env.NODE_ENV !== "production") {
|
|
1098
|
+
(function () {
|
|
1099
|
+
|
|
1100
|
+
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
|
1101
|
+
// nor polyfill, then a plain number is used for performance.
|
|
1102
|
+
var hasSymbol = typeof Symbol === 'function' && Symbol.for;
|
|
1103
|
+
var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
|
|
1104
|
+
var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
|
|
1105
|
+
var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
|
|
1106
|
+
var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
|
|
1107
|
+
var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
|
|
1108
|
+
var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
|
|
1109
|
+
var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
|
|
1110
|
+
// (unstable) APIs that have been removed. Can we remove the symbols?
|
|
1111
|
+
|
|
1112
|
+
var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
|
|
1113
|
+
var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
|
|
1114
|
+
var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
|
|
1115
|
+
var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
|
|
1116
|
+
var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
|
|
1117
|
+
var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
|
|
1118
|
+
var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
|
|
1119
|
+
var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
|
|
1120
|
+
var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
|
|
1121
|
+
var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
|
|
1122
|
+
var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
|
|
1123
|
+
function isValidElementType(type) {
|
|
1124
|
+
return typeof type === 'string' || typeof type === 'function' ||
|
|
1125
|
+
// Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1126
|
+
type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
|
|
1127
|
+
}
|
|
1128
|
+
function typeOf(object) {
|
|
1129
|
+
if (typeof object === 'object' && object !== null) {
|
|
1130
|
+
var $$typeof = object.$$typeof;
|
|
1131
|
+
switch ($$typeof) {
|
|
1132
|
+
case REACT_ELEMENT_TYPE:
|
|
1133
|
+
var type = object.type;
|
|
1134
|
+
switch (type) {
|
|
1135
|
+
case REACT_ASYNC_MODE_TYPE:
|
|
1136
|
+
case REACT_CONCURRENT_MODE_TYPE:
|
|
1137
|
+
case REACT_FRAGMENT_TYPE:
|
|
1138
|
+
case REACT_PROFILER_TYPE:
|
|
1139
|
+
case REACT_STRICT_MODE_TYPE:
|
|
1140
|
+
case REACT_SUSPENSE_TYPE:
|
|
1141
|
+
return type;
|
|
1142
|
+
default:
|
|
1143
|
+
var $$typeofType = type && type.$$typeof;
|
|
1144
|
+
switch ($$typeofType) {
|
|
1145
|
+
case REACT_CONTEXT_TYPE:
|
|
1146
|
+
case REACT_FORWARD_REF_TYPE:
|
|
1147
|
+
case REACT_LAZY_TYPE:
|
|
1148
|
+
case REACT_MEMO_TYPE:
|
|
1149
|
+
case REACT_PROVIDER_TYPE:
|
|
1150
|
+
return $$typeofType;
|
|
1151
|
+
default:
|
|
1152
|
+
return $$typeof;
|
|
1153
|
+
}
|
|
1154
|
+
}
|
|
1155
|
+
case REACT_PORTAL_TYPE:
|
|
1156
|
+
return $$typeof;
|
|
1157
|
+
}
|
|
1158
|
+
}
|
|
1159
|
+
return undefined;
|
|
1160
|
+
} // AsyncMode is deprecated along with isAsyncMode
|
|
1161
|
+
|
|
1162
|
+
var AsyncMode = REACT_ASYNC_MODE_TYPE;
|
|
1163
|
+
var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
|
|
1164
|
+
var ContextConsumer = REACT_CONTEXT_TYPE;
|
|
1165
|
+
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
1166
|
+
var Element = REACT_ELEMENT_TYPE;
|
|
1167
|
+
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
1168
|
+
var Fragment = REACT_FRAGMENT_TYPE;
|
|
1169
|
+
var Lazy = REACT_LAZY_TYPE;
|
|
1170
|
+
var Memo = REACT_MEMO_TYPE;
|
|
1171
|
+
var Portal = REACT_PORTAL_TYPE;
|
|
1172
|
+
var Profiler = REACT_PROFILER_TYPE;
|
|
1173
|
+
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
1174
|
+
var Suspense = REACT_SUSPENSE_TYPE;
|
|
1175
|
+
var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
|
|
1176
|
+
|
|
1177
|
+
function isAsyncMode(object) {
|
|
1178
|
+
{
|
|
1179
|
+
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
|
1180
|
+
hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
|
|
1181
|
+
|
|
1182
|
+
console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
|
|
1183
|
+
}
|
|
1184
|
+
}
|
|
1185
|
+
return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
|
|
1186
|
+
}
|
|
1187
|
+
function isConcurrentMode(object) {
|
|
1188
|
+
return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
|
|
1189
|
+
}
|
|
1190
|
+
function isContextConsumer(object) {
|
|
1191
|
+
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
1192
|
+
}
|
|
1193
|
+
function isContextProvider(object) {
|
|
1194
|
+
return typeOf(object) === REACT_PROVIDER_TYPE;
|
|
1195
|
+
}
|
|
1196
|
+
function isElement(object) {
|
|
1197
|
+
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
1198
|
+
}
|
|
1199
|
+
function isForwardRef(object) {
|
|
1200
|
+
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
1201
|
+
}
|
|
1202
|
+
function isFragment(object) {
|
|
1203
|
+
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
1204
|
+
}
|
|
1205
|
+
function isLazy(object) {
|
|
1206
|
+
return typeOf(object) === REACT_LAZY_TYPE;
|
|
1207
|
+
}
|
|
1208
|
+
function isMemo(object) {
|
|
1209
|
+
return typeOf(object) === REACT_MEMO_TYPE;
|
|
1210
|
+
}
|
|
1211
|
+
function isPortal(object) {
|
|
1212
|
+
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
1213
|
+
}
|
|
1214
|
+
function isProfiler(object) {
|
|
1215
|
+
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
1216
|
+
}
|
|
1217
|
+
function isStrictMode(object) {
|
|
1218
|
+
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
1219
|
+
}
|
|
1220
|
+
function isSuspense(object) {
|
|
1221
|
+
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
1222
|
+
}
|
|
1223
|
+
reactIs_development.AsyncMode = AsyncMode;
|
|
1224
|
+
reactIs_development.ConcurrentMode = ConcurrentMode;
|
|
1225
|
+
reactIs_development.ContextConsumer = ContextConsumer;
|
|
1226
|
+
reactIs_development.ContextProvider = ContextProvider;
|
|
1227
|
+
reactIs_development.Element = Element;
|
|
1228
|
+
reactIs_development.ForwardRef = ForwardRef;
|
|
1229
|
+
reactIs_development.Fragment = Fragment;
|
|
1230
|
+
reactIs_development.Lazy = Lazy;
|
|
1231
|
+
reactIs_development.Memo = Memo;
|
|
1232
|
+
reactIs_development.Portal = Portal;
|
|
1233
|
+
reactIs_development.Profiler = Profiler;
|
|
1234
|
+
reactIs_development.StrictMode = StrictMode;
|
|
1235
|
+
reactIs_development.Suspense = Suspense;
|
|
1236
|
+
reactIs_development.isAsyncMode = isAsyncMode;
|
|
1237
|
+
reactIs_development.isConcurrentMode = isConcurrentMode;
|
|
1238
|
+
reactIs_development.isContextConsumer = isContextConsumer;
|
|
1239
|
+
reactIs_development.isContextProvider = isContextProvider;
|
|
1240
|
+
reactIs_development.isElement = isElement;
|
|
1241
|
+
reactIs_development.isForwardRef = isForwardRef;
|
|
1242
|
+
reactIs_development.isFragment = isFragment;
|
|
1243
|
+
reactIs_development.isLazy = isLazy;
|
|
1244
|
+
reactIs_development.isMemo = isMemo;
|
|
1245
|
+
reactIs_development.isPortal = isPortal;
|
|
1246
|
+
reactIs_development.isProfiler = isProfiler;
|
|
1247
|
+
reactIs_development.isStrictMode = isStrictMode;
|
|
1248
|
+
reactIs_development.isSuspense = isSuspense;
|
|
1249
|
+
reactIs_development.isValidElementType = isValidElementType;
|
|
1250
|
+
reactIs_development.typeOf = typeOf;
|
|
1251
|
+
})();
|
|
1252
|
+
}
|
|
1253
|
+
return reactIs_development;
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
if (process.env.NODE_ENV === 'production') {
|
|
1257
|
+
reactIs$1.exports = requireReactIs_production_min();
|
|
1258
|
+
} else {
|
|
1259
|
+
reactIs$1.exports = requireReactIs_development();
|
|
1260
|
+
}
|
|
1261
|
+
var reactIsExports = reactIs$1.exports;
|
|
1262
|
+
|
|
1263
|
+
var reactIs = reactIsExports;
|
|
1264
|
+
|
|
1265
|
+
/**
|
|
1266
|
+
* Copyright 2015, Yahoo! Inc.
|
|
1267
|
+
* Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
|
|
1268
|
+
*/
|
|
1269
|
+
var REACT_STATICS = {
|
|
1270
|
+
childContextTypes: true,
|
|
1271
|
+
contextType: true,
|
|
1272
|
+
contextTypes: true,
|
|
1273
|
+
defaultProps: true,
|
|
1274
|
+
displayName: true,
|
|
1275
|
+
getDefaultProps: true,
|
|
1276
|
+
getDerivedStateFromError: true,
|
|
1277
|
+
getDerivedStateFromProps: true,
|
|
1278
|
+
mixins: true,
|
|
1279
|
+
propTypes: true,
|
|
1280
|
+
type: true
|
|
1281
|
+
};
|
|
1282
|
+
var KNOWN_STATICS = {
|
|
1283
|
+
name: true,
|
|
1284
|
+
length: true,
|
|
1285
|
+
prototype: true,
|
|
1286
|
+
caller: true,
|
|
1287
|
+
callee: true,
|
|
1288
|
+
arguments: true,
|
|
1289
|
+
arity: true
|
|
1290
|
+
};
|
|
1291
|
+
var FORWARD_REF_STATICS = {
|
|
1292
|
+
'$$typeof': true,
|
|
1293
|
+
render: true,
|
|
1294
|
+
defaultProps: true,
|
|
1295
|
+
displayName: true,
|
|
1296
|
+
propTypes: true
|
|
1297
|
+
};
|
|
1298
|
+
var MEMO_STATICS = {
|
|
1299
|
+
'$$typeof': true,
|
|
1300
|
+
compare: true,
|
|
1301
|
+
defaultProps: true,
|
|
1302
|
+
displayName: true,
|
|
1303
|
+
propTypes: true,
|
|
1304
|
+
type: true
|
|
1305
|
+
};
|
|
1306
|
+
var TYPE_STATICS = {};
|
|
1307
|
+
TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
|
|
1308
|
+
TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
|
|
1309
|
+
function getStatics(component) {
|
|
1310
|
+
// React v16.11 and below
|
|
1311
|
+
if (reactIs.isMemo(component)) {
|
|
1312
|
+
return MEMO_STATICS;
|
|
1313
|
+
} // React v16.12 and above
|
|
1314
|
+
|
|
1315
|
+
return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;
|
|
1316
|
+
}
|
|
1317
|
+
var defineProperty = Object.defineProperty;
|
|
1318
|
+
var getOwnPropertyNames = Object.getOwnPropertyNames;
|
|
1319
|
+
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
|
|
1320
|
+
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
1321
|
+
var getPrototypeOf = Object.getPrototypeOf;
|
|
1322
|
+
var objectPrototype = Object.prototype;
|
|
1323
|
+
function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
|
|
1324
|
+
if (typeof sourceComponent !== 'string') {
|
|
1325
|
+
// don't hoist over string (html) components
|
|
1326
|
+
if (objectPrototype) {
|
|
1327
|
+
var inheritedComponent = getPrototypeOf(sourceComponent);
|
|
1328
|
+
if (inheritedComponent && inheritedComponent !== objectPrototype) {
|
|
1329
|
+
hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
|
|
1330
|
+
}
|
|
1331
|
+
}
|
|
1332
|
+
var keys = getOwnPropertyNames(sourceComponent);
|
|
1333
|
+
if (getOwnPropertySymbols) {
|
|
1334
|
+
keys = keys.concat(getOwnPropertySymbols(sourceComponent));
|
|
1335
|
+
}
|
|
1336
|
+
var targetStatics = getStatics(targetComponent);
|
|
1337
|
+
var sourceStatics = getStatics(sourceComponent);
|
|
1338
|
+
for (var i = 0; i < keys.length; ++i) {
|
|
1339
|
+
var key = keys[i];
|
|
1340
|
+
if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {
|
|
1341
|
+
var descriptor = getOwnPropertyDescriptor(sourceComponent, key);
|
|
1342
|
+
try {
|
|
1343
|
+
// Avoid failures from read-only properties
|
|
1344
|
+
defineProperty(targetComponent, key, descriptor);
|
|
1345
|
+
} catch (e) {}
|
|
1346
|
+
}
|
|
1347
|
+
}
|
|
1348
|
+
}
|
|
1349
|
+
return targetComponent;
|
|
1350
|
+
}
|
|
1351
|
+
var hoistNonReactStatics_cjs = hoistNonReactStatics;
|
|
1352
|
+
var m = /*@__PURE__*/getDefaultExportFromCjs(hoistNonReactStatics_cjs);
|
|
1353
|
+
|
|
1354
|
+
function y() {
|
|
1355
|
+
return (y = Object.assign || function (e) {
|
|
1356
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
1357
|
+
var n = arguments[t];
|
|
1358
|
+
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
1359
|
+
}
|
|
1360
|
+
return e;
|
|
1361
|
+
}).apply(this, arguments);
|
|
1362
|
+
}
|
|
1363
|
+
var v = function (e, t) {
|
|
1364
|
+
for (var n = [e[0]], r = 0, o = t.length; r < o; r += 1) n.push(t[r], e[r + 1]);
|
|
1365
|
+
return n;
|
|
1366
|
+
},
|
|
1367
|
+
g = function (t) {
|
|
1368
|
+
return null !== t && "object" == typeof t && "[object Object]" === (t.toString ? t.toString() : Object.prototype.toString.call(t)) && !reactIsExports$1.typeOf(t);
|
|
1369
|
+
},
|
|
1370
|
+
S = Object.freeze([]),
|
|
1371
|
+
w = Object.freeze({});
|
|
1372
|
+
function E(e) {
|
|
1373
|
+
return "function" == typeof e;
|
|
1374
|
+
}
|
|
1375
|
+
function b(e) {
|
|
1376
|
+
return "production" !== process.env.NODE_ENV && "string" == typeof e && e || e.displayName || e.name || "Component";
|
|
1377
|
+
}
|
|
1378
|
+
function _(e) {
|
|
1379
|
+
return e && "string" == typeof e.styledComponentId;
|
|
1380
|
+
}
|
|
1381
|
+
var N = "undefined" != typeof process && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled",
|
|
1382
|
+
C = "undefined" != typeof window && "HTMLElement" in window,
|
|
1383
|
+
I = Boolean("boolean" == typeof SC_DISABLE_SPEEDY ? SC_DISABLE_SPEEDY : "undefined" != typeof process && void 0 !== process.env.REACT_APP_SC_DISABLE_SPEEDY && "" !== process.env.REACT_APP_SC_DISABLE_SPEEDY ? "false" !== process.env.REACT_APP_SC_DISABLE_SPEEDY && process.env.REACT_APP_SC_DISABLE_SPEEDY : "undefined" != typeof process && void 0 !== process.env.SC_DISABLE_SPEEDY && "" !== process.env.SC_DISABLE_SPEEDY ? "false" !== process.env.SC_DISABLE_SPEEDY && process.env.SC_DISABLE_SPEEDY : "production" !== process.env.NODE_ENV),
|
|
1384
|
+
O = "production" !== process.env.NODE_ENV ? {
|
|
1385
|
+
1: "Cannot create styled-component for component: %s.\n\n",
|
|
1386
|
+
2: "Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",
|
|
1387
|
+
3: "Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",
|
|
1388
|
+
4: "The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",
|
|
1389
|
+
5: "The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",
|
|
1390
|
+
6: "Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",
|
|
1391
|
+
7: 'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',
|
|
1392
|
+
8: 'ThemeProvider: Please make your "theme" prop an object.\n\n',
|
|
1393
|
+
9: "Missing document `<head>`\n\n",
|
|
1394
|
+
10: "Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",
|
|
1395
|
+
11: "_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",
|
|
1396
|
+
12: "It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",
|
|
1397
|
+
13: "%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",
|
|
1398
|
+
14: 'ThemeProvider: "theme" prop is required.\n\n',
|
|
1399
|
+
15: "A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",
|
|
1400
|
+
16: "Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",
|
|
1401
|
+
17: "CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n"
|
|
1402
|
+
} : {};
|
|
1403
|
+
function R() {
|
|
1404
|
+
for (var e = arguments.length <= 0 ? void 0 : arguments[0], t = [], n = 1, r = arguments.length; n < r; n += 1) t.push(n < 0 || arguments.length <= n ? void 0 : arguments[n]);
|
|
1405
|
+
return t.forEach(function (t) {
|
|
1406
|
+
e = e.replace(/%[a-z]/, t);
|
|
1407
|
+
}), e;
|
|
1408
|
+
}
|
|
1409
|
+
function D(e) {
|
|
1410
|
+
for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++) n[r - 1] = arguments[r];
|
|
1411
|
+
throw "production" === process.env.NODE_ENV ? new Error("An error occurred. See https://git.io/JUIaE#" + e + " for more information." + (n.length > 0 ? " Args: " + n.join(", ") : "")) : new Error(R.apply(void 0, [O[e]].concat(n)).trim());
|
|
1412
|
+
}
|
|
1413
|
+
var j = function () {
|
|
1414
|
+
function e(e) {
|
|
1415
|
+
this.groupSizes = new Uint32Array(512), this.length = 512, this.tag = e;
|
|
1416
|
+
}
|
|
1417
|
+
var t = e.prototype;
|
|
1418
|
+
return t.indexOfGroup = function (e) {
|
|
1419
|
+
for (var t = 0, n = 0; n < e; n++) t += this.groupSizes[n];
|
|
1420
|
+
return t;
|
|
1421
|
+
}, t.insertRules = function (e, t) {
|
|
1422
|
+
if (e >= this.groupSizes.length) {
|
|
1423
|
+
for (var n = this.groupSizes, r = n.length, o = r; e >= o;) (o <<= 1) < 0 && D(16, "" + e);
|
|
1424
|
+
this.groupSizes = new Uint32Array(o), this.groupSizes.set(n), this.length = o;
|
|
1425
|
+
for (var s = r; s < o; s++) this.groupSizes[s] = 0;
|
|
1426
|
+
}
|
|
1427
|
+
for (var i = this.indexOfGroup(e + 1), a = 0, c = t.length; a < c; a++) this.tag.insertRule(i, t[a]) && (this.groupSizes[e]++, i++);
|
|
1428
|
+
}, t.clearGroup = function (e) {
|
|
1429
|
+
if (e < this.length) {
|
|
1430
|
+
var t = this.groupSizes[e],
|
|
1431
|
+
n = this.indexOfGroup(e),
|
|
1432
|
+
r = n + t;
|
|
1433
|
+
this.groupSizes[e] = 0;
|
|
1434
|
+
for (var o = n; o < r; o++) this.tag.deleteRule(n);
|
|
1435
|
+
}
|
|
1436
|
+
}, t.getGroup = function (e) {
|
|
1437
|
+
var t = "";
|
|
1438
|
+
if (e >= this.length || 0 === this.groupSizes[e]) return t;
|
|
1439
|
+
for (var n = this.groupSizes[e], r = this.indexOfGroup(e), o = r + n, s = r; s < o; s++) t += this.tag.getRule(s) + "/*!sc*/\n";
|
|
1440
|
+
return t;
|
|
1441
|
+
}, e;
|
|
1442
|
+
}(),
|
|
1443
|
+
T = new Map(),
|
|
1444
|
+
x = new Map(),
|
|
1445
|
+
k = 1,
|
|
1446
|
+
V = function (e) {
|
|
1447
|
+
if (T.has(e)) return T.get(e);
|
|
1448
|
+
for (; x.has(k);) k++;
|
|
1449
|
+
var t = k++;
|
|
1450
|
+
return "production" !== process.env.NODE_ENV && ((0 | t) < 0 || t > 1 << 30) && D(16, "" + t), T.set(e, t), x.set(t, e), t;
|
|
1451
|
+
},
|
|
1452
|
+
z = function (e) {
|
|
1453
|
+
return x.get(e);
|
|
1454
|
+
},
|
|
1455
|
+
B = function (e, t) {
|
|
1456
|
+
t >= k && (k = t + 1), T.set(e, t), x.set(t, e);
|
|
1457
|
+
},
|
|
1458
|
+
M = "style[" + N + '][data-styled-version="5.3.6"]',
|
|
1459
|
+
G = new RegExp("^" + N + '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),
|
|
1460
|
+
L = function (e, t, n) {
|
|
1461
|
+
for (var r, o = n.split(","), s = 0, i = o.length; s < i; s++) (r = o[s]) && e.registerName(t, r);
|
|
1462
|
+
},
|
|
1463
|
+
F = function (e, t) {
|
|
1464
|
+
for (var n = (t.textContent || "").split("/*!sc*/\n"), r = [], o = 0, s = n.length; o < s; o++) {
|
|
1465
|
+
var i = n[o].trim();
|
|
1466
|
+
if (i) {
|
|
1467
|
+
var a = i.match(G);
|
|
1468
|
+
if (a) {
|
|
1469
|
+
var c = 0 | parseInt(a[1], 10),
|
|
1470
|
+
u = a[2];
|
|
1471
|
+
0 !== c && (B(u, c), L(e, u, a[3]), e.getTag().insertRules(c, r)), r.length = 0;
|
|
1472
|
+
} else r.push(i);
|
|
1473
|
+
}
|
|
1474
|
+
}
|
|
1475
|
+
},
|
|
1476
|
+
Y = function () {
|
|
1477
|
+
return "undefined" != typeof __webpack_nonce__ ? __webpack_nonce__ : null;
|
|
1478
|
+
},
|
|
1479
|
+
q = function (e) {
|
|
1480
|
+
var t = document.head,
|
|
1481
|
+
n = e || t,
|
|
1482
|
+
r = document.createElement("style"),
|
|
1483
|
+
o = function (e) {
|
|
1484
|
+
for (var t = e.childNodes, n = t.length; n >= 0; n--) {
|
|
1485
|
+
var r = t[n];
|
|
1486
|
+
if (r && 1 === r.nodeType && r.hasAttribute(N)) return r;
|
|
1487
|
+
}
|
|
1488
|
+
}(n),
|
|
1489
|
+
s = void 0 !== o ? o.nextSibling : null;
|
|
1490
|
+
r.setAttribute(N, "active"), r.setAttribute("data-styled-version", "5.3.6");
|
|
1491
|
+
var i = Y();
|
|
1492
|
+
return i && r.setAttribute("nonce", i), n.insertBefore(r, s), r;
|
|
1493
|
+
},
|
|
1494
|
+
H = function () {
|
|
1495
|
+
function e(e) {
|
|
1496
|
+
var t = this.element = q(e);
|
|
1497
|
+
t.appendChild(document.createTextNode("")), this.sheet = function (e) {
|
|
1498
|
+
if (e.sheet) return e.sheet;
|
|
1499
|
+
for (var t = document.styleSheets, n = 0, r = t.length; n < r; n++) {
|
|
1500
|
+
var o = t[n];
|
|
1501
|
+
if (o.ownerNode === e) return o;
|
|
1502
|
+
}
|
|
1503
|
+
D(17);
|
|
1504
|
+
}(t), this.length = 0;
|
|
1505
|
+
}
|
|
1506
|
+
var t = e.prototype;
|
|
1507
|
+
return t.insertRule = function (e, t) {
|
|
1508
|
+
try {
|
|
1509
|
+
return this.sheet.insertRule(t, e), this.length++, !0;
|
|
1510
|
+
} catch (e) {
|
|
1511
|
+
return !1;
|
|
1512
|
+
}
|
|
1513
|
+
}, t.deleteRule = function (e) {
|
|
1514
|
+
this.sheet.deleteRule(e), this.length--;
|
|
1515
|
+
}, t.getRule = function (e) {
|
|
1516
|
+
var t = this.sheet.cssRules[e];
|
|
1517
|
+
return void 0 !== t && "string" == typeof t.cssText ? t.cssText : "";
|
|
1518
|
+
}, e;
|
|
1519
|
+
}(),
|
|
1520
|
+
$ = function () {
|
|
1521
|
+
function e(e) {
|
|
1522
|
+
var t = this.element = q(e);
|
|
1523
|
+
this.nodes = t.childNodes, this.length = 0;
|
|
1524
|
+
}
|
|
1525
|
+
var t = e.prototype;
|
|
1526
|
+
return t.insertRule = function (e, t) {
|
|
1527
|
+
if (e <= this.length && e >= 0) {
|
|
1528
|
+
var n = document.createTextNode(t),
|
|
1529
|
+
r = this.nodes[e];
|
|
1530
|
+
return this.element.insertBefore(n, r || null), this.length++, !0;
|
|
1531
|
+
}
|
|
1532
|
+
return !1;
|
|
1533
|
+
}, t.deleteRule = function (e) {
|
|
1534
|
+
this.element.removeChild(this.nodes[e]), this.length--;
|
|
1535
|
+
}, t.getRule = function (e) {
|
|
1536
|
+
return e < this.length ? this.nodes[e].textContent : "";
|
|
1537
|
+
}, e;
|
|
1538
|
+
}(),
|
|
1539
|
+
W = function () {
|
|
1540
|
+
function e(e) {
|
|
1541
|
+
this.rules = [], this.length = 0;
|
|
1542
|
+
}
|
|
1543
|
+
var t = e.prototype;
|
|
1544
|
+
return t.insertRule = function (e, t) {
|
|
1545
|
+
return e <= this.length && (this.rules.splice(e, 0, t), this.length++, !0);
|
|
1546
|
+
}, t.deleteRule = function (e) {
|
|
1547
|
+
this.rules.splice(e, 1), this.length--;
|
|
1548
|
+
}, t.getRule = function (e) {
|
|
1549
|
+
return e < this.length ? this.rules[e] : "";
|
|
1550
|
+
}, e;
|
|
1551
|
+
}(),
|
|
1552
|
+
U = C,
|
|
1553
|
+
J = {
|
|
1554
|
+
isServer: !C,
|
|
1555
|
+
useCSSOMInjection: !I
|
|
1556
|
+
},
|
|
1557
|
+
X = function () {
|
|
1558
|
+
function e(e, t, n) {
|
|
1559
|
+
void 0 === e && (e = w), void 0 === t && (t = {}), this.options = y({}, J, {}, e), this.gs = t, this.names = new Map(n), this.server = !!e.isServer, !this.server && C && U && (U = !1, function (e) {
|
|
1560
|
+
for (var t = document.querySelectorAll(M), n = 0, r = t.length; n < r; n++) {
|
|
1561
|
+
var o = t[n];
|
|
1562
|
+
o && "active" !== o.getAttribute(N) && (F(e, o), o.parentNode && o.parentNode.removeChild(o));
|
|
1563
|
+
}
|
|
1564
|
+
}(this));
|
|
1565
|
+
}
|
|
1566
|
+
e.registerId = function (e) {
|
|
1567
|
+
return V(e);
|
|
1568
|
+
};
|
|
1569
|
+
var t = e.prototype;
|
|
1570
|
+
return t.reconstructWithOptions = function (t, n) {
|
|
1571
|
+
return void 0 === n && (n = !0), new e(y({}, this.options, {}, t), this.gs, n && this.names || void 0);
|
|
1572
|
+
}, t.allocateGSInstance = function (e) {
|
|
1573
|
+
return this.gs[e] = (this.gs[e] || 0) + 1;
|
|
1574
|
+
}, t.getTag = function () {
|
|
1575
|
+
return this.tag || (this.tag = (n = (t = this.options).isServer, r = t.useCSSOMInjection, o = t.target, e = n ? new W(o) : r ? new H(o) : new $(o), new j(e)));
|
|
1576
|
+
var e, t, n, r, o;
|
|
1577
|
+
}, t.hasNameForId = function (e, t) {
|
|
1578
|
+
return this.names.has(e) && this.names.get(e).has(t);
|
|
1579
|
+
}, t.registerName = function (e, t) {
|
|
1580
|
+
if (V(e), this.names.has(e)) this.names.get(e).add(t);else {
|
|
1581
|
+
var n = new Set();
|
|
1582
|
+
n.add(t), this.names.set(e, n);
|
|
1583
|
+
}
|
|
1584
|
+
}, t.insertRules = function (e, t, n) {
|
|
1585
|
+
this.registerName(e, t), this.getTag().insertRules(V(e), n);
|
|
1586
|
+
}, t.clearNames = function (e) {
|
|
1587
|
+
this.names.has(e) && this.names.get(e).clear();
|
|
1588
|
+
}, t.clearRules = function (e) {
|
|
1589
|
+
this.getTag().clearGroup(V(e)), this.clearNames(e);
|
|
1590
|
+
}, t.clearTag = function () {
|
|
1591
|
+
this.tag = void 0;
|
|
1592
|
+
}, t.toString = function () {
|
|
1593
|
+
return function (e) {
|
|
1594
|
+
for (var t = e.getTag(), n = t.length, r = "", o = 0; o < n; o++) {
|
|
1595
|
+
var s = z(o);
|
|
1596
|
+
if (void 0 !== s) {
|
|
1597
|
+
var i = e.names.get(s),
|
|
1598
|
+
a = t.getGroup(o);
|
|
1599
|
+
if (i && a && i.size) {
|
|
1600
|
+
var c = N + ".g" + o + '[id="' + s + '"]',
|
|
1601
|
+
u = "";
|
|
1602
|
+
void 0 !== i && i.forEach(function (e) {
|
|
1603
|
+
e.length > 0 && (u += e + ",");
|
|
1604
|
+
}), r += "" + a + c + '{content:"' + u + '"}/*!sc*/\n';
|
|
1605
|
+
}
|
|
1606
|
+
}
|
|
1607
|
+
}
|
|
1608
|
+
return r;
|
|
1609
|
+
}(this);
|
|
1610
|
+
}, e;
|
|
1611
|
+
}(),
|
|
1612
|
+
Z = /(a)(d)/gi,
|
|
1613
|
+
K = function (e) {
|
|
1614
|
+
return String.fromCharCode(e + (e > 25 ? 39 : 97));
|
|
1615
|
+
};
|
|
1616
|
+
function Q(e) {
|
|
1617
|
+
var t,
|
|
1618
|
+
n = "";
|
|
1619
|
+
for (t = Math.abs(e); t > 52; t = t / 52 | 0) n = K(t % 52) + n;
|
|
1620
|
+
return (K(t % 52) + n).replace(Z, "$1-$2");
|
|
1621
|
+
}
|
|
1622
|
+
var ee = function (e, t) {
|
|
1623
|
+
for (var n = t.length; n;) e = 33 * e ^ t.charCodeAt(--n);
|
|
1624
|
+
return e;
|
|
1625
|
+
},
|
|
1626
|
+
te = function (e) {
|
|
1627
|
+
return ee(5381, e);
|
|
1628
|
+
};
|
|
1629
|
+
function ne(e) {
|
|
1630
|
+
for (var t = 0; t < e.length; t += 1) {
|
|
1631
|
+
var n = e[t];
|
|
1632
|
+
if (E(n) && !_(n)) return !1;
|
|
1633
|
+
}
|
|
1634
|
+
return !0;
|
|
1635
|
+
}
|
|
1636
|
+
var re = te("5.3.6"),
|
|
1637
|
+
oe = function () {
|
|
1638
|
+
function e(e, t, n) {
|
|
1639
|
+
this.rules = e, this.staticRulesId = "", this.isStatic = "production" === process.env.NODE_ENV && (void 0 === n || n.isStatic) && ne(e), this.componentId = t, this.baseHash = ee(re, t), this.baseStyle = n, X.registerId(t);
|
|
1640
|
+
}
|
|
1641
|
+
return e.prototype.generateAndInjectStyles = function (e, t, n) {
|
|
1642
|
+
var r = this.componentId,
|
|
1643
|
+
o = [];
|
|
1644
|
+
if (this.baseStyle && o.push(this.baseStyle.generateAndInjectStyles(e, t, n)), this.isStatic && !n.hash) {
|
|
1645
|
+
if (this.staticRulesId && t.hasNameForId(r, this.staticRulesId)) o.push(this.staticRulesId);else {
|
|
1646
|
+
var s = _e(this.rules, e, t, n).join(""),
|
|
1647
|
+
i = Q(ee(this.baseHash, s) >>> 0);
|
|
1648
|
+
if (!t.hasNameForId(r, i)) {
|
|
1649
|
+
var a = n(s, "." + i, void 0, r);
|
|
1650
|
+
t.insertRules(r, i, a);
|
|
1651
|
+
}
|
|
1652
|
+
o.push(i), this.staticRulesId = i;
|
|
1653
|
+
}
|
|
1654
|
+
} else {
|
|
1655
|
+
for (var c = this.rules.length, u = ee(this.baseHash, n.hash), l = "", d = 0; d < c; d++) {
|
|
1656
|
+
var h = this.rules[d];
|
|
1657
|
+
if ("string" == typeof h) l += h, "production" !== process.env.NODE_ENV && (u = ee(u, h + d));else if (h) {
|
|
1658
|
+
var p = _e(h, e, t, n),
|
|
1659
|
+
f = Array.isArray(p) ? p.join("") : p;
|
|
1660
|
+
u = ee(u, f + d), l += f;
|
|
1661
|
+
}
|
|
1662
|
+
}
|
|
1663
|
+
if (l) {
|
|
1664
|
+
var m = Q(u >>> 0);
|
|
1665
|
+
if (!t.hasNameForId(r, m)) {
|
|
1666
|
+
var y = n(l, "." + m, void 0, r);
|
|
1667
|
+
t.insertRules(r, m, y);
|
|
1668
|
+
}
|
|
1669
|
+
o.push(m);
|
|
1670
|
+
}
|
|
1671
|
+
}
|
|
1672
|
+
return o.join(" ");
|
|
1673
|
+
}, e;
|
|
1674
|
+
}(),
|
|
1675
|
+
se = /^\s*\/\/.*$/gm,
|
|
1676
|
+
ie = [":", "[", ".", "#"];
|
|
1677
|
+
function ae(e) {
|
|
1678
|
+
var t,
|
|
1679
|
+
n,
|
|
1680
|
+
r,
|
|
1681
|
+
o,
|
|
1682
|
+
s = void 0 === e ? w : e,
|
|
1683
|
+
i = s.options,
|
|
1684
|
+
a = void 0 === i ? w : i,
|
|
1685
|
+
c = s.plugins,
|
|
1686
|
+
u = void 0 === c ? S : c,
|
|
1687
|
+
l = new stylis_min(a),
|
|
1688
|
+
d = [],
|
|
1689
|
+
p = function (e) {
|
|
1690
|
+
function t(t) {
|
|
1691
|
+
if (t) try {
|
|
1692
|
+
e(t + "}");
|
|
1693
|
+
} catch (e) {}
|
|
1694
|
+
}
|
|
1695
|
+
return function (n, r, o, s, i, a, c, u, l, d) {
|
|
1696
|
+
switch (n) {
|
|
1697
|
+
case 1:
|
|
1698
|
+
if (0 === l && 64 === r.charCodeAt(0)) return e(r + ";"), "";
|
|
1699
|
+
break;
|
|
1700
|
+
case 2:
|
|
1701
|
+
if (0 === u) return r + "/*|*/";
|
|
1702
|
+
break;
|
|
1703
|
+
case 3:
|
|
1704
|
+
switch (u) {
|
|
1705
|
+
case 102:
|
|
1706
|
+
case 112:
|
|
1707
|
+
return e(o[0] + r), "";
|
|
1708
|
+
default:
|
|
1709
|
+
return r + (0 === d ? "/*|*/" : "");
|
|
1710
|
+
}
|
|
1711
|
+
case -2:
|
|
1712
|
+
r.split("/*|*/}").forEach(t);
|
|
1713
|
+
}
|
|
1714
|
+
};
|
|
1715
|
+
}(function (e) {
|
|
1716
|
+
d.push(e);
|
|
1717
|
+
}),
|
|
1718
|
+
f = function (e, r, s) {
|
|
1719
|
+
return 0 === r && -1 !== ie.indexOf(s[n.length]) || s.match(o) ? e : "." + t;
|
|
1720
|
+
};
|
|
1721
|
+
function m(e, s, i, a) {
|
|
1722
|
+
void 0 === a && (a = "&");
|
|
1723
|
+
var c = e.replace(se, ""),
|
|
1724
|
+
u = s && i ? i + " " + s + " { " + c + " }" : c;
|
|
1725
|
+
return t = a, n = s, r = new RegExp("\\" + n + "\\b", "g"), o = new RegExp("(\\" + n + "\\b){2,}"), l(i || !s ? "" : s, u);
|
|
1726
|
+
}
|
|
1727
|
+
return l.use([].concat(u, [function (e, t, o) {
|
|
1728
|
+
2 === e && o.length && o[0].lastIndexOf(n) > 0 && (o[0] = o[0].replace(r, f));
|
|
1729
|
+
}, p, function (e) {
|
|
1730
|
+
if (-2 === e) {
|
|
1731
|
+
var t = d;
|
|
1732
|
+
return d = [], t;
|
|
1733
|
+
}
|
|
1734
|
+
}])), m.hash = u.length ? u.reduce(function (e, t) {
|
|
1735
|
+
return t.name || D(15), ee(e, t.name);
|
|
1736
|
+
}, 5381).toString() : "", m;
|
|
1737
|
+
}
|
|
1738
|
+
var ce = React.createContext();
|
|
1739
|
+
ce.Consumer;
|
|
1740
|
+
var le = React.createContext(),
|
|
1741
|
+
de = (le.Consumer, new X()),
|
|
1742
|
+
he = ae();
|
|
1743
|
+
function pe() {
|
|
1744
|
+
return useContext(ce) || de;
|
|
1745
|
+
}
|
|
1746
|
+
function fe() {
|
|
1747
|
+
return useContext(le) || he;
|
|
1748
|
+
}
|
|
1749
|
+
var ye = function () {
|
|
1750
|
+
function e(e, t) {
|
|
1751
|
+
var n = this;
|
|
1752
|
+
this.inject = function (e, t) {
|
|
1753
|
+
void 0 === t && (t = he);
|
|
1754
|
+
var r = n.name + t.hash;
|
|
1755
|
+
e.hasNameForId(n.id, r) || e.insertRules(n.id, r, t(n.rules, r, "@keyframes"));
|
|
1756
|
+
}, this.toString = function () {
|
|
1757
|
+
return D(12, String(n.name));
|
|
1758
|
+
}, this.name = e, this.id = "sc-keyframes-" + e, this.rules = t;
|
|
1759
|
+
}
|
|
1760
|
+
return e.prototype.getName = function (e) {
|
|
1761
|
+
return void 0 === e && (e = he), this.name + e.hash;
|
|
1762
|
+
}, e;
|
|
1763
|
+
}(),
|
|
1764
|
+
ve = /([A-Z])/,
|
|
1765
|
+
ge = /([A-Z])/g,
|
|
1766
|
+
Se = /^ms-/,
|
|
1767
|
+
we = function (e) {
|
|
1768
|
+
return "-" + e.toLowerCase();
|
|
1769
|
+
};
|
|
1770
|
+
function Ee(e) {
|
|
1771
|
+
return ve.test(e) ? e.replace(ge, we).replace(Se, "-ms-") : e;
|
|
1772
|
+
}
|
|
1773
|
+
var be = function (e) {
|
|
1774
|
+
return null == e || !1 === e || "" === e;
|
|
1775
|
+
};
|
|
1776
|
+
function _e(e, n, r, o) {
|
|
1777
|
+
if (Array.isArray(e)) {
|
|
1778
|
+
for (var s, i = [], a = 0, c = e.length; a < c; a += 1) "" !== (s = _e(e[a], n, r, o)) && (Array.isArray(s) ? i.push.apply(i, s) : i.push(s));
|
|
1779
|
+
return i;
|
|
1780
|
+
}
|
|
1781
|
+
if (be(e)) return "";
|
|
1782
|
+
if (_(e)) return "." + e.styledComponentId;
|
|
1783
|
+
if (E(e)) {
|
|
1784
|
+
if ("function" != typeof (l = e) || l.prototype && l.prototype.isReactComponent || !n) return e;
|
|
1785
|
+
var u = e(n);
|
|
1786
|
+
return "production" !== process.env.NODE_ENV && reactIsExports$1.isElement(u) && console.warn(b(e) + " is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details."), _e(u, n, r, o);
|
|
1787
|
+
}
|
|
1788
|
+
var l;
|
|
1789
|
+
return e instanceof ye ? r ? (e.inject(r, o), e.getName(o)) : e : g(e) ? function e(t, n) {
|
|
1790
|
+
var r,
|
|
1791
|
+
o,
|
|
1792
|
+
s = [];
|
|
1793
|
+
for (var i in t) t.hasOwnProperty(i) && !be(t[i]) && (Array.isArray(t[i]) && t[i].isCss || E(t[i]) ? s.push(Ee(i) + ":", t[i], ";") : g(t[i]) ? s.push.apply(s, e(t[i], i)) : s.push(Ee(i) + ": " + (r = i, null == (o = t[i]) || "boolean" == typeof o || "" === o ? "" : "number" != typeof o || 0 === o || r in unitlessKeys ? String(o).trim() : o + "px") + ";"));
|
|
1794
|
+
return n ? [n + " {"].concat(s, ["}"]) : s;
|
|
1795
|
+
}(e) : e.toString();
|
|
1796
|
+
}
|
|
1797
|
+
var Ne = function (e) {
|
|
1798
|
+
return Array.isArray(e) && (e.isCss = !0), e;
|
|
1799
|
+
};
|
|
1800
|
+
function Ae(e) {
|
|
1801
|
+
for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++) n[r - 1] = arguments[r];
|
|
1802
|
+
return E(e) || g(e) ? Ne(_e(v(S, [e].concat(n)))) : 0 === n.length && 1 === e.length && "string" == typeof e[0] ? e : Ne(_e(v(e, n)));
|
|
1803
|
+
}
|
|
1804
|
+
var Ce = /invalid hook call/i,
|
|
1805
|
+
Ie = new Set(),
|
|
1806
|
+
Pe = function (e, t) {
|
|
1807
|
+
if ("production" !== process.env.NODE_ENV) {
|
|
1808
|
+
var n = "The component " + e + (t ? ' with the id of "' + t + '"' : "") + " has been created dynamically.\nYou may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.",
|
|
1809
|
+
r = console.error;
|
|
1810
|
+
try {
|
|
1811
|
+
var o = !0;
|
|
1812
|
+
console.error = function (e) {
|
|
1813
|
+
if (Ce.test(e)) o = !1, Ie.delete(n);else {
|
|
1814
|
+
for (var t = arguments.length, s = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++) s[i - 1] = arguments[i];
|
|
1815
|
+
r.apply(void 0, [e].concat(s));
|
|
1816
|
+
}
|
|
1817
|
+
}, useRef(), o && !Ie.has(n) && (console.warn(n), Ie.add(n));
|
|
1818
|
+
} catch (e) {
|
|
1819
|
+
Ce.test(e.message) && Ie.delete(n);
|
|
1820
|
+
} finally {
|
|
1821
|
+
console.error = r;
|
|
1822
|
+
}
|
|
1823
|
+
}
|
|
1824
|
+
},
|
|
1825
|
+
Oe = function (e, t, n) {
|
|
1826
|
+
return void 0 === n && (n = w), e.theme !== n.theme && e.theme || t || n.theme;
|
|
1827
|
+
},
|
|
1828
|
+
Re = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,
|
|
1829
|
+
De = /(^-|-$)/g;
|
|
1830
|
+
function je(e) {
|
|
1831
|
+
return e.replace(Re, "-").replace(De, "");
|
|
1832
|
+
}
|
|
1833
|
+
var Te = function (e) {
|
|
1834
|
+
return Q(te(e) >>> 0);
|
|
1835
|
+
};
|
|
1836
|
+
function xe(e) {
|
|
1837
|
+
return "string" == typeof e && ("production" === process.env.NODE_ENV || e.charAt(0) === e.charAt(0).toLowerCase());
|
|
1838
|
+
}
|
|
1839
|
+
var ke = function (e) {
|
|
1840
|
+
return "function" == typeof e || "object" == typeof e && null !== e && !Array.isArray(e);
|
|
1841
|
+
},
|
|
1842
|
+
Ve = function (e) {
|
|
1843
|
+
return "__proto__" !== e && "constructor" !== e && "prototype" !== e;
|
|
1844
|
+
};
|
|
1845
|
+
function ze(e, t, n) {
|
|
1846
|
+
var r = e[n];
|
|
1847
|
+
ke(t) && ke(r) ? Be(r, t) : e[n] = t;
|
|
1848
|
+
}
|
|
1849
|
+
function Be(e) {
|
|
1850
|
+
for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++) n[r - 1] = arguments[r];
|
|
1851
|
+
for (var o = 0, s = n; o < s.length; o++) {
|
|
1852
|
+
var i = s[o];
|
|
1853
|
+
if (ke(i)) for (var a in i) Ve(a) && ze(e, i[a], a);
|
|
1854
|
+
}
|
|
1855
|
+
return e;
|
|
1856
|
+
}
|
|
1857
|
+
var Me = React.createContext();
|
|
1858
|
+
Me.Consumer;
|
|
1859
|
+
var Fe = {};
|
|
1860
|
+
function Ye(e, t, n) {
|
|
1861
|
+
var o = _(e),
|
|
1862
|
+
i = !xe(e),
|
|
1863
|
+
a = t.attrs,
|
|
1864
|
+
c = void 0 === a ? S : a,
|
|
1865
|
+
d = t.componentId,
|
|
1866
|
+
h = void 0 === d ? function (e, t) {
|
|
1867
|
+
var n = "string" != typeof e ? "sc" : je(e);
|
|
1868
|
+
Fe[n] = (Fe[n] || 0) + 1;
|
|
1869
|
+
var r = n + "-" + Te("5.3.6" + n + Fe[n]);
|
|
1870
|
+
return t ? t + "-" + r : r;
|
|
1871
|
+
}(t.displayName, t.parentComponentId) : d,
|
|
1872
|
+
p = t.displayName,
|
|
1873
|
+
v = void 0 === p ? function (e) {
|
|
1874
|
+
return xe(e) ? "styled." + e : "Styled(" + b(e) + ")";
|
|
1875
|
+
}(e) : p,
|
|
1876
|
+
g = t.displayName && t.componentId ? je(t.displayName) + "-" + t.componentId : t.componentId || h,
|
|
1877
|
+
N = o && e.attrs ? Array.prototype.concat(e.attrs, c).filter(Boolean) : c,
|
|
1878
|
+
A = t.shouldForwardProp;
|
|
1879
|
+
o && e.shouldForwardProp && (A = t.shouldForwardProp ? function (n, r, o) {
|
|
1880
|
+
return e.shouldForwardProp(n, r, o) && t.shouldForwardProp(n, r, o);
|
|
1881
|
+
} : e.shouldForwardProp);
|
|
1882
|
+
var C,
|
|
1883
|
+
I = new oe(n, g, o ? e.componentStyle : void 0),
|
|
1884
|
+
P = I.isStatic && 0 === c.length,
|
|
1885
|
+
O = function (e, t) {
|
|
1886
|
+
return function (e, t, n, r) {
|
|
1887
|
+
var o = e.attrs,
|
|
1888
|
+
i = e.componentStyle,
|
|
1889
|
+
a = e.defaultProps,
|
|
1890
|
+
c = e.foldedComponentIds,
|
|
1891
|
+
d = e.shouldForwardProp,
|
|
1892
|
+
h = e.styledComponentId,
|
|
1893
|
+
p = e.target;
|
|
1894
|
+
"production" !== process.env.NODE_ENV && useDebugValue(h);
|
|
1895
|
+
var m = function (e, t, n) {
|
|
1896
|
+
void 0 === e && (e = w);
|
|
1897
|
+
var r = y({}, t, {
|
|
1898
|
+
theme: e
|
|
1899
|
+
}),
|
|
1900
|
+
o = {};
|
|
1901
|
+
return n.forEach(function (e) {
|
|
1902
|
+
var t,
|
|
1903
|
+
n,
|
|
1904
|
+
s,
|
|
1905
|
+
i = e;
|
|
1906
|
+
for (t in E(i) && (i = i(r)), i) r[t] = o[t] = "className" === t ? (n = o[t], s = i[t], n && s ? n + " " + s : n || s) : i[t];
|
|
1907
|
+
}), [r, o];
|
|
1908
|
+
}(Oe(t, useContext(Me), a) || w, t, o),
|
|
1909
|
+
v = m[0],
|
|
1910
|
+
g = m[1],
|
|
1911
|
+
S = function (e, t, n, r) {
|
|
1912
|
+
var o = pe(),
|
|
1913
|
+
s = fe(),
|
|
1914
|
+
i = t ? e.generateAndInjectStyles(w, o, s) : e.generateAndInjectStyles(n, o, s);
|
|
1915
|
+
return "production" !== process.env.NODE_ENV && useDebugValue(i), "production" !== process.env.NODE_ENV && !t && r && r(i), i;
|
|
1916
|
+
}(i, r, v, "production" !== process.env.NODE_ENV ? e.warnTooManyClasses : void 0),
|
|
1917
|
+
b = n,
|
|
1918
|
+
_ = g.$as || t.$as || g.as || t.as || p,
|
|
1919
|
+
N = xe(_),
|
|
1920
|
+
A = g !== t ? y({}, t, {}, g) : t,
|
|
1921
|
+
C = {};
|
|
1922
|
+
for (var I in A) "$" !== I[0] && "as" !== I && ("forwardedAs" === I ? C.as = A[I] : (d ? d(I, isPropValid, _) : !N || isPropValid(I)) && (C[I] = A[I]));
|
|
1923
|
+
return t.style && g.style !== t.style && (C.style = y({}, t.style, {}, g.style)), C.className = Array.prototype.concat(c, h, S !== h ? S : null, t.className, g.className).filter(Boolean).join(" "), C.ref = b, createElement(_, C);
|
|
1924
|
+
}(C, e, t, P);
|
|
1925
|
+
};
|
|
1926
|
+
return O.displayName = v, (C = React.forwardRef(O)).attrs = N, C.componentStyle = I, C.displayName = v, C.shouldForwardProp = A, C.foldedComponentIds = o ? Array.prototype.concat(e.foldedComponentIds, e.styledComponentId) : S, C.styledComponentId = g, C.target = o ? e.target : e, C.withComponent = function (e) {
|
|
1927
|
+
var r = t.componentId,
|
|
1928
|
+
o = function (e, t) {
|
|
1929
|
+
if (null == e) return {};
|
|
1930
|
+
var n,
|
|
1931
|
+
r,
|
|
1932
|
+
o = {},
|
|
1933
|
+
s = Object.keys(e);
|
|
1934
|
+
for (r = 0; r < s.length; r++) n = s[r], t.indexOf(n) >= 0 || (o[n] = e[n]);
|
|
1935
|
+
return o;
|
|
1936
|
+
}(t, ["componentId"]),
|
|
1937
|
+
s = r && r + "-" + (xe(e) ? e : je(b(e)));
|
|
1938
|
+
return Ye(e, y({}, o, {
|
|
1939
|
+
attrs: N,
|
|
1940
|
+
componentId: s
|
|
1941
|
+
}), n);
|
|
1942
|
+
}, Object.defineProperty(C, "defaultProps", {
|
|
1943
|
+
get: function () {
|
|
1944
|
+
return this._foldedDefaultProps;
|
|
1945
|
+
},
|
|
1946
|
+
set: function (t) {
|
|
1947
|
+
this._foldedDefaultProps = o ? Be({}, e.defaultProps, t) : t;
|
|
1948
|
+
}
|
|
1949
|
+
}), "production" !== process.env.NODE_ENV && (Pe(v, g), C.warnTooManyClasses = function (e, t) {
|
|
1950
|
+
var n = {},
|
|
1951
|
+
r = !1;
|
|
1952
|
+
return function (o) {
|
|
1953
|
+
if (!r && (n[o] = !0, Object.keys(n).length >= 200)) {
|
|
1954
|
+
var s = t ? ' with the id of "' + t + '"' : "";
|
|
1955
|
+
console.warn("Over 200 classes were generated for component " + e + s + ".\nConsider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n <Component />"), r = !0, n = {};
|
|
1956
|
+
}
|
|
1957
|
+
};
|
|
1958
|
+
}(v, g)), C.toString = function () {
|
|
1959
|
+
return "." + C.styledComponentId;
|
|
1960
|
+
}, i && m(C, e, {
|
|
1961
|
+
attrs: !0,
|
|
1962
|
+
componentStyle: !0,
|
|
1963
|
+
displayName: !0,
|
|
1964
|
+
foldedComponentIds: !0,
|
|
1965
|
+
shouldForwardProp: !0,
|
|
1966
|
+
styledComponentId: !0,
|
|
1967
|
+
target: !0,
|
|
1968
|
+
withComponent: !0
|
|
1969
|
+
}), C;
|
|
1970
|
+
}
|
|
1971
|
+
var qe = function (e) {
|
|
1972
|
+
return function e(t, r, o) {
|
|
1973
|
+
if (void 0 === o && (o = w), !reactIsExports$1.isValidElementType(r)) return D(1, String(r));
|
|
1974
|
+
var s = function () {
|
|
1975
|
+
return t(r, o, Ae.apply(void 0, arguments));
|
|
1976
|
+
};
|
|
1977
|
+
return s.withConfig = function (n) {
|
|
1978
|
+
return e(t, r, y({}, o, {}, n));
|
|
1979
|
+
}, s.attrs = function (n) {
|
|
1980
|
+
return e(t, r, y({}, o, {
|
|
1981
|
+
attrs: Array.prototype.concat(o.attrs, n).filter(Boolean)
|
|
1982
|
+
}));
|
|
1983
|
+
}, s;
|
|
1984
|
+
}(Ye, e);
|
|
1985
|
+
};
|
|
1986
|
+
["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "marquee", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "u", "ul", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "textPath", "tspan"].forEach(function (e) {
|
|
1987
|
+
qe[e] = qe(e);
|
|
1988
|
+
});
|
|
1989
|
+
"production" !== process.env.NODE_ENV && "undefined" != typeof navigator && "ReactNative" === navigator.product && console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native"), "production" !== process.env.NODE_ENV && "test" !== process.env.NODE_ENV && "undefined" != typeof window && (window["__styled-components-init__"] = window["__styled-components-init__"] || 0, 1 === window["__styled-components-init__"] && console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\n\nSee https://s-c.sh/2BAXzed for more info."), window["__styled-components-init__"] += 1);
|
|
1990
|
+
var styled = qe;
|
|
1991
|
+
|
|
1983
1992
|
var Colors = {
|
|
1984
1993
|
PRIMARY: {
|
|
1985
1994
|
Hex: '#0193D7',
|
|
@@ -2021,10 +2030,10 @@ var FontStyles = {
|
|
|
2021
2030
|
var FontSizes = {
|
|
2022
2031
|
DEFAULT: '14px',
|
|
2023
2032
|
SMALL: '13px',
|
|
2024
|
-
};
|
|
2025
|
-
|
|
2026
|
-
var Header$3 = styled.div(templateObject_1$
|
|
2027
|
-
var Title$1 = styled.div(templateObject_2$
|
|
2033
|
+
};
|
|
2034
|
+
|
|
2035
|
+
var Header$3 = styled.div(templateObject_1$n || (templateObject_1$n = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n box-sizing: border-box;\n background: #f5f5f5;\n border: 1px solid #e5e5e5;\n padding: 14px 20px;\n height: 50px;\n cursor: pointer;\n"], ["\n display: flex;\n align-items: center;\n justify-content: space-between;\n box-sizing: border-box;\n background: #f5f5f5;\n border: 1px solid #e5e5e5;\n padding: 14px 20px;\n height: 50px;\n cursor: pointer;\n"])));
|
|
2036
|
+
var Title$1 = styled.div(templateObject_2$l || (templateObject_2$l = __makeTemplateObject(["\n font-size: ", ";\n font-weight: 400;\n color: ", ";\n line-height: 1.6em;\n font-family: ", ";\n box-sizing: border-box;\n"], ["\n font-size: ", ";\n font-weight: 400;\n color: ", ";\n line-height: 1.6em;\n font-family: ", ";\n box-sizing: border-box;\n"])), FontSizes.DEFAULT, Colors.BLACK.Hex, FontStyles.DEFAULT);
|
|
2028
2037
|
var Accordion = function (_a) {
|
|
2029
2038
|
var title = _a.title, children = _a.children, open = _a.open, onClick = _a.onClick, accessibleProps = __rest(_a, ["title", "children", "open", "onClick"]);
|
|
2030
2039
|
return (React.createElement(React.Fragment, null,
|
|
@@ -2033,8 +2042,8 @@ var Accordion = function (_a) {
|
|
|
2033
2042
|
React.createElement(Icon, { color: Colors.BLACK.Hex, path: open ? mdiChevronUp : mdiChevronDown, size: '24px' })),
|
|
2034
2043
|
open ? children : null));
|
|
2035
2044
|
};
|
|
2036
|
-
var templateObject_1$
|
|
2037
|
-
|
|
2045
|
+
var templateObject_1$n, templateObject_2$l;
|
|
2046
|
+
|
|
2038
2047
|
var button_type_mapping = {
|
|
2039
2048
|
primary: {
|
|
2040
2049
|
background_color: Colors.PRIMARY.Hex,
|
|
@@ -2058,7 +2067,7 @@ var button_type_mapping = {
|
|
|
2058
2067
|
badge_content_color: Colors.RED.Hex,
|
|
2059
2068
|
},
|
|
2060
2069
|
};
|
|
2061
|
-
var StyledButton = styled.button(templateObject_1$
|
|
2070
|
+
var StyledButton = styled.button(templateObject_1$m || (templateObject_1$m = __makeTemplateObject(["\n height: ", ";\n line-height: 1em;\n border-radius: ", ";\n margin: ", ";\n padding: ", ";\n outline: none;\n background: ", ";\n width: ", ";\n cursor: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n opacity: ", ";\n border-width: 1px;\n border-style: solid;\n border-color: ", ";\n box-sizing: border-box;\n &:hover {\n opacity: ", ";\n }\n"], ["\n height: ", ";\n line-height: 1em;\n border-radius: ", ";\n margin: ", ";\n padding: ", ";\n outline: none;\n background: ", ";\n width: ", ";\n cursor: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n opacity: ", ";\n border-width: 1px;\n border-style: solid;\n border-color: ", ";\n box-sizing: border-box;\n &:hover {\n opacity: ", ";\n }\n"])), function (props) { return (props.$small ? '30px' : '40px'); }, function (props) { return (props.$small ? '15px' : '20px'); }, function (props) { return props.$margin || '0px'; }, function (props) {
|
|
2062
2071
|
if (props.$hasChildren) {
|
|
2063
2072
|
if (props.$small) {
|
|
2064
2073
|
return '0 10px';
|
|
@@ -2081,9 +2090,9 @@ var StyledButton = styled.button(templateObject_1$l || (templateObject_1$l = __m
|
|
|
2081
2090
|
}, function (props) { return (props.$disabled ? 'default' : 'pointer'); }, function (props) { return (props.$disabled ? 0.6 : 0.9); }, function (props) {
|
|
2082
2091
|
return props.$format ? button_type_mapping[props.$format].border_color : Colors.PRIMARY.Hex;
|
|
2083
2092
|
}, function (props) { return (props.$disabled ? 0.6 : 1); });
|
|
2084
|
-
var Label$4 = styled.span(templateObject_2$
|
|
2085
|
-
var StyledIcon$
|
|
2086
|
-
var Badge = styled.span(templateObject_4$
|
|
2093
|
+
var Label$4 = styled.span(templateObject_2$k || (templateObject_2$k = __makeTemplateObject(["\n color: ", ";\n font-size: ", ";\n font-family: ", ";\n font-weight: 500;\n line-height: ", ";\n"], ["\n color: ", ";\n font-size: ", ";\n font-family: ", ";\n font-weight: 500;\n line-height: ", ";\n"])), function (props) { return (props.$format ? button_type_mapping[props.$format].content_color : '#fff'); }, function (props) { return (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT); }, FontStyles.DEFAULT, function (props) { return (props.$small ? '2.2em' : '2.9em'); });
|
|
2094
|
+
var StyledIcon$2 = styled.span(templateObject_3$h || (templateObject_3$h = __makeTemplateObject(["\n margin-left: ", ";\n margin-right: ", ";\n display: flex;\n align-items: center;\n box-sizing: border-box;\n"], ["\n margin-left: ", ";\n margin-right: ", ";\n display: flex;\n align-items: center;\n box-sizing: border-box;\n"])), function (props) { return (props.$hasChildren ? '6px' : '0px'); }, function (props) { return (props.$hasChildren ? '-4px' : '0px'); });
|
|
2095
|
+
var Badge = styled.span(templateObject_4$9 || (templateObject_4$9 = __makeTemplateObject(["\n width: ", ";\n height: ", ";\n line-height: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 100%;\n background-color: ", ";\n color: ", ";\n font-size: ", ";\n font-weight: 600;\n font-family: ", ";\n letter-spacing: -1px;\n margin-left: ", ";\n margin-right: ", ";\n"], ["\n width: ", ";\n height: ", ";\n line-height: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 100%;\n background-color: ", ";\n color: ", ";\n font-size: ", ";\n font-weight: 600;\n font-family: ", ";\n letter-spacing: -1px;\n margin-left: ", ";\n margin-right: ", ";\n"])), function (props) { return (props.$small ? '20px' : '24px'); }, function (props) { return (props.$small ? '20px' : '24px'); }, function (props) {
|
|
2087
2096
|
return props.$format ? button_type_mapping[props.$format].badge_bg_color : '#fff';
|
|
2088
2097
|
}, function (props) {
|
|
2089
2098
|
return props.$format ? button_type_mapping[props.$format].badge_content_color : Colors.PRIMARY.Hex;
|
|
@@ -2093,13 +2102,13 @@ var Button = function (_a) {
|
|
|
2093
2102
|
var has_children = children && children.length > 0;
|
|
2094
2103
|
return (React.createElement(StyledButton, __assign({ "$disabled": disabled, "$format": format, "$hasChildren": !!has_children, "$margin": margin, "$small": small, onClick: disabled ? undefined : onClick, type: isForm ? 'submit' : undefined }, accessibleProps),
|
|
2095
2104
|
children ? (React.createElement(Label$4, { "$format": format, "$small": small }, children)) : null,
|
|
2096
|
-
icon && !badge ? (React.createElement(StyledIcon$
|
|
2105
|
+
icon && !badge ? (React.createElement(StyledIcon$2, { "$hasChildren": !!has_children },
|
|
2097
2106
|
React.createElement(Icon, { color: format ? button_type_mapping[format].content_color : '#fff', path: icon, size: small ? '20px' : '24px' }))) : null,
|
|
2098
2107
|
badge && !icon ? (React.createElement(Badge, { "$format": format, "$small": small }, badge)) : null));
|
|
2099
2108
|
};
|
|
2100
|
-
var templateObject_1$
|
|
2101
|
-
|
|
2102
|
-
var StyledComponent = styled.p(templateObject_1$
|
|
2109
|
+
var templateObject_1$m, templateObject_2$k, templateObject_3$h, templateObject_4$9;
|
|
2110
|
+
|
|
2111
|
+
var StyledComponent = styled.p(templateObject_1$l || (templateObject_1$l = __makeTemplateObject(["\n color: ", ";\n font-size: ", ";\n line-height: ", ";\n letter-spacing: ", ";\n font-weight: ", ";\n font-style: ", ";\n text-decoration: ", ";\n font-family: 'Roboto', Helvetica, Arial, sans-serif;\n margin: ", ";\n padding: ", ";\n text-align: ", ";\n box-sizing: border-box;\n"], ["\n color: ", ";\n font-size: ", ";\n line-height: ", ";\n letter-spacing: ", ";\n font-weight: ", ";\n font-style: ", ";\n text-decoration: ", ";\n font-family: 'Roboto', Helvetica, Arial, sans-serif;\n margin: ", ";\n padding: ", ";\n text-align: ", ";\n box-sizing: border-box;\n"])), function (props) { return Colors[props.$color].Hex; }, function (props) { return (props.$type === 'small' ? FontSizes.SMALL : FontSizes.DEFAULT); }, function (props) { return (props.$type === 'small' ? '1.5em' : '1.6em'); }, function (props) { return (props.$type === 'small' ? '1px' : '0px'); }, function (props) { return (props.$type === 'bold' ? '500' : '400'); }, function (props) { return (props.$type === 'italic' ? 'italic' : 'normal'); }, function (props) {
|
|
2103
2112
|
return ['underline', 'line-through'].includes(props.$type) ? props.$type : 'none';
|
|
2104
2113
|
}, function (props) { return props.$margin || '0px'; }, function (props) { return props.$padding || '0px'; }, function (props) { return props.$align || 'left'; });
|
|
2105
2114
|
var Copy = function (_a) {
|
|
@@ -2109,11 +2118,11 @@ var Copy = function (_a) {
|
|
|
2109
2118
|
Copy.defaultProps = {
|
|
2110
2119
|
type: 'default',
|
|
2111
2120
|
};
|
|
2112
|
-
var templateObject_1$
|
|
2113
|
-
|
|
2114
|
-
var H1 = styled.h1(templateObject_1$
|
|
2115
|
-
var H2 = styled.h2(templateObject_2$
|
|
2116
|
-
var H3 = styled.h3(templateObject_3$
|
|
2121
|
+
var templateObject_1$l;
|
|
2122
|
+
|
|
2123
|
+
var H1 = styled.h1(templateObject_1$k || (templateObject_1$k = __makeTemplateObject(["\n color: ", ";\n font-size: 30px;\n font-weight: ", ";\n line-height: 1.4em;\n font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;\n margin: ", ";\n padding: ", ";\n box-sizing: border-box;\n"], ["\n color: ", ";\n font-size: 30px;\n font-weight: ", ";\n line-height: 1.4em;\n font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;\n margin: ", ";\n padding: ", ";\n box-sizing: border-box;\n"])), Colors.BLACK.Hex, function (props) { return (props.$bold ? '500' : '400'); }, function (props) { return props.$margin || '0px'; }, function (props) { return props.$padding || '0px'; });
|
|
2124
|
+
var H2 = styled.h2(templateObject_2$j || (templateObject_2$j = __makeTemplateObject(["\n color: ", ";\n font-size: 24px;\n font-weight: ", ";\n line-height: 1.33em;\n font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;\n margin: ", ";\n padding: ", ";\n box-sizing: border-box;\n"], ["\n color: ", ";\n font-size: 24px;\n font-weight: ", ";\n line-height: 1.33em;\n font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;\n margin: ", ";\n padding: ", ";\n box-sizing: border-box;\n"])), Colors.BLACK.Hex, function (props) { return (props.$bold ? '500' : '400'); }, function (props) { return props.$margin || '0px'; }, function (props) { return props.$padding || '0px'; });
|
|
2125
|
+
var H3 = styled.h3(templateObject_3$g || (templateObject_3$g = __makeTemplateObject(["\n color: ", ";\n font-size: 18px;\n font-weight: ", ";\n line-height: 1.33em;\n font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;\n margin: ", ";\n padding: ", ";\n box-sizing: border-box;\n"], ["\n color: ", ";\n font-size: 18px;\n font-weight: ", ";\n line-height: 1.33em;\n font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;\n margin: ", ";\n padding: ", ";\n box-sizing: border-box;\n"])), Colors.BLACK.Hex, function (props) { return (props.$bold ? '500' : '400'); }, function (props) { return props.$margin || '0px'; }, function (props) { return props.$padding || '0px'; });
|
|
2117
2126
|
var Heading = function (_a) {
|
|
2118
2127
|
var bold = _a.bold, children = _a.children, margin = _a.margin, padding = _a.padding, type = _a.type, accessibleProps = __rest(_a, ["bold", "children", "margin", "padding", "type"]);
|
|
2119
2128
|
switch (type) {
|
|
@@ -2132,11 +2141,11 @@ Heading.defaultProps = {
|
|
|
2132
2141
|
bold: false,
|
|
2133
2142
|
type: 'primary',
|
|
2134
2143
|
};
|
|
2135
|
-
var templateObject_1$
|
|
2136
|
-
|
|
2137
|
-
var Wrapper$
|
|
2138
|
-
var Container$3 = styled.dialog(templateObject_2$
|
|
2139
|
-
var Buttons = styled.div(templateObject_3$
|
|
2144
|
+
var templateObject_1$k, templateObject_2$j, templateObject_3$g;
|
|
2145
|
+
|
|
2146
|
+
var Wrapper$e = styled.div(templateObject_1$j || (templateObject_1$j = __makeTemplateObject(["\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 9999;\n background: rgba(0, 0, 0, 0.8);\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n"], ["\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 9999;\n background: rgba(0, 0, 0, 0.8);\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n"])));
|
|
2147
|
+
var Container$3 = styled.dialog(templateObject_2$i || (templateObject_2$i = __makeTemplateObject(["\n max-width: 600px;\n width: auto;\n border-radius: 8px;\n overflow: hidden;\n box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);\n outline: none;\n border: none;\n position: relative;\n padding: 40px;\n text-align: center;\n box-sizing: border-box;\n"], ["\n max-width: 600px;\n width: auto;\n border-radius: 8px;\n overflow: hidden;\n box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);\n outline: none;\n border: none;\n position: relative;\n padding: 40px;\n text-align: center;\n box-sizing: border-box;\n"])));
|
|
2148
|
+
var Buttons = styled.div(templateObject_3$f || (templateObject_3$f = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n margin-top: 30px;\n box-sizing: border-box;\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n margin-top: 30px;\n box-sizing: border-box;\n"])));
|
|
2140
2149
|
var ActionDialog = function (_a) {
|
|
2141
2150
|
var description = _a.description, title = _a.title, onClose = _a.onClose, primaryButton = _a.primaryButton, secondaryButton = _a.secondaryButton, accessibleProps = __rest(_a, ["description", "title", "onClose", "primaryButton", "secondaryButton"]);
|
|
2142
2151
|
useEffect(function () {
|
|
@@ -2149,7 +2158,7 @@ var ActionDialog = function (_a) {
|
|
|
2149
2158
|
document.onkeydown = null;
|
|
2150
2159
|
};
|
|
2151
2160
|
}, []);
|
|
2152
|
-
return (React.createElement(Wrapper$
|
|
2161
|
+
return (React.createElement(Wrapper$e, __assign({}, accessibleProps),
|
|
2153
2162
|
React.createElement(Container$3, { open: true },
|
|
2154
2163
|
title ? (React.createElement(Heading, { margin: '0px 0px 20px 0px', type: 'secondary' }, title)) : null,
|
|
2155
2164
|
description ? React.createElement(Copy, { align: 'center' }, description) : null,
|
|
@@ -2157,11 +2166,11 @@ var ActionDialog = function (_a) {
|
|
|
2157
2166
|
secondaryButton ? (React.createElement(Button, __assign({}, secondaryButton, { format: 'secondary', margin: '0px 5px' }))) : null,
|
|
2158
2167
|
primaryButton ? React.createElement(Button, __assign({}, primaryButton, { format: 'primary', margin: '0px 5px' })) : null)) : null)));
|
|
2159
2168
|
};
|
|
2160
|
-
var templateObject_1$
|
|
2161
|
-
|
|
2162
|
-
var Wrapper$
|
|
2163
|
-
var Content$1 = styled.div(templateObject_2$
|
|
2164
|
-
var Action$1 = styled.div(templateObject_3$
|
|
2169
|
+
var templateObject_1$j, templateObject_2$i, templateObject_3$f;
|
|
2170
|
+
|
|
2171
|
+
var Wrapper$d = styled.div(templateObject_1$i || (templateObject_1$i = __makeTemplateObject(["\n border: 1px solid #f1f1f1;\n border-radius: 4px;\n border-left-width: 4px;\n box-shadow: 0px 4px 12px -6px rgba(0, 0, 0, 0.2);\n display: flex;\n align-items: flex-start;\n padding: 20px;\n box-sizing: border-box;\n"], ["\n border: 1px solid #f1f1f1;\n border-radius: 4px;\n border-left-width: 4px;\n box-shadow: 0px 4px 12px -6px rgba(0, 0, 0, 0.2);\n display: flex;\n align-items: flex-start;\n padding: 20px;\n box-sizing: border-box;\n"])));
|
|
2172
|
+
var Content$1 = styled.div(templateObject_2$h || (templateObject_2$h = __makeTemplateObject(["\n margin-left: 20px;\n"], ["\n margin-left: 20px;\n"])));
|
|
2173
|
+
var Action$1 = styled.div(templateObject_3$e || (templateObject_3$e = __makeTemplateObject(["\n color: ", ";\n font-size: ", ";\n font-family: ", ";\n font-weight: 500;\n cursor: pointer;\n margin-top: 6px;\n"], ["\n color: ", ";\n font-size: ", ";\n font-family: ", ";\n font-weight: 500;\n cursor: pointer;\n margin-top: 6px;\n"])), Colors.PRIMARY.Hex, FontSizes.DEFAULT, FontStyles.DEFAULT);
|
|
2165
2174
|
var Alert = function (_a) {
|
|
2166
2175
|
var action = _a.action, _b = _a.type, type = _b === void 0 ? 'info' : _b, title = _a.title, description = _a.description, accessibleProps = __rest(_a, ["action", "type", "title", "description"]);
|
|
2167
2176
|
var type_mapping = {
|
|
@@ -2182,7 +2191,7 @@ var Alert = function (_a) {
|
|
|
2182
2191
|
icon: mdiCheckboxMarkedCircleOutline,
|
|
2183
2192
|
},
|
|
2184
2193
|
};
|
|
2185
|
-
return (React.createElement(Wrapper$
|
|
2194
|
+
return (React.createElement(Wrapper$d, __assign({}, accessibleProps, { style: { borderLeftColor: type_mapping[type].color } }),
|
|
2186
2195
|
React.createElement("div", { style: { flexShrink: 0 } },
|
|
2187
2196
|
React.createElement(Icon, { color: type_mapping[type].color, path: type_mapping[type].icon, size: '30px' })),
|
|
2188
2197
|
React.createElement(Content$1, null,
|
|
@@ -2190,19 +2199,19 @@ var Alert = function (_a) {
|
|
|
2190
2199
|
description ? React.createElement(Copy, { margin: '6px 0 0 0 !important' }, description) : null,
|
|
2191
2200
|
action ? React.createElement(Action$1, { onClick: action.onClick }, action.label) : null)));
|
|
2192
2201
|
};
|
|
2193
|
-
var templateObject_1$
|
|
2194
|
-
|
|
2195
|
-
var Wrapper$
|
|
2196
|
-
var Left = styled.div(templateObject_2$
|
|
2197
|
-
var Info = styled.div(templateObject_3$
|
|
2198
|
-
var Selected = styled.span(templateObject_4$
|
|
2199
|
-
var Clear = styled.span(templateObject_5$
|
|
2200
|
-
var Actions = styled.div(templateObject_6$
|
|
2201
|
-
var Error$1 = styled.div(templateObject_7$
|
|
2202
|
-
var ErrorMsg = styled.span(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n font-size: 14px;\n font-weight: 500;\n font-family: ", ";\n line-height: 1em;\n color: ", ";\n margin-left: 8px;\n"], ["\n font-size: 14px;\n font-weight: 500;\n font-family: ", ";\n line-height: 1em;\n color: ", ";\n margin-left: 8px;\n"])), FontStyles.DEFAULT, Colors.RED.Hex);
|
|
2202
|
+
var templateObject_1$i, templateObject_2$h, templateObject_3$e;
|
|
2203
|
+
|
|
2204
|
+
var Wrapper$c = styled.div(templateObject_1$h || (templateObject_1$h = __makeTemplateObject(["\n border: 1px solid ", ";\n border-radius: 8px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 16px 20px;\n"], ["\n border: 1px solid ", ";\n border-radius: 8px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 16px 20px;\n"])), Colors.PRIMARY.Hex);
|
|
2205
|
+
var Left = styled.div(templateObject_2$g || (templateObject_2$g = __makeTemplateObject(["\n box-sizing: border-box;\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex-shrink: 0;\n"], ["\n box-sizing: border-box;\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex-shrink: 0;\n"])));
|
|
2206
|
+
var Info = styled.div(templateObject_3$d || (templateObject_3$d = __makeTemplateObject(["\n box-sizing: border-box;\n display: flex;\n align-items: center;\n margin-right: 30px;\n"], ["\n box-sizing: border-box;\n display: flex;\n align-items: center;\n margin-right: 30px;\n"])));
|
|
2207
|
+
var Selected = styled.span(templateObject_4$8 || (templateObject_4$8 = __makeTemplateObject(["\n font-size: 14px;\n font-weight: 400;\n font-family: ", ";\n color: ", ";\n line-height: 1;\n"], ["\n font-size: 14px;\n font-weight: 400;\n font-family: ", ";\n color: ", ";\n line-height: 1;\n"])), FontStyles.DEFAULT, Colors.BLACK.Hex);
|
|
2208
|
+
var Clear = styled.span(templateObject_5$6 || (templateObject_5$6 = __makeTemplateObject(["\n font-size: 14px;\n font-weight: 400;\n font-family: ", ";\n color: ", ";\n line-height: 1;\n cursor: pointer;\n padding-left: 10px;\n margin-left: 10px;\n border-left: 1px solid #ccc;\n"], ["\n font-size: 14px;\n font-weight: 400;\n font-family: ", ";\n color: ", ";\n line-height: 1;\n cursor: pointer;\n padding-left: 10px;\n margin-left: 10px;\n border-left: 1px solid #ccc;\n"])), FontStyles.DEFAULT, Colors.PRIMARY.Hex);
|
|
2209
|
+
var Actions = styled.div(templateObject_6$4 || (templateObject_6$4 = __makeTemplateObject(["\n box-sizing: border-box;\n display: flex;\n align-items: center;\n column-gap: 10px;\n"], ["\n box-sizing: border-box;\n display: flex;\n align-items: center;\n column-gap: 10px;\n"])));
|
|
2210
|
+
var Error$1 = styled.div(templateObject_7$2 || (templateObject_7$2 = __makeTemplateObject(["\n box-sizing: border-box;\n display: flex;\n align-items: center;\n background: rgba(", ", 0.1);\n border-radius: 4px;\n padding: 6px 8px;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n margin-left: 30px;\n"], ["\n box-sizing: border-box;\n display: flex;\n align-items: center;\n background: rgba(", ", 0.1);\n border-radius: 4px;\n padding: 6px 8px;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n margin-left: 30px;\n"])), Colors.RED.Rgb);
|
|
2211
|
+
var ErrorMsg = styled.span(templateObject_8$1 || (templateObject_8$1 = __makeTemplateObject(["\n font-size: 14px;\n font-weight: 500;\n font-family: ", ";\n line-height: 1em;\n color: ", ";\n margin-left: 8px;\n"], ["\n font-size: 14px;\n font-weight: 500;\n font-family: ", ";\n line-height: 1em;\n color: ", ";\n margin-left: 8px;\n"])), FontStyles.DEFAULT, Colors.RED.Hex);
|
|
2203
2212
|
var BulkActionBar = function (_a) {
|
|
2204
2213
|
var _b = _a.actions, actions = _b === void 0 ? [] : _b, errorMsg = _a.errorMsg, onClear = _a.onClear, _c = _a.selectedCount, selectedCount = _c === void 0 ? 0 : _c, accessibleProps = __rest(_a, ["actions", "errorMsg", "onClear", "selectedCount"]);
|
|
2205
|
-
return (React.createElement(Wrapper$
|
|
2214
|
+
return (React.createElement(Wrapper$c, __assign({}, accessibleProps),
|
|
2206
2215
|
React.createElement(Left, null,
|
|
2207
2216
|
React.createElement(Info, null,
|
|
2208
2217
|
React.createElement(Selected, null,
|
|
@@ -2214,21 +2223,21 @@ var BulkActionBar = function (_a) {
|
|
|
2214
2223
|
React.createElement(Icon, { color: Colors.RED.Hex, path: mdiInformationOutline, size: '20px' }),
|
|
2215
2224
|
React.createElement(ErrorMsg, null, errorMsg))) : null));
|
|
2216
2225
|
};
|
|
2217
|
-
var templateObject_1$
|
|
2218
|
-
|
|
2219
|
-
var Wrapper$
|
|
2220
|
-
var Input$2 = styled.input(templateObject_2$
|
|
2221
|
-
var Label$3 = styled.span(templateObject_3$
|
|
2226
|
+
var templateObject_1$h, templateObject_2$g, templateObject_3$d, templateObject_4$8, templateObject_5$6, templateObject_6$4, templateObject_7$2, templateObject_8$1;
|
|
2227
|
+
|
|
2228
|
+
var Wrapper$b = styled.label(templateObject_1$g || (templateObject_1$g = __makeTemplateObject(["\n padding: 4px 0;\n cursor: ", ";\n display: flex;\n align-items: center;\n font-size: ", ";\n line-height: 1.6em;\n box-sizing: border-box;\n"], ["\n padding: 4px 0;\n cursor: ", ";\n display: flex;\n align-items: center;\n font-size: ", ";\n line-height: 1.6em;\n box-sizing: border-box;\n"])), function (props) { return (props.$disabled ? 'default' : 'pointer'); }, FontSizes.DEFAULT);
|
|
2229
|
+
var Input$2 = styled.input(templateObject_2$f || (templateObject_2$f = __makeTemplateObject(["\n font-size: 20px;\n margin: 0px 0px 2px 0px;\n line-height: 1.1em;\n box-sizing: border-box;\n"], ["\n font-size: 20px;\n margin: 0px 0px 2px 0px;\n line-height: 1.1em;\n box-sizing: border-box;\n"])));
|
|
2230
|
+
var Label$3 = styled.span(templateObject_3$c || (templateObject_3$c = __makeTemplateObject(["\n font-family: ", ";\n font-size: ", ";\n font-weight: 400;\n line-height: 1.6em;\n color: ", ";\n margin-left: 6px;\n box-sizing: border-box;\n"], ["\n font-family: ", ";\n font-size: ", ";\n font-weight: 400;\n line-height: 1.6em;\n color: ", ";\n margin-left: 6px;\n box-sizing: border-box;\n"])), FontStyles.DEFAULT, FontSizes.DEFAULT, Colors.BLACK.Hex);
|
|
2222
2231
|
var Checkbox = function (_a) {
|
|
2223
2232
|
var children = _a.children, disabled = _a.disabled, checked = _a.checked, onChange = _a.onChange, accessibleProps = __rest(_a, ["children", "disabled", "checked", "onChange"]);
|
|
2224
|
-
return (React.createElement(Wrapper$
|
|
2233
|
+
return (React.createElement(Wrapper$b, __assign({}, accessibleProps),
|
|
2225
2234
|
React.createElement(Input$2, { checked: checked, disabled: disabled, name: accessibleProps.name, onChange: disabled ? undefined : onChange, type: 'checkbox' }),
|
|
2226
2235
|
children ? React.createElement(Label$3, null, children) : null));
|
|
2227
2236
|
};
|
|
2228
|
-
var templateObject_1$
|
|
2229
|
-
|
|
2230
|
-
var SelectAll = styled.div(templateObject_1$
|
|
2231
|
-
var Options$1 = styled.div(templateObject_2$
|
|
2237
|
+
var templateObject_1$g, templateObject_2$f, templateObject_3$c;
|
|
2238
|
+
|
|
2239
|
+
var SelectAll = styled.div(templateObject_1$f || (templateObject_1$f = __makeTemplateObject(["\n padding: 8px 12px;\n border-bottom: 1px solid ", ";\n box-sizing: border-box;\n"], ["\n padding: 8px 12px;\n border-bottom: 1px solid ", ";\n box-sizing: border-box;\n"])), Colors.LIGHT_GRAY.Hex);
|
|
2240
|
+
var Options$1 = styled.div(templateObject_2$e || (templateObject_2$e = __makeTemplateObject(["\n padding: 12px;\n box-sizing: border-box;\n"], ["\n padding: 12px;\n box-sizing: border-box;\n"])));
|
|
2232
2241
|
var Checklist = function (_a) {
|
|
2233
2242
|
var disabled = _a.disabled, onChange = _a.onChange, options = _a.options, selected = _a.selected, showSelectAll = _a.showSelectAll, accessibleProps = __rest(_a, ["disabled", "onChange", "options", "selected", "showSelectAll"]);
|
|
2234
2243
|
var values = options.map(function (option) { return option.value; });
|
|
@@ -2256,20 +2265,20 @@ var Checklist = function (_a) {
|
|
|
2256
2265
|
return (React.createElement(Checkbox, __assign({ key: i }, accessibleProps, { checked: checked, disabled: disabled, onChange: handleChange.bind(null, option) }), label));
|
|
2257
2266
|
}))));
|
|
2258
2267
|
};
|
|
2259
|
-
var templateObject_1$
|
|
2260
|
-
|
|
2261
|
-
var Scrim$1 = styled.div(templateObject_1$
|
|
2268
|
+
var templateObject_1$f, templateObject_2$e;
|
|
2269
|
+
|
|
2270
|
+
var Scrim$1 = styled.div(templateObject_1$e || (templateObject_1$e = __makeTemplateObject(["\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 9998;\n background: ", ";\n"], ["\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 9998;\n background: ", ";\n"])), function (_a) {
|
|
2262
2271
|
var $scrim = _a.$scrim;
|
|
2263
2272
|
return ($scrim === 'dark' ? 'rgba(0,0,0,0.8)' : 'transparent');
|
|
2264
2273
|
});
|
|
2265
|
-
var Container$2 = styled.div(templateObject_2$
|
|
2274
|
+
var Container$2 = styled.div(templateObject_2$d || (templateObject_2$d = __makeTemplateObject(["\n z-index: 9999;\n min-width: 400px;\n width: ", ";\n overflow: hidden;\n box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);\n outline: none;\n border: none;\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n padding: 0px;\n display: flex;\n flex-direction: column;\n box-sizing: border-box;\n background: #fff;\n"], ["\n z-index: 9999;\n min-width: 400px;\n width: ", ";\n overflow: hidden;\n box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);\n outline: none;\n border: none;\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n padding: 0px;\n display: flex;\n flex-direction: column;\n box-sizing: border-box;\n background: #fff;\n"])), function (_a) {
|
|
2266
2275
|
var $width = _a.$width;
|
|
2267
2276
|
return $width || '400px';
|
|
2268
2277
|
});
|
|
2269
|
-
var Header$2 = styled.div(templateObject_3$
|
|
2270
|
-
var Close$1 = styled.div(templateObject_4$
|
|
2271
|
-
var ContentWrapper$1 = styled.div(templateObject_5$
|
|
2272
|
-
var ButtonBar$1 = styled.div(templateObject_6$
|
|
2278
|
+
var Header$2 = styled.div(templateObject_3$b || (templateObject_3$b = __makeTemplateObject(["\n padding: 30px 20px;\n display: flex;\n align-items: flex-start;\n box-sizing: border-box;\n flex-shrink: 0;\n background: #fff;\n"], ["\n padding: 30px 20px;\n display: flex;\n align-items: flex-start;\n box-sizing: border-box;\n flex-shrink: 0;\n background: #fff;\n"])));
|
|
2279
|
+
var Close$1 = styled.div(templateObject_4$7 || (templateObject_4$7 = __makeTemplateObject(["\n margin-left: auto;\n display: flex;\n align-items: center;\n padding-left: 20px;\n cursor: pointer;\n"], ["\n margin-left: auto;\n display: flex;\n align-items: center;\n padding-left: 20px;\n cursor: pointer;\n"])));
|
|
2280
|
+
var ContentWrapper$1 = styled.div(templateObject_5$5 || (templateObject_5$5 = __makeTemplateObject(["\n overflow-x: hidden;\n overflow-y: auto;\n box-sizing: border-box;\n flex: 1;\n background: #fff;\n"], ["\n overflow-x: hidden;\n overflow-y: auto;\n box-sizing: border-box;\n flex: 1;\n background: #fff;\n"])));
|
|
2281
|
+
var ButtonBar$1 = styled.div(templateObject_6$3 || (templateObject_6$3 = __makeTemplateObject(["\n padding: 20px;\n display: flex;\n align-items: center;\n justify-content: flex-end;\n box-sizing: border-box;\n gap: 10px;\n flex-shrink: 0;\n background: #fff;\n"], ["\n padding: 20px;\n display: flex;\n align-items: center;\n justify-content: flex-end;\n box-sizing: border-box;\n gap: 10px;\n flex-shrink: 0;\n background: #fff;\n"])));
|
|
2273
2282
|
var Drawer = function (_a) {
|
|
2274
2283
|
var children = _a.children, description = _a.description, title = _a.title, onClose = _a.onClose, primaryButton = _a.primaryButton, secondaryButton = _a.secondaryButton, tertiaryButton = _a.tertiaryButton, scrim = _a.scrim, width = _a.width, accessibleProps = __rest(_a, ["children", "description", "title", "onClose", "primaryButton", "secondaryButton", "tertiaryButton", "scrim", "width"]);
|
|
2275
2284
|
useEffect(function () {
|
|
@@ -2297,17 +2306,18 @@ var Drawer = function (_a) {
|
|
|
2297
2306
|
primaryButton ? React.createElement(Button, __assign({}, primaryButton, { format: 'primary' })) : null)) : null),
|
|
2298
2307
|
scrim ? React.createElement(Scrim$1, { "$scrim": scrim, onClick: onClose }) : null));
|
|
2299
2308
|
};
|
|
2300
|
-
var templateObject_1$
|
|
2301
|
-
|
|
2302
|
-
var
|
|
2303
|
-
var
|
|
2304
|
-
var
|
|
2305
|
-
var
|
|
2306
|
-
var
|
|
2307
|
-
var
|
|
2309
|
+
var templateObject_1$e, templateObject_2$d, templateObject_3$b, templateObject_4$7, templateObject_5$5, templateObject_6$3;
|
|
2310
|
+
|
|
2311
|
+
var Wrapper$a = styled.div(function (props) { return (__assign({ margin: '0px 0px 15px 0px' }, props.style)); });
|
|
2312
|
+
var LabelRow = styled.div(templateObject_1$d || (templateObject_1$d = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin: 0 0 4px 0;\n box-sizing: border-box;\n"], ["\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin: 0 0 4px 0;\n box-sizing: border-box;\n"])));
|
|
2313
|
+
var Label$2 = styled.label(templateObject_2$c || (templateObject_2$c = __makeTemplateObject(["\n font-size: ", ";\n font-weight: 500;\n line-height: 1em;\n font-family: ", ";\n color: ", ";\n"], ["\n font-size: ", ";\n font-weight: 500;\n line-height: 1em;\n font-family: ", ";\n color: ", ";\n"])), FontSizes.DEFAULT, FontStyles.DEFAULT, Colors.BLACK.Hex);
|
|
2314
|
+
var Required = styled.span(templateObject_3$a || (templateObject_3$a = __makeTemplateObject(["\n color: ", ";\n margin-left: 4px;\n"], ["\n color: ", ";\n margin-left: 4px;\n"])), Colors.RED.Hex);
|
|
2315
|
+
var Action = styled.span(templateObject_4$6 || (templateObject_4$6 = __makeTemplateObject(["\n font-size: ", ";\n font-weight: 500;\n line-height: 1em;\n font-family: ", ";\n color: ", ";\n cursor: pointer;\n"], ["\n font-size: ", ";\n font-weight: 500;\n line-height: 1em;\n font-family: ", ";\n color: ", ";\n cursor: pointer;\n"])), FontSizes.DEFAULT, FontStyles.DEFAULT, Colors.PRIMARY.Hex);
|
|
2316
|
+
var Description = styled.div(templateObject_5$4 || (templateObject_5$4 = __makeTemplateObject(["\n font-size: ", ";\n font-weight: 400;\n line-height: 1.3em;\n font-family: ", ";\n color: ", ";\n margin: 0 0 8px 0;\n box-sizing: border-box;\n"], ["\n font-size: ", ";\n font-weight: 400;\n line-height: 1.3em;\n font-family: ", ";\n color: ", ";\n margin: 0 0 8px 0;\n box-sizing: border-box;\n"])), FontSizes.SMALL, FontStyles.DEFAULT, Colors.BLACK.Hex);
|
|
2317
|
+
var Validation = styled.div(templateObject_6$2 || (templateObject_6$2 = __makeTemplateObject(["\n font-size: ", ";\n font-weight: 400;\n line-height: 1.3em;\n font-family: ", ";\n color: ", ";\n margin: 4px 0 0 0;\n box-sizing: border-box;\n"], ["\n font-size: ", ";\n font-weight: 400;\n line-height: 1.3em;\n font-family: ", ";\n color: ", ";\n margin: 4px 0 0 0;\n box-sizing: border-box;\n"])), FontSizes.SMALL, FontStyles.DEFAULT, Colors.RED.Hex);
|
|
2308
2318
|
var Field = function (_a) {
|
|
2309
2319
|
var action = _a.action, children = _a.children, validationText = _a.validationText, label = _a.label, description = _a.description, required = _a.required, htmlFor = _a.htmlFor, style = _a.style, accessibleProps = __rest(_a, ["action", "children", "validationText", "label", "description", "required", "htmlFor", "style"]);
|
|
2310
|
-
return (React.createElement(
|
|
2320
|
+
return (React.createElement(Wrapper$a, __assign({ style: style }, accessibleProps),
|
|
2311
2321
|
React.createElement(LabelRow, null,
|
|
2312
2322
|
React.createElement(Label$2, { htmlFor: htmlFor },
|
|
2313
2323
|
label,
|
|
@@ -2317,8 +2327,107 @@ var Field = function (_a) {
|
|
|
2317
2327
|
children,
|
|
2318
2328
|
validationText ? React.createElement(Validation, null, validationText) : null));
|
|
2319
2329
|
};
|
|
2320
|
-
var templateObject_1$
|
|
2321
|
-
|
|
2330
|
+
var templateObject_1$d, templateObject_2$c, templateObject_3$a, templateObject_4$6, templateObject_5$4, templateObject_6$2;
|
|
2331
|
+
|
|
2332
|
+
var Wrapper$9 = styled.div(templateObject_1$c || (templateObject_1$c = __makeTemplateObject(["\n display: flex;\n gap: 16px;\n padding: 20px;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n border-radius: 8px;\n border: 1px dashed ", ";\n background-color: ", ";\n"], ["\n display: flex;\n gap: 16px;\n padding: 20px;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n border-radius: 8px;\n border: 1px dashed ", ";\n background-color: ", ";\n"])), function (_a) {
|
|
2333
|
+
var $isDragOver = _a.$isDragOver;
|
|
2334
|
+
return ($isDragOver ? "".concat(Colors.PRIMARY.Hex) : '#ccc');
|
|
2335
|
+
}, function (_a) {
|
|
2336
|
+
var $isDragOver = _a.$isDragOver;
|
|
2337
|
+
return $isDragOver ? "rgba(".concat(Colors.PRIMARY.Rgb, ", 0.05)") : '#ffffff';
|
|
2338
|
+
});
|
|
2339
|
+
var StyledIcon$1 = styled.div(templateObject_2$b || (templateObject_2$b = __makeTemplateObject(["\n width: 80px;\n height: 80px;\n cursor: pointer;\n flex-shrink: 0;\n background-color: ", ";\n border-radius: 80px;\n display: flex;\n margin: auto;\n justify-content: center;\n align-items: center;\n"], ["\n width: 80px;\n height: 80px;\n cursor: pointer;\n flex-shrink: 0;\n background-color: ", ";\n border-radius: 80px;\n display: flex;\n margin: auto;\n justify-content: center;\n align-items: center;\n"])), function (_a) {
|
|
2340
|
+
var $isDragOver = _a.$isDragOver;
|
|
2341
|
+
return ($isDragOver ? '#fff' : '#f5f5f5');
|
|
2342
|
+
});
|
|
2343
|
+
var Files = styled.div(templateObject_3$9 || (templateObject_3$9 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: 10px;\n"], ["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: 10px;\n"])));
|
|
2344
|
+
var File = styled.div(templateObject_4$5 || (templateObject_4$5 = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n width: 300px;\n padding: 10px;\n align-items: center;\n gap: 2px;\n list-style-type: none;\n border-radius: 4px;\n border: 1px solid #ccc;\n"], ["\n display: flex;\n justify-content: space-between;\n width: 300px;\n padding: 10px;\n align-items: center;\n gap: 2px;\n list-style-type: none;\n border-radius: 4px;\n border: 1px solid #ccc;\n"])));
|
|
2345
|
+
var CopyWrapper = styled.div(templateObject_5$3 || (templateObject_5$3 = __makeTemplateObject(["\n padding: ", ";\n margin-top: ", ";\n"], ["\n padding: ", ";\n margin-top: ", ";\n"])), function (_a) {
|
|
2346
|
+
var $fileState = _a.$fileState;
|
|
2347
|
+
return ($fileState ? '20px 0px' : '');
|
|
2348
|
+
}, function (_a) {
|
|
2349
|
+
var $fileState = _a.$fileState;
|
|
2350
|
+
return ($fileState ? '' : '16px');
|
|
2351
|
+
});
|
|
2352
|
+
var IconWrapper$2 = styled.div(templateObject_6$1 || (templateObject_6$1 = __makeTemplateObject(["\n cursor: pointer;\n"], ["\n cursor: pointer;\n"])));
|
|
2353
|
+
var ProgressBar = styled.div(templateObject_7$1 || (templateObject_7$1 = __makeTemplateObject(["\n width: 100px;\n height: 14px;\n border-radius: 4px;\n background: #f5f5f5;\n overflow-x: hidden;\n"], ["\n width: 100px;\n height: 14px;\n border-radius: 4px;\n background: #f5f5f5;\n overflow-x: hidden;\n"])));
|
|
2354
|
+
var Progress = styled.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n width: ", ";\n height: 100%;\n border-radius: 4px 0px 0px 4px;\n background: ", ";\n"], ["\n width: ", ";\n height: 100%;\n border-radius: 4px 0px 0px 4px;\n background: ", ";\n"])), function (_a) {
|
|
2355
|
+
var $width = _a.$width;
|
|
2356
|
+
return "".concat($width, "%");
|
|
2357
|
+
}, Colors.GREEN.Hex);
|
|
2358
|
+
var FileUpload = function (_a) {
|
|
2359
|
+
var acceptFiles = _a.acceptFiles, onChange = _a.onChange, onFileDelete = _a.onFileDelete, _b = _a.maxFileSize, maxFileSize = _b === void 0 ? 10 : _b, _c = _a.multiple, multiple = _c === void 0 ? false : _c, _d = _a.progress, progress = _d === void 0 ? false : _d, UploadProgress = _a.UploadProgress, accessibleProps = __rest(_a, ["acceptFiles", "onChange", "onFileDelete", "maxFileSize", "multiple", "progress", "UploadProgress"]);
|
|
2360
|
+
var MAX_FILE_SIZE = maxFileSize * 1024 * 1024;
|
|
2361
|
+
var _e = useState([]), files = _e[0], setFiles = _e[1];
|
|
2362
|
+
var _f = useState(false), dragOver = _f[0], setDragOver = _f[1];
|
|
2363
|
+
var inputField = useRef(null);
|
|
2364
|
+
useEffect(function () {
|
|
2365
|
+
if (UploadProgress) {
|
|
2366
|
+
var updatedFiles = files.map(function (file, index) {
|
|
2367
|
+
if (index === UploadProgress.index) {
|
|
2368
|
+
return __assign(__assign({}, file), { uploadUpdate: UploadProgress.progress });
|
|
2369
|
+
}
|
|
2370
|
+
else {
|
|
2371
|
+
return file;
|
|
2372
|
+
}
|
|
2373
|
+
});
|
|
2374
|
+
setFiles(updatedFiles);
|
|
2375
|
+
}
|
|
2376
|
+
}, [UploadProgress]);
|
|
2377
|
+
useEffect(function () {
|
|
2378
|
+
onChange(files);
|
|
2379
|
+
}, [files]);
|
|
2380
|
+
var assignFiles = function (newFiles) {
|
|
2381
|
+
var _loop_1 = function (i) {
|
|
2382
|
+
if (newFiles[i].size < MAX_FILE_SIZE) {
|
|
2383
|
+
setFiles(function (files) { return __spreadArray(__spreadArray([], files, true), [{ file: newFiles[i], uploadProgress: 0 }], false); });
|
|
2384
|
+
}
|
|
2385
|
+
};
|
|
2386
|
+
for (var i = 0; i < newFiles.length; i++) {
|
|
2387
|
+
_loop_1(i);
|
|
2388
|
+
}
|
|
2389
|
+
};
|
|
2390
|
+
var onFileSelect = function (e) {
|
|
2391
|
+
assignFiles(Array.from(e.target.files || []));
|
|
2392
|
+
};
|
|
2393
|
+
var handleDrop = function (e) {
|
|
2394
|
+
e === null || e === void 0 ? void 0 : e.preventDefault();
|
|
2395
|
+
assignFiles(Array.from(e.dataTransfer.files || []));
|
|
2396
|
+
};
|
|
2397
|
+
var handleDragOver = function (e) {
|
|
2398
|
+
e === null || e === void 0 ? void 0 : e.preventDefault();
|
|
2399
|
+
setDragOver(true);
|
|
2400
|
+
};
|
|
2401
|
+
var handleDragLeave = function (e) {
|
|
2402
|
+
e === null || e === void 0 ? void 0 : e.preventDefault();
|
|
2403
|
+
setDragOver(false);
|
|
2404
|
+
};
|
|
2405
|
+
var removeItem = function (index) {
|
|
2406
|
+
var newArray = __spreadArray([], files, true);
|
|
2407
|
+
newArray.splice(index, 1);
|
|
2408
|
+
setFiles(newArray);
|
|
2409
|
+
onFileDelete(files[index]);
|
|
2410
|
+
};
|
|
2411
|
+
return (React.createElement(React.Fragment, null,
|
|
2412
|
+
React.createElement(Wrapper$9, __assign({ "$isDragOver": dragOver, onDragLeave: handleDragLeave, onDragOver: handleDragOver, onDrop: handleDrop }, accessibleProps),
|
|
2413
|
+
files.length > 0 && (React.createElement(Files, null, Array.from(files).map(function (singleFile, index) {
|
|
2414
|
+
var _a;
|
|
2415
|
+
return (React.createElement(File, { key: index },
|
|
2416
|
+
React.createElement(Copy, { children: (_a = singleFile.file) === null || _a === void 0 ? void 0 : _a.name, type: 'bold' }),
|
|
2417
|
+
singleFile.uploadUpdate === 100 || !progress ? (React.createElement(IconWrapper$2, { onClick: function () { return removeItem(index); } },
|
|
2418
|
+
React.createElement(Icon, { color: 'red', path: mdiMinusCircle, size: 1 }))) : (React.createElement(ProgressBar, null,
|
|
2419
|
+
React.createElement(Progress, { "$width": (singleFile === null || singleFile === void 0 ? void 0 : singleFile.uploadUpdate) || 0, role: 'progressbar' })))));
|
|
2420
|
+
}))),
|
|
2421
|
+
React.createElement("div", { onClick: function () { var _a; return (_a = inputField === null || inputField === void 0 ? void 0 : inputField.current) === null || _a === void 0 ? void 0 : _a.click(); } },
|
|
2422
|
+
!(files.length > 0) && (React.createElement(StyledIcon$1, { "$isDragOver": dragOver },
|
|
2423
|
+
React.createElement(Icon, { color: dragOver ? "".concat(Colors.PRIMARY.Hex) : "".concat(Colors.GRAY.Hex), path: mdiFolderPlusOutline, size: 1.667 }))),
|
|
2424
|
+
React.createElement("input", { accept: acceptFiles, hidden: true, multiple: multiple, onChange: onFileSelect, ref: inputField, type: 'file' }),
|
|
2425
|
+
React.createElement(CopyWrapper, { "$fileState": files.length > 0 },
|
|
2426
|
+
React.createElement(Copy, { align: 'center', children: 'Drag & drop files here or click to choose', type: 'bold' }),
|
|
2427
|
+
React.createElement(Copy, { align: 'center', children: "".concat(maxFileSize, " MB max file size"), color: 'GRAY' }))))));
|
|
2428
|
+
};
|
|
2429
|
+
var templateObject_1$c, templateObject_2$b, templateObject_3$9, templateObject_4$5, templateObject_5$3, templateObject_6$1, templateObject_7$1, templateObject_8;
|
|
2430
|
+
|
|
2322
2431
|
var formatAsPhone = function (number) {
|
|
2323
2432
|
var formatted_value = "".concat(number).replace(/[^0-9.]/g, '');
|
|
2324
2433
|
var size = formatted_value.length;
|
|
@@ -2344,8 +2453,8 @@ var formatAsSsn = function (number) {
|
|
|
2344
2453
|
formatted_value = "".concat(formatted_value.substring(0, 3), "-").concat(formatted_value.substring(3, 5), "-").concat(formatted_value.substring(5, 9));
|
|
2345
2454
|
}
|
|
2346
2455
|
return formatted_value;
|
|
2347
|
-
};
|
|
2348
|
-
|
|
2456
|
+
};
|
|
2457
|
+
|
|
2349
2458
|
var StyledInput = styled.input(templateObject_1$b || (templateObject_1$b = __makeTemplateObject(["\n background-color: ", ";\n border-radius: ", ";\n border-width: 1px;\n border-style: solid;\n border-color: ", ";\n font-size: ", ";\n font-weight: 400;\n font-family: ", ";\n line-height: 1.28em;\n color: ", ";\n position: relative;\n height: auto;\n padding: 10px;\n opacity: ", ";\n box-shadow: none;\n outline: none;\n margin: 0px;\n text-indent: 0px;\n --webkit-appearance: none;\n box-sizing: border-box;\n display: block;\n width: 100%;\n &:focus {\n border-color: ", ";\n }\n"], ["\n background-color: ", ";\n border-radius: ", ";\n border-width: 1px;\n border-style: solid;\n border-color: ", ";\n font-size: ", ";\n font-weight: 400;\n font-family: ", ";\n line-height: 1.28em;\n color: ", ";\n position: relative;\n height: auto;\n padding: 10px;\n opacity: ", ";\n box-shadow: none;\n outline: none;\n margin: 0px;\n text-indent: 0px;\n --webkit-appearance: none;\n box-sizing: border-box;\n display: block;\n width: 100%;\n &:focus {\n border-color: ", ";\n }\n"])), function (props) { return (props.$readOnly ? '#f5f5f5' : '#ffffff'); }, function (props) { return (props.$suffix ? '4px 0px 0px 4px' : '4px'); }, function (props) { return (props.$invalid && !props.$readOnly ? Colors.RED.Hex : '#cccccc'); }, FontSizes.DEFAULT, FontStyles.DEFAULT, function (props) { return (props.$invalid && !props.$readOnly ? Colors.RED.Hex : Colors.BLACK.Hex); }, function (props) { return (props.$readOnly ? 0.6 : 1); }, function (props) { return (props.$readOnly ? '#cccccc' : Colors.PRIMARY.Hex); });
|
|
2350
2459
|
var StyledSuffix = styled.div(templateObject_2$a || (templateObject_2$a = __makeTemplateObject(["\n box-sizing: border-box;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 10px;\n height: auto;\n background: #f5f5f5;\n border-width: 1px 1px 1px 0px;\n border-style: solid;\n border-color: #cccccc;\n border-radius: 0px 4px 4px 0px;\n font-family: ", ";\n font-style: normal;\n font-weight: 400;\n font-size: ", ";\n color: Colors.BLACK.Hex;\n"], ["\n box-sizing: border-box;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 10px;\n height: auto;\n background: #f5f5f5;\n border-width: 1px 1px 1px 0px;\n border-style: solid;\n border-color: #cccccc;\n border-radius: 0px 4px 4px 0px;\n font-family: ", ";\n font-style: normal;\n font-weight: 400;\n font-size: ", ";\n color: Colors.BLACK.Hex;\n"])), FontStyles.DEFAULT, FontSizes.DEFAULT);
|
|
2351
2460
|
var StyledWrapper = styled.div(templateObject_3$8 || (templateObject_3$8 = __makeTemplateObject(["\n display: flex;\n"], ["\n display: flex;\n"])));
|
|
@@ -2394,8 +2503,50 @@ var Input$1 = function (_a) {
|
|
|
2394
2503
|
React.createElement(StyledInput, __assign({ "$invalid": invalid, "$readOnly": readOnly, "$suffix": suffix, max: max, maxLength: maxLength, min: min, onBlur: onBlur, onChange: handleInputChange, onKeyDown: onKeyDown, placeholder: placeholder, step: step, type: type, value: formatted_value }, accessibleProps)),
|
|
2395
2504
|
suffix && React.createElement(StyledSuffix, null, suffix)));
|
|
2396
2505
|
};
|
|
2397
|
-
var templateObject_1$b, templateObject_2$a, templateObject_3$8, templateObject_4$4;
|
|
2398
|
-
|
|
2506
|
+
var templateObject_1$b, templateObject_2$a, templateObject_3$8, templateObject_4$4;
|
|
2507
|
+
|
|
2508
|
+
var colorMapping = {
|
|
2509
|
+
black: {
|
|
2510
|
+
fill_1: '#000000',
|
|
2511
|
+
fill_2: '#000000',
|
|
2512
|
+
fill_3: '#000000',
|
|
2513
|
+
},
|
|
2514
|
+
white: {
|
|
2515
|
+
fill_1: '#ffffff',
|
|
2516
|
+
fill_2: '#ffffff',
|
|
2517
|
+
fill_3: '#ffffff',
|
|
2518
|
+
},
|
|
2519
|
+
full: {
|
|
2520
|
+
fill_1: '#000000',
|
|
2521
|
+
fill_2: '#E82425',
|
|
2522
|
+
fill_3: '#E82425',
|
|
2523
|
+
},
|
|
2524
|
+
reversed: {
|
|
2525
|
+
fill_1: '#ffffff',
|
|
2526
|
+
fill_2: '#E82425',
|
|
2527
|
+
fill_3: '#E82425',
|
|
2528
|
+
},
|
|
2529
|
+
};
|
|
2530
|
+
var Logo = function (_a) {
|
|
2531
|
+
var _b = _a.type, type = _b === void 0 ? 'standard_full' : _b, _c = _a.height, height = _c === void 0 ? '50px' : _c, accessibleProps = __rest(_a, ["type", "height"]);
|
|
2532
|
+
var type_parts = type.split('_');
|
|
2533
|
+
switch (type_parts[0]) {
|
|
2534
|
+
case 'mark':
|
|
2535
|
+
return (React.createElement("svg", __assign({ fill: 'none', height: height, viewBox: '0 0 58 51', width: '100%', xmlns: 'http://www.w3.org/2000/svg' }, accessibleProps),
|
|
2536
|
+
React.createElement("path", { d: 'M43.9348 -1.14441e-05H13.3724L0 25.2376L7.27148 38.0136L14.1215 50.0487H43.1856L57.3077 25.2376L43.9348 -1.14441e-05ZM38.206 9.49903L46.459 25.0743L37.6507 40.5497H19.6567L15.5417 33.3199L10.8487 25.0743L19.1013 9.49903H38.206Z', fill: type_parts[1] })));
|
|
2537
|
+
default:
|
|
2538
|
+
return (React.createElement("svg", __assign({ fill: 'none', height: height, preserveAspectRatio: 'xMidYMid meet', viewBox: '0 0 236 50', width: '100%', xmlns: 'http://www.w3.org/2000/svg' }, accessibleProps),
|
|
2539
|
+
React.createElement("path", { d: 'M230.794 29.59H219.306L214.279 39.0907L217.012 43.9001L219.587 48.4308H230.512L235.821 39.0907L230.794 29.59V29.59ZM228.641 33.1659L231.743 39.0292L228.432 44.8549H221.668L220.121 42.1332L218.356 39.0292L221.459 33.1659H228.641Z', fill: colorMapping[type_parts[1]].fill_3 }),
|
|
2540
|
+
React.createElement("path", { d: 'M211.662 42.6033L199.206 42.6319C196.339 42.6319 193.862 41.6095 191.846 39.5923C189.828 37.5755 188.805 35.0985 188.805 32.2321C188.805 29.3656 189.828 26.8886 191.846 24.8718C193.848 22.8332 196.325 21.7975 199.206 21.7975C202.072 21.7975 204.549 22.8199 206.566 24.8374C207.613 25.8847 208.391 27.093 208.944 28.5312L209.253 29.3327H197.87L196.325 32.2579L197.921 35.0969H211.458L215.015 28.6192C214.296 25.5702 212.835 22.9293 210.672 20.7657C207.531 17.6257 203.674 16.0333 199.206 16.0333C194.737 16.0333 190.88 17.6257 187.739 20.7657C184.555 23.9501 183.007 27.7011 183.007 32.2321C183.007 36.7001 184.599 40.5577 187.739 43.6981C190.88 46.8384 194.737 48.4308 199.206 48.4308H210.095L214.745 48.3297L211.662 42.6033', fill: colorMapping[type_parts[1]].fill_1 }),
|
|
2541
|
+
React.createElement("path", { d: 'M160.945 19.133L158.826 20.8384C155.734 23.9359 154.141 27.8058 154.141 32.2967L154.141 47.7903L156.985 49.407L159.939 47.8778L159.94 32.2967C159.94 29.6632 160.778 27.3706 162.432 25.4846C162.615 25.2739 162.811 25.0666 163.018 24.8639C163.074 24.8155 164.138 24.0061 164.811 23.5592C166.321 22.5576 168.076 21.9876 170.024 21.8632L170.166 21.8621C172.923 21.8621 175.32 22.7325 177.301 24.4494L180.146 23.0088L180.246 19.3426C177.44 17.1664 174.132 16.0633 170.408 16.0633C166.909 16.0633 163.725 17.0962 160.945 19.133', fill: colorMapping[type_parts[1]].fill_1 }),
|
|
2542
|
+
React.createElement("path", { d: 'M131.392 50C135.884 50 139.753 48.4076 142.893 45.2676C146.033 42.1269 147.626 38.2581 147.626 33.7668V18.1124L144.782 16.4964L141.827 18.0251V33.7668C141.827 36.6932 140.792 39.1936 138.745 41.2034C136.684 43.1927 134.128 44.2013 131.151 44.2013L131.01 44.2002H131.81L131.669 44.2013C128.692 44.2013 126.136 43.1927 124.074 41.2034C122.028 39.1936 120.993 36.6932 120.993 33.7668V18.0251L118.038 16.4964L115.194 18.1124V33.7668C115.194 38.2581 116.786 42.1269 119.926 45.2676C123.067 48.4076 126.936 50 131.427 50H131.392Z', fill: colorMapping[type_parts[1]].fill_1 }),
|
|
2543
|
+
React.createElement("path", { d: 'M93.8353 26.9933L97.8468 31.2421L100.788 28.1521L107.791 20.4534L106.753 17.3567L103.584 16.5678', fill: colorMapping[type_parts[1]].fill_2 }),
|
|
2544
|
+
React.createElement("path", { d: 'M80.7509 16.5677L77.5821 17.3564L76.5441 20.4534L83.5514 28.1568L88.1484 32.9862L76.5412 45.2133L77.5187 48.3175C79.525 48.9571 80.359 49.1805 80.6985 49.2584L92.195 37.238L103.636 49.2584C103.976 49.1805 104.81 48.9571 106.817 48.3175L107.794 45.2133L80.7509 16.5677', fill: colorMapping[type_parts[1]].fill_1 }),
|
|
2545
|
+
React.createElement("path", { d: 'M67.8498 45.479C67.5109 44.893 66.7322 43.5486 66.2043 42.6319H55.1965C52.3299 42.6319 49.8532 41.6095 47.8364 39.5923C45.819 37.5755 44.7966 35.0985 44.7966 32.2321C44.7966 29.3656 45.819 26.8886 47.8364 24.8718C49.8388 22.8332 52.316 21.7975 55.1965 21.7975C58.0632 21.7975 60.5398 22.8199 62.5565 24.8374C63.6038 25.8847 64.3824 27.093 64.9357 28.5312L65.2435 29.3327H53.8141C53.231 30.2171 52.5673 31.6476 52.303 32.2354L53.912 35.0969H67.474L71.0059 28.6192C70.2872 25.5702 68.8261 22.9293 66.6625 20.7657C63.5219 17.6257 59.6649 16.0333 55.1965 16.0333C50.7283 16.0333 46.8708 17.6257 43.7303 20.7657C40.546 23.9501 38.9979 27.7011 38.9979 32.2321C38.9979 36.7001 40.5903 40.5577 43.7303 43.6981C46.8708 46.8384 50.7283 48.4308 55.1965 48.4308H66.0873C66.9322 47.0737 67.5668 45.977 67.8498 45.479', fill: colorMapping[type_parts[1]].fill_1 }),
|
|
2546
|
+
React.createElement("path", { d: 'M27.6655 20.7443C26.9235 20.002 26.2307 19.4097 25.608 18.9831C22.7338 17.0113 19.5684 16.0117 16.1992 16.0117C13.6229 16.0117 11.1676 16.5943 8.9002 17.7442C8.1016 18.1264 7.38657 18.6118 6.73074 19.0799L5.88805 19.6819C5.85364 19.711 5.81716 19.7449 5.78223 19.7749L5.77618 17.9067C5.78246 17.9022 5.7892 17.8965 5.79554 17.8921L5.72168 1.52402L2.84058 1.54784e-05L0 1.6145V24.9966V30.8918C0.0184614 30.8508 0.0393993 30.8108 0.0580857 30.7698C0.0216133 31.2417 0 31.7206 0 32.2105V47.6757L2.84688 49.2499C4.7412 48.3293 5.4988 47.9164 5.79866 47.7385V32.2105C5.79866 29.3439 6.82128 26.8672 8.83853 24.8504C10.8415 22.8118 13.319 21.7759 16.1992 21.7759C19.0796 21.7759 21.557 22.8118 23.5635 24.8538C25.3441 26.6351 26.3374 28.7976 26.5963 31.4625C26.6263 31.6669 26.6339 40.3058 26.6339 47.6694C27.2825 48.0147 28.6127 48.8167 29.5141 49.3059C29.9448 49.0814 32.0589 47.8425 32.3979 47.6669V32.2105C32.3979 27.6795 30.8499 23.9285 27.6655 20.7443Z', fill: colorMapping[type_parts[1]].fill_1 })));
|
|
2547
|
+
}
|
|
2548
|
+
};
|
|
2549
|
+
|
|
2399
2550
|
var Wrapper$8 = styled.div(templateObject_1$a || (templateObject_1$a = __makeTemplateObject(["\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 9999;\n background: rgba(0, 0, 0, 0.8);\n display: flex;\n align-items: center;\n justify-content: center;\n"], ["\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 9999;\n background: rgba(0, 0, 0, 0.8);\n display: flex;\n align-items: center;\n justify-content: center;\n"])));
|
|
2400
2551
|
var Container$1 = styled.dialog(templateObject_2$9 || (templateObject_2$9 = __makeTemplateObject(["\n max-width: ", ";\n width: auto;\n border-radius: 8px;\n overflow: hidden;\n box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);\n outline: none;\n border: none;\n position: relative;\n padding: 0px;\n box-sizing: border-box;\n"], ["\n max-width: ", ";\n width: auto;\n border-radius: 8px;\n overflow: hidden;\n box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);\n outline: none;\n border: none;\n position: relative;\n padding: 0px;\n box-sizing: border-box;\n"])), function (props) { return props.$maxWidth || '90vw'; });
|
|
2401
2552
|
var Header$1 = styled.div(templateObject_3$7 || (templateObject_3$7 = __makeTemplateObject(["\n position: sticky;\n top: 0;\n padding: 20px;\n border-bottom: 1px solid #e5e5e5;\n display: flex;\n align-items: center;\n background: #ffffff;\n box-sizing: border-box;\n"], ["\n position: sticky;\n top: 0;\n padding: 20px;\n border-bottom: 1px solid #e5e5e5;\n display: flex;\n align-items: center;\n background: #ffffff;\n box-sizing: border-box;\n"])));
|
|
@@ -2434,8 +2585,8 @@ var Modal = function (_a) {
|
|
|
2434
2585
|
secondaryButton ? React.createElement(Button, __assign({}, secondaryButton, { format: 'secondary' })) : null,
|
|
2435
2586
|
primaryButton ? (React.createElement(Button, __assign({}, primaryButton, { format: 'primary', margin: '0px 0px 0px 10px' }))) : null)) : null)) : null)));
|
|
2436
2587
|
};
|
|
2437
|
-
var templateObject_1$a, templateObject_2$9, templateObject_3$7, templateObject_4$3, templateObject_5$2, templateObject_6, templateObject_7;
|
|
2438
|
-
|
|
2588
|
+
var templateObject_1$a, templateObject_2$9, templateObject_3$7, templateObject_4$3, templateObject_5$2, templateObject_6, templateObject_7;
|
|
2589
|
+
|
|
2439
2590
|
var Wrapper$7 = styled.div(templateObject_1$9 || (templateObject_1$9 = __makeTemplateObject(["\n background: #fff;\n border-radius: 8px;\n box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);\n display: flex;\n flex-direction: column;\n gap: 4px;\n max-height: ", ";\n padding: 10px;\n width: 200px;\n"], ["\n background: #fff;\n border-radius: 8px;\n box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);\n display: flex;\n flex-direction: column;\n gap: 4px;\n max-height: ", ";\n padding: 10px;\n width: 200px;\n"])), function (props) { return props.$maxHeight || '312px'; });
|
|
2440
2591
|
var MenuItem = styled.div(templateObject_2$8 || (templateObject_2$8 = __makeTemplateObject(["\n align-items: center;\n border-radius: 8px;\n border: 1px solid transparent;\n display: flex;\n gap: 8px;\n height: 38px;\n padding: 8px;\n &:hover {\n background: rgba(1, 147, 215, 0.1);\n cursor: pointer;\n }\n"], ["\n align-items: center;\n border-radius: 8px;\n border: 1px solid transparent;\n display: flex;\n gap: 8px;\n height: 38px;\n padding: 8px;\n &:hover {\n background: rgba(1, 147, 215, 0.1);\n cursor: pointer;\n }\n"])));
|
|
2441
2592
|
var Title = styled.span(templateObject_3$6 || (templateObject_3$6 = __makeTemplateObject(["\n font-family: Roboto;\n font-size: 14px;\n font-weight: 400;\n height: auto;\n letter-spacing: 0px;\n line-height: 22px;\n text-align: left;\n"], ["\n font-family: Roboto;\n font-size: 14px;\n font-weight: 400;\n height: auto;\n letter-spacing: 0px;\n line-height: 22px;\n text-align: left;\n"])));
|
|
@@ -2447,8 +2598,8 @@ var MoreMenu = function (_a) {
|
|
|
2447
2598
|
React.createElement(Title, null, item.label)));
|
|
2448
2599
|
})));
|
|
2449
2600
|
};
|
|
2450
|
-
var templateObject_1$9, templateObject_2$8, templateObject_3$6;
|
|
2451
|
-
|
|
2601
|
+
var templateObject_1$9, templateObject_2$8, templateObject_3$6;
|
|
2602
|
+
|
|
2452
2603
|
var Wrapper$6 = styled.div(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject(["\n position: relative;\n"], ["\n position: relative;\n"])));
|
|
2453
2604
|
var Trigger$1 = styled.div(templateObject_2$7 || (templateObject_2$7 = __makeTemplateObject(["\n box-sizing: border-box;\n border-radius: ", ";\n height: 40px;\n padding: 0 10px;\n position: relative;\n cursor: pointer;\n border-width: 1px;\n border-style: solid;\n border-color: ", ";\n background-color: ", ";\n background-image: none;\n display: flex;\n align-items: center;\n justify-content: space-between;\n z-index: 1;\n"], ["\n box-sizing: border-box;\n border-radius: ", ";\n height: 40px;\n padding: 0 10px;\n position: relative;\n cursor: pointer;\n border-width: 1px;\n border-style: solid;\n border-color: ", ";\n background-color: ", ";\n background-image: none;\n display: flex;\n align-items: center;\n justify-content: space-between;\n z-index: 1;\n"])), function (props) { return (props.$showOptions ? '4px 4px 0px 0px' : '4px'); }, function (props) {
|
|
2454
2605
|
if (props.$invalid) {
|
|
@@ -2478,8 +2629,8 @@ var MultiSelect = function (_a) {
|
|
|
2478
2629
|
React.createElement(Checklist, { disabled: readOnly, onChange: onChange, options: options, selected: selected, showSelectAll: showSelectAll }))) : null,
|
|
2479
2630
|
showOptions ? React.createElement(Scrim, { onClick: setShowOptions.bind(null, !showOptions) }) : null));
|
|
2480
2631
|
};
|
|
2481
|
-
var templateObject_1$8, templateObject_2$7, templateObject_3$5, templateObject_4$2, templateObject_5$1;
|
|
2482
|
-
|
|
2632
|
+
var templateObject_1$8, templateObject_2$7, templateObject_3$5, templateObject_4$2, templateObject_5$1;
|
|
2633
|
+
|
|
2483
2634
|
var Wrapper$5 = styled.div(templateObject_1$7 || (templateObject_1$7 = __makeTemplateObject(["\n border-radius: 4px;\n height: 40px;\n background-color: ", ";\n position: relative;\n cursor: pointer;\n border-width: 1px;\n border-style: solid;\n border-color: ", ";\n border-radius: ", ";\n flex-grow: ", ";\n box-sizing: border-box;\n padding: 10px 0px;\n display: flex;\n align-items: center;\n"], ["\n border-radius: 4px;\n height: 40px;\n background-color: ", ";\n position: relative;\n cursor: pointer;\n border-width: 1px;\n border-style: solid;\n border-color: ", ";\n border-radius: ", ";\n flex-grow: ", ";\n box-sizing: border-box;\n padding: 10px 0px;\n display: flex;\n align-items: center;\n"])), function (props) { return (props.$readOnly ? '#f5f5f5' : '#ffffff'); }, function (props) { return (props.$invalid ? Colors.RED.Hex : '#cccccc'); }, function (_a) {
|
|
2484
2635
|
var $style = _a.$style;
|
|
2485
2636
|
return ($style === null || $style === void 0 ? void 0 : $style.borderRadius) || '4px';
|
|
@@ -2507,8 +2658,8 @@ var Select = function (_a) {
|
|
|
2507
2658
|
React.createElement(IconWrapper$1, null,
|
|
2508
2659
|
React.createElement(Icon, { color: Colors.BLACK.Hex, path: mdiChevronDown, size: '22px' }))));
|
|
2509
2660
|
};
|
|
2510
|
-
var templateObject_1$7, templateObject_2$6, templateObject_3$4;
|
|
2511
|
-
|
|
2661
|
+
var templateObject_1$7, templateObject_2$6, templateObject_3$4;
|
|
2662
|
+
|
|
2512
2663
|
var Wrapper$4 = styled.nav(templateObject_1$6 || (templateObject_1$6 = __makeTemplateObject(["\n box-sizing: border-box;\n display: flex;\n align-items: center;\n column-gap: 10px;\n"], ["\n box-sizing: border-box;\n display: flex;\n align-items: center;\n column-gap: 10px;\n"])));
|
|
2513
2664
|
var Pagination = function (_a) {
|
|
2514
2665
|
var _b = _a.currentPage, currentPage = _b === void 0 ? 1 : _b, onClick = _a.onClick, _c = _a.pageCount, pageCount = _c === void 0 ? 0 : _c, accessibleProps = __rest(_a, ["currentPage", "onClick", "pageCount"]);
|
|
@@ -2538,8 +2689,8 @@ var Pagination = function (_a) {
|
|
|
2538
2689
|
}); }), value: "".concat(currentPage) }),
|
|
2539
2690
|
React.createElement(Button, { disabled: is_last_page, icon: mdiChevronRight, onClick: handleNextClick, small: true })));
|
|
2540
2691
|
};
|
|
2541
|
-
var templateObject_1$6;
|
|
2542
|
-
|
|
2692
|
+
var templateObject_1$6;
|
|
2693
|
+
|
|
2543
2694
|
var Wrapper$3 = styled.label(templateObject_1$5 || (templateObject_1$5 = __makeTemplateObject(["\n padding: 4px 0;\n cursor: ", ";\n display: flex;\n align-items: center;\n font-size: ", ";\n line-height: 1.6rm;\n box-sizing: border-box;\n"], ["\n padding: 4px 0;\n cursor: ", ";\n display: flex;\n align-items: center;\n font-size: ", ";\n line-height: 1.6rm;\n box-sizing: border-box;\n"])), function (props) { return (props.$disabled ? 'default' : 'pointer'); }, FontSizes.DEFAULT);
|
|
2544
2695
|
var Input = styled.input(templateObject_2$5 || (templateObject_2$5 = __makeTemplateObject(["\n font-size: 20px;\n margin: 0px 0px 2px 0px;\n line-height: 1.1em;\n"], ["\n font-size: 20px;\n margin: 0px 0px 2px 0px;\n line-height: 1.1em;\n"])));
|
|
2545
2696
|
var Label$1 = styled.span(templateObject_3$3 || (templateObject_3$3 = __makeTemplateObject(["\n font-family: ", ";\n font-size: ", ";\n font-weight: 400;\n color: ", ";\n line-height: 1.6em;\n margin-left: 6px;\n"], ["\n font-family: ", ";\n font-size: ", ";\n font-weight: 400;\n color: ", ";\n line-height: 1.6em;\n margin-left: 6px;\n"])), FontStyles.DEFAULT, FontSizes.DEFAULT, Colors.BLACK.Hex);
|
|
@@ -2549,16 +2700,16 @@ var Radio = function (_a) {
|
|
|
2549
2700
|
React.createElement(Input, { checked: checked, disabled: disabled, name: accessibleProps.name, onChange: disabled ? undefined : onChange, type: 'radio', value: value }),
|
|
2550
2701
|
React.createElement(Label$1, null, children)));
|
|
2551
2702
|
};
|
|
2552
|
-
var templateObject_1$5, templateObject_2$5, templateObject_3$3;
|
|
2553
|
-
|
|
2703
|
+
var templateObject_1$5, templateObject_2$5, templateObject_3$3;
|
|
2704
|
+
|
|
2554
2705
|
var RadioList = function (_a) {
|
|
2555
2706
|
var disabled = _a.disabled, onChange = _a.onChange, options = _a.options, value = _a.value, accessibleProps = __rest(_a, ["disabled", "onChange", "options", "value"]);
|
|
2556
2707
|
return (React.createElement(React.Fragment, null, options.map(function (option) {
|
|
2557
2708
|
var label = option.label || option.value;
|
|
2558
2709
|
return (React.createElement(Radio, __assign({ checked: value === option.value, disabled: disabled, onChange: onChange, value: option.value }, accessibleProps), label));
|
|
2559
2710
|
})));
|
|
2560
|
-
};
|
|
2561
|
-
|
|
2711
|
+
};
|
|
2712
|
+
|
|
2562
2713
|
var StyledTable = styled.table(templateObject_1$4 || (templateObject_1$4 = __makeTemplateObject(["\n width: 100%;\n margin-top: 1px;\n table-layout: ", ";\n border-collapse: collapse;\n text-indent: 0px;\n border-spacing: 0px;\n border-color: none;\n box-sizing: border-box;\n"], ["\n width: 100%;\n margin-top: 1px;\n table-layout: ", ";\n border-collapse: collapse;\n text-indent: 0px;\n border-spacing: 0px;\n border-color: none;\n box-sizing: border-box;\n"])), function (props) { return props.$tableLayout || 'auto'; });
|
|
2563
2714
|
var Header = styled.th(templateObject_2$4 || (templateObject_2$4 = __makeTemplateObject(["\n padding: 12px !important;\n text-align: left;\n font-weight: 500;\n border-bottom: 1px solid #e5e5e5;\n border-top: 1px solid #e5e5e5;\n text-transform: uppercase;\n font-size: 12px;\n font-family: ", ";\n letter-spacing: 1px;\n white-space: nowrap;\n line-height: 1;\n position: relative;\n box-sizing: border-box;\n width: ", ";\n cursor: ", ";\n color: ", ";\n"], ["\n padding: 12px !important;\n text-align: left;\n font-weight: 500;\n border-bottom: 1px solid #e5e5e5;\n border-top: 1px solid #e5e5e5;\n text-transform: uppercase;\n font-size: 12px;\n font-family: ", ";\n letter-spacing: 1px;\n white-space: nowrap;\n line-height: 1;\n position: relative;\n box-sizing: border-box;\n width: ", ";\n cursor: ", ";\n color: ", ";\n"])), FontStyles.DEFAULT, function (props) { return props.$width || 'auto'; }, function (props) { return (props.$isSortable ? 'pointer' : 'default'); }, function (props) { return (props.$isSortable ? Colors.PRIMARY.Hex : Colors.BLACK.Hex); });
|
|
2564
2715
|
var Row = styled.tr(templateObject_3$2 || (templateObject_3$2 = __makeTemplateObject(["\n cursor: ", ";\n transition: all 0.2s;\n background-color: ", ";\n box-sizing: border-box;\n &:hover {\n background-color: ", ";\n }\n"], ["\n cursor: ", ";\n transition: all 0.2s;\n background-color: ", ";\n box-sizing: border-box;\n &:hover {\n background-color: ", ";\n }\n"])), function (props) { return (props.$isClickable ? 'pointer' : 'default'); }, function (props) { return props.$bgColor; }, function (props) {
|
|
@@ -2582,8 +2733,8 @@ var Table = function (_a) {
|
|
|
2582
2733
|
})));
|
|
2583
2734
|
}))) : null));
|
|
2584
2735
|
};
|
|
2585
|
-
var templateObject_1$4, templateObject_2$4, templateObject_3$2, templateObject_4$1, templateObject_5;
|
|
2586
|
-
|
|
2736
|
+
var templateObject_1$4, templateObject_2$4, templateObject_3$2, templateObject_4$1, templateObject_5;
|
|
2737
|
+
|
|
2587
2738
|
var Wrapper$2 = styled.div(templateObject_1$3 || (templateObject_1$3 = __makeTemplateObject(["\n display: flex;\n box-sizing: border-box;\n align-items: flex-end;\n border-top: 1px solid #e5e5e5;\n border-bottom: 1px solid #e5e5e5;\n flex-shrink: 0;\n align-self: stretch;\n padding: 0;\n margin: 0;\n"], ["\n display: flex;\n box-sizing: border-box;\n align-items: flex-end;\n border-top: 1px solid #e5e5e5;\n border-bottom: 1px solid #e5e5e5;\n flex-shrink: 0;\n align-self: stretch;\n padding: 0;\n margin: 0;\n"])));
|
|
2588
2739
|
var Tab = styled.div(templateObject_2$3 || (templateObject_2$3 = __makeTemplateObject(["\n font-size: ", ";\n font-family: ", ";\n font-weight: ", ";\n color: ", ";\n line-height: 1em;\n padding: 16px 30px 12px;\n margin: 0 0 -1px 0;\n border-bottom-width: 4px;\n border-bottom-style: solid;\n border-bottom-color: ", ";\n cursor: ", ";\n box-sizing: border-box;\n &:hover {\n color: ", ";\n font-weight: 500;\n }\n"], ["\n font-size: ", ";\n font-family: ", ";\n font-weight: ", ";\n color: ", ";\n line-height: 1em;\n padding: 16px 30px 12px;\n margin: 0 0 -1px 0;\n border-bottom-width: 4px;\n border-bottom-style: solid;\n border-bottom-color: ", ";\n cursor: ", ";\n box-sizing: border-box;\n &:hover {\n color: ", ";\n font-weight: 500;\n }\n"])), FontSizes.DEFAULT, FontStyles.DEFAULT, function (props) { return (props.$isActive ? 500 : 400); }, function (props) { return (props.$isActive ? Colors.BLACK.Hex : Colors.MEDIUM_GRAY.Hex); }, function (props) { return (props.$isActive ? Colors.PRIMARY.Hex : 'transparent'); }, function (props) { return (props.$isActive ? 'default' : 'pointer'); }, function (props) { return (props.$isActive ? Colors.BLACK.Hex : Colors.PRIMARY.Hex); });
|
|
2589
2740
|
var Tabs = function (_a) {
|
|
@@ -2594,8 +2745,8 @@ var Tabs = function (_a) {
|
|
|
2594
2745
|
})));
|
|
2595
2746
|
};
|
|
2596
2747
|
Tabs.defaultProps = {};
|
|
2597
|
-
var templateObject_1$3, templateObject_2$3;
|
|
2598
|
-
|
|
2748
|
+
var templateObject_1$3, templateObject_2$3;
|
|
2749
|
+
|
|
2599
2750
|
var Wrapper$1 = styled.div(templateObject_1$2 || (templateObject_1$2 = __makeTemplateObject(["\n display: inline-block;\n border-radius: 4px;\n padding: 4px 6px;\n background: ", ";\n color: #ffffff;\n box-sizing: border-box;\n cursor: ", ";\n"], ["\n display: inline-block;\n border-radius: 4px;\n padding: 4px 6px;\n background: ", ";\n color: #ffffff;\n box-sizing: border-box;\n cursor: ", ";\n"])), function (props) { return Colors[props.$color].Hex; }, function (props) { return (props.$removable ? 'pointer' : 'default'); });
|
|
2600
2751
|
var Content = styled.div(templateObject_2$2 || (templateObject_2$2 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n"], ["\n display: flex;\n align-items: center;\n"])));
|
|
2601
2752
|
var Label = styled.div(templateObject_3$1 || (templateObject_3$1 = __makeTemplateObject(["\n color: #ffffff;\n font-size: ", ";\n font-weight: 500;\n font-family: ", ";\n line-height: 1.2em;\n"], ["\n color: #ffffff;\n font-size: ", ";\n font-weight: 500;\n font-family: ", ";\n line-height: 1.2em;\n"])), FontSizes.SMALL, FontStyles.DEFAULT);
|
|
@@ -2608,8 +2759,8 @@ var Tag = function (_a) {
|
|
|
2608
2759
|
removable ? (React.createElement(Remove, null,
|
|
2609
2760
|
React.createElement(Icon, { color: '#ffffff', path: mdiClose, size: '15px' }))) : null)));
|
|
2610
2761
|
};
|
|
2611
|
-
var templateObject_1$2, templateObject_2$2, templateObject_3$1, templateObject_4;
|
|
2612
|
-
|
|
2762
|
+
var templateObject_1$2, templateObject_2$2, templateObject_3$1, templateObject_4;
|
|
2763
|
+
|
|
2613
2764
|
var Track = styled.div(templateObject_1$1 || (templateObject_1$1 = __makeTemplateObject(["\n height: 24px;\n border-radius: 12px;\n background: ", ";\n display: flex;\n align-items: center;\n cursor: pointer;\n width: 40px;\n padding: 2px;\n box-sizing: border-box;\n"], ["\n height: 24px;\n border-radius: 12px;\n background: ", ";\n display: flex;\n align-items: center;\n cursor: pointer;\n width: 40px;\n padding: 2px;\n box-sizing: border-box;\n"])), function (props) { return (props.$on ? Colors.GREEN.Hex : Colors.BLACK.Hex); });
|
|
2614
2765
|
var Handle = styled.div(templateObject_2$1 || (templateObject_2$1 = __makeTemplateObject(["\n width: 20px;\n height: 20px;\n border-radius: 10px;\n background: #ffffff;\n margin-left: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n"], ["\n width: 20px;\n height: 20px;\n border-radius: 10px;\n background: #ffffff;\n margin-left: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n"])), function (props) { return (props.$on ? 'auto' : '0px'); });
|
|
2615
2766
|
var Toggle = function (_a) {
|
|
@@ -2620,8 +2771,8 @@ var Toggle = function (_a) {
|
|
|
2620
2771
|
React.createElement(Icon, { color: on ? Colors.GREEN.Hex : Colors.BLACK.Hex, path: on ? mdiCheck : mdiClose, size: '16px' }))));
|
|
2621
2772
|
};
|
|
2622
2773
|
Toggle.defaultProps = {};
|
|
2623
|
-
var templateObject_1$1, templateObject_2$1;
|
|
2624
|
-
|
|
2774
|
+
var templateObject_1$1, templateObject_2$1;
|
|
2775
|
+
|
|
2625
2776
|
var Container = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n padding: 40px auto;\n gap: 20px;\n display: flex;\n flex-direction: column;\n justify-items: center;\n align-items: center;\n"], ["\n width: 100%;\n padding: 40px auto;\n gap: 20px;\n display: flex;\n flex-direction: column;\n justify-items: center;\n align-items: center;\n"])));
|
|
2626
2777
|
var Wrapper = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n gap: 10px;\n display: flex;\n flex-direction: column;\n justify-items: center;\n align-items: center;\n"], ["\n gap: 10px;\n display: flex;\n flex-direction: column;\n justify-items: center;\n align-items: center;\n"])));
|
|
2627
2778
|
var StyledIcon = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n width: 80px;\n height: 80px;\n border-radius: 40px;\n background: #f5f5f5;\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n width: 80px;\n height: 80px;\n border-radius: 40px;\n background: #f5f5f5;\n"])));
|
|
@@ -2635,7 +2786,7 @@ var ZeroState = function (_a) {
|
|
|
2635
2786
|
description && React.createElement(Copy, { align: 'center', children: description, color: 'GRAY', type: 'default' })),
|
|
2636
2787
|
action && (React.createElement(Button, { children: action === null || action === void 0 ? void 0 : action.children, icon: action === null || action === void 0 ? void 0 : action.icon, onClick: action === null || action === void 0 ? void 0 : action.onClick }))));
|
|
2637
2788
|
};
|
|
2638
|
-
var templateObject_1, templateObject_2, templateObject_3;
|
|
2639
|
-
|
|
2640
|
-
export { Accordion, ActionDialog, Alert, BulkActionBar, Button, Checkbox, Checklist, Copy, Drawer, Field, Heading, Input$1 as Input, Modal, MoreMenu, MultiSelect, Pagination, Radio, RadioList, Select, Table, Tabs, Tag, Toggle, ZeroState };
|
|
2641
|
-
//# sourceMappingURL=index.js.map
|
|
2789
|
+
var templateObject_1, templateObject_2, templateObject_3;
|
|
2790
|
+
|
|
2791
|
+
export { Accordion, ActionDialog, Alert, BulkActionBar, Button, Checkbox, Checklist, Copy, Drawer, Field, FileUpload, Heading, Input$1 as Input, Logo, Modal, MoreMenu, MultiSelect, Pagination, Radio, RadioList, Select, Table, Tabs, Tag, Toggle, ZeroState };
|
|
2792
|
+
//# sourceMappingURL=index.js.map
|