1import{j as o}from"./index-fHMyORYL.js";import{S as l,c as g,a as u}from"./i18n-compat-Egy22pE5.js";import{L as c}from"./loader-circle-B1VGcMKg.js";try{let e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="9d1dd8b4-9d98-425b-83ed-fa503e587296",e._sentryDebugIdIdentifier="sentry-dbid-9d1dd8b4-9d98-425b-83ed-fa503e587296")}catch{}const p=u("inline-flex items-center !cursor-pointer justify-center gap-2 whitespace-nowrap rounded-md font-sans text-[14px] font-semibold leading-[20px] tracking-normal transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-action text-primary-foreground shadow-xs hover:bg-action-hover","default-secondary":"bg-primary-50 text-primary-700 shadow-sm",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60","outline-primary":"border border-badge-info-border bg-white text-badge-info-text",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50","secondary-gray":"border border-gray-300 bg-white text-gray-700 shadow-xs hover:bg-gray-50 font-sans text-[16px] font-semibold leading-[24px]",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline",gradient:"bg-gradient-basic text-white shadow-button transition-opacity hover:opacity-90","gradient-active":"bg-gradient-basic-light-bordered rounded-full text-neutral-900 font-bold","gradient-outline":"border-gradient-basic hover:bg-primary-50","gradient-outline-thin":"border-gradient-basic-thin hover:bg-primary-50","secondary-color":"bg-primary-50 border border-primary-50 text-primary-700 shadow-xs hover:bg-primary-100 hover:border-primary-100 active:bg-primary-200 active:border-primary-200","soft-primary":"bg-primary-50 border border-primary-300 text-primary-700 shadow-button hover:bg-primary-100 active:bg-primary-200"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",md:"h-12 rounded-[8px] gap-2 px-5 py-3 font-sans text-[16px] leading-[24px] font-semibold",xs:"h-8 gap-1.5 rounded-md px-3 text-sm has-[>svg]:px-2.5",sm:"h-10 rounded-[8px] gap-2 px-4 py-[10px]",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",xl:"h-[62px] rounded-lg px-6 text-base has-[>svg]:px-5","2xl":"h-12 rounded-[8px] gap-2 px-5 py-3 font-sans text-[16px] leading-[24px] font-semibold",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function v({className:e,variant:r,size:t,asChild:i=!1,isLoading:a=!1,disabled:n,children:d,...s}){const b=i?l:"button";return i?o.jsx(b,{"data-slot":"button","data-size":t??"default",className:g(p({variant:r,size:t,className:e})),disabled:n||a,...s,children:d}):o.jsxs(b,{"data-slot":"button","data-size":t??"default",className:g(p({variant:r,size:t,className:e})),disabled:n||a,...s,children:[a&&o.jsx(c,{className:"h-4 w-4 animate-spin"}),d]})}export{v as B,p as b};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.