import"./E-vkuI0X.mjs";import"./DoxTZSDF.mjs";import{h as z,i as M,e as S,f as X,c as o,r as x,b as k}from"./4Xd67fio.mjs";import{e as s}from"./DC2aKjHe.mjs";import{s as q}from"./MDPyFyai.mjs";import{t as l,q as B}from"./BTt3VLuJ.mjs";import{p as C}from"./CsoKi86O.mjs";import{I as D,b as f}from"./BQrEQjFg.mjs";import{p as i}from"./B7xFKswI.mjs";var N=z("<button><!></button>");function O(m,t){let c=i(t,"id",8,void 0),d=i(t,"class",8,""),u=i(t,"tooltip",8,void 0),b=i(t,"primary",8,!1),v=i(t,"active",8,!1),h=i(t,"disabled",8,!1),_=i(t,"tabbable",8,!1),p=i(t,"iconSize",8,75),g=i(t,"widthMultiplier",8,1),w=i(t,"flipX",8,!1);var e=N();let r;var I=M(e);D(I,{get flipX(){return w()},get widthMultiplier(){return g()},get iconSize(){return p()},children:(a,P)=>{var n=S(),y=X(n);q(y,t,"default",{}),o(a,n)},$$slots:{default:!0}}),x(e),k(()=>{var a;l(e,"id",c()),r=B(e,1,`icon-button ${(a=d())!=null?a:""}`,"svelte-9egv84",r,{active:v(),primary:b()}),l(e,"title",u()),e.disabled=h(),l(e,"tabindex",_()?0:-1)}),s("click",e,function(a){f.call(this,t,a)}),s("mousedown",e,C(function(a){f.call(this,t,a)})),o(m,e)}export{O as I};
