"use strict";(self.webpackChunkcnblogs_theme_simplememory_2_2_12=self.webpackChunkcnblogs_theme_simplememory_2_2_12||[]).push([[463],{4684:function(e,a){a.Z='<div class="book-card"> <div class="content-wrapper"> <img src="##cover##" alt="" class="book-card-img"> <div class="card-content"> <div class="book-name" title="##name##">##name##</div> <div class="rate"> <fieldset class="rating book-rate"> ##scoreHtml## </fieldset> <span class="book-voters card-vote"> ##infoHtml## </span> </div> </div> </div> <div class="book-by"> <i class="iconfont icon-book" title="阅读时间" style="display:##readDateStyle##"></i> ##readDate## <i class="iconfont icon-schedule" title="阅读进度" style="display:##readPercentageStyle##"></i> ##readPercentage## </div> </div>'},2898:function(e,a,t){t.a(e,(async function(e,o){try{t.r(a),t.d(a,{default:function(){return c}});var s=t(4684),i=t(8479),n=t(3515),r=e([i,n]);function c(){(0,n.default)(),(()=>{if($.__config.bookList.length){t.e(297).then(t.bind(t,8724));let e=$("#cnblogs_post_body"),a="";$.each($.__config.bookList,(e=>{let t=$.__config.bookList[e];t.title&&(a+="<h1 class=`iconfont ${list.icon}`>"+t.title+"</h1>"),a+='<div class="book-cards">',$.each(t.books,(e=>{let o=s.Z,i=t.books[e],n="";void 0!==i.score&&i.score>0?(n+='<i class="iconfont icon-star-full"></i>'.repeat(parseInt(i.score)),i.score>parseInt(i.score)&&(n+='<i class="iconfont icon-star-half"></i>'),n+='<i class="iconfont icon-icon-star"></i>'.repeat(parseInt(5-i.score))):n+='<i class="iconfont icon-icon-star"></i>'.repeat(5);let r="";void 0!==i.formerName&&i.formerName&&(r+='<span title="'+i.formerName+'">原　名：'+i.formerName+"</span><br>"),void 0!==i.author&&i.author&&(r+='<span title="'+i.author+'">作　者：'+i.author+"</span><br>"),void 0!==i.translator&&i.translator&&(r+='<span title="'+i.translator+'">译　者：'+i.translator+"</span><br>"),void 0!==i.press&&i.press&&(r+='<span title="'+i.press+'">出版社：'+i.press+"</span><br>"),void 0!==i.year&&i.year&&(r+='<span title="'+i.year+'">出版年：'+i.year+"</span>");let c=void 0!==i.readDate?i.readDate:"",l=c?"initial;":"none",d=void 0!==i.readPercentage?i.readPercentage:"",p=d?"initial;":"none";o=$.__tools.batchTempReplacement(o,[["cover",void 0!==i.cover?i.cover:""],["name",void 0!==i.name?i.name:""],["readDate",c],["readDateStyle",l],["readPercentage",d],["readPercentageStyle",p],["scoreHtml",n],["infoHtml",r]]),a+=o})),a+="</div>"}));let o=$(".articleSuffix-flg");o.length?o.before(a):e.append(a)}})(),(0,i.Z)()}[i,n]=r.then?(await r)():r,o()}catch(l){o(l)}}))}}]);