@awaitio/theme-default 1.1.0 → 1.3.0
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/LICENSE +11 -1
- package/dist/blocks/RowMenu.d.ts.map +1 -1
- package/dist/blocks/RowMenu.js +11 -4
- package/dist/blocks/Table.d.ts.map +1 -1
- package/dist/blocks/Table.js +40 -3
- package/dist/ui/ui.css +1 -1
- package/dist/ui/ui.js +4 -4
- package/package.json +3 -3
package/LICENSE
CHANGED
|
@@ -58,7 +58,7 @@ The Free License and the Company License cover exactly the same software. AwaitI
|
|
|
58
58
|
|
|
59
59
|
## Sponsoring
|
|
60
60
|
|
|
61
|
-
Anyone may sponsor AwaitIO on GitHub Sponsors, once or monthly, with any amount, to support its development. A sponsorship other than a monthly Company License tier is a gift and does not grant a Company License.
|
|
61
|
+
Anyone may sponsor AwaitIO on GitHub Sponsors, once or monthly, with any amount, to support its development. A sponsorship other than a monthly Company License tier is a gift and does not grant a Company License, unless it pays for months of a Company License that were missed.
|
|
62
62
|
|
|
63
63
|
## What nobody may do
|
|
64
64
|
|
|
@@ -98,6 +98,16 @@ The license belongs to the organization, not to that person's GitHub account. If
|
|
|
98
98
|
|
|
99
99
|
Write to license@awaitio.com. The Licensor has been in that situation too and understands it. It would not want you to stop using AwaitIO only because you have no budget for the license right now. An exception or individual terms are agreed case by case.
|
|
100
100
|
|
|
101
|
+
#### What if we forgot to pay the license for several months?
|
|
102
|
+
|
|
103
|
+
That happens, and it is no problem. Nobody will hold it against you.
|
|
104
|
+
|
|
105
|
+
Write to license@awaitio.com and the Licensor will agree with you how to settle the missed months.
|
|
106
|
+
|
|
107
|
+
Or simply pay the missed amount at once as a one-time sponsorship on [GitHub Sponsors](https://github.com/sponsors/awaitio). For example, 5 missed months of the 4 to 10 users tier are 250 USD. Such a payment counts as the Company License for those months, not as a gift.
|
|
108
|
+
|
|
109
|
+
Then renew the monthly Company License tier and you are covered again.
|
|
110
|
+
|
|
101
111
|
#### What if I am not sure whether or which license I need?
|
|
102
112
|
|
|
103
113
|
Write to license@awaitio.com and the Licensor will answer in writing.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RowMenu.d.ts","sourceRoot":"","sources":["../../src/blocks/RowMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,EAA+B,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAS7D,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC,YAAY,
|
|
1
|
+
{"version":3,"file":"RowMenu.d.ts","sourceRoot":"","sources":["../../src/blocks/RowMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,EAA+B,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAS7D,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC,YAAY,CA+EpC,CAAC"}
|
package/dist/blocks/RowMenu.js
CHANGED
|
@@ -4,9 +4,9 @@ exports.RowMenu = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const ui_1 = require("awaitio/ui");
|
|
6
6
|
const react_1 = require("react");
|
|
7
|
-
// The "…" button at the end of a table row with links for that row. The list is fixed to the window, so the table's
|
|
7
|
+
// The "…" button at the end of a table row with links for that row, or above the table with actions for all rows. The list is fixed to the window, so the table's
|
|
8
8
|
// sideways scroll box cannot cut it off at the last rows; it closes on a click outside, Escape or scrolling.
|
|
9
|
-
const RowMenu = ({ items }) => {
|
|
9
|
+
const RowMenu = ({ items, label = 'Row actions' }) => {
|
|
10
10
|
const [position, setPosition] = (0, react_1.useState)(null);
|
|
11
11
|
const root = (0, react_1.useRef)(null);
|
|
12
12
|
(0, react_1.useEffect)(() => {
|
|
@@ -31,11 +31,18 @@ const RowMenu = ({ items }) => {
|
|
|
31
31
|
window.removeEventListener('resize', close);
|
|
32
32
|
};
|
|
33
33
|
}, [position]);
|
|
34
|
-
return ((0, jsx_runtime_1.jsxs)("div", { ref: root, className: "flex justify-end", children: [(0, jsx_runtime_1.jsx)("button", { type: "button", "aria-label":
|
|
34
|
+
return ((0, jsx_runtime_1.jsxs)("div", { ref: root, className: "flex justify-end", children: [(0, jsx_runtime_1.jsx)("button", { type: "button", "aria-label": label, "aria-expanded": position !== null, onClick: (event) => {
|
|
35
35
|
const rect = event.currentTarget.getBoundingClientRect();
|
|
36
36
|
setPosition(position ? null : { top: rect.bottom + 4, right: window.innerWidth - rect.right });
|
|
37
37
|
}, className: "rounded-md p-1 text-gray-500 hover:bg-gray-100 hover:text-gray-900", children: (0, jsx_runtime_1.jsxs)("svg", { "aria-hidden": "true", viewBox: "0 0 20 20", className: "h-5 w-5 fill-current", children: [(0, jsx_runtime_1.jsx)("circle", { cx: "4.5", cy: "10", r: "1.5" }), (0, jsx_runtime_1.jsx)("circle", { cx: "10", cy: "10", r: "1.5" }), (0, jsx_runtime_1.jsx)("circle", { cx: "15.5", cy: "10", r: "1.5" })] }) }), position && ((0, jsx_runtime_1.jsx)("div", { style: { top: position.top, right: position.right }, className: "fixed z-20 flex min-w-40 flex-col rounded-lg border border-gray-200 bg-white py-1 shadow-lg", children: items.map((item) => {
|
|
38
|
-
|
|
38
|
+
const itemClass = 'px-3 py-2 text-left text-sm whitespace-nowrap text-gray-700 hover:bg-gray-50 hover:text-gray-900';
|
|
39
|
+
if ('href' in item) {
|
|
40
|
+
return ((0, jsx_runtime_1.jsx)(ui_1.Link, { href: item.href, className: itemClass, children: item.label }, item.label));
|
|
41
|
+
}
|
|
42
|
+
return ((0, jsx_runtime_1.jsx)("button", { type: "button", onClick: () => {
|
|
43
|
+
setPosition(null);
|
|
44
|
+
item.onClick();
|
|
45
|
+
}, className: itemClass, children: item.label }, item.label));
|
|
39
46
|
}) }))] }));
|
|
40
47
|
};
|
|
41
48
|
exports.RowMenu = RowMenu;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../src/blocks/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../src/blocks/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,UAAU,EAAE,MAAM,YAAY,CAAC;AACxE,OAAO,EAAY,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAK1C,eAAO,MAAM,KAAK,EAAE,EAAE,CAAC,UAAU,CAkLhC,CAAC"}
|
package/dist/blocks/Table.js
CHANGED
|
@@ -5,6 +5,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
5
5
|
const ui_1 = require("awaitio/ui");
|
|
6
6
|
const react_1 = require("react");
|
|
7
7
|
// A data table for layouts: an optional filter, a header row, one row per record with an optional "…" menu, and a pager.
|
|
8
|
+
// With multiple selection a "…" menu next to the pager selects or clears all rows that match the filter.
|
|
8
9
|
// Filtering and paging happen in the browser, on the rows the page sent.
|
|
9
10
|
const Table = ({ columns, rows, pageSize = 20, filterable = true, emptyText = 'Nothing to show.', selection }) => {
|
|
10
11
|
const [filter, setFilter] = (0, react_1.useState)('');
|
|
@@ -23,7 +24,43 @@ const Table = ({ columns, rows, pageSize = 20, filterable = true, emptyText = 'N
|
|
|
23
24
|
const hasMenu = rows.some((row) => {
|
|
24
25
|
return (row.menu ?? []).length > 0;
|
|
25
26
|
});
|
|
26
|
-
const
|
|
27
|
+
const isMultiple = selection?.mode === 'multiple';
|
|
28
|
+
const hasToolbar = filterable || matching.length > pageSize || isMultiple;
|
|
29
|
+
const matchingIds = matching.flatMap((row) => {
|
|
30
|
+
return row.id === undefined ? [] : [row.id];
|
|
31
|
+
});
|
|
32
|
+
const selected = selection?.selected ?? [];
|
|
33
|
+
const withMatching = [...new Set([...selected, ...matchingIds])];
|
|
34
|
+
// Only the actions that would change something: no "Select all" when every matching row is picked or the limit is in
|
|
35
|
+
// the way, no "Clear all" when none is picked, and no menu at all for a locked table.
|
|
36
|
+
const bulkItems = selection && isMultiple && !isDisabled
|
|
37
|
+
? [
|
|
38
|
+
...(withMatching.length > selected.length && withMatching.length <= (selection.maxSelections ?? Infinity)
|
|
39
|
+
? [
|
|
40
|
+
{
|
|
41
|
+
label: 'Select all',
|
|
42
|
+
onClick: () => {
|
|
43
|
+
selection.onChange(withMatching);
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
]
|
|
47
|
+
: []),
|
|
48
|
+
...(matchingIds.some((id) => {
|
|
49
|
+
return selected.includes(id);
|
|
50
|
+
})
|
|
51
|
+
? [
|
|
52
|
+
{
|
|
53
|
+
label: 'Clear all',
|
|
54
|
+
onClick: () => {
|
|
55
|
+
selection.onChange(selected.filter((id) => {
|
|
56
|
+
return !matchingIds.includes(id);
|
|
57
|
+
}));
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
]
|
|
61
|
+
: []),
|
|
62
|
+
]
|
|
63
|
+
: [];
|
|
27
64
|
const pagerButton = 'rounded-md border border-gray-200 px-2.5 py-1 text-xs font-medium text-gray-700 hover:bg-gray-50 disabled:cursor-not-allowed disabled:opacity-40';
|
|
28
65
|
return ((0, jsx_runtime_1.jsxs)("div", { className: ['rounded-lg border border-gray-200', isDisabled ? 'bg-gray-100 text-gray-500' : 'bg-white'].join(' '), children: [hasToolbar && ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-wrap items-center justify-between gap-3 border-b border-gray-200 px-3 py-2", children: [filterable ? ((0, jsx_runtime_1.jsx)("input", { type: "search", value: filter, placeholder: "Filter", "aria-label": "Filter rows", disabled: isDisabled, onChange: (event) => {
|
|
29
66
|
setFilter(event.target.value);
|
|
@@ -32,7 +69,7 @@ const Table = ({ columns, rows, pageSize = 20, filterable = true, emptyText = 'N
|
|
|
32
69
|
setPage(current - 1);
|
|
33
70
|
}, className: pagerButton, children: "Prev" }), (0, jsx_runtime_1.jsx)("button", { type: "button", disabled: current >= pageCount - 1, onClick: () => {
|
|
34
71
|
setPage(current + 1);
|
|
35
|
-
}, className: pagerButton, children: "Next" })] }))] }))] })), shown.length === 0 ? ((0, jsx_runtime_1.jsx)("p", { className: "px-4 py-6 text-sm text-gray-500", children: query ? 'No rows match the filter.' : emptyText })) : ((0, jsx_runtime_1.jsx)("div", { className: "overflow-x-auto", children: (0, jsx_runtime_1.jsxs)("table", { className: "w-full text-left text-sm", children: [(0, jsx_runtime_1.jsx)("thead", { className: hasToolbar ? 'bg-gray-50' : 'bg-gray-50 [&_th:first-child]:rounded-tl-lg [&_th:last-child]:rounded-tr-lg', children: (0, jsx_runtime_1.jsxs)("tr", { className: "border-b border-gray-200", children: [selection && (0, jsx_runtime_1.jsx)("th", { className: "w-10", "aria-label": "Selected" }), columns.map((column) => {
|
|
72
|
+
}, className: pagerButton, children: "Next" })] })), bulkItems.length > 0 && (0, jsx_runtime_1.jsx)(ui_1.RowMenu, { label: "Table actions", items: bulkItems })] }))] })), shown.length === 0 ? ((0, jsx_runtime_1.jsx)("p", { className: "px-4 py-6 text-sm text-gray-500", children: query ? 'No rows match the filter.' : emptyText })) : ((0, jsx_runtime_1.jsx)("div", { className: "overflow-x-auto", children: (0, jsx_runtime_1.jsxs)("table", { className: "w-full text-left text-sm", children: [(0, jsx_runtime_1.jsx)("thead", { className: hasToolbar ? 'bg-gray-50' : 'bg-gray-50 [&_th:first-child]:rounded-tl-lg [&_th:last-child]:rounded-tr-lg', children: (0, jsx_runtime_1.jsxs)("tr", { className: "border-b border-gray-200", children: [selection && (0, jsx_runtime_1.jsx)("th", { className: "w-10", "aria-label": "Selected" }), columns.map((column) => {
|
|
36
73
|
return ((0, jsx_runtime_1.jsx)("th", { className: "px-4 py-2.5 font-medium whitespace-nowrap text-gray-500", children: column.label }, column.key));
|
|
37
74
|
}), hasMenu && (0, jsx_runtime_1.jsx)("th", { className: "w-10", "aria-label": "Row actions" })] }) }), (0, jsx_runtime_1.jsx)("tbody", { children: shown.map((row, rowIndex) => {
|
|
38
75
|
return ((0, jsx_runtime_1.jsxs)("tr", { className: "border-b border-gray-100 last:border-0", children: [selection && row.id !== undefined && ((0, jsx_runtime_1.jsx)("td", { className: "py-2.5 pl-4", children: (0, jsx_runtime_1.jsx)("input", { type: selection.mode === 'single' ? 'radio' : 'checkbox', "aria-label": "Select row", checked: selection.selected.includes(row.id), disabled: selection.disabled, onChange: () => {
|
|
@@ -46,7 +83,7 @@ const Table = ({ columns, rows, pageSize = 20, filterable = true, emptyText = 'N
|
|
|
46
83
|
})
|
|
47
84
|
: [...selection.selected, id]);
|
|
48
85
|
}, className: "accent-gray-900" }) })), columns.map((column) => {
|
|
49
|
-
return ((0, jsx_runtime_1.jsx)("td", { className: "px-4 py-2.5", children: row.cells[column.key] }, column.key));
|
|
86
|
+
return ((0, jsx_runtime_1.jsx)("td", { className: "px-4 py-2.5 wrap-anywhere", children: row.cells[column.key] }, column.key));
|
|
50
87
|
}), hasMenu && (0, jsx_runtime_1.jsx)("td", { className: "px-2 py-1.5", children: row.menu && row.menu.length > 0 && (0, jsx_runtime_1.jsx)(ui_1.RowMenu, { items: row.menu }) })] }, row.id ?? current * pageSize + rowIndex));
|
|
51
88
|
}) })] }) }))] }));
|
|
52
89
|
};
|
package/dist/ui/ui.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer theme{:root,:host{--color-red-100:oklch(93.6% .032 17.717);--color-red-600:oklch(57.7% .245 27.325);--color-red-800:oklch(44.4% .177 26.899);--color-orange-100:oklch(95.4% .038 75.164);--color-orange-800:oklch(47% .157 37.304);--color-yellow-100:oklch(97.3% .071 103.193);--color-yellow-800:oklch(47.6% .114 61.907);--color-green-100:oklch(96.2% .044 156.743);--color-green-800:oklch(44.8% .119 151.328);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-800:oklch(42.4% .199 265.638);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-800:oklch(43.8% .218 303.724);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-800:oklch(45.9% .187 3.815);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-900:oklch(21% .034 264.665);--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--radius-md:.375rem;--radius-lg:.5rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1)}}@layer components{.pointer-events-none{pointer-events:none}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.top-1\/2{top:50%}.right-3{right:calc(var(--spacing) * 3)}.z-20{z-index:20}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.block{display:block}.flex{display:flex}.grid{display:grid}.inline-flex{display:inline-flex}.table{display:table}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.h-5{height:calc(var(--spacing) * 5)}.max-h-16{max-height:calc(var(--spacing) * 16)}.max-h-32{max-height:calc(var(--spacing) * 32)}.max-h-64{max-height:calc(var(--spacing) * 64)}.max-h-96{max-height:calc(var(--spacing) * 96)}.min-h-9{min-height:calc(var(--spacing) * 9)}.min-h-\[38px\]{min-height:38px}.w-5{width:calc(var(--spacing) * 5)}.w-10{width:calc(var(--spacing) * 10)}.w-full{width:100%}.max-w-56{max-width:calc(var(--spacing) * 56)}.max-w-full{max-width:100%}.min-w-0{min-width:0}.min-w-40{min-width:calc(var(--spacing) * 40)}.shrink-0{flex-shrink:0}.-translate-y-1\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.cursor-pointer{cursor:pointer}.resize{resize:both}.appearance-none{appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-gray-200>:not(:last-child)){border-color:var(--color-gray-200)}.self-start{align-self:flex-start}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-gray-100{border-color:var(--color-gray-100)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-gray-900{border-color:var(--color-gray-900)}.bg-blue-100{background-color:var(--color-blue-100)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-900{background-color:var(--color-gray-900)}.bg-green-100{background-color:var(--color-green-100)}.bg-orange-100{background-color:var(--color-orange-100)}.bg-pink-100{background-color:var(--color-pink-100)}.bg-purple-100{background-color:var(--color-purple-100)}.bg-red-100{background-color:var(--color-red-100)}.bg-white{background-color:var(--color-white)}.bg-yellow-100{background-color:var(--color-yellow-100)}.fill-current{fill:currentColor}.object-contain{object-fit:contain}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-6{padding:calc(var(--spacing) * 6)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-6{padding-block:calc(var(--spacing) * 6)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pr-3\.5{padding-right:calc(var(--spacing) * 3.5)}.pr-9{padding-right:calc(var(--spacing) * 9)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-4{padding-left:calc(var(--spacing) * 4)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-left{text-align:left}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-6{--tw-leading:calc(var(--spacing) * 6);line-height:calc(var(--spacing) * 6)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.wrap-break-word{overflow-wrap:break-word}.whitespace-nowrap{white-space:nowrap}.text-blue-600{color:var(--color-blue-600)}.text-blue-800{color:var(--color-blue-800)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-900{color:var(--color-gray-900)}.text-green-800{color:var(--color-green-800)}.text-orange-800{color:var(--color-orange-800)}.text-pink-800{color:var(--color-pink-800)}.text-purple-800{color:var(--color-purple-800)}.text-red-600{color:var(--color-red-600)}.text-red-800{color:var(--color-red-800)}.text-white{color:var(--color-white)}.text-yellow-800{color:var(--color-yellow-800)}.underline-offset-2{text-underline-offset:2px}.accent-gray-900{accent-color:var(--color-gray-900)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.last\:rounded-b-md:last-child{border-bottom-right-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.last\:border-0:last-child{border-style:var(--tw-border-style);border-width:0}@media(hover:hover){.hover\:border-gray-400:hover{border-color:var(--color-gray-400)}.hover\:bg-gray-50:hover{background-color:var(--color-gray-50)}.hover\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\:bg-gray-700:hover{background-color:var(--color-gray-700)}.hover\:text-blue-800:hover{color:var(--color-blue-800)}.hover\:text-gray-900:hover{color:var(--color-gray-900)}.hover\:underline:hover{text-decoration-line:underline}}.focus\:border-gray-900:focus{border-color:var(--color-gray-900)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.enabled\:bg-white:enabled{background-color:var(--color-white)}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:bg-gray-100:disabled{background-color:var(--color-gray-100)}.disabled\:text-gray-500:disabled{color:var(--color-gray-500)}.disabled\:opacity-40:disabled{opacity:.4}.disabled\:opacity-50:disabled{opacity:.5}@media(min-width:40rem){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:64rem){.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}.\[\&_a\]\:text-blue-600 a{color:var(--color-blue-600)}.\[\&_a\:hover\]\:underline a:hover{text-decoration-line:underline}.\[\&_code\]\:rounded code{border-radius:.25rem}.\[\&_code\]\:bg-gray-100 code{background-color:var(--color-gray-100)}.\[\&_code\]\:px-1 code{padding-inline:var(--spacing)}.\[\&_code\]\:py-0\.5 code{padding-block:calc(var(--spacing) * .5)}.\[\&_code\]\:text-\[13px\] code{font-size:13px}.\[\&_h1\]\:text-lg h1{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.\[\&_h1\]\:font-semibold h1{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.\[\&_h1\]\:text-gray-900 h1{color:var(--color-gray-900)}.\[\&_h2\]\:text-base h2{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.\[\&_h2\]\:font-semibold h2{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.\[\&_h2\]\:text-gray-900 h2{color:var(--color-gray-900)}.\[\&_h3\]\:font-semibold h3{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.\[\&_h3\]\:text-gray-900 h3{color:var(--color-gray-900)}.\[\&_li\]\:my-0\.5 li{margin-block:calc(var(--spacing) * .5)}.\[\&_ol\]\:list-decimal ol{list-style-type:decimal}.\[\&_ol\]\:pl-5 ol{padding-left:calc(var(--spacing) * 5)}.\[\&_pre\]\:overflow-x-auto pre{overflow-x:auto}.\[\&_pre\]\:rounded-md pre{border-radius:var(--radius-md)}.\[\&_pre\]\:bg-gray-100 pre{background-color:var(--color-gray-100)}.\[\&_pre\]\:p-3 pre{padding:calc(var(--spacing) * 3)}.\[\&_pre_code\]\:bg-transparent pre code{background-color:#0000}.\[\&_pre_code\]\:p-0 pre code{padding:0}.\[\&_strong\]\:font-semibold strong{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.\[\&_strong\]\:text-gray-900 strong{color:var(--color-gray-900)}.\[\&_th\:first-child\]\:rounded-tl-lg th:first-child{border-top-left-radius:var(--radius-lg)}.\[\&_th\:last-child\]\:rounded-tr-lg th:last-child{border-top-right-radius:var(--radius-lg)}.\[\&_ul\]\:list-disc ul{list-style-type:disc}.\[\&_ul\]\:pl-5 ul{padding-left:calc(var(--spacing) * 5)}.\[\&\>div\]\:flex>div{display:flex}.\[\&\>div\]\:flex-col>div{flex-direction:column}.\[\&\>div\]\:gap-3>div{gap:calc(var(--spacing) * 3)}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}
|
|
1
|
+
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer theme{:root,:host{--color-red-100:oklch(93.6% .032 17.717);--color-red-600:oklch(57.7% .245 27.325);--color-red-800:oklch(44.4% .177 26.899);--color-orange-100:oklch(95.4% .038 75.164);--color-orange-800:oklch(47% .157 37.304);--color-yellow-100:oklch(97.3% .071 103.193);--color-yellow-800:oklch(47.6% .114 61.907);--color-green-100:oklch(96.2% .044 156.743);--color-green-800:oklch(44.8% .119 151.328);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-800:oklch(42.4% .199 265.638);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-800:oklch(43.8% .218 303.724);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-800:oklch(45.9% .187 3.815);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-900:oklch(21% .034 264.665);--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--radius-md:.375rem;--radius-lg:.5rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1)}}@layer components{.pointer-events-none{pointer-events:none}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.top-1\/2{top:50%}.right-3{right:calc(var(--spacing) * 3)}.z-20{z-index:20}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.block{display:block}.flex{display:flex}.grid{display:grid}.inline-flex{display:inline-flex}.table{display:table}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.h-5{height:calc(var(--spacing) * 5)}.max-h-16{max-height:calc(var(--spacing) * 16)}.max-h-32{max-height:calc(var(--spacing) * 32)}.max-h-64{max-height:calc(var(--spacing) * 64)}.max-h-96{max-height:calc(var(--spacing) * 96)}.min-h-9{min-height:calc(var(--spacing) * 9)}.min-h-\[38px\]{min-height:38px}.w-5{width:calc(var(--spacing) * 5)}.w-10{width:calc(var(--spacing) * 10)}.w-full{width:100%}.max-w-56{max-width:calc(var(--spacing) * 56)}.max-w-full{max-width:100%}.min-w-0{min-width:0}.min-w-40{min-width:calc(var(--spacing) * 40)}.shrink-0{flex-shrink:0}.-translate-y-1\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.cursor-pointer{cursor:pointer}.resize{resize:both}.appearance-none{appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-gray-200>:not(:last-child)){border-color:var(--color-gray-200)}.self-start{align-self:flex-start}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-gray-100{border-color:var(--color-gray-100)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-gray-900{border-color:var(--color-gray-900)}.bg-blue-100{background-color:var(--color-blue-100)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-900{background-color:var(--color-gray-900)}.bg-green-100{background-color:var(--color-green-100)}.bg-orange-100{background-color:var(--color-orange-100)}.bg-pink-100{background-color:var(--color-pink-100)}.bg-purple-100{background-color:var(--color-purple-100)}.bg-red-100{background-color:var(--color-red-100)}.bg-white{background-color:var(--color-white)}.bg-yellow-100{background-color:var(--color-yellow-100)}.fill-current{fill:currentColor}.object-contain{object-fit:contain}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-6{padding:calc(var(--spacing) * 6)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-6{padding-block:calc(var(--spacing) * 6)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pr-3\.5{padding-right:calc(var(--spacing) * 3.5)}.pr-9{padding-right:calc(var(--spacing) * 9)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-4{padding-left:calc(var(--spacing) * 4)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-left{text-align:left}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-6{--tw-leading:calc(var(--spacing) * 6);line-height:calc(var(--spacing) * 6)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.wrap-anywhere{overflow-wrap:anywhere}.wrap-break-word{overflow-wrap:break-word}.whitespace-nowrap{white-space:nowrap}.text-blue-600{color:var(--color-blue-600)}.text-blue-800{color:var(--color-blue-800)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-900{color:var(--color-gray-900)}.text-green-800{color:var(--color-green-800)}.text-orange-800{color:var(--color-orange-800)}.text-pink-800{color:var(--color-pink-800)}.text-purple-800{color:var(--color-purple-800)}.text-red-600{color:var(--color-red-600)}.text-red-800{color:var(--color-red-800)}.text-white{color:var(--color-white)}.text-yellow-800{color:var(--color-yellow-800)}.underline-offset-2{text-underline-offset:2px}.accent-gray-900{accent-color:var(--color-gray-900)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.last\:rounded-b-md:last-child{border-bottom-right-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.last\:border-0:last-child{border-style:var(--tw-border-style);border-width:0}@media(hover:hover){.hover\:border-gray-400:hover{border-color:var(--color-gray-400)}.hover\:bg-gray-50:hover{background-color:var(--color-gray-50)}.hover\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\:bg-gray-700:hover{background-color:var(--color-gray-700)}.hover\:text-blue-800:hover{color:var(--color-blue-800)}.hover\:text-gray-900:hover{color:var(--color-gray-900)}.hover\:underline:hover{text-decoration-line:underline}}.focus\:border-gray-900:focus{border-color:var(--color-gray-900)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.enabled\:bg-white:enabled{background-color:var(--color-white)}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:bg-gray-100:disabled{background-color:var(--color-gray-100)}.disabled\:text-gray-500:disabled{color:var(--color-gray-500)}.disabled\:opacity-40:disabled{opacity:.4}.disabled\:opacity-50:disabled{opacity:.5}@media(min-width:40rem){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:64rem){.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}.\[\&_a\]\:text-blue-600 a{color:var(--color-blue-600)}.\[\&_a\:hover\]\:underline a:hover{text-decoration-line:underline}.\[\&_code\]\:rounded code{border-radius:.25rem}.\[\&_code\]\:bg-gray-100 code{background-color:var(--color-gray-100)}.\[\&_code\]\:px-1 code{padding-inline:var(--spacing)}.\[\&_code\]\:py-0\.5 code{padding-block:calc(var(--spacing) * .5)}.\[\&_code\]\:text-\[13px\] code{font-size:13px}.\[\&_h1\]\:text-lg h1{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.\[\&_h1\]\:font-semibold h1{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.\[\&_h1\]\:text-gray-900 h1{color:var(--color-gray-900)}.\[\&_h2\]\:text-base h2{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.\[\&_h2\]\:font-semibold h2{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.\[\&_h2\]\:text-gray-900 h2{color:var(--color-gray-900)}.\[\&_h3\]\:font-semibold h3{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.\[\&_h3\]\:text-gray-900 h3{color:var(--color-gray-900)}.\[\&_li\]\:my-0\.5 li{margin-block:calc(var(--spacing) * .5)}.\[\&_ol\]\:list-decimal ol{list-style-type:decimal}.\[\&_ol\]\:pl-5 ol{padding-left:calc(var(--spacing) * 5)}.\[\&_pre\]\:overflow-x-auto pre{overflow-x:auto}.\[\&_pre\]\:rounded-md pre{border-radius:var(--radius-md)}.\[\&_pre\]\:bg-gray-100 pre{background-color:var(--color-gray-100)}.\[\&_pre\]\:p-3 pre{padding:calc(var(--spacing) * 3)}.\[\&_pre_code\]\:bg-transparent pre code{background-color:#0000}.\[\&_pre_code\]\:p-0 pre code{padding:0}.\[\&_strong\]\:font-semibold strong{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.\[\&_strong\]\:text-gray-900 strong{color:var(--color-gray-900)}.\[\&_th\:first-child\]\:rounded-tl-lg th:first-child{border-top-left-radius:var(--radius-lg)}.\[\&_th\:last-child\]\:rounded-tr-lg th:last-child{border-top-right-radius:var(--radius-lg)}.\[\&_ul\]\:list-disc ul{list-style-type:disc}.\[\&_ul\]\:pl-5 ul{padding-left:calc(var(--spacing) * 5)}.\[\&\>div\]\:flex>div{display:flex}.\[\&\>div\]\:flex-col>div{flex-direction:column}.\[\&\>div\]\:gap-3>div{gap:calc(var(--spacing) * 3)}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}
|
package/dist/ui/ui.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
var awaitioComponent=(function(Xe,y,G,C,Yn){"use strict";function Kn(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,o.get?o:{enumerable:!0,get:()=>t[r]})}}return e.default=t,Object.freeze(e)}const L=Kn(C),Xn=t=>Object.fromEntries(Object.entries(t).map(([e,r])=>[e,{kind:"awaitio-theme-block",name:e,component:r,uiDirectory:null}])),Jn={red:"bg-red-100 text-red-800",orange:"bg-orange-100 text-orange-800",yellow:"bg-yellow-100 text-yellow-800",green:"bg-green-100 text-green-800",blue:"bg-blue-100 text-blue-800",purple:"bg-purple-100 text-purple-800",pink:"bg-pink-100 text-pink-800",gray:"bg-gray-100 text-gray-700"},Zn=({color:t,children:e})=>y.jsx("span",{className:`inline-flex items-center rounded-full px-2 py-0.5 text-xs font-medium ${Jn[t]}`,children:e}),Qn=({variant:t="primary",className:e,type:r="button",...o})=>{const n=t==="primary"?"bg-gray-900 text-white hover:bg-gray-700":"border border-gray-300 bg-white text-gray-900 hover:bg-gray-100";return y.jsx("button",{type:r,className:["rounded-md px-4 py-2 text-sm font-medium transition-colors disabled:cursor-not-allowed disabled:opacity-50",n,e].filter(Boolean).join(" "),...o})},er=({children:t})=>y.jsx("div",{className:"flex flex-wrap gap-2",children:t}),tr=({children:t})=>y.jsx("div",{className:"rounded-lg border border-gray-200 bg-white p-6 shadow-sm",children:t}),nr=({checked:t,onChange:e,text:r,disabled:o,autoFocus:n})=>y.jsxs("label",{className:"flex cursor-pointer items-center gap-2 self-start text-sm text-gray-600",children:[y.jsx("input",{id:G.useFieldId(),type:"checkbox",checked:t,disabled:o,autoFocus:n,onChange:a=>{e(a.target.checked)},className:"size-4 accent-gray-900"}),r]}),rr=({choices:t,mode:e,value:r,onChange:o,disabled:n})=>{const a=G.useFieldId();return y.jsx("div",{role:e==="single"?"radiogroup":"group",id:a,className:"flex flex-col gap-2",children:t.map(s=>{const u=r.includes(s.value);return y.jsxs("label",{className:["flex cursor-pointer items-start gap-3 rounded-md border bg-white px-3 py-2.5 text-sm",u&&"border-gray-900",!u&&"border-gray-300 hover:border-gray-400"].filter(Boolean).join(" "),children:[y.jsx("input",{type:e==="single"?"radio":"checkbox",name:a,checked:u,disabled:n,onChange:()=>{if(e==="single"){o([s.value]);return}o(u?r.filter(i=>i!==s.value):[...r,s.value])},className:"mt-0.5 accent-gray-900"}),y.jsxs("span",{className:"flex flex-col gap-0.5",children:[y.jsx("span",{className:"font-medium",children:s.label}),s.description&&y.jsx("span",{className:"text-gray-500",children:s.description})]})]},s.value)})})},or=({label:t,helpText:e,optional:r,error:o,children:n})=>{const a=C.useId();return y.jsx(G.FieldContext.Provider,{value:a,children:y.jsxs("div",{className:"flex flex-col gap-1",children:[y.jsxs(G.Label,{htmlFor:a,children:[t,r&&y.jsx("span",{className:"ml-1.5 text-xs font-normal text-gray-500",children:"optional"})]}),n,e&&y.jsx(G.Hint,{children:e}),o&&y.jsx("p",{role:"alert",className:"text-xs text-red-600",children:o})]})})},ar=({children:t,description:e,level:r=3})=>r===2?y.jsxs("div",{className:"flex flex-col gap-1 pt-2",children:[y.jsx("h2",{className:"text-lg font-semibold text-gray-900",children:t}),e&&y.jsx("p",{className:"text-sm text-gray-500",children:e})]}):y.jsxs("div",{className:"flex flex-col gap-1",children:[y.jsx("h3",{className:"text-base font-semibold text-gray-900",children:t}),e&&y.jsx("p",{className:"text-sm text-gray-500",children:e})]}),ir=({children:t})=>y.jsx("p",{className:"text-xs text-gray-500",children:t}),sr=({src:t,alt:e,size:r})=>{const o={thumbnail:"max-h-16",small:"max-h-32",medium:"max-h-64",large:"max-h-96"}[r??"large"];return y.jsx("img",{src:t,alt:e,loading:"lazy",className:["max-w-full self-start rounded-md border border-gray-200 object-contain",r?o:""].join(" ")})},Ie={CONTROL_CLASS_NAME:"w-full rounded-md border border-gray-300 px-3 py-2 text-sm shadow-sm focus:border-gray-900 focus:outline-none enabled:bg-white disabled:bg-gray-100 disabled:text-gray-500",SELECT_CLASS_NAME:"w-full appearance-none rounded-md border border-gray-300 py-2 pr-9 pl-3 text-sm shadow-sm focus:border-gray-900 focus:outline-none enabled:bg-white disabled:bg-gray-100 disabled:text-gray-500"},lr=({value:t,onChange:e,type:r="text",...o})=>y.jsx("input",{...o,id:G.useFieldId(),type:r,value:t,onChange:n=>{e(n.target.value)},className:Ie.CONTROL_CLASS_NAME}),ur=({htmlFor:t,children:e})=>y.jsx("label",{htmlFor:t,className:"text-sm font-medium",children:e}),cr=({href:t,children:e,external:r=!1,className:o="text-blue-600 underline-offset-2 hover:text-blue-800 hover:underline"})=>r?y.jsx("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:o,children:e}):y.jsx("a",{href:t,className:o,onClick:n=>{n.metaKey||n.ctrlKey||n.shiftKey||n.button!==0||(n.preventDefault(),G.navigateTo(t))},children:e}),dr=({items:t})=>y.jsx("dl",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-4",children:t.map((e,r)=>y.jsxs("div",{className:"flex min-w-0 flex-col gap-1 rounded-lg border border-gray-200 bg-white px-4 py-3",children:[e.label&&y.jsx("dt",{className:"text-sm text-gray-500",children:e.label}),y.jsx("dd",{className:"text-2xl font-semibold wrap-break-word text-gray-900",children:e.value}),e.description&&y.jsx("dd",{className:"text-xs text-gray-500",children:e.description})]},r))}),Ct=()=>y.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 20 20",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",className:"pointer-events-none absolute top-1/2 right-3 size-4 -translate-y-1/2 text-gray-500",children:y.jsx("path",{d:"M6 8l4 4 4-4"})}),fr=({choices:t,value:e,onChange:r,placeholder:o="Add…",isFull:n=!1,disabled:a,autoFocus:s})=>{const u=t.filter(l=>!e.includes(l.value)),i=t.filter(l=>e.includes(l.value));return y.jsxs("div",{className:"divide-y divide-gray-200 rounded-md border border-gray-300 bg-gray-50 text-sm",children:[y.jsx("div",{className:"p-2",children:y.jsxs("div",{className:"relative",children:[y.jsxs("select",{id:G.useFieldId(),value:"",disabled:a||n||u.length===0,autoFocus:s,onChange:l=>{r([...e,l.target.value])},className:Ie.SELECT_CLASS_NAME,children:[y.jsx("option",{value:"",disabled:!0,children:o}),u.map(l=>y.jsx("option",{value:l.value,children:l.label},l.value))]}),y.jsx(Ct,{})]})}),i.map(l=>y.jsxs("div",{className:["flex items-center justify-between gap-3 py-1.5 pr-3.5 pl-5 last:rounded-b-md",a?"min-h-9 bg-gray-100 text-gray-500":"bg-white text-gray-900"].join(" "),children:[l.label,!a&&y.jsx("button",{type:"button","aria-label":`Remove ${l.label}`,disabled:a,onClick:()=>{r(e.filter(c=>c!==l.value))},className:"flex size-6 shrink-0 items-center justify-center rounded text-gray-400 hover:bg-gray-100 hover:text-gray-900 disabled:cursor-not-allowed disabled:opacity-50",children:y.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 20 20",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",className:"size-3.5",children:y.jsx("path",{d:"M6 6l8 8m0-8-8 8"})})})]},l.value))]})},pr=({choices:t,value:e,onChange:r,placeholder:o="Choose…",disabled:n,autoFocus:a})=>y.jsxs("div",{className:"relative",children:[y.jsxs("select",{id:G.useFieldId(),value:e,disabled:n,autoFocus:a,onChange:s=>{r(s.target.value)},className:Ie.SELECT_CLASS_NAME,children:[y.jsx("option",{value:"",disabled:!0,children:o}),t.map(s=>y.jsx("option",{value:s.value,children:s.label},s.value))]}),y.jsx(Ct,{})]}),hr=({children:t})=>y.jsx("div",{className:"flex flex-col gap-3 text-sm [&>div]:flex [&>div]:flex-col [&>div]:gap-3 leading-6 text-gray-700 [&_a]:text-blue-600 [&_a:hover]:underline [&_code]:rounded [&_code]:bg-gray-100 [&_code]:px-1 [&_code]:py-0.5 [&_code]:text-[13px] [&_h1]:text-lg [&_h1]:font-semibold [&_h1]:text-gray-900 [&_h2]:text-base [&_h2]:font-semibold [&_h2]:text-gray-900 [&_h3]:font-semibold [&_h3]:text-gray-900 [&_li]:my-0.5 [&_ol]:list-decimal [&_ol]:pl-5 [&_pre]:overflow-x-auto [&_pre]:rounded-md [&_pre]:bg-gray-100 [&_pre]:p-3 [&_pre_code]:bg-transparent [&_pre_code]:p-0 [&_strong]:font-semibold [&_strong]:text-gray-900 [&_ul]:list-disc [&_ul]:pl-5",children:t}),vr=({items:t})=>{const[e,r]=C.useState(null),o=C.useRef(null);return C.useEffect(()=>{if(!e)return;const n=a=>{const s=a.type==="mousedown"&&o.current?.contains(a.target),u=a instanceof KeyboardEvent&&a.key!=="Escape";!s&&!u&&r(null)};return document.addEventListener("mousedown",n),document.addEventListener("keydown",n),window.addEventListener("scroll",n,!0),window.addEventListener("resize",n),()=>{document.removeEventListener("mousedown",n),document.removeEventListener("keydown",n),window.removeEventListener("scroll",n,!0),window.removeEventListener("resize",n)}},[e]),y.jsxs("div",{ref:o,className:"flex justify-end",children:[y.jsx("button",{type:"button","aria-label":"Row actions","aria-expanded":e!==null,onClick:n=>{const a=n.currentTarget.getBoundingClientRect();r(e?null:{top:a.bottom+4,right:window.innerWidth-a.right})},className:"rounded-md p-1 text-gray-500 hover:bg-gray-100 hover:text-gray-900",children:y.jsxs("svg",{"aria-hidden":"true",viewBox:"0 0 20 20",className:"h-5 w-5 fill-current",children:[y.jsx("circle",{cx:"4.5",cy:"10",r:"1.5"}),y.jsx("circle",{cx:"10",cy:"10",r:"1.5"}),y.jsx("circle",{cx:"15.5",cy:"10",r:"1.5"})]})}),e&&y.jsx("div",{style:{top:e.top,right:e.right},className:"fixed z-20 flex min-w-40 flex-col rounded-lg border border-gray-200 bg-white py-1 shadow-lg",children:t.map(n=>y.jsx(G.Link,{href:n.href,className:"px-3 py-2 text-sm whitespace-nowrap text-gray-700 hover:bg-gray-50 hover:text-gray-900",children:n.label},n.label))})]})};function fe(t){"@babel/helpers - typeof";return fe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fe(t)}function mr(t,e){if(fe(t)!="object"||!t)return t;var r;if(typeof Symbol<"u"&&(r=t[Symbol.toPrimitive])!==void 0){var o=r.call(t,e);if(fe(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function It(t){var e=mr(t,"string");return fe(e)=="symbol"?e:e+""}function be(t,e,r){return(e=It(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Mt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,o)}return r}function M(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Mt(Object(r),!0).forEach(function(o){be(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Mt(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}function gr(t){if(Array.isArray(t))return t}function br(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var o,n,a,s,u=[],i=!0,l=!1;try{if(a=(r=r.call(t)).next,e===0){if(Object(r)!==r)return;i=!1}else for(;!(i=(o=a.call(r)).done)&&(u.push(o.value),u.length!==e);i=!0);}catch(c){l=!0,n=c}finally{try{if(!i&&r.return!=null&&(s=r.return(),Object(s)!==s))return}finally{if(l)throw n}}return u}}function Je(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,o=Array(e);r<e;r++)o[r]=t[r];return o}function Pt(t,e){if(t){if(typeof t=="string")return Je(t,e);var r={}.toString.call(t).slice(8,-1);return r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set"?Array.from(t):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Je(t,e):void 0}}function yr(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ne(t,e){return gr(t)||br(t,e)||Pt(t,e)||yr()}function Sr(t,e){if(t==null)return{};var r={};for(var o in t)if({}.hasOwnProperty.call(t,o)){if(e.indexOf(o)!==-1)continue;r[o]=t[o]}return r}function re(t,e){if(t==null)return{};var r,o,n=Sr(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(o=0;o<a.length;o++)r=a[o],e.indexOf(r)===-1&&{}.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}var xr=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function wr(t){var e=t.defaultInputValue,r=e===void 0?"":e,o=t.defaultMenuIsOpen,n=o===void 0?!1:o,a=t.defaultValue,s=a===void 0?null:a,u=t.inputValue,i=t.menuIsOpen,l=t.onChange,c=t.onInputChange,d=t.onMenuClose,g=t.onMenuOpen,b=t.value,v=re(t,xr),m=
|
|
3
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Qe(t){return Vr(t)||Lr(t)||Pt(t)||Tr()}function Dr(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}function Fr(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),t.nonce!==void 0&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}var Ar=(function(){function t(r){var o=this;this._insertTag=function(n){var a;o.tags.length===0?o.insertionPoint?a=o.insertionPoint.nextSibling:o.prepend?a=o.container.firstChild:a=o.before:a=o.tags[o.tags.length-1].nextSibling,o.container.insertBefore(n,a),o.tags.push(n)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(o){o.forEach(this._insertTag)},e.insert=function(o){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Fr(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var a=Dr(n);try{a.insertRule(o,a.cssRules.length)}catch{}}else n.appendChild(document.createTextNode(o));this.ctr++},e.flush=function(){this.tags.forEach(function(o){var n;return(n=o.parentNode)==null?void 0:n.removeChild(o)}),this.tags=[],this.ctr=0},t})(),U="-ms-",Pe="-moz-",T="-webkit-",Lt="comm",et="rule",tt="decl",kr="@import",Tt="@keyframes",Nr="@layer",_r=Math.abs,Ee=String.fromCharCode,$r=Object.assign;function Hr(t,e){return j(t,0)^45?(((e<<2^j(t,0))<<2^j(t,1))<<2^j(t,2))<<2^j(t,3):0}function Dt(t){return t.trim()}function Rr(t,e){return(t=e.exec(t))?t[0]:t}function D(t,e,r){return t.replace(e,r)}function nt(t,e){return t.indexOf(e)}function j(t,e){return t.charCodeAt(e)|0}function ye(t,e,r){return t.slice(e,r)}function Z(t){return t.length}function rt(t){return t.length}function Ve(t,e){return e.push(t),t}function jr(t,e){return t.map(e).join("")}var Le=1,he=1,Ft=0,z=0,N=0,ve="";function Te(t,e,r,o,n,a,s){return{value:t,root:e,parent:r,type:o,props:n,children:a,line:Le,column:he,length:s,return:""}}function Se(t,e){return $r(Te("",null,null,"",null,null,0),t,{length:-t.length},e)}function Ur(){return N}function Br(){return N=z>0?j(ve,--z):0,he--,N===10&&(he=1,Le--),N}function q(){return N=z<Ft?j(ve,z++):0,he++,N===10&&(he=1,Le++),N}function Q(){return j(ve,z)}function De(){return z}function xe(t,e){return ye(ve,t,e)}function we(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function At(t){return Le=he=1,Ft=Z(ve=t),z=0,[]}function kt(t){return ve="",t}function Fe(t){return Dt(xe(z-1,ot(t===91?t+2:t===40?t+1:t)))}function zr(t){for(;(N=Q())&&N<33;)q();return we(t)>2||we(N)>3?"":" "}function Wr(t,e){for(;--e&&q()&&!(N<48||N>102||N>57&&N<65||N>70&&N<97););return xe(t,De()+(e<6&&Q()==32&&q()==32))}function ot(t){for(;q();)switch(N){case t:return z;case 34:case 39:t!==34&&t!==39&&ot(N);break;case 40:t===41&&ot(t);break;case 92:q();break}return z}function Gr(t,e){for(;q()&&t+N!==57;)if(t+N===84&&Q()===47)break;return"/*"+xe(e,z-1)+"*"+Ee(t===47?t:q())}function qr(t){for(;!we(Q());)q();return xe(t,z)}function Yr(t){return kt(Ae("",null,null,null,[""],t=At(t),0,[0],t))}function Ae(t,e,r,o,n,a,s,u,i){for(var l=0,c=0,d=s,g=0,b=0,v=0,m=1,p=1,h=1,x=0,S="",E=n,f=a,O=o,w=S;p;)switch(v=x,x=q()){case 40:if(v!=108&&j(w,d-1)==58){nt(w+=D(Fe(x),"&","&\f"),"&\f")!=-1&&(h=-1);break}case 34:case 39:case 91:w+=Fe(x);break;case 9:case 10:case 13:case 32:w+=zr(v);break;case 92:w+=Wr(De()-1,7);continue;case 47:switch(Q()){case 42:case 47:Ve(Kr(Gr(q(),De()),e,r),i);break;default:w+="/"}break;case 123*m:u[l++]=Z(w)*h;case 125*m:case 59:case 0:switch(x){case 0:case 125:p=0;case 59+c:h==-1&&(w=D(w,/\f/g,"")),b>0&&Z(w)-d&&Ve(b>32?_t(w+";",o,r,d-1):_t(D(w," ","")+";",o,r,d-2),i);break;case 59:w+=";";default:if(Ve(O=Nt(w,e,r,l,c,n,u,S,E=[],f=[],d),a),x===123)if(c===0)Ae(w,e,O,O,E,a,d,u,f);else switch(g===99&&j(w,3)===110?100:g){case 100:case 108:case 109:case 115:Ae(t,O,O,o&&Ve(Nt(t,O,O,0,0,n,u,S,n,E=[],d),f),n,f,d,u,o?E:f);break;default:Ae(w,O,O,O,[""],f,0,u,f)}}l=c=b=0,m=h=1,S=w="",d=s;break;case 58:d=1+Z(w),b=v;default:if(m<1){if(x==123)--m;else if(x==125&&m++==0&&Br()==125)continue}switch(w+=Ee(x),x*m){case 38:h=c>0?1:(w+="\f",-1);break;case 44:u[l++]=(Z(w)-1)*h,h=1;break;case 64:Q()===45&&(w+=Fe(q())),g=Q(),c=d=Z(S=w+=qr(De())),x++;break;case 45:v===45&&Z(w)==2&&(m=0)}}return a}function Nt(t,e,r,o,n,a,s,u,i,l,c){for(var d=n-1,g=n===0?a:[""],b=rt(g),v=0,m=0,p=0;v<o;++v)for(var h=0,x=ye(t,d+1,d=_r(m=s[v])),S=t;h<b;++h)(S=Dt(m>0?g[h]+" "+x:D(x,/&\f/g,g[h])))&&(i[p++]=S);return Te(t,e,r,n===0?et:u,i,l,c)}function Kr(t,e,r){return Te(t,e,r,Lt,Ee(Ur()),ye(t,2,-2),0)}function _t(t,e,r,o){return Te(t,e,r,tt,ye(t,0,o),ye(t,o+1,-1),o)}function me(t,e){for(var r="",o=rt(t),n=0;n<o;n++)r+=e(t[n],n,t,e)||"";return r}function Xr(t,e,r,o){switch(t.type){case Nr:if(t.children.length)break;case kr:case tt:return t.return=t.return||t.value;case Lt:return"";case Tt:return t.return=t.value+"{"+me(t.children,o)+"}";case et:t.value=t.props.join(",")}return Z(r=me(t.children,o))?t.return=t.value+"{"+r+"}":""}function Jr(t){var e=rt(t);return function(r,o,n,a){for(var s="",u=0;u<e;u++)s+=t[u](r,o,n,a)||"";return s}}function Zr(t){return function(e){e.root||(e=e.return)&&t(e)}}function Qr(t){var e=Object.create(null);return function(r){return e[r]===void 0&&(e[r]=t(r)),e[r]}}var eo=function(e,r,o){for(var n=0,a=0;n=a,a=Q(),n===38&&a===12&&(r[o]=1),!we(a);)q();return xe(e,z)},to=function(e,r){var o=-1,n=44;do switch(we(n)){case 0:n===38&&Q()===12&&(r[o]=1),e[o]+=eo(z-1,r,o);break;case 2:e[o]+=Fe(n);break;case 4:if(n===44){e[++o]=Q()===58?"&\f":"",r[o]=e[o].length;break}default:e[o]+=Ee(n)}while(n=q());return e},no=function(e,r){return kt(to(At(e),r))},$t=new WeakMap,ro=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var r=e.value,o=e.parent,n=e.column===o.column&&e.line===o.line;o.type!=="rule";)if(o=o.parent,!o)return;if(!(e.props.length===1&&r.charCodeAt(0)!==58&&!$t.get(o))&&!n){$t.set(e,!0);for(var a=[],s=no(r,a),u=o.props,i=0,l=0;i<s.length;i++)for(var c=0;c<u.length;c++,l++)e.props[l]=a[i]?s[i].replace(/&\f/g,u[c]):u[c]+" "+s[i]}}},oo=function(e){if(e.type==="decl"){var r=e.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(e.return="",e.value="")}};function Ht(t,e){switch(Hr(t,e)){case 5103:return T+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return T+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return T+t+Pe+t+U+t+t;case 6828:case 4268:return T+t+U+t+t;case 6165:return T+t+U+"flex-"+t+t;case 5187:return T+t+D(t,/(\w+).+(:[^]+)/,T+"box-$1$2"+U+"flex-$1$2")+t;case 5443:return T+t+U+"flex-item-"+D(t,/flex-|-self/,"")+t;case 4675:return T+t+U+"flex-line-pack"+D(t,/align-content|flex-|-self/,"")+t;case 5548:return T+t+U+D(t,"shrink","negative")+t;case 5292:return T+t+U+D(t,"basis","preferred-size")+t;case 6060:return T+"box-"+D(t,"-grow","")+T+t+U+D(t,"grow","positive")+t;case 4554:return T+D(t,/([^-])(transform)/g,"$1"+T+"$2")+t;case 6187:return D(D(D(t,/(zoom-|grab)/,T+"$1"),/(image-set)/,T+"$1"),t,"")+t;case 5495:case 3959:return D(t,/(image-set\([^]*)/,T+"$1$`$1");case 4968:return D(D(t,/(.+:)(flex-)?(.*)/,T+"box-pack:$3"+U+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+T+t+t;case 4095:case 3583:case 4068:case 2532:return D(t,/(.+)-inline(.+)/,T+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Z(t)-1-e>6)switch(j(t,e+1)){case 109:if(j(t,e+4)!==45)break;case 102:return D(t,/(.+:)(.+)-([^]+)/,"$1"+T+"$2-$3$1"+Pe+(j(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~nt(t,"stretch")?Ht(D(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(j(t,e+1)!==115)break;case 6444:switch(j(t,Z(t)-3-(~nt(t,"!important")&&10))){case 107:return D(t,":",":"+T)+t;case 101:return D(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+T+(j(t,14)===45?"inline-":"")+"box$3$1"+T+"$2$3$1"+U+"$2box$3")+t}break;case 5936:switch(j(t,e+11)){case 114:return T+t+U+D(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return T+t+U+D(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return T+t+U+D(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return T+t+U+t+t}return t}var ao=function(e,r,o,n){if(e.length>-1&&!e.return)switch(e.type){case tt:e.return=Ht(e.value,e.length);break;case Tt:return me([Se(e,{value:D(e.value,"@","@"+T)})],n);case et:if(e.length)return jr(e.props,function(a){switch(Rr(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return me([Se(e,{props:[D(a,/:(read-\w+)/,":"+Pe+"$1")]})],n);case"::placeholder":return me([Se(e,{props:[D(a,/:(plac\w+)/,":"+T+"input-$1")]}),Se(e,{props:[D(a,/:(plac\w+)/,":"+Pe+"$1")]}),Se(e,{props:[D(a,/:(plac\w+)/,U+"input-$1")]})],n)}return""})}},io=[ao],so=function(e){var r=e.key;if(r==="css"){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,function(m){var p=m.getAttribute("data-emotion");p.indexOf(" ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var n=e.stylisPlugins||io,a={},s,u=[];s=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(m){for(var p=m.getAttribute("data-emotion").split(" "),h=1;h<p.length;h++)a[p[h]]=!0;u.push(m)});var i,l=[ro,oo];{var c,d=[Xr,Zr(function(m){c.insert(m)})],g=Jr(l.concat(n,d)),b=function(p){return me(Yr(p),g)};i=function(p,h,x,S){c=x,b(p?p+"{"+h.styles+"}":h.styles),S&&(v.inserted[h.name]=!0)}}var v={key:r,sheet:new Ar({key:r,container:s,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:i};return v.sheet.hydrate(u),v},at={exports:{}},F={};var Rt;function lo(){if(Rt)return F;Rt=1;var t=typeof Symbol=="function"&&Symbol.for,e=t?Symbol.for("react.element"):60103,r=t?Symbol.for("react.portal"):60106,o=t?Symbol.for("react.fragment"):60107,n=t?Symbol.for("react.strict_mode"):60108,a=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,u=t?Symbol.for("react.context"):60110,i=t?Symbol.for("react.async_mode"):60111,l=t?Symbol.for("react.concurrent_mode"):60111,c=t?Symbol.for("react.forward_ref"):60112,d=t?Symbol.for("react.suspense"):60113,g=t?Symbol.for("react.suspense_list"):60120,b=t?Symbol.for("react.memo"):60115,v=t?Symbol.for("react.lazy"):60116,m=t?Symbol.for("react.block"):60121,p=t?Symbol.for("react.fundamental"):60117,h=t?Symbol.for("react.responder"):60118,x=t?Symbol.for("react.scope"):60119;function S(f){if(typeof f=="object"&&f!==null){var O=f.$$typeof;switch(O){case e:switch(f=f.type,f){case i:case l:case o:case a:case n:case d:return f;default:switch(f=f&&f.$$typeof,f){case u:case c:case v:case b:case s:return f;default:return O}}case r:return O}}}function E(f){return S(f)===l}return F.AsyncMode=i,F.ConcurrentMode=l,F.ContextConsumer=u,F.ContextProvider=s,F.Element=e,F.ForwardRef=c,F.Fragment=o,F.Lazy=v,F.Memo=b,F.Portal=r,F.Profiler=a,F.StrictMode=n,F.Suspense=d,F.isAsyncMode=function(f){return E(f)||S(f)===i},F.isConcurrentMode=E,F.isContextConsumer=function(f){return S(f)===u},F.isContextProvider=function(f){return S(f)===s},F.isElement=function(f){return typeof f=="object"&&f!==null&&f.$$typeof===e},F.isForwardRef=function(f){return S(f)===c},F.isFragment=function(f){return S(f)===o},F.isLazy=function(f){return S(f)===v},F.isMemo=function(f){return S(f)===b},F.isPortal=function(f){return S(f)===r},F.isProfiler=function(f){return S(f)===a},F.isStrictMode=function(f){return S(f)===n},F.isSuspense=function(f){return S(f)===d},F.isValidElementType=function(f){return typeof f=="string"||typeof f=="function"||f===o||f===l||f===a||f===n||f===d||f===g||typeof f=="object"&&f!==null&&(f.$$typeof===v||f.$$typeof===b||f.$$typeof===s||f.$$typeof===u||f.$$typeof===c||f.$$typeof===p||f.$$typeof===h||f.$$typeof===x||f.$$typeof===m)},F.typeOf=S,F}var jt;function uo(){return jt||(jt=1,at.exports=lo()),at.exports}var it,Ut;function co(){if(Ut)return it;Ut=1;var t=uo(),e={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},n={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};a[t.ForwardRef]=o,a[t.Memo]=n;function s(v){return t.isMemo(v)?n:a[v.$$typeof]||e}var u=Object.defineProperty,i=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,g=Object.prototype;function b(v,m,p){if(typeof m!="string"){if(g){var h=d(m);h&&h!==g&&b(v,h,p)}var x=i(m);l&&(x=x.concat(l(m)));for(var S=s(v),E=s(m),f=0;f<x.length;++f){var O=x[f];if(!r[O]&&!(p&&p[O])&&!(E&&E[O])&&!(S&&S[O])){var w=c(m,O);try{u(v,O,w)}catch{}}}}return v}return it=b,it}co();var fo=!0;function po(t,e,r){var o="";return r.split(" ").forEach(function(n){t[n]!==void 0?e.push(t[n]+";"):n&&(o+=n+" ")}),o}var Bt=function(e,r,o){var n=e.key+"-"+r.name;(o===!1||fo===!1)&&e.registered[n]===void 0&&(e.registered[n]=r.styles)},ho=function(e,r,o){Bt(e,r,o);var n=e.key+"-"+r.name;if(e.inserted[r.name]===void 0){var a=r;do e.insert(r===a?"."+n:"",a,e.sheet,!0),a=a.next;while(a!==void 0)}};function vo(t){for(var e=0,r,o=0,n=t.length;n>=4;++o,n-=4)r=t.charCodeAt(o)&255|(t.charCodeAt(++o)&255)<<8|(t.charCodeAt(++o)&255)<<16|(t.charCodeAt(++o)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,e=(r&65535)*1540483477+((r>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(n){case 3:e^=(t.charCodeAt(o+2)&255)<<16;case 2:e^=(t.charCodeAt(o+1)&255)<<8;case 1:e^=t.charCodeAt(o)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var mo={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},go=/[A-Z]|^ms/g,bo=/_EMO_([^_]+?)_([^]*?)_EMO_/g,zt=function(e){return e.charCodeAt(1)===45},Wt=function(e){return e!=null&&typeof e!="boolean"},st=Qr(function(t){return zt(t)?t:t.replace(go,"-$&").toLowerCase()}),Gt=function(e,r){switch(e){case"animation":case"animationName":if(typeof r=="string")return r.replace(bo,function(o,n,a){return ee={name:n,styles:a,next:ee},n})}return mo[e]!==1&&!zt(e)&&typeof r=="number"&&r!==0?r+"px":r};function Oe(t,e,r){if(r==null)return"";var o=r;if(o.__emotion_styles!==void 0)return o;switch(typeof r){case"boolean":return"";case"object":{var n=r;if(n.anim===1)return ee={name:n.name,styles:n.styles,next:ee},n.name;var a=r;if(a.styles!==void 0){var s=a.next;if(s!==void 0)for(;s!==void 0;)ee={name:s.name,styles:s.styles,next:ee},s=s.next;var u=a.styles+";";return u}return yo(t,e,r)}case"function":{if(t!==void 0){var i=ee,l=r(t);return ee=i,Oe(t,e,l)}break}}var c=r;return c}function yo(t,e,r){var o="";if(Array.isArray(r))for(var n=0;n<r.length;n++)o+=Oe(t,e,r[n])+";";else for(var a in r){var s=r[a];if(typeof s!="object"){var u=s;Wt(u)&&(o+=st(a)+":"+Gt(a,u)+";")}else if(Array.isArray(s)&&typeof s[0]=="string"&&e==null)for(var i=0;i<s.length;i++)Wt(s[i])&&(o+=st(a)+":"+Gt(a,s[i])+";");else{var l=Oe(t,e,s);switch(a){case"animation":case"animationName":{o+=st(a)+":"+l+";";break}default:o+=a+"{"+l+"}"}}}return o}var qt=/label:\s*([^\s;{]+)\s*(;|$)/g,ee;function Yt(t,e,r){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var o=!0,n="";ee=void 0;var a=t[0];if(a==null||a.raw===void 0)o=!1,n+=Oe(r,e,a);else{var s=a;n+=s[0]}for(var u=1;u<t.length;u++)if(n+=Oe(r,e,t[u]),o){var i=a;n+=i[u]}qt.lastIndex=0;for(var l="",c;(c=qt.exec(n))!==null;)l+="-"+c[1];var d=vo(n)+l;return{name:d,styles:n,next:ee}}var So=function(e){return e()},xo=L.useInsertionEffect?L.useInsertionEffect:!1,wo=xo||So,Kt=L.createContext(typeof HTMLElement<"u"?so({key:"css"}):null);Kt.Provider;var Oo=function(e){return C.forwardRef(function(r,o){var n=C.useContext(Kt);return e(r,n,o)})},Co=L.createContext({}),lt={}.hasOwnProperty,ut="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Io=function(e,r){var o={};for(var n in r)lt.call(r,n)&&(o[n]=r[n]);return o[ut]=e,o},Mo=function(e){var r=e.cache,o=e.serialized,n=e.isStringTag;return Bt(r,o,n),wo(function(){return ho(r,o,n)}),null},Po=Oo(function(t,e,r){var o=t.css;typeof o=="string"&&e.registered[o]!==void 0&&(o=e.registered[o]);var n=t[ut],a=[o],s="";typeof t.className=="string"?s=po(e.registered,a,t.className):t.className!=null&&(s=t.className+" ");var u=Yt(a,void 0,L.useContext(Co));s+=e.key+"-"+u.name;var i={};for(var l in t)lt.call(t,l)&&l!=="css"&&l!==ut&&(i[l]=t[l]);return i.className=s,r&&(i.ref=r),L.createElement(L.Fragment,null,L.createElement(Mo,{cache:e,serialized:u,isStringTag:typeof n=="string"}),L.createElement(n,i))}),Eo=Po,I=function(e,r){var o=arguments;if(r==null||!lt.call(r,"css"))return L.createElement.apply(void 0,o);var n=o.length,a=new Array(n);a[0]=Eo,a[1]=Io(e,r);for(var s=2;s<n;s++)a[s]=o[s];return L.createElement.apply(null,a)};(function(t){var e;e||(e=t.JSX||(t.JSX={}))})(I||(I={}));function ct(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return Yt(e)}function Vo(){var t=ct.apply(void 0,arguments),e="animation-"+t.name;return{name:e,styles:"@keyframes "+e+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}function Lo(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}const To=Math.min,Do=Math.max,ke=Math.round,Ne=Math.floor,dt=t=>({x:t,y:t});function Fo(t){const{x:e,y:r,width:o,height:n}=t;return{width:o,height:n,top:r,left:e,right:e+o,bottom:r+n,x:e,y:r}}function _e(){return typeof window<"u"}function Xt(t){return Zt(t)?(t.nodeName||"").toLowerCase():"#document"}function pe(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Jt(t){var e;return(e=(Zt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Zt(t){return _e()?t instanceof Node||t instanceof pe(t).Node:!1}function Ao(t){return _e()?t instanceof Element||t instanceof pe(t).Element:!1}function ft(t){return _e()?t instanceof HTMLElement||t instanceof pe(t).HTMLElement:!1}function Qt(t){return!_e()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof pe(t).ShadowRoot}function en(t){const{overflow:e,overflowX:r,overflowY:o,display:n}=tn(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+r)&&n!=="inline"&&n!=="contents"}function ko(t){return/^(html|body|#document)$/.test(Xt(t))}function tn(t){return pe(t).getComputedStyle(t)}function No(t){if(Xt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Qt(t)&&t.host||Jt(t);return Qt(e)?e.host:e}function nn(t){const e=No(t);return ko(e)?(t.ownerDocument||t).body:ft(e)&&en(e)?e:nn(e)}function $e(t,e,r){var o;e===void 0&&(e=[]),r===void 0&&(r=!0);const n=nn(t),a=n===((o=t.ownerDocument)==null?void 0:o.body),s=pe(n);if(a){const u=_o(s);return e.concat(s,s.visualViewport||[],en(n)?n:[],u&&r?$e(u):[])}else return e.concat(n,$e(n,[],r))}function _o(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function $o(t){const e=tn(t);let r=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const n=ft(t),a=n?t.offsetWidth:r,s=n?t.offsetHeight:o,u=ke(r)!==a||ke(o)!==s;return u&&(r=a,o=s),{width:r,height:o,$:u}}function pt(t){return Ao(t)?t:t.contextElement}function Ho(t){const e=pt(t);if(!ft(e))return dt(1);const r=e.getBoundingClientRect(),{width:o,height:n,$:a}=$o(e);let s=(a?ke(r.width):r.width)/o,u=(a?ke(r.height):r.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!u||!Number.isFinite(u))&&(u=1),{x:s,y:u}}function rn(t,e,r,o){e===void 0&&(e=!1);const n=t.getBoundingClientRect();pt(t);let a=dt(1);e&&(a=Ho(t));const s=dt(0);let u=(n.left+s.x)/a.x,i=(n.top+s.y)/a.y,l=n.width/a.x,c=n.height/a.y;return Fo({width:l,height:c,x:u,y:i})}function on(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Ro(t,e,r){let o=null,n;const a=Jt(t);function s(){var c;clearTimeout(n),(c=o)==null||c.disconnect(),o=null}function u(c,d){c===void 0&&(c=!1),d===void 0&&(d=1),s();const g=t.getBoundingClientRect(),{left:b,top:v,width:m,height:p}=g;if(c||e(),!m||!p)return;const h=Ne(v),x=Ne(a.clientWidth-(b+m)),S=Ne(a.clientHeight-(v+p)),E=Ne(b),O={rootMargin:-h+"px "+-x+"px "+-S+"px "+-E+"px",threshold:Do(0,To(1,d))||1};let w=!0;function V(A){const _=A[0].intersectionRatio;if(!on(g,t.getBoundingClientRect()))return u();if(_!==d){if(!w)return u();_?u(!1,_):n=setTimeout(()=>{u(!1,1e-7)},1e3)}w=!1}try{o=new IntersectionObserver(V,{...O,root:a.ownerDocument})}catch{o=new IntersectionObserver(V,O)}o.observe(t)}const i=pe(t),l=()=>u(r);return i.addEventListener("resize",l),u(!0),()=>{i.removeEventListener("resize",l),s()}}function jo(t,e,r,o){o===void 0&&(o={});const{ancestorScroll:n=!0,ancestorResize:a=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:u=typeof IntersectionObserver=="function",animationFrame:i=!1}=o,l=pt(t),c=n||a?[...l?$e(l):[],...e?$e(e):[]]:[];c.forEach(h=>{n&&h.addEventListener("scroll",r),a&&h.addEventListener("resize",r)});const d=l&&u?Ro(l,r,a):null;let g=-1,b=null;s&&(b=new ResizeObserver(h=>{let[x]=h;x&&x.target===l&&b&&e&&(b.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var S;(S=b)==null||S.observe(e)})),r()}),l&&!i&&b.observe(l),e&&b.observe(e));let v,m=i?rn(t):null;i&&p();function p(){const h=rn(t);m&&!on(m,h)&&r(),m=h,v=requestAnimationFrame(p)}return r(),()=>{var h;c.forEach(x=>{n&&x.removeEventListener("scroll",r),a&&x.removeEventListener("resize",r)}),d?.(),(h=b)==null||h.disconnect(),b=null,i&&cancelAnimationFrame(v)}}var ht=C.useLayoutEffect,Uo=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],He=function(){};function Bo(t,e){return e?e[0]==="-"?t+e:t+"__"+e:t}function zo(t,e){for(var r=arguments.length,o=new Array(r>2?r-2:0),n=2;n<r;n++)o[n-2]=arguments[n];var a=[].concat(o);if(e&&t)for(var s in e)e.hasOwnProperty(s)&&e[s]&&a.push("".concat(Bo(t,s)));return a.filter(function(u){return u}).map(function(u){return String(u).trim()}).join(" ")}var an=function(e){return Qo(e)?e.filter(Boolean):fe(e)==="object"&&e!==null?[e]:[]},sn=function(e){e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme;var r=re(e,Uo);return M({},r)},k=function(e,r,o){var n=e.cx,a=e.getStyles,s=e.getClassNames,u=e.className;return{css:a(r,e),className:n(o??{},s(r,e),u)}};function Re(t){return[document.documentElement,document.body,window].indexOf(t)>-1}function Wo(t){return Re(t)?window.innerHeight:t.clientHeight}function ln(t){return Re(t)?window.pageYOffset:t.scrollTop}function je(t,e){if(Re(t)){window.scrollTo(0,e);return}t.scrollTop=e}function Go(t){var e=getComputedStyle(t),r=e.position==="absolute",o=/(auto|scroll)/;if(e.position==="fixed")return document.documentElement;for(var n=t;n=n.parentElement;)if(e=getComputedStyle(n),!(r&&e.position==="static")&&o.test(e.overflow+e.overflowY+e.overflowX))return n;return document.documentElement}function qo(t,e,r,o){return r*((t=t/o-1)*t*t+1)+e}function Ue(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:He,n=ln(t),a=e-n,s=10,u=0;function i(){u+=s;var l=qo(u,n,a,r);je(t,l),u<r?window.requestAnimationFrame(i):o(t)}i()}function un(t,e){var r=t.getBoundingClientRect(),o=e.getBoundingClientRect(),n=e.offsetHeight/3;o.bottom+n>r.bottom?je(t,Math.min(e.offsetTop+e.clientHeight-t.offsetHeight+n,t.scrollHeight)):o.top-n<r.top&&je(t,Math.max(e.offsetTop-n,0))}function Yo(t){var e=t.getBoundingClientRect();return{bottom:e.bottom,height:e.height,left:e.left,right:e.right,top:e.top,width:e.width}}function cn(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function Ko(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var dn=!1,Xo={get passive(){return dn=!0}},Be=typeof window<"u"?window:{};Be.addEventListener&&Be.removeEventListener&&(Be.addEventListener("p",He,Xo),Be.removeEventListener("p",He,!1));var Jo=dn;function Zo(t){return t!=null}function Qo(t){return Array.isArray(t)}function ze(t,e,r){return t?e:r}function vs(t){return t}function ms(t){return t}var ea=function(e){for(var r=arguments.length,o=new Array(r>1?r-1:0),n=1;n<r;n++)o[n-1]=arguments[n];var a=Object.entries(e).filter(function(s){var u=ne(s,1),i=u[0];return!o.includes(i)});return a.reduce(function(s,u){var i=ne(u,2),l=i[0],c=i[1];return s[l]=c,s},{})},ta=["children","innerProps"],na=["children","innerProps"];function ra(t){var e=t.maxHeight,r=t.menuEl,o=t.minHeight,n=t.placement,a=t.shouldScroll,s=t.isFixedPosition,u=t.controlHeight,i=Go(r),l={placement:"bottom",maxHeight:e};if(!r||!r.offsetParent)return l;var c=i.getBoundingClientRect(),d=c.height,g=r.getBoundingClientRect(),b=g.bottom,v=g.height,m=g.top,p=r.offsetParent.getBoundingClientRect(),h=p.top,x=s?window.innerHeight:Wo(i),S=ln(i),E=parseInt(getComputedStyle(r).marginBottom,10),f=parseInt(getComputedStyle(r).marginTop,10),O=h-f,w=x-m,V=O+S,A=d-S-m,_=b-x+S+E,W=S+m-f,B=160;switch(n){case"auto":case"bottom":if(w>=v)return{placement:"bottom",maxHeight:e};if(A>=v&&!s)return a&&Ue(i,_,B),{placement:"bottom",maxHeight:e};if(!s&&A>=o||s&&w>=o){a&&Ue(i,_,B);var oe=s?w-E:A-E;return{placement:"bottom",maxHeight:oe}}if(n==="auto"||s){var ae=e,R=s?O:V;return R>=o&&(ae=Math.min(R-E-u,e)),{placement:"top",maxHeight:ae}}if(n==="bottom")return a&&je(i,_),{placement:"bottom",maxHeight:e};break;case"top":if(O>=v)return{placement:"top",maxHeight:e};if(V>=v&&!s)return a&&Ue(i,W,B),{placement:"top",maxHeight:e};if(!s&&V>=o||s&&O>=o){var $=e;return(!s&&V>=o||s&&O>=o)&&($=s?O-f:V-f),a&&Ue(i,W,B),{placement:"top",maxHeight:$}}return{placement:"bottom",maxHeight:e};default:throw new Error('Invalid placement provided "'.concat(n,'".'))}return l}function oa(t){var e={bottom:"top",top:"bottom"};return t?e[t]:"bottom"}var fn=function(e){return e==="auto"?"bottom":e},aa=function(e,r){var o,n=e.placement,a=e.theme,s=a.borderRadius,u=a.spacing,i=a.colors;return M((o={label:"menu"},be(o,oa(n),"100%"),be(o,"position","absolute"),be(o,"width","100%"),be(o,"zIndex",1),o),r?{}:{backgroundColor:i.neutral0,borderRadius:s,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:u.menuGutter,marginTop:u.menuGutter})},pn=C.createContext(null),ia=function(e){var r=e.children,o=e.minMenuHeight,n=e.maxMenuHeight,a=e.menuPlacement,s=e.menuPosition,u=e.menuShouldScrollIntoView,i=e.theme,l=C.useContext(pn)||{},c=l.setPortalPlacement,d=C.useRef(null),g=C.useState(n),b=ne(g,2),v=b[0],m=b[1],p=C.useState(null),h=ne(p,2),x=h[0],S=h[1],E=i.spacing.controlHeight;return ht(function(){var f=d.current;if(f){var O=s==="fixed",w=u&&!O,V=ra({maxHeight:n,menuEl:f,minHeight:o,placement:a,shouldScroll:w,isFixedPosition:O,controlHeight:E});m(V.maxHeight),S(V.placement),c?.(V.placement)}},[n,a,s,u,o,c,E]),r({ref:d,placerProps:M(M({},e),{},{placement:x||fn(a),maxHeight:v})})},sa=function(e){var r=e.children,o=e.innerRef,n=e.innerProps;return I("div",P({},k(e,"menu",{menu:!0}),{ref:o},n),r)},la=sa,ua=function(e,r){var o=e.maxHeight,n=e.theme.spacing.baseUnit;return M({maxHeight:o,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},r?{}:{paddingBottom:n,paddingTop:n})},ca=function(e){var r=e.children,o=e.innerProps,n=e.innerRef,a=e.isMulti;return I("div",P({},k(e,"menuList",{"menu-list":!0,"menu-list--is-multi":a}),{ref:n},o),r)},hn=function(e,r){var o=e.theme,n=o.spacing.baseUnit,a=o.colors;return M({textAlign:"center"},r?{}:{color:a.neutral40,padding:"".concat(n*2,"px ").concat(n*3,"px")})},da=hn,fa=hn,pa=function(e){var r=e.children,o=r===void 0?"No options":r,n=e.innerProps,a=re(e,ta);return I("div",P({},k(M(M({},a),{},{children:o,innerProps:n}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),n),o)},ha=function(e){var r=e.children,o=r===void 0?"Loading...":r,n=e.innerProps,a=re(e,na);return I("div",P({},k(M(M({},a),{},{children:o,innerProps:n}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),n),o)},va=function(e){var r=e.rect,o=e.offset,n=e.position;return{left:r.left,position:n,top:o,width:r.width,zIndex:1}},ma=function(e){var r=e.appendTo,o=e.children,n=e.controlElement,a=e.innerProps,s=e.menuPlacement,u=e.menuPosition,i=C.useRef(null),l=C.useRef(null),c=C.useState(fn(s)),d=ne(c,2),g=d[0],b=d[1],v=C.useMemo(function(){return{setPortalPlacement:b}},[]),m=C.useState(null),p=ne(m,2),h=p[0],x=p[1],S=C.useCallback(function(){if(n){var w=Yo(n),V=u==="fixed"?0:window.pageYOffset,A=w[g]+V;(A!==h?.offset||w.left!==h?.rect.left||w.width!==h?.rect.width)&&x({offset:A,rect:w})}},[n,u,g,h?.offset,h?.rect.left,h?.rect.width]);ht(function(){S()},[S]);var E=C.useCallback(function(){typeof l.current=="function"&&(l.current(),l.current=null),n&&i.current&&(l.current=jo(n,i.current,S,{elementResize:"ResizeObserver"in window}))},[n,S]);ht(function(){E()},[E]);var f=C.useCallback(function(w){i.current=w,E()},[E]);if(!r&&u!=="fixed"||!h)return null;var O=I("div",P({ref:f},k(M(M({},e),{},{offset:h.offset,position:u,rect:h.rect}),"menuPortal",{"menu-portal":!0}),a),o);return I(pn.Provider,{value:v},r?Yn.createPortal(O,r):O)},ga=function(e){var r=e.isDisabled,o=e.isRtl;return{label:"container",direction:o?"rtl":void 0,pointerEvents:r?"none":void 0,position:"relative"}},ba=function(e){var r=e.children,o=e.innerProps,n=e.isDisabled,a=e.isRtl;return I("div",P({},k(e,"container",{"--is-disabled":n,"--is-rtl":a}),o),r)},ya=function(e,r){var o=e.theme.spacing,n=e.isMulti,a=e.hasValue,s=e.selectProps.controlShouldRenderValue;return M({alignItems:"center",display:n&&a&&s?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},r?{}:{padding:"".concat(o.baseUnit/2,"px ").concat(o.baseUnit*2,"px")})},Sa=function(e){var r=e.children,o=e.innerProps,n=e.isMulti,a=e.hasValue;return I("div",P({},k(e,"valueContainer",{"value-container":!0,"value-container--is-multi":n,"value-container--has-value":a}),o),r)},xa=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},wa=function(e){var r=e.children,o=e.innerProps;return I("div",P({},k(e,"indicatorsContainer",{indicators:!0}),o),r)},vn,Oa=["size"],Ca=["innerProps","isRtl","size"],Ia={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},mn=function(e){var r=e.size,o=re(e,Oa);return I("svg",P({height:r,width:r,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Ia},o))},vt=function(e){return I(mn,P({size:20},e),I("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},gn=function(e){return I(mn,P({size:20},e),I("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},bn=function(e,r){var o=e.isFocused,n=e.theme,a=n.spacing.baseUnit,s=n.colors;return M({label:"indicatorContainer",display:"flex",transition:"color 150ms"},r?{}:{color:o?s.neutral60:s.neutral20,padding:a*2,":hover":{color:o?s.neutral80:s.neutral40}})},Ma=bn,Pa=function(e){var r=e.children,o=e.innerProps;return I("div",P({},k(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),o),r||I(gn,null))},Ea=bn,Va=function(e){var r=e.children,o=e.innerProps;return I("div",P({},k(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),o),r||I(vt,null))},La=function(e,r){var o=e.isDisabled,n=e.theme,a=n.spacing.baseUnit,s=n.colors;return M({label:"indicatorSeparator",alignSelf:"stretch",width:1},r?{}:{backgroundColor:o?s.neutral10:s.neutral20,marginBottom:a*2,marginTop:a*2})},Ta=function(e){var r=e.innerProps;return I("span",P({},r,k(e,"indicatorSeparator",{"indicator-separator":!0})))},Da=Vo(vn||(vn=Lo([`
|
|
1
|
+
var awaitioComponent=(function(Xe,y,W,I,Yn){"use strict";function Kn(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,o.get?o:{enumerable:!0,get:()=>t[r]})}}return e.default=t,Object.freeze(e)}const L=Kn(I),Xn=t=>Object.fromEntries(Object.entries(t).map(([e,r])=>[e,{kind:"awaitio-theme-block",name:e,component:r,uiDirectory:null}])),Jn={red:"bg-red-100 text-red-800",orange:"bg-orange-100 text-orange-800",yellow:"bg-yellow-100 text-yellow-800",green:"bg-green-100 text-green-800",blue:"bg-blue-100 text-blue-800",purple:"bg-purple-100 text-purple-800",pink:"bg-pink-100 text-pink-800",gray:"bg-gray-100 text-gray-700"},Zn=({color:t,children:e})=>y.jsx("span",{className:`inline-flex items-center rounded-full px-2 py-0.5 text-xs font-medium ${Jn[t]}`,children:e}),Qn=({variant:t="primary",className:e,type:r="button",...o})=>{const n=t==="primary"?"bg-gray-900 text-white hover:bg-gray-700":"border border-gray-300 bg-white text-gray-900 hover:bg-gray-100";return y.jsx("button",{type:r,className:["rounded-md px-4 py-2 text-sm font-medium transition-colors disabled:cursor-not-allowed disabled:opacity-50",n,e].filter(Boolean).join(" "),...o})},er=({children:t})=>y.jsx("div",{className:"flex flex-wrap gap-2",children:t}),tr=({children:t})=>y.jsx("div",{className:"rounded-lg border border-gray-200 bg-white p-6 shadow-sm",children:t}),nr=({checked:t,onChange:e,text:r,disabled:o,autoFocus:n})=>y.jsxs("label",{className:"flex cursor-pointer items-center gap-2 self-start text-sm text-gray-600",children:[y.jsx("input",{id:W.useFieldId(),type:"checkbox",checked:t,disabled:o,autoFocus:n,onChange:a=>{e(a.target.checked)},className:"size-4 accent-gray-900"}),r]}),rr=({choices:t,mode:e,value:r,onChange:o,disabled:n})=>{const a=W.useFieldId();return y.jsx("div",{role:e==="single"?"radiogroup":"group",id:a,className:"flex flex-col gap-2",children:t.map(s=>{const u=r.includes(s.value);return y.jsxs("label",{className:["flex cursor-pointer items-start gap-3 rounded-md border bg-white px-3 py-2.5 text-sm",u&&"border-gray-900",!u&&"border-gray-300 hover:border-gray-400"].filter(Boolean).join(" "),children:[y.jsx("input",{type:e==="single"?"radio":"checkbox",name:a,checked:u,disabled:n,onChange:()=>{if(e==="single"){o([s.value]);return}o(u?r.filter(i=>i!==s.value):[...r,s.value])},className:"mt-0.5 accent-gray-900"}),y.jsxs("span",{className:"flex flex-col gap-0.5",children:[y.jsx("span",{className:"font-medium",children:s.label}),s.description&&y.jsx("span",{className:"text-gray-500",children:s.description})]})]},s.value)})})},or=({label:t,helpText:e,optional:r,error:o,children:n})=>{const a=I.useId();return y.jsx(W.FieldContext.Provider,{value:a,children:y.jsxs("div",{className:"flex flex-col gap-1",children:[y.jsxs(W.Label,{htmlFor:a,children:[t,r&&y.jsx("span",{className:"ml-1.5 text-xs font-normal text-gray-500",children:"optional"})]}),n,e&&y.jsx(W.Hint,{children:e}),o&&y.jsx("p",{role:"alert",className:"text-xs text-red-600",children:o})]})})},ar=({children:t,description:e,level:r=3})=>r===2?y.jsxs("div",{className:"flex flex-col gap-1 pt-2",children:[y.jsx("h2",{className:"text-lg font-semibold text-gray-900",children:t}),e&&y.jsx("p",{className:"text-sm text-gray-500",children:e})]}):y.jsxs("div",{className:"flex flex-col gap-1",children:[y.jsx("h3",{className:"text-base font-semibold text-gray-900",children:t}),e&&y.jsx("p",{className:"text-sm text-gray-500",children:e})]}),ir=({children:t})=>y.jsx("p",{className:"text-xs text-gray-500",children:t}),sr=({src:t,alt:e,size:r})=>{const o={thumbnail:"max-h-16",small:"max-h-32",medium:"max-h-64",large:"max-h-96"}[r??"large"];return y.jsx("img",{src:t,alt:e,loading:"lazy",className:["max-w-full self-start rounded-md border border-gray-200 object-contain",r?o:""].join(" ")})},Ie={CONTROL_CLASS_NAME:"w-full rounded-md border border-gray-300 px-3 py-2 text-sm shadow-sm focus:border-gray-900 focus:outline-none enabled:bg-white disabled:bg-gray-100 disabled:text-gray-500",SELECT_CLASS_NAME:"w-full appearance-none rounded-md border border-gray-300 py-2 pr-9 pl-3 text-sm shadow-sm focus:border-gray-900 focus:outline-none enabled:bg-white disabled:bg-gray-100 disabled:text-gray-500"},lr=({value:t,onChange:e,type:r="text",...o})=>y.jsx("input",{...o,id:W.useFieldId(),type:r,value:t,onChange:n=>{e(n.target.value)},className:Ie.CONTROL_CLASS_NAME}),ur=({htmlFor:t,children:e})=>y.jsx("label",{htmlFor:t,className:"text-sm font-medium",children:e}),cr=({href:t,children:e,external:r=!1,className:o="text-blue-600 underline-offset-2 hover:text-blue-800 hover:underline"})=>r?y.jsx("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:o,children:e}):y.jsx("a",{href:t,className:o,onClick:n=>{n.metaKey||n.ctrlKey||n.shiftKey||n.button!==0||(n.preventDefault(),W.navigateTo(t))},children:e}),dr=({items:t})=>y.jsx("dl",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-4",children:t.map((e,r)=>y.jsxs("div",{className:"flex min-w-0 flex-col gap-1 rounded-lg border border-gray-200 bg-white px-4 py-3",children:[e.label&&y.jsx("dt",{className:"text-sm text-gray-500",children:e.label}),y.jsx("dd",{className:"text-2xl font-semibold wrap-break-word text-gray-900",children:e.value}),e.description&&y.jsx("dd",{className:"text-xs text-gray-500",children:e.description})]},r))}),Ot=()=>y.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 20 20",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",className:"pointer-events-none absolute top-1/2 right-3 size-4 -translate-y-1/2 text-gray-500",children:y.jsx("path",{d:"M6 8l4 4 4-4"})}),fr=({choices:t,value:e,onChange:r,placeholder:o="Add…",isFull:n=!1,disabled:a,autoFocus:s})=>{const u=t.filter(l=>!e.includes(l.value)),i=t.filter(l=>e.includes(l.value));return y.jsxs("div",{className:"divide-y divide-gray-200 rounded-md border border-gray-300 bg-gray-50 text-sm",children:[y.jsx("div",{className:"p-2",children:y.jsxs("div",{className:"relative",children:[y.jsxs("select",{id:W.useFieldId(),value:"",disabled:a||n||u.length===0,autoFocus:s,onChange:l=>{r([...e,l.target.value])},className:Ie.SELECT_CLASS_NAME,children:[y.jsx("option",{value:"",disabled:!0,children:o}),u.map(l=>y.jsx("option",{value:l.value,children:l.label},l.value))]}),y.jsx(Ot,{})]})}),i.map(l=>y.jsxs("div",{className:["flex items-center justify-between gap-3 py-1.5 pr-3.5 pl-5 last:rounded-b-md",a?"min-h-9 bg-gray-100 text-gray-500":"bg-white text-gray-900"].join(" "),children:[l.label,!a&&y.jsx("button",{type:"button","aria-label":`Remove ${l.label}`,disabled:a,onClick:()=>{r(e.filter(c=>c!==l.value))},className:"flex size-6 shrink-0 items-center justify-center rounded text-gray-400 hover:bg-gray-100 hover:text-gray-900 disabled:cursor-not-allowed disabled:opacity-50",children:y.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 20 20",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",className:"size-3.5",children:y.jsx("path",{d:"M6 6l8 8m0-8-8 8"})})})]},l.value))]})},pr=({choices:t,value:e,onChange:r,placeholder:o="Choose…",disabled:n,autoFocus:a})=>y.jsxs("div",{className:"relative",children:[y.jsxs("select",{id:W.useFieldId(),value:e,disabled:n,autoFocus:a,onChange:s=>{r(s.target.value)},className:Ie.SELECT_CLASS_NAME,children:[y.jsx("option",{value:"",disabled:!0,children:o}),t.map(s=>y.jsx("option",{value:s.value,children:s.label},s.value))]}),y.jsx(Ot,{})]}),hr=({children:t})=>y.jsx("div",{className:"flex flex-col gap-3 text-sm [&>div]:flex [&>div]:flex-col [&>div]:gap-3 leading-6 text-gray-700 [&_a]:text-blue-600 [&_a:hover]:underline [&_code]:rounded [&_code]:bg-gray-100 [&_code]:px-1 [&_code]:py-0.5 [&_code]:text-[13px] [&_h1]:text-lg [&_h1]:font-semibold [&_h1]:text-gray-900 [&_h2]:text-base [&_h2]:font-semibold [&_h2]:text-gray-900 [&_h3]:font-semibold [&_h3]:text-gray-900 [&_li]:my-0.5 [&_ol]:list-decimal [&_ol]:pl-5 [&_pre]:overflow-x-auto [&_pre]:rounded-md [&_pre]:bg-gray-100 [&_pre]:p-3 [&_pre_code]:bg-transparent [&_pre_code]:p-0 [&_strong]:font-semibold [&_strong]:text-gray-900 [&_ul]:list-disc [&_ul]:pl-5",children:t}),vr=({items:t,label:e="Row actions"})=>{const[r,o]=I.useState(null),n=I.useRef(null);return I.useEffect(()=>{if(!r)return;const a=s=>{const u=s.type==="mousedown"&&n.current?.contains(s.target),i=s instanceof KeyboardEvent&&s.key!=="Escape";!u&&!i&&o(null)};return document.addEventListener("mousedown",a),document.addEventListener("keydown",a),window.addEventListener("scroll",a,!0),window.addEventListener("resize",a),()=>{document.removeEventListener("mousedown",a),document.removeEventListener("keydown",a),window.removeEventListener("scroll",a,!0),window.removeEventListener("resize",a)}},[r]),y.jsxs("div",{ref:n,className:"flex justify-end",children:[y.jsx("button",{type:"button","aria-label":e,"aria-expanded":r!==null,onClick:a=>{const s=a.currentTarget.getBoundingClientRect();o(r?null:{top:s.bottom+4,right:window.innerWidth-s.right})},className:"rounded-md p-1 text-gray-500 hover:bg-gray-100 hover:text-gray-900",children:y.jsxs("svg",{"aria-hidden":"true",viewBox:"0 0 20 20",className:"h-5 w-5 fill-current",children:[y.jsx("circle",{cx:"4.5",cy:"10",r:"1.5"}),y.jsx("circle",{cx:"10",cy:"10",r:"1.5"}),y.jsx("circle",{cx:"15.5",cy:"10",r:"1.5"})]})}),r&&y.jsx("div",{style:{top:r.top,right:r.right},className:"fixed z-20 flex min-w-40 flex-col rounded-lg border border-gray-200 bg-white py-1 shadow-lg",children:t.map(a=>{const s="px-3 py-2 text-left text-sm whitespace-nowrap text-gray-700 hover:bg-gray-50 hover:text-gray-900";return"href"in a?y.jsx(W.Link,{href:a.href,className:s,children:a.label},a.label):y.jsx("button",{type:"button",onClick:()=>{o(null),a.onClick()},className:s,children:a.label},a.label)})})]})};function fe(t){"@babel/helpers - typeof";return fe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fe(t)}function mr(t,e){if(fe(t)!="object"||!t)return t;var r;if(typeof Symbol<"u"&&(r=t[Symbol.toPrimitive])!==void 0){var o=r.call(t,e);if(fe(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function It(t){var e=mr(t,"string");return fe(e)=="symbol"?e:e+""}function be(t,e,r){return(e=It(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Mt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,o)}return r}function E(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Mt(Object(r),!0).forEach(function(o){be(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Mt(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}function gr(t){if(Array.isArray(t))return t}function br(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var o,n,a,s,u=[],i=!0,l=!1;try{if(a=(r=r.call(t)).next,e===0){if(Object(r)!==r)return;i=!1}else for(;!(i=(o=a.call(r)).done)&&(u.push(o.value),u.length!==e);i=!0);}catch(c){l=!0,n=c}finally{try{if(!i&&r.return!=null&&(s=r.return(),Object(s)!==s))return}finally{if(l)throw n}}return u}}function Je(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,o=Array(e);r<e;r++)o[r]=t[r];return o}function Pt(t,e){if(t){if(typeof t=="string")return Je(t,e);var r={}.toString.call(t).slice(8,-1);return r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set"?Array.from(t):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Je(t,e):void 0}}function yr(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ne(t,e){return gr(t)||br(t,e)||Pt(t,e)||yr()}function Sr(t,e){if(t==null)return{};var r={};for(var o in t)if({}.hasOwnProperty.call(t,o)){if(e.indexOf(o)!==-1)continue;r[o]=t[o]}return r}function re(t,e){if(t==null)return{};var r,o,n=Sr(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(o=0;o<a.length;o++)r=a[o],e.indexOf(r)===-1&&{}.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}var xr=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function wr(t){var e=t.defaultInputValue,r=e===void 0?"":e,o=t.defaultMenuIsOpen,n=o===void 0?!1:o,a=t.defaultValue,s=a===void 0?null:a,u=t.inputValue,i=t.menuIsOpen,l=t.onChange,c=t.onInputChange,d=t.onMenuClose,g=t.onMenuOpen,b=t.value,v=re(t,xr),m=I.useState(u!==void 0?u:r),f=ne(m,2),h=f[0],w=f[1],S=I.useState(i!==void 0?i:n),P=ne(S,2),p=P[0],O=P[1],C=I.useState(b!==void 0?b:s),x=ne(C,2),k=x[0],A=x[1],z=I.useCallback(function(X,le){typeof l=="function"&&l(X,le),A(X)},[l]),R=I.useCallback(function(X,le){var ue;typeof c=="function"&&(ue=c(X,le)),w(ue!==void 0?ue:X)},[c]),oe=I.useCallback(function(){typeof g=="function"&&g(),O(!0)},[g]),ae=I.useCallback(function(){typeof d=="function"&&d(),O(!1)},[d]),j=u!==void 0?u:h,$=i!==void 0?i:p,te=b!==void 0?b:k;return E(E({},v),{},{inputValue:j,menuIsOpen:$,onChange:z,onInputChange:R,onMenuClose:ae,onMenuOpen:oe,value:te})}function V(){return V=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var o in r)({}).hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},V.apply(null,arguments)}function Cr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Et(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,It(o.key),o)}}function Or(t,e,r){return e&&Et(t.prototype,e),r&&Et(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function Ze(t,e){return Ze=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},Ze(t,e)}function Ir(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Ze(t,e)}function Me(t){return Me=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Me(t)}function Vt(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Vt=function(){return!!t})()}function Mr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Pr(t,e){if(e&&(fe(e)=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Mr(t)}function Er(t){var e=Vt();return function(){var r,o=Me(t);if(e){var n=Me(this).constructor;r=Reflect.construct(o,arguments,n)}else r=o.apply(this,arguments);return Pr(this,r)}}function Vr(t){if(Array.isArray(t))return Je(t)}function Lr(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Tr(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
3
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Qe(t){return Vr(t)||Lr(t)||Pt(t)||Tr()}function Dr(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}function Fr(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),t.nonce!==void 0&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}var Ar=(function(){function t(r){var o=this;this._insertTag=function(n){var a;o.tags.length===0?o.insertionPoint?a=o.insertionPoint.nextSibling:o.prepend?a=o.container.firstChild:a=o.before:a=o.tags[o.tags.length-1].nextSibling,o.container.insertBefore(n,a),o.tags.push(n)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(o){o.forEach(this._insertTag)},e.insert=function(o){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Fr(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var a=Dr(n);try{a.insertRule(o,a.cssRules.length)}catch{}}else n.appendChild(document.createTextNode(o));this.ctr++},e.flush=function(){this.tags.forEach(function(o){var n;return(n=o.parentNode)==null?void 0:n.removeChild(o)}),this.tags=[],this.ctr=0},t})(),B="-ms-",Pe="-moz-",T="-webkit-",Lt="comm",et="rule",tt="decl",kr="@import",Tt="@keyframes",Nr="@layer",_r=Math.abs,Ee=String.fromCharCode,$r=Object.assign;function Hr(t,e){return U(t,0)^45?(((e<<2^U(t,0))<<2^U(t,1))<<2^U(t,2))<<2^U(t,3):0}function Dt(t){return t.trim()}function Rr(t,e){return(t=e.exec(t))?t[0]:t}function D(t,e,r){return t.replace(e,r)}function nt(t,e){return t.indexOf(e)}function U(t,e){return t.charCodeAt(e)|0}function ye(t,e,r){return t.slice(e,r)}function Z(t){return t.length}function rt(t){return t.length}function Ve(t,e){return e.push(t),t}function jr(t,e){return t.map(e).join("")}var Le=1,he=1,Ft=0,G=0,_=0,ve="";function Te(t,e,r,o,n,a,s){return{value:t,root:e,parent:r,type:o,props:n,children:a,line:Le,column:he,length:s,return:""}}function Se(t,e){return $r(Te("",null,null,"",null,null,0),t,{length:-t.length},e)}function Ur(){return _}function Br(){return _=G>0?U(ve,--G):0,he--,_===10&&(he=1,Le--),_}function q(){return _=G<Ft?U(ve,G++):0,he++,_===10&&(he=1,Le++),_}function Q(){return U(ve,G)}function De(){return G}function xe(t,e){return ye(ve,t,e)}function we(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function At(t){return Le=he=1,Ft=Z(ve=t),G=0,[]}function kt(t){return ve="",t}function Fe(t){return Dt(xe(G-1,ot(t===91?t+2:t===40?t+1:t)))}function zr(t){for(;(_=Q())&&_<33;)q();return we(t)>2||we(_)>3?"":" "}function Wr(t,e){for(;--e&&q()&&!(_<48||_>102||_>57&&_<65||_>70&&_<97););return xe(t,De()+(e<6&&Q()==32&&q()==32))}function ot(t){for(;q();)switch(_){case t:return G;case 34:case 39:t!==34&&t!==39&&ot(_);break;case 40:t===41&&ot(t);break;case 92:q();break}return G}function Gr(t,e){for(;q()&&t+_!==57;)if(t+_===84&&Q()===47)break;return"/*"+xe(e,G-1)+"*"+Ee(t===47?t:q())}function qr(t){for(;!we(Q());)q();return xe(t,G)}function Yr(t){return kt(Ae("",null,null,null,[""],t=At(t),0,[0],t))}function Ae(t,e,r,o,n,a,s,u,i){for(var l=0,c=0,d=s,g=0,b=0,v=0,m=1,f=1,h=1,w=0,S="",P=n,p=a,O=o,C=S;f;)switch(v=w,w=q()){case 40:if(v!=108&&U(C,d-1)==58){nt(C+=D(Fe(w),"&","&\f"),"&\f")!=-1&&(h=-1);break}case 34:case 39:case 91:C+=Fe(w);break;case 9:case 10:case 13:case 32:C+=zr(v);break;case 92:C+=Wr(De()-1,7);continue;case 47:switch(Q()){case 42:case 47:Ve(Kr(Gr(q(),De()),e,r),i);break;default:C+="/"}break;case 123*m:u[l++]=Z(C)*h;case 125*m:case 59:case 0:switch(w){case 0:case 125:f=0;case 59+c:h==-1&&(C=D(C,/\f/g,"")),b>0&&Z(C)-d&&Ve(b>32?_t(C+";",o,r,d-1):_t(D(C," ","")+";",o,r,d-2),i);break;case 59:C+=";";default:if(Ve(O=Nt(C,e,r,l,c,n,u,S,P=[],p=[],d),a),w===123)if(c===0)Ae(C,e,O,O,P,a,d,u,p);else switch(g===99&&U(C,3)===110?100:g){case 100:case 108:case 109:case 115:Ae(t,O,O,o&&Ve(Nt(t,O,O,0,0,n,u,S,n,P=[],d),p),n,p,d,u,o?P:p);break;default:Ae(C,O,O,O,[""],p,0,u,p)}}l=c=b=0,m=h=1,S=C="",d=s;break;case 58:d=1+Z(C),b=v;default:if(m<1){if(w==123)--m;else if(w==125&&m++==0&&Br()==125)continue}switch(C+=Ee(w),w*m){case 38:h=c>0?1:(C+="\f",-1);break;case 44:u[l++]=(Z(C)-1)*h,h=1;break;case 64:Q()===45&&(C+=Fe(q())),g=Q(),c=d=Z(S=C+=qr(De())),w++;break;case 45:v===45&&Z(C)==2&&(m=0)}}return a}function Nt(t,e,r,o,n,a,s,u,i,l,c){for(var d=n-1,g=n===0?a:[""],b=rt(g),v=0,m=0,f=0;v<o;++v)for(var h=0,w=ye(t,d+1,d=_r(m=s[v])),S=t;h<b;++h)(S=Dt(m>0?g[h]+" "+w:D(w,/&\f/g,g[h])))&&(i[f++]=S);return Te(t,e,r,n===0?et:u,i,l,c)}function Kr(t,e,r){return Te(t,e,r,Lt,Ee(Ur()),ye(t,2,-2),0)}function _t(t,e,r,o){return Te(t,e,r,tt,ye(t,0,o),ye(t,o+1,-1),o)}function me(t,e){for(var r="",o=rt(t),n=0;n<o;n++)r+=e(t[n],n,t,e)||"";return r}function Xr(t,e,r,o){switch(t.type){case Nr:if(t.children.length)break;case kr:case tt:return t.return=t.return||t.value;case Lt:return"";case Tt:return t.return=t.value+"{"+me(t.children,o)+"}";case et:t.value=t.props.join(",")}return Z(r=me(t.children,o))?t.return=t.value+"{"+r+"}":""}function Jr(t){var e=rt(t);return function(r,o,n,a){for(var s="",u=0;u<e;u++)s+=t[u](r,o,n,a)||"";return s}}function Zr(t){return function(e){e.root||(e=e.return)&&t(e)}}function Qr(t){var e=Object.create(null);return function(r){return e[r]===void 0&&(e[r]=t(r)),e[r]}}var eo=function(e,r,o){for(var n=0,a=0;n=a,a=Q(),n===38&&a===12&&(r[o]=1),!we(a);)q();return xe(e,G)},to=function(e,r){var o=-1,n=44;do switch(we(n)){case 0:n===38&&Q()===12&&(r[o]=1),e[o]+=eo(G-1,r,o);break;case 2:e[o]+=Fe(n);break;case 4:if(n===44){e[++o]=Q()===58?"&\f":"",r[o]=e[o].length;break}default:e[o]+=Ee(n)}while(n=q());return e},no=function(e,r){return kt(to(At(e),r))},$t=new WeakMap,ro=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var r=e.value,o=e.parent,n=e.column===o.column&&e.line===o.line;o.type!=="rule";)if(o=o.parent,!o)return;if(!(e.props.length===1&&r.charCodeAt(0)!==58&&!$t.get(o))&&!n){$t.set(e,!0);for(var a=[],s=no(r,a),u=o.props,i=0,l=0;i<s.length;i++)for(var c=0;c<u.length;c++,l++)e.props[l]=a[i]?s[i].replace(/&\f/g,u[c]):u[c]+" "+s[i]}}},oo=function(e){if(e.type==="decl"){var r=e.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(e.return="",e.value="")}};function Ht(t,e){switch(Hr(t,e)){case 5103:return T+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return T+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return T+t+Pe+t+B+t+t;case 6828:case 4268:return T+t+B+t+t;case 6165:return T+t+B+"flex-"+t+t;case 5187:return T+t+D(t,/(\w+).+(:[^]+)/,T+"box-$1$2"+B+"flex-$1$2")+t;case 5443:return T+t+B+"flex-item-"+D(t,/flex-|-self/,"")+t;case 4675:return T+t+B+"flex-line-pack"+D(t,/align-content|flex-|-self/,"")+t;case 5548:return T+t+B+D(t,"shrink","negative")+t;case 5292:return T+t+B+D(t,"basis","preferred-size")+t;case 6060:return T+"box-"+D(t,"-grow","")+T+t+B+D(t,"grow","positive")+t;case 4554:return T+D(t,/([^-])(transform)/g,"$1"+T+"$2")+t;case 6187:return D(D(D(t,/(zoom-|grab)/,T+"$1"),/(image-set)/,T+"$1"),t,"")+t;case 5495:case 3959:return D(t,/(image-set\([^]*)/,T+"$1$`$1");case 4968:return D(D(t,/(.+:)(flex-)?(.*)/,T+"box-pack:$3"+B+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+T+t+t;case 4095:case 3583:case 4068:case 2532:return D(t,/(.+)-inline(.+)/,T+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Z(t)-1-e>6)switch(U(t,e+1)){case 109:if(U(t,e+4)!==45)break;case 102:return D(t,/(.+:)(.+)-([^]+)/,"$1"+T+"$2-$3$1"+Pe+(U(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~nt(t,"stretch")?Ht(D(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(U(t,e+1)!==115)break;case 6444:switch(U(t,Z(t)-3-(~nt(t,"!important")&&10))){case 107:return D(t,":",":"+T)+t;case 101:return D(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+T+(U(t,14)===45?"inline-":"")+"box$3$1"+T+"$2$3$1"+B+"$2box$3")+t}break;case 5936:switch(U(t,e+11)){case 114:return T+t+B+D(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return T+t+B+D(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return T+t+B+D(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return T+t+B+t+t}return t}var ao=function(e,r,o,n){if(e.length>-1&&!e.return)switch(e.type){case tt:e.return=Ht(e.value,e.length);break;case Tt:return me([Se(e,{value:D(e.value,"@","@"+T)})],n);case et:if(e.length)return jr(e.props,function(a){switch(Rr(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return me([Se(e,{props:[D(a,/:(read-\w+)/,":"+Pe+"$1")]})],n);case"::placeholder":return me([Se(e,{props:[D(a,/:(plac\w+)/,":"+T+"input-$1")]}),Se(e,{props:[D(a,/:(plac\w+)/,":"+Pe+"$1")]}),Se(e,{props:[D(a,/:(plac\w+)/,B+"input-$1")]})],n)}return""})}},io=[ao],so=function(e){var r=e.key;if(r==="css"){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,function(m){var f=m.getAttribute("data-emotion");f.indexOf(" ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var n=e.stylisPlugins||io,a={},s,u=[];s=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(m){for(var f=m.getAttribute("data-emotion").split(" "),h=1;h<f.length;h++)a[f[h]]=!0;u.push(m)});var i,l=[ro,oo];{var c,d=[Xr,Zr(function(m){c.insert(m)})],g=Jr(l.concat(n,d)),b=function(f){return me(Yr(f),g)};i=function(f,h,w,S){c=w,b(f?f+"{"+h.styles+"}":h.styles),S&&(v.inserted[h.name]=!0)}}var v={key:r,sheet:new Ar({key:r,container:s,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:i};return v.sheet.hydrate(u),v},at={exports:{}},F={};var Rt;function lo(){if(Rt)return F;Rt=1;var t=typeof Symbol=="function"&&Symbol.for,e=t?Symbol.for("react.element"):60103,r=t?Symbol.for("react.portal"):60106,o=t?Symbol.for("react.fragment"):60107,n=t?Symbol.for("react.strict_mode"):60108,a=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,u=t?Symbol.for("react.context"):60110,i=t?Symbol.for("react.async_mode"):60111,l=t?Symbol.for("react.concurrent_mode"):60111,c=t?Symbol.for("react.forward_ref"):60112,d=t?Symbol.for("react.suspense"):60113,g=t?Symbol.for("react.suspense_list"):60120,b=t?Symbol.for("react.memo"):60115,v=t?Symbol.for("react.lazy"):60116,m=t?Symbol.for("react.block"):60121,f=t?Symbol.for("react.fundamental"):60117,h=t?Symbol.for("react.responder"):60118,w=t?Symbol.for("react.scope"):60119;function S(p){if(typeof p=="object"&&p!==null){var O=p.$$typeof;switch(O){case e:switch(p=p.type,p){case i:case l:case o:case a:case n:case d:return p;default:switch(p=p&&p.$$typeof,p){case u:case c:case v:case b:case s:return p;default:return O}}case r:return O}}}function P(p){return S(p)===l}return F.AsyncMode=i,F.ConcurrentMode=l,F.ContextConsumer=u,F.ContextProvider=s,F.Element=e,F.ForwardRef=c,F.Fragment=o,F.Lazy=v,F.Memo=b,F.Portal=r,F.Profiler=a,F.StrictMode=n,F.Suspense=d,F.isAsyncMode=function(p){return P(p)||S(p)===i},F.isConcurrentMode=P,F.isContextConsumer=function(p){return S(p)===u},F.isContextProvider=function(p){return S(p)===s},F.isElement=function(p){return typeof p=="object"&&p!==null&&p.$$typeof===e},F.isForwardRef=function(p){return S(p)===c},F.isFragment=function(p){return S(p)===o},F.isLazy=function(p){return S(p)===v},F.isMemo=function(p){return S(p)===b},F.isPortal=function(p){return S(p)===r},F.isProfiler=function(p){return S(p)===a},F.isStrictMode=function(p){return S(p)===n},F.isSuspense=function(p){return S(p)===d},F.isValidElementType=function(p){return typeof p=="string"||typeof p=="function"||p===o||p===l||p===a||p===n||p===d||p===g||typeof p=="object"&&p!==null&&(p.$$typeof===v||p.$$typeof===b||p.$$typeof===s||p.$$typeof===u||p.$$typeof===c||p.$$typeof===f||p.$$typeof===h||p.$$typeof===w||p.$$typeof===m)},F.typeOf=S,F}var jt;function uo(){return jt||(jt=1,at.exports=lo()),at.exports}var it,Ut;function co(){if(Ut)return it;Ut=1;var t=uo(),e={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},n={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};a[t.ForwardRef]=o,a[t.Memo]=n;function s(v){return t.isMemo(v)?n:a[v.$$typeof]||e}var u=Object.defineProperty,i=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,g=Object.prototype;function b(v,m,f){if(typeof m!="string"){if(g){var h=d(m);h&&h!==g&&b(v,h,f)}var w=i(m);l&&(w=w.concat(l(m)));for(var S=s(v),P=s(m),p=0;p<w.length;++p){var O=w[p];if(!r[O]&&!(f&&f[O])&&!(P&&P[O])&&!(S&&S[O])){var C=c(m,O);try{u(v,O,C)}catch{}}}}return v}return it=b,it}co();var fo=!0;function po(t,e,r){var o="";return r.split(" ").forEach(function(n){t[n]!==void 0?e.push(t[n]+";"):n&&(o+=n+" ")}),o}var Bt=function(e,r,o){var n=e.key+"-"+r.name;(o===!1||fo===!1)&&e.registered[n]===void 0&&(e.registered[n]=r.styles)},ho=function(e,r,o){Bt(e,r,o);var n=e.key+"-"+r.name;if(e.inserted[r.name]===void 0){var a=r;do e.insert(r===a?"."+n:"",a,e.sheet,!0),a=a.next;while(a!==void 0)}};function vo(t){for(var e=0,r,o=0,n=t.length;n>=4;++o,n-=4)r=t.charCodeAt(o)&255|(t.charCodeAt(++o)&255)<<8|(t.charCodeAt(++o)&255)<<16|(t.charCodeAt(++o)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,e=(r&65535)*1540483477+((r>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(n){case 3:e^=(t.charCodeAt(o+2)&255)<<16;case 2:e^=(t.charCodeAt(o+1)&255)<<8;case 1:e^=t.charCodeAt(o)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var mo={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},go=/[A-Z]|^ms/g,bo=/_EMO_([^_]+?)_([^]*?)_EMO_/g,zt=function(e){return e.charCodeAt(1)===45},Wt=function(e){return e!=null&&typeof e!="boolean"},st=Qr(function(t){return zt(t)?t:t.replace(go,"-$&").toLowerCase()}),Gt=function(e,r){switch(e){case"animation":case"animationName":if(typeof r=="string")return r.replace(bo,function(o,n,a){return ee={name:n,styles:a,next:ee},n})}return mo[e]!==1&&!zt(e)&&typeof r=="number"&&r!==0?r+"px":r};function Ce(t,e,r){if(r==null)return"";var o=r;if(o.__emotion_styles!==void 0)return o;switch(typeof r){case"boolean":return"";case"object":{var n=r;if(n.anim===1)return ee={name:n.name,styles:n.styles,next:ee},n.name;var a=r;if(a.styles!==void 0){var s=a.next;if(s!==void 0)for(;s!==void 0;)ee={name:s.name,styles:s.styles,next:ee},s=s.next;var u=a.styles+";";return u}return yo(t,e,r)}case"function":{if(t!==void 0){var i=ee,l=r(t);return ee=i,Ce(t,e,l)}break}}var c=r;return c}function yo(t,e,r){var o="";if(Array.isArray(r))for(var n=0;n<r.length;n++)o+=Ce(t,e,r[n])+";";else for(var a in r){var s=r[a];if(typeof s!="object"){var u=s;Wt(u)&&(o+=st(a)+":"+Gt(a,u)+";")}else if(Array.isArray(s)&&typeof s[0]=="string"&&e==null)for(var i=0;i<s.length;i++)Wt(s[i])&&(o+=st(a)+":"+Gt(a,s[i])+";");else{var l=Ce(t,e,s);switch(a){case"animation":case"animationName":{o+=st(a)+":"+l+";";break}default:o+=a+"{"+l+"}"}}}return o}var qt=/label:\s*([^\s;{]+)\s*(;|$)/g,ee;function Yt(t,e,r){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var o=!0,n="";ee=void 0;var a=t[0];if(a==null||a.raw===void 0)o=!1,n+=Ce(r,e,a);else{var s=a;n+=s[0]}for(var u=1;u<t.length;u++)if(n+=Ce(r,e,t[u]),o){var i=a;n+=i[u]}qt.lastIndex=0;for(var l="",c;(c=qt.exec(n))!==null;)l+="-"+c[1];var d=vo(n)+l;return{name:d,styles:n,next:ee}}var So=function(e){return e()},xo=L.useInsertionEffect?L.useInsertionEffect:!1,wo=xo||So,Kt=L.createContext(typeof HTMLElement<"u"?so({key:"css"}):null);Kt.Provider;var Co=function(e){return I.forwardRef(function(r,o){var n=I.useContext(Kt);return e(r,n,o)})},Oo=L.createContext({}),lt={}.hasOwnProperty,ut="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Io=function(e,r){var o={};for(var n in r)lt.call(r,n)&&(o[n]=r[n]);return o[ut]=e,o},Mo=function(e){var r=e.cache,o=e.serialized,n=e.isStringTag;return Bt(r,o,n),wo(function(){return ho(r,o,n)}),null},Po=Co(function(t,e,r){var o=t.css;typeof o=="string"&&e.registered[o]!==void 0&&(o=e.registered[o]);var n=t[ut],a=[o],s="";typeof t.className=="string"?s=po(e.registered,a,t.className):t.className!=null&&(s=t.className+" ");var u=Yt(a,void 0,L.useContext(Oo));s+=e.key+"-"+u.name;var i={};for(var l in t)lt.call(t,l)&&l!=="css"&&l!==ut&&(i[l]=t[l]);return i.className=s,r&&(i.ref=r),L.createElement(L.Fragment,null,L.createElement(Mo,{cache:e,serialized:u,isStringTag:typeof n=="string"}),L.createElement(n,i))}),Eo=Po,M=function(e,r){var o=arguments;if(r==null||!lt.call(r,"css"))return L.createElement.apply(void 0,o);var n=o.length,a=new Array(n);a[0]=Eo,a[1]=Io(e,r);for(var s=2;s<n;s++)a[s]=o[s];return L.createElement.apply(null,a)};(function(t){var e;e||(e=t.JSX||(t.JSX={}))})(M||(M={}));function ct(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return Yt(e)}function Vo(){var t=ct.apply(void 0,arguments),e="animation-"+t.name;return{name:e,styles:"@keyframes "+e+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}function Lo(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}const To=Math.min,Do=Math.max,ke=Math.round,Ne=Math.floor,dt=t=>({x:t,y:t});function Fo(t){const{x:e,y:r,width:o,height:n}=t;return{width:o,height:n,top:r,left:e,right:e+o,bottom:r+n,x:e,y:r}}function _e(){return typeof window<"u"}function Xt(t){return Zt(t)?(t.nodeName||"").toLowerCase():"#document"}function pe(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Jt(t){var e;return(e=(Zt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Zt(t){return _e()?t instanceof Node||t instanceof pe(t).Node:!1}function Ao(t){return _e()?t instanceof Element||t instanceof pe(t).Element:!1}function ft(t){return _e()?t instanceof HTMLElement||t instanceof pe(t).HTMLElement:!1}function Qt(t){return!_e()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof pe(t).ShadowRoot}function en(t){const{overflow:e,overflowX:r,overflowY:o,display:n}=tn(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+r)&&n!=="inline"&&n!=="contents"}function ko(t){return/^(html|body|#document)$/.test(Xt(t))}function tn(t){return pe(t).getComputedStyle(t)}function No(t){if(Xt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Qt(t)&&t.host||Jt(t);return Qt(e)?e.host:e}function nn(t){const e=No(t);return ko(e)?(t.ownerDocument||t).body:ft(e)&&en(e)?e:nn(e)}function $e(t,e,r){var o;e===void 0&&(e=[]),r===void 0&&(r=!0);const n=nn(t),a=n===((o=t.ownerDocument)==null?void 0:o.body),s=pe(n);if(a){const u=_o(s);return e.concat(s,s.visualViewport||[],en(n)?n:[],u&&r?$e(u):[])}else return e.concat(n,$e(n,[],r))}function _o(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function $o(t){const e=tn(t);let r=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const n=ft(t),a=n?t.offsetWidth:r,s=n?t.offsetHeight:o,u=ke(r)!==a||ke(o)!==s;return u&&(r=a,o=s),{width:r,height:o,$:u}}function pt(t){return Ao(t)?t:t.contextElement}function Ho(t){const e=pt(t);if(!ft(e))return dt(1);const r=e.getBoundingClientRect(),{width:o,height:n,$:a}=$o(e);let s=(a?ke(r.width):r.width)/o,u=(a?ke(r.height):r.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!u||!Number.isFinite(u))&&(u=1),{x:s,y:u}}function rn(t,e,r,o){e===void 0&&(e=!1);const n=t.getBoundingClientRect();pt(t);let a=dt(1);e&&(a=Ho(t));const s=dt(0);let u=(n.left+s.x)/a.x,i=(n.top+s.y)/a.y,l=n.width/a.x,c=n.height/a.y;return Fo({width:l,height:c,x:u,y:i})}function on(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Ro(t,e,r){let o=null,n;const a=Jt(t);function s(){var c;clearTimeout(n),(c=o)==null||c.disconnect(),o=null}function u(c,d){c===void 0&&(c=!1),d===void 0&&(d=1),s();const g=t.getBoundingClientRect(),{left:b,top:v,width:m,height:f}=g;if(c||e(),!m||!f)return;const h=Ne(v),w=Ne(a.clientWidth-(b+m)),S=Ne(a.clientHeight-(v+f)),P=Ne(b),O={rootMargin:-h+"px "+-w+"px "+-S+"px "+-P+"px",threshold:Do(0,To(1,d))||1};let C=!0;function x(k){const A=k[0].intersectionRatio;if(!on(g,t.getBoundingClientRect()))return u();if(A!==d){if(!C)return u();A?u(!1,A):n=setTimeout(()=>{u(!1,1e-7)},1e3)}C=!1}try{o=new IntersectionObserver(x,{...O,root:a.ownerDocument})}catch{o=new IntersectionObserver(x,O)}o.observe(t)}const i=pe(t),l=()=>u(r);return i.addEventListener("resize",l),u(!0),()=>{i.removeEventListener("resize",l),s()}}function jo(t,e,r,o){o===void 0&&(o={});const{ancestorScroll:n=!0,ancestorResize:a=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:u=typeof IntersectionObserver=="function",animationFrame:i=!1}=o,l=pt(t),c=n||a?[...l?$e(l):[],...e?$e(e):[]]:[];c.forEach(h=>{n&&h.addEventListener("scroll",r),a&&h.addEventListener("resize",r)});const d=l&&u?Ro(l,r,a):null;let g=-1,b=null;s&&(b=new ResizeObserver(h=>{let[w]=h;w&&w.target===l&&b&&e&&(b.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var S;(S=b)==null||S.observe(e)})),r()}),l&&!i&&b.observe(l),e&&b.observe(e));let v,m=i?rn(t):null;i&&f();function f(){const h=rn(t);m&&!on(m,h)&&r(),m=h,v=requestAnimationFrame(f)}return r(),()=>{var h;c.forEach(w=>{n&&w.removeEventListener("scroll",r),a&&w.removeEventListener("resize",r)}),d?.(),(h=b)==null||h.disconnect(),b=null,i&&cancelAnimationFrame(v)}}var ht=I.useLayoutEffect,Uo=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],He=function(){};function Bo(t,e){return e?e[0]==="-"?t+e:t+"__"+e:t}function zo(t,e){for(var r=arguments.length,o=new Array(r>2?r-2:0),n=2;n<r;n++)o[n-2]=arguments[n];var a=[].concat(o);if(e&&t)for(var s in e)e.hasOwnProperty(s)&&e[s]&&a.push("".concat(Bo(t,s)));return a.filter(function(u){return u}).map(function(u){return String(u).trim()}).join(" ")}var an=function(e){return Qo(e)?e.filter(Boolean):fe(e)==="object"&&e!==null?[e]:[]},sn=function(e){e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme;var r=re(e,Uo);return E({},r)},N=function(e,r,o){var n=e.cx,a=e.getStyles,s=e.getClassNames,u=e.className;return{css:a(r,e),className:n(o??{},s(r,e),u)}};function Re(t){return[document.documentElement,document.body,window].indexOf(t)>-1}function Wo(t){return Re(t)?window.innerHeight:t.clientHeight}function ln(t){return Re(t)?window.pageYOffset:t.scrollTop}function je(t,e){if(Re(t)){window.scrollTo(0,e);return}t.scrollTop=e}function Go(t){var e=getComputedStyle(t),r=e.position==="absolute",o=/(auto|scroll)/;if(e.position==="fixed")return document.documentElement;for(var n=t;n=n.parentElement;)if(e=getComputedStyle(n),!(r&&e.position==="static")&&o.test(e.overflow+e.overflowY+e.overflowX))return n;return document.documentElement}function qo(t,e,r,o){return r*((t=t/o-1)*t*t+1)+e}function Ue(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:He,n=ln(t),a=e-n,s=10,u=0;function i(){u+=s;var l=qo(u,n,a,r);je(t,l),u<r?window.requestAnimationFrame(i):o(t)}i()}function un(t,e){var r=t.getBoundingClientRect(),o=e.getBoundingClientRect(),n=e.offsetHeight/3;o.bottom+n>r.bottom?je(t,Math.min(e.offsetTop+e.clientHeight-t.offsetHeight+n,t.scrollHeight)):o.top-n<r.top&&je(t,Math.max(e.offsetTop-n,0))}function Yo(t){var e=t.getBoundingClientRect();return{bottom:e.bottom,height:e.height,left:e.left,right:e.right,top:e.top,width:e.width}}function cn(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function Ko(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var dn=!1,Xo={get passive(){return dn=!0}},Be=typeof window<"u"?window:{};Be.addEventListener&&Be.removeEventListener&&(Be.addEventListener("p",He,Xo),Be.removeEventListener("p",He,!1));var Jo=dn;function Zo(t){return t!=null}function Qo(t){return Array.isArray(t)}function ze(t,e,r){return t?e:r}function vs(t){return t}function ms(t){return t}var ea=function(e){for(var r=arguments.length,o=new Array(r>1?r-1:0),n=1;n<r;n++)o[n-1]=arguments[n];var a=Object.entries(e).filter(function(s){var u=ne(s,1),i=u[0];return!o.includes(i)});return a.reduce(function(s,u){var i=ne(u,2),l=i[0],c=i[1];return s[l]=c,s},{})},ta=["children","innerProps"],na=["children","innerProps"];function ra(t){var e=t.maxHeight,r=t.menuEl,o=t.minHeight,n=t.placement,a=t.shouldScroll,s=t.isFixedPosition,u=t.controlHeight,i=Go(r),l={placement:"bottom",maxHeight:e};if(!r||!r.offsetParent)return l;var c=i.getBoundingClientRect(),d=c.height,g=r.getBoundingClientRect(),b=g.bottom,v=g.height,m=g.top,f=r.offsetParent.getBoundingClientRect(),h=f.top,w=s?window.innerHeight:Wo(i),S=ln(i),P=parseInt(getComputedStyle(r).marginBottom,10),p=parseInt(getComputedStyle(r).marginTop,10),O=h-p,C=w-m,x=O+S,k=d-S-m,A=b-w+S+P,z=S+m-p,R=160;switch(n){case"auto":case"bottom":if(C>=v)return{placement:"bottom",maxHeight:e};if(k>=v&&!s)return a&&Ue(i,A,R),{placement:"bottom",maxHeight:e};if(!s&&k>=o||s&&C>=o){a&&Ue(i,A,R);var oe=s?C-P:k-P;return{placement:"bottom",maxHeight:oe}}if(n==="auto"||s){var ae=e,j=s?O:x;return j>=o&&(ae=Math.min(j-P-u,e)),{placement:"top",maxHeight:ae}}if(n==="bottom")return a&&je(i,A),{placement:"bottom",maxHeight:e};break;case"top":if(O>=v)return{placement:"top",maxHeight:e};if(x>=v&&!s)return a&&Ue(i,z,R),{placement:"top",maxHeight:e};if(!s&&x>=o||s&&O>=o){var $=e;return(!s&&x>=o||s&&O>=o)&&($=s?O-p:x-p),a&&Ue(i,z,R),{placement:"top",maxHeight:$}}return{placement:"bottom",maxHeight:e};default:throw new Error('Invalid placement provided "'.concat(n,'".'))}return l}function oa(t){var e={bottom:"top",top:"bottom"};return t?e[t]:"bottom"}var fn=function(e){return e==="auto"?"bottom":e},aa=function(e,r){var o,n=e.placement,a=e.theme,s=a.borderRadius,u=a.spacing,i=a.colors;return E((o={label:"menu"},be(o,oa(n),"100%"),be(o,"position","absolute"),be(o,"width","100%"),be(o,"zIndex",1),o),r?{}:{backgroundColor:i.neutral0,borderRadius:s,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:u.menuGutter,marginTop:u.menuGutter})},pn=I.createContext(null),ia=function(e){var r=e.children,o=e.minMenuHeight,n=e.maxMenuHeight,a=e.menuPlacement,s=e.menuPosition,u=e.menuShouldScrollIntoView,i=e.theme,l=I.useContext(pn)||{},c=l.setPortalPlacement,d=I.useRef(null),g=I.useState(n),b=ne(g,2),v=b[0],m=b[1],f=I.useState(null),h=ne(f,2),w=h[0],S=h[1],P=i.spacing.controlHeight;return ht(function(){var p=d.current;if(p){var O=s==="fixed",C=u&&!O,x=ra({maxHeight:n,menuEl:p,minHeight:o,placement:a,shouldScroll:C,isFixedPosition:O,controlHeight:P});m(x.maxHeight),S(x.placement),c?.(x.placement)}},[n,a,s,u,o,c,P]),r({ref:d,placerProps:E(E({},e),{},{placement:w||fn(a),maxHeight:v})})},sa=function(e){var r=e.children,o=e.innerRef,n=e.innerProps;return M("div",V({},N(e,"menu",{menu:!0}),{ref:o},n),r)},la=sa,ua=function(e,r){var o=e.maxHeight,n=e.theme.spacing.baseUnit;return E({maxHeight:o,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},r?{}:{paddingBottom:n,paddingTop:n})},ca=function(e){var r=e.children,o=e.innerProps,n=e.innerRef,a=e.isMulti;return M("div",V({},N(e,"menuList",{"menu-list":!0,"menu-list--is-multi":a}),{ref:n},o),r)},hn=function(e,r){var o=e.theme,n=o.spacing.baseUnit,a=o.colors;return E({textAlign:"center"},r?{}:{color:a.neutral40,padding:"".concat(n*2,"px ").concat(n*3,"px")})},da=hn,fa=hn,pa=function(e){var r=e.children,o=r===void 0?"No options":r,n=e.innerProps,a=re(e,ta);return M("div",V({},N(E(E({},a),{},{children:o,innerProps:n}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),n),o)},ha=function(e){var r=e.children,o=r===void 0?"Loading...":r,n=e.innerProps,a=re(e,na);return M("div",V({},N(E(E({},a),{},{children:o,innerProps:n}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),n),o)},va=function(e){var r=e.rect,o=e.offset,n=e.position;return{left:r.left,position:n,top:o,width:r.width,zIndex:1}},ma=function(e){var r=e.appendTo,o=e.children,n=e.controlElement,a=e.innerProps,s=e.menuPlacement,u=e.menuPosition,i=I.useRef(null),l=I.useRef(null),c=I.useState(fn(s)),d=ne(c,2),g=d[0],b=d[1],v=I.useMemo(function(){return{setPortalPlacement:b}},[]),m=I.useState(null),f=ne(m,2),h=f[0],w=f[1],S=I.useCallback(function(){if(n){var C=Yo(n),x=u==="fixed"?0:window.pageYOffset,k=C[g]+x;(k!==h?.offset||C.left!==h?.rect.left||C.width!==h?.rect.width)&&w({offset:k,rect:C})}},[n,u,g,h?.offset,h?.rect.left,h?.rect.width]);ht(function(){S()},[S]);var P=I.useCallback(function(){typeof l.current=="function"&&(l.current(),l.current=null),n&&i.current&&(l.current=jo(n,i.current,S,{elementResize:"ResizeObserver"in window}))},[n,S]);ht(function(){P()},[P]);var p=I.useCallback(function(C){i.current=C,P()},[P]);if(!r&&u!=="fixed"||!h)return null;var O=M("div",V({ref:p},N(E(E({},e),{},{offset:h.offset,position:u,rect:h.rect}),"menuPortal",{"menu-portal":!0}),a),o);return M(pn.Provider,{value:v},r?Yn.createPortal(O,r):O)},ga=function(e){var r=e.isDisabled,o=e.isRtl;return{label:"container",direction:o?"rtl":void 0,pointerEvents:r?"none":void 0,position:"relative"}},ba=function(e){var r=e.children,o=e.innerProps,n=e.isDisabled,a=e.isRtl;return M("div",V({},N(e,"container",{"--is-disabled":n,"--is-rtl":a}),o),r)},ya=function(e,r){var o=e.theme.spacing,n=e.isMulti,a=e.hasValue,s=e.selectProps.controlShouldRenderValue;return E({alignItems:"center",display:n&&a&&s?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},r?{}:{padding:"".concat(o.baseUnit/2,"px ").concat(o.baseUnit*2,"px")})},Sa=function(e){var r=e.children,o=e.innerProps,n=e.isMulti,a=e.hasValue;return M("div",V({},N(e,"valueContainer",{"value-container":!0,"value-container--is-multi":n,"value-container--has-value":a}),o),r)},xa=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},wa=function(e){var r=e.children,o=e.innerProps;return M("div",V({},N(e,"indicatorsContainer",{indicators:!0}),o),r)},vn,Ca=["size"],Oa=["innerProps","isRtl","size"],Ia={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},mn=function(e){var r=e.size,o=re(e,Ca);return M("svg",V({height:r,width:r,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Ia},o))},vt=function(e){return M(mn,V({size:20},e),M("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},gn=function(e){return M(mn,V({size:20},e),M("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},bn=function(e,r){var o=e.isFocused,n=e.theme,a=n.spacing.baseUnit,s=n.colors;return E({label:"indicatorContainer",display:"flex",transition:"color 150ms"},r?{}:{color:o?s.neutral60:s.neutral20,padding:a*2,":hover":{color:o?s.neutral80:s.neutral40}})},Ma=bn,Pa=function(e){var r=e.children,o=e.innerProps;return M("div",V({},N(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),o),r||M(gn,null))},Ea=bn,Va=function(e){var r=e.children,o=e.innerProps;return M("div",V({},N(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),o),r||M(vt,null))},La=function(e,r){var o=e.isDisabled,n=e.theme,a=n.spacing.baseUnit,s=n.colors;return E({label:"indicatorSeparator",alignSelf:"stretch",width:1},r?{}:{backgroundColor:o?s.neutral10:s.neutral20,marginBottom:a*2,marginTop:a*2})},Ta=function(e){var r=e.innerProps;return M("span",V({},r,N(e,"indicatorSeparator",{"indicator-separator":!0})))},Da=Vo(vn||(vn=Lo([`
|
|
4
4
|
0%, 80%, 100% { opacity: 0; }
|
|
5
5
|
40% { opacity: 1; }
|
|
6
|
-
`]))),Fa=function(e,r){var o=e.isFocused,n=e.size,a=e.theme,s=a.colors,u=a.spacing.baseUnit;return M({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"},r?{}:{color:o?s.neutral60:s.neutral20,padding:u*2})},mt=function(e){var r=e.delay,o=e.offset;return I("span",{css:ct({animation:"".concat(Da," 1s ease-in-out ").concat(r,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:o?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},Aa=function(e){var r=e.innerProps,o=e.isRtl,n=e.size,a=n===void 0?4:n,s=re(e,Ca);return I("div",P({},k(M(M({},s),{},{innerProps:r,isRtl:o,size:a}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),r),I(mt,{delay:0,offset:o}),I(mt,{delay:160,offset:!0}),I(mt,{delay:320,offset:!o}))},ka=function(e,r){var o=e.isDisabled,n=e.isFocused,a=e.theme,s=a.colors,u=a.borderRadius,i=a.spacing;return M({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:i.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},r?{}:{backgroundColor:o?s.neutral5:s.neutral0,borderColor:o?s.neutral10:n?s.primary:s.neutral20,borderRadius:u,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(s.primary):void 0,"&:hover":{borderColor:n?s.primary:s.neutral30}})},Na=function(e){var r=e.children,o=e.isDisabled,n=e.isFocused,a=e.innerRef,s=e.innerProps,u=e.menuIsOpen;return I("div",P({ref:a},k(e,"control",{control:!0,"control--is-disabled":o,"control--is-focused":n,"control--menu-is-open":u}),s,{"aria-disabled":o||void 0}),r)},_a=Na,$a=["data"],Ha=function(e,r){var o=e.theme.spacing;return r?{}:{paddingBottom:o.baseUnit*2,paddingTop:o.baseUnit*2}},Ra=function(e){var r=e.children,o=e.cx,n=e.getStyles,a=e.getClassNames,s=e.Heading,u=e.headingProps,i=e.innerProps,l=e.label,c=e.theme,d=e.selectProps;return I("div",P({},k(e,"group",{group:!0}),i),I(s,P({},u,{selectProps:d,theme:c,getStyles:n,getClassNames:a,cx:o}),l),I("div",null,r))},ja=function(e,r){var o=e.theme,n=o.colors,a=o.spacing;return M({label:"group",cursor:"default",display:"block"},r?{}:{color:n.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:a.baseUnit*3,paddingRight:a.baseUnit*3,textTransform:"uppercase"})},Ua=function(e){var r=sn(e);r.data;var o=re(r,$a);return I("div",P({},k(e,"groupHeading",{"group-heading":!0}),o))},Ba=Ra,za=["innerRef","isDisabled","isHidden","inputClassName"],Wa=function(e,r){var o=e.isDisabled,n=e.value,a=e.theme,s=a.spacing,u=a.colors;return M(M({visibility:o?"hidden":"visible",transform:n?"translateZ(0)":""},Ga),r?{}:{margin:s.baseUnit/2,paddingBottom:s.baseUnit/2,paddingTop:s.baseUnit/2,color:u.neutral80})},yn={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Ga={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":M({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},yn)},qa=function(e){return M({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},yn)},Ya=function(e){var r=e.cx,o=e.value,n=sn(e),a=n.innerRef,s=n.isDisabled,u=n.isHidden,i=n.inputClassName,l=re(n,za);return I("div",P({},k(e,"input",{"input-container":!0}),{"data-value":o||""}),I("input",P({className:r({input:!0},i),ref:a,style:qa(u),disabled:s},l)))},Ka=Ya,Xa=function(e,r){var o=e.theme,n=o.spacing,a=o.borderRadius,s=o.colors;return M({label:"multiValue",display:"flex",minWidth:0},r?{}:{backgroundColor:s.neutral10,borderRadius:a/2,margin:n.baseUnit/2})},Ja=function(e,r){var o=e.theme,n=o.borderRadius,a=o.colors,s=e.cropWithEllipsis;return M({overflow:"hidden",textOverflow:s||s===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},r?{}:{borderRadius:n/2,color:a.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},Za=function(e,r){var o=e.theme,n=o.spacing,a=o.borderRadius,s=o.colors,u=e.isFocused;return M({alignItems:"center",display:"flex"},r?{}:{borderRadius:a/2,backgroundColor:u?s.dangerLight:void 0,paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:s.dangerLight,color:s.danger}})},Sn=function(e){var r=e.children,o=e.innerProps;return I("div",o,r)},Qa=Sn,ei=Sn;function ti(t){var e=t.children,r=t.innerProps;return I("div",P({role:"button"},r),e||I(vt,{size:14}))}var ni=function(e){var r=e.children,o=e.components,n=e.data,a=e.innerProps,s=e.isDisabled,u=e.removeProps,i=e.selectProps,l=o.Container,c=o.Label,d=o.Remove;return I(l,{data:n,innerProps:M(M({},k(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":s})),a),selectProps:i},I(c,{data:n,innerProps:M({},k(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:i},r),I(d,{data:n,innerProps:M(M({},k(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(r||"option")},u),selectProps:i}))},ri=ni,oi=function(e,r){var o=e.isDisabled,n=e.isFocused,a=e.isSelected,s=e.theme,u=s.spacing,i=s.colors;return M({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},r?{}:{backgroundColor:a?i.primary:n?i.primary25:"transparent",color:o?i.neutral20:a?i.neutral0:"inherit",padding:"".concat(u.baseUnit*2,"px ").concat(u.baseUnit*3,"px"),":active":{backgroundColor:o?void 0:a?i.primary:i.primary50}})},ai=function(e){var r=e.children,o=e.isDisabled,n=e.isFocused,a=e.isSelected,s=e.innerRef,u=e.innerProps;return I("div",P({},k(e,"option",{option:!0,"option--is-disabled":o,"option--is-focused":n,"option--is-selected":a}),{ref:s,"aria-disabled":o},u),r)},ii=ai,si=function(e,r){var o=e.theme,n=o.spacing,a=o.colors;return M({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},r?{}:{color:a.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2})},li=function(e){var r=e.children,o=e.innerProps;return I("div",P({},k(e,"placeholder",{placeholder:!0}),o),r)},ui=li,ci=function(e,r){var o=e.isDisabled,n=e.theme,a=n.spacing,s=n.colors;return M({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},r?{}:{color:o?s.neutral40:s.neutral80,marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2})},di=function(e){var r=e.children,o=e.isDisabled,n=e.innerProps;return I("div",P({},k(e,"singleValue",{"single-value":!0,"single-value--is-disabled":o}),n),r)},fi=di,pi={ClearIndicator:Va,Control:_a,DropdownIndicator:Pa,DownChevron:gn,CrossIcon:vt,Group:Ba,GroupHeading:Ua,IndicatorsContainer:wa,IndicatorSeparator:Ta,Input:Ka,LoadingIndicator:Aa,Menu:la,MenuList:ca,MenuPortal:ma,LoadingMessage:ha,NoOptionsMessage:pa,MultiValue:ri,MultiValueContainer:Qa,MultiValueLabel:ei,MultiValueRemove:ti,Option:ii,Placeholder:ui,SelectContainer:ba,SingleValue:fi,ValueContainer:Sa},hi=function(e){return M(M({},pi),e.components)},xn=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function vi(t,e){return!!(t===e||xn(t)&&xn(e))}function mi(t,e){if(t.length!==e.length)return!1;for(var r=0;r<t.length;r++)if(!vi(t[r],e[r]))return!1;return!0}function gi(t,e){e===void 0&&(e=mi);var r=null;function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(r&&r.lastThis===this&&e(n,r.lastArgs))return r.lastResult;var s=t.apply(this,n);return r={lastResult:s,lastArgs:n,lastThis:this},s}return o.clear=function(){r=null},o}for(var bi={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},yi=function(e){return I("span",P({css:bi},e))},wn=yi,Si={guidance:function(e){var r=e.isSearchable,o=e.isMulti,n=e.tabSelectsValue,a=e.context,s=e.isInitialFocus;switch(a){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(n?", press Tab to select the option and exit the menu":"",".");case"input":return s?"".concat(e["aria-label"]||"Select"," is focused ").concat(r?",type to refine list":"",", press Down to open the menu, ").concat(o?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var r=e.action,o=e.label,n=o===void 0?"":o,a=e.labels,s=e.isDisabled;switch(r){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(n,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(a.length>1?"s":""," ").concat(a.join(","),", selected.");case"select-option":return s?"option ".concat(n," is disabled. Select another option."):"option ".concat(n,", selected.");default:return""}},onFocus:function(e){var r=e.context,o=e.focused,n=e.options,a=e.label,s=a===void 0?"":a,u=e.selectValue,i=e.isDisabled,l=e.isSelected,c=e.isAppleDevice,d=function(m,p){return m&&m.length?"".concat(m.indexOf(p)+1," of ").concat(m.length):""};if(r==="value"&&u)return"value ".concat(s," focused, ").concat(d(u,o),".");if(r==="menu"&&c){var g=i?" disabled":"",b="".concat(l?" selected":"").concat(g);return"".concat(s).concat(b,", ").concat(d(n,o),".")}return""},onFilter:function(e){var r=e.inputValue,o=e.resultsMessage;return"".concat(o).concat(r?" for search term "+r:"",".")}},xi=function(e){var r=e.ariaSelection,o=e.focusedOption,n=e.focusedValue,a=e.focusableOptions,s=e.isFocused,u=e.selectValue,i=e.selectProps,l=e.id,c=e.isAppleDevice,d=i.ariaLiveMessages,g=i.getOptionLabel,b=i.inputValue,v=i.isMulti,m=i.isOptionDisabled,p=i.isSearchable,h=i.menuIsOpen,x=i.options,S=i.screenReaderStatus,E=i.tabSelectsValue,f=i.isLoading,O=i["aria-label"],w=i["aria-live"],V=C.useMemo(function(){return M(M({},Si),d||{})},[d]),A=C.useMemo(function(){var R="";if(r&&V.onChange){var $=r.option,te=r.options,X=r.removedValue,le=r.removedValues,ue=r.value,Ye=function(se){return Array.isArray(se)?null:se},H=X||$||Ye(ue),Y=H?g(H):"",ie=te||le||void 0,ce=ie?ie.map(g):[],J=M({isDisabled:H&&m(H,u),label:Y,labels:ce},r);R=V.onChange(J)}return R},[r,V,m,u,g]),_=C.useMemo(function(){var R="",$=o||n,te=!!(o&&u&&u.includes(o));if($&&V.onFocus){var X={focused:$,label:g($),isDisabled:m($,u),isSelected:te,options:a,context:$===o?"menu":"value",selectValue:u,isAppleDevice:c};R=V.onFocus(X)}return R},[o,n,g,m,V,a,u,c]),W=C.useMemo(function(){var R="";if(h&&x.length&&!f&&V.onFilter){var $=S({count:a.length});R=V.onFilter({inputValue:b,resultsMessage:$})}return R},[a,b,h,V,x,S,f]),B=r?.action==="initial-input-focus",oe=C.useMemo(function(){var R="";if(V.guidance){var $=n?"value":h?"menu":"input";R=V.guidance({"aria-label":O,context:$,isDisabled:o&&m(o,u),isMulti:v,isSearchable:p,tabSelectsValue:E,isInitialFocus:B})}return R},[O,o,n,v,m,p,h,V,u,E,B]),ae=I(C.Fragment,null,I("span",{id:"aria-selection"},A),I("span",{id:"aria-focused"},_),I("span",{id:"aria-results"},W),I("span",{id:"aria-guidance"},oe));return I(C.Fragment,null,I(wn,{id:l},B&&ae),I(wn,{"aria-live":w,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},s&&!B&&ae))},wi=xi,gt=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],Oi=new RegExp("["+gt.map(function(t){return t.letters}).join("")+"]","g"),On={},bt=0;bt<gt.length;bt++)for(var yt=gt[bt],St=0;St<yt.letters.length;St++)On[yt.letters[St]]=yt.base;var Cn=function(e){return e.replace(Oi,function(r){return On[r]})},Ci=gi(Cn),In=function(e){return e.replace(/^\s+|\s+$/g,"")},Ii=function(e){return"".concat(e.label," ").concat(e.value)},Mi=function(e){return function(r,o){if(r.data.__isNew__)return!0;var n=M({ignoreCase:!0,ignoreAccents:!0,stringify:Ii,trim:!0,matchFrom:"any"},e),a=n.ignoreCase,s=n.ignoreAccents,u=n.stringify,i=n.trim,l=n.matchFrom,c=i?In(o):o,d=i?In(u(r)):u(r);return a&&(c=c.toLowerCase(),d=d.toLowerCase()),s&&(c=Ci(c),d=Cn(d)),l==="start"?d.substr(0,c.length)===c:d.indexOf(c)>-1}},Pi=["innerRef"];function Ei(t){var e=t.innerRef,r=re(t,Pi),o=ea(r,"onExited","in","enter","exit","appear");return I("input",P({ref:e},o,{css:ct({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var Vi=function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()};function Li(t){var e=t.isEnabled,r=t.onBottomArrive,o=t.onBottomLeave,n=t.onTopArrive,a=t.onTopLeave,s=C.useRef(!1),u=C.useRef(!1),i=C.useRef(0),l=C.useRef(null),c=C.useCallback(function(p,h){if(l.current!==null){var x=l.current,S=x.scrollTop,E=x.scrollHeight,f=x.clientHeight,O=l.current,w=h>0,V=E-f-S,A=!1;V>h&&s.current&&(o&&o(p),s.current=!1),w&&u.current&&(a&&a(p),u.current=!1),w&&h>V?(r&&!s.current&&r(p),O.scrollTop=E,A=!0,s.current=!0):!w&&-h>S&&(n&&!u.current&&n(p),O.scrollTop=0,A=!0,u.current=!0),A&&Vi(p)}},[r,o,n,a]),d=C.useCallback(function(p){c(p,p.deltaY)},[c]),g=C.useCallback(function(p){i.current=p.changedTouches[0].clientY},[]),b=C.useCallback(function(p){var h=i.current-p.changedTouches[0].clientY;c(p,h)},[c]),v=C.useCallback(function(p){if(p){var h=Jo?{passive:!1}:!1;p.addEventListener("wheel",d,h),p.addEventListener("touchstart",g,h),p.addEventListener("touchmove",b,h)}},[b,g,d]),m=C.useCallback(function(p){p&&(p.removeEventListener("wheel",d,!1),p.removeEventListener("touchstart",g,!1),p.removeEventListener("touchmove",b,!1))},[b,g,d]);return C.useEffect(function(){if(e){var p=l.current;return v(p),function(){m(p)}}},[e,v,m]),function(p){l.current=p}}var Mn=["boxSizing","height","overflow","paddingRight","position"],Pn={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function En(t){t.cancelable&&t.preventDefault()}function Vn(t){t.stopPropagation()}function Ln(){var t=this.scrollTop,e=this.scrollHeight,r=t+this.offsetHeight;t===0?this.scrollTop=1:r===e&&(this.scrollTop=t-1)}function Tn(){return"ontouchstart"in window||navigator.maxTouchPoints}var Dn=!!(typeof window<"u"&&window.document&&window.document.createElement),Ce=0,ge={capture:!1,passive:!1};function Ti(t){var e=t.isEnabled,r=t.accountForScrollbars,o=r===void 0?!0:r,n=C.useRef({}),a=C.useRef(null),s=C.useCallback(function(i){if(Dn){var l=document.body,c=l&&l.style;if(o&&Mn.forEach(function(v){var m=c&&c[v];n.current[v]=m}),o&&Ce<1){var d=parseInt(n.current.paddingRight,10)||0,g=document.body?document.body.clientWidth:0,b=window.innerWidth-g+d||0;Object.keys(Pn).forEach(function(v){var m=Pn[v];c&&(c[v]=m)}),c&&(c.paddingRight="".concat(b,"px"))}l&&Tn()&&(l.addEventListener("touchmove",En,ge),i&&(i.addEventListener("touchstart",Ln,ge),i.addEventListener("touchmove",Vn,ge))),Ce+=1}},[o]),u=C.useCallback(function(i){if(Dn){var l=document.body,c=l&&l.style;Ce=Math.max(Ce-1,0),o&&Ce<1&&Mn.forEach(function(d){var g=n.current[d];c&&(c[d]=g)}),l&&Tn()&&(l.removeEventListener("touchmove",En,ge),i&&(i.removeEventListener("touchstart",Ln,ge),i.removeEventListener("touchmove",Vn,ge)))}},[o]);return C.useEffect(function(){if(e){var i=a.current;return s(i),function(){u(i)}}},[e,s,u]),function(i){a.current=i}}var Di=function(e){var r=e.target;return r.ownerDocument.activeElement&&r.ownerDocument.activeElement.blur()},Fi={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function Ai(t){var e=t.children,r=t.lockEnabled,o=t.captureEnabled,n=o===void 0?!0:o,a=t.onBottomArrive,s=t.onBottomLeave,u=t.onTopArrive,i=t.onTopLeave,l=Li({isEnabled:n,onBottomArrive:a,onBottomLeave:s,onTopArrive:u,onTopLeave:i}),c=Ti({isEnabled:r}),d=function(b){l(b),c(b)};return I(C.Fragment,null,r&&I("div",{onClick:Di,css:Fi}),e(d))}var ki={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},Ni=function(e){var r=e.name,o=e.onFocus;return I("input",{required:!0,name:r,tabIndex:-1,"aria-hidden":"true",onFocus:o,css:ki,value:"",onChange:function(){}})},_i=Ni;function xt(t){var e;return typeof window<"u"&&window.navigator!=null?t.test(((e=window.navigator.userAgentData)===null||e===void 0?void 0:e.platform)||window.navigator.platform):!1}function $i(){return xt(/^iPhone/i)}function Fn(){return xt(/^Mac/i)}function Hi(){return xt(/^iPad/i)||Fn()&&navigator.maxTouchPoints>1}function Ri(){return $i()||Hi()}function ji(){return Fn()||Ri()}var Ui=function(e){return e.label},Bi=function(e){return e.label},zi=function(e){return e.value},Wi=function(e){return!!e.isDisabled},Gi={clearIndicator:Ea,container:ga,control:ka,dropdownIndicator:Ma,group:Ha,groupHeading:ja,indicatorsContainer:xa,indicatorSeparator:La,input:Wa,loadingIndicator:Fa,loadingMessage:fa,menu:aa,menuList:ua,menuPortal:va,multiValue:Xa,multiValueLabel:Ja,multiValueRemove:Za,noOptionsMessage:da,option:oi,placeholder:si,singleValue:ci,valueContainer:ya},qi={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},Yi=4,An=4,Ki=38,Xi=An*2,Ji={baseUnit:An,controlHeight:Ki,menuGutter:Xi},wt={borderRadius:Yi,colors:qi,spacing:Ji},Zi={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:cn(),captureMenuScroll:!cn(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Mi(),formatGroupLabel:Ui,getOptionLabel:Bi,getOptionValue:zi,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:Wi,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!Ko(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var r=e.count;return"".concat(r," result").concat(r!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function kn(t,e,r,o){var n=Rn(t,e,r),a=jn(t,e,r),s=Hn(t,e),u=Ge(t,e);return{type:"option",data:e,isDisabled:n,isSelected:a,label:s,value:u,index:o}}function We(t,e){return t.options.map(function(r,o){if("options"in r){var n=r.options.map(function(s,u){return kn(t,s,e,u)}).filter(function(s){return $n(t,s)});return n.length>0?{type:"group",data:r,options:n,index:o}:void 0}var a=kn(t,r,e,o);return $n(t,a)?a:void 0}).filter(Zo)}function Nn(t){return t.reduce(function(e,r){return r.type==="group"?e.push.apply(e,Qe(r.options.map(function(o){return o.data}))):e.push(r.data),e},[])}function _n(t,e){return t.reduce(function(r,o){return o.type==="group"?r.push.apply(r,Qe(o.options.map(function(n){return{data:n.data,id:"".concat(e,"-").concat(o.index,"-").concat(n.index)}}))):r.push({data:o.data,id:"".concat(e,"-").concat(o.index)}),r},[])}function Qi(t,e){return Nn(We(t,e))}function $n(t,e){var r=t.inputValue,o=r===void 0?"":r,n=e.data,a=e.isSelected,s=e.label,u=e.value;return(!Bn(t)||!a)&&Un(t,{label:s,value:u,data:n},o)}function es(t,e){var r=t.focusedValue,o=t.selectValue,n=o.indexOf(r);if(n>-1){var a=e.indexOf(r);if(a>-1)return r;if(n<e.length)return e[n]}return null}function ts(t,e){var r=t.focusedOption;return r&&e.indexOf(r)>-1?r:e[0]}var Ot=function(e,r){var o,n=(o=e.find(function(a){return a.data===r}))===null||o===void 0?void 0:o.id;return n||null},Hn=function(e,r){return e.getOptionLabel(r)},Ge=function(e,r){return e.getOptionValue(r)};function Rn(t,e,r){return typeof t.isOptionDisabled=="function"?t.isOptionDisabled(e,r):!1}function jn(t,e,r){if(r.indexOf(e)>-1)return!0;if(typeof t.isOptionSelected=="function")return t.isOptionSelected(e,r);var o=Ge(t,e);return r.some(function(n){return Ge(t,n)===o})}function Un(t,e,r){return t.filterOption?t.filterOption(e,r):!0}var Bn=function(e){var r=e.hideSelectedOptions,o=e.isMulti;return r===void 0?o:r},ns=1,zn=(function(t){Ir(r,t);var e=Er(r);function r(o){var n;if(Or(this,r),n=e.call(this,o),n.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},n.blockOptionHover=!1,n.isComposing=!1,n.commonProps=void 0,n.initialTouchX=0,n.initialTouchY=0,n.openAfterFocus=!1,n.scrollToFocusedOptionOnUpdate=!1,n.userIsDragging=void 0,n.controlRef=null,n.getControlRef=function(i){n.controlRef=i},n.focusedOptionRef=null,n.getFocusedOptionRef=function(i){n.focusedOptionRef=i},n.menuListRef=null,n.getMenuListRef=function(i){n.menuListRef=i},n.inputRef=null,n.getInputRef=function(i){n.inputRef=i},n.focus=n.focusInput,n.blur=n.blurInput,n.onChange=function(i,l){var c=n.props,d=c.onChange,g=c.name;l.name=g,n.ariaOnChange(i,l),d(i,l)},n.setValue=function(i,l,c){var d=n.props,g=d.closeMenuOnSelect,b=d.isMulti,v=d.inputValue;n.onInputChange("",{action:"set-value",prevInputValue:v}),g&&(n.setState({inputIsHiddenAfterUpdate:!b}),n.onMenuClose()),n.setState({clearFocusValueOnUpdate:!0}),n.onChange(i,{action:l,option:c})},n.selectOption=function(i){var l=n.props,c=l.blurInputOnSelect,d=l.isMulti,g=l.name,b=n.state.selectValue,v=d&&n.isOptionSelected(i,b),m=n.isOptionDisabled(i,b);if(v){var p=n.getOptionValue(i);n.setValue(b.filter(function(h){return n.getOptionValue(h)!==p}),"deselect-option",i)}else if(!m)d?n.setValue([].concat(Qe(b),[i]),"select-option",i):n.setValue(i,"select-option");else{n.ariaOnChange(i,{action:"select-option",option:i,name:g});return}c&&n.blurInput()},n.removeValue=function(i){var l=n.props.isMulti,c=n.state.selectValue,d=n.getOptionValue(i),g=c.filter(function(v){return n.getOptionValue(v)!==d}),b=ze(l,g,g[0]||null);n.onChange(b,{action:"remove-value",removedValue:i}),n.focusInput()},n.clearValue=function(){var i=n.state.selectValue;n.onChange(ze(n.props.isMulti,[],null),{action:"clear",removedValues:i})},n.popValue=function(){var i=n.props.isMulti,l=n.state.selectValue,c=l[l.length-1],d=l.slice(0,l.length-1),g=ze(i,d,d[0]||null);c&&n.onChange(g,{action:"pop-value",removedValue:c})},n.getFocusedOptionId=function(i){return Ot(n.state.focusableOptionsWithIds,i)},n.getFocusableOptionsWithIds=function(){return _n(We(n.props,n.state.selectValue),n.getElementId("option"))},n.getValue=function(){return n.state.selectValue},n.cx=function(){for(var i=arguments.length,l=new Array(i),c=0;c<i;c++)l[c]=arguments[c];return zo.apply(void 0,[n.props.classNamePrefix].concat(l))},n.getOptionLabel=function(i){return Hn(n.props,i)},n.getOptionValue=function(i){return Ge(n.props,i)},n.getStyles=function(i,l){var c=n.props.unstyled,d=Gi[i](l,c);d.boxSizing="border-box";var g=n.props.styles[i];return g?g(d,l):d},n.getClassNames=function(i,l){var c,d;return(c=(d=n.props.classNames)[i])===null||c===void 0?void 0:c.call(d,l)},n.getElementId=function(i){return"".concat(n.state.instancePrefix,"-").concat(i)},n.getComponents=function(){return hi(n.props)},n.buildCategorizedOptions=function(){return We(n.props,n.state.selectValue)},n.getCategorizedOptions=function(){return n.props.menuIsOpen?n.buildCategorizedOptions():[]},n.buildFocusableOptions=function(){return Nn(n.buildCategorizedOptions())},n.getFocusableOptions=function(){return n.props.menuIsOpen?n.buildFocusableOptions():[]},n.ariaOnChange=function(i,l){n.setState({ariaSelection:M({value:i},l)})},n.onMenuMouseDown=function(i){i.button===0&&(i.stopPropagation(),i.preventDefault(),n.focusInput())},n.onMenuMouseMove=function(i){n.blockOptionHover=!1},n.onControlMouseDown=function(i){if(!i.defaultPrevented){var l=n.props.openMenuOnClick;n.state.isFocused?n.props.menuIsOpen?i.target.tagName!=="INPUT"&&i.target.tagName!=="TEXTAREA"&&n.onMenuClose():l&&n.openMenu("first"):(l&&(n.openAfterFocus=!0),n.focusInput()),i.target.tagName!=="INPUT"&&i.target.tagName!=="TEXTAREA"&&i.preventDefault()}},n.onDropdownIndicatorMouseDown=function(i){if(!(i&&i.type==="mousedown"&&i.button!==0)&&!n.props.isDisabled){var l=n.props,c=l.isMulti,d=l.menuIsOpen;n.focusInput(),d?(n.setState({inputIsHiddenAfterUpdate:!c}),n.onMenuClose()):n.openMenu("first"),i.preventDefault()}},n.onClearIndicatorMouseDown=function(i){i&&i.type==="mousedown"&&i.button!==0||(n.clearValue(),i.preventDefault(),n.openAfterFocus=!1,i.type==="touchend"?n.focusInput():setTimeout(function(){return n.focusInput()}))},n.onScroll=function(i){typeof n.props.closeMenuOnScroll=="boolean"?i.target instanceof HTMLElement&&Re(i.target)&&n.props.onMenuClose():typeof n.props.closeMenuOnScroll=="function"&&n.props.closeMenuOnScroll(i)&&n.props.onMenuClose()},n.onCompositionStart=function(){n.isComposing=!0},n.onCompositionEnd=function(){n.isComposing=!1},n.onTouchStart=function(i){var l=i.touches,c=l&&l.item(0);c&&(n.initialTouchX=c.clientX,n.initialTouchY=c.clientY,n.userIsDragging=!1)},n.onTouchMove=function(i){var l=i.touches,c=l&&l.item(0);if(c){var d=Math.abs(c.clientX-n.initialTouchX),g=Math.abs(c.clientY-n.initialTouchY),b=5;n.userIsDragging=d>b||g>b}},n.onTouchEnd=function(i){n.userIsDragging||(n.controlRef&&!n.controlRef.contains(i.target)&&n.menuListRef&&!n.menuListRef.contains(i.target)&&n.blurInput(),n.initialTouchX=0,n.initialTouchY=0)},n.onControlTouchEnd=function(i){n.userIsDragging||n.onControlMouseDown(i)},n.onClearIndicatorTouchEnd=function(i){n.userIsDragging||n.onClearIndicatorMouseDown(i)},n.onDropdownIndicatorTouchEnd=function(i){n.userIsDragging||n.onDropdownIndicatorMouseDown(i)},n.handleInputChange=function(i){var l=n.props.inputValue,c=i.currentTarget.value;n.setState({inputIsHiddenAfterUpdate:!1}),n.onInputChange(c,{action:"input-change",prevInputValue:l}),n.props.menuIsOpen||n.onMenuOpen()},n.onInputFocus=function(i){n.props.onFocus&&n.props.onFocus(i),n.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(n.openAfterFocus||n.props.openMenuOnFocus)&&n.openMenu("first"),n.openAfterFocus=!1},n.onInputBlur=function(i){var l=n.props.inputValue;if(n.menuListRef&&n.menuListRef.contains(document.activeElement)){n.inputRef.focus();return}n.props.onBlur&&n.props.onBlur(i),n.onInputChange("",{action:"input-blur",prevInputValue:l}),n.onMenuClose(),n.setState({focusedValue:null,isFocused:!1})},n.onOptionHover=function(i){if(!(n.blockOptionHover||n.state.focusedOption===i)){var l=n.getFocusableOptions(),c=l.indexOf(i);n.setState({focusedOption:i,focusedOptionId:c>-1?n.getFocusedOptionId(i):null})}},n.shouldHideSelectedOptions=function(){return Bn(n.props)},n.onValueInputFocus=function(i){i.preventDefault(),i.stopPropagation(),n.focus()},n.onKeyDown=function(i){var l=n.props,c=l.isMulti,d=l.backspaceRemovesValue,g=l.escapeClearsValue,b=l.inputValue,v=l.isClearable,m=l.isDisabled,p=l.menuIsOpen,h=l.onKeyDown,x=l.tabSelectsValue,S=l.openMenuOnFocus,E=n.state,f=E.focusedOption,O=E.focusedValue,w=E.selectValue;if(!m&&!(typeof h=="function"&&(h(i),i.defaultPrevented))){switch(n.blockOptionHover=!0,i.key){case"ArrowLeft":if(!c||b)return;n.focusValue("previous");break;case"ArrowRight":if(!c||b)return;n.focusValue("next");break;case"Delete":case"Backspace":if(b)return;if(O)n.removeValue(O);else{if(!d)return;c?n.popValue():v&&n.clearValue()}break;case"Tab":if(n.isComposing||i.shiftKey||!p||!x||!f||S&&n.isOptionSelected(f,w))return;n.selectOption(f);break;case"Enter":if(i.keyCode===229)break;if(p){if(!f||n.isComposing)return;n.selectOption(f);break}return;case"Escape":p?(n.setState({inputIsHiddenAfterUpdate:!1}),n.onInputChange("",{action:"menu-close",prevInputValue:b}),n.onMenuClose()):v&&g&&n.clearValue();break;case" ":if(b)return;if(!p){n.openMenu("first");break}if(!f)return;n.selectOption(f);break;case"ArrowUp":p?n.focusOption("up"):n.openMenu("last");break;case"ArrowDown":p?n.focusOption("down"):n.openMenu("first");break;case"PageUp":if(!p)return;n.focusOption("pageup");break;case"PageDown":if(!p)return;n.focusOption("pagedown");break;case"Home":if(!p)return;n.focusOption("first");break;case"End":if(!p)return;n.focusOption("last");break;default:return}i.preventDefault()}},n.state.instancePrefix="react-select-"+(n.props.instanceId||++ns),n.state.selectValue=an(o.value),o.menuIsOpen&&n.state.selectValue.length){var a=n.getFocusableOptionsWithIds(),s=n.buildFocusableOptions(),u=s.indexOf(n.state.selectValue[0]);n.state.focusableOptionsWithIds=a,n.state.focusedOption=s[u],n.state.focusedOptionId=Ot(a,s[u])}return n}return Cr(r,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&un(this.menuListRef,this.focusedOptionRef),ji()&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(n){var a=this.props,s=a.isDisabled,u=a.menuIsOpen,i=this.state.isFocused;(i&&!s&&n.isDisabled||i&&u&&!n.menuIsOpen)&&this.focusInput(),i&&s&&!n.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!i&&!s&&n.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(un(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(n,a){this.props.onInputChange(n,a)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(n){var a=this,s=this.state,u=s.selectValue,i=s.isFocused,l=this.buildFocusableOptions(),c=n==="first"?0:l.length-1;if(!this.props.isMulti){var d=l.indexOf(u[0]);d>-1&&(c=d)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:l[c],focusedOptionId:this.getFocusedOptionId(l[c])},function(){return a.onMenuOpen()})}},{key:"focusValue",value:function(n){var a=this.state,s=a.selectValue,u=a.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var i=s.indexOf(u);u||(i=-1);var l=s.length-1,c=-1;if(s.length){switch(n){case"previous":i===0?c=0:i===-1?c=l:c=i-1;break;case"next":i>-1&&i<l&&(c=i+1);break}this.setState({inputIsHidden:c!==-1,focusedValue:s[c]})}}}},{key:"focusOption",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",a=this.props.pageSize,s=this.state.focusedOption,u=this.getFocusableOptions();if(u.length){var i=0,l=u.indexOf(s);s||(l=-1),n==="up"?i=l>0?l-1:u.length-1:n==="down"?i=(l+1)%u.length:n==="pageup"?(i=l-a,i<0&&(i=0)):n==="pagedown"?(i=l+a,i>u.length-1&&(i=u.length-1)):n==="last"&&(i=u.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:u[i],focusedValue:null,focusedOptionId:this.getFocusedOptionId(u[i])})}}},{key:"getTheme",value:(function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(wt):M(M({},wt),this.props.theme):wt})},{key:"getCommonProps",value:function(){var n=this.clearValue,a=this.cx,s=this.getStyles,u=this.getClassNames,i=this.getValue,l=this.selectOption,c=this.setValue,d=this.props,g=d.isMulti,b=d.isRtl,v=d.options,m=this.hasValue();return{clearValue:n,cx:a,getStyles:s,getClassNames:u,getValue:i,hasValue:m,isMulti:g,isRtl:b,options:v,selectOption:l,selectProps:d,setValue:c,theme:this.getTheme()}}},{key:"hasValue",value:function(){var n=this.state.selectValue;return n.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var n=this.props,a=n.isClearable,s=n.isMulti;return a===void 0?s:a}},{key:"isOptionDisabled",value:function(n,a){return Rn(this.props,n,a)}},{key:"isOptionSelected",value:function(n,a){return jn(this.props,n,a)}},{key:"filterOption",value:function(n,a){return Un(this.props,n,a)}},{key:"formatOptionLabel",value:function(n,a){if(typeof this.props.formatOptionLabel=="function"){var s=this.props.inputValue,u=this.state.selectValue;return this.props.formatOptionLabel(n,{context:a,inputValue:s,selectValue:u})}else return this.getOptionLabel(n)}},{key:"formatGroupLabel",value:function(n){return this.props.formatGroupLabel(n)}},{key:"startListeningComposition",value:(function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))})},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:(function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))})},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:(function(){var n=this.props,a=n.isDisabled,s=n.isSearchable,u=n.inputId,i=n.inputValue,l=n.tabIndex,c=n.form,d=n.menuIsOpen,g=n.required,b=this.getComponents(),v=b.Input,m=this.state,p=m.inputIsHidden,h=m.ariaSelection,x=this.commonProps,S=u||this.getElementId("input"),E=M(M(M({"aria-autocomplete":"list","aria-expanded":d,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":g,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},d&&{"aria-controls":this.getElementId("listbox")}),!s&&{"aria-readonly":!0}),this.hasValue()?h?.action==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return s?L.createElement(v,P({},x,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:S,innerRef:this.getInputRef,isDisabled:a,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:l,form:c,type:"text",value:i},E)):L.createElement(Ei,P({id:S,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:He,onFocus:this.onInputFocus,disabled:a,tabIndex:l,inputMode:"none",form:c,value:""},E))})},{key:"renderPlaceholderOrValue",value:function(){var n=this,a=this.getComponents(),s=a.MultiValue,u=a.MultiValueContainer,i=a.MultiValueLabel,l=a.MultiValueRemove,c=a.SingleValue,d=a.Placeholder,g=this.commonProps,b=this.props,v=b.controlShouldRenderValue,m=b.isDisabled,p=b.isMulti,h=b.inputValue,x=b.placeholder,S=this.state,E=S.selectValue,f=S.focusedValue,O=S.isFocused;if(!this.hasValue()||!v)return h?null:L.createElement(d,P({},g,{key:"placeholder",isDisabled:m,isFocused:O,innerProps:{id:this.getElementId("placeholder")}}),x);if(p)return E.map(function(V,A){var _=V===f,W="".concat(n.getOptionLabel(V),"-").concat(n.getOptionValue(V));return L.createElement(s,P({},g,{components:{Container:u,Label:i,Remove:l},isFocused:_,isDisabled:m,key:W,index:A,removeProps:{onClick:function(){return n.removeValue(V)},onTouchEnd:function(){return n.removeValue(V)},onMouseDown:function(oe){oe.preventDefault()}},data:V}),n.formatOptionLabel(V,"value"))});if(h)return null;var w=E[0];return L.createElement(c,P({},g,{data:w,isDisabled:m}),this.formatOptionLabel(w,"value"))}},{key:"renderClearIndicator",value:function(){var n=this.getComponents(),a=n.ClearIndicator,s=this.commonProps,u=this.props,i=u.isDisabled,l=u.isLoading,c=this.state.isFocused;if(!this.isClearable()||!a||i||!this.hasValue()||l)return null;var d={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return L.createElement(a,P({},s,{innerProps:d,isFocused:c}))}},{key:"renderLoadingIndicator",value:function(){var n=this.getComponents(),a=n.LoadingIndicator,s=this.commonProps,u=this.props,i=u.isDisabled,l=u.isLoading,c=this.state.isFocused;if(!a||!l)return null;var d={"aria-hidden":"true"};return L.createElement(a,P({},s,{innerProps:d,isDisabled:i,isFocused:c}))}},{key:"renderIndicatorSeparator",value:function(){var n=this.getComponents(),a=n.DropdownIndicator,s=n.IndicatorSeparator;if(!a||!s)return null;var u=this.commonProps,i=this.props.isDisabled,l=this.state.isFocused;return L.createElement(s,P({},u,{isDisabled:i,isFocused:l}))}},{key:"renderDropdownIndicator",value:function(){var n=this.getComponents(),a=n.DropdownIndicator;if(!a)return null;var s=this.commonProps,u=this.props.isDisabled,i=this.state.isFocused,l={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return L.createElement(a,P({},s,{innerProps:l,isDisabled:u,isFocused:i}))}},{key:"renderMenu",value:function(){var n=this,a=this.getComponents(),s=a.Group,u=a.GroupHeading,i=a.Menu,l=a.MenuList,c=a.MenuPortal,d=a.LoadingMessage,g=a.NoOptionsMessage,b=a.Option,v=this.commonProps,m=this.state.focusedOption,p=this.props,h=p.captureMenuScroll,x=p.inputValue,S=p.isLoading,E=p.loadingMessage,f=p.minMenuHeight,O=p.maxMenuHeight,w=p.menuIsOpen,V=p.menuPlacement,A=p.menuPosition,_=p.menuPortalTarget,W=p.menuShouldBlockScroll,B=p.menuShouldScrollIntoView,oe=p.noOptionsMessage,ae=p.onMenuScrollToTop,R=p.onMenuScrollToBottom;if(!w)return null;var $=function(Y,ie){var ce=Y.type,J=Y.data,de=Y.isDisabled,se=Y.isSelected,Ke=Y.label,fs=Y.value,Wn=m===J,Gn=de?void 0:function(){return n.onOptionHover(J)},ps=de?void 0:function(){return n.selectOption(J)},qn="".concat(n.getElementId("option"),"-").concat(ie),hs={id:qn,onClick:ps,onMouseMove:Gn,onMouseOver:Gn,tabIndex:-1,role:"option","aria-selected":n.state.isAppleDevice?void 0:se};return L.createElement(b,P({},v,{innerProps:hs,data:J,isDisabled:de,isSelected:se,key:qn,label:Ke,type:ce,value:fs,isFocused:Wn,innerRef:Wn?n.getFocusedOptionRef:void 0}),n.formatOptionLabel(Y.data,"menu"))},te;if(this.hasOptions())te=this.getCategorizedOptions().map(function(H){if(H.type==="group"){var Y=H.data,ie=H.options,ce=H.index,J="".concat(n.getElementId("group"),"-").concat(ce),de="".concat(J,"-heading");return L.createElement(s,P({},v,{key:J,data:Y,options:ie,Heading:u,headingProps:{id:de,data:H.data},label:n.formatGroupLabel(H.data)}),H.options.map(function(se){return $(se,"".concat(ce,"-").concat(se.index))}))}else if(H.type==="option")return $(H,"".concat(H.index))});else if(S){var X=E({inputValue:x});if(X===null)return null;te=L.createElement(d,v,X)}else{var le=oe({inputValue:x});if(le===null)return null;te=L.createElement(g,v,le)}var ue={minMenuHeight:f,maxMenuHeight:O,menuPlacement:V,menuPosition:A,menuShouldScrollIntoView:B},Ye=L.createElement(ia,P({},v,ue),function(H){var Y=H.ref,ie=H.placerProps,ce=ie.placement,J=ie.maxHeight;return L.createElement(i,P({},v,ue,{innerRef:Y,innerProps:{onMouseDown:n.onMenuMouseDown,onMouseMove:n.onMenuMouseMove},isLoading:S,placement:ce}),L.createElement(Ai,{captureEnabled:h,onTopArrive:ae,onBottomArrive:R,lockEnabled:W},function(de){return L.createElement(l,P({},v,{innerRef:function(Ke){n.getMenuListRef(Ke),de(Ke)},innerProps:{role:"listbox","aria-multiselectable":v.isMulti,id:n.getElementId("listbox")},isLoading:S,maxHeight:J,focusedOption:m}),te)}))});return _||A==="fixed"?L.createElement(c,P({},v,{appendTo:_,controlElement:this.controlRef,menuPlacement:V,menuPosition:A}),Ye):Ye}},{key:"renderFormField",value:function(){var n=this,a=this.props,s=a.delimiter,u=a.isDisabled,i=a.isMulti,l=a.name,c=a.required,d=this.state.selectValue;if(c&&!this.hasValue()&&!u)return L.createElement(_i,{name:l,onFocus:this.onValueInputFocus});if(!(!l||u))if(i)if(s){var g=d.map(function(m){return n.getOptionValue(m)}).join(s);return L.createElement("input",{name:l,type:"hidden",value:g})}else{var b=d.length>0?d.map(function(m,p){return L.createElement("input",{key:"i-".concat(p),name:l,type:"hidden",value:n.getOptionValue(m)})}):L.createElement("input",{name:l,type:"hidden",value:""});return L.createElement("div",null,b)}else{var v=d[0]?this.getOptionValue(d[0]):"";return L.createElement("input",{name:l,type:"hidden",value:v})}}},{key:"renderLiveRegion",value:function(){var n=this.commonProps,a=this.state,s=a.ariaSelection,u=a.focusedOption,i=a.focusedValue,l=a.isFocused,c=a.selectValue,d=this.getFocusableOptions();return L.createElement(wi,P({},n,{id:this.getElementId("live-region"),ariaSelection:s,focusedOption:u,focusedValue:i,isFocused:l,selectValue:c,focusableOptions:d,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var n=this.getComponents(),a=n.Control,s=n.IndicatorsContainer,u=n.SelectContainer,i=n.ValueContainer,l=this.props,c=l.className,d=l.id,g=l.isDisabled,b=l.menuIsOpen,v=this.state.isFocused,m=this.commonProps=this.getCommonProps();return L.createElement(u,P({},m,{className:c,innerProps:{id:d,onKeyDown:this.onKeyDown},isDisabled:g,isFocused:v}),this.renderLiveRegion(),L.createElement(a,P({},m,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:g,isFocused:v,menuIsOpen:b}),L.createElement(i,P({},m,{isDisabled:g}),this.renderPlaceholderOrValue(),this.renderInput()),L.createElement(s,P({},m,{isDisabled:g}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(n,a){var s=a.prevProps,u=a.clearFocusValueOnUpdate,i=a.inputIsHiddenAfterUpdate,l=a.ariaSelection,c=a.isFocused,d=a.prevWasFocused,g=a.instancePrefix,b=n.options,v=n.value,m=n.menuIsOpen,p=n.inputValue,h=n.isMulti,x=an(v),S={};if(s&&(v!==s.value||b!==s.options||m!==s.menuIsOpen||p!==s.inputValue)){var E=m?Qi(n,x):[],f=m?_n(We(n,x),"".concat(g,"-option")):[],O=u?es(a,x):null,w=ts(a,E),V=Ot(f,w);S={selectValue:x,focusedOption:w,focusedOptionId:V,focusableOptionsWithIds:f,focusedValue:O,clearFocusValueOnUpdate:!1}}var A=i!=null&&n!==s?{inputIsHidden:i,inputIsHiddenAfterUpdate:void 0}:{},_=l,W=c&&d;return c&&!W&&(_={value:ze(h,x,x[0]||null),options:x,action:"initial-input-focus"},W=!d),l?.action==="initial-input-focus"&&(_=null),M(M(M({},S),A),{},{prevProps:n,ariaSelection:_,prevWasFocused:W})}}]),r})(C.Component);zn.defaultProps=Zi;var rs=C.forwardRef(function(t,e){var r=wr(t);return L.createElement(zn,P({ref:e},r))}),os=rs;const as=({choices:t,value:e,onChange:r,placeholder:o="Choose…",clearable:n=!1,disabled:a,autoFocus:s})=>{const u=t.find(i=>i.value===e)??null;return y.jsx(os,{inputId:G.useFieldId(),options:t,value:u,onChange:i=>{r(i?.value??"")},placeholder:o,isClearable:n,isDisabled:a,autoFocus:s,noOptionsMessage:()=>"Nothing found",unstyled:!0,classNames:{control:({isFocused:i,isDisabled:l})=>["min-h-[38px] rounded-md border px-3 text-sm shadow-sm",l?"bg-gray-100 text-gray-500":"bg-white",i?"border-gray-900":"border-gray-300"].join(" "),valueContainer:()=>"gap-1 py-2",placeholder:()=>"text-gray-400",input:()=>"text-gray-900",indicatorsContainer:()=>"gap-1",clearIndicator:()=>"cursor-pointer rounded p-1 text-gray-400 hover:bg-gray-100 hover:text-gray-900",dropdownIndicator:()=>"p-1 text-gray-500",menu:()=>"mt-1 overflow-hidden rounded-md border border-gray-200 bg-white text-sm shadow-lg",menuList:()=>"py-1",option:({isFocused:i,isSelected:l})=>["cursor-pointer px-3 py-2",l?"bg-gray-900 text-white":i?"bg-gray-100 text-gray-900":"text-gray-900"].join(" "),noOptionsMessage:()=>"px-3 py-2 text-gray-500"}})},is=({columns:t,rows:e,pageSize:r=20,filterable:o=!0,emptyText:n="Nothing to show.",selection:a})=>{const[s,u]=C.useState(""),i=a?.disabled===!0,[l,c]=C.useState(0),d=s.trim().toLowerCase(),g=d?e.filter(S=>S.searchText.toLowerCase().includes(d)):e,b=Math.max(1,Math.ceil(g.length/r)),v=Math.min(l,b-1),m=g.slice(v*r,(v+1)*r),p=e.some(S=>(S.menu??[]).length>0),h=o||g.length>r,x="rounded-md border border-gray-200 px-2.5 py-1 text-xs font-medium text-gray-700 hover:bg-gray-50 disabled:cursor-not-allowed disabled:opacity-40";return y.jsxs("div",{className:["rounded-lg border border-gray-200",i?"bg-gray-100 text-gray-500":"bg-white"].join(" "),children:[h&&y.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-3 border-b border-gray-200 px-3 py-2",children:[o?y.jsx("input",{type:"search",value:s,placeholder:"Filter","aria-label":"Filter rows",disabled:i,onChange:S=>{u(S.target.value),c(0)},className:"w-full max-w-56 rounded-md border border-gray-300 px-3 py-1 text-sm shadow-sm focus:border-gray-900 focus:outline-none enabled:bg-white disabled:bg-gray-100"}):y.jsx("span",{}),g.length>0&&y.jsxs("div",{className:"flex items-center gap-2 text-xs text-gray-500",children:[y.jsxs("span",{children:[v*r+1,"–",Math.min((v+1)*r,g.length)," of ",g.length]}),g.length>r&&y.jsxs(y.Fragment,{children:[y.jsx("button",{type:"button",disabled:v===0,onClick:()=>{c(v-1)},className:x,children:"Prev"}),y.jsx("button",{type:"button",disabled:v>=b-1,onClick:()=>{c(v+1)},className:x,children:"Next"})]})]})]}),m.length===0?y.jsx("p",{className:"px-4 py-6 text-sm text-gray-500",children:d?"No rows match the filter.":n}):y.jsx("div",{className:"overflow-x-auto",children:y.jsxs("table",{className:"w-full text-left text-sm",children:[y.jsx("thead",{className:h?"bg-gray-50":"bg-gray-50 [&_th:first-child]:rounded-tl-lg [&_th:last-child]:rounded-tr-lg",children:y.jsxs("tr",{className:"border-b border-gray-200",children:[a&&y.jsx("th",{className:"w-10","aria-label":"Selected"}),t.map(S=>y.jsx("th",{className:"px-4 py-2.5 font-medium whitespace-nowrap text-gray-500",children:S.label},S.key)),p&&y.jsx("th",{className:"w-10","aria-label":"Row actions"})]})}),y.jsx("tbody",{children:m.map((S,E)=>y.jsxs("tr",{className:"border-b border-gray-100 last:border-0",children:[a&&S.id!==void 0&&y.jsx("td",{className:"py-2.5 pl-4",children:y.jsx("input",{type:a.mode==="single"?"radio":"checkbox","aria-label":"Select row",checked:a.selected.includes(S.id),disabled:a.disabled,onChange:()=>{const f=S.id??-1,O=a.selected.includes(f);a.onChange(a.mode==="single"?[f]:O?a.selected.filter(w=>w!==f):[...a.selected,f])},className:"accent-gray-900"})}),t.map(f=>y.jsx("td",{className:"px-4 py-2.5",children:S.cells[f.key]},f.key)),p&&y.jsx("td",{className:"px-2 py-1.5",children:S.menu&&S.menu.length>0&&y.jsx(G.RowMenu,{items:S.menu})})]},S.id??v*r+E))})]})})]})},ss=({value:t,onChange:e,...r})=>y.jsx("textarea",{...r,id:G.useFieldId(),value:t,onChange:o=>{e(o.target.value)},className:Ie.CONTROL_CLASS_NAME}),qe="__AWAITIO__",ls=t=>{const e=window[qe],r=document.currentScript,o=r instanceof HTMLScriptElement?r.dataset.type:void 0;if(!e||!o)throw new Error("A component UI script must be loaded by the AwaitIO UI.");e.registerComponent(o,t)},us=t=>{const e=window[qe],r=document.currentScript,o=r instanceof HTMLScriptElement?r.dataset.type:void 0;if(!e||!o)throw new Error("A display component UI script must be loaded by the AwaitIO UI.");e.registerDisplay(o,t)},cs=t=>{const e=window[qe],r=document.currentScript,o=r instanceof HTMLScriptElement?r.dataset.type:void 0;if(!e||!o)throw new Error("A layout UI script must be loaded by the AwaitIO UI.");e.registerLayout(o,t)},ds=t=>{const e=window[qe],r=document.currentScript,o=r instanceof HTMLScriptElement?r.dataset.type:void 0;if(!e||!o)throw new Error("A theme UI script must be loaded by the AwaitIO UI.");e.registerTheme(o,t)},K=Xn({Badge:Zn,Button:Qn,ButtonRow:er,Card:tr,Checkbox:nr,ChoiceList:rr,Field:or,Heading:ar,Hint:ir,Image:sr,Input:lr,Label:ur,Link:cr,Metadata:dr,MultiSelect:fr,NativeSelect:pr,Prose:hr,RowMenu:vr,Select:as,Table:is,Textarea:ss});return Object.values(K).every(t=>t&&t.kind==="awaitio-theme-block")?ds({blocks:Object.fromEntries(Object.entries(K).map(([t,e])=>[t,e.component]))}):K.kind==="awaitio-layout"?cs({component:K.component}):K.kind==="awaitio-display"?us({component:K.component,wrap:K.wrap??!0}):ls({component:K.component,initialValue:K.initialValue,wrap:K.wrap??!0,submitButton:K.submitButton??!0}),Xe.defaultTheme=K,Object.defineProperty(Xe,Symbol.toStringTag,{value:"Module"}),Xe})({},__AWAITIO__.jsxRuntime,__AWAITIO__.ui,__AWAITIO__.React,__AWAITIO__.ReactDOM);
|
|
6
|
+
`]))),Fa=function(e,r){var o=e.isFocused,n=e.size,a=e.theme,s=a.colors,u=a.spacing.baseUnit;return E({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"},r?{}:{color:o?s.neutral60:s.neutral20,padding:u*2})},mt=function(e){var r=e.delay,o=e.offset;return M("span",{css:ct({animation:"".concat(Da," 1s ease-in-out ").concat(r,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:o?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},Aa=function(e){var r=e.innerProps,o=e.isRtl,n=e.size,a=n===void 0?4:n,s=re(e,Oa);return M("div",V({},N(E(E({},s),{},{innerProps:r,isRtl:o,size:a}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),r),M(mt,{delay:0,offset:o}),M(mt,{delay:160,offset:!0}),M(mt,{delay:320,offset:!o}))},ka=function(e,r){var o=e.isDisabled,n=e.isFocused,a=e.theme,s=a.colors,u=a.borderRadius,i=a.spacing;return E({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:i.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},r?{}:{backgroundColor:o?s.neutral5:s.neutral0,borderColor:o?s.neutral10:n?s.primary:s.neutral20,borderRadius:u,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(s.primary):void 0,"&:hover":{borderColor:n?s.primary:s.neutral30}})},Na=function(e){var r=e.children,o=e.isDisabled,n=e.isFocused,a=e.innerRef,s=e.innerProps,u=e.menuIsOpen;return M("div",V({ref:a},N(e,"control",{control:!0,"control--is-disabled":o,"control--is-focused":n,"control--menu-is-open":u}),s,{"aria-disabled":o||void 0}),r)},_a=Na,$a=["data"],Ha=function(e,r){var o=e.theme.spacing;return r?{}:{paddingBottom:o.baseUnit*2,paddingTop:o.baseUnit*2}},Ra=function(e){var r=e.children,o=e.cx,n=e.getStyles,a=e.getClassNames,s=e.Heading,u=e.headingProps,i=e.innerProps,l=e.label,c=e.theme,d=e.selectProps;return M("div",V({},N(e,"group",{group:!0}),i),M(s,V({},u,{selectProps:d,theme:c,getStyles:n,getClassNames:a,cx:o}),l),M("div",null,r))},ja=function(e,r){var o=e.theme,n=o.colors,a=o.spacing;return E({label:"group",cursor:"default",display:"block"},r?{}:{color:n.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:a.baseUnit*3,paddingRight:a.baseUnit*3,textTransform:"uppercase"})},Ua=function(e){var r=sn(e);r.data;var o=re(r,$a);return M("div",V({},N(e,"groupHeading",{"group-heading":!0}),o))},Ba=Ra,za=["innerRef","isDisabled","isHidden","inputClassName"],Wa=function(e,r){var o=e.isDisabled,n=e.value,a=e.theme,s=a.spacing,u=a.colors;return E(E({visibility:o?"hidden":"visible",transform:n?"translateZ(0)":""},Ga),r?{}:{margin:s.baseUnit/2,paddingBottom:s.baseUnit/2,paddingTop:s.baseUnit/2,color:u.neutral80})},yn={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Ga={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":E({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},yn)},qa=function(e){return E({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},yn)},Ya=function(e){var r=e.cx,o=e.value,n=sn(e),a=n.innerRef,s=n.isDisabled,u=n.isHidden,i=n.inputClassName,l=re(n,za);return M("div",V({},N(e,"input",{"input-container":!0}),{"data-value":o||""}),M("input",V({className:r({input:!0},i),ref:a,style:qa(u),disabled:s},l)))},Ka=Ya,Xa=function(e,r){var o=e.theme,n=o.spacing,a=o.borderRadius,s=o.colors;return E({label:"multiValue",display:"flex",minWidth:0},r?{}:{backgroundColor:s.neutral10,borderRadius:a/2,margin:n.baseUnit/2})},Ja=function(e,r){var o=e.theme,n=o.borderRadius,a=o.colors,s=e.cropWithEllipsis;return E({overflow:"hidden",textOverflow:s||s===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},r?{}:{borderRadius:n/2,color:a.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},Za=function(e,r){var o=e.theme,n=o.spacing,a=o.borderRadius,s=o.colors,u=e.isFocused;return E({alignItems:"center",display:"flex"},r?{}:{borderRadius:a/2,backgroundColor:u?s.dangerLight:void 0,paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:s.dangerLight,color:s.danger}})},Sn=function(e){var r=e.children,o=e.innerProps;return M("div",o,r)},Qa=Sn,ei=Sn;function ti(t){var e=t.children,r=t.innerProps;return M("div",V({role:"button"},r),e||M(vt,{size:14}))}var ni=function(e){var r=e.children,o=e.components,n=e.data,a=e.innerProps,s=e.isDisabled,u=e.removeProps,i=e.selectProps,l=o.Container,c=o.Label,d=o.Remove;return M(l,{data:n,innerProps:E(E({},N(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":s})),a),selectProps:i},M(c,{data:n,innerProps:E({},N(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:i},r),M(d,{data:n,innerProps:E(E({},N(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(r||"option")},u),selectProps:i}))},ri=ni,oi=function(e,r){var o=e.isDisabled,n=e.isFocused,a=e.isSelected,s=e.theme,u=s.spacing,i=s.colors;return E({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},r?{}:{backgroundColor:a?i.primary:n?i.primary25:"transparent",color:o?i.neutral20:a?i.neutral0:"inherit",padding:"".concat(u.baseUnit*2,"px ").concat(u.baseUnit*3,"px"),":active":{backgroundColor:o?void 0:a?i.primary:i.primary50}})},ai=function(e){var r=e.children,o=e.isDisabled,n=e.isFocused,a=e.isSelected,s=e.innerRef,u=e.innerProps;return M("div",V({},N(e,"option",{option:!0,"option--is-disabled":o,"option--is-focused":n,"option--is-selected":a}),{ref:s,"aria-disabled":o},u),r)},ii=ai,si=function(e,r){var o=e.theme,n=o.spacing,a=o.colors;return E({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},r?{}:{color:a.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2})},li=function(e){var r=e.children,o=e.innerProps;return M("div",V({},N(e,"placeholder",{placeholder:!0}),o),r)},ui=li,ci=function(e,r){var o=e.isDisabled,n=e.theme,a=n.spacing,s=n.colors;return E({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},r?{}:{color:o?s.neutral40:s.neutral80,marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2})},di=function(e){var r=e.children,o=e.isDisabled,n=e.innerProps;return M("div",V({},N(e,"singleValue",{"single-value":!0,"single-value--is-disabled":o}),n),r)},fi=di,pi={ClearIndicator:Va,Control:_a,DropdownIndicator:Pa,DownChevron:gn,CrossIcon:vt,Group:Ba,GroupHeading:Ua,IndicatorsContainer:wa,IndicatorSeparator:Ta,Input:Ka,LoadingIndicator:Aa,Menu:la,MenuList:ca,MenuPortal:ma,LoadingMessage:ha,NoOptionsMessage:pa,MultiValue:ri,MultiValueContainer:Qa,MultiValueLabel:ei,MultiValueRemove:ti,Option:ii,Placeholder:ui,SelectContainer:ba,SingleValue:fi,ValueContainer:Sa},hi=function(e){return E(E({},pi),e.components)},xn=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function vi(t,e){return!!(t===e||xn(t)&&xn(e))}function mi(t,e){if(t.length!==e.length)return!1;for(var r=0;r<t.length;r++)if(!vi(t[r],e[r]))return!1;return!0}function gi(t,e){e===void 0&&(e=mi);var r=null;function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(r&&r.lastThis===this&&e(n,r.lastArgs))return r.lastResult;var s=t.apply(this,n);return r={lastResult:s,lastArgs:n,lastThis:this},s}return o.clear=function(){r=null},o}for(var bi={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},yi=function(e){return M("span",V({css:bi},e))},wn=yi,Si={guidance:function(e){var r=e.isSearchable,o=e.isMulti,n=e.tabSelectsValue,a=e.context,s=e.isInitialFocus;switch(a){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(n?", press Tab to select the option and exit the menu":"",".");case"input":return s?"".concat(e["aria-label"]||"Select"," is focused ").concat(r?",type to refine list":"",", press Down to open the menu, ").concat(o?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var r=e.action,o=e.label,n=o===void 0?"":o,a=e.labels,s=e.isDisabled;switch(r){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(n,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(a.length>1?"s":""," ").concat(a.join(","),", selected.");case"select-option":return s?"option ".concat(n," is disabled. Select another option."):"option ".concat(n,", selected.");default:return""}},onFocus:function(e){var r=e.context,o=e.focused,n=e.options,a=e.label,s=a===void 0?"":a,u=e.selectValue,i=e.isDisabled,l=e.isSelected,c=e.isAppleDevice,d=function(m,f){return m&&m.length?"".concat(m.indexOf(f)+1," of ").concat(m.length):""};if(r==="value"&&u)return"value ".concat(s," focused, ").concat(d(u,o),".");if(r==="menu"&&c){var g=i?" disabled":"",b="".concat(l?" selected":"").concat(g);return"".concat(s).concat(b,", ").concat(d(n,o),".")}return""},onFilter:function(e){var r=e.inputValue,o=e.resultsMessage;return"".concat(o).concat(r?" for search term "+r:"",".")}},xi=function(e){var r=e.ariaSelection,o=e.focusedOption,n=e.focusedValue,a=e.focusableOptions,s=e.isFocused,u=e.selectValue,i=e.selectProps,l=e.id,c=e.isAppleDevice,d=i.ariaLiveMessages,g=i.getOptionLabel,b=i.inputValue,v=i.isMulti,m=i.isOptionDisabled,f=i.isSearchable,h=i.menuIsOpen,w=i.options,S=i.screenReaderStatus,P=i.tabSelectsValue,p=i.isLoading,O=i["aria-label"],C=i["aria-live"],x=I.useMemo(function(){return E(E({},Si),d||{})},[d]),k=I.useMemo(function(){var j="";if(r&&x.onChange){var $=r.option,te=r.options,X=r.removedValue,le=r.removedValues,ue=r.value,Ye=function(se){return Array.isArray(se)?null:se},H=X||$||Ye(ue),Y=H?g(H):"",ie=te||le||void 0,ce=ie?ie.map(g):[],J=E({isDisabled:H&&m(H,u),label:Y,labels:ce},r);j=x.onChange(J)}return j},[r,x,m,u,g]),A=I.useMemo(function(){var j="",$=o||n,te=!!(o&&u&&u.includes(o));if($&&x.onFocus){var X={focused:$,label:g($),isDisabled:m($,u),isSelected:te,options:a,context:$===o?"menu":"value",selectValue:u,isAppleDevice:c};j=x.onFocus(X)}return j},[o,n,g,m,x,a,u,c]),z=I.useMemo(function(){var j="";if(h&&w.length&&!p&&x.onFilter){var $=S({count:a.length});j=x.onFilter({inputValue:b,resultsMessage:$})}return j},[a,b,h,x,w,S,p]),R=r?.action==="initial-input-focus",oe=I.useMemo(function(){var j="";if(x.guidance){var $=n?"value":h?"menu":"input";j=x.guidance({"aria-label":O,context:$,isDisabled:o&&m(o,u),isMulti:v,isSearchable:f,tabSelectsValue:P,isInitialFocus:R})}return j},[O,o,n,v,m,f,h,x,u,P,R]),ae=M(I.Fragment,null,M("span",{id:"aria-selection"},k),M("span",{id:"aria-focused"},A),M("span",{id:"aria-results"},z),M("span",{id:"aria-guidance"},oe));return M(I.Fragment,null,M(wn,{id:l},R&&ae),M(wn,{"aria-live":C,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},s&&!R&&ae))},wi=xi,gt=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],Ci=new RegExp("["+gt.map(function(t){return t.letters}).join("")+"]","g"),Cn={},bt=0;bt<gt.length;bt++)for(var yt=gt[bt],St=0;St<yt.letters.length;St++)Cn[yt.letters[St]]=yt.base;var On=function(e){return e.replace(Ci,function(r){return Cn[r]})},Oi=gi(On),In=function(e){return e.replace(/^\s+|\s+$/g,"")},Ii=function(e){return"".concat(e.label," ").concat(e.value)},Mi=function(e){return function(r,o){if(r.data.__isNew__)return!0;var n=E({ignoreCase:!0,ignoreAccents:!0,stringify:Ii,trim:!0,matchFrom:"any"},e),a=n.ignoreCase,s=n.ignoreAccents,u=n.stringify,i=n.trim,l=n.matchFrom,c=i?In(o):o,d=i?In(u(r)):u(r);return a&&(c=c.toLowerCase(),d=d.toLowerCase()),s&&(c=Oi(c),d=On(d)),l==="start"?d.substr(0,c.length)===c:d.indexOf(c)>-1}},Pi=["innerRef"];function Ei(t){var e=t.innerRef,r=re(t,Pi),o=ea(r,"onExited","in","enter","exit","appear");return M("input",V({ref:e},o,{css:ct({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var Vi=function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()};function Li(t){var e=t.isEnabled,r=t.onBottomArrive,o=t.onBottomLeave,n=t.onTopArrive,a=t.onTopLeave,s=I.useRef(!1),u=I.useRef(!1),i=I.useRef(0),l=I.useRef(null),c=I.useCallback(function(f,h){if(l.current!==null){var w=l.current,S=w.scrollTop,P=w.scrollHeight,p=w.clientHeight,O=l.current,C=h>0,x=P-p-S,k=!1;x>h&&s.current&&(o&&o(f),s.current=!1),C&&u.current&&(a&&a(f),u.current=!1),C&&h>x?(r&&!s.current&&r(f),O.scrollTop=P,k=!0,s.current=!0):!C&&-h>S&&(n&&!u.current&&n(f),O.scrollTop=0,k=!0,u.current=!0),k&&Vi(f)}},[r,o,n,a]),d=I.useCallback(function(f){c(f,f.deltaY)},[c]),g=I.useCallback(function(f){i.current=f.changedTouches[0].clientY},[]),b=I.useCallback(function(f){var h=i.current-f.changedTouches[0].clientY;c(f,h)},[c]),v=I.useCallback(function(f){if(f){var h=Jo?{passive:!1}:!1;f.addEventListener("wheel",d,h),f.addEventListener("touchstart",g,h),f.addEventListener("touchmove",b,h)}},[b,g,d]),m=I.useCallback(function(f){f&&(f.removeEventListener("wheel",d,!1),f.removeEventListener("touchstart",g,!1),f.removeEventListener("touchmove",b,!1))},[b,g,d]);return I.useEffect(function(){if(e){var f=l.current;return v(f),function(){m(f)}}},[e,v,m]),function(f){l.current=f}}var Mn=["boxSizing","height","overflow","paddingRight","position"],Pn={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function En(t){t.cancelable&&t.preventDefault()}function Vn(t){t.stopPropagation()}function Ln(){var t=this.scrollTop,e=this.scrollHeight,r=t+this.offsetHeight;t===0?this.scrollTop=1:r===e&&(this.scrollTop=t-1)}function Tn(){return"ontouchstart"in window||navigator.maxTouchPoints}var Dn=!!(typeof window<"u"&&window.document&&window.document.createElement),Oe=0,ge={capture:!1,passive:!1};function Ti(t){var e=t.isEnabled,r=t.accountForScrollbars,o=r===void 0?!0:r,n=I.useRef({}),a=I.useRef(null),s=I.useCallback(function(i){if(Dn){var l=document.body,c=l&&l.style;if(o&&Mn.forEach(function(v){var m=c&&c[v];n.current[v]=m}),o&&Oe<1){var d=parseInt(n.current.paddingRight,10)||0,g=document.body?document.body.clientWidth:0,b=window.innerWidth-g+d||0;Object.keys(Pn).forEach(function(v){var m=Pn[v];c&&(c[v]=m)}),c&&(c.paddingRight="".concat(b,"px"))}l&&Tn()&&(l.addEventListener("touchmove",En,ge),i&&(i.addEventListener("touchstart",Ln,ge),i.addEventListener("touchmove",Vn,ge))),Oe+=1}},[o]),u=I.useCallback(function(i){if(Dn){var l=document.body,c=l&&l.style;Oe=Math.max(Oe-1,0),o&&Oe<1&&Mn.forEach(function(d){var g=n.current[d];c&&(c[d]=g)}),l&&Tn()&&(l.removeEventListener("touchmove",En,ge),i&&(i.removeEventListener("touchstart",Ln,ge),i.removeEventListener("touchmove",Vn,ge)))}},[o]);return I.useEffect(function(){if(e){var i=a.current;return s(i),function(){u(i)}}},[e,s,u]),function(i){a.current=i}}var Di=function(e){var r=e.target;return r.ownerDocument.activeElement&&r.ownerDocument.activeElement.blur()},Fi={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function Ai(t){var e=t.children,r=t.lockEnabled,o=t.captureEnabled,n=o===void 0?!0:o,a=t.onBottomArrive,s=t.onBottomLeave,u=t.onTopArrive,i=t.onTopLeave,l=Li({isEnabled:n,onBottomArrive:a,onBottomLeave:s,onTopArrive:u,onTopLeave:i}),c=Ti({isEnabled:r}),d=function(b){l(b),c(b)};return M(I.Fragment,null,r&&M("div",{onClick:Di,css:Fi}),e(d))}var ki={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},Ni=function(e){var r=e.name,o=e.onFocus;return M("input",{required:!0,name:r,tabIndex:-1,"aria-hidden":"true",onFocus:o,css:ki,value:"",onChange:function(){}})},_i=Ni;function xt(t){var e;return typeof window<"u"&&window.navigator!=null?t.test(((e=window.navigator.userAgentData)===null||e===void 0?void 0:e.platform)||window.navigator.platform):!1}function $i(){return xt(/^iPhone/i)}function Fn(){return xt(/^Mac/i)}function Hi(){return xt(/^iPad/i)||Fn()&&navigator.maxTouchPoints>1}function Ri(){return $i()||Hi()}function ji(){return Fn()||Ri()}var Ui=function(e){return e.label},Bi=function(e){return e.label},zi=function(e){return e.value},Wi=function(e){return!!e.isDisabled},Gi={clearIndicator:Ea,container:ga,control:ka,dropdownIndicator:Ma,group:Ha,groupHeading:ja,indicatorsContainer:xa,indicatorSeparator:La,input:Wa,loadingIndicator:Fa,loadingMessage:fa,menu:aa,menuList:ua,menuPortal:va,multiValue:Xa,multiValueLabel:Ja,multiValueRemove:Za,noOptionsMessage:da,option:oi,placeholder:si,singleValue:ci,valueContainer:ya},qi={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},Yi=4,An=4,Ki=38,Xi=An*2,Ji={baseUnit:An,controlHeight:Ki,menuGutter:Xi},wt={borderRadius:Yi,colors:qi,spacing:Ji},Zi={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:cn(),captureMenuScroll:!cn(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Mi(),formatGroupLabel:Ui,getOptionLabel:Bi,getOptionValue:zi,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:Wi,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!Ko(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var r=e.count;return"".concat(r," result").concat(r!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function kn(t,e,r,o){var n=Rn(t,e,r),a=jn(t,e,r),s=Hn(t,e),u=Ge(t,e);return{type:"option",data:e,isDisabled:n,isSelected:a,label:s,value:u,index:o}}function We(t,e){return t.options.map(function(r,o){if("options"in r){var n=r.options.map(function(s,u){return kn(t,s,e,u)}).filter(function(s){return $n(t,s)});return n.length>0?{type:"group",data:r,options:n,index:o}:void 0}var a=kn(t,r,e,o);return $n(t,a)?a:void 0}).filter(Zo)}function Nn(t){return t.reduce(function(e,r){return r.type==="group"?e.push.apply(e,Qe(r.options.map(function(o){return o.data}))):e.push(r.data),e},[])}function _n(t,e){return t.reduce(function(r,o){return o.type==="group"?r.push.apply(r,Qe(o.options.map(function(n){return{data:n.data,id:"".concat(e,"-").concat(o.index,"-").concat(n.index)}}))):r.push({data:o.data,id:"".concat(e,"-").concat(o.index)}),r},[])}function Qi(t,e){return Nn(We(t,e))}function $n(t,e){var r=t.inputValue,o=r===void 0?"":r,n=e.data,a=e.isSelected,s=e.label,u=e.value;return(!Bn(t)||!a)&&Un(t,{label:s,value:u,data:n},o)}function es(t,e){var r=t.focusedValue,o=t.selectValue,n=o.indexOf(r);if(n>-1){var a=e.indexOf(r);if(a>-1)return r;if(n<e.length)return e[n]}return null}function ts(t,e){var r=t.focusedOption;return r&&e.indexOf(r)>-1?r:e[0]}var Ct=function(e,r){var o,n=(o=e.find(function(a){return a.data===r}))===null||o===void 0?void 0:o.id;return n||null},Hn=function(e,r){return e.getOptionLabel(r)},Ge=function(e,r){return e.getOptionValue(r)};function Rn(t,e,r){return typeof t.isOptionDisabled=="function"?t.isOptionDisabled(e,r):!1}function jn(t,e,r){if(r.indexOf(e)>-1)return!0;if(typeof t.isOptionSelected=="function")return t.isOptionSelected(e,r);var o=Ge(t,e);return r.some(function(n){return Ge(t,n)===o})}function Un(t,e,r){return t.filterOption?t.filterOption(e,r):!0}var Bn=function(e){var r=e.hideSelectedOptions,o=e.isMulti;return r===void 0?o:r},ns=1,zn=(function(t){Ir(r,t);var e=Er(r);function r(o){var n;if(Cr(this,r),n=e.call(this,o),n.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},n.blockOptionHover=!1,n.isComposing=!1,n.commonProps=void 0,n.initialTouchX=0,n.initialTouchY=0,n.openAfterFocus=!1,n.scrollToFocusedOptionOnUpdate=!1,n.userIsDragging=void 0,n.controlRef=null,n.getControlRef=function(i){n.controlRef=i},n.focusedOptionRef=null,n.getFocusedOptionRef=function(i){n.focusedOptionRef=i},n.menuListRef=null,n.getMenuListRef=function(i){n.menuListRef=i},n.inputRef=null,n.getInputRef=function(i){n.inputRef=i},n.focus=n.focusInput,n.blur=n.blurInput,n.onChange=function(i,l){var c=n.props,d=c.onChange,g=c.name;l.name=g,n.ariaOnChange(i,l),d(i,l)},n.setValue=function(i,l,c){var d=n.props,g=d.closeMenuOnSelect,b=d.isMulti,v=d.inputValue;n.onInputChange("",{action:"set-value",prevInputValue:v}),g&&(n.setState({inputIsHiddenAfterUpdate:!b}),n.onMenuClose()),n.setState({clearFocusValueOnUpdate:!0}),n.onChange(i,{action:l,option:c})},n.selectOption=function(i){var l=n.props,c=l.blurInputOnSelect,d=l.isMulti,g=l.name,b=n.state.selectValue,v=d&&n.isOptionSelected(i,b),m=n.isOptionDisabled(i,b);if(v){var f=n.getOptionValue(i);n.setValue(b.filter(function(h){return n.getOptionValue(h)!==f}),"deselect-option",i)}else if(!m)d?n.setValue([].concat(Qe(b),[i]),"select-option",i):n.setValue(i,"select-option");else{n.ariaOnChange(i,{action:"select-option",option:i,name:g});return}c&&n.blurInput()},n.removeValue=function(i){var l=n.props.isMulti,c=n.state.selectValue,d=n.getOptionValue(i),g=c.filter(function(v){return n.getOptionValue(v)!==d}),b=ze(l,g,g[0]||null);n.onChange(b,{action:"remove-value",removedValue:i}),n.focusInput()},n.clearValue=function(){var i=n.state.selectValue;n.onChange(ze(n.props.isMulti,[],null),{action:"clear",removedValues:i})},n.popValue=function(){var i=n.props.isMulti,l=n.state.selectValue,c=l[l.length-1],d=l.slice(0,l.length-1),g=ze(i,d,d[0]||null);c&&n.onChange(g,{action:"pop-value",removedValue:c})},n.getFocusedOptionId=function(i){return Ct(n.state.focusableOptionsWithIds,i)},n.getFocusableOptionsWithIds=function(){return _n(We(n.props,n.state.selectValue),n.getElementId("option"))},n.getValue=function(){return n.state.selectValue},n.cx=function(){for(var i=arguments.length,l=new Array(i),c=0;c<i;c++)l[c]=arguments[c];return zo.apply(void 0,[n.props.classNamePrefix].concat(l))},n.getOptionLabel=function(i){return Hn(n.props,i)},n.getOptionValue=function(i){return Ge(n.props,i)},n.getStyles=function(i,l){var c=n.props.unstyled,d=Gi[i](l,c);d.boxSizing="border-box";var g=n.props.styles[i];return g?g(d,l):d},n.getClassNames=function(i,l){var c,d;return(c=(d=n.props.classNames)[i])===null||c===void 0?void 0:c.call(d,l)},n.getElementId=function(i){return"".concat(n.state.instancePrefix,"-").concat(i)},n.getComponents=function(){return hi(n.props)},n.buildCategorizedOptions=function(){return We(n.props,n.state.selectValue)},n.getCategorizedOptions=function(){return n.props.menuIsOpen?n.buildCategorizedOptions():[]},n.buildFocusableOptions=function(){return Nn(n.buildCategorizedOptions())},n.getFocusableOptions=function(){return n.props.menuIsOpen?n.buildFocusableOptions():[]},n.ariaOnChange=function(i,l){n.setState({ariaSelection:E({value:i},l)})},n.onMenuMouseDown=function(i){i.button===0&&(i.stopPropagation(),i.preventDefault(),n.focusInput())},n.onMenuMouseMove=function(i){n.blockOptionHover=!1},n.onControlMouseDown=function(i){if(!i.defaultPrevented){var l=n.props.openMenuOnClick;n.state.isFocused?n.props.menuIsOpen?i.target.tagName!=="INPUT"&&i.target.tagName!=="TEXTAREA"&&n.onMenuClose():l&&n.openMenu("first"):(l&&(n.openAfterFocus=!0),n.focusInput()),i.target.tagName!=="INPUT"&&i.target.tagName!=="TEXTAREA"&&i.preventDefault()}},n.onDropdownIndicatorMouseDown=function(i){if(!(i&&i.type==="mousedown"&&i.button!==0)&&!n.props.isDisabled){var l=n.props,c=l.isMulti,d=l.menuIsOpen;n.focusInput(),d?(n.setState({inputIsHiddenAfterUpdate:!c}),n.onMenuClose()):n.openMenu("first"),i.preventDefault()}},n.onClearIndicatorMouseDown=function(i){i&&i.type==="mousedown"&&i.button!==0||(n.clearValue(),i.preventDefault(),n.openAfterFocus=!1,i.type==="touchend"?n.focusInput():setTimeout(function(){return n.focusInput()}))},n.onScroll=function(i){typeof n.props.closeMenuOnScroll=="boolean"?i.target instanceof HTMLElement&&Re(i.target)&&n.props.onMenuClose():typeof n.props.closeMenuOnScroll=="function"&&n.props.closeMenuOnScroll(i)&&n.props.onMenuClose()},n.onCompositionStart=function(){n.isComposing=!0},n.onCompositionEnd=function(){n.isComposing=!1},n.onTouchStart=function(i){var l=i.touches,c=l&&l.item(0);c&&(n.initialTouchX=c.clientX,n.initialTouchY=c.clientY,n.userIsDragging=!1)},n.onTouchMove=function(i){var l=i.touches,c=l&&l.item(0);if(c){var d=Math.abs(c.clientX-n.initialTouchX),g=Math.abs(c.clientY-n.initialTouchY),b=5;n.userIsDragging=d>b||g>b}},n.onTouchEnd=function(i){n.userIsDragging||(n.controlRef&&!n.controlRef.contains(i.target)&&n.menuListRef&&!n.menuListRef.contains(i.target)&&n.blurInput(),n.initialTouchX=0,n.initialTouchY=0)},n.onControlTouchEnd=function(i){n.userIsDragging||n.onControlMouseDown(i)},n.onClearIndicatorTouchEnd=function(i){n.userIsDragging||n.onClearIndicatorMouseDown(i)},n.onDropdownIndicatorTouchEnd=function(i){n.userIsDragging||n.onDropdownIndicatorMouseDown(i)},n.handleInputChange=function(i){var l=n.props.inputValue,c=i.currentTarget.value;n.setState({inputIsHiddenAfterUpdate:!1}),n.onInputChange(c,{action:"input-change",prevInputValue:l}),n.props.menuIsOpen||n.onMenuOpen()},n.onInputFocus=function(i){n.props.onFocus&&n.props.onFocus(i),n.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(n.openAfterFocus||n.props.openMenuOnFocus)&&n.openMenu("first"),n.openAfterFocus=!1},n.onInputBlur=function(i){var l=n.props.inputValue;if(n.menuListRef&&n.menuListRef.contains(document.activeElement)){n.inputRef.focus();return}n.props.onBlur&&n.props.onBlur(i),n.onInputChange("",{action:"input-blur",prevInputValue:l}),n.onMenuClose(),n.setState({focusedValue:null,isFocused:!1})},n.onOptionHover=function(i){if(!(n.blockOptionHover||n.state.focusedOption===i)){var l=n.getFocusableOptions(),c=l.indexOf(i);n.setState({focusedOption:i,focusedOptionId:c>-1?n.getFocusedOptionId(i):null})}},n.shouldHideSelectedOptions=function(){return Bn(n.props)},n.onValueInputFocus=function(i){i.preventDefault(),i.stopPropagation(),n.focus()},n.onKeyDown=function(i){var l=n.props,c=l.isMulti,d=l.backspaceRemovesValue,g=l.escapeClearsValue,b=l.inputValue,v=l.isClearable,m=l.isDisabled,f=l.menuIsOpen,h=l.onKeyDown,w=l.tabSelectsValue,S=l.openMenuOnFocus,P=n.state,p=P.focusedOption,O=P.focusedValue,C=P.selectValue;if(!m&&!(typeof h=="function"&&(h(i),i.defaultPrevented))){switch(n.blockOptionHover=!0,i.key){case"ArrowLeft":if(!c||b)return;n.focusValue("previous");break;case"ArrowRight":if(!c||b)return;n.focusValue("next");break;case"Delete":case"Backspace":if(b)return;if(O)n.removeValue(O);else{if(!d)return;c?n.popValue():v&&n.clearValue()}break;case"Tab":if(n.isComposing||i.shiftKey||!f||!w||!p||S&&n.isOptionSelected(p,C))return;n.selectOption(p);break;case"Enter":if(i.keyCode===229)break;if(f){if(!p||n.isComposing)return;n.selectOption(p);break}return;case"Escape":f?(n.setState({inputIsHiddenAfterUpdate:!1}),n.onInputChange("",{action:"menu-close",prevInputValue:b}),n.onMenuClose()):v&&g&&n.clearValue();break;case" ":if(b)return;if(!f){n.openMenu("first");break}if(!p)return;n.selectOption(p);break;case"ArrowUp":f?n.focusOption("up"):n.openMenu("last");break;case"ArrowDown":f?n.focusOption("down"):n.openMenu("first");break;case"PageUp":if(!f)return;n.focusOption("pageup");break;case"PageDown":if(!f)return;n.focusOption("pagedown");break;case"Home":if(!f)return;n.focusOption("first");break;case"End":if(!f)return;n.focusOption("last");break;default:return}i.preventDefault()}},n.state.instancePrefix="react-select-"+(n.props.instanceId||++ns),n.state.selectValue=an(o.value),o.menuIsOpen&&n.state.selectValue.length){var a=n.getFocusableOptionsWithIds(),s=n.buildFocusableOptions(),u=s.indexOf(n.state.selectValue[0]);n.state.focusableOptionsWithIds=a,n.state.focusedOption=s[u],n.state.focusedOptionId=Ct(a,s[u])}return n}return Or(r,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&un(this.menuListRef,this.focusedOptionRef),ji()&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(n){var a=this.props,s=a.isDisabled,u=a.menuIsOpen,i=this.state.isFocused;(i&&!s&&n.isDisabled||i&&u&&!n.menuIsOpen)&&this.focusInput(),i&&s&&!n.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!i&&!s&&n.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(un(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(n,a){this.props.onInputChange(n,a)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(n){var a=this,s=this.state,u=s.selectValue,i=s.isFocused,l=this.buildFocusableOptions(),c=n==="first"?0:l.length-1;if(!this.props.isMulti){var d=l.indexOf(u[0]);d>-1&&(c=d)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:l[c],focusedOptionId:this.getFocusedOptionId(l[c])},function(){return a.onMenuOpen()})}},{key:"focusValue",value:function(n){var a=this.state,s=a.selectValue,u=a.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var i=s.indexOf(u);u||(i=-1);var l=s.length-1,c=-1;if(s.length){switch(n){case"previous":i===0?c=0:i===-1?c=l:c=i-1;break;case"next":i>-1&&i<l&&(c=i+1);break}this.setState({inputIsHidden:c!==-1,focusedValue:s[c]})}}}},{key:"focusOption",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",a=this.props.pageSize,s=this.state.focusedOption,u=this.getFocusableOptions();if(u.length){var i=0,l=u.indexOf(s);s||(l=-1),n==="up"?i=l>0?l-1:u.length-1:n==="down"?i=(l+1)%u.length:n==="pageup"?(i=l-a,i<0&&(i=0)):n==="pagedown"?(i=l+a,i>u.length-1&&(i=u.length-1)):n==="last"&&(i=u.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:u[i],focusedValue:null,focusedOptionId:this.getFocusedOptionId(u[i])})}}},{key:"getTheme",value:(function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(wt):E(E({},wt),this.props.theme):wt})},{key:"getCommonProps",value:function(){var n=this.clearValue,a=this.cx,s=this.getStyles,u=this.getClassNames,i=this.getValue,l=this.selectOption,c=this.setValue,d=this.props,g=d.isMulti,b=d.isRtl,v=d.options,m=this.hasValue();return{clearValue:n,cx:a,getStyles:s,getClassNames:u,getValue:i,hasValue:m,isMulti:g,isRtl:b,options:v,selectOption:l,selectProps:d,setValue:c,theme:this.getTheme()}}},{key:"hasValue",value:function(){var n=this.state.selectValue;return n.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var n=this.props,a=n.isClearable,s=n.isMulti;return a===void 0?s:a}},{key:"isOptionDisabled",value:function(n,a){return Rn(this.props,n,a)}},{key:"isOptionSelected",value:function(n,a){return jn(this.props,n,a)}},{key:"filterOption",value:function(n,a){return Un(this.props,n,a)}},{key:"formatOptionLabel",value:function(n,a){if(typeof this.props.formatOptionLabel=="function"){var s=this.props.inputValue,u=this.state.selectValue;return this.props.formatOptionLabel(n,{context:a,inputValue:s,selectValue:u})}else return this.getOptionLabel(n)}},{key:"formatGroupLabel",value:function(n){return this.props.formatGroupLabel(n)}},{key:"startListeningComposition",value:(function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))})},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:(function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))})},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:(function(){var n=this.props,a=n.isDisabled,s=n.isSearchable,u=n.inputId,i=n.inputValue,l=n.tabIndex,c=n.form,d=n.menuIsOpen,g=n.required,b=this.getComponents(),v=b.Input,m=this.state,f=m.inputIsHidden,h=m.ariaSelection,w=this.commonProps,S=u||this.getElementId("input"),P=E(E(E({"aria-autocomplete":"list","aria-expanded":d,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":g,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},d&&{"aria-controls":this.getElementId("listbox")}),!s&&{"aria-readonly":!0}),this.hasValue()?h?.action==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return s?L.createElement(v,V({},w,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:S,innerRef:this.getInputRef,isDisabled:a,isHidden:f,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:l,form:c,type:"text",value:i},P)):L.createElement(Ei,V({id:S,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:He,onFocus:this.onInputFocus,disabled:a,tabIndex:l,inputMode:"none",form:c,value:""},P))})},{key:"renderPlaceholderOrValue",value:function(){var n=this,a=this.getComponents(),s=a.MultiValue,u=a.MultiValueContainer,i=a.MultiValueLabel,l=a.MultiValueRemove,c=a.SingleValue,d=a.Placeholder,g=this.commonProps,b=this.props,v=b.controlShouldRenderValue,m=b.isDisabled,f=b.isMulti,h=b.inputValue,w=b.placeholder,S=this.state,P=S.selectValue,p=S.focusedValue,O=S.isFocused;if(!this.hasValue()||!v)return h?null:L.createElement(d,V({},g,{key:"placeholder",isDisabled:m,isFocused:O,innerProps:{id:this.getElementId("placeholder")}}),w);if(f)return P.map(function(x,k){var A=x===p,z="".concat(n.getOptionLabel(x),"-").concat(n.getOptionValue(x));return L.createElement(s,V({},g,{components:{Container:u,Label:i,Remove:l},isFocused:A,isDisabled:m,key:z,index:k,removeProps:{onClick:function(){return n.removeValue(x)},onTouchEnd:function(){return n.removeValue(x)},onMouseDown:function(oe){oe.preventDefault()}},data:x}),n.formatOptionLabel(x,"value"))});if(h)return null;var C=P[0];return L.createElement(c,V({},g,{data:C,isDisabled:m}),this.formatOptionLabel(C,"value"))}},{key:"renderClearIndicator",value:function(){var n=this.getComponents(),a=n.ClearIndicator,s=this.commonProps,u=this.props,i=u.isDisabled,l=u.isLoading,c=this.state.isFocused;if(!this.isClearable()||!a||i||!this.hasValue()||l)return null;var d={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return L.createElement(a,V({},s,{innerProps:d,isFocused:c}))}},{key:"renderLoadingIndicator",value:function(){var n=this.getComponents(),a=n.LoadingIndicator,s=this.commonProps,u=this.props,i=u.isDisabled,l=u.isLoading,c=this.state.isFocused;if(!a||!l)return null;var d={"aria-hidden":"true"};return L.createElement(a,V({},s,{innerProps:d,isDisabled:i,isFocused:c}))}},{key:"renderIndicatorSeparator",value:function(){var n=this.getComponents(),a=n.DropdownIndicator,s=n.IndicatorSeparator;if(!a||!s)return null;var u=this.commonProps,i=this.props.isDisabled,l=this.state.isFocused;return L.createElement(s,V({},u,{isDisabled:i,isFocused:l}))}},{key:"renderDropdownIndicator",value:function(){var n=this.getComponents(),a=n.DropdownIndicator;if(!a)return null;var s=this.commonProps,u=this.props.isDisabled,i=this.state.isFocused,l={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return L.createElement(a,V({},s,{innerProps:l,isDisabled:u,isFocused:i}))}},{key:"renderMenu",value:function(){var n=this,a=this.getComponents(),s=a.Group,u=a.GroupHeading,i=a.Menu,l=a.MenuList,c=a.MenuPortal,d=a.LoadingMessage,g=a.NoOptionsMessage,b=a.Option,v=this.commonProps,m=this.state.focusedOption,f=this.props,h=f.captureMenuScroll,w=f.inputValue,S=f.isLoading,P=f.loadingMessage,p=f.minMenuHeight,O=f.maxMenuHeight,C=f.menuIsOpen,x=f.menuPlacement,k=f.menuPosition,A=f.menuPortalTarget,z=f.menuShouldBlockScroll,R=f.menuShouldScrollIntoView,oe=f.noOptionsMessage,ae=f.onMenuScrollToTop,j=f.onMenuScrollToBottom;if(!C)return null;var $=function(Y,ie){var ce=Y.type,J=Y.data,de=Y.isDisabled,se=Y.isSelected,Ke=Y.label,fs=Y.value,Wn=m===J,Gn=de?void 0:function(){return n.onOptionHover(J)},ps=de?void 0:function(){return n.selectOption(J)},qn="".concat(n.getElementId("option"),"-").concat(ie),hs={id:qn,onClick:ps,onMouseMove:Gn,onMouseOver:Gn,tabIndex:-1,role:"option","aria-selected":n.state.isAppleDevice?void 0:se};return L.createElement(b,V({},v,{innerProps:hs,data:J,isDisabled:de,isSelected:se,key:qn,label:Ke,type:ce,value:fs,isFocused:Wn,innerRef:Wn?n.getFocusedOptionRef:void 0}),n.formatOptionLabel(Y.data,"menu"))},te;if(this.hasOptions())te=this.getCategorizedOptions().map(function(H){if(H.type==="group"){var Y=H.data,ie=H.options,ce=H.index,J="".concat(n.getElementId("group"),"-").concat(ce),de="".concat(J,"-heading");return L.createElement(s,V({},v,{key:J,data:Y,options:ie,Heading:u,headingProps:{id:de,data:H.data},label:n.formatGroupLabel(H.data)}),H.options.map(function(se){return $(se,"".concat(ce,"-").concat(se.index))}))}else if(H.type==="option")return $(H,"".concat(H.index))});else if(S){var X=P({inputValue:w});if(X===null)return null;te=L.createElement(d,v,X)}else{var le=oe({inputValue:w});if(le===null)return null;te=L.createElement(g,v,le)}var ue={minMenuHeight:p,maxMenuHeight:O,menuPlacement:x,menuPosition:k,menuShouldScrollIntoView:R},Ye=L.createElement(ia,V({},v,ue),function(H){var Y=H.ref,ie=H.placerProps,ce=ie.placement,J=ie.maxHeight;return L.createElement(i,V({},v,ue,{innerRef:Y,innerProps:{onMouseDown:n.onMenuMouseDown,onMouseMove:n.onMenuMouseMove},isLoading:S,placement:ce}),L.createElement(Ai,{captureEnabled:h,onTopArrive:ae,onBottomArrive:j,lockEnabled:z},function(de){return L.createElement(l,V({},v,{innerRef:function(Ke){n.getMenuListRef(Ke),de(Ke)},innerProps:{role:"listbox","aria-multiselectable":v.isMulti,id:n.getElementId("listbox")},isLoading:S,maxHeight:J,focusedOption:m}),te)}))});return A||k==="fixed"?L.createElement(c,V({},v,{appendTo:A,controlElement:this.controlRef,menuPlacement:x,menuPosition:k}),Ye):Ye}},{key:"renderFormField",value:function(){var n=this,a=this.props,s=a.delimiter,u=a.isDisabled,i=a.isMulti,l=a.name,c=a.required,d=this.state.selectValue;if(c&&!this.hasValue()&&!u)return L.createElement(_i,{name:l,onFocus:this.onValueInputFocus});if(!(!l||u))if(i)if(s){var g=d.map(function(m){return n.getOptionValue(m)}).join(s);return L.createElement("input",{name:l,type:"hidden",value:g})}else{var b=d.length>0?d.map(function(m,f){return L.createElement("input",{key:"i-".concat(f),name:l,type:"hidden",value:n.getOptionValue(m)})}):L.createElement("input",{name:l,type:"hidden",value:""});return L.createElement("div",null,b)}else{var v=d[0]?this.getOptionValue(d[0]):"";return L.createElement("input",{name:l,type:"hidden",value:v})}}},{key:"renderLiveRegion",value:function(){var n=this.commonProps,a=this.state,s=a.ariaSelection,u=a.focusedOption,i=a.focusedValue,l=a.isFocused,c=a.selectValue,d=this.getFocusableOptions();return L.createElement(wi,V({},n,{id:this.getElementId("live-region"),ariaSelection:s,focusedOption:u,focusedValue:i,isFocused:l,selectValue:c,focusableOptions:d,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var n=this.getComponents(),a=n.Control,s=n.IndicatorsContainer,u=n.SelectContainer,i=n.ValueContainer,l=this.props,c=l.className,d=l.id,g=l.isDisabled,b=l.menuIsOpen,v=this.state.isFocused,m=this.commonProps=this.getCommonProps();return L.createElement(u,V({},m,{className:c,innerProps:{id:d,onKeyDown:this.onKeyDown},isDisabled:g,isFocused:v}),this.renderLiveRegion(),L.createElement(a,V({},m,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:g,isFocused:v,menuIsOpen:b}),L.createElement(i,V({},m,{isDisabled:g}),this.renderPlaceholderOrValue(),this.renderInput()),L.createElement(s,V({},m,{isDisabled:g}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(n,a){var s=a.prevProps,u=a.clearFocusValueOnUpdate,i=a.inputIsHiddenAfterUpdate,l=a.ariaSelection,c=a.isFocused,d=a.prevWasFocused,g=a.instancePrefix,b=n.options,v=n.value,m=n.menuIsOpen,f=n.inputValue,h=n.isMulti,w=an(v),S={};if(s&&(v!==s.value||b!==s.options||m!==s.menuIsOpen||f!==s.inputValue)){var P=m?Qi(n,w):[],p=m?_n(We(n,w),"".concat(g,"-option")):[],O=u?es(a,w):null,C=ts(a,P),x=Ct(p,C);S={selectValue:w,focusedOption:C,focusedOptionId:x,focusableOptionsWithIds:p,focusedValue:O,clearFocusValueOnUpdate:!1}}var k=i!=null&&n!==s?{inputIsHidden:i,inputIsHiddenAfterUpdate:void 0}:{},A=l,z=c&&d;return c&&!z&&(A={value:ze(h,w,w[0]||null),options:w,action:"initial-input-focus"},z=!d),l?.action==="initial-input-focus"&&(A=null),E(E(E({},S),k),{},{prevProps:n,ariaSelection:A,prevWasFocused:z})}}]),r})(I.Component);zn.defaultProps=Zi;var rs=I.forwardRef(function(t,e){var r=wr(t);return L.createElement(zn,V({ref:e},r))}),os=rs;const as=({choices:t,value:e,onChange:r,placeholder:o="Choose…",clearable:n=!1,disabled:a,autoFocus:s})=>{const u=t.find(i=>i.value===e)??null;return y.jsx(os,{inputId:W.useFieldId(),options:t,value:u,onChange:i=>{r(i?.value??"")},placeholder:o,isClearable:n,isDisabled:a,autoFocus:s,noOptionsMessage:()=>"Nothing found",unstyled:!0,classNames:{control:({isFocused:i,isDisabled:l})=>["min-h-[38px] rounded-md border px-3 text-sm shadow-sm",l?"bg-gray-100 text-gray-500":"bg-white",i?"border-gray-900":"border-gray-300"].join(" "),valueContainer:()=>"gap-1 py-2",placeholder:()=>"text-gray-400",input:()=>"text-gray-900",indicatorsContainer:()=>"gap-1",clearIndicator:()=>"cursor-pointer rounded p-1 text-gray-400 hover:bg-gray-100 hover:text-gray-900",dropdownIndicator:()=>"p-1 text-gray-500",menu:()=>"mt-1 overflow-hidden rounded-md border border-gray-200 bg-white text-sm shadow-lg",menuList:()=>"py-1",option:({isFocused:i,isSelected:l})=>["cursor-pointer px-3 py-2",l?"bg-gray-900 text-white":i?"bg-gray-100 text-gray-900":"text-gray-900"].join(" "),noOptionsMessage:()=>"px-3 py-2 text-gray-500"}})},is=({columns:t,rows:e,pageSize:r=20,filterable:o=!0,emptyText:n="Nothing to show.",selection:a})=>{const[s,u]=I.useState(""),i=a?.disabled===!0,[l,c]=I.useState(0),d=s.trim().toLowerCase(),g=d?e.filter(x=>x.searchText.toLowerCase().includes(d)):e,b=Math.max(1,Math.ceil(g.length/r)),v=Math.min(l,b-1),m=g.slice(v*r,(v+1)*r),f=e.some(x=>(x.menu??[]).length>0),h=a?.mode==="multiple",w=o||g.length>r||h,S=g.flatMap(x=>x.id===void 0?[]:[x.id]),P=a?.selected??[],p=[...new Set([...P,...S])],O=a&&h&&!i?[...p.length>P.length&&p.length<=(a.maxSelections??1/0)?[{label:"Select all",onClick:()=>{a.onChange(p)}}]:[],...S.some(x=>P.includes(x))?[{label:"Clear all",onClick:()=>{a.onChange(P.filter(x=>!S.includes(x)))}}]:[]]:[],C="rounded-md border border-gray-200 px-2.5 py-1 text-xs font-medium text-gray-700 hover:bg-gray-50 disabled:cursor-not-allowed disabled:opacity-40";return y.jsxs("div",{className:["rounded-lg border border-gray-200",i?"bg-gray-100 text-gray-500":"bg-white"].join(" "),children:[w&&y.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-3 border-b border-gray-200 px-3 py-2",children:[o?y.jsx("input",{type:"search",value:s,placeholder:"Filter","aria-label":"Filter rows",disabled:i,onChange:x=>{u(x.target.value),c(0)},className:"w-full max-w-56 rounded-md border border-gray-300 px-3 py-1 text-sm shadow-sm focus:border-gray-900 focus:outline-none enabled:bg-white disabled:bg-gray-100"}):y.jsx("span",{}),g.length>0&&y.jsxs("div",{className:"flex items-center gap-2 text-xs text-gray-500",children:[y.jsxs("span",{children:[v*r+1,"–",Math.min((v+1)*r,g.length)," of ",g.length]}),g.length>r&&y.jsxs(y.Fragment,{children:[y.jsx("button",{type:"button",disabled:v===0,onClick:()=>{c(v-1)},className:C,children:"Prev"}),y.jsx("button",{type:"button",disabled:v>=b-1,onClick:()=>{c(v+1)},className:C,children:"Next"})]}),O.length>0&&y.jsx(W.RowMenu,{label:"Table actions",items:O})]})]}),m.length===0?y.jsx("p",{className:"px-4 py-6 text-sm text-gray-500",children:d?"No rows match the filter.":n}):y.jsx("div",{className:"overflow-x-auto",children:y.jsxs("table",{className:"w-full text-left text-sm",children:[y.jsx("thead",{className:w?"bg-gray-50":"bg-gray-50 [&_th:first-child]:rounded-tl-lg [&_th:last-child]:rounded-tr-lg",children:y.jsxs("tr",{className:"border-b border-gray-200",children:[a&&y.jsx("th",{className:"w-10","aria-label":"Selected"}),t.map(x=>y.jsx("th",{className:"px-4 py-2.5 font-medium whitespace-nowrap text-gray-500",children:x.label},x.key)),f&&y.jsx("th",{className:"w-10","aria-label":"Row actions"})]})}),y.jsx("tbody",{children:m.map((x,k)=>y.jsxs("tr",{className:"border-b border-gray-100 last:border-0",children:[a&&x.id!==void 0&&y.jsx("td",{className:"py-2.5 pl-4",children:y.jsx("input",{type:a.mode==="single"?"radio":"checkbox","aria-label":"Select row",checked:a.selected.includes(x.id),disabled:a.disabled,onChange:()=>{const A=x.id??-1,z=a.selected.includes(A);a.onChange(a.mode==="single"?[A]:z?a.selected.filter(R=>R!==A):[...a.selected,A])},className:"accent-gray-900"})}),t.map(A=>y.jsx("td",{className:"px-4 py-2.5 wrap-anywhere",children:x.cells[A.key]},A.key)),f&&y.jsx("td",{className:"px-2 py-1.5",children:x.menu&&x.menu.length>0&&y.jsx(W.RowMenu,{items:x.menu})})]},x.id??v*r+k))})]})})]})},ss=({value:t,onChange:e,...r})=>y.jsx("textarea",{...r,id:W.useFieldId(),value:t,onChange:o=>{e(o.target.value)},className:Ie.CONTROL_CLASS_NAME}),qe="__AWAITIO__",ls=t=>{const e=window[qe],r=document.currentScript,o=r instanceof HTMLScriptElement?r.dataset.type:void 0;if(!e||!o)throw new Error("A component UI script must be loaded by the AwaitIO UI.");e.registerComponent(o,t)},us=t=>{const e=window[qe],r=document.currentScript,o=r instanceof HTMLScriptElement?r.dataset.type:void 0;if(!e||!o)throw new Error("A display component UI script must be loaded by the AwaitIO UI.");e.registerDisplay(o,t)},cs=t=>{const e=window[qe],r=document.currentScript,o=r instanceof HTMLScriptElement?r.dataset.type:void 0;if(!e||!o)throw new Error("A layout UI script must be loaded by the AwaitIO UI.");e.registerLayout(o,t)},ds=t=>{const e=window[qe],r=document.currentScript,o=r instanceof HTMLScriptElement?r.dataset.type:void 0;if(!e||!o)throw new Error("A theme UI script must be loaded by the AwaitIO UI.");e.registerTheme(o,t)},K=Xn({Badge:Zn,Button:Qn,ButtonRow:er,Card:tr,Checkbox:nr,ChoiceList:rr,Field:or,Heading:ar,Hint:ir,Image:sr,Input:lr,Label:ur,Link:cr,Metadata:dr,MultiSelect:fr,NativeSelect:pr,Prose:hr,RowMenu:vr,Select:as,Table:is,Textarea:ss});return Object.values(K).every(t=>t&&t.kind==="awaitio-theme-block")?ds({blocks:Object.fromEntries(Object.entries(K).map(([t,e])=>[t,e.component]))}):K.kind==="awaitio-layout"?cs({component:K.component}):K.kind==="awaitio-display"?us({component:K.component,wrap:K.wrap??!0}):ls({component:K.component,initialValue:K.initialValue,wrap:K.wrap??!0,submitButton:K.submitButton??!0}),Xe.defaultTheme=K,Object.defineProperty(Xe,Symbol.toStringTag,{value:"Module"}),Xe})({},__AWAITIO__.jsxRuntime,__AWAITIO__.ui,__AWAITIO__.React,__AWAITIO__.ReactDOM);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@awaitio/theme-default",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "The default look of AwaitIO: every block of awaitio/ui, with its styles.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"peerDependencies": {
|
|
12
12
|
"@types/react": "^19.0.0",
|
|
13
13
|
"zod": "^3.25.0 || ^4.0.0",
|
|
14
|
-
"awaitio": "^1.
|
|
14
|
+
"awaitio": "^1.3.0"
|
|
15
15
|
},
|
|
16
16
|
"peerDependenciesMeta": {
|
|
17
17
|
"@types/react": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"vite": "^7.1.0",
|
|
34
34
|
"vitest": "^3.2.0",
|
|
35
35
|
"zod": "^4.3.6",
|
|
36
|
-
"awaitio": "1.
|
|
36
|
+
"awaitio": "1.3.0"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"build": "rm -rf dist && tsc -p tsconfig.build.json && vite build",
|