PageSourceSearch

https://profinansy.ru/_next/static/chunks/pages/club-2f7f637cec69703a.js

js profinansy.ru collected 2026-09-25 02:48:13 UTC 119,961 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4e3],{87336:function(e,t,i){"use strict";var n,o=i(67294),r=["title","titleId"];function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(null,arguments)}t.Z=function(e){var t=e.title,i=e.titleId,l=function(e,t){if(null==e)return{};var i,n,o=function(e,t){if(null==e)return{};var i={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(t.includes(n))continue;i[n]=e[n]}return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n<r.length;n++)i=r[n],t.includes(i)||({}).propertyIsEnumerable.call(e,i)&&(o[i]=e[i])}return o}(e,r);return o.createElement("svg",a({width:21,height:22,viewBox:"0 0 21 22",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":i},l),t?o.createElement("title",{id:i},t):null,n||(n=o.createElement("path",{d:"M14.54 11.07L8.88 5.42a1 1 0 10-1.42 1.41l4.95 5-4.95 4.95a1 1 0 000 1.41 1 1 0 00.71.3 1.003 1.003 0 00.71-.3l5.66-5.65a1 1 0 000-1.47z",fill:"#fff"})))}},42762:function(e,t,i){"use strict";var n,o=i(67294),r=["title","titleId"];function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(null,arguments)}t.Z=function(e){var t=e.title,i=e.titleId,l=function(e,t){if(null==e)return{};var i,n,o=function(e,t){if(null==e)return{};var i={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(t.includes(n))continue;i[n]=e[n]}return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n<r.length;n++)i=r[n],t.includes(i)||({}).propertyIsEnumerable.call(e,i)&&(o[i]=e[i])}return o}(e,r);return o.createElement("svg",a({width:21,height:21,viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":i},l),t?o.createElement("title",{id:i},t):null,n||(n=o.createElement("path",{d:"M12.525 5.227l5.059 5.058-5.059 5.058M3.417 10.281h14.025",stroke:"#fff",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})))}},89432:function(e,t,i){"use strict";var n,o=i(67294),r=["title","titleId"];function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(null,arguments)}t.Z=function(e){var t=e.title,i=e.titleId,l=function(e,t){if(null==e)return{};var i,n,o=function(e,t){if(null==e)return{};var i={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(t.includes(n))continue;i[n]=e[n]}return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n<r.length;n++)i=r[n],t.includes(i)||({}).propertyIsEnumerable.call(e,i)&&(o[i]=e[i])}return o}(e,r);return o.createElement("svg",a({width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":i},l),t?o.createElement("title",{id:i},t):null,n||(n=o.createElement("path",{d:"M7.2 4.5l3.307 3.705c.39.437.39 1.153 0 1.59L7.2 13.5",stroke:"#464167",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})))}},93113:function(e,t,i){"use strict";var n,o=i(67294),r=["title","titleId"];function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(null,arguments)}t.Z=function(e){var t=e.title,i=e.titleId,l=function(e,t){if(null==e)return{};var i,n,o=function(e,t){if(null==e)return{};var i={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(t.includes(n))continue;i[n]=e[n]}return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n<r.length;n++)i=r[n],t.includes(i)||({}).propertyIsEnumerable.call(e,i)&&(o[i]=e[i])}return o}(e,r);return o.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20",fill:"none","aria-labelledby":i},l),t?o.createElement("title",{id:i},t):null,n||(n=o.createElement("path",{d:"M13.7 7.416c3 .258 4.225 1.8 4.225 5.175v.108c0 3.725-1.492 5.217-5.217 5.217H7.283c-3.725 0-5.217-1.492-5.217-5.217v-.108c0-3.35 1.209-4.892 4.159-5.167M10 12.5V3.019M12.792 4.876l-2.791-2.792-2.792 2.792",stroke:"#fff",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})))}},56209:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/club",function(){return i(26493)}])},26493:function(e,t,i){"use strict";i.r(t),i.d(t,{__N_SSP:function(){return n4},default:function(){return n5}});var n,o,r,a,l,d,s,c,p,h,x=i(85893),u=i(62756);i(29823);
1var m=i(42377),f=i(28677),g=i(67294),b=i(41920),w=i(29396),v=i(78453),y=i(64857),j=i(11787),k=i(81744),C=i(54335);let _=(0,C.default)("div").withConfig({componentId:"sc-8e5cbddc-0"})(["width:100%;position:relative;overflow:hidden;"]),I=(0,C.default)("div").withConfig({componentId:"sc-8e5cbddc-1"})(["display:flex;gap:20px;flex-wrap:wrap;position:relative;"]);var S=i(52044),B=i(2387),O=i(3644),M=i(39629);let T=()=>(0,x.jsxs)(x.Fragment,{children:[(0,x.jsxs)("div",{style:{width:"100%"},children:[(0,x.jsx)(m.Skeleton,{height:18,maxWidth:59,bottom:14}),(0,x.jsx)(m.Skeleton,{height:44,bottom:16}),(0,x.jsx)(m.Skeleton,{height:44,bottom:8})]}),(0,x.jsxs)("div",{style:{width:"100%"},children:[(0,x.jsx)(m.Skeleton,{height:18,maxWidth:92,bottom:14}),(0,x.jsx)(m.Skeleton,{height:44,bottom:16}),(0,x.jsx)(m.Skeleton,{height:44,bottom:8})]}),(0,x.jsxs)("div",{style:{width:"100%"},children:[(0,x.jsx)(m.Skeleton,{height:18,maxWidth:80,bottom:14}),(0,x.jsx)(m.Skeleton,{height:44,bottom:8})]})]});var E=i(89432),z=i(12382),L=i(44432),N=i(73680),P=i(62686);let A=(0,C.default)(m.Card).withConfig({componentId:"sc-abff3df1-0"})(["margin:0;border-radius:20px;display:flex;flex-direction:column;align-items:flex-start;gap:16px;flex:1 1 0;box-shadow:none;position:relative;&:hover{box-shadow:none;}"]),D=C.default.div.withConfig({componentId:"sc-abff3df1-1"})(["position:absolute;top:0;left:0;width:100%;height:100%;border-radius:12px;background:",";backdrop-filter:blur(6px);z-index:98;"],e=>{let{$isLight:t}=e;return t?"rgba(255, 255, 255, 0.64)":"rgba(32, 32, 32, 0.64)"}),F=(0,C.default)(P.Z).withConfig({componentId:"sc-abff3df1-2"})(["display:flex;align-items:center;z-index:100;svg{width:20px;height:20px;path{stroke:",";}}&:hover{p{color:",";}svg path{stroke:",";}}"],e=>e.theme.icons.primary,e=>e.theme.text.accent,e=>e.theme.icons.accent),W=C.default.div.withConfig({componentId:"sc-abff3df1-3"})(["width:100%;display:flex;flex-direction:column;align-self:stretch;"]),$=(0,C.default)(m.Typography).withConfig({componentId:"sc-abff3df1-4"})(["margin-bottom:6px;"]),U=(0,C.default)(P.Z).withConfig({componentId:"sc-abff3df1-5"})(["width:100%;cursor:pointer;"]),Z=C.default.div.withConfig({componentId:"sc-abff3df1-6"})(["display:flex;justify-content:space-between;gap:24px;padding:8px 0;align-self:stretch;@media (max-width:600px){gap:12px;}"]),G=C.default.div.withConfig({componentId:"sc-abff3df1-7"})(["width:100%;display:flex;gap:12px;align-items:center;"]),R=C.default.div.withConfig({componentId:"sc-abff3df1-8"})(["width:100%;max-width:373px;
1min-width:200px;display:flex;flex-direction:column;gap:4px;@media (max-width:600px){min-width:0;}@media (max-width:490px){max-width:250px;}@media (max-width:440px){max-width:165px;}@media (max-width:380px){max-width:150px;}"]),H=C.default.div.withConfig({componentId:"sc-abff3df1-9"})(["display:flex;align-items:center;align-self:stretch;gap:5px;"]),V=(0,C.default)(m.Typography).withConfig({componentId:"sc-abff3df1-10"})(["display:flex;padding:1px 4px;justify-content:center;align-items:center;gap:8px;border-radius:4px;background:#ee473d;"]),Q=C.default.div.withConfig({componentId:"sc-abff3df1-11"})(["display:flex;flex-direction:column;gap:4px;align-items:flex-end;flex:1 0 0;"]),q=(0,C.default)(m.Typography).withConfig({componentId:"sc-abff3df1-12"})(["display:flex;padding:1px 6px 3px 6px;justify-content:flex-end;align-items:center;gap:10px;border-radius:6px;background:",";"],e=>{let{isBuy:t,theme:i}=e;return t?"rgba(52, 199, 89, 0.08)":i.other.lightBlueTint}),J=e=>{let{info:t}=e,{t:i}=(0,f.$G)(k.d.CLUB),n=(0,g.useMemo)(()=>{let e=0;return t&&(e=t.count*t.price),e},[t]),o=(null==t?void 0:t.operation)==="buy";return(0,x.jsx)(U,{href:"".concat(j.ns.club.portfolios.list,"/").concat(t.publicKey),target:"_blank",children:(0,x.jsxs)(Z,{children:[(0,x.jsxs)(G,{children:[(0,x.jsx)(m.AvatarCompany,{logo:(0,L.zo)(t.instrument.logo,"a"),ticker:t.instrument.tiker,logoSize:38}),(0,x.jsxs)(R,{children:[(0,x.jsxs)(H,{children:[(0,x.jsx)(m.HiddenText,{children:(0,x.jsx)(m.Typography,{variant:"description-SemiBold",colorName:"primary",children:t.instrument.tiker})}),t.hasNewLabel&&(0,x.jsx)(V,{variant:"tag-Medium11",colorName:"contrastThemed",children:"New"})]}),(0,x.jsx)(m.HiddenText,{children:(0,x.jsx)(m.Typography,{variant:"caption-Medium",colorName:"secondary",children:t.portfolioTitle})})]})]}),(0,x.jsxs)(Q,{children:[(0,x.jsxs)(m.Typography,{variant:"text-Medium",colorName:"primary",textAlign:"right",whiteSpace:"nowrap",children:[(0,N.j)(n,!0)," ",(0,z.jK)(t.currency)]}),(0,x.jsx)(q,{variant:"caption-Medium",textAlign:"right",colorName:o?"positive":"link",isBuy:o,children:i(o?"home.latest_deals.buy":"home.latest_deals.sale")})]})]})})},X=e=>{let{title:t,link:i,transactions:n,isLoading:o}=e,{t:r}=(0,f.$G)(k.d.CLUB),{hasAccess:a}=(0,w.eS)(),l=(0,g.useMemo)(()=>{let e={};return(null==n?void 0:n.length)&&n.forEach(t=>{let i=new Date(t.date),n="",o=!1;(0,S.Z)(i)?(n=r("home.latest_deals.today"),o=!0):n=(0,B.Z)(i)?r("home.latest_deals.yesterday"):(0,O.Z)(i,"dd.MM.yyyy",{locale:M.Z});let a={...t,hasNewLabel:o};e[n]?e[n]=[...e[n],a]:e[n]=[a]}),Object.entries(e)},[n]),{mode:d}=(0,m.useMode)();return(0,x.jsxs)(A,{children:[!a&&(0,x.jsx)(D,{$isLight:"light"===d}),(0,x.jsxs)(F,{href:i,target:"_blank",children:[(0,x.jsx)(m.Typography,{variant:"header6-Bold",colorName:"primary",children:t}),(0,x.jsx)(E.Z,{})]}),o?(0,x.jsx)(T,{}):(null==l?void 0:l.length)?l.map((e,t)=>{var i;return(0,x.jsxs)(W,{children:[(0,x.jsx)($,{variant:"description-SemiBold",colorName:"fourth",children:e[0]}),null===(i=e[1])||void 0===i?void 0:i.map((e,t)=>(0,x.jsx)(J,{info:e},t))]},t)}):null]})},Y=(0,g.memo)(()=>{let[e,t]=(0,g.useState)("public"),{t:i}=(0,f.$G)(k.d.CLUB),{hasAccess:n}=(0,w.eS)(),{data:o=[],isLoading:r,isError:a}=(0,v.kv)({type:"public"}),{data:l=[],isLoading:d,isError:s}=(0,v.kv)({type:"model"}),c=(0,g.useMemo)(()=>o.slice(0,6),[o]),p=(0,g.useMemo)(()=>l.slice(0,6),[l]),h=(0,m.useMediaQuery)(m.breakpoint.down(600));return(0,x.jsxs)(_,{children:[(0,x.jsx)(m.WidgetTitle,{text:i("home.latest_deals.title"),subText:i("home.latest_deals.description")}),h&&(0,x.jsx)(m.Bubbles,{onChange:e=>t(e),selectedValue:e,options:[{label:i("home.latest_deals.public_title"),value:"public"},{label:i("home.latest_deals.model_title"),value:"model"}],style:{marginBottom:"16px"}}),s||a?(0,x.jsx)(y.J,{text:i("home.new_publications.widget_error")}):h?(0,x.jsxs)(I,{children:[(0,x.jsx)(X,{isLoading:d||r,title:i("home.latest_deals.mob_title"),link:"public"===e?j.ns.club.public:j.ns.club.portfolios.list,transactions:"public"===e?c:p}),!n&&(0,x.jsx)(b.K,{title:i("home.latest_deals.blocked_title"),withOutShade:!0,withOutBackgroun
1d:!0,maxWidth:540,centerPosition:!0,withOutLogo:!0})]}):(0,x.jsxs)(I,{children:[(0,x.jsx)(X,{isLoading:r,title:i("home.latest_deals.public_title"),link:j.ns.club.public,transactions:c}),(0,x.jsx)(X,{isLoading:d,title:i("home.latest_deals.model_title"),link:j.ns.club.portfolios.list,transactions:p}),!n&&(0,x.jsx)(b.K,{title:i("home.latest_deals.blocked_title"),withOutShade:!0,withOutBackground:!0,maxWidth:540,centerPosition:!0})]})]})});var K=i(5349);let ee=C.default.div.withConfig({componentId:"sc-df0dd1f2-0"})(["display:flex;align-items:center;gap:20px;max-width:100%;overflow:hidden;& > div{min-width:297px;}@media (max-width:960px){& > div{&:first-of-type{margin-left:18px;}}}"]),et=()=>(0,x.jsxs)(ee,{children:[(0,x.jsx)(m.Skeleton,{height:402,bottom:0,radius:20,maxWidth:295}),(0,x.jsx)(m.Skeleton,{height:402,bottom:0,radius:20,maxWidth:295}),(0,x.jsx)(m.Skeleton,{height:402,bottom:0,radius:20,maxWidth:295}),(0,x.jsx)(m.Skeleton,{height:402,bottom:0,radius:20,maxWidth:295})]}),ei=(0,C.default)("div").withConfig({componentId:"sc-aa015770-0"})(["width:100%;"]),en=(0,C.default)("div").withConfig({componentId:"sc-aa015770-1"})(["position:relative;display:flex;gap:28px;flex-direction:column;justify-content:space-between;"]),eo=(0,C.default)("div").withConfig({componentId:"sc-aa015770-2"})(["display:flex;gap:20px;@media (max-width:960px){flex-direction:column;}"]),er=(0,C.default)("div").withConfig({componentId:"sc-aa015770-3"})(["background:",";display:flex;flex-direction:column;gap:40px;@media (max-width:960px){gap:28px;}@media (max-width:600px){position:relative;border-radius:16px 16px 0px 0px;margin:-40px -18px;padding:24px 18px;margin-bottom:-20px;gap:24px;}"],e=>{let{theme:t}=e;return t.background.primary}),ea=(0,C.default)("div").withConfig({componentId:"sc-aa015770-4"})(["display:flex;flex-direction:column;gap:12px;max-width:334px;width:100%;flex:1 1 0%;@media (max-width:960px){flex-direction:row;justify-content:space-between;max-width:100%;}"]),el=(0,C.default)("div").withConfig({componentId:"sc-aa015770-5"})(["display:flex;gap:12px;@media (max-width:960px){gap:20px;}",""],e=>{let{$scheduleFullWidth:t}=e;return t&&(0,C.css)(["& > button{flex:1;max-width:none;}"])}),ed=(0,C.default)("div").withConfig({componentId:"sc-aa015770-6"})(["display:flex;gap:20px;"]),es=(0,C.css)(["&::after{content:'';position:absolute;top:0;right:-1px;width:399px;height:100%;pointer-events:none;z-index:2;background:",";@media (max-width:600px){display:none;}}"],e=>e.isLight?"linear-gradient(90deg, rgba(244, 244, 249, 0) 83%, #f4f4f9 100%)":"linear-gradient(90deg, rgba(24, 24, 24, 0.00) 83%, #181818 100%)"),ec=(0,C.css)(["&::before{content:'';position:absolute;top:0;left:-1px;width:399px;height:100%;pointer-events:none;z-index:2;transform:rotate(180deg);background:",";@media (max-width:600px){display:none;}}"],e=>e.isLight?"linear-gradient(90deg, rgba(244, 244, 249, 0.00) 83%, #F4F4F9 100%)":"linear-gradient(90deg, rgba(24, 24, 24, 0.00) 83%, #181818 100%)"),ep=C.default.div.withConfig({componentId:"sc-aa015770-7"})(["width:100%;position:relative;overflow:hidden;@media (max-width:960px){width:calc(100% + 36px);margin-right:-18px;margin-left:-18px;}"]),eh=(0,C.default)(m.WidgetTitle).withConfig({componentId:"sc-aa015770-8"})(["@media (max-width:960px){margin-left:18px;margin-right:18px;}"]),ex=C.default.div.withConfig({componentId:"sc-aa015770-9"})(["overflow:hidden;position:relative;"," ",""],e=>{let{hasShade:t}=e;return t&&es},e=>{let{hasShadeLeft:t}=e;return t&&ec}),eu=C.default.div.withConfig({componentId:"sc-aa015770-10"})(["display:flex;gap:16px;"]);var em=i(86045),ef=i(91263),eg=i(85500),eb=i(82608),ew=i(21122);let ev=C.default.div.withConfig({componentId:"sc-beb89fa5-0"})(["min-width:352px;max-width:352px;@media (max-width:960px){&:first-of-type{margin-left:18px;}&:last-of-type{margin-right:18px;}max-width:calc(100% - 36px);}"]),ey=(0,g.memo)(()=>{var e;let{t}=(0,f.$G)(k.d.CLUB),{locale:i}=(0,m.useLocalization)(),n={_lang:i,section:ef.z.INVESTIDEA,limit:20,ustate:0},{data:o,isLoading:r,isError:a}=(0,eg.iC)(n),l=(0,m.useMediaQuery)(m.breakpoint.down(600)),d=(0,m.useMediaQuery)(m.breakpoint.down(960)),{emblaRef:s,prevBtnDisabled:c,nextBtnDisabled:p,onPrevButtonClick:h,onNextButtonClick:u}=(0,eb.q)({slidesToScroll:l?1:d?2:3}),{mode:g}=(0,m.useMode)();return r?(0,x.jsxs)(ep,{children:[(0,x.jsx)(eh,{text:t("home.investideas.title"),link:j.ns.club.investidea}),(0,x.jsx)(et,{})]}):a?(0,x.jsxs)(ep,{children:[(0,x.jsx)(eh,{text:t("home.investideas.title"),link:j.ns.club.investidea}),(0,x.jsx)(y.J,{text:t("home.new_publications.widget_error")})]}):(0,x.jsxs)(ep,{children:[(0,x.jsx)(eh,{text:t("home.investideas.title"),link:j.ns.club.investidea}),(0,x.jsx)(K.c,{prevBtnDisabled:c,nextBtnDisabled:p,onPrevButtonClick:h,onNextButtonClick:u}),(0,x.jsx)(ex,{ref:s,hasShade:!p,hasShadeLeft:!c,isLight:"light"===g,children:(0,x.jsxs)(eu,{children:[null==o?void 0:null===(e=o.data)||void 0===e?void 0:e.map((e,t)=>(0,x.jsx)(ev,{children:(0,x.jsx)(em.D,{news:e},null==e?void 0:e.news_id)},t)),(0,x.jsx)(ew.V,{text:t("home.investideas.show_more_text"),onClick:()=>window.open(j.ns.club.investidea,"_blank")})]})})]})});var ej=i(61670),ek=i(7640),eC=i(9980),e_=i(3500);let eI=(0,g.memo)(()=>{let{data:e,isLoading:t}=(0,v.sA)({}),i=(0,g.useMemo)(()=>{var t;return(null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.length)?null==e?void 0:e.data.map(e=>e.news_section_id).join(","):null},[null==e?void 0:e.data]),n=(0,g.useMemo)(()=>(0,L.DD)({date_to:(0,O.Z)(new Date,"yyyy-MM-dd'T'HH:mm:ss"),other_operator:"or",mod:"list",section_id:i,limit:20,ustate:0,v:2,full:!0}),[i]),{data:o,isLoading:r,isError:a}=(0,eg.iC)(n,{skip:!i}),l=(0,m.useMediaQuery)(m.breakpoint.down(600)),d=(0,m.useMediaQuery)(m.breakpoint.down(960)),{emblaRef:s,prevBtnDisabled:c,nextBtnDisabled:p,onPrevButtonClick:h,onNextButtonClick:u}=(0,eb.q)({slidesToScroll:l?1:d?2:3}),{t:b}=(0,f.$G)(k.d.CLUB),{mode:w}=(0,m.useMode)(),C=(0,g.useMemo)(()=>
1{if(!o)return[];let e=new Date;return null==o?void 0:o.data.filter(t=>(0,ej.Z)(new Date(t.date),e))},[o]);return t||r?(0,x.jsxs)(ep,{children:[(0,x.jsx)(eh,{text:b("home.new_publications.title"),link:"".concat(j.ns.club.feed,"?section=all")}),(0,x.jsx)(ek.h,{})]}):a?(0,x.jsxs)(ep,{children:[(0,x.jsx)(eh,{text:b("home.new_publications.title"),link:"".concat(j.ns.club.feed,"?section=all")}),(0,x.jsx)(y.J,{text:b("home.new_publications.widget_error")})]}):(0,x.jsxs)(ep,{children:[(0,x.jsx)(eh,{text:b("home.new_publications.title"),link:"".concat(j.ns.club.feed,"?section=all")}),(0,x.jsx)(K.c,{prevBtnDisabled:c,nextBtnDisabled:p,onPrevButtonClick:h,onNextButtonClick:u}),(0,x.jsx)(ex,{ref:s,hasShade:!p,hasShadeLeft:!c,isLight:"light"===w,children:(0,x.jsx)(eu,{children:C.map((t,i)=>(0,x.jsx)(eC.o5,{children:(0,x.jsx)(e_.l,{news:t,clubMenuData:null==e?void 0:e.data},null==t?void 0:t.news_id)},i))})})]})}),eS=C.default.div.withConfig({componentId:"sc-e608d5ac-0"})(["display:flex;align-items:center;gap:16px;max-width:100%;overflow:hidden;& > div{min-width:278px;}@media (max-width:960px){& > div{&:first-of-type{margin-left:18px;}}}"]),eB=()=>(0,x.jsxs)(eS,{children:[(0,x.jsx)(m.Skeleton,{height:272,bottom:0,radius:24,maxWidth:278}),(0,x.jsx)(m.Skeleton,{height:272,bottom:0,radius:24,maxWidth:278}),(0,x.jsx)(m.Skeleton,{height:272,bottom:0,radius:24,maxWidth:278}),(0,x.jsx)(m.Skeleton,{height:272,bottom:0,radius:24,maxWidth:278})]}),eO=C.default.div.withConfig({componentId:"sc-d74f0fdf-0"})(["min-width:278px;max-width:278px;@media (max-width:960px){&:first-of-type{margin-left:18px;}&:last-of-type{margin-right:18px;}max-width:calc(100% - 36px);}@media (max-width:600px){min-width:322px;max-width:322px;}"]),eM=(0,C.default)("div").withConfig({componentId:"sc-d74f0fdf-1"})(["position:relative;width:100%;height:272px;background-image:",";background-size:cover;background-position:center;border-radius:24px;display:flex;flex-direction:column;justify-content:space-between;padding:16px;overflow:hidden;cursor:pointer;&::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background-image:",";background-size:cover;background-position:center;transition:transform 0.4s ",";z-index:0;}&:hover::before{transform:scale(1.1);}& > *{position:relative;z-index:1;}@media (max-width:420px){height:293px;}"],e=>{let{img:t}=e;return"linear-gradient(180deg, rgba(102, 102, 102, 0.00) 0%, rgba(0, 0, 0, 0.90) 85.6%), url(".concat((0,L.zo)(t,"_"),")")},e=>{let{img:t}=e;return"linear-gradient(180deg, rgba(102, 102, 102, 0.00) 0%, rgba(0, 0, 0, 0.90) 85.6%), url(".concat((0,L.zo)(t,"_"),")")},m.AnimationFunctions.animation_1),eT=(0,C.default)("div").withConfig({componentId:"sc-d74f0fdf-2"})(["width:100%;display:flex;justify-content:space-between;"]),eE=(0,C.default)(m.Typography).withConfig({componentId:"sc-d74f0fdf-3"})(["display:inline-flex;height:24px;padding:2px 8px 3px 8px;align-items:center;gap:4px;flex-shrink:0;border-radius:18px;background:",";"],e=>{let{theme:t}=e;return t.text.negative}),ez=(0,C.default)(m.FavouriteButton).withConfig({componentId:"sc-d74f0fdf-4"})(["margin-left:auto;z-index:2;"]),eL=(0,C.default)("div").withConfig({componentId:"sc-d74f0fdf-5"})(["display:flex;flex-direction:column;gap:12px;justify-content:center;align-items:flex-start;"]),eN=(0,C.default)("div").withConfig({componentId:"sc-d74f0fdf-6"})(["display:flex;padding:3px 7px;justify-content:center;align-items:center;gap:4px;border-radius:20px;border:1px solid ",";background:rgba(192,192,192,0.32);backdrop-filter:blur(6px);"],e=>{let{theme:t}=e;return t.stroke.primary}),eP=(0,C.default)("span").withConfig({componentId:"sc-d74f0fdf-7"})(["width:2px;height:2px;border-radius:50%;background:",";"],e=>{let{theme:t}=e;return t.text.contrastThemed}),eA=(0,C.default)("div").withConfig({componentId:"sc-d74f0fdf-8"})(["width:100%;display:flex;align-items:center;justify-content:space-between;gap:4px;"]),eD=(0,C.default)("div").withConfig({componentId:"sc-d74f0fdf-9"})(["display:flex;align-items:center;gap:12px;"]);var eF=i(6481),eW=i(6462),e$=i(11163),eU=i(10040),eZ=i(86671);let eG=e=>{let{news:t,t:i}=e,[n,o]=(0,g.useState)(!1),{hasAccess:r}=(0,w.eS)(),{push:a}=(0,e$.useRouter)(),l=(0,g.useMemo)(()=>"".concat(j.ns.club.updatesSection.replace("[updatesSectionCode]",ef.z.OFFLINE_MEETINGS),"/").concat(null==t?void 0:t.news_id,"?commentClicked=true"),[null==t?void 0:t.news_id]),{dataNews:d,handleFav:s,handleLike:c}=(0,eZ.pJ)(t,!0,null==t?void 0:t.news_id),{count_like:p,count_seens:h,is_like:u,is_fav:f,comment_count:b}=d||{},v=(0,eF.Z)(new Date(null==t?void 0:t.date),new Date);return(0,x.jsxs)(x.Fragment,{children:[(0,x.jsxs)(eM,{img:null==t?void 0:t.photo_url,onClick:()=>{a({pathname:j.ns.club.updateDetails,query:{updatesSectionCode:ef.z.OFFLINE_MEETINGS,updateId:null==t?void 0:t.news_id}})},children:[(0,x.jsxs)(eT,{children:[v&&(0,x.jsx)(eE,{variant:"caption-SemiBold",colorName:"contrast",children:i("home.meetings.tag")}),(0,x.jsx)(ez,{isActive:f,handleFav:s})]}),(0,x.jsxs)(eL,{children:[(0,x.jsxs)(eN,{children:[(0,x.jsx)(m.Typography,{variant:"description-SemiBold",colorName:"contrastThemed",children:(0,O.Z)(new Date(null==t?void 0:t.date),"d MMMM")}),(0,x.jsx)(eP,{}),(0,x.jsx)(m.Typography,{variant:"description-SemiBold",colorName:"contrastThemed",children:(0,O.Z)((0,eW.Z)(new Date(null==t?void 0:t.date),2),"HH:mm")}
1)]}),(0,x.jsx)(m.HiddenText,{lines:2,mode:"multiline",children:(0,x.jsx)(m.Typography,{variant:"header5-SemiBold",colorName:"contrastThemed",children:null==t?void 0:t.title})}),(0,x.jsxs)(eA,{children:[(0,x.jsxs)(eD,{children:[(0,x.jsx)(m.Like,{isActive:u,amount:p,onClick:e=>{e.stopPropagation(),c()}}),(0,x.jsx)(m.Comment,{amount:b||0,onClick:e=>{e.stopPropagation(),r?window.open(l,"_self"):o(!0)}})]}),(0,x.jsx)(m.Views,{amount:h,isViewed:!1})]})]})]}),n&&(0,x.jsx)(eU._,{isOpen:n,handleClose:()=>o(!1)})]})},eR=(0,g.memo)(()=>{var e;let{locale:t}=(0,m.useLocalization)(),i={_lang:t,section:ef.z.OFFLINE_MEETINGS,limit:4,ustate:0,v:2,full:!0,event:"club"},{data:n,isLoading:o,isError:r}=(0,eg.iC)(i),{emblaRef:a,prevBtnDisabled:l,nextBtnDisabled:d,onPrevButtonClick:s,onNextButtonClick:c}=(0,eb.q)({slidesToScroll:1}),{t:p}=(0,f.$G)(k.d.CLUB),h=j.ns.club.updatesSection.replace("[updatesSectionCode]",ef.z.OFFLINE_MEETINGS),{mode:u}=(0,m.useMode)();return o?(0,x.jsxs)(ep,{children:[(0,x.jsx)(eh,{text:p("home.meetings.title"),link:h}),(0,x.jsx)(eB,{})]}):r?(0,x.jsxs)(ep,{children:[(0,x.jsx)(eh,{text:p("home.meetings.title"),link:h}),(0,x.jsx)(y.J,{text:p("home.new_publications.widget_error")})]}):(0,x.jsxs)(ep,{children:[(0,x.jsx)(eh,{text:p("home.meetings.title"),link:h}),(0,x.jsx)(K.c,{prevBtnDisabled:l,nextBtnDisabled:d,onPrevButtonClick:s,onNextButtonClick:c}),(0,x.jsx)(ex,{ref:a,hasShade:!d,hasShadeLeft:!l,isLight:"light"===u,children:(0,x.jsx)(eu,{children:null==n?void 0:null===(e=n.data)||void 0===e?void 0:e.map((e,t)=>(0,x.jsx)(eO,{children:(0,x.jsx)(eG,{news:e,t:p},null==e?void 0:e.news_id)},t))})})]})}),eH=C.default.div.withConfig({componentId:"sc-503f59c5-0"})(["display:flex;align-items:center;gap:20px;max-width:100%;overflow:hidden;& > div{min-width:374px;}@media (max-width:960px){& > div{&:first-of-type{margin-left:18px;}}}@media (max-width:600px){& > div{min-width:316px;}}"]),eV=()=>(0,x.jsxs)(eH,{children:[(0,x.jsx)(m.Skeleton,{height:398,bottom:0,radius:20,maxWidth:374}),(0,x.jsx)(m.Skeleton,{height:398,bottom:0,radius:20,maxWidth:374}),(0,x.jsx)(m.Skeleton,{height:398,bottom:0,radius:20,maxWidth:374})]});var eQ=i(89954);let eq=C.default.div.withConfig({componentId:"sc-ed4572d3-0"})(["min-width:374px;max-width:374px;@media (max-width:960px){&:first-of-type{margin-left:18px;}&:last-of-type{margin-right:18px;}max-width:calc(100% - 36px);}@media (max-width:600px){min-width:316px;}"]),eJ=(0,g.memo)(()=>{var e;let{t}=(0,f.$G)(k.d.CLUB),{locale:i}=(0,m.useLocalization)(),{hasAccess:n}=(0,w.eS)(),o={_lang:i,section:ef.z.SELECTIONS,limit:3,ustate:0,event:"club"},{data:r,isLoading:a,isError:l}=(0,eg.iC)(o),{emblaRef:d,prevBtnDisabled:s,nextBtnDisabled:c,onPrevButtonClick:p,onNextButtonClick:h}=(0,eb.q)(),{mode:u}=(0,m.useMode)();return a?(0,x.jsxs)(ep,{children:[(0,x.jsx)(eh,{text:t("home.selections.title"),link:j.ns.club.selections}),(0,x.jsx)(eV,{})]}):l?(0,x.jsxs)(ep,{children:[(0,x.jsx)(eh,{text:t("home.selections.title"),link:j.ns.club.selections}),(0,x.jsx)(y.J,{text:t("home.new_publications.widget_error")})]}):(0,x.jsxs)(ep,{children:[(0,x.jsx)(eh,{text:t("home.selections.title"),link:j.ns.club.selections}),(0,x.jsx)(K.c,{prevBtnDisabled:s,nextBtnDisabled:c,onPrevButtonClick:p,onNextButtonClick:h}),(0,x.jsx)(ex,{ref:d,hasShade:!c,hasShadeLeft:!s,isLight:"light"===u,children:(0,x.jsx)(eu,{children:null==r?void 0:null===(e=r.data)||void 0===e?void 0:e.map((e,t)=>(0,x.jsx)(eq,{children:(0,x.jsx)(eQ.B,{item:e,type:"content",companies:null==r?void 0:r.companies,link:{url:j.ns.club.selections,args:"updatesSectionCode=club-selections",target:"_blank"},isHover:!0,hasNoAccess:!n},e.news_id)},t))})})]})}),eX={schedule:{text:"home.personalization.schedule",image:"/club-images/home/schedule.png",href:"".concat(j.ns.club.schedule,"?selectedTab=true")},favourite:{text:"home.personalization.favourites",image:"/club-images/home/favorites.png",href:j.ns.account.favorite.publications}},eY=(0,C.default)(m.Card).withConfig({componentId:"sc-65f3cfec-0"})(["margin-bottom:0;overflow:hidden;border-radius:20px;padding:12px;height:100%;width:100%;position:relative;display:flex;flex-direction:column;"]),eK=C.default.button.withConfig({componentId:"sc-65f3cfec-1"})(["max-width:161px;min-width:159px;max-height:134px;min-height:119px;border-radius:20px;@media (max-width:960px){height:134px;}"]),e0=C.default.img.withConfig({componentId:"sc-65f3cfec-2"})(["position:absolute;width:80px;bottom:0;right:0;"]),e1=e=>{let{type:t}=e,{t:i}=(0,f.$G)(k.d.CLUB),{text:n,image:o,href:r}=eX[t];return(0,x.jsx)(eK,{onClick:()=>{r&&window.open(r,"_blank")},children:(0,x.jsxs)(eY,{isHover:!0,children:[(0,x.jsx)(m.Typography,{variant:"header6-SemiBold",colorName:"primary",maxWidth:94,children:i(n)}),(0,x.jsx)(e0,{alt:"image-block",src:o})]})})},e2=C.default.div.withConfig({componentId:"sc-2fe577de-0"})(["display:flex;align-items:center;gap:20px;max-width:100%;overflow:hidden;"]),e4=C.default.div.withConfig({componentId:"sc-2fe577de-1"})(["background:",";max-width:806px;min-width:806px;width:100%;height:152px;max-height:152px;overflow:hidden;border-radius:24px;justify-content:space-between;padding:20px;@media (max-width:960px){max-width:100%;min-width:100%;margin-bottom:22px;}@media (max-width:600px){max-width:100%;min-width:100%;height:280px;max-height:280px;}"],e=>{let{theme:t}=e;return t.background.content}),e5=()=>(0,x.jsxs)(e4,{children:[(0,x.jsx)(m.Skeleton,{height:20,maxWidth:120,bottom:8}),(0,x.jsx)(m.Skeleton,{height:16,maxWidth:420,bottom:6}),(0,x.jsx)(m.Skeleton,{height:16,maxWidth:400,bottom:12}),(0,x.jsx)(m.Skeleton,{height:20,maxWidth:80})]}),e3=()=>(0,x.jsxs)(e2,{children:[(0,x.jsx)(e5,{}),(0,x.jsx)(e5,{})]});var e6=i(54454);let e8=(0,C.default)("div").withConfig({componentId:"sc-4f2f85e4-0"})(["display:flex;flex-direction:column;position:relative;overflow:hidden;@media (max-width:960px){& .arrow-left{display:none;}& .arrow-right{display:none;}}@media (max-width:600px){margin-right:-18px;margin-left:-18px;}"]),e9=(0,C.default)(m.WidgetTitle).withConfig({componentId:"sc-4f2f85e4-1"})(["@media (max-width:600px){margin-left:18px;margin-right:18px;}"]),e7=C.default.div.withConfig({componentId:"sc-4f2f85e4-2"})(["overflow:hidden;@media (max-width:960px){&::after{display:none;}&::before{display:none;}}"," ",""],e=>{let{hasShade:t}=e;return t&&es},e=>{let{hasShadeLeft:t}=e;return t&&ec}),te=(0,C.default)("div").withConfig({componentId:"sc-4f2f85e4-3"})(["display:flex;touch-action:pan-y pinch-zoom;gap:20px;@media (max-width:600px){gap:8px;}"]),tt=C.default.div.withConfig({componentId:"sc-4f2f85e4-4"})(["display:flex;justify-content:center;margin-top:16px;"]);var ti=i(96143);let tn=C.default.div.withConfig({componentId:"sc-e69f4d56-0"})(["overflow:hidden;width:400px;transform:",";& img{transform:",";margin-right:16px;}&:not(:last-of-type){margin-bottom:16px;}"],e=>e.$isReverse?"rotate(180deg)":"none",e=>e.$isReverse?"rotate(180deg)":"none"),to=C.default.div.withConfig({componentId:"sc-e69f4d56-1"})(["display:flex;"]),tr=e=>{for(let t=e.length-1;t>0;t--){let i=Math.floor(Math.random()*(t+1));[e[t],e[i]]=[e[i],e[t]]}return e},ta=(0,g.memo)(e=>{let{items:t,isReverse:i}=e,{emblaRef:n}=(0,eb.q)({loop:!0,watchDrag:!1},[(0,ti.Z)({playOnInit:!0,speed:.5})]),o=(0,g.useMemo)(()=>tr([...t]),[t]);return(0,x.jsx)(tn,{ref:n,$isReverse:i,children:(0,x.jsx)(to,{children:o.map((e,t)=>(0,x.jsx)("div",{children:(0,x.jsx)(m.AvatarCompany,{ticker:"",logo:e.logo,logoSize:64})},t))})})}),tl=(0,C.default)(P.Z).withConfig({componentId:"sc-e4bfcafb-0"})(["display:flex;align-items:center;background:",";max-width:806px;width:100%;height:152px;max-height:152px;overflow:hidden;border-radius:24px;justify-content:space-between;padding:20px;
1transform:translate3d(0,0,0);position:relative;flex:0 0 auto;@media (max-width:960px){max-width:100%;}@media (max-width:600px){padding:12px;flex-direction:column;height:auto;max-height:100%;&:first-of-type{margin-left:18px;}&:last-of-type{margin-right:18px;}max-width:calc(100% - 36px);}"],e=>{let{theme:t}=e;return t.background.content}),td=C.default.div.withConfig({componentId:"sc-e4bfcafb-1"})(["display:flex;flex-direction:column;"]),ts=(0,C.default)(m.Typography).withConfig({componentId:"sc-e4bfcafb-2"})(["margin-bottom:8px;@media (max-width:600px){margin-bottom:4px;}"]),tc=(0,C.default)(m.Typography).withConfig({componentId:"sc-e4bfcafb-3"})(["max-width:400px;margin-bottom:12px;@media (max-width:600px){max-width:100%;margin-bottom:0;}"]),tp=C.default.div.withConfig({componentId:"sc-e4bfcafb-4"})(["position:absolute;right:-30px;top:0;transform:rotate(-38deg);@media (max-width:1100px){right:-100px;}@media (max-width:800px){right:-200px;}@media (max-width:600px){margin:26px 0;position:relative;transform:rotate(0deg);top:0;right:0;}"]),th={"Акции РФ":"Отобрали лучшие российские акции, в которые стоит инвестировать. Создавай и корректируй свой портфель","Зарубежные акции":"Интересуешься зарубежными компаниями? Посмотри, какие иностранные акции подобрали для тебя","Облигации РФ":"Подобрали инструменты с низким риском, чтобы ты инвестировал в надежные активы","Зарубежные облигации":"Получай доход в иностранной валюте, инвестируя в лучшие зарубежные облигации",ETF:"Хочешь приобщиться к успеху топовых компаний, но не знаешь, какую выбрать? Смотри подборку лучших фондов"},tx=e=>{let{sections:t}=e,i=(0,m.useMediaQuery)(m.breakpoint.down(600)),n=(null==t?void 0:t.selected)||[];return n.length?(0,x.jsxs)(tl,{href:{pathname:j.ns.club.profinansyChoice,query:{section:null==t?void 0:t.id}},children:[(0,x.jsxs)(td,{children:[(0,x.jsx)(ts,{variant:"header6-Bold",colorName:"primary",children:t.name}),(0,x.jsx)(tc,{variant:"description-Regular",colorName:"fourth",children:th[t.name]}),!i&&(0,x.jsx)(m.TextButton,{text:"Перейти"})]}),(0,x.jsxs)(tp,{children:[(0,x.jsx)(ta,{items:n}),(0,x.jsx)(ta,{items:n,isReverse:!0}),!i&&(0,x.jsx)(ta,{items:n})]})]}):null},tu=(0,g.memo)(()=>{let{t:e}=(0,f.$G)(k.d.CLUB),{mode:t}=(0,m.useMode)(),i=(0,m.useMediaQuery)(m.breakpoint.down(960)),{data:n,isLoading:o,isError:r}=(0,v.$Q)(),{emblaRef:a,emblaApi:l,prevBtnDisabled:d,nextBtnDisabled:s,onPrevButtonClick:c,onNextButtonClick:p}=(0,eb.q)(),h=j.ns.club.profinansyChoice.replace("[updatesSectionCode]",ef.z.PROFINANSY_CHOICE);return o?(0,x.jsxs)(e8,{children:[(0,x.jsx)(e9,{text:e("home.profinansy_choice.title"),link:h}),(0,x.jsx)(e3,{})]}):r?(0,x.jsxs)(e8,{children:[(0,x.jsx)(e9,{text:e("home.profinansy_choice.title"),link:h}),(0,x.jsx)(y.J,{text:e("home.profinansy_choice.error_plug_text")})]}):(0,x.jsxs)(e8,{children:[(0,x.jsx)(e9,{text:e("home.profinansy_choice.title"),link:h}),(0,x.jsxs)("div",{style:{position:"relative"},children:[(0,x.jsx)(K.c,{prevBtnDisabled:d,nextBtnDisabled:s,onPrevButtonClick:c,onNextButtonClick:p}),(0,x.jsx)(e7,{"data-id":"swiper",ref:a,hasShade:!s,hasShadeLeft:!d,isLight:"light"===t,children:(0,x.jsx)(te,{children:null==n?void 0:n.map((e,t)=>(0,x.jsx)(tx,{sections:e},t))})})]}),i&&(0,x.jsx)(tt,{children:(0,x.jsx)(e6.V,{emblaApi:l})})]})});var tm=i(55730);let tf=(0,C.default)("div").withConfig({componentId:"sc-cfd2f033-0"})(["width:100%;position:relative;"]),tg=(0,C.default)("div").withConfig({componentId:"sc-cfd2f033-1"})(["display:flex;gap:20px;@media (max-width:1360px){flex-direction:column;}"]),tb=(0,C.default)("div").withConfig({componentId:"sc-cfd2f033-2"})(["display:grid;grid-template-columns:repeat(2,1fr);gap:20px;@media (max-width:960px){display:none;}"]),tw=()=>{let e=(0,m.useMediaQuery)(m.breakpoint.down(1360)),t=(0,m.useMediaQuery)(m.breakpoint.down(600));return(0,x.jsxs)(tg,{children:[(0,x.jsx)(m.Skeleton,{height:t?273:306,bottom:0,radius:16,maxWidth:e?null:446}),(0,x.jsxs)(tb,{style:{width:"100%"},children:[(0,x.jsx)(m.Skeleton,{height:143,bottom:0,radius:20}),(0,x.jsx)(m.Skeleton,{height:143,bottom:0,radius:20}),!e&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(m.Skeleton,{height:143,bottom:0,radius:20}),(0,x.jsx)(m.Skeleton,{height:143,bottom:0,radius:20})]})]})]})},tv=(0,C.default)("div").withConfig({componentId:"sc-a62c6cd-0"})(["background:",";border-radius:16px;display:flex;gap:16px;padding:12px;@media (max-width:960px){display:none;}& img{border-radius:8px;object-fit:cover;max-width:auto;}"],e=>{let{theme:t}=e;return t.background.content}),ty=(0,C.default)("div").withConfig({componentId:"sc-a62c6cd-1"})(["display:flex;flex-direction:column;justify-content:space-between;& p{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;-webkit-line-clamp:4;}"]),tj=e=>{let{course:t}=e,{t:i}=(0,f.$G)(k.d.CLUB),{query:n,push:o}=(0,e$.useRouter)(),{name:r,avatar_file:a,unique_id:l}=null!=t?t:{};return(0,x.jsxs)(tv,{children:[(0,x.jsx)("img",{alt:"avatar-image",src:(0,L.zo)(a,"_"),width:82,height:119,loading:"lazy"}),(0,x.jsxs)(ty,{children:[(0,x.jsx)(m.Typography,{variant:"header6-SemiBold",colorName:"primary",maxWidth:221,children:r}),(0,x.jsx)(m.TextButton,{text:i("home.club_teaches.button_text"),onClick:()=>{o({pathname:j.ns.club.coursePage.replace("[".concat(ef.l.EDUCATION_SECTION,"]"),n.educationSection||ef.z.COURSES).replace("[courseId]",l)})}})]})]})};var tk=i(6802),tC=["title","titleId"];function t_(){return(t_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(null,arguments)}var tI=function(e){var t=e.title,i=e.titleId,r=function(e,t){if(null==e)return{};var i,n,o=function(e,t){if(null==e)return{};var i={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(t.includes(n))continue;i[n]=e[n]}return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n<r.length;n++)i=r[n],t.includes(i)||({}).propertyIsEnumerable.call(e,i)&&(o[i]=e[i])}return o}(e,tC);return g.createElement("svg",t_({width:14,height:15,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":i},r),t?g.createElement("title",{id:i},t):null,n||(n=g.createElement("path",{d:"M7 13.16c-.175 0-.35-.042-.496-.123-1.09-.595-3.01-1.225-4.212-1.383l-.169-.023C1.36 11.538.73 10.821.73 10.044V2.998a1.579 1.579 0 011.732-1.593c1.284.1 3.22.741 4.3
117 1.43l.14.081c.041.023.128.023.163.006l.094-.058c1.096-.689 3.033-1.342 4.322-1.453h.07c.426-.04.864.11 1.19.414.333.304.514.724.514 1.184v7.041c0 .782-.63 1.493-1.4 1.587l-.193.023c-1.202.158-3.127.793-4.194 1.383a.96.96 0 01-.484.116zM2.32 2.273a.713.713 0 00-.49.187.722.722 0 00-.227.537v7.046c0 .345.297.677.63.724l.175.023c1.313.175 3.325.834 4.492 1.47.052.023.128.03.157.018 1.167-.648 3.191-1.313 4.51-1.488l.198-.023c.332-.041.63-.38.63-.724v-7.04a.735.735 0 00-.228-.543.762.762 0 00-.56-.187h-.07c-1.114.1-2.91.7-3.89 1.313l-.094.064c-.32.198-.776.198-1.085.006l-.14-.082c-.997-.612-2.794-1.207-3.937-1.3h-.07z",fill:"#606076"})),o||(o=g.createElement("path",{d:"M7 12.672a.44.44 0 01-.438-.438v-8.75A.44.44 0 017 3.047a.44.44 0 01.438.437v8.75a.437.437 0 01-.438.438zM4.521 5.672H3.208a.44.44 0 01-.437-.438.44.44 0 01.438-.437H4.52a.44.44 0 01.438.437.44.44 0 01-.438.438zM4.958 7.422h-1.75a.44.44 0 01-.437-.438.44.44 0 01.438-.437h1.75a.44.44 0 01.437.437.44.44 0 01-.438.438z",fill:"#606076"})))},tS=i(42762),tB=["title","titleId"];function tO(){return(tO=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(null,arguments)}var tM=function(e){var t=e.title,i=e.titleId,n=function(e,t){if(null==e)return{};var i,n,o=function(e,t){if(null==e)return{};var i={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(t.includes(n))continue;i[n]=e[n]}return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n<r.length;n++)i=r[n],t.includes(i)||({}).propertyIsEnumerable.call(e,i)&&(o[i]=e[i])}return o}(e,tB);return g.createElement("svg",tO({width:14,height:15,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":i},n),t?g.createElement("title",{id:i},t):null,r||(r=g.createElement("path",{d:"M7 13.552A5.547 5.547 0 011.458 8.01 5.547 5.547 0 017 2.47a5.547 5.547 0 015.542 5.541A5.547 5.547 0 017 13.552zM7 3.344A4.673 4.673 0 002.333 8.01 4.673 4.673 0 007 12.677a4.673 4.673 0 004.667-4.667A4.673 4.673 0 007 3.344z",fill:"#606076"})),a||(a=g.createElement("path",{d:"M7 8.3a.44.44 0 01-.438-.438V4.945A.44.44 0 017 4.508a.44.44 0 01.438.437v2.917A.44.44 0 017 8.299zM8.75 1.883h-3.5a.44.44 0 01-.438-.438.44.44 0 01.438-.437h3.5a.44.44 0 01.438.437.44.44 0 01-.438.438z",fill:"#606076"})))};let tT=(0,C.default)("div").withConfig({componentId:"sc-96a37894-0"})(["position:relative;padding:20px;border-radius:20px;display:flex;gap:20px;min-width:452px;background:",";@media (max-width:1360px){width:100%;}@media (max-width:600px){flex-direction:column;gap:16px;padding:16px 16px 20px 16px;min-width:auto;}"],e=>{let{theme:t}=e;return t.background.content}),tE=C.default.div.withConfig({componentId:"sc-96a37894-1"})(["position:relative;flex-shrink:0;height:100%;width:100%;max-width:182px;min-height:266px;@media (max-width:600px){max-width:116px;min-height:177px;}img{display:block;border-radius:16px;width:100%;height:100%;object-fit:cover;@media (max-width:600px){border-radius:10px;height:177px;}}"]),tz=(0,C.default)("div").withConfig({componentId:"sc-96a37894-2"})(["position:absolute;left:50%;transform:translateX(-50%);border-radius:10px 10px 0 0;background:#ee473d;padding:2px 12px;line-height:0;top:-24px;@media (max-width:600px){padding:0px 12px;top:-20px;}"]),tL=(0,C.default)("div").withConfig({componentId:"sc-96a37894-3"})(["display:flex;gap:20px;"]),tN=(0,C.default)("div").withConfig({componentId:"sc-96a37894-4"})(["display:flex;flex-direction:column;justify-content:space-between;gap:25px;& button{.button-content{display:flex;align-items:center;gap:8px;transition:gap 0.3s ease-in-out;}&:hover{.button-content{gap:16px;}svg{transform:translateX(10px);transition:transform 0.3s ease-in-out;}}background:linear-gradient(90deg,#f63b56 0%,#7815f9 100%);border:none;& svg path{fill:none;}& svg{min-width:20px;min-height:20px;transition:transform 0.3s ease-in-out;}@media (max-width:960px){width:355px;}@media (max-width:650px){width:auto;}&:hover{background:linear-gradient(90deg,#ff6278 0%,#8e37ff 100%);border:none;
1& svg path{fill:none;}}&:active{background:linear-gradient(90deg,#e2213c 0%,#6503e5 100%);border:none;& svg path{fill:none;}}}"]),tP=(0,C.default)("div").withConfig({componentId:"sc-96a37894-5"})(["display:flex;gap:10px;white-space:nowrap;@media (max-width:360px){flex-wrap:wrap;}"]),tA=(0,C.default)("div").withConfig({componentId:"sc-96a37894-6"})(["padding:8px 10px 8px 8px;display:flex;align-items:center;gap:5px;background:",";border-radius:24px;line-height:0;@media (max-width:600px){padding:6px 8px 6px 6px;}svg{path{fill:",";}}"],e=>{let{theme:t}=e;return t.background.secondary},e=>e.theme.icons.fourth),tD=(0,C.default)("div").withConfig({componentId:"sc-96a37894-7"})(["color:",";display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;-webkit-line-clamp:4;max-width:210px;margin-bottom:12px;font-size:15px;font-weight:400;line-height:20px;@media (max-width:1360px){max-width:100%;}@media (max-width:600px){font-size:14px;line-height:18px;}"],e=>{let{theme:t}=e;return t.text.fourth}),tF=(0,C.default)("div").withConfig({componentId:"sc-96a37894-8"})(["width:100%;& button{background:linear-gradient(90deg,#f63b56 0%,#7815f9 100%);max-width:100% !important;border:none;@media (max-width:960px){max-width:355px;}& svg path{fill:none;}&:hover{background:linear-gradient(90deg,#ff6278 0%,#8e37ff 100%);border:none;& svg path{fill:none;}}&:active{background:linear-gradient(90deg,#e2213c 0%,#6503e5 100%);border:none;& svg path{fill:none;}}}"]),tW=(e,t)=>{if(null==e||e<=0)return t("new_course_card.time_minutes",{value:0});let i=Math.floor(e/60),n=Math.floor(i/60),o=i%60;return n>0&&o>0?t("new_course_card.time_hours_minutes",{hours:n,minutes:o}):n>0?t("new_course_card.time_hours",{value:n}):t("new_course_card.time_minutes",{value:i})},t$=e=>{let{newCourse:t}=e,{t:i}=(0,f.$G)(k.d.CLUB),{query:n,push:o}=(0,e$.useRouter)(),r=(0,m.useMediaQuery)(m.breakpoint.down(1360)),a=(0,m.useMediaQuery)(m.breakpoint.down(600)),{avatar_file:l,name:d,info:s,unique_id:c,lessons_count:p,total_time:h}=null!=t?t:{},u=()=>{o({pathname:j.ns.club.coursePage.replace("[".concat(ef.l.EDUCATION_SECTION,"]"),n.educationSection||ef.z.COURSES).replace("[courseId]",c)})};return(0,x.jsxs)(tT,{children:[(0,x.jsxs)(tL,{children:[(0,x.jsxs)(tE,{children:[(0,x.jsx)("img",{alt:"avatar-image",src:(0,L.zo)(l,"_"),loading:"lazy"}),(0,x.jsx)(tz,{children:(0,x.jsx)(m.Typography,{variant:"text-Medium",colorName:"contrastThemed",children:i("home.club_teaches.die")})})]}),(0,x.jsxs)(tN,{children:[(0,x.jsxs)("div",{children:[(0,x.jsx)(m.Typography,{variant:a?"header6-SemiBold":"header5-SemiBold",colorName:"primary",maxWidth:r?"100%":210,marginBottom:a?6:8,display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical",WebkitLineClamp:3,tag:"span",children:d}),(0,x.jsx)(tD,{dangerouslySetInnerHTML:{__html:s}}),(0,x.jsxs)(tP,{children:[(0,x.jsxs)(tA,{children:[(0,x.jsx)(tI,{}),(0,x.jsxs)(m.Typography,{variant:a?"caption2-Medium":"caption-Medium",colorName:"fourth",children:[null!=p?p:0," ",(0,tk.De)(null!=p?p:0)]})]}),(0,x.jsxs)(tA,{children:[(0,x.jsx)(tM,{}),(0,x.jsx)(m.Typography,{variant:a?"caption2-Medium":"caption-Medium",colorName:"fourth",children:tW(h,i)})]})]})]}),!a&&(0,x.jsx)(m.Button,{text:i("home.club_teaches.button_text"),onClick:u,iconRight:(0,x.jsx)(tS.Z,{})})]})]}),a&&(0,x.jsx)(tF,{children:(0,x.jsx)(m.Button,{text:i("home.club_teaches.button_text"),onClick:u,iconRight:(0,x.jsx)(tS.Z,{}),width:"100%"})})]})},tU=(0,g.memo)(()=>{let{t:e}=(0,f.$G)(k.d.CLUB),{courses:t,loading:i}=(0,tm.d)(!0),n=(0,m.useMediaQuery)(m.breakpoint.down(1360)),o=j.ns.club.education.replace("[".concat(ef.l.EDUCATION_SECTION,"]"),ef.z.COURSES),r=n?null==t?void 0:t.slice(1,3):null==t?void 0:t.slice(1,5);return(0,x.jsxs)(tf,{children:[(0,x.jsx)(m.WidgetTitle,{text:e("home.club_teaches.title"),link:o}),i===j.y2.LOADING?(0,x.jsx)(tw,{}):i!==j.y2.FAILED&&(null==t?void 0:t.length)?(0,x.jsxs)(tg,{children:[(null==t?void 0:t[0])&&(0,x.jsx)(t$,{newCourse:t[0]}),(0,x.jsx)(tb,{children:null==r?void 0:r.map((e,t)=>(0,x.jsx)(tj,{course:e},t))})]}):(0,x.jsx)(y.J,{text:e("home.club_teaches.plug_error")})]})});var tZ=i(14638);let tG=C.default.div.withConfig({componentId:"sc-18e42e6-0"})(["display:flex;align-items:center;gap:60px;max-width:100%;overflow:hidden;margin-left:20px;& > div{height:365px;width:255px;min-width:255px;}@media (max-width:600px){& > div{height:234px;width:152px;min-width:152px;}}"]),tR=()=>(0,x.jsxs)(tG,{children:[(0,x.jsx)(m.Skeleton,{height:100,bottom:0,radius:24}),(0,x.jsx)(m.Skeleton,{height:100,bottom:0,radius:24}),(0,x.jsx)(m.Skeleton,{height:100,bottom:0,radius:24}),(0,x.jsx)(m.Skeleton,{height:100,bottom:0,radius:24})]});var tH=["title","titleId"];function tV(){return(tV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(null,arguments)}var tQ=function(e){var t=e.title,i=e.titleId,n=function(e,t){if(null==e)return{};var i,n,o=function(e,t){if(null==e)return{};var i={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(t.includes(n))continue;i[n]=e[n]}return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n<r.length;n++)i=r[n],t.includes(i)||({}).propertyIsEnumerable.call(e,i)&&(o[i]=e[i])}return o}(e,tH);return g.createElement("svg",tV({width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":i},n),t?g.createElement("title",{id:i},t):null,l||(l=g.createElement("path",{d:"M8.59 15.004l4.24-4.29a1.002 1.002 0 000-1.42l-4.24-4.24a1 1 0 10-1.42 1.41l3.54 3.54-3.54 3.54a1 1 0 000 1.41 1 1 0 001.42.05z",fill:"#fff"})))};let tq=(0,C.keyframes)(["from{opacity:0;}to{opacity:1;}"]),tJ=(0,C.default)(m.ArrowButton).withConfig({componentId:"sc-52c8a982-0"})(["position:absolute;top:50%;z-index:200;transform:translate(0,-50%);opacity:0;pointer-events:none;@media (max-width:960px){display:none;}"]),tX=C.default.div.withConfig({componentId:"sc-52c8a982-1"})(["position:absolute;display:flex;align-items:center;justify-content:center;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.3);"]),tY=C.default.div.withConfig({componentId:"sc-52c8a982-2"})(["height:474px;border-radius:24px;background:url(/club-images/home-v2/clubTeamBG.png);background-repeat:no-repeat;background-size:cover;position:relative;display:flex;align-items:center;&:hover{","{opacity:1;pointer-events:auto;}}@media (max-width:600px){height:322px;border-radius:20px;}"],tJ),tK=(0,C.default)("div").withConfig({componentId:"sc-52c8a982-3"})(["overflow:hidden;position:relative;"]),t0=(0,C.default)("div").withConfig({componentId:"sc-52c8a982-4"})(["display:flex;align-items:center;width:100%;position:relative;"]),t1=C.default.div.withConfig({componentId:"sc-52c8a982-5"}
1)(["height:365px;width:255px;min-width:255px;position:relative;display:flex;align-items:flex-end;border-radius:24px;transition:transform 0.5s ",";transform:",";cursor:pointer;flex-shrink:0;margin-right:32px;margin-left:32px;overflow:hidden;&:before{content:'';position:absolute;border-radius:20px;inset:0;background-image:",";background-size:cover;background-position:center;}@media (max-width:600px){height:234px;width:152px;min-width:152px;margin-right:16px;margin-left:16px;border-radius:20px;}",""],m.AnimationFunctions.animation_1,e=>e.$isActive?"scale(1)":"scale(0.9)",e=>{let{$img:t}=e;return"url(".concat((0,L.zo)(t,"_"),")")},e=>{let{$isActive:t}=e;return!t&&(0,C.css)(["&:hover{transform:scale(0.95);}"])}),t2=C.default.div.withConfig({componentId:"sc-52c8a982-6"})(["display:flex;flex-direction:column;justify-content:flex-end;padding:16px;height:183px;width:100%;z-index:200;border-radius:0 0 24px 24px;animation:"," 0.5s forwards;background:linear-gradient( 180deg,rgba(17,17,17,0) 0.19%,rgba(17,17,17,0.68) 50%,rgba(17,17,17,0.86) 99.47% );@media (max-width:600px){padding:12px 12px 20px 12px;border-radius:0 0 20px 20px;height:145px;background:linear-gradient( 180deg,rgba(17,17,17,0) 0.19%,rgba(17,17,17,0.68) 50%,rgba(17,17,17,0.86) 99.47% );}"],tq),t4=(0,C.default)(m.Typography).withConfig({componentId:"sc-52c8a982-7"})(["margin-top:8px;margin-bottom:17px;-webkit-line-clamp:3;display:-webkit-box;word-wrap:break-word;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;@media (max-width:600px){-webkit-line-clamp:2;margin-top:4px;margin-bottom:0;}"]),t5=C.default.button.withConfig({componentId:"sc-52c8a982-8"})(["display:flex;align-items:center;@media (max-width:600px){display:none;}"]),t3=(0,g.memo)(()=>{let[e,t]=(0,g.useState)(!1),[i,n]=(0,g.useState)(0),{data:o,isLoading:r,isError:a}=(0,v.Zi)(),[l,{data:d,isFetching:s}]=(0,v.rB)(),{t:c}=(0,f.$G)(k.d.CLUB),{emblaRef:p,onPrevButtonClick:h,onNextButtonClick:u,emblaApi:b,selectedIndex:w}=(0,eb.q)({loop:!0,align:"center"});(0,g.useEffect)(()=>{n(w)},[w]);let C=async e=>{await l({id:e,is_club:1},!0),t(!0)},_=(0,g.useCallback)(()=>{t(!1)},[]);return r?(0,x.jsxs)("div",{children:[(0,x.jsx)(m.WidgetTitle,{text:c("home.team.title")}),(0,x.jsx)(tY,{children:(0,x.jsx)(tR,{})})]}):a?(0,x.jsxs)("div",{children:[(0,x.jsx)(m.WidgetTitle,{text:c("home.team.title")}),(0,x.jsx)(y.J,{text:c("home.new_publications.widget_error")})]}):(0,x.jsxs)("div",{children:[(0,x.jsx)(m.WidgetTitle,{text:c("home.team.title"),link:j.ns.club.team}),(0,x.jsxs)(tY,{children:[(0,x.jsx)(tJ,{style:{left:"20px"},onClick:h}),(0,x.jsx)(tJ,{style:{right:"20px"},direction:"right",onClick:u}),(0,x.jsx)(tK,{ref:p,children:(0,x.jsx)(t0,{children:o.map((e,t)=>{let i=t===w;return(0,x.jsx)("div",{className:"embla__slide",children:(0,x.jsx)("div",{className:"embla__slide__number",children:(0,x.jsxs)(t1,{$img:e.photo_url,role:"button",tabIndex:-1,$isActive:i,onClick:()=>{i?C(e.news_source_id):b.scrollTo(t)},children:[i&&s&&(0,x.jsx)(tX,{children:(0,x.jsx)(m.Loader,{color:"#fff"})}),i&&(0,x.jsxs)(t2,{children:[(0,x.jsx)(m.Typography,{tag:"h4",variant:[{resolution:null,variant:"header4-SemiBold"},{resolution:600,variant:"header6-SemiBold"}],colorName:"contrastThemed",children:e.fio}),(0,x.jsx)(t4,{variant:[{resolution:null,variant:"text-Regular"},{resolution:600,variant:"description-Regular"}],color:"#DDD",children:e.job}),(0,x.jsxs)(t5,{children:[(0,x.jsx)(m.Typography,{variant:"description-Regular",tag:"span",colorName:"contrastThemed",children:c("home.team.more")}),(0,x.jsx)(tQ,{})]})]})]})})},t)})})})]}),(0,x.jsx)(tZ.B,{open:e,onClose:_,authorInfo:d,isLoading:s,selectedIndex:i,clubTeamData:o,getInfo:l,setSelectedIndex:n})]})});var t6=i(92647);let t8=C.default.div.withConfig({componentId:"sc-65bf00cc-0"})(["position:absolute;top:0;left:0;width:100%;height:100%;"]),t9=C.default.div.withConfig({componentId:"sc-65bf00cc-1"})(["position:absolute;z-index:2;top:0;left:0;width:100%;height:100%;background:linear-gradient( 0deg,rgba(0,0,0,0.65) 0%,rgba(0,0,0,0.65) 100% );"]),t7=C.default.div.withConfig({componentId:"sc-65bf00cc-2"})(["position:absolute;top:0;left:0;width:100%;height:100%;background-image:",";transform:scale(1.5);background-size:cover;background-position:center;transition:opacity 0.3s ",";opacity:",";pointer-events:none;filter:blur(9px);@media (max-width:450px){transform:scale(1.3);}"],e=>{let{$img:t}=e;
1return"url(".concat((0,L.zo)(t,"_"),")")},m.AnimationFunctions.animation_1,e=>e.$isActive?1:0),ie=e=>{let{items:t,selectedIndex:i}=e,n=(0,g.useMemo)(()=>t.map(e=>e.avatar_file),[t]);return(0,x.jsxs)(t8,{children:[(0,x.jsx)(t9,{}),n.map((e,t)=>(0,x.jsx)(t7,{$img:e,$isActive:i===t},t))]})};var it=i(87336);let ii=(0,C.default)(m.Typography).withConfig({componentId:"sc-a05b7db0-0"})(["position:relative;z-index:3;margin-bottom:24px;display:flex;align-items:center;gap:2px;"]),io=(0,C.default)(m.ArrowButton).withConfig({componentId:"sc-a05b7db0-1"})(["position:absolute;top:161px;z-index:200;opacity:0;pointer-events:none;@media (max-width:1150px){top:127px;}@media (max-width:960px){display:none;}"]),ir=C.default.div.withConfig({componentId:"sc-a05b7db0-2"})(["width:100%;min-width:0;height:459px;overflow:hidden;border-radius:24px;padding:24px;position:relative;&:hover{","{opacity:1;pointer-events:auto;}}@media (max-width:1150px){padding:36px;height:438px;}@media (max-width:600px){border-radius:20px;height:423px;padding:28px 16px;}"],io),ia=C.default.div.withConfig({componentId:"sc-a05b7db0-3"})(["overflow:hidden;position:relative;min-width:0;width:calc(100% + 48px);margin-right:-24px;margin-left:-24px;z-index:3;@media (max-width:1150px){width:calc(100% + 72px);margin-right:-36px;margin-left:-36px;}@media (max-width:600px){width:calc(100% + 32px);margin-right:-16px;margin-left:-16px;}"]),il=C.default.div.withConfig({componentId:"sc-a05b7db0-4"})(["display:flex;align-items:center;position:relative;width:100%;.embla__slide{flex:0 0 auto;}.embla__slide__number{flex:0 0 auto;}"]),id=C.default.div.withConfig({componentId:"sc-a05b7db0-5"})(["height:218px;width:149px;min-width:149px;position:relative;display:flex;align-items:flex-end;border-radius:16px;transition:transform 0.5s ",";transform:",";cursor:pointer;flex-shrink:0;margin-right:12px;margin-left:12px;overflow:hidden;&:before{content:'';position:absolute;border-radius:16px;inset:0;background-image:",";background-size:cover;background-position:center;}",""],m.AnimationFunctions.animation_1,e=>e.$isActive?"scale(1)":"scale(0.86)",e=>{let{$img:t}=e;return"url(".concat((0,L.zo)(t,"_"),")")},e=>{let{$isActive:t}=e;return!t&&(0,C.css)(["&:hover{transform:scale(0.95);}"])}),is=C.default.div.withConfig({componentId:"sc-a05b7db0-6"})(["margin:20px auto 24px auto;max-width:522px;text-align:center;z-index:3;position:relative;color:",";-webkit-line-clamp:3;display:-webkit-box;word-wrap:break-word;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;& > *{font-size:17px;font-style:normal;font-weight:400;line-height:22px;}"],e=>e.theme.text.contrastThemed),ic=C.default.div.withConfig({componentId:"sc-a05b7db0-7"})(["border-radius:6px;border:1px solid #fff;background:rgba(255,255,255,0.1);backdrop-filter:blur(20px);padding:12px 12px 12px 16px;display:flex;align-items:center;justify-content:center;width:172px;height:36px;position:relative;z-index:3;margin:0 auto;transition:background-color 0.3s ",";&:hover{background:rgba(255,255,255,0.36);}&:active{background:rgba(0,0,0,0.12);}@media (max-width:600px){width:100%;}"],m.AnimationFunctions.animation_1),ip=e=>{let{items:t,type:i}=e,{t:n}=(0,f.$G)(k.d.CLUB),{push:o}=(0,e$.useRouter)(),r=(0,m.useMediaQuery)(m.breakpoint.down(1150)),{emblaRef:a,onPrevButtonClick:l,onNextButtonClick:d,emblaApi:s,selectedIndex:c}=(0,eb.q)({loop:!0,align:"center"}),p=(0,g.useMemo)(()=>t.map(e=>e.unique_id).join(","),[t]);(0,g.useEffect)(()=>{if(!s)return;let e=requestAnimationFrame(()=>s.reInit());return()=>cancelAnimationFrame(e)},[s,p]);let h=t[c]||{},u="film"===i?"kink":"rkink",b=()=>{o({pathname:j.ns.club.coursePage,query:{educationSection:u,courseId:h.unique_id}})},w="film"===i?{pathname:t6.nD}:{pathname:t6.nD,query:{[t6.P_]:t6.pC.reading}},v=null!=h.unique_id?{pathname:j.ns.club.coursePage,query:{educationSection:u,courseId:h.unique_id}}:w;return(0,x.jsxs)(ir,{children:[!r&&(0,x.jsx)(P.Z,{href:w,style:{textDecoration:"none",color:"inherit"},children:(0,x.jsxs)(ii,{variant:"header5-Bold",tag:"h5",colorName:"contrastThemed",children:[n("home.films_and_books.".concat(i,"_title")),(0,x.jsx)(it.Z,{})]})}),(0,x.jsx)(ie,{items:t,selectedIndex:c}),(0,x.jsx)(io,{style:{left:"20px"},onClick:l}),(0,x.jsx)(io,{style:{right:"20px"},direction:"right",onClick:d}),(0,x.jsx)(ia,{ref:a,children:(0,x.jsx)(il,{children:t.map((e,t)=>{let i=t===c;return(0,x.jsx)("div",{className:"embla__slide",children:(0,x.jsx)("div",{className:"embla__slide__number",children:(0,x.jsx)(id,{$img:e.avatar_file,role:"button",tabIndex:-1,$isActive:i,onClick:()=>{i?b():s.scrollTo(t)}})})},e.unique_id)})})}),(0,x.jsx)(is,{dangerouslySetInnerHTML:{__html:h.info}}),(0,x.jsx)(P.Z,{href:v,children:(0,x.jsx)(ic,{children:(0,x.jsx)(m.Typography,{variant:"description-Medium",colorName:"contrastThemed",tag:"span",children:n("home.films_and_books.".concat(i,"_button"))})})})]})},ih=C.default.div.withConfig({componentId:"sc-5d0e6447-0"})(["display:flex;align-items:center;gap:20px;max-width:100%;@media (max-width:1150px){& > div{min-width:100%;height:438px;}}@media (max-width:600px){& > div{border-radius:20px;height:423px;}}"]),ix=()=>{let e=(0,m.useMediaQuery)(m.breakpoint.down(1150));return(0,x.jsxs)(ih,{children:[(0,x.jsx)(m.Skeleton,{height:459,bottom:0,radius:24,maxWidth:570}),!e&&(0,x.jsx)(m.Skeleton,{height:459,bottom:0,radius:24,maxWidth:570})]})},iu=C.default.div.withConfig({componentId:"sc-e48c84f-0"})(["display:flex;gap:20px;& > *{min-width:0;}"]),im=(0,g.memo)(()=>{let[e,t]=(0,g.useState)("books"),{t:i}=(0,f.$G)(k.d.CLUB),{data:n=[],isError:o,isLoading:r}
1=(0,v.PW)({partition:"kink",is_club:!0}),{data:a=[],isError:l,isLoading:d}=(0,v.PW)({partition:"rkink",is_club:!0}),s=(0,m.useMediaQuery)(m.breakpoint.down(1150)),c=(0,g.useMemo)(()=>[{value:"books",label:i("home.films_and_books.books_title")},{value:"film",label:i("home.films_and_books.film_title")}],[i]);return d||r?(0,x.jsxs)("div",{children:[(0,x.jsx)(m.WidgetTitle,{text:i("home.films_and_books.title")}),(0,x.jsx)(ix,{})]}):o||l?(0,x.jsxs)("div",{children:[(0,x.jsx)(m.WidgetTitle,{text:i("home.films_and_books.title")}),(0,x.jsx)(y.J,{text:i("home.new_publications.widget_error")})]}):(0,x.jsxs)("div",{children:[(0,x.jsx)(m.WidgetTitle,{text:i("home.films_and_books.title")}),s&&(0,x.jsx)(m.Bubbles,{style:{marginBottom:"16px"},selectedValue:e,options:c,onChange:t}),s?(0,x.jsx)(ip,{items:"film"===e?n:a,type:e}):(0,x.jsxs)(iu,{children:[(0,x.jsx)(ip,{items:a,type:"books"}),(0,x.jsx)(ip,{items:n,type:"film"})]})]})});var ig=i(94739),ib=i(96435),iw=["title","titleId"];function iv(){return(iv=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(null,arguments)}var iy=function(e){var t=e.title,i=e.titleId,n=function(e,t){if(null==e)return{};var i,n,o=function(e,t){if(null==e)return{};var i={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(t.includes(n))continue;i[n]=e[n]}return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n<r.length;n++)i=r[n],t.includes(i)||({}).propertyIsEnumerable.call(e,i)&&(o[i]=e[i])}return o}(e,iw);return g.createElement("svg",iv({width:17,height:10,viewBox:"0 0 17 10",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":i},n),t?g.createElement("title",{id:i},t):null,d||(d=g.createElement("path",{d:"M1.5 4.45a.55.55 0 100 1.1v-1.1zm14.389.939a.55.55 0 000-.778l-3.5-3.5a.55.55 0 10-.778.778L14.722 5l-3.111 3.111a.55.55 0 10.778.778l3.5-3.5zM1.5 5.55h14v-1.1h-14v1.1z",fill:"#fff"})))},ij=i(92939);let ik=(0,C.default)("div").withConfig({componentId:"sc-836b5ee-0"})(["position:relative;width:100%;flex:1 1 0;padding:16px 20px;display:flex;flex-direction:column;background-image:url('/club-images/home/background-guide.png');background-size:cover;background-position:center;border-radius:20px;gap:16px;cursor:",";@media (max-width:960px){max-width:100%;}"],e=>{let{$clickable:t}=e;return t?"pointer":"default"}),iC=(0,C.default)("div").withConfig({componentId:"sc-836b5ee-1"})(["border-bottom:0.5px solid #d8d9f385;opacity:0.52;"]),i_=(0,C.default)("div").withConfig({componentId:"sc-836b5ee-2"})(["display:flex;flex-direction:column;gap:6px;"]),iI=(0,C.default)("div").withConfig({componentId:"sc-836b5ee-3"})(["display:flex;justify-content:space-between;align-items:center;gap:12px;line-height:0;"]),iS=(0,C.default)("div").withConfig({componentId:"sc-836b5ee-4"})(["display:flex;align-items:center;justify-content:space-between;width:100%;gap:32px;& button{background:rgba(255,255,255,0.1);backdrop-filter:blur(20px);border:1px solid ",";&:hover{background:rgba(255,255,255,0.36);border:1px solid ",";}&:active{background:rgba(0,0,0,0.12);border:1px solid ",";}}"],e=>{let{theme:t}=e;return t.icons.contrastThemed},e=>{let{theme:t}=e;return t.icons.contrastThemed},e=>{let{theme:t}=e;return t.icons.contrastThemed}),iB=(0,C.default)("div").withConfig({componentId:"sc-836b5ee-5"})(["width:100%;display:flex;align-items:center;gap:20px;"]),iO=(0,C.default)("div").withConfig({componentId:"sc-836b5ee-6"})(["position:relative;width:100%;max-width:352px;height:10px;border-radius:90px;background:rgba(255,255,255,0.12);@media (max-width:960px){max-width:100%;}"]),iM=(0,C.default)("div").withConfig({componentId:"sc-836b5ee-7"})(["width:30%;height:inherit;border-radius:90px;transition:width 0.3s ",";background:",";"],m.AnimationFunctions.animation_1,e=>{let{theme:t}=e;return t.icons.contrastThemed}),iT=e=>({complete:e("home.guide.subtitle.complete"),progress24:e("home.guide.subtitle.progress24"),start:e("home.guide.subtitle.start")}),iE=e=>({complete:e("home.guide.button_text.complete"),progress24:e("home.guide.button_text.progress24"),start:e("home.guide.button_text.start")}),iz=(e,t)=>
1100===e?t.complete:e>=24?t.progress24.replace("{progress}",Math.round(e).toString()):t.start,iL=["шаг","шага","шагов"],iN=()=>{let{t:e}=(0,f.$G)(k.d.CLUB),t=(0,m.useMediaQuery)(m.breakpoint.down(600)),{data:i,isLoading:n,isFetching:o}=(0,v.Rc)(),r=(0,g.useMemo)(()=>(0,ig.sU)(),[]),a=(0,g.useMemo)(()=>r.filter(e=>(0,ib.kn)(i,e.code)).length,[r,i]),l=(0,g.useMemo)(()=>(0,ig.Qf)(i),[i]),d=n||o&&void 0===i,s=r.length,c=(0,ij.A)(s,[...iL]);return(0,x.jsxs)(ik,{onClick:t?()=>window.open(j.ns.club.onboarding,"_self"):void 0,$clickable:t,children:[(0,x.jsxs)(i_,{children:[(0,x.jsxs)(iI,{children:[(0,x.jsx)(m.Typography,{variant:"header4-SemiBold",colorName:"contrastThemed",children:e("home.guide.title")}),!d&&(0,x.jsxs)(m.Typography,{variant:"header3-Bold",colorName:"contrastThemed",lineHeight:"0",children:[l,"%"]})]}),d?(0,x.jsx)(m.Skeleton,{height:20,maxWidth:600,bottom:0}):(0,x.jsx)(m.Typography,{variant:"text-Regular",color:"#D8D9F3",children:iz(l,iT(e))})]}),(0,x.jsx)(iC,{}),(0,x.jsxs)(iS,{children:[(0,x.jsxs)(iB,{children:[(0,x.jsx)(iO,{children:(0,x.jsx)(iM,{style:{width:"".concat(l,"%")}})}),!d&&(0,x.jsxs)(m.Typography,{variant:"paragraph-Medium",color:"#A3A4BC",whiteSpace:"nowrap",children:[(0,x.jsx)(m.Typography,{variant:"paragraph-Medium",color:"white",tag:"span",children:a})," ","из ",s," ",c]})]}),!t&&(0,x.jsx)(m.Button,{width:"186px",text:iz(l,iE(e)),iconRight:(0,x.jsx)(iy,{}),onClick:()=>window.open(j.ns.club.onboarding,"_self"),size:"S"})]})]})};var iP=i(83332),iA=i(77451),iD=i(76511),iF=["title","titleId"];function iW(){return(iW=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(null,arguments)}var i$=function(e){var t=e.title,i=e.titleId,n=function(e,t){if(null==e)return{};var i,n,o=function(e,t){if(null==e)return{};var i={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(t.includes(n))continue;i[n]=e[n]}return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n<r.length;n++)i=r[n],t.includes(i)||({}).propertyIsEnumerable.call(e,i)&&(o[i]=e[i])}return o}(e,iF);return g.createElement("svg",iW({width:27,height:28,viewBox:"0 0 27 28",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":i},n),t?g.createElement("title",{id:i},t):null,s||(s=g.createElement("path",{d:"M17.54 13.29l-5.66-5.65a.999.999 0 00-1.42 0 1 1 0 000 1.41l4.95 5L10.46 19a1 1 0 00.325 1.63.998.998 0 00.385.08 1 1 0 00.71-.3l5.66-5.65a1 1 0 000-1.47z",fill:"#242424"})))};let iU=(0,C.default)("div").withConfig({componentId:"sc-c964ffed-0"})(["display:flex;gap:6px;"]),iZ=(0,C.default)("div").withConfig({componentId:"sc-c964ffed-1"})(["position:relative;cursor:pointer;width:",";height:8px;background-color:",";border-radius:",";@media (max-width:600px){height:4px;width:",";}"],e=>{let{isActive:t}=e;return t?"44px":"8px"},e=>{let{theme:t,mode:i}=e;return"secondary"===i?t.stroke.secondary:"#706c77"},e=>e.isActive?"8px":"100px",e=>{let{isActive:t}=e;return t?"44px":"4px"}),iG=(0,C.default)("div").withConfig({componentId:"sc-c964ffed-2"})(["position:absolute;top:0;left:0;height:100%;width:",";background-color:",";border-radius:inherit;transition:width 0.1s linear;"],e=>{let{progress:t}=e;return"".concat(t,"%")},e=>{let{theme:t,mode:i}=e;return"secondary"===i?t.icons.fourth:t.icons.contrastThemed}),iR=C.default.div.withConfig({componentId:"sc-6869852d-0"})(["width:100%;flex:1;& > div{height:100%;border-radius:24px;}@media (max-width:960px){margin:-24px -18px 0 -18px;width:calc(100% + 36px);& > div{height:361px;border-radius:0 0 24px 24px;}}@media (max-width:600px){& > div{height:460px;border-radius:0;}}"]),iH=C.default.div.withConfig({componentId:"sc-6869852d-1"})(["position:relative;width:100%;flex:1;overflow:hidden;@media (max-width:960px){margin:-24px -18px 0 -18px;width:calc(100% + 36px);}"]),iV=(0,C.default)("div").withConfig({componentId:"sc-6869852d-2"})(["display:flex;touch-action:pan-y pinch-zoom;"]),iQ=(0,C.default)("div").withConfig({componentId:"sc-6869852d-3"})(["position:absolute;z-index:2;top:32px;right:32px;margin-top:-8px;margin-right:-8px;display:flex;gap:20px;align-items:center;justify-content:space-between;"]),iq=(0,C.default)("button").withConfig({componentId:"sc-6869852d-4"})(["position:relative;z-index:15;background:",";min-width:28px;min-height:28px;border-radius:50%;transition:transform 0.2s ease,background 0.2s ease;&:hover{background:",";transform:scale(1.1);}&:active{background:",";transform:scale(0.9);}& svg{width:28px;height:28px;"," & path{fill:",";}}"],e=>{let{theme:t}=e;
1return t.interactiveButtons.outlineBrandBackground},e=>{let{theme:t}=e;return t.interactiveButtons.systemBackground},e=>{let{theme:t}=e;return t.interactiveButtons.systemBackgroundHover},e=>{let{isRight:t}=e;return!t&&(0,C.css)(["transform:rotate(180deg);"])},e=>{let{theme:t}=e;return t.icons.primary}),iJ=(0,C.default)(e=>{let{slidesCount:t,selectedIndex:i,scrollToSlide:n,mode:o="default",className:r}=e,[a,l]=(0,g.useState)(0);return(0,g.useEffect)(()=>{l(0);let e=setInterval(()=>{l(e=>e+1>100?100:e+1)},50);return()=>clearInterval(e)},[i,5e3]),(0,x.jsx)(iU,{className:r,children:Array.from({length:t}).map((e,t)=>(0,x.jsx)(iZ,{isActive:t===i,onClick:e=>{e.stopPropagation(),null==n||n(t)},mode:o,children:t===i&&(0,x.jsx)(iG,{mode:o,progress:a})},t))})}).withConfig({componentId:"sc-6869852d-5"})(["position:absolute;bottom:45px;right:32px;@media (max-width:600px){bottom:30px;right:50%;transform:translateX(50%);}"]);var iX=["title","titleId"];function iY(){return(iY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(null,arguments)}var iK=function(e){var t=e.title,i=e.titleId,n=function(e,t){if(null==e)return{};var i,n,o=function(e,t){if(null==e)return{};var i={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(t.includes(n))continue;i[n]=e[n]}return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n<r.length;n++)i=r[n],t.includes(i)||({}).propertyIsEnumerable.call(e,i)&&(o[i]=e[i])}return o}(e,iX);return g.createElement("svg",iY({width:16,height:22,viewBox:"0 0 16 22",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":i},n),t?g.createElement("title",{id:i},t):null,c||(c=g.createElement("g",{clipPath:"url(#chevron-right_svg__clip0_19599_59731)"},g.createElement("path",{d:"M5.17 5.996a1 1 0 000 1.41l3.54 3.59-3.54 3.54a1 1 0 101.42 1.41l4.24-4.24a.999.999 0 000-1.42l-4.24-4.29a1 1 0 00-1.42 0z",fill:"#242424"}))),p||(p=g.createElement("defs",null,g.createElement("clipPath",{id:"chevron-right_svg__clip0_19599_59731"},g.createElement("path",{fill:"#fff",transform:"rotate(-90 11 11)",d:"M0 0h22v16H0z"})))))};let i0=C.default.div.withConfig({componentId:"sc-23bfd19b-0"})(["position:relative;transform:translate3d(0,0,0);flex:0 0 auto;width:100%;max-height:460px;min-height:391px;background-image:",";background-size:cover;background-position:center;border-radius:24px;display:flex;flex-direction:column;justify-content:space-between;padding:32px;overflow:hidden;@media (max-width:960px){margin:0;max-width:100%;border-radius:0 0 24px 24px;min-height:361px;padding:32px 24px;}@media (max-width:600px){justify-content:end;padding:16px;border-radius:0;min-height:460px;}&::before{content:'';position:absolute;top:0;left:0;width:100%;height:40%;background:linear-gradient( 180deg,rgba(15,15,15,0.6) 0%,rgba(15,15,15,0.43) 23.02%,rgba(15,15,15,0.23) 55.84%,rgba(15,15,15,0) 95.5% );z-index:1;@media (max-width:600px){height:30%;background:linear-gradient( 180deg,#0f0f0f 0%,rgba(15,15,15,0.8) 64.61%,rgba(15,15,15,0) 93.97% );}}&::after{content:'';position:absolute;bottom:0;left:0;width:100%;height:60%;background:linear-gradient( 0deg,#0f0f0f 0%,rgba(15,15,15,0.8) 64.61%,rgba(15,15,15,0) 93.97% );z-index:1;}"],e=>{let{isMobile:t,$img:i}=e;return t?"url(".concat(i,")"):"linear-gradient(\n        90deg,\n        rgba(7, 5, 17, 0) 74.5%,\n        #070511 100%\n      ), url(".concat(i,")")}),i1=(0,C.default)("div").withConfig({componentId:"sc-23bfd19b-1"})(["z-index:10;display:inline-flex;width:fit-content;padding:6px 12px;gap:4px;align-items:center;border-radius:40px;border:1px solid #7d7c7c;background:rgba(0,0,0,0.04);backdrop-filter:blur(20px);@media (max-width:600px){margin-bottom:12px;}& p{@media (max-width:960px){left:24px;top:8px;}}"]),i2=(0,C.default)("img").withConfig({componentId:"sc-23bfd19b-2"})(["display:flex;width:16px;justify-content:center;align-items:center;align-self:stretch;aspect-ratio:1/1;"]),i4=(0,C.default)("div").withConfig({componentId:"sc-23bfd19b-3"})(["z-index:2;display:flex;flex-direction:column;gap:26px;& p{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;-webkit-line-clamp:2;}"]),i5=(0,C.default)("span").withConfig({componentId:"sc-23bfd19b-4"})(["width:4px;height:4px;border-radius:50%;background:#e7e6ec;@media (max-width:600px){width:2px;height:2px;}"]),i3=(0,C.default)("div").withConfig({componentId:"sc-23bfd19b-5"})(["display:flex;justify-content:space-between;align-items:center;@media (max-width:600px){margin-bottom:24px;}"]),i6=(0,C.default)("div").withConfig({componentId:"sc-23bfd19b-6"})(["display:flex;align-items:center;gap:6px;"]),i8=(0,C.default)("div").withConfig({componentId:"sc-23bfd19b-7"})(["& span{color:",";}
1& svg path{fill:",";}&:hover{& path{fill:",";}}&:active{& path{fill:",";}}"],e=>{let{theme:t}=e;return t.icons.secondary},e=>{let{theme:t}=e;return t.icons.secondary},e=>{let{theme:t}=e;return t.icons.secondary},e=>{let{theme:t}=e;return t.icons.secondary}),i9=C.default.div.withConfig({componentId:"sc-23bfd19b-8"})(["display:flex;justify-content:space-between;align-items:center;& button{border-radius:12px;height:38px;padding-right:18px;background:#edecec;border:none;&:hover{background:#eae9f1;border:none;& svg path{fill:#242424;}}&:active{background:#cccadd;border:none;& svg path{fill:#242424;}}}& span{color:#242424;}& svg path{fill:#242424;}& svg{min-width:22px;min-height:16px;}"]),i7=e=>{var t,i;let{event:n,sections:o}=e,{push:r}=(0,e$.useRouter)(),{tags:a,date:l,photo:d,title:s,news_id:c}=null!=n?n:{},p=(0,m.useMediaQuery)(m.breakpoint.down(600)),h=(0,m.useMediaQuery)(m.breakpoint.down(960)),{t:u}=(0,f.$G)(k.d.CLUB),b=()=>{r({pathname:j.ns.club.schedulePage,query:{scheduleId:c}})},w=(0,g.useMemo)(()=>{if(o){let e=o.find(e=>a.includes(e.id))||null;if(e)return e.name}return null},[o,a]);return(0,x.jsxs)(i0,{$img:(0,L.zo)(d,"_"),isMobile:p,tabIndex:0,role:"button",children:[(0,x.jsxs)(i1,{children:[(null==n?void 0:null===(t=n.mat_type_section)||void 0===t?void 0:t.extra_icon)&&(0,x.jsx)(i2,{src:null==n?void 0:null===(i=n.mat_type_section)||void 0===i?void 0:i.icon,alt:"icon"}),w&&(0,x.jsx)(m.Typography,{variant:"description-SemiBold",colorName:"contrastThemed",children:w})]}),(0,x.jsxs)(i4,{children:[(0,x.jsxs)("div",{children:[(0,x.jsx)(m.Typography,{variant:p?"description-SemiBold":"header6-SemiBold",colorName:"contrastThemed",maxWidth:h?"100%":"742px",marginBottom:p?16:10,fontSize:p?24:32,lineHeight:p?"28px":"43px",fontWeight:700,children:s}),(0,x.jsxs)(i3,{children:[(0,x.jsxs)(i6,{children:[(0,x.jsx)(m.Typography,{variant:"text-Medium",color:"#E7E6EC",children:(0,O.Z)(new Date(l),"d MMMM")}),(0,x.jsx)(i5,{}),(0,x.jsx)(m.Typography,{variant:"text-Medium",color:"#E7E6EC",children:(0,O.Z)(new Date(l),"HH:mm")})]}),p&&(0,x.jsx)(i8,{children:(0,x.jsx)(m.TextButtonLink,{text:u("home.buttonDetails"),onClick:b})})]})]}),!p&&(0,x.jsx)(i9,{children:(0,x.jsx)(m.Button,{text:u("home.buttonDetails"),iconRight:(0,x.jsx)(iK,{}),width:"168px",onClick:b})})]})]})},ne=C.default.div.withConfig({componentId:"sc-1b4a0f04-0"})(["position:relative;width:100%;min-height:391px;padding:14px 32px 14px 28px;border-radius:24px;overflow:hidden;background:url(",") center / cover no-repeat;@media (max-width:960px){min-height:361px;padding:32px 24px;border-radius:0 0 36px 36px;}@media (max-width:600px){min-height:460px;padding:16px;border-radius:0;}"],"/club-images/home/schedule-placeholder/B.png"),nt=C.default.div.withConfig({componentId:"sc-1b4a0f04-1"})(["position:absolute;z-index:1;left:25px;bottom:25px;display:flex;flex-direction:column;align-items:flex-start;gap:20px;width:100%;max-width:calc(100% - 60px);padding:26px 32px 32px;border-radius:24px;border:1px solid rgba(255,255,255,0.16);background:rgba(255,255,255,0.04);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);box-shadow:inset 0 1px 0 rgba(255,255,255,0.12),inset 0 -1px 0 rgba(255,255,255,0.04);@media (max-width:1125px){left:16px;bottom:16px;max-width:calc(100% - 32px);padding:16px 16px 26px;}@media (max-width:960px){left:24px;right:24px;bottom:24px;max-width:none;width:auto;}@media (max-width:700px){gap:16px;}@media (max-width:600px){left:16px;right:16px;bottom:25px;}"]),ni=(0,C.default)(m.Typography).withConfig({componentId:"sc-1b4a0f04-2"})(["max-width:516px;@media (max-width:1360px){max-width:300px;}@media (max-width:960px){max-width:516px;width:100%;}@media (max-width:700px){max-width:292px;}"]),nn=C.default.img.withConfig({componentId:"sc-1b4a0f04-3"})(["position:absolute;z-index:2;right:62px;width:292px;height:391px;object-fit:cover;@media (max-width:1360px){right:-58px;}@media (max-width:1100px){right:-85px;}@media (max-width:960px){right:58px;bottom:0;height:360px;}@media (max-width:900px){right:41px;}@media (max-width:600px){right:-80px;bottom:15px;height:366px;}"]),no=(0,C.default)(m.Typography).withConfig({componentId:"sc-1b4a0f04-4"})(["opacity:0.7;max-width:395px;@media (max-width:1360px){max-width:292px;}@media (max-width:1100px){max-width:175px;}@media (max-width:960px){max-width:395px;}@media (max-width:700px){max-width:175px;}"]),nr=()=>{let{t:e}=(0,f.$G)(k.d.CLUB);return(0,x.jsxs)(ne,{children:[(0,x.jsxs)(nt,{children:[(0,x.jsx)(ni,{variant:[{variant:"header1-Bold",resolution:null},{variant:"header2-Bold",resolution:1360},{variant:"header3-Bold",resolution:1100},{variant:"header1-Bold",resolution:960},{variant:"header3-Bold",resolution:700}],colorName:"contrastThemed",children:e("home.schedule_placeholder.title")}),(0,x.jsx)(no,{variant:[{variant:"paragraph-Regular",resolution:null},{variant:"text-Regular",resolution:1100}],colorName:"contrastThemed",tag:"span",children:e("home.schedule_placeholder.description")})]}),(0,x.jsx)(nn,{src:"/club-images/home/schedule-placeholder/Img.png",alt:"",loading:"lazy"})]})},na=(0,g.memo)(()=>{let e=(0,g.useMemo)(()=>{let e=new Date;return{section:"calendar_club",order:"asc",date_from:(0,O.Z)(e,"yyyy-MM-dd'T'HH:mm:ss"),date_to:(0,O.Z)((0,iP.Z)(e,30),"yyyy-MM-dd'T'HH:mm:ss"),limit:5}},[]),{data:t,isLoading:i}=(0,v.cP)(e),{data:n}=(0,v.hC)({code:"mat_type"}),o=(0,m.useMediaQuery)(m.breakpoint.down(960)),{emblaRef:r,emblaApi:a,prevBtnDisabled:l,nextBtnDisabled:d,onPrevButtonClick:s,onNextButtonClick:c,selectedIndex:p}=(0,eb.q)({loop:!0,duration:30}
1,[(0,iA.Z)({delay:5e3,stopOnInteraction:!1}),(0,iD.Z)()]);return i?(0,x.jsx)(iR,{children:(0,x.jsx)(m.Skeleton,{height:0,bottom:0})}):(null==t?void 0:t.length)?(0,x.jsxs)(iH,{"data-id":"swiper",ref:r,children:[(0,x.jsx)(iV,{children:null==t?void 0:t.map(e=>(0,x.jsx)(i7,{sections:n,event:e},e.id))}),!o&&(0,x.jsxs)(iQ,{children:[(0,x.jsx)(iq,{onClick:()=>s(),disabled:l,children:(0,x.jsx)(i$,{})}),(0,x.jsx)(iq,{onClick:()=>c(),disabled:d,isRight:!0,children:(0,x.jsx)(i$,{})})]}),(0,x.jsx)(iJ,{slidesCount:null==t?void 0:t.length,selectedIndex:p,scrollToSlide:e=>null==a?void 0:a.scrollTo(e)})]}):(0,x.jsx)(iH,{children:(0,x.jsx)(nr,{})})}),nl=(0,C.default)("div").withConfig({componentId:"sc-2b773ed8-0"})(["position:relative;padding:16px;display:flex;flex-direction:column;width:100%;max-width:334px;justify-content:space-between;background-image:url('/club-images/home/support.png');background-size:cover;background-position:center;border-radius:16px;overflow:hidden;@media (max-width:960px){max-width:100%;}@media (max-width:600px){height:134px;}@media (max-width:420px){max-width:calc(100% - 18px);}& button{background:rgba(255,255,255,0.1);backdrop-filter:blur(20px);border:1px solid ",";&:hover{background:rgba(255,255,255,0.36);border:1px solid ",";}&:active{background:rgba(0,0,0,0.12);border:1px solid ",";}}"],e=>{let{theme:t}=e;return t.icons.contrastThemed},e=>{let{theme:t}=e;return t.icons.contrastThemed},e=>{let{theme:t}=e;return t.icons.contrastThemed}),nd=(0,C.default)("div").withConfig({componentId:"sc-2b773ed8-1"})(["display:flex;flex-direction:column;"]),ns=(0,C.default)("img").withConfig({componentId:"sc-2b773ed8-2"})(["position:absolute;right:0;bottom:0;@media (max-width:680px){display:none;}@media (max-width:600px){display:block;}"]),nc=()=>{let{t:e}=(0,f.$G)(k.d.CLUB);return(0,x.jsxs)(nl,{children:[(0,x.jsxs)(nd,{children:[(0,x.jsx)(m.Typography,{variant:"header6-SemiBold",colorName:"contrastThemed",marginBottom:6,whiteSpace:"nowrap",children:e("home.technical_banner.title")}),(0,x.jsx)(m.Typography,{variant:"description-Regular",color:"#D8D9F3",maxWidth:187,children:e("home.technical_banner.text")})]}),(0,x.jsx)(m.Button,{width:"122px",text:e("home.technical_banner.button_text"),iconRight:(0,x.jsx)(iy,{}),onClick:()=>window.open("https://wa.clck.bar/79954366708?text=Здравствуйте!%20У%20меня%20есть%20вопрос%20по%20приложению%20PRO.CLUB","_blank"),size:"S"}),(0,x.jsx)(ns,{src:"/club-images/home/technical-image.png",alt:"specialists-photo",width:96})]})},np={chat:"club_chat",channel:"club_channel",premium:"club_premium_chat"},nh=e=>"".concat("https://telegram.me/club_pf_bot","?start=").concat(np[e]),nx=[{type:"chat",button:"home.telegramChannels.tooltipButtonChat",text:"Чат Клуба",description:"Задавай вопросы финансовым консультантам и общайся с резидентами",arrowVariant:"default",images:{cover:"/club-images/home/chat-club.png",tgIcon:"/club-images/home/tg-chat.png",tooltip:"/club-images/home/chat-phone.png"},placement:"bottom-start",urlSuffix:"_club_chat"},{type:"channel",button:"home.telegramChannels.tooltipButtonText",text:"Канал Клуба",description:"Заходи, чтобы отслеживать публикации от аналитиков и трейдера Клуба",arrowVariant:"blue",images:{cover:"/club-images/home/channel-club.png",tgIcon:"/club-images/home/tg-channel.png",tooltip:"/club-images/home/channel-phone.png"},placement:"bottom-center",urlSuffix:"_club_channel"},{type:"premium",button:"home.telegramChannels.tooltipButtonChat",text:"Чат Премиум",description:"Все о разборах книг и фильмов, а также о выходе новых онбордингов",arrowVariant:"purple",images:{cover:"/club-images/home/chat-premium.png",tgIcon:"/club-images/home/tg-premium.png",tooltip:"/club-images/home/premium-phone.png"},placement:"bottom-end",urlSuffix:"_club_premium_chat"}],nu=C.default.svg.attrs({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 26 9",fill:"none"}).withConfig({componentId:"sc-328d50fd-0"})(["width:26px;height:9px;transition:transform 0.3s ",";transform-origin:left center;"],m.AnimationFunctions.animation_1),nm=C.default.img.withConfig({componentId:"sc-328d50fd-1"})(["position:absolute;width:22px;min-width:22px;height:22px;min-height:22px;top:-8px;right:-6px;transition:transform 0.3s ",";"],m.AnimationFunctions.animation_1),nf=(0,C.default)("div").withConfig({componentId:"sc-328d50fd-2"})(["position:relative;display:flex;flex-direction:column;align-items:center;cursor:pointer;justify-content:center;height:144px;width:107px;gap:12px;
1"," "," &:hover ","{transform:scaleX(1.4);}&:hover ","{transform:scale(1.4);}&::after{content:'';position:absolute;top:42%;right:0;transform:translateY(-50%);width:1px;height:72px;background:linear-gradient( to bottom,transparent 0%,transparent 25%,"," 25%,"," 50%,transparent 50%,transparent 75%,"," 75%,"," 100% );background-size:1px 8px;","}"],e=>{let{isFirst:t}=e;return t&&(0,C.css)(["width:112px;"])},e=>{let{isLast:t}=e;return t&&(0,C.css)(["width:115px;"])},nu,nm,e=>{let{theme:t}=e;return t.stroke.tertiary},e=>{let{theme:t}=e;return t.stroke.tertiary},e=>{let{theme:t}=e;return t.stroke.tertiary},e=>{let{theme:t}=e;return t.stroke.tertiary},e=>{let{isLast:t}=e;return t&&"display: none;"}),ng=(0,C.default)("div").withConfig({componentId:"sc-328d50fd-3"})(["display:flex;flex-direction:column;align-items:center;gap:6px;"]),nb=(0,C.default)("div").withConfig({componentId:"sc-328d50fd-4"})(["position:relative;display:flex;flex-direction:column;justify-content:space-between;align-items:center;height:290px;overflow:hidden;&::after{content:'';position:absolute;width:100%;height:155px;z-index:2;bottom:0;background:",";}& button{position:relative;bottom:21px;margin:0 auto;background:linear-gradient(0deg,#189ee2 0%,#189ee2 100%),#fff;border:none;z-index:3;&:hover{background:linear-gradient(0deg,#189ee2 0%,#189ee2 100%),#fff;border:none;}&:active{background:linear-gradient(0deg,#189ee2 0%,#189ee2 100%),#fff;border:none;}}"],e=>{let{mode:t}=e;return"light"===t?"linear-gradient(\n        0deg,\n        rgba(255, 255, 255, 0.95) 0%,\n        rgba(255, 255, 255, 0.48) 50.56%,\n        rgba(255, 255, 255, 0) 91.15%\n      )":"linear-gradient(\n        0deg,\n        rgba(43, 43, 43, 0.95) 0%,\n        rgba(43, 43, 43, 0.48) 50.56%,\n        rgba(43, 43, 43, 0) 91.15%\n      )"}),nw=(0,C.default)("div").withConfig({componentId:"sc-328d50fd-5"})(["display:flex;flex-direction:column;align-items:center;text-align:center;padding:0 14px;"]),nv=(0,C.default)("img").withConfig({componentId:"sc-328d50fd-6"})(["position:absolute;bottom:-10px;z-index:1;width:160px;object-fit:contain;pointer-events:none;"]),ny={default:(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)("path",{d:"M1.00049 3.95C0.696732 3.95 0.450488 4.19624 0.450488 4.5C0.450488 4.80376 0.696732 5.05 1.00049 5.05V3.95ZM25.3894 4.88891C25.6042 4.67412 25.6042 4.32588 25.3894 4.11109L21.8892 0.610913C21.6744 0.396124 21.3262 0.396124 21.1114 0.610913C20.8966 0.825701 20.8966 1.17394 21.1114 1.38873L24.2227 4.5L21.1114 7.61127C20.8966 7.82606 20.8966 8.1743 21.1114 8.38909C21.3262 8.60388 21.6744 8.60388 21.8892 8.38909L25.3894 4.88891ZM1.00049 5.05H25.0005V3.95H1.00049V5.05Z",fill:"url(#defaultGradient)"}),(0,x.jsx)("defs",{children:(0,x.jsxs)("linearGradient",{id:"defaultGradient",x1:"-0.833008",y1:"8",x2:"-1.18811",y2:"3.25406",gradientUnits:"userSpaceOnUse",children:[(0,x.jsx)("stop",{stopColor:"#9767E0"}),(0,x.jsx)("stop",{offset:"1",stopColor:"#D6BDFF"})]})})]}),blue:(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)("path",{d:"M1.33398 3.95C1.03023 3.95 0.783984 4.19624 0.783984 4.5C0.783984 4.80376 1.03023 5.05 1.33398 5.05V3.95ZM25.7229 4.88891C25.9377 4.67412 25.9377 4.32588 25.7229 4.11109L22.2227 0.610913C22.0079 0.396124 21.6597 0.396124 21.4449 0.610913C21.2301 0.825701 21.2301 1.17394 21.4449 1.38873L24.5562 4.5L21.4449 7.61127C21.2301 7.82606 21.2301 8.1743 21.4449 8.38909C21.6597 8.60388 22.0079 8.60388 22.2227 8.38909L25.7229 4.88891ZM1.33398 5.05H25.334V3.95H1.33398V5.05Z",fill:"url(#blueGradient)"}),(0,x.jsx)("defs",{children:(0,x.jsxs)("linearGradient",{id:"blueGradient",x1:"1.33398",y1:"5.5",x2:"1.72855",y2:"-0.226796",gradientUnits:"userSpaceOnUse",children:[(0,x.jsx)("stop",{stopColor:"#17A2E8"}),(0,x.jsx)("stop",{offset:"1",stopColor:"#ACDCF5"})]})})]}),purple:(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)("path",{d:"M0.666992 3.95C0.363236 3.95 0.116992 4.19624 0.116992 4.5C0.116992 4.80376 0.363236 5.05 0.666992 5.05V3.95ZM25.0559 4.88891C25.2707 4.67412 25.2707 4.32588 25.0559 4.11109L21.5557 0.610913C21.3409 0.396124 20.9927 0.396124 20.7779 0.610913C20.5631 0.825701 20.5631 1.17394 20.7779 1.38873L23.8892 4.5L20.7779 7.61127C20.5631 7.82606 20.5631 8.1743 20.7779 8.38909C20.9927 8.60388 21.3409 8.60388 21.5557 8.38909L25.0559 4.88891ZM0.666992 5.05H24.667V3.95H0.666992V5.05Z",fill:"url(#purpleGradient)"}),(0,x.jsx)("defs",{children:(0,x.jsxs)("linearGradient",{id:"purpleGradient",x1:"0.666992",y1:"5.5",x2:"0.200947",y2:"3.0813",gradientUnits:"userSpaceOnUse",children:[(0,x.jsx)("stop",{stopColor:"#8F00FF"}),(0,x.jsx)("stop",{offset:"1",stopColor:"#F3E5FE"})]})})]})},nj=e=>{let{variant:t="default"}=e;return(0,x.jsx)(nu,{children:ny[t]})},nk=e=>{let{isLast:t,isFirst:i,...n}=e,{t:o}=(0,f.$G)(k.d.CLUB),{text:r,images:a,button:l,placement:d,type:s}=n,c=nh(s),{mode:p}=(0,m.useMode)();return(0,x.jsx)(m.Tooltip,{width:"334px",borderRadius:"24px",padding:"0px",placement:d,isHover:!0,targetElement:(0,x.jsxs)(nf,{isLast:t,isFirst:i,children:[(0,x.jsxs)(P.Z,{href:c,target:"_blank",rel:"noopener noreferrer",style:{position:"relative",display:"block"},children:[(0,x.jsx)(m.Avatar,{link:a.cover,size:"60px",radius:"10px"}),(0,x.jsx)(nm,{src:a.tgIcon,alt:"tg icon"})]}),(0,x.jsxs)(ng,{children:[(0,x.jsx)(m.Typography,{variant:"description-SemiBold",colorName:"primary",whiteSpace:"nowrap",children:r}),(0,x.jsx)(nj,{variant:n.arrowVariant})]})]}),children:(0,x.jsxs)(nb,{mode:p,children:[(0,x.jsxs)(nw,{children:[(0,x.jsx)(m.Typography,{variant:"header6-Bold",colorName:"primary",marginBottom:4,marginTop:20,tag:"span",children:r}),(0,x.jsx)(m.Typography,{variant:"description-Regular",colorName:"secondary",children:n.description})]}),(0,x.jsx)(m.Button,{text:o(l),width:"204px",onClick:()=>window.open(c,"_blank","noopener,noreferrer"),iconRight:(0,x.jsx)(iy,{})}),(0,x.jsx)(nv,{src:a.tooltip,alt:"image-phone",width:135})]})})},nC=(0,C.default)("div").withConfig({componentId:"sc-5908873b-0"})(["background:",";border-radius:20px;
1display:flex;justify-content:space-between;"],e=>{let{theme:t}=e;return t.background.content}),n_=(0,g.memo)(()=>(0,x.jsx)(nC,{children:nx.map((e,t)=>(0,x.jsx)(nk,{...e,isFirst:0===t,isLast:2===t},e.type))})),nI=()=>({handleChannelClick:(0,g.useCallback)(e=>{window.open(nh(e.type),"_blank","noopener,noreferrer")},[])}),nS=(0,C.default)("div").withConfig({componentId:"sc-560e9d8d-0"})(["background:",";box-shadow:0px 10px 16px -4px rgba(72,71,82,0.1);border-radius:10px;width:100%;display:flex;gap:12px;align-items:center;cursor:pointer;padding:12px;"],e=>{let{theme:t}=e;return t.background.content}),nB=(0,C.default)("div").withConfig({componentId:"sc-560e9d8d-1"})(["width:100%;display:flex;justify-content:space-between;gap:6px;align-items:center;& svg path{fill:",";}& svg{min-width:24px;min-height:24px;}"],e=>{let{theme:t}=e;return t.icons.tertiary}),nO=(0,C.default)("div").withConfig({componentId:"sc-560e9d8d-2"})(["display:flex;flex-direction:column;gap:2px;"]),nM=e=>{let{onClick:t,...i}=e,{text:n,images:o}=i;return(0,x.jsxs)(nS,{tabIndex:0,role:"button",onClick:()=>t(),children:[(0,x.jsx)(m.Avatar,{link:o.cover,size:"44px",radius:"10px"}),(0,x.jsxs)(nB,{children:[(0,x.jsxs)(nO,{children:[(0,x.jsx)(m.Typography,{variant:"header6-SemiBold",colorName:"primary",tag:"span",children:n}),(0,x.jsx)(m.Typography,{variant:"description-Regular",colorName:"secondary",children:i.description})]}),(0,x.jsx)(iK,{})]})]})},nT=(0,C.default)("div").withConfig({componentId:"sc-b1392c42-0"})(["width:100%;"]),nE=(0,C.default)("div").withConfig({componentId:"sc-b1392c42-1"})(["display:flex;flex-direction:column;gap:12px;width:100%;"]),nz=(0,g.memo)(()=>{let{t:e}=(0,f.$G)(k.d.CLUB),{handleChannelClick:t}=nI();return(0,x.jsxs)(nT,{children:[(0,x.jsx)(m.WidgetTitle,{text:e("home.telegramChannels.widget_title")}),(0,x.jsx)(nE,{children:nx.map(e=>(0,x.jsx)(nM,{...e,onClick:()=>t(e)},e.type))})]})});var nL=i(13891);let nN=(0,C.default)(m.Card).withConfig({componentId:"sc-867951d1-0"})(["padding:12px;margin-bottom:0;background:",";border-radius:24px;display:flex;gap:16px;align-items:center;"],e=>{let{theme:t}=e;return t.background.content}),nP=C.default.div.withConfig({componentId:"sc-867951d1-1"})(["display:flex;flex-direction:column;gap:4px;& button{color:",";}"],e=>{let{theme:t}=e;return t.club.secondary}),nA=()=>(0,x.jsxs)(nN,{children:[(0,x.jsx)(m.Skeleton,{height:80,maxWidth:80,radius:20,bottom:0}),(0,x.jsxs)(nP,{style:{width:"100%"},children:[(0,x.jsx)(m.Skeleton,{height:22,bottom:4,maxWidth:180}),(0,x.jsx)(m.Skeleton,{height:16,bottom:4,maxWidth:150})]})]});var nD=i(4331),nF=["title","titleId"];function nW(){return(nW=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(null,arguments)}var n$=function(e){var t=e.title,i=e.titleId,n=function(e,t){if(null==e)return{};var i,n,o=function(e,t){if(null==e)return{};var i={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(t.includes(n))continue;i[n]=e[n]}return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n<r.length;n++)i=r[n],t.includes(i)||({}).propertyIsEnumerable.call(e,i)&&(o[i]=e[i])}return o}(e,nF);return g.createElement("svg",nW({width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":i},n),t?g.createElement("title",{id:i},t):null,h||(h=g.createElement("path",{d:"M6.4 4l2.94 3.293a1.09 1.09 0 010 1.414L6.4 12",stroke:"#4833F4",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})))};let nU=C.default.div.withConfig({componentId:"sc-23123837-0"})(["display:flex;gap:2px;align-items:center;white-space:nowrap;& svg path{stroke:",";}"],e=>{let{theme:t}=e;return t.club.secondary}),nZ=e=>{let{text:t}=e;return(0,x.jsxs)(nU,{children:[(0,x.jsx)(m.Typography,{variant:"caption-Medium",colorCategory:"club",colorName:"secondary",children:t}),(0,x.jsx)(n$,{})]})},nG=(0,g.memo)(()=>{let{data:e,loading:t}=(0,nL.CG)(e=>e.user),{data:i,isLoading:n}=(0,nD.dg)({v:3}),o=(0,g.useMemo)(()=>
1{if(!(null==i?void 0:i.length))return null;let e=new Date,t=i.filter(t=>"club_p"===t.sub_code&&new Date(t.e)>e);if(t.length>0)return t[0];let n=i.filter(t=>"club"===t.sub_code&&new Date(t.e)>e);return n.length>0?n[0]:null},[i]),{t:r}=(0,f.$G)(k.d.CLUB),a=(0,g.useMemo)(()=>(null==o?void 0:o.e)?((null==o?void 0:o.e)?new Date(o.e).getFullYear():null)>=2100?r("home.accessEternal"):"".concat(r("home.userInfo")," ").concat((0,O.Z)(new Date(o.e),"dd.MM.yyyy")):"",[r,o]);return n||1===t?(0,x.jsx)(nA,{}):(0,x.jsx)("button",{onClick:()=>window.open(j.ns.account.profile,"_blank"),children:(0,x.jsxs)(nN,{isHover:!0,children:[(0,x.jsx)(m.Avatar,{link:null==e?void 0:e.avatar_url,size:"80px",radius:"20px"}),(0,x.jsxs)(nP,{children:[(0,x.jsxs)(m.Typography,{variant:"header5-Bold",colorName:"primary",maxWidth:188,children:[null==e?void 0:e.name," ",null==e?void 0:e.last_name]}),a&&(0,x.jsx)(nZ,{text:a})]})]})})}),nR=(0,C.default)("div").withConfig({componentId:"sc-a796756-0"})(["width:100%;position:relative;"]),nH=(0,C.default)("div").withConfig({componentId:"sc-a796756-1"})(["display:grid;grid-template-columns:repeat(5,1fr);gap:20px;@media (max-width:1279px){display:flex;flex-direction:row;flex-wrap:nowrap;gap:19px;box-sizing:border-box;padding-right:48px;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:none;&::-webkit-scrollbar{display:none;}}@media (max-width:743px){gap:12px;}"]),nV=C.default.div.withConfig({componentId:"sc-a796756-2"})(["display:flex;width:216px;flex-direction:column;align-items:flex-start;gap:10px;@media (max-width:743px){width:158px;}"]),nQ=(0,C.default)("img").withConfig({componentId:"sc-a796756-3"})(["display:flex;height:216px;justify-content:center;align-items:center;align-self:stretch;aspect-ratio:1/1;border-radius:20px;@media (max-width:743px){height:158px;}"]),nq=C.default.div.withConfig({componentId:"sc-a796756-4"})(["display:flex;flex-direction:column;align-items:flex-start;gap:8px;align-self:stretch;"]),nJ=(0,C.default)(m.Typography).withConfig({componentId:"sc-a796756-5"})(["display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;"]),nX=(0,g.memo)(e=>{let{news:t}=e,{t:i}=(0,f.$G)(k.d.CLUB),n=j.ns.club.podcastDetails.replace("[podcastId]",String(t.news_id)),o=(0,L.zo)(t.photo_url||String(t.photo),"a"),r=null!=t.series_cnt&&t.series_cnt>0?i("podcasts_page.episodes_count",{count:t.series_cnt}):null;return(0,x.jsx)(P.Z,{href:n,style:{textDecoration:"none",color:"inherit"},children:(0,x.jsxs)(nV,{children:[(0,x.jsx)(nQ,{src:o,alt:t.title,loading:"lazy"}),(0,x.jsxs)(nq,{children:[(0,x.jsx)(m.HiddenText,{lines:2,mode:"multiline",children:(0,x.jsx)(m.Typography,{variant:[{variant:"header5-SemiBold",resolution:null},{variant:"header6-SemiBold",resolution:743}],colorName:"primary",tag:"h3",children:t.title})}),r&&(0,x.jsx)(nJ,{variant:[{variant:"text-Medium",resolution:null},{variant:"description-Medium",resolution:743}],colorName:"fourth",children:r})]})]})})}),nY=C.default.div.withConfig({componentId:"sc-acb77089-0"})(["display:grid;grid-template-columns:repeat(4,1fr);gap:20px;@media (max-width:960px){grid-template-columns:repeat(2,1fr);}@media (max-width:600px){grid-template-columns:1fr;}"]),nK=()=>(0,x.jsx)(nY,{children:Array.from({length:8}).map((e,t)=>(0,x.jsxs)("div",{children:[(0,x.jsx)(m.Skeleton,{height:140,bottom:12,radius:16}),(0,x.jsx)(m.Skeleton,{height:48,bottom:0,radius:8})]},t))}),n0=(0,g.memo)(()=>{var e;let{t}=(0,f.$G)(k.d.CLUB),i=(0,g.useMemo)(()=>(0,L.DD)({section:"season,club",limit:5,ustate:0,v:2,order:"desc"}),[]),{data:n,isLoading:o,isError:r}=(0,eg.iC)(i);if(o)return(0,x.jsxs)(nR,{children:[(0,x.jsx)(m.WidgetTitle,{text:t("home.podcasts.title"),link:j.ns.club.podcasts}),(0,x.jsx)(nK,{})]});if(r)return(0,x.jsxs)(nR,{children:[(0,x.jsx)(m.WidgetTitle,{text:t("home.podcasts.title"),link:j.ns.club.podcasts}),(0,x.jsx)(y.J,{text:t("home.new_publications.widget_error")})]});let a=null!==(e=null==n?void 0:n.data)&&void 0!==e?e:[];return a.length?(0,x.jsxs)(nR,{children:[(0,x.jsx)(m.WidgetTitle,{text:t("home.podcasts.title"),link:j.ns.club.podcasts}),(0,x.jsx)(nH,{children:a.map(e=>(0,x.jsx)(nX,{news:e},e.news_id))})]}):null}),n1=()=>{let e=(0,m.useMediaQuery)(m.breakpoint.down(960)),t=(0,m.useMediaQuery)(m.breakpoint.down(600));return(0,x.jsx)(ei,{children:(0,x.jsxs)(en,{children:[(0,x.jsxs)(eo,{children:[(0,x.jsx)(na,{}),!t&&(0,x.jsxs)(ea,{children:[!e&&(0,x.jsx)(nG,{}),(0,x.jsxs)(el,{$scheduleFullWidth:j.wD,children:[(0,x.jsx)(e1,{type:"schedule"}),!j.wD&&(0,x.jsx)(e1,{type:"favourite"})]}),!e&&(0,x.jsx)(n_,{}),e&&(0,x.jsx)(nc,{})]})]}),(0,x.jsxs)(er,{children:[(0,x.jsxs)(ed,{children:[(0,x.jsx)(iN,{}),!e&&(0,x.jsx)(nc,{})]}),(0,x.jsx)(eI,{}),(0,x.jsx)(ey,{}),(0,x.jsx)(Y,{}),(0,x.jsx)(tu,{}),(0,x.jsx)(eJ,{}),(0,x.jsx)(tU,{}),(0,x.jsx)(im,{}),(0,x.jsx)(n0,{}),e&&(0,x.jsx)(nz,{}),t&&(0,x.jsx)(nc,{}),(0,x.jsx)(eR,{}),(0,x.jsx)(t3,{})]})]})})};var n2=i(95294),n4=!0;function n5(){return(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(n2.j,{title:"Клуб финансовой грамотности - онбординг и последние новости | PRO.FINANSY",description:"Ознакомьтесь с инструкциями по использованию клуба финансовой грамотности и следите за последними новостями и событиями. Присоединяйтесь к обучающим программам и улучшайте свои знания."}),(0,x.jsx)(n1,{})]})}n5.getLayout=function(e){return(0,x.jsx)(u.xt,{children:e})}},54454:function(e,t,i){"use strict";i.d(t,{V:function(){return p}});var n=i(85893),o=i(67294),r=i(42377),a=i(54335);let l=a.default.button.withConfig({componentId:"sc-f882ca93-0"})(["width:",";height:6px;transition:width 0.3s ",";background:",";
1opacity:1;border-radius:40px;display:",";align-items:",";"],e=>{let{$isActive:t}=e;return t?"24px":"6px"},r.AnimationFunctions.animation_1,e=>{let{theme:t,$isActive:i}=e;return i?t.stroke.contrast:t.stroke.secondary},e=>{let{$isActive:t}=e;return t?"flex":"block"},e=>{let{$isActive:t}=e;return t?"center":"unset"}),d=e=>{let{index:t,onDotButtonClick:i,isActive:o}=e;return(0,n.jsx)(l,{type:"button",onClick:()=>i(t),$isActive:o},t)},s=a.default.div.withConfig({componentId:"sc-30fb8418-0"})(["display:flex;gap:4px;"]),c=e=>{let[t,i]=(0,o.useState)(0),[n,r]=(0,o.useState)([]),a=(0,o.useCallback)(t=>{e&&e.scrollTo(t)},[e]),l=(0,o.useCallback)(e=>{r(e.scrollSnapList())},[]),d=(0,o.useCallback)(e=>{i(e.selectedScrollSnap())},[]);return(0,o.useEffect)(()=>{e&&(l(e),d(e),e.on("reInit",l),e.on("reInit",d),e.on("select",d))},[e,l,d]),{selectedIndex:t,scrollSnaps:n,onDotButtonClick:a}},p=e=>{let{emblaApi:t}=e,{selectedIndex:i,scrollSnaps:o,onDotButtonClick:r}=c(t);return(0,n.jsx)(s,{children:Array.from({length:null==o?void 0:o.length},(e,t)=>{let o=t===i;return(0,n.jsx)(d,{index:t,onDotButtonClick:r,isActive:o},t)})})}},66395:function(e,t,i){"use strict";i.d(t,{c:function(){return x}});var n=i(85893),o=i(28677),r=i(42377),a=i(67294),l=i(62674),d=i(93113),s=i(81744),c=i(54335);let p=c.default.div.withConfig({componentId:"sc-6d791817-0"})(["display:flex;align-items:center;gap:8px;margin-left:auto;"]),h=c.default.button.withConfig({componentId:"sc-6d791817-1"})(["display:flex;width:36px;height:36px;padding:4px;justify-content:center;align-items:center;aspect-ratio:1/1;border-radius:60px;background:rgba(17,17,17,0.6);"]),x=e=>{let{showFavourite:t=!0,isFavActive:i=!1,onFav:c,shareLink:x,tooltipText:u,copySuccessMessage:m,onShareClick:f}=e,{t:g}=(0,o.$G)(s.d.CLUB),b=(0,a.useCallback)(e=>{null==f||f(e),x&&navigator.clipboard.writeText(x).then(()=>{(0,l.h)(null!=m?m:g("home.selectionCard.copyLinkSuccess"),"success")}).catch(()=>(0,l.h)(g("home.selectionCard.copyLinkError"),"error"))},[x,m,g,f]),w=null!=u?u:g("home.selectionCard.copyLinkTooltip");return(0,n.jsxs)(p,{children:[t&&c&&(0,n.jsx)(r.FavouriteButton,{isActive:i,handleFav:c}),(0,n.jsx)(r.Tooltip,{isHover:!0,width:"190px",targetElement:(0,n.jsx)(h,{type:"button",onClick:b,children:(0,n.jsx)(d.Z,{})}),children:(0,n.jsx)(r.Typography,{variant:"text-Regular",colorName:"primary",children:w})})]})}},57481:function(e,t,i){"use strict";i.d(t,{m:function(){return _}});var n,o,r,a,l=i(85893),d=i(28677),s=i(42377),c=i(67294),p=i(30396),h=["title","titleId"];function x(){return(x=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(null,arguments)}var u=function(e){var t=e.title,i=e.titleId,r=function(e,t){if(null==e)return{};var i,n,o=function(e,t){if(null==e)return{};var i={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(t.includes(n))continue;i[n]=e[n]}return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n<r.length;n++)i=r[n],t.includes(i)||({}).propertyIsEnumerable.call(e,i)&&(o[i]=e[i])}return o}(e,h);return c.createElement("svg",x({xmlns:"http://www.w3.org/2000/svg",width:14,height:14,viewBox:"0 0 14 14",fill:"none","aria-labelledby":i},r),t?c.createElement("title",{id:i},t):null,n||(n=c.createElement("path",{d:"M9.45 5.834s-.117.583-1.867 2.917c-1.691 2.216.759 3.85 1.05 4.083h.059c.35-.292 4.783-3.092.758-7z",stroke:"#CCCBD3",strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),o||(o=c.createElement("path",{d:"M8.05 4.55c0-1.342-.525-2.567-1.05-3.267-.175-.175-.467-.116-.525.117-.233.875-.933 2.742-2.625 4.958-2.158 2.8-.175 5.834 1.867 6.417 1.108.292-.292-.583-.467-2.392-.175-2.275 2.8-3.966 2.8-5.833z",stroke:"#CCCBD3",strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})))},m=["title","titleId"];function f(){return(f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(null,arguments)}var g=function(e){var t=e.title,i=e.titleId,n=function(e,t){if(null==e)return{};var i,n,o=function(e,t){if(null==e)return{};var i={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(t.includes(n))continue;i[n]=e[n]}return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n<r.length;n++)i=r[n],t.includes(i)||({}).propertyIsEnumerable.call(e,i)&&(o[i]=e[i])}return o}(e,m);return c.createElement("svg",f({xmlns:"http://www.w3.org/2000/svg",width:14,height:14,viewBox:"0 0 14 14",fill:"none","aria-labelledby":i},n),t?c.createElement("title",{id:i},t):null,r||(r=c.createElement("path",{d:"M9.45 5.834s-.117.583-1.867 2.917c-1.691 2.216.759 3.85 1.05 4.083h.059c.35-.292 4.783-3.092.758-7z",stroke:"#FF3B30",strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),a||(a=c.createElement("path",{d:"M8.05 4.55c0-1.342-.525-2.567-1.05-3.267-.175-.175-.467-.116-.525.117-.233.875-.933 2.742-2.625 4.958-2.158 2.8-.175 5.834 1.867 6.417 1.108.292-.292-.583-.467-2.392-.175-2.275 2.8-3.966 2.8-5.833z",stroke:"#FF3B30",strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})))},b=i(81744),w=i(54335);let v=w.default.div.withConfig({componentId:"sc-eccfed9e-0"})(["display:flex;padding:6px 8px;justify-content:center;align-items:center;border-radius:20px;background:",";backdrop-filter:blur(8px);gap:4px;",""],e=>
1e.$useSecondaryBackground?e.theme.background.secondary:"rgba(136, 136, 136, 0.32)",e=>e.$isExperienced&&(0,w.css)(["& div:first-of-type path{stroke:",";}"],e.theme.icons.negative)),y=w.default.div.withConfig({componentId:"sc-eccfed9e-1"})(["position:absolute;display:none;align-items:center;left:0;top:24px;width:max-content;z-index:3;background:",";border-radius:12px;padding:10px;visibility:hidden;opacity:0;pointer-events:none;"],e=>e.theme.background.content),j=w.default.div.withConfig({componentId:"sc-eccfed9e-2"})(["position:relative;display:flex;align-items:center;&:hover ","{display:flex;visibility:visible;opacity:1;pointer-events:auto;}"],y),k=w.default.button.withConfig({componentId:"sc-eccfed9e-3"})(["padding:0;border:none;background:none;cursor:pointer;display:flex;align-items:center;justify-content:center;",""],e=>e.$isExpert&&(0,w.css)(["path{stroke:",";}"],e.theme.icons.negative)),C={[p.w5.beginner]:"beginner",[p.w5.experienced]:"experienced",[p.w5.expert]:"expert"},_=e=>{let{tags:t,onLevelClick:i,stopPropagationOnClick:n=!1,useSecondaryBackground:o=!1}=e,{t:r}=(0,d.$G)(b.d.CLUB),a=(0,c.useMemo)(()=>Object.values(p.w5).some(e=>t.includes(Number(e))),[t]),h=(0,c.useCallback)(e=>t.includes(e)?(0,l.jsx)(g,{}):(0,l.jsx)(u,{}),[t]),x=(0,c.useCallback)(e=>t=>{n&&t.stopPropagation(),i(e)(t)},[i,n]);return a?(0,l.jsx)(v,{$isExperienced:t.includes(p.w5.experienced),$useSecondaryBackground:o,onClick:n?e=>e.stopPropagation():void 0,children:p.VE.map(e=>{let{id:i,color:n}=e;return(0,l.jsxs)(j,{children:[(0,l.jsx)(k,{$isExpert:t.includes(p.w5.expert),onClick:x(i),type:"button",children:h(i)}),t.includes(i)&&(0,l.jsxs)(y,{children:[(0,l.jsx)(s.Typography,{variant:"caption-SemiBold",colorName:"primary",tag:"span",children:r("home.selectionCard.levelLabel")}),(0,l.jsx)(s.Typography,{variant:"caption-SemiBold",colorName:"primary",tag:"span",marginLeft:2,children:r("home.selectionCard.levels.".concat(C[i]))})]})]},i)})}):null}},41920:function(e,t,i){"use strict";i.d(t,{K:function(){return b}});var n=i(85893),o=i(28677),r=i(11163),a=i(42377),l=i(67294),d=i(92647),s=i(81744),c=i(54335);let p=c.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,c.css)(["bottom:auto;top:50%;left:50%;transform:translate(-50%,-50%);"])}),h=c.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%)"}),x=c.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:i}=e;return i?"none":t.background.content},e=>{let{$centerPosition:t,$withOutLogo:i}=e;return t&&(0,c.css)(["padding:0;@media (max-width:600px){padding:",";}"],i?"12px":"0")}),u=c.default.div.withConfig({componentId:"sc-fdf9b792-3"})(["display:flex;flex-direction:column;justify-content:center;align-items:center;"]),m=c.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),f=c.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=c.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),b=e=>
1{let{title:t,withOutShade:i,withOutBackground:c,maxWidth:b,centerPosition:w,hasNoPremiumAccess:v,withOutLogo:y,withOutPremium:j}=e,{t:k}=(0,o.$G)(s.d.CLUB),{push:C}=(0,r.useRouter)(),{mode:_}=(0,a.useMode)(),I=(0,l.useMemo)(()=>t||(v?k("premium_blur.premium_title"):k("premium_blur.title")),[t,v,k]);return(0,n.jsxs)(p,{$maxWidth:b,$centerPosition:w,children:[!i&&(0,n.jsx)(h,{$isLight:"light"===_}),(0,n.jsxs)(x,{$withOutBackground:c,$centerPosition:w,$withOutLogo:y,children:[!y&&(0,n.jsx)("img",{src:"/club-images/lock-premium.png",alt:"lock"}),(0,n.jsxs)(u,{children:[(0,n.jsx)(m,{children:I}),(0,n.jsx)(f,{children:j?k("premium_blur.without_premium_name"):v?k("premium_blur.premium_name"):k("premium_blur.name")})]}),(0,n.jsx)(g,{onClick:()=>C(j?"/subscribe":v?d.SB:d.KN),children:j?k("premium_blur.without_premium_btn"):v?k("premium_blur.premium_btn"):k("premium_blur.btn")})]})]})}},55730:function(e,t,i){"use strict";i.d(t,{d:function(){return s}});var n=i(11163),o=i(67294),r=i(92647);let a={all:"all",is_paid:"is_paid",is_available:"is_available"};a.all,a.is_paid,a.is_available;var l=i(86184),d=i(11787);let s=function(){var e;let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],[i,s]=(0,o.useState)([]),[c,p]=(0,o.useState)(d.y2.IDLE),{query:h}=(0,n.useRouter)(),x=(0,o.useMemo)(()=>h.selectedTab||"all",[h.selectedTab]),u=(0,o.useMemo)(()=>t?"cink":h.educationSection,[h.educationSection,t]),m=String(null!==(e=h[r.P_])&&void 0!==e?e:"");return(0,o.useEffect)(()=>{(async()=>{p(d.y2.LOADING);try{let e={...{[a.is_available]:{is_available:!0},[a.is_paid]:{is_available:!1,is_free:!1},[a.all]:{}}[x],is_club:!0,sort:t?"date":"club",...t&&{order:"desc"}},i=u===r.pC.filmsAndBooksCombined?m===r.pC.reading?"rkink":"kink":u,{data:n}=await l.O.getStudentCourses(i,e);s(null!=n?n:[]),p(d.y2.SUCCESS)}catch(e){p(d.y2.FAILED)}})()},[u,x,t,m]),{courses:i,loading:c}}},5349:function(e,t,i){"use strict";i.d(t,{c:function(){return l}});var n=i(85893),o=i(42377);i(67294);var r=i(54335);let a=r.default.div.withConfig({componentId:"sc-255f032c-0"})(["position:absolute;top:50%;transform:translateY(-50%);left:32px;z-index:10;",";"],e=>{let{isRight:t}=e;return t&&(0,r.css)(["left:auto;right:32px;"])}),l=e=>{let{prevBtnDisabled:t,nextBtnDisabled:i,onPrevButtonClick:r,onNextButtonClick:l}=e;return(0,o.useMediaQuery)(o.breakpoint.down(600))?null:(0,n.jsxs)(n.Fragment,{children:[!t&&(0,n.jsx)(a,{className:"arrow-left",children:(0,n.jsx)(o.ArrowButton,{size:"L",onClick:r})}),!i&&(0,n.jsx)(a,{isRight:!0,className:"arrow-right",children:(0,n.jsx)(o.ArrowButton,{direction:"right",size:"L",onClick:l})})]})}},9980:function(e,t,i){"use strict";i.d(t,{$_:function(){return y},Ee:function(){return f},HF:function(){return j},JO:function(){return p},PR:function(){return v},Qf:function(){return x},VY:function(){return g},d8:function(){return m},eQ:function(){return w},hh:function(){return s},kS:function(){return h},mJ:function(){return u},o5:function(){return l},oB:function(){return c},zC:function(){return b},zx:function(){return d}});var n=i(42377),o=i(54335),r=i(71575),a=i(44432);let l=o.default.div.withConfig({componentId:"sc-3ebdcd9f-0"})(["min-width:352px;@media (max-width:960px){&:first-of-type{margin-left:18px;}&:last-of-type{margin-right:18px;}max-width:calc(100% - 36px);}"]),d=o.default.div.withConfig({componentId:"sc-3ebdcd9f-1"})(["height:100%;max-width:352px;"]),s=(0,o.default)(n.Card).withConfig({componentId:"sc-3ebdcd9f-2"})(["height:100%;padding:12px 16px 16px;border-radius:20px;position:relative;display:flex;flex-direction:column;align-items:center;gap:12px;margin:0;box-shadow:none;&:hover{box-shadow:none;}"]),c=(0,o.default)("div").withConfig({componentId:"sc-3ebdcd9f-3"})(["width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;"]),p=(0,o.default)("div").withConfig({componentId:"sc-3ebdcd9f-4"})(["width:36px;height:36px;border-radius:36px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;&::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:",";opacity:0.4;border-radius:36px;z-index:1;}> *{position:relative;z-index:2;}"],e=>{let{color:t}=e;return t}),h=(0,o.default)("div").withConfig({componentId:"sc-3ebdcd9f-5"})(["display:flex;flex-direction:column;justify-content:center;align-items:flex-start;flex:1 0 0;"]),x=o.default.div.withConfig({componentId:"sc-3ebdcd9f-6"})(["display:flex;align-items:center;"]),u=o.default.span.withConfig({componentId:"sc-3ebdcd9f-7"})(["margin:0 6px;color:",";font-size:12px;line-height:16px;"],e=>{let{theme:t}=e;return t.text.fourth}),m=(0,o.default)(r.Z).withConfig({componentId:"sc-3ebdcd9f-8"})(["position:absolute;top:50%;left:50%;z-index:5;width:40px;height:40px;transform:translate(-50%,-50%);background:",";backdrop-filter:blur(5.128204822540283px);border-radius:50%;"],e=>e.theme.other.gray),f=(0,o.default)("div").withConfig({componentId:"sc-3ebdcd9f-9"})(["height:157px;background-image:",";background-size:cover;background-position:bottom;border-radius:16px;width:100%;flex-shrink:0;position:relative;"],e=>{let{cardImage:t,cardUrl:i}=e;
1return"url(".concat((0,a.zo)(i||String(t),"_"),")")}),g=(0,o.default)("div").withConfig({componentId:"sc-3ebdcd9f-10"})(["height:100%;width:100%;display:flex;flex-direction:column;justify-content:space-between;gap:6px;"]),b=(0,o.default)("div").withConfig({componentId:"sc-3ebdcd9f-11"})(["display:flex;flex-direction:column;gap:6px;"]),w=(0,o.default)(n.Typography).withConfig({componentId:"sc-3ebdcd9f-12"})(["-webkit-line-clamp:",";display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;"],e=>{let{lines:t}=e;return t}),v=(0,o.default)(n.TextButton).withConfig({componentId:"sc-3ebdcd9f-13"})(["span{font-size:14px;font-weight:400;line-height:18px;}"]),y=(0,o.default)("div").withConfig({componentId:"sc-3ebdcd9f-14"})(["display:flex;align-items:center;justify-content:space-between;gap:4px;margin-top:12px;"]),j=(0,o.default)("div").withConfig({componentId:"sc-3ebdcd9f-15"})(["display:flex;align-items:center;gap:8px;"])},3500:function(e,t,i){"use strict";i.d(t,{l:function(){return u}});var n=i(85893),o=i(28677),r=i(11163),a=i(42377),l=i(67294),d=i(10040),s=i(29396),c=i(11787),p=i(86671),h=i(81744),x=i(9980);let u=e=>{var t;let{news:i,clubMenuData:u}=e,[m,f]=(0,l.useState)(!0),[g,b]=(0,l.useState)(!1),{hasAccess:w}=(0,s.eS)(),{t:v}=(0,o.$G)(h.d.CLUB),{push:y}=(0,r.useRouter)(),j=Array.isArray(i.linked_news)&&i.linked_news.length>0,k=(0,l.useMemo)(()=>{for(let e of i.tags){let t=u.find(t=>t.news_section_id===e);if(t)return{name:t.name,extra_icon:t.extra_icon,code:t.code,color:t.color}}return{name:null,extra_icon:null,code:null,color:null}},[i,u]),C=null==i?void 0:null===(t=i.txt)||void 0===t?void 0:t.find(e=>"video_k"===e.type),_=(0,l.useRef)(null);(0,l.useEffect)(()=>{if(_.current){let e=parseFloat(getComputedStyle(_.current).lineHeight);f(_.current.offsetHeight<=e)}},[null==i?void 0:i.title]);let I=(0,l.useMemo)(()=>m?3:2,[m]),S=(0,p.X2)()(i.date_utc||i.date),B=()=>{y({pathname:c.ns.club.updateDetails,query:{updatesSectionCode:k.code,updateId:null==i?void 0:i.news_id}})},{dataNews:O,handleFav:M,handleLike:T}=(0,p.pJ)(i,!0,null==i?void 0:i.news_id),{count_like:E,count_seens:z,is_like:L,is_fav:N,comment_count:P}=O||{},A=e=>{e.stopPropagation(),y({pathname:c.ns.club.updatesSection,query:{updatesSectionCode:k.code}})};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(x.zx,{onClick:B,children:(0,n.jsxs)(x.hh,{isHover:!0,children:[(0,n.jsxs)(x.oB,{onClick:e=>A(e),children:[(0,n.jsx)(x.JO,{color:k.color,children:(0,n.jsx)(a.Avatar,{link:k.extra_icon,size:"36px"})}),(0,n.jsxs)(x.kS,{children:[(0,n.jsx)(a.Typography,{variant:"description-SemiBold",colorName:"primary",children:k.name}),(0,n.jsxs)(x.Qf,{children:[j&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.Typography,{variant:"caption-Medium",colorName:"fourth",tag:"span",children:v("home.new_publications.podcast_label")}),(0,n.jsx)(x.mJ,{"aria-hidden":!0,children:"•"})]}),(0,n.jsx)(a.Typography,{variant:"caption-Medium",colorName:"fourth",tag:"span",children:S})]})]}),(0,n.jsx)(a.FavouriteButton,{isActive:N,handleFav:M})]}),(0,n.jsx)(x.Ee,{cardImage:null==i?void 0:i.photo,cardUrl:null==i?void 0:i.photo_url,children:!!C&&(0,n.jsx)(x.d8,{})}),(0,n.jsxs)(x.VY,{children:[(0,n.jsxs)(x.zC,{children:[(0,n.jsx)("div",{ref:_,children:(0,n.jsx)(a.HiddenText,{lines:2,mode:"multiline",children:(0,n.jsx)(a.Typography,{variant:"header6-SemiBold",colorName:"primary",children:null==i?void 0:i.title})})}),(0,n.jsxs)("div",{children:[(0,n.jsx)(x.eQ,{variant:"description-Regular",colorName:"fourth",lines:I,children:null==i?void 0:i.short_txt}),(null==i?void 0:i.short_txt)&&(0,n.jsx)(x.PR,{text:"Подробнее",onClick:B})]})]}),(0,n.jsxs)(x.$_,{children:[(0,n.jsxs)(x.HF,{children:[(0,n.jsx)(a.Like,{type:"content",isActive:L,amount:E,onClick:e=>{e.stopPropagation(),T()}}),(0,n.jsx)(a.Comment,{type:"content",amount:P||0,onClick:e=>{e.stopPropagation(),w?y({pathname:c.ns.club.updateDetails,query:{updatesSectionCode:k.code,updateId:null==i?void 0:i.news_id,commentClicked:!0}}):b(!0)}})]}),(0,n.jsx)(a.Views,{amount:z,isViewed:!1})]})]})]})}),g&&(0,n.jsx)(d._,{isOpen:g,handleClose:()=>b(!1)})]})}},7640:function(e,t,i){"use strict";i.d(t,{h:function(){return a}});var n=i(85893),o=i(42377);i(67294);let r=i(54335).default.div.withConfig({componentId:"sc-269a86f3-0"})(["display:flex;align-items:center;gap:20px;max-width:100%;overflow:hidden;& > div{min-width:297px;}@media (max-width:960px){& > div{&:first-of-type{margin-left:18px;}}}"]),a=()=>(0,n.jsxs)(r,{children:[(0,n.jsx)(o.Skeleton,{height:390,bottom:0,radius:20,maxWidth:297}),(0,n.jsx)(o.Skeleton,{height:390,bottom:0,radius:20,maxWidth:297}),(0,n.jsx)(o.Skeleton,{height:390,bottom:0,radius:20,maxWidth:297}),(0,n.jsx)(o.Skeleton,{height:390,bottom:0,radius:20,maxWidth:297})]})},21122:function(e,t,i){"use strict";i.d(t,{V:function(){return x}});var n,o=i(85893),r=i(42377),a=i(67294),l=["title","titleId"];function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(null,arguments)}var s=function(e){var t=e.title,i=e.titleId,o=function(e,t){if(null==e)return{};var i,n,o=function(e,t){if(null==e)return{};var i={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(t.includes(n))continue;i[n]=e[n]}return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n<r.length;n++)i=r[n],t.includes(i)||({}).propertyIsEnumerable.call(e,i)&&(o[i]=e[i])}return o}(e,l);return a.createElement("svg",d({width:68,height:68,viewBox:"0 0 68 68",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":i},o),t?a.createElement("title",{id:i},t):null,n||(n=a.createElement("g",{stroke:"#fff",strokeWidth:3,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"},a.createElement("path",{d:"M40.885 16.805l17.198 17.198-17.198 17.198M9.917 34h47.685"}))))},c=i(54335);let p=(0,c.default)("div").withConfig({componentId:"sc-bf9fbfef-0"})(["display:flex;width:170px;flex-direction:column;justify-content:center;align-items:center;gap:20px;align-self:stretch;white-space:nowrap;"]),h=(0,c.default)("button").withConfig({componentId:"sc-bf9fbfef-1"})(["display:flex;width:82px;height:82px;padding:7px;justify-content:center;align-items:center;border-radius:100px;background:",";"],e=>
1e.theme.interactiveButtons.neutralBackground),x=e=>{let{text:t,onClick:i}=e;return(0,o.jsxs)(p,{onClick:i,children:[(0,o.jsx)(h,{children:(0,o.jsx)(s,{})}),(0,o.jsx)(r.Typography,{variant:"header5-SemiBold",colorName:"primary",children:t})]})}}},function(e){e.O(0,[9382,6310,7536,9045,535,8233,4119,3817,2647,3988,7542,2756,1474,9954,6045,5131,2888,9774,179],function(){return e(e.s=56209)}),_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.