{n&&(a&&a.end(1),l=at(e,Fe,{transition:i[2],params:i[3],enabled:i[1]}),l.start())}),n=!0)},o(o){l&&l.invalidate(),o&&(a=st(e,Fe,{transition:i[4],params:i[5],enabled:i[1]})),n=!1},d(o){o&&V(e),xe(r,o),o&&a&&a.end()}}}function Nl(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)+"")&&De(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 $o(i){let e,t,l,a,n,s,r=i[7].total&&Bl(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=Bl(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 ed="space-y-4",td="flex items-center border-t mt-[15px]",id="-mt-[15px] transition-all duration-300",ld="";function nd(i,e,t){let l,a,n,s,r,o,u,c;Je(i,ht,H=>t(33,c=H));let{$$slots:f={},$$scope:b}=e;const m=Ye();let{gap:k="gap-4"}=e,{stepTerm:p="Step"}=e,{badge:g="variant-filled-surface"}=e,{active:y="variant-filled"}=e,{border:h="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:$="Complete"}=e,{regionHeader:re=""}=e,{regionContent:ge=""}=e,{transitions:W=!c}=e,{transitionIn:me=ut}=e,{transitionInParams:G={duration:100}}=e,{transitionOut:K=ut}=e,{transitionOutParams:Q={duration:100}}=e,D=rt({current:_,total:0});Je(i,D,H=>t(7,u=H));async function pe(H,U){await new Promise(le=>setTimeout(le)),!H&&(wt(D,u.current++,u),m("next",{step:U,state:u}),m("step",{step:U,state:u}))}function we(H){wt(D,u.current--,u),m("back",{step:H,state:u}),m("step",{step:H,state:u})}function X(H){m("complete",{step:H,state:u})}return x("state",D),x("stepTerm",p),x("gap",k),x("justify",C),x("onNext",pe),x("onBack",we),x("onComplete",X),x("buttonBack",v),x("buttonBackType",w),x("buttonBackLabel",I),x("buttonNext",E),x("buttonNextType",B),x("buttonNextLabel",F),x("buttonComplete",M),x("buttonCompleteType",j),x("buttonCompleteLabel",$),x("transitions",W),x("transitionIn",me),x("transitionInParams",G),x("transitionOut",K),x("transitionOutParams",Q),i.$$set=H=>{t(38,e=J(J({},e),ae(H))),"gap"in H&&t(14,k=H.gap),"stepTerm"in H&&t(0,p=H.stepTerm),"badge"in H&&t(15,g=H.badge),"active"in H&&t(16,y=H.active),"border"in H&&t(17,h=H.border),"start"in H&&t(18,_=H.start),"justify"in H&&t(19,C=H.justify),"buttonBack"in H&&t(20,v=H.buttonBack),"buttonBackType"in H&&t(21,w=H.buttonBackType),"buttonBackLabel"in H&&t(22,I=H.buttonBackLabel),"buttonNext"in H&&t(23,E=H.buttonNext),"buttonNextType"in H&&t(24,B=H.buttonNextType),"buttonNextLabel"in H&&t(25,F=H.buttonNextLabel),"buttonComplete"in H&&t(26,M=H.buttonComplete),"buttonCompleteType"in H&&t(27,j=H.buttonCompleteType),"buttonCompleteLabel"in H&&t(28,$=H.buttonCompleteLabel),"regionHeader"in H&&t(29,re=H.regionHeader),"regionContent"in H&&t(30,ge=H.regionContent),"transitions"in H&&t(1,W=H.transitions),"transitionIn"in H&&t(2,me=H.transitionIn),"transitionInParams"in H&&t(3,G=H.transitionInParams),"transitionOut"in H&&t(4,K=H.transitionOut),"transitionOutParams"in H&&t(5,Q=H.transitionOutParams),"$$scope"in H&&t(31,b=H.$$scope)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(6,l=H=>H===u.current),t(12,a=`${ed} ${e.class??""}`),i.$$.dirty[0]&537018368&&t(11,n=`${td} ${h} ${k} ${re}`),i.$$.dirty[0]&98368&&t(9,r=H=>l(H)?y:g),i.$$.dirty[0]&1073741824&&t(8,o=`${ld} ${ge}`)},t(10,s=`${id}`),e=ae(e),[p,W,me,G,K,Q,l,u,o,r,s,n,a,D,k,g,y,h,_,C,v,w,I,E,B,F,M,j,$,re,ge,b,f]}class ad extends ve{constructor(e){super(),_e(this,e,nd,$o,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])}}ad.__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 sd=i=>({}),Sl=i=>({}),rd=i=>({}),Pl=i=>({});function Dl(i){let e,t,l,a,n,s,r,o,u;const c=i[33].header,f=oe(c,i,i[32],Pl),b=f||od(i),m=i[33].default,k=oe(m,i,i[32],null),p=k||dd(i);let g=i[24].total>1&&Ol(i);return{c(){e=S("div"),t=S("header"),b&&b.c(),a=te(),n=S("div"),p&&p.c(),r=te(),g&&g.c(),this.h()},l(y){e=P(y,"DIV",{class:!0,"data-testid":!0});var h=T(e);t=P(h,"HEADER",{class:!0});var _=T(t);b&&b.l(_),_.forEach(V),a=ie(h),n=P(h,"DIV",{class:!0});var C=T(n);p&&p.l(C),C.forEach(V),r=ie(h),g&&g.l(h),h.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,h){R(y,e,h),L(e,t),b&&b.m(t,null),L(e,a),L(e,n),p&&p.m(n,null),L(e,r),g&&g.m(e,null),u=!0},p(y,h){f?f.p&&(!u||h[1]&2)&&de(f,c,y,y[32],u?ce(c,y[32],h,rd):ue(y[32]),Pl):b&&b.p&&(!u||h[0]&4)&&b.p(y,u?h:[-1,-1]),(!u||h[0]&4194304&&l!==(l="step-header "+y[22]))&&d(t,"class",l),k?k.p&&(!u||h[1]&2)&&de(k,m,y,y[32],u?ce(m,y[32],h,null):ue(y[32]),null):p&&p.p&&(!u||h[0]&4)&&p.p(y,u?h:[-1,-1]),(!u||h[0]&2097152&&s!==(s="step-content "+y[21]))&&d(n,"class",s),y[24].total>1?g?(g.p(y,h),h[0]&16777216&&N(g,1)):(g=Ol(y),g.c(),N(g,1),g.m(e,null)):g&&(fe(),A(g,1,1,()=>{g=null}),ye()),(!u||h[0]&8388608&&o!==(o="step "+y[23]))&&d(e,"class",o)},i(y){u||(N(b,y),N(p,y),N(g),u=!0)},o(y){A(b,y),A(p,y),A(g),u=!1},d(y){y&&V(e),b&&b.d(y),p&&p.d(y),g&&g.d()}}}function od(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&&De(e,n[2])},d(n){n&&(V(e),V(t),V(a))}}}function dd(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&&De(t,r[2])},d(r){r&&(V(e),V(t),V(l),V(n),V(s))}}}function Ol(i){let e,t,l,a,n,s,r,o;const u=[cd,ud],c=[];function f(p,g){return p[25]===0&&p[26].navigation?0:1}t=f(i),l=c[t]=u[t](i);function b(p,g){return p[25]{c[y]=null}),ye(),l=c[t],l?l.p(i,g):(l=c[t]=u[t](i),l.c()),N(l,1),l.m(e,a)),m===(m=b(i))&&k?k.p(i,g):(k.d(1),k=m(i),k&&(k.c(),k.m(e,null))),(!o||g[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,Fe,{transition:i[16],params:i[17],enabled:i[15]}),s.start())}),o=!0)},o(p){A(l),s&&s.invalidate(),p&&(r=st(e,Fe,{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 ud(i){let e,t,l,a,n,s;return{c(){e=S("button"),t=new Ae(!1),this.h()},l(r){e=P(r,"BUTTON",{type:!0,class:!0});var o=T(e);t=Re(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 cd(i){let e,t;const l=i[33].navigation,a=oe(l,i,i[32],Sl);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,sd):ue(n[32]),Sl)},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 fd(i){let e,t,l,a,n;return{c(){e=S("button"),t=new Ae(!1),this.h()},l(s){e=P(s,"BUTTON",{type:!0,class:!0});var r=T(e);t=Re(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 yd(i){let e,t,l,a,n,s,r,o=i[0]&&Al();return{c(){e=S("button"),o&&o.c(),t=te(),l=S("span"),a=new Ae(!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=Re(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=Al(),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 Al(i){let e,t;return{c(){e=be("svg"),t=be("path"),this.h()},l(l){e=he(l,"svg",{class:!0,xmlns:!0,viewBox:!0});var a=T(e);t=he(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 bd(i){let e,t,l=i[25]===i[24].current&&Dl(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=Dl(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 hd="space-y-4",md="text-2xl font-bold",gd="space-y-4",kd="flex";function pd(i,e,t){let l,a,n,s,r,o=se,u=()=>(o(),o=In(y,U=>t(24,r=U)),y);i.$$.on_destroy.push(()=>o());let{$$slots:c={},$$scope:f}=e;const b=Ke(c);let{locked:m=!1}=e,{regionHeader:k=""}=e,{regionContent:p=""}=e,{regionNavigation:g=""}=e,{state:y=Y("state")}=e;u();let{stepTerm:h=Y("stepTerm")}=e,{gap:_=Y("gap")}=e,{justify:C=Y("justify")}=e,{onNext:v=Y("onNext")}=e,{onBack:w=Y("onBack")}=e,{onComplete:I=Y("onComplete")}=e,{buttonBack:E=Y("buttonBack")}=e,{buttonBackType:B=Y("buttonBackType")}=e,{buttonBackLabel:F=Y("buttonBackLabel")}=e,{buttonNext:M=Y("buttonNext")}=e,{buttonNextType:j=Y("buttonNextType")}=e,{buttonNextLabel:$=Y("buttonNextLabel")}=e,{buttonComplete:re=Y("buttonComplete")}=e,{buttonCompleteType:ge=Y("buttonCompleteType")}=e,{buttonCompleteLabel:W=Y("buttonCompleteLabel")}=e,{transitions:me=Y("transitions")}=e,{transitionIn:G=Y("transitionIn")}=e,{transitionInParams:K=Y("transitionInParams")}=e,{transitionOut:Q=Y("transitionOut")}=e,{transitionOutParams:D=Y("transitionOutParams")}=e;const pe=r.total;wt(y,r.total++,r),Qn(()=>{wt(y,r.total--,r)});const we=()=>w(pe),X=()=>v(m,pe),H=()=>I(pe);return i.$$set=U=>{t(37,e=J(J({},e),ae(U))),"locked"in U&&t(0,m=U.locked),"regionHeader"in U&&t(27,k=U.regionHeader),"regionContent"in U&&t(28,p=U.regionContent),"regionNavigation"in U&&t(29,g=U.regionNavigation),"state"in U&&u(t(1,y=U.state)),"stepTerm"in U&&t(2,h=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,$=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,me=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=`${hd} ${e.class??""}`),i.$$.dirty[0]&134217728&&t(22,a=`${md} ${k}`),i.$$.dirty[0]&268435456&&t(21,n=`${gd} ${p}`),i.$$.dirty[0]&1610612736|i.$$.dirty[1]&1&&t(20,s=`${kd} ${C} ${_} ${g}`)},e=ae(e),[m,y,h,v,w,I,E,B,F,M,j,$,re,ge,W,me,G,K,Q,D,s,n,a,l,r,pe,b,k,p,g,_,C,f,c,we,X,H]}class vd extends ve{constructor(e){super(),_e(this,e,pd,bd,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])}}vd.__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 _d(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":Rl(i,"first");break;case"End":Rl(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 Vd(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 Rl(i,e="first"){const t=Vd(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 Ml(i,e,t){const l=i.slice();return l[19]=e[t],l}function Fl(i,e,t){const l=i.slice();return l[22]=e[t],l[24]=t,l}function jl(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 Ul(i){let e,t,l=i[27]+"";return{c(){e=S("th"),t=new Ae(!1),this.h()},l(a){e=P(a,"TH",{class:!0,role:!0});var n=T(e);t=Re(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 Hl(i){let e,t,l=(Number(i[19])===0||i[19]?i[19]:"-")+"",a;return{c(){e=S("td"),t=new Ae(!1),this.h()},l(n){e=P(n,"TD",{class:!0,role:!0,"aria-colindex":!0,tabindex:!0});var s=T(e);t=Re(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 ql(i){let e,t,l,a,n=Le(i[22]),s=[];for(let u=0;u{y(w,v)},C=(v,w)=>{h(w,v)};return i.$$set=v=>{t(18,e=J(J({},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,m=v.regionBody),"regionCell"in v&&t(5,k=v.regionCell),"regionFoot"in v&&t(6,p=v.regionFoot),"regionFootCell"in v&&t(7,g=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,m,k,p,g,a,l,y,h,o,u,c,_,C]}class Id extends ve{constructor(e){super(),_e(this,e,Cd,wd,ke,{source:0,interactive:1,element:12,text:13,color:14,regionHead:2,regionHeadCell:3,regionBody:4,regionCell:5,regionFoot:6,regionFootCell:7})}}Id.__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 Ed=i=>({}),Kl=i=>({});function Jl(i){let e,t,l;const a=i[17].panel,n=oe(a,i,i[16],Kl);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,Ed):ue(s[16]),Kl),(!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 Td(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&&Jl(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=Jl(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 Ld="space-y-4",Bd="flex overflow-x-auto hide-scrollbar",Nd="";function Sd(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:m="flex-none"}=e,{padding:k="px-4 py-2"}=e,{rounded:p="rounded-tl-container-token rounded-tr-container-token"}=e,{spacing:g="space-y-1"}=e,{regionList:y=""}=e,{regionPanel:h=""}=e,{labelledby:_=""}=e,{panel:C=""}=e;return x("active",f),x("hover",b),x("flex",m),x("padding",k),x("rounded",p),x("spacing",g),i.$$set=v=>{t(18,e=J(J({},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,m=v.flex),"padding"in v&&t(11,k=v.padding),"rounded"in v&&t(12,p=v.rounded),"spacing"in v&&t(13,g=v.spacing),"regionList"in v&&t(14,y=v.regionList),"regionPanel"in v&&t(15,h=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=`${Ld} ${e.class??""}`),i.$$.dirty&16576&&t(3,a=`${Bd} ${u} ${c} ${y}`),i.$$.dirty&32768&&t(2,n=`${Nd} ${h}`)},e=ae(e),[_,C,n,a,l,o,u,c,f,b,m,k,p,g,y,h,r,s]}class Pd extends ve{constructor(e){super(),_e(this,e,Sd,Td,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})}}Pd.__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 Dd=i=>({}),Ql=i=>({});function Yl(i){let e,t;const l=i[22].lead,a=oe(l,i,i[21],Ql);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,Dd):ue(n[21]),Ql)},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 Od(i){let e,t,l,a,n,s,r,o,u,c,f,b,m,k,p,g=[{type:"radio"},{name:i[1]},{__value:i[2]},i[11](),{tabindex:"-1"}],y={};for(let v=0;v{h=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(h),N(C,v),b=!0)},o(v){A(h),A(C,v),b=!1},d(v){v&&V(e),i[28](null),h&&h.d(),C&&C.d(v),m.r(),k=!1,Se(p)}}}const Ad="text-center cursor-pointer transition-colors duration-100",Rd="";function Md(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=je(e,o),{$$slots:c={},$$scope:f}=e;const b=Ke(c);let{group:m}=e,{name:k}=e,{value:p}=e,{title:g=""}=e,{controls:y=""}=e,{regionTab:h=""}=e,{active:_=Y("active")}=e,{hover:C=Y("hover")}=e,{flex:v=Y("flex")}=e,{padding:w=Y("padding")}=e,{rounded:I=Y("rounded")}=e,{spacing:E=Y("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 pe=Array.from(D.querySelectorAll(".tab")),we=B.closest(".tab");if(!we)return;const X=pe.indexOf(we),H=X+1>=pe.length?0:X+1,U=pe[H],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 pe=Array.from(D.querySelectorAll(".tab")),we=B.closest(".tab");if(!we)return;const X=pe.indexOf(we),H=X-1<0?pe.length-1:X-1,U=pe[H],le=U==null?void 0:U.querySelector("input");U&&le&&(le.click(),U.focus())}}function M(){return delete u.class,u}const j=[[]];function $(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 me(Q){ee.call(this,i,Q)}function G(Q){Ne[Q?"unshift":"push"](()=>{B=Q,t(6,B)})}function K(){m=this.__value,t(0,m)}return i.$$set=Q=>{t(32,e=J(J({},e),ae(Q))),t(31,u=je(e,o)),"group"in Q&&t(0,m=Q.group),"name"in Q&&t(1,k=Q.name),"value"in Q&&t(2,p=Q.value),"title"in Q&&t(3,g=Q.title),"controls"in Q&&t(4,y=Q.controls),"regionTab"in Q&&t(13,h=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===m),i.$$.dirty[0]&49184&&t(20,a=l?_:C),t(9,n=`${Ad} ${v} ${w} ${I} ${a} ${e.class??""}`),i.$$.dirty[0]&524288&&t(8,s=`${Rd} ${E}`),i.$$.dirty[0]&8192&&t(7,r=`${h}`)},e=ae(e),[m,k,p,g,y,l,B,r,s,n,F,M,b,h,_,C,v,w,I,E,a,f,c,$,re,ge,W,me,G,K,j]}class Fd extends ve{constructor(e){super(),_e(this,e,Md,Od,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])}}Fd.__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