")},gotoanchor:function(){return-1!

        ==this.chapters.indexof(this.curchapter)?

        (_scrollto($("#c"+this.curchapter).offset().top),!

        0):!1},getlastchapter:function(e){returnstore.get("read_"+e)},setlastchapter:function(e){store.set("read_"+e,this.curchapter),e!

        =resourseid&&store.set("read_"+resourseid,this.curchapter)},jumptolastchapter:function(){vare=this.getlastchapter(bookid);e&&(this.curchapter=e,this.chapters=[],this.chapternames={},this.$read.html(""),this.nextpage(!

        0))},setbookhistory:function(){this.bookhistory.curchapter=this.curchapter,store.set("history_"+bookid,json.stringify(this.bookhistory))},nextpage:function(e){if(disabledclick||this.isdisableasync)return--read.curchapter,read.setbookhistory(),!

        1;disabledclick=!0,e||this.isneterror||_scrollto($("#c"+(this.curchapter-1)).offset().top),this.$read.pause=!

        0;vart=this;$.ajax({url:t.getapiurl(),datatype:"json",success:function(e){disabledclick=!

        1,t.$read.pause=!1;vara=$("[data-js=loading]");if(0==e.code){t.chapters.push(t.curchapter),t.$read.attr("rel",t.getapiurl(t.curchapter+1)),isepub||(t.chapternames[t.curchapter]=e.body.chaptername||"");varo="";if(a.length?

        内容未完,下一页继续阅读