1import{d as v,v as m,l as b,q as k,g as n,o,c as r,a as e,b as w,e as D,F as C,r as F,t as i,a6 as p,y as $,m as N,z as S}from"./entry.0884becb.js";import{u as V}from"./useDevice.2e79a8a7.js";const j={class:"flex items-center justify-between border-b border-gray-100 pb-3 lg:mx-4"},q={class:"text-lg font-semibold text-gray-900 flex items-center gap-1"},z={class:"mt-3 mx-0 lg:mx-4"},A={class:"divide-y divide-gray-200"},B=["href"],I={class:"text-[15px] lg:text-[13px] text-gray-700"},R={key:0},L={key:1},M=v({__name:"ForumRss",props:{siteNiche:{type:String,required:!1,default:""},siteDomain:{type:String,required:!1,default:""}},async setup(_){let a,l;const g=_,{isDesktop:x}=V(),c=m(()=>d.value?d.value.slice(0,6):[]),h=m(()=>`forum.${g.siteDomain}`),{data:d,error:y}=([a,l]=b(()=>k(`/api/rss?domain=${h.value}`,"$DzU912ZlFA")),a=await a,l(),a);y.value;function u(t){return t.replace(/<\/?[^>]+(>|$)/g,"")}return(t,T)=>{const f=S;return n(c).length>0?(o(),r("div",{key:0,class:$(["rounded-xl border border-gray-200 bg-white p-3 lg:p-4 shadow-sm lg:w-[310px]",{"!w-full":(t._.provides[p]||t.$route).name==="job-id"}])},[e("div",j,[e("h2",q,[w(f,{name:"bx:conversation",class:"h-5 w-5 text-gray-900"}),D(" From the Community ")])]),e("div",z,[e("ol",A,[(o(!0),r(C,null,F(n(c),s=>(o(),r("li",{key:s.title,class:"py-4"},[e("h1",null,[e("a",{href:s.link,class:"text-[#0033CC] visited:text-[#681DA8] text-[16px] lg:text-[15px] underline lg:no-underline hover:underline"},i(s.title),9,B)]),e("div",I,[(t._.provides[p]||t.$route).name==="job-id"&&n(x)?(o(),r("span",R,i(u(s.description).slice(0,250))+"... ",1)):(o(),r("span",L,i(u(s.description).slice(0,80))+"... ",1))])]))),128))])])],2)):N("",!0)}}});export{M as _};
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.