1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([["pages-BookPage-container"],{90975:(e,o,t)=>{t.d(o,{Z:()=>y});var n,r,i,a,s,l,c,d=t(30168),u=(t(38077),t(50886),t(5203),t(10141),t(4470),t(60228),t(70394)),h=t(63070),b=t(10106),p=t(72374),m=t(23148),k=t(85893),f=u.ZP.div.withConfig({displayName:"EditorialTip__Container",componentId:"m3n8pd-0"})(["background:white;padding:","px;border:1px solid ",";",";"],(function(e){return e.theme.gutter}),(function(e){return e.theme.color.grey1}),h.BC.mobile2(n||(n=(0,d.Z)(["\n padding: ","px ","px 0;\n "])),(function(e){return 2*e.theme.gutter}),(function(e){return 2*e.theme.gutter}))),g=u.ZP.header.withConfig({displayName:"EditorialTip__Header",componentId:"m3n8pd-1"})(["padding-bottom:","px;margin-bottom:","px;border-bottom:1px solid ",";> h3,.headline{font-size:20px;line-height:1.35;font-weight:400;}> h3 > a{display:block;font-size:20px;line-height:1.35;font-weight:400;}> .subLine{font-size:",";font-weight:300;color:",";padding-bottom:10px;margin-bottom:","px;}> .subLine-link{font-size:",";font-weight:300;",";}",";"],(function(e){return e.theme.gutter}),(function(e){return e.theme.gutter}),(function(e){return e.theme.color.grey1}),(function(e){return e.theme.fontSize.l}),(function(e){return e.theme.color.font}),(function(e){return e.theme.gutter}),(function(e){return e.theme.fontSize.l}),h.BC.tablet(r||(r=(0,d.Z)(["\n font-size: ",";\n "])),(function(e){return e.theme.fontSize.xxl})),h.BC.tablet(i||(i=(0,d.Z)(["\n > h3,\n > .headline,\n > h3 > a {\n font-size: 22px;\n line-height: 1.32;\n }\n\n > .subLine {\n font-size: ",";\n }\n "])),(function(e){return e.theme.fontSize.xxl}))),x=(0,u.ZP)(p.Z).withConfig({displayName:"EditorialTip__StyledBookCoverBox",componentId:"m3n8pd-2"})(["margin-right:30px;flex-shrink:0;align-self:baseline;",";",";"],h.BC.tablet(a||(a=(0,d.Z)(["\n width: calc(100% / 4);\n margin: 0 0 ","px;\n padding: 0 ","px;\n "])),(function(e){return 2*e.theme.gutter}),(function(e){return e.theme.gutter})),h.BC.desktop(s||(s=(0,d.Z)(["\n padding: 0 ","px;\n "])),(function(e){return 2*e.theme.gutter}))),v=(0,u.ZP)(b.Z).withConfig({displayName:"EditorialTip__StyledSlider",componentId:"m3n8pd-3"})(["padding:","px 0;overflow-x:scroll;-webkit-overflow-scrolling:touch;display:flex;",";",";"],(function(e){return e.theme.gutter}),h.BC.tablet(l||(l=(0,d.Z)(["\n margin: 0 -","px;\n overflow-x: hidden;\n flex-wrap: wrap;\n "])),(function(e){return e.theme.gutter})),h.BC.desktop(c||(c=(0,d.Z)(["\n margin: 0 -","px;\n "])),(function(e){return 2*e.theme.gutter})));const y=function(e){var o=e.header,t=e.list,n=e.maxItemSize,r=e.showRating,i=e.bookCoverBoxClassName,a=n||t.data.content.length;return 0===t.data.content.length&&t.meta.hasFetched?null:0!==t.data.content.length||t.meta.hasFetched?(0,k.jsxs)(f,{children:[(0,k.jsx)(g,{children:o}),(0,k.jsx)(v,{className:"books",children:t.data.content.filter((function(e,o){return o<a})).map((function(e){var o=function(e){return void 0!==e.book}(e)?e.book:e;return(0,k.jsx)(x,{className:i,imageSizes:[120,120,160,180],book:o,showRating:r},o.id)}))})]}):(0,k.jsx)(m.Z,{block:!0})}},52722:(e,o,t)=>{t.r(o),t.d(o,{Page:()=>Xe,default:()=>so}),t(59749),t(38077),t(49693),t(5203),t(10141),t(90701),t(35082),t(40739),t(81919),t(99474),t(69358),t(30050),t(47522);var n=t(15861),r=t(15671),i=t(43144),a=t(73930),s=t(61120),l=t(60136),c=t(4942),d=t(64687),u=t.n(d),h=(t(21057),t(68932),t(34338),t(752),t(70560),t(34284),t(60228),t(73964),t(52003),t(68518),t(64043),t(13440),t(12826),t(21694),t(22462),t(61514),t(76265),t(45007)),b=t(65849),p=t(74737),m=t(56662),k=t(91443),f=t(69673),g=t(81749),x=t(98753),v=t(30168),y=t(67294),j=t(27934),w=t(32881),S=t(85893);const B=function(e){var o=e.domId;return!(0,w.Z)().desktop&&(0,S.jsx)(j.Z,{domId:o})};var Z,I=t(54186),P=t(11490),D=(t(55791),t(50886),t(98742),t(52047),t(4470),t(30190),t(94184)),_=t.n(D),O=t(70885),L=t(27484),N=t.n(L),A=t(18047),R=t(83887),C=t(44397),E=t(33937),T=t(70394),z=t(63070),M=T.ZP.div.withConfig({displayName:"BookDetails__StyledBookDetails",componentId:"sc-1b8gunl-0"})(["margin-bottom:4px;"]),F=T.ZP.div.withConfig({displayName:"BookDetails__StyledDetailRow",componentId:"sc-1b8gunl-1"})(["display:flex;flex-direction:row;padding:5px 0;
1span{display:block;line-height:1.47;}.value-column{min-width:36%;margin-right:13px;word-wrap:break-word;",""],z.BC.desktop(Z||(Z=(0,v.Z)(["\n min-width: 53%;\n word-wrap: inherit;\n "])))),H=T.ZP.div.withConfig({displayName:"BookDetails__StyledAdditionalInfo",componentId:"sc-1b8gunl-2"})(["margin:","px 0;&:last-child{margin-bottom:0;}"],(function(e){return e.theme.gutter})),V=(0,T.ZP)(H).withConfig({displayName:"BookDetails__AllSeries",componentId:"sc-1b8gunl-3"})(["text-align:right;"]),W=(0,T.ZP)(A.ZP).withConfig({displayName:"BookDetails__AllSeriesLink",componentId:"sc-1b8gunl-4"})(["font-weight:400;"]),K=function(e){var o=e.bookData,t=o.challenges.filter((function(e){return e.hasPublisherPage})),n=t.length>0?t:[],r=((0,O.Z)(n,1)[0]||{challengeUrl:null}).challengeUrl,i=o.book.publisher;return r?(0,S.jsx)(A.ZP,{to:r,children:i}):(0,S.jsx)("span",{children:i})};const U=function(e){var o=e.bookData,t=null,n=null,r=o.otherBook;if(o.bookSeries){var i=o.bookSeries,a=i.id,s=i.name,l=(0,E.bV)(o.book.author.name,{id:a,name:s});t=(0,S.jsxs)(H,{children:["Teil ",o.bookSeries.position," der"," ",(0,S.jsxs)(A.ZP,{to:l,children:['Reihe "',o.bookSeries.name,'"']})]})}if(r){var c="AUDIOBOOK"===r.mediumType?"Hörbuch":"Buch",d=(0,S.jsxs)(A.ZP,{to:(0,E.hJ)(r),children:["aktuelle ",c]});n=(0,S.jsxs)(H,{children:["Das ",d," ist"," ",r.currentEditionPublicationDate?"am "+N()(r.currentEditionPublicationDate).format("DD.MM.YYYY"):""," ","bei ",r.publisher," erschienen."]})}return(0,S.jsxs)(M,{children:[Object.keys(o.book).filter((function(e){return C.I.hasOwnProperty(e)})).map((function(e){var t="language"!==e?o.book[e]:R.Z[o.book[e]];if("numberOfPages"===e){if(0===t)return null;t+=" Seiten"}return"currentEditionPublicationDate"!==e||t?(t="currentEditionPublicationDate"===e?N()(t).format("DD.MM.YYYY"):t,"lottery"===e||"edition"===e?null:"numberOfPages"!==e||"AC"!==o.book.medium&&"AJ"!==o.book.medium?"publisher"===e?(0,S.jsxs)(F,{children:[(0,S.jsxs)("span",{className:"value-column",children:[(0,C.Z)(e),":"]}),(0,S.jsx)(K,{bookData:o})]},e):(0,S.jsxs)(F,{children:[(0,S.jsxs)("span",{className:"value-column",children:[(0,C.Z)(e),":"]}),(0,S.jsx)("span",{children:t})]},e):null):null})),o.ageRecommendation&&(0,S.jsxs)(F,{children:[(0,S.jsxs)("span",{className:"value-column",children:[(0,C.Z)("ageRecommendation"),":"]}),(0,S.jsx)("span",{children:o.ageRecommendation})]}),t,null,n,o.originalBook&&(0,S.jsxs)(H,{children:["Im Original als"," ",(0,S.jsx)(A.ZP,{to:(0,E.hJ)(o.originalBook),nofollow:!0,children:o.originalBook.title})," ",o.originalBook.publisher&&(0,S.jsxs)(S.Fragment,{children:["bei ",o.originalBook.publisher," "]}),"erschienen."]}),!o.emptyCollection&&(0,S.jsx)(V,{children:(0,S.jsx)(W,{to:(0,E.Fn)(o.book),nofollow:!0,children:"Alle Ausgaben in der Ãbersicht"})})]})},Y=function(e){var o=e.expandable,t=void 0!==o&&o,n=e.bookData;return(0,S.jsx)(P.ZP,{header:"Buchdetails",subHeader:"Aktuelle Ausgabe",expandable:t,children:(0,S.jsx)(U,{bookData:n})})};var Q=t(99149),G=t(23148),J=t(34117),$=t(10106),q=t(72374),X=t(5686),ee=t(25270),oe=(t(76801),t(53123));const te=t.p+"6f36baebcfc9ccb46ab7.webp",ne=t.p+"683d08d7913e791c3386.webp";var re=T.ZP.div.withConfig({displayName:"Zeercle__Ad",componentId:"sc-1o0p847-0"})(["display:flex;justify-content:center;margin-top:","px;"],(function(e){return e.theme.gutter})),ie=T.ZP.img.withConfig({displayName:"Zeercle__Image",componentId:"sc-1o0p847-1"})(["width:420px;max-width:100%;height:auto;"]);const ae=function(e){var o=e.book,t=(0,oe.Z)(),n=["de"].includes(t),r=o.firstEditionPublicationDate,i=o.mediumType,a=N()().isAfter(r);return n&&a&&"AUDIOBOOK"!==i&&(0,S.jsx)(re,{children:(0,S.jsx)("a",{href:"https://hugendubel.zeercle.com/?utm_source=LB_Rezi_medium=affiliate&utm_campaign=zeercle_gebrauchtbuch",target:"_blank",children:(0,S.jsx)(ie,{srcSet:"".concat(te,", ").concat(ne," 2x"),src:te,width:420,height:60})})})};var se,le,ce,de=(0,T.ZP)($.Z).withConfig({displayName:"Sidebar__StyledSlider",componentId:"sc-6ffpfy-0"})(["margin-top:-","px;"],(function(e){return e.theme.gutter})),ue=T.ZP.div.withConfig({displayName:"Sidebar__HideOnMobile",componentId:"sc-6ffpfy-1"})(["&&{display:none;","}"],z.BC.tablet(se||(se=(0,v.Z)(["\n\t display: inherit;\n\t"])))),he=(0,T.ZP)(q.Z).withConfig({displayName:"Sidebar__StyledBookCoverBox",componentId:"sc-6ffpfy-2"})(["margin-top:","px;"],(function(e){return e.theme.gutter})),be=T.ZP.div.withConfig({displayName:"Sidebar__StyledMoreLink",componentId:"sc-6ffpfy-3"})(["display:none;text-align:right;font-weight:400;margin-top:","px;",""],(function(e){return e.theme.gutter}),z.BC.desktop(le||(le=(0,v.Z)(["\n display: block;\n "])))),pe=(0,T.ZP)(A.ZP).withConfig({displayName:"Sidebar__StyledMoreAuthorBooksLink",componentId:"sc-6ffpfy-4"})(["display:block;",";"],z.BC.tablet(ce||(ce=(0,v.Z)(["\n display: none;\n "]))));const me=function(e){var o,t,n,r,i,a,s=e.bookData,l=e.seriesItems,c=e.tags,d=e.booksByAuthor,u=e.bookLists,h=s.book;return(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)(ue,{className:"seperator",children:[(0,S.jsx)(Y,{bookData:s}),(0,S.jsx)(ae,{book:h})]}),(0,S.jsx)("div",{className:"seperator",children:(0,S.jsx)(j.Z,{domId:"h5v_marginal_top"})}),(o=s.book,t=o.numberOfOwners,n=o.numberOfWishlist,r=o.numberOfReaders,i=[t,n,r].every((function(e){return null==e})),a=[t,n,r].some((function(e){return 0!==e})),i?null:a?(0,S.jsx)("div",{className:"seperator",children:(0,S.jsx)(X.Z,{numberOfOwners:t,numberOfWishlist:n,numberOfReaders:r,book:s.book})}):void 0),function(){if(!s.bookSeries&&!l)return null;var e=l.data,o=e.content,t=e.totalElements,n=s.bookSeries,r=n.id,i=n.name,a=n.position,c=o.filter((function(e){return e.book.id===h.id}))?"Band ".concat(a,' der Reihe "').concat(i,'"'):'Bänder der Reihe "'.concat(i,'"'),d=(0,E.bV)(h.author.name,{id:r,name:i}),u=(0,S.jsxs)(A.ZP,{to:d,children:["Alle ",t," Bücher in Reihenfolge"]});return(0,S.jsx)("div",{className:"seperator",children:(0,S.jsxs)(P.ZP,{header:c,subHeader:u,expandable:!1,children:[l.meta.hasFetched?(0,S.jsx)(de,{className:"-wrapped book-series",children:o.map((function(e){return(0,S.jsx)(he,{imageSizes:[120],book:e.book,position:e.position,highlightPosition:e.book.id===h.id,linkTo:e.book.id===h.id?null:"LINK_BOOK",noAuthor:!0}
1,e.book.id)}))}):(0,S.jsx)(G.Z,{block:!0}),t>10&&(0,S.jsx)(be,{children:(0,S.jsx)(A.ZP,{to:d,children:"Alle Bücher der Reihe"})})]})})}(),(0,S.jsx)(Q.Z,{headline:"Worum geht es im Buch?",tags:c}),function(){if(0!==u.length)return(0,S.jsx)("div",{className:"seperator",children:(0,S.jsx)(P.ZP,{header:"Listen zum Buch",expandable:!1,children:(0,S.jsx)($.Z,{className:"-wrapped book-lists list",children:u.map((function(e,o){var t=null;return o<3&&(t=(0,S.jsx)(J.Z,{bookList:e},e.id)),t}))})})})}(),function(){if(!d||0===d.data.content.length)return null;var e=d.data.content;if(0===e.length)return null;var o=(0,E.xO)(h.author.name),t=(0,S.jsxs)(pe,{to:o,children:["Mehr von ",h.author.name]}),n=(0,ee.Ku)(h.author.gender),r=(0,ee.xt)(h.author.gender),i="Bücher ".concat(n," ").concat(r);return(0,S.jsx)("div",{className:"seperator",children:(0,S.jsxs)(P.ZP,{header:i,subHeader:t,expandable:!1,children:[(0,S.jsx)(de,{className:"-wrapped author-books",children:e.map((function(e,o){var t=e.book;return(0,S.jsx)(he,{imageSizes:[120],book:t,noAuthor:!0,className:_()({"-desktop-only":o<4})},o)}))}),(0,S.jsx)(be,{children:(0,S.jsxs)(A.ZP,{to:o,children:["Mehr von ",h.author.name]})})]})})}()]})};var ke=t(83071),fe=t(24622),ge=t(96007),xe=t(93162),ve=t(51845),ye=T.ZP.div.withConfig({displayName:"PublisherPageLink__Bar",componentId:"w2dg20-0"})(["border-top:1px solid ",";border-bottom:1px solid ",";background-color:",";text-align:center;font-weight:300;"],(function(e){return e.theme.color.grey05}),(function(e){return e.theme.color.grey05}),(function(e){return e.theme.color.grey04})),je=(0,T.ZP)(A.ZP).withConfig({displayName:"PublisherPageLink__LookLikeText",componentId:"w2dg20-1"})(["display:inline-block;padding:","px;color:",";&:hover{background:",";color:",";text-decoration:none;}"],(function(e){return e.theme.gutter}),(function(e){return e.theme.color.fontLight}),(function(e){return e.theme.color.grey03}),(function(e){return e.theme.color.font})),we=T.ZP.span.withConfig({displayName:"PublisherPageLink__LookLikeALink",componentId:"w2dg20-2"})(["color:",";"],(function(e){return e.theme.color.blue}));const Se=function(e){var o=e.publisherPages,t=(0,O.Z)(o,1)[0],n=t.challengeName,r=t.challengeUrl;return(0,S.jsx)(ye,{children:(0,S.jsxs)(je,{to:r,children:["Weitere Bücher und Aktionen von"," ",(0,S.jsx)(we,{children:n})," entdecken!"]})})};var Be=t(90975),Ze=t(9346),Ie=t(22728),Pe=t(26001);const De=function(e){var o=e.threads,t=e.bookId,n=e.showReviews,r=e.setShowReviews,i=(0,Ie.T)();return(0,y.useEffect)((function(){i((0,p.loadStreamForBook)({bookId:t,listId:"book:thread:".concat(t)})).then((function(e){var o=e.list,t=N()();o.content.filter((function(e){return null==e?void 0:e.registrationEndDate})).every((function(e){return N()(e.registrationEndDate).isBefore(t)}))||r(!1)}))}),[t,i,r]),o&&(0,S.jsx)(Pe.Z,{useTransparentStyle:!0,enableScrollIntoView:!0,actionItems:[{name:"Rezensionen",isActive:n,action:function(){return r(!0)}},{name:"Leserunden & Buchverlosungen",isActive:!n,action:function(){return r(!1)}}]})};var _e=t(30202),Oe=t(96205),Le=t(68126);const Ne=function(e){var o=e.titleId,t=(0,_e.NL)(),n=(0,Oe.D)({mutationFn:function(e){return Le.Z.addLastSeen(e)},onSuccess:function(){t.invalidateQueries({queryKey:["getLastSeen"]})}});return(0,y.useEffect)((function(){return n.mutate(o)}),[o]),null};var Ae,Re=t(37247);function Ce(e,o,t){return o=(0,s.Z)(o),(0,a.Z)(e,Ee()?Reflect.construct(o,t||[],(0,s.Z)(e).constructor):o.apply(e,t))}function Ee(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Ee=function(){return!!e})()}var Te=T.ZP.div.withConfig({displayName:"BookPage__ShowMobileOnly",componentId:"sc-1kvyzgx-0"})(["&&{display:block;","}"],z.BC.tablet(Ae||(Ae=(0,v.Z)(["\n display: none;\n "])))),ze=T.ZP.div.withConfig({displayName:"BookPage__BookActions",componentId:"sc-1kvyzgx-1"})(["line-height:30px;display:flex;justify-content:flex-end;margin-top:","px;"],(function(e){return e.theme.gutter}));const Me=function(e){function o(){var e;(0,r.Z)(this,o);for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return e=Ce(this,o,[].concat(n)),(0,c.Z)(e,"state",{showReviews:!0}),(0,c.Z)(e,"setShowReviews",(function(o){e.setState({showReviews:o})})),(0,c.Z)(e,"renderBookStage",(function(){var o=e.props.bookData.challenges.filter((function(e){return e.hasPublisherPage}));return(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(I.Z,{isAuthenticated:e.props.authState.isAuthenticated,onRatingSelected:e.props.onRatingSelected,bookData:e.props.bookData}),o.length>0&&(0,S.jsx)(Se,{publisherPages:o})]})})),(0,c.Z)(e,"renderReviewStream",(function(){var o=e.props.bookData;return(0,S.jsx)(ke.xC,{book:o.book,ratingDistribution:o.book.ratingDistribution,listTypeId:o.book.id,listType:"book",listName:"new",headerText:"Rezensionen und Bewertungen",defaultInfoText:'Bisher gibt es n
1och keine Bewertungen zum Buch.\n Schreibe mit "Neu" die erste Rezension und teile\n deine Meinung mit anderen Lesern.',showAd:!0})})),(0,c.Z)(e,"renderShouts",(function(){return(0,S.jsx)(ke.gm,{book:e.props.bookData.book,headerText:"Vorfreude! So freuen sich unsere Leser*innen auf das Buch"})})),(0,c.Z)(e,"renderBookList",(function(e){var o=e.bookList,t=e.headerText,n=e.subHeaderLink,r=void 0===n?null:n,i=e.maxItemSize,a=void 0===i?4:i,s=e.className,l=void 0===s?"":s;return(0,S.jsx)("div",{className:"seperator",children:(0,S.jsx)(Be.Z,{header:(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)("h3",{children:t}),r&&(0,S.jsx)("div",{className:"subLine-link",children:r})]}),list:o,maxItemSize:a,showRating:!0,bookCoverBoxClassName:l})})})),(0,c.Z)(e,"renderThreadStream",(function(){var o,t=e.props.threadListId,n=e.props.threads;return(0,S.jsx)(ke.FR,{listId:t,id:e.props.bookData.book.id,titleId:e.props.bookData.book.titleId,bookTitle:e.props.bookData.book.title,authorName:e.props.bookData.book.author.name,threads:n.data,config:xe.Z,isLoading:n.meta.isFetching,headerTitle:"Gespräche aus der Community zum Buch",secondAuthorName:null===(o=e.props.bookData.book.secondAuthor)||void 0===o?void 0:o.name,mediumType:e.props.bookData.book.mediumType})})),(0,c.Z)(e,"renderPressInfo",(function(){return(0,S.jsx)("div",{className:"seperator",children:(0,S.jsxs)(P.ZP,{header:"Weitere Informationen zum Buch",expandable:!1,className:"press-info -highlighted",children:[(0,S.jsx)("h3",{children:"Pressestimmen"}),(0,S.jsx)(ge.Z,{list:e.props.pressInfo.data,buttonLabel:"Weitere Pressestimmen laden",onLoadMore:function(){return e.props.loadMore("pressinfo")},renderItem:function(e){return(0,S.jsx)("p",{dangerouslySetInnerHTML:{__html:e.text}}
1,e.id)}})]})})})),e}return(0,l.Z)(o,e),(0,i.Z)(o,[{key:"render",value:function(){var e=this.props,o=e.bookData,t=e.authState,n=e.seriesItems,r=e.tags,i=e.booksByAuthor,a=e.bookLists,s=e.videos,l=e.threads,c=e.pressInfo,d=e.isEditAllowed,u=e.history,h=g.H[o.book.genre],b="Stöbern in ".concat(h.namePlural),p=(0,S.jsxs)(A.ZP,{to:(0,E.D7)(o.book.genre),children:[" ","Weitere ",h.namePlural]}),m=(0,ee.zn)(o.book.firstEditionPublicationDate,6,"month");return(0,S.jsxs)(ve.Z,{className:"BookPage",children:[t.isAuthenticated?(0,S.jsx)(Ne,{titleId:o.book.titleId}):(0,S.jsx)(Re.ZP,{book:o.book}),(0,S.jsx)(B,{domId:"h5v_header",refreshAdSlot:!1}),d&&(0,S.jsx)(ze,{children:(0,S.jsxs)(A.vm,{onClick:function(){var e=(0,E.Ic)(o.book);u.push(e)},children:["bearbeiten",(0,S.jsx)(Ze.Z,{icon:"pen"})]})}),this.renderBookStage(),(0,S.jsx)("div",{className:"seperator",children:(0,S.jsx)(j.Z,{domId:"LB_Bestseller_Buch_dfp"})}),(0,S.jsxs)("div",{className:"wrapper",children:[(0,S.jsxs)("div",{className:"column -left",children:[(0,S.jsxs)(Te,{className:"seperator",children:[(0,S.jsx)(Y,{bookData:this.props.bookData}),(0,S.jsx)(ae,{book:this.props.bookData.book})]}),0===o.book.numberOfRatings&&m&&this.renderShouts(),s.length>0&&(0,S.jsx)("div",{className:"seperator",children:(0,S.jsx)(fe.Z,{videos:s,title:"Videos zum Buch"})}),(0,S.jsx)("span",{id:"startReview"}),l&&(0,S.jsx)(De,{bookId:o.book.id,threads:l,showReviews:this.state.showReviews,setShowReviews:this.setShowReviews}),this.state.showReviews?this.renderReviewStream():l&&this.renderThreadStream(),this.renderBookList({bookList:this.props.relatedBooks,headerText:"Ãhnliche Bücher für noch mehr Lesestunden",className:"gtm-aehnlich"}),c.data.content.length>0&&this.renderPressInfo(),this.renderBookList({bookList:this.props.genreRecommendations,headerText:b,subHeaderLink:p,className:"gtm-stoebern"}),o.book.numberOfRatings>0&&m&&this.renderShouts()]}),(0,S.jsx)("div",{className:"column -right",children:(0,S.jsx)(me,{bookData:o,seriesItems:n,authState:t,tags:r,booksByAuthor:i,bookLists:a})})]})]})}}])}(y.Component);var Fe=t(99526),He=t(74089),Ve=t(82738),We=t(19119);function Ke(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function Ue(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?Ke(Object(t),!0).forEach((function(o){(0,c.Z)(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ke(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}var Ye=function(e,o,t){return t},Qe=function(){var e=(0,f.o$)();return(0,We.P1)([e,Ye],(function(e,o){if(e&&e.data&&e.data.content)return Ue(Ue({},e),{},{data:Ue(Ue({},e.data),{},{content:e.data.content.filter((function(e){return e.book.id!==o}))})})}))},Ge=t(16428);function Je(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function $e(e,o,t){return o=(0,s.Z)(o),(0,a.Z)(e,qe()?Reflect.construct(o,t||[],(0,s.Z)(e).constructor):o.apply(e,t))}function qe(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(qe=function(){return!!e})()}var Xe=function(e){function o(){var e;(0,r.Z)(this,o);for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return e=$e(this,o,[].concat(n)),(0,c.Z)(e,"handleLoadMore",(function(o){var t=e.props,n=t.bookData,r=t.storeActions,i=t.authorSlug,a=n.book.id;switch(o){case"authorBooks":return r.loadAuthorBooks({listId:"author:books:".concat(i),authorId:n.book.author.id,titleVolumeIdToExclude:n.bookSeries?n.bookSeries.id:void 0,nextPage:!0});case"relatedBooks":return r.loadRelatedBooks({listId:"book:related:".concat(a),bookId:a,nextPage:!0});case"recommendations":return r.loadGenreRecommendations({listId:"book:recommended:".concat(n.book.genre),genreSlug:n.book.genre,nextPage:!0});case"shortQuotes":return r.loadShortQuotes({listId:"book:shortQuotes:".concat(n.book.id),bookId:a,nextPage:!0});
1case"videos":return r.loadBookVideos({listId:"book:videos:".concat(n.book.id),bookId:a,nextPage:!0});case"pressinfo":return r.loadPressInformation({listId:"book:pressinfo:".concat(n.book.id),bookId:a,nextPage:!0});default:throw new Error("UNKNOWN LIST NAME")}})),(0,c.Z)(e,"handleRatingSelection",(function(o){var t=e.props,n=t.storeActions,r=t.bookData,i=t.filterValue;n.setFilter({name:"BookDetailPage:".concat(r.book.id),value:{sortBy:i.sortBy,rating:o}})})),(0,c.Z)(e,"isEditAllowed",(function(){return!(!e.props.authState.user||null==e.props.authState.user.author.id)&&(e.props.authState.user.author.id===e.props.bookData.book.author.id||e.props.bookData.book.secondAuthor&&e.props.authState.user.author.id===e.props.bookData.book.secondAuthor.id)})),e}return(0,l.Z)(o,e),(0,i.Z)(o,[{key:"componentDidMount",value:(t=(0,n.Z)(u().mark((function e(){var o;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.openShortQuoteDialogIfParamSet(),o=no(this.props.dispatch,this.props.bookData,this.props.authorSlug),e.next=4,Ge.all(o);case 4:(0,He.dG)({event:"Aehnliche",count:this.props.relatedBooks.data.content.length}),(0,He.dG)({event:"Stoebern",count:this.props.genreRecommendations.data.content.length});case 6:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"openShortQuoteDialogIfParamSet",value:function(){var e=this.props.history,o=new RegExp("\\?".concat("editReview","=([0-9]+)")),t=e.location.search.match(o);if(t&&t.length>1){var n=t[1];this.props.storeActions.addShortQuoteWithDialogForTitleId(n)}}},{key:"render",value:function(){return(0,S.jsx)(Me,function(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?Je(Object(t),!0).forEach((function(o){(0,c.Z)(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Je(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}({loadMore:this.handleLoadMore,onRatingSelected:this.handleRatingSelection,isEditAllowed:this.isEditAllowed()},this.props))}}]);var t}(Fe.Z);Xe.fetchData=function(e){return e.fullRender?oo(e):eo(e)};var eo=function(e){var o=e.match,t=e.dispatch,n=o.params.bookSlug;return t(p.showStickyAds()),t(p.showWallpaperAds()),t(p.loadBookDetailsBySlug({bookSlug:n})).then((function(e){return to(e,t)}))},oo=function(e){var o=e.match,t=e.dispatch,n=o.params,r=n.bookSlug,i=n.authorSlug;return t(p.showStickyAds()),t(p.showWallpaperAds()),t(p.loadBookDetailsBySlug({bookSlug:r})).then((function(e){to(e,t);var o=e.bookData,n=no(t,o,i);return Ge.all(n)}))},to=function(e,o){if("LOAD_BOOK_DETAILS_FAILURE"!==e.type){var t=e.bookData,n=t.book,r=n.author,i=n.isbn,a=n.averageRating,s=n.summary,l=t.book.genre,c=r.name?" von ".concat(r.name):"",d=t.book.cover.url;o(p.setMetaData({title:"".concat((0,Ve.f)(t.book)).concat(c," bei LovelyBooks (").concat(g.H[l].name,")"),meta:{robots:t.robots?t.robots:"index,follow",description:null!=s?s:"","og:image":d,"og:type":"books.book","books:isbn":i,"books:author":(0,E.TT)((0,E.xO)(r.name)),"books:rating:value":a,"books:rating:scale":5},options:{defaultCanonical:!0}})),o(p.setHeaderState({genreSlugHeader:l}));var u=[(0,x.J7)(t,r)];o(p.setSchema(u))}},no=function(e,o,t){var n=o.book.id,r=[e(p.loadTitles({bookId:n})),e(p.loadReviewStreamForBook({listId:"book:reviewStream:".concat(n),bookId:n})),e(p.loadShouts({listId:"book:shouts:".concat(n),bookId:n})),e(p.loadLatestLottery(n)),e(p.loadRelatedBooks({listId:"book:related:".concat(n),bookId:n,size:4})),e(p.loadBookListsByBook({listId:"book:booklist:".concat(n),bookId:n})),e(p.loadGenreRecommendations({listId:"book:recommended:".concat(o.book.genre),genreSlug:o.book.genre,size:4})),e(p.loadBookVideos({listId:"book:videos:".concat(n),bookId:n})),e(p.loadPressInformation({listId:"book:pressinfo:".concat(n),bookId:n})),e(p.loadTagCloudByBook({staticListId:"book:tags:".concat(n),bookId:n})),e(p.loadReaderPrizeBookLink({bookId:n}))];return o&&r.push(e(p.loadBookStats(n))),o.bookSeries&&r.push(e(p.loadBookSeriesItems({listId:"book:series:".concat(o.bookSeries.id),bookSeriesId:o.bookSeries.id}))),o.book.author&&o.book.author.id&&r.push(e(p.loadAuthorBooksSmall({listId:"author:books:".concat(t),authorId:o.book.author.id,titleVolumeIdToExclude:o.bookSeries?o.bookSeries.id:void 0,workIdToExclude:o.book.id}))),r},ro=Qe(),io=Qe(),ao=Qe();const so=(0,h.$j)((function(e,o){var t=o.match.params,n=t.bookSlug,r=t.authorSlug,i=(0,E.cJ)(n),a=(0,k.P)(e,i),s="BookDetailPage:".concat(i),l=a&&a.bookSeries?m.pb(e.lists,"book:series:".concat(a.bookSeries.id)):null,c=a&&a.book.author?ro(e,"author:books:".concat(r),i):null,d=a?io(e,"book:recommended:".concat(a.book.genre),i):null,u=a?ao(e,"book:related:".concat(i),i):null,h=m.hX(e.filters,s),b="book:thread:".concat(i);return{bookSlug:n,authorSlug:r,authState:e.authState,bookData:a,latestLottery:e.lotteries.latest[i],seriesItems:l,booksByAuthor:c,relatedBooks:u,bookLists:m.jd(e.lists,"book:booklist:".concat(i)),tags:m.P0(e.staticLists,"book:tags:".concat(i)),videos:m.jd(e.lists,"book:videos:".concat(i)),pressInfo:m.pb(e.lists,"book:pressinfo:".concat(i)),genreRecommendations:d,filterValue:h,threads:(0,f.DC)(e,b),threadListId:b}}),(function(e){return{storeActions:(0,b.DE)(p,e),dispatch:e}}))(Xe)},82738:(e,o,t)=>{t.d(o,{f:()=>n}),t(34338);var n=function(e){var o=e.title,t=e.subtitle;return t?"".concat(o,": ").concat(t):o}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.