1import{j as i}from"./jsx-runtime-gV1wv1qP.js";import{u as d,r as u}from"./chunk-OIYGIGL5-fdmY2nYp.js";import{I as f}from"./Icon-Bnvw45GS.js";import{u as c}from"./events-DZsKUDfK.js";import{T as p}from"./Tooltip-DGB6wZpq.js";import{t as y}from"./trackUserAction-DzjZYkxx.js";import{c as h}from"./createLucideIcon-DkHXX6UK.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t._sentryModuleMetadata=t._sentryModuleMetadata||{},t._sentryModuleMetadata[new t.Error().stack]=(function(o){for(var a=1;a<arguments.length;a++){var e=arguments[a];if(e!=null)for(var r in e)e.hasOwnProperty(r)&&(o[r]=e[r])}return o})({},t._sentryModuleMetadata[new t.Error().stack],{"_sentryBundlerPluginAppKey:portal-frontend-ssr":!0});var n=new t.Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="cdfaa2f9-5617-4e58-93a7-2c6d239a93e8",t._sentryDebugIdIdentifier="sentry-dbid-cdfaa2f9-5617-4e58-93a7-2c6d239a93e8")}catch{}})();const m=[["path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8",key:"1b2hhj"}],["polyline",{points:"16 6 12 2 8 6",key:"m901s6"}],["line",{x1:"12",x2:"12",y1:"2",y2:"15",key:"1p0rca"}]],b=h("Share",m),_=({fallback:t,location:n})=>{const o=d(),a=()=>{c.navbarItemClicked({location:n,label:"back"}),(window.history.state?.idx??0)>0?o(-1):o(t)};return i.jsx("button",{type:"button",onClick:a,"aria-label":"Back",className:"flex items-center justify-center",children:i.jsx(f,{icon:"arrowCircleLeftClear",className:"size-6 md:size-8"})})},M=({className:t,umamiLocation:n,analytics:o})=>{const[a,e]=u.useState(!1),r=()=>{window.navigator.clipboard.writeText(window.location.href),y({callToAction:{type:"copyRouteToClipboard",route:window.location.pathname},analyticsArgs:o}),e(!0),setTimeout(()=>{e(!1)},2e3)},l=()=>{if(c.shareClicked({location:n}),typeof window.navigator.share!="function"){r();return}window.navigator.share({title:document.title,url:window.location.href}).catch(s=>{s instanceof DOMException&&s.name==="AbortError"||r()})};return i.jsx(p,{placement:"top",disableOnHover:!0,isTooltipOpen:a,content:"Link copied to clipboard",children:i.jsx("button",{type:"button",onClick:l,title:"Share","aria-label":"Share",className:t,children:i.jsx(b,{className:"size-full text-white transition-colors hover:opacity-90"})})})},S="detail-toolbar",j=t=>{for(let n=t.length-1;n>=0;n--){const o=t[n],a=o.handle?.detailNav;if(!a)continue;const{backFallback:e}=a;return{...a,backFallback:typeof e=="function"?e(o):e}}};export{_ as B,S as D,M as S,j as g};
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.