1import{aT as R,e as B,r as q,aG as S,p as E,bu as N,bv as T,a4 as U,bw as I,aX as w,bb as A,bx as D,by as F,l as x,bz as O,bA as L,bB as V,bC as z,m as H,bD as G,bE as M}from"./Bicny04C.js";async function j(t,r=R()){const{path:f,matched:p}=r.resolve(t);if(!p.length||(r._routePreloaded||(r._routePreloaded=new Set),r._routePreloaded.has(f)))return;const e=r._preloadPromises=r._preloadPromises||[];if(e.length>4)return Promise.all(e).then(()=>j(t,r));r._routePreloaded.add(f);const a=p.map(s=>{var n;return(n=s.components)==null?void 0:n.default}).filter(s=>typeof s=="function");for(const s of a){const n=Promise.resolve(s()).catch(()=>{}).finally(()=>e.splice(e.indexOf(n)));e.push(n)}await Promise.all(e)}const $=(...t)=>t.find(r=>r!==void 0);function Q(t){const r=t.componentName||"NuxtLink";function f(e,a){if(!e||t.trailingSlash!=="append"&&t.trailingSlash!=="remove")return e;if(typeof e=="string")return k(e,t.trailingSlash);const s="path"in e&&e.path!==void 0?e.path:a(e).path;return{...e,name:void 0,path:k(s,t.trailingSlash)}}function p(e){const a=R(),s=H(),n=x(()=>!!e.target&&e.target!=="_self"),v=x(()=>{const d=e.to||e.href||"";return typeof d=="string"&&O(d,{acceptRelative:!0})}),y=A("RouterLink"),b=y&&typeof y!="string"?y.useLink:void 0,g=x(()=>{if(e.external)return!0;const d=e.to||e.href||"";return typeof d=="object"?!1:d===""||v.value}),u=x(()=>{const d=e.to||e.href||"";return g.value?d:f(d,a.resolve)}),c=g.value||b==null?void 0:b({...e,to:u}),m=x(()=>{var d;if(!u.value||v.value)return u.value;if(g.value){const P=typeof u.value=="object"&&"path"in u.value?L(u.value):u.value,C=typeof P=="object"?a.resolve(P).href:P;return f(C,a.resolve)}return typeof u.value=="object"?((d=a.resolve(u.value))==null?void 0:d.href)??null:f(V(s.app.baseURL,u.value),a.resolve)});return{to:u,hasTarget:n,isAbsoluteUrl:v,isExternal:g,href:m,isActive:(c==null?void 0:c.isActive)??x(()=>u.value===a.currentRoute.value.path),isExactActive:(c==null?void 0:c.isExactActive)??x(()=>u.value===a.currentRoute.value.path),route:(c==null?void 0:c.route)??x(()=>a.resolve(u.value)),async navigate(){await z(m.value,{replace:e.replace,external:g.value||n.value})}}}return B({name:r,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}},useLink:p,setup(e,{slots:a}){const s=R(),{to:n,href:v,navigate:y,isExternal:b,hasTarget:g,isAbsoluteUrl:u}=p(e),c=q(!1),m=q(null),d=l=>{var o;m.value=e.custom?(o=l==null?void 0:l.$el)==null?void 0:o.nextElementSibling:l==null?void 0:l.$el};function P(l){var o,i;return!c.value&&(typeof e.prefetchOn=="string"?e.prefetchOn===l:((o=e.prefetchOn)==null?void 0:o[l])??((i=t.prefetchOn)==null?void 0:i[l]))&&(e.prefetch??t.prefetch)!==!1&&e.noPrefetch!==!0&&e.target!=="_blank"&&!J()}async function C(l=S()){if(c.value)return;c.value=!0;const o=typeof n.value=="string"?n.value:b.value?L(n.value):s.resolve(n.value).fullPath,i=b.value?new URL(o,window.location.href).href:o;await Promise.all([l.hooks.callHook("link:prefetch",i).catch(()=>{}),!b.value&&!g.value&&j(n.value,s).catch(()=>{})])}if(P("visibility")){const l=S();let o,i=null;E(()=>{const h=W();N(()=>{o=T(()=>{var _;(_=m==null?void 0:m.value)!=null&&_.tagName&&(i=h.observe(m.value,async()=>{i==null||i(),i=null,await C(l)}))})})}),U(()=>{o&&I(o),i==null||i(),i=null})}return()=>{var i;if(!b.value&&!g.value){const h={ref:d,to:n.value,activeClass:e.activeClass||t.activeClass,exactActiveClass:e.exactActiveClass||t.exactActiveClass,replace:e.replace,ariaCurrentValue:e.ariaCurrentValue,custom:e.custom};
1return e.custom||(P("interaction")&&(h.onPointerenter=C.bind(null,void 0),h.onFocus=C.bind(null,void 0)),c.value&&(h.class=e.prefetchedClass||t.prefetchedClass),h.rel=e.rel||void 0),w(A("RouterLink"),h,a.default)}const l=e.target||null,o=$(e.noRel?"":e.rel,t.externalRelAttribute,u.value||g.value?"noopener noreferrer":"")||null;return e.custom?a.default?a.default({href:v.value,navigate:y,prefetch:C,get route(){if(!v.value)return;const h=new URL(v.value,window.location.href);return{path:h.pathname,fullPath:h.pathname,get query(){return D(h.search)},hash:h.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:v.value}},rel:o,target:l,isExternal:b.value||g.value,isActive:!1,isExactActive:!1}):null:w("a",{ref:m,href:v.value||null,rel:o,target:l},(i=a.default)==null?void 0:i.call(a))}}})}const Y=Q(F);function k(t,r){const f=r==="append"?G:M;return O(t)&&!t.startsWith("http")?t:f(t,!0)}function W(){const t=S();if(t._observer)return t._observer;let r=null;const f=new Map,p=(a,s)=>(r||(r=new IntersectionObserver(n=>{for(const v of n){const y=f.get(v.target);(v.isIntersecting||v.intersectionRatio>0)&&y&&y()}})),f.set(a,s),r.observe(a),()=>{f.delete(a),r.unobserve(a),f.size===0&&(r.disconnect(),r=null)});return t._observer={observe:p}}const X=/2g/;function J(){const t=navigator.connection;return!!(t&&(t.saveData||X.test(t.effectiveType)))}export{Y as _};
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.