1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},r=(new e.Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="6cf00588-c032-4d7c-ade0-1f20d89a35e3",e._sentryDebugIdIdentifier="sentry-dbid-6cf00588-c032-4d7c-ade0-1f20d89a35e3")}catch(e){}try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},r=(new e.Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="6cf00588-c032-4d7c-ade0-1f20d89a35e3",e._sentryDebugIdIdentifier="sentry-dbid-6cf00588-c032-4d7c-ade0-1f20d89a35e3")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5929],{61568:function(e,r,n){"use strict";n.d(r,{Fh:function(){return x},iB:function(){return g},vv:function(){return k}});var t,i=n(59499),o=n(94184),u=n.n(o),s=n(11752),a=n.n(s),c=n(25675),l=n.n(c),d=n(67294),f=n(42467),v=n(89637),p=n(60312),_={small:{width:42,he
1ight:60},medium:{width:85,height:120},large:{width:113,height:160},extraLarge:{width:190,height:270},smallAudio:{width:42,height:42},betweenSmallAndMediumAudio:{width:60,height:60},mediumAudio:{width:85,height:85},largeAudio:{width:113,height:113},extraLargeAudio:{width:190,height:190},extraSmall:{width:24,height:36}},m=n(37371),h=n.n(m),w=n(85893),g=((t={}).small="small",t.medium="medium",t.large="large",t.extraLarge="extraLarge",t.smallAudio="smallAudio",t.betweenSmallAndMediumAudio="betweenSmallAndMediumAudio",t.mediumAudio="mediumAudio",t.largeAudio="largeAudio",t.extraLargeAudio="extraLargeAudio",t.extraSmall="extraSmall",t),y=function(e){if(!e)return null;var r=e.trim();return r?/^https?:\/\//i.test(r)?r.replace(/\/$/,""):"https://".concat(r.replace(/^\/+/,"")):null},C=function(){var e=(a()()||{}).publicRuntimeConfig;return y(null==e?void 0:e.host)||(window.location.origin?window.location.origin:"https://selfpub.dev")},k=function(e){if(!e)return e;if(/^(https?:)?\/\//i.test(e)||e.startsWith("blob:")||e.startsWith("data:"))return e.startsWith("//")?"https:".concat(e):e;var r=C();try{return new URL(e,r).toString()}catch(r){return e}},x=function(e){var r=e.pictureFile,n=void 0===r?null:r,t=e.pathToPicture,o=e.bookName,s=e.className,a=e.classNameImg,c=e.size,m=void 0===c?"medium":c,g=e.ageRating,y=e.censored,C=e.onClick,x=e.pathToFullSize,b=e.isLink,R=void 0===b||b,A=e.isLoading,N=e.forceShowIllustration,j=void 0!==N&&N,I=e.dataTestId,W=o.slice(0,1).toLocaleUpperCase(),E=_[m].width/3.6,L=_[m].height/11.25,B=_[m].width/7.5,T=(0,d.useMemo)(function(){return!!y&&!!j||!!(y&&!t)},[y,t,j]),D=(0,d.useMemo)(function(){return(!!g||!!y)&&!!j||!!((g||y)&&!t)},[y,t,j,g]);return(0,w.jsxs)("div",{className:u()("shadowLevel0",h().coverBlock,s,h()[m]),onClick:C,"data-testid":I,children:[void 0!==A&&A&&(0,w.jsx)("div",{className:h().loaderContainer,children:(0,w.jsx)(p.D,{})}),(0,w.jsxs)("div",{className:u()(h().illustrationWrapper,(0,i.Z)({},h().censored,g&&!y)),children:[T&&(0,w.jsx)(f.Q,{className:h().illustrationIcon,imageType:"censored",width:E,height:L}),D&&(0,w.jsx)(f.Q,{className:h().illustrationIcon,imageType:"ageRating",width:B,height:B})]}),function(){if(n){var e=URL.createObjectURL(n);return(0,w.jsx)(l(),{src:e,alt:o,width:_[m].width,height:_[m].height})}return t?(0,w.jsx)("a",{href:x||t,target:"_blank",rel:"noreferrer",className:u()(h().cover,h().coverImg,a,(0,i.Z)({},h().notLink,!R)),children:(0,w.jsx)(l(),{src:k(t),alt:o,width:_[m].width,height:_[m].height})}):(0,w.jsx)("div",{className:u()(h().cover,a,(0,i.Z)({},h()[m],m)),children:(0,w.jsx)(v.H1,{className:h().firstLetter,children:W})})}()]})}},35544:function(e,r,n){"use strict";n.r(r),n.d(r,{__N_SSP:function(){return I},default:function(){return W}});var t=n(89637),i=n(9970),o=n.n(i),u=n(85893),s=function(){return(0,u.jsxs)("div",{className:o().wrapper,children:[(0,u.jsx)("img",{src:"/components/NoReviewsContent/emptyReviews.png",alt:"emptyReviews",className:o().image}),(0,u.jsx)(t.H2,{className:o().title,children:"Ðока Ð½ÐµÑ Ð¾ÑзÑвов"}),(0,u.jsx)(t.u5,{className:o().description,children:"ÐпÑбликÑйÑе ÑÐ²Ð¾Ñ ÐºÐ½Ð¸Ð³Ñ Ð¸ оÑвеÑайÑе на оÑзÑÐ²Ñ ÐºÐ°Ðº авÑоÑ"})]})},a=n(59499),c=n(94184),l=n.n(c),d=function(e){switch(e){case"ebook":return"ТекÑÑ";case"draft":return"РпÑоÑеÑÑе";case"audiobook":return"ÐÑдио";default:return""}},f=n(3490),v=n(50184),p=n(4486),_=n(61568),m=n(34629),h=n.n(m),w=function(e){var r=e.items;return(0,u.jsx)("div",{children:r.map(function(e){var r,n="audiobook"===e.type,i="draft"===e.type;return(0,u.jsxs)(v.a,{href:n?"".concat(f.x.books.index).concat(e.book_id,"/comments/?audioId=").concat(e.audio_id):"".concat(f.x.books.index).concat(e.book_id,"/comments/"),className:h().wrapper,dataTestId:"reviewsArtCards__link",children:[(0,u.jsxs)("div",{className:h().artInfoWrapper,children:[(0,u.jsx)(_.Fh,{bookName:e.name,size:e.is_square_cover?_.iB.smallAudio:_.iB.small,pathToPicture:null===(r=e.cover)||void 0===r?void 0:r.ebook_image_url,isLink:!1,className:h().cover}),(0,u.jsxs)("div",{className:h().artInfo,children:[(0,u.jsx)(t.OE,{
1className:h().title,children:e.name}),(0,u.jsxs)("div",{className:h().typesWrapper,children:[(0,u.jsxs)("div",{className:h().labelWrapper,children:[(0,u.jsx)(p.J,{icon:n?"headphonesFilled":i?"editSmallOutline16x16":"ebookOutline",className:l()(h().iconLabelType,(0,a.Z)({},h().iconLabelEbook,!n&&!i))}),(0,u.jsx)(t.Yd,{className:h().labelType,children:d(e.type)})]}),(0,u.jsxs)("div",{className:h().ratingAndCountWrapper,children:[(0,u.jsxs)("div",{className:h().ratingWrapper,children:[(0,u.jsx)(p.J,{icon:"starFilled24x24",size:20,className:l()(h().ratingIcon,(0,a.Z)({},h().ratingIconActive,e.rating&&parseFloat(e.rating)>0))}),(0,u.jsx)(t.OE,{children:e.rating})]}),(0,u.jsxs)("div",{className:h().ratingReviewsCountWrapper,children:[(0,u.jsx)(p.J,{icon:"commentIcon",className:h().reviewsIconCount}),(0,u.jsx)(t.OE,{children:e.reviews_count})]})]})]})]})]}),(0,u.jsxs)("div",{className:h().reviewsWrapper,children:[(0,u.jsxs)("div",{className:h().reviewsCountWrapper,children:[(0,u.jsx)(p.J,{icon:"commentIcon",className:h().reviewsIconCount}),(0,u.jsx)(t.OE,{children:e.reviews_count})]}),(0,u.jsx)(p.J,{icon:"chevronRightOutline16x16",size:24,className:h().reviewsIcon})]})]},e.litres_art_id)})})},g=n(67294),y=n(14416),C=n(63602),k=n(63690),x=n(70689),b=n(98138),R=n(59558),A=n(52665),N=n.n(A),j=function(){var e=(0,y.v9)(x.yo),r=(0,y.v9)(b.gr),n=(0,y.v9)(b.q2),i=(0,R.oj)(e);return(0,g.useEffect)(function(){n.length>0&&(0,C.x2)({message:n[0].messages[0],options:{position:"top-center",autoClose:5e3,closeOnClick:!0}})},[n]),(0,u.jsxs)(k.T,{breadCrumbs:{name:"ÐеÑнÑÑÑÑÑ Ð² \xabÐои книги\xbb",link:i},className:N().pageWrapper,children:[(0,u.jsx)(t.H1,{className:N().title,children:"ÐÑзÑвÑ"}),r.length>0?(0,u.jsx)(w,{items:r}):(0,u.jsx)(s,{})]})},I=!0;function W(){return(0,u.jsx)(j,{})}},70689:function(e,r,n){"use strict";n.d(r,{$S:function(){return l},EQ:function(){return i},IH:function(){return a},W_:function(){return s},bk:function(){return o},eD:function(){return d},eO:function(){return c},k7:function(){return u},yo:function(){return f}});var t=n(68697),i=function(e){return e.myBooks.digitalBooks},o=function(e){return e.myBooks.audioBooks},u=function(e){return e.myBooks.directArts},s=function(e){return e.myBooks.podBooks},a=function(e){return e.myBooks.podcasts},c=function(e){return e.myBooks.myBookCount},l=function(e){return e.myBooks.myBooks},d=function(e){return e.myBooks.isFetching},f=(0,t.P1)([function(e){return e.myBooks.exist}],function(e){return{published:e.published,moderation:e.moderation,unpublished:e.unpublished}})},98138:function(e,r,n){"use strict";n.d(r,{Ce:function(){return x},EF:function(){return j},Fb:function(){return k},H1:function(){return m},Hd:function(){return a},IT:function(){return b},JR:function(){return p},Jc:function(){return I},Lo:function(){return _},ND:function(){return w},OT:function(){return c},PD:function(){return u},SD:function(){return l},SF:function(){return h},Tp:function(){return W},U4:function(){return s},WV:function(){return v},Y6:function(){return A},YH:function(){return o},_T:function(){return N},bT:function(){return f},e$:function(){return R},gr:function(){return g},hC:function(){return C},hU:function(){return i},q2:function(){return y},sC:function(){return d},sO:function(){return t}});var t=function(e){return e.reviews.artReviews},i=function(e){return e.reviews.artReview},o=function(e){return e.reviews.artReviewsPagination},u=function(e){return e.reviews.deleteReview},s=function(e){return e.reviews.deleteReviewErrors},a=function(e){return e.reviews.createReview},c=function(e){return e.reviews.createReviewErrors},l=function(e){return e.reviews.sendCommentReplyErrors},d=function(e){return e.reviews.reviewSetPin},f=function(e){return e.reviews.reviewSetPinErrors},v=function(e){return e.reviews.reviewRemovePin},p=function(e){return e.reviews.reviewRemovePinErrors},_=function(e){return e.reviews.editReview},m=function(e){return e.reviews.editReviewErrors},h=function(e){return e.reviews.isFetching},w=function(e){return e.reviews.reviewsEmployees},g=function(e){return e.reviews.arts},y=function(e){return e.reviews.artsErrors},C=function(e){return e.reviews.setLikeErrors},k=function(e){return e.reviews.removeLikeErrors},x=function(e){return e.reviews.setDislikeErrors},b=function(e){return e.reviews.removeDislikeErrors},R=function(e){return e.reviews.chapterReviews},A=function(e){return e.reviews.chapterReviewsPagination},N=function(e){return e.reviews.reviewsWithChapters},j=function(e){return e.reviews.reviewsWithChaptersPagination},I=function(e){return e.reviews.createChapterReview},W=function(e){return e.reviews.createChapterReviewErrors}},29433:function(e,r,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/reviews",function(){return n(35544)}])},37371:function(e){e.exports={coverBlock:"BookCover_coverBlock__uzymg",cover:"BookCover_cover__Lo3iT",coverImg:"BookCover_coverImg__1XJDF",illustrationIcon:"BookCover_illustrationIcon__ZvfhP",illustrationWrapper:"BookCover_illustrationWrapper__tN0Dv",censored:"BookCover_censored__SFHOV",firstLetter:"BookCover_firstLetter__XSqbs",small:"BookCover_small__hRdGW",medium:"BookCover_medium__LT9rU",large:"BookCover_large__O4sUM",extraLarge:"BookCover_extraLarge__7qogP",mediumAudio:"BookCover_mediumAudio__Em4_F",largeAudio:"BookCover_largeAudio__LhzZ8",extraLargeAudio:"BookCover_extraLargeAudio__11dtW",notLink:"BookCover_notLink__9wLEC",loaderContainer:"BookCover_loaderContainer__p1YUn"}},9970:function(e){e.exports={wrapper:"NoReviewsContent_wrapper__fnCwH",image:"NoReviewsContent_image__Ox2DB",description:"NoReviewsContent_description__AJBkW"}},34629:function(e){e.exports={wrapper:"ReviewsArtCards_wrapper__pDnLR",artInfoWrapper:"ReviewsArtCards_artInfoWrapper__gbsIo",cover:"ReviewsArtCards_cover__Alesj",artInfo:"ReviewsArtCards_artInfo__scKWi",title:"ReviewsArtCards_title__WxXcC",typesWrapper:"ReviewsArtCards_typesWrapper__7paN7",labelWrapper:"ReviewsArtCards_labelWrapper__5crol",iconLabelType:"ReviewsArtCards_iconLabelType__g2VRe",iconLabelEbook:"ReviewsArtCards_iconLabelEbook__6SRQt",labelType:"ReviewsArtCards_labelType__yqlWr",ratingAndCountWrapper:"ReviewsArtCards_ratingAndCountWrapper__NkKZ9",ratingWrapper:"ReviewsArtCards_ratingWrapper__Rt06x",ratingIcon:"ReviewsArtCards_ratingIcon__Gfgy9",ratingIconActive:"ReviewsArtCards_ratingIconActive__aJotL",reviewsWrapper:"ReviewsArtCards_reviewsWrapper__Qlr_Q",reviewsCountWrapper:"ReviewsArtCards_reviewsCountWrapper__01u6h",ratingReviewsCountWrapper:"ReviewsArtCards_ratingReviewsCountWrapper__uiIqW",reviewsIconCount:"ReviewsArtCards_reviewsIconCount__oEgUv",reviewsIcon:"ReviewsArtCards_reviewsIcon__fmyU_"}},52665:function(e){e.exports={pageWrapper:"MainReviewsPage_pageWrapper__DLBdb",title:"MainReviewsPage_title__XHLtP"}},68697:function(e,r,n){"use strict";n.d(r,{P1:function(){return o}});var t="NOT_FOUND",i=function(e,r){return e===r},o=function(e){for(var r=arguments.length,n=Array(r>1?r-1:0),t=1;t<r;t++)n[t-1]=arguments[t];return function(){for(var r,t=arguments.length,i=Array(t),o=0;o<t;o++)i[o]=arguments[o];var u=0,s={memoizeOptions:void 0},a=i.pop();if("object"==typeof a&&(s=a,a=i.pop()),"function"!=typeof a)throw Error("createSelector expects an output function after the inputs, but received: ["+typeof a+"]");var c=s.memoizeOptions,l=void 0===c?n:c,d=Array.isArray(l)?l:[l],f=function(e){var r=Array.isArray(e[0])?e[0]:e;if(!r.every(function(e){return"function"==typeof e}))throw Error("createSelector expects all input-selectors to be functions, but received the following types: ["+r.map(function(e){return"function"==typeof e?"function "+(e.name||"unnamed")+"()":typeof e}).join(", ")+"]");return r}(i),v=e.apply(void 0,[function(){return u++,a.apply(null,arguments)}].concat(d)),p=e(function(){for(var e=[],n=f.length,t=0;t<n;t++)e.push(f[t].apply(null,arguments));return r=v.apply(null,e)});
1return Object.assign(p,{resultFunc:a,memoizedResultFunc:v,dependencies:f,lastResult:function(){return r},recomputations:function(){return u},resetRecomputations:function(){return u=0}}),p}}(function(e,r){var n,o,u="object"==typeof r?r:{equalityCheck:r},s=u.equalityCheck,a=u.maxSize,c=void 0===a?1:a,l=u.resultEqualityCheck,d=(n=void 0===s?i:s,function(e,r){if(null===e||null===r||e.length!==r.length)return!1;for(var t=e.length,i=0;i<t;i++)if(!n(e[i],r[i]))return!1;return!0}),f=1===c?{get:function(e){return o&&d(o.key,e)?o.value:t},put:function(e,r){o={key:e,value:r}},getEntries:function(){return o?[o]:[]},clear:function(){o=void 0}}:function(e,r){var n=[];function i(e){var i=n.findIndex(function(n){return r(e,n.key)});if(i>-1){var o=n[i];return i>0&&(n.splice(i,1),n.unshift(o)),o.value}return t}return{get:i,put:function(r,o){i(r)===t&&(n.unshift({key:r,value:o}),n.length>e&&n.pop())},getEntries:function(){return n},clear:function(){n=[]}}}(c,d);function v(){var r=f.get(arguments);if(r===t){if(r=e.apply(null,arguments),l){var n=f.getEntries().find(function(e){return l(e.value,r)});n&&(r=n.value)}f.put(arguments,r)}return r}return v.clearCache=function(){return f.clear()},v})},19302:function(e,r,n){"use strict";n.d(r,{Z:function(){return i}});var t=n(67294);function i(e,r,n){var i=this,o=(0,t.useRef)(null),u=(0,t.useRef)(0),s=(0,t.useRef)(null),a=(0,t.useRef)([]),c=(0,t.useRef)(),l=(0,t.useRef)(),d=(0,t.useRef)(e),f=(0,t.useRef)(!0);d.current=e;var v=!r&&0!==r&&"undefined"!=typeof window;if("function"!=typeof e)throw TypeError("Expected a function");r=+r||0;var p=!!(n=n||{}).leading,_=!("trailing"in n)||!!n.trailing,m="maxWait"in n,h=m?Math.max(+n.maxWait||0,r):null;return(0,t.useEffect)(function(){return f.current=!0,function(){f.current=!1}},[]),(0,t.useMemo)(function(){var e=function(e){var r=a.current,n=c.current;return a.current=c.current=null,u.current=e,l.current=d.current.apply(n,r)},n=function(e,r){v&&cancelAnimationFrame(s.current),s.current=v?requestAnimationFrame(e):setTimeout(e,r)},t=function(e){if(!f.current)return!1;var n=e-o.current,t=e-u.current;return!o.current||n>=r||n<0||m&&t>=h},w=function(r){return(s.current=null,_&&a.current)?e(r):(a.current=c.current=null,l.current)},g=function(){var e=Date.now();if(t(e))return w(e);if(f.current){var i=e-o.current,s=e-u.current,a=r-i;n(g,m?Math.min(a,h-s):a)}},y=function(){for(var d=[],v=0;v<arguments.length;v++)d[v]=arguments[v];var _=Date.now(),h=t(_);if(a.current=d,c.current=i,o.current=_,h){if(!s.current&&f.current)return u.current=o.current,n(g,r),p?e(o.current):l.current;if(m)return n(g,r),e(o.current)}return s.current||n(g,r),l.current};return y.cancel=function(){s.current&&(v?cancelAnimationFrame(s.current):clearTimeout(s.current)),u.current=0,a.current=o.current=c.current=s.current=null},y.isPending=function(){return!!s.current},y.flush=function(){return s.current?w(Date.now()):l.current},y},[p,m,r,h,_,v])}}},function(e){e.O(0,[5929],function(){e.E(2052)},5),e.O(0,[5675,9593,2238,540,9081,2519,8410,3189,2675,7853,5579,5115,878,2888,9774,179],function(){return e(e.s=29433)}),_N_E=e.O()}]); 2//# sourceMappingURL=reviews-a795bb3e70ca1f1f.js.map
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.