@jongh/ui 1.6.5 → 2.20260902.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/base.css +1103 -0
- package/dist/blue.css +155 -0
- package/dist/chunks/component-accordion-CNhK3gho.js +27 -0
- package/dist/chunks/component-avatar-C5ox3FhU.js +15 -0
- package/dist/chunks/component-badge-GyL8C7n9.js +23 -0
- package/dist/chunks/component-box-BnXf833v.js +26 -0
- package/dist/chunks/component-button-cnnLKCl_.js +21 -0
- package/dist/chunks/component-calendar-D53mkOdW.js +240 -0
- package/dist/chunks/component-center-BIp6NkIt.js +32 -0
- package/dist/chunks/component-checkbox-cJlGSnlk.js +54 -0
- package/dist/chunks/component-dialog-yBIkthjw.js +35 -0
- package/dist/chunks/component-grid-BKLFatKL.js +38 -0
- package/dist/chunks/component-h-stack-ODw00BMb.js +36 -0
- package/dist/chunks/component-select-CHwGLpGT.js +52 -0
- package/dist/chunks/component-slider-Ba5H5eY3.js +16 -0
- package/dist/chunks/component-tabs-BIWU8zcA.js +58 -0
- package/dist/chunks/component-textfield-CCdnfRzb.js +53 -0
- package/dist/chunks/component-v-stack-_k842HHc.js +36 -0
- package/dist/chunks/recipe-accordion-recipe-DPDnNF9J.js +27 -0
- package/dist/chunks/recipe-avatar-recipe-HkwMS2OJ.js +24 -0
- package/dist/chunks/recipe-badge-recipe-DWojym5V.js +136 -0
- package/dist/chunks/recipe-button-recipe-BA1JNmBF.js +36 -0
- package/dist/chunks/recipe-calendar-recipe-CUjveeyt.js +31 -0
- package/dist/chunks/recipe-center-recipe-CBm4FTPj.js +24 -0
- package/dist/chunks/recipe-checkbox-recipe-CCDU79zw.js +31 -0
- package/dist/chunks/recipe-dialog-recipe-Dp_2WfN_.js +31 -0
- package/dist/chunks/recipe-layout-recipe-CXAjEcDn.js +20 -0
- package/dist/chunks/recipe-select-recipe-Chdpfb_N.js +33 -0
- package/dist/chunks/recipe-slider-recipe-Bn_q7Je8.js +25 -0
- package/dist/chunks/recipe-tabs-recipe-Bo5qcI1u.js +26 -0
- package/dist/chunks/recipe-textfield-recipe-szIwdV6q.js +27 -0
- package/dist/chunks/rolldown-runtime-CKyOoeiN.js +12 -0
- package/dist/index.d.ts +21694 -0
- package/dist/index.js +583 -0
- package/dist/purple.css +155 -0
- package/dist/recipes/accordion-recipe.css +118 -0
- package/dist/recipes/avatar-recipe.css +44 -0
- package/dist/recipes/badge-recipe.css +47 -0
- package/dist/recipes/button-recipe.css +153 -0
- package/dist/recipes/calendar-recipe.css +145 -0
- package/dist/recipes/center-recipe.css +13 -0
- package/dist/recipes/checkbox-recipe.css +156 -0
- package/dist/recipes/dialog-recipe.css +101 -0
- package/dist/recipes/layout-recipe.css +427 -0
- package/dist/recipes/select-recipe.css +175 -0
- package/dist/recipes/slider-recipe.css +60 -0
- package/dist/recipes/tabs-recipe.css +76 -0
- package/dist/recipes/textfield-recipe.css +95 -0
- package/dist/style.css +1 -0
- package/package.json +62 -37
- package/.storybook/index.css +0 -1
- package/.storybook/main.ts +0 -40
- package/.storybook/preview.ts +0 -16
- package/.storybook/vitest.setup.ts +0 -9
- package/.turbo/turbo-build.log +0 -79
- package/CHANGELOG.md +0 -54
- package/chromatic.config.json +0 -6
- package/eslint.config.mjs +0 -14
- package/index.html +0 -13
- package/panda.config.ts +0 -13
- package/postcss.config.cjs +0 -3
- package/preset.ts +0 -134
- package/src/component/accordion/ui/index.tsx +0 -80
- package/src/component/accordion/ui/recipe.ts +0 -65
- package/src/component/avatar/ui/index.tsx +0 -47
- package/src/component/avatar/ui/recipe.ts +0 -30
- package/src/component/button/ui/index.tsx +0 -29
- package/src/component/button/ui/recipe.ts +0 -102
- package/src/component/chip/ui/index.tsx +0 -30
- package/src/component/chip/ui/recipe.ts +0 -112
- package/src/component/dialog/ui/index.tsx +0 -73
- package/src/component/dialog/ui/recipe.ts +0 -92
- package/src/component/select/ui/index.tsx +0 -128
- package/src/component/select/ui/recipe.ts +0 -142
- package/src/component/slider/ui/index.tsx +0 -61
- package/src/component/slider/ui/recipe.ts +0 -52
- package/src/component/tabs/ui/index.tsx +0 -61
- package/src/component/tabs/ui/recipe.ts +0 -59
- package/src/hooks/createContext.tsx +0 -34
- package/src/hooks/useComposedRefs.ts +0 -20
- package/src/hooks/useControllableState.ts +0 -87
- package/src/hooks/useKeyboardEvent.ts +0 -58
- package/src/stories/accordion.stories.tsx +0 -63
- package/src/stories/avatar.stories.tsx +0 -33
- package/src/stories/button.stories.tsx +0 -53
- package/src/stories/chip.stories.tsx +0 -69
- package/src/stories/dialog.stories.tsx +0 -134
- package/src/stories/select.stories.tsx +0 -35
- package/src/stories/slider.stories.tsx +0 -31
- package/src/stories/tabs.stories.tsx +0 -63
- package/src/test/accordion.test.tsx +0 -66
- package/src/test/tabs.test.tsx +0 -30
- package/src/types/index.ts +0 -1
- package/src/utils/createStyleContext.tsx +0 -108
- package/src/utils/defineSafe.ts +0 -46
- package/src/utils/getObjectKeys.ts +0 -20
- package/src/vite-env.d.ts +0 -1
- package/storybook-static/assets/Color-F6OSRLHC-CrKta8Qx.js +0 -1
- package/storybook-static/assets/DocsRenderer-CFRXHY34-Crd9Mepd.js +0 -586
- package/storybook-static/assets/_commonjsHelpers-Cpj98o6Y.js +0 -1
- package/storybook-static/assets/accordion.stories-0Om0AnMm.js +0 -50
- package/storybook-static/assets/avatar.stories-DMDsrSks.js +0 -16
- package/storybook-static/assets/axe-Dzet_oDA.js +0 -30
- package/storybook-static/assets/button.stories-CuVC-3x-.js +0 -40
- package/storybook-static/assets/chip.stories-FBIp8XNi.js +0 -48
- package/storybook-static/assets/chunk-XP5HYGXS-D5tuasO7.js +0 -1
- package/storybook-static/assets/createLucideIcon-DmXe7Z8R.js +0 -21
- package/storybook-static/assets/dialog.stories-3WsEvXt4.js +0 -106
- package/storybook-static/assets/entry-preview-Bkgdgq1b.js +0 -10
- package/storybook-static/assets/entry-preview-docs-zLz1Es7d.js +0 -46
- package/storybook-static/assets/iframe-LPPPXabV.js +0 -199
- package/storybook-static/assets/index-Bklpsb39.js +0 -1
- package/storybook-static/assets/index-BrlJLjep.js +0 -24
- package/storybook-static/assets/index-C2tRLqin.js +0 -41
- package/storybook-static/assets/index-CBft-ReK.js +0 -8
- package/storybook-static/assets/index-CSbWd7UJ.js +0 -1
- package/storybook-static/assets/index-ClcD9ViR.js +0 -9
- package/storybook-static/assets/index-Cu4lwwaE.js +0 -1
- package/storybook-static/assets/index-Cvkemp2J.js +0 -1
- package/storybook-static/assets/index-D59aU5s_.js +0 -240
- package/storybook-static/assets/index-DNo8LKN3.js +0 -1
- package/storybook-static/assets/index-DUy19JZU.js +0 -1
- package/storybook-static/assets/index-D_35mznO.js +0 -1
- package/storybook-static/assets/index-DrFu-skq.js +0 -6
- package/storybook-static/assets/index-DvbTp2M2.js +0 -1
- package/storybook-static/assets/index-rtmQni2k.js +0 -1
- package/storybook-static/assets/jsx-runtime-BYYWji4R.js +0 -9
- package/storybook-static/assets/matchers-57EZJSQE-oeXCqs4p.js +0 -14
- package/storybook-static/assets/preview-1l6V4UsQ.js +0 -1
- package/storybook-static/assets/preview-B3PTUHS7.js +0 -1
- package/storybook-static/assets/preview-BBWR9nbA.js +0 -1
- package/storybook-static/assets/preview-BCV5r-Ja.js +0 -1
- package/storybook-static/assets/preview-BWzBA1C2.js +0 -396
- package/storybook-static/assets/preview-Bb56VplF.js +0 -2
- package/storybook-static/assets/preview-Bl8rsKRy.js +0 -1
- package/storybook-static/assets/preview-Bm-a94Ct.js +0 -2
- package/storybook-static/assets/preview-Br-h4d84.js +0 -1
- package/storybook-static/assets/preview-D77C14du.js +0 -34
- package/storybook-static/assets/preview-DC8N7cZb.css +0 -1
- package/storybook-static/assets/preview-DGUiP6tS.js +0 -7
- package/storybook-static/assets/react-18-BPs3tMGP.js +0 -1
- package/storybook-static/assets/select.stories-AN8Hb81Z.js +0 -20
- package/storybook-static/assets/slider.stories-CxOczq0y.js +0 -12
- package/storybook-static/assets/tabs.stories-BbTU4QU3.js +0 -28
- package/storybook-static/favicon.svg +0 -1
- package/storybook-static/iframe.html +0 -666
- package/storybook-static/index.html +0 -193
- package/storybook-static/index.json +0 -1
- package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/project.json +0 -1
- package/storybook-static/sb-addons/a11y-12/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/a11y-12/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/chromatic-com-storybook-10/manager-bundle.js +0 -331
- package/storybook-static/sb-addons/chromatic-com-storybook-10/manager-bundle.js.LEGAL.txt +0 -51
- package/storybook-static/sb-addons/controls-11/manager-bundle.js +0 -391
- package/storybook-static/sb-addons/controls-11/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-actions-3/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/essentials-actions-3/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-backgrounds-5/manager-bundle.js +0 -12
- package/storybook-static/sb-addons/essentials-backgrounds-5/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-controls-2/manager-bundle.js +0 -391
- package/storybook-static/sb-addons/essentials-controls-2/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-docs-4/manager-bundle.js +0 -230
- package/storybook-static/sb-addons/essentials-docs-4/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-measure-8/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/essentials-measure-8/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-outline-9/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/essentials-outline-9/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-toolbars-7/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/essentials-toolbars-7/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-viewport-6/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/essentials-viewport-6/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/links-1/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/links-1/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js +0 -3
- package/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/storybook-experimental-addon-test-13/manager-bundle.js +0 -211
- package/storybook-static/sb-addons/storybook-experimental-addon-test-13/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-common-assets/favicon.svg +0 -1
- package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/sb-manager/globals-module-info.js +0 -1037
- package/storybook-static/sb-manager/globals-runtime.js +0 -40857
- package/storybook-static/sb-manager/globals.js +0 -48
- package/storybook-static/sb-manager/runtime.js +0 -11963
- package/styled-system/css/conditions.mjs +0 -36
- package/styled-system/css/css.d.ts +0 -22
- package/styled-system/css/css.mjs +0 -45
- package/styled-system/css/cva.d.ts +0 -6
- package/styled-system/css/cva.mjs +0 -87
- package/styled-system/css/cx.d.ts +0 -5
- package/styled-system/css/cx.mjs +0 -15
- package/styled-system/css/index.d.ts +0 -5
- package/styled-system/css/index.mjs +0 -4
- package/styled-system/css/sva.d.ts +0 -4
- package/styled-system/css/sva.mjs +0 -41
- package/styled-system/helpers.mjs +0 -336
- package/styled-system/jsx/aspect-ratio.d.ts +0 -10
- package/styled-system/jsx/aspect-ratio.mjs +0 -14
- package/styled-system/jsx/bleed.d.ts +0 -10
- package/styled-system/jsx/bleed.mjs +0 -14
- package/styled-system/jsx/box.d.ts +0 -10
- package/styled-system/jsx/box.mjs +0 -14
- package/styled-system/jsx/center.d.ts +0 -10
- package/styled-system/jsx/center.mjs +0 -14
- package/styled-system/jsx/circle.d.ts +0 -10
- package/styled-system/jsx/circle.mjs +0 -14
- package/styled-system/jsx/container.d.ts +0 -10
- package/styled-system/jsx/container.mjs +0 -14
- package/styled-system/jsx/cq.d.ts +0 -10
- package/styled-system/jsx/cq.mjs +0 -14
- package/styled-system/jsx/divider.d.ts +0 -10
- package/styled-system/jsx/divider.mjs +0 -14
- package/styled-system/jsx/factory-helper.mjs +0 -22
- package/styled-system/jsx/factory.d.ts +0 -3
- package/styled-system/jsx/factory.mjs +0 -80
- package/styled-system/jsx/flex.d.ts +0 -10
- package/styled-system/jsx/flex.mjs +0 -14
- package/styled-system/jsx/float.d.ts +0 -10
- package/styled-system/jsx/float.mjs +0 -14
- package/styled-system/jsx/grid-item.d.ts +0 -10
- package/styled-system/jsx/grid-item.mjs +0 -14
- package/styled-system/jsx/grid.d.ts +0 -10
- package/styled-system/jsx/grid.mjs +0 -14
- package/styled-system/jsx/hstack.d.ts +0 -10
- package/styled-system/jsx/hstack.mjs +0 -14
- package/styled-system/jsx/index.d.ts +0 -24
- package/styled-system/jsx/index.mjs +0 -22
- package/styled-system/jsx/is-valid-prop.d.ts +0 -11
- package/styled-system/jsx/is-valid-prop.mjs +0 -17
- package/styled-system/jsx/link-overlay.d.ts +0 -10
- package/styled-system/jsx/link-overlay.mjs +0 -14
- package/styled-system/jsx/spacer.d.ts +0 -10
- package/styled-system/jsx/spacer.mjs +0 -14
- package/styled-system/jsx/square.d.ts +0 -10
- package/styled-system/jsx/square.mjs +0 -14
- package/styled-system/jsx/stack.d.ts +0 -10
- package/styled-system/jsx/stack.mjs +0 -14
- package/styled-system/jsx/visually-hidden.d.ts +0 -10
- package/styled-system/jsx/visually-hidden.mjs +0 -14
- package/styled-system/jsx/vstack.d.ts +0 -10
- package/styled-system/jsx/vstack.mjs +0 -14
- package/styled-system/jsx/wrap.d.ts +0 -10
- package/styled-system/jsx/wrap.mjs +0 -14
- package/styled-system/patterns/aspect-ratio.d.ts +0 -21
- package/styled-system/patterns/aspect-ratio.mjs +0 -38
- package/styled-system/patterns/bleed.d.ts +0 -22
- package/styled-system/patterns/bleed.mjs +0 -24
- package/styled-system/patterns/box.d.ts +0 -21
- package/styled-system/patterns/box.mjs +0 -15
- package/styled-system/patterns/center.d.ts +0 -21
- package/styled-system/patterns/center.mjs +0 -21
- package/styled-system/patterns/circle.d.ts +0 -21
- package/styled-system/patterns/circle.mjs +0 -25
- package/styled-system/patterns/container.d.ts +0 -21
- package/styled-system/patterns/container.mjs +0 -21
- package/styled-system/patterns/cq.d.ts +0 -22
- package/styled-system/patterns/cq.mjs +0 -21
- package/styled-system/patterns/divider.d.ts +0 -23
- package/styled-system/patterns/divider.mjs +0 -25
- package/styled-system/patterns/flex.d.ts +0 -27
- package/styled-system/patterns/flex.mjs +0 -26
- package/styled-system/patterns/float.d.ts +0 -24
- package/styled-system/patterns/float.mjs +0 -52
- package/styled-system/patterns/grid-item.d.ts +0 -26
- package/styled-system/patterns/grid-item.mjs +0 -25
- package/styled-system/patterns/grid.d.ts +0 -25
- package/styled-system/patterns/grid.mjs +0 -27
- package/styled-system/patterns/hstack.d.ts +0 -22
- package/styled-system/patterns/hstack.mjs +0 -24
- package/styled-system/patterns/index.d.ts +0 -21
- package/styled-system/patterns/index.mjs +0 -20
- package/styled-system/patterns/link-overlay.d.ts +0 -21
- package/styled-system/patterns/link-overlay.mjs +0 -24
- package/styled-system/patterns/spacer.d.ts +0 -21
- package/styled-system/patterns/spacer.mjs +0 -21
- package/styled-system/patterns/square.d.ts +0 -21
- package/styled-system/patterns/square.mjs +0 -24
- package/styled-system/patterns/stack.d.ts +0 -24
- package/styled-system/patterns/stack.mjs +0 -24
- package/styled-system/patterns/visually-hidden.d.ts +0 -21
- package/styled-system/patterns/visually-hidden.mjs +0 -18
- package/styled-system/patterns/vstack.d.ts +0 -22
- package/styled-system/patterns/vstack.mjs +0 -24
- package/styled-system/patterns/wrap.d.ts +0 -25
- package/styled-system/patterns/wrap.mjs +0 -25
- package/styled-system/tokens/index.d.ts +0 -9
- package/styled-system/tokens/index.mjs +0 -1992
- package/styled-system/tokens/tokens.d.ts +0 -60
- package/styled-system/types/composition.d.ts +0 -164
- package/styled-system/types/conditions.d.ts +0 -274
- package/styled-system/types/csstype.d.ts +0 -21298
- package/styled-system/types/global.d.ts +0 -20
- package/styled-system/types/index.d.ts +0 -8
- package/styled-system/types/jsx.d.ts +0 -52
- package/styled-system/types/parts.d.ts +0 -8
- package/styled-system/types/pattern.d.ts +0 -78
- package/styled-system/types/prop-type.d.ts +0 -235
- package/styled-system/types/recipe.d.ts +0 -181
- package/styled-system/types/selectors.d.ts +0 -59
- package/styled-system/types/static-css.d.ts +0 -56
- package/styled-system/types/style-props.d.ts +0 -7468
- package/styled-system/types/system-types.d.ts +0 -109
- package/tsconfig.json +0 -13
- package/turbo/generators/config.cjs +0 -7
- package/turbo/generators/stories.cjs +0 -23
- package/turbo/generators/templates/stories.tsx.hbs +0 -16
- package/turbo/generators/templates/ui.tsx.hbs +0 -8
- package/turbo/generators/ui.cjs +0 -19
- package/vite.config.ts +0 -7
- package/vitest.config.ts +0 -45
package/dist/index.js
ADDED
|
@@ -0,0 +1,583 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { t as e } from "./chunks/component-accordion-CNhK3gho.js";
|
|
3
|
+
import { t } from "./chunks/component-avatar-C5ox3FhU.js";
|
|
4
|
+
import { t as n } from "./chunks/component-badge-GyL8C7n9.js";
|
|
5
|
+
import { t as r } from "./chunks/component-box-BnXf833v.js";
|
|
6
|
+
import { t as i } from "./chunks/component-button-cnnLKCl_.js";
|
|
7
|
+
import { t as a } from "./chunks/component-calendar-D53mkOdW.js";
|
|
8
|
+
import { t as o } from "./chunks/component-center-BIp6NkIt.js";
|
|
9
|
+
import { t as s } from "./chunks/component-checkbox-cJlGSnlk.js";
|
|
10
|
+
import { t as c } from "./chunks/component-dialog-yBIkthjw.js";
|
|
11
|
+
import { t as l } from "./chunks/component-grid-BKLFatKL.js";
|
|
12
|
+
import { t as u } from "./chunks/component-h-stack-ODw00BMb.js";
|
|
13
|
+
import { t as d } from "./chunks/component-select-CHwGLpGT.js";
|
|
14
|
+
import { t as f } from "./chunks/component-slider-Ba5H5eY3.js";
|
|
15
|
+
import { t as p } from "./chunks/component-tabs-BIWU8zcA.js";
|
|
16
|
+
import { t as m } from "./chunks/component-textfield-CCdnfRzb.js";
|
|
17
|
+
import { t as h } from "./chunks/component-v-stack-_k842HHc.js";
|
|
18
|
+
import { createContext as ee, createElement as g, forwardRef as _, useContext as v, useMemo as te } from "react";
|
|
19
|
+
//#region styled-system/helpers.mjs
|
|
20
|
+
function y(e) {
|
|
21
|
+
return typeof e == "object" && !!e && !Array.isArray(e);
|
|
22
|
+
}
|
|
23
|
+
var ne = (e) => typeof e == "object" && !!e;
|
|
24
|
+
function b(e) {
|
|
25
|
+
return Object.fromEntries(Object.entries(e ?? {}).filter(([e, t]) => t !== void 0));
|
|
26
|
+
}
|
|
27
|
+
var re = (e) => e === "base";
|
|
28
|
+
function ie(e) {
|
|
29
|
+
return e.slice().filter((e) => !re(e));
|
|
30
|
+
}
|
|
31
|
+
function x(e) {
|
|
32
|
+
return String.fromCharCode(e + (e > 25 ? 39 : 97));
|
|
33
|
+
}
|
|
34
|
+
function ae(e) {
|
|
35
|
+
let t = "", n;
|
|
36
|
+
for (n = Math.abs(e); n > 52; n = n / 52 | 0) t = x(n % 52) + t;
|
|
37
|
+
return x(n % 52) + t;
|
|
38
|
+
}
|
|
39
|
+
function oe(e, t) {
|
|
40
|
+
let n = t.length;
|
|
41
|
+
for (; n;) e = e * 33 ^ t.charCodeAt(--n);
|
|
42
|
+
return e;
|
|
43
|
+
}
|
|
44
|
+
function se(e) {
|
|
45
|
+
return ae(oe(5381, e) >>> 0);
|
|
46
|
+
}
|
|
47
|
+
var S = /\s*!(important)?/i;
|
|
48
|
+
function ce(e) {
|
|
49
|
+
return typeof e == "string" && S.test(e);
|
|
50
|
+
}
|
|
51
|
+
function le(e) {
|
|
52
|
+
return typeof e == "string" ? e.replace(S, "").trim() : e;
|
|
53
|
+
}
|
|
54
|
+
function C(e) {
|
|
55
|
+
return typeof e == "string" ? e.replaceAll(" ", "_") : e;
|
|
56
|
+
}
|
|
57
|
+
var w = (e) => {
|
|
58
|
+
let t = /* @__PURE__ */ new Map();
|
|
59
|
+
return (...n) => {
|
|
60
|
+
let r = JSON.stringify(n);
|
|
61
|
+
if (t.has(r)) return t.get(r);
|
|
62
|
+
let i = e(...n);
|
|
63
|
+
return t.set(r, i), i;
|
|
64
|
+
};
|
|
65
|
+
}, ue = /* @__PURE__ */ new Set([
|
|
66
|
+
"__proto__",
|
|
67
|
+
"constructor",
|
|
68
|
+
"prototype"
|
|
69
|
+
]);
|
|
70
|
+
function T(...e) {
|
|
71
|
+
return e.reduce((e, t) => (t && Object.keys(t).forEach((n) => {
|
|
72
|
+
if (ue.has(n)) return;
|
|
73
|
+
let r = e[n], i = t[n];
|
|
74
|
+
e[n] = y(r) && y(i) ? T(r, i) : i;
|
|
75
|
+
}), e), {});
|
|
76
|
+
}
|
|
77
|
+
var de = (e) => e != null;
|
|
78
|
+
function fe(e, t, n = {}) {
|
|
79
|
+
let { stop: r, getKey: i } = n;
|
|
80
|
+
function a(e, n = []) {
|
|
81
|
+
if (ne(e)) {
|
|
82
|
+
let o = {};
|
|
83
|
+
for (let [s, c] of Object.entries(e)) {
|
|
84
|
+
let l = i?.(s, c) ?? s, u = [...n, l];
|
|
85
|
+
if (r?.(e, u)) return t(e, n);
|
|
86
|
+
let d = a(c, u);
|
|
87
|
+
de(d) && (o[l] = d);
|
|
88
|
+
}
|
|
89
|
+
return o;
|
|
90
|
+
}
|
|
91
|
+
return t(e, n);
|
|
92
|
+
}
|
|
93
|
+
return a(e);
|
|
94
|
+
}
|
|
95
|
+
function pe(e, t) {
|
|
96
|
+
return e.reduce((e, n, r) => {
|
|
97
|
+
let i = t[r];
|
|
98
|
+
return n != null && (e[i] = n), e;
|
|
99
|
+
}, {});
|
|
100
|
+
}
|
|
101
|
+
function E(e, t, n = !0) {
|
|
102
|
+
let { utility: r, conditions: i } = t, { hasShorthand: a, resolveShorthand: o } = r;
|
|
103
|
+
return fe(e, (e) => Array.isArray(e) ? pe(e, i.breakpoints.keys) : e, {
|
|
104
|
+
stop: (e) => Array.isArray(e),
|
|
105
|
+
getKey: n ? (e) => a ? o(e) : e : void 0
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
var me = {
|
|
109
|
+
shift: (e) => e,
|
|
110
|
+
finalize: (e) => e,
|
|
111
|
+
breakpoints: { keys: [] }
|
|
112
|
+
}, he = (e) => typeof e == "string" ? e.replaceAll(/[\n\s]+/g, " ") : e;
|
|
113
|
+
function D(e) {
|
|
114
|
+
let { utility: t, hash: n, conditions: r = me } = e, i = (e) => [t.prefix, e].filter(Boolean).join("-"), a = (e, a) => {
|
|
115
|
+
let o;
|
|
116
|
+
if (n) {
|
|
117
|
+
let n = [...r.finalize(e), a];
|
|
118
|
+
o = i(t.toHash(n, se));
|
|
119
|
+
} else o = [...r.finalize(e), i(a)].join(":");
|
|
120
|
+
return o;
|
|
121
|
+
};
|
|
122
|
+
return w(({ base: n, ...i } = {}) => {
|
|
123
|
+
let o = E(Object.assign(i, n), e), s = /* @__PURE__ */ new Set();
|
|
124
|
+
return fe(o, (e, n) => {
|
|
125
|
+
if (e == null) return;
|
|
126
|
+
let i = ce(e), [o, ...c] = r.shift(n), l = ie(c), u = t.transform(o, le(he(e))), d = a(l, u.className);
|
|
127
|
+
i && (d = `${d}!`), s.add(d);
|
|
128
|
+
}), Array.from(s).join(" ");
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
function ge(...e) {
|
|
132
|
+
return e.flat().filter((e) => y(e) && Object.keys(b(e)).length > 0);
|
|
133
|
+
}
|
|
134
|
+
function _e(e) {
|
|
135
|
+
function t(t) {
|
|
136
|
+
let n = ge(...t);
|
|
137
|
+
return n.length === 1 ? n : n.map((t) => E(t, e));
|
|
138
|
+
}
|
|
139
|
+
function n(...e) {
|
|
140
|
+
return T(...t(e));
|
|
141
|
+
}
|
|
142
|
+
function r(...e) {
|
|
143
|
+
return Object.assign({}, ...t(e));
|
|
144
|
+
}
|
|
145
|
+
return {
|
|
146
|
+
mergeCss: w(n),
|
|
147
|
+
assignCss: r
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
var ve = /([A-Z])/g, ye = /^ms-/, be = w((e) => e.startsWith("--") ? e : e.replace(ve, "-$1").replace(ye, "-ms-").toLowerCase());
|
|
151
|
+
RegExp(`^(${[
|
|
152
|
+
"min",
|
|
153
|
+
"max",
|
|
154
|
+
"clamp",
|
|
155
|
+
"calc"
|
|
156
|
+
].join("|")})\\(.*\\)`);
|
|
157
|
+
var xe = `(?:${"cm,mm,Q,in,pc,pt,px,em,ex,ch,rem,lh,rlh,vw,vh,vmin,vmax,vb,vi,svw,svh,lvw,lvh,dvw,dvh,cqw,cqh,cqi,cqb,cqmin,cqmax,%".split(",").join("|")})`;
|
|
158
|
+
RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${xe}$`);
|
|
159
|
+
var Se = (e = {}) => {
|
|
160
|
+
let t = (t) => ({
|
|
161
|
+
className: [e.className, t].filter(Boolean).join("__"),
|
|
162
|
+
base: e.base?.[t] ?? {},
|
|
163
|
+
variants: {},
|
|
164
|
+
defaultVariants: e.defaultVariants ?? {},
|
|
165
|
+
compoundVariants: e.compoundVariants ? O(e.compoundVariants, t) : []
|
|
166
|
+
}), n = (e.slots ?? []).map((e) => [e, t(e)]);
|
|
167
|
+
for (let [t, r] of Object.entries(e.variants ?? {})) for (let [e, i] of Object.entries(r)) n.forEach(([n, r]) => {
|
|
168
|
+
r.variants[t] ??= {}, r.variants[t][e] = i[n] ?? {};
|
|
169
|
+
});
|
|
170
|
+
return Object.fromEntries(n);
|
|
171
|
+
}, O = (e, t) => e.filter((e) => e.css[t]).map((e) => ({
|
|
172
|
+
...e,
|
|
173
|
+
css: e.css[t]
|
|
174
|
+
}));
|
|
175
|
+
function k(e, ...t) {
|
|
176
|
+
let n = Object.getOwnPropertyDescriptors(e), r = Object.keys(n), i = (e) => {
|
|
177
|
+
let t = {};
|
|
178
|
+
for (let r = 0; r < e.length; r++) {
|
|
179
|
+
let i = e[r];
|
|
180
|
+
n[i] && (Object.defineProperty(t, i, n[i]), delete n[i]);
|
|
181
|
+
}
|
|
182
|
+
return t;
|
|
183
|
+
};
|
|
184
|
+
return t.map((e) => i(Array.isArray(e) ? e : r.filter(e))).concat(i(r));
|
|
185
|
+
}
|
|
186
|
+
var A = (...e) => {
|
|
187
|
+
let t = e.reduce((e, t) => (t && t.forEach((t) => e.add(t)), e), /* @__PURE__ */ new Set([]));
|
|
188
|
+
return Array.from(t);
|
|
189
|
+
}, j = [
|
|
190
|
+
"htmlSize",
|
|
191
|
+
"htmlTranslate",
|
|
192
|
+
"htmlWidth",
|
|
193
|
+
"htmlHeight"
|
|
194
|
+
];
|
|
195
|
+
function Ce(e) {
|
|
196
|
+
return j.includes(e) ? e.replace("html", "").toLowerCase() : e;
|
|
197
|
+
}
|
|
198
|
+
function M(e) {
|
|
199
|
+
return Object.fromEntries(Object.entries(e).map(([e, t]) => [Ce(e), t]));
|
|
200
|
+
}
|
|
201
|
+
M.keys = j;
|
|
202
|
+
//#endregion
|
|
203
|
+
//#region styled-system/css/conditions.mjs
|
|
204
|
+
var N = new Set("_hover,_focus,_focusWithin,_focusVisible,_disabled,_active,_visited,_target,_readOnly,_readWrite,_empty,_checked,_enabled,_expanded,_highlighted,_complete,_incomplete,_dragging,_before,_after,_firstLetter,_firstLine,_marker,_selection,_file,_backdrop,_first,_last,_only,_even,_odd,_firstOfType,_lastOfType,_onlyOfType,_peerFocus,_peerHover,_peerActive,_peerFocusWithin,_peerFocusVisible,_peerDisabled,_peerChecked,_peerInvalid,_peerExpanded,_peerPlaceholderShown,_groupFocus,_groupHover,_groupActive,_groupFocusWithin,_groupFocusVisible,_groupDisabled,_groupChecked,_groupExpanded,_groupInvalid,_indeterminate,_required,_valid,_invalid,_autofill,_inRange,_outOfRange,_placeholder,_placeholderShown,_pressed,_selected,_grabbed,_underValue,_overValue,_atValue,_default,_optional,_open,_closed,_fullscreen,_loading,_hidden,_current,_currentPage,_currentStep,_today,_unavailable,_rangeStart,_rangeEnd,_now,_topmost,_motionReduce,_motionSafe,_print,_landscape,_portrait,_dark,_light,_osDark,_osLight,_highContrast,_lessContrast,_moreContrast,_ltr,_rtl,_scrollbar,_scrollbarThumb,_scrollbarTrack,_horizontal,_vertical,_icon,_starting,_noscript,_invertedColors,_sm,_md,_lg,_xl,_themeBlue,_themePurple,base".split(",")), we = /^@|&|&$/;
|
|
205
|
+
function P(e) {
|
|
206
|
+
return N.has(e) || we.test(e);
|
|
207
|
+
}
|
|
208
|
+
var Te = /^_/, Ee = /&|@/;
|
|
209
|
+
function F(e) {
|
|
210
|
+
return e.map((e) => N.has(e) ? e.replace(Te, "") : Ee.test(e) ? `[${C(e.trim())}]` : e);
|
|
211
|
+
}
|
|
212
|
+
function I(e) {
|
|
213
|
+
return e.sort((e, t) => {
|
|
214
|
+
let n = P(e), r = P(t);
|
|
215
|
+
return n && !r ? 1 : !n && r ? -1 : 0;
|
|
216
|
+
});
|
|
217
|
+
}
|
|
218
|
+
//#endregion
|
|
219
|
+
//#region styled-system/css/css.mjs
|
|
220
|
+
var De = "aspectRatio:asp,boxDecorationBreak:bx-db,zIndex:z,boxSizing:bx-s,objectPosition:obj-p,objectFit:obj-f,overscrollBehavior:ovs-b,overscrollBehaviorX:ovs-bx,overscrollBehaviorY:ovs-by,position:pos/1,top:top,left:left,inset:inset,insetInline:inset-x/insetX,insetBlock:inset-y/insetY,insetBlockEnd:inset-be,insetBlockStart:inset-bs,insetInlineEnd:inset-e/insetEnd/end,insetInlineStart:inset-s/insetStart/start,right:right,bottom:bottom,float:float,visibility:vis,display:d,hideFrom:hide,hideBelow:show,flexBasis:flex-b,flex:flex,flexDirection:flex-d/flexDir,flexGrow:flex-g,flexShrink:flex-sh,gridTemplateColumns:grid-tc,gridTemplateRows:grid-tr,gridColumn:grid-c,gridRow:grid-r,gridColumnStart:grid-cs,gridColumnEnd:grid-ce,gridAutoFlow:grid-af,gridAutoColumns:grid-ac,gridAutoRows:grid-ar,gap:gap,gridGap:grid-g,gridRowGap:grid-rg,gridColumnGap:grid-cg,rowGap:rg,columnGap:cg,justifyContent:jc,alignContent:ac,alignItems:ai,alignSelf:as,padding:p/1,paddingLeft:pl/1,paddingRight:pr/1,paddingTop:pt/1,paddingBottom:pb/1,paddingBlock:py/1/paddingY,paddingBlockEnd:pbe,paddingBlockStart:pbs,paddingInline:px/paddingX/1,paddingInlineEnd:pe/1/paddingEnd,paddingInlineStart:ps/1/paddingStart,marginLeft:ml/1,marginRight:mr/1,marginTop:mt/1,marginBottom:mb/1,margin:m/1,marginBlock:my/1/marginY,marginBlockEnd:mbe,marginBlockStart:mbs,marginInline:mx/1/marginX,marginInlineEnd:me/1/marginEnd,marginInlineStart:ms/1/marginStart,spaceX:sx,spaceY:sy,outlineWidth:ring-w/ringWidth,outlineColor:ring-c/ringColor,outline:ring/1,outlineOffset:ring-o/ringOffset,focusRing:focus-ring,focusVisibleRing:focus-v-ring,focusRingColor:focus-ring-c,focusRingOffset:focus-ring-o,focusRingWidth:focus-ring-w,focusRingStyle:focus-ring-s,divideX:dvd-x,divideY:dvd-y,divideColor:dvd-c,divideStyle:dvd-s,width:w/1,inlineSize:w-is,minWidth:min-w/minW,minInlineSize:min-w-is,maxWidth:max-w/maxW,maxInlineSize:max-w-is,height:h/1,blockSize:h-bs,minHeight:min-h/minH,minBlockSize:min-h-bs,maxHeight:max-h/maxH,maxBlockSize:max-b,boxSize:size,color:c,fontFamily:ff,fontSize:fs,fontSizeAdjust:fs-a,fontPalette:fp,fontKerning:fk,fontFeatureSettings:ff-s,fontWeight:fw,fontSmoothing:fsmt,fontVariant:fv,fontVariantAlternates:fv-alt,fontVariantCaps:fv-caps,fontVariationSettings:fv-s,fontVariantNumeric:fv-num,letterSpacing:ls,lineHeight:lh,textAlign:ta,textDecoration:td,textDecorationColor:td-c,textEmphasisColor:te-c,textDecorationStyle:td-s,textDecorationThickness:td-t,textUnderlineOffset:tu-o,textTransform:tt,textIndent:ti,textShadow:tsh,textShadowColor:tsh-c/textShadowColor,WebkitTextFillColor:wktf-c,textOverflow:tov,verticalAlign:va,wordBreak:wb,textWrap:tw,truncate:trunc,lineClamp:lc,listStyleType:li-t,listStylePosition:li-pos,listStyleImage:li-img,listStyle:li-s,backgroundPosition:bg-p/bgPosition,backgroundPositionX:bg-p-x/bgPositionX,backgroundPositionY:bg-p-y/bgPositionY,backgroundAttachment:bg-a/bgAttachment,backgroundClip:bg-cp/bgClip,background:bg/1,backgroundColor:bg-c/bgColor,backgroundOrigin:bg-o/bgOrigin,backgroundImage:bg-i/bgImage,backgroundRepeat:bg-r/bgRepeat,backgroundBlendMode:bg-bm/bgBlendMode,backgroundSize:bg-s/bgSize,backgroundGradient:bg-grad/bgGradient,backgroundLinear:bg-linear/bgLinear,backgroundRadial:bg-radial/bgRadial,backgroundConic:bg-conic/bgConic,textGradient:txt-grad,gradientFromPosition:grad-from-pos,gradientToPosition:grad-to-pos,gradientFrom:grad-from,gradientTo:grad-to,gradientVia:grad-via,gradientViaPosition:grad-via-pos,borderRadius:bdr/rounded,borderTopLeftRadius:bdr-tl/roundedTopLeft,borderTopRightRadius:bdr-tr/roundedTopRight,borderBottomRightRadius:bdr-br/roundedBottomRight,borderBottomLeftRadius:bdr-bl/roundedBottomLeft,borderTopRadius:bdr-t/roundedTop,borderRightRadius:bdr-r/roundedRight,borderBottomRadius:bdr-b/roundedBottom,borderLeftRadius:bdr-l/roundedLeft,borderStartStartRadius:bdr-ss/roundedStartStart,borderStartEndRadius:bdr-se/roundedStartEnd,borderStartRadius:bdr-s/roundedStart,borderEndStartRadius:bdr-es/roundedEndStart,borderEndEndRadius:bdr-ee/roundedEndEnd,borderEndRadius:bdr-e/roundedEnd,border:bd,borderWidth:bd-w,borderTopWidth:bd-t-w,borderLeftWidth:bd-l-w,borderRightWidth:bd-r-w,borderBottomWidth:bd-b-w,borderBlockStartWidth:bd-bs-w,borderBlockEndWidth:bd-be-w,borderColor:bd-c,borderInline:bd-x/borderX,borderInlineWidth:bd-x-w/borderXWidth,borderInlineColor:bd-x-c/borderXColor,borderBlock:bd-y/borderY,borderBlockWidth:bd-y-w/borderYWidth,borderBlockColor:bd-y-c/borderYColor,borderLeft:bd-l,borderLeftColor:bd-l-c,borderInlineStart:bd-s/borderStart,borderInlineStartWidth:bd-s-w/borderStartWidth,borderInlineStartColor:bd-s-c/borderStartColor,borderRight:bd-r,borderRightColor:bd-r-c,borderInlineEnd:bd-e/borderEnd,borderInlineEndWidth:bd-e-w/borderEndWidth,borderInlineEndColor:bd-e-c/borderEndColor,borderTop:bd-t,borderTopColor:bd-t-c,borderBottom:bd-b,borderBottomColor:bd-b-c,borderBlockEnd:bd-be,borderBlockEndColor:bd-be-c,borderBlockStart:bd-bs,borderBlockStartColor:bd-bs-c,opacity:op,boxShadow:bx-sh/shadow,boxShadowColor:bx-sh-c/shadowColor,mixBlendMode:mix-bm,filter:filter,brightness:brightness,contrast:contrast,grayscale:grayscale,hueRotate:hue-rotate,invert:invert,saturate:saturate,sepia:sepia,dropShadow:drop-shadow,blur:blur,backdropFilter:bkdp,backdropBlur:bkdp-blur,backdropBrightness:bkdp-brightness,backdropContrast:bkdp-contrast,backdropGrayscale:bkdp-grayscale,backdropHueRotate:bkdp-hue-rotate,backdropInvert:bkdp-invert,backdropOpacity:bkdp-opacity,backdropSaturate:bkdp-saturate,backdropSepia:bkdp-sepia,borderCollapse:bd-cl,borderSpacing:bd-sp,borderSpacingX:bd-sx,borderSpacingY:bd-sy,tableLayout:tbl,transitionTimingFunction:trs-tmf,transitionDelay:trs-dly,transitionDuration:trs-dur,transitionProperty:trs-prop,transition:trs,animation:anim,animationName:anim-n,animationTimingFunction:anim-tmf,animationDuration:anim-dur,animationDelay:anim-dly,animationPlayState:anim-ps,animationComposition:anim-comp,animationFillMode:anim-fm,animationDirection:anim-dir,animationIterationCount:anim-ic,animationRange:anim-r,animationState:anim-s,animationRangeStart:anim-rs,animationRangeEnd:anim-re,animationTimeline:anim-tl,transformOrigin:trf-o,transformBox:trf-b,transformStyle:trf-s,transform:trf,rotate:rotate,rotateX:rotate-x,rotateY:rotate-y,rotateZ:rotate-z,scale:scale,scaleX:scale-x,scaleY:scale-y,translate:translate,translateX:translate-x/x,translateY:translate-y/y,translateZ:translate-z/z,accentColor:ac-c,caretColor:ca-c,scrollBehavior:scr-bhv,scrollbar:scr-bar,scrollbarColor:scr-bar-c,scrollbarGutter:scr-bar-g,scrollbarWidth:scr-bar-w,scrollMargin:scr-m,scrollMarginLeft:scr-ml,scrollMarginRight:scr-mr,scrollMarginTop:scr-mt,scrollMarginBottom:scr-mb,scrollMarginBlock:scr-my/scrollMarginY,scrollMarginBlockEnd:scr-mbe,scrollMarginBlockStart:scr-mbt,scrollMarginInline:scr-mx/scrollMarginX,scrollMarginInlineEnd:scr-me,scrollMarginInlineStart:scr-ms,scrollPadding:scr-p,scrollPaddingBlock:scr-py/scrollPaddingY,scrollPaddingBlockStart:scr-pbs,scrollPaddingBlockEnd:scr-pbe,scrollPaddingInline:scr-px/scrollPaddingX,scrollPaddingInlineEnd:scr-pe,scrollPaddingInlineStart:scr-ps,scrollPaddingLeft:scr-pl,scrollPaddingRight:scr-pr,scrollPaddingTop:scr-pt,scrollPaddingBottom:scr-pb,scrollSnapAlign:scr-sa,scrollSnapStop:scrs-s,scrollSnapType:scrs-t,scrollSnapStrictness:scrs-strt,scrollSnapMargin:scrs-m,scrollSnapMarginTop:scrs-mt,scrollSnapMarginBottom:scrs-mb,scrollSnapMarginLeft:scrs-ml,scrollSnapMarginRight:scrs-mr,scrollSnapCoordinate:scrs-c,scrollSnapDestination:scrs-d,scrollSnapPointsX:scrs-px,scrollSnapPointsY:scrs-py,scrollSnapTypeX:scrs-tx,scrollSnapTypeY:scrs-ty,scrollTimeline:scrtl,scrollTimelineAxis:scrtl-a,scrollTimelineName:scrtl-n,touchAction:tch-a,userSelect:us,overflow:ov,overflowWrap:ov-wrap,overflowX:ov-x,overflowY:ov-y,overflowAnchor:ov-a,overflowBlock:ov-b,overflowInline:ov-i,overflowClipBox:ovcp-bx,overflowClipMargin:ovcp-m,overscrollBehaviorBlock:ovs-bb,overscrollBehaviorInline:ovs-bi,fill:fill,stroke:stk,strokeWidth:stk-w,strokeDasharray:stk-dsh,strokeDashoffset:stk-do,strokeLinecap:stk-lc,strokeLinejoin:stk-lj,strokeMiterlimit:stk-ml,strokeOpacity:stk-op,srOnly:sr,debug:debug,appearance:ap,backfaceVisibility:bfv,clipPath:cp-path,hyphens:hy,mask:msk,maskImage:msk-i,maskSize:msk-s,textSizeAdjust:txt-adj,container:cq,containerName:cq-n,containerType:cq-t,cursor:cursor,textStyle:textStyle", L = /* @__PURE__ */ new Map(), R = /* @__PURE__ */ new Map();
|
|
221
|
+
De.split(",").forEach((e) => {
|
|
222
|
+
let [t, n] = e.split(":"), [r, ...i] = n.split("/");
|
|
223
|
+
L.set(t, r), i.length && i.forEach((e) => {
|
|
224
|
+
R.set(e === "1" ? r : e, t);
|
|
225
|
+
});
|
|
226
|
+
});
|
|
227
|
+
var z = (e) => R.get(e) || e, B = {
|
|
228
|
+
conditions: {
|
|
229
|
+
shift: I,
|
|
230
|
+
finalize: F,
|
|
231
|
+
breakpoints: { keys: ["base"] }
|
|
232
|
+
},
|
|
233
|
+
utility: {
|
|
234
|
+
transform: (e, t) => {
|
|
235
|
+
let n = z(e);
|
|
236
|
+
return { className: `${L.get(n) || be(n)}_${C(t)}` };
|
|
237
|
+
},
|
|
238
|
+
hasShorthand: !0,
|
|
239
|
+
toHash: (e, t) => t(e.join(":")),
|
|
240
|
+
resolveShorthand: z
|
|
241
|
+
}
|
|
242
|
+
}, Oe = D(B), V = (...e) => Oe(H(...e));
|
|
243
|
+
V.raw = (...e) => H(...e);
|
|
244
|
+
var { mergeCss: H, assignCss: ke } = _e(B);
|
|
245
|
+
//#endregion
|
|
246
|
+
//#region styled-system/css/cx.mjs
|
|
247
|
+
function U() {
|
|
248
|
+
let e = "", t = 0, n;
|
|
249
|
+
for (; t < arguments.length;) (n = arguments[t++]) && typeof n == "string" && (e && (e += " "), e += n);
|
|
250
|
+
return e;
|
|
251
|
+
}
|
|
252
|
+
//#endregion
|
|
253
|
+
//#region styled-system/css/cva.mjs
|
|
254
|
+
var W = (e) => ({
|
|
255
|
+
base: {},
|
|
256
|
+
variants: {},
|
|
257
|
+
defaultVariants: {},
|
|
258
|
+
compoundVariants: [],
|
|
259
|
+
...e
|
|
260
|
+
});
|
|
261
|
+
function G(e) {
|
|
262
|
+
let { base: t, variants: n, defaultVariants: r, compoundVariants: i } = W(e), a = (e) => ({
|
|
263
|
+
...r,
|
|
264
|
+
...b(e)
|
|
265
|
+
});
|
|
266
|
+
function o(e = {}) {
|
|
267
|
+
let r = a(e), o = { ...t };
|
|
268
|
+
for (let [e, t] of Object.entries(r)) n[e]?.[t] && (o = H(o, n[e][t]));
|
|
269
|
+
let s = K(i, r);
|
|
270
|
+
return H(o, s);
|
|
271
|
+
}
|
|
272
|
+
function s(e) {
|
|
273
|
+
let a = W(e.config), o = A(e.variantKeys, Object.keys(n));
|
|
274
|
+
return G({
|
|
275
|
+
base: H(t, a.base),
|
|
276
|
+
variants: Object.fromEntries(o.map((e) => [e, H(n[e], a.variants[e])])),
|
|
277
|
+
defaultVariants: T(r, a.defaultVariants),
|
|
278
|
+
compoundVariants: [...i, ...a.compoundVariants]
|
|
279
|
+
});
|
|
280
|
+
}
|
|
281
|
+
function c(e) {
|
|
282
|
+
return V(o(e));
|
|
283
|
+
}
|
|
284
|
+
let l = Object.keys(n);
|
|
285
|
+
function u(e) {
|
|
286
|
+
return k(e, l);
|
|
287
|
+
}
|
|
288
|
+
let d = Object.fromEntries(Object.entries(n).map(([e, t]) => [e, Object.keys(t)]));
|
|
289
|
+
return Object.assign(w(c), {
|
|
290
|
+
__cva__: !0,
|
|
291
|
+
variantMap: d,
|
|
292
|
+
variantKeys: l,
|
|
293
|
+
raw: o,
|
|
294
|
+
config: e,
|
|
295
|
+
merge: s,
|
|
296
|
+
splitVariantProps: u,
|
|
297
|
+
getVariantProps: a
|
|
298
|
+
});
|
|
299
|
+
}
|
|
300
|
+
function K(e, t) {
|
|
301
|
+
let n = {};
|
|
302
|
+
return e.forEach((e) => {
|
|
303
|
+
Object.entries(e).every(([e, n]) => e === "css" || (Array.isArray(n) ? n : [n]).some((n) => t[e] === n)) && (n = H(n, e.css));
|
|
304
|
+
}), n;
|
|
305
|
+
}
|
|
306
|
+
function Ae(e, t, n, r) {
|
|
307
|
+
if (t.length > 0 && typeof n?.[r] == "object") throw Error(`[recipe:${e}:${r}] Conditions are not supported when using compound variants.`);
|
|
308
|
+
}
|
|
309
|
+
//#endregion
|
|
310
|
+
//#region styled-system/css/sva.mjs
|
|
311
|
+
function je(e) {
|
|
312
|
+
let t = Object.entries(Se(e)).map(([e, t]) => [e, G(t)]), n = e.defaultVariants ?? {}, r = t.reduce((t, [n, r]) => (e.className && (t[n] = r.config.className), t), {});
|
|
313
|
+
function i(e) {
|
|
314
|
+
let n = t.map(([t, n]) => [t, U(n(e), r[t])]);
|
|
315
|
+
return Object.fromEntries(n);
|
|
316
|
+
}
|
|
317
|
+
function a(e) {
|
|
318
|
+
let n = t.map(([t, n]) => [t, n.raw(e)]);
|
|
319
|
+
return Object.fromEntries(n);
|
|
320
|
+
}
|
|
321
|
+
let o = e.variants ?? {}, s = Object.keys(o);
|
|
322
|
+
function c(e) {
|
|
323
|
+
return k(e, s);
|
|
324
|
+
}
|
|
325
|
+
let l = (e) => ({
|
|
326
|
+
...n,
|
|
327
|
+
...b(e)
|
|
328
|
+
}), u = Object.fromEntries(Object.entries(o).map(([e, t]) => [e, Object.keys(t)]));
|
|
329
|
+
return Object.assign(w(i), {
|
|
330
|
+
__cva__: !1,
|
|
331
|
+
raw: a,
|
|
332
|
+
config: e,
|
|
333
|
+
variantMap: u,
|
|
334
|
+
variantKeys: s,
|
|
335
|
+
classNameMap: r,
|
|
336
|
+
splitVariantProps: c,
|
|
337
|
+
getVariantProps: l
|
|
338
|
+
});
|
|
339
|
+
}
|
|
340
|
+
//#endregion
|
|
341
|
+
//#region styled-system/jsx/is-valid-prop.mjs
|
|
342
|
+
var Me = "css,pos,insetX,insetY,insetEnd,end,insetStart,start,flexDir,p,pl,pr,pt,pb,py,paddingY,paddingX,px,pe,paddingEnd,ps,paddingStart,ml,mr,mt,mb,m,my,marginY,mx,marginX,me,marginEnd,ms,marginStart,ringWidth,ringColor,ring,ringOffset,w,minW,maxW,h,minH,maxH,textShadowColor,bgPosition,bgPositionX,bgPositionY,bgAttachment,bgClip,bg,bgColor,bgOrigin,bgImage,bgRepeat,bgBlendMode,bgSize,bgGradient,bgLinear,bgRadial,bgConic,rounded,roundedTopLeft,roundedTopRight,roundedBottomRight,roundedBottomLeft,roundedTop,roundedRight,roundedBottom,roundedLeft,roundedStartStart,roundedStartEnd,roundedStart,roundedEndStart,roundedEndEnd,roundedEnd,borderX,borderXWidth,borderXColor,borderY,borderYWidth,borderYColor,borderStart,borderStartWidth,borderStartColor,borderEnd,borderEndWidth,borderEndColor,shadow,shadowColor,x,y,z,scrollMarginY,scrollMarginX,scrollPaddingY,scrollPaddingX,aspectRatio,boxDecorationBreak,zIndex,boxSizing,objectPosition,objectFit,overscrollBehavior,overscrollBehaviorX,overscrollBehaviorY,position,top,left,inset,insetInline,insetBlock,insetBlockEnd,insetBlockStart,insetInlineEnd,insetInlineStart,right,bottom,float,visibility,display,hideFrom,hideBelow,flexBasis,flex,flexDirection,flexGrow,flexShrink,gridTemplateColumns,gridTemplateRows,gridColumn,gridRow,gridColumnStart,gridColumnEnd,gridAutoFlow,gridAutoColumns,gridAutoRows,gap,gridGap,gridRowGap,gridColumnGap,rowGap,columnGap,justifyContent,alignContent,alignItems,alignSelf,padding,paddingLeft,paddingRight,paddingTop,paddingBottom,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingInline,paddingInlineEnd,paddingInlineStart,marginLeft,marginRight,marginTop,marginBottom,margin,marginBlock,marginBlockEnd,marginBlockStart,marginInline,marginInlineEnd,marginInlineStart,spaceX,spaceY,outlineWidth,outlineColor,outline,outlineOffset,focusRing,focusVisibleRing,focusRingColor,focusRingOffset,focusRingWidth,focusRingStyle,divideX,divideY,divideColor,divideStyle,width,inlineSize,minWidth,minInlineSize,maxWidth,maxInlineSize,height,blockSize,minHeight,minBlockSize,maxHeight,maxBlockSize,boxSize,color,fontFamily,fontSize,fontSizeAdjust,fontPalette,fontKerning,fontFeatureSettings,fontWeight,fontSmoothing,fontVariant,fontVariantAlternates,fontVariantCaps,fontVariationSettings,fontVariantNumeric,letterSpacing,lineHeight,textAlign,textDecoration,textDecorationColor,textEmphasisColor,textDecorationStyle,textDecorationThickness,textUnderlineOffset,textTransform,textIndent,textShadow,WebkitTextFillColor,textOverflow,verticalAlign,wordBreak,textWrap,truncate,lineClamp,listStyleType,listStylePosition,listStyleImage,listStyle,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundAttachment,backgroundClip,background,backgroundColor,backgroundOrigin,backgroundImage,backgroundRepeat,backgroundBlendMode,backgroundSize,backgroundGradient,backgroundLinear,backgroundRadial,backgroundConic,textGradient,gradientFromPosition,gradientToPosition,gradientFrom,gradientTo,gradientVia,gradientViaPosition,borderRadius,borderTopLeftRadius,borderTopRightRadius,borderBottomRightRadius,borderBottomLeftRadius,borderTopRadius,borderRightRadius,borderBottomRadius,borderLeftRadius,borderStartStartRadius,borderStartEndRadius,borderStartRadius,borderEndStartRadius,borderEndEndRadius,borderEndRadius,border,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,borderBlockStartWidth,borderBlockEndWidth,borderColor,borderInline,borderInlineWidth,borderInlineColor,borderBlock,borderBlockWidth,borderBlockColor,borderLeft,borderLeftColor,borderInlineStart,borderInlineStartWidth,borderInlineStartColor,borderRight,borderRightColor,borderInlineEnd,borderInlineEndWidth,borderInlineEndColor,borderTop,borderTopColor,borderBottom,borderBottomColor,borderBlockEnd,borderBlockEndColor,borderBlockStart,borderBlockStartColor,opacity,boxShadow,boxShadowColor,mixBlendMode,filter,brightness,contrast,grayscale,hueRotate,invert,saturate,sepia,dropShadow,blur,backdropFilter,backdropBlur,backdropBrightness,backdropContrast,backdropGrayscale,backdropHueRotate,backdropInvert,backdropOpacity,backdropSaturate,backdropSepia,borderCollapse,borderSpacing,borderSpacingX,borderSpacingY,tableLayout,transitionTimingFunction,transitionDelay,transitionDuration,transitionProperty,transition,animation,animationName,animationTimingFunction,animationDuration,animationDelay,animationPlayState,animationComposition,animationFillMode,animationDirection,animationIterationCount,animationRange,animationState,animationRangeStart,animationRangeEnd,animationTimeline,transformOrigin,transformBox,transformStyle,transform,rotate,rotateX,rotateY,rotateZ,scale,scaleX,scaleY,translate,translateX,translateY,translateZ,accentColor,caretColor,scrollBehavior,scrollbar,scrollbarColor,scrollbarGutter,scrollbarWidth,scrollMargin,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollMarginBottom,scrollMarginBlock,scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginInline,scrollMarginInlineEnd,scrollMarginInlineStart,scrollPadding,scrollPaddingBlock,scrollPaddingBlockStart,scrollPaddingBlockEnd,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollPaddingBottom,scrollSnapAlign,scrollSnapStop,scrollSnapType,scrollSnapStrictness,scrollSnapMargin,scrollSnapMarginTop,scrollSnapMarginBottom,scrollSnapMarginLeft,scrollSnapMarginRight,scrollSnapCoordinate,scrollSnapDestination,scrollSnapPointsX,scrollSnapPointsY,scrollSnapTypeX,scrollSnapTypeY,scrollTimeline,scrollTimelineAxis,scrollTimelineName,touchAction,userSelect,overflow,overflowWrap,overflowX,overflowY,overflowAnchor,overflowBlock,overflowInline,overflowClipBox,overflowClipMargin,overscrollBehaviorBlock,overscrollBehaviorInline,fill,stroke,strokeWidth,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,srOnly,debug,appearance,backfaceVisibility,clipPath,hyphens,mask,maskImage,maskSize,textSizeAdjust,container,containerName,containerType,cursor,colorPalette,_hover,_focus,_focusWithin,_focusVisible,_disabled,_active,_visited,_target,_readOnly,_readWrite,_empty,_checked,_enabled,_expanded,_highlighted,_complete,_incomplete,_dragging,_before,_after,_firstLetter,_firstLine,_marker,_selection,_file,_backdrop,_first,_last,_only,_even,_odd,_firstOfType,_lastOfType,_onlyOfType,_peerFocus,_peerHover,_peerActive,_peerFocusWithin,_peerFocusVisible,_peerDisabled,_peerChecked,_peerInvalid,_peerExpanded,_peerPlaceholderShown,_groupFocus,_groupHover,_groupActive,_groupFocusWithin,_groupFocusVisible,_groupDisabled,_groupChecked,_groupExpanded,_groupInvalid,_indeterminate,_required,_valid,_invalid,_autofill,_inRange,_outOfRange,_placeholder,_placeholderShown,_pressed,_selected,_grabbed,_underValue,_overValue,_atValue,_default,_optional,_open,_closed,_fullscreen,_loading,_hidden,_current,_currentPage,_currentStep,_today,_unavailable,_rangeStart,_rangeEnd,_now,_topmost,_motionReduce,_motionSafe,_print,_landscape,_portrait,_dark,_light,_osDark,_osLight,_highContrast,_lessContrast,_moreContrast,_ltr,_rtl,_scrollbar,_scrollbarThumb,_scrollbarTrack,_horizontal,_vertical,_icon,_starting,_noscript,_invertedColors,_sm,_md,_lg,_xl,_themeBlue,_themePurple,textStyle".split(","), Ne = "WebkitAppearance,WebkitBorderBefore,WebkitBorderBeforeColor,WebkitBorderBeforeStyle,WebkitBorderBeforeWidth,WebkitBoxReflect,WebkitLineClamp,WebkitMask,WebkitMaskAttachment,WebkitMaskClip,WebkitMaskComposite,WebkitMaskImage,WebkitMaskOrigin,WebkitMaskPosition,WebkitMaskPositionX,WebkitMaskPositionY,WebkitMaskRepeat,WebkitMaskRepeatX,WebkitMaskRepeatY,WebkitMaskSize,WebkitOverflowScrolling,WebkitTapHighlightColor,WebkitTextFillColor,WebkitTextStroke,WebkitTextStrokeColor,WebkitTextStrokeWidth,WebkitTouchCallout,WebkitUserModify,WebkitUserSelect,accentColor,alignContent,alignItems,alignSelf,alignTracks,all,anchorName,anchorScope,animation,animationComposition,animationDelay,animationDirection,animationDuration,animationFillMode,animationIterationCount,animationName,animationPlayState,animationRange,animationRangeEnd,animationRangeStart,animationTimeline,animationTimingFunction,appearance,aspectRatio,backdropFilter,backfaceVisibility,background,backgroundAttachment,backgroundBlendMode,backgroundClip,backgroundColor,backgroundImage,backgroundOrigin,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundRepeat,backgroundSize,blockSize,border,borderBlock,borderBlockColor,borderBlockEnd,borderBlockEndColor,borderBlockEndStyle,borderBlockEndWidth,borderBlockStart,borderBlockStartColor,borderBlockStartStyle,borderBlockStartWidth,borderBlockStyle,borderBlockWidth,borderBottom,borderBottomColor,borderBottomLeftRadius,borderBottomRightRadius,borderBottomStyle,borderBottomWidth,borderCollapse,borderColor,borderEndEndRadius,borderEndStartRadius,borderImage,borderImageOutset,borderImageRepeat,borderImageSlice,borderImageSource,borderImageWidth,borderInline,borderInlineColor,borderInlineEnd,borderInlineEndColor,borderInlineEndStyle,borderInlineEndWidth,borderInlineStart,borderInlineStartColor,borderInlineStartStyle,borderInlineStartWidth,borderInlineStyle,borderInlineWidth,borderLeft,borderLeftColor,borderLeftStyle,borderLeftWidth,borderRadius,borderRight,borderRightColor,borderRightStyle,borderRightWidth,borderSpacing,borderStartEndRadius,borderStartStartRadius,borderStyle,borderTop,borderTopColor,borderTopLeftRadius,borderTopRightRadius,borderTopStyle,borderTopWidth,borderWidth,bottom,boxAlign,boxDecorationBreak,boxDirection,boxFlex,boxFlexGroup,boxLines,boxOrdinalGroup,boxOrient,boxPack,boxShadow,boxSizing,breakAfter,breakBefore,breakInside,captionSide,caret,caretColor,caretShape,clear,clip,clipPath,clipRule,color,colorInterpolationFilters,colorScheme,columnCount,columnFill,columnGap,columnRule,columnRuleColor,columnRuleStyle,columnRuleWidth,columnSpan,columnWidth,columns,contain,containIntrinsicBlockSize,containIntrinsicHeight,containIntrinsicInlineSize,containIntrinsicSize,containIntrinsicWidth,container,containerName,containerType,content,contentVisibility,cornerShape,counterIncrement,counterReset,counterSet,cursor,cx,cy,d,direction,display,dominantBaseline,emptyCells,fieldSizing,fill,fillOpacity,fillRule,filter,flex,flexBasis,flexDirection,flexFlow,flexGrow,flexShrink,flexWrap,float,floodColor,floodOpacity,font,fontFamily,fontFeatureSettings,fontKerning,fontLanguageOverride,fontOpticalSizing,fontPalette,fontSize,fontSizeAdjust,fontSmooth,fontStretch,fontStyle,fontSynthesis,fontSynthesisPosition,fontSynthesisSmallCaps,fontSynthesisStyle,fontSynthesisWeight,fontVariant,fontVariantAlternates,fontVariantCaps,fontVariantEastAsian,fontVariantEmoji,fontVariantLigatures,fontVariantNumeric,fontVariantPosition,fontVariationSettings,fontWeight,forcedColorAdjust,gap,grid,gridArea,gridAutoColumns,gridAutoFlow,gridAutoRows,gridColumn,gridColumnEnd,gridColumnGap,gridColumnStart,gridGap,gridRow,gridRowEnd,gridRowGap,gridRowStart,gridTemplate,gridTemplateAreas,gridTemplateColumns,gridTemplateRows,hangingPunctuation,height,hyphenateCharacter,hyphenateLimitChars,hyphens,imageOrientation,imageRendering,imageResolution,imeMode,initialLetter,initialLetterAlign,inlineSize,inset,insetBlock,insetBlockEnd,insetBlockStart,insetInline,insetInlineEnd,insetInlineStart,interpolateSize,isolation,justifyContent,justifyItems,justifySelf,justifyTracks,left,letterSpacing,lightingColor,lineBreak,lineClamp,lineHeight,lineHeightStep,listStyle,listStyleImage,listStylePosition,listStyleType,margin,marginBlock,marginBlockEnd,marginBlockStart,marginBottom,marginInline,marginInlineEnd,marginInlineStart,marginLeft,marginRight,marginTop,marginTrim,marker,markerEnd,markerMid,markerStart,mask,maskBorder,maskBorderMode,maskBorderOutset,maskBorderRepeat,maskBorderSlice,maskBorderSource,maskBorderWidth,maskClip,maskComposite,maskImage,maskMode,maskOrigin,maskPosition,maskRepeat,maskSize,maskType,masonryAutoFlow,mathDepth,mathShift,mathStyle,maxBlockSize,maxHeight,maxInlineSize,maxLines,maxWidth,minBlockSize,minHeight,minInlineSize,minWidth,mixBlendMode,objectFit,objectPosition,offset,offsetAnchor,offsetDistance,offsetPath,offsetPosition,offsetRotate,opacity,order,orphans,outline,outlineColor,outlineOffset,outlineStyle,outlineWidth,overflow,overflowAnchor,overflowBlock,overflowClipBox,overflowClipMargin,overflowInline,overflowWrap,overflowX,overflowY,overlay,overscrollBehavior,overscrollBehaviorBlock,overscrollBehaviorInline,overscrollBehaviorX,overscrollBehaviorY,padding,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingBottom,paddingInline,paddingInlineEnd,paddingInlineStart,paddingLeft,paddingRight,paddingTop,page,pageBreakAfter,pageBreakBefore,pageBreakInside,paintOrder,perspective,perspectiveOrigin,placeContent,placeItems,placeSelf,pointerEvents,position,positionAnchor,positionArea,positionTry,positionTryFallbacks,positionTryOrder,positionVisibility,printColorAdjust,quotes,r,resize,right,rotate,rowGap,rubyAlign,rubyMerge,rubyPosition,rx,ry,scale,scrollBehavior,scrollMargin,scrollMarginBlock,scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginBottom,scrollMarginInline,scrollMarginInlineEnd,scrollMarginInlineStart,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollPadding,scrollPaddingBlock,scrollPaddingBlockEnd,scrollPaddingBlockStart,scrollPaddingBottom,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,scrollSnapCoordinate,scrollSnapDestination,scrollSnapPointsX,scrollSnapPointsY,scrollSnapStop,scrollSnapType,scrollSnapTypeX,scrollSnapTypeY,scrollTimeline,scrollTimelineAxis,scrollTimelineName,scrollbarColor,scrollbarGutter,scrollbarWidth,shapeImageThreshold,shapeMargin,shapeOutside,shapeRendering,stopColor,stopOpacity,stroke,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,tabSize,tableLayout,textAlign,textAlignLast,textAnchor,textBox,textBoxEdge,textBoxTrim,textCombineUpright,textDecoration,textDecorationColor,textDecorationLine,textDecorationSkip,textDecorationSkipInk,textDecorationStyle,textDecorationThickness,textEmphasis,textEmphasisColor,textEmphasisPosition,textEmphasisStyle,textIndent,textJustify,textOrientation,textOverflow,textRendering,textShadow,textSizeAdjust,textSpacingTrim,textTransform,textUnderlineOffset,textUnderlinePosition,textWrap,textWrapMode,textWrapStyle,timelineScope,top,touchAction,transform,transformBox,transformOrigin,transformStyle,transition,transitionBehavior,transitionDelay,transitionDuration,transitionProperty,transitionTimingFunction,translate,unicodeBidi,userSelect,vectorEffect,verticalAlign,viewTimeline,viewTimelineAxis,viewTimelineInset,viewTimelineName,viewTransitionName,visibility,whiteSpace,whiteSpaceCollapse,widows,width,willChange,wordBreak,wordSpacing,wordWrap,writingMode,x,y,zIndex,zoom,alignmentBaseline,baselineShift,colorInterpolation,colorRendering,glyphOrientationVertical".split(",").concat(Me), Pe = new Map(Ne.map((e) => [e, !0])), Fe = /&|@/, q = /* @__PURE__ */ w((e) => Pe.has(e) || e.startsWith("--") || Fe.test(e)), Ie = (e) => k(e, q), Le = (e, t) => !t.includes(e) && !q(e), Re = (e, t) => e.__shouldForwardProps__ && t ? (n) => e.__shouldForwardProps__(n) && t(n) : t, ze = (e, t) => {
|
|
343
|
+
if (e && !t) return e;
|
|
344
|
+
if (!e && t) return t;
|
|
345
|
+
if (e.__cva__ && t.__cva__ || e.__recipe__ && t.__recipe__) return e.merge(t);
|
|
346
|
+
let n = /* @__PURE__ */ TypeError("Cannot merge cva with recipe. Please use either cva or recipe.");
|
|
347
|
+
throw TypeError.captureStackTrace?.(n), n;
|
|
348
|
+
}, J = (e) => typeof e == "string" ? e : e?.displayName || e?.name || "Component";
|
|
349
|
+
//#endregion
|
|
350
|
+
//#region styled-system/jsx/factory.mjs
|
|
351
|
+
function Y(e, t = {}, n = {}) {
|
|
352
|
+
let r = t.__cva__ || t.__recipe__ ? t : G(t), i = n.shouldForwardProp || Le, a = (e) => n.forwardProps?.includes(e) ? !0 : i(e, r.variantKeys), o = Object.assign(n.dataAttr && t.__name__ ? { "data-recipe": t.__name__ } : {}, n.defaultProps), s = ze(e.__cva__, r), c = Re(e, a), l = e.__base__ || e, u = /* @__PURE__ */ _(function(e, n) {
|
|
353
|
+
let { as: r = l, unstyled: i, children: a, ...u } = e, d = te(() => Object.assign({}, o, u), [u]), [f, p, m, h, ee] = te(() => k(d, M.keys, c, s.variantKeys, q), [d]);
|
|
354
|
+
function _() {
|
|
355
|
+
let { css: e, ...t } = h, n = s.__getCompoundVariantCss__?.(m);
|
|
356
|
+
return U(s(m, !1), V(n, t, e), d.className);
|
|
357
|
+
}
|
|
358
|
+
function v() {
|
|
359
|
+
let { css: e, ...t } = h;
|
|
360
|
+
return U(V(s.raw(m), t, e), d.className);
|
|
361
|
+
}
|
|
362
|
+
let y = () => {
|
|
363
|
+
if (i) {
|
|
364
|
+
let { css: e, ...t } = h;
|
|
365
|
+
return U(V(t, e), d.className);
|
|
366
|
+
}
|
|
367
|
+
return t.__recipe__ ? _() : v();
|
|
368
|
+
};
|
|
369
|
+
return g(r, {
|
|
370
|
+
ref: n,
|
|
371
|
+
...p,
|
|
372
|
+
...ee,
|
|
373
|
+
...M(f),
|
|
374
|
+
className: y()
|
|
375
|
+
}, a ?? d.children);
|
|
376
|
+
});
|
|
377
|
+
return u.displayName = `styled.${J(l)}`, u.__cva__ = s, u.__base__ = l, u.__shouldForwardProps__ = a, u;
|
|
378
|
+
}
|
|
379
|
+
function Be() {
|
|
380
|
+
let e = /* @__PURE__ */ new Map();
|
|
381
|
+
return new Proxy(Y, {
|
|
382
|
+
apply(e, t, n) {
|
|
383
|
+
return Y(...n);
|
|
384
|
+
},
|
|
385
|
+
get(t, n) {
|
|
386
|
+
return e.has(n) || e.set(n, Y(n)), e.get(n);
|
|
387
|
+
}
|
|
388
|
+
});
|
|
389
|
+
}
|
|
390
|
+
var Ve = /* @__PURE__ */ Be();
|
|
391
|
+
//#endregion
|
|
392
|
+
//#region styled-system/jsx/create-style-context.mjs
|
|
393
|
+
function He(e) {
|
|
394
|
+
let t = ee(void 0);
|
|
395
|
+
return [t, (n, r) => {
|
|
396
|
+
let i = v(t);
|
|
397
|
+
if (i === void 0) {
|
|
398
|
+
let t = n ? `Component "${n}"` : "A component", i = r ? ` (slot: "${r}")` : "";
|
|
399
|
+
throw Error(`${t}${i} cannot access ${e} because it's missing its Provider.`);
|
|
400
|
+
}
|
|
401
|
+
return i;
|
|
402
|
+
}];
|
|
403
|
+
}
|
|
404
|
+
function Ue(e) {
|
|
405
|
+
let t = "__recipe__" in e, n = t && e.__name__ ? e.__name__ : void 0, [r, i] = He(n ? `createStyleContext("${n}")` : "createStyleContext"), a = t ? e : je(e.config), o = (e, n) => {
|
|
406
|
+
let { unstyled: r, ...i } = e;
|
|
407
|
+
return r ? i : t ? {
|
|
408
|
+
...i,
|
|
409
|
+
className: U(n, i.className)
|
|
410
|
+
} : {
|
|
411
|
+
...n,
|
|
412
|
+
...i
|
|
413
|
+
};
|
|
414
|
+
};
|
|
415
|
+
return {
|
|
416
|
+
withRootProvider: (e, n) => {
|
|
417
|
+
let i = (i) => {
|
|
418
|
+
let [o, s] = a.splitVariantProps(i), c = t ? a(o) : a.raw(o);
|
|
419
|
+
c._classNameMap = a.classNameMap;
|
|
420
|
+
let l = n?.defaultProps ? {
|
|
421
|
+
...n.defaultProps,
|
|
422
|
+
...s
|
|
423
|
+
} : s;
|
|
424
|
+
return g(r.Provider, {
|
|
425
|
+
value: c,
|
|
426
|
+
children: g(e, l)
|
|
427
|
+
});
|
|
428
|
+
};
|
|
429
|
+
return i.displayName = `withRootProvider(${J(e)})`, i;
|
|
430
|
+
},
|
|
431
|
+
withProvider: (e, n, i) => {
|
|
432
|
+
let s = Ve(e, {}, i), c = _((e, c) => {
|
|
433
|
+
let [l, u] = a.splitVariantProps(e), d = t ? a(l) : a.raw(l);
|
|
434
|
+
d._classNameMap = a.classNameMap;
|
|
435
|
+
let f = {
|
|
436
|
+
...u,
|
|
437
|
+
className: u.className ?? i?.defaultProps?.className
|
|
438
|
+
}, p = o(f, d[n]);
|
|
439
|
+
return g(r.Provider, {
|
|
440
|
+
value: d,
|
|
441
|
+
children: g(s, {
|
|
442
|
+
...p,
|
|
443
|
+
className: U(p.className, d._classNameMap[n]),
|
|
444
|
+
ref: c
|
|
445
|
+
})
|
|
446
|
+
});
|
|
447
|
+
});
|
|
448
|
+
return c.displayName = `withProvider(${J(e)})`, c;
|
|
449
|
+
},
|
|
450
|
+
withContext: (e, t, n) => {
|
|
451
|
+
let r = Ve(e, {}, n), a = J(e), s = _((e, s) => {
|
|
452
|
+
let c = i(a, t), l = {
|
|
453
|
+
...e,
|
|
454
|
+
className: e.className ?? n?.defaultProps?.className
|
|
455
|
+
}, u = o(l, c[t]);
|
|
456
|
+
return g(r, {
|
|
457
|
+
...u,
|
|
458
|
+
className: U(u.className, c._classNameMap[t]),
|
|
459
|
+
ref: s
|
|
460
|
+
});
|
|
461
|
+
});
|
|
462
|
+
return s.displayName = `withContext(${a})`, s;
|
|
463
|
+
}
|
|
464
|
+
};
|
|
465
|
+
}
|
|
466
|
+
//#endregion
|
|
467
|
+
//#region styled-system/recipes/create-recipe.mjs
|
|
468
|
+
var We = (e, t, n) => {
|
|
469
|
+
let r = (n) => ({
|
|
470
|
+
[e]: "__ignore__",
|
|
471
|
+
...t,
|
|
472
|
+
...b(n)
|
|
473
|
+
});
|
|
474
|
+
return {
|
|
475
|
+
recipeFn: (t, i = !0) => {
|
|
476
|
+
let a = D({
|
|
477
|
+
conditions: {
|
|
478
|
+
shift: I,
|
|
479
|
+
finalize: F,
|
|
480
|
+
breakpoints: { keys: ["base"] }
|
|
481
|
+
},
|
|
482
|
+
utility: {
|
|
483
|
+
toHash: (e, t) => t(e.join(":")),
|
|
484
|
+
transform: (r, i) => (Ae(e, n, t, r), i === "__ignore__" ? { className: e } : (i = C(i), { className: `${e}--${r}_${i}` }))
|
|
485
|
+
}
|
|
486
|
+
}), o = r(t);
|
|
487
|
+
if (i) {
|
|
488
|
+
let e = K(n, o);
|
|
489
|
+
return U(a(o), V(e));
|
|
490
|
+
}
|
|
491
|
+
return a(o);
|
|
492
|
+
},
|
|
493
|
+
getVariantProps: r,
|
|
494
|
+
__getCompoundVariantCss__: (e) => K(n, r(e))
|
|
495
|
+
};
|
|
496
|
+
}, Ge = (e, t) => {
|
|
497
|
+
if (e && !t) return e;
|
|
498
|
+
if (!e && t) return t;
|
|
499
|
+
let n = (...n) => U(e(...n), t(...n)), r = A(e.variantKeys, t.variantKeys), i = r.reduce((n, r) => (n[r] = A(e.variantMap[r], t.variantMap[r]), n), {});
|
|
500
|
+
return Object.assign(n, {
|
|
501
|
+
__recipe__: !0,
|
|
502
|
+
__name__: `${e.__name__} ${t.__name__}`,
|
|
503
|
+
raw: (e) => e,
|
|
504
|
+
variantKeys: r,
|
|
505
|
+
variantMap: i,
|
|
506
|
+
splitVariantProps(e) {
|
|
507
|
+
return k(e, r);
|
|
508
|
+
}
|
|
509
|
+
});
|
|
510
|
+
}, Ke = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), qe = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), Je = {
|
|
511
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
512
|
+
width: 24,
|
|
513
|
+
height: 24,
|
|
514
|
+
viewBox: "0 0 24 24",
|
|
515
|
+
fill: "none",
|
|
516
|
+
stroke: "currentColor",
|
|
517
|
+
strokeWidth: 2,
|
|
518
|
+
strokeLinecap: "round",
|
|
519
|
+
strokeLinejoin: "round"
|
|
520
|
+
}, Ye = _(({ color: e = "currentColor", size: t = 24, strokeWidth: n = 2, absoluteStrokeWidth: r, className: i = "", children: a, iconNode: o, ...s }, c) => g("svg", {
|
|
521
|
+
ref: c,
|
|
522
|
+
...Je,
|
|
523
|
+
width: t,
|
|
524
|
+
height: t,
|
|
525
|
+
stroke: e,
|
|
526
|
+
strokeWidth: r ? Number(n) * 24 / Number(t) : n,
|
|
527
|
+
className: qe("lucide", i),
|
|
528
|
+
...s
|
|
529
|
+
}, [...o.map(([e, t]) => g(e, t)), ...Array.isArray(a) ? a : [a]])), X = (e, t) => {
|
|
530
|
+
let n = _(({ className: n, ...r }, i) => g(Ye, {
|
|
531
|
+
ref: i,
|
|
532
|
+
iconNode: t,
|
|
533
|
+
className: qe(`lucide-${Ke(e)}`, n),
|
|
534
|
+
...r
|
|
535
|
+
}));
|
|
536
|
+
return n.displayName = `${e}`, n;
|
|
537
|
+
}, Xe = X("ChevronDown", [["path", {
|
|
538
|
+
d: "m6 9 6 6 6-6",
|
|
539
|
+
key: "qrunsl"
|
|
540
|
+
}]]), Ze = X("ChevronLeft", [["path", {
|
|
541
|
+
d: "m15 18-6-6 6-6",
|
|
542
|
+
key: "1wnfg3"
|
|
543
|
+
}]]), Qe = X("ChevronRight", [["path", {
|
|
544
|
+
d: "m9 18 6-6-6-6",
|
|
545
|
+
key: "mthhwq"
|
|
546
|
+
}]]), $e = X("X", [["path", {
|
|
547
|
+
d: "M18 6 6 18",
|
|
548
|
+
key: "1bl5f8"
|
|
549
|
+
}], ["path", {
|
|
550
|
+
d: "m6 6 12 12",
|
|
551
|
+
key: "d8bk6v"
|
|
552
|
+
}]]), et = {
|
|
553
|
+
sm: "480px",
|
|
554
|
+
md: "768px",
|
|
555
|
+
lg: "1280px",
|
|
556
|
+
xl: "1440px"
|
|
557
|
+
}, tt = /* @__PURE__ */ "color.display.flex-direction.gap.row-gap.column-gap.align-items.justify-content.justify-items.flex-wrap.flex-grow.flex-shrink.width.min-width.max-width.height.min-height.max-height.padding.padding-x.padding-y.padding-top.padding-right.padding-bottom.padding-left.margin.margin-x.margin-y.margin-top.margin-right.margin-bottom.margin-left.grid-template-columns.grid-template-rows.grid-auto-flow.grid-auto-columns.grid-auto-rows".split("."), Z = ["base", ...Object.keys(et)], nt = Object.fromEntries(tt.flatMap((e) => Z.map((t, n) => [`--layout-${e}-${t}`, n === 0 ? "initial" : `var(--layout-${e}-${Z[n - 1]}, initial)`]))), rt = (e) => Object.fromEntries(tt.map((t) => [`--layout-${t}`, `var(--layout-${t}-${e}, initial)`]));
|
|
558
|
+
({
|
|
559
|
+
...nt,
|
|
560
|
+
...rt("base")
|
|
561
|
+
}), { ...Object.fromEntries(Object.keys(et).map((e) => [`_${e}`, rt(e)])) };
|
|
562
|
+
var Q = (e) => e === "full" ? "100%" : e, $ = (e) => {
|
|
563
|
+
if (e === "0") return 0;
|
|
564
|
+
if (typeof e != "string" || !/^-?\d+(?:\.\d+)?$/.test(e)) return e;
|
|
565
|
+
let t = e.startsWith("-"), n = `var(--spacing-${e.replace("-", "").replaceAll(".", "\\.")})`;
|
|
566
|
+
return t ? `calc(${n} * -1)` : n;
|
|
567
|
+
}, it = (e) => {
|
|
568
|
+
let t = e, n = {}, r = (e, t, r = (e) => e) => {
|
|
569
|
+
if (t === void 0) return;
|
|
570
|
+
if (typeof t != "object" || !t || Array.isArray(t)) {
|
|
571
|
+
n[`--layout-${e}-base`] = r(t);
|
|
572
|
+
return;
|
|
573
|
+
}
|
|
574
|
+
let i = t;
|
|
575
|
+
for (let t of Z) {
|
|
576
|
+
let a = i[t];
|
|
577
|
+
a !== void 0 && (n[`--layout-${e}-${t}`] = r(a));
|
|
578
|
+
}
|
|
579
|
+
};
|
|
580
|
+
return r("display", t.display), r("color", t.color, (e) => typeof e == "string" ? `var(--colors-${e.replaceAll(".", "-")})` : e), r("flex-direction", t.flexDirection), r("gap", t.gap, $), r("row-gap", t.rowGap, $), r("column-gap", t.columnGap, $), r("align-items", t.alignItems), r("justify-content", t.justifyContent), r("justify-items", t.justifyItems), r("flex-wrap", t.flexWrap), r("flex-grow", t.flexGrow), r("flex-shrink", t.flexShrink), r("width", t.width, Q), r("min-width", t.minWidth, Q), r("max-width", t.maxWidth, Q), r("height", t.height, Q), r("min-height", t.minHeight, Q), r("max-height", t.maxHeight, Q), r("padding", t.padding ?? t.p, $), r("padding-x", t.paddingX ?? t.px, $), r("padding-y", t.paddingY ?? t.py, $), r("padding-top", t.paddingTop ?? t.pt, $), r("padding-right", t.paddingRight ?? t.pr, $), r("padding-bottom", t.paddingBottom ?? t.pb, $), r("padding-left", t.paddingLeft ?? t.pl, $), r("margin", t.margin ?? t.m, $), r("margin-x", t.marginX ?? t.mx, $), r("margin-y", t.marginY ?? t.my, $), r("margin-top", t.marginTop ?? t.mt, $), r("margin-right", t.marginRight ?? t.mr, $), r("margin-bottom", t.marginBottom ?? t.mb, $), r("margin-left", t.marginLeft ?? t.ml, $), r("grid-template-columns", t.gridTemplateColumns), r("grid-template-rows", t.gridTemplateRows), r("grid-auto-flow", t.gridAutoFlow), r("grid-auto-columns", t.gridAutoColumns), r("grid-auto-rows", t.gridAutoRows), n;
|
|
581
|
+
};
|
|
582
|
+
//#endregion
|
|
583
|
+
export { e as Accordion, t as Avatar, n as Badge, r as Box, i as Button, a as Calendar, o as Center, s as Checkbox, c as Dialog, l as Grid, u as HStack, d as Select, f as Slider, p as Tabs, m as TextField, h as VStack, Xe as a, Ue as c, V as d, b as f, k as h, Ze as i, Ie as l, w as m, $e as n, We as o, O as p, Qe as r, Ge as s, it as t, U as u };
|