PageSourceSearch

https://faptap.net/assets/Tags.89be10a6.js

js faptap.net collected 2026-09-25 22:11:12 UTC 4,352 bytes, 1 lines download raw bytes

1import{d as U,u as V,b as d,c as A,as as S,e as P,f as o,j as p,n as w,l as g,i as m,F as _,N as z,h as j,g as T,m as b,t as h,q as D,a0 as E,s as H,C as I,v as l,x as F,p as L,at as R,a as k}from"./index.16ba4ea0.js";import{_ as Z}from"./Notfound.vue_vue_type_script_setup_true_lang.b9e0406b.js";import{_ as q}from"./Pagination.vue_vue_type_script_setup_true_lang.8b7ec3c5.js";import"./vendor-highcharts.9b480a8e.js";import"https://cdn.jsdelivr.net/npm/[email protected]/dist/buttplug-wasm.mjs";const G={key:0,class:"flex justify-end mb-4"},O={key:1,class:"text-xl lg:text-2xl text-white mb-4 px-2 lg:px-0"},J={class:"flex flex-wrap gap-2 mb-3 px-2 lg:px-0"},K={key:2,class:"inline-flex items-center bg-zinc-800 gap-2 mb-2 px-3 py-1 rounded-md"},M={key:4,class:"font-semibold text-lg text-white mb-3 px-2 lg:px-0"},Q={key:5,class:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-6 xl:grid-cols- gap-3 px-2 lg:px-0"},W={class:""},X={class:"bg-zinc-700 px-3 py-1.5 -m-1.5 font-medium"},f=104,re=U({__name:"Tags",setup(Y){const C=D();H();const{getOrientation:x}=V(),c=d(!0),r=d([]),n=d(0),i=d(!0),a=A(()=>{const t=C.params.slug;return Array.isArray(t)?t[0]||"":t||""}),u=d(Number(C.query.page)||1),$=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","#"],N=t=>{if(!t)return;const e=Array.isArray(t)?t[0]:t;if(!(typeof e!="string"||!e))return e==="#"?"09":e.toUpperCase()};S(async()=>{c.value=!0,i.value=!0;try{const t=N(a.value);let e;if(t==="#"){e=await k.tags.getTags({orderBy:"videos",orientation:x(),page:u.value,limit:f});const v=e.tags.filter(y=>!/^[A-Za-z]/.test(y.name.trim()));r.value=v,n.value=v.length}else t?(e=await k.tags.getTagSlug({slug:t,orientation:x(),page:u.value,limit:f}),r.value=e.tags||[],n.value=e.total||0):(e=await k.tags.getTags({orderBy:"videos",orientation:x(),page:u.value,limit:f}),r.value=e.tags||[],n.value=e.total||0);n.value===0&&(i.value=!1)}catch(t){console.error(t),i.value=!1,r.value=[],n.value=0}finally{c.value=!1}});const B=A(()=>{let t="https://faptap.net/tags";return a.value&&i.value&&(t+=`/${a.value}`),u.value>1&&(t+=`?page=${u.value}`),t});return P(()=>I("tags",{title:a.value?`All Categories for Interactive Porn Videos on FapTap starting with '${typeof a.value=="string"?a.value.toUpperCase():""}'`:"All Categories for Interactive Porn Videos on FapTap",description:"Discover all interactive porn content categories on FapTap. Find and browse a comprehensive list of tags for every interest.",url:B.value})),(t,e)=>{var y;const v=E("router-link");return l(),o("div",null,[a.value?(l(),o("div",G,[p(v,{to:"/tags",class:"inline-flex items-center gap-2 text-sm"},{default:w(()=>[p(F,{name:"back-arrow",class:"h-4 w-4"}),e[1]||(e[1]=m("span",null,"Go To All Tags",-1))]),_:1})])):g("",!0),!a.value||!i.value?(l(),o("h1",O," All Tags List ")):g("",!0),m("div",J,[(l(),o(_,null,z($,s=>p(v,{key:s,to:s==="#"?"/tags/09":`/tags/${s}`,class:L(["px-3 py-1 rounded-md text-sm font-medium bg-zinc-800 text-gray-300 hover:bg-zinc-600 hover:text-white",{"selected-tag-white-bg":s==="#"?a.value==="09":a.value===s}])},{default:w(()=>[b(h(s),1)]),_:2},1032,["to","class"])),64))]),j(x)()!==void 0?(l(),o("div",K,[p(F,{name:"danger",class:"h-4 w-4 text-yellow-600"}),e[2]||(e[2]=m("span",{class:"text-zinc-200 text-sm"}," Some tags may be hidden due to orientation filter ",-1))])):g("",!0),c.value?(l(),T(R,{key:3})):g("",!0),a.value&&i.value&&r.value.length&&!c.value?(l(),o("div",M,[a.value==="09"?(l(),o(_,{key:0},[b(" Tags not starting with A\u2013Z ")],64)):(l(),o(_,{key:1},[b(" Tags starting with '"+h((typeof a.value=="string"?a.value:((y=a.value)==null?void 0:y[0])||"").toUpperCase())+"' ",1)],64))])):g("",!0),r.value.length&&!c.value?(l(),o("div",Q,[(l(!0),o(_,null,z(r.value,s=>(l(),T(v,{key:s.slug,to:`/t/${s.slug}`,class:"flex bg-zinc-800 rounded-md hover:bg-zinc-700 p-1.5 justify-between overflow-hidden ml-0.5"},{default:w(()=>[m("span",W,h(s.name),1),m("span",X,h(s.videos),1)]),_:2},1032,["to"]))),128))])):g("",!0),p(q,{"current-page":u.value,"onUpdate:currentPage":e[0]||(e[0]=s=>u.value=s),total:n.value,limit:f,show:n.value>f},null,8,["current-page","total","show"]),!c.value&&!i.value?(l(),T(Z,{key:6,title:`${a.value} Tag Not Found`,message:"This tag doesn't exist."},null,8,["title"])):g("",!0)])}}});
1export{re 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.