@planningcenter/topbar 12.4.1 → 12.5.0-rc.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/dist/topbar.css +740 -33
- package/dist/topbar.css.map +1 -1
- package/dist/topbar.js +1505 -233
- package/dist/topbar.js.map +1 -1
- package/dist/topbar.modern.js +1504 -233
- package/dist/topbar.modern.js.map +1 -1
- package/dist/topbar.module.js +1504 -233
- package/dist/topbar.module.js.map +1 -1
- package/dist/topbar.umd.js +1505 -235
- package/dist/topbar.umd.js.map +1 -1
- package/package.json +5 -2
package/dist/topbar.modern.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Link, Button, Popover, PopoverTrigger, PopoverContent, Modal } from '@planningcenter/tapestry';
|
|
1
|
+
import { Link, Button, Popover, PopoverTrigger, PopoverContent, Flex, Select, IconButton, Modal } from '@planningcenter/tapestry';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import React__default, { useState, useEffect, useMemo, useLayoutEffect, useContext, createContext, useCallback, useRef } from 'react';
|
|
4
4
|
import pcoUrl$1, { pcoUrl as pcoUrl$2, pcoApiUrl } from '@planningcenter/url';
|
|
@@ -6,18 +6,20 @@ import * as general from '@planningcenter/icons/paths/general';
|
|
|
6
6
|
import Jolt from '@planningcenter/jolt-client';
|
|
7
7
|
import { useSyncExternalStore } from 'use-sync-external-store/shim';
|
|
8
8
|
import 'react/jsx-runtime';
|
|
9
|
+
import * as toolbar from '@planningcenter/icons/paths/toolbar';
|
|
10
|
+
import datetimeFmt from '@planningcenter/datetime-fmt';
|
|
11
|
+
import pluralize from 'pluralize';
|
|
12
|
+
import * as logomarks from '@planningcenter/icons/paths/logomark';
|
|
9
13
|
import { ThemeProvider, Divider, Button as Button$1, StackView as StackView$2, Text, Icon as Icon$1, designSystem, Box, Heading, GridView, Avatar as Avatar$1, Link as Link$1, HeadingUppercase, List, Combobox, Logo, Dropdown, Spinner, Badge } from '@planningcenter/tapestry-react';
|
|
10
14
|
import { components, UiExtensionFirstPartyComponent, UiExtensionDataContext } from '@planningcenter/add-ons';
|
|
11
15
|
import * as churchCenter from '@planningcenter/icons/paths/church-center';
|
|
12
16
|
import * as people from '@planningcenter/icons/paths/people';
|
|
13
|
-
import * as toolbar from '@planningcenter/icons/paths/toolbar';
|
|
14
17
|
import { InlineWidget } from 'react-calendly';
|
|
15
18
|
import algoliasearch from 'algoliasearch';
|
|
16
19
|
import { useSearchBox, useHits, InstantSearch, Configure } from 'react-instantsearch-core';
|
|
17
20
|
import { TransitionGroup, Transition } from 'react-transition-group';
|
|
18
|
-
import datetimeFmt from '@planningcenter/datetime-fmt';
|
|
19
21
|
|
|
20
|
-
var styles$
|
|
22
|
+
var styles$u = {"accessibility-toolbar":"accessibility-toolbar-jgjUG"};
|
|
21
23
|
|
|
22
24
|
const AccessibilityToolbar = ({
|
|
23
25
|
children
|
|
@@ -29,7 +31,7 @@ const AccessibilityToolbar = ({
|
|
|
29
31
|
(_a = document.getElementById("main-content")) === null || _a === void 0 ? void 0 : _a.focus();
|
|
30
32
|
};
|
|
31
33
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
32
|
-
className: styles$
|
|
34
|
+
className: styles$u["accessibility-toolbar"]
|
|
33
35
|
}, /*#__PURE__*/React__default.createElement(Link, {
|
|
34
36
|
href: "#main-content",
|
|
35
37
|
kind: "primary",
|
|
@@ -348,11 +350,11 @@ const X = ({
|
|
|
348
350
|
fill: fill
|
|
349
351
|
})));
|
|
350
352
|
|
|
351
|
-
var styles$
|
|
353
|
+
var styles$t = {"announcement":"announcement-pI5tM","announcement--platform":"announcement--platform-EcUn2","announcement--promo":"announcement--promo-FarUk","announcement-icon":"announcement-icon-Ov39-","announcement-content":"announcement-content-q2ad6","dismiss":"dismiss-wUAoU","dismiss--promo":"dismiss--promo-7zvO4"};
|
|
352
354
|
|
|
353
355
|
function AnnouncementIcon() {
|
|
354
356
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
355
|
-
className: styles$
|
|
357
|
+
className: styles$t["announcement-icon"],
|
|
356
358
|
width: "16",
|
|
357
359
|
height: "16",
|
|
358
360
|
viewBox: "0 0 16 16",
|
|
@@ -477,7 +479,7 @@ let StyledAnnouncement$1 = class StyledAnnouncement extends React__default.Compo
|
|
|
477
479
|
} = this.props;
|
|
478
480
|
const isPromo = variant === "promo";
|
|
479
481
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
480
|
-
className: classnames(styles$
|
|
482
|
+
className: classnames(styles$t["announcement"], styles$t[`announcement--${variant !== null && variant !== void 0 ? variant : "platform"}`]),
|
|
481
483
|
"data-announcement-variant": variant !== null && variant !== void 0 ? variant : "platform",
|
|
482
484
|
style: isPromo ? {
|
|
483
485
|
backgroundImage: promoBackgroundUrl,
|
|
@@ -486,7 +488,7 @@ let StyledAnnouncement$1 = class StyledAnnouncement extends React__default.Compo
|
|
|
486
488
|
backgroundSize: "cover"
|
|
487
489
|
} : undefined
|
|
488
490
|
}, !isPromo && /*#__PURE__*/React__default.createElement(AnnouncementIcon, null), /*#__PURE__*/React__default.createElement("div", {
|
|
489
|
-
className: styles$
|
|
491
|
+
className: styles$t["announcement-content"],
|
|
490
492
|
style: style,
|
|
491
493
|
...platformProps
|
|
492
494
|
}));
|
|
@@ -535,7 +537,7 @@ function StyledDismissButton$1({
|
|
|
535
537
|
const isPromo = variant === "promo";
|
|
536
538
|
return /*#__PURE__*/React__default.createElement("button", {
|
|
537
539
|
type: "button",
|
|
538
|
-
className: classnames(styles$
|
|
540
|
+
className: classnames(styles$t.dismiss, isPromo && styles$t["dismiss--promo"]),
|
|
539
541
|
...props
|
|
540
542
|
}, /*#__PURE__*/React__default.createElement(X, {
|
|
541
543
|
fill: isPromo ? "currentColor" : "white",
|
|
@@ -615,9 +617,9 @@ class StyledAnnouncement extends React__default.Component {
|
|
|
615
617
|
...platformProps
|
|
616
618
|
} = this.props;
|
|
617
619
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
618
|
-
className: styles$
|
|
620
|
+
className: styles$t["announcement"]
|
|
619
621
|
}, /*#__PURE__*/React__default.createElement(AnnouncementIcon, null), /*#__PURE__*/React__default.createElement("div", {
|
|
620
|
-
className: styles$
|
|
622
|
+
className: styles$t["announcement-content"],
|
|
621
623
|
style: style,
|
|
622
624
|
...platformProps
|
|
623
625
|
}));
|
|
@@ -628,7 +630,7 @@ function StyledDismissButton({
|
|
|
628
630
|
}) {
|
|
629
631
|
return /*#__PURE__*/React__default.createElement("button", {
|
|
630
632
|
type: "button",
|
|
631
|
-
className: styles$
|
|
633
|
+
className: styles$t.dismiss,
|
|
632
634
|
...props
|
|
633
635
|
}, /*#__PURE__*/React__default.createElement(X, {
|
|
634
636
|
fill: "white",
|
|
@@ -1750,7 +1752,7 @@ function MonoAppIcon({
|
|
|
1750
1752
|
})) : (/*#__PURE__*/React__default.createElement("div", null, "appName not supported")));
|
|
1751
1753
|
}
|
|
1752
1754
|
|
|
1753
|
-
var styles$
|
|
1755
|
+
var styles$s = {"name":"name-UNqbW"};
|
|
1754
1756
|
|
|
1755
1757
|
const AppRow = ({
|
|
1756
1758
|
appName,
|
|
@@ -1758,25 +1760,23 @@ const AppRow = ({
|
|
|
1758
1760
|
iconSize = 24
|
|
1759
1761
|
}) => {
|
|
1760
1762
|
if (appName === "Accounts") {
|
|
1761
|
-
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(
|
|
1762
|
-
className: styles$k["icon-slot"]
|
|
1763
|
-
}, /*#__PURE__*/React__default.createElement(MonoAppIcon, {
|
|
1763
|
+
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(MonoAppIcon, {
|
|
1764
1764
|
appName: "Accounts",
|
|
1765
1765
|
colors: colors,
|
|
1766
1766
|
size: iconSize
|
|
1767
|
-
})
|
|
1768
|
-
className: styles$
|
|
1767
|
+
}), /*#__PURE__*/React__default.createElement("span", {
|
|
1768
|
+
className: styles$s.name
|
|
1769
1769
|
}, "Account settings"));
|
|
1770
1770
|
}
|
|
1771
1771
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(ColorAppIcon, {
|
|
1772
1772
|
appName: appName.replace(/[\s-]/, ""),
|
|
1773
1773
|
size: iconSize
|
|
1774
1774
|
}), /*#__PURE__*/React__default.createElement("span", {
|
|
1775
|
-
className: styles$
|
|
1775
|
+
className: styles$s.name
|
|
1776
1776
|
}, appName));
|
|
1777
1777
|
};
|
|
1778
1778
|
|
|
1779
|
-
var styles$
|
|
1779
|
+
var styles$r = {"button":"button-XMbeQ","label":"label-884of","chevron":"chevron-RRg9k"};
|
|
1780
1780
|
|
|
1781
1781
|
const AppsButton = /*#__PURE__*/React__default.forwardRef(({
|
|
1782
1782
|
appName,
|
|
@@ -1788,27 +1788,27 @@ const AppsButton = /*#__PURE__*/React__default.forwardRef(({
|
|
|
1788
1788
|
...restProps,
|
|
1789
1789
|
ref: ref,
|
|
1790
1790
|
"aria-label": `App switcher: ${appName}`,
|
|
1791
|
-
className: styles$
|
|
1791
|
+
className: styles$r.button,
|
|
1792
1792
|
kind: "neutral-inline",
|
|
1793
1793
|
label: /*#__PURE__*/React__default.createElement("span", {
|
|
1794
|
-
className: styles$
|
|
1794
|
+
className: styles$r.label
|
|
1795
1795
|
}, isAccounts ? "Account settings" : appName),
|
|
1796
1796
|
prefix: isAccounts ? (/*#__PURE__*/React__default.createElement(MonoAppIcon, {
|
|
1797
1797
|
appName: "Accounts",
|
|
1798
1798
|
colors: colors,
|
|
1799
|
-
size:
|
|
1799
|
+
size: 24
|
|
1800
1800
|
})) : (/*#__PURE__*/React__default.createElement(ColorAppIcon, {
|
|
1801
1801
|
appName: appName.replace(/[\s-]/, ""),
|
|
1802
|
-
size:
|
|
1802
|
+
size: 24
|
|
1803
1803
|
})),
|
|
1804
1804
|
suffix: /*#__PURE__*/React__default.createElement(DisclosureChevronIcon, {
|
|
1805
|
-
className: `${styles$
|
|
1805
|
+
className: `${styles$r.chevron} symbol`
|
|
1806
1806
|
})
|
|
1807
1807
|
});
|
|
1808
1808
|
});
|
|
1809
1809
|
AppsButton.displayName = "AppsButton";
|
|
1810
1810
|
|
|
1811
|
-
var styles$
|
|
1811
|
+
var styles$q = {"nav":"nav-y-6ML","popover-content":"popover-content-jOAAY","list":"list-jUxvp","link":"link-LMp2h","current":"current-4U4VL","accounts-item":"accounts-item-erJW0","accounts-link":"accounts-link-4jwPW"};
|
|
1812
1812
|
|
|
1813
1813
|
const AppsMenu = ({
|
|
1814
1814
|
appName,
|
|
@@ -1829,8 +1829,8 @@ const AppsMenu = ({
|
|
|
1829
1829
|
}, /*#__PURE__*/React__default.createElement("a", {
|
|
1830
1830
|
"aria-current": isCurrent ? "page" : undefined,
|
|
1831
1831
|
"aria-label": name,
|
|
1832
|
-
className: classnames(styles$
|
|
1833
|
-
[styles$
|
|
1832
|
+
className: classnames(styles$q.link, {
|
|
1833
|
+
[styles$q.current]: isCurrent
|
|
1834
1834
|
}),
|
|
1835
1835
|
"data-pendo": `app-switcher--change-app--${name}`,
|
|
1836
1836
|
"data-turbolinks": false,
|
|
@@ -1846,22 +1846,22 @@ const AppsMenu = ({
|
|
|
1846
1846
|
colors: colors
|
|
1847
1847
|
})), /*#__PURE__*/React__default.createElement(PopoverContent, {
|
|
1848
1848
|
"aria-label": "Switch app",
|
|
1849
|
-
className: styles$
|
|
1849
|
+
className: styles$q["popover-content"],
|
|
1850
1850
|
placement: "bottom start"
|
|
1851
1851
|
}, /*#__PURE__*/React__default.createElement("nav", {
|
|
1852
|
-
className: styles$
|
|
1852
|
+
className: styles$q.nav,
|
|
1853
1853
|
"data-pendo": "app-switcher"
|
|
1854
1854
|
}, /*#__PURE__*/React__default.createElement("ul", {
|
|
1855
|
-
className: styles$
|
|
1855
|
+
className: styles$q.list,
|
|
1856
1856
|
role: "list"
|
|
1857
1857
|
}, homeProduct && renderProductLink(homeProduct.name), restProducts.map(({
|
|
1858
1858
|
name
|
|
1859
1859
|
}) => renderProductLink(name)), accountsProduct && (/*#__PURE__*/React__default.createElement("li", {
|
|
1860
|
-
className: styles$
|
|
1860
|
+
className: styles$q["accounts-item"]
|
|
1861
1861
|
}, /*#__PURE__*/React__default.createElement("a", {
|
|
1862
1862
|
"aria-current": appName === accountsProduct.name ? "page" : undefined,
|
|
1863
1863
|
"aria-label": "Account settings",
|
|
1864
|
-
className: classnames(styles$
|
|
1864
|
+
className: classnames(styles$q.link, styles$q["accounts-link"]),
|
|
1865
1865
|
"data-pendo": "app-switcher--change-app--Accounts",
|
|
1866
1866
|
"data-turbolinks": false,
|
|
1867
1867
|
href: pcoUrl$1(env)("accounts") + getAppsSwitchProductPath(accountsProduct.name)
|
|
@@ -2069,7 +2069,7 @@ function MonoAppName({
|
|
|
2069
2069
|
})) : (/*#__PURE__*/React__default.createElement("div", null, "appName not supported"));
|
|
2070
2070
|
}
|
|
2071
2071
|
|
|
2072
|
-
var styles$
|
|
2072
|
+
var styles$p = {"unbutton":"unbutton-lEbTR"};
|
|
2073
2073
|
|
|
2074
2074
|
function Unbutton({
|
|
2075
2075
|
className,
|
|
@@ -2078,7 +2078,7 @@ function Unbutton({
|
|
|
2078
2078
|
...nativeProps
|
|
2079
2079
|
}) {
|
|
2080
2080
|
return /*#__PURE__*/React__default.createElement("button", {
|
|
2081
|
-
className: classnames(styles$
|
|
2081
|
+
className: classnames(styles$p.unbutton, className),
|
|
2082
2082
|
style: {
|
|
2083
2083
|
...style
|
|
2084
2084
|
},
|
|
@@ -2087,7 +2087,7 @@ function Unbutton({
|
|
|
2087
2087
|
});
|
|
2088
2088
|
}
|
|
2089
2089
|
|
|
2090
|
-
var styles$
|
|
2090
|
+
var styles$o = {"button":"button-wsipc","button-accounts":"button-accounts-zQmBM","chevron":"chevron-obyBF","is-expanded":"is-expanded-PoCQ9"};
|
|
2091
2091
|
|
|
2092
2092
|
const LegacyAppsButton = ({
|
|
2093
2093
|
appName,
|
|
@@ -2102,8 +2102,8 @@ const LegacyAppsButton = ({
|
|
|
2102
2102
|
"aria-haspopup": "true",
|
|
2103
2103
|
"aria-label": `App switcher: ${appName}`,
|
|
2104
2104
|
onClick: onClick,
|
|
2105
|
-
className: classnames(styles$
|
|
2106
|
-
[styles$
|
|
2105
|
+
className: classnames(styles$o.button, {
|
|
2106
|
+
[styles$o["is-expanded"]]: expanded
|
|
2107
2107
|
}),
|
|
2108
2108
|
type: "button",
|
|
2109
2109
|
style: style,
|
|
@@ -2112,7 +2112,7 @@ const LegacyAppsButton = ({
|
|
|
2112
2112
|
appName: "Accounts",
|
|
2113
2113
|
colors: colors
|
|
2114
2114
|
}), /*#__PURE__*/React__default.createElement("div", {
|
|
2115
|
-
className: styles$
|
|
2115
|
+
className: styles$o["button-accounts"]
|
|
2116
2116
|
}, "Account settings"))) : (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(ColorAppIcon, {
|
|
2117
2117
|
appName: appName.replace(/[\s-]/, "")
|
|
2118
2118
|
}), /*#__PURE__*/React__default.createElement(MonoAppName, {
|
|
@@ -2120,7 +2120,7 @@ const LegacyAppsButton = ({
|
|
|
2120
2120
|
key: "mono-app-name",
|
|
2121
2121
|
size: 24
|
|
2122
2122
|
}))), /*#__PURE__*/React__default.createElement(DisclosureChevronIcon, {
|
|
2123
|
-
className: styles$
|
|
2123
|
+
className: styles$o.chevron,
|
|
2124
2124
|
key: "disclosure-chevron-icon"
|
|
2125
2125
|
}));
|
|
2126
2126
|
};
|
|
@@ -2253,7 +2253,7 @@ class Outsider extends React__default.Component {
|
|
|
2253
2253
|
}
|
|
2254
2254
|
}
|
|
2255
2255
|
|
|
2256
|
-
var styles$
|
|
2256
|
+
var styles$n = {"popup-root":"popup-root-SeL5u","popup":"popup-nQXYW","is-visible":"is-visible-3DAUP"};
|
|
2257
2257
|
|
|
2258
2258
|
const Popup = ({
|
|
2259
2259
|
className,
|
|
@@ -2261,8 +2261,8 @@ const Popup = ({
|
|
|
2261
2261
|
isVisible,
|
|
2262
2262
|
...nativeProps
|
|
2263
2263
|
}) => (/*#__PURE__*/React__default.createElement(C, {
|
|
2264
|
-
className: classnames(styles$
|
|
2265
|
-
[styles$
|
|
2264
|
+
className: classnames(styles$n.popup, {
|
|
2265
|
+
[styles$n["is-visible"]]: isVisible
|
|
2266
2266
|
}, className),
|
|
2267
2267
|
...nativeProps
|
|
2268
2268
|
}));
|
|
@@ -2270,11 +2270,11 @@ const Popup = ({
|
|
|
2270
2270
|
const PopupRoot = ({
|
|
2271
2271
|
...nativeProps
|
|
2272
2272
|
}) => (/*#__PURE__*/React__default.createElement("div", {
|
|
2273
|
-
className: styles$
|
|
2273
|
+
className: styles$n["popup-root"],
|
|
2274
2274
|
...nativeProps
|
|
2275
2275
|
}));
|
|
2276
2276
|
|
|
2277
|
-
var styles$
|
|
2277
|
+
var styles$m = {"popup":"popup-bVhSa"};
|
|
2278
2278
|
|
|
2279
2279
|
const LegacyAppsMenu = ({
|
|
2280
2280
|
appName,
|
|
@@ -2312,7 +2312,7 @@ const LegacyAppsMenu = ({
|
|
|
2312
2312
|
cleanup: !visible,
|
|
2313
2313
|
component: Outsider,
|
|
2314
2314
|
onOutsideClick: toggle,
|
|
2315
|
-
className: styles$
|
|
2315
|
+
className: styles$m.popup,
|
|
2316
2316
|
isVisible: visible
|
|
2317
2317
|
}, /*#__PURE__*/React__default.createElement("menu", {
|
|
2318
2318
|
ref: menuRef,
|
|
@@ -3222,34 +3222,117 @@ const useUpdateStore = () => useCallback(updates => {
|
|
|
3222
3222
|
});
|
|
3223
3223
|
}, []);
|
|
3224
3224
|
|
|
3225
|
+
const collections = {
|
|
3226
|
+
general,
|
|
3227
|
+
toolbar
|
|
3228
|
+
};
|
|
3229
|
+
const paths = collections;
|
|
3230
|
+
function Icon({
|
|
3231
|
+
name,
|
|
3232
|
+
size = 16,
|
|
3233
|
+
style,
|
|
3234
|
+
theme,
|
|
3235
|
+
title,
|
|
3236
|
+
...props
|
|
3237
|
+
}) {
|
|
3238
|
+
const [collection, symbol] = name.split(".");
|
|
3239
|
+
return /*#__PURE__*/React__default.createElement("svg", {
|
|
3240
|
+
"aria-hidden": title ? undefined : true,
|
|
3241
|
+
fill: "currentColor",
|
|
3242
|
+
height: size,
|
|
3243
|
+
role: title ? "img" : undefined,
|
|
3244
|
+
style: {
|
|
3245
|
+
color: theme && `var(${theme})`,
|
|
3246
|
+
flexShrink: 0,
|
|
3247
|
+
...style
|
|
3248
|
+
},
|
|
3249
|
+
viewBox: "0 0 16 16",
|
|
3250
|
+
width: size,
|
|
3251
|
+
...props
|
|
3252
|
+
}, title && /*#__PURE__*/React__default.createElement("title", null, title), /*#__PURE__*/React__default.createElement("path", {
|
|
3253
|
+
d: paths[collection][symbol]
|
|
3254
|
+
}));
|
|
3255
|
+
}
|
|
3256
|
+
|
|
3257
|
+
const SEARCHABLE_PRODUCTS = [{
|
|
3258
|
+
appName: "Calendar",
|
|
3259
|
+
slug: "calendar"
|
|
3260
|
+
}, {
|
|
3261
|
+
appName: "Check-Ins",
|
|
3262
|
+
slug: "check-ins"
|
|
3263
|
+
}, {
|
|
3264
|
+
appName: "Giving",
|
|
3265
|
+
slug: "giving"
|
|
3266
|
+
}, {
|
|
3267
|
+
appName: "Groups",
|
|
3268
|
+
slug: "groups"
|
|
3269
|
+
}, {
|
|
3270
|
+
appName: "People",
|
|
3271
|
+
slug: "people"
|
|
3272
|
+
}, {
|
|
3273
|
+
appName: "Publishing",
|
|
3274
|
+
slug: "publishing"
|
|
3275
|
+
}, {
|
|
3276
|
+
appName: "Registrations",
|
|
3277
|
+
slug: "registrations"
|
|
3278
|
+
}, {
|
|
3279
|
+
appName: "Services",
|
|
3280
|
+
slug: "services"
|
|
3281
|
+
}];
|
|
3282
|
+
const KEYBOARD_SHORTCUTS = {
|
|
3283
|
+
copyLink: {
|
|
3284
|
+
key: "c",
|
|
3285
|
+
label: "Copy link",
|
|
3286
|
+
modifierKey: true
|
|
3287
|
+
},
|
|
3288
|
+
openInNewTab: {
|
|
3289
|
+
label: "Open in new tab"},
|
|
3290
|
+
openSearch: {
|
|
3291
|
+
key: "k",
|
|
3292
|
+
label: "Open search",
|
|
3293
|
+
modifierKey: true
|
|
3294
|
+
},
|
|
3295
|
+
select: {
|
|
3296
|
+
label: "Select",
|
|
3297
|
+
modifierKey: false,
|
|
3298
|
+
next: "ArrowDown",
|
|
3299
|
+
previous: "ArrowUp"
|
|
3300
|
+
}
|
|
3301
|
+
};
|
|
3302
|
+
|
|
3225
3303
|
const isMac = () => /Mac|iPhone|iPad|iPod/.test(navigator.platform);
|
|
3226
3304
|
const hasCommandKey = event => isMac() ? event.metaKey : event.ctrlKey;
|
|
3227
|
-
const
|
|
3228
|
-
const isSearchShortcut = event =>
|
|
3305
|
+
const matchesShortcut = (shortcut, event) => event.key.toLowerCase() === shortcut.key && !event.altKey && !event.shiftKey && hasCommandKey(event) === shortcut.modifierKey;
|
|
3306
|
+
const isSearchShortcut = event => matchesShortcut(KEYBOARD_SHORTCUTS.openSearch, event);
|
|
3229
3307
|
// Products opened their own search with `/` before this one replaced it.
|
|
3230
3308
|
const isLegacySearchShortcut = event => event.key === "/" && !event.altKey && !event.ctrlKey && !event.metaKey && !isTypingIn(event.target);
|
|
3231
|
-
const isCopyShortcut = event =>
|
|
3309
|
+
const isCopyShortcut = event => matchesShortcut(KEYBOARD_SHORTCUTS.copyLink, event);
|
|
3232
3310
|
const isTypingIn = target => target instanceof Element && target.closest('input, select, textarea, [contenteditable]:not([contenteditable="false"])') !== null;
|
|
3233
3311
|
const isTypingKey = event => event.key.length === 1 && event.key !== " " && !event.altKey && !event.ctrlKey && !event.metaKey;
|
|
3234
3312
|
const verticalStep = key => ({
|
|
3235
|
-
|
|
3236
|
-
|
|
3313
|
+
[KEYBOARD_SHORTCUTS.select.next]: 1,
|
|
3314
|
+
[KEYBOARD_SHORTCUTS.select.previous]: -1
|
|
3237
3315
|
})[key];
|
|
3238
3316
|
const horizontalStep = key => ({
|
|
3239
3317
|
ArrowLeft: -1,
|
|
3240
3318
|
ArrowRight: 1
|
|
3241
3319
|
})[key];
|
|
3242
3320
|
|
|
3321
|
+
var styles$l = {"searchButton":"searchButton-fYa5-"};
|
|
3322
|
+
|
|
3243
3323
|
function SearchButton({
|
|
3324
|
+
mobile = false,
|
|
3244
3325
|
onClick
|
|
3245
3326
|
}) {
|
|
3246
3327
|
return /*#__PURE__*/React__default.createElement("button", {
|
|
3247
|
-
"aria-keyshortcuts": `${isMac() ? "Meta
|
|
3328
|
+
"aria-keyshortcuts": mobile ? undefined : `${isMac() ? "Meta" : "Control"}+${KEYBOARD_SHORTCUTS.openSearch.key.toUpperCase()} /`,
|
|
3248
3329
|
"aria-label": "Search",
|
|
3330
|
+
className: styles$l.searchButton,
|
|
3249
3331
|
onClick: onClick,
|
|
3250
3332
|
type: "button"
|
|
3251
|
-
}, /*#__PURE__*/React__default.createElement(
|
|
3252
|
-
|
|
3333
|
+
}, /*#__PURE__*/React__default.createElement(Icon, {
|
|
3334
|
+
name: "general.search",
|
|
3335
|
+
size: mobile ? 18 : 14
|
|
3253
3336
|
}));
|
|
3254
3337
|
}
|
|
3255
3338
|
|
|
@@ -3564,16 +3647,16 @@ function useRecentlyVisitableMetadata() {
|
|
|
3564
3647
|
const ENTRY_VERSION = 3;
|
|
3565
3648
|
const MAX_ENTRIES = 50;
|
|
3566
3649
|
const MAX_TEXT_LENGTH = 200;
|
|
3567
|
-
const PRODUCTS = ["accounts", "calendar", "check-ins", "giving", "groups", "home", "login", "people", "publishing", "registrations", "services"];
|
|
3650
|
+
const PRODUCTS$1 = ["accounts", "calendar", "check-ins", "giving", "groups", "home", "login", "people", "publishing", "registrations", "services"];
|
|
3568
3651
|
// Login has no pages worth returning to.
|
|
3569
|
-
const APPS = PRODUCTS.filter(product => product !== "login");
|
|
3652
|
+
const APPS = PRODUCTS$1.filter(product => product !== "login");
|
|
3570
3653
|
function isId(value) {
|
|
3571
3654
|
return value !== "" && Array.from(value).every(character => character >= "0" && character <= "9");
|
|
3572
3655
|
}
|
|
3573
3656
|
// A PCRL looks like `<product>/v2/<resource_type>/<id>`.
|
|
3574
3657
|
function isPcrl(value) {
|
|
3575
3658
|
const segments = value.split("/");
|
|
3576
|
-
return segments.length === 4 && PRODUCTS.some(product => product === segments[0]) && isId(segments[3]);
|
|
3659
|
+
return segments.length === 4 && PRODUCTS$1.some(product => product === segments[0]) && isId(segments[3]);
|
|
3577
3660
|
}
|
|
3578
3661
|
function isApp(value) {
|
|
3579
3662
|
return APPS.some(app => app === value);
|
|
@@ -3972,7 +4055,13 @@ function hasSelectedText(element) {
|
|
|
3972
4055
|
return selectedInField || ((_b = (_a = window.getSelection()) === null || _a === void 0 ? void 0 : _a.toString()) !== null && _b !== void 0 ? _b : "") !== "";
|
|
3973
4056
|
}
|
|
3974
4057
|
|
|
3975
|
-
|
|
4058
|
+
// eslint-disable-next-line sort-keys-fix/sort-keys-fix
|
|
4059
|
+
const COPIED_TIMING = {
|
|
4060
|
+
enter: 240,
|
|
4061
|
+
active: 1000,
|
|
4062
|
+
exit: 240
|
|
4063
|
+
};
|
|
4064
|
+
const COPIED_FEEDBACK_MS = COPIED_TIMING.enter + COPIED_TIMING.active + COPIED_TIMING.exit;
|
|
3976
4065
|
// `copiedUrl` stays set briefly after a copy so the UI can confirm it.
|
|
3977
4066
|
function useCopyLink() {
|
|
3978
4067
|
const [copiedUrl, setCopiedUrl] = React__default.useState(null);
|
|
@@ -3996,22 +4085,27 @@ function useCopyLink() {
|
|
|
3996
4085
|
// Remembering which list the index belongs to puts the highlight back on the
|
|
3997
4086
|
// first item whenever a new list replaces it, without an effect to reset it.
|
|
3998
4087
|
// A list that grows or fills in under the same `list` keeps its highlight.
|
|
3999
|
-
|
|
4088
|
+
// Disabled, nothing is highlighted and the keys and pointer leave it alone.
|
|
4089
|
+
function useResultNavigation(items, list, enabled = true) {
|
|
4000
4090
|
const [highlight, setHighlight] = React__default.useState({
|
|
4001
4091
|
index: 0,
|
|
4002
4092
|
list
|
|
4003
4093
|
});
|
|
4004
4094
|
const highlightedIndex = highlight.list === list ? highlight.index : 0;
|
|
4005
|
-
const highlighted = items[highlightedIndex];
|
|
4095
|
+
const highlighted = enabled ? items[highlightedIndex] : undefined;
|
|
4006
4096
|
const {
|
|
4007
4097
|
copiedUrl,
|
|
4008
4098
|
copy
|
|
4009
4099
|
} = useCopyLink();
|
|
4010
|
-
const highlightIndex = React__default.useCallback(index =>
|
|
4011
|
-
|
|
4012
|
-
list
|
|
4013
|
-
|
|
4100
|
+
const highlightIndex = React__default.useCallback(index => {
|
|
4101
|
+
if (!enabled) return;
|
|
4102
|
+
setHighlight(current => current.list === list && current.index === index ? current : {
|
|
4103
|
+
index,
|
|
4104
|
+
list
|
|
4105
|
+
});
|
|
4106
|
+
}, [enabled, list]);
|
|
4014
4107
|
const handleKeyDown = event => {
|
|
4108
|
+
if (!enabled) return;
|
|
4015
4109
|
const step = verticalStep(event.key);
|
|
4016
4110
|
if (step && items.length > 0) {
|
|
4017
4111
|
event.preventDefault();
|
|
@@ -4035,41 +4129,89 @@ function useResultNavigation(items, list) {
|
|
|
4035
4129
|
};
|
|
4036
4130
|
}
|
|
4037
4131
|
|
|
4038
|
-
|
|
4132
|
+
var styles$k = {"modal":"modal-NR3TO","visuallyHidden":"visuallyHidden-C28ju","panel":"panel-HlF7S"};
|
|
4133
|
+
|
|
4134
|
+
const FALLBACK_SLUGS = ["people", "services"];
|
|
4135
|
+
function defaultProduct(products, appName) {
|
|
4136
|
+
var _a;
|
|
4137
|
+
const current = products.find(product => product.appName === appName);
|
|
4138
|
+
const fallback = FALLBACK_SLUGS.map(slug => products.find(product => product.slug === slug)).find(Boolean);
|
|
4139
|
+
return (_a = current !== null && current !== void 0 ? current : fallback) !== null && _a !== void 0 ? _a : products[0];
|
|
4140
|
+
}
|
|
4141
|
+
|
|
4142
|
+
function groupSections(groups = [], timeZone) {
|
|
4039
4143
|
return groups.map(({
|
|
4040
4144
|
results,
|
|
4041
4145
|
type
|
|
4042
4146
|
}) => ({
|
|
4043
4147
|
heading: type,
|
|
4044
|
-
items: results.map(resultItem),
|
|
4148
|
+
items: results.map(result => resultItem(result, timeZone)),
|
|
4045
4149
|
key: type
|
|
4046
4150
|
}));
|
|
4047
4151
|
}
|
|
4048
4152
|
function resultItem({
|
|
4049
4153
|
attributes,
|
|
4050
4154
|
id
|
|
4051
|
-
}) {
|
|
4155
|
+
}, timeZone) {
|
|
4052
4156
|
return {
|
|
4157
|
+
category: attributes.category,
|
|
4158
|
+
imageUrl: attributes.image_url,
|
|
4053
4159
|
key: id,
|
|
4054
|
-
|
|
4160
|
+
product: attributes.product,
|
|
4161
|
+
subtitle: summarize(attributes, timeZone),
|
|
4055
4162
|
title: attributes.title,
|
|
4056
4163
|
url: attributes.url
|
|
4057
4164
|
};
|
|
4058
4165
|
}
|
|
4059
|
-
function visitItem(visit) {
|
|
4166
|
+
function visitItem(visit, timeZone) {
|
|
4060
4167
|
return {
|
|
4061
4168
|
key: entryKey(visit.entry),
|
|
4062
|
-
...describeVisit(visit)
|
|
4169
|
+
...describeVisit(visit, timeZone)
|
|
4063
4170
|
};
|
|
4064
4171
|
}
|
|
4065
|
-
|
|
4066
|
-
|
|
4172
|
+
const joinParts = (...parts) => parts.filter(Boolean).join(" · ");
|
|
4173
|
+
// Matches home-mobile's search subtitles, so a result reads the same in both.
|
|
4174
|
+
function summarize({
|
|
4175
|
+
category,
|
|
4176
|
+
metadata
|
|
4177
|
+
}, timeZone) {
|
|
4178
|
+
const text = key => {
|
|
4179
|
+
const value = metadata === null || metadata === void 0 ? void 0 : metadata[key];
|
|
4180
|
+
return typeof value === "string" ? value : "";
|
|
4181
|
+
};
|
|
4182
|
+
if (category === "profile") {
|
|
4183
|
+
return joinParts(text("phone"), text("email"));
|
|
4184
|
+
} else if (category === "event") {
|
|
4185
|
+
return eventTime(text("starts_at"), text("ends_at"), {
|
|
4186
|
+
recurring: (metadata === null || metadata === void 0 ? void 0 : metadata.recurring) === true,
|
|
4187
|
+
timeZone
|
|
4188
|
+
});
|
|
4189
|
+
} else {
|
|
4190
|
+
return text("details");
|
|
4191
|
+
}
|
|
4192
|
+
}
|
|
4193
|
+
// "Oct 25, 9–10:30am", in the organization's time zone like the rest
|
|
4194
|
+
// of Planning Center.
|
|
4195
|
+
function eventTime(startsAt, endsAt, {
|
|
4196
|
+
recurring,
|
|
4197
|
+
timeZone
|
|
4198
|
+
}) {
|
|
4199
|
+
if (startsAt === "") {
|
|
4200
|
+
return "";
|
|
4201
|
+
} else {
|
|
4202
|
+
const time = datetimeFmt.datetime(startsAt, endsAt || null, {
|
|
4203
|
+
style: "abbreviated",
|
|
4204
|
+
...(timeZone && {
|
|
4205
|
+
timeZone
|
|
4206
|
+
})
|
|
4207
|
+
});
|
|
4208
|
+
return recurring ? joinParts(time, "Repeating") : time;
|
|
4209
|
+
}
|
|
4067
4210
|
}
|
|
4068
4211
|
// Unlike search results, recents come from every product, so each one names
|
|
4069
|
-
// its product
|
|
4070
|
-
function describeVisit(visit) {
|
|
4212
|
+
// its type. The row's product icon says which product it came from.
|
|
4213
|
+
function describeVisit(visit, timeZone) {
|
|
4071
4214
|
var _a, _b;
|
|
4072
|
-
const subtitle = (...parts) => parts.filter(Boolean).join(" · ");
|
|
4073
4215
|
if (visit.status === "page") {
|
|
4074
4216
|
const {
|
|
4075
4217
|
app,
|
|
@@ -4077,65 +4219,312 @@ function describeVisit(visit) {
|
|
|
4077
4219
|
title
|
|
4078
4220
|
} = visit.entry;
|
|
4079
4221
|
return {
|
|
4080
|
-
|
|
4222
|
+
category: "generic",
|
|
4223
|
+
imageUrl: null,
|
|
4224
|
+
product: app,
|
|
4225
|
+
subtitle: joinParts(capitalize((_a = metadata === null || metadata === void 0 ? void 0 : metadata.type) !== null && _a !== void 0 ? _a : ""), (_b = metadata === null || metadata === void 0 ? void 0 : metadata.details) !== null && _b !== void 0 ? _b : ""),
|
|
4081
4226
|
title,
|
|
4082
4227
|
url: visit.url
|
|
4083
4228
|
};
|
|
4084
4229
|
} else {
|
|
4085
4230
|
const {
|
|
4086
|
-
|
|
4231
|
+
attributes
|
|
4232
|
+
} = visit.result;
|
|
4233
|
+
const {
|
|
4234
|
+
category,
|
|
4235
|
+
image_url,
|
|
4087
4236
|
product,
|
|
4088
4237
|
title,
|
|
4089
4238
|
type
|
|
4090
|
-
} =
|
|
4239
|
+
} = attributes;
|
|
4240
|
+
// Profiles and events say what they are with a phone number or a date.
|
|
4241
|
+
const kind = category === "generic" ? capitalize(pluralize.singular(type)) : "";
|
|
4091
4242
|
return {
|
|
4092
|
-
|
|
4243
|
+
category,
|
|
4244
|
+
imageUrl: image_url,
|
|
4245
|
+
product,
|
|
4246
|
+
subtitle: joinParts(kind, summarize(attributes, timeZone)),
|
|
4093
4247
|
title,
|
|
4094
4248
|
url: visit.url
|
|
4095
4249
|
};
|
|
4096
4250
|
}
|
|
4097
4251
|
}
|
|
4098
|
-
// check-ins → Check-Ins
|
|
4099
|
-
function productName(slug) {
|
|
4100
|
-
return slug.split("-").map(capitalize).join("-");
|
|
4101
|
-
}
|
|
4102
4252
|
function capitalize(word) {
|
|
4103
4253
|
return word.charAt(0).toUpperCase() + word.slice(1);
|
|
4104
4254
|
}
|
|
4105
4255
|
|
|
4106
|
-
|
|
4107
|
-
|
|
4108
|
-
|
|
4109
|
-
|
|
4110
|
-
|
|
4111
|
-
|
|
4112
|
-
}
|
|
4113
|
-
|
|
4114
|
-
|
|
4115
|
-
|
|
4116
|
-
|
|
4117
|
-
|
|
4118
|
-
|
|
4256
|
+
var styles$j = {"container":"container-YDdM1","hint":"hint-017Rd","keycap":"keycap-ENJM2","labels":"labels-GHPqL","copied":"copied-DUFa1"};
|
|
4257
|
+
|
|
4258
|
+
const SYMBOLS = {
|
|
4259
|
+
command: {
|
|
4260
|
+
label: "⌘",
|
|
4261
|
+
paths: ["M7 9a2 2 0 1 1 2 -2v10a2 2 0 1 1 -2 -2h10a2 2 0 1 1 -2 2v-10a2 2 0 1 1 2 2h-10"]
|
|
4262
|
+
},
|
|
4263
|
+
down: {
|
|
4264
|
+
label: "↓",
|
|
4265
|
+
paths: ["M12 6l0 12", "M16 14l-4 4", "M8 14l4 4"]
|
|
4266
|
+
},
|
|
4267
|
+
return: {
|
|
4268
|
+
label: "↵",
|
|
4269
|
+
paths: ["M18 6v6a3 3 0 0 1 -3 3h-10l4 -4m0 8l-4 -4"]
|
|
4270
|
+
},
|
|
4271
|
+
up: {
|
|
4272
|
+
label: "↑",
|
|
4273
|
+
paths: ["M12 6l0 12", "M16 10l-4 -4", "M8 10l4 -4"]
|
|
4119
4274
|
}
|
|
4275
|
+
};
|
|
4276
|
+
function Keycap(props) {
|
|
4277
|
+
return /*#__PURE__*/React__default.createElement("kbd", {
|
|
4278
|
+
className: styles$j.keycap
|
|
4279
|
+
}, "symbol" in props ? (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("svg", {
|
|
4280
|
+
"aria-hidden": true,
|
|
4281
|
+
fill: "none",
|
|
4282
|
+
stroke: "currentColor",
|
|
4283
|
+
strokeLinecap: "round",
|
|
4284
|
+
strokeLinejoin: "round",
|
|
4285
|
+
viewBox: "0 0 24 24"
|
|
4286
|
+
}, SYMBOLS[props.symbol].paths.map(d => (/*#__PURE__*/React__default.createElement("path", {
|
|
4287
|
+
d: d,
|
|
4288
|
+
key: d
|
|
4289
|
+
})))), /*#__PURE__*/React__default.createElement("span", {
|
|
4290
|
+
className: styles$k.visuallyHidden
|
|
4291
|
+
}, SYMBOLS[props.symbol].label))) : props.label);
|
|
4292
|
+
}
|
|
4293
|
+
function CommandKey() {
|
|
4294
|
+
return isMac() ? /*#__PURE__*/React__default.createElement(Keycap, {
|
|
4295
|
+
symbol: "command"
|
|
4296
|
+
}) : /*#__PURE__*/React__default.createElement(Keycap, {
|
|
4297
|
+
label: "Ctrl"
|
|
4298
|
+
});
|
|
4120
4299
|
}
|
|
4121
|
-
function
|
|
4122
|
-
|
|
4123
|
-
|
|
4124
|
-
|
|
4125
|
-
|
|
4300
|
+
function EnterKey() {
|
|
4301
|
+
return isMac() ? /*#__PURE__*/React__default.createElement(Keycap, {
|
|
4302
|
+
symbol: "return"
|
|
4303
|
+
}) : /*#__PURE__*/React__default.createElement(Keycap, {
|
|
4304
|
+
label: "Enter"
|
|
4305
|
+
});
|
|
4126
4306
|
}
|
|
4127
|
-
|
|
4307
|
+
const {
|
|
4308
|
+
copyLink,
|
|
4309
|
+
openInNewTab,
|
|
4310
|
+
openSearch,
|
|
4311
|
+
select
|
|
4312
|
+
} = KEYBOARD_SHORTCUTS;
|
|
4128
4313
|
function KeyboardHints({
|
|
4129
4314
|
copied
|
|
4130
4315
|
}) {
|
|
4131
|
-
|
|
4132
|
-
|
|
4316
|
+
return /*#__PURE__*/React__default.createElement("ul", {
|
|
4317
|
+
"aria-label": "Keyboard shortcuts",
|
|
4318
|
+
className: styles$j.container
|
|
4319
|
+
}, /*#__PURE__*/React__default.createElement("li", {
|
|
4320
|
+
className: styles$j.hint
|
|
4321
|
+
}, /*#__PURE__*/React__default.createElement(Flex, {
|
|
4322
|
+
gap: 0.5
|
|
4323
|
+
}, select.modifierKey, /*#__PURE__*/React__default.createElement(Keycap, {
|
|
4324
|
+
symbol: "up"
|
|
4325
|
+
}), /*#__PURE__*/React__default.createElement(Keycap, {
|
|
4326
|
+
symbol: "down"
|
|
4327
|
+
})), select.label), /*#__PURE__*/React__default.createElement("li", {
|
|
4328
|
+
className: styles$j.hint
|
|
4329
|
+
}, /*#__PURE__*/React__default.createElement(Flex, {
|
|
4330
|
+
gap: 0.5
|
|
4331
|
+
}, /*#__PURE__*/React__default.createElement(CommandKey, null), /*#__PURE__*/React__default.createElement(EnterKey, null)), openInNewTab.label), /*#__PURE__*/React__default.createElement("li", {
|
|
4332
|
+
className: classnames(styles$j.hint, copied && styles$j.copied),
|
|
4333
|
+
style: {
|
|
4334
|
+
"--copied-active": `${COPIED_TIMING.active}ms`,
|
|
4335
|
+
"--copied-enter": `${COPIED_TIMING.enter}ms`,
|
|
4336
|
+
"--copied-exit": `${COPIED_TIMING.exit}ms`
|
|
4337
|
+
}
|
|
4338
|
+
}, /*#__PURE__*/React__default.createElement(Flex, {
|
|
4339
|
+
gap: 0.5
|
|
4340
|
+
}, /*#__PURE__*/React__default.createElement(CommandKey, null), /*#__PURE__*/React__default.createElement(Keycap, {
|
|
4341
|
+
label: copyLink.key.toUpperCase()
|
|
4342
|
+
})), /*#__PURE__*/React__default.createElement("span", {
|
|
4343
|
+
className: styles$j.labels
|
|
4344
|
+
}, /*#__PURE__*/React__default.createElement("span", {
|
|
4345
|
+
"aria-hidden": copied
|
|
4346
|
+
}, copyLink.label), /*#__PURE__*/React__default.createElement("span", {
|
|
4133
4347
|
role: "status"
|
|
4134
|
-
}, copied
|
|
4348
|
+
}, copied && "Copied!"))), /*#__PURE__*/React__default.createElement("li", {
|
|
4349
|
+
className: styles$j.hint
|
|
4350
|
+
}, /*#__PURE__*/React__default.createElement(Flex, {
|
|
4351
|
+
gap: 0.5
|
|
4352
|
+
}, /*#__PURE__*/React__default.createElement(CommandKey, null), /*#__PURE__*/React__default.createElement(Keycap, {
|
|
4353
|
+
label: openSearch.key.toUpperCase()
|
|
4354
|
+
})), openSearch.label));
|
|
4355
|
+
}
|
|
4356
|
+
|
|
4357
|
+
var styles$i = {"icon":"icon-XKLvN","squircle":"squircle-JCHr6"};
|
|
4358
|
+
|
|
4359
|
+
const PRODUCTS = {
|
|
4360
|
+
accounts: {
|
|
4361
|
+
gradient: "--t-fill-color-product-accounts-gradient-brand",
|
|
4362
|
+
path: logomarks.accounts
|
|
4363
|
+
},
|
|
4364
|
+
api: {
|
|
4365
|
+
gradient: "--t-fill-color-product-api-gradient-brand",
|
|
4366
|
+
path: logomarks.api
|
|
4367
|
+
},
|
|
4368
|
+
calendar: {
|
|
4369
|
+
gradient: "--t-fill-color-product-calendar-gradient-brand",
|
|
4370
|
+
path: logomarks.calendar
|
|
4371
|
+
},
|
|
4372
|
+
"check-ins": {
|
|
4373
|
+
gradient: "--t-fill-color-product-checkins-gradient-brand",
|
|
4374
|
+
path: logomarks.checkIns
|
|
4375
|
+
},
|
|
4376
|
+
"church-center": {
|
|
4377
|
+
gradient: "--t-fill-color-product-cc-gradient-brand",
|
|
4378
|
+
path: logomarks.churchCenter
|
|
4379
|
+
},
|
|
4380
|
+
giving: {
|
|
4381
|
+
gradient: "--t-fill-color-product-giving-gradient-brand",
|
|
4382
|
+
path: logomarks.giving
|
|
4383
|
+
},
|
|
4384
|
+
groups: {
|
|
4385
|
+
gradient: "--t-fill-color-product-groups-gradient-brand",
|
|
4386
|
+
path: logomarks.groups
|
|
4387
|
+
},
|
|
4388
|
+
home: {
|
|
4389
|
+
gradient: "--t-fill-color-product-home-gradient-brand",
|
|
4390
|
+
path: logomarks.home
|
|
4391
|
+
},
|
|
4392
|
+
"music-stand": {
|
|
4393
|
+
gradient: "--t-fill-color-product-musicstand-gradient-brand",
|
|
4394
|
+
path: logomarks.musicStand
|
|
4395
|
+
},
|
|
4396
|
+
people: {
|
|
4397
|
+
gradient: "--t-fill-color-product-people-gradient-brand",
|
|
4398
|
+
path: logomarks.people
|
|
4399
|
+
},
|
|
4400
|
+
publishing: {
|
|
4401
|
+
gradient: "--t-fill-color-product-publishing-gradient-brand",
|
|
4402
|
+
path: logomarks.publishing
|
|
4403
|
+
},
|
|
4404
|
+
registrations: {
|
|
4405
|
+
gradient: "--t-fill-color-product-registrations-gradient-brand",
|
|
4406
|
+
path: logomarks.registrations
|
|
4407
|
+
},
|
|
4408
|
+
services: {
|
|
4409
|
+
gradient: "--t-fill-color-product-services-gradient-brand",
|
|
4410
|
+
path: logomarks.services
|
|
4411
|
+
}
|
|
4412
|
+
};
|
|
4413
|
+
const isProductIconSlug = slug => Object.prototype.hasOwnProperty.call(PRODUCTS, slug);
|
|
4414
|
+
const maskFor = path => `url("data:image/svg+xml,${encodeURIComponent(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="${path}"/></svg>`)}")`;
|
|
4415
|
+
function ProductIcon({
|
|
4416
|
+
size = 16,
|
|
4417
|
+
slug
|
|
4418
|
+
}) {
|
|
4419
|
+
const {
|
|
4420
|
+
gradient,
|
|
4421
|
+
path
|
|
4422
|
+
} = PRODUCTS[slug];
|
|
4423
|
+
const mask = maskFor(path);
|
|
4424
|
+
return /*#__PURE__*/React__default.createElement("span", {
|
|
4425
|
+
"aria-hidden": true,
|
|
4426
|
+
className: styles$i.icon,
|
|
4427
|
+
style: {
|
|
4428
|
+
height: size,
|
|
4429
|
+
width: size
|
|
4430
|
+
}
|
|
4431
|
+
}, /*#__PURE__*/React__default.createElement("span", {
|
|
4432
|
+
className: styles$i.squircle,
|
|
4433
|
+
style: {
|
|
4434
|
+
WebkitMaskImage: mask,
|
|
4435
|
+
background: `var(${gradient})`,
|
|
4436
|
+
maskImage: mask
|
|
4437
|
+
}
|
|
4438
|
+
}));
|
|
4439
|
+
}
|
|
4440
|
+
|
|
4441
|
+
var styles$h = {"picker":"picker-iuzzj","option":"option--7LXg"};
|
|
4442
|
+
|
|
4443
|
+
// Phones have no room for a tab per product, so they pick from a dropdown.
|
|
4444
|
+
// Complex mode renders each option's logomark, in the list and the trigger.
|
|
4445
|
+
function ProductSelect({
|
|
4446
|
+
children,
|
|
4447
|
+
onSelect,
|
|
4448
|
+
products,
|
|
4449
|
+
selected
|
|
4450
|
+
}) {
|
|
4451
|
+
const options = products.map(({
|
|
4452
|
+
appName,
|
|
4453
|
+
slug
|
|
4454
|
+
}) => ({
|
|
4455
|
+
label: (/*#__PURE__*/React__default.createElement("span", {
|
|
4456
|
+
className: styles$h.option
|
|
4457
|
+
}, /*#__PURE__*/React__default.createElement(ProductIcon, {
|
|
4458
|
+
slug: slug
|
|
4459
|
+
}), appName)),
|
|
4460
|
+
textValue: appName,
|
|
4461
|
+
value: slug
|
|
4462
|
+
}));
|
|
4463
|
+
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
|
|
4464
|
+
className: styles$h.picker
|
|
4465
|
+
}, /*#__PURE__*/React__default.createElement(Select, {
|
|
4466
|
+
"aria-label": "Product",
|
|
4467
|
+
complex: true,
|
|
4468
|
+
onChange: event => onSelect(event.target.value),
|
|
4469
|
+
options: options,
|
|
4470
|
+
value: selected.slug
|
|
4471
|
+
})), /*#__PURE__*/React__default.createElement("div", {
|
|
4472
|
+
className: styles$k.panel
|
|
4473
|
+
}, children));
|
|
4135
4474
|
}
|
|
4136
4475
|
|
|
4137
|
-
|
|
4476
|
+
// Browsers match :focus-visible on every focused text field, keyboard or not,
|
|
4477
|
+
// since typing follows either way. So this remembers what last moved focus,
|
|
4478
|
+
// shared by every field and listened for once, in the capture phase so it's
|
|
4479
|
+
// known before focus moves.
|
|
4480
|
+
let lastInteraction = "pointer";
|
|
4481
|
+
let listening = false;
|
|
4482
|
+
function listen() {
|
|
4483
|
+
if (listening) return;
|
|
4484
|
+
listening = true;
|
|
4485
|
+
document.addEventListener("keydown", event => {
|
|
4486
|
+
// Shortcuts like ⌘C don't move focus.
|
|
4487
|
+
if (!event.metaKey && !event.ctrlKey && !event.altKey) {
|
|
4488
|
+
lastInteraction = "keyboard";
|
|
4489
|
+
}
|
|
4490
|
+
}, true);
|
|
4491
|
+
document.addEventListener("pointerdown", () => {
|
|
4492
|
+
lastInteraction = "pointer";
|
|
4493
|
+
}, true);
|
|
4494
|
+
}
|
|
4495
|
+
/**
|
|
4496
|
+
* Whether a field was focused from the keyboard, as by Tab, rather than by a
|
|
4497
|
+
* click or tap. Spread `focusProps` onto the field, and style it by
|
|
4498
|
+
* `data-focus-visible`.
|
|
4499
|
+
*/
|
|
4500
|
+
function useKeyboardFocus({
|
|
4501
|
+
onBlur,
|
|
4502
|
+
onFocus
|
|
4503
|
+
} = {}) {
|
|
4504
|
+
const [focusVisible, setFocusVisible] = React__default.useState(false);
|
|
4505
|
+
React__default.useEffect(listen, []);
|
|
4506
|
+
return {
|
|
4507
|
+
focusProps: {
|
|
4508
|
+
"data-focus-visible": focusVisible || undefined,
|
|
4509
|
+
onBlur: event => {
|
|
4510
|
+
setFocusVisible(false);
|
|
4511
|
+
onBlur === null || onBlur === void 0 ? void 0 : onBlur(event);
|
|
4512
|
+
},
|
|
4513
|
+
onFocus: event => {
|
|
4514
|
+
const keyboard = lastInteraction === "keyboard";
|
|
4515
|
+
setFocusVisible(keyboard);
|
|
4516
|
+
onFocus === null || onFocus === void 0 ? void 0 : onFocus(event, keyboard);
|
|
4517
|
+
}
|
|
4518
|
+
},
|
|
4519
|
+
focusVisible
|
|
4520
|
+
};
|
|
4521
|
+
}
|
|
4522
|
+
|
|
4523
|
+
var styles$g = {"tablist":"tablist-7ASvc","tab":"tab-dz8ki"};
|
|
4138
4524
|
|
|
4525
|
+
// With this many tabs or more, only the selected tab shows its name, so they
|
|
4526
|
+
// all fit. Fewer always fit with their names.
|
|
4527
|
+
const ICON_ONLY_TAB_COUNT = 5;
|
|
4139
4528
|
function ProductTabs({
|
|
4140
4529
|
children,
|
|
4141
4530
|
onKeyDown,
|
|
@@ -4146,6 +4535,7 @@ function ProductTabs({
|
|
|
4146
4535
|
const id = useInstanceId("product-tabs");
|
|
4147
4536
|
const tabId = slug => `${id}-tab-${slug}`;
|
|
4148
4537
|
const tabRefs = React__default.useRef(new Map());
|
|
4538
|
+
const showAllNames = products.length < ICON_ONLY_TAB_COUNT;
|
|
4149
4539
|
const handleKeyDown = event => {
|
|
4150
4540
|
var _a;
|
|
4151
4541
|
const offset = horizontalStep(event.key);
|
|
@@ -4160,13 +4550,14 @@ function ProductTabs({
|
|
|
4160
4550
|
}
|
|
4161
4551
|
};
|
|
4162
4552
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
|
|
4163
|
-
"aria-label": "
|
|
4553
|
+
"aria-label": "Search in",
|
|
4554
|
+
className: styles$g.tablist,
|
|
4164
4555
|
onKeyDown: handleKeyDown,
|
|
4165
4556
|
role: "tablist"
|
|
4166
|
-
}, products.map(product => (/*#__PURE__*/React__default.createElement(
|
|
4557
|
+
}, products.map(product => (/*#__PURE__*/React__default.createElement(Tab, {
|
|
4167
4558
|
"aria-controls": `${id}-panel`,
|
|
4559
|
+
"aria-describedby": `${tabId(product.slug)}-description`,
|
|
4168
4560
|
"aria-selected": product === selected,
|
|
4169
|
-
className: styles$d.tab,
|
|
4170
4561
|
id: tabId(product.slug),
|
|
4171
4562
|
key: product.slug,
|
|
4172
4563
|
onClick: () => onSelect(product.slug),
|
|
@@ -4177,15 +4568,397 @@ function ProductTabs({
|
|
|
4177
4568
|
tabRefs.current.delete(product.slug);
|
|
4178
4569
|
}
|
|
4179
4570
|
},
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
}, product.appName
|
|
4571
|
+
tabIndex: product === selected ? 0 : -1
|
|
4572
|
+
}, /*#__PURE__*/React__default.createElement(ProductIcon, {
|
|
4573
|
+
slug: product.slug
|
|
4574
|
+
}), showAllNames || product === selected ? product.appName : (/*#__PURE__*/React__default.createElement("span", {
|
|
4575
|
+
className: styles$k.visuallyHidden
|
|
4576
|
+
}, product.appName)))))), /*#__PURE__*/React__default.createElement("div", {
|
|
4577
|
+
className: styles$k.visuallyHidden
|
|
4578
|
+
}, products.map(product => (/*#__PURE__*/React__default.createElement("span", {
|
|
4579
|
+
id: `${tabId(product.slug)}-description`,
|
|
4580
|
+
key: product.slug
|
|
4581
|
+
}, "Planning Center ", product.appName)))), /*#__PURE__*/React__default.createElement("div", {
|
|
4184
4582
|
"aria-labelledby": tabId(selected.slug),
|
|
4583
|
+
className: styles$k.panel,
|
|
4185
4584
|
id: `${id}-panel`,
|
|
4186
4585
|
role: "tabpanel"
|
|
4187
4586
|
}, children));
|
|
4188
4587
|
}
|
|
4588
|
+
// The modal's focus scope moves focus here by script when Tab is pressed, and
|
|
4589
|
+
// Safari doesn't match :focus-visible on focus moved by script. So the tab
|
|
4590
|
+
// remembers whether the keyboard brought focus, and the ring keys off that.
|
|
4591
|
+
const Tab = /*#__PURE__*/React__default.forwardRef(function Tab(props, ref) {
|
|
4592
|
+
const {
|
|
4593
|
+
focusProps
|
|
4594
|
+
} = useKeyboardFocus();
|
|
4595
|
+
return /*#__PURE__*/React__default.createElement("button", {
|
|
4596
|
+
className: styles$g.tab,
|
|
4597
|
+
ref: ref,
|
|
4598
|
+
role: "tab",
|
|
4599
|
+
type: "button",
|
|
4600
|
+
...props,
|
|
4601
|
+
...focusProps
|
|
4602
|
+
});
|
|
4603
|
+
});
|
|
4604
|
+
|
|
4605
|
+
function BlankStateRecentlyVisited(props) {
|
|
4606
|
+
const id = useInstanceId("blank-state-initial");
|
|
4607
|
+
return /*#__PURE__*/React__default.createElement("svg", {
|
|
4608
|
+
viewBox: "0 0 197 174",
|
|
4609
|
+
fill: "none",
|
|
4610
|
+
"aria-hidden": "true",
|
|
4611
|
+
focusable: "false",
|
|
4612
|
+
...props
|
|
4613
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
4614
|
+
d: "M139.863 32.119c10.938 10.028 21.777 20.154 32.912 30.084 8.376 7.373 21.975 15.828 23.157 28.02.592 6.095-2.167 11.993-5.321 17.204-24.635 40.8-81.098 67.148-127.412 48.862-30.646-12.093-76.172-47.387-59.716-85.041 15.865-36.377 64.84-55.056 83.957-57.71 21.876-4.621 34.883 2.457 52.423 18.58Z",
|
|
4615
|
+
fill: "currentColor"
|
|
4616
|
+
}), /*#__PURE__*/React__default.createElement("g", {
|
|
4617
|
+
clipPath: `url(#${id}-a)`
|
|
4618
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
4619
|
+
d: "M115.885 109.31c-.478-.686-.01-1.845 1.046-2.589s2.3-.791 2.778-.105c.478.686.009 1.845-1.047 2.589-1.056.744-2.299.791-2.777.105Z",
|
|
4620
|
+
fill: "#333"
|
|
4621
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4622
|
+
d: "M123.403 113.599c-3.456 0-6.259-2.817-6.259-6.293 0-3.475 2.803-6.293 6.259-6.293 3.457 0 6.259 2.818 6.259 6.293 0 3.476-2.802 6.293-6.259 6.293Z",
|
|
4623
|
+
fill: "#333"
|
|
4624
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4625
|
+
d: "M118.853 100.968a2.85 2.85 0 0 0 2.832-2.484 2.89 2.89 0 0 0-.071-1.115c-2.638-9.955-9.668-9.687-9.964-9.665l.311 5.716h-.104c.119 0 2.853.134 4.254 5.421a2.874 2.874 0 0 0 1.013 1.53 2.846 2.846 0 0 0 1.729.597Z",
|
|
4626
|
+
fill: "#4D4D4D"
|
|
4627
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4628
|
+
d: "M114.96 100.503c-.462-5.894 2.796-10.96 7.279-11.315 4.482-.356 8.491 4.134 8.953 10.027.462 5.894-2.796 10.96-7.279 11.315-4.482.356-8.491-4.134-8.953-10.027Z",
|
|
4629
|
+
fill: "#F2F2F2"
|
|
4630
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4631
|
+
d: "M125.964 107.738c-4.48.354-8.489-4.135-8.953-10.026a12.893 12.893 0 0 1 1.223-6.707c-2.249 2.046-3.591 5.59-3.283 9.505.463 5.895 4.469 10.384 8.953 10.027 2.594-.205 4.765-1.986 6.055-4.591a6.682 6.682 0 0 1-3.995 1.792Z",
|
|
4632
|
+
fill: "#E6E6E6"
|
|
4633
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4634
|
+
d: "M115.885 109.31c-.478-.686-.01-1.845 1.046-2.589s2.3-.791 2.778-.105c.478.686.009 1.845-1.047 2.589-1.056.744-2.299.791-2.777.105Z",
|
|
4635
|
+
fill: "#333"
|
|
4636
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4637
|
+
d: "M123.403 113.599c-3.456 0-6.259-2.817-6.259-6.293 0-3.475 2.803-6.293 6.259-6.293 3.457 0 6.259 2.818 6.259 6.293 0 3.476-2.802 6.293-6.259 6.293Z",
|
|
4638
|
+
fill: "#333"
|
|
4639
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4640
|
+
d: "M118.853 100.968a2.85 2.85 0 0 0 2.832-2.484 2.89 2.89 0 0 0-.071-1.115c-2.638-9.955-9.668-9.687-9.964-9.665l.311 5.716h-.104c.119 0 2.853.134 4.254 5.421a2.874 2.874 0 0 0 1.013 1.53 2.846 2.846 0 0 0 1.729.597Z",
|
|
4641
|
+
fill: "#4D4D4D"
|
|
4642
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4643
|
+
d: "M114.96 100.503c-.462-5.894 2.796-10.96 7.279-11.315 4.482-.356 8.491 4.134 8.953 10.027.462 5.894-2.796 10.96-7.279 11.315-4.482.356-8.491-4.134-8.953-10.027Z",
|
|
4644
|
+
fill: "#F2F2F2"
|
|
4645
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4646
|
+
d: "M125.964 107.738c-4.48.354-8.489-4.135-8.953-10.026a12.893 12.893 0 0 1 1.223-6.707c-2.249 2.046-3.591 5.59-3.283 9.505.463 5.895 4.469 10.384 8.953 10.027 2.594-.205 4.765-1.986 6.055-4.591a6.682 6.682 0 0 1-3.995 1.792Z",
|
|
4647
|
+
fill: "#E6E6E6"
|
|
4648
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4649
|
+
d: "M89.317 121.331a2.836 2.836 0 0 1-1.92-.752 2.869 2.869 0 0 1-.911-1.857c-.534-5.726 3.527-13.808 3.99-14.713a2.849 2.849 0 0 1 1.666-1.413 2.835 2.835 0 0 1 2.172.185 2.86 2.86 0 0 1 1.405 1.675 2.876 2.876 0 0 1-.184 2.183c-1.46 2.843-3.669 8.492-3.383 11.551a2.868 2.868 0 0 1-1.504 2.797 2.84 2.84 0 0 1-1.064.318 1.378 1.378 0 0 1-.267.026Z",
|
|
4650
|
+
fill: "#4D4D4D"
|
|
4651
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4652
|
+
d: "M92.155 112.314c3.308 0 5.989-2.696 5.989-6.021 0-3.326-2.681-6.021-5.989-6.021-3.307 0-5.988 2.695-5.988 6.021 0 3.325 2.681 6.021 5.988 6.021Z",
|
|
4653
|
+
fill: "gray"
|
|
4654
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4655
|
+
d: "M80.597 128.771h11.769v3.726a1.118 1.118 0 0 1-1.112 1.118H78.57a1.118 1.118 0 0 1-1.112-1.118v-.566c0-.841.332-1.648.924-2.242a3.144 3.144 0 0 1 2.23-.929l-.015.011Z",
|
|
4656
|
+
fill: "#333"
|
|
4657
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4658
|
+
d: "M89.572 132.084s8.075.119 6.3-8.268c-1.775-8.387-12.188-15.351-15.234-6.066-3.046 9.285-1.386 15.232 8.934 14.334Z",
|
|
4659
|
+
fill: "#F2F2F2"
|
|
4660
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4661
|
+
d: "M106.67 121.334h-.27a2.84 2.84 0 0 1-1.925-1.025 2.872 2.872 0 0 1-.639-2.093c.285-3.059-1.92-8.708-3.38-11.551a2.873 2.873 0 0 1 1.296-3.721 2.832 2.832 0 0 1 2.102-.199 2.848 2.848 0 0 1 1.66 1.312c.463.906 4.521 8.991 3.988 14.714a2.874 2.874 0 0 1-.926 1.828 2.832 2.832 0 0 1-1.906.735Z",
|
|
4662
|
+
fill: "#4D4D4D"
|
|
4663
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4664
|
+
d: "M103.835 112.314c3.307 0 5.988-2.696 5.988-6.021 0-3.326-2.681-6.021-5.988-6.021-3.307 0-5.988 2.695-5.988 6.021 0 3.325 2.681 6.021 5.988 6.021Z",
|
|
4665
|
+
fill: "gray"
|
|
4666
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4667
|
+
d: "m117.408 133.652-12.674-.002c-.295 0-.577-.118-.786-.328a1.121 1.121 0 0 1-.325-.79v-3.726l11.773.002c.837 0 1.639.334 2.23.929s.923 1.401.923 2.242v.567a1.116 1.116 0 0 1-1.141 1.106Z",
|
|
4668
|
+
fill: "#333"
|
|
4669
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4670
|
+
d: "M106.414 132.084s-8.075.119-6.318-8.268c1.756-8.387 12.195-15.343 15.237-6.062 3.043 9.281 1.405 15.235-8.919 14.33Z",
|
|
4671
|
+
fill: "#F2F2F2"
|
|
4672
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4673
|
+
d: "M109.107 94.58a2.305 2.305 0 0 0 2.191 2.412 2.302 2.302 0 0 0 2.399-2.202l.333-7.33a2.306 2.306 0 0 0-2.191-2.412 2.303 2.303 0 0 0-2.4 2.203l-.332 7.328Z",
|
|
4674
|
+
fill: "gray"
|
|
4675
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4676
|
+
d: "M80.968 109.31c.478-.686.01-1.845-1.047-2.589-1.056-.744-2.3-.791-2.777-.105-.478.686-.01 1.845 1.046 2.589s2.3.791 2.778.105Z",
|
|
4677
|
+
fill: "#333"
|
|
4678
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4679
|
+
d: "M73.448 113.599c3.457 0 6.26-2.817 6.26-6.293 0-3.475-2.803-6.293-6.26-6.293-3.456 0-6.258 2.818-6.258 6.293 0 3.476 2.802 6.293 6.258 6.293Z",
|
|
4680
|
+
fill: "#333"
|
|
4681
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4682
|
+
d: "M78 100.968a2.853 2.853 0 0 1-2.832-2.484 2.876 2.876 0 0 1 .07-1.115c2.639-9.955 9.669-9.687 9.965-9.665l-.311 5.716h.104c-.12 0-2.854.134-4.255 5.421a2.87 2.87 0 0 1-1.013 1.53 2.845 2.845 0 0 1-1.729.597Z",
|
|
4683
|
+
fill: "#4D4D4D"
|
|
4684
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4685
|
+
d: "M87.37 88.17a2.305 2.305 0 0 0-2.19-2.413 2.302 2.302 0 0 0-2.4 2.202l-.332 7.329a2.305 2.305 0 0 0 2.19 2.413 2.302 2.302 0 0 0 2.4-2.203l.332-7.328Z",
|
|
4686
|
+
fill: "gray"
|
|
4687
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4688
|
+
d: "M81.893 100.503c.462-5.894-2.797-10.96-7.28-11.315-4.482-.356-8.49 4.134-8.953 10.027-.462 5.894 2.797 10.96 7.28 11.315 4.482.356 8.49-4.134 8.953-10.027Z",
|
|
4689
|
+
fill: "#F2F2F2"
|
|
4690
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4691
|
+
d: "M70.888 107.738c4.48.354 8.49-4.135 8.953-10.026a12.89 12.89 0 0 0-1.223-6.707c2.25 2.046 3.591 5.59 3.284 9.505-.464 5.895-4.47 10.384-8.953 10.027-2.594-.205-4.766-1.986-6.055-4.591a6.682 6.682 0 0 0 3.994 1.792Z",
|
|
4692
|
+
fill: "#E6E6E6"
|
|
4693
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4694
|
+
d: "M112.717 94.105c-.511-9.095-7.459-11.703-15.82-11.226-8.36.477-14.97 3.856-14.451 12.951.518 9.095 7.707 16.081 16.067 15.605 8.36-.477 14.719-8.231 14.204-17.33Z",
|
|
4695
|
+
fill: "#F2F2F2"
|
|
4696
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4697
|
+
d: "M112.565 92.656c-1.056 7.496-6.799 13.413-14.059 13.812-7.852.451-14.67-5.686-15.897-13.965a14.571 14.571 0 0 0-.17 3.327c.51 9.095 7.704 16.081 16.067 15.605 8.364-.477 14.723-8.235 14.211-17.33a16.83 16.83 0 0 0-.152-1.45Z",
|
|
4698
|
+
fill: "#E6E6E6"
|
|
4699
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4700
|
+
d: "M103.546 90.353H91.61a.62.62 0 0 0-.619.623v1.762a.62.62 0 0 0 .62.622h11.935a.62.62 0 0 0 .619-.622v-1.762a.62.62 0 0 0-.619-.623Zm0 5.187H91.61a.62.62 0 0 0-.619.622v1.762a.62.62 0 0 0 .62.623h11.935a.62.62 0 0 0 .619-.623v-1.762a.62.62 0 0 0-.619-.622Zm-.004 5.19H91.606a.62.62 0 0 0-.619.622v1.763a.62.62 0 0 0 .62.622h11.935a.62.62 0 0 0 .619-.622v-1.763a.62.62 0 0 0-.619-.622Z",
|
|
4701
|
+
fill: "#3690EA"
|
|
4702
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4703
|
+
d: "M89.317 121.331a2.836 2.836 0 0 1-1.92-.752 2.869 2.869 0 0 1-.911-1.857c-.534-5.726 3.527-13.808 3.99-14.713a2.849 2.849 0 0 1 1.666-1.413 2.835 2.835 0 0 1 2.172.185 2.86 2.86 0 0 1 1.405 1.675 2.876 2.876 0 0 1-.184 2.183c-1.46 2.843-3.669 8.492-3.383 11.551a2.868 2.868 0 0 1-1.504 2.797 2.84 2.84 0 0 1-1.064.318 1.378 1.378 0 0 1-.267.026Z",
|
|
4704
|
+
fill: "#4D4D4D"
|
|
4705
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4706
|
+
d: "M92.155 112.314c3.308 0 5.989-2.696 5.989-6.021 0-3.326-2.681-6.021-5.989-6.021-3.307 0-5.988 2.695-5.988 6.021 0 3.325 2.681 6.021 5.988 6.021Z",
|
|
4707
|
+
fill: "gray"
|
|
4708
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4709
|
+
d: "M80.597 128.771h11.769v3.726a1.118 1.118 0 0 1-1.112 1.118H78.57a1.118 1.118 0 0 1-1.112-1.118v-.566c0-.841.332-1.648.924-2.242a3.144 3.144 0 0 1 2.23-.929l-.015.011Z",
|
|
4710
|
+
fill: "#333"
|
|
4711
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4712
|
+
d: "M89.572 132.084s8.075.119 6.3-8.268c-1.775-8.387-12.188-15.351-15.234-6.066-3.046 9.285-1.386 15.232 8.934 14.334Z",
|
|
4713
|
+
fill: "#F2F2F2"
|
|
4714
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4715
|
+
d: "M106.67 121.334h-.27a2.84 2.84 0 0 1-1.925-1.025 2.872 2.872 0 0 1-.639-2.093c.285-3.059-1.92-8.708-3.38-11.551a2.873 2.873 0 0 1 1.296-3.721 2.832 2.832 0 0 1 2.102-.199 2.848 2.848 0 0 1 1.66 1.312c.463.906 4.521 8.991 3.988 14.714a2.874 2.874 0 0 1-.926 1.828 2.832 2.832 0 0 1-1.906.735Z",
|
|
4716
|
+
fill: "#4D4D4D"
|
|
4717
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4718
|
+
d: "M103.835 112.314c3.307 0 5.988-2.696 5.988-6.021 0-3.326-2.681-6.021-5.988-6.021-3.307 0-5.988 2.695-5.988 6.021 0 3.325 2.681 6.021 5.988 6.021Z",
|
|
4719
|
+
fill: "gray"
|
|
4720
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4721
|
+
d: "m117.408 133.652-12.674-.002c-.295 0-.577-.118-.786-.328a1.121 1.121 0 0 1-.325-.79v-3.726l11.773.002c.837 0 1.639.334 2.23.929s.923 1.401.923 2.242v.567a1.116 1.116 0 0 1-1.141 1.106Z",
|
|
4722
|
+
fill: "#333"
|
|
4723
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4724
|
+
d: "M106.414 132.084s-8.075.119-6.318-8.268c1.756-8.387 12.195-15.343 15.237-6.062 3.043 9.281 1.405 15.235-8.919 14.33Z",
|
|
4725
|
+
fill: "#F2F2F2"
|
|
4726
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4727
|
+
d: "M109.107 94.58a2.305 2.305 0 0 0 2.191 2.412 2.302 2.302 0 0 0 2.399-2.202l.333-7.33a2.306 2.306 0 0 0-2.191-2.412 2.303 2.303 0 0 0-2.4 2.203l-.332 7.328Z",
|
|
4728
|
+
fill: "gray"
|
|
4729
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4730
|
+
d: "M80.968 109.31c.478-.686.01-1.845-1.047-2.589-1.056-.744-2.3-.791-2.777-.105-.478.686-.01 1.845 1.046 2.589s2.3.791 2.778.105Z",
|
|
4731
|
+
fill: "#333"
|
|
4732
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4733
|
+
d: "M73.448 113.599c3.457 0 6.26-2.817 6.26-6.293 0-3.475-2.803-6.293-6.26-6.293-3.456 0-6.258 2.818-6.258 6.293 0 3.476 2.802 6.293 6.258 6.293Z",
|
|
4734
|
+
fill: "#333"
|
|
4735
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4736
|
+
d: "M78 100.968a2.853 2.853 0 0 1-2.832-2.484 2.876 2.876 0 0 1 .07-1.115c2.639-9.955 9.669-9.687 9.965-9.665l-.311 5.716h.104c-.12 0-2.854.134-4.255 5.421a2.87 2.87 0 0 1-1.013 1.53 2.845 2.845 0 0 1-1.729.597Z",
|
|
4737
|
+
fill: "#4D4D4D"
|
|
4738
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4739
|
+
d: "M87.37 88.17a2.305 2.305 0 0 0-2.19-2.413 2.302 2.302 0 0 0-2.4 2.202l-.332 7.329a2.305 2.305 0 0 0 2.19 2.413 2.302 2.302 0 0 0 2.4-2.203l.332-7.328Z",
|
|
4740
|
+
fill: "gray"
|
|
4741
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4742
|
+
d: "M81.893 100.503c.462-5.894-2.797-10.96-7.28-11.315-4.482-.356-8.49 4.134-8.953 10.027-.462 5.894 2.797 10.96 7.28 11.315 4.482.356 8.49-4.134 8.953-10.027Z",
|
|
4743
|
+
fill: "#F2F2F2"
|
|
4744
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4745
|
+
d: "M70.888 107.738c4.48.354 8.49-4.135 8.953-10.026a12.89 12.89 0 0 0-1.223-6.707c2.25 2.046 3.591 5.59 3.284 9.505-.464 5.895-4.47 10.384-8.953 10.027-2.594-.205-4.766-1.986-6.055-4.591a6.682 6.682 0 0 0 3.994 1.792Z",
|
|
4746
|
+
fill: "#E6E6E6"
|
|
4747
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4748
|
+
d: "M112.717 94.105c-.511-9.095-7.459-11.703-15.82-11.226-8.36.477-14.97 3.856-14.451 12.951.518 9.095 7.707 16.081 16.067 15.605 8.36-.477 14.719-8.231 14.204-17.33Z",
|
|
4749
|
+
fill: "#F2F2F2"
|
|
4750
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4751
|
+
d: "M112.565 92.656c-1.056 7.496-6.799 13.413-14.059 13.812-7.852.451-14.67-5.686-15.897-13.965a14.571 14.571 0 0 0-.17 3.327c.51 9.095 7.704 16.081 16.067 15.605 8.364-.477 14.723-8.235 14.211-17.33a16.83 16.83 0 0 0-.152-1.45Z",
|
|
4752
|
+
fill: "#E6E6E6"
|
|
4753
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4754
|
+
d: "M94.626 78.445c-.114-.488 6.548-.927 5.815.246v.775c0 .746.033 1.49.033 2.258s.037 1.595.044 2.392c.278.593-6.473.935-5.817-.115v-.67c-.015-1.63-.06-3.257-.075-4.886Z",
|
|
4755
|
+
fill: "#999"
|
|
4756
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4757
|
+
d: "M103.546 90.353H91.61a.62.62 0 0 0-.619.623v1.762a.62.62 0 0 0 .62.622h11.935a.62.62 0 0 0 .619-.622v-1.762a.62.62 0 0 0-.619-.623Zm0 5.187H91.61a.62.62 0 0 0-.619.622v1.762a.62.62 0 0 0 .62.623h11.935a.62.62 0 0 0 .619-.623v-1.762a.62.62 0 0 0-.619-.622Zm-.004 5.19H91.606a.62.62 0 0 0-.619.622v1.763a.62.62 0 0 0 .62.622h11.935a.62.62 0 0 0 .619-.622v-1.763a.62.62 0 0 0-.619-.622ZM55.773 64.004c4.349 0 7.874-5.285 7.874-11.804s-3.525-11.804-7.874-11.804-7.875 5.285-7.875 11.804c0 6.52 3.526 11.804 7.875 11.804Zm84.17.015c4.349 0 7.874-5.285 7.874-11.804 0-6.52-3.525-11.804-7.874-11.804s-7.875 5.285-7.875 11.804 3.526 11.804 7.875 11.804Z",
|
|
4758
|
+
fill: "#3690EA"
|
|
4759
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4760
|
+
d: "M97.962 29.036c7.273 0 13.17-2.224 13.17-4.967 0-2.743-5.897-4.966-13.17-4.966-7.274 0-13.17 2.223-13.17 4.966 0 2.743 5.896 4.967 13.17 4.967Z",
|
|
4761
|
+
fill: "#B3B3B3"
|
|
4762
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4763
|
+
d: "M97.962 16.55c4.545 0 8.23-3.705 8.23-8.275S102.507 0 97.962 0c-4.546 0-8.23 3.705-8.23 8.275s3.684 8.275 8.23 8.275Z",
|
|
4764
|
+
fill: "#3690EA"
|
|
4765
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4766
|
+
d: "M141.607 59.283V45.147a19.038 19.038 0 0 0-3.687-11.301 18.872 18.872 0 0 0-9.653-6.874c-8.838-2.69-19.203-4.24-30.29-4.244-11.088-.004-21.452 1.546-30.29 4.233a18.871 18.871 0 0 0-9.668 6.866 19.041 19.041 0 0 0-3.699 11.305v14.132a19.03 19.03 0 0 0 3.685 11.303 18.86 18.86 0 0 0 9.656 6.872c8.841 2.694 19.206 4.244 30.29 4.244 11.083 0 21.452-1.542 30.294-4.233a18.858 18.858 0 0 0 9.666-6.863 19.028 19.028 0 0 0 3.696-11.304Z",
|
|
4767
|
+
fill: "#F2F2F2"
|
|
4768
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4769
|
+
d: "M97.954 75.051c-10.068 0-19.88-1.371-28.381-3.957a12.353 12.353 0 0 1-6.262-4.485 12.463 12.463 0 0 1-2.41-7.34V45.131c.006-2.642.85-5.214 2.411-7.34a12.345 12.345 0 0 1 6.264-4.482c8.501-2.586 18.317-3.95 28.382-3.95 10.065 0 19.877 1.371 28.382 3.96a12.35 12.35 0 0 1 6.262 4.486 12.46 12.46 0 0 1 2.409 7.34V59.28a12.453 12.453 0 0 1-2.41 7.341 12.343 12.343 0 0 1-6.265 4.482c-8.486 2.585-18.317 3.949-28.382 3.949Z",
|
|
4770
|
+
fill: "#E6E6E6"
|
|
4771
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4772
|
+
d: "M100.863 15.992h-5.81v1.293h5.81v-1.293Z",
|
|
4773
|
+
fill: "#F2F2F2"
|
|
4774
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4775
|
+
d: "M76.472 66.05c4.327 0 7.834-6.2 7.834-13.846 0-7.647-3.507-13.846-7.834-13.846-4.326 0-7.833 6.2-7.833 13.846s3.507 13.845 7.833 13.845Z",
|
|
4776
|
+
fill: "#1A1A1A"
|
|
4777
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4778
|
+
d: "M77.844 52.766c1.743 0 3.157-2.088 3.157-4.664 0-2.577-1.414-4.665-3.157-4.665-1.744 0-3.157 2.088-3.157 4.665 0 2.576 1.413 4.664 3.157 4.664Z",
|
|
4779
|
+
fill: "#fff"
|
|
4780
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4781
|
+
d: "M118.662 66.057c4.326 0 7.834-6.2 7.834-13.846s-3.508-13.845-7.834-13.845c-4.327 0-7.834 6.199-7.834 13.845 0 7.647 3.507 13.846 7.834 13.846Z",
|
|
4782
|
+
fill: "#1A1A1A"
|
|
4783
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4784
|
+
d: "M120.032 52.774c1.744 0 3.157-2.089 3.157-4.665s-1.413-4.665-3.157-4.665c-1.743 0-3.157 2.089-3.157 4.665s1.414 4.665 3.157 4.665Z",
|
|
4785
|
+
fill: "#fff"
|
|
4786
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4787
|
+
d: "M92.674 63.11a10.286 10.286 0 0 0 7.949 1.095 13.2 13.2 0 0 0 2.623-1.118.738.738 0 0 1 1.035.639.748.748 0 0 1-.119.453c-2.224 2.82-6.474 3.625-9.672 2.12a7.284 7.284 0 0 1-2.75-2.12.748.748 0 0 1 .465-1.139.738.738 0 0 1 .469.054v.015Z",
|
|
4788
|
+
fill: "#999"
|
|
4789
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4790
|
+
d: "M55.773 64.004c4.349 0 7.874-5.285 7.874-11.804s-3.525-11.804-7.874-11.804-7.875 5.285-7.875 11.804c0 6.52 3.526 11.804 7.875 11.804Zm84.17.015c4.349 0 7.874-5.285 7.874-11.804 0-6.52-3.525-11.804-7.874-11.804s-7.875 5.285-7.875 11.804 3.526 11.804 7.875 11.804Z",
|
|
4791
|
+
fill: "#3690EA"
|
|
4792
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4793
|
+
d: "M95.008 14.315c-.115-.488 6.548-.932 5.815.246v.771c0 .745.033 1.51.037 2.262.003.752.033 1.594.04 2.392.282.592-6.474.935-5.818-.116v-.67c-.014-1.629-.055-3.257-.074-4.885Z",
|
|
4794
|
+
fill: "#F2F2F2"
|
|
4795
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4796
|
+
d: "M97.962 29.036c7.273 0 13.17-2.224 13.17-4.967 0-2.743-5.897-4.966-13.17-4.966-7.274 0-13.17 2.223-13.17 4.966 0 2.743 5.896 4.967 13.17 4.967Z",
|
|
4797
|
+
fill: "#B3B3B3"
|
|
4798
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4799
|
+
d: "M97.962 16.55c4.545 0 8.23-3.705 8.23-8.275S102.507 0 97.962 0c-4.546 0-8.23 3.705-8.23 8.275s3.684 8.275 8.23 8.275Z",
|
|
4800
|
+
fill: "#3690EA"
|
|
4801
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4802
|
+
d: "M141.607 59.283V45.147a19.038 19.038 0 0 0-3.687-11.301 18.872 18.872 0 0 0-9.653-6.874c-8.838-2.69-19.203-4.24-30.29-4.244-11.088-.004-21.452 1.546-30.29 4.233a18.871 18.871 0 0 0-9.668 6.866 19.041 19.041 0 0 0-3.699 11.305v14.132a19.03 19.03 0 0 0 3.685 11.303 18.86 18.86 0 0 0 9.656 6.872c8.841 2.694 19.206 4.244 30.29 4.244 11.083 0 21.452-1.542 30.294-4.233a18.858 18.858 0 0 0 9.666-6.863 19.028 19.028 0 0 0 3.696-11.304Z",
|
|
4803
|
+
fill: "#F2F2F2"
|
|
4804
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4805
|
+
d: "M97.954 75.051c-10.068 0-19.88-1.371-28.381-3.957a12.353 12.353 0 0 1-6.262-4.485 12.463 12.463 0 0 1-2.41-7.34V45.131c.006-2.642.85-5.214 2.411-7.34a12.345 12.345 0 0 1 6.264-4.482c8.501-2.586 18.317-3.95 28.382-3.95 10.065 0 19.877 1.371 28.382 3.96a12.35 12.35 0 0 1 6.262 4.486 12.46 12.46 0 0 1 2.409 7.34V59.28a12.453 12.453 0 0 1-2.41 7.341 12.343 12.343 0 0 1-6.265 4.482c-8.486 2.585-18.317 3.949-28.382 3.949Zm2.909-59.059h-5.81v1.293h5.81v-1.293Z",
|
|
4806
|
+
fill: "#E6E6E6"
|
|
4807
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4808
|
+
d: "M76.472 66.05c4.327 0 7.834-6.2 7.834-13.846 0-7.647-3.507-13.846-7.834-13.846-4.326 0-7.833 6.2-7.833 13.846s3.507 13.845 7.833 13.845Z",
|
|
4809
|
+
fill: "#1A1A1A"
|
|
4810
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4811
|
+
d: "M77.844 52.766c1.743 0 3.157-2.088 3.157-4.664 0-2.577-1.414-4.665-3.157-4.665-1.744 0-3.157 2.088-3.157 4.665 0 2.576 1.413 4.664 3.157 4.664Z",
|
|
4812
|
+
fill: "#fff"
|
|
4813
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4814
|
+
d: "M118.662 66.057c4.326 0 7.834-6.2 7.834-13.846s-3.508-13.845-7.834-13.845c-4.327 0-7.834 6.199-7.834 13.845 0 7.647 3.507 13.846 7.834 13.846Z",
|
|
4815
|
+
fill: "#1A1A1A"
|
|
4816
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4817
|
+
d: "M120.032 52.774c1.744 0 3.157-2.089 3.157-4.665s-1.413-4.665-3.157-4.665c-1.743 0-3.157 2.089-3.157 4.665s1.414 4.665 3.157 4.665Z",
|
|
4818
|
+
fill: "#fff"
|
|
4819
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4820
|
+
d: "M92.674 63.11a10.286 10.286 0 0 0 7.949 1.095 13.2 13.2 0 0 0 2.623-1.118.738.738 0 0 1 1.035.639.748.748 0 0 1-.119.453c-2.224 2.82-6.474 3.625-9.672 2.12a7.284 7.284 0 0 1-2.75-2.12.748.748 0 0 1 .465-1.139.738.738 0 0 1 .469.054v.015Z",
|
|
4821
|
+
fill: "#999"
|
|
4822
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4823
|
+
d: "M101.117 9.562a3.035 3.035 0 0 0 3.027-3.043 3.035 3.035 0 0 0-3.027-3.043A3.035 3.035 0 0 0 98.09 6.52a3.035 3.035 0 0 0 3.027 3.043ZM51.578 54.84c.801 0 1.45-1.64 1.45-3.66 0-2.023-.649-3.662-1.45-3.662-.802 0-1.451 1.64-1.451 3.661 0 2.022.65 3.66 1.45 3.66Zm93.429 0c.802 0 1.451-1.64 1.451-3.66 0-2.023-.649-3.662-1.451-3.662-.801 0-1.45 1.64-1.45 3.661 0 2.022.649 3.66 1.45 3.66Z",
|
|
4824
|
+
fill: "#4BAAF7"
|
|
4825
|
+
}), /*#__PURE__*/React__default.createElement("g", {
|
|
4826
|
+
clipPath: `url(#${id}-b)`
|
|
4827
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
4828
|
+
d: "M52.39 160.841h-2.919a1.774 1.774 0 0 1-1.766-1.782v-7.334h9.035l-2.677 7.911a1.766 1.766 0 0 1-1.671 1.206l-.001-.001Zm91.774 0h2.919c.977 0 1.767-.799 1.767-1.782v-7.334h-9.036l2.677 7.911a1.767 1.767 0 0 0 1.672 1.206l.001-.001Z",
|
|
4829
|
+
fill: "#6D4932"
|
|
4830
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4831
|
+
d: "M163.181 108.015H33.375c-2.37 0-4.291 1.479-4.291 3.305v2.216c0 1.825 1.921 3.305 4.29 3.305h129.807c2.369 0 4.29-1.48 4.29-3.305v-2.216c0-1.826-1.921-3.305-4.29-3.305Z",
|
|
4832
|
+
fill: "#A87B5D"
|
|
4833
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4834
|
+
d: "M38.282 116.841h119.992v33.16c0 1.648-1.554 2.985-3.469 2.985H41.752c-1.915 0-3.468-1.337-3.468-2.985v-33.16h-.002Z",
|
|
4835
|
+
fill: "#916A50"
|
|
4836
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4837
|
+
opacity: ".3",
|
|
4838
|
+
d: "M131.002 109.794h-97.18a.996.996 0 0 0-.992 1.001c0 .552.444 1 .992 1h97.18a.996.996 0 0 0 .991-1 .996.996 0 0 0-.991-1.001Zm30.849 0h-24.24a.996.996 0 0 0-.992 1.001c0 .552.444 1 .992 1h24.24a.996.996 0 0 0 .992-1 .996.996 0 0 0-.992-1.001Z",
|
|
4839
|
+
fill: "#D4B097"
|
|
4840
|
+
})), /*#__PURE__*/React__default.createElement("g", {
|
|
4841
|
+
clipPath: `url(#${id}-c)`
|
|
4842
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
4843
|
+
d: "M151.367 97.536h2.894c1.6 0 2.895 1.307 2.895 2.913a2.906 2.906 0 0 1-2.895 2.914h-2.894v-5.827Z",
|
|
4844
|
+
strokeWidth: "6",
|
|
4845
|
+
strokeMiterlimit: "10",
|
|
4846
|
+
stroke: `url(#${id}-d)`
|
|
4847
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4848
|
+
d: "M135.876 93.304h17.017a.6.6 0 0 1 .597.602v10.166c0 1.942-1.566 3.522-3.499 3.522h-11.214c-1.933 0-3.499-1.58-3.499-3.522V93.906a.6.6 0 0 1 .598-.602Z",
|
|
4849
|
+
fill: `url(#${id}-e)`
|
|
4850
|
+
})), /*#__PURE__*/React__default.createElement("path", {
|
|
4851
|
+
d: "m37.492 78.174 38.863-6.725a3.453 3.453 0 0 1 3.455 3.45v30.087H34.04V81.623a3.452 3.452 0 0 1 3.452-3.45Z",
|
|
4852
|
+
fill: `url(#${id}-f)`
|
|
4853
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4854
|
+
d: "M34.1 108.015v-3.363h57.697v3.363H34.1Z",
|
|
4855
|
+
fill: `url(#${id}-g)`
|
|
4856
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
4857
|
+
d: "M79.673 108.015v-3.363h12.124v3.363H79.673Z",
|
|
4858
|
+
fill: `url(#${id}-h)`
|
|
4859
|
+
})), /*#__PURE__*/React__default.createElement("defs", null, /*#__PURE__*/React__default.createElement("linearGradient", {
|
|
4860
|
+
id: `${id}-d`,
|
|
4861
|
+
x1: "150.254",
|
|
4862
|
+
y1: "100.449",
|
|
4863
|
+
x2: "158.273",
|
|
4864
|
+
y2: "100.449",
|
|
4865
|
+
gradientUnits: "userSpaceOnUse"
|
|
4866
|
+
}, /*#__PURE__*/React__default.createElement("stop", {
|
|
4867
|
+
stopColor: "#FEFEFE"
|
|
4868
|
+
}), /*#__PURE__*/React__default.createElement("stop", {
|
|
4869
|
+
offset: "1",
|
|
4870
|
+
stopColor: "#fff"
|
|
4871
|
+
})), /*#__PURE__*/React__default.createElement("linearGradient", {
|
|
4872
|
+
id: `${id}-e`,
|
|
4873
|
+
x1: "132.629",
|
|
4874
|
+
y1: "100.449",
|
|
4875
|
+
x2: "155.32",
|
|
4876
|
+
y2: "100.449",
|
|
4877
|
+
gradientUnits: "userSpaceOnUse"
|
|
4878
|
+
}, /*#__PURE__*/React__default.createElement("stop", {
|
|
4879
|
+
stopColor: "#FEFEFE"
|
|
4880
|
+
}), /*#__PURE__*/React__default.createElement("stop", {
|
|
4881
|
+
offset: "1",
|
|
4882
|
+
stopColor: "#F3F3F3"
|
|
4883
|
+
})), /*#__PURE__*/React__default.createElement("linearGradient", {
|
|
4884
|
+
id: `${id}-f`,
|
|
4885
|
+
x1: "56.925",
|
|
4886
|
+
y1: "45.291",
|
|
4887
|
+
x2: "56.925",
|
|
4888
|
+
y2: "93.076",
|
|
4889
|
+
gradientUnits: "userSpaceOnUse"
|
|
4890
|
+
}, /*#__PURE__*/React__default.createElement("stop", {
|
|
4891
|
+
stopColor: "#FEFEFE"
|
|
4892
|
+
}), /*#__PURE__*/React__default.createElement("stop", {
|
|
4893
|
+
offset: "1",
|
|
4894
|
+
stopColor: "#D1D6E7"
|
|
4895
|
+
})), /*#__PURE__*/React__default.createElement("linearGradient", {
|
|
4896
|
+
id: `${id}-g`,
|
|
4897
|
+
x1: "62.684",
|
|
4898
|
+
y1: "108.015",
|
|
4899
|
+
x2: "62.684",
|
|
4900
|
+
y2: "104.85",
|
|
4901
|
+
gradientUnits: "userSpaceOnUse"
|
|
4902
|
+
}, /*#__PURE__*/React__default.createElement("stop", {
|
|
4903
|
+
stopColor: "#D2D6E8"
|
|
4904
|
+
}), /*#__PURE__*/React__default.createElement("stop", {
|
|
4905
|
+
offset: ".726",
|
|
4906
|
+
stopColor: "#D1D6E7"
|
|
4907
|
+
})), /*#__PURE__*/React__default.createElement("linearGradient", {
|
|
4908
|
+
id: `${id}-h`,
|
|
4909
|
+
x1: "85.68",
|
|
4910
|
+
y1: "108.015",
|
|
4911
|
+
x2: "85.68",
|
|
4912
|
+
y2: "104.85",
|
|
4913
|
+
gradientUnits: "userSpaceOnUse"
|
|
4914
|
+
}, /*#__PURE__*/React__default.createElement("stop", {
|
|
4915
|
+
stopColor: "#D8DDF1"
|
|
4916
|
+
}), /*#__PURE__*/React__default.createElement("stop", {
|
|
4917
|
+
offset: ".726",
|
|
4918
|
+
stopColor: "#E2E6F6"
|
|
4919
|
+
})), /*#__PURE__*/React__default.createElement("clipPath", {
|
|
4920
|
+
id: `${id}-a`
|
|
4921
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
4922
|
+
fill: "#fff",
|
|
4923
|
+
transform: "translate(12.006)",
|
|
4924
|
+
d: "M0 0h172v174H0z"
|
|
4925
|
+
})), /*#__PURE__*/React__default.createElement("clipPath", {
|
|
4926
|
+
id: `${id}-b`
|
|
4927
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
4928
|
+
fill: "#fff",
|
|
4929
|
+
transform: "translate(29.084 105.073)",
|
|
4930
|
+
d: "M0 0h138.387v68.927H0z"
|
|
4931
|
+
})), /*#__PURE__*/React__default.createElement("clipPath", {
|
|
4932
|
+
id: `${id}-c`
|
|
4933
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
4934
|
+
fill: "#fff",
|
|
4935
|
+
transform: "translate(135.278 93.304)",
|
|
4936
|
+
d: "M0 0h22.995v14.29H0z"
|
|
4937
|
+
}))));
|
|
4938
|
+
}
|
|
4939
|
+
|
|
4940
|
+
var styles$f = {"blank_state":"blank_state-wMOWN","image":"image-uy0Fd"};
|
|
4941
|
+
|
|
4942
|
+
function BlankState$1({
|
|
4943
|
+
image,
|
|
4944
|
+
role,
|
|
4945
|
+
subtitle,
|
|
4946
|
+
title
|
|
4947
|
+
}) {
|
|
4948
|
+
return /*#__PURE__*/React__default.createElement(Flex, {
|
|
4949
|
+
role: role,
|
|
4950
|
+
className: styles$f.blank_state,
|
|
4951
|
+
direction: "column",
|
|
4952
|
+
align: "center",
|
|
4953
|
+
gap: 3
|
|
4954
|
+
}, /*#__PURE__*/React__default.createElement(Flex, {
|
|
4955
|
+
className: styles$f.image
|
|
4956
|
+
}, image), /*#__PURE__*/React__default.createElement(Flex, {
|
|
4957
|
+
direction: "column",
|
|
4958
|
+
align: "center",
|
|
4959
|
+
gap: 1
|
|
4960
|
+
}, /*#__PURE__*/React__default.createElement("h2", null, title), /*#__PURE__*/React__default.createElement("p", null, subtitle)));
|
|
4961
|
+
}
|
|
4189
4962
|
|
|
4190
4963
|
function EndOfResultsObserver({
|
|
4191
4964
|
onVisible
|
|
@@ -4205,39 +4978,98 @@ function EndOfResultsObserver({
|
|
|
4205
4978
|
|
|
4206
4979
|
const resultId = (listboxId, index) => `${listboxId}-result-${index}`;
|
|
4207
4980
|
|
|
4208
|
-
var styles$
|
|
4981
|
+
var styles$e = {"result":"result-Thq2C","title":"title-KYUEn","subtitle":"subtitle-R2haq","image":"image-KVDor","avatar":"avatar-6Gh62","photo":"photo-FZR3Q","badge":"badge-trUKt"};
|
|
4209
4982
|
|
|
4210
4983
|
function SearchResult({
|
|
4984
|
+
category,
|
|
4985
|
+
describedBy,
|
|
4211
4986
|
highlighted,
|
|
4212
4987
|
id,
|
|
4988
|
+
imageUrl,
|
|
4213
4989
|
onHighlight,
|
|
4990
|
+
product,
|
|
4214
4991
|
subtitle,
|
|
4215
4992
|
title,
|
|
4216
4993
|
url
|
|
4217
4994
|
}) {
|
|
4218
4995
|
const ref = React__default.useRef(null);
|
|
4996
|
+
// A hovered result is already under the pointer, and scrolling it clear of
|
|
4997
|
+
// the panel's scroll padding would slide the list out from under the mouse.
|
|
4998
|
+
const highlightedByPointer = React__default.useRef(false);
|
|
4219
4999
|
React__default.useEffect(() => {
|
|
4220
5000
|
var _a;
|
|
4221
|
-
if (highlighted)
|
|
4222
|
-
|
|
4223
|
-
|
|
5001
|
+
if (!highlighted) return;
|
|
5002
|
+
if (highlightedByPointer.current) {
|
|
5003
|
+
highlightedByPointer.current = false;
|
|
5004
|
+
} else {
|
|
5005
|
+
(_a = ref.current) === null || _a === void 0 ? void 0 : _a.scrollIntoView({
|
|
5006
|
+
block: "nearest"
|
|
5007
|
+
});
|
|
5008
|
+
}
|
|
4224
5009
|
}, [highlighted]);
|
|
5010
|
+
const highlightFromPointer = () => {
|
|
5011
|
+
if (highlighted) return;
|
|
5012
|
+
highlightedByPointer.current = true;
|
|
5013
|
+
onHighlight();
|
|
5014
|
+
};
|
|
4225
5015
|
// Focus stays in the search input, which points at the highlighted result
|
|
4226
5016
|
// with aria-activedescendant, so results are kept out of the tab order.
|
|
4227
5017
|
// Mouse move rather than enter: arrowing scrolls results under a resting
|
|
4228
5018
|
// pointer, and that shouldn't steal the highlight.
|
|
4229
|
-
return
|
|
4230
|
-
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
|
|
5019
|
+
return (
|
|
5020
|
+
/*#__PURE__*/
|
|
5021
|
+
// Named by the title alone, so screen readers say "Ada Lovelace" rather
|
|
5022
|
+
// than the whole row. The section and subtitle are read after a pause.
|
|
5023
|
+
React__default.createElement("a", {
|
|
5024
|
+
"aria-describedby": [describedBy, subtitle && `${id}-subtitle`].filter(Boolean).join(" ") || undefined,
|
|
5025
|
+
"aria-labelledby": title ? `${id}-title` : undefined,
|
|
5026
|
+
"aria-selected": highlighted,
|
|
5027
|
+
className: styles$e.result,
|
|
5028
|
+
href: url,
|
|
5029
|
+
id: id,
|
|
5030
|
+
onMouseMove: highlightFromPointer,
|
|
5031
|
+
ref: ref,
|
|
5032
|
+
role: "option",
|
|
5033
|
+
tabIndex: -1
|
|
5034
|
+
}, /*#__PURE__*/React__default.createElement(ResultImage, {
|
|
5035
|
+
category: category,
|
|
5036
|
+
imageUrl: imageUrl,
|
|
5037
|
+
product: product
|
|
5038
|
+
}), /*#__PURE__*/React__default.createElement("span", {
|
|
5039
|
+
className: styles$e.title,
|
|
5040
|
+
id: `${id}-title`
|
|
5041
|
+
}, title), /*#__PURE__*/React__default.createElement("span", {
|
|
5042
|
+
className: styles$e.subtitle,
|
|
5043
|
+
id: `${id}-subtitle`
|
|
5044
|
+
}, subtitle))
|
|
5045
|
+
);
|
|
5046
|
+
}
|
|
5047
|
+
// A person's photo or the result's own image, badged with its product, or
|
|
5048
|
+
// just the product's logomark when there's no image.
|
|
5049
|
+
function ResultImage({
|
|
5050
|
+
category,
|
|
5051
|
+
imageUrl,
|
|
5052
|
+
product
|
|
5053
|
+
}) {
|
|
5054
|
+
const icon = size => isProductIconSlug(product) ? (/*#__PURE__*/React__default.createElement(ProductIcon, {
|
|
5055
|
+
size: size,
|
|
5056
|
+
slug: product
|
|
5057
|
+
})) : null;
|
|
5058
|
+
return /*#__PURE__*/React__default.createElement("span", {
|
|
5059
|
+
"aria-hidden": true,
|
|
5060
|
+
className: styles$e.image
|
|
5061
|
+
}, imageUrl ? (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("img", {
|
|
5062
|
+
alt: "",
|
|
5063
|
+
className: category === "profile" ? styles$e.avatar : styles$e.photo,
|
|
5064
|
+
loading: "lazy",
|
|
5065
|
+
src: imageUrl
|
|
5066
|
+
}), /*#__PURE__*/React__default.createElement("span", {
|
|
5067
|
+
className: styles$e.badge
|
|
5068
|
+
}, icon(16)))) : icon("100%"));
|
|
4239
5069
|
}
|
|
4240
5070
|
|
|
5071
|
+
var styles$d = {"heading":"heading-LioUF","group":"group-cKChg"};
|
|
5072
|
+
|
|
4241
5073
|
// Sections with a heading render as labelled groups; ones without render
|
|
4242
5074
|
// their items straight into the listbox. Indexes run across every section.
|
|
4243
5075
|
function ResultListbox({
|
|
@@ -4250,13 +5082,19 @@ function ResultListbox({
|
|
|
4250
5082
|
sections
|
|
4251
5083
|
}) {
|
|
4252
5084
|
let index = 0;
|
|
4253
|
-
|
|
5085
|
+
// With aria-activedescendant, screen readers don't reliably announce the
|
|
5086
|
+
// group a highlighted option is in, so each option names its heading too.
|
|
5087
|
+
const renderItem = (item, headingId) => {
|
|
4254
5088
|
const itemIndex = index++;
|
|
4255
5089
|
return /*#__PURE__*/React__default.createElement(SearchResult, {
|
|
5090
|
+
category: item.category,
|
|
5091
|
+
describedBy: headingId,
|
|
4256
5092
|
highlighted: itemIndex === highlightedIndex,
|
|
4257
5093
|
id: resultId(id, itemIndex),
|
|
5094
|
+
imageUrl: item.imageUrl,
|
|
4258
5095
|
key: item.key,
|
|
4259
5096
|
onHighlight: () => onHighlight(itemIndex),
|
|
5097
|
+
product: item.product,
|
|
4260
5098
|
subtitle: item.subtitle,
|
|
4261
5099
|
title: item.title,
|
|
4262
5100
|
url: item.url
|
|
@@ -4272,16 +5110,18 @@ function ResultListbox({
|
|
|
4272
5110
|
if (section.heading === undefined) {
|
|
4273
5111
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, {
|
|
4274
5112
|
key: section.key
|
|
4275
|
-
}, section.items.map(renderItem));
|
|
5113
|
+
}, section.items.map(item => renderItem(item)));
|
|
4276
5114
|
}
|
|
4277
5115
|
const headingId = `${id}-group-${sectionIndex}`;
|
|
4278
5116
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
4279
5117
|
"aria-labelledby": headingId,
|
|
5118
|
+
className: styles$d.group,
|
|
4280
5119
|
key: section.key,
|
|
4281
5120
|
role: "group"
|
|
4282
5121
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
5122
|
+
className: styles$d.heading,
|
|
4283
5123
|
id: headingId
|
|
4284
|
-
}, section.heading), section.items.map(renderItem));
|
|
5124
|
+
}, section.heading), section.items.map(item => renderItem(item, headingId)));
|
|
4285
5125
|
}));
|
|
4286
5126
|
}
|
|
4287
5127
|
|
|
@@ -4295,9 +5135,14 @@ function RecentlyVisited({
|
|
|
4295
5135
|
}) {
|
|
4296
5136
|
const headingId = `${navigation.id}-heading`;
|
|
4297
5137
|
if (items.length === 0 && !hasMore && !loading) {
|
|
4298
|
-
return /*#__PURE__*/React__default.createElement(
|
|
5138
|
+
return /*#__PURE__*/React__default.createElement(BlankState$1, {
|
|
5139
|
+
image: /*#__PURE__*/React__default.createElement(BlankStateRecentlyVisited, null),
|
|
5140
|
+
subtitle: "Pages you visit will show up here.",
|
|
5141
|
+
title: "Recently visited"
|
|
5142
|
+
});
|
|
4299
5143
|
} else {
|
|
4300
5144
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
|
|
5145
|
+
className: styles$d.heading,
|
|
4301
5146
|
id: headingId
|
|
4302
5147
|
}, "Recently visited"), /*#__PURE__*/React__default.createElement(ResultListbox, {
|
|
4303
5148
|
labelledBy: headingId,
|
|
@@ -4313,6 +5158,8 @@ function RecentlyVisited({
|
|
|
4313
5158
|
}
|
|
4314
5159
|
}
|
|
4315
5160
|
|
|
5161
|
+
var styles$c = {"row":"row-5P7UQ","header":"header-sXEyG","closeButton":"closeButton-rPJJV","input":"input-YQkTC","clearButton":"clearButton-9Yh9w"};
|
|
5162
|
+
|
|
4316
5163
|
// A combobox: focus stays here while aria-activedescendant points screen
|
|
4317
5164
|
// readers at the highlighted result in the listbox it controls.
|
|
4318
5165
|
function SearchInput({
|
|
@@ -4321,29 +5168,433 @@ function SearchInput({
|
|
|
4321
5168
|
inputRef,
|
|
4322
5169
|
listboxId,
|
|
4323
5170
|
onChange,
|
|
5171
|
+
onClose,
|
|
4324
5172
|
onFocus,
|
|
4325
5173
|
onKeyDown,
|
|
4326
5174
|
value
|
|
4327
5175
|
}) {
|
|
4328
|
-
|
|
5176
|
+
const {
|
|
5177
|
+
focusProps
|
|
5178
|
+
} = useKeyboardFocus({
|
|
5179
|
+
onFocus: (event, keyboard) => {
|
|
5180
|
+
// Tabbing in selects the whole term, which the next keystroke would
|
|
5181
|
+
// replace. Put the cursor after it instead, to keep typing. The
|
|
5182
|
+
// browser selects after the focus event, so this waits a frame and
|
|
5183
|
+
// only undoes that select-all: typing on the tabs moves focus here by
|
|
5184
|
+
// script, which keeps the cursor, and the keystroke may already be in.
|
|
5185
|
+
if (keyboard) {
|
|
5186
|
+
const input = event.currentTarget;
|
|
5187
|
+
requestAnimationFrame(() => {
|
|
5188
|
+
const length = input.value.length;
|
|
5189
|
+
const selectedAll = length > 0 && input.selectionStart === 0 && input.selectionEnd === length;
|
|
5190
|
+
if (document.activeElement !== input || !selectedAll) return;
|
|
5191
|
+
input.setSelectionRange(length, length);
|
|
5192
|
+
});
|
|
5193
|
+
}
|
|
5194
|
+
onFocus();
|
|
5195
|
+
}
|
|
5196
|
+
});
|
|
5197
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
5198
|
+
className: styles$c.row
|
|
5199
|
+
}, /*#__PURE__*/React__default.createElement("label", {
|
|
5200
|
+
className: styles$c.header
|
|
5201
|
+
}, /*#__PURE__*/React__default.createElement(Icon, {
|
|
5202
|
+
name: "general.search",
|
|
5203
|
+
size: 20,
|
|
5204
|
+
theme: "--t-icon-color-dim"
|
|
5205
|
+
}), /*#__PURE__*/React__default.createElement("input", {
|
|
4329
5206
|
"aria-activedescendant": highlightedIndex === null ? undefined : resultId(listboxId, highlightedIndex),
|
|
4330
5207
|
"aria-autocomplete": "list",
|
|
4331
5208
|
"aria-controls": expanded ? listboxId : undefined,
|
|
4332
5209
|
"aria-expanded": expanded,
|
|
4333
5210
|
"aria-label": "Search",
|
|
4334
5211
|
autoFocus: true,
|
|
5212
|
+
className: styles$c.input,
|
|
5213
|
+
id: "product_search",
|
|
4335
5214
|
onChange: event => onChange(event.target.value),
|
|
4336
|
-
onFocus: onFocus,
|
|
4337
5215
|
onKeyDown: onKeyDown,
|
|
4338
5216
|
placeholder: "Search",
|
|
4339
5217
|
ref: inputRef,
|
|
4340
5218
|
role: "combobox",
|
|
4341
5219
|
type: "search",
|
|
4342
|
-
value: value
|
|
4343
|
-
|
|
5220
|
+
value: value,
|
|
5221
|
+
...focusProps
|
|
5222
|
+
}), !onClose && value !== "" && (/*#__PURE__*/React__default.createElement("button", {
|
|
5223
|
+
"aria-label": "Clear search",
|
|
5224
|
+
className: styles$c.clearButton,
|
|
5225
|
+
onClick: () => {
|
|
5226
|
+
var _a;
|
|
5227
|
+
onChange("");
|
|
5228
|
+
(_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.focus();
|
|
5229
|
+
},
|
|
5230
|
+
tabIndex: -1,
|
|
5231
|
+
type: "button"
|
|
5232
|
+
}, /*#__PURE__*/React__default.createElement(Icon, {
|
|
5233
|
+
name: "general.smallX"
|
|
5234
|
+
})))), onClose && (/*#__PURE__*/React__default.createElement(IconButton, {
|
|
5235
|
+
"aria-label": "Close search",
|
|
5236
|
+
className: styles$c.closeButton,
|
|
5237
|
+
icon: /*#__PURE__*/React__default.createElement(Icon, {
|
|
5238
|
+
name: "general.x",
|
|
5239
|
+
theme: "--t-icon-color-dim"
|
|
5240
|
+
}),
|
|
5241
|
+
kind: "ghost",
|
|
5242
|
+
onClick: onClose,
|
|
5243
|
+
size: "md"
|
|
5244
|
+
})));
|
|
5245
|
+
}
|
|
5246
|
+
|
|
5247
|
+
function BlankStateError(props) {
|
|
5248
|
+
const id = useInstanceId("blank-state-error");
|
|
5249
|
+
return /*#__PURE__*/React__default.createElement("svg", {
|
|
5250
|
+
viewBox: "0 0 197 158",
|
|
5251
|
+
fill: "none",
|
|
5252
|
+
"aria-hidden": "true",
|
|
5253
|
+
focusable: "false",
|
|
5254
|
+
...props
|
|
5255
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
5256
|
+
d: "M139.863 26.119c10.938 10.028 21.777 20.154 32.912 30.084 8.376 7.373 21.975 15.828 23.157 28.02.592 6.095-2.167 11.993-5.321 17.204-24.635 40.8-81.098 67.148-127.412 48.862-30.646-12.093-76.172-47.387-59.716-85.041C19.348 28.87 68.323 10.192 87.44 7.538c21.876-4.621 34.883 2.457 52.423 18.58Z",
|
|
5257
|
+
fill: "currentColor"
|
|
5258
|
+
}), /*#__PURE__*/React__default.createElement("g", {
|
|
5259
|
+
clipPath: `url(#${id}-a)`
|
|
5260
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
5261
|
+
d: "M76.296 111.268c-2.63 0-5.95-.883-9.822-3.622a3.39 3.39 0 0 1-1.375-2.212 3.375 3.375 0 0 1 .603-2.529 3.44 3.44 0 0 1 4.777-.767c5.305 3.786 7.949 1.838 8.056 1.767a1.23 1.23 0 0 0-.094.08l4.62 5.004a10.434 10.434 0 0 1-6.765 2.279Z",
|
|
5262
|
+
fill: "#4D4D4D"
|
|
5263
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5264
|
+
d: "M83.313 102.999a2.751 2.751 0 0 0-2.882-2.611 2.747 2.747 0 0 0-2.63 2.86l.399 8.688a2.751 2.751 0 0 0 2.882 2.611 2.746 2.746 0 0 0 2.63-2.86l-.399-8.688Z",
|
|
5265
|
+
fill: "gray"
|
|
5266
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5267
|
+
d: "M119.428 111.268a10.438 10.438 0 0 1-6.751-2.292l4.619-5.005a1.387 1.387 0 0 0-.093-.079c.106.084 2.75 2.032 8.055-1.767a3.439 3.439 0 0 1 4.777.766 3.378 3.378 0 0 1-.772 4.742c-3.885 2.774-7.205 3.635-9.835 3.635Z",
|
|
5268
|
+
fill: "#4D4D4D"
|
|
5269
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5270
|
+
d: "M101.658 18.962H94.68v1.533h6.978v-1.533Z",
|
|
5271
|
+
fill: "#F2F2F2"
|
|
5272
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5273
|
+
d: "M91.823 74.82a12.502 12.502 0 0 0 9.546 1.299 16.005 16.005 0 0 0 3.151-1.326.894.894 0 0 1 1.035.24.882.882 0 0 1 .064 1.053c-2.67 3.345-7.775 4.294-11.62 2.514a8.803 8.803 0 0 1-3.302-2.513.879.879 0 0 1 .561-1.353.887.887 0 0 1 .565.068v.017Z",
|
|
5274
|
+
fill: "#999"
|
|
5275
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5276
|
+
d: "M88.236 143.397a3.433 3.433 0 0 1-2.304-.891 3.383 3.383 0 0 1-1.096-2.201c-.636-6.788 4.237-16.369 4.798-17.442a3.41 3.41 0 0 1 2-1.643 3.442 3.442 0 0 1 2.586.227 3.398 3.398 0 0 1 1.68 1.965 3.368 3.368 0 0 1-.196 2.569c-1.75 3.37-4.402 10.066-4.059 13.693a3.38 3.38 0 0 1-.773 2.479 3.43 3.43 0 0 1-2.31 1.213l-.326.031Z",
|
|
5277
|
+
fill: "#4D4D4D"
|
|
5278
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5279
|
+
d: "M91.645 132.708c3.972 0 7.192-3.195 7.192-7.138 0-3.942-3.22-7.137-7.192-7.137s-7.191 3.195-7.191 7.137c0 3.943 3.22 7.138 7.191 7.138Z",
|
|
5280
|
+
fill: "gray"
|
|
5281
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5282
|
+
d: "M77.765 152.218h14.134v4.417c0 .351-.141.689-.391.937-.25.249-.59.388-.944.388H75.33a1.34 1.34 0 0 1-.945-.388 1.32 1.32 0 0 1-.39-.937v-.671c0-.997.398-1.953 1.109-2.658a3.801 3.801 0 0 1 2.678-1.101l-.018.013Z",
|
|
5283
|
+
fill: "#333"
|
|
5284
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5285
|
+
d: "M88.548 156.141s9.697.141 7.592-9.797c-2.105-9.939-14.641-18.198-18.295-7.191-3.654 11.007-1.695 18.056 10.703 16.988Z",
|
|
5286
|
+
fill: "#F2F2F2"
|
|
5287
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5288
|
+
d: "M109.077 143.402h-.325a3.427 3.427 0 0 1-2.313-1.216 3.38 3.38 0 0 1-.771-2.481c.342-3.627-2.305-10.323-4.054-13.693a3.371 3.371 0 0 1-.11-2.514c.29-.821.887-1.5 1.666-1.897a3.44 3.44 0 0 1 2.525-.236 3.413 3.413 0 0 1 1.993 1.555c.556 1.069 5.429 10.654 4.789 17.443a3.383 3.383 0 0 1-1.113 2.167 3.426 3.426 0 0 1-2.287.872Z",
|
|
5289
|
+
fill: "#4D4D4D"
|
|
5290
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5291
|
+
d: "M105.672 132.708c3.972 0 7.192-3.195 7.192-7.138 0-3.942-3.22-7.137-7.192-7.137s-7.191 3.195-7.191 7.137c0 3.943 3.219 7.138 7.191 7.138Z",
|
|
5292
|
+
fill: "gray"
|
|
5293
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5294
|
+
d: "m121.972 158.007-15.22-.003c-.354 0-.693-.139-.943-.388a1.317 1.317 0 0 1-.391-.937v-4.417l14.139.003c1.004 0 1.967.396 2.678 1.101a3.745 3.745 0 0 1 1.108 2.658v.671c0 .352-.141.689-.391.937-.25.249-.59.388-.944.388l-.036-.013Z",
|
|
5295
|
+
fill: "#333"
|
|
5296
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5297
|
+
d: "M108.769 156.145s-9.701.137-7.587-9.801c2.114-9.939 14.645-18.19 18.295-7.187 3.649 11.003 1.682 18.061-10.708 16.988Z",
|
|
5298
|
+
fill: "#F2F2F2"
|
|
5299
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5300
|
+
d: "M112.002 111.683c-.07 1.51 1.108 2.791 2.63 2.86a2.75 2.75 0 0 0 2.882-2.611l.399-8.688a2.746 2.746 0 0 0-2.63-2.86 2.75 2.75 0 0 0-2.882 2.611l-.399 8.688Z",
|
|
5301
|
+
fill: "gray"
|
|
5302
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5303
|
+
d: "M47.508 75.88c5.223 0 9.457-6.265 9.457-13.994 0-7.728-4.234-13.993-9.457-13.993-5.223 0-9.457 6.265-9.457 13.993 0 7.729 4.234 13.993 9.457 13.993Zm101.082.017c5.223 0 9.457-6.265 9.457-13.993 0-7.728-4.234-13.993-9.457-13.993-5.223 0-9.457 6.265-9.457 13.993 0 7.728 4.234 13.993 9.457 13.993Z",
|
|
5304
|
+
fill: "#3690EA"
|
|
5305
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5306
|
+
d: "M94.622 16.97c-.133-.574 7.868-1.1 6.987.296 0 .305 0 .61.022.914 0 .884.04 1.767.04 2.681 0 .915.041 1.886.054 2.832.334.706-7.78 1.113-6.991-.133v-.795c-.036-1.935-.09-3.86-.112-5.795Z",
|
|
5307
|
+
fill: "#F2F2F2"
|
|
5308
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5309
|
+
d: "M98.174 34.426c8.734 0 15.816-2.636 15.816-5.888s-7.082-5.888-15.816-5.888c-8.736 0-15.817 2.637-15.817 5.888 0 3.252 7.082 5.888 15.817 5.888Z",
|
|
5310
|
+
fill: "#B3B3B3"
|
|
5311
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5312
|
+
d: "M98.174 19.625c5.458 0 9.883-4.393 9.883-9.81 0-5.418-4.425-9.81-9.883-9.81-5.46 0-9.884 4.392-9.884 9.81s4.425 9.81 9.883 9.81Z",
|
|
5313
|
+
fill: "#3690EA"
|
|
5314
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5315
|
+
d: "M116.339 111.123c-.614-10.782-8.958-13.874-19.002-13.309-10.044.566-17.979 4.567-17.356 15.354.623 10.786 9.252 19.063 19.296 18.498 10.044-.565 17.676-9.761 17.062-20.543Z",
|
|
5316
|
+
fill: "#F2F2F2"
|
|
5317
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5318
|
+
d: "M116.139 109.4c-1.268 8.891-8.171 15.901-16.884 16.378-9.43.53-17.623-6.74-19.096-16.559a17.615 17.615 0 0 0-.205 3.949c.619 10.781 9.257 19.063 19.297 18.498 10.039-.566 17.685-9.762 17.07-20.544a11.69 11.69 0 0 0-.182-1.722Z",
|
|
5319
|
+
fill: "#E6E6E6"
|
|
5320
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5321
|
+
d: "M94.609 92.558c-.134-.579 7.868-1.1 6.987.291v.915c0 .883.035 1.789.04 2.68.004.893.04 1.891.053 2.837.334.702-7.779 1.108-6.991-.137v-.796c-.013-1.93-.067-3.86-.089-5.79Z",
|
|
5322
|
+
fill: "#999"
|
|
5323
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5324
|
+
d: "M150.588 70.279V53.525a22.366 22.366 0 0 0-4.425-13.4 22.645 22.645 0 0 0-11.596-8.146c-10.613-3.19-23.061-5.027-36.376-5.031-13.315-.004-25.762 1.833-36.38 5.018a22.654 22.654 0 0 0-11.609 8.14 22.374 22.374 0 0 0-4.438 13.401v16.754a22.375 22.375 0 0 0 4.435 13.403 22.654 22.654 0 0 0 11.607 8.143c10.614 3.19 23.061 5.026 36.376 5.031 13.315.004 25.763-1.833 36.376-5.018a22.658 22.658 0 0 0 11.598-8.144 22.377 22.377 0 0 0 4.432-13.397Z",
|
|
5325
|
+
fill: "#F2F2F2"
|
|
5326
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5327
|
+
d: "M98.16 88.976c-12.087 0-23.87-1.626-34.08-4.695a14.817 14.817 0 0 1-7.522-5.316 14.635 14.635 0 0 1-2.891-8.704V53.507a14.64 14.64 0 0 1 2.89-8.698 14.82 14.82 0 0 1 7.514-5.317c10.21-3.065 21.993-4.682 34.085-4.682 12.091 0 23.871 1.626 34.079 4.696a14.817 14.817 0 0 1 7.523 5.315 14.635 14.635 0 0 1 2.891 8.704V70.28a14.635 14.635 0 0 1-2.897 8.703 14.824 14.824 0 0 1-7.525 5.312c-10.191 3.047-21.976 4.682-34.067 4.682Zm3.498-70.014H94.68v1.533h6.978v-1.533Z",
|
|
5328
|
+
fill: "#E6E6E6"
|
|
5329
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5330
|
+
d: "M72.367 78.304c5.195 0 9.407-7.348 9.407-16.413 0-9.065-4.212-16.414-9.407-16.414-5.196 0-9.408 7.349-9.408 16.414 0 9.065 4.212 16.413 9.408 16.413Z",
|
|
5331
|
+
fill: "#1A1A1A"
|
|
5332
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5333
|
+
d: "M74.013 62.558c2.094 0 3.792-2.476 3.792-5.53 0-3.054-1.698-5.53-3.792-5.53s-3.791 2.476-3.791 5.53c0 3.054 1.697 5.53 3.791 5.53Z",
|
|
5334
|
+
fill: "#fff"
|
|
5335
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5336
|
+
d: "M123.032 78.313c5.196 0 9.408-7.349 9.408-16.413 0-9.065-4.212-16.414-9.408-16.414-5.195 0-9.407 7.349-9.407 16.414 0 9.065 4.212 16.413 9.407 16.413Z",
|
|
5337
|
+
fill: "#1A1A1A"
|
|
5338
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5339
|
+
d: "M124.679 62.567c2.094 0 3.792-2.476 3.792-5.53 0-3.054-1.698-5.53-3.792-5.53s-3.792 2.476-3.792 5.53c0 3.054 1.698 5.53 3.792 5.53Z",
|
|
5340
|
+
fill: "#fff"
|
|
5341
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5342
|
+
d: "M105.325 106.675H90.991a.74.74 0 0 0-.743.737v2.089a.74.74 0 0 0 .743.738h14.334a.74.74 0 0 0 .743-.738v-2.089a.74.74 0 0 0-.743-.737Zm0 6.148H90.991a.74.74 0 0 0-.743.738v2.089a.74.74 0 0 0 .743.738h14.334c.41 0 .743-.331.743-.738v-2.089a.74.74 0 0 0-.743-.738Zm-.004 6.153H90.987a.74.74 0 0 0-.744.737v2.09a.74.74 0 0 0 .744.737h14.334a.74.74 0 0 0 .743-.737v-2.09a.74.74 0 0 0-.743-.737Z",
|
|
5343
|
+
fill: "#3690EA"
|
|
5344
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5345
|
+
d: "M140.653 109.023c5.67-4.178 7.656-11.053 4.438-15.356-3.219-4.303-10.424-4.405-16.094-.227-5.67 4.177-7.656 11.052-4.438 15.356 3.219 4.303 10.424 4.405 16.094.227Z",
|
|
5346
|
+
fill: "#F2F2F2"
|
|
5347
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5348
|
+
d: "M144.211 97.717c-3.217-4.302-10.422-4.417-16.092-.23a15.277 15.277 0 0 0-5.087 6.339c.067-3.613 2.194-7.58 5.964-10.358 5.669-4.174 12.874-4.073 16.092.23 1.86 2.486 1.976 5.83.649 9.019a7.943 7.943 0 0 0-1.526-5Z",
|
|
5349
|
+
fill: "#E6E6E6"
|
|
5350
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5351
|
+
d: "M141.051 91.524c.966-1.66.874-3.508-.205-4.126-1.08-.618-2.737.226-3.703 1.887-.966 1.66-.874 3.508.205 4.126 1.079.619 2.737-.226 3.703-1.887Z",
|
|
5352
|
+
fill: "#333"
|
|
5353
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5354
|
+
d: "M142.711 103.49c4.151 0 7.517-3.34 7.517-7.46s-3.366-7.46-7.517-7.46-7.516 3.34-7.516 7.46 3.365 7.46 7.516 7.46Z",
|
|
5355
|
+
fill: "#333"
|
|
5356
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5357
|
+
d: "M70.234 108.894c3.219-4.303 1.232-11.178-4.437-15.356-5.67-4.178-12.875-4.076-16.094.227-3.219 4.303-1.232 11.179 4.438 15.356 5.67 4.178 12.875 4.076 16.093-.227Z",
|
|
5358
|
+
fill: "#F2F2F2"
|
|
5359
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5360
|
+
d: "M50.574 97.717c3.218-4.302 10.422-4.417 16.092-.23a15.273 15.273 0 0 1 5.087 6.339c-.067-3.613-2.194-7.58-5.964-10.358-5.67-4.174-12.874-4.073-16.092.23-1.86 2.486-1.971 5.83-.65 9.019a7.945 7.945 0 0 1 1.527-5Z",
|
|
5361
|
+
fill: "#E6E6E6"
|
|
5362
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5363
|
+
d: "M57.434 93.41c1.08-.618 1.171-2.466.206-4.126-.966-1.66-2.624-2.506-3.703-1.887-1.08.618-1.171 2.466-.205 4.126.965 1.66 2.623 2.506 3.702 1.887Z",
|
|
5364
|
+
fill: "#333"
|
|
5365
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5366
|
+
d: "M52.074 103.49c4.151 0 7.516-3.34 7.516-7.46s-3.365-7.46-7.516-7.46-7.517 3.34-7.517 7.46 3.366 7.46 7.517 7.46Z",
|
|
5367
|
+
fill: "#333"
|
|
5368
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5369
|
+
d: "M98.485 83.08c1.523-.183 2.609-1.544 2.426-3.041-.183-1.497-1.565-2.561-3.088-2.378-1.522.183-2.608 1.544-2.425 3.041.182 1.497 1.565 2.561 3.087 2.378Z",
|
|
5370
|
+
fill: "#1A1A1A"
|
|
5371
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5372
|
+
d: "M101.729 11.17c1.733 0 3.138-1.394 3.138-3.113 0-1.72-1.405-3.114-3.138-3.114-1.733 0-3.137 1.394-3.137 3.114s1.404 3.114 3.137 3.114Zm52.37 52.753c.829 0 1.5-1.677 1.5-3.746s-.671-3.746-1.5-3.746c-.828 0-1.499 1.677-1.499 3.746s.671 3.746 1.499 3.746Zm-111.549 0c.829 0 1.5-1.677 1.5-3.746s-.671-3.746-1.5-3.746c-.828 0-1.5 1.677-1.5 3.746s.672 3.746 1.5 3.746Z",
|
|
5373
|
+
fill: "#4BAAF7"
|
|
5374
|
+
})), /*#__PURE__*/React__default.createElement("mask", {
|
|
5375
|
+
id: `${id}-b`,
|
|
5376
|
+
style: {
|
|
5377
|
+
maskType: "alpha"
|
|
5378
|
+
},
|
|
5379
|
+
maskUnits: "userSpaceOnUse",
|
|
5380
|
+
x: "0",
|
|
5381
|
+
y: "6",
|
|
5382
|
+
width: "197",
|
|
5383
|
+
height: "151"
|
|
5384
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
5385
|
+
d: "M139.863 26.12c10.938 10.028 21.777 20.154 32.912 30.084 8.376 7.373 21.975 15.828 23.157 28.02.592 6.095-2.167 11.993-5.321 17.204-24.635 40.8-81.098 67.148-127.412 48.862-30.646-12.093-76.172-47.387-59.716-85.041 15.865-36.377 64.84-55.056 83.957-57.71 21.876-4.621 34.883 2.457 52.423 18.58Z",
|
|
5386
|
+
fill: "#CEE1FF",
|
|
5387
|
+
fillOpacity: ".8"
|
|
5388
|
+
})), /*#__PURE__*/React__default.createElement("g", {
|
|
5389
|
+
mask: `url(#${id}-b)`
|
|
5390
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
5391
|
+
d: "m59.006 101 8 4m-4 1-4-5h6",
|
|
5392
|
+
stroke: "#FFD463"
|
|
5393
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5394
|
+
d: "M60.006 100.999c-14.02-9.35-30.69-13.01-50-11S-26.916 103.01-38.276 115",
|
|
5395
|
+
strokeWidth: "2",
|
|
5396
|
+
stroke: "#fff"
|
|
5397
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5398
|
+
d: "m125.304 89-8.08 3.84m1.68-3.77 6.4-.07-3.7 4.72",
|
|
5399
|
+
stroke: "#FFD463"
|
|
5400
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5401
|
+
d: "M123.724 89.5c26.45-8.66 23 40.5 47 42.5 22.399 1.867 36.5-31.001 63 12",
|
|
5402
|
+
strokeWidth: "2",
|
|
5403
|
+
stroke: "#fff"
|
|
5404
|
+
})), /*#__PURE__*/React__default.createElement("defs", null, /*#__PURE__*/React__default.createElement("clipPath", {
|
|
5405
|
+
id: `${id}-a`
|
|
5406
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
5407
|
+
fill: "#fff",
|
|
5408
|
+
transform: "translate(38.051)",
|
|
5409
|
+
d: "M0 0h120v158H0z"
|
|
5410
|
+
}))));
|
|
5411
|
+
}
|
|
5412
|
+
|
|
5413
|
+
function BlankStateNoResults(props) {
|
|
5414
|
+
const id = useInstanceId("blank-state-no-results");
|
|
5415
|
+
return /*#__PURE__*/React__default.createElement("svg", {
|
|
5416
|
+
viewBox: "0 0 197 152",
|
|
5417
|
+
fill: "none",
|
|
5418
|
+
"aria-hidden": "true",
|
|
5419
|
+
focusable: "false",
|
|
5420
|
+
...props
|
|
5421
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
5422
|
+
d: "M139.863 19.971C150.801 30 161.64 40.126 172.775 50.055c8.376 7.374 21.975 15.829 23.157 28.02.592 6.095-2.167 11.994-5.321 17.205-24.635 40.8-81.098 67.148-127.412 48.862C32.553 132.049-12.973 96.754 3.483 59.1 19.348 22.724 68.323 4.044 87.44 1.39c21.876-4.62 34.883 2.458 52.423 18.581Z",
|
|
5423
|
+
fill: "currentColor"
|
|
5424
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5425
|
+
d: "M94.382 27.326c4.859 0 8.797-3.932 8.797-8.783 0-4.85-3.938-8.783-8.797-8.783-4.858 0-8.796 3.933-8.796 8.783 0 4.851 3.938 8.783 8.796 8.783Z",
|
|
5426
|
+
fill: "#3690EA"
|
|
5427
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5428
|
+
d: "M97.481 19.861a3.22 3.22 0 0 0 3.222-3.217 3.22 3.22 0 0 0-3.222-3.217 3.22 3.22 0 0 0-3.222 3.217 3.22 3.22 0 0 0 3.222 3.217Z",
|
|
5429
|
+
fill: "#4BAAF7"
|
|
5430
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5431
|
+
d: "M97.564 26.688h-6.248v3.565h6.248v-3.565Z",
|
|
5432
|
+
fill: "#F2F2F2"
|
|
5433
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5434
|
+
d: "M49.297 77.706c4.649 0 8.417-5.61 8.417-12.53 0-6.921-3.768-12.531-8.417-12.531s-8.417 5.61-8.417 12.53c0 6.92 3.768 12.531 8.417 12.531Zm89.958 0c4.649 0 8.417-5.61 8.417-12.53 0-6.921-3.768-12.531-8.417-12.531s-8.417 5.61-8.417 12.53c0 6.92 3.768 12.531 8.417 12.531Z",
|
|
5435
|
+
fill: "#3690EA"
|
|
5436
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5437
|
+
d: "M94.379 40.574c7.774 0 14.076-2.36 14.076-5.271 0-2.912-6.302-5.272-14.076-5.272-7.774 0-14.076 2.36-14.076 5.272 0 2.911 6.302 5.271 14.076 5.271Z",
|
|
5438
|
+
fill: "#B3B3B3"
|
|
5439
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5440
|
+
d: "M141.036 72.671V57.672a20.118 20.118 0 0 0-3.949-12 20.166 20.166 0 0 0-10.333-7.29c-9.448-2.852-20.529-4.497-32.379-4.497-11.849 0-22.926 1.645-32.374 4.497a20.167 20.167 0 0 0-10.331 7.29 20.117 20.117 0 0 0-3.95 12v15a20.112 20.112 0 0 0 3.949 12A20.163 20.163 0 0 0 62 91.962c9.448 2.856 20.53 4.496 32.375 4.496 11.844 0 22.93-1.64 32.378-4.496a20.153 20.153 0 0 0 10.333-7.289 20.107 20.107 0 0 0 3.949-12.002Z",
|
|
5441
|
+
fill: "#F2F2F2"
|
|
5442
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5443
|
+
d: "M94.387 89.422c-10.76 0-21.248-1.448-30.348-4.193a13.19 13.19 0 0 1-6.698-4.759 13.159 13.159 0 0 1-2.576-7.794v-15a13.163 13.163 0 0 1 2.577-7.793 13.196 13.196 0 0 1 6.697-4.76c9.082-2.744 19.574-4.193 30.348-4.193 10.773 0 21.248 1.449 30.348 4.194a13.2 13.2 0 0 1 6.701 4.757 13.17 13.17 0 0 1 2.582 7.795v15a13.164 13.164 0 0 1-2.577 7.794 13.195 13.195 0 0 1-6.697 4.759c-9.109 2.727-19.597 4.193-30.357 4.193Z",
|
|
5444
|
+
fill: "#E6E6E6"
|
|
5445
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5446
|
+
d: "M71.426 79.868c4.624 0 8.373-6.58 8.373-14.696s-3.749-14.696-8.373-14.696c-4.624 0-8.372 6.58-8.372 14.696 0 8.117 3.748 14.697 8.372 14.697Z",
|
|
5447
|
+
fill: "#1A1A1A"
|
|
5448
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5449
|
+
d: "M72.894 65.765c1.863 0 3.373-2.217 3.373-4.95 0-2.735-1.51-4.952-3.373-4.952-1.864 0-3.375 2.217-3.375 4.951 0 2.734 1.511 4.95 3.374 4.95Z",
|
|
5450
|
+
fill: "#fff"
|
|
5451
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5452
|
+
d: "M116.517 79.868c4.624 0 8.373-6.58 8.373-14.696s-3.749-14.696-8.373-14.696c-4.624 0-8.372 6.58-8.372 14.696 0 8.117 3.748 14.697 8.372 14.697Z",
|
|
5453
|
+
fill: "#1A1A1A"
|
|
5454
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5455
|
+
d: "M117.981 65.765c1.864 0 3.374-2.217 3.374-4.95 0-2.735-1.51-4.952-3.374-4.952-1.863 0-3.374 2.217-3.374 4.951 0 2.734 1.511 4.95 3.374 4.95Z",
|
|
5456
|
+
fill: "#fff"
|
|
5457
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5458
|
+
d: "M100.012 80.196a14.156 14.156 0 0 0-2.785-1.159 10.598 10.598 0 0 0-5.713 0 14.09 14.09 0 0 0-2.78 1.159h-.027a.773.773 0 0 1-.973-1.159 8.74 8.74 0 0 1 6.639-3.049 8.754 8.754 0 0 1 6.638 3.05.773.773 0 0 1-.977 1.158h-.022Z",
|
|
5459
|
+
fill: "#999"
|
|
5460
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5461
|
+
d: "M44.788 67.69c.853 0 1.545-1.731 1.545-3.867 0-2.137-.692-3.868-1.545-3.868-.852 0-1.544 1.731-1.544 3.867 0 2.137.691 3.868 1.544 3.868Zm99.38 0c.853 0 1.544-1.731 1.544-3.867 0-2.137-.691-3.868-1.544-3.868-.853 0-1.544 1.731-1.544 3.867 0 2.137.691 3.868 1.544 3.868Z",
|
|
5462
|
+
fill: "#4BAAF7"
|
|
5463
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5464
|
+
d: "M79.596 106.857s-13.835 0-13.835-18.752",
|
|
5465
|
+
strokeWidth: "13.63",
|
|
5466
|
+
strokeMiterlimit: "10",
|
|
5467
|
+
strokeLinecap: "round",
|
|
5468
|
+
stroke: "#4D4D4D"
|
|
5469
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5470
|
+
d: "M79.295 99.708h-.004a2.453 2.453 0 0 0-2.34 2.56l.353 7.781a2.453 2.453 0 0 0 2.564 2.337h.004a2.452 2.452 0 0 0 2.34-2.559l-.353-7.782a2.453 2.453 0 0 0-2.564-2.337Z",
|
|
5471
|
+
fill: "gray"
|
|
5472
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5473
|
+
d: "M109.137 104.385s3.851 3.681 10.947-1.181",
|
|
5474
|
+
strokeWidth: "13.63",
|
|
5475
|
+
strokeMiterlimit: "10",
|
|
5476
|
+
strokeLinecap: "round",
|
|
5477
|
+
stroke: "#4D4D4D"
|
|
5478
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5479
|
+
d: "m107.907 112.125.004.001a2.455 2.455 0 0 0 2.859-1.966l1.414-7.661a2.451 2.451 0 0 0-1.97-2.854h-.004a2.455 2.455 0 0 0-2.859 1.965l-1.413 7.661a2.45 2.45 0 0 0 1.969 2.854Z",
|
|
5480
|
+
fill: "gray"
|
|
5481
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5482
|
+
d: "M89.494 121.176s-4.44 8.569-3.936 13.934",
|
|
5483
|
+
strokeWidth: "13.63",
|
|
5484
|
+
strokeMiterlimit: "10",
|
|
5485
|
+
strokeLinecap: "round",
|
|
5486
|
+
stroke: "#4D4D4D"
|
|
5487
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5488
|
+
d: "M88.59 128.571c3.535 0 6.4-2.861 6.4-6.39a6.395 6.395 0 0 0-6.4-6.39 6.395 6.395 0 0 0-6.4 6.39 6.395 6.395 0 0 0 6.4 6.39Z",
|
|
5489
|
+
fill: "gray"
|
|
5490
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5491
|
+
d: "M76.233 146.043h12.585v3.966a1.205 1.205 0 0 1-1.205 1.204H74.068a1.205 1.205 0 0 1-1.205-1.204v-.601a3.367 3.367 0 0 1 .989-2.378 3.38 3.38 0 0 1 2.38-.987Z",
|
|
5492
|
+
fill: "#333"
|
|
5493
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5494
|
+
d: "M85.808 149.557s8.631.125 6.752-8.774c-1.878-8.899-13-16.291-16.263-6.434-3.262 9.857-1.499 16.166 9.511 15.208Z",
|
|
5495
|
+
fill: "#F2F2F2"
|
|
5496
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5497
|
+
d: "M100.159 121.176s4.463 8.569 3.937 13.934",
|
|
5498
|
+
strokeWidth: "13.63",
|
|
5499
|
+
strokeMiterlimit: "10",
|
|
5500
|
+
strokeLinecap: "round",
|
|
5501
|
+
stroke: "#4D4D4D"
|
|
5502
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5503
|
+
d: "M101.064 128.571c3.534 0 6.4-2.861 6.4-6.39 0-3.529-2.866-6.39-6.4-6.39a6.395 6.395 0 0 0-6.4 6.39 6.395 6.395 0 0 0 6.4 6.39Z",
|
|
5504
|
+
fill: "gray"
|
|
5505
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5506
|
+
d: "M115.584 151.216h-13.545a1.206 1.206 0 0 1-1.205-1.203v-3.98h12.586a3.37 3.37 0 0 1 3.374 3.369v.602a1.21 1.21 0 0 1-.745 1.121 1.23 1.23 0 0 1-.465.091Z",
|
|
5507
|
+
fill: "#333"
|
|
5508
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5509
|
+
d: "M103.838 149.557s-8.632.125-6.757-8.774c1.874-8.899 13.036-16.291 16.285-6.434 3.249 9.857 1.5 16.166-9.528 15.208Zm6.725-40.315c-.549-9.652-7.975-12.415-16.91-11.907-8.935.508-16.004 4.091-15.455 13.748.549 9.656 8.243 17.067 17.178 16.559 8.935-.508 15.736-8.743 15.187-18.4Z",
|
|
5510
|
+
fill: "#F2F2F2"
|
|
5511
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5512
|
+
d: "M110.402 107.707c-1.129 7.958-7.271 14.228-15.027 14.665-8.39.477-15.683-6.034-16.995-14.821a15.77 15.77 0 0 0-.183 3.533c.549 9.652 8.239 17.067 17.178 16.559 8.939-.508 15.736-8.742 15.174-18.399a14.03 14.03 0 0 0-.147-1.537Z",
|
|
5513
|
+
fill: "#E6E6E6"
|
|
5514
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5515
|
+
d: "M100.76 105.262H88a.66.66 0 0 0-.66.66v1.871c0 .365.296.66.66.66h12.76a.66.66 0 0 0 .66-.66v-1.871a.66.66 0 0 0-.66-.66Zm0 5.512H88a.66.66 0 0 0-.66.66v1.871c0 .364.296.66.66.66h12.76a.66.66 0 0 0 .66-.66v-1.871a.66.66 0 0 0-.66-.66Zm0 5.505H88a.66.66 0 0 0-.66.66v1.871c0 .364.296.66.66.66h12.76a.66.66 0 0 0 .66-.66v-1.871a.66.66 0 0 0-.66-.66Z",
|
|
5516
|
+
fill: "#3690EA"
|
|
5517
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5518
|
+
d: "M133.43 107.146c5.688-4.463 7.529-11.6 4.111-15.943-3.417-4.343-10.799-4.245-16.487.218-5.688 4.463-7.529 11.601-4.111 15.943 3.417 4.343 10.799 4.245 16.487-.218Z",
|
|
5519
|
+
fill: "#F2F2F2"
|
|
5520
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5521
|
+
d: "M136.74 95.34c-3.418-4.344-10.8-4.246-16.486.22a15.744 15.744 0 0 0-5.034 6.683c-.031-3.725 2.035-7.87 5.802-10.837 5.69-4.456 13.072-4.559 16.491-.218 1.972 2.508 2.182 5.953.919 9.273a8.246 8.246 0 0 0-1.692-5.12Z",
|
|
5522
|
+
fill: "#E6E6E6"
|
|
5523
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5524
|
+
d: "M127.405 89.78c1.87.546 3.824.751 5.766.605v0a16.153 16.153 0 0 0 9.056-3.631",
|
|
5525
|
+
strokeWidth: "13.63",
|
|
5526
|
+
strokeMiterlimit: "10",
|
|
5527
|
+
strokeLinecap: "round",
|
|
5528
|
+
stroke: "#333"
|
|
5529
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5530
|
+
d: "M79.875 85.766c2.25-7.476-.567-14.93-6.293-16.649-5.727-1.718-12.194 2.949-14.444 10.425-2.251 7.476.567 14.93 6.293 16.648 5.727 1.719 12.194-2.948 14.444-10.424Z",
|
|
5531
|
+
fill: "#F2F2F2"
|
|
5532
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5533
|
+
d: "M69.713 71.558c5.726 1.72 8.542 9.175 6.293 16.652a16.978 16.978 0 0 1-4.74 7.687c3.767-1.435 7.141-5.151 8.627-10.12 2.232-7.477-.567-14.932-6.293-16.648-3.311-.993-6.863.152-9.706 2.736 1.85-.75 3.9-.858 5.82-.307Z",
|
|
5534
|
+
fill: "#E6E6E6"
|
|
5535
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5536
|
+
d: "M77.006 68.04a6.195 6.195 0 0 1-4.269-1.866 6.176 6.176 0 0 1 0-8.623 6.195 6.195 0 0 1 4.27-1.867",
|
|
5537
|
+
strokeWidth: "13.63",
|
|
5538
|
+
strokeMiterlimit: "10",
|
|
5539
|
+
strokeLinecap: "round",
|
|
5540
|
+
stroke: "#333"
|
|
5541
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5542
|
+
d: "M81.567 54.262c-.103.03-.205.07-.303.106l-.304.112-.303.111-.3.112-.303.111c-.103.031-.2.071-.303.111-.103.04-.201.072-.304.108l-.299.11-.303.112-.304.112c-.102.03-.2.071-.303.111l-.3.107-.303.111-.303.112-.304.111c-.098.031-.2.072-.299.112-.098.04-.205.07-.303.111-.099.04-.201.071-.304.107l-.299.111-.303.112a5.63 5.63 0 0 0-3.824 4.578 5.62 5.62 0 0 0 1.101 4.178 5.578 5.578 0 0 0 2.754 1.956l.303.112.304.111.308.112.303.11.304.112.303.112.304.111.303.112.308.111.304.111.303.112.304.111c.102.036.2.076.303.107l.308.116c.098.036.2.076.303.107.103.031.201.08.304.111.103.031.2.08.303.112.103.03.201.08.304.111.103.031.2.08.303.111.103.032.206.08.308.112a8.12 8.12 0 0 0 10.027-3.863 8.087 8.087 0 0 0-2.619-10.407 8.117 8.117 0 0 0-7.479-.88v.004Z",
|
|
5543
|
+
fill: "#2278D6"
|
|
5544
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5545
|
+
d: "M97.105 47.237c-.192.062-.389.138-.58.21-.193.07-.393.142-.585.213-.192.072-.389.138-.585.214-.196.076-.388.138-.58.214-.192.076-.393.138-.585.214-.192.076-.388.138-.584.214-.197.076-.389.138-.585.214-.197.075-.388.138-.58.214-.192.075-.389.138-.585.213-.196.076-.388.139-.585.21-.196.071-.388.143-.58.214-.192.071-.392.138-.584.214-.192.075-.389.138-.585.214-.196.075-.388.138-.585.213-.196.076-.388.139-.58.214-.192.076-.393.139-.585.214-.191.076-.388.138-.584.214-.197.076-.389.138-.585.214-.196.076-.388.134-.58.21-.192.075-.388.138-.585.213a10.762 10.762 0 0 0-3.146 1.65 10.844 10.844 0 0 0-1.674 15.763 10.879 10.879 0 0 0 4.883 3.233c.196.075.388.151.589.213.2.063.388.152.585.214.196.063.392.152.589.219.196.067.388.147.584.214l.59.213c.196.076.388.152.589.214.2.063.388.152.584.214.197.063.388.152.59.214.2.063.388.152.584.219.196.066.388.147.59.213.2.067.387.148.584.214.196.067.388.147.589.214.2.067.388.152.584.214.197.063.393.152.59.214.196.062.388.151.584.218l.59.214c.196.072.388.147.584.214.196.067.393.147.59.214.196.067.387.151.588.214.201.062.388.151.585.214a15.669 15.669 0 0 0 14.439-1.806 15.624 15.624 0 0 0 6.706-12.895 15.597 15.597 0 0 0-1.829-7.256 15.659 15.659 0 0 0-19.454-7.244Z",
|
|
5546
|
+
fill: "#3690EA"
|
|
5547
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5548
|
+
d: "M119.065 37.388a25.93 25.93 0 0 0-.978.356c-.326.125-.651.232-.977.357-.326.125-.652.232-.978.356-.325.125-.651.232-.977.361-.326.13-.652.232-.977.357-.326.125-.652.232-.978.356-.326.125-.656.232-.977.357-.322.125-.656.232-.978.36-.321.13-.651.228-.977.357-.326.13-.656.232-.977.357-.322.124-.656.231-.978.356-.321.125-.656.232-.977.357-.321.125-.656.231-.977.36-.322.13-.657.228-.978.357-.321.13-.656.232-.977.357-.322.124-.656.231-.978.356-.321.125-.656.232-.982.361-.325.13-.651.227-.977.357-.326.129-.651.227-.973.356-.321.13-.656.232-.982.357a18.217 18.217 0 0 0-7.281 4.523A18.158 18.158 0 0 0 90.716 72.8a18.097 18.097 0 0 0 8.926 6.314c.326.13.651.254.986.361.335.107.652.254.982.361.33.107.652.25.986.36.335.112.647.25.982.357.335.107.652.254.982.361.33.107.652.25.986.361.335.112.652.25.982.357.33.107.652.254.986.36.335.108.648.25.982.362.335.111.652.25.982.356.33.107.652.254.986.361.335.107.652.25.982.361.331.111.652.25.982.357.33.106.656.253.986.36.331.107.652.254.982.361.331.107.652.25.987.361.334.112.651.25.981.357.331.107.652.254.987.36.334.108.647.25.982.362.334.111.651.25.981.356a26.26 26.26 0 0 0 24.2-3.02 26.2 26.2 0 0 0 8.29-9.42 26.147 26.147 0 0 0-.114-24.35 26.194 26.194 0 0 0-8.377-9.343 26.244 26.244 0 0 0-24.226-2.795l-.022.009Z",
|
|
5549
|
+
fill: "#50B0FF"
|
|
5550
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5551
|
+
d: "M128.994 80.692a18.926 18.926 0 0 1-11.736-4.091 18.853 18.853 0 0 1-5.352-22.825 18.889 18.889 0 0 1 8.696-8.867 18.93 18.93 0 0 1 22.967 4.864 18.856 18.856 0 0 1 .514 23.437 18.738 18.738 0 0 1-6.655 5.529 18.772 18.772 0 0 1-8.434 1.953Z",
|
|
5552
|
+
fill: "#D6DEE5"
|
|
5553
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5554
|
+
d: "M129.021 45.14a16.719 16.719 0 0 1 10.373 3.604 16.67 16.67 0 0 1 5.887 9.258 16.65 16.65 0 0 1-1.144 10.906 16.687 16.687 0 0 1-7.681 7.838 16.724 16.724 0 0 1-10.896 1.38 16.704 16.704 0 0 1-9.398-5.675 16.657 16.657 0 0 1-.449-20.708 16.64 16.64 0 0 1 13.322-6.604h-.014Zm.014-4.417a21.143 21.143 0 0 0-13.684 5.01 21.066 21.066 0 0 0-4.43 26.958 21.12 21.12 0 0 0 11.363 9.113 21.153 21.153 0 0 0 14.569-.404 21.113 21.113 0 0 0 10.84-9.728 21.063 21.063 0 0 0 1.948-14.422 21.086 21.086 0 0 0-7.869-12.249 20.973 20.973 0 0 0-12.737-4.278Z",
|
|
5555
|
+
fill: "#1B64CE"
|
|
5556
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5557
|
+
d: "M131.495 67.397c4.287 0 7.762-3.47 7.762-7.749 0-4.28-3.475-7.75-7.762-7.75-4.286 0-7.761 3.47-7.761 7.75 0 4.28 3.475 7.75 7.761 7.75Z",
|
|
5558
|
+
fill: "#fff"
|
|
5559
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
5560
|
+
d: "M137.039 56.638a3.996 3.996 0 0 0 3.999-3.993 3.996 3.996 0 0 0-3.999-3.992 3.996 3.996 0 0 0-3.999 3.992 3.996 3.996 0 0 0 3.999 3.993Z",
|
|
5561
|
+
fill: "#fff"
|
|
5562
|
+
}), /*#__PURE__*/React__default.createElement("mask", {
|
|
5563
|
+
id: `${id}-a`,
|
|
5564
|
+
style: {
|
|
5565
|
+
maskType: "alpha"
|
|
5566
|
+
},
|
|
5567
|
+
maskUnits: "userSpaceOnUse",
|
|
5568
|
+
x: "90",
|
|
5569
|
+
y: "96",
|
|
5570
|
+
width: "9",
|
|
5571
|
+
height: "4"
|
|
5572
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
5573
|
+
d: "M94.651 96.461c-1.785 0-3.26-.038-3.78-.038v2.897h7.14v-2.897c-.371 0-1.574.038-3.36.038Z",
|
|
5574
|
+
fill: "#000"
|
|
5575
|
+
})), /*#__PURE__*/React__default.createElement("g", {
|
|
5576
|
+
mask: `url(#${id}-a)`
|
|
5577
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
5578
|
+
d: "M94.51 95.545c-1.732.049-3.124.25-3.124.494v2.617c0 .245 1.392.446 3.124.495 1.731.049 3.124-.138 3.124-.384v-2.839c0-.245-1.393-.432-3.124-.383Z",
|
|
5579
|
+
fill: "#999"
|
|
5580
|
+
})));
|
|
4344
5581
|
}
|
|
4345
5582
|
|
|
4346
|
-
var styles$b = {"
|
|
5583
|
+
var styles$b = {"spinner":"spinner-b5tlz"};
|
|
5584
|
+
|
|
5585
|
+
function LoadingSpinner({
|
|
5586
|
+
size = 48,
|
|
5587
|
+
trackWidth = 6
|
|
5588
|
+
}) {
|
|
5589
|
+
return /*#__PURE__*/React__default.createElement("span", {
|
|
5590
|
+
"aria-hidden": "true",
|
|
5591
|
+
className: styles$b.spinner,
|
|
5592
|
+
style: {
|
|
5593
|
+
"--spinner-size": `${size}px`,
|
|
5594
|
+
"--spinner-track-width": `${trackWidth}px`
|
|
5595
|
+
}
|
|
5596
|
+
});
|
|
5597
|
+
}
|
|
4347
5598
|
|
|
4348
5599
|
function SearchResults({
|
|
4349
5600
|
label,
|
|
@@ -4364,18 +5615,36 @@ function SearchResults({
|
|
|
4364
5615
|
...navigation
|
|
4365
5616
|
});
|
|
4366
5617
|
}
|
|
4367
|
-
return /*#__PURE__*/React__default.createElement(
|
|
4368
|
-
role: "status"
|
|
4369
|
-
|
|
5618
|
+
return /*#__PURE__*/React__default.createElement(Flex, {
|
|
5619
|
+
role: "status",
|
|
5620
|
+
justify: "center",
|
|
5621
|
+
align: "center",
|
|
5622
|
+
gap: 2,
|
|
5623
|
+
direction: "column",
|
|
5624
|
+
style: {
|
|
5625
|
+
color: "var(--t-text-color-placeholder)",
|
|
5626
|
+
fontSize: "var(--t-font-size-md)",
|
|
5627
|
+
marginTop: 48
|
|
5628
|
+
}
|
|
5629
|
+
}, /*#__PURE__*/React__default.createElement(LoadingSpinner, {
|
|
5630
|
+
size: 40,
|
|
5631
|
+
trackWidth: 5
|
|
5632
|
+
}), "Searching\u2026");
|
|
4370
5633
|
case "error":
|
|
4371
|
-
return /*#__PURE__*/React__default.createElement(
|
|
4372
|
-
|
|
4373
|
-
|
|
5634
|
+
return /*#__PURE__*/React__default.createElement(BlankState$1, {
|
|
5635
|
+
image: /*#__PURE__*/React__default.createElement(BlankStateError, null),
|
|
5636
|
+
role: "alert",
|
|
5637
|
+
subtitle: "Try again in a moment.",
|
|
5638
|
+
title: "Search isn\u2019t working right now"
|
|
5639
|
+
});
|
|
4374
5640
|
case "done":
|
|
4375
5641
|
if (sections.length === 0) {
|
|
4376
|
-
return /*#__PURE__*/React__default.createElement(
|
|
4377
|
-
|
|
4378
|
-
|
|
5642
|
+
return /*#__PURE__*/React__default.createElement(BlankState$1, {
|
|
5643
|
+
image: /*#__PURE__*/React__default.createElement(BlankStateNoResults, null),
|
|
5644
|
+
role: "status",
|
|
5645
|
+
subtitle: "Clear search and try again.",
|
|
5646
|
+
title: `No results for “${term.trim()}”`
|
|
5647
|
+
});
|
|
4379
5648
|
}
|
|
4380
5649
|
return /*#__PURE__*/React__default.createElement(ResultListbox, {
|
|
4381
5650
|
busy: false,
|
|
@@ -4390,27 +5659,37 @@ function SearchResults({
|
|
|
4390
5659
|
// stays put as more recents load and as their lookups answer.
|
|
4391
5660
|
const RECENTS = "recents";
|
|
4392
5661
|
function SearchPanel({
|
|
5662
|
+
appName,
|
|
5663
|
+
mobile = false,
|
|
4393
5664
|
env,
|
|
5665
|
+
onClose,
|
|
4394
5666
|
products
|
|
4395
5667
|
}) {
|
|
4396
5668
|
var _a, _b;
|
|
4397
5669
|
const listboxId = useInstanceId("product-search-results");
|
|
4398
5670
|
const [term, setTerm] = React__default.useState("");
|
|
4399
|
-
const [selectedSlug, setSelectedSlug] = React__default.useState(() =>
|
|
5671
|
+
const [selectedSlug, setSelectedSlug] = React__default.useState(() => defaultProduct(products, appName).slug);
|
|
4400
5672
|
const product = (_a = products.find(({
|
|
4401
5673
|
slug
|
|
4402
5674
|
}) => slug === selectedSlug)) !== null && _a !== void 0 ? _a : products[0];
|
|
4403
5675
|
const hasTerm = term.trim() !== "";
|
|
4404
5676
|
const search = useProductSearch(product.slug, term);
|
|
4405
5677
|
const groups = "groups" in search ? search.groups : undefined;
|
|
4406
|
-
const
|
|
5678
|
+
const {
|
|
5679
|
+
organizationTimeZone
|
|
5680
|
+
} = useStore();
|
|
5681
|
+
const sections = React__default.useMemo(() => groupSections(groups, organizationTimeZone), [groups, organizationTimeZone]);
|
|
4407
5682
|
const {
|
|
4408
5683
|
visits,
|
|
4409
5684
|
...recents
|
|
4410
5685
|
} = useRecentVisits(env);
|
|
4411
|
-
const recentItems = visits.map(visitItem);
|
|
5686
|
+
const recentItems = visits.map(visit => visitItem(visit, organizationTimeZone));
|
|
4412
5687
|
const items = hasTerm ? sections.flatMap(section => section.items) : recentItems;
|
|
4413
|
-
|
|
5688
|
+
// Phones open results by tapping them, with no highlight to arrow through.
|
|
5689
|
+
// A narrow window with a keyboard and mouse keeps both, as does the desktop
|
|
5690
|
+
// layout on a touch device, whose keyboard hints still advertise them.
|
|
5691
|
+
const touchOnly = useMediaQuery("(hover: none) and (pointer: coarse)");
|
|
5692
|
+
const navigation = useResultNavigation(items, hasTerm ? sections : RECENTS, !(mobile && touchOnly));
|
|
4414
5693
|
const {
|
|
4415
5694
|
highlightedIndex
|
|
4416
5695
|
} = navigation;
|
|
@@ -4430,41 +5709,48 @@ function SearchPanel({
|
|
|
4430
5709
|
navigation.handleKeyDown(event);
|
|
4431
5710
|
}
|
|
4432
5711
|
};
|
|
4433
|
-
React__default.
|
|
4434
|
-
|
|
4435
|
-
|
|
5712
|
+
const results = hasTerm ? (/*#__PURE__*/React__default.createElement(SearchResults, {
|
|
5713
|
+
highlightedIndex: highlightedIndex,
|
|
5714
|
+
id: listboxId,
|
|
5715
|
+
label: `Results from Planning Center ${product.appName}`,
|
|
5716
|
+
onHighlight: navigation.highlightIndex,
|
|
5717
|
+
sections: sections,
|
|
5718
|
+
status: search.status,
|
|
5719
|
+
term: term
|
|
5720
|
+
})) : (/*#__PURE__*/React__default.createElement(RecentlyVisited, {
|
|
5721
|
+
highlightedIndex: highlightedIndex,
|
|
5722
|
+
id: listboxId,
|
|
5723
|
+
items: recentItems,
|
|
5724
|
+
onHighlight: navigation.highlightIndex,
|
|
5725
|
+
...recents
|
|
5726
|
+
}));
|
|
4436
5727
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(SearchInput, {
|
|
4437
5728
|
expanded: items.length > 0,
|
|
4438
5729
|
highlightedIndex: highlightedIndex,
|
|
4439
5730
|
inputRef: inputRef,
|
|
4440
5731
|
listboxId: listboxId,
|
|
4441
5732
|
onChange: setTerm,
|
|
5733
|
+
onClose: onClose,
|
|
4442
5734
|
onFocus: () => setAnnounceHighlight(false),
|
|
4443
5735
|
onKeyDown: navigation.handleKeyDown,
|
|
4444
5736
|
value: term
|
|
4445
|
-
}), /*#__PURE__*/React__default.createElement(
|
|
5737
|
+
}), mobile ? (/*#__PURE__*/React__default.createElement(ProductSelect, {
|
|
5738
|
+
onSelect: setSelectedSlug,
|
|
5739
|
+
products: products,
|
|
5740
|
+
selected: product
|
|
5741
|
+
}, results)) : (/*#__PURE__*/React__default.createElement(ProductTabs, {
|
|
4446
5742
|
onKeyDown: handleTabsKeyDown,
|
|
4447
5743
|
onSelect: setSelectedSlug,
|
|
4448
5744
|
products: products,
|
|
4449
5745
|
selected: product
|
|
4450
|
-
},
|
|
4451
|
-
highlightedIndex: highlightedIndex,
|
|
4452
|
-
id: listboxId,
|
|
4453
|
-
label: `${product.appName} results`,
|
|
4454
|
-
onHighlight: navigation.highlightIndex,
|
|
4455
|
-
sections: sections,
|
|
4456
|
-
status: search.status,
|
|
4457
|
-
term: term
|
|
4458
|
-
})) : (/*#__PURE__*/React__default.createElement(RecentlyVisited, {
|
|
4459
|
-
highlightedIndex: highlightedIndex,
|
|
4460
|
-
id: listboxId,
|
|
4461
|
-
items: recentItems,
|
|
4462
|
-
onHighlight: navigation.highlightIndex,
|
|
4463
|
-
...recents
|
|
4464
|
-
}))), /*#__PURE__*/React__default.createElement("div", {
|
|
5746
|
+
}, results)), /*#__PURE__*/React__default.createElement("div", {
|
|
4465
5747
|
"aria-live": "polite",
|
|
4466
|
-
className: styles$
|
|
4467
|
-
}, announceHighlight ? (_b = navigation.highlighted) === null || _b === void 0 ? void 0 : _b.title : null), /*#__PURE__*/React__default.createElement(
|
|
5748
|
+
className: styles$k.visuallyHidden
|
|
5749
|
+
}, announceHighlight ? (_b = navigation.highlighted) === null || _b === void 0 ? void 0 : _b.title : null), /*#__PURE__*/React__default.createElement("div", {
|
|
5750
|
+
"aria-live": "polite",
|
|
5751
|
+
className: styles$k.visuallyHidden,
|
|
5752
|
+
"data-testid": "result-count"
|
|
5753
|
+
}, hasTerm && search.status === "done" && items.length > 0 ? `${items.length} ${items.length === 1 ? "result" : "results"} for “${term.trim()}” in ${product.appName}` : null), mobile ? null : /*#__PURE__*/React__default.createElement(KeyboardHints, {
|
|
4468
5754
|
copied: navigation.copied
|
|
4469
5755
|
}));
|
|
4470
5756
|
}
|
|
@@ -4535,32 +5821,6 @@ function useSearchShortcut(enabled, open, setOpen) {
|
|
|
4535
5821
|
}, [enabled, open, setOpen]);
|
|
4536
5822
|
}
|
|
4537
5823
|
|
|
4538
|
-
const SEARCHABLE_PRODUCTS = [{
|
|
4539
|
-
appName: "Calendar",
|
|
4540
|
-
slug: "calendar"
|
|
4541
|
-
}, {
|
|
4542
|
-
appName: "Check-Ins",
|
|
4543
|
-
slug: "check-ins"
|
|
4544
|
-
}, {
|
|
4545
|
-
appName: "Giving",
|
|
4546
|
-
slug: "giving"
|
|
4547
|
-
}, {
|
|
4548
|
-
appName: "Groups",
|
|
4549
|
-
slug: "groups"
|
|
4550
|
-
}, {
|
|
4551
|
-
appName: "People",
|
|
4552
|
-
slug: "people"
|
|
4553
|
-
}, {
|
|
4554
|
-
appName: "Publishing",
|
|
4555
|
-
slug: "publishing"
|
|
4556
|
-
}, {
|
|
4557
|
-
appName: "Registrations",
|
|
4558
|
-
slug: "registrations"
|
|
4559
|
-
}, {
|
|
4560
|
-
appName: "Services",
|
|
4561
|
-
slug: "services"
|
|
4562
|
-
}];
|
|
4563
|
-
|
|
4564
5824
|
const PERMISSION_CHECKS = {
|
|
4565
5825
|
"check-ins": () => fetchMe("check-ins", "permission").then(({
|
|
4566
5826
|
permission
|
|
@@ -4665,24 +5925,59 @@ function inSwitcherOrder(apps) {
|
|
|
4665
5925
|
return groupApps(apps).restProducts.flatMap(app => SEARCHABLE_PRODUCTS.filter(product => product.appName === app.name));
|
|
4666
5926
|
}
|
|
4667
5927
|
|
|
5928
|
+
/**
|
|
5929
|
+
* Writes the height of the visible part of the page to the parent of `ref`'s
|
|
5930
|
+
* element as `--visual-viewport-height`. It shrinks when an on-screen keyboard
|
|
5931
|
+
* opens; `100dvh` doesn't, since mobile Safari draws the keyboard over it.
|
|
5932
|
+
*/
|
|
5933
|
+
function useVisualViewportHeight(ref, enabled) {
|
|
5934
|
+
React__default.useEffect(() => {
|
|
5935
|
+
var _a;
|
|
5936
|
+
const viewport = window.visualViewport;
|
|
5937
|
+
const parent = (_a = ref.current) === null || _a === void 0 ? void 0 : _a.parentElement;
|
|
5938
|
+
if (!enabled || !viewport || !parent) return undefined;
|
|
5939
|
+
const update = () => parent.style.setProperty("--visual-viewport-height", `${viewport.height}px`);
|
|
5940
|
+
update();
|
|
5941
|
+
viewport.addEventListener("resize", update);
|
|
5942
|
+
return () => {
|
|
5943
|
+
viewport.removeEventListener("resize", update);
|
|
5944
|
+
parent.style.removeProperty("--visual-viewport-height");
|
|
5945
|
+
};
|
|
5946
|
+
}, [enabled, ref]);
|
|
5947
|
+
}
|
|
5948
|
+
|
|
4668
5949
|
function ProductSearch({
|
|
5950
|
+
appName,
|
|
4669
5951
|
apps,
|
|
5952
|
+
mobile = false,
|
|
4670
5953
|
env
|
|
4671
5954
|
}) {
|
|
4672
5955
|
const searchable = useSearchableProducts(apps);
|
|
4673
5956
|
const [open, setOpen] = React__default.useState(false);
|
|
5957
|
+
const modalRef = React__default.useRef(null);
|
|
5958
|
+
// Sizes Tapestry's modal frame, the dialog's parent, to fit above the keyboard.
|
|
5959
|
+
useVisualViewportHeight(modalRef, mobile && open);
|
|
4674
5960
|
const available = searchable.status === "done" && searchable.products.length > 0;
|
|
4675
5961
|
useSearchShortcut(available, open, setOpen);
|
|
4676
5962
|
if (!available) return null;
|
|
4677
5963
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(SearchButton, {
|
|
5964
|
+
mobile: mobile,
|
|
4678
5965
|
onClick: () => setOpen(true)
|
|
4679
5966
|
}), /*#__PURE__*/React__default.createElement(Modal, {
|
|
4680
5967
|
"aria-label": "Search",
|
|
5968
|
+
className: styles$k.modal,
|
|
4681
5969
|
dismissible: true,
|
|
5970
|
+
id: "product_search_modal",
|
|
4682
5971
|
onClose: () => setOpen(false),
|
|
4683
|
-
open: open
|
|
5972
|
+
open: open,
|
|
5973
|
+
ref: modalRef,
|
|
5974
|
+
size: "lg"
|
|
4684
5975
|
}, /*#__PURE__*/React__default.createElement(SearchPanel, {
|
|
5976
|
+
appName: appName,
|
|
5977
|
+
mobile: mobile,
|
|
4685
5978
|
env: env,
|
|
5979
|
+
// Phones have no Esc, so mobile search gets a close button.
|
|
5980
|
+
onClose: mobile ? () => setOpen(false) : undefined,
|
|
4686
5981
|
products: searchable.products
|
|
4687
5982
|
})));
|
|
4688
5983
|
}
|
|
@@ -4976,6 +6271,7 @@ const NotSmallTopbar = ({
|
|
|
4976
6271
|
margin: "auto"
|
|
4977
6272
|
}
|
|
4978
6273
|
}), !notificationsEnabled && notifications(), productSearchEnabled ? (/*#__PURE__*/React__default.createElement(ProductSearch, {
|
|
6274
|
+
appName: props.appName,
|
|
4979
6275
|
apps: props.apps,
|
|
4980
6276
|
env: props.env
|
|
4981
6277
|
})) : search({
|
|
@@ -32890,7 +34186,7 @@ ClientStorage.defaultProps = {
|
|
|
32890
34186
|
method: "localStorage"
|
|
32891
34187
|
};
|
|
32892
34188
|
|
|
32893
|
-
var styles$6 = {"appmenu-button":"appmenu-button-b0UvT","appmenu-layer":"appmenu-layer-0IQpN","appmenu-container":"appmenu-container-gackd","appmenu-scroll":"appmenu-scroll-mPSx0","appmenu-list":"appmenu-list-h7clX","appmenu-list-a":"appmenu-list-a-rGIQN","appmenu-list-a--top":"appmenu-list-a--top-RT-2F","appmenu-list-a--bottom":"appmenu-list-a--bottom-YDeBC","appmenu-close-button":"appmenu-close-button-vv9bV","current-route":"current-route-wpJgz","is-active":"is-active-wy8Bg","routes":"routes-Nmt1S","route":"route-kkknQ","profile-button":"profile-button-a2WO2"};
|
|
34189
|
+
var styles$6 = {"appmenu-button":"appmenu-button-b0UvT","appmenu-layer":"appmenu-layer-0IQpN","appmenu-container":"appmenu-container-gackd","appmenu-scroll":"appmenu-scroll-mPSx0","appmenu-list":"appmenu-list-h7clX","appmenu-list-a":"appmenu-list-a-rGIQN","appmenu-list-a--top":"appmenu-list-a--top-RT-2F","appmenu-list-a--bottom":"appmenu-list-a--bottom-YDeBC","appmenu-close-button":"appmenu-close-button-vv9bV","current-route":"current-route-wpJgz","is-active":"is-active-wy8Bg","routes":"routes-Nmt1S","route":"route-kkknQ","actions":"actions-INQ7-","profile-button":"profile-button-a2WO2"};
|
|
32894
34190
|
|
|
32895
34191
|
function AccountSettingsLink({
|
|
32896
34192
|
env
|
|
@@ -33110,7 +34406,14 @@ const SmallTopbar = ({
|
|
|
33110
34406
|
setProductSwitcherVisible(false);
|
|
33111
34407
|
setRoutesMenuVisible(visible => !visible);
|
|
33112
34408
|
} : null
|
|
33113
|
-
}, /*#__PURE__*/React__default.createElement(CurrentRouteComponent, null, capitalize$1(currentRouteText)), props.routes.length > 0 && /*#__PURE__*/React__default.createElement(DisclosureChevronIcon, null)), /*#__PURE__*/React__default.createElement("
|
|
34409
|
+
}, /*#__PURE__*/React__default.createElement(CurrentRouteComponent, null, capitalize$1(currentRouteText)), props.routes.length > 0 && /*#__PURE__*/React__default.createElement(DisclosureChevronIcon, null)), /*#__PURE__*/React__default.createElement("div", {
|
|
34410
|
+
className: styles$6["actions"]
|
|
34411
|
+
}, productSearchEnabled && (/*#__PURE__*/React__default.createElement(ProductSearch, {
|
|
34412
|
+
appName: props.appName,
|
|
34413
|
+
apps: props.apps,
|
|
34414
|
+
mobile: true,
|
|
34415
|
+
env: props.env
|
|
34416
|
+
})), /*#__PURE__*/React__default.createElement("button", {
|
|
33114
34417
|
type: "button",
|
|
33115
34418
|
className: styles$6["profile-button"],
|
|
33116
34419
|
onClick: () => {
|
|
@@ -33121,7 +34424,7 @@ const SmallTopbar = ({
|
|
|
33121
34424
|
}, /*#__PURE__*/React__default.createElement(Avatar, {
|
|
33122
34425
|
env: props.env,
|
|
33123
34426
|
url: props.userAvatarPath
|
|
33124
|
-
})));
|
|
34427
|
+
}))));
|
|
33125
34428
|
};
|
|
33126
34429
|
const SmallRoute = ({
|
|
33127
34430
|
active,
|
|
@@ -33611,38 +34914,6 @@ const SwitchView = ({
|
|
|
33611
34914
|
}));
|
|
33612
34915
|
};
|
|
33613
34916
|
|
|
33614
|
-
const collections = {
|
|
33615
|
-
general,
|
|
33616
|
-
toolbar
|
|
33617
|
-
};
|
|
33618
|
-
const paths = collections;
|
|
33619
|
-
function Icon({
|
|
33620
|
-
name,
|
|
33621
|
-
size = 16,
|
|
33622
|
-
style,
|
|
33623
|
-
theme,
|
|
33624
|
-
title,
|
|
33625
|
-
...props
|
|
33626
|
-
}) {
|
|
33627
|
-
const [collection, symbol] = name.split(".");
|
|
33628
|
-
return /*#__PURE__*/React__default.createElement("svg", {
|
|
33629
|
-
"aria-hidden": title ? undefined : true,
|
|
33630
|
-
fill: "currentColor",
|
|
33631
|
-
height: size,
|
|
33632
|
-
role: title ? "img" : undefined,
|
|
33633
|
-
style: {
|
|
33634
|
-
color: theme && `var(${theme})`,
|
|
33635
|
-
flexShrink: 0,
|
|
33636
|
-
...style
|
|
33637
|
-
},
|
|
33638
|
-
viewBox: "0 0 16 16",
|
|
33639
|
-
width: size,
|
|
33640
|
-
...props
|
|
33641
|
-
}, title && /*#__PURE__*/React__default.createElement("title", null, title), /*#__PURE__*/React__default.createElement("path", {
|
|
33642
|
-
d: paths[collection][symbol]
|
|
33643
|
-
}));
|
|
33644
|
-
}
|
|
33645
|
-
|
|
33646
34917
|
var styles$3 = {"color-mode-switcher":"color-mode-switcher-JpczO","color-mode-switcher-label":"color-mode-switcher-label-3jPM2","color-mode-switcher-modes":"color-mode-switcher-modes-u-bic"};
|
|
33647
34918
|
|
|
33648
34919
|
const COLOR_MODES = [{
|