@decidrcn/ui
Version:
Decidr UI - A comprehensive React component library built with shadcn/ui and Radix UI. Supports React, Next.js, Rails, and works with npm, yarn, and pnpm.
148 lines (135 loc) • 41.6 kB
JavaScript
'use strict';var u=require('react'),reactSlot=require('@radix-ui/react-slot'),classVarianceAuthority=require('class-variance-authority'),clsx=require('clsx'),tailwindMerge=require('tailwind-merge'),jsxRuntime=require('react/jsx-runtime'),p=require('@radix-ui/react-dialog'),lucideReact=require('lucide-react'),W=require('@radix-ui/react-hover-card'),nextThemes=require('next-themes'),s=require('@radix-ui/react-dropdown-menu'),Jt=require('embla-carousel-react');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var u__namespace=/*#__PURE__*/_interopNamespace(u);var p__namespace=/*#__PURE__*/_interopNamespace(p);var W__namespace=/*#__PURE__*/_interopNamespace(W);var s__namespace=/*#__PURE__*/_interopNamespace(s);var Jt__default=/*#__PURE__*/_interopDefault(Jt);function r(...t){return tailwindMerge.twMerge(clsx.clsx(t))}var ce=classVarianceAuthority.cva("inline-flex items-center justify-center whitespace-nowrap text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 cursor-pointer",{variants:{variant:{default:"bg-white text-black border border-gray-200 hover:bg-black hover:text-white",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline",success:"bg-green-600 text-white hover:bg-green-700",warning:"bg-yellow-600 text-white hover:bg-yellow-700",info:"bg-blue-600 text-white hover:bg-blue-700",gradient:"bg-gradient-to-r from-[#f36744] to-[#8e57fb] text-white hover:from-[#e55a3a] hover:to-[#7c4dd8]"},size:{default:"h-10 px-4 py-2",sm:"h-9 px-3",lg:"h-11 px-8",icon:"h-10 w-10"},radius:{default:"rounded-lg",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl",full:"rounded-full",none:"rounded-none"}},defaultVariants:{variant:"default",size:"default",radius:"default"}}),Y=u__namespace.forwardRef(({className:t,variant:e,size:o,radius:a,asChild:n=false,leftIcon:i,rightIcon:l,children:c,bgColor:w,textColor:d,hoverBgColor:v,hoverTextColor:y,gradient:C,hoverGradient:M,style:f,...N},R)=>{let m=o==="icon",g=C&&C.includes("gradient"),H=M&&M.includes("gradient"),E={...f,...g&&{background:C},...!g&&w&&{backgroundColor:w},...d&&{color:d}},U=[H&&`hover:bg-[${M}]`,!H&&v&&`hover:bg-[${v}]`,y&&`hover:text-[${y}]`].filter(Boolean).join(" "),q=r(ce({variant:e,size:o,radius:a,className:t}),(v||y||H)&&U);return n?jsxRuntime.jsxs(reactSlot.Slot,{className:q,style:E,ref:R,...N,children:[!m&&i&&jsxRuntime.jsx("span",{className:"mr-2 flex items-center",children:i}),m&&i&&jsxRuntime.jsx("span",{className:"flex items-center justify-center",children:i}),!m&&c,!m&&l&&jsxRuntime.jsx("span",{className:"ml-2 flex items-center",children:l})]}):jsxRuntime.jsxs("button",{className:q,style:E,ref:R,...N,children:[!m&&i&&jsxRuntime.jsx("span",{className:"mr-2 flex items-center",children:i}),m&&i&&jsxRuntime.jsx("span",{className:"flex items-center justify-center",children:i}),!m&&c,!m&&l&&jsxRuntime.jsx("span",{className:"ml-2 flex items-center",children:l})]})});Y.displayName="Button";var z=u__namespace.forwardRef(({className:t,type:e,...o},a)=>jsxRuntime.jsx("input",{type:e,className:r("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),ref:a,...o}));z.displayName="Input";var pe=u__namespace.forwardRef(({label:t,description:e,error:o,id:a,className:n,...i},l)=>{let c=a||u__namespace.useId(),w=jsxRuntime.jsx(z,{id:c,className:r(o&&"border-destructive focus-visible:ring-destructive",n),ref:l,"aria-describedby":e?`${c}-description`:void 0,"aria-invalid":o?true:void 0,...i});return t||e||o?jsxRuntime.jsxs("div",{className:"space-y-2",children:[t&&jsxRuntime.jsx("label",{htmlFor:c,className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70 text-foreground",children:t}),w,e&&jsxRuntime.jsx("p",{id:`${c}-description`,className:"text-sm text-muted-foreground",children:e}),o&&jsxRuntime.jsx("p",{className:"text-sm text-destructive",children:o})]}):w});pe.displayName="InputField";var ge=u__namespace.forwardRef(({className:t,leftIcon:e,rightIcon:o,label:a,description:n,error:i,id:l,...c},w)=>{let d=l||u__namespace.useId(),v=jsxRuntime.jsxs("div",{className:"relative",children:[e&&jsxRuntime.jsx("div",{className:"absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground pointer-events-none z-10",children:e}),o&&jsxRuntime.jsx("div",{className:"absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground pointer-events-none z-10",children:o}),jsxRuntime.jsx(z,{id:d,className:r(e&&"pl-10",o&&"pr-10",t),ref:w,"aria-describedby":n?`${d}-description`:void 0,"aria-invalid":i?true:void 0,...c})]});return a||n||i?jsxRuntime.jsxs("div",{className:"space-y-2",children:[a&&jsxRuntime.jsx("label",{htmlFor:d,className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70 text-foreground",children:a}),v,n&&jsxRuntime.jsx("p",{id:`${d}-description`,className:"text-sm text-muted-foreground",children:n}),i&&jsxRuntime.jsx("p",{className:"text-sm text-destructive",children:i})]}):v});ge.displayName="InputWithIcon";var we=u__namespace.forwardRef(({className:t,leftIcon:e,rightIcon:o,label:a,description:n,error:i,id:l,rows:c=3,maxRows:w=10,onChange:d,...v},y)=>{let[C,M]=u__namespace.useState(c),f=l||u__namespace.useId(),N=m=>{let g=m.target,H=parseInt(getComputedStyle(g).lineHeight),E=g.scrollHeight,U=Math.min(Math.max(c,Math.ceil(E/H)),w);M(U),d&&d(m);},R=jsxRuntime.jsxs("div",{className:"relative",children:[e&&jsxRuntime.jsx("div",{className:"absolute left-3 top-3 text-muted-foreground pointer-events-none z-10",children:e}),o&&jsxRuntime.jsx("div",{className:"absolute right-3 top-3 text-muted-foreground pointer-events-none z-10",children:o}),jsxRuntime.jsx("textarea",{id:f,className:r("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 resize-none overflow-hidden",e&&"pl-10",o&&"pr-10",t),rows:C,ref:y,onChange:N,"aria-describedby":n?`${f}-description`:void 0,"aria-invalid":i?true:void 0,...v})]});return a||n||i?jsxRuntime.jsxs("div",{className:"space-y-2",children:[a&&jsxRuntime.jsx("label",{htmlFor:f,className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70 text-foreground",children:a}),R,n&&jsxRuntime.jsx("p",{id:`${f}-description`,className:"text-sm text-muted-foreground",children:n}),i&&jsxRuntime.jsx("p",{className:"text-sm text-destructive",children:i})]}):R});we.displayName="TextareaWithIcon";var be=u__namespace.forwardRef(({className:t,background:e,style:o,...a},n)=>{let i=jsxRuntime.jsxs("svg",{ref:n,className:r("w-20 h-5",t),viewBox:"0 0 75 20",xmlns:"http://www.w3.org/2000/svg",style:o,...a,children:[jsxRuntime.jsx("path",{d:"M32.6875 15.1408V5.10327H36.2668C39.2216 5.10327 41.2809 7.13982 41.2809 10.0646C41.2809 12.9893 39.2216 15.1408 36.2668 15.1408H32.6875ZM34.392 13.5919H36.3807C38.2267 13.5919 39.52 12.1434 39.52 10.0646C39.52 8.10061 38.2279 6.65216 36.3807 6.65216H34.392V13.5919Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M41.4375 11.3689C41.4375 8.85919 43.0713 7.3103 45.1738 7.3103C47.2763 7.3103 48.7243 8.81563 48.7675 11.2817V11.6835H43.1145C43.2283 13.017 44.0518 13.9209 45.3309 13.9209C46.1975 13.9209 46.8508 13.4901 47.1061 12.7302H48.7399C48.3564 14.365 47.0917 15.3548 45.3165 15.3548C43.015 15.3548 41.4387 13.691 41.4387 11.3689H41.4375ZM47.0342 10.494C46.8208 9.40372 46.1532 8.74423 45.1738 8.74423C44.1945 8.74423 43.4405 9.40372 43.1852 10.494H47.0342Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M48.9785 11.283C48.9785 8.78781 50.6399 7.31152 52.8275 7.31152C54.8869 7.31152 56.2797 8.58815 56.4212 10.4807H54.773C54.6172 9.43398 53.8788 8.75997 52.8131 8.75997C51.5341 8.75997 50.6819 9.73529 50.6819 11.2842C50.6819 12.948 51.6192 13.9088 52.8695 13.9088C53.892 13.9088 54.6028 13.2493 54.773 12.1591H56.4212C56.2222 14.123 54.8725 15.3561 52.8707 15.3561C50.4134 15.3561 48.9785 13.5785 48.9785 11.2842V11.283Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M56.4941 5.41791C56.4941 4.80077 56.9628 4.32764 57.5742 4.32764C58.1855 4.32764 58.6542 4.80077 58.6542 5.41791C58.6542 6.03504 58.1999 6.52149 57.5742 6.52149C56.9484 6.52149 56.4941 6.03383 56.4941 5.41791ZM56.7363 15.1408V7.54158H58.412V15.1408H56.7363Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M58.7852 11.2974C58.7852 8.94625 60.22 7.31145 62.223 7.31145C63.2886 7.31145 64.1685 7.75555 64.6947 8.47312V4.38672H66.3705V15.1418H65.0208L64.8649 13.7938C64.4394 14.7546 63.5008 15.3572 62.2793 15.3572C60.2476 15.3572 58.7852 13.6934 58.7852 11.2986V11.2974ZM64.6947 11.2829C64.6947 9.77757 63.8424 8.73086 62.621 8.73086C61.3995 8.73086 60.5041 9.79209 60.5041 11.3119C60.5041 12.8318 61.3564 13.9221 62.5922 13.9221C63.8281 13.9221 64.6947 12.8318 64.6947 11.2841V11.2829Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M67.1289 15.1402V7.54099H68.4786L68.6776 9.0318C69.1607 7.99961 70.0417 7.45508 71.2908 7.45508H71.5749V9.1044H71.2908C69.7289 9.1044 68.8047 9.95024 68.8047 11.3842V15.1414H67.1289V15.1402Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M15.4006 14.9966L13.0788 11.5322H7.2615C6.0724 11.5322 5.10386 10.5557 5.10386 9.35408V7.2776C5.10386 6.07721 6.0712 5.09948 7.2615 5.09948H8.76706L6.45598 1.65199L1.54134 1.63989C1.51377 1.63989 1.4898 1.64957 1.46942 1.67014C1.44904 1.69072 1.43945 1.71492 1.43945 1.74396V14.8938C1.43945 14.9506 1.485 14.9966 1.54134 14.9966H15.4006Z",fill:"currentColor"}),jsxRuntime.jsx("path",{d:"M20.4646 18.4545C24.1134 18.4545 27.0814 15.4571 27.0814 11.7737C27.0814 8.09024 24.1134 5.09412 20.4646 5.09412L8.77734 5.10985L11.0896 8.55854H20.4646C22.2207 8.55854 23.6507 10.0009 23.6507 11.7749C23.6507 13.5489 22.2219 14.9913 20.4646 14.9913H15.4001L17.722 18.4557H20.4646V18.4545Z",fill:"currentColor"})]});return e?jsxRuntime.jsx("div",{className:"inline-flex items-center justify-center rounded-lg p-2",style:{background:e},children:i}):i});be.displayName="Logo";var he=u__namespace.forwardRef(({className:t,background:e,variant:o="default",style:a,...n},i)=>{let l=e?"white":"black",c=jsxRuntime.jsxs("svg",{ref:i,className:r("w-4 h-4",t),viewBox:"0 -9 28 40",xmlns:"http://www.w3.org/2000/svg",style:a,...n,children:[e&&jsxRuntime.jsx("rect",{width:"40",height:"40",rx:"6",fill:o==="gradient"?"url(#gradient)":"transparent"}),jsxRuntime.jsxs("g",{children:[jsxRuntime.jsx("path",{d:"M15.4006 14.9966L13.0788 11.5322H7.2615C6.0724 11.5322 5.10386 10.5557 5.10386 9.35408V7.2776C5.10386 6.07721 6.0712 5.09948 7.2615 5.09948H8.76706L6.45598 1.65199L1.54134 1.63989C1.51377 1.63989 1.4898 1.64957 1.46942 1.67014C1.44904 1.69072 1.43945 1.71492 1.43945 1.74396V14.8938C1.43945 14.9506 1.485 14.9966 1.54134 14.9966H15.4006Z",fill:l}),jsxRuntime.jsx("path",{d:"M20.4646 18.4545C24.1134 18.4545 27.0814 15.4571 27.0814 11.7737C27.0814 8.09024 24.1134 5.09412 20.4646 5.09412L8.77734 5.10985L11.0896 8.55854H20.4646C22.2207 8.55854 23.6507 10.0009 23.6507 11.7749C23.6507 13.5489 22.2219 14.9913 20.4646 14.9913H15.4001L17.722 18.4557H20.4646V18.4545Z",fill:l})]}),o==="gradient"&&jsxRuntime.jsx("defs",{children:jsxRuntime.jsxs("linearGradient",{id:"gradient",x1:"0%",y1:"0%",x2:"100%",y2:"0%",children:[jsxRuntime.jsx("stop",{offset:"0%",stopColor:"#8B5CF6"}),jsxRuntime.jsx("stop",{offset:"100%",stopColor:"#F59E0B"})]})})]});return e?jsxRuntime.jsx("div",{className:"inline-flex items-center justify-center rounded-lg p-2",style:{background:o==="gradient"?void 0:e},children:c}):c});he.displayName="LogoIcon";var Re=u__namespace.forwardRef(({className:t,...e},o)=>jsxRuntime.jsx("div",{ref:o,className:r("rounded-lg border bg-card text-card-foreground shadow-sm",t),...e}));Re.displayName="Card";var ye=u__namespace.forwardRef(({className:t,...e},o)=>jsxRuntime.jsx("div",{ref:o,className:r("flex flex-col space-y-1.5 p-6",t),...e}));ye.displayName="CardHeader";var Ce=u__namespace.forwardRef(({className:t,...e},o)=>jsxRuntime.jsx("h3",{ref:o,className:r("text-2xl font-semibold leading-none tracking-tight",t),...e}));Ce.displayName="CardTitle";var Me=u__namespace.forwardRef(({className:t,...e},o)=>jsxRuntime.jsx("p",{ref:o,className:r("text-sm text-muted-foreground",t),...e}));Me.displayName="CardDescription";var Ne=u__namespace.forwardRef(({className:t,...e},o)=>jsxRuntime.jsx("div",{ref:o,className:r("p-6 pt-0",t),...e}));Ne.displayName="CardContent";var He=u__namespace.forwardRef(({className:t,...e},o)=>jsxRuntime.jsx("div",{ref:o,className:r("flex items-center p-6 pt-0",t),...e}));He.displayName="CardFooter";var Mt=p__namespace.Root,Nt=p__namespace.Trigger,Te=p__namespace.Portal,Ht=p__namespace.Close,ae=u__namespace.forwardRef(({className:t,...e},o)=>jsxRuntime.jsx(p__namespace.Overlay,{ref:o,className:r("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...e}));ae.displayName=p__namespace.Overlay.displayName;var Pe=u__namespace.forwardRef(({className:t,children:e,...o},a)=>jsxRuntime.jsxs(Te,{children:[jsxRuntime.jsx(ae,{}),jsxRuntime.jsxs(p__namespace.Content,{ref:a,className:r("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",t),...o,children:[e,jsxRuntime.jsxs(p__namespace.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[jsxRuntime.jsx(lucideReact.X,{className:"h-4 w-4"}),jsxRuntime.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Pe.displayName=p__namespace.Content.displayName;var De=({className:t,...e})=>jsxRuntime.jsx("div",{className:r("flex flex-col space-y-1.5 text-center sm:text-left",t),...e});De.displayName="DialogHeader";var Le=({className:t,...e})=>jsxRuntime.jsx("div",{className:r("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...e});Le.displayName="DialogFooter";var Ee=u__namespace.forwardRef(({className:t,...e},o)=>jsxRuntime.jsx(p__namespace.Title,{ref:o,className:r("text-lg font-semibold leading-none tracking-tight",t),...e}));Ee.displayName=p__namespace.Title.displayName;var ke=u__namespace.forwardRef(({className:t,...e},o)=>jsxRuntime.jsx(p__namespace.Description,{ref:o,className:r("text-sm text-muted-foreground",t),...e}));ke.displayName=p__namespace.Description.displayName;var Tt=W__namespace.Root,Pt=W__namespace.Trigger,We=u__namespace.forwardRef(({className:t,align:e="center",sideOffset:o=4,...a},n)=>jsxRuntime.jsx(W__namespace.Content,{ref:n,align:e,sideOffset:o,className:r("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...a}));We.displayName=W__namespace.Content.displayName;var Ie=u__namespace.forwardRef(({className:t,...e},o)=>jsxRuntime.jsx("div",{ref:o,className:r("prose prose-gray dark:prose-invert max-w-none",t),...e}));Ie.displayName="Typography";var Ae=u__namespace.forwardRef(({className:t,...e},o)=>jsxRuntime.jsx("h1",{ref:o,className:r("scroll-m-20 text-4xl font-bold tracking-tight",t),...e}));Ae.displayName="Heading1";var Ve=u__namespace.forwardRef(({className:t,...e},o)=>jsxRuntime.jsx("h2",{ref:o,className:r("scroll-m-20 border-b pb-2 text-3xl font-semibold tracking-tight first:mt-0",t),...e}));Ve.displayName="Heading2";var ze=u__namespace.forwardRef(({className:t,...e},o)=>jsxRuntime.jsx("h3",{ref:o,className:r("scroll-m-20 text-2xl font-semibold tracking-tight",t),...e}));ze.displayName="Heading3";var Be=u__namespace.forwardRef(({className:t,...e},o)=>jsxRuntime.jsx("h4",{ref:o,className:r("scroll-m-20 text-xl font-semibold tracking-tight",t),...e}));Be.displayName="Heading4";var Fe=u__namespace.forwardRef(({className:t,...e},o)=>jsxRuntime.jsx("p",{ref:o,className:r("leading-7 [&:not(:first-child)]:mt-6",t),...e}));Fe.displayName="Paragraph";var Ge=u__namespace.forwardRef(({className:t,...e},o)=>jsxRuntime.jsx("blockquote",{ref:o,className:r("mt-6 border-l-2 pl-6 italic",t),...e}));Ge.displayName="Blockquote";var Ze=u__namespace.forwardRef(({className:t,...e},o)=>jsxRuntime.jsx("ul",{ref:o,className:r("my-6 ml-6 list-disc [&>li]:mt-2",t),...e}));Ze.displayName="List";var Oe=u__namespace.forwardRef(({className:t,...e},o)=>jsxRuntime.jsx("code",{ref:o,className:r("relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm font-semibold",t),...e}));Oe.displayName="InlineCode";var $e=u__namespace.forwardRef(({className:t,...e},o)=>jsxRuntime.jsx("p",{ref:o,className:r("text-xl text-muted-foreground",t),...e}));$e.displayName="Lead";var Ue=u__namespace.forwardRef(({className:t,...e},o)=>jsxRuntime.jsx("div",{ref:o,className:r("text-lg font-semibold",t),...e}));Ue.displayName="Large";var qe=u__namespace.forwardRef(({className:t,...e},o)=>jsxRuntime.jsx("small",{ref:o,className:r("text-sm font-medium leading-none",t),...e}));qe.displayName="Small";var Ke=u__namespace.forwardRef(({className:t,...e},o)=>jsxRuntime.jsx("p",{ref:o,className:r("text-sm text-muted-foreground",t),...e}));Ke.displayName="Muted";var Xe=u__namespace.forwardRef(({className:t,as:e="h2",...o},a)=>jsxRuntime.jsx(e,{ref:a,className:r("font-sans text-on-surface-default",(i=>{switch(i){case "h1":return "text-4xl font-bold leading-tight";case "h2":return "text-3xl font-semibold leading-tight";case "h3":return "text-2xl font-semibold leading-snug";case "h4":return "text-xl font-semibold leading-snug";case "h5":return "text-lg font-semibold leading-snug";case "h6":return "text-base font-semibold leading-snug";default:return "text-3xl font-semibold leading-tight"}})(e),t),...o}));Xe.displayName="DecidrHeader";var Je=u__namespace.forwardRef(({className:t,as:e="p",size:o="base",...a},n)=>jsxRuntime.jsx(e,{ref:n,className:r("font-sans text-on-surface-default",(l=>{switch(l){case "xs":return "text-xs leading-relaxed";case "sm":return "text-sm leading-relaxed";case "base":return "text-base leading-relaxed";case "lg":return "text-lg leading-relaxed";case "xl":return "text-xl leading-relaxed";default:return "text-base leading-relaxed"}})(o),t),...a}));Je.displayName="DecidrBody";function St({children:t,...e}){return jsxRuntime.jsx(nextThemes.ThemeProvider,{attribute:"class",defaultTheme:"system",enableSystem:true,disableTransitionOnChange:true,...e,children:t})}var _e=s__namespace.Root,je=s__namespace.Trigger;var zt=u__namespace.forwardRef(({className:t,inset:e,children:o,...a},n)=>jsxRuntime.jsxs(s__namespace.SubTrigger,{ref:n,className:r("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",e&&"pl-8",t),...a,children:[o,jsxRuntime.jsx(lucideReact.ChevronRight,{className:"ml-auto h-4 w-4"})]}));zt.displayName=s__namespace.SubTrigger.displayName;var Bt=u__namespace.forwardRef(({className:t,...e},o)=>jsxRuntime.jsx(s__namespace.SubContent,{ref:o,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...e}));Bt.displayName=s__namespace.SubContent.displayName;var ie=u__namespace.forwardRef(({className:t,sideOffset:e=4,...o},a)=>jsxRuntime.jsx(s__namespace.Portal,{children:jsxRuntime.jsx(s__namespace.Content,{ref:a,sideOffset:e,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...o})}));ie.displayName=s__namespace.Content.displayName;var Q=u__namespace.forwardRef(({className:t,inset:e,...o},a)=>jsxRuntime.jsx(s__namespace.Item,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e&&"pl-8",t),...o}));Q.displayName=s__namespace.Item.displayName;var Ft=u__namespace.forwardRef(({className:t,children:e,checked:o,...a},n)=>jsxRuntime.jsxs(s__namespace.CheckboxItem,{ref:n,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),checked:o,...a,children:[jsxRuntime.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:jsxRuntime.jsx(s__namespace.ItemIndicator,{children:jsxRuntime.jsx(lucideReact.Check,{className:"h-4 w-4"})})}),e]}));Ft.displayName=s__namespace.CheckboxItem.displayName;var Gt=u__namespace.forwardRef(({className:t,children:e,...o},a)=>jsxRuntime.jsxs(s__namespace.RadioItem,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),...o,children:[jsxRuntime.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:jsxRuntime.jsx(s__namespace.ItemIndicator,{children:jsxRuntime.jsx(lucideReact.Circle,{className:"h-2 w-2 fill-current"})})}),e]}));Gt.displayName=s__namespace.RadioItem.displayName;var Zt=u__namespace.forwardRef(({className:t,inset:e,...o},a)=>jsxRuntime.jsx(s__namespace.Label,{ref:a,className:r("px-2 py-1.5 text-sm font-semibold",e&&"pl-8",t),...o}));Zt.displayName=s__namespace.Label.displayName;var Ot=u__namespace.forwardRef(({className:t,...e},o)=>jsxRuntime.jsx(s__namespace.Separator,{ref:o,className:r("-mx-1 my-1 h-px bg-muted",t),...e}));Ot.displayName=s__namespace.Separator.displayName;function Qt(){let{setTheme:t}=nextThemes.useTheme();return jsxRuntime.jsxs(_e,{children:[jsxRuntime.jsx(je,{asChild:true,children:jsxRuntime.jsxs(Y,{variant:"outline",size:"icon",children:[jsxRuntime.jsx(lucideReact.Sun,{className:"h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"}),jsxRuntime.jsx(lucideReact.Moon,{className:"absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100"}),jsxRuntime.jsx("span",{className:"sr-only",children:"Toggle theme"})]})}),jsxRuntime.jsxs(ie,{align:"end",children:[jsxRuntime.jsx(Q,{onClick:()=>t("light"),children:"Light"}),jsxRuntime.jsx(Q,{onClick:()=>t("dark"),children:"Dark"}),jsxRuntime.jsx(Q,{onClick:()=>t("system"),children:"System"})]})]})}var ot=classVarianceAuthority.cva("dsw-inline-flex dsw-items-center dsw-justify-center dsw-whitespace-nowrap dsw-text-sm dsw-font-medium dsw-ring-offset-background dsw-transition-colors dsw-focus-visible:dsw-outline-none dsw-focus-visible:dsw-ring-2 dsw-focus-visible:dsw-ring-ring dsw-focus-visible:dsw-ring-offset-2 dsw-disabled:dsw-pointer-events-none dsw-disabled:dsw-opacity-50 dsw-cursor-pointer",{variants:{variant:{default:"dsw-bg-white dsw-text-black dsw-border dsw-border-gray-200 hover:dsw-bg-black hover:dsw-text-white",destructive:"dsw-bg-destructive dsw-text-destructive-foreground hover:dsw-bg-destructive/90",outline:"dsw-border dsw-border-input dsw-bg-background hover:dsw-bg-accent hover:dsw-text-accent-foreground",secondary:"dsw-bg-secondary dsw-text-secondary-foreground hover:dsw-bg-secondary/80",ghost:"hover:dsw-bg-accent hover:dsw-text-accent-foreground",link:"dsw-text-primary dsw-underline-offset-4 hover:dsw-underline",success:"dsw-bg-green-600 dsw-text-white hover:dsw-bg-green-700",warning:"dsw-bg-yellow-600 dsw-text-white hover:dsw-bg-yellow-700",info:"dsw-bg-blue-600 dsw-text-white hover:dsw-bg-blue-700",gradient:"dsw-bg-gradient-to-r dsw-from-[#f36744] dsw-to-[#8e57fb] dsw-text-white hover:dsw-from-[#e55a3a] hover:dsw-to-[#7c4dd8]"},size:{default:"dsw-h-10 dsw-px-4 dsw-py-2",sm:"dsw-h-9 dsw-px-3",lg:"dsw-h-11 dsw-px-8",icon:"dsw-h-10 dsw-w-10"},radius:{default:"dsw-rounded-lg",sm:"dsw-rounded-sm",md:"dsw-rounded-md",lg:"dsw-rounded-lg",xl:"dsw-rounded-xl",full:"dsw-rounded-full",none:"dsw-rounded-none"}},defaultVariants:{variant:"default",size:"default",radius:"default"}}),X=u__namespace.forwardRef(({className:t,variant:e,size:o,radius:a,asChild:n=false,leftIcon:i,rightIcon:l,children:c,bgColor:w,textColor:d,hoverBgColor:v,hoverTextColor:y,gradient:C,hoverGradient:M,style:f,...N},R)=>{let m=o==="icon",g=C&&C.includes("gradient"),H=M&&M.includes("gradient"),E={...f,...g&&{background:C},...!g&&w&&{backgroundColor:w},...d&&{color:d}},U=[H&&`hover:dsw-bg-[${M}]`,!H&&v&&`hover:dsw-bg-[${v}]`,y&&`hover:dsw-text-[${y}]`].filter(Boolean).join(" "),q=r(ot({variant:e,size:o,radius:a,className:t}),(v||y||H)&&U);return n?jsxRuntime.jsxs(reactSlot.Slot,{className:q,style:E,ref:R,...N,children:[!m&&i&&jsxRuntime.jsx("span",{className:"dsw-mr-2 dsw-flex dsw-items-center",children:i}),m&&i&&jsxRuntime.jsx("span",{className:"dsw-flex dsw-items-center dsw-justify-center",children:i}),!m&&c,!m&&l&&jsxRuntime.jsx("span",{className:"dsw-ml-2 dsw-flex dsw-items-center",children:l})]}):jsxRuntime.jsxs("button",{className:q,style:E,ref:R,...N,children:[!m&&i&&jsxRuntime.jsx("span",{className:"dsw-mr-2 dsw-flex dsw-items-center",children:i}),m&&i&&jsxRuntime.jsx("span",{className:"dsw-flex dsw-items-center dsw-justify-center",children:i}),!m&&c,!m&&l&&jsxRuntime.jsx("span",{className:"dsw-ml-2 dsw-flex dsw-items-center",children:l})]})});X.displayName="ButtonWidget";var rt=u__namespace.forwardRef(({className:t,...e},o)=>jsxRuntime.jsx("div",{ref:o,className:r("dsw-rounded-lg dsw-border dsw-bg-card dsw-text-card-foreground dsw-shadow-sm",t),...e}));rt.displayName="CardWidget";var at=u__namespace.forwardRef(({className:t,...e},o)=>jsxRuntime.jsx("div",{ref:o,className:r("dsw-flex dsw-flex-col dsw-space-y-1.5 dsw-p-6",t),...e}));at.displayName="CardWidgetHeader";var it=u__namespace.forwardRef(({className:t,...e},o)=>jsxRuntime.jsx("h3",{ref:o,className:r("dsw-text-2xl dsw-font-semibold dsw-leading-none dsw-tracking-tight",t),...e}));it.displayName="CardWidgetTitle";var nt=u__namespace.forwardRef(({className:t,...e},o)=>jsxRuntime.jsx("p",{ref:o,className:r("dsw-text-sm dsw-text-muted-foreground",t),...e}));nt.displayName="CardWidgetDescription";var st=u__namespace.forwardRef(({className:t,...e},o)=>jsxRuntime.jsx("div",{ref:o,className:r("dsw-p-6 dsw-pt-0",t),...e}));st.displayName="CardWidgetContent";var dt=u__namespace.forwardRef(({className:t,...e},o)=>jsxRuntime.jsx("div",{ref:o,className:r("dsw-flex dsw-items-center dsw-p-6 dsw-pt-0",t),...e}));dt.displayName="CardWidgetFooter";var lt=u__namespace.createContext(null);function ee(){let t=u__namespace.useContext(lt);if(!t)throw new Error("useCarousel must be used within a <Carousel />");return t}var ct=u__namespace.forwardRef(({orientation:t="horizontal",opts:e,setApi:o,plugins:a,className:n,children:i,...l},c)=>{let[w,d]=Jt__default.default({...e,axis:t==="horizontal"?"x":"y"},a),[v,y]=u__namespace.useState(false),[C,M]=u__namespace.useState(false),f=u__namespace.useCallback(g=>{g&&(y(g.canScrollPrev()),M(g.canScrollNext()));},[]),N=u__namespace.useCallback(()=>{d?.scrollPrev();},[d]),R=u__namespace.useCallback(()=>{d?.scrollNext();},[d]),m=u__namespace.useCallback(g=>{g.key==="ArrowLeft"?(g.preventDefault(),N()):g.key==="ArrowRight"&&(g.preventDefault(),R());},[N,R]);return u__namespace.useEffect(()=>{if(d)return o?.(d),f(d),d.on("select",f),d.on("reInit",f),()=>{d.off("select",f),d.off("reInit",f);}},[d,f,o]),jsxRuntime.jsx(lt.Provider,{value:{carouselRef:w,api:d,opts:e,orientation:t||(e?.axis==="y"?"vertical":"horizontal"),scrollPrev:N,scrollNext:R,canScrollPrev:v,canScrollNext:C},children:jsxRuntime.jsx("div",{ref:c,onKeyDownCapture:m,className:r("dsw-relative",n),role:"region","aria-roledescription":"carousel",...l,children:i})})});ct.displayName="CarouselWidget";var mt=u__namespace.forwardRef(({className:t,...e},o)=>{let{carouselRef:a,orientation:n}=ee();return jsxRuntime.jsx("div",{ref:a,className:"dsw-overflow-hidden",children:jsxRuntime.jsx("div",{ref:o,className:r("dsw-flex",n==="horizontal"?"dsw--ml-4":"dsw--mt-4 dsw-flex-col",t),...e})})});mt.displayName="CarouselWidgetContent";var pt=u__namespace.forwardRef(({className:t,...e},o)=>{let{orientation:a}=ee();return jsxRuntime.jsx("div",{ref:o,role:"group","aria-roledescription":"slide",className:r("dsw-min-w-0 dsw-shrink-0 dsw-grow-0 dsw-basis-full",a==="horizontal"?"dsw-pl-4":"dsw-pt-4",t),...e})});pt.displayName="CarouselWidgetItem";var ut=u__namespace.forwardRef(({className:t,variant:e="outline",size:o="icon",...a},n)=>{let{orientation:i,scrollPrev:l,canScrollPrev:c}=ee();return jsxRuntime.jsxs(X,{ref:n,variant:e,size:o,className:r("dsw-absolute dsw-h-8 dsw-w-8 dsw-rounded-full",i==="horizontal"?"dsw--left-12 dsw-top-1/2 dsw--translate-y-1/2":"dsw--top-12 dsw-left-1/2 dsw--translate-x-1/2 dsw-rotate-90",t),disabled:!c,onClick:l,...a,children:[jsxRuntime.jsx(lucideReact.ArrowLeft,{className:"dsw-h-4 dsw-w-4"}),jsxRuntime.jsx("span",{className:"dsw-sr-only",children:"Previous slide"})]})});ut.displayName="CarouselWidgetPrevious";var gt=u__namespace.forwardRef(({className:t,variant:e="outline",size:o="icon",...a},n)=>{let{orientation:i,scrollNext:l,canScrollNext:c}=ee();return jsxRuntime.jsxs(X,{ref:n,variant:e,size:o,className:r("dsw-absolute dsw-h-8 dsw-w-8 dsw-rounded-full",i==="horizontal"?"dsw--right-12 dsw-top-1/2 dsw--translate-y-1/2":"dsw--bottom-12 dsw-left-1/2 dsw--translate-x-1/2 dsw-rotate-90",t),disabled:!c,onClick:l,...a,children:[jsxRuntime.jsx(lucideReact.ArrowRight,{className:"dsw-h-4 dsw-w-4"}),jsxRuntime.jsx("span",{className:"dsw-sr-only",children:"Next slide"})]})});gt.displayName="CarouselWidgetNext";var eo=({children:t,className:e=""})=>{let[o,a]=u__namespace.useState(false);return u__namespace.useEffect(()=>{if(o)return;if(document.getElementById("widget-styles")){a(true);return}let i=document.createElement("style");return i.id="widget-styles",i.textContent=`
/* CSS Variables for widget- prefixed components */
.widget-scope {
--widget-background: 0 0% 100%;
--widget-foreground: 222.2 84% 4.9%;
--widget-card: 0 0% 100%;
--widget-card-foreground: 222.2 84% 4.9%;
--widget-popover: 0 0% 100%;
--widget-popover-foreground: 222.2 84% 4.9%;
--widget-primary: 222.2 47.4% 11.2%;
--widget-primary-foreground: 210 40% 98%;
--widget-secondary: 210 40% 96%;
--widget-secondary-foreground: 222.2 84% 4.9%;
--widget-muted: 210 40% 96%;
--widget-muted-foreground: 215.4 16.3% 46.9%;
--widget-accent: 210 40% 96%;
--widget-accent-foreground: 222.2 84% 4.9%;
--widget-destructive: 0 84.2% 60.2%;
--widget-destructive-foreground: 210 40% 98%;
--widget-border: 214.3 31.8% 91.4%;
--widget-input: 214.3 31.8% 91.4%;
--widget-ring: 222.2 84% 4.9%;
--widget-radius: 0.5rem;
}
/* Dark mode support */
@media (prefers-color-scheme: dark) {
.widget-scope {
--widget-background: 222.2 84% 4.9%;
--widget-foreground: 210 40% 98%;
--widget-card: 222.2 84% 4.9%;
--widget-card-foreground: 210 40% 98%;
--widget-popover: 222.2 84% 4.9%;
--widget-popover-foreground: 210 40% 98%;
--widget-primary: 210 40% 98%;
--widget-primary-foreground: 222.2 47.4% 11.2%;
--widget-secondary: 217.2 32.6% 17.5%;
--widget-secondary-foreground: 210 40% 98%;
--widget-muted: 217.2 32.6% 17.5%;
--widget-muted-foreground: 215 20.2% 65.1%;
--widget-accent: 217.2 32.6% 17.5%;
--widget-accent-foreground: 210 40% 98%;
--widget-destructive: 0 62.8% 30.6%;
--widget-destructive-foreground: 210 40% 98%;
--widget-border: 217.2 32.6% 17.5%;
--widget-input: 217.2 32.6% 17.5%;
--widget-ring: 212.7 26.8% 83.9%;
}
}
/* Layout utilities */
.widget-inline-flex { display: inline-flex; }
.widget-flex { display: flex; }
.widget-flex-col { flex-direction: column; }
.widget-items-center { align-items: center; }
.widget-justify-center { justify-content: center; }
.widget-space-y-1\\.5 > * + * { margin-top: 0.375rem; }
.widget-space-y-2 > * + * { margin-top: 0.5rem; }
.widget-space-y-4 > * + * { margin-top: 1rem; }
.widget-whitespace-nowrap { white-space: nowrap; }
.widget-relative { position: relative; }
.widget-absolute { position: absolute; }
.widget-overflow-hidden { overflow: hidden; }
.widget-min-w-0 { min-width: 0px; }
.widget-shrink-0 { flex-shrink: 0; }
.widget-grow-0 { flex-grow: 0; }
.widget-basis-full { flex-basis: 100%; }
.widget-max-w-md { max-width: 28rem; }
.widget-mx-auto { margin-left: auto; margin-right: auto; }
.widget-w-full { width: 100%; }
.widget-h-8 { height: 2rem; }
.widget-h-10 { height: 2.5rem; }
.widget-w-8 { width: 2rem; }
.widget-w-10 { width: 2.5rem; }
/* Spacing utilities */
.widget-p-1 { padding: 0.25rem; }
.widget-p-2 { padding: 0.5rem; }
.widget-p-4 { padding: 1rem; }
.widget-p-6 { padding: 1.5rem; }
.widget-px-4 { padding-left: 1rem; padding-right: 1rem; }
.widget-py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.widget-pt-0 { padding-top: 0px; }
.widget-pl-4 { padding-left: 1rem; }
.widget--ml-4 { margin-left: -1rem; }
.widget--left-12 { left: -3rem; }
.widget--right-12 { right: -3rem; }
.widget-top-1\\/2 { top: 50%; }
.widget--translate-y-1\\/2 { transform: translateY(-50%); }
/* Typography utilities */
.widget-text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.widget-text-2xl { font-size: 1.5rem; line-height: 2rem; }
.widget-font-medium { font-weight: 500; }
.widget-font-semibold { font-weight: 600; }
.widget-leading-none { line-height: 1; }
.widget-tracking-tight { letter-spacing: -0.025em; }
/* Border utilities */
.widget-border { border-width: 1px; }
.widget-rounded-lg { border-radius: 0.5rem; }
.widget-rounded-full { border-radius: 9999px; }
/* Background utilities */
.widget-bg-background { background-color: hsl(var(--widget-background)); }
.widget-bg-card { background-color: hsl(var(--widget-card)); }
.widget-bg-secondary { background-color: hsl(var(--widget-secondary)); }
.widget-bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.widget-from-\\[\\#f36744\\] { --tw-gradient-from: #f36744; --tw-gradient-to: rgb(243 103 68 / 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.widget-to-\\[\\#8e57fb\\] { --tw-gradient-to: #8e57fb; }
/* Text color utilities */
.widget-text-card-foreground { color: hsl(var(--widget-card-foreground)); }
.widget-text-secondary-foreground { color: hsl(var(--widget-secondary-foreground)); }
.widget-text-muted-foreground { color: hsl(var(--widget-muted-foreground)); }
.widget-text-white { color: rgb(255 255 255); }
/* Border color utilities */
.widget-border-input { border-color: hsl(var(--widget-input)); }
/* Shadow utilities */
.widget-shadow-sm { box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }
/* Interactive utilities */
.widget-cursor-pointer { cursor: pointer; }
.widget-transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.widget-ring-offset-background { --tw-ring-offset-color: hsl(var(--widget-background)); }
.widget-focus-visible\\:widget-outline-none:focus-visible { outline: 2px solid transparent; outline-offset: 2px; }
.widget-focus-visible\\:widget-ring-2:focus-visible { --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color); box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); }
.widget-focus-visible\\:widget-ring-ring:focus-visible { --tw-ring-color: hsl(var(--widget-ring)); }
.widget-focus-visible\\:widget-ring-offset-2:focus-visible { --tw-ring-offset-width: 2px; }
.widget-disabled\\:widget-pointer-events-none:disabled { pointer-events: none; }
.widget-disabled\\:widget-opacity-50:disabled { opacity: 0.5; }
/* Hover utilities */
.hover\\:widget-bg-accent:hover { background-color: hsl(var(--widget-accent)); }
.hover\\:widget-text-accent-foreground:hover { color: hsl(var(--widget-accent-foreground)); }
.hover\\:widget-bg-secondary\\/80:hover { background-color: hsl(var(--widget-secondary) / 0.8); }
.hover\\:widget-from-\\[\\#e55a3a\\]:hover { --tw-gradient-from: #e55a3a; --tw-gradient-to: rgb(229 90 58 / 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.hover\\:widget-to-\\[\\#7c4dd8\\]:hover { --tw-gradient-to: #7c4dd8; }
/* Transform utilities */
.widget-rotate-90 { transform: rotate(90deg); }
/* Accessibility */
.widget-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
`,document.head.appendChild(i),a(true),()=>{i.parentNode&&i.parentNode.removeChild(i);}},[o]),jsxRuntime.jsx("div",{className:`widget-scope ${e}`,children:t})},to=eo;exports.Blockquote=Ge;exports.Button=Y;exports.ButtonWidget=X;exports.Card=Re;exports.CardContent=Ne;exports.CardDescription=Me;exports.CardFooter=He;exports.CardHeader=ye;exports.CardTitle=Ce;exports.CardWidget=rt;exports.CardWidgetContent=st;exports.CardWidgetDescription=nt;exports.CardWidgetFooter=dt;exports.CardWidgetHeader=at;exports.CardWidgetTitle=it;exports.CarouselWidget=ct;exports.CarouselWidgetContent=mt;exports.CarouselWidgetItem=pt;exports.CarouselWidgetNext=gt;exports.CarouselWidgetPrevious=ut;exports.DecidrBody=Je;exports.DecidrHeader=Xe;exports.Dialog=Mt;exports.DialogClose=Ht;exports.DialogContent=Pe;exports.DialogDescription=ke;exports.DialogFooter=Le;exports.DialogHeader=De;exports.DialogOverlay=ae;exports.DialogPortal=Te;exports.DialogTitle=Ee;exports.DialogTrigger=Nt;exports.Heading1=Ae;exports.Heading2=Ve;exports.Heading3=ze;exports.Heading4=Be;exports.HoverCard=Tt;exports.HoverCardContent=We;exports.HoverCardTrigger=Pt;exports.InlineCode=Oe;exports.Input=z;exports.InputField=pe;exports.InputWithIcon=ge;exports.Large=Ue;exports.Lead=$e;exports.List=Ze;exports.Logo=be;exports.LogoIcon=he;exports.Muted=Ke;exports.Paragraph=Fe;exports.Small=qe;exports.TextareaWithIcon=we;exports.ThemeProvider=St;exports.ThemeToggle=Qt;exports.Typography=Ie;exports.WidgetScope=to;exports.buttonVariants=ce;exports.buttonWidgetVariants=ot;//# sourceMappingURL=index.js.map
//# sourceMappingURL=index.js.map