1import{a as N}from"./D1lQpKj8.js";import{_ as w}from"./DlAUqK2U.js";import{c as r,o,a as t,b as _,Z as f,d as c,e as j,I as A,s as O,v as g,j as V,g as z,w as x,t as p,h as e,p as h,i as y,F,k as M,aT as P}from"./DJyAB28L.js";import{_ as U}from"./RWdUtGGW.js";import{_ as D,S as R}from"./DFXp5SHE.js";import{u as q}from"./DP0x50_T.js";import{c as H}from"./iW9fcWaL.js";import"./8pf3b65a.js";const W={},Z={class:"h-200px bg-site200 md:h-270px"},G={flex:"~ col-reverse justify-evenly lg:row lg:items-end lg:justify-between",class:"container mx-auto h-full lt-lg:px-20px lg:pb-2rem"},J={class:"text-sm c-highlightOnLight fw-bold"},K={class:"text-3xl c-secondaryOnLight line-height-tight lg:text-2.75rem md:text-2.25rem"};function Q(m,s){const d=N;return o(),r("section",Z,[t("div",G,[t("div",null,[t("p",J,[f(m.$slots,"subtitle",{},()=>[s[0]||(s[0]=c(" BIBLIOTECA UNIVATES ",-1))])]),t("h1",K,[f(m.$slots,"title",{},()=>[s[1]||(s[1]=c(" Biblioteca ",-1))])])]),_(d,{src:"/biblioteca/logo.png","img-attrs":{class:"max-w-290px"}})])])}const X=Object.assign(w(W,[["render",Q]]),{__name:"BibliotecaBanner"}),Y={class:"container mx-auto mt-2.5rem px-1rem md:mt-unset"},ee={key:0,class:"order-first h-min border-5px border-neutral100 border-solid px-15px lt-md:z-1 lt-md:bg-secondary lg:order-last"},te={key:0,flex:"~ row gap-1rem"},oe=["href","target"],se=["href","target"],ae={class:"text-sm c-secondary group-hover:underline"},re={class:"inline"},ne=j({__name:"biblioteca",props:{dynamicTitle:{}},async setup(m){let s,d;const a=A(),b=q(),{lateralMenu:u,biblioteca:n}=O(b),{y:L}=H(),B=g(()=>m.dynamicTitle||a.meta.title||"Biblioteca"),k=g(()=>{const i=[{id:"home",label:"Home",href:"https://www.univates.br",isExternalLink:!0}
1,{id:"biblioteca",label:"Biblioteca Univates",href:"biblioteca"}];return a.meta.home||i.push({id:a.name?.toString()??"biblioteca-page",label:B.value,href:a.path.slice(1)}),i}),C=g(()=>L.value>100);return[s,d]=V(()=>Promise.all([b.fetchLateralMenu(),b.fetchLibraryPage()])),await s,d(),(i,v)=>{const T=X,I=U,S=D,E=P;return o(),z(E,{name:"default"},{default:x(()=>[_(T,null,{subtitle:x(()=>[c(p(e(a).meta.about?"BIBLIOTECA UNIVATES":"BIBLIOTECA"),1)]),title:x(()=>[c(p(e(B)),1)]),_:1}),t("div",Y,[_(I,{items:e(k)},null,8,["items"])]),e(a).meta.home||e(a).meta.about?f(i.$slots,"default",{key:0},void 0,!0):(o(),r("div",{key:1,class:h(["default-borders grid mb-200px lg:gap-160px lg:pt-70px",[e(u)&&e(u).length>0?"grid-cols-1 lg:grid-cols-[3fr_1fr]":"grid-cols-1 justify-center"]])},[f(i.$slots,"default",{},void 0,!0),e(u)?.[0]?(o(),r("div",ee,[_(S,{site:e(R).BIBLIOTECA,menu:e(u)[0]},null,8,["site","menu"])])):y("",!0)],2)),t("section",{flex:"~ row items-center justify-evenly lg:justify-center lg:gap-x-65px gap-x-20px",class:h(["fixed bottom-0 left-0 z-10000 w-full transform bg-primary px-6px py-1rem transition-all duration-300 ease-in-out md:px-0",e(C)?"translate-y-0":"translate-y-full"])},[e(n)?.rodapeLinks?.length?(o(),r("div",te,[(o(!0),r(F,null,M(e(n).rodapeLinks,(l,$)=>(o(),r("a",{key:l.id,class:h(["footer-link",[{alternative:l.isButton},$!==0?"hidden lg:flex":"flex"]]),href:l.href,target:l.isExternalLink?"_blank":"_self"},[c(p(l.label)+" ",1),v[0]||(v[0]=t("div",{class:"i-bi:arrow-up-right-circle size-22px"},null,-1))],10,oe))),128))])):y("",!0),e(n)?.rodapeContato?(o(),r("a",{key:1,href:e(n).rodapeContato.href,target:e(n).rodapeContato.isExternalLink?"_blank":"_self",flex:"~ row items-center gap-8px",class:"group w-30% cursor-pointer md:w-unset"},[t("span",ae,[t("span",re,p(e(n).rodapeContato.label||"Tem dúvidas? Chame aqui."),1)])],8,se)):y("",!0)],2)]),_:3})}}}),fe=w(ne,[["__scopeId","data-v-154f44f2"]]);export{fe 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.