(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4726],{33169:function(e,t,a){Promise.resolve().then(a.bind(a,53417)),Promise.resolve().then(a.bind(a,69767)),Promise.resolve().then(a.bind(a,5847))},2969:function(e,t,a){"use strict";a.d(t,{c:function(){return d},w:function(){return u}});var n=a(99376),i=a(42586),s=a(49090),l=a(28864),r=a(68725),o=a(97230),c=a(71938);function d(e){var t,a,n;let{bond:l,isCountShow:r,count:d=0,amount:u=0,cmsData:m}=e,p=(0,i.useTranslations)();return[{key:p("sc-bonds.detail.calculator.conditions.price.key"),value:(0,s.lb)(l.product.productPrice.total),tooltip:null!==(a=null==m?void 0:m.priceHint)&&void 0!==a?a:p("sc-bonds.detail.calculator.conditions.price.hint")},{key:p("sc-bonds.detail.calculator.conditions.rate-with-ndfl.key"),value:(0,o.Q)({couponType:l.product.couponType,minCouponPaymentSizePercent:l.product.couponEventsData.minCouponPaymentSizePercentAfterNdfl,maxCouponPaymentSizePercent:l.product.couponEventsData.maxCouponPaymentSizePercentAfterNdfl,nearestCouponPaymentSizePercent:null===(t=l.product.nearestCoupon)||void 0===t?void 0:t.paymentSizePercentAfterNdfl}),tooltip:null!==(n=null==m?void 0:m.rateWithNdflHint)&&void 0!==n?n:p("sc-bonds.detail.calculator.conditions.rate-with-ndfl.hint")},{key:p("sc-bonds.detail.calculator.conditions.redemption-date.key"),value:(0,c.t)(l.product.redemptionDate)},r?{key:p("sc-bonds.detail.calculator.conditions.order-sum.key"),value:(0,s.lb)(u)}:{key:p("sc-bonds.detail.calculator.conditions.bonds-count.key"),value:"".concat((0,s.lb)(d,{hasCurrencySymbol:!1,decimalCount:0})," шт")}]}function u(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=(0,i.useTranslations)(),o=new URLSearchParams((0,n.useSearchParams)().toString()),c={sum:(0,l.a)({bond:e,count:t}),type:"count",amount:t,profit:e.product.couponEventsData.minCouponPaymentSizePercent,date:(0,r.p6)(e.product.redemptionDate),name:e.product.name,code:e.product.issuerCode,label:a("sc-bonds.detail.calculator.registration-state.label")},d=(0,s.If)().setProduct(e=>e.setType("bond").setTitle(c.name).setProvider("bank","",c.code).setLabel(c.label||null).addParam("ставка","".concat((0,s.og)(c.profit))).addParam("сумма","".concat((0,s.lb)(c.sum,{decimalIsWithoutZeros:!0}))).addParam("погашение",c.date)).setContext(c).encode();return o.append("context",d),"".concat((0,r.SJ)("NEXT_PUBLIC_MARKETPLACE_LK_BASE_URL"),"/investment/bonds/").concat(e.product.productId,"/purchase?").concat(o.toString())}},28864:function(e,t,a){"use strict";a.d(t,{U:function(){return i},a:function(){return s}});var n=a(68725);function i(e){let{bond:t,amount:a}=e;if(!a||a<=0)return 0;let{total:i}=t.product.productPrice;return Math.floor((0,n.lt)(a/i))}function s(e){let{bond:t,count:a}=e;if(!a||a<=0)return 0;let{total:i}=t.product.productPrice;return(0,n.lt)(a*i)}},5847:function(e,t,a){"use strict";a.d(t,{Detail:function(){return eE}});var n=a(57437),i=a(2265),s=a(99376),l=a(42586),r=a(35563),o=a(75461),c=a(61994),d=a(5083),u=a(15894),m=a(83145),p=a.n(m),x=a(2647),h=a.n(x);function b(e){let{lists:t}=e;return(0,n.jsx)(n.Fragment,{children:null==t?void 0:t.map((e,t)=>{let{title:a,items:i,footnotes:s}=e;return(0,n.jsxs)(d.T,{className:h().aboutContainer,dataQa:{element:u.xJ.Block,name:"lists"},children:[a&&(0,n.jsx)(d.T,{tag:"p",dataQa:{element:u.xJ.Text,name:"title"},children:a}),i&&(0,n.jsx)(d.T,{className:(0,c.Z)(h().aboutContainer,p().list),tag:"ul",dataQa:{element:u.xJ.List,name:"list"},children:null==i?void 0:i.map((e,t)=>{let{text:a,description:i}=e;return(0,n.jsxs)(d.T,{tag:"li",dataQa:{element:u.xJ.Block,name:"listItem"},children:[a&&(0,n.jsx)("p",{className:p().listTitle,children:a}),i&&(0,n.jsx)("p",{className:h().aboutValueDescription,children:i})]},t)})}),s&&(0,n.jsx)(d.T,{dataQa:{element:u.xJ.Block,name:"footnotes"},children:s.map((e,t)=>(0,n.jsx)("p",{className:h().aboutValueDescription,children:e},t))})]},t)})})}var _=a(68725);function g(e){let{text:t,description:a}=e,i=t?(0,_.Nw)(t):null;return(0,n.jsx)(n.Fragment,{children:(i||a)&&(0,n.jsxs)(d.T,{className:h().aboutContainer,dataQa:{element:u.xJ.Block,name:"textContent"},children:[i&&(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:i}}),a&&(0,n.jsx)("p",{className:h().aboutValueDescription,children:a})]})})}var v=a(62449),j=a.n(v);function T(e){let{bond:t,cmsData:a}=e,[s,l]=(0,i.useState)(1),r=(0,_.WF)(t.product.productId,a);return(0,n.jsxs)(d.T,{className:j().desktopTabs,dataQa:{element:u.xJ.Block,name:"desktopTabs"},children:[(0,n.jsx)(d.T,{dataQa:{element:u.xJ.Tabs,name:"tabs"},children:(0,n.jsx)(o.mQ,{activeTabId:s,tabs:r,onTabChange:function(e){l(e)}})}),r.map(e=>{let{id:t,data:a}=e;return(0,n.jsx)("table",{className:(0,c.Z)(j().desktopTabsTable,{[j().active]:s===t}),children:(0,n.jsx)("tbody",{children:a.map(e=>{let{key:t,value:{text:a,description:i,lists:s}}=e;return(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:(0,n.jsx)(d.T,{dangerouslySetInnerHTML:{__html:(0,_.Nw)(t)},tag:"p",dataQa:{element:u.xJ.Text,name:"rowKey"}})}),(0,n.jsx)("td",{children:(0,n.jsxs)("div",{className:j().desktopTabsTableCellGrid,children:[(0,n.jsx)(g,{text:a,description:i}),(0,n.jsx)(b,{lists:s})]})})]},t)})})},t)})]})}var y=a(80684),f=a(65990),C=a.n(f);function S(e){let{bond:t,cmsData:a}=e,[s,l]=(0,i.useState)(null),m=(0,_.WF)(t.product.productId,a),p=m.find(e=>{let{id:t}=e;return t===s});return(0,n.jsx)(d.T,{className:C().mobileTabs,dataQa:{element:u.xJ.Block,name:"mobileTabs"},children:(0,n.jsxs)("div",{children:[m.map((e,t)=>{let{id:a,label:i}=e;return(0,n.jsx)(d.T,{dataQa:{element:u.xJ.Button,name:"openModalButton"},children:(0,n.jsxs)("button",{className:(0,c.Z)(C().mobileTabsButton,t===m.length-1&&C().last),type:"button",onClick:()=>l(a),children:[i,(0,n.jsx)(y.IconFdsChevronRightO,{size:"16"})]})},a)}),(0,n.jsx)(o.u_,{className:C().modal,open:s===(null==p?void 0:p.id),header:{title:null==p?void 0:p.label,align:"center"},onClose:()=>l(null),children:(0,n.jsx)(d.T,{dataQa:{element:u.xJ.Block,name:"modalContent"},children:(0,n.jsx)(d.T,{className:C().modalContentList,tag:"ul",dataQa:{element:u.xJ.List,name:"modalContentList"},children:null==p?void 0:p.data.map(e=>{let{key:t,value:{text:a,description:i,lists:s}}=e;return(0,n.jsxs)(d.T,{className:C().modalContentListItem,tag:"li",dataQa:{element:u.xJ.Block,name:"modalContentListItem"},children:[(0,n.jsx)(d.T,{dataQa:{element:u.xJ.Text,name:"listItemKey"},children:(0,n.jsx)(r.xv,{weight:"medium",as:"div",children:(0,n.jsx)("p",{dangerouslySetInnerHTML:{__html:(0,_.Nw)(t)}})})}),(0,n.jsx)(g,{text:a,description:i}),(0,n.jsx)(b,{lists:s})]},t)})})})})]})})}var N=a(16024),k=a(77386),A=a.n(k);function B(e){let{bond:t,cmsData:a}=e,i=(0,l.useTranslations)();return(0,n.jsx)(d.T,{tag:"section",dataQa:{element:u.xJ.Block,name:"about"},children:(0,n.jsxs)(N.xu,{className:"pb-2 pb-m-6",children:[(0,n.jsx)(d.T,{dataQa:{element:u.xJ.Header,name:"aboutTitle"},children:(0,n.jsx)(r.X6,{type:"h2",weight:"medium",padding:"none",className:"mb-4 mb-m-6",children:i("sc-bonds.detail.about.title")})}),(0,n.jsxs)("div",{className:A().aboutContent,children:[(0,n.jsx)(S,{bond:t,cmsData:a}),(0,n.jsx)(T,{bond:t,cmsData:a})]})]})})}var P=a(88358),w=a.n(P);function I(e){let{items:t}=e,a=(0,l.useTranslations)();return(0,n.jsx)(d.T,{dataQa:{element:u.xJ.Block,name:"advantages"},children:(0,n.jsxs)(N.xu,{children:[(0,n.jsx)(d.T,{dataQa:{element:u.xJ.Header,name:"advantagesTitle"},children:(0,n.jsx)(r.X6,{type:"h2",className:"mb-6 mb-m-8",children:a("sc-bonds.detail.advantages.title")})}),(0,n.jsx)(d.T,{className:w().list,tag:"ul",dataQa:{element:u.xJ.List,name:"advantagesList"},children:null==t?void 0:t.map(e=>{let{title:t,text:a}=e;return(0,n.jsxs)(d.T,{className:w().listItem,tag:"li",dataQa:{element:u.xJ.List,name:"advantagesListItem"},children:[(0,n.jsx)(d.T,{className:w().bullet,tag:"span",dataQa:{element:u.xJ.Icon,name:"listItemIcon"},children:(0,n.jsx)(y.IconFdsCheckO,{size:"24",className:w().icon})}),(0,n.jsxs)("div",{children:[(0,n.jsx)(d.T,{dataQa:{element:u.xJ.Text,name:"listItemText"},children:(0,n.jsx)(r.xv,{className:w().title,fontFamily:"primary",weight:"medium",as:"div",children:(0,n.jsx)("p",{dangerouslySetInnerHTML:{__html:(0,_.Nw)(t)}})})}),(0,n.jsx)(d.T,{dataQa:{element:u.xJ.Caption,name:"listItemCaption"},children:(0,n.jsx)(r.YS,{children:a})})]})]},t)})})]})})}var Q=a(49090),J=a(2824),z=a.n(J);function L(e){let{conditions:t,className:a}=e;return(0,n.jsx)(d.T,{className:(0,c.Z)(z().container,a),tag:"dl",dataQa:{element:u.xJ.List,name:"bondConditions"},children:t.map(e=>{let{key:t,value:a,tooltip:i}=e;return(0,n.jsxs)(d.T,{className:z().condition,dataQa:{element:u.xJ.Block,name:"bondCondition"},children:[(0,n.jsx)("dt",{className:z().key,children:(0,n.jsx)(N.zn,{text:t,tooltip:i})}),(0,n.jsx)("dd",{className:z().value,children:a})]},t)})})}var D=a(2969),M=a(28864),E=a(5952),H=a(2950),R=a.n(H);function F(e){let{children:t,bond:a,count:s,amount:r,className:m,onCountChange:p,onAmountChange:x,onTabChange:h,onValidityChange:b}=e,_=(0,l.useTranslations)(),[g,v]=(0,i.useState)(E.Tk[0].id),j=g===E.Tk[0].id,{isCountValid:T,isAmountValid:y,getCountNoteMessage:f,getAmountNoteMessage:C}=function(e){let t=e.limits.showMaxCount,a={min:e.limits.minProductCount,max:e.limits.maxProductCount,noBondMessage:"Нет облигаций, доступных к покупке",getNoteMessage(e,t){let a="Можно купить от";return!1===t?"".concat(a," ").concat((0,Q._6)(this.min,["штуки","штук","штук"])):"".concat(a," ").concat(this.min," ").concat(e?"до ".concat(e," "):"","штук")}},n={min:e.limits.minProductAmount,max:e.limits.maxProductAmount,noBondMessage:"Нет облигаций, доступных к покупке",getMinPrice(){return this.min},getMaxPrice(){return this.max},getNoteMessage(e,t){let a="Можно купить от ".concat((0,Q.lb)(this.getMinPrice(),{decimalIsWithoutZeros:!0})),n="до ".concat((0,Q.lb)(e,{decimalIsWithoutZeros:!0}));return!1===t?a:e?"".concat(a," ").concat(n):a}};return{isCountValid:function(e){return 0!==a.max&&null!==a.max&&!!e&&e>=a.min&&e<=a.max},isAmountValid:function(e){return 0!==n.getMaxPrice()&&null!==n.getMaxPrice()&&!!e&&e>=n.getMinPrice()&&e<=n.getMaxPrice()},getCountNoteMessage:function(e){return null===a.max||0===a.max?a.noBondMessage:e&&e>a.max?a.getNoteMessage(a.max):a.getNoteMessage(a.max,t)},getAmountNoteMessage:function(e){return null===n.getMaxPrice()||0===n.getMaxPrice()?n.noBondMessage:e&&e>n.getMaxPrice()?n.getNoteMessage(n.getMaxPrice()):n.getNoteMessage(n.getMaxPrice(),t)}}}(a);return(0,n.jsxs)(d.T,{className:(0,c.Z)(R().container,m),dataQa:{element:u.xJ.Block,name:"calculator"},children:[(0,n.jsx)(d.T,{dataQa:{element:u.xJ.Chips,name:"calculatorChips"},children:(0,n.jsx)(o.cL,{size:"l",value:g,chips:E.Tk,onChipClick:function(e){g!==e&&(v(e),h(),e===E.Tk[0].id&&x((0,M.a)({bond:a,count:s})))}})}),(0,n.jsx)("div",{children:t}),j?(0,n.jsx)(d.T,{dataQa:{element:u.xJ.Input,name:"countInput"},children:(0,n.jsx)(o.Rn,{value:s,label:_("sc-bonds.detail.calculator.input-count.label"),caption:f(s),unit:"шт",decimals:"never",min:0,state:T(s)?void 0:"error",withoutControls:!0,onChange:function(e){p(e),x((0,M.a)({bond:a,count:e})),b(T(e))}})}):(0,n.jsx)(d.T,{dataQa:{element:u.xJ.Input,name:"amountInput"},children:(0,n.jsx)(o.Rn,{value:r,label:_("sc-bonds.detail.calculator.input-amount.label"),caption:C(r),unit:"₽",min:0,state:y(r)?void 0:"error",withoutControls:!0,onChange:function(e){x(e),p((0,M.U)({bond:a,amount:e})),b(y(e))}})})]})}var U=a(88159),W=a.n(U);function V(e){var t,a,i;let{bond:s,count:o=0,cmsData:m}=e,p=(0,l.useTranslations)(),x=s.product.productPrice.redemptionIncome*o;return(0,n.jsxs)(d.T,{className:W().container,dataQa:{element:u.xJ.Block,name:"calculatorLabels"},children:[(0,n.jsxs)("div",{children:[(0,n.jsx)(N.zn,{className:"mb-2 mb-m-3",text:(0,n.jsx)(r.xv,{size:"18",children:p("sc-bonds.detail.calculator.yield.text")}),tooltip:null!==(a=null==m?void 0:m.yieldHint)&&void 0!==a?a:p("sc-bonds.detail.calculator.yield.tooltip"),gap:10}),(0,n.jsx)(d.T,{dataQa:{element:u.xJ.Text,name:"yieldValue"},children:(0,n.jsx)(r.xv,{weight:"medium",className:(0,c.Z)(W().value,W().yieldValue),children:"+".concat((0,Q.lb)(x))})})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)(N.zn,{className:"mb-2 mb-m-3",text:(0,n.jsx)(r.xv,{size:"18",children:p("sc-bonds.detail.calculator.rate.text")}),tooltip:null!==(i=null==m?void 0:m.rateHint)&&void 0!==i?i:p("sc-bonds.detail.calculator.rate.tooltip"),gap:10}),(0,n.jsx)(d.T,{dataQa:{element:u.xJ.Text,name:"rateValue"},children:(0,n.jsx)(r.xv,{weight:"medium",className:W().value,children:(0,_.QO)({couponType:s.product.couponType,minCouponPaymentSizePercent:s.product.couponEventsData.minCouponPaymentSizePercent,maxCouponPaymentSizePercent:s.product.couponEventsData.maxCouponPaymentSizePercent,nearestCouponPaymentSizePercent:null===(t=s.product.nearestCoupon)||void 0===t?void 0:t.paymentSizePercent})})})]})]})}var O=a(67356),Z=a(6735),X=a(1883);function Y(e){let{open:t,onClose:a,purchaseBondUrl:s}=e,[l,r]=(0,i.useState)(null),c=(0,_.SJ)("NEXT_PUBLIC_PL_LK_API_URL"),d=(0,_.SJ)("NEXT_PUBLIC_MARKETPLACE_LK_BASE_URL"),u=(0,_.SJ)("NEXT_PUBLIC_S3_ASSETS");return(0,i.useEffect)(()=>{(async function(){r(await (0,O.g)(c,"investment-bonds"))})()},[c]),(0,n.jsx)(o.u_,{open:t,onClose:a,children:(0,n.jsx)(Z.U,{serverConfig:l,baseUrl:d,s3AssetsUrl:"".concat(u,"/mp-assets"),config:{withLogo:!0,linkTarget:"_self"},entryPointId:"bond-details",scenarioParams:{targetUri:s},isSilent:!0,onAnalyticsEvent:e=>{let{eventCategory:t,eventAction:a,eventLabel:n}=e;return(0,X.T)(null!=t?t:"login-widget.click_button_login",a,{eventLabel:n})}})})}var K=a(8307),G=a.n(K);function q(e){var t,a;let{bond:s,count:r,amount:c,cmsData:m,onCountChange:p,onAmountChange:x}=e,h=(0,l.useTranslations)(),[b,_]=(0,i.useState)(!0),[g,v]=(0,i.useState)(!1),[j,T]=(0,i.useState)(!0),y=(0,D.c)({bond:s,isCountShow:b,count:r,amount:c,cmsData:m}),f=(0,D.w)(s,r);return(0,n.jsx)(d.T,{dataQa:{element:u.xJ.Block,name:"bondDetailCalculator"},children:(0,n.jsxs)(N.xu,{children:[(0,n.jsx)(F,{className:"mb-6 mb-m-8",bond:s,count:r,amount:c,onCountChange:p,onAmountChange:x,onTabChange:function(){let e=b?1:0,t=(0,Q.mu)(E.Tk[e].label);(0,X.T)("invest_bonds__detail","click__tab__".concat(t),{eventLabel:s.product.productId}),_(e=>!e)},onValidityChange:T,children:(0,n.jsx)(V,{bond:s,count:r,cmsData:m})}),(0,n.jsx)(L,{className:"mb-5 mb-l-6",conditions:y}),(0,n.jsx)(N.Sr,{className:"mb-6 mb-l-8",text:null!==(t=null==m?void 0:m.disclaimerText)&&void 0!==t?t:h("sc-bonds.detail.calculator.disclaimer.text"),expandedText:null!==(a=null==m?void 0:m.disclaimerExpandedText)&&void 0!==a?a:h("sc-bonds.detail.calculator.disclaimer.expanded-text")}),(0,n.jsxs)("div",{className:G().buttons,children:[(0,n.jsx)(d.T,{dataQa:{element:u.xJ.Button,name:"calculatorPurchaseButton"},children:(0,n.jsx)(o.zx,{label:h("sc-bonds.detail.calculator.buy-button.label"),size:"s",disabled:!j,role:"link",stretch:!0,onClick:function(){v(!0),(0,X.T)("invest_bonds__detail","click__button__buy",{eventLabel:s.product.productId})}})}),(0,n.jsx)(d.T,{dataQa:{element:u.xJ.Link,name:"calculatorHowToBuyBondsLink"},onClick:()=>(0,X.T)("invest_bonds__detail","click__link__how_to_buy_bonds",{eventLabel:s.product.productId}),children:(0,n.jsx)(o.zx,{label:h("sc-bonds.detail.calculator.how-to-buy-button.label"),variant:"secondary",size:"s",as:"a",href:"#how-to-buy-bonds",stretch:!0})}),(0,n.jsx)(Y,{open:g,onClose:()=>v(!1),purchaseBondUrl:f})]})]})})}var $=a(19517),ee=a.n($);let et="share-social-list";function ea(e){let{className:t}=e,{isin:a}=(0,s.useParams)();if("string"!=typeof a)throw Error('Invalid "isin" type');let[l,r]=(0,i.useState)(!1),m=function(e){let t="".concat((0,_.SJ)("NEXT_PUBLIC_SHOWCASE_ORIGIN")).concat(E.pY,"/").concat(e);return[{icon:(0,n.jsx)(y.IconFdsVkontakteF,{}),url:"https://vk.com/share.php?url=".concat(t),name:"ВКонтакте",style:{color:"rgb(74, 118, 168)"}},{icon:(0,n.jsx)(y.IconFdsOdnoklassnikiF,{}),url:"https://connect.ok.ru/offer?url=".concat(t),name:"Одноклассники",style:{color:"rgb(255, 136, 0)"}},{icon:(0,n.jsx)(y.IconFdsTelegramF,{}),url:"https://telegram.me/share/url?url=".concat(t),name:"Telegram",style:{color:"rgb(0, 151, 255)",paddingRight:"2px"}}]}(a);return(0,n.jsxs)("div",{className:(0,c.Z)(ee().shareWrapper,t),children:[(0,n.jsx)(d.T,{className:(0,c.Z)(ee().shareSocialList,{[ee().open]:l}),id:et,tag:"ul",dataQa:{element:u.xJ.List,name:"socialShareList"},children:m.map(e=>(0,n.jsx)(d.T,{tag:"li",dataQa:{element:u.xJ.Block,name:"socialShareListItem"},children:(0,n.jsx)("button",{className:ee().shareSocialButton,style:e.style,type:"button","aria-label":e.name,onClick:()=>{window.open(e.url,"","toolbar=0,status=0,scrollbars=1,resizable=1,width=500,height=300")},children:e.icon})},e.name))}),(0,n.jsx)(d.T,{dataQa:{element:u.xJ.Button,name:"socialShareButton"},children:(0,n.jsx)(o.zx,{className:(0,c.Z)(ee().shareButton,{[ee().shareButtonOpen]:l}),shape:"circle-icon",size:"xs",variant:"secondary",appearance:l?"ghost":"fill","aria-label":"Поделиться в соцсетях","aria-expanded":l?"true":"false","aria-controls":et,iconLeft:l?(0,n.jsx)(y.IconArrowHead,{size:"16"}):(0,n.jsx)(y.IconShare,{size:"16"}),onClick:()=>r(e=>!e)})})]})}var en=a(7558),ei=a.n(en);function es(e){let{badges:t,className:a}=e;return(0,n.jsx)(n.Fragment,{children:t.map(e=>{let{label:t,variant:i,dataQa:s}=e;return(0,n.jsx)(o.Vp,{className:a,label:t,size:"m",variant:i,dataQa:s,rounded:!0},t)})})}function el(e){let{bond:t,cmsRate:a,className:i}=e,s=(0,l.useTranslations)(),o=(0,_.zM)({couponType:t.product.couponType,cmsRate:a,tags:t.product.tags});return(0,n.jsxs)(d.T,{className:(0,c.Z)(ei().header,i),dataQa:{element:u.xJ.Block,name:"detailHeader"},children:[(0,n.jsxs)("div",{className:ei().headerTitleWrapper,children:[(0,n.jsxs)("div",{children:[(0,n.jsx)(d.T,{dataQa:{element:u.xJ.Header,name:"detailHeaderBondTitle"},children:(0,n.jsx)(r.X6,{type:"h2",as:"h1",children:t.product.displayName})}),(0,n.jsxs)("div",{className:ei().headerSubtitleWrapper,children:[(0,n.jsx)(es,{badges:o,className:ei().headerDesktopBadge}),(0,n.jsx)(d.T,{className:ei().headerSubtitle,tag:"p",dataQa:{element:u.xJ.Text,name:"detailHeaderBondRating"},children:s("sc-bonds.common.rating.text",{rating:t.product.rating})})]})]}),(0,n.jsx)(N.TR,{src:(0,_.Tl)(t.product.issuerCode),size:48,alt:s("sc-bonds.common.logo.alt",{name:t.product.name})})]}),(0,n.jsxs)("div",{className:ei().headerShare,children:[(0,n.jsx)("div",{className:ei().headerBadges,children:(0,n.jsx)(es,{badges:o,className:ei().headerMobileBadge})}),(0,n.jsx)(ea,{className:ei().socialShareLinks})]})]})}let er=[{values:["AAA"],key:"very-high",title:"sc-bonds.detail.parameters.rating.very-hight.title",descriptionTitle:"sc-bonds.detail.parameters.rating.very-hight.description-title",descriptionCaption:"sc-bonds.detail.parameters.rating.very-hight.description-caption",color:"var(--color-green-600)"},{values:["AA+","AA","AA-","A+","A","A-"],key:"high",title:"sc-bonds.detail.parameters.rating.hight.title",descriptionTitle:"sc-bonds.detail.parameters.rating.hight.description-title",descriptionCaption:"sc-bonds.detail.parameters.rating.hight.description-caption",color:"var(--color-green-500)"},{values:["BBB+","BBB","BBB-"],key:"middle",title:"sc-bonds.detail.parameters.rating.middle.title",descriptionTitle:"sc-bonds.detail.parameters.rating.middle.description-title",descriptionCaption:"sc-bonds.detail.parameters.rating.middle.description-caption",color:"var(--color-orange-600)"},{values:["BB+","BB","BB-","B+","B","B-"],key:"low",title:"sc-bonds.detail.parameters.rating.low.title",descriptionTitle:"sc-bonds.detail.parameters.rating.low.description-title",descriptionCaption:"sc-bonds.detail.parameters.rating.low.description-caption",color:"var(--color-red-500)"},{values:["CCC","CC","C+","C","C-","D"],key:"min",title:"sc-bonds.detail.parameters.rating.min.title",descriptionTitle:"sc-bonds.detail.parameters.rating.min.description-title",descriptionCaption:"sc-bonds.detail.parameters.rating.min.description-caption",color:"var(--color-red-600)"}];var eo=a(82367),ec=a.n(eo);function ed(e){let{rating:t}=e;return(0,n.jsx)("div",{className:ec().ratingIndicators,children:er.map(e=>{let{values:a,color:i,key:s}=e;return(0,n.jsx)("div",{className:(0,c.Z)(ec().ratingSegment,a.includes(t)?ec().active:""),style:{"--accent-color":i}},s)})})}let eu=er.reduce((e,t)=>(t.values.forEach(a=>{e[a]=t}),e),{});var em=a(28009),ep=a.n(em);function ex(e){let{rating:t}=e,a=function(e){var t;let a=(0,l.useTranslations)(),n=er.find(t=>t.values.includes(e));return a(null!==(t=null==n?void 0:n.title)&&void 0!==t?t:e)}(t),s=(0,i.useMemo)(()=>eu[t],[t]),[d,u]=(0,i.useState)(!1),m=(0,l.useTranslations)(),p=m("sc-bonds.detail.parameters.rating.modal.link-href");return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:ep().wrapper,children:(0,n.jsxs)("div",{className:ep().rating,children:[(0,n.jsx)(r.xv,{weight:"medium",size:"16",children:a}),(0,n.jsx)(o.zx,{className:"p-0",iconLeft:(0,n.jsx)(y.IconFdsQuestionCircleO,{size:16}),variant:"white",shape:"circle-icon",size:"xs",onClick:()=>u(!0)})]})}),(0,n.jsx)(o.u_,{open:d,onClose:()=>u(!1),header:{title:m("sc-bonds.detail.parameters.rating.modal.title")},footer:{children:(0,n.jsx)(o.zx,{size:"s",variant:"primary",label:m("sc-bonds.detail.parameters.rating.modal.button"),onClick:()=>u(!1),className:ep().button})},children:(0,n.jsxs)("div",{className:ep().content,children:[(0,n.jsxs)("div",{className:ep().info,children:[(0,n.jsx)(r.xv,{size:"16",children:m("sc-bonds.detail.parameters.rating.modal.description")}),p&&(0,n.jsx)("div",{children:(0,n.jsx)(o.rU,{href:p,size:"m",text:m("sc-bonds.detail.parameters.rating.modal.link"),target:"_blank"})})]}),(0,n.jsx)("div",{children:er.map(e=>{let{descriptionTitle:t,descriptionCaption:a,key:i,color:l}=e;return(0,n.jsxs)("div",{style:{"--accent-color":l},className:(0,c.Z)(ep().descriptionWrapper,(null==s?void 0:s.key)===i?ep().active:""),children:[(0,n.jsx)(r.xv,{weight:"medium",children:m(t)}),(0,n.jsx)(r.YS,{children:m(a)})]},i)})})]})})]})}var eh=a(69050),eb=a.n(eh);function e_(e){let{rating:t,cmsDetail:a}=e,i=(null==a?void 0:a.emitent)?null==a?void 0:a.emitent.find(e=>"Рейтинг"===e.key):void 0,s=(null==i?void 0:i.value.text)?(0,_.Nw)(i.value.text):null;return(0,n.jsxs)(d.T,{tag:"section",dataQa:{element:u.xJ.Block,name:"bondRating"},className:eb().wrapper,children:[(0,n.jsx)("div",{className:eb().description,children:(0,n.jsxs)("div",{className:eb().cmsRate,children:[(0,n.jsx)(r.xv,{children:null==i?void 0:i.key}),s&&(0,n.jsx)("span",{className:eb().link,dangerouslySetInnerHTML:{__html:"\xab".concat(s,"\xbb")}})]})}),(0,n.jsx)("div",{className:eb().ratingIndicators,children:(0,n.jsx)(ed,{rating:t})}),(0,n.jsx)("div",{className:eb().ratingTitle,children:(0,n.jsx)(ex,{rating:t})})]})}var eg=a(97230),ev=a(71938),ej=a(99796),eT=a.n(ej);function ey(e){var t;let{bond:a,cmsData:i}=e,s=null==i?void 0:null===(t=i.details)||void 0===t?void 0:t[a.product.productId],o=function(e){var t,a,n;let{bond:i,cmsData:s,cmsRate:r=""}=e,o=(0,l.useTranslations)();return[{key:o("sc-bonds.detail.calculator.rate.text"),value:(0,eg.Q)({couponType:i.product.couponType,minCouponPaymentSizePercent:i.product.couponEventsData.minCouponPaymentSizePercent,maxCouponPaymentSizePercent:i.product.couponEventsData.maxCouponPaymentSizePercent,nearestCouponPaymentSizePercent:null===(t=i.product.nearestCoupon)||void 0===t?void 0:t.paymentSizePercent}),tooltip:null!==(a=null==s?void 0:s.rateHint)&&void 0!==a?a:o("sc-bonds.detail.calculator.rate.tooltip"),name:"couponType"},{key:o("sc-bonds.detail.parameters.rate.title"),value:i.product.couponType===u.$i.Fix?"Фиксированная":"Плавающая ставка ".concat(r),name:"rate"},{key:o("sc-bonds.detail.calculator.conditions.price.key"),value:(0,Q.lb)(i.product.productPrice.total),tooltip:null!==(n=null==s?void 0:s.priceHint)&&void 0!==n?n:o("sc-bonds.detail.calculator.conditions.price.hint"),name:"price"},{key:o("sc-bonds.detail.calculator.conditions.redemption-date.key"),value:(0,ev.t)(i.product.redemptionDate),name:"redemptionDate"}]}({bond:a,cmsData:null==s?void 0:s.calculator,cmsRate:null==s?void 0:s.rate});return(0,n.jsx)(N.xu,{children:(0,n.jsxs)(d.T,{dataQa:{element:u.xJ.Block,name:"parameters"},className:eT().wrapper,children:[(0,n.jsx)(e_,{rating:a.product.rating,cmsDetail:s}),(0,n.jsx)(d.T,{tag:"section",dataQa:{element:u.xJ.Block,name:"parametersList"},className:eT().parametersWrapper,children:o.map(e=>(0,n.jsxs)("div",{className:eT().parameterItem,children:[(0,n.jsx)(N.zn,{className:eT().parameterTitle,text:(0,n.jsx)(r.xv,{size:"16",children:e.key}),tooltip:e.tooltip,gap:10}),(0,n.jsx)(d.T,{dataQa:{element:u.xJ.Text,name:"".concat(e.name)},children:(0,n.jsx)(r.xv,{weight:"medium",className:eT().value,children:e.value})})]},e.name))})]})})}var ef=a(82047),eC=a.n(ef);function eS(e){var t,a,i;let{couponType:s,paymentEvents:o,cmsData:c}=e,m=(0,l.useTranslations)(),p=o.filter(e=>e.paid),x=o.filter(e=>!e.paid),h=s===u.$i.Fix?"sc-bonds.detail.calculator.schedule-payment.table.future.caption.fix":"sc-bonds.detail.calculator.schedule-payment.table.future.caption.var";return(0,n.jsxs)(d.T,{dataQa:{element:u.xJ.Table,name:"paymentScheduleTable"},children:[(0,n.jsxs)("table",{className:eC().table,"aria-label":m("sc-bonds.detail.calculator.schedule-payment.title"),children:[(0,n.jsx)("thead",{children:(0,n.jsxs)("tr",{children:[(0,n.jsx)("th",{children:(0,n.jsx)(d.T,{dataQa:{element:u.xJ.Text,name:"date"},children:(0,n.jsx)(r.xv,{size:"16",weight:"medium",children:m("sc-bonds.detail.calculator.schedule-payment.table.date")})})}),(0,n.jsx)("th",{children:(0,n.jsx)(d.T,{dataQa:{element:u.xJ.Text,name:"coupon"},children:(0,n.jsx)(r.xv,{size:"16",weight:"medium",children:m("sc-bonds.detail.calculator.schedule-payment.table.coupon")})})}),(0,n.jsx)("th",{children:(0,n.jsx)(d.T,{dataQa:{element:u.xJ.Text,name:"rate"},children:(0,n.jsx)(r.xv,{size:"16",weight:"medium",children:m("sc-bonds.detail.calculator.schedule-payment.table.rate")})})})]})}),(0,n.jsxs)("tbody",{children:[p.length?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("tr",{children:(0,n.jsxs)("td",{colSpan:3,children:[(0,n.jsx)(d.T,{dataQa:{element:u.xJ.Text,name:"paidTitle"},children:(0,n.jsx)(r.xv,{size:"16",weight:"medium",children:m("sc-bonds.detail.calculator.schedule-payment.table.paid.title")})}),(0,n.jsx)(d.T,{className:"mt-1",dataQa:{element:u.xJ.Caption,name:"paidCaption"},children:(0,n.jsx)(r.YS,{children:null!==(t=null==c?void 0:c.scheduleTablePaidCaption)&&void 0!==t?t:m("sc-bonds.detail.calculator.schedule-payment.table.paid.caption")})})]})}),p.map(e=>(0,n.jsxs)("tr",{children:[(0,n.jsxs)("td",{className:eC().paid,children:[(0,n.jsx)(d.T,{tag:"span",dataQa:{element:u.xJ.Text,name:"paidEventDate"},children:(0,n.jsx)(r.xv,{size:"16",weight:"medium",children:(0,_.tm)(e.eventDate)})}),(0,n.jsx)(y.IconFdsCheckCircleO,{className:eC().icon,size:"20"})]}),(0,n.jsx)("td",{children:(0,n.jsx)(d.T,{dataQa:{element:u.xJ.Text,name:"paidPaymentSize"},children:(0,n.jsx)(r.xv,{size:"16",weight:"medium",children:(0,Q.lb)(e.paymentSize)})})}),(0,n.jsx)("td",{children:(0,n.jsx)(d.T,{dataQa:{element:u.xJ.Text,name:"paidPaymentSizePercent"},children:(0,n.jsx)(r.xv,{size:"16",weight:"medium",children:(0,Q.og)(e.paymentSizePercent)})})})]},e.eventDate))]}):null,x.length?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("tr",{children:(0,n.jsxs)("td",{colSpan:3,children:[(0,n.jsx)(d.T,{dataQa:{element:u.xJ.Text,name:"futureTitle"},children:(0,n.jsx)(r.xv,{size:"16",weight:"medium",children:m("sc-bonds.detail.calculator.schedule-payment.table.future.title")})}),(0,n.jsx)(d.T,{className:"mt-1",dataQa:{element:u.xJ.Caption,name:"futureCaption"},children:(0,n.jsx)(r.YS,{children:null!==(a=null==c?void 0:c.scheduleTableFutureCaption)&&void 0!==a?a:m(h)})})]})}),x.map(e=>(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:(0,n.jsx)(d.T,{dataQa:{element:u.xJ.Text,name:"futureEventDate"},children:(0,n.jsx)(r.xv,{size:"16",weight:"medium",children:(0,_.tm)(e.eventDate)})})}),(0,n.jsx)("td",{children:(0,n.jsx)(d.T,{dataQa:{element:u.xJ.Text,name:"futurePaymentSize"},children:(0,n.jsx)(r.xv,{size:"16",weight:"medium",children:(0,Q.lb)(e.paymentSize)})})}),(0,n.jsx)("td",{children:(0,n.jsx)(d.T,{dataQa:{element:u.xJ.Text,name:"futurePaymentSizePercent"},children:(0,n.jsx)(r.xv,{size:"16",weight:"medium",children:(0,Q.og)(e.paymentSizePercent)})})})]},e.eventDate))]}):null]})]}),(0,n.jsx)(d.T,{dataQa:{element:u.xJ.Text,name:"scheduleTableDisclaimer"},children:(0,n.jsx)(r.xv,{className:eC().note,size:"12",children:null!==(i=null==c?void 0:c.scheduleTableDisclaimer)&&void 0!==i?i:m("sc-bonds.detail.calculator.schedule-payment.table.disclaimer")})})]})}var eN=a(96369),ek=a(23740),eA=a.n(ek);function eB(e){var t;let{className:a,couponType:s,couponEvents:c,cmsData:m}=e,p=(0,l.useTranslations)(),x=(0,eN.J)(),h=Array.from(new Set(c.map(T))).map(e=>({id:e,label:e})),[b,_]=(0,i.useState)(function(e){var t;let a=new Date().getFullYear().toString(),n=e.find(e=>e.id===a);return null!==(t=null==n?void 0:n.id)&&void 0!==t?t:e[0].id}(h)),g=function(){var e,t;let a=s===u.$i.Var;return[{key:p("sc-bonds.detail.calculator.schedule-payment.frequency.key"),value:null!==(e=null==m?void 0:m.schedulePaymentFrequency)&&void 0!==e?e:p("sc-bonds.detail.calculator.schedule-payment.frequency.value")},{key:p("sc-bonds.detail.calculator.schedule-payment.coupon-type.key"),value:null!==(t=null==m?void 0:m.scheduleCouponType)&&void 0!==t?t:p(a?"sc-bonds.common.coupon-type.var":"sc-bonds.common.coupon-type.fix")}]}(),v=c.filter(e=>T(e)===b),j=p("sc-bonds.detail.calculator.schedule-payment.paid.title",{paidCount:c.filter(e=>e.paid).length,count:c.length});function T(e){return new Date(e.eventDate).getFullYear().toString()}return(0,n.jsx)(N.xu,{className:a,children:(0,n.jsxs)(d.T,{dataQa:{element:u.xJ.Block,name:"paymentSchedule"},children:[(0,n.jsx)(r.X6,{className:"mb-6 mb-m-8",type:"h2",dataQa:x({element:u.xJ.Header,name:"paymentSchedule"}),children:p("sc-bonds.detail.calculator.schedule-payment.title")}),(0,n.jsxs)("div",{children:[(0,n.jsx)(d.T,{className:eA().description,tag:"p",dataQa:{element:u.xJ.Text,name:"paymentScheduleDescription"},children:p("sc-bonds.detail.calculator.schedule-payment.description")}),(0,n.jsx)(L,{className:"mb-6 mb-m-8",conditions:g}),(0,n.jsx)(d.T,{className:"mb-1",dataQa:{element:u.xJ.Header,name:"paidCouponsText"},children:(0,n.jsx)(r.X6,{type:"h3",children:j})}),(0,n.jsx)(d.T,{className:"mb-5 mb-m-6",dataQa:{element:u.xJ.Caption,name:"schedulePaymentCaption"},children:(0,n.jsx)(r.YS,{children:null!==(t=null==m?void 0:m.scheduleCaption)&&void 0!==t?t:p("sc-bonds.detail.calculator.schedule-payment.caption")})}),(0,n.jsx)(d.T,{className:"mb-4",dataQa:{element:u.xJ.Chips,name:"schedulePaymentChips"},children:(0,n.jsx)(o.cL,{size:"m",value:b,chips:h,onChipClick:function(e){_(e)}})}),(0,n.jsx)(eS,{couponType:s,paymentEvents:v,cmsData:m})]})]})})}var eP=a(33145),ew=a(78014),eI=a.n(ew),eQ={src:"/invest/bonds/_next/static/media/purchase-step-1.08d752f8.png",height:400,width:600,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAjElEQVR42mMAgSZlM1aG1ikaE/Ydi9p//koYSOzouUvMDHBgESQ5fd6q9x+WrPz/bNeB+zDhUxcvMTL837efiYGBgW1RQ8e1DTXN/3s7e79s2LJp0vlz54IZQKBm3iKwgtDqep/6iZNerFi18v/Bgwf/nDlzpowBHVw4sF/x3LlzySkZmXwg/v///xkBfLw+MwWCgNAAAAAASUVORK5CYII=",blurWidth:8,blurHeight:5},eJ={src:"/invest/bonds/_next/static/media/purchase-step-2.f2e9c79a.png",height:400,width:600,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAmElEQVR42mN4fuYiIwMQHPr/n+nF5x/GtlkTqhgYylUZgGBiVxYzw9l3P5kYgODxwxeTH99/+v/oyatni1uam/7/Z+BmgIFdDAxBrw4cOfXu6s3/j04s/X92i9T///f5JzLAwBIhdemt5k7Nd0/dV/l6jXvOq9MM//8/4vVjAIHPDO6MDCDAzsAGVc/54aKsMgMQ/P8vzQgAww4/WZ7rpUQAAAAASUVORK5CYII=",blurWidth:8,blurHeight:5},ez={src:"/invest/bonds/_next/static/media/purchase-step-3.e003d541.png",height:400,width:600,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAkUlEQVR42mMAgeXT5wi25NWaMTC4MzKAwP//jM+TMlkZYKCqcbJJtU/qz60MqjduMEidOsrAMPklA4MiXMGWwHSpuQwMEa/9A3f8mDjp/99Jk/7/j49vhiv4b2fn/L+h4ff/7u4f/6dN+/9/6tT//4qLl8IV/DUwVAEK9PwtLW38ExdX8zczs/1TTEwQAwMDAwAJLzv+bdl1bAAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:5};function eL(e){let{link:t}=e,a=(0,l.useTranslations)(),i=[{text:a("sc-bonds.detail.purcase-steps.step-1.text"),imageSrc:eQ},{text:a("sc-bonds.detail.purcase-steps.step-2.text"),imageSrc:eJ},{text:a("sc-bonds.detail.purcase-steps.step-3.text"),imageSrc:ez}];return(0,n.jsx)(d.T,{id:"how-to-buy-bonds",className:eI().section,tag:"section",dataQa:{element:u.xJ.Block,name:"purchaseStepCards"},children:(0,n.jsxs)(r.W2,{children:[(0,n.jsx)(d.T,{dataQa:{element:u.xJ.Header,name:"title"},children:(0,n.jsx)(r.X6,{type:"display",as:"h2",className:eI().heading,children:a("sc-bonds.detail.purcase-steps.title")})}),(0,n.jsx)(d.T,{className:eI().cards,tag:"ul",dataQa:{element:u.xJ.List,name:"list"},children:i.map(e=>{let{text:t,imageSrc:a}=e;return(0,n.jsxs)(d.T,{className:eI().card,tag:"li",dataQa:{element:u.xJ.Block,name:"listItem"},children:[(0,n.jsx)(r.xv,{className:eI().cardText,size:"16",weight:"medium",as:"p",children:t}),(0,n.jsx)(eP.default,{src:a,width:"300",height:"200",alt:""})]},t)})}),(0,n.jsx)(d.T,{dataQa:{element:u.xJ.Link,name:"purchaseLink"},children:(0,n.jsx)(o.zx,{className:eI().buyButton,label:a("sc-bonds.detail.purcase-steps.buy-button.label"),variant:"purple",size:"m",as:"a",href:t,stretch:!0})})]})})}var eD=a(43952),eM=a.n(eD);function eE(e){var t;let{bond:a,cmsData:c}=e,m=(0,s.useRouter)(),p=(0,s.useSearchParams)(),x=(0,l.useTranslations)(),h=[{href:"/",label:x("sc-bonds.common.breadcrumbs.path.main")},{href:E.pY,label:x("sc-bonds.common.breadcrumbs.path.app")},{label:a.product.displayName}],b=null==c?void 0:null===(t=c.details)||void 0===t?void 0:t[a.product.productId],_=Number(p.get("count")),g=Number.isFinite(_)&&Number.isInteger(_)&&_>0?_:a.limits.minProductCount,[v,j]=(0,i.useState)(g),[T,y]=(0,i.useState)(g*a.product.productPrice.total),f=(0,D.w)(a,v);return(0,i.useEffect)(()=>{(0,X.T)("invest_bonds__detail","page_view__detail",{eventLabel:a.product.productId})},[]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(r.W2,{children:[(0,n.jsx)(d.T,{dataQa:{element:u.xJ.Breadcrumbs,name:"detailBreadcrumbs"},children:(0,n.jsx)(o.Oo,{className:"mb-2 mb-l-0 py-4",items:h,onClick:function(e,t){t===E.pY&&(null==e||e.preventDefault(),m.push("/"))}})}),(0,n.jsxs)("div",{className:eM().container,children:[(0,n.jsx)(el,{bond:a,cmsRate:null==b?void 0:b.rate}),(0,n.jsxs)("div",{className:eM().content,children:[(0,n.jsxs)("div",{className:eM().leftColumn,children:[(0,n.jsx)(ey,{bond:a,cmsData:c}),(null==b?void 0:b.advantages)&&(0,n.jsx)(I,{items:null==b?void 0:b.advantages}),(0,n.jsx)(eB,{className:eM().paymentSchedule,couponType:a.product.couponType,couponEvents:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e.map(e=>({...e,paymentSize:e.paymentSize*t}))}(a.product.couponEventsData.events,v),cmsData:null==b?void 0:b.calculator})]}),(0,n.jsx)(q,{bond:a,count:v,amount:T,cmsData:null==b?void 0:b.calculator,onCountChange:j,onAmountChange:y})]}),(0,n.jsx)(B,{bond:a,cmsData:c})]})]}),(0,n.jsx)(eL,{link:f})]})}},5083:function(e,t,a){"use strict";a.d(t,{T:function(){return s}});var n=a(57437),i=a(96369);function s(e){let{tag:t="div",children:a,dataQa:s,className:l,...r}=e,o=(0,i.J)()(s),c="string"==typeof t,d={...r,...c?{"data-qa":o}:{dataQa:o}};return(0,n.jsx)(t,{className:l,...d,children:a})}},16024:function(e,t,a){"use strict";a.d(t,{xu:function(){return c},Zb:function(){return _},Sr:function(){return y},TR:function(){return k},zn:function(){return P}});var n,i,s=a(57437),l=a(61994),r=a(57707),o=a.n(r);function c(e){let{className:t,variant:a="primary",children:n}=e;return(0,s.jsx)("div",{className:(0,l.Z)(o().box,{[o()["box--primary"]]:"primary"===a,[o()["box--secondary"]]:"secondary"===a},t),children:n})}(n=i||(i={})).Primary="primary",n.Secondary="secondary";var d=a(80684),u=a(35563),m=a(5083),p=a(15894),x=a(3790),h=a.n(x);let b={IconFdsThumbUpO:d.IconFdsThumbUpO,IconFdsPercentCircleO:d.IconFdsPercentCircleO,IconFdsChartGrowthSquareO:d.IconFdsChartGrowthSquareO,IconFdsCheckCircleO:d.IconFdsCheckCircleO};function _(e){var t;let{title:a,icon:n,className:i,children:l}=e,r=null!==(t=b[null!=n?n:"IconFdsCheckCircleO"])&&void 0!==t?t:"IconFdsCheckCircleO";return(0,s.jsx)(m.T,{className:i,dataQa:{element:p.xJ.Block,name:"card"},children:(0,s.jsxs)(c,{className:h().card,children:[(0,s.jsxs)("div",{className:h().titleContainer,children:[n&&(0,s.jsx)(m.T,{dataQa:{element:p.xJ.Icon,name:"cardIcon"},children:(0,s.jsx)(r,{className:h().icon})}),(0,s.jsx)(m.T,{dataQa:{element:p.xJ.Header,name:"cardTitle"},children:(0,s.jsx)(u.X6,{type:"h3",as:"div",children:a})})]}),l]})})}var g=a(2265),v=a(75461),j=a(96981),T=a.n(j);function y(e){let{text:t,expandedText:a,className:n}=e,[i,r]=(0,g.useState)(!1);return(0,s.jsxs)(m.T,{className:(0,l.Z)(T().wrapper,n),dataQa:{element:p.xJ.Block,name:"expandedContent"},children:[(0,s.jsx)(m.T,{tag:"p",dataQa:{element:p.xJ.Text,name:"text"},children:t}),(0,s.jsx)("div",{className:(0,l.Z)(T().grid,{[T().open]:i}),children:(0,s.jsx)(m.T,{className:T().gridInner,tag:"p",dataQa:{element:p.xJ.Text,name:"expandedText"},children:a})}),(0,s.jsx)(m.T,{dataQa:{element:p.xJ.Button,name:"expandButton"},children:(0,s.jsx)(v.rU,{text:i?"Свернуть":"Показать еще",as:"button",type:"button",onClick:function(){r(e=>!e)}})})]})}var f=a(33145),C={src:"/invest/bonds/_next/static/media/no-logo.aee2f188.svg",height:32,width:32,blurWidth:0,blurHeight:0},S=a(82919),N=a.n(S);let k=(0,g.memo)(function(e){let{src:t,alt:a,size:n=46,className:i}=e,[r,o]=(0,g.useState)(!1);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(g.Suspense,{children:(0,s.jsx)(f.default,{"data-qa":"logo-image",className:(0,l.Z)(N().logoImage,!r&&N().hidden,i),src:null!=t?t:C,alt:a,width:n,height:n,onLoad:function(e){let{currentTarget:t}=e;t.naturalWidth>0&&o(!0)},unoptimized:!0})}),(0,s.jsx)(f.default,{"data-qa":"logo-no-logo-image",className:(0,l.Z)(N().logoImage,r&&N().notDisplayed,i),src:C,alt:"Логотип не загрузился",width:n,height:n})]})});k.displayName="Logo";var A=a(93333),B=a.n(A);function P(e){let{text:t,tooltip:a,gap:n=6,hintSize:i=20,hintColor:r="var(--color-gray-800)",className:o}=e;return(0,s.jsxs)(m.T,{className:(0,l.Z)(B().wrapper,o),style:{gap:"".concat(n,"px")},dataQa:{element:p.xJ.Block,name:"textWithHint"},children:[(0,s.jsx)(m.T,{dataQa:{element:p.xJ.Text,name:"text"},children:t}),a?(0,s.jsx)(m.T,{dataQa:{element:p.xJ.Hint,name:"hint"},children:(0,s.jsxs)(v.kW,{className:B().hint,text:a,position:"top",auto:!1,inverted:!0,children:[(0,s.jsx)("span",{className:"visually-hidden",children:"Подробнее"}),(0,s.jsx)(d.IconFdsQuestionCircleO,{size:i,style:{fontSize:"".concat(i,"px"),color:r}})]})}):null]})}},96369:function(e,t,a){"use strict";a.d(t,{J:function(){return r}});var n=a(2265),i=a(99376),s=a(42798),l=a.n(s);function r(){let e=(0,i.useParams)(),t=(0,i.usePathname)();return(0,n.useCallback)(a=>{let{prefix:n,element:i,name:s,index:r}=a,o=t.split("/").filter(e=>e).map(t=>{var a;return null!==(a=Object.keys(e).find(a=>e[a]===t))&&void 0!==a?a:t});o.unshift("bonds");let c=o.join("-"),d=l()(s),u=void 0!==r?"-".concat(function(e){if(Number.isNaN(e)||e<0)throw Error("Incorrect value '".concat(e,"' for the property 'index'. Must be a number and >= 0}"));return e}(r)):"";return"".concat(n?"".concat(n,"-"):"").concat(c,"-").concat(i,"-").concat(d).concat(u)},[e,t])}},1883:function(e,t,a){"use strict";a.d(t,{T:function(){return l}});var n=a(30631);let i=a(64131).Z.get("auth.gtm_customer_id"),s=e=>{(0,n.AB)(e)};function l(e,t,a){s({event:"data_event",customer_id:i,eventCategory:e,eventAction:t,eventLabel:null==a?void 0:a.eventLabel,eventValue:null==a?void 0:a.eventValue})}},77386:function(e){e.exports={aboutContent:"About_aboutContent__BFZBF"}},62449:function(e){e.exports={desktopTabs:"DesktopTabs_desktopTabs__4Z0Y_",desktopTabsTable:"DesktopTabs_desktopTabsTable__oBYvr",active:"DesktopTabs_active__U23bf",desktopTabsTableCellGrid:"DesktopTabs_desktopTabsTableCellGrid__Y8Xge"}},83145:function(e){e.exports={list:"Lists_list__jHwK3",listTitle:"Lists_listTitle__VwcHf"}},65990:function(e){e.exports={mobileTabs:"MobileTabs_mobileTabs__uAHdg",mobileTabsButton:"MobileTabs_mobileTabsButton__aQBCc",last:"MobileTabs_last__RWfiH",modal:"MobileTabs_modal__Tf0wS",modalContentList:"MobileTabs_modalContentList__5vMtQ",modalContentListItem:"MobileTabs_modalContentListItem__zF65l"}},88358:function(e){e.exports={list:"Advantages_list__PIwgX",listItem:"Advantages_listItem__GCBvA",bullet:"Advantages_bullet__Cy_8X",icon:"Advantages_icon__eX0gp",title:"Advantages_title__GHvNL"}},2824:function(e){e.exports={container:"BondConditions_container__cYeUv",condition:"BondConditions_condition__D1bbI",key:"BondConditions_key__22GDM",value:"BondConditions_value__KXNEZ",hintButton:"BondConditions_hintButton__HJrp_"}},8307:function(e){e.exports={buttons:"BondDetailCalculator_buttons__BqJRA"}},69050:function(e){e.exports={wrapper:"BondRating_wrapper__4W_f1",description:"BondRating_description__d7D1U",ratingTitle:"BondRating_ratingTitle__HKTrS",ratingIndicators:"BondRating_ratingIndicators__b0esM",cmsRate:"BondRating_cmsRate__thn57"}},82367:function(e){e.exports={ratingIndicators:"RatingIndicators_ratingIndicators__KWiwf",ratingSegment:"RatingIndicators_ratingSegment__xcibq",active:"RatingIndicators_active__7NIOZ"}},28009:function(e){e.exports={rating:"RatingTitle_rating__2bVIa",infoIcon:"RatingTitle_infoIcon__r8Pfa",content:"RatingTitle_content__HCOgS",info:"RatingTitle_info__dJeb2",descriptionWrapper:"RatingTitle_descriptionWrapper__zXJnh",active:"RatingTitle_active__KwzH9"}},2950:function(e){e.exports={container:"Calculator_container__nW8iy"}},88159:function(e){e.exports={container:"CalculatorLabels_container__TWZ1X",value:"CalculatorLabels_value__2a_Uy",yieldValue:"CalculatorLabels_yieldValue__MFrlr"}},43952:function(e){e.exports={container:"Detail_container__EmmmD",content:"Detail_content__2ZoKw",leftColumn:"Detail_leftColumn__5N4dS",paymentSchedule:"Detail_paymentSchedule__mbxsR"}},2647:function(e){e.exports={aboutContainer:"common_aboutContainer__4Rs7X",aboutValueDescription:"common_aboutValueDescription__Bs6Lq"}},7558:function(e){e.exports={header:"DetailHeader_header__geU5v",headerTitleWrapper:"DetailHeader_headerTitleWrapper__ZwuwQ",headerSubtitleWrapper:"DetailHeader_headerSubtitleWrapper__HPTpu",headerSubtitle:"DetailHeader_headerSubtitle__GueRG",headerShare:"DetailHeader_headerShare__mGfBg",headerBadges:"DetailHeader_headerBadges__9WiPr",headerMobileBadge:"DetailHeader_headerMobileBadge__FOwjD",headerDesktopBadge:"DetailHeader_headerDesktopBadge__A7T7Q",socialShareLinks:"DetailHeader_socialShareLinks__Yv50V"}},99796:function(e){e.exports={wrapper:"Parameters_wrapper__bonS4",parametersWrapper:"Parameters_parametersWrapper__VrBi0",parameterItem:"Parameters_parameterItem__mlEQ9",parameterTitle:"Parameters_parameterTitle__SHx_O"}},23740:function(e){e.exports={description:"PaymentSchedule_description__WVpOE"}},82047:function(e){e.exports={table:"PaymentScheduleTable_table__QO_NP",paid:"PaymentScheduleTable_paid___W38h",icon:"PaymentScheduleTable_icon__znZLm",note:"PaymentScheduleTable_note__ggP7p"}},78014:function(e){e.exports={section:"PurchaseStepCards_section__4XdIA",heading:"PurchaseStepCards_heading__xwx0H",cards:"PurchaseStepCards_cards__b6MD9",card:"PurchaseStepCards_card__CZKp2",cardText:"PurchaseStepCards_cardText__uVsvU",buyButton:"PurchaseStepCards_buyButton__eZkjQ"}},19517:function(e){e.exports={shareWrapper:"SocialShareLinks_shareWrapper__zS7TV",shareButton:"SocialShareLinks_shareButton__DlK8_",shareButtonOpen:"SocialShareLinks_shareButtonOpen__iSVBq",shareSocialList:"SocialShareLinks_shareSocialList__oFkNy",open:"SocialShareLinks_open__zikGU",visible:"SocialShareLinks_visible__Lk9xg",shareSocialButton:"SocialShareLinks_shareSocialButton__cUPTN"}},57707:function(e){e.exports={box:"Box_box__U3pTk","box--primary":"Box_box--primary__bmk_7","box--secondary":"Box_box--secondary__E8F3g"}},3790:function(e){e.exports={card:"Card_card__S3kD8",titleContainer:"Card_titleContainer__x03lb",icon:"Card_icon__1OSHf"}},96981:function(e){e.exports={wrapper:"ExpandedContent_wrapper__AHH29",grid:"ExpandedContent_grid__gVwbJ",open:"ExpandedContent_open__IA7BE",gridInner:"ExpandedContent_gridInner__wLPJ_"}},82919:function(e){e.exports={logoImage:"Logo_logoImage__k98yw",notDisplayed:"Logo_notDisplayed__wxRml",hidden:"Logo_hidden__EbuIV"}},93333:function(e){e.exports={wrapper:"TextWithHint_wrapper__37Xpq",hint:"TextWithHint_hint__0_S4x"}}},function(e){e.O(0,[2347,3087,2293,187,4131,207,3544,5501,4459,3937,5166,4157,5878,9362,7986,5214,8725,2971,2117,1744],function(){return e(e.s=33169)}),_N_E=e.O()}]);