(function(e){function t(t){for(var r,a,u=t[0],c=t[1],s=t[2],l=0,d=[];l{this.$store.commit("setMiniInterface",window.innerWidth<750)}}},u=i,c=(n("4b8d"),n("2877")),s=Object(c["a"])(u,a,o,!1,null,null,null),l=s.exports,d=n("8c4f");r["default"].use(d["a"]);const f=d["a"].prototype.push;d["a"].prototype.push=function(e){return f.call(this,e).catch(e=>e)};const p=[{path:"/",name:"index",component:()=>Promise.all([n.e("about~detail"),n.e("about")]).then(n.bind(null,"d504"))},{path:"/chapter",name:"Chapter",component:()=>Promise.all([n.e("about~detail"),n.e("detail")]).then(n.bind(null,"537b"))}],h=new d["a"]({base:"",routes:p});var g=h,b=(n("0fb7"),n("450d"),n("f529")),m=n.n(b),v=(n("9e1f"),n("6ed5")),y=n.n(v),w=(n("be4f"),n("896a")),C=n.n(w),S=(n("0c67"),n("299c")),k=n.n(S),P=(n("cbb5"),n("8bbc")),O=n.n(P),x=(n("10cb"),n("f3ad")),T=n.n(x),j=(n("06f1"),n("6ac9")),B=n.n(j),I=(n("5466"),n("ecdf")),L=n.n(I),_=(n("38a0"),n("ad41")),A=n.n(_),$=(n("b84d"),n("c216")),E=n.n($),M=(n("8f24"),n("76b9")),N=n.n(M),R=(n("e3ea"),n("7bc3")),U=n.n(R),V=(n("1951"),n("eedf")),D=n.n(V);r["default"].use(D.a),r["default"].use(U.a),r["default"].use(N.a),r["default"].use(E.a),r["default"].use(A.a),r["default"].use(L.a),r["default"].use(B.a),r["default"].use(T.a),r["default"].use(O.a),r["default"].use(k.a),r["default"].use(C.a.directive),r["default"].prototype.$msgbox=y.a,r["default"].prototype.$message=m.a,r["default"].prototype.$alert=y.a.alert,r["default"].prototype.$confirm=y.a.confirm,r["default"].prototype.$prompt=y.a.prompt,r["default"].prototype.$loading=C.a.service;var W=n("2f62"),J=n("b3f5");r["default"].use(W["a"]);var q=new W["a"].Store({state:{connectStatus:"正在连接后端服务器……",connectType:"",newConnect:!0,shelf:[],catalog:[],readingBook:{},popCataVisible:!1,contentLoading:!0,showContent:!1,config:{theme:0,font:0,fontSize:18,readWidth:800,infiniteLoading:!1},miniInterface:!1,readSettingsVisible:!1},mutations:{setConnectStatus(e,t){e.connectStatus=t},setConnectType(e,t){e.connectType=t},setNewConnect(e,t){e.newConnect=t},addBooks(e,t){e.shelf=t},setCatalog(e,t){e.catalog=t},setPopCataVisible(e,t){e.popCataVisible=t},setContentLoading(e,t){e.contentLoading=t},setReadingBook(e,t){e.readingBook=t},setConfig(e,t){e.config=t},setReadSettingsVisible(e,t){e.readSettingsVisible=t},setShowContent(e,t){e.showContent=t},setMiniInterface(e,t){e.miniInterface=t},clearReadingBook(e){e.catalog=[],e.readingBook={}}},actions:{saveBookProcess({state:e}){return new Promise((t,n)=>{var r;if(0==e.catalog.length)return t();const{index:a,chapterPos:o,bookName:i,bookAuthor:u}=e.readingBook;let c=null===(r=e.catalog[a])||void 0===r?void 0:r.title;if(!c)return t();J["a"].post("/saveBookProgress",{name:i,author:u,durChapterIndex:a,durChapterPos:o,durChapterTime:(new Date).getTime(),durChapterTitle:c}).then(()=>t()).catch(e=>n(e))})}}}),z=(n("be72"),n("caf9"));function F(e){return/cover\?path=|image\?path|data:/.test(e)?e:"../../image?path="+encodeURIComponent(e)+"&url="+encodeURIComponent(sessionStorage.getItem("bookUrl"))+"&width="+q.state.config.readWidth}r["default"].config.productionTip=!1,new r["default"]({router:g,store:q,render:e=>e(l)}).$mount("#app"),r["default"].use(z["a"],{preLoad:1.3,error:n("5943"),loading:n("3562"),attempt:1,observer:!0,filter:{replaceUnreachableImg(e,t){const{src:n}=e;/^http/.test(n)&&!/,\s*\{.*\}$/.test(n)||(e.src=F(n))}},adapter:{error({src:e,el:t}){t.src=F(e)}}}),J["a"].get("/getReadConfig").then(e=>{var t=e.data.data;if(t){var n=JSON.parse(t),r=q.state.config;n=Object.assign(r,n),q.commit("setConfig",n)}})},5943:function(e,t,n){e.exports=n.p+"img/error.1238cf6b.png"},b3f5:function(e,t,n){"use strict";var r=n("cee4");const a=r["a"].create({baseURL:""});t["a"]=a},bb1f:function(e,t,n){},be72:function(e,t){String.prototype.MD5=function(e){var t=this;function n(e,t){return e<>>32-t}function r(e,t){var n,r,a,o,i;return a=2147483648&e,o=2147483648&t,n=1073741824&e,r=1073741824&t,i=(1073741823&e)+(1073741823&t),n&r?2147483648^i^a^o:n|r?1073741824&i?3221225472^i^a^o:1073741824^i^a^o:i^a^o}function a(e,t,n){return e&t|~e&n}function o(e,t,n){return e&n|t&~n}function i(e,t,n){return e^t^n}function u(e,t,n){return t^(e|~n)}function c(e,t,o,i,u,c,s){return e=r(e,r(r(a(t,o,i),u),s)),r(n(e,c),t)}function s(e,t,a,i,u,c,s){return e=r(e,r(r(o(t,a,i),u),s)),r(n(e,c),t)}function l(e,t,a,o,u,c,s){return e=r(e,r(r(i(t,a,o),u),s)),r(n(e,c),t)}function d(e,t,a,o,i,c,s){return e=r(e,r(r(u(t,a,o),i),s)),r(n(e,c),t)}function f(e){var t,n=e.length,r=n+8,a=(r-r%64)/64,o=16*(a+1),i=Array(o-1),u=0,c=0;while(c>>29,i}function p(e){var t,n,r="",a="";for(n=0;n<=3;n++)t=e>>>8*n&255,a="0"+t.toString(16),r+=a.substr(a.length-2,2);return r}var h,g,b,m,v,y,w,C,S,k=Array(),P=7,O=12,x=17,T=22,j=5,B=9,I=14,L=20,_=4,A=11,$=16,E=23,M=6,N=10,R=15,U=21;for(k=f(t),y=1732584193,w=4023233417,C=2562383102,S=271733878,h=0;h