PageSourceSearch

https://oniki.net/ui/assets/PublicEditorialPage-Dqb3ceDL.js

js oniki.net collected 2026-10-08 18:42:24 UTC 5,108 bytes, 1 lines download raw bytes

1import{a7 as v,bj as B,bk as $,n as C,j as e,l as i,S as a,_ as E,d as u,ao as g,s as T,bl as D,f as S,L as R}from"./index-DPD08fmB.js";import{C as A}from"./ContentBlockRenderer-B24wbve0.js";import I from"./NotYetTranslatedPage-CHGtnVP7.js";import"./cms-url-Dtu2A4mR.js";import"./purify.es-D6gMnemd.js";import"./CTABlock-D_pqh6gj.js";import"./arrow-right-B63gF5sE.js";import"./aspect-ratio-Cojdj9Ce.js";import"./cdn-image-lYML7jRR.js";import"./quote-mJXsQ5mo.js";import"./accordion-DQY27T9j.js";const F="/og/default.png";function J({slug:c}={}){var j;const{slug:o}=v(),x=c||o,{data:t,isLoading:f,error:l}=B(x),{locale:N}=$(),n=C().brandName,y=s=>s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),d=t?t.seoTitle||t.pageTitle:"",m=d?d.replace(new RegExp(`\\s*[-|]\\s*${y(n)}\\s*$`),"").trim()+` | ${n}`:n,b=(t==null?void 0:t.pageSlug)??(t==null?void 0:t.slug)??x,p=`${typeof window<"u"?window.location.origin:""}/pages/${b}`,r=((t==null?void 0:t.contentBlocks)??[]).find(s=>s.blockType==="HERO"),h=(r&&typeof((j=r.blockData)==null?void 0:j.mediaReferenceId)=="string"&&r.blockData.mediaReferenceId?r.blockData.mediaReferenceId:null)??F,k=((t==null?void 0:t.contentBlocks)??[]).some(s=>s.enabled&&s.blockType==="CTA");if(f)return e.jsxs(e.Fragment,{children:[e.jsx(i,{children:e.jsx("title",{children:`Yükleniyor… | ${n}`})}),e.jsx("div",{className:"min-h-screen",children:e.jsx("div",{className:"container mx-auto px-4 py-16",children:e.jsxs("div",{className:"max-w-4xl mx-auto space-y-8",children:[e.jsx(a,{className:"h-12 w-3/4"}),e.jsxs("div",{className:"space-y-4",children:[e.jsx(a,{className:"h-32 w-full"}),e.jsx(a,{className:"h-6 w-5/6"}),e.jsx(a,{className:"h-6 w-full"}),e.jsx(a,{className:"h-6 w-4/6"})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsx(a,{className:"h-48 w-full"}),e.jsx(a,{className:"h-6 w-full"}),e.jsx(a,{className:"h-6 w-3/4"})]})]})})})]});if(l){const s=l instanceof E?l.statusCode===404:(l==null?void 0:l.status)===404;if(N==="en"&&s){const w=c?`/pages/${c}`:o?`/pages/${o}`:"/";return e.jsx(I,{trSiblingPath:w})}return e.jsxs(e.Fragment,{children:[e.jsx(i,{children:e.jsx("title",{children:`Sayfa Bulunamadı | ${n}`})}),e.jsx("div",{className:"min-h-screen",children:e.jsx("div",{className:"container mx-auto px-4 py-16",children:e.jsx(u,{className:"max-w-2xl mx-auto border-destructive/50",children:e.jsxs(g,{className:"p-12 text-center",children:[e.jsx(T,{className:"w-16 h-16 mx-auto mb-4 text-destructive"}),e.jsx("h2",{className:"text-2xl font-bold text-destructive mb-2",children:"Sayfa Bulunamadı"}),e.jsx("p",{className:"text-muted-foreground",children:"Aradığınız sayfa mevcut değil veya kaldırılmış."})]})})})})]})}return t?e.jsxs(e.Fragment,{children:[e.jsxs(i,{children:[e.jsx("title",{children:m}),t.seoDescription&&e.jsx("meta",{name:"description",content:t.seoDescription}),e.jsx("link",{rel:"canonical",href:p}),e.jsx("meta",{property:"og:type",content:"article"}),e.jsx("meta",{property:"og:title",content:m}),t.seoDescription&&e.jsx("meta",{property:"og:description",content:t.seoDescription}),e.jsx("meta",{property:"og:url",content:p}),e.jsx("meta",{property:"og:image",content:h}),e.jsx("meta",{property:"og:site_name",content:n}),e.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),e.jsx("meta",{name:"twitter:title",content:m}),t.seoDescription&&e.jsx("meta",{name:"twitter:description",content:t.seoDescription}),e.jsx("meta",{name:"twitter:image",content:h})]}),e.jsxs("div",{className:"min-h-[60vh]",children:[e.jsx("div",{className:`container mx-auto px-4 ${r?"pt-0 pb-6":"py-16"}`,children:e.jsxs("article",{className:"max-w-6xl 2xl:max-w-7xl mx-auto",children:[!r&&e.jsx("header",{className:"mb-12",children:e.jsx("h1",{className:"text-4xl lg:text-5xl font-bold tracking-tight mb-4",children:t.pageTitle})}),e.jsx(A,{blocks:t.contentBlocks})]})}),!k&&e.jsx("section",{className:"py-16 md:py-20 bg-primary",children:e.jsxs("div",{className:"container mx-auto px-4 text-center max-w-3xl",children:[e.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-primary-foreground mb-4",children:"Etkinliklerimizi Keşfedin"}
1),e.jsx("p",{className:"text-primary-foreground/80 text-lg mb-8",children:"B2B networking etkinliklerimize katılın, iş dünyasının liderlerini tanıyın"}),e.jsx(S,{asChild:!0,size:"lg",className:"bg-accent-cta hover:bg-accent-cta-hover text-primary-foreground font-bold rounded-full px-10 py-3 text-base",children:e.jsx(R,{to:"/events",children:"Etkinlikleri Keşfet"})})]})})]})]}):e.jsxs(e.Fragment,{children:[e.jsx(i,{children:e.jsx("title",{children:`Sayfa Bulunamadı | ${n}`})}),e.jsx("div",{className:"min-h-screen",children:e.jsx("div",{className:"container mx-auto px-4 py-16",children:e.jsx(u,{className:"max-w-2xl mx-auto",children:e.jsxs(g,{className:"p-12 text-center",children:[e.jsx(D,{className:"w-16 h-16 mx-auto mb-4 text-muted-foreground opacity-50"}),e.jsx("h2",{className:"text-2xl font-bold mb-2",children:"Sayfa Bulunamadı"}),e.jsx("p",{className:"text-muted-foreground",children:"Aradığınız sayfa mevcut değil veya kaldırılmış."})]})})})})]})}export{J 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.