1import{m as e,o as t,s as n}from"./0tcPgztD.js";import{B as r,On as i,St as a,ct as o,g as s,it as c,k as l,vn as u,xn as d}from"./CJOrt7RF.js";import{C as f,M as p,T as m,d as h,f as g,h as _,k as v,p as y,v as b,x}from"./BvnyFXrb.js";import{d as S,n as C,o as w,r as T,t as E}from"./D0BIk_CE.js";var D={scrollBehavior(e,n,r){let i=t(),a=_(),o=a.options?.scrollBehaviorType??`auto`;return e.path.replace(/\/$/,``)===n.path.replace(/\/$/,``)?n.hash&&!e.hash?r??{left:0,top:0}:e.hash?{el:e.hash,top:O(e.hash),behavior:o}:!1:(typeof e.meta.scrollToTop==`function`?e.meta.scrollToTop(e,n):e.meta.scrollToTop)===!1?!1:n===S?k(e,n,r,o):new Promise(t=>{let s=()=>{requestAnimationFrame(()=>{if(a.currentRoute.value.fullPath!==e.fullPath){t(!1);return}t(k(e,n,r,o))})};i.hooks.hookOnce(`page:loading:end`,()=>{let e=i[`~transitionPromise`];e?e.then(s):s()})})}};function O(e){try{let t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function k(e,t,n,r){return n||(e.hash?{el:e.hash,top:O(e.hash),behavior:w(e,t)?r:`instant`}:{left:0,top:0})}var A={hashMode:!1,scrollBehaviorType:`auto`,...D},j=`modulepreload`,M=function(e,t){return new URL(e,t).href},N={},P=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}r=o(t.map(t=>{if(t=M(t,n),t=s(t),t in N)return;N[t]=!0;let r=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}let i=document.createElement(`link`);if(i.rel=r?`stylesheet`:j,r||(i.as=`script`),i.crossOrigin=``,i.href=t,a&&i.setAttribute(`nonce`,a),document.head.appendChild(i),r)return new Promise((e,n)=>{i.addEventListener(`load`,e),i.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})};function F(e){if(e?.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function I(e,t=_()){let{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||=new Set,t._routePreloaded.has(n)))return;let i=t._preloadPromises||=[];if(i.length>4)return Promise.all(i).then(()=>I(e,t));t._routePreloaded.add(n);for(let e of r){let t=e.components?.default;if(typeof t!=`function`)continue;let n=Promise.resolve(t()).catch(()=>{}).finally(()=>i.splice(i.indexOf(n),1));i.push(n)}await Promise.all(i)}var L=(...e)=>e.find(e=>e!==void 0);function R(e){let t=e.replace(/[\u0000-\u001F\s]+/g,``);for(;t.toLowerCase().startsWith(`view-source:`);)t=t.slice(12);let n=t.indexOf(`:`);return n>0&&x(t.slice(0,n+1))?null:e}function z(e){let p=e.componentName||`NuxtLink`;function v(e){return typeof e==`string`&&e.startsWith(`#`)}function x(t,n,r){let i=r??e.trailingSlash;if(!t||i!==`append`&&i!==`remove`)return t;if(typeof t==`string`)return V(t,i);let a=`path`in t&&t.path!==void 0?t.path:n(t).path;return{...t,name:void 0,path:V(a,i)}}function S(t){let r=_(),o=n(),c=s(()=>!!i(t.target)&&i(t.target)!==`_self`),l=s(()=>{let e=i(t.to)||i(t.href)||``;return typeof e==`string`&&b(e,{acceptRelative:!0})}),u=a(`RouterLink`),d=u&&typeof u!=`string`?u.useLink:void 0,p=s(()=>
1{if(i(t.external))return!0;let e=i(t.to)||i(t.href)||``;return typeof e==`object`?!1:e===``||l.value}),m=s(()=>{let e=i(t.to)||i(t.href)||``;return p.value?e:x(e,r.resolve,i(t.trailingSlash))}),h=p.value?void 0:d?.({...t,to:m,viewTransition:i(t.viewTransition)}),S=s(()=>{let n=i(t.trailingSlash)??e.trailingSlash;if(!m.value||l.value||v(m.value)){let e=m.value;return typeof e==`string`?R(e):e}if(p.value){let e=typeof m.value==`object`&&`path`in m.value?y(m.value):m.value,t=typeof e==`object`?r.resolve(e).href:e,i=typeof t==`string`?R(t):t;return i===null?null:V(i,n)}return typeof m.value==`object`?r.resolve(m.value)?.href??null:V(f(o.app.baseURL,m.value),n)});return{to:m,hasTarget:c,isAbsoluteUrl:l,isExternal:p,href:S,isActive:h?.isActive??s(()=>m.value===r.currentRoute.value.path),isExactActive:h?.isExactActive??s(()=>m.value===r.currentRoute.value.path),route:h?.route??s(()=>r.resolve(m.value)),async navigate(e){S.value!==null&&await g(S.value,{replace:i(t.replace),external:p.value||c.value})}}}return l({name:p,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(n,{slots:i}){let s=_(),{to:l,href:f,navigate:p,isExternal:g,hasTarget:b,isAbsoluteUrl:x}=S(n),w=d(!1),D=u(null),O=e=>{D.value=n.custom?e?.$el?.nextElementSibling:e?.$el};function k(t){return!!(!w.value&&(typeof n.prefetchOn==`string`?n.prefetchOn===t:n.prefetchOn?.[t]??e.prefetchOn?.[t])&&(n.prefetch??e.prefetch)!==!1&&n.noPrefetch!==!0&&n.target!==`_blank`&&!W())}async function A(e=t()){if(w.value||f.value===null)return;w.value=!0;let n=typeof l.value==`string`?l.value:g.value?y(l.value):s.resolve(l.value).fullPath,r=g.value?new URL(n,window.location.href).href:n;await Promise.all([e.hooks.callHook(`link:prefetch`,r)?.catch(()=>{}),!g.value&&!b.value&&I(l.value,s).catch(()=>{})])}if(!n.custom&&k(`visibility`)){let e=t(),n,r=null;o(()=>{let t=H();E(()=>{n=T(()=>{D?.value?.tagName&&(r=t.observe(D.value,async()=>{r?.(),r=null,await A(e)}))})})}),c(()=>{n&&C(n),r?.(),r=null})}return()=>{let t=n.target||null,o=L(n.noRel?``:n.rel,e.externalRelAttribute,x.value||b.value?`noopener noreferrer`:``)||null,c=e=>({href:f.value,navigate:p,get route(){if(!f.value)return;let e=new URL(f.value,window.location.href);return{path:e.pathname,fullPath:e.pathname,get query(){return m(e.search)},hash:e.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:f.value}},rel:o,target:t,isExternal:g.value||b.value,isActive:!1,isExactActive:!1,...e,prefetch:A,prefetched:w.value,shouldPrefetch:k});if(!g.value&&!b.value&&!v(l.value)){let t={ref:O,to:l.value,activeClass:n.activeClass||e.activeClass,exactActiveClass:n.exactActiveClass||e.exactActiveClass,replace:n.replace,ariaCurrentValue:n.ariaCurrentValue,custom:n.custom};
1return n.custom||(k(`interaction`)&&(t.onPointerenter=A.bind(null,void 0),t.onFocus=A.bind(null,void 0)),w.value&&(t.class=n.prefetchedClass||e.prefetchedClass),t.rel=n.rel||void 0),r(a(`RouterLink`),t,n.custom&&i.default?{default:e=>i.default(c(e))}:i.default)}return n.custom?i.default?i.default(c()):null:r(`a`,{ref:D,href:f.value||null,rel:o,target:t,onClick:async e=>{if(!(g.value||b.value)){e.preventDefault();try{let e=h(f.value??``);return await(n.replace?s.replace(e):s.push(e))}finally{if(v(l.value)){let e=l.value.slice(1),t=e;try{t=decodeURIComponent(e)}catch{}document.getElementById(t)?.focus()}}}}},i.default?.())}}})}var B=z(e);function V(e,t){if(t!==`append`&&t!==`remove`)return e;let n=t===`append`?v:p;return b(e)&&!e.startsWith(`http`)?e:n(e,!0)}function H(){let e=t();if(e._observer)return e._observer;let n=null,r=new Map;return e._observer={observe:(e,t)=>(n||=new IntersectionObserver(e=>{for(let t of e){let e=r.get(t.target);(t.isIntersecting||t.intersectionRatio>0)&&e&&e()}}),r.set(e,t),n.observe(e),()=>{r.delete(e),n?.unobserve(e),r.size===0&&(n?.disconnect(),n=null)})}}var U=/2g/;function W(){let e=navigator.connection;return!!(e&&(e.saveData||U.test(e.effectiveType)))}export{A as i,F as n,P as r,B 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.