1import{O as e,S as t,U as n,V as r,Z as i,_ as a,b as o,gt as s,i as c,mt as l,st as u,w as d,x as f,yt as p}from"./dist-FElaQvKv.js";import{i as m}from"./app-DiXLSWg7.js";import{t as h}from"./PublicLayout-D4KN__sa.js";var g={class:`container mx-auto max-w-[1200px] px-3 py-10 sm:px-4 sm:py-16`},_={class:`mb-10 text-center`},v={class:`mb-4 text-3xl font-black text-white sm:text-5xl`},y={class:`mx-auto max-w-2xl text-[#ADADB8]`},b={class:`mb-10 space-y-4`},x={class:`flex flex-wrap items-center justify-center gap-2`},S={class:`mr-1 text-sm font-semibold text-[#ADADB8]`},C=[`onClick`],w={class:`flex flex-wrap items-center justify-center gap-2`},T={class:`mr-1 text-sm font-semibold text-[#ADADB8]`},E=[`onClick`],D={key:0,class:`grid gap-6 md:grid-cols-2 lg:grid-cols-3`},O={class:`mb-4 flex flex-wrap gap-2`},k={class:`rounded-full border border-[#3E3E3A] px-2.5 py-0.5 text-xs font-semibold text-[#ADADB8]`},A={class:`mb-2 text-lg font-bold text-white group-hover:text-[#A970FF]`},j={class:`mb-4 flex-1 text-sm text-[#ADADB8]`},M={class:`text-sm font-semibold text-[#9146FF] group-hover:text-[#A970FF]`},N={key:1,class:`py-16 text-center text-[#ADADB8]`},P=e({__name:`GuidesIndex`,props:{guides:{},topics:{},platforms:{}},setup(e){let P=e,F=u(null),I=u(null),L=o(()=>P.guides.filter(e=>(F.value===null||e.topic===F.value)&&(I.value===null||e.platform===I.value))),R={tts:`border-[#9146FF]/40 bg-[#9146FF]/10 text-[#A970FF]`,sounds:`border-[#00F5FF]/40 bg-[#00F5FF]/10 text-[#00F5FF]`,interactivity:`border-[#00FF88]/40 bg-[#00FF88]/10 text-[#00FF88]`,monetization:`border-[#F0AD4E]/40 bg-[#F0AD4E]/10 text-[#F0AD4E]`},z=e=>R[e]??R.tts;return(o,u)=>(r(),t(h,null,{default:i(()=>[f(`div`,g,[f(`div`,_,[f(`h1`,v,p(l(c)(`guides.title`)),1),f(`p`,y,p(l(c)(`guides.intro`)),1)]),f(`div`,b,[f(`div`,x,[f(`span`,S,p(l(c)(`guides.filter.topic`))+`:`,1),f(`button`,{type:`button`,class:s([`rounded-full border px-4 py-1.5 text-sm font-semibold transition-all`,F.value===null?`border-white bg-white/10 text-white`:`border-[#3E3E3A] text-[#ADADB8] hover:border-white/50 hover:text-white`]),onClick:u[0]||=e=>F.value=null},p(l(c)(`guides.filter.all`)),3),(r(!0),d(a,null,n(e.topics,e=>(r(),d(`button`,{key:e,type:`button`,class:s([`rounded-full border px-4 py-1.5 text-sm font-semibold transition-all`,F.value===e?z(e):`border-[#3E3E3A] text-[#ADADB8] hover:border-white/50 hover:text-white`]),onClick:t=>F.value=F.value===e?null:e},p(l(c)(`guides.topics.${e}`)),11,C))),128))]),f(`div`,w,[f(`span`,T,p(l(c)(`guides.filter.platform`))+`:`,1),f(`button`,{type:`button`,class:s([`rounded-full border px-4 py-1.5 text-sm font-semibold transition-all`,I.value===null?`border-white bg-white/10 text-white`:`border-[#3E3E3A] text-[#ADADB8] hover:border-white/50 hover:text-white`]),onClick:u[1]||=e=>I.value=null},p(l(c)(`guides.filter.all`)),3),(r(!0),d(a,null,n(e.platforms,e=>(r(),d(`button`,{key:e,type:`button`,class:s([`rounded-full border px-4 py-1.5 text-sm font-semibold transition-all`,I.value===e?`border-[#9146FF]/60 bg-[#9146FF]/15 text-[#A970FF]`:`border-[#3E3E3A] text-[#ADADB8] hover:border-white/50 hover:text-white`]),onClick:t=>I.value=I.value===e?null:e},p(l(c)(`guides.platforms.${e}`)),11,E))),128))])]),L.value.length?(r(),d(`div`,D,[(r(!0),d(a,null,n(L.value,e=>(r(),t(l(m),{key:e.slug,href:o.route(`public.guides.show`,{slug:e.slug}),class:`group flex flex-col rounded-2xl border border-[#3E3E3A] bg-gradient-to-br from-[#18181B] to-[#1F1F23] p-6 transition-all hover:border-[#9146FF]/60 hover:shadow-lg hover:shadow-[#9146FF]/10`},{default:i(()=>[f(`div`,O,[f(`span`,{class:s([`rounded-full border px-2.5 py-0.5 text-xs font-semibold`,z(e.topic)])},p(l(c)(`guides.topics.${e.topic}`)),3),f(`span`,k,p(l(c)(`guides.platforms.${e.platform}`)),1)]),f(`h2`,A,p(e.title),1),f(`p`,j,p(e.description),1),f(`span`,M,p(l(c)(`guides.read`))+` â`,1)]),_:2},1032,[`href`]))),128))])):(r(),d(`p`,N,p(l(c)(`guides.empty`)),1))])]),_:1}))}});export{P 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.