1import{a as e,g as t,N as a,u as r,c as s,M as n,o,O as l,b as i,e as m,d as p,t as u,Q as c,y as f,B as v,R as d,k as g,q as b,r as h,x as y,f as k,A as q}from"./app.js";const _={class:"wrapper"},j={class:"content-block"},O={class:"headline"},$={class:"seo"},w={__name:"Members",setup(w){const x=b({page:1,count:30,filterStr:""}),M=h(!0),S=h([]),A=h(null),B=h(!1),E=h(0),{t:I}=e(),N=t(),Q=a(),R=r(),U=s(()=>B.value?x.count:S.value),z=s(()=>{let e={};return Object.keys(n).forEach(t=>{e[n[t]]=I("component.filter.members_sort."+n[t])}),{sort:e,age:{1:I("component.filter.age.1"),2:I("component.filter.age.2"),3:I("component.filter.age.3"),4:I("component.filter.age.4")},relationship:{1:I("component.filter.relationship.1"),2:I("component.filter.relationship.2"),3:I("component.filter.relationship.3")},avatar:{1:I("component.filter.avatar.1"),2:I("component.filter.avatar.2")},orientation:{1:I("component.filter.orientation.1"),2:I("component.filter.orientation.2"),3:I("component.filter.orientation.3"),4:I("component.filter.orientation.4"),5:I("component.filter.orientation.5")},gender:{female:I("component.filter.gender.str"),male:I("component.filter.gender.gay"),transgender:I("component.filter.gender.she")}}}),C=e=>{const t=e.sort||N.params.sort;delete e.sort,Q.push({name:"community",params:{page:"1",sort:t},query:{...N.query,...e}})},D=s(()=>({title:`${I("meta.title.members")} ${I("seo.page",{page:N.params.page})}`,description:I("meta.description.members"),keywords:I("meta.keywords.members")}));return o(()=>{Object.assign(x,{...x,...N.query,...N.params}),Object.keys(l).map(e=>{N.query[e]?x.filterStr+="."+N.query[e]:x.filterStr+="."}),R.dispatch("setMeta",D.value),B.value||(x.search&&x.search.length>0&&(x.lifetime=0),B.value=!0,S.value=[],A.value=null,y.members({...x},e=>{if(B.value=!1,e.members){const t=e.members.map(e=>(e.title=e.username,e.scr=e.avatar,e.id=e.user_id,e));S.value=[...t],E.value=parseInt(e.total_count)}e.error&&(A.value=e.code)}))}),(e,t)=>(k(),i("div",null,[m(q),p("div",_,[p("div",j,[p("div",O,[p("h1",null,u(e.$t("seo.h1.members")),1),m(c,{params:x,countries:M.value,filters:z.value,onUpdate:C},null,8,["params","countries","filters"])]),m(f,{thumbs:U.value,error:A.value,link:"member_uploaded_videos",class:"thumbs--square"},null,8,["thumbs","error"]),S.value.length>0?(k(),v(d,{key:0,current:x.page,params:x,total:E.value},null,8,["current","params","total"])):g("",!0)]),p("div",$,[p("p",null,u(e.$t("seo.text.members")),1)])])]))}};export{w 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.