1import{f as d,o as a,g as m,w as y,r as n,n as s,c as f,i as h,_ as x,d as r,t as u}from"./entry.5974df5d.js";import{_ as k}from"./_plugin-vue_export-helper.a1a6add7.js";const g=["href"],p=d({__name:"Button",props:{text:{type:String,default:""},type:{type:String,default:"primary"},to:{type:[String,Object],default:void 0},href:{type:String,default:void 0}},setup(t){const o=t,c=e=>{const l=h();o.to&&l.push(o.to),o.href||e.preventDefault()};return(e,l)=>{const i=x;return t.to?(a(),m(i,{key:0,tag:"a",to:t.to,class:s(`button ${t.type}`)},{default:y(()=>[n(e.$slots,"default",{},()=>[r(u(t.text),1)],!0)]),_:3},8,["to","class"])):t.href?(a(),f("a",{key:1,class:s(`button ${t.type}`),href:t.href,onClick:c},[n(e.$slots,"default",{},()=>[r(u(t.text),1)],!0)],10,g)):(a(),f("button",{key:2,class:s(`button ${t.type}`),onClick:c},[n(e.$slots,"default",{},()=>[r(u(t.text),1)],!0)],2))}}}),b=k(p,[["__scopeId","data-v-7032fa65"]]);export{b as default};
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.