1import{k as p,j as k,a2 as _}from"./8YhcnBgr.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"bff5deaf4b8f46512290172a43019daa5e92bee7"};var r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="e5742547-94c7-4f71-a77e-9868b9d7348d",e._sentryDebugIdIdentifier="sentry-dbid-e5742547-94c7-4f71-a77e-9868b9d7348d")}catch{}})();const h=e=>/^(https?:)?\/\//.test(e),a=e=>e.endsWith("/")&&e.length>1?e.slice(0,-1):e,L=e=>e.startsWith("/")?e:`/${e}`,T=()=>{const{locale:e}=p(),r=t=>{if(!t)return"/";if(h(t))return t;const s=L(t),u=_()(s,e.value);return!u||!u.fullPath?a(s):a(u.fullPath)},n=t=>t?.linktype==="email"?`mailto:${t.email}`:t?.linktype==="url"||t?.linktype==="asset"?t?.url||t?.cached_url:t?.story?.full_slug?r(t.story.full_slug):"",l=t=>t?.story?.translated_slugs?.find(o=>o.lang===e.value)?.name||t?.story?.name||"",c=t=>n(t.link),f=t=>t.title?t.title:t.link?.linktype==="url"?t.link.url||"":t.link?.linktype==="story"?l(t.link):"Click here",d=t=>t.link?.linktype==="story"?t.link.target||"_self":"_blank",y=t=>n(t.link),g=t=>t.title?t.title:t.link?.linktype==="url"?t.link.url||"":t.link?.linktype==="story"?l(t.link):"",b=t=>({"text-blue-900!":k().path.startsWith(r(t.link?.story?.full_slug))}),m=t=>t.comingSoon?!0:i(t.link),i=t=>!!(t.linktype==="story"&&t.story?.id||(t.linktype==="url"||t.linktype==="asset")&&(t.cached_url||t.url));return{linkHelper:r,linkGetter:n,basicLinkUrl:c,basicLinkTitle:f,basicLinkTarget:d,megamenuLinkGetter:y,megamenuLinkTitle:g,isActive:b,showNavItem:m,showItem:i}};export{T as u};
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.