{n&&(a&&a.end(1),l=at(e,Me,{transition:i[2],params:i[3],enabled:i[1]}),l.start())}),n=!0)},o(o){l&&l.invalidate(),o&&(a=st(e,Me,{transition:i[4],params:i[5],enabled:i[1]})),n=!1},d(o){o&&V(e),Ze(r,o),o&&a&&a.end()}}}function Sl(i){let e,t,l=(i[6](i[39])?`${i[0]} ${i[39]+1}`:i[39]+1)+"",a,n,s,r;return{c(){e=S("div"),t=S("span"),a=Ce(l),s=te(),this.h()},l(o){e=P(o,"DIV",{class:!0});var u=T(e);t=P(u,"SPAN",{class:!0});var c=T(t);a=Ie(c,l),c.forEach(V),s=ie(u),u.forEach(V),this.h()},h(){d(t,"class",n="badge "+i[9](i[39])),d(e,"class",r="stepper-header-step "+i[10]),Ge(e,"flex-1",i[6](i[39]))},m(o,u){R(o,e,u),L(e,t),L(t,a),L(e,s)},p(o,u){u[0]&193&&l!==(l=(o[6](o[39])?`${o[0]} ${o[39]+1}`:o[39]+1)+"")&&Pe(a,l),u[0]&640&&n!==(n="badge "+o[9](o[39]))&&d(t,"class",n),u[0]&1024&&r!==(r="stepper-header-step "+o[10])&&d(e,"class",r),u[0]&1216&&Ge(e,"flex-1",o[6](o[39]))},d(o){o&&V(e)}}}function Qo(i){let e,t,l,a,n,s,r=i[7].total&&Nl(i);const o=i[32].default,u=oe(o,i,i[31],null);return{c(){e=S("div"),r&&r.c(),t=te(),l=S("div"),u&&u.c(),this.h()},l(c){e=P(c,"DIV",{class:!0,"data-testid":!0});var f=T(e);r&&r.l(f),t=ie(f),l=P(f,"DIV",{class:!0});var b=T(l);u&&u.l(b),b.forEach(V),f.forEach(V),this.h()},h(){d(l,"class",a="stepper-content "+i[8]),d(e,"class",n="stepper "+i[12]),d(e,"data-testid","stepper")},m(c,f){R(c,e,f),r&&r.m(e,null),L(e,t),L(e,l),u&&u.m(l,null),s=!0},p(c,f){c[7].total?r?(r.p(c,f),f[0]&128&&N(r,1)):(r=Nl(c),r.c(),N(r,1),r.m(e,t)):r&&(fe(),A(r,1,1,()=>{r=null}),ye()),u&&u.p&&(!s||f[1]&1)&&de(u,o,c,c[31],s?ce(o,c[31],f,null):ue(c[31]),null),(!s||f[0]&256&&a!==(a="stepper-content "+c[8]))&&d(l,"class",a),(!s||f[0]&4096&&n!==(n="stepper "+c[12]))&&d(e,"class",n)},i(c){s||(N(r),N(u,c),s=!0)},o(c){A(r),A(u,c),s=!1},d(c){c&&V(e),r&&r.d(),u&&u.d(c)}}}const Yo="space-y-4",Xo="flex items-center border-t mt-[15px]",Zo="-mt-[15px] transition-all duration-300",xo="";function $o(i,e,t){let l,a,n,s,r,o,u,c;Je(i,bt,J=>t(33,c=J));let{$$slots:f={},$$scope:b}=e;const g=Qe();let{gap:k="gap-4"}=e,{stepTerm:p="Step"}=e,{badge:h="variant-filled-surface"}=e,{active:y="variant-filled"}=e,{border:m="border-surface-400-500-token"}=e,{start:_=0}=e,{justify:C="justify-between"}=e,{buttonBack:v="variant-ghost"}=e,{buttonBackType:w="button"}=e,{buttonBackLabel:I="← Back"}=e,{buttonNext:E="variant-filled"}=e,{buttonNextType:B="button"}=e,{buttonNextLabel:F="Next →"}=e,{buttonComplete:M="variant-filled-primary"}=e,{buttonCompleteType:j="button"}=e,{buttonCompleteLabel:x="Complete"}=e,{regionHeader:re=""}=e,{regionContent:ge=""}=e,{transitions:W=!c}=e,{transitionIn:he=dt}=e,{transitionInParams:G={duration:100}}=e,{transitionOut:K=dt}=e,{transitionOutParams:Q={duration:100}}=e,D=pt({current:_,total:0});Je(i,D,J=>t(7,u=J));async function _e(J,U){await new Promise(le=>setTimeout(le)),!J&&(Ct(D,u.current++,u),g("next",{step:U,state:u}),g("step",{step:U,state:u}))}function we(J){Ct(D,u.current--,u),g("back",{step:J,state:u}),g("step",{step:J,state:u})}function H(J){g("complete",{step:J,state:u})}return $("state",D),$("stepTerm",p),$("gap",k),$("justify",C),$("onNext",_e),$("onBack",we),$("onComplete",H),$("buttonBack",v),$("buttonBackType",w),$("buttonBackLabel",I),$("buttonNext",E),$("buttonNextType",B),$("buttonNextLabel",F),$("buttonComplete",M),$("buttonCompleteType",j),$("buttonCompleteLabel",x),$("transitions",W),$("transitionIn",he),$("transitionInParams",G),$("transitionOut",K),$("transitionOutParams",Q),i.$$set=J=>{t(38,e=Y(Y({},e),ae(J))),"gap"in J&&t(14,k=J.gap),"stepTerm"in J&&t(0,p=J.stepTerm),"badge"in J&&t(15,h=J.badge),"active"in J&&t(16,y=J.active),"border"in J&&t(17,m=J.border),"start"in J&&t(18,_=J.start),"justify"in J&&t(19,C=J.justify),"buttonBack"in J&&t(20,v=J.buttonBack),"buttonBackType"in J&&t(21,w=J.buttonBackType),"buttonBackLabel"in J&&t(22,I=J.buttonBackLabel),"buttonNext"in J&&t(23,E=J.buttonNext),"buttonNextType"in J&&t(24,B=J.buttonNextType),"buttonNextLabel"in J&&t(25,F=J.buttonNextLabel),"buttonComplete"in J&&t(26,M=J.buttonComplete),"buttonCompleteType"in J&&t(27,j=J.buttonCompleteType),"buttonCompleteLabel"in J&&t(28,x=J.buttonCompleteLabel),"regionHeader"in J&&t(29,re=J.regionHeader),"regionContent"in J&&t(30,ge=J.regionContent),"transitions"in J&&t(1,W=J.transitions),"transitionIn"in J&&t(2,he=J.transitionIn),"transitionInParams"in J&&t(3,G=J.transitionInParams),"transitionOut"in J&&t(4,K=J.transitionOut),"transitionOutParams"in J&&t(5,Q=J.transitionOutParams),"$$scope"in J&&t(31,b=J.$$scope)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(6,l=J=>J===u.current),t(12,a=`${Yo} ${e.class??""}`),i.$$.dirty[0]&537018368&&t(11,n=`${Xo} ${m} ${k} ${re}`),i.$$.dirty[0]&98368&&t(9,r=J=>l(J)?y:h),i.$$.dirty[0]&1073741824&&t(8,o=`${xo} ${ge}`)},t(10,s=`${Zo}`),e=ae(e),[p,W,he,G,K,Q,l,u,o,r,s,n,a,D,k,h,y,m,_,C,v,w,I,E,B,F,M,j,x,re,ge,b,f]}class ed extends pe{constructor(e){super(),ve(this,e,$o,Qo,ke,{gap:14,stepTerm:0,badge:15,active:16,border:17,start:18,justify:19,buttonBack:20,buttonBackType:21,buttonBackLabel:22,buttonNext:23,buttonNextType:24,buttonNextLabel:25,buttonComplete:26,buttonCompleteType:27,buttonCompleteLabel:28,regionHeader:29,regionContent:30,transitions:1,transitionIn:2,transitionInParams:3,transitionOut:4,transitionOutParams:5},null,[-1,-1])}}ed.__docgen={version:3,name:"Stepper.svelte",data:[{visibility:"public",description:null,keywords:[],name:"gap",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"gap-4"},{visibility:"public",description:null,keywords:[],name:"stepTerm",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"Step"},{visibility:"public",description:null,keywords:[],name:"badge",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"variant-filled-surface"},{visibility:"public",description:null,keywords:[],name:"active",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"variant-filled"},{visibility:"public",description:null,keywords:[],name:"border",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"border-surface-400-500-token"},{visibility:"public",description:null,keywords:[],name:"start",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"number",type:"number"},defaultValue:0},{visibility:"public",description:null,keywords:[],name:"justify",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"justify-between"},{visibility:"public",description:null,keywords:[],name:"buttonBack",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"variant-ghost"},{visibility:"public",description:null,keywords:[],name:"buttonBackType",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"button"},{visibility:"public",description:null,keywords:[],name:"buttonBackLabel",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"← Back"},{visibility:"public",description:null,keywords:[],name:"buttonNext",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"variant-filled"},{visibility:"public",description:null,keywords:[],name:"buttonNextType",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"button"},{visibility:"public",description:null,keywords:[],name:"buttonNextLabel",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"Next →"},{visibility:"public",description:null,keywords:[],name:"buttonComplete",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"variant-filled-primary"},{visibility:"public",description:null,keywords:[],name:"buttonCompleteType",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"button"},{visibility:"public",description:null,keywords:[],name:"buttonCompleteLabel",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"Complete"},{visibility:"public",description:null,keywords:[],name:"regionHeader",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{visibility:"public",description:null,keywords:[],name:"regionContent",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{visibility:"public",description:null,keywords:[],name:"transitions",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"transitionIn",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"transitionInParams",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"}},{visibility:"public",description:null,keywords:[],name:"transitionOut",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"transitionOutParams",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"}}],computed:[],methods:[],components:[],description:null,keywords:[],events:[{visibility:"public",description:null,keywords:[],name:"next"},{visibility:"public",description:null,keywords:[],name:"step"},{visibility:"public",description:null,keywords:[],name:"back"},{visibility:"public",description:null,keywords:[],name:"complete"}],slots:[{keywords:[],visibility:"public",description:"Content",name:"default"}],refs:[]};const td=i=>({}),Pl=i=>({}),id=i=>({}),Dl=i=>({});function Ol(i){let e,t,l,a,n,s,r,o,u;const c=i[33].header,f=oe(c,i,i[32],Dl),b=f||ld(i),g=i[33].default,k=oe(g,i,i[32],null),p=k||nd(i);let h=i[24].total>1&&Al(i);return{c(){e=S("div"),t=S("header"),b&&b.c(),a=te(),n=S("div"),p&&p.c(),r=te(),h&&h.c(),this.h()},l(y){e=P(y,"DIV",{class:!0,"data-testid":!0});var m=T(e);t=P(m,"HEADER",{class:!0});var _=T(t);b&&b.l(_),_.forEach(V),a=ie(m),n=P(m,"DIV",{class:!0});var C=T(n);p&&p.l(C),C.forEach(V),r=ie(m),h&&h.l(m),m.forEach(V),this.h()},h(){d(t,"class",l="step-header "+i[22]),d(n,"class",s="step-content "+i[21]),d(e,"class",o="step "+i[23]),d(e,"data-testid","step")},m(y,m){R(y,e,m),L(e,t),b&&b.m(t,null),L(e,a),L(e,n),p&&p.m(n,null),L(e,r),h&&h.m(e,null),u=!0},p(y,m){f?f.p&&(!u||m[1]&2)&&de(f,c,y,y[32],u?ce(c,y[32],m,id):ue(y[32]),Dl):b&&b.p&&(!u||m[0]&4)&&b.p(y,u?m:[-1,-1]),(!u||m[0]&4194304&&l!==(l="step-header "+y[22]))&&d(t,"class",l),k?k.p&&(!u||m[1]&2)&&de(k,g,y,y[32],u?ce(g,y[32],m,null):ue(y[32]),null):p&&p.p&&(!u||m[0]&4)&&p.p(y,u?m:[-1,-1]),(!u||m[0]&2097152&&s!==(s="step-content "+y[21]))&&d(n,"class",s),y[24].total>1?h?(h.p(y,m),m[0]&16777216&&N(h,1)):(h=Al(y),h.c(),N(h,1),h.m(e,null)):h&&(fe(),A(h,1,1,()=>{h=null}),ye()),(!u||m[0]&8388608&&o!==(o="step "+y[23]))&&d(e,"class",o)},i(y){u||(N(b,y),N(p,y),N(h),u=!0)},o(y){A(b,y),A(p,y),A(h),u=!1},d(y){y&&V(e),b&&b.d(y),p&&p.d(y),h&&h.d()}}}function ld(i){let e,t,l=i[25]+1+"",a;return{c(){e=Ce(i[2]),t=te(),a=Ce(l)},l(n){e=Ie(n,i[2]),t=ie(n),a=Ie(n,l)},m(n,s){R(n,e,s),R(n,t,s),R(n,a,s)},p(n,s){s[0]&4&&Pe(e,n[2])},d(n){n&&(V(e),V(t),V(a))}}}function nd(i){let e,t,l,a=i[25]+1+"",n,s;return{c(){e=Ce("("),t=Ce(i[2]),l=te(),n=Ce(a),s=Ce(" Content)")},l(r){e=Ie(r,"("),t=Ie(r,i[2]),l=ie(r),n=Ie(r,a),s=Ie(r," Content)")},m(r,o){R(r,e,o),R(r,t,o),R(r,l,o),R(r,n,o),R(r,s,o)},p(r,o){o[0]&4&&Pe(t,r[2])},d(r){r&&(V(e),V(t),V(l),V(n),V(s))}}}function Al(i){let e,t,l,a,n,s,r,o;const u=[sd,ad],c=[];function f(p,h){return p[25]===0&&p[26].navigation?0:1}t=f(i),l=c[t]=u[t](i);function b(p,h){return p[25]{c[y]=null}),ye(),l=c[t],l?l.p(i,h):(l=c[t]=u[t](i),l.c()),N(l,1),l.m(e,a)),g===(g=b(i))&&k?k.p(i,h):(k.d(1),k=g(i),k&&(k.c(),k.m(e,null))),(!o||h[0]&1048576&&n!==(n="step-navigation "+i[20]))&&d(e,"class",n)},i(p){o||(N(l),p&&We(()=>{o&&(r&&r.end(1),s=at(e,Me,{transition:i[16],params:i[17],enabled:i[15]}),s.start())}),o=!0)},o(p){A(l),s&&s.invalidate(),p&&(r=st(e,Me,{transition:i[18],params:i[19],enabled:i[15]})),o=!1},d(p){p&&V(e),c[t].d(),k.d(),p&&r&&r.end()}}}function ad(i){let e,t,l,a,n,s;return{c(){e=S("button"),t=new Oe(!1),this.h()},l(r){e=P(r,"BUTTON",{type:!0,class:!0});var o=T(e);t=Ae(o,!1),o.forEach(V),this.h()},h(){t.a=null,d(e,"type",i[7]),d(e,"class",l="btn "+i[6]),e.disabled=a=i[24].current===0},m(r,o){R(r,e,o),t.m(i[8],e),n||(s=z(e,"click",i[34]),n=!0)},p(r,o){o[0]&256&&t.p(r[8]),o[0]&128&&d(e,"type",r[7]),o[0]&64&&l!==(l="btn "+r[6])&&d(e,"class",l),o[0]&16777216&&a!==(a=r[24].current===0)&&(e.disabled=a)},i:se,o:se,d(r){r&&V(e),n=!1,s()}}}function sd(i){let e,t;const l=i[33].navigation,a=oe(l,i,i[32],Pl);return{c(){e=S("div"),a&&a.c(),this.h()},l(n){e=P(n,"DIV",{class:!0});var s=T(e);a&&a.l(s),s.forEach(V),this.h()},h(){d(e,"class","step-navigation-slot")},m(n,s){R(n,e,s),a&&a.m(e,null),t=!0},p(n,s){a&&a.p&&(!t||s[1]&2)&&de(a,l,n,n[32],t?ce(l,n[32],s,td):ue(n[32]),Pl)},i(n){t||(N(a,n),t=!0)},o(n){A(a,n),t=!1},d(n){n&&V(e),a&&a.d(n)}}}function rd(i){let e,t,l,a,n;return{c(){e=S("button"),t=new Oe(!1),this.h()},l(s){e=P(s,"BUTTON",{type:!0,class:!0});var r=T(e);t=Ae(r,!1),r.forEach(V),this.h()},h(){t.a=null,d(e,"type",i[13]),d(e,"class",l="btn "+i[12]),e.disabled=i[0]},m(s,r){R(s,e,r),t.m(i[14],e),a||(n=z(e,"click",i[36]),a=!0)},p(s,r){r[0]&16384&&t.p(s[14]),r[0]&8192&&d(e,"type",s[13]),r[0]&4096&&l!==(l="btn "+s[12])&&d(e,"class",l),r[0]&1&&(e.disabled=s[0])},d(s){s&&V(e),a=!1,n()}}}function od(i){let e,t,l,a,n,s,r,o=i[0]&&Rl();return{c(){e=S("button"),o&&o.c(),t=te(),l=S("span"),a=new Oe(!1),this.h()},l(u){e=P(u,"BUTTON",{type:!0,class:!0});var c=T(e);o&&o.l(c),t=ie(c),l=P(c,"SPAN",{});var f=T(l);a=Ae(f,!1),f.forEach(V),c.forEach(V),this.h()},h(){a.a=null,d(e,"type",i[10]),d(e,"class",n="btn "+i[9]),e.disabled=i[0]},m(u,c){R(u,e,c),o&&o.m(e,null),L(e,t),L(e,l),a.m(i[11],l),s||(r=z(e,"click",i[35]),s=!0)},p(u,c){u[0]?o||(o=Rl(),o.c(),o.m(e,t)):o&&(o.d(1),o=null),c[0]&2048&&a.p(u[11]),c[0]&1024&&d(e,"type",u[10]),c[0]&512&&n!==(n="btn "+u[9])&&d(e,"class",n),c[0]&1&&(e.disabled=u[0])},d(u){u&&V(e),o&&o.d(),s=!1,r()}}}function Rl(i){let e,t;return{c(){e=be("svg"),t=be("path"),this.h()},l(l){e=me(l,"svg",{class:!0,xmlns:!0,viewBox:!0});var a=T(e);t=me(a,"path",{d:!0}),T(t).forEach(V),a.forEach(V),this.h()},h(){d(t,"d","M144 144v48H304V144c0-44.2-35.8-80-80-80s-80 35.8-80 80zM80 192V144C80 64.5 144.5 0 224 0s144 64.5 144 144v48h16c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V256c0-35.3 28.7-64 64-64H80z"),d(e,"class","w-3 aspect-square fill-current"),d(e,"xmlns","http://www.w3.org/2000/svg"),d(e,"viewBox","0 0 448 512")},m(l,a){R(l,e,a),L(e,t)},d(l){l&&V(e)}}}function dd(i){let e,t,l=i[25]===i[24].current&&Ol(i);return{c(){l&&l.c(),e=Ve()},l(a){l&&l.l(a),e=Ve()},m(a,n){l&&l.m(a,n),R(a,e,n),t=!0},p(a,n){a[25]===a[24].current?l?(l.p(a,n),n[0]&16777216&&N(l,1)):(l=Ol(a),l.c(),N(l,1),l.m(e.parentNode,e)):l&&(fe(),A(l,1,1,()=>{l=null}),ye())},i(a){t||(N(l),t=!0)},o(a){A(l),t=!1},d(a){a&&V(e),l&&l.d(a)}}}const ud="space-y-4",cd="text-2xl font-bold",fd="space-y-4",yd="flex";function bd(i,e,t){let l,a,n,s,r,o=se,u=()=>(o(),o=En(y,U=>t(24,r=U)),y);i.$$.on_destroy.push(()=>o());let{$$slots:c={},$$scope:f}=e;const b=Ke(c);let{locked:g=!1}=e,{regionHeader:k=""}=e,{regionContent:p=""}=e,{regionNavigation:h=""}=e,{state:y=X("state")}=e;u();let{stepTerm:m=X("stepTerm")}=e,{gap:_=X("gap")}=e,{justify:C=X("justify")}=e,{onNext:v=X("onNext")}=e,{onBack:w=X("onBack")}=e,{onComplete:I=X("onComplete")}=e,{buttonBack:E=X("buttonBack")}=e,{buttonBackType:B=X("buttonBackType")}=e,{buttonBackLabel:F=X("buttonBackLabel")}=e,{buttonNext:M=X("buttonNext")}=e,{buttonNextType:j=X("buttonNextType")}=e,{buttonNextLabel:x=X("buttonNextLabel")}=e,{buttonComplete:re=X("buttonComplete")}=e,{buttonCompleteType:ge=X("buttonCompleteType")}=e,{buttonCompleteLabel:W=X("buttonCompleteLabel")}=e,{transitions:he=X("transitions")}=e,{transitionIn:G=X("transitionIn")}=e,{transitionInParams:K=X("transitionInParams")}=e,{transitionOut:Q=X("transitionOut")}=e,{transitionOutParams:D=X("transitionOutParams")}=e;const _e=r.total;Ct(y,r.total++,r),Jn(()=>{Ct(y,r.total--,r)});const we=()=>w(_e),H=()=>v(g,_e),J=()=>I(_e);return i.$$set=U=>{t(37,e=Y(Y({},e),ae(U))),"locked"in U&&t(0,g=U.locked),"regionHeader"in U&&t(27,k=U.regionHeader),"regionContent"in U&&t(28,p=U.regionContent),"regionNavigation"in U&&t(29,h=U.regionNavigation),"state"in U&&u(t(1,y=U.state)),"stepTerm"in U&&t(2,m=U.stepTerm),"gap"in U&&t(30,_=U.gap),"justify"in U&&t(31,C=U.justify),"onNext"in U&&t(3,v=U.onNext),"onBack"in U&&t(4,w=U.onBack),"onComplete"in U&&t(5,I=U.onComplete),"buttonBack"in U&&t(6,E=U.buttonBack),"buttonBackType"in U&&t(7,B=U.buttonBackType),"buttonBackLabel"in U&&t(8,F=U.buttonBackLabel),"buttonNext"in U&&t(9,M=U.buttonNext),"buttonNextType"in U&&t(10,j=U.buttonNextType),"buttonNextLabel"in U&&t(11,x=U.buttonNextLabel),"buttonComplete"in U&&t(12,re=U.buttonComplete),"buttonCompleteType"in U&&t(13,ge=U.buttonCompleteType),"buttonCompleteLabel"in U&&t(14,W=U.buttonCompleteLabel),"transitions"in U&&t(15,he=U.transitions),"transitionIn"in U&&t(16,G=U.transitionIn),"transitionInParams"in U&&t(17,K=U.transitionInParams),"transitionOut"in U&&t(18,Q=U.transitionOut),"transitionOutParams"in U&&t(19,D=U.transitionOutParams),"$$scope"in U&&t(32,f=U.$$scope)},i.$$.update=()=>{t(23,l=`${ud} ${e.class??""}`),i.$$.dirty[0]&134217728&&t(22,a=`${cd} ${k}`),i.$$.dirty[0]&268435456&&t(21,n=`${fd} ${p}`),i.$$.dirty[0]&1610612736|i.$$.dirty[1]&1&&t(20,s=`${yd} ${C} ${_} ${h}`)},e=ae(e),[g,y,m,v,w,I,E,B,F,M,j,x,re,ge,W,he,G,K,Q,D,s,n,a,l,r,_e,b,k,p,h,_,C,f,c,we,H,J]}class md extends pe{constructor(e){super(),ve(this,e,bd,dd,ke,{locked:0,regionHeader:27,regionContent:28,regionNavigation:29,state:1,stepTerm:2,gap:30,justify:31,onNext:3,onBack:4,onComplete:5,buttonBack:6,buttonBackType:7,buttonBackLabel:8,buttonNext:9,buttonNextType:10,buttonNextLabel:11,buttonComplete:12,buttonCompleteType:13,buttonCompleteLabel:14,transitions:15,transitionIn:16,transitionInParams:17,transitionOut:18,transitionOutParams:19},null,[-1,-1])}}md.__docgen={version:3,name:"Step.svelte",data:[{visibility:"public",description:null,keywords:[],name:"locked",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"boolean",type:"boolean"},defaultValue:!1},{visibility:"public",description:null,keywords:[],name:"regionHeader",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{visibility:"public",description:null,keywords:[],name:"regionContent",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{visibility:"public",description:null,keywords:[],name:"regionNavigation",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{visibility:"public",description:null,keywords:[],name:"state",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"stepTerm",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"gap",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"justify",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"onNext",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"onBack",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"onComplete",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"buttonBack",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"buttonBackType",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"buttonBackLabel",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"buttonNext",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"buttonNextType",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"buttonNextLabel",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"buttonComplete",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"buttonCompleteType",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"buttonCompleteLabel",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"transitions",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"transitionIn",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"transitionInParams",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"transitionOut",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"transitionOutParams",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[{keywords:[],visibility:"public",description:"Slot: Header",name:"header"},{keywords:[],visibility:"public",description:"Slot: Default",name:"default"},{keywords:[],visibility:"public",description:"Slot: Navigation",name:"navigation"}],refs:[]};function hd(i){const e=["ArrowRight","ArrowUp","ArrowLeft","ArrowDown","Home","End"],t=l=>{if(e.includes(l.code))switch(l.preventDefault(),l.code){case"ArrowUp":Dt(i,0,-1);break;case"ArrowDown":Dt(i,0,1);break;case"ArrowLeft":Dt(i,-1,0);break;case"ArrowRight":Dt(i,1,0);break;case"Home":Ml(i,"first");break;case"End":Ml(i,"last");break}};return i.addEventListener("keydown",t),{destroy(){i.removeEventListener("keydown",t)}}}function Dt(i,e,t){const l=document.activeElement;if(!l||!l.parentElement||!l.parentElement.ariaRowIndex||!l.ariaColIndex)return;const a=parseInt(l.parentElement.ariaRowIndex),n=parseInt(l.ariaColIndex),s=i.querySelector(`[aria-rowindex="${a+t}"]`);if(s!==null){const r=s.querySelector(`[aria-colindex="${n+e}"]`);r!==null&&r.focus()}}function gd(i){const e=document.activeElement;if(!e||!e.parentElement||!e.parentElement.ariaRowIndex)return null;const t=parseInt(e.parentElement.ariaRowIndex);return i.querySelector(`[aria-rowindex="${t}"]`)}function Ml(i,e="first"){const t=gd(i);if(t===null)return;const l=t.children.length,a=e==="first"?1:l,n=t.querySelector(`[aria-colindex="${a}"]`);n!==null&&n.focus()}function Fl(i,e,t){const l=i.slice();return l[19]=e[t],l}function jl(i,e,t){const l=i.slice();return l[22]=e[t],l[24]=t,l}function Ul(i,e,t){const l=i.slice();return l[19]=e[t],l[26]=t,l}function zl(i,e,t){const l=i.slice();return l[27]=e[t],l}function Hl(i){let e,t,l=i[27]+"";return{c(){e=S("th"),t=new Oe(!1),this.h()},l(a){e=P(a,"TH",{class:!0,role:!0});var n=T(e);t=Ae(n,!1),n.forEach(V),this.h()},h(){t.a=null,d(e,"class",i[3]),d(e,"role","columnheader")},m(a,n){R(a,e,n),t.m(l,e)},p(a,n){n&1&&l!==(l=a[27]+"")&&t.p(l),n&8&&d(e,"class",a[3])},d(a){a&&V(e)}}}function ql(i){let e,t,l=(Number(i[19])===0||i[19]?i[19]:"-")+"",a;return{c(){e=S("td"),t=new Oe(!1),this.h()},l(n){e=P(n,"TD",{class:!0,role:!0,"aria-colindex":!0,tabindex:!0});var s=T(e);t=Ae(s,!1),s.forEach(V),this.h()},h(){t.a=null,d(e,"class",i[5]),d(e,"role","gridcell"),d(e,"aria-colindex",i[26]+1),d(e,"tabindex",a=i[26]===0&&i[1]?0:-1)},m(n,s){R(n,e,s),t.m(l,e)},p(n,s){s&1&&l!==(l=(Number(n[19])===0||n[19]?n[19]:"-")+"")&&t.p(l),s&32&&d(e,"class",n[5]),s&2&&a!==(a=n[26]===0&&n[1]?0:-1)&&d(e,"tabindex",a)},d(n){n&&V(e)}}}function Gl(i){let e,t,l,a,n=Le(i[22]),s=[];for(let u=0;u{y(w,v)},C=(v,w)=>{m(w,v)};return i.$$set=v=>{t(18,e=Y(Y({},e),ae(v))),"source"in v&&t(0,s=v.source),"interactive"in v&&t(1,r=v.interactive),"element"in v&&t(12,o=v.element),"text"in v&&t(13,u=v.text),"color"in v&&t(14,c=v.color),"regionHead"in v&&t(2,f=v.regionHead),"regionHeadCell"in v&&t(3,b=v.regionHeadCell),"regionBody"in v&&t(4,g=v.regionBody),"regionCell"in v&&t(5,k=v.regionCell),"regionFoot"in v&&t(6,p=v.regionFoot),"regionFootCell"in v&&t(7,h=v.regionFootCell)},i.$$.update=()=>{t(9,l=`${e.class||""}`),i.$$.dirty&28672&&t(8,a=`${o} ${u} ${c}`)},e=ae(e),[s,r,f,b,g,k,p,h,a,l,y,m,o,u,c,_,C]}class vd extends pe{constructor(e){super(),ve(this,e,pd,kd,ke,{source:0,interactive:1,element:12,text:13,color:14,regionHead:2,regionHeadCell:3,regionBody:4,regionCell:5,regionFoot:6,regionFootCell:7})}}vd.__docgen={version:3,name:"Table.svelte",data:[{visibility:"public",description:null,keywords:[],name:"source",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"interactive",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"boolean",type:"boolean"},defaultValue:!1},{visibility:"public",description:null,keywords:[],name:"element",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"table"},{visibility:"public",description:null,keywords:[],name:"text",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{visibility:"public",description:null,keywords:[],name:"color",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{visibility:"public",description:null,keywords:[],name:"regionHead",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{visibility:"public",description:null,keywords:[],name:"regionHeadCell",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{visibility:"public",description:null,keywords:[],name:"regionBody",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{visibility:"public",description:null,keywords:[],name:"regionCell",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{visibility:"public",description:null,keywords:[],name:"regionFoot",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{visibility:"public",description:null,keywords:[],name:"regionFootCell",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""}],computed:[],methods:[],components:[],description:null,keywords:[],events:[{visibility:"public",description:null,keywords:[],name:"selected"}],slots:[],refs:[]};const _d=i=>({}),Jl=i=>({});function Ql(i){let e,t,l;const a=i[17].panel,n=oe(a,i,i[16],Jl);return{c(){e=S("div"),n&&n.c(),this.h()},l(s){e=P(s,"DIV",{class:!0,role:!0,"aria-labelledby":!0,tabindex:!0});var r=T(e);n&&n.l(r),r.forEach(V),this.h()},h(){d(e,"class",t="tab-panel "+i[2]),d(e,"role","tabpanel"),d(e,"aria-labelledby",i[1]),d(e,"tabindex","0")},m(s,r){R(s,e,r),n&&n.m(e,null),l=!0},p(s,r){n&&n.p&&(!l||r&65536)&&de(n,a,s,s[16],l?ce(a,s[16],r,_d):ue(s[16]),Jl),(!l||r&4&&t!==(t="tab-panel "+s[2]))&&d(e,"class",t),(!l||r&2)&&d(e,"aria-labelledby",s[1])},i(s){l||(N(n,s),l=!0)},o(s){A(n,s),l=!1},d(s){s&&V(e),n&&n.d(s)}}}function Vd(i){let e,t,l,a,n,s;const r=i[17].default,o=oe(r,i,i[16],null);let u=i[5].panel&&Ql(i);return{c(){e=S("div"),t=S("div"),o&&o.c(),a=te(),u&&u.c(),this.h()},l(c){e=P(c,"DIV",{class:!0,"data-testid":!0});var f=T(e);t=P(f,"DIV",{class:!0,role:!0,"aria-labelledby":!0});var b=T(t);o&&o.l(b),b.forEach(V),a=ie(f),u&&u.l(f),f.forEach(V),this.h()},h(){d(t,"class",l="tab-list "+i[3]),d(t,"role","tablist"),d(t,"aria-labelledby",i[0]),d(e,"class",n="tab-group "+i[4]),d(e,"data-testid","tab-group")},m(c,f){R(c,e,f),L(e,t),o&&o.m(t,null),L(e,a),u&&u.m(e,null),s=!0},p(c,[f]){o&&o.p&&(!s||f&65536)&&de(o,r,c,c[16],s?ce(r,c[16],f,null):ue(c[16]),null),(!s||f&8&&l!==(l="tab-list "+c[3]))&&d(t,"class",l),(!s||f&1)&&d(t,"aria-labelledby",c[0]),c[5].panel?u?(u.p(c,f),f&32&&N(u,1)):(u=Ql(c),u.c(),N(u,1),u.m(e,null)):u&&(fe(),A(u,1,1,()=>{u=null}),ye()),(!s||f&16&&n!==(n="tab-group "+c[4]))&&d(e,"class",n)},i(c){s||(N(o,c),N(u),s=!0)},o(c){A(o,c),A(u),s=!1},d(c){c&&V(e),o&&o.d(c),u&&u.d()}}}const wd="space-y-4",Cd="flex overflow-x-auto hide-scrollbar",Id="";function Ed(i,e,t){let l,a,n,{$$slots:s={},$$scope:r}=e;const o=Ke(s);let{justify:u="justify-start"}=e,{border:c="border-b border-surface-400-500-token"}=e,{active:f="border-b-2 border-surface-900-50-token"}=e,{hover:b="hover:variant-soft"}=e,{flex:g="flex-none"}=e,{padding:k="px-4 py-2"}=e,{rounded:p="rounded-tl-container-token rounded-tr-container-token"}=e,{spacing:h="space-y-1"}=e,{regionList:y=""}=e,{regionPanel:m=""}=e,{labelledby:_=""}=e,{panel:C=""}=e;return $("active",f),$("hover",b),$("flex",g),$("padding",k),$("rounded",p),$("spacing",h),i.$$set=v=>{t(18,e=Y(Y({},e),ae(v))),"justify"in v&&t(6,u=v.justify),"border"in v&&t(7,c=v.border),"active"in v&&t(8,f=v.active),"hover"in v&&t(9,b=v.hover),"flex"in v&&t(10,g=v.flex),"padding"in v&&t(11,k=v.padding),"rounded"in v&&t(12,p=v.rounded),"spacing"in v&&t(13,h=v.spacing),"regionList"in v&&t(14,y=v.regionList),"regionPanel"in v&&t(15,m=v.regionPanel),"labelledby"in v&&t(0,_=v.labelledby),"panel"in v&&t(1,C=v.panel),"$$scope"in v&&t(16,r=v.$$scope)},i.$$.update=()=>{t(4,l=`${wd} ${e.class??""}`),i.$$.dirty&16576&&t(3,a=`${Cd} ${u} ${c} ${y}`),i.$$.dirty&32768&&t(2,n=`${Id} ${m}`)},e=ae(e),[_,C,n,a,l,o,u,c,f,b,g,k,p,h,y,m,r,s]}class Td extends pe{constructor(e){super(),ve(this,e,Ed,Vd,ke,{justify:6,border:7,active:8,hover:9,flex:10,padding:11,rounded:12,spacing:13,regionList:14,regionPanel:15,labelledby:0,panel:1})}}Td.__docgen={version:3,name:"TabGroup.svelte",data:[{visibility:"public",description:null,keywords:[],name:"justify",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"justify-start"},{visibility:"public",description:null,keywords:[],name:"border",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"border-b border-surface-400-500-token"},{visibility:"public",description:null,keywords:[],name:"active",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"border-b-2 border-surface-900-50-token"},{visibility:"public",description:null,keywords:[],name:"hover",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"hover:variant-soft"},{visibility:"public",description:null,keywords:[],name:"flex",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"flex-none"},{visibility:"public",description:null,keywords:[],name:"padding",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"px-4 py-2"},{visibility:"public",description:null,keywords:[],name:"rounded",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"rounded-tl-container-token rounded-tr-container-token"},{visibility:"public",description:null,keywords:[],name:"spacing",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"space-y-1"},{visibility:"public",description:null,keywords:[],name:"regionList",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{visibility:"public",description:null,keywords:[],name:"regionPanel",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{visibility:"public",description:null,keywords:[],name:"labelledby",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{visibility:"public",description:null,keywords:[],name:"panel",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[{keywords:[],visibility:"public",description:"Tab List",name:"default"},{keywords:[],visibility:"public",description:"",name:"panel"}],refs:[]};const Ld=i=>({}),Yl=i=>({});function Xl(i){let e,t;const l=i[22].lead,a=oe(l,i,i[21],Yl);return{c(){e=S("div"),a&&a.c(),this.h()},l(n){e=P(n,"DIV",{class:!0});var s=T(e);a&&a.l(s),s.forEach(V),this.h()},h(){d(e,"class","tab-lead")},m(n,s){R(n,e,s),a&&a.m(e,null),t=!0},p(n,s){a&&a.p&&(!t||s[0]&2097152)&&de(a,l,n,n[21],t?ce(l,n[21],s,Ld):ue(n[21]),Yl)},i(n){t||(N(a,n),t=!0)},o(n){A(a,n),t=!1},d(n){n&&V(e),a&&a.d(n)}}}function Bd(i){let e,t,l,a,n,s,r,o,u,c,f,b,g,k,p,h=[{type:"radio"},{name:i[1]},{__value:i[2]},i[11](),{tabindex:"-1"}],y={};for(let v=0;v{m=null}),ye()),C&&C.p&&(!b||w[0]&2097152)&&de(C,_,v,v[21],b?ce(_,v[21],w,null):ue(v[21]),null),(!b||w[0]&256&&u!==(u="tab-interface "+v[8]))&&d(s,"class",u),(!b||w[0]&128&&c!==(c="tab "+v[7]))&&d(t,"class",c),(!b||w[0]&16)&&d(t,"aria-controls",v[4]),(!b||w[0]&32)&&d(t,"aria-selected",v[5]),(!b||w[0]&32&&f!==(f=v[5]?0:-1))&&d(t,"tabindex",f),(!b||w[0]&512)&&d(e,"class",v[9]),(!b||w[0]&8)&&d(e,"title",v[3])},i(v){b||(N(m),N(C,v),b=!0)},o(v){A(m),A(C,v),b=!1},d(v){v&&V(e),i[28](null),m&&m.d(),C&&C.d(v),g.r(),k=!1,Se(p)}}}const Nd="text-center cursor-pointer transition-colors duration-100",Sd="";function Pd(i,e,t){let l,a,n,s,r;const o=["group","name","value","title","controls","regionTab","active","hover","flex","padding","rounded","spacing"];let u=Fe(e,o),{$$slots:c={},$$scope:f}=e;const b=Ke(c);let{group:g}=e,{name:k}=e,{value:p}=e,{title:h=""}=e,{controls:y=""}=e,{regionTab:m=""}=e,{active:_=X("active")}=e,{hover:C=X("hover")}=e,{flex:v=X("flex")}=e,{padding:w=X("padding")}=e,{rounded:I=X("rounded")}=e,{spacing:E=X("spacing")}=e,B;function F(Q){if(["Enter","Space"].includes(Q.code))Q.preventDefault(),B.click();else if(Q.code==="ArrowRight"){const D=B.closest(".tab-list");if(!D)return;const _e=Array.from(D.querySelectorAll(".tab")),we=B.closest(".tab");if(!we)return;const H=_e.indexOf(we),J=H+1>=_e.length?0:H+1,U=_e[J],le=U==null?void 0:U.querySelector("input");U&&le&&(le.click(),U.focus())}else if(Q.code==="ArrowLeft"){const D=B.closest(".tab-list");if(!D)return;const _e=Array.from(D.querySelectorAll(".tab")),we=B.closest(".tab");if(!we)return;const H=_e.indexOf(we),J=H-1<0?_e.length-1:H-1,U=_e[J],le=U==null?void 0:U.querySelector("input");U&&le&&(le.click(),U.focus())}}function M(){return delete u.class,u}const j=[[]];function x(Q){ee.call(this,i,Q)}function re(Q){ee.call(this,i,Q)}function ge(Q){ee.call(this,i,Q)}function W(Q){ee.call(this,i,Q)}function he(Q){ee.call(this,i,Q)}function G(Q){Ne[Q?"unshift":"push"](()=>{B=Q,t(6,B)})}function K(){g=this.__value,t(0,g)}return i.$$set=Q=>{t(32,e=Y(Y({},e),ae(Q))),t(31,u=Fe(e,o)),"group"in Q&&t(0,g=Q.group),"name"in Q&&t(1,k=Q.name),"value"in Q&&t(2,p=Q.value),"title"in Q&&t(3,h=Q.title),"controls"in Q&&t(4,y=Q.controls),"regionTab"in Q&&t(13,m=Q.regionTab),"active"in Q&&t(14,_=Q.active),"hover"in Q&&t(15,C=Q.hover),"flex"in Q&&t(16,v=Q.flex),"padding"in Q&&t(17,w=Q.padding),"rounded"in Q&&t(18,I=Q.rounded),"spacing"in Q&&t(19,E=Q.spacing),"$$scope"in Q&&t(21,f=Q.$$scope)},i.$$.update=()=>{i.$$.dirty[0]&5&&t(5,l=p===g),i.$$.dirty[0]&49184&&t(20,a=l?_:C),t(9,n=`${Nd} ${v} ${w} ${I} ${a} ${e.class??""}`),i.$$.dirty[0]&524288&&t(8,s=`${Sd} ${E}`),i.$$.dirty[0]&8192&&t(7,r=`${m}`)},e=ae(e),[g,k,p,h,y,l,B,r,s,n,F,M,b,m,_,C,v,w,I,E,a,f,c,x,re,ge,W,he,G,K,j]}class Dd extends pe{constructor(e){super(),ve(this,e,Pd,Bd,ke,{group:0,name:1,value:2,title:3,controls:4,regionTab:13,active:14,hover:15,flex:16,padding:17,rounded:18,spacing:19},null,[-1,-1])}}Dd.__docgen={version:3,name:"Tab.svelte",data:[{visibility:"public",description:null,keywords:[],name:"group",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"},bind:[{source:"input",property:"group"}]},{visibility:"public",description:null,keywords:[],name:"name",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"value",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"title",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{visibility:"public",description:null,keywords:[],name:"controls",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{visibility:"public",description:null,keywords:[],name:"regionTab",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{visibility:"public",description:null,keywords:[],name:"active",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"hover",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"flex",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"padding",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"rounded",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"spacing",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}}],computed:[],methods:[],components:[],description:null,keywords:[],events:[{keywords:[],visibility:"public",description:"A11y attributes are not allowed on