PageSourceSearch

https://fictionme.net/n_assets/DlmuPGfc.js

js fictionme.net collected 2026-09-24 19:23:18 UTC 4,727 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DDKgkpNe.js","./B97mBF-E.js","./CEIykhXW.js","./D1HIOnob.js","./StylesLoader.-cvR0kyN.css"])))=>i.map(i=>d[i]);
2import{d as Y,s as Z,x as ee,K as te,N as oe,B as R,c as k,af as ae,aj as se,J as ne,f as l,o as s,g as a,k as i,m as g,i as e,h as p,p as d,R as re,F as v,l as le,H as ie,G as ce,A as pe,q as A,_ as E}from"#entry";import{d as ue,_ as me,a as de,b as _e,c as fe}from"./DYN2e7QJ.js";import{_ as he}from"./B3Y6HB5n.js";import{F as xe,a as y,f as ke}from"./DY3Yz_TZ.js";import{u as ge}from"./B2JaTb6A.js";import{u as ve}from"./DkGN16LQ.js";import{a as ye}from"./CCIbnOLw.js";import{u as S}from"./DrcgtIqi.js";import{u as be}from"./1fs1yw9t.js";import{u as we}from"./FXANGjSJ.js";import"./Dv7KG4Yv.js";import"./Bdv2xjB9.js";import"./VKQS5tGV.js";import"./ZNLnhvWg.js";import"./DL0Xpu2v.js";import"./DLNpcykF.js";import"./DrPVW_0W.js";import"./FC47SwYL.js";const Ce=A(()=>E(()=>import("./DDKgkpNe.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(r=>r.default||r)),Re=A(()=>E(()=>import("./D1HIOnob.js"),__vite__mapDeps([3,2,4]),import.meta.url).then(r=>r.default||r)),Se={class:"container py-8 max-md:py-6"},Ae={key:0,class:"page-content book-summary flex flex-col gap-8 max-md:gap-6 max-w-[800px] m-auto"},Ee={key:0,class:"min-h-[60vh]","aria-hidden":"true"},Pe={class:"space-y-3"},Fe={class:"flex justify-between items-center mb-8"},Be={class:"text-2xl font-bold max-md:text-lg"},Te={key:0,class:"flex items-center gap-2"},$e={class:"flex flex-col gap-4 max-md:gap-2 items-center justify-center w-full"},tt=Y({__name:"index",async setup(r){let u,b;const{slug:_}=Z().params,{sendEvent:P}=ee(),{enabled:w,pending:C}=ge(),{maskQuery:F}=ve(),{getPromptChapterOrder:B,canShowPopup:T,openPopup:$}=ye(),[N,z]=([u,b]=te(()=>Promise.all([S(`/novels/${_}`,{query:F,key:`novel-${_}`}),S(`/novels/${_}/chapters/1/next`)])),u=await u,b(),u),{data:D,error:m,status:Ne}=N,{data:O,error:ze,status:De}=z;if(m.value?.statusCode&&m.value.statusCode!==404)throw oe({statusCode:m.value?.statusCode,statusMessage:m.value?.message});const V=R(null),t=k(()=>D.value?.data),n=R(O.value?.data),{setSkipContext:j}=be(),{markIntent:I,initAntiSkip:L}=we(),M=(h,o,c)=>{P(c,{item_name:"button",placement:"reader_bottom"}),I(h,o)};ae(()=>{t.value?.chapter&&j(t.value,y(t.value.chapter),n.value??[])}),L();const q=k(()=>t.value?.chapter?B(ke([y(t.value.chapter),...n.value??[]])):null),f=k(()=>n.value&&n.value.length>=2?(n.value?n.value.sort((o,c)=>o.order-c.order):[])[0]:null);return ue({layout:se.Funnel}),(h,o)=>{const c=me,H=de,G=re,J=he,K=_e,Q=fe,U=ne("router-link"),W=Ce,X=Re;return s(),l(v,null,[a("div",Se,[e(t)?(s(),l("div",Ae,[i(c,{book:e(t)},null,8,["book"]),a("div",{ref_key:"chapterBlock",ref:V,class:"w-full overflow-hidden"},[i(G,null,{default:d(()=>[e(w)?(s(),g(H,{key:0,book:e(t),"initial-chapter":e(t).chapter,"next-chapters":e(n)??[]},null,8,["book","initial-chapter","next-chapters"])):p("",!0)]),_:1}),e(C)?(s(),l("div",Ee,[o[1]||(o[1]=a("div",{class:"h-7 w-1/2 rounded bg-gray-100 dark:bg-zinc-800 mb-8"},null,-1)),a("div",Pe,[(s(),l(v,null,le(10,x=>a("div",{key:x,class:"h-4 rounded bg-gray-100 dark:bg-zinc-800"})),64))])])):p("",!0),!e(w)&&!e(C)?(s(),l(v,{key:1}
2,[a("div",Fe,[a("h2",Be,ie(e(t).chapter.title),1),e(t).age_restriction?(s(),l("p",Te,[...o[2]||(o[2]=[a("span",{class:"text-gray-600 dark:text-gray-400"},"Age",-1),a("span",{class:"text-2xl max-md:text-lg font-semibold"},"18+",-1)])])):p("",!0)]),i(K,{"is-armed":e(q)===e(xe)&&e(T),class:"mb-8",onReached:e($)},{default:d(()=>[i(J,{chapter:e(t).chapter,"book-id":e(t).id},null,8,["chapter","book-id"])]),_:1},8,["is-armed","onReached"]),i(Q,{"book-id":e(t).id,chapter:e(y)(e(t).chapter),"is-funnel-visible":!1},null,8,["book-id","chapter"]),a("div",$e,[e(f)?(s(),g(U,{key:0,onClick:o[0]||(o[0]=x=>M(e(f).order,x,e(pe).NextChapterClicked)),to:`/read-books/${e(t).slug}/chapter-${e(f).order}`,class:"flex w-2/3 max-md:w-full items-center py-3 px-8 max-md:px-4 justify-center bg-fm-gradient rounded-lg !text-white text-xl hover:bg-fm-gradient-active max-md:text-xl"},{default:d(()=>[...o[3]||(o[3]=[ce(" Next Chapter ",-1),a("svg",{class:"w-5 h-5 ml-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[a("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5l7 7-7 7"})],-1)])]),_:1},8,["to"])):p("",!0)])],64)):p("",!0)],512)])):(s(),g(W,{key:1},{default:d(()=>[...o[4]||(o[4]=[a("p",{class:"text-xl font-semibold"},"Book not found!",-1),a("p",null,"Apologies, but we couldn't locate the book you're seeking. Feel free to pick a book from the Top Trending section instead.",-1)])]),_:1}))]),i(X)],64)}}});export{tt 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.