PageSourceSearch

https://profinansy.ru/_next/static/chunks/pages/club/club-selections/[selectionId]-fd2328b7da0d12ba.js

js profinansy.ru collected 2026-10-02 14:56:37 UTC 31,317 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1764],{9978:function(e,t,n){"use strict";var i,r=n(67294),l=["title","titleId"];function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(null,arguments)}t.Z=function(e){var t=e.title,n=e.titleId,a=function(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n={};for(var i in e)if(({}).hasOwnProperty.call(e,i)){if(t.includes(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(i=0;i<l.length;i++)n=l[i],t.includes(n)||({}).propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,l);return r.createElement("svg",o({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},a),t?r.createElement("title",{id:n},t):null,i||(i=r.createElement("path",{d:"M14.56 20.36h0c.756.488 1.456.69 2.045.69a2.14 2.14 0 001.113-.302s0 0 0 0l.004-.002.007-.004h0c.762-.44 1.32-1.417 1.32-3.012V7.49c0-1.615-.42-2.72-1.084-3.42-.657-.69-1.682-1.12-3.183-1.12H9.217c-1.5 0-2.526.43-3.183 1.12-.664.7-1.084 1.805-1.084 3.42v10.24c0 1.575.556 2.56 1.328 3.016.779.46 1.86.444 3.167-.39l.002-.001 1.828-1.157c.168-.11.335-.15.42-.167m2.866 1.329l-2.74-.691m2.74.69l-.006-.003-1.83-1.158m1.836 1.162l-1.836-1.162m-1.03-.167l.126.638m-.127-.638s0 0 0 0l.127.638m-.127-.638a1.573 1.573 0 01.611 0m-.484.638a.923.923 0 01.357 0m.127-.638s0 0 0 0l-.127.638m.127-.638c.085.017.251.057.42.167m-.42-.167l-.127.638m0 0l.547-.47",stroke:"#F49B06",strokeWidth:1.3})))}},48844:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/club/club-selections/[selectionId]",function(){return n(88841)}])},53439:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var i=n(38148),r=n(3706),l=n(70411);function o(e,t){(0,l.Z)(2,arguments);var n=(0,i.Z)(t);return(0,r.Z)(e,12*n)}},61670:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var i=n(23050),r=n(70411);function l(e,t){(0,r.Z)(2,arguments);var n=(0,i.Z)(e),l=(0,i.Z)(t);return n.getTime()<l.getTime()}},17018:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var i=n(38148),r=n(53439),l=n(70411);function o(e,t){(0,l.Z)(2,arguments);var n=(0,i.Z)(t);return(0,r.Z)(e,-n)}},88841:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return ej},default:function(){return ek}});var i,r,l=n(85893),o=n(62756),a=n(13891),c=n(28677),s=n(11163),d=n(42377),u=n(67294),p=n(29396),m=n(82903),h=n(35311),f=n(95294),x=n(11787),g=n(81744),v=n(72991),y=n(8579),w=n(54335);let b=w.default.div.withConfig({componentId:"sc-1fe335db-0"})(["display:flex;justify-content:center;align-items:center;"]),j=w.default.div.withConfig({componentId:"sc-1fe335db-1"})(["display:flex;align-items:center;gap:16px;margin-bottom:16px;@media (max-width:743px){margin:0 16px 16px;}"]);var k=n(41920),C=n(30396),_=n(48710),I=n(66395),S=n(57481),E=n(14013),N=n(74679),T=n(86671),A=n(34265),O=n(41522),P=n(27909),L=n(52686),D=n(3644),B=n(70857),F=n(9978),$=["title","titleId"];function z(){return(z=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(null,arguments)}var W=function(e){var t=e.title,n=e.titleId,l=function(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n={};for(var i in e)if(({}).hasOwnProperty.call(e,i)){if(t.includes(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(i=0;i<l.length;i++)n=l[i],t.includes(n)||({}).propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,$);return u.createElement("svg",z({width:25,height:24,viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n},l),t?u.createElement("title",{id:n},t):null,i||(i=u.createElement("path",{d:"M7.084 6.584c.865-.866 2.133-1.167 3.665-1.167h1.167a.75.75 0 010 1.5h-1.167c-1.384 0-2.158.281-2.605.728-.447.447-.728 1.22-.728 2.605v3.5c0 1.384.281 2.158.728 2.605.447.447 1.221.728 2.605.728h3.5c1.385 0 2.159-.281 2.605-.728.447-.447.729-1.22.729-2.605v-1.167a.75.75 0 011.5 0v1.167c0 1.532-.302 2.8-1.168 3.666-.866.865-2.133 1.167-3.666 1.167h-3.5c-1.532 0-2.8-.302-3.665-1.167-.866-.866-1.168-2.134-1.168-3.666v-3.5c0-1.532.302-2.8 1.168-3.666z",fill:"#AAAABA"})),r||(r=u.createElement("path",{d:"M17.583 7.977v.99a.75.75 0 101.5 0v-2.8a.75.75 0 00-.75-.75h-2.8a.75.75 0 100 1.5h.99l-3.97 3.97a.75.75 0 001.06 1.06l3.97-3.97z",f
1ill:"#AAAABA"})))},R=n(12382),Z=n(73680);let M=w.default.div.withConfig({componentId:"sc-cbe25f37-0"})(["display:flex;align-items:center;gap:12px;width:100%;"]),q=w.default.button.withConfig({componentId:"sc-cbe25f37-1"})(["display:flex;align-items:center;justify-content:center;padding:0;border:none;background:none;cursor:pointer;flex-shrink:0;& path{transition:fill 0.2s ease,stroke 0.2s ease;fill:",";stroke:",";}&:hover path{stroke:",";fill:",";}"],e=>{let{$isActive:t,theme:n}=e;return t?n.icons.warring:"transparent"},e=>{let{$isActive:t,theme:n}=e;return t?n.icons.warring:n.icons.tertiary},e=>{let{theme:t}=e;return t.icons.warring},e=>{let{theme:t}=e;return t.icons.warring}),G=e=>{let{rowData:t,columnKey:n}=e,[i,r]=(0,u.useState)(!1),{code:o,af_price:c,price:s,maturity_date:p,af_rate:m,currency:h,aum_orig:f,div_yield:g,yield:v,instrument_id:y}=t.tikers[0],{allSavedInstruments:w}=(0,a.CG)(e=>e.favorites),b=!!y&&(null==w?void 0:w.includes(y)),j=(e,t)=>{e.stopPropagation(),t&&window.open("".concat(x.ns.instrument.indexPage,"/").concat(t),"_blank")},k={company:(0,l.jsxs)(M,{children:[null!=y&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(d.Hint,{text:b?"Инструмент добавлен в избранное":"Добавить в избранное",children:(0,l.jsx)(q,{type:"button",$isActive:b,onClick:e=>{e.stopPropagation(),y&&r(!0)},children:(0,l.jsx)(F.Z,{})})}),(0,l.jsx)(B.Pc,{instrumentId:y,open:i,onClose:()=>r(!1)})]}),(0,l.jsx)(d.CompanyInfo,{logo:t.logo,firstLine:o,secondLine:t.name,link:"".concat(x.ns.instrument.indexPage,"/").concat(o)})]}),price:(0,l.jsxs)(d.TCellText,{children:[(0,Z.j)(s,!0)," ",(0,R.jK)(h)]}),entry_price:(0,l.jsx)(d.TCellText,{valueNumber:c,children:(0,Z.j)(c,!0)}),prognosis:(0,l.jsx)(d.TCellText,{valueNumber:m,children:m&&"".concat((0,Z.j)(m)," %")}),maturity_date:(0,l.jsx)(d.TCellText,{children:p&&"-"!==p?(0,D.Z)(new Date(p),"dd.MM.yyyy"):p}),aum_orig:(0,l.jsxs)(d.TCellText,{children:[(0,R.Hd)(f,R.lB.currency)," ",f?(0,R.jK)(h):""]}),div_yield:(0,l.jsx)(d.TCellText,{children:g?(0,Z.j)(100*g,!0)+"%":"-"}),bond_maturityYield:(0,l.jsx)(d.TCellText,{valueNumber:v,children:v?(0,l.jsxs)(l.Fragment,{children:[v," ",(0,R.jK)(h)]}):"-"}),link:(0,l.jsx)("button",{onClick:e=>j(e,o),children:(0,l.jsx)(W,{})})};return(0,l.jsx)(l.Fragment,{children:k[n]})},V=w.default.div.withConfig({componentId:"sc-2a03c1bd-0"})(["width:100%;overflow:auto;thead tr th:first-child{padding-left:44px;
1@media (max-width:743px){min-width:200px;}}"]),U={[P.PD.stocks]:L.Bz,[P.PD.bonds]:L.Fc,[P.PD.etfs]:L.sy,[P.PD.crypto]:L.yd},K=e=>{var t,n,i;let{companies:r={},currentNewsItem:o}=e,c=(0,a.CG)(O.ZL),s=Object.values(r||{}),u=null==s?void 0:s.filter(e=>{var t,n,i;return null==o?void 0:null===(i=o.companies)||void 0===i?void 0:i.includes(null==e?void 0:null===(n=e.tikers)||void 0===n?void 0:null===(t=n[0])||void 0===t?void 0:t.instrument_id)}),p=null==u?void 0:null===(i=u[0])||void 0===i?void 0:null===(n=i.tikers)||void 0===n?void 0:null===(t=n[0])||void 0===t?void 0:t.asset_group_id;return p&&(null==u?void 0:u.length)?(0,l.jsx)(V,{children:(0,l.jsx)(d.Table,{data:u,columns:U[p],stickyFirstColumn:!0,hints:c,tCellRenderer:e=>{let{rowData:t,columnKey:n}=e;return(0,l.jsx)(G,{rowData:t,columnKey:n},n)}})}):null};var H=n(89954);let Y=w.default.div.withConfig({componentId:"sc-a16dd1f7-0"})(["display:flex;flex-direction:column;align-items:flex-start;gap:24px;align-self:stretch;@media (max-width:1279px){gap:16px;}@media (max-width:743px){padding-top:4px;margin:0 16px;}"]),X=w.default.div.withConfig({componentId:"sc-a16dd1f7-1"})(["display:grid;grid-template-columns:repeat(2,1fr);gap:24px;align-self:stretch;@media (max-width:1279px){gap:16px;}@media (max-width:743px){grid-template-columns:1fr;}"]),J=()=>{let{t:e}=(0,c.$G)(g.d.CLUB),{query:t}=(0,s.useRouter)(),{newsList:n}=(0,y.lq)(),{companyNews:i}=(0,y.fx)(),r=t.selectionId?null==n?void 0:n.filter(e=>e.news_id!==+t.selectionId):n,o=(0,u.useMemo)(()=>(null==r?void 0:r.length)?[...r].sort((e,t)=>{let n=!!e.seens;if(!!t.seens!==n)return n?1:-1;let i=e.date?new Date(e.date).getTime():0;return(t.date?new Date(t.date).getTime():0)-i}):[],[r]);if(!(null==o?void 0:o.length))return null;let a=o.slice(0,6);return(0,l.jsxs)(Y,{children:[(0,l.jsx)(d.Typography,{variant:"header4-Bold",colorName:"primary",children:e("home.selectionDetail.otherSelections")}),(0,l.jsx)(X,{children:a.map(e=>(0,l.jsx)(H.B,{item:e,companies:null==i?void 0:i.companies,link:{url:x.ns.club.selections,args:"updatesSectionCode=club-selections",target:"_self"}},e.id))})]})},Q=w.default.div.withConfig({componentId:"sc-fc7d0c78-0"})(["display:flex;gap:24px;margin-bottom:20px;"]),ee=w.default.div.withConfig({componentId:"sc-fc7d0c78-1"})(["display:flex;align-items:center;flex-direction:column;flex:1 0 0;width:100%;overflow:auto;"]),et=w.default.div.withConfig({componentId:"sc-fc7d0c78-2"})(["display:flex;padding:20px;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:20px;align-self:stretch;border-radius:24px;background:",";height:fit-content;min-width:336px;width:336px;position:sticky;top:calc("," + 20px);@media (max-width:1400px){","}@media (max-width:1279px){margin-top:20px;display:flex;width:100%;padding:16px;flex-direction:column;align-items:flex-start;gap:16px;border-radius:16px;background:",";}"],e=>e.$isEmpty?"transparent":e.theme.background.content,(0,d.getHeightHeaderV2)(),e=>e.$isEmpty&&(0,w.css)(["min-width:0;width:0;"]),e=>e.$isEmpty?"transparent":e.theme.background.secondary),en=(0,w.default)(d.Card).withConfig({componentId:"sc-fc7d0c78-3"})(["margin:",";@media (max-width:1279px){margin:",";}&.card-container{display:flex;padding:20px;flex-direction:column;justify-content:center;align-items:flex-start;align-self:stretch;border-radius:24px;}"],e=>e.$hasAccess?0:"0 0 32px 0",e=>e.$hasAccess?0:"0 0 24px 0"),ei=w.default.div.withConfig({componentId:"sc-fc7d0c78-4"})(["display:flex;align-items:center;gap:10px;align-self:stretch;justify-content:space-between;margin-bottom:16px;"]),er=w.default.div.withConfig({componentId:"sc-fc7d0c78-5"})(["display:flex;align-items:center;margin-bottom:6px;"]),el=w.default.div.withConfig({componentId:"sc-fc7d0c78-6"})(["display:flex;gap:12px;align-items:center;"]),eo=w.default.div.withConfig({componentId:"sc-fc7d0c78-7"})(["display:flex;flex-direction:column;gap:4px;"]),ea=w.default.img.withConfig({componentId:"sc-fc7d0c78-8"})(["display:flex;justify-content:center;align-items:center;align-self:stretch;aspect-ratio:357/190;border-radius:20px;margin:20px 0 24px 0;"]),ec=w.default.div.withConfig({componentId:"sc-fc7d0c78-9"})(["width:100%;"]),es=w.default.div.withConfig({componentId:"sc-fc7d0c78-10"})(["color:",";& p,& span,& strong,& ol,& ul,& li,& h1,& h2,& h3,& h4,& em,& b{color:"," !important;}& a{color:",";}"," "," ",""],e=>e.theme.text.primary,e=>e.theme.text.primary,e=>e.theme.text.accent,e=>{let{$hasAccess:t}=e;return!t&&(0,w.css)(["-webkit-line-clamp:4;display:-webkit-box;word-wrap:break-word;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;height:104px;"])},e=>{let{$hasAccess:t,$isExpanded:n}=e;return t&&!1===n&&(0,w.css)(["display:-webkit-box;-webkit-line-clamp:8;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;"])},e=>e.$isExpanded&&(0,w.css)(["margin-bottom:20px;"])),ed=w.default.button.withConfig({componentId:"sc-fc7d0c78-11"})(["margin-top:4px;margin-bottom:20px;padding:0;border:none;background:none;cursor:pointer;color:",";font-size:14px;font-weight:500;text-align:left;&:hover{text-decoration:underline;}"],e=>e.theme.text.accent),eu=w.default.div.withConfig({componentId:"sc-fc7d0c78-12"})(["display:flex;flex-direction:column;align-items:flex-start;gap:10px;align-self:stretch;"]),ep=w.default.div.withConfig({componentId:"sc-fc7d0c78-13"})(["display:flex;flex-direction:column;align-self:stretch;border-radius:16px;background:",";padding:16px;gap:",";margin-top:20px;"],e=>e.theme.background.secondary,e=>{let{$isExpanded:t}=e;return t?"16px":"0"}),em=w.default.div.withConfig({componentId:"sc-fc7d0c78-14"})(["overflow:hidden;max-height:",";transition:max-height 0.3s ease;"],e=>{let{$isExpanded:t}=e;return t?"1500px":"0"}),eh=w.default.button.withConfig({componentId:"sc-fc7d0c78-15"})(["display:flex;align-items:center;gap:8px;padding:0;border:none;background:none;cursor:pointer;width:100%;text-align:left;svg{width:24px;height:24px;transition:transform 0.25s ease;
1path{fill:",";}}"],e=>e.theme.icons.primary),ef=w.default.button.withConfig({componentId:"sc-fc7d0c78-16"})(["padding:0;border:none;background:none;cursor:pointer;text-align:left;font-size:15px;font-weight:400;line-height:20px;color:",";&:hover{color:",";}"],e=>e.theme.text.secondary,e=>e.theme.text.primary);w.default.button.withConfig({componentId:"sc-fc7d0c78-17"})(["background:none;border:none;padding:0;cursor:pointer;& > svg path{fill:",";}"],e=>e.theme.icons.primary);let ex=w.default.div.withConfig({componentId:"sc-fc7d0c78-18"})(["display:flex;justify-content:space-between;width:100%;margin-top:24px;align-items:center;"]),eg=w.default.div.withConfig({componentId:"sc-fc7d0c78-19"})(["display:flex;align-items:center;gap:8px;"]),ev=w.default.div.withConfig({componentId:"sc-fc7d0c78-20"})(["display:flex;padding:12px;align-items:flex-start;gap:8px;align-self:stretch;border-radius:16px;background:",";margin-top:20px;svg{min-width:24px;height:24px;path{fill:",";}}"],e=>e.theme.background.secondary,e=>e.theme.icons.accent),ey=w.default.div.withConfig({componentId:"sc-fc7d0c78-21"})(["position:relative;width:100%;min-height:250px;"]),ew=e=>{let{currentNewsItem:t,companies:n={},hasAccess:i,newsId:r}=e,{t:o}=(0,c.$G)(g.d.CLUB),a=(0,u.useRef)(null),p=(0,u.useRef)(null),m=(0,u.useRef)(null),[h,f]=(0,u.useState)(!1),[v,y]=(0,u.useState)(null),[w,b]=(0,u.useState)(!1),j=(0,d.useMediaQuery)(d.breakpoint.down(1279)),{author:O,date:P,date_utc:L,txt:D,is_like:B,count_like:F,count_seens:$,comment_count:z,title:W,photo:R,photo_url:Z}=null!=t?t:{},M=(0,u.useMemo)(()=>{var e;return null!==(e=null==t?void 0:t.tags)&&void 0!==e?e:[]},[null==t?void 0:t.tags]),q=(0,u.useMemo)(()=>Object.values(C.w5).some(e=>M.includes(Number(e))),[M]),{push:G}=(0,s.useRouter)(),{handleLike:V,handleFav:U,dataNews:H}=(0,T.pJ)(t),Y=(0,u.useCallback)(e=>()=>{G({pathname:x.ns.club.selections,query:{sub_id:e}})},[G]),X=(0,u.useCallback)(()=>{f(!0)},[]),ew=(0,u.useCallback)(e=>{f(!0),y(e)},[]),eb=(0,u.useCallback)(()=>{var e;null===(e=p.current)||void 0===e||e.scrollIntoView({behavior:"smooth",block:"start"})},[]);(0,u.useEffect)(()=>{v&&(y(null),requestAnimationFrame(()=>{var e;let t=null===(e=m.current)||void 0===e?void 0:e.querySelector("#".concat(v));null==t||t.scrollIntoView({behavior:"smooth",block:"center"})}))},[v,h]);let ej=(0,u.useMemo)(()=>{var e;return null===(e=(null==D?void 0:D.find(e=>"text"===e.type))||{value:""})||void 0===e?void 0:e.value},[D]),{htmlWithIds:ek,toc:eC}=(0,u.useMemo)(()=>(function(e){if(!e||"string"!=typeof e)return{htmlWithIds:null!=e?e:"",toc:[]};let t=[],n=0;return{htmlWithIds:e.replace(/<(h[234])(\s[^>]*)?>([\s\S]*?)<\/\1>/gi,(e,i,r,l)=>{let o="section-".concat(n);n++;let a=("string"!=typeof l?"":l.replace(/<[^>]+>/g,"").replace(/&nbsp;/g," ").replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&quot;/g,'"')).trim();return a&&t.push({id:o,title:a}),"<".concat(i,' id="').concat(o,'"').concat(null!=r?r:"",">").concat(l,"</").concat(i,">")}),toc:t}})(null!=ej?ej:""),[ej]),e_=(0,T.X2)()(L||P)||"-";return(0,l.jsxs)(Q,{children:[(0,l.jsxs)(ee,{children:[" ",(0,l.jsxs)(en,{$hasAccess:i,children:[(0,l.jsxs)(ei,{children:[(0,l.jsxs)(el,{children:[(0,l.jsx)(d.Avatar,{size:"40px",link:null==O?void 0:O.photo_url}),(0,l.jsxs)(eo,{children:[(0,l.jsx)(d.Typography,{variant:"header6-SemiBold",colorName:"primary",children:null==O?void 0:O.name}),(0,l.jsx)(d.Typography,{variant:"description-Regular",colorName:"fourth",children:P&&e_})]})]}),(0,l.jsx)(I.c,{showFavourite:!0,isFavActive:null==H?void 0:H.is_fav,onFav:U,shareLink:window.location.href,copySuccessMessage:o("home.selectionDetail.copySuccessMessage")})]}),q&&(0,l.jsx)(er,{children:(0,l.jsx)(S.m,{tags:M,onLevelClick:Y,useSecondaryBackground:!0})}),(0,l.jsx)(d.Typography,{variant:[{variant:"header2-Bold",resolution:null},{variant:"header5-Bold",resolution:743}],colorName:"primary",children:W}),eC.length>0&&j&&(0,l.jsxs)(ep,{$isExpanded:w,children:[(0,l.jsxs)(eh,{type:"button",onClick:()=>b(e=>!e),"aria-expanded":w,children:[(0,l.jsx)(N.Z,{style:{transform:w?"rotate(180deg)":"none",flexShrink:0}}),(0,l.jsx)(d.Typography,{variant:[{variant:"header4-Bold",resolution:null},{variant:"header6-SemiBold",resolution:743}],colorName:"primary",children:o("home.selectionDetail.tocTitle")})]}),(0,l.jsx)(em,{$isExpanded:w,children:(0,l.jsx)(eu,{children:eC.map(e=>{let{id:t,title:n}=e;return(0,l.jsx)(ef,{type:"button",onClick:()=>ew(t),children:n},t)})})})]}),(Z||R)&&(0,l.jsx)(ea,{src:(0,A.zo)(Z||String(R),"a")}),(0,l.jsxs)(ec,{ref:m,children:[(0,l.jsx)(es,{$hasAccess:i,$isExpanded:h,dangerouslySetInnerHTML:{__html:ek}}),i&&!h&&ej&&(0,l.jsx)(ed,{type:"button",onClick:X,children:o("home.selectionDetail.showAll")})]}),!i&&(0,l.jsx)(ey,{children:(0,l.jsx)(k.K,{withOutPremium:(null==t?void 0:t.by_sub)===2})}),i&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(K,{companies:n,currentNewsItem:t}),(0,l.jsxs)(ev,{children:[(0,l.jsx)(E.Z,{}),(0,l.jsx)(d.Typography,{variant:"text-Regular",colorName:"primary",children:o("home.selectionDetail.disclaimer")})]}),(0,l.jsxs)(ex,{children:[(0,l.jsxs)(eg,{children:[(0,l.jsx)(d.Like,{onClick:V,isActive:B,amount:F}
1),(0,l.jsx)(d.Comment,{amount:null!=z?z:0,onClick:eb})]}),(0,l.jsx)(d.Views,{amount:$,isViewed:!1})]})]})]}),i&&(0,l.jsx)("div",{ref:p,style:{width:"100%"},children:(0,l.jsx)(_.H,{commentsParentId:+r,commentsType:"blogs",isNews:!0,commentsRef:a})}),(0,l.jsx)(J,{})]}),!j&&(0,l.jsx)(et,{$isEmpty:0===eC.length,children:eC.length>0&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(d.Typography,{variant:"header4-Bold",colorName:"primary",children:o("home.selectionDetail.tocTitle")}),(0,l.jsx)(eu,{children:eC.map(e=>{let{id:t,title:n}=e;return(0,l.jsx)(ef,{type:"button",onClick:()=>ew(t),children:n},t)})})]})})]})},eb=()=>{let{t:e}=(0,c.$G)(g.d.CLUB),t=(0,u.useRef)(null),{asPath:n,query:i,push:r}=(0,s.useRouter)(),{currentNewsItem:o,companyNews:w,loader:k,newsId:C}=(0,y.K9)(),{shouldRedirect:_}=(0,p.ue)("club-selections",o),{hasAccess:I}=(0,p.eS)(),S=(0,a.CG)(e=>{var t,n;return null===(n=e.user)||void 0===n?void 0:null===(t=n.data)||void 0===t?void 0:t.isPaid}),E=(null==o?void 0:o.by_sub)===3||(null==o?void 0:o.news_source_id)===19,N=(null==o?void 0:o.by_sub)===2;(0,u.useEffect)(()=>{if(i.commentClicked&&t.current&&o&&w){var e;null===(e=t.current)||void 0===e||e.scrollIntoView({behavior:"smooth"})}},[i.commentClicked,i,k,o,w]);let T=o&&!_?(0,m.E)(o):null;return(0,l.jsxs)(l.Fragment,{children:[T&&o&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(f.j,{title:T.title,description:T.description,ogType:"article"}),(0,l.jsx)(h.h,{id:"club-selection-article-schema",data:(0,m.b)(o,(0,v.Z2)(n))})]}),(0,l.jsxs)(j,{children:[(0,l.jsx)(d.ArrowButton,{direction:"left",onClick:()=>{r({pathname:x.ns.club.selections})}}),(0,l.jsx)(d.Typography,{variant:[{variant:"header2-Bold",resolution:null},{variant:"header3-Bold",resolution:743}],colorName:"primary",children:e("home.selections.page_title")})]}),k===x.y2.LOADING||_?(0,l.jsx)(b,{children:(0,l.jsx)(d.Spinner,{size:"M"})}):(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(ew,{currentNewsItem:o,companies:w,hasAccess:(!E||I)&&(!N||S),newsId:C})})]})};var ej=!0;function ek(){return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(f.j,{title:"Подборка акций с высоким потенциалом - аналитика и прогнозы | PRO.FINANSY",description:"Ознакомьтесь с подборкой акций, отобранных аналитиками PRO.FINANSY, для получения максимальной доходности. Анализ рыночных показателей и прогнозы развития компаний."}),(0,l.jsx)(eb,{})]})}ek.getLayout=function(e){return(0,l.jsx)(o.xt,{children:e})}},41522:function(e,t,n){"use strict";n.d(t,{T:function(){return l},ZL:function(){return i},lE:function(){return r}});let i=e=>e.dictionary.data.ui,r=e=>t=>t.dictionary.data.ui[e]||null,l=(e,t)=>n=>{var i;return t?null===(i=n.dictionary.data[e])||void 0===i?void 0:i[t]:n.dictionary.data[e]}},41920:function(e,t,n){"use strict";n.d(t,{K:function(){return v}});var i=n(85893),r=n(28677),l=n(11163),o=n(42377),a=n(67294),c=n(92647),s=n(81744),d=n(54335);let u=d.default.div.withConfig({componentId:"sc-fdf9b792-0"})(["width:100%;position:absolute;bottom:0;left:0;z-index:99;display:flex;flex-direction:column;",";",""],e=>{let{$maxWidth:t}=e;return t?"max-width: ".concat(t,"px"):""},e=>{let{$centerPosition:t}=e;return t&&(0,d.css)(["bottom:auto;top:50%;left:50%;transform:translate(-50%,-50%);"])}),p=d.default.div.withConfig({componentId:"sc-fdf9b792-1"})(["width:100%;height:104px;background:",";"],e=>{let{$isLight:t}=e;return t?"linear-gradient(180deg, rgba(244, 244, 249, 0.1) 0%, #fff 100%)":"linear-gradient(180deg, rgba(32, 32, 32, 0.1) 0%, #202020 100%)"}),m=d.default.div.withConfig({componentId:"sc-fdf9b792-2"})(["display:flex;flex-direction:column;align-items:center;gap:24px;padding:40px 0px 32px;box-sizing:content-box;z-index:25;background:",";@media (max-width:600px){padding:17px 0px 32px;}",""],e=>{let{theme:t,$withOutBackground:n}=e;return n?"none":t.background.content},e=>{let{$centerPosition:t,$withOutLogo:n}=e;return t&&(0,d.css)(["padding:0;@media (max-width:600px){padding:",";}"],n?"12px":"0")}),h=d.default.div.withConfig({componentId:"sc-fdf9b792-3"})(["display:flex;flex-direction:column;justify-content:center;align-items:center;"]),f=d.default.div.withConfig({componentId:"sc-fdf9b792-4"})(["color:",";text-align:center;font-feature-settings:'liga' off,'clig' off;font-family:'Unbounded';font-size:24px;font-weight:600;line-height:120%;@media (max-width:600px){font-size:22px;}"],e=>e.theme.text.primary),x=d.default.div.withConfig({componentId:"sc-fdf9b792-5"})(["text-align:center;font-feature-settings:'liga' off,'clig' off;font-family:'Unbounded';font-size:24px;font-weight:600;line-height:120%;background:linear-gradient(90deg,#f63b56 13.46%,#7815f9 85.58%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;@media (max-width:600px){font-size:22px;}"]),g=d.default.button.withConfig({componentId:"sc-fdf9b792-6"})(["display:flex;width:100%;max-width:330px;height:44px;padding:14px 32px 14px 28px;justify-content:center;align-items:center;gap:4px;border-radius:12px;background:linear-gradient(90deg,#f63b56 0%,#7815f9 100%);color:",";text-align:center;font-size:15px;font-style:normal;font-weight:500;line-height:20px;&:hover{background:linear-gradient(90deg,#ff6278 0%,#8e37ff 100%),linear-gradient(90deg,#f63b56 0%,#7815f9 100%);}"],e=>e.theme.interactiveButtons.brandText),v=e=>
1{let{title:t,withOutShade:n,withOutBackground:d,maxWidth:v,centerPosition:y,hasNoPremiumAccess:w,withOutLogo:b,withOutPremium:j}=e,{t:k}=(0,r.$G)(s.d.CLUB),{push:C}=(0,l.useRouter)(),{mode:_}=(0,o.useMode)(),I=(0,a.useMemo)(()=>t||(w?k("premium_blur.premium_title"):k("premium_blur.title")),[t,w,k]);return(0,i.jsxs)(u,{$maxWidth:v,$centerPosition:y,children:[!n&&(0,i.jsx)(p,{$isLight:"light"===_}),(0,i.jsxs)(m,{$withOutBackground:d,$centerPosition:y,$withOutLogo:b,children:[!b&&(0,i.jsx)("img",{src:"/club-images/lock-premium.png",alt:"lock"}),(0,i.jsxs)(h,{children:[(0,i.jsx)(f,{children:I}),(0,i.jsx)(x,{children:j?k("premium_blur.without_premium_name"):w?k("premium_blur.premium_name"):k("premium_blur.name")})]}),(0,i.jsx)(g,{onClick:()=>C(j?"/subscribe":w?c.SB:c.KN),children:j?k("premium_blur.without_premium_btn"):w?k("premium_blur.premium_btn"):k("premium_blur.btn")})]})]})}},52686:function(e,t,n){"use strict";var i,r;n.d(t,{Bz:function(){return l},Fc:function(){return o},Tk:function(){return i},sy:function(){return a},yd:function(){return c}}),(r=i||(i={})).all="all",r.set_stock="set_stock",r.set_bond="set_bond",r.set_etf="set_etf";let l=[{key:"company",title:"Компания",width:"536px",maxWidth:"536px",alignment:"left"},{key:"price",title:"Текущая цена",width:"200px",maxWidth:"200px",alignment:"right",hint:"iprice"},{key:"entry_price",title:"Целевая цена",alignment:"right",width:"200px",maxWidth:"200px",hint:"fprice"},{key:"prognosis",title:"Прогноз роста",width:"200px",maxWidth:"200px",alignment:"right",hint:"selections_prognos_rosta"},{key:"link",title:"",width:"36px",maxWidth:"36px",alignment:"right"}],o=[{key:"company",title:"Наименование",width:"416px",maxWidth:"416px"},{key:"price",title:"Текущая цена",alignment:"right",width:"240px",maxWidth:"240px",hint:"iprice"},{key:"bond_maturityYield",title:"Доходность эффективная",alignment:"right",width:"240px",maxWidth:"240px"},{key:"maturity_date",title:"Дата погашения",alignment:"center",width:"240px",maxWidth:"240px"},{key:"link",title:"",width:"36px",maxWidth:"36px",alignment:"right"}],a=[{key:"company",title:"Наименование",width:"300px",maxWidth:"300px"},{key:"price",title:"Текущая цена",alignment:"right",width:"240px",maxWidth:"240px",hint:"iprice"},{key:"aum_orig",title:"Стоимость чистых активов",alignment:"right",width:"240px",maxWidth:"240px"},{key:"div_yield",title:"Дивиденды",alignment:"right",width:"240px",maxWidth:"240px"},{key:"link",title:"",width:"36px",maxWidth:"36px",alignment:"right"}],c=[{key:"company",title:"Наименование",width:"416px",maxWidth:"416px"},{key:"price",title:"Текущая цена",alignment:"right",width:"240px",maxWidth:"240px",hint:"iprice"},{key:"link",title:"",width:"36px",maxWidth:"36px",alignment:"right"}]},8579:function(e,t,n){"use strict";n.d(t,{fx:function(){return a},K9:function(){return u},lq:function(){return s},c2:function(){return x}}),n(20149);var i=n(67294),r=n(30396),l=n(62674),o=n(11787);let a=()=>{let[e,t]=(0,i.useState)(null),[n,a]=(0,i.useState)(o.y2.IDLE);return(0,i.useEffect)(()=>{(async()=>{try{a(o.y2.LOADING);let e=await r.uq.getNewsList({section:"ready_set",ustate:0,v:2,full:!0,event:"club"});a(o.y2.SUCCESS),t(e)}catch(e){a(o.y2.FAILED),(0,l.h)("Что-то пошло не так. Попробуйте позже.","error")}})()},[]),{companyNews:e,loader:n}};var c=n(7034);let s=()=>{let[e,t]=(0,i.useState)([]),[n,r]=(0,i.useState)(o.y2.IDLE);return(0,i.useEffect)(()=>{(async()=>{r(o.y2.LOADING);try{let{data:e}=await c.X.getClub("ready_set",10);r(o.y2.SUCCESS),t(e)}catch(e){r(o.y2.FAILED),(0,l.h)("Что-то пошло не так. Попробуйте позже.","error")}})()},[]),{newsList:e,loader:n}};var d=n(11163);let u=()=>{let[e,t]=(0,i.useState)(null),[n,a]=(0,i.useState)(null),[c,s]=(0,i.useState)(o.y2.IDLE),{query:u}=(0,d.useRouter)(),p=null==u?void 0:u.selectionId;return(0,i.useEffect)(()=>{p&&(async()=>{try{s(o.y2.LOADING);let e=await r.uq.getParticularNews({v:2,news_id:+p,ustate:0});s(o.y2.SUCCESS),t(null==e?void 0:e.data),a(null==e?void 0:e.companies)}
1catch(e){s(o.y2.FAILED),(0,l.h)("Что-то пошло не так. Попробуйте позже.","error")}})()},[p,null==e?void 0:e.news_id,null==e?void 0:e.comment_count,null==e?void 0:e.count_like]),{currentNewsItem:e,companyNews:n,loader:c,newsId:p}};var p=n(85500),m=n(25198),h=n(34265);let f=e=>{var t;return null!==(t=null==e?void 0:e.next)&&void 0!==t?t:null==e?void 0:e._next},x=e=>{var t,n;let{query:r}=(0,d.useRouter)(),l=(0,i.useRef)(!1),o=r.activeTab,a="all"===o?"ready_set":o,c=r.sort||"date",s="1"===r.fav,u=(0,i.useCallback)(t=>(0,h.DD)({q_section_or:a,limit:20,mod:"list",sort:c,ustate:0,q:(null==e?void 0:e.trim())||null,f_favorite:s?"news":null,next:t||void 0}),[a,e,c,s]),{data:x,isLoading:g,isFetching:v}=(0,p.J8)(u(),{skip:!o,refetchOnMountOrArgChange:!0}),[y]=(0,p.OJ)(),w=f(x),b=(0,i.useCallback)(()=>{!w||v||l.current||(l.current=!0,y(u(w)).finally(()=>{l.current=!1}))},[u,v,w,y]),j=!!w&&!g&&!v,{ref:k}=(0,m.S)({onIntersect:b,enabled:j}),C=v&&!g;return{newsList:null!==(t=null==x?void 0:x.data)&&void 0!==t?t:[],companyNews:null!==(n=null==x?void 0:x.companies)&&void 0!==n?n:null,isLoading:g,isLoadingMore:C,loadMoreRef:k}}},20149:function(e,t,n){"use strict";n.d(t,{m:function(){return a}});var i=n(67294),r=n(7034),l=n(62674),o=n(11787);let a=()=>{let[e,t]=(0,i.useState)([]),[n,a]=(0,i.useState)(o.y2.IDLE);return(0,i.useEffect)(()=>{(async()=>{a(o.y2.LOADING);try{let{data:e}=await r.X.newsSections();a(o.y2.SUCCESS),t(e)}catch(e){a(o.y2.FAILED),(0,l.h)("Что-то пошло не так. Попробуйте позже.","error")}})()},[]),{tabs:e,loading:n}}},82903:function(e,t,n){"use strict";n.d(t,{E:function(){return a},b:function(){return c}});var i=n(30396),r=n(86764),l=n(92405),o=n(82003);let a=e=>{let t=(0,l.V)(e.short_txt||"").slice(0,160);return{title:"".concat(e.title," | PRO.FINANSY"),description:t||e.title}},c=(e,t)=>{var n,a,c;let s=(null!==(c=e.txt)&&void 0!==c?c:[]).filter(e=>e.type===i.zc.TEXT).map(e=>(0,l.V)(e.value)).filter(Boolean).join(" "),d=(0,l.V)(e.short_txt||s).slice(0,500),u=null===(a=e.author)||void 0===a?void 0:null===(n=a.name)||void 0===n?void 0:n.trim();return{"@context":"https://schema.org","@type":"Article","@id":t,url:t,headline:e.title,...d&&{description:d},...s&&{articleBody:s},...e.date&&{datePublished:e.date,dateModified:e.date},...e.photo_url&&{image:(0,r.z)(e.photo_url,"_")},author:u?{"@type":"Person",name:u,...e.author.photo_url&&{image:(0,r.z)(e.author.photo_url,"_")}}:{"@type":"Organization",name:"PRO.FINANSY"},publisher:{"@type":"Organization",name:"PRO.FINANSY",url:o.e.hostname}}}},25198:function(e,t,n){"use strict";n.d(t,{S:function(){return r}});var i=n(67294);let r=e=>{let{onIntersect:t,onUnIntersect:n,enabled:r=!0}=e,l=(0,i.useRef)();return{ref:(0,i.useCallback)(e=>{l.current&&l.current.disconnect(),l.current=new IntersectionObserver(e=>{let i=e[0];(null==i?void 0:i.isIntersecting)&&r?t():i.isIntersecting||null==n||n()}),e&&l.current.observe(e)},[r,t,n])}}},92405:function(e,t,n){"use strict";n.d(t,{V:function(){return r}});let i={"&amp;":"&","&gt;":">","&lt;":"<","&nbsp;":" ","&quot;":'"',"&#39;":"'"},r=e=>e.replace(/<[^>]*>/g," ").replace(/&(amp|gt|lt|nbsp|quot|#39);/g,e=>{var t;return null!==(t=i[e])&&void 0!==t?t:e}).replace(/\s+/g," ").trim()}},function(e){e.O(0,[7603,9510,6132,9382,6310,7536,9045,2222,815,4119,5209,857,3817,2647,3988,5706,8710,2756,1474,9954,2888,9774,179],function(){return e(e.s=48844)}),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.