1import{D as e,E as t,Kt as n,On as r,_ as i,b as a,bt as o,g as s,k as c,mt as l,nr as u,o as d,qt as f,v as p,w as m,y as h}from"./DBq4UlV4.js";import{Y as g,rt as _}from"./DL1hgTN2.js";import{o as v}from"./3FtsECbs.js";import{t as y}from"./D7cWE4pD.js";import{a as b}from"./_jdc5lMN.js";import{t as x}from"./CYc_Z0yP.js";import{D as S,O as C,i as w,k as T}from"#entry";import{n as E,t as D}from"./DUIRXsz9.js";import{t as O}from"./By7Tyapn.js";import{t as k}from"./DxswRBYr.js";var A={"aria-hidden":`true`,class:`absolute inset-0`},j=[`srcset`],M=[`srcset`],N=[`src`],P={class:`absolute right-3 bottom-2 z-10 text-right text-xs text-white opacity-50`},F={key:0,class:`prose dark:prose-invert`},I={key:2},L={class:`divide-y divide-default`},R=Object.assign(c({__name:`Community`,props:{community:{}},setup(n){let r=s(()=>n.community.path.replace(/^\/+|\/+$/g,``).replaceAll(`/`,`-`)),c=e=>`https://files.jednadvacet.org/community-maps/v1/${r.value}-${e}.webp`;return(r,s)=>{let u=w,g=y,_=O,v=E,S=x,C=D,T=b;return l(),a(d,null,[e(_,{headline:`Bitcoinová komunita`,title:n.community.title,orientation:`horizontal`,ui:{root:n.community.map?`relative isolate overflow-hidden bg-muted`:void 0,container:`relative z-10 pt-12 pb-20 sm:pt-16 lg:pb-16`,wrapper:`max-w-xl`,title:n.community.map?`text-pretty text-white`:`text-pretty`,description:n.community.map?`text-white/80`:void 0}},m({links:f(()=>[n.community.signal_group?(l(),p(u,{key:0,to:n.community.signal_group,target:`_blank`,rel:`noopener noreferrer`,label:`PÅipoj se do Signal skupiny`,"trailing-icon":`i-lucide-external-link`,class:`text-black`},null,8,[`to`])):h(``,!0)]),_:2},[n.community.map?{name:`top`,fn:f(()=>[i(`picture`,A,[i(`source`,{media:`(min-width: 1024px)`,srcset:c(`lg`)},null,8,j),i(`source`,{media:`(min-width: 768px)`,srcset:c(`md`)},null,8,M),i(`img`,{src:c(`sm`),alt:``,class:`size-full object-cover object-center`,decoding:`async`,fetchpriority:`high`},null,8,N)]),s[0]||=i(`div`,{"aria-hidden":`true`,class:`absolute inset-0 bg-linear-to-r from-black/75 to-black/30`},null,-1)]),key:`0`}:void 0,n.community.map?{name:`bottom`,fn:f(()=>[i(`p`,P,[s[4]||=t(` © `,-1),e(g,{class:`text-white/60 underline`,to:`https://www.mapbox.com/about/maps/`,target:`_blank`,rel:`noopener noreferrer`},{default:f(()=>[...s[1]||=[t(`Mapbox`,-1)]]),_:1}),s[5]||=t(`, © `,-1),e(g,{class:`text-white/60 underline`,to:`https://www.openstreetmap.org/copyright`,target:`_blank`,rel:`noopener noreferrer`},{default:f(()=>[...s[2]||=[t(`OpenStreetMap`,-1)]]),_:1}),s[6]||=t(`, `,-1),e(g,{class:`text-white/60 underline`,to:`https://btcmap.org`,target:`_blank`,rel:`noopener noreferrer`},{default:f(()=>[...s[3]||=[t(`BTC Map`,-1)]]),_:1}),s[7]||=t(`. `,-1)])]),key:`1`}:void 0]),1032,[`title`,`ui`]),n.community.body||n.community.organizers?.length?(l(),p(T,{key:0,class:`pb-12`},{default:f(()=>[n.community.body?(l(),a(`div`,F,[e(v,{value:n.community},null,8,[`value`])])):h(``,!0),n.community.organizers?.length?(l(),p(S,{key:1,class:`my-6`})):h(``,!0),n.community.organizers?.length?(l(),a(`section`,I,[s[8]||=i(`h2`,{class:`text-xl font-semibold mb-4`},`OrganizátoÅi`,-1),i(`div`,L,[(l(!0),a(d,null,o(n.community.organizers,e=>(l(),p(C,{key:e,slug:e},null,8,[`slug`]))),128))])])):h(``,!0)]),_:1})):h(``,!0)],64)}}}),{__name:`PageCommunity`}),z=c({__name:`[...slug]`,async setup(i){let o,s,c=_(),{data:m}=([o,s]=n(async()=>v(`page-`+c.path,async()=>{let e=await k(`pages`).path(c.path).first();if(e)return{type:`page`,item:e};let t=await k(`communities`).path(c.path).first();return t&&!t.hidden?{type:`community`,item:t}:null},`$Sh_mO_2gSE`)),o=await o,s(),o);if(!m.value)throw g({statusCode:404,statusMessage:`Page not found`,fatal:!0});return(n,i)=>{let o=T,s=C,c=S,g=E,_=R;return l(),a(d,null,[e(c,null,{default:f(()=>[e(o,null,{default:f(()=>[t(u(r(m).item.title),1)]),_:1}),e(s,{property:`og:title`,content:r(m).item.title},null,8,[`content`]),e(s,{property:`og:type`,content:`website`})]),_:1}),r(m).type===`page`?(l(),p(g,{key:0,value:r(m).item},null,8,[`value`])):r(m).type===`community`?(l(),p(_,{key:1,community:r(m).item},null,8,[`community`])):h(``,!0)],64)}}});
1export{z 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.