<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-03f4484e"],{"14d9":function(t,e,o){"use strict";var a=o("23e7"),i=o("7b0b"),r=o("07fa"),n=o("3a34"),s=o("3511"),c=o("d039"),l=c((function(){return 4294967297!==[].push.call({length:4294967296},1)})),u=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}},h=l||!u();a({target:"Array",proto:!0,arity:1,forced:h},{push:function(t){var e=i(this),o=r(e),a=arguments.length;s(o+a);for(var c=0;c&lt;a;c++)e[o]=arguments[c],o++;return n(e,o),o}})},"221b":function(t,e,o){"use strict";o.r(e);var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-bookshelf common-page"},[e("div",{staticClass:"page-header fx-vb"},[e("div",{staticClass:"btn-act back",on:{click:t.pageBack}}),e("h1",{staticClass:"page-title"},[t._v(" BookShelf ")]),e("div",{staticClass:"btn-act"})]),e("div",{staticClass:"page-con"},[t.bookList.length?e("div",{staticClass:"bookshelf-list"},t._l(t.bookList,(function(o){return e("div",{key:o.book_id,staticClass:"one-book",on:{click:function(e){return t.jumpToBook(o.book_id)}}},[e("div",{staticClass:"cover"},[e("img",{attrs:{loading:"lazy",src:o.avatar,alt:""}})]),e("div",{staticClass:"name"},[t._v(t._s(o.book_name))])])})),0):t._e(),t.loading||t.bookList.length?t._e():e("div",{staticClass:"bookshelf-empty fx-vc"},[t._v(" There are no books in your library. Visit the Discovery to pick up your favorite books. ")])])])},i=[],r=(o("14d9"),o("365c")),n={name:"BookShelf",data(){return{pageNo:1,pageSize:10,bookList:[],loading:!0}},components:{},computed:{},methods:{pageBack(){this.$router.push({name:"HomePage"})},async getBookShelfList(){const{code:t,data:e}=await Object(r["g"])({page:this.pageNo,size:this.pageSize});this.$toast.clear(),t||(this.bookList=e||[])},jumpToBook(t){this.$router.push({name:"BookDetail",params:{id:t}})}},mounted(){this.$toast.loading({duration:0}),this.getBookShelfList()}},s=n,c=(o("354b"),o("2877")),l=Object(c["a"])(s,a,i,!1,null,null,null);e["default"]=l.exports},3511:function(t,e,o){"use strict";var a=TypeError,i=9007199254740991;t.exports=function(t){if(t&gt;i)throw a("Maximum allowed index exceeded");return t}},"354b":function(t,e,o){"use strict";o("502b")},"3a34":function(t,e,o){"use strict";var a=o("83ab"),i=o("e8b5"),r=TypeError,n=Object.getOwnPropertyDescriptor,s=a&amp;&amp;!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=s?function(t,e){if(i(t)&amp;&amp;!n(t,"length").writable)throw new r("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},"502b":function(t,e,o){},e8b5:function(t,e,o){"use strict";var a=o("c6b6");t.exports=Array.isArray||function(t){return"Array"===a(t)}}}]);
//# sourceMappingURL=chunk-03f4484e.e3490b6a.js.map</pre></body></html>