1import{_ as b,a as k}from"./Cb8W4Zzv.js";import{_ as E}from"./EPjCh999.js";import{_ as P}from"./CJuFBjqb.js";import{e as C,I as y,j as S,v as u,u as A,c as r,h as a,o as s,b as c,a as e,F as O,k as T,g as D,cJ as F,ch as B}from"./DuNswFfk.js";import{u as m}from"./D7zb68Us.js";import"./Dk6SVRAV.js";import"./B7SFJ4ud.js";import"./LcIEbgc8.js";import"./B2b6H676.js";import"./ChlKwlxg.js";import"./DxnMcbA1.js";import"./5Vbo9l7x.js";import"./DlAUqK2U.js";import"./C21NUi_A.js";const I={key:0},L={class:"mx-auto mt-80px max-w-1518px overflow-x-hidden px-20px pb-10 lt-xl:mx-auto lt-xl:max-w-960px lt-lg:max-w-720px",flex:"~ col"},N={class:"grid grid-cols-3 gap-100px lt-xl:grid lt-xl:grid-cols-1 lt-xxl:gap-50px"},U={key:1},z={class:"relative mx-auto mb-30px h-490px w-50vw"},at=C({__name:"index",async setup(X){let o,p;const i=y().params.slug,[{data:x},{data:_}]=([o,p]=S(()=>Promise.all([m("/api/strapi/find",{params:{contentType:"exposicaos","filters[slug][$eq]":i,sanitizeFields:["[*].blocos[*].texto"],populate:F}},"$3XZfsThkSZ"),m("/api/strapi/find",{params:{contentType:"exposicaos",sanitizeFields:[""],populate:B,sort:"dataDeCriacao:desc"}},"$zjaUwrUWhe")])),o=await o,p(),o),t=u(()=>x.value?.data?.[0]),f=u(()=>_.value?.data.filter(n=>n.slug!==i).slice(0,3)??[]);return A({title:()=>t.value?.titulo}),(n,l)=>{const g=b,v=E,h=k,w=P;return a(t)?(s(),r("div",I,[c(g,{titulo:a(t).titulo,capa:a(t).capa,tags:a(t).tags,"criado-por":a(t).criadoPor,"data-de-criacao":a(t).dataDeCriacao,"created-at":a(t).createdAt,"updated-at":a(t).updatedAt,blocos:a(t).blocos,slug:a(t).slug,"base-path":"/museudecienciasunivates/exposicoes"},null,8,["titulo","capa","tags","criado-por","data-de-criacao","created-at","updated-at","blocos","slug"]),e("div",L,[l[0]||(l[0]=e("div",{flex:"~ row gap-20px"},[e("h2",{class:"relative mb-60px text-24px fw-300 leading-1.2em after:absolute after:left-170px after:top-18px after:block after:h-1px after:w-1518px after:bg-#dcdcdc after:content-['']"}
1," confira também ")],-1)),e("div",N,[(s(!0),r(O,null,T(a(f),d=>(s(),D(v,{key:d.id,exposicao:d},null,8,["exposicao"]))),128))])])])):(s(),r("div",U,[c(h),e("div",z,[c(w)])]))}}});export{at 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.