mado-ui 0.2.3 → 0.3.1
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/css/index.css +975 -3421
- package/dist/components/button.d.ts +32 -10
- package/dist/components/details.d.ts +18 -0
- package/dist/components/drop-down.d.ts +28 -0
- package/dist/components/form/fieldset.d.ts +9 -0
- package/dist/components/form/index.d.ts +2 -1
- package/dist/components/form/input/index.d.ts +1 -1
- package/dist/components/form/submit-button.d.ts +24 -5
- package/dist/components/form/textarea.d.ts +1 -1
- package/dist/components/index.d.ts +5 -2
- package/dist/components/link.d.ts +31 -8
- package/dist/components/modal.d.ts +1 -2
- package/dist/components/tooltip.d.ts +26 -0
- package/dist/components.esm.js +2562 -285
- package/dist/components.esm.js.map +1 -1
- package/dist/components.js +2621 -313
- package/dist/components.js.map +1 -1
- package/dist/hooks.esm.js.map +1 -1
- package/dist/hooks.js.map +1 -1
- package/dist/icons.esm.js.map +1 -1
- package/dist/icons.js.map +1 -1
- package/dist/index.d.ts +1 -4
- package/dist/index.esm.js +2700 -831
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2753 -961
- package/dist/index.js.map +1 -1
- package/dist/types/index.d.ts +2 -2
- package/dist/types/utils.d.ts +5 -7
- package/dist/utils/helpers.d.ts +7 -2
- package/dist/utils.esm.js.map +1 -1
- package/dist/utils.js.map +1 -1
- package/package.json +12 -9
package/dist/index.js
CHANGED
|
@@ -2,9 +2,29 @@
|
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
4
|
var tailwindMerge = require('tailwind-merge');
|
|
5
|
-
var
|
|
6
|
-
var react
|
|
7
|
-
var
|
|
5
|
+
var React = require('react');
|
|
6
|
+
var react = require('@headlessui/react');
|
|
7
|
+
var ReactDOM = require('react-dom');
|
|
8
|
+
|
|
9
|
+
function _interopNamespaceDefault(e) {
|
|
10
|
+
var n = Object.create(null);
|
|
11
|
+
if (e) {
|
|
12
|
+
Object.keys(e).forEach(function (k) {
|
|
13
|
+
if (k !== 'default') {
|
|
14
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
15
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return e[k]; }
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
n.default = e;
|
|
23
|
+
return Object.freeze(n);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
var React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
|
|
27
|
+
var ReactDOM__namespace = /*#__PURE__*/_interopNamespaceDefault(ReactDOM);
|
|
8
28
|
|
|
9
29
|
const integerList = Array.from({ length: 100 }, (_, i) => `${i + 1}`);
|
|
10
30
|
const twMerge = tailwindMerge.extendTailwindMerge({
|
|
@@ -227,14 +247,14 @@ function getWeekdayName(weekday = d) {
|
|
|
227
247
|
}
|
|
228
248
|
|
|
229
249
|
function findComponentByType(children, componentType) {
|
|
230
|
-
const childrenArray =
|
|
250
|
+
const childrenArray = React.Children.toArray(children);
|
|
231
251
|
for (const child of childrenArray) {
|
|
232
|
-
if (
|
|
252
|
+
if (React.isValidElement(child) && child.type === componentType)
|
|
233
253
|
return child;
|
|
234
254
|
}
|
|
235
255
|
for (const child of childrenArray) {
|
|
236
|
-
if (
|
|
237
|
-
if (child.type ===
|
|
256
|
+
if (React.isValidElement(child)) {
|
|
257
|
+
if (child.type === React.Fragment && child.props.children) {
|
|
238
258
|
const found = findComponentByType(child.props.children, componentType);
|
|
239
259
|
if (found)
|
|
240
260
|
return found;
|
|
@@ -310,7 +330,7 @@ function twSort(className) {
|
|
|
310
330
|
return className;
|
|
311
331
|
}
|
|
312
332
|
|
|
313
|
-
function Anchor({ className, disabled, href, onClick,
|
|
333
|
+
function Anchor({ as, className, disabled, href, onClick, target, rel, ...props }) {
|
|
314
334
|
const isExternal = `${href}`.startsWith('http'), hasHash = `${href}`.includes('#');
|
|
315
335
|
const handleClick = e => {
|
|
316
336
|
if (disabled)
|
|
@@ -318,7 +338,8 @@ function Anchor({ className, disabled, href, onClick, ref, target, rel, ...props
|
|
|
318
338
|
onClick?.(e);
|
|
319
339
|
setTimeout(() => history.replaceState({}, document.title, location.pathname), 100);
|
|
320
340
|
};
|
|
321
|
-
|
|
341
|
+
const AnchorElement = as || 'a';
|
|
342
|
+
return (jsxRuntime.jsx(AnchorElement, { ...props, "aria-disabled": disabled, className: twMerge(className, disabled && 'pointer-events-none'), href: href, target: target || (isExternal ? '_blank' : '_self'), onClick: hasHash ? handleClick : onClick, rel: rel !== undefined
|
|
322
343
|
? rel === 'nofollow'
|
|
323
344
|
? `${rel} noreferrer noopener`
|
|
324
345
|
: `${rel} prefetch`
|
|
@@ -347,68 +368,104 @@ const lineLiftClasses = tailwindMerge.twJoin([
|
|
|
347
368
|
]);
|
|
348
369
|
const fillClasses = tailwindMerge.twJoin(baseClasses, 'whitespace-nowrap transition-[transform_color] after:top-1/2 after:h-[calc(100%+0.05rem)] after:w-[calc(100%+0.25rem)] after:-translate-y-1/2 after:rounded after:ease-exponential active:text-zinc-50 pointer-fine:hover:text-zinc-50');
|
|
349
370
|
// Define theme-specific fill color transition classes
|
|
350
|
-
const getFillColorTransitionClasses = (theme = 'blue') => {
|
|
371
|
+
const getFillColorTransitionClasses = (theme = 'blue', customTheme) => {
|
|
372
|
+
let fillColorTransitionClasses = tailwindMerge.twJoin(fillClasses, 'transition-transform after:bg-(--theme-color)');
|
|
351
373
|
switch (theme) {
|
|
374
|
+
case 'blue':
|
|
375
|
+
fillColorTransitionClasses = tailwindMerge.twJoin(fillColorTransitionClasses, 'after:[--theme-color:var(--color-ui-blue)]');
|
|
376
|
+
break;
|
|
352
377
|
case 'brown':
|
|
353
|
-
|
|
378
|
+
fillColorTransitionClasses = tailwindMerge.twJoin(fillColorTransitionClasses, 'after:[--theme-color:var(--color-ui-brow)]');
|
|
379
|
+
break;
|
|
354
380
|
case 'green':
|
|
355
|
-
|
|
381
|
+
fillColorTransitionClasses = tailwindMerge.twJoin(fillColorTransitionClasses, 'after:[--theme-color:var(--color-ui-green)]');
|
|
382
|
+
break;
|
|
356
383
|
case 'grey':
|
|
357
|
-
|
|
384
|
+
fillColorTransitionClasses = tailwindMerge.twJoin(fillColorTransitionClasses, 'after:[--theme-color:var(--color-ui-grey)]');
|
|
385
|
+
break;
|
|
358
386
|
case 'sky-blue':
|
|
359
|
-
|
|
387
|
+
fillColorTransitionClasses = tailwindMerge.twJoin(fillColorTransitionClasses, 'after:[--theme-color:var(--color-ui-sky-blue)]');
|
|
388
|
+
break;
|
|
360
389
|
case 'magenta':
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
return tailwindMerge.twJoin(fillClasses, 'after:bg-zinc-700 after:transition-transform contrast-more:after:bg-zinc-700 dark:after:bg-zinc-300 dark:contrast-more:after:bg-zinc-300');
|
|
390
|
+
fillColorTransitionClasses = tailwindMerge.twJoin(fillColorTransitionClasses, 'after:[--theme-color:var(--color-ui-magenta)]');
|
|
391
|
+
break;
|
|
364
392
|
case 'orange':
|
|
365
|
-
|
|
393
|
+
fillColorTransitionClasses = tailwindMerge.twJoin(fillColorTransitionClasses, 'after:[--theme-color:var(--color-ui-orange)]');
|
|
394
|
+
break;
|
|
366
395
|
case 'pink':
|
|
367
|
-
|
|
396
|
+
fillColorTransitionClasses = tailwindMerge.twJoin(fillColorTransitionClasses, 'after:[--theme-color:var(--color-ui-pink)]');
|
|
397
|
+
break;
|
|
368
398
|
case 'purple':
|
|
369
|
-
|
|
399
|
+
fillColorTransitionClasses = tailwindMerge.twJoin(fillColorTransitionClasses, 'after:[--theme-color:var(--color-ui-purple)]');
|
|
400
|
+
break;
|
|
370
401
|
case 'red':
|
|
371
|
-
|
|
402
|
+
fillColorTransitionClasses = tailwindMerge.twJoin(fillColorTransitionClasses, 'after:[--theme-color:var(--color-ui-red)]');
|
|
403
|
+
break;
|
|
372
404
|
case 'violet':
|
|
373
|
-
|
|
405
|
+
fillColorTransitionClasses = tailwindMerge.twJoin(fillColorTransitionClasses, 'after:[--theme-color:var(--color-ui-violet)]');
|
|
406
|
+
break;
|
|
374
407
|
case 'yellow':
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
408
|
+
fillColorTransitionClasses = tailwindMerge.twJoin(fillColorTransitionClasses, 'after:[--theme-color:var(--color-ui-yellow)]');
|
|
409
|
+
break;
|
|
410
|
+
case 'custom':
|
|
411
|
+
if (customTheme && customTheme.themeColor && !customTheme.themeColor.includes('after:[--theme-color:'))
|
|
412
|
+
throw new Error('`customTheme.themeColor` must modify the `--theme-color` variable on the ::after pseudo element. Otherwise, please use `customTheme.classes`.');
|
|
413
|
+
fillColorTransitionClasses = customTheme.themeColor
|
|
414
|
+
? twMerge(fillColorTransitionClasses, customTheme.themeColor)
|
|
415
|
+
: twMerge(fillClasses, customTheme.classes);
|
|
416
|
+
break;
|
|
379
417
|
}
|
|
418
|
+
return fillColorTransitionClasses;
|
|
380
419
|
};
|
|
381
420
|
// Define theme-specific fill center classes
|
|
382
|
-
const getFillCenterClasses = (theme = 'blue') => {
|
|
421
|
+
const getFillCenterClasses = (theme = 'blue', customTheme) => {
|
|
422
|
+
let fillCenterColorClasses = tailwindMerge.twJoin(fillClasses, 'after:scale-x-50 after:scale-y-[0.25] after:bg-(--theme-color)/0 after:transition-[transform_background-color] active:after:scale-x-100 active:after:scale-y-100 active:after:bg-(--theme-color) pointer-fine:hover:after:scale-x-100 pointer-fine:hover:after:scale-y-100 pointer-fine:hover:after:bg-(--theme-color)');
|
|
383
423
|
switch (theme) {
|
|
424
|
+
case 'blue':
|
|
425
|
+
fillCenterColorClasses = tailwindMerge.twJoin(fillCenterColorClasses, 'after:[--theme-color:var(--color-ui-blue)]');
|
|
426
|
+
break;
|
|
384
427
|
case 'brown':
|
|
385
|
-
|
|
428
|
+
fillCenterColorClasses = tailwindMerge.twJoin(fillCenterColorClasses, 'after:[--theme-color:var(--color-ui-brown)]');
|
|
429
|
+
break;
|
|
386
430
|
case 'green':
|
|
387
|
-
|
|
431
|
+
fillCenterColorClasses = tailwindMerge.twJoin(fillCenterColorClasses, 'after:[--theme-color:var(--color-ui-green)]');
|
|
432
|
+
break;
|
|
388
433
|
case 'grey':
|
|
389
|
-
|
|
434
|
+
fillCenterColorClasses = tailwindMerge.twJoin(fillCenterColorClasses, 'after:[--theme-color:var(--color-ui-grey)]');
|
|
435
|
+
break;
|
|
390
436
|
case 'sky-blue':
|
|
391
|
-
|
|
437
|
+
fillCenterColorClasses = tailwindMerge.twJoin(fillCenterColorClasses, 'after:[--theme-color:var(--color-ui-sky-blue)]');
|
|
438
|
+
break;
|
|
392
439
|
case 'magenta':
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
return tailwindMerge.twJoin(fillClasses, 'after:scale-x-50 after:scale-y-[0.25] after:bg-zinc-700/0 after:transition-[transform_background-color] active:after:scale-x-100 active:after:scale-y-100 active:after:bg-zinc-700 dark:after:bg-zinc-300/0 dark:active:after:bg-zinc-300 pointer-fine:hover:after:scale-x-100 pointer-fine:hover:after:scale-y-100 pointer-fine:hover:after:bg-zinc-700 dark:pointer-fine:hover:after:bg-zinc-300');
|
|
440
|
+
fillCenterColorClasses = tailwindMerge.twJoin(fillCenterColorClasses, 'after:[--theme-color:var(--color-ui-magenta)]');
|
|
441
|
+
break;
|
|
396
442
|
case 'orange':
|
|
397
|
-
|
|
443
|
+
fillCenterColorClasses = tailwindMerge.twJoin(fillCenterColorClasses, 'after:[--theme-color:var(--color-ui-orange)]');
|
|
444
|
+
break;
|
|
398
445
|
case 'pink':
|
|
399
|
-
|
|
446
|
+
fillCenterColorClasses = tailwindMerge.twJoin(fillCenterColorClasses, 'after:[--theme-color:var(--color-ui-pink)]');
|
|
447
|
+
break;
|
|
400
448
|
case 'purple':
|
|
401
|
-
|
|
449
|
+
fillCenterColorClasses = tailwindMerge.twJoin(fillCenterColorClasses, 'after:[--theme-color:var(--color-ui-purple)]');
|
|
450
|
+
break;
|
|
402
451
|
case 'red':
|
|
403
|
-
|
|
452
|
+
fillCenterColorClasses = tailwindMerge.twJoin(fillCenterColorClasses, 'after:[--theme-color:var(--color-ui-red)]');
|
|
453
|
+
break;
|
|
404
454
|
case 'violet':
|
|
405
|
-
|
|
455
|
+
fillCenterColorClasses = tailwindMerge.twJoin(fillCenterColorClasses, 'after:[--theme-color:var(--color-ui-violet)]');
|
|
456
|
+
break;
|
|
406
457
|
case 'yellow':
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
458
|
+
fillCenterColorClasses = tailwindMerge.twJoin(fillCenterColorClasses, 'after:[--theme-color:var(--color-ui-yellow)]');
|
|
459
|
+
break;
|
|
460
|
+
case 'custom':
|
|
461
|
+
if (customTheme && customTheme.themeColor && !customTheme.themeColor.includes('after:[--theme-color:'))
|
|
462
|
+
throw new Error('`customTheme.themeColor` must modify the `--theme-color` variable on the ::after pseudo element. Otherwise, please use `customTheme.classes`.');
|
|
463
|
+
fillCenterColorClasses = customTheme.themeColor
|
|
464
|
+
? twMerge(fillCenterColorClasses, customTheme.themeColor)
|
|
465
|
+
: twMerge(fillClasses, customTheme.classes);
|
|
466
|
+
break;
|
|
411
467
|
}
|
|
468
|
+
return fillCenterColorClasses;
|
|
412
469
|
};
|
|
413
470
|
const multilineBaseClasses = twSort('bg-linear-to-r from-current to-current bg-no-repeat active:scale-95');
|
|
414
471
|
const multilineLineStaticClasses = 'underline';
|
|
@@ -420,80 +477,115 @@ const multilineLineRtlClasses = tailwindMerge.twJoin([multilineXClasses, 'bg-[po
|
|
|
420
477
|
const multilineLineCenterClasses = tailwindMerge.twJoin([multilineXClasses, 'bg-[position:50%_100%]']);
|
|
421
478
|
const multilineLineLiftClasses = tailwindMerge.twJoin(multilineLineClasses, 'bg-[size:auto_0px] focus-visible:bg-[size:auto_2px] active:bg-[size:auto_2px] pointer-fine:hover:bg-[size:auto_2px]');
|
|
422
479
|
const multilineFillBaseClasses = tailwindMerge.twJoin(multilineBaseClasses, 'rounded px-0.5 py-0.75 focus-visible:text-zinc-50 active:text-zinc-50 pointer-fine:hover:text-zinc-50');
|
|
423
|
-
const getMultilineFillColorClasses = (theme = 'blue') => {
|
|
480
|
+
const getMultilineFillColorClasses = (theme = 'blue', customTheme) => {
|
|
481
|
+
let multilineFillColorClasses = tailwindMerge.twJoin(multilineFillBaseClasses, 'from-(--theme-color) to-(--theme-color) transition-[background-size_color]');
|
|
424
482
|
switch (theme) {
|
|
483
|
+
case 'blue':
|
|
484
|
+
multilineFillColorClasses = tailwindMerge.twJoin(multilineFillColorClasses, '[--theme-color:var(--color-ui-blue)]');
|
|
485
|
+
break;
|
|
425
486
|
case 'brown':
|
|
426
|
-
|
|
487
|
+
multilineFillColorClasses = tailwindMerge.twJoin(multilineFillColorClasses, '[--theme-color:var(--color-ui-brown)]');
|
|
488
|
+
break;
|
|
427
489
|
case 'green':
|
|
428
|
-
|
|
490
|
+
multilineFillColorClasses = tailwindMerge.twJoin(multilineFillColorClasses, '[--theme-color:var(--color-ui-green)]');
|
|
491
|
+
break;
|
|
429
492
|
case 'grey':
|
|
430
|
-
|
|
493
|
+
multilineFillColorClasses = tailwindMerge.twJoin(multilineFillColorClasses, '[--theme-color:var(--color-ui-grey)]');
|
|
494
|
+
break;
|
|
431
495
|
case 'sky-blue':
|
|
432
|
-
|
|
496
|
+
multilineFillColorClasses = tailwindMerge.twJoin(multilineFillColorClasses, '[--theme-color:var(--color-ui-sky-blue)]');
|
|
497
|
+
break;
|
|
433
498
|
case 'magenta':
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
return tailwindMerge.twJoin(multilineFillBaseClasses, 'from-zinc-700 to-zinc-700 transition-[background-size_color] contrast-more:from-zinc-700 contrast-more:to-zinc-700 dark:from-zinc-300 dark:to-zinc-300 dark:contrast-more:from-zinc-300 dark:contrast-more:to-zinc-300');
|
|
499
|
+
multilineFillColorClasses = tailwindMerge.twJoin(multilineFillColorClasses, '[--theme-color:var(--color-ui-magenta)]');
|
|
500
|
+
break;
|
|
437
501
|
case 'orange':
|
|
438
|
-
|
|
502
|
+
multilineFillColorClasses = tailwindMerge.twJoin(multilineFillColorClasses, '[--theme-color:var(--color-ui-orange)]');
|
|
503
|
+
break;
|
|
439
504
|
case 'pink':
|
|
440
|
-
|
|
505
|
+
multilineFillColorClasses = tailwindMerge.twJoin(multilineFillColorClasses, '[--theme-color:var(--color-ui-pink)]');
|
|
506
|
+
break;
|
|
441
507
|
case 'purple':
|
|
442
|
-
|
|
508
|
+
multilineFillColorClasses = tailwindMerge.twJoin(multilineFillColorClasses, '[--theme-color:var(--color-ui-purple)]');
|
|
509
|
+
break;
|
|
443
510
|
case 'red':
|
|
444
|
-
|
|
511
|
+
multilineFillColorClasses = tailwindMerge.twJoin(multilineFillColorClasses, '[--theme-color:var(--color-ui-red)]');
|
|
512
|
+
break;
|
|
445
513
|
case 'violet':
|
|
446
|
-
|
|
514
|
+
multilineFillColorClasses = tailwindMerge.twJoin(multilineFillColorClasses, '[--theme-color:var(--color-ui-violet)]');
|
|
515
|
+
break;
|
|
447
516
|
case 'yellow':
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
517
|
+
multilineFillColorClasses = tailwindMerge.twJoin(multilineFillColorClasses, '[--theme-color:var(--color-ui-yellow)]');
|
|
518
|
+
break;
|
|
519
|
+
case 'custom':
|
|
520
|
+
if (customTheme && customTheme.themeColor && !customTheme.themeColor.includes('[--theme-color:'))
|
|
521
|
+
throw new Error('`customTheme.themeColor` must modify the `--theme-color` variable. Otherwise, please use `customTheme.classes`.');
|
|
522
|
+
multilineFillColorClasses = customTheme.themeColor
|
|
523
|
+
? twMerge(multilineFillColorClasses, customTheme.themeColor)
|
|
524
|
+
: twMerge(multilineFillBaseClasses, customTheme.classes);
|
|
525
|
+
break;
|
|
452
526
|
}
|
|
527
|
+
return multilineFillColorClasses;
|
|
453
528
|
};
|
|
454
|
-
|
|
455
|
-
|
|
529
|
+
const getMultilineFillClasses = (theme = 'blue', customTheme) => {
|
|
530
|
+
let multilineFillColorClasses = tailwindMerge.twJoin(multilineFillBaseClasses, 'from-(--theme-color)/0 to-(--theme-color)/0 bg-[size:50%_0px] bg-[position:50%_50%] transition-[background-size_background-image_color] focus-visible:from-(--theme-color) focus-visible:to-(--theme-color) focus-visible:bg-[size:100%_100%] active:from-(--theme-color) active:to-(--theme-color) active:bg-[size:100%_100%] contrast-more:from-(--theme-color)/0 pointer-fine:hover:from-(--theme-color) pointer-fine:hover:to-(--theme-color) pointer-fine:hover:bg-[size:100%_100%]');
|
|
456
531
|
switch (theme) {
|
|
532
|
+
case 'blue':
|
|
533
|
+
multilineFillColorClasses = tailwindMerge.twJoin(multilineFillColorClasses, '[--theme-color:var(--color-ui-blue)]');
|
|
534
|
+
break;
|
|
457
535
|
case 'brown':
|
|
458
|
-
|
|
536
|
+
multilineFillColorClasses = tailwindMerge.twJoin(multilineFillColorClasses, '[--theme-color:var(--color-ui-brown)]');
|
|
537
|
+
break;
|
|
459
538
|
case 'green':
|
|
460
|
-
|
|
539
|
+
multilineFillColorClasses = tailwindMerge.twJoin(multilineFillColorClasses, '[--theme-color:var(--color-ui-green)]');
|
|
540
|
+
break;
|
|
461
541
|
case 'grey':
|
|
462
|
-
|
|
542
|
+
multilineFillColorClasses = tailwindMerge.twJoin(multilineFillColorClasses, '[--theme-color:var(--color-ui-grey)]');
|
|
543
|
+
break;
|
|
463
544
|
case 'sky-blue':
|
|
464
|
-
|
|
545
|
+
multilineFillColorClasses = tailwindMerge.twJoin(multilineFillColorClasses, '[--theme-color:var(--color-ui-sky-blue)]');
|
|
546
|
+
break;
|
|
465
547
|
case 'magenta':
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
return tailwindMerge.twJoin(multilineFillBaseClasses, 'from-zinc-700/0 to-zinc-700/0 bg-[size:50%_0px] bg-[position:50%_50%] transition-[background-size_background-image_color] focus-visible:from-zinc-700 focus-visible:to-zinc-700 focus-visible:bg-[size:100%_100%] active:from-zinc-700 active:to-zinc-700 active:bg-[size:100%_100%] contrast-more:from-zinc-700/0 contrast-more:to-zinc-700/0 focus-visible:contrast-more:from-zinc-700 focus-visible:contrast-more:to-zinc-700 active:contrast-more:from-zinc-700 active:contrast-more:to-zinc-700 dark:from-zinc-300/0 dark:to-zinc-300/0 dark:focus-visible:from-zinc-300 dark:focus-visible:to-zinc-300 dark:active:from-zinc-300 dark:active:to-zinc-300 dark:contrast-more:from-zinc-300/0 dark:contrast-more:to-zinc-300/0 dark:focus-visible:contrast-more:from-zinc-300 dark:focus-visible:contrast-more:to-zinc-300 dark:active:contrast-more:from-zinc-300 dark:active:contrast-more:to-zinc-300 pointer-fine:hover:from-zinc-700 pointer-fine:hover:to-zinc-700 pointer-fine:hover:bg-[size:100%_100%] pointer-fine:hover:contrast-more:from-zinc-700 pointer-fine:hover:contrast-more:to-zinc-700 dark:pointer-fine:hover:from-zinc-300 dark:pointer-fine:hover:to-zinc-300 dark:pointer-fine:hover:contrast-more:from-zinc-300 dark:pointer-fine:hover:contrast-more:to-zinc-300');
|
|
548
|
+
multilineFillColorClasses = tailwindMerge.twJoin(multilineFillColorClasses, '[--theme-color:var(--color-ui-magenta)]');
|
|
549
|
+
break;
|
|
469
550
|
case 'orange':
|
|
470
|
-
|
|
551
|
+
multilineFillColorClasses = tailwindMerge.twJoin(multilineFillColorClasses, '[--theme-color:var(--color-ui-orange)]');
|
|
552
|
+
break;
|
|
471
553
|
case 'pink':
|
|
472
|
-
|
|
554
|
+
multilineFillColorClasses = tailwindMerge.twJoin(multilineFillColorClasses, '[--theme-color:var(--color-ui-pink)]');
|
|
555
|
+
break;
|
|
473
556
|
case 'purple':
|
|
474
|
-
|
|
557
|
+
multilineFillColorClasses = tailwindMerge.twJoin(multilineFillColorClasses, '[--theme-color:var(--color-ui-purple)]');
|
|
558
|
+
break;
|
|
475
559
|
case 'red':
|
|
476
|
-
|
|
560
|
+
multilineFillColorClasses = tailwindMerge.twJoin(multilineFillColorClasses, '[--theme-color:var(--color-ui-red)]');
|
|
561
|
+
break;
|
|
477
562
|
case 'violet':
|
|
478
|
-
|
|
563
|
+
multilineFillColorClasses = tailwindMerge.twJoin(multilineFillColorClasses, '[--theme-color:var(--color-ui-violet)]');
|
|
564
|
+
break;
|
|
479
565
|
case 'yellow':
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
566
|
+
multilineFillColorClasses = tailwindMerge.twJoin(multilineFillColorClasses, '[--theme-color:var(--color-ui-yellow)]');
|
|
567
|
+
break;
|
|
568
|
+
case 'custom':
|
|
569
|
+
if (customTheme && customTheme.themeColor && !customTheme.themeColor.includes('[--theme-color:'))
|
|
570
|
+
throw new Error('`customTheme.themeColor` must modify the `--theme-color` variable. Otherwise, please use `customTheme.classes`.');
|
|
571
|
+
multilineFillColorClasses = customTheme.themeColor
|
|
572
|
+
? twMerge(multilineFillColorClasses, customTheme.themeColor)
|
|
573
|
+
: twMerge(multilineFillBaseClasses, customTheme.classes);
|
|
574
|
+
break;
|
|
484
575
|
}
|
|
576
|
+
return multilineFillColorClasses;
|
|
485
577
|
};
|
|
486
|
-
const getMultilineFillLiftClasses = (theme = 'blue') => {
|
|
487
|
-
return tailwindMerge.twJoin(getMultilineFillColorClasses(theme), 'bg-[size:auto_0px] bg-[position:50%_100%] focus-visible:bg-[size:auto_100%] active:bg-[size:auto_100%] pointer-fine:hover:bg-[size:auto_100%]');
|
|
578
|
+
const getMultilineFillLiftClasses = (theme = 'blue', customTheme) => {
|
|
579
|
+
return tailwindMerge.twJoin(getMultilineFillColorClasses(theme, customTheme), 'bg-[size:auto_0px] bg-[position:50%_100%] focus-visible:bg-[size:auto_100%] active:bg-[size:auto_100%] pointer-fine:hover:bg-[size:auto_100%]');
|
|
488
580
|
};
|
|
489
|
-
const getMultilineFillXClasses = (theme = 'blue') => {
|
|
490
|
-
return tailwindMerge.twJoin(getMultilineFillColorClasses(theme), 'bg-[size:0%_100%] focus-visible:bg-[size:100%_100%] active:bg-[size:100%_100%] pointer-fine:hover:bg-[size:100%_100%]');
|
|
581
|
+
const getMultilineFillXClasses = (theme = 'blue', customTheme) => {
|
|
582
|
+
return tailwindMerge.twJoin(getMultilineFillColorClasses(theme, customTheme), 'bg-[size:0%_100%] focus-visible:bg-[size:100%_100%] active:bg-[size:100%_100%] pointer-fine:hover:bg-[size:100%_100%]');
|
|
491
583
|
};
|
|
492
|
-
const getMultilineFillRtlClasses = (theme = 'blue') => {
|
|
493
|
-
return tailwindMerge.twJoin(getMultilineFillXClasses(theme), 'bg-[position:100%_auto]');
|
|
584
|
+
const getMultilineFillRtlClasses = (theme = 'blue', customTheme) => {
|
|
585
|
+
return tailwindMerge.twJoin(getMultilineFillXClasses(theme, customTheme), 'bg-[position:100%_auto]');
|
|
494
586
|
};
|
|
495
|
-
const getMultilineFillCenterClasses = (theme = 'blue') => {
|
|
496
|
-
return tailwindMerge.twJoin(getMultilineFillXClasses(theme), 'bg-[position:50%_auto]');
|
|
587
|
+
const getMultilineFillCenterClasses = (theme = 'blue', customTheme) => {
|
|
588
|
+
return tailwindMerge.twJoin(getMultilineFillXClasses(theme, customTheme), 'bg-[position:50%_auto]');
|
|
497
589
|
};
|
|
498
590
|
/**
|
|
499
591
|
* # Link
|
|
@@ -524,7 +616,7 @@ const getMultilineFillCenterClasses = (theme = 'blue') => {
|
|
|
524
616
|
* @example
|
|
525
617
|
* <Link href='/about' type='fill-ltr' theme='red' title='About Us'>Learn more about our company</Link>
|
|
526
618
|
*/
|
|
527
|
-
function Link({ as, className,
|
|
619
|
+
function Link({ as, className, customTheme, theme = 'blue', type, ...props }) {
|
|
528
620
|
const getLinkClasses = () => {
|
|
529
621
|
switch (type) {
|
|
530
622
|
case 'static':
|
|
@@ -538,13 +630,13 @@ function Link({ as, className, ref, theme = 'blue', type, ...props }) {
|
|
|
538
630
|
case 'lift':
|
|
539
631
|
return lineLiftClasses;
|
|
540
632
|
case 'fill':
|
|
541
|
-
return getFillCenterClasses(theme);
|
|
633
|
+
return getFillCenterClasses(theme, customTheme);
|
|
542
634
|
case 'fill-ltr':
|
|
543
|
-
return tailwindMerge.twJoin([getFillColorTransitionClasses(theme), scaleXClasses, 'after:origin-left']);
|
|
635
|
+
return tailwindMerge.twJoin([getFillColorTransitionClasses(theme, customTheme), scaleXClasses, 'after:origin-left']);
|
|
544
636
|
case 'fill-rtl':
|
|
545
|
-
return tailwindMerge.twJoin([getFillColorTransitionClasses(theme), scaleXClasses, 'after:origin-right']);
|
|
637
|
+
return tailwindMerge.twJoin([getFillColorTransitionClasses(theme, customTheme), scaleXClasses, 'after:origin-right']);
|
|
546
638
|
case 'fill-lift':
|
|
547
|
-
return tailwindMerge.twJoin([getFillColorTransitionClasses(theme), scaleYClasses, 'after:origin-bottom']);
|
|
639
|
+
return tailwindMerge.twJoin([getFillColorTransitionClasses(theme, customTheme), scaleYClasses, 'after:origin-bottom']);
|
|
548
640
|
case 'multiline':
|
|
549
641
|
return multilineNormalClasses;
|
|
550
642
|
case 'multiline-static':
|
|
@@ -558,29 +650,29 @@ function Link({ as, className, ref, theme = 'blue', type, ...props }) {
|
|
|
558
650
|
case 'multiline-lift':
|
|
559
651
|
return multilineLineLiftClasses;
|
|
560
652
|
case 'multiline-fill':
|
|
561
|
-
return getMultilineFillClasses(theme);
|
|
653
|
+
return getMultilineFillClasses(theme, customTheme);
|
|
562
654
|
case 'multiline-fill-ltr':
|
|
563
|
-
return getMultilineFillXClasses(theme);
|
|
655
|
+
return getMultilineFillXClasses(theme, customTheme);
|
|
564
656
|
case 'multiline-fill-rtl':
|
|
565
|
-
return getMultilineFillRtlClasses(theme);
|
|
657
|
+
return getMultilineFillRtlClasses(theme, customTheme);
|
|
566
658
|
case 'multiline-fill-center':
|
|
567
|
-
return getMultilineFillCenterClasses(theme);
|
|
659
|
+
return getMultilineFillCenterClasses(theme, customTheme);
|
|
568
660
|
case 'multiline-fill-lift':
|
|
569
|
-
return getMultilineFillLiftClasses(theme);
|
|
661
|
+
return getMultilineFillLiftClasses(theme, customTheme);
|
|
570
662
|
default:
|
|
571
663
|
return lineNormalClasses;
|
|
572
664
|
}
|
|
573
665
|
};
|
|
574
666
|
const linkClasses = getLinkClasses();
|
|
575
667
|
const LinkElement = as || Anchor;
|
|
576
|
-
return jsxRuntime.jsx(LinkElement, { ...props, className: twMerge(linkClasses, className)
|
|
668
|
+
return jsxRuntime.jsx(LinkElement, { ...props, className: twMerge(linkClasses, className) });
|
|
577
669
|
}
|
|
578
670
|
|
|
579
671
|
/**
|
|
580
672
|
* # Button
|
|
581
673
|
* - A pre-styled button with utility props for easy customization depending on use case.
|
|
582
674
|
*/
|
|
583
|
-
function Button({ className, padding = 'md', rounded = 'lg', theme = 'blue',
|
|
675
|
+
function Button({ className, customTheme, gradient = false, padding = 'md', rounded = 'lg', theme = 'blue', ...props }) {
|
|
584
676
|
const getPaddingClasses = () => {
|
|
585
677
|
switch (padding) {
|
|
586
678
|
case 'xs':
|
|
@@ -611,104 +703,120 @@ function Button({ className, padding = 'md', rounded = 'lg', theme = 'blue', ref
|
|
|
611
703
|
return 'rounded-full';
|
|
612
704
|
}
|
|
613
705
|
};
|
|
614
|
-
const
|
|
615
|
-
const classList = [];
|
|
706
|
+
const getThemeColorVariable = () => {
|
|
616
707
|
switch (theme) {
|
|
617
708
|
case 'blue':
|
|
618
|
-
|
|
619
|
-
break;
|
|
620
|
-
case 'blue-gradient':
|
|
621
|
-
classList.push(twSort('bg-ui-blue text-white shadow-lg shadow-ui-blue/25 transition-transform before:absolute before:inset-0 before:rounded-[inherit] before:bg-linear-to-t before:from-black/75 before:via-transparent before:to-white/75 before:opacity-75 before:mix-blend-soft-light before:transition-[filter] before:duration-300 before:ease-exponential active:before:brightness-90 pointer-fine:hover:before:brightness-110 pointer-fine:active:before:brightness-90'));
|
|
622
|
-
break;
|
|
709
|
+
return twSort('text-white [--theme-color:var(--color-ui-blue)]');
|
|
623
710
|
case 'brown':
|
|
624
|
-
|
|
625
|
-
break;
|
|
626
|
-
case 'brown-gradient':
|
|
627
|
-
classList.push(twSort('bg-ui-brown text-white shadow-lg shadow-ui-brown/25 transition-transform before:absolute before:inset-0 before:rounded-[inherit] before:bg-linear-to-t before:from-black/75 before:via-transparent before:to-white/75 before:opacity-75 before:mix-blend-soft-light before:transition-[filter] before:duration-300 before:ease-exponential active:before:brightness-90 pointer-fine:hover:before:brightness-110 pointer-fine:active:before:brightness-90'));
|
|
628
|
-
break;
|
|
711
|
+
return twSort('text-white [--theme-color:var(--color-ui-brown)]');
|
|
629
712
|
case 'green':
|
|
630
|
-
|
|
631
|
-
break;
|
|
632
|
-
case 'green-gradient':
|
|
633
|
-
classList.push(twSort('bg-ui-green text-white shadow-lg shadow-ui-green/25 transition-transform before:absolute before:inset-0 before:rounded-[inherit] before:bg-linear-to-t before:from-black/75 before:via-transparent before:to-white/75 before:opacity-75 before:mix-blend-soft-light before:transition-[filter] before:duration-300 before:ease-exponential active:before:brightness-90 pointer-fine:hover:before:brightness-110 pointer-fine:active:before:brightness-90'));
|
|
634
|
-
break;
|
|
713
|
+
return twSort('text-white [--theme-color:var(--color-ui-green)]');
|
|
635
714
|
case 'grey':
|
|
636
|
-
|
|
637
|
-
break;
|
|
638
|
-
case 'grey-gradient':
|
|
639
|
-
classList.push(twSort('bg-ui-grey text-white shadow-lg shadow-ui-grey/25 transition-transform before:absolute before:inset-0 before:rounded-[inherit] before:bg-linear-to-t before:from-black/75 before:via-transparent before:to-white/75 before:opacity-75 before:mix-blend-soft-light before:transition-[filter] before:duration-300 before:ease-exponential active:before:brightness-90 pointer-fine:hover:before:brightness-110 pointer-fine:active:before:brightness-90'));
|
|
640
|
-
break;
|
|
641
|
-
case 'sky-blue':
|
|
642
|
-
classList.push(twSort('text-white shadow-lg shadow-ui-sky-blue/25 transition-transform before:absolute before:inset-0 before:-z-10 before:rounded-[inherit] before:bg-ui-sky-blue before:transition-[filter] before:duration-300 before:ease-exponential active:before:brightness-90 pointer-fine:hover:before:brightness-110 pointer-fine:active:before:brightness-90'));
|
|
643
|
-
break;
|
|
644
|
-
case 'sky-blue-gradient':
|
|
645
|
-
classList.push(twSort('bg-ui-sky-blue text-white shadow-lg shadow-ui-sky-blue/25 transition-transform before:absolute before:inset-0 before:rounded-[inherit] before:bg-linear-to-t before:from-black/75 before:via-transparent before:to-white/75 before:opacity-75 before:mix-blend-soft-light before:transition-[filter] before:duration-300 before:ease-exponential active:before:brightness-90 pointer-fine:hover:before:brightness-110 pointer-fine:active:before:brightness-90'));
|
|
646
|
-
break;
|
|
715
|
+
return twSort('text-white [--theme-color:var(--color-ui-grey)]');
|
|
647
716
|
case 'magenta':
|
|
648
|
-
|
|
649
|
-
break;
|
|
650
|
-
case 'magenta-gradient':
|
|
651
|
-
classList.push(twSort('bg-ui-magenta text-white shadow-lg shadow-ui-magenta/25 transition-transform before:absolute before:inset-0 before:rounded-[inherit] before:bg-linear-to-t before:from-black/75 before:via-transparent before:to-white/75 before:opacity-75 before:mix-blend-soft-light before:transition-[filter] before:duration-300 before:ease-exponential active:before:brightness-90 pointer-fine:hover:before:brightness-110 pointer-fine:active:before:brightness-90'));
|
|
652
|
-
break;
|
|
653
|
-
case 'neutral':
|
|
654
|
-
classList.push(twSort('pointer-fine:active:before:brightness-90text-white dark bg-zinc-200 text-black before:absolute before:inset-0 before:rounded-[inherit] before:transition-[filter] before:duration-300 before:ease-exponential active:before:brightness-90 dark:bg-zinc-800 pointer-fine:hover:before:brightness-110'));
|
|
655
|
-
break;
|
|
656
|
-
case 'neutral-gradient':
|
|
657
|
-
classList.push(twSort('dark bg-linear-to-t from-zinc-300 via-zinc-200 to-zinc-100 text-black before:transition-[filter] before:duration-300 before:ease-exponential active:before:brightness-90 dark:from-zinc-900 dark:via-zinc-800 dark:to-zinc-700 pointer-fine:hover:before:brightness-110 pointer-fine:active:before:brightness-90'));
|
|
658
|
-
break;
|
|
717
|
+
return twSort('text-white [--theme-color:var(--color-ui-magenta)]');
|
|
659
718
|
case 'orange':
|
|
660
|
-
|
|
661
|
-
break;
|
|
662
|
-
case 'orange-gradient':
|
|
663
|
-
classList.push(twSort('bg-ui-orange text-white shadow-lg shadow-ui-orange/25 transition-transform before:absolute before:inset-0 before:rounded-[inherit] before:bg-linear-to-t before:from-black/75 before:via-transparent before:to-white/75 before:opacity-75 before:mix-blend-soft-light before:transition-[filter] before:duration-300 before:ease-exponential active:before:brightness-90 pointer-fine:hover:before:brightness-110 pointer-fine:active:before:brightness-90'));
|
|
664
|
-
break;
|
|
719
|
+
return twSort('text-white [--theme-color:var(--color-ui-orange)]');
|
|
665
720
|
case 'pink':
|
|
666
|
-
|
|
667
|
-
break;
|
|
668
|
-
case 'pink-gradient':
|
|
669
|
-
classList.push(twSort('before:to-white/75/75 bg-ui-pink text-white shadow-lg shadow-ui-pink/25 transition-transform before:absolute before:inset-0 before:rounded-[inherit] before:bg-linear-to-t before:from-black/75 before:via-transparent before:opacity-75 before:mix-blend-soft-light before:transition-[filter] before:duration-300 before:ease-exponential active:before:brightness-90 pointer-fine:hover:before:brightness-110 pointer-fine:active:before:brightness-90'));
|
|
670
|
-
break;
|
|
721
|
+
return twSort('text-white [--theme-color:var(--color-ui-pink)]');
|
|
671
722
|
case 'purple':
|
|
672
|
-
|
|
673
|
-
break;
|
|
674
|
-
case 'purple-gradient':
|
|
675
|
-
classList.push(twSort('bg-ui-purple text-white shadow-lg shadow-ui-purple/25 transition-transform before:absolute before:inset-0 before:rounded-[inherit] before:bg-linear-to-t before:from-black/75 before:via-transparent before:to-white/75 before:opacity-75 before:mix-blend-soft-light before:transition-[filter] before:duration-300 before:ease-exponential active:before:brightness-90 pointer-fine:hover:before:brightness-110 pointer-fine:active:before:brightness-90'));
|
|
676
|
-
break;
|
|
723
|
+
return twSort('text-white [--theme-color:var(--color-ui-purple)]');
|
|
677
724
|
case 'red':
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
classList.push(twSort('bg-ui-red text-white shadow-lg shadow-ui-red/25 transition-transform before:absolute before:inset-0 before:rounded-[inherit] before:bg-linear-to-t before:from-black/75 before:via-transparent before:to-white/75 before:opacity-75 before:mix-blend-soft-light before:transition-[filter] before:duration-300 before:ease-exponential active:before:brightness-90 pointer-fine:hover:before:brightness-110 pointer-fine:active:before:brightness-90'));
|
|
682
|
-
break;
|
|
725
|
+
return twSort('text-white [--theme-color:var(--color-ui-red)]');
|
|
726
|
+
case 'sky-blue':
|
|
727
|
+
return twSort('text-white [--theme-color:var(--color-ui-sky-blue)]');
|
|
683
728
|
case 'violet':
|
|
684
|
-
|
|
685
|
-
break;
|
|
686
|
-
case 'violet-gradient':
|
|
687
|
-
classList.push(twSort('bg-ui-violet text-white shadow-lg shadow-ui-violet/25 transition-transform before:absolute before:inset-0 before:rounded-[inherit] before:bg-linear-to-t before:from-black/75 before:via-transparent before:to-white/75 before:opacity-75 before:mix-blend-soft-light before:transition-[filter] before:duration-300 before:ease-exponential active:before:brightness-90 pointer-fine:hover:before:brightness-110 pointer-fine:active:before:brightness-90'));
|
|
688
|
-
break;
|
|
729
|
+
return twSort('text-white [--theme-color:var(--color-ui-violet)]');
|
|
689
730
|
case 'yellow':
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
731
|
+
return twSort('text-black [--theme-color:var(--color-ui-yellow)]');
|
|
732
|
+
case 'custom':
|
|
733
|
+
if (customTheme && customTheme.themeColor && !customTheme.themeColor.includes('[--theme-color:'))
|
|
734
|
+
throw new Error('`customTheme.themeColor` must modify the `--theme-color` variable. Otherwise, please use `customTheme.classes`.');
|
|
735
|
+
return customTheme.themeColor || customTheme.classes;
|
|
695
736
|
}
|
|
696
|
-
return classList.join(' ');
|
|
697
737
|
};
|
|
698
|
-
const paddingClasses = getPaddingClasses(), roundedClasses = getRoundedClasses(),
|
|
738
|
+
const paddingClasses = getPaddingClasses(), roundedClasses = getRoundedClasses(), themeColorVariable = getThemeColorVariable();
|
|
739
|
+
const themeClasses = customTheme && customTheme.classes
|
|
740
|
+
? customTheme.classes
|
|
741
|
+
: [
|
|
742
|
+
gradient
|
|
743
|
+
? twSort('bg-linear-to-t from-[color-mix(in_oklab,var(--theme-color),var(--color-black)_20%)] via-(--theme-color) to-[color-mix(in_oklab,var(--theme-color),var(--color-white)_20%)] bg-[size:100%_200%] transition-[scale,background-position-y] [background-position-y:50%] active:[background-position-y:100%] data-focus:[background-position-y:0%] pointer-fine:hover:[background-position-y:0%] pointer-fine:hover:active:[background-position-y:100%]')
|
|
744
|
+
: twSort('bg-(--theme-color) transition-[scale,background-color] active:bg-[color-mix(in_oklab,var(--theme-color),var(--color-black)_10%)] data-focus:bg-[color-mix(in_oklab,var(--theme-color),var(--color-white)_10%)] pointer-fine:hover:bg-[color-mix(in_oklab,var(--theme-color),var(--color-white)_10%)] pointer-fine:hover:active:bg-[color-mix(in_oklab,var(--theme-color),var(--color-black)_10%)]'),
|
|
745
|
+
'shadow-(--theme-color)/25',
|
|
746
|
+
].join(' ');
|
|
699
747
|
const buttonClasses = twMerge([
|
|
700
|
-
'block w-fit min-w-fit text-center font-semibold duration-300 ease-exponential
|
|
748
|
+
'block w-fit min-w-fit text-center font-semibold shadow-lg duration-300 ease-exponential active:scale-99 data-focus:scale-101 pointer-fine:hover:scale-101 pointer-fine:hover:active:scale-99',
|
|
701
749
|
paddingClasses,
|
|
702
750
|
roundedClasses,
|
|
751
|
+
themeColorVariable,
|
|
703
752
|
themeClasses,
|
|
704
753
|
className,
|
|
705
754
|
]);
|
|
706
|
-
|
|
755
|
+
const ButtonElement = 'as' in props ? props.as : props.href ? Anchor : react.Button;
|
|
756
|
+
const { as, ...restProps } = 'as' in props ? props : { ...props, as: undefined };
|
|
757
|
+
return jsxRuntime.jsx(ButtonElement, { ...restProps, className: buttonClasses });
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
function ChevronDown(props) {
|
|
761
|
+
return (jsxRuntime.jsx("svg", { viewBox: '0 0 64 36', ...props, children: jsxRuntime.jsx("path", { d: 'M32,36c1,0,1.8-0.4,2.5-1.1L63,5.7c0.7-0.7,1-1.4,1-2.3c0-1-0.3-1.8-1-2.4c-0.6-0.7-1.4-1-2.3-1s-1.7,0.3-2.4,1L30,29.8H34 L5.7,1C5.1,0.3,4.3,0,3.4,0C2.4,0,1.6,0.3,1,1C0.3,1.6,0,2.4,0,3.4c0,0.9,0.3,1.7,1,2.3l28.5,29.2C30.3,35.7,31.1,36,32,36z' }) }));
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
function ExclamationmarkOctagon(props) {
|
|
765
|
+
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 64 61.6', ...props, children: [jsxRuntime.jsx("path", { d: 'M61.4,16.8l-12.1-13.3C47.3,1.3,45.4,0,41.4,0h-18.9C18.6,0,16.7,1.3,14.7,3.5L2.6,16.8c-2,2.3-2.6,3.8-2.6,6.9v14.2c0,3.1.5,4.6,2.6,6.9l12.1,13.3c2,2.2,3.9,3.5,7.8,3.5h18.9c4,0,5.8-1.3,7.9-3.5l12.1-13.3c2.1-2.3,2.6-3.8,2.6-6.9v-14.2c0-3.1-.5-4.6-2.6-6.9ZM58.2,37.3c0,2.3-.3,3.1-1.5,4.4l-11.2,12.3c-1.7,1.9-2.6,2.5-5.8,2.5h-15.5c-3.1,0-4-.7-5.7-2.5l-11.2-12.3c-1.2-1.4-1.5-2.2-1.5-4.4v-13.1c0-2.3.3-3.1,1.5-4.4l11.2-12.3c1.7-1.9,2.6-2.5,5.7-2.5h15.5c3.1,0,4,.7,5.8,2.5l11.2,12.3c1.3,1.4,1.5,2.2,1.5,4.4v13.1Z' }), jsxRuntime.jsx("path", { d: 'M32,36.4c1.5,0,2.4-.9,2.4-2.5l.4-16.4c0-1.6-1.2-2.8-2.9-2.8s-2.9,1.1-2.8,2.7l.4,16.5c0,1.6.9,2.5,2.4,2.5Z' }), jsxRuntime.jsx("path", { d: 'M32,46.5c1.8,0,3.4-1.4,3.4-3.2s-1.5-3.2-3.4-3.2-3.3,1.4-3.3,3.2,1.5,3.2,3.3,3.2Z' })] }));
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
function xmark(props) {
|
|
769
|
+
return (jsxRuntime.jsx("svg", { viewBox: '0 0 64 64', ...props, children: jsxRuntime.jsx("path", { d: 'M1,63c0.7,0.7,1.6,1,2.6,1s1.9-0.3,2.6-1L32,37.1L57.8,63c0.7,0.7,1.5,1,2.5,1c1,0,1.9-0.3,2.6-1c0.7-0.7,1-1.6,1-2.6 c0-1-0.3-1.8-1-2.5L37.1,32L63,6.2c0.7-0.7,1-1.6,1-2.6S63.7,1.7,63,1c-0.7-0.7-1.6-1-2.6-1c-1,0-1.8,0.3-2.5,1L32,26.9L6.2,1 C5.5,0.3,4.6,0,3.6,0C2.6,0,1.7,0.3,1,1C0.3,1.7,0,2.6,0,3.6c0,1,0.3,1.9,1,2.6L26.9,32L1,57.8c-0.7,0.7-1,1.5-1,2.6 C0,61.4,0.3,62.3,1,63z' }) }));
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
function DetailsSummary({ arrow = true, as, children, className, ...props }) {
|
|
773
|
+
return (
|
|
774
|
+
// @ts-expect-error Button has some extra props
|
|
775
|
+
jsxRuntime.jsx(react.DisclosureButton, { ...props, as: as || (Button), className: twMerge('w-full', className, Boolean(arrow) && 'grid grid-cols-[1fr_1rem] gap-2'), role: 'summary', children: bag => (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [typeof children === 'function' ? children(bag) : children, arrow &&
|
|
776
|
+
(typeof arrow === 'boolean' ? (jsxRuntime.jsx(ChevronDown, { className: 'absolute top-1/2 right-3 block w-4 -translate-y-1/2' })) : (arrow))] })) }));
|
|
777
|
+
}
|
|
778
|
+
function DetailsBody({ children, className, ...props }) {
|
|
779
|
+
return (jsxRuntime.jsx(react.DisclosurePanel, { ...props, className: twMerge('grid grid-rows-1fr transition-rows duration-500 ease-exponential data-closed:grid-rows-0fr', className), transition: true, children: bag => (jsxRuntime.jsx("div", { className: 'overflow-y-hidden px-2 pt-3 pb-1', children: typeof children === 'function' ? children(bag) : children })) }));
|
|
780
|
+
}
|
|
781
|
+
function Details({ as = 'div', className, ...props }) {
|
|
782
|
+
return (jsxRuntime.jsx(react.Disclosure, { ...props, as: as, className: twMerge('rounded-2xl bg-neutral-50/20 p-2 backdrop-blur-md backdrop-brightness-150', className), role: 'details' }));
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
function DropDownButton({ arrow = true, as, children, className, ...props }) {
|
|
786
|
+
return (jsxRuntime.jsxs(react.MenuButton, { ...props, as: as || 'button', className: tailwindMerge.twJoin('group/button', className), children: [children, arrow &&
|
|
787
|
+
(typeof arrow === 'boolean' ? (jsxRuntime.jsx(ChevronDown, { className: '-top-px -mr-1 ml-2 w-4 animate-flip-again group-data-open/button:animate-flip' })) : (arrow))] }));
|
|
788
|
+
}
|
|
789
|
+
function DropDownItem({ as, ...props }) {
|
|
790
|
+
return jsxRuntime.jsx(react.MenuItem, { as: as || 'div', ...props });
|
|
791
|
+
}
|
|
792
|
+
function DropDownItems({ anchor, children, className, style, ...props }) {
|
|
793
|
+
const getAnchorProps = () => {
|
|
794
|
+
let initialAnchor = { gap: '1rem', padding: '1rem', to: 'bottom start' };
|
|
795
|
+
if (anchor) {
|
|
796
|
+
if (typeof anchor === 'string')
|
|
797
|
+
initialAnchor.to = anchor;
|
|
798
|
+
if (typeof anchor === 'object')
|
|
799
|
+
initialAnchor = { ...initialAnchor, ...anchor };
|
|
800
|
+
}
|
|
801
|
+
return initialAnchor;
|
|
802
|
+
};
|
|
803
|
+
const anchorProps = getAnchorProps();
|
|
804
|
+
return (jsxRuntime.jsx(react.MenuItems, { ...props, anchor: anchorProps, className: 'grid grid-rows-1fr rounded-xl shadow-xl transition-rows duration-500 ease-exponential data-closed:grid-rows-0fr', transition: true, style: { ...style, minWidth: 'var(--button-width)' }, children: bag => (jsxRuntime.jsx("div", { className: 'overflow-y-hidden', children: jsxRuntime.jsx("div", { className: twMerge('bg-neutral-50/20 px-6 py-5 backdrop-blur-md backdrop-brightness-150', className), children: typeof children === 'function' ? children(bag) : children }) })) }));
|
|
805
|
+
}
|
|
806
|
+
function DropDownSection({ children, label, labelProps, separatorAbove, separatorBelow, ...props }) {
|
|
807
|
+
const { labelClassName, ...restLabelProps } = { labelClassName: labelProps?.className || '', ...labelProps };
|
|
808
|
+
return (jsxRuntime.jsx(react.MenuSection, { ...props, children: sectionBag => (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [separatorAbove && jsxRuntime.jsx(DropDownSeparator, {}), jsxRuntime.jsx(react.MenuHeading, { ...restLabelProps, className: headingBag => twMerge('text-[size:larger] font-bold', typeof labelClassName === 'function' ? labelClassName(headingBag) : labelClassName), children: label }), typeof children === 'function' ? children(sectionBag) : children, separatorBelow && jsxRuntime.jsx(DropDownSeparator, {})] })) }));
|
|
809
|
+
}
|
|
810
|
+
function DropDownSeparator({ className, ...props }) {
|
|
811
|
+
return (jsxRuntime.jsx(react.MenuSeparator, { ...props, className: bag => twMerge('my-4 block h-px rounded-full bg-neutral-950/20', typeof className === 'function' ? className(bag) : className) }));
|
|
812
|
+
}
|
|
813
|
+
function DropDown(props) {
|
|
814
|
+
return jsxRuntime.jsx(react.Menu, { ...props });
|
|
707
815
|
}
|
|
708
816
|
|
|
709
817
|
function createFastContext(defaultInitialState) {
|
|
710
818
|
function useStoreData(initialState = defaultInitialState) {
|
|
711
|
-
const store =
|
|
819
|
+
const store = React.useRef(initialState), get = () => store.current, subscribers = React.useRef(new Set());
|
|
712
820
|
const set = (value) => {
|
|
713
821
|
if (typeof value === 'function') {
|
|
714
822
|
store.current = value(store.current);
|
|
@@ -728,19 +836,19 @@ function createFastContext(defaultInitialState) {
|
|
|
728
836
|
subscribe,
|
|
729
837
|
};
|
|
730
838
|
}
|
|
731
|
-
const StoreContext =
|
|
839
|
+
const StoreContext = React.createContext(null);
|
|
732
840
|
function Provider({ initialValue = defaultInitialState, ...props }) {
|
|
733
841
|
return jsxRuntime.jsx(StoreContext.Provider, { value: useStoreData(initialValue), ...props });
|
|
734
842
|
}
|
|
735
843
|
function useStore(selector, initialValue) {
|
|
736
|
-
const store =
|
|
844
|
+
const store = React.useContext(StoreContext);
|
|
737
845
|
if (!store) {
|
|
738
846
|
const localStoreValue = initialValue !== undefined ? initialValue : defaultInitialState;
|
|
739
847
|
const selectedValue = selector(localStoreValue);
|
|
740
848
|
const noOpSet = () => console.warn('Attempting to set store value outside of Provider');
|
|
741
849
|
return [selectedValue, noOpSet];
|
|
742
850
|
}
|
|
743
|
-
const state =
|
|
851
|
+
const state = React.useSyncExternalStore(store.subscribe, () => selector(store.get()), () => selector(initialValue !== undefined ? initialValue : defaultInitialState));
|
|
744
852
|
return [state, store.set];
|
|
745
853
|
}
|
|
746
854
|
return {
|
|
@@ -768,230 +876,2420 @@ function useFormContext() {
|
|
|
768
876
|
const DEFAULT_STATUS = 'incomplete';
|
|
769
877
|
const { Provider, useStore } = createFastContext(DEFAULT_STATUS);
|
|
770
878
|
function FormStatusProvider({ children, initialStatus = DEFAULT_STATUS, }) {
|
|
771
|
-
return (jsxRuntime.jsx(
|
|
879
|
+
return (jsxRuntime.jsx(React.Suspense, { children: jsxRuntime.jsx(Provider, { initialValue: initialStatus, children: children }) }));
|
|
772
880
|
}
|
|
773
881
|
function useFormStatus() {
|
|
774
882
|
return useStore(store => store);
|
|
775
883
|
}
|
|
776
884
|
|
|
777
|
-
function
|
|
778
|
-
const
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
885
|
+
function Fieldset({ children, className, legend, legendProps, ...props }) {
|
|
886
|
+
const { className: legendClassName, ...restLegendProps } = legendProps || {};
|
|
887
|
+
return (jsxRuntime.jsx(react.Fieldset, { ...props, className: bag => twMerge('contents', typeof className === 'function' ? className(bag) : className), children: bag => (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(react.Legend, { ...restLegendProps, className: twMerge('text-lg font-bold sm:text-xl', typeof legendClassName === 'function' ? legendClassName(bag) : legendClassName), children: legend }), typeof children === 'function' ? children(bag) : children] })) }));
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
/**
|
|
891
|
+
* Custom positioning reference element.
|
|
892
|
+
* @see https://floating-ui.com/docs/virtual-elements
|
|
893
|
+
*/
|
|
894
|
+
|
|
895
|
+
const min = Math.min;
|
|
896
|
+
const max = Math.max;
|
|
897
|
+
const round = Math.round;
|
|
898
|
+
const floor = Math.floor;
|
|
899
|
+
const createCoords = v => ({
|
|
900
|
+
x: v,
|
|
901
|
+
y: v
|
|
902
|
+
});
|
|
903
|
+
const oppositeSideMap = {
|
|
904
|
+
left: 'right',
|
|
905
|
+
right: 'left',
|
|
906
|
+
bottom: 'top',
|
|
907
|
+
top: 'bottom'
|
|
908
|
+
};
|
|
909
|
+
const oppositeAlignmentMap = {
|
|
910
|
+
start: 'end',
|
|
911
|
+
end: 'start'
|
|
912
|
+
};
|
|
913
|
+
function clamp(start, value, end) {
|
|
914
|
+
return max(start, min(value, end));
|
|
915
|
+
}
|
|
916
|
+
function evaluate(value, param) {
|
|
917
|
+
return typeof value === 'function' ? value(param) : value;
|
|
918
|
+
}
|
|
919
|
+
function getSide(placement) {
|
|
920
|
+
return placement.split('-')[0];
|
|
921
|
+
}
|
|
922
|
+
function getAlignment(placement) {
|
|
923
|
+
return placement.split('-')[1];
|
|
924
|
+
}
|
|
925
|
+
function getOppositeAxis(axis) {
|
|
926
|
+
return axis === 'x' ? 'y' : 'x';
|
|
927
|
+
}
|
|
928
|
+
function getAxisLength(axis) {
|
|
929
|
+
return axis === 'y' ? 'height' : 'width';
|
|
930
|
+
}
|
|
931
|
+
const yAxisSides = /*#__PURE__*/new Set(['top', 'bottom']);
|
|
932
|
+
function getSideAxis(placement) {
|
|
933
|
+
return yAxisSides.has(getSide(placement)) ? 'y' : 'x';
|
|
934
|
+
}
|
|
935
|
+
function getAlignmentAxis(placement) {
|
|
936
|
+
return getOppositeAxis(getSideAxis(placement));
|
|
937
|
+
}
|
|
938
|
+
function getAlignmentSides(placement, rects, rtl) {
|
|
939
|
+
if (rtl === void 0) {
|
|
940
|
+
rtl = false;
|
|
941
|
+
}
|
|
942
|
+
const alignment = getAlignment(placement);
|
|
943
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
|
944
|
+
const length = getAxisLength(alignmentAxis);
|
|
945
|
+
let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';
|
|
946
|
+
if (rects.reference[length] > rects.floating[length]) {
|
|
947
|
+
mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
|
|
948
|
+
}
|
|
949
|
+
return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
|
|
950
|
+
}
|
|
951
|
+
function getExpandedPlacements(placement) {
|
|
952
|
+
const oppositePlacement = getOppositePlacement(placement);
|
|
953
|
+
return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
|
|
954
|
+
}
|
|
955
|
+
function getOppositeAlignmentPlacement(placement) {
|
|
956
|
+
return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
|
|
957
|
+
}
|
|
958
|
+
const lrPlacement = ['left', 'right'];
|
|
959
|
+
const rlPlacement = ['right', 'left'];
|
|
960
|
+
const tbPlacement = ['top', 'bottom'];
|
|
961
|
+
const btPlacement = ['bottom', 'top'];
|
|
962
|
+
function getSideList(side, isStart, rtl) {
|
|
963
|
+
switch (side) {
|
|
964
|
+
case 'top':
|
|
965
|
+
case 'bottom':
|
|
966
|
+
if (rtl) return isStart ? rlPlacement : lrPlacement;
|
|
967
|
+
return isStart ? lrPlacement : rlPlacement;
|
|
968
|
+
case 'left':
|
|
969
|
+
case 'right':
|
|
970
|
+
return isStart ? tbPlacement : btPlacement;
|
|
971
|
+
default:
|
|
972
|
+
return [];
|
|
973
|
+
}
|
|
974
|
+
}
|
|
975
|
+
function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
|
976
|
+
const alignment = getAlignment(placement);
|
|
977
|
+
let list = getSideList(getSide(placement), direction === 'start', rtl);
|
|
978
|
+
if (alignment) {
|
|
979
|
+
list = list.map(side => side + "-" + alignment);
|
|
980
|
+
if (flipAlignment) {
|
|
981
|
+
list = list.concat(list.map(getOppositeAlignmentPlacement));
|
|
792
982
|
}
|
|
983
|
+
}
|
|
984
|
+
return list;
|
|
985
|
+
}
|
|
986
|
+
function getOppositePlacement(placement) {
|
|
987
|
+
return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);
|
|
988
|
+
}
|
|
989
|
+
function expandPaddingObject(padding) {
|
|
990
|
+
return {
|
|
991
|
+
top: 0,
|
|
992
|
+
right: 0,
|
|
993
|
+
bottom: 0,
|
|
994
|
+
left: 0,
|
|
995
|
+
...padding
|
|
996
|
+
};
|
|
997
|
+
}
|
|
998
|
+
function getPaddingObject(padding) {
|
|
999
|
+
return typeof padding !== 'number' ? expandPaddingObject(padding) : {
|
|
1000
|
+
top: padding,
|
|
1001
|
+
right: padding,
|
|
1002
|
+
bottom: padding,
|
|
1003
|
+
left: padding
|
|
1004
|
+
};
|
|
1005
|
+
}
|
|
1006
|
+
function rectToClientRect(rect) {
|
|
1007
|
+
const {
|
|
1008
|
+
x,
|
|
1009
|
+
y,
|
|
1010
|
+
width,
|
|
1011
|
+
height
|
|
1012
|
+
} = rect;
|
|
1013
|
+
return {
|
|
1014
|
+
width,
|
|
1015
|
+
height,
|
|
1016
|
+
top: y,
|
|
1017
|
+
left: x,
|
|
1018
|
+
right: x + width,
|
|
1019
|
+
bottom: y + height,
|
|
1020
|
+
x,
|
|
1021
|
+
y
|
|
1022
|
+
};
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
1026
|
+
let {
|
|
1027
|
+
reference,
|
|
1028
|
+
floating
|
|
1029
|
+
} = _ref;
|
|
1030
|
+
const sideAxis = getSideAxis(placement);
|
|
1031
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
|
1032
|
+
const alignLength = getAxisLength(alignmentAxis);
|
|
1033
|
+
const side = getSide(placement);
|
|
1034
|
+
const isVertical = sideAxis === 'y';
|
|
1035
|
+
const commonX = reference.x + reference.width / 2 - floating.width / 2;
|
|
1036
|
+
const commonY = reference.y + reference.height / 2 - floating.height / 2;
|
|
1037
|
+
const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
|
|
1038
|
+
let coords;
|
|
1039
|
+
switch (side) {
|
|
1040
|
+
case 'top':
|
|
1041
|
+
coords = {
|
|
1042
|
+
x: commonX,
|
|
1043
|
+
y: reference.y - floating.height
|
|
1044
|
+
};
|
|
1045
|
+
break;
|
|
1046
|
+
case 'bottom':
|
|
1047
|
+
coords = {
|
|
1048
|
+
x: commonX,
|
|
1049
|
+
y: reference.y + reference.height
|
|
1050
|
+
};
|
|
1051
|
+
break;
|
|
1052
|
+
case 'right':
|
|
1053
|
+
coords = {
|
|
1054
|
+
x: reference.x + reference.width,
|
|
1055
|
+
y: commonY
|
|
1056
|
+
};
|
|
1057
|
+
break;
|
|
1058
|
+
case 'left':
|
|
1059
|
+
coords = {
|
|
1060
|
+
x: reference.x - floating.width,
|
|
1061
|
+
y: commonY
|
|
1062
|
+
};
|
|
1063
|
+
break;
|
|
1064
|
+
default:
|
|
1065
|
+
coords = {
|
|
1066
|
+
x: reference.x,
|
|
1067
|
+
y: reference.y
|
|
1068
|
+
};
|
|
1069
|
+
}
|
|
1070
|
+
switch (getAlignment(placement)) {
|
|
1071
|
+
case 'start':
|
|
1072
|
+
coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);
|
|
1073
|
+
break;
|
|
1074
|
+
case 'end':
|
|
1075
|
+
coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
|
|
1076
|
+
break;
|
|
1077
|
+
}
|
|
1078
|
+
return coords;
|
|
793
1079
|
}
|
|
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
|
-
|
|
1080
|
+
|
|
1081
|
+
/**
|
|
1082
|
+
* Computes the `x` and `y` coordinates that will place the floating element
|
|
1083
|
+
* next to a given reference element.
|
|
1084
|
+
*
|
|
1085
|
+
* This export does not have any `platform` interface logic. You will need to
|
|
1086
|
+
* write one for the platform you are using Floating UI with.
|
|
1087
|
+
*/
|
|
1088
|
+
const computePosition$1 = async (reference, floating, config) => {
|
|
1089
|
+
const {
|
|
1090
|
+
placement = 'bottom',
|
|
1091
|
+
strategy = 'absolute',
|
|
1092
|
+
middleware = [],
|
|
1093
|
+
platform
|
|
1094
|
+
} = config;
|
|
1095
|
+
const validMiddleware = middleware.filter(Boolean);
|
|
1096
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
|
|
1097
|
+
let rects = await platform.getElementRects({
|
|
1098
|
+
reference,
|
|
1099
|
+
floating,
|
|
1100
|
+
strategy
|
|
1101
|
+
});
|
|
1102
|
+
let {
|
|
1103
|
+
x,
|
|
1104
|
+
y
|
|
1105
|
+
} = computeCoordsFromPlacement(rects, placement, rtl);
|
|
1106
|
+
let statefulPlacement = placement;
|
|
1107
|
+
let middlewareData = {};
|
|
1108
|
+
let resetCount = 0;
|
|
1109
|
+
for (let i = 0; i < validMiddleware.length; i++) {
|
|
1110
|
+
const {
|
|
1111
|
+
name,
|
|
1112
|
+
fn
|
|
1113
|
+
} = validMiddleware[i];
|
|
1114
|
+
const {
|
|
1115
|
+
x: nextX,
|
|
1116
|
+
y: nextY,
|
|
1117
|
+
data,
|
|
1118
|
+
reset
|
|
1119
|
+
} = await fn({
|
|
1120
|
+
x,
|
|
1121
|
+
y,
|
|
1122
|
+
initialPlacement: placement,
|
|
1123
|
+
placement: statefulPlacement,
|
|
1124
|
+
strategy,
|
|
1125
|
+
middlewareData,
|
|
1126
|
+
rects,
|
|
1127
|
+
platform,
|
|
1128
|
+
elements: {
|
|
1129
|
+
reference,
|
|
1130
|
+
floating
|
|
1131
|
+
}
|
|
827
1132
|
});
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
setFormContext(prevContext => (prevContext || []).filter(field => field.id !== initialFieldContext.id));
|
|
837
|
-
};
|
|
838
|
-
}, [setFormContext]);
|
|
839
|
-
const fieldContext = formContext?.find(({ id: fieldID }) => fieldID === initialFieldContext.id) || initialFieldContext;
|
|
840
|
-
const debounceTimerRef = react.useRef(undefined);
|
|
841
|
-
const handleChange = e => {
|
|
842
|
-
if (disabled) {
|
|
843
|
-
e.preventDefault();
|
|
844
|
-
return;
|
|
845
|
-
}
|
|
846
|
-
clearTimeout(debounceTimerRef.current);
|
|
847
|
-
const { currentTarget } = e, { value: newValue } = currentTarget;
|
|
848
|
-
setFormContext?.(prevContext => {
|
|
849
|
-
if (!prevContext)
|
|
850
|
-
return [];
|
|
851
|
-
const field = prevContext.find(({ id: fieldID }) => fieldID === initialFieldContext.id);
|
|
852
|
-
if (!field)
|
|
853
|
-
throw new Error(`Field with id "${initialFieldContext.id}" not found in form context.`);
|
|
854
|
-
const otherFields = prevContext.filter(({ id: fieldID }) => fieldID !== initialFieldContext.id);
|
|
855
|
-
const updatedField = { ...field, value: newValue };
|
|
856
|
-
return [...otherFields, updatedField];
|
|
857
|
-
});
|
|
858
|
-
debounceTimerRef.current = setTimeout(() => {
|
|
859
|
-
const field = formContext?.find(({ id: fieldID }) => fieldID === initialFieldContext.id);
|
|
860
|
-
if (!field)
|
|
861
|
-
return;
|
|
862
|
-
const invalid = validateField$1(newValue, field) === false;
|
|
863
|
-
if (invalid !== field.invalid)
|
|
864
|
-
setFormContext?.(prevContext => {
|
|
865
|
-
if (!prevContext)
|
|
866
|
-
return [];
|
|
867
|
-
const field = prevContext.find(({ id: fieldID }) => fieldID === initialFieldContext.id);
|
|
868
|
-
if (!field)
|
|
869
|
-
throw new Error(`Field with id "${initialFieldContext.id}" not found in form context.`);
|
|
870
|
-
const otherFields = prevContext.filter(({ id: fieldID }) => fieldID !== initialFieldContext.id);
|
|
871
|
-
const updatedField = { ...field, invalid };
|
|
872
|
-
return [...otherFields, updatedField];
|
|
873
|
-
});
|
|
874
|
-
}, 500);
|
|
875
|
-
onChange?.(e);
|
|
1133
|
+
x = nextX != null ? nextX : x;
|
|
1134
|
+
y = nextY != null ? nextY : y;
|
|
1135
|
+
middlewareData = {
|
|
1136
|
+
...middlewareData,
|
|
1137
|
+
[name]: {
|
|
1138
|
+
...middlewareData[name],
|
|
1139
|
+
...data
|
|
1140
|
+
}
|
|
876
1141
|
};
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
1142
|
+
if (reset && resetCount <= 50) {
|
|
1143
|
+
resetCount++;
|
|
1144
|
+
if (typeof reset === 'object') {
|
|
1145
|
+
if (reset.placement) {
|
|
1146
|
+
statefulPlacement = reset.placement;
|
|
881
1147
|
}
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
const field = prevContext.find(({ id: fieldID }) => fieldID === initialFieldContext.id);
|
|
889
|
-
if (!field)
|
|
890
|
-
throw new Error(`Field with id "${initialFieldContext.id}" not found in form context.`);
|
|
891
|
-
const otherFields = prevContext.filter(({ id: fieldID }) => fieldID !== initialFieldContext.id);
|
|
892
|
-
const updatedField = { ...field, value: newValue.toLowerCase() };
|
|
893
|
-
return [...otherFields, updatedField];
|
|
894
|
-
});
|
|
895
|
-
break;
|
|
896
|
-
case 'tel':
|
|
897
|
-
setFormContext?.(prevContext => {
|
|
898
|
-
if (!prevContext)
|
|
899
|
-
return [];
|
|
900
|
-
const field = prevContext.find(({ id: fieldID }) => fieldID === initialFieldContext.id);
|
|
901
|
-
if (!field)
|
|
902
|
-
throw new Error(`Field with id "${initialFieldContext.id}" not found in form context.`);
|
|
903
|
-
const otherFields = prevContext.filter(({ id: fieldID }) => fieldID !== initialFieldContext.id);
|
|
904
|
-
const updatedField = { ...field, value: formatPhoneNumber(newValue, '1') };
|
|
905
|
-
return [...otherFields, updatedField];
|
|
906
|
-
});
|
|
907
|
-
break;
|
|
1148
|
+
if (reset.rects) {
|
|
1149
|
+
rects = reset.rects === true ? await platform.getElementRects({
|
|
1150
|
+
reference,
|
|
1151
|
+
floating,
|
|
1152
|
+
strategy
|
|
1153
|
+
}) : reset.rects;
|
|
908
1154
|
}
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
1155
|
+
({
|
|
1156
|
+
x,
|
|
1157
|
+
y
|
|
1158
|
+
} = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
|
|
1159
|
+
}
|
|
1160
|
+
i = -1;
|
|
1161
|
+
}
|
|
1162
|
+
}
|
|
1163
|
+
return {
|
|
1164
|
+
x,
|
|
1165
|
+
y,
|
|
1166
|
+
placement: statefulPlacement,
|
|
1167
|
+
strategy,
|
|
1168
|
+
middlewareData
|
|
1169
|
+
};
|
|
1170
|
+
};
|
|
1171
|
+
|
|
1172
|
+
/**
|
|
1173
|
+
* Resolves with an object of overflow side offsets that determine how much the
|
|
1174
|
+
* element is overflowing a given clipping boundary on each side.
|
|
1175
|
+
* - positive = overflowing the boundary by that number of pixels
|
|
1176
|
+
* - negative = how many pixels left before it will overflow
|
|
1177
|
+
* - 0 = lies flush with the boundary
|
|
1178
|
+
* @see https://floating-ui.com/docs/detectOverflow
|
|
1179
|
+
*/
|
|
1180
|
+
async function detectOverflow(state, options) {
|
|
1181
|
+
var _await$platform$isEle;
|
|
1182
|
+
if (options === void 0) {
|
|
1183
|
+
options = {};
|
|
1184
|
+
}
|
|
1185
|
+
const {
|
|
1186
|
+
x,
|
|
1187
|
+
y,
|
|
1188
|
+
platform,
|
|
1189
|
+
rects,
|
|
1190
|
+
elements,
|
|
1191
|
+
strategy
|
|
1192
|
+
} = state;
|
|
1193
|
+
const {
|
|
1194
|
+
boundary = 'clippingAncestors',
|
|
1195
|
+
rootBoundary = 'viewport',
|
|
1196
|
+
elementContext = 'floating',
|
|
1197
|
+
altBoundary = false,
|
|
1198
|
+
padding = 0
|
|
1199
|
+
} = evaluate(options, state);
|
|
1200
|
+
const paddingObject = getPaddingObject(padding);
|
|
1201
|
+
const altContext = elementContext === 'floating' ? 'reference' : 'floating';
|
|
1202
|
+
const element = elements[altBoundary ? altContext : elementContext];
|
|
1203
|
+
const clippingClientRect = rectToClientRect(await platform.getClippingRect({
|
|
1204
|
+
element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),
|
|
1205
|
+
boundary,
|
|
1206
|
+
rootBoundary,
|
|
1207
|
+
strategy
|
|
1208
|
+
}));
|
|
1209
|
+
const rect = elementContext === 'floating' ? {
|
|
1210
|
+
x,
|
|
1211
|
+
y,
|
|
1212
|
+
width: rects.floating.width,
|
|
1213
|
+
height: rects.floating.height
|
|
1214
|
+
} : rects.reference;
|
|
1215
|
+
const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
|
|
1216
|
+
const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
|
|
1217
|
+
x: 1,
|
|
1218
|
+
y: 1
|
|
1219
|
+
} : {
|
|
1220
|
+
x: 1,
|
|
1221
|
+
y: 1
|
|
1222
|
+
};
|
|
1223
|
+
const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
1224
|
+
elements,
|
|
1225
|
+
rect,
|
|
1226
|
+
offsetParent,
|
|
1227
|
+
strategy
|
|
1228
|
+
}) : rect);
|
|
1229
|
+
return {
|
|
1230
|
+
top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
|
|
1231
|
+
bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
|
|
1232
|
+
left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
|
|
1233
|
+
right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
|
|
1234
|
+
};
|
|
931
1235
|
}
|
|
932
1236
|
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
1237
|
+
/**
|
|
1238
|
+
* Provides data to position an inner element of the floating element so that it
|
|
1239
|
+
* appears centered to the reference element.
|
|
1240
|
+
* @see https://floating-ui.com/docs/arrow
|
|
1241
|
+
*/
|
|
1242
|
+
const arrow$3 = options => ({
|
|
1243
|
+
name: 'arrow',
|
|
1244
|
+
options,
|
|
1245
|
+
async fn(state) {
|
|
1246
|
+
const {
|
|
1247
|
+
x,
|
|
1248
|
+
y,
|
|
1249
|
+
placement,
|
|
1250
|
+
rects,
|
|
1251
|
+
platform,
|
|
1252
|
+
elements,
|
|
1253
|
+
middlewareData
|
|
1254
|
+
} = state;
|
|
1255
|
+
// Since `element` is required, we don't Partial<> the type.
|
|
1256
|
+
const {
|
|
1257
|
+
element,
|
|
1258
|
+
padding = 0
|
|
1259
|
+
} = evaluate(options, state) || {};
|
|
1260
|
+
if (element == null) {
|
|
1261
|
+
return {};
|
|
1262
|
+
}
|
|
1263
|
+
const paddingObject = getPaddingObject(padding);
|
|
1264
|
+
const coords = {
|
|
1265
|
+
x,
|
|
1266
|
+
y
|
|
945
1267
|
};
|
|
946
|
-
const
|
|
947
|
-
const
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
1268
|
+
const axis = getAlignmentAxis(placement);
|
|
1269
|
+
const length = getAxisLength(axis);
|
|
1270
|
+
const arrowDimensions = await platform.getDimensions(element);
|
|
1271
|
+
const isYAxis = axis === 'y';
|
|
1272
|
+
const minProp = isYAxis ? 'top' : 'left';
|
|
1273
|
+
const maxProp = isYAxis ? 'bottom' : 'right';
|
|
1274
|
+
const clientProp = isYAxis ? 'clientHeight' : 'clientWidth';
|
|
1275
|
+
const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
|
|
1276
|
+
const startDiff = coords[axis] - rects.reference[axis];
|
|
1277
|
+
const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element));
|
|
1278
|
+
let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
|
|
1279
|
+
|
|
1280
|
+
// DOM platform can return `window` as the `offsetParent`.
|
|
1281
|
+
if (!clientSize || !(await (platform.isElement == null ? void 0 : platform.isElement(arrowOffsetParent)))) {
|
|
1282
|
+
clientSize = elements.floating[clientProp] || rects.floating[length];
|
|
1283
|
+
}
|
|
1284
|
+
const centerToReference = endDiff / 2 - startDiff / 2;
|
|
1285
|
+
|
|
1286
|
+
// If the padding is large enough that it causes the arrow to no longer be
|
|
1287
|
+
// centered, modify the padding so that it is centered.
|
|
1288
|
+
const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
|
|
1289
|
+
const minPadding = min(paddingObject[minProp], largestPossiblePadding);
|
|
1290
|
+
const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
|
|
1291
|
+
|
|
1292
|
+
// Make sure the arrow doesn't overflow the floating element if the center
|
|
1293
|
+
// point is outside the floating element's bounds.
|
|
1294
|
+
const min$1 = minPadding;
|
|
1295
|
+
const max = clientSize - arrowDimensions[length] - maxPadding;
|
|
1296
|
+
const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
|
|
1297
|
+
const offset = clamp(min$1, center, max);
|
|
1298
|
+
|
|
1299
|
+
// If the reference is small enough that the arrow's padding causes it to
|
|
1300
|
+
// to point to nothing for an aligned placement, adjust the offset of the
|
|
1301
|
+
// floating element itself. To ensure `shift()` continues to take action,
|
|
1302
|
+
// a single reset is performed when this is true.
|
|
1303
|
+
const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
|
|
1304
|
+
const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max : 0;
|
|
1305
|
+
return {
|
|
1306
|
+
[axis]: coords[axis] + alignmentOffset,
|
|
1307
|
+
data: {
|
|
1308
|
+
[axis]: offset,
|
|
1309
|
+
centerOffset: center - offset - alignmentOffset,
|
|
1310
|
+
...(shouldAddOffset && {
|
|
1311
|
+
alignmentOffset
|
|
1312
|
+
})
|
|
1313
|
+
},
|
|
1314
|
+
reset: shouldAddOffset
|
|
960
1315
|
};
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
1316
|
+
}
|
|
1317
|
+
});
|
|
1318
|
+
|
|
1319
|
+
/**
|
|
1320
|
+
* Optimizes the visibility of the floating element by flipping the `placement`
|
|
1321
|
+
* in order to keep it in view when the preferred placement(s) will overflow the
|
|
1322
|
+
* clipping boundary. Alternative to `autoPlacement`.
|
|
1323
|
+
* @see https://floating-ui.com/docs/flip
|
|
1324
|
+
*/
|
|
1325
|
+
const flip$2 = function (options) {
|
|
1326
|
+
if (options === void 0) {
|
|
1327
|
+
options = {};
|
|
1328
|
+
}
|
|
1329
|
+
return {
|
|
1330
|
+
name: 'flip',
|
|
1331
|
+
options,
|
|
1332
|
+
async fn(state) {
|
|
1333
|
+
var _middlewareData$arrow, _middlewareData$flip;
|
|
1334
|
+
const {
|
|
1335
|
+
placement,
|
|
1336
|
+
middlewareData,
|
|
1337
|
+
rects,
|
|
1338
|
+
initialPlacement,
|
|
1339
|
+
platform,
|
|
1340
|
+
elements
|
|
1341
|
+
} = state;
|
|
1342
|
+
const {
|
|
1343
|
+
mainAxis: checkMainAxis = true,
|
|
1344
|
+
crossAxis: checkCrossAxis = true,
|
|
1345
|
+
fallbackPlacements: specifiedFallbackPlacements,
|
|
1346
|
+
fallbackStrategy = 'bestFit',
|
|
1347
|
+
fallbackAxisSideDirection = 'none',
|
|
1348
|
+
flipAlignment = true,
|
|
1349
|
+
...detectOverflowOptions
|
|
1350
|
+
} = evaluate(options, state);
|
|
1351
|
+
|
|
1352
|
+
// If a reset by the arrow was caused due to an alignment offset being
|
|
1353
|
+
// added, we should skip any logic now since `flip()` has already done its
|
|
1354
|
+
// work.
|
|
1355
|
+
// https://github.com/floating-ui/floating-ui/issues/2549#issuecomment-1719601643
|
|
1356
|
+
if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
1357
|
+
return {};
|
|
1358
|
+
}
|
|
1359
|
+
const side = getSide(placement);
|
|
1360
|
+
const initialSideAxis = getSideAxis(initialPlacement);
|
|
1361
|
+
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
|
1362
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
1363
|
+
const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
|
|
1364
|
+
const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== 'none';
|
|
1365
|
+
if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
|
|
1366
|
+
fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
|
|
1367
|
+
}
|
|
1368
|
+
const placements = [initialPlacement, ...fallbackPlacements];
|
|
1369
|
+
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
1370
|
+
const overflows = [];
|
|
1371
|
+
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
|
|
1372
|
+
if (checkMainAxis) {
|
|
1373
|
+
overflows.push(overflow[side]);
|
|
1374
|
+
}
|
|
1375
|
+
if (checkCrossAxis) {
|
|
1376
|
+
const sides = getAlignmentSides(placement, rects, rtl);
|
|
1377
|
+
overflows.push(overflow[sides[0]], overflow[sides[1]]);
|
|
1378
|
+
}
|
|
1379
|
+
overflowsData = [...overflowsData, {
|
|
1380
|
+
placement,
|
|
1381
|
+
overflows
|
|
1382
|
+
}];
|
|
1383
|
+
|
|
1384
|
+
// One or more sides is overflowing.
|
|
1385
|
+
if (!overflows.every(side => side <= 0)) {
|
|
1386
|
+
var _middlewareData$flip2, _overflowsData$filter;
|
|
1387
|
+
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
|
1388
|
+
const nextPlacement = placements[nextIndex];
|
|
1389
|
+
if (nextPlacement) {
|
|
1390
|
+
const ignoreCrossAxisOverflow = checkCrossAxis === 'alignment' ? initialSideAxis !== getSideAxis(nextPlacement) : false;
|
|
1391
|
+
if (!ignoreCrossAxisOverflow ||
|
|
1392
|
+
// We leave the current main axis only if every placement on that axis
|
|
1393
|
+
// overflows the main axis.
|
|
1394
|
+
overflowsData.every(d => d.overflows[0] > 0 && getSideAxis(d.placement) === initialSideAxis)) {
|
|
1395
|
+
// Try next placement and re-run the lifecycle.
|
|
1396
|
+
return {
|
|
1397
|
+
data: {
|
|
1398
|
+
index: nextIndex,
|
|
1399
|
+
overflows: overflowsData
|
|
1400
|
+
},
|
|
1401
|
+
reset: {
|
|
1402
|
+
placement: nextPlacement
|
|
1403
|
+
}
|
|
1404
|
+
};
|
|
1405
|
+
}
|
|
974
1406
|
}
|
|
975
|
-
};
|
|
976
|
-
const buttonText = getButtonText();
|
|
977
|
-
return (jsxRuntime.jsx(Button, { ...props, className: twMerge([formStatusButtonClasses, 'w-full', className]), ref: ref, theme: formStatusButtonTheme, type: type, children: buttonText }));
|
|
978
|
-
}
|
|
979
1407
|
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
1408
|
+
// First, find the candidates that fit on the mainAxis side of overflow,
|
|
1409
|
+
// then find the placement that fits the best on the main crossAxis side.
|
|
1410
|
+
let resetPlacement = (_overflowsData$filter = overflowsData.filter(d => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;
|
|
1411
|
+
|
|
1412
|
+
// Otherwise fallback.
|
|
1413
|
+
if (!resetPlacement) {
|
|
1414
|
+
switch (fallbackStrategy) {
|
|
1415
|
+
case 'bestFit':
|
|
1416
|
+
{
|
|
1417
|
+
var _overflowsData$filter2;
|
|
1418
|
+
const placement = (_overflowsData$filter2 = overflowsData.filter(d => {
|
|
1419
|
+
if (hasFallbackAxisSideDirection) {
|
|
1420
|
+
const currentSideAxis = getSideAxis(d.placement);
|
|
1421
|
+
return currentSideAxis === initialSideAxis ||
|
|
1422
|
+
// Create a bias to the `y` side axis due to horizontal
|
|
1423
|
+
// reading directions favoring greater width.
|
|
1424
|
+
currentSideAxis === 'y';
|
|
1425
|
+
}
|
|
1426
|
+
return true;
|
|
1427
|
+
}).map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$filter2[0];
|
|
1428
|
+
if (placement) {
|
|
1429
|
+
resetPlacement = placement;
|
|
1430
|
+
}
|
|
1431
|
+
break;
|
|
1432
|
+
}
|
|
1433
|
+
case 'initialPlacement':
|
|
1434
|
+
resetPlacement = initialPlacement;
|
|
1435
|
+
break;
|
|
1436
|
+
}
|
|
1437
|
+
}
|
|
1438
|
+
if (placement !== resetPlacement) {
|
|
1439
|
+
return {
|
|
1440
|
+
reset: {
|
|
1441
|
+
placement: resetPlacement
|
|
1442
|
+
}
|
|
1443
|
+
};
|
|
1444
|
+
}
|
|
1445
|
+
}
|
|
1446
|
+
return {};
|
|
1447
|
+
}
|
|
1448
|
+
};
|
|
1449
|
+
};
|
|
1450
|
+
|
|
1451
|
+
const originSides = /*#__PURE__*/new Set(['left', 'top']);
|
|
1452
|
+
|
|
1453
|
+
// For type backwards-compatibility, the `OffsetOptions` type was also
|
|
1454
|
+
// Derivable.
|
|
1455
|
+
|
|
1456
|
+
async function convertValueToCoords(state, options) {
|
|
1457
|
+
const {
|
|
1458
|
+
placement,
|
|
1459
|
+
platform,
|
|
1460
|
+
elements
|
|
1461
|
+
} = state;
|
|
1462
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
1463
|
+
const side = getSide(placement);
|
|
1464
|
+
const alignment = getAlignment(placement);
|
|
1465
|
+
const isVertical = getSideAxis(placement) === 'y';
|
|
1466
|
+
const mainAxisMulti = originSides.has(side) ? -1 : 1;
|
|
1467
|
+
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
1468
|
+
const rawValue = evaluate(options, state);
|
|
1469
|
+
|
|
1470
|
+
// eslint-disable-next-line prefer-const
|
|
1471
|
+
let {
|
|
1472
|
+
mainAxis,
|
|
1473
|
+
crossAxis,
|
|
1474
|
+
alignmentAxis
|
|
1475
|
+
} = typeof rawValue === 'number' ? {
|
|
1476
|
+
mainAxis: rawValue,
|
|
1477
|
+
crossAxis: 0,
|
|
1478
|
+
alignmentAxis: null
|
|
1479
|
+
} : {
|
|
1480
|
+
mainAxis: rawValue.mainAxis || 0,
|
|
1481
|
+
crossAxis: rawValue.crossAxis || 0,
|
|
1482
|
+
alignmentAxis: rawValue.alignmentAxis
|
|
1483
|
+
};
|
|
1484
|
+
if (alignment && typeof alignmentAxis === 'number') {
|
|
1485
|
+
crossAxis = alignment === 'end' ? alignmentAxis * -1 : alignmentAxis;
|
|
1486
|
+
}
|
|
1487
|
+
return isVertical ? {
|
|
1488
|
+
x: crossAxis * crossAxisMulti,
|
|
1489
|
+
y: mainAxis * mainAxisMulti
|
|
1490
|
+
} : {
|
|
1491
|
+
x: mainAxis * mainAxisMulti,
|
|
1492
|
+
y: crossAxis * crossAxisMulti
|
|
1493
|
+
};
|
|
987
1494
|
}
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
1495
|
+
|
|
1496
|
+
/**
|
|
1497
|
+
* Modifies the placement by translating the floating element along the
|
|
1498
|
+
* specified axes.
|
|
1499
|
+
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
|
1500
|
+
* object may be passed.
|
|
1501
|
+
* @see https://floating-ui.com/docs/offset
|
|
1502
|
+
*/
|
|
1503
|
+
const offset$2 = function (options) {
|
|
1504
|
+
if (options === void 0) {
|
|
1505
|
+
options = 0;
|
|
1506
|
+
}
|
|
1507
|
+
return {
|
|
1508
|
+
name: 'offset',
|
|
1509
|
+
options,
|
|
1510
|
+
async fn(state) {
|
|
1511
|
+
var _middlewareData$offse, _middlewareData$arrow;
|
|
1512
|
+
const {
|
|
1513
|
+
x,
|
|
1514
|
+
y,
|
|
1515
|
+
placement,
|
|
1516
|
+
middlewareData
|
|
1517
|
+
} = state;
|
|
1518
|
+
const diffCoords = await convertValueToCoords(state, options);
|
|
1519
|
+
|
|
1520
|
+
// If the placement is the same and the arrow caused an alignment offset
|
|
1521
|
+
// then we don't need to change the positioning coordinates.
|
|
1522
|
+
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
1523
|
+
return {};
|
|
1524
|
+
}
|
|
1525
|
+
return {
|
|
1526
|
+
x: x + diffCoords.x,
|
|
1527
|
+
y: y + diffCoords.y,
|
|
1528
|
+
data: {
|
|
1529
|
+
...diffCoords,
|
|
1530
|
+
placement
|
|
1531
|
+
}
|
|
1532
|
+
};
|
|
1533
|
+
}
|
|
1534
|
+
};
|
|
1535
|
+
};
|
|
1536
|
+
|
|
1537
|
+
/**
|
|
1538
|
+
* Optimizes the visibility of the floating element by shifting it in order to
|
|
1539
|
+
* keep it in view when it will overflow the clipping boundary.
|
|
1540
|
+
* @see https://floating-ui.com/docs/shift
|
|
1541
|
+
*/
|
|
1542
|
+
const shift$2 = function (options) {
|
|
1543
|
+
if (options === void 0) {
|
|
1544
|
+
options = {};
|
|
1545
|
+
}
|
|
1546
|
+
return {
|
|
1547
|
+
name: 'shift',
|
|
1548
|
+
options,
|
|
1549
|
+
async fn(state) {
|
|
1550
|
+
const {
|
|
1551
|
+
x,
|
|
1552
|
+
y,
|
|
1553
|
+
placement
|
|
1554
|
+
} = state;
|
|
1555
|
+
const {
|
|
1556
|
+
mainAxis: checkMainAxis = true,
|
|
1557
|
+
crossAxis: checkCrossAxis = false,
|
|
1558
|
+
limiter = {
|
|
1559
|
+
fn: _ref => {
|
|
1560
|
+
let {
|
|
1561
|
+
x,
|
|
1562
|
+
y
|
|
1563
|
+
} = _ref;
|
|
1564
|
+
return {
|
|
1565
|
+
x,
|
|
1566
|
+
y
|
|
1567
|
+
};
|
|
1568
|
+
}
|
|
1569
|
+
},
|
|
1570
|
+
...detectOverflowOptions
|
|
1571
|
+
} = evaluate(options, state);
|
|
1572
|
+
const coords = {
|
|
1573
|
+
x,
|
|
1574
|
+
y
|
|
1575
|
+
};
|
|
1576
|
+
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
1577
|
+
const crossAxis = getSideAxis(getSide(placement));
|
|
1578
|
+
const mainAxis = getOppositeAxis(crossAxis);
|
|
1579
|
+
let mainAxisCoord = coords[mainAxis];
|
|
1580
|
+
let crossAxisCoord = coords[crossAxis];
|
|
1581
|
+
if (checkMainAxis) {
|
|
1582
|
+
const minSide = mainAxis === 'y' ? 'top' : 'left';
|
|
1583
|
+
const maxSide = mainAxis === 'y' ? 'bottom' : 'right';
|
|
1584
|
+
const min = mainAxisCoord + overflow[minSide];
|
|
1585
|
+
const max = mainAxisCoord - overflow[maxSide];
|
|
1586
|
+
mainAxisCoord = clamp(min, mainAxisCoord, max);
|
|
1587
|
+
}
|
|
1588
|
+
if (checkCrossAxis) {
|
|
1589
|
+
const minSide = crossAxis === 'y' ? 'top' : 'left';
|
|
1590
|
+
const maxSide = crossAxis === 'y' ? 'bottom' : 'right';
|
|
1591
|
+
const min = crossAxisCoord + overflow[minSide];
|
|
1592
|
+
const max = crossAxisCoord - overflow[maxSide];
|
|
1593
|
+
crossAxisCoord = clamp(min, crossAxisCoord, max);
|
|
1594
|
+
}
|
|
1595
|
+
const limitedCoords = limiter.fn({
|
|
1596
|
+
...state,
|
|
1597
|
+
[mainAxis]: mainAxisCoord,
|
|
1598
|
+
[crossAxis]: crossAxisCoord
|
|
1599
|
+
});
|
|
1600
|
+
return {
|
|
1601
|
+
...limitedCoords,
|
|
1602
|
+
data: {
|
|
1603
|
+
x: limitedCoords.x - x,
|
|
1604
|
+
y: limitedCoords.y - y,
|
|
1605
|
+
enabled: {
|
|
1606
|
+
[mainAxis]: checkMainAxis,
|
|
1607
|
+
[crossAxis]: checkCrossAxis
|
|
1608
|
+
}
|
|
1609
|
+
}
|
|
1610
|
+
};
|
|
1611
|
+
}
|
|
1612
|
+
};
|
|
1613
|
+
};
|
|
1614
|
+
|
|
1615
|
+
/**
|
|
1616
|
+
* Provides data that allows you to change the size of the floating element —
|
|
1617
|
+
* for instance, prevent it from overflowing the clipping boundary or match the
|
|
1618
|
+
* width of the reference element.
|
|
1619
|
+
* @see https://floating-ui.com/docs/size
|
|
1620
|
+
*/
|
|
1621
|
+
const size$2 = function (options) {
|
|
1622
|
+
if (options === void 0) {
|
|
1623
|
+
options = {};
|
|
1624
|
+
}
|
|
1625
|
+
return {
|
|
1626
|
+
name: 'size',
|
|
1627
|
+
options,
|
|
1628
|
+
async fn(state) {
|
|
1629
|
+
var _state$middlewareData, _state$middlewareData2;
|
|
1630
|
+
const {
|
|
1631
|
+
placement,
|
|
1632
|
+
rects,
|
|
1633
|
+
platform,
|
|
1634
|
+
elements
|
|
1635
|
+
} = state;
|
|
1636
|
+
const {
|
|
1637
|
+
apply = () => {},
|
|
1638
|
+
...detectOverflowOptions
|
|
1639
|
+
} = evaluate(options, state);
|
|
1640
|
+
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
1641
|
+
const side = getSide(placement);
|
|
1642
|
+
const alignment = getAlignment(placement);
|
|
1643
|
+
const isYAxis = getSideAxis(placement) === 'y';
|
|
1644
|
+
const {
|
|
1645
|
+
width,
|
|
1646
|
+
height
|
|
1647
|
+
} = rects.floating;
|
|
1648
|
+
let heightSide;
|
|
1649
|
+
let widthSide;
|
|
1650
|
+
if (side === 'top' || side === 'bottom') {
|
|
1651
|
+
heightSide = side;
|
|
1652
|
+
widthSide = alignment === ((await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating))) ? 'start' : 'end') ? 'left' : 'right';
|
|
1653
|
+
} else {
|
|
1654
|
+
widthSide = side;
|
|
1655
|
+
heightSide = alignment === 'end' ? 'top' : 'bottom';
|
|
1656
|
+
}
|
|
1657
|
+
const maximumClippingHeight = height - overflow.top - overflow.bottom;
|
|
1658
|
+
const maximumClippingWidth = width - overflow.left - overflow.right;
|
|
1659
|
+
const overflowAvailableHeight = min(height - overflow[heightSide], maximumClippingHeight);
|
|
1660
|
+
const overflowAvailableWidth = min(width - overflow[widthSide], maximumClippingWidth);
|
|
1661
|
+
const noShift = !state.middlewareData.shift;
|
|
1662
|
+
let availableHeight = overflowAvailableHeight;
|
|
1663
|
+
let availableWidth = overflowAvailableWidth;
|
|
1664
|
+
if ((_state$middlewareData = state.middlewareData.shift) != null && _state$middlewareData.enabled.x) {
|
|
1665
|
+
availableWidth = maximumClippingWidth;
|
|
1666
|
+
}
|
|
1667
|
+
if ((_state$middlewareData2 = state.middlewareData.shift) != null && _state$middlewareData2.enabled.y) {
|
|
1668
|
+
availableHeight = maximumClippingHeight;
|
|
1669
|
+
}
|
|
1670
|
+
if (noShift && !alignment) {
|
|
1671
|
+
const xMin = max(overflow.left, 0);
|
|
1672
|
+
const xMax = max(overflow.right, 0);
|
|
1673
|
+
const yMin = max(overflow.top, 0);
|
|
1674
|
+
const yMax = max(overflow.bottom, 0);
|
|
1675
|
+
if (isYAxis) {
|
|
1676
|
+
availableWidth = width - 2 * (xMin !== 0 || xMax !== 0 ? xMin + xMax : max(overflow.left, overflow.right));
|
|
1677
|
+
} else {
|
|
1678
|
+
availableHeight = height - 2 * (yMin !== 0 || yMax !== 0 ? yMin + yMax : max(overflow.top, overflow.bottom));
|
|
1679
|
+
}
|
|
1680
|
+
}
|
|
1681
|
+
await apply({
|
|
1682
|
+
...state,
|
|
1683
|
+
availableWidth,
|
|
1684
|
+
availableHeight
|
|
1685
|
+
});
|
|
1686
|
+
const nextDimensions = await platform.getDimensions(elements.floating);
|
|
1687
|
+
if (width !== nextDimensions.width || height !== nextDimensions.height) {
|
|
1688
|
+
return {
|
|
1689
|
+
reset: {
|
|
1690
|
+
rects: true
|
|
1691
|
+
}
|
|
1692
|
+
};
|
|
1693
|
+
}
|
|
1694
|
+
return {};
|
|
1695
|
+
}
|
|
1696
|
+
};
|
|
1697
|
+
};
|
|
1698
|
+
|
|
1699
|
+
function hasWindow() {
|
|
1700
|
+
return typeof window !== 'undefined';
|
|
1701
|
+
}
|
|
1702
|
+
function getNodeName(node) {
|
|
1703
|
+
if (isNode(node)) {
|
|
1704
|
+
return (node.nodeName || '').toLowerCase();
|
|
1705
|
+
}
|
|
1706
|
+
// Mocked nodes in testing environments may not be instances of Node. By
|
|
1707
|
+
// returning `#document` an infinite loop won't occur.
|
|
1708
|
+
// https://github.com/floating-ui/floating-ui/issues/2317
|
|
1709
|
+
return '#document';
|
|
1710
|
+
}
|
|
1711
|
+
function getWindow(node) {
|
|
1712
|
+
var _node$ownerDocument;
|
|
1713
|
+
return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
|
1714
|
+
}
|
|
1715
|
+
function getDocumentElement(node) {
|
|
1716
|
+
var _ref;
|
|
1717
|
+
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
1718
|
+
}
|
|
1719
|
+
function isNode(value) {
|
|
1720
|
+
if (!hasWindow()) {
|
|
1721
|
+
return false;
|
|
1722
|
+
}
|
|
1723
|
+
return value instanceof Node || value instanceof getWindow(value).Node;
|
|
1724
|
+
}
|
|
1725
|
+
function isElement(value) {
|
|
1726
|
+
if (!hasWindow()) {
|
|
1727
|
+
return false;
|
|
1728
|
+
}
|
|
1729
|
+
return value instanceof Element || value instanceof getWindow(value).Element;
|
|
1730
|
+
}
|
|
1731
|
+
function isHTMLElement(value) {
|
|
1732
|
+
if (!hasWindow()) {
|
|
1733
|
+
return false;
|
|
1734
|
+
}
|
|
1735
|
+
return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
|
|
1736
|
+
}
|
|
1737
|
+
function isShadowRoot(value) {
|
|
1738
|
+
if (!hasWindow() || typeof ShadowRoot === 'undefined') {
|
|
1739
|
+
return false;
|
|
1740
|
+
}
|
|
1741
|
+
return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
|
|
1742
|
+
}
|
|
1743
|
+
const invalidOverflowDisplayValues = /*#__PURE__*/new Set(['inline', 'contents']);
|
|
1744
|
+
function isOverflowElement(element) {
|
|
1745
|
+
const {
|
|
1746
|
+
overflow,
|
|
1747
|
+
overflowX,
|
|
1748
|
+
overflowY,
|
|
1749
|
+
display
|
|
1750
|
+
} = getComputedStyle(element);
|
|
1751
|
+
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !invalidOverflowDisplayValues.has(display);
|
|
1752
|
+
}
|
|
1753
|
+
const tableElements = /*#__PURE__*/new Set(['table', 'td', 'th']);
|
|
1754
|
+
function isTableElement(element) {
|
|
1755
|
+
return tableElements.has(getNodeName(element));
|
|
1756
|
+
}
|
|
1757
|
+
const topLayerSelectors = [':popover-open', ':modal'];
|
|
1758
|
+
function isTopLayer(element) {
|
|
1759
|
+
return topLayerSelectors.some(selector => {
|
|
1760
|
+
try {
|
|
1761
|
+
return element.matches(selector);
|
|
1762
|
+
} catch (_e) {
|
|
1763
|
+
return false;
|
|
1764
|
+
}
|
|
1765
|
+
});
|
|
1766
|
+
}
|
|
1767
|
+
const transformProperties = ['transform', 'translate', 'scale', 'rotate', 'perspective'];
|
|
1768
|
+
const willChangeValues = ['transform', 'translate', 'scale', 'rotate', 'perspective', 'filter'];
|
|
1769
|
+
const containValues = ['paint', 'layout', 'strict', 'content'];
|
|
1770
|
+
function isContainingBlock(elementOrCss) {
|
|
1771
|
+
const webkit = isWebKit();
|
|
1772
|
+
const css = isElement(elementOrCss) ? getComputedStyle(elementOrCss) : elementOrCss;
|
|
1773
|
+
|
|
1774
|
+
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
1775
|
+
// https://drafts.csswg.org/css-transforms-2/#individual-transforms
|
|
1776
|
+
return transformProperties.some(value => css[value] ? css[value] !== 'none' : false) || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || willChangeValues.some(value => (css.willChange || '').includes(value)) || containValues.some(value => (css.contain || '').includes(value));
|
|
1777
|
+
}
|
|
1778
|
+
function getContainingBlock(element) {
|
|
1779
|
+
let currentNode = getParentNode(element);
|
|
1780
|
+
while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
1781
|
+
if (isContainingBlock(currentNode)) {
|
|
1782
|
+
return currentNode;
|
|
1783
|
+
} else if (isTopLayer(currentNode)) {
|
|
1784
|
+
return null;
|
|
1785
|
+
}
|
|
1786
|
+
currentNode = getParentNode(currentNode);
|
|
1787
|
+
}
|
|
1788
|
+
return null;
|
|
1789
|
+
}
|
|
1790
|
+
function isWebKit() {
|
|
1791
|
+
if (typeof CSS === 'undefined' || !CSS.supports) return false;
|
|
1792
|
+
return CSS.supports('-webkit-backdrop-filter', 'none');
|
|
1793
|
+
}
|
|
1794
|
+
const lastTraversableNodeNames = /*#__PURE__*/new Set(['html', 'body', '#document']);
|
|
1795
|
+
function isLastTraversableNode(node) {
|
|
1796
|
+
return lastTraversableNodeNames.has(getNodeName(node));
|
|
1797
|
+
}
|
|
1798
|
+
function getComputedStyle(element) {
|
|
1799
|
+
return getWindow(element).getComputedStyle(element);
|
|
1800
|
+
}
|
|
1801
|
+
function getNodeScroll(element) {
|
|
1802
|
+
if (isElement(element)) {
|
|
1803
|
+
return {
|
|
1804
|
+
scrollLeft: element.scrollLeft,
|
|
1805
|
+
scrollTop: element.scrollTop
|
|
1806
|
+
};
|
|
1807
|
+
}
|
|
1808
|
+
return {
|
|
1809
|
+
scrollLeft: element.scrollX,
|
|
1810
|
+
scrollTop: element.scrollY
|
|
1811
|
+
};
|
|
1812
|
+
}
|
|
1813
|
+
function getParentNode(node) {
|
|
1814
|
+
if (getNodeName(node) === 'html') {
|
|
1815
|
+
return node;
|
|
1816
|
+
}
|
|
1817
|
+
const result =
|
|
1818
|
+
// Step into the shadow DOM of the parent of a slotted node.
|
|
1819
|
+
node.assignedSlot ||
|
|
1820
|
+
// DOM Element detected.
|
|
1821
|
+
node.parentNode ||
|
|
1822
|
+
// ShadowRoot detected.
|
|
1823
|
+
isShadowRoot(node) && node.host ||
|
|
1824
|
+
// Fallback.
|
|
1825
|
+
getDocumentElement(node);
|
|
1826
|
+
return isShadowRoot(result) ? result.host : result;
|
|
1827
|
+
}
|
|
1828
|
+
function getNearestOverflowAncestor(node) {
|
|
1829
|
+
const parentNode = getParentNode(node);
|
|
1830
|
+
if (isLastTraversableNode(parentNode)) {
|
|
1831
|
+
return node.ownerDocument ? node.ownerDocument.body : node.body;
|
|
1832
|
+
}
|
|
1833
|
+
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
|
|
1834
|
+
return parentNode;
|
|
1835
|
+
}
|
|
1836
|
+
return getNearestOverflowAncestor(parentNode);
|
|
1837
|
+
}
|
|
1838
|
+
function getOverflowAncestors(node, list, traverseIframes) {
|
|
1839
|
+
var _node$ownerDocument2;
|
|
1840
|
+
if (list === void 0) {
|
|
1841
|
+
list = [];
|
|
1842
|
+
}
|
|
1843
|
+
if (traverseIframes === void 0) {
|
|
1844
|
+
traverseIframes = true;
|
|
1845
|
+
}
|
|
1846
|
+
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
1847
|
+
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
1848
|
+
const win = getWindow(scrollableAncestor);
|
|
1849
|
+
if (isBody) {
|
|
1850
|
+
const frameElement = getFrameElement(win);
|
|
1851
|
+
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);
|
|
1852
|
+
}
|
|
1853
|
+
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
|
|
1854
|
+
}
|
|
1855
|
+
function getFrameElement(win) {
|
|
1856
|
+
return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
|
|
1857
|
+
}
|
|
1858
|
+
|
|
1859
|
+
function getCssDimensions(element) {
|
|
1860
|
+
const css = getComputedStyle(element);
|
|
1861
|
+
// In testing environments, the `width` and `height` properties are empty
|
|
1862
|
+
// strings for SVG elements, returning NaN. Fallback to `0` in this case.
|
|
1863
|
+
let width = parseFloat(css.width) || 0;
|
|
1864
|
+
let height = parseFloat(css.height) || 0;
|
|
1865
|
+
const hasOffset = isHTMLElement(element);
|
|
1866
|
+
const offsetWidth = hasOffset ? element.offsetWidth : width;
|
|
1867
|
+
const offsetHeight = hasOffset ? element.offsetHeight : height;
|
|
1868
|
+
const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
|
|
1869
|
+
if (shouldFallback) {
|
|
1870
|
+
width = offsetWidth;
|
|
1871
|
+
height = offsetHeight;
|
|
1872
|
+
}
|
|
1873
|
+
return {
|
|
1874
|
+
width,
|
|
1875
|
+
height,
|
|
1876
|
+
$: shouldFallback
|
|
1877
|
+
};
|
|
1878
|
+
}
|
|
1879
|
+
|
|
1880
|
+
function unwrapElement(element) {
|
|
1881
|
+
return !isElement(element) ? element.contextElement : element;
|
|
1882
|
+
}
|
|
1883
|
+
|
|
1884
|
+
function getScale(element) {
|
|
1885
|
+
const domElement = unwrapElement(element);
|
|
1886
|
+
if (!isHTMLElement(domElement)) {
|
|
1887
|
+
return createCoords(1);
|
|
1888
|
+
}
|
|
1889
|
+
const rect = domElement.getBoundingClientRect();
|
|
1890
|
+
const {
|
|
1891
|
+
width,
|
|
1892
|
+
height,
|
|
1893
|
+
$
|
|
1894
|
+
} = getCssDimensions(domElement);
|
|
1895
|
+
let x = ($ ? round(rect.width) : rect.width) / width;
|
|
1896
|
+
let y = ($ ? round(rect.height) : rect.height) / height;
|
|
1897
|
+
|
|
1898
|
+
// 0, NaN, or Infinity should always fallback to 1.
|
|
1899
|
+
|
|
1900
|
+
if (!x || !Number.isFinite(x)) {
|
|
1901
|
+
x = 1;
|
|
1902
|
+
}
|
|
1903
|
+
if (!y || !Number.isFinite(y)) {
|
|
1904
|
+
y = 1;
|
|
1905
|
+
}
|
|
1906
|
+
return {
|
|
1907
|
+
x,
|
|
1908
|
+
y
|
|
1909
|
+
};
|
|
1910
|
+
}
|
|
1911
|
+
|
|
1912
|
+
const noOffsets = /*#__PURE__*/createCoords(0);
|
|
1913
|
+
function getVisualOffsets(element) {
|
|
1914
|
+
const win = getWindow(element);
|
|
1915
|
+
if (!isWebKit() || !win.visualViewport) {
|
|
1916
|
+
return noOffsets;
|
|
1917
|
+
}
|
|
1918
|
+
return {
|
|
1919
|
+
x: win.visualViewport.offsetLeft,
|
|
1920
|
+
y: win.visualViewport.offsetTop
|
|
1921
|
+
};
|
|
1922
|
+
}
|
|
1923
|
+
function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
1924
|
+
if (isFixed === void 0) {
|
|
1925
|
+
isFixed = false;
|
|
1926
|
+
}
|
|
1927
|
+
if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
|
|
1928
|
+
return false;
|
|
1929
|
+
}
|
|
1930
|
+
return isFixed;
|
|
1931
|
+
}
|
|
1932
|
+
|
|
1933
|
+
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
|
1934
|
+
if (includeScale === void 0) {
|
|
1935
|
+
includeScale = false;
|
|
1936
|
+
}
|
|
1937
|
+
if (isFixedStrategy === void 0) {
|
|
1938
|
+
isFixedStrategy = false;
|
|
1939
|
+
}
|
|
1940
|
+
const clientRect = element.getBoundingClientRect();
|
|
1941
|
+
const domElement = unwrapElement(element);
|
|
1942
|
+
let scale = createCoords(1);
|
|
1943
|
+
if (includeScale) {
|
|
1944
|
+
if (offsetParent) {
|
|
1945
|
+
if (isElement(offsetParent)) {
|
|
1946
|
+
scale = getScale(offsetParent);
|
|
1947
|
+
}
|
|
1948
|
+
} else {
|
|
1949
|
+
scale = getScale(element);
|
|
1950
|
+
}
|
|
1951
|
+
}
|
|
1952
|
+
const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
|
|
1953
|
+
let x = (clientRect.left + visualOffsets.x) / scale.x;
|
|
1954
|
+
let y = (clientRect.top + visualOffsets.y) / scale.y;
|
|
1955
|
+
let width = clientRect.width / scale.x;
|
|
1956
|
+
let height = clientRect.height / scale.y;
|
|
1957
|
+
if (domElement) {
|
|
1958
|
+
const win = getWindow(domElement);
|
|
1959
|
+
const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
|
|
1960
|
+
let currentWin = win;
|
|
1961
|
+
let currentIFrame = getFrameElement(currentWin);
|
|
1962
|
+
while (currentIFrame && offsetParent && offsetWin !== currentWin) {
|
|
1963
|
+
const iframeScale = getScale(currentIFrame);
|
|
1964
|
+
const iframeRect = currentIFrame.getBoundingClientRect();
|
|
1965
|
+
const css = getComputedStyle(currentIFrame);
|
|
1966
|
+
const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
|
|
1967
|
+
const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
|
|
1968
|
+
x *= iframeScale.x;
|
|
1969
|
+
y *= iframeScale.y;
|
|
1970
|
+
width *= iframeScale.x;
|
|
1971
|
+
height *= iframeScale.y;
|
|
1972
|
+
x += left;
|
|
1973
|
+
y += top;
|
|
1974
|
+
currentWin = getWindow(currentIFrame);
|
|
1975
|
+
currentIFrame = getFrameElement(currentWin);
|
|
1976
|
+
}
|
|
1977
|
+
}
|
|
1978
|
+
return rectToClientRect({
|
|
1979
|
+
width,
|
|
1980
|
+
height,
|
|
1981
|
+
x,
|
|
1982
|
+
y
|
|
1983
|
+
});
|
|
1984
|
+
}
|
|
1985
|
+
|
|
1986
|
+
// If <html> has a CSS width greater than the viewport, then this will be
|
|
1987
|
+
// incorrect for RTL.
|
|
1988
|
+
function getWindowScrollBarX(element, rect) {
|
|
1989
|
+
const leftScroll = getNodeScroll(element).scrollLeft;
|
|
1990
|
+
if (!rect) {
|
|
1991
|
+
return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;
|
|
1992
|
+
}
|
|
1993
|
+
return rect.left + leftScroll;
|
|
1994
|
+
}
|
|
1995
|
+
|
|
1996
|
+
function getHTMLOffset(documentElement, scroll, ignoreScrollbarX) {
|
|
1997
|
+
if (ignoreScrollbarX === void 0) {
|
|
1998
|
+
ignoreScrollbarX = false;
|
|
1999
|
+
}
|
|
2000
|
+
const htmlRect = documentElement.getBoundingClientRect();
|
|
2001
|
+
const x = htmlRect.left + scroll.scrollLeft - (ignoreScrollbarX ? 0 :
|
|
2002
|
+
// RTL <body> scrollbar.
|
|
2003
|
+
getWindowScrollBarX(documentElement, htmlRect));
|
|
2004
|
+
const y = htmlRect.top + scroll.scrollTop;
|
|
2005
|
+
return {
|
|
2006
|
+
x,
|
|
2007
|
+
y
|
|
2008
|
+
};
|
|
2009
|
+
}
|
|
2010
|
+
|
|
2011
|
+
function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
2012
|
+
let {
|
|
2013
|
+
elements,
|
|
2014
|
+
rect,
|
|
2015
|
+
offsetParent,
|
|
2016
|
+
strategy
|
|
2017
|
+
} = _ref;
|
|
2018
|
+
const isFixed = strategy === 'fixed';
|
|
2019
|
+
const documentElement = getDocumentElement(offsetParent);
|
|
2020
|
+
const topLayer = elements ? isTopLayer(elements.floating) : false;
|
|
2021
|
+
if (offsetParent === documentElement || topLayer && isFixed) {
|
|
2022
|
+
return rect;
|
|
2023
|
+
}
|
|
2024
|
+
let scroll = {
|
|
2025
|
+
scrollLeft: 0,
|
|
2026
|
+
scrollTop: 0
|
|
2027
|
+
};
|
|
2028
|
+
let scale = createCoords(1);
|
|
2029
|
+
const offsets = createCoords(0);
|
|
2030
|
+
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
2031
|
+
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
2032
|
+
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
2033
|
+
scroll = getNodeScroll(offsetParent);
|
|
2034
|
+
}
|
|
2035
|
+
if (isHTMLElement(offsetParent)) {
|
|
2036
|
+
const offsetRect = getBoundingClientRect(offsetParent);
|
|
2037
|
+
scale = getScale(offsetParent);
|
|
2038
|
+
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
2039
|
+
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
2040
|
+
}
|
|
2041
|
+
}
|
|
2042
|
+
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll, true) : createCoords(0);
|
|
2043
|
+
return {
|
|
2044
|
+
width: rect.width * scale.x,
|
|
2045
|
+
height: rect.height * scale.y,
|
|
2046
|
+
x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x + htmlOffset.x,
|
|
2047
|
+
y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y + htmlOffset.y
|
|
2048
|
+
};
|
|
2049
|
+
}
|
|
2050
|
+
|
|
2051
|
+
function getClientRects(element) {
|
|
2052
|
+
return Array.from(element.getClientRects());
|
|
2053
|
+
}
|
|
2054
|
+
|
|
2055
|
+
// Gets the entire size of the scrollable document area, even extending outside
|
|
2056
|
+
// of the `<html>` and `<body>` rect bounds if horizontally scrollable.
|
|
2057
|
+
function getDocumentRect(element) {
|
|
2058
|
+
const html = getDocumentElement(element);
|
|
2059
|
+
const scroll = getNodeScroll(element);
|
|
2060
|
+
const body = element.ownerDocument.body;
|
|
2061
|
+
const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
|
|
2062
|
+
const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
|
|
2063
|
+
let x = -scroll.scrollLeft + getWindowScrollBarX(element);
|
|
2064
|
+
const y = -scroll.scrollTop;
|
|
2065
|
+
if (getComputedStyle(body).direction === 'rtl') {
|
|
2066
|
+
x += max(html.clientWidth, body.clientWidth) - width;
|
|
2067
|
+
}
|
|
2068
|
+
return {
|
|
2069
|
+
width,
|
|
2070
|
+
height,
|
|
2071
|
+
x,
|
|
2072
|
+
y
|
|
2073
|
+
};
|
|
2074
|
+
}
|
|
2075
|
+
|
|
2076
|
+
function getViewportRect(element, strategy) {
|
|
2077
|
+
const win = getWindow(element);
|
|
2078
|
+
const html = getDocumentElement(element);
|
|
2079
|
+
const visualViewport = win.visualViewport;
|
|
2080
|
+
let width = html.clientWidth;
|
|
2081
|
+
let height = html.clientHeight;
|
|
2082
|
+
let x = 0;
|
|
2083
|
+
let y = 0;
|
|
2084
|
+
if (visualViewport) {
|
|
2085
|
+
width = visualViewport.width;
|
|
2086
|
+
height = visualViewport.height;
|
|
2087
|
+
const visualViewportBased = isWebKit();
|
|
2088
|
+
if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {
|
|
2089
|
+
x = visualViewport.offsetLeft;
|
|
2090
|
+
y = visualViewport.offsetTop;
|
|
2091
|
+
}
|
|
2092
|
+
}
|
|
2093
|
+
return {
|
|
2094
|
+
width,
|
|
2095
|
+
height,
|
|
2096
|
+
x,
|
|
2097
|
+
y
|
|
2098
|
+
};
|
|
2099
|
+
}
|
|
2100
|
+
|
|
2101
|
+
const absoluteOrFixed = /*#__PURE__*/new Set(['absolute', 'fixed']);
|
|
2102
|
+
// Returns the inner client rect, subtracting scrollbars if present.
|
|
2103
|
+
function getInnerBoundingClientRect(element, strategy) {
|
|
2104
|
+
const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
|
|
2105
|
+
const top = clientRect.top + element.clientTop;
|
|
2106
|
+
const left = clientRect.left + element.clientLeft;
|
|
2107
|
+
const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);
|
|
2108
|
+
const width = element.clientWidth * scale.x;
|
|
2109
|
+
const height = element.clientHeight * scale.y;
|
|
2110
|
+
const x = left * scale.x;
|
|
2111
|
+
const y = top * scale.y;
|
|
2112
|
+
return {
|
|
2113
|
+
width,
|
|
2114
|
+
height,
|
|
2115
|
+
x,
|
|
2116
|
+
y
|
|
2117
|
+
};
|
|
2118
|
+
}
|
|
2119
|
+
function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
|
|
2120
|
+
let rect;
|
|
2121
|
+
if (clippingAncestor === 'viewport') {
|
|
2122
|
+
rect = getViewportRect(element, strategy);
|
|
2123
|
+
} else if (clippingAncestor === 'document') {
|
|
2124
|
+
rect = getDocumentRect(getDocumentElement(element));
|
|
2125
|
+
} else if (isElement(clippingAncestor)) {
|
|
2126
|
+
rect = getInnerBoundingClientRect(clippingAncestor, strategy);
|
|
2127
|
+
} else {
|
|
2128
|
+
const visualOffsets = getVisualOffsets(element);
|
|
2129
|
+
rect = {
|
|
2130
|
+
x: clippingAncestor.x - visualOffsets.x,
|
|
2131
|
+
y: clippingAncestor.y - visualOffsets.y,
|
|
2132
|
+
width: clippingAncestor.width,
|
|
2133
|
+
height: clippingAncestor.height
|
|
2134
|
+
};
|
|
2135
|
+
}
|
|
2136
|
+
return rectToClientRect(rect);
|
|
2137
|
+
}
|
|
2138
|
+
function hasFixedPositionAncestor(element, stopNode) {
|
|
2139
|
+
const parentNode = getParentNode(element);
|
|
2140
|
+
if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {
|
|
2141
|
+
return false;
|
|
2142
|
+
}
|
|
2143
|
+
return getComputedStyle(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);
|
|
2144
|
+
}
|
|
2145
|
+
|
|
2146
|
+
// A "clipping ancestor" is an `overflow` element with the characteristic of
|
|
2147
|
+
// clipping (or hiding) child elements. This returns all clipping ancestors
|
|
2148
|
+
// of the given element up the tree.
|
|
2149
|
+
function getClippingElementAncestors(element, cache) {
|
|
2150
|
+
const cachedResult = cache.get(element);
|
|
2151
|
+
if (cachedResult) {
|
|
2152
|
+
return cachedResult;
|
|
2153
|
+
}
|
|
2154
|
+
let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body');
|
|
2155
|
+
let currentContainingBlockComputedStyle = null;
|
|
2156
|
+
const elementIsFixed = getComputedStyle(element).position === 'fixed';
|
|
2157
|
+
let currentNode = elementIsFixed ? getParentNode(element) : element;
|
|
2158
|
+
|
|
2159
|
+
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
2160
|
+
while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
2161
|
+
const computedStyle = getComputedStyle(currentNode);
|
|
2162
|
+
const currentNodeIsContaining = isContainingBlock(currentNode);
|
|
2163
|
+
if (!currentNodeIsContaining && computedStyle.position === 'fixed') {
|
|
2164
|
+
currentContainingBlockComputedStyle = null;
|
|
2165
|
+
}
|
|
2166
|
+
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && absoluteOrFixed.has(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
|
|
2167
|
+
if (shouldDropCurrentNode) {
|
|
2168
|
+
// Drop non-containing blocks.
|
|
2169
|
+
result = result.filter(ancestor => ancestor !== currentNode);
|
|
2170
|
+
} else {
|
|
2171
|
+
// Record last containing block for next iteration.
|
|
2172
|
+
currentContainingBlockComputedStyle = computedStyle;
|
|
2173
|
+
}
|
|
2174
|
+
currentNode = getParentNode(currentNode);
|
|
2175
|
+
}
|
|
2176
|
+
cache.set(element, result);
|
|
2177
|
+
return result;
|
|
2178
|
+
}
|
|
2179
|
+
|
|
2180
|
+
// Gets the maximum area that the element is visible in due to any number of
|
|
2181
|
+
// clipping ancestors.
|
|
2182
|
+
function getClippingRect(_ref) {
|
|
2183
|
+
let {
|
|
2184
|
+
element,
|
|
2185
|
+
boundary,
|
|
2186
|
+
rootBoundary,
|
|
2187
|
+
strategy
|
|
2188
|
+
} = _ref;
|
|
2189
|
+
const elementClippingAncestors = boundary === 'clippingAncestors' ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);
|
|
2190
|
+
const clippingAncestors = [...elementClippingAncestors, rootBoundary];
|
|
2191
|
+
const firstClippingAncestor = clippingAncestors[0];
|
|
2192
|
+
const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {
|
|
2193
|
+
const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);
|
|
2194
|
+
accRect.top = max(rect.top, accRect.top);
|
|
2195
|
+
accRect.right = min(rect.right, accRect.right);
|
|
2196
|
+
accRect.bottom = min(rect.bottom, accRect.bottom);
|
|
2197
|
+
accRect.left = max(rect.left, accRect.left);
|
|
2198
|
+
return accRect;
|
|
2199
|
+
}, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));
|
|
2200
|
+
return {
|
|
2201
|
+
width: clippingRect.right - clippingRect.left,
|
|
2202
|
+
height: clippingRect.bottom - clippingRect.top,
|
|
2203
|
+
x: clippingRect.left,
|
|
2204
|
+
y: clippingRect.top
|
|
2205
|
+
};
|
|
2206
|
+
}
|
|
2207
|
+
|
|
2208
|
+
function getDimensions(element) {
|
|
2209
|
+
const {
|
|
2210
|
+
width,
|
|
2211
|
+
height
|
|
2212
|
+
} = getCssDimensions(element);
|
|
2213
|
+
return {
|
|
2214
|
+
width,
|
|
2215
|
+
height
|
|
2216
|
+
};
|
|
2217
|
+
}
|
|
2218
|
+
|
|
2219
|
+
function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
2220
|
+
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
2221
|
+
const documentElement = getDocumentElement(offsetParent);
|
|
2222
|
+
const isFixed = strategy === 'fixed';
|
|
2223
|
+
const rect = getBoundingClientRect(element, true, isFixed, offsetParent);
|
|
2224
|
+
let scroll = {
|
|
2225
|
+
scrollLeft: 0,
|
|
2226
|
+
scrollTop: 0
|
|
2227
|
+
};
|
|
2228
|
+
const offsets = createCoords(0);
|
|
2229
|
+
|
|
2230
|
+
// If the <body> scrollbar appears on the left (e.g. RTL systems). Use
|
|
2231
|
+
// Firefox with layout.scrollbar.side = 3 in about:config to test this.
|
|
2232
|
+
function setLeftRTLScrollbarOffset() {
|
|
2233
|
+
offsets.x = getWindowScrollBarX(documentElement);
|
|
2234
|
+
}
|
|
2235
|
+
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
2236
|
+
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
2237
|
+
scroll = getNodeScroll(offsetParent);
|
|
2238
|
+
}
|
|
2239
|
+
if (isOffsetParentAnElement) {
|
|
2240
|
+
const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
|
|
2241
|
+
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
2242
|
+
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
2243
|
+
} else if (documentElement) {
|
|
2244
|
+
setLeftRTLScrollbarOffset();
|
|
2245
|
+
}
|
|
2246
|
+
}
|
|
2247
|
+
if (isFixed && !isOffsetParentAnElement && documentElement) {
|
|
2248
|
+
setLeftRTLScrollbarOffset();
|
|
2249
|
+
}
|
|
2250
|
+
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
|
|
2251
|
+
const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
|
|
2252
|
+
const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;
|
|
2253
|
+
return {
|
|
2254
|
+
x,
|
|
2255
|
+
y,
|
|
2256
|
+
width: rect.width,
|
|
2257
|
+
height: rect.height
|
|
2258
|
+
};
|
|
2259
|
+
}
|
|
2260
|
+
|
|
2261
|
+
function isStaticPositioned(element) {
|
|
2262
|
+
return getComputedStyle(element).position === 'static';
|
|
2263
|
+
}
|
|
2264
|
+
|
|
2265
|
+
function getTrueOffsetParent(element, polyfill) {
|
|
2266
|
+
if (!isHTMLElement(element) || getComputedStyle(element).position === 'fixed') {
|
|
2267
|
+
return null;
|
|
2268
|
+
}
|
|
2269
|
+
if (polyfill) {
|
|
2270
|
+
return polyfill(element);
|
|
2271
|
+
}
|
|
2272
|
+
let rawOffsetParent = element.offsetParent;
|
|
2273
|
+
|
|
2274
|
+
// Firefox returns the <html> element as the offsetParent if it's non-static,
|
|
2275
|
+
// while Chrome and Safari return the <body> element. The <body> element must
|
|
2276
|
+
// be used to perform the correct calculations even if the <html> element is
|
|
2277
|
+
// non-static.
|
|
2278
|
+
if (getDocumentElement(element) === rawOffsetParent) {
|
|
2279
|
+
rawOffsetParent = rawOffsetParent.ownerDocument.body;
|
|
2280
|
+
}
|
|
2281
|
+
return rawOffsetParent;
|
|
2282
|
+
}
|
|
2283
|
+
|
|
2284
|
+
// Gets the closest ancestor positioned element. Handles some edge cases,
|
|
2285
|
+
// such as table ancestors and cross browser bugs.
|
|
2286
|
+
function getOffsetParent(element, polyfill) {
|
|
2287
|
+
const win = getWindow(element);
|
|
2288
|
+
if (isTopLayer(element)) {
|
|
2289
|
+
return win;
|
|
2290
|
+
}
|
|
2291
|
+
if (!isHTMLElement(element)) {
|
|
2292
|
+
let svgOffsetParent = getParentNode(element);
|
|
2293
|
+
while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {
|
|
2294
|
+
if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {
|
|
2295
|
+
return svgOffsetParent;
|
|
2296
|
+
}
|
|
2297
|
+
svgOffsetParent = getParentNode(svgOffsetParent);
|
|
2298
|
+
}
|
|
2299
|
+
return win;
|
|
2300
|
+
}
|
|
2301
|
+
let offsetParent = getTrueOffsetParent(element, polyfill);
|
|
2302
|
+
while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {
|
|
2303
|
+
offsetParent = getTrueOffsetParent(offsetParent, polyfill);
|
|
2304
|
+
}
|
|
2305
|
+
if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {
|
|
2306
|
+
return win;
|
|
2307
|
+
}
|
|
2308
|
+
return offsetParent || getContainingBlock(element) || win;
|
|
2309
|
+
}
|
|
2310
|
+
|
|
2311
|
+
const getElementRects = async function (data) {
|
|
2312
|
+
const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
|
|
2313
|
+
const getDimensionsFn = this.getDimensions;
|
|
2314
|
+
const floatingDimensions = await getDimensionsFn(data.floating);
|
|
2315
|
+
return {
|
|
2316
|
+
reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),
|
|
2317
|
+
floating: {
|
|
2318
|
+
x: 0,
|
|
2319
|
+
y: 0,
|
|
2320
|
+
width: floatingDimensions.width,
|
|
2321
|
+
height: floatingDimensions.height
|
|
2322
|
+
}
|
|
2323
|
+
};
|
|
2324
|
+
};
|
|
2325
|
+
|
|
2326
|
+
function isRTL(element) {
|
|
2327
|
+
return getComputedStyle(element).direction === 'rtl';
|
|
2328
|
+
}
|
|
2329
|
+
|
|
2330
|
+
const platform = {
|
|
2331
|
+
convertOffsetParentRelativeRectToViewportRelativeRect,
|
|
2332
|
+
getDocumentElement,
|
|
2333
|
+
getClippingRect,
|
|
2334
|
+
getOffsetParent,
|
|
2335
|
+
getElementRects,
|
|
2336
|
+
getClientRects,
|
|
2337
|
+
getDimensions,
|
|
2338
|
+
getScale,
|
|
2339
|
+
isElement,
|
|
2340
|
+
isRTL
|
|
2341
|
+
};
|
|
2342
|
+
|
|
2343
|
+
function rectsAreEqual(a, b) {
|
|
2344
|
+
return a.x === b.x && a.y === b.y && a.width === b.width && a.height === b.height;
|
|
2345
|
+
}
|
|
2346
|
+
|
|
2347
|
+
// https://samthor.au/2021/observing-dom/
|
|
2348
|
+
function observeMove(element, onMove) {
|
|
2349
|
+
let io = null;
|
|
2350
|
+
let timeoutId;
|
|
2351
|
+
const root = getDocumentElement(element);
|
|
2352
|
+
function cleanup() {
|
|
2353
|
+
var _io;
|
|
2354
|
+
clearTimeout(timeoutId);
|
|
2355
|
+
(_io = io) == null || _io.disconnect();
|
|
2356
|
+
io = null;
|
|
2357
|
+
}
|
|
2358
|
+
function refresh(skip, threshold) {
|
|
2359
|
+
if (skip === void 0) {
|
|
2360
|
+
skip = false;
|
|
2361
|
+
}
|
|
2362
|
+
if (threshold === void 0) {
|
|
2363
|
+
threshold = 1;
|
|
2364
|
+
}
|
|
2365
|
+
cleanup();
|
|
2366
|
+
const elementRectForRootMargin = element.getBoundingClientRect();
|
|
2367
|
+
const {
|
|
2368
|
+
left,
|
|
2369
|
+
top,
|
|
2370
|
+
width,
|
|
2371
|
+
height
|
|
2372
|
+
} = elementRectForRootMargin;
|
|
2373
|
+
if (!skip) {
|
|
2374
|
+
onMove();
|
|
2375
|
+
}
|
|
2376
|
+
if (!width || !height) {
|
|
2377
|
+
return;
|
|
2378
|
+
}
|
|
2379
|
+
const insetTop = floor(top);
|
|
2380
|
+
const insetRight = floor(root.clientWidth - (left + width));
|
|
2381
|
+
const insetBottom = floor(root.clientHeight - (top + height));
|
|
2382
|
+
const insetLeft = floor(left);
|
|
2383
|
+
const rootMargin = -insetTop + "px " + -insetRight + "px " + -insetBottom + "px " + -insetLeft + "px";
|
|
2384
|
+
const options = {
|
|
2385
|
+
rootMargin,
|
|
2386
|
+
threshold: max(0, min(1, threshold)) || 1
|
|
2387
|
+
};
|
|
2388
|
+
let isFirstUpdate = true;
|
|
2389
|
+
function handleObserve(entries) {
|
|
2390
|
+
const ratio = entries[0].intersectionRatio;
|
|
2391
|
+
if (ratio !== threshold) {
|
|
2392
|
+
if (!isFirstUpdate) {
|
|
2393
|
+
return refresh();
|
|
2394
|
+
}
|
|
2395
|
+
if (!ratio) {
|
|
2396
|
+
// If the reference is clipped, the ratio is 0. Throttle the refresh
|
|
2397
|
+
// to prevent an infinite loop of updates.
|
|
2398
|
+
timeoutId = setTimeout(() => {
|
|
2399
|
+
refresh(false, 1e-7);
|
|
2400
|
+
}, 1000);
|
|
2401
|
+
} else {
|
|
2402
|
+
refresh(false, ratio);
|
|
2403
|
+
}
|
|
2404
|
+
}
|
|
2405
|
+
if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {
|
|
2406
|
+
// It's possible that even though the ratio is reported as 1, the
|
|
2407
|
+
// element is not actually fully within the IntersectionObserver's root
|
|
2408
|
+
// area anymore. This can happen under performance constraints. This may
|
|
2409
|
+
// be a bug in the browser's IntersectionObserver implementation. To
|
|
2410
|
+
// work around this, we compare the element's bounding rect now with
|
|
2411
|
+
// what it was at the time we created the IntersectionObserver. If they
|
|
2412
|
+
// are not equal then the element moved, so we refresh.
|
|
2413
|
+
refresh();
|
|
2414
|
+
}
|
|
2415
|
+
isFirstUpdate = false;
|
|
2416
|
+
}
|
|
2417
|
+
|
|
2418
|
+
// Older browsers don't support a `document` as the root and will throw an
|
|
2419
|
+
// error.
|
|
2420
|
+
try {
|
|
2421
|
+
io = new IntersectionObserver(handleObserve, {
|
|
2422
|
+
...options,
|
|
2423
|
+
// Handle <iframe>s
|
|
2424
|
+
root: root.ownerDocument
|
|
2425
|
+
});
|
|
2426
|
+
} catch (_e) {
|
|
2427
|
+
io = new IntersectionObserver(handleObserve, options);
|
|
2428
|
+
}
|
|
2429
|
+
io.observe(element);
|
|
2430
|
+
}
|
|
2431
|
+
refresh(true);
|
|
2432
|
+
return cleanup;
|
|
2433
|
+
}
|
|
2434
|
+
|
|
2435
|
+
/**
|
|
2436
|
+
* Automatically updates the position of the floating element when necessary.
|
|
2437
|
+
* Should only be called when the floating element is mounted on the DOM or
|
|
2438
|
+
* visible on the screen.
|
|
2439
|
+
* @returns cleanup function that should be invoked when the floating element is
|
|
2440
|
+
* removed from the DOM or hidden from the screen.
|
|
2441
|
+
* @see https://floating-ui.com/docs/autoUpdate
|
|
2442
|
+
*/
|
|
2443
|
+
function autoUpdate(reference, floating, update, options) {
|
|
2444
|
+
if (options === void 0) {
|
|
2445
|
+
options = {};
|
|
2446
|
+
}
|
|
2447
|
+
const {
|
|
2448
|
+
ancestorScroll = true,
|
|
2449
|
+
ancestorResize = true,
|
|
2450
|
+
elementResize = typeof ResizeObserver === 'function',
|
|
2451
|
+
layoutShift = typeof IntersectionObserver === 'function',
|
|
2452
|
+
animationFrame = false
|
|
2453
|
+
} = options;
|
|
2454
|
+
const referenceEl = unwrapElement(reference);
|
|
2455
|
+
const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...getOverflowAncestors(floating)] : [];
|
|
2456
|
+
ancestors.forEach(ancestor => {
|
|
2457
|
+
ancestorScroll && ancestor.addEventListener('scroll', update, {
|
|
2458
|
+
passive: true
|
|
2459
|
+
});
|
|
2460
|
+
ancestorResize && ancestor.addEventListener('resize', update);
|
|
2461
|
+
});
|
|
2462
|
+
const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
|
|
2463
|
+
let reobserveFrame = -1;
|
|
2464
|
+
let resizeObserver = null;
|
|
2465
|
+
if (elementResize) {
|
|
2466
|
+
resizeObserver = new ResizeObserver(_ref => {
|
|
2467
|
+
let [firstEntry] = _ref;
|
|
2468
|
+
if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {
|
|
2469
|
+
// Prevent update loops when using the `size` middleware.
|
|
2470
|
+
// https://github.com/floating-ui/floating-ui/issues/1740
|
|
2471
|
+
resizeObserver.unobserve(floating);
|
|
2472
|
+
cancelAnimationFrame(reobserveFrame);
|
|
2473
|
+
reobserveFrame = requestAnimationFrame(() => {
|
|
2474
|
+
var _resizeObserver;
|
|
2475
|
+
(_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);
|
|
2476
|
+
});
|
|
2477
|
+
}
|
|
2478
|
+
update();
|
|
2479
|
+
});
|
|
2480
|
+
if (referenceEl && !animationFrame) {
|
|
2481
|
+
resizeObserver.observe(referenceEl);
|
|
2482
|
+
}
|
|
2483
|
+
resizeObserver.observe(floating);
|
|
2484
|
+
}
|
|
2485
|
+
let frameId;
|
|
2486
|
+
let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
|
|
2487
|
+
if (animationFrame) {
|
|
2488
|
+
frameLoop();
|
|
2489
|
+
}
|
|
2490
|
+
function frameLoop() {
|
|
2491
|
+
const nextRefRect = getBoundingClientRect(reference);
|
|
2492
|
+
if (prevRefRect && !rectsAreEqual(prevRefRect, nextRefRect)) {
|
|
2493
|
+
update();
|
|
2494
|
+
}
|
|
2495
|
+
prevRefRect = nextRefRect;
|
|
2496
|
+
frameId = requestAnimationFrame(frameLoop);
|
|
2497
|
+
}
|
|
2498
|
+
update();
|
|
2499
|
+
return () => {
|
|
2500
|
+
var _resizeObserver2;
|
|
2501
|
+
ancestors.forEach(ancestor => {
|
|
2502
|
+
ancestorScroll && ancestor.removeEventListener('scroll', update);
|
|
2503
|
+
ancestorResize && ancestor.removeEventListener('resize', update);
|
|
2504
|
+
});
|
|
2505
|
+
cleanupIo == null || cleanupIo();
|
|
2506
|
+
(_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();
|
|
2507
|
+
resizeObserver = null;
|
|
2508
|
+
if (animationFrame) {
|
|
2509
|
+
cancelAnimationFrame(frameId);
|
|
2510
|
+
}
|
|
2511
|
+
};
|
|
2512
|
+
}
|
|
2513
|
+
|
|
2514
|
+
/**
|
|
2515
|
+
* Modifies the placement by translating the floating element along the
|
|
2516
|
+
* specified axes.
|
|
2517
|
+
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
|
2518
|
+
* object may be passed.
|
|
2519
|
+
* @see https://floating-ui.com/docs/offset
|
|
2520
|
+
*/
|
|
2521
|
+
const offset$1 = offset$2;
|
|
2522
|
+
|
|
2523
|
+
/**
|
|
2524
|
+
* Optimizes the visibility of the floating element by shifting it in order to
|
|
2525
|
+
* keep it in view when it will overflow the clipping boundary.
|
|
2526
|
+
* @see https://floating-ui.com/docs/shift
|
|
2527
|
+
*/
|
|
2528
|
+
const shift$1 = shift$2;
|
|
2529
|
+
|
|
2530
|
+
/**
|
|
2531
|
+
* Optimizes the visibility of the floating element by flipping the `placement`
|
|
2532
|
+
* in order to keep it in view when the preferred placement(s) will overflow the
|
|
2533
|
+
* clipping boundary. Alternative to `autoPlacement`.
|
|
2534
|
+
* @see https://floating-ui.com/docs/flip
|
|
2535
|
+
*/
|
|
2536
|
+
const flip$1 = flip$2;
|
|
2537
|
+
|
|
2538
|
+
/**
|
|
2539
|
+
* Provides data that allows you to change the size of the floating element —
|
|
2540
|
+
* for instance, prevent it from overflowing the clipping boundary or match the
|
|
2541
|
+
* width of the reference element.
|
|
2542
|
+
* @see https://floating-ui.com/docs/size
|
|
2543
|
+
*/
|
|
2544
|
+
const size$1 = size$2;
|
|
2545
|
+
|
|
2546
|
+
/**
|
|
2547
|
+
* Provides data to position an inner element of the floating element so that it
|
|
2548
|
+
* appears centered to the reference element.
|
|
2549
|
+
* @see https://floating-ui.com/docs/arrow
|
|
2550
|
+
*/
|
|
2551
|
+
const arrow$2 = arrow$3;
|
|
2552
|
+
|
|
2553
|
+
/**
|
|
2554
|
+
* Computes the `x` and `y` coordinates that will place the floating element
|
|
2555
|
+
* next to a given reference element.
|
|
2556
|
+
*/
|
|
2557
|
+
const computePosition = (reference, floating, options) => {
|
|
2558
|
+
// This caches the expensive `getClippingElementAncestors` function so that
|
|
2559
|
+
// multiple lifecycle resets re-use the same result. It only lives for a
|
|
2560
|
+
// single call. If other functions become expensive, we can add them as well.
|
|
2561
|
+
const cache = new Map();
|
|
2562
|
+
const mergedOptions = {
|
|
2563
|
+
platform,
|
|
2564
|
+
...options
|
|
2565
|
+
};
|
|
2566
|
+
const platformWithCache = {
|
|
2567
|
+
...mergedOptions.platform,
|
|
2568
|
+
_c: cache
|
|
2569
|
+
};
|
|
2570
|
+
return computePosition$1(reference, floating, {
|
|
2571
|
+
...mergedOptions,
|
|
2572
|
+
platform: platformWithCache
|
|
2573
|
+
});
|
|
2574
|
+
};
|
|
2575
|
+
|
|
2576
|
+
var isClient = typeof document !== 'undefined';
|
|
2577
|
+
|
|
2578
|
+
var noop = function noop() {};
|
|
2579
|
+
var index = isClient ? React.useLayoutEffect : noop;
|
|
2580
|
+
|
|
2581
|
+
// Fork of `fast-deep-equal` that only does the comparisons we need and compares
|
|
2582
|
+
// functions
|
|
2583
|
+
function deepEqual(a, b) {
|
|
2584
|
+
if (a === b) {
|
|
2585
|
+
return true;
|
|
2586
|
+
}
|
|
2587
|
+
if (typeof a !== typeof b) {
|
|
2588
|
+
return false;
|
|
2589
|
+
}
|
|
2590
|
+
if (typeof a === 'function' && a.toString() === b.toString()) {
|
|
2591
|
+
return true;
|
|
2592
|
+
}
|
|
2593
|
+
let length;
|
|
2594
|
+
let i;
|
|
2595
|
+
let keys;
|
|
2596
|
+
if (a && b && typeof a === 'object') {
|
|
2597
|
+
if (Array.isArray(a)) {
|
|
2598
|
+
length = a.length;
|
|
2599
|
+
if (length !== b.length) return false;
|
|
2600
|
+
for (i = length; i-- !== 0;) {
|
|
2601
|
+
if (!deepEqual(a[i], b[i])) {
|
|
2602
|
+
return false;
|
|
2603
|
+
}
|
|
2604
|
+
}
|
|
2605
|
+
return true;
|
|
2606
|
+
}
|
|
2607
|
+
keys = Object.keys(a);
|
|
2608
|
+
length = keys.length;
|
|
2609
|
+
if (length !== Object.keys(b).length) {
|
|
2610
|
+
return false;
|
|
2611
|
+
}
|
|
2612
|
+
for (i = length; i-- !== 0;) {
|
|
2613
|
+
if (!{}.hasOwnProperty.call(b, keys[i])) {
|
|
2614
|
+
return false;
|
|
2615
|
+
}
|
|
2616
|
+
}
|
|
2617
|
+
for (i = length; i-- !== 0;) {
|
|
2618
|
+
const key = keys[i];
|
|
2619
|
+
if (key === '_owner' && a.$$typeof) {
|
|
2620
|
+
continue;
|
|
2621
|
+
}
|
|
2622
|
+
if (!deepEqual(a[key], b[key])) {
|
|
2623
|
+
return false;
|
|
2624
|
+
}
|
|
2625
|
+
}
|
|
2626
|
+
return true;
|
|
2627
|
+
}
|
|
2628
|
+
return a !== a && b !== b;
|
|
2629
|
+
}
|
|
2630
|
+
|
|
2631
|
+
function getDPR(element) {
|
|
2632
|
+
if (typeof window === 'undefined') {
|
|
2633
|
+
return 1;
|
|
2634
|
+
}
|
|
2635
|
+
const win = element.ownerDocument.defaultView || window;
|
|
2636
|
+
return win.devicePixelRatio || 1;
|
|
2637
|
+
}
|
|
2638
|
+
|
|
2639
|
+
function roundByDPR(element, value) {
|
|
2640
|
+
const dpr = getDPR(element);
|
|
2641
|
+
return Math.round(value * dpr) / dpr;
|
|
2642
|
+
}
|
|
2643
|
+
|
|
2644
|
+
function useLatestRef(value) {
|
|
2645
|
+
const ref = React__namespace.useRef(value);
|
|
2646
|
+
index(() => {
|
|
2647
|
+
ref.current = value;
|
|
2648
|
+
});
|
|
2649
|
+
return ref;
|
|
2650
|
+
}
|
|
2651
|
+
|
|
2652
|
+
/**
|
|
2653
|
+
* Provides data to position a floating element.
|
|
2654
|
+
* @see https://floating-ui.com/docs/useFloating
|
|
2655
|
+
*/
|
|
2656
|
+
function useFloating(options) {
|
|
2657
|
+
if (options === void 0) {
|
|
2658
|
+
options = {};
|
|
2659
|
+
}
|
|
2660
|
+
const {
|
|
2661
|
+
placement = 'bottom',
|
|
2662
|
+
strategy = 'absolute',
|
|
2663
|
+
middleware = [],
|
|
2664
|
+
platform,
|
|
2665
|
+
elements: {
|
|
2666
|
+
reference: externalReference,
|
|
2667
|
+
floating: externalFloating
|
|
2668
|
+
} = {},
|
|
2669
|
+
transform = true,
|
|
2670
|
+
whileElementsMounted,
|
|
2671
|
+
open
|
|
2672
|
+
} = options;
|
|
2673
|
+
const [data, setData] = React__namespace.useState({
|
|
2674
|
+
x: 0,
|
|
2675
|
+
y: 0,
|
|
2676
|
+
strategy,
|
|
2677
|
+
placement,
|
|
2678
|
+
middlewareData: {},
|
|
2679
|
+
isPositioned: false
|
|
2680
|
+
});
|
|
2681
|
+
const [latestMiddleware, setLatestMiddleware] = React__namespace.useState(middleware);
|
|
2682
|
+
if (!deepEqual(latestMiddleware, middleware)) {
|
|
2683
|
+
setLatestMiddleware(middleware);
|
|
2684
|
+
}
|
|
2685
|
+
const [_reference, _setReference] = React__namespace.useState(null);
|
|
2686
|
+
const [_floating, _setFloating] = React__namespace.useState(null);
|
|
2687
|
+
const setReference = React__namespace.useCallback(node => {
|
|
2688
|
+
if (node !== referenceRef.current) {
|
|
2689
|
+
referenceRef.current = node;
|
|
2690
|
+
_setReference(node);
|
|
2691
|
+
}
|
|
2692
|
+
}, []);
|
|
2693
|
+
const setFloating = React__namespace.useCallback(node => {
|
|
2694
|
+
if (node !== floatingRef.current) {
|
|
2695
|
+
floatingRef.current = node;
|
|
2696
|
+
_setFloating(node);
|
|
2697
|
+
}
|
|
2698
|
+
}, []);
|
|
2699
|
+
const referenceEl = externalReference || _reference;
|
|
2700
|
+
const floatingEl = externalFloating || _floating;
|
|
2701
|
+
const referenceRef = React__namespace.useRef(null);
|
|
2702
|
+
const floatingRef = React__namespace.useRef(null);
|
|
2703
|
+
const dataRef = React__namespace.useRef(data);
|
|
2704
|
+
const hasWhileElementsMounted = whileElementsMounted != null;
|
|
2705
|
+
const whileElementsMountedRef = useLatestRef(whileElementsMounted);
|
|
2706
|
+
const platformRef = useLatestRef(platform);
|
|
2707
|
+
const openRef = useLatestRef(open);
|
|
2708
|
+
const update = React__namespace.useCallback(() => {
|
|
2709
|
+
if (!referenceRef.current || !floatingRef.current) {
|
|
2710
|
+
return;
|
|
2711
|
+
}
|
|
2712
|
+
const config = {
|
|
2713
|
+
placement,
|
|
2714
|
+
strategy,
|
|
2715
|
+
middleware: latestMiddleware
|
|
2716
|
+
};
|
|
2717
|
+
if (platformRef.current) {
|
|
2718
|
+
config.platform = platformRef.current;
|
|
2719
|
+
}
|
|
2720
|
+
computePosition(referenceRef.current, floatingRef.current, config).then(data => {
|
|
2721
|
+
const fullData = {
|
|
2722
|
+
...data,
|
|
2723
|
+
// The floating element's position may be recomputed while it's closed
|
|
2724
|
+
// but still mounted (such as when transitioning out). To ensure
|
|
2725
|
+
// `isPositioned` will be `false` initially on the next open, avoid
|
|
2726
|
+
// setting it to `true` when `open === false` (must be specified).
|
|
2727
|
+
isPositioned: openRef.current !== false
|
|
2728
|
+
};
|
|
2729
|
+
if (isMountedRef.current && !deepEqual(dataRef.current, fullData)) {
|
|
2730
|
+
dataRef.current = fullData;
|
|
2731
|
+
ReactDOM__namespace.flushSync(() => {
|
|
2732
|
+
setData(fullData);
|
|
2733
|
+
});
|
|
2734
|
+
}
|
|
2735
|
+
});
|
|
2736
|
+
}, [latestMiddleware, placement, strategy, platformRef, openRef]);
|
|
2737
|
+
index(() => {
|
|
2738
|
+
if (open === false && dataRef.current.isPositioned) {
|
|
2739
|
+
dataRef.current.isPositioned = false;
|
|
2740
|
+
setData(data => ({
|
|
2741
|
+
...data,
|
|
2742
|
+
isPositioned: false
|
|
2743
|
+
}));
|
|
2744
|
+
}
|
|
2745
|
+
}, [open]);
|
|
2746
|
+
const isMountedRef = React__namespace.useRef(false);
|
|
2747
|
+
index(() => {
|
|
2748
|
+
isMountedRef.current = true;
|
|
2749
|
+
return () => {
|
|
2750
|
+
isMountedRef.current = false;
|
|
2751
|
+
};
|
|
2752
|
+
}, []);
|
|
2753
|
+
index(() => {
|
|
2754
|
+
if (referenceEl) referenceRef.current = referenceEl;
|
|
2755
|
+
if (floatingEl) floatingRef.current = floatingEl;
|
|
2756
|
+
if (referenceEl && floatingEl) {
|
|
2757
|
+
if (whileElementsMountedRef.current) {
|
|
2758
|
+
return whileElementsMountedRef.current(referenceEl, floatingEl, update);
|
|
2759
|
+
}
|
|
2760
|
+
update();
|
|
2761
|
+
}
|
|
2762
|
+
}, [referenceEl, floatingEl, update, whileElementsMountedRef, hasWhileElementsMounted]);
|
|
2763
|
+
const refs = React__namespace.useMemo(() => ({
|
|
2764
|
+
reference: referenceRef,
|
|
2765
|
+
floating: floatingRef,
|
|
2766
|
+
setReference,
|
|
2767
|
+
setFloating
|
|
2768
|
+
}), [setReference, setFloating]);
|
|
2769
|
+
const elements = React__namespace.useMemo(() => ({
|
|
2770
|
+
reference: referenceEl,
|
|
2771
|
+
floating: floatingEl
|
|
2772
|
+
}), [referenceEl, floatingEl]);
|
|
2773
|
+
const floatingStyles = React__namespace.useMemo(() => {
|
|
2774
|
+
const initialStyles = {
|
|
2775
|
+
position: strategy,
|
|
2776
|
+
left: 0,
|
|
2777
|
+
top: 0
|
|
2778
|
+
};
|
|
2779
|
+
if (!elements.floating) {
|
|
2780
|
+
return initialStyles;
|
|
2781
|
+
}
|
|
2782
|
+
const x = roundByDPR(elements.floating, data.x);
|
|
2783
|
+
const y = roundByDPR(elements.floating, data.y);
|
|
2784
|
+
if (transform) {
|
|
2785
|
+
return {
|
|
2786
|
+
...initialStyles,
|
|
2787
|
+
transform: "translate(" + x + "px, " + y + "px)",
|
|
2788
|
+
...(getDPR(elements.floating) >= 1.5 && {
|
|
2789
|
+
willChange: 'transform'
|
|
2790
|
+
})
|
|
2791
|
+
};
|
|
2792
|
+
}
|
|
2793
|
+
return {
|
|
2794
|
+
position: strategy,
|
|
2795
|
+
left: x,
|
|
2796
|
+
top: y
|
|
2797
|
+
};
|
|
2798
|
+
}, [strategy, transform, elements.floating, data.x, data.y]);
|
|
2799
|
+
return React__namespace.useMemo(() => ({
|
|
2800
|
+
...data,
|
|
2801
|
+
update,
|
|
2802
|
+
refs,
|
|
2803
|
+
elements,
|
|
2804
|
+
floatingStyles
|
|
2805
|
+
}), [data, update, refs, elements, floatingStyles]);
|
|
2806
|
+
}
|
|
2807
|
+
|
|
2808
|
+
/**
|
|
2809
|
+
* Provides data to position an inner element of the floating element so that it
|
|
2810
|
+
* appears centered to the reference element.
|
|
2811
|
+
* This wraps the core `arrow` middleware to allow React refs as the element.
|
|
2812
|
+
* @see https://floating-ui.com/docs/arrow
|
|
2813
|
+
*/
|
|
2814
|
+
const arrow$1 = options => {
|
|
2815
|
+
function isRef(value) {
|
|
2816
|
+
return {}.hasOwnProperty.call(value, 'current');
|
|
2817
|
+
}
|
|
2818
|
+
return {
|
|
2819
|
+
name: 'arrow',
|
|
2820
|
+
options,
|
|
2821
|
+
fn(state) {
|
|
2822
|
+
const {
|
|
2823
|
+
element,
|
|
2824
|
+
padding
|
|
2825
|
+
} = typeof options === 'function' ? options(state) : options;
|
|
2826
|
+
if (element && isRef(element)) {
|
|
2827
|
+
if (element.current != null) {
|
|
2828
|
+
return arrow$2({
|
|
2829
|
+
element: element.current,
|
|
2830
|
+
padding
|
|
2831
|
+
}).fn(state);
|
|
2832
|
+
}
|
|
2833
|
+
return {};
|
|
2834
|
+
}
|
|
2835
|
+
if (element) {
|
|
2836
|
+
return arrow$2({
|
|
2837
|
+
element,
|
|
2838
|
+
padding
|
|
2839
|
+
}).fn(state);
|
|
2840
|
+
}
|
|
2841
|
+
return {};
|
|
2842
|
+
}
|
|
2843
|
+
};
|
|
2844
|
+
};
|
|
2845
|
+
|
|
2846
|
+
/**
|
|
2847
|
+
* Modifies the placement by translating the floating element along the
|
|
2848
|
+
* specified axes.
|
|
2849
|
+
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
|
2850
|
+
* object may be passed.
|
|
2851
|
+
* @see https://floating-ui.com/docs/offset
|
|
2852
|
+
*/
|
|
2853
|
+
const offset = (options, deps) => ({
|
|
2854
|
+
...offset$1(options),
|
|
2855
|
+
options: [options, deps]
|
|
2856
|
+
});
|
|
2857
|
+
|
|
2858
|
+
/**
|
|
2859
|
+
* Optimizes the visibility of the floating element by shifting it in order to
|
|
2860
|
+
* keep it in view when it will overflow the clipping boundary.
|
|
2861
|
+
* @see https://floating-ui.com/docs/shift
|
|
2862
|
+
*/
|
|
2863
|
+
const shift = (options, deps) => ({
|
|
2864
|
+
...shift$1(options),
|
|
2865
|
+
options: [options, deps]
|
|
2866
|
+
});
|
|
2867
|
+
|
|
2868
|
+
/**
|
|
2869
|
+
* Optimizes the visibility of the floating element by flipping the `placement`
|
|
2870
|
+
* in order to keep it in view when the preferred placement(s) will overflow the
|
|
2871
|
+
* clipping boundary. Alternative to `autoPlacement`.
|
|
2872
|
+
* @see https://floating-ui.com/docs/flip
|
|
2873
|
+
*/
|
|
2874
|
+
const flip = (options, deps) => ({
|
|
2875
|
+
...flip$1(options),
|
|
2876
|
+
options: [options, deps]
|
|
2877
|
+
});
|
|
2878
|
+
|
|
2879
|
+
/**
|
|
2880
|
+
* Provides data that allows you to change the size of the floating element —
|
|
2881
|
+
* for instance, prevent it from overflowing the clipping boundary or match the
|
|
2882
|
+
* width of the reference element.
|
|
2883
|
+
* @see https://floating-ui.com/docs/size
|
|
2884
|
+
*/
|
|
2885
|
+
const size = (options, deps) => ({
|
|
2886
|
+
...size$1(options),
|
|
2887
|
+
options: [options, deps]
|
|
2888
|
+
});
|
|
2889
|
+
|
|
2890
|
+
/**
|
|
2891
|
+
* Provides data to position an inner element of the floating element so that it
|
|
2892
|
+
* appears centered to the reference element.
|
|
2893
|
+
* This wraps the core `arrow` middleware to allow React refs as the element.
|
|
2894
|
+
* @see https://floating-ui.com/docs/arrow
|
|
2895
|
+
*/
|
|
2896
|
+
const arrow = (options, deps) => ({
|
|
2897
|
+
...arrow$1(options),
|
|
2898
|
+
options: [options, deps]
|
|
2899
|
+
});
|
|
2900
|
+
|
|
2901
|
+
function TooltipTrigger({ as, asChild = false, children, ...props }) {
|
|
2902
|
+
const TooltipTriggerElement = as || react.Button;
|
|
2903
|
+
if (asChild && React.isValidElement(children))
|
|
2904
|
+
return React.cloneElement(children, props);
|
|
2905
|
+
return jsxRuntime.jsx(TooltipTriggerElement, { ...props, children: children });
|
|
2906
|
+
}
|
|
2907
|
+
function TooltipPanel({ as, children, className, style, ...props }) {
|
|
2908
|
+
const TooltipPanelElement = as || 'div';
|
|
2909
|
+
return (jsxRuntime.jsx(TooltipPanelElement, { ...props, className: twMerge('absolute top-0 left-0 z-50 w-max rounded-md bg-neutral-50 px-2 py-1 text-sm text-neutral-950 opacity-0 shadow-lg outline-1 outline-neutral-400 data-portal:fixed data-ready:animate-fade-in dark:bg-neutral-800 dark:text-neutral-50 dark:shadow-none dark:-outline-offset-1 dark:outline-neutral-600', className), style: style, children: children }));
|
|
2910
|
+
}
|
|
2911
|
+
function Tooltip({ anchor = 'top', arrow: arrow$1, arrowClassName, children, delay = 500, offset: offset$1 = 8, onClose, onOpen, portal, }) {
|
|
2912
|
+
const [isOpen, setIsOpen] = React.useState(false), timeoutRef = React.useRef(undefined), arrowRef = React.useRef(null);
|
|
2913
|
+
const [bodyElement, setBodyElement] = React.useState(() => typeof window !== 'undefined' ? document.body : null);
|
|
2914
|
+
React.useEffect(() => {
|
|
2915
|
+
if (typeof window !== 'undefined' && !bodyElement) {
|
|
2916
|
+
const documentBody = document.body;
|
|
2917
|
+
setBodyElement(documentBody);
|
|
2918
|
+
}
|
|
2919
|
+
}, [bodyElement, portal]);
|
|
2920
|
+
const { refs, floatingStyles, isPositioned, placement, middlewareData } = useFloating({
|
|
2921
|
+
middleware: [
|
|
2922
|
+
offset(offset$1),
|
|
2923
|
+
flip({ padding: 20 }),
|
|
2924
|
+
shift({ padding: 20 }),
|
|
2925
|
+
size({
|
|
2926
|
+
apply({ availableHeight, availableWidth, elements }) {
|
|
2927
|
+
const height = `${Math.max(0, availableHeight) / 16}rem`, width = `${Math.min(418, availableWidth) / 16}rem`;
|
|
2928
|
+
elements.floating.style.maxHeight = height;
|
|
2929
|
+
elements.floating.style.maxWidth = width;
|
|
2930
|
+
},
|
|
2931
|
+
}),
|
|
2932
|
+
...(arrowRef.current ? [arrow({ element: arrowRef.current })] : []),
|
|
2933
|
+
],
|
|
2934
|
+
placement: anchor,
|
|
2935
|
+
strategy: portal ? 'fixed' : 'absolute',
|
|
2936
|
+
whileElementsMounted: autoUpdate,
|
|
2937
|
+
open: isOpen,
|
|
2938
|
+
});
|
|
2939
|
+
const openTooltip = React.useCallback(() => {
|
|
2940
|
+
clearTimeout(timeoutRef.current);
|
|
2941
|
+
if (delay > 0) {
|
|
2942
|
+
timeoutRef.current = setTimeout(() => {
|
|
2943
|
+
setIsOpen(true);
|
|
2944
|
+
onOpen?.();
|
|
2945
|
+
}, delay);
|
|
2946
|
+
}
|
|
2947
|
+
else {
|
|
2948
|
+
setIsOpen(true);
|
|
2949
|
+
onOpen?.();
|
|
2950
|
+
}
|
|
2951
|
+
}, [delay, onOpen]);
|
|
2952
|
+
const closeTooltip = React.useCallback(() => {
|
|
2953
|
+
clearTimeout(timeoutRef.current);
|
|
2954
|
+
setIsOpen(false);
|
|
2955
|
+
onClose?.();
|
|
2956
|
+
}, [onClose]);
|
|
2957
|
+
React.useEffect(() => {
|
|
2958
|
+
return () => {
|
|
2959
|
+
clearTimeout(timeoutRef.current);
|
|
2960
|
+
};
|
|
2961
|
+
}, []);
|
|
2962
|
+
const content = typeof children === 'function' ? children({ openTooltip, closeTooltip }) : children;
|
|
2963
|
+
const triggerElement = findComponentByType(content, TooltipTrigger), contentElement = findComponentByType(content, TooltipPanel);
|
|
2964
|
+
if (!contentElement)
|
|
2965
|
+
throw new Error('TooltipPanel must be defined in Tooltip children');
|
|
2966
|
+
if (!triggerElement && typeof children !== 'function')
|
|
2967
|
+
throw new Error('TooltipTrigger must be provided when not using render prop pattern');
|
|
2968
|
+
const arrowStyles = {};
|
|
2969
|
+
const reversedAnchor = {
|
|
2970
|
+
top: 'bottom',
|
|
2971
|
+
right: 'left',
|
|
2972
|
+
bottom: 'top',
|
|
2973
|
+
left: 'right',
|
|
2974
|
+
'top-start': 'bottom left',
|
|
2975
|
+
'top-end': 'bottom right',
|
|
2976
|
+
'right-start': 'top left',
|
|
2977
|
+
'right-end': 'bottom left',
|
|
2978
|
+
'bottom-start': 'top left',
|
|
2979
|
+
'bottom-end': 'top right',
|
|
2980
|
+
'left-start': 'top right',
|
|
2981
|
+
'left-end': 'bottom right',
|
|
2982
|
+
}[placement];
|
|
2983
|
+
if (middlewareData.arrow && arrow$1) {
|
|
2984
|
+
const { x, y } = middlewareData.arrow;
|
|
2985
|
+
const staticSide = {
|
|
2986
|
+
top: 'bottom',
|
|
2987
|
+
right: 'left',
|
|
2988
|
+
bottom: 'top',
|
|
2989
|
+
left: 'right',
|
|
2990
|
+
}[placement.split('-')[0]];
|
|
2991
|
+
if (staticSide) {
|
|
2992
|
+
arrowStyles[staticSide] = '-4px';
|
|
2993
|
+
if (x != null)
|
|
2994
|
+
arrowStyles.left = `${x}px`;
|
|
2995
|
+
if (y != null)
|
|
2996
|
+
arrowStyles.top = `${y}px`;
|
|
2997
|
+
}
|
|
2998
|
+
}
|
|
2999
|
+
const getArrowLocationClasses = () => {
|
|
3000
|
+
switch (placement) {
|
|
3001
|
+
case 'bottom':
|
|
3002
|
+
case 'bottom-end':
|
|
3003
|
+
case 'bottom-start':
|
|
3004
|
+
return '-translate-y-1';
|
|
3005
|
+
case 'top':
|
|
3006
|
+
case 'top-end':
|
|
3007
|
+
case 'top-start':
|
|
3008
|
+
return 'rotate-180 translate-y-1';
|
|
3009
|
+
case 'left':
|
|
3010
|
+
case 'left-end':
|
|
3011
|
+
case 'left-start':
|
|
3012
|
+
return 'rotate-90 translate-x-2';
|
|
3013
|
+
case 'right':
|
|
3014
|
+
case 'right-end':
|
|
3015
|
+
case 'right-start':
|
|
3016
|
+
return '-rotate-90 -translate-x-2';
|
|
3017
|
+
}
|
|
3018
|
+
};
|
|
3019
|
+
const arrowLocationClasses = getArrowLocationClasses();
|
|
3020
|
+
const handleMouseEnter = e => {
|
|
3021
|
+
openTooltip();
|
|
3022
|
+
triggerElement?.props.onMouseEnter?.(e);
|
|
3023
|
+
};
|
|
3024
|
+
const handleMouseLeave = e => {
|
|
3025
|
+
triggerElement?.props.onMouseLeave?.(e);
|
|
3026
|
+
closeTooltip();
|
|
3027
|
+
};
|
|
3028
|
+
const handleTouchStart = e => {
|
|
3029
|
+
openTooltip();
|
|
3030
|
+
triggerElement?.props.onTouchStart?.(e);
|
|
3031
|
+
};
|
|
3032
|
+
const handleFocus = e => {
|
|
3033
|
+
triggerElement?.props.onFocus?.(e);
|
|
3034
|
+
openTooltip();
|
|
3035
|
+
};
|
|
3036
|
+
const handleBlur = e => {
|
|
3037
|
+
triggerElement?.props.onBlur?.(e);
|
|
3038
|
+
closeTooltip();
|
|
3039
|
+
};
|
|
3040
|
+
const tooltipContent = (jsxRuntime.jsx(jsxRuntime.Fragment, { children: isOpen &&
|
|
3041
|
+
contentElement &&
|
|
3042
|
+
React.cloneElement(contentElement, {
|
|
3043
|
+
children: (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [contentElement.props.children, arrow$1 && (jsxRuntime.jsx(ArrowSvg, { className: twMerge('absolute', arrowLocationClasses, arrowClassName), style: arrowStyles, "data-tooltip-arrow": true }))] })),
|
|
3044
|
+
...(portal ? { 'data-portal': true } : {}),
|
|
3045
|
+
...(isPositioned ? { 'data-ready': true } : {}),
|
|
3046
|
+
onMouseEnter: openTooltip,
|
|
3047
|
+
onMouseLeave: closeTooltip,
|
|
3048
|
+
onTouchStart: handleTouchStart,
|
|
3049
|
+
ref: (node) => {
|
|
3050
|
+
refs.setFloating(node);
|
|
3051
|
+
if (node && arrow$1) {
|
|
3052
|
+
const arrowElement = node.querySelector('[data-tooltip-arrow]');
|
|
3053
|
+
if (arrowElement)
|
|
3054
|
+
arrowRef.current = arrowElement;
|
|
3055
|
+
}
|
|
3056
|
+
},
|
|
3057
|
+
role: 'tooltip',
|
|
3058
|
+
style: {
|
|
3059
|
+
...contentElement.props.style,
|
|
3060
|
+
...floatingStyles,
|
|
3061
|
+
transformOrigin: reversedAnchor,
|
|
3062
|
+
pointerEvents: 'none',
|
|
3063
|
+
},
|
|
3064
|
+
}) }));
|
|
3065
|
+
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [triggerElement &&
|
|
3066
|
+
React.cloneElement(triggerElement, {
|
|
3067
|
+
ref: refs.setReference,
|
|
3068
|
+
onMouseEnter: handleMouseEnter,
|
|
3069
|
+
onMouseLeave: handleMouseLeave,
|
|
3070
|
+
onFocus: handleFocus,
|
|
3071
|
+
onBlur: handleBlur,
|
|
3072
|
+
'aria-describedby': isOpen ? 'tooltip' : undefined,
|
|
3073
|
+
}), portal ? bodyElement && ReactDOM.createPortal(tooltipContent, bodyElement) : tooltipContent] }));
|
|
3074
|
+
}
|
|
3075
|
+
function ArrowSvg({ className, ...props }) {
|
|
3076
|
+
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 20 10', className: twMerge('h-2.5 w-5 fill-none', className), ...props, children: [jsxRuntime.jsx("path", { d: 'M9.66437 2.60207L4.80758 6.97318C4.07308 7.63423 3.11989 8 2.13172 8H0V10H20V8H18.5349C17.5468 8 16.5936 7.63423 15.8591 6.97318L11.0023 2.60207C10.622 2.2598 10.0447 2.25979 9.66437 2.60207Z', className: 'fill-neutral-50 dark:fill-neutral-800' }), jsxRuntime.jsx("path", { d: 'M8.99542 1.85876C9.75604 1.17425 10.9106 1.17422 11.6713 1.85878L16.5281 6.22989C17.0789 6.72568 17.7938 7.00001 18.5349 7.00001L15.89 7L11.0023 2.60207C10.622 2.2598 10.0447 2.2598 9.66436 2.60207L4.77734 7L2.13171 7.00001C2.87284 7.00001 3.58774 6.72568 4.13861 6.22989L8.99542 1.85876Z', className: 'fill-neutral-400 dark:fill-none' }), jsxRuntime.jsx("path", { d: 'M10.3333 3.34539L5.47654 7.71648C4.55842 8.54279 3.36693 9 2.13172 9H0V8H2.13172C3.11989 8 4.07308 7.63423 4.80758 6.97318L9.66437 2.60207C10.0447 2.25979 10.622 2.2598 11.0023 2.60207L15.8591 6.97318C16.5936 7.63423 17.5468 8 18.5349 8H20V9H18.5349C17.2998 9 16.1083 8.54278 15.1901 7.71648L10.3333 3.34539Z', className: 'dark:fill-neutral-600' })] }));
|
|
3077
|
+
}
|
|
3078
|
+
|
|
3079
|
+
function Input({ checked, className, defaultValue, description, descriptionProps, disabled, fieldProps, invalid = true, label, labelProps, name, onBlur, onChange, placeholder, ref, required = true, type, value, ...props }) {
|
|
3080
|
+
const [formContext, setFormContext] = useFormContext(), [errorMessage, setErrorMessage] = React.useState(undefined);
|
|
3081
|
+
if (placeholder === '*')
|
|
3082
|
+
placeholder = name + (required && !label ? '*' : '');
|
|
3083
|
+
if (label === '*')
|
|
3084
|
+
label = name;
|
|
3085
|
+
const uniqueID = React.useId(), fieldContextID = toLowerCase(name, [, '_']) + '§' + uniqueID;
|
|
3086
|
+
if (Boolean(formContext?.find(field => field.id === fieldContextID)?.invalid))
|
|
3087
|
+
invalid = true;
|
|
3088
|
+
const getFieldContextType = () => {
|
|
3089
|
+
switch (type) {
|
|
3090
|
+
case 'email':
|
|
3091
|
+
return 'email';
|
|
3092
|
+
case 'file':
|
|
3093
|
+
return 'file';
|
|
3094
|
+
case 'number':
|
|
3095
|
+
return 'number';
|
|
3096
|
+
case 'tel':
|
|
3097
|
+
return 'tel';
|
|
3098
|
+
case 'url':
|
|
3099
|
+
return 'url';
|
|
3100
|
+
default:
|
|
3101
|
+
return 'string';
|
|
3102
|
+
}
|
|
3103
|
+
};
|
|
3104
|
+
const fieldContextType = getFieldContextType();
|
|
3105
|
+
const initialFieldContext = defineField({
|
|
3106
|
+
type: fieldContextType,
|
|
3107
|
+
id: fieldContextID,
|
|
3108
|
+
invalid,
|
|
3109
|
+
name,
|
|
3110
|
+
required,
|
|
3111
|
+
value: value ? `${value}` : defaultValue ? `${defaultValue}` : '',
|
|
3112
|
+
});
|
|
3113
|
+
React.useEffect(() => {
|
|
3114
|
+
if (!setFormContext)
|
|
3115
|
+
return;
|
|
3116
|
+
setFormContext(prevContext => {
|
|
3117
|
+
const otherFields = (prevContext || []).filter(field => field.id !== initialFieldContext.id);
|
|
3118
|
+
return [...otherFields, initialFieldContext];
|
|
3119
|
+
});
|
|
3120
|
+
return () => {
|
|
3121
|
+
setFormContext(prevContext => (prevContext || []).filter(field => field.id !== initialFieldContext.id));
|
|
3122
|
+
};
|
|
3123
|
+
}, [setFormContext]);
|
|
3124
|
+
const fieldContext = formContext?.find(({ id: fieldID }) => fieldID === initialFieldContext.id) || initialFieldContext;
|
|
3125
|
+
const validateField = (validValue) => {
|
|
3126
|
+
const noValue = !validValue || validValue === '';
|
|
3127
|
+
if (!required && noValue)
|
|
3128
|
+
return true;
|
|
3129
|
+
const errorMessageList = [];
|
|
3130
|
+
if (noValue) {
|
|
3131
|
+
errorMessageList.push('This field is required.');
|
|
3132
|
+
setErrorMessage(errorMessageList.join(' '));
|
|
3133
|
+
return false;
|
|
3134
|
+
}
|
|
3135
|
+
switch (type) {
|
|
3136
|
+
case 'email':
|
|
3137
|
+
if (!isEmail(validValue))
|
|
3138
|
+
errorMessageList.push('This is not a valid email.');
|
|
3139
|
+
break;
|
|
3140
|
+
case 'number':
|
|
3141
|
+
if (isNaN(Number(validValue)))
|
|
3142
|
+
errorMessageList.push('This is not a valid number.');
|
|
3143
|
+
break;
|
|
3144
|
+
case 'tel':
|
|
3145
|
+
if (!isPhoneNumber(validValue))
|
|
3146
|
+
errorMessageList.push('This is not a valid phone number.');
|
|
3147
|
+
break;
|
|
3148
|
+
}
|
|
3149
|
+
if (errorMessageList.length === 0)
|
|
3150
|
+
return true;
|
|
3151
|
+
setErrorMessage(errorMessageList.join(' '));
|
|
3152
|
+
return false;
|
|
3153
|
+
};
|
|
3154
|
+
const handleChange = e => {
|
|
3155
|
+
if (disabled) {
|
|
3156
|
+
e.preventDefault();
|
|
3157
|
+
return;
|
|
3158
|
+
}
|
|
3159
|
+
const { currentTarget } = e, { value: newValue } = currentTarget;
|
|
3160
|
+
setFormContext?.(prevContext => {
|
|
3161
|
+
if (!prevContext)
|
|
3162
|
+
return [];
|
|
3163
|
+
const field = prevContext.find(({ id: fieldID }) => fieldID === initialFieldContext.id);
|
|
3164
|
+
if (!field)
|
|
3165
|
+
throw new Error(`Field with id "${initialFieldContext.id}" not found in form context.`);
|
|
3166
|
+
const otherFields = prevContext.filter(({ id: fieldID }) => fieldID !== initialFieldContext.id);
|
|
3167
|
+
const updatedField = { ...field, value: newValue };
|
|
3168
|
+
const invalidField = validateField(newValue) === false;
|
|
3169
|
+
if (invalidField !== field.invalid)
|
|
3170
|
+
updatedField.invalid = invalidField;
|
|
3171
|
+
return [...otherFields, updatedField];
|
|
3172
|
+
});
|
|
3173
|
+
onChange?.(e);
|
|
3174
|
+
};
|
|
3175
|
+
const handleBlur = e => {
|
|
3176
|
+
if (disabled) {
|
|
3177
|
+
e.preventDefault();
|
|
3178
|
+
return;
|
|
3179
|
+
}
|
|
3180
|
+
const { currentTarget } = e, { value: newValue } = currentTarget;
|
|
3181
|
+
if (required)
|
|
3182
|
+
validateField(newValue);
|
|
3183
|
+
switch (type) {
|
|
3184
|
+
case 'email':
|
|
3185
|
+
setFormContext?.(prevContext => {
|
|
3186
|
+
if (!prevContext)
|
|
3187
|
+
return [];
|
|
3188
|
+
const field = prevContext.find(({ id: fieldID }) => fieldID === initialFieldContext.id);
|
|
3189
|
+
if (!field)
|
|
3190
|
+
throw new Error(`Field with id "${initialFieldContext.id}" not found in form context.`);
|
|
3191
|
+
const otherFields = prevContext.filter(({ id: fieldID }) => fieldID !== initialFieldContext.id);
|
|
3192
|
+
const updatedField = { ...field, value: newValue.toLowerCase() };
|
|
3193
|
+
return [...otherFields, updatedField];
|
|
3194
|
+
});
|
|
3195
|
+
break;
|
|
3196
|
+
case 'tel':
|
|
3197
|
+
setFormContext?.(prevContext => {
|
|
3198
|
+
if (!prevContext)
|
|
3199
|
+
return [];
|
|
3200
|
+
const field = prevContext.find(({ id: fieldID }) => fieldID === initialFieldContext.id);
|
|
3201
|
+
if (!field)
|
|
3202
|
+
throw new Error(`Field with id "${initialFieldContext.id}" not found in form context.`);
|
|
3203
|
+
const otherFields = prevContext.filter(({ id: fieldID }) => fieldID !== initialFieldContext.id);
|
|
3204
|
+
const updatedField = { ...field, value: formatPhoneNumber(newValue, '1') };
|
|
3205
|
+
return [...otherFields, updatedField];
|
|
3206
|
+
});
|
|
3207
|
+
break;
|
|
3208
|
+
}
|
|
3209
|
+
onBlur?.(e);
|
|
3210
|
+
};
|
|
3211
|
+
const restFieldProps = fieldProps
|
|
3212
|
+
? Object.fromEntries(Object.entries(fieldProps).filter(([key]) => key !== 'className'))
|
|
3213
|
+
: {};
|
|
3214
|
+
const restLabelProps = labelProps
|
|
3215
|
+
? Object.fromEntries(Object.entries(labelProps).filter(([key]) => key !== 'className'))
|
|
3216
|
+
: {};
|
|
3217
|
+
const restDescriptionProps = descriptionProps
|
|
3218
|
+
? Object.fromEntries(Object.entries(descriptionProps).filter(([key]) => key !== 'className'))
|
|
3219
|
+
: {};
|
|
3220
|
+
return (jsxRuntime.jsxs(react.Field, { ...restFieldProps, className: bag => twMerge('grid gap-1', typeof fieldProps?.className === 'function' ? fieldProps?.className(bag) : fieldProps?.className), disabled: disabled, children: [label && (jsxRuntime.jsx(react.Label, { ...restLabelProps, className: bag => twMerge('text-sm font-medium', required ? 'after:text-ui-red after:content-["_*"]' : '', typeof labelProps?.className === 'function' ? labelProps?.className(bag) : labelProps?.className), children: label })), jsxRuntime.jsxs("div", { children: [jsxRuntime.jsx(react.Input, { ...props, className: bag => twMerge(
|
|
3221
|
+
// Base styles
|
|
3222
|
+
'w-full rounded-xl border-1 border-neutral-500/50 bg-neutral-100 py-1 pl-2 text-neutral-950 outline-offset-1 outline-ui-sky-blue/95 transition-[background-color] duration-300 ease-exponential dark:bg-neutral-700 dark:text-neutral-50',
|
|
3223
|
+
// Pseudo styles
|
|
3224
|
+
'focus-visible:bg-neutral-50 focus-visible:outline-3 active:bg-neutral-200 dark:focus-visible:bg-neutral-600 dark:active:bg-neutral-800 pointer-fine:hover:bg-neutral-50 pointer-fine:active:bg-neutral-200 dark:pointer-fine:hover:bg-neutral-600 dark:pointer-fine:active:bg-neutral-800',
|
|
3225
|
+
// user-invalid styles
|
|
3226
|
+
'user-invalid:border-ui-red user-invalid:bg-[color-mix(in_oklab,var(--color-ui-red)_20%,var(--color-neutral-100))] user-invalid:focus-visible:bg-[color-mix(in_oklab,var(--color-ui-red)_1%,var(--color-neutral-100))] user-invalid:active:bg-[color-mix(in_oklab,var(--color-ui-red)_25%,var(--color-neutral-100))] dark:user-invalid:bg-[color-mix(in_oklab,var(--color-ui-red)_20%,var(--color-neutral-800))] dark:user-invalid:focus-visible:bg-[color-mix(in_oklab,var(--color-ui-red)_1%,var(--color-neutral-800))] dark:user-invalid:active:bg-[color-mix(in_oklab,var(--color-ui-red)_25%,var(--color-neutral-800))] user-invalid:pointer-fine:hover:bg-[color-mix(in_oklab,var(--color-ui-red)_10%,var(--color-neutral-100))] user-invalid:pointer-fine:focus-visible:bg-[color-mix(in_oklab,var(--color-ui-red)_1%,var(--color-neutral-100))] user-invalid:pointer-fine:active:bg-[color-mix(in_oklab,var(--color-ui-red)_25%,var(--color-neutral-100))] dark:user-invalid:pointer-fine:hover:bg-[color-mix(in_oklab,var(--color-ui-red)_10%,var(--color-neutral-800))] dark:user-invalid:pointer-fine:focus-visible:bg-[color-mix(in_oklab,var(--color-ui-red)_1%,var(--color-neutral-800))] dark:user-invalid:pointer-fine:active:bg-[color-mix(in_oklab,var(--color-ui-red)_25%,var(--color-neutral-800))]',
|
|
3227
|
+
// Custom styles
|
|
3228
|
+
typeof className === 'function' ? className(bag) : className), invalid: invalid, onBlur: handleBlur, onChange: handleChange, placeholder: placeholder, ref: ref, required: required, type: type, value: fieldContext?.value }), fieldContext.invalid && errorMessage && (jsxRuntime.jsxs(Tooltip, { anchor: 'top-end', arrow: true, portal: true, children: [jsxRuntime.jsx(TooltipTrigger, { as: Button, className: 'absolute top-1.25 right-1.25 z-10 size-6 min-w-0', padding: 'none', rounded: 'md', theme: 'red', children: jsxRuntime.jsx(ExclamationmarkOctagon, { className: 'absolute top-1/2 left-1/2 size-full -translate-x-1/2 -translate-y-1/2 scale-70' }) }), jsxRuntime.jsx(TooltipPanel, { children: errorMessage })] }))] }), description && (jsxRuntime.jsx(react.Description, { ...restDescriptionProps, className: bag => twMerge('text-xs', typeof descriptionProps?.className === 'function'
|
|
3229
|
+
? descriptionProps?.className(bag)
|
|
3230
|
+
: descriptionProps?.className), children: description }))] }));
|
|
3231
|
+
}
|
|
3232
|
+
|
|
3233
|
+
function SubmitButton({ children, className, customTheme, error, incomplete, loading, success, type = 'submit', ...props }) {
|
|
3234
|
+
const [formStatus] = useFormStatus();
|
|
3235
|
+
const getFormStatusButtonClasses = () => {
|
|
3236
|
+
switch (formStatus) {
|
|
3237
|
+
case 'loading':
|
|
3238
|
+
return twSort('animate-pulse cursor-wait text-lg leading-6 font-black tracking-widest');
|
|
3239
|
+
case 'error':
|
|
3240
|
+
case 'success':
|
|
3241
|
+
return 'cursor-not-allowed';
|
|
3242
|
+
default:
|
|
3243
|
+
return undefined;
|
|
3244
|
+
}
|
|
3245
|
+
};
|
|
3246
|
+
const formStatusButtonClasses = getFormStatusButtonClasses();
|
|
3247
|
+
const getButtonText = () => {
|
|
3248
|
+
switch (formStatus) {
|
|
3249
|
+
case 'incomplete':
|
|
3250
|
+
return incomplete || 'Complete Form';
|
|
3251
|
+
case 'loading':
|
|
3252
|
+
return (loading || (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx("span", { className: 'inline-block animate-wave animation-delay-300', children: "\u2022" }), jsxRuntime.jsx("span", { className: 'inline-block animate-wave animation-delay-150', children: "\u2022" }), jsxRuntime.jsx("span", { className: 'inline-block animate-wave', children: "\u2022" })] })));
|
|
3253
|
+
case 'error':
|
|
3254
|
+
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [error || 'Error', ' ', jsxRuntime.jsx("span", { className: 'absolute top-1/2 ml-1.5 translate-y-[calc(-50%-1.5px)] text-2xl', children: "\u00D7" })] }));
|
|
3255
|
+
case 'success':
|
|
3256
|
+
return success || 'Successfully Submitted';
|
|
3257
|
+
default:
|
|
3258
|
+
return children || 'Submit';
|
|
3259
|
+
}
|
|
3260
|
+
};
|
|
3261
|
+
const buttonText = getButtonText();
|
|
3262
|
+
const getDataFormState = () => {
|
|
3263
|
+
switch (formStatus) {
|
|
3264
|
+
case 'error':
|
|
3265
|
+
return { 'data-error': true };
|
|
3266
|
+
case 'incomplete':
|
|
3267
|
+
return { 'data-incomplete': true };
|
|
3268
|
+
case 'loading':
|
|
3269
|
+
return { 'data-loading': true };
|
|
3270
|
+
case 'readonly':
|
|
3271
|
+
return { 'data-readonly': true };
|
|
3272
|
+
case 'ready':
|
|
3273
|
+
return { 'data-ready': true };
|
|
3274
|
+
case 'success':
|
|
3275
|
+
return { 'data-success': true };
|
|
3276
|
+
default:
|
|
3277
|
+
return {};
|
|
3278
|
+
}
|
|
3279
|
+
};
|
|
3280
|
+
const dataFormState = getDataFormState();
|
|
3281
|
+
return (jsxRuntime.jsx(Button, { ...props, ...dataFormState, as: 'button', className: twMerge([formStatusButtonClasses, 'w-full text-white data-loading:text-black', className]), customTheme: {
|
|
3282
|
+
themeColor: twMerge('data-error:[--theme-color:var(--color-ui-red)] data-incomplete:[--theme-color:var(--color-ui-grey)] data-loading:[--theme-color:var(--color-ui-yellow)] data-readonly:[--theme-color:var(--color-ui-grey)] data-ready:[--theme-color:var(--color-ui-blue)] data-success:[--theme-color:var(--color-ui-green)]', customTheme?.themeColor),
|
|
3283
|
+
}, theme: 'custom', type: type, children: buttonText }));
|
|
3284
|
+
}
|
|
3285
|
+
|
|
3286
|
+
function Textarea({ className, defaultValue, description, descriptionProps, disabled, fieldProps, invalid = true, label, labelProps, name, onBlur, onChange, placeholder, ref, required = true, value, ...props }) {
|
|
3287
|
+
const [formContext, setFormContext] = useFormContext(), [errorMessage, setErrorMessage] = React.useState(undefined);
|
|
3288
|
+
if (placeholder === '*')
|
|
3289
|
+
placeholder = name + (required && !label ? '*' : '');
|
|
3290
|
+
if (label === '*')
|
|
993
3291
|
label = name;
|
|
994
|
-
const uniqueID =
|
|
3292
|
+
const uniqueID = React.useId(), fieldContextID = toLowerCase(name, [, '_']) + '§' + uniqueID;
|
|
995
3293
|
if (Boolean(formContext?.find(field => field.id === fieldContextID)?.invalid))
|
|
996
3294
|
invalid = true;
|
|
997
3295
|
const initialFieldContext = defineField({
|
|
@@ -1002,7 +3300,7 @@ function Textarea({ className, defaultValue, description, descriptionProps, disa
|
|
|
1002
3300
|
required,
|
|
1003
3301
|
value: value ? `${value}` : defaultValue ? `${defaultValue}` : '',
|
|
1004
3302
|
});
|
|
1005
|
-
|
|
3303
|
+
React.useEffect(() => {
|
|
1006
3304
|
if (!setFormContext)
|
|
1007
3305
|
return;
|
|
1008
3306
|
setFormContext(prevContext => {
|
|
@@ -1014,13 +3312,26 @@ function Textarea({ className, defaultValue, description, descriptionProps, disa
|
|
|
1014
3312
|
};
|
|
1015
3313
|
}, [setFormContext]);
|
|
1016
3314
|
const fieldContext = formContext?.find(({ id: fieldID }) => fieldID === initialFieldContext.id) || initialFieldContext;
|
|
1017
|
-
const
|
|
3315
|
+
const validateField = (validValue) => {
|
|
3316
|
+
const noValue = !validValue || validValue === '';
|
|
3317
|
+
if (!required && noValue)
|
|
3318
|
+
return true;
|
|
3319
|
+
const errorMessageList = [];
|
|
3320
|
+
if (noValue) {
|
|
3321
|
+
errorMessageList.push('This field is required.');
|
|
3322
|
+
setErrorMessage(errorMessageList.join(' '));
|
|
3323
|
+
return false;
|
|
3324
|
+
}
|
|
3325
|
+
if (errorMessageList.length === 0)
|
|
3326
|
+
return true;
|
|
3327
|
+
setErrorMessage(errorMessageList.join(' '));
|
|
3328
|
+
return false;
|
|
3329
|
+
};
|
|
1018
3330
|
const handleChange = e => {
|
|
1019
3331
|
if (disabled) {
|
|
1020
3332
|
e.preventDefault();
|
|
1021
3333
|
return;
|
|
1022
3334
|
}
|
|
1023
|
-
clearTimeout(debounceTimerRef.current);
|
|
1024
3335
|
const { currentTarget } = e, { value: newValue } = currentTarget;
|
|
1025
3336
|
setFormContext?.(prevContext => {
|
|
1026
3337
|
if (!prevContext)
|
|
@@ -1030,25 +3341,11 @@ function Textarea({ className, defaultValue, description, descriptionProps, disa
|
|
|
1030
3341
|
throw new Error(`Field with id "${initialFieldContext.id}" not found in form context.`);
|
|
1031
3342
|
const otherFields = prevContext.filter(({ id: fieldID }) => fieldID !== initialFieldContext.id);
|
|
1032
3343
|
const updatedField = { ...field, value: newValue };
|
|
3344
|
+
const invalidField = validateField(newValue) === false;
|
|
3345
|
+
if (invalidField !== field.invalid)
|
|
3346
|
+
updatedField.invalid = invalidField;
|
|
1033
3347
|
return [...otherFields, updatedField];
|
|
1034
3348
|
});
|
|
1035
|
-
debounceTimerRef.current = setTimeout(() => {
|
|
1036
|
-
const field = formContext?.find(({ id: fieldID }) => fieldID === initialFieldContext.id);
|
|
1037
|
-
if (!field)
|
|
1038
|
-
return;
|
|
1039
|
-
const invalid = validateField(newValue, field) === false;
|
|
1040
|
-
if (invalid !== field.invalid)
|
|
1041
|
-
setFormContext?.(prevContext => {
|
|
1042
|
-
if (!prevContext)
|
|
1043
|
-
return [];
|
|
1044
|
-
const field = prevContext.find(({ id: fieldID }) => fieldID === initialFieldContext.id);
|
|
1045
|
-
if (!field)
|
|
1046
|
-
throw new Error(`Field with id "${initialFieldContext.id}" not found in form context.`);
|
|
1047
|
-
const otherFields = prevContext.filter(({ id: fieldID }) => fieldID !== initialFieldContext.id);
|
|
1048
|
-
const updatedField = { ...field, invalid };
|
|
1049
|
-
return [...otherFields, updatedField];
|
|
1050
|
-
});
|
|
1051
|
-
}, 500);
|
|
1052
3349
|
onChange?.(e);
|
|
1053
3350
|
};
|
|
1054
3351
|
const restFieldProps = fieldProps
|
|
@@ -1060,15 +3357,15 @@ function Textarea({ className, defaultValue, description, descriptionProps, disa
|
|
|
1060
3357
|
const restDescriptionProps = descriptionProps
|
|
1061
3358
|
? Object.fromEntries(Object.entries(descriptionProps).filter(([key]) => key !== 'className'))
|
|
1062
3359
|
: {};
|
|
1063
|
-
return (jsxRuntime.jsxs(react
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
3360
|
+
return (jsxRuntime.jsxs(react.Field, { ...restFieldProps, className: bag => twMerge('grid gap-1', typeof fieldProps?.className === 'function' ? fieldProps?.className(bag) : fieldProps?.className), disabled: disabled, children: [label && (jsxRuntime.jsx(react.Label, { ...restLabelProps, className: bag => twMerge('text-sm font-medium', required ? 'after:text-ui-red after:content-["_*"]' : '', typeof labelProps?.className === 'function' ? labelProps?.className(bag) : labelProps?.className), children: label })), jsxRuntime.jsxs("div", { className: 'z-10 -mb-1.5', children: [jsxRuntime.jsx(react.Textarea, { ...props, className: bag => twMerge(
|
|
3361
|
+
// Base styles
|
|
3362
|
+
'field-sizing-content w-full resize-none rounded-xl border-1 border-neutral-500/50 bg-neutral-100 py-1 pl-2 text-neutral-950 outline-offset-1 outline-ui-sky-blue/95 transition-[background-color] duration-300 ease-exponential dark:bg-neutral-700 dark:text-neutral-50',
|
|
3363
|
+
// Pseudo styles
|
|
3364
|
+
'focus-visible:bg-neutral-50 focus-visible:outline-3 active:bg-neutral-200 dark:focus-visible:bg-neutral-600 dark:active:bg-neutral-800 pointer-fine:hover:bg-neutral-50 pointer-fine:active:bg-neutral-200 dark:pointer-fine:hover:bg-neutral-600 dark:pointer-fine:active:bg-neutral-800',
|
|
3365
|
+
// user-invalid styles
|
|
3366
|
+
'user-invalid:border-ui-red user-invalid:bg-[color-mix(in_oklab,var(--color-ui-red)_20%,var(--color-neutral-100))] user-invalid:focus-visible:bg-[color-mix(in_oklab,var(--color-ui-red)_1%,var(--color-neutral-100))] user-invalid:active:bg-[color-mix(in_oklab,var(--color-ui-red)_25%,var(--color-neutral-100))] dark:user-invalid:bg-[color-mix(in_oklab,var(--color-ui-red)_20%,var(--color-neutral-800))] dark:user-invalid:focus-visible:bg-[color-mix(in_oklab,var(--color-ui-red)_1%,var(--color-neutral-800))] dark:user-invalid:active:bg-[color-mix(in_oklab,var(--color-ui-red)_25%,var(--color-neutral-800))] user-invalid:pointer-fine:hover:bg-[color-mix(in_oklab,var(--color-ui-red)_10%,var(--color-neutral-100))] user-invalid:pointer-fine:focus-visible:bg-[color-mix(in_oklab,var(--color-ui-red)_1%,var(--color-neutral-100))] user-invalid:pointer-fine:active:bg-[color-mix(in_oklab,var(--color-ui-red)_25%,var(--color-neutral-100))] dark:user-invalid:pointer-fine:hover:bg-[color-mix(in_oklab,var(--color-ui-red)_10%,var(--color-neutral-800))] dark:user-invalid:pointer-fine:focus-visible:bg-[color-mix(in_oklab,var(--color-ui-red)_1%,var(--color-neutral-800))] dark:user-invalid:pointer-fine:active:bg-[color-mix(in_oklab,var(--color-ui-red)_25%,var(--color-neutral-800))]',
|
|
3367
|
+
// Custom styles
|
|
3368
|
+
typeof className === 'function' ? className(bag) : className), id: fieldContext?.id, invalid: invalid, onChange: handleChange, placeholder: placeholder, ref: ref, required: required, value: fieldContext?.value }), fieldContext.invalid && errorMessage && (jsxRuntime.jsxs(Tooltip, { anchor: 'top-end', arrow: true, portal: true, children: [jsxRuntime.jsx(TooltipTrigger, { as: Button, className: 'absolute top-1.25 right-1.25 z-10 size-6 min-w-0', padding: 'none', rounded: 'md', theme: 'red', children: jsxRuntime.jsx(ExclamationmarkOctagon, { className: 'absolute top-1/2 left-1/2 size-full -translate-x-1/2 -translate-y-1/2 scale-70' }) }), jsxRuntime.jsx(TooltipPanel, { children: errorMessage })] }))] }), description && (jsxRuntime.jsx(react.Description, { ...restDescriptionProps, className: bag => twMerge('text-xs', typeof descriptionProps?.className === 'function'
|
|
1072
3369
|
? descriptionProps?.className(bag)
|
|
1073
3370
|
: descriptionProps?.className), children: description }))] }));
|
|
1074
3371
|
}
|
|
@@ -1077,7 +3374,7 @@ function Textarea({ className, defaultValue, description, descriptionProps, disa
|
|
|
1077
3374
|
function FormComponent({ as, children, className, handleSubmit, onError, onSubmit, onSuccess, ...props }) {
|
|
1078
3375
|
const [formContext] = useFormContext(), [formStatus, setFormStatus] = useFormStatus();
|
|
1079
3376
|
// const submitButton = findComponentByType(children, SubmitButton)
|
|
1080
|
-
|
|
3377
|
+
React.useEffect(() => {
|
|
1081
3378
|
if (!formContext)
|
|
1082
3379
|
return;
|
|
1083
3380
|
if (formStatus !== 'incomplete' && formContext.find(({ invalid }) => invalid))
|
|
@@ -1093,19 +3390,19 @@ function FormComponent({ as, children, className, handleSubmit, onError, onSubmi
|
|
|
1093
3390
|
const response = await onSubmit?.({ event: e, formContext });
|
|
1094
3391
|
if (response && ('error' in response || response.status === 'error')) {
|
|
1095
3392
|
setFormStatus?.('error');
|
|
1096
|
-
onError?.({ event: e, error: response.error || 'An error occurred when submitting the form.' });
|
|
3393
|
+
onError?.({ event: e, error: response.error || 'An error occurred when submitting the form.', formContext });
|
|
1097
3394
|
return;
|
|
1098
3395
|
}
|
|
1099
3396
|
if ((response && response.status === 'success') || !response) {
|
|
1100
3397
|
setFormStatus?.('success');
|
|
1101
|
-
onSuccess?.({ event: e });
|
|
3398
|
+
onSuccess?.({ event: e, formContext });
|
|
1102
3399
|
}
|
|
1103
3400
|
});
|
|
1104
3401
|
const FormElement = as || 'form';
|
|
1105
3402
|
return (jsxRuntime.jsx(FormElement, { ...props, className: twMerge(className, 'grid gap-3'), onSubmit: processSubmit, children: children }));
|
|
1106
3403
|
}
|
|
1107
3404
|
function Form({ controlled = 'auto', initialStatus = 'incomplete', ...props }) {
|
|
1108
|
-
const FormContextOrNotProvider = controlled === 'auto' ? FormContextProvider :
|
|
3405
|
+
const FormContextOrNotProvider = controlled === 'auto' ? FormContextProvider : React.Fragment;
|
|
1109
3406
|
return (jsxRuntime.jsx(FormStatusProvider, { initialStatus: initialStatus, children: jsxRuntime.jsx(FormContextOrNotProvider, { children: jsxRuntime.jsx(FormComponent, { ...props }) }) }));
|
|
1110
3407
|
}
|
|
1111
3408
|
|
|
@@ -1115,11 +3412,11 @@ function Ghost({ children, className, ...props }) {
|
|
|
1115
3412
|
|
|
1116
3413
|
function getTextFromChildren(children) {
|
|
1117
3414
|
let text = '';
|
|
1118
|
-
|
|
3415
|
+
React.Children.forEach(children, child => {
|
|
1119
3416
|
if (typeof child === 'string' || typeof child === 'number') {
|
|
1120
3417
|
text += child;
|
|
1121
3418
|
}
|
|
1122
|
-
else if (
|
|
3419
|
+
else if (React.isValidElement(child)) {
|
|
1123
3420
|
text += getTextFromChildren(child.props.children);
|
|
1124
3421
|
}
|
|
1125
3422
|
});
|
|
@@ -1136,460 +3433,50 @@ function Heading({ as = 'h2', children, customize, className, id, ref, ...props
|
|
|
1136
3433
|
const getBaseClasses = () => {
|
|
1137
3434
|
switch (as) {
|
|
1138
3435
|
case 'h1':
|
|
1139
|
-
return
|
|
3436
|
+
return twMerge('pb-2.5 text-6xl font-black last:pb-0', customize?.h1);
|
|
1140
3437
|
case 'h3':
|
|
1141
|
-
return
|
|
3438
|
+
return twMerge('pb-2 text-4xl font-extralight last:pb-0', customize?.h3);
|
|
1142
3439
|
case 'h4':
|
|
1143
|
-
return
|
|
3440
|
+
return twMerge('pb-2 text-3xl font-extrabold last:pb-0', customize?.h4);
|
|
1144
3441
|
case 'h5':
|
|
1145
|
-
return
|
|
3442
|
+
return twMerge('pb-1.5 text-2xl font-semibold last:pb-0', customize?.h5);
|
|
1146
3443
|
case 'h6':
|
|
1147
|
-
return
|
|
3444
|
+
return twMerge('pb-1 text-xl font-bold last:pb-0', customize?.h6);
|
|
1148
3445
|
default:
|
|
1149
|
-
return
|
|
3446
|
+
return twMerge('pb-2.5 text-5xl font-medium last:pb-0', customize?.h2);
|
|
1150
3447
|
}
|
|
1151
3448
|
};
|
|
1152
3449
|
const baseClasses = getBaseClasses();
|
|
1153
3450
|
return (jsxRuntime.jsx(H, { ref: ref, id: targetableID, ...props, className: twMerge(baseClasses, className), children: children }));
|
|
1154
3451
|
}
|
|
1155
3452
|
|
|
1156
|
-
function Airplane(props) {
|
|
1157
|
-
return (jsxRuntime.jsx("svg", { viewBox: '0 0 64 63.9', ...props, children: jsxRuntime.jsx("path", { d: 'M62.7,1.3c-0.9-0.9-2-1.3-3.4-1.2c-1.4,0.1-3,0.5-4.5,1.2c-1.6,0.8-3.2,1.9-4.6,3.4L41,13.7c-0.7,0.7-1.2,1.1-1.6,1.2 c-0.5,0.2-1.1,0.3-1.9,0.2L5.5,13.8c-1.1-0.1-1.9,0.3-2.6,0.9l-2.6,2.6C0.1,17.6,0,18,0,18.4c0.1,0.4,0.3,0.7,0.9,0.8l25.3,9.5 L15.9,41.5L4.3,38.1c-0.9-0.3-1.6,0-2.4,0.7l-1,1c-0.3,0.3-0.5,0.6-0.5,1c0,0.4,0.1,0.7,0.5,1l21.3,21.3c0.3,0.3,0.6,0.5,1,0.4 c0.4-0.1,0.7-0.1,1-0.5l1-1c0.7-0.7,1-1.5,0.7-2.4L22.5,48l12.8-10.2l9.5,25.3c0.2,0.5,0.5,0.7,0.8,0.9c0.4,0.1,0.7,0,1-0.3l2.6-2.6 c0.7-0.7,1-1.5,0.9-2.6l-1.4-31.9c-0.1-0.8,0-1.4,0.2-1.9c0.2-0.5,0.6-1,1.2-1.6l9.1-9.1c1.4-1.4,2.6-3,3.4-4.6 C63.5,7.6,64,6.1,64,4.7S63.5,2.2,62.7,1.3z' }) }));
|
|
1158
|
-
}
|
|
1159
|
-
|
|
1160
|
-
function ArrowTriangle2CirclepathCircle(props) {
|
|
1161
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 64 64', ...props, children: [jsxRuntime.jsx("path", { d: 'M61.5,19.6c-1.7-3.9-4-7.3-6.9-10.2c-3-3-6.4-5.3-10.2-6.9C40.5,0.8,36.3,0,31.9,0c-4.4,0-8.5,0.8-12.3,2.5 c-3.9,1.7-7.3,4-10.2,6.9c-2.9,3-5.2,6.4-6.9,10.2C0.8,23.5,0,27.6,0,32c0,4.4,0.8,8.5,2.5,12.3c1.7,3.9,4,7.3,6.9,10.2 c2.9,3,6.3,5.3,10.2,6.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5.7,1c-1.9,0.6-3.5,1.5-4.8,2.7c-0.8,0.6-1.2,1.2-1.4,2c-0.1,0.7,0.1,1.4,0.6,2 c0.5,0.6,1.1,0.9,1.8,0.8c0.7,0,1.3-0.3,1.9-0.8c1.1-0.9,2.3-1.5,3.5-2c1.2-0.5,2.6-0.7,4.1-0.7c2.1,0,4,0.4,5.8,1.3 c1.8,0.9,3.3,2,4.5,3.5c1.2,1.5,2.1,3.1,2.6,5h-3.5c-0.7,0-1.2,0.3-1.3,0.8c-0.2,0.6-0.1,1.1,0.4,1.7l5.1,7.1 c0.4,0.6,0.9,0.9,1.6,0.9c0.6,0,1.2-0.3,1.6-0.9l5-7.1c0.4-0.6,0.5-1.1,0.4-1.7c-0.2-0.6-0.6-0.8-1.3-0.8h-3.1 c-0.5-2.9-1.6-5.5-3.2-7.7s-3.7-3.9-6.2-5.2C37.8,15,35,14.4,32,14.4z' })] }));
|
|
1162
|
-
}
|
|
1163
|
-
|
|
1164
|
-
function ArrowTriangle2CirclepathCircleFill(props) {
|
|
1165
|
-
return (jsxRuntime.jsx("svg", { viewBox: '0 0 64 64', ...props, children: jsxRuntime.jsx("path", { d: 'M61.5,19.6c-1.7-3.9-4-7.3-6.9-10.2c-3-3-6.4-5.3-10.2-6.9C40.5,0.8,36.3,0,31.9,0c-4.4,0-8.5,0.8-12.3,2.5 c-3.9,1.7-7.3,4-10.2,6.9c-2.9,3-5.2,6.4-6.9,10.2C0.8,23.5,0,27.6,0,32s0.8,8.5,2.5,12.3c1.7,3.9,4,7.3,6.9,10.2 c2.9,3,6.3,5.3,10.2,6.9c3.9,1.7,8,2.5,12.3,2.5c4.4,0,8.5-0.8,12.4-2.5c3.9-1.7,7.3-4,10.2-6.9c2.9-3,5.3-6.4,6.9-10.2 S64,36.3,64,32S63.2,23.5,61.5,19.6z M44.5,44.2c-0.2,0.8-0.6,1.5-1.4,2.1c-1.4,1.1-3,2-4.9,2.7c-1.9,0.7-3.9,1-5.9,1 c-3.1,0-5.9-0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,0.6,30.1,0,27.8,0 c-2.3,0-4.5,0.6-6.4,1.7c-1.9,1.1-3.5,2.6-4.7,4.4c-1.2,1.8-1.8,3.9-1.9,6h-5c-3.3,0-5.7,0.8-7.4,2.4C0.8,16.2,0,18.7,0,21.9v32.4 c0,3.2,0.8,5.7,2.5,7.3S6.6,64,9.8,64h36.8c2.8,0,5-0.8,6.6-2.4c1.6-1.6,2.3-4.1,2.3-7.3V21.9C55.6,18.7,54.7,16.2,53.1,14.6z M19.8,12.2c0-1.4,0.4-2.6,1.1-3.7c0.7-1.1,1.6-2,2.8-2.7c1.2-0.7,2.5-1,4-1c1.5,0,2.8,0.3,4,1c1.2,0.7,2.1,1.6,2.8,2.7 c0.7,1.1,1.1,2.4,1.1,3.7H19.8z' }) }));
|
|
1170
|
-
}
|
|
1171
|
-
|
|
1172
|
-
function Banknote(props) {
|
|
1173
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 64 40.1', ...props, children: [jsxRuntime.jsx("path", { d: 'M62.1,0H1.9C0.8,0,0,0.8,0,1.9v36.2c0,1.2,0.8,2,1.9,2h60.1c1.2,0,1.9-0.8,1.9-2V1.9C64,0.8,63.2,0,62.1,0z M60.1,35.5 c0,0.5-0.2,0.7-0.7,0.7H4.6c-0.5,0-0.7-0.2-0.7-0.7V4.6c0-0.5,0.2-0.7,0.7-0.7h54.8c0.5,0,0.7,0.2,0.7,0.7V35.5z' }), jsxRuntime.jsx("path", { d: 'M56.1,6.5H7.9C7,6.5,6.5,7,6.5,7.9v24.2c0,0.9,0.5,1.4,1.4,1.4h48.2c0.9,0,1.4-0.5,1.4-1.4V7.9C57.5,7,57,6.5,56.1,6.5z M55,30.5c0,0.4-0.2,0.6-0.5,0.6h-45c-0.4,0-0.5-0.2-0.5-0.6v-21c0-0.4,0.2-0.6,0.5-0.6h45c0.4,0,0.5,0.2,0.5,0.6V30.5z' }), jsxRuntime.jsx("path", { d: 'M31.9,6.5c-5.1,0-9.2,5.2-9.2,13.5c0,8.3,4.1,13.5,9.2,13.5c5.2,0,9.4-5.2,9.4-13.5C41.3,11.7,37.1,6.5,31.9,6.5z M31.9,30.7c-3.5,0-6.4-4.1-6.4-10.7c0-6.6,2.9-10.6,6.4-10.6c3.6,0,6.6,4.1,6.6,10.6C38.5,26.6,35.5,30.7,31.9,30.7z' })] }));
|
|
1174
|
-
}
|
|
1175
|
-
|
|
1176
|
-
function BellFill(props) {
|
|
1177
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 57.4 64', ...props, children: [jsxRuntime.jsx("path", { d: 'M4.6,51.9h48.2c1.4,0,2.6-0.3,3.4-1c0.8-0.7,1.2-1.6,1.2-2.7c0-1.5-0.6-3-1.9-4.4c-1.3-1.4-2.5-2.8-3.8-4.1 c-0.7-0.7-1.2-1.6-1.6-2.7c-0.4-1.1-0.7-2.3-0.8-3.6s-0.3-2.5-0.4-3.6c-0.1-5.8-1-10.7-2.7-14.6c-1.7-3.9-4.6-6.6-8.7-8.1 c-0.6-2-1.6-3.6-3.1-5C32.8,0.7,31,0,28.7,0c-2.2,0-4.1,0.7-5.7,2.1c-1.5,1.4-2.6,3-3.1,5c-4.1,1.5-6.9,4.2-8.7,8.1 C9.5,19,8.6,23.9,8.5,29.7c-0.1,1.2-0.2,2.4-0.4,3.6c-0.2,1.3-0.5,2.4-0.8,3.6c-0.4,1.1-0.9,2-1.6,2.7c-1.3,1.3-2.6,2.7-3.9,4.1 C0.6,45.2,0,46.6,0,48.1c0,1.1,0.4,2,1.2,2.7C2,51.5,3.2,51.9,4.6,51.9z' }), jsxRuntime.jsx("path", { d: 'M28.7,64c2.6,0,4.7-0.8,6.4-2.4c1.7-1.6,2.7-3.5,2.9-5.6H19.4c0.2,2.1,1.1,4,2.9,5.6C24,63.2,26.1,64,28.7,64z' })] }));
|
|
1178
|
-
}
|
|
1179
|
-
|
|
1180
|
-
function BoltCar(props) {
|
|
1181
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 64 50.1', ...props, children: [jsxRuntime.jsx("path", { d: 'M60.5,20.6l-2.3-3c-1-4.9-2.8-10-3.7-12c-1.4-3-4.3-4.9-7.8-5.3C44.9,0.1,39-0.1,32-0.1S19.1,0.1,17.3,0.3 c-3.6,0.4-6.4,2.3-7.8,5.3c-0.9,2-2.7,7.1-3.7,12l-2.3,3C1,23.8,0.1,26.5,0.1,31.1v4.8c0,3.5,2.1,5.5,5.7,5.9c4.9,0.6,17,1,26.1,1 s21.2-0.4,26.3-1c3.7-0.4,5.7-2.4,5.7-5.9v-4.8C63.9,26.5,63,24,60.5,20.6z M60.4,34.9c0,2.1-0.8,3.3-3.1,3.5 c-4.4,0.5-16.2,0.9-25.4,0.9s-21-0.4-25.3-0.9c-2.3-0.3-3.1-1.5-3.1-3.5v-3.7c0-3.7,0.6-5.4,2.7-8.2L9,19.4 c0.7-3.9,2.5-9.4,3.6-11.9c0.9-1.9,2.6-3,5.1-3.3C19.4,4,24.9,3.7,32,3.7c7.1,0,12.7,0.3,14.2,0.5c2.6,0.3,4.2,1.5,5.1,3.3 c1.2,2.5,2.9,8,3.6,11.9l2.8,3.6c2.1,2.7,2.7,4.5,2.7,8.2V34.9z' }), jsxRuntime.jsx("path", { d: 'M4.8,50.2H8c2,0,3.6-1.5,3.6-3.5v-6.4L1.2,38.8v7.9C1.3,48.7,2.8,50.2,4.8,50.2z' }), jsxRuntime.jsx("path", { d: 'M55.7,50.2h3.2c2,0,3.6-1.5,3.6-3.5v-7.9l-10.4,1.5v6.4C52.1,48.7,53.7,50.2,55.7,50.2z' }), jsxRuntime.jsx("path", { d: 'M23.3,23.1c0,0.5,0.4,0.9,0.9,0.9h6.7l-3.6,9.6c-0.5,1.3,0.9,2,1.7,0.9l10.8-13.6c0.2-0.2,0.4-0.5,0.4-0.8 c0-0.5-0.4-0.9-0.9-0.9h-6.7l3.5-9.6c0.5-1.3-0.9-2-1.7-0.9L23.6,22.3C23.4,22.6,23.3,22.8,23.3,23.1z' })] }));
|
|
1182
|
-
}
|
|
1183
|
-
|
|
1184
|
-
function BoltFill(props) {
|
|
1185
|
-
return (jsxRuntime.jsx("svg", { viewBox: '0 0 40.3 64', ...props, children: jsxRuntime.jsx("path", { d: 'M0,35.6c0,0.5,0.2,1,0.6,1.4C1,37.3,1.5,37.5,2,37.5h16.2L9.7,60.7c-0.4,1-0.3,1.8,0.1,2.4c0.4,0.6,1,0.9,1.7,0.9 c0.7,0,1.4-0.4,2.1-1.2l26-32.5c0.5-0.6,0.7-1.3,0.7-1.8c0-0.5-0.2-1-0.6-1.4c-0.4-0.4-0.9-0.6-1.5-0.6H22.1l8.6-23.2 c0.4-1,0.3-1.8-0.1-2.4c-0.4-0.6-1-0.9-1.7-0.9c-0.8,0-1.5,0.4-2.1,1.2l-26,32.5C0.2,34.4,0,35,0,35.6z' }) }));
|
|
1186
|
-
}
|
|
1187
|
-
|
|
1188
|
-
function BoltRingClosed(props) {
|
|
1189
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 64 64', ...props, children: [jsxRuntime.jsx("path", { d: 'M0,32c0,17.7,14.4,32,32,32c17.7,0,32-14.3,32-32C64,16,52.2,2.7,36.8,0.4c0.6,0.9,1,2,1,3.3c0,1.6-0.6,2.9-1.6,4 c11.6,2,20.5,12.2,20.5,24.4c0,13.6-11.1,24.7-24.7,24.7C18.4,56.7,7.3,45.6,7.3,32C7.3,18.4,18.4,7.3,32,7.3c2,0,3.6-1.6,3.6-3.6 C35.6,1.6,34,0,32,0C14.4,0,0,14.3,0,32z' }), jsxRuntime.jsx("path", { d: 'M19.1,34c0,0.7,0.6,1.3,1.4,1.3h9.9l-5.3,14.1c-0.7,1.9,1.3,2.9,2.5,1.4l16-20.1c0.3-0.4,0.5-0.8,0.5-1.1 c0-0.8-0.6-1.3-1.4-1.3h-9.9l5.3-14.2c0.7-1.9-1.3-2.9-2.5-1.4l-16,20.1C19.3,33.2,19.1,33.6,19.1,34z' })] }));
|
|
1190
|
-
}
|
|
1191
|
-
|
|
1192
|
-
function BoltTrianglebadgeExclamationmark(props) {
|
|
1193
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 55.8 64', ...props, children: [jsxRuntime.jsx("path", { d: 'M38.1,25.5H22l8.5-22.2c1.1-3-2-4.5-3.9-2.1L0.7,34.5C0.2,35.2,0,35.7,0,36.4c0,1.1,0.8,2,2,2h16.1L9.7,60.5 c-1.1,3,2,4.5,3.9,2.1l12.5-16.1l6.8-12.3c1.2-2.2,3.4-3.5,5.6-3.8l0.9-1.2c0.5-0.6,0.8-1.2,0.8-1.8C40.2,26.3,39.3,25.5,38.1,25.5z M17.2,50.8l7.5-16.7H7.1L23,13l-7.5,16.7h17.6L17.2,50.8z' }), jsxRuntime.jsx("path", { d: 'M55.3,58.3L42.9,36.2c-0.7-1.3-2-2-3.3-2c-1.3,0-2.6,0.6-3.4,2L23.9,58.3c-0.4,0.6-0.5,1.2-0.5,1.9c0,2.2,1.5,3.9,3.8,3.9 H52c2.4,0,3.9-1.7,3.9-3.9C55.8,59.5,55.7,58.9,55.3,58.3z M39.6,41.1c1.2,0,2,0.8,2,2l-0.2,8.1c0,1-0.7,1.7-1.7,1.7 c-1,0-1.7-0.7-1.7-1.7L37.7,43C37.6,41.9,38.4,41.1,39.6,41.1z M39.6,59.7c-1.3,0-2.4-1.1-2.4-2.4c0-1.3,1.1-2.4,2.4-2.4 c1.3,0,2.4,1.1,2.4,2.4C42,58.6,40.9,59.7,39.6,59.7z' })] }));
|
|
1194
|
-
}
|
|
1195
|
-
|
|
1196
|
-
function BookFill(props) {
|
|
1197
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 64 51', ...props, children: [jsxRuntime.jsx("path", { d: 'M15.7,0c-2.1,0-4.1,0.3-6.1,0.9c-2,0.6-3.8,1.5-5.4,2.6C2.6,4.7,1.3,6.1,0.3,7.7C0.2,8,0.1,8.3,0,8.5c0,0.3,0,0.6,0,1.2 v39.2c0,0.6,0.2,1.1,0.6,1.5C1,50.8,1.5,51,2.2,51c0.3,0,0.7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8-0.3,2.3-0.9c0.5-0.6,0.8-1.5,0.8-2.7V8.5c0-2.8-0.7-5-2.1-6.4C36.7,0.7,34.6,0,31.8,0H8.4 C5.6,0,3.5,0.7,2.1,2.2C0.7,3.6,0,5.7,0,8.5v51.8c0,1.2,0.3,2.1,0.8,2.7C1.4,63.7,2.2,64,3.2,64z' }) }));
|
|
1202
|
-
}
|
|
1203
|
-
|
|
1204
|
-
function BriefcaseFill(props) {
|
|
1205
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 64 55.7', ...props, children: [jsxRuntime.jsx("path", { d: 'M61.8,12.4c-1.5-1.5-3.7-2.2-6.7-2.2h-8.5V7.9c0-2.7-0.7-4.7-2.1-6S41.1,0,38.5,0H25.5c-2.5,0-4.4,0.6-5.8,1.9 s-2.2,3.3-2.2,6v2.3H8.9c-3,0-5.2,0.7-6.7,2.2C0.7,13.8,0,16,0,18.9v2.3c3.5,1.4,7,2.6,10.5,3.5c3.5,0.9,7,1.5,10.6,1.9 c3.6,0.4,7.2,0.6,10.9,0.6c3.7,0,7.4-0.2,10.9-0.6c3.6-0.4,7.1-1,10.6-1.9c3.5-0.9,7-2,10.5-3.5v-2.3C64,16,63.3,13.8,61.8,12.4z M42.1,10.2H21.9V7.6c0-1.1,0.3-1.9,0.9-2.5c0.6-0.6,1.5-0.9,2.6-0.9h13.2c1.1,0,2,0.3,2.6,0.9c0.6,0.6,0.9,1.4,0.9,2.5V10.2z' }), jsxRuntime.jsx("path", { d: 'M8.9,55.7h46.2c3,0,5.2-0.7,6.7-2.2c1.5-1.5,2.2-3.7,2.2-6.6V26c-4.2,1.5-8.3,2.7-12.3,3.5c-4,0.8-8,1.3-12,1.6v2.3 c0,2.1-1.1,3.1-3.2,3.1h-8.9c-2.1,0-3.2-1-3.2-3.1v-2.3c-4-0.3-8-0.8-12-1.6c-4-0.8-8.1-2-12.3-3.5v20.9c0,2.9,0.7,5.1,2.2,6.6 C3.7,54.9,5.9,55.7,8.9,55.7z' })] }));
|
|
1206
|
-
}
|
|
1207
|
-
|
|
1208
|
-
function BubbleLeftFill(props) {
|
|
1209
|
-
return (jsxRuntime.jsx("svg", { viewBox: '0 0 64 60.3', ...props, children: jsxRuntime.jsx("path", { d: 'M17.3,60.3c0.6,0,1.1-0.2,1.6-0.5c0.5-0.3,1.1-0.8,1.7-1.4l10.5-9.6l19.6,0c2.9,0,5.3-0.5,7.3-1.5c2-1,3.5-2.5,4.5-4.5 c1-2,1.5-4.4,1.5-7.2V13.3c0-2.8-0.5-5.2-1.5-7.2c-1-2-2.5-3.5-4.5-4.5c-2-1-4.4-1.6-7.3-1.6H13.3C10.4,0,8,0.5,6,1.6 c-2,1-3.5,2.5-4.5,4.5c-1,2-1.5,4.4-1.5,7.2v22.3c0,2.8,0.5,5.2,1.5,7.2c1,2,2.5,3.5,4.5,4.5c2,1,4.4,1.5,7.3,1.5h1.3v8.5 c0,0.9,0.2,1.6,0.7,2.2C15.8,60,16.4,60.3,17.3,60.3z' }) }));
|
|
1210
|
-
}
|
|
1211
|
-
|
|
1212
|
-
function Building2Fill(props) {
|
|
1213
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 64 58', ...props, children: [jsxRuntime.jsx("path", { d: 'M62.8,14.7c-0.8-0.9-1.9-1.3-3.3-1.3H45.1V53c0,0.9-0.1,1.8-0.3,2.6c-0.2,0.8-0.5,1.6-1,2.3h15.7c1.4,0,2.5-0.4,3.3-1.3 c0.8-0.9,1.2-2.1,1.2-3.6V18.3C64,16.8,63.6,15.6,62.8,14.7z M57.7,48.6c0,0.6-0.3,1-0.9,1h-4.5c-0.6,0-1-0.3-1-1v-4.3 c0-0.7,0.3-1,1-1h4.5c0.6,0,0.9,0.3,0.9,1V48.6z M57.7,37.9c0,0.6-0.3,0.9-0.9,0.9h-4.5c-0.6,0-1-0.3-1-0.9v-4.4 c0-0.6,0.3-0.9,1-0.9h4.5c0.6,0,0.9,0.3,0.9,0.9V37.9z M57.7,27.1c0,0.7-0.3,1-0.9,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-0.8,0.4-1.2,1.1-1.2h5.4c0.8,0,1.2,0.4,1.2,1.2V14.6z' })] }));
|
|
1214
|
-
}
|
|
1215
|
-
|
|
1216
|
-
function Calendar(props) {
|
|
1217
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 97.4 90', ...props, children: [jsxRuntime.jsx("path", { d: 'M93.6,3.8c-2.6-2.5-6.4-3.8-11.5-3.8H15.4C10.3,0,6.5,1.3,3.9,3.8,1.3,6.3,0,10.1,0,15.2v59.6c0,5,1.3,8.8,3.9,11.4,2.6,2.5,6.4,3.8,11.5,3.8h66.7c5.1,0,8.9-1.3,11.5-3.8,2.6-2.5,3.8-6.3,3.8-11.4V15.2c0-5-1.3-8.8-3.8-11.4ZM89.5,75.3c0,2.3-.6,4-1.8,5.1-1.2,1.1-2.9,1.7-5,1.7H14.7c-2.2,0-3.8-.6-5-1.7-1.2-1.1-1.8-2.8-1.8-5.1V29.3c0-2.3.6-4,1.8-5.1,1.2-1.1,2.8-1.7,5-1.7h68c2.2,0,3.9.6,5,1.7,1.2,1.1,1.8,2.8,1.8,5.1v46Z' }), jsxRuntime.jsx("path", { d: 'M39.2,40h2.9c.9,0,1.5-.2,1.8-.5s.5-.9.5-1.8v-2.9c0-.9-.2-1.4-.5-1.8-.3-.3-.9-.5-1.8-.5h-2.9c-.9,0-1.5.2-1.8.5s-.5.9-.5,1.8v2.9c0,.9.2,1.4.5,1.8.3.3.9.5,1.8.5Z' }), jsxRuntime.jsx("path", { d: 'M55.4,40h2.9c.9,0,1.4-.2,1.8-.5.3-.3.5-.9.5-1.8v-2.9c0-.9-.2-1.4-.5-1.8-.3-.3-.9-.5-1.8-.5h-2.9c-.9,0-1.5.2-1.8.5s-.5.9-.5,1.8v2.9c0,.9.2,1.4.5,1.8.3.3.9.5,1.8.5Z' }), jsxRuntime.jsx("path", { d: 'M71.6,40h2.9c.9,0,1.5-.2,1.8-.5s.5-.9.5-1.8v-2.9c0-.9-.2-1.4-.5-1.8-.3-.3-.9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39.2,71.9h2.9c.9,0,1.5-.2,1.8-.5s.5-.9.5-1.8v-2.9c0-.9-.2-1.4-.5-1.8-.3-.3-.9-.5-1.8-.5h-2.9c-.9,0-1.5.2-1.8.5s-.5.9-.5,1.8v2.9c0,.9.2,1.4.5,1.8s.9.5,1.8.5Z' }), jsxRuntime.jsx("path", { d: 'M55.4,71.9h2.9c.9,0,1.4-.2,1.8-.5.3-.3.5-.9.5-1.8v-2.9c0-.9-.2-1.4-.5-1.8-.3-.3-.9-.5-1.8-.5h-2.9c-.9,0-1.5.2-1.8.5s-.5.9-.5,1.8v2.9c0,.9.2,1.4.5,1.8s.9.5,1.8.5Z' })] }));
|
|
1218
|
-
}
|
|
1219
|
-
|
|
1220
|
-
function CameraFill(props) {
|
|
1221
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 64 49.7', ...props, children: [jsxRuntime.jsx("path", { d: 'M61.9,8.3c-1.4-1.3-3.4-2-6.1-2h-7.5c-1,0-1.8-0.1-2.3-0.4s-1-0.7-1.6-1.4l-2.1-2.3c-0.7-0.7-1.4-1.2-2.2-1.6 C39.5,0.2,38.4,0,37.1,0H26.7c-1.3,0-2.4,0.2-3.2,0.6s-1.5,0.9-2.1,1.6l-2.1,2.3c-0.6,0.6-1.1,1.1-1.6,1.3s-1.2,0.4-2.2,0.4H8.2 c-2.7,0-4.8,0.7-6.1,2C0.7,9.6,0,11.7,0,14.3v27.3c0,2.7,0.7,4.7,2.1,6.1c1.4,1.4,3.4,2,6.1,2h47.6c2.7,0,4.7-0.7,6.1-2 c1.4-1.4,2.1-3.4,2.1-6.1V14.3C64,11.7,63.3,9.6,61.9,8.3z M44.3,34.9c-1.3,2.2-3,3.9-5.1,5.1C37,41.4,34.6,42,32,42 c-2.6,0-5-0.6-7.2-1.9c-2.1-1.3-3.9-3-5.1-5.1c-1.3-2.2-1.9-4.6-1.9-7.2c0-2.7,0.6-5.1,1.9-7.2c1.3-2.1,3-3.9,5.1-5.1 c2.1-1.3,4.5-1.9,7.2-1.9s5,0.6,7.2,1.9c2.1,1.3,3.9,3,5.1,5.1c1.3,2.1,1.9,4.5,1.9,7.2C46.2,30.4,45.6,32.8,44.3,34.9z M53.7,20.5 c-0.7,0.7-1.4,1-2.3,1c-0.9,0-1.7-0.3-2.4-1c-0.7-0.7-1-1.4-1-2.4c0-0.9,0.3-1.7,1-2.3c0.7-0.7,1.5-1,2.4-1c0.9,0,1.7,0.3,2.3,1 c0.7,0.7,1,1.4,1,2.3C54.6,19.1,54.3,19.9,53.7,20.5z' }), jsxRuntime.jsx("path", { d: 'M32,38c1.9,0,3.6-0.5,5.2-1.4c1.6-0.9,2.8-2.2,3.7-3.7c0.9-1.6,1.4-3.3,1.4-5.2c0-1.9-0.5-3.6-1.4-5.2 c-0.9-1.6-2.2-2.8-3.7-3.7c-1.6-0.9-3.3-1.4-5.2-1.4c-1.9,0-3.6,0.5-5.2,1.4c-1.6,0.9-2.8,2.2-3.7,3.7c-0.9,1.6-1.4,3.3-1.4,5.2 c0,1.9,0.5,3.6,1.4,5.2c0.9,1.6,2.2,2.8,3.7,3.7C28.4,37.6,30.1,38,32,38z' })] }));
|
|
1222
|
-
}
|
|
1223
|
-
|
|
1224
|
-
function CarFill(props) {
|
|
1225
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 64 50.1', ...props, children: [jsxRuntime.jsx("path", { d: 'M63.2,25.3c-0.5-1.5-1.4-3.1-2.7-4.7l-2.3-3c-0.3-1.6-0.7-3.2-1.2-4.8s-0.9-3-1.4-4.3s-0.8-2.2-1.1-2.9 c-0.7-1.5-1.8-2.7-3.1-3.6c-1.4-0.9-2.9-1.5-4.7-1.7c-0.6-0.1-1.6-0.2-3.1-0.2c-1.4-0.1-3.1-0.1-5.2-0.1S34.3,0,32,0 c-2.3,0-4.5,0-6.5,0.1c-2,0-3.7,0.1-5.2,0.1c-1.4,0.1-2.5,0.1-3.1,0.2c-1.8,0.2-3.4,0.8-4.7,1.7C11.2,3,10.1,4.2,9.4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2-1.4s1-0.5,1.8-0.6 c1-0.1,2.7-0.3,5.1-0.3c2.4-0.1,5.7-0.1,9.9-0.1c4.2,0,7.5,0,9.9,0.1C44.3,4.8,46,4.9,47,5c0.7,0.1,1.3,0.3,1.8,0.6 C49.2,6,49.6,6.4,50,7.1c0.3,0.5,0.6,1.2,1,2.2c0.4,0.9,0.7,2,1,3.1c0.3,1.1,0.6,2.1,0.9,3.1c0.1,0.5,0.1,0.9-0.1,1.1 c-0.2,0.2-0.6,0.3-1.1,0.3c-1.5-0.1-3.1-0.2-4.9-0.3C44.9,16.4,42.8,16.3,40.4,16.3z M54.6,34.2c-0.8,0.8-1.9,1.3-3.1,1.3 c-1.2,0-2.3-0.4-3.1-1.3s-1.2-1.9-1.2-3.1c0-1.2,0.4-2.3,1.2-3.1c0.8-0.8,1.9-1.3,3.1-1.3c1.2,0,2.3,0.4,3.1,1.3 c0.8,0.8,1.3,1.9,1.3,3.1C55.9,32.3,55.4,33.3,54.6,34.2z' }), jsxRuntime.jsx("path", { d: 'M3.6,50.1h3.2c1,0,1.9-0.3,2.6-1c0.7-0.7,1-1.5,1-2.5v-6.7L0,34.9v11.7c0,1,0.3,1.8,1,2.5C1.7,49.8,2.6,50.1,3.6,50.1z' }), jsxRuntime.jsx("path", { d: 'M57.2,50.1h3.2c1,0,1.9-0.3,2.6-1c0.7-0.7,1-1.5,1-2.5V34.9l-10.4,4.9v6.7c0,1,0.3,1.8,1,2.5C55.4,49.8,56.2,50.1,57.2,50.1 z' })] }));
|
|
1226
|
-
}
|
|
1227
|
-
|
|
1228
|
-
function CartFill(props) {
|
|
1229
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 64 54.5', ...props, children: [jsxRuntime.jsx("path", { d: 'M0,2.1c0,0.6,0.2,1,0.6,1.5C1,3.9,1.5,4.2,2,4.2h9.4l4.4,30.5c0.3,2,1,3.5,2.1,4.7c1.1,1.1,2.6,1.7,4.6,1.7h32.4 c0.5,0,1-0.2,1.4-0.6c0.4-0.4,0.6-0.9,0.6-1.5c0-0.6-0.2-1.1-0.6-1.5c-0.4-0.4-0.9-0.6-1.4-0.6H23c-0.8,0-1.4-0.3-1.9-0.8 c-0.5-0.5-0.8-1.2-0.9-2l-0.5-2.9H55c2,0,3.6-0.6,4.6-1.7c1.1-1.2,1.8-2.7,2.1-4.7L63.9,10c0-0.2,0-0.4,0.1-0.6c0-0.2,0-0.4,0-0.5 c0-0.7-0.2-1.2-0.7-1.6c-0.5-0.4-1.1-0.6-1.8-0.6H16.2l-0.5-3.5c-0.2-1.1-0.5-1.9-1-2.4C14.2,0.3,13.2,0,11.8,0H2 C1.5,0,1,0.2,0.6,0.6C0.2,1,0,1.5,0,2.1z' }), jsxRuntime.jsx("path", { d: 'M20.2,50c0,1.2,0.4,2.3,1.3,3.2c0.9,0.9,1.9,1.3,3.2,1.3c1.3,0,2.3-0.4,3.2-1.3c0.9-0.9,1.3-1.9,1.3-3.2 c0-1.2-0.4-2.3-1.3-3.2C27,46,26,45.5,24.7,45.5c-1.3,0-2.3,0.4-3.2,1.3C20.7,47.7,20.2,48.8,20.2,50z' }), jsxRuntime.jsx("path", { d: 'M46.1,50c0,1.2,0.4,2.3,1.3,3.2c0.9,0.9,1.9,1.3,3.2,1.3c1.3,0,2.3-0.4,3.2-1.3c0.9-0.9,1.3-1.9,1.3-3.2 c0-1.2-0.4-2.3-1.3-3.2c-0.9-0.9-1.9-1.3-3.2-1.3c-1.3,0-2.3,0.4-3.2,1.3C46.6,47.7,46.1,48.8,46.1,50z' })] }));
|
|
1230
|
-
}
|
|
1231
|
-
|
|
1232
|
-
function ChartBarDocHorizontal(props) {
|
|
1233
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 50.2 64', ...props, children: [jsxRuntime.jsx("path", { d: 'M11,9.9c-0.6,0-1.1,0.2-1.4,0.6c-0.3,0.4-0.5,0.9-0.5,1.5v5c0,0.6,0.2,1.1,0.5,1.5c0.3,0.4,0.8,0.6,1.4,0.6h18.3 c0.6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9.5C8,59.2,6.8,58.8,6,58c-0.8-0.8-1.2-1.9-1.2-3.4V9.4C4.8,8,5.2,6.8,6,6c0.8-0.8,2-1.2,3.5-1.2h31.2 c1.5,0,2.7,0.4,3.5,1.2C45,6.8,45.4,8,45.4,9.4V54.6z' })] }));
|
|
1234
|
-
}
|
|
1235
|
-
|
|
1236
|
-
function Checkmark(props) {
|
|
1237
|
-
return (jsxRuntime.jsx("svg", { "aria-label": '\u2713', viewBox: '0 0 67.1 66.1', ...props, children: jsxRuntime.jsx("path", { d: 'M25.9,66.1c1.9,0,3.4-0.8,4.5-2.5L66,7.3c0.4-0.7,0.7-1.2,0.9-1.8C67,5,67.1,4.5,67.1,4c0-1.2-0.4-2.2-1.1-2.9 C65.3,0.4,64.3,0,63.1,0c-0.9,0-1.6,0.2-2.1,0.5c-0.6,0.3-1.1,0.9-1.7,1.8L25.7,56.2L8,32.4c-1-1.4-2.3-2.1-3.8-2.1 c-1.2,0-2.2,0.4-3,1.1c-0.8,0.8-1.2,1.8-1.2,3c0,0.5,0.1,1,0.3,1.6c0.2,0.5,0.5,1.1,1,1.6l20,25.9C22.6,65.3,24.1,66.1,25.9,66.1z' }) }));
|
|
1238
|
-
}
|
|
1239
|
-
|
|
1240
|
-
function CheckmarkSeal(props) {
|
|
1241
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 110.9 110.9', ...props, children: [jsxRuntime.jsx("path", { d: 'M106.1,46.5L98.7,39c-0.7-0.7-1-1.5-1-2.4V26c0-4.3-1-7.5-3.1-9.6s-5.3-3.1-9.7-3.1H74.4c-1,0-1.8-0.3-2.5-1l-7.5-7.5 c-3.1-3.1-6.1-4.6-9-4.6s-5.9,1.5-9,4.6l-7.5,7.5c-0.7,0.7-1.5,1-2.5,1H25.9c-4.4,0-7.6,1-9.7,3.1s-3.1,5.3-3.1,9.7v10.6 c0,0.9-0.3,1.8-1,2.4l-7.5,7.5c-3.1,3.1-4.6,6.1-4.6,9s1.5,5.9,4.6,9l7.5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50.1,69.2l-9.6-12.5c-0.6-0.8-1.2-1.3-1.7-1.6c-0.6-0.3-1.2-0.4-1.9-0.4c-1,0-1.9,0.4-2.7,1.1 c-0.7,0.8-1.1,1.7-1.1,2.8c0,1,0.4,2,1.1,3l11.9,14.6c0.6,0.8,1.3,1.4,1.9,1.7C48.6,78.4,49.4,78.6,50.2,78.6z' })] }));
|
|
1242
|
-
}
|
|
1243
|
-
|
|
1244
|
-
function ChevronCompactDown(props) {
|
|
1245
|
-
return (jsxRuntime.jsx("svg", { viewBox: '0 0 64 18', ...props, children: jsxRuntime.jsx("path", { d: 'M37.2,16.4L61.7,6.8C63.1,6.3 64,5 64,3.7C64,1.6 62.5,0 60.4,0C58.3,0 57.9,0.6 57,0.9L32,10.7L7,0.9C6.1,0.6 4.7,0 3.6,0C1.5,0 0,1.6 0,3.7C0,5.8 0.9,6.2 2.3,6.8L26.8,16.4C28.5,17 30.5,17.8 32,17.8C33.5,17.8 35.6,17 37.2,16.4Z' }) }));
|
|
1246
|
-
}
|
|
1247
|
-
|
|
1248
|
-
function ChevronDown(props) {
|
|
1249
|
-
return (jsxRuntime.jsx("svg", { viewBox: '0 0 64 36', ...props, children: jsxRuntime.jsx("path", { d: 'M32,36c1,0,1.8-0.4,2.5-1.1L63,5.7c0.7-0.7,1-1.4,1-2.3c0-1-0.3-1.8-1-2.4c-0.6-0.7-1.4-1-2.3-1s-1.7,0.3-2.4,1L30,29.8H34 L5.7,1C5.1,0.3,4.3,0,3.4,0C2.4,0,1.6,0.3,1,1C0.3,1.6,0,2.4,0,3.4c0,0.9,0.3,1.7,1,2.3l28.5,29.2C30.3,35.7,31.1,36,32,36z' }) }));
|
|
1250
|
-
}
|
|
1251
|
-
|
|
1252
|
-
function ChevronLeft(props) {
|
|
1253
|
-
return (jsxRuntime.jsx("svg", { viewBox: '0 0 36 64', ...props, children: jsxRuntime.jsx("path", { d: 'M0,32c0,1,0.4,1.8,1.1,2.5L30.3,63c0.7,0.7,1.4,1,2.3,1c1,0,1.8-0.3,2.4-1c0.7-0.6,1-1.4,1-2.3c0-0.9-0.3-1.7-1-2.4L6.2,30 v4L35,5.7c0.7-0.6,1-1.4,1-2.3c0-1-0.3-1.8-1-2.4c-0.6-0.7-1.4-1-2.4-1c-0.9,0-1.7,0.3-2.3,1L1.1,29.5C0.3,30.3,0,31.1,0,32z' }) }));
|
|
1254
|
-
}
|
|
1255
|
-
|
|
1256
|
-
function ChevronLeftForwardslashChevronRight(props) {
|
|
1257
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 64 43.2', ...props, children: [jsxRuntime.jsx("path", { d: 'M0,21.6c0,0.6,0.3,1.3,0.8,1.7L16,37.1c1,0.9,2.3,0.9,3,0c0.8-0.9,0.7-2.2-0.2-3L5.1,21.6L18.8,9.1c0.9-0.8,1-2.1,0.2-3 s-2.1-0.9-3,0L0.8,19.9C0.3,20.3,0,20.9,0,21.6z' }), jsxRuntime.jsx("path", { d: 'M25.8,43.1c1.2,0.3,2.3-0.3,2.7-1.5l11.4-39c0.3-1.1-0.2-2.2-1.4-2.5c-1.2-0.3-2.2,0.2-2.6,1.6L24.6,40.5 C24.1,41.6,24.5,42.8,25.8,43.1z' }), jsxRuntime.jsx("path", { d: 'M64,21.6c0-0.6-0.3-1.3-0.8-1.7L47.9,6.1c-1-0.9-2.2-0.9-3,0s-0.7,2.2,0.2,3l13.8,12.5L45.1,34.1c-0.9,0.8-1,2.1-0.2,3 s2,0.9,3,0l15.3-13.8C63.8,22.8,64,22.2,64,21.6z' })] }));
|
|
1258
|
-
}
|
|
1259
|
-
|
|
1260
|
-
function ChevronRight(props) {
|
|
1261
|
-
return (jsxRuntime.jsx("svg", { viewBox: '0 0 36 64', ...props, children: jsxRuntime.jsx("path", { d: 'M36,32c0-1-0.4-1.8-1.1-2.5L5.7,1C5,0.3,4.3,0,3.4,0C2.4,0,1.6,0.3,1,1C0.3,1.6,0,2.4,0,3.3S0.3,5,1,5.7L29.8,34v-4L1,58.3 c-0.7,0.6-1,1.4-1,2.3c0,1,0.3,1.8,1,2.4c0.6,0.7,1.4,1,2.4,1c0.9,0,1.7-0.3,2.3-1l29.2-28.5C35.7,33.7,36,32.9,36,32z' }) }));
|
|
1262
|
-
}
|
|
1263
|
-
|
|
1264
|
-
function ChevronUpChevronDown(props) {
|
|
1265
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 55.592 64', ...props, children: [jsxRuntime.jsx("path", { d: 'm27.792,0c-.42,0-.826.083-1.22.249-.394.166-.808.429-1.243.787L.959,20.832c-.64.578-.959,1.373-.959,2.386,0,.931.313,1.717.94,2.358.626.642,1.423.963,2.389.963.373,0,.754-.079,1.143-.238.389-.158.8-.399,1.235-.721L27.8,7.585l22.085,17.995c.409.322.814.563,1.216.721.401.158.789.238,1.162.238.966,0,1.763-.321,2.389-.963.626-.642.939-1.428.939-2.358,0-1.012-.333-1.807-.998-2.386L30.247,1.028c-.435-.358-.854-.619-1.258-.783-.404-.164-.803-.246-1.197-.246Z' }), jsxRuntime.jsx("path", { d: 'm27.792,64c.394,0,.793-.082,1.197-.246.404-.164.823-.425,1.258-.783l24.347-19.804c.665-.578.998-1.373.998-2.386,0-.931-.313-1.717-.939-2.358-.626-.642-1.423-.962-2.389-.962-.373,0-.761.079-1.162.238-.401.158-.807.399-1.216.721l-22.085,17.995L5.707,38.42c-.435-.322-.846-.563-1.235-.721-.389-.158-.77-.238-1.143-.238-.966,0-1.763.321-2.389.962-.626.642-.94,1.428-.94,2.358,0,1.012.32,1.808.959,2.386l24.37,19.796c.435.358.849.62,1.243.787.394.166.801.249,1.22.249Z' })] }));
|
|
1266
|
-
}
|
|
1267
|
-
|
|
1268
|
-
function CircleFill(props) {
|
|
1269
|
-
return (jsxRuntime.jsx("svg", { viewBox: '0 0 64 64', ...props, children: jsxRuntime.jsx("circle", { r: '32', cx: '32', cy: '32' }) }));
|
|
1270
|
-
}
|
|
1271
|
-
|
|
1272
|
-
function ClockBadgeCheckmark(props) {
|
|
1273
|
-
return (j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6,4.7,1.8,6.8,2.9,3.6,4.9,4.9c2.1,1.1,4.3,1.8,6.7,1.8s4.7-.6,6.7-1.8,3.7-2.9,4.9-4.9c1.2-2.1,1.8-4.3,1.8-6.7s-.6-4.7-1.8-6.8ZM58.8,36.2c0,.2-.2.3-.3.5l-8.2,11.4c-.3.4-.8.6-1.4.6s-.5,0-.7-.2-.4-.2-.6-.4l-5.1-5.6c-.1-.1-.2-.3-.3-.5,0-.2-.1-.4-.1-.5,0-.5.2-.9.5-1.2s.7-.5,1.2-.5.5,0,.7.2c.2.1.4.3.5.4l3.7,4,7-9.7c.4-.5.8-.7,1.4-.7s.8.2,1.1.5.5.7.5,1.1,0,.3-.1.5Z' })] }));
|
|
1274
|
-
}
|
|
1275
|
-
|
|
1276
|
-
function ClockFill(props) {
|
|
1277
|
-
return (jsxRuntime.jsx("svg", { viewBox: '0 0 64 64', ...props, children: jsxRuntime.jsx("path", { d: 'M61.5,19.6c-1.7-3.9-4-7.3-6.9-10.2s-6.4-5.3-10.2-6.9C40.5,0.8,36.3,0,32,0c-4.4,0-8.5,0.8-12.3,2.5 c-3.9,1.7-7.3,4-10.2,6.9c-2.9,3-5.2,6.4-6.9,10.2C0.8,23.5,0,27.6,0,32c0,4.4,0.8,8.5,2.5,12.3c1.7,3.9,4,7.3,6.9,10.2 c2.9,3,6.3,5.3,10.2,6.9c3.9,1.7,8,2.5,12.3,2.5c4.4,0,8.5-0.8,12.4-2.5c3.9-1.7,7.3-4,10.2-6.9s5.3-6.4,6.9-10.2 c1.7-3.9,2.5-8,2.5-12.3C64,27.6,63.2,23.5,61.5,19.6z M34.1,33.2c0,0.6-0.2,1.1-0.6,1.5c-0.4,0.4-0.9,0.6-1.6,0.6H15.6 c-0.6,0-1.1-0.2-1.5-0.6c-0.4-0.4-0.6-0.9-0.6-1.5c0-0.6,0.2-1.1,0.6-1.5c0.4-0.4,0.9-0.6,1.5-0.6h14.2V12.1c0-0.6,0.2-1.1,0.6-1.6 c0.4-0.4,0.9-0.6,1.5-0.6c0.6,0,1.1,0.2,1.6,0.6c0.4,0.4,0.6,0.9,0.6,1.6V33.2z' }) }));
|
|
1278
|
-
}
|
|
1279
|
-
|
|
1280
|
-
function CloudFill(props) {
|
|
1281
|
-
return (jsxRuntime.jsx("svg", { viewBox: '0 0 64 42.3', ...props, children: jsxRuntime.jsx("path", { d: 'M13.1,42.3H48c3,0,5.7-0.7,8.1-2.1s4.3-3.2,5.7-5.6c1.4-2.4,2.1-5,2.1-7.9s-0.7-5.6-2.2-7.9s-3.5-4.2-6-5.5s-5.4-2-8.6-2 c-1.8-3.6-4.2-6.3-7.4-8.4c-3.1-2-6.7-3-10.7-3c-3.5,0-6.7,0.8-9.6,2.5s-5.3,3.9-7.2,6.7c-1.9,2.8-3,6-3.2,9.5 c-2.7,0.7-4.8,2.2-6.5,4.3C0.8,25,0,27.5,0,30.3c0,2.3,0.5,4.4,1.6,6.2c1.1,1.8,2.6,3.2,4.6,4.2C8.2,41.8,10.5,42.3,13.1,42.3z' }) }));
|
|
1282
|
-
}
|
|
1283
|
-
|
|
1284
|
-
function CubeFill(props) {
|
|
1285
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 59.7 64', ...props, children: [jsxRuntime.jsx("path", { d: 'M29.8,30.3l27.7-15.7c-0.4-0.4-1-0.8-1.6-1.2L35.2,1.6c-1.8-1-3.6-1.6-5.4-1.6c-1.7,0-3.5,0.5-5.3,1.6L3.8,13.4 c-0.7,0.4-1.2,0.7-1.6,1.2L29.8,30.3z' }), jsxRuntime.jsx("path", { d: 'M27.8,64V33.8L0.2,18c-0.1,0.3-0.2,0.7-0.2,1C0,19.4,0,19.8,0,20.3v22.9c0,2.1,0.4,3.7,1.1,4.7c0.7,1,1.8,1.9,3.1,2.7 l23,13.1c0.1,0.1,0.2,0.1,0.3,0.1C27.6,63.9,27.7,64,27.8,64z' }), jsxRuntime.jsx("path", { d: 'M31.8,64c0.1,0,0.2-0.1,0.3-0.1c0.1,0,0.2-0.1,0.3-0.1l23-13.1c1.3-0.8,2.4-1.7,3.1-2.7c0.7-1,1.1-2.6,1.1-4.7V20.3 c0-0.4,0-0.8,0-1.2c0-0.4-0.1-0.7-0.2-1L31.8,33.8V64z' })] }));
|
|
1286
|
-
}
|
|
1287
|
-
|
|
1288
|
-
function CurvePointLeft(props) {
|
|
1289
|
-
return (jsxRuntime.jsx("svg", { viewBox: '0 0 26.7 64', ...props, children: jsxRuntime.jsx("path", { d: 'M0,32c0,5.1,26.7,17.8,26.7,32V0C26.7,14.2,0,26.9,0,32z' }) }));
|
|
1290
|
-
}
|
|
1291
|
-
|
|
1292
|
-
function DialHigh(props) {
|
|
1293
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 64 55.5', ...props, children: [jsxRuntime.jsx("path", { d: 'M32,12.7c-10.6,0-19.3,8.6-19.3,19.3c0,10.7,8.7,19.3,19.3,19.3S51.3,42.7,51.3,32C51.3,21.3,42.6,12.7,32,12.7z M32,46.9 c-8.3,0-15-6.7-15-15c0-8.2,6.8-15,15-15c8.3,0,15,6.8,15,15C47,40.2,40.3,46.9,32,46.9z' }), jsxRuntime.jsx("path", { d: 'M41.5,43.9l2.8-2.8l-11-11c-0.7-0.7-2.1-0.7-2.8,0c-0.8,0.9-0.8,2,0,2.8L41.5,43.9z' }), jsxRuntime.jsx("path", { d: 'M52.3,55.5c1.8,0,3.3-1.5,3.3-3.3c0-1.8-1.5-3.3-3.3-3.3c-1.8,0-3.3,1.5-3.3,3.3C49.1,54,50.5,55.5,52.3,55.5z' }), jsxRuntime.jsx("path", { d: 'M60.7,35.3c1.8,0,3.3-1.5,3.3-3.3c0-1.8-1.5-3.3-3.3-3.3c-1.8,0-3.3,1.5-3.3,3.3C57.4,33.8,58.8,35.3,60.7,35.3z' }), jsxRuntime.jsx("path", { d: 'M52.3,15.1c1.8,0,3.3-1.5,3.3-3.3c0-1.8-1.5-3.3-3.3-3.3c-1.8,0-3.3,1.4-3.3,3.3C49.1,13.6,50.5,15.1,52.3,15.1z' }), jsxRuntime.jsx("path", { d: 'M32,6.6c1.8,0,3.3-1.4,3.3-3.3C35.3,1.5,33.9,0,32,0c-1.8,0-3.3,1.5-3.3,3.3C28.7,5.1,30.2,6.6,32,6.6z' }), jsxRuntime.jsx("path", { d: 'M11.7,15c1.8,0,3.3-1.5,3.3-3.3c0-1.8-1.5-3.3-3.3-3.3c-1.8,0-3.3,1.4-3.3,3.3C8.4,13.6,9.8,15,11.7,15z' }), jsxRuntime.jsx("path", { d: 'M3.3,35.3c1.8,0,3.3-1.5,3.3-3.3c0-1.8-1.5-3.3-3.3-3.3S0,30.1,0,32C0,33.8,1.5,35.3,3.3,35.3z' }), jsxRuntime.jsx("path", { d: 'M11.7,55.5c1.8,0,3.3-1.5,3.3-3.3c0-1.8-1.5-3.3-3.3-3.3c-1.8,0-3.3,1.5-3.3,3.3C8.4,54,9.9,55.5,11.7,55.5z' })] }));
|
|
1294
|
-
}
|
|
1295
|
-
|
|
1296
|
-
function DocFill(props) {
|
|
1297
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 50.2 64', ...props, children: [jsxRuntime.jsx("path", { d: 'M9.2,64h31.7c3.1,0,5.4-0.8,6.9-2.4c1.5-1.6,2.3-3.9,2.3-7V27.6H28.6c-3.8,0-5.6-1.9-5.6-5.7V0H9.2C6.2,0,3.9,0.8,2.3,2.4 C0.8,3.9,0,6.3,0,9.4v45.3c0,3.1,0.8,5.5,2.3,7C3.9,63.2,6.2,64,9.2,64z' }), jsxRuntime.jsx("path", { d: 'M28.7,23.5h21.2c-0.1-0.6-0.3-1.3-0.8-1.9c-0.4-0.6-1-1.3-1.7-2L30.9,2.8c-0.7-0.7-1.4-1.3-2-1.7c-0.6-0.4-1.3-0.7-1.9-0.8 v21.5C27,22.9,27.6,23.5,28.7,23.5z' })] }));
|
|
1298
|
-
}
|
|
1299
|
-
|
|
1300
|
-
function DocOnClipboard(props) {
|
|
1301
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 52 64', ...props, children: [jsxRuntime.jsx("path", { d: 'M50.1,2c-1.3-1.3-3.3-2-5.9-2H20.2c-2.6,0-4.6,0.7-5.9,2c-1.3,1.3-2,3.3-2,6v7.1h7.8l18.3,18.4v17.8h5.6 c2.6,0,4.6-0.7,5.9-2s2-3.3,2-6V8C52,5.3,51.4,3.3,50.1,2z M40,7.2c0,0.4-0.1,0.7-0.4,1c-0.3,0.3-0.7,0.5-1.2,0.5H26 c-0.6,0-1-0.2-1.2-0.5c-0.3-0.3-0.4-0.7-0.4-1V6.7c0-0.4,0.1-0.7,0.4-1C25,5.3,25.4,5.2,26,5.2h12.4c0.5,0,1,0.2,1.2,0.5 c0.3,0.3,0.4,0.7,0.4,1V7.2z' }), jsxRuntime.jsx("path", { d: 'M39.3,32.3c-0.3-0.9-1-1.9-2-2.9l-14-14.3c-1-1-1.9-1.7-2.8-2s-2.1-0.5-3.5-0.5h-9c-2.6,0-4.6,0.7-5.9,2c-1.3,1.3-2,3.3-2,6 V56c0,2.7,0.7,4.7,2,6c1.3,1.3,3.3,2,5.9,2h23.9c2.6,0,4.6-0.7,5.9-2c1.3-1.3,2-3.3,2-6V36.2C39.7,34.5,39.6,33.2,39.3,32.3z M20.3,17.7l14.5,14.8H21.7c-1,0-1.4-0.5-1.4-1.4V17.7z M35.6,56c0,1.3-0.3,2.2-1,2.9c-0.7,0.7-1.7,1-3,1H8.1c-1.3,0-2.3-0.3-3-1 c-0.7-0.7-1-1.7-1-2.9V20.7c0-1.3,0.3-2.2,1-2.9c0.7-0.7,1.7-1,3-1h8.3v14.8c0,1.6,0.4,2.8,1.2,3.6c0.8,0.8,2,1.2,3.6,1.2h14.3V56z' })] }));
|
|
1302
|
-
}
|
|
1303
|
-
|
|
1304
|
-
function DocOnDoc(props) {
|
|
1305
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 52 64', ...props, children: [jsxRuntime.jsx("path", { d: 'M51.5,18.7c-0.4-1.1-1-2.1-2-3.1L36.6,2.5c-0.9-0.9-1.9-1.6-3-2C32.6,0.2,31.3,0,30,0h-9.8c-2.6,0-4.6,0.7-5.9,2 c-1.3,1.3-2,3.3-2,6v6.1h4.1V8c0-1.3,0.3-2.2,1-2.9c0.7-0.7,1.7-1,3-1h11.2v13c0,1.5,0.4,2.6,1.1,3.3c0.7,0.7,1.8,1.1,3.2,1.1h11.9 v21.8c0,1.3-0.3,2.2-1,2.9c-0.7,0.7-1.7,1-3,1h-5v4.1h5.2c2.6,0,4.6-0.7,5.9-2s2-3.3,2-6V22.7C52,21.1,51.8,19.8,51.5,18.7z M36.6,17.8c-0.8,0-1.3-0.4-1.3-1.3V6.1l11.5,11.7H36.6z' }), jsxRuntime.jsx("path", { d: 'M39.3,32.3c-0.3-0.9-1-1.9-2-2.9l-14-14.3c-1-1-1.9-1.7-2.8-2s-2.1-0.5-3.5-0.5h-9c-2.6,0-4.6,0.7-5.9,2c-1.3,1.3-2,3.3-2,6 V56c0,2.7,0.7,4.7,2,6c1.3,1.3,3.3,2,5.9,2h23.9c2.6,0,4.6-0.7,5.9-2c1.3-1.3,2-3.3,2-6V36.2C39.7,34.5,39.6,33.2,39.3,32.3z M20.3,17.7l14.5,14.8H21.7c-1,0-1.4-0.5-1.4-1.4V17.7z M35.6,56c0,1.3-0.3,2.2-1,2.9c-0.7,0.7-1.7,1-3,1H8.1c-1.3,0-2.3-0.3-3-1 c-0.7-0.7-1-1.7-1-2.9V20.7c0-1.3,0.3-2.2,1-2.9c0.7-0.7,1.7-1,3-1h8.3v14.8c0,1.6,0.4,2.8,1.2,3.6c0.8,0.8,2,1.2,3.6,1.2h14.3V56z' })] }));
|
|
1306
|
-
}
|
|
1307
|
-
|
|
1308
|
-
function DocOnDocFill(props) {
|
|
1309
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 52 64', ...props, children: [jsxRuntime.jsx("path", { d: 'M7.9,64h23.9c2.6,0,4.6-0.7,5.9-2c1.3-1.3,2-3.3,2-6V35.9H21.9c-1.6,0-2.8-0.4-3.6-1.2c-0.8-0.8-1.2-2-1.2-3.6V12.7H7.9 c-2.6,0-4.6,0.7-5.9,2c-1.3,1.3-2,3.3-2,6V56c0,2.7,0.7,4.7,2,6C3.3,63.3,5.3,64,7.9,64z' }), jsxRuntime.jsx("path", { d: 'M21.9,32.4h17.3c-0.1-0.5-0.3-1-0.7-1.5c-0.3-0.5-0.8-1-1.3-1.6L23.7,15.5c-0.6-0.6-1.1-1-1.6-1.4c-0.5-0.4-1-0.6-1.5-0.8 v17.8C20.6,32,21,32.4,21.9,32.4z' }), jsxRuntime.jsx("path", { d: 'M43.1,51.3h1c1.7,0,3.2-0.3,4.4-0.9c1.2-0.6,2.1-1.5,2.6-2.7c0.6-1.2,0.9-2.7,0.9-4.4V19.2H37.9c-1.3,0-2.3-0.4-3.1-1.1 c-0.7-0.7-1.1-1.7-1.1-3.1V0H20.2c-2.6,0-4.5,0.7-5.9,2c-1.3,1.3-2,3.3-2,5.8v1.4H16c1.8,0,3.4,0.3,4.9,0.8c1.5,0.5,2.9,1.5,4.4,2.9 l14.5,14.4c1.4,1.4,2.3,2.9,2.8,4.4c0.4,1.5,0.6,3.1,0.6,4.9V51.3z' }), jsxRuntime.jsx("path", { d: 'M38.4,16h13.3c-0.1-0.4-0.2-0.8-0.5-1.2c-0.3-0.4-0.6-0.8-1.1-1.2l-10.8-11c-0.4-0.4-0.8-0.8-1.2-1.1 C37.8,1.3,37.4,1.1,37,1l0,13.5C37,15.5,37.5,16,38.4,16z' })] }));
|
|
1310
|
-
}
|
|
1311
|
-
|
|
1312
|
-
function DocOnMagnifyingglass(props) {
|
|
1313
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 51 64', ...props, children: [jsxRuntime.jsx("path", { d: 'M8.5,58.9h15.1c-1.5-1.2-2.7-2.7-3.6-4.4H8.8c-2.8,0-4.3-1.5-4.3-4.2V8.7c0-2.7,1.5-4.3,4.3-4.3h28.7c2.7,0,4.3,1.5,4.3,4.3 v24c1.7,0.9,3.2,2.1,4.4,3.6V8.6c0-5.8-2.9-8.6-8.5-8.6H8.5C2.8,0,0,2.9,0,8.6v41.7C0,56.1,2.8,58.9,8.5,58.9z' }), jsxRuntime.jsx("path", { d: 'M12.7,15.6h20.8c1,0,1.7-0.8,1.7-1.7c0-0.9-0.7-1.7-1.7-1.7H12.7c-1,0-1.7,0.7-1.7,1.7C11,14.9,11.7,15.6,12.7,15.6z' }), jsxRuntime.jsx("path", { d: 'M12.7,25.2h20.8c1,0,1.7-0.8,1.7-1.7c0-0.9-0.7-1.7-1.7-1.7H12.7c-1,0-1.7,0.7-1.7,1.7C11,24.5,11.7,25.2,12.7,25.2z' }), jsxRuntime.jsx("path", { d: 'M33.9,34.2c-6.8,0-12.4,5.6-12.4,12.4c0,6.8,5.6,12.4,12.4,12.4s12.4-5.5,12.4-12.4C46.2,39.7,40.7,34.2,33.9,34.2z M33.9,55c-4.7,0-8.5-3.8-8.5-8.4c0-4.6,3.8-8.4,8.5-8.4c4.6,0,8.4,3.8,8.4,8.4C42.3,51.2,38.5,55,33.9,55z' }), jsxRuntime.jsx("path", { d: 'M48.8,64c1.3,0,2.2-1,2.2-2.4c0-0.6-0.3-1.2-0.8-1.7l-7.7-7.7l-3.5,3.1l7.8,7.7C47.5,63.8,48.1,64,48.8,64z' })] }));
|
|
1314
|
-
}
|
|
1315
|
-
|
|
1316
|
-
function DollarSign(props) {
|
|
1317
|
-
return (jsxRuntime.jsx("svg", { viewBox: '0 0 468.96 820', ...props, children: jsxRuntime.jsx("path", { d: 'M270.718 358.763L270.718 176.564C309.694 183.138 346.445 199.131 377.865 223.149C384.128 227.444 391.478 229.774 399.087 229.877C423.466 229.877 443.343 210.259 443.601 185.88C443.652 175.425 439.563 165.383 432.214 157.93C386.819 119.056 329.882 96.1268 270.201 92.7106L270.201 31.6317C270.201 14.1874 256.07 0.0568293 238.626 0.0568293C238.264 0.00557919 237.9 0.00557919 237.539 0.00557919C219.836-0.253875 205.24 13.8783 204.98 31.6317L204.98 90.6398C88.5176 98.9215 9.32336 170.87 9.32336 266.628C9.32336 384.125 109.223 416.736 204.98 442.616L204.98 649.662C154.46 642.881 106.841 621.918 67.8125 589.102C60.463 583.253 51.3517 579.992 41.9312 579.785C18.0695 581.441-0.305258 601.421 0.00384275 625.335C-0.0474074 635.79 4.04139 645.832 11.391 653.286C64.8609 701.424 133.6 729.117 205.496 731.446L205.496 788.383C205.496 788.745 205.547 789.108 205.547 789.47C206.375 807.172 221.438 820.837 239.14 819.958C256.584 819.958 270.715 805.827 270.715 788.383L270.715 730.411C412.023 721.095 468.96 635.171 468.96 544.07C468.963 421.913 366.477 384.644 270.718 358.763ZM205.499 342.199C149.079 325.636 105.083 308.555 105.083 260.417C105.083 212.279 144.939 177.598 205.499 172.941L205.499 342.199ZM270.718 650.696L270.718 462.286C329.209 478.85 374.757 501.107 374.24 555.456C374.24 594.795 347.324 641.38 270.718 650.696Z' }) }));
|
|
1318
|
-
}
|
|
1319
|
-
|
|
1320
|
-
function EllipsisCircle(props) {
|
|
1321
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 64 64', ...props, children: [jsxRuntime.jsx("path", { d: 'M61.5,19.8c-1.7-3.9-4-7.3-6.9-10.2c-3-3-6.4-5.3-10.2-6.9C40.5,1,36.4,0.2,32,0.2S23.5,1,19.7,2.7s-7.3,4-10.2,6.9 c-2.9,3-5.2,6.4-6.9,10.2c-1.7,3.9-2.5,8-2.5,12.3c0,4.4,0.8,8.5,2.5,12.3c1.7,3.9,4,7.3,6.9,10.2c2.9,3,6.3,5.3,10.2,6.9 C23.5,63.1,27.6,64,32,64c4.4,0,8.5-0.8,12.4-2.5s7.3-4,10.2-6.9c2.9-3,5.3-6.4,6.9-10.2c1.7-3.9,2.5-8,2.5-12.3 C64,27.7,63.2,23.6,61.5,19.8z M56.5,42.3c-1.4,3.2-3.3,6.1-5.7,8.5c-2.4,2.4-5.3,4.4-8.5,5.7c-3.2,1.5-6.6,2.1-10.3,2.1 c-3.7,0-7.1-0.7-10.4-2.1c-3.2-1.4-6-3.3-8.5-5.7c-2.4-2.4-4.3-5.3-5.7-8.5C6,39.1,5.3,35.6,5.3,31.9c0-3.7,0.7-7.1,2-10.4 c1.4-3.2,3.3-6.1,5.7-8.5c2.4-2.4,5.3-4.4,8.5-5.7c3.2-1.4,6.7-2.1,10.4-2.1c3.7,0,7.2,0.7,10.4,2.1c3.2,1.4,6.1,3.3,8.5,5.7 c2.4,2.4,4.4,5.3,5.7,8.5c1.4,3.2,2.1,6.7,2.1,10.4C58.6,35.6,57.9,39,56.5,42.3z' }), jsxRuntime.jsx("path", { d: 'M17.3,36.5c1.2,0,2.3-0.4,3.2-1.3s1.3-2,1.3-3.2c0-1.3-0.4-2.3-1.3-3.2s-2-1.3-3.2-1.3c-1.3,0-2.3,0.4-3.2,1.3 s-1.3,2-1.3,3.2c0,1.3,0.4,2.3,1.3,3.2S16.1,36.5,17.3,36.5z' }), jsxRuntime.jsx("path", { d: 'M32,36.5c1.3,0,2.3-0.4,3.2-1.3c0.9-0.9,1.3-2,1.3-3.2c0-1.3-0.4-2.3-1.3-3.2c-0.9-0.9-2-1.3-3.2-1.3 c-1.3,0-2.3,0.4-3.2,1.3c-0.9,0.9-1.3,2-1.3,3.2c0,1.3,0.4,2.3,1.3,3.2C29.6,36.1,30.7,36.5,32,36.5z' }), jsxRuntime.jsx("path", { d: 'M46.6,36.5c1.3,0,2.3-0.4,3.2-1.3c0.9-0.9,1.3-2,1.3-3.2c0-1.3-0.4-2.3-1.3-3.2c-0.9-0.9-2-1.3-3.2-1.3 c-1.3,0-2.3,0.4-3.2,1.3s-1.3,2-1.3,3.2c0,1.3,0.4,2.3,1.3,3.2S45.3,36.5,46.6,36.5z' })] }));
|
|
1322
|
-
}
|
|
1323
|
-
|
|
1324
|
-
function EllipsisCircleFill(props) {
|
|
1325
|
-
return (jsxRuntime.jsx("svg", { viewBox: '0 0 64 64', ...props, children: jsxRuntime.jsx("path", { d: 'M61.5,19.6c-1.7-3.9-4-7.3-6.9-10.2c-3-3-6.4-5.3-10.2-6.9C40.5,0.8,36.4,0,32,0c-4.4,0-8.5,0.8-12.3,2.5 c-3.9,1.7-7.3,4-10.2,6.9c-2.9,3-5.2,6.4-6.9,10.2C0.8,23.5,0,27.6,0,32s0.8,8.5,2.5,12.4c1.7,3.9,4,7.3,6.9,10.2 c2.9,3,6.3,5.3,10.2,6.9c3.9,1.7,8,2.5,12.3,2.5c4.4,0,8.5-0.8,12.4-2.5c3.9-1.7,7.3-4,10.2-6.9c2.9-3,5.3-6.4,6.9-10.2 c1.7-3.9,2.5-8,2.5-12.4S63.2,23.5,61.5,19.6z M20.5,35.4c-1,0.9-2.1,1.4-3.4,1.4c-1.3,0-2.5-0.5-3.4-1.4c-1-0.9-1.4-2.1-1.4-3.4 c0-1.3,0.5-2.5,1.4-3.4c1-0.9,2.1-1.4,3.4-1.4c1.3,0,2.5,0.5,3.4,1.4s1.4,2.1,1.4,3.4C21.9,33.3,21.4,34.5,20.5,35.4z M35.4,35.4 c-0.9,0.9-2.1,1.4-3.4,1.4c-1.3,0-2.5-0.5-3.5-1.4c-1-0.9-1.4-2.1-1.4-3.4c0-1.3,0.5-2.5,1.4-3.4c1-0.9,2.1-1.4,3.5-1.4 c1.3,0,2.5,0.5,3.4,1.4c0.9,0.9,1.4,2.1,1.4,3.4C36.9,33.3,36.4,34.5,35.4,35.4z M50.4,35.4c-1,0.9-2.1,1.4-3.4,1.4 c-1.3,0-2.5-0.5-3.4-1.4c-0.9-0.9-1.4-2.1-1.4-3.4c0-1.3,0.5-2.5,1.4-3.4c0.9-0.9,2.1-1.4,3.4-1.4c1.3,0,2.5,0.5,3.4,1.4 s1.4,2.1,1.4,3.4C51.8,33.3,51.3,34.5,50.4,35.4z' }) }));
|
|
1326
|
-
}
|
|
1327
|
-
|
|
1328
|
-
function Envelope(props) {
|
|
1329
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 64 49.9', ...props, children: [jsxRuntime.jsx("path", { d: 'M61.7,2.2C60.2,0.7,57.9,0,54.9,0H8.2C5.6,0,3.6,0.7,2.2,2.2C0.7,3.7,0,6,0,9v32c0,3,0.8,5.2,2.3,6.7s3.8,2.2,6.8,2.2h46.7 c2.6,0,4.6-0.7,6.1-2.2c1.4-1.5,2.2-3.7,2.2-6.7V9C64,6,63.2,3.7,61.7,2.2z M59.6,41c0,1.5-0.4,2.6-1.2,3.4 c-0.8,0.8-1.9,1.2-3.3,1.2H8.9c-1.4,0-2.6-0.4-3.3-1.2s-1.2-1.9-1.2-3.4V9c0-1.5,0.4-2.6,1.2-3.4s1.9-1.2,3.3-1.2H55 c1.4,0,2.5,0.4,3.3,1.2c0.8,0.8,1.2,1.9,1.2,3.4V41z' }), jsxRuntime.jsx("path", { d: 'M32.1,32.7c1,0,2-0.2,3-0.7c1-0.4,2-1.2,3-2.2L61.6,6.7l-3-3l-23,22.7c-0.6,0.6-1.2,1.1-1.8,1.4c-0.6,0.3-1.1,0.4-1.7,0.4 c-0.6,0-1.2-0.1-1.7-0.4c-0.6-0.3-1.2-0.7-1.8-1.4L5.4,3.6l-3,3L26,29.9c1,1,2,1.7,3,2.2C30,32.4,31,32.7,32.1,32.7z' }), jsxRuntime.jsx("polygon", { points: '58.3,46.1 61.3,43.1 42.6,24.6 39.6,27.6 ' }), jsxRuntime.jsx("polygon", { points: '2.7,43.1 5.8,46.2 24.5,27.6 21.5,24.6 ' })] }));
|
|
1330
|
-
}
|
|
1331
|
-
|
|
1332
|
-
function EnvelopeFill(props) {
|
|
1333
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 64 49.9', ...props, children: [jsxRuntime.jsx("path", { d: 'M32.1,28.3c1.2,0,2.4-0.6,3.6-1.8L60.8,1.5c-1.1-1-3.1-1.5-5.9-1.5H8.2C5.8,0,4.1,0.5,3.1,1.4l25.3,25.1 C29.7,27.7,30.9,28.3,32.1,28.3z' }), jsxRuntime.jsx("path", { d: 'M0.7,45.3L21.2,25L0.7,4.7C0.2,5.6,0,7,0,9v32C0,43,0.2,44.4,0.7,45.3z' }), jsxRuntime.jsx("path", { d: 'M9.1,49.9h46.7c2.4,0,4.1-0.5,5.1-1.4L40,27.9L38,29.8c-1.9,1.9-3.9,2.8-6,2.8c-2.1,0-4.1-0.9-6-2.8l-1.9-1.9L3.3,48.5 C4.4,49.5,6.3,49.9,9.1,49.9z' }), jsxRuntime.jsx("path", { d: 'M63.3,45.2C63.8,44.4,64,43,64,41V9c0-2-0.2-3.3-0.7-4.1L42.9,25L63.3,45.2z' })] }));
|
|
1334
|
-
}
|
|
1335
|
-
|
|
1336
|
-
function Eye(props) {
|
|
1337
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 64 40.1', ...props, children: [jsxRuntime.jsx("path", { d: 'M32,0C13.3,0,0,15.3,0,20.1c0,4.8,13.3,20.1,32,20.1c18.9,0,32-15.3,32-20.1C64,15.3,50.9,0,32,0z M32,36.4 c-15.4,0-27.9-13.1-27.9-16.4C4.1,17.3,16.6,3.7,32,3.7c15.4,0,27.9,13.6,27.9,16.4C59.9,23.4,47.4,36.4,32,36.4z' }), jsxRuntime.jsx("path", { d: 'M32,7c-7.3,0-13.2,5.8-13.2,13.1c0,7.1,5.8,13.1,13.2,13.1c7.3,0,13.1-6,13.1-13.1C45.1,12.7,39.3,7,32,7z M32,24.4 c-2.4,0-4.4-2-4.4-4.3c0-2.4,2-4.4,4.4-4.4c2.4,0,4.4,2,4.4,4.4C36.4,22.4,34.4,24.4,32,24.4z' })] }));
|
|
1338
|
-
}
|
|
1339
|
-
|
|
1340
|
-
function ExclamationmarkOctagon(props) {
|
|
1341
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 64 61.6', ...props, children: [jsxRuntime.jsx("path", { d: 'M61.4,16.8l-12.1-13.3C47.3,1.3,45.4,0,41.4,0h-18.9C18.6,0,16.7,1.3,14.7,3.5L2.6,16.8c-2,2.3-2.6,3.8-2.6,6.9v14.2c0,3.1.5,4.6,2.6,6.9l12.1,13.3c2,2.2,3.9,3.5,7.8,3.5h18.9c4,0,5.8-1.3,7.9-3.5l12.1-13.3c2.1-2.3,2.6-3.8,2.6-6.9v-14.2c0-3.1-.5-4.6-2.6-6.9ZM58.2,37.3c0,2.3-.3,3.1-1.5,4.4l-11.2,12.3c-1.7,1.9-2.6,2.5-5.8,2.5h-15.5c-3.1,0-4-.7-5.7-2.5l-11.2-12.3c-1.2-1.4-1.5-2.2-1.5-4.4v-13.1c0-2.3.3-3.1,1.5-4.4l11.2-12.3c1.7-1.9,2.6-2.5,5.7-2.5h15.5c3.1,0,4,.7,5.8,2.5l11.2,12.3c1.3,1.4,1.5,2.2,1.5,4.4v13.1Z' }), jsxRuntime.jsx("path", { d: 'M32,36.4c1.5,0,2.4-.9,2.4-2.5l.4-16.4c0-1.6-1.2-2.8-2.9-2.8s-2.9,1.1-2.8,2.7l.4,16.5c0,1.6.9,2.5,2.4,2.5Z' }), jsxRuntime.jsx("path", { d: 'M32,46.5c1.8,0,3.4-1.4,3.4-3.2s-1.5-3.2-3.4-3.2-3.3,1.4-3.3,3.2,1.5,3.2,3.3,3.2Z' })] }));
|
|
1342
|
-
}
|
|
1343
|
-
|
|
1344
|
-
function FigureWaterFitness(props) {
|
|
1345
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 64 45.9', ...props, children: [jsxRuntime.jsx("path", { d: 'M31.8,11.8c3.3,0,5.9-2.7,5.9-5.9c0-3.3-2.7-5.9-5.9-5.9c-3.3,0-5.9,2.6-5.9,5.9C25.9,9.2,28.5,11.8,31.8,11.8z' }), jsxRuntime.jsx("path", { d: 'M2.8,7.7l19.9,10.7c0.6,0.3,1,1,0.8,1.7l-1.9,7c5,1,6.7,4.1,10.4,4.1c1,0,1.9-0.3,2.7-0.7l2.6-9.7c0.3-1,0.5-1.5,1.5-2 L59.7,7.7c1.5-0.8,2.1-2.7,1.3-4.1c-0.9-1.5-2.7-2.1-4.2-1.3l-20.7,11c-3.3,1.7-6.3,1.9-10.2-0.1L5.7,2.3C4.2,1.5,2.3,2.1,1.5,3.6 C0.7,5.1,1.3,6.9,2.8,7.7z' }), jsxRuntime.jsx("path", { d: 'M1.5,38.4h2.8c7.2,0,8.9-4.5,13.9-4.5c5,0,6.7,4.5,13.9,4.5c7.2,0,8.9-4.5,13.9-4.5c5,0,6.7,4.5,13.9,4.5h2.8 c0.8,0,1.5-0.7,1.5-1.5c0-0.8-0.7-1.5-1.5-1.5h-2.8c-5.2,0-6.9-4.5-13.9-4.5c-6.9,0-8.7,4.5-13.9,4.5c-5.2,0-6.9-4.5-13.9-4.5 c-6.9,0-8.7,4.5-13.9,4.5H1.5c-0.8,0-1.5,0.7-1.5,1.5C0,37.8,0.7,38.4,1.5,38.4z' }), jsxRuntime.jsx("path", { d: 'M2.2,45.9c0.9,0,1.6-0.7,1.6-1.6c0-0.9-0.7-1.6-1.6-1.6c-0.9,0-1.6,0.7-1.6,1.6C0.7,45.3,1.3,45.9,2.2,45.9z' }), jsxRuntime.jsx("path", { d: 'M7.3,45c0.9,0,1.6-0.7,1.6-1.6c0-0.9-0.7-1.6-1.6-1.6c-0.9,0-1.6,0.7-1.6,1.6C5.7,44.3,6.4,45,7.3,45z' }), jsxRuntime.jsx("path", { d: 'M12,42.8c0.9,0,1.6-0.7,1.6-1.6c0-0.9-0.7-1.6-1.6-1.6c-0.9,0-1.6,0.7-1.6,1.6C10.5,42.1,11.2,42.8,12,42.8z' }), jsxRuntime.jsx("path", { d: 'M17.2,41.6c0.9,0,1.6-0.7,1.6-1.6c0-0.9-0.7-1.6-1.6-1.6c-0.9,0-1.6,0.7-1.6,1.6C15.6,40.9,16.3,41.6,17.2,41.6z' }), jsxRuntime.jsx("path", { d: 'M22.2,42.8c0.9,0,1.6-0.7,1.6-1.6c0-0.9-0.7-1.6-1.6-1.6c-0.9,0-1.6,0.7-1.6,1.6C20.7,42.1,21.4,42.8,22.2,42.8z' }), jsxRuntime.jsx("path", { d: 'M27,45c0.9,0,1.6-0.7,1.6-1.6c0-0.9-0.7-1.6-1.6-1.6c-0.9,0-1.6,0.7-1.6,1.6C25.5,44.3,26.2,45,27,45z' }), jsxRuntime.jsx("path", { d: 'M32,45.9c0.9,0,1.6-0.7,1.6-1.6c0-0.9-0.7-1.6-1.6-1.6c-0.9,0-1.6,0.7-1.6,1.6C30.4,45.3,31.1,45.9,32,45.9z' }), jsxRuntime.jsx("path", { d: 'M37,45c0.9,0,1.6-0.7,1.6-1.6c0-0.9-0.7-1.6-1.6-1.6c-0.9,0-1.6,0.7-1.6,1.6C35.5,44.3,36.1,45,37,45z' }), jsxRuntime.jsx("path", { d: 'M41.8,42.8c0.9,0,1.6-0.7,1.6-1.6c0-0.9-0.7-1.6-1.6-1.6c-0.9,0-1.6,0.7-1.6,1.6C40.2,42.1,40.9,42.8,41.8,42.8z' }), jsxRuntime.jsx("path", { d: 'M46.9,41.6c0.9,0,1.6-0.7,1.6-1.6c0-0.9-0.7-1.6-1.6-1.6c-0.9,0-1.6,0.7-1.6,1.6C45.3,40.9,46,41.6,46.9,41.6z' }), jsxRuntime.jsx("path", { d: 'M52,42.8c0.9,0,1.6-0.7,1.6-1.6c0-0.9-0.7-1.6-1.6-1.6c-0.9,0-1.6,0.7-1.6,1.6C50.5,42.1,51.1,42.8,52,42.8z' }), jsxRuntime.jsx("path", { d: 'M56.8,45c0.9,0,1.6-0.7,1.6-1.6c0-0.9-0.7-1.6-1.6-1.6c-0.9,0-1.6,0.7-1.6,1.6C55.2,44.3,55.9,45,56.8,45z' }), jsxRuntime.jsx("path", { d: 'M61.8,45.9c0.9,0,1.6-0.7,1.6-1.6c0-0.9-0.7-1.6-1.6-1.6c-0.9,0-1.6,0.7-1.6,1.6C60.2,45.3,60.9,45.9,61.8,45.9z' })] }));
|
|
1346
|
-
}
|
|
1347
|
-
|
|
1348
|
-
function FlagFill(props) {
|
|
1349
|
-
return (jsxRuntime.jsx("svg", { viewBox: '0 0 57.9 64', ...props, children: jsxRuntime.jsx("path", { d: 'M2.5,64c0.7,0,1.3-0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c-0.6,0-1.1,0.2-1.5,0.6c-0.4,0.4-0.6,1-0.6,1.6c0,0.4,0,1,0.1,1.7c0.1,0.8,0.1,1.5,0.1,2.1c0,1.7-0.3,3.2-0.8,4.6 c-0.5,1.4-1.1,2.9-1.8,4.4c-0.7,1.5-1.3,3.3-1.8,5.2S0,41.2,0,43.9c0,4,1,7.6,2.9,10.6s4.6,5.4,8.1,7.1c3.5,1.7,7.6,2.5,12.2,2.5 c5.2,0,9.8-1.1,13.7-3.3c3.9-2.2,6.9-5.3,9.1-9.3c2.2-4,3.3-8.6,3.3-13.9C49.3,32.2,48.5,27.5,46.9,23.5z M33.2,50.1 c-0.8,1.7-1.9,3-3.5,4.1c-1.5,1-3.5,1.5-5.9,1.5c-2.8,0-5-0.8-6.7-2.3c-1.7-1.5-2.5-3.5-2.5-6c0-1.7,0.3-3.1,1-4.3 c0.6-1.1,1.3-2.2,2-3.1c0.7-0.9,1.1-1.9,1.3-3.1c0-0.1,0-0.2,0.1-0.3s0.2,0,0.3,0.1c0.7,0.6,1.3,1.3,1.7,2c0.5,0.7,0.9,1.5,1.2,2.4 c0.8-1.1,1.4-2.6,1.7-4.7s0.4-4.3,0.1-6.7c0-0.1,0-0.2,0.1-0.3c0.1-0.1,0.2-0.1,0.3,0c2.2,1,4,2.4,5.4,4c1.5,1.7,2.5,3.5,3.3,5.4 c0.7,2,1.1,3.9,1.1,5.8C34.4,46.6,34,48.4,33.2,50.1z' }) }));
|
|
1354
|
-
}
|
|
1355
|
-
|
|
1356
|
-
function Folder(props) {
|
|
1357
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 64 51.8', ...props, children: [jsxRuntime.jsx("path", { d: 'M54.9,5.1H28.2c-1.7,0-2.9-0.5-4.2-1.6l-1.8-1.4C20.3,0.5,18.7,0,16,0H8C3,0,0,2.9,0,8.9v33.9c0,6,3,9,9.1,9h46.8 c5.1,0,8.1-3,8.1-9V14.1C64,8.1,61,5.1,54.9,5.1z M58.9,42.5c0,2.7-1.5,4-4,4H9.2c-2.6,0-4-1.4-4-4.1V9.1c0-2.6,1.4-4,4-4h5.5 c1.7,0,2.9,0.5,4.2,1.6l1.8,1.4c1.8,1.5,3.4,2.1,6.1,2.1h28c2.6,0,4,1.4,4,4.1V42.5z' }), jsxRuntime.jsx("rect", { width: '57.7', height: '4.8', x: '3', y: '16' })] }));
|
|
1358
|
-
}
|
|
1359
|
-
|
|
1360
|
-
function FolderFill(props) {
|
|
1361
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 64 51.6', ...props, children: [jsxRuntime.jsx("path", { d: 'M0,42.8c0,2.9,0.7,5.1,2.2,6.6c1.5,1.5,3.7,2.2,6.6,2.2H56c2.5,0,4.5-0.7,5.9-2.2c1.4-1.5,2.1-3.7,2.1-6.6V19.7H0V42.8z' }), jsxRuntime.jsx("path", { d: 'M0,16h64v-2.1c0-2.9-0.7-5.1-2.2-6.5c-1.5-1.5-3.7-2.2-6.6-2.2H28.1c-1,0-1.8-0.1-2.4-0.4c-0.6-0.3-1.3-0.7-2-1.3l-1.7-1.4 c-0.9-0.8-1.8-1.3-2.7-1.6c-0.9-0.3-2-0.5-3.4-0.5h-8C5.3,0,3.4,0.7,2,2.1C0.7,3.5,0,5.6,0,8.5V16z' })] }));
|
|
1362
|
-
}
|
|
1363
|
-
|
|
1364
|
-
function Gearshape(props) {
|
|
1365
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 64 63.9', ...props, children: [jsxRuntime.jsx("path", { d: 'M63,26.1c-0.6-0.8-1.5-1.4-2.7-1.7l-5.5-1.3l-0.4-0.9l3-4.9c0.6-1,0.9-2,0.7-3s-0.6-2-1.4-2.8l-4.2-4.2 c-0.8-0.8-1.7-1.3-2.8-1.4s-2.1,0.1-3,0.7l-4.9,3l-1-0.4l-1.3-5.6c-0.3-1.1-0.8-2-1.6-2.6c-0.8-0.6-1.8-1-3-1h-6c-1.2,0-2.1,0.3-3,1 c-0.8,0.6-1.4,1.5-1.6,2.6l-1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0.1,2.1-0.5l5.9-3.6 c0.5,0.2,1,0.5,1.6,0.7s1.2,0.4,1.7,0.6l1.6,6.7c0.2,0.8,0.5,1.4,1.1,1.9c0.5,0.5,1.1,0.7,1.9,0.7h5.6c0.8,0,1.5-0.2,2-0.7 c0.6-0.4,0.9-1.1,1.1-1.9l1.6-6.7c0.6-0.2,1.2-0.4,1.8-0.6c0.6-0.2,1.1-0.5,1.6-0.7l5.9,3.6c0.7,0.4,1.3,0.6,2,0.5s1.3-0.4,1.9-0.9 l3.9-3.9c0.6-0.6,0.9-1.2,0.9-1.9c0.1-0.7-0.1-1.4-0.6-2.1l-3.6-5.8c0.3-0.5,0.5-1.1,0.7-1.6c0.2-0.6,0.4-1.1,0.6-1.6l6.8-1.6 c0.8-0.2,1.4-0.5,1.8-1.1c0.4-0.5,0.6-1.2,0.6-2.1v-5.5C63.7,28.6,63.5,28,63.1,27.4z M41.3,37.4c-1,1.6-2.3,3-3.9,3.9 c-1.6,1-3.5,1.5-5.4,1.5c-2,0-3.8-0.5-5.4-1.5s-2.9-2.3-3.9-3.9s-1.5-3.5-1.5-5.4c0-2,0.5-3.8,1.5-5.4s2.3-2.9,3.9-3.9 s3.5-1.5,5.4-1.5c2,0,3.8,0.5,5.4,1.5s2.9,2.3,3.9,3.9s1.5,3.4,1.5,5.4S42.3,35.8,41.3,37.4z' }) }));
|
|
1370
|
-
}
|
|
1371
|
-
|
|
1372
|
-
function GiftFill(props) {
|
|
1373
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 58.6 64', ...props, children: [jsxRuntime.jsx("path", { d: 'M4.3,56.2c0,2.5,0.7,4.5,2.2,5.8s3.4,2,6,2h14.3V36.6H4.3V56.2z' }), jsxRuntime.jsx("path", { d: 'M31.8,64h14.3c2.5,0,4.5-0.7,6-2s2.1-3.3,2.1-5.8V36.6H31.8V64z' }), jsxRuntime.jsx("path", { d: 'M0,28.8c0,1.6,0.4,2.8,1.3,3.5c0.9,0.7,2.2,1,3.8,1h21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-10.2-6.9C40.5,0.8,36.3,0,32,0c-4.4,0-8.5,0.8-12.3,2.5 c-3.9,1.7-7.3,4-10.2,6.9c-2.9,3-5.2,6.4-6.9,10.2C0.8,23.5,0,27.6,0,32c0,4.4,0.8,8.5,2.5,12.3c1.7,3.9,4,7.3,6.9,10.2 c2.9,3,6.3,5.3,10.2,6.9c3.9,1.7,8,2.5,12.3,2.5c4.4,0,8.5-0.8,12.4-2.5c3.9-1.7,7.3-4,10.2-6.9s5.3-6.4,6.9-10.2 c1.7-3.9,2.5-8,2.5-12.3C64,27.6,63.2,23.5,61.5,19.6z M57.5,42.7c-1.5,3.4-3.5,6.3-6,8.9s-5.5,4.6-8.8,6c-3.3,1.5-6.9,2.2-10.7,2.2 c-3.8,0-7.3-0.7-10.7-2.2c-3.3-1.5-6.3-3.5-8.8-6s-4.6-5.5-6-8.9S4.3,35.8,4.3,32S5,24.6,6.4,21.3s3.4-6.3,6-8.9s5.5-4.6,8.8-6 C24.6,5,28.2,4.2,32,4.2c3.8,0,7.4,0.7,10.7,2.2c3.3,1.5,6.3,3.5,8.9,6c2.6,2.6,4.6,5.5,6,8.9s2.2,6.9,2.2,10.7S59,39.3,57.5,42.7z' })] }));
|
|
1378
|
-
}
|
|
1379
|
-
|
|
1380
|
-
function HareFill(props) {
|
|
1381
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 64 46.1', ...props, children: [jsxRuntime.jsx("path", { d: 'M18.1,46.1c2.1,0,3.8-0.2,5.1-0.6c1.3-0.4,2.5-0.9,3.6-1.6l-6.6-5.5c-0.1,0-0.3,0-0.5,0c-0.2,0-0.4,0-0.6,0 c-0.5,0-1.2,0-2-0.1c-0.8-0.1-1.6-0.1-2.6-0.1c-1.2,0-2.1,0.3-2.8,0.9s-1,1.4-1,2.3c0,1.4,0.7,2.6,2,3.5 C14,45.7,15.8,46.1,18.1,46.1z' }), jsxRuntime.jsx("path", { d: 'M63.1,20.9c-0.6-1.4-1.4-2.7-2.4-3.7c-1-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-1.7-3.1-2.7-4.4s-2.3-2.2-3.7-2.9c-1.4-0.7-2.9-1-4.7-1h-2.5c-0.9,0-1.4-0.4-1.4-1.2c0-0.7,0.4-1.1,1.1-1.3 c0.8-0.2,1.6-0.3,2.6-0.3c3.1,0,5.8,0.9,8.1,2.6c2.3,1.7,4.2,4.3,5.6,7.8l1.5,3.6c0.7-0.1,1.5-0.3,2.2-0.3c0.8-0.1,1.6-0.1,2.3-0.1 c0.6,0,1.2,0,1.8,0.1c0.6,0,1.2,0.1,1.8,0.2c0.6-0.5,1.3-1,2.1-1.5c0.8-0.5,1.7-1,2.8-1.4c0.8,0.5,1.6,1,2.5,1.4 c0.9,0.4,1.8,0.7,2.7,0.9c0.9,0.2,1.9,0.3,2.8,0.3c2,0,3.6-0.2,4.8-0.6c1.3-0.4,2.2-1,2.8-2c0.6-1,0.9-2.4,0.9-4.3 C64,23.9,63.7,22.4,63.1,20.9z M56.2,24c-0.3,0.4-0.8,0.6-1.2,0.6c-0.5,0-0.9-0.2-1.2-0.5c-0.3-0.3-0.5-0.8-0.5-1.2 c0-0.5,0.2-0.9,0.5-1.3S54.5,21,55,21c0.5,0,0.9,0.2,1.2,0.5c0.3,0.3,0.5,0.7,0.5,1.2C56.7,23.2,56.6,23.6,56.2,24z' })] }));
|
|
1382
|
-
}
|
|
1383
|
-
|
|
1384
|
-
function House(props) {
|
|
1385
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 64 56.3', ...props, children: [jsxRuntime.jsx("path", { d: 'M24.3,53.6h15.5V34c0-1.4-0.7-2-2-2H26.3c-0.6,0-1.1,0.2-1.5,0.5c-0.4,0.4-0.6,0.9-0.6,1.5V53.6z' }), jsxRuntime.jsx("path", { d: 'M13.8,56.3h36.3c1.9,0,3.4-0.5,4.4-1.6c1.1-1,1.6-2.5,1.6-4.4V20.8l-4.3-2.9v31.5c0,1.8-0.9,2.7-2.6,2.7H14.7 c-1.7,0-2.6-0.9-2.6-2.7V17.8l-4.3,2.9v29.6c0,1.9,0.5,3.3,1.6,4.4C10.4,55.8,11.9,56.3,13.8,56.3z' }), jsxRuntime.jsx("path", { d: 'M0,26.5C0,27,0.2,27.5,0.6,28c0.4,0.4,1,0.7,1.7,0.7c0.4,0,0.7-0.1,1-0.3c0.3-0.2,0.6-0.4,0.9-0.6L31.1,5.2 c0.6-0.5,1.3-0.5,1.9,0l26.8,22.5c0.3,0.2,0.6,0.4,0.9,0.6c0.3,0.2,0.7,0.3,1,0.3c0.6,0,1.2-0.2,1.6-0.5c0.4-0.4,0.7-0.9,0.7-1.5 c0-0.8-0.3-1.4-0.8-1.8L35.3,1.3C34.3,0.4,33.2,0,32,0c-1.2,0-2.2,0.4-3.2,1.3L0.9,24.7C0.3,25.2,0,25.8,0,26.5z' }), jsxRuntime.jsx("path", { d: 'M49.4,14.4l6.7,5.7V7.7c0-1.3-0.6-1.9-1.9-1.9h-2.9c-0.6,0-1.1,0.2-1.4,0.5c-0.4,0.4-0.5,0.8-0.5,1.4V14.4z' })] }));
|
|
1386
|
-
}
|
|
1387
|
-
|
|
1388
|
-
function HouseDeskclock(props) {
|
|
1389
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 64 56.3', ...props, children: [jsxRuntime.jsx("path", { d: 'M13.8,56.3h36.3c3.8,0,6-2.2,6-5.9V20.8l-4.3-2.9v31.5c0,1.8-0.9,2.7-2.6,2.7H14.7c-1.7,0-2.6-0.9-2.6-2.7V17.8l-4.3,2.9 v29.6C7.7,54.2,9.9,56.3,13.8,56.3z' }), jsxRuntime.jsx("path", { d: 'M0,26.5c0,1.1,0.9,2.1,2.3,2.1c0.7,0,1.4-0.4,1.9-0.9L31.1,5.2c0.6-0.5,1.3-0.5,1.9,0l26.8,22.5c0.6,0.4,1.2,0.9,1.9,0.9 c1.3,0,2.3-0.8,2.3-2.1c0-0.8-0.2-1.4-0.8-1.8L35.3,1.3c-2-1.7-4.4-1.7-6.5,0L0.9,24.7C0.3,25.2,0,25.9,0,26.5z' }), jsxRuntime.jsx("path", { d: 'M49.4,14.4l6.7,5.7V7.7c0-1.2-0.8-1.9-1.9-1.9h-2.9c-1.2,0-1.9,0.7-1.9,1.9V14.4z' }), jsxRuntime.jsx("path", { d: 'M18.6,40v3.4c0,1.9,0.9,2.8,2.8,2.8h3.8C22.3,44.9,20.1,42.7,18.6,40z' }), jsxRuntime.jsx("path", { d: 'M45.5,40c-1.6,2.8-3.8,4.9-6.6,6.3h3.8c1.9,0,2.8-0.9,2.8-2.8V40z' }), jsxRuntime.jsx("path", { d: 'M27.8,30l3.4,3.4c0.5,0.5,1.3,0.5,1.7,0l5.3-5.3c0.5-0.5,0.5-1.3,0-1.7c-0.5-0.5-1.2-0.5-1.7,0L32,30.8l-2.5-2.5 c-0.5-0.5-1.3-0.5-1.7,0C27.3,28.8,27.3,29.6,27.8,30z' }), jsxRuntime.jsx("path", { d: 'M31.9,18.9c-7.4,0-13.5,6.1-13.5,13.5c0,7.4,6.1,13.5,13.5,13.5c7.4,0,13.5-6.1,13.5-13.5C45.4,25,39.3,18.9,31.9,18.9z M32,42.5c-5.6,0-10.1-4.5-10.1-10.1c0-5.6,4.5-10.1,10.1-10.1c5.6,0,10.1,4.5,10.1,10.1C42.1,38,37.6,42.5,32,42.5z' })] }));
|
|
1390
|
-
}
|
|
1391
|
-
|
|
1392
|
-
function HouseFill(props) {
|
|
1393
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 64 56.3', ...props, children: [jsxRuntime.jsx("path", { d: 'M33.6,10.7c-0.5-0.4-1-0.6-1.6-0.6c-0.6,0-1.1,0.2-1.6,0.6l-22,18.5v21.3c0,1.8,0.5,3.3,1.6,4.3c1.1,1,2.5,1.6,4.4,1.6h35.3 c1.9,0,3.4-0.5,4.4-1.6c1.1-1,1.6-2.5,1.6-4.3V29.2L33.6,10.7z M38.9,52H25.1V34.3c0-0.6,0.2-1.1,0.6-1.5c0.4-0.4,0.9-0.6,1.5-0.6 h9.7c1.4,0,2,0.7,2,2V52z' }), jsxRuntime.jsx("path", { d: 'M0,26.5C0,27,0.2,27.5,0.6,28c0.4,0.4,1,0.7,1.7,0.7c0.4,0,0.7-0.1,1-0.3c0.3-0.2,0.6-0.4,0.9-0.6L31.1,5.2 c0.6-0.5,1.3-0.5,1.9,0l26.8,22.5c0.3,0.2,0.6,0.4,0.9,0.6c0.3,0.2,0.7,0.3,1,0.3c0.6,0,1.2-0.2,1.6-0.5c0.4-0.4,0.7-0.9,0.7-1.5 c0-0.8-0.3-1.4-0.8-1.8L35.3,1.3C34.3,0.4,33.2,0,32,0c-1.2,0-2.2,0.4-3.2,1.3L0.9,24.7C0.3,25.2,0,25.8,0,26.5z' }), jsxRuntime.jsx("path", { d: 'M48.9,14.4l6.8,5.7V7.7c0-1.3-0.6-1.9-1.9-1.9h-2.9c-0.6,0-1.1,0.2-1.4,0.5c-0.4,0.4-0.5,0.8-0.5,1.4V14.4z' })] }));
|
|
1394
|
-
}
|
|
1395
|
-
|
|
1396
|
-
function IPhoneHouse(props) {
|
|
1397
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 32.3 64', ...props, children: [jsxRuntime.jsx("path", { d: 'M19,5h-5.6c-0.9,0-1.6,0.7-1.6,1.6c0,0.9,0.7,1.6,1.6,1.6H19c0.9,0,1.6-0.7,1.6-1.6C20.6,5.7,19.9,5,19,5z' }), jsxRuntime.jsx("path", { d: 'M30.5,1.8C29.3,0.6,27.7,0,26.1,0H6.3C2.8,0,0,2.8,0,6.3v51.5C0,61.2,2.8,64,6.3,64h19.8c3.4,0,6.3-2.8,6.3-6.3V6.3 C32.3,4.6,31.6,3,30.5,1.8z M29,6.3v51.5c0,1.6-1.3,2.9-3.1,2.9H6.4c-1.6,0-3.1-1.4-3.1-2.9V6.3c0-1.7,1.4-3.1,3.1-3.1h19.6 C27.6,3.2,29,4.6,29,6.3z' }), jsxRuntime.jsx("path", { d: 'M22.4,27.6V39c0,0.3-0.1,0.4-0.4,0.4H10.5c-0.3,0-0.4-0.1-0.4-0.4V27.6l-2.4,1.6v10.1c0,1.5,1,2.5,2.5,2.5h12.1 c1.5,0,2.5-0.9,2.5-2.5V29.2L22.4,27.6z' }), jsxRuntime.jsx("path", { d: 'M27,30.4l-9.3-7.8c-0.8-0.7-1.9-0.7-2.8,0l-9.3,7.8c-0.3,0.2-0.5,0.6-0.5,1c0,0.7,0.6,1.2,1.3,1.2c0.4,0,0.7-0.2,0.9-0.4 l8.9-7.5l8.9,7.5c0.2,0.2,0.5,0.4,0.9,0.4c0.7,0,1.2-0.5,1.2-1.2C27.5,31,27.3,30.7,27,30.4z' }), jsxRuntime.jsx("path", { d: 'M23.7,24h-1c-0.7,0-1.1,0.5-1.1,1.1v2.5l3.2,2.7v-5.2C24.8,24.5,24.3,24,23.7,24z' }), jsxRuntime.jsx("path", { d: 'M17.6,32.7H15c-0.8,0-1.4,0.6-1.4,1.4v6h5.6v-6C19.1,33.4,18.4,32.7,17.6,32.7z' })] }));
|
|
1398
|
-
}
|
|
1399
|
-
|
|
1400
|
-
function LightbulbFill(props) {
|
|
1401
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 36.8 64', ...props, children: [jsxRuntime.jsx("path", { d: 'M0,17c0,10.6,7,13.2,8.1,31.5c0.1,1,0.7,1.6,1.7,1.6H27c1.1,0,1.7-0.6,1.7-1.6c1.1-18.3,8.1-20.9,8.1-31.5 c0-9.5-8.1-17-18.4-17C8.1,0,0,7.5,0,17z' }), jsxRuntime.jsx("path", { d: 'M9.7,56h17.4c0.9,0,1.6-0.7,1.6-1.6c0-0.9-0.7-1.6-1.6-1.6H9.7c-0.9,0-1.6,0.7-1.6,1.6C8.1,55.3,8.8,56,9.7,56z' }), jsxRuntime.jsx("path", { d: 'M18.4,64c4.3,0,7.8-2.1,8.1-5.2H10.3C10.5,61.9,14.1,64,18.4,64z' })] }));
|
|
1402
|
-
}
|
|
1403
|
-
|
|
1404
|
-
function LightbulbLed(props) {
|
|
1405
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 36.8 64', ...props, children: [jsxRuntime.jsx("rect", { width: '27.9', height: '3.6', x: '4.45', y: '28' }), jsxRuntime.jsx("path", { d: 'M18.4,0C8.1,0,0,7.5,0,17c0,10.6,6.3,13.2,8.1,31.5c0.1,1,0.7,1.6,1.7,1.6H27c1.1,0,1.6-0.6,1.7-1.6 c1.7-18.3,8.1-20.9,8.1-31.5C36.8,7.5,28.7,0,18.4,0z M24.9,45.9h-13C9.4,26.7,4.2,24.8,4.2,17c0-7.4,6.5-12.8,14.3-12.8 c7.7,0,14.3,5.4,14.3,12.8C32.7,24.8,27.4,26.7,24.9,45.9z' }), jsxRuntime.jsx("path", { d: 'M9.7,56h17.4c0.9,0,1.6-0.7,1.6-1.6c0-0.9-0.7-1.6-1.6-1.6H9.7c-0.9,0-1.6,0.7-1.6,1.6C8.1,55.3,8.8,56,9.7,56z' }), jsxRuntime.jsx("path", { d: 'M18.4,64c4.3,0,7.8-2.1,8.1-5.2H10.3C10.5,61.9,14.1,64,18.4,64z' })] }));
|
|
1406
|
-
}
|
|
1407
|
-
|
|
1408
|
-
function LightRibbon(props) {
|
|
1409
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 64 61.2', ...props, children: [jsxRuntime.jsx("path", { d: 'M63.2,32.9l-3.9-6.8c-1.1-1.8-2.6-2.6-4.4-2.6H34.7l12.1-7c2.7-1.6,3.3-4,1.8-6.6L44.7,3c-1.6-2.7-4-3.3-6.7-1.8L2.6,21.7 c-2.7,1.6-3.4,4-1.8,6.7l3.9,6.8c1.1,1.9,2.7,2.6,4.6,2.6h19.9l-12.1,7c-2.7,1.6-3.3,4-1.8,6.6l3.9,6.9c1.6,2.7,4,3.3,6.6,1.8 l35.4-20.4C64.1,38,64.7,35.6,63.2,32.9z M7.6,33.1l-3.6-6.1c-0.5-1-0.4-1.8,0.6-2.4L39.5,4.4c0.9-0.5,1.7-0.3,2.3,0.7l3.6,6.2 c0.5,0.9,0.3,1.8-0.6,2.3L10,33.8C9.1,34.3,8.2,34.1,7.6,33.1z M16.1,34.3L28.6,27h19.2l-12.5,7.2H16.1z M59.4,36.7L24.5,56.8 c-0.9,0.5-1.7,0.3-2.3-0.6l-3.6-6.2c-0.5-0.9-0.3-1.8,0.6-2.3L54,27.5c0.9-0.5,1.8-0.3,2.3,0.7l3.6,6.1 C60.5,35.3,60.3,36.1,59.4,36.7z' }), jsxRuntime.jsx("path", { d: 'M42.5,2.8L44,5.5l4.6-2.7c0.7-0.4,1-1.3,0.6-2.1c-0.4-0.7-1.3-1-2.1-0.6L42.5,2.8z' }), jsxRuntime.jsx("path", { d: 'M46.2,9.2l1.6,2.7l4.6-2.7c0.8-0.5,1.1-1.2,0.6-2.1c-0.4-0.8-1.3-1-2.1-0.6L46.2,9.2z' }), jsxRuntime.jsx("path", { d: 'M36.5,12.3c0.5,1,1.8,1.4,2.8,0.8c1-0.6,1.3-1.9,0.8-2.9c-0.6-1-1.8-1.3-2.8-0.8C36.2,10.1,35.9,11.3,36.5,12.3z' }), jsxRuntime.jsx("path", { d: 'M29.7,16.2c0.5,1,1.8,1.4,2.8,0.8c1-0.6,1.4-1.9,0.8-2.9c-0.5-1.1-1.8-1.4-2.8-0.8C29.4,14,29.1,15.2,29.7,16.2z' }), jsxRuntime.jsx("path", { d: 'M22.9,20.2c0.6,1,1.9,1.3,2.9,0.8c1-0.6,1.3-1.9,0.7-2.9c-0.6-1-1.9-1.4-2.8-0.8C22.7,17.9,22.3,19.1,22.9,20.2z' }), jsxRuntime.jsx("path", { d: 'M16.1,24.1c0.6,1,1.9,1.3,2.9,0.7c1-0.6,1.3-1.9,0.7-2.9c-0.5-1-1.8-1.4-2.8-0.8C15.9,21.7,15.5,23.1,16.1,24.1z' }), jsxRuntime.jsx("path", { d: 'M9.3,28c0.6,1,1.8,1.3,2.9,0.8c0.9-0.6,1.3-1.9,0.7-2.9c-0.6-1-1.8-1.3-2.9-0.8C9.1,25.7,8.8,27,9.3,28z' }), jsxRuntime.jsx("path", { d: 'M21.5,58.4L20,55.7l-4.6,2.7c-0.7,0.4-1,1.3-0.6,2.1c0.4,0.7,1.3,1,2.1,0.6L21.5,58.4z' }), jsxRuntime.jsx("path", { d: 'M17.8,52.1l-1.6-2.7L11.7,52c-0.8,0.5-1.1,1.2-0.5,2.1c0.4,0.8,1.3,1,2,0.6L17.8,52.1z' }), jsxRuntime.jsx("path", { d: 'M51,35.4c0.6,1,1.8,1.3,2.9,0.8c1.1-0.5,1.4-1.9,0.8-2.9c-0.6-1-1.8-1.3-2.9-0.8C50.8,33.1,50.5,34.4,51,35.4z' }), jsxRuntime.jsx("path", { d: 'M44.3,39.3c0.5,1,1.8,1.4,2.8,0.8c1-0.5,1.4-1.9,0.8-2.9c-0.6-1-1.9-1.3-2.9-0.7C44,37,43.6,38.3,44.3,39.3z' }), jsxRuntime.jsx("path", { d: 'M37.5,43.2c0.6,1,1.9,1.4,2.8,0.8c1-0.6,1.4-1.8,0.8-2.9c-0.6-1-1.9-1.3-2.9-0.8C37.2,40.9,36.9,42.2,37.5,43.2z' }), jsxRuntime.jsx("path", { d: 'M30.7,47.1c0.5,1.1,1.8,1.4,2.8,0.8c1-0.6,1.3-1.8,0.7-2.9c-0.5-1-1.8-1.3-2.8-0.8C30.4,44.8,30,46.1,30.7,47.1z' }), jsxRuntime.jsx("path", { d: 'M23.9,51.1c0.6,1,1.8,1.3,2.8,0.8c1-0.7,1.4-1.9,0.8-2.9c-0.5-1-1.8-1.4-2.8-0.8C23.7,48.8,23.3,50,23.9,51.1z' })] }));
|
|
1410
|
-
}
|
|
1411
|
-
|
|
1412
|
-
function ListBulletClipboardFill(props) {
|
|
1413
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 44.5 64', ...props, children: [jsxRuntime.jsx("path", { d: 'M36.5,7.3h-0.6c0,0.1,0,0.2,0,0.3v3.1c0,3.3-2.2,5.7-5.5,5.7H14.1c-3.3,0-5.5-2.4-5.5-5.7V7.7c0-0.1,0-0.2,0-0.3H7.9 C2.7,7.3,0,10.1,0,15.6v40.1C0,61.3,2.7,64,8.2,64h28.1c5.5,0,8.2-2.7,8.2-8.3V15.6C44.5,10.1,41.7,7.3,36.5,7.3z M10.7,25 c1.3,0,2.3,1,2.3,2.3c0,1.3-1.1,2.3-2.3,2.3c-1.3,0-2.3-1.1-2.3-2.3C8.4,26.1,9.5,25,10.7,25z M10.7,34.7c1.3,0,2.3,1,2.3,2.3 c0,1.3-1.1,2.3-2.3,2.3c-1.3,0-2.3-1-2.3-2.3C8.4,35.7,9.4,34.7,10.7,34.7z M10.7,49.5c-1.3,0-2.3-1.1-2.3-2.3 c0-1.2,1.1-2.3,2.3-2.3c1.3,0,2.3,1.1,2.3,2.3C13.1,48.5,12,49.5,10.7,49.5z M34.3,48.9H18c-1,0-1.7-0.8-1.7-1.7 c0-0.9,0.7-1.7,1.7-1.7h16.3c1,0,1.7,0.8,1.7,1.7C36,48.1,35.3,48.9,34.3,48.9z M34.3,38.7H18c-1,0-1.7-0.7-1.7-1.7 c0-1,0.7-1.7,1.7-1.7h16.3c1,0,1.7,0.8,1.7,1.7C36,38,35.3,38.7,34.3,38.7z M34.3,29H18c-1,0-1.7-0.8-1.7-1.7c0-0.9,0.8-1.7,1.7-1.7 h16.3c0.9,0,1.7,0.8,1.7,1.7C36,28.3,35.3,29,34.3,29z' }), jsxRuntime.jsx("path", { d: 'M30.4,5.4H28c-0.2-3-2.7-5.4-5.7-5.4c-3.1,0-5.6,2.4-5.8,5.4h-2.4c-1.5,0-2.5,1-2.5,2.6v2.8c0,1.6,0.9,2.6,2.5,2.6h16.3 c1.5,0,2.5-1,2.5-2.6V8C32.9,6.4,31.9,5.4,30.4,5.4z M22.2,7.9c-1.3,0-2.3-1.1-2.3-2.3c0-1.3,1.1-2.3,2.3-2.3s2.3,1,2.3,2.3 C24.5,6.9,23.5,7.9,22.2,7.9z' })] }));
|
|
1414
|
-
}
|
|
1415
|
-
|
|
1416
|
-
function Magnifyingglass(props) {
|
|
1417
|
-
return (jsxRuntime.jsx("svg", { viewBox: '0 0 63.4 64', ...props, children: jsxRuntime.jsx("path", { d: 'M62.3,57.5L46.4,41.6c3.3-4.4,5.3-9.8,5.3-15.7C51.8,11.6,40.2,0,25.9,0C11.6,0,0,11.6,0,25.9c0,14.3,11.6,25.9,25.9,25.9 c5.6,0,10.8-1.8,15-4.9l16,16c0.8,0.7,1.7,1.1,2.7,1.1c2.2,0,3.7-1.7,3.7-3.8C63.4,59.1,63,58.2,62.3,57.5z M25.9,46.2 c-11.3,0-20.3-9.1-20.3-20.3c0-11.2,9.1-20.3,20.3-20.3c11.2,0,20.3,9.1,20.3,20.3C46.2,37.1,37.1,46.2,25.9,46.2z' }) }));
|
|
1418
|
-
}
|
|
1419
|
-
|
|
1420
|
-
function MapPinEllipse(props) {
|
|
1421
|
-
return (jsxRuntime.jsx("svg", { viewBox: '0 0 56 56', ...props, children: jsxRuntime.jsx("path", { d: 'M 27.9883 43.1992 C 28.9492 43.1992 30.1680 39.4492 30.1680 32.5352 L 30.1680 21.4961 C 33.9883 20.5117 36.8008 17.0430 36.8008 12.9180 C 36.8008 8.0664 32.8867 4.1055 27.9883 4.1055 C 23.1133 4.1055 19.1992 8.0664 19.1992 12.9180 C 19.1992 17.0430 21.9883 20.5117 25.8086 21.4726 L 25.8086 32.5352 C 25.8086 39.4258 27.0508 43.1992 27.9883 43.1992 Z M 25.4805 13.4102 C 23.8867 13.4102 22.4805 12.0039 22.4805 10.3867 C 22.4805 8.7461 23.8867 7.3633 25.4805 7.3633 C 27.1211 7.3633 28.4805 8.7461 28.4805 10.3867 C 28.4805 12.0039 27.1211 13.4102 25.4805 13.4102 Z M 27.9883 51.8945 C 42.1680 51.8945 50.3711 46.9727 50.3711 41.7461 C 50.3711 35.4414 40.3399 31.6211 33.8711 31.5977 L 33.8711 35.2539 C 38.3711 35.2774 45.3789 37.7148 45.3789 41.1836 C 45.3789 44.8633 38.7696 47.9570 27.9883 47.9570 C 17.2305 47.9570 10.6211 44.8867 10.6211 41.1836 C 10.6211 37.7148 17.6289 35.2774 22.1289 35.2539 L 22.1289 31.5977 C 15.6602 31.6211 5.6289 35.4414 5.6289 41.7461 C 5.6289 46.9727 13.8321 51.8945 27.9883 51.8945 Z' }) }));
|
|
1422
|
-
}
|
|
1423
|
-
|
|
1424
|
-
function MinusPlusBatteryblock(props) {
|
|
1425
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 64 50', ...props, children: [jsxRuntime.jsx("path", { d: 'M13.9,30.4h11.3c1.1,0,2-0.9,2-2s-0.9-2-2-2H13.9c-1.1,0-2,0.9-2,2S12.7,30.4,13.9,30.4z' }), jsxRuntime.jsx("path", { d: 'M44.4,36.7c1.1,0,2-0.9,2-2v-4.2h4.2c1.1,0,2-0.9,2-2s-0.9-2-2-2h-4.2v-4.2c0-1.1-0.9-2-2-2c-1.1,0-2,0.9-2,2v4.2h-4.2 c-1.1,0-2,0.9-2,2s0.9,2,2,2h4.2v4.2C42.4,35.8,43.3,36.7,44.4,36.7z' }), jsxRuntime.jsx("path", { d: 'M55.5,6.9h-3.8V3.3c0-2.1-1.2-3.3-3.3-3.3h-8c-2.1,0-3.3,1.3-3.3,3.3v3.6H26.8V3.3c0-2.1-1.2-3.3-3.3-3.3h-8 c-2.1,0-3.3,1.3-3.3,3.3v3.6H8.5C2.9,6.9,0,9.8,0,15.4v26.2C0,47.2,2.9,50,8.5,50h47c5.7,0,8.5-2.8,8.5-8.4V15.4 C64,9.8,61.2,6.9,55.5,6.9z M59.6,41.4c0,2.8-1.5,4.2-4.2,4.2H8.6c-2.7,0-4.2-1.5-4.2-4.2V15.6c0-2.8,1.5-4.2,4.2-4.2h46.8 c2.7,0,4.2,1.5,4.2,4.2V41.4z' })] }));
|
|
1426
|
-
}
|
|
1427
|
-
|
|
1428
|
-
function Network(props) {
|
|
1429
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 64 64', ...props, children: [jsxRuntime.jsx("path", { d: 'M5.1,18.7c7.8,8.3,18.7,13,30.3,13c9.1,0,17.9-3.1,24.9-8.6l-1.7-3.5c-6.5,5.4-14.6,8.3-23.2,8.4 c-11.1,0-21.5-4.8-28.5-13.1L5.1,18.7z' }), jsxRuntime.jsx("path", { d: 'M1.7,36.6C18,50.5,41.4,53.1,60.2,43.3L60.1,39c-18.3,10.6-41.7,8-57.5-6.6L1.7,36.6z' }), jsxRuntime.jsx("path", { d: 'M17.2,58.2l4.5,1.1c-2.1-5.1-3.3-10.4-3.4-15.9C17.5,27.7,24.2,12.9,36.2,3l-4-1.6C20.3,12,13.8,27.4,14.6,43.4 C14.7,48.4,15.6,53.4,17.2,58.2z' }), jsxRuntime.jsx("path", { d: 'M37.9,61.3l3.5-1.6c-5.9-8.3-9.1-18.1-9.1-28.3c0-9.7,2.8-19,8.1-26.9l-3.7-1.3c-5.3,8.4-8.2,18.2-8.2,28.2 C28.6,42.2,31.9,52.5,37.9,61.3z' }), jsxRuntime.jsx("path", { d: 'M56.4,49.6l2.5-2.9c-10.5-6-17.1-17.1-17.3-29.4c0-4.4,0.7-8.8,2.3-12.8l-3.6-1c-1.7,4.4-2.5,9-2.4,13.8 C38,30.7,45.1,42.8,56.4,49.6z' }), jsxRuntime.jsx("path", { d: 'M18.4,31.3c2.7,0,4.9-2.2,4.9-4.9c0-2.7-2.2-4.9-4.9-4.9c-2.7,0-4.9,2.2-4.9,4.9C13.4,29.1,15.6,31.3,18.4,31.3z' }), jsxRuntime.jsx("path", { d: 'M42.4,33.9c2.7,0,4.8-2.2,4.8-4.9c0-2.6-2.2-4.8-4.8-4.8c-2.7,0-4.9,2.2-4.9,4.8C37.5,31.8,39.7,33.9,42.4,33.9z' }), jsxRuntime.jsx("path", { d: 'M33.1,52c2.7,0,4.9-2.2,4.9-4.9c0-2.7-2.2-4.9-4.9-4.9c-2.7,0-4.9,2.2-4.9,4.9C28.1,49.9,30.3,52,33.1,52z' }), jsxRuntime.jsx("path", { d: 'M32,0C14.5,0,0,14.5,0,32s14.5,32,32,32c17.5,0,32-14.5,32-32S49.4,0,32,0z M32,59.7C16.8,59.7,4.3,47.1,4.3,32 S16.8,4.3,32,4.3c15.2,0,27.8,12.6,27.8,27.7S47.1,59.7,32,59.7z' })] }));
|
|
1430
|
-
}
|
|
1431
|
-
|
|
1432
|
-
function NetworkShield(props) {
|
|
1433
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 64 58.1', ...props, children: [jsxRuntime.jsx("path", { d: 'M53.4,14.8c-1.7-3-3.8-5.5-6.3-7.8c-2.5-2.2-5.4-3.9-8.5-5.2s-6.5-1.8-10-1.8c-3.9,0-7.5,0.7-10.9,2.2s-6.4,3.5-9.1,6.2 s-4.7,5.6-6.2,9.1s-2.2,7.1-2.2,10.9c0,3.9,0.7,7.5,2.2,10.9s3.5,6.4,6.2,9c2.6,2.6,5.6,4.7,9.1,6.2c3.4,1.5,7.1,2.2,11,2.3 c1.7,0,3.3-0.2,5-0.5c1.7-0.3,3.2-0.7,4.8-1.3c0.2-0.1,0.4-0.2,0.6-0.2s0.4-0.2,0.6-0.2c-0.5-0.5-0.9-1-1.3-1.5s-0.8-1.1-1.1-1.7 c-0.2,0.1-0.3,0.2-0.5,0.2s-0.3,0.1-0.5,0.2c-2.4-3.7-4.2-7.6-5.4-11.7c-1.2-4-1.8-8.1-1.8-12.3c0-4.2,0.6-8.1,1.7-12 c1.1-3.9,2.7-7.5,4.9-10.9c2.8,0.9,5.5,2.2,7.8,4s4.3,3.9,5.9,6.4s2.7,5.2,3.3,8.1c0.7,0,1.3,0.1,1.9,0.2c0.6,0.2,1.3,0.4,2.1,0.6 C56.1,20.9,55.1,17.8,53.4,14.8z M27.2,15.3c-1.1,4-1.7,8.1-1.7,12.4c0,3,0.3,5.9,0.8,8.8c0.5,2.9,1.3,5.6,2.4,8.3 c1.1,2.7,2.3,5.2,3.9,7.8c-0.7,0.1-1.4,0.2-2,0.3c-0.6,0.1-1.4,0.2-2.1,0.2c-3.4,0-6.5-0.6-9.5-1.9c-3-1.3-5.6-3.1-7.9-5.4 s-4-4.9-5.4-7.9c-1.3-3-1.9-6.2-1.9-9.5s0.6-6.5,1.9-9.5s3.1-5.6,5.3-7.9s4.9-4,7.9-5.4s6.2-1.9,9.5-1.9c1.2,0,2.4,0.1,3.5,0.2 C30,7.5,28.3,11.3,27.2,15.3z' }), jsxRuntime.jsx("path", { d: 'M4.7,16.6c2.3,2.5,4.8,4.5,7.7,6.2s5.9,3,9.1,3.9c3.2,0.9,6.6,1.4,10,1.4c4,0,8-0.7,11.7-2c3.8-1.3,7.2-3.2,10.4-5.7 l-1.5-3.1c-2.8,2.4-6,4.2-9.6,5.5c-3.5,1.3-7.2,1.9-10.9,1.9c-5,0-9.6-1-14-3c-4.4-2.1-8.1-4.9-11.3-8.5L4.7,16.6z' }), jsxRuntime.jsx("path", { d: 'M15.5,51.6l4,0.9c-1-2.2-1.7-4.6-2.2-6.9s-0.7-4.7-0.8-7.2c-0.3-4.6,0.2-9.1,1.4-13.4c1.2-4.3,3-8.4,5.4-12.3 s5.4-7.1,8.9-10l-3.5-1.4C25.2,4.5,22.2,8,19.8,12s-4.2,8.2-5.4,12.7s-1.6,9.1-1.4,13.8c0.1,2.2,0.2,4.4,0.6,6.6 C14.2,47.4,14.8,49.5,15.5,51.6z' }), jsxRuntime.jsx("path", { d: 'M30.8,40.3c-5.1-0.1-10.1-1.1-15-3.1c-4.8-1.9-9.3-4.7-13.3-8.4l-0.8,3.8c4.2,3.6,8.8,6.3,13.9,8.2 c5.1,1.9,10.3,2.8,15.6,3L30.8,40.3z' }), jsxRuntime.jsx("path", { d: 'M39,25.5c-0.6-1.6-1-3.2-1.3-5c-0.3-1.7-0.5-3.4-0.5-5.2c-0.1-1.9,0.1-3.9,0.5-5.8C38,7.6,38.5,5.8,39.2,4l-3.2-0.9 c-0.7,1.9-1.3,3.9-1.7,6s-0.5,4.2-0.5,6.3c0.1,3.8,0.7,7.5,2,11.1L39,25.5z' }), jsxRuntime.jsx("path", { d: 'M16.5,27.8c1.2,0,2.2-0.4,3.1-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1.7-1.2,3-2.4,3.8-3.7 c0.8-1.3,1.2-2.9,1.2-4.8V34.2C64.2,33.3,64,32.6,63.6,32z M51.2,53.5c-0.3,0-0.6-0.1-0.9-0.2c-2.1-1.3-3.8-2.3-5-3.1 c-1.2-0.8-2-1.6-2.5-2.5c-0.5-0.8-0.7-1.9-0.7-3.2v-9.1c0-0.4,0.1-0.7,0.2-1c0.2-0.2,0.5-0.5,0.9-0.6c0.5-0.2,1-0.4,1.7-0.6 c0.6-0.2,1.2-0.5,1.8-0.7c0.6-0.2,1.2-0.5,1.8-0.7c0.6-0.2,1.1-0.4,1.6-0.6c0.2-0.1,0.3-0.1,0.5-0.2c0.2-0.1,0.3-0.1,0.5-0.1V53.5z ' })] }));
|
|
1434
|
-
}
|
|
1435
|
-
|
|
1436
|
-
function NewspaperFill(props) {
|
|
1437
|
-
return (jsxRuntime.jsx("svg", { viewBox: '0 0 64 60.843', ...props, children: jsxRuntime.jsx("path", { d: 'M0,27.548V52.482a3.516,3.516,0,0,0,.444,1.776,3.033,3.033,0,0,0,1.184,1.183,3.514,3.514,0,0,0,1.775.444,3.516,3.516,0,0,0,1.776-.444,3.04,3.04,0,0,0,1.184-1.183,3.516,3.516,0,0,0,.444-1.776V21.851H5.919a6.965,6.965,0,0,0-3.181.666A5.185,5.185,0,0,0,.666,24.44,6.866,6.866,0,0,0,0,27.548Zm10.062,33.3H54.751c3.108,0,5.4-.74,6.955-2.294C63.26,57.069,64,54.776,64,51.742V8.977c0-3.034-.74-5.327-2.294-6.807S57.859-.124,54.751-.124H22.123c-3.108,0-5.4.74-6.955,2.294-1.554,1.48-2.294,3.773-2.294,6.807V54.554a10.61,10.61,0,0,1-.592,3.773A4.833,4.833,0,0,1,10.062,60.843Zm14.5-43.654a2.2,2.2,0,0,1-1.48-.592,2.018,2.018,0,0,1-.592-1.405,1.853,1.853,0,0,1,.592-1.332,2.066,2.066,0,0,1,1.48-.592H52.458a2.022,2.022,0,0,1,1.406.592,1.856,1.856,0,0,1,.591,1.332,2.021,2.021,0,0,1-.591,1.405,1.9,1.9,0,0,1-1.406.592Zm0,9.915a2.133,2.133,0,0,1-1.48-.518,1.661,1.661,0,0,1-.592-1.406,1.9,1.9,0,0,1,.592-1.406,2.066,2.066,0,0,1,1.48-.592H52.458a1.989,1.989,0,0,1,1.406,3.4,1.842,1.842,0,0,1-1.406.518Zm17.461,9.84a1.892,1.892,0,0,1-1.405-.592,1.851,1.851,0,0,1-.592-1.331,2.022,2.022,0,0,1,.592-1.406,1.892,1.892,0,0,1,1.405-.592H52.458a2.02,2.02,0,0,1,2,2,1.854,1.854,0,0,1-.591,1.331,1.9,1.9,0,0,1-1.406.592Zm0,10.211a1.892,1.892,0,0,1-1.405-.592,1.853,1.853,0,0,1-.592-1.332,2.2,2.2,0,0,1,.592-1.48,1.892,1.892,0,0,1,1.405-.592H52.458a2.022,2.022,0,0,1,1.406.592,2.07,2.07,0,0,1,.591,1.48,1.856,1.856,0,0,1-.591,1.332,1.9,1.9,0,0,1-1.406.592Zm-16.055,0a3.365,3.365,0,0,1-2.516-.888,3.481,3.481,0,0,1-.887-2.516V36.5a3.483,3.483,0,0,1,.887-2.515A3.481,3.481,0,0,1,25.97,33.1h6.955a3.091,3.091,0,0,1,3.4,3.4v7.251a3.368,3.368,0,0,1-.887,2.516,3.481,3.481,0,0,1-2.516.888Z' }) }));
|
|
1438
|
-
}
|
|
1439
|
-
|
|
1440
|
-
function Number$1(props) {
|
|
1441
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 58.9 64', ...props, children: [jsxRuntime.jsx("path", { d: 'M12.1,64c1.7,0,2.7-0.8,3-2.5l11.7-58c0-0.1,0.1-0.3,0.1-0.5c0-0.2,0-0.4,0-0.6c0-0.8-0.3-1.4-0.8-1.8C25.6,0.2,25,0,24.2,0 c-0.9,0-1.6,0.2-2.1,0.7c-0.5,0.5-0.8,1.1-0.9,1.9L9.5,60.5c-0.1,0.3-0.1,0.7-0.1,1.1c0,0.8,0.2,1.4,0.7,1.8 C10.6,63.8,11.3,64,12.1,64z' }), jsxRuntime.jsx("path", { d: 'M33.4,64c1.7,0,2.7-0.8,3.1-2.5l11.7-58c0-0.1,0-0.3,0.1-0.5c0-0.2,0-0.4,0-0.6c0-0.8-0.3-1.4-0.8-1.8C47,0.2,46.3,0,45.6,0 c-0.9,0-1.6,0.2-2.1,0.7c-0.5,0.5-0.8,1.1-0.9,1.9L30.9,60.5c-0.1,0.3-0.1,0.7-0.1,1.1c0,0.8,0.2,1.4,0.7,1.8 C32,63.8,32.6,64,33.4,64z' }), jsxRuntime.jsx("path", { d: 'M6.9,22.5h49c0.9,0,1.6-0.3,2.2-0.9c0.6-0.6,0.9-1.3,0.9-2.2c0-0.7-0.2-1.4-0.7-1.9c-0.5-0.5-1.1-0.8-1.8-0.8h-49 c-0.9,0-1.6,0.3-2.2,0.9c-0.6,0.6-0.9,1.4-0.9,2.3c0,0.7,0.2,1.3,0.7,1.8C5.6,22.3,6.2,22.5,6.9,22.5z' }), jsxRuntime.jsx("path", { d: 'M2.4,45.6h49c0.9,0,1.6-0.3,2.2-0.9c0.6-0.6,0.9-1.3,0.9-2.2c0-0.7-0.2-1.4-0.7-1.9c-0.5-0.5-1.1-0.8-1.8-0.8H3.1 c-0.9,0-1.6,0.3-2.2,0.9C0.3,41.4,0,42.2,0,43.1c0,0.7,0.2,1.3,0.7,1.8C1.1,45.4,1.7,45.6,2.4,45.6z' })] }));
|
|
1442
|
-
}
|
|
1443
|
-
|
|
1444
|
-
function PaperplaneFill(props) {
|
|
1445
|
-
return (jsxRuntime.jsx("svg", { viewBox: '0 0 64 64', ...props, children: jsxRuntime.jsx("path", { d: 'M38.2,64c1.1,0,2-0.4,2.8-1.3c0.8-0.9,1.5-2.1,2.1-3.5l20-52.2c0.3-0.7,0.5-1.4,0.6-2C63.9,4.3,64,3.7,64,3.2 c0-1-0.3-1.8-0.9-2.4C62.5,0.3,61.7,0,60.8,0c-0.5,0-1.1,0.1-1.7,0.2c-0.6,0.2-1.3,0.4-2,0.6L4.6,21c-1.3,0.5-2.4,1.1-3.3,1.9 C0.4,23.7,0,24.7,0,25.8c0,1.4,0.5,2.4,1.4,3c1,0.6,2.2,1.2,3.7,1.6l16.5,5c1,0.3,1.8,0.4,2.4,0.3c0.6-0.1,1.3-0.4,2-1L59.4,3.5 c0.4-0.4,0.8-0.4,1.2-0.1c0.2,0.1,0.3,0.3,0.3,0.6c0,0.2-0.1,0.4-0.3,0.6L29.4,38.2c-0.6,0.6-0.9,1.3-1,1.9c-0.1,0.6,0,1.4,0.3,2.5 l4.9,16.1c0.4,1.5,1,2.8,1.6,3.8C35.8,63.5,36.8,64,38.2,64z' }) }));
|
|
1446
|
-
}
|
|
1447
|
-
|
|
1448
|
-
function Person(props) {
|
|
1449
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 60.4 64', ...props, children: [jsxRuntime.jsx("path", { d: 'M58.3,51.2c-1.4-2.6-3.4-5-6-7.2c-2.6-2.3-5.8-4.1-9.5-5.5c-3.7-1.4-7.9-2.2-12.6-2.2c-4.7,0-8.9,0.7-12.6,2.2 c-3.7,1.4-6.9,3.3-9.5,5.5c-2.6,2.3-4.6,4.7-6,7.2c-1.4,2.6-2.1,5-2.1,7.2C0,62.2,2.8,64,8.5,64h43.4c5.6,0,8.5-1.8,8.5-5.5 C60.4,56.2,59.7,53.8,58.3,51.2z M54.5,58.6c-0.2,0.1-0.5,0.2-1,0.2H6.8c-0.4,0-0.8-0.1-1-0.2c-0.2-0.1-0.3-0.4-0.3-0.7 c0-1.4,0.5-3.1,1.6-4.9c1.1-1.9,2.7-3.6,4.8-5.4c2.1-1.7,4.7-3.2,7.7-4.3c3-1.1,6.6-1.7,10.5-1.7s7.5,0.6,10.5,1.7 c3,1.1,5.6,2.6,7.7,4.3c2.1,1.7,3.7,3.5,4.8,5.4c1.1,1.9,1.6,3.5,1.6,4.9C54.8,58.2,54.7,58.4,54.5,58.6z' }), jsxRuntime.jsx("path", { d: 'M43.1,7.8c-1.3-2.4-3.1-4.3-5.4-5.7C35.5,0.7,33,0,30.2,0c-2.7,0-5.2,0.7-7.5,2.1c-2.3,1.4-4.1,3.3-5.4,5.7s-2,5.1-2,8 c0,3,0.7,5.7,2,8.1c1.4,2.5,3.2,4.4,5.4,5.9c2.3,1.4,4.7,2.2,7.5,2.2c2.7,0,5.2-0.7,7.5-2.2c2.3-1.5,4.1-3.4,5.4-5.9s2-5.2,2-8.2 C45.1,12.8,44.5,10.2,43.1,7.8z M38.3,21.4c-0.9,1.7-2,3-3.4,4c-1.4,1-3,1.5-4.7,1.5c-1.7,0-3.2-0.5-4.6-1.5 c-1.4-1-2.6-2.3-3.4-3.9c-0.9-1.7-1.3-3.5-1.3-5.6c0-2,0.4-3.8,1.3-5.4c0.9-1.6,2-2.9,3.4-3.8c1.4-0.9,3-1.4,4.7-1.4 c1.7,0,3.3,0.5,4.7,1.4c1.4,0.9,2.6,2.2,3.4,3.8c0.8,1.6,1.3,3.4,1.3,5.4C39.6,17.8,39.1,19.7,38.3,21.4z' })] }));
|
|
1450
|
-
}
|
|
1451
|
-
|
|
1452
|
-
function PersonCropSquare(props) {
|
|
1453
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 64 64', ...props, children: [jsxRuntime.jsx("path", { d: 'M61.2,2.7C59.4,0.9,56.7,0,53.1,0H10.9C7.3,0,4.6,0.9,2.7,2.7C0.9,4.5,0,7.2,0,10.8v42.4c0,3.6,0.9,6.3,2.7,8.1 c1.8,1.8,4.5,2.7,8.2,2.7h42.2c3.6,0,6.4-0.9,8.2-2.7c1.8-1.8,2.7-4.5,2.7-8.1V10.8C64,7.2,63.1,4.5,61.2,2.7z M58.4,52.9 c0,1.8-0.5,3.2-1.4,4.1c-0.9,0.9-2.3,1.4-4,1.4H11c-1.7,0-3.1-0.5-4-1.4c-0.9-0.9-1.4-2.3-1.4-4.1V11.1C5.6,9.3,6.1,7.9,7,7 s2.3-1.4,4-1.4h42c1.7,0,3.1,0.5,4,1.4c0.9,0.9,1.4,2.3,1.4,4.1V52.9z' }), jsxRuntime.jsx("path", { d: 'M8.1,60.4h47.8c-0.5-2.4-1.5-4.7-2.9-6.7c-1.4-2-3.2-3.8-5.3-5.3c-2.1-1.5-4.5-2.7-7.2-3.5C37.9,44,35,43.6,32,43.6 c-3,0-5.9,0.4-8.5,1.3c-2.7,0.8-5.1,2-7.2,3.5c-2.1,1.5-3.9,3.3-5.3,5.3C9.5,55.8,8.6,58,8.1,60.4z' }), jsxRuntime.jsx("path", { d: 'M32,37.8c2.2,0,4.2-0.5,6-1.7c1.8-1.1,3.2-2.7,4.3-4.7c1.1-2,1.6-4.2,1.6-6.7c0-2.3-0.5-4.5-1.6-6.4 c-1.1-1.9-2.5-3.5-4.3-4.6S34.2,12,32,12c-2.2,0-4.2,0.6-6,1.7s-3.2,2.7-4.3,4.6s-1.6,4.1-1.6,6.4c0,2.5,0.5,4.7,1.6,6.6 c1.1,2,2.5,3.5,4.3,4.6S29.8,37.8,32,37.8z' })] }));
|
|
1454
|
-
}
|
|
1455
|
-
|
|
1456
|
-
function PersonFill(props) {
|
|
1457
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 59.9 64', ...props, children: [jsxRuntime.jsx("path", { d: 'M6.1,64h47.8c1.9,0,3.4-0.4,4.5-1.3c1.1-0.8,1.6-2,1.6-3.5c0-2.3-0.7-4.7-2.1-7.3c-1.4-2.5-3.4-4.9-6-7.1 c-2.6-2.2-5.7-4-9.4-5.4c-3.7-1.4-7.9-2.1-12.5-2.1c-4.6,0-8.8,0.7-12.5,2.1c-3.7,1.4-6.8,3.2-9.4,5.4s-4.6,4.6-6,7.1 C0.7,54.6,0,57,0,59.3c0,1.5,0.5,2.6,1.6,3.5S4.2,64,6.1,64z' }), jsxRuntime.jsx("path", { d: 'M30,31c2.6,0,4.9-0.7,7.1-2.1c2.2-1.4,3.9-3.3,5.2-5.6s2-5,2-8c0-2.9-0.7-5.5-2-7.8C40.9,5.1,39.2,3.3,37,2 c-2.2-1.3-4.5-2-7.1-2c-2.5,0-4.9,0.7-7,2c-2.2,1.4-3.9,3.2-5.2,5.5c-1.3,2.3-2,4.9-2,7.8c0,2.9,0.7,5.6,2,8c1.3,2.4,3,4.2,5.2,5.6 C25.1,30.3,27.4,31,30,31z' })] }));
|
|
1458
|
-
}
|
|
1459
|
-
|
|
1460
|
-
function PersonFillQuestionmark(props) {
|
|
1461
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 64 64', ...props, children: [jsxRuntime.jsx("path", { d: 'M61.2,2.7C59.4,0.9,56.7,0,53.1,0H10.9C7.3,0,4.6,0.9,2.7,2.7C0.9,4.5,0,7.2,0,10.8v42.4c0,3.6,0.9,6.3,2.7,8.1 c1.8,1.8,4.5,2.7,8.2,2.7h42.2c3.6,0,6.4-0.9,8.2-2.7c1.8-1.8,2.7-4.5,2.7-8.1V10.8C64,7.2,63.1,4.5,61.2,2.7z M58.4,52.9 c0,1.8-0.5,3.2-1.4,4.1c-0.9,0.9-2.3,1.4-4,1.4H11c-1.7,0-3.1-0.5-4-1.4c-0.9-0.9-1.4-2.3-1.4-4.1V11.1C5.6,9.3,6.1,7.9,7,7 s2.3-1.4,4-1.4h42c1.7,0,3.1,0.5,4,1.4c0.9,0.9,1.4,2.3,1.4,4.1V52.9z' }), jsxRuntime.jsx("path", { d: 'M8.1,60.4h47.8c-0.5-2.4-1.5-4.7-2.9-6.7c-1.4-2-3.2-3.8-5.3-5.3c-2.1-1.5-4.5-2.7-7.2-3.5C37.9,44,35,43.6,32,43.6 c-3,0-5.9,0.4-8.5,1.3c-2.7,0.8-5.1,2-7.2,3.5c-2.1,1.5-3.9,3.3-5.3,5.3C9.5,55.8,8.6,58,8.1,60.4z' }), jsxRuntime.jsx("path", { d: 'M32,37.8c2.2,0,4.2-0.5,6-1.7c1.8-1.1,3.2-2.7,4.3-4.7c1.1-2,1.6-4.2,1.6-6.7c0-2.3-0.5-4.5-1.6-6.4 c-1.1-1.9-2.5-3.5-4.3-4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8,1.6L18,22.6c-1.1,1.1-1.7,2.3-1.7,3.6c0,1.3,0.4,2.5,1.2,3.6c0.9,1.3,2.1,2.7,3.5,4.3 c1.4,1.6,2.8,3,4,4.3c0.8,0.8,1.8,1.8,2.8,2.7c1.1,1,2.2,1.9,3.2,2.9c1.1,0.9,2,1.7,2.9,2.3c1.1,0.8,2.3,1.2,3.6,1.2 c1.3,0,2.5-0.5,3.6-1.7l2.9-2.9c0.5-0.5,1-0.7,1.6-0.7c0.5,0,1.1,0.2,1.6,0.5l9.4,6.3c0.5,0.3,0.8,0.7,1,1.1 c0.2,0.4,0.3,0.9,0.3,1.3C58.1,52.4,57.6,53.4,56.8,54.4z' }), jsxRuntime.jsx("path", { d: 'M39.2,27.2c0.7,0,1.2-0.2,1.7-0.7l14-14l5-5.4l-0.6,9.5v4.9c0,0.6,0.2,1.2,0.6,1.6c0.4,0.4,1,0.7,1.6,0.7 c0.7,0,1.2-0.2,1.7-0.6c0.5-0.5,0.7-1,0.7-1.7V2.6c0-0.8-0.2-1.5-0.6-1.9C62.9,0.2,62.3,0,61.4,0H42.5c-0.7,0-1.2,0.2-1.7,0.7 c-0.5,0.5-0.7,1.1-0.6,1.7c0,0.6,0.3,1.2,0.7,1.6c0.5,0.4,1,0.6,1.6,0.6h4.9L57,4.1l-5.5,5l-14,14c-0.5,0.5-0.8,1.1-0.8,1.8 c0,0.6,0.2,1.2,0.7,1.6C37.9,27,38.5,27.2,39.2,27.2z' })] }));
|
|
1470
|
-
}
|
|
1471
|
-
|
|
1472
|
-
function PhoneFill(props) {
|
|
1473
|
-
return (jsxRuntime.jsx("svg", { viewBox: '0 0 63.9 64', ...props, children: jsxRuntime.jsx("path", { d: 'M17.5,46.3c3.3,3.3,6.8,6.3,10.5,9c3.7,2.7,7.3,4.8,11,6.3c3.7,1.6,7.2,2.3,10.5,2.3c2.2,0,4.3-0.4,6.2-1.2 c1.9-0.8,3.7-2.1,5.2-3.8c0.9-1,1.6-2.1,2.2-3.2c0.5-1.2,0.8-2.3,0.8-3.5c0-0.9-0.2-1.7-0.5-2.5c-0.4-0.8-0.9-1.5-1.8-2L51,40.2 c-1.6-1.1-3-1.7-4.2-1.7c-0.8,0-1.6,0.2-2.3,0.6c-0.7,0.4-1.5,1-2.3,1.8l-2.4,2.4c-0.4,0.4-0.8,0.5-1.3,0.5c-0.3,0-0.5,0-0.7-0.1 c-0.2-0.1-0.4-0.2-0.6-0.3c-1.1-0.6-2.5-1.5-4.1-3c-1.7-1.4-3.4-3-5.1-4.7c-1.7-1.7-3.2-3.4-4.7-5.1c-1.4-1.7-2.4-3-3-4.1 c-0.1-0.2-0.2-0.4-0.3-0.6C20,25.9,20,25.6,20,25.4c0-0.5,0.2-0.9,0.5-1.3l2.4-2.5c0.8-0.8,1.4-1.6,1.8-2.3c0.4-0.7,0.7-1.5,0.7-2.3 c0-1.2-0.6-2.6-1.7-4.2L16.2,2.4c-0.6-0.8-1.3-1.4-2.1-1.8C13.3,0.2,12.4,0,11.5,0C9.1,0,6.9,1,4.8,3C3.2,4.6,1.9,6.4,1.2,8.3 c-0.8,1.9-1.2,4-1.2,6.2c0,3.3,0.8,6.8,2.3,10.4s3.6,7.3,6.3,10.9C11.2,39.6,14.2,43,17.5,46.3z' }) }));
|
|
1474
|
-
}
|
|
1475
|
-
|
|
1476
|
-
function PlayRectangleFill(props) {
|
|
1477
|
-
return (jsxRuntime.jsx("svg", { viewBox: '0 0 64 50', ...props, children: jsxRuntime.jsx("path", { d: 'M61.9,2.1C60.5,0.7,58.3,0,55.5,0h-47c-2.8,0-5,0.7-6.4,2.1C0.7,3.5,0,5.6,0,8.4v33.1c0,2.8,0.7,4.9,2.1,6.3 C3.6,49.3,5.7,50,8.5,50h47c2.9,0,5-0.7,6.4-2.1c1.4-1.4,2.1-3.5,2.1-6.3V8.4C64,5.6,63.3,3.5,61.9,2.1z M42.8,26.5l-16,9.4 c-0.6,0.4-1.2,0.4-1.8,0.2s-1-0.7-1-1.4V15.2c0-0.7,0.3-1.1,0.9-1.4s1.2-0.2,1.9,0.2l16,9.4c0.6,0.3,0.9,0.8,0.8,1.5 C43.6,25.6,43.3,26.1,42.8,26.5z' }) }));
|
|
1478
|
-
}
|
|
1479
|
-
|
|
1480
|
-
function Plus(props) {
|
|
1481
|
-
return (jsxRuntime.jsx("svg", { viewBox: '0 0 62.7 64', ...props, children: jsxRuntime.jsx("path", { d: 'M31.4,64c1.9,0,3.4-1.5,3.4-3.3V35.4h24.6c1.8,0,3.4-1.6,3.4-3.4c0-1.9-1.6-3.4-3.4-3.4H34.8V3.3c0-1.8-1.6-3.3-3.4-3.3 C29.5,0,28,1.5,28,3.3v25.3H3.4C1.6,28.6,0,30.1,0,32c0,1.9,1.6,3.4,3.4,3.4H28v25.3C28,62.5,29.5,64,31.4,64z' }) }));
|
|
1482
|
-
}
|
|
1483
|
-
|
|
1484
|
-
function Qrcode(props) {
|
|
1485
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 64 64', ...props, children: [jsxRuntime.jsx("path", { d: 'M27.4,1.7c-1.1-1.1-2.8-1.7-5-1.7H6.7c-2.2,0-3.9,0.6-5,1.7C0.6,2.8,0,4.5,0,6.8v15.5c0,2.3,0.6,4,1.7,5.1s2.8,1.7,5,1.7 h15.8c2.2,0,3.9-0.6,5-1.7s1.7-2.8,1.7-5.1V6.8C29.1,4.5,28.5,2.8,27.4,1.7z M24.2,22.3c0,1.3-0.6,1.9-1.9,1.9H6.7 c-1.2,0-1.8-0.6-1.8-1.9V6.8c0-1.2,0.6-1.9,1.8-1.9h15.7c1.2,0,1.9,0.6,1.9,1.9V22.3z' }), jsxRuntime.jsx("path", { d: 'M11.6,18.2h5.9c0.5,0,0.7-0.3,0.7-0.8v-5.7c0-0.5-0.2-0.8-0.7-0.8h-5.9c-0.5,0-0.7,0.3-0.7,0.8v5.7 C10.9,18,11.1,18.2,11.6,18.2z' }), jsxRuntime.jsx("path", { d: 'M62.3,1.7c-1.1-1.1-2.8-1.7-5-1.7H41.5c-2.2,0-3.9,0.6-5,1.7c-1.1,1.1-1.7,2.8-1.7,5.1v15.5c0,2.3,0.6,4,1.7,5.1 s2.8,1.7,5,1.7h15.8c2.2,0,3.9-0.6,5-1.7c1.1-1.1,1.7-2.8,1.7-5.1V6.8C64,4.5,63.4,2.8,62.3,1.7z M59.1,22.3c0,1.3-0.6,1.9-1.8,1.9 H41.6c-1.2,0-1.9-0.6-1.9-1.9V6.8c0-1.2,0.6-1.9,1.9-1.9h15.7c1.2,0,1.8,0.6,1.8,1.9V22.3z' }), jsxRuntime.jsx("path", { d: 'M46.6,18.2h5.9c0.5,0,0.7-0.3,0.7-0.8v-5.7c0-0.5-0.2-0.8-0.7-0.8h-5.9c-0.5,0-0.7,0.3-0.7,0.8v5.7 C46,18,46.2,18.2,46.6,18.2z' }), jsxRuntime.jsx("path", { d: 'M27.4,36.6c-1.1-1.1-2.8-1.7-5-1.7H6.7c-2.2,0-3.9,0.6-5,1.7S0,39.4,0,41.7v15.5c0,2.3,0.6,4,1.7,5.1s2.8,1.7,5,1.7h15.8 c2.2,0,3.9-0.6,5-1.7s1.7-2.8,1.7-5.1V41.7C29.1,39.4,28.5,37.7,27.4,36.6z M24.2,57.2c0,1.2-0.6,1.9-1.9,1.9H6.7 c-1.2,0-1.8-0.6-1.8-1.9V41.7c0-1.3,0.6-1.9,1.8-1.9h15.7c1.2,0,1.9,0.6,1.9,1.9V57.2z' }), jsxRuntime.jsx("path", { d: 'M11.6,53.1h5.9c0.5,0,0.7-0.3,0.7-0.8v-5.7c0-0.5-0.2-0.8-0.7-0.8h-5.9c-0.5,0-0.7,0.3-0.7,0.8v5.7 C10.9,52.8,11.1,53.1,11.6,53.1z' }), jsxRuntime.jsx("path", { d: 'M37.2,43.9h5.9c0.5,0,0.7-0.3,0.7-0.8v-5.7c0-0.5-0.2-0.8-0.7-0.8h-5.9c-0.5,0-0.7,0.3-0.7,0.8V43 C36.5,43.6,36.7,43.9,37.2,43.9z' }), jsxRuntime.jsx("path", { d: 'M55.6,43.9h5.9c0.5,0,0.7-0.3,0.7-0.8v-5.7c0-0.5-0.2-0.8-0.7-0.8h-5.9c-0.5,0-0.7,0.3-0.7,0.8V43 C55,43.6,55.2,43.9,55.6,43.9z' }), jsxRuntime.jsx("path", { d: 'M46.5,53.1h5.9c0.5,0,0.7-0.3,0.7-0.8v-5.7c0-0.5-0.2-0.8-0.7-0.8h-5.9c-0.5,0-0.7,0.3-0.7,0.8v5.7 C45.8,52.8,46.1,53.1,46.5,53.1z' }), jsxRuntime.jsx("path", { d: 'M37.2,62.3h5.9c0.5,0,0.7-0.3,0.7-0.8v-5.7c0-0.5-0.2-0.8-0.7-0.8h-5.9c-0.5,0-0.7,0.3-0.7,0.8v5.7 C36.5,62,36.7,62.3,37.2,62.3z' }), jsxRuntime.jsx("path", { d: 'M55.6,62.3h5.9c0.5,0,0.7-0.3,0.7-0.8v-5.7c0-0.5-0.2-0.8-0.7-0.8h-5.9c-0.5,0-0.7,0.3-0.7,0.8v5.7 C55,62,55.2,62.3,55.6,62.3z' })] }));
|
|
1486
|
-
}
|
|
1487
|
-
|
|
1488
|
-
function RectanglePortraitAndArrowLeft(props) {
|
|
1489
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 64 58.6', ...props, children: [jsxRuntime.jsx("path", { d: 'M55.5,59.1H26.2c-2.8,0-5-0.7-6.4-2.2c-1.4-1.4-2.1-3.6-2.1-6.5V37.7h4.5v12.7c0,1.4,0.4,2.4,1.1,3.2 c0.7,0.7,1.8,1.1,3.2,1.1h28.8c1.4,0,2.5-0.4,3.2-1.1c0.7-0.7,1.1-1.8,1.1-3.2V8.7c0-1.4-0.4-2.4-1.1-3.2c-0.7-0.7-1.8-1.1-3.2-1.1 H26.4c-1.4,0-2.5,0.4-3.2,1.1c-0.7,0.7-1.1,1.8-1.1,3.2v12.7h-4.5V8.7c0-2.9,0.7-5,2.1-6.5C21.2,0.7,23.3,0,26.2,0h29.3 c2.8,0,5,0.7,6.4,2.2C63.3,3.6,64,5.8,64,8.7v41.8c0,2.9-0.7,5-2.1,6.5C60.4,58.4,58.3,59.1,55.5,59.1z' }), jsxRuntime.jsx("path", { d: 'M38.5,31.7H10.2l-4.1-0.2L8,33.4l4.4,4.2c0.4,0.4,0.7,0.9,0.7,1.5c0,0.6-0.2,1-0.5,1.4c-0.4,0.4-0.8,0.6-1.4,0.6 c-0.5,0-1-0.2-1.4-0.6l-9-9.3c-0.3-0.3-0.5-0.6-0.6-0.8C0.1,30.1,0,29.8,0,29.5c0-0.3,0.1-0.6,0.2-0.8c0.1-0.2,0.3-0.5,0.6-0.8 l9-9.3c0.4-0.4,0.9-0.6,1.4-0.6c0.6,0,1,0.2,1.4,0.6c0.4,0.4,0.5,0.8,0.5,1.4c0,0.6-0.2,1.1-0.7,1.5L8,25.7l-2,1.9l4.2-0.2h28.3 c0.6,0,1.1,0.2,1.5,0.6c0.4,0.4,0.6,0.9,0.6,1.5c0,0.6-0.2,1.1-0.6,1.5C39.6,31.5,39.1,31.7,38.5,31.7z' })] }));
|
|
1490
|
-
}
|
|
1491
|
-
|
|
1492
|
-
function RectanglePortraitAndArrowLeftFill(props) {
|
|
1493
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 64 58.6', ...props, children: [jsxRuntime.jsx("path", { d: 'M55.5,0h-29c-2.8,0-4.9,0.7-6.4,2.1C18.7,3.6,18,5.7,18,8.6v18h20.2c0.7,0,1.3,0.3,1.9,0.8c0.5,0.5,0.8,1.2,0.8,1.9 c0,0.7-0.3,1.4-0.8,1.9C39.6,31.8,39,32,38.2,32H18v18c0,2.8,0.7,5,2.1,6.4s3.5,2.2,6.4,2.2h29c2.8,0,4.9-0.7,6.3-2.2 C63.3,55,64,52.9,64,50V8.6c0-2.9-0.7-5-2.1-6.4C60.5,0.7,58.4,0,55.5,0z' }), jsxRuntime.jsx("path", { d: 'M20.2,29.3c0-0.6-0.2-1.1-0.6-1.5c-0.4-0.4-0.9-0.6-1.5-0.6h-8L6,27.3l1.9-1.9l4.4-4.1c0.4-0.4,0.6-0.9,0.6-1.5 c0-0.6-0.2-1-0.5-1.4c-0.4-0.4-0.8-0.6-1.4-0.6c-0.5,0-1,0.2-1.4,0.6l-8.9,9.2c-0.3,0.3-0.5,0.5-0.6,0.8C0.1,28.8,0,29,0,29.3 c0,0.3,0.1,0.6,0.2,0.8c0.1,0.2,0.3,0.5,0.6,0.8l8.9,9.2c0.4,0.4,0.9,0.6,1.4,0.6c0.5,0,1-0.2,1.4-0.6c0.4-0.4,0.5-0.8,0.5-1.4 c0-0.6-0.2-1.1-0.6-1.5l-4.4-4.1L6,31.3l4.1,0.2h8c0.6,0,1.1-0.2,1.5-0.6C20,30.4,20.2,29.9,20.2,29.3z' })] }));
|
|
1494
|
-
}
|
|
1495
|
-
|
|
1496
|
-
function Sensor(props) {
|
|
1497
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 64 45.6', ...props, children: [jsxRuntime.jsx("path", { d: 'M36.7,0H8.3C2.8,0,0,2.7,0,8.2v29.3c0,5.4,2.8,8.2,8.3,8.2h28.4c5.5,0,8.3-2.7,8.3-8.2V8.2C45,2.7,42.2,0,36.7,0z M40.7,37.3c0,2.7-1.5,4.1-4.1,4.1H8.3c-2.6,0-4.1-1.4-4.1-4.1V8.4c0-2.7,1.5-4.1,4.1-4.1h28.3c2.6,0,4.1,1.4,4.1,4.1V37.3z' }), jsxRuntime.jsx("path", { d: 'M21.2,24c0.9,0,1.6-0.7,1.6-1.6V10c0-0.9-0.7-1.6-1.6-1.6c-0.9,0-1.6,0.7-1.6,1.6v12.4C19.7,23.3,20.3,24,21.2,24z' }), jsxRuntime.jsx("path", { d: 'M28,24c0.9,0,1.6-0.7,1.6-1.6V10c0-0.9-0.7-1.6-1.6-1.6c-0.9,0-1.6,0.7-1.6,1.6v12.4C26.4,23.3,27.1,24,28,24z' }), jsxRuntime.jsx("path", { d: 'M34.6,24c0.9,0,1.6-0.7,1.6-1.6V10c0-0.9-0.7-1.6-1.6-1.6C33.7,8.4,33,9.1,33,10v12.4C33,23.3,33.7,24,34.6,24z' }), jsxRuntime.jsx("path", { d: 'M50.1,24.3c0.7,0.8,2,0.8,2.8-0.2c1.7-2.2,2.7-4.9,2.7-7.9c0-2.9-1-5.7-2.7-7.9c-0.8-1-2.1-1-2.8-0.2 c-0.7,0.8-0.5,1.8,0.2,2.7c1.1,1.6,1.7,3.4,1.7,5.4c0,2-0.5,3.8-1.7,5.4C49.6,22.5,49.3,23.5,50.1,24.3z' }), jsxRuntime.jsx("path", { d: 'M56.1,30c0.7,0.8,2,0.8,2.8-0.1c3.3-3.7,5.1-8.5,5.1-13.7c0-5.2-1.8-10-5.1-13.7c-0.8-0.9-2.1-0.9-2.8-0.1 c-0.7,0.8-0.6,1.8,0.2,2.8c2.6,3,4,6.8,4,11c0,4.2-1.4,8.1-4,11C55.6,28.2,55.4,29.2,56.1,30z' })] }));
|
|
1498
|
-
}
|
|
1499
|
-
|
|
1500
|
-
function Signature(props) {
|
|
1501
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 64 46.7', ...props, children: [jsxRuntime.jsx("path", { d: 'M63.4,36c-0.3-0.3-0.7-0.5-1.2-0.5H33.6c0.5-1.3,0.9-2.7,1.2-4.1c0.6-2.6,0.9-5.3,1-8.2c1.3-0.3,2.7-0.4,4.2-0.4 c0.8,0,1.2,0.3,1.2,0.9c0,0.9-0.2,1.8-0.5,2.6c-0.3,0.8-0.5,1.6-0.5,2.6c0,0.8,0.3,1.5,0.8,1.9c0.5,0.5,1.2,0.7,2,0.7 c0.9,0,1.7-0.2,2.7-0.7c0.9-0.5,1.8-1.1,2.7-1.8c0.9-0.7,1.7-1.5,2.5-2.2c0.8-0.7,1.4-1.3,2-1.8c0.6-0.5,1.1-0.7,1.4-0.7 c0.3,0,0.5,0.2,0.6,0.7c0.1,0.4,0.2,1,0.3,1.7c0.1,0.7,0.2,1.3,0.5,2c0.2,0.7,0.6,1.2,1.2,1.7c0.6,0.4,1.4,0.7,2.4,0.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.7l2.7-2.7c0.3-0.3,0.4-0.6,0.4-1s-0.1-0.7-0.4-1 c-0.3-0.3-0.6-0.4-1-0.4c-0.4,0-0.7,0.1-1,0.4l-2.7,2.7l-2.7-2.7c-0.3-0.3-0.6-0.4-1-0.4s-0.7,0.1-1,0.4c-0.3,0.3-0.4,0.6-0.4,1 s0.1,0.7,0.4,1l2.7,2.7l-2.7,2.7C0.8,29.1,0.7,29.4,0.7,29.8z' })] }));
|
|
1502
|
-
}
|
|
1503
|
-
|
|
1504
|
-
function SolarPanel(props) {
|
|
1505
|
-
return (jsxRuntime.jsx("svg", { viewBox: '0 0 64 58', ...props, children: jsxRuntime.jsx("path", { d: 'M5.5,58h39.7c2.8,0,4.7-1.6,5.4-4.2l13-46.9c1.1-4.2-1-6.9-5.2-6.9H18.7c-2.8,0-4.7,1.6-5.4,4.2L0.3,51 C-0.9,55.2,1.3,58,5.5,58z M5,51.5l5.7-20.5H29l-6.3,22.3H6.4C5.2,53.2,4.7,52.6,5,51.5z M12,26.2l5.5-19.7c0.3-1.2,1.1-1.8,2.3-1.8 h16.5l-6,21.5H12z M27.6,53.2l6.2-22.3h18.4l-5.7,20.5c-0.4,1.2-1.1,1.8-2.3,1.8H27.6z M35.1,26.2l6-21.5h16.4 c1.2,0,1.8,0.6,1.4,1.8l-5.5,19.7H35.1z' }) }));
|
|
1506
|
-
}
|
|
1507
|
-
|
|
1508
|
-
function SquareAndArrowDown(props) {
|
|
1509
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 52.6 64', ...props, children: [jsxRuntime.jsx("path", { d: 'M9.3,64h34c6.2,0,9.3-3.1,9.3-9.2V25.2c0-6.1-3.1-9.2-9.3-9.2h-8.3v4.8h8.2c2.9,0,4.6,1.6,4.6,4.6v29.1 c0,3.1-1.7,4.6-4.6,4.6H9.4c-3,0-4.6-1.6-4.6-4.6V25.5c0-3.1,1.6-4.6,4.6-4.6h8.2V16H9.3C3.1,16,0,19.1,0,25.2v29.5 C0,60.9,3.1,64,9.3,64z' }), jsxRuntime.jsx("path", { d: 'M26.3,44.5c0.6,0,1.1-0.2,1.7-0.8L38,34c0.5-0.4,0.7-0.9,0.7-1.6c0-1.2-0.9-2.1-2.2-2.1c-0.6,0-1.2,0.2-1.6,0.7l-4.5,4.8 l-2,2.1l0.2-4.4V2.3c0-1.3-1.1-2.3-2.4-2.3c-1.3,0-2.4,1.1-2.4,2.3v31.2l0.2,4.4l-2-2.1l-4.5-4.8c-0.4-0.5-1.1-0.7-1.6-0.7 c-1.3,0-2.2,0.9-2.2,2.1c0,0.6,0.3,1.1,0.7,1.6l10,9.7C25.2,44.3,25.7,44.5,26.3,44.5z' })] }));
|
|
1510
|
-
}
|
|
1511
|
-
|
|
1512
|
-
function SquareAndArrowDownFill(props) {
|
|
1513
|
-
return (jsxRuntime.jsx("svg", { viewBox: '0 0 52.6 64', ...props, children: jsxRuntime.jsx("path", { d: 'M43.3,16.6H28.7V2.3c0-1.3-1.1-2.3-2.4-2.3c-1.3,0-2.4,1.1-2.4,2.3v14.3H9.3c-6.2,0-9.3,3.1-9.3,9.2v29 C0,60.9,3.1,64,9.3,64h34c6.2,0,9.3-3.1,9.3-9.2v-29C52.6,19.7,49.5,16.6,43.3,16.6z M38,34.4l-10,9.7c-0.6,0.6-1.1,0.8-1.7,0.8 c-0.6,0-1.1-0.2-1.7-0.8l-10-9.7c-0.4-0.4-0.7-0.9-0.7-1.6c0-1.2,0.9-2.1,2.2-2.1c0.6,0,1.2,0.2,1.6,0.7l5,5.4l1.5,1.6l-0.2-4.5 V18.7c0-1.3,1-2.2,2.4-2.2c1.4,0,2.4,0.9,2.4,2.2v15.2l-0.2,4.4l1.5-1.5l5-5.4c0.4-0.5,1-0.7,1.6-0.7c1.2,0,2.2,0.9,2.2,2.1 C38.8,33.5,38.5,34,38,34.4z' }) }));
|
|
1514
|
-
}
|
|
1515
|
-
|
|
1516
|
-
function SquareAndArrowUp(props) {
|
|
1517
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 50.3 64', ...props, children: [jsxRuntime.jsx("path", { d: 'M8.9,64h32.5c3,0,5.2-0.7,6.7-2.2c1.5-1.5,2.2-3.7,2.2-6.6V26.9c0-2.9-0.7-5.1-2.2-6.6c-1.5-1.5-3.7-2.2-6.7-2.2h-7.9v4.6 h7.8c1.4,0,2.5,0.4,3.3,1.1c0.8,0.7,1.2,1.9,1.2,3.3V55c0,1.5-0.4,2.6-1.2,3.3c-0.8,0.7-1.9,1.1-3.3,1.1H9c-1.4,0-2.5-0.4-3.3-1.1 c-0.8-0.7-1.1-1.9-1.1-3.3V27.1c0-1.5,0.4-2.6,1.1-3.3c0.8-0.7,1.9-1.1,3.3-1.1h7.8v-4.6H8.9c-3,0-5.2,0.7-6.7,2.2 C0.7,21.8,0,24,0,26.9v28.3c0,2.9,0.7,5.1,2.2,6.6C3.7,63.3,5.9,64,8.9,64z' }), jsxRuntime.jsx("path", { d: 'M25.2,41.8c0.6,0,1.1-0.2,1.6-0.7c0.5-0.4,0.7-1,0.7-1.6V10.5l-0.2-4.3l1.9,2l4.3,4.6c0.4,0.4,0.9,0.7,1.5,0.7 c0.6,0,1.1-0.2,1.5-0.6c0.4-0.4,0.6-0.8,0.6-1.4c0-0.5-0.2-1-0.7-1.5l-9.6-9.3c-0.3-0.3-0.5-0.5-0.8-0.6C25.7,0.1,25.4,0,25.2,0 c-0.3,0-0.5,0.1-0.8,0.2c-0.3,0.1-0.5,0.3-0.8,0.6L13.9,10c-0.4,0.4-0.7,0.9-0.7,1.5c0,0.6,0.2,1,0.6,1.4c0.4,0.4,0.9,0.6,1.5,0.6 c0.6,0,1.2-0.2,1.6-0.7l4.3-4.6l1.9-2l-0.2,4.3v29.1c0,0.6,0.2,1.1,0.7,1.6C24,41.6,24.6,41.8,25.2,41.8z' })] }));
|
|
1518
|
-
}
|
|
1519
|
-
|
|
1520
|
-
function SquareAndArrowUpFill(props) {
|
|
1521
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 50.3 64', ...props, children: [jsxRuntime.jsx("path", { d: 'M8.9,64h32.5c3,0,5.2-0.7,6.7-2.2c1.5-1.5,2.2-3.7,2.2-6.6V27.5c0-2.9-0.7-5.1-2.2-6.6c-1.5-1.5-3.7-2.2-6.7-2.2H28v21 c0,0.8-0.3,1.4-0.8,1.9c-0.6,0.5-1.2,0.8-2,0.8c-0.8,0-1.4-0.3-2-0.8c-0.6-0.5-0.8-1.2-0.8-1.9v-21H8.9c-3,0-5.2,0.7-6.7,2.2 C0.7,22.4,0,24.6,0,27.5v27.7c0,2.9,0.7,5.1,2.2,6.6C3.7,63.3,5.9,64,8.9,64z' }), jsxRuntime.jsx("path", { d: 'M25.2,20.9c0.6,0,1.1-0.2,1.6-0.7c0.5-0.4,0.7-1,0.7-1.6v-8.2l-0.2-4.3l1.9,2l4.3,4.6c0.4,0.4,0.9,0.7,1.5,0.7 c0.6,0,1.1-0.2,1.5-0.6c0.4-0.4,0.6-0.8,0.6-1.4c0-0.5-0.2-1-0.7-1.5l-9.6-9.3c-0.3-0.3-0.5-0.5-0.8-0.6C25.7,0.1,25.4,0,25.2,0 c-0.3,0-0.5,0.1-0.8,0.2c-0.3,0.1-0.5,0.3-0.8,0.6L13.9,10c-0.4,0.4-0.7,0.9-0.7,1.5c0,0.6,0.2,1,0.6,1.4c0.4,0.4,0.9,0.6,1.5,0.6 c0.6,0,1.2-0.2,1.6-0.7l4.3-4.6l1.9-2l-0.2,4.3v8.2c0,0.6,0.2,1.1,0.7,1.6C24,20.7,24.6,20.9,25.2,20.9z' })] }));
|
|
1522
|
-
}
|
|
1523
|
-
|
|
1524
|
-
function SquareAndPencil(props) {
|
|
1525
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 50.3 64', ...props, children: [jsxRuntime.jsx("path", { d: 'M8.9,64h32.5c3,0,5.2-0.7,6.7-2.2c1.5-1.5,2.2-3.7,2.2-6.6V26.9c0-2.9-0.7-5.1-2.2-6.6c-1.5-1.5-3.7-2.2-6.7-2.2h-7.9v4.6 h7.8c1.4,0,2.5,0.4,3.3,1.1c0.8,0.7,1.2,1.9,1.2,3.3V55c0,1.5-0.4,2.6-1.2,3.3c-0.8,0.7-1.9,1.1-3.3,1.1H9c-1.4,0-2.5-0.4-3.3-1.1 c-0.8-0.7-1.1-1.9-1.1-3.3V27.1c0-1.5,0.4-2.6,1.1-3.3c0.8-0.7,1.9-1.1,3.3-1.1h7.8v-4.6H8.9c-3,0-5.2,0.7-6.7,2.2 C0.7,21.8,0,24,0,26.9v28.3c0,2.9,0.7,5.1,2.2,6.6C3.7,63.3,5.9,64,8.9,64z' }), jsxRuntime.jsx("path", { d: 'M25.2,41.8c0.6,0,1.1-0.2,1.6-0.7c0.5-0.4,0.7-1,0.7-1.6V10.5l-0.2-4.3l1.9,2l4.3,4.6c0.4,0.4,0.9,0.7,1.5,0.7 c0.6,0,1.1-0.2,1.5-0.6c0.4-0.4,0.6-0.8,0.6-1.4c0-0.5-0.2-1-0.7-1.5l-9.6-9.3c-0.3-0.3-0.5-0.5-0.8-0.6C25.7,0.1,25.4,0,25.2,0 c-0.3,0-0.5,0.1-0.8,0.2c-0.3,0.1-0.5,0.3-0.8,0.6L13.9,10c-0.4,0.4-0.7,0.9-0.7,1.5c0,0.6,0.2,1,0.6,1.4c0.4,0.4,0.9,0.6,1.5,0.6 c0.6,0,1.2-0.2,1.6-0.7l4.3-4.6l1.9-2l-0.2,4.3v29.1c0,0.6,0.2,1.1,0.7,1.6C24,41.6,24.6,41.8,25.2,41.8z' })] }));
|
|
1526
|
-
}
|
|
1527
|
-
|
|
1528
|
-
function SquareAndPencilFill(props) {
|
|
1529
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 50.3 64', ...props, children: [jsxRuntime.jsx("path", { d: 'M8.9,64h32.5c3,0,5.2-0.7,6.7-2.2c1.5-1.5,2.2-3.7,2.2-6.6V26.9c0-2.9-0.7-5.1-2.2-6.6c-1.5-1.5-3.7-2.2-6.7-2.2h-7.9v4.6 h7.8c1.4,0,2.5,0.4,3.3,1.1c0.8,0.7,1.2,1.9,1.2,3.3V55c0,1.5-0.4,2.6-1.2,3.3c-0.8,0.7-1.9,1.1-3.3,1.1H9c-1.4,0-2.5-0.4-3.3-1.1 c-0.8-0.7-1.1-1.9-1.1-3.3V27.1c0-1.5,0.4-2.6,1.1-3.3c0.8-0.7,1.9-1.1,3.3-1.1h7.8v-4.6H8.9c-3,0-5.2,0.7-6.7,2.2 C0.7,21.8,0,24,0,26.9v28.3c0,2.9,0.7,5.1,2.2,6.6C3.7,63.3,5.9,64,8.9,64z' }), jsxRuntime.jsx("path", { d: 'M25.2,41.8c0.6,0,1.1-0.2,1.6-0.7c0.5-0.4,0.7-1,0.7-1.6V10.5l-0.2-4.3l1.9,2l4.3,4.6c0.4,0.4,0.9,0.7,1.5,0.7 c0.6,0,1.1-0.2,1.5-0.6c0.4-0.4,0.6-0.8,0.6-1.4c0-0.5-0.2-1-0.7-1.5l-9.6-9.3c-0.3-0.3-0.5-0.5-0.8-0.6C25.7,0.1,25.4,0,25.2,0 c-0.3,0-0.5,0.1-0.8,0.2c-0.3,0.1-0.5,0.3-0.8,0.6L13.9,10c-0.4,0.4-0.7,0.9-0.7,1.5c0,0.6,0.2,1,0.6,1.4c0.4,0.4,0.9,0.6,1.5,0.6 c0.6,0,1.2-0.2,1.6-0.7l4.3-4.6l1.9-2l-0.2,4.3v29.1c0,0.6,0.2,1.1,0.7,1.6C24,41.6,24.6,41.8,25.2,41.8z' })] }));
|
|
1530
|
-
}
|
|
1531
|
-
|
|
1532
|
-
function TextBubble(props) {
|
|
1533
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 64 60.1', ...props, children: [jsxRuntime.jsx("path", { d: 'M62.5,6.1c-1-2-2.5-3.5-4.5-4.5c-2-1-4.4-1.6-7.3-1.6H13.3C10.4,0,8,0.5,6,1.6c-2,1-3.5,2.5-4.5,4.5c-1,2-1.5,4.4-1.5,7.2 v22.3c0,2.8,0.5,5.2,1.5,7.2S4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0.5-1.2c0-0.5-0.2-0.9-0.5-1.2c-0.3-0.3-0.7-0.5-1.2-0.5H17 c-0.5,0-0.9,0.2-1.2,0.5c-0.3,0.3-0.5,0.7-0.5,1.2c0,0.5,0.2,0.9,0.5,1.2C16.2,35.2,16.6,35.3,17,35.3z' })] }));
|
|
1534
|
-
}
|
|
1535
|
-
|
|
1536
|
-
function ThreePeople(props) {
|
|
1537
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 184.1 87.8', ...props, children: [jsxRuntime.jsx("path", { d: 'M61.4,87.8h61.3c3.9,0,6.6-0.5,8.1-1.6s2.3-2.7,2.3-4.9c0-3.1-1-6.4-2.9-9.9s-4.6-6.7-8.2-9.8c-3.6-3-7.9-5.5-12.9-7.4 c-5.1-1.9-10.8-2.9-17.1-2.9c-6.3,0-12,1-17.1,2.9s-9.4,4.4-13,7.4s-6.3,6.3-8.2,9.8s-2.8,6.8-2.8,9.9c0,2.1,0.8,3.8,2.3,4.9 C54.9,87.2,57.6,87.8,61.4,87.8z' }), jsxRuntime.jsx("path", { d: 'M92.1,42.6c3.5,0,6.7-1,9.7-2.9s5.3-4.5,7.2-7.7c1.8-3.3,2.7-6.9,2.7-11c0-4-0.9-7.6-2.7-10.8s-4.2-5.7-7.2-7.5 S95.6,0,92.1,0s-6.7,0.9-9.7,2.8s-5.3,4.4-7.2,7.6c-1.8,3.2-2.7,6.8-2.7,10.7c0,4,0.9,7.7,2.7,10.9c1.8,3.2,4.2,5.8,7.2,7.7 C85.4,41.6,88.7,42.6,92.1,42.6z' }), jsxRuntime.jsx("path", { d: 'M8.6,87.8h37.1c-1.3-1.9-1.9-4.1-1.8-6.7s0.7-5.3,1.8-8.2s2.7-5.6,4.7-8.3s4.3-5.1,7-7.1c-2.7-1.8-5.9-3.3-9.4-4.5 s-7.6-1.8-12.1-1.8c-5.5,0-10.5,0.9-14.9,2.7c-4.4,1.8-8.2,4.2-11.3,7.1c-3.1,2.9-5.5,6.2-7.2,9.6S0,77.5,0,80.9 c0,2.2,0.7,3.9,2,5.1C3.3,87.2,5.6,87.8,8.6,87.8z' }), jsxRuntime.jsx("path", { d: 'M35.8,43.7c3.1,0,5.9-0.8,8.4-2.5s4.6-3.9,6.2-6.8s2.3-6,2.3-9.5s-0.8-6.6-2.3-9.4c-1.6-2.8-3.6-4.9-6.2-6.5 s-5.4-2.4-8.4-2.4S30,7.4,27.4,9s-4.7,3.8-6.3,6.6c-1.6,2.8-2.4,5.9-2.3,9.4c0,3.5,0.8,6.6,2.3,9.5s3.6,5.1,6.2,6.7 C30,42.9,32.8,43.7,35.8,43.7z' }), jsxRuntime.jsx("path", { d: 'M175.5,87.8c3.1,0,5.3-0.6,6.6-1.8c1.3-1.2,2-2.9,2-5.1c0-3.4-0.8-6.8-2.5-10.3c-1.6-3.5-4-6.7-7.2-9.6 c-3.1-2.9-6.9-5.3-11.3-7.1c-4.4-1.8-9.4-2.7-14.9-2.7c-4.6,0-8.6,0.6-12.1,1.8c-3.5,1.2-6.7,2.7-9.4,4.5c2.6,2.1,5,4.4,7,7.1 s3.6,5.5,4.7,8.3c1.1,2.9,1.7,5.6,1.8,8.2c0.1,2.6-0.5,4.8-1.8,6.7H175.5z' }), jsxRuntime.jsx("path", { d: 'M148.3,43.7c3,0,5.8-0.8,8.4-2.5s4.7-3.9,6.2-6.7c1.6-2.8,2.3-6,2.3-9.5s-0.8-6.6-2.4-9.4s-3.7-5-6.2-6.6s-5.4-2.4-8.4-2.4 s-5.8,0.8-8.4,2.4s-4.7,3.7-6.2,6.5c-1.6,2.8-2.3,5.9-2.3,9.4s0.8,6.7,2.3,9.5c1.6,2.8,3.6,5.1,6.2,6.8 C142.5,42.9,145.3,43.7,148.3,43.7z' })] }));
|
|
1538
|
-
}
|
|
1539
|
-
|
|
1540
|
-
function ThreeRectanglesDesktop(props) {
|
|
1541
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 117 99', ...props, children: [jsxRuntime.jsx("path", { d: 'M11.2,81.1C7.8,81.1 5,80.1 3,78.1C1,76.1 0,73.3 0,69.8L0,11.3C0,7.7 1,5 3,3C5,1 7.7,0 11.2,0L105.1,0C108.6,0 111.4,1 113.4,3C115.4,5 116.4,7.8 116.4,11.3L116.4,69.8C116.4,73.3 115.4,76.1 113.4,78.1C111.4,80.1 108.6,81.1 105.1,81.1L11.2,81.1ZM10,59.5L106.7,59.5C108.1,59.5 108.8,58.8 108.8,57.4L108.8,11.4C108.8,10.3 108.4,9.4 107.8,8.8C107.1,8.2 106.3,7.9 105.2,7.9L11.5,7.9C10.4,7.9 9.5,8.2 8.9,8.8C8.2,9.4 7.9,10.3 7.9,11.4L7.9,57.4C7.9,58.8 8.6,59.5 10,59.5ZM108.6,67.137L7.8,67.137L7.8,70.862C7.8,71.509 8.057,72.129 8.514,72.586C8.971,73.043 9.591,73.3 10.238,73.3L106.162,73.3C106.809,73.3 107.429,73.043 107.886,72.586C108.343,72.129 108.6,71.509 108.6,70.862L108.6,67.137Z' }), jsxRuntime.jsx("path", { d: 'M50.6,94.5L42.8,94.5L42.8,77.4L50.6,77.4L50.6,82.714L50.6,89.186L50.6,94.5Z' }), jsxRuntime.jsx("rect", { x: '65.9', y: '77.4', width: '7.8', height: '17.1' }), jsxRuntime.jsx("path", { d: 'M42.5,98.4C41.4,98.4 40.5,98 39.7,97.3C38.9,96.5 38.5,95.6 38.5,94.5C38.5,93.4 38.9,92.5 39.7,91.7C40.5,91 41.4,90.6 42.5,90.6L73.9,90.6C75,90.6 75.9,90.9 76.7,91.7C77.4,92.5 77.8,93.4 77.8,94.5C77.8,95.6 77.5,96.5 76.7,97.3C75.9,98 75,98.4 73.9,98.4L42.5,98.4Z' }), jsxRuntime.jsx("path", { d: 'M30.4,32.6C26.8,32.6 25,30.8 25.1,27.3L25.1,17.6C25.1,14.1 26.9,12.4 30.4,12.4L51.8,12.4C55.3,12.4 57.1,14.1 57.1,17.6L57.1,27.3C57.1,30.8 55.3,32.6 51.8,32.6L30.4,32.6ZM51.2,17.416L30.991,17.416C30.503,17.416 30.108,17.812 30.108,18.299L30.108,26.701C30.108,27.188 30.503,27.583 30.991,27.583L51.2,27.583C51.688,27.583 52.083,27.188 52.083,26.701L52.083,18.299C52.083,17.812 51.688,17.416 51.2,17.416Z' }), jsxRuntime.jsx("path", { d: 'M36.3,55C32.8,55 31,53.2 31,49.8L31,43.2C31,39.7 32.8,37.9 36.3,37.9L54.7,37.9C58.2,37.9 60,39.7 60,43.2L60,49.8C60,53.3 58.2,55 54.7,55L36.3,55ZM54.101,42.917L36.891,42.917C36.404,42.917 36.009,43.312 36.009,43.8L36.009,49.1C36.009,49.587 36.404,49.982 36.891,49.982L54.101,49.982C54.588,49.982 54.983,49.587 54.983,49.1L54.983,43.8C54.983,43.312 54.588,42.917 54.101,42.917Z' }), jsxRuntime.jsx("path", { d: 'M70.8,52.1C67.2,52.1 65.5,50.3 65.5,46.8L65.5,20.9C65.5,17.4 67.3,15.6 70.8,15.6L86,15.6C89.5,15.6 91.3,17.4 91.3,20.9L91.3,46.8C91.3,50.3 89.5,52.1 86,52.1L70.8,52.1ZM85.401,20.617L71.399,20.617C71.165,20.617 70.941,20.71 70.775,20.876C70.61,21.041 70.517,21.266 70.517,21.5L70.517,46.2C70.517,46.434 70.61,46.659 70.775,46.824C70.941,46.99 71.165,47.083 71.399,47.083L85.401,47.083C85.635,47.083 85.859,46.99 86.025,46.824C86.19,46.659 86.283,46.434 86.283,46.2L86.283,21.5C86.283,21.266 86.19,21.041 86.025,20.876C85.859,20.71 85.635,20.617 85.401,20.617Z' })] }));
|
|
1542
|
-
}
|
|
1543
|
-
|
|
1544
|
-
function ThreeRectanglesDesktopFill(props) {
|
|
1545
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 117 99', ...props, children: [jsxRuntime.jsx("path", { d: 'M11.2,81.1C7.8,81.1 5,80.1 3,78.1C1,76.1 0,73.3 0,69.8L0,11.3C0,7.7 1,5 3,3C5,1 7.7,0 11.2,0L105.1,0C108.6,0 111.4,1 113.4,3C115.4,5 116.4,7.8 116.4,11.3L116.4,69.8C116.4,73.3 115.4,76.1 113.4,78.1C111.4,80.1 108.6,81.1 105.1,81.1L11.2,81.1ZM10,59.5L106.7,59.5C108.1,59.5 108.8,58.8 108.8,57.4L108.8,11.4C108.8,10.3 108.4,9.4 107.8,8.8C107.1,8.2 106.3,7.9 105.2,7.9L11.5,7.9C10.4,7.9 9.5,8.2 8.9,8.8C8.2,9.4 7.9,10.3 7.9,11.4L7.9,57.4C7.9,58.8 8.6,59.5 10,59.5Z' }), jsxRuntime.jsx("rect", { x: '42.8', y: '80.4', width: '30.9', height: '12.3' }), jsxRuntime.jsx("path", { d: 'M42.5,98.4L73.9,98.4C75,98.4 75.9,98 76.7,97.3C77.5,96.5 77.8,95.6 77.8,94.5C77.8,93.4 77.4,92.5 76.7,91.7C75.9,90.9 75,90.6 73.9,90.6L42.5,90.6C41.4,90.6 40.5,91 39.7,91.7C38.9,92.5 38.5,93.4 38.5,94.5C38.5,95.6 38.9,96.5 39.7,97.3C40.5,98 41.4,98.4 42.5,98.4Z' }), jsxRuntime.jsx("path", { d: 'M30.4,32.6L51.8,32.6C55.3,32.6 57.1,30.8 57.1,27.3L57.1,17.6C57.1,14.1 55.3,12.4 51.8,12.4L30.4,12.4C26.9,12.4 25.1,14.1 25.1,17.6L25.1,27.3C25,30.8 26.8,32.6 30.4,32.6Z' }), jsxRuntime.jsx("path", { d: 'M36.3,55L54.7,55C58.2,55 60,53.3 60,49.8L60,43.2C60,39.7 58.2,37.9 54.7,37.9L36.3,37.9C32.8,37.9 31,39.7 31,43.2L31,49.8C31,53.2 32.8,55 36.3,55Z' }), jsxRuntime.jsx("path", { d: 'M70.8,52.1L86,52.1C89.5,52.1 91.3,50.3 91.3,46.8L91.3,20.9C91.3,17.4 89.5,15.6 86,15.6L70.8,15.6C67.3,15.6 65.5,17.4 65.5,20.9L65.5,46.8C65.5,50.3 67.2,52.1 70.8,52.1Z' })] }));
|
|
1546
|
-
}
|
|
1547
|
-
|
|
1548
|
-
function Trash(props) {
|
|
1549
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 64 60.1', ...props, children: [jsxRuntime.jsx("path", { d: 'M62.5,6.1c-1-2-2.5-3.5-4.5-4.5c-2-1-4.4-1.6-7.3-1.6H13.3C10.4,0,8,0.5,6,1.6c-2,1-3.5,2.5-4.5,4.5c-1,2-1.5,4.4-1.5,7.2 v22.3c0,2.8,0.5,5.2,1.5,7.2S4,46.3,6,47.3c2,1,4.4,1.6,7.3,1.6h1.4v7.5c0,1.1,0.3,2,0.8,2.7c0.6,0.7,1.3,1,2.4,1 c0.7,0,1.4-0.2,2-0.6s1.3-1,2.2-1.7l10-8.9h18.6c2.9,0,5.3-0.5,7.3-1.6c2-1,3.5-2.5,4.5-4.5c1-2,1.5-4.4,1.5-7.2V13.3 C64,10.5,63.5,8.1,62.5,6.1z M59.3,35.5c0,2.8-0.7,5-2.1,6.4c-1.4,1.5-3.6,2.2-6.5,2.2H31.9c-0.8,0-1.4,0.1-1.9,0.3s-1,0.5-1.6,1.1 l-9.3,9.2v-8.4c0-0.8-0.2-1.4-0.5-1.7c-0.3-0.3-0.9-0.5-1.7-0.5h-3.6c-2.9,0-5.1-0.7-6.5-2.2c-1.4-1.5-2.1-3.6-2.1-6.4V13.3 c0-2.8,0.7-5,2.1-6.4s3.6-2.2,6.5-2.2h37.4c2.9,0,5.1,0.7,6.5,2.2s2.1,3.6,2.1,6.4V35.5z' }), jsxRuntime.jsx("path", { d: 'M17,16.4h29.6c0.5,0,0.9-0.2,1.2-0.5c0.3-0.3,0.5-0.7,0.5-1.2c0-0.5-0.2-0.9-0.5-1.2c-0.3-0.3-0.7-0.5-1.2-0.5H17 c-0.5,0-0.9,0.2-1.2,0.5c-0.3,0.3-0.5,0.7-0.5,1.2c0,0.5,0.2,0.9,0.5,1.2C16.2,16.3,16.6,16.4,17,16.4z' }), jsxRuntime.jsx("path", { d: 'M17,25.9h29.6c0.5,0,0.9-0.2,1.2-0.5c0.3-0.3,0.5-0.7,0.5-1.2c0-0.5-0.2-0.9-0.5-1.2c-0.3-0.3-0.7-0.5-1.2-0.5H17 c-0.5,0-0.9,0.2-1.2,0.5c-0.3,0.3-0.5,0.7-0.5,1.2c0,0.5,0.2,0.9,0.5,1.2C16.2,25.7,16.6,25.9,17,25.9z' }), jsxRuntime.jsx("path", { d: 'M17,35.3h19.2c0.5,0,0.9-0.2,1.2-0.5c0.3-0.3,0.5-0.7,0.5-1.2c0-0.5-0.2-0.9-0.5-1.2c-0.3-0.3-0.7-0.5-1.2-0.5H17 c-0.5,0-0.9,0.2-1.2,0.5c-0.3,0.3-0.5,0.7-0.5,1.2c0,0.5,0.2,0.9,0.5,1.2C16.2,35.2,16.6,35.3,17,35.3z' })] }));
|
|
1550
|
-
}
|
|
1551
|
-
|
|
1552
|
-
function TrashFill(props) {
|
|
1553
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 64 60.1', ...props, children: [jsxRuntime.jsx("path", { d: 'M62.5,6.1c-1-2-2.5-3.5-4.5-4.5c-2-1-4.4-1.6-7.3-1.6H13.3C10.4,0,8,0.5,6,1.6c-2,1-3.5,2.5-4.5,4.5c-1,2-1.5,4.4-1.5,7.2 v22.3c0,2.8,0.5,5.2,1.5,7.2S4,46.3,6,47.3c2,1,4.4,1.6,7.3,1.6h1.4v7.5c0,1.1,0.3,2,0.8,2.7c0.6,0.7,1.3,1,2.4,1 c0.7,0,1.4-0.2,2-0.6s1.3-1,2.2-1.7l10-8.9h18.6c2.9,0,5.3-0.5,7.3-1.6c2-1,3.5-2.5,4.5-4.5c1-2,1.5-4.4,1.5-7.2V13.3 C64,10.5,63.5,8.1,62.5,6.1z M59.3,35.5c0,2.8-0.7,5-2.1,6.4c-1.4,1.5-3.6,2.2-6.5,2.2H31.9c-0.8,0-1.4,0.1-1.9,0.3s-1,0.5-1.6,1.1 l-9.3,9.2v-8.4c0-0.8-0.2-1.4-0.5-1.7c-0.3-0.3-0.9-0.5-1.7-0.5h-3.6c-2.9,0-5.1-0.7-6.5-2.2c-1.4-1.5-2.1-3.6-2.1-6.4V13.3 c0-2.8,0.7-5,2.1-6.4s3.6-2.2,6.5-2.2h37.4c2.9,0,5.1,0.7,6.5,2.2s2.1,3.6,2.1,6.4V35.5z' }), jsxRuntime.jsx("path", { d: 'M17,16.4h29.6c0.5,0,0.9-0.2,1.2-0.5c0.3-0.3,0.5-0.7,0.5-1.2c0-0.5-0.2-0.9-0.5-1.2c-0.3-0.3-0.7-0.5-1.2-0.5H17 c-0.5,0-0.9,0.2-1.2,0.5c-0.3,0.3-0.5,0.7-0.5,1.2c0,0.5,0.2,0.9,0.5,1.2C16.2,16.3,16.6,16.4,17,16.4z' }), jsxRuntime.jsx("path", { d: 'M17,25.9h29.6c0.5,0,0.9-0.2,1.2-0.5c0.3-0.3,0.5-0.7,0.5-1.2c0-0.5-0.2-0.9-0.5-1.2c-0.3-0.3-0.7-0.5-1.2-0.5H17 c-0.5,0-0.9,0.2-1.2,0.5c-0.3,0.3-0.5,0.7-0.5,1.2c0,0.5,0.2,0.9,0.5,1.2C16.2,25.7,16.6,25.9,17,25.9z' }), jsxRuntime.jsx("path", { d: 'M17,35.3h19.2c0.5,0,0.9-0.2,1.2-0.5c0.3-0.3,0.5-0.7,0.5-1.2c0-0.5-0.2-0.9-0.5-1.2c-0.3-0.3-0.7-0.5-1.2-0.5H17 c-0.5,0-0.9,0.2-1.2,0.5c-0.3,0.3-0.5,0.7-0.5,1.2c0,0.5,0.2,0.9,0.5,1.2C16.2,35.2,16.6,35.3,17,35.3z' })] }));
|
|
1554
|
-
}
|
|
1555
|
-
|
|
1556
|
-
function Tree(props) {
|
|
1557
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 64 60.1', ...props, children: [jsxRuntime.jsx("path", { d: 'M62.5,6.1c-1-2-2.5-3.5-4.5-4.5c-2-1-4.4-1.6-7.3-1.6H13.3C10.4,0,8,0.5,6,1.6c-2,1-3.5,2.5-4.5,4.5c-1,2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.3h19.2c0.5,0,0.9-0.2,1.2-0.5c0.3-0.3,0.5-0.7,0.5-1.2c0-0.5-0.2-0.9-0.5-1.2c-0.3-0.3-0.7-0.5-1.2-0.5H17 c-0.5,0-0.9,0.2-1.2,0.5c-0.3,0.3-0.5,0.7-0.5,1.2c0,0.5,0.2,0.9,0.5,1.2C16.2,35.2,16.6,35.3,17,35.3z' })] }));
|
|
1558
|
-
}
|
|
1559
|
-
|
|
1560
|
-
function UmbrellaFill(props) {
|
|
1561
|
-
return (jsxRuntime.jsxs("svg", { viewBox: '0 0 64 60.1', ...props, children: [jsxRuntime.jsx("path", { d: 'M62.5,6.1c-1-2-2.5-3.5-4.5-4.5c-2-1-4.4-1.6-7.3-1.6H13.3C10.4,0,8,0.5,6,1.6c-2,1-3.5,2.5-4.5,4.5c-1,2-1.5,4.4-1.5,7.2 v22.3c0,2.8,0.5,5.2,1.5,7.2S4,46.3,6,47.3c2,1,4.4,1.6,7.3,1.6h1.4v7.5c0,1.1,0.3,2,0.8,2.7c0.6,0.7,1.3,1,2.4,1 c0.7,0,1.4-0.2,2-0.6s1.3-1,2.2-1.7l10-8.9h18.6c2.9,0,5.3-0.5,7.3-1.6c2-1,3.5-2.5,4.5-4.5c1-2,1.5-4.4,1.5-7.2V13.3 C64,10.5,63.5,8.1,62.5,6.1z M59.3,35.5c0,2.8-0.7,5-2.1,6.4c-1.4,1.5-3.6,2.2-6.5,2.2H31.9c-0.8,0-1.4,0.1-1.9,0.3s-1,0.5-1.6,1.1 l-9.3,9.2v-8.4c0-0.8-0.2-1.4-0.5-1.7c-0.3-0.3-0.9-0.5-1.7-0.5h-3.6c-2.9,0-5.1-0.7-6.5-2.2c-1.4-1.5-2.1-3.6-2.1-6.4V13.3 c0-2.8,0.7-5,2.1-6.4s3.6-2.2,6.5-2.2h37.4c2.9,0,5.1,0.7,6.5,2.2s2.1,3.6,2.1,6.4V35.5z' }), jsxRuntime.jsx("path", { d: 'M17,16.4h29.6c0.5,0,0.9-0.2,1.2-0.5c0.3-0.3,0.5-0.7,0.5-1.2c0-0.5-0.2-0.9-0.5-1.2c-0.3-0.3-0.7-0.5-1.2-0.5H17 c-0.5,0-0.9,0.2-1.2,0.5c-0.3,0.3-0.5,0.7-0.5,1.2c0,0.5,0.2,0.9,0.5,1.2C16.2,16.3,16.6,16.4,17,16.4z' }), jsxRuntime.jsx("path", { d: 'M17,25.9h29.6c0.5,0,0.9-0.2,1.2-0.5c0.3-0.3,0.5-0.7,0.5-1.2c0-0.5-0.2-0.9-0.5-1.2c-0.3-0.3-0.7-0.5-1.2-0.5H17 c-0.5,0-0.9,0.2-1.2,0.5c-0.3,0.3-0.5,0.7-0.5,1.2c0,0.5,0.2,0.9,0.5,1.2C16.2,25.7,16.6,25.9,17,25.9z' }), jsxRuntime.jsx("path", { d: 'M17,35.3h19.2c0.5,0,0.9-0.2,1.2-0.5c0.3-0.3,0.5-0.7,0.5-1.2c0-0.5-0.2-0.9-0.5-1.2c-0.3-0.3-0.7-0.5-1.2-0.5H17 c-0.5,0-0.9,0.2-1.2,0.5c-0.3,0.3-0.5,0.7-0.5,1.2c0,0.5,0.2,0.9,0.5,1.2C16.2,35.2,16.6,35.3,17,35.3z' })] }));
|
|
1562
|
-
}
|
|
1563
|
-
|
|
1564
|
-
function xmark(props) {
|
|
1565
|
-
return (jsxRuntime.jsx("svg", { viewBox: '0 0 64 64', ...props, children: jsxRuntime.jsx("path", { d: 'M1,63c0.7,0.7,1.6,1,2.6,1s1.9-0.3,2.6-1L32,37.1L57.8,63c0.7,0.7,1.5,1,2.5,1c1,0,1.9-0.3,2.6-1c0.7-0.7,1-1.6,1-2.6 c0-1-0.3-1.8-1-2.5L37.1,32L63,6.2c0.7-0.7,1-1.6,1-2.6S63.7,1.7,63,1c-0.7-0.7-1.6-1-2.6-1c-1,0-1.8,0.3-2.5,1L32,26.9L6.2,1 C5.5,0.3,4.6,0,3.6,0C2.6,0,1.7,0.3,1,1C0.3,1.7,0,2.6,0,3.6c0,1,0.3,1.9,1,2.6L26.9,32L1,57.8c-0.7,0.7-1,1.5-1,2.6 C0,61.4,0.3,62.3,1,63z' }) }));
|
|
1566
|
-
}
|
|
1567
|
-
|
|
1568
3453
|
function ModalTrigger({ as, ...props }) {
|
|
1569
|
-
const Element = as || react
|
|
3454
|
+
const Element = as || react.Button;
|
|
1570
3455
|
return jsxRuntime.jsx(Element, { ...props });
|
|
1571
3456
|
}
|
|
1572
3457
|
function ModalDialog(props) {
|
|
1573
3458
|
return jsxRuntime.jsx("div", { ...props });
|
|
1574
3459
|
}
|
|
1575
3460
|
function Modal({ children, className, onClose, onOpen, place = 'bottom' }) {
|
|
1576
|
-
const [bodyElement, setBodyElement] =
|
|
1577
|
-
|
|
3461
|
+
const [bodyElement, setBodyElement] = React.useState(null);
|
|
3462
|
+
React.useEffect(() => {
|
|
1578
3463
|
if (!bodyElement && typeof window !== 'undefined')
|
|
1579
3464
|
setBodyElement(document.body);
|
|
1580
3465
|
}, [bodyElement]);
|
|
1581
|
-
const [isOpen, setIsOpen] =
|
|
1582
|
-
const dialogPanelRef =
|
|
3466
|
+
const [isOpen, setIsOpen] = React.useState(false);
|
|
3467
|
+
const dialogPanelRef = React.useRef(null), dragMoveBoxRef = React.useRef(null),
|
|
1583
3468
|
// lastTouchYRef = useRef(0),
|
|
1584
|
-
startDragCoords =
|
|
1585
|
-
const [allowDragClose, setAllowDragClose] =
|
|
3469
|
+
startDragCoords = React.useRef({ x: 0, y: 0 });
|
|
3470
|
+
const [allowDragClose, setAllowDragClose] = React.useState(false), [readyToClose, setReadyToClose] = React.useState(false);
|
|
1586
3471
|
const openModal = () => {
|
|
1587
|
-
|
|
3472
|
+
if (isOpen)
|
|
3473
|
+
return;
|
|
1588
3474
|
setIsOpen(true);
|
|
1589
3475
|
onOpen?.();
|
|
1590
3476
|
};
|
|
1591
3477
|
const closeModal = () => {
|
|
1592
|
-
|
|
3478
|
+
if (!isOpen)
|
|
3479
|
+
return;
|
|
1593
3480
|
setIsOpen(false);
|
|
1594
3481
|
onClose?.();
|
|
1595
3482
|
};
|
|
@@ -1664,28 +3551,28 @@ function Modal({ children, className, onClose, onOpen, place = 'bottom' }) {
|
|
|
1664
3551
|
}
|
|
1665
3552
|
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [allowDragClose &&
|
|
1666
3553
|
bodyElement &&
|
|
1667
|
-
|
|
1668
|
-
|
|
3554
|
+
ReactDOM.createPortal(jsxRuntime.jsx("div", { ref: dragMoveBoxRef, className: 'fixed inset-0 z-99 h-dvh w-screen bg-transparent active:cursor-grabbing pointer-coarse:hidden', onMouseMove: handleMouseMove, onMouseUp: disableMouseDragClose }), bodyElement), triggerElement &&
|
|
3555
|
+
React.cloneElement(triggerElement, { onClick: openModal }), jsxRuntime.jsxs(react.Dialog, { open: isOpen, onClose: closeModal, className: [
|
|
1669
3556
|
'isolate z-50',
|
|
1670
3557
|
place === 'bottom' &&
|
|
1671
3558
|
'after:fixed after:inset-x-0 after:bottom-0 after:-z-10 after:h-16 after:bg-neutral-50 sm:after:hidden',
|
|
1672
|
-
].join(' '), children: [jsxRuntime.jsx(react
|
|
1673
|
-
'
|
|
3559
|
+
].join(' '), children: [jsxRuntime.jsx(react.DialogBackdrop, { transition: true, className: [
|
|
3560
|
+
'fixed inset-0 cursor-pointer transition-[opacity_background-color_backdrop-filter_-webkit-backdrop-filter] delay-100 duration-750 ease-exponential data-closed:opacity-0',
|
|
1674
3561
|
readyToClose
|
|
1675
3562
|
? 'bg-neutral-50/5 backdrop-blur-[1px] dark:bg-neutral-950/5'
|
|
1676
3563
|
: 'bg-neutral-50/25 backdrop-blur-sm dark:bg-neutral-950/25',
|
|
1677
|
-
].join(' '), children: jsxRuntime.jsx(Button, { theme: 'blue', padding: 'none', rounded: 'full', className: 'group/button
|
|
1678
|
-
? 'data-enter:translate-y-[calc(-50%+12rem)] data-leave:translate-y-[calc(-50%-8rem)]
|
|
1679
|
-
: 'rounded-t-4xl
|
|
1680
|
-
'
|
|
3564
|
+
].join(' '), children: jsxRuntime.jsx(Button, { theme: 'blue', padding: 'none', rounded: 'full', className: 'group/button fixed top-4 right-4 h-7 w-7 overflow-x-hidden transition-[scale_width_filter] pointer-fine:hover:w-20', children: jsxRuntime.jsxs("div", { className: 'absolute top-1 right-1 flex items-center gap-1 pt-px transition-transform duration-300 ease-exponential pointer-fine:group-hover/button:-translate-x-0.5', children: [jsxRuntime.jsxs("span", { className: 'block text-xs leading-none font-medium text-neutral-50 uppercase', children: ["Close", jsxRuntime.jsx("span", { className: 'sr-only', children: " Modal" })] }), jsxRuntime.jsx(xmark, { className: '-top-px block size-5 scale-75 rotate-90 fill-white stroke-white stroke-1 transition-transform duration-300 ease-in-out group-hover/button:rotate-0' })] }) }) }), jsxRuntime.jsxs(react.DialogPanel, { ref: dialogPanelRef, transition: true, className: twMerge('fixed left-1/2 -translate-x-1/2 overflow-y-scroll bg-neutral-50 p-4 shadow-[0_-15px_50px_-12px] shadow-neutral-950/25 transition-[transform_translate_opacity] duration-750 ease-exponential data-closed:scale-50 data-closed:opacity-0 sm:w-[calc(100vw-2rem)] sm:max-w-fit sm:p-6 sm:shadow-2xl lg:p-8 dark:bg-neutral-900', place === 'center'
|
|
3565
|
+
? 'top-1/2 -translate-y-1/2 rounded-2xl data-enter:translate-y-[calc(-50%+12rem)] data-leave:translate-y-[calc(-50%-8rem)]'
|
|
3566
|
+
: 'bottom-0 h-fit max-h-[calc(100dvh-4rem)] translate-y-0 rounded-t-4xl data-enter:translate-y-full data-leave:translate-y-full sm:top-1/2 sm:bottom-auto sm:rounded-t-2xl sm:rounded-b-2xl sm:data-enter:translate-y-[calc(-50%+12rem)] sm:data-leave:translate-y-[calc(-50%-8rem)] sm:data-open:-translate-y-1/2 pointer-fine:top-1/2 pointer-fine:bottom-auto pointer-fine:-translate-y-1/2 pointer-fine:rounded-2xl', className), children: [jsxRuntime.jsx("button", { onTouchStart: enableTouchClose, onMouseDown: enableMouseClose, className: [
|
|
3567
|
+
'absolute inset-x-0 top-0 z-10 flex h-6 cursor-grab items-center justify-center after:h-1 after:w-8 after:rounded-full after:transition-[transform_background-color] after:duration-500 after:ease-exponential active:cursor-grabbing',
|
|
1681
3568
|
readyToClose
|
|
1682
3569
|
? 'after:scale-x-200 after:scale-y-200 after:bg-ui-blue'
|
|
1683
|
-
: 'after:bg-ui-grey/50 active:after:bg-ui-grey pointer-fine:hover:after:scale-x-125 pointer-fine:hover:after:bg-neutral-500/75 pointer-fine:active:after:scale-x-150 pointer-fine:active:after:bg-ui-grey
|
|
3570
|
+
: 'after:bg-ui-grey/50 active:after:scale-x-150 active:after:scale-y-125 active:after:bg-ui-grey pointer-fine:hover:after:scale-x-125 pointer-fine:hover:after:bg-neutral-500/75 pointer-fine:active:after:scale-x-150 pointer-fine:active:after:bg-ui-grey',
|
|
1684
3571
|
].join(' '), children: jsxRuntime.jsx("span", { className: 'sr-only', children: "Drag down to close" }) }), dialogElement] })] })] }));
|
|
1685
3572
|
}
|
|
1686
3573
|
|
|
1687
3574
|
function Time({ children, dateObject, dateTime, day, hours, milliseconds, minutes, month, seconds, year, ref, ...props }) {
|
|
1688
|
-
const [date, setDate] =
|
|
3575
|
+
const [date, setDate] = React.useState(dateObject || undefined);
|
|
1689
3576
|
const getDateAndTime = () => {
|
|
1690
3577
|
if (dateTime)
|
|
1691
3578
|
return dateTime;
|
|
@@ -1724,7 +3611,7 @@ function Time({ children, dateObject, dateTime, day, hours, milliseconds, minute
|
|
|
1724
3611
|
.join(' ');
|
|
1725
3612
|
};
|
|
1726
3613
|
const dateDisplay = getDateDisplay();
|
|
1727
|
-
|
|
3614
|
+
React.useEffect(() => {
|
|
1728
3615
|
if (date === undefined &&
|
|
1729
3616
|
dateObject === undefined &&
|
|
1730
3617
|
dateTime === undefined &&
|
|
@@ -1735,125 +3622,30 @@ function Time({ children, dateObject, dateTime, day, hours, milliseconds, minute
|
|
|
1735
3622
|
return (jsxRuntime.jsx("time", { dateTime: dateAndTime, ref: ref, ...props, children: dateDisplay }));
|
|
1736
3623
|
}
|
|
1737
3624
|
|
|
1738
|
-
exports.Airplane = Airplane;
|
|
1739
3625
|
exports.Anchor = Anchor;
|
|
1740
|
-
exports.ArrowTriangle2CirclepathCircle = ArrowTriangle2CirclepathCircle;
|
|
1741
|
-
exports.ArrowTriangle2CirclepathCircleFill = ArrowTriangle2CirclepathCircleFill;
|
|
1742
|
-
exports.BagFill = BagFill;
|
|
1743
|
-
exports.Banknote = Banknote;
|
|
1744
|
-
exports.BellFill = BellFill;
|
|
1745
|
-
exports.BoltCar = BoltCar;
|
|
1746
|
-
exports.BoltFill = BoltFill;
|
|
1747
|
-
exports.BoltRingClosed = BoltRingClosed;
|
|
1748
|
-
exports.BoltTrianglebadgeExclamationmark = BoltTrianglebadgeExclamationmark;
|
|
1749
|
-
exports.BookFill = BookFill;
|
|
1750
|
-
exports.BookmarkFill = BookmarkFill;
|
|
1751
|
-
exports.BriefcaseFill = BriefcaseFill;
|
|
1752
|
-
exports.BubbleLeftFill = BubbleLeftFill;
|
|
1753
|
-
exports.Building2Fill = Building2Fill;
|
|
1754
3626
|
exports.Button = Button;
|
|
1755
|
-
exports.
|
|
1756
|
-
exports.
|
|
1757
|
-
exports.
|
|
1758
|
-
exports.
|
|
1759
|
-
exports.
|
|
1760
|
-
exports.
|
|
1761
|
-
exports.
|
|
1762
|
-
exports.
|
|
1763
|
-
exports.
|
|
1764
|
-
exports.
|
|
1765
|
-
exports.ChevronLeftForwardslashChevronRight = ChevronLeftForwardslashChevronRight;
|
|
1766
|
-
exports.ChevronRight = ChevronRight;
|
|
1767
|
-
exports.ChevronUpChevronDown = ChevronUpChevronDown;
|
|
1768
|
-
exports.CircleFill = CircleFill;
|
|
1769
|
-
exports.ClockBadgeCheckmark = ClockBadgeCheckmark;
|
|
1770
|
-
exports.ClockFill = ClockFill;
|
|
1771
|
-
exports.CloudFill = CloudFill;
|
|
1772
|
-
exports.CubeFill = CubeFill;
|
|
1773
|
-
exports.CurvePointLeft = CurvePointLeft;
|
|
1774
|
-
exports.DialHigh = DialHigh;
|
|
1775
|
-
exports.DocFill = DocFill;
|
|
1776
|
-
exports.DocOnClipboard = DocOnClipboard;
|
|
1777
|
-
exports.DocOnDoc = DocOnDoc;
|
|
1778
|
-
exports.DocOnDocFill = DocOnDocFill;
|
|
1779
|
-
exports.DocTextMagnifyingglass = DocOnMagnifyingglass;
|
|
1780
|
-
exports.DollarSign = DollarSign;
|
|
1781
|
-
exports.EllipsisCircle = EllipsisCircle;
|
|
1782
|
-
exports.EllipsisCircleFill = EllipsisCircleFill;
|
|
1783
|
-
exports.Envelope = Envelope;
|
|
1784
|
-
exports.EnvelopeFill = EnvelopeFill;
|
|
1785
|
-
exports.ExclamationmarkOctagon = ExclamationmarkOctagon;
|
|
1786
|
-
exports.Eye = Eye;
|
|
1787
|
-
exports.FigureWaterFitness = FigureWaterFitness;
|
|
1788
|
-
exports.FlagFill = FlagFill;
|
|
1789
|
-
exports.FlameFill = FlameFill;
|
|
1790
|
-
exports.Folder = Folder;
|
|
1791
|
-
exports.FolderFill = FolderFill;
|
|
3627
|
+
exports.Details = Details;
|
|
3628
|
+
exports.DetailsBody = DetailsBody;
|
|
3629
|
+
exports.DetailsSummary = DetailsSummary;
|
|
3630
|
+
exports.DropDown = DropDown;
|
|
3631
|
+
exports.DropDownButton = DropDownButton;
|
|
3632
|
+
exports.DropDownItem = DropDownItem;
|
|
3633
|
+
exports.DropDownItems = DropDownItems;
|
|
3634
|
+
exports.DropDownSection = DropDownSection;
|
|
3635
|
+
exports.DropDownSeparator = DropDownSeparator;
|
|
3636
|
+
exports.Fieldset = Fieldset;
|
|
1792
3637
|
exports.Form = Form;
|
|
1793
|
-
exports.FormContextProvider = FormContextProvider;
|
|
1794
|
-
exports.FormStatusProvider = FormStatusProvider;
|
|
1795
|
-
exports.Gearshape = Gearshape;
|
|
1796
|
-
exports.GearshapeFill = GearshapeFill;
|
|
1797
3638
|
exports.Ghost = Ghost;
|
|
1798
|
-
exports.GiftFill = GiftFill;
|
|
1799
|
-
exports.GlobeAmericasFill = GlobeAmericasFill;
|
|
1800
|
-
exports.HareFill = HareFill;
|
|
1801
3639
|
exports.Heading = Heading;
|
|
1802
|
-
exports.House = House;
|
|
1803
|
-
exports.HouseDeskclock = HouseDeskclock;
|
|
1804
|
-
exports.HouseFill = HouseFill;
|
|
1805
|
-
exports.IPhoneHouse = IPhoneHouse;
|
|
1806
3640
|
exports.Input = Input;
|
|
1807
|
-
exports.LightRibbon = LightRibbon;
|
|
1808
|
-
exports.LightbulbFill = LightbulbFill;
|
|
1809
|
-
exports.LightbulbLed = LightbulbLed;
|
|
1810
3641
|
exports.Link = Link;
|
|
1811
|
-
exports.ListBulletClipboardFill = ListBulletClipboardFill;
|
|
1812
|
-
exports.Magnifyingglass = Magnifyingglass;
|
|
1813
|
-
exports.MapPinEllipse = MapPinEllipse;
|
|
1814
|
-
exports.MinusPlusBatteryblock = MinusPlusBatteryblock;
|
|
1815
3642
|
exports.Modal = Modal;
|
|
1816
3643
|
exports.ModalDialog = ModalDialog;
|
|
1817
3644
|
exports.ModalTrigger = ModalTrigger;
|
|
1818
|
-
exports.Network = Network;
|
|
1819
|
-
exports.NetworkShield = NetworkShield;
|
|
1820
|
-
exports.NewspaperFill = NewspaperFill;
|
|
1821
|
-
exports.Number = Number$1;
|
|
1822
|
-
exports.PaperplaneFill = PaperplaneFill;
|
|
1823
|
-
exports.Person = Person;
|
|
1824
|
-
exports.PersonCropSquare = PersonCropSquare;
|
|
1825
|
-
exports.PersonFill = PersonFill;
|
|
1826
|
-
exports.PersonFillQuestionmark = PersonFillQuestionmark;
|
|
1827
|
-
exports.Phone = Phone;
|
|
1828
|
-
exports.PhoneArrowUpRight = PhoneArrowUpRight;
|
|
1829
|
-
exports.PhoneFill = PhoneFill;
|
|
1830
|
-
exports.PlayRectangleFill = PlayRectangleFill;
|
|
1831
|
-
exports.Plus = Plus;
|
|
1832
|
-
exports.Qrcode = Qrcode;
|
|
1833
|
-
exports.RectanglePortraitAndArrowLeft = RectanglePortraitAndArrowLeft;
|
|
1834
|
-
exports.RectanglePortraitAndArrowLeftFill = RectanglePortraitAndArrowLeftFill;
|
|
1835
|
-
exports.Sensor = Sensor;
|
|
1836
|
-
exports.Signature = Signature;
|
|
1837
|
-
exports.SolarPanel = SolarPanel;
|
|
1838
|
-
exports.SquareAndArrowDown = SquareAndArrowDown;
|
|
1839
|
-
exports.SquareAndArrowDownFill = SquareAndArrowDownFill;
|
|
1840
|
-
exports.SquareAndArrowUp = SquareAndArrowUp;
|
|
1841
|
-
exports.SquareAndArrowUpFill = SquareAndArrowUpFill;
|
|
1842
|
-
exports.SquareAndPencil = SquareAndPencil;
|
|
1843
|
-
exports.SquareAndPencilFill = SquareAndPencilFill;
|
|
1844
3645
|
exports.SubmitButton = SubmitButton;
|
|
1845
|
-
exports.TextBubble = TextBubble;
|
|
1846
3646
|
exports.Textarea = Textarea;
|
|
1847
|
-
exports.ThreePeople = ThreePeople;
|
|
1848
|
-
exports.ThreeRectanglesDesktop = ThreeRectanglesDesktop;
|
|
1849
|
-
exports.ThreeRectanglesDesktopFill = ThreeRectanglesDesktopFill;
|
|
1850
3647
|
exports.Time = Time;
|
|
1851
|
-
exports.
|
|
1852
|
-
exports.
|
|
1853
|
-
exports.
|
|
1854
|
-
exports.UmbrellaFill = UmbrellaFill;
|
|
1855
|
-
exports.Xmark = xmark;
|
|
1856
|
-
exports.defineField = defineField;
|
|
1857
|
-
exports.useFormContext = useFormContext;
|
|
1858
|
-
exports.useFormStatus = useFormStatus;
|
|
3648
|
+
exports.Tooltip = Tooltip;
|
|
3649
|
+
exports.TooltipPanel = TooltipPanel;
|
|
3650
|
+
exports.TooltipTrigger = TooltipTrigger;
|
|
1859
3651
|
//# sourceMappingURL=index.js.map
|