1import{ao as ce,bi as ge,ba as at,ar as T,at as g,aj as s,aA as it,aw as h,au as ot,av as st,aB as D,c6 as ct,cX as gt,b$ as lt,af as dt,aC as ut,aP as yt,bG as mt,bo as ft,bk as bt,bl as $t,aO as x,aE as w,aQ as St,aq as ht,as as y,cr as re,ay as M,aS as pt,aT as _t,cs as ne,aY as ae,ct as xt,dD as wt,bn as Ct}from"./vendor-ZHytVfE8.js";/* empty css */import{f as It,a as Lt,b as vt,c as Tt,d as Dt,C as ie,i as oe,e as se}from"./CategoryPage-DL6HGD_o.js";import{V as Pt}from"./VisitCategoryHub-BkhqIgJg.js";import{f as kt}from"./slider-q0LtLdSN.js";import{f as Nt}from"./stories-CI-wG-IZ.js";import{B as Ut}from"./index-wq2UPwIq.js";import{H as Et}from"./index-Don2_MG1.js";import{L as Bt}from"./index-CsqOJm2L.js";import Rt from"./index-BYIa-Stk.js";import{P as Wt}from"./Tier23-CoGnzh3k.js";import{N as Mt}from"./index-C7xIA2yb.js";import{P as At}from"./index-MvKHISys.js";import{W as Ht}from"./index-BDQAvEkY.js";import"./CategorySectionComponent-Dxx0XdXU.js";import"./index-ThYqB5rW.js";import"./useNoJsDropdown-BIgCohO4.js";import"./index-BpyhnsDk.js";import"./topLists-D0fSXQxo.js";import"./contentType-BmYa2XEU.js";import"./useFollowAuthorLogic-DJt2PKxw.js";import"./index-CBfe3gXy.js";import"./index-Dbc5hAmv.js";import"./other-Cp78CLRD.js";import"./index-DR08z-xp.js";import"./index-CgX9UrU0.js";import"./commentsHub-DqvrNKCD.js";import"./index-B4bdixf6.js";import"./index-B7yI_21r.js";import"./SeriesCard-DMxZWQmm.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"5e034ffa0be105145276ca1893378770601e6417"};var a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="e0378b2d-9b3c-43a7-b3a5-12099972e27a",e._sentryDebugIdIdentifier="sentry-dbid-e0378b2d-9b3c-43a7-b3a5-12099972e27a")}catch{}})();const Ft="_spinner_container_1p90o_1",Ot={spinner_container:Ft};var zt=D('<a href=# title="Story Spinner">'),Gt=D("<span>"),Kt=D("<div>");const Vt=dt("literotica:solid:pages:CategoryHub:StorySpinner"),le=Vt.extend("error"),A=new Map,de=e=>`story-spinner-used-${e}`,Yt=e=>{try{const a=sessionStorage.getItem(de(e));return a?new Set(JSON.parse(a)):new Set}catch(a){return le("Failed to load used story IDs from sessionStorage",{id:e,error:a}),new Set}},jt=(e,a)=>{try{sessionStorage.setItem(de(e),JSON.stringify([...a]))}catch(i){le("Failed to save used story IDs to sessionStorage",{id:e,error:i})}},Jt=e=>{const{l10n:a}=ce(),i=ge();at(()=>{const c=e.category?.id,d=e.initialPool;!c||!d.length||A.has(c)||A.set(c,{pool:[...d],usedIds:Yt(c)})});const L=c=>{c.preventDefault();const d=e.category?.id;if(!d)return;const l=A.get(d);if(!l?.pool.length)return;const P=l.pool.filter(b=>b.url?.trim());let t=P.filter(b=>!l.usedIds.has(b.url));if(t.length===0&&(l.usedIds.clear(),t=P),t.length===0)return;const m=t[Math.floor(Math.random()*t.length)];l.usedIds.add(m.url),jt(d,l.usedIds);const k=m.type==="audio"?m.category_info.type:m.type;window.location.href=ct(k,m.url)},U=()=>e.category?.id===28?a.getString("category-hub-chain-story"):e.category?.id===55||e.category?.id===46||e.category?.id===56?"":e.category?.id===17&&i.id!=="7"?a.getString("category-hub-erotic"):e.categoryName,v=()=>e.category?.id===46?a.getString("category-hub-audio-poem"):e.category?.id===55||e.category?.id===56?a.getString("category-hub-artwork"):e.category?.id===39||e.category?.id===47||e.category?.id===36||e.category?.id===17&&i.id==="7"?"":gt(lt(a.getString,e.category?.type)),$=()=>e.category?.id===46?a.getString("category-hub-audio-poetry-spinner"):e.category?.id===39?a.getString("category-hub-erotic-audio-spinner"):e.category?.id===56?a.getString("category-hub-spinner-type",{type:e.categoryName}):a.getString("category-hub-spinner",{type:e.category?.type});return(()=>{var c=T(Kt);return g(c,s(h,{get when(){return e.category},get children(){return[(()=>{var d=T(zt);return d.$$click=L,g(d,$),it(),d})(),(()=>{var d=T(Gt);return g(d,()=>a.getString("category-hub-spinner-description",{type:e.category?.id===39||e.category?.id===46?"audio":e.category?.type,category:[U(),(e.category?.id===37||e.category?.id===15)&&i?.id!=="7"?a.getString("category-hub-sex"):null,v(),(e.category?.id===37||e.category?.id===15)&&i?.id==="7"?a.getString("category-hub-sex"):null].filter(
1Boolean).join(" ").trim()})),d})()]}})),ot(()=>st(c,Ot.spinner_container)),c})()};ut(["click"]);var qt=D('<div class="content space_sm"><!$><!/><section class=core><!$><!/><!$><!/><!$><!/><!$><!/><!$><!/></section><aside class=sidebar><!$><!/><!$><!/><!$><!/><!$><!/><!$><!/>'),Qt=D("<div class=container_2025><!$><!/><!$><!/><!$><!/>");const Tr=()=>{const{currentUser:e}=yt(),a=mt(),{l10n:i}=ce(),L=ge();ft();const U=bt(),v=$t(),$=()=>parseInt(L.id)||1,c=()=>a?.type,d=()=>{try{return a?.new?decodeURIComponent(a.new):a?.new}catch{return a?.new}},l=()=>{const r=d();if(!r)return{letter:void 0,page:void 0};const n=r.match(/^([\p{L}*])(?:-(\d+))?$/u);if(!n)return{letter:void 0,page:void 0};const o=n[1].toUpperCase(),u=n[2]?parseInt(n[2],10):1;return{letter:o,page:u}},P=x(()=>Nt($()),{deferStream:!0}),t=()=>P()?.find(r=>r.pageUrl===c()||r.id===Number(c())),m=()=>t()?.id||0,k=()=>t()?.id===57,b=()=>t()?.id?t()?.id===46?i.getString("category-hub-audio-poetry"):t()?.id===39?i.getString("category-hub-erotic-audio"):i.getString(`category-${t()?.id}-name`):"",E=()=>t()?.id===55||t()?.id===17||t()?.id===46||t()?.id===56||t()?.id===47||t()?.id===36?"":t()?.id===39?xt(i.getString,t()?.type):wt(i.getString,t()?.type)||"",ue=()=>t()?.ldesc||"",H=()=>k()?"texts":`${se(t(),i.getString)}`,ye=()=>i.getString("category-hub-by-letters-meta-title",{category:b(),type:se(t(),i.getString)}),me=()=>`${t()?.id===46?i.getString("category-hub-by-letter-audio-poetry"):i.getString("category-hub-by-letters-meta-description",{commonInfix:H(),categoryName:b()})}`,fe=()=>`${i.getString("sort-all")} ${ue()}, ${b()}, ${H()}, Literotica`,be=()=>ae(`/c/${c()}/${l()?.letter}${l()?.page!==1?`-${l()?.page}`:""}`,$()),C=x(()=>kt(m()||27),{deferStream:!0}),$e=w(()=>C()?.sliders?C().sliders.top:{meta:{total:0,sponsor:"streamray"},data:[]}),Se=w(()=>C()?.sliders?C().sliders.middle:{meta:{total:0,sponsor:"streamray"},data:[]}),he=w(()=>C()?.sliders?C().sliders.bottom:{meta:{total:0,sponsor:"streamray"},data:[]}),pe=()=>{const{letter:r,page:n}=l(),o=[{path:"/stories",title:i.getString("plural-stories")},{path:`/c/${t()?.pageUrl}`,title:t()?.id===46?i.getString("category-hub-audio-poetry"):i.getString("category-hub-title",{category:b(),type:E()})},{path:`/c/${t()?.pageUrl}/${r}`,title:`${r}`}];return n&&n>1&&o.push({path:`/c/${t()?.pageUrl}/${c()}-${n}`,title:i.getString("page-story-breadcrumb",{page:n})}),o},F=x(()=>It(m(),$()),{deferStream:!0}),O=x(()=>Lt(m(),$(),10,0),{deferStream:!0}),p=x(()=>vt(m(),$()),{deferStream:!0}),z=x(()=>Tt(m(),10,"all",$()),{deferStream:!0}),N=w(()=>!p()||!Array.isArray(p())?[]:p()?.reduce((r,[n,o])=>{const u=n===""?"*":n.toUpperCase();for(let f=1;f<=o;f++)r.push([u,f]);return r},[])),G=()=>{const r=N(),{letter:n,page:o}=l();return r?.some(([u,f])=>u===n&&f===o)},_e=w(()=>l());w(()=>{const r=p(),{letter:n}=l();if(!(!r||!n))return r.some(([o])=>(o||"*").toUpperCase()===n)});const B={data:[],meta:[]},xe=x(async()=>{const r=m();if(!r)return B;const n=p(),{letter:o,page:u}=_e();if(!o||!n?.some(([R])=>(R||"*").toUpperCase()===o))return B;const S=$();return Dt(r,S,o,u??1)},{deferStream:!0}),we=()=>{const r=N(),{letter:n,page:o}=l();if(!r||!n||!o)return 1;const u=r.findIndex(([f,S])=>f===n&&S===o);return u>=0?u+1:1},Ce=r=>{const n=N();if(!n||r<1)return"";const[o,u]=n[r-1]||[];if(u===1)return`/c/${c()}/${o}`;if(r>n.length){const[f,S]=n[n.length-1]||[];return S===1?`/c/${c()}/${f}`:`/c/${c()}/${f}-${S}`}return`/c/${c()}/${o}-${u}`},Ie=St();ht(()=>{Ie?.setConfig({sliderBottomData:he,singleSliderBottomData:()=>null,appName:"categories"})});const Le=w(()=>({title:`${ye()} - Literotica.com`,description:me().replace(/Hub/,""),keywords:[fe()],canonicalLink:be()||"",ogType:"website",noindex:k(),audienceSchema:!0})),K=()=>`/my/#/feedback/new/?category=recent-updates&subcategory=categories-hubs-november-2025&language=${L.code}&url=${v().href}`,ve=()=>e()?ae(K(),$()):Ct(v(),K()),Te=v().hostname,[De]=Te.split("."),Pe=()=>De==="other",V=()=>Pe()?"ot":L.code;return(()=>{var r=T(Qt),n=r.firstChild,[o,u]=y(n.nextSibling),f=o.nextSibling,[S,R]=y(f.nextSibling),ke=S.nextSibling,[Ne,Ue]=y(ke.nextSibling);return g(r,s(re,{get sliderData(){return $e()},get categoryId(){return t()?.id},name:"top"}),o,u),g(r,s(Ut,{get links(){return M(()=>!!G())()?pe():[]}}),S,R),g(r,s(h,{get when(){return G()},get fallback(){return s(h,{get when(){return p()},get children(){return s(Mt,{})}})},get children(){var W=T(qt),Ee=W.firstChild,[Y,Be]=y(Ee.nextSibling),_=Y.nextSibling,Re=_.firstChild,[j,We]=y(Re.nextSibling),Me=j.nextSibling,[J,Ae]=y(Me.nextSibling),He=J.nextSibling,[q,Fe]=y(He.nextSibling),Oe=q.nextSibling,[Q,ze]=y(Oe.nextSibling),Ge=Q.nextSibling,[Ke,Ve]=y(Ge.nextSibling),I=_.nextSibling,Ye=I.firstChild,[X,je]=y(Ye.nextSibling),Je=X.nextSibling,[Z,qe]=y(Je.nextSibling),Qe=Z.nextSibling,[ee,Xe]=y(Qe.nextSibling),Ze=ee.nextSibling,[te,et]=y(Ze.nextSibling),tt=te.nextSibling,[rt,nt]=y(tt.nextSibling);return g(W,s(pt,_t(Le)),Y,Be),g(_,s(Et,{get title(){return M(()=>!!E())()?i.getString("category-hub-headline-title",{category:b(),type:E()}):i.getString("category-hub-headline-title-without-type",{category:b()})}}),j,We),g(_,s(Bt,{get letters(){return p()},get categoryType(){return c()||""},get activeLetter(){return l().letter}}),J,Ae),g(_,s(h,{get when(){return(z()?.meta.submissions_count??0)>=5},get children(){return s(Jt,{get category(){return t()},get categoryName(){return b()},get initialPool(){return z()?.submissions??[]}})}}),q,Fe),g(_,s(Ht,{get data(){return xe()?.data||[]},get label(){return b()}}),Q,ze),g(_,s(At,{get total(){return N()?.length||0},get currentPage(){return we()},setPage:Ce,navigate:U}),Ke,Ve),g(I,s(h,{get when(){return!ne.includes(V())},get fallback(){return s(Rt,{linkToFeedback:ve})},get children(){return s(Wt,{})}}),X,je),g(I,s(re,{get sliderData(){return Se()},get categoryId(){return m()},hideHeader:!0,name:"middle"}),Z,qe),g(I,s(h,{get when(){return oe(F()||[])},get children(){return s(ie,{get category(){return t()},widgetName:"most_used_tags",data:[],authorData:[],get tagsData(){return F()?.slice(0,10)||[]}})}}),ee,Xe),g(I,s(Pt,{get category(){return t()}}),te,et),g(I,s(h,{get when(){return ne.includes(V())},get children(){return s(h,{get when(){return M(()=>!!e())()&&oe(O()||[])},get children(){return s(ie,{get category(){return t()},widgetName:"recommended_for_you",get data(){return O()||[]},authorData:[],tagsData:[],widgetWithStats:!0})}})}}),rt,nt),W}}),Ne,Ue),r})()};export{Tr 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.