1import{l as b,V as w,S as x,B as p,X as d,a0 as k,x as z,y as j,a as r,D as i,d as t,e as u,T as m,t as B,b as c,j as I,_ as V}from"#entry";const E={class:"w-full h-dvh flex flex-col gap-6 items-center justify-center md:p-10"},L={key:0,class:"main-loading"},D={class:"text-white hidden lg:block"},N=["src"],F={class:"text-white"},T={class:"title-3 text-gray-50"},S=b({__name:"pdf-viewer",setup(C){const h=j("_eTr"),_=w(),v=x(),a=p(()=>v.value.substring(0,2)),g=d(null),o=[{pathName:{fr:"plateforme-cms-eye-intelligence-brochure",en:"cms-eye-intelligence-brochure"},url:{fr:"https://eyeinlivestorage.blob.core.windows.net/public/eye-in-website/flyers/eye-intelligence.pdf",en:"https://eyeinlivestorage.blob.core.windows.net/public/eye-in-website/flyers/eye-intelligence.pdf"},title:{fr:"Brochure Eye-Intelligence",en:"Eye-Intelligence Brochure"}}].find(e=>e.pathName[a.value]===_.name),f=d(!0),n=d(!1);return k(()=>[o,a.value],async([e,s])=>{if(e&&e.url[s])try{const l=await fetch(e.url[s]);f.value=!1,n.value=l.status===200}catch{n.value=!1}else n.value=!1},{immediate:!0}),z({title:p(()=>o?.title[a.value]||"PDF Viewer"),description:h.tr({data:{title:o?.title[a.value]||"PDF"},id:"zz0axm37011xgmxy"})}),(e,s)=>{const l=I;return c(),r("div",E,[i(f)?(c(),r("div",L,[s[1]||(s[1]=t("div",{class:"lds-ripple"},[t("div"),t("div")],-1)),t("div",null,[u(l,{value:{data:{},id:"zz1br0kbp1j754ag"}})])])):i(n)?(c(),r(m,{key:1},[t("h1",D,B(i(o).title[i(a)]),1),t("iframe",{ref_key:"iframeEl",ref:g,class:"shadow-md rounded-md h-full w-full",src:`https://docs.google.com/gview?url=${i(o).url[i(a)]}&embedded=true`,onLoad:s[0]||(s[0]=(...y)=>e.handleLoadIframe&&e.handleLoadIframe(...y))},null,40,N)],64)):(c(),r(m,{key:2},[t("h1",F,[u(l,{value:{data:{},id:"zz0wsjufz16gmc5k"}})]),t("h2",T,[u(l,{value:{data:{},id:"zz0oi8djh1s5hrfr"}})])],64))])}}}),R=V(S,[["__scopeId","data-v-02331a44"]]);export{R 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.