diff --git a/app/src/main/assets/web/vue/assets/BookChapter-2401a8a4.js b/app/src/main/assets/web/vue/assets/BookChapter-2401a8a4.js
deleted file mode 100644
index 1725ffb86..000000000
--- a/app/src/main/assets/web/vue/assets/BookChapter-2401a8a4.js
+++ /dev/null
@@ -1 +0,0 @@
-import{a1 as ze,n as d,o as g,d as f,g as e,t as Y,F as X,N as te,u as n,a8 as J,z as h,a9 as He,S as Ee,v as U,e as W,w as H,a2 as Je,A as re,aa as We,f as ae,L as le,ab as qe,x as Te,ac as Ue,p as he,i as me,ad as Ge,s as Qe,J as ie,Q as De,ae as ce,af as Ze,k as L,ag as Ye,a6 as _e,c as Xe,a7 as je}from"./vendor-c5b8afce.js";import{i as $e,g as we,l as et}from"./el-loading-2ebec0d5.js";import{_ as Ae,u as Ce,A as ve}from"./index-4666671d.js";const tt={class:"title",wordCount:"0"},ot=["wordCount"],nt=["src"],st=["innerHTML"],at={__name:"ChapterContent",props:{contents:{type:Array,required:!0},title:{type:String,required:!0},spacing:{type:Object,required:!0},fontFamily:{type:String,required:!0},fontSize:{type:String,required:!0}},setup(s){const a=s;ze(A=>({"67305fe8":a.spacing.letter,"2411f436":a.spacing.line,"5ddade6c":a.spacing.paragraph}));const p=A=>{const b=/
]*src="([^"]*(?:"[^>]+\})?)"[^>]*>/,r=A.match(b)[1];return $e(r)?we(r):r},C=A=>{A.target.src=we(A.target.src)},l=A=>{const b=/
]*src="[^"]*(?:"[^>]+\})?"[^>]*>/g,r=" ";return A.replaceAll(b,r).length},Q=d(()=>Array.from(a.contents,A=>l(A)));return(A,b)=>(g(),f(X,null,[e("div",tt,Y(s.title),1),(g(!0),f(X,null,te(s.contents,(r,v)=>(g(),f("div",{key:v,wordCount:n(Q)[v]},[/^\s*
]*src[^>]+>$/.test(r)?(g(),f("img",{key:0,class:"full",src:p(r),onErrorOnce:C,loading:"lazy"},null,40,nt)):(g(),f("p",{key:1,style:J({fontFamily:s.fontFamily,fontSize:s.fontSize}),innerHTML:r},null,12,st))],8,ot))),128))],64))}},lt=Ae(at,[["__scopeId","data-v-5ab2f91e"]]);const it="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyAgMAAABjUWAiAAAADFBMVEXr5djn4dTp49bt59rT6LKxAAACnElEQVQozw3NUUwScRzA8d8R6MF8YMIx8uk47hDSJbj14IPzOGc7jPLvwTGg5uAYDbe2tt56cLtznvEnS6yDqCcEaWi91DvrbLJZz7b1aFtz1aO+2OZWvn+/+4CHeB6BMYaqBLfjPNRY6RFT2JJYby+uAk4WUTrtlmJ4hgPYb2q1XGDQjaK8pgJHvqNaAX+KyuIkDXpgQinb46nOulnn4b5laUHTxLfseeArAoNOeJlOIjdoal0n1FA7tKFv5roK+YaHOqP3P0XyKHPHY+MhTRe5uCZnKhtJKw2eSrSoBDPLtpZuNcFNJcFyiCMxOaaHIfXz1e8HQbWLySrBQ4x0x1qlhnHlnz2HQEC6TNb0gTHXa7IKhcaHqkE015hk9whA0YeWiLIXf7Fa2CZo3DjqjB4tTuF8jIcbfcEx5z/w4sXpQhXW+ju0cqh7icTFmRMaG+v6CIvTjcSpHcH8JEsF3EPh3fRthYdVLLgI2fWXm85/pGFE4l046s70L+yKCcirGFR+jbpy3kMmiCGHrSezVONsn1RBixncyk2PcVWk7DlgxHo8iZwDyq5uAUD854dZhdIFYzKoQig2haUKi1lVufz2RZUZPZ41n/hrOQB6h0Hhg8I367FNoEHgeM/KY7szSeQwD8q2WE3HM35ZLl0K1MJiOtHIkBclRQUwZnyOWcNsRQQgVLj1PSqkjF9DsoOSaSg3iinKzvfmgsNFFfpP/2T3GLGvL4fHEfwIX1sVvXcPqLztehWGcfn9nI2U9nTfCgJPe/jFPLZwgVEzimBgAm0VIyK2tt1cE/AzQdLK+SxLSQ4aDCZnnId94OG2S1XwvnTbNk/ZnhyRCQT+sZM6z9g6LXL1BOBe+zJySiFkHAINCtnQokbCJ/apCv0foqPiZVfhpywAAAAASUVORK5CYII=",ct="data:image/png;base64,iVBORw0KGgo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XbjeqcRAt6NHpnrUkUU4KRzZs8RCK8N/Akn2W04LwxMU/V7XK0bDyN2RxfDyx7I4h5vjZby72V8UnOWumZL3qtYc+8DTE0siSBMXGhywx2dMYPnQHbxdFZ7deiNGxCCtD/QWnbwDoGhRYPDzUdUA3krjpnkvdAgDN4ddLkEQSov9qjd42HaDjI34gEqS9TUueAk+sc4qg5ws407KQYKs8G1jv4xBlqBVk6cb4dISZIwVi1Jzu4+HLk6lyfUxkXvwy+1Q+4WVdHIhwfybZ6CWVhxMEhShOgsP/HOW0MvZJeFwAAAABJRU5ErkJggg==";var _={themes:[{body:"#ede7da url("+it+") repeat",content:"#ede7da url("+ct+") repeat",popup:"#ede7da url("+rt+") repeat"},{body:"#ede7da url("+At+") repeat",content:"#ede7da url("+dt+") repeat",popup:"#ede7da url("+ut+") repeat"},{body:"#ede7da url("+gt+") repeat",content:"#ede7da url("+pt+") repeat",popup:"#ede7da url("+ft+") repeat"},{body:"#ede7da url("+vt+") repeat",content:"#ede7da url("+ht+") repeat",popup:"#ede7da url("+mt+") repeat"},{body:"#ebcece repeat",content:"#f5e4e4 repeat",popup:"#faeceb repeat"},{body:"#ede7da url("+Ct+") repeat",content:"#ede7da url("+yt+") repeat",popup:"#ede7da url("+bt+") repeat"},{body:"#ede7da url("+It+") repeat",content:"#ede7da url("+Bt+") repeat",popup:"#ede7da url("+kt+") repeat"}],fonts:["Microsoft YaHei, PingFangSC-Regular, HelveticaNeue-Light, Helvetica Neue Light, sans-serif","PingFangSC-Regular, -apple-system, Simsun","Kaiti"]};const B=s=>(he("data-v-9f479a0b"),s=s(),me(),s),St=B(()=>e("div",{class:"settings-title"},"设置",-1)),wt={class:"setting-list"},Et={class:"theme-list"},Ut=B(()=>e("i",null,"阅读主题",-1)),Qt=["onClick"],Dt={key:0,class:"iconfont"},Vt={key:1,class:"moon-icon"},xt={class:"font-list"},Mt=B(()=>e("i",null,"正文字体",-1)),Ft=["onClick"],Ot={class:"font-list"},Pt=B(()=>e("i",null,"自定字体",-1)),Rt=B(()=>e("p",null," 请确认输入的字体名称完整无误,并且该字体已经安装在您的设备上。 ",-1)),Kt=B(()=>e("p",null,"确定保存吗?",-1)),Nt={style:{"text-align":"right",margin:"0"}},Lt=B(()=>e("span",{type:"text",class:"font-item"},"保存",-1)),zt={class:"font-size"},Ht=B(()=>e("i",null,"字体大小",-1)),Jt={class:"resize"},Wt=B(()=>e("em",{class:"iconfont"},"",-1)),qt=[Wt],Tt=B(()=>e("b",null,null,-1)),Gt={class:"lang"},Zt=B(()=>e("b",null,null,-1)),Yt=B(()=>e("em",{class:"iconfont"},"",-1)),_t=[Yt],Xt={key:0,class:"read-width"},jt=B(()=>e("i",null,"页面宽度",-1)),$t={class:"resize"},eo=B(()=>e("em",{class:"iconfont"},"",-1)),to=[eo],oo=B(()=>e("b",null,null,-1)),no={class:"lang"},so=B(()=>e("b",null,null,-1)),ao=B(()=>e("em",{class:"iconfont"},"",-1)),lo=[ao],io={class:"infinite-loading"},co=B(()=>e("i",null,"无限加载",-1)),ro={__name:"ReadSettings",setup(s){const a=Ce(),p=h(0),C=h(a.config.theme==6),l=h(""),Q=He([{background:"rgba(250, 245, 235, 0.8)"},{background:"rgba(245, 234, 204, 0.8)"},{background:"rgba(230, 242, 230, 0.8)"},{background:"rgba(228, 241, 245, 0.8)"},{background:"rgba(245, 228, 228, 0.8)"},{background:"rgba(224, 224, 224, 0.8)"},{background:"rgba(0, 0, 0, 0.5)"}]),A=h({display:"inline",color:"rgba(255,255,255,0.2)"}),b=h(["雅黑","宋体","楷书"]),r=h(a.config.customFontName),v=h(!1);Ee(()=>{var k=a.config;p.value=k.theme,p.value==6?l.value="":l.value=""});const i=d(()=>a.config),D=d(()=>({background:_.themes[i.value.theme].popup})),F=d(()=>a.config.theme),S=d(()=>a.config.font),E=d(()=>a.config.fontSize),P=d(()=>a.config.readWidth),R=d(()=>a.config.infiniteLoading),z=k=>{k==6?(C.value=!0,l.value="",A.value.color="#ed4259"):(C.value=!1,l.value="",A.value.color="rgba(255,255,255,0.2)"),i.value.theme=k,K(i.value)},q=k=>{i.value.font=k,K(i.value)},c=()=>{i.value.font=-1,i.value.customFontName=r.value,K(i.value)},y=()=>{i.value.fontSize<48&&(i.value.fontSize+=2),K(i.value)},G=()=>{i.value.fontSize>12&&(i.value.fontSize-=2),K(i.value)},de=()=>{i.value.readWidth+=160,K(i.value)},ue=()=>{i.value.readWidth>640&&(i.value.readWidth-=160),K(i.value)},oe=k=>{i.value.infiniteLoading=k,K(i.value)},K=k=>{a.setConfig(k),localStorage.setItem("config",JSON.stringify(k)),ne(k)},ne=k=>{ve.saveReadConfig(k)};return(k,w)=>{const ge=qe,se=Te,pe=Ue;return g(),f("div",{class:U(["settings-wrapper",{night:n(C),day:!n(C)}]),style:J(n(D))},[St,e("div",wt,[e("ul",null,[e("li",Et,[Ut,(g(!0),f(X,null,te(n(Q),(V,O)=>(g(),f("span",{class:U(["theme-item",{selected:n(F)==O}]),key:O,style:J(V),ref_for:!0,ref:"themes",onClick:j=>z(O)},[O<6?(g(),f("em",Dt,"")):(g(),f("em",Vt,Y(n(l)),1))],14,Qt))),128))]),e("li",xt,[Mt,(g(!0),f(X,null,te(n(b),(V,O)=>(g(),f("span",{class:U(["font-item",{selected:n(S)==O}]),key:O,onClick:j=>q(O)},Y(V),11,Ft))),128))]),e("li",Ot,[Pt,W(ge,{effect:"dark",content:"自定义的字体名称",placement:"top"},{default:H(()=>[Je(e("input",{type:"text",class:"font-item font-item-input","onUpdate:modelValue":w[0]||(w[0]=V=>re(r)?r.value=V:null),placeholder:"请输入自定义的字体名称"},null,512),[[We,n(r)]])]),_:1}),W(pe,{placement:"top",width:"180",trigger:"click",visible:n(v),"onUpdate:visible":w[3]||(w[3]=V=>re(v)?v.value=V:null)},{reference:H(()=>[Lt]),default:H(()=>[Rt,Kt,e("div",Nt,[W(se,{size:"small",plain:"",onClick:w[1]||(w[1]=V=>v.value=!1)},{default:H(()=>[ae("取消")]),_:1}),W(se,{type:"primary",size:"small",onClick:w[2]||(w[2]=V=>{c(),v.value=!1})},{default:H(()=>[ae("确定")]),_:1})])]),_:1},8,["visible"])]),e("li",zt,[Ht,e("div",Jt,[e("span",{class:"less",onClick:G},qt),Tt,ae(),e("span",Gt,Y(n(E)),1),Zt,e("span",{class:"more",onClick:y},_t)])]),n(a).miniInterface?le("",!0):(g(),f("li",Xt,[jt,e("div",$t,[e("span",{class:"less",onClick:ue},to),oo,ae(),e("span",no,Y(n(P)),1),so,e("span",{class:"more",onClick:de},lo)])])),e("li",io,[co,(g(),f("span",{class:U(["infinite-loading-item",{selected:n(R)==!1}]),key:0,onClick:w[4]||(w[4]=V=>oe(!1))},"关闭",2)),(g(),f("span",{class:U(["infinite-loading-item",{selected:n(R)==!0}]),key:1,onClick:w[5]||(w[5]=V=>oe(!0))},"开启",2))])])])],6)}}},Ao=Ae(ro,[["__scopeId","data-v-9f479a0b"]]),uo=(s,a,p,C)=>(s/=C/2,s<1?p/2*s*s+a:(s--,-p/2*(s*(s-2)-1)+a)),go=()=>{let s,a,p,C,l,Q,A,b,r,v,i,D,F;function S(){let c=s.scrollTop||s.scrollY||s.pageYOffset;return c=typeof c>"u"?0:c,c}function E(c){const y=c.getBoundingClientRect().top,G=s.getBoundingClientRect?s.getBoundingClientRect().top:0;return y-G+p}function P(c){s.scrollTo?s.scrollTo(0,c):s.scrollTop=c}function R(c){v||(v=c),i=c-v,D=Q(i,p,b,r),P(D),i(he("data-v-8da315d1"),s=s(),me(),s),fo=po(()=>e("div",{class:"title"},"目录",-1)),vo={class:"cata"},ho=["onClick"],mo={class:"log-text"},Co={__name:"PopCatalog",emits:["getContent"],setup(s,{emit:a}){const p=Ce(),C=h(!1),{index:l}=Ge(p.readingBook),{catalog:Q,popCataVisible:A}=Qe(p),b=d(()=>p.config.theme),r=d(()=>({background:_.themes[b.value].popup}));ie(()=>{C.value=b.value==6});const v=h(),i=h();De(A,()=>{ce(()=>{let S=i.value;T(v.value[l.value],{container:S,duration:0})})});const D=S=>S==l.value,F=S=>{l.value=Q.value.indexOf(S),p.setPopCataVisible(!1),p.setContentLoading(!0),a("getContent",l.value)};return(S,E)=>(g(),f("div",{class:"cata-wrapper",style:J(n(r))},[fo,e("div",{class:U(["data-wrapper",{night:n(C),day:!n(C)}]),ref_key:"cataData",ref:i},[e("div",vo,[(g(!0),f(X,null,te(n(Q),(P,R)=>(g(),f("div",{class:U(["log",{selected:D(R)}]),key:P.durChapterIndex,onClick:z=>F(P),ref_for:!0,ref_key:"cata",ref:v},[e("div",mo,Y(P.title),1)],10,ho))),128))])],2)],4))}},yo=Ae(Co,[["__scopeId","data-v-8da315d1"]]);const M=s=>(he("data-v-9227dc7a"),s=s(),me(),s),bo={class:"tools"},Io=M(()=>e("div",{class:"iconfont"},"",-1)),Bo=M(()=>e("div",{class:"icon-text"},"目录",-1)),ko=[Io,Bo],So=M(()=>e("div",{class:"iconfont"},"",-1)),wo=M(()=>e("div",{class:"icon-text"},"设置",-1)),Eo=[So,wo],Uo=M(()=>e("div",{class:"iconfont"},"",-1)),Qo=M(()=>e("div",{class:"icon-text"},"书架",-1)),Do=[Uo,Qo],Vo=M(()=>e("div",{class:"iconfont"},"",-1)),xo=M(()=>e("div",{class:"icon-text"},"顶部",-1)),Mo=[Vo,xo],Fo=M(()=>e("div",{class:"iconfont"},"",-1)),Oo=M(()=>e("div",{class:"icon-text"},"底部",-1)),Po=[Fo,Oo],Ro={class:"tools"},Ko=M(()=>e("div",{class:"iconfont"},"",-1)),No={key:0},Lo={key:0},zo=M(()=>e("div",{class:"iconfont"},"",-1)),Ho=M(()=>e("div",{class:"chapter-bar"},null,-1)),Jo={class:"content"},Wo=["chapterIndex"],qo={__name:"BookChapter",setup(s){const a=h(!1),p=h(null),C=h();De(a,t=>{var o;if(!t)return(o=p.value)==null?void 0:o.close();p.value=je.service({target:C.value,spinner:et,text:"正在获取信息",lock:!0})});const l=Ce();try{const t=JSON.parse(localStorage.getItem("config"));t!=null&&l.setConfig(t)}catch{localStorage.removeItem("config")}const Q=h(),A=h(!0),b=h(!1),r=h([]),v=h(null),i=h(null),{catalog:D,popCataVisible:F,readSettingsVisible:S,miniInterface:E,showContent:P,config:R,readingBook:z}=Qe(l),q=d({get:()=>z.value.chapterPos,set:t=>z.value.chapterPos=t}),c=d({get:()=>z.value.index,set:t=>z.value.index=t}),y=d(()=>R.value.theme),G=d(()=>R.value.infiniteLoading),de=d(()=>l.config.font>=0?_.fonts[l.config.font]:l.config.customFontName),ue=d(()=>l.config.fontSize+"px"),oe=d(()=>_.themes[y.value].body),K=d(()=>_.themes[y.value].content),ne=d(()=>_.themes[y.value].popup),k=d(()=>E.value?window.innerWidth+"px":l.config.readWidth-130+"px"),w=d(()=>E.value?window.innerWidth-33:l.config.readWidth-33),ge=d(()=>({background:oe.value})),se=d(()=>({background:K.value,width:k.value})),pe=d(()=>({background:ne.value,marginLeft:E.value?0:-(l.config.readWidth/2+68)+"px",display:E.value&&!b.value?"none":"block"})),V=d(()=>({background:ne.value,marginRight:E.value?0:-(l.config.readWidth/2+52)+"px",display:E.value&&!b.value?"none":"block"})),O=d(()=>y.value==6);ie(()=>{r.value.length>0&&(l.setContentLoading(!1),Ne())}),ie(()=>{var t;document.title=((t=D.value[c.value])==null?void 0:t.title)||document.title,l.saveBookProcess()}),ie(()=>{var t,o;G.value?(o=v.value)==null||o.observe(Q.value):(t=v.value)==null||t.disconnect()});const j=h(),$=(t,o=!0,m=0)=>{o&&(l.setShowContent(!1),a.value=!0,T(j.value,{duration:0}),Be(t,m));let I=sessionStorage.getItem("bookUrl"),{title:x,index:N}=D.value[t];ve.getBookContent(I,N).then(u=>{if(u.data.isSuccess){let Le=u.data.data.split(/\n+/);fe({index:t,content:Le,title:x},o),o&&Ve(m)}else{L({message:u.data.errorMsg,type:"error"});let ee=[u.data.errorMsg];fe({index:t,content:ee,title:x},o)}if(l.setContentLoading(!0),a.value=!1,A.value=!1,l.setShowContent(!0),!u.data.isSuccess)throw u.data},u=>{throw L({message:"获取章节内容失败",type:"error"}),fe({index:t,content:["获取章节内容失败!"],title:x},o),a.value=!1,l.setShowContent(!0),u})},Z=h(),Ve=t=>{ce(()=>{let o=0;if(Z.value.length==1){for(let m of Z.value[0].children)if(o+=parseInt(m.getAttribute("wordCount"))+1,o-1>=t){T(m,{duration:0});break}}})},xe=()=>{if(Z.value.length==0)return;let t=Z.value.find(m=>m.getAttribute("chapterIndex")==c.value);if(!t)return;let o=0;for(let m of t.children)if(o+=parseInt(m.getAttribute("wordCount"))+1,m.getBoundingClientRect().top>=0){q.value=o-1;break}},ye=h(),Me=()=>{T(j.value)},Fe=()=>{T(ye.value)},be=()=>{l.setContentLoading(!0);let t=c.value+1;typeof D.value[t]<"u"?(L({message:"下一章",type:"info"}),$(t)):L({message:"本章是最后一章",type:"error"})},Ie=()=>{l.setContentLoading(!0);let t=c.value-1;typeof D.value[t]<"u"?(L({message:"上一章",type:"info"}),$(t)):L({message:"本章是第一章",type:"error"})},Be=(t,o=q.value)=>{let m=sessionStorage.getItem("bookUrl");var I=JSON.parse(localStorage.getItem(m));I.index=t,I.chapterPos=o,localStorage.setItem(m,JSON.stringify(I)),I=JSON.parse(localStorage.getItem("readingRecent")),I.chapterIndex=t,I.chapterPos=o,localStorage.setItem("readingRecent",JSON.stringify(I)),c.value=t,q.value=o,sessionStorage.setItem("chapterIndex",t),sessionStorage.setItem("chapterPos",String(o))},fe=async(t,o)=>{o&&r.value.splice(0),r.value.push(t)},Oe=()=>{let t=r.value.slice(-1)[0].index;D.value.length-1>t&&$(t+1,!1)},Pe=_e(),ke=()=>{Pe.push("/")},Se=t=>{switch(t.key){case"ArrowLeft":t.stopPropagation(),t.preventDefault(),Ie();break;case"ArrowRight":t.stopPropagation(),t.preventDefault(),be();break;case"ArrowUp":t.stopPropagation(),t.preventDefault(),document.documentElement.scrollTop===0?L({message:"已到达页面顶部",type:"warn"}):T(0-document.documentElement.clientHeight+100);break;case"ArrowDown":t.stopPropagation(),t.preventDefault(),document.documentElement.clientHeight+document.documentElement.scrollTop===document.documentElement.scrollHeight?L({message:"已到达页面底部",type:"warn"}):T(document.documentElement.clientHeight-100);break}},Re=t=>{if(!a.value)for(let{isIntersecting:o}of t){if(!o)return;Oe()}},Ke=t=>{ce(()=>{for(let{isIntersecting:o,target:m,boundingClientRect:I}of t){let x=parseInt(m.getAttribute("chapterIndex"));o?c.value=x:I.top<0?c.value=x+1:c.value=x-1}})},Ne=()=>{ce(()=>{let t=Z.value;t&&t.forEach(o=>i.value.observe(o))})};return Ze((t,o,m)=>{xe(),Be(c.value),m()}),Ee(()=>{a.value=!0;let t=sessionStorage.getItem("bookUrl"),o=sessionStorage.getItem("bookName"),m=sessionStorage.getItem("bookAuthor"),I=Number(sessionStorage.getItem("chapterIndex")||0),x=Number(sessionStorage.getItem("chapterPos")||0);var N=JSON.parse(localStorage.getItem(t));(N==null||I!=N.index||x!=N.chapterPos)&&(N={bookName:o,bookAuthor:m,bookUrl:t,index:I,chapterPos:x},localStorage.setItem(t,JSON.stringify(N))),ve.getChapterList(t).then(u=>{if(a.value=!1,!u.data.isSuccess){L({message:u.data.errorMsg,type:"error"}),setTimeout(ke,500);return}let ee=u.data.data;l.setCatalog(ee),l.setReadingBook(N),$(I,!0,x),window.addEventListener("keyup",Se),v.value=new IntersectionObserver(Re,{rootMargin:"-100% 0% 20% 0%"}),G.value&&v.value.observe(Q.value),i.value=new IntersectionObserver(Ke),document.title=null,document.title=o+" | "+D.value[I].title},u=>{throw a.value=!1,L({message:"获取书籍目录失败",type:"error"}),u})}),Ye(()=>{var t,o;window.removeEventListener("keyup",Se),S.value=!1,F.value=!1,(t=v.value)==null||t.disconnect(),(o=i.value)==null||o.disconnect()}),(t,o)=>{const m=yo,I=Ue,x=Ao,N=lt;return g(),f("div",{class:U(["chapter-wrapper",{night:n(O),day:!n(O)}]),style:J(n(ge)),onClick:o[2]||(o[2]=u=>b.value=!n(b))},[e("div",{class:"tool-bar",style:J(n(pe))},[e("div",bo,[W(I,{placement:"right",width:n(w),trigger:"click","show-arrow":!1,visible:n(F),"onUpdate:visible":o[0]||(o[0]=u=>re(F)?F.value=u:null),"popper-class":"pop-cata"},{reference:H(()=>[e("div",{class:U(["tool-icon",{"no-point":n(A)}])},ko,2)]),default:H(()=>[W(m,{onGetContent:$,class:"popup"})]),_:1},8,["width","visible"]),W(I,{placement:"right",width:n(w),trigger:"click","show-arrow":!1,visible:n(S),"onUpdate:visible":o[1]||(o[1]=u=>re(S)?S.value=u:null),"popper-class":"pop-setting"},{reference:H(()=>[e("div",{class:U(["tool-icon",{"no-point":n(A)}])},Eo,2)]),default:H(()=>[W(x,{class:"popup"})]),_:1},8,["width","visible"]),e("div",{class:"tool-icon",onClick:ke},Do),e("div",{class:U(["tool-icon",{"no-point":n(A)}]),onClick:Me},Mo,2),e("div",{class:U(["tool-icon",{"no-point":n(A)}]),onClick:Fe},Po,2)])],4),e("div",{class:"read-bar",style:J(n(V))},[e("div",Ro,[e("div",{class:U(["tool-icon",{"no-point":n(A)}]),onClick:Ie},[Ko,n(E)?(g(),f("span",No,"上一章")):le("",!0)],2),e("div",{class:U(["tool-icon",{"no-point":n(A)}]),onClick:be},[n(E)?(g(),f("span",Lo,"下一章")):le("",!0),zo],2)])],4),Ho,e("div",{class:"chapter",ref_key:"content",ref:C,style:J(n(se))},[e("div",Jo,[e("div",{class:"top-bar",ref_key:"top",ref:j},null,512),(g(!0),f(X,null,te(n(r),u=>(g(),f("div",{key:u.index,chapterIndex:u.index,ref_for:!0,ref_key:"chapter",ref:Z},[n(P)?(g(),Xe(N,{key:0,contents:u.content,title:u.title,spacing:n(l).config.spacing,fontSize:n(ue),fontFamily:n(de)},null,8,["contents","title","spacing","fontSize","fontFamily"])):le("",!0)],8,Wo))),128)),e("div",{class:"loading",ref_key:"loading",ref:Q},null,512),e("div",{class:"bottom-bar",ref_key:"bottom",ref:ye},null,512)])],4)],6)}}},Yo=Ae(qo,[["__scopeId","data-v-9227dc7a"]]);export{Yo as default};
diff --git a/app/src/main/assets/web/vue/assets/BookChapter-3cc9ab9d.css b/app/src/main/assets/web/vue/assets/BookChapter-3cc9ab9d.css
deleted file mode 100644
index af73790a6..000000000
--- a/app/src/main/assets/web/vue/assets/BookChapter-3cc9ab9d.css
+++ /dev/null
@@ -1 +0,0 @@
-@charset "UTF-8";.title[data-v-5ab2f91e]{margin-bottom:57px;font:24px/32px PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,Microsoft YaHei,sans-serif}p[data-v-5ab2f91e]{display:block;word-wrap:break-word;word-break:break-all;letter-spacing:calc(var(--67305fe8) * 1em);line-height:calc(1 + var(--2411f436));margin:calc(var(--5ddade6c) * 1em) 0}p[data-v-5ab2f91e] img{height:1em}.full[data-v-5ab2f91e]{display:block;width:100%}.el-popover{--el-popover-bg-color:var(--el-bg-color-overlay);--el-popover-font-size:var(--el-font-size-base);--el-popover-border-color:var(--el-border-color-lighter);--el-popover-padding:12px;--el-popover-padding-large:18px 20px;--el-popover-title-font-size:16px;--el-popover-title-text-color:var(--el-text-color-primary);--el-popover-border-radius:4px}.el-popover.el-popper{background:var(--el-popover-bg-color);min-width:150px;border-radius:var(--el-popover-border-radius);border:1px solid var(--el-popover-border-color);padding:var(--el-popover-padding);z-index:var(--el-index-popper);color:var(--el-text-color-regular);line-height:1.4;text-align:justify;font-size:var(--el-popover-font-size);box-shadow:var(--el-box-shadow-light);word-break:break-all;box-sizing:border-box}.el-popover.el-popper--plain{padding:var(--el-popover-padding-large)}.el-popover__title{color:var(--el-popover-title-text-color);font-size:var(--el-popover-title-font-size);line-height:1;margin-bottom:12px}.el-popover__reference:focus:hover,.el-popover__reference:focus:not(.focusing){outline-width:0}.el-popover.el-popper.is-dark{--el-popover-bg-color:var(--el-text-color-primary);--el-popover-border-color:var(--el-text-color-primary);--el-popover-title-text-color:var(--el-bg-color);color:var(--el-bg-color)}.el-popover.el-popper:focus,.el-popover.el-popper:focus:active{outline-width:0}@font-face{font-family:FZZCYSK;src:local("\263a"),url(./popfont-a80d6a88.ttf);font-style:normal;font-weight:400}@font-face{font-family:iconfont;src:url(./iconfont-9aaccea3.woff) format("woff")}[data-v-9f479a0b] .iconfont,[data-v-9f479a0b] .moon-icon{font-family:iconfont;font-style:normal}.settings-wrapper[data-v-9f479a0b]{user-select:none;margin:-13px;text-align:left;padding:40px 0 40px 24px;background:#ede7da url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyBAMAAADsEZWCAAAAD1BMVEX48dr48Nf58tv379X17NJtIBxUAAACFUlEQVQ4y1XRUZakMAgF0Af2AiDWApDZgHZqAV1nZv9rGh7Rj7Y8McUFEg1wvcMESMNVD/neU8Xcaz7nYYkYlYO6Ti82PBI4BvIEg1aj3wKwRvIMgZsUy5LdhCawPFh1sZs4SrlyN9fQKpv8s5dgZ2eLyqqJiu+WkCmUEybXkm3INS01WAiv0PapJ0CZc0SJQUzcWnZYbOOY20iFD8Bk+/j2A3wNxH7GdShFYS5ff237kXh9I9zSkQmIAhOsOSVfJ6DIXTMDaPnzkRJ92S1BQQmXl5LdirgRLLDdcYqcGPwe3QN4xCBiGNbrqq9wpW1XCecChwaQdVOsRDpPCpeoolPdxeXp3WNB9PHVzWBHlygy4NJCCrFHREv6bDt0VGwJZASkpONmm1UseGeFKAQexgaAkrfYWl3AGxWOLL2AIMBNbCXpktmS3k3vHeYjGCPBa43wJTurO3ZFVpQSJdAZGLoHTyk1upkjxMEaIxum3iIARcCa5kSkFAW5fi1mUlL9eyOsaanFmOMruwvEdE3ZYzsRSzo5ewRLXyVPPEvknt8ij4DvCg2O7xOgBCUprEzV4z1WekSpUgI8DT2mrnSOXKRfQavwuKA1F+tFnMKdJSUpMA7wQAifWRkMgjUKKZE4lBl6MCM4B1pq1P4uIjDE6Pq6rL0FnW1nIFmta5vrSvq/Ch4tpqG/ZNyyWa5jZPktq81eYv8Bt5s4iFITOp4AAAAASUVORK5CYII=) repeat}.settings-wrapper .settings-title[data-v-9f479a0b]{font-size:18px;line-height:22px;margin-bottom:28px;font-family:FZZCYSK;font-weight:400}.settings-wrapper .setting-list ul[data-v-9f479a0b]{list-style:none outside none;margin:0;padding:0}.settings-wrapper .setting-list ul li[data-v-9f479a0b]{list-style:none outside none}.settings-wrapper .setting-list ul li i[data-v-9f479a0b]{font:12px/16px PingFangSC-Regular,-apple-system,Simsun;display:inline-block;min-width:48px;margin-right:16px;vertical-align:middle;color:#666}.settings-wrapper .setting-list ul li .theme-item[data-v-9f479a0b]{line-height:32px;width:34px;height:34px;margin-right:16px;margin-top:5px;border-radius:100%;display:inline-block;cursor:pointer;text-align:center;vertical-align:middle}.settings-wrapper .setting-list ul li .theme-item .iconfont[data-v-9f479a0b]{display:none}.settings-wrapper .setting-list ul li .selected[data-v-9f479a0b]{color:#ed4259}.settings-wrapper .setting-list ul li .selected .iconfont[data-v-9f479a0b]{display:inline}.settings-wrapper .setting-list ul .font-list[data-v-9f479a0b],.settings-wrapper .setting-list ul .infinite-loading[data-v-9f479a0b]{margin-top:28px}.settings-wrapper .setting-list ul .font-list .font-item[data-v-9f479a0b],.settings-wrapper .setting-list ul .font-list .infinite-loading-item[data-v-9f479a0b],.settings-wrapper .setting-list ul .infinite-loading .font-item[data-v-9f479a0b],.settings-wrapper .setting-list ul .infinite-loading .infinite-loading-item[data-v-9f479a0b]{width:78px;height:34px;cursor:pointer;margin-right:16px;border-radius:2px;text-align:center;vertical-align:middle;display:inline-block;font:14px/34px PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,Microsoft YaHei,sans-serif}.settings-wrapper .setting-list ul .font-list .font-item-input[data-v-9f479a0b],.settings-wrapper .setting-list ul .infinite-loading .font-item-input[data-v-9f479a0b]{width:168px;color:#000}.settings-wrapper .setting-list ul .font-list .selected[data-v-9f479a0b],.settings-wrapper .setting-list ul .infinite-loading .selected[data-v-9f479a0b]{color:#ed4259;border:1px solid #ed4259}.settings-wrapper .setting-list ul .font-list .font-item[data-v-9f479a0b]:hover,.settings-wrapper .setting-list ul .font-list .infinite-loading-item[data-v-9f479a0b]:hover,.settings-wrapper .setting-list ul .infinite-loading .font-item[data-v-9f479a0b]:hover,.settings-wrapper .setting-list ul .infinite-loading .infinite-loading-item[data-v-9f479a0b]:hover{border:1px solid #ed4259;color:#ed4259}.settings-wrapper .setting-list ul .font-size[data-v-9f479a0b],.settings-wrapper .setting-list ul .read-width[data-v-9f479a0b]{margin-top:28px}.settings-wrapper .setting-list ul .font-size .resize[data-v-9f479a0b],.settings-wrapper .setting-list ul .read-width .resize[data-v-9f479a0b]{display:inline-block;width:274px;height:34px;vertical-align:middle;border-radius:2px}.settings-wrapper .setting-list ul .font-size .resize span[data-v-9f479a0b],.settings-wrapper .setting-list ul .read-width .resize span[data-v-9f479a0b]{width:89px;height:34px;line-height:34px;display:inline-block;cursor:pointer;text-align:center;vertical-align:middle}.settings-wrapper .setting-list ul .font-size .resize span em[data-v-9f479a0b],.settings-wrapper .setting-list ul .read-width .resize span em[data-v-9f479a0b]{font-style:normal}.settings-wrapper .setting-list ul .font-size .resize .less[data-v-9f479a0b]:hover,.settings-wrapper .setting-list ul .font-size .resize .more[data-v-9f479a0b]:hover,.settings-wrapper .setting-list ul .read-width .resize .less[data-v-9f479a0b]:hover,.settings-wrapper .setting-list ul .read-width .resize .more[data-v-9f479a0b]:hover{color:#ed4259}.settings-wrapper .setting-list ul .font-size .resize .lang[data-v-9f479a0b],.settings-wrapper .setting-list ul .read-width .resize .lang[data-v-9f479a0b]{color:#a6a6a6;font-weight:400;font-family:FZZCYSK}.settings-wrapper .setting-list ul .font-size .resize b[data-v-9f479a0b],.settings-wrapper .setting-list ul .read-width .resize b[data-v-9f479a0b]{display:inline-block;height:20px;vertical-align:middle}.night[data-v-9f479a0b] .theme-item,.night[data-v-9f479a0b] .selected{border:1px solid #666}.night[data-v-9f479a0b] .moon-icon{color:#ed4259}.night[data-v-9f479a0b] .font-list .font-item,.night[data-v-9f479a0b] .font-list .infinite-loading-item,.night .infinite-loading .font-item[data-v-9f479a0b],.night .infinite-loading .infinite-loading-item[data-v-9f479a0b],.night[data-v-9f479a0b] .resize{border:1px solid #666;background:rgba(45,45,45,.5)}.night[data-v-9f479a0b] .resize b{border-right:1px solid #666}.day[data-v-9f479a0b] .theme-item{border:1px solid #e5e5e5}.day[data-v-9f479a0b] .selected{border:1px solid #ed4259}.day[data-v-9f479a0b] .moon-icon{display:inline;color:#fff3}.day[data-v-9f479a0b] .font-list .font-item,.day[data-v-9f479a0b] .font-list .infinite-loading-item,.day .infinite-loading .font-item[data-v-9f479a0b],.day .infinite-loading .infinite-loading-item[data-v-9f479a0b]{background:rgba(255,255,255,.5);border:1px solid rgba(0,0,0,.1)}.day[data-v-9f479a0b] .resize{border:1px solid #e5e5e5;background:rgba(255,255,255,.5)}.day[data-v-9f479a0b] .resize b{border-right:1px solid #e5e5e5}@media screen and (max-width: 500px){.settings-wrapper i[data-v-9f479a0b]{display:flex!important;flex-wrap:wrap;padding-bottom:5px!important}}.cata-wrapper[data-v-8da315d1]{margin:-16px;padding:18px 0 24px 25px}.cata-wrapper .title[data-v-8da315d1]{font-size:18px;font-weight:400;font-family:FZZCYSK;margin:0 0 20px;color:#ed4259;width:fit-content;border-bottom:1px solid #ed4259}.cata-wrapper .data-wrapper[data-v-8da315d1]{height:300px;overflow:auto}.cata-wrapper .data-wrapper .cata[data-v-8da315d1]{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}.cata-wrapper .data-wrapper .cata .selected[data-v-8da315d1]{color:#eb4259}.cata-wrapper .data-wrapper .cata .log[data-v-8da315d1]{width:50%;height:40px;cursor:pointer;float:left;font:16px/40px PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,Microsoft YaHei,sans-serif}.cata-wrapper .data-wrapper .cata .log .log-text[data-v-8da315d1]{margin-right:26px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.cata-wrapper .night[data-v-8da315d1] .log{border-bottom:1px solid #666}.cata-wrapper .day[data-v-8da315d1] .log{border-bottom:1px solid #f2f2f2}@media screen and (max-width: 500px){.cata-wrapper .data-wrapper .cata .log[data-v-8da315d1]{width:100%}}[data-v-9227dc7a] .pop-setting{margin-left:68px;top:0}[data-v-9227dc7a] .pop-cata{margin-left:10px}.chapter-wrapper[data-v-9227dc7a]{padding:0 4%;flex-direction:column;align-items:center}.chapter-wrapper[data-v-9227dc7a] .no-point{pointer-events:none}.chapter-wrapper .tool-bar[data-v-9227dc7a]{position:fixed;top:0;left:50%;z-index:100}.chapter-wrapper .tool-bar .tools[data-v-9227dc7a]{display:flex;flex-direction:column}.chapter-wrapper .tool-bar .tools .tool-icon[data-v-9227dc7a]{font-size:18px;width:58px;height:48px;text-align:center;padding-top:12px;cursor:pointer;outline:none}.chapter-wrapper .tool-bar .tools .tool-icon .iconfont[data-v-9227dc7a]{font-family:iconfont;width:16px;height:16px;font-size:16px;margin:0 auto 6px}.chapter-wrapper .tool-bar .tools .tool-icon .icon-text[data-v-9227dc7a]{font-size:12px}.chapter-wrapper .read-bar[data-v-9227dc7a]{position:fixed;bottom:0;right:50%;z-index:100}.chapter-wrapper .read-bar .tools[data-v-9227dc7a]{display:flex;flex-direction:column}.chapter-wrapper .read-bar .tools .tool-icon[data-v-9227dc7a]{font-size:18px;width:42px;height:31px;padding-top:12px;text-align:center;align-items:center;cursor:pointer;outline:none;margin-top:-1px}.chapter-wrapper .read-bar .tools .tool-icon .iconfont[data-v-9227dc7a]{font-family:iconfont;width:16px;height:16px;font-size:16px;margin:0 auto 6px}.chapter-wrapper .chapter[data-v-9227dc7a]{font-family:Microsoft YaHei,PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,sans-serif;text-align:left;padding:0 65px;min-height:100vh;width:670px;margin:0 auto}.chapter-wrapper .chapter[data-v-9227dc7a] .el-loading-mask{background-color:#0000}.chapter-wrapper .chapter[data-v-9227dc7a] .el-loading-spinner{font-size:36px;color:#b5b5b5}.chapter-wrapper .chapter[data-v-9227dc7a] .el-loading-text{font-weight:500;color:#b5b5b5}.chapter-wrapper .chapter .content[data-v-9227dc7a]{overflow:hidden;font-size:18px;line-height:1.8;font-family:Microsoft YaHei,PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,sans-serif}.chapter-wrapper .chapter .content .bottom-bar[data-v-9227dc7a],.chapter-wrapper .chapter .content .top-bar[data-v-9227dc7a]{height:64px}.day[data-v-9227dc7a] .popup{box-shadow:0 2px 4px #0000001f,0 0 6px #0000000a}.day[data-v-9227dc7a] .tool-icon{border:1px solid rgba(0,0,0,.1);margin-top:-1px;color:#000}.day[data-v-9227dc7a] .tool-icon .icon-text{color:#0006}.day[data-v-9227dc7a] .chapter{border:1px solid #d8d8d8;color:#262626}.night[data-v-9227dc7a] .popup{box-shadow:0 2px 4px #0000007a,0 0 6px #00000029}.night[data-v-9227dc7a] .tool-icon{border:1px solid #444;margin-top:-1px;color:#666}.night[data-v-9227dc7a] .tool-icon .icon-text{color:#666}.night[data-v-9227dc7a] .chapter{border:1px solid #444;color:#666}.night[data-v-9227dc7a] .popper__arrow{background:#666}@media screen and (max-width: 750px){.chapter-wrapper[data-v-9227dc7a]{padding:0}.chapter-wrapper .tool-bar[data-v-9227dc7a]{left:0;width:100vw;margin-left:0!important}.chapter-wrapper .tool-bar .tools[data-v-9227dc7a]{flex-direction:row;justify-content:space-between}.chapter-wrapper .tool-bar .tools .tool-icon[data-v-9227dc7a]{border:none}.chapter-wrapper .read-bar[data-v-9227dc7a]{right:0;width:100vw;margin-right:0!important}.chapter-wrapper .read-bar .tools[data-v-9227dc7a]{flex-direction:row;justify-content:space-between;padding:0 15px}.chapter-wrapper .read-bar .tools .tool-icon[data-v-9227dc7a]{border:none;width:auto}.chapter-wrapper .read-bar .tools .tool-icon .iconfont[data-v-9227dc7a]{display:inline-block}.chapter-wrapper .chapter[data-v-9227dc7a]{width:100vw!important;padding:0 20px;box-sizing:border-box}}
diff --git a/app/src/main/assets/web/vue/assets/BookChapter-566ecc84.js b/app/src/main/assets/web/vue/assets/BookChapter-566ecc84.js
new file mode 100644
index 000000000..7169d8e58
--- /dev/null
+++ b/app/src/main/assets/web/vue/assets/BookChapter-566ecc84.js
@@ -0,0 +1 @@
+import{a1 as Ne,n as u,o as p,d as h,g as e,t as z,F as j,N as ee,u as o,a8 as W,z as C,a9 as ze,S as Ve,v as D,e as q,w as H,a2 as He,A as Ae,aa as Je,f as Y,L as le,ab as We,x as qe,ac as xe,p as Ie,i as ke,ad as Te,s as _e,J as ce,Q as Fe,ae as re,af as Ge,k as K,ag as Ze,a6 as Ye,c as Xe,a7 as je}from"./vendor-c5b8afce.js";import{i as $e,g as De,l as et}from"./el-loading-251c5dc2.js";import{_ as de,u as Be,A as ye}from"./index-d119238d.js";const tt={class:"title",wordCount:"0"},ot=["wordCount"],nt=["src"],st=["innerHTML"],at={__name:"ChapterContent",props:{contents:{type:Array,required:!0},title:{type:String,required:!0},spacing:{type:Object,required:!0},fontFamily:{type:String,required:!0},fontSize:{type:String,required:!0}},setup(a){const n=a;Ne(d=>({"67305fe8":n.spacing.letter,"2411f436":n.spacing.line,"5ddade6c":n.spacing.paragraph}));const f=d=>{const I=/
]*src="([^"]*(?:"[^>]+\})?)"[^>]*>/,A=d.match(I)[1];return $e(A)?De(A):A},y=d=>{d.target.src=De(d.target.src)},l=d=>{const I=/
]*src="[^"]*(?:"[^>]+\})?"[^>]*>/g,A=" ";return d.replaceAll(I,A).length},V=u(()=>Array.from(n.contents,d=>l(d)));return(d,I)=>(p(),h(j,null,[e("div",tt,z(a.title),1),(p(!0),h(j,null,ee(a.contents,(A,v)=>(p(),h("div",{key:v,wordCount:o(V)[v]},[/^\s*
]*src[^>]+>$/.test(A)?(p(),h("img",{key:0,class:"full",src:f(A),onErrorOnce:y,loading:"lazy"},null,40,nt)):(p(),h("p",{key:1,style:W({fontFamily:a.fontFamily,fontSize:a.fontSize}),innerHTML:A},null,12,st))],8,ot))),128))],64))}},it=de(at,[["__scopeId","data-v-5ab2f91e"]]);const lt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyAgMAAABjUWAiAA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MYPnQHbxdFZ7deiNGxCCtD/QWnbwDoGhRYPDzUdUA3krjpnkvdAgDN4ddLkEQSov9qjd42HaDjI34gEqS9TUueAk+sc4qg5ws407KQYKs8G1jv4xBlqBVk6cb4dISZIwVi1Jzu4+HLk6lyfUxkXvwy+1Q+4WVdHIhwfybZ6CWVhxMEhShOgsP/HOW0MvZJeFwAAAABJRU5ErkJggg==";var X={themes:[{body:"#ede7da url("+lt+") repeat",content:"#ede7da url("+ct+") repeat",popup:"#ede7da url("+rt+") repeat"},{body:"#ede7da url("+At+") repeat",content:"#ede7da url("+dt+") repeat",popup:"#ede7da url("+ut+") repeat"},{body:"#ede7da url("+gt+") repeat",content:"#ede7da url("+pt+") repeat",popup:"#ede7da url("+ft+") repeat"},{body:"#ede7da url("+ht+") repeat",content:"#ede7da url("+vt+") repeat",popup:"#ede7da url("+mt+") repeat"},{body:"#ebcece repeat",content:"#f5e4e4 repeat",popup:"#faeceb repeat"},{body:"#ede7da url("+Ct+") repeat",content:"#ede7da url("+bt+") repeat",popup:"#ede7da url("+yt+") repeat"},{body:"#ede7da url("+It+") repeat",content:"#ede7da url("+kt+") repeat",popup:"#ede7da url("+Bt+") repeat"}],fonts:["Microsoft YaHei, PingFangSC-Regular, HelveticaNeue-Light, Helvetica Neue Light, sans-serif","PingFangSC-Regular, -apple-system, Simsun","Kaiti"]};const c=a=>(Ie("data-v-7c8b23a7"),a=a(),ke(),a),St=c(()=>e("div",{class:"settings-title"},"设置",-1)),wt={class:"setting-list"},Et={class:"theme-list"},Ut=c(()=>e("i",null,"阅读主题",-1)),Qt=["onClick"],Dt={key:0,class:"iconfont"},Vt={key:1,class:"moon-icon"},xt={class:"font-list"},_t=c(()=>e("i",null,"正文字体",-1)),Ft=["onClick"],Mt={class:"font-list"},Pt=c(()=>e("i",null,"自定字体",-1)),Ot=c(()=>e("p",null," 请确认输入的字体名称完整无误,并且该字体已经安装在您的设备上。 ",-1)),Rt=c(()=>e("p",null,"确定保存吗?",-1)),Kt={style:{"text-align":"right",margin:"0"}},Lt=c(()=>e("span",{type:"text",class:"font-item"},"保存",-1)),Nt={class:"font-size"},zt=c(()=>e("i",null,"字体大小",-1)),Ht={class:"resize"},Jt=c(()=>e("em",{class:"iconfont"},"",-1)),Wt=[Jt],qt=c(()=>e("b",null,null,-1)),Tt={class:"lang"},Gt=c(()=>e("b",null,null,-1)),Zt=c(()=>e("em",{class:"iconfont"},"",-1)),Yt=[Zt],Xt={class:"letter-spacing"},jt=c(()=>e("i",null,"字距",-1)),$t={class:"resize"},eo=c(()=>e("em",{class:"iconfont"},"",-1)),to=[eo],oo=c(()=>e("b",null,null,-1)),no={class:"lang"},so=c(()=>e("b",null,null,-1)),ao=c(()=>e("em",{class:"iconfont"},"",-1)),io=[ao],lo={class:"line-spacing"},co=c(()=>e("i",null,"行距",-1)),ro={class:"resize"},Ao=c(()=>e("em",{class:"iconfont"},"",-1)),uo=[Ao],go=c(()=>e("b",null,null,-1)),po={class:"lang"},fo=c(()=>e("b",null,null,-1)),ho=c(()=>e("em",{class:"iconfont"},"",-1)),vo=[ho],mo={class:"paragraph-spacing"},Co=c(()=>e("i",null,"段距",-1)),bo={class:"resize"},yo={class:"resize"},Io=c(()=>e("em",{class:"iconfont"},"",-1)),ko=[Io],Bo=c(()=>e("b",null,null,-1)),So={class:"lang"},wo=c(()=>e("b",null,null,-1)),Eo=c(()=>e("em",{class:"iconfont"},"",-1)),Uo=[Eo],Qo={key:0,class:"read-width"},Do=c(()=>e("i",null,"页面宽度",-1)),Vo={class:"resize"},xo=c(()=>e("em",{class:"iconfont"},"",-1)),_o=[xo],Fo=c(()=>e("b",null,null,-1)),Mo={class:"lang"},Po=c(()=>e("b",null,null,-1)),Oo=c(()=>e("em",{class:"iconfont"},"",-1)),Ro=[Oo],Ko={class:"infinite-loading"},Lo=c(()=>e("i",null,"无限加载",-1)),No={__name:"ReadSettings",setup(a){const n=Be(),f=C(0),y=C(n.config.theme==6),l=C(""),V=ze([{background:"rgba(250, 245, 235, 0.8)"},{background:"rgba(245, 234, 204, 0.8)"},{background:"rgba(230, 242, 230, 0.8)"},{background:"rgba(228, 241, 245, 0.8)"},{background:"rgba(245, 228, 228, 0.8)"},{background:"rgba(224, 224, 224, 0.8)"},{background:"rgba(0, 0, 0, 0.5)"}]),d=C({display:"inline",color:"rgba(255,255,255,0.2)"}),I=C(["雅黑","宋体","楷书"]),A=C(n.config.customFontName),v=C(!1);Ve(()=>{var k=n.config;f.value=k.theme,f.value==6?l.value="":l.value=""});const i=u(()=>n.config),x=u(()=>({background:X.themes[i.value.theme].popup})),M=u(()=>n.config.theme),E=u(()=>n.config.font),U=k=>{k==6?(y.value=!0,l.value="",d.value.color="#ed4259"):(y.value=!1,l.value="",d.value.color="rgba(255,255,255,0.2)"),i.value.theme=k,w(i.value)},P=k=>{i.value.font=k,w(i.value)},L=()=>{i.value.font=-1,i.value.customFontName=A.value,w(i.value)},N=u(()=>n.config.fontSize),T=()=>{i.value.fontSize<48&&(i.value.fontSize+=2),w(i.value)},r=()=>{i.value.fontSize>12&&(i.value.fontSize-=2),w(i.value)},m=u(()=>n.config.spacing),Z=()=>{n.config.spacing.letter-=.01,w(i.value)},ue=()=>{n.config.spacing.letter+=.01,w(i.value)},ge=()=>{n.config.spacing.line-=.1,w(i.value)},pe=()=>{n.config.spacing.line+=.1,w(i.value)},fe=()=>{n.config.spacing.paragraph-=.1,w(i.value)},te=()=>{n.config.spacing.paragraph+=.1,w(i.value)},he=u(()=>n.config.readWidth),oe=()=>{i.value.readWidth+=160,w(i.value)},ve=()=>{i.value.readWidth>640&&(i.value.readWidth-=160),w(i.value)},ne=u(()=>n.config.infiniteLoading),se=k=>{i.value.infiniteLoading=k,w(i.value)},w=k=>{n.setConfig(k),localStorage.setItem("config",JSON.stringify(k)),ae(k)},ae=k=>{ye.saveReadConfig(k)};return(k,S)=>{const J=We,ie=qe,me=xe;return p(),h("div",{class:D(["settings-wrapper",{night:o(y),day:!o(y)}]),style:W(o(x))},[St,e("div",wt,[e("ul",null,[e("li",Et,[Ut,(p(!0),h(j,null,ee(o(V),(Q,O)=>(p(),h("span",{class:D(["theme-item",{selected:o(M)==O}]),key:O,style:W(Q),ref_for:!0,ref:"themes",onClick:Ce=>U(O)},[O<6?(p(),h("em",Dt,"")):(p(),h("em",Vt,z(o(l)),1))],14,Qt))),128))]),e("li",xt,[_t,(p(!0),h(j,null,ee(o(I),(Q,O)=>(p(),h("span",{class:D(["font-item",{selected:o(E)==O}]),key:O,onClick:Ce=>P(O)},z(Q),11,Ft))),128))]),e("li",Mt,[Pt,q(J,{effect:"dark",content:"自定义的字体名称",placement:"top"},{default:H(()=>[He(e("input",{type:"text",class:"font-item font-item-input","onUpdate:modelValue":S[0]||(S[0]=Q=>Ae(A)?A.value=Q:null),placeholder:"请输入自定义的字体名称"},null,512),[[Je,o(A)]])]),_:1}),q(me,{placement:"top",width:"180",trigger:"click",visible:o(v),"onUpdate:visible":S[3]||(S[3]=Q=>Ae(v)?v.value=Q:null)},{reference:H(()=>[Lt]),default:H(()=>[Ot,Rt,e("div",Kt,[q(ie,{size:"small",plain:"",onClick:S[1]||(S[1]=Q=>v.value=!1)},{default:H(()=>[Y("取消")]),_:1}),q(ie,{type:"primary",size:"small",onClick:S[2]||(S[2]=Q=>{L(),v.value=!1})},{default:H(()=>[Y("确定")]),_:1})])]),_:1},8,["visible"])]),e("li",Nt,[zt,e("div",Ht,[e("span",{class:"less",onClick:r},Wt),qt,Y(),e("span",Tt,z(o(N)),1),Gt,e("span",{class:"more",onClick:T},Yt)])]),e("li",Xt,[jt,e("div",$t,[e("span",{class:"less",onClick:Z},to),oo,Y(),e("span",no,z(o(m).letter.toFixed(2)),1),so,e("span",{class:"more",onClick:ue},io)])]),e("li",lo,[co,e("div",ro,[e("span",{class:"less",onClick:ge},uo),go,Y(),e("span",po,z(o(m).line.toFixed(1)),1),fo,e("span",{class:"more",onClick:pe},vo)])]),e("li",mo,[Co,e("div",bo,[e("div",yo,[e("span",{class:"less",onClick:fe},ko),Bo,e("span",So,z(o(m).paragraph.toFixed(1)),1),wo,e("span",{class:"more",onClick:te},Uo)])])]),o(n).miniInterface?le("",!0):(p(),h("li",Qo,[Do,e("div",Vo,[e("span",{class:"less",onClick:ve},_o),Fo,Y(),e("span",Mo,z(o(he)),1),Po,e("span",{class:"more",onClick:oe},Ro)])])),e("li",Ko,[Lo,(p(),h("span",{class:D(["infinite-loading-item",{selected:o(ne)==!1}]),key:0,onClick:S[4]||(S[4]=Q=>se(!1))},"关闭",2)),(p(),h("span",{class:D(["infinite-loading-item",{selected:o(ne)==!0}]),key:1,onClick:S[5]||(S[5]=Q=>se(!0))},"开启",2))])])])],6)}}},zo=de(No,[["__scopeId","data-v-7c8b23a7"]]),Ho=(a,n,f,y)=>(a/=y/2,a<1?f/2*a*a+n:(a--,-f/2*(a*(a-2)-1)+n)),Jo=()=>{let a,n,f,y,l,V,d,I,A,v,i,x,M;function E(){let r=a.scrollTop||a.scrollY||a.pageYOffset;return r=typeof r>"u"?0:r,r}function U(r){const m=r.getBoundingClientRect().top,Z=a.getBoundingClientRect?a.getBoundingClientRect().top:0;return m-Z+f}function P(r){a.scrollTo?a.scrollTo(0,r):a.scrollTop=r}function L(r){v||(v=r),i=r-v,x=V(i,f,I,A),P(x),i(Ie("data-v-8da315d1"),a=a(),ke(),a),qo=Wo(()=>e("div",{class:"title"},"目录",-1)),To={class:"cata"},Go=["onClick"],Zo={class:"log-text"},Yo={__name:"PopCatalog",emits:["getContent"],setup(a,{emit:n}){const f=Be(),y=C(!1),{index:l}=Te(f.readingBook),{catalog:V,popCataVisible:d}=_e(f),I=u(()=>f.config.theme),A=u(()=>({background:X.themes[I.value].popup}));ce(()=>{y.value=I.value==6});const v=C(),i=C();Fe(d,()=>{re(()=>{let E=i.value;G(v.value[l.value],{container:E,duration:0})})});const x=E=>E==l.value,M=E=>{l.value=V.value.indexOf(E),f.setPopCataVisible(!1),f.setContentLoading(!0),n("getContent",l.value)};return(E,U)=>(p(),h("div",{class:"cata-wrapper",style:W(o(A))},[qo,e("div",{class:D(["data-wrapper",{night:o(y),day:!o(y)}]),ref_key:"cataData",ref:i},[e("div",To,[(p(!0),h(j,null,ee(o(V),(P,L)=>(p(),h("div",{class:D(["log",{selected:x(L)}]),key:P.durChapterIndex,onClick:N=>M(P),ref_for:!0,ref_key:"cata",ref:v},[e("div",Zo,z(P.title),1)],10,Go))),128))])],2)],4))}},Xo=de(Yo,[["__scopeId","data-v-8da315d1"]]);const F=a=>(Ie("data-v-9227dc7a"),a=a(),ke(),a),jo={class:"tools"},$o=F(()=>e("div",{class:"iconfont"},"",-1)),en=F(()=>e("div",{class:"icon-text"},"目录",-1)),tn=[$o,en],on=F(()=>e("div",{class:"iconfont"},"",-1)),nn=F(()=>e("div",{class:"icon-text"},"设置",-1)),sn=[on,nn],an=F(()=>e("div",{class:"iconfont"},"",-1)),ln=F(()=>e("div",{class:"icon-text"},"书架",-1)),cn=[an,ln],rn=F(()=>e("div",{class:"iconfont"},"",-1)),An=F(()=>e("div",{class:"icon-text"},"顶部",-1)),dn=[rn,An],un=F(()=>e("div",{class:"iconfont"},"",-1)),gn=F(()=>e("div",{class:"icon-text"},"底部",-1)),pn=[un,gn],fn={class:"tools"},hn=F(()=>e("div",{class:"iconfont"},"",-1)),vn={key:0},mn={key:0},Cn=F(()=>e("div",{class:"iconfont"},"",-1)),bn=F(()=>e("div",{class:"chapter-bar"},null,-1)),yn={class:"content"},In=["chapterIndex"],kn={__name:"BookChapter",setup(a){const n=C(!1),f=C(null),y=C();Fe(n,t=>{var s;if(!t)return(s=f.value)==null?void 0:s.close();f.value=je.service({target:y.value,spinner:et,text:"正在获取信息",lock:!0})});const l=Be();try{const t=JSON.parse(localStorage.getItem("config"));t!=null&&l.setConfig(t)}catch{localStorage.removeItem("config")}const V=C(),d=C(!0),I=C(!1),A=C([]),v=C(null),i=C(null),{catalog:x,popCataVisible:M,readSettingsVisible:E,miniInterface:U,showContent:P,config:L,readingBook:N}=_e(l),T=u({get:()=>N.value.chapterPos,set:t=>N.value.chapterPos=t}),r=u({get:()=>N.value.index,set:t=>N.value.index=t}),m=u(()=>L.value.theme),Z=u(()=>L.value.infiniteLoading),ue=u(()=>l.config.font>=0?X.fonts[l.config.font]:l.config.customFontName),ge=u(()=>l.config.fontSize+"px"),pe=u(()=>X.themes[m.value].body),fe=u(()=>X.themes[m.value].content),te=u(()=>X.themes[m.value].popup),he=u(()=>U.value?window.innerWidth+"px":l.config.readWidth-130+"px"),oe=u(()=>U.value?window.innerWidth-33:l.config.readWidth-33),ve=u(()=>({background:pe.value})),ne=u(()=>({background:fe.value,width:he.value})),se=u(()=>({background:te.value,marginLeft:U.value?0:-(l.config.readWidth/2+68)+"px",display:U.value&&!I.value?"none":"block"})),w=u(()=>({background:te.value,marginRight:U.value?0:-(l.config.readWidth/2+52)+"px",display:U.value&&!I.value?"none":"block"})),ae=u(()=>m.value==6);ce(()=>{A.value.length>0&&(l.setContentLoading(!1),Ke())}),ce(()=>{var t;document.title=((t=x.value[r.value])==null?void 0:t.title)||document.title,l.saveBookProcess()}),ce(()=>{var t,s;Z.value?(s=v.value)==null||s.observe(V.value):(t=v.value)==null||t.disconnect()});const k=C(),S=(t,s=!0,b=0)=>{s&&(l.setShowContent(!1),n.value=!0,G(k.value,{duration:0}),Ee(t,b));let B=sessionStorage.getItem("bookUrl"),{title:_,index:R}=x.value[t];ye.getBookContent(B,R).then(g=>{if(g.data.isSuccess){let Le=g.data.data.split(/\n+/);be({index:t,content:Le,title:_},s),s&&ie(b)}else{K({message:g.data.errorMsg,type:"error"});let $=[g.data.errorMsg];be({index:t,content:$,title:_},s)}if(l.setContentLoading(!0),n.value=!1,d.value=!1,l.setShowContent(!0),!g.data.isSuccess)throw g.data},g=>{throw K({message:"获取章节内容失败",type:"error"}),be({index:t,content:["获取章节内容失败!"],title:_},s),n.value=!1,l.setShowContent(!0),g})},J=C(),ie=t=>{re(()=>{let s=0;if(J.value.length==1){for(let b of J.value[0].children)if(s+=parseInt(b.getAttribute("wordCount"))+1,s-1>=t){G(b,{duration:0});break}}})},me=()=>{if(J.value.length==0)return;let t=J.value.find(b=>b.getAttribute("chapterIndex")==r.value);if(!t)return;let s=0;for(let b of t.children)if(s+=parseInt(b.getAttribute("wordCount"))+1,b.getBoundingClientRect().top>=0){T.value=s-1;break}},Q=C(),O=()=>{G(k.value)},Ce=()=>{G(Q.value)},Se=()=>{l.setContentLoading(!0);let t=r.value+1;typeof x.value[t]<"u"?(K({message:"下一章",type:"info"}),S(t)):K({message:"本章是最后一章",type:"error"})},we=()=>{l.setContentLoading(!0);let t=r.value-1;typeof x.value[t]<"u"?(K({message:"上一章",type:"info"}),S(t)):K({message:"本章是第一章",type:"error"})},Ee=(t,s=T.value)=>{let b=sessionStorage.getItem("bookUrl");var B=JSON.parse(localStorage.getItem(b));B.index=t,B.chapterPos=s,localStorage.setItem(b,JSON.stringify(B)),B=JSON.parse(localStorage.getItem("readingRecent")),B.chapterIndex=t,B.chapterPos=s,localStorage.setItem("readingRecent",JSON.stringify(B)),r.value=t,T.value=s,sessionStorage.setItem("chapterIndex",t),sessionStorage.setItem("chapterPos",String(s))},be=async(t,s)=>{s&&A.value.splice(0),A.value.push(t)},Me=()=>{let t=A.value.slice(-1)[0].index;x.value.length-1>t&&S(t+1,!1)},Pe=Ye(),Ue=()=>{Pe.push("/")},Qe=t=>{switch(t.key){case"ArrowLeft":t.stopPropagation(),t.preventDefault(),we();break;case"ArrowRight":t.stopPropagation(),t.preventDefault(),Se();break;case"ArrowUp":t.stopPropagation(),t.preventDefault(),document.documentElement.scrollTop===0?K({message:"已到达页面顶部",type:"warn"}):G(0-document.documentElement.clientHeight+100);break;case"ArrowDown":t.stopPropagation(),t.preventDefault(),document.documentElement.clientHeight+document.documentElement.scrollTop===document.documentElement.scrollHeight?K({message:"已到达页面底部",type:"warn"}):G(document.documentElement.clientHeight-100);break}},Oe=t=>{if(!n.value)for(let{isIntersecting:s}of t){if(!s)return;Me()}},Re=t=>{re(()=>{for(let{isIntersecting:s,target:b,boundingClientRect:B}of t){let _=parseInt(b.getAttribute("chapterIndex"));s?r.value=_:B.top<0?r.value=_+1:r.value=_-1}})},Ke=()=>{re(()=>{let t=J.value;t&&t.forEach(s=>i.value.observe(s))})};return Ge((t,s,b)=>{me(),Ee(r.value),b()}),Ve(()=>{n.value=!0;let t=sessionStorage.getItem("bookUrl"),s=sessionStorage.getItem("bookName"),b=sessionStorage.getItem("bookAuthor"),B=Number(sessionStorage.getItem("chapterIndex")||0),_=Number(sessionStorage.getItem("chapterPos")||0);var R=JSON.parse(localStorage.getItem(t));(R==null||B!=R.index||_!=R.chapterPos)&&(R={bookName:s,bookAuthor:b,bookUrl:t,index:B,chapterPos:_},localStorage.setItem(t,JSON.stringify(R))),ye.getChapterList(t).then(g=>{if(n.value=!1,!g.data.isSuccess){K({message:g.data.errorMsg,type:"error"}),setTimeout(Ue,500);return}let $=g.data.data;l.setCatalog($),l.setReadingBook(R),S(B,!0,_),window.addEventListener("keyup",Qe),v.value=new IntersectionObserver(Oe,{rootMargin:"-100% 0% 20% 0%"}),Z.value&&v.value.observe(V.value),i.value=new IntersectionObserver(Re),document.title=null,document.title=s+" | "+x.value[B].title},g=>{throw n.value=!1,K({message:"获取书籍目录失败",type:"error"}),g})}),Ze(()=>{var t,s;window.removeEventListener("keyup",Qe),E.value=!1,M.value=!1,(t=v.value)==null||t.disconnect(),(s=i.value)==null||s.disconnect()}),(t,s)=>{const b=Xo,B=xe,_=zo,R=it;return p(),h("div",{class:D(["chapter-wrapper",{night:o(ae),day:!o(ae)}]),style:W(o(ve)),onClick:s[2]||(s[2]=g=>I.value=!o(I))},[e("div",{class:"tool-bar",style:W(o(se))},[e("div",jo,[q(B,{placement:"right",width:o(oe),trigger:"click","show-arrow":!1,visible:o(M),"onUpdate:visible":s[0]||(s[0]=g=>Ae(M)?M.value=g:null),"popper-class":"pop-cata"},{reference:H(()=>[e("div",{class:D(["tool-icon",{"no-point":o(d)}])},tn,2)]),default:H(()=>[q(b,{onGetContent:S,class:"popup"})]),_:1},8,["width","visible"]),q(B,{placement:"right",width:o(oe),trigger:"click","show-arrow":!1,visible:o(E),"onUpdate:visible":s[1]||(s[1]=g=>Ae(E)?E.value=g:null),"popper-class":"pop-setting"},{reference:H(()=>[e("div",{class:D(["tool-icon",{"no-point":o(d)}])},sn,2)]),default:H(()=>[q(_,{class:"popup"})]),_:1},8,["width","visible"]),e("div",{class:"tool-icon",onClick:Ue},cn),e("div",{class:D(["tool-icon",{"no-point":o(d)}]),onClick:O},dn,2),e("div",{class:D(["tool-icon",{"no-point":o(d)}]),onClick:Ce},pn,2)])],4),e("div",{class:"read-bar",style:W(o(w))},[e("div",fn,[e("div",{class:D(["tool-icon",{"no-point":o(d)}]),onClick:we},[hn,o(U)?(p(),h("span",vn,"上一章")):le("",!0)],2),e("div",{class:D(["tool-icon",{"no-point":o(d)}]),onClick:Se},[o(U)?(p(),h("span",mn,"下一章")):le("",!0),Cn],2)])],4),bn,e("div",{class:"chapter",ref_key:"content",ref:y,style:W(o(ne))},[e("div",yn,[e("div",{class:"top-bar",ref_key:"top",ref:k},null,512),(p(!0),h(j,null,ee(o(A),g=>(p(),h("div",{key:g.index,chapterIndex:g.index,ref_for:!0,ref_key:"chapter",ref:J},[o(P)?(p(),Xe(R,{key:0,contents:g.content,title:g.title,spacing:o(l).config.spacing,fontSize:o(ge),fontFamily:o(ue)},null,8,["contents","title","spacing","fontSize","fontFamily"])):le("",!0)],8,In))),128)),e("div",{class:"loading",ref_key:"loading",ref:V},null,512),e("div",{class:"bottom-bar",ref_key:"bottom",ref:Q},null,512)])],4)],6)}}},En=de(kn,[["__scopeId","data-v-9227dc7a"]]);export{En as default};
diff --git a/app/src/main/assets/web/vue/assets/BookChapter-b5149bbe.css b/app/src/main/assets/web/vue/assets/BookChapter-b5149bbe.css
new file mode 100644
index 000000000..1269ef495
--- /dev/null
+++ b/app/src/main/assets/web/vue/assets/BookChapter-b5149bbe.css
@@ -0,0 +1 @@
+@charset "UTF-8";.title[data-v-5ab2f91e]{margin-bottom:57px;font:24px/32px PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,Microsoft YaHei,sans-serif}p[data-v-5ab2f91e]{display:block;word-wrap:break-word;word-break:break-all;letter-spacing:calc(var(--67305fe8) * 1em);line-height:calc(1 + var(--2411f436));margin:calc(var(--5ddade6c) * 1em) 0}p[data-v-5ab2f91e] img{height:1em}.full[data-v-5ab2f91e]{display:block;width:100%}.el-popover{--el-popover-bg-color:var(--el-bg-color-overlay);--el-popover-font-size:var(--el-font-size-base);--el-popover-border-color:var(--el-border-color-lighter);--el-popover-padding:12px;--el-popover-padding-large:18px 20px;--el-popover-title-font-size:16px;--el-popover-title-text-color:var(--el-text-color-primary);--el-popover-border-radius:4px}.el-popover.el-popper{background:var(--el-popover-bg-color);min-width:150px;border-radius:var(--el-popover-border-radius);border:1px solid var(--el-popover-border-color);padding:var(--el-popover-padding);z-index:var(--el-index-popper);color:var(--el-text-color-regular);line-height:1.4;text-align:justify;font-size:var(--el-popover-font-size);box-shadow:var(--el-box-shadow-light);word-break:break-all;box-sizing:border-box}.el-popover.el-popper--plain{padding:var(--el-popover-padding-large)}.el-popover__title{color:var(--el-popover-title-text-color);font-size:var(--el-popover-title-font-size);line-height:1;margin-bottom:12px}.el-popover__reference:focus:hover,.el-popover__reference:focus:not(.focusing){outline-width:0}.el-popover.el-popper.is-dark{--el-popover-bg-color:var(--el-text-color-primary);--el-popover-border-color:var(--el-text-color-primary);--el-popover-title-text-color:var(--el-bg-color);color:var(--el-bg-color)}.el-popover.el-popper:focus,.el-popover.el-popper:focus:active{outline-width:0}@font-face{font-family:FZZCYSK;src:local("\263a"),url(./popfont-a80d6a88.ttf);font-style:normal;font-weight:400}@font-face{font-family:iconfont;src:url(./iconfont-9aaccea3.woff) format("woff")}[data-v-7c8b23a7] .iconfont,[data-v-7c8b23a7] .moon-icon{font-family:iconfont;font-style:normal}.settings-wrapper[data-v-7c8b23a7]{user-select:none;margin:-13px;text-align:left;padding:40px 0 40px 24px;background:#ede7da url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyBAMAAADsEZWCAAAAD1BMVEX48dr48Nf58tv379X17NJtIBxUAAACFUlEQVQ4y1XRUZakMAgF0Af2AiDWApDZgHZqAV1nZv9rGh7Rj7Y8McUFEg1wvcMESMNVD/neU8Xcaz7nYYkYlYO6Ti82PBI4BvIEg1aj3wKwRvIMgZsUy5LdhCawPFh1sZs4SrlyN9fQKpv8s5dgZ2eLyqqJiu+WkCmUEybXkm3INS01WAiv0PapJ0CZc0SJQUzcWnZYbOOY20iFD8Bk+/j2A3wNxH7GdShFYS5ff237kXh9I9zSkQmIAhOsOSVfJ6DIXTMDaPnzkRJ92S1BQQmXl5LdirgRLLDdcYqcGPwe3QN4xCBiGNbrqq9wpW1XCecChwaQdVOsRDpPCpeoolPdxeXp3WNB9PHVzWBHlygy4NJCCrFHREv6bDt0VGwJZASkpONmm1UseGeFKAQexgaAkrfYWl3AGxWOLL2AIMBNbCXpktmS3k3vHeYjGCPBa43wJTurO3ZFVpQSJdAZGLoHTyk1upkjxMEaIxum3iIARcCa5kSkFAW5fi1mUlL9eyOsaanFmOMruwvEdE3ZYzsRSzo5ewRLXyVPPEvknt8ij4DvCg2O7xOgBCUprEzV4z1WekSpUgI8DT2mrnSOXKRfQavwuKA1F+tFnMKdJSUpMA7wQAifWRkMgjUKKZE4lBl6MCM4B1pq1P4uIjDE6Pq6rL0FnW1nIFmta5vrSvq/Ch4tpqG/ZNyyWa5jZPktq81eYv8Bt5s4iFITOp4AAAAASUVORK5CYII=) repeat}.settings-wrapper .settings-title[data-v-7c8b23a7]{font-size:18px;line-height:22px;margin-bottom:28px;font-family:FZZCYSK;font-weight:400}.settings-wrapper .setting-list[data-v-7c8b23a7]{max-height:calc(70vh - 50px);overflow:auto}.settings-wrapper .setting-list ul[data-v-7c8b23a7]{list-style:none outside none;margin:0;padding:0}.settings-wrapper .setting-list ul li[data-v-7c8b23a7]{list-style:none outside none}.settings-wrapper .setting-list ul li i[data-v-7c8b23a7]{font:12px/16px PingFangSC-Regular,-apple-system,Simsun;display:inline-block;min-width:48px;margin-right:16px;vertical-align:middle;color:#666}.settings-wrapper .setting-list ul li .theme-item[data-v-7c8b23a7]{line-height:32px;width:34px;height:34px;margin-right:16px;margin-top:5px;border-radius:100%;display:inline-block;cursor:pointer;text-align:center;vertical-align:middle}.settings-wrapper .setting-list ul li .theme-item .iconfont[data-v-7c8b23a7]{display:none}.settings-wrapper .setting-list ul li .selected[data-v-7c8b23a7]{color:#ed4259}.settings-wrapper .setting-list ul li .selected .iconfont[data-v-7c8b23a7]{display:inline}.settings-wrapper .setting-list ul .font-list[data-v-7c8b23a7],.settings-wrapper .setting-list ul .infinite-loading[data-v-7c8b23a7]{margin-top:28px}.settings-wrapper .setting-list ul .font-list .font-item[data-v-7c8b23a7],.settings-wrapper .setting-list ul .font-list .infinite-loading-item[data-v-7c8b23a7],.settings-wrapper .setting-list ul .infinite-loading .font-item[data-v-7c8b23a7],.settings-wrapper .setting-list ul .infinite-loading .infinite-loading-item[data-v-7c8b23a7]{width:78px;height:34px;cursor:pointer;margin-right:16px;border-radius:2px;text-align:center;vertical-align:middle;display:inline-block;font:14px/34px PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,Microsoft YaHei,sans-serif}.settings-wrapper .setting-list ul .font-list .font-item-input[data-v-7c8b23a7],.settings-wrapper .setting-list ul .infinite-loading .font-item-input[data-v-7c8b23a7]{width:168px;color:#000}.settings-wrapper .setting-list ul .font-list .selected[data-v-7c8b23a7],.settings-wrapper .setting-list ul .infinite-loading .selected[data-v-7c8b23a7]{color:#ed4259;border:1px solid #ed4259}.settings-wrapper .setting-list ul .font-list .font-item[data-v-7c8b23a7]:hover,.settings-wrapper .setting-list ul .font-list .infinite-loading-item[data-v-7c8b23a7]:hover,.settings-wrapper .setting-list ul .infinite-loading .font-item[data-v-7c8b23a7]:hover,.settings-wrapper .setting-list ul .infinite-loading .infinite-loading-item[data-v-7c8b23a7]:hover{border:1px solid #ed4259;color:#ed4259}.settings-wrapper .setting-list ul .font-size[data-v-7c8b23a7],.settings-wrapper .setting-list ul .read-width[data-v-7c8b23a7],.settings-wrapper .setting-list ul .letter-spacing[data-v-7c8b23a7],.settings-wrapper .setting-list ul .line-spacing[data-v-7c8b23a7],.settings-wrapper .setting-list ul .paragraph-spacing[data-v-7c8b23a7]{margin-top:28px}.settings-wrapper .setting-list ul .font-size .resize[data-v-7c8b23a7],.settings-wrapper .setting-list ul .read-width .resize[data-v-7c8b23a7],.settings-wrapper .setting-list ul .letter-spacing .resize[data-v-7c8b23a7],.settings-wrapper .setting-list ul .line-spacing .resize[data-v-7c8b23a7],.settings-wrapper .setting-list ul .paragraph-spacing .resize[data-v-7c8b23a7]{display:inline-block;width:274px;height:34px;vertical-align:middle;border-radius:2px}.settings-wrapper .setting-list ul .font-size .resize span[data-v-7c8b23a7],.settings-wrapper .setting-list ul .read-width .resize span[data-v-7c8b23a7],.settings-wrapper .setting-list ul .letter-spacing .resize span[data-v-7c8b23a7],.settings-wrapper .setting-list ul .line-spacing .resize span[data-v-7c8b23a7],.settings-wrapper .setting-list ul .paragraph-spacing .resize span[data-v-7c8b23a7]{width:89px;height:34px;line-height:34px;display:inline-block;cursor:pointer;text-align:center;vertical-align:middle}.settings-wrapper .setting-list ul .font-size .resize span em[data-v-7c8b23a7],.settings-wrapper .setting-list ul .read-width .resize span em[data-v-7c8b23a7],.settings-wrapper .setting-list ul .letter-spacing .resize span em[data-v-7c8b23a7],.settings-wrapper .setting-list ul .line-spacing .resize span em[data-v-7c8b23a7],.settings-wrapper .setting-list ul .paragraph-spacing .resize span em[data-v-7c8b23a7]{font-style:normal}.settings-wrapper .setting-list ul .font-size .resize .less[data-v-7c8b23a7]:hover,.settings-wrapper .setting-list ul .font-size .resize .more[data-v-7c8b23a7]:hover,.settings-wrapper .setting-list ul .read-width .resize .less[data-v-7c8b23a7]:hover,.settings-wrapper .setting-list ul .read-width .resize .more[data-v-7c8b23a7]:hover,.settings-wrapper .setting-list ul .letter-spacing .resize .less[data-v-7c8b23a7]:hover,.settings-wrapper .setting-list ul .letter-spacing .resize .more[data-v-7c8b23a7]:hover,.settings-wrapper .setting-list ul .line-spacing .resize .less[data-v-7c8b23a7]:hover,.settings-wrapper .setting-list ul .line-spacing .resize .more[data-v-7c8b23a7]:hover,.settings-wrapper .setting-list ul .paragraph-spacing .resize .less[data-v-7c8b23a7]:hover,.settings-wrapper .setting-list ul .paragraph-spacing .resize .more[data-v-7c8b23a7]:hover{color:#ed4259}.settings-wrapper .setting-list ul .font-size .resize .lang[data-v-7c8b23a7],.settings-wrapper .setting-list ul .read-width .resize .lang[data-v-7c8b23a7],.settings-wrapper .setting-list ul .letter-spacing .resize .lang[data-v-7c8b23a7],.settings-wrapper .setting-list ul .line-spacing .resize .lang[data-v-7c8b23a7],.settings-wrapper .setting-list ul .paragraph-spacing .resize .lang[data-v-7c8b23a7]{color:#a6a6a6;font-weight:400;font-family:FZZCYSK}.settings-wrapper .setting-list ul .font-size .resize b[data-v-7c8b23a7],.settings-wrapper .setting-list ul .read-width .resize b[data-v-7c8b23a7],.settings-wrapper .setting-list ul .letter-spacing .resize b[data-v-7c8b23a7],.settings-wrapper .setting-list ul .line-spacing .resize b[data-v-7c8b23a7],.settings-wrapper .setting-list ul .paragraph-spacing .resize b[data-v-7c8b23a7]{display:inline-block;height:20px;vertical-align:middle}.night[data-v-7c8b23a7] .theme-item,.night[data-v-7c8b23a7] .selected{border:1px solid #666}.night[data-v-7c8b23a7] .moon-icon{color:#ed4259}.night[data-v-7c8b23a7] .font-list .font-item,.night[data-v-7c8b23a7] .font-list .infinite-loading-item,.night .infinite-loading .font-item[data-v-7c8b23a7],.night .infinite-loading .infinite-loading-item[data-v-7c8b23a7],.night[data-v-7c8b23a7] .resize{border:1px solid #666;background:rgba(45,45,45,.5)}.night[data-v-7c8b23a7] .resize b{border-right:1px solid #666}.day[data-v-7c8b23a7] .theme-item{border:1px solid #e5e5e5}.day[data-v-7c8b23a7] .selected{border:1px solid #ed4259}.day[data-v-7c8b23a7] .moon-icon{display:inline;color:#fff3}.day[data-v-7c8b23a7] .font-list .font-item,.day[data-v-7c8b23a7] .font-list .infinite-loading-item,.day .infinite-loading .font-item[data-v-7c8b23a7],.day .infinite-loading .infinite-loading-item[data-v-7c8b23a7]{background:rgba(255,255,255,.5);border:1px solid rgba(0,0,0,.1)}.day[data-v-7c8b23a7] .resize{border:1px solid #e5e5e5;background:rgba(255,255,255,.5)}.day[data-v-7c8b23a7] .resize b{border-right:1px solid #e5e5e5}@media screen and (max-width: 500px){.settings-wrapper i[data-v-7c8b23a7]{display:flex!important;flex-wrap:wrap;padding-bottom:5px!important}}.cata-wrapper[data-v-8da315d1]{margin:-16px;padding:18px 0 24px 25px}.cata-wrapper .title[data-v-8da315d1]{font-size:18px;font-weight:400;font-family:FZZCYSK;margin:0 0 20px;color:#ed4259;width:fit-content;border-bottom:1px solid #ed4259}.cata-wrapper .data-wrapper[data-v-8da315d1]{height:300px;overflow:auto}.cata-wrapper .data-wrapper .cata[data-v-8da315d1]{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}.cata-wrapper .data-wrapper .cata .selected[data-v-8da315d1]{color:#eb4259}.cata-wrapper .data-wrapper .cata .log[data-v-8da315d1]{width:50%;height:40px;cursor:pointer;float:left;font:16px/40px PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,Microsoft YaHei,sans-serif}.cata-wrapper .data-wrapper .cata .log .log-text[data-v-8da315d1]{margin-right:26px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.cata-wrapper .night[data-v-8da315d1] .log{border-bottom:1px solid #666}.cata-wrapper .day[data-v-8da315d1] .log{border-bottom:1px solid #f2f2f2}@media screen and (max-width: 500px){.cata-wrapper .data-wrapper .cata .log[data-v-8da315d1]{width:100%}}[data-v-9227dc7a] .pop-setting{margin-left:68px;top:0}[data-v-9227dc7a] .pop-cata{margin-left:10px}.chapter-wrapper[data-v-9227dc7a]{padding:0 4%;flex-direction:column;align-items:center}.chapter-wrapper[data-v-9227dc7a] .no-point{pointer-events:none}.chapter-wrapper .tool-bar[data-v-9227dc7a]{position:fixed;top:0;left:50%;z-index:100}.chapter-wrapper .tool-bar .tools[data-v-9227dc7a]{display:flex;flex-direction:column}.chapter-wrapper .tool-bar .tools .tool-icon[data-v-9227dc7a]{font-size:18px;width:58px;height:48px;text-align:center;padding-top:12px;cursor:pointer;outline:none}.chapter-wrapper .tool-bar .tools .tool-icon .iconfont[data-v-9227dc7a]{font-family:iconfont;width:16px;height:16px;font-size:16px;margin:0 auto 6px}.chapter-wrapper .tool-bar .tools .tool-icon .icon-text[data-v-9227dc7a]{font-size:12px}.chapter-wrapper .read-bar[data-v-9227dc7a]{position:fixed;bottom:0;right:50%;z-index:100}.chapter-wrapper .read-bar .tools[data-v-9227dc7a]{display:flex;flex-direction:column}.chapter-wrapper .read-bar .tools .tool-icon[data-v-9227dc7a]{font-size:18px;width:42px;height:31px;padding-top:12px;text-align:center;align-items:center;cursor:pointer;outline:none;margin-top:-1px}.chapter-wrapper .read-bar .tools .tool-icon .iconfont[data-v-9227dc7a]{font-family:iconfont;width:16px;height:16px;font-size:16px;margin:0 auto 6px}.chapter-wrapper .chapter[data-v-9227dc7a]{font-family:Microsoft YaHei,PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,sans-serif;text-align:left;padding:0 65px;min-height:100vh;width:670px;margin:0 auto}.chapter-wrapper .chapter[data-v-9227dc7a] .el-loading-mask{background-color:#0000}.chapter-wrapper .chapter[data-v-9227dc7a] .el-loading-spinner{font-size:36px;color:#b5b5b5}.chapter-wrapper .chapter[data-v-9227dc7a] .el-loading-text{font-weight:500;color:#b5b5b5}.chapter-wrapper .chapter .content[data-v-9227dc7a]{overflow:hidden;font-size:18px;line-height:1.8;font-family:Microsoft YaHei,PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,sans-serif}.chapter-wrapper .chapter .content .bottom-bar[data-v-9227dc7a],.chapter-wrapper .chapter .content .top-bar[data-v-9227dc7a]{height:64px}.day[data-v-9227dc7a] .popup{box-shadow:0 2px 4px #0000001f,0 0 6px #0000000a}.day[data-v-9227dc7a] .tool-icon{border:1px solid rgba(0,0,0,.1);margin-top:-1px;color:#000}.day[data-v-9227dc7a] .tool-icon .icon-text{color:#0006}.day[data-v-9227dc7a] .chapter{border:1px solid #d8d8d8;color:#262626}.night[data-v-9227dc7a] .popup{box-shadow:0 2px 4px #0000007a,0 0 6px #00000029}.night[data-v-9227dc7a] .tool-icon{border:1px solid #444;margin-top:-1px;color:#666}.night[data-v-9227dc7a] .tool-icon .icon-text{color:#666}.night[data-v-9227dc7a] .chapter{border:1px solid #444;color:#666}.night[data-v-9227dc7a] .popper__arrow{background:#666}@media screen and (max-width: 750px){.chapter-wrapper[data-v-9227dc7a]{padding:0}.chapter-wrapper .tool-bar[data-v-9227dc7a]{left:0;width:100vw;margin-left:0!important}.chapter-wrapper .tool-bar .tools[data-v-9227dc7a]{flex-direction:row;justify-content:space-between}.chapter-wrapper .tool-bar .tools .tool-icon[data-v-9227dc7a]{border:none}.chapter-wrapper .read-bar[data-v-9227dc7a]{right:0;width:100vw;margin-right:0!important}.chapter-wrapper .read-bar .tools[data-v-9227dc7a]{flex-direction:row;justify-content:space-between;padding:0 15px}.chapter-wrapper .read-bar .tools .tool-icon[data-v-9227dc7a]{border:none;width:auto}.chapter-wrapper .read-bar .tools .tool-icon .iconfont[data-v-9227dc7a]{display:inline-block}.chapter-wrapper .chapter[data-v-9227dc7a]{width:100vw!important;padding:0 20px;box-sizing:border-box}}
diff --git a/app/src/main/assets/web/vue/assets/BookShelf-f4d6b807.js b/app/src/main/assets/web/vue/assets/BookShelf-e2adeb89.js
similarity index 98%
rename from app/src/main/assets/web/vue/assets/BookShelf-f4d6b807.js
rename to app/src/main/assets/web/vue/assets/BookShelf-e2adeb89.js
index ad68a0646..00d9bb2db 100644
--- a/app/src/main/assets/web/vue/assets/BookShelf-f4d6b807.js
+++ b/app/src/main/assets/web/vue/assets/BookShelf-e2adeb89.js
@@ -1 +1 @@
-import{a1 as U,n as $,o as g,d as m,g as e,F as V,N as P,t as d,a2 as B,a3 as S,c as q,w as z,f as M,u as o,a4 as G,a5 as D,p as L,i as W,s as X,z as _,Q as j,J,S as ee,k,e as x,A as te,K as se,v as N,a6 as ae,H as oe,B as ce,a7 as ne}from"./vendor-c5b8afce.js";import{d as re,l as ie}from"./el-loading-2ebec0d5.js";import{_ as H,u as le,A as E}from"./index-4666671d.js";const Z=c=>(L("data-v-fd33c3e8"),c=c(),W(),c),de={class:"books-wrapper"},ue={class:"wrapper"},he=["onClick"],pe={class:"cover-img"},ve=["src"],_e={class:"info"},ge={class:"name"},me={class:"sub"},fe={class:"author"},we={class:"tags"},Ae={class:"update-info"},Ie=Z(()=>e("div",{class:"dot"},"•",-1)),Be={class:"size"},Se=Z(()=>e("div",{class:"dot"},"•",-1)),ke={class:"date"},xe={class:"last-chapter"},ye={__name:"BookItems",props:["books","isSearch"],emits:["bookClick"],setup(c,{emit:r}){const y=c;U(s=>({"036742a7":o(f)}));const C=s=>r("bookClick",G(s)),R=s=>/^data:/.test(s)?s:location.origin+"/cover?path="+encodeURIComponent(s),f=$(()=>y.isSearch?"space-between":"flex-start");return(s,h)=>{const w=D;return g(),m("div",de,[e("div",ue,[(g(!0),m(V,null,P(c.books,n=>{var l;return g(),m("div",{class:"book",key:n.bookUrl,onClick:i=>C(n)},[e("div",pe,[(g(),m("img",{class:"cover",src:R(n.coverUrl),key:n.coverUrl,alt:"",loading:"lazy"},null,8,ve))]),e("div",_e,[e("div",ge,d(n.name),1),e("div",me,[e("div",fe,d(n.author),1),B(e("div",we,[(g(!0),m(V,null,P((l=n.kind)==null?void 0:l.split(",").slice(0,2),i=>(g(),q(w,{key:i},{default:z(()=>[M(d(i),1)]),_:2},1024))),128))],512),[[S,c.isSearch]]),B(e("div",Ae,[Ie,e("div",Be,"共"+d(n.totalChapterNum)+"章",1),Se,e("div",ke,d(o(re)(n.lastCheckTime)),1)],512),[[S,!c.isSearch]])]),B(e("div",{class:"intro"},d(n.intro),513),[[S,c.isSearch]]),B(e("div",{class:"dur-chapter"}," 已读:"+d(n.durChapterTitle),513),[[S,!c.isSearch]]),e("div",xe,"最新:"+d(n.latestChapterTitle),1)])],8,he)}),128))])])}}},Ce=H(ye,[["__scopeId","data-v-fd33c3e8"]]);const Re="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAECUlEQVRYR7WXTYhcRRDHq3pY9yKrYBQ8KBsjgvHgwRhiQBTjYZm4Xe8NusawhwS/o9GLoKhgBGPAgJd1NdGIXwtZTbRf9Rqzl6gHTVyDeIkIgnEOghAM6oKHzTJd0sO8Zaa338zb7NjwmJn++Ndv+lVVVyOsoM3Ozl69sLBAiHiDc26NUuoKv9w5d14p9aeI/DI4OMgjIyN/lJXFMhOttQ8BgBaR0TLzEXEGAKzW+lCv+V0BmLmGiLtF5M5eQrFxRPxaRCaI6LOi9YUAzPwGADxxMYYjayaJ6MkoZKyTmU8AwF19Mp7LfElEW0LNZTvAzIcBYFufjedy00T0QLt2B4AxZo9S6qX/yXhT1jn3cpqme3IbSwDM/DgAvNlu3Dm3Uyl1HAA2IOJ2EdleEu5Io9H4EBHPVCqVLSISRsMuInrLazUBpqamhoaGhr4TkRsDgLVpmtbzPmPMLQBwOwD4vvzxw8P5IyJztVrtVL4my7L1iPhTx7Yj/jw/P79pfHx8vgmQZdkLiPhK+O8GBgauqVarv5f819FpxpjLlVJ/hYMi8mKSJHubAMz8KwBcF1EYI6IjqwRIlFImonGWiNZhlmVVRDxWYGTVAMx8HwB8EtMXka1orT0gIo9GJrxNRLH+FW8IMx8EgEeW5QDEgx5gTkQ2Bk7yr9b60hVb6rKAmc8BwJWBne+x4P3XiWhtPwGstV9FzpSzHuBvALgsMHaaiDp2ZbUwWZZNIuKuQOcfD7AAAJeEcaq1Xr9ao+3rmdknnscCzQse4LdWEukYazQaa2q12vl+QTDztwCwOdCr+zA8iYi3RQwREdl+ADDz9QDwIwB0OLaInPJRcEhEHoyEyAmt9d39ALDW2lg1hYjv+lfgC4WJgkTxcJIkPcuqbpC+qgKATwvm7PYAGwDgdBeRZ4notYvZCWPMDqXUe13W3to8C6y10yJyv//u6zj/2R6ziPiRiBwt6xPMrBExFZEdRcYR8WOt9bb8MNoKAJ+3Jvtwed05d4dSKtz+c4h4VGsdrRWttZMici8AXFVix+4homNLBUmWZQcQMc/9x4mommXZ84i4t11MKbV5dHR06bxvH5uZmbnZOfdN6O0RmMNE1CxulgCstdeKyBcAcFPrVTyltZ4wxiSVSuXplkhda72zh9P1rClFZFOSJHMdAP5Hq3rxR6eH+IGIvIOuqFlr94nIc10WdRzxy6riAMJnr2nn3JlcME3TppMWNWvtfhF5pmB8WX0RvZgEEEtaYUUbM2KtfUdE/FUubNHipvBmZIxZp5TaDwBprlQGIHLqzSHiPq01x4B7Xk6Z2d8TfDwPlwFozfd1f90598Hi4uKrY2NjFwrzQVkP81nNi/byAWOMv8gOp2n6fhnt/wDqJrRWLmhIrwAAAABJRU5ErkJggg==";const T=c=>(L("data-v-d1cebcda"),c=c(),W(),c),Ee={class:"index-wrapper"},ze={class:"navigation-wrapper"},Me=T(()=>e("div",{class:"navigation-title-wrapper"},[e("div",{class:"navigation-title"},"阅读"),e("div",{class:"navigation-sub-title"},"清风不识字,何故乱翻书")],-1)),Te={class:"search-wrapper"},be={class:"bottom-wrapper"},Ve={class:"recent-wrapper"},Pe=T(()=>e("div",{class:"recent-title"},"最近阅读",-1)),Je={class:"reading-recent"},Ne={class:"setting-wrapper"},De=T(()=>e("div",{class:"setting-title"},"基本设定",-1)),Le={class:"setting-item"},We={class:"bottom-icons"},He={href:"https://github.com/gedoor/legado_web_bookshelf",target:"_blank"},Ze={class:"bottom-icon"},Ke=["src"],Oe={__name:"BookShelf",setup(c){const r=le(),{connectStatus:y,connectType:C,newConnect:R,shelf:f}=X(r),s=_({name:"尚无阅读记录",author:"",url:"",chapterIndex:0,chapterPos:0}),h=_(!1),w=_(null),n=_(null);j(h,t=>{var a;if(!t)return(a=n.value)==null?void 0:a.close();n.value=ne.service({target:w.value,spinner:ie,text:"正在获取书籍信息",lock:!0})});const l=_([]);J(()=>{l.value.length>0&&(h.value=!1)});const i=_(""),A=_(!1);J(()=>{if(!(A.value&&i.value!="")){if(A.value=!1,l.value=[],i.value==""){l.value=f.value;return}l.value=f.value.filter(t=>t.name.includes(i.value)||t.author.includes(i.value))}});const K=()=>{i.value!=""&&(l.value=[],r.clearSearchBooks(),h.value=!0,A.value=!0,E.search(i.value,t=>{try{r.setSearchBooks(JSON.parse(t)),r.searchBooks.forEach(a=>l.value.push(a))}catch(a){throw k.error("后端数据错误"),a}},()=>{h.value=!1,l.value.length==0&&k.info("搜索结果为空")}))},O=()=>{},F=ae(),Y=async t=>{const{bookUrl:a,name:p,author:u,durChapterIndex:v=0,durChapterPos:I=0}=t;await E.saveBook(t),b(a,p,u,v,I)},b=(t,a,p,u,v)=>{a!=="尚无阅读记录"&&(sessionStorage.setItem("bookUrl",t),sessionStorage.setItem("bookName",a),sessionStorage.setItem("bookAuthor",p),sessionStorage.setItem("chapterIndex",u),sessionStorage.setItem("chapterPos",v),s.value={name:a,author:p,url:t,chapterIndex:u,chapterPos:v},localStorage.setItem("readingRecent",JSON.stringify(s.value)),F.push({path:"/chapter"}))};ee(async()=>{let t=localStorage.getItem("readingRecent");t!=null&&(s.value=JSON.parse(t),typeof s.value.chapterIndex>"u"&&(s.value.chapterIndex=0)),h.value=!0,await r.saveBookProcess(),Q()});const Q=()=>{E.getBookShelf().then(t=>{r.setConnectType("success"),t.data.isSuccess?r.addBooks(t.data.data.sort(function(a,p){var u=a.durChapterTime||0,v=p.durChapterTime||0;return v-u})):(k.error(t.data.errorMsg),h.value=!1),r.setConnectStatus("已连接 "),r.setNewConnect(!1)}).catch(function(t){throw h.value=!1,r.setConnectType("danger"),r.setConnectStatus("连接失败"),k.error("后端连接失败"),r.setNewConnect(!1),t})};return(t,a)=>{const p=oe,u=D,v=Ce;return g(),m("div",Ee,[e("div",ze,[Me,e("div",Te,[x(p,{placeholder:"搜索书籍,在线书籍自动加入书架",modelValue:o(i),"onUpdate:modelValue":a[0]||(a[0]=I=>te(i)?i.value=I:null),class:"search-input","prefix-icon":o(ce),onKeyup:se(K,["enter"])},null,8,["modelValue","prefix-icon","onKeyup"])]),e("div",be,[e("div",Ve,[Pe,e("div",Je,[x(u,{type:o(s).name=="尚无阅读记录"?"warning":"",class:N(["recent-book",{"no-point":o(s).url==""}]),size:"large",onClick:a[1]||(a[1]=I=>b(o(s).url,o(s).name,o(s).author,o(s).chapterIndex,o(s).chapterPos))},{default:z(()=>[M(d(o(s).name),1)]),_:1},8,["type","class"])])]),e("div",Ne,[De,e("div",Le,[x(u,{type:o(C),size:"large",class:N(["setting-connect",{"no-point":o(R)}]),onClick:O},{default:z(()=>[M(d(o(y)),1)]),_:1},8,["type","class"])])])]),e("div",We,[e("a",He,[e("div",Ze,[e("img",{src:o(Re),alt:""},null,8,Ke)])])])]),e("div",{class:"shelf-wrapper",ref_key:"shelfWrapper",ref:w},[x(v,{books:o(l),onBookClick:Y,isSearch:o(A)},null,8,["books","isSearch"])],512)])}}},Ue=H(Oe,[["__scopeId","data-v-d1cebcda"]]);export{Ue as default};
+import{a1 as U,n as $,o as g,d as m,g as e,F as V,N as P,t as d,a2 as B,a3 as S,c as q,w as z,f as M,u as o,a4 as G,a5 as D,p as L,i as W,s as X,z as _,Q as j,J,S as ee,k,e as x,A as te,K as se,v as N,a6 as ae,H as oe,B as ce,a7 as ne}from"./vendor-c5b8afce.js";import{d as re,l as ie}from"./el-loading-251c5dc2.js";import{_ as H,u as le,A as E}from"./index-d119238d.js";const Z=c=>(L("data-v-fd33c3e8"),c=c(),W(),c),de={class:"books-wrapper"},ue={class:"wrapper"},he=["onClick"],pe={class:"cover-img"},ve=["src"],_e={class:"info"},ge={class:"name"},me={class:"sub"},fe={class:"author"},we={class:"tags"},Ae={class:"update-info"},Ie=Z(()=>e("div",{class:"dot"},"•",-1)),Be={class:"size"},Se=Z(()=>e("div",{class:"dot"},"•",-1)),ke={class:"date"},xe={class:"last-chapter"},ye={__name:"BookItems",props:["books","isSearch"],emits:["bookClick"],setup(c,{emit:r}){const y=c;U(s=>({"036742a7":o(f)}));const C=s=>r("bookClick",G(s)),R=s=>/^data:/.test(s)?s:location.origin+"/cover?path="+encodeURIComponent(s),f=$(()=>y.isSearch?"space-between":"flex-start");return(s,h)=>{const w=D;return g(),m("div",de,[e("div",ue,[(g(!0),m(V,null,P(c.books,n=>{var l;return g(),m("div",{class:"book",key:n.bookUrl,onClick:i=>C(n)},[e("div",pe,[(g(),m("img",{class:"cover",src:R(n.coverUrl),key:n.coverUrl,alt:"",loading:"lazy"},null,8,ve))]),e("div",_e,[e("div",ge,d(n.name),1),e("div",me,[e("div",fe,d(n.author),1),B(e("div",we,[(g(!0),m(V,null,P((l=n.kind)==null?void 0:l.split(",").slice(0,2),i=>(g(),q(w,{key:i},{default:z(()=>[M(d(i),1)]),_:2},1024))),128))],512),[[S,c.isSearch]]),B(e("div",Ae,[Ie,e("div",Be,"共"+d(n.totalChapterNum)+"章",1),Se,e("div",ke,d(o(re)(n.lastCheckTime)),1)],512),[[S,!c.isSearch]])]),B(e("div",{class:"intro"},d(n.intro),513),[[S,c.isSearch]]),B(e("div",{class:"dur-chapter"}," 已读:"+d(n.durChapterTitle),513),[[S,!c.isSearch]]),e("div",xe,"最新:"+d(n.latestChapterTitle),1)])],8,he)}),128))])])}}},Ce=H(ye,[["__scopeId","data-v-fd33c3e8"]]);const Re="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAECUlEQVRYR7WXTYhcRRDHq3pY9yKrYBQ8KBsjgvHgwRhiQBTjYZm4Xe8NusawhwS/o9GLoKhgBGPAgJd1NdGIXwtZTbRf9Rqzl6gHTVyDeIkIgnEOghAM6oKHz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dRzxy6riAMJnr2nn3JlcME3TppMWNWvtfhF5pmB8WX0RvZgEEEtaYUUbM2KtfUdE/FUubNHipvBmZIxZp5TaDwBprlQGIHLqzSHiPq01x4B7Xk6Z2d8TfDwPlwFozfd1f90598Hi4uKrY2NjFwrzQVkP81nNi/byAWOMv8gOp2n6fhnt/wDqJrRWLmhIrwAAAABJRU5ErkJggg==";const T=c=>(L("data-v-d1cebcda"),c=c(),W(),c),Ee={class:"index-wrapper"},ze={class:"navigation-wrapper"},Me=T(()=>e("div",{class:"navigation-title-wrapper"},[e("div",{class:"navigation-title"},"阅读"),e("div",{class:"navigation-sub-title"},"清风不识字,何故乱翻书")],-1)),Te={class:"search-wrapper"},be={class:"bottom-wrapper"},Ve={class:"recent-wrapper"},Pe=T(()=>e("div",{class:"recent-title"},"最近阅读",-1)),Je={class:"reading-recent"},Ne={class:"setting-wrapper"},De=T(()=>e("div",{class:"setting-title"},"基本设定",-1)),Le={class:"setting-item"},We={class:"bottom-icons"},He={href:"https://github.com/gedoor/legado_web_bookshelf",target:"_blank"},Ze={class:"bottom-icon"},Ke=["src"],Oe={__name:"BookShelf",setup(c){const r=le(),{connectStatus:y,connectType:C,newConnect:R,shelf:f}=X(r),s=_({name:"尚无阅读记录",author:"",url:"",chapterIndex:0,chapterPos:0}),h=_(!1),w=_(null),n=_(null);j(h,t=>{var a;if(!t)return(a=n.value)==null?void 0:a.close();n.value=ne.service({target:w.value,spinner:ie,text:"正在获取书籍信息",lock:!0})});const l=_([]);J(()=>{l.value.length>0&&(h.value=!1)});const i=_(""),A=_(!1);J(()=>{if(!(A.value&&i.value!="")){if(A.value=!1,l.value=[],i.value==""){l.value=f.value;return}l.value=f.value.filter(t=>t.name.includes(i.value)||t.author.includes(i.value))}});const K=()=>{i.value!=""&&(l.value=[],r.clearSearchBooks(),h.value=!0,A.value=!0,E.search(i.value,t=>{try{r.setSearchBooks(JSON.parse(t)),r.searchBooks.forEach(a=>l.value.push(a))}catch(a){throw k.error("后端数据错误"),a}},()=>{h.value=!1,l.value.length==0&&k.info("搜索结果为空")}))},O=()=>{},F=ae(),Y=async t=>{const{bookUrl:a,name:p,author:u,durChapterIndex:v=0,durChapterPos:I=0}=t;await E.saveBook(t),b(a,p,u,v,I)},b=(t,a,p,u,v)=>{a!=="尚无阅读记录"&&(sessionStorage.setItem("bookUrl",t),sessionStorage.setItem("bookName",a),sessionStorage.setItem("bookAuthor",p),sessionStorage.setItem("chapterIndex",u),sessionStorage.setItem("chapterPos",v),s.value={name:a,author:p,url:t,chapterIndex:u,chapterPos:v},localStorage.setItem("readingRecent",JSON.stringify(s.value)),F.push({path:"/chapter"}))};ee(async()=>{let t=localStorage.getItem("readingRecent");t!=null&&(s.value=JSON.parse(t),typeof s.value.chapterIndex>"u"&&(s.value.chapterIndex=0)),h.value=!0,await r.saveBookProcess(),Q()});const Q=()=>{E.getBookShelf().then(t=>{r.setConnectType("success"),t.data.isSuccess?r.addBooks(t.data.data.sort(function(a,p){var u=a.durChapterTime||0,v=p.durChapterTime||0;return v-u})):(k.error(t.data.errorMsg),h.value=!1),r.setConnectStatus("已连接 "),r.setNewConnect(!1)}).catch(function(t){throw h.value=!1,r.setConnectType("danger"),r.setConnectStatus("连接失败"),k.error("后端连接失败"),r.setNewConnect(!1),t})};return(t,a)=>{const p=oe,u=D,v=Ce;return g(),m("div",Ee,[e("div",ze,[Me,e("div",Te,[x(p,{placeholder:"搜索书籍,在线书籍自动加入书架",modelValue:o(i),"onUpdate:modelValue":a[0]||(a[0]=I=>te(i)?i.value=I:null),class:"search-input","prefix-icon":o(ce),onKeyup:se(K,["enter"])},null,8,["modelValue","prefix-icon","onKeyup"])]),e("div",be,[e("div",Ve,[Pe,e("div",Je,[x(u,{type:o(s).name=="尚无阅读记录"?"warning":"",class:N(["recent-book",{"no-point":o(s).url==""}]),size:"large",onClick:a[1]||(a[1]=I=>b(o(s).url,o(s).name,o(s).author,o(s).chapterIndex,o(s).chapterPos))},{default:z(()=>[M(d(o(s).name),1)]),_:1},8,["type","class"])])]),e("div",Ne,[De,e("div",Le,[x(u,{type:o(C),size:"large",class:N(["setting-connect",{"no-point":o(R)}]),onClick:O},{default:z(()=>[M(d(o(y)),1)]),_:1},8,["type","class"])])])]),e("div",We,[e("a",He,[e("div",Ze,[e("img",{src:o(Re),alt:""},null,8,Ke)])])])]),e("div",{class:"shelf-wrapper",ref_key:"shelfWrapper",ref:w},[x(v,{books:o(l),onBookClick:Y,isSearch:o(A)},null,8,["books","isSearch"])],512)])}}},Ue=H(Oe,[["__scopeId","data-v-d1cebcda"]]);export{Ue as default};
diff --git a/app/src/main/assets/web/vue/assets/config-965d5789.js b/app/src/main/assets/web/vue/assets/config-0ca2a80d.js
similarity index 80%
rename from app/src/main/assets/web/vue/assets/config-965d5789.js
rename to app/src/main/assets/web/vue/assets/config-0ca2a80d.js
index 2c1d68b8e..7be185765 100644
--- a/app/src/main/assets/web/vue/assets/config-965d5789.js
+++ b/app/src/main/assets/web/vue/assets/config-0ca2a80d.js
@@ -1 +1 @@
-import{u as n,A as r}from"./index-4666671d.js";import"./vendor-c5b8afce.js";const i=n();i.setMiniInterface(window.innerWidth<750);window.onresize=()=>{i.setMiniInterface(window.innerWidth<750)};r.getReadConfig().then(a=>{var e=a.data.data;if(e){const t=n();let o=JSON.parse(e),s=t.config;o=Object.assign(s,o),t.setConfig(o)}});
+import{u as n,A as r}from"./index-d119238d.js";import"./vendor-c5b8afce.js";const i=n();i.setMiniInterface(window.innerWidth<750);window.onresize=()=>{i.setMiniInterface(window.innerWidth<750)};r.getReadConfig().then(a=>{var e=a.data.data;if(e){const t=n();let o=JSON.parse(e),s=t.config;o=Object.assign(s,o),t.setConfig(o)}});
diff --git a/app/src/main/assets/web/vue/assets/el-loading-2ebec0d5.js b/app/src/main/assets/web/vue/assets/el-loading-251c5dc2.js
similarity index 97%
rename from app/src/main/assets/web/vue/assets/el-loading-2ebec0d5.js
rename to app/src/main/assets/web/vue/assets/el-loading-251c5dc2.js
index 7dec5ab33..5f3be0a26 100644
--- a/app/src/main/assets/web/vue/assets/el-loading-2ebec0d5.js
+++ b/app/src/main/assets/web/vue/assets/el-loading-251c5dc2.js
@@ -1 +1 @@
-import{u}from"./index-4666671d.js";const f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|SSS/g;function D(t,n,e,a){let s=t<12?"AM":"PM";return a&&(s=s.split("").reduce((l,i)=>l+=`${i}.`,"")),e?s.toLowerCase():s}function L(t,n,e={}){var a;const s=t.getFullYear(),l=t.getMonth(),i=t.getDate(),o=t.getHours(),r=t.getMinutes(),g=t.getSeconds(),m=t.getMilliseconds(),d=t.getDay(),c=(a=e.customMeridiem)!=null?a:D,M={YY:()=>String(s).slice(-2),YYYY:()=>s,M:()=>l+1,MM:()=>`${l+1}`.padStart(2,"0"),MMM:()=>t.toLocaleDateString(e.locales,{month:"short"}),MMMM:()=>t.toLocaleDateString(e.locales,{month:"long"}),D:()=>String(i),DD:()=>`${i}`.padStart(2,"0"),H:()=>String(o),HH:()=>`${o}`.padStart(2,"0"),h:()=>`${o%12||12}`.padStart(1,"0"),hh:()=>`${o%12||12}`.padStart(2,"0"),m:()=>String(r),mm:()=>`${r}`.padStart(2,"0"),s:()=>String(g),ss:()=>`${g}`.padStart(2,"0"),SSS:()=>`${m}`.padStart(3,"0"),d:()=>d,dd:()=>t.toLocaleDateString(e.locales,{weekday:"narrow"}),ddd:()=>t.toLocaleDateString(e.locales,{weekday:"short"}),dddd:()=>t.toLocaleDateString(e.locales,{weekday:"long"}),A:()=>c(o,r),AA:()=>c(o,r,!1,!0),a:()=>c(o,r,!0),aa:()=>c(o,r,!0,!0)};return n.replace(f,(S,h)=>h||M[S]())}const w=t=>/,\s*\{/.test(t)||!(t.startsWith("http")||t.startsWith("data:")||t.startsWith("blob:"));function Y(t){return location.origin+"/image?path="+encodeURIComponent(t)+"&url="+encodeURIComponent(sessionStorage.getItem("bookUrl"))+"&width="+u().config.readWidth}const $=t=>{let n=new Date().getTime(),e=Math.floor((n-t)/1e3),a="";return e<=30?a="刚刚":e<60?a=e+"秒前":e<3600?a=Math.floor(e/60)+"分钟前":e<86400?a=Math.floor(e/3600)+"小时前":e<2592e3?a=Math.floor(e/86400)+"天前":a=L(new Date(t),"YYYY-MM-DD"),a},v='';export{$ as d,Y as g,w as i,v as l};
+import{u}from"./index-d119238d.js";const f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|SSS/g;function D(t,n,e,a){let s=t<12?"AM":"PM";return a&&(s=s.split("").reduce((l,i)=>l+=`${i}.`,"")),e?s.toLowerCase():s}function L(t,n,e={}){var a;const s=t.getFullYear(),l=t.getMonth(),i=t.getDate(),o=t.getHours(),r=t.getMinutes(),g=t.getSeconds(),m=t.getMilliseconds(),d=t.getDay(),c=(a=e.customMeridiem)!=null?a:D,M={YY:()=>String(s).slice(-2),YYYY:()=>s,M:()=>l+1,MM:()=>`${l+1}`.padStart(2,"0"),MMM:()=>t.toLocaleDateString(e.locales,{month:"short"}),MMMM:()=>t.toLocaleDateString(e.locales,{month:"long"}),D:()=>String(i),DD:()=>`${i}`.padStart(2,"0"),H:()=>String(o),HH:()=>`${o}`.padStart(2,"0"),h:()=>`${o%12||12}`.padStart(1,"0"),hh:()=>`${o%12||12}`.padStart(2,"0"),m:()=>String(r),mm:()=>`${r}`.padStart(2,"0"),s:()=>String(g),ss:()=>`${g}`.padStart(2,"0"),SSS:()=>`${m}`.padStart(3,"0"),d:()=>d,dd:()=>t.toLocaleDateString(e.locales,{weekday:"narrow"}),ddd:()=>t.toLocaleDateString(e.locales,{weekday:"short"}),dddd:()=>t.toLocaleDateString(e.locales,{weekday:"long"}),A:()=>c(o,r),AA:()=>c(o,r,!1,!0),a:()=>c(o,r,!0),aa:()=>c(o,r,!0,!0)};return n.replace(f,(S,h)=>h||M[S]())}const w=t=>/,\s*\{/.test(t)||!(t.startsWith("http")||t.startsWith("data:")||t.startsWith("blob:"));function Y(t){return location.origin+"/image?path="+encodeURIComponent(t)+"&url="+encodeURIComponent(sessionStorage.getItem("bookUrl"))+"&width="+u().config.readWidth}const $=t=>{let n=new Date().getTime(),e=Math.floor((n-t)/1e3),a="";return e<=30?a="刚刚":e<60?a=e+"秒前":e<3600?a=Math.floor(e/60)+"分钟前":e<86400?a=Math.floor(e/3600)+"小时前":e<2592e3?a=Math.floor(e/86400)+"天前":a=L(new Date(t),"YYYY-MM-DD"),a},v='';export{$ as d,Y as g,w as i,v as l};
diff --git a/app/src/main/assets/web/vue/assets/index-4666671d.js b/app/src/main/assets/web/vue/assets/index-d119238d.js
similarity index 98%
rename from app/src/main/assets/web/vue/assets/index-4666671d.js
rename to app/src/main/assets/web/vue/assets/index-d119238d.js
index 3a461e30c..62fa6c77b 100644
--- a/app/src/main/assets/web/vue/assets/index-4666671d.js
+++ b/app/src/main/assets/web/vue/assets/index-d119238d.js
@@ -1,4 +1,4 @@
-import{r as xe,o as l,c as k,a as ne,b as re,d as E,e as p,w as u,f as S,u as i,l as z,g as _,F as R,E as Ue,h as ue,p as Be,i as Ee,j as Ve,k as x,m as de,s as X,n as F,t as Q,q as pe,v as he,x as se,y as Ie,z as O,A as M,B as _e,C as Te,D as Ne,G as ie,V as $e,H as Y,I as Le,J as ge,K as Re,L as N,M as Oe,N as K,O as me,P as Se,Q as De,R as q,S as Je,T as Pe,U as Ae,W as Ke,X as je,Y as Me,Z as He,_ as Fe,$ as ze,a0 as qe}from"./vendor-c5b8afce.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))s(n);new MutationObserver(n=>{for(const r of n)if(r.type==="childList")for(const a of r.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&s(a)}).observe(document,{childList:!0,subtree:!0});function o(n){const r={};return n.integrity&&(r.integrity=n.integrity),n.referrerPolicy&&(r.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?r.credentials="include":n.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(n){if(n.ep)return;n.ep=!0;const r=o(n);fetch(n.href,r)}})();const We="modulepreload",Ge=function(e,t){return new URL(e,t).href},le={},oe=function(t,o,s){if(!o||o.length===0)return t();const n=document.getElementsByTagName("link");return Promise.all(o.map(r=>{if(r=Ge(r,s),r in le)return;le[r]=!0;const a=r.endsWith(".css"),y=a?'[rel="stylesheet"]':"";if(!!s)for(let m=n.length-1;m>=0;m--){const v=n[m];if(v.href===r&&(!a||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${y}`))return;const g=document.createElement("link");if(g.rel=a?"stylesheet":We,a||(g.as="script",g.crossOrigin=""),g.href=r,document.head.appendChild(g),a)return new Promise((m,v)=>{g.addEventListener("load",m),g.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>t())},D=(e,t)=>{const o=e.__vccOpts||e;for(const[s,n]of t)o[s]=n;return o},Qe={};function Xe(e,t){const o=xe("router-view");return l(),k(o)}const Ye=D(Qe,[["render",Xe]]),ye=[{path:"/",name:"shelf",component:()=>oe(()=>import("./BookShelf-f4d6b807.js"),["./BookShelf-f4d6b807.js","./vendor-c5b8afce.js","./vendor-6f0d1692.css","./el-loading-2ebec0d5.js","./el-loading-d0f2d079.css","./BookShelf-821d208b.css"],import.meta.url)},{path:"/chapter",name:"chapter",component:()=>oe(()=>import("./BookChapter-2401a8a4.js"),["./BookChapter-2401a8a4.js","./vendor-c5b8afce.js","./vendor-6f0d1692.css","./el-loading-2ebec0d5.js","./el-loading-d0f2d079.css","./BookChapter-3cc9ab9d.css"],import.meta.url)}];ne({history:re(),routes:ye});const $=e=>(Be("data-v-aee57c78"),e=e(),Ee(),e),Ze=$(()=>_("br",null,null,-1)),et=$(()=>_("br",null,null,-1)),tt=$(()=>_("br",null,null,-1)),ot=$(()=>_("br",null,null,-1)),nt=$(()=>_("br",null,null,-1)),rt={style:{"margin-top":"20px"}},st=$(()=>_("code",null,"^$()[]{}.?+*|",-1)),it=$(()=>_("br",null,null,-1)),lt=$(()=>_("code",null,"(?s)",-1)),at=$(()=>_("br",null,null,-1)),ct=$(()=>_("code",null,"(?m)",-1)),ut=$(()=>_("br",null,null,-1)),dt=$(()=>_("code",null,"(?i)",-1)),pt=$(()=>_("br",null,null,-1)),ht={__name:"SourceHelp",setup(e){return(t,o)=>{const s=Ue,n=ue;return l(),E(R,null,[p(s,{icon:i(z),href:"https://alanskycn.gitee.io/teachme/",target:"_blank"},{default:u(()=>[S("书源制作教程")]),_:1},8,["icon"]),Ze,p(s,{icon:i(z),href:"https://zhuanlan.zhihu.com/p/29436838",target:"_blank"},{default:u(()=>[S("xpath基础教程")]),_:1},8,["icon"]),et,p(s,{icon:i(z),href:"https://zhuanlan.zhihu.com/p/32187820",target:"_blank"},{default:u(()=>[S("xpath高级教程")]),_:1},8,["icon"]),tt,p(s,{icon:i(z),href:"https://www.w3cschool.cn/regex_rmjc",target:"_blank"},{default:u(()=>[S("正则表达式教程")]),_:1},8,["icon"]),ot,p(s,{icon:i(z),href:"https://regexr-cn.com/",target:"_blank"},{default:u(()=>[S("正则表达式在线验证工具")]),_:1},8,["icon"]),nt,_("div",rt,[_("span",null,[p(n,null,{default:u(()=>[st,S(" 这些是Java正则特殊符号,匹配需转义")]),_:1})]),it,_("span",null,[p(n,null,{default:u(()=>[lt,S(" 前缀表示跨行解析")]),_:1})]),at,_("span",null,[p(n,null,{default:u(()=>[ct,S(" 前缀表示逐行匹配")]),_:1})]),ut,_("span",null,[p(n,null,{default:u(()=>[dt,S(" 前缀表示忽略大小写")]),_:1})]),pt])],64)}}},_t=D(ht,[["__scopeId","data-v-aee57c78"]]),gt=1e3,V=Ve.create({baseURL:location.origin,timeout:120*gt}),{hostname:fe,port:be}=new URL(location.href),mt=/source/i.test(location.href),St=e=>{throw mt&&x({message:"后端错误,检查网络或者阅读app",type:"error"}),e};V.interceptors.response.use(e=>e,St);const yt=()=>V.get("/getReadConfig"),ft=e=>V.post("/saveReadConfig",e),bt=e=>V.post("/saveBookProgress",e),kt=()=>V.get("/getBookshelf"),vt=e=>V.get("/getChapterList?url="+encodeURIComponent(e)),Ct=(e,t)=>V.get("/getBookContent?url="+encodeURIComponent(e)+"&index="+t),wt=(e,t,o)=>{const s=`ws://${fe}:${Number(be)+1}/searchBook`,n=new WebSocket(s);n.onopen=()=>{n.send(`{"key":"${e}"}`)},n.onmessage=({data:r})=>t(r),n.onclose=()=>{o()}},xt=e=>V.post("/saveBook",e),Ut=e=>V.post("/deleteBook",e),G=/bookSource/i.test(location.href),Bt=()=>G?V.get("getBookSources"):V.get("getRssSources"),Et=e=>G?V.post("saveBookSource",e):V.post("saveRssSource",e),Vt=e=>G?V.post("saveBookSources",e):V.post("saveRssSources",e),It=e=>G?V.post("deleteBookSources",e):V.post("deleteRssSources",e),Tt=(e,t,o,s)=>{const n=`ws://${fe}:${Number(be)+1}/${G?"bookSource":"rssSource"}Debug`,r=new WebSocket(n);r.onopen=()=>{r.send(JSON.stringify({tag:e,key:t}))},r.onmessage=({data:a})=>o(a),r.onclose=()=>{x({message:"调试已关闭!",type:"info"}),s()}},j={getReadConfig:yt,saveReadConfig:ft,saveBookProcess:bt,getBookShelf:kt,getChapterList:vt,getBookContent:Ct,search:wt,saveBook:xt,deleteBook:Ut,getSources:Bt,saveSources:Vt,saveSource:Et,deleteSource:It,debug:Tt},W=e=>e==null||e.length===0||/^\s+$/.test(e),ke=e=>"bookSourceName"in e,Nt=e=>ke(e)?!W(e.bookSourceName)&&!W(e.bookSourceUrl)&&!W(e.bookSourceType):!W(e.sourceName)&&!W(e.sourceName),$t=(e,t)=>{var o,s,n,r,a,y,f,g;return ke(e)?(((o=e.bookSourceName)==null?void 0:o.includes(t))||((s=e.bookSourceUrl)==null?void 0:s.includes(t))||((n=e.bookSourceGroup)==null?void 0:n.includes(t))||((r=e.bookSourceComment)==null?void 0:r.includes(t)))??!1:(((a=e.sourceName)==null?void 0:a.includes(t))||((y=e.sourceUrl)==null?void 0:y.includes(t))||((f=e.sourceGroup)==null?void 0:f.includes(t))||((g=e.sourceComment)==null?void 0:g.includes(t)))??!1},Lt={ruleSearch:{},ruleBookInfo:{},ruleToc:{},ruleContent:{},ruleReview:{},ruleExplore:{}},Rt={},A=/bookSource/i.test(location.href),ae=A?Lt:Rt,H=de("source",{state:()=>({bookSources:[],rssSources:[],savedSources:[],currentSource:ae,currentTab:localStorage.getItem("tabName")||"editTab",editTabSource:{},isDebuging:!1}),getters:{sources:e=>A?e.bookSources:e.rssSources,sourceUrlKey:()=>A?"bookSourceUrl":"sourceUrl",sourcesMap:e=>{let t=new Map;return e.sources.forEach(o=>t.set(o[e.sourceUrlKey],o)),t},savedSourcesMap:e=>{let t=new Map;return e.savedSources.forEach(o=>t.set(o[e.sourceUrlKey],o)),t},currentSourceUrl:e=>A?e.currentSource.bookSourceUrl:e.currentSource.sourceUrl,searchKey:e=>A?e.currentSource.ruleSearch.checkKeyWord||"我的":null},actions:{startDebug(){this.currentTab="editDebug",this.isDebuging=!0},debugFinish(){this.isDebuging=!1},saveSources(e){A?this.bookSources=e:this.rssSources=e},setPushReturnSources(e){this.savedSources=e},deleteSources(e){let t=A?this.bookSources:this.rssSources;e.forEach(o=>{let s=t.indexOf(o);s>-1&&t.splice(s,1)})},saveCurrentSource(){let e=this.currentSource,t=this.sourcesMap;t.set(e[this.sourceUrlKey],e),this.saveSources(Array.from(t.values()))},changeCurrentSource(e){this.currentSource=JSON.parse(JSON.stringify(e))},changeTabName(e){this.currentTab=e,localStorage.setItem("tabName",e)},changeEditTabSource(e){this.editTabSource=JSON.parse(JSON.stringify(e))},editHistory(e){let t;if(localStorage.getItem("history"))t=JSON.parse(localStorage.getItem("history")),t.new.push(e),t.new.length>50&&t.new.shift(),t.old.length>50&&t.old.shift(),localStorage.setItem("history",JSON.stringify(t));else{const o={new:[e],old:[]};localStorage.setItem("history",JSON.stringify(o))}},editHistoryUndo(){if(localStorage.getItem("history")){let e=JSON.parse(localStorage.getItem("history"));e.old.push(this.currentSource),e.new.length&&(this.currentSource=e.new.pop()),localStorage.setItem("history",JSON.stringify(e))}},clearAllHistory(){localStorage.setItem("history",JSON.stringify({new:[],old:[]}))},clearEdit(){this.editTabSource={},this.currentSource=ae},clearAllSource(){this.bookSources=[],this.rssSources=[],this.savedSources=[]}}});const Ot={__name:"SourceItem",props:["source"],setup(e){const t=e,o=H(),{savedSourcesMap:s,currentSourceUrl:n,sourceUrlKey:r}=X(o),a=F(()=>t.source[r.value]),y=g=>{o.changeCurrentSource(g)},f=F(()=>s.value.size==0?!1:!s.value.has(a.value));return(g,m)=>{const v=se,C=Ie;return l(),k(C,{size:"large",border:"",label:i(a),class:he({error:i(f),edit:i(a)==i(n)})},{default:u(()=>[S(Q(e.source.bookSourceName||e.source.sourceName)+" ",1),p(v,{text:"",icon:i(pe),onClick:m[0]||(m[0]=c=>y(e.source))},null,8,["icon"])]),_:1},8,["label","class"])}}},Dt=D(Ot,[["__scopeId","data-v-894f04fc"]]);const Jt={class:"tool"},Pt={__name:"SourceList",setup(e){const t=H(),o=O([]),s=O(""),{sources:n,sourcesMap:r}=X(t),a=F(()=>/bookSource/.test(window.location.href)),y=F(()=>o.value.length==0?[]:o.value.map(c=>r.value.get(c)??{})),f=()=>{j.deleteSource(y.value).then(({data:c})=>{if(!c.isSuccess)return x.error(c.errorMsg);t.deleteSources(y.value),o.value=[]})},g=()=>{t.clearAllSource(),o.value=[]},m=F(()=>{let c=s.value;return c===""?n.value:n.value.filter(B=>$t(B,c))}),v=()=>{const c=document.createElement("input");c.type="file",c.accept=".json,.txt",c.addEventListener("change",B=>{const J=B.target.files[0];var U=new FileReader;U.readAsText(J),U.onload=()=>{try{const P=JSON.parse(U.result);t.saveSources(P)}catch{x({message:"上传的源格式错误",type:"error"})}}}),c.click()},C=()=>{const c=document.createElement("a");let B=o.value.length===0?m.value:y.value,J=a.value?"BookSource":"RssSource";c.download=`${J}_${Date().replace(/.*?\s(\d+)\s(\d+)\s(\d+:\d+:\d+).*/,"$2$1$3").replace(/:/g,"")}.json`;let U=new Blob([JSON.stringify(B,null,4)],{type:"application/json"});c.href=window.URL.createObjectURL(U),c.click()};return(c,B)=>{const J=Y,U=se,P=Le;return l(),E(R,null,[p(J,{modelValue:i(s),"onUpdate:modelValue":B[0]||(B[0]=I=>M(s)?s.value=I:null),class:"search","prefix-icon":i(_e),placeholder:"筛选源"},null,8,["modelValue","prefix-icon"]),_("div",Jt,[p(U,{onClick:v,icon:i(Te)},{default:u(()=>[S("打开")]),_:1},8,["icon"]),p(U,{disabled:i(m).length===0,onClick:C,icon:i(Ne)},{default:u(()=>[S(" 导出")]),_:1},8,["disabled","icon"]),p(U,{type:"danger",icon:i(ie),onClick:f,disabled:i(o).length===0},{default:u(()=>[S("删除")]),_:1},8,["icon","disabled"]),p(U,{type:"danger",icon:i(ie),onClick:g,disabled:i(n).length===0},{default:u(()=>[S("清空")]),_:1},8,["icon","disabled"])]),p(P,{id:"source-list",modelValue:i(o),"onUpdate:modelValue":B[1]||(B[1]=I=>M(o)?o.value=I:null)},{default:u(()=>[p(i($e),{style:{height:"100%","overflow-y":"auto","overflow-x":"hidden"},"data-key":I=>I.bookSourceUrl||I.sourceUrl,"data-sources":i(m),"data-component":Dt,"estimate-size":45},null,8,["data-key","data-sources"])]),_:1},8,["modelValue"])],64)}}},At=D(Pt,[["__scopeId","data-v-1e35aca9"]]);const Kt={__name:"SourceDebug",setup(e){const t=H(),o=O(""),s=O("");ge(()=>{t.isDebuging&&r()});const n=y=>{let f=document.querySelector("#debug-text");f.scrollTop=f.scrollHeight,o.value+=y+`
+import{r as xe,o as l,c as k,a as ne,b as re,d as E,e as p,w as u,f as S,u as i,l as z,g as _,F as R,E as Ue,h as ue,p as Be,i as Ee,j as Ve,k as x,m as de,s as X,n as F,t as Q,q as pe,v as he,x as se,y as Ie,z as O,A as M,B as _e,C as Te,D as Ne,G as ie,V as $e,H as Y,I as Le,J as ge,K as Re,L as N,M as Oe,N as K,O as me,P as Se,Q as De,R as q,S as Je,T as Pe,U as Ae,W as Ke,X as je,Y as Me,Z as He,_ as Fe,$ as ze,a0 as qe}from"./vendor-c5b8afce.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))s(n);new MutationObserver(n=>{for(const r of n)if(r.type==="childList")for(const a of r.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&s(a)}).observe(document,{childList:!0,subtree:!0});function o(n){const r={};return n.integrity&&(r.integrity=n.integrity),n.referrerPolicy&&(r.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?r.credentials="include":n.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(n){if(n.ep)return;n.ep=!0;const r=o(n);fetch(n.href,r)}})();const We="modulepreload",Ge=function(e,t){return new URL(e,t).href},le={},oe=function(t,o,s){if(!o||o.length===0)return t();const n=document.getElementsByTagName("link");return Promise.all(o.map(r=>{if(r=Ge(r,s),r in le)return;le[r]=!0;const a=r.endsWith(".css"),y=a?'[rel="stylesheet"]':"";if(!!s)for(let m=n.length-1;m>=0;m--){const v=n[m];if(v.href===r&&(!a||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${y}`))return;const g=document.createElement("link");if(g.rel=a?"stylesheet":We,a||(g.as="script",g.crossOrigin=""),g.href=r,document.head.appendChild(g),a)return new Promise((m,v)=>{g.addEventListener("load",m),g.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>t())},D=(e,t)=>{const o=e.__vccOpts||e;for(const[s,n]of t)o[s]=n;return o},Qe={};function Xe(e,t){const o=xe("router-view");return l(),k(o)}const Ye=D(Qe,[["render",Xe]]),ye=[{path:"/",name:"shelf",component:()=>oe(()=>import("./BookShelf-e2adeb89.js"),["./BookShelf-e2adeb89.js","./vendor-c5b8afce.js","./vendor-6f0d1692.css","./el-loading-251c5dc2.js","./el-loading-d0f2d079.css","./BookShelf-821d208b.css"],import.meta.url)},{path:"/chapter",name:"chapter",component:()=>oe(()=>import("./BookChapter-566ecc84.js"),["./BookChapter-566ecc84.js","./vendor-c5b8afce.js","./vendor-6f0d1692.css","./el-loading-251c5dc2.js","./el-loading-d0f2d079.css","./BookChapter-b5149bbe.css"],import.meta.url)}];ne({history:re(),routes:ye});const $=e=>(Be("data-v-aee57c78"),e=e(),Ee(),e),Ze=$(()=>_("br",null,null,-1)),et=$(()=>_("br",null,null,-1)),tt=$(()=>_("br",null,null,-1)),ot=$(()=>_("br",null,null,-1)),nt=$(()=>_("br",null,null,-1)),rt={style:{"margin-top":"20px"}},st=$(()=>_("code",null,"^$()[]{}.?+*|",-1)),it=$(()=>_("br",null,null,-1)),lt=$(()=>_("code",null,"(?s)",-1)),at=$(()=>_("br",null,null,-1)),ct=$(()=>_("code",null,"(?m)",-1)),ut=$(()=>_("br",null,null,-1)),dt=$(()=>_("code",null,"(?i)",-1)),pt=$(()=>_("br",null,null,-1)),ht={__name:"SourceHelp",setup(e){return(t,o)=>{const s=Ue,n=ue;return l(),E(R,null,[p(s,{icon:i(z),href:"https://alanskycn.gitee.io/teachme/",target:"_blank"},{default:u(()=>[S("书源制作教程")]),_:1},8,["icon"]),Ze,p(s,{icon:i(z),href:"https://zhuanlan.zhihu.com/p/29436838",target:"_blank"},{default:u(()=>[S("xpath基础教程")]),_:1},8,["icon"]),et,p(s,{icon:i(z),href:"https://zhuanlan.zhihu.com/p/32187820",target:"_blank"},{default:u(()=>[S("xpath高级教程")]),_:1},8,["icon"]),tt,p(s,{icon:i(z),href:"https://www.w3cschool.cn/regex_rmjc",target:"_blank"},{default:u(()=>[S("正则表达式教程")]),_:1},8,["icon"]),ot,p(s,{icon:i(z),href:"https://regexr-cn.com/",target:"_blank"},{default:u(()=>[S("正则表达式在线验证工具")]),_:1},8,["icon"]),nt,_("div",rt,[_("span",null,[p(n,null,{default:u(()=>[st,S(" 这些是Java正则特殊符号,匹配需转义")]),_:1})]),it,_("span",null,[p(n,null,{default:u(()=>[lt,S(" 前缀表示跨行解析")]),_:1})]),at,_("span",null,[p(n,null,{default:u(()=>[ct,S(" 前缀表示逐行匹配")]),_:1})]),ut,_("span",null,[p(n,null,{default:u(()=>[dt,S(" 前缀表示忽略大小写")]),_:1})]),pt])],64)}}},_t=D(ht,[["__scopeId","data-v-aee57c78"]]),gt=1e3,V=Ve.create({baseURL:location.origin,timeout:120*gt}),{hostname:fe,port:be}=new URL(location.href),mt=/source/i.test(location.href),St=e=>{throw mt&&x({message:"后端错误,检查网络或者阅读app",type:"error"}),e};V.interceptors.response.use(e=>e,St);const yt=()=>V.get("/getReadConfig"),ft=e=>V.post("/saveReadConfig",e),bt=e=>V.post("/saveBookProgress",e),kt=()=>V.get("/getBookshelf"),vt=e=>V.get("/getChapterList?url="+encodeURIComponent(e)),Ct=(e,t)=>V.get("/getBookContent?url="+encodeURIComponent(e)+"&index="+t),wt=(e,t,o)=>{const s=`ws://${fe}:${Number(be)+1}/searchBook`,n=new WebSocket(s);n.onopen=()=>{n.send(`{"key":"${e}"}`)},n.onmessage=({data:r})=>t(r),n.onclose=()=>{o()}},xt=e=>V.post("/saveBook",e),Ut=e=>V.post("/deleteBook",e),G=/bookSource/i.test(location.href),Bt=()=>G?V.get("getBookSources"):V.get("getRssSources"),Et=e=>G?V.post("saveBookSource",e):V.post("saveRssSource",e),Vt=e=>G?V.post("saveBookSources",e):V.post("saveRssSources",e),It=e=>G?V.post("deleteBookSources",e):V.post("deleteRssSources",e),Tt=(e,t,o,s)=>{const n=`ws://${fe}:${Number(be)+1}/${G?"bookSource":"rssSource"}Debug`,r=new WebSocket(n);r.onopen=()=>{r.send(JSON.stringify({tag:e,key:t}))},r.onmessage=({data:a})=>o(a),r.onclose=()=>{x({message:"调试已关闭!",type:"info"}),s()}},j={getReadConfig:yt,saveReadConfig:ft,saveBookProcess:bt,getBookShelf:kt,getChapterList:vt,getBookContent:Ct,search:wt,saveBook:xt,deleteBook:Ut,getSources:Bt,saveSources:Vt,saveSource:Et,deleteSource:It,debug:Tt},W=e=>e==null||e.length===0||/^\s+$/.test(e),ke=e=>"bookSourceName"in e,Nt=e=>ke(e)?!W(e.bookSourceName)&&!W(e.bookSourceUrl)&&!W(e.bookSourceType):!W(e.sourceName)&&!W(e.sourceName),$t=(e,t)=>{var o,s,n,r,a,y,f,g;return ke(e)?(((o=e.bookSourceName)==null?void 0:o.includes(t))||((s=e.bookSourceUrl)==null?void 0:s.includes(t))||((n=e.bookSourceGroup)==null?void 0:n.includes(t))||((r=e.bookSourceComment)==null?void 0:r.includes(t)))??!1:(((a=e.sourceName)==null?void 0:a.includes(t))||((y=e.sourceUrl)==null?void 0:y.includes(t))||((f=e.sourceGroup)==null?void 0:f.includes(t))||((g=e.sourceComment)==null?void 0:g.includes(t)))??!1},Lt={ruleSearch:{},ruleBookInfo:{},ruleToc:{},ruleContent:{},ruleReview:{},ruleExplore:{}},Rt={},A=/bookSource/i.test(location.href),ae=A?Lt:Rt,H=de("source",{state:()=>({bookSources:[],rssSources:[],savedSources:[],currentSource:ae,currentTab:localStorage.getItem("tabName")||"editTab",editTabSource:{},isDebuging:!1}),getters:{sources:e=>A?e.bookSources:e.rssSources,sourceUrlKey:()=>A?"bookSourceUrl":"sourceUrl",sourcesMap:e=>{let t=new Map;return e.sources.forEach(o=>t.set(o[e.sourceUrlKey],o)),t},savedSourcesMap:e=>{let t=new Map;return e.savedSources.forEach(o=>t.set(o[e.sourceUrlKey],o)),t},currentSourceUrl:e=>A?e.currentSource.bookSourceUrl:e.currentSource.sourceUrl,searchKey:e=>A?e.currentSource.ruleSearch.checkKeyWord||"我的":null},actions:{startDebug(){this.currentTab="editDebug",this.isDebuging=!0},debugFinish(){this.isDebuging=!1},saveSources(e){A?this.bookSources=e:this.rssSources=e},setPushReturnSources(e){this.savedSources=e},deleteSources(e){let t=A?this.bookSources:this.rssSources;e.forEach(o=>{let s=t.indexOf(o);s>-1&&t.splice(s,1)})},saveCurrentSource(){let e=this.currentSource,t=this.sourcesMap;t.set(e[this.sourceUrlKey],e),this.saveSources(Array.from(t.values()))},changeCurrentSource(e){this.currentSource=JSON.parse(JSON.stringify(e))},changeTabName(e){this.currentTab=e,localStorage.setItem("tabName",e)},changeEditTabSource(e){this.editTabSource=JSON.parse(JSON.stringify(e))},editHistory(e){let t;if(localStorage.getItem("history"))t=JSON.parse(localStorage.getItem("history")),t.new.push(e),t.new.length>50&&t.new.shift(),t.old.length>50&&t.old.shift(),localStorage.setItem("history",JSON.stringify(t));else{const o={new:[e],old:[]};localStorage.setItem("history",JSON.stringify(o))}},editHistoryUndo(){if(localStorage.getItem("history")){let e=JSON.parse(localStorage.getItem("history"));e.old.push(this.currentSource),e.new.length&&(this.currentSource=e.new.pop()),localStorage.setItem("history",JSON.stringify(e))}},clearAllHistory(){localStorage.setItem("history",JSON.stringify({new:[],old:[]}))},clearEdit(){this.editTabSource={},this.currentSource=ae},clearAllSource(){this.bookSources=[],this.rssSources=[],this.savedSources=[]}}});const Ot={__name:"SourceItem",props:["source"],setup(e){const t=e,o=H(),{savedSourcesMap:s,currentSourceUrl:n,sourceUrlKey:r}=X(o),a=F(()=>t.source[r.value]),y=g=>{o.changeCurrentSource(g)},f=F(()=>s.value.size==0?!1:!s.value.has(a.value));return(g,m)=>{const v=se,C=Ie;return l(),k(C,{size:"large",border:"",label:i(a),class:he({error:i(f),edit:i(a)==i(n)})},{default:u(()=>[S(Q(e.source.bookSourceName||e.source.sourceName)+" ",1),p(v,{text:"",icon:i(pe),onClick:m[0]||(m[0]=c=>y(e.source))},null,8,["icon"])]),_:1},8,["label","class"])}}},Dt=D(Ot,[["__scopeId","data-v-894f04fc"]]);const Jt={class:"tool"},Pt={__name:"SourceList",setup(e){const t=H(),o=O([]),s=O(""),{sources:n,sourcesMap:r}=X(t),a=F(()=>/bookSource/.test(window.location.href)),y=F(()=>o.value.length==0?[]:o.value.map(c=>r.value.get(c)??{})),f=()=>{j.deleteSource(y.value).then(({data:c})=>{if(!c.isSuccess)return x.error(c.errorMsg);t.deleteSources(y.value),o.value=[]})},g=()=>{t.clearAllSource(),o.value=[]},m=F(()=>{let c=s.value;return c===""?n.value:n.value.filter(B=>$t(B,c))}),v=()=>{const c=document.createElement("input");c.type="file",c.accept=".json,.txt",c.addEventListener("change",B=>{const J=B.target.files[0];var U=new FileReader;U.readAsText(J),U.onload=()=>{try{const P=JSON.parse(U.result);t.saveSources(P)}catch{x({message:"上传的源格式错误",type:"error"})}}}),c.click()},C=()=>{const c=document.createElement("a");let B=o.value.length===0?m.value:y.value,J=a.value?"BookSource":"RssSource";c.download=`${J}_${Date().replace(/.*?\s(\d+)\s(\d+)\s(\d+:\d+:\d+).*/,"$2$1$3").replace(/:/g,"")}.json`;let U=new Blob([JSON.stringify(B,null,4)],{type:"application/json"});c.href=window.URL.createObjectURL(U),c.click()};return(c,B)=>{const J=Y,U=se,P=Le;return l(),E(R,null,[p(J,{modelValue:i(s),"onUpdate:modelValue":B[0]||(B[0]=I=>M(s)?s.value=I:null),class:"search","prefix-icon":i(_e),placeholder:"筛选源"},null,8,["modelValue","prefix-icon"]),_("div",Jt,[p(U,{onClick:v,icon:i(Te)},{default:u(()=>[S("打开")]),_:1},8,["icon"]),p(U,{disabled:i(m).length===0,onClick:C,icon:i(Ne)},{default:u(()=>[S(" 导出")]),_:1},8,["disabled","icon"]),p(U,{type:"danger",icon:i(ie),onClick:f,disabled:i(o).length===0},{default:u(()=>[S("删除")]),_:1},8,["icon","disabled"]),p(U,{type:"danger",icon:i(ie),onClick:g,disabled:i(n).length===0},{default:u(()=>[S("清空")]),_:1},8,["icon","disabled"])]),p(P,{id:"source-list",modelValue:i(o),"onUpdate:modelValue":B[1]||(B[1]=I=>M(o)?o.value=I:null)},{default:u(()=>[p(i($e),{style:{height:"100%","overflow-y":"auto","overflow-x":"hidden"},"data-key":I=>I.bookSourceUrl||I.sourceUrl,"data-sources":i(m),"data-component":Dt,"estimate-size":45},null,8,["data-key","data-sources"])]),_:1},8,["modelValue"])],64)}}},At=D(Pt,[["__scopeId","data-v-1e35aca9"]]);const Kt={__name:"SourceDebug",setup(e){const t=H(),o=O(""),s=O("");ge(()=>{t.isDebuging&&r()});const n=y=>{let f=document.querySelector("#debug-text");f.scrollTop=f.scrollHeight,o.value+=y+`
`},r=async()=>{o.value="",await j.saveSource(t.currentSource),j.debug(t.currentSourceUrl,s.value||t.searchKey,n,t.debugFinish)},a=F(()=>/bookSource/.test(window.location.href));return(y,f)=>{const g=Y;return l(),E(R,null,[i(a)?(l(),k(g,{key:0,id:"debug-key",modelValue:i(s),"onUpdate:modelValue":f[0]||(f[0]=m=>M(s)?s.value=m:null),placeholder:"搜索书名、作者","prefix-icon":i(_e),style:{"padding-bottom":"4px"},onKeydown:Re(r,["enter"])},null,8,["modelValue","prefix-icon","onKeydown"])):N("",!0),p(g,{id:"debug-text",modelValue:i(o),"onUpdate:modelValue":f[1]||(f[1]=m=>M(o)?o.value=m:null),type:"textarea",readonly:"",rows:"29",placeholder:"这里用于输出调试信息"},null,8,["modelValue"])],64)}}},jt=D(Kt,[["__scopeId","data-v-fe904689"]]),ho=de("book",{state:()=>({connectStatus:"正在连接后端服务器……",connectType:"",newConnect:!0,searchBooks:[],shelf:[],catalog:[],readingBook:{index:0,chapterPos:0},popCataVisible:!1,contentLoading:!0,showContent:!1,config:{theme:0,font:0,fontSize:18,readWidth:800,infiniteLoading:!1,customFontName:"",spacing:{paragraph:1,line:.8,letter:0}},miniInterface:!1,readSettingsVisible:!1}),actions:{setConnectStatus(e){this.connectStatus=e},setConnectType(e){this.connectType=e},setNewConnect(e){this.newConnect=e},addBooks(e){this.shelf=e},setCatalog(e){this.catalog=e},setPopCataVisible(e){this.popCataVisible=e},setContentLoading(e){this.contentLoading=e},setReadingBook(e){this.readingBook=e},setConfig(e){Object.assign(this.config,e)},setReadSettingsVisible(e){this.readSettingsVisible=e},setShowContent(e){this.showContent=e},setMiniInterface(e){this.miniInterface=e},async setSearchBooks(e){e.forEach(t=>{this.shelf.find(s=>s.bookUrl==t.bookUrl)===void 0&&this.searchBooks.push(t)})},clearSearchBooks(){this.searchBooks=[]},async saveBookProcess(){var r;if(this.catalog.length==0)return;const{index:e,chapterPos:t,bookName:o,bookAuthor:s}=this.readingBook;let n=(r=this.catalog[e])==null?void 0:r.title;n&&j.saveBookProcess({name:o,author:s,durChapterIndex:e,durChapterPos:t,durChapterTime:new Date().getTime(),durChapterTitle:n})}}}),Mt=Oe();const Ht={__name:"SourceJson",setup(e){const t=H(),o=O(""),s=async n=>{try{t.changeEditTabSource(JSON.parse(n))}catch{x({message:"粘贴的源格式错误",type:"error"})}};return ge(async()=>{let n=t.editTabSource;Object.keys(n).length>0?o.value=JSON.stringify(n,null,4):o.value=""}),(n,r)=>{const a=Y;return l(),k(a,{id:"source-json",modelValue:i(o),"onUpdate:modelValue":r[0]||(r[0]=y=>M(o)?o.value=y:null),type:"textarea",placeholder:"这里输出序列化的JSON数据,可直接导入'阅读'APP",rows:"30",onChange:s,style:{"margin-bottom":"4px"}},null,8,["modelValue"])}}},Ft=D(Ht,[["__scopeId","data-v-7e91a802"]]);const zt={__name:"SourceTabTools",setup(e){const t=H(),{currentTab:o}=X(t),s=O([["editTab","编辑源"],["editDebug","调试源"],["editList","源列表"],["editHelp","帮助信息"]]);return(n,r)=>{const a=Ft,y=jt,f=At,g=_t,m=me,v=Se;return l(),k(v,{modelValue:i(o),"onUpdate:modelValue":r[0]||(r[0]=C=>M(o)?o.value=C:null)},{default:u(()=>[(l(!0),E(R,null,K(i(s),(C,c)=>(l(),k(m,{key:C[0],name:C[0],label:C[1]},{default:u(()=>[c==0?(l(),k(a,{key:0})):N("",!0),c==1?(l(),k(y,{key:1})):N("",!0),c==2?(l(),k(f,{key:2})):N("",!0),c==3?(l(),k(g,{key:3})):N("",!0)]),_:2},1032,["name","label"]))),128))]),_:1},8,["modelValue"])}}},qt=D(zt,[["__scopeId","data-v-dcce2457"]]);const Wt={class:"menu flex-column-center"},Gt={class:"hotkeys-header flex-space-between"},Qt=["id"],Xt={key:0},Yt={class:"hotkeys-settings flex-column-center"},Zt={class:"title"},eo={class:"hotkeys-item__content"},to={key:0},oo={key:0},no={__name:"ToolBar",setup(e){const t=H(),o=()=>{const h=x({message:"加载中……",showClose:!0,duration:0});j.getSources().then(({data:d})=>{d.isSuccess?(t.changeTabName("editList"),t.saveSources(d.data),x({message:`成功拉取${d.data.length}条源`,type:"success"})):x({message:d.errorMsg??"后端错误",type:"error"})}).finally(()=>h.close())},s=()=>{let h=t.sources;if(t.changeTabName("editList"),h.length===0)return x({message:"空空如也",type:"info"});x({message:"正在推送中",type:"info"}),j.saveSources(h).then(({data:d})=>{if(d.isSuccess){let w=d.data;if(Array.isArray(w)){let b="";h.length>w.length&&(b=`
推送失败的源将用红色字体标注!`,t.setPushReturnSources(w)),x({message:`批量推送源到「阅读3.0APP」
共计: ${h.length} 条
@@ -10,4 +10,4 @@ ErrorMsg: ${w.errorMsg}`,type:"error"})}):x({message:"请检查<必填>项是否
名称1::网址(Url)1
名称2::网址(Url)2
...`},{title:"发现筛选",id:"exploreScreen",type:"String",hint:"发现筛选规则"},{title:"列表规则",namespace:"ruleExplore",id:"bookList",type:"String",hint:"选择书籍节点 (规则结果为List)"},{title:"书名规则",namespace:"ruleExplore",id:"name",type:"String",hint:"选择节点书名 (规则结果为String)"},{title:"作者规则",namespace:"ruleExplore",id:"author",type:"String",hint:"选择节点作者 (规则结果为String)"},{title:"分类规则",namespace:"ruleExplore",id:"kind",type:"String",hint:"选择节点分类信息 (规则结果为String)"},{title:"字数规则",namespace:"ruleExplore",id:"wordCount",type:"String",hint:"选择节点字数信息 (规则结果为String)"},{title:"最新章节",namespace:"ruleExplore",id:"lastChapter",type:"String",hint:"选择节点最新章节 (规则结果为String)"},{title:"简介规则",namespace:"ruleExplore",id:"intro",type:"String",hint:"选择节点书籍简介 (规则结果为String)"},{title:"封面规则",namespace:"ruleExplore",id:"coverUrl",type:"String",hint:"选择节点书籍封面 (规则结果为String类型的url)"},{title:"详情地址",namespace:"ruleExplore",id:"bookUrl",type:"String",hint:"选择书籍详情页网址 (规则结果为String类型的url)"}]},detail:{name:"详情",children:[{title:"预处理",namespace:"ruleBookInfo",id:"init",type:"String",hint:"用于加速详情信息检索,只支持AllInOne规则"},{title:"书名规则",namespace:"ruleBookInfo",id:"name",type:"String",hint:"选择节点书名 (规则结果为String)"},{title:"作者规则",namespace:"ruleBookInfo",id:"author",type:"String",hint:"选择节点作者 (规则结果为String)"},{title:"分类规则",namespace:"ruleBookInfo",id:"kind",type:"String",hint:"选择节点分类信息 (规则结果为String)"},{title:"字数规则",namespace:"ruleBookInfo",id:"wordCount",type:"String",hint:"选择节点字数信息 (规则结果为String)"},{title:"最新章节",namespace:"ruleBookInfo",id:"lastChapter",type:"String",hint:"选择节点最新章节 (规则结果为String)"},{title:"简介规则",namespace:"ruleBookInfo",id:"intro",type:"String",hint:"选择节点书籍简介 (规则结果为String)"},{title:"封面规则",namespace:"ruleBookInfo",id:"coverUrl",type:"String",hint:"选择节点书籍封面 (规则结果为String类型的url)"},{title:"目录地址",namespace:"ruleBookInfo",id:"tocUrl",type:"String",hint:"选择书籍详情页网址 (规则结果为String类型的url, 与详情页相同时可省略)"},{title:"下载URL",namespace:"ruleBookInfo",id:"downloadUrls",type:"String",hint:"文件类书源下载地址 (规则结果为String类型的url, 多个链接返回数组)"},{title:"修改书籍",namespace:"ruleBookInfo",id:"canReName",type:"String",hint:"允许修改书名作者(规则结果为String类型, 默认不允许)"}]},directory:{name:"目录",children:[{title:"预处理",namespace:"ruleToc",id:"preUpdateJs",type:"String",hint:"更新目录前调用JS 动态更新目录链接"},{title:"列表规则",namespace:"ruleToc",id:"chapterList",type:"String",hint:"选择目录列表的章节节点 (规则结果为List)"},{title:"章节名称",namespace:"ruleToc",id:"chapterName",type:"String",hint:"选择章节名称 (规则结果为String)"},{title:"章节地址",namespace:"ruleToc",id:"chapterUrl",type:"String",hint:"选择章节链接 (规则结果为String类型的Url)"},{title:"卷名标识",namespace:"ruleToc",id:"isVolume",type:"String",hint:"章节名称是否是卷名 (规则结果为Bool)"},{title:"收费标识",namespace:"ruleToc",id:"isVip",type:"String",hint:"章节是否为VIP章节 (规则结果为Bool)"},{title:"购买标识",namespace:"ruleToc",id:"isPay",type:"String",hint:"章节是否为已购买 (规则结果为Bool)"},{title:"章节信息",namespace:"ruleToc",id:"updateTime",type:"String",hint:"选择章节信息 (规则结果为String)"},{title:"翻页规则",namespace:"ruleToc",id:"nextTocUrl",type:"String",hint:"选择目录下一页链接 (规则结果为List或String)"}]},content:{name:"正文",children:[{title:"脚本注入",namespace:"ruleContent",id:"webJs",type:"String",hint:"注入javascript,用于模拟鼠标点击等,必须有返回值,一般为String类型"},{title:"正文规则",namespace:"ruleContent",id:"content",type:"String",hint:"选择正文内容 (规则结果为String)"},{title:"翻页规则",namespace:"ruleContent",id:"nextContentUrl",type:"String",hint:"选择下一分页(不是下一章)链接 (规则结果为String类型的Url)"},{title:"资源正则",namespace:"ruleContent",id:"sourceRegex",type:"String",hint:"匹配资源的url特征,用于嗅探"},{title:"替换规则",namespace:"ruleContent",id:"replaceRegex",type:"String",hint:"多页内容合并后替换,用于正文净化"},{title:"图片样式",namespace:"ruleContent",id:"imageStyle",type:"String",hint:"FULL:铺满 不填:默认样式"},{title:"购买操作",namespace:"ruleContent",id:"payAction",type:"String",hint:"填写JavaScript 返回购买链接或者调用购买接口"},{title:"图片解密",namespace:"ruleContent",id:"imageDecode",type:"String",hint:"填写JavaScript 返回解密图片的bytes "}]},other:{name:"其他",children:[{title:"启用搜索",id:"enabled",type:"Boolean"},{title:"启用发现",id:"enabledExplore",type:"Boolean"},{title:"Cookie",id:"enabledCookieJar",type:"Boolean"},{title:"搜索权重",id:"weight",type:"Number"},{title:"排序编号",id:"customOrder",type:"Number"}]}},ao={base:{name:"基础",children:[{title:"源域名",id:"sourceUrl",type:"String",hint:"通常填写网站主页,例: https://www.qidian.com",required:!0},{title:"图标",id:"sourceIcon",type:"String",hint:"填写图片网络链接"},{title:"源名称",id:"sourceName",type:"String",hint:"会显示在源列表",required:!0},{title:"源分组",id:"sourceGroup",type:"String",hint:"描述源的特征信息"},{title:"源注释",id:"sourceComment",type:"String",hint:"描述源作者和状态"},{title:"分类地址",id:"sortUrl",type:"String",hint:`名称1::链接1
-名称2::链接2`},{title:"登录地址",id:"loginUrl",type:"String",hint:"填写网站登录网址,仅在需要登录的源有用"},{title:"登录界面",id:"loginUi",type:"String",hint:"自定义登录界面"},{title:"登录检测",id:"loginCheckJs",type:"String",hint:"登录检测js"},{title:"封面解密",id:"coverDecodeJs",type:"String",hint:"封面解密js"},{title:"请求头",id:"header",type:"String",hint:"客户端标识"},{title:"变量说明",id:"variableComment",type:"String",hint:"源变量说明"},{title:"并发率",id:"concurrentRate",type:"String",hint:"并发率"}]},list:{name:"列表",children:[{title:"列表规则",id:"ruleArticles",type:"String",hint:"规则结果为List"},{title:"翻页规则",id:"ruleNextPage",type:"String",hint:"下一页链接 规则结果为List或String"},{title:"标题规则",id:"ruleTitle",type:"String",hint:"文章标题 规则结果为String"},{title:"时间规则",id:"rulePubDate",type:"String",hint:"文章发布时间 规则结果为String"},{title:"描述规则",id:"ruleDescription",type:"String",hint:"文章简要描述 规则结果为String"},{title:"图片规则",id:"ruleImage",type:"String",hint:"文章图片链接 规则结果为String"},{title:"链接规则",id:"ruleLink",type:"String",hint:"文章链接 规则结果为String"}]},webView:{name:"WebView",children:[{title:"内容规则",id:"ruleContent",type:"String",hint:"文章正文"},{title:"样式规则",id:"style",type:"String",hint:"文章正文样式 填写css"},{title:"注入规则",id:"injectJs",type:"String",hint:"注入网页的JavaScript"},{title:"黑名单",id:"contentBlacklist",type:"String",hint:"webView链接加载黑名单,英文逗号隔开"},{title:"白名单",id:"contentWhitelist",type:"String",hint:"webView链接加载白名单,英文逗号隔开"}]},other:{name:"其他",children:[{title:"列表样式",id:"articleStyle",type:"Array",array:["默认","大图","双列"]},{title:"加载地址",id:"loadWithBaseUrl",type:"Boolean"},{title:"启用JS",id:"enableJs",type:"Boolean"},{title:"启用",id:"enabled",type:"Boolean"},{title:"Cookie",id:"enabledCookieJar",type:"Boolean"},{title:"单URL",id:"singleUrl",type:"Boolean"},{title:"排序编号",id:"customOrder",type:"Number"}]}};const co={class:"editor"},uo={__name:"SourceEditor",setup(e){const t=O({});return/bookSource/i.test(location.href)?(t.value=lo,document.title="书源管理"):(t.value=ao,document.title="订阅源管理"),(o,s)=>{const n=io,r=ro,a=qt;return l(),E("div",co,[p(n,{class:"left",config:i(t)},null,8,["config"]),p(r),p(a,{class:"right"})])}}},ce=D(uo,[["__scopeId","data-v-e99e7704"]]),ve=[{path:"/bookSource",name:"book-home",component:ce},{path:"/rssSource",name:"rss-home",component:ce}];ne({history:re(),routes:ve});const Ce=ne({history:re(),routes:ye.concat(ve)});Ce.afterEach(e=>{e.name=="shelf"&&(document.title="书架")});qe(Ye).use(Mt).use(Ce).mount("#app");oe(()=>import("./config-965d5789.js"),["./config-965d5789.js","./vendor-c5b8afce.js","./vendor-6f0d1692.css","./config-811f2a0b.css"],import.meta.url);export{j as A,D as _,ho as u};
+名称2::链接2`},{title:"登录地址",id:"loginUrl",type:"String",hint:"填写网站登录网址,仅在需要登录的源有用"},{title:"登录界面",id:"loginUi",type:"String",hint:"自定义登录界面"},{title:"登录检测",id:"loginCheckJs",type:"String",hint:"登录检测js"},{title:"封面解密",id:"coverDecodeJs",type:"String",hint:"封面解密js"},{title:"请求头",id:"header",type:"String",hint:"客户端标识"},{title:"变量说明",id:"variableComment",type:"String",hint:"源变量说明"},{title:"并发率",id:"concurrentRate",type:"String",hint:"并发率"}]},list:{name:"列表",children:[{title:"列表规则",id:"ruleArticles",type:"String",hint:"规则结果为List"},{title:"翻页规则",id:"ruleNextPage",type:"String",hint:"下一页链接 规则结果为List或String"},{title:"标题规则",id:"ruleTitle",type:"String",hint:"文章标题 规则结果为String"},{title:"时间规则",id:"rulePubDate",type:"String",hint:"文章发布时间 规则结果为String"},{title:"描述规则",id:"ruleDescription",type:"String",hint:"文章简要描述 规则结果为String"},{title:"图片规则",id:"ruleImage",type:"String",hint:"文章图片链接 规则结果为String"},{title:"链接规则",id:"ruleLink",type:"String",hint:"文章链接 规则结果为String"}]},webView:{name:"WebView",children:[{title:"内容规则",id:"ruleContent",type:"String",hint:"文章正文"},{title:"样式规则",id:"style",type:"String",hint:"文章正文样式 填写css"},{title:"注入规则",id:"injectJs",type:"String",hint:"注入网页的JavaScript"},{title:"黑名单",id:"contentBlacklist",type:"String",hint:"webView链接加载黑名单,英文逗号隔开"},{title:"白名单",id:"contentWhitelist",type:"String",hint:"webView链接加载白名单,英文逗号隔开"}]},other:{name:"其他",children:[{title:"列表样式",id:"articleStyle",type:"Array",array:["默认","大图","双列"]},{title:"加载地址",id:"loadWithBaseUrl",type:"Boolean"},{title:"启用JS",id:"enableJs",type:"Boolean"},{title:"启用",id:"enabled",type:"Boolean"},{title:"Cookie",id:"enabledCookieJar",type:"Boolean"},{title:"单URL",id:"singleUrl",type:"Boolean"},{title:"排序编号",id:"customOrder",type:"Number"}]}};const co={class:"editor"},uo={__name:"SourceEditor",setup(e){const t=O({});return/bookSource/i.test(location.href)?(t.value=lo,document.title="书源管理"):(t.value=ao,document.title="订阅源管理"),(o,s)=>{const n=io,r=ro,a=qt;return l(),E("div",co,[p(n,{class:"left",config:i(t)},null,8,["config"]),p(r),p(a,{class:"right"})])}}},ce=D(uo,[["__scopeId","data-v-e99e7704"]]),ve=[{path:"/bookSource",name:"book-home",component:ce},{path:"/rssSource",name:"rss-home",component:ce}];ne({history:re(),routes:ve});const Ce=ne({history:re(),routes:ye.concat(ve)});Ce.afterEach(e=>{e.name=="shelf"&&(document.title="书架")});qe(Ye).use(Mt).use(Ce).mount("#app");oe(()=>import("./config-0ca2a80d.js"),["./config-0ca2a80d.js","./vendor-c5b8afce.js","./vendor-6f0d1692.css","./config-811f2a0b.css"],import.meta.url);export{j as A,D as _,ho as u};
diff --git a/app/src/main/assets/web/vue/index.html b/app/src/main/assets/web/vue/index.html
index 85227ab3f..38f4f4031 100644
--- a/app/src/main/assets/web/vue/index.html
+++ b/app/src/main/assets/web/vue/index.html
@@ -4,7 +4,7 @@
-
+