@sakura-ui/sakura-ui 0.1.21 → 0.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/README.md +16 -6
- package/package.json +26 -20
- package/packages/core/package.json +30 -18
- package/packages/core/src/components/Button.tsx +33 -32
- package/packages/core/src/components/Card.tsx +38 -20
- package/packages/core/src/components/Code.tsx +6 -4
- package/packages/core/src/components/Faq.tsx +13 -7
- package/packages/core/src/components/Heading.tsx +42 -32
- package/packages/core/src/components/Icon.tsx +43 -13
- package/packages/core/src/components/IconButton.tsx +56 -45
- package/packages/core/src/components/LangSelector.tsx +135 -0
- package/packages/core/src/components/Link.tsx +38 -65
- package/packages/core/src/components/LinkCard.tsx +91 -0
- package/packages/core/src/components/List.tsx +14 -12
- package/packages/core/src/components/MenuButton.tsx +112 -0
- package/packages/core/src/components/NavigationItem.tsx +41 -0
- package/packages/core/src/components/OverflowContainer.tsx +24 -0
- package/packages/core/src/components/PopoverMenu.tsx +81 -0
- package/packages/core/src/components/Pre.tsx +6 -4
- package/packages/core/src/components/Table.tsx +35 -28
- package/packages/core/src/components/buttonStyle.ts +55 -38
- package/packages/core/src/components/index.ts +13 -28
- package/packages/core/src/icons/Close.tsx +21 -0
- package/packages/core/src/icons/CloseMobile.tsx +43 -0
- package/packages/core/src/icons/KeyboardArrowDown.tsx +24 -0
- package/packages/core/src/icons/Language.tsx +25 -0
- package/packages/core/src/icons/LanguageMobile.tsx +40 -0
- package/packages/core/src/icons/Menu.tsx +24 -0
- package/packages/core/src/icons/MenuMobile.tsx +40 -0
- package/packages/core/src/icons/index.ts +8 -0
- package/packages/core/src/icons/props.ts +5 -0
- package/packages/core/src/index.ts +9 -29
- package/packages/core/src/type.d.ts +1 -0
- package/packages/core/tests/Button.test.tsx +40 -0
- package/packages/core/tests/Card.test.tsx +36 -8
- package/packages/core/tests/IconButton.test.tsx +57 -0
- package/packages/core/tests/Link.test.tsx +60 -0
- package/packages/core/tests/vitest.setup.ts +2 -0
- package/packages/core/tsconfig.node.json +3 -2
- package/packages/core/vite.config.ts +3 -2
- package/packages/forms/.turbo/turbo-build.log +22 -0
- package/packages/forms/dist/index.cjs.js +242 -152
- package/packages/forms/dist/index.es.js +947 -1010
- package/packages/forms/dist/types/components/Checkbox.d.ts +10 -3
- package/packages/forms/dist/types/components/Checkbox.d.ts.map +1 -1
- package/packages/forms/dist/types/components/FieldsetControl.d.ts +14 -9
- package/packages/forms/dist/types/components/FieldsetControl.d.ts.map +1 -1
- package/packages/forms/dist/types/components/FileInput.d.ts +10 -3
- package/packages/forms/dist/types/components/FileInput.d.ts.map +1 -1
- package/packages/forms/dist/types/components/Input.d.ts +10 -3
- package/packages/forms/dist/types/components/Input.d.ts.map +1 -1
- package/packages/forms/dist/types/components/LabelControl.d.ts +13 -8
- package/packages/forms/dist/types/components/LabelControl.d.ts.map +1 -1
- package/packages/forms/dist/types/components/Radio.d.ts +10 -3
- package/packages/forms/dist/types/components/Radio.d.ts.map +1 -1
- package/packages/forms/dist/types/components/Select.d.ts +10 -3
- package/packages/forms/dist/types/components/Select.d.ts.map +1 -1
- package/packages/forms/dist/types/components/Textarea.d.ts +8 -3
- package/packages/forms/dist/types/components/Textarea.d.ts.map +1 -1
- package/packages/forms/dist/types/components/controlled/CheckboxGroup.d.ts +18 -11
- package/packages/forms/dist/types/components/controlled/CheckboxGroup.d.ts.map +1 -1
- package/packages/forms/dist/types/components/controlled/RadioGroup.d.ts +19 -12
- package/packages/forms/dist/types/components/controlled/RadioGroup.d.ts.map +1 -1
- package/packages/forms/dist/types/components/controlled/index.d.ts +0 -2
- package/packages/forms/dist/types/components/controlled/index.d.ts.map +1 -1
- package/packages/forms/dist/types/components/index.d.ts +8 -8
- package/packages/forms/dist/types/components/index.d.ts.map +1 -1
- package/packages/forms/dist/types/components/inputStyle.d.ts +13 -0
- package/packages/forms/dist/types/components/inputStyle.d.ts.map +1 -0
- package/packages/forms/dist/types/index.d.ts +1 -2
- package/packages/forms/dist/types/index.d.ts.map +1 -1
- package/packages/forms/node_modules/.bin/autoprefixer +2 -2
- package/packages/forms/node_modules/.bin/tailwind +2 -2
- package/packages/forms/node_modules/.bin/tailwindcss +2 -2
- package/packages/forms/node_modules/.bin/ts-node +4 -4
- package/packages/forms/node_modules/.bin/ts-node-cwd +4 -4
- package/packages/forms/node_modules/.bin/ts-node-esm +4 -4
- package/packages/forms/node_modules/.bin/ts-node-script +4 -4
- package/packages/forms/node_modules/.bin/ts-node-transpile-only +4 -4
- package/packages/forms/node_modules/.bin/ts-script +4 -4
- package/packages/forms/node_modules/.bin/tsc +17 -0
- package/packages/forms/node_modules/.bin/tsserver +17 -0
- package/packages/forms/node_modules/.vite/vitest/results.json +1 -0
- package/packages/forms/package.json +21 -17
- package/packages/forms/src/components/Checkbox.tsx +82 -64
- package/packages/forms/src/components/FieldsetControl.tsx +21 -28
- package/packages/forms/src/components/FileInput.tsx +88 -62
- package/packages/forms/src/components/Input.tsx +35 -41
- package/packages/forms/src/components/LabelControl.tsx +19 -25
- package/packages/forms/src/components/Radio.tsx +73 -61
- package/packages/forms/src/components/Select.tsx +71 -61
- package/packages/forms/src/components/Textarea.tsx +50 -54
- package/packages/forms/src/components/controlled/CheckboxGroup.tsx +25 -19
- package/packages/forms/src/components/controlled/RadioGroup.tsx +22 -20
- package/packages/forms/src/components/controlled/index.ts +0 -2
- package/packages/forms/src/components/index.ts +8 -8
- package/packages/forms/src/components/inputStyle.ts +82 -0
- package/packages/forms/src/index.ts +1 -17
- package/packages/forms/tests/Checkbox.test.tsx +44 -0
- package/packages/forms/tests/FieldsetControl.test.tsx +63 -12
- package/packages/forms/tests/FileInput.test.tsx +25 -0
- package/packages/forms/tests/Input.test.tsx +13 -84
- package/packages/forms/tests/LabelControl.test.tsx +83 -21
- package/packages/forms/tests/Radio.test.tsx +24 -79
- package/packages/forms/tests/Select.test.tsx +30 -0
- package/packages/forms/tests/Textarea.test.tsx +25 -0
- package/packages/forms/tests/vitest.setup.ts +2 -0
- package/packages/forms/tsconfig.node.json +3 -2
- package/packages/forms/vite.config.ts +3 -2
- package/packages/helper/.turbo/turbo-build.log +23 -0
- package/packages/helper/dist/index.cjs.js +78 -0
- package/packages/helper/dist/index.es.js +119 -0
- package/packages/helper/dist/types/calc.d.ts +2 -0
- package/packages/helper/dist/types/calc.d.ts.map +1 -0
- package/packages/{forms/dist/types/utils/class.d.ts → helper/dist/types/cx.d.ts} +1 -1
- package/packages/helper/dist/types/cx.d.ts.map +1 -0
- package/packages/helper/dist/types/index.d.ts +6 -0
- package/packages/helper/dist/types/index.d.ts.map +1 -0
- package/packages/helper/dist/types/querySelector.d.ts +2 -0
- package/packages/helper/dist/types/querySelector.d.ts.map +1 -0
- package/packages/helper/dist/types/styles.d.ts +22 -0
- package/packages/helper/dist/types/styles.d.ts.map +1 -0
- package/packages/helper/dist/types/treefy.d.ts +8 -0
- package/packages/helper/dist/types/treefy.d.ts.map +1 -0
- package/packages/{config → helper}/package.json +13 -19
- package/packages/helper/src/calc.ts +1 -0
- package/packages/{core/src/libs → helper/src}/cx.ts +1 -0
- package/packages/helper/src/index.ts +5 -0
- package/packages/helper/src/querySelector.ts +20 -0
- package/packages/helper/src/styles.ts +116 -0
- package/packages/helper/src/treefy.ts +22 -0
- package/packages/helper/vite.config.ts +26 -0
- package/packages/markdown/.turbo/turbo-build.log +22 -0
- package/packages/markdown/README.md +129 -0
- package/packages/markdown/dist/index.cjs.js +175 -0
- package/packages/markdown/dist/index.es.js +17098 -0
- package/packages/markdown/dist/types/components/Markdown.d.ts +15 -0
- package/packages/markdown/dist/types/components/Markdown.d.ts.map +1 -0
- package/packages/markdown/dist/types/components/index.d.ts +2 -0
- package/packages/markdown/dist/types/components/index.d.ts.map +1 -0
- package/packages/markdown/dist/types/index.d.ts +2 -0
- package/packages/markdown/dist/types/index.d.ts.map +1 -0
- package/packages/markdown/dist/types/plugins/attr.d.ts +3 -0
- package/packages/markdown/dist/types/plugins/attr.d.ts.map +1 -0
- package/packages/markdown/dist/types/plugins/card.d.ts +3 -0
- package/packages/markdown/dist/types/plugins/card.d.ts.map +1 -0
- package/packages/markdown/dist/types/plugins/cell.d.ts +3 -0
- package/packages/markdown/dist/types/plugins/cell.d.ts.map +1 -0
- package/packages/markdown/dist/types/plugins/faq.d.ts +3 -0
- package/packages/markdown/dist/types/plugins/faq.d.ts.map +1 -0
- package/packages/markdown/dist/types/plugins/grid.d.ts +3 -0
- package/packages/markdown/dist/types/plugins/grid.d.ts.map +1 -0
- package/packages/markdown/dist/types/plugins/headings.d.ts +9 -0
- package/packages/markdown/dist/types/plugins/headings.d.ts.map +1 -0
- package/packages/markdown/dist/types/plugins/helper.d.ts +9 -0
- package/packages/markdown/dist/types/plugins/helper.d.ts.map +1 -0
- package/packages/markdown/dist/types/plugins/index.d.ts +9 -0
- package/packages/markdown/dist/types/plugins/index.d.ts.map +1 -0
- package/packages/markdown/dist/types/plugins/linkButton.d.ts +3 -0
- package/packages/markdown/dist/types/plugins/linkButton.d.ts.map +1 -0
- package/packages/markdown/dist/types/plugins/youtube.d.ts +3 -0
- package/packages/markdown/dist/types/plugins/youtube.d.ts.map +1 -0
- package/packages/markdown/node_modules/.bin/autoprefixer +17 -0
- package/packages/markdown/node_modules/.bin/tailwind +17 -0
- package/packages/markdown/node_modules/.bin/tailwindcss +17 -0
- package/packages/markdown/node_modules/.bin/ts-node +17 -0
- package/packages/markdown/node_modules/.bin/ts-node-cwd +17 -0
- package/packages/markdown/node_modules/.bin/ts-node-esm +17 -0
- package/packages/markdown/node_modules/.bin/ts-node-script +17 -0
- package/packages/markdown/node_modules/.bin/ts-node-transpile-only +17 -0
- package/packages/markdown/node_modules/.bin/ts-script +17 -0
- package/packages/markdown/node_modules/.bin/tsc +17 -0
- package/packages/markdown/node_modules/.bin/tsserver +17 -0
- package/packages/markdown/package.json +83 -0
- package/packages/markdown/src/components/Markdown.tsx +361 -0
- package/packages/markdown/src/components/index.ts +1 -0
- package/packages/markdown/src/global.d.ts +9 -0
- package/packages/markdown/src/index.ts +1 -0
- package/packages/markdown/src/plugins/attr.ts +19 -0
- package/packages/markdown/src/plugins/card.ts +57 -0
- package/packages/markdown/src/plugins/cell.ts +47 -0
- package/packages/markdown/src/plugins/faq.ts +40 -0
- package/packages/markdown/src/plugins/grid.ts +51 -0
- package/packages/markdown/src/plugins/headings.ts +35 -0
- package/packages/markdown/src/plugins/helper.ts +27 -0
- package/packages/markdown/src/plugins/index.ts +8 -0
- package/packages/markdown/src/plugins/linkButton.ts +25 -0
- package/packages/markdown/src/plugins/youtube.ts +48 -0
- package/packages/markdown/tsconfig.json +13 -0
- package/packages/markdown/tsconfig.node.json +7 -0
- package/packages/{config → markdown}/vite.config.ts +6 -2
- package/packages/tailwind-theme-plugin/.turbo/turbo-build.log +22 -0
- package/packages/tailwind-theme-plugin/dist/index.cjs.js +1 -1
- package/packages/tailwind-theme-plugin/dist/index.es.js +5358 -6115
- package/packages/tailwind-theme-plugin/dist/types/index.d.ts +1 -1
- package/packages/tailwind-theme-plugin/dist/types/index.d.ts.map +1 -1
- package/packages/tailwind-theme-plugin/node_modules/.bin/autoprefixer +4 -4
- package/packages/tailwind-theme-plugin/node_modules/.bin/tailwind +4 -4
- package/packages/tailwind-theme-plugin/node_modules/.bin/tailwindcss +4 -4
- package/packages/tailwind-theme-plugin/node_modules/.bin/ts-node +4 -4
- package/packages/tailwind-theme-plugin/node_modules/.bin/ts-node-cwd +4 -4
- package/packages/tailwind-theme-plugin/node_modules/.bin/ts-node-esm +4 -4
- package/packages/tailwind-theme-plugin/node_modules/.bin/ts-node-script +4 -4
- package/packages/tailwind-theme-plugin/node_modules/.bin/ts-node-transpile-only +4 -4
- package/packages/tailwind-theme-plugin/node_modules/.bin/ts-script +4 -4
- package/packages/tailwind-theme-plugin/node_modules/.bin/tsc +17 -0
- package/packages/tailwind-theme-plugin/node_modules/.bin/tsserver +17 -0
- package/packages/tailwind-theme-plugin/package.json +10 -7
- package/packages/tailwind-theme-plugin/src/index.ts +232 -297
- package/packages/tailwind-theme-plugin/vite.config.ts +1 -1
- package/packages/config/src/index.ts +0 -347
- package/packages/config/tests/index.test.ts +0 -13
- package/packages/core/.eslintrc.json +0 -25
- package/packages/core/src/components/InfoCard.tsx +0 -50
- package/packages/core/src/libs/forward-ref.ts +0 -41
- package/packages/core/src/types/component.ts +0 -82
- package/packages/forms/coverage/clover.xml +0 -209
- package/packages/forms/coverage/coverage-final.json +0 -18
- package/packages/forms/coverage/lcov-report/base.css +0 -224
- package/packages/forms/coverage/lcov-report/block-navigation.js +0 -87
- package/packages/forms/coverage/lcov-report/favicon.png +0 -0
- package/packages/forms/coverage/lcov-report/index.html +0 -161
- package/packages/forms/coverage/lcov-report/prettify.css +0 -1
- package/packages/forms/coverage/lcov-report/prettify.js +0 -2
- package/packages/forms/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/packages/forms/coverage/lcov-report/sorter.js +0 -196
- package/packages/forms/coverage/lcov-report/src/components/Checkbox.tsx.html +0 -295
- package/packages/forms/coverage/lcov-report/src/components/FieldsetControl.tsx.html +0 -295
- package/packages/forms/coverage/lcov-report/src/components/LabelControl.tsx.html +0 -289
- package/packages/forms/coverage/lcov-report/src/components/Radio.tsx.html +0 -262
- package/packages/forms/coverage/lcov-report/src/components/Select.tsx.html +0 -259
- package/packages/forms/coverage/lcov-report/src/components/Text.tsx.html +0 -220
- package/packages/forms/coverage/lcov-report/src/components/Textarea.tsx.html +0 -229
- package/packages/forms/coverage/lcov-report/src/components/context.ts.html +0 -136
- package/packages/forms/coverage/lcov-report/src/components/controlled/CheckboxGroup.tsx.html +0 -244
- package/packages/forms/coverage/lcov-report/src/components/controlled/RadioGroup.tsx.html +0 -265
- package/packages/forms/coverage/lcov-report/src/components/controlled/SelectControl.tsx.html +0 -205
- package/packages/forms/coverage/lcov-report/src/components/controlled/TextControl.tsx.html +0 -202
- package/packages/forms/coverage/lcov-report/src/components/controlled/TextareaControl.tsx.html +0 -205
- package/packages/forms/coverage/lcov-report/src/components/controlled/index.html +0 -191
- package/packages/forms/coverage/lcov-report/src/components/controlled/index.ts.html +0 -100
- package/packages/forms/coverage/lcov-report/src/components/index.html +0 -236
- package/packages/forms/coverage/lcov-report/src/components/index.ts.html +0 -106
- package/packages/forms/coverage/lcov-report/src/index.html +0 -116
- package/packages/forms/coverage/lcov-report/src/index.ts.html +0 -136
- package/packages/forms/coverage/lcov-report/src/utils/index.html +0 -116
- package/packages/forms/coverage/lcov-report/src/utils/index.ts.html +0 -88
- package/packages/forms/coverage/lcov.info +0 -434
- package/packages/forms/dist/types/components/controlled/SelectControl.d.ts +0 -10
- package/packages/forms/dist/types/components/controlled/SelectControl.d.ts.map +0 -1
- package/packages/forms/dist/types/components/controlled/TextareaControl.d.ts +0 -10
- package/packages/forms/dist/types/components/controlled/TextareaControl.d.ts.map +0 -1
- package/packages/forms/dist/types/utils/class.d.ts.map +0 -1
- package/packages/forms/jest.config.ts +0 -11
- package/packages/forms/node_modules/.bin/browserslist +0 -17
- package/packages/forms/node_modules/.bin/eslint +0 -17
- package/packages/forms/node_modules/.bin/vitest +0 -17
- package/packages/forms/node_modules/.vitest/results.json +0 -1
- package/packages/forms/src/components/controlled/SelectControl.tsx +0 -42
- package/packages/forms/src/components/controlled/TextareaControl.tsx +0 -42
- package/packages/forms/src/utils/class.ts +0 -1
- package/packages/tailwind-theme-plugin/node_modules/.bin/browserslist +0 -17
- /package/packages/{config → helper}/tsconfig.json +0 -0
- /package/packages/{config → helper}/tsconfig.node.json +0 -0
|
@@ -1,1145 +1,1082 @@
|
|
|
1
|
-
import
|
|
2
|
-
var
|
|
1
|
+
import R from "react";
|
|
2
|
+
var z = { exports: {} }, q = {};
|
|
3
3
|
/**
|
|
4
4
|
* @license React
|
|
5
|
-
* react-jsx-runtime.production.
|
|
5
|
+
* react-jsx-runtime.production.js
|
|
6
6
|
*
|
|
7
|
-
* Copyright (c)
|
|
7
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
8
8
|
*
|
|
9
9
|
* This source code is licensed under the MIT license found in the
|
|
10
10
|
* LICENSE file in the root directory of this source tree.
|
|
11
11
|
*/
|
|
12
|
-
var
|
|
13
|
-
function
|
|
14
|
-
if (
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
12
|
+
var ye;
|
|
13
|
+
function Me() {
|
|
14
|
+
if (ye) return q;
|
|
15
|
+
ye = 1;
|
|
16
|
+
var s = Symbol.for("react.transitional.element"), d = Symbol.for("react.fragment");
|
|
17
|
+
function f(b, i, o) {
|
|
18
|
+
var n = null;
|
|
19
|
+
if (o !== void 0 && (n = "" + o), i.key !== void 0 && (n = "" + i.key), "key" in i) {
|
|
20
|
+
o = {};
|
|
21
|
+
for (var g in i)
|
|
22
|
+
g !== "key" && (o[g] = i[g]);
|
|
23
|
+
} else o = i;
|
|
24
|
+
return i = o.ref, {
|
|
25
|
+
$$typeof: s,
|
|
26
|
+
type: b,
|
|
27
|
+
key: n,
|
|
28
|
+
ref: i !== void 0 ? i : null,
|
|
29
|
+
props: o
|
|
30
|
+
};
|
|
27
31
|
}
|
|
28
|
-
return
|
|
32
|
+
return q.Fragment = d, q.jsx = f, q.jsxs = f, q;
|
|
29
33
|
}
|
|
30
|
-
var
|
|
34
|
+
var M = {};
|
|
31
35
|
/**
|
|
32
36
|
* @license React
|
|
33
37
|
* react-jsx-runtime.development.js
|
|
34
38
|
*
|
|
35
|
-
* Copyright (c)
|
|
39
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
36
40
|
*
|
|
37
41
|
* This source code is licensed under the MIT license found in the
|
|
38
42
|
* LICENSE file in the root directory of this source tree.
|
|
39
43
|
*/
|
|
40
|
-
var
|
|
41
|
-
function
|
|
42
|
-
return
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
if (
|
|
46
|
-
return null;
|
|
47
|
-
|
|
48
|
-
return typeof r == "function" ? r : null;
|
|
49
|
-
}
|
|
50
|
-
var q = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
51
|
-
function w(e) {
|
|
52
|
-
{
|
|
53
|
-
for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
|
|
54
|
-
t[i - 1] = arguments[i];
|
|
55
|
-
qe("error", e, t);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
function qe(e, r, t) {
|
|
59
|
-
{
|
|
60
|
-
var i = q.ReactDebugCurrentFrame, p = i.getStackAddendum();
|
|
61
|
-
p !== "" && (r += "%s", t = t.concat([p]));
|
|
62
|
-
var x = t.map(function(d) {
|
|
63
|
-
return String(d);
|
|
64
|
-
});
|
|
65
|
-
x.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, x);
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
var De = !1, Ae = !1, Me = !1, $e = !1, We = !1, ne;
|
|
69
|
-
ne = Symbol.for("react.module.reference");
|
|
70
|
-
function Ye(e) {
|
|
71
|
-
return !!(typeof e == "string" || typeof e == "function" || e === u || e === a || We || e === n || e === T || e === h || $e || e === _ || De || Ae || Me || typeof e == "object" && e !== null && (e.$$typeof === j || e.$$typeof === y || e.$$typeof === b || e.$$typeof === c || e.$$typeof === o || // This needs to include all possible module reference object
|
|
72
|
-
// types supported by any Flight configuration anywhere since
|
|
73
|
-
// we don't know which Flight build this will end up being used
|
|
74
|
-
// with.
|
|
75
|
-
e.$$typeof === ne || e.getModuleId !== void 0));
|
|
76
|
-
}
|
|
77
|
-
function Le(e, r, t) {
|
|
78
|
-
var i = e.displayName;
|
|
79
|
-
if (i)
|
|
80
|
-
return i;
|
|
81
|
-
var p = r.displayName || r.name || "";
|
|
82
|
-
return p !== "" ? t + "(" + p + ")" : t;
|
|
83
|
-
}
|
|
84
|
-
function se(e) {
|
|
85
|
-
return e.displayName || "Context";
|
|
86
|
-
}
|
|
87
|
-
function I(e) {
|
|
88
|
-
if (e == null)
|
|
89
|
-
return null;
|
|
90
|
-
if (typeof e.tag == "number" && w("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
91
|
-
return e.displayName || e.name || null;
|
|
92
|
-
if (typeof e == "string")
|
|
93
|
-
return e;
|
|
44
|
+
var Ee;
|
|
45
|
+
function Ye() {
|
|
46
|
+
return Ee || (Ee = 1, process.env.NODE_ENV !== "production" && function() {
|
|
47
|
+
function s(e) {
|
|
48
|
+
if (e == null) return null;
|
|
49
|
+
if (typeof e == "function")
|
|
50
|
+
return e.$$typeof === $e ? null : e.displayName || e.name || null;
|
|
51
|
+
if (typeof e == "string") return e;
|
|
94
52
|
switch (e) {
|
|
95
|
-
case
|
|
53
|
+
case U:
|
|
96
54
|
return "Fragment";
|
|
97
|
-
case
|
|
55
|
+
case Pe:
|
|
98
56
|
return "Portal";
|
|
99
|
-
case
|
|
57
|
+
case se:
|
|
100
58
|
return "Profiler";
|
|
101
|
-
case
|
|
59
|
+
case te:
|
|
102
60
|
return "StrictMode";
|
|
103
|
-
case
|
|
61
|
+
case G:
|
|
104
62
|
return "Suspense";
|
|
105
|
-
case
|
|
63
|
+
case H:
|
|
106
64
|
return "SuspenseList";
|
|
107
65
|
}
|
|
108
66
|
if (typeof e == "object")
|
|
109
|
-
switch (
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
return
|
|
116
|
-
case
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
return
|
|
121
|
-
case
|
|
122
|
-
|
|
67
|
+
switch (typeof e.tag == "number" && console.error(
|
|
68
|
+
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
69
|
+
), e.$$typeof) {
|
|
70
|
+
case le:
|
|
71
|
+
return (e.displayName || "Context") + ".Provider";
|
|
72
|
+
case oe:
|
|
73
|
+
return (e._context.displayName || "Context") + ".Consumer";
|
|
74
|
+
case F:
|
|
75
|
+
var r = e.render;
|
|
76
|
+
return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
|
|
77
|
+
case J:
|
|
78
|
+
return r = e.displayName || null, r !== null ? r : s(e.type) || "Memo";
|
|
79
|
+
case V:
|
|
80
|
+
r = e._payload, e = e._init;
|
|
123
81
|
try {
|
|
124
|
-
return
|
|
82
|
+
return s(e(r));
|
|
125
83
|
} catch {
|
|
126
|
-
return null;
|
|
127
84
|
}
|
|
128
|
-
}
|
|
129
85
|
}
|
|
130
86
|
return null;
|
|
131
87
|
}
|
|
132
|
-
|
|
133
|
-
|
|
88
|
+
function d(e) {
|
|
89
|
+
return "" + e;
|
|
134
90
|
}
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
error: e,
|
|
151
|
-
group: e,
|
|
152
|
-
groupCollapsed: e,
|
|
153
|
-
groupEnd: e
|
|
154
|
-
});
|
|
155
|
-
}
|
|
156
|
-
M++;
|
|
91
|
+
function f(e) {
|
|
92
|
+
try {
|
|
93
|
+
d(e);
|
|
94
|
+
var r = !1;
|
|
95
|
+
} catch {
|
|
96
|
+
r = !0;
|
|
97
|
+
}
|
|
98
|
+
if (r) {
|
|
99
|
+
r = console;
|
|
100
|
+
var t = r.error, u = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
101
|
+
return t.call(
|
|
102
|
+
r,
|
|
103
|
+
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
104
|
+
u
|
|
105
|
+
), d(e);
|
|
157
106
|
}
|
|
158
107
|
}
|
|
159
|
-
function
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
}),
|
|
180
|
-
group: k({}, e, {
|
|
181
|
-
value: ce
|
|
182
|
-
}),
|
|
183
|
-
groupCollapsed: k({}, e, {
|
|
184
|
-
value: de
|
|
185
|
-
}),
|
|
186
|
-
groupEnd: k({}, e, {
|
|
187
|
-
value: fe
|
|
188
|
-
})
|
|
189
|
-
});
|
|
190
|
-
}
|
|
191
|
-
M < 0 && w("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
108
|
+
function b() {
|
|
109
|
+
}
|
|
110
|
+
function i() {
|
|
111
|
+
if ($ === 0) {
|
|
112
|
+
ne = console.log, ce = console.info, de = console.warn, ue = console.error, fe = console.group, be = console.groupCollapsed, ge = console.groupEnd;
|
|
113
|
+
var e = {
|
|
114
|
+
configurable: !0,
|
|
115
|
+
enumerable: !0,
|
|
116
|
+
value: b,
|
|
117
|
+
writable: !0
|
|
118
|
+
};
|
|
119
|
+
Object.defineProperties(console, {
|
|
120
|
+
info: e,
|
|
121
|
+
log: e,
|
|
122
|
+
warn: e,
|
|
123
|
+
error: e,
|
|
124
|
+
group: e,
|
|
125
|
+
groupCollapsed: e,
|
|
126
|
+
groupEnd: e
|
|
127
|
+
});
|
|
192
128
|
}
|
|
129
|
+
$++;
|
|
193
130
|
}
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
|
|
131
|
+
function o() {
|
|
132
|
+
if ($--, $ === 0) {
|
|
133
|
+
var e = { configurable: !0, enumerable: !0, writable: !0 };
|
|
134
|
+
Object.defineProperties(console, {
|
|
135
|
+
log: S({}, e, { value: ne }),
|
|
136
|
+
info: S({}, e, { value: ce }),
|
|
137
|
+
warn: S({}, e, { value: de }),
|
|
138
|
+
error: S({}, e, { value: ue }),
|
|
139
|
+
group: S({}, e, { value: fe }),
|
|
140
|
+
groupCollapsed: S({}, e, { value: be }),
|
|
141
|
+
groupEnd: S({}, e, { value: ge })
|
|
142
|
+
});
|
|
206
143
|
}
|
|
144
|
+
0 > $ && console.error(
|
|
145
|
+
"disabledDepth fell below zero. This is a bug in React. Please file an issue."
|
|
146
|
+
);
|
|
207
147
|
}
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
148
|
+
function n(e) {
|
|
149
|
+
if (X === void 0)
|
|
150
|
+
try {
|
|
151
|
+
throw Error();
|
|
152
|
+
} catch (t) {
|
|
153
|
+
var r = t.stack.trim().match(/\n( *(at )?)/);
|
|
154
|
+
X = r && r[1] || "", pe = -1 < t.stack.indexOf(`
|
|
155
|
+
at`) ? " (<anonymous>)" : -1 < t.stack.indexOf("@") ? "@unknown:0:0" : "";
|
|
156
|
+
}
|
|
157
|
+
return `
|
|
158
|
+
` + X + e + pe;
|
|
212
159
|
}
|
|
213
|
-
function
|
|
214
|
-
if (!e ||
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
}
|
|
221
|
-
var i;
|
|
222
|
-
H = !0;
|
|
223
|
-
var p = Error.prepareStackTrace;
|
|
224
|
-
Error.prepareStackTrace = void 0;
|
|
225
|
-
var x;
|
|
226
|
-
x = J.current, J.current = null, Ve();
|
|
160
|
+
function g(e, r) {
|
|
161
|
+
if (!e || Z) return "";
|
|
162
|
+
var t = Q.get(e);
|
|
163
|
+
if (t !== void 0) return t;
|
|
164
|
+
Z = !0, t = Error.prepareStackTrace, Error.prepareStackTrace = void 0;
|
|
165
|
+
var u = null;
|
|
166
|
+
u = I.H, I.H = null, i();
|
|
227
167
|
try {
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
throw Error();
|
|
231
|
-
};
|
|
232
|
-
if (Object.defineProperty(d.prototype, "props", {
|
|
233
|
-
set: function() {
|
|
234
|
-
throw Error();
|
|
235
|
-
}
|
|
236
|
-
}), typeof Reflect == "object" && Reflect.construct) {
|
|
237
|
-
try {
|
|
238
|
-
Reflect.construct(d, []);
|
|
239
|
-
} catch (S) {
|
|
240
|
-
i = S;
|
|
241
|
-
}
|
|
242
|
-
Reflect.construct(e, [], d);
|
|
243
|
-
} else {
|
|
168
|
+
var v = {
|
|
169
|
+
DetermineComponentFrameRoot: function() {
|
|
244
170
|
try {
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
171
|
+
if (r) {
|
|
172
|
+
var C = function() {
|
|
173
|
+
throw Error();
|
|
174
|
+
};
|
|
175
|
+
if (Object.defineProperty(C.prototype, "props", {
|
|
176
|
+
set: function() {
|
|
177
|
+
throw Error();
|
|
178
|
+
}
|
|
179
|
+
}), typeof Reflect == "object" && Reflect.construct) {
|
|
180
|
+
try {
|
|
181
|
+
Reflect.construct(C, []);
|
|
182
|
+
} catch (T) {
|
|
183
|
+
var Y = T;
|
|
184
|
+
}
|
|
185
|
+
Reflect.construct(e, [], C);
|
|
186
|
+
} else {
|
|
187
|
+
try {
|
|
188
|
+
C.call();
|
|
189
|
+
} catch (T) {
|
|
190
|
+
Y = T;
|
|
191
|
+
}
|
|
192
|
+
e.call(C.prototype);
|
|
193
|
+
}
|
|
194
|
+
} else {
|
|
195
|
+
try {
|
|
196
|
+
throw Error();
|
|
197
|
+
} catch (T) {
|
|
198
|
+
Y = T;
|
|
199
|
+
}
|
|
200
|
+
(C = e()) && typeof C.catch == "function" && C.catch(function() {
|
|
201
|
+
});
|
|
202
|
+
}
|
|
203
|
+
} catch (T) {
|
|
204
|
+
if (T && Y && typeof T.stack == "string")
|
|
205
|
+
return [T.stack, Y.stack];
|
|
248
206
|
}
|
|
249
|
-
|
|
250
|
-
}
|
|
251
|
-
} else {
|
|
252
|
-
try {
|
|
253
|
-
throw Error();
|
|
254
|
-
} catch (S) {
|
|
255
|
-
i = S;
|
|
207
|
+
return [null, null];
|
|
256
208
|
}
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
209
|
+
};
|
|
210
|
+
v.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot";
|
|
211
|
+
var x = Object.getOwnPropertyDescriptor(
|
|
212
|
+
v.DetermineComponentFrameRoot,
|
|
213
|
+
"name"
|
|
214
|
+
);
|
|
215
|
+
x && x.configurable && Object.defineProperty(
|
|
216
|
+
v.DetermineComponentFrameRoot,
|
|
217
|
+
"name",
|
|
218
|
+
{ value: "DetermineComponentFrameRoot" }
|
|
219
|
+
);
|
|
220
|
+
var a = v.DetermineComponentFrameRoot(), w = a[0], A = a[1];
|
|
221
|
+
if (w && A) {
|
|
222
|
+
var h = w.split(`
|
|
223
|
+
`), P = A.split(`
|
|
224
|
+
`);
|
|
225
|
+
for (a = x = 0; x < h.length && !h[x].includes(
|
|
226
|
+
"DetermineComponentFrameRoot"
|
|
227
|
+
); )
|
|
228
|
+
x++;
|
|
229
|
+
for (; a < P.length && !P[a].includes(
|
|
230
|
+
"DetermineComponentFrameRoot"
|
|
231
|
+
); )
|
|
232
|
+
a++;
|
|
233
|
+
if (x === h.length || a === P.length)
|
|
234
|
+
for (x = h.length - 1, a = P.length - 1; 1 <= x && 0 <= a && h[x] !== P[a]; )
|
|
235
|
+
a--;
|
|
236
|
+
for (; 1 <= x && 0 <= a; x--, a--)
|
|
237
|
+
if (h[x] !== P[a]) {
|
|
238
|
+
if (x !== 1 || a !== 1)
|
|
268
239
|
do
|
|
269
|
-
if (
|
|
270
|
-
var
|
|
271
|
-
` +
|
|
272
|
-
|
|
240
|
+
if (x--, a--, 0 > a || h[x] !== P[a]) {
|
|
241
|
+
var O = `
|
|
242
|
+
` + h[x].replace(
|
|
243
|
+
" at new ",
|
|
244
|
+
" at "
|
|
245
|
+
);
|
|
246
|
+
return e.displayName && O.includes("<anonymous>") && (O = O.replace("<anonymous>", e.displayName)), typeof e == "function" && Q.set(e, O), O;
|
|
273
247
|
}
|
|
274
|
-
while (
|
|
248
|
+
while (1 <= x && 0 <= a);
|
|
275
249
|
break;
|
|
276
250
|
}
|
|
277
251
|
}
|
|
278
252
|
} finally {
|
|
279
|
-
|
|
253
|
+
Z = !1, I.H = u, o(), Error.prepareStackTrace = t;
|
|
280
254
|
}
|
|
281
|
-
|
|
282
|
-
return typeof e == "function" && V.set(e, Ce), Ce;
|
|
255
|
+
return h = (h = e ? e.displayName || e.name : "") ? n(h) : "", typeof e == "function" && Q.set(e, h), h;
|
|
283
256
|
}
|
|
284
|
-
function
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
if (typeof e == "function")
|
|
295
|
-
return ve(e, Je(e));
|
|
296
|
-
if (typeof e == "string")
|
|
297
|
-
return L(e);
|
|
257
|
+
function c(e) {
|
|
258
|
+
if (e == null) return "";
|
|
259
|
+
if (typeof e == "function") {
|
|
260
|
+
var r = e.prototype;
|
|
261
|
+
return g(
|
|
262
|
+
e,
|
|
263
|
+
!(!r || !r.isReactComponent)
|
|
264
|
+
);
|
|
265
|
+
}
|
|
266
|
+
if (typeof e == "string") return n(e);
|
|
298
267
|
switch (e) {
|
|
299
|
-
case
|
|
300
|
-
return
|
|
301
|
-
case
|
|
302
|
-
return
|
|
268
|
+
case G:
|
|
269
|
+
return n("Suspense");
|
|
270
|
+
case H:
|
|
271
|
+
return n("SuspenseList");
|
|
303
272
|
}
|
|
304
273
|
if (typeof e == "object")
|
|
305
274
|
switch (e.$$typeof) {
|
|
306
|
-
case
|
|
307
|
-
return
|
|
308
|
-
case
|
|
309
|
-
return
|
|
310
|
-
case
|
|
311
|
-
|
|
275
|
+
case F:
|
|
276
|
+
return e = g(e.render, !1), e;
|
|
277
|
+
case J:
|
|
278
|
+
return c(e.type);
|
|
279
|
+
case V:
|
|
280
|
+
r = e._payload, e = e._init;
|
|
312
281
|
try {
|
|
313
|
-
return
|
|
282
|
+
return c(e(r));
|
|
314
283
|
} catch {
|
|
315
284
|
}
|
|
316
|
-
}
|
|
317
285
|
}
|
|
318
286
|
return "";
|
|
319
287
|
}
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
var r = e._owner, t = U(e.type, e._source, r ? r.type : null);
|
|
324
|
-
be.setExtraStackFrame(t);
|
|
325
|
-
} else
|
|
326
|
-
be.setExtraStackFrame(null);
|
|
327
|
-
}
|
|
328
|
-
function ze(e, r, t, i, p) {
|
|
329
|
-
{
|
|
330
|
-
var x = Function.call.bind(B);
|
|
331
|
-
for (var d in e)
|
|
332
|
-
if (x(e, d)) {
|
|
333
|
-
var l = void 0;
|
|
334
|
-
try {
|
|
335
|
-
if (typeof e[d] != "function") {
|
|
336
|
-
var C = Error((i || "React class") + ": " + t + " type `" + d + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[d] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
337
|
-
throw C.name = "Invariant Violation", C;
|
|
338
|
-
}
|
|
339
|
-
l = e[d](r, d, i, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
340
|
-
} catch (R) {
|
|
341
|
-
l = R;
|
|
342
|
-
}
|
|
343
|
-
l && !(l instanceof Error) && (G(p), w("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", i || "React class", t, d, typeof l), G(null)), l instanceof Error && !(l.message in me) && (me[l.message] = !0, G(p), w("Failed %s type: %s", t, l.message), G(null));
|
|
344
|
-
}
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
var He = Array.isArray;
|
|
348
|
-
function K(e) {
|
|
349
|
-
return He(e);
|
|
350
|
-
}
|
|
351
|
-
function Ke(e) {
|
|
352
|
-
{
|
|
353
|
-
var r = typeof Symbol == "function" && Symbol.toStringTag, t = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
354
|
-
return t;
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
function Xe(e) {
|
|
358
|
-
try {
|
|
359
|
-
return he(e), !1;
|
|
360
|
-
} catch {
|
|
361
|
-
return !0;
|
|
362
|
-
}
|
|
363
|
-
}
|
|
364
|
-
function he(e) {
|
|
365
|
-
return "" + e;
|
|
366
|
-
}
|
|
367
|
-
function xe(e) {
|
|
368
|
-
if (Xe(e))
|
|
369
|
-
return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ke(e)), he(e);
|
|
288
|
+
function m() {
|
|
289
|
+
var e = I.A;
|
|
290
|
+
return e === null ? null : e.getOwner();
|
|
370
291
|
}
|
|
371
|
-
|
|
372
|
-
key
|
|
373
|
-
ref: !0,
|
|
374
|
-
__self: !0,
|
|
375
|
-
__source: !0
|
|
376
|
-
}, ge, ye, X;
|
|
377
|
-
X = {};
|
|
378
|
-
function Qe(e) {
|
|
379
|
-
if (B.call(e, "ref")) {
|
|
380
|
-
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
381
|
-
if (r && r.isReactWarning)
|
|
382
|
-
return !1;
|
|
383
|
-
}
|
|
384
|
-
return e.ref !== void 0;
|
|
385
|
-
}
|
|
386
|
-
function er(e) {
|
|
387
|
-
if (B.call(e, "key")) {
|
|
292
|
+
function p(e) {
|
|
293
|
+
if (ie.call(e, "key")) {
|
|
388
294
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
389
|
-
if (r && r.isReactWarning)
|
|
390
|
-
return !1;
|
|
295
|
+
if (r && r.isReactWarning) return !1;
|
|
391
296
|
}
|
|
392
297
|
return e.key !== void 0;
|
|
393
298
|
}
|
|
394
|
-
function
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
function tr(e, r) {
|
|
401
|
-
{
|
|
402
|
-
var t = function() {
|
|
403
|
-
ge || (ge = !0, w("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
|
404
|
-
};
|
|
405
|
-
t.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
406
|
-
get: t,
|
|
407
|
-
configurable: !0
|
|
408
|
-
});
|
|
299
|
+
function y(e, r) {
|
|
300
|
+
function t() {
|
|
301
|
+
xe || (xe = !0, console.error(
|
|
302
|
+
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
303
|
+
r
|
|
304
|
+
));
|
|
409
305
|
}
|
|
306
|
+
t.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
307
|
+
get: t,
|
|
308
|
+
configurable: !0
|
|
309
|
+
});
|
|
410
310
|
}
|
|
411
|
-
function
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
t.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
417
|
-
get: t,
|
|
418
|
-
configurable: !0
|
|
419
|
-
});
|
|
420
|
-
}
|
|
311
|
+
function E() {
|
|
312
|
+
var e = s(this.type);
|
|
313
|
+
return me[e] || (me[e] = !0, console.error(
|
|
314
|
+
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
315
|
+
)), e = this.props.ref, e !== void 0 ? e : null;
|
|
421
316
|
}
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
$$typeof: m,
|
|
426
|
-
// Built-in properties that belong on the element
|
|
317
|
+
function j(e, r, t, u, v, x) {
|
|
318
|
+
return t = x.ref, e = {
|
|
319
|
+
$$typeof: B,
|
|
427
320
|
type: e,
|
|
428
321
|
key: r,
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
_owner: x
|
|
433
|
-
};
|
|
434
|
-
return l._store = {}, Object.defineProperty(l._store, "validated", {
|
|
435
|
-
configurable: !1,
|
|
322
|
+
props: x,
|
|
323
|
+
_owner: v
|
|
324
|
+
}, (t !== void 0 ? t : null) !== null ? Object.defineProperty(e, "ref", {
|
|
436
325
|
enumerable: !1,
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
}), Object.defineProperty(l, "_self", {
|
|
326
|
+
get: E
|
|
327
|
+
}) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
|
|
440
328
|
configurable: !1,
|
|
441
329
|
enumerable: !1,
|
|
442
|
-
writable: !
|
|
443
|
-
value:
|
|
444
|
-
}), Object.defineProperty(
|
|
330
|
+
writable: !0,
|
|
331
|
+
value: 0
|
|
332
|
+
}), Object.defineProperty(e, "_debugInfo", {
|
|
445
333
|
configurable: !1,
|
|
446
334
|
enumerable: !1,
|
|
447
|
-
writable: !
|
|
448
|
-
value:
|
|
449
|
-
}), Object.freeze && (Object.freeze(
|
|
450
|
-
};
|
|
451
|
-
function sr(e, r, t, i, p) {
|
|
452
|
-
{
|
|
453
|
-
var x, d = {}, l = null, C = null;
|
|
454
|
-
t !== void 0 && (xe(t), l = "" + t), er(r) && (xe(r.key), l = "" + r.key), Qe(r) && (C = r.ref, rr(r, p));
|
|
455
|
-
for (x in r)
|
|
456
|
-
B.call(r, x) && !Ze.hasOwnProperty(x) && (d[x] = r[x]);
|
|
457
|
-
if (e && e.defaultProps) {
|
|
458
|
-
var R = e.defaultProps;
|
|
459
|
-
for (x in R)
|
|
460
|
-
d[x] === void 0 && (d[x] = R[x]);
|
|
461
|
-
}
|
|
462
|
-
if (l || C) {
|
|
463
|
-
var E = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
464
|
-
l && tr(d, E), C && ar(d, E);
|
|
465
|
-
}
|
|
466
|
-
return nr(e, l, C, p, i, $.current, d);
|
|
467
|
-
}
|
|
335
|
+
writable: !0,
|
|
336
|
+
value: null
|
|
337
|
+
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
|
|
468
338
|
}
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
339
|
+
function D(e, r, t, u, v, x) {
|
|
340
|
+
if (typeof e == "string" || typeof e == "function" || e === U || e === se || e === te || e === G || e === H || e === Ae || typeof e == "object" && e !== null && (e.$$typeof === V || e.$$typeof === J || e.$$typeof === le || e.$$typeof === oe || e.$$typeof === F || e.$$typeof === Oe || e.getModuleId !== void 0)) {
|
|
341
|
+
var a = r.children;
|
|
342
|
+
if (a !== void 0)
|
|
343
|
+
if (u)
|
|
344
|
+
if (L(a)) {
|
|
345
|
+
for (u = 0; u < a.length; u++)
|
|
346
|
+
ee(a[u], e);
|
|
347
|
+
Object.freeze && Object.freeze(a);
|
|
348
|
+
} else
|
|
349
|
+
console.error(
|
|
350
|
+
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
351
|
+
);
|
|
352
|
+
else ee(a, e);
|
|
474
353
|
} else
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
var r = e.fileName.replace(/^.*[\\\/]/, ""), t = e.lineNumber;
|
|
498
|
-
return `
|
|
499
|
-
|
|
500
|
-
Check your code at ` + r + ":" + t + ".";
|
|
501
|
-
}
|
|
502
|
-
return "";
|
|
503
|
-
}
|
|
504
|
-
}
|
|
505
|
-
var _e = {};
|
|
506
|
-
function or(e) {
|
|
507
|
-
{
|
|
508
|
-
var r = Ee();
|
|
509
|
-
if (!r) {
|
|
510
|
-
var t = typeof e == "string" ? e : e.displayName || e.name;
|
|
511
|
-
t && (r = `
|
|
512
|
-
|
|
513
|
-
Check the top-level render call using <` + t + ">.");
|
|
514
|
-
}
|
|
515
|
-
return r;
|
|
516
|
-
}
|
|
517
|
-
}
|
|
518
|
-
function Te(e, r) {
|
|
519
|
-
{
|
|
520
|
-
if (!e._store || e._store.validated || e.key != null)
|
|
521
|
-
return;
|
|
522
|
-
e._store.validated = !0;
|
|
523
|
-
var t = or(r);
|
|
524
|
-
if (_e[t])
|
|
525
|
-
return;
|
|
526
|
-
_e[t] = !0;
|
|
527
|
-
var i = "";
|
|
528
|
-
e && e._owner && e._owner !== Z.current && (i = " It was passed a child from " + I(e._owner.type) + "."), D(e), w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, i), D(null);
|
|
354
|
+
a = "", (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (a += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."), e === null ? u = "null" : L(e) ? u = "array" : e !== void 0 && e.$$typeof === B ? (u = "<" + (s(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : u = typeof e, console.error(
|
|
355
|
+
"React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
|
|
356
|
+
u,
|
|
357
|
+
a
|
|
358
|
+
);
|
|
359
|
+
if (ie.call(r, "key")) {
|
|
360
|
+
a = s(e);
|
|
361
|
+
var w = Object.keys(r).filter(function(h) {
|
|
362
|
+
return h !== "key";
|
|
363
|
+
});
|
|
364
|
+
u = 0 < w.length ? "{key: someKey, " + w.join(": ..., ") + ": ...}" : "{key: someKey}", ve[a + u] || (w = 0 < w.length ? "{" + w.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
365
|
+
`A props object containing a "key" prop is being spread into JSX:
|
|
366
|
+
let props = %s;
|
|
367
|
+
<%s {...props} />
|
|
368
|
+
React keys must be passed directly to JSX without using spread:
|
|
369
|
+
let props = %s;
|
|
370
|
+
<%s key={someKey} {...props} />`,
|
|
371
|
+
u,
|
|
372
|
+
a,
|
|
373
|
+
w,
|
|
374
|
+
a
|
|
375
|
+
), ve[a + u] = !0);
|
|
529
376
|
}
|
|
377
|
+
if (a = null, t !== void 0 && (f(t), a = "" + t), p(r) && (f(r.key), a = "" + r.key), "key" in r) {
|
|
378
|
+
t = {};
|
|
379
|
+
for (var A in r)
|
|
380
|
+
A !== "key" && (t[A] = r[A]);
|
|
381
|
+
} else t = r;
|
|
382
|
+
return a && y(
|
|
383
|
+
t,
|
|
384
|
+
typeof e == "function" ? e.displayName || e.name || "Unknown" : e
|
|
385
|
+
), j(e, a, x, v, m(), t);
|
|
530
386
|
}
|
|
531
|
-
function
|
|
532
|
-
{
|
|
533
|
-
if (
|
|
534
|
-
return;
|
|
535
|
-
if (K(e))
|
|
387
|
+
function ee(e, r) {
|
|
388
|
+
if (typeof e == "object" && e && e.$$typeof !== qe) {
|
|
389
|
+
if (L(e))
|
|
536
390
|
for (var t = 0; t < e.length; t++) {
|
|
537
|
-
var
|
|
538
|
-
|
|
391
|
+
var u = e[t];
|
|
392
|
+
W(u) && re(u, r);
|
|
539
393
|
}
|
|
540
|
-
else if (
|
|
541
|
-
e._store && (e._store.validated =
|
|
542
|
-
else if (e)
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
for (var x = p.call(e), d; !(d = x.next()).done; )
|
|
546
|
-
ee(d.value) && Te(d.value, r);
|
|
547
|
-
}
|
|
548
|
-
}
|
|
549
|
-
}
|
|
550
|
-
function lr(e) {
|
|
551
|
-
{
|
|
552
|
-
var r = e.type;
|
|
553
|
-
if (r == null || typeof r == "string")
|
|
554
|
-
return;
|
|
555
|
-
var t;
|
|
556
|
-
if (typeof r == "function")
|
|
557
|
-
t = r.propTypes;
|
|
558
|
-
else if (typeof r == "object" && (r.$$typeof === o || // Note: Memo only checks outer props here.
|
|
559
|
-
// Inner props are checked in the reconciler.
|
|
560
|
-
r.$$typeof === y))
|
|
561
|
-
t = r.propTypes;
|
|
562
|
-
else
|
|
563
|
-
return;
|
|
564
|
-
if (t) {
|
|
565
|
-
var i = I(r);
|
|
566
|
-
ze(t, e.props, "prop", i, e);
|
|
567
|
-
} else if (r.PropTypes !== void 0 && !Q) {
|
|
568
|
-
Q = !0;
|
|
569
|
-
var p = I(r);
|
|
570
|
-
w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", p || "Unknown");
|
|
571
|
-
}
|
|
572
|
-
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
394
|
+
else if (W(e))
|
|
395
|
+
e._store && (e._store.validated = 1);
|
|
396
|
+
else if (e === null || typeof e != "object" ? t = null : (t = ae && e[ae] || e["@@iterator"], t = typeof t == "function" ? t : null), typeof t == "function" && t !== e.entries && (t = t.call(e), t !== e))
|
|
397
|
+
for (; !(e = t.next()).done; )
|
|
398
|
+
W(e.value) && re(e.value, r);
|
|
573
399
|
}
|
|
574
400
|
}
|
|
575
|
-
function
|
|
576
|
-
|
|
577
|
-
for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
|
|
578
|
-
var i = r[t];
|
|
579
|
-
if (i !== "children" && i !== "key") {
|
|
580
|
-
D(e), w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", i), D(null);
|
|
581
|
-
break;
|
|
582
|
-
}
|
|
583
|
-
}
|
|
584
|
-
e.ref !== null && (D(e), w("Invalid attribute `ref` supplied to `React.Fragment`."), D(null));
|
|
585
|
-
}
|
|
401
|
+
function W(e) {
|
|
402
|
+
return typeof e == "object" && e !== null && e.$$typeof === B;
|
|
586
403
|
}
|
|
587
|
-
function
|
|
588
|
-
{
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
if (d) {
|
|
602
|
-
var P = r.children;
|
|
603
|
-
if (P !== void 0)
|
|
604
|
-
if (i)
|
|
605
|
-
if (K(P)) {
|
|
606
|
-
for (var A = 0; A < P.length; A++)
|
|
607
|
-
je(P[A], e);
|
|
608
|
-
Object.freeze && Object.freeze(P);
|
|
609
|
-
} else
|
|
610
|
-
w("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
611
|
-
else
|
|
612
|
-
je(P, e);
|
|
613
|
-
}
|
|
614
|
-
return e === u ? ur(E) : lr(E), E;
|
|
404
|
+
function re(e, r) {
|
|
405
|
+
if (e._store && !e._store.validated && e.key == null && (e._store.validated = 1, r = Ie(r), !he[r])) {
|
|
406
|
+
he[r] = !0;
|
|
407
|
+
var t = "";
|
|
408
|
+
e && e._owner != null && e._owner !== m() && (t = null, typeof e._owner.tag == "number" ? t = s(e._owner.type) : typeof e._owner.name == "string" && (t = e._owner.name), t = " It was passed a child from " + t + ".");
|
|
409
|
+
var u = I.getCurrentStack;
|
|
410
|
+
I.getCurrentStack = function() {
|
|
411
|
+
var v = c(e.type);
|
|
412
|
+
return u && (v += u() || ""), v;
|
|
413
|
+
}, console.error(
|
|
414
|
+
'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
|
|
415
|
+
r,
|
|
416
|
+
t
|
|
417
|
+
), I.getCurrentStack = u;
|
|
615
418
|
}
|
|
616
419
|
}
|
|
617
|
-
function
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
420
|
+
function Ie(e) {
|
|
421
|
+
var r = "", t = m();
|
|
422
|
+
return t && (t = s(t.type)) && (r = `
|
|
423
|
+
|
|
424
|
+
Check the render method of \`` + t + "`."), r || (e = s(e)) && (r = `
|
|
425
|
+
|
|
426
|
+
Check the top-level render call using <` + e + ">."), r;
|
|
622
427
|
}
|
|
623
|
-
var
|
|
624
|
-
|
|
625
|
-
|
|
428
|
+
var Se = R, B = Symbol.for("react.transitional.element"), Pe = Symbol.for("react.portal"), U = Symbol.for("react.fragment"), te = Symbol.for("react.strict_mode"), se = Symbol.for("react.profiler"), oe = Symbol.for("react.consumer"), le = Symbol.for("react.context"), F = Symbol.for("react.forward_ref"), G = Symbol.for("react.suspense"), H = Symbol.for("react.suspense_list"), J = Symbol.for("react.memo"), V = Symbol.for("react.lazy"), Ae = Symbol.for("react.offscreen"), ae = Symbol.iterator, $e = Symbol.for("react.client.reference"), I = Se.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, ie = Object.prototype.hasOwnProperty, S = Object.assign, Oe = Symbol.for("react.client.reference"), L = Array.isArray, $ = 0, ne, ce, de, ue, fe, be, ge;
|
|
429
|
+
b.__reactDisabledLog = !0;
|
|
430
|
+
var X, pe, Z = !1, Q = new (typeof WeakMap == "function" ? WeakMap : Map)(), qe = Symbol.for("react.client.reference"), xe, me = {}, ve = {}, he = {};
|
|
431
|
+
M.Fragment = U, M.jsx = function(e, r, t, u, v) {
|
|
432
|
+
return D(e, r, t, !1, u, v);
|
|
433
|
+
}, M.jsxs = function(e, r, t, u, v) {
|
|
434
|
+
return D(e, r, t, !0, u, v);
|
|
435
|
+
};
|
|
436
|
+
}()), M;
|
|
437
|
+
}
|
|
438
|
+
var Ne;
|
|
439
|
+
function ze() {
|
|
440
|
+
return Ne || (Ne = 1, process.env.NODE_ENV === "production" ? z.exports = Me() : z.exports = Ye()), z.exports;
|
|
626
441
|
}
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
442
|
+
var l = ze();
|
|
443
|
+
const N = (...s) => s.filter(Boolean).join(" ");
|
|
444
|
+
var k;
|
|
445
|
+
((s) => {
|
|
446
|
+
s.clickable = `
|
|
447
|
+
px-2
|
|
448
|
+
min-h-[calc(44/16*1rem)]
|
|
449
|
+
border
|
|
450
|
+
border-transparent
|
|
451
|
+
rounded-lg
|
|
452
|
+
hover:bg-solid-grey-50
|
|
453
|
+
`, s.selected = `
|
|
454
|
+
rounded-full
|
|
455
|
+
bg-yellow-50
|
|
456
|
+
`;
|
|
457
|
+
const d = `
|
|
458
|
+
focus-visible:outline
|
|
459
|
+
focus-visible:outline-4
|
|
460
|
+
focus-visible:outline-black
|
|
461
|
+
focus-visible:ring-yellow-300
|
|
462
|
+
`;
|
|
463
|
+
s.focusRectCondensed = `
|
|
464
|
+
${d}
|
|
465
|
+
focus-visible:-outline-offset-4
|
|
466
|
+
focus-visible:ring-[calc(6/16*1rem)]
|
|
467
|
+
focus-visible:ring-inset
|
|
468
|
+
`, s.focusRectCondensedWithBg = `
|
|
469
|
+
${s.focusRectCondensed}
|
|
470
|
+
focus-visible:bg-yellow-300
|
|
471
|
+
`, s.focusRect = `
|
|
472
|
+
${d}
|
|
473
|
+
focus-visible:outline-offset-[calc(2/16*1rem)]
|
|
474
|
+
focus-visible:ring-[calc(2/16*1rem)]
|
|
475
|
+
`, s.focusRounded = `
|
|
476
|
+
${s.focusRect}
|
|
477
|
+
focus-visible:rounded
|
|
478
|
+
`, s.focusCard = `
|
|
479
|
+
${s.focusRect}
|
|
480
|
+
focus-visible:rounded-2xl
|
|
481
|
+
sm:focus-visible:rounded-3xl
|
|
482
|
+
`, s.focusRectWithBg = `
|
|
483
|
+
${s.focusRect}
|
|
484
|
+
focus-visible:bg-yellow-300
|
|
485
|
+
`, s.focusRoundedWithBg = `
|
|
486
|
+
${s.focusRectWithBg}
|
|
487
|
+
focus-visible:rounded
|
|
488
|
+
`, s.hoverUnderline = `
|
|
489
|
+
hover:underline
|
|
490
|
+
hover:underline-offset-[calc(3/16*1rem)]
|
|
491
|
+
`, s.underline = `
|
|
492
|
+
underline
|
|
493
|
+
underline-offset-[calc(3/16*1rem)]
|
|
494
|
+
hover:decoration-[calc(3/16*1rem)]
|
|
495
|
+
`, s.underlineNoDeco = `
|
|
496
|
+
underline
|
|
497
|
+
underline-offset-[calc(3/16*1rem)]
|
|
498
|
+
`, s.popover = `
|
|
499
|
+
min-w-fit
|
|
500
|
+
w-auto
|
|
501
|
+
py-2
|
|
502
|
+
bg-white
|
|
503
|
+
shadow-1
|
|
504
|
+
rounded-lg
|
|
505
|
+
border
|
|
506
|
+
border-solid-grey-420
|
|
507
|
+
has-[>:nth-child(7)]:rounded-r-none
|
|
508
|
+
`, s.popoverPositionBottomRight = `
|
|
509
|
+
absolute
|
|
510
|
+
top-11
|
|
511
|
+
right-0
|
|
512
|
+
`, s.popoverPositionBottomLeft = `
|
|
513
|
+
absolute
|
|
514
|
+
top-11
|
|
515
|
+
left-0
|
|
516
|
+
`, ((f) => {
|
|
517
|
+
f.focus = `
|
|
518
|
+
peer-focus-visible:outline
|
|
519
|
+
peer-focus-visible:outline-4
|
|
520
|
+
peer-focus-visible:outline-black
|
|
521
|
+
peer-focus-visible:ring-yellow-300
|
|
522
|
+
`, f.focusRect = `
|
|
523
|
+
${f.focus}
|
|
524
|
+
peer-focus-visible:outline-offset-[calc(2/16*1rem)]
|
|
525
|
+
peer-focus-visible:ring-[calc(2/16*1rem)]
|
|
526
|
+
`;
|
|
527
|
+
})(s.Peer || (s.Peer = {}));
|
|
528
|
+
})(k || (k = {}));
|
|
529
|
+
const _ = R.createContext({
|
|
630
530
|
helperTextId: "",
|
|
631
531
|
errorMessageId: "",
|
|
632
532
|
isInvalid: !1,
|
|
633
533
|
isRequired: !1
|
|
634
|
-
}),
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
534
|
+
}), Re = `
|
|
535
|
+
bg-white
|
|
536
|
+
border
|
|
537
|
+
border-solid
|
|
538
|
+
border-solid-gray-900
|
|
539
|
+
disabled:bg-transparent
|
|
540
|
+
disabled:text-solid-gray-500
|
|
541
|
+
disabled:border-solid-gray-500
|
|
542
|
+
aria-invalid:border-red-800
|
|
543
|
+
${k.focusRect}
|
|
544
|
+
`, je = {
|
|
545
|
+
// 16(p-4) * 2 + 22(text-label * leading-snug) + boader * 2 = 56px
|
|
546
|
+
lg: `
|
|
547
|
+
p-4
|
|
548
|
+
text-label
|
|
549
|
+
rounded-lg
|
|
550
|
+
leading-snug
|
|
551
|
+
`,
|
|
552
|
+
// 12(py-3) * 2 + 22(text-label * leading-snug) + boader * 2 = 48px
|
|
553
|
+
md: `
|
|
554
|
+
px-4
|
|
555
|
+
py-3
|
|
556
|
+
text-label
|
|
557
|
+
rounded-lg
|
|
558
|
+
leading-snug
|
|
559
|
+
`,
|
|
560
|
+
// 8(py-2) * 2 + 22(text-label * leading-snug) + boader * 2 = 40px
|
|
561
|
+
sm: `
|
|
562
|
+
px-3
|
|
563
|
+
py-2
|
|
564
|
+
text-label
|
|
565
|
+
rounded-md
|
|
566
|
+
leading-snug
|
|
567
|
+
`
|
|
568
|
+
}, we = `
|
|
569
|
+
inline-block
|
|
570
|
+
cursor-pointer
|
|
571
|
+
border
|
|
572
|
+
border-solid
|
|
573
|
+
border-transparent
|
|
574
|
+
`, Te = {
|
|
575
|
+
// 16(p-4) * 2 + 22(text-label * leading-snug) + boader(transparent) * 2 = 56px
|
|
576
|
+
lg: `
|
|
577
|
+
pr-8
|
|
578
|
+
py-4
|
|
579
|
+
text-label
|
|
580
|
+
leading-snug
|
|
581
|
+
`,
|
|
582
|
+
// 12(py-3) * 2 + 22(text-label * leading-snug) + boader(transparent) * 2 = 48px
|
|
583
|
+
md: `
|
|
584
|
+
pr-6
|
|
585
|
+
py-3
|
|
586
|
+
text-label
|
|
587
|
+
leading-snug
|
|
588
|
+
`,
|
|
589
|
+
// 8(py-2) * 2 + 22(text-label * leading-snug) + boader(transparent) * 2 = 40px
|
|
590
|
+
sm: `
|
|
591
|
+
pr-4
|
|
592
|
+
py-2
|
|
593
|
+
text-label
|
|
594
|
+
leading-snug
|
|
595
|
+
`
|
|
596
|
+
}, Ce = {
|
|
597
|
+
lg: "w-[22px] h-[22px] mr-2",
|
|
598
|
+
md: "w-[18px] h-[18px] mr-1.5",
|
|
599
|
+
sm: "w-[18px] h-[18px] mr-1"
|
|
600
|
+
}, ke = (s) => {
|
|
601
|
+
const { id: d, className: f, size: b = "lg", children: i, ...o } = s, n = R.useId(), g = d || n, c = R.useContext(_);
|
|
602
|
+
c.isRequired && (o.required = !0), c.groupName && (o.name = c.groupName);
|
|
603
|
+
const m = {
|
|
604
|
+
lg: 22 / 24,
|
|
605
|
+
md: 18 / 24,
|
|
606
|
+
sm: 18 / 24
|
|
607
|
+
}, p = `
|
|
608
|
+
peer
|
|
609
|
+
sr-only
|
|
610
|
+
`, y = `
|
|
611
|
+
bg-clip-content
|
|
612
|
+
rounded
|
|
613
|
+
border
|
|
614
|
+
border-solid
|
|
615
|
+
border-solid-gray-900
|
|
616
|
+
fill-transparent
|
|
617
|
+
peer-checked:fill-white
|
|
618
|
+
peer-checked:bg-blue-600
|
|
619
|
+
peer-checked:border-none
|
|
620
|
+
peer-disabled:border-solid-gray-500
|
|
621
|
+
${k.Peer.focusRect}
|
|
622
|
+
`;
|
|
623
|
+
return /* @__PURE__ */ l.jsx(
|
|
624
|
+
"label",
|
|
625
|
+
{
|
|
626
|
+
htmlFor: g,
|
|
627
|
+
className: N(
|
|
628
|
+
we,
|
|
629
|
+
Te[b],
|
|
630
|
+
f
|
|
728
631
|
),
|
|
729
|
-
/* @__PURE__ */
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
632
|
+
children: /* @__PURE__ */ l.jsxs("span", { className: "flex items-center", children: [
|
|
633
|
+
/* @__PURE__ */ l.jsx(
|
|
634
|
+
"input",
|
|
635
|
+
{
|
|
636
|
+
id: g,
|
|
637
|
+
className: p,
|
|
638
|
+
type: "checkbox",
|
|
639
|
+
"aria-describedby": c.helperTextId,
|
|
640
|
+
"aria-errormessage": c.errorMessageId,
|
|
641
|
+
"aria-invalid": c.isInvalid ?? !1,
|
|
642
|
+
"aria-required": c.isRequired ?? !1,
|
|
643
|
+
...o
|
|
644
|
+
}
|
|
645
|
+
),
|
|
646
|
+
/* @__PURE__ */ l.jsx("span", { className: N(y, Ce[b]), children: /* @__PURE__ */ l.jsx(
|
|
647
|
+
"svg",
|
|
648
|
+
{
|
|
649
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
650
|
+
"aria-hidden": !0,
|
|
651
|
+
width: "24",
|
|
652
|
+
height: "24",
|
|
653
|
+
viewBox: "0 0 24 24",
|
|
654
|
+
children: /* @__PURE__ */ l.jsx("g", { transform: `scale(${m[b]} ${m[b]})`, children: /* @__PURE__ */ l.jsx("path", { d: "m9.55 17.65-5.325-5.325 1.05-1.075 4.275 4.275 9.175-9.175 1.05 1.075Z" }) })
|
|
655
|
+
}
|
|
656
|
+
) }),
|
|
657
|
+
/* @__PURE__ */ l.jsx("span", { className: "peer-disabled:text-solid-gray-500", children: i })
|
|
658
|
+
] })
|
|
659
|
+
}
|
|
660
|
+
);
|
|
661
|
+
};
|
|
662
|
+
ke.displayName = "Checkbox";
|
|
663
|
+
const _e = (s) => {
|
|
664
|
+
const { id: d, className: f, size: b = "lg", children: i, ...o } = s, n = R.useId(), g = d || n, c = R.useContext(_);
|
|
665
|
+
c.isRequired && (o.required = !0), c.groupName && (o.name = c.groupName);
|
|
666
|
+
const m = `
|
|
667
|
+
peer
|
|
668
|
+
sr-only
|
|
669
|
+
`, p = `
|
|
670
|
+
bg-clip-content
|
|
671
|
+
rounded-full
|
|
672
|
+
border
|
|
673
|
+
border-solid
|
|
674
|
+
border-solid-gray-900
|
|
675
|
+
peer-checked:bg-blue-600
|
|
676
|
+
peer-checked:border-blue-600
|
|
677
|
+
peer-disabled:border-solid-gray-500
|
|
678
|
+
${k.Peer.focusRect}
|
|
679
|
+
`, y = {
|
|
680
|
+
lg: "p-1",
|
|
681
|
+
md: "p-[3px]",
|
|
682
|
+
sm: "p-[3px]"
|
|
683
|
+
};
|
|
684
|
+
return /* @__PURE__ */ l.jsx(
|
|
685
|
+
"label",
|
|
686
|
+
{
|
|
687
|
+
htmlFor: g,
|
|
688
|
+
className: N(
|
|
689
|
+
we,
|
|
690
|
+
Te[b],
|
|
691
|
+
f
|
|
780
692
|
),
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
`, c = `
|
|
814
|
-
file:p-4
|
|
815
|
-
file:text-button
|
|
816
|
-
file:rounded-lg
|
|
817
|
-
`, o = `
|
|
818
|
-
rounded-lg
|
|
819
|
-
outline-offset-2
|
|
820
|
-
text-sumi-900
|
|
821
|
-
focus:outline
|
|
822
|
-
focus:outline-2
|
|
823
|
-
focus:outline-wood-600
|
|
824
|
-
aria-invalid:text-sun-800
|
|
825
|
-
`;
|
|
826
|
-
return /* @__PURE__ */ s.jsx(
|
|
827
|
-
"input",
|
|
693
|
+
children: /* @__PURE__ */ l.jsxs("span", { className: "flex items-center", children: [
|
|
694
|
+
/* @__PURE__ */ l.jsx(
|
|
695
|
+
"input",
|
|
696
|
+
{
|
|
697
|
+
id: g,
|
|
698
|
+
className: m,
|
|
699
|
+
type: "radio",
|
|
700
|
+
"aria-describedby": c.helperTextId,
|
|
701
|
+
"aria-errormessage": c.errorMessageId,
|
|
702
|
+
"aria-invalid": c.isInvalid ?? !1,
|
|
703
|
+
"aria-required": c.isRequired ?? !1,
|
|
704
|
+
...o
|
|
705
|
+
}
|
|
706
|
+
),
|
|
707
|
+
/* @__PURE__ */ l.jsx(
|
|
708
|
+
"span",
|
|
709
|
+
{
|
|
710
|
+
"aria-hidden": !0,
|
|
711
|
+
className: N(p, y[b], Ce[b])
|
|
712
|
+
}
|
|
713
|
+
),
|
|
714
|
+
/* @__PURE__ */ l.jsx("span", { className: "peer-disabled:text-solid-gray-500", children: i })
|
|
715
|
+
] })
|
|
716
|
+
}
|
|
717
|
+
);
|
|
718
|
+
};
|
|
719
|
+
_e.displayName = "Radio";
|
|
720
|
+
const We = (s) => {
|
|
721
|
+
const { id: d, className: f, size: b = "lg", children: i, ...o } = s, n = R.useContext(_);
|
|
722
|
+
return n.isRequired && (o.required = !0), /* @__PURE__ */ l.jsxs("div", { className: "inline-block relative", children: [
|
|
723
|
+
/* @__PURE__ */ l.jsx(
|
|
724
|
+
"select",
|
|
828
725
|
{
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
726
|
+
id: d || n.id,
|
|
727
|
+
className: N(
|
|
728
|
+
`
|
|
729
|
+
!pr-8
|
|
730
|
+
peer
|
|
731
|
+
cursor-pointer
|
|
732
|
+
appearance-none
|
|
733
|
+
`,
|
|
734
|
+
Re,
|
|
735
|
+
je[b],
|
|
736
|
+
f
|
|
737
|
+
),
|
|
832
738
|
"aria-describedby": n.helperTextId,
|
|
833
739
|
"aria-errormessage": n.errorMessageId,
|
|
834
740
|
"aria-invalid": n.isInvalid ?? !1,
|
|
835
741
|
"aria-required": n.isRequired ?? !1,
|
|
836
|
-
|
|
837
|
-
|
|
742
|
+
...o,
|
|
743
|
+
children: i
|
|
838
744
|
}
|
|
839
|
-
)
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
hr.displayName = "FileInput";
|
|
843
|
-
const xr = g.forwardRef(
|
|
844
|
-
(f, m) => {
|
|
845
|
-
const { className: v, ...u } = f, n = g.useContext(O);
|
|
846
|
-
n.isRequired && (u.required = !0);
|
|
847
|
-
const a = `
|
|
848
|
-
p-4
|
|
849
|
-
rounded-lg
|
|
850
|
-
border
|
|
851
|
-
border-solid
|
|
852
|
-
border-sumi-900
|
|
853
|
-
outline-offset-2
|
|
854
|
-
focus:outline
|
|
855
|
-
focus:outline-2
|
|
856
|
-
focus:outline-wood-500
|
|
857
|
-
disabled:bg-transparent
|
|
858
|
-
disabled:text-sumi-500
|
|
859
|
-
disabled:border-sumi-500
|
|
860
|
-
aria-invalid:border-sun-800
|
|
861
|
-
`;
|
|
862
|
-
return /* @__PURE__ */ s.jsx(
|
|
863
|
-
"input",
|
|
745
|
+
),
|
|
746
|
+
/* @__PURE__ */ l.jsxs(
|
|
747
|
+
"svg",
|
|
864
748
|
{
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
className:
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
749
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
750
|
+
"aria-hidden": !0,
|
|
751
|
+
className: `
|
|
752
|
+
pointer-events-none
|
|
753
|
+
absolute
|
|
754
|
+
right-4
|
|
755
|
+
top-1/2
|
|
756
|
+
-translate-y-1/2
|
|
757
|
+
text-solid-gray-900
|
|
758
|
+
peer-disabled:text-solid-gray-500
|
|
759
|
+
`,
|
|
760
|
+
fill: "none",
|
|
761
|
+
width: "16",
|
|
762
|
+
height: "16",
|
|
763
|
+
viewBox: "0 0 16 16",
|
|
764
|
+
children: [
|
|
765
|
+
/* @__PURE__ */ l.jsx("title", { children: "arrow down" }),
|
|
766
|
+
/* @__PURE__ */ l.jsx(
|
|
767
|
+
"path",
|
|
768
|
+
{
|
|
769
|
+
d: "M12 15.05 6.35 9.4 7.4 8.35l4.6 4.6 4.6-4.6 1.05 1.05Z",
|
|
770
|
+
fill: "currentColor"
|
|
771
|
+
}
|
|
772
|
+
)
|
|
773
|
+
]
|
|
874
774
|
}
|
|
875
|
-
)
|
|
876
|
-
}
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
const
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
775
|
+
)
|
|
776
|
+
] });
|
|
777
|
+
};
|
|
778
|
+
We.displayName = "Select";
|
|
779
|
+
const Be = (s) => {
|
|
780
|
+
const { id: d, className: f, size: b = "lg", ...i } = s, o = R.useContext(_);
|
|
781
|
+
o.isRequired && (i.required = !0);
|
|
782
|
+
const n = `
|
|
783
|
+
file:mr-2
|
|
784
|
+
file:inline-block
|
|
785
|
+
file:text-button
|
|
786
|
+
file:text-center
|
|
787
|
+
file:cursor-pointer
|
|
788
|
+
file:select-none
|
|
789
|
+
file:touch-manipulation
|
|
790
|
+
file:whitespace-nowrap
|
|
791
|
+
file:border
|
|
792
|
+
file:border-solid
|
|
793
|
+
file:border-blue-900
|
|
794
|
+
file:hover:border-blue-1000
|
|
795
|
+
file:active:border-blue-1200
|
|
796
|
+
file:disabled:border-solid-gray-500
|
|
797
|
+
file:disabled:cursor-not-allowed
|
|
798
|
+
`, g = `
|
|
799
|
+
file:text-blue-900
|
|
800
|
+
file:hover:text-blue-1000
|
|
801
|
+
file:active:text-blue-1200
|
|
802
|
+
file:bg-transparent
|
|
803
|
+
file:hover:bg-blue-200
|
|
804
|
+
file:active:bg-blue-300
|
|
805
|
+
file:disabled:text-solid-gray-500
|
|
806
|
+
file:disabled:bg-transparent
|
|
807
|
+
`, c = `
|
|
808
|
+
text-label
|
|
809
|
+
text-solid-gray-900
|
|
810
|
+
rounded-lg
|
|
811
|
+
outline-offset-2
|
|
812
|
+
aria-invalid:text-red-800
|
|
813
|
+
${k.hoverUnderline}
|
|
814
|
+
${k.focusRounded}
|
|
815
|
+
`, m = {
|
|
816
|
+
// 16(p-4) * 2 + 22(text-button * leading-snug) + boader * 2 = 56px
|
|
817
|
+
lg: `
|
|
818
|
+
file:p-4
|
|
819
|
+
file:text-button
|
|
820
|
+
file:rounded-lg
|
|
821
|
+
file:leading-snug
|
|
822
|
+
`,
|
|
823
|
+
// 12(py-3) * 2 + 22(text-button * leading-snug) + boader * 2 = 48px
|
|
824
|
+
md: `
|
|
825
|
+
file:px-4
|
|
826
|
+
file:py-3
|
|
827
|
+
file:text-button
|
|
828
|
+
file:rounded-lg
|
|
829
|
+
file:leading-snug
|
|
830
|
+
`,
|
|
831
|
+
// 8(py-2) * 2 + 22(text-button * leading-snug) + boader * 2 = 40px
|
|
832
|
+
sm: `
|
|
833
|
+
file:px-3
|
|
834
|
+
file:py-2
|
|
835
|
+
file:text-button
|
|
836
|
+
file:rounded-md
|
|
837
|
+
file:leading-snug
|
|
838
|
+
`
|
|
839
|
+
};
|
|
840
|
+
return /* @__PURE__ */ l.jsx(
|
|
841
|
+
"input",
|
|
842
|
+
{
|
|
843
|
+
type: "file",
|
|
844
|
+
id: d || o.id,
|
|
845
|
+
className: N(n, g, m[b], c, f),
|
|
846
|
+
"aria-describedby": o.helperTextId,
|
|
847
|
+
"aria-errormessage": o.errorMessageId,
|
|
848
|
+
"aria-invalid": o.isInvalid ?? !1,
|
|
849
|
+
"aria-required": o.isRequired ?? !1,
|
|
850
|
+
role: "button",
|
|
851
|
+
"aria-label": "File Upload",
|
|
852
|
+
...i
|
|
853
|
+
}
|
|
854
|
+
);
|
|
855
|
+
};
|
|
856
|
+
Be.displayName = "FileInput";
|
|
857
|
+
const Ue = (s) => {
|
|
858
|
+
const { id: d, className: f, size: b = "lg", ...i } = s, o = R.useContext(_);
|
|
859
|
+
return o.isRequired && (i.required = !0), /* @__PURE__ */ l.jsx(
|
|
860
|
+
"input",
|
|
861
|
+
{
|
|
862
|
+
type: "text",
|
|
863
|
+
id: d || o.id,
|
|
864
|
+
className: N(
|
|
865
|
+
Re,
|
|
866
|
+
je[b],
|
|
867
|
+
f
|
|
868
|
+
),
|
|
869
|
+
"aria-describedby": o.helperTextId,
|
|
870
|
+
"aria-errormessage": o.errorMessageId,
|
|
871
|
+
"aria-invalid": o.isInvalid ?? !1,
|
|
872
|
+
"aria-required": o.isRequired ?? !1,
|
|
873
|
+
...i
|
|
874
|
+
}
|
|
875
|
+
);
|
|
876
|
+
};
|
|
877
|
+
Ue.displayName = "Input";
|
|
878
|
+
const Fe = (s) => {
|
|
879
|
+
const { id: d, className: f, children: b, onChange: i, maxLength: o, ...n } = s, [g, c] = R.useState(0), m = (j) => {
|
|
880
|
+
i && i(j), c(j.target.value.length);
|
|
881
|
+
}, p = R.useContext(_);
|
|
882
|
+
p.isRequired && (n.required = !0);
|
|
883
|
+
const y = g > (o || 0) ? "text-red-800" : "text-solid-gray-700", E = `
|
|
886
884
|
p-4
|
|
885
|
+
text-label
|
|
887
886
|
rounded-lg
|
|
888
887
|
border
|
|
889
888
|
border-solid
|
|
890
|
-
border-
|
|
891
|
-
outline-offset-2
|
|
892
|
-
focus:outline
|
|
893
|
-
focus:outline-2
|
|
894
|
-
focus:outline-wood-500
|
|
889
|
+
border-solid-gray-900
|
|
895
890
|
disabled:bg-transparent
|
|
896
|
-
disabled:text-
|
|
897
|
-
disabled:border-
|
|
898
|
-
aria-invalid:border-
|
|
891
|
+
disabled:text-solid-gray-500
|
|
892
|
+
disabled:border-solid-gray-500
|
|
893
|
+
aria-invalid:border-red-800
|
|
894
|
+
${k.focusRect}
|
|
899
895
|
`;
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
{
|
|
904
|
-
id: b.id ?? h.id,
|
|
905
|
-
className: N(j, v),
|
|
906
|
-
"aria-describedby": h.helperTextId,
|
|
907
|
-
"aria-errormessage": h.errorMessageId,
|
|
908
|
-
"aria-invalid": h.isInvalid ?? !1,
|
|
909
|
-
"aria-required": h.isRequired ?? !1,
|
|
910
|
-
onChange: T,
|
|
911
|
-
...b,
|
|
912
|
-
ref: m,
|
|
913
|
-
children: u
|
|
914
|
-
}
|
|
915
|
-
),
|
|
916
|
-
a ? /* @__PURE__ */ s.jsxs("p", { className: "text-sup text-sumi-700", children: [
|
|
917
|
-
/* @__PURE__ */ s.jsx("span", { className: y, children: c }),
|
|
918
|
-
"/",
|
|
919
|
-
/* @__PURE__ */ s.jsx("span", { children: a })
|
|
920
|
-
] }) : ""
|
|
921
|
-
] });
|
|
922
|
-
}
|
|
923
|
-
);
|
|
924
|
-
Oe.displayName = "Textarea";
|
|
925
|
-
const te = g.forwardRef((f, m) => {
|
|
926
|
-
const v = g.useId(), {
|
|
927
|
-
labelText: u,
|
|
928
|
-
className: n,
|
|
929
|
-
helperText: a,
|
|
930
|
-
errorMessage: b,
|
|
931
|
-
isInvalid: c,
|
|
932
|
-
isRequired: o,
|
|
933
|
-
children: T,
|
|
934
|
-
...h
|
|
935
|
-
} = f, y = {
|
|
936
|
-
id: f.htmlFor ?? `input-${v}`,
|
|
937
|
-
helperTextId: `helper-text-${v}`,
|
|
938
|
-
errorMessageId: `error-message-${v}`,
|
|
939
|
-
isInvalid: c ?? !1,
|
|
940
|
-
isRequired: o ?? !1
|
|
941
|
-
}, j = `
|
|
942
|
-
text-sup text-sumi-700
|
|
943
|
-
`, _ = `
|
|
944
|
-
text-sup text-sun-800
|
|
945
|
-
`;
|
|
946
|
-
return /* @__PURE__ */ s.jsx(O.Provider, { value: y, children: /* @__PURE__ */ s.jsxs("div", { className: N("mb-4", n), children: [
|
|
947
|
-
/* @__PURE__ */ s.jsxs(
|
|
948
|
-
"label",
|
|
949
|
-
{
|
|
950
|
-
className: N("block mb-2 text-label", c && "text-sun-800"),
|
|
951
|
-
htmlFor: y.id,
|
|
952
|
-
ref: m,
|
|
953
|
-
...h,
|
|
954
|
-
children: [
|
|
955
|
-
u,
|
|
956
|
-
o && /* @__PURE__ */ s.jsx("span", { className: "text-label text-sun-800", children: " *" })
|
|
957
|
-
]
|
|
958
|
-
}
|
|
959
|
-
),
|
|
960
|
-
a && /* @__PURE__ */ s.jsx("p", { id: y.helperTextId, className: N(j, "mb-2"), children: a }),
|
|
961
|
-
T,
|
|
962
|
-
c && /* @__PURE__ */ s.jsx(
|
|
963
|
-
"p",
|
|
896
|
+
return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
897
|
+
/* @__PURE__ */ l.jsx(
|
|
898
|
+
"textarea",
|
|
964
899
|
{
|
|
965
|
-
id:
|
|
966
|
-
className: N(
|
|
900
|
+
id: d || p.id,
|
|
901
|
+
className: N(E, f),
|
|
902
|
+
"aria-describedby": p.helperTextId,
|
|
903
|
+
"aria-errormessage": p.errorMessageId,
|
|
904
|
+
"aria-invalid": p.isInvalid ?? !1,
|
|
905
|
+
"aria-required": p.isRequired ?? !1,
|
|
906
|
+
onChange: m,
|
|
907
|
+
...n,
|
|
967
908
|
children: b
|
|
968
909
|
}
|
|
969
|
-
)
|
|
970
|
-
|
|
971
|
-
})
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
910
|
+
),
|
|
911
|
+
o ? /* @__PURE__ */ l.jsxs("p", { className: "text-label text-solid-gray-700", children: [
|
|
912
|
+
/* @__PURE__ */ l.jsx("span", { className: y, children: g }),
|
|
913
|
+
"/",
|
|
914
|
+
/* @__PURE__ */ l.jsx("span", { children: o })
|
|
915
|
+
] }) : ""
|
|
916
|
+
] });
|
|
917
|
+
};
|
|
918
|
+
Fe.displayName = "Textarea";
|
|
919
|
+
const Ge = (s) => {
|
|
920
|
+
const d = R.useId(), {
|
|
921
|
+
labelText: f,
|
|
922
|
+
className: b,
|
|
923
|
+
helperText: i,
|
|
924
|
+
errorMessage: o,
|
|
925
|
+
isInvalid: n,
|
|
926
|
+
isRequired: g,
|
|
927
|
+
children: c,
|
|
928
|
+
...m
|
|
929
|
+
} = s, p = {
|
|
930
|
+
id: s.htmlFor ?? `input-${d}`,
|
|
931
|
+
helperTextId: `helper-text-${d}`,
|
|
932
|
+
errorMessageId: `error-message-${d}`,
|
|
933
|
+
isInvalid: n ?? !1,
|
|
934
|
+
isRequired: g ?? !1
|
|
935
|
+
};
|
|
936
|
+
return /* @__PURE__ */ l.jsx(_.Provider, { value: p, children: /* @__PURE__ */ l.jsxs("div", { className: N("flex flex-col items-start gap-2", b), children: [
|
|
937
|
+
/* @__PURE__ */ l.jsxs(
|
|
938
|
+
"label",
|
|
994
939
|
{
|
|
995
|
-
className: N("block
|
|
940
|
+
className: N("block text-label", n && "text-red-800"),
|
|
941
|
+
htmlFor: p.id,
|
|
942
|
+
...m,
|
|
996
943
|
children: [
|
|
997
|
-
|
|
998
|
-
|
|
944
|
+
f,
|
|
945
|
+
g && /* @__PURE__ */ l.jsx("span", { className: "text-label text-red-800", children: " *" })
|
|
999
946
|
]
|
|
1000
947
|
}
|
|
1001
|
-
)
|
|
1002
|
-
/* @__PURE__ */
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
"text-sup text-sun-800",
|
|
1010
|
-
a ? "mt-1" : "mt-2"
|
|
1011
|
-
),
|
|
1012
|
-
children: b
|
|
1013
|
-
}
|
|
1014
|
-
)
|
|
948
|
+
),
|
|
949
|
+
i && /* @__PURE__ */ l.jsx("p", { id: p.helperTextId, className: `
|
|
950
|
+
text-label text-solid-gray-700
|
|
951
|
+
`, children: i }),
|
|
952
|
+
c,
|
|
953
|
+
n && /* @__PURE__ */ l.jsx("p", { id: p.errorMessageId, className: `
|
|
954
|
+
text-label text-red-800
|
|
955
|
+
`, children: o })
|
|
1015
956
|
] }) });
|
|
1016
|
-
}
|
|
1017
|
-
|
|
1018
|
-
const
|
|
1019
|
-
const {
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
...
|
|
1029
|
-
} =
|
|
1030
|
-
|
|
1031
|
-
|
|
957
|
+
};
|
|
958
|
+
Ge.displayName = "LabelControl";
|
|
959
|
+
const K = (s) => {
|
|
960
|
+
const d = R.useId(), {
|
|
961
|
+
labelText: f,
|
|
962
|
+
className: b,
|
|
963
|
+
helperText: i,
|
|
964
|
+
errorMessage: o,
|
|
965
|
+
isInvalid: n,
|
|
966
|
+
isRequired: g,
|
|
967
|
+
direction: c,
|
|
968
|
+
children: m,
|
|
969
|
+
...p
|
|
970
|
+
} = s, E = {
|
|
971
|
+
groupName: p.name ?? `group-${d}`,
|
|
972
|
+
helperTextId: `helper-text-${d}`,
|
|
973
|
+
errorMessageId: `error-message-${d}`,
|
|
974
|
+
isInvalid: n ?? !1,
|
|
975
|
+
isRequired: g ?? !1
|
|
976
|
+
}, j = c ?? "flex-col";
|
|
977
|
+
return /* @__PURE__ */ l.jsx(_.Provider, { value: E, children: /* @__PURE__ */ l.jsxs(
|
|
978
|
+
"fieldset",
|
|
1032
979
|
{
|
|
1033
|
-
className:
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
980
|
+
className: N("flex flex-col items-start gap-2", b),
|
|
981
|
+
...p,
|
|
982
|
+
children: [
|
|
983
|
+
/* @__PURE__ */ l.jsx("legend", { children: /* @__PURE__ */ l.jsxs("p", { className: N("block text-label", n && "text-red-800"), children: [
|
|
984
|
+
f,
|
|
985
|
+
g && /* @__PURE__ */ l.jsx("span", { className: "text-red-800", children: " *" })
|
|
986
|
+
] }) }),
|
|
987
|
+
/* @__PURE__ */ l.jsx("div", { className: N("inline-flex", j), children: m }),
|
|
988
|
+
i && /* @__PURE__ */ l.jsx("p", { id: E.helperTextId, className: "text-sup text-solid-gray-700", children: i }),
|
|
989
|
+
n && /* @__PURE__ */ l.jsx("p", { id: E.errorMessageId, className: "text-label text-red-800", children: o })
|
|
990
|
+
]
|
|
1042
991
|
}
|
|
1043
|
-
);
|
|
1044
|
-
}
|
|
1045
|
-
|
|
1046
|
-
const
|
|
992
|
+
) });
|
|
993
|
+
};
|
|
994
|
+
K.displayName = "FieldsetControl";
|
|
995
|
+
const He = (s) => {
|
|
1047
996
|
const {
|
|
1048
|
-
items:
|
|
1049
|
-
onChange:
|
|
1050
|
-
className:
|
|
1051
|
-
labelText:
|
|
1052
|
-
helperText:
|
|
1053
|
-
errorMessage:
|
|
1054
|
-
isInvalid:
|
|
1055
|
-
isRequired:
|
|
1056
|
-
|
|
1057
|
-
...
|
|
1058
|
-
} =
|
|
1059
|
-
return /* @__PURE__ */
|
|
1060
|
-
|
|
997
|
+
items: d,
|
|
998
|
+
onChange: f,
|
|
999
|
+
className: b,
|
|
1000
|
+
labelText: i,
|
|
1001
|
+
helperText: o,
|
|
1002
|
+
errorMessage: n,
|
|
1003
|
+
isInvalid: g,
|
|
1004
|
+
isRequired: c,
|
|
1005
|
+
size: m,
|
|
1006
|
+
...p
|
|
1007
|
+
} = s;
|
|
1008
|
+
return /* @__PURE__ */ l.jsx(
|
|
1009
|
+
K,
|
|
1061
1010
|
{
|
|
1062
|
-
className:
|
|
1063
|
-
labelText:
|
|
1064
|
-
helperText:
|
|
1065
|
-
errorMessage:
|
|
1066
|
-
isInvalid:
|
|
1067
|
-
isRequired:
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
Se,
|
|
1011
|
+
className: b,
|
|
1012
|
+
labelText: i,
|
|
1013
|
+
helperText: o,
|
|
1014
|
+
errorMessage: n,
|
|
1015
|
+
isInvalid: g,
|
|
1016
|
+
isRequired: c,
|
|
1017
|
+
...p,
|
|
1018
|
+
children: d.map(({ label: y, value: E }) => /* @__PURE__ */ l.jsx(
|
|
1019
|
+
ke,
|
|
1072
1020
|
{
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
children:
|
|
1021
|
+
size: m,
|
|
1022
|
+
value: E,
|
|
1023
|
+
onChange: f,
|
|
1024
|
+
children: y
|
|
1077
1025
|
},
|
|
1078
|
-
|
|
1026
|
+
`${y}-${E}`
|
|
1079
1027
|
))
|
|
1080
1028
|
}
|
|
1081
1029
|
);
|
|
1082
|
-
}
|
|
1083
|
-
|
|
1084
|
-
const
|
|
1085
|
-
const {
|
|
1086
|
-
className: v,
|
|
1087
|
-
labelText: u,
|
|
1088
|
-
helperText: n,
|
|
1089
|
-
errorMessage: a,
|
|
1090
|
-
isInvalid: b,
|
|
1091
|
-
isRequired: c,
|
|
1092
|
-
...o
|
|
1093
|
-
} = f;
|
|
1094
|
-
return /* @__PURE__ */ s.jsx(
|
|
1095
|
-
te,
|
|
1096
|
-
{
|
|
1097
|
-
className: v,
|
|
1098
|
-
labelText: u,
|
|
1099
|
-
helperText: n,
|
|
1100
|
-
errorMessage: a,
|
|
1101
|
-
isInvalid: b,
|
|
1102
|
-
isRequired: c,
|
|
1103
|
-
children: /* @__PURE__ */ s.jsx(br, { ref: m, ...o })
|
|
1104
|
-
}
|
|
1105
|
-
);
|
|
1106
|
-
});
|
|
1107
|
-
Rr.displayName = "SelectControl";
|
|
1108
|
-
const Er = g.forwardRef((f, m) => {
|
|
1030
|
+
};
|
|
1031
|
+
He.displayName = "CheckboxGroup";
|
|
1032
|
+
const Je = (s) => {
|
|
1109
1033
|
const {
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1034
|
+
items: d,
|
|
1035
|
+
onChange: f,
|
|
1036
|
+
className: b,
|
|
1037
|
+
labelText: i,
|
|
1038
|
+
helperText: o,
|
|
1039
|
+
errorMessage: n,
|
|
1040
|
+
isInvalid: g,
|
|
1115
1041
|
isRequired: c,
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1042
|
+
defaultValue: m,
|
|
1043
|
+
size: p,
|
|
1044
|
+
...y
|
|
1045
|
+
} = s;
|
|
1046
|
+
return /* @__PURE__ */ l.jsx(
|
|
1047
|
+
K,
|
|
1120
1048
|
{
|
|
1121
|
-
className:
|
|
1122
|
-
labelText:
|
|
1123
|
-
helperText:
|
|
1124
|
-
errorMessage:
|
|
1125
|
-
isInvalid:
|
|
1049
|
+
className: b,
|
|
1050
|
+
labelText: i,
|
|
1051
|
+
helperText: o,
|
|
1052
|
+
errorMessage: n,
|
|
1053
|
+
isInvalid: g,
|
|
1126
1054
|
isRequired: c,
|
|
1127
|
-
|
|
1055
|
+
...y,
|
|
1056
|
+
children: d.map(({ label: E, value: j }) => /* @__PURE__ */ l.jsx(
|
|
1057
|
+
_e,
|
|
1058
|
+
{
|
|
1059
|
+
size: p,
|
|
1060
|
+
value: j,
|
|
1061
|
+
onChange: f,
|
|
1062
|
+
defaultChecked: m === j,
|
|
1063
|
+
children: E
|
|
1064
|
+
},
|
|
1065
|
+
`${E}-${j}`
|
|
1066
|
+
))
|
|
1128
1067
|
}
|
|
1129
1068
|
);
|
|
1130
|
-
}
|
|
1131
|
-
|
|
1069
|
+
};
|
|
1070
|
+
Je.displayName = "RadioGroup";
|
|
1132
1071
|
export {
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
Oe as Textarea,
|
|
1144
|
-
Er as TextareaControl
|
|
1072
|
+
ke as Checkbox,
|
|
1073
|
+
He as CheckboxGroup,
|
|
1074
|
+
K as FieldsetControl,
|
|
1075
|
+
Be as FileInput,
|
|
1076
|
+
Ue as Input,
|
|
1077
|
+
Ge as LabelControl,
|
|
1078
|
+
_e as Radio,
|
|
1079
|
+
Je as RadioGroup,
|
|
1080
|
+
We as Select,
|
|
1081
|
+
Fe as Textarea
|
|
1145
1082
|
};
|