1import{j as e,n as t}from"./B4WeFQ_L.js";import{A as n,U as r,et as i}from"./Dj8oshrg.js";import{_ as a}from"./CAS9dMUF.js";import{t as o}from"./lmLnf-zN.js";var s=r({name:`NuxtLinkLocale`,props:{...o.props,locale:{type:String,default:void 0,required:!1}},setup(r,{slots:s}){let c=t(),l=n(()=>{let e=r.to||r.href||``;return typeof e==`string`&&a(e,{acceptRelative:!0})}),u=n(()=>{let t=r.to??r.href,n=t==null?t:c(t,r.locale);return n&&e(r.to)&&(n.state=r.to?.state),t==null?t:n}),d=n(()=>{if(r.external)return!0;let t=r.to||r.href||``;return e(t)?!1:t===``||l.value}),f=()=>{let e={...r};return d.value||(e.to=u.value),delete e.href,delete e.locale,e};return()=>i(o,f(),s.default)}});export{s as t};
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.