1import{_ as M}from"./BWsTcnS6.js";import{_ as T}from"./BqF88RTN.js";import{_ as z}from"./Cn4_bE2W.js";import{_ as G}from"./CksR9pu5.js";import{u as J}from"./BtqPPpaY.js";import{b as O,c as Q,u as R,w as U,e as c,s as F,A as K,g as r,j as P,h as l,i as t,k as i,l as D,t as N,B as W,x as X,n as o}from"./DWwH_cLC.js";import{g as Y}from"./C-HOC3Vz.js";import{u as Z}from"./9sclF0zf.js";import"./D9t2Upg7.js";import"./B0dKeTXi.js";import"./CN_EtXyc.js";import"./D70PNPTw.js";import"./DslqdnAE.js";import"./BZgEL4my.js";import"./B2C0u_BS.js";const ee={key:0,class:"container-content"},te={class:"heading"},se=["innerHTML"],oe={key:2,class:"mt-5"},ae={class:"heading heading--2 heading--thin"},xe={__name:"[slug]",async setup(ne){var g,b,v,h,f,y,k,x,C,B,S,w;let a,u;const{t:n}=O(),A=Q(),H=J(),{setSidebarPhoto:_}=H,m=R(),I=Y` 2 query ($slug: String!) { 3 page(slug: $slug) { 4 seo_meta_title 5 seo_meta_description 6 seo_meta_keywords 7 seo_url_slug { 8 cs 9 en 10 } 11 slug: seo_url_slug { 12 cs 13 en 14 } 15 name 16 perex 17 content 18 page_background_color 19 image 20 cropped_detail_image 21 contacts { 22 id 23 name 24 job 25 slug: seo_url_slug { 26 cs 27 en 28 } 29 image 30 group { 31 name 32 } 33 building { 34 id 35 name 36 slug: seo_url_slug { 37 cs 38 en 39 } 40 } 41 } 42 events { 43 id 44 name 45 type 46 image: image_list { 47 url 48 } 49 imageCrop: image_list_crop_to 50 slug: seo_url_slug { 51 cs 52 en 53 } 54 buildings { 55 id 56 name 57 } 58 dates { 59 id 60 start_at { 61 timestamp 62 } 63 end_at { 64 timestamp 65 } 66 } 67 } 68 } 69 } 70`,{data:L}=([a,u]=U(()=>X(I,{slug:m.params.slug})),a=await a,u(),a),e=c(()=>{var s;return(s=L.value)==null?void 0:s.page}),p=c(()=>{var s;return((s=e.value)==null?void 0:s.page_background_color)??"#00000000"}),d=c(()=>{var s;return JSON.parse((s=e.value)==null?void 0:s.content)||[]});A({en:{slug:((b=(g=e==null?void 0:e.value)==null?void 0:g.seo_url_slug)==null?void 0:b.en)||null},cs:{slug:((h=(v=e==null?void 0:e.value)==null?void 0:v.seo_url_slug)==null?void 0:h.cs)||null}}),Z({title:((f=e.value)==null?void 0:f.seo_meta_title)||((y=e.value)==null?void 0:y.name)||null,description:((k=e.value)==null?void 0:k.seo_meta_description)||null,keywords:((x=e.value)==null?void 0:x.seo_meta_keywords)||null,image:((C=e.value)==null?void 0:C.image)||((B=e.value)==null?void 0:B.cropped_detail_image)||null,url:m.fullPath}),e.value&&(S=e.value)!=null&&S.cropped_detail_image&&_((w=e.value)==null?void 0:w.cropped_detail_image);const V=F([{title:n("pages.about.index.breadcrumbs-title"),route:"about"},{title:n("pages.collections.title"),route:"about-collections"},{title:n("pages.collections.detail.breadcrumbs-title")}]);return K(()=>{_(null)}),(s,le)=>{const $=M,j=T,q=z,E=G;return o(),r("main",{style:W({backgroundColor:t(p),"--background-color":t(p)}),class:"main"},[P($,{items:t(V)},null,8,["items"]),t(e)?(o(),r("div",ee,[i("h1",te,N(t(e).name),1),i("p",{class:"text mt-5",innerHTML:t(e).perex},null,8,se),t(d)!=null?(o(),D(j,{key:0,content:t(d),class:"mt-4"},null,8,["content"])):l("",!0),t(e).contacts.length?(o(),D(q,{key:1,contacts:t(e).contacts},null,8,["contacts"])):l("",!0),t(e).events.length?(o(),r("div",oe,[i("h2",ae,N(t(n)("pages.collection-detail.related.title")),1),P(E,{data:t(e).events,class:"mt-3"},null,8,["data"])])):l("",!0)])):l("",!0)],4)}}};export{xe as default}; 71//# sourceMappingURL=C1zZuZkn.js.map
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.