diff --git a/app/src/main/assets/web/vue/assets/BookChapter-bddb4dc6.js b/app/src/main/assets/web/vue/assets/BookChapter-d3c57abf.js
similarity index 99%
rename from app/src/main/assets/web/vue/assets/BookChapter-bddb4dc6.js
rename to app/src/main/assets/web/vue/assets/BookChapter-d3c57abf.js
index c9013a87a..90deb9c03 100644
--- a/app/src/main/assets/web/vue/assets/BookChapter-bddb4dc6.js
+++ b/app/src/main/assets/web/vue/assets/BookChapter-d3c57abf.js
@@ -1 +1 @@
-import{_ as de,u as ue,A as ve}from"./index-bae5dedd.js";import{q as v,P as Z,a8 as Ae,o as r,d as g,M as ae,a9 as T,u as o,F as le,m as u,aa as Fe,R as ke,g as t,n as Q,t as X,e as q,w as W,a2 as Oe,v as re,ab as Pe,f as ce,K as ne,ac as Ke,D as Ne,ad as Se,p as me,i as be,ae as he,s as Ee,I as se,B as z,af as Le,a6 as He,c as ze,a7 as Je}from"./vendor-8be1f5fb.js";import{l as We}from"./el-loading-15d78e2b.js";const Te="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyAgMAAABjUWAiAAAADFBMVEXr5djn4dTp49bt59rT6LKxAAACnElEQVQozw3NUUwScRzA8d8R6MF8YMIx8uk47hDSJbj14IPzOGc7jPLvwTGg5uAYDbe2tt56cLtznvEnS6yDqCcEaWi91DvrbLJZz7b1aFtz1aO+2OZWvn+/+4CHeB6BMYaqBLfjPNRY6RFT2JJYby+uAk4WUTrtlmJ4hgPYb2q1XGDQjaK8pgJHvqNaAX+KyuIkDXpgQinb46nOulnn4b5laUHTxLfseeArAoNOeJlOIjdoal0n1FA7tKFv5roK+YaHOqP3P0XyKHPHY+MhTRe5uCZnKhtJKw2eSrSoBDPLtpZuNcFNJcFyiCMxOaaHIfXz1e8HQbWLySrBQ4x0x1qlhnHlnz2HQEC6TNb0gTHXa7IKhcaHqkE015hk9whA0YeWiLIXf7Fa2CZo3DjqjB4tTuF8jIcbfcEx5z/w4sXpQhXW+ju0cqh7icTFmRMaG+v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ShOgsP/HOW0MvZJeFwAAAABJRU5ErkJggg==",ct="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyAgMAAABjUWAiAAAADFBMVEUWGBkYGhsdHyAfISI1t/v6AAAB5ElEQVQozxXQsYoTURSA4f/EeycZsDgDdySDjihk38Hy3GWi2J2BCaziQhaiaB+tt9AFu1kwvYUPsIXNPoB9BAUfwAfwEUzKv/v4odGrroyp9/rUaC6rZ5skv5F8qPsfYYP+yKUMymmAEEeW55oUR4o8jr05KNzJ07yvB7w0KKfLwcQUSjfmMU0PJfPHFoEVU+ohNrcKMEzMQ23FDnVSI2dqtYWI7KlLu6vE4UnyvKc3SJuL7lBbeEEl42ItpGLjzIT8PRJCmkRjVpVpsbJFVN0687okJNZiHAr5Z7MV0BnGIDc+THM1zlbieBc1Fq+tH5BH+OpnbWkj40hSqC8Lw2TvFuF0SUFJCk2IytXbjeqcRAt6NHpnrUkUU4KRzZs8RCK8N/Akn2W04LwxMU/V7XK0bDyN2RxfDyx7I4h5vjZby72V8UnOWumZL3qtYc+8DTE0siSBMXGhywx2dMYPnQHbxdFZ7deiNGxCCtD/QWnbwDoGhRYPDzUdUA3krjpnkvdAgDN4ddLkEQSov9qjd42HaDjI34gEqS9TUueAk+sc4qg5ws407KQYKs8G1jv4xBlqBVk6cb4dISZIwVi1Jzu4+HLk6lyfUxkXvwy+1Q+4WVdHIhwfybZ6CWVhxMEhShOgsP/HOW0MvZJeFwAAAABJRU5ErkJggg==";var J={themes:[{body:"#ede7da url("+Te+") repeat",content:"#ede7da url("+qe+") repeat",popup:"#ede7da url("+Ge+") repeat"},{body:"#ede7da url("+Ze+") repeat",content:"#ede7da url("+Ye+") repeat",popup:"#ede7da url("+_e+") repeat"},{body:"#ede7da url("+Xe+") repeat",content:"#ede7da url("+je+") repeat",popup:"#ede7da url("+$e+") repeat"},{body:"#ede7da url("+et+") repeat",content:"#ede7da url("+tt+") repeat",popup:"#ede7da url("+ot+") repeat"},{body:"#ebcece repeat",content:"#f5e4e4 repeat",popup:"#faeceb repeat"},{body:"#ede7da url("+nt+") repeat",content:"#ede7da url("+st+") repeat",popup:"#ede7da url("+at+") repeat"},{body:"#ede7da url("+lt+") repeat",content:"#ede7da url("+it+") repeat",popup:"#ede7da url("+ct+") repeat"}],fonts:[{fontFamily:"Microsoft YaHei, PingFangSC-Regular, HelveticaNeue-Light, Helvetica Neue Light, sans-serif"},{fontFamily:"PingFangSC-Regular, -apple-system, Simsun"},{fontFamily:"Kaiti"}]};const At=["src"],rt=["innerHTML"],dt={__name:"ChapterContent",props:["carray"],setup(s){const a=s,c=ue(),h=v(()=>c.config.font>=0?J.fonts[c.config.font]:{fontFamily:c.config.customFontName}),l=v(()=>c.config.fontSize+"px"),D=v(()=>{let m=h.value;return m.fontSize=l.value,m});function B(m){const f=/]*src="([^"]*(?:"[^>]+\})?)"[^>]*>/;return m.match(f)[1]}return Z(l,()=>{c.setShowContent(!1),Ae(()=>{c.setShowContent(!0)})}),(m,f)=>(r(!0),g(le,null,ae(a.carray,(d,i)=>(r(),g("div",{key:i},[/^\s*]*src[^>]+>$/.test(d)?(r(),g("img",{key:0,class:"full",src:B(d),loading:"lazy"},null,8,At)):(r(),g("p",{key:1,style:T(o(D)),innerHTML:d},null,12,rt))]))),128))}},ut=de(dt,[["__scopeId","data-v-f9132275"]]);const C=s=>(me("data-v-9f479a0b"),s=s(),be(),s),gt=C(()=>t("div",{class:"settings-title"},"设置",-1)),pt={class:"setting-list"},ft={class:"theme-list"},vt=C(()=>t("i",null,"阅读主题",-1)),ht=["onClick"],mt={key:0,class:"iconfont"},bt={key:1,class:"moon-icon"},yt={class:"font-list"},Bt=C(()=>t("i",null,"正文字体",-1)),Ct=["onClick"],It={class:"font-list"},kt=C(()=>t("i",null,"自定字体",-1)),St=C(()=>t("p",null," 请确认输入的字体名称完整无误,并且该字体已经安装在您的设备上。 ",-1)),Et=C(()=>t("p",null,"确定保存吗?",-1)),wt={style:{"text-align":"right",margin:"0"}},Ut=C(()=>t("span",{type:"text",class:"font-item"},"保存",-1)),Qt={class:"font-size"},Dt=C(()=>t("i",null,"字体大小",-1)),Vt={class:"resize"},Mt=C(()=>t("em",{class:"iconfont"},"",-1)),xt=[Mt],Rt=C(()=>t("b",null,null,-1)),Ft={class:"lang"},Ot=C(()=>t("b",null,null,-1)),Pt=C(()=>t("em",{class:"iconfont"},"",-1)),Kt=[Pt],Nt={key:0,class:"read-width"},Lt=C(()=>t("i",null,"页面宽度",-1)),Ht={class:"resize"},zt=C(()=>t("em",{class:"iconfont"},"",-1)),Jt=[zt],Wt=C(()=>t("b",null,null,-1)),Tt={class:"lang"},qt=C(()=>t("b",null,null,-1)),Gt=C(()=>t("em",{class:"iconfont"},"",-1)),Zt=[Gt],Yt={class:"infinite-loading"},_t=C(()=>t("i",null,"无限加载",-1)),Xt={__name:"ReadSettings",setup(s){const a=ue(),c=u(0),h=u(a.config.theme==6),l=u(""),D=Fe([{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)"}]),B=u({display:"inline",color:"rgba(255,255,255,0.2)"}),m=u(["雅黑","宋体","楷书"]),f=u(a.config.customFontName),d=u(!1);ke(()=>{var b=a.config;c.value=b.theme,c.value==6?l.value="":l.value=""});const i=v(()=>a.config),V=v(()=>({background:J.themes[i.value.theme].popup})),x=v(()=>a.config.theme),S=v(()=>a.config.font),E=v(()=>a.config.fontSize),K=v(()=>a.config.readWidth),H=v(()=>a.config.infiniteLoading),R=b=>{b==6?(h.value=!0,l.value="",B.value.color="#ed4259"):(h.value=!1,l.value="",B.value.color="rgba(255,255,255,0.2)"),i.value.theme=b,N(i.value)},F=b=>{i.value.font=b,N(i.value)},p=()=>{i.value.font=-1,i.value.customFontName=f.value,N(i.value)},I=()=>{i.value.fontSize<48&&(i.value.fontSize+=2),N(i.value)},j=()=>{i.value.fontSize>12&&(i.value.fontSize-=2),N(i.value)},ge=()=>{i.value.readWidth+=160,N(i.value)},ie=()=>{i.value.readWidth>640&&(i.value.readWidth-=160),N(i.value)},$=b=>{i.value.infiniteLoading=b,N(i.value)},N=b=>{a.setConfig(b),localStorage.setItem("config",JSON.stringify(b)),ee(b)},ee=b=>{ve.saveReadConfig(b)};return(b,k)=>{const te=Ke,Y=Ne,G=Se;return r(),g("div",{class:Q(["settings-wrapper",{night:o(h),day:!o(h)}]),style:T(o(V))},[gt,t("div",pt,[t("ul",null,[t("li",ft,[vt,(r(!0),g(le,null,ae(o(D),(w,L)=>(r(),g("span",{class:Q(["theme-item",{selected:o(x)==L}]),key:L,style:T(w),ref_for:!0,ref:"themes",onClick:pe=>R(L)},[L<6?(r(),g("em",mt,"")):(r(),g("em",bt,X(o(l)),1))],14,ht))),128))]),t("li",yt,[Bt,(r(!0),g(le,null,ae(o(m),(w,L)=>(r(),g("span",{class:Q(["font-item",{selected:o(S)==L}]),key:L,onClick:pe=>F(L)},X(w),11,Ct))),128))]),t("li",It,[kt,q(te,{effect:"dark",content:"自定义的字体名称",placement:"top"},{default:W(()=>[Oe(t("input",{type:"text",class:"font-item font-item-input","onUpdate:modelValue":k[0]||(k[0]=w=>re(f)?f.value=w:null),placeholder:"请输入自定义的字体名称"},null,512),[[Pe,o(f)]])]),_:1}),q(G,{placement:"top",width:"180",trigger:"click",visible:o(d),"onUpdate:visible":k[3]||(k[3]=w=>re(d)?d.value=w:null)},{reference:W(()=>[Ut]),default:W(()=>[St,Et,t("div",wt,[q(Y,{size:"small",plain:"",onClick:k[1]||(k[1]=w=>d.value=!1)},{default:W(()=>[ce("取消")]),_:1}),q(Y,{type:"primary",size:"small",onClick:k[2]||(k[2]=w=>{p(),d.value=!1})},{default:W(()=>[ce("确定")]),_:1})])]),_:1},8,["visible"])]),t("li",Qt,[Dt,t("div",Vt,[t("span",{class:"less",onClick:j},xt),Rt,ce(),t("span",Ft,X(o(E)),1),Ot,t("span",{class:"more",onClick:I},Kt)])]),o(a).miniInterface?ne("",!0):(r(),g("li",Nt,[Lt,t("div",Ht,[t("span",{class:"less",onClick:ie},Jt),Wt,ce(),t("span",Tt,X(o(K)),1),qt,t("span",{class:"more",onClick:ge},Zt)])])),t("li",Yt,[_t,(r(),g("span",{class:Q(["infinite-loading-item",{selected:o(H)==!1}]),key:0,onClick:k[4]||(k[4]=w=>$(!1))},"关闭",2)),(r(),g("span",{class:Q(["infinite-loading-item",{selected:o(H)==!0}]),key:1,onClick:k[5]||(k[5]=w=>$(!0))},"开启",2))])])])],6)}}},jt=de(Xt,[["__scopeId","data-v-9f479a0b"]]),$t=(s,a,c,h)=>(s/=h/2,s<1?c/2*s*s+a:(s--,-c/2*(s*(s-2)-1)+a)),eo=()=>{let s,a,c,h,l,D,B,m,f,d,i,V,x;function S(){let p=s.scrollTop||s.scrollY||s.pageYOffset;return p=typeof p>"u"?0:p,p}function E(p){const I=p.getBoundingClientRect().top,j=s.getBoundingClientRect?s.getBoundingClientRect().top:0;return I-j+c}function K(p){s.scrollTo?s.scrollTo(0,p):s.scrollTop=p}function H(p){d||(d=p),i=p-d,V=D(i,c,m,f),K(V),i(me("data-v-8da315d1"),s=s(),be(),s),oo=to(()=>t("div",{class:"title"},"目录",-1)),no={class:"cata"},so=["onClick"],ao={class:"log-text"},lo={__name:"PopCatalog",emits:["getContent"],setup(s,{emit:a}){const c=ue(),h=u(!1),{index:l}=he(c.readingBook),{catalog:D,popCataVisible:B}=Ee(c),m=v(()=>c.config.theme),f=v(()=>({background:J.themes[m.value].popup}));se(()=>{h.value=m.value==6});const d=u(),i=u();Z(B,()=>{Ae(()=>{let S=i.value;_(d.value[l.value],{container:S,duration:0})})});const V=S=>S==l.value,x=S=>{l.value=D.value.indexOf(S),c.setPopCataVisible(!1),c.setContentLoading(!0),a("getContent",l.value)};return(S,E)=>(r(),g("div",{class:"cata-wrapper",style:T(o(f))},[oo,t("div",{class:Q(["data-wrapper",{night:o(h),day:!o(h)}]),ref_key:"cataData",ref:i},[t("div",no,[(r(!0),g(le,null,ae(o(D),(K,H)=>(r(),g("div",{class:Q(["log",{selected:V(H)}]),key:K.durChapterIndex,onClick:R=>x(K),ref_for:!0,ref_key:"cata",ref:d},[t("div",ao,X(K.title),1)],10,so))),128))])],2)],4))}},io=de(lo,[["__scopeId","data-v-8da315d1"]]);const M=s=>(me("data-v-23e7abbd"),s=s(),be(),s),co={class:"tools"},Ao=M(()=>t("div",{class:"iconfont"},"",-1)),ro=M(()=>t("div",{class:"icon-text"},"目录",-1)),uo=[Ao,ro],go=M(()=>t("div",{class:"iconfont"},"",-1)),po=M(()=>t("div",{class:"icon-text"},"设置",-1)),fo=[go,po],vo=M(()=>t("div",{class:"iconfont"},"",-1)),ho=M(()=>t("div",{class:"icon-text"},"书架",-1)),mo=[vo,ho],bo=M(()=>t("div",{class:"iconfont"},"",-1)),yo=M(()=>t("div",{class:"icon-text"},"顶部",-1)),Bo=[bo,yo],Co=M(()=>t("div",{class:"iconfont"},"",-1)),Io=M(()=>t("div",{class:"icon-text"},"底部",-1)),ko=[Co,Io],So={class:"tools"},Eo=M(()=>t("div",{class:"iconfont"},"",-1)),wo={key:0},Uo={key:0},Qo=M(()=>t("div",{class:"iconfont"},"",-1)),Do=M(()=>t("div",{class:"chapter-bar"},null,-1)),Vo={class:"content"},Mo=["index"],xo={__name:"BookChapter",setup(s){const a=u(!1),c=u(null),h=u();Z(a,e=>{var n;if(!e)return(n=c.value)==null?void 0:n.close();c.value=Je.service({target:h.value,spinner:We,text:"正在获取信息",lock:!0})});const l=ue();try{const e=JSON.parse(localStorage.getItem("config"));e!=null&&l.setConfig(e)}catch{localStorage.removeItem("config")}const D=u(),B=u(!0),m=u(!1),f=u([]),d=u(null),i=u(null),{catalog:V,popCataVisible:x,readSettingsVisible:S,miniInterface:E,showContent:K}=Ee(l),{chapterPos:H,index:R}=he(l.readingBook),{theme:F,infiniteLoading:p}=he(l.config),I=v(()=>J.themes[F.value].body),j=v(()=>J.themes[F.value].content),ge=v(()=>J.themes[F.value].popup),ie=v(()=>E.value?window.innerWidth+"px":l.config.readWidth-130+"px"),$=v(()=>E.value?window.innerWidth-33:l.config.readWidth-33),N=v(()=>({background:J.themes[F.value].body})),ee=v(()=>({background:J.themes[F.value].content,width:ie.value})),b=v(()=>({background:J.themes[F.value].popup,marginLeft:E.value?0:-(l.config.readWidth/2+68)+"px",display:E.value&&!m.value?"none":"block"})),k=v(()=>({background:J.themes[F.value].popup,marginRight:E.value?0:-(l.config.readWidth/2+52)+"px",display:E.value&&!m.value?"none":"block"})),te=u(!1);se(()=>{te.value=F.value==6}),Z(I,e=>{N.value.background=e}),Z(j,e=>{ee.value.background=e}),Z(ie,e=>{ee.value.width=e;let n=-((parseInt(e)+130)/2+68)+"px",O=-((parseInt(e)+130)/2+52)+"px";b.value.marginLeft=n,k.value.marginRight=O}),Z(ge,e=>{b.value.background=e,k.value.background=e}),se(()=>{f.value.length>0&&(l.setContentLoading(!1),xe())}),se(()=>{var e;document.title=((e=V.value[R.value])==null?void 0:e.title)||document.title,l.saveBookProcess()}),se(()=>{var e,n;p.value?(n=d.value)==null||n.observe(D.value):(e=d.value)==null||e.disconnect()});const Y=u(),G=(e,n=!0,O=0)=>{n&&(l.setShowContent(!1),a.value=!0,_(Y.value,{duration:0}),Ue(e,O));let y=sessionStorage.getItem("bookUrl"),{title:P,index:U}=V.value[e];ve.getBookContent(y,U).then(A=>{if(A.data.isSuccess){let Re=A.data.data.split(/\n+/);fe({index:e,content:Re,title:P},n)}else{z({message:A.data.errorMsg,type:"error"});let oe=[A.data.errorMsg];fe({index:e,content:oe,title:P},n)}if(l.setContentLoading(!0),a.value=!1,B.value=!1,l.setShowContent(!0),!A.data.isSuccess)throw A.data},A=>{throw z({message:"获取章节内容失败",type:"error"}),fe({index:e,content:["获取章节内容失败!"],title:P},n),a.value=!1,l.setShowContent(!0),A})},w=u(),L=u(),pe=()=>{_(Y.value)},we=()=>{_(L.value)},ye=()=>{l.setContentLoading(!0);let e=R.value+1;typeof V.value[e]<"u"?(z({message:"下一章",type:"info"}),G(e)):z({message:"本章是最后一章",type:"error"})},Be=()=>{l.setContentLoading(!0);let e=R.value-1;typeof V.value[e]<"u"?(z({message:"上一章",type:"info"}),G(e)):z({message:"本章是第一章",type:"error"})},Ue=(e,n=H.value)=>{let O=sessionStorage.getItem("bookUrl");var y=JSON.parse(localStorage.getItem(O));y.index=e,y.chapterPos=n,localStorage.setItem(O,JSON.stringify(y)),y=JSON.parse(localStorage.getItem("readingRecent")),y.chapterIndex=e,y.chapterPos=n,localStorage.setItem("readingRecent",JSON.stringify(y)),R.value=e,H.value=n,sessionStorage.setItem("chapterIndex",e),sessionStorage.setItem("chapterPos",String(n))},fe=async(e,n)=>{n&&f.value.splice(0),f.value.push(e)},Qe=()=>{let e=f.value.slice(-1)[0].index;V.value.length-1>e&&G(e+1,!1)},De=He(),Ce=()=>{De.push("/")},Ie=e=>{switch(e.key){case"ArrowLeft":e.stopPropagation(),e.preventDefault(),Be();break;case"ArrowRight":e.stopPropagation(),e.preventDefault(),ye();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),document.documentElement.scrollTop===0?z({message:"已到达页面顶部",type:"warn"}):_(0-document.documentElement.clientHeight+100);break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),document.documentElement.clientHeight+document.documentElement.scrollTop===document.documentElement.scrollHeight?z({message:"已到达页面底部",type:"warn"}):_(document.documentElement.clientHeight-100);break}},Ve=e=>{if(!a.value)for(let{isIntersecting:n}of e){if(!n)return;Qe()}},Me=e=>{Ae(()=>{for(let{isIntersecting:n,target:O,boundingClientRect:y}of e){let P=O.querySelector(".title");if(!P)return;let U=parseInt(P.getAttribute("index"));n?R.value=U:y.top<0?R.value=U+1:R.value=U-1}})},xe=()=>{Ae(()=>{let e=w.value;e&&e.forEach(n=>i.value.observe(n))})};return ke(()=>{a.value=!0;let e=sessionStorage.getItem("bookUrl"),n=sessionStorage.getItem("bookName"),O=sessionStorage.getItem("bookAuthor"),y=Number(sessionStorage.getItem("chapterIndex")||0),P=Number(sessionStorage.getItem("chapterPos")||0);var U=JSON.parse(localStorage.getItem(e));(U==null||y!=U.index||P!=U.chapterPos)&&(U={bookName:n,bookAuthor:O,bookUrl:e,index:y,chapterPos:P},localStorage.setItem(e,JSON.stringify(U))),ve.getChapterList(e).then(A=>{if(a.value=!1,!A.data.isSuccess){z({message:A.data.errorMsg,type:"error"}),setTimeout(Ce,500);return}let oe=A.data.data;l.setCatalog(oe),l.setReadingBook(U),G(y,!0,P),window.addEventListener("keyup",Ie),d.value=new IntersectionObserver(Ve,{rootMargin:"-100% 0% 20% 0%"}),p.value&&d.value.observe(D.value),i.value=new IntersectionObserver(Me),document.title=null,document.title=n+" | "+V.value[y].title},A=>{throw a.value=!1,z({message:"获取书籍目录失败",type:"error"}),A})}),Le(()=>{var e,n;window.removeEventListener("keyup",Ie),S.value=!1,x.value=!1,(e=d.value)==null||e.disconnect(),(n=i.value)==null||n.disconnect()}),(e,n)=>{const O=io,y=Se,P=jt,U=ut;return r(),g("div",{class:Q(["chapter-wrapper",{night:o(te),day:!o(te)}]),style:T(o(N)),onClick:n[2]||(n[2]=A=>m.value=!o(m))},[t("div",{class:"tool-bar",style:T(o(b))},[t("div",co,[q(y,{placement:"right",width:o($),trigger:"click","show-arrow":!1,visible:o(x),"onUpdate:visible":n[0]||(n[0]=A=>re(x)?x.value=A:null),"popper-class":"pop-cata"},{reference:W(()=>[t("div",{class:Q(["tool-icon",{"no-point":o(B)}])},uo,2)]),default:W(()=>[q(O,{onGetContent:G,class:"popup"})]),_:1},8,["width","visible"]),q(y,{placement:"right",width:o($),trigger:"click","show-arrow":!1,visible:o(S),"onUpdate:visible":n[1]||(n[1]=A=>re(S)?S.value=A:null),"popper-class":"pop-setting"},{reference:W(()=>[t("div",{class:Q(["tool-icon",{"no-point":o(B)}])},fo,2)]),default:W(()=>[q(P,{class:"popup"})]),_:1},8,["width","visible"]),t("div",{class:"tool-icon",onClick:Ce},mo),t("div",{class:Q(["tool-icon",{"no-point":o(B)}]),onClick:pe},Bo,2),t("div",{class:Q(["tool-icon",{"no-point":o(B)}]),onClick:we},ko,2)])],4),t("div",{class:"read-bar",style:T(o(k))},[t("div",So,[t("div",{class:Q(["tool-icon",{"no-point":o(B)}]),onClick:Be},[Eo,o(E)?(r(),g("span",wo,"上一章")):ne("",!0)],2),t("div",{class:Q(["tool-icon",{"no-point":o(B)}]),onClick:ye},[o(E)?(r(),g("span",Uo,"下一章")):ne("",!0),Qo],2)])],4),Do,t("div",{class:"chapter",ref_key:"content",ref:h,style:T(o(ee))},[t("div",Vo,[t("div",{class:"top-bar",ref_key:"top",ref:Y},null,512),(r(!0),g(le,null,ae(o(f),A=>(r(),g("div",{key:A.index,ref_for:!0,ref_key:"chapter",ref:w},[o(K)?(r(),g("div",{key:0,class:"title",index:A.index},X(A.title),9,Mo)):ne("",!0),o(K)?(r(),ze(U,{key:1,carray:A.content},null,8,["carray"])):ne("",!0)]))),128)),t("div",{class:"loading",ref_key:"loading",ref:D},null,512),t("div",{class:"bottom-bar",ref_key:"bottom",ref:L},null,512)])],4)],6)}}},Po=de(xo,[["__scopeId","data-v-23e7abbd"]]);export{Po as default};
+import{_ as de,u as ue,A as ve}from"./index-cbd182e6.js";import{q as v,P as Z,a8 as Ae,o as r,d as g,M as ae,a9 as T,u as o,F as le,m as u,aa as Fe,R as ke,g as t,n as Q,t as X,e as q,w as W,a2 as Oe,v as re,ab as Pe,f as ce,K as ne,ac as Ke,D as Ne,ad as Se,p as me,i as be,ae as he,s as Ee,I as se,B as z,af as Le,a6 as He,c as ze,a7 as Je}from"./vendor-8be1f5fb.js";import{l as We}from"./el-loading-15d78e2b.js";const Te="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyAgMAAABjUWAiAAAADFBMVEXr5djn4dTp49bt59rT6LKxAAACnElEQVQozw3NUUwScRzA8d8R6MF8Y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LkEQSov9qjd42HaDjI34gEqS9TUueAk+sc4qg5ws407KQYKs8G1jv4xBlqBVk6cb4dISZIwVi1Jzu4+HLk6lyfUxkXvwy+1Q+4WVdHIhwfybZ6CWVhxMEhShOgsP/HOW0MvZJeFwAAAABJRU5ErkJggg==";var J={themes:[{body:"#ede7da url("+Te+") repeat",content:"#ede7da url("+qe+") repeat",popup:"#ede7da url("+Ge+") repeat"},{body:"#ede7da url("+Ze+") repeat",content:"#ede7da url("+Ye+") repeat",popup:"#ede7da url("+_e+") repeat"},{body:"#ede7da url("+Xe+") repeat",content:"#ede7da url("+je+") repeat",popup:"#ede7da url("+$e+") repeat"},{body:"#ede7da url("+et+") repeat",content:"#ede7da url("+tt+") repeat",popup:"#ede7da url("+ot+") repeat"},{body:"#ebcece repeat",content:"#f5e4e4 repeat",popup:"#faeceb repeat"},{body:"#ede7da url("+nt+") repeat",content:"#ede7da url("+st+") repeat",popup:"#ede7da url("+at+") repeat"},{body:"#ede7da url("+lt+") repeat",content:"#ede7da url("+it+") repeat",popup:"#ede7da url("+ct+") repeat"}],fonts:[{fontFamily:"Microsoft YaHei, PingFangSC-Regular, HelveticaNeue-Light, Helvetica Neue Light, sans-serif"},{fontFamily:"PingFangSC-Regular, -apple-system, Simsun"},{fontFamily:"Kaiti"}]};const At=["src"],rt=["innerHTML"],dt={__name:"ChapterContent",props:["carray"],setup(s){const a=s,c=ue(),h=v(()=>c.config.font>=0?J.fonts[c.config.font]:{fontFamily:c.config.customFontName}),l=v(()=>c.config.fontSize+"px"),D=v(()=>{let m=h.value;return m.fontSize=l.value,m});function B(m){const f=/]*src="([^"]*(?:"[^>]+\})?)"[^>]*>/;return m.match(f)[1]}return Z(l,()=>{c.setShowContent(!1),Ae(()=>{c.setShowContent(!0)})}),(m,f)=>(r(!0),g(le,null,ae(a.carray,(d,i)=>(r(),g("div",{key:i},[/^\s*]*src[^>]+>$/.test(d)?(r(),g("img",{key:0,class:"full",src:B(d),loading:"lazy"},null,8,At)):(r(),g("p",{key:1,style:T(o(D)),innerHTML:d},null,12,rt))]))),128))}},ut=de(dt,[["__scopeId","data-v-f9132275"]]);const C=s=>(me("data-v-9f479a0b"),s=s(),be(),s),gt=C(()=>t("div",{class:"settings-title"},"设置",-1)),pt={class:"setting-list"},ft={class:"theme-list"},vt=C(()=>t("i",null,"阅读主题",-1)),ht=["onClick"],mt={key:0,class:"iconfont"},bt={key:1,class:"moon-icon"},yt={class:"font-list"},Bt=C(()=>t("i",null,"正文字体",-1)),Ct=["onClick"],It={class:"font-list"},kt=C(()=>t("i",null,"自定字体",-1)),St=C(()=>t("p",null," 请确认输入的字体名称完整无误,并且该字体已经安装在您的设备上。 ",-1)),Et=C(()=>t("p",null,"确定保存吗?",-1)),wt={style:{"text-align":"right",margin:"0"}},Ut=C(()=>t("span",{type:"text",class:"font-item"},"保存",-1)),Qt={class:"font-size"},Dt=C(()=>t("i",null,"字体大小",-1)),Vt={class:"resize"},Mt=C(()=>t("em",{class:"iconfont"},"",-1)),xt=[Mt],Rt=C(()=>t("b",null,null,-1)),Ft={class:"lang"},Ot=C(()=>t("b",null,null,-1)),Pt=C(()=>t("em",{class:"iconfont"},"",-1)),Kt=[Pt],Nt={key:0,class:"read-width"},Lt=C(()=>t("i",null,"页面宽度",-1)),Ht={class:"resize"},zt=C(()=>t("em",{class:"iconfont"},"",-1)),Jt=[zt],Wt=C(()=>t("b",null,null,-1)),Tt={class:"lang"},qt=C(()=>t("b",null,null,-1)),Gt=C(()=>t("em",{class:"iconfont"},"",-1)),Zt=[Gt],Yt={class:"infinite-loading"},_t=C(()=>t("i",null,"无限加载",-1)),Xt={__name:"ReadSettings",setup(s){const a=ue(),c=u(0),h=u(a.config.theme==6),l=u(""),D=Fe([{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)"}]),B=u({display:"inline",color:"rgba(255,255,255,0.2)"}),m=u(["雅黑","宋体","楷书"]),f=u(a.config.customFontName),d=u(!1);ke(()=>{var b=a.config;c.value=b.theme,c.value==6?l.value="":l.value=""});const i=v(()=>a.config),V=v(()=>({background:J.themes[i.value.theme].popup})),x=v(()=>a.config.theme),S=v(()=>a.config.font),E=v(()=>a.config.fontSize),K=v(()=>a.config.readWidth),H=v(()=>a.config.infiniteLoading),R=b=>{b==6?(h.value=!0,l.value="",B.value.color="#ed4259"):(h.value=!1,l.value="",B.value.color="rgba(255,255,255,0.2)"),i.value.theme=b,N(i.value)},F=b=>{i.value.font=b,N(i.value)},p=()=>{i.value.font=-1,i.value.customFontName=f.value,N(i.value)},I=()=>{i.value.fontSize<48&&(i.value.fontSize+=2),N(i.value)},j=()=>{i.value.fontSize>12&&(i.value.fontSize-=2),N(i.value)},ge=()=>{i.value.readWidth+=160,N(i.value)},ie=()=>{i.value.readWidth>640&&(i.value.readWidth-=160),N(i.value)},$=b=>{i.value.infiniteLoading=b,N(i.value)},N=b=>{a.setConfig(b),localStorage.setItem("config",JSON.stringify(b)),ee(b)},ee=b=>{ve.saveReadConfig(b)};return(b,k)=>{const te=Ke,Y=Ne,G=Se;return r(),g("div",{class:Q(["settings-wrapper",{night:o(h),day:!o(h)}]),style:T(o(V))},[gt,t("div",pt,[t("ul",null,[t("li",ft,[vt,(r(!0),g(le,null,ae(o(D),(w,L)=>(r(),g("span",{class:Q(["theme-item",{selected:o(x)==L}]),key:L,style:T(w),ref_for:!0,ref:"themes",onClick:pe=>R(L)},[L<6?(r(),g("em",mt,"")):(r(),g("em",bt,X(o(l)),1))],14,ht))),128))]),t("li",yt,[Bt,(r(!0),g(le,null,ae(o(m),(w,L)=>(r(),g("span",{class:Q(["font-item",{selected:o(S)==L}]),key:L,onClick:pe=>F(L)},X(w),11,Ct))),128))]),t("li",It,[kt,q(te,{effect:"dark",content:"自定义的字体名称",placement:"top"},{default:W(()=>[Oe(t("input",{type:"text",class:"font-item font-item-input","onUpdate:modelValue":k[0]||(k[0]=w=>re(f)?f.value=w:null),placeholder:"请输入自定义的字体名称"},null,512),[[Pe,o(f)]])]),_:1}),q(G,{placement:"top",width:"180",trigger:"click",visible:o(d),"onUpdate:visible":k[3]||(k[3]=w=>re(d)?d.value=w:null)},{reference:W(()=>[Ut]),default:W(()=>[St,Et,t("div",wt,[q(Y,{size:"small",plain:"",onClick:k[1]||(k[1]=w=>d.value=!1)},{default:W(()=>[ce("取消")]),_:1}),q(Y,{type:"primary",size:"small",onClick:k[2]||(k[2]=w=>{p(),d.value=!1})},{default:W(()=>[ce("确定")]),_:1})])]),_:1},8,["visible"])]),t("li",Qt,[Dt,t("div",Vt,[t("span",{class:"less",onClick:j},xt),Rt,ce(),t("span",Ft,X(o(E)),1),Ot,t("span",{class:"more",onClick:I},Kt)])]),o(a).miniInterface?ne("",!0):(r(),g("li",Nt,[Lt,t("div",Ht,[t("span",{class:"less",onClick:ie},Jt),Wt,ce(),t("span",Tt,X(o(K)),1),qt,t("span",{class:"more",onClick:ge},Zt)])])),t("li",Yt,[_t,(r(),g("span",{class:Q(["infinite-loading-item",{selected:o(H)==!1}]),key:0,onClick:k[4]||(k[4]=w=>$(!1))},"关闭",2)),(r(),g("span",{class:Q(["infinite-loading-item",{selected:o(H)==!0}]),key:1,onClick:k[5]||(k[5]=w=>$(!0))},"开启",2))])])])],6)}}},jt=de(Xt,[["__scopeId","data-v-9f479a0b"]]),$t=(s,a,c,h)=>(s/=h/2,s<1?c/2*s*s+a:(s--,-c/2*(s*(s-2)-1)+a)),eo=()=>{let s,a,c,h,l,D,B,m,f,d,i,V,x;function S(){let p=s.scrollTop||s.scrollY||s.pageYOffset;return p=typeof p>"u"?0:p,p}function E(p){const I=p.getBoundingClientRect().top,j=s.getBoundingClientRect?s.getBoundingClientRect().top:0;return I-j+c}function K(p){s.scrollTo?s.scrollTo(0,p):s.scrollTop=p}function H(p){d||(d=p),i=p-d,V=D(i,c,m,f),K(V),i(me("data-v-8da315d1"),s=s(),be(),s),oo=to(()=>t("div",{class:"title"},"目录",-1)),no={class:"cata"},so=["onClick"],ao={class:"log-text"},lo={__name:"PopCatalog",emits:["getContent"],setup(s,{emit:a}){const c=ue(),h=u(!1),{index:l}=he(c.readingBook),{catalog:D,popCataVisible:B}=Ee(c),m=v(()=>c.config.theme),f=v(()=>({background:J.themes[m.value].popup}));se(()=>{h.value=m.value==6});const d=u(),i=u();Z(B,()=>{Ae(()=>{let S=i.value;_(d.value[l.value],{container:S,duration:0})})});const V=S=>S==l.value,x=S=>{l.value=D.value.indexOf(S),c.setPopCataVisible(!1),c.setContentLoading(!0),a("getContent",l.value)};return(S,E)=>(r(),g("div",{class:"cata-wrapper",style:T(o(f))},[oo,t("div",{class:Q(["data-wrapper",{night:o(h),day:!o(h)}]),ref_key:"cataData",ref:i},[t("div",no,[(r(!0),g(le,null,ae(o(D),(K,H)=>(r(),g("div",{class:Q(["log",{selected:V(H)}]),key:K.durChapterIndex,onClick:R=>x(K),ref_for:!0,ref_key:"cata",ref:d},[t("div",ao,X(K.title),1)],10,so))),128))])],2)],4))}},io=de(lo,[["__scopeId","data-v-8da315d1"]]);const M=s=>(me("data-v-23e7abbd"),s=s(),be(),s),co={class:"tools"},Ao=M(()=>t("div",{class:"iconfont"},"",-1)),ro=M(()=>t("div",{class:"icon-text"},"目录",-1)),uo=[Ao,ro],go=M(()=>t("div",{class:"iconfont"},"",-1)),po=M(()=>t("div",{class:"icon-text"},"设置",-1)),fo=[go,po],vo=M(()=>t("div",{class:"iconfont"},"",-1)),ho=M(()=>t("div",{class:"icon-text"},"书架",-1)),mo=[vo,ho],bo=M(()=>t("div",{class:"iconfont"},"",-1)),yo=M(()=>t("div",{class:"icon-text"},"顶部",-1)),Bo=[bo,yo],Co=M(()=>t("div",{class:"iconfont"},"",-1)),Io=M(()=>t("div",{class:"icon-text"},"底部",-1)),ko=[Co,Io],So={class:"tools"},Eo=M(()=>t("div",{class:"iconfont"},"",-1)),wo={key:0},Uo={key:0},Qo=M(()=>t("div",{class:"iconfont"},"",-1)),Do=M(()=>t("div",{class:"chapter-bar"},null,-1)),Vo={class:"content"},Mo=["index"],xo={__name:"BookChapter",setup(s){const a=u(!1),c=u(null),h=u();Z(a,e=>{var n;if(!e)return(n=c.value)==null?void 0:n.close();c.value=Je.service({target:h.value,spinner:We,text:"正在获取信息",lock:!0})});const l=ue();try{const e=JSON.parse(localStorage.getItem("config"));e!=null&&l.setConfig(e)}catch{localStorage.removeItem("config")}const D=u(),B=u(!0),m=u(!1),f=u([]),d=u(null),i=u(null),{catalog:V,popCataVisible:x,readSettingsVisible:S,miniInterface:E,showContent:K}=Ee(l),{chapterPos:H,index:R}=he(l.readingBook),{theme:F,infiniteLoading:p}=he(l.config),I=v(()=>J.themes[F.value].body),j=v(()=>J.themes[F.value].content),ge=v(()=>J.themes[F.value].popup),ie=v(()=>E.value?window.innerWidth+"px":l.config.readWidth-130+"px"),$=v(()=>E.value?window.innerWidth-33:l.config.readWidth-33),N=v(()=>({background:J.themes[F.value].body})),ee=v(()=>({background:J.themes[F.value].content,width:ie.value})),b=v(()=>({background:J.themes[F.value].popup,marginLeft:E.value?0:-(l.config.readWidth/2+68)+"px",display:E.value&&!m.value?"none":"block"})),k=v(()=>({background:J.themes[F.value].popup,marginRight:E.value?0:-(l.config.readWidth/2+52)+"px",display:E.value&&!m.value?"none":"block"})),te=u(!1);se(()=>{te.value=F.value==6}),Z(I,e=>{N.value.background=e}),Z(j,e=>{ee.value.background=e}),Z(ie,e=>{ee.value.width=e;let n=-((parseInt(e)+130)/2+68)+"px",O=-((parseInt(e)+130)/2+52)+"px";b.value.marginLeft=n,k.value.marginRight=O}),Z(ge,e=>{b.value.background=e,k.value.background=e}),se(()=>{f.value.length>0&&(l.setContentLoading(!1),xe())}),se(()=>{var e;document.title=((e=V.value[R.value])==null?void 0:e.title)||document.title,l.saveBookProcess()}),se(()=>{var e,n;p.value?(n=d.value)==null||n.observe(D.value):(e=d.value)==null||e.disconnect()});const Y=u(),G=(e,n=!0,O=0)=>{n&&(l.setShowContent(!1),a.value=!0,_(Y.value,{duration:0}),Ue(e,O));let y=sessionStorage.getItem("bookUrl"),{title:P,index:U}=V.value[e];ve.getBookContent(y,U).then(A=>{if(A.data.isSuccess){let Re=A.data.data.split(/\n+/);fe({index:e,content:Re,title:P},n)}else{z({message:A.data.errorMsg,type:"error"});let oe=[A.data.errorMsg];fe({index:e,content:oe,title:P},n)}if(l.setContentLoading(!0),a.value=!1,B.value=!1,l.setShowContent(!0),!A.data.isSuccess)throw A.data},A=>{throw z({message:"获取章节内容失败",type:"error"}),fe({index:e,content:["获取章节内容失败!"],title:P},n),a.value=!1,l.setShowContent(!0),A})},w=u(),L=u(),pe=()=>{_(Y.value)},we=()=>{_(L.value)},ye=()=>{l.setContentLoading(!0);let e=R.value+1;typeof V.value[e]<"u"?(z({message:"下一章",type:"info"}),G(e)):z({message:"本章是最后一章",type:"error"})},Be=()=>{l.setContentLoading(!0);let e=R.value-1;typeof V.value[e]<"u"?(z({message:"上一章",type:"info"}),G(e)):z({message:"本章是第一章",type:"error"})},Ue=(e,n=H.value)=>{let O=sessionStorage.getItem("bookUrl");var y=JSON.parse(localStorage.getItem(O));y.index=e,y.chapterPos=n,localStorage.setItem(O,JSON.stringify(y)),y=JSON.parse(localStorage.getItem("readingRecent")),y.chapterIndex=e,y.chapterPos=n,localStorage.setItem("readingRecent",JSON.stringify(y)),R.value=e,H.value=n,sessionStorage.setItem("chapterIndex",e),sessionStorage.setItem("chapterPos",String(n))},fe=async(e,n)=>{n&&f.value.splice(0),f.value.push(e)},Qe=()=>{let e=f.value.slice(-1)[0].index;V.value.length-1>e&&G(e+1,!1)},De=He(),Ce=()=>{De.push("/")},Ie=e=>{switch(e.key){case"ArrowLeft":e.stopPropagation(),e.preventDefault(),Be();break;case"ArrowRight":e.stopPropagation(),e.preventDefault(),ye();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),document.documentElement.scrollTop===0?z({message:"已到达页面顶部",type:"warn"}):_(0-document.documentElement.clientHeight+100);break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),document.documentElement.clientHeight+document.documentElement.scrollTop===document.documentElement.scrollHeight?z({message:"已到达页面底部",type:"warn"}):_(document.documentElement.clientHeight-100);break}},Ve=e=>{if(!a.value)for(let{isIntersecting:n}of e){if(!n)return;Qe()}},Me=e=>{Ae(()=>{for(let{isIntersecting:n,target:O,boundingClientRect:y}of e){let P=O.querySelector(".title");if(!P)return;let U=parseInt(P.getAttribute("index"));n?R.value=U:y.top<0?R.value=U+1:R.value=U-1}})},xe=()=>{Ae(()=>{let e=w.value;e&&e.forEach(n=>i.value.observe(n))})};return ke(()=>{a.value=!0;let e=sessionStorage.getItem("bookUrl"),n=sessionStorage.getItem("bookName"),O=sessionStorage.getItem("bookAuthor"),y=Number(sessionStorage.getItem("chapterIndex")||0),P=Number(sessionStorage.getItem("chapterPos")||0);var U=JSON.parse(localStorage.getItem(e));(U==null||y!=U.index||P!=U.chapterPos)&&(U={bookName:n,bookAuthor:O,bookUrl:e,index:y,chapterPos:P},localStorage.setItem(e,JSON.stringify(U))),ve.getChapterList(e).then(A=>{if(a.value=!1,!A.data.isSuccess){z({message:A.data.errorMsg,type:"error"}),setTimeout(Ce,500);return}let oe=A.data.data;l.setCatalog(oe),l.setReadingBook(U),G(y,!0,P),window.addEventListener("keyup",Ie),d.value=new IntersectionObserver(Ve,{rootMargin:"-100% 0% 20% 0%"}),p.value&&d.value.observe(D.value),i.value=new IntersectionObserver(Me),document.title=null,document.title=n+" | "+V.value[y].title},A=>{throw a.value=!1,z({message:"获取书籍目录失败",type:"error"}),A})}),Le(()=>{var e,n;window.removeEventListener("keyup",Ie),S.value=!1,x.value=!1,(e=d.value)==null||e.disconnect(),(n=i.value)==null||n.disconnect()}),(e,n)=>{const O=io,y=Se,P=jt,U=ut;return r(),g("div",{class:Q(["chapter-wrapper",{night:o(te),day:!o(te)}]),style:T(o(N)),onClick:n[2]||(n[2]=A=>m.value=!o(m))},[t("div",{class:"tool-bar",style:T(o(b))},[t("div",co,[q(y,{placement:"right",width:o($),trigger:"click","show-arrow":!1,visible:o(x),"onUpdate:visible":n[0]||(n[0]=A=>re(x)?x.value=A:null),"popper-class":"pop-cata"},{reference:W(()=>[t("div",{class:Q(["tool-icon",{"no-point":o(B)}])},uo,2)]),default:W(()=>[q(O,{onGetContent:G,class:"popup"})]),_:1},8,["width","visible"]),q(y,{placement:"right",width:o($),trigger:"click","show-arrow":!1,visible:o(S),"onUpdate:visible":n[1]||(n[1]=A=>re(S)?S.value=A:null),"popper-class":"pop-setting"},{reference:W(()=>[t("div",{class:Q(["tool-icon",{"no-point":o(B)}])},fo,2)]),default:W(()=>[q(P,{class:"popup"})]),_:1},8,["width","visible"]),t("div",{class:"tool-icon",onClick:Ce},mo),t("div",{class:Q(["tool-icon",{"no-point":o(B)}]),onClick:pe},Bo,2),t("div",{class:Q(["tool-icon",{"no-point":o(B)}]),onClick:we},ko,2)])],4),t("div",{class:"read-bar",style:T(o(k))},[t("div",So,[t("div",{class:Q(["tool-icon",{"no-point":o(B)}]),onClick:Be},[Eo,o(E)?(r(),g("span",wo,"上一章")):ne("",!0)],2),t("div",{class:Q(["tool-icon",{"no-point":o(B)}]),onClick:ye},[o(E)?(r(),g("span",Uo,"下一章")):ne("",!0),Qo],2)])],4),Do,t("div",{class:"chapter",ref_key:"content",ref:h,style:T(o(ee))},[t("div",Vo,[t("div",{class:"top-bar",ref_key:"top",ref:Y},null,512),(r(!0),g(le,null,ae(o(f),A=>(r(),g("div",{key:A.index,ref_for:!0,ref_key:"chapter",ref:w},[o(K)?(r(),g("div",{key:0,class:"title",index:A.index},X(A.title),9,Mo)):ne("",!0),o(K)?(r(),ze(U,{key:1,carray:A.content},null,8,["carray"])):ne("",!0)]))),128)),t("div",{class:"loading",ref_key:"loading",ref:D},null,512),t("div",{class:"bottom-bar",ref_key:"bottom",ref:L},null,512)])],4)],6)}}},Po=de(xo,[["__scopeId","data-v-23e7abbd"]]);export{Po as default};
diff --git a/app/src/main/assets/web/vue/assets/BookShelf-e7345cac.js b/app/src/main/assets/web/vue/assets/BookShelf-3852f1dd.js
similarity index 98%
rename from app/src/main/assets/web/vue/assets/BookShelf-e7345cac.js
rename to app/src/main/assets/web/vue/assets/BookShelf-3852f1dd.js
index a9340de47..1ce2438e4 100644
--- a/app/src/main/assets/web/vue/assets/BookShelf-e7345cac.js
+++ b/app/src/main/assets/web/vue/assets/BookShelf-3852f1dd.js
@@ -1 +1 @@
-import{a1 as U,q as Q,o as M,d as I,g as e,F as P,M as V,t as v,a2 as k,a3 as B,c as q,w as z,f as L,u as l,a4 as G,a5 as N,p as $,i as W,s as X,m as A,P as j,I as H,R as ee,B as x,e as C,v as te,J as se,n as J,a6 as ae,C as oe,x as ne,a7 as re}from"./vendor-8be1f5fb.js";import{_ as Z,u as ce,A as T}from"./index-bae5dedd.js";import{l as le}from"./el-loading-15d78e2b.js";const ie=/\[([^\]]+)]|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 de(t,r,s,d){let p=t<12?"AM":"PM";return d&&(p=p.split("").reduce((g,a)=>g+=`${a}.`,"")),s?p.toLowerCase():p}function ue(t,r,s={}){var d;const p=t.getFullYear(),g=t.getMonth(),a=t.getDate(),i=t.getHours(),_=t.getMinutes(),c=t.getSeconds(),h=t.getMilliseconds(),u=t.getDay(),m=(d=s.customMeridiem)!=null?d:de,D={YY:()=>String(p).slice(-2),YYYY:()=>p,M:()=>g+1,MM:()=>`${g+1}`.padStart(2,"0"),MMM:()=>t.toLocaleDateString(s.locales,{month:"short"}),MMMM:()=>t.toLocaleDateString(s.locales,{month:"long"}),D:()=>String(a),DD:()=>`${a}`.padStart(2,"0"),H:()=>String(i),HH:()=>`${i}`.padStart(2,"0"),h:()=>`${i%12||12}`.padStart(1,"0"),hh:()=>`${i%12||12}`.padStart(2,"0"),m:()=>String(_),mm:()=>`${_}`.padStart(2,"0"),s:()=>String(c),ss:()=>`${c}`.padStart(2,"0"),SSS:()=>`${h}`.padStart(3,"0"),d:()=>u,dd:()=>t.toLocaleDateString(s.locales,{weekday:"narrow"}),ddd:()=>t.toLocaleDateString(s.locales,{weekday:"short"}),dddd:()=>t.toLocaleDateString(s.locales,{weekday:"long"}),A:()=>m(i,_),AA:()=>m(i,_,!1,!0),a:()=>m(i,_,!0),aa:()=>m(i,_,!0,!0)};return r.replace(ie,(R,E)=>E||D[R]())}const he=t=>{let r=new Date().getTime(),s=Math.floor((r-t)/1e3),d="";return s<=30?d="刚刚":s<60?d=s+"秒前":s<3600?d=Math.floor(s/60)+"分钟前":s<86400?d=Math.floor(s/3600)+"小时前":s<2592e3?d=Math.floor(s/86400)+"天前":d=ue(new Date(t),"YYYY-MM-DD"),d};const F=t=>($("data-v-655a8f47"),t=t(),W(),t),pe={class:"books-wrapper"},_e={class:"wrapper"},ve=["onClick"],ge={class:"cover-img"},me=["src"],fe={class:"info"},Se={class:"name"},we={class:"sub"},Ae={class:"author"},Me={class:"tags"},Ie={class:"update-info"},ye=F(()=>e("div",{class:"dot"},"•",-1)),ke={class:"size"},Be=F(()=>e("div",{class:"dot"},"•",-1)),xe={class:"date"},Ce={class:"last-chapter"},De={__name:"BookItems",props:["books","isSearch"],emits:["bookClick"],setup(t,{emit:r}){const s=t;U(a=>({"713bfbbc":l(g)}));const d=a=>r("bookClick",G(a)),p=a=>/^data:/.test(a)?a:location.origin+"/cover?path="+encodeURIComponent(a),g=Q(()=>s.isSearch?"space-between":"flex-start");return(a,i)=>{const _=N;return M(),I("div",pe,[e("div",_e,[(M(!0),I(P,null,V(s.books,c=>{var h;return M(),I("div",{class:"book",key:c.bookUrl,onClick:u=>d(c)},[e("div",ge,[(M(),I("img",{class:"cover",src:p(c.coverUrl),key:c.coverUrl,alt:"",loading:"lazy"},null,8,me))]),e("div",fe,[e("div",Se,v(c.name),1),e("div",we,[e("div",Ae,v(c.author),1),k(e("div",Me,[(M(!0),I(P,null,V((h=c.kind)==null?void 0:h.split(",").slice(0,2),u=>(M(),q(_,{key:u},{default:z(()=>[L(v(u),1)]),_:2},1024))),128))],512),[[B,s.isSearch]]),k(e("div",Ie,[ye,e("div",ke,"共"+v(c.totalChapterNum)+"章",1),Be,e("div",xe,v(l(he)(c.lastCheckTime)),1)],512),[[B,!s.isSearch]])]),k(e("div",{class:"intro"},v(c.intro),513),[[B,s.isSearch]]),k(e("div",{class:"dur-chapter"}," 已读:"+v(c.durChapterTitle),513),[[B,!s.isSearch]]),e("div",Ce,"最新:"+v(c.latestChapterTitle),1)])],8,ve)}),128))])])}}},Re=Z(De,[["__scopeId","data-v-655a8f47"]]);const Ee="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 Y=t=>($("data-v-0fc06008"),t=t(),W(),t),Te={class:"index-wrapper"},ze={class:"navigation-wrapper"},Le=Y(()=>e("div",{class:"navigation-title-wrapper"},[e("div",{class:"navigation-title"},"阅读"),e("div",{class:"navigation-sub-title"},"清风不识字,何故乱翻书")],-1)),Ye={class:"search-wrapper"},be={class:"bottom-wrapper"},Pe={class:"recent-wrapper"},Ve=Y(()=>e("div",{class:"recent-title"},"最近阅读",-1)),He={class:"reading-recent"},Je={class:"setting-wrapper"},Ne=Y(()=>e("div",{class:"setting-title"},"基本设定",-1)),$e={class:"setting-item"},We={class:"bottom-icons"},Ze={href:"https://github.com/gedoor/legado_web_bookshelf",target:"_blank"},Fe={class:"bottom-icon"},Oe=["src"],Ke={__name:"BookShelf",setup(t){const r=ce(),{connectStatus:s,connectType:d,newConnect:p,shelf:g}=X(r),a=A({name:"尚无阅读记录",author:"",url:"",chapterIndex:0,chapterPos:0}),i=A(!1),_=A(null),c=A(null);j(i,o=>{var n;if(!o)return(n=c.value)==null?void 0:n.close();c.value=re.service({target:_.value,spinner:le,text:"正在获取书籍信息",lock:!0})});const h=A([]);H(()=>{h.value.length>0&&(i.value=!1)});const u=A(""),m=A(!1);H(()=>{if(!(m.value&&u.value!="")){if(m.value=!1,h.value=[],u.value==""){h.value=g.value;return}h.value=g.value.filter(o=>o.name.includes(u.value)||o.author.includes(u.value))}});const D=()=>{u.value!=""&&(h.value=[],r.clearSearchBooks(),i.value=!0,m.value=!0,T.search(u.value,o=>{try{r.setSearchBooks(JSON.parse(o)),r.searchBooks.forEach(n=>h.value.push(n))}catch(n){throw x.error("后端数据错误"),n}},()=>{i.value=!1,h.value.length==0&&x.info("搜索结果为空")}))},R=()=>{},E=ae(),O=async o=>{const{bookUrl:n,name:S,author:f,durChapterIndex:w=0,durChapterPos:y=0}=o;await T.saveBook(o),b(n,S,f,w,y)},b=(o,n,S,f,w)=>{n!=="尚无阅读记录"&&(sessionStorage.setItem("bookUrl",o),sessionStorage.setItem("bookName",n),sessionStorage.setItem("bookAuthor",S),sessionStorage.setItem("chapterIndex",f),sessionStorage.setItem("chapterPos",w),a.value={name:n,author:S,url:o,chapterIndex:f,chapterPos:w},localStorage.setItem("readingRecent",JSON.stringify(a.value)),E.push({path:"/chapter"}))};ee(async()=>{let o=localStorage.getItem("readingRecent");o!=null&&(a.value=JSON.parse(o),typeof a.value.chapterIndex>"u"&&(a.value.chapterIndex=0)),i.value=!0,K()});const K=()=>{T.getBookShelf().then(o=>{r.setConnectType("success"),o.data.isSuccess?r.addBooks(o.data.data.sort(function(n,S){var f=n.durChapterTime||0,w=S.durChapterTime||0;return w-f})):(x.error(o.data.errorMsg),i.value=!1),r.setConnectStatus("已连接 "),r.setNewConnect(!1)}).catch(function(o){throw i.value=!1,r.setConnectType("danger"),r.setConnectStatus("连接失败"),x.error("后端连接失败"),r.setNewConnect(!1),o})};return(o,n)=>{const S=oe,f=N,w=Re;return M(),I("div",Te,[e("div",ze,[Le,e("div",Ye,[C(S,{placeholder:"搜索书籍,在线书籍自动加入书架",modelValue:l(u),"onUpdate:modelValue":n[0]||(n[0]=y=>te(u)?u.value=y:null),class:"search-input","prefix-icon":l(ne),onKeyup:se(D,["enter"])},null,8,["modelValue","prefix-icon","onKeyup"])]),e("div",be,[e("div",Pe,[Ve,e("div",He,[C(f,{type:l(a).name=="尚无阅读记录"?"warning":"",class:J(["recent-book",{"no-point":l(a).url==""}]),size:"large",onClick:n[1]||(n[1]=y=>b(l(a).url,l(a).name,l(a).author,l(a).chapterIndex,l(a).chapterPos))},{default:z(()=>[L(v(l(a).name),1)]),_:1},8,["type","class"])])]),e("div",Je,[Ne,e("div",$e,[C(f,{type:l(d),size:"large",class:J(["setting-connect",{"no-point":l(p)}]),onClick:R},{default:z(()=>[L(v(l(s)),1)]),_:1},8,["type","class"])])])]),e("div",We,[e("a",Ze,[e("div",Fe,[e("img",{src:l(Ee),alt:""},null,8,Oe)])])])]),e("div",{class:"shelf-wrapper",ref_key:"shelfWrapper",ref:_},[C(w,{books:l(h),onBookClick:O,isSearch:l(m)},null,8,["books","isSearch"])],512)])}}},Ge=Z(Ke,[["__scopeId","data-v-0fc06008"]]);export{Ge as default};
+import{a1 as U,q as Q,o as M,d as I,g as e,F as P,M as V,t as v,a2 as k,a3 as B,c as q,w as z,f as L,u as l,a4 as G,a5 as N,p as $,i as W,s as X,m as A,P as j,I as H,R as ee,B as x,e as C,v as te,J as se,n as J,a6 as ae,C as oe,x as ne,a7 as re}from"./vendor-8be1f5fb.js";import{_ as Z,u as ce,A as T}from"./index-cbd182e6.js";import{l as le}from"./el-loading-15d78e2b.js";const ie=/\[([^\]]+)]|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 de(t,r,s,d){let p=t<12?"AM":"PM";return d&&(p=p.split("").reduce((g,a)=>g+=`${a}.`,"")),s?p.toLowerCase():p}function ue(t,r,s={}){var d;const p=t.getFullYear(),g=t.getMonth(),a=t.getDate(),i=t.getHours(),_=t.getMinutes(),c=t.getSeconds(),h=t.getMilliseconds(),u=t.getDay(),m=(d=s.customMeridiem)!=null?d:de,D={YY:()=>String(p).slice(-2),YYYY:()=>p,M:()=>g+1,MM:()=>`${g+1}`.padStart(2,"0"),MMM:()=>t.toLocaleDateString(s.locales,{month:"short"}),MMMM:()=>t.toLocaleDateString(s.locales,{month:"long"}),D:()=>String(a),DD:()=>`${a}`.padStart(2,"0"),H:()=>String(i),HH:()=>`${i}`.padStart(2,"0"),h:()=>`${i%12||12}`.padStart(1,"0"),hh:()=>`${i%12||12}`.padStart(2,"0"),m:()=>String(_),mm:()=>`${_}`.padStart(2,"0"),s:()=>String(c),ss:()=>`${c}`.padStart(2,"0"),SSS:()=>`${h}`.padStart(3,"0"),d:()=>u,dd:()=>t.toLocaleDateString(s.locales,{weekday:"narrow"}),ddd:()=>t.toLocaleDateString(s.locales,{weekday:"short"}),dddd:()=>t.toLocaleDateString(s.locales,{weekday:"long"}),A:()=>m(i,_),AA:()=>m(i,_,!1,!0),a:()=>m(i,_,!0),aa:()=>m(i,_,!0,!0)};return r.replace(ie,(R,E)=>E||D[R]())}const he=t=>{let r=new Date().getTime(),s=Math.floor((r-t)/1e3),d="";return s<=30?d="刚刚":s<60?d=s+"秒前":s<3600?d=Math.floor(s/60)+"分钟前":s<86400?d=Math.floor(s/3600)+"小时前":s<2592e3?d=Math.floor(s/86400)+"天前":d=ue(new Date(t),"YYYY-MM-DD"),d};const F=t=>($("data-v-655a8f47"),t=t(),W(),t),pe={class:"books-wrapper"},_e={class:"wrapper"},ve=["onClick"],ge={class:"cover-img"},me=["src"],fe={class:"info"},Se={class:"name"},we={class:"sub"},Ae={class:"author"},Me={class:"tags"},Ie={class:"update-info"},ye=F(()=>e("div",{class:"dot"},"•",-1)),ke={class:"size"},Be=F(()=>e("div",{class:"dot"},"•",-1)),xe={class:"date"},Ce={class:"last-chapter"},De={__name:"BookItems",props:["books","isSearch"],emits:["bookClick"],setup(t,{emit:r}){const s=t;U(a=>({"713bfbbc":l(g)}));const d=a=>r("bookClick",G(a)),p=a=>/^data:/.test(a)?a:location.origin+"/cover?path="+encodeURIComponent(a),g=Q(()=>s.isSearch?"space-between":"flex-start");return(a,i)=>{const _=N;return M(),I("div",pe,[e("div",_e,[(M(!0),I(P,null,V(s.books,c=>{var h;return M(),I("div",{class:"book",key:c.bookUrl,onClick:u=>d(c)},[e("div",ge,[(M(),I("img",{class:"cover",src:p(c.coverUrl),key:c.coverUrl,alt:"",loading:"lazy"},null,8,me))]),e("div",fe,[e("div",Se,v(c.name),1),e("div",we,[e("div",Ae,v(c.author),1),k(e("div",Me,[(M(!0),I(P,null,V((h=c.kind)==null?void 0:h.split(",").slice(0,2),u=>(M(),q(_,{key:u},{default:z(()=>[L(v(u),1)]),_:2},1024))),128))],512),[[B,s.isSearch]]),k(e("div",Ie,[ye,e("div",ke,"共"+v(c.totalChapterNum)+"章",1),Be,e("div",xe,v(l(he)(c.lastCheckTime)),1)],512),[[B,!s.isSearch]])]),k(e("div",{class:"intro"},v(c.intro),513),[[B,s.isSearch]]),k(e("div",{class:"dur-chapter"}," 已读:"+v(c.durChapterTitle),513),[[B,!s.isSearch]]),e("div",Ce,"最新:"+v(c.latestChapterTitle),1)])],8,ve)}),128))])])}}},Re=Z(De,[["__scopeId","data-v-655a8f47"]]);const Ee="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAEC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4t11MKbV5dHR06bxvH5uZmbnZOfdN6O0RmMNE1CxulgCstdeKyBcAcFPrVTyltZ4wxiSVSuXplkhda72zh9P1rClFZFOSJHMdAP5Hq3rxR6eH+IGIvIOuqFlr94nIc10WdRzxy6riAMJnr2nn3JlcME3TppMWNWvtfhF5pmB8WX0RvZgEEEtaYUUbM2KtfUdE/FUubNHipvBmZIxZp5TaDwBprlQGIHLqzSHiPq01x4B7Xk6Z2d8TfDwPlwFozfd1f90598Hi4uKrY2NjFwrzQVkP81nNi/byAWOMv8gOp2n6fhnt/wDqJrRWLmhIrwAAAABJRU5ErkJggg==";const Y=t=>($("data-v-0fc06008"),t=t(),W(),t),Te={class:"index-wrapper"},ze={class:"navigation-wrapper"},Le=Y(()=>e("div",{class:"navigation-title-wrapper"},[e("div",{class:"navigation-title"},"阅读"),e("div",{class:"navigation-sub-title"},"清风不识字,何故乱翻书")],-1)),Ye={class:"search-wrapper"},be={class:"bottom-wrapper"},Pe={class:"recent-wrapper"},Ve=Y(()=>e("div",{class:"recent-title"},"最近阅读",-1)),He={class:"reading-recent"},Je={class:"setting-wrapper"},Ne=Y(()=>e("div",{class:"setting-title"},"基本设定",-1)),$e={class:"setting-item"},We={class:"bottom-icons"},Ze={href:"https://github.com/gedoor/legado_web_bookshelf",target:"_blank"},Fe={class:"bottom-icon"},Oe=["src"],Ke={__name:"BookShelf",setup(t){const r=ce(),{connectStatus:s,connectType:d,newConnect:p,shelf:g}=X(r),a=A({name:"尚无阅读记录",author:"",url:"",chapterIndex:0,chapterPos:0}),i=A(!1),_=A(null),c=A(null);j(i,o=>{var n;if(!o)return(n=c.value)==null?void 0:n.close();c.value=re.service({target:_.value,spinner:le,text:"正在获取书籍信息",lock:!0})});const h=A([]);H(()=>{h.value.length>0&&(i.value=!1)});const u=A(""),m=A(!1);H(()=>{if(!(m.value&&u.value!="")){if(m.value=!1,h.value=[],u.value==""){h.value=g.value;return}h.value=g.value.filter(o=>o.name.includes(u.value)||o.author.includes(u.value))}});const D=()=>{u.value!=""&&(h.value=[],r.clearSearchBooks(),i.value=!0,m.value=!0,T.search(u.value,o=>{try{r.setSearchBooks(JSON.parse(o)),r.searchBooks.forEach(n=>h.value.push(n))}catch(n){throw x.error("后端数据错误"),n}},()=>{i.value=!1,h.value.length==0&&x.info("搜索结果为空")}))},R=()=>{},E=ae(),O=async o=>{const{bookUrl:n,name:S,author:f,durChapterIndex:w=0,durChapterPos:y=0}=o;await T.saveBook(o),b(n,S,f,w,y)},b=(o,n,S,f,w)=>{n!=="尚无阅读记录"&&(sessionStorage.setItem("bookUrl",o),sessionStorage.setItem("bookName",n),sessionStorage.setItem("bookAuthor",S),sessionStorage.setItem("chapterIndex",f),sessionStorage.setItem("chapterPos",w),a.value={name:n,author:S,url:o,chapterIndex:f,chapterPos:w},localStorage.setItem("readingRecent",JSON.stringify(a.value)),E.push({path:"/chapter"}))};ee(async()=>{let o=localStorage.getItem("readingRecent");o!=null&&(a.value=JSON.parse(o),typeof a.value.chapterIndex>"u"&&(a.value.chapterIndex=0)),i.value=!0,K()});const K=()=>{T.getBookShelf().then(o=>{r.setConnectType("success"),o.data.isSuccess?r.addBooks(o.data.data.sort(function(n,S){var f=n.durChapterTime||0,w=S.durChapterTime||0;return w-f})):(x.error(o.data.errorMsg),i.value=!1),r.setConnectStatus("已连接 "),r.setNewConnect(!1)}).catch(function(o){throw i.value=!1,r.setConnectType("danger"),r.setConnectStatus("连接失败"),x.error("后端连接失败"),r.setNewConnect(!1),o})};return(o,n)=>{const S=oe,f=N,w=Re;return M(),I("div",Te,[e("div",ze,[Le,e("div",Ye,[C(S,{placeholder:"搜索书籍,在线书籍自动加入书架",modelValue:l(u),"onUpdate:modelValue":n[0]||(n[0]=y=>te(u)?u.value=y:null),class:"search-input","prefix-icon":l(ne),onKeyup:se(D,["enter"])},null,8,["modelValue","prefix-icon","onKeyup"])]),e("div",be,[e("div",Pe,[Ve,e("div",He,[C(f,{type:l(a).name=="尚无阅读记录"?"warning":"",class:J(["recent-book",{"no-point":l(a).url==""}]),size:"large",onClick:n[1]||(n[1]=y=>b(l(a).url,l(a).name,l(a).author,l(a).chapterIndex,l(a).chapterPos))},{default:z(()=>[L(v(l(a).name),1)]),_:1},8,["type","class"])])]),e("div",Je,[Ne,e("div",$e,[C(f,{type:l(d),size:"large",class:J(["setting-connect",{"no-point":l(p)}]),onClick:R},{default:z(()=>[L(v(l(s)),1)]),_:1},8,["type","class"])])])]),e("div",We,[e("a",Ze,[e("div",Fe,[e("img",{src:l(Ee),alt:""},null,8,Oe)])])])]),e("div",{class:"shelf-wrapper",ref_key:"shelfWrapper",ref:_},[C(w,{books:l(h),onBookClick:O,isSearch:l(m)},null,8,["books","isSearch"])],512)])}}},Ge=Z(Ke,[["__scopeId","data-v-0fc06008"]]);export{Ge as default};
diff --git a/app/src/main/assets/web/vue/assets/config-f4551984.js b/app/src/main/assets/web/vue/assets/config-7c50f05c.js
similarity index 80%
rename from app/src/main/assets/web/vue/assets/config-f4551984.js
rename to app/src/main/assets/web/vue/assets/config-7c50f05c.js
index 9a7215e86..f5ea2b4ff 100644
--- a/app/src/main/assets/web/vue/assets/config-f4551984.js
+++ b/app/src/main/assets/web/vue/assets/config-7c50f05c.js
@@ -1 +1 @@
-import{u as n,A as r}from"./index-bae5dedd.js";import"./vendor-8be1f5fb.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-cbd182e6.js";import"./vendor-8be1f5fb.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/index-672d9891.css b/app/src/main/assets/web/vue/assets/index-964f1746.css
similarity index 72%
rename from app/src/main/assets/web/vue/assets/index-672d9891.css
rename to app/src/main/assets/web/vue/assets/index-964f1746.css
index 9151db991..2a42f1553 100644
--- a/app/src/main/assets/web/vue/assets/index-672d9891.css
+++ b/app/src/main/assets/web/vue/assets/index-964f1746.css
@@ -1 +1 @@
-.el-link[data-v-aee57c78]{padding:4px}.el-text[data-v-aee57c78]{padding-top:20px}.tool[data-v-2f7954aa]{display:flex;margin:4px 0;justify-content:center}#source-list[data-v-2f7954aa]{margin-top:6px;height:calc(100vh - 119px)}#source-list[data-v-2f7954aa] .el-checkbox{margin-bottom:4px;width:100%}.error[data-v-2f7954aa]{border-color:var(--el-color-error)!important;color:var(--el-color-error)!important;--el-checkbox-checked-text-color: var(--el-color-error);--el-checkbox-checked-bg-color: var(--el-color-error);--el-checkbox-checked-input-border-color: var(--el-color-error)}[data-v-fe904689] #debug-text{height:calc(100vh - 86px)}[data-v-7e91a802] .el-input{width:100%}[data-v-7e91a802] #source-json{height:calc(100vh - 50px)}[data-v-dcce2457] .el-tabs__header{margin-bottom:5px}.flex-space-between[data-v-18524ea3]{display:flex;justify-content:space-between;align-items:baseline}.flex-column-center[data-v-18524ea3]{display:flex;flex-direction:column;justify-content:center}.menu>.el-button[data-v-18524ea3]{margin:4px;padding:1em;width:6em}.hotkeys-item .title[data-v-18524ea3]{width:5em;display:flex;justify-content:flex-end;margin-right:1em}.hotkeys-item__content[data-v-18524ea3]{display:flex;flex-wrap:wrap;flex:1}.hotkeys-item__content div[data-v-18524ea3]{margin-bottom:1em}.hotkeys-item__content span[data-v-18524ea3]{margin:.5em}[data-v-d4af52d7] .el-tab-pane{height:calc(100vh - 55px);padding-top:15px;padding-right:5px;overflow-y:auto}[data-v-d4af52d7] .el-tabs__header{margin:0}kbd{background-color:#fcfcfc;border-radius:3px;border:1px solid hsl(0deg,0%,80%);padding:4px 5px;font-weight:700}code{background-color:#f2f1f1;padding:.125rem .25rem;border-radius:.25rem;font-size:.835rem}body{padding:0;margin:0}.el-tabs__header{position:sticky;top:0px;z-index:2;background-color:#fff}.editor[data-v-ef32d41f]{display:flex;height:100vh;overflow:hidden}.editor .left[data-v-ef32d41f]{flex:1;margin-left:20px}.editor .right[data-v-ef32d41f]{flex:1;width:360px;margin-right:20px}.editor #loading[data-v-ef32d41f]{position:fixed;top:100px;left:90vw}
+.el-link[data-v-aee57c78]{padding:4px}.el-text[data-v-aee57c78]{padding-top:20px}.error[data-v-4f0ba808]{border-color:var(--el-color-error)!important;color:var(--el-color-error)!important;--el-checkbox-checked-text-color: var(--el-color-error);--el-checkbox-checked-bg-color: var(--el-color-error);--el-checkbox-checked-input-border-color: var(--el-color-error)}.tool[data-v-794cdcb4]{display:flex;margin:4px 0;justify-content:center}#source-list[data-v-794cdcb4]{margin-top:6px;height:calc(100vh - 119px)}#source-list[data-v-794cdcb4] .el-checkbox{margin-bottom:4px;width:100%}[data-v-fe904689] #debug-text{height:calc(100vh - 86px)}[data-v-7e91a802] .el-input{width:100%}[data-v-7e91a802] #source-json{height:calc(100vh - 50px)}[data-v-dcce2457] .el-tabs__header{margin-bottom:5px}.flex-space-between[data-v-18524ea3]{display:flex;justify-content:space-between;align-items:baseline}.flex-column-center[data-v-18524ea3]{display:flex;flex-direction:column;justify-content:center}.menu>.el-button[data-v-18524ea3]{margin:4px;padding:1em;width:6em}.hotkeys-item .title[data-v-18524ea3]{width:5em;display:flex;justify-content:flex-end;margin-right:1em}.hotkeys-item__content[data-v-18524ea3]{display:flex;flex-wrap:wrap;flex:1}.hotkeys-item__content div[data-v-18524ea3]{margin-bottom:1em}.hotkeys-item__content span[data-v-18524ea3]{margin:.5em}[data-v-d4af52d7] .el-tab-pane{height:calc(100vh - 55px);padding-top:15px;padding-right:5px;overflow-y:auto}[data-v-d4af52d7] .el-tabs__header{margin:0}kbd{background-color:#fcfcfc;border-radius:3px;border:1px solid hsl(0deg,0%,80%);padding:4px 5px;font-weight:700}code{background-color:#f2f1f1;padding:.125rem .25rem;border-radius:.25rem;font-size:.835rem}body{padding:0;margin:0}.el-tabs__header{position:sticky;top:0px;z-index:2;background-color:#fff}.editor[data-v-ef32d41f]{display:flex;height:100vh;overflow:hidden}.editor .left[data-v-ef32d41f]{flex:1;margin-left:20px}.editor .right[data-v-ef32d41f]{flex:1;width:360px;margin-right:20px}.editor #loading[data-v-ef32d41f]{position:fixed;top:100px;left:90vw}
diff --git a/app/src/main/assets/web/vue/assets/index-bae5dedd.js b/app/src/main/assets/web/vue/assets/index-cbd182e6.js
similarity index 74%
rename from app/src/main/assets/web/vue/assets/index-bae5dedd.js
rename to app/src/main/assets/web/vue/assets/index-cbd182e6.js
index 3ca45658a..ec4158ce7 100644
--- a/app/src/main/assets/web/vue/assets/index-bae5dedd.js
+++ b/app/src/main/assets/web/vue/assets/index-cbd182e6.js
@@ -1,13 +1,13 @@
-import{r as we,o as c,c as b,a as ne,b as re,d as B,e as h,w as a,f as S,u as i,l as F,g as m,F as I,E as xe,h as ae,p as Be,i as Ue,j as ue,s as X,t as Q,n as de,k as Ee,m as $,q as te,v as A,x as pe,y as Ve,z as Ne,A as se,V as Te,B as w,C as Y,D as he,G as Ie,H as $e,I as _e,J as Le,K as V,L as Re,M as J,N as ge,O as me,P as Oe,Q as q,R as Pe,S as De,T as Je,U as Ae,W as Ke,X as je,Y as He,Z as Fe,_ as qe,$ as ze,a0 as Me}from"./vendor-8be1f5fb.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const d of r.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&s(d)}).observe(document,{childList:!0,subtree:!0});function n(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerPolicy&&(r.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?r.credentials="include":o.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(o){if(o.ep)return;o.ep=!0;const r=n(o);fetch(o.href,r)}})();const We="modulepreload",Ge=function(e,t){return new URL(e,t).href},ie={},oe=function(t,n,s){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(r=>{if(r=Ge(r,s),r in ie)return;ie[r]=!0;const d=r.endsWith(".css"),k=d?'[rel="stylesheet"]':"";if(!!s)for(let x=o.length-1;x>=0;x--){const p=o[x];if(p.href===r&&(!d||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${k}`))return;const f=document.createElement("link");if(f.rel=d?"stylesheet":We,d||(f.as="script",f.crossOrigin=""),f.href=r,document.head.appendChild(f),d)return new Promise((x,p)=>{f.addEventListener("load",x),f.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>t())},L=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},Qe={};function Xe(e,t){const n=we("router-view");return c(),b(n)}const Ye=L(Qe,[["render",Xe]]),Se=[{path:"/",name:"shelf",component:()=>oe(()=>import("./BookShelf-e7345cac.js"),["./BookShelf-e7345cac.js","./vendor-8be1f5fb.js","./vendor-6f0d1692.css","./el-loading-15d78e2b.js","./el-loading-d0f2d079.css","./BookShelf-a8a609c2.css"],import.meta.url)},{path:"/chapter",name:"chapter",component:()=>oe(()=>import("./BookChapter-bddb4dc6.js"),["./BookChapter-bddb4dc6.js","./vendor-8be1f5fb.js","./vendor-6f0d1692.css","./el-loading-15d78e2b.js","./el-loading-d0f2d079.css","./BookChapter-3e045df4.css"],import.meta.url)}];ne({history:re(),routes:Se});const N=e=>(Be("data-v-aee57c78"),e=e(),Ue(),e),Ze=N(()=>m("br",null,null,-1)),et=N(()=>m("br",null,null,-1)),tt=N(()=>m("br",null,null,-1)),ot=N(()=>m("br",null,null,-1)),nt=N(()=>m("br",null,null,-1)),rt={style:{"margin-top":"20px"}},st=N(()=>m("code",null,"^$()[]{}.?+*|",-1)),it=N(()=>m("br",null,null,-1)),lt=N(()=>m("code",null,"(?s)",-1)),ct=N(()=>m("br",null,null,-1)),at=N(()=>m("code",null,"(?m)",-1)),ut=N(()=>m("br",null,null,-1)),dt=N(()=>m("code",null,"(?i)",-1)),pt=N(()=>m("br",null,null,-1)),ht={__name:"SourceHelp",setup(e){return(t,n)=>{const s=xe,o=ae;return c(),B(I,null,[h(s,{icon:i(F),href:"https://alanskycn.gitee.io/teachme/",target:"_blank"},{default:a(()=>[S("书源制作教程")]),_:1},8,["icon"]),Ze,h(s,{icon:i(F),href:"https://zhuanlan.zhihu.com/p/29436838",target:"_blank"},{default:a(()=>[S("xpath基础教程")]),_:1},8,["icon"]),et,h(s,{icon:i(F),href:"https://zhuanlan.zhihu.com/p/32187820",target:"_blank"},{default:a(()=>[S("xpath高级教程")]),_:1},8,["icon"]),tt,h(s,{icon:i(F),href:"https://www.w3cschool.cn/regex_rmjc",target:"_blank"},{default:a(()=>[S("正则表达式教程")]),_:1},8,["icon"]),ot,h(s,{icon:i(F),href:"https://regexr-cn.com/",target:"_blank"},{default:a(()=>[S("正则表达式在线验证工具")]),_:1},8,["icon"]),nt,m("div",rt,[m("span",null,[h(o,null,{default:a(()=>[st,S(" 这些是Java正则特殊符号,匹配需转义")]),_:1})]),it,m("span",null,[h(o,null,{default:a(()=>[lt,S(" 前缀表示跨行解析")]),_:1})]),ct,m("span",null,[h(o,null,{default:a(()=>[at,S(" 前缀表示逐行匹配")]),_:1})]),ut,m("span",null,[h(o,null,{default:a(()=>[dt,S(" 前缀表示忽略大小写")]),_:1})]),pt])],64)}}},_t=L(ht,[["__scopeId","data-v-aee57c78"]]),z=e=>e==null||e.length===0||/^\s+$/.test(e),ye=e=>"bookSourceName"in e,gt=e=>ye(e)?!z(e.bookSourceName)&&!z(e.bookSourceUrl)&&!z(e.bookSourceType):!z(e.sourceName)&&!z(e.sourceName),mt=(e,t)=>{var n,s,o,r,d,k,y,f;return ye(e)?(((n=e.bookSourceName)==null?void 0:n.includes(t))||((s=e.bookSourceUrl)==null?void 0:s.includes(t))||((o=e.bookSourceGroup)==null?void 0:o.includes(t))||((r=e.bookSourceComment)==null?void 0:r.includes(t)))??!1:(((d=e.sourceName)==null?void 0:d.includes(t))||((k=e.sourceUrl)==null?void 0:k.includes(t))||((y=e.sourceGroup)==null?void 0:y.includes(t))||((f=e.sourceComment)==null?void 0:f.includes(t)))??!1},St={ruleSearch:{},ruleBookInfo:{},ruleToc:{},ruleContent:{},ruleReview:{},ruleExplore:{}},yt={},O=/bookSource/i.test(location.href),le=O?St:yt,K=ue("source",{state:()=>({bookSources:[],rssSources:[],errorPushSources:[],currentSource:le,currentTab:localStorage.getItem("tabName")||"editTab",editTabSource:{},isDebuging:!1}),getters:{sources:e=>O?e.bookSources:e.rssSources,currentSourceUrl:e=>O?e.currentSource.bookSourceUrl:e.currentSource.sourceUrl,searchKey:e=>O?e.currentSource.ruleSearch.checkKeyWord||"我的":null},actions:{startDebug(){this.currentTab="editDebug",this.isDebuging=!0},debugFinish(){this.isDebuging=!1},saveSources(e){O?this.bookSources=e:this.rssSources=e},deleteSources(e){let t=O?this.bookSources:this.rssSources;e.forEach(n=>{let s=t.indexOf(n);s>-1&&t.splice(s,1)})},saveCurrentSource(){let e=this.currentSource,t,n;O?(t=this.bookSources,n="bookSourceUrl"):(t=this.rssSources,n="sourceUrl");let s=t.findIndex(o=>o[n]===e[n]);e=JSON.parse(JSON.stringify(e)),s>-1?t.splice(s,1,e):t.push(e)},changeCurrentSource(e){const t=JSON.stringify(e);this.currentSource=JSON.parse(t)},async setPushReturnSources(e){O?this.errorPushSources=this.sources.filter(t=>e.every(n=>n.bookSourceUrl!==t.bookSourceUrl)):this.errorPushSources=this.sources.filter(t=>e.every(n=>n.sourceUrl!==t.sourceUrl))},changeTabName(e){this.currentTab=e,localStorage.setItem("tabName",e)},changeEditTabSource(e){const t=JSON.stringify(e);this.editTabSource=JSON.parse(t)},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 n={new:[e],old:[]};localStorage.setItem("history",JSON.stringify(n))}},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=le},clearAllSource(){this.bookSources=[],this.rssSources=[]}}}),ft={__name:"SourceItem",props:["source"],setup(e){const t=K(),{errorPushSources:n}=X(t),s=o=>{t.changeCurrentSource(o)};return(o,r)=>{const d=Ee;return c(),b(d,{size:"large",border:"",label:e.source,class:de({error:i(n).includes(e.source)}),onChange:r[0]||(r[0]=k=>s(e.source)),key:e.source.bookSourceUrl},{default:a(()=>[S(Q(e.source.bookSourceName||e.source.sourceName),1)]),_:1},8,["label","class"])}}};const bt={class:"tool"},kt={__name:"SourceList",setup(e){const t=K(),n=$([]),s=$(""),{sources:o}=X(t),r=te(()=>/bookSource/.test(window.location.href)),d=()=>{t.deleteSources(n.value),n.value=[]},k=()=>{t.clearAllSource(),n.value=[]},y=te(()=>{let p=s.value;return p===""?o.value:o.value.filter(_=>mt(_,p))}),f=()=>{const p=document.createElement("input");p.type="file",p.accept=".json,.txt",p.addEventListener("change",_=>{const v=_.target.files[0];var E=new FileReader;E.readAsText(v),E.onload=()=>{try{const P=JSON.parse(E.result);t.saveSources(P)}catch{w({message:"上传的源格式错误",type:"error"})}}}),p.click()},x=()=>{const p=document.createElement("a");let _=n.value.length===0?y.value:n.value,v=r.value?"BookSource":"RssSource";p.download=`${v}_${Date().replace(/.*?\s(\d+)\s(\d+)\s(\d+:\d+:\d+).*/,"$2$1$3").replace(/:/g,"")}.json`;let E=new Blob([JSON.stringify(_,null,4)],{type:"application/json"});p.href=window.URL.createObjectURL(E),p.click()};return(p,_)=>{const v=Y,E=he,P=Ie;return c(),B(I,null,[h(v,{modelValue:i(s),"onUpdate:modelValue":_[0]||(_[0]=R=>A(s)?s.value=R:null),class:"search","prefix-icon":i(pe),placeholder:"筛选源"},null,8,["modelValue","prefix-icon"]),m("div",bt,[h(E,{onClick:f,icon:i(Ve)},{default:a(()=>[S(" 打开 ")]),_:1},8,["icon"]),h(E,{disabled:i(y).length===0,onClick:x,icon:i(Ne)},{default:a(()=>[S(" 导出")]),_:1},8,["disabled","icon"]),h(E,{icon:i(se),onClick:d,disabled:i(n).length===0},{default:a(()=>[S("删除")]),_:1},8,["icon","disabled"]),h(E,{type:"danger",icon:i(se),onClick:k,disabled:i(o).length===0},{default:a(()=>[S("清空")]),_:1},8,["icon","disabled"])]),h(P,{id:"source-list",modelValue:i(n),"onUpdate:modelValue":_[1]||(_[1]=R=>A(n)?n.value=R:null)},{default:a(()=>[h(i(Te),{style:{height:"100%","overflow-y":"auto","overflow-x":"hidden"},"data-key":"bookSourceUrl","data-sources":i(y),"data-component":ft,"estimate-size":45},null,8,["data-sources"])]),_:1},8,["modelValue"])],64)}}},vt=L(kt,[["__scopeId","data-v-2f7954aa"]]),Ct=1e3,U=$e.create({baseURL:location.origin,timeout:120*Ct}),{hostname:fe,port:be}=new URL(location.href),wt=/source/i.test(location.href),xt=e=>{throw wt&&w({message:"后端错误,检查网络或者阅读app",type:"error"}),e};U.interceptors.response.use(e=>e,xt);const Bt=()=>U.get("/getReadConfig"),Ut=e=>U.post("/saveReadConfig",e),Et=e=>U.post("/saveBookProgress",e),Vt=()=>U.get("/getBookshelf"),Nt=e=>U.get("/getChapterList?url="+encodeURIComponent(e)),Tt=(e,t)=>U.get("/getBookContent?url="+encodeURIComponent(e)+"&index="+t),It=(e,t,n)=>{const s=`ws://${fe}:${Number(be)+1}/searchBook`,o=new WebSocket(s);o.onopen=()=>{o.send(`{"key":"${e}"}`)},o.onmessage=({data:r})=>t(r),o.onclose=()=>{n()}},$t=e=>U.post("/saveBook",e),Lt=e=>U.post("/deleteBook",e),M=/bookSource/i.test(location.href),Rt=()=>M?U.get("getBookSources"):U.get("getRssSources"),Ot=e=>M?U.post("saveBookSource",e):U.post("saveRssSource",e),Pt=e=>M?U.post("saveBookSources",e):U.post("saveRssSources",e),Dt=e=>M?U.post("deleteBookSources",e):U.post("deleteRssSources",e),Jt=(e,t,n,s)=>{const o=`ws://${fe}:${Number(be)+1}/${M?"bookSource":"rssSource"}Debug`,r=new WebSocket(o);r.onopen=()=>{r.send(JSON.stringify({tag:e,key:t}))},r.onmessage=({data:d})=>n(d),r.onclose=()=>{w({message:"调试已关闭!",type:"info"}),s()}},j={getReadConfig:Bt,saveReadConfig:Ut,saveBookProcess:Et,getBookShelf:Vt,getChapterList:Nt,getBookContent:Tt,search:It,saveBook:$t,deleteBook:Lt,getSources:Rt,saveSources:Pt,saveSource:Ot,deleteSource:Dt,debug:Jt};const At={__name:"SourceDebug",setup(e){const t=K(),n=$(""),s=$("");_e(()=>{t.isDebuging&&r()});const o=k=>{let y=document.querySelector("#debug-text");y.scrollTop=y.scrollHeight,n.value+=k+`
-`},r=async()=>{n.value="",await j.saveSource(t.currentSource),j.debug(t.currentSourceUrl,s.value||t.searchKey,o,t.debugFinish)},d=te(()=>/bookSource/.test(window.location.href));return(k,y)=>{const f=Y;return c(),B(I,null,[i(d)?(c(),b(f,{key:0,id:"debug-key",modelValue:i(s),"onUpdate:modelValue":y[0]||(y[0]=x=>A(s)?s.value=x:null),placeholder:"搜索书名、作者","prefix-icon":i(pe),style:{"padding-bottom":"4px"},onKeydown:Le(r,["enter"])},null,8,["modelValue","prefix-icon","onKeydown"])):V("",!0),h(f,{id:"debug-text",modelValue:i(n),"onUpdate:modelValue":y[1]||(y[1]=x=>A(n)?n.value=x:null),type:"textarea",readonly:"",rows:"29",placeholder:"这里用于输出调试信息"},null,8,["modelValue"])],64)}}},Kt=L(At,[["__scopeId","data-v-fe904689"]]),po=ue("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:""},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){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:n,bookAuthor:s}=this.readingBook;let o=(r=this.catalog[e])==null?void 0:r.title;o&&j.saveBookProcess({name:n,author:s,durChapterIndex:e,durChapterPos:t,durChapterTime:new Date().getTime(),durChapterTitle:o})}}}),jt=Re();const Ht={__name:"SourceJson",setup(e){const t=K(),n=$(""),s=async o=>{try{t.changeEditTabSource(JSON.parse(o))}catch{w({message:"粘贴的源格式错误",type:"error"})}};return _e(async()=>{let o=t.editTabSource;Object.keys(o).length>0?n.value=JSON.stringify(o,null,4):n.value=""}),(o,r)=>{const d=Y;return c(),b(d,{id:"source-json",modelValue:i(n),"onUpdate:modelValue":r[0]||(r[0]=k=>A(n)?n.value=k:null),type:"textarea",placeholder:"这里输出序列化的JSON数据,可直接导入'阅读'APP",rows:"30",onChange:s,style:{"margin-bottom":"4px"}},null,8,["modelValue"])}}},Ft=L(Ht,[["__scopeId","data-v-7e91a802"]]);const qt={__name:"SourceTabTools",setup(e){const t=K(),{currentTab:n}=X(t),s=$([["editTab","编辑源"],["editDebug","调试源"],["editList","源列表"],["editHelp","帮助信息"]]);return(o,r)=>{const d=Ft,k=Kt,y=vt,f=_t,x=ge,p=me;return c(),b(p,{modelValue:i(n),"onUpdate:modelValue":r[0]||(r[0]=_=>A(n)?n.value=_:null)},{default:a(()=>[(c(!0),B(I,null,J(i(s),(_,v)=>(c(),b(x,{key:_[0],name:_[0],label:_[1]},{default:a(()=>[v==0?(c(),b(d,{key:0})):V("",!0),v==1?(c(),b(k,{key:1})):V("",!0),v==2?(c(),b(y,{key:2})):V("",!0),v==3?(c(),b(f,{key:3})):V("",!0)]),_:2},1032,["name","label"]))),128))]),_:1},8,["modelValue"])}}},zt=L(qt,[["__scopeId","data-v-dcce2457"]]);const Mt={class:"menu flex-column-center"},Wt={class:"hotkeys-header flex-space-between"},Gt=["id"],Qt={key:0},Xt={class:"hotkeys-settings flex-column-center"},Yt={class:"title"},Zt={class:"hotkeys-item__content"},eo={key:0},to={key:0},oo={__name:"ToolBar",setup(e){const t=K(),n=()=>{const u=w({message:"加载中……",showClose:!0,duration:0});j.getSources().then(({data:l})=>{l.isSuccess?(t.changeTabName("editList"),t.saveSources(l.data),w({message:`成功拉取${l.data.length}条源`,type:"success"})):w({message:l.errorMsg??"后端错误",type:"error"})}).finally(()=>u.close())},s=()=>{let u=t.sources;if(t.changeTabName("editList"),u.length===0)return w({message:"空空如也",type:"info"});w({message:"正在推送中",type:"info"}),j.saveSources(u).then(({data:l})=>{if(l.isSuccess){let C=l.data;if(Array.isArray(C)){let T="";u.length>C.length&&(T=`
+import{r as we,o as c,c as b,a as ne,b as re,d as B,e as h,w as a,f as S,u as i,l as F,g as m,F as $,E as xe,h as ae,p as Be,i as Ue,j as ue,s as X,t as Q,n as de,k as Ee,m as L,q as te,v as A,x as pe,y as Ve,z as Ie,A as se,V as Ne,B as w,C as Y,D as he,G as Te,H as $e,I as _e,J as Le,K as V,L as Re,M as J,N as ge,O as me,P as Oe,Q as q,R as Pe,S as De,T as Je,U as Ae,W as Ke,X as je,Y as He,Z as Fe,_ as qe,$ as ze,a0 as Me}from"./vendor-8be1f5fb.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const d of r.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&s(d)}).observe(document,{childList:!0,subtree:!0});function n(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerPolicy&&(r.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?r.credentials="include":o.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(o){if(o.ep)return;o.ep=!0;const r=n(o);fetch(o.href,r)}})();const We="modulepreload",Ge=function(e,t){return new URL(e,t).href},ie={},oe=function(t,n,s){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(r=>{if(r=Ge(r,s),r in ie)return;ie[r]=!0;const d=r.endsWith(".css"),k=d?'[rel="stylesheet"]':"";if(!!s)for(let x=o.length-1;x>=0;x--){const p=o[x];if(p.href===r&&(!d||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${k}`))return;const f=document.createElement("link");if(f.rel=d?"stylesheet":We,d||(f.as="script",f.crossOrigin=""),f.href=r,document.head.appendChild(f),d)return new Promise((x,p)=>{f.addEventListener("load",x),f.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>t())},R=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},Qe={};function Xe(e,t){const n=we("router-view");return c(),b(n)}const Ye=R(Qe,[["render",Xe]]),Se=[{path:"/",name:"shelf",component:()=>oe(()=>import("./BookShelf-3852f1dd.js"),["./BookShelf-3852f1dd.js","./vendor-8be1f5fb.js","./vendor-6f0d1692.css","./el-loading-15d78e2b.js","./el-loading-d0f2d079.css","./BookShelf-a8a609c2.css"],import.meta.url)},{path:"/chapter",name:"chapter",component:()=>oe(()=>import("./BookChapter-d3c57abf.js"),["./BookChapter-d3c57abf.js","./vendor-8be1f5fb.js","./vendor-6f0d1692.css","./el-loading-15d78e2b.js","./el-loading-d0f2d079.css","./BookChapter-3e045df4.css"],import.meta.url)}];ne({history:re(),routes:Se});const I=e=>(Be("data-v-aee57c78"),e=e(),Ue(),e),Ze=I(()=>m("br",null,null,-1)),et=I(()=>m("br",null,null,-1)),tt=I(()=>m("br",null,null,-1)),ot=I(()=>m("br",null,null,-1)),nt=I(()=>m("br",null,null,-1)),rt={style:{"margin-top":"20px"}},st=I(()=>m("code",null,"^$()[]{}.?+*|",-1)),it=I(()=>m("br",null,null,-1)),lt=I(()=>m("code",null,"(?s)",-1)),ct=I(()=>m("br",null,null,-1)),at=I(()=>m("code",null,"(?m)",-1)),ut=I(()=>m("br",null,null,-1)),dt=I(()=>m("code",null,"(?i)",-1)),pt=I(()=>m("br",null,null,-1)),ht={__name:"SourceHelp",setup(e){return(t,n)=>{const s=xe,o=ae;return c(),B($,null,[h(s,{icon:i(F),href:"https://alanskycn.gitee.io/teachme/",target:"_blank"},{default:a(()=>[S("书源制作教程")]),_:1},8,["icon"]),Ze,h(s,{icon:i(F),href:"https://zhuanlan.zhihu.com/p/29436838",target:"_blank"},{default:a(()=>[S("xpath基础教程")]),_:1},8,["icon"]),et,h(s,{icon:i(F),href:"https://zhuanlan.zhihu.com/p/32187820",target:"_blank"},{default:a(()=>[S("xpath高级教程")]),_:1},8,["icon"]),tt,h(s,{icon:i(F),href:"https://www.w3cschool.cn/regex_rmjc",target:"_blank"},{default:a(()=>[S("正则表达式教程")]),_:1},8,["icon"]),ot,h(s,{icon:i(F),href:"https://regexr-cn.com/",target:"_blank"},{default:a(()=>[S("正则表达式在线验证工具")]),_:1},8,["icon"]),nt,m("div",rt,[m("span",null,[h(o,null,{default:a(()=>[st,S(" 这些是Java正则特殊符号,匹配需转义")]),_:1})]),it,m("span",null,[h(o,null,{default:a(()=>[lt,S(" 前缀表示跨行解析")]),_:1})]),ct,m("span",null,[h(o,null,{default:a(()=>[at,S(" 前缀表示逐行匹配")]),_:1})]),ut,m("span",null,[h(o,null,{default:a(()=>[dt,S(" 前缀表示忽略大小写")]),_:1})]),pt])],64)}}},_t=R(ht,[["__scopeId","data-v-aee57c78"]]),z=e=>e==null||e.length===0||/^\s+$/.test(e),ye=e=>"bookSourceName"in e,gt=e=>ye(e)?!z(e.bookSourceName)&&!z(e.bookSourceUrl)&&!z(e.bookSourceType):!z(e.sourceName)&&!z(e.sourceName),mt=(e,t)=>{var n,s,o,r,d,k,y,f;return ye(e)?(((n=e.bookSourceName)==null?void 0:n.includes(t))||((s=e.bookSourceUrl)==null?void 0:s.includes(t))||((o=e.bookSourceGroup)==null?void 0:o.includes(t))||((r=e.bookSourceComment)==null?void 0:r.includes(t)))??!1:(((d=e.sourceName)==null?void 0:d.includes(t))||((k=e.sourceUrl)==null?void 0:k.includes(t))||((y=e.sourceGroup)==null?void 0:y.includes(t))||((f=e.sourceComment)==null?void 0:f.includes(t)))??!1},St={ruleSearch:{},ruleBookInfo:{},ruleToc:{},ruleContent:{},ruleReview:{},ruleExplore:{}},yt={},O=/bookSource/i.test(location.href),le=O?St:yt,K=ue("source",{state:()=>({bookSources:[],rssSources:[],errorPushSources:[],currentSource:le,currentTab:localStorage.getItem("tabName")||"editTab",editTabSource:{},isDebuging:!1}),getters:{sources:e=>O?e.bookSources:e.rssSources,currentSourceUrl:e=>O?e.currentSource.bookSourceUrl:e.currentSource.sourceUrl,searchKey:e=>O?e.currentSource.ruleSearch.checkKeyWord||"我的":null},actions:{startDebug(){this.currentTab="editDebug",this.isDebuging=!0},debugFinish(){this.isDebuging=!1},saveSources(e){O?this.bookSources=e:this.rssSources=e},deleteSources(e){let t=O?this.bookSources:this.rssSources;e.forEach(n=>{let s=t.indexOf(n);s>-1&&t.splice(s,1)})},saveCurrentSource(){let e=this.currentSource,t,n;O?(t=this.bookSources,n="bookSourceUrl"):(t=this.rssSources,n="sourceUrl");let s=t.findIndex(o=>o[n]===e[n]);e=JSON.parse(JSON.stringify(e)),s>-1?t.splice(s,1,e):t.push(e)},changeCurrentSource(e){const t=JSON.stringify(e);this.currentSource=JSON.parse(t)},async setPushReturnSources(e){O?this.errorPushSources=this.sources.filter(t=>e.every(n=>n.bookSourceUrl!==t.bookSourceUrl)):this.errorPushSources=this.sources.filter(t=>e.every(n=>n.sourceUrl!==t.sourceUrl))},changeTabName(e){this.currentTab=e,localStorage.setItem("tabName",e)},changeEditTabSource(e){const t=JSON.stringify(e);this.editTabSource=JSON.parse(t)},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 n={new:[e],old:[]};localStorage.setItem("history",JSON.stringify(n))}},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=le},clearAllSource(){this.bookSources=[],this.rssSources=[]}}});const ft={__name:"SourceItem",props:["source"],setup(e){const t=K(),{errorPushSources:n}=X(t),s=o=>{t.changeCurrentSource(o)};return(o,r)=>{const d=Ee;return c(),b(d,{size:"large",border:"",label:e.source,class:de({error:i(n).includes(e.source)}),onChange:r[0]||(r[0]=k=>s(e.source))},{default:a(()=>[S(Q(e.source.bookSourceName||e.source.sourceName),1)]),_:1},8,["label","class"])}}},bt=R(ft,[["__scopeId","data-v-4f0ba808"]]);const kt={class:"tool"},vt={__name:"SourceList",setup(e){const t=K(),n=L([]),s=L(""),{sources:o}=X(t),r=te(()=>/bookSource/.test(window.location.href)),d=()=>{t.deleteSources(n.value),n.value=[]},k=()=>{t.clearAllSource(),n.value=[]},y=te(()=>{let p=s.value;return p===""?o.value:o.value.filter(_=>mt(_,p))}),f=()=>{const p=document.createElement("input");p.type="file",p.accept=".json,.txt",p.addEventListener("change",_=>{const v=_.target.files[0];var E=new FileReader;E.readAsText(v),E.onload=()=>{try{const P=JSON.parse(E.result);t.saveSources(P)}catch{w({message:"上传的源格式错误",type:"error"})}}}),p.click()},x=()=>{const p=document.createElement("a");let _=n.value.length===0?y.value:n.value,v=r.value?"BookSource":"RssSource";p.download=`${v}_${Date().replace(/.*?\s(\d+)\s(\d+)\s(\d+:\d+:\d+).*/,"$2$1$3").replace(/:/g,"")}.json`;let E=new Blob([JSON.stringify(_,null,4)],{type:"application/json"});p.href=window.URL.createObjectURL(E),p.click()};return(p,_)=>{const v=Y,E=he,P=Te;return c(),B($,null,[h(v,{modelValue:i(s),"onUpdate:modelValue":_[0]||(_[0]=N=>A(s)?s.value=N:null),class:"search","prefix-icon":i(pe),placeholder:"筛选源"},null,8,["modelValue","prefix-icon"]),m("div",kt,[h(E,{onClick:f,icon:i(Ve)},{default:a(()=>[S(" 打开 ")]),_:1},8,["icon"]),h(E,{disabled:i(y).length===0,onClick:x,icon:i(Ie)},{default:a(()=>[S(" 导出")]),_:1},8,["disabled","icon"]),h(E,{icon:i(se),onClick:d,disabled:i(n).length===0},{default:a(()=>[S("删除")]),_:1},8,["icon","disabled"]),h(E,{type:"danger",icon:i(se),onClick:k,disabled:i(o).length===0},{default:a(()=>[S("清空")]),_:1},8,["icon","disabled"])]),h(P,{id:"source-list",modelValue:i(n),"onUpdate:modelValue":_[1]||(_[1]=N=>A(n)?n.value=N:null)},{default:a(()=>[h(i(Ne),{style:{height:"100%","overflow-y":"auto","overflow-x":"hidden"},"data-key":N=>N.bookSourceUrl||N.sourceUrl,"data-sources":i(y),"data-component":bt,"estimate-size":45},null,8,["data-key","data-sources"])]),_:1},8,["modelValue"])],64)}}},Ct=R(vt,[["__scopeId","data-v-794cdcb4"]]),wt=1e3,U=$e.create({baseURL:location.origin,timeout:120*wt}),{hostname:fe,port:be}=new URL(location.href),xt=/source/i.test(location.href),Bt=e=>{throw xt&&w({message:"后端错误,检查网络或者阅读app",type:"error"}),e};U.interceptors.response.use(e=>e,Bt);const Ut=()=>U.get("/getReadConfig"),Et=e=>U.post("/saveReadConfig",e),Vt=e=>U.post("/saveBookProgress",e),It=()=>U.get("/getBookshelf"),Nt=e=>U.get("/getChapterList?url="+encodeURIComponent(e)),Tt=(e,t)=>U.get("/getBookContent?url="+encodeURIComponent(e)+"&index="+t),$t=(e,t,n)=>{const s=`ws://${fe}:${Number(be)+1}/searchBook`,o=new WebSocket(s);o.onopen=()=>{o.send(`{"key":"${e}"}`)},o.onmessage=({data:r})=>t(r),o.onclose=()=>{n()}},Lt=e=>U.post("/saveBook",e),Rt=e=>U.post("/deleteBook",e),M=/bookSource/i.test(location.href),Ot=()=>M?U.get("getBookSources"):U.get("getRssSources"),Pt=e=>M?U.post("saveBookSource",e):U.post("saveRssSource",e),Dt=e=>M?U.post("saveBookSources",e):U.post("saveRssSources",e),Jt=e=>M?U.post("deleteBookSources",e):U.post("deleteRssSources",e),At=(e,t,n,s)=>{const o=`ws://${fe}:${Number(be)+1}/${M?"bookSource":"rssSource"}Debug`,r=new WebSocket(o);r.onopen=()=>{r.send(JSON.stringify({tag:e,key:t}))},r.onmessage=({data:d})=>n(d),r.onclose=()=>{w({message:"调试已关闭!",type:"info"}),s()}},j={getReadConfig:Ut,saveReadConfig:Et,saveBookProcess:Vt,getBookShelf:It,getChapterList:Nt,getBookContent:Tt,search:$t,saveBook:Lt,deleteBook:Rt,getSources:Ot,saveSources:Dt,saveSource:Pt,deleteSource:Jt,debug:At};const Kt={__name:"SourceDebug",setup(e){const t=K(),n=L(""),s=L("");_e(()=>{t.isDebuging&&r()});const o=k=>{let y=document.querySelector("#debug-text");y.scrollTop=y.scrollHeight,n.value+=k+`
+`},r=async()=>{n.value="",await j.saveSource(t.currentSource),j.debug(t.currentSourceUrl,s.value||t.searchKey,o,t.debugFinish)},d=te(()=>/bookSource/.test(window.location.href));return(k,y)=>{const f=Y;return c(),B($,null,[i(d)?(c(),b(f,{key:0,id:"debug-key",modelValue:i(s),"onUpdate:modelValue":y[0]||(y[0]=x=>A(s)?s.value=x:null),placeholder:"搜索书名、作者","prefix-icon":i(pe),style:{"padding-bottom":"4px"},onKeydown:Le(r,["enter"])},null,8,["modelValue","prefix-icon","onKeydown"])):V("",!0),h(f,{id:"debug-text",modelValue:i(n),"onUpdate:modelValue":y[1]||(y[1]=x=>A(n)?n.value=x:null),type:"textarea",readonly:"",rows:"29",placeholder:"这里用于输出调试信息"},null,8,["modelValue"])],64)}}},jt=R(Kt,[["__scopeId","data-v-fe904689"]]),ho=ue("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:""},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){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:n,bookAuthor:s}=this.readingBook;let o=(r=this.catalog[e])==null?void 0:r.title;o&&j.saveBookProcess({name:n,author:s,durChapterIndex:e,durChapterPos:t,durChapterTime:new Date().getTime(),durChapterTitle:o})}}}),Ht=Re();const Ft={__name:"SourceJson",setup(e){const t=K(),n=L(""),s=async o=>{try{t.changeEditTabSource(JSON.parse(o))}catch{w({message:"粘贴的源格式错误",type:"error"})}};return _e(async()=>{let o=t.editTabSource;Object.keys(o).length>0?n.value=JSON.stringify(o,null,4):n.value=""}),(o,r)=>{const d=Y;return c(),b(d,{id:"source-json",modelValue:i(n),"onUpdate:modelValue":r[0]||(r[0]=k=>A(n)?n.value=k:null),type:"textarea",placeholder:"这里输出序列化的JSON数据,可直接导入'阅读'APP",rows:"30",onChange:s,style:{"margin-bottom":"4px"}},null,8,["modelValue"])}}},qt=R(Ft,[["__scopeId","data-v-7e91a802"]]);const zt={__name:"SourceTabTools",setup(e){const t=K(),{currentTab:n}=X(t),s=L([["editTab","编辑源"],["editDebug","调试源"],["editList","源列表"],["editHelp","帮助信息"]]);return(o,r)=>{const d=qt,k=jt,y=Ct,f=_t,x=ge,p=me;return c(),b(p,{modelValue:i(n),"onUpdate:modelValue":r[0]||(r[0]=_=>A(n)?n.value=_:null)},{default:a(()=>[(c(!0),B($,null,J(i(s),(_,v)=>(c(),b(x,{key:_[0],name:_[0],label:_[1]},{default:a(()=>[v==0?(c(),b(d,{key:0})):V("",!0),v==1?(c(),b(k,{key:1})):V("",!0),v==2?(c(),b(y,{key:2})):V("",!0),v==3?(c(),b(f,{key:3})):V("",!0)]),_:2},1032,["name","label"]))),128))]),_:1},8,["modelValue"])}}},Mt=R(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=K(),n=()=>{const u=w({message:"加载中……",showClose:!0,duration:0});j.getSources().then(({data:l})=>{l.isSuccess?(t.changeTabName("editList"),t.saveSources(l.data),w({message:`成功拉取${l.data.length}条源`,type:"success"})):w({message:l.errorMsg??"后端错误",type:"error"})}).finally(()=>u.close())},s=()=>{let u=t.sources;if(t.changeTabName("editList"),u.length===0)return w({message:"空空如也",type:"info"});w({message:"正在推送中",type:"info"}),j.saveSources(u).then(({data:l})=>{if(l.isSuccess){let C=l.data;if(Array.isArray(C)){let T="";u.length>C.length&&(T=`
推送失败的源将用红色字体标注!`,t.setPushReturnSources(C)),w({message:`批量推送源到「阅读3.0APP」
共计: ${u.length} 条
成功: ${C.length} 条
失败: ${u.length-C.length} 条${T}`,type:"success"})}}else w({message:`批量推送源失败!
ErrorMsg: ${l.errorMsg}`,type:"error"})})},o=()=>{t.changeTabName("editTab"),t.changeEditTabSource(t.currentSource)},r=()=>{t.changeCurrentSource(t.editTabSource)},d=()=>{t.editHistoryUndo()},k=()=>{t.clearEdit(),w({message:"已清除",type:"success"})},y=()=>{t.clearEdit(),t.clearAllHistory(),w({message:"已清除所有历史记录",type:"success"})},f=()=>{let u=/bookSource/.test(location.href),l=t.currentSource;gt(l)?j.saveSource(l).then(({data:C})=>{C.isSuccess?(w({message:`源《${u?l.bookSourceName:l.sourceName}》已成功保存到「阅读3.0APP」`,type:"success"}),t.saveCurrentSource()):w({message:`源《${u?l.bookSourceName:l.sourceName}》保存失败!
-ErrorMsg: ${C.errorMsg}`,type:"error"})}):w({message:"请检查<必填>项是否全部填写",type:"error"})},x=()=>{t.startDebug()},p=$(Array.of({name:"⇈推送源",hotKeys:[],action:s},{name:"⇊拉取源",hotKeys:[],action:n},{name:"⋙生成源",hotKeys:[],action:o},{name:"⋘编辑源",hotKeys:[],action:r},{name:"✗清空表单",hotKeys:[],action:k},{name:"↶撤销操作",hotKeys:[],action:d},{name:"↷重做操作",hotKeys:[],action:y},{name:"⇏调试源",hotKeys:[],action:x},{name:"✓保存源",hotKeys:[],action:f})),_=$(!0),v=$(!1),E=$(-1),P=()=>{v.value=!1};Oe(_,u=>{if(!u)return q.unbind("*");q.unbind(),q("*",l=>{l.preventDefault(),v.value&&E.value>-1&&(p.value[E.value].hotKeys=q.getPressedKeyString())})});const R=u=>{v.value=!0,w({message:"按ESC键或者点击空白处结束录入",type:"info"}),p.value[u].hotKeys=[],E.value=u},W=()=>{_.value=!1;const u=[];p.value.forEach(({hotKeys:l,action:C})=>{q(l.join("+"),T=>{T.preventDefault(),C.call(null)}),u.push(l)}),D(u)},D=u=>{localStorage.setItem("legado_web_hotkeys",JSON.stringify(u))},G=()=>{try{const u=JSON.parse(localStorage.getItem("legado_web_hotkeys"));if(!Array.isArray(u)||u.length==0)return;p.value.forEach((l,C)=>l.hotKeys=u[C]),_.value=!1,W()}catch{w({message:"快捷键配置错误",type:"error"}),localStorage.removeItem("legado_web_hotkeys")}};return Pe(()=>{G()}),(u,l)=>{const C=he,T=ae,Z=Ae;return c(),B(I,null,[m("div",Mt,[(c(!0),B(I,null,J(i(p),g=>(c(),b(C,{size:"large",key:g.name,onClick:g.action},{default:a(()=>[S(Q(g.name),1)]),_:2},1032,["onClick"]))),128)),h(C,{size:"large",onClick:l[0]||(l[0]=()=>_.value=!0)},{default:a(()=>[S("快捷键")]),_:1})]),h(Z,{modelValue:i(_),"onUpdate:modelValue":l[1]||(l[1]=g=>A(_)?_.value=g:null),"show-close":!1,"before-close":P},{header:a(({titleClass:g,titleId:H})=>[m("div",Wt,[m("div",{id:H,class:de(g)},[S(" 快捷键设置 "),i(v)?(c(),B("span",Qt,[h(T,null,{default:a(()=>[S(" / 录入中 ")]),_:1})])):V("",!0)],10,Gt),h(C,{disabled:i(v),onClick:W,icon:i(De)},{default:a(()=>[S("保存")]),_:1},8,["disabled","icon"])])]),default:a(()=>[m("div",Xt,[(c(!0),B(I,null,J(i(p),(g,H)=>(c(),B("div",{key:g.name,class:"hotkeys-item flex-space-between"},[m("span",Yt,[h(T,null,{default:a(()=>[S(Q(g.name),1)]),_:2},1024)]),m("div",Zt,[(c(!0),B(I,null,J(g.hotKeys,(ee,Ce)=>(c(),B("div",{key:ee},[m("kbd",null,Q(ee),1),Ce+1[S("+")]),_:1})])):V("",!0)]))),128)),g.hotKeys.length==0?(c(),B("span",to,"未设置")):V("",!0)]),h(C,{disabled:i(v),text:"",icon:i(Je),onClick:ee=>R(H)},{default:a(()=>[S("编辑")]),_:2},1032,["disabled","icon","onClick"])]))),128))])]),_:1},8,["modelValue"])],64)}}},no=L(oo,[["__scopeId","data-v-18524ea3"]]);const ro={__name:"SourceTabForm",props:["config"],setup(e){const t=e,n=K(),s=Object.values(t.config),{currentSource:o}=X(n);return(r,d)=>{const k=Y,y=Ke,f=je,x=He,p=Fe,_=qe,v=ze,E=ge,P=me;return c(),b(P,{id:"source-edit"},{default:a(()=>[(c(!0),B(I,null,J(i(s),({name:R,children:W})=>(c(),b(E,{label:R,key:R},{default:a(()=>[h(v,{"label-position":"right","label-width":"5em"},{default:a(()=>[(c(!0),B(I,null,J(W,({type:D,title:G,namespace:u,id:l,array:C,hint:T,required:Z})=>(c(),b(_,{label:G,key:G,required:Z},{default:a(()=>[D=="String"&&typeof u>"u"?(c(),b(k,{key:0,type:"textarea",modelValue:i(o)[l],"onUpdate:modelValue":g=>i(o)[l]=g,placeholder:T,autosize:""},null,8,["modelValue","onUpdate:modelValue","placeholder"])):V("",!0),D=="String"&&typeof u<"u"?(c(),b(k,{key:1,type:"textarea",modelValue:i(o)[u][l],"onUpdate:modelValue":g=>i(o)[u][l]=g,placeholder:T,autosize:""},null,8,["modelValue","onUpdate:modelValue","placeholder"])):V("",!0),D=="Boolean"?(c(),b(y,{key:2,modelValue:i(o)[l],"onUpdate:modelValue":g=>i(o)[l]=g},null,8,["modelValue","onUpdate:modelValue"])):V("",!0),D=="Number"?(c(),b(f,{key:3,modelValue:i(o)[l],"onUpdate:modelValue":g=>i(o)[l]=g,min:0},null,8,["modelValue","onUpdate:modelValue"])):V("",!0),D=="Array"?(c(),b(p,{key:4,modelValue:i(o)[l],"onUpdate:modelValue":g=>i(o)[l]=g},{default:a(()=>[(c(!0),B(I,null,J(C,(g,H)=>(c(),b(x,{value:H,key:g,label:g},null,8,["value","label"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])):V("",!0)]),_:2},1032,["label","required"]))),128))]),_:2},1024)]),_:2},1032,["label"]))),128))]),_:1})}}},so=L(ro,[["__scopeId","data-v-d4af52d7"]]),io={base:{name:"基础",children:[{title:"源类型",id:"bookSourceType",type:"Array",array:["文本","音频","图片","文件"],required:!0},{title:"源域名",id:"bookSourceUrl",type:"String",hint:"通常填写网站主页,例: https://www.qidian.com",required:!0},{title:"源名称",id:"bookSourceName",type:"String",hint:"会显示在源列表",required:!0},{title:"源分组",id:"bookSourceGroup",type:"String",hint:"描述源的特征信息"},{title:"源注释",id:"bookSourceComment",type:"String",hint:"描述源作者和状态"},{title:"书源变量",id:"variableComment",type:"String",hint:"书源变量说明"},{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:"concurrentRate",type:"String",hint:"并发率"},{title:"js库",id:"jsLib",type:"String",hint:"js库"},{title:"请求头",id:"header",type:"String",hint:"客户端标识"},{title:"链接验证",id:"bookUrlPattern",type:"String",hint:"当详情页URL与源URL的域名不一致时有效,用于添加网址"}]},search:{name:"搜索",children:[{title:"搜索地址",id:"searchUrl",type:"String",hint:"[域名可省略]/search.php@kw={{key}}"},{title:"校验文字",namespace:"ruleSearch",id:"checkKeyWord",type:"String",hint:"校验关键字"},{title:"列表规则",namespace:"ruleSearch",id:"bookList",type:"String",hint:"选择书籍节点 (规则结果为List)"},{title:"书名规则",namespace:"ruleSearch",id:"name",type:"String",hint:"选择节点书名 (规则结果为String)"},{title:"作者规则",namespace:"ruleSearch",id:"author",type:"String",hint:"选择节点作者 (规则结果为String)"},{title:"分类规则",namespace:"ruleSearch",id:"kind",type:"String",hint:"选择节点分类信息 (规则结果为String)"},{title:"字数规则",namespace:"ruleSearch",id:"wordCount",type:"String",hint:"选择节点字数信息 (规则结果为String)"},{title:"最新章节",namespace:"ruleSearch",id:"lastChapter",type:"String",hint:"选择节点最新章节 (规则结果为String)"},{title:"简介规则",namespace:"ruleSearch",id:"intro",type:"String",hint:"选择节点书籍简介 (规则结果为String)"},{title:"封面规则",namespace:"ruleSearch",id:"coverUrl",type:"String",hint:"选择节点书籍封面 (规则结果为String类型的url)"},{title:"详情地址",namespace:"ruleSearch",id:"bookUrl",type:"String",hint:"选择书籍详情页网址 (规则结果为String类型的url)"}]},find:{name:"发现",children:[{title:"发现地址",id:"exploreUrl",type:"String",hint:`内容能显示在发现菜单
+ErrorMsg: ${C.errorMsg}`,type:"error"})}):w({message:"请检查<必填>项是否全部填写",type:"error"})},x=()=>{t.startDebug()},p=L(Array.of({name:"⇈推送源",hotKeys:[],action:s},{name:"⇊拉取源",hotKeys:[],action:n},{name:"⋙生成源",hotKeys:[],action:o},{name:"⋘编辑源",hotKeys:[],action:r},{name:"✗清空表单",hotKeys:[],action:k},{name:"↶撤销操作",hotKeys:[],action:d},{name:"↷重做操作",hotKeys:[],action:y},{name:"⇏调试源",hotKeys:[],action:x},{name:"✓保存源",hotKeys:[],action:f})),_=L(!0),v=L(!1),E=L(-1),P=()=>{v.value=!1};Oe(_,u=>{if(!u)return q.unbind("*");q.unbind(),q("*",l=>{l.preventDefault(),v.value&&E.value>-1&&(p.value[E.value].hotKeys=q.getPressedKeyString())})});const N=u=>{v.value=!0,w({message:"按ESC键或者点击空白处结束录入",type:"info"}),p.value[u].hotKeys=[],E.value=u},W=()=>{_.value=!1;const u=[];p.value.forEach(({hotKeys:l,action:C})=>{q(l.join("+"),T=>{T.preventDefault(),C.call(null)}),u.push(l)}),D(u)},D=u=>{localStorage.setItem("legado_web_hotkeys",JSON.stringify(u))},G=()=>{try{const u=JSON.parse(localStorage.getItem("legado_web_hotkeys"));if(!Array.isArray(u)||u.length==0)return;p.value.forEach((l,C)=>l.hotKeys=u[C]),_.value=!1,W()}catch{w({message:"快捷键配置错误",type:"error"}),localStorage.removeItem("legado_web_hotkeys")}};return Pe(()=>{G()}),(u,l)=>{const C=he,T=ae,Z=Ae;return c(),B($,null,[m("div",Wt,[(c(!0),B($,null,J(i(p),g=>(c(),b(C,{size:"large",key:g.name,onClick:g.action},{default:a(()=>[S(Q(g.name),1)]),_:2},1032,["onClick"]))),128)),h(C,{size:"large",onClick:l[0]||(l[0]=()=>_.value=!0)},{default:a(()=>[S("快捷键")]),_:1})]),h(Z,{modelValue:i(_),"onUpdate:modelValue":l[1]||(l[1]=g=>A(_)?_.value=g:null),"show-close":!1,"before-close":P},{header:a(({titleClass:g,titleId:H})=>[m("div",Gt,[m("div",{id:H,class:de(g)},[S(" 快捷键设置 "),i(v)?(c(),B("span",Xt,[h(T,null,{default:a(()=>[S(" / 录入中 ")]),_:1})])):V("",!0)],10,Qt),h(C,{disabled:i(v),onClick:W,icon:i(De)},{default:a(()=>[S("保存")]),_:1},8,["disabled","icon"])])]),default:a(()=>[m("div",Yt,[(c(!0),B($,null,J(i(p),(g,H)=>(c(),B("div",{key:g.name,class:"hotkeys-item flex-space-between"},[m("span",Zt,[h(T,null,{default:a(()=>[S(Q(g.name),1)]),_:2},1024)]),m("div",eo,[(c(!0),B($,null,J(g.hotKeys,(ee,Ce)=>(c(),B("div",{key:ee},[m("kbd",null,Q(ee),1),Ce+1[S("+")]),_:1})])):V("",!0)]))),128)),g.hotKeys.length==0?(c(),B("span",oo,"未设置")):V("",!0)]),h(C,{disabled:i(v),text:"",icon:i(Je),onClick:ee=>N(H)},{default:a(()=>[S("编辑")]),_:2},1032,["disabled","icon","onClick"])]))),128))])]),_:1},8,["modelValue"])],64)}}},ro=R(no,[["__scopeId","data-v-18524ea3"]]);const so={__name:"SourceTabForm",props:["config"],setup(e){const t=e,n=K(),s=Object.values(t.config),{currentSource:o}=X(n);return(r,d)=>{const k=Y,y=Ke,f=je,x=He,p=Fe,_=qe,v=ze,E=ge,P=me;return c(),b(P,{id:"source-edit"},{default:a(()=>[(c(!0),B($,null,J(i(s),({name:N,children:W})=>(c(),b(E,{label:N,key:N},{default:a(()=>[h(v,{"label-position":"right","label-width":"5em"},{default:a(()=>[(c(!0),B($,null,J(W,({type:D,title:G,namespace:u,id:l,array:C,hint:T,required:Z})=>(c(),b(_,{label:G,key:G,required:Z},{default:a(()=>[D=="String"&&typeof u>"u"?(c(),b(k,{key:0,type:"textarea",modelValue:i(o)[l],"onUpdate:modelValue":g=>i(o)[l]=g,placeholder:T,autosize:""},null,8,["modelValue","onUpdate:modelValue","placeholder"])):V("",!0),D=="String"&&typeof u<"u"?(c(),b(k,{key:1,type:"textarea",modelValue:i(o)[u][l],"onUpdate:modelValue":g=>i(o)[u][l]=g,placeholder:T,autosize:""},null,8,["modelValue","onUpdate:modelValue","placeholder"])):V("",!0),D=="Boolean"?(c(),b(y,{key:2,modelValue:i(o)[l],"onUpdate:modelValue":g=>i(o)[l]=g},null,8,["modelValue","onUpdate:modelValue"])):V("",!0),D=="Number"?(c(),b(f,{key:3,modelValue:i(o)[l],"onUpdate:modelValue":g=>i(o)[l]=g,min:0},null,8,["modelValue","onUpdate:modelValue"])):V("",!0),D=="Array"?(c(),b(p,{key:4,modelValue:i(o)[l],"onUpdate:modelValue":g=>i(o)[l]=g},{default:a(()=>[(c(!0),B($,null,J(C,(g,H)=>(c(),b(x,{value:H,key:g,label:g},null,8,["value","label"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])):V("",!0)]),_:2},1032,["label","required"]))),128))]),_:2},1024)]),_:2},1032,["label"]))),128))]),_:1})}}},io=R(so,[["__scopeId","data-v-d4af52d7"]]),lo={base:{name:"基础",children:[{title:"源类型",id:"bookSourceType",type:"Array",array:["文本","音频","图片","文件"],required:!0},{title:"源域名",id:"bookSourceUrl",type:"String",hint:"通常填写网站主页,例: https://www.qidian.com",required:!0},{title:"源名称",id:"bookSourceName",type:"String",hint:"会显示在源列表",required:!0},{title:"源分组",id:"bookSourceGroup",type:"String",hint:"描述源的特征信息"},{title:"源注释",id:"bookSourceComment",type:"String",hint:"描述源作者和状态"},{title:"书源变量",id:"variableComment",type:"String",hint:"书源变量说明"},{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:"concurrentRate",type:"String",hint:"并发率"},{title:"js库",id:"jsLib",type:"String",hint:"js库"},{title:"请求头",id:"header",type:"String",hint:"客户端标识"},{title:"链接验证",id:"bookUrlPattern",type:"String",hint:"当详情页URL与源URL的域名不一致时有效,用于添加网址"}]},search:{name:"搜索",children:[{title:"搜索地址",id:"searchUrl",type:"String",hint:"[域名可省略]/search.php@kw={{key}}"},{title:"校验文字",namespace:"ruleSearch",id:"checkKeyWord",type:"String",hint:"校验关键字"},{title:"列表规则",namespace:"ruleSearch",id:"bookList",type:"String",hint:"选择书籍节点 (规则结果为List)"},{title:"书名规则",namespace:"ruleSearch",id:"name",type:"String",hint:"选择节点书名 (规则结果为String)"},{title:"作者规则",namespace:"ruleSearch",id:"author",type:"String",hint:"选择节点作者 (规则结果为String)"},{title:"分类规则",namespace:"ruleSearch",id:"kind",type:"String",hint:"选择节点分类信息 (规则结果为String)"},{title:"字数规则",namespace:"ruleSearch",id:"wordCount",type:"String",hint:"选择节点字数信息 (规则结果为String)"},{title:"最新章节",namespace:"ruleSearch",id:"lastChapter",type:"String",hint:"选择节点最新章节 (规则结果为String)"},{title:"简介规则",namespace:"ruleSearch",id:"intro",type:"String",hint:"选择节点书籍简介 (规则结果为String)"},{title:"封面规则",namespace:"ruleSearch",id:"coverUrl",type:"String",hint:"选择节点书籍封面 (规则结果为String类型的url)"},{title:"详情地址",namespace:"ruleSearch",id:"bookUrl",type:"String",hint:"选择书籍详情页网址 (规则结果为String类型的url)"}]},find:{name:"发现",children:[{title:"发现地址",id:"exploreUrl",type:"String",hint:`内容能显示在发现菜单
每行一条发现分类(网址域名可省略),例:
名称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"}]}},lo={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"},ao={__name:"SourceEditor",setup(e){const t=$({});return/bookSource/i.test(location.href)?(t.value=io,document.title="书源管理"):(t.value=lo,document.title="订阅源管理"),(n,s)=>{const o=so,r=no,d=zt;return c(),B("div",co,[h(o,{class:"left",config:i(t)},null,8,["config"]),h(r),h(d,{class:"right"})])}}},ce=L(ao,[["__scopeId","data-v-ef32d41f"]]),ke=[{path:"/bookSource",name:"book-home",component:ce},{path:"/rssSource",name:"rss-home",component:ce}];ne({history:re(),routes:ke});const ve=ne({history:re(),routes:Se.concat(ke)});ve.afterEach(e=>{e.name=="shelf"&&(document.title="书架")});Me(Ye).use(jt).use(ve).mount("#app");oe(()=>import("./config-f4551984.js"),["./config-f4551984.js","./vendor-8be1f5fb.js","./vendor-6f0d1692.css","./config-811f2a0b.css"],import.meta.url);export{j as A,L as _,po as u};
+...`},{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"}]}},co={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 ao={class:"editor"},uo={__name:"SourceEditor",setup(e){const t=L({});return/bookSource/i.test(location.href)?(t.value=lo,document.title="书源管理"):(t.value=co,document.title="订阅源管理"),(n,s)=>{const o=io,r=ro,d=Mt;return c(),B("div",ao,[h(o,{class:"left",config:i(t)},null,8,["config"]),h(r),h(d,{class:"right"})])}}},ce=R(uo,[["__scopeId","data-v-ef32d41f"]]),ke=[{path:"/bookSource",name:"book-home",component:ce},{path:"/rssSource",name:"rss-home",component:ce}];ne({history:re(),routes:ke});const ve=ne({history:re(),routes:Se.concat(ke)});ve.afterEach(e=>{e.name=="shelf"&&(document.title="书架")});Me(Ye).use(Ht).use(ve).mount("#app");oe(()=>import("./config-7c50f05c.js"),["./config-7c50f05c.js","./vendor-8be1f5fb.js","./vendor-6f0d1692.css","./config-811f2a0b.css"],import.meta.url);export{j as A,R 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 92442b937..8617baaca 100644
--- a/app/src/main/assets/web/vue/index.html
+++ b/app/src/main/assets/web/vue/index.html
@@ -4,10 +4,10 @@
-
+
-
+