(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3556,4345],{5637:e=>{e.exports={image:"LogoWithFallback_image__15IHP"}},12325:(e,t,a)=>{"use strict";a.d(t,{v:()=>n});var i=a(39587);let n={[i.Qk.OneMonth]:"1 месяц",[i.Qk.ThreeMonths]:"3 месяца",[i.Qk.SixMonth]:"6 месяцев",[i.Qk.OneYear]:"12 месяцев",[i.Qk.ThreeYears]:"3 года",[i.Qk.FiveYears]:"5 лет"}},16984:(e,t,a)=>{"use strict";a.d(t,{Q:()=>n});var i=a(12115);function n(){let[e,t]=(0,i.useState)(null),[a,n]=(0,i.useState)(void 0);return{isInfoModalOpen:"info"===e,isBuyModalOpen:"buy"===e,selectedItem:a,handleInfoModalOpen:function(e){n(e),t("info")},handleBuyModalOpen:function(e){n(e),t("buy")},handleSwitchToBuy:function(){t("buy")},handleModalClose:function(){t(null),n(void 0)}}}},17421:e=>{e.exports={container:"HistoricalYield_container__ZY3LP",description:"HistoricalYield_description__qdLGN",tiles:"HistoricalYield_tiles___mXFA"}},19959:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>p});var i=a(95155),n=a(15239),l=a(86116),o=a(92524),c=a(65349),s=a(88224),r=a.n(s);let d={src:"/brokers/_next/static/media/404.16e2df22.png",height:278,width:466,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAMAAABPT11nAAAAVFBMVEVMaXGyuq2op590inxAO0MeHyySl5WrrqUkJTJTNkCVo5pwUlGy/tR8zqiM8r+N6L8sMDrq7N1+xJ8+TlWJzapFW12I5LU0OUHLtq+R3bKi/+f28+V7keFJAAAAG3RSTlMAn+aV8fn+8+BBy5pxLxRl4umdn0725NHgrgsefYNZAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAMUlEQVR4nGNgAAMpPgYGTk5uZhEhMQZeDg4WdlEWSQYedi52CQFWfgZGaSY2QXFWYQAfMwGjqDxoaQAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:5},_={src:"/brokers/_next/static/media/404m.538db058.png",height:192,width:317,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAMAAABPT11nAAAAUVBMVEVMaXGy/NGQlZO2ubEfIS2G+cCqqaEoKTarraaK4bqXoZo7ITNAPUWV2rQ5QUo1OEHs7N12UVWBz6d3lYNDWVuN1axEPkVqXFfJs66I4bPu7N2D8/ILAAAAGnRSTlMAavqQ+yfd4/JEyEX3fo/M2kXLpe1j7qDhtAcBy5MAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAxSURBVHicY2AAA1ZWBgZuQXFhUSFJBk52djEOER5eBkYOLg4JdhZOBmYpNiYBfhY+AB9SAZALz6vhAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:5},u=()=>{let e=(0,c.px)("NEXT_PUBLIC_BASE_URL");return(0,i.jsx)(l.mc,{as:"section",children:(0,i.jsxs)("div",{className:r().wrapper,children:[(0,i.jsx)(n.default,{className:r().img,src:d,width:464,height:278,alt:"cats"}),(0,i.jsx)(n.default,{className:r().imgM,src:_,width:316,height:191,alt:"cats"}),(0,i.jsxs)("div",{className:r().main,children:[(0,i.jsxs)("div",{className:r().text,children:[(0,i.jsx)("h1",{children:"Извините, страница не найдена"}),(0,i.jsx)("p",{children:"Но на нашем сайте еще много интересного"})]}),(0,i.jsx)(o.$n,{className:r().button,as:"a",label:"На главную",href:e})]})]})})};a(61897),(0,a(12115).cache)(e=>fetch("".concat((0,c.px)("NEXT_PUBLIC_BASE_URL"),"/brokers/api/ticker?tickerCode=").concat(e),{method:"GET",headers:{"Content-Type":"application/json"}}).then(e=>e.json())),a(75606),a(97090),a(23959),a(66358),a(53334),a(40759),a(68756),a(86630),a(74732),a(42324),a(35785),a(81762),a(34394),a(45818),a(40744),a(81336),a(18148);let p=function(){return(0,i.jsx)(u,{})}},39214:(e,t,a)=>{"use strict";a.d(t,{s:()=>d});var i=a(95155),n=a(12115),l=a(1067),o=a(39945),c=a(86116),s=a(92524),r=a(97090);function d(e){let{isOpen:t,onClose:a,serverConfig:d,collectionId:_}=e,u=(0,r.p)("NEXT_PUBLIC_BASE_LK_URL"),p=(0,r.p)("NEXT_PUBLIC_PL_LK_API_URL"),m=(0,r.p)("NEXT_PUBLIC_S3_ASSETS"),h="".concat(u,"/investment/advisory/bpif/").concat(_,"/purchase"),[x,g]=(0,n.useState)(null!=d?d:null);return(0,n.useEffect)(()=>{d||e();async function e(){g(await (0,l.g)(p,"bpif-widget"))}},[p,d]),(0,i.jsx)(s.aF,{dataQa:"brokers-bpif-collections-buy-modal",open:t,onClose:a,children:x?(0,i.jsx)(o.S,{baseUrl:u,s3AssetsUrl:m,serverConfig:x,config:{variant:"secondary",primaryTextOverride:"Войти и купить",linkTarget:"_self"},scenarioParams:{targetUri:h},isSilent:!0,entryPointId:"brokers-sc-landing"}):(0,i.jsx)(c.EA,{height:500,style:{width:"100%"}})})}},39587:(e,t,a)=>{"use strict";a.d(t,{Qk:()=>n,XN:()=>i});var i=function(e){return e.Bpif="bpif",e.Mix="mix",e}({}),n=function(e){return e.OneMonth="ONE_MONTH",e.ThreeMonths="THREE_MONTHS",e.SixMonth="SIX_MONTH",e.OneYear="ONE_YEAR",e.ThreeYears="THREE_YEARS",e.FiveYears="FIVE_YEARS",e}({})},40744:e=>{e.exports={wrapper:"Err503_wrapper__KNhwn",img:"Err503_img__Z0JCa",imgM:"Err503_imgM__3Fkhd",main:"Err503_main__6VLoS",text:"Err503_text__WadrX",button:"Err503_button__t_s7z"}},41305:e=>{e.exports={default:"ColoredYield_default__DORcY",positive:"ColoredYield_positive__N8ByC",negative:"ColoredYield_negative__SOpQt"}},41872:(e,t,a)=>{"use strict";a.d(t,{I:()=>r});var i=a(95155),n=a(86116),l=a(2821),o=a(1591),c=a(41305),s=a.n(c);function r(e){let{size:t,weight:a,fontFamily:c,dataQa:r,className:d,value:_}=e,u=null===_||0===_?"default":_>0?"positive":"negative",p=null===_?"—":_>0?"+".concat((0,o.CE)(_)):(0,o.CE)(_);return(0,i.jsx)(n.EY,{dataQa:r,size:t,weight:a,fontFamily:c,className:(0,l.A)(s()[u],d),children:p})}},42658:e=>{e.exports={container:"ScaleLegend_container__m07G5",row:"ScaleLegend_row__WVcuq",group:"ScaleLegend_group__x2epb",name:"ScaleLegend_name__imq3n",dot:"ScaleLegend_dot__3LNit",icon:"ScaleLegend_icon__hBgCr"}},50181:e=>{e.exports={wrapper:"MultiLogo_wrapper__NOIMh",item:"MultiLogo_item___xycQ"}},67823:e=>{e.exports={modalContent:"CollectionModal_modalContent__bV8iS",container:"CollectionModal_container__l9XPy",parameter:"CollectionModal_parameter__IJ67_",parameter__label:"CollectionModal_parameter__label___cBZp",parameter__hint:"CollectionModal_parameter__hint__cjbjf",disclaimer:"CollectionModal_disclaimer__CPqka",disclaimer__caption:"CollectionModal_disclaimer__caption__L8XyH",methodology:"CollectionModal_methodology__nJaiZ"}},71542:(e,t,a)=>{"use strict";a.d(t,{G:()=>O});var i=a(95155),n=a(76048),l=a(86116),o=a(92524),c=a(12115),s=a(2821);let r=["#0A84FF","#30D158","#FF453A","#FF9F0A"];var d=a(91242),_=a.n(d);function u(e){let{securities:t}=e;return(0,i.jsx)("div",{className:_().container,"data-qa":"scale",children:t.map((e,t)=>{let{securityType:a,ticker:n,name:l,weightPercent:o}=e;return(0,i.jsx)("div",{className:_().segment,style:{flexGrow:o/100,backgroundColor:r[t]}},"".concat(n,"-").concat(a,"-").concat(l))})})}var p=a(1591),m=a(65349),h=a(42658),x=a.n(h);function g(e){let{securities:t,asLink:a=!0}=e,c="scale-legend",s=(0,m.px)("NEXT_PUBLIC_BASE_URL"),d=(e,t)=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:x().group,children:[(0,i.jsx)("span",{className:x().dot,style:{backgroundColor:r[t]}}),(0,i.jsx)(l.EY,{size:"14",className:x().name,dataQa:"".concat(c,"-item-name"),children:e.name})]}),(0,i.jsxs)("div",{className:x().group,children:[(0,i.jsx)(l.HL,{size:"m",dataQa:"".concat(c,"-item-weight"),children:(0,p.CE)(e.weightPercent)}),a&&(0,i.jsx)(n.IconFdsChevronRightO,{size:"16",className:x().icon})]})]});return(0,i.jsx)("div",{className:x().container,"data-qa":c,children:t.map((e,t)=>{let n="".concat(s,"/brokers/kupit-aktsii/").concat(e.securityType.toLowerCase(),"/").concat(e.ticker);return a?(0,i.jsx)(o.N_,{href:n,className:x().row,dataQa:"".concat(c,"-item-link"),target:"_blank",children:d(e,t)},n):(0,i.jsx)("div",{className:x().row,children:d(e,t)},n)})})}var A=a(93803),b=a.n(A);function y(e){let{securities:t,asLink:a}=e;return(0,i.jsxs)("div",{className:b().wrapper,children:[(0,i.jsx)(u,{securities:t}),(0,i.jsx)(g,{securities:t,asLink:a})]})}var v=a(39587),f=a(81559),j=a.n(f);function N(e){let{securities:t,collectionType:a}=e,o="brokers-kupit-aktsii-".concat(a,"-collections-params"),[r,d]=(0,c.useState)("assets"),_=a===v.XN.Mix,u=(0,c.useMemo)(()=>Object.values(t.reduce((e,t)=>{var a,i,n;let l=null!=(a=e[t.securityType])?a:{name:null!=(n=({BOND:"Облигация",STOCK:"Акция",FUND:"Фонд",CURRENCY:"Валюта",METAL:"Металл"})[i=t.securityType])?n:i,ticker:t.securityType,securityType:t.securityType,weightPercent:0};return{...e,[t.securityType]:{...l,weightPercent:l.weightPercent+t.weightPercent}}},{})),[t]),p="types"===r?u:t;return(0,i.jsxs)("div",{"data-qa":o,className:j().wrapper,children:[(0,i.jsx)(l.DZ,{type:"h4",dataQa:"".concat(o,"-title"),children:"Состав подборки"}),_&&(0,i.jsxs)("div",{className:j().tabs,role:"tablist","aria-label":"Состав подборки",children:[(0,i.jsxs)("button",{className:(0,s.A)(j().tab,"assets"===r&&j().tab_active),type:"button",role:"tab","aria-selected":"assets"===r,onClick:()=>d("assets"),children:[(0,i.jsx)(n.IconFdsTextParagraphO,{size:16,style:{color:"#52CC80"}})," Активы"]}),(0,i.jsxs)("button",{className:(0,s.A)(j().tab,"types"===r&&j().tab_active),type:"button",role:"tab","aria-selected":"types"===r,onClick:()=>d("types"),children:[(0,i.jsx)(n.IconFdsPieChartCircleO,{size:16,style:{color:"#FAD028"}})," Типы"]})]}),(0,i.jsx)(y,{securities:p,asLink:"assets"===r})]})}var k=a(41872),C=a(95903),E=a.n(C);function w(e){let{caption:t,yieldRate:a}=e;return(0,i.jsxs)("div",{className:E().card,"data-qa":"yield-tile",children:[(0,i.jsx)(l.HL,{size:"s",dataQa:"yield-tile-caption",children:t}),(0,i.jsx)(k.I,{size:"18",weight:"medium",fontFamily:"primary",value:a,dataQa:"yield-tile-label"})]})}var M=a(17421),S=a.n(M);function L(e){let{historicalYield:t,description:a}=e,n=function(e){let{historicalYieldQuarter:t,historicalYieldHalfYear:a,historicalYieldYear:i}=e;return[{yieldRate:t,caption:"3 месяца"},{yieldRate:a,caption:"6 месяцев"},{yieldRate:i,caption:"12 месяцев"}]}(t);return(0,i.jsxs)("div",{"data-qa":"block-historical-yield",className:S().container,children:[(0,i.jsx)(l.EY,{as:"h4",size:"18",weight:"medium",dataQa:"header-historical-yield",children:"Историческая доходность"}),a&&(0,i.jsx)(l.EY,{size:"16",className:S().description,dataQa:"caption-historical-yield",children:a}),(0,i.jsx)("div",{"data-qa":"block-historical-yield-tiles",className:S().tiles,children:n.map(e=>{let{caption:t,yieldRate:a}=e;return(0,i.jsx)(w,{caption:t,yieldRate:a},t)})})]})}var T=a(50277),Q=a(69226),Y=a(76514),U=a(67823),B=a.n(U);function F(e){let{icon:t}=e;return(0,i.jsx)(t,{size:24,style:{paddingTop:"2px"}})}function O(e){var t,a,c,s;let{collection:r,disclaimer:d,isModalOpen:_,onModalClose:u,methodology:m,onBuyClick:h,actionButton:x,collectionType:g}=e,A="brokers-kupit-aktsii-".concat(g,"-collections-modal"),b=function(e){let{historicalYieldMonth:t,historicalYieldQuarter:a,historicalYieldHalfYear:i,historicalYieldYear:n,historicalYieldThreeYear:l,historicalYieldFiveYear:o}=e;return[t,a,i,n,l,o].filter(e=>!!e).length>0}(r.historicalYield),y=function(e,t){var a;let i="brokers-kupit-aktsii-".concat(null!=t?t:v.XN.Bpif,"-collections"),l=[{key:1,label:e.threshold.text,text:"от ".concat((0,p.up)(e.threshold.value,{decimalIsWithoutZeros:!0})),icon:n.IconFdsRubleCircleO,dataQa:"".concat(i,"-threshold")}];return"mix"!==t&&l.push({key:2,label:e.managementCompany.label,text:(a=e.managementCompany.managementCompanyNames)&&0!==a.length?a.join(", "):"-",icon:n.IconFdsChartGrowthSquareO,dataQa:"".concat(i,"-company")}),"mix"===t&&[e.couponYield,e.dividendYield].forEach((e,t)=>{e&&e.isAvailable&&l.push({key:t+2,label:e.label,text:"Возможна",icon:n.IconFdsChartGrowthSquareO,dataQa:"".concat(i,"-").concat(0===t?"coupon-yield":"dividend-yield"),description:e.description})}),l}(r,g);return(0,i.jsx)(o.aF,{dataQa:A,header:{title:r.name},open:_,onClose:u,noPadding:!0,footer:{children:(0,i.jsxs)("div",{className:B().disclaimer,children:[(0,i.jsx)(o.$n,{dataQa:"".concat(A,"-button-buy"),stretch:!0,label:x,onClick:()=>{h(),(0,Y.I)(r,g)}}),(0,i.jsx)(l.HL,{dataQa:"".concat(A,"-disclaimer"),className:B().disclaimer__caption,children:d.title})]})},children:(0,i.jsxs)("div",{className:B().modalContent,children:[(0,i.jsx)(l.EY,{dataQa:"".concat(A,"-description"),size:"16",children:r.description}),b&&(0,i.jsx)(L,{historicalYield:r.historicalYield,description:"Прирост расчетной стоимости подборки на ".concat(function(e,t){let{format:a=p.DX}=t||{};try{if("string"==typeof e)return(0,T.GP)(new Date(e),a,{locale:Q.ru});return(0,T.GP)(e,a,{locale:Q.ru})}catch(t){return e.toString()}}(new Date,{format:"dd.MM.yyyy"}))}),(0,i.jsx)(N,{securities:r.securities,collectionType:g}),y&&(0,i.jsx)("ul",{"data-qa":"".concat(A,"-params"),className:B().container,children:y.map(e=>{let{key:t,label:a,text:n,icon:c,dataQa:s,description:r}=e;return(0,i.jsxs)("li",{className:B().parameter,children:[(0,i.jsx)(F,{icon:c}),(0,i.jsxs)("div",{className:"pl-3",children:[(0,i.jsx)(l.DZ,{type:"h5",dataQa:"".concat(s,"-text"),children:n}),(0,i.jsxs)("div",{className:B().parameter__label,children:[(0,i.jsx)(l.HL,{size:"m",dataQa:"".concat(s,"-label"),children:a}),r&&(0,i.jsx)(o.m_,{text:r,position:"top",children:(0,i.jsx)("button",{className:B().parameter__hint,type:"button","aria-label":r,"data-qa":"".concat(s,"-description"),children:"?"})})]})]})]},t)})}),(0,i.jsxs)(o.N_,{href:null!=(c=null==r||null==(t=r.methodology)?void 0:t.linkUrl)?c:m.linkUrl,className:B().methodology,target:"_blank",children:[(0,i.jsx)(n.IconFdsDownloadO,{size:24})," ",null!=(s=null==r||null==(a=r.methodology)?void 0:a.linkText)?s:m.linkText]})]})})}},76514:(e,t,a)=>{"use strict";a.d(t,{I:()=>o,j:()=>l});var i=a(93161);function n(e){let{collectionId:t,name:a,securities:i}=e,n=i.map(e=>"".concat(e.ticker,",").concat(e.weightPercent)).join("_");return"".concat(t,"_").concat(a,"_").concat(n)}function l(e,t){(0,i.m)("".concat(t,"_collections_advisory"),"pageview_detail",{eventLabel:n(e)})}function o(e,t){(0,i.m)("".concat(t,"_collections_advisory"),"go_to_cart_click",{eventLabel:n(e)})}},81559:e=>{e.exports={wrapper:"CollectionCompound_wrapper__9P2mr",structures:"CollectionCompound_structures__237VW",tabs:"CollectionCompound_tabs__7_od4",tab:"CollectionCompound_tab__wz1_3",tab_active:"CollectionCompound_tab_active__vwNTR"}},83815:(e,t,a)=>{"use strict";a.d(t,{b:()=>A});var i=a(95155),n=a(2821),l=a(50181),o=a.n(l);function c(e){let{items:t,getKey:a,renderItem:l,dataQa:c,className:s,overlap:r=12}=e,d="object"==typeof r?r.mobile:r,_="object"==typeof r?r.desktop:r;return(0,i.jsx)("div",{"data-qa":c,className:(0,n.A)(o().wrapper,s),style:{"--multilogo-overlap-mobile":"".concat(d,"px"),"--multilogo-overlap-desktop":"".concat(_,"px")},children:t.map((e,n)=>(0,i.jsx)("div",{className:o().item,style:{zIndex:t.length-n},children:l(e,n)},a(e,n)))})}var s=a(97090),r=a(86116),d=a(12115),_=a(15239),u=a(5637),p=a.n(u);let m=(0,d.memo)(e=>{let{logoKey:t,alt:a,type:l="brandmark",entity:o="bank",directory:c="images",fullUrl:s,s3MinioUrl:r,size:u=46,className:m,dataQa:h,fallback:x}=e,g=(0,d.useMemo)(()=>s||(r&&t?"".concat(r,"/").concat(c,"/logo-").concat(l,"-").concat(o,"-").concat(t,".svg"):void 0),[s,r,c,l,o,t]),[A,b]=(0,d.useState)(!1);(0,d.useEffect)(()=>{b(!1)},[g]);let y=A||!g,v="object"==typeof u?u.mobile:u,f="object"==typeof u?u.desktop:u,j=Math.max(v,f);return y?x:(0,i.jsx)(_.default,{"data-qa":null!=h?h:"app-logo-image",src:g,alt:a,width:j,height:j,style:{"--logo-size-mobile":"".concat(v,"px"),"--logo-size-desktop":"".concat(f,"px")},className:(0,n.A)(p().image,m),onError:function(){b(!0)},unoptimized:!0})});m.displayName="LogoWithFallback";var h=a(90469),x=a.n(h);let g=e=>{var t;let{fullUrl:a,label:l,alt:o,size:c=46,className:s,dataQa:d,..._}=e,u=(null!=(t=null!=l?l:o)?t:"").trim().charAt(0).toUpperCase(),p={"--logo-size-mobile":"".concat("object"==typeof c?c.mobile:c,"px"),"--logo-size-desktop":"".concat("object"==typeof c?c.desktop:c,"px")},h=(0,i.jsx)("div",{"data-qa":d?"".concat(d,"-fallback"):"app-logo-fallback",className:(0,n.A)(x().fallback,s),style:p,children:(0,i.jsx)(r.EY,{size:"20",weight:"medium",children:u})});return(0,i.jsx)(m,{..._,fullUrl:a,fallback:h,alt:o,size:c,className:s,dataQa:d})};function A(e){let{securities:t,dataQa:a,className:n}=e;return(0,i.jsx)(c,{items:t,getKey:e=>{let{ticker:t,securityType:a,name:i}=e;return"".concat(t,"-").concat(a,"-").concat(i)},renderItem:e=>{let{ticker:t,name:a}=e;return(0,i.jsx)(g,{size:{mobile:40,desktop:46},fullUrl:"".concat((0,s.p)("NEXT_PUBLIC_S3_ASSETS"),"/images/brokerage/shares/").concat(t,".png"),alt:"логотип ".concat(a),label:a})},dataQa:a,className:n})}},88224:e=>{e.exports={wrapper:"__404_wrapper__KG8X3",img:"__404_img__3baU_",imgM:"__404_imgM__nl4Ud",main:"__404_main__t4_OQ",text:"__404_text__6wCVD",button:"__404_button__tpk_J"}},90469:e=>{e.exports={fallback:"SecurityLogo_fallback__VZWv3"}},91242:e=>{e.exports={container:"Scale_container__vr7pQ",segment:"Scale_segment__gg1Ph"}},93161:(e,t,a)=>{"use strict";a.d(t,{m:()=>o});var i=a(10320),n=a(81867);let l=a.n(n)().get("auth.gtm_customer_id");function o(e,t,a){var n;let{host:o,pathname:c}=window.location,s="".concat(o).concat(c);n="".concat(e,"_").concat(s),(0,i.Fj)({event:"data_event",customer_id:l,eventCategory:n,eventAction:t,eventLabel:null==a?void 0:a.eventLabel,eventValue:null==a?void 0:a.eventValue})}},93803:e=>{e.exports={wrapper:"DistributionScale_wrapper__0c_Yt"}},95903:e=>{e.exports={card:"YieldTile_card__q_pi_"}},97936:(e,t,a)=>{Promise.resolve().then(a.bind(a,19959))}},e=>{e.O(0,[5079,3118,4923,7987,1220,4788,7996,7372,9380,9598,4653,7098,357,4464,9270,5188,5239,4885,9807,2730,2411,6616,2619,8936,5818,4282,8148,1336,8441,1255,7358],()=>e(e.s=97936)),_N_E=e.O()}]);