@sudobility/components 4.0.4 → 4.0.9

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/index.esm.js CHANGED
@@ -500,7 +500,7 @@ const xn = ({
500
500
  "gradient-primary": "bg-gradient-to-br from-blue-50 to-indigo-100 dark:from-blue-900/50 dark:to-indigo-900/50",
501
501
  "gradient-secondary": "bg-gradient-to-br from-green-50 to-blue-100 dark:from-green-900/50 dark:to-blue-900/50",
502
502
  "gradient-tertiary": "bg-gradient-to-r from-emerald-50 to-teal-50 dark:from-gray-800 dark:to-gray-900",
503
- "gradient-vibrant": "bg-gradient-to-br from-blue-600 to-purple-600 dark:from-blue-700 dark:to-purple-700"
503
+ "gradient-vibrant": "bg-gradient-to-br from-blue-800 to-purple-800 dark:from-blue-900 dark:to-purple-900"
504
504
  }
505
505
  },
506
506
  defaultVariants: {
package/dist/index.umd.js CHANGED
@@ -1,4 +1,4 @@
1
- (function(g,Oe){typeof exports=="object"&&typeof module<"u"?Oe(exports,require("clsx"),require("tailwind-merge"),require("react/jsx-runtime"),require("react"),require("class-variance-authority"),require("react-dom"),require("@heroicons/react/24/outline"),require("@heroicons/react/24/solid"),require("@radix-ui/react-switch"),require("@radix-ui/react-select"),require("lucide-react"),require("@radix-ui/react-label"),require("@radix-ui/react-slot"),require("react-router-dom"),require("@radix-ui/react-tabs"),require("react-i18next"),require("react-helmet-async"),require("web-vitals")):typeof define=="function"&&define.amd?define(["exports","clsx","tailwind-merge","react/jsx-runtime","react","class-variance-authority","react-dom","@heroicons/react/24/outline","@heroicons/react/24/solid","@radix-ui/react-switch","@radix-ui/react-select","lucide-react","@radix-ui/react-label","@radix-ui/react-slot","react-router-dom","@radix-ui/react-tabs","react-i18next","react-helmet-async","web-vitals"],Oe):(g=typeof globalThis<"u"?globalThis:g||self,Oe(g.MailBoxComponents={},g.clsx,g.tailwindMerge,g.ReactJSXRuntime,g.React,g.cva,g.ReactDOM,g.HeroiconsOutline,g.HeroiconsSolid,g.RadixSwitch,g.RadixSelect,g.LucideReact,g.RadixLabel,g.RadixSlot,g.ReactRouterDOM,g.RadixTabs,g.ReactI18next,g.ReactHelmetAsync,g.WebVitals))})(this,(function(g,Oe,sn,t,k,Z,ot,P,ge,dr,ln,Ze,st,cn,ur,he,it,dn,Ue){"use strict";function lt(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const n=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(r,a,n.get?n:{enumerable:!0,get:()=>e[a]})}}return r.default=e,Object.freeze(r)}const G=lt(k),q=lt(ln);function b(...e){return sn.twMerge(Oe.clsx(e))}const ct=({children:e,as:r="div",p:a,px:n,py:o,m:s,mx:i,my:l,bg:d,border:c=!1,rounded:u,shadow:h,w:p,h:m,className:f})=>{const y={none:"0",xs:"1",sm:"2",md:"4",lg:"6",xl:"8","2xl":"12",auto:"auto"},v=d?{transparent:"bg-transparent",white:"bg-white dark:bg-gray-900",gray:"bg-gray-100 dark:bg-gray-800",primary:"bg-blue-50 dark:bg-blue-900/20",success:"bg-green-50 dark:bg-green-900/20",warning:"bg-yellow-50 dark:bg-yellow-900/20",danger:"bg-red-50 dark:bg-red-900/20"}[d]:"",A=u?{none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl",full:"rounded-full"}[u]:"",N=h?{none:"shadow-none",sm:"shadow-sm",md:"shadow-md",lg:"shadow-lg",xl:"shadow-xl"}[h]:"",E=p?{auto:"w-auto",full:"w-full",screen:"w-screen",min:"w-min",max:"w-max"}[p]:"",x=m?{auto:"h-auto",full:"h-full",screen:"h-screen",min:"h-min",max:"h-max"}[m]:"",C=[];a&&C.push("p-"+y[a]),n&&C.push("px-"+y[n]),o&&C.push("py-"+y[o]);const I=[];return s&&I.push("m-"+y[s]),i&&I.push("mx-"+y[i]),l&&I.push("my-"+y[l]),t.jsx(r,{className:b(...C,...I,v,c&&"border border-gray-200 dark:border-gray-700",A,N,E,x,f),children:e})},un=({direction:e="row",align:r,justify:a,wrap:n="nowrap",gap:o,inline:s=!1,className:i,...l})=>{const d={row:"flex-row","row-reverse":"flex-row-reverse",col:"flex-col","col-reverse":"flex-col-reverse"},c=r?{start:"items-start",center:"items-center",end:"items-end",stretch:"items-stretch",baseline:"items-baseline"}[r]:"",u=a?{start:"justify-start",center:"justify-center",end:"justify-end",between:"justify-between",around:"justify-around",evenly:"justify-evenly"}[a]:"",h={nowrap:"flex-nowrap",wrap:"flex-wrap","wrap-reverse":"flex-wrap-reverse"},p=o?{none:"gap-0",xs:"gap-1",sm:"gap-2",md:"gap-4",lg:"gap-6",xl:"gap-8","2xl":"gap-12"}[o]:"";return t.jsx(ct,{...l,className:b(s?"inline-flex":"flex",d[e],c,u,h[n],p,i)})},gn={row:"flex-row","row-reverse":"flex-row-reverse",col:"flex-col","col-reverse":"flex-col-reverse"},hn={start:"items-start",center:"items-center",end:"items-end",stretch:"items-stretch",baseline:"items-baseline"},bn={start:"justify-start",center:"justify-center",end:"justify-end",between:"justify-between",around:"justify-around",evenly:"justify-evenly"},fn={wrap:"flex-wrap","wrap-reverse":"flex-wrap-reverse",nowrap:"flex-nowrap"},mn={0:"gap-0",1:"gap-1",2:"gap-2",3:"gap-3",4:"gap-4",5:"gap-5",6:"gap-6",8:"gap-8",10:"gap-10",12:"gap-12"},yn=({children:e,direction:r="row",align:a="start",justify:n="start",wrap:o="nowrap",gap:s="0",className:i})=>t.jsx("div",{className:b("flex",gn[r],hn[a],bn[n],fn[o],mn[s],i),children:e}),pn=({children:e,size:r="xl",center:a=!0,padding:n="md",className:o})=>{const s={sm:"max-w-screen-sm",md:"max-w-screen-md",lg:"max-w-screen-lg",xl:"max-w-screen-xl","2xl":"max-w-screen-2xl",full:"max-w-full"},i={none:"",sm:"px-4 py-2",md:"px-6 py-4",lg:"px-8 py-6"};return t.jsx("div",{className:b("w-full",s[r],a&&"mx-auto",i[n],o),children:e})},vn=({children:e,cols:r=1,gap:a="md",autoFit:n,autoFill:o,alignItems:s="stretch",justifyItems:i="stretch",className:l})=>{const d={none:"gap-0",xs:"gap-1",sm:"gap-2",md:"gap-4",lg:"gap-6",xl:"gap-8","2xl":"gap-12"},c={start:"items-start",center:"items-center",end:"items-end",stretch:"items-stretch"},u={start:"justify-items-start",center:"justify-items-center",end:"justify-items-end",stretch:"justify-items-stretch"},h=()=>{if(n||o)return"";if(typeof r=="number")return{1:"grid-cols-1",2:"grid-cols-2",3:"grid-cols-3",4:"grid-cols-4",5:"grid-cols-5",6:"grid-cols-6",7:"grid-cols-7",8:"grid-cols-8",9:"grid-cols-9",10:"grid-cols-10",11:"grid-cols-11",12:"grid-cols-12"}[r]||"grid-cols-1";const m=[];return r.sm&&m.push("grid-cols-"+r.sm),r.md&&m.push("md:grid-cols-"+r.md),r.lg&&m.push("lg:grid-cols-"+r.lg),r.xl&&m.push("xl:grid-cols-"+r.xl),m.join(" ")};let p;return n?p="repeat(auto-fit, minmax("+n+", 1fr))":o&&(p="repeat(auto-fill, minmax("+o+", 1fr))"),t.jsx("div",{className:b("grid",h(),d[a],c[s],u[i],l),style:p?{gridTemplateColumns:p}:void 0,children:e})},gr=({children:e,direction:r="vertical",spacing:a="md",align:n="stretch",justify:o="start",wrap:s=!1,full:i=!1,divider:l=!1,className:d})=>{const c=r==="vertical",u={vertical:{none:"",xs:"space-y-1",sm:"space-y-2",md:"space-y-4",lg:"space-y-6",xl:"space-y-8","2xl":"space-y-12"},horizontal:{none:"",xs:"space-x-1",sm:"space-x-2",md:"space-x-4",lg:"space-x-6",xl:"space-x-8","2xl":"space-x-12"}},h={vertical:{none:"",xs:"gap-1",sm:"gap-2",md:"gap-4",lg:"gap-6",xl:"gap-8","2xl":"gap-12"},horizontal:{none:"",xs:"gap-1",sm:"gap-2",md:"gap-4",lg:"gap-6",xl:"gap-8","2xl":"gap-12"}},p={start:"items-start",center:"items-center",end:"items-end",stretch:"items-stretch",baseline:"items-baseline"},m={start:"justify-start",center:"justify-center",end:"justify-end",between:"justify-between",around:"justify-around",evenly:"justify-evenly"};return t.jsx("div",{className:b("flex",c?"flex-col":"flex-row",l?h[r][a]:u[r][a],p[n],m[o],s&&"flex-wrap",i&&(c?"h-full":"w-full"),d),children:l?k.Children.map(e,(f,y)=>t.jsxs(k.Fragment,{children:[f,y<k.Children.count(e)-1&&t.jsx("div",{className:b("bg-gray-200 dark:bg-gray-700",c?"h-px w-full":"w-px h-full")})]},y)):e})},kn=e=>t.jsx(gr,{direction:"vertical",...e}),wn=e=>t.jsx(gr,{direction:"horizontal",...e}),xn=({children:e,axis:r="both",inline:a=!1,className:n})=>{const o=()=>{switch(r){case"horizontal":return"justify-center";case"vertical":return"items-center";case"both":default:return"justify-center items-center"}};return t.jsx("div",{className:b(a?"inline-flex":"flex",o(),n),children:e})},Nn=({size:e="md",axis:r="vertical",flex:a=!1,className:n})=>{const o={vertical:{xs:"h-1",sm:"h-2",md:"h-4",lg:"h-6",xl:"h-8","2xl":"h-12"},horizontal:{xs:"w-1",sm:"w-2",md:"w-4",lg:"w-6",xl:"w-8","2xl":"w-12"}},s=typeof e=="number"?r==="vertical"?{height:`${e}px`}:{width:`${e}px`}:void 0,i=typeof e=="string"?o[r][e]:"";return t.jsx("div",{className:b(a&&"flex-1",!a&&i,n),style:s,"aria-hidden":"true"})},Cn=Z.cva("",{variants:{variant:{default:"",hero:"relative overflow-hidden",feature:"bg-white dark:bg-gray-800",cta:"relative overflow-hidden",testimonial:"bg-gray-50 dark:bg-gray-900",footer:"bg-white dark:bg-gray-800 border-gray-200 dark:border-gray-700 border-t"},spacing:{none:"",xs:"py-2",sm:"py-3",md:"py-4",lg:"py-6",xl:"py-8","2xl":"py-12","3xl":"py-16","4xl":"py-20","5xl":"py-24"},background:{none:"bg-transparent",default:"bg-gray-50 dark:bg-gray-900",surface:"bg-white dark:bg-gray-800",gradient:"bg-gradient-to-br from-gray-50 via-blue-50 to-purple-50 dark:from-gray-900 dark:via-blue-900/50 dark:to-purple-900/50","gradient-primary":"bg-gradient-to-br from-blue-50 to-indigo-100 dark:from-blue-900/50 dark:to-indigo-900/50","gradient-secondary":"bg-gradient-to-br from-green-50 to-blue-100 dark:from-green-900/50 dark:to-blue-900/50","gradient-tertiary":"bg-gradient-to-r from-emerald-50 to-teal-50 dark:from-gray-800 dark:to-gray-900","gradient-vibrant":"bg-gradient-to-br from-blue-600 to-purple-600 dark:from-blue-700 dark:to-purple-700"}},defaultVariants:{variant:"default",spacing:"3xl",background:"none"}}),Sn=({children:e,variant:r="default",spacing:a="3xl",background:n="none",className:o,as:s="section",id:i})=>k.createElement(s,{id:i,className:b(Cn({variant:r,spacing:a,background:n}),o)},e),En=Z.cva("min-h-screen flex flex-col",{variants:{background:{default:"bg-gray-50 dark:bg-gray-900",surface:"bg-white dark:bg-gray-800",transparent:"bg-transparent",gradient:"bg-gradient-to-br from-gray-50 via-blue-50 to-purple-50 dark:from-gray-900 dark:via-blue-900/20 dark:to-purple-900/20"},overflow:{visible:"overflow-visible",hidden:"overflow-hidden",scroll:"overflow-auto"}},defaultVariants:{background:"default",overflow:"visible"}}),An=({children:e,background:r="default",overflow:a="visible",className:n})=>t.jsx("div",{className:b(En({background:r,overflow:a}),n),children:e}),Tn=({children:e,ratio:r="16/9",className:a})=>{const s=`${1/(typeof r=="string"?{"16/9":1.7777777777777777,"4/3":1.3333333333333333,"1/1":1,"21/9":2.3333333333333335,"3/2":1.5}[r]:r)*100}%`;return t.jsx("div",{className:b("relative w-full",a),style:{paddingBottom:s},children:t.jsx("div",{className:"absolute inset-0",children:e})})},T={typography:{family:{sans:"font-sans",display:"font-sans",body:"font-sans"},semantic:{caption:"text-xs",small:"text-sm",body:"text-base",bodyLarge:"text-lg",h6:"text-base",h5:"text-lg",h4:"text-xl",h3:"text-2xl",h2:"text-3xl",h1:"text-4xl",hero:"text-8xl"},weight:{semibold:"font-semibold",bold:"font-bold",body:"font-normal",emphasis:"font-medium",strong:"font-semibold",heading:"font-bold",display:"font-extrabold"},decoration:{none:"no-underline",underline:"underline"},underlineOffset:{medium:"underline-offset-2"},leading:{tight:"leading-tight",heading:"leading-tight",body:"leading-relaxed",caption:"leading-normal",display:"leading-none"},tracking:{heading:"tracking-tight",body:"tracking-normal",caption:"tracking-normal",uppercase:"tracking-wider"},transform:{uppercase:"uppercase"}}},O={heading:{display:{hero:()=>`${T.typography.family.display} ${T.typography.semantic.hero} ${T.typography.weight.display} ${T.typography.leading.display} ${T.typography.tracking.heading} text-gray-900 dark:text-white`,xl:()=>`${T.typography.family.display} text-7xl ${T.typography.weight.display} ${T.typography.leading.display} ${T.typography.tracking.heading} text-gray-900 dark:text-white`,lg:()=>`${T.typography.family.display} text-6xl ${T.typography.weight.bold} ${T.typography.leading.display} ${T.typography.tracking.heading} text-gray-900 dark:text-white`,md:()=>`${T.typography.family.display} text-5xl ${T.typography.weight.bold} ${T.typography.leading.tight} ${T.typography.tracking.heading} text-gray-900 dark:text-white`,sm:()=>`${T.typography.family.display} text-4xl ${T.typography.weight.bold} ${T.typography.leading.tight} ${T.typography.tracking.heading} text-gray-900 dark:text-white`},h1:()=>`${T.typography.family.sans} ${T.typography.semantic.h1} ${T.typography.weight.heading} ${T.typography.leading.heading} ${T.typography.tracking.heading} text-gray-900 dark:text-white`,h2:()=>`${T.typography.family.sans} ${T.typography.semantic.h2} ${T.typography.weight.heading} ${T.typography.leading.heading} ${T.typography.tracking.heading} text-gray-900 dark:text-white`,h3:()=>`${T.typography.family.sans} ${T.typography.semantic.h3} ${T.typography.weight.heading} ${T.typography.leading.heading} ${T.typography.tracking.heading} text-gray-900 dark:text-white`,h4:()=>`${T.typography.family.sans} ${T.typography.semantic.h4} ${T.typography.weight.semibold} ${T.typography.leading.heading} ${T.typography.tracking.heading} text-gray-900 dark:text-white`,h5:()=>`${T.typography.family.sans} ${T.typography.semantic.h5} ${T.typography.weight.semibold} ${T.typography.leading.heading} ${T.typography.tracking.heading} text-gray-900 dark:text-white`,h6:()=>`${T.typography.family.sans} ${T.typography.semantic.h6} ${T.typography.weight.semibold} ${T.typography.leading.heading} ${T.typography.tracking.heading} text-gray-900 dark:text-white`,responsive:{h1:()=>`${T.typography.family.sans} text-2xl sm:text-3xl md:text-4xl lg:text-5xl ${T.typography.weight.heading} ${T.typography.leading.heading} ${T.typography.tracking.heading} text-gray-900 dark:text-white`,h2:()=>`${T.typography.family.sans} text-xl sm:text-2xl md:text-3xl lg:text-4xl ${T.typography.weight.heading} ${T.typography.leading.heading} ${T.typography.tracking.heading} text-gray-900 dark:text-white`,h3:()=>`${T.typography.family.sans} text-lg sm:text-xl md:text-2xl lg:text-3xl ${T.typography.weight.semibold} ${T.typography.leading.heading} ${T.typography.tracking.heading} text-gray-900 dark:text-white`,display:()=>`${T.typography.family.display} text-4xl sm:text-5xl md:text-6xl lg:text-7xl xl:text-8xl ${T.typography.weight.display} ${T.typography.leading.display} ${T.typography.tracking.heading} text-gray-900 dark:text-white`}},body:{xl:()=>`${T.typography.family.body} ${T.typography.semantic.bodyLarge} ${T.typography.weight.body} ${T.typography.leading.body} ${T.typography.tracking.body} text-gray-700 dark:text-gray-300`,lg:()=>`${T.typography.family.body} ${T.typography.semantic.body} ${T.typography.weight.body} ${T.typography.leading.body} ${T.typography.tracking.body} text-gray-700 dark:text-gray-300`,md:()=>`${T.typography.family.body} ${T.typography.semantic.body} ${T.typography.weight.body} ${T.typography.leading.body} ${T.typography.tracking.body} text-gray-700 dark:text-gray-300`,sm:()=>`${T.typography.family.body} ${T.typography.semantic.small} ${T.typography.weight.body} ${T.typography.leading.body} ${T.typography.tracking.body} text-gray-600 dark:text-gray-400`,xs:()=>`${T.typography.family.body} ${T.typography.semantic.caption} ${T.typography.weight.body} ${T.typography.leading.body} ${T.typography.tracking.body} text-gray-600 dark:text-gray-400`,strong:{xl:()=>`${T.typography.family.body} ${T.typography.semantic.bodyLarge} ${T.typography.weight.strong} ${T.typography.leading.body} ${T.typography.tracking.body} text-gray-900 dark:text-white`,lg:()=>`${T.typography.family.body} ${T.typography.semantic.body} ${T.typography.weight.strong} ${T.typography.leading.body} ${T.typography.tracking.body} text-gray-900 dark:text-white`,md:()=>`${T.typography.family.body} ${T.typography.semantic.body} ${T.typography.weight.strong} ${T.typography.leading.body} ${T.typography.tracking.body} text-gray-900 dark:text-white`,sm:()=>`${T.typography.family.body} ${T.typography.semantic.small} ${T.typography.weight.strong} ${T.typography.leading.body} ${T.typography.tracking.body} text-gray-900 dark:text-white`},emphasis:{xl:()=>`${T.typography.family.body} ${T.typography.semantic.bodyLarge} ${T.typography.weight.emphasis} ${T.typography.leading.body} ${T.typography.tracking.body} text-gray-900 dark:text-white`,lg:()=>`${T.typography.family.body} ${T.typography.semantic.body} ${T.typography.weight.emphasis} ${T.typography.leading.body} ${T.typography.tracking.body} text-gray-900 dark:text-white`,md:()=>`${T.typography.family.body} ${T.typography.semantic.body} ${T.typography.weight.emphasis} ${T.typography.leading.body} ${T.typography.tracking.body} text-gray-900 dark:text-white`,sm:()=>`${T.typography.family.body} ${T.typography.semantic.small} ${T.typography.weight.emphasis} ${T.typography.leading.body} ${T.typography.tracking.body} text-gray-900 dark:text-white`},muted:{xl:()=>`${T.typography.family.body} ${T.typography.semantic.bodyLarge} ${T.typography.weight.body} ${T.typography.leading.body} ${T.typography.tracking.body} text-gray-600 dark:text-gray-400`,lg:()=>`${T.typography.family.body} ${T.typography.semantic.body} ${T.typography.weight.body} ${T.typography.leading.body} ${T.typography.tracking.body} text-gray-600 dark:text-gray-400`,md:()=>`${T.typography.family.body} ${T.typography.semantic.body} ${T.typography.weight.body} ${T.typography.leading.body} ${T.typography.tracking.body} text-gray-600 dark:text-gray-400`,sm:()=>`${T.typography.family.body} ${T.typography.semantic.small} ${T.typography.weight.body} ${T.typography.leading.body} ${T.typography.tracking.body} text-gray-600 dark:text-gray-400`}},caption:{default:()=>`${T.typography.family.body} ${T.typography.semantic.caption} ${T.typography.weight.body} ${T.typography.leading.caption} ${T.typography.tracking.caption} text-gray-500 dark:text-gray-500`,emphasis:()=>`${T.typography.family.body} ${T.typography.semantic.caption} ${T.typography.weight.emphasis} ${T.typography.leading.caption} ${T.typography.tracking.caption} text-gray-600 dark:text-gray-400`,uppercase:()=>`${T.typography.family.body} ${T.typography.semantic.caption} ${T.typography.weight.emphasis} ${T.typography.leading.caption} ${T.typography.tracking.uppercase} ${T.typography.transform.uppercase} text-gray-500 dark:text-gray-500`},link:{default:()=>`${T.typography.decoration.underline} ${T.typography.underlineOffset.medium} text-blue-600 dark:text-blue-400 hover:text-blue-700 dark:hover:text-blue-300 transition-colors duration-150`,subtle:()=>`${T.typography.decoration.none} text-blue-600 dark:text-blue-400 hover:text-blue-700 dark:hover:text-blue-300 hover:${T.typography.decoration.underline} hover:${T.typography.underlineOffset.medium} transition-all duration-150`,muted:()=>`${T.typography.decoration.underline} ${T.typography.underlineOffset.medium} text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-100 transition-colors duration-150`,external:()=>`${T.typography.decoration.underline} ${T.typography.underlineOffset.medium} text-blue-600 dark:text-blue-400 hover:text-blue-700 dark:hover:text-blue-300 transition-colors duration-150 inline-flex items-center gap-1`},label:{default:()=>`${T.typography.family.body} text-sm ${T.typography.weight.emphasis} text-gray-900 dark:text-white`,required:()=>`${T.typography.family.body} text-sm ${T.typography.weight.emphasis} text-gray-900 dark:text-white after:content-['*'] after:ml-0.5 after:text-red-500`,optional:()=>`${T.typography.family.body} text-sm ${T.typography.weight.body} text-gray-600 dark:text-gray-400`,helper:()=>`${T.typography.family.body} text-sm ${T.typography.weight.body} text-gray-500 dark:text-gray-500`,error:()=>`${T.typography.family.body} text-sm ${T.typography.weight.body} text-red-600 dark:text-red-400`,success:()=>`${T.typography.family.body} text-sm ${T.typography.weight.body} text-green-600 dark:text-green-400`}},_={button:{primary:{default:()=>"bg-blue-600 text-white hover:bg-blue-700 active:bg-blue-800 border-transparent focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed dark:bg-blue-600 dark:hover:bg-blue-700 dark:active:bg-blue-800 dark:text-white dark:focus-visible:ring-blue-400 inline-flex items-center justify-center rounded-md px-4 py-2 text-sm font-medium transition-colors duration-200",small:()=>"bg-blue-600 text-white hover:bg-blue-700 active:bg-blue-800 border border-transparent focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed dark:bg-blue-600 dark:hover:bg-blue-700 dark:active:bg-blue-800 dark:text-white dark:focus-visible:ring-blue-400 inline-flex items-center justify-center rounded-md px-3 py-1.5 text-xs font-medium transition-colors duration-200 h-8",large:()=>"bg-blue-600 text-white hover:bg-blue-700 active:bg-blue-800 border-transparent focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed dark:bg-blue-600 dark:hover:bg-blue-700 dark:active:bg-blue-800 dark:text-white dark:focus-visible:ring-blue-400 inline-flex items-center justify-center rounded-md px-6 py-3 text-base font-medium transition-colors duration-200 h-12",withIcon:()=>"bg-blue-600 text-white hover:bg-blue-700 active:bg-blue-800 border-transparent focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed dark:bg-blue-600 dark:hover:bg-blue-700 dark:active:bg-blue-800 dark:text-white dark:focus-visible:ring-blue-400 inline-flex items-center justify-center gap-2 rounded-md px-4 py-2 text-sm font-medium transition-colors duration-200",fullWidth:()=>"bg-blue-600 text-white hover:bg-blue-700 active:bg-blue-800 border-transparent focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed dark:bg-blue-600 dark:hover:bg-blue-700 dark:active:bg-blue-800 dark:text-white dark:focus-visible:ring-blue-400 flex items-center justify-center w-full rounded-md px-4 py-2 text-sm font-medium transition-colors duration-200"},secondary:{default:()=>"bg-gray-100 text-gray-900 hover:bg-gray-200 active:bg-gray-300 border-transparent focus-visible:ring-2 focus-visible:ring-gray-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed dark:bg-gray-800 dark:text-gray-50 dark:hover:bg-gray-700 dark:active:bg-gray-600 inline-flex items-center justify-center rounded-md px-4 py-2 text-sm font-medium transition-colors duration-200",small:()=>"bg-gray-100 text-gray-900 hover:bg-gray-200 active:bg-gray-300 border-transparent focus-visible:ring-2 focus-visible:ring-gray-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed dark:bg-gray-800 dark:text-gray-50 dark:hover:bg-gray-700 dark:active:bg-gray-600 inline-flex items-center justify-center rounded-md px-3 py-1.5 text-xs font-medium transition-colors duration-200 h-8",large:()=>"bg-gray-100 text-gray-900 hover:bg-gray-200 active:bg-gray-300 border-transparent focus-visible:ring-2 focus-visible:ring-gray-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed dark:bg-gray-800 dark:text-gray-50 dark:hover:bg-gray-700 dark:active:bg-gray-600 inline-flex items-center justify-center rounded-md px-6 py-3 text-base font-medium transition-colors duration-200 h-12",withIcon:()=>"bg-gray-100 text-gray-900 hover:bg-gray-200 active:bg-gray-300 border-transparent focus-visible:ring-2 focus-visible:ring-gray-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed dark:bg-gray-800 dark:text-gray-50 dark:hover:bg-gray-700 dark:active:bg-gray-600 inline-flex items-center justify-center gap-2 rounded-md px-4 py-2 text-sm font-medium transition-colors duration-200"},outline:{default:()=>"bg-transparent hover:bg-gray-50 active:bg-gray-100 text-gray-900 border border-gray-300 focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed dark:bg-transparent dark:hover:bg-gray-800 dark:active:bg-gray-700 dark:text-gray-50 dark:border-gray-600 inline-flex items-center justify-center rounded-md px-4 py-2 text-sm font-medium transition-colors duration-200",small:()=>"bg-transparent hover:bg-gray-50 active:bg-gray-100 text-gray-900 border border-gray-300 focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed dark:bg-transparent dark:hover:bg-gray-800 dark:active:bg-gray-700 dark:text-gray-50 dark:border-gray-600 inline-flex items-center justify-center rounded-md px-3 py-1.5 text-xs font-medium transition-colors duration-200 h-8",large:()=>"bg-transparent hover:bg-gray-50 active:bg-gray-100 text-gray-900 border border-gray-300 focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed dark:bg-transparent dark:hover:bg-gray-800 dark:active:bg-gray-700 dark:text-gray-50 dark:border-gray-600 inline-flex items-center justify-center rounded-md px-6 py-3 text-base font-medium transition-colors duration-200 h-12",withIcon:()=>"bg-transparent hover:bg-gray-50 active:bg-gray-100 text-gray-900 border border-gray-300 focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed dark:bg-transparent dark:hover:bg-gray-800 dark:active:bg-gray-700 dark:text-gray-50 dark:border-gray-600 inline-flex items-center justify-center gap-2 rounded-md px-4 py-2 text-sm font-medium transition-colors duration-200"},destructive:{default:()=>"bg-red-600 text-white hover:bg-red-700 active:bg-red-800 border-transparent focus-visible:ring-2 focus-visible:ring-red-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed dark:bg-red-600 dark:hover:bg-red-700 dark:active:bg-red-800 dark:text-white inline-flex items-center justify-center rounded-md px-4 py-2 text-sm font-medium transition-colors duration-200",outline:()=>"bg-transparent hover:bg-red-50 active:bg-red-100 text-red-600 border border-red-300 focus-visible:ring-2 focus-visible:ring-red-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed dark:hover:bg-red-900/20 dark:text-red-400 dark:border-red-800 inline-flex items-center justify-center rounded-md px-4 py-2 text-sm font-medium transition-colors duration-200",small:()=>"bg-red-600 text-white hover:bg-red-700 active:bg-red-800 border-transparent focus-visible:ring-2 focus-visible:ring-red-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed dark:bg-red-600 dark:hover:bg-red-700 dark:active:bg-red-800 dark:text-white inline-flex items-center justify-center rounded-md px-3 py-1.5 text-xs font-medium transition-colors duration-200 h-8"},ghost:{default:()=>"bg-transparent hover:bg-gray-100 active:bg-gray-200 text-gray-700 border-transparent focus-visible:ring-2 focus-visible:ring-gray-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed dark:bg-transparent dark:hover:bg-gray-800 dark:active:bg-gray-700 dark:text-gray-300 inline-flex items-center justify-center rounded-md px-4 py-2 text-sm font-medium transition-colors duration-200",small:()=>"bg-transparent hover:bg-gray-100 active:bg-gray-200 text-gray-700 border-transparent focus-visible:ring-2 focus-visible:ring-gray-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed dark:bg-transparent dark:hover:bg-gray-800 dark:active:bg-gray-700 dark:text-gray-300 inline-flex items-center justify-center rounded-md px-2 py-1 text-xs font-medium transition-colors duration-200 h-8",icon:()=>"bg-transparent hover:bg-gray-100 active:bg-gray-200 text-gray-700 border-transparent focus-visible:ring-2 focus-visible:ring-gray-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed dark:bg-transparent dark:hover:bg-gray-800 dark:active:bg-gray-700 dark:text-gray-300 inline-flex items-center justify-center rounded-md p-2 transition-colors duration-200 h-10 w-10"},link:{default:()=>"bg-transparent hover:bg-transparent active:bg-transparent text-blue-600 border-transparent underline-offset-4 hover:underline focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed disabled:no-underline dark:text-blue-400 inline-flex items-center justify-center rounded-md px-0 py-0 text-sm font-medium transition-colors duration-200",muted:()=>"bg-transparent hover:bg-transparent active:bg-transparent text-gray-600 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300 border-transparent underline-offset-4 hover:underline focus-visible:ring-2 focus-visible:ring-gray-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed disabled:no-underline inline-flex items-center justify-center rounded-md px-0 py-0 text-sm font-medium transition-colors duration-200"},gradient:{primary:()=>"bg-gradient-to-r from-blue-600 to-purple-600 hover:from-blue-700 hover:to-purple-700 text-white border-transparent shadow-lg hover:shadow-xl focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed inline-flex items-center justify-center rounded-md px-4 py-2 text-sm font-medium transition-all duration-200",secondary:()=>"bg-gradient-to-r from-gray-100 to-gray-200 hover:from-gray-200 hover:to-gray-300 text-gray-900 border-transparent focus-visible:ring-2 focus-visible:ring-gray-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed inline-flex items-center justify-center rounded-md px-4 py-2 text-sm font-medium transition-all duration-200",success:()=>"bg-gradient-to-r from-green-500 to-emerald-600 hover:from-green-600 hover:to-emerald-700 text-white border-transparent shadow-lg hover:shadow-xl focus-visible:ring-2 focus-visible:ring-green-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed inline-flex items-center justify-center rounded-md px-4 py-2 text-sm font-medium transition-all duration-200"},web3:{wallet:()=>"bg-white dark:bg-gray-800 border border-gray-300 dark:border-gray-600 hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-900 dark:text-gray-100 focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed inline-flex items-center justify-center gap-2 rounded-md px-4 py-2 text-sm font-medium transition-colors duration-200",connect:()=>"bg-gradient-to-r from-blue-600 to-purple-600 hover:from-blue-700 hover:to-purple-700 text-white border-transparent shadow-lg hover:shadow-xl focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed inline-flex items-center justify-center gap-2 rounded-md px-4 py-2 text-sm font-medium transition-all duration-200",disconnect:()=>"bg-transparent hover:bg-red-50 active:bg-red-100 text-red-600 border border-red-300 focus-visible:ring-2 focus-visible:ring-red-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed dark:hover:bg-red-900/20 dark:text-red-400 dark:border-red-800 inline-flex items-center justify-center gap-2 rounded-md px-4 py-2 text-sm font-medium transition-colors duration-200"}},badge:{default:()=>"bg-gray-100 text-gray-800 dark:bg-gray-800 dark:text-gray-300 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium",primary:()=>"bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-300 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium",success:()=>"bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-300 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium",warning:()=>"bg-amber-100 text-amber-800 dark:bg-amber-900/30 dark:text-amber-300 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium",error:()=>"bg-red-100 text-red-800 dark:bg-red-900/30 dark:text-red-300 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium",ethereum:()=>"bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-300 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium",solana:()=>"bg-purple-100 text-purple-800 dark:bg-purple-900/30 dark:text-purple-300 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium",small:(e="default")=>{const r={default:"bg-gray-100 text-gray-800 dark:bg-gray-800 dark:text-gray-300",primary:"bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-300",success:"bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-300",warning:"bg-amber-100 text-amber-800 dark:bg-amber-900/30 dark:text-amber-300",error:"bg-red-100 text-red-800 dark:bg-red-900/30 dark:text-red-300"};return`${r[e]||r.default} inline-flex items-center px-2 py-0.5 rounded-full text-xs font-medium`},large:(e="default")=>{const r={default:"bg-gray-100 text-gray-800 dark:bg-gray-800 dark:text-gray-300",primary:"bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-300",success:"bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-300",warning:"bg-amber-100 text-amber-800 dark:bg-amber-900/30 dark:text-amber-300",error:"bg-red-100 text-red-800 dark:bg-red-900/30 dark:text-red-300"};return`${r[e]||r.default} inline-flex items-center px-3 py-1 rounded-full text-sm font-medium`}},input:{default:()=>"bg-gray-50 dark:bg-gray-800 border-gray-300 dark:border-gray-600 text-gray-900 dark:text-gray-100 focus:border-blue-500 focus:ring-blue-500 dark:focus:border-blue-400 dark:focus:ring-blue-400 block w-full rounded-md px-3 py-2 text-sm placeholder:text-gray-500 dark:placeholder:text-gray-400 transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2",search:()=>"bg-gray-50 dark:bg-gray-800 border-gray-300 dark:border-gray-600 text-gray-900 dark:text-gray-100 focus:border-blue-500 focus:ring-blue-500 dark:focus:border-blue-400 dark:focus:ring-blue-400 block w-full rounded-md px-3 py-2 text-sm placeholder:text-gray-500 dark:placeholder:text-gray-400 transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2",error:()=>"bg-gray-50 dark:bg-gray-800 border-red-300 dark:border-red-700 text-gray-900 dark:text-gray-100 focus:border-red-500 focus:ring-red-500 block w-full rounded-md px-3 py-2 text-sm placeholder:text-gray-500 dark:placeholder:text-gray-400 transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2",small:()=>"bg-gray-50 dark:bg-gray-800 border-gray-300 dark:border-gray-600 text-gray-900 dark:text-gray-100 focus:border-blue-500 focus:ring-blue-500 dark:focus:border-blue-400 dark:focus:ring-blue-400 block w-full rounded-md px-2 py-1.5 text-xs placeholder:text-gray-500 dark:placeholder:text-gray-400 transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2",large:()=>"bg-gray-50 dark:bg-gray-800 border-gray-300 dark:border-gray-600 text-gray-900 dark:text-gray-100 focus:border-blue-500 focus:ring-blue-500 dark:focus:border-blue-400 dark:focus:ring-blue-400 block w-full rounded-md px-4 py-3 text-base placeholder:text-gray-500 dark:placeholder:text-gray-400 transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2",withIcon:()=>"bg-gray-50 dark:bg-gray-800 border-gray-300 dark:border-gray-600 text-gray-900 dark:text-gray-100 focus:border-blue-500 focus:ring-blue-500 dark:focus:border-blue-400 dark:focus:ring-blue-400 block w-full rounded-md pl-10 pr-3 py-2 text-sm placeholder:text-gray-500 dark:placeholder:text-gray-400 transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2"},alert:{info:()=>"bg-blue-50 border-blue-200 dark:bg-blue-900/20 dark:border-blue-800 text-blue-800 dark:text-blue-200 rounded-md border p-4 flex items-start gap-3",success:()=>"bg-green-50 border-green-200 dark:bg-green-900/20 dark:border-green-800 text-green-800 dark:text-green-200 rounded-md border p-4 flex items-start gap-3",warning:()=>"bg-amber-50 border-amber-200 dark:bg-amber-900/20 dark:border-amber-800 text-amber-800 dark:text-amber-200 rounded-md border p-4 flex items-start gap-3",attention:()=>"bg-amber-50 border-amber-200 dark:bg-amber-900/20 dark:border-amber-800 text-amber-800 dark:text-amber-200 rounded-md border p-4 flex items-start gap-3",error:()=>"bg-red-50 border-red-200 dark:bg-red-900/20 dark:border-red-800 text-red-800 dark:text-red-200 rounded-md border p-4 flex items-start gap-3",compact:{info:()=>"bg-blue-50 border-blue-200 dark:bg-blue-900/20 dark:border-blue-800 text-blue-800 dark:text-blue-200 rounded border px-3 py-2 text-sm",success:()=>"bg-green-50 border-green-200 dark:bg-green-900/20 dark:border-green-800 text-green-800 dark:text-green-200 rounded border px-3 py-2 text-sm",warning:()=>"bg-amber-50 border-amber-200 dark:bg-amber-900/20 dark:border-amber-800 text-amber-800 dark:text-amber-200 rounded border px-3 py-2 text-sm",attention:()=>"bg-amber-50 border-amber-200 dark:bg-amber-900/20 dark:border-amber-800 text-amber-800 dark:text-amber-200 rounded border px-3 py-2 text-sm",error:()=>"bg-red-50 border-red-200 dark:bg-red-900/20 dark:border-red-800 text-red-800 dark:text-red-200 rounded border px-3 py-2 text-sm"}},navigation:{tabs:{root:()=>"",list:()=>"inline-flex h-10 items-center justify-center rounded-md bg-gray-100 dark:bg-gray-800 p-1 text-gray-500 dark:text-gray-400",listUnderlined:()=>"flex border-b border-gray-200 dark:border-gray-700",listPills:()=>"flex space-x-1 bg-gray-100 dark:bg-gray-800 rounded-lg p-1",trigger:()=>"inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-white transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-white data-[state=active]:text-gray-950 data-[state=active]:shadow-sm dark:ring-offset-gray-950 dark:focus-visible:ring-blue-400 dark:data-[state=active]:bg-gray-950 dark:data-[state=active]:text-gray-50",triggerUnderlined:()=>"inline-flex items-center justify-center whitespace-nowrap px-4 py-2 text-sm font-medium text-gray-500 dark:text-gray-400 border-b-2 border-transparent hover:text-gray-700 dark:hover:text-gray-300 hover:border-gray-300 dark:hover:border-gray-600 focus:outline-none focus:text-blue-600 focus:border-blue-600 dark:focus:text-blue-400 dark:focus:border-blue-400 data-[state=active]:text-blue-600 data-[state=active]:border-blue-600 dark:data-[state=active]:text-blue-400 dark:data-[state=active]:border-blue-400 transition-colors",triggerPills:()=>"inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1.5 text-sm font-medium text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-100 hover:bg-white dark:hover:bg-gray-700 focus:outline-none focus:ring-2 focus:ring-blue-500 data-[state=active]:bg-white data-[state=active]:text-gray-900 data-[state=active]:shadow-sm dark:data-[state=active]:bg-gray-700 dark:data-[state=active]:text-gray-100 transition-all",content:()=>"mt-2 ring-offset-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 dark:ring-offset-gray-950 dark:focus-visible:ring-blue-400"}},icon:{variant:{default:{xs:()=>"h-3 w-3 text-gray-500 dark:text-gray-400",sm:()=>"h-4 w-4 text-gray-500 dark:text-gray-400",md:()=>"h-5 w-5 text-gray-500 dark:text-gray-400",lg:()=>"h-6 w-6 text-gray-500 dark:text-gray-400",xl:()=>"h-8 w-8 text-gray-500 dark:text-gray-400"},success:{xs:()=>"h-3 w-3 text-green-600 dark:text-green-400",sm:()=>"h-4 w-4 text-green-600 dark:text-green-400",md:()=>"h-5 w-5 text-green-600 dark:text-green-400",lg:()=>"h-6 w-6 text-green-600 dark:text-green-400",xl:()=>"h-8 w-8 text-green-600 dark:text-green-400"},warning:{xs:()=>"h-3 w-3 text-amber-600 dark:text-amber-400",sm:()=>"h-4 w-4 text-amber-600 dark:text-amber-400",md:()=>"h-5 w-5 text-amber-600 dark:text-amber-400",lg:()=>"h-6 w-6 text-amber-600 dark:text-amber-400",xl:()=>"h-8 w-8 text-amber-600 dark:text-amber-400"},error:{xs:()=>"h-3 w-3 text-red-600 dark:text-red-400",sm:()=>"h-4 w-4 text-red-600 dark:text-red-400",md:()=>"h-5 w-5 text-red-600 dark:text-red-400",lg:()=>"h-6 w-6 text-red-600 dark:text-red-400",xl:()=>"h-8 w-8 text-red-600 dark:text-red-400"},muted:{xs:()=>"h-3 w-3 text-gray-400 dark:text-gray-500",sm:()=>"h-4 w-4 text-gray-400 dark:text-gray-500",md:()=>"h-5 w-5 text-gray-400 dark:text-gray-500",lg:()=>"h-6 w-6 text-gray-400 dark:text-gray-500",xl:()=>"h-8 w-8 text-gray-400 dark:text-gray-500"}}},overlays:{modal:{backdrop:()=>"fixed inset-0 z-40 bg-black/50 dark:bg-black/70 backdrop-blur-sm transition-all duration-300 ease-out",backdropEntering:()=>"opacity-0",backdropEntered:()=>"opacity-100",backdropExiting:()=>"opacity-0",container:()=>"fixed inset-0 z-50 flex items-center justify-center p-4 transition-all duration-300 ease-out",containerEntering:()=>"opacity-0 scale-95",containerEntered:()=>"opacity-100 scale-100",containerExiting:()=>"opacity-0 scale-95",content:()=>"relative w-full max-w-lg bg-white dark:bg-gray-900 rounded-lg shadow-xl border border-gray-200 dark:border-gray-700 max-h-[80vh] overflow-hidden",small:()=>"max-w-sm",medium:()=>"max-w-lg",large:()=>"max-w-2xl",extraLarge:()=>"max-w-4xl",fullWidth:()=>"max-w-[95vw]",header:()=>"flex items-center justify-between p-4 sm:p-6 border-b border-gray-200 dark:border-gray-700",title:()=>"text-lg font-semibold text-gray-900 dark:text-gray-100",closeButton:()=>"p-1 hover:bg-gray-100 dark:hover:bg-gray-700 rounded-md transition-colors",body:()=>"p-4 sm:p-6 overflow-y-auto",footer:()=>"flex items-center justify-end space-x-3 p-4 sm:p-6 border-t border-gray-200 dark:border-gray-700 bg-gray-50 dark:bg-gray-800/50"},dropdown:{container:()=>"relative inline-block",trigger:()=>"inline-flex justify-center items-center bg-transparent border-0 text-gray-900 dark:text-gray-100 focus:outline-none transition-colors",triggerBordered:()=>"inline-flex justify-center items-center bg-white dark:bg-gray-800 border border-gray-300 dark:border-gray-600 text-gray-900 dark:text-gray-100 hover:bg-gray-50 dark:hover:bg-gray-700 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 dark:ring-offset-gray-950 transition-colors",menu:()=>"absolute z-50 w-56 bg-white dark:bg-gray-800 rounded-md shadow-lg focus:outline-none transition-all duration-200",menuSmall:()=>"w-40",menuLarge:()=>"w-72",menuAuto:()=>"w-auto min-w-40",menuTop:()=>"bottom-full mb-1",menuBottom:()=>"top-full mt-1",menuLeft:()=>"right-0",menuRight:()=>"left-0",menuEntering:()=>"opacity-0 scale-95 transform origin-top",menuEntered:()=>"opacity-100 scale-100 transform origin-top",menuExiting:()=>"opacity-0 scale-95 transform origin-top",itemContainer:()=>"py-1 px-1",item:()=>"flex items-center w-full text-left px-4 py-2 text-sm text-gray-700 dark:text-gray-300 hover:bg-blue-50 dark:hover:bg-blue-900/20 hover:text-blue-700 dark:hover:text-blue-300 transition-all duration-200 cursor-pointer hover:shadow-sm rounded-sm",itemActive:()=>"bg-blue-100 dark:bg-blue-900/30 text-blue-700 dark:text-blue-300 shadow-sm",itemDisabled:()=>"text-gray-400 dark:text-gray-600 cursor-not-allowed hover:bg-transparent hover:text-gray-400 dark:hover:text-gray-600",divider:()=>"my-1 border-t border-gray-200 dark:border-gray-700",header:()=>"px-4 py-2 text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wide",itemIcon:()=>"mr-3 h-4 w-4 flex-shrink-0",itemIconRight:()=>"ml-auto h-4 w-4 flex-shrink-0"}}},In={success:"bg-green-500",error:"bg-red-500",warning:"bg-orange-500",attention:"bg-amber-500",info:"bg-blue-500",neutral:"bg-gray-500"};function Te(e){return In[e]}const Ln={default:"bg-white dark:bg-gray-800",bordered:"bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700",elevated:"bg-white dark:bg-gray-800 shadow-md",info:"bg-blue-50 dark:bg-blue-900/20 border border-blue-200 dark:border-blue-800 text-blue-900 dark:text-blue-300",success:"bg-green-50 dark:bg-green-900/20 border border-green-200 dark:border-green-800 text-green-900 dark:text-green-300",warning:"bg-orange-50 dark:bg-orange-900/20 border border-orange-200 dark:border-orange-800 text-orange-900 dark:text-orange-300",attention:"bg-amber-50 dark:bg-amber-900/20 border border-amber-200 dark:border-amber-800 text-amber-900 dark:text-amber-300",error:"bg-red-50 dark:bg-red-900/20 border border-red-200 dark:border-red-800 text-red-900 dark:text-red-300"};function Pn(e){return Ln[e]}const Mn={default:{container:"bg-gradient-to-r from-blue-600/10 to-purple-600/10 border border-blue-200 text-blue-600 backdrop-blur-sm",icon:"text-blue-600"},premium:{container:"bg-gradient-to-r from-blue-600/10 to-purple-600/10 border border-blue-200 text-blue-600 backdrop-blur-sm",icon:"text-blue-600"},primary:{container:"bg-gradient-to-r from-blue-600/10 to-purple-600/10 border border-blue-200 text-blue-600 backdrop-blur-sm",icon:"text-blue-600"},light:{container:"bg-white/20 border border-white/30 text-white backdrop-blur-sm",icon:"text-white"}};function On(e){return Mn[e]}const Un=({label:e,labelPosition:r="center",orientation:a="horizontal",spacing:n="md",thickness:o="thin",variant:s="light",className:i,lineClassName:l})=>{const d={horizontal:{none:"my-0",sm:"my-2",md:"my-4",lg:"my-6",xl:"my-8"},vertical:{none:"mx-0",sm:"mx-2",md:"mx-4",lg:"mx-6",xl:"mx-8"}},c={horizontal:{thin:"border-t",medium:"border-t-2",thick:"border-t-4"},vertical:{thin:"border-l",medium:"border-l-2",thick:"border-l-4"}},u={light:"border-gray-200 dark:border-gray-700",medium:"border-gray-300 dark:border-gray-600",dark:"border-gray-400 dark:border-gray-500"};if(a==="vertical")return t.jsx("div",{className:b("self-stretch",c.vertical[o],u[s],d.vertical[n],i),role:"separator","aria-orientation":"vertical"});if(!e)return t.jsx("hr",{className:b(c.horizontal[o],u[s],d.horizontal[n],l,i),role:"separator","aria-orientation":"horizontal"});const h={left:"justify-start",center:"justify-center",right:"justify-end"};return t.jsxs("div",{className:b("flex items-center",d.horizontal[n],h[r],i),role:"separator","aria-orientation":"horizontal",children:[r!=="left"&&t.jsx("div",{className:b("flex-1",c.horizontal[o],u[s],l)}),t.jsx("span",{className:b(O.body.sm(),"px-3 text-gray-500 dark:text-gray-400 whitespace-nowrap"),children:e}),r!=="right"&&t.jsx("div",{className:b("flex-1",c.horizontal[o],u[s],l)})]})},Dn=({orientation:e="horizontal",spacing:r="md",thickness:a="thin",className:n})=>{const o={horizontal:{none:"",sm:"my-1",md:"my-2",lg:"my-4"},vertical:{none:"",sm:"mx-1",md:"mx-2",lg:"mx-4"}},s={horizontal:{thin:"h-px",medium:"h-0.5",thick:"h-1"},vertical:{thin:"w-px",medium:"w-0.5",thick:"w-1"}},i=e==="horizontal";return t.jsx("div",{role:"separator","aria-orientation":e,className:b("bg-gray-200 dark:bg-gray-700",i?"w-full":"h-full",s[e][a],o[e][r],n)})},jn=({children:e,variant:r="blue",position:a="left",width:n="thick",padding:o="md",className:s})=>{const i={blue:"border-blue-500 dark:border-blue-400",green:"border-green-500 dark:border-green-400",purple:"border-purple-500 dark:border-purple-400",indigo:"border-indigo-500 dark:border-indigo-400",emerald:"border-emerald-500 dark:border-emerald-400",orange:"border-orange-500 dark:border-orange-400",red:"border-red-500 dark:border-red-400",gray:"border-gray-400 dark:border-gray-500"},l={left:"border-l",right:"border-r",top:"border-t",bottom:"border-b"},d={thin:"2",medium:"3",thick:"4"},c={left:{sm:"pl-3",md:"pl-4",lg:"pl-6"},right:{sm:"pr-3",md:"pr-4",lg:"pr-6"},top:{sm:"pt-3",md:"pt-4",lg:"pt-6"},bottom:{sm:"pb-3",md:"pb-4",lg:"pb-6"}},u=`${l[a]}-${d[n]}`;return t.jsx("div",{className:b(u,i[r],c[a][o],s),children:e})},_n=({children:e,title:r,position:a="bottom-right",collapsible:n=!0,defaultCollapsed:o=!1,closeable:s=!1,onClose:i,className:l})=>{const[d,c]=k.useState(o),u={"bottom-right":"bottom-4 right-4","bottom-left":"bottom-4 left-4","top-right":"top-4 right-4","top-left":"top-4 left-4"};return t.jsxs("div",{className:b("fixed z-50 w-80","bg-white dark:bg-gray-900","border border-gray-300 dark:border-gray-700","rounded-lg shadow-2xl",u[a],l),children:[(r||n||s)&&t.jsxs("div",{className:"flex items-center justify-between p-4 border-b border-gray-200 dark:border-gray-700",children:[r&&t.jsx("h3",{className:"font-semibold text-gray-900 dark:text-white",children:r}),t.jsxs("div",{className:"flex items-center gap-2",children:[n&&t.jsx("button",{onClick:()=>c(!d),className:"p-1 hover:bg-gray-100 dark:hover:bg-gray-800 rounded transition-colors","aria-label":d?"Expand":"Collapse",children:t.jsx("svg",{className:b("w-4 h-4 text-gray-600 dark:text-gray-400 transition-transform",d&&"rotate-180"),fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:t.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})}),s&&t.jsx("button",{onClick:i,className:"p-1 hover:bg-gray-100 dark:hover:bg-gray-800 rounded transition-colors","aria-label":"Close",children:t.jsx("svg",{className:"w-4 h-4 text-gray-600 dark:text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:t.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]})]}),!d&&t.jsx("div",{className:"p-4",children:e})]})},zn=({left:e,right:r,direction:a="horizontal",initialSplit:n=.5,split:o,onSplitChange:s,minLeftSize:i=100,minRightSize:l=100,dividerSize:d=8,resizable:c=!0,className:u})=>{const[h,p]=k.useState(n),[m,f]=k.useState(!1),y=k.useRef(null),v=o!==void 0?o:h,A=E=>{c&&(E.preventDefault(),f(!0))};k.useEffect(()=>{if(!m)return;const E=C=>{const I=y.current;if(!I)return;const S=I.getBoundingClientRect();let L;a==="horizontal"?L=(C.clientX-S.left)/S.width:L=(C.clientY-S.top)/S.height,L=Math.max(0,Math.min(1,L));const w=a==="horizontal"?S.width:S.height,M=typeof i=="string"?parseFloat(i)/100*w:i,D=typeof l=="string"?parseFloat(l)/100*w:l,U=M/w,B=1-D/w;L=Math.max(U,Math.min(B,L)),o!==void 0&&s?s(L):p(L)},x=()=>{f(!1)};return document.addEventListener("mousemove",E),document.addEventListener("mouseup",x),()=>{document.removeEventListener("mousemove",E),document.removeEventListener("mouseup",x)}},[m,a,i,l,o,s]),k.useEffect(()=>(m?(document.body.style.userSelect="none",document.body.style.cursor=a==="horizontal"?"col-resize":"row-resize"):(document.body.style.userSelect="",document.body.style.cursor=""),()=>{document.body.style.userSelect="",document.body.style.cursor=""}),[m,a]);const N=a==="horizontal";return t.jsxs("div",{ref:y,className:b("w-full h-full flex",N?"flex-row":"flex-col",u),children:[t.jsx("div",{className:"overflow-auto",style:{[N?"width":"height"]:`${v*100}%`},children:e}),t.jsx("div",{onMouseDown:A,className:b("flex-shrink-0 group","bg-gray-300 dark:bg-gray-700",c&&"hover:bg-blue-500 dark:hover:bg-blue-400","transition-colors",m&&"bg-blue-500 dark:bg-blue-400",N?"cursor-col-resize":"cursor-row-resize",!c&&"cursor-default"),style:{[N?"width":"height"]:`${d}px`},children:c&&t.jsx("div",{className:b("flex items-center justify-center w-full h-full","text-gray-600 dark:text-gray-400","group-hover:text-white",m&&"text-white"),children:N?t.jsxs("svg",{className:"w-4 h-4",fill:"currentColor",viewBox:"0 0 24 24",children:[t.jsx("circle",{cx:"10",cy:"6",r:"1.5"}),t.jsx("circle",{cx:"10",cy:"12",r:"1.5"}),t.jsx("circle",{cx:"10",cy:"18",r:"1.5"}),t.jsx("circle",{cx:"14",cy:"6",r:"1.5"}),t.jsx("circle",{cx:"14",cy:"12",r:"1.5"}),t.jsx("circle",{cx:"14",cy:"18",r:"1.5"})]}):t.jsxs("svg",{className:"w-4 h-4",fill:"currentColor",viewBox:"0 0 24 24",children:[t.jsx("circle",{cx:"6",cy:"10",r:"1.5"}),t.jsx("circle",{cx:"12",cy:"10",r:"1.5"}),t.jsx("circle",{cx:"18",cy:"10",r:"1.5"}),t.jsx("circle",{cx:"6",cy:"14",r:"1.5"}),t.jsx("circle",{cx:"12",cy:"14",r:"1.5"}),t.jsx("circle",{cx:"18",cy:"14",r:"1.5"})]})})}),t.jsx("div",{className:"overflow-auto flex-1",style:{[N?"width":"height"]:`${(1-v)*100}%`},children:r})]})},Bn=({children:e,defaultWidth:r=300,defaultHeight:a=200,minWidth:n=100,minHeight:o=100,maxWidth:s,maxHeight:i,directions:l=["right","bottom","bottom-right"],onResize:d,onResizeEnd:c,showHandles:u=!0,className:h})=>{const[p,m]=k.useState(r),[f,y]=k.useState(a),[v,A]=k.useState(!1),[N,E]=k.useState(null),x=k.useRef(null),C=k.useRef({x:0,y:0,width:0,height:0}),I=w=>M=>{M.preventDefault(),M.stopPropagation(),A(!0),E(w),C.current={x:M.clientX,y:M.clientY,width:p,height:f}};k.useEffect(()=>{if(!v||!N)return;const w=D=>{const U=D.clientX-C.current.x,B=D.clientY-C.current.y;let z=C.current.width,F=C.current.height;N.includes("right")?z=C.current.width+U:N.includes("left")&&(z=C.current.width-U),N.includes("bottom")?F=C.current.height+B:N.includes("top")&&(F=C.current.height-B),z=Math.max(n,z),F=Math.max(o,F),s&&(z=Math.min(s,z)),i&&(F=Math.min(i,F)),m(z),y(F),d&&d(z,F)},M=()=>{A(!1),E(null),c&&c(p,f)};return document.addEventListener("mousemove",w),document.addEventListener("mouseup",M),()=>{document.removeEventListener("mousemove",w),document.removeEventListener("mouseup",M)}},[v,N,p,f,n,o,s,i,d,c]);const S=k.useCallback(w=>({top:"ns-resize",right:"ew-resize",bottom:"ns-resize",left:"ew-resize","top-left":"nwse-resize","top-right":"nesw-resize","bottom-left":"nesw-resize","bottom-right":"nwse-resize"})[w],[]);k.useEffect(()=>(v?(document.body.style.userSelect="none",document.body.style.cursor=S(N)):(document.body.style.userSelect="",document.body.style.cursor=""),()=>{document.body.style.userSelect="",document.body.style.cursor=""}),[v,N,S]);const L=w=>{if(!l.includes(w))return null;const M={top:"top-0 left-0 right-0 h-1 cursor-ns-resize",right:"top-0 right-0 bottom-0 w-1 cursor-ew-resize",bottom:"bottom-0 left-0 right-0 h-1 cursor-ns-resize",left:"top-0 left-0 bottom-0 w-1 cursor-ew-resize","top-left":"top-0 left-0 w-3 h-3 cursor-nwse-resize","top-right":"top-0 right-0 w-3 h-3 cursor-nesw-resize","bottom-left":"bottom-0 left-0 w-3 h-3 cursor-nesw-resize","bottom-right":"bottom-0 right-0 w-3 h-3 cursor-nwse-resize"};return t.jsx("div",{className:b("absolute z-10",u&&"bg-blue-500 dark:bg-blue-400 opacity-0 hover:opacity-50",M[w]),onMouseDown:I(w)},w)};return t.jsxs("div",{ref:x,className:b("relative",h),style:{width:`${p}px`,height:`${f}px`},children:[e,["top","right","bottom","left","top-left","top-right","bottom-left","bottom-right"].map(L)]})},Wn=({className:e,children:r,disabled:a=!1,onClick:n})=>t.jsx("div",{className:b("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",a&&"opacity-50 cursor-not-allowed","hover:bg-gray-50 dark:hover:bg-gray-800",e),onClick:a?void 0:n,role:"region","aria-label":"UresizableUpanels",children:r||"UresizableUpanels Component"}),Fn=({children:e,maxHeight:r,hideScrollbar:a=!1,direction:n="vertical",className:o})=>{const s={vertical:"overflow-y-auto overflow-x-hidden",horizontal:"overflow-x-auto overflow-y-hidden",both:"overflow-auto"},i=a?"scrollbar-hide":b("scrollbar-thin","scrollbar-thumb-gray-300 dark:scrollbar-thumb-gray-600","scrollbar-track-gray-100 dark:scrollbar-track-gray-800","hover:scrollbar-thumb-gray-400 dark:hover:scrollbar-thumb-gray-500"),l=typeof r=="number"?`${r}px`:r;return t.jsx("div",{className:b("relative",s[n],i,o),style:l?{maxHeight:l}:void 0,children:e})},Vn=({children:e,columns:r=3,gap:a=16,breakpoints:n,className:o})=>{const[s,i]=k.useState(r),l=k.useRef(null);k.useEffect(()=>{if(!n)return;const u=()=>{const h=window.innerWidth,p=Object.keys(n).map(Number).sort((m,f)=>f-m);for(const m of p)if(h>=m){i(n[m]);return}i(r)};return u(),window.addEventListener("resize",u),()=>window.removeEventListener("resize",u)},[n,r]);const d=k.Children.toArray(e),c=Array.from({length:s},()=>[]);return d.forEach((u,h)=>{c[h%s].push(u)}),t.jsx("div",{ref:l,className:b("flex",o),style:{gap:`${a}px`},children:c.map((u,h)=>t.jsx("div",{className:"flex-1 flex flex-col",style:{gap:`${a}px`},children:u},h))})},be=({children:e,container:r})=>{const[a,n]=k.useState(!1);if(k.useEffect(()=>(n(!0),()=>n(!1)),[]),!a)return null;const o=r||document.body;return ot.createPortal(e,o)},Qe=({isOpen:e,onClose:r,children:a,blur:n=!1,opacity:o="medium",zIndex:s=40,lockScroll:i=!0,className:l})=>{if(k.useEffect(()=>{if(i){if(e){const c=window.innerWidth-document.documentElement.clientWidth;document.body.style.overflow="hidden",document.body.style.paddingRight=`${c}px`}else document.body.style.overflow="",document.body.style.paddingRight="";return()=>{document.body.style.overflow="",document.body.style.paddingRight=""}}},[e,i]),!e)return null;const d={light:"bg-black/20 dark:bg-black/30",medium:"bg-black/50 dark:bg-black/60",dark:"bg-black/75 dark:bg-black/85"};return t.jsx(be,{children:t.jsx("div",{className:b("fixed inset-0","transition-opacity duration-300",n&&"backdrop-blur-sm",d[o],l),style:{zIndex:s},onClick:r,"aria-hidden":"true",children:a&&t.jsx("div",{className:"relative h-full w-full",onClick:c=>c.stopPropagation(),children:a})})})},qn=({children:e,as:r="p",size:a="base",weight:n="normal",color:o="default",align:s,transform:i="none",truncate:l=!1,lineClamp:d,className:c})=>{const u={xs:"text-xs",sm:"text-sm",base:"text-base",lg:"text-lg",xl:"text-xl","2xl":"text-2xl","3xl":"text-3xl","4xl":"text-4xl"},h={light:"font-light",normal:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold"},p={default:"text-gray-900 dark:text-gray-100",muted:"text-gray-600 dark:text-gray-400",primary:"text-blue-600 dark:text-blue-400",success:"text-green-600 dark:text-green-400",warning:"text-yellow-600 dark:text-yellow-400",danger:"text-red-600 dark:text-red-400"},m=s?{left:"text-left",center:"text-center",right:"text-right",justify:"text-justify"}[s]:"",f={none:"",uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize"},y=d?{display:"-webkit-box",WebkitLineClamp:d,WebkitBoxOrient:"vertical",overflow:"hidden"}:void 0;return t.jsx(r,{className:b(u[a],h[n],p[o],m,f[i],l&&"truncate",d&&"overflow-hidden",c),style:y,children:e})},$n=({children:e,level:r=2,size:a,weight:n="bold",color:o="default",align:s,className:i})=>{const d=a||{1:"4xl",2:"3xl",3:"2xl",4:"xl",5:"lg",6:"base"}[r],c={"4xl":"text-4xl","3xl":"text-3xl","2xl":"text-2xl",xl:"text-xl",lg:"text-lg",base:"text-base"},u={normal:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold",extrabold:"font-extrabold"},h={default:"text-gray-900 dark:text-gray-100",muted:"text-gray-700 dark:text-gray-300",primary:"text-blue-600 dark:text-blue-400"},p=s?{left:"text-left",center:"text-center",right:"text-right"}[s]:"",m=`h${r}`;return k.createElement(m,{className:b(c[d],u[n],h[o],p,i)},e)},Hn=Z.cva("",{variants:{variant:{hero:O.heading.display.hero(),display:O.heading.display.lg(),h1:O.heading.h1(),h2:O.heading.h2(),h3:O.heading.h3()},responsive:{true:"",false:""},align:{left:"text-left",center:"text-center",right:"text-right"},color:{default:"text-gray-900 dark:text-white",muted:"text-gray-600 dark:text-gray-400",vibrant:"text-white",brand:"bg-gradient-to-r from-blue-600 to-purple-600 bg-clip-text text-transparent"}},defaultVariants:{variant:"h1",responsive:!0,align:"left",color:"default"}}),Gn=({children:e,variant:r="h1",responsive:a=!0,align:n="left",color:o="default",className:s,as:i})=>{const l=i||(r==="hero"||r==="display"||r==="h1"?"h1":r==="h2"?"h2":"h3");return t.jsx(l,{className:b(Hn({variant:r,responsive:a,align:n,color:o}),s),children:e})},Yn=Z.cva("",{variants:{variant:{h2:O.heading.h2(),h3:O.heading.h3(),h4:O.heading.h4(),h5:O.heading.h5(),h6:O.heading.h6()},spacing:{none:"",sm:"mb-2",md:"mb-4",lg:"mb-6",xl:"mb-8"},align:{left:"text-left",center:"text-center",right:"text-right"}},defaultVariants:{variant:"h2",spacing:"md",align:"left"}}),Kn=({children:e,variant:r="h2",spacing:a="md",align:n="left",className:o,as:s})=>{const i=s||r;return k.createElement(i,{className:b(Yn({variant:r,spacing:a,align:n}),o)},e)},Zn=Z.cva("",{variants:{variant:{body:O.body.md(),lead:O.body.lg(),large:O.body.lg(),small:O.body.sm(),caption:O.body.xs()},color:{default:"text-gray-700 dark:text-gray-300",muted:"text-gray-500 dark:text-gray-500",primary:"text-gray-900 dark:text-white"},align:{left:"text-left",center:"text-center",right:"text-right",justify:"text-justify"}},defaultVariants:{variant:"body",color:"default",align:"left"}}),Qn=({children:e,variant:r="body",color:a="default",align:n="left",className:o,as:s="p"})=>k.createElement(s,{className:b(Zn({variant:r,color:a,align:n}),o)},e),Xn=Z.cva(O.link.default(),{variants:{variant:{default:O.link.default(),subtle:O.link.subtle(),muted:O.link.muted(),button:"inline-flex items-center justify-center px-4 py-2 rounded-md bg-blue-600 text-white hover:bg-blue-700 transition-colors"},external:{true:"inline-flex items-center gap-1",false:""}},defaultVariants:{variant:"default",external:!1}}),Jn=({children:e,href:r,variant:a="default",external:n=!1,className:o,target:s,rel:i})=>t.jsxs("a",{href:r,target:s||(n?"_blank":void 0),rel:i||(n?"noopener noreferrer":void 0),className:b(Xn({variant:a,external:n}),o),children:[e,n&&t.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:t.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"})})]}),Rn=({children:e,size:r="md",variant:a="default",className:n})=>{const o={sm:"text-xs px-1 py-0.5",md:"text-sm px-1.5 py-0.5",lg:"text-base px-2 py-1"},s={default:"bg-gray-100 dark:bg-gray-800 text-gray-900 dark:text-gray-100",primary:"bg-blue-50 dark:bg-blue-900/30 text-blue-700 dark:text-blue-300",success:"bg-green-50 dark:bg-green-900/30 text-green-700 dark:text-green-300",warning:"bg-yellow-50 dark:bg-yellow-900/30 text-yellow-700 dark:text-yellow-300",danger:"bg-red-50 dark:bg-red-900/30 text-red-700 dark:text-red-300"};return t.jsx("code",{className:b("inline-block font-mono font-medium rounded",o[r],s[a],n),children:e})},eo=({children:e,variant:r="primary",size:a="md",inline:n=!1,align:o="left",className:s,wrap:i=!1})=>{const l={primary:"text-blue-600 dark:text-blue-400 bg-blue-50 dark:bg-blue-900/30",secondary:"text-purple-600 dark:text-purple-400 bg-purple-50 dark:bg-purple-900/30",success:"text-green-600 dark:text-green-400 bg-green-50 dark:bg-green-900/30",warning:"text-yellow-700 dark:text-yellow-400 bg-yellow-50 dark:bg-yellow-900/30",neutral:"text-gray-700 dark:text-gray-300 bg-gray-100 dark:bg-gray-800"},d={xs:{text:"text-xs",padding:n?"px-1.5 py-0.5":"px-2 py-1"},sm:{text:"text-sm",padding:n?"px-2 py-0.5":"px-3 py-1.5"},md:{text:"text-base",padding:n?"px-2.5 py-1":"px-4 py-2"},lg:{text:"text-lg",padding:n?"px-3 py-1":"px-4 py-2"}},c={left:"text-left",center:"text-center",right:"text-right"},u=d[a],h=n?"code":"div";return t.jsx(h,{className:b("font-mono rounded-lg",l[r],u.text,u.padding,!n&&c[o],n?"inline-block":"block",!i&&"overflow-x-auto whitespace-nowrap",i&&"break-all",s),children:e})},ro=({children:e,size:r="md",className:a})=>{const n={sm:"text-xs px-1.5 py-0.5",md:"text-sm px-2 py-1",lg:"text-base px-2.5 py-1.5"};return t.jsx("kbd",{className:b("inline-flex items-center justify-center","font-mono font-semibold","bg-gray-100 dark:bg-gray-800","text-gray-900 dark:text-gray-100","border border-gray-300 dark:border-gray-600","rounded shadow-sm",n[r],a),children:e})},to=({children:e,cite:r,variant:a="default",size:n="md",className:o})=>{const s={sm:"text-sm p-3",md:"text-base p-4",lg:"text-lg p-6"},i={sm:"text-xs",md:"text-sm",lg:"text-base"},l={default:"border-l-4 border-gray-300 dark:border-gray-600 bg-gray-50 dark:bg-gray-800/50",bordered:"border border-gray-300 dark:border-gray-600 bg-white dark:bg-gray-800",accent:"border-l-4 border-blue-500 dark:border-blue-400 bg-blue-50 dark:bg-blue-900/20"};return t.jsxs("blockquote",{className:b("rounded-r-lg",s[n],l[a],o),children:[t.jsx("p",{className:"text-gray-800 dark:text-gray-200 italic",children:e}),r&&t.jsxs("footer",{className:b("mt-2 text-gray-600 dark:text-gray-400",i[n]),children:["— ",t.jsx("cite",{className:"not-italic font-medium",children:r})]})]})},ao=({children:e,variant:r="default",showIcon:a=!1,size:n="sm",className:o})=>{const s={sm:"text-sm",base:"text-base"},i={sm:"h-4 w-4",base:"h-5 w-5"},d={default:{text:"text-gray-600 dark:text-gray-400",icon:P.InformationCircleIcon},error:{text:"text-red-600 dark:text-red-400",icon:P.ExclamationCircleIcon},success:{text:"text-green-600 dark:text-green-400",icon:P.CheckCircleIcon},warning:{text:"text-yellow-600 dark:text-yellow-400",icon:P.ExclamationCircleIcon}}[r],c=d.icon;return t.jsxs("div",{className:b("flex items-start gap-1.5",o),children:[a&&t.jsx(c,{className:b(i[n],d.text,"flex-shrink-0 mt-0.5")}),t.jsx("p",{className:b(s[n],d.text),children:e})]})},no=({className:e,children:r,disabled:a=!1,onClick:n})=>t.jsx("div",{className:b("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",a&&"opacity-50 cursor-not-allowed","hover:bg-gray-50 dark:hover:bg-gray-800",e),onClick:a?void 0:n,role:"region","aria-label":"UscreenUreaderUtext",children:r||"UscreenUreaderUtext Component"}),oo=({children:e,maxLength:r=50,position:a="end",ellipsis:n="...",showTooltip:o=!0,className:s})=>{const i=e||"";if(i.length<=r)return t.jsx("span",{className:s,children:i});const d=(()=>{const c=n.length,u=r-c;switch(a){case"start":return n+i.slice(i.length-u);case"middle":{const h=Math.floor(u/2),p=i.slice(0,h),m=i.slice(i.length-(u-h));return p+n+m}case"end":default:return i.slice(0,u)+n}})();return t.jsx("span",{className:b("inline-block",s),title:o?i:void 0,children:d})},so=({value:e,style:r="decimal",currency:a="USD",unit:n,minimumFractionDigits:o,maximumFractionDigits:s,locale:i="en-US",notation:l="standard",className:d})=>{const c=()=>{try{const u={style:r,notation:l,minimumFractionDigits:o,maximumFractionDigits:s};return r==="currency"&&(u.currency=a),r==="unit"&&n&&(u.unit=n),new Intl.NumberFormat(i,u).format(e)}catch(u){return console.error("Number formatting error:",u),e.toLocaleString(i)}};return t.jsx("span",{className:b(d),children:c()})},io=({date:e,showTooltip:r=!0,updateInterval:a=0,className:n})=>{const[,o]=k.useState(0),s=k.useMemo(()=>e instanceof Date?e:new Date(e),[e]);k.useEffect(()=>{if(a===0)return;const c=setInterval(()=>{o(u=>u+1)},a*1e3);return()=>clearInterval(c)},[a]);const l=(()=>{const u=new Date().getTime()-s.getTime(),h=Math.floor(u/1e3),p=Math.floor(h/60),m=Math.floor(p/60),f=Math.floor(m/24),y=Math.floor(f/7),v=Math.floor(f/30),A=Math.floor(f/365);return h<60?"just now":p<60?`${p} ${p===1?"minute":"minutes"} ago`:m<24?`${m} ${m===1?"hour":"hours"} ago`:f<7?`${f} ${f===1?"day":"days"} ago`:y<4?`${y} ${y===1?"week":"weeks"} ago`:v<12?`${v} ${v===1?"month":"months"} ago`:`${A} ${A===1?"year":"years"} ago`})(),d=s.toLocaleString();return t.jsx("time",{dateTime:s.toISOString(),title:r?d:void 0,className:b(n),children:l})},De=({size:e="default",variant:r="default",className:a,ariaLabel:n="Loading",loadingText:o="Loading..."})=>{const s=()=>{const i={small:"w-4 h-4",default:"w-6 h-6",large:"w-8 h-8",extraLarge:"w-16 h-16 border-4"},l={default:"border-gray-300 border-t-blue-600",white:"border-white/30 border-t-white",success:"border-gray-300 border-t-green-600",warning:"border-gray-300 border-t-orange-600",error:"border-gray-300 border-t-red-600"};return`animate-spin rounded-full border-2 ${i[e]} ${l[r]}`};return t.jsx("div",{className:b(s(),a),role:"status","aria-label":n,children:t.jsx("span",{className:"sr-only",children:o})})},lo=({isLoading:e,message:r,mode:a="fullscreen",blur:n=!1,spinnerSize:o="large",className:s})=>e?t.jsxs("div",{className:b(a==="fullscreen"?"fixed":"absolute","inset-0 z-50","flex flex-col items-center justify-center","bg-white/80 dark:bg-gray-900/80",n&&"backdrop-blur-sm",s),role:"alert","aria-live":"polite","aria-busy":"true",children:[t.jsx(De,{size:o}),r&&t.jsx("p",{className:b(O.body.md(),"text-gray-700 dark:text-gray-300 mt-4"),children:r})]}):null,co=({size:e="md",variant:r="primary",color:a,className:n})=>{const o={sm:"w-1.5 h-1.5",md:"w-2 h-2",lg:"w-3 h-3"},s={primary:"bg-blue-600 dark:bg-blue-500",secondary:"bg-gray-600 dark:bg-gray-400",white:"bg-white"},i=b("rounded-full",o[e],a?"":s[r]);return t.jsxs("div",{className:b("flex items-center gap-1",n),children:[t.jsx("div",{className:i,style:{backgroundColor:a,animation:"loading-dot-bounce 1.4s infinite ease-in-out both",animationDelay:"-0.32s"}}),t.jsx("div",{className:i,style:{backgroundColor:a,animation:"loading-dot-bounce 1.4s infinite ease-in-out both",animationDelay:"-0.16s"}}),t.jsx("div",{className:i,style:{backgroundColor:a,animation:"loading-dot-bounce 1.4s infinite ease-in-out both"}}),t.jsx("style",{children:`
1
+ (function(g,Oe){typeof exports=="object"&&typeof module<"u"?Oe(exports,require("clsx"),require("tailwind-merge"),require("react/jsx-runtime"),require("react"),require("class-variance-authority"),require("react-dom"),require("@heroicons/react/24/outline"),require("@heroicons/react/24/solid"),require("@radix-ui/react-switch"),require("@radix-ui/react-select"),require("lucide-react"),require("@radix-ui/react-label"),require("@radix-ui/react-slot"),require("react-router-dom"),require("@radix-ui/react-tabs"),require("react-i18next"),require("react-helmet-async"),require("web-vitals")):typeof define=="function"&&define.amd?define(["exports","clsx","tailwind-merge","react/jsx-runtime","react","class-variance-authority","react-dom","@heroicons/react/24/outline","@heroicons/react/24/solid","@radix-ui/react-switch","@radix-ui/react-select","lucide-react","@radix-ui/react-label","@radix-ui/react-slot","react-router-dom","@radix-ui/react-tabs","react-i18next","react-helmet-async","web-vitals"],Oe):(g=typeof globalThis<"u"?globalThis:g||self,Oe(g.MailBoxComponents={},g.clsx,g.tailwindMerge,g.ReactJSXRuntime,g.React,g.cva,g.ReactDOM,g.HeroiconsOutline,g.HeroiconsSolid,g.RadixSwitch,g.RadixSelect,g.LucideReact,g.RadixLabel,g.RadixSlot,g.ReactRouterDOM,g.RadixTabs,g.ReactI18next,g.ReactHelmetAsync,g.WebVitals))})(this,(function(g,Oe,sn,t,k,Z,ot,P,ge,dr,ln,Ze,st,cn,ur,he,it,dn,Ue){"use strict";function lt(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const n=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(r,a,n.get?n:{enumerable:!0,get:()=>e[a]})}}return r.default=e,Object.freeze(r)}const G=lt(k),q=lt(ln);function b(...e){return sn.twMerge(Oe.clsx(e))}const ct=({children:e,as:r="div",p:a,px:n,py:o,m:s,mx:i,my:l,bg:d,border:c=!1,rounded:u,shadow:h,w:p,h:m,className:f})=>{const y={none:"0",xs:"1",sm:"2",md:"4",lg:"6",xl:"8","2xl":"12",auto:"auto"},v=d?{transparent:"bg-transparent",white:"bg-white dark:bg-gray-900",gray:"bg-gray-100 dark:bg-gray-800",primary:"bg-blue-50 dark:bg-blue-900/20",success:"bg-green-50 dark:bg-green-900/20",warning:"bg-yellow-50 dark:bg-yellow-900/20",danger:"bg-red-50 dark:bg-red-900/20"}[d]:"",A=u?{none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl",full:"rounded-full"}[u]:"",N=h?{none:"shadow-none",sm:"shadow-sm",md:"shadow-md",lg:"shadow-lg",xl:"shadow-xl"}[h]:"",E=p?{auto:"w-auto",full:"w-full",screen:"w-screen",min:"w-min",max:"w-max"}[p]:"",x=m?{auto:"h-auto",full:"h-full",screen:"h-screen",min:"h-min",max:"h-max"}[m]:"",C=[];a&&C.push("p-"+y[a]),n&&C.push("px-"+y[n]),o&&C.push("py-"+y[o]);const I=[];return s&&I.push("m-"+y[s]),i&&I.push("mx-"+y[i]),l&&I.push("my-"+y[l]),t.jsx(r,{className:b(...C,...I,v,c&&"border border-gray-200 dark:border-gray-700",A,N,E,x,f),children:e})},un=({direction:e="row",align:r,justify:a,wrap:n="nowrap",gap:o,inline:s=!1,className:i,...l})=>{const d={row:"flex-row","row-reverse":"flex-row-reverse",col:"flex-col","col-reverse":"flex-col-reverse"},c=r?{start:"items-start",center:"items-center",end:"items-end",stretch:"items-stretch",baseline:"items-baseline"}[r]:"",u=a?{start:"justify-start",center:"justify-center",end:"justify-end",between:"justify-between",around:"justify-around",evenly:"justify-evenly"}[a]:"",h={nowrap:"flex-nowrap",wrap:"flex-wrap","wrap-reverse":"flex-wrap-reverse"},p=o?{none:"gap-0",xs:"gap-1",sm:"gap-2",md:"gap-4",lg:"gap-6",xl:"gap-8","2xl":"gap-12"}[o]:"";return t.jsx(ct,{...l,className:b(s?"inline-flex":"flex",d[e],c,u,h[n],p,i)})},gn={row:"flex-row","row-reverse":"flex-row-reverse",col:"flex-col","col-reverse":"flex-col-reverse"},hn={start:"items-start",center:"items-center",end:"items-end",stretch:"items-stretch",baseline:"items-baseline"},bn={start:"justify-start",center:"justify-center",end:"justify-end",between:"justify-between",around:"justify-around",evenly:"justify-evenly"},fn={wrap:"flex-wrap","wrap-reverse":"flex-wrap-reverse",nowrap:"flex-nowrap"},mn={0:"gap-0",1:"gap-1",2:"gap-2",3:"gap-3",4:"gap-4",5:"gap-5",6:"gap-6",8:"gap-8",10:"gap-10",12:"gap-12"},yn=({children:e,direction:r="row",align:a="start",justify:n="start",wrap:o="nowrap",gap:s="0",className:i})=>t.jsx("div",{className:b("flex",gn[r],hn[a],bn[n],fn[o],mn[s],i),children:e}),pn=({children:e,size:r="xl",center:a=!0,padding:n="md",className:o})=>{const s={sm:"max-w-screen-sm",md:"max-w-screen-md",lg:"max-w-screen-lg",xl:"max-w-screen-xl","2xl":"max-w-screen-2xl",full:"max-w-full"},i={none:"",sm:"px-4 py-2",md:"px-6 py-4",lg:"px-8 py-6"};return t.jsx("div",{className:b("w-full",s[r],a&&"mx-auto",i[n],o),children:e})},vn=({children:e,cols:r=1,gap:a="md",autoFit:n,autoFill:o,alignItems:s="stretch",justifyItems:i="stretch",className:l})=>{const d={none:"gap-0",xs:"gap-1",sm:"gap-2",md:"gap-4",lg:"gap-6",xl:"gap-8","2xl":"gap-12"},c={start:"items-start",center:"items-center",end:"items-end",stretch:"items-stretch"},u={start:"justify-items-start",center:"justify-items-center",end:"justify-items-end",stretch:"justify-items-stretch"},h=()=>{if(n||o)return"";if(typeof r=="number")return{1:"grid-cols-1",2:"grid-cols-2",3:"grid-cols-3",4:"grid-cols-4",5:"grid-cols-5",6:"grid-cols-6",7:"grid-cols-7",8:"grid-cols-8",9:"grid-cols-9",10:"grid-cols-10",11:"grid-cols-11",12:"grid-cols-12"}[r]||"grid-cols-1";const m=[];return r.sm&&m.push("grid-cols-"+r.sm),r.md&&m.push("md:grid-cols-"+r.md),r.lg&&m.push("lg:grid-cols-"+r.lg),r.xl&&m.push("xl:grid-cols-"+r.xl),m.join(" ")};let p;return n?p="repeat(auto-fit, minmax("+n+", 1fr))":o&&(p="repeat(auto-fill, minmax("+o+", 1fr))"),t.jsx("div",{className:b("grid",h(),d[a],c[s],u[i],l),style:p?{gridTemplateColumns:p}:void 0,children:e})},gr=({children:e,direction:r="vertical",spacing:a="md",align:n="stretch",justify:o="start",wrap:s=!1,full:i=!1,divider:l=!1,className:d})=>{const c=r==="vertical",u={vertical:{none:"",xs:"space-y-1",sm:"space-y-2",md:"space-y-4",lg:"space-y-6",xl:"space-y-8","2xl":"space-y-12"},horizontal:{none:"",xs:"space-x-1",sm:"space-x-2",md:"space-x-4",lg:"space-x-6",xl:"space-x-8","2xl":"space-x-12"}},h={vertical:{none:"",xs:"gap-1",sm:"gap-2",md:"gap-4",lg:"gap-6",xl:"gap-8","2xl":"gap-12"},horizontal:{none:"",xs:"gap-1",sm:"gap-2",md:"gap-4",lg:"gap-6",xl:"gap-8","2xl":"gap-12"}},p={start:"items-start",center:"items-center",end:"items-end",stretch:"items-stretch",baseline:"items-baseline"},m={start:"justify-start",center:"justify-center",end:"justify-end",between:"justify-between",around:"justify-around",evenly:"justify-evenly"};return t.jsx("div",{className:b("flex",c?"flex-col":"flex-row",l?h[r][a]:u[r][a],p[n],m[o],s&&"flex-wrap",i&&(c?"h-full":"w-full"),d),children:l?k.Children.map(e,(f,y)=>t.jsxs(k.Fragment,{children:[f,y<k.Children.count(e)-1&&t.jsx("div",{className:b("bg-gray-200 dark:bg-gray-700",c?"h-px w-full":"w-px h-full")})]},y)):e})},kn=e=>t.jsx(gr,{direction:"vertical",...e}),wn=e=>t.jsx(gr,{direction:"horizontal",...e}),xn=({children:e,axis:r="both",inline:a=!1,className:n})=>{const o=()=>{switch(r){case"horizontal":return"justify-center";case"vertical":return"items-center";case"both":default:return"justify-center items-center"}};return t.jsx("div",{className:b(a?"inline-flex":"flex",o(),n),children:e})},Nn=({size:e="md",axis:r="vertical",flex:a=!1,className:n})=>{const o={vertical:{xs:"h-1",sm:"h-2",md:"h-4",lg:"h-6",xl:"h-8","2xl":"h-12"},horizontal:{xs:"w-1",sm:"w-2",md:"w-4",lg:"w-6",xl:"w-8","2xl":"w-12"}},s=typeof e=="number"?r==="vertical"?{height:`${e}px`}:{width:`${e}px`}:void 0,i=typeof e=="string"?o[r][e]:"";return t.jsx("div",{className:b(a&&"flex-1",!a&&i,n),style:s,"aria-hidden":"true"})},Cn=Z.cva("",{variants:{variant:{default:"",hero:"relative overflow-hidden",feature:"bg-white dark:bg-gray-800",cta:"relative overflow-hidden",testimonial:"bg-gray-50 dark:bg-gray-900",footer:"bg-white dark:bg-gray-800 border-gray-200 dark:border-gray-700 border-t"},spacing:{none:"",xs:"py-2",sm:"py-3",md:"py-4",lg:"py-6",xl:"py-8","2xl":"py-12","3xl":"py-16","4xl":"py-20","5xl":"py-24"},background:{none:"bg-transparent",default:"bg-gray-50 dark:bg-gray-900",surface:"bg-white dark:bg-gray-800",gradient:"bg-gradient-to-br from-gray-50 via-blue-50 to-purple-50 dark:from-gray-900 dark:via-blue-900/50 dark:to-purple-900/50","gradient-primary":"bg-gradient-to-br from-blue-50 to-indigo-100 dark:from-blue-900/50 dark:to-indigo-900/50","gradient-secondary":"bg-gradient-to-br from-green-50 to-blue-100 dark:from-green-900/50 dark:to-blue-900/50","gradient-tertiary":"bg-gradient-to-r from-emerald-50 to-teal-50 dark:from-gray-800 dark:to-gray-900","gradient-vibrant":"bg-gradient-to-br from-blue-800 to-purple-800 dark:from-blue-900 dark:to-purple-900"}},defaultVariants:{variant:"default",spacing:"3xl",background:"none"}}),Sn=({children:e,variant:r="default",spacing:a="3xl",background:n="none",className:o,as:s="section",id:i})=>k.createElement(s,{id:i,className:b(Cn({variant:r,spacing:a,background:n}),o)},e),En=Z.cva("min-h-screen flex flex-col",{variants:{background:{default:"bg-gray-50 dark:bg-gray-900",surface:"bg-white dark:bg-gray-800",transparent:"bg-transparent",gradient:"bg-gradient-to-br from-gray-50 via-blue-50 to-purple-50 dark:from-gray-900 dark:via-blue-900/20 dark:to-purple-900/20"},overflow:{visible:"overflow-visible",hidden:"overflow-hidden",scroll:"overflow-auto"}},defaultVariants:{background:"default",overflow:"visible"}}),An=({children:e,background:r="default",overflow:a="visible",className:n})=>t.jsx("div",{className:b(En({background:r,overflow:a}),n),children:e}),Tn=({children:e,ratio:r="16/9",className:a})=>{const s=`${1/(typeof r=="string"?{"16/9":1.7777777777777777,"4/3":1.3333333333333333,"1/1":1,"21/9":2.3333333333333335,"3/2":1.5}[r]:r)*100}%`;return t.jsx("div",{className:b("relative w-full",a),style:{paddingBottom:s},children:t.jsx("div",{className:"absolute inset-0",children:e})})},T={typography:{family:{sans:"font-sans",display:"font-sans",body:"font-sans"},semantic:{caption:"text-xs",small:"text-sm",body:"text-base",bodyLarge:"text-lg",h6:"text-base",h5:"text-lg",h4:"text-xl",h3:"text-2xl",h2:"text-3xl",h1:"text-4xl",hero:"text-8xl"},weight:{semibold:"font-semibold",bold:"font-bold",body:"font-normal",emphasis:"font-medium",strong:"font-semibold",heading:"font-bold",display:"font-extrabold"},decoration:{none:"no-underline",underline:"underline"},underlineOffset:{medium:"underline-offset-2"},leading:{tight:"leading-tight",heading:"leading-tight",body:"leading-relaxed",caption:"leading-normal",display:"leading-none"},tracking:{heading:"tracking-tight",body:"tracking-normal",caption:"tracking-normal",uppercase:"tracking-wider"},transform:{uppercase:"uppercase"}}},O={heading:{display:{hero:()=>`${T.typography.family.display} ${T.typography.semantic.hero} ${T.typography.weight.display} ${T.typography.leading.display} ${T.typography.tracking.heading} text-gray-900 dark:text-white`,xl:()=>`${T.typography.family.display} text-7xl ${T.typography.weight.display} ${T.typography.leading.display} ${T.typography.tracking.heading} text-gray-900 dark:text-white`,lg:()=>`${T.typography.family.display} text-6xl ${T.typography.weight.bold} ${T.typography.leading.display} ${T.typography.tracking.heading} text-gray-900 dark:text-white`,md:()=>`${T.typography.family.display} text-5xl ${T.typography.weight.bold} ${T.typography.leading.tight} ${T.typography.tracking.heading} text-gray-900 dark:text-white`,sm:()=>`${T.typography.family.display} text-4xl ${T.typography.weight.bold} ${T.typography.leading.tight} ${T.typography.tracking.heading} text-gray-900 dark:text-white`},h1:()=>`${T.typography.family.sans} ${T.typography.semantic.h1} ${T.typography.weight.heading} ${T.typography.leading.heading} ${T.typography.tracking.heading} text-gray-900 dark:text-white`,h2:()=>`${T.typography.family.sans} ${T.typography.semantic.h2} ${T.typography.weight.heading} ${T.typography.leading.heading} ${T.typography.tracking.heading} text-gray-900 dark:text-white`,h3:()=>`${T.typography.family.sans} ${T.typography.semantic.h3} ${T.typography.weight.heading} ${T.typography.leading.heading} ${T.typography.tracking.heading} text-gray-900 dark:text-white`,h4:()=>`${T.typography.family.sans} ${T.typography.semantic.h4} ${T.typography.weight.semibold} ${T.typography.leading.heading} ${T.typography.tracking.heading} text-gray-900 dark:text-white`,h5:()=>`${T.typography.family.sans} ${T.typography.semantic.h5} ${T.typography.weight.semibold} ${T.typography.leading.heading} ${T.typography.tracking.heading} text-gray-900 dark:text-white`,h6:()=>`${T.typography.family.sans} ${T.typography.semantic.h6} ${T.typography.weight.semibold} ${T.typography.leading.heading} ${T.typography.tracking.heading} text-gray-900 dark:text-white`,responsive:{h1:()=>`${T.typography.family.sans} text-2xl sm:text-3xl md:text-4xl lg:text-5xl ${T.typography.weight.heading} ${T.typography.leading.heading} ${T.typography.tracking.heading} text-gray-900 dark:text-white`,h2:()=>`${T.typography.family.sans} text-xl sm:text-2xl md:text-3xl lg:text-4xl ${T.typography.weight.heading} ${T.typography.leading.heading} ${T.typography.tracking.heading} text-gray-900 dark:text-white`,h3:()=>`${T.typography.family.sans} text-lg sm:text-xl md:text-2xl lg:text-3xl ${T.typography.weight.semibold} ${T.typography.leading.heading} ${T.typography.tracking.heading} text-gray-900 dark:text-white`,display:()=>`${T.typography.family.display} text-4xl sm:text-5xl md:text-6xl lg:text-7xl xl:text-8xl ${T.typography.weight.display} ${T.typography.leading.display} ${T.typography.tracking.heading} text-gray-900 dark:text-white`}},body:{xl:()=>`${T.typography.family.body} ${T.typography.semantic.bodyLarge} ${T.typography.weight.body} ${T.typography.leading.body} ${T.typography.tracking.body} text-gray-700 dark:text-gray-300`,lg:()=>`${T.typography.family.body} ${T.typography.semantic.body} ${T.typography.weight.body} ${T.typography.leading.body} ${T.typography.tracking.body} text-gray-700 dark:text-gray-300`,md:()=>`${T.typography.family.body} ${T.typography.semantic.body} ${T.typography.weight.body} ${T.typography.leading.body} ${T.typography.tracking.body} text-gray-700 dark:text-gray-300`,sm:()=>`${T.typography.family.body} ${T.typography.semantic.small} ${T.typography.weight.body} ${T.typography.leading.body} ${T.typography.tracking.body} text-gray-600 dark:text-gray-400`,xs:()=>`${T.typography.family.body} ${T.typography.semantic.caption} ${T.typography.weight.body} ${T.typography.leading.body} ${T.typography.tracking.body} text-gray-600 dark:text-gray-400`,strong:{xl:()=>`${T.typography.family.body} ${T.typography.semantic.bodyLarge} ${T.typography.weight.strong} ${T.typography.leading.body} ${T.typography.tracking.body} text-gray-900 dark:text-white`,lg:()=>`${T.typography.family.body} ${T.typography.semantic.body} ${T.typography.weight.strong} ${T.typography.leading.body} ${T.typography.tracking.body} text-gray-900 dark:text-white`,md:()=>`${T.typography.family.body} ${T.typography.semantic.body} ${T.typography.weight.strong} ${T.typography.leading.body} ${T.typography.tracking.body} text-gray-900 dark:text-white`,sm:()=>`${T.typography.family.body} ${T.typography.semantic.small} ${T.typography.weight.strong} ${T.typography.leading.body} ${T.typography.tracking.body} text-gray-900 dark:text-white`},emphasis:{xl:()=>`${T.typography.family.body} ${T.typography.semantic.bodyLarge} ${T.typography.weight.emphasis} ${T.typography.leading.body} ${T.typography.tracking.body} text-gray-900 dark:text-white`,lg:()=>`${T.typography.family.body} ${T.typography.semantic.body} ${T.typography.weight.emphasis} ${T.typography.leading.body} ${T.typography.tracking.body} text-gray-900 dark:text-white`,md:()=>`${T.typography.family.body} ${T.typography.semantic.body} ${T.typography.weight.emphasis} ${T.typography.leading.body} ${T.typography.tracking.body} text-gray-900 dark:text-white`,sm:()=>`${T.typography.family.body} ${T.typography.semantic.small} ${T.typography.weight.emphasis} ${T.typography.leading.body} ${T.typography.tracking.body} text-gray-900 dark:text-white`},muted:{xl:()=>`${T.typography.family.body} ${T.typography.semantic.bodyLarge} ${T.typography.weight.body} ${T.typography.leading.body} ${T.typography.tracking.body} text-gray-600 dark:text-gray-400`,lg:()=>`${T.typography.family.body} ${T.typography.semantic.body} ${T.typography.weight.body} ${T.typography.leading.body} ${T.typography.tracking.body} text-gray-600 dark:text-gray-400`,md:()=>`${T.typography.family.body} ${T.typography.semantic.body} ${T.typography.weight.body} ${T.typography.leading.body} ${T.typography.tracking.body} text-gray-600 dark:text-gray-400`,sm:()=>`${T.typography.family.body} ${T.typography.semantic.small} ${T.typography.weight.body} ${T.typography.leading.body} ${T.typography.tracking.body} text-gray-600 dark:text-gray-400`}},caption:{default:()=>`${T.typography.family.body} ${T.typography.semantic.caption} ${T.typography.weight.body} ${T.typography.leading.caption} ${T.typography.tracking.caption} text-gray-500 dark:text-gray-500`,emphasis:()=>`${T.typography.family.body} ${T.typography.semantic.caption} ${T.typography.weight.emphasis} ${T.typography.leading.caption} ${T.typography.tracking.caption} text-gray-600 dark:text-gray-400`,uppercase:()=>`${T.typography.family.body} ${T.typography.semantic.caption} ${T.typography.weight.emphasis} ${T.typography.leading.caption} ${T.typography.tracking.uppercase} ${T.typography.transform.uppercase} text-gray-500 dark:text-gray-500`},link:{default:()=>`${T.typography.decoration.underline} ${T.typography.underlineOffset.medium} text-blue-600 dark:text-blue-400 hover:text-blue-700 dark:hover:text-blue-300 transition-colors duration-150`,subtle:()=>`${T.typography.decoration.none} text-blue-600 dark:text-blue-400 hover:text-blue-700 dark:hover:text-blue-300 hover:${T.typography.decoration.underline} hover:${T.typography.underlineOffset.medium} transition-all duration-150`,muted:()=>`${T.typography.decoration.underline} ${T.typography.underlineOffset.medium} text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-100 transition-colors duration-150`,external:()=>`${T.typography.decoration.underline} ${T.typography.underlineOffset.medium} text-blue-600 dark:text-blue-400 hover:text-blue-700 dark:hover:text-blue-300 transition-colors duration-150 inline-flex items-center gap-1`},label:{default:()=>`${T.typography.family.body} text-sm ${T.typography.weight.emphasis} text-gray-900 dark:text-white`,required:()=>`${T.typography.family.body} text-sm ${T.typography.weight.emphasis} text-gray-900 dark:text-white after:content-['*'] after:ml-0.5 after:text-red-500`,optional:()=>`${T.typography.family.body} text-sm ${T.typography.weight.body} text-gray-600 dark:text-gray-400`,helper:()=>`${T.typography.family.body} text-sm ${T.typography.weight.body} text-gray-500 dark:text-gray-500`,error:()=>`${T.typography.family.body} text-sm ${T.typography.weight.body} text-red-600 dark:text-red-400`,success:()=>`${T.typography.family.body} text-sm ${T.typography.weight.body} text-green-600 dark:text-green-400`}},_={button:{primary:{default:()=>"bg-blue-600 text-white hover:bg-blue-700 active:bg-blue-800 border-transparent focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed dark:bg-blue-600 dark:hover:bg-blue-700 dark:active:bg-blue-800 dark:text-white dark:focus-visible:ring-blue-400 inline-flex items-center justify-center rounded-md px-4 py-2 text-sm font-medium transition-colors duration-200",small:()=>"bg-blue-600 text-white hover:bg-blue-700 active:bg-blue-800 border border-transparent focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed dark:bg-blue-600 dark:hover:bg-blue-700 dark:active:bg-blue-800 dark:text-white dark:focus-visible:ring-blue-400 inline-flex items-center justify-center rounded-md px-3 py-1.5 text-xs font-medium transition-colors duration-200 h-8",large:()=>"bg-blue-600 text-white hover:bg-blue-700 active:bg-blue-800 border-transparent focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed dark:bg-blue-600 dark:hover:bg-blue-700 dark:active:bg-blue-800 dark:text-white dark:focus-visible:ring-blue-400 inline-flex items-center justify-center rounded-md px-6 py-3 text-base font-medium transition-colors duration-200 h-12",withIcon:()=>"bg-blue-600 text-white hover:bg-blue-700 active:bg-blue-800 border-transparent focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed dark:bg-blue-600 dark:hover:bg-blue-700 dark:active:bg-blue-800 dark:text-white dark:focus-visible:ring-blue-400 inline-flex items-center justify-center gap-2 rounded-md px-4 py-2 text-sm font-medium transition-colors duration-200",fullWidth:()=>"bg-blue-600 text-white hover:bg-blue-700 active:bg-blue-800 border-transparent focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed dark:bg-blue-600 dark:hover:bg-blue-700 dark:active:bg-blue-800 dark:text-white dark:focus-visible:ring-blue-400 flex items-center justify-center w-full rounded-md px-4 py-2 text-sm font-medium transition-colors duration-200"},secondary:{default:()=>"bg-gray-100 text-gray-900 hover:bg-gray-200 active:bg-gray-300 border-transparent focus-visible:ring-2 focus-visible:ring-gray-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed dark:bg-gray-800 dark:text-gray-50 dark:hover:bg-gray-700 dark:active:bg-gray-600 inline-flex items-center justify-center rounded-md px-4 py-2 text-sm font-medium transition-colors duration-200",small:()=>"bg-gray-100 text-gray-900 hover:bg-gray-200 active:bg-gray-300 border-transparent focus-visible:ring-2 focus-visible:ring-gray-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed dark:bg-gray-800 dark:text-gray-50 dark:hover:bg-gray-700 dark:active:bg-gray-600 inline-flex items-center justify-center rounded-md px-3 py-1.5 text-xs font-medium transition-colors duration-200 h-8",large:()=>"bg-gray-100 text-gray-900 hover:bg-gray-200 active:bg-gray-300 border-transparent focus-visible:ring-2 focus-visible:ring-gray-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed dark:bg-gray-800 dark:text-gray-50 dark:hover:bg-gray-700 dark:active:bg-gray-600 inline-flex items-center justify-center rounded-md px-6 py-3 text-base font-medium transition-colors duration-200 h-12",withIcon:()=>"bg-gray-100 text-gray-900 hover:bg-gray-200 active:bg-gray-300 border-transparent focus-visible:ring-2 focus-visible:ring-gray-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed dark:bg-gray-800 dark:text-gray-50 dark:hover:bg-gray-700 dark:active:bg-gray-600 inline-flex items-center justify-center gap-2 rounded-md px-4 py-2 text-sm font-medium transition-colors duration-200"},outline:{default:()=>"bg-transparent hover:bg-gray-50 active:bg-gray-100 text-gray-900 border border-gray-300 focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed dark:bg-transparent dark:hover:bg-gray-800 dark:active:bg-gray-700 dark:text-gray-50 dark:border-gray-600 inline-flex items-center justify-center rounded-md px-4 py-2 text-sm font-medium transition-colors duration-200",small:()=>"bg-transparent hover:bg-gray-50 active:bg-gray-100 text-gray-900 border border-gray-300 focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed dark:bg-transparent dark:hover:bg-gray-800 dark:active:bg-gray-700 dark:text-gray-50 dark:border-gray-600 inline-flex items-center justify-center rounded-md px-3 py-1.5 text-xs font-medium transition-colors duration-200 h-8",large:()=>"bg-transparent hover:bg-gray-50 active:bg-gray-100 text-gray-900 border border-gray-300 focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed dark:bg-transparent dark:hover:bg-gray-800 dark:active:bg-gray-700 dark:text-gray-50 dark:border-gray-600 inline-flex items-center justify-center rounded-md px-6 py-3 text-base font-medium transition-colors duration-200 h-12",withIcon:()=>"bg-transparent hover:bg-gray-50 active:bg-gray-100 text-gray-900 border border-gray-300 focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed dark:bg-transparent dark:hover:bg-gray-800 dark:active:bg-gray-700 dark:text-gray-50 dark:border-gray-600 inline-flex items-center justify-center gap-2 rounded-md px-4 py-2 text-sm font-medium transition-colors duration-200"},destructive:{default:()=>"bg-red-600 text-white hover:bg-red-700 active:bg-red-800 border-transparent focus-visible:ring-2 focus-visible:ring-red-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed dark:bg-red-600 dark:hover:bg-red-700 dark:active:bg-red-800 dark:text-white inline-flex items-center justify-center rounded-md px-4 py-2 text-sm font-medium transition-colors duration-200",outline:()=>"bg-transparent hover:bg-red-50 active:bg-red-100 text-red-600 border border-red-300 focus-visible:ring-2 focus-visible:ring-red-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed dark:hover:bg-red-900/20 dark:text-red-400 dark:border-red-800 inline-flex items-center justify-center rounded-md px-4 py-2 text-sm font-medium transition-colors duration-200",small:()=>"bg-red-600 text-white hover:bg-red-700 active:bg-red-800 border-transparent focus-visible:ring-2 focus-visible:ring-red-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed dark:bg-red-600 dark:hover:bg-red-700 dark:active:bg-red-800 dark:text-white inline-flex items-center justify-center rounded-md px-3 py-1.5 text-xs font-medium transition-colors duration-200 h-8"},ghost:{default:()=>"bg-transparent hover:bg-gray-100 active:bg-gray-200 text-gray-700 border-transparent focus-visible:ring-2 focus-visible:ring-gray-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed dark:bg-transparent dark:hover:bg-gray-800 dark:active:bg-gray-700 dark:text-gray-300 inline-flex items-center justify-center rounded-md px-4 py-2 text-sm font-medium transition-colors duration-200",small:()=>"bg-transparent hover:bg-gray-100 active:bg-gray-200 text-gray-700 border-transparent focus-visible:ring-2 focus-visible:ring-gray-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed dark:bg-transparent dark:hover:bg-gray-800 dark:active:bg-gray-700 dark:text-gray-300 inline-flex items-center justify-center rounded-md px-2 py-1 text-xs font-medium transition-colors duration-200 h-8",icon:()=>"bg-transparent hover:bg-gray-100 active:bg-gray-200 text-gray-700 border-transparent focus-visible:ring-2 focus-visible:ring-gray-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed dark:bg-transparent dark:hover:bg-gray-800 dark:active:bg-gray-700 dark:text-gray-300 inline-flex items-center justify-center rounded-md p-2 transition-colors duration-200 h-10 w-10"},link:{default:()=>"bg-transparent hover:bg-transparent active:bg-transparent text-blue-600 border-transparent underline-offset-4 hover:underline focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed disabled:no-underline dark:text-blue-400 inline-flex items-center justify-center rounded-md px-0 py-0 text-sm font-medium transition-colors duration-200",muted:()=>"bg-transparent hover:bg-transparent active:bg-transparent text-gray-600 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300 border-transparent underline-offset-4 hover:underline focus-visible:ring-2 focus-visible:ring-gray-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed disabled:no-underline inline-flex items-center justify-center rounded-md px-0 py-0 text-sm font-medium transition-colors duration-200"},gradient:{primary:()=>"bg-gradient-to-r from-blue-600 to-purple-600 hover:from-blue-700 hover:to-purple-700 text-white border-transparent shadow-lg hover:shadow-xl focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed inline-flex items-center justify-center rounded-md px-4 py-2 text-sm font-medium transition-all duration-200",secondary:()=>"bg-gradient-to-r from-gray-100 to-gray-200 hover:from-gray-200 hover:to-gray-300 text-gray-900 border-transparent focus-visible:ring-2 focus-visible:ring-gray-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed inline-flex items-center justify-center rounded-md px-4 py-2 text-sm font-medium transition-all duration-200",success:()=>"bg-gradient-to-r from-green-500 to-emerald-600 hover:from-green-600 hover:to-emerald-700 text-white border-transparent shadow-lg hover:shadow-xl focus-visible:ring-2 focus-visible:ring-green-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed inline-flex items-center justify-center rounded-md px-4 py-2 text-sm font-medium transition-all duration-200"},web3:{wallet:()=>"bg-white dark:bg-gray-800 border border-gray-300 dark:border-gray-600 hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-900 dark:text-gray-100 focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed inline-flex items-center justify-center gap-2 rounded-md px-4 py-2 text-sm font-medium transition-colors duration-200",connect:()=>"bg-gradient-to-r from-blue-600 to-purple-600 hover:from-blue-700 hover:to-purple-700 text-white border-transparent shadow-lg hover:shadow-xl focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed inline-flex items-center justify-center gap-2 rounded-md px-4 py-2 text-sm font-medium transition-all duration-200",disconnect:()=>"bg-transparent hover:bg-red-50 active:bg-red-100 text-red-600 border border-red-300 focus-visible:ring-2 focus-visible:ring-red-500 focus-visible:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed dark:hover:bg-red-900/20 dark:text-red-400 dark:border-red-800 inline-flex items-center justify-center gap-2 rounded-md px-4 py-2 text-sm font-medium transition-colors duration-200"}},badge:{default:()=>"bg-gray-100 text-gray-800 dark:bg-gray-800 dark:text-gray-300 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium",primary:()=>"bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-300 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium",success:()=>"bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-300 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium",warning:()=>"bg-amber-100 text-amber-800 dark:bg-amber-900/30 dark:text-amber-300 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium",error:()=>"bg-red-100 text-red-800 dark:bg-red-900/30 dark:text-red-300 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium",ethereum:()=>"bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-300 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium",solana:()=>"bg-purple-100 text-purple-800 dark:bg-purple-900/30 dark:text-purple-300 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium",small:(e="default")=>{const r={default:"bg-gray-100 text-gray-800 dark:bg-gray-800 dark:text-gray-300",primary:"bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-300",success:"bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-300",warning:"bg-amber-100 text-amber-800 dark:bg-amber-900/30 dark:text-amber-300",error:"bg-red-100 text-red-800 dark:bg-red-900/30 dark:text-red-300"};return`${r[e]||r.default} inline-flex items-center px-2 py-0.5 rounded-full text-xs font-medium`},large:(e="default")=>{const r={default:"bg-gray-100 text-gray-800 dark:bg-gray-800 dark:text-gray-300",primary:"bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-300",success:"bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-300",warning:"bg-amber-100 text-amber-800 dark:bg-amber-900/30 dark:text-amber-300",error:"bg-red-100 text-red-800 dark:bg-red-900/30 dark:text-red-300"};return`${r[e]||r.default} inline-flex items-center px-3 py-1 rounded-full text-sm font-medium`}},input:{default:()=>"bg-gray-50 dark:bg-gray-800 border-gray-300 dark:border-gray-600 text-gray-900 dark:text-gray-100 focus:border-blue-500 focus:ring-blue-500 dark:focus:border-blue-400 dark:focus:ring-blue-400 block w-full rounded-md px-3 py-2 text-sm placeholder:text-gray-500 dark:placeholder:text-gray-400 transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2",search:()=>"bg-gray-50 dark:bg-gray-800 border-gray-300 dark:border-gray-600 text-gray-900 dark:text-gray-100 focus:border-blue-500 focus:ring-blue-500 dark:focus:border-blue-400 dark:focus:ring-blue-400 block w-full rounded-md px-3 py-2 text-sm placeholder:text-gray-500 dark:placeholder:text-gray-400 transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2",error:()=>"bg-gray-50 dark:bg-gray-800 border-red-300 dark:border-red-700 text-gray-900 dark:text-gray-100 focus:border-red-500 focus:ring-red-500 block w-full rounded-md px-3 py-2 text-sm placeholder:text-gray-500 dark:placeholder:text-gray-400 transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2",small:()=>"bg-gray-50 dark:bg-gray-800 border-gray-300 dark:border-gray-600 text-gray-900 dark:text-gray-100 focus:border-blue-500 focus:ring-blue-500 dark:focus:border-blue-400 dark:focus:ring-blue-400 block w-full rounded-md px-2 py-1.5 text-xs placeholder:text-gray-500 dark:placeholder:text-gray-400 transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2",large:()=>"bg-gray-50 dark:bg-gray-800 border-gray-300 dark:border-gray-600 text-gray-900 dark:text-gray-100 focus:border-blue-500 focus:ring-blue-500 dark:focus:border-blue-400 dark:focus:ring-blue-400 block w-full rounded-md px-4 py-3 text-base placeholder:text-gray-500 dark:placeholder:text-gray-400 transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2",withIcon:()=>"bg-gray-50 dark:bg-gray-800 border-gray-300 dark:border-gray-600 text-gray-900 dark:text-gray-100 focus:border-blue-500 focus:ring-blue-500 dark:focus:border-blue-400 dark:focus:ring-blue-400 block w-full rounded-md pl-10 pr-3 py-2 text-sm placeholder:text-gray-500 dark:placeholder:text-gray-400 transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2"},alert:{info:()=>"bg-blue-50 border-blue-200 dark:bg-blue-900/20 dark:border-blue-800 text-blue-800 dark:text-blue-200 rounded-md border p-4 flex items-start gap-3",success:()=>"bg-green-50 border-green-200 dark:bg-green-900/20 dark:border-green-800 text-green-800 dark:text-green-200 rounded-md border p-4 flex items-start gap-3",warning:()=>"bg-amber-50 border-amber-200 dark:bg-amber-900/20 dark:border-amber-800 text-amber-800 dark:text-amber-200 rounded-md border p-4 flex items-start gap-3",attention:()=>"bg-amber-50 border-amber-200 dark:bg-amber-900/20 dark:border-amber-800 text-amber-800 dark:text-amber-200 rounded-md border p-4 flex items-start gap-3",error:()=>"bg-red-50 border-red-200 dark:bg-red-900/20 dark:border-red-800 text-red-800 dark:text-red-200 rounded-md border p-4 flex items-start gap-3",compact:{info:()=>"bg-blue-50 border-blue-200 dark:bg-blue-900/20 dark:border-blue-800 text-blue-800 dark:text-blue-200 rounded border px-3 py-2 text-sm",success:()=>"bg-green-50 border-green-200 dark:bg-green-900/20 dark:border-green-800 text-green-800 dark:text-green-200 rounded border px-3 py-2 text-sm",warning:()=>"bg-amber-50 border-amber-200 dark:bg-amber-900/20 dark:border-amber-800 text-amber-800 dark:text-amber-200 rounded border px-3 py-2 text-sm",attention:()=>"bg-amber-50 border-amber-200 dark:bg-amber-900/20 dark:border-amber-800 text-amber-800 dark:text-amber-200 rounded border px-3 py-2 text-sm",error:()=>"bg-red-50 border-red-200 dark:bg-red-900/20 dark:border-red-800 text-red-800 dark:text-red-200 rounded border px-3 py-2 text-sm"}},navigation:{tabs:{root:()=>"",list:()=>"inline-flex h-10 items-center justify-center rounded-md bg-gray-100 dark:bg-gray-800 p-1 text-gray-500 dark:text-gray-400",listUnderlined:()=>"flex border-b border-gray-200 dark:border-gray-700",listPills:()=>"flex space-x-1 bg-gray-100 dark:bg-gray-800 rounded-lg p-1",trigger:()=>"inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-white transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-white data-[state=active]:text-gray-950 data-[state=active]:shadow-sm dark:ring-offset-gray-950 dark:focus-visible:ring-blue-400 dark:data-[state=active]:bg-gray-950 dark:data-[state=active]:text-gray-50",triggerUnderlined:()=>"inline-flex items-center justify-center whitespace-nowrap px-4 py-2 text-sm font-medium text-gray-500 dark:text-gray-400 border-b-2 border-transparent hover:text-gray-700 dark:hover:text-gray-300 hover:border-gray-300 dark:hover:border-gray-600 focus:outline-none focus:text-blue-600 focus:border-blue-600 dark:focus:text-blue-400 dark:focus:border-blue-400 data-[state=active]:text-blue-600 data-[state=active]:border-blue-600 dark:data-[state=active]:text-blue-400 dark:data-[state=active]:border-blue-400 transition-colors",triggerPills:()=>"inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1.5 text-sm font-medium text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-100 hover:bg-white dark:hover:bg-gray-700 focus:outline-none focus:ring-2 focus:ring-blue-500 data-[state=active]:bg-white data-[state=active]:text-gray-900 data-[state=active]:shadow-sm dark:data-[state=active]:bg-gray-700 dark:data-[state=active]:text-gray-100 transition-all",content:()=>"mt-2 ring-offset-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 dark:ring-offset-gray-950 dark:focus-visible:ring-blue-400"}},icon:{variant:{default:{xs:()=>"h-3 w-3 text-gray-500 dark:text-gray-400",sm:()=>"h-4 w-4 text-gray-500 dark:text-gray-400",md:()=>"h-5 w-5 text-gray-500 dark:text-gray-400",lg:()=>"h-6 w-6 text-gray-500 dark:text-gray-400",xl:()=>"h-8 w-8 text-gray-500 dark:text-gray-400"},success:{xs:()=>"h-3 w-3 text-green-600 dark:text-green-400",sm:()=>"h-4 w-4 text-green-600 dark:text-green-400",md:()=>"h-5 w-5 text-green-600 dark:text-green-400",lg:()=>"h-6 w-6 text-green-600 dark:text-green-400",xl:()=>"h-8 w-8 text-green-600 dark:text-green-400"},warning:{xs:()=>"h-3 w-3 text-amber-600 dark:text-amber-400",sm:()=>"h-4 w-4 text-amber-600 dark:text-amber-400",md:()=>"h-5 w-5 text-amber-600 dark:text-amber-400",lg:()=>"h-6 w-6 text-amber-600 dark:text-amber-400",xl:()=>"h-8 w-8 text-amber-600 dark:text-amber-400"},error:{xs:()=>"h-3 w-3 text-red-600 dark:text-red-400",sm:()=>"h-4 w-4 text-red-600 dark:text-red-400",md:()=>"h-5 w-5 text-red-600 dark:text-red-400",lg:()=>"h-6 w-6 text-red-600 dark:text-red-400",xl:()=>"h-8 w-8 text-red-600 dark:text-red-400"},muted:{xs:()=>"h-3 w-3 text-gray-400 dark:text-gray-500",sm:()=>"h-4 w-4 text-gray-400 dark:text-gray-500",md:()=>"h-5 w-5 text-gray-400 dark:text-gray-500",lg:()=>"h-6 w-6 text-gray-400 dark:text-gray-500",xl:()=>"h-8 w-8 text-gray-400 dark:text-gray-500"}}},overlays:{modal:{backdrop:()=>"fixed inset-0 z-40 bg-black/50 dark:bg-black/70 backdrop-blur-sm transition-all duration-300 ease-out",backdropEntering:()=>"opacity-0",backdropEntered:()=>"opacity-100",backdropExiting:()=>"opacity-0",container:()=>"fixed inset-0 z-50 flex items-center justify-center p-4 transition-all duration-300 ease-out",containerEntering:()=>"opacity-0 scale-95",containerEntered:()=>"opacity-100 scale-100",containerExiting:()=>"opacity-0 scale-95",content:()=>"relative w-full max-w-lg bg-white dark:bg-gray-900 rounded-lg shadow-xl border border-gray-200 dark:border-gray-700 max-h-[80vh] overflow-hidden",small:()=>"max-w-sm",medium:()=>"max-w-lg",large:()=>"max-w-2xl",extraLarge:()=>"max-w-4xl",fullWidth:()=>"max-w-[95vw]",header:()=>"flex items-center justify-between p-4 sm:p-6 border-b border-gray-200 dark:border-gray-700",title:()=>"text-lg font-semibold text-gray-900 dark:text-gray-100",closeButton:()=>"p-1 hover:bg-gray-100 dark:hover:bg-gray-700 rounded-md transition-colors",body:()=>"p-4 sm:p-6 overflow-y-auto",footer:()=>"flex items-center justify-end space-x-3 p-4 sm:p-6 border-t border-gray-200 dark:border-gray-700 bg-gray-50 dark:bg-gray-800/50"},dropdown:{container:()=>"relative inline-block",trigger:()=>"inline-flex justify-center items-center bg-transparent border-0 text-gray-900 dark:text-gray-100 focus:outline-none transition-colors",triggerBordered:()=>"inline-flex justify-center items-center bg-white dark:bg-gray-800 border border-gray-300 dark:border-gray-600 text-gray-900 dark:text-gray-100 hover:bg-gray-50 dark:hover:bg-gray-700 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 dark:ring-offset-gray-950 transition-colors",menu:()=>"absolute z-50 w-56 bg-white dark:bg-gray-800 rounded-md shadow-lg focus:outline-none transition-all duration-200",menuSmall:()=>"w-40",menuLarge:()=>"w-72",menuAuto:()=>"w-auto min-w-40",menuTop:()=>"bottom-full mb-1",menuBottom:()=>"top-full mt-1",menuLeft:()=>"right-0",menuRight:()=>"left-0",menuEntering:()=>"opacity-0 scale-95 transform origin-top",menuEntered:()=>"opacity-100 scale-100 transform origin-top",menuExiting:()=>"opacity-0 scale-95 transform origin-top",itemContainer:()=>"py-1 px-1",item:()=>"flex items-center w-full text-left px-4 py-2 text-sm text-gray-700 dark:text-gray-300 hover:bg-blue-50 dark:hover:bg-blue-900/20 hover:text-blue-700 dark:hover:text-blue-300 transition-all duration-200 cursor-pointer hover:shadow-sm rounded-sm",itemActive:()=>"bg-blue-100 dark:bg-blue-900/30 text-blue-700 dark:text-blue-300 shadow-sm",itemDisabled:()=>"text-gray-400 dark:text-gray-600 cursor-not-allowed hover:bg-transparent hover:text-gray-400 dark:hover:text-gray-600",divider:()=>"my-1 border-t border-gray-200 dark:border-gray-700",header:()=>"px-4 py-2 text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wide",itemIcon:()=>"mr-3 h-4 w-4 flex-shrink-0",itemIconRight:()=>"ml-auto h-4 w-4 flex-shrink-0"}}},In={success:"bg-green-500",error:"bg-red-500",warning:"bg-orange-500",attention:"bg-amber-500",info:"bg-blue-500",neutral:"bg-gray-500"};function Te(e){return In[e]}const Ln={default:"bg-white dark:bg-gray-800",bordered:"bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700",elevated:"bg-white dark:bg-gray-800 shadow-md",info:"bg-blue-50 dark:bg-blue-900/20 border border-blue-200 dark:border-blue-800 text-blue-900 dark:text-blue-300",success:"bg-green-50 dark:bg-green-900/20 border border-green-200 dark:border-green-800 text-green-900 dark:text-green-300",warning:"bg-orange-50 dark:bg-orange-900/20 border border-orange-200 dark:border-orange-800 text-orange-900 dark:text-orange-300",attention:"bg-amber-50 dark:bg-amber-900/20 border border-amber-200 dark:border-amber-800 text-amber-900 dark:text-amber-300",error:"bg-red-50 dark:bg-red-900/20 border border-red-200 dark:border-red-800 text-red-900 dark:text-red-300"};function Pn(e){return Ln[e]}const Mn={default:{container:"bg-gradient-to-r from-blue-600/10 to-purple-600/10 border border-blue-200 text-blue-600 backdrop-blur-sm",icon:"text-blue-600"},premium:{container:"bg-gradient-to-r from-blue-600/10 to-purple-600/10 border border-blue-200 text-blue-600 backdrop-blur-sm",icon:"text-blue-600"},primary:{container:"bg-gradient-to-r from-blue-600/10 to-purple-600/10 border border-blue-200 text-blue-600 backdrop-blur-sm",icon:"text-blue-600"},light:{container:"bg-white/20 border border-white/30 text-white backdrop-blur-sm",icon:"text-white"}};function On(e){return Mn[e]}const Un=({label:e,labelPosition:r="center",orientation:a="horizontal",spacing:n="md",thickness:o="thin",variant:s="light",className:i,lineClassName:l})=>{const d={horizontal:{none:"my-0",sm:"my-2",md:"my-4",lg:"my-6",xl:"my-8"},vertical:{none:"mx-0",sm:"mx-2",md:"mx-4",lg:"mx-6",xl:"mx-8"}},c={horizontal:{thin:"border-t",medium:"border-t-2",thick:"border-t-4"},vertical:{thin:"border-l",medium:"border-l-2",thick:"border-l-4"}},u={light:"border-gray-200 dark:border-gray-700",medium:"border-gray-300 dark:border-gray-600",dark:"border-gray-400 dark:border-gray-500"};if(a==="vertical")return t.jsx("div",{className:b("self-stretch",c.vertical[o],u[s],d.vertical[n],i),role:"separator","aria-orientation":"vertical"});if(!e)return t.jsx("hr",{className:b(c.horizontal[o],u[s],d.horizontal[n],l,i),role:"separator","aria-orientation":"horizontal"});const h={left:"justify-start",center:"justify-center",right:"justify-end"};return t.jsxs("div",{className:b("flex items-center",d.horizontal[n],h[r],i),role:"separator","aria-orientation":"horizontal",children:[r!=="left"&&t.jsx("div",{className:b("flex-1",c.horizontal[o],u[s],l)}),t.jsx("span",{className:b(O.body.sm(),"px-3 text-gray-500 dark:text-gray-400 whitespace-nowrap"),children:e}),r!=="right"&&t.jsx("div",{className:b("flex-1",c.horizontal[o],u[s],l)})]})},Dn=({orientation:e="horizontal",spacing:r="md",thickness:a="thin",className:n})=>{const o={horizontal:{none:"",sm:"my-1",md:"my-2",lg:"my-4"},vertical:{none:"",sm:"mx-1",md:"mx-2",lg:"mx-4"}},s={horizontal:{thin:"h-px",medium:"h-0.5",thick:"h-1"},vertical:{thin:"w-px",medium:"w-0.5",thick:"w-1"}},i=e==="horizontal";return t.jsx("div",{role:"separator","aria-orientation":e,className:b("bg-gray-200 dark:bg-gray-700",i?"w-full":"h-full",s[e][a],o[e][r],n)})},jn=({children:e,variant:r="blue",position:a="left",width:n="thick",padding:o="md",className:s})=>{const i={blue:"border-blue-500 dark:border-blue-400",green:"border-green-500 dark:border-green-400",purple:"border-purple-500 dark:border-purple-400",indigo:"border-indigo-500 dark:border-indigo-400",emerald:"border-emerald-500 dark:border-emerald-400",orange:"border-orange-500 dark:border-orange-400",red:"border-red-500 dark:border-red-400",gray:"border-gray-400 dark:border-gray-500"},l={left:"border-l",right:"border-r",top:"border-t",bottom:"border-b"},d={thin:"2",medium:"3",thick:"4"},c={left:{sm:"pl-3",md:"pl-4",lg:"pl-6"},right:{sm:"pr-3",md:"pr-4",lg:"pr-6"},top:{sm:"pt-3",md:"pt-4",lg:"pt-6"},bottom:{sm:"pb-3",md:"pb-4",lg:"pb-6"}},u=`${l[a]}-${d[n]}`;return t.jsx("div",{className:b(u,i[r],c[a][o],s),children:e})},_n=({children:e,title:r,position:a="bottom-right",collapsible:n=!0,defaultCollapsed:o=!1,closeable:s=!1,onClose:i,className:l})=>{const[d,c]=k.useState(o),u={"bottom-right":"bottom-4 right-4","bottom-left":"bottom-4 left-4","top-right":"top-4 right-4","top-left":"top-4 left-4"};return t.jsxs("div",{className:b("fixed z-50 w-80","bg-white dark:bg-gray-900","border border-gray-300 dark:border-gray-700","rounded-lg shadow-2xl",u[a],l),children:[(r||n||s)&&t.jsxs("div",{className:"flex items-center justify-between p-4 border-b border-gray-200 dark:border-gray-700",children:[r&&t.jsx("h3",{className:"font-semibold text-gray-900 dark:text-white",children:r}),t.jsxs("div",{className:"flex items-center gap-2",children:[n&&t.jsx("button",{onClick:()=>c(!d),className:"p-1 hover:bg-gray-100 dark:hover:bg-gray-800 rounded transition-colors","aria-label":d?"Expand":"Collapse",children:t.jsx("svg",{className:b("w-4 h-4 text-gray-600 dark:text-gray-400 transition-transform",d&&"rotate-180"),fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:t.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})}),s&&t.jsx("button",{onClick:i,className:"p-1 hover:bg-gray-100 dark:hover:bg-gray-800 rounded transition-colors","aria-label":"Close",children:t.jsx("svg",{className:"w-4 h-4 text-gray-600 dark:text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:t.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]})]}),!d&&t.jsx("div",{className:"p-4",children:e})]})},zn=({left:e,right:r,direction:a="horizontal",initialSplit:n=.5,split:o,onSplitChange:s,minLeftSize:i=100,minRightSize:l=100,dividerSize:d=8,resizable:c=!0,className:u})=>{const[h,p]=k.useState(n),[m,f]=k.useState(!1),y=k.useRef(null),v=o!==void 0?o:h,A=E=>{c&&(E.preventDefault(),f(!0))};k.useEffect(()=>{if(!m)return;const E=C=>{const I=y.current;if(!I)return;const S=I.getBoundingClientRect();let L;a==="horizontal"?L=(C.clientX-S.left)/S.width:L=(C.clientY-S.top)/S.height,L=Math.max(0,Math.min(1,L));const w=a==="horizontal"?S.width:S.height,M=typeof i=="string"?parseFloat(i)/100*w:i,D=typeof l=="string"?parseFloat(l)/100*w:l,U=M/w,B=1-D/w;L=Math.max(U,Math.min(B,L)),o!==void 0&&s?s(L):p(L)},x=()=>{f(!1)};return document.addEventListener("mousemove",E),document.addEventListener("mouseup",x),()=>{document.removeEventListener("mousemove",E),document.removeEventListener("mouseup",x)}},[m,a,i,l,o,s]),k.useEffect(()=>(m?(document.body.style.userSelect="none",document.body.style.cursor=a==="horizontal"?"col-resize":"row-resize"):(document.body.style.userSelect="",document.body.style.cursor=""),()=>{document.body.style.userSelect="",document.body.style.cursor=""}),[m,a]);const N=a==="horizontal";return t.jsxs("div",{ref:y,className:b("w-full h-full flex",N?"flex-row":"flex-col",u),children:[t.jsx("div",{className:"overflow-auto",style:{[N?"width":"height"]:`${v*100}%`},children:e}),t.jsx("div",{onMouseDown:A,className:b("flex-shrink-0 group","bg-gray-300 dark:bg-gray-700",c&&"hover:bg-blue-500 dark:hover:bg-blue-400","transition-colors",m&&"bg-blue-500 dark:bg-blue-400",N?"cursor-col-resize":"cursor-row-resize",!c&&"cursor-default"),style:{[N?"width":"height"]:`${d}px`},children:c&&t.jsx("div",{className:b("flex items-center justify-center w-full h-full","text-gray-600 dark:text-gray-400","group-hover:text-white",m&&"text-white"),children:N?t.jsxs("svg",{className:"w-4 h-4",fill:"currentColor",viewBox:"0 0 24 24",children:[t.jsx("circle",{cx:"10",cy:"6",r:"1.5"}),t.jsx("circle",{cx:"10",cy:"12",r:"1.5"}),t.jsx("circle",{cx:"10",cy:"18",r:"1.5"}),t.jsx("circle",{cx:"14",cy:"6",r:"1.5"}),t.jsx("circle",{cx:"14",cy:"12",r:"1.5"}),t.jsx("circle",{cx:"14",cy:"18",r:"1.5"})]}):t.jsxs("svg",{className:"w-4 h-4",fill:"currentColor",viewBox:"0 0 24 24",children:[t.jsx("circle",{cx:"6",cy:"10",r:"1.5"}),t.jsx("circle",{cx:"12",cy:"10",r:"1.5"}),t.jsx("circle",{cx:"18",cy:"10",r:"1.5"}),t.jsx("circle",{cx:"6",cy:"14",r:"1.5"}),t.jsx("circle",{cx:"12",cy:"14",r:"1.5"}),t.jsx("circle",{cx:"18",cy:"14",r:"1.5"})]})})}),t.jsx("div",{className:"overflow-auto flex-1",style:{[N?"width":"height"]:`${(1-v)*100}%`},children:r})]})},Bn=({children:e,defaultWidth:r=300,defaultHeight:a=200,minWidth:n=100,minHeight:o=100,maxWidth:s,maxHeight:i,directions:l=["right","bottom","bottom-right"],onResize:d,onResizeEnd:c,showHandles:u=!0,className:h})=>{const[p,m]=k.useState(r),[f,y]=k.useState(a),[v,A]=k.useState(!1),[N,E]=k.useState(null),x=k.useRef(null),C=k.useRef({x:0,y:0,width:0,height:0}),I=w=>M=>{M.preventDefault(),M.stopPropagation(),A(!0),E(w),C.current={x:M.clientX,y:M.clientY,width:p,height:f}};k.useEffect(()=>{if(!v||!N)return;const w=D=>{const U=D.clientX-C.current.x,B=D.clientY-C.current.y;let z=C.current.width,F=C.current.height;N.includes("right")?z=C.current.width+U:N.includes("left")&&(z=C.current.width-U),N.includes("bottom")?F=C.current.height+B:N.includes("top")&&(F=C.current.height-B),z=Math.max(n,z),F=Math.max(o,F),s&&(z=Math.min(s,z)),i&&(F=Math.min(i,F)),m(z),y(F),d&&d(z,F)},M=()=>{A(!1),E(null),c&&c(p,f)};return document.addEventListener("mousemove",w),document.addEventListener("mouseup",M),()=>{document.removeEventListener("mousemove",w),document.removeEventListener("mouseup",M)}},[v,N,p,f,n,o,s,i,d,c]);const S=k.useCallback(w=>({top:"ns-resize",right:"ew-resize",bottom:"ns-resize",left:"ew-resize","top-left":"nwse-resize","top-right":"nesw-resize","bottom-left":"nesw-resize","bottom-right":"nwse-resize"})[w],[]);k.useEffect(()=>(v?(document.body.style.userSelect="none",document.body.style.cursor=S(N)):(document.body.style.userSelect="",document.body.style.cursor=""),()=>{document.body.style.userSelect="",document.body.style.cursor=""}),[v,N,S]);const L=w=>{if(!l.includes(w))return null;const M={top:"top-0 left-0 right-0 h-1 cursor-ns-resize",right:"top-0 right-0 bottom-0 w-1 cursor-ew-resize",bottom:"bottom-0 left-0 right-0 h-1 cursor-ns-resize",left:"top-0 left-0 bottom-0 w-1 cursor-ew-resize","top-left":"top-0 left-0 w-3 h-3 cursor-nwse-resize","top-right":"top-0 right-0 w-3 h-3 cursor-nesw-resize","bottom-left":"bottom-0 left-0 w-3 h-3 cursor-nesw-resize","bottom-right":"bottom-0 right-0 w-3 h-3 cursor-nwse-resize"};return t.jsx("div",{className:b("absolute z-10",u&&"bg-blue-500 dark:bg-blue-400 opacity-0 hover:opacity-50",M[w]),onMouseDown:I(w)},w)};return t.jsxs("div",{ref:x,className:b("relative",h),style:{width:`${p}px`,height:`${f}px`},children:[e,["top","right","bottom","left","top-left","top-right","bottom-left","bottom-right"].map(L)]})},Wn=({className:e,children:r,disabled:a=!1,onClick:n})=>t.jsx("div",{className:b("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",a&&"opacity-50 cursor-not-allowed","hover:bg-gray-50 dark:hover:bg-gray-800",e),onClick:a?void 0:n,role:"region","aria-label":"UresizableUpanels",children:r||"UresizableUpanels Component"}),Fn=({children:e,maxHeight:r,hideScrollbar:a=!1,direction:n="vertical",className:o})=>{const s={vertical:"overflow-y-auto overflow-x-hidden",horizontal:"overflow-x-auto overflow-y-hidden",both:"overflow-auto"},i=a?"scrollbar-hide":b("scrollbar-thin","scrollbar-thumb-gray-300 dark:scrollbar-thumb-gray-600","scrollbar-track-gray-100 dark:scrollbar-track-gray-800","hover:scrollbar-thumb-gray-400 dark:hover:scrollbar-thumb-gray-500"),l=typeof r=="number"?`${r}px`:r;return t.jsx("div",{className:b("relative",s[n],i,o),style:l?{maxHeight:l}:void 0,children:e})},Vn=({children:e,columns:r=3,gap:a=16,breakpoints:n,className:o})=>{const[s,i]=k.useState(r),l=k.useRef(null);k.useEffect(()=>{if(!n)return;const u=()=>{const h=window.innerWidth,p=Object.keys(n).map(Number).sort((m,f)=>f-m);for(const m of p)if(h>=m){i(n[m]);return}i(r)};return u(),window.addEventListener("resize",u),()=>window.removeEventListener("resize",u)},[n,r]);const d=k.Children.toArray(e),c=Array.from({length:s},()=>[]);return d.forEach((u,h)=>{c[h%s].push(u)}),t.jsx("div",{ref:l,className:b("flex",o),style:{gap:`${a}px`},children:c.map((u,h)=>t.jsx("div",{className:"flex-1 flex flex-col",style:{gap:`${a}px`},children:u},h))})},be=({children:e,container:r})=>{const[a,n]=k.useState(!1);if(k.useEffect(()=>(n(!0),()=>n(!1)),[]),!a)return null;const o=r||document.body;return ot.createPortal(e,o)},Qe=({isOpen:e,onClose:r,children:a,blur:n=!1,opacity:o="medium",zIndex:s=40,lockScroll:i=!0,className:l})=>{if(k.useEffect(()=>{if(i){if(e){const c=window.innerWidth-document.documentElement.clientWidth;document.body.style.overflow="hidden",document.body.style.paddingRight=`${c}px`}else document.body.style.overflow="",document.body.style.paddingRight="";return()=>{document.body.style.overflow="",document.body.style.paddingRight=""}}},[e,i]),!e)return null;const d={light:"bg-black/20 dark:bg-black/30",medium:"bg-black/50 dark:bg-black/60",dark:"bg-black/75 dark:bg-black/85"};return t.jsx(be,{children:t.jsx("div",{className:b("fixed inset-0","transition-opacity duration-300",n&&"backdrop-blur-sm",d[o],l),style:{zIndex:s},onClick:r,"aria-hidden":"true",children:a&&t.jsx("div",{className:"relative h-full w-full",onClick:c=>c.stopPropagation(),children:a})})})},qn=({children:e,as:r="p",size:a="base",weight:n="normal",color:o="default",align:s,transform:i="none",truncate:l=!1,lineClamp:d,className:c})=>{const u={xs:"text-xs",sm:"text-sm",base:"text-base",lg:"text-lg",xl:"text-xl","2xl":"text-2xl","3xl":"text-3xl","4xl":"text-4xl"},h={light:"font-light",normal:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold"},p={default:"text-gray-900 dark:text-gray-100",muted:"text-gray-600 dark:text-gray-400",primary:"text-blue-600 dark:text-blue-400",success:"text-green-600 dark:text-green-400",warning:"text-yellow-600 dark:text-yellow-400",danger:"text-red-600 dark:text-red-400"},m=s?{left:"text-left",center:"text-center",right:"text-right",justify:"text-justify"}[s]:"",f={none:"",uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize"},y=d?{display:"-webkit-box",WebkitLineClamp:d,WebkitBoxOrient:"vertical",overflow:"hidden"}:void 0;return t.jsx(r,{className:b(u[a],h[n],p[o],m,f[i],l&&"truncate",d&&"overflow-hidden",c),style:y,children:e})},$n=({children:e,level:r=2,size:a,weight:n="bold",color:o="default",align:s,className:i})=>{const d=a||{1:"4xl",2:"3xl",3:"2xl",4:"xl",5:"lg",6:"base"}[r],c={"4xl":"text-4xl","3xl":"text-3xl","2xl":"text-2xl",xl:"text-xl",lg:"text-lg",base:"text-base"},u={normal:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold",extrabold:"font-extrabold"},h={default:"text-gray-900 dark:text-gray-100",muted:"text-gray-700 dark:text-gray-300",primary:"text-blue-600 dark:text-blue-400"},p=s?{left:"text-left",center:"text-center",right:"text-right"}[s]:"",m=`h${r}`;return k.createElement(m,{className:b(c[d],u[n],h[o],p,i)},e)},Hn=Z.cva("",{variants:{variant:{hero:O.heading.display.hero(),display:O.heading.display.lg(),h1:O.heading.h1(),h2:O.heading.h2(),h3:O.heading.h3()},responsive:{true:"",false:""},align:{left:"text-left",center:"text-center",right:"text-right"},color:{default:"text-gray-900 dark:text-white",muted:"text-gray-600 dark:text-gray-400",vibrant:"text-white",brand:"bg-gradient-to-r from-blue-600 to-purple-600 bg-clip-text text-transparent"}},defaultVariants:{variant:"h1",responsive:!0,align:"left",color:"default"}}),Gn=({children:e,variant:r="h1",responsive:a=!0,align:n="left",color:o="default",className:s,as:i})=>{const l=i||(r==="hero"||r==="display"||r==="h1"?"h1":r==="h2"?"h2":"h3");return t.jsx(l,{className:b(Hn({variant:r,responsive:a,align:n,color:o}),s),children:e})},Yn=Z.cva("",{variants:{variant:{h2:O.heading.h2(),h3:O.heading.h3(),h4:O.heading.h4(),h5:O.heading.h5(),h6:O.heading.h6()},spacing:{none:"",sm:"mb-2",md:"mb-4",lg:"mb-6",xl:"mb-8"},align:{left:"text-left",center:"text-center",right:"text-right"}},defaultVariants:{variant:"h2",spacing:"md",align:"left"}}),Kn=({children:e,variant:r="h2",spacing:a="md",align:n="left",className:o,as:s})=>{const i=s||r;return k.createElement(i,{className:b(Yn({variant:r,spacing:a,align:n}),o)},e)},Zn=Z.cva("",{variants:{variant:{body:O.body.md(),lead:O.body.lg(),large:O.body.lg(),small:O.body.sm(),caption:O.body.xs()},color:{default:"text-gray-700 dark:text-gray-300",muted:"text-gray-500 dark:text-gray-500",primary:"text-gray-900 dark:text-white"},align:{left:"text-left",center:"text-center",right:"text-right",justify:"text-justify"}},defaultVariants:{variant:"body",color:"default",align:"left"}}),Qn=({children:e,variant:r="body",color:a="default",align:n="left",className:o,as:s="p"})=>k.createElement(s,{className:b(Zn({variant:r,color:a,align:n}),o)},e),Xn=Z.cva(O.link.default(),{variants:{variant:{default:O.link.default(),subtle:O.link.subtle(),muted:O.link.muted(),button:"inline-flex items-center justify-center px-4 py-2 rounded-md bg-blue-600 text-white hover:bg-blue-700 transition-colors"},external:{true:"inline-flex items-center gap-1",false:""}},defaultVariants:{variant:"default",external:!1}}),Jn=({children:e,href:r,variant:a="default",external:n=!1,className:o,target:s,rel:i})=>t.jsxs("a",{href:r,target:s||(n?"_blank":void 0),rel:i||(n?"noopener noreferrer":void 0),className:b(Xn({variant:a,external:n}),o),children:[e,n&&t.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:t.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"})})]}),Rn=({children:e,size:r="md",variant:a="default",className:n})=>{const o={sm:"text-xs px-1 py-0.5",md:"text-sm px-1.5 py-0.5",lg:"text-base px-2 py-1"},s={default:"bg-gray-100 dark:bg-gray-800 text-gray-900 dark:text-gray-100",primary:"bg-blue-50 dark:bg-blue-900/30 text-blue-700 dark:text-blue-300",success:"bg-green-50 dark:bg-green-900/30 text-green-700 dark:text-green-300",warning:"bg-yellow-50 dark:bg-yellow-900/30 text-yellow-700 dark:text-yellow-300",danger:"bg-red-50 dark:bg-red-900/30 text-red-700 dark:text-red-300"};return t.jsx("code",{className:b("inline-block font-mono font-medium rounded",o[r],s[a],n),children:e})},eo=({children:e,variant:r="primary",size:a="md",inline:n=!1,align:o="left",className:s,wrap:i=!1})=>{const l={primary:"text-blue-600 dark:text-blue-400 bg-blue-50 dark:bg-blue-900/30",secondary:"text-purple-600 dark:text-purple-400 bg-purple-50 dark:bg-purple-900/30",success:"text-green-600 dark:text-green-400 bg-green-50 dark:bg-green-900/30",warning:"text-yellow-700 dark:text-yellow-400 bg-yellow-50 dark:bg-yellow-900/30",neutral:"text-gray-700 dark:text-gray-300 bg-gray-100 dark:bg-gray-800"},d={xs:{text:"text-xs",padding:n?"px-1.5 py-0.5":"px-2 py-1"},sm:{text:"text-sm",padding:n?"px-2 py-0.5":"px-3 py-1.5"},md:{text:"text-base",padding:n?"px-2.5 py-1":"px-4 py-2"},lg:{text:"text-lg",padding:n?"px-3 py-1":"px-4 py-2"}},c={left:"text-left",center:"text-center",right:"text-right"},u=d[a],h=n?"code":"div";return t.jsx(h,{className:b("font-mono rounded-lg",l[r],u.text,u.padding,!n&&c[o],n?"inline-block":"block",!i&&"overflow-x-auto whitespace-nowrap",i&&"break-all",s),children:e})},ro=({children:e,size:r="md",className:a})=>{const n={sm:"text-xs px-1.5 py-0.5",md:"text-sm px-2 py-1",lg:"text-base px-2.5 py-1.5"};return t.jsx("kbd",{className:b("inline-flex items-center justify-center","font-mono font-semibold","bg-gray-100 dark:bg-gray-800","text-gray-900 dark:text-gray-100","border border-gray-300 dark:border-gray-600","rounded shadow-sm",n[r],a),children:e})},to=({children:e,cite:r,variant:a="default",size:n="md",className:o})=>{const s={sm:"text-sm p-3",md:"text-base p-4",lg:"text-lg p-6"},i={sm:"text-xs",md:"text-sm",lg:"text-base"},l={default:"border-l-4 border-gray-300 dark:border-gray-600 bg-gray-50 dark:bg-gray-800/50",bordered:"border border-gray-300 dark:border-gray-600 bg-white dark:bg-gray-800",accent:"border-l-4 border-blue-500 dark:border-blue-400 bg-blue-50 dark:bg-blue-900/20"};return t.jsxs("blockquote",{className:b("rounded-r-lg",s[n],l[a],o),children:[t.jsx("p",{className:"text-gray-800 dark:text-gray-200 italic",children:e}),r&&t.jsxs("footer",{className:b("mt-2 text-gray-600 dark:text-gray-400",i[n]),children:["— ",t.jsx("cite",{className:"not-italic font-medium",children:r})]})]})},ao=({children:e,variant:r="default",showIcon:a=!1,size:n="sm",className:o})=>{const s={sm:"text-sm",base:"text-base"},i={sm:"h-4 w-4",base:"h-5 w-5"},d={default:{text:"text-gray-600 dark:text-gray-400",icon:P.InformationCircleIcon},error:{text:"text-red-600 dark:text-red-400",icon:P.ExclamationCircleIcon},success:{text:"text-green-600 dark:text-green-400",icon:P.CheckCircleIcon},warning:{text:"text-yellow-600 dark:text-yellow-400",icon:P.ExclamationCircleIcon}}[r],c=d.icon;return t.jsxs("div",{className:b("flex items-start gap-1.5",o),children:[a&&t.jsx(c,{className:b(i[n],d.text,"flex-shrink-0 mt-0.5")}),t.jsx("p",{className:b(s[n],d.text),children:e})]})},no=({className:e,children:r,disabled:a=!1,onClick:n})=>t.jsx("div",{className:b("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",a&&"opacity-50 cursor-not-allowed","hover:bg-gray-50 dark:hover:bg-gray-800",e),onClick:a?void 0:n,role:"region","aria-label":"UscreenUreaderUtext",children:r||"UscreenUreaderUtext Component"}),oo=({children:e,maxLength:r=50,position:a="end",ellipsis:n="...",showTooltip:o=!0,className:s})=>{const i=e||"";if(i.length<=r)return t.jsx("span",{className:s,children:i});const d=(()=>{const c=n.length,u=r-c;switch(a){case"start":return n+i.slice(i.length-u);case"middle":{const h=Math.floor(u/2),p=i.slice(0,h),m=i.slice(i.length-(u-h));return p+n+m}case"end":default:return i.slice(0,u)+n}})();return t.jsx("span",{className:b("inline-block",s),title:o?i:void 0,children:d})},so=({value:e,style:r="decimal",currency:a="USD",unit:n,minimumFractionDigits:o,maximumFractionDigits:s,locale:i="en-US",notation:l="standard",className:d})=>{const c=()=>{try{const u={style:r,notation:l,minimumFractionDigits:o,maximumFractionDigits:s};return r==="currency"&&(u.currency=a),r==="unit"&&n&&(u.unit=n),new Intl.NumberFormat(i,u).format(e)}catch(u){return console.error("Number formatting error:",u),e.toLocaleString(i)}};return t.jsx("span",{className:b(d),children:c()})},io=({date:e,showTooltip:r=!0,updateInterval:a=0,className:n})=>{const[,o]=k.useState(0),s=k.useMemo(()=>e instanceof Date?e:new Date(e),[e]);k.useEffect(()=>{if(a===0)return;const c=setInterval(()=>{o(u=>u+1)},a*1e3);return()=>clearInterval(c)},[a]);const l=(()=>{const u=new Date().getTime()-s.getTime(),h=Math.floor(u/1e3),p=Math.floor(h/60),m=Math.floor(p/60),f=Math.floor(m/24),y=Math.floor(f/7),v=Math.floor(f/30),A=Math.floor(f/365);return h<60?"just now":p<60?`${p} ${p===1?"minute":"minutes"} ago`:m<24?`${m} ${m===1?"hour":"hours"} ago`:f<7?`${f} ${f===1?"day":"days"} ago`:y<4?`${y} ${y===1?"week":"weeks"} ago`:v<12?`${v} ${v===1?"month":"months"} ago`:`${A} ${A===1?"year":"years"} ago`})(),d=s.toLocaleString();return t.jsx("time",{dateTime:s.toISOString(),title:r?d:void 0,className:b(n),children:l})},De=({size:e="default",variant:r="default",className:a,ariaLabel:n="Loading",loadingText:o="Loading..."})=>{const s=()=>{const i={small:"w-4 h-4",default:"w-6 h-6",large:"w-8 h-8",extraLarge:"w-16 h-16 border-4"},l={default:"border-gray-300 border-t-blue-600",white:"border-white/30 border-t-white",success:"border-gray-300 border-t-green-600",warning:"border-gray-300 border-t-orange-600",error:"border-gray-300 border-t-red-600"};return`animate-spin rounded-full border-2 ${i[e]} ${l[r]}`};return t.jsx("div",{className:b(s(),a),role:"status","aria-label":n,children:t.jsx("span",{className:"sr-only",children:o})})},lo=({isLoading:e,message:r,mode:a="fullscreen",blur:n=!1,spinnerSize:o="large",className:s})=>e?t.jsxs("div",{className:b(a==="fullscreen"?"fixed":"absolute","inset-0 z-50","flex flex-col items-center justify-center","bg-white/80 dark:bg-gray-900/80",n&&"backdrop-blur-sm",s),role:"alert","aria-live":"polite","aria-busy":"true",children:[t.jsx(De,{size:o}),r&&t.jsx("p",{className:b(O.body.md(),"text-gray-700 dark:text-gray-300 mt-4"),children:r})]}):null,co=({size:e="md",variant:r="primary",color:a,className:n})=>{const o={sm:"w-1.5 h-1.5",md:"w-2 h-2",lg:"w-3 h-3"},s={primary:"bg-blue-600 dark:bg-blue-500",secondary:"bg-gray-600 dark:bg-gray-400",white:"bg-white"},i=b("rounded-full",o[e],a?"":s[r]);return t.jsxs("div",{className:b("flex items-center gap-1",n),children:[t.jsx("div",{className:i,style:{backgroundColor:a,animation:"loading-dot-bounce 1.4s infinite ease-in-out both",animationDelay:"-0.32s"}}),t.jsx("div",{className:i,style:{backgroundColor:a,animation:"loading-dot-bounce 1.4s infinite ease-in-out both",animationDelay:"-0.16s"}}),t.jsx("div",{className:i,style:{backgroundColor:a,animation:"loading-dot-bounce 1.4s infinite ease-in-out both"}}),t.jsx("style",{children:`
2
2
  @keyframes loading-dot-bounce {
3
3
  0%, 80%, 100% {
4
4
  transform: scale(0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sudobility/components",
3
- "version": "4.0.4",
3
+ "version": "4.0.9",
4
4
  "description": "Reusable UI components and design system - Reorganized for better maintainability",
5
5
  "type": "module",
6
6
  "main": "dist/index.umd.js",
@@ -73,7 +73,7 @@
73
73
  "@radix-ui/react-tabs": "^1.1.13",
74
74
  "@radix-ui/react-tooltip": "^1.2.8",
75
75
  "@sudobility/design": "^1.1.11",
76
- "@sudobility/types": "^1.9.24",
76
+ "@sudobility/types": "^1.9.25",
77
77
  "@testing-library/dom": "^10.4.1",
78
78
  "@testing-library/jest-dom": "^6.9.1",
79
79
  "@testing-library/react": "^16.3.0",
@@ -123,6 +123,6 @@
123
123
  "@rollup/rollup-linux-x64-musl": "4.52.5"
124
124
  },
125
125
  "publishConfig": {
126
- "access": "restricted"
126
+ "access": "public"
127
127
  }
128
128
  }