PageSourceSearch

https://getdex.com/assets/button-DBRhyh8W.js

js getdex.com collected 2026-10-01 10:37:34 UTC 4,347 bytes, 1 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`v5.20260930.1216-production.7e7ada9`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`3baf6013-9c03-44a8-9b58-eb477356d9a1`,e._sentryDebugIdIdentifier=`sentry-dbid-3baf6013-9c03-44a8-9b58-eb477356d9a1`)}catch{}})();import{a as e}from"./rolldown-runtime-B9z5rJDh.js";import{t}from"./react-DuuDrPmI.js";import{t as n}from"./jsx-runtime-CLUyyI6b.js";import{t as r}from"./compiler-runtime-9NAQJQ9E.js";import{t as i}from"./useRenderElement-Cg6E-wWo.js";import{t as a}from"./useButton-B80sgS_7.js";import{t as o}from"./utils-DzrcjOs1.js";import{t as s}from"./dist-g5ES35Jd.js";import{t as c}from"./createLucideIcon-BCLfs0cE.js";var l=e(t(),1).forwardRef(function(e,t){let{render:n,className:r,disabled:o=!1,focusableWhenDisabled:s=!1,nativeButton:c=!0,style:l,...u}=e,{getButtonProps:d,buttonRef:f}=a({disabled:o,focusableWhenDisabled:s,native:c});return i(`button`,e,{state:{disabled:o},ref:[t,f],props:[u,d]})}),u=c(`loader-circle`,[[`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`,key:`13zald`}]]),d=r(),f=n(),p=s(`group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all ease-in-out outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/32 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-busy:pointer-events-none aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,{variants:{variant:{default:`bg-primary-surface text-primary-surface-foreground font-semibold hover:bg-primary-surface-hover disabled:bg-primary-disabled disabled:text-primary-disabled-foreground disabled:opacity-100 aria-busy:bg-primary-disabled aria-busy:text-primary-disabled-foreground`,outline:`border-border bg-transparent text-foreground hover:bg-muted aria-expanded:bg-muted disabled:bg-border disabled:text-muted-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50`,secondary:`bg-secondary text-secondary-foreground hover:bg-secondary-hover aria-expanded:bg-secondary disabled:bg-border disabled:text-muted-foreground`,ghost:`text-foreground hover:bg-muted aria-expanded:bg-muted disabled:text-muted-foreground dark:hover:bg-muted/50`,destructive:`bg-destructive-surface text-destructive-surface-foreground font-semibold hover:bg-destructive-surface-hover disabled:bg-border disabled:text-muted-foreground aria-busy:bg-destructive-surface/40`,link:`text-primary underline-offset-4 hover:underline disabled:text-muted-foreground disabled:no-underline`,circle:`rounded-full bg-primary-surface text-primary-surface-foreground font-semibold hover:bg-primary-surface-hover disabled:bg-primary-disabled disabled:text-primary-disabled-foreground disabled:opacity-100`},size:{sm:`h-8 gap-2 px-3 py-1.5`,md:`h-9 gap-2 px-4 py-2`,lg:`h-12 gap-2 px-4 py-2`,"icon-sm":`size-8`,"icon-md":`size-9`,"icon-lg":`size-12`}},compoundVariants:[{variant:`circle`,size:[`sm`,`md`,`lg`],class:`rounded-full px-0`}],defaultVariants:{variant:`default`,size:`md`}});function m(e){let t=(0,d.c)(23),n,r,i,a,s,c,m,h;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],s=t[5],c=t[6],m=t[7],h=t[8]):({className:r,variant:c,size:m,loading:a,loadingLabel:h,disabled:i,children:n,...s}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=s,t[6]=c,t[7]=m,t[8]=h);let g=c===void 0?`default`:c,_=m===void 0?`md`:m,v=h===void 0?`Loading…`:h,y=a||void 0,b=i||a,x;t[9]!==r||t[10]!==_||t[11]!==g?(x=o(p({variant:g,size:_,className:r})),t[9]=r,t[10]=_,t[11]=g,t[12]=x):x=t[12];let S;t[13]!==n||t[14]!==a||t[15]!==v?(S=a?(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(u,{className:`animate-spin`,"aria-hidden":`true`}),(0,f.jsx)(`span`,{children:v})]}):n,t[13]=n,t[14]=a,t[15]=v,t[16]=S):S=t[16];let C;return t[17]!==s||t[18]!==y||t[19]!==b||t[20]!==x||t[21]!==S?(C=(0,f.jsx)(l,{"data-slot":`button`,"aria-busy":y,disabled:b,className:x,...s,children:S}),t[17]=s,t[18]=y,t[19]=b,t[20]=x,t[21]=S,t[22]=C):C=t[22],C}export{p as n,u as r,m as t};

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.