import{Kt as e,Q as t,R as n,Tn as r,Y as i,Z as a,at as o,it as s,or as c,r as l,st as u}from"./dist-CoD0k1Bd.js";import{t as d}from"./createLucideIcon-D0h14Jw-.js";import{t as f}from"./button-mN_poAXs.js";var p=d(`arrow-right`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`m12 5 7 7-7 7`,key:`xquz4c`}]]),m={class:`flex min-h-screen flex-col bg-background`},h={class:`flex-1 w-full`},g={class:`mx-auto max-w-5xl px-6 py-10 sm:py-16`},_={class:`space-y-6`},v=[`innerHTML`],y={key:1,class:`text-muted-foreground`},b={class:`sticky bottom-0 border-t bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/80`},x={class:`mx-auto max-w-5xl px-6 py-4`},S=[`href`],C=u({__name:`Index`,props:{kategori:{},ad:{}},setup(u){return(d,C)=>(e(),t(n,null,[o(c(l),{title:u.kategori.judul??u.kategori.nama_kategori},null,8,[`title`]),i(`div`,m,[i(`main`,h,[i(`div`,g,[i(`div`,_,[u.kategori.deskripsi?(e(),t(`div`,{key:0,class:`prose prose-lg max-w-none [&_pre]:overflow-x-auto [&_pre]:max-w-full [&_code]:break-words [&_a]:break-all [&_img]:max-w-full [&_img]:h-auto [&_img]:rounded-lg`,innerHTML:u.kategori.deskripsi},null,8,v)):a(``,!0),u.kategori.deskripsi?a(``,!0):(e(),t(`div`,y,` Klik tombol di bawah untuk melanjutkan. `))])])]),i(`div`,b,[i(`div`,x,[o(c(f),{"as-child":``,size:`lg`,class:`w-full sm:w-auto`},{default:r(()=>[i(`a`,{href:`/landing/go/${u.ad.id}`},[C[0]||=s(` Klik untuk melanjutkan `,-1),o(c(p),{class:`size-4`})],8,S)]),_:1})])])])],64))}});export{C as default};