1import{a as j,i as P,u as U}from"./3yVUN-v7.js";import{M as F,O as I,at as H,c as S,lt as v,nt as z,v as M,x as A,z as O}from"./C89sYm7w.js";import{a as W,c as D,g as V,m as $,r as E,s as G}from"./D_t1ZTOJ.js";import{d as Q,f as J,h as q,n as K,p as B,r as X,t as Y}from"./T_KAveaC.js";var oe={};async function N(t,a=q()){const{path:u,matched:R}=a.resolve(t);if(!R.length||(a._routePreloaded||=new Set,a._routePreloaded.has(u)))return;const s=a._preloadPromises||=[];if(s.length>4)return Promise.all(s).then(()=>N(t,a));a._routePreloaded.add(u);for(const e of R){const n=e.components?.default;if(typeof n!="function")continue;const o=Promise.resolve(n()).catch(()=>{}).finally(()=>s.splice(s.indexOf(o),1));s.push(o)}await Promise.all(s)}var Z=(...t)=>t.find(a=>a!==void 0);function T(t){let a=t.replace(/[\u0000-\u001F\s]+/g,"");for(;a.toLowerCase().startsWith("view-source:");)a=a.slice(12);const u=a.indexOf(":");return u>0&&W(a.slice(0,u+1))?null:t}function ee(t){const a=t.componentName||"NuxtLink";function u(e){return typeof e=="string"&&e.startsWith("#")}function R(e,n,o){const r=o??t.trailingSlash;if(!e||r!=="append"&&r!=="remove")return e;if(typeof e=="string")return k(e,r);const f="path"in e&&e.path!==void 0?e.path:n(e).path;return{...e,name:void 0,path:k(f,r)}}function s(e){const n=q(),o=j(),r=S(()=>!!v(e.target)&&v(e.target)!=="_self"),f=S(()=>{const c=v(e.to)||v(e.href)||"";return typeof c=="string"&&E(c,{acceptRelative:!0})}),_=O("RouterLink"),x=_&&typeof _!="string"?_.useLink:void 0,h=S(()=>{if(v(e.external))return!0;const c=v(e.to)||v(e.href)||"";return typeof c=="object"?!1:c===""||f.value}),l=S(()=>{const c=v(e.to)||v(e.href)||"";return h.value?c:R(c,n.resolve,v(e.trailingSlash))}),p=h.value?void 0:x?.({...e,to:l,viewTransition:v(e.viewTransition)}),w=S(()=>{const c=v(e.trailingSlash)??t.trailingSlash;if(!l.value||f.value||u(l.value)){const g=l.value;return typeof g=="string"?T(g):g}if(h.value){const g=typeof l.value=="object"&&"path"in l.value?B(l.value):l.value,C=typeof g=="object"?n.resolve(g).href:g,i=typeof C=="string"?T(C):C;return i===null?null:k(i,c)}return typeof l.value=="object"?n.resolve(l.value)?.href??null:k(G(o.app.baseURL,l.value),c)});return{to:l,hasTarget:r,isAbsoluteUrl:f,isExternal:h,href:w,isActive:p?.isActive??S(()=>l.value===n.currentRoute.value.path),isExactActive:p?.isExactActive??S(()=>l.value===n.currentRoute.value.path),route:p?.route??S(()=>n.resolve(l.value)),async navigate(c){w.value!==null&&await J(w.value,{replace:v(e.replace),external:h.value||r.value})}}}return M({name:a,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:s,setup(e,{slots:n}){const o=q(),{to:r,href:f,navigate:_,isExternal:x,hasTarget:h,isAbsoluteUrl:l}=s(e),p=H(!1),w=z(null),c=i=>{w.value=e.custom?i?.$el?.nextElementSibling:i?.$el};function g(i){return!!(!p.value&&(typeof e.prefetchOn=="string"?e.prefetchOn===i:e.prefetchOn?.[i]??t.prefetchOn?.[i])&&(e.prefetch??t.prefetch)!==!1&&e.noPrefetch!==!0&&e.target!=="_blank"&&!ne())}async function C(i=P()){if(p.value||f.value===null)return;p.value=!0;const b=typeof r.value=="string"?r.value:x.value?B(r.value):o.resolve(r.value).fullPath,y=x.value?new URL(b,window.location.href).href:b;await Promise.all([i.hooks.callHook("link:prefetch",y)?.catch(()=>{}),!x.value&&!h.value&&N(r.value,o).catch(()=>{})])}if(!e.custom&&g("visibility")){const i=P();let b,y=null;F(()=>{const m=te();Y(()=>{b=X(()=>{w?.value?.tagName&&(y=m.observe(w.value,async()=>{y?.(),y=null,await C(i)}))})})}),I(()=>{b&&K(b),y?.(),y=null})}return()=>{const i=e.target||null,b=Z(e.noRel?"":e.rel,t.externalRelAttribute,l.value||h.value?"noopener noreferrer":"")||null,y=m=>({href:f.value,navigate:_,get route(){if(!f.value)return;const d=new URL(f.value,window.location.href);return{path:d.pathname,fullPath:d.pathname,get query(){return D(d.search)},hash:d.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:f.value}},rel:b,target:i,isExternal:x.value||h.value,isActive:!1,isExactActive:!1,...m,prefetch:C,prefetched:p.value,shouldPrefetch:g});if(!x.value&&!h.value&&!u(r.value)){const m={ref:c,to:r.value,activeClass:e.activeClass||t.activeClass,exactActiveClass:e.exactActiveClass||t.exactActiveClass,replace:e.replace,ariaCurrentValue:e.ariaCurrentValue,custom:e.custom};
1return e.custom||(g("interaction")&&(m.onPointerenter=C.bind(null,void 0),m.onFocus=C.bind(null,void 0)),p.value&&(m.class=e.prefetchedClass||t.prefetchedClass),m.rel=e.rel||void 0),A(O("RouterLink"),m,e.custom&&n.default?{default:d=>n.default(y(d))}:n.default)}return e.custom?n.default?n.default(y()):null:A("a",{ref:w,href:f.value||null,rel:b,target:i,onClick:async m=>{if(!(x.value||h.value)){m.preventDefault();try{const d=Q(f.value??"");return await(e.replace?o.replace(d):o.push(d))}finally{if(u(r.value)){const d=r.value.slice(1);let L=d;try{L=decodeURIComponent(d)}catch{}document.getElementById(L)?.focus()}}}}},n.default?.())}}})}var se=ee(U);function k(t,a){if(a!=="append"&&a!=="remove")return t;const u=a==="append"?$:V;return E(t)&&!t.startsWith("http")?t:u(t,!0)}function te(){const t=P();if(t._observer)return t._observer;let a=null;const u=new Map,R=(s,e)=>(a||=new IntersectionObserver(n=>{for(const o of n){const r=u.get(o.target);(o.isIntersecting||o.intersectionRatio>0)&&r&&r()}}),u.set(s,e),a.observe(s),()=>{u.delete(s),a?.unobserve(s),u.size===0&&(a?.disconnect(),a=null)});return t._observer={observe:R}}var ae=/2g/;function ne(){const t=navigator.connection;return!!(t&&(t.saveData||ae.test(t.effectiveType)))}export{oe as n,se 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.