1import{e as d,aD as h,R as m,j as a,aE as n,Z as v}from"./BOJKl6be.js";import{_ as l}from"./C0_4BSTv.js";const _=d({name:"NuxtLinkLocale",props:{...l.props,locale:{type:String,default:void 0,required:!1}},setup(t,{slots:r}){const s=h(),u=a(()=>{const e=t.to||t.href||"";return typeof e=="string"&&v(e,{acceptRelative:!0})}),c=a(()=>{const e=t.to??t.href,o=e!=null?s(e,t.locale):e;return o&&n(t.to)&&(o.state=t.to?.state),e!=null?o:e}),i=a(()=>{if(t.external)return!0;const e=t.to||t.href||"";return n(e)?!1:e===""||u.value}),f=()=>{const e={...t};return i.value||(e.to=c.value),delete e.href,delete e.locale,e};return()=>m(l,f(),r.default)}});export{_ 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.