1import{i as e}from"./DFKnjcOR.js";import{D as t,On as n,Zn as r,_ as i,b as a,k as o,mt as s}from"./B4b-2GOK.js";import{t as c}from"./DqTQKdbW.js";import{n as l}from"./Vx6h_CGt.js";var u=[`disabled`,`aria-disabled`],d={class:`relative inline-flex items-center justify-center`},f=o({__name:`CustomButton`,props:{keypath:{},size:{},loading:{type:Boolean},disabled:{type:Boolean},pending:{type:Boolean},translation:{type:Boolean}},setup(e){return(o,f)=>(s(),a(`button`,{class:r([`w-fit rounded-[56px] font-semibold transition-all duration-100 ease-in-out`,{"px-7 py-4.5 md:px-8 md:py-5.25":e.size===n(l).XLARGE,"px-6 py-3.5 md:px-7 md:py-4.25":e.size===n(l).LARGE,"px-6 py-3.25":e.size===n(l).MEDIUM,"px-3 py-2":e.size===n(l).SMALL,"cursor-not-allowed!":e.disabled,"pointer-events-none":e.loading||e.pending,"cursor-pointer hover:scale-[1.01]":!e.disabled&&!e.loading&&!e.pending}]),disabled:e.disabled,"aria-disabled":e.pending||void 0},[i(`span`,d,[t(c,{class:r([`font-inter-tight transition-opacity duration-200 first-letter:uppercase`,e.loading?`opacity-0`:`opacity-100`]),text:e.keypath,translation:e.translation},null,8,[`class`,`text`,`translation`]),(s(),a(`svg`,{class:r([`absolute size-3.5 text-current transition-opacity duration-200`,e.loading?`animate-spin opacity-100`:`opacity-0`]),viewBox:`0 0 24 24`,fill:`none`},[...f[0]||=[i(`circle`,{class:`opacity-25`,cx:`12`,cy:`12`,r:`10`,stroke:`currentColor`,"stroke-width":`4`},null,-1),i(`path`,{class:`opacity-75`,fill:`currentColor`,d:`M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z`},null,-1)]],2))])],10,u))}}),p=e({default:()=>m}),m=Object.assign(f,{__name:`UiButtonsCustomButton`});export{p as n,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.