diff --git a/app/build.gradle b/app/build.gradle index 7f7278796..f0a00ad0b 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -178,9 +178,11 @@ dependencies { // UI Tests androidTestImplementation 'androidx.compose.ui:ui-test-junit4:1.1.1' - //firebase 只在google play版本启用,防止没有google组件崩溃 + //firebase implementation platform('com.google.firebase:firebase-bom:30.0.1') implementation 'com.google.firebase:firebase-analytics-ktx:21.0.0' + implementation platform('com.google.firebase:firebase-bom:30.0.1') + implementation 'com.google.firebase:firebase-perf-ktx:20.0.6' //media implementation("androidx.media:media:1.6.0") diff --git a/app/src/main/assets/updateLog.md b/app/src/main/assets/updateLog.md index dfe6c1b3a..db0e4b14d 100644 --- a/app/src/main/assets/updateLog.md +++ b/app/src/main/assets/updateLog.md @@ -11,6 +11,9 @@ * 正文出现缺字漏字、内容缺失、排版错乱等情况,有可能是净化规则或简繁转换出现问题。 * 漫画源看书显示乱码,**阅读与其他软件的源并不通用**,请导入阅读的支持的漫画源! +**2022/05/16** + +* 添加firebase性能监测 **2022/05/15** diff --git a/app/src/main/assets/web/bookshelf/css/detail.0bc96ff5.css b/app/src/main/assets/web/bookshelf/css/detail.12a39aa7.css similarity index 79% rename from app/src/main/assets/web/bookshelf/css/detail.0bc96ff5.css rename to app/src/main/assets/web/bookshelf/css/detail.12a39aa7.css index ef64fad88..3696608e8 100644 --- a/app/src/main/assets/web/bookshelf/css/detail.0bc96ff5.css +++ b/app/src/main/assets/web/bookshelf/css/detail.12a39aa7.css @@ -1 +1 @@ -@charset "UTF-8";@font-face{font-family:FZZCYSK;src:local("☺"),url(../fonts/popfont.f39ecc1a.ttf);font-style:normal;font-weight:400}.cata-wrapper[data-v-0aacaab8]{margin:-16px;padding:18px 0 24px 25px}.cata-wrapper .title[data-v-0aacaab8]{font-size:18px;font-weight:400;font-family:FZZCYSK;margin:0 0 20px 0;color:#ed4259;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;border-bottom:1px solid #ed4259}.cata-wrapper .data-wrapper[data-v-0aacaab8]{height:300px;overflow:auto}.cata-wrapper .data-wrapper .cata[data-v-0aacaab8]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.cata-wrapper .data-wrapper .cata .selected[data-v-0aacaab8]{color:#eb4259}.cata-wrapper .data-wrapper .cata .log[data-v-0aacaab8]{width:50%;height:40px;cursor:pointer;float:left;font:16px/40px PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,Microsoft YaHei,sans-serif}.cata-wrapper .data-wrapper .cata .log .log-text[data-v-0aacaab8]{margin-right:26px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.cata-wrapper .night[data-v-0aacaab8] .log{border-bottom:1px solid #666}.cata-wrapper .day[data-v-0aacaab8] .log{border-bottom:1px solid #f2f2f2}@media screen and (max-width:500px){.cata-wrapper .data-wrapper .cata .log[data-v-0aacaab8]{width:100%}}@font-face{font-family:iconfont;src:url(../fonts/iconfont.f9a3fb0e.woff) format("woff")}[data-v-65e7f0f4] .iconfont,[data-v-65e7f0f4] .moon-icon{font-family:iconfont;font-style:normal}.settings-wrapper[data-v-65e7f0f4]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin:-13px;height:300px;text-align:left;padding:40px 0 40px 24px;background:#ede7da url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyBAMAAADsEZWCAAAAD1BMVEX48dr48Nf58tv379X17NJtIBxUAAACFUlEQVQ4y1XRUZakMAgF0Af2AiDWApDZgHZqAV1nZv9rGh7Rj7Y8McUFEg1wvcMESMNVD/neU8Xcaz7nYYkYlYO6Ti82PBI4BvIEg1aj3wKwRvIMgZsUy5LdhCawPFh1sZs4SrlyN9fQKpv8s5dgZ2eLyqqJiu+WkCmUEybXkm3INS01WAiv0PapJ0CZc0SJQUzcWnZYbOOY20iFD8Bk+/j2A3wNxH7GdShFYS5ff237kXh9I9zSkQmIAhOsOSVfJ6DIXTMDaPnzkRJ92S1BQQmXl5LdirgRLLDdcYqcGPwe3QN4xCBiGNbrqq9wpW1XCecChwaQdVOsRDpPCpeoolPdxeXp3WNB9PHVzWBHlygy4NJCCrFHREv6bDt0VGwJZASkpONmm1UseGeFKAQexgaAkrfYWl3AGxWOLL2AIMBNbCXpktmS3k3vHeYjGCPBa43wJTurO3ZFVpQSJdAZGLoHTyk1upkjxMEaIxum3iIARcCa5kSkFAW5fi1mUlL9eyOsaanFmOMruwvEdE3ZYzsRSzo5ewRLXyVPPEvknt8ij4DvCg2O7xOgBCUprEzV4z1WekSpUgI8DT2mrnSOXKRfQavwuKA1F+tFnMKdJSUpMA7wQAifWRkMgjUKKZE4lBl6MCM4B1pq1P4uIjDE6Pq6rL0FnW1nIFmta5vrSvq/Ch4tpqG/ZNyyWa5jZPktq81eYv8Bt5s4iFITOp4AAAAASUVORK5CYII=) repeat}.settings-wrapper .settings-title[data-v-65e7f0f4]{font-size:18px;line-height:22px;margin-bottom:28px;font-family:FZZCYSK;font-weight:400}.settings-wrapper .setting-list ul[data-v-65e7f0f4]{list-style:none outside none;margin:0;padding:0}.settings-wrapper .setting-list ul li[data-v-65e7f0f4]{list-style:none outside none}.settings-wrapper .setting-list ul li i[data-v-65e7f0f4]{font:12px/16px PingFangSC-Regular,-apple-system,Simsun;display:inline-block;min-width:48px;margin-right:16px;vertical-align:middle;color:#666}.settings-wrapper .setting-list ul li .theme-item[data-v-65e7f0f4]{line-height:32px;width:34px;height:34px;margin-right:16px;margin-top:5px;border-radius:100%;display:inline-block;cursor:pointer;text-align:center;vertical-align:middle}.settings-wrapper .setting-list ul li .theme-item .iconfont[data-v-65e7f0f4]{display:none}.settings-wrapper .setting-list ul li .selected[data-v-65e7f0f4]{color:#ed4259}.settings-wrapper .setting-list ul li .selected .iconfont[data-v-65e7f0f4]{display:inline}.settings-wrapper .setting-list ul .font-list[data-v-65e7f0f4]{margin-top:28px}.settings-wrapper .setting-list ul .font-list .font-item[data-v-65e7f0f4]{width:78px;height:34px;cursor:pointer;margin-right:16px;border-radius:2px;text-align:center;vertical-align:middle;display:inline-block;font:14px/34px PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,Microsoft YaHei,sans-serif}.settings-wrapper .setting-list ul .font-list .font-item[data-v-65e7f0f4]:hover,.settings-wrapper .setting-list ul .font-list .selected[data-v-65e7f0f4]{color:#ed4259;border:1px solid #ed4259}.settings-wrapper .setting-list ul .font-size[data-v-65e7f0f4],.settings-wrapper .setting-list ul .read-width[data-v-65e7f0f4]{margin-top:28px}.settings-wrapper .setting-list ul .font-size .resize[data-v-65e7f0f4],.settings-wrapper .setting-list ul .read-width .resize[data-v-65e7f0f4]{display:inline-block;width:274px;height:34px;vertical-align:middle;border-radius:2px}.settings-wrapper .setting-list ul .font-size .resize span[data-v-65e7f0f4],.settings-wrapper .setting-list ul .read-width .resize span[data-v-65e7f0f4]{width:89px;height:34px;line-height:34px;display:inline-block;cursor:pointer;text-align:center;vertical-align:middle}.settings-wrapper .setting-list ul .font-size .resize span em[data-v-65e7f0f4],.settings-wrapper .setting-list ul .read-width .resize span em[data-v-65e7f0f4]{font-style:normal}.settings-wrapper .setting-list ul .font-size .resize .less[data-v-65e7f0f4]:hover,.settings-wrapper .setting-list ul .font-size .resize .more[data-v-65e7f0f4]:hover,.settings-wrapper .setting-list ul .read-width .resize .less[data-v-65e7f0f4]:hover,.settings-wrapper .setting-list ul .read-width .resize .more[data-v-65e7f0f4]:hover{color:#ed4259}.settings-wrapper .setting-list ul .font-size .resize .lang[data-v-65e7f0f4],.settings-wrapper .setting-list ul .read-width .resize .lang[data-v-65e7f0f4]{color:#a6a6a6;font-weight:400;font-family:FZZCYSK}.settings-wrapper .setting-list ul .font-size .resize b[data-v-65e7f0f4],.settings-wrapper .setting-list ul .read-width .resize b[data-v-65e7f0f4]{display:inline-block;height:20px;vertical-align:middle}.night[data-v-65e7f0f4] .selected,.night[data-v-65e7f0f4] .theme-item{border:1px solid #666}.night[data-v-65e7f0f4] .moon-icon{color:#ed4259}.night[data-v-65e7f0f4] .font-list .font-item,.night[data-v-65e7f0f4] .resize{border:1px solid #666;background:rgba(45,45,45,.5)}.night[data-v-65e7f0f4] .resize b{border-right:1px solid #666}.day[data-v-65e7f0f4] .theme-item{border:1px solid #e5e5e5}.day[data-v-65e7f0f4] .selected{border:1px solid #ed4259}.day[data-v-65e7f0f4] .moon-icon{display:inline;color:hsla(0,0%,100%,.2)}.day[data-v-65e7f0f4] .font-list .font-item{background:hsla(0,0%,100%,.5);border:1px solid rgba(0,0,0,.1)}.day[data-v-65e7f0f4] .resize{border:1px solid #e5e5e5;background:hsla(0,0%,100%,.5)}.day[data-v-65e7f0f4] .resize b{border-right:1px solid #e5e5e5}@media screen and (max-width:500px){.settings-wrapper i[data-v-65e7f0f4]{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-bottom:5px!important}}p[data-v-39060afc]{display:block;word-wrap:break-word;word-break:break-all}img[data-v-39060afc]{margin-left:auto;margin-right:auto;display:block;width:100%}[data-v-6e79c246] .pop-setting{margin-left:68px;top:0}[data-v-6e79c246] .pop-cata{margin-left:10px}[data-v-6e79c246] .scroll-container{overflow-y:hidden!important}.chapter-wrapper[data-v-6e79c246]{padding:0 4%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.chapter-wrapper[data-v-6e79c246] .no-point{pointer-events:none}.chapter-wrapper .tool-bar[data-v-6e79c246]{position:fixed;top:0;left:50%;z-index:100}.chapter-wrapper .tool-bar .tools[data-v-6e79c246]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.chapter-wrapper .tool-bar .tools .tool-icon[data-v-6e79c246]{font-size:18px;width:58px;height:48px;text-align:center;padding-top:12px;cursor:pointer;outline:none}.chapter-wrapper .tool-bar .tools .tool-icon .iconfont[data-v-6e79c246]{font-family:iconfont;width:16px;height:16px;font-size:16px;margin:0 auto 6px}.chapter-wrapper .tool-bar .tools .tool-icon .icon-text[data-v-6e79c246]{font-size:12px}.chapter-wrapper .read-bar[data-v-6e79c246]{position:fixed;bottom:0;right:50%;z-index:100}.chapter-wrapper .read-bar .tools[data-v-6e79c246]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.chapter-wrapper .read-bar .tools .tool-icon[data-v-6e79c246]{font-size:18px;width:42px;height:31px;padding-top:12px;text-align:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;outline:none;margin-top:-1px}.chapter-wrapper .read-bar .tools .tool-icon .iconfont[data-v-6e79c246]{font-family:iconfont;width:16px;height:16px;font-size:16px;margin:0 auto 6px}.chapter-wrapper .chapter-bar .el-breadcrumb .item[data-v-6e79c246]{font-size:14px;color:#606266}.chapter-wrapper .chapter[data-v-6e79c246]{font-family:Microsoft YaHei,PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,sans-serif;text-align:left;padding:0 65px;min-height:100vh;width:670px;margin:0 auto}.chapter-wrapper .chapter[data-v-6e79c246] .el-icon-loading{font-size:36px;color:#b5b5b5}.chapter-wrapper .chapter[data-v-6e79c246] .el-loading-text{font-weight:500;color:#b5b5b5}.chapter-wrapper .chapter .content[data-v-6e79c246]{font-size:18px;line-height:1.8;overflow:hidden;font-family:Microsoft YaHei,PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,sans-serif}.chapter-wrapper .chapter .content .title[data-v-6e79c246]{margin-bottom:57px;font:24px/32px PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,Microsoft YaHei,sans-serif}.chapter-wrapper .chapter .content .bottom-bar[data-v-6e79c246],.chapter-wrapper .chapter .content .top-bar[data-v-6e79c246]{height:64px}.day[data-v-6e79c246] .popup{-webkit-box-shadow:0 2px 4px rgba(0,0,0,.12),0 0 6px rgba(0,0,0,.04);box-shadow:0 2px 4px rgba(0,0,0,.12),0 0 6px rgba(0,0,0,.04)}.day[data-v-6e79c246] .tool-icon{border:1px solid rgba(0,0,0,.1);margin-top:-1px;color:#000}.day[data-v-6e79c246] .tool-icon .icon-text{color:rgba(0,0,0,.4)}.day[data-v-6e79c246] .chapter{border:1px solid #d8d8d8;color:#262626}.night[data-v-6e79c246] .popup{-webkit-box-shadow:0 2px 4px rgba(0,0,0,.48),0 0 6px rgba(0,0,0,.16);box-shadow:0 2px 4px rgba(0,0,0,.48),0 0 6px rgba(0,0,0,.16)}.night[data-v-6e79c246] .tool-icon{border:1px solid #444;margin-top:-1px;color:#666}.night[data-v-6e79c246] .tool-icon .icon-text{color:#666}.night[data-v-6e79c246] .chapter{border:1px solid #444;color:#666}.night[data-v-6e79c246] .popper__arrow{background:#666}@media screen and (max-width:750px){.chapter-wrapper[data-v-6e79c246]{padding:0}.chapter-wrapper .tool-bar[data-v-6e79c246]{left:0;width:100vw;margin-left:0!important}.chapter-wrapper .tool-bar .tools[data-v-6e79c246]{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.chapter-wrapper .tool-bar .tools .tool-icon[data-v-6e79c246]{border:none}.chapter-wrapper .read-bar[data-v-6e79c246]{right:0;width:100vw;margin-right:0!important}.chapter-wrapper .read-bar .tools[data-v-6e79c246]{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:0 15px}.chapter-wrapper .read-bar .tools .tool-icon[data-v-6e79c246]{border:none;width:auto}.chapter-wrapper .read-bar .tools .tool-icon .iconfont[data-v-6e79c246]{display:inline-block}.chapter-wrapper .chapter[data-v-6e79c246]{width:100vw!important;padding:0 20px;-webkit-box-sizing:border-box;box-sizing:border-box}} \ No newline at end of file +@charset "UTF-8";@font-face{font-family:FZZCYSK;src:local("☺"),url(../fonts/popfont.f39ecc1a.ttf);font-style:normal;font-weight:400}.cata-wrapper[data-v-0aacaab8]{margin:-16px;padding:18px 0 24px 25px}.cata-wrapper .title[data-v-0aacaab8]{font-size:18px;font-weight:400;font-family:FZZCYSK;margin:0 0 20px 0;color:#ed4259;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;border-bottom:1px solid #ed4259}.cata-wrapper .data-wrapper[data-v-0aacaab8]{height:300px;overflow:auto}.cata-wrapper .data-wrapper .cata[data-v-0aacaab8]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.cata-wrapper .data-wrapper .cata .selected[data-v-0aacaab8]{color:#eb4259}.cata-wrapper .data-wrapper .cata .log[data-v-0aacaab8]{width:50%;height:40px;cursor:pointer;float:left;font:16px/40px PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,Microsoft YaHei,sans-serif}.cata-wrapper .data-wrapper .cata .log .log-text[data-v-0aacaab8]{margin-right:26px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.cata-wrapper .night[data-v-0aacaab8] .log{border-bottom:1px solid #666}.cata-wrapper .day[data-v-0aacaab8] .log{border-bottom:1px solid #f2f2f2}@media screen and (max-width:500px){.cata-wrapper .data-wrapper .cata .log[data-v-0aacaab8]{width:100%}}@font-face{font-family:iconfont;src:url(../fonts/iconfont.f9a3fb0e.woff) format("woff")}[data-v-65e7f0f4] .iconfont,[data-v-65e7f0f4] .moon-icon{font-family:iconfont;font-style:normal}.settings-wrapper[data-v-65e7f0f4]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin:-13px;height:300px;text-align:left;padding:40px 0 40px 24px;background:#ede7da url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyBAMAAADsEZWCAAAAD1BMVEX48dr48Nf58tv379X17NJtIBxUAAACFUlEQVQ4y1XRUZakMAgF0Af2AiDWApDZgHZqAV1nZv9rGh7Rj7Y8McUFEg1wvcMESMNVD/neU8Xcaz7nYYkYlYO6Ti82PBI4BvIEg1aj3wKwRvIMgZsUy5LdhCawPFh1sZs4SrlyN9fQKpv8s5dgZ2eLyqqJiu+WkCmUEybXkm3INS01WAiv0PapJ0CZc0SJQUzcWnZYbOOY20iFD8Bk+/j2A3wNxH7GdShFYS5ff237kXh9I9zSkQmIAhOsOSVfJ6DIXTMDaPnzkRJ92S1BQQmXl5LdirgRLLDdcYqcGPwe3QN4xCBiGNbrqq9wpW1XCecChwaQdVOsRDpPCpeoolPdxeXp3WNB9PHVzWBHlygy4NJCCrFHREv6bDt0VGwJZASkpONmm1UseGeFKAQexgaAkrfYWl3AGxWOLL2AIMBNbCXpktmS3k3vHeYjGCPBa43wJTurO3ZFVpQSJdAZGLoHTyk1upkjxMEaIxum3iIARcCa5kSkFAW5fi1mUlL9eyOsaanFmOMruwvEdE3ZYzsRSzo5ewRLXyVPPEvknt8ij4DvCg2O7xOgBCUprEzV4z1WekSpUgI8DT2mrnSOXKRfQavwuKA1F+tFnMKdJSUpMA7wQAifWRkMgjUKKZE4lBl6MCM4B1pq1P4uIjDE6Pq6rL0FnW1nIFmta5vrSvq/Ch4tpqG/ZNyyWa5jZPktq81eYv8Bt5s4iFITOp4AAAAASUVORK5CYII=) repeat}.settings-wrapper .settings-title[data-v-65e7f0f4]{font-size:18px;line-height:22px;margin-bottom:28px;font-family:FZZCYSK;font-weight:400}.settings-wrapper .setting-list ul[data-v-65e7f0f4]{list-style:none outside none;margin:0;padding:0}.settings-wrapper .setting-list ul li[data-v-65e7f0f4]{list-style:none outside none}.settings-wrapper .setting-list ul li i[data-v-65e7f0f4]{font:12px/16px PingFangSC-Regular,-apple-system,Simsun;display:inline-block;min-width:48px;margin-right:16px;vertical-align:middle;color:#666}.settings-wrapper .setting-list ul li .theme-item[data-v-65e7f0f4]{line-height:32px;width:34px;height:34px;margin-right:16px;margin-top:5px;border-radius:100%;display:inline-block;cursor:pointer;text-align:center;vertical-align:middle}.settings-wrapper .setting-list ul li .theme-item .iconfont[data-v-65e7f0f4]{display:none}.settings-wrapper .setting-list ul li .selected[data-v-65e7f0f4]{color:#ed4259}.settings-wrapper .setting-list ul li .selected .iconfont[data-v-65e7f0f4]{display:inline}.settings-wrapper .setting-list ul .font-list[data-v-65e7f0f4]{margin-top:28px}.settings-wrapper .setting-list ul .font-list .font-item[data-v-65e7f0f4]{width:78px;height:34px;cursor:pointer;margin-right:16px;border-radius:2px;text-align:center;vertical-align:middle;display:inline-block;font:14px/34px PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,Microsoft YaHei,sans-serif}.settings-wrapper .setting-list ul .font-list .font-item[data-v-65e7f0f4]:hover,.settings-wrapper .setting-list ul .font-list .selected[data-v-65e7f0f4]{color:#ed4259;border:1px solid #ed4259}.settings-wrapper .setting-list ul .font-size[data-v-65e7f0f4],.settings-wrapper .setting-list ul .read-width[data-v-65e7f0f4]{margin-top:28px}.settings-wrapper .setting-list ul .font-size .resize[data-v-65e7f0f4],.settings-wrapper .setting-list ul .read-width .resize[data-v-65e7f0f4]{display:inline-block;width:274px;height:34px;vertical-align:middle;border-radius:2px}.settings-wrapper .setting-list ul .font-size .resize span[data-v-65e7f0f4],.settings-wrapper .setting-list ul .read-width .resize span[data-v-65e7f0f4]{width:89px;height:34px;line-height:34px;display:inline-block;cursor:pointer;text-align:center;vertical-align:middle}.settings-wrapper .setting-list ul .font-size .resize span em[data-v-65e7f0f4],.settings-wrapper .setting-list ul .read-width .resize span em[data-v-65e7f0f4]{font-style:normal}.settings-wrapper .setting-list ul .font-size .resize .less[data-v-65e7f0f4]:hover,.settings-wrapper .setting-list ul .font-size .resize .more[data-v-65e7f0f4]:hover,.settings-wrapper .setting-list ul .read-width .resize .less[data-v-65e7f0f4]:hover,.settings-wrapper .setting-list ul .read-width .resize .more[data-v-65e7f0f4]:hover{color:#ed4259}.settings-wrapper .setting-list ul .font-size .resize .lang[data-v-65e7f0f4],.settings-wrapper .setting-list ul .read-width .resize .lang[data-v-65e7f0f4]{color:#a6a6a6;font-weight:400;font-family:FZZCYSK}.settings-wrapper .setting-list ul .font-size .resize b[data-v-65e7f0f4],.settings-wrapper .setting-list ul .read-width .resize b[data-v-65e7f0f4]{display:inline-block;height:20px;vertical-align:middle}.night[data-v-65e7f0f4] .selected,.night[data-v-65e7f0f4] .theme-item{border:1px solid #666}.night[data-v-65e7f0f4] .moon-icon{color:#ed4259}.night[data-v-65e7f0f4] .font-list .font-item,.night[data-v-65e7f0f4] .resize{border:1px solid #666;background:rgba(45,45,45,.5)}.night[data-v-65e7f0f4] .resize b{border-right:1px solid #666}.day[data-v-65e7f0f4] .theme-item{border:1px solid #e5e5e5}.day[data-v-65e7f0f4] .selected{border:1px solid #ed4259}.day[data-v-65e7f0f4] .moon-icon{display:inline;color:hsla(0,0%,100%,.2)}.day[data-v-65e7f0f4] .font-list .font-item{background:hsla(0,0%,100%,.5);border:1px solid rgba(0,0,0,.1)}.day[data-v-65e7f0f4] .resize{border:1px solid #e5e5e5;background:hsla(0,0%,100%,.5)}.day[data-v-65e7f0f4] .resize b{border-right:1px solid #e5e5e5}@media screen and (max-width:500px){.settings-wrapper i[data-v-65e7f0f4]{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-bottom:5px!important}}p[data-v-39060afc]{display:block;word-wrap:break-word;word-break:break-all}img[data-v-39060afc]{margin-left:auto;margin-right:auto;display:block;width:100%}[data-v-8cacf902] .pop-setting{margin-left:68px;top:0}[data-v-8cacf902] .pop-cata{margin-left:10px}[data-v-8cacf902] .scroll-container{overflow-y:hidden!important}.chapter-wrapper[data-v-8cacf902]{padding:0 4%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.chapter-wrapper[data-v-8cacf902] .no-point{pointer-events:none}.chapter-wrapper .tool-bar[data-v-8cacf902]{position:fixed;top:0;left:50%;z-index:100}.chapter-wrapper .tool-bar .tools[data-v-8cacf902]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.chapter-wrapper .tool-bar .tools .tool-icon[data-v-8cacf902]{font-size:18px;width:58px;height:48px;text-align:center;padding-top:12px;cursor:pointer;outline:none}.chapter-wrapper .tool-bar .tools .tool-icon .iconfont[data-v-8cacf902]{font-family:iconfont;width:16px;height:16px;font-size:16px;margin:0 auto 6px}.chapter-wrapper .tool-bar .tools .tool-icon .icon-text[data-v-8cacf902]{font-size:12px}.chapter-wrapper .read-bar[data-v-8cacf902]{position:fixed;bottom:0;right:50%;z-index:100}.chapter-wrapper .read-bar .tools[data-v-8cacf902]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.chapter-wrapper .read-bar .tools .tool-icon[data-v-8cacf902]{font-size:18px;width:42px;height:31px;padding-top:12px;text-align:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;outline:none;margin-top:-1px}.chapter-wrapper .read-bar .tools .tool-icon .iconfont[data-v-8cacf902]{font-family:iconfont;width:16px;height:16px;font-size:16px;margin:0 auto 6px}.chapter-wrapper .chapter-bar .el-breadcrumb .item[data-v-8cacf902]{font-size:14px;color:#606266}.chapter-wrapper .chapter[data-v-8cacf902]{font-family:Microsoft YaHei,PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,sans-serif;text-align:left;padding:0 65px;min-height:100vh;width:670px;margin:0 auto}.chapter-wrapper .chapter[data-v-8cacf902] .el-icon-loading{font-size:36px;color:#b5b5b5}.chapter-wrapper .chapter[data-v-8cacf902] .el-loading-text{font-weight:500;color:#b5b5b5}.chapter-wrapper .chapter .content[data-v-8cacf902]{font-size:18px;line-height:1.8;overflow:hidden;font-family:Microsoft YaHei,PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,sans-serif}.chapter-wrapper .chapter .content .title[data-v-8cacf902]{margin-bottom:57px;font:24px/32px PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,Microsoft YaHei,sans-serif}.chapter-wrapper .chapter .content .bottom-bar[data-v-8cacf902],.chapter-wrapper .chapter .content .top-bar[data-v-8cacf902]{height:64px}.day[data-v-8cacf902] .popup{-webkit-box-shadow:0 2px 4px rgba(0,0,0,.12),0 0 6px rgba(0,0,0,.04);box-shadow:0 2px 4px rgba(0,0,0,.12),0 0 6px rgba(0,0,0,.04)}.day[data-v-8cacf902] .tool-icon{border:1px solid rgba(0,0,0,.1);margin-top:-1px;color:#000}.day[data-v-8cacf902] .tool-icon .icon-text{color:rgba(0,0,0,.4)}.day[data-v-8cacf902] .chapter{border:1px solid #d8d8d8;color:#262626}.night[data-v-8cacf902] .popup{-webkit-box-shadow:0 2px 4px rgba(0,0,0,.48),0 0 6px rgba(0,0,0,.16);box-shadow:0 2px 4px rgba(0,0,0,.48),0 0 6px rgba(0,0,0,.16)}.night[data-v-8cacf902] .tool-icon{border:1px solid #444;margin-top:-1px;color:#666}.night[data-v-8cacf902] .tool-icon .icon-text{color:#666}.night[data-v-8cacf902] .chapter{border:1px solid #444;color:#666}.night[data-v-8cacf902] .popper__arrow{background:#666}@media screen and (max-width:750px){.chapter-wrapper[data-v-8cacf902]{padding:0}.chapter-wrapper .tool-bar[data-v-8cacf902]{left:0;width:100vw;margin-left:0!important}.chapter-wrapper .tool-bar .tools[data-v-8cacf902]{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.chapter-wrapper .tool-bar .tools .tool-icon[data-v-8cacf902]{border:none}.chapter-wrapper .read-bar[data-v-8cacf902]{right:0;width:100vw;margin-right:0!important}.chapter-wrapper .read-bar .tools[data-v-8cacf902]{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:0 15px}.chapter-wrapper .read-bar .tools .tool-icon[data-v-8cacf902]{border:none;width:auto}.chapter-wrapper .read-bar .tools .tool-icon .iconfont[data-v-8cacf902]{display:inline-block}.chapter-wrapper .chapter[data-v-8cacf902]{width:100vw!important;padding:0 20px;-webkit-box-sizing:border-box;box-sizing:border-box}} \ No newline at end of file diff --git a/app/src/main/assets/web/bookshelf/index.html b/app/src/main/assets/web/bookshelf/index.html index 2ca7ceb8e..0565fef12 100644 --- a/app/src/main/assets/web/bookshelf/index.html +++ b/app/src/main/assets/web/bookshelf/index.html @@ -1,3 +1,3 @@ -Legado Bookshelf
\ No newline at end of file + }
\ No newline at end of file diff --git a/app/src/main/assets/web/bookshelf/js/about.d0187333.js b/app/src/main/assets/web/bookshelf/js/about.2456ab2e.js similarity index 100% rename from app/src/main/assets/web/bookshelf/js/about.d0187333.js rename to app/src/main/assets/web/bookshelf/js/about.2456ab2e.js diff --git a/app/src/main/assets/web/bookshelf/js/app.598d7a60.js b/app/src/main/assets/web/bookshelf/js/app.a68b7203.js similarity index 52% rename from app/src/main/assets/web/bookshelf/js/app.598d7a60.js rename to app/src/main/assets/web/bookshelf/js/app.a68b7203.js index 4f307d28c..d3fb3496e 100644 --- a/app/src/main/assets/web/bookshelf/js/app.598d7a60.js +++ b/app/src/main/assets/web/bookshelf/js/app.a68b7203.js @@ -1 +1 @@ -(function(e){function t(t){for(var r,o,u=t[0],c=t[1],f=t[2],s=0,l=[];s>>32-t}function r(e,t){var n,r,o,a,i;return o=2147483648&e,a=2147483648&t,n=1073741824&e,r=1073741824&t,i=(1073741823&e)+(1073741823&t),n&r?2147483648^i^o^a:n|r?1073741824&i?3221225472^i^o^a:1073741824^i^o^a:i^o^a}function o(e,t,n){return e&t|~e&n}function a(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,a,i,u,c,f){return e=r(e,r(r(o(t,a,i),u),f)),r(n(e,c),t)}function f(e,t,o,i,u,c,f){return e=r(e,r(r(a(t,o,i),u),f)),r(n(e,c),t)}function s(e,t,o,a,u,c,f){return e=r(e,r(r(i(t,o,a),u),f)),r(n(e,c),t)}function l(e,t,o,a,i,c,f){return e=r(e,r(r(u(t,o,a),i),f)),r(n(e,c),t)}function d(e){var t,n=e.length,r=n+8,o=(r-r%64)/64,a=16*(o+1),i=Array(a-1),u=0,c=0;while(c>>29,i}function p(e){var t,n,r="",o="";for(n=0;n<=3;n++)t=e>>>8*n&255,o="0"+t.toString(16),r+=o.substr(o.length-2,2);return r}var h,b,g,m,v,y,w,C,S,O=Array(),j=7,k=12,T=17,x=22,P=5,_=9,E=14,L=20,$=4,A=11,I=16,M=23,B=6,N=10,R=15,V=21;for(O=d(t),y=1732584193,w=4023233417,C=2562383102,S=271733878,h=0;h1&&void 0!==arguments[1]?arguments[1]:250,n=null;return function(){var r=this,o=arguments;n&&clearTimeout(n),n=setTimeout((function(){e.apply(r,o)}),t)}}}}); \ No newline at end of file +(function(e){function t(t){for(var r,o,u=t[0],c=t[1],f=t[2],s=0,l=[];s>>32-t}function r(e,t){var n,r,o,a,i;return o=2147483648&e,a=2147483648&t,n=1073741824&e,r=1073741824&t,i=(1073741823&e)+(1073741823&t),n&r?2147483648^i^o^a:n|r?1073741824&i?3221225472^i^o^a:1073741824^i^o^a:i^o^a}function o(e,t,n){return e&t|~e&n}function a(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,a,i,u,c,f){return e=r(e,r(r(o(t,a,i),u),f)),r(n(e,c),t)}function f(e,t,o,i,u,c,f){return e=r(e,r(r(a(t,o,i),u),f)),r(n(e,c),t)}function s(e,t,o,a,u,c,f){return e=r(e,r(r(i(t,o,a),u),f)),r(n(e,c),t)}function l(e,t,o,a,i,c,f){return e=r(e,r(r(u(t,o,a),i),f)),r(n(e,c),t)}function d(e){var t,n=e.length,r=n+8,o=(r-r%64)/64,a=16*(o+1),i=Array(a-1),u=0,c=0;while(c>>29,i}function p(e){var t,n,r="",o="";for(n=0;n<=3;n++)t=e>>>8*n&255,o="0"+t.toString(16),r+=o.substr(o.length-2,2);return r}var h,g,b,m,v,y,w,C,S,O=Array(),j=7,k=12,x=17,P=22,T=5,_=9,E=14,L=20,$=4,A=11,I=16,M=23,B=6,N=10,R=15,V=21;for(O=d(t),y=1732584193,w=4023233417,C=2562383102,S=271733878,h=0;h1||"".split(/.?/).length?function(t,n){var r=d(u(this)),a=void 0===n?y:n>>>0;if(0===a)return[];if(void 0===t)return[r];if(!s(t))return i(e,r,t,a);var c,f,l,A=[],g=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),p=0,b=new RegExp(t.source,g+"g");while(c=i(m,b,r)){if(f=b.lastIndex,f>p&&(x(A,w(r,p,c.index)),c.length>1&&c.index=a))break;b.lastIndex===c.index&&b.lastIndex++}return p===r.length?!l&&S(b,"")||x(A,""):x(A,w(r,p)),A.length>a?h(A,0,a):A}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:i(e,this,t,n)}:e,[function(e,n){var o=u(this),a=void 0==e?void 0:g(e,t);return a?i(a,e,o,n):i(r,d(o),e,n)},function(t,o){var i=c(this),a=d(t),s=n(r,i,a,o,r!==e);if(s.done)return s.value;var u=f(i,RegExp),g=i.unicode,h=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(C?"g":"y"),m=new u(C?"^(?:"+i.source+")":i,h),b=void 0===o?y:o>>>0;if(0===b)return[];if(0===a.length)return null===p(m,a)?[a]:[];var v=0,B=0,S=[];while(B1&&void 0!==arguments[1]?arguments[1]:{};switch(u=A.duration||1e3,i=A.offset||0,g=A.callback,r=A.easing||f,a=A.a11y||!1,s(A.container)){case"object":t=A.container;break;case"string":t=document.querySelector(A.container);break;default:t=window}switch(n=h(),s(l)){case"number":e=void 0,a=!1,o=n+l;break;case"object":e=l,o=p(e);break;case"string":e=document.querySelector(l),o=p(e);break}switch(c=o-n+i,s(A.duration)){case"number":u=A.duration;break;case"function":u=A.duration(c);break}requestAnimationFrame(b)}return C},A=l(),d=A,g=n("7286"),h=n.n(g),p=n("477e"),m=n.n(p),b=n("e160"),v=n.n(b),C=n("df5e"),y=n.n(C),I=n("ec0f"),B=n.n(I),S=n("b671"),x=n.n(S),w=n("5629"),k=n.n(w),E=n("d0e3"),D=n.n(E),Q=n("4039"),U=n.n(Q),V=n("1e75"),O=n.n(V),F=n("1632"),N=n.n(F),P=n("7abd"),R=n.n(P),M=n("356c"),K=n.n(M),T=n("b165"),H=n.n(T),W=n("cf68"),z=n.n(W),J=n("4400"),L=n.n(J),G=n("802e"),q=n.n(G),Y=n("0827"),Z=n.n(Y),j={themes:[{body:"#ede7da url("+h.a+") repeat",content:"#ede7da url("+m.a+") repeat",popup:"#ede7da url("+v.a+") repeat"},{body:"#ede7da url("+y.a+") repeat",content:"#ede7da url("+B.a+") repeat",popup:"#ede7da url("+x.a+") repeat"},{body:"#ede7da url("+k.a+") repeat",content:"#ede7da url("+D.a+") repeat",popup:"#ede7da url("+U.a+") repeat"},{body:"#ede7da url("+O.a+") repeat",content:"#ede7da url("+N.a+") repeat",popup:"#ede7da url("+R.a+") repeat"},{body:"#ebcece repeat",content:"#f5e4e4 repeat",popup:"#faeceb repeat"},{body:"#ede7da url("+K.a+") repeat",content:"#ede7da url("+H.a+") repeat",popup:"#ede7da url("+z.a+") repeat"},{body:"#ede7da url("+L.a+") repeat",content:"#ede7da url("+q.a+") repeat",popup:"#ede7da url("+Z.a+") repeat"}],fonts:[{fontFamily:"Microsoft YaHei, PingFangSC-Regular, HelveticaNeue-Light, Helvetica Neue Light, sans-serif"},{fontFamily:"PingFangSC-Regular, -apple-system, Simsun"},{fontFamily:"Kaiti"}]},X=j,$=(n("05b3"),{name:"PopCata",data:function(){return{isNight:6==this.$store.state.config.theme,index:this.$store.state.readingBook.index}},computed:{catalog:function(){return this.$store.state.readingBook.catalog},popCataVisible:function(){return this.$store.state.popCataVisible},theme:function(){return this.$store.state.config.theme},popupTheme:function(){return{background:X.themes[this.theme].popup}}},mounted:function(){},watch:{theme:function(t){this.isNight=6==t},popCataVisible:function(){this.$nextTick((function(){var t=this.$store.state.readingBook.index,e=this.$refs.cataData;d(this.$refs.cata[t],{container:e,duration:0})}))}},methods:{isSelected:function(t){return t==this.$store.state.readingBook.index},gotoChapter:function(t){this.index=this.catalog.indexOf(t),this.$store.commit("setPopCataVisible",!1),this.$store.commit("setContentLoading",!0),this.$emit("getContent",this.index)}}}),_=$,tt=(n("635f"),n("2877")),et=Object(tt["a"])(_,r,a,!1,null,"0aacaab8",null),nt=et.exports,ot=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"settings-wrapper",class:{night:t.isNight,day:!t.isNight},style:t.popupTheme},[n("div",{staticClass:"settings-title"},[t._v("设置")]),n("div",{staticClass:"setting-list"},[n("ul",[n("li",{staticClass:"theme-list"},[n("i",[t._v("阅读主题")]),t._l(t.themeColors,(function(e,o){return n("span",{key:o,ref:"themes",refInFor:!0,staticClass:"theme-item",class:{selected:t.selectedTheme==o},style:e,on:{click:function(e){return t.setTheme(o)}}},[o<6?n("em",{staticClass:"iconfont"},[t._v("")]):n("em",{staticClass:"moon-icon"},[t._v(t._s(t.moonIcon))])])}))],2),n("li",{staticClass:"font-list"},[n("i",[t._v("正文字体")]),t._l(t.fonts,(function(e,o){return n("span",{key:o,staticClass:"font-item",class:{selected:t.selectedFont==o},on:{click:function(e){return t.setFont(o)}}},[t._v(t._s(e))])}))],2),n("li",{staticClass:"font-size"},[n("i",[t._v("字体大小")]),n("div",{staticClass:"resize"},[n("span",{staticClass:"less",on:{click:t.lessFontSize}},[n("em",{staticClass:"iconfont"},[t._v("")])]),n("b"),t._v(" "),n("span",{staticClass:"lang"},[t._v(t._s(t.fontSize))]),n("b"),n("span",{staticClass:"more",on:{click:t.moreFontSize}},[n("em",{staticClass:"iconfont"},[t._v("")])])])]),t.$store.state.miniInterface?t._e():n("li",{staticClass:"read-width"},[n("i",[t._v("页面宽度")]),n("div",{staticClass:"resize"},[n("span",{staticClass:"less",on:{click:t.lessReadWidth}},[n("em",{staticClass:"iconfont"},[t._v("")])]),n("b"),t._v(" "),n("span",{staticClass:"lang"},[t._v(t._s(t.readWidth))]),n("b"),n("span",{staticClass:"more",on:{click:t.moreReadWidth}},[n("em",{staticClass:"iconfont"},[t._v("")])])])])])])])},it=[],rt=(n("82da"),n("b3f5")),at={name:"ReadSettings",data:function(){return{theme:0,isNight:6==this.$store.state.config.theme,moonIcon:"",themeColors:[{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)"}],moonIconStyle:{display:"inline",color:"rgba(255,255,255,0.2)"},fonts:["雅黑","宋体","楷书"]}},mounted:function(){var t=this.$store.state.config;this.theme=t.theme,6==this.theme?this.moonIcon="":this.moonIcon=""},computed:{config:function(){return this.$store.state.config},popupTheme:function(){return{background:X.themes[this.config.theme].popup}},selectedTheme:function(){return this.$store.state.config.theme},selectedFont:function(){return this.$store.state.config.font},fontSize:function(){return this.$store.state.config.fontSize},readWidth:function(){return this.$store.state.config.readWidth}},methods:{setTheme:function(t){6==t?(this.isNight=!0,this.moonIcon="",this.moonIconStyle.color="#ed4259"):(this.isNight=!1,this.moonIcon="",this.moonIconStyle.color="rgba(255,255,255,0.2)");var e=this.config;e.theme=t,this.$store.commit("setConfig",e),this.uploadConfig()},setFont:function(t){var e=this.config;e.font=t,this.$store.commit("setConfig",e),this.uploadConfig()},moreFontSize:function(){var t=this.config;t.fontSize<48&&(t.fontSize+=2),this.$store.commit("setConfig",t),this.uploadConfig()},lessFontSize:function(){var t=this.config;t.fontSize>12&&(t.fontSize-=2),this.$store.commit("setConfig",t),this.uploadConfig()},moreReadWidth:function(){var t=this.config;t.readWidth<960&&(t.readWidth+=160),this.$store.commit("setConfig",t),this.uploadConfig()},lessReadWidth:function(){var t=this.config;t.readWidth>640&&(t.readWidth-=160),this.$store.commit("setConfig",t),this.uploadConfig()},uploadConfig:function(){rt["a"].post("/saveReadConfig",this.config)}}},st=at,ct=(n("0928"),Object(tt["a"])(st,ot,it,!1,null,"65e7f0f4",null)),ut=ct.exports,ft=(n("d81d"),n("00b4"),n("466d"),{name:"pcontent",data:function(){return{}},props:["carray"],render:function(){var t=this,e=arguments[0],n=this.fontFamily,o=this.fontSize,i=n;return i.fontSize=o,this.show?e("div",[this.carray.map((function(n){return/]*src/.test(n)?e("img",{directives:[{name:"lazy",value:t.getImageSrc(n)}]}):e("p",{style:i,domProps:{innerHTML:n}})}))]):e("div")},computed:{show:function(){return this.$store.state.showContent},fontFamily:function(){return X.fonts[this.$store.state.config.font]},fontSize:function(){return this.$store.state.config.fontSize+"px"}},methods:{getImageSrc:function(t){var e=/]*src="([^"]*(?:"[^>]+\})?)"[^>]*>/;return t.match(e)[1]}},watch:{fontSize:function(){var t=this;t.$store.commit("setShowContent",!1),this.$nextTick((function(){t.$store.commit("setShowContent",!0)}))}}}),lt=ft,At=(n("004c"),Object(tt["a"])(lt,c,u,!1,null,"39060afc",null)),dt=At.exports,gt=n("d930"),ht={components:{PopCata:nt,Pcontent:dt,ReadSettings:ut},created:function(){var t=JSON.parse(localStorage.getItem("config"));null!=t&&this.$store.commit("setConfig",t)},beforeCreate:function(){var t=JSON.parse(localStorage.getItem("config"));null!=t&&this.$store.commit("setConfig",t)},mounted:function(){var t=this;this.loading=this.$loading({target:this.$refs.content,lock:!0,text:"正在获取内容",spinner:"el-icon-loading",background:"rgba(0,0,0,0)"});var e=this,n=sessionStorage.getItem("bookUrl"),o=sessionStorage.getItem("bookName"),i=sessionStorage.getItem("bookAuthor"),r=Number(sessionStorage.getItem("chapterIndex")||0),a=JSON.parse(localStorage.getItem(n));(null==a||r>0)&&(a={bookName:o,bookAuthor:i,bookUrl:n,index:r},localStorage.setItem(n,JSON.stringify(a))),this.getCatalog(n).then((function(n){a.catalog=n.data.data,e.$store.commit("setReadingBook",a);var o=e.$store.state.readingBook.index||0;t.getContent(o),window.addEventListener("keyup",t.handleKeyPress),window.addEventListener("scroll",t.handleScroll)}),(function(t){throw e.loading.close(),e.$message.error("获取书籍目录失败"),t}))},destroyed:function(){window.removeEventListener("keyup",this.handleKeyPress),window.removeEventListener("scroll",this.handleScroll),this.readSettingsVisible=!1,this.popCataVisible=!1},watch:{chapterData:function(){this.$store.commit("setContentLoading",!1)},theme:function(t){this.isNight=6==t},bodyColor:function(t){this.bodyTheme.background=t},chapterColor:function(t){this.chapterTheme.background=t},readWidth:function(t){this.chapterTheme.width=t;var e=-((parseInt(t)+130)/2+68)+"px",n=-((parseInt(t)+130)/2+52)+"px";this.leftBarTheme.marginLeft=e,this.rightBarTheme.marginRight=n},popupColor:function(t){this.leftBarTheme.background=t,this.rightBarTheme.background=t},readSettingsVisible:function(t){if(!t){var e=JSON.stringify(this.$store.state.config);localStorage.setItem("config",e)}}},data:function(){return{noPoint:!0,showToolBar:!1,chapterData:[],oldScrollTop:0}},computed:{catalog:function(){return this.$store.state.catalog},windowHeight:function(){return window.innerHeight},contentHeight:function(){return this.$refs.content.offsetHeight},popCataVisible:{get:function(){return this.$store.state.popCataVisible},set:function(t){this.$store.commit("setPopCataVisible",t)}},readSettingsVisible:{get:function(){return this.$store.state.readSettingsVisible},set:function(t){this.$store.commit("setReadSettingsVisible",t)}},config:function(){return this.$store.state.config},theme:function(){return this.config.theme},bodyColor:function(){return X.themes[this.config.theme].body},chapterColor:function(){return X.themes[this.config.theme].content},popupColor:function(){return X.themes[this.config.theme].popup},isNight:function(){return 6==this.$store.state.config.theme},readWidth:function(){return this.$store.state.miniInterface?window.innerWidth+"px":this.$store.state.config.readWidth-130+"px"},popupWidth:function(){return this.$store.state.miniInterface?window.innerWidth-33:this.$store.state.config.readWidth-33},bodyTheme:function(){return{background:X.themes[this.$store.state.config.theme].body}},chapterTheme:function(){return{background:X.themes[this.$store.state.config.theme].content,width:this.readWidth}},leftBarTheme:function(){return{background:X.themes[this.$store.state.config.theme].popup,marginLeft:this.$store.state.miniInterface?0:-(this.$store.state.config.readWidth/2+68)+"px",display:this.$store.state.miniInterface&&!this.showToolBar?"none":"block"}},rightBarTheme:function(){return{background:X.themes[this.$store.state.config.theme].popup,marginRight:this.$store.state.miniInterface?0:-(this.$store.state.config.readWidth/2+52)+"px",display:this.$store.state.miniInterface&&!this.showToolBar?"none":"block"}},show:function(){return this.$store.state.showContent}},methods:{getCatalog:function(t){return rt["a"].get("/getChapterList?url="+encodeURIComponent(t))},getContent:function(t){var e=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];n&&(this.$store.commit("setShowContent",!1),this.loading.visible||(this.loading=this.$loading({target:this.$refs.content,lock:!0,text:"正在获取内容",spinner:"el-icon-loading",background:"rgba(0,0,0,0)"})),d(this.$refs.top,{duration:0}));var i=sessionStorage.getItem("bookUrl"),r=JSON.parse(localStorage.getItem(i));r.index=t,localStorage.setItem(i,JSON.stringify(r)),this.$store.state.readingBook.index=t,sessionStorage.setItem("chapterIndex",t);var a=this.$store.state.readingBook.catalog[t].title,s=this.$store.state.readingBook.catalog[t].index;this.saveReadingBookProgress(s,a),document.title=sessionStorage.getItem("bookName")+" | "+a;var c=this;rt["a"].get("/getBookContent?url="+encodeURIComponent(i)+"&index="+s).then((function(i){if(i.data.isSuccess){var r=i.data.data,s=r.split(/\n+/);e.updateChapterData({index:t,content:s,title:a},n,o)}else{c.$message.error("书源正文解析错误!");var u=["书源正文解析失败!"];e.updateChapterData({index:t,content:u,title:a},n,o)}if(e.$store.commit("setContentLoading",!0),c.loading.close(),c.noPoint=!1,c.$store.commit("setShowContent",!0),!i.data.isSuccess)throw i.data}),(function(i){c.$message.error("获取章节内容失败");var r=["获取章节内容失败!"];throw e.updateChapterData({index:t,content:r,title:a},n,o),c.loading.close(),c.$store.commit("setShowContent",!0),i}))},toTop:function(){d(this.$refs.top)},toBottom:function(){d(this.$refs.bottom)},toNextChapter:function(){this.$store.commit("setContentLoading",!0);var t=this.$store.state.readingBook.index;t++,"undefined"!==typeof this.$store.state.readingBook.catalog[t]?(this.$message.info("下一章"),this.getContent(t)):this.$message.error("本章是最后一章")},toPreChapter:function(){this.$store.commit("setContentLoading",!0);var t=this.$store.state.readingBook.index;t--,"undefined"!==typeof this.$store.state.readingBook.catalog[t]?(this.$message.info("上一章"),this.getContent(t)):this.$message.error("本章是第一章")},saveReadingBookProgress:function(t,e){rt["a"].post("/saveBookProgress",{name:this.$store.state.readingBook.bookName,author:this.$store.state.readingBook.bookAuthor,durChapterIndex:t,durChapterPos:0,durChapterTime:(new Date).getMilliseconds(),durChapterTitle:e})},updateChapterData:function(t,e,n){e&&this.chapterData.splice(0),n?this.chapterData.push(t):this.chapterData.unshift(t)},loadMore:function(){var t=this.$store.state.readingBook.index;this.$store.state.readingBook.catalog.length-1>t&&this.getContent(t+1,!1)},loadBefore:function(){var t=this.$store.state.readingBook.index;00&&e+n>=.9*o&&this.loadMore(),this.oldScrollTop=e})),toShelf:function(){this.$router.push("/")},handleKeyPress:function(t){switch(t.key){case"ArrowLeft":t.stopPropagation(),t.preventDefault(),this.toPreChapter();break;case"ArrowRight":t.stopPropagation(),t.preventDefault(),this.toNextChapter();break;case"ArrowUp":t.stopPropagation(),t.preventDefault(),0===document.documentElement.scrollTop?this.$message.warning("已到达页面顶部"):d(0-document.documentElement.clientHeight+100);break;case"ArrowDown":t.stopPropagation(),t.preventDefault(),document.documentElement.clientHeight+document.documentElement.scrollTop===document.documentElement.scrollHeight?this.$message.warning("已到达页面底部"):d(document.documentElement.clientHeight-100);break}}}},pt=ht,mt=(n("cab1"),Object(tt["a"])(pt,o,i,!1,null,"6e79c246",null));e["default"]=mt.exports},5629:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyAgMAAABjUWAiAAAADFBMVEXN383Q4tDP4c/R5NEInCCXAAACVElEQVQozw3Hv2sTYRwH4M/79pJ7bZL2bXqtERJ97zjUpbZDhg6pfC8qibi8hLR0EaJ0EFxaCSWDxjfpj1zrYBcRBKE6SAfBJWsx9i8IQfdQxDlKtA6t2OnhQfN3lbG7ytYRywF8rVoPCNO0X2sQOKDpAnSDK2VwkHgmh5yLGT8qASt+2KofnNt2Xg1gf1UF8AoM6052cRMNaloLZb7RKQGrKKji2OefsZF+VqIvos5ZLVIZCX61JcwUdk56wASVkgQvzPfvmT2twTSwyYaC/Pl/UhAHorFhBgZtL6XdAZRp1tkPwC1NLa9CWs5prLhI85NBQsLdXvjDymG3/EbYfQhVNYqc3TtktQhWLY3ko0QsdMbSEp+64v0NfxyqLbIGdh6M2xHHlLBGqKTyQo4E/nebBgBfe1GpdeywYXc8CT7D3cKXuMXkBy4xN6o5OuKamYp3DVI6uccO9lxgd2CAlJgI2BGgaAgIJV/TYwKqu3WFccjbMuA+bVkWgS2bfnlRbD1Eb1sDyWMmjKYIBgGAWbqKRicfvzBkBIz3V5AKnguWdglQEysQsSuVzOg6ALy1pitA5ykGCsc857BRYcgCSZyFOdvoOigSGoPc5Ta73mgxshIcQE5sHMHd9D7yqITw7JO+GHVMxjhzYLcKPSEgmz3fU+BRy3iYNtiXLaBssCW8KguReqkQOTb3MStV0Ugt4U1eIs1RZWRII6Ww8xeNNItyGGQI4ZMlpg/3lQtkl2JFnBp1imRyFe0kK2Id3PCslMgiQNMS77gvFeDhG3cSkYvheeg/e7ClIh5oh+IAAAAASUVORK5CYII="},"57b9":function(t,e,n){var o=n("c65b"),i=n("d066"),r=n("b622"),a=n("cb2d");t.exports=function(){var t=i("Symbol"),e=t&&t.prototype,n=e&&e.valueOf,s=r("toPrimitive");e&&!e[s]&&a(e,s,(function(t){return o(n,this)}),{arity:1})}},5899:function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"58a8":function(t,e,n){var o=n("e330"),i=n("1d80"),r=n("577e"),a=n("5899"),s=o("".replace),c="["+a+"]",u=RegExp("^"+c+c+"*"),f=RegExp(c+c+"*$"),l=function(t){return function(e){var n=r(i(e));return 1&t&&(n=s(n,u,"")),2&t&&(n=s(n,f,"")),n}};t.exports={start:l(1),end:l(2),trim:l(3)}},"5a47":function(t,e,n){var o=n("23e7"),i=n("4930"),r=n("d039"),a=n("7418"),s=n("7b0b"),c=!i||r((function(){a.f(1)}));o({target:"Object",stat:!0,forced:c},{getOwnPropertySymbols:function(t){var e=a.f;return e?e(s(t)):[]}})},"635f":function(t,e,n){"use strict";n("6c5b")},"6c5b":function(t,e,n){},7156:function(t,e,n){var o=n("1626"),i=n("861d"),r=n("d2bb");t.exports=function(t,e,n){var a,s;return r&&o(a=e.constructor)&&a!==n&&i(s=a.prototype)&&s!==n.prototype&&r(t,s),t}},7286:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyAgMAAABjUWAiAAAADFBMVEXr5djn4dTp49bt59rT6LKxAAACnElEQVQozw3NUUwScRzA8d8R6MF8YMIx8uk47hDSJbj14IPzOGc7jPLvwTGg5uAYDbe2tt56cLtznvEnS6yDqCcEaWi91DvrbLJZz7b1aFtz1aO+2OZWvn+/+4CHeB6BMYaqBLfjPNRY6RFT2JJYby+uAk4WUTrtlmJ4hgPYb2q1XGDQjaK8pgJHvqNaAX+KyuIkDXpgQinb46nOulnn4b5laUHTxLfseeArAoNOeJlOIjdoal0n1FA7tKFv5roK+YaHOqP3P0XyKHPHY+MhTRe5uCZnKhtJKw2eSrSoBDPLtpZuNcFNJcFyiCMxOaaHIfXz1e8HQbWLySrBQ4x0x1qlhnHlnz2HQEC6TNb0gTHXa7IKhcaHqkE015hk9whA0YeWiLIXf7Fa2CZo3DjqjB4tTuF8jIcbfcEx5z/w4sXpQhXW+ju0cqh7icTFmRMaG+v6CIvTjcSpHcH8JEsF3EPh3fRthYdVLLgI2fWXm85/pGFE4l046s70L+yKCcirGFR+jbpy3kMmiCGHrSezVONsn1RBixncyk2PcVWk7DlgxHo8iZwDyq5uAUD854dZhdIFYzKoQig2haUKi1lVufz2RZUZPZ41n/hrOQB6h0Hhg8I367FNoEHgeM/KY7szSeQwD8q2WE3HM35ZLl0K1MJiOtHIkBclRQUwZnyOWcNsRQQgVLj1PSqkjF9DsoOSaSg3iinKzvfmgsNFFfpP/2T3GLGvL4fHEfwIX1sVvXcPqLztehWGcfn9nI2U9nTfCgJPe/jFPLZwgVEzimBgAm0VIyK2tt1cE/AzQdLK+SxLSQ4aDCZnnId94OG2S1XwvnTbNk/ZnhyRCQT+sZM6z9g6LXL1BOBe+zJySiFkHAINCtnQokbCJ/apCv0foqPiZVfhpywAAAAASUVORK5CYII="},"746f":function(t,e,n){var o=n("428f"),i=n("1a2d"),r=n("e538"),a=n("9bf2").f;t.exports=function(t){var e=o.Symbol||(o.Symbol={});i(e,t)||a(e,t,{value:r.f(t)})}},7715:function(t,e,n){},"7abd":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyAgMAAABjUWAiAAAADFBMVEXm9PXq+Pno9vfs+vttWKBGAAACPElEQVQozw3RQWrbQACF4TfCMjPqZgIj4RRaxsZKE0PuMBZ2cLKaCI9RDAXFmJJknUWWI1O1UlamOMHJSjGkuFn3AD2Cr9CepDrAg+/xIxK4QwIqHHQkUhQ/WuphInVIFBojl8QXc012Tgq4RTtVHWVLZVFh1tEoI91uiN4joCqde8Ukn/zGM1B2W4ari2PtTwyw55Ld+Wways54qhGPyS6FzbIT3lIY8WwWdCq56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Zby72V8UnOWumZL3qtYc+8DTE0siSBMXGhywx2dMYPnQHbxdFZ7deiNGxCCtD/QWnbwDoGhRYPDzUdUA3krjpnkvdAgDN4ddLkEQSov9qjd42HaDjI34gEqS9TUueAk+sc4qg5ws407KQYKs8G1jv4xBlqBVk6cb4dISZIwVi1Jzu4+HLk6lyfUxkXvwy+1Q+4WVdHIhwfybZ6CWVhxMEhShOgsP/HOW0MvZJeFwAAAABJRU5ErkJggg=="},"82da":function(t,e,n){},"8aa5":function(t,e,n){"use strict";var o=n("6547").charAt;t.exports=function(t,e,n){return e+(n?o(t,e).length:1)}},a434:function(t,e,n){"use strict";var o=n("23e7"),i=n("da84"),r=n("23cb"),a=n("5926"),s=n("07fa"),c=n("7b0b"),u=n("65f0"),f=n("8418"),l=n("1dde"),A=l("splice"),d=i.TypeError,g=Math.max,h=Math.min,p=9007199254740991,m="Maximum allowed length exceeded";o({target:"Array",proto:!0,forced:!A},{splice:function(t,e){var n,o,i,l,A,b,v=c(this),C=s(v),y=r(t,C),I=arguments.length;if(0===I?n=o=0:1===I?(n=0,o=C-y):(n=I-2,o=h(g(a(e),0),C-y)),C+n-o>p)throw d(m);for(i=u(v,o),l=0;lC-o+n;l--)delete v[l-1]}else if(n>o)for(l=C-o;l>y;l--)A=l+o-1,b=l+n-1,A in v?v[b]=v[A]:delete v[b];for(l=0;l2)if(u=b(u),e=S(u,0),43===e||45===e){if(n=S(u,2),88===n||120===n)return NaN}else if(48===e){switch(S(u,1)){case 66:case 98:o=2,i=49;break;case 79:case 111:o=8,i=55;break;default:return+u}for(r=B(u,2),a=r.length,s=0;si)return NaN;return parseInt(r,o)}return+u};if(a(v,!C(" 0o1")||!C("0b1")||C("+0x1"))){for(var k,E=function(t){var e=arguments.length<1?0:C(x(t)),n=this;return f(y,n)&&d((function(){m(n)}))?u(Object(e),n,E):e},D=o?g(C):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),Q=0;D.length>Q;Q++)c(C,k=D[Q])&&!c(E,k)&&p(E,k,h(C,k));E.prototype=y,y.constructor=E,s(i,v,E,{constructor:!0})}},b165:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyAgMAAABjUWAiAAAADFBMVEXe3t7a2trc3Nzg4OCXP9lCAAACoklEQVQozwXBzU/TYBwA4N+QEr4CNbSFwcFuowSqMRvEAwShHWAYNsu7dS0dLnGUSWT4kZB4lGzE4VtcwgIDJqcOWLJxcv4BOoQZuCPxSNSD4WSWLJGL8XmAIiyo2RgJ4A1pxQQlOxRAszLTdnPu2oQGb05RC5slJld7ZAIfo4O44Bn1ud59F0BcjnYOa17Jhwc6EdiKettncsXjT1f8KUBZUW41pK0Jc1Az4dEV3rkkPBtDSZ83Blyt0kSf2PRjzIykoBwINisPbPPtljdVE9iAXRfUPkXLVIgYrCccp5g687NdZbcJ+xa5VE/HhTtT23IKsN5jj/pcUd0dTZNAqCVw72n4gOwnTOC0vvHfaauT8d9zAoRRfPpISZRVyUiw8ELzOG1b2DZpFzkSrHLhq52twDEdyZHwvp2j4uv/bjvOf23/AcEtTuJbY5Cp4YcAer1IGkUzOo2rn8LQOKjFJw3NTw24nprQXY5aF4wxcqcSdbFQ00H4xFl8Drx4X4CikvAM1tuR8bKIBCBoLnKN10KJG4zKAsc7c9WEB9gnCi6BhVjqoco6t20ILAJuVctvaEZK732cRHDRmGfuihOam0o2CHByUZ/epCcVlRs2wmCnMqsd6aSim3ibBJtm1LGyXW3Bb7tJCPlFtUG+SvPdeEUAB60lNdo+VQbLcwRNVtT68FsLcr1+NotgNihlpExS1V2SFgNbeC8bEhgm8sM17wSi6Us2gxVWJU/5GKBpandvfyYbU1yHCLpCgWGbbPXn40rehEsUXKIJr9DMKgICfjc4bl1YfvUhE/YIECGRqjCxSM9hrybAIkND5OeWfFZsXkxB+qDzb7pUQ3EfQ3Ml6EChEt3D+iS01VqC7EQ/Z/DuPQcz4yChoFQJce2Qr+NNAv0HxofmpXGqgHkAAAAASUVORK5CYII="},b4f8:function(t,e,n){var o=n("23e7"),i=n("d066"),r=n("1a2d"),a=n("577e"),s=n("5692"),c=n("3d87"),u=s("string-to-symbol-registry"),f=s("symbol-to-string-registry");o({target:"Symbol",stat:!0,forced:!c},{for:function(t){var e=a(t);if(r(u,e))return u[e];var n=i("Symbol")(e);return u[e]=n,f[n]=e,n}})},b671:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyBAMAAADsEZWCAAAAD1BMVEX48dr48Nf58tv379X17NJtIBxUAAACFUlEQVQ4y1XRUZakMAgF0Af2AiDWApDZgHZqAV1nZv9rGh7Rj7Y8McUFEg1wvcMESMNVD/neU8Xcaz7nYYkYlYO6Ti82PBI4BvIEg1aj3wKwRvIMgZsUy5LdhCawPFh1sZs4SrlyN9fQKpv8s5dgZ2eLyqqJiu+WkCmUEybXkm3INS01WAiv0PapJ0CZc0SJQUzcWnZYbOOY20iFD8Bk+/j2A3wNxH7GdShFYS5ff237kXh9I9zSkQmIAhOsOSVfJ6DIXTMDaPnzkRJ92S1BQQmXl5LdirgRLLDdcYqcGPwe3QN4xCBiGNbrqq9wpW1XCecChwaQdVOsRDpPCpeoolPdxeXp3WNB9PHVzWBHlygy4NJCCrFHREv6bDt0VGwJZASkpONmm1UseGeFKAQexgaAkrfYWl3AGxWOLL2AIMBNbCXpktmS3k3vHeYjGCPBa43wJTurO3ZFVpQSJdAZGLoHTyk1upkjxMEaIxum3iIARcCa5kSkFAW5fi1mUlL9eyOsaanFmOMruwvEdE3ZYzsRSzo5ewRLXyVPPEvknt8ij4DvCg2O7xOgBCUprEzV4z1WekSpUgI8DT2mrnSOXKRfQavwuKA1F+tFnMKdJSUpMA7wQAifWRkMgjUKKZE4lBl6MCM4B1pq1P4uIjDE6Pq6rL0FnW1nIFmta5vrSvq/Ch4tpqG/ZNyyWa5jZPktq81eYv8Bt5s4iFITOp4AAAAASUVORK5CYII="},b727:function(t,e,n){var o=n("0366"),i=n("e330"),r=n("44ad"),a=n("7b0b"),s=n("07fa"),c=n("65f0"),u=i([].push),f=function(t){var e=1==t,n=2==t,i=3==t,f=4==t,l=6==t,A=7==t,d=5==t||l;return function(g,h,p,m){for(var b,v,C=a(g),y=r(C),I=o(h,p),B=s(y),S=0,x=m||c,w=e?x(g,B):n||A?x(g,0):void 0;B>S;S++)if((d||S in y)&&(b=y[S],v=I(b,S,C),t))if(e)w[S]=v;else if(v)switch(t){case 3:return!0;case 5:return b;case 6:return S;case 2:u(w,b)}else switch(t){case 4:return!1;case 7:u(w,b)}return l?-1:i||f?f:w}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},c513:function(t,e,n){var o=n("23e7"),i=n("1a2d"),r=n("d9b5"),a=n("0d51"),s=n("5692"),c=n("3d87"),u=s("symbol-to-string-registry");o({target:"Symbol",stat:!0,forced:!c},{keyFor:function(t){if(!r(t))throw TypeError(a(t)+" is not a symbol");if(i(u,t))return u[t]}})},cab1:function(t,e,n){"use strict";n("e535")},cf68:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyBAMAAADsEZWCAAAAD1BMVEXm5ubo6Ojp6enr6+vt7e1FnZagAAACrklEQVQ4yx1SixUbMQgT3AKAFwDcAfzpBN1/qMrJS5w7bCQhC6IGSUGYQJd6Ox9ZPXi1AGJBavhUTT0JjYPGAab9WcDYIxsmlnxkayX8mhxCmKHA75az5cfRbWybEExiu08xDSgGym0mwuf3j4SvHeQxDJJzh2zp4iOlrD8iOb4SXyC1wiOLRTcnrje+nGamFeXVKWkmzbFIPChkmJ6Fg7mBpV8n+JGOVCd4jv1thThkjeQGNeafpeV3rsEWLfyWc8tC9jOv6FQ8rRzHOOVB+jCYEUAJpDvh8xHNFm/Tm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kViVBANMto4enXHPNTkHBB0oVj4r5vHzCWayrgBvxtygDlDB2CNDjd80ZInY69aKVYZcfJ8DW+fWuc+syEODALx+ojqoafHsthTI+ZW27PGpIeo/cR6YKcbqIuIFhHmBrzAovzIOOJk1ucvcDzrMRYGVBH2yvcAOf0KiKwfRovBI3tm/kW1eemtfNWwIIXE2mJNhvoszfmMBfRCv0OPwd2321uDW3nx2q/BDxFVeoN1g7a6Im8yRnoawa8kbdXnU0cHeTMxKfZGlJgvLb3sKsxgglQnDdAfvj9LUnqWRDo0GiUmPwyU7TAsD7wHeIW3Nfy1qVGKoE9NgJCdYCAexNRob9yCn4DAQmXtQuUtera6bEmTTXhZy6h856xi4mnEl6BI9mfISkLbtJyZIMJIAUd5ZOBEu88KRAk71yxfItj/hpIB0Errv4gO1os4/UICf+o3kkqwAAAAASUVORK5CYII="},d28b:function(t,e,n){var o=n("746f");o("iterator")},d784:function(t,e,n){"use strict";n("ac1f");var o=n("e330"),i=n("cb2d"),r=n("9263"),a=n("d039"),s=n("b622"),c=n("9112"),u=s("species"),f=RegExp.prototype;t.exports=function(t,e,n,l){var A=s(t),d=!a((function(){var e={};return e[A]=function(){return 7},7!=""[t](e)})),g=d&&!a((function(){var e=!1,n=/a/;return"split"===t&&(n={},n.constructor={},n.constructor[u]=function(){return n},n.flags="",n[A]=/./[A]),n.exec=function(){return e=!0,null},n[A](""),!e}));if(!d||!g||n){var h=o(/./[A]),p=e(A,""[t],(function(t,e,n,i,a){var s=o(t),c=e.exec;return c===r||c===f.exec?d&&!a?{done:!0,value:h(e,n,i)}:{done:!0,value:s(n,e,i)}:{done:!1}}));i(String.prototype,t,p[0]),i(f,A,p[1])}l&&c(f[A],"sham",!0)}},d81d:function(t,e,n){"use strict";var o=n("23e7"),i=n("b727").map,r=n("1dde"),a=r("map");o({target:"Array",proto:!0,forced:!a},{map:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},d9f5:function(t,e,n){"use strict";var o=n("23e7"),i=n("da84"),r=n("c65b"),a=n("e330"),s=n("c430"),c=n("83ab"),u=n("4930"),f=n("d039"),l=n("1a2d"),A=n("3a9b"),d=n("825a"),g=n("fc6a"),h=n("a04b"),p=n("577e"),m=n("5c6c"),b=n("7c73"),v=n("df75"),C=n("241c"),y=n("057f"),I=n("7418"),B=n("06cf"),S=n("9bf2"),x=n("37e8"),w=n("d1e7"),k=n("cb2d"),E=n("5692"),D=n("f772"),Q=n("d012"),U=n("90e3"),V=n("b622"),O=n("e538"),F=n("746f"),N=n("57b9"),P=n("d44e"),R=n("69f3"),M=n("b727").forEach,K=D("hidden"),T="Symbol",H="prototype",W=R.set,z=R.getterFor(T),J=Object[H],L=i.Symbol,G=L&&L[H],q=i.TypeError,Y=i.QObject,Z=B.f,j=S.f,X=y.f,$=w.f,_=a([].push),tt=E("symbols"),et=E("op-symbols"),nt=E("wks"),ot=!Y||!Y[H]||!Y[H].findChild,it=c&&f((function(){return 7!=b(j({},"a",{get:function(){return j(this,"a",{value:7}).a}})).a}))?function(t,e,n){var o=Z(J,e);o&&delete J[e],j(t,e,n),o&&t!==J&&j(J,e,o)}:j,rt=function(t,e){var n=tt[t]=b(G);return W(n,{type:T,tag:t,description:e}),c||(n.description=e),n},at=function(t,e,n){t===J&&at(et,e,n),d(t);var o=h(e);return d(n),l(tt,o)?(n.enumerable?(l(t,K)&&t[K][o]&&(t[K][o]=!1),n=b(n,{enumerable:m(0,!1)})):(l(t,K)||j(t,K,m(1,{})),t[K][o]=!0),it(t,o,n)):j(t,o,n)},st=function(t,e){d(t);var n=g(e),o=v(n).concat(At(n));return M(o,(function(e){c&&!r(ut,n,e)||at(t,e,n[e])})),t},ct=function(t,e){return void 0===e?b(t):st(b(t),e)},ut=function(t){var e=h(t),n=r($,this,e);return!(this===J&&l(tt,e)&&!l(et,e))&&(!(n||!l(this,e)||!l(tt,e)||l(this,K)&&this[K][e])||n)},ft=function(t,e){var n=g(t),o=h(e);if(n!==J||!l(tt,o)||l(et,o)){var i=Z(n,o);return!i||!l(tt,o)||l(n,K)&&n[K][o]||(i.enumerable=!0),i}},lt=function(t){var e=X(g(t)),n=[];return M(e,(function(t){l(tt,t)||l(Q,t)||_(n,t)})),n},At=function(t){var e=t===J,n=X(e?et:g(t)),o=[];return M(n,(function(t){!l(tt,t)||e&&!l(J,t)||_(o,tt[t])})),o};u||(L=function(){if(A(G,this))throw q("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?p(arguments[0]):void 0,e=U(t),n=function(t){this===J&&r(n,et,t),l(this,K)&&l(this[K],e)&&(this[K][e]=!1),it(this,e,m(1,t))};return c&&ot&&it(J,e,{configurable:!0,set:n}),rt(e,t)},G=L[H],k(G,"toString",(function(){return z(this).tag})),k(L,"withoutSetter",(function(t){return rt(U(t),t)})),w.f=ut,S.f=at,x.f=st,B.f=ft,C.f=y.f=lt,I.f=At,O.f=function(t){return rt(V(t),t)},c&&(j(G,"description",{configurable:!0,get:function(){return z(this).description}}),s||k(J,"propertyIsEnumerable",ut,{unsafe:!0}))),o({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:L}),M(v(nt),(function(t){F(t)})),o({target:T,stat:!0,forced:!u},{useSetter:function(){ot=!0},useSimple:function(){ot=!1}}),o({target:"Object",stat:!0,forced:!u,sham:!c},{create:ct,defineProperty:at,defineProperties:st,getOwnPropertyDescriptor:ft}),o({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:lt}),N(),P(L,T),Q[K]=!0},df5e:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAATlBMVEXdzaHh0KPgz6LdzKDezqLczJ7ezZ/fz6Dcy5zi0aXdzZ3fz6Tfz57h0KDg0aLcyZrg0KXi0qPfzZ3j06bh0qbdyJbfzJrhz5/cxpLZwo0vDconAAAFn0lEQVRIxxyPW5LjMAwDAT5FybLl2JnM3P+i6+wXWVC1GoQGaD0h4XM3Q5o4T0HgABHBi6pZ4CDXXcUOFd6Vh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DAb0v5H34MGKqiVRue7GGLZ9Otxtt4JIrAhxBDwDuqI9JavcO0A7GlqFt219tH/bln9jBXzaKWAEqJV0CBxs5TwM8EvUPHaa8S86vN303MVWOsl3goDBHPWSoQ9c0kQmCKljfsKNH1+ofEOHW8a9a7glZGS8fPieL/SRSs0LAhI4FDTnXs1QYtubv2+IXPZpHB4bhivRexBkYKsSrYXNjvMUbVXpVJ+N6haV72c1k2zrnv5IYBMJBYTSZx0KTkoM3vY93rU/qs7zHplc/3d2ACadhFWByrn9LUk2IWb5JywvawTQc3F0iz+lgsBmInAIemBJtft2plKIlAFOgcroigrG2XlDsAzywQECNyaI8yr2ogoh7D4qJOYmZBzQgoZAM1PAcB8sDrr1uE5CDMR+nWSSVUGUCHAs8Vd21HOE0FzNj37pX0sLp9p3K8k++xxpkmzDxK64rmTSJnDUuIgTeslui6lg92jonZXI4jqNiUuzN4IagcKMjCniMGCODoo8T4tGDprn2hRww+NrnYiCwokd9iiWrkmbRfXYGLAoZrjO1lVQKExjUy5fIkgJURmz2uGFdASwwlWx5gDVTMK7hP6ISRVsFbYNmqtZL9MQtio285PaekyzDhZmtdexCYB0SZcTmBdhvdbmAEonk8hwcHQuZN1kVqrhyKoHHsnQhQAjF7SG533Da2S4LGjx1LoZqp7XeKQLDUBmYmydG0NQHpMeR5lRIRQc1PQ2ASMQflF4YBDMt0/GFlEHeRwCcEAAAAASUVORK5CYII="},e01a:function(t,e,n){"use strict";var o=n("23e7"),i=n("83ab"),r=n("da84"),a=n("e330"),s=n("1a2d"),c=n("1626"),u=n("3a9b"),f=n("577e"),l=n("9bf2").f,A=n("e893"),d=r.Symbol,g=d&&d.prototype;if(i&&c(d)&&(!("description"in g)||void 0!==d().description)){var h={},p=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:f(arguments[0]),e=u(g,this)?new d(t):void 0===t?d():d(t);return""===t&&(h[e]=!0),e};A(p,d),p.prototype=g,g.constructor=p;var m="Symbol(test)"==String(d("test")),b=a(g.toString),v=a(g.valueOf),C=/^Symbol\((.*)\)[^)]+$/,y=a("".replace),I=a("".slice);l(g,"description",{configurable:!0,get:function(){var t=v(this),e=b(t);if(s(h,t))return"";var n=m?I(e,7,-1):y(e,C,"$1");return""===n?void 0:n}}),o({global:!0,constructor:!0,forced:!0},{Symbol:p})}},e160:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyAgMAAABjUWAiAAAADFBMVEX6+fP8+/X+/ff///kbczPAAAACeElEQVQozxXHQUgUUQAG4P8936yzs6VvZNZmN9QxVxiF9OLBoOjtOC6rQq6ygXjI2fCQBdXBg4egtzFGdqkoI+zgBFbqkm3hQSxhFYLotOcubeKhOnVYoqQy+m4f5g5TvpX0xHLbLY9j8SMhJp+Jk4LfAUS2kVRIjILmnwGBTX42PhCVlDJQkIiy2nWAvaJ1h+oFIpJ0hMSYVbyyrgDWshcMpMyL1brPDQKWmduO+KTJ6XeXAMK9Yc3FpD7atyNwg6kt5XgFpLPhjUTFSYVn2abDiugGShwD8JTVRJVo/2ecuKtRb/qc4BK+9TboFfokog4T2Fn6Oqdnsjk90NMS76Rji6E0NmwkPBAZ4Xbkw8KoDAkAbEhkc78e9omxxgxg6qa5HvMv+UZbCV0qmHnSHKl5TxeA2XTCGWekR581mwC5crBH81PznASqB9va3TbkYAjJPLfg5uBfXaJgIgIBv9eessRIhxe7PA7kj6uUMeMaQ/OEQOYRaaHlqH2Gxwsl6E/pwVY5FH7uCypBZPKvDQyVziYBrAkMURe2MOOOxG/eQpp5PF+bFzUV5HtPj9GeiVSNZDELleifYTp9NAjsoiXg4cW+4ZORkdSMB/B74aAdjhsVakhgkugsbmqcDSLEoWp8zRjrux3tli6Q5uM3E+maT99Wy0RiP7tboiuRZle2c6CYeL2kcUc1KvPtQKucogMadKVTQOJYCeyCYlhQQ/Q7Etfd/vBygy9iqy+LyHeF46saCYvW6ingsbA9RBWtdi8GgUXW+oQx9/wP6bAAX1TWeV+CbShZDlQ9xT6SoSxZmKRAkmXb60kzEzkRF+Ccb94BGspGJoN/UzmyR4wjXHAAAAAASUVORK5CYII="},e535:function(t,e,n){},e538:function(t,e,n){var o=n("b622");e.f=o},e9c4:function(t,e,n){var o=n("23e7"),i=n("d066"),r=n("2ba4"),a=n("c65b"),s=n("e330"),c=n("d039"),u=n("e8b5"),f=n("1626"),l=n("861d"),A=n("d9b5"),d=n("f36a"),g=n("4930"),h=i("JSON","stringify"),p=s(/./.exec),m=s("".charAt),b=s("".charCodeAt),v=s("".replace),C=s(1..toString),y=/[\uD800-\uDFFF]/g,I=/^[\uD800-\uDBFF]$/,B=/^[\uDC00-\uDFFF]$/,S=!g||c((function(){var t=i("Symbol")();return"[null]"!=h([t])||"{}"!=h({a:t})||"{}"!=h(Object(t))})),x=c((function(){return'"\\udf06\\ud834"'!==h("\udf06\ud834")||'"\\udead"'!==h("\udead")})),w=function(t,e){var n=d(arguments),o=e;if((l(e)||void 0!==t)&&!A(t))return u(e)||(e=function(t,e){if(f(o)&&(e=a(o,this,t,e)),!A(e))return e}),n[1]=e,r(h,null,n)},k=function(t,e,n){var o=m(n,e-1),i=m(n,e+1);return p(I,t)&&!p(B,i)||p(B,t)&&!p(I,o)?"\\u"+C(b(t,0),16):t};h&&o({target:"JSON",stat:!0,arity:3,forced:S||x},{stringify:function(t,e,n){var o=d(arguments),i=r(S?w:h,null,o);return x&&"string"==typeof i?v(i,y,k):i}})},ec0f:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyBAMAAADsEZWCAAAALVBMVEXx58b168ny6Mjz6sn06sf27Mvw5sTz6cbw5cLy58T37svv47/168v37s7t4Ltrv0//AAAEjUlEQVQ4yw2Ty2sTURxGf3dmOqmPxb0zmaStCnfmZpL6gpmbxIpUSMZGrSJkxsZiVZimNVaqMklrUnWTRq2KIDFWWx+IFrIRFxXEB4KIgqu6EBdu7M6FIPg32PW3+DhwDmBaYrK56KP4HGIsvg/uvOV0wK+qgBMlO9BujuH4D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Y/ZHVgoGZbu7SvkNR75x6qGSB23FdouENVwN7sCbewTdsXGrrnQ5ZZKOCOFtMTIzxlPu6eYmtL+nMFmoK7OeXajn86r9sqWbfmvHC4IagE5qfCPGZvLSq5F55hHIxJFa4/vRxHBlz0og4TojU1l/MOHJX17lybdF0mQhFO44JYUNt3UA473IXw/iPfDWtKG5oFSXIF5iU/VnyDSjxxeDk3jAXRyVyGTNB9FxH9qcFDNJpVbt2y9LytUXkK7Py6+z1RezHQqnoY8XcLimmd8dCnBhQCuaGpJCq3SoIlmYvLz8UkWhJw7T8k+Db/DYEKwgAAAABJRU5ErkJggg=="},fe9c:function(t,e,n){}}]); \ No newline at end of file diff --git a/app/src/main/assets/web/bookshelf/js/detail.8e2caf8f.js b/app/src/main/assets/web/bookshelf/js/detail.8e2caf8f.js new file mode 100644 index 000000000..da03dfa00 --- /dev/null +++ b/app/src/main/assets/web/bookshelf/js/detail.8e2caf8f.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["detail"],{"004c":function(t,e,n){"use strict";n("fe9c")},"057f":function(t,e,n){var o=n("c6b6"),i=n("fc6a"),r=n("241c").f,a=n("4dae"),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(t){try{return r(t)}catch(e){return a(s)}};t.exports.f=function(t){return s&&"Window"==o(t)?c(t):r(i(t))}},"05b3":function(t,e,n){},"0827":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyAgMAAABjUWAiAAAADFBMVEUWGBkYGhsdHyAfISI1t/v6AAAB5ElEQVQozxXQsYoTURSA4f/EeycZsDgDdySDjihk38Hy3GWi2J2BCaziQhaiaB+tt9AFu1kwvYUPsIXNPoB9BAUfwAfwEUzKv/v4odGrroyp9/rUaC6rZ5skv5F8qPsfYYP+yKUMymmAEEeW55oUR4o8jr05KNzJ07yvB7w0KKfLwcQUSjfmMU0PJfPHFoEVU+ohNrcKMEzMQ23FDnVSI2dqtYWI7KlLu6vE4UnyvKc3SJuL7lBbeEEl42ItpGLjzIT8PRJCmkRjVpVpsbJFVN0687okJNZiHAr5Z7MV0BnGIDc+THM1zlbieBc1Fq+tH5BH+OpnbWkj40hSqC8Lw2TvFuF0SUFJCk2IytXbjeqcRAt6NHpnrUkUU4KRzZs8RCK8N/Akn2W04LwxMU/V7XK0bDyN2RxfDyx7I4h5vjZby72V8UnOWumZL3qtYc+8DTE0siSBMXGhywx2dMYPnQHbxdFZ7deiNGxCCtD/QWnbwDoGhRYPDzUdUA3krjpnkvdAgDN4ddLkEQSov9qjd42HaDjI34gEqS9TUueAk+sc4qg5ws407KQYKs8G1jv4xBlqBVk6cb4dISZIwVi1Jzu4+HLk6lyfUxkXvwy+1Q+4WVdHIhwfybZ6CWVhxMEhShOgsP/HOW0MvZJeFwAAAABJRU5ErkJggg=="},"0928":function(t,e,n){"use strict";n("7715")},1276:function(t,e,n){"use strict";var o=n("2ba4"),i=n("c65b"),r=n("e330"),a=n("d784"),s=n("44e7"),c=n("825a"),u=n("1d80"),f=n("4840"),l=n("8aa5"),A=n("50c4"),d=n("577e"),g=n("dc4a"),h=n("4dae"),p=n("14c3"),m=n("9263"),v=n("9f7f"),b=n("d039"),C=v.UNSUPPORTED_Y,y=4294967295,S=Math.min,I=[].push,B=r(/./.exec),x=r(I),w=r("".slice),k=!b((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));a("split",(function(t,e,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var r=d(u(this)),a=void 0===n?y:n>>>0;if(0===a)return[];if(void 0===t)return[r];if(!s(t))return i(e,r,t,a);var c,f,l,A=[],g=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),p=0,v=new RegExp(t.source,g+"g");while(c=i(m,v,r)){if(f=v.lastIndex,f>p&&(x(A,w(r,p,c.index)),c.length>1&&c.index=a))break;v.lastIndex===c.index&&v.lastIndex++}return p===r.length?!l&&B(v,"")||x(A,""):x(A,w(r,p)),A.length>a?h(A,0,a):A}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:i(e,this,t,n)}:e,[function(e,n){var o=u(this),a=void 0==e?void 0:g(e,t);return a?i(a,e,o,n):i(r,d(o),e,n)},function(t,o){var i=c(this),a=d(t),s=n(r,i,a,o,r!==e);if(s.done)return s.value;var u=f(i,RegExp),g=i.unicode,h=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(C?"g":"y"),m=new u(C?"^(?:"+i.source+")":i,h),v=void 0===o?y:o>>>0;if(0===v)return[];if(0===a.length)return null===p(m,a)?[a]:[];var b=0,I=0,B=[];while(I1&&void 0!==arguments[1]?arguments[1]:{};switch(u=A.duration||1e3,i=A.offset||0,g=A.callback,r=A.easing||f,a=A.a11y||!1,s(A.container)){case"object":t=A.container;break;case"string":t=document.querySelector(A.container);break;default:t=window}switch(n=h(),s(l)){case"number":e=void 0,a=!1,o=n+l;break;case"object":e=l,o=p(e);break;case"string":e=document.querySelector(l),o=p(e);break}switch(c=o-n+i,s(A.duration)){case"number":u=A.duration;break;case"function":u=A.duration(c);break}requestAnimationFrame(v)}return C},A=l(),d=A,g=n("7286"),h=n.n(g),p=n("477e"),m=n.n(p),v=n("e160"),b=n.n(v),C=n("df5e"),y=n.n(C),S=n("ec0f"),I=n.n(S),B=n("b671"),x=n.n(B),w=n("5629"),k=n.n(w),E=n("d0e3"),D=n.n(E),U=n("4039"),Q=n.n(U),O=n("1e75"),V=n.n(O),F=n("1632"),N=n.n(F),P=n("7abd"),R=n.n(P),M=n("356c"),T=n.n(M),K=n("b165"),H=n.n(K),W=n("cf68"),z=n.n(W),J=n("4400"),L=n.n(J),G=n("802e"),q=n.n(G),j=n("0827"),Y=n.n(j),Z={themes:[{body:"#ede7da url("+h.a+") repeat",content:"#ede7da url("+m.a+") repeat",popup:"#ede7da url("+b.a+") repeat"},{body:"#ede7da url("+y.a+") repeat",content:"#ede7da url("+I.a+") repeat",popup:"#ede7da url("+x.a+") repeat"},{body:"#ede7da url("+k.a+") repeat",content:"#ede7da url("+D.a+") repeat",popup:"#ede7da url("+Q.a+") repeat"},{body:"#ede7da url("+V.a+") repeat",content:"#ede7da url("+N.a+") repeat",popup:"#ede7da url("+R.a+") repeat"},{body:"#ebcece repeat",content:"#f5e4e4 repeat",popup:"#faeceb repeat"},{body:"#ede7da url("+T.a+") repeat",content:"#ede7da url("+H.a+") repeat",popup:"#ede7da url("+z.a+") repeat"},{body:"#ede7da url("+L.a+") repeat",content:"#ede7da url("+q.a+") repeat",popup:"#ede7da url("+Y.a+") repeat"}],fonts:[{fontFamily:"Microsoft YaHei, PingFangSC-Regular, HelveticaNeue-Light, Helvetica Neue Light, sans-serif"},{fontFamily:"PingFangSC-Regular, -apple-system, Simsun"},{fontFamily:"Kaiti"}]},X=Z,$=(n("05b3"),{name:"PopCata",data:function(){return{isNight:6==this.$store.state.config.theme,index:this.$store.state.readingBook.index}},computed:{catalog:function(){return this.$store.state.readingBook.catalog},popCataVisible:function(){return this.$store.state.popCataVisible},theme:function(){return this.$store.state.config.theme},popupTheme:function(){return{background:X.themes[this.theme].popup}}},mounted:function(){},watch:{theme:function(t){this.isNight=6==t},popCataVisible:function(){this.$nextTick((function(){var t=this.$store.state.readingBook.index,e=this.$refs.cataData;d(this.$refs.cata[t],{container:e,duration:0})}))}},methods:{isSelected:function(t){return t==this.$store.state.readingBook.index},gotoChapter:function(t){this.index=this.catalog.indexOf(t),this.$store.commit("setPopCataVisible",!1),this.$store.commit("setContentLoading",!0),this.$emit("getContent",this.index)}}}),_=$,tt=(n("635f"),n("2877")),et=Object(tt["a"])(_,r,a,!1,null,"0aacaab8",null),nt=et.exports,ot=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"settings-wrapper",class:{night:t.isNight,day:!t.isNight},style:t.popupTheme},[n("div",{staticClass:"settings-title"},[t._v("设置")]),n("div",{staticClass:"setting-list"},[n("ul",[n("li",{staticClass:"theme-list"},[n("i",[t._v("阅读主题")]),t._l(t.themeColors,(function(e,o){return n("span",{key:o,ref:"themes",refInFor:!0,staticClass:"theme-item",class:{selected:t.selectedTheme==o},style:e,on:{click:function(e){return t.setTheme(o)}}},[o<6?n("em",{staticClass:"iconfont"},[t._v("")]):n("em",{staticClass:"moon-icon"},[t._v(t._s(t.moonIcon))])])}))],2),n("li",{staticClass:"font-list"},[n("i",[t._v("正文字体")]),t._l(t.fonts,(function(e,o){return n("span",{key:o,staticClass:"font-item",class:{selected:t.selectedFont==o},on:{click:function(e){return t.setFont(o)}}},[t._v(t._s(e))])}))],2),n("li",{staticClass:"font-size"},[n("i",[t._v("字体大小")]),n("div",{staticClass:"resize"},[n("span",{staticClass:"less",on:{click:t.lessFontSize}},[n("em",{staticClass:"iconfont"},[t._v("")])]),n("b"),t._v(" "),n("span",{staticClass:"lang"},[t._v(t._s(t.fontSize))]),n("b"),n("span",{staticClass:"more",on:{click:t.moreFontSize}},[n("em",{staticClass:"iconfont"},[t._v("")])])])]),t.$store.state.miniInterface?t._e():n("li",{staticClass:"read-width"},[n("i",[t._v("页面宽度")]),n("div",{staticClass:"resize"},[n("span",{staticClass:"less",on:{click:t.lessReadWidth}},[n("em",{staticClass:"iconfont"},[t._v("")])]),n("b"),t._v(" "),n("span",{staticClass:"lang"},[t._v(t._s(t.readWidth))]),n("b"),n("span",{staticClass:"more",on:{click:t.moreReadWidth}},[n("em",{staticClass:"iconfont"},[t._v("")])])])])])])])},it=[],rt=(n("82da"),n("b3f5")),at={name:"ReadSettings",data:function(){return{theme:0,isNight:6==this.$store.state.config.theme,moonIcon:"",themeColors:[{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)"}],moonIconStyle:{display:"inline",color:"rgba(255,255,255,0.2)"},fonts:["雅黑","宋体","楷书"]}},mounted:function(){var t=this.$store.state.config;this.theme=t.theme,6==this.theme?this.moonIcon="":this.moonIcon=""},computed:{config:function(){return this.$store.state.config},popupTheme:function(){return{background:X.themes[this.config.theme].popup}},selectedTheme:function(){return this.$store.state.config.theme},selectedFont:function(){return this.$store.state.config.font},fontSize:function(){return this.$store.state.config.fontSize},readWidth:function(){return this.$store.state.config.readWidth}},methods:{setTheme:function(t){6==t?(this.isNight=!0,this.moonIcon="",this.moonIconStyle.color="#ed4259"):(this.isNight=!1,this.moonIcon="",this.moonIconStyle.color="rgba(255,255,255,0.2)");var e=this.config;e.theme=t,this.$store.commit("setConfig",e),this.uploadConfig()},setFont:function(t){var e=this.config;e.font=t,this.$store.commit("setConfig",e),this.uploadConfig()},moreFontSize:function(){var t=this.config;t.fontSize<48&&(t.fontSize+=2),this.$store.commit("setConfig",t),this.uploadConfig()},lessFontSize:function(){var t=this.config;t.fontSize>12&&(t.fontSize-=2),this.$store.commit("setConfig",t),this.uploadConfig()},moreReadWidth:function(){var t=this.config;t.readWidth<960&&(t.readWidth+=160),this.$store.commit("setConfig",t),this.uploadConfig()},lessReadWidth:function(){var t=this.config;t.readWidth>640&&(t.readWidth-=160),this.$store.commit("setConfig",t),this.uploadConfig()},uploadConfig:function(){rt["a"].post("/saveReadConfig",this.config)}}},st=at,ct=(n("0928"),Object(tt["a"])(st,ot,it,!1,null,"65e7f0f4",null)),ut=ct.exports,ft=(n("d81d"),n("00b4"),n("466d"),{name:"pcontent",data:function(){return{}},props:["carray"],render:function(){var t=this,e=arguments[0],n=this.fontFamily,o=this.fontSize,i=n;return i.fontSize=o,this.show?e("div",[this.carray.map((function(n){return/]*src/.test(n)?e("img",{directives:[{name:"lazy",value:t.getImageSrc(n)}]}):e("p",{style:i,domProps:{innerHTML:n}})}))]):e("div")},computed:{show:function(){return this.$store.state.showContent},fontFamily:function(){return X.fonts[this.$store.state.config.font]},fontSize:function(){return this.$store.state.config.fontSize+"px"}},methods:{getImageSrc:function(t){var e=/]*src="([^"]*(?:"[^>]+\})?)"[^>]*>/;return t.match(e)[1]}},watch:{fontSize:function(){var t=this;t.$store.commit("setShowContent",!1),this.$nextTick((function(){t.$store.commit("setShowContent",!0)}))}}}),lt=ft,At=(n("004c"),Object(tt["a"])(lt,c,u,!1,null,"39060afc",null)),dt=At.exports;function gt(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}var ht=gt,pt=n("5ea3"),mt="object"==typeof self&&self&&self.Object===Object&&self,vt=pt["a"]||mt||Function("return this")(),bt=vt,Ct=function(){return bt.Date.now()},yt=Ct,St=/\s/;function It(t){var e=t.length;while(e--&&St.test(t.charAt(e)));return e}var Bt=It,xt=/^\s+/;function wt(t){return t?t.slice(0,Bt(t)+1).replace(xt,""):t}var kt=wt,Et=bt.Symbol,Dt=Et,Ut=Object.prototype,Qt=Ut.hasOwnProperty,Ot=Ut.toString,Vt=Dt?Dt.toStringTag:void 0;function Ft(t){var e=Qt.call(t,Vt),n=t[Vt];try{t[Vt]=void 0;var o=!0}catch(r){}var i=Ot.call(t);return o&&(e?t[Vt]=n:delete t[Vt]),i}var Nt=Ft,Pt=Object.prototype,Rt=Pt.toString;function Mt(t){return Rt.call(t)}var Tt=Mt,Kt="[object Null]",Ht="[object Undefined]",Wt=Dt?Dt.toStringTag:void 0;function zt(t){return null==t?void 0===t?Ht:Kt:Wt&&Wt in Object(t)?Nt(t):Tt(t)}var Jt=zt;function Lt(t){return null!=t&&"object"==typeof t}var Gt=Lt,qt="[object Symbol]";function jt(t){return"symbol"==typeof t||Gt(t)&&Jt(t)==qt}var Yt=jt,Zt=NaN,Xt=/^[-+]0x[0-9a-f]+$/i,$t=/^0b[01]+$/i,_t=/^0o[0-7]+$/i,te=parseInt;function ee(t){if("number"==typeof t)return t;if(Yt(t))return Zt;if(ht(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=ht(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=kt(t);var n=$t.test(t);return n||_t.test(t)?te(t.slice(2),n?2:8):Xt.test(t)?Zt:+t}var ne=ee,oe="Expected a function",ie=Math.max,re=Math.min;function ae(t,e,n){var o,i,r,a,s,c,u=0,f=!1,l=!1,A=!0;if("function"!=typeof t)throw new TypeError(oe);function d(e){var n=o,r=i;return o=i=void 0,u=e,a=t.apply(r,n),a}function g(t){return u=t,s=setTimeout(m,e),f?d(t):a}function h(t){var n=t-c,o=t-u,i=e-n;return l?re(i,r-o):i}function p(t){var n=t-c,o=t-u;return void 0===c||n>=e||n<0||l&&o>=r}function m(){var t=yt();if(p(t))return v(t);s=setTimeout(m,h(t))}function v(t){return s=void 0,A&&o?d(t):(o=i=void 0,a)}function b(){void 0!==s&&clearTimeout(s),u=0,o=c=i=s=void 0}function C(){return void 0===s?a:v(yt())}function y(){var t=yt(),n=p(t);if(o=arguments,i=this,c=t,n){if(void 0===s)return g(c);if(l)return clearTimeout(s),s=setTimeout(m,e),d(c)}return void 0===s&&(s=setTimeout(m,e)),a}return e=ne(e)||0,ht(n)&&(f=!!n.leading,l="maxWait"in n,r=l?ie(ne(n.maxWait)||0,e):r,A="trailing"in n?!!n.trailing:A),y.cancel=b,y.flush=C,y}var se=ae,ce="Expected a function";function ue(t,e,n){var o=!0,i=!0;if("function"!=typeof t)throw new TypeError(ce);return ht(n)&&(o="leading"in n?!!n.leading:o,i="trailing"in n?!!n.trailing:i),se(t,e,{leading:o,maxWait:e,trailing:i})}var fe=ue,le={components:{PopCata:nt,Pcontent:dt,ReadSettings:ut},created:function(){var t=JSON.parse(localStorage.getItem("config"));null!=t&&this.$store.commit("setConfig",t)},beforeCreate:function(){var t=JSON.parse(localStorage.getItem("config"));null!=t&&this.$store.commit("setConfig",t)},mounted:function(){var t=this;this.loading=this.$loading({target:this.$refs.content,lock:!0,text:"正在获取内容",spinner:"el-icon-loading",background:"rgba(0,0,0,0)"});var e=this,n=sessionStorage.getItem("bookUrl"),o=sessionStorage.getItem("bookName"),i=sessionStorage.getItem("bookAuthor"),r=Number(sessionStorage.getItem("chapterIndex")||0),a=JSON.parse(localStorage.getItem(n));(null==a||r>0)&&(a={bookName:o,bookAuthor:i,bookUrl:n,index:r},localStorage.setItem(n,JSON.stringify(a))),this.getCatalog(n).then((function(n){a.catalog=n.data.data,e.$store.commit("setReadingBook",a);var o=e.$store.state.readingBook.index||0;t.getContent(o),window.addEventListener("keyup",t.handleKeyPress),window.addEventListener("scroll",t.handleScroll,{passive:!0})}),(function(t){throw e.loading.close(),e.$message.error("获取书籍目录失败"),t}))},destroyed:function(){window.removeEventListener("keyup",this.handleKeyPress),window.removeEventListener("scroll",this.handleScroll),this.readSettingsVisible=!1,this.popCataVisible=!1},watch:{chapterData:function(){this.$store.commit("setContentLoading",!1)},theme:function(t){this.isNight=6==t},bodyColor:function(t){this.bodyTheme.background=t},chapterColor:function(t){this.chapterTheme.background=t},readWidth:function(t){this.chapterTheme.width=t;var e=-((parseInt(t)+130)/2+68)+"px",n=-((parseInt(t)+130)/2+52)+"px";this.leftBarTheme.marginLeft=e,this.rightBarTheme.marginRight=n},popupColor:function(t){this.leftBarTheme.background=t,this.rightBarTheme.background=t},readSettingsVisible:function(t){if(!t){var e=JSON.stringify(this.$store.state.config);localStorage.setItem("config",e)}}},data:function(){return{noPoint:!0,showToolBar:!1,chapterData:[],oldScrollTop:0}},computed:{catalog:function(){return this.$store.state.catalog},windowHeight:function(){return window.innerHeight},contentHeight:function(){return this.$refs.content.offsetHeight},popCataVisible:{get:function(){return this.$store.state.popCataVisible},set:function(t){this.$store.commit("setPopCataVisible",t)}},readSettingsVisible:{get:function(){return this.$store.state.readSettingsVisible},set:function(t){this.$store.commit("setReadSettingsVisible",t)}},config:function(){return this.$store.state.config},theme:function(){return this.config.theme},bodyColor:function(){return X.themes[this.config.theme].body},chapterColor:function(){return X.themes[this.config.theme].content},popupColor:function(){return X.themes[this.config.theme].popup},isNight:function(){return 6==this.$store.state.config.theme},readWidth:function(){return this.$store.state.miniInterface?window.innerWidth+"px":this.$store.state.config.readWidth-130+"px"},popupWidth:function(){return this.$store.state.miniInterface?window.innerWidth-33:this.$store.state.config.readWidth-33},bodyTheme:function(){return{background:X.themes[this.$store.state.config.theme].body}},chapterTheme:function(){return{background:X.themes[this.$store.state.config.theme].content,width:this.readWidth}},leftBarTheme:function(){return{background:X.themes[this.$store.state.config.theme].popup,marginLeft:this.$store.state.miniInterface?0:-(this.$store.state.config.readWidth/2+68)+"px",display:this.$store.state.miniInterface&&!this.showToolBar?"none":"block"}},rightBarTheme:function(){return{background:X.themes[this.$store.state.config.theme].popup,marginRight:this.$store.state.miniInterface?0:-(this.$store.state.config.readWidth/2+52)+"px",display:this.$store.state.miniInterface&&!this.showToolBar?"none":"block"}},show:function(){return this.$store.state.showContent}},methods:{getCatalog:function(t){return rt["a"].get("/getChapterList?url="+encodeURIComponent(t))},getContent:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];e&&(this.$store.commit("setShowContent",!1),this.loading.visible||(this.loading=this.$loading({target:this.$refs.content,lock:!0,text:"正在获取内容",spinner:"el-icon-loading",background:"rgba(0,0,0,0)"})),d(this.$refs.top,{duration:0}));var o=sessionStorage.getItem("bookUrl"),i=JSON.parse(localStorage.getItem(o));i.index=t,localStorage.setItem(o,JSON.stringify(i)),this.$store.state.readingBook.index=t,sessionStorage.setItem("chapterIndex",t);var r=this.$store.state.readingBook.catalog[t].title,a=this.$store.state.readingBook.catalog[t].index;this.saveReadingBookProgress(a,r),document.title=sessionStorage.getItem("bookName")+" | "+r;var s=this;rt["a"].get("/getBookContent?url="+encodeURIComponent(o)+"&index="+a).then((function(o){if(o.data.isSuccess){var i=o.data.data,a=i.split(/\n+/);s.updateChapterData({index:t,content:a,title:r},e,n)}else{s.$message.error("书源正文解析错误!");var c=["书源正文解析失败!"];s.updateChapterData({index:t,content:c,title:r},e,n)}if(s.$store.commit("setContentLoading",!0),s.loading.close(),s.noPoint=!1,s.$store.commit("setShowContent",!0),!o.data.isSuccess)throw o.data}),(function(o){s.$message.error("获取章节内容失败");var i=["获取章节内容失败!"];throw s.updateChapterData({index:t,content:i,title:r},e,n),s.loading.close(),s.$store.commit("setShowContent",!0),o}))},toTop:function(){d(this.$refs.top)},toBottom:function(){d(this.$refs.bottom)},toNextChapter:function(){this.$store.commit("setContentLoading",!0);var t=this.$store.state.readingBook.index;t++,"undefined"!==typeof this.$store.state.readingBook.catalog[t]?(this.$message.info("下一章"),this.getContent(t)):this.$message.error("本章是最后一章")},toPreChapter:function(){this.$store.commit("setContentLoading",!0);var t=this.$store.state.readingBook.index;t--,"undefined"!==typeof this.$store.state.readingBook.catalog[t]?(this.$message.info("上一章"),this.getContent(t)):this.$message.error("本章是第一章")},saveReadingBookProgress:function(t,e){rt["a"].post("/saveBookProgress",{name:this.$store.state.readingBook.bookName,author:this.$store.state.readingBook.bookAuthor,durChapterIndex:t,durChapterPos:0,durChapterTime:(new Date).getTime(),durChapterTitle:e})},updateChapterData:function(t,e,n){e&&this.chapterData.splice(0),n?this.chapterData.push(t):this.chapterData.unshift(t)},loadMore:function(){var t=this.$store.state.readingBook.index;this.$store.state.readingBook.catalog.length-1>t&&this.getContent(t+1,!1)},loadBefore:function(){var t=this.$store.state.readingBook.index;00&&e+n>=.9*o&&this.loadMore(),this.oldScrollTop=e}),200),toShelf:function(){this.$router.push("/")},handleKeyPress:function(t){switch(t.key){case"ArrowLeft":t.stopPropagation(),t.preventDefault(),this.toPreChapter();break;case"ArrowRight":t.stopPropagation(),t.preventDefault(),this.toNextChapter();break;case"ArrowUp":t.stopPropagation(),t.preventDefault(),0===document.documentElement.scrollTop?this.$message.warning("已到达页面顶部"):d(0-document.documentElement.clientHeight+100);break;case"ArrowDown":t.stopPropagation(),t.preventDefault(),document.documentElement.clientHeight+document.documentElement.scrollTop===document.documentElement.scrollHeight?this.$message.warning("已到达页面底部"):d(document.documentElement.clientHeight-100);break}}}},Ae=le,de=(n("7192"),Object(tt["a"])(Ae,o,i,!1,null,"8cacf902",null));e["default"]=de.exports},5629:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyAgMAAABjUWAiAAAADFBMVEXN383Q4tDP4c/R5NEInCCXAAACVElEQVQozw3Hv2sTYRwH4M/79pJ7bZL2bXqtERJ97zjUpbZDhg6pfC8qibi8hLR0EaJ0EFxaCSWDxjfpj1zrYBcRBKE6SAfBJWsx9i8IQfdQxDlKtA6t2OnhQfN3lbG7ytYRywF8rVoPCNO0X2sQOKDpAnSDK2VwkHgmh5yLGT8qASt+2KofnNt2Xg1gf1UF8AoM6052cRMNaloLZb7RKQGrKKji2OefsZF+VqIvos5ZLVIZCX61JcwUdk56wASVkgQvzPfvmT2twTSwyYaC/Pl/UhAHorFhBgZtL6XdAZRp1tkPwC1NLa9CWs5prLhI85NBQsLdXvjDymG3/EbYfQhVNYqc3TtktQhWLY3ko0QsdMbSEp+64v0NfxyqLbIGdh6M2xHHlLBGqKTyQo4E/nebBgBfe1GpdeywYXc8CT7D3cKXuMXkBy4xN6o5OuKamYp3DVI6uccO9lxgd2CAlJgI2BGgaAgIJV/TYwKqu3WFccjbMuA+bVkWgS2bfnlRbD1Eb1sDyWMmjKYIBgGAWbqKRicfvzBkBIz3V5AKnguWdglQEysQsSuVzOg6ALy1pitA5ykGCsc857BRYcgCSZyFOdvoOigSGoPc5Ta73mgxshIcQE5sHMHd9D7yqITw7JO+GHVMxjhzYLcKPSEgmz3fU+BRy3iYNtiXLaBssCW8KguReqkQOTb3MStV0Ugt4U1eIs1RZWRII6Ww8xeNNItyGGQI4ZMlpg/3lQtkl2JFnBp1imRyFe0kK2Id3PCslMgiQNMS77gvFeDhG3cSkYvheeg/e7ClIh5oh+IAAAAASUVORK5CYII="},"57b9":function(t,e,n){var o=n("c65b"),i=n("d066"),r=n("b622"),a=n("cb2d");t.exports=function(){var t=i("Symbol"),e=t&&t.prototype,n=e&&e.valueOf,s=r("toPrimitive");e&&!e[s]&&a(e,s,(function(t){return o(n,this)}),{arity:1})}},5899:function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"58a8":function(t,e,n){var o=n("e330"),i=n("1d80"),r=n("577e"),a=n("5899"),s=o("".replace),c="["+a+"]",u=RegExp("^"+c+c+"*"),f=RegExp(c+c+"*$"),l=function(t){return function(e){var n=r(i(e));return 1&t&&(n=s(n,u,"")),2&t&&(n=s(n,f,"")),n}};t.exports={start:l(1),end:l(2),trim:l(3)}},"5a47":function(t,e,n){var o=n("23e7"),i=n("4930"),r=n("d039"),a=n("7418"),s=n("7b0b"),c=!i||r((function(){a.f(1)}));o({target:"Object",stat:!0,forced:c},{getOwnPropertySymbols:function(t){var e=a.f;return e?e(s(t)):[]}})},"5ea3":function(t,e,n){"use strict";(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e["a"]=n}).call(this,n("c8ba"))},"635f":function(t,e,n){"use strict";n("6c5b")},"6c5b":function(t,e,n){},7156:function(t,e,n){var o=n("1626"),i=n("861d"),r=n("d2bb");t.exports=function(t,e,n){var a,s;return r&&o(a=e.constructor)&&a!==n&&i(s=a.prototype)&&s!==n.prototype&&r(t,s),t}},7192:function(t,e,n){"use strict";n("2cf2")},7286:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyAgMAAABjUWAiAAAADFBMVEXr5djn4dTp49bt59rT6LKxAAACnElEQVQozw3NUUwScRzA8d8R6MF8YMIx8uk47hDSJbj14IPzOGc7jPLvwTGg5uAYDbe2tt56cLtznvEnS6yDqCcEaWi91DvrbLJZz7b1aFtz1aO+2OZWvn+/+4CHeB6BMYaqBLfjPNRY6RFT2JJYby+uAk4WUTrtlmJ4hgPYb2q1XGDQjaK8pgJHvqNaAX+KyuIkDXpgQinb46nOulnn4b5laUHTxLfseeArAoNOeJlOIjdoal0n1FA7tKFv5roK+YaHOqP3P0XyKHPHY+MhTRe5uCZnKhtJKw2eSrSoBDPLtpZuNcFNJcFyiCMxOaaHIfXz1e8HQbWLySrBQ4x0x1qlhnHlnz2HQEC6TNb0gTHXa7IKhcaHqkE015hk9whA0YeWiLIXf7Fa2CZo3DjqjB4tTuF8jIcbfcEx5z/w4sXpQhXW+ju0cqh7icTFmRMaG+v6CIvTjcSpHcH8JEsF3EPh3fRthYdVLLgI2fWXm85/pGFE4l046s70L+yKCcirGFR+jbpy3kMmiCGHrSezVONsn1RBixncyk2PcVWk7DlgxHo8iZwDyq5uAUD854dZhdIFYzKoQig2haUKi1lVufz2RZUZPZ41n/hrOQB6h0Hhg8I367FNoEHgeM/KY7szSeQwD8q2WE3HM35ZLl0K1MJiOtHIkBclRQUwZnyOWcNsRQQgVLj1PSqkjF9DsoOSaSg3iinKzvfmgsNFFfpP/2T3GLGvL4fHEfwIX1sVvXcPqLztehWGcfn9nI2U9nTfCgJPe/jFPLZwgVEzimBgAm0VIyK2tt1cE/AzQdLK+SxLSQ4aDCZnnId94OG2S1XwvnTbNk/ZnhyRCQT+sZM6z9g6LXL1BOBe+zJySiFkHAINCtnQokbCJ/apCv0foqPiZVfhpywAAAAASUVORK5CYII="},"746f":function(t,e,n){var o=n("428f"),i=n("1a2d"),r=n("e538"),a=n("9bf2").f;t.exports=function(t){var e=o.Symbol||(o.Symbol={});i(e,t)||a(e,t,{value:r.f(t)})}},7715:function(t,e,n){},"7abd":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyAgMAAABjUWAiAAAADFBMVEXm9PXq+Pno9vfs+vttWKBGAAACPElEQVQozw3RQWrbQACF4TfCMjPqZgIj4RRaxsZKE0PuMBZ2cLKaCI9RDAXFmJJknUWWI1O1UlamOMHJSjGkuFn3AD2Cr9CepDrAg+/xIxK4QwIqHHQkUhQ/WuphInVIFBojl8QXc012Tgq4RTtVHWVLZVFh1tEoI91uiN4joCqde8Ukn/zGM1B2W4ari2PtTwyw55Ld+Wways54qhGPyS6FzbIT3lIY8WwWdCq56Yolx6KmSKzoqrsCB5heAp4TGNQWJ1Pc6XlE5jQD5OlIX9I47A9uiUQcPQxcury/ToyxWJG/za6ki88crxKPocKS59Sl3EtBG7C89fCGflpfqoSzCeC4crioJA7F0V5+8MaSIk4qSCdwzpogmbqzEirVpGiS2dOVJvUuuqFEmhHao06KEpq+8lvHI14NJk3Qrmi9vBuRLwAz0qZB4hsDXQFXgtnlpDX3C6ug9BquSw/CYtwAzuTz5vuQNdr/YibhR68378ehZH30FSpjh71LpQkrsj+Q062h5WwZ5wlRoD6uQJy1DqvSYuCUapMBqT5YA4ZFw4KlWapxoUGlKWrx0eDQvmigu4WMYt97ruru98fYL8/0lG6CTOFcFWBhFK5gKw19h2JN808nh7xhkU6sWKLXdtkqBL6h+lULK5k19wFB/FldnGYf3LDeuf6IC2/MzJOSOP0qPxLqzaGIqtBcFIItrstkazONOkrc1D1czjuwEGESB4JJnjgSMN7PXAu7fZQpl1C236C+9mM4Af8P98Ch4R2TRl8AAAAASUVORK5CYII="},"802e":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyAgMAAABjUWAiAAAADFBMVEUWGBkYGhsdHyAfISI1t/v6AAAB5ElEQVQozxXQsYoTURSA4f/EeycZsDgDdySDjihk38Hy3GWi2J2BCaziQhaiaB+tt9AFu1kwvYUPsIXNPoB9BAUfwAfwEUzKv/v4odGrroyp9/rUaC6rZ5skv5F8qPsfYYP+yKUMymmAEEeW55oUR4o8jr05KNzJ07yvB7w0KKfLwcQUSjfmMU0PJfPHFoEVU+ohNrcKMEzMQ23FDnVSI2dqtYWI7KlLu6vE4UnyvKc3SJuL7lBbeEEl42ItpGLjzIT8PRJCmkRjVpVpsbJFVN0687okJNZiHAr5Z7MV0BnGIDc+THM1zlbieBc1Fq+tH5BH+OpnbWkj40hSqC8Lw2TvFuF0SUFJCk2IytXbjeqcRAt6NHpnrUkUU4KRzZs8RCK8N/Akn2W04LwxMU/V7XK0bDyN2RxfDyx7I4h5vjZby72V8UnOWumZL3qtYc+8DTE0siSBMXGhywx2dMYPnQHbxdFZ7deiNGxCCtD/QWnbwDoGhRYPDzUdUA3krjpnkvdAgDN4ddLkEQSov9qjd42HaDjI34gEqS9TUueAk+sc4qg5ws407KQYKs8G1jv4xBlqBVk6cb4dISZIwVi1Jzu4+HLk6lyfUxkXvwy+1Q+4WVdHIhwfybZ6CWVhxMEhShOgsP/HOW0MvZJeFwAAAABJRU5ErkJggg=="},"82da":function(t,e,n){},"8aa5":function(t,e,n){"use strict";var o=n("6547").charAt;t.exports=function(t,e,n){return e+(n?o(t,e).length:1)}},a434:function(t,e,n){"use strict";var o=n("23e7"),i=n("da84"),r=n("23cb"),a=n("5926"),s=n("07fa"),c=n("7b0b"),u=n("65f0"),f=n("8418"),l=n("1dde"),A=l("splice"),d=i.TypeError,g=Math.max,h=Math.min,p=9007199254740991,m="Maximum allowed length exceeded";o({target:"Array",proto:!0,forced:!A},{splice:function(t,e){var n,o,i,l,A,v,b=c(this),C=s(b),y=r(t,C),S=arguments.length;if(0===S?n=o=0:1===S?(n=0,o=C-y):(n=S-2,o=h(g(a(e),0),C-y)),C+n-o>p)throw d(m);for(i=u(b,o),l=0;lC-o+n;l--)delete b[l-1]}else if(n>o)for(l=C-o;l>y;l--)A=l+o-1,v=l+n-1,A in b?b[v]=b[A]:delete b[v];for(l=0;l2)if(u=v(u),e=B(u,0),43===e||45===e){if(n=B(u,2),88===n||120===n)return NaN}else if(48===e){switch(B(u,1)){case 66:case 98:o=2,i=49;break;case 79:case 111:o=8,i=55;break;default:return+u}for(r=I(u,2),a=r.length,s=0;si)return NaN;return parseInt(r,o)}return+u};if(a(b,!C(" 0o1")||!C("0b1")||C("+0x1"))){for(var k,E=function(t){var e=arguments.length<1?0:C(x(t)),n=this;return f(y,n)&&d((function(){m(n)}))?u(Object(e),n,E):e},D=o?g(C):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),U=0;D.length>U;U++)c(C,k=D[U])&&!c(E,k)&&p(E,k,h(C,k));E.prototype=y,y.constructor=E,s(i,b,E,{constructor:!0})}},b165:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyAgMAAABjUWAiAAAADFBMVEXe3t7a2trc3Nzg4OCXP9lCAAACoklEQVQozwXBzU/TYBwA4N+QEr4CNbSFwcFuowSqMRvEAwShHWAYNsu7dS0dLnGUSWT4kZB4lGzE4VtcwgIDJqcOWLJxcv4BOoQZuCPxSNSD4WSWLJGL8XmAIiyo2RgJ4A1pxQQlOxRAszLTdnPu2oQGb05RC5slJld7ZAIfo4O44Bn1ud59F0BcjnYOa17Jhwc6EdiKettncsXjT1f8KUBZUW41pK0Jc1Az4dEV3rkkPBtDSZ83Blyt0kSf2PRjzIykoBwINisPbPPtljdVE9iAXRfUPkXLVIgYrCccp5g687NdZbcJ+xa5VE/HhTtT23IKsN5jj/pcUd0dTZNAqCVw72n4gOwnTOC0vvHfaauT8d9zAoRRfPpISZRVyUiw8ELzOG1b2DZpFzkSrHLhq52twDEdyZHwvp2j4uv/bjvOf23/AcEtTuJbY5Cp4YcAer1IGkUzOo2rn8LQOKjFJw3NTw24nprQXY5aF4wxcqcSdbFQ00H4xFl8Drx4X4CikvAM1tuR8bKIBCBoLnKN10KJG4zKAsc7c9WEB9gnCi6BhVjqoco6t20ILAJuVctvaEZK732cRHDRmGfuihOam0o2CHByUZ/epCcVlRs2wmCnMqsd6aSim3ibBJtm1LGyXW3Bb7tJCPlFtUG+SvPdeEUAB60lNdo+VQbLcwRNVtT68FsLcr1+NotgNihlpExS1V2SFgNbeC8bEhgm8sM17wSi6Us2gxVWJU/5GKBpandvfyYbU1yHCLpCgWGbbPXn40rehEsUXKIJr9DMKgICfjc4bl1YfvUhE/YIECGRqjCxSM9hrybAIkND5OeWfFZsXkxB+qDzb7pUQ3EfQ3Ml6EChEt3D+iS01VqC7EQ/Z/DuPQcz4yChoFQJce2Qr+NNAv0HxofmpXGqgHkAAAAASUVORK5CYII="},b4f8:function(t,e,n){var o=n("23e7"),i=n("d066"),r=n("1a2d"),a=n("577e"),s=n("5692"),c=n("3d87"),u=s("string-to-symbol-registry"),f=s("symbol-to-string-registry");o({target:"Symbol",stat:!0,forced:!c},{for:function(t){var e=a(t);if(r(u,e))return u[e];var n=i("Symbol")(e);return u[e]=n,f[n]=e,n}})},b671:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyBAMAAADsEZWCAAAAD1BMVEX48dr48Nf58tv379X17NJtIBxUAAACFUlEQVQ4y1XRUZakMAgF0Af2AiDWApDZgHZqAV1nZv9rGh7Rj7Y8McUFEg1wvcMESMNVD/neU8Xcaz7nYYkYlYO6Ti82PBI4BvIEg1aj3wKwRvIMgZsUy5LdhCawPFh1sZs4SrlyN9fQKpv8s5dgZ2eLyqqJiu+WkCmUEybXkm3INS01WAiv0PapJ0CZc0SJQUzcWnZYbOOY20iFD8Bk+/j2A3wNxH7GdShFYS5ff237kXh9I9zSkQmIAhOsOSVfJ6DIXTMDaPnzkRJ92S1BQQmXl5LdirgRLLDdcYqcGPwe3QN4xCBiGNbrqq9wpW1XCecChwaQdVOsRDpPCpeoolPdxeXp3WNB9PHVzWBHlygy4NJCCrFHREv6bDt0VGwJZASkpONmm1UseGeFKAQexgaAkrfYWl3AGxWOLL2AIMBNbCXpktmS3k3vHeYjGCPBa43wJTurO3ZFVpQSJdAZGLoHTyk1upkjxMEaIxum3iIARcCa5kSkFAW5fi1mUlL9eyOsaanFmOMruwvEdE3ZYzsRSzo5ewRLXyVPPEvknt8ij4DvCg2O7xOgBCUprEzV4z1WekSpUgI8DT2mrnSOXKRfQavwuKA1F+tFnMKdJSUpMA7wQAifWRkMgjUKKZE4lBl6MCM4B1pq1P4uIjDE6Pq6rL0FnW1nIFmta5vrSvq/Ch4tpqG/ZNyyWa5jZPktq81eYv8Bt5s4iFITOp4AAAAASUVORK5CYII="},b727:function(t,e,n){var o=n("0366"),i=n("e330"),r=n("44ad"),a=n("7b0b"),s=n("07fa"),c=n("65f0"),u=i([].push),f=function(t){var e=1==t,n=2==t,i=3==t,f=4==t,l=6==t,A=7==t,d=5==t||l;return function(g,h,p,m){for(var v,b,C=a(g),y=r(C),S=o(h,p),I=s(y),B=0,x=m||c,w=e?x(g,I):n||A?x(g,0):void 0;I>B;B++)if((d||B in y)&&(v=y[B],b=S(v,B,C),t))if(e)w[B]=b;else if(b)switch(t){case 3:return!0;case 5:return v;case 6:return B;case 2:u(w,v)}else switch(t){case 4:return!1;case 7:u(w,v)}return l?-1:i||f?f:w}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},c513:function(t,e,n){var o=n("23e7"),i=n("1a2d"),r=n("d9b5"),a=n("0d51"),s=n("5692"),c=n("3d87"),u=s("symbol-to-string-registry");o({target:"Symbol",stat:!0,forced:!c},{keyFor:function(t){if(!r(t))throw TypeError(a(t)+" is not a symbol");if(i(u,t))return u[t]}})},cf68:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyBAMAAADsEZWCAAAAD1BMVEXm5ubo6Ojp6enr6+vt7e1FnZagAAACrklEQVQ4yx1SixUbMQgT3AKAFwDcAfzpBN1/qMrJS5w7bCQhC6IGSUGYQJd6Ox9ZPXi1AGJBavhUTT0JjYPGAab9WcDYIxsmlnxkayX8mhxCmKHA75az5cfRbWybEExiu08xDSgGym0mwuf3j4SvHeQxDJJzh2zp4iOlrD8iOb4SXyC1wiOLRTcnrje+nGamFeXVKWkmz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1ZHBJkQr0Dbux/5I42Zp4cFahJDFGeW6/QjBwmFY/Q7vZ2SnoOdW2parv/Cnm81+m0xrEfiVXQ3W4nOXIqVYi3l6AAQBwMFkViVBANMto4enXHPNTkHBB0oVj4r5vHzCWayrgBvxtygDlDB2CNDjd80ZInY69aKVYZcfJ8DW+fWuc+syEODALx+ojqoafHsthTI+ZW27PGpIeo/cR6YKcbqIuIFhHmBrzAovzIOOJk1ucvcDzrMRYGVBH2yvcAOf0KiKwfRovBI3tm/kW1eemtfNWwIIXE2mJNhvoszfmMBfRCv0OPwd2321uDW3nx2q/BDxFVeoN1g7a6Im8yRnoawa8kbdXnU0cHeTMxKfZGlJgvLb3sKsxgglQnDdAfvj9LUnqWRDo0GiUmPwyU7TAsD7wHeIW3Nfy1qVGKoE9NgJCdYCAexNRob9yCn4DAQmXtQuUtera6bEmTTXhZy6h856xi4mnEl6BI9mfISkLbtJyZIMJIAUd5ZOBEu88KRAk71yxfItj/hpIB0Errv4gO1os4/UICf+o3kkqwAAAAASUVORK5CYII="},d28b:function(t,e,n){var o=n("746f");o("iterator")},d784:function(t,e,n){"use strict";n("ac1f");var o=n("e330"),i=n("cb2d"),r=n("9263"),a=n("d039"),s=n("b622"),c=n("9112"),u=s("species"),f=RegExp.prototype;t.exports=function(t,e,n,l){var A=s(t),d=!a((function(){var e={};return e[A]=function(){return 7},7!=""[t](e)})),g=d&&!a((function(){var e=!1,n=/a/;return"split"===t&&(n={},n.constructor={},n.constructor[u]=function(){return n},n.flags="",n[A]=/./[A]),n.exec=function(){return e=!0,null},n[A](""),!e}));if(!d||!g||n){var h=o(/./[A]),p=e(A,""[t],(function(t,e,n,i,a){var s=o(t),c=e.exec;return c===r||c===f.exec?d&&!a?{done:!0,value:h(e,n,i)}:{done:!0,value:s(n,e,i)}:{done:!1}}));i(String.prototype,t,p[0]),i(f,A,p[1])}l&&c(f[A],"sham",!0)}},d81d:function(t,e,n){"use strict";var o=n("23e7"),i=n("b727").map,r=n("1dde"),a=r("map");o({target:"Array",proto:!0,forced:!a},{map:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},d9f5:function(t,e,n){"use strict";var o=n("23e7"),i=n("da84"),r=n("c65b"),a=n("e330"),s=n("c430"),c=n("83ab"),u=n("4930"),f=n("d039"),l=n("1a2d"),A=n("3a9b"),d=n("825a"),g=n("fc6a"),h=n("a04b"),p=n("577e"),m=n("5c6c"),v=n("7c73"),b=n("df75"),C=n("241c"),y=n("057f"),S=n("7418"),I=n("06cf"),B=n("9bf2"),x=n("37e8"),w=n("d1e7"),k=n("cb2d"),E=n("5692"),D=n("f772"),U=n("d012"),Q=n("90e3"),O=n("b622"),V=n("e538"),F=n("746f"),N=n("57b9"),P=n("d44e"),R=n("69f3"),M=n("b727").forEach,T=D("hidden"),K="Symbol",H="prototype",W=R.set,z=R.getterFor(K),J=Object[H],L=i.Symbol,G=L&&L[H],q=i.TypeError,j=i.QObject,Y=I.f,Z=B.f,X=y.f,$=w.f,_=a([].push),tt=E("symbols"),et=E("op-symbols"),nt=E("wks"),ot=!j||!j[H]||!j[H].findChild,it=c&&f((function(){return 7!=v(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a}))?function(t,e,n){var o=Y(J,e);o&&delete J[e],Z(t,e,n),o&&t!==J&&Z(J,e,o)}:Z,rt=function(t,e){var n=tt[t]=v(G);return W(n,{type:K,tag:t,description:e}),c||(n.description=e),n},at=function(t,e,n){t===J&&at(et,e,n),d(t);var o=h(e);return d(n),l(tt,o)?(n.enumerable?(l(t,T)&&t[T][o]&&(t[T][o]=!1),n=v(n,{enumerable:m(0,!1)})):(l(t,T)||Z(t,T,m(1,{})),t[T][o]=!0),it(t,o,n)):Z(t,o,n)},st=function(t,e){d(t);var n=g(e),o=b(n).concat(At(n));return M(o,(function(e){c&&!r(ut,n,e)||at(t,e,n[e])})),t},ct=function(t,e){return void 0===e?v(t):st(v(t),e)},ut=function(t){var e=h(t),n=r($,this,e);return!(this===J&&l(tt,e)&&!l(et,e))&&(!(n||!l(this,e)||!l(tt,e)||l(this,T)&&this[T][e])||n)},ft=function(t,e){var n=g(t),o=h(e);if(n!==J||!l(tt,o)||l(et,o)){var i=Y(n,o);return!i||!l(tt,o)||l(n,T)&&n[T][o]||(i.enumerable=!0),i}},lt=function(t){var e=X(g(t)),n=[];return M(e,(function(t){l(tt,t)||l(U,t)||_(n,t)})),n},At=function(t){var e=t===J,n=X(e?et:g(t)),o=[];return M(n,(function(t){!l(tt,t)||e&&!l(J,t)||_(o,tt[t])})),o};u||(L=function(){if(A(G,this))throw q("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?p(arguments[0]):void 0,e=Q(t),n=function(t){this===J&&r(n,et,t),l(this,T)&&l(this[T],e)&&(this[T][e]=!1),it(this,e,m(1,t))};return c&&ot&&it(J,e,{configurable:!0,set:n}),rt(e,t)},G=L[H],k(G,"toString",(function(){return z(this).tag})),k(L,"withoutSetter",(function(t){return rt(Q(t),t)})),w.f=ut,B.f=at,x.f=st,I.f=ft,C.f=y.f=lt,S.f=At,V.f=function(t){return rt(O(t),t)},c&&(Z(G,"description",{configurable:!0,get:function(){return z(this).description}}),s||k(J,"propertyIsEnumerable",ut,{unsafe:!0}))),o({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:L}),M(b(nt),(function(t){F(t)})),o({target:K,stat:!0,forced:!u},{useSetter:function(){ot=!0},useSimple:function(){ot=!1}}),o({target:"Object",stat:!0,forced:!u,sham:!c},{create:ct,defineProperty:at,defineProperties:st,getOwnPropertyDescriptor:ft}),o({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:lt}),N(),P(L,K),U[T]=!0},df5e:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAATlBMVEXdzaHh0KPgz6LdzKDezqLczJ7ezZ/fz6Dcy5zi0aXdzZ3fz6Tfz57h0KDg0aLcyZrg0KXi0qPfzZ3j06bh0qbdyJbfzJrhz5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sB7R1t4zJXH//n7RTTQQwxqcGEqEvklFHUgiO2GvJV+jAIPR+N29usWDoiSOVrN3XuqT1egQJAAU9EwslVJC8u0rGcy+WPqktJhjfMpatIG6CDAb0v5H34MGKqiVRue7GGLZ9Otxtt4JIrAhxBDwDuqI9JavcO0A7GlqFt219tH/bln9jBXzaKWAEqJV0CBxs5TwM8EvUPHaa8S86vN303MVWOsl3goDBHPWSoQ9c0kQmCKljfsKNH1+ofEOHW8a9a7glZGS8fPieL/SRSs0LAhI4FDTnXs1QYtubv2+IXPZpHB4bhivRexBkYKsSrYXNjvMUbVXpVJ+N6haV72c1k2zrnv5IYBMJBYTSZx0KTkoM3vY93rU/qs7zHplc/3d2ACadhFWByrn9LUk2IWb5JywvawTQc3F0iz+lgsBmInAIemBJtft2plKIlAFOgcroigrG2XlDsAzywQECNyaI8yr2ogoh7D4qJOYmZBzQgoZAM1PAcB8sDrr1uE5CDMR+nWSSVUGUCHAs8Vd21HOE0FzNj37pX0sLp9p3K8k++xxpkmzDxK64rmTSJnDUuIgTeslui6lg92jonZXI4jqNiUuzN4IagcKMjCniMGCODoo8T4tGDprn2hRww+NrnYiCwokd9iiWrkmbRfXYGLAoZrjO1lVQKExjUy5fIkgJURmz2uGFdASwwlWx5gDVTMK7hP6ISRVsFbYNmqtZL9MQtio285PaekyzDhZmtdexCYB0SZcTmBdhvdbmAEonk8hwcHQuZN1kVqrhyKoHHsnQhQAjF7SG533Da2S4LGjx1LoZqp7XeKQLDUBmYmydG0NQHpMeR5lRIRQc1PQ2ASMQflF4YBDMt0/GFlEHeRwCcEAAAAASUVORK5CYII="},e01a:function(t,e,n){"use strict";var o=n("23e7"),i=n("83ab"),r=n("da84"),a=n("e330"),s=n("1a2d"),c=n("1626"),u=n("3a9b"),f=n("577e"),l=n("9bf2").f,A=n("e893"),d=r.Symbol,g=d&&d.prototype;if(i&&c(d)&&(!("description"in g)||void 0!==d().description)){var h={},p=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:f(arguments[0]),e=u(g,this)?new d(t):void 0===t?d():d(t);return""===t&&(h[e]=!0),e};A(p,d),p.prototype=g,g.constructor=p;var m="Symbol(test)"==String(d("test")),v=a(g.toString),b=a(g.valueOf),C=/^Symbol\((.*)\)[^)]+$/,y=a("".replace),S=a("".slice);l(g,"description",{configurable:!0,get:function(){var t=b(this),e=v(t);if(s(h,t))return"";var n=m?S(e,7,-1):y(e,C,"$1");return""===n?void 0:n}}),o({global:!0,constructor:!0,forced:!0},{Symbol:p})}},e160:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyAgMAAABjUWAiAAAADFBMVEX6+fP8+/X+/ff///kbczPAAAACeElEQVQozxXHQUgUUQAG4P8936yzs6VvZNZmN9QxVxiF9OLBoOjtOC6rQq6ygXjI2fCQBdXBg4egtzFGdqkoI+zgBFbqkm3hQSxhFYLotOcubeKhOnVYoqQy+m4f5g5TvpX0xHLbLY9j8SMhJp+Jk4LfAUS2kVRIjILmnwGBTX42PhCVlDJQkIiy2nWAvaJ1h+oFIpJ0hMSYVbyyrgDWshcMpMyL1brPDQKWmduO+KTJ6XeXAMK9Yc3FpD7atyNwg6kt5XgFpLPhjUTFSYVn2abDiugGShwD8JTVRJVo/2ecuKtRb/qc4BK+9TboFfokog4T2Fn6Oqdnsjk90NMS76Rji6E0NmwkPBAZ4Xbkw8KoDAkAbEhkc78e9omxxgxg6qa5HvMv+UZbCV0qmHnSHKl5TxeA2XTCGWekR581mwC5crBH81PznASqB9va3TbkYAjJPLfg5uBfXaJgIgIBv9eessRIhxe7PA7kj6uUMeMaQ/OEQOYRaaHlqH2Gxwsl6E/pwVY5FH7uCypBZPKvDQyVziYBrAkMURe2MOOOxG/eQpp5PF+bFzUV5HtPj9GeiVSNZDELleifYTp9NAjsoiXg4cW+4ZORkdSMB/B74aAdjhsVakhgkugsbmqcDSLEoWp8zRjrux3tli6Q5uM3E+maT99Wy0RiP7tboiuRZle2c6CYeL2kcUc1KvPtQKucogMadKVTQOJYCeyCYlhQQ/Q7Etfd/vBygy9iqy+LyHeF46saCYvW6ingsbA9RBWtdi8GgUXW+oQx9/wP6bAAX1TWeV+CbShZDlQ9xT6SoSxZmKRAkmXb60kzEzkRF+Ccb94BGspGJoN/UzmyR4wjXHAAAAAASUVORK5CYII="},e538:function(t,e,n){var o=n("b622");e.f=o},e9c4:function(t,e,n){var o=n("23e7"),i=n("d066"),r=n("2ba4"),a=n("c65b"),s=n("e330"),c=n("d039"),u=n("e8b5"),f=n("1626"),l=n("861d"),A=n("d9b5"),d=n("f36a"),g=n("4930"),h=i("JSON","stringify"),p=s(/./.exec),m=s("".charAt),v=s("".charCodeAt),b=s("".replace),C=s(1..toString),y=/[\uD800-\uDFFF]/g,S=/^[\uD800-\uDBFF]$/,I=/^[\uDC00-\uDFFF]$/,B=!g||c((function(){var t=i("Symbol")();return"[null]"!=h([t])||"{}"!=h({a:t})||"{}"!=h(Object(t))})),x=c((function(){return'"\\udf06\\ud834"'!==h("\udf06\ud834")||'"\\udead"'!==h("\udead")})),w=function(t,e){var n=d(arguments),o=e;if((l(e)||void 0!==t)&&!A(t))return u(e)||(e=function(t,e){if(f(o)&&(e=a(o,this,t,e)),!A(e))return e}),n[1]=e,r(h,null,n)},k=function(t,e,n){var o=m(n,e-1),i=m(n,e+1);return p(S,t)&&!p(I,i)||p(I,t)&&!p(S,o)?"\\u"+C(v(t,0),16):t};h&&o({target:"JSON",stat:!0,arity:3,forced:B||x},{stringify:function(t,e,n){var o=d(arguments),i=r(B?w:h,null,o);return x&&"string"==typeof i?b(i,y,k):i}})},ec0f:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyBAMAAADsEZWCAAAALVBMVEXx58b168ny6Mjz6sn06sf27Mvw5sTz6cbw5cLy58T37svv47/168v37s7t4Ltrv0//AAAEjUlEQVQ4yw2Ty2sTURxGf3dmOqmPxb0zmaStCnfmZpL6gpmbxIpUSMZGrSJkxsZiVZimNVaqMklrU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6DgHmlgPzcUTSbi3rrv1Y64/BYEMPQ5SDHUOR022B4QRF6xLUPAaPX/V4IDI5N2BMwx4LqO1uO4j6uW7NvM7lATqGAxY/ZHVgoGZbu7SvkNR75x6qGSB23FdouENVwN7sCbewTdsXGrrnQ5ZZKOCOFtMTIzxlPu6eYmtL+nMFmoK7OeXajn86r9sqWbfmvHC4IagE5qfCPGZvLSq5F55hHIxJFa4/vRxHBlz0og4TojU1l/MOHJX17lybdF0mQhFO44JYUNt3UA473IXw/iPfDWtKG5oFSXIF5iU/VnyDSjxxeDk3jAXRyVyGTNB9FxH9qcFDNJpVbt2y9LytUXkK7Py6+z1RezHQqnoY8XcLimmd8dCnBhQCuaGpJCq3SoIlmYvLz8UkWhJw7T8k+Db/DYEKwgAAAABJRU5ErkJggg=="},fe9c:function(t,e,n){}}]); \ No newline at end of file diff --git a/app/src/main/java/io/legado/app/data/entities/RssSource.kt b/app/src/main/java/io/legado/app/data/entities/RssSource.kt index dca1fa0ac..822172cd0 100644 --- a/app/src/main/java/io/legado/app/data/entities/RssSource.kt +++ b/app/src/main/java/io/legado/app/data/entities/RssSource.kt @@ -153,6 +153,7 @@ data class RssSource( style = doc.readString("$.style"), enableJs = doc.readBool("$.enableJs") ?: true, loadWithBaseUrl = doc.readBool("$.loadWithBaseUrl") ?: true, + enabledCookieJar = doc.readBool("$.enabledCookieJar") ?: false, customOrder = doc.readInt("$.customOrder") ?: 0 ) } diff --git a/app/src/main/java/io/legado/app/help/SourceAnalyzer.kt b/app/src/main/java/io/legado/app/help/SourceAnalyzer.kt index b5c461f25..5fb5e8437 100644 --- a/app/src/main/java/io/legado/app/help/SourceAnalyzer.kt +++ b/app/src/main/java/io/legado/app/help/SourceAnalyzer.kt @@ -150,6 +150,7 @@ object SourceAnalyzer { source.customOrder = sourceAny.customOrder source.enabled = sourceAny.enabled source.enabledExplore = sourceAny.enabledExplore + source.enabledCookieJar = sourceAny.enabledCookieJar source.concurrentRate = sourceAny.concurrentRate source.header = sourceAny.header source.loginUrl = when (sourceAny.loginUrl) { @@ -219,6 +220,7 @@ object SourceAnalyzer { var customOrder: Int = 0, // 手动排序编号 var enabled: Boolean = true, // 是否启用 var enabledExplore: Boolean = true, // 启用发现 + var enabledCookieJar: Boolean = false, // 启用CookieJar var concurrentRate: String? = null, // 并发率 var header: String? = null, // 请求头 var loginUrl: Any? = null, // 登录规则 diff --git a/app/src/main/java/io/legado/app/ui/book/read/BaseReadBookActivity.kt b/app/src/main/java/io/legado/app/ui/book/read/BaseReadBookActivity.kt index 099ee02df..27cdef098 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/BaseReadBookActivity.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/BaseReadBookActivity.kt @@ -229,8 +229,12 @@ abstract class BaseReadBookActivity : customView { alertBinding.root } yesButton { alertBinding.run { - val start = editStart.text?.toString()?.toInt() ?: 0 - val end = editEnd.text?.toString()?.toInt() ?: book.totalChapterNum + val start = editStart.text!!.toString().let { + if (it.isEmpty()) 0 else it.toInt() + } + val end = editEnd.text!!.toString().let { + if (it.isEmpty()) book.totalChapterNum else it.toInt() + } CacheBook.start(this@BaseReadBookActivity, book, start - 1, end - 1) } }