PageSourceSearch

https://alliancy.fr/_nuxt/njPmK_Hk.js

js alliancy.fr collected 2026-09-24 17:19:20 UTC 2,380 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./xkngxp8e.js","./BBsw3eGQ.js","./entry.ARG-L4t6.css"])))=>i.map(i=>d[i]);
2import{d as _,b1 as v,o as b,B as w,w as l,j as r,u as o,a as n,aL as C,bc as V,x as k,e as E,bd as P,m as I,p as B,q as D,bb as T,n as z,ap as A,k as F,c as L,a_ as N,aa as j,t as p,be as M}from"./BBsw3eGQ.js";const O=_({name:"EmbedPdfViewer",__name:"EmbedPdfViewer",props:{src:{}},setup(d){const s=d,a=V(()=>P(()=>import("./xkngxp8e.js").then(e=>e.z),__vite__mapDeps([0,1,2]),import.meta.url).then(e=>e.PDFViewer)),c=k("#3b82f6");v(()=>{const t=getComputedStyle(document.documentElement).getPropertyValue("--color-primary").trim();t&&(c.value=t)});const i=E(()=>({src:s.src,tabBar:"never",theme:{preference:"light",light:{accent:{primary:c.value,primaryForeground:"#ffffff"},background:{app:"#f9fafb",surface:"#ffffff",surfaceAlt:"#f9fafb"}}},disabledCategories:["annotation","redaction","history","selection","capture","document-open","document-close","document-protect","document-capture","document-export"]}));return(e,t)=>{const u=C;return b(),w(u,null,{fallback:l(()=>[...t[0]||(t[0]=[n("div",{class:"flex h-full items-center justify-center"},[n("div",{class:"size-8 animate-spin rounded-full border-4 border-primary border-t-transparent"})],-1)])]),default:l(()=>[r(o(a),{config:o(i),style:{width:"100%",height:"100%"}},null,8,["config"])]),_:1})}}}),R=Object.assign(O,{__name:"EmbedPdfViewer"}),U={class:"flex h-dvh flex-col"},$={class:"flex shrink-0 items-center gap-3 border-b bg-white px-4 py-2"},S={class:"truncate text-sm font-medium text-surface"},q={class:"min-h-0 flex-1"},J=_({__name:"pdf",async setup(d){let s,a;const i=I().params.issueId,{data:e,error:t}=([s,a]=B(()=>D(`/issues/${i}`,{transform:T})),s=await s,a(),s);if(t.value||!e.value||e.value.kind!=="pdf"||!e.value.pdfUrl)throw z({statusCode:404,statusMessage:"PDF not found"});const u=e.value.pdfUrl,f=e.value.name,m=A(f)??"";return F({title:m,meta:[{property:"og:title",content:m}]}),(h,H)=>{const x=N,g=M,y=R;return b(),L("div",U,[n("header",$,[r(g,{issue:o(e),class:"flex items-center gap-2 rounded-lg px-3 py-2 text-sm text-surface transition-colors hover:bg-neutral-100"},{default:l(()=>[r(x,{class:"size-4"}),j(" "+p(h.$t("issues.backToIssue")),1)]),_:1},8,["issue"]),n("span",S,p(o(f)),1)]),n("div",q,[r(y,{src:o(u)},null,8,["src"])])])}}});export{J 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.