|
import{S as h,i as w,s as b,W as r,F as C,B as o,a8 as g,O as _,f as j,X as S,Y as q,Z as y,o as B,t as F,p as O}from"./index.37b24c07.js";function W(i){let e,n,m,f;const u=i[8].default,a=r(u,i,i[7],null);return{c(){e=C("div"),a&&a.c(),o(e,"id",i[2]),o(e,"class",n=g(i[3].join(" "))+" svelte-vt1mxs"),o(e,"style",m=`min-width: min(${i[1]}px, 100%); flex-grow: ${i[0]}`),_(e,"gap",i[6].gap!==!1),_(e,"compact",i[5]==="compact"),_(e,"panel",i[5]==="panel"),_(e,"hide",!i[4])},m(l,t){j(l,e,t),a&&a.m(e,null),f=!0},p(l,[t]){a&&a.p&&(!f||t&128)&&S(a,u,l,l[7],f?y(u,l[7],t,null):q(l[7]),null),(!f||t&4)&&o(e,"id",l[2]),(!f||t&8&&n!==(n=g(l[3].join(" "))+" svelte-vt1mxs"))&&o(e,"class",n),(!f||t&3&&m!==(m=`min-width: min(${l[1]}px, 100%); flex-grow: ${l[0]}`))&&o(e,"style",m),t&72&&_(e,"gap",l[6].gap!==!1),t&40&&_(e,"compact",l[5]==="compact"),t&40&&_(e,"panel",l[5]==="panel"),t&24&&_(e,"hide",!l[4])},i(l){f||(B(a,l),f=!0)},o(l){F(a,l),f=!1},d(l){l&&O(e),a&&a.d(l)}}}function X(i,e,n){let{$$slots:m={},$$scope:f}=e,{scale:u=1}=e,{min_width:a=0}=e,{elem_id:l=""}=e,{elem_classes:t=[]}=e,{visible:c=!0}=e,{variant:d="default"}=e,{style:v={}}=e;return i.$$set=s=>{"scale"in s&&n(0,u=s.scale),"min_width"in s&&n(1,a=s.min_width),"elem_id"in s&&n(2,l=s.elem_id),"elem_classes"in s&&n(3,t=s.elem_classes),"visible"in s&&n(4,c=s.visible),"variant"in s&&n(5,d=s.variant),"style"in s&&n(6,v=s.style),"$$scope"in s&&n(7,f=s.$$scope)},[u,a,l,t,c,d,v,f,m]}class k extends h{constructor(e){super(),w(this,e,X,W,b,{scale:0,min_width:1,elem_id:2,elem_classes:3,visible:4,variant:5,style:6})}}export{k as C}; |