import{S as _,i as b,s as d,b as q,g as v,a as p,Z as $,_ as g,a0 as k,t as f,p as i,k as T,e as w,o as z,r as A,a3 as B,z as D,T as I,V as h,f as N,m as V,q as Z}from"./vendor.906e418a.js";import{a as j}from"./Tabs.4a55f686.js";function m(o){let s,a;const e=o[5].default,t=h(e,o,o[4],null);return{c(){s=q("div"),t&&t.c(),v(s,"class","p-2 border-2 border-t-0 border-gray-200")},m(n,l){p(n,s,l),t&&t.m(s,null),a=!0},p(n,l){t&&t.p&&(!a||l&16)&&$(t,e,n,n[4],a?k(e,n[4],l,null):g(n[4]),null)},i(n){a||(f(t,n),a=!0)},o(n){i(t,n),a=!1},d(n){n&&T(s),t&&t.d(n)}}}function y(o){let s,a,e=o[0]===o[1]&&m(o);return{c(){e&&e.c(),s=w()},m(t,n){e&&e.m(t,n),p(t,s,n),a=!0},p(t,[n]){t[0]===t[1]?e?(e.p(t,n),n&1&&f(e,1)):(e=m(t),e.c(),f(e,1),e.m(s.parentNode,s)):e&&(z(),i(e,1,1,()=>{e=null}),A())},i(t){a||(f(e),a=!0)},o(t){i(e),a=!1},d(t){e&&e.d(t),t&&T(s)}}}function E(o,s,a){let e,{$$slots:t={},$$scope:n}=s,{name:l}=s;const u={},{register_tab:C,unregister_tab:S,selected_tab:c}=B(j);return D(o,c,r=>a(0,e=r)),C({name:l,id:u}),I(()=>{S({name:l,id:u})}),o.$$set=r=>{"name"in r&&a(3,l=r.name),"$$scope"in r&&a(4,n=r.$$scope)},[e,u,c,l,n,t]}class F extends _{constructor(s){super();b(this,s,E,y,d,{name:3})}}function G(o){let s;const a=o[1].default,e=h(a,o,o[2],null);return{c(){e&&e.c()},m(t,n){e&&e.m(t,n),s=!0},p(t,n){e&&e.p&&(!s||n&4)&&$(e,a,t,t[2],s?k(a,t[2],n,null):g(t[2]),null)},i(t){s||(f(e,t),s=!0)},o(t){i(e,t),s=!1},d(t){e&&e.d(t)}}}function H(o){let s,a;return s=new F({props:{name:o[0],$$slots:{default:[G]},$$scope:{ctx:o}}}),{c(){N(s.$$.fragment)},m(e,t){V(s,e,t),a=!0},p(e,[t]){const n={};t&1&&(n.name=e[0]),t&4&&(n.$$scope={dirty:t,ctx:e}),s.$set(n)},i(e){a||(f(s.$$.fragment,e),a=!0)},o(e){i(s.$$.fragment,e),a=!1},d(e){Z(s,e)}}}function J(o,s,a){let{$$slots:e={},$$scope:t}=s,{label:n}=s;return o.$$set=l=>{"label"in l&&a(0,n=l.label),"$$scope"in l&&a(2,t=l.$$scope)},[n,e,t]}class K extends _{constructor(s){super();b(this,s,J,H,d,{label:0})}}var O=K;const P=["static"];export{O as Component,P as modes};
