1import{bN as m,aP as g,aQ as y,aS as v,aT as k,aY as c,aZ as u,a$ as i,bb as w,b0 as t,b1 as h,be as b,bh as E}from"./CDy30KRu.js";import{u as D}from"./DAZr-lYt.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:"d4ab80cc"};var s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="beb146f4-2144-4dd0-8ba7-c606377dad0e",e._sentryDebugIdIdentifier="sentry-dbid-beb146f4-2144-4dd0-8ba7-c606377dad0e")}catch{}})();const A=m("/images/appicons/favicon.svg"),I=["src"],B={class:"content"},C={class:"title"},S=g({__name:"_share",async setup(e){let s,o;const d=y(),f=D(),{data:n,error:p}=([s,o]=v(async()=>E(`share-${d.params.id}`,async()=>{const{data:r}=await f(`/books/${d.params.id}`);return{title:r.title,image:r.cover}})),s=await s,o(),s);if(p.value||!n.value)throw k({statusCode:404,statusMessage:"Book not found",fatal:!0});const _=b(()=>n.value?.title),l=b(()=>n.value?.image);return(r,a)=>(c(),u("div",null,[i(l)?(c(),u("img",{key:0,class:"background",src:i(l),alt:""},null,8,I)):w("",!0),a[1]||(a[1]=t("div",{class:"background-overlay"},null,-1)),t("div",B,[a[0]||(a[0]=t("img",{class:"logo",src:A,alt:""},null,-1)),t("div",C,h(i(_)),1)])]))}});export{S as default};
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.