1import{I as B,a7 as S,q as d,J as f,a2 as T,o as c,b as u,h as v,F as C,r as x,n as r,i as s,Q as y,t as I,B as N}from"./DASaX-L3.js";const q=["onClick"],w={},$=Object.assign(w,{__name:"NkTabs",props:{variant:{type:String,required:!1,default:"default"}},emits:["tab-change"],setup(t,{emit:p}){const a=B("NkTabs"),m=p,b=S(),i=d([]),o=d(null);function l(e){o.value=e}f("activeTab",{activeTab:o,updateActiveTab:l}),f("props",t);const h=e=>{m("tab-change",e),l(e.props.title)};return T(()=>{const e=b.default();i.value=e,i.value.some(n=>n.props.selected===!0)||l(i.value[0].props.title)}),(e,g)=>(c(),u("div",{class:r([s(a).fixedClasses,s(a).variants[t.variant].wrapper])},[v("ul",{class:r(s(a).variants[t.variant].header)},[(c(!0),u(C,null,x(i.value,(n,k)=>(c(),u("li",{key:"tabIndex"+k,class:r(s(a).variants[t.variant].headerItem)},[v("a",{role:"button",href:"#",class:r([s(a).variants[t.variant].headerButton,o.value===n.props.title?s(a).variants[t.variant].headerButtonActive:null]),onClick:y(F=>h(n),["prevent"])},I(n.props.title),11,q)],2))),128))],2),v("div",{class:r(s(a).variants[t.variant].content)},[N(e.$slots,"default")],2)],2))}});export{$ as default}; 2//# sourceMappingURL=DBlBNGSz.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.