PageSourceSearch

https://selfpub.ru/_next/static/chunks/5115-616954bf70fd6752.js

js selfpub.ru collected 2026-10-03 23:27:16 UTC 26,780 bytes, 2 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="be9927b8-c731-4ede-8628-f1c1c32200d3",e._sentryDebugIdIdentifier="sentry-dbid-be9927b8-c731-4ede-8628-f1c1c32200d3")}catch(e){}try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="be9927b8-c731-4ede-8628-f1c1c32200d3",e._sentryDebugIdIdentifier="sentry-dbid-be9927b8-c731-4ede-8628-f1c1c32200d3")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5115],{20732:function(e,t,n){"use strict";var r,o=n(67294);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}t.Z=function(e){return o.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"},e),r||(r=o.createElement("path",{fill:"currentColor",d:"M13.3.71a.996.996 0 00-1.41 0L7 5.59 2.11.7A.996.996 0 10.7 2.11L5.59 7 .7 11.89a.996.996 0 101.41 1.41L7 8.41l4.89 4.89a.996.996 0 101.41-1.41L8.41 7l4.89-4.89c.38-.38.38-1.02 0-1.4z"})))}},38739:function(e,t,n){"use strict";n.d(t,{b:function(){return h},o:function(){return p}});var r,o=n(59499),i=n(94184),s=n.n(i),a=n(67294),l=n(48817),c=n.n(l),u=n(4486),d=n(89637),f=n(35407),m=n(85893),p=((r={}).success="success",r.info="info",r.warning="warning",r.error="error",r),g={info:"infoOutline24x24",error:"errorOutline24x24",success:"checkCircleOutline24x24"},h=function(e){var t,n,r=e.type,i=void 0===r?p.info:r,l=e.size,h=void 0===l?"medium":l,_=e.isWrapper,b=e.isClosed,x=e.className,y=e.title,v=e.textInformation,j=e.buttonText,k=e.buttonDataTestId,N=e.onButtonClick,O=e.dataTestId,w=(0,a.useState)(!0),A=w[0],C=w[1],P=null!=O?O:"alert--".concat(i),F=s()(c().alertIcon,(t={},(0,o.Z)(t,c().small,"small"===h),(0,o.Z)(t,c().info,i===p.info),(0,o.Z)(t,c().error,i===p.error),(0,o.Z)(t,c().success,i===p.success),t));return _?A?(0,m.jsxs)("div",{className:s()(c().alert,x,(n={},(0,o.Z)(n,c().small,"small"===h),(0,o.Z)(n,c().info,i===p.info),(0,o.Z)(n,c().error,i===p.error),(0,o.Z)(n,c().success,i===p.success),n)),"data-testid":P,children:[(0,m.jsxs)("div",{className:c().alertIconAndTextBlock,children:[(0,m.jsx)("div",{className:c().roundAlertIcon,children:(0,m.jsx)(u.J,{size:24,icon:g[i],className:F})}),"medium"===h&&(0,m.jsxs)("div",{children:[y&&(0,m.jsx)(d.mj,{className:c().title,children:y}),(0,m.jsx)(d.iO,{className:c().textInformationBlock,children:v})]}),"small"===h&&(0,m.jsxs)("div",{children:[y&&(0,m.jsx)(d.mj,{className:c().title,children:y}),(0,m.jsx)(d.YS,{className:c().textInformationBlock,children:v})]})]}),j&&(0,m.jsx)(f.z,{look:"tertiary",size:"small",onClick:N,className:c().button,dataTestId:null!=k?k:"alert__button",children:j}),b&&(0,m.jsx)("button",{type:"button",className:c().closeIcon,onClick:function(){C(!1)},"data-testid":"alertCloseButton",children:(0,m.jsx)(u.J,{icon:"closeOutline24x24",size:24})})]}):null:(0,m.jsxs)("div",{className:s()(c().alertIconAndTextBlock,x),"data-testid":P,children:[(0,m.jsx)("div",{className:c().roundAlertIcon,children:(0,m.jsx)(u.J,{size:24,icon:g[i],className:F})}),"medium"===h&&(0,m.jsxs)("div",{children:[y&&(0,m.jsx)(d.mj,{className:c().title,children:y}),(0,m.jsx)(d.iO,{className:c().textInformationBlock,children:v})]}),"small"===h&&(0,m.jsxs)("div",{children:[y&&(0,m.jsx)(d.mj,{className:c().title,children:y}),(0,m.jsx)(d.YS,{className:c().textInformationBlock,children:v})]})]})}},34440:function(e,t,n){"use strict";n.d(t,{hz:function(){return w},mz:function(){return A},r6:function(){return O},uE:function(){return C},u_:function(){return N}});var r=n(59499),o=n(4730),i=n(94184),s=n.n(i),a=n(26585),l=n(83253),c=n.n(l),u=n(61976),d=n(89637),f=n(20732),m=n(15248),p=n.n(m),g=n(85893),h=["className","headerClassName","overlayClassName","children","style","title","width","height","isOpen","onRequestClose","shouldCloseOnEsc","shouldCloseOnOverlayClick","focusLockUIClassName","contentClassName"],_=["children","className"],b=["children","className"],x=["children","className","caption"],y=["children","className"];function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function j(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?v(Object(n),!0).forEach(function(t){(0,r.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}c().setAppElement("body");var k=(0,u.C)(function(){return n.e(2052).then(n.bind(n,52052))}),N=function(e){var t=e.className,n=e.headerClassName,r=e.overlayClassName,i=e.children,l=e.style,u=e.title,d=e.width,m=e.height,_=e.isOpen,b=e.onRequestClose,x=e.shouldCloseOnEsc,y=e.shouldCloseOnOverlayClick,v=e.focusLockUIClassName,N=e.contentClassName,A=(0,o.Z)(e,h),C={};return d&&(C["--modal-width"]=d),m&&(C["--modal-height"]=m),(0,g.jsx)(c(),j(j({isOpen:_,onRequestClose:b,portalClassName:p().root,overlayClassName:s()(p().overlay,r),shouldCloseOnOverlayClick:y,shouldCloseOnEsc:x,className:s()(p().modal,"shadowLevel2",t),style:{overlay:j({},null==l?void 0:l.overlay),content:j(j({},C),null==l?void 0:l.content)}},A),{},{children:(0,g.jsxs)(a.ZP,{sideCar:k,className:s()("modalWrapper",v),lockProps:{tabIndex:-1},children:[b&&(0,g.jsx)("button",{type:"button",className:p().closeButton,onClick:b,"aria-label":"Закрыть модальное окно","data-testid":"modal__button--close",children:(0,g.jsx)(f.Z,{width:"15px",height:"15px","aria-hidden":"true"})}),u&&(0,g.jsx)(O,{className:n,children:u}),(0,g.jsx)(w,{className:N,"data-testid":"modal__content",children:i})]})}))},O=function(e){var t=e.children,n=e.className,r=(0,o.Z)(e,_);return(0,g.jsx)("header",j(j({className:s()(p().header,n),"aria-labelledby":"modal-title","data-testid":"modal__header"},r),{},{children:(0,g.jsx)(d.QE,{Tag:"h2",className:p().headerTitle,id:"modal-title",children:t})}))},w=function(e){var t=e.children,n=e.className,r=(0,o.Z)(e,b);return(0,g.jsx)("section",j(j({className:s()(p().content,n)},r),{},{children:t}))},A=function(e){var t=e.children,n=e.className,r=e.caption,i=(0,o.Z)(e,x);return(0,g.jsxs)("footer",j(j({className:s()(p().footer,n)},i),{},{children:[r&&(0,g.jsx)(d.YS,{className:p().footerCaption,children:r}),(0,g.jsx)("div",{className:p().actionWrapper,children:t})]}))},C=function(e){var t=e.children,n=e.className,r=(0,o.Z)(e,y);return(0,g.jsx)("div",j(j({className:s()(p().contentWrapper,n)},r),{},{children:t}))}},53418:function(e,t,n){"use strict";n.d(t,{u_:function(){return f.u_},hz:function(){return f.hz},uE:function(){return f.uE},mz:function(){return f.mz},r6:function(){return f.r6},dd:function(){return d}});var r=n(59499),o=n(4730),i=n(14416),s=n(90976),a=n(64910),l=["type","onClose","onShow"];function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach(function(t){(0,r.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var d=function(e){var t=(0,i.I0)(),n=(0,i.v9)(s.HV),r=(0,i.v9)(s.Yn),c=(0,i.v9)(s.t2),d=e.type,f=e.onClose,m=e.onShow,p=(0,o.Z)(e,l),g=function(){t((0,a.Mr)()),f&&f()},h=u(u({},p),{},{isOpen:n&&r===d,onRequestClose:g,modalFields:c});return{isVisible:n&&r===d,show:function(){t((0,a.h7)(d)),m&&m()},close:g,modalProps:h}},f=n(34440)},89074:function(e,t,n){"use strict";n.d(t,{x:function(){return l}});var r=n(4730),o=n(56362),i=n.n(o),s=n(85893),a=["dataTestId"],l=function(e){var t=e.dataTestId,n=(0,r.Z)(e,a);return(0,s.jsxs)("div",{className:i().container,"data-testid":void 0===t?"bookLoader--container":t,children:[(0,s.jsx)("div",{className:i().iconContainer,children:(0,s.jsxs)("svg",{width:"52px",height:"54px",viewBox:"0 0 52 54",version:"1.1",children:[(0,s.jsx)("rect",{fill:"#FF4C00",x:"0",y:"15",width:"52",height:"39"}),(0,s.jsx)("rect",{fill:"#CF3E00",opacity:"0.900000036",x:"3",y:"51",width:"46",height:"3"}),(0,s.jsx)("polygon",{fill:"#C7C6C1",points:"26 13 49.5735685 12.2915037 49.5735685 51.2915037 26 52"}),(0,s.jsxs)("polygon",{fill:"#C7C6C1",points:"26 13 49.5735685 12.2915037 49.5735685 51.2915037 26 52",children:[(0,s.jsx)("animate",{begin:"0s",fill:"freeze",attributeName:"points",dur:"300ms",repeatCount:"indef
1inite",to:"26 13 44.372231 3.8589904 44.372231 42.8589904 26 52"}),(0,s.jsx)("animate",{begin:"0s",fill:"freeze",attributeName:"fill",dur:"300ms",repeatCount:"indefinite",to:"#D9D8D2"})]}),(0,s.jsxs)("polygon",{fill:"#D9D8D2",points:"26 13 44.372231 3.8589904 44.372231 42.8589904 26 52",children:[(0,s.jsx)("animate",{begin:"0s",fill:"freeze",attributeName:"points",dur:"300ms",repeatCount:"indefinite",to:"26 13 36.3883757 0.178966842 36.3883757 39.1789668 26 52"}),(0,s.jsx)("animate",{begin:"0s",fill:"freeze",attributeName:"fill",dur:"300ms",repeatCount:"indefinite",to:"#EDECE6"})]}),(0,s.jsxs)("polygon",{fill:"#EDECE6",points:"26 13 36.3883757 0.178966842 36.3883757 39.1789668 26 52",children:[(0,s.jsx)("animate",{begin:"0s",fill:"freeze",attributeName:"points",dur:"300ms",repeatCount:"indefinite",to:"26 13 30.3765696 0.292749915 30.3765696 39.2927499 26 52"}),(0,s.jsx)("animate",{begin:"0s",fill:"freeze",attributeName:"fill",dur:"300ms",repeatCount:"indefinite",to:"#F2F1EB"})]}),(0,s.jsxs)("polygon",{fill:"#F2F1EB",points:"26 13 30.3765696 0.292749915 30.3765696 39.2927499 26 52",children:[(0,s.jsx)("animate",{begin:"0s",fill:"freeze",attributeName:"points",dur:"300ms",repeatCount:"indefinite",to:"26 15 26 0.960355416 26 41.1230808 26 54"}),(0,s.jsx)("animate",{begin:"0s",fill:"freeze",attributeName:"fill",dur:"300ms",repeatCount:"indefinite",to:"#F2F1EB"})]}),(0,s.jsx)("polygon",{id:"Rectangle-2",fill:"#C7C6C1",points:"26 13 26 52 2.42643155 51.2915037 2.42643155 12.2915037"}),(0,s.jsxs)("polygon",{fill:"#D9D8D2",points:"26 13 26 52 7.62776902 42.8589904 7.62776902 3.8589904",children:[(0,s.jsx)("animate",{begin:"0s",fill:"freeze",attributeName:"points",dur:"300ms",repeatCount:"indefinite",to:"26 13 26 52 2.42643155 51.2915037 2.42643155 12.2915037"}),(0,s.jsx)("animate",{begin:"0s",fill:"freeze",attributeName:"fill",dur:"300ms",repeatCount:"indefinite",to:"#C7C6C1"})]}),(0,s.jsxs)("polygon",{fill:"#EDECE6",points:"26 13 26 52 15.6116243 39.1789668 15.6116243 0.178966842",children:[(0,s.jsx)("animate",{begin:"0s",fill:"freeze",attributeName:"points",dur:"300ms",repeatCount:"indefinite",to:"26 13 26 52 7.62776902 42.8589904 7.62776902 3.8589904"}),(0,s.jsx)("animate",{begin:"0s",fill:"freeze",attributeName:"fill",dur:"300ms",repeatCount:"indefinite",to:"#D9D8D2"})]}),(0,s.jsxs)("polygon",{fill:"#F2F1EB",points:"26 13 26 52 21.6234304 39.2927499 21.6234304 0.292749915",children:[(0,s.jsx)("animate",{begin:"0s",fill:"freeze",attributeName:"points",dur:"300ms",repeatCount:"indefinite",to:"26 13 26 52 15.6116243 39.1789668 15.6116243 0.178966842"}),(0,s.jsx)("animate",{begin:"0s",fill:"freeze",attributeName:"fill",dur:"300ms",repeatCount:"indefinite",to:"#EDECE6"})]}),(0,s.jsx)("polygon",{fill:"#F2F1EB",points:"26 13 26 52 25.6234304 39.2927499 25.6234304 0.292749915",children:(0,s.jsx)("animate",{begin:"0s",fill:"freeze",attributeName:"points",dur:"300ms",repeatCount:"indefinite",to:"26 13 26 52 21.6234304 39.2927499 21.6234304 0.292749915"})})]})}),(0,s.jsx)("div",{className:i().message,children:n.message||"Загрузка..."})]})}},17502:function(e,t,n){"use strict";n.d(t,{l:function(){return r}});var r="RU"},66677:function(e,t,n){"use strict";n.d(t,{S:function(){return o}});var r=n(67294),o=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.threshold,i=void 0===o?1:o,s=n.once,a=void 0!==s&&s,l=(0,r.useRef)(!1);(0,r.useEffect)(function(){if("IntersectionObserver"in window&&e.current){var n=new IntersectionObserver(function(e){e.forEach(function(e){e.isIntersecting&&(!a||!l.current)&&(t(),a&&(l.current=!0))})},{threshold:i});return e.current&&n.observe(e.current),function(){e.current&&n.unobserve(e.current)}}},[e,t,i,a])}},41665:function(e,t,n){"use strict";n.d(t,{$:function(){return G}});var r=n(84035),o=n(17502),i=n(66677),s=n(3490),a=n(84587),l=[{text:"О сервисе",href:s.x.about.index,target:"_blank",rel:"nofollow noopener",analytics:{name:"Footer",category:"Footer",action:"Service"}},{text:"Книжная премия Литрес",href:(0,a.F)(s.x.ebukva.index,{source:"selfpub",medium:"footer",campaign:"ebukva2025"}),target:"_blank",rel:"nofollow noopener",analytics:{name:"Footer",category:"Footer",action:"Prize"}},{text:"Конкурсы",href:(0,a.F)(s.x.blog.promo,{source:"selfpub",medium:"footer",campaign:"contest"}),target:"_blank",rel:"nofollow noopener",analytics:{name:"Footer",category:"Footer",action:"Contest"}},{text:"Наши партнеры",href:s.x.domains.index,target:"_blank",rel:"nofollow noopener",analytics:{name:"Footer",category:"Footer",action:"Partners"}},{text:"Поддержка",href:s.x.feedback.index,target:"_blank",rel:"nofollow noopener",analytics:{name:"Footer",category:"Footer",action:"Feedback"}},{text:"Контакты",href:s.x.contacts.index,target:"_blank",rel:"nofollow noopener"}],c={key:"footerFaqItems",list:[{text:"Первые шаги и работа с сервисом",href:s.x.faq.firstStep,target:"_blank",rel:"nofollow noopener",analytics:{name:"Footer",category:"Footer",action:"FirstStep"}},{text:"Публикация электронной книги",href:s.x.faq.ebook,target:"_blank",rel:"nofollow noopener",analytics:{name:"Footer",category:"Footer",action:"Ebook"}},{text:"Публикация аудиокниги",href:s.x.faq.publishaudio,target:"_blank",rel:"nofollow noopener",analytics:{name:"Footer",category:"Footer",action:"Audiobook"}},{text:"Публикация книги в процессе",href:s.x.faq.draft,target:"_blank",rel:"nofollow noopener",analytics:{name:"Footer",category:"Footer",action:"Draft"}},{text:"Частые вопросы",href:s.x.faq.index,target:"_blank",rel:"nofollow noopener",analytics:null},{text:"Блог",href:(0,a.F)(s.x.blog.index,{source:"selfpub",medium:"footer",campaign:"blog"}),target:"_blank",rel:"nofollow noopener",analytics:{name:"Footer",category:"Footer",action:"Blog"}}]},u={text:"Кабинет издателя",href:s.J.login},d={PrivacyPolicyResident:{text:"Политика конфиденциальности для резидентов РФ",href:s.x.privacy.index,target:"_blank",rel:"nofollow noopener",analytics:{name:"All-pages",category:"All-pages",action:"Privacy"}},PrivacyPolicyNotResident:{text:"Политика конфиденциальности для нерезидентов РФ",href:s.x.privacy_litres_operations.index,target:"_blank",rel:"nofollow noopener",analytics:{name:"All-pages",category:"All-pages",action:"Privacy-litres-operations"}},PublicationRules:{text:"Правила размещения произведения",href:s.x.publicationRules.index,target:"_blank",rel:"nofollow noopener",analytics:{name:"All-pages",category:"All-pages",action:"PublicationRules"}},OfferResidentBase:{text:"Оферта для резидентов РФ",href:s.x.offer.index,target:"_blank",rel:"nofollow noopener",analytics:{name:"All-pages",category:"All-pages",action:"Offer"}},OfferResidentUpgrade:{text:"Оферта для резидентов РФ",href:s.x.offer_upgrade.index,target:"_blank",rel:"nofollow noopener",analytics:{name:"All-pages",category:"All-pages",action:"Offer"}},OfferNotResident:{text:"Оферта для нерезидентов РФ",href:s.x.offer_non_resident.index,target:"_blank",rel:"nofollow noopener",analytics:{name:"All-pages",category:"All-pages",action:"Offer-non-resident"}},OfferNotResidentUpgrade:{text:"Оферта для нерезидентов РФ",href:s.x.non_resident_offer_upgrade.index,target:"_blank",rel:"nofollow noopener",analytics:{name:"All-pages",category:"All-pages",action:"Offer-non-resident"}}
1,Agreement:{text:"Договор оказания услуг",href:s.x.agreement.index,target:"_blank",rel:"nofollow noopener",analytics:{name:"All-pages",category:"All-pages",action:"Agreement"}},AgreementNonResident:{text:"Договор оказания услуг для нерезидентов РФ",href:s.x.agreementNonResident.index,target:"_blank",rel:"nofollow noopener",analytics:{name:"All-pages",category:"All-pages",action:"Agreement"}},AgreementPublisher:{text:"Договор оказания услуг для издательств",href:s.J.agreement,target:"_blank",rel:"nofollow noopener",analytics:{name:"All-pages",category:"All-pages",action:"Agreement-publisher"}}},f=function(e){if(e){var t=JSON.parse(JSON.stringify(c));return t.list.push(u),[{key:"about",list:l},t]}return[{key:"about",list:l},c]},m={list:[d.PrivacyPolicyResident,d.PrivacyPolicyNotResident,d.OfferNotResident,d.OfferResidentBase,d.Agreement,d.AgreementPublisher,d.PublicationRules]},p={list:[d.PrivacyPolicyResident,d.PrivacyPolicyNotResident,d.Agreement,d.AgreementPublisher,d.PublicationRules]},g={list:[d.PrivacyPolicyResident,d.OfferResidentBase,d.Agreement,d.AgreementPublisher,d.PublicationRules]},h={list:[d.PrivacyPolicyResident,d.OfferResidentUpgrade,d.Agreement,d.AgreementPublisher,d.PublicationRules]},_={list:[d.PrivacyPolicyNotResident,d.OfferNotResident,d.AgreementNonResident,d.AgreementPublisher,d.PublicationRules]},b=n(67294),x=n(14416),y=n(36613),v=n(8635),j=n(72363),k=n(50184),N=n(89637),O=n(77339),w=n.n(O),A=n(85893),C=function(e){var t=e.list,n=(0,x.v9)(y.d),r=function(e){if(e){var t;(0,j.I)({action:e.action,goalParams:{user_id:null!==(t=n.uuid)&&void 0!==t?t:""}})}};return(0,A.jsx)("ul",{className:w().root,children:t.map(function(e){var t=e.href,n=void 0===t?void 0:t,o=e.text,i=e.analytics,s=e.target,a=e.rel,l=e.isHidden;return(0,A.jsx)("li",{children:n&&!l&&(0,A.jsx)(k.a,{className:w().link,href:n,target:s,rel:a,onClick:function(){return r(i)},dataTestId:"footerBottomList__link",children:(0,A.jsx)(N.OE,{children:o})})},o)})})},P=n(59499),F=n(25675),I=n.n(F),E=[{key:"vk",icon:{src:"/icons/social/vk.svg"},link:{href:"//vk.com/litres_authors",title:"ВКонтакте — Литрес Авторы (Литрес Самиздат)",target:"_blank"}},{key:"yt",icon:{src:"/icons/social/yt.svg"},link:{href:"//www.youtube.com/channel/UCE_jbVm6UA5HmPftTklSMGg",title:"Youtube — Издательские сервисы Литрес",target:"_blank"}},{key:"telegram",icon:{src:"/icons/social/telegram.svg"},link:{href:"//t.me/LitresPublishing",title:"Telegram — Литрес Авторы (Литрес Самиздат) | Литрес Чтец",target:"_blank"}},{key:"dzen",icon:{src:"/icons/social/dzen.svg"},link:{href:"//dzen.ru/litres_authors",title:"Дзен — Издательские сервисы Литрес",target:"_blank"}}],B=n(33157),R=n.n(B);function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function D(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach(function(t){(0,P.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var z=function(){return(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)("ul",{className:R().socialList,children:E.map(function(e){var t=e.key,n=e.link,r=e.icon;return(0,A.jsx)("li",{children:(0,A.jsx)("a",D(D({},n),{},{className:R().socialListLink,children:(0,A.jsx)(I(),{src:r.src,width:32,height:32,alt:t})}))},t)})}),(0,A.jsx)("a",{href:"tel:+78003332737",title:"Контактный телефон",className:R().contactLink,children:(0,A.jsx)(N.H4,{children:"8 (800) 333 27 37"})}),(0,A.jsx)(N.OE,{children:"Ежедневно с 10:00 до 22:00 по Москве"})]})},L=n(32338),T=n.n(L),Z=function(e){var t=e.list,n=(0,x.v9)(y.d),r=function(e){if(e){var t;(0,j.I)({action:e.action,goalParams:{user_id:null!==(t=n.uuid)&&void 0!==t?t:""}})}};return(0,A.jsx)("ul",{className:T().root,children:t.map(function(e){var t=e.href,n=void 0===t?void 0:t,o=e.text,i=e.analytics,s=e.target,a=e.rel;return(0,A.jsx)("li",{className:T().listItem,children:n&&(0,A.jsx)(k.a,{className:T().link,href:n,target:s,rel:a,onClick:function(){return r(i)},dataTestId:"footerList__link",children:o})},o)})})},M=n(94184),W=n.n(M),H=n(35407),q=n(78867),J=n(71290),V=n.n(J),U=function(e){var t,n=e.seriesId,r=e.onAddArt
1s,o=e.onSendArts,i=(0,x.v9)(q.Hh);return(0,A.jsxs)("div",{className:V().wrapper,children:[(0,A.jsx)("div",{className:V().divider}),(0,A.jsxs)("div",{className:V().buttonsWrapper,children:[(0,A.jsx)(H.z,{look:"secondary",size:"medium",onClick:r,dataTestId:"footerSeries__addButton",children:"Добавить книгу"}),(0,A.jsx)(H.z,{size:"medium",onClick:o,isLoading:i,className:W()((t={},(0,P.Z)(t,V().loadingSaveButton,n&&i),(0,P.Z)(t,V().loadingSendButton,!n&&i),t)),dataTestId:"footerSeries__sendButton",children:n?"Сохранить":"Опубликовать"})]})]})},Y=n(50169),K=n.n(Y),G=function(e){var t=e.hasSeriesButtons,n=e.onSeriesAddArts,a=e.onSeriesSendArts,l=e.seriesId,c=(0,x.v9)(y.go),u=(0,x.v9)(y.d),j=(0,x.v9)(y.g$),k=u.has_direct_agreement,N=u.account_royalty_offer_status,O=u.resident_country,w=u.oferta_slug,P=O===o.l,F=(0,b.useRef)(null);(0,i.S)(F,function(){(0,r.nv)({event_type:"block_view",event_parameters:{block_name:"links"}},u)},{threshold:.5,once:!0});var I=(0,b.useMemo)(function(){if(!c)return m;if(k)return p;if(P){if(w)return{list:[d.PrivacyPolicyResident,{text:"Оферта для резидентов РФ",href:"".concat(s.x.staticPages.index).concat(w),target:"_blank",rel:"nofollow noopener",analytics:{name:"All-pages",category:"All-pages",action:"Individual"}},d.Agreement,d.AgreementPublisher,d.PublicationRules]};if(N===v.FV.advanced)return h;if(N)return g}return P?{list:[]}:w?{list:[d.PrivacyPolicyNotResident,{text:"Оферта для нерезидентов РФ",href:"".concat(s.x.staticPages.index).concat(w),target:"_blank",rel:"nofollow noopener",analytics:{name:"All-pages",category:"All-pages",action:"Individual-not-resident"}},d.AgreementNonResident,d.AgreementPublisher,d.PublicationRules]}:_},[c,k,N,P,w]),E=(0,b.useMemo)(function(){return f(j||!c)},[c,j]);return(0,A.jsxs)("footer",{ref:F,className:K().root,children:[t&&(0,A.jsx)(U,{onAddArts:n,onSendArts:a,seriesId:l}),(0,A.jsxs)("div",{className:K().innerWrapper,children:[(0,A.jsx)("section",{className:K().social,children:(0,A.jsx)(z,{})}),(0,A.jsx)("div",{className:K().menusWrapper,children:E.map(function(e){var t=e.list,n=e.key;return(0,A.jsx)("section",{className:K().section,children:(0,A.jsx)(Z,{list:t})},n)})})]}),(0,A.jsx)(C,{list:I.list})]})}},78867:function(e,t,n){"use strict";n.d(t,{$T:function(){return l},BK:function(){return f},Hh:function(){return s},Lu:function(){return r},Yu:function(){return u},dB:function(){return o},tD:function(){return c},wE:function(){return a},wW:function(){return d},yQ:function(){return i}});var r=function(e){return e.series.series},o=function(e){return e.series.seriesDetails},i=function(e){return e.series.seriesDetailsErrors},s=function(e){return e.series.isFetching},a=function(e){return e.series.deleteSeriesErrors},l=function(e){return e.series.seriesErrors},c=function(e){return e.series.sendSeries},u=function(e){return e.series.sendSeriesErrors},d=function(e){return e.series.editSeries},f=function(e){return e.series.editSeriesErrors}},90976:function(e,t,n){"use strict";n.d(t,{HV:function(){return r},KH:function(){return s},Yn:function(){return o},t2:function(){return i}});var r=function(e){return e.ui.isOpenModal},o=function(e){return e.ui.modalType},i=function(e){return e.ui.modalFields},s=function(e){return e.ui.staticPage}},48817:function(e){e.exports={alert:"Alert_alert__FcVpj",small:"Alert_small__r607n",info:"Alert_info__KcHR5",error:"Alert_error__An4BZ",success:"Alert_success___hugq",alertIcon:"Alert_alertIcon__pKVVt",alertIconAndTextBlock:"Alert_alertIconAndTextBlock__AAYyk",title:"Alert_title__MoaL5",textInformationBlock:"Alert_textInformationBlock__3hgEp",roundAlertIcon:"Alert_roundAlertIcon__Hbwkh",button:"Alert_button__UHyxm",closeIcon:"Alert_closeIcon__GIPAk"}},15248:function(e){e.exports={overlay:"Modal_overlay__Q7Q8X",modal:"Modal_modal__A_utf",focusLock:"Modal_focusLock__cbkyE",closeButton:"Modal_closeButton__NDh5c",header:"Modal_header__TlPyd",headerTitle:"Modal_headerTitle__Aqiyc",content:"Modal_content__2nAJ5",contentWrapper:"Modal_contentWrapper__ohtNl",footer:"Modal_footer__KJsjq",footerCaption:"Modal_footerCaption__1g6m6",actionWrapper:"Modal_actionWrapper__U36V_"}},56362:function(e){e.exports={container:"BookLoader_container__K9H5t",iconContainer:"BookLoader_iconContainer__27Hvn",message:"BookLoader_message__Fmdyp"}},50169:function(e){e.exports={root:"Footer_root__JJi9h",innerWrapper:"Footer_innerWrapper__rCFcT",social:"Footer_social__haaZX",menusWrapper:"Footer_menusWrapper__jCob9",section:"Footer_section__4t1k4"}},77339:function(e){e.exports={root:"FooterBottomList_root__3bJAY",link:"FooterBottomList_link__rcys5"}},33157:function(e){e.exports={socialList:"FooterContacts_socialList__SnOhA",socialListLink:"FooterContacts_socialListLink__u_yCi",contactLink:"FooterContacts_contactLink__gvM_p"}},32338:function(e){e.exports={root:"FooterList_root__GFN52",listItem:"FooterList_listItem__HT_o_",link:"FooterList_link__joR4W"}},71290:function(e){e.exports={wrapper:"FooterSeriesButtons_wrapper__iVxxH",divider:"FooterSeriesButtons_divider__I8AG5",buttonsWrapper:"FooterSeriesButtons_buttonsWrapper__KlMVQ",loadingSaveButton:"FooterSeriesButtons_loadingSaveButton__G_AYV",loadingSendButton:"FooterSeriesButtons_loadingSendButton__Rz46Z"}}}]);
2//# sourceMappingURL=5115-616954bf70fd6752.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.