@strapi/admin 4.0.0-beta.0 → 4.0.0-beta.4
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/admin/src/content-manager/components/Inputs/index.js +1 -1
- package/admin/src/content-manager/components/Inputs/utils/getStep.js +3 -1
- package/admin/src/content-manager/components/RepeatableComponent/DragPreview.js +4 -4
- package/admin/src/content-manager/components/RepeatableComponent/DraggedItem/Preview.js +8 -3
- package/admin/src/content-manager/components/RepeatableComponent/DraggedItem/index.js +1 -0
- package/admin/src/content-manager/components/RepeatableComponent/index.js +4 -1
- package/admin/src/content-manager/pages/ListView/index.js +5 -3
- package/admin/src/content-manager/pages/ListView/utils/buildQueryString.js +1 -4
- package/admin/src/content-manager/pages/ListView/utils/createPluginsFilter.js +1 -10
- package/admin/src/content-manager/utils/index.js +0 -2
- package/admin/src/pages/AuthPage/components/ForgotPassword/index.js +1 -3
- package/admin/src/pages/AuthPage/components/ForgotPasswordSuccess/index.js +1 -1
- package/admin/src/pages/AuthPage/components/Oops/index.js +1 -1
- package/admin/src/pages/AuthPage/components/ResetPassword/index.js +1 -3
- package/admin/src/pages/SettingsPage/pages/ApplicationInfosPage/index.js +3 -3
- package/admin/src/pages/SettingsPage/pages/Roles/EditPage/index.js +1 -15
- package/admin/src/pages/SettingsPage/pages/Roles/ListPage/index.js +3 -3
- package/admin/src/pages/SettingsPage/pages/Webhooks/EditView/components/HeadersInput/index.js +8 -3
- package/admin/src/pages/SettingsPage/pages/Webhooks/EditView/components/WebhookForm/index.js +1 -7
- package/admin/src/translations/en.json +1 -1
- package/build/1920.b03b4847.chunk.js +1 -0
- package/build/2022.4be1cb62.chunk.js +1 -0
- package/build/2068.ae950560.chunk.js +1 -0
- package/build/2321.d29283ee.chunk.js +1 -0
- package/build/2321.d3de7f6d.chunk.js +1 -0
- package/build/2957.20b1ea7d.chunk.js +1 -0
- package/build/3632.aa815ec4.chunk.js +1 -0
- package/build/3632.d6c8a9e1.chunk.js +1 -0
- package/build/3736.120018c1.chunk.js +1 -0
- package/build/3742.8fccd1b5.chunk.js +1 -0
- package/build/4023.76e9e178.chunk.js +1 -0
- package/build/4045.fc816c07.chunk.js +1 -0
- package/build/4151.6b91db28.chunk.js +1 -0
- package/build/4151.d40cdd4f.chunk.js +1 -0
- package/build/4506.106c3ece.chunk.js +1 -0
- package/build/4506.b0b403d4.chunk.js +1 -0
- package/build/4922.0d01a3c9.chunk.js +1 -0
- package/build/4922.122f4821.chunk.js +1 -0
- package/build/5220.4b1142ae.chunk.js +1 -0
- package/build/5381.e6079de9.chunk.js +1 -0
- package/build/5381.fb3623a0.chunk.js +1 -0
- package/build/5437.6485754a.chunk.js +1 -0
- package/build/5437.ef54f6e9.chunk.js +1 -0
- package/build/5515.455bd84f.chunk.js +1 -0
- package/build/5768.a1d8ff37.chunk.js +1 -0
- package/build/6259.1bb0b4f7.chunk.js +1 -0
- package/build/6259.b485d83b.chunk.js +1 -0
- package/build/6505.c6291da8.chunk.js +1 -0
- package/build/7199.0052beea.chunk.js +1 -0
- package/build/7199.252d8528.chunk.js +1 -0
- package/build/7199.5f13d43c.chunk.js +1 -0
- package/build/8354.969e6be7.chunk.js +2 -0
- package/build/8354.969e6be7.chunk.js.LICENSE.txt +15 -0
- package/build/8354.e98f79fa.chunk.js +2 -0
- package/build/8354.e98f79fa.chunk.js.LICENSE.txt +15 -0
- package/build/9467.306d8123.chunk.js +2 -0
- package/build/9467.306d8123.chunk.js.LICENSE.txt +14 -0
- package/build/9467.ba799c20.chunk.js +2 -0
- package/build/9467.ba799c20.chunk.js.LICENSE.txt +14 -0
- package/build/9572.38876034.chunk.js +1 -0
- package/build/9572.51d54b5e.chunk.js +1 -0
- package/build/9662.eab41690.chunk.js +1 -0
- package/build/9733.0406406a.chunk.js +1 -0
- package/build/9761.ff59a465.chunk.js +1 -0
- package/build/Admin-authenticatedApp.0e0b7eda.chunk.js +1 -0
- package/build/Admin-authenticatedApp.1e2a9091.chunk.js +1 -0
- package/build/Admin-authenticatedApp.66ad69d3.chunk.js +1 -0
- package/build/Admin-authenticatedApp.93aedd80.chunk.js +1 -0
- package/build/Admin_homePage.69842ede.chunk.js +1 -0
- package/build/Admin_marketplace.76a7e5cf.chunk.js +1 -0
- package/build/Admin_marketplace.9eb4a5cc.chunk.js +1 -0
- package/build/Admin_pluginsPage.8a83dc26.chunk.js +1 -0
- package/build/Admin_pluginsPage.8c902c93.chunk.js +1 -0
- package/build/Admin_profilePage.1ffd2fba.chunk.js +1 -0
- package/build/Admin_settingsPage.31bfc41d.chunk.js +1 -0
- package/build/Admin_settingsPage.41834456.chunk.js +1 -0
- package/build/admin-edit-roles-page.9e6faaf0.chunk.js +1 -0
- package/build/admin-users.1e7df135.chunk.js +1 -0
- package/build/admin-users.802b7b32.chunk.js +1 -0
- package/build/content-manager.c6fe3a8c.chunk.js +1 -0
- package/build/content-manager.cb2f952c.chunk.js +1 -0
- package/build/content-type-builder.8804ef89.chunk.js +1 -0
- package/build/documentation-page.85806105.chunk.js +1 -0
- package/build/documentation-page.b469efca.chunk.js +1 -0
- package/build/email-settings-page.1bd68221.chunk.js +1 -0
- package/build/email-settings-page.fdb43c01.chunk.js +1 -0
- package/build/en-json.1bc78007.chunk.js +1 -0
- package/build/i18n-settings-page.656f08b4.chunk.js +1 -0
- package/build/index.html +1 -1
- package/build/main.4ee1cf3c.js +2 -0
- package/build/main.4ee1cf3c.js.LICENSE.txt +120 -0
- package/build/main.7c5ad390.js +2 -0
- package/build/main.7c5ad390.js.LICENSE.txt +120 -0
- package/build/main.ee2290ee.js +2 -0
- package/build/main.ee2290ee.js.LICENSE.txt +120 -0
- package/build/main.f55c84a4.js +2 -0
- package/build/main.f55c84a4.js.LICENSE.txt +120 -0
- package/build/runtime~main.1c25335a.js +1 -0
- package/build/runtime~main.a0799a2d.js +1 -0
- package/build/runtime~main.be47aa31.js +1 -0
- package/build/runtime~main.d645defb.js +1 -0
- package/build/upload-settings.6a1fac42.chunk.js +1 -0
- package/build/upload-settings.6c55d564.chunk.js +1 -0
- package/build/upload.668329be.chunk.js +1 -0
- package/build/upload.d74b7b76.chunk.js +1 -0
- package/build/users-advanced-settings-page.86360137.chunk.js +1 -0
- package/build/users-advanced-settings-page.c84be683.chunk.js +1 -0
- package/build/users-providers-settings-page.8703ab92.chunk.js +1 -0
- package/build/users-providers-settings-page.969ed311.chunk.js +1 -0
- package/build/webhook-edit-page.d7a61df1.chunk.js +1 -0
- package/build/webhook-list-page.0fb3597e.chunk.js +1 -0
- package/build/webhook-list-page.17c17912.chunk.js +1 -0
- package/ee/server/routes/features-routes.js +2 -2
- package/ee/server/routes/index.js +5 -3
- package/index.js +15 -2
- package/package.json +7 -7
- package/server/controllers/index.js +1 -1
- package/server/controllers/{Webhooks.js → webhooks.js} +0 -0
- package/server/policies/hasPermissions.js +3 -3
- package/server/policies/isAuthenticatedAdmin.js +1 -1
- package/server/routes/admin.js +3 -3
- package/server/routes/api-tokens.js +5 -5
- package/server/routes/roles.js +6 -6
- package/server/routes/users.js +6 -6
- package/server/routes/webhooks.js +13 -13
- package/server/strategies/api-token.js +4 -1
- package/server/utils/index.js +1 -3
- package/admin/src/content-manager/components/Inputs/GenericInput.js +0 -347
- package/admin/src/content-manager/utils/formatFiltersFromQuery.js +0 -55
- package/admin/src/content-manager/utils/formatFiltersToQuery.js +0 -27
|
@@ -5,6 +5,7 @@ import omit from 'lodash/omit';
|
|
|
5
5
|
import take from 'lodash/take';
|
|
6
6
|
import isEqual from 'react-fast-compare';
|
|
7
7
|
import {
|
|
8
|
+
GenericInput,
|
|
8
9
|
NotAllowedInput,
|
|
9
10
|
// useLibrary
|
|
10
11
|
} from '@strapi/helper-plugin';
|
|
@@ -13,7 +14,6 @@ import { getFieldName } from '../../utils';
|
|
|
13
14
|
import Wysiwyg from '../Wysiwyg';
|
|
14
15
|
import InputJSON from '../InputJSON';
|
|
15
16
|
import ComingSoonInput from './ComingSoonInput';
|
|
16
|
-
import GenericInput from './GenericInput';
|
|
17
17
|
import InputUID from '../InputUID';
|
|
18
18
|
import SelectWrapper from '../SelectWrapper';
|
|
19
19
|
|
|
@@ -4,7 +4,9 @@ const getStep = type => {
|
|
|
4
4
|
if (type === 'float' || type === 'decimal') {
|
|
5
5
|
step = 0.01;
|
|
6
6
|
} else if (type === 'time' || type === 'datetime') {
|
|
7
|
-
step
|
|
7
|
+
// Since we cannot set a value that is not in the list of the time picker, we need to set the step to 1
|
|
8
|
+
// TODO: Fix the timepicker in order to be able to set any value regardless of the list
|
|
9
|
+
step = 1;
|
|
8
10
|
} else {
|
|
9
11
|
step = 1;
|
|
10
12
|
}
|
|
@@ -21,7 +21,7 @@ const DropdownIconWrapper = styled(Box)`
|
|
|
21
21
|
height: ${6 / 16}rem;
|
|
22
22
|
width: ${11 / 16}rem;
|
|
23
23
|
> path {
|
|
24
|
-
fill: ${({ theme }) => theme.colors.
|
|
24
|
+
fill: ${({ theme }) => theme.colors.neutral600};
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
`;
|
|
@@ -43,17 +43,17 @@ const DragPreview = ({ displayedValue }) => {
|
|
|
43
43
|
paddingTop={3}
|
|
44
44
|
paddingBottom={3}
|
|
45
45
|
hasRadius
|
|
46
|
-
background="
|
|
46
|
+
background="neutral0"
|
|
47
47
|
style={{ width: '20vw' }}
|
|
48
48
|
>
|
|
49
49
|
<Row justifyContent="space-between">
|
|
50
50
|
<ToggleButton type="button">
|
|
51
51
|
<Row>
|
|
52
|
-
<DropdownIconWrapper background="
|
|
52
|
+
<DropdownIconWrapper background="neutral200">
|
|
53
53
|
<DropdownIcon />
|
|
54
54
|
</DropdownIconWrapper>
|
|
55
55
|
<Box paddingLeft={6}>
|
|
56
|
-
<Text textColor="
|
|
56
|
+
<Text textColor="neutral700" style={{ width: '9vw' }} ellipsis>
|
|
57
57
|
{displayedValue}
|
|
58
58
|
</Text>
|
|
59
59
|
</Box>
|
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import styled from 'styled-components';
|
|
2
3
|
import { Box } from '@strapi/parts/Box';
|
|
3
4
|
import { Row } from '@strapi/parts/Row';
|
|
4
5
|
|
|
6
|
+
const StyledBox = styled(Box)`
|
|
7
|
+
border: 1px dashed ${({ theme }) => theme.colors.primary500};
|
|
8
|
+
`;
|
|
9
|
+
|
|
5
10
|
const Preview = () => {
|
|
6
11
|
return (
|
|
7
|
-
<
|
|
8
|
-
<Box
|
|
12
|
+
<StyledBox padding={8} background="primary100">
|
|
13
|
+
<Box>
|
|
9
14
|
<Row />
|
|
10
15
|
</Box>
|
|
11
|
-
</
|
|
16
|
+
</StyledBox>
|
|
12
17
|
);
|
|
13
18
|
};
|
|
14
19
|
|
|
@@ -89,6 +89,7 @@ function ListView({
|
|
|
89
89
|
|
|
90
90
|
try {
|
|
91
91
|
const opts = source ? { cancelToken: source.token } : null;
|
|
92
|
+
|
|
92
93
|
const {
|
|
93
94
|
data: { results, pagination: paginationResult },
|
|
94
95
|
} = await axiosInstance.get(endPoint, opts);
|
|
@@ -126,8 +127,6 @@ function ListView({
|
|
|
126
127
|
return;
|
|
127
128
|
}
|
|
128
129
|
|
|
129
|
-
console.log('iii');
|
|
130
|
-
|
|
131
130
|
console.error(err);
|
|
132
131
|
toggleNotification({
|
|
133
132
|
type: 'warning',
|
|
@@ -355,6 +354,9 @@ export function mapDispatchToProps(dispatch) {
|
|
|
355
354
|
dispatch
|
|
356
355
|
);
|
|
357
356
|
}
|
|
358
|
-
const withConnect = connect(
|
|
357
|
+
const withConnect = connect(
|
|
358
|
+
mapStateToProps,
|
|
359
|
+
mapDispatchToProps
|
|
360
|
+
);
|
|
359
361
|
|
|
360
362
|
export default compose(withConnect)(memo(ListView, isEqual));
|
|
@@ -4,19 +4,16 @@ import createPluginsFilter from './createPluginsFilter';
|
|
|
4
4
|
/**
|
|
5
5
|
* Creates a valid query string from an object of queryParams
|
|
6
6
|
* This includes:
|
|
7
|
-
* - a
|
|
7
|
+
* - a filters clause
|
|
8
8
|
* - plugin options
|
|
9
9
|
*/
|
|
10
10
|
const buildQueryString = (queryParams = {}) => {
|
|
11
|
-
const _where = queryParams._where || [];
|
|
12
|
-
|
|
13
11
|
/**
|
|
14
12
|
* Extracting pluginOptions from the query since we don't want them to be part
|
|
15
13
|
* of the url
|
|
16
14
|
*/
|
|
17
15
|
const { plugins: _, ...otherQueryParams } = {
|
|
18
16
|
...queryParams,
|
|
19
|
-
_where,
|
|
20
17
|
...createPluginsFilter(queryParams.plugins),
|
|
21
18
|
};
|
|
22
19
|
|
|
@@ -1,13 +1,4 @@
|
|
|
1
1
|
const createPluginsFilter = obj =>
|
|
2
|
-
Object.values(obj || {}).reduce((acc, current) => {
|
|
3
|
-
return {
|
|
4
|
-
...acc,
|
|
5
|
-
...Object.keys(current).reduce((accumulator, key) => {
|
|
6
|
-
accumulator[`_${key}`] = current[key];
|
|
7
|
-
|
|
8
|
-
return accumulator;
|
|
9
|
-
}, {}),
|
|
10
|
-
};
|
|
11
|
-
}, {});
|
|
2
|
+
Object.values(obj || {}).reduce((acc, current) => Object.assign(acc, current), {});
|
|
12
3
|
|
|
13
4
|
export default createPluginsFilter;
|
|
@@ -2,8 +2,6 @@ export { default as arrayMoveItem } from './arrayMoveItem';
|
|
|
2
2
|
export { default as checkIfAttributeIsDisplayable } from './checkIfAttributeIsDisplayable';
|
|
3
3
|
export { default as createDefaultForm } from './createDefaultForm';
|
|
4
4
|
export { default as dateFormats } from './dateFormats';
|
|
5
|
-
export { default as formatFiltersFromQuery } from './formatFiltersFromQuery';
|
|
6
|
-
export { default as formatFiltersToQuery } from './formatFiltersToQuery';
|
|
7
5
|
export { default as formatLayoutToApi } from './formatLayoutToApi';
|
|
8
6
|
export { default as generatePermissionsObject } from './generatePermissionsObject';
|
|
9
7
|
export { default as getDisplayedValue } from './getDisplayedValue';
|
|
@@ -89,9 +89,7 @@ const ForgotPassword = ({ onSubmit, schema }) => {
|
|
|
89
89
|
<Row justifyContent="center">
|
|
90
90
|
<Box paddingTop={4}>
|
|
91
91
|
<Link to="/auth/login">
|
|
92
|
-
|
|
93
|
-
{formatMessage({ id: 'Auth.link.ready', defaultMessage: 'Ready to sign in?' })}
|
|
94
|
-
</Text>
|
|
92
|
+
{formatMessage({ id: 'Auth.link.ready', defaultMessage: 'Ready to sign in?' })}
|
|
95
93
|
</Link>
|
|
96
94
|
</Box>
|
|
97
95
|
</Row>
|
|
@@ -48,7 +48,7 @@ const ForgotPasswordSuccess = () => {
|
|
|
48
48
|
<Row justifyContent="center">
|
|
49
49
|
<Box paddingTop={4}>
|
|
50
50
|
<Link to="/auth/login">
|
|
51
|
-
|
|
51
|
+
{formatMessage({ id: 'Auth.link.signin', defaultMessage: 'Sign in' })}
|
|
52
52
|
</Link>
|
|
53
53
|
</Box>
|
|
54
54
|
</Row>
|
|
@@ -48,7 +48,7 @@ const Oops = () => {
|
|
|
48
48
|
<Row justifyContent="center">
|
|
49
49
|
<Box paddingTop={4}>
|
|
50
50
|
<Link to="/auth/login">
|
|
51
|
-
|
|
51
|
+
{formatMessage({ id: 'Auth.link.signin', defaultMessage: 'Sign in' })}
|
|
52
52
|
</Link>
|
|
53
53
|
</Box>
|
|
54
54
|
</Row>
|
|
@@ -161,9 +161,7 @@ const ForgotPassword = ({ onSubmit, schema }) => {
|
|
|
161
161
|
<Row justifyContent="center">
|
|
162
162
|
<Box paddingTop={4}>
|
|
163
163
|
<Link to="/auth/login">
|
|
164
|
-
|
|
165
|
-
{formatMessage({ id: 'Auth.link.ready', defaultMessage: 'Ready to sign in?' })}
|
|
166
|
-
</Text>
|
|
164
|
+
{formatMessage({ id: 'Auth.link.ready', defaultMessage: 'Ready to sign in?' })}
|
|
167
165
|
</Link>
|
|
168
166
|
</Box>
|
|
169
167
|
</Row>
|
|
@@ -52,7 +52,7 @@ const ApplicationInfosPage = () => {
|
|
|
52
52
|
|
|
53
53
|
<Grid paddingTop={1}>
|
|
54
54
|
<GridItem col={6} s={12}>
|
|
55
|
-
<TableLabel>
|
|
55
|
+
<TableLabel textColor="neutral600">
|
|
56
56
|
{formatMessage({
|
|
57
57
|
id: 'Settings.application.details',
|
|
58
58
|
defaultMessage: 'details',
|
|
@@ -61,7 +61,7 @@ const ApplicationInfosPage = () => {
|
|
|
61
61
|
<Text as="p">{appInfos.latestStrapiReleaseTag}</Text>
|
|
62
62
|
</GridItem>
|
|
63
63
|
<GridItem col={6} s={12}>
|
|
64
|
-
<TableLabel>
|
|
64
|
+
<TableLabel textColor="neutral600">
|
|
65
65
|
{formatMessage({
|
|
66
66
|
id: 'Settings.application.edition-title',
|
|
67
67
|
defaultMessage: 'current plan',
|
|
@@ -103,7 +103,7 @@ const ApplicationInfosPage = () => {
|
|
|
103
103
|
</Grid>
|
|
104
104
|
|
|
105
105
|
<Box paddingTop={1}>
|
|
106
|
-
<TableLabel>
|
|
106
|
+
<TableLabel textColor="neutral600">
|
|
107
107
|
{formatMessage({
|
|
108
108
|
id: 'Settings.application.node-version',
|
|
109
109
|
defaultMessage: 'node version',
|
|
@@ -102,26 +102,12 @@ const EditPage = () => {
|
|
|
102
102
|
validationSchema={schema}
|
|
103
103
|
validateOnChange={false}
|
|
104
104
|
>
|
|
105
|
-
{({ handleSubmit, values, errors,
|
|
105
|
+
{({ handleSubmit, values, errors, handleChange, handleBlur }) => (
|
|
106
106
|
<form onSubmit={handleSubmit}>
|
|
107
107
|
<>
|
|
108
108
|
<HeaderLayout
|
|
109
109
|
primaryAction={
|
|
110
110
|
<Stack horizontal size={2}>
|
|
111
|
-
<Button
|
|
112
|
-
variant="secondary"
|
|
113
|
-
disabled={role.code === 'strapi-super-admin'}
|
|
114
|
-
onClick={() => {
|
|
115
|
-
handleReset();
|
|
116
|
-
permissionsRef.current.resetForm();
|
|
117
|
-
}}
|
|
118
|
-
size="L"
|
|
119
|
-
>
|
|
120
|
-
{formatMessage({
|
|
121
|
-
id: 'app.components.Button.reset',
|
|
122
|
-
defaultMessage: 'Reset',
|
|
123
|
-
})}
|
|
124
|
-
</Button>
|
|
125
111
|
<Button
|
|
126
112
|
disabled={role.code === 'strapi-super-admin'}
|
|
127
113
|
onClick={handleSubmit}
|
|
@@ -138,7 +138,7 @@ const RoleListPage = () => {
|
|
|
138
138
|
<Thead>
|
|
139
139
|
<Tr>
|
|
140
140
|
<Th>
|
|
141
|
-
<TableLabel>
|
|
141
|
+
<TableLabel textColor="neutral600">
|
|
142
142
|
{formatMessage({
|
|
143
143
|
id: 'Settings.roles.list.header.name',
|
|
144
144
|
defaultMessage: 'Name',
|
|
@@ -146,7 +146,7 @@ const RoleListPage = () => {
|
|
|
146
146
|
</TableLabel>
|
|
147
147
|
</Th>
|
|
148
148
|
<Th>
|
|
149
|
-
<TableLabel>
|
|
149
|
+
<TableLabel textColor="neutral600">
|
|
150
150
|
{formatMessage({
|
|
151
151
|
id: 'Settings.roles.list.header.description',
|
|
152
152
|
defaultMessage: 'Description',
|
|
@@ -154,7 +154,7 @@ const RoleListPage = () => {
|
|
|
154
154
|
</TableLabel>
|
|
155
155
|
</Th>
|
|
156
156
|
<Th>
|
|
157
|
-
<TableLabel>
|
|
157
|
+
<TableLabel textColor="neutral600">
|
|
158
158
|
{formatMessage({
|
|
159
159
|
id: 'Settings.roles.list.header.users',
|
|
160
160
|
defaultMessage: 'Users',
|
package/admin/src/pages/SettingsPage/pages/Webhooks/EditView/components/HeadersInput/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import styled from 'styled-components';
|
|
2
3
|
import { RemoveRoundedButton } from '@strapi/helper-plugin';
|
|
3
4
|
import AddIcon from '@strapi/icons/AddIcon';
|
|
4
5
|
import { Box } from '@strapi/parts/Box';
|
|
@@ -11,6 +12,10 @@ import { TextButton } from '@strapi/parts/TextButton';
|
|
|
11
12
|
import { Field, FieldArray, useFormikContext } from 'formik';
|
|
12
13
|
import { useIntl } from 'react-intl';
|
|
13
14
|
|
|
15
|
+
const RemoveButtonContainer = styled(Row)`
|
|
16
|
+
height: ${({ theme }) => theme.sizes.input.M};
|
|
17
|
+
`;
|
|
18
|
+
|
|
14
19
|
const HeadersInput = () => {
|
|
15
20
|
const { formatMessage } = useIntl();
|
|
16
21
|
const { values, errors } = useFormikContext();
|
|
@@ -51,7 +56,7 @@ const HeadersInput = () => {
|
|
|
51
56
|
/>
|
|
52
57
|
</GridItem>
|
|
53
58
|
<GridItem col={6}>
|
|
54
|
-
<Row>
|
|
59
|
+
<Row alignItems="flex-end">
|
|
55
60
|
<Box style={{ flex: 1 }}>
|
|
56
61
|
<Field
|
|
57
62
|
as={TextInput}
|
|
@@ -70,7 +75,7 @@ const HeadersInput = () => {
|
|
|
70
75
|
}
|
|
71
76
|
/>
|
|
72
77
|
</Box>
|
|
73
|
-
<
|
|
78
|
+
<RemoveButtonContainer paddingLeft={2}>
|
|
74
79
|
<RemoveRoundedButton
|
|
75
80
|
onClick={() => values.headers.length !== 1 && remove(i)}
|
|
76
81
|
label={formatMessage(
|
|
@@ -81,7 +86,7 @@ const HeadersInput = () => {
|
|
|
81
86
|
{ number: i + 1 }
|
|
82
87
|
)}
|
|
83
88
|
/>
|
|
84
|
-
</
|
|
89
|
+
</RemoveButtonContainer>
|
|
85
90
|
</Row>
|
|
86
91
|
</GridItem>
|
|
87
92
|
</React.Fragment>
|
package/admin/src/pages/SettingsPage/pages/Webhooks/EditView/components/WebhookForm/index.js
CHANGED
|
@@ -46,7 +46,7 @@ const WebhookForm = ({
|
|
|
46
46
|
validateOnChange={false}
|
|
47
47
|
validateOnBlur={false}
|
|
48
48
|
>
|
|
49
|
-
{({ handleSubmit, errors
|
|
49
|
+
{({ handleSubmit, errors }) => (
|
|
50
50
|
<Form noValidate>
|
|
51
51
|
<HeaderLayout
|
|
52
52
|
primaryAction={
|
|
@@ -63,12 +63,6 @@ const WebhookForm = ({
|
|
|
63
63
|
defaultMessage: 'Trigger',
|
|
64
64
|
})}
|
|
65
65
|
</Button>
|
|
66
|
-
<Button variant="secondary" onClick={handleReset} size="L">
|
|
67
|
-
{formatMessage({
|
|
68
|
-
id: 'app.components.Button.reset',
|
|
69
|
-
defaultMessage: 'Reset',
|
|
70
|
-
})}
|
|
71
|
-
</Button>
|
|
72
66
|
<Button startIcon={<CheckIcon />} onClick={handleSubmit} type="submit" size="L">
|
|
73
67
|
{formatMessage({
|
|
74
68
|
id: 'app.components.Button.save',
|
|
@@ -299,7 +299,7 @@
|
|
|
299
299
|
"app.components.ToggleCheckbox.on-label": "On",
|
|
300
300
|
"app.components.UpgradePlanModal.button": "Learn more",
|
|
301
301
|
"app.components.UpgradePlanModal.limit-reached": "You have reached the limit",
|
|
302
|
-
"app.components.UpgradePlanModal.text-ce": "
|
|
302
|
+
"app.components.UpgradePlanModal.text-ce": "Community Edition",
|
|
303
303
|
"app.components.UpgradePlanModal.text-ee": "Enterprise Edition",
|
|
304
304
|
"app.components.UpgradePlanModal.text-power": "Unlock the full power of Strapi by upgrading your plan to the Enterprise Edition",
|
|
305
305
|
"app.components.UpgradePlanModal.text-strapi": "of Strapi by upgrading your plan to the",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[1920],{69560:(e,t,r)=>{"use strict";e.exports=r(72875)},72875:(e,t,r)=>{"use strict";var n,i,o;e=r.nmd(e);var u,s=r(88879)(r(12568));window,u=function(e,t){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==(0,s.default)(e)&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=45)}([function(e,t,r){e.exports=r(16)()},function(t,r){t.exports=e},function(e,r){e.exports=t},function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function r(){return e.exports=r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,r.apply(this,arguments)}e.exports=r,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){var n=r(20);e.exports=function(e,t){if(null==e)return{};var r,i,o=n(e,t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(i=0;i<u.length;i++)r=u[i],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){r.r(t),r.d(t,"Box",(function(){return d}));var n,i=r(3),o=r.n(i),u=r(0),s=r.n(u),a=r(2),c=r.n(a),l=r(9),f={color:!0},d=c.a.div.withConfig({shouldForwardProp:function(e,t){return!f[e]&&t(e)}})(n||(n=o()(["\n // Colors\n background: ",";\n color: ",";\n\n // Spaces\n ","\n ","\n ","\n ","\n ","\n\n // Responsive hiding\n ","\n ","\n \n\n // Borders\n border-radius: ",";\n border-style: ",";\n border-width: ",";\n border-color: ",";\n border: ",";\n\n // Shadows\n box-shadow: ",";\n"])),(function(e){var t=e.theme,r=e.background;return t.colors[r]}),(function(e){var t=e.theme,r=e.color;return t.colors[r]}),(function(e){var t=e.theme,r=e.padding;return Object(l.a)("padding",r,t)}),(function(e){var t=e.theme,r=e.paddingTop;return Object(l.a)("padding-top",r,t)}),(function(e){var t=e.theme,r=e.paddingRight;return Object(l.a)("padding-right",r,t)}),(function(e){var t=e.theme,r=e.paddingBottom;return Object(l.a)("padding-bottom",r,t)}),(function(e){var t=e.theme,r=e.paddingLeft;return Object(l.a)("padding-left",r,t)}),(function(e){var t=e.theme;return e.hiddenS?"".concat(t.mediaQueries.tablet," { display: none; }"):void 0}),(function(e){var t=e.theme;return e.hiddenXS?"".concat(t.mediaQueries.mobile," { display: none; }"):void 0}),(function(e){var t=e.theme;return e.hasRadius?t.borderRadius:void 0}),(function(e){return e.borderStyle}),(function(e){return e.borderWidth}),(function(e){var t=e.borderColor;return e.theme.colors[t]}),(function(e){var t=e.theme,r=e.borderColor,n=e.borderStyle,i=e.borderWidth;if(r&&!n&&!i)return"1px solid ".concat(t.colors[r])}),(function(e){var t=e.theme,r=e.shadow;return t.shadows[r]}));d.displayName="Box",d.defaultProps={background:void 0,borderColor:void 0,color:void 0,hiddenS:!1,hiddenXS:!1,padding:void 0,paddingTop:void 0,paddingRight:void 0,paddingBottom:void 0,paddingLeft:void 0,hasRadius:!1,shadow:void 0},d.propTypes={background:s.a.string,borderColor:s.a.string,children:s.a.oneOfType([s.a.node,s.a.string]).isRequired,color:s.a.string,hasRadius:s.a.bool,hiddenS:s.a.bool,hiddenXS:s.a.bool,padding:s.a.oneOfType([s.a.number,s.a.arrayOf(s.a.number)]),paddingBottom:s.a.oneOfType([s.a.number,s.a.arrayOf(s.a.number)]),paddingLeft:s.a.oneOfType([s.a.number,s.a.arrayOf(s.a.number)]),paddingRight:s.a.oneOfType([s.a.number,s.a.arrayOf(s.a.number)]),paddingTop:s.a.oneOfType([s.a.number,s.a.arrayOf(s.a.number)]),shadow:s.a.string}},,,function(e,t,r){var n=r(10),i=r.n(n);t.a=function(e,t,r){if(void 0!==t){if(Array.isArray(t)){var n=i()(t,3),o=n[0],u=n[1],s=n[2],a="".concat(e,": ").concat(r.spaces[o],";");return void 0!==u&&(a+="".concat(r.mediaQueries.tablet,"{\n ").concat(e,": ").concat(r.spaces[u],";\n }")),void 0!==s&&(a+="".concat(r.mediaQueries.mobile,"{\n ").concat(e,": ").concat(r.spaces[s],";\n }")),a}return"".concat(e,": ").concat(r.spaces[t],";")}}},function(e,t,r){var n=r(22),i=r(23),o=r(19),u=r(24);e.exports=function(e,t){return n(e)||i(e,t)||o(e,t)||u()},e.exports.default=e.exports,e.exports.__esModule=!0},,,,,,function(e,t,r){var n=r(17);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,o,u){if(u!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return r.PropTypes=r,r}},function(e,t,r){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){var n=r(18);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i},e.exports.default=e.exports,e.exports.__esModule=!0},,function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o=[],u=!0,s=!1;try{for(r=r.call(e);!(u=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);u=!0);}catch(e){s=!0,i=e}finally{try{u||null==r.return||r.return()}finally{if(s)throw i}}return o}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},,,,,,,,,,,,,,,,,,,,,function(e,t,r){r.r(t),r.d(t,"Grid",(function(){return M})),r.d(t,"GridItem",(function(){return E}));var n,i=r(4),o=r.n(i),u=r(5),s=r.n(u),a=r(3),c=r.n(a),l=r(1),f=r.n(l),d=r(2),h=r.n(d),p=r(0),v=r.n(p),y=Object(l.createContext)({gap:0,gridCols:12}),b=r(6),g=r(9),m=["gap","gridCols"],O=h()(b.Box)(n||(n=c()(["\n display: grid;\n grid-template-columns: repeat(",", 1fr);\n ","\n"])),(function(e){return e.gridCols}),(function(e){var t=e.theme,r=e.gap;return Object(g.a)("gap",r,t)})),M=function(e){var t=e.gap,r=e.gridCols,n=s()(e,m);return f.a.createElement(y.Provider,{value:{gap:t,gridCols:r}},f.a.createElement(O,o()({gap:t,gridCols:r},n)))};M.defaultProps={gap:0,gridCols:12},M.propTypes={gap:v.a.oneOfType([v.a.number,v.a.arrayOf(v.a.number)]),gridCols:v.a.number};var C,Q=["col","xs","s"],x=h.a.div(C||(C=c()(["\n grid-column: span ",";\n\n "," {\n grid-column: span ",";\n }\n\n "," {\n grid-column: span ",";\n }\n"])),(function(e){return e.col}),(function(e){return e.theme.mediaQueries.tablet}),(function(e){return e.s}),(function(e){return e.theme.mediaQueries.mobile}),(function(e){return e.xs})),E=function(e){var t=e.col,r=e.xs,n=e.s,i=s()(e,Q),o=Object(l.useContext)(y),u=o.gap,a=o.gridCols;return f.a.createElement(x,{gap:u,gridCols:a,col:t,xs:r,s:n},f.a.createElement(b.Box,i))};E.defaultProps={col:void 0,s:void 0,xs:void 0},E.propTypes={col:v.a.number,s:v.a.number,xs:v.a.number}}])},"object"==(0,s.default)(t)&&"object"==(0,s.default)(e)?e.exports=u(r(55354),r(5834)):(i=[r(55354),r(5834)],void 0===(o="function"===typeof(n=u)?n.apply(t,i):n)||(e.exports=o))},77457:(e,t,r)=>{"use strict";e.exports=r(35610)},35610:(e,t,r)=>{"use strict";var n,i,o;e=r.nmd(e);var u,s=r(88879)(r(12568));window,u=function(e,t){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==(0,s.default)(e)&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=107)}({0:function(e,t,r){e.exports=r(16)()},1:function(t,r){t.exports=e},10:function(e,t,r){var n=r(22),i=r(23),o=r(19),u=r(24);e.exports=function(e,t){return n(e)||i(e,t)||o(e,t)||u()},e.exports.default=e.exports,e.exports.__esModule=!0},107:function(e,t,r){r.r(t),r.d(t,"Main",(function(){return g})),r.d(t,"SkipToContent",(function(){return C}));var n,i=r(4),o=r.n(i),u=r(5),s=r.n(u),a=r(3),c=r.n(a),l=r(1),f=r.n(l),d=r(0),h=r.n(d),p=r(2),v=r.n(p),y=["labelledBy"],b=v.a.main(n||(n=c()(["\n outline: none;\n"]))),g=function(e){var t=e.labelledBy,r=s()(e,y),n=t||"main-content-title";return f.a.createElement(b,o()({"aria-labelledby":n,id:"main-content",tabIndex:-1},r))};g.defaultProps={labelledBy:void 0},g.propTypes={labelledBy:h.a.string};var m,O=r(6),M=v()(O.Box)(m||(m=c()(["\n text-decoration: none;\n position: absolute;\n z-index: 9999;\n left: -100%;\n top: -100%;\n\n &:focus {\n left: ",";\n top: ",";\n }\n"])),(function(e){return e.theme.spaces[3]}),(function(e){return e.theme.spaces[3]})),C=function(e){var t=e.children;return f.a.createElement(M,{as:"a",href:"#main-content",background:"primary600",color:"neutral0",padding:3,hasRadius:!0},t)};C.propTypes={children:h.a.node.isRequired}},16:function(e,t,r){var n=r(17);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,o,u){if(u!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return r.PropTypes=r,r}},17:function(e,t,r){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},18:function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},e.exports.default=e.exports,e.exports.__esModule=!0},19:function(e,t,r){var n=r(18);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},2:function(e,r){e.exports=t},20:function(e,t){e.exports=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i},e.exports.default=e.exports,e.exports.__esModule=!0},22:function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},23:function(e,t){e.exports=function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o=[],u=!0,s=!1;try{for(r=r.call(e);!(u=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);u=!0);}catch(e){s=!0,i=e}finally{try{u||null==r.return||r.return()}finally{if(s)throw i}}return o}},e.exports.default=e.exports,e.exports.__esModule=!0},24:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},3:function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))},e.exports.default=e.exports,e.exports.__esModule=!0},4:function(e,t){function r(){return e.exports=r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,r.apply(this,arguments)}e.exports=r,e.exports.default=e.exports,e.exports.__esModule=!0},5:function(e,t,r){var n=r(20);e.exports=function(e,t){if(null==e)return{};var r,i,o=n(e,t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(i=0;i<u.length;i++)r=u[i],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o},e.exports.default=e.exports,e.exports.__esModule=!0},6:function(e,t,r){r.r(t),r.d(t,"Box",(function(){return d}));var n,i=r(3),o=r.n(i),u=r(0),s=r.n(u),a=r(2),c=r.n(a),l=r(9),f={color:!0},d=c.a.div.withConfig({shouldForwardProp:function(e,t){return!f[e]&&t(e)}})(n||(n=o()(["\n // Colors\n background: ",";\n color: ",";\n\n // Spaces\n ","\n ","\n ","\n ","\n ","\n\n // Responsive hiding\n ","\n ","\n \n\n // Borders\n border-radius: ",";\n border-style: ",";\n border-width: ",";\n border-color: ",";\n border: ",";\n\n // Shadows\n box-shadow: ",";\n"])),(function(e){var t=e.theme,r=e.background;return t.colors[r]}),(function(e){var t=e.theme,r=e.color;return t.colors[r]}),(function(e){var t=e.theme,r=e.padding;return Object(l.a)("padding",r,t)}),(function(e){var t=e.theme,r=e.paddingTop;return Object(l.a)("padding-top",r,t)}),(function(e){var t=e.theme,r=e.paddingRight;return Object(l.a)("padding-right",r,t)}),(function(e){var t=e.theme,r=e.paddingBottom;return Object(l.a)("padding-bottom",r,t)}),(function(e){var t=e.theme,r=e.paddingLeft;return Object(l.a)("padding-left",r,t)}),(function(e){var t=e.theme;return e.hiddenS?"".concat(t.mediaQueries.tablet," { display: none; }"):void 0}),(function(e){var t=e.theme;return e.hiddenXS?"".concat(t.mediaQueries.mobile," { display: none; }"):void 0}),(function(e){var t=e.theme;return e.hasRadius?t.borderRadius:void 0}),(function(e){return e.borderStyle}),(function(e){return e.borderWidth}),(function(e){var t=e.borderColor;return e.theme.colors[t]}),(function(e){var t=e.theme,r=e.borderColor,n=e.borderStyle,i=e.borderWidth;if(r&&!n&&!i)return"1px solid ".concat(t.colors[r])}),(function(e){var t=e.theme,r=e.shadow;return t.shadows[r]}));d.displayName="Box",d.defaultProps={background:void 0,borderColor:void 0,color:void 0,hiddenS:!1,hiddenXS:!1,padding:void 0,paddingTop:void 0,paddingRight:void 0,paddingBottom:void 0,paddingLeft:void 0,hasRadius:!1,shadow:void 0},d.propTypes={background:s.a.string,borderColor:s.a.string,children:s.a.oneOfType([s.a.node,s.a.string]).isRequired,color:s.a.string,hasRadius:s.a.bool,hiddenS:s.a.bool,hiddenXS:s.a.bool,padding:s.a.oneOfType([s.a.number,s.a.arrayOf(s.a.number)]),paddingBottom:s.a.oneOfType([s.a.number,s.a.arrayOf(s.a.number)]),paddingLeft:s.a.oneOfType([s.a.number,s.a.arrayOf(s.a.number)]),paddingRight:s.a.oneOfType([s.a.number,s.a.arrayOf(s.a.number)]),paddingTop:s.a.oneOfType([s.a.number,s.a.arrayOf(s.a.number)]),shadow:s.a.string}},9:function(e,t,r){var n=r(10),i=r.n(n);t.a=function(e,t,r){if(void 0!==t){if(Array.isArray(t)){var n=i()(t,3),o=n[0],u=n[1],s=n[2],a="".concat(e,": ").concat(r.spaces[o],";");return void 0!==u&&(a+="".concat(r.mediaQueries.tablet,"{\n ").concat(e,": ").concat(r.spaces[u],";\n }")),void 0!==s&&(a+="".concat(r.mediaQueries.mobile,"{\n ").concat(e,": ").concat(r.spaces[s],";\n }")),a}return"".concat(e,": ").concat(r.spaces[t],";")}}}})},"object"==(0,s.default)(t)&&"object"==(0,s.default)(e)?e.exports=u(r(55354),r(5834)):(i=[r(55354),r(5834)],void 0===(o="function"===typeof(n=u)?n.apply(t,i):n)||(e.exports=o))},95101:(e,t,r)=>{"use strict";var n=r(88879);t.__esModule=!0,t.focusManager=void 0;var i=n(r(92977)),o=r(33969),u=r(42368),s=new(function(e){function t(){return e.apply(this,arguments)||this}(0,i.default)(t,e);var r=t.prototype;return r.onSubscribe=function(){this.removeEventListener||this.setDefaultEventListener()},r.setEventListener=function(e){var t=this;this.removeEventListener&&this.removeEventListener(),this.removeEventListener=e((function(e){"boolean"===typeof e?t.setFocused(e):t.onFocus()}))},r.setFocused=function(e){this.focused=e,e&&this.onFocus()},r.onFocus=function(){this.listeners.forEach((function(e){e()}))},r.isFocused=function(){return"boolean"===typeof this.focused?this.focused:"undefined"===typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)},r.setDefaultEventListener=function(){var e;!u.isServer&&(null==(e=window)?void 0:e.addEventListener)&&this.setEventListener((function(e){var t=function(){return e()};return window.addEventListener("visibilitychange",t,!1),window.addEventListener("focus",t,!1),function(){window.removeEventListener("visibilitychange",t),window.removeEventListener("focus",t)}}))},t}(o.Subscribable));t.focusManager=s},3327:(e,t,r)=>{"use strict";var n=r(88879)(r(12568)),i=r(88879);t.__esModule=!0,t.dehydrate=function(e,t){var r,n,i=[],o=[];if(!1!==(null==(r=t=t||{})?void 0:r.dehydrateMutations)){var a=t.shouldDehydrateMutation||u;e.getMutationCache().getAll().forEach((function(e){a(e)&&i.push(function(e){return{mutationKey:e.options.mutationKey,state:e.state}}(e))}))}if(!1!==(null==(n=t)?void 0:n.dehydrateQueries)){var c=t.shouldDehydrateQuery||s;e.getQueryCache().getAll().forEach((function(e){c(e)&&o.push(function(e){return{state:e.state,queryKey:e.queryKey,queryHash:e.queryHash}}(e))}))}return{mutations:i,queries:o}},t.hydrate=function(e,t,r){if("object"!==(0,n.default)(t)||null===t)return;var i=e.getMutationCache(),u=e.getQueryCache(),s=t.mutations||[],a=t.queries||[];s.forEach((function(t){var n;i.build(e,(0,o.default)({},null==r||null==(n=r.defaultOptions)?void 0:n.mutations,{mutationKey:t.mutationKey}),t.state)})),a.forEach((function(t){var n,i=u.get(t.queryHash);i?i.state.dataUpdatedAt<t.state.dataUpdatedAt&&i.setState(t.state):u.build(e,(0,o.default)({},null==r||null==(n=r.defaultOptions)?void 0:n.queries,{queryKey:t.queryKey,queryHash:t.queryHash}),t.state)}))};var o=i(r(96045));function u(e){return e.state.isPaused}function s(e){return"success"===e.state.status}},61965:(e,t,r)=>{"use strict";t.__esModule=!0;var n={CancelledError:!0,QueryCache:!0,QueryClient:!0,QueryObserver:!0,QueriesObserver:!0,InfiniteQueryObserver:!0,MutationCache:!0,MutationObserver:!0,setLogger:!0,notifyManager:!0,focusManager:!0,onlineManager:!0,hashQueryKey:!0,isError:!0,isCancelledError:!0,dehydrate:!0,hydrate:!0};t.hydrate=t.dehydrate=t.isCancelledError=t.isError=t.hashQueryKey=t.onlineManager=t.focusManager=t.notifyManager=t.setLogger=t.MutationObserver=t.MutationCache=t.InfiniteQueryObserver=t.QueriesObserver=t.QueryObserver=t.QueryClient=t.QueryCache=t.CancelledError=void 0;var i=r(41375);t.CancelledError=i.CancelledError,t.isCancelledError=i.isCancelledError;var o=r(17603);t.QueryCache=o.QueryCache;var u=r(37e3);t.QueryClient=u.QueryClient;var s=r(94541);t.QueryObserver=s.QueryObserver;var a=r(26074);t.QueriesObserver=a.QueriesObserver;var c=r(75891);t.InfiniteQueryObserver=c.InfiniteQueryObserver;var l=r(73960);t.MutationCache=l.MutationCache;var f=r(10369);t.MutationObserver=f.MutationObserver;var d=r(31504);t.setLogger=d.setLogger;var h=r(70065);t.notifyManager=h.notifyManager;var p=r(95101);t.focusManager=p.focusManager;var v=r(64345);t.onlineManager=v.onlineManager;var y=r(42368);t.hashQueryKey=y.hashQueryKey,t.isError=y.isError;var b=r(3327);t.dehydrate=b.dehydrate,t.hydrate=b.hydrate;var g=r(21621);Object.keys(g).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||(t[e]=g[e]))}))},2982:(e,t,r)=>{"use strict";t.__esModule=!0,t.infiniteQueryBehavior=function(){return{onFetch:function(e){e.fetchFn=function(){var t,r,u,s,a,c,l,f=null==(t=e.fetchOptions)||null==(r=t.meta)?void 0:r.refetchPage,d=null==(u=e.fetchOptions)||null==(s=u.meta)?void 0:s.fetchMore,h=null==d?void 0:d.pageParam,p="forward"===(null==d?void 0:d.direction),v="backward"===(null==d?void 0:d.direction),y=(null==(a=e.state.data)?void 0:a.pages)||[],b=(null==(c=e.state.data)?void 0:c.pageParams)||[],g=b,m=!1,O=e.options.queryFn||function(){return Promise.reject("Missing queryFn")},M=function(e,t,r,n){return g=n?[t].concat(g):[].concat(g,[t]),n?[r].concat(e):[].concat(e,[r])},C=function(t,r,i,o){if(m)return Promise.reject("Cancelled");if("undefined"===typeof i&&!r&&t.length)return Promise.resolve(t);var u={queryKey:e.queryKey,pageParam:i},s=O(u),a=Promise.resolve(s).then((function(e){return M(t,i,e,o)}));(0,n.isCancelable)(s)&&(a.cancel=s.cancel);return a};if(y.length)if(p){var Q="undefined"!==typeof h,x=Q?h:i(e.options,y);l=C(y,Q,x)}else if(v){var E="undefined"!==typeof h,P=E?h:o(e.options,y);l=C(y,E,P,!0)}else!function(){g=[];var t="undefined"===typeof e.options.getNextPageParam,r=!f||!y[0]||f(y[0],0,y);l=r?C([],t,b[0]):Promise.resolve(M([],b[0],y[0]));for(var n=function(r){l=l.then((function(n){if(!f||!y[r]||f(y[r],r,y)){var o=t?b[r]:i(e.options,n);return C(n,t,o)}return Promise.resolve(M(n,b[r],y[r]))}))},o=1;o<y.length;o++)n(o)}();else l=C([]);var S=l.then((function(e){return{pages:e,pageParams:g}}));return S.cancel=function(){m=!0,(0,n.isCancelable)(l)&&l.cancel()},S}}}},t.getNextPageParam=i,t.getPreviousPageParam=o,t.hasNextPage=function(e,t){if(e.getNextPageParam&&Array.isArray(t)){var r=i(e,t);return"undefined"!==typeof r&&null!==r&&!1!==r}},t.hasPreviousPage=function(e,t){if(e.getPreviousPageParam&&Array.isArray(t)){var r=o(e,t);return"undefined"!==typeof r&&null!==r&&!1!==r}};var n=r(41375);function i(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}function o(e,t){return null==e.getPreviousPageParam?void 0:e.getPreviousPageParam(t[0],t)}},75891:(e,t,r)=>{"use strict";var n=r(88879);t.__esModule=!0,t.InfiniteQueryObserver=void 0;var i=n(r(96045)),o=n(r(92977)),u=r(94541),s=r(2982),a=function(e){function t(t,r){return e.call(this,t,r)||this}(0,o.default)(t,e);var r=t.prototype;return r.bindMethods=function(){e.prototype.bindMethods.call(this),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)},r.setOptions=function(t){e.prototype.setOptions.call(this,(0,i.default)({},t,{behavior:(0,s.infiniteQueryBehavior)()}))},r.getOptimisticResult=function(t){return t.behavior=(0,s.infiniteQueryBehavior)(),e.prototype.getOptimisticResult.call(this,t)},r.fetchNextPage=function(e){return this.fetch({cancelRefetch:!0,throwOnError:null==e?void 0:e.throwOnError,meta:{fetchMore:{direction:"forward",pageParam:null==e?void 0:e.pageParam}}})},r.fetchPreviousPage=function(e){return this.fetch({cancelRefetch:!0,throwOnError:null==e?void 0:e.throwOnError,meta:{fetchMore:{direction:"backward",pageParam:null==e?void 0:e.pageParam}}})},r.createResult=function(t,r){var n,o,u,a,c,l,f=t.state,d=e.prototype.createResult.call(this,t,r);return(0,i.default)({},d,{fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:(0,s.hasNextPage)(r,null==(n=f.data)?void 0:n.pages),hasPreviousPage:(0,s.hasPreviousPage)(r,null==(o=f.data)?void 0:o.pages),isFetchingNextPage:f.isFetching&&"forward"===(null==(u=f.fetchMeta)||null==(a=u.fetchMore)?void 0:a.direction),isFetchingPreviousPage:f.isFetching&&"backward"===(null==(c=f.fetchMeta)||null==(l=c.fetchMore)?void 0:l.direction)})},t}(u.QueryObserver);t.InfiniteQueryObserver=a},31504:(e,t,r)=>{"use strict";var n=r(75901);t.__esModule=!0,t.getLogger=function(){return o},t.setLogger=function(e){o=e};var i=r(42368),o=n||{error:i.noop,warn:i.noop,log:i.noop}},40355:(e,t,r)=>{"use strict";var n=r(88879);t.__esModule=!0,t.getDefaultState=l,t.Mutation=void 0;var i=n(r(96045)),o=r(31504),u=r(70065),s=r(41375),a=r(42368),c=function(){function e(e){this.options=(0,i.default)({},e.defaultOptions,e.options),this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.observers=[],this.state=e.state||l()}var t=e.prototype;return t.setState=function(e){this.dispatch({type:"setState",state:e})},t.addObserver=function(e){-1===this.observers.indexOf(e)&&this.observers.push(e)},t.removeObserver=function(e){this.observers=this.observers.filter((function(t){return t!==e}))},t.cancel=function(){return this.retryer?(this.retryer.cancel(),this.retryer.promise.then(a.noop).catch(a.noop)):Promise.resolve()},t.continue=function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()},t.execute=function(){var e,t=this,r="loading"===this.state.status,n=Promise.resolve();return r||(this.dispatch({type:"loading",variables:this.options.variables}),n=n.then((function(){return null==t.options.onMutate?void 0:t.options.onMutate(t.state.variables)})).then((function(e){e!==t.state.context&&t.dispatch({type:"loading",context:e,variables:t.state.variables})}))),n.then((function(){return t.executeMutation()})).then((function(r){e=r,null==t.mutationCache.config.onSuccess||t.mutationCache.config.onSuccess(e,t.state.variables,t.state.context,t)})).then((function(){return null==t.options.onSuccess?void 0:t.options.onSuccess(e,t.state.variables,t.state.context)})).then((function(){return null==t.options.onSettled?void 0:t.options.onSettled(e,null,t.state.variables,t.state.context)})).then((function(){return t.dispatch({type:"success",data:e}),e})).catch((function(e){return null==t.mutationCache.config.onError||t.mutationCache.config.onError(e,t.state.variables,t.state.context,t),(0,o.getLogger)().error(e),Promise.resolve().then((function(){return null==t.options.onError?void 0:t.options.onError(e,t.state.variables,t.state.context)})).then((function(){return null==t.options.onSettled?void 0:t.options.onSettled(void 0,e,t.state.variables,t.state.context)})).then((function(){throw t.dispatch({type:"error",error:e}),e}))}))},t.executeMutation=function(){var e,t=this;return this.retryer=new s.Retryer({fn:function(){return t.options.mutationFn?t.options.mutationFn(t.state.variables):Promise.reject("No mutationFn found")},onFail:function(){t.dispatch({type:"failed"})},onPause:function(){t.dispatch({type:"pause"})},onContinue:function(){t.dispatch({type:"continue"})},retry:null!=(e=this.options.retry)?e:0,retryDelay:this.options.retryDelay}),this.retryer.promise},t.dispatch=function(e){var t=this;this.state=function(e,t){switch(t.type){case"failed":return(0,i.default)({},e,{failureCount:e.failureCount+1});case"pause":return(0,i.default)({},e,{isPaused:!0});case"continue":return(0,i.default)({},e,{isPaused:!1});case"loading":return(0,i.default)({},e,{context:t.context,data:void 0,error:null,isPaused:!1,status:"loading",variables:t.variables});case"success":return(0,i.default)({},e,{data:t.data,error:null,status:"success",isPaused:!1});case"error":return(0,i.default)({},e,{data:void 0,error:t.error,failureCount:e.failureCount+1,isPaused:!1,status:"error"});case"setState":return(0,i.default)({},e,t.state);default:return e}}(this.state,e),u.notifyManager.batch((function(){t.observers.forEach((function(t){t.onMutationUpdate(e)})),t.mutationCache.notify(t)}))},e}();function l(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}t.Mutation=c},73960:(e,t,r)=>{"use strict";var n=r(88879);t.__esModule=!0,t.MutationCache=void 0;var i=n(r(92977)),o=r(70065),u=r(40355),s=r(42368),a=function(e){function t(t){var r;return(r=e.call(this)||this).config=t||{},r.mutations=[],r.mutationId=0,r}(0,i.default)(t,e);var r=t.prototype;return r.build=function(e,t,r){var n=new u.Mutation({mutationCache:this,mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:r,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0});return this.add(n),n},r.add=function(e){this.mutations.push(e),this.notify(e)},r.remove=function(e){this.mutations=this.mutations.filter((function(t){return t!==e})),e.cancel(),this.notify(e)},r.clear=function(){var e=this;o.notifyManager.batch((function(){e.mutations.forEach((function(t){e.remove(t)}))}))},r.getAll=function(){return this.mutations},r.find=function(e){return"undefined"===typeof e.exact&&(e.exact=!0),this.mutations.find((function(t){return(0,s.matchMutation)(e,t)}))},r.findAll=function(e){return this.mutations.filter((function(t){return(0,s.matchMutation)(e,t)}))},r.notify=function(e){var t=this;o.notifyManager.batch((function(){t.listeners.forEach((function(t){t(e)}))}))},r.onFocus=function(){this.resumePausedMutations()},r.onOnline=function(){this.resumePausedMutations()},r.resumePausedMutations=function(){var e=this.mutations.filter((function(e){return e.state.isPaused}));return o.notifyManager.batch((function(){return e.reduce((function(e,t){return e.then((function(){return t.continue().catch(s.noop)}))}),Promise.resolve())}))},t}(r(33969).Subscribable);t.MutationCache=a},10369:(e,t,r)=>{"use strict";var n=r(88879);t.__esModule=!0,t.MutationObserver=void 0;var i=n(r(96045)),o=n(r(92977)),u=r(40355),s=r(70065),a=function(e){function t(t,r){var n;return(n=e.call(this)||this).client=t,n.setOptions(r),n.bindMethods(),n.updateResult(),n}(0,o.default)(t,e);var r=t.prototype;return r.bindMethods=function(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)},r.setOptions=function(e){this.options=this.client.defaultMutationOptions(e)},r.onUnsubscribe=function(){var e;this.listeners.length||(null==(e=this.currentMutation)||e.removeObserver(this))},r.onMutationUpdate=function(e){this.updateResult();var t={listeners:!0};"success"===e.type?t.onSuccess=!0:"error"===e.type&&(t.onError=!0),this.notify(t)},r.getCurrentResult=function(){return this.currentResult},r.reset=function(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})},r.mutate=function(e,t){return this.mutateOptions=t,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,(0,i.default)({},this.options,{variables:"undefined"!==typeof e?e:this.options.variables})),this.currentMutation.addObserver(this),this.currentMutation.execute()},r.updateResult=function(){var e=this.currentMutation?this.currentMutation.state:(0,u.getDefaultState)(),t=(0,i.default)({},e,{isLoading:"loading"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset});this.currentResult=t},r.notify=function(e){var t=this;s.notifyManager.batch((function(){t.mutateOptions&&(e.onSuccess?(null==t.mutateOptions.onSuccess||t.mutateOptions.onSuccess(t.currentResult.data,t.currentResult.variables,t.currentResult.context),null==t.mutateOptions.onSettled||t.mutateOptions.onSettled(t.currentResult.data,null,t.currentResult.variables,t.currentResult.context)):e.onError&&(null==t.mutateOptions.onError||t.mutateOptions.onError(t.currentResult.error,t.currentResult.variables,t.currentResult.context),null==t.mutateOptions.onSettled||t.mutateOptions.onSettled(void 0,t.currentResult.error,t.currentResult.variables,t.currentResult.context))),e.listeners&&t.listeners.forEach((function(e){e(t.currentResult)}))}))},t}(r(33969).Subscribable);t.MutationObserver=a},70065:(e,t,r)=>{"use strict";t.__esModule=!0,t.notifyManager=void 0;var n=r(42368),i=new(function(){function e(){this.queue=[],this.transactions=0,this.notifyFn=function(e){e()},this.batchNotifyFn=function(e){e()}}var t=e.prototype;return t.batch=function(e){this.transactions++;var t=e();return this.transactions--,this.transactions||this.flush(),t},t.schedule=function(e){var t=this;this.transactions?this.queue.push(e):(0,n.scheduleMicrotask)((function(){t.notifyFn(e)}))},t.batchCalls=function(e){var t=this;return function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];t.schedule((function(){e.apply(void 0,n)}))}},t.flush=function(){var e=this,t=this.queue;this.queue=[],t.length&&(0,n.scheduleMicrotask)((function(){e.batchNotifyFn((function(){t.forEach((function(t){e.notifyFn(t)}))}))}))},t.setNotifyFunction=function(e){this.notifyFn=e},t.setBatchNotifyFunction=function(e){this.batchNotifyFn=e},e}());t.notifyManager=i},64345:(e,t,r)=>{"use strict";var n=r(88879);t.__esModule=!0,t.onlineManager=void 0;var i=n(r(92977)),o=r(33969),u=r(42368),s=new(function(e){function t(){return e.apply(this,arguments)||this}(0,i.default)(t,e);var r=t.prototype;return r.onSubscribe=function(){this.removeEventListener||this.setDefaultEventListener()},r.setEventListener=function(e){var t=this;this.removeEventListener&&this.removeEventListener(),this.removeEventListener=e((function(e){"boolean"===typeof e?t.setOnline(e):t.onOnline()}))},r.setOnline=function(e){this.online=e,e&&this.onOnline()},r.onOnline=function(){this.listeners.forEach((function(e){e()}))},r.isOnline=function(){return"boolean"===typeof this.online?this.online:"undefined"===typeof navigator||"undefined"===typeof navigator.onLine||navigator.onLine},r.setDefaultEventListener=function(){var e;!u.isServer&&(null==(e=window)?void 0:e.addEventListener)&&this.setEventListener((function(e){var t=function(){return e()};return window.addEventListener("online",t,!1),window.addEventListener("offline",t,!1),function(){window.removeEventListener("online",t),window.removeEventListener("offline",t)}}))},t}(o.Subscribable));t.onlineManager=s},26074:(e,t,r)=>{"use strict";var n=r(88879);t.__esModule=!0,t.QueriesObserver=void 0;var i=n(r(92977)),o=r(42368),u=r(70065),s=r(94541),a=function(e){function t(t,r){var n;return(n=e.call(this)||this).client=t,n.queries=[],n.result=[],n.observers=[],n.observersMap={},r&&n.setQueries(r),n}(0,i.default)(t,e);var r=t.prototype;return r.onSubscribe=function(){var e=this;1===this.listeners.length&&this.observers.forEach((function(t){t.subscribe((function(r){e.onUpdate(t,r)}))}))},r.onUnsubscribe=function(){this.listeners.length||this.destroy()},r.destroy=function(){this.listeners=[],this.observers.forEach((function(e){e.destroy()}))},r.setQueries=function(e,t){this.queries=e,this.updateObservers(t)},r.getCurrentResult=function(){return this.result},r.getOptimisticResult=function(e){var t=this;return e.map((function(e,r){var n=t.client.defaultQueryObserverOptions(e);return t.getObserver(n,r).getOptimisticResult(n)}))},r.getObserver=function(e,t){var r,n=this.client.defaultQueryObserverOptions(e),i=this.observersMap[n.queryHash];return!i&&n.keepPreviousData&&(i=this.observers[t]),null!=(r=i)?r:new s.QueryObserver(this.client,n)},r.updateObservers=function(e){var t=this;u.notifyManager.batch((function(){var r=!1,n=t.observers,i=t.observersMap,u=[],s=[],a={};t.queries.forEach((function(o,c){var l=t.client.defaultQueryObserverOptions(o),f=l.queryHash,d=t.getObserver(l,c);(i[f]||l.keepPreviousData)&&d.setOptions(l,e),d!==n[c]&&(r=!0),s.push(d),u.push(d.getCurrentResult()),a[f]=d})),(n.length!==s.length||r)&&(t.observers=s,t.observersMap=a,t.result=u,t.hasListeners()&&((0,o.difference)(n,s).forEach((function(e){e.destroy()})),(0,o.difference)(s,n).forEach((function(e){e.subscribe((function(r){t.onUpdate(e,r)}))})),t.notify()))}))},r.onUpdate=function(e,t){var r=this.observers.indexOf(e);-1!==r&&(this.result=(0,o.replaceAt)(this.result,r,t),this.notify())},r.notify=function(){var e=this;u.notifyManager.batch((function(){e.listeners.forEach((function(t){t(e.result)}))}))},t}(r(33969).Subscribable);t.QueriesObserver=a},80139:(e,t,r)=>{"use strict";var n=r(88879);t.__esModule=!0,t.Query=void 0;var i=n(r(96045)),o=r(42368),u=r(70065),s=r(31504),a=r(41375),c=function(){function e(e){this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||this.getDefaultState(this.options),this.state=this.initialState,this.scheduleGc()}var t=e.prototype;return t.setOptions=function(e){var t;this.options=(0,i.default)({},this.defaultOptions,e),this.cacheTime=Math.max(this.cacheTime||0,null!=(t=this.options.cacheTime)?t:3e5)},t.setDefaultOptions=function(e){this.defaultOptions=e},t.scheduleGc=function(){var e=this;this.clearGcTimeout(),(0,o.isValidTimeout)(this.cacheTime)&&(this.gcTimeout=setTimeout((function(){e.optionalRemove()}),this.cacheTime))},t.clearGcTimeout=function(){clearTimeout(this.gcTimeout),this.gcTimeout=void 0},t.optionalRemove=function(){this.observers.length||this.state.isFetching||this.cache.remove(this)},t.setData=function(e,t){var r,n,i=this.state.data,u=(0,o.functionalUpdate)(e,i);return(null==(r=(n=this.options).isDataEqual)?void 0:r.call(n,i,u))?u=i:!1!==this.options.structuralSharing&&(u=(0,o.replaceEqualDeep)(i,u)),this.dispatch({data:u,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt}),u},t.setState=function(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})},t.cancel=function(e){var t,r=this.promise;return null==(t=this.retryer)||t.cancel(e),r?r.then(o.noop).catch(o.noop):Promise.resolve()},t.destroy=function(){this.clearGcTimeout(),this.cancel({silent:!0})},t.reset=function(){this.destroy(),this.setState(this.initialState)},t.isActive=function(){return this.observers.some((function(e){return!1!==e.options.enabled}))},t.isFetching=function(){return this.state.isFetching},t.isStale=function(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some((function(e){return e.getCurrentResult().isStale}))},t.isStaleByTime=function(e){return void 0===e&&(e=0),this.state.isInvalidated||!this.state.dataUpdatedAt||!(0,o.timeUntilStale)(this.state.dataUpdatedAt,e)},t.onFocus=function(){var e,t=this.observers.find((function(e){return e.shouldFetchOnWindowFocus()}));t&&t.refetch(),null==(e=this.retryer)||e.continue()},t.onOnline=function(){var e,t=this.observers.find((function(e){return e.shouldFetchOnReconnect()}));t&&t.refetch(),null==(e=this.retryer)||e.continue()},t.addObserver=function(e){-1===this.observers.indexOf(e)&&(this.observers.push(e),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))},t.removeObserver=function(e){-1!==this.observers.indexOf(e)&&(this.observers=this.observers.filter((function(t){return t!==e})),this.observers.length||(this.retryer&&(this.retryer.isTransportCancelable?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.cacheTime?this.scheduleGc():this.cache.remove(this)),this.cache.notify({type:"observerRemoved",query:this,observer:e}))},t.getObserversCount=function(){return this.observers.length},t.invalidate=function(){this.state.isInvalidated||this.dispatch({type:"invalidate"})},t.fetch=function(e,t){var r,n,i=this;if(this.state.isFetching)if(this.state.dataUpdatedAt&&(null==t?void 0:t.cancelRefetch))this.cancel({silent:!0});else if(this.promise)return this.promise;if(e&&this.setOptions(e),!this.options.queryFn){var u=this.observers.find((function(e){return e.options.queryFn}));u&&this.setOptions(u.options)}var c,l,f=(0,o.ensureQueryKeyArray)(this.queryKey),d={queryKey:f,pageParam:void 0},h={fetchOptions:t,options:this.options,queryKey:f,state:this.state,fetchFn:function(){return i.options.queryFn?i.options.queryFn(d):Promise.reject("Missing queryFn")}};(null==(r=this.options.behavior)?void 0:r.onFetch)&&(null==(c=this.options.behavior)||c.onFetch(h));(this.revertState=this.state,this.state.isFetching&&this.state.fetchMeta===(null==(n=h.fetchOptions)?void 0:n.meta))||this.dispatch({type:"fetch",meta:null==(l=h.fetchOptions)?void 0:l.meta});return this.retryer=new a.Retryer({fn:h.fetchFn,onSuccess:function(e){i.setData(e),null==i.cache.config.onSuccess||i.cache.config.onSuccess(e,i),0===i.cacheTime&&i.optionalRemove()},onError:function(e){(0,a.isCancelledError)(e)&&e.silent||i.dispatch({type:"error",error:e}),(0,a.isCancelledError)(e)||(null==i.cache.config.onError||i.cache.config.onError(e,i),(0,s.getLogger)().error(e)),0===i.cacheTime&&i.optionalRemove()},onFail:function(){i.dispatch({type:"failed"})},onPause:function(){i.dispatch({type:"pause"})},onContinue:function(){i.dispatch({type:"continue"})},retry:h.options.retry,retryDelay:h.options.retryDelay}),this.promise=this.retryer.promise,this.promise},t.dispatch=function(e){var t=this;this.state=this.reducer(this.state,e),u.notifyManager.batch((function(){t.observers.forEach((function(t){t.onQueryUpdate(e)})),t.cache.notify({query:t,type:"queryUpdated",action:e})}))},t.getDefaultState=function(e){var t="function"===typeof e.initialData?e.initialData():e.initialData,r="undefined"!==typeof e.initialData?"function"===typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0,n="undefined"!==typeof t;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?null!=r?r:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isFetching:!1,isInvalidated:!1,isPaused:!1,status:n?"success":"idle"}},t.reducer=function(e,t){var r,n;switch(t.type){case"failed":return(0,i.default)({},e,{fetchFailureCount:e.fetchFailureCount+1});case"pause":return(0,i.default)({},e,{isPaused:!0});case"continue":return(0,i.default)({},e,{isPaused:!1});case"fetch":return(0,i.default)({},e,{fetchFailureCount:0,fetchMeta:null!=(r=t.meta)?r:null,isFetching:!0,isPaused:!1,status:e.dataUpdatedAt?e.status:"loading"});case"success":return(0,i.default)({},e,{data:t.data,dataUpdateCount:e.dataUpdateCount+1,dataUpdatedAt:null!=(n=t.dataUpdatedAt)?n:Date.now(),error:null,fetchFailureCount:0,isFetching:!1,isInvalidated:!1,isPaused:!1,status:"success"});case"error":var o=t.error;return(0,a.isCancelledError)(o)&&o.revert&&this.revertState?(0,i.default)({},this.revertState):(0,i.default)({},e,{error:o,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,isFetching:!1,isPaused:!1,status:"error"});case"invalidate":return(0,i.default)({},e,{isInvalidated:!0});case"setState":return(0,i.default)({},e,t.state);default:return e}},e}();t.Query=c},17603:(e,t,r)=>{"use strict";var n=r(88879);t.__esModule=!0,t.QueryCache=void 0;var i=n(r(92977)),o=r(42368),u=r(80139),s=r(70065),a=function(e){function t(t){var r;return(r=e.call(this)||this).config=t||{},r.queries=[],r.queriesMap={},r}(0,i.default)(t,e);var r=t.prototype;return r.build=function(e,t,r){var n,i=t.queryKey,s=null!=(n=t.queryHash)?n:(0,o.hashQueryKeyByOptions)(i,t),a=this.get(s);return a||(a=new u.Query({cache:this,queryKey:i,queryHash:s,options:e.defaultQueryOptions(t),state:r,defaultOptions:e.getQueryDefaults(i)}),this.add(a)),a},r.add=function(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"queryAdded",query:e}))},r.remove=function(e){var t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter((function(t){return t!==e})),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"queryRemoved",query:e}))},r.clear=function(){var e=this;s.notifyManager.batch((function(){e.queries.forEach((function(t){e.remove(t)}))}))},r.get=function(e){return this.queriesMap[e]},r.getAll=function(){return this.queries},r.find=function(e,t){var r=(0,o.parseFilterArgs)(e,t)[0];return"undefined"===typeof r.exact&&(r.exact=!0),this.queries.find((function(e){return(0,o.matchQuery)(r,e)}))},r.findAll=function(e,t){var r=(0,o.parseFilterArgs)(e,t)[0];return r?this.queries.filter((function(e){return(0,o.matchQuery)(r,e)})):this.queries},r.notify=function(e){var t=this;s.notifyManager.batch((function(){t.listeners.forEach((function(t){t(e)}))}))},r.onFocus=function(){var e=this;s.notifyManager.batch((function(){e.queries.forEach((function(e){e.onFocus()}))}))},r.onOnline=function(){var e=this;s.notifyManager.batch((function(){e.queries.forEach((function(e){e.onOnline()}))}))},t}(r(33969).Subscribable);t.QueryCache=a},37e3:(e,t,r)=>{"use strict";var n=r(88879);t.__esModule=!0,t.QueryClient=void 0;var i=n(r(96045)),o=r(42368),u=r(17603),s=r(73960),a=r(95101),c=r(64345),l=r(70065),f=r(2982),d=function(){function e(e){void 0===e&&(e={}),this.queryCache=e.queryCache||new u.QueryCache,this.mutationCache=e.mutationCache||new s.MutationCache,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}var t=e.prototype;return t.mount=function(){var e=this;this.unsubscribeFocus=a.focusManager.subscribe((function(){a.focusManager.isFocused()&&c.onlineManager.isOnline()&&(e.mutationCache.onFocus(),e.queryCache.onFocus())})),this.unsubscribeOnline=c.onlineManager.subscribe((function(){a.focusManager.isFocused()&&c.onlineManager.isOnline()&&(e.mutationCache.onOnline(),e.queryCache.onOnline())}))},t.unmount=function(){var e,t;null==(e=this.unsubscribeFocus)||e.call(this),null==(t=this.unsubscribeOnline)||t.call(this)},t.isFetching=function(e,t){var r=(0,o.parseFilterArgs)(e,t)[0];return r.fetching=!0,this.queryCache.findAll(r).length},t.isMutating=function(e){return this.mutationCache.findAll((0,i.default)({},e,{fetching:!0})).length},t.getQueryData=function(e,t){var r;return null==(r=this.queryCache.find(e,t))?void 0:r.state.data},t.getQueriesData=function(e){return this.getQueryCache().findAll(e).map((function(e){return[e.queryKey,e.state.data]}))},t.setQueryData=function(e,t,r){var n=(0,o.parseQueryArgs)(e),i=this.defaultQueryOptions(n);return this.queryCache.build(this,i).setData(t,r)},t.setQueriesData=function(e,t,r){var n=this;return l.notifyManager.batch((function(){return n.getQueryCache().findAll(e).map((function(e){var i=e.queryKey;return[i,n.setQueryData(i,t,r)]}))}))},t.getQueryState=function(e,t){var r;return null==(r=this.queryCache.find(e,t))?void 0:r.state},t.removeQueries=function(e,t){var r=(0,o.parseFilterArgs)(e,t)[0],n=this.queryCache;l.notifyManager.batch((function(){n.findAll(r).forEach((function(e){n.remove(e)}))}))},t.resetQueries=function(e,t,r){var n=this,u=(0,o.parseFilterArgs)(e,t,r),s=u[0],a=u[1],c=this.queryCache,f=(0,i.default)({},s,{active:!0});return l.notifyManager.batch((function(){return c.findAll(s).forEach((function(e){e.reset()})),n.refetchQueries(f,a)}))},t.cancelQueries=function(e,t,r){var n=this,i=(0,o.parseFilterArgs)(e,t,r),u=i[0],s=i[1],a=void 0===s?{}:s;"undefined"===typeof a.revert&&(a.revert=!0);var c=l.notifyManager.batch((function(){return n.queryCache.findAll(u).map((function(e){return e.cancel(a)}))}));return Promise.all(c).then(o.noop).catch(o.noop)},t.invalidateQueries=function(e,t,r){var n,u,s,a=this,c=(0,o.parseFilterArgs)(e,t,r),f=c[0],d=c[1],h=(0,i.default)({},f,{active:null==(n=null!=(u=f.refetchActive)?u:f.active)||n,inactive:null!=(s=f.refetchInactive)&&s});return l.notifyManager.batch((function(){return a.queryCache.findAll(f).forEach((function(e){e.invalidate()})),a.refetchQueries(h,d)}))},t.refetchQueries=function(e,t,r){var n=this,i=(0,o.parseFilterArgs)(e,t,r),u=i[0],s=i[1],a=l.notifyManager.batch((function(){return n.queryCache.findAll(u).map((function(e){return e.fetch(void 0,{meta:{refetchPage:null==u?void 0:u.refetchPage}})}))})),c=Promise.all(a).then(o.noop);return(null==s?void 0:s.throwOnError)||(c=c.catch(o.noop)),c},t.fetchQuery=function(e,t,r){var n=(0,o.parseQueryArgs)(e,t,r),i=this.defaultQueryOptions(n);"undefined"===typeof i.retry&&(i.retry=!1);var u=this.queryCache.build(this,i);return u.isStaleByTime(i.staleTime)?u.fetch(i):Promise.resolve(u.state.data)},t.prefetchQuery=function(e,t,r){return this.fetchQuery(e,t,r).then(o.noop).catch(o.noop)},t.fetchInfiniteQuery=function(e,t,r){var n=(0,o.parseQueryArgs)(e,t,r);return n.behavior=(0,f.infiniteQueryBehavior)(),this.fetchQuery(n)},t.prefetchInfiniteQuery=function(e,t,r){return this.fetchInfiniteQuery(e,t,r).then(o.noop).catch(o.noop)},t.cancelMutations=function(){var e=this,t=l.notifyManager.batch((function(){return e.mutationCache.getAll().map((function(e){return e.cancel()}))}));return Promise.all(t).then(o.noop).catch(o.noop)},t.resumePausedMutations=function(){return this.getMutationCache().resumePausedMutations()},t.executeMutation=function(e){return this.mutationCache.build(this,e).execute()},t.getQueryCache=function(){return this.queryCache},t.getMutationCache=function(){return this.mutationCache},t.getDefaultOptions=function(){return this.defaultOptions},t.setDefaultOptions=function(e){this.defaultOptions=e},t.setQueryDefaults=function(e,t){var r=this.queryDefaults.find((function(t){return(0,o.hashQueryKey)(e)===(0,o.hashQueryKey)(t.queryKey)}));r?r.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})},t.getQueryDefaults=function(e){var t;return e?null==(t=this.queryDefaults.find((function(t){return(0,o.partialMatchKey)(e,t.queryKey)})))?void 0:t.defaultOptions:void 0},t.setMutationDefaults=function(e,t){var r=this.mutationDefaults.find((function(t){return(0,o.hashQueryKey)(e)===(0,o.hashQueryKey)(t.mutationKey)}));r?r.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})},t.getMutationDefaults=function(e){var t;return e?null==(t=this.mutationDefaults.find((function(t){return(0,o.partialMatchKey)(e,t.mutationKey)})))?void 0:t.defaultOptions:void 0},t.defaultQueryOptions=function(e){if(null==e?void 0:e._defaulted)return e;var t=(0,i.default)({},this.defaultOptions.queries,this.getQueryDefaults(null==e?void 0:e.queryKey),e,{_defaulted:!0});return!t.queryHash&&t.queryKey&&(t.queryHash=(0,o.hashQueryKeyByOptions)(t.queryKey,t)),t},t.defaultQueryObserverOptions=function(e){return this.defaultQueryOptions(e)},t.defaultMutationOptions=function(e){return(null==e?void 0:e._defaulted)?e:(0,i.default)({},this.defaultOptions.mutations,this.getMutationDefaults(null==e?void 0:e.mutationKey),e,{_defaulted:!0})},t.clear=function(){this.queryCache.clear(),this.mutationCache.clear()},e}();t.QueryClient=d},94541:(e,t,r)=>{"use strict";var n=r(88879);t.__esModule=!0,t.QueryObserver=void 0;var i=n(r(96045)),o=n(r(92977)),u=r(42368),s=r(70065),a=r(95101),c=r(33969),l=r(31504),f=r(41375),d=function(e){function t(t,r){var n;return(n=e.call(this)||this).client=t,n.options=r,n.trackedProps=[],n.previousSelectError=null,n.bindMethods(),n.setOptions(r),n}(0,o.default)(t,e);var r=t.prototype;return r.bindMethods=function(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)},r.onSubscribe=function(){1===this.listeners.length&&(this.currentQuery.addObserver(this),h(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())},r.onUnsubscribe=function(){this.listeners.length||this.destroy()},r.shouldFetchOnReconnect=function(){return e=this.currentQuery,!1!==(t=this.options).enabled&&("always"===t.refetchOnReconnect||!1!==t.refetchOnReconnect&&v(e,t));var e,t},r.shouldFetchOnWindowFocus=function(){return e=this.currentQuery,!1!==(t=this.options).enabled&&("always"===t.refetchOnWindowFocus||!1!==t.refetchOnWindowFocus&&v(e,t));var e,t},r.destroy=function(){this.listeners=[],this.clearTimers(),this.currentQuery.removeObserver(this)},r.setOptions=function(e,t){var r=this.options,n=this.currentQuery;if(this.options=this.client.defaultQueryObserverOptions(e),"undefined"!==typeof this.options.enabled&&"boolean"!==typeof this.options.enabled)throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=r.queryKey),this.updateQuery();var i=this.hasListeners();i&&p(this.currentQuery,n,this.options,r)&&this.executeFetch(),this.updateResult(t),!i||this.currentQuery===n&&this.options.enabled===r.enabled&&this.options.staleTime===r.staleTime||this.updateStaleTimeout(),!i||this.currentQuery===n&&this.options.enabled===r.enabled&&this.options.refetchInterval===r.refetchInterval||this.updateRefetchInterval()},r.getOptimisticResult=function(e){var t=this.client.defaultQueryObserverOptions(e),r=this.client.getQueryCache().build(this.client,t);return this.createResult(r,t)},r.getCurrentResult=function(){return this.currentResult},r.trackResult=function(e){var t=this,r={};return Object.keys(e).forEach((function(n){Object.defineProperty(r,n,{configurable:!1,enumerable:!0,get:function(){var r=n;return t.trackedProps.includes(r)||t.trackedProps.push(r),e[r]}})})),r},r.getNextResult=function(e){var t=this;return new Promise((function(r,n){var i=t.subscribe((function(t){t.isFetching||(i(),t.isError&&(null==e?void 0:e.throwOnError)?n(t.error):r(t))}))}))},r.getCurrentQuery=function(){return this.currentQuery},r.remove=function(){this.client.getQueryCache().remove(this.currentQuery)},r.refetch=function(e){return this.fetch((0,i.default)({},e,{meta:{refetchPage:null==e?void 0:e.refetchPage}}))},r.fetchOptimistic=function(e){var t=this,r=this.client.defaultQueryObserverOptions(e),n=this.client.getQueryCache().build(this.client,r);return n.fetch().then((function(){return t.createResult(n,r)}))},r.fetch=function(e){var t=this;return this.executeFetch(e).then((function(){return t.updateResult(),t.currentResult}))},r.executeFetch=function(e){this.updateQuery();var t=this.currentQuery.fetch(this.options,e);return(null==e?void 0:e.throwOnError)||(t=t.catch(u.noop)),t},r.updateStaleTimeout=function(){var e=this;if(this.clearStaleTimeout(),!u.isServer&&!this.currentResult.isStale&&(0,u.isValidTimeout)(this.options.staleTime)){var t=(0,u.timeUntilStale)(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout((function(){e.currentResult.isStale||e.updateResult()}),t)}},r.updateRefetchInterval=function(){var e=this;this.clearRefetchInterval(),!u.isServer&&!1!==this.options.enabled&&(0,u.isValidTimeout)(this.options.refetchInterval)&&(this.refetchIntervalId=setInterval((function(){(e.options.refetchIntervalInBackground||a.focusManager.isFocused())&&e.executeFetch()}),this.options.refetchInterval))},r.updateTimers=function(){this.updateStaleTimeout(),this.updateRefetchInterval()},r.clearTimers=function(){this.clearStaleTimeout(),this.clearRefetchInterval()},r.clearStaleTimeout=function(){clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0},r.clearRefetchInterval=function(){clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0},r.createResult=function(e,t){var r,n=this.currentQuery,i=this.options,o=this.currentResult,s=this.currentResultState,a=this.currentResultOptions,c=e!==n,f=c?e.state:this.currentQueryInitialState,d=c?this.currentResult:this.previousQueryResult,y=e.state,b=y.dataUpdatedAt,g=y.error,m=y.errorUpdatedAt,O=y.isFetching,M=y.status,C=!1,Q=!1;if(t.optimisticResults){var x=this.hasListeners(),E=!x&&h(e,t),P=x&&p(e,n,t,i);(E||P)&&(O=!0,b||(M="loading"))}if(t.keepPreviousData&&!y.dataUpdateCount&&(null==d?void 0:d.isSuccess)&&"error"!==M)r=d.data,b=d.dataUpdatedAt,M=d.status,C=!0;else if(t.select&&"undefined"!==typeof y.data)if(o&&y.data===(null==s?void 0:s.data)&&t.select===(null==a?void 0:a.select)&&!this.previousSelectError)r=o.data;else try{r=t.select(y.data),!1!==t.structuralSharing&&(r=(0,u.replaceEqualDeep)(null==o?void 0:o.data,r)),this.previousSelectError=null}catch(R){(0,l.getLogger)().error(R),g=R,this.previousSelectError=R,m=Date.now(),M="error"}else r=y.data;if("undefined"!==typeof t.placeholderData&&"undefined"===typeof r&&("loading"===M||"idle"===M)){var S;if((null==o?void 0:o.isPlaceholderData)&&t.placeholderData===(null==a?void 0:a.placeholderData))S=o.data;else if(S="function"===typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&"undefined"!==typeof S)try{S=t.select(S),!1!==t.structuralSharing&&(S=(0,u.replaceEqualDeep)(null==o?void 0:o.data,S)),this.previousSelectError=null}catch(R){(0,l.getLogger)().error(R),g=R,this.previousSelectError=R,m=Date.now(),M="error"}"undefined"!==typeof S&&(M="success",r=S,Q=!0)}return{status:M,isLoading:"loading"===M,isSuccess:"success"===M,isError:"error"===M,isIdle:"idle"===M,data:r,dataUpdatedAt:b,error:g,errorUpdatedAt:m,failureCount:y.fetchFailureCount,isFetched:y.dataUpdateCount>0||y.errorUpdateCount>0,isFetchedAfterMount:y.dataUpdateCount>f.dataUpdateCount||y.errorUpdateCount>f.errorUpdateCount,isFetching:O,isRefetching:O&&"loading"!==M,isLoadingError:"error"===M&&0===y.dataUpdatedAt,isPlaceholderData:Q,isPreviousData:C,isRefetchError:"error"===M&&0!==y.dataUpdatedAt,isStale:v(e,t),refetch:this.refetch,remove:this.remove}},r.shouldNotifyListeners=function(e,t){if(!t)return!0;if(e===t)return!1;var r=this.options,n=r.notifyOnChangeProps,i=r.notifyOnChangePropsExclusions;if(!n&&!i)return!0;if("tracked"===n&&!this.trackedProps.length)return!0;var o="tracked"===n?this.trackedProps:n;return Object.keys(e).some((function(r){var n=r,u=e[n]!==t[n],s=null==o?void 0:o.some((function(e){return e===r})),a=null==i?void 0:i.some((function(e){return e===r}));return u&&!a&&(!o||s)}))},r.updateResult=function(e){var t=this.currentResult;if(this.currentResult=this.createResult(this.currentQuery,this.options),this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!(0,u.shallowEqualObjects)(this.currentResult,t)){var r={cache:!0};!1!==(null==e?void 0:e.listeners)&&this.shouldNotifyListeners(this.currentResult,t)&&(r.listeners=!0),this.notify((0,i.default)({},r,e))}},r.updateQuery=function(){var e=this.client.getQueryCache().build(this.client,this.options);if(e!==this.currentQuery){var t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}},r.onQueryUpdate=function(e){var t={};"success"===e.type?t.onSuccess=!0:"error"!==e.type||(0,f.isCancelledError)(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()},r.notify=function(e){var t=this;s.notifyManager.batch((function(){e.onSuccess?(null==t.options.onSuccess||t.options.onSuccess(t.currentResult.data),null==t.options.onSettled||t.options.onSettled(t.currentResult.data,null)):e.onError&&(null==t.options.onError||t.options.onError(t.currentResult.error),null==t.options.onSettled||t.options.onSettled(void 0,t.currentResult.error)),e.listeners&&t.listeners.forEach((function(e){e(t.currentResult)})),e.cache&&t.client.getQueryCache().notify({query:t.currentQuery,type:"observerResultsUpdated"})}))},t}(c.Subscribable);function h(e,t){return function(e,t){return!1!==t.enabled&&!e.state.dataUpdatedAt&&!("error"===e.state.status&&!1===t.retryOnMount)}(e,t)||function(e,t){return!1!==t.enabled&&e.state.dataUpdatedAt>0&&("always"===t.refetchOnMount||!1!==t.refetchOnMount&&v(e,t))}(e,t)}function p(e,t,r,n){return!1!==r.enabled&&(e!==t||!1===n.enabled)&&(!r.suspense||"error"!==e.state.status||!1===n.enabled)&&v(e,r)}function v(e,t){return e.isStaleByTime(t.staleTime)}t.QueryObserver=d},41375:(e,t,r)=>{"use strict";t.__esModule=!0,t.isCancelable=s,t.isCancelledError=function(e){return e instanceof a},t.Retryer=t.CancelledError=void 0;var n=r(95101),i=r(64345),o=r(42368);function u(e){return Math.min(1e3*Math.pow(2,e),3e4)}function s(e){return"function"===typeof(null==e?void 0:e.cancel)}var a=function(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent};t.CancelledError=a;t.Retryer=function(e){var t,r,c,l,f=this,d=!1;this.cancel=function(e){return null==t?void 0:t(e)},this.cancelRetry=function(){d=!0},this.continue=function(){return null==r?void 0:r()},this.failureCount=0,this.isPaused=!1,this.isResolved=!1,this.isTransportCancelable=!1,this.promise=new Promise((function(e,t){c=e,l=t}));var h=function(t){f.isResolved||(f.isResolved=!0,null==e.onSuccess||e.onSuccess(t),null==r||r(),c(t))},p=function(t){f.isResolved||(f.isResolved=!0,null==e.onError||e.onError(t),null==r||r(),l(t))};!function c(){if(!f.isResolved){var l;try{l=e.fn()}catch(v){l=Promise.reject(v)}t=function(e){if(!f.isResolved&&(p(new a(e)),s(l)))try{l.cancel()}catch(t){}},f.isTransportCancelable=s(l),Promise.resolve(l).then(h).catch((function(t){var s,a;if(!f.isResolved){var l=null!=(s=e.retry)?s:3,h=null!=(a=e.retryDelay)?a:u,v="function"===typeof h?h(f.failureCount,t):h,y=!0===l||"number"===typeof l&&f.failureCount<l||"function"===typeof l&&l(f.failureCount,t);!d&&y?(f.failureCount++,null==e.onFail||e.onFail(f.failureCount,t),(0,o.sleep)(v).then((function(){if(!n.focusManager.isFocused()||!i.onlineManager.isOnline())return new Promise((function(t){r=t,f.isPaused=!0,null==e.onPause||e.onPause()})).then((function(){r=void 0,f.isPaused=!1,null==e.onContinue||e.onContinue()}))})).then((function(){d?p(t):c()}))):p(t)}}))}}()}},33969:(e,t)=>{"use strict";t.__esModule=!0,t.Subscribable=void 0;var r=function(){function e(){this.listeners=[]}var t=e.prototype;return t.subscribe=function(e){var t=this,r=e||function(){};return this.listeners.push(r),this.onSubscribe(),function(){t.listeners=t.listeners.filter((function(e){return e!==r})),t.onUnsubscribe()}},t.hasListeners=function(){return this.listeners.length>0},t.onSubscribe=function(){},t.onUnsubscribe=function(){},e}();t.Subscribable=r},21621:()=>{},42368:(e,t,r)=>{"use strict";var n=r(88879)(r(12568)),i=r(88879);t.__esModule=!0,t.noop=function(){return},t.functionalUpdate=function(e,t){return"function"===typeof e?e(t):e},t.isValidTimeout=function(e){return"number"===typeof e&&e>=0&&e!==1/0},t.ensureQueryKeyArray=s,t.difference=function(e,t){return e.filter((function(e){return-1===t.indexOf(e)}))},t.replaceAt=function(e,t,r){var n=e.slice(0);return n[t]=r,n},t.timeUntilStale=function(e,t){return Math.max(e+(t||0)-Date.now(),0)},t.parseQueryArgs=function(e,t,r){if(!y(e))return e;if("function"===typeof t)return(0,o.default)({},r,{queryKey:e,queryFn:t});return(0,o.default)({},t,{queryKey:e})},t.parseMutationArgs=function(e,t,r){if(y(e))return"function"===typeof t?(0,o.default)({},r,{mutationKey:e,mutationFn:t}):(0,o.default)({},t,{mutationKey:e});if("function"===typeof e)return(0,o.default)({},t,{mutationFn:e});return(0,o.default)({},e)},t.parseFilterArgs=function(e,t,r){return y(e)?[(0,o.default)({},t,{queryKey:e}),r]:[e||{},t]},t.parseMutationFilterArgs=function(e,t){return y(e)?(0,o.default)({},t,{mutationKey:e}):e},t.mapQueryStatusFilter=a,t.matchQuery=function(e,t){var r=e.active,n=e.exact,i=e.fetching,o=e.inactive,u=e.predicate,s=e.queryKey,l=e.stale;if(y(s))if(n){if(t.queryHash!==c(s,t.options))return!1}else if(!d(t.queryKey,s))return!1;var f=a(r,o);if("none"===f)return!1;if("all"!==f){var h=t.isActive();if("active"===f&&!h)return!1;if("inactive"===f&&h)return!1}if("boolean"===typeof l&&t.isStale()!==l)return!1;if("boolean"===typeof i&&t.isFetching()!==i)return!1;if(u&&!u(t))return!1;return!0},t.matchMutation=function(e,t){var r=e.exact,n=e.fetching,i=e.predicate,o=e.mutationKey;if(y(o)){if(!t.options.mutationKey)return!1;if(r){if(l(t.options.mutationKey)!==l(o))return!1}else if(!d(t.options.mutationKey,o))return!1}if("boolean"===typeof n&&"loading"===t.state.status!==n)return!1;if(i&&!i(t))return!1;return!0},t.hashQueryKeyByOptions=c,t.hashQueryKey=l,t.stableValueHash=f,t.partialMatchKey=d,t.partialDeepEqual=h,t.replaceEqualDeep=function e(t,r){if(t===r)return t;var n=Array.isArray(t)&&Array.isArray(r);if(n||p(t)&&p(r)){for(var i=n?t.length:Object.keys(t).length,o=n?r:Object.keys(r),u=o.length,s=n?[]:{},a=0,c=0;c<u;c++){var l=n?c:o[c];s[l]=e(t[l],r[l]),s[l]===t[l]&&a++}return i===u&&a===i?t:s}return r},t.shallowEqualObjects=function(e,t){if(e&&!t||t&&!e)return!1;for(var r in e)if(e[r]!==t[r])return!1;return!0},t.isPlainObject=p,t.isQueryKey=y,t.isError=function(e){return e instanceof Error},t.sleep=function(e){return new Promise((function(t){setTimeout(t,e)}))},t.scheduleMicrotask=function(e){Promise.resolve().then(e).catch((function(e){return setTimeout((function(){throw e}))}))},t.isServer=void 0;var o=i(r(96045)),u="undefined"===typeof window;function s(e){return Array.isArray(e)?e:[e]}function a(e,t){return!0===e&&!0===t||null==e&&null==t?"all":!1===e&&!1===t?"none":(null!=e?e:!t)?"active":"inactive"}function c(e,t){return((null==t?void 0:t.queryKeyHashFn)||l)(e)}function l(e){return f(s(e))}function f(e){return JSON.stringify(e,(function(e,t){return p(t)?Object.keys(t).sort().reduce((function(e,r){return e[r]=t[r],e}),{}):t}))}function d(e,t){return h(s(e),s(t))}function h(e,t){return e===t||(0,n.default)(e)===(0,n.default)(t)&&(!(!e||!t||"object"!==(0,n.default)(e)||"object"!==(0,n.default)(t))&&!Object.keys(t).some((function(r){return!h(e[r],t[r])})))}function p(e){if(!v(e))return!1;var t=e.constructor;if("undefined"===typeof t)return!0;var r=t.prototype;return!!v(r)&&!!r.hasOwnProperty("isPrototypeOf")}function v(e){return"[object Object]"===Object.prototype.toString.call(e)}function y(e){return"string"===typeof e||Array.isArray(e)}t.isServer=u},9733:(e,t,r)=>{"use strict";t.__esModule=!0;var n=r(61965);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(t[e]=n[e])}));var i=r(99224);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(t[e]=i[e])}))},67414:(e,t,r)=>{"use strict";var n=r(88879);t.__esModule=!0,t.useHydrate=s,t.Hydrate=void 0;var i=n(r(55354)),o=r(61965),u=r(52933);function s(e,t){var r=(0,u.useQueryClient)(),n=i.default.useRef(t);n.current=t,i.default.useMemo((function(){e&&(0,o.hydrate)(r,e,n.current)}),[r,e])}t.Hydrate=function(e){var t=e.children,r=e.options;return s(e.state,r),t}},52933:(e,t,r)=>{"use strict";var n=r(88879);t.__esModule=!0,t.QueryClientProvider=t.useQueryClient=void 0;var i=n(r(55354)),o=i.default.createContext(void 0),u=i.default.createContext(!1);function s(e){return e&&"undefined"!==typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=o),window.ReactQueryClientContext):o}t.useQueryClient=function(){var e=i.default.useContext(s(i.default.useContext(u)));if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e};t.QueryClientProvider=function(e){var t=e.client,r=e.contextSharing,n=void 0!==r&&r,o=e.children;i.default.useEffect((function(){return t.mount(),function(){t.unmount()}}),[t]);var a=s(n);return i.default.createElement(u.Provider,{value:n},i.default.createElement(a.Provider,{value:t},o))}},56001:(e,t,r)=>{"use strict";var n=r(88879);t.__esModule=!0,t.QueryErrorResetBoundary=t.useQueryErrorResetBoundary=void 0;var i=n(r(55354));function o(){var e=!1;return{clearReset:function(){e=!1},reset:function(){e=!0},isReset:function(){return e}}}var u=i.default.createContext(o());t.useQueryErrorResetBoundary=function(){return i.default.useContext(u)};t.QueryErrorResetBoundary=function(e){var t=e.children,r=i.default.useMemo((function(){return o()}),[]);return i.default.createElement(u.Provider,{value:r},"function"===typeof t?t(r):t)}},99224:(e,t,r)=>{"use strict";t.__esModule=!0;var n={QueryClientProvider:!0,useQueryClient:!0,QueryErrorResetBoundary:!0,useQueryErrorResetBoundary:!0,useIsFetching:!0,useIsMutating:!0,useMutation:!0,useQuery:!0,useQueries:!0,useInfiniteQuery:!0,useHydrate:!0,Hydrate:!0};t.Hydrate=t.useHydrate=t.useInfiniteQuery=t.useQueries=t.useQuery=t.useMutation=t.useIsMutating=t.useIsFetching=t.useQueryErrorResetBoundary=t.QueryErrorResetBoundary=t.useQueryClient=t.QueryClientProvider=void 0,r(32304),r(21780);var i=r(52933);t.QueryClientProvider=i.QueryClientProvider,t.useQueryClient=i.useQueryClient;var o=r(56001);t.QueryErrorResetBoundary=o.QueryErrorResetBoundary,t.useQueryErrorResetBoundary=o.useQueryErrorResetBoundary;var u=r(75265);t.useIsFetching=u.useIsFetching;var s=r(24540);t.useIsMutating=s.useIsMutating;var a=r(78105);t.useMutation=a.useMutation;var c=r(13584);t.useQuery=c.useQuery;var l=r(73959);t.useQueries=l.useQueries;var f=r(14377);t.useInfiniteQuery=f.useInfiniteQuery;var d=r(67414);t.useHydrate=d.useHydrate,t.Hydrate=d.Hydrate;var h=r(74919);Object.keys(h).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||(t[e]=h[e]))}))},93570:(e,t,r)=>{"use strict";var n=r(75901);t.__esModule=!0,t.logger=void 0;var i=n;t.logger=i},41119:(e,t,r)=>{"use strict";var n=r(88879);t.__esModule=!0,t.unstable_batchedUpdates=void 0;var i=n(r(83970)).default.unstable_batchedUpdates;t.unstable_batchedUpdates=i},32304:(e,t,r)=>{"use strict";var n=r(61965),i=r(41119);n.notifyManager.setBatchNotifyFunction(i.unstable_batchedUpdates)},21780:(e,t,r)=>{"use strict";var n=r(61965),i=r(93570);i.logger&&(0,n.setLogger)(i.logger)},74919:()=>{},68064:(e,t,r)=>{"use strict";var n=r(88879);t.__esModule=!0,t.useBaseQuery=function(e,t){var r=i.default.useRef(!1),n=i.default.useState(0)[1],c=(0,s.useQueryClient)(),l=(0,u.useQueryErrorResetBoundary)(),f=c.defaultQueryObserverOptions(e);f.optimisticResults=!0,f.onError&&(f.onError=o.notifyManager.batchCalls(f.onError));f.onSuccess&&(f.onSuccess=o.notifyManager.batchCalls(f.onSuccess));f.onSettled&&(f.onSettled=o.notifyManager.batchCalls(f.onSettled));f.suspense&&"number"!==typeof f.staleTime&&(f.staleTime=1e3);(f.suspense||f.useErrorBoundary)&&(l.isReset()||(f.retryOnMount=!1));var d=i.default.useState((function(){return new t(c,f)}))[0],h=d.getOptimisticResult(f);if(i.default.useEffect((function(){r.current=!0,l.clearReset();var e=d.subscribe(o.notifyManager.batchCalls((function(){r.current&&n((function(e){return e+1}))})));return d.updateResult(),function(){r.current=!1,e()}}),[l,d]),i.default.useEffect((function(){d.setOptions(f,{listeners:!1})}),[f,d]),f.suspense&&h.isLoading)throw d.fetchOptimistic(f).then((function(e){var t=e.data;null==f.onSuccess||f.onSuccess(t),null==f.onSettled||f.onSettled(t,null)})).catch((function(e){l.clearReset(),null==f.onError||f.onError(e),null==f.onSettled||f.onSettled(void 0,e)}));if(h.isError&&!h.isFetching&&(0,a.shouldThrowError)(f.suspense,f.useErrorBoundary,h.error))throw h.error;"tracked"===f.notifyOnChangeProps&&(h=d.trackResult(h));return h};var i=n(r(55354)),o=r(70065),u=r(56001),s=r(52933),a=r(42888)},14377:(e,t,r)=>{"use strict";t.__esModule=!0,t.useInfiniteQuery=function(e,t,r){var u=(0,i.parseQueryArgs)(e,t,r);return(0,o.useBaseQuery)(u,n.InfiniteQueryObserver)};var n=r(75891),i=r(42368),o=r(68064)},75265:(e,t,r)=>{"use strict";var n=r(88879);t.__esModule=!0,t.useIsFetching=function(e,t){var r=i.default.useRef(!1),n=(0,s.useQueryClient)(),a=(0,u.parseFilterArgs)(e,t)[0],c=i.default.useState(n.isFetching(a)),l=c[0],f=c[1],d=i.default.useRef(a);d.current=a;var h=i.default.useRef(l);return h.current=l,i.default.useEffect((function(){r.current=!0;var e=n.getQueryCache().subscribe(o.notifyManager.batchCalls((function(){if(r.current){var e=n.isFetching(d.current);h.current!==e&&f(e)}})));return function(){r.current=!1,e()}}),[n]),l};var i=n(r(55354)),o=r(70065),u=r(42368),s=r(52933)},24540:(e,t,r)=>{"use strict";var n=r(88879);t.__esModule=!0,t.useIsMutating=function(e,t){var r=i.default.useRef(!1),n=(0,u.parseMutationFilterArgs)(e,t),a=(0,s.useQueryClient)(),c=i.default.useState(a.isMutating(n)),l=c[0],f=c[1],d=i.default.useRef(n);d.current=n;var h=i.default.useRef(l);return h.current=l,i.default.useEffect((function(){r.current=!0;var e=a.getMutationCache().subscribe(o.notifyManager.batchCalls((function(){if(r.current){var e=a.isMutating(d.current);h.current!==e&&f(e)}})));return function(){r.current=!1,e()}}),[a]),l};var i=n(r(55354)),o=r(70065),u=r(42368),s=r(52933)},78105:(e,t,r)=>{"use strict";var n=r(88879);t.__esModule=!0,t.useMutation=function(e,t,r){var n=o.default.useRef(!1),f=o.default.useState(0)[1],d=(0,s.parseMutationArgs)(e,t,r),h=(0,c.useQueryClient)(),p=o.default.useRef();p.current?p.current.setOptions(d):p.current=new a.MutationObserver(h,d);var v=p.current.getCurrentResult();o.default.useEffect((function(){n.current=!0;var e=p.current.subscribe(u.notifyManager.batchCalls((function(){n.current&&f((function(e){return e+1}))})));return function(){n.current=!1,e()}}),[]);var y=o.default.useCallback((function(e,t){p.current.mutate(e,t).catch(s.noop)}),[]);if(v.error&&(0,l.shouldThrowError)(void 0,p.current.options.useErrorBoundary,v.error))throw v.error;return(0,i.default)({},v,{mutate:y,mutateAsync:v.mutate})};var i=n(r(96045)),o=n(r(55354)),u=r(70065),s=r(42368),a=r(10369),c=r(52933),l=r(42888)},73959:(e,t,r)=>{"use strict";var n=r(88879);t.__esModule=!0,t.useQueries=function(e){var t=i.default.useRef(!1),r=i.default.useState(0)[1],n=(0,s.useQueryClient)(),a=e.map((function(e){var t=n.defaultQueryObserverOptions(e);return t.optimisticResults=!0,t})),c=i.default.useState((function(){return new u.QueriesObserver(n,a)}))[0],l=c.getOptimisticResult(a);return i.default.useEffect((function(){t.current=!0;var e=c.subscribe(o.notifyManager.batchCalls((function(){t.current&&r((function(e){return e+1}))})));return function(){t.current=!1,e()}}),[c]),i.default.useEffect((function(){c.setQueries(a,{listeners:!1})}),[a,c]),l};var i=n(r(55354)),o=r(70065),u=r(26074),s=r(52933)},13584:(e,t,r)=>{"use strict";t.__esModule=!0,t.useQuery=function(e,t,r){var u=(0,i.parseQueryArgs)(e,t,r);return(0,o.useBaseQuery)(u,n.QueryObserver)};var n=r(61965),i=r(42368),o=r(68064)},42888:(e,t)=>{"use strict";t.__esModule=!0,t.shouldThrowError=function(e,t,r){if("function"===typeof t)return t(r);return"boolean"===typeof t?t:!!e}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[2022],{78057:(n,e,t)=>{"use strict";var r,o,i;n=t.nmd(n);var u,a=t(88879)(t(12568));window,u=function(n){return function(n){var e={};function t(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return n[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=n,t.c=e,t.d=function(n,e,r){t.o(n,e)||Object.defineProperty(n,e,{enumerable:!0,get:r})},t.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},t.t=function(n,e){if(1&e&&(n=t(n)),8&e)return n;if(4&e&&"object"==(0,a.default)(n)&&n&&n.__esModule)return n;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:n}),2&e&&"string"!=typeof n)for(var o in n)t.d(r,o,function(e){return n[e]}.bind(null,o));return r},t.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(e,"a",e),e},t.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},t.p="",t(t.s=7)}({0:function(e,t){e.exports=n},7:function(n,e,t){t.r(e);var r=t(0);function o(){return(o=Object.assign||function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n}).apply(this,arguments)}e.default=function(n){return r.createElement("svg",o({width:"1em",height:"1em",viewBox:"0 0 10 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),r.createElement("path",{d:"M0 1.88L6.107 8 0 14.12 1.88 16l8-8-8-8L0 1.88z",fill:"#32324D"}))}}})},"object"==(0,a.default)(e)&&"object"==(0,a.default)(n)?n.exports=u(t(55354)):(o=[t(55354)],void 0===(i="function"===typeof(r=u)?r.apply(e,o):r)||(n.exports=i))},29750:(n,e,t)=>{"use strict";n.exports=t(31633)},31633:(n,e,t)=>{"use strict";var r,o,i;n=t.nmd(n);var u,a=t(88879)(t(12568));window,u=function(n,e,t){return function(n){var e={};function t(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return n[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=n,t.c=e,t.d=function(n,e,r){t.o(n,e)||Object.defineProperty(n,e,{enumerable:!0,get:r})},t.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},t.t=function(n,e){if(1&e&&(n=t(n)),8&e)return n;if(4&e&&"object"==(0,a.default)(n)&&n&&n.__esModule)return n;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:n}),2&e&&"string"!=typeof n)for(var o in n)t.d(r,o,function(e){return n[e]}.bind(null,o));return r},t.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(e,"a",e),e},t.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},t.p="",t(t.s=110)}({0:function(n,e,t){n.exports=t(17)()},1:function(e,t){e.exports=n},10:function(n,e,t){var r=t(22),o=t(23),i=t(19),u=t(24);n.exports=function(n,e){return r(n)||o(n,e)||i(n,e)||u()},n.exports.default=n.exports,n.exports.__esModule=!0},110:function(n,e,t){t.r(e),t.d(e,"Crumb",(function(){return w})),t.d(e,"Breadcrumbs",(function(){return j}));var r,o=t(5),i=t.n(o),u=t(3),a=t.n(u),f=t(1),c=t.n(f),s=t(0),l=t.n(s),d=t(2),p=t.n(d),h=t(82),m=t.n(h),g=t(8),v=t(6),b=t(9),y=t(21),x=["children","label"],O=p()(b.Row)(r||(r=a()(["\n svg {\n height: 10px;\n width: 10px;\n }\n svg path {\n fill: ",";\n }\n :last-of-type "," {\n display: none;\n }\n"])),(function(n){return n.theme.colors.neutral300}),v.Box),w=function(n){var e=n.children;return c.a.createElement(O,{inline:!0,as:"li"},c.a.createElement(g.Text,{bold:!0,color:"neutral800"},e),c.a.createElement(v.Box,{paddingLeft:3,paddingRight:3},c.a.createElement(m.a,null)))};w.displayName="Crumb",w.propTypes={children:l.a.string.isRequired};var S=l.a.shape({type:l.a.oneOf([w])}),j=function(n){var e=n.children,t=n.label,r=i()(n,x);return c.a.createElement(b.Row,r,c.a.createElement(y.VisuallyHidden,null,t),c.a.createElement("ol",{"aria-hidden":!0},e))};j.displayName="Breadcrumbs",j.propTypes={children:l.a.oneOfType([l.a.arrayOf(S),S]).isRequired,label:l.a.string.isRequired}},16:function(n,e){n.exports=function(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t<e;t++)r[t]=n[t];return r},n.exports.default=n.exports,n.exports.__esModule=!0},17:function(n,e,t){var r=t(18);function o(){}function i(){}i.resetWarningCache=o,n.exports=function(){function n(n,e,t,o,i,u){if(u!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function e(){return n}n.isRequired=n;var t={array:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:e,element:n,elementType:n,instanceOf:e,node:n,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return t.PropTypes=t,t}},18:function(n,e,t){n.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},19:function(n,e,t){var r=t(16);n.exports=function(n,e){if(n){if("string"==typeof n)return r(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);return"Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t?Array.from(n):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?r(n,e):void 0}},n.exports.default=n.exports,n.exports.__esModule=!0},2:function(n,t){n.exports=e},20:function(n,e){n.exports=function(n,e){if(null==n)return{};var t,r,o={},i=Object.keys(n);for(r=0;r<i.length;r++)t=i[r],e.indexOf(t)>=0||(o[t]=n[t]);return o},n.exports.default=n.exports,n.exports.__esModule=!0},21:function(n,e,t){t.r(e),t.d(e,"VisuallyHidden",(function(){return a}));var r,o=t(3),i=t.n(o),u=t(2),a=t.n(u).a.div(r||(r=i()(["\n border: 0;\n clip: rect(0 0 0 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n"])))},22:function(n,e){n.exports=function(n){if(Array.isArray(n))return n},n.exports.default=n.exports,n.exports.__esModule=!0},23:function(n,e){n.exports=function(n,e){var t=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=t){var r,o,i=[],u=!0,a=!1;try{for(t=t.call(n);!(u=(r=t.next()).done)&&(i.push(r.value),!e||i.length!==e);u=!0);}catch(n){a=!0,o=n}finally{try{u||null==t.return||t.return()}finally{if(a)throw o}}return i}},n.exports.default=n.exports,n.exports.__esModule=!0},24:function(n,e){n.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},n.exports.default=n.exports,n.exports.__esModule=!0},3:function(n,e){n.exports=function(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))},n.exports.default=n.exports,n.exports.__esModule=!0},4:function(n,e){function t(){return n.exports=t=Object.assign||function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},n.exports.default=n.exports,n.exports.__esModule=!0,t.apply(this,arguments)}n.exports=t,n.exports.default=n.exports,n.exports.__esModule=!0},5:function(n,e,t){var r=t(20);n.exports=function(n,e){if(null==n)return{};var t,o,i=r(n,e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(n);for(o=0;o<u.length;o++)t=u[o],e.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(n,t)&&(i[t]=n[t])}return i},n.exports.default=n.exports,n.exports.__esModule=!0},6:function(n,e,t){t.r(e),t.d(e,"Box",(function(){return d}));var r,o=t(3),i=t.n(o),u=t(0),a=t.n(u),f=t(2),c=t.n(f),s=t(7),l={color:!0},d=c.a.div.withConfig({shouldForwardProp:function(n,e){return!l[n]&&e(n)}})(r||(r=i()(["\n // Font\n font-size: ",";\n\n // Colors\n background: ",";\n color: ",";\n\n // Spaces\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n\n // Responsive hiding\n ","\n ","\n \n\n // Borders\n border-radius: ",";\n border-style: ",";\n border-width: ",";\n border-color: ",";\n border: ",";\n\n // Shadows\n box-shadow: ",";\n\n // Handlers\n pointer-events: ",";\n &:hover {\n ","\n }\n\n // Position\n position: ",";\n left: ",";\n right: ",";\n top: ",";\n bottom: ",";\n z-index: ",";\n overflow: ",";\n cursor: ",";\n\n // Size\n width: ",";\n max-width: ",";\n min-width: ",";\n height: ",";\n max-height: ",";\n min-height: ",";\n\n // Animation\n transition: ",";\n animation: ",";\n"])),(function(n){var e=n.fontSize;return n.theme.fontSizes[e]||e}),(function(n){var e=n.theme,t=n.background;return e.colors[t]}),(function(n){var e=n.theme,t=n.color;return e.colors[t]}),(function(n){var e=n.theme,t=n.padding;return Object(s.a)("padding",t,e)}),(function(n){var e=n.theme,t=n.paddingTop;return Object(s.a)("padding-top",t,e)}),(function(n){var e=n.theme,t=n.paddingRight;return Object(s.a)("padding-right",t,e)}),(function(n){var e=n.theme,t=n.paddingBottom;return Object(s.a)("padding-bottom",t,e)}),(function(n){var e=n.theme,t=n.paddingLeft;return Object(s.a)("padding-left",t,e)}),(function(n){var e=n.theme,t=n.marginLeft;return Object(s.a)("margin-left",t,e)}),(function(n){var e=n.theme,t=n.marginRight;return Object(s.a)("margin-right",t,e)}),(function(n){var e=n.theme,t=n.marginTop;return Object(s.a)("margin-top",t,e)}),(function(n){var e=n.theme,t=n.marginBottom;return Object(s.a)("margin-bottom",t,e)}),(function(n){var e=n.theme;return n.hiddenS?"".concat(e.mediaQueries.tablet," { display: none; }"):void 0}),(function(n){var e=n.theme;return n.hiddenXS?"".concat(e.mediaQueries.mobile," { display: none; }"):void 0}),(function(n){var e=n.theme;return n.hasRadius?e.borderRadius:void 0}),(function(n){return n.borderStyle}),(function(n){return n.borderWidth}),(function(n){var e=n.borderColor;return n.theme.colors[e]}),(function(n){var e=n.theme,t=n.borderColor,r=n.borderStyle,o=n.borderWidth;if(t&&!r&&!o)return"1px solid ".concat(e.colors[t])}),(function(n){var e=n.theme,t=n.shadow;return e.shadows[t]}),(function(n){return n.pointerEvents}),(function(n){var e=n._hover,t=n.theme;return e?e(t):void 0}),(function(n){return n.position}),(function(n){var e=n.left;return n.theme.spaces[e]||e}),(function(n){var e=n.right;return n.theme.spaces[e]||e}),(function(n){var e=n.top;return n.theme.spaces[e]||e}),(function(n){var e=n.bottom;return n.theme.spaces[e]||e}),(function(n){return n.zIndex}),(function(n){return n.overflow}),(function(n){return n.cursor}),(function(n){var e=n.width;return n.theme.sizes[e]||e}),(function(n){var e=n.maxWidth;return n.theme.sizes[e]||e}),(function(n){var e=n.minWidth;return n.theme.sizes[e]||e}),(function(n){var e=n.height;return n.theme.sizes[e]||e}),(function(n){var e=n.maxHeight;return n.theme.sizes[e]||e}),(function(n){var e=n.minHeight;return n.theme.sizes[e]||e}),(function(n){return n.transition}),(function(n){return n.animation}));d.displayName="Box",d.defaultProps={background:void 0,borderColor:void 0,color:void 0,hiddenS:!1,hiddenXS:!1,padding:void 0,paddingTop:void 0,paddingRight:void 0,paddingBottom:void 0,paddingLeft:void 0,hasRadius:!1,shadow:void 0,children:null,_hover:function(){}},d.propTypes={_hover:a.a.func,background:a.a.string,borderColor:a.a.string,children:a.a.oneOfType([a.a.node,a.a.string]),color:a.a.string,hasRadius:a.a.bool,hiddenS:a.a.bool,hiddenXS:a.a.bool,padding:a.a.oneOfType([a.a.number,a.a.arrayOf(a.a.number)]),paddingBottom:a.a.oneOfType([a.a.number,a.a.arrayOf(a.a.number)]),paddingLeft:a.a.oneOfType([a.a.number,a.a.arrayOf(a.a.number)]),paddingRight:a.a.oneOfType([a.a.number,a.a.arrayOf(a.a.number)]),paddingTop:a.a.oneOfType([a.a.number,a.a.arrayOf(a.a.number)]),shadow:a.a.string}},7:function(n,e,t){var r=t(10),o=t.n(r);e.a=function(n,e,t){if(void 0!==e){if(Array.isArray(e)){var r=o()(e,3),i=r[0],u=r[1],a=r[2],f="".concat(n,": ").concat(t.spaces[i],";");return void 0!==u&&(f+="".concat(t.mediaQueries.tablet,"{\n ").concat(n,": ").concat(t.spaces[u],";\n }")),void 0!==a&&(f+="".concat(t.mediaQueries.mobile,"{\n ").concat(n,": ").concat(t.spaces[a],";\n }")),f}return"".concat(n,": ").concat(t.spaces[e],";")}}},8:function(n,e,t){t.r(e),t.d(e,"H2",(function(){return C})),t.d(e,"H3",(function(){return E})),t.d(e,"Text",(function(){return W})),t.d(e,"P",(function(){return B})),t.d(e,"Subtitle",(function(){return k})),t.d(e,"ButtonText",(function(){return A})),t.d(e,"TableLabel",(function(){return L})),t.d(e,"EllipsisText",(function(){return I})),t.d(e,"H1",(function(){return O})),t.d(e,"Typography",(function(){return H}));var r,o,i=t(4),u=t.n(i),a=t(3),f=t.n(a),c=t(1),s=t.n(c),l=t(2),d=t.n(l),p=function(n){return n.ellipsis&&"\n display: inline-block;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n "},h=function(n){var e=n.theme,t=n.textColor;return e.colors[t||"neutral800"]},m=t(5),g=t.n(m),v=t(0),b=t.n(v),y=["as"],x=d.a.h1(r||(r=f()(["\n font-weight: ",";\n font-size: ",";\n line-height: ",";\n color: ",";\n ","\n"])),(function(n){return n.theme.fontWeights.bold}),(function(n){return n.theme.fontSizes[5]}),(function(n){return n.theme.lineHeights[2]}),h,p),O=function(n){var e,t=n.as,r=g()(n,y);return"h1"===t&&(e="main-content-title"),s.a.createElement(x,u()({id:e,as:t},r))};O.defaultProps={as:"h1"},O.propTypes={as:b.a.string};var w,S,j,_,T,z,P,M={fontSize:!0,fontWeight:!0},H=d.a.span.withConfig({shouldForwardProp:function(n,e){return!M[n]&&e(n)}})(o||(o=f()(["\n font-weight: ",";\n font-size: ",";\n line-height: ",";\n color: ",";\n text-transform: ",";\n ","\n"])),(function(n){var e=n.theme,t=n.fontWeight;return e.fontWeights[t]}),(function(n){var e=n.theme,t=n.fontSize;return e.fontSizes[t]}),(function(n){var e=n.theme,t=n.lineHeight;return e.lineHeights[t]}),h,(function(n){return n.textTransform}),p);H.defaultProps={fontWeight:void 0,fontSize:void 0,lineHeight:void 0,textColor:void 0,textTransform:void 0},H.propTypes={fontSize:b.a.oneOfType([b.a.number,b.a.string]),fontWeight:b.a.string,lineHeight:b.a.oneOfType([b.a.number,b.a.string]),textColor:b.a.string,textTransform:b.a.string};var C=d.a.h2(w||(w=f()(["\n font-weight: ",";\n font-size: ",";\n line-height: ",";\n color: ",";\n ","\n"])),(function(n){return n.theme.fontWeights.bold}),(function(n){return n.theme.fontSizes[4]}),(function(n){return n.theme.lineHeights[1]}),h,p),E=d.a.h3(S||(S=f()(["\n font-weight: ",";\n font-size: ",";\n line-height: ",";\n color: ",";\n ","\n"])),(function(n){return n.theme.fontWeights.semiBold}),(function(n){return n.theme.fontSizes[3]}),(function(n){return n.theme.lineHeights[2]}),h,p),R={S:{fontSize:1,lineHeight:3},M:{fontSize:2,lineHeight:4}},W=d.a.span(j||(j=f()(["\n font-weight: ",";\n font-size: ",";\n line-height: ",";\n color: ",";\n ","\n"])),(function(n){var e=n.bold,t=n.theme;return e?t.fontWeights.semiBold:t.fontWeights.regular}),(function(n){var e=n.small,t=n.theme,r=R[e?"S":"M"].fontSize;return t.fontSizes[r]}),(function(n){var e=n.small,t=n.theme,r=R[e?"S":"M"].lineHeight;return t.lineHeights[r]}),h,p),B=function(n){return s.a.createElement(W,u()({as:"p"},n))},k=d()(W)(_||(_=f()(["\n font-size: ",";\n line-height: ",";\n"])),(function(n){return n.theme.fontSizes[3]}),(function(n){return n.theme.lineHeights[6]})),A=d()(W)(T||(T=f()(["\n font-weight: ",";\n line-height: ",";\n"])),(function(n){return n.theme.fontWeights.bold}),(function(n){return n.theme.lineHeights[0]})),L=d()(A)(z||(z=f()(["\n font-weight: ",";\n font-size: ",";\n line-height: ",";\n text-transform: uppercase;\n"])),(function(n){return n.theme.fontWeights.bold}),(function(n){return n.theme.fontSizes[0]}),(function(n){return n.theme.lineHeights[5]})),I=d()(W)(P||(P=f()(["\n display: block;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"])))},82:function(n,e){n.exports=t},9:function(n,e,t){t.r(e),t.d(e,"Row",(function(){return l}));var r,o=t(3),i=t.n(o),u=t(0),a=t.n(u),f=t(2),c=t.n(f),s=t(6),l=c()(s.Box)(r||(r=i()(["\n display: ",";\n flex-direction: ",";\n justify-content: ",";\n align-items: ",";\n flex-wrap: ",";\n"])),(function(n){return n.inline?"inline-flex":"flex"}),(function(n){return n.reverse?"row-reverse":"row"}),(function(n){return n.justifyContent}),(function(n){return n.alignItems}),(function(n){return n.wrap}));l.defaultProps={alignItems:"center",inline:!1,justifyContent:void 0,reverse:!1,wrap:void 0},l.propTypes={alignItems:a.a.string,inline:a.a.bool,justifyContent:a.a.string,reverse:a.a.bool,wrap:a.a.string}}})},"object"==(0,a.default)(e)&&"object"==(0,a.default)(n)?n.exports=u(t(55354),t(5834),t(78057)):(o=[t(55354),t(5834),t(78057)],void 0===(i="function"===typeof(r=u)?r.apply(e,o):r)||(n.exports=i))},95292:(n,e,t)=>{"use strict";n.exports=t(23450)},23450:(n,e,t)=>{"use strict";var r,o,i;n=t.nmd(n);var u,a=t(88879)(t(12568));window,u=function(n){return function(n){var e={};function t(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return n[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=n,t.c=e,t.d=function(n,e,r){t.o(n,e)||Object.defineProperty(n,e,{enumerable:!0,get:r})},t.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},t.t=function(n,e){if(1&e&&(n=t(n)),8&e)return n;if(4&e&&"object"==(0,a.default)(n)&&n&&n.__esModule)return n;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:n}),2&e&&"string"!=typeof n)for(var o in n)t.d(r,o,function(e){return n[e]}.bind(null,o));return r},t.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(e,"a",e),e},t.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},t.p="",t(t.s=117)}({1:function(e,t){e.exports=n},117:function(n,e,t){t.r(e),t.d(e,"useNotifyAT",(function(){return f}));var r=t(1),o=t(54),i=function(n){var e=document.querySelector("#".concat(o.a.Log));e&&(e.innerText=n)},u=function(n){var e=document.querySelector("#".concat(o.a.Status));e&&(e.innerText=n)},a=function(n){var e=document.querySelector("#".concat(o.a.Alert));e&&(e.innerText=n)},f=function(){return Object(r.useEffect)((function(){return function(){i(""),a(""),u("")}}),[]),{notifyLog:i,notifyAlert:a,notifyStatus:u}}},54:function(n,e,t){t.d(e,"a",(function(){return r}));var r={Log:"live-region-log",Status:"live-region-status",Alert:"live-region-alert"}}})},"object"==(0,a.default)(e)&&"object"==(0,a.default)(n)?n.exports=u(t(55354)):(o=[t(55354)],void 0===(i="function"===typeof(r=u)?r.apply(e,o):r)||(n.exports=i))}}]);
|