1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5692],{73814:function(e,t,i){"use strict";i.d(t,{Z:function(){return r}});var n=i(67294),d=i(6431);function r(e){let t=(0,n.useRef)(null),i=(0,n.useRef)(null);return i.current&&i.current.update(e),(0,n.useEffect)(()=>(i.current=new d.cW({...e,ref:t}),()=>{i.current=null}),[]),n.createElement("div",{ref:t})}},64397:function(e,t,i){"use strict";var n,d,r,l=i(67294),o=["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,s=function(e,t){if(null==e)return{};var i,n,d=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)&&(d[i]=e[i])}return d}(e,o);return l.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:20,height:21,viewBox:"0 0 20 21",fill:"none","aria-labelledby":i},s),t?l.createElement("title",{id:i},t):null,n||(n=l.createElement("path",{d:"M7.408 12.08a.84.84 0 00-1.343 1.013l.673-.504-.673.504.001.001.001.001.002.003.006.008.018.023.057.07a5.698 5.698 0 00.96.885c.654.476 1.64.977 2.891.977 1.252 0 2.238-.501 2.892-.977a5.697 5.697 0 00.96-.885l.057-.07.018-.023.006-.008.002-.003c.001-.001.002-.002-.67-.506l.672.504a.84.84 0 00-1.343-1.012l-.003.004a2.939 2.939 0 01-.157.177c-.12.124-.299.294-.531.463-.468.34-1.114.655-1.902.655-.789 0-1.435-.315-1.903-.655a4.014 4.014 0 01-.66-.607 1.423 1.423 0 01-.028-.033l-.003-.004zM7.554 7.669a.84.84 0 100 1.681h.01a.84.84 0 000-1.681h-.01z",fill:"#6A6A71"})),d||(d=l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 10.957a9 9 0 019-9c4.729 0 9 4.014 9 9a9 9 0 11-18 0zm9-7.319a7.319 7.319 0 107.319 7.319c0-4.027-3.489-7.319-7.319-7.319z",fill:"#6A6A71"})),r||(r=l.createElement("path",{d:"M13.159 8.514a.84.84 0 11-1.682 0 .84.84 0 011.682 0z",fill:"#6A6A71"})))}},29275:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/club/schedule/[scheduleId]",function(){return i(53998)}])},61670:function(e,t,i){"use strict";i.d(t,{Z:function(){return r}});var n=i(23050),d=i(70411);function r(e,t){(0,d.Z)(2,arguments);var i=(0,n.Z)(e),r=(0,n.Z)(t);return i.getTime()<r.getTime()}},53998:function(e,t,i){"use strict";i.r(t),i.d(t,{__N_SSP:function(){return eV},default:function(){return eq}});var n,d,r,l,o,a=i(85893),s=i(62756);i(29823);var c=i(11163),p=i(67294),u=i(85500),x=i(42377),h=i(54335);let m=(0,h.default)("div").withConfig({componentId:"sc-c25374f8-0"})(["position:relative;width:100%;"]),f=(0,h.default)("div").withConfig({componentId:"sc-c25374f8-1"})(["width:100%;display:flex;align-items:flex-start;gap:20px;"]),g=h.default.div.withConfig({componentId:"sc-c25374f8-2"})(["border-radius:20px;width:100%;max-width:806px;"]),w=h.default.div.withConfig({componentId:"sc-c25374f8-3"})(["border-radius:20px;width:100%;max-width:334px;@media (max-width:1100px){display:none;}"]),b=(0,h.default)(x.Skeleton).withConfig({componentId:"sc-c25374f8-4"})(["border-radius:20px 20px 0 0;"]),v=h.default.div.withConfig({componentId:"sc-c25374f8-5"})(["background:",";border-radius:0 0 20px 20px;height:160px;padding:16px;"],e=>e.theme.background.content),y=()=>(0,a.jsxs)(f,{children:[(0,a.jsxs)(g,{children:[(0,a.jsx)(b,{height:368,bottom:0}),(0,a.jsxs)(v,{children:[(0,a.jsx)(x.Skeleton,{height:10,maxWidth:200}),(0,a.jsx)(x.Skeleton,{height:14,maxWidth:536,bottom:8}),(0,a.jsx)(x.Skeleton,{height:14,maxWidth:536,bottom:8}),(0,a.jsx)(x.Skeleton,{height:14,maxWidth:536,bottom:8})]})]}),(0,a.jsxs)(w,{children:[(0,a.jsx)(b,{height:228,bottom:0}),(0,a.jsxs)(v,{children:[(0,a.jsx)(x.Skeleton,{height:14,maxWidth:536,bottom:8}),(0,a.jsx)(x.Skeleton,{height:10,maxWidth:200,bottom:28}),(0,a.jsx)(x.Skeleton,{height:48,maxWidth:536,bottom:8})]})]})]});var j=i(2560),k=i(74856),_=i(3706),C=i(3644),I=i(29396),M=i(8175);let S=h.default.div.withConfig({componentId:"sc-9ea75c27-0"})(["width:100%;position:relative;"]),E=h.default.div.withConfig({componentId:"sc-9ea75c27-1"})(["display:flex;gap:20px;align-items:flex-start;width:100%;position:relative;"]),B=h.default.div.withConfig({componentId:"sc-9ea75c27-2"})(["position:sticky;bottom:32px;left:50%;z-index:1000;transition:opacity 0.3s ease;opacity:",";"],e=>e.$isContentVisible?0:1);var O=i(28677),T=i(83543),z=["title","titleId"];function N(){return(N=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 L=function(e){var t=e.title,i=e.titleId,l=function(e,t){if(null==e)return{};var i,n,d=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)&&(d[i]=e[i])}return d}(e,z);return p.createElement("svg",N({width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":i},l),t?p.createElement("title",{id:i},t):null,n||(n=p.createElement("path",{d:"M6 1.5v2.25M12 1.5v2.25M2.625 6.817h12.75M13.5 17.25a3 3 0 100-6 3 3 0 000 6zM14.617 14.288h-2.235M13.5 13.192v2.243",stroke:"#6553F5",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),d||(d=p.createElement("path",{d:"M15.75 6.375v5.895a3 3 0 00-5.25 1.98c0 .563.158 1.095.435 1.545.157.27.36.51.592.705H6c-2.625 0-3.75-1.5-3.75-3.75V6.375c0-2.25 1.125-3.75 3.75-3.75h6c2.625 0 3.75 1.5 3.75 3.75z",stroke:"#6553F5",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),r||(r=p.createElement("path",{d:"M8.997 10.275h.006M6.22 10.275h.007M6.22 12.525h.007",stroke:"#6553F5",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})))},R=i(81744);let P=(0,h.default)("div").withConfig({componentId:"sc-6afb6c4c-0"})(["display:flex;align-items:center;gap:20px;background:",";border-radius:24px;flex-direction:column;width:100%;max-width:334px;@media (max-width:1275px){max-width:100%;flex-direction:row;align-items:center;padding:20px;}@media (max-width:600px){padding:20px 18px;border-radius:16px;}"],e=>{let{theme:t}=e;return t.background.content}),Z=(0,h.default)("div").withConfig({componentId:"sc-6afb6c4c-1"})(["margin:0;min-width:0;position:relative;width:100%;overflow:hidden;padding-top:57.485%;border-radius:24px;@media (max-width:1275px){padding-top:28.7%;border-radius:20px;}"]),$=(0,h.default)("img").withConfig({componentId:"sc-6afb6c4c-2"})(["position:absolute;top:0;object-fit:cover;width:100%;height:100%;"]),W=(0,h.default)("div").withConfig({componentId:"sc-6afb6c4c-3"})(["display:flex;align-items:center;gap:20px;flex-direction:column;width:100%;padding:0 20px 20px;@media (max-width:1275px){padding:0px;}"]),A=(0,h.default)("div").withConfig({componentId:"sc-6afb6c4c-4"})(["display:flex;width:100%;flex-direction:column;gap:8px;"]),D=e=>{let{news:t}=e,i=(0,x.useMediaQuery)(x.breakpoint.down(600)),{t:n}=(0,O.$G)(R.d.CLUB),{hasAccess:d}=(0,I.eS)();return(0,a.jsxs)(P,{children:[!i&&(0,a.jsx)(Z,{children:(0,a.jsx)($,{src:"/club-images/schedule/calendar-image.png",alt:"img"})}),(0,a.jsxs)(W,{children:[(0,a.jsxs)(A,{children:[(0,a.jsx)(x.Typography,{variant:[{variant:"header4-Bold",resolution:null},{variant:"header6-SemiBold",resolution:600}],colorName:"primary",textAlign:i?null:"center",children:n("shedule.add_calendar_title")}),(0,a.jsx)(x.Typography,{variant:"text-Medium",colorName:"fourth",textAlign:i?null:"center",children:n("shedule.add_calendar_desc")})]}),(0,a.jsx)(x.Dropdown,{padding:"8px",placement:"bottom-start",width:"196px",targetElement:(0,a.jsx)(x.Button,{textCustom:(0,a.jsx)(x.Typography,{variant:"header6-SemiBold",colorName:"outlineBrandText",whiteSpace:"nowrap",children:n("shedule.add_calendar_btn")}),iconLeft:(0,a.jsx)(L,{}),mode:"outlineBrand",size:"L",width:"100%",isFill:!1,disabled:!d}),children:(0,a.jsx)(T.Y,{event:t})})]})]})};var U=i(23029),F=i(78453),H=i(48710),G=i(44432);let K=(0,h.default)("div").withConfig({componentId:"sc-cb3000eb-0"})(["display:flex;width:100%;max-width:806px;flex-direction:column;gap:24px;"]),Q=(0,h.default)("div").withConfig({componentId:"sc-cb3000eb-1"})(["display:flex;width:100%;flex-direction:column;gap:20px;@media (max-width:600px){width:calc(100% + 36px);margin:0 -18px;}"]),V=(0,h.default)("div").withConfig({componentId:"sc-cb3000eb-2"})(["display:flex;align-items:flex-start;gap:20px;align-self:stretch;@media (max-width:700px){flex-direction:column;gap:12px;}"]),q=(0,h.default)("div").withConfig({componentId:"sc-cb3000eb-3"})(["width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;@media (max-width:600px){grid-template-columns:repeat(1,minmax(0,1fr));justify-items:center;}"]);var X=i(11787),Y=["title","titleId"];function J(){return(J=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)}let ee=(0,h.default)("div").withConfig({componentId:"sc-1c81bab7-0"})(["display:flex;padding:20px;justify-content:space-between;align-items:center;flex:1 0 0;background:",";border-radius:20px;padding:20px;cursor:",";@media (max-width:700px){width:100%;}"],e=>{let{theme:t}=e;return t.background.content},e=>e.$isRedirect&&"pointer"),et=(0,h.default)("div").withConfig({componentId:"sc-1c81bab7-1"})(["display:flex;align-items:center;gap:8px;"]),ei=(0,h.default)("div").withConfig({componentId:"sc-1c81bab7-2"})(["width:48px;height:48px;border-radius:48px;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:",";
1opacity:0.4;border-radius:48px;z-index:1;}> *{position:relative;z-index:2;}"],e=>{let{color:t}=e;return t}),en=(0,h.default)("div").withConfig({componentId:"sc-1c81bab7-3"})(["display:flex;flex-direction:column;align-items:flex-start;gap:2px;"]),ed=(0,h.default)(function(e){var t=e.title,i=e.titleId,n=function(e,t){if(null==e)return{};var i,n,d=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)&&(d[i]=e[i])}return d}(e,Y);return p.createElement("svg",J({width:21,height:20,viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":i},n),t?p.createElement("title",{id:i},t):null,l||(l=p.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.097 5.16l-.004.005a.62.62 0 000 .872l3.622 3.622a.484.484 0 010 .684l-3.622 3.622a.62.62 0 000 .872c.239.24.632.24.871 0l3.622-3.622c.83-.798.868-1.556 0-2.428L8.964 5.165a.612.612 0 00-.867-.005z",fill:"#fff"})))}).withConfig({componentId:"sc-1c81bab7-4"})(["width:24px;height:24px;& path{fill:",";}"],e=>{let{theme:t}=e;return t.icons.primary}),er=e=>{let{relevantSection:t,author:i}=e,{t:n}=(0,O.$G)(R.d.CLUB),{push:d}=(0,c.useRouter)();return(null==t?void 0:t.name)?(0,a.jsxs)(ee,{onClick:()=>{d({pathname:X.ns.club.updatesSection,query:{updatesSectionCode:t.code}})},$isRedirect:!0,children:[(0,a.jsxs)(et,{children:[(0,a.jsx)(ei,{color:null==t?void 0:t.color,children:(0,a.jsx)(x.Avatar,{link:null==t?void 0:t.extra_icon,size:"48px"})}),(0,a.jsxs)(en,{children:[(0,a.jsx)(x.Typography,{variant:"header4-SemiBold",colorName:"primary",children:null==t?void 0:t.name}),(0,a.jsx)(x.Typography,{variant:"text-Regular",colorName:"secondary",children:n("shedule.section_desc")})]})]}),(0,a.jsx)(ed,{})]}):(null==i?void 0:i.name)?(0,a.jsx)(ee,{children:(0,a.jsxs)(et,{children:[(0,a.jsx)(x.Avatar,{link:(0,G.zo)(null==i?void 0:i.photo_url,"_"),size:"48px"}),(0,a.jsx)(x.Typography,{variant:"header4-SemiBold",colorName:"primary",children:null==i?void 0:i.name})]})}):void 0};var el=i(87058),eo=i(61670),ea=i(23784),es=["title","titleId"];function ec(){return(ec=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 ep=function(e){var t=e.title,i=e.titleId,n=function(e,t){if(null==e)return{};var i,n,d=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)&&(d[i]=e[i])}return d}(e,es);return p.createElement("svg",ec({width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":i},n),t?p.createElement("title",{id:i},t):null,o||(o=p.createElement("path",{d:"M4.5 10.5L8 14l7.5-7.5",stroke:"#fff",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",opacity:.8})))},eu=i(92939);let ex=h.default.div.withConfig({componentId:"sc-2787d564-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){border-radius:0 0 36px 36px;min-height:361px;padding:32px 24px;top:-24px;width:calc(100% + 36px);margin:0 -18px -24px -18px;}@media (max-width:600px){justify-content:end;padding:24px 18px;border-radius:0;min-height:460px;border-radius:0 0 24px 24px;width:100%;margin:0 0 -24px 0px;}&::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,")")}),eh=(0,h.default)("div").withConfig({componentId:"sc-2787d564-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);z-index:10;"," @media (max-width:600px){margin-bottom:12px;}"],e=>{let{$hasMatType:t}=e;return!t&&(0,h.css)(["opacity:0;"])}),em=(0,h.default)("img").withConfig({componentId:"sc-2787d564-2"})(["display:flex;width:16px;justify-content:center;align-items:center;align-self:stretch;aspect-ratio:1/1;"]),ef=(0,h.default)("div").withConfig({componentId:"sc-2787d564-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;}@media (max-width:600px){gap:16px;}"]),eg=(0,h.default)("span").withConfig({componentId:"sc-2787d564-4"})(["width:4px;height:4px;border-radius:50%;background:#e7e6ec;@media (max-width:600px){width:2px;height:2px;}"]),ew=(0,h.default)("div").withConfig({componentId:"sc-2787d564-5"})(["display:flex;align-items:center;gap:6px;"]),eb=h.default.div.withConfig({componentId:"sc-2787d564-6"})(["display:flex;align-items:center;gap:12px;& button{border-radius:12px;height:48px;background:",";border:none;display:flex;padding:14px 32px 14px 28px;justify-content:center;align-items:center;gap:6px;&:hover{background:",";border:none;}& span{color:#242424;}","}@media (max-width:600px){flex-direction:",";align-items:flex-start;}"],e=>{let{theme:t}=e;return t.interactiveButtons.brandText},e=>{let{theme:t}=e;
1return t.interactiveButtons.systemBackground},e=>{let{$isSignedtoEvent:t}=e;return t&&(0,h.css)(["border:0.5px solid ",";background:rgba(255,255,255,0.12);backdrop-filter:blur(20px);&:hover{background:rgba(255,255,255,0.22);border:0.5px solid ",";backdrop-filter:blur(20px);}& span{color:",";}"],e=>{let{theme:t}=e;return t.stroke.contrast},e=>{let{theme:t}=e;return t.stroke.contrast},e=>{let{theme:t}=e;return t.text.contrastThemed})},e=>{let{$hasAvatars:t}=e;return t?"row":"column"}),ev=(0,h.default)("div").withConfig({componentId:"sc-2787d564-7"})(["display:flex;align-items:flex-start;"]),ey=(0,h.default)("img").withConfig({componentId:"sc-2787d564-8"})(["width:18px;height:18px;border-radius:18px;object-fit:cover;margin-left:-6px;border:1.5px solid ",";&:first-child{margin-left:0;}"],e=>e.theme.background.content),ej=e=>{let{event:t,handleSignUpEvent:i,delayedNews:n,isSignedtoEvent:d}=e,{mat_type_section:r,date:l,photo:o,title:s,news_id:c}=null!=t?t:{},u=(0,x.useMediaQuery)(x.breakpoint.down(600)),h=(0,x.useMediaQuery)(x.breakpoint.down(960)),{data:m}=(0,ea.DA)({user_key:null==n?void 0:n.userKey},{skip:!(null==n?void 0:n.userKey)}),{hasAccess:f}=(0,I.eS)(),{t:g}=(0,O.$G)(R.d.CLUB),w=(0,p.useMemo)(()=>(null==n?void 0:n.news)&&(null==n?void 0:n.news[String(c)])||null,[n,c]),b=(0,p.useMemo)(()=>d&&(null==w?void 0:w.stotal)===1?"".concat(g("shedule.you")," ").concat(g("shedule.sign_up_2")):"".concat(d?g("shedule.youAnd"):""," ").concat(null==w?void 0:w.stotal," ").concat((0,eu.A)(null==w?void 0:w.stotal,["".concat(g("shedule.people_1")," ").concat(g("shedule.sign_up_1")),"".concat(g("shedule.people_2")," ").concat(g("shedule.sign_up_2")),"".concat(g("shedule.people_1")," ").concat(g("shedule.sign_up_2"))])),[d,null==w?void 0:w.stotal,g]),v=(0,p.useMemo)(()=>w&&(null==m?void 0:m.data)?null==w?void 0:w.users.map(e=>{var t;return null==m?void 0:null===(t=m.data[e])||void 0===t?void 0:t.avatar}).filter(e=>!!e):[],[w,m]),y=(0,p.useMemo)(()=>{if(!l)return!1;let e=(0,el.Z)(new Date(l)),t=(0,j.Z)();return(0,eo.Z)(e,t)},[l]);return(0,a.jsxs)(ex,{$img:(0,G.zo)(o,"_"),isMobile:u,children:[(0,a.jsx)(eh,{$hasMatType:!!(null==r?void 0:r.name),children:(null==r?void 0:r.name)&&(0,a.jsxs)(a.Fragment,{children:[(null==r?void 0:r.extra_icon)&&(0,a.jsx)(em,{src:null==r?void 0:r.icon,alt:"icon"}),(0,a.jsx)(x.Typography,{variant:"description-SemiBold",colorName:"contrastThemed",children:r.name})]})}),(0,a.jsxs)(ef,{children:[(0,a.jsxs)("div",{children:[(0,a.jsx)(x.Typography,{variant:u?"description-SemiBold":"header6-SemiBold",colorName:"contrastThemed",maxWidth:h?"100%":"742px",marginBottom:u?16:10,fontSize:u?24:32,lineHeight:u?"28px":"43px",fontWeight:700,children:s}),(0,a.jsxs)(ew,{children:[(0,a.jsx)(x.Typography,{variant:"header6-SemiBold",color:"#E7E6EC",children:l?(0,C.Z)(new Date(l),"d MMMM"):null}),(0,a.jsx)(eg,{}),(0,a.jsx)(x.Typography,{variant:"header6-SemiBold",color:"#E7E6EC",children:l?(0,C.Z)(new Date(l),"HH:mm"):null})]})]}),(0,a.jsxs)(eb,{$isSignedtoEvent:d,$hasAvatars:!f,children:[f&&!y?(0,a.jsx)(x.Button,{text:d?g("shedule.card_signed_btn"):g("shedule.card_btn"),width:u?"100%":d?"187px":"245px",onClick:i,iconRight:d&&(0,a.jsx)(ep,{}),isFill:!1}):!!v.length&&(0,a.jsx)(ev,{children:v.map((e,t)=>(0,a.jsx)(ey,{src:(0,G.zo)(e,"_"),alt:"avatar"},t))}),(null==w?void 0:w.stotal)?(0,a.jsx)(x.Typography,{variant:"description-Medium",color:"#E7E6EC",maxWidth:u||!f?"100%":d?"123px":"110px",children:b}):null]})]})]})};var ek=i(41920);let e_=(0,h.default)("div").withConfig({componentId:"sc-c45ad95c-0"})(["display:flex;flex-direction:column;background:",";border-radius:24px;padding:20px;"],e=>{let{theme:t}=e;return t.background.content}),eC=(0,h.default)("p").withConfig({componentId:"sc-c45ad95c-1"})(["color:",";font-size:17px;line-height:22px;font-weight:400;"," ol li{list-style-type:unset;}ul li{list-style-type:unset;}ol,ul{list-style-position:outside;padding-left:40px;}"],e=>{let{theme:t}=e;return t.text.primary},e=>{let{$hasAccess:t}=e;return!t&&(0,h.css)(["-webkit-line-clamp:4;display:-webkit-box;word-wrap:break-word;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;height:88px;"])}),eI=h.default.div.withConfig({componentId:"sc-c45ad95c-2"})(["position:relative;width:100%;min-height:250px;"]),eM=e=>{let{txt:t}=e,{t:i}=(0,O.$G)(R.d.CLUB),{hasAccess:n}=(0,I.eS)(),d=(0,p.useMemo)(()=>{var e;return(null==t?void 0:null===(e=t.find(e=>"text"===e.type))||void 0===e?void 0:e.value)||""},[t]);return(0,a.jsxs)(e_,{children:[(0,a.jsx)(x.Typography,{variant:"header4-SemiBold",colorName:"primary",marginBottom:20,tag:"span",children:i("shedule.text_title")}),(0,a.jsx)(eC,{$hasAccess:n,dangerouslySetInnerHTML:{__html:d}}),!n&&(0,a.jsx)(eI,{children:(0,a.jsx)(ek.K,{})})]})},eS=e=>{let{news:t,commentsRef:i,blockRef:n,handleSignUpEvent:d,detailsRef:r,delayedNews:l,isSignedtoEvent:o}=e,s=(0,x.useMediaQuery)(x.breakpoint.down(1275)),{hasAccess:c}=(0,I.eS)(),{firstDay:u,lastDay:h}=(0,p.useMemo)(()=>{let e=(0,j.Z)(),t=(0,k.Z)((0,_.Z)(e,2));return{firstDay:(0,C.Z)(e,"yyyy-MM-dd"),lastDay:(0,C.Z)(t,"yyyy-MM-dd")}},[]),m=(0,p.useCallback)(e=>(0,G.DD)({date_from:u,date_to:h,limit:5,section:"calendar_club",ignore:"invest_idea, how_live, club_faq, ready_set",order:"asc",ustate:0,_next:e}),[u,h]),{data:f=[]}=(0,F.PC)(m()),g=(0,p.useMemo)(()=>(null==f?void 0:f.length)&&(null==t?void 0:t.news_id)?null==f?void 0:f.filter(e=>e.news_id!==(null==t?void 0:t.news_id)).slice(0,4):[],[f,null==t?void 0:t.news_id]);return(0,a.jsxs)(K,{children:[(0,a.jsxs)(Q,{children:[(0,a.jsx)("div",{ref:r,children:(0,a.jsx)(ej,{event:t,handleSignUpEvent:d,delayedNews:l,isSignedtoEvent:o})}),(0,a.jsxs)(V,{children:[(null==t?void 0:t.relevant_section.name)&&(0,a.jsx)(er,{relevantSection:null==t?void 0:t.relevant_section}),(null==t?void 0:t.author.name)&&(0,a.jsx)(er,{author:null==t?void 0:t.author})]}),(0,a.jsx)(eM,{txt:null==t?void 0:t.txt}),s&&(0,a.jsx)(D,{news:t}),c&&(0,a.jsx)("div",{ref:n,children:(0,a.jsx)(H.H,{commentsParentId:+(null==t?void 0:t.news_id),commentsType:"blogs",isNews:!0,commentsRef:i})})]}),(null==g?void 0:g.length)>0&&c&&(0,a.jsx)(q,{children:null==g?void 0:g.map((e,t)=>(0,a.jsx)(U.Z,{event:e,delayedNews:l,maxWidth:393},t))})]})},eE=(0,h.default)("div").withConfig({componentId:"sc-c5d1f50a-0"})(["width:100%;padding:20px;
1display:flex;align-items:center;justify-content:space-between;gap:12px;align-self:stretch;background:",";border-radius:20px;@media (max-width:1140px){display:none;}@media (max-width:960px){display:flex;}@media (max-width:900px){display:none;}"],e=>e.$isLight?"#151515":"#2B2B2B"),eB=(0,h.default)("div").withConfig({componentId:"sc-c5d1f50a-1"})(["display:flex;flex-direction:column;gap:4px;"]),eO=(0,h.default)("div").withConfig({componentId:"sc-c5d1f50a-2"})(["display:flex;align-items:flex-start;gap:10px;"]),eT=(0,h.default)(x.Typography).withConfig({componentId:"sc-c5d1f50a-3"})(["display:-webkit-box;word-wrap:break-word;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;max-width:450px;"]),ez=(0,h.default)("div").withConfig({componentId:"sc-c5d1f50a-4"})(["display:flex;padding:2px 10px;justify-content:center;align-items:center;gap:4px;border-radius:25px;background:rgba(255,255,255,0.16);"]),eN=(0,h.default)("img").withConfig({componentId:"sc-c5d1f50a-5"})(["display:flex;width:16px;justify-content:center;align-items:center;align-self:stretch;aspect-ratio:1/1;"]),eL=(0,h.default)("div").withConfig({componentId:"sc-c5d1f50a-6"})(["display:flex;justify-content:center;align-items:center;gap:48px;flex:1 0 0;"]),eR=(0,h.default)("div").withConfig({componentId:"sc-c5d1f50a-7"})(["display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:6px;align-self:stretch;"]),eP=e=>{let{currentNewsItem:t,handleSignUpEvent:i}=e,{title:n,date:d,mat_type_section:r,relevant_section:l}=null!=t?t:{},{t:o}=(0,O.$G)(R.d.CLUB),s=(0,p.useMemo)(()=>[{title:o("shedule.block_title_0"),info:d?(0,C.Z)(new Date(d),"d MMMM"):"-"},{title:o("shedule.block_title_1"),info:d?(0,C.Z)(new Date(d),"HH:mm"):"-"}],[d,o]),{mode:c}=(0,x.useMode)();return(0,a.jsxs)(eE,{$isLight:"light"===c,children:[(0,a.jsxs)(eB,{children:[(0,a.jsxs)(eO,{children:[(0,a.jsx)(eT,{variant:"header5-SemiBold",colorName:"contrastThemed",wordBreak:"break-word",children:n||"-"}),(null==r?void 0:r.name)&&(0,a.jsxs)(ez,{children:[(null==r?void 0:r.extra_icon)&&(0,a.jsx)(eN,{src:null==r?void 0:r.icon,alt:"icon"}),(0,a.jsx)(x.Typography,{variant:"description-Medium",colorName:"contrastThemed",children:null==r?void 0:r.name})]})]}),(0,a.jsx)(x.Typography,{variant:"description-Medium",colorName:"tertiary",children:(null==l?void 0:l.name)||"-"})]}),(0,a.jsx)(eL,{children:s.map((e,t)=>(0,a.jsxs)(eR,{children:[(0,a.jsx)(x.Typography,{variant:"caption-Medium",colorName:"tertiary",whiteSpace:"nowrap",children:e.title}),(0,a.jsx)(x.Typography,{variant:"header6-Bold",colorName:"contrastThemed",whiteSpace:"nowrap",children:(null==e?void 0:e.info)||"-"})]},t))}),(0,a.jsx)(x.Button,{text:o("shedule.card_btn"),onClick:i,mode:"primary",width:"245px"})]})},eZ=(0,h.default)(x.Modal).withConfig({componentId:"sc-234d17c4-0"})(["& .modal-contentInside{margin:0 0 32px 0;padding:0;@media (max-width:750px){margin:0 0 24px 0;}@media (max-width:600px){margin:0 0 8px 0;padding:16px;}}"]),e$=(0,h.default)("div").withConfig({componentId:"sc-234d17c4-1"})(["display:flex;justify-content:flex-end;align-items:center;gap:12px;@media (max-width:600px){flex-direction:column-reverse;}"]),eW=(0,h.default)(x.Button).withConfig({componentId:"sc-234d17c4-2"})(["width:260px;height:44px;@media (max-width:750px){width:50%;}@media (max-width:600px){width:100%;}"]),eA=(0,h.default)(x.Button).withConfig({componentId:"sc-234d17c4-3"})(["width:260px;margin-left:auto;height:44px;@media (max-width:750px){width:117px;}@media (max-width:600px){width:100%;}"]),eD=(0,h.default)("div").withConfig({componentId:"sc-234d17c4-4"})(["margin-top:16px;width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:16px;align-self:stretch;padding:0 24px;@media (max-width:600px){padding:0px;}"]),eU=(0,h.default)("div").withConfig({componentId:"sc-234d17c4-5"})(["margin:0;min-width:0;position:relative;width:100%;overflow:hidden;padding-top:46.703%;border-radius:16px;"]),eF=(0,h.default)("img").withConfig({componentId:"sc-234d17c4-6"})(["position:absolute;top:0;object-fit:cover;width:100%;height:100%;"]),eH=e=>{let{isOpen:t,handleClose:i,isSigning:n,handleUnSignEvent:d}=e,{t:r}=(0,O.$G)(R.d.CLUB);return n?(0,a.jsxs)(eZ,{open:t,onClose:i,bottomContent:(0,a.jsx)(eA,{text:r("shedule.sign_modal.button_text"),onClick:i}),maxWidth:"728px",children:[(0,a.jsx)(eU,{children:(0,a.jsx)(eF,{src:"/club-images/schedule/subscribeImg.png",alt:"img"})}),(0,a.jsxs)(eD,{children:[(0,a.jsx)(x.Typography,{variant:"header5-SemiBold",colorName:"primary",children:r("shedule.sign_modal.title")}),(0,a.jsx)(x.Typography,{variant:"text-Regular",colorName:"fourth",children:r("shedule.sign_modal.description")})]})]}):(0,a.jsxs)(eZ,{open:t,onClose:i,bottomContent:(0,a.jsxs)(e$,{children:[(0,a.jsx)(eW,{text:r("shedule.unsign_modal.button_text_1"),mode:"secondary",onClick:d}),(0,a.jsx)(eW,{text:r("shedule.unsign_modal.button_text_2"),onClick:i})]}),maxWidth:"728px",children:[(0,a.jsx)(eU,{children:(0,a.jsx)(eF,{src:"/club-images/schedule/unsubscribe-img.png",alt:"img"})}),(0,a.jsxs)(eD,{children:[(0,a.jsx)(x.Typography,{variant:"header5-SemiBold",colorName:"primary",children:r("shedule.unsign_modal.title")}),(0,a.jsx)(x.Typography,{variant:"text-Regular",colorName:"fourth",children:r("shedule.unsign_modal.description")})]})]})},eG=e=>{let{news:t}=e,[i,n]=(0,p.useState)(!0),[d,r]=(0,p.useState)(!1),[l,o]=(0,p.useState)(!1),s=(0,p.useRef)(null),u=(0,p.useRef)(null),h=(0,p.useRef)(null),{query:m}=(0,c.useRouter)(),f=(0,x.useMediaQuery)(x.breakpoint.down(1275)),{hasAccess:g}=(0,I.eS)(),{firstDay:w,lastDay:b}=(0,p.useMemo)(()=>{let e=(0,j.Z)(),t=(0,k.Z)((0,_.Z)(e,2));return{firstDay:(0,C.Z)(e,"yyyy-MM-dd"),lastDay:(0,C.Z)(t,"yyyy-MM-dd")}},[]),{data:v,isLoading:O,refetch:T}=(0,M.Bq)({from:w,to:b}),[z]=(0,M.kg)();(0,p.useEffect)(()=>
1{if(m.commentClicked&&s.current&&t){var e;null===(e=s.current)||void 0===e||e.scrollIntoView({behavior:"smooth"})}},[m.commentClicked,m,t]),(0,p.useEffect)(()=>{let e=()=>{h.current&&n(h.current.getBoundingClientRect().bottom>=100)};return window.addEventListener("scroll",e),e(),()=>{window.removeEventListener("scroll",e)}},[]);let N=(0,p.useMemo)(()=>{if(!t||!(null==v?void 0:v.news))return!1;let e=v.news[String(t.news_id)];return(null==e?void 0:e.ustatus)===1},[t,v]),L="news.".concat(t.news_id),R=async e=>{r(!0),o(e),e&&(await z({is_set:!0,delayed_id:L}).unwrap(),await T())},P=async()=>{await z({is_set:!1,delayed_id:L}).unwrap(),await T(),r(!1)};return O?(0,a.jsx)(y,{}):(0,a.jsxs)(S,{children:[(0,a.jsxs)(E,{children:[(0,a.jsx)(eS,{news:t,handleSignUpEvent:()=>R(!N),commentsRef:s,blockRef:u,detailsRef:h,delayedNews:v,isSignedtoEvent:N}),f?null:(0,a.jsx)(D,{news:t})]}),!N&&g&&(0,a.jsx)(B,{$isContentVisible:i,children:(0,a.jsx)(eP,{currentNewsItem:t,handleSignUpEvent:()=>R(!0)})}),d&&(0,a.jsx)(eH,{isOpen:d,handleClose:()=>r(!1),isSigning:l,handleUnSignEvent:P})]})},eK=()=>{let{query:e}=(0,c.useRouter)(),t=e.scheduleId,{data:i,isLoading:n}=(0,u.EM)({news_id:+t,section:"calendar_club",v:2,ustate:0},{skip:!t});return(0,a.jsx)(m,{children:n?(0,a.jsx)(y,{}):(0,a.jsx)(eG,{news:null==i?void 0:i.data})})};var eQ=i(95294),eV=!0;function eq(){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(eQ.j,{title:"РаÑпиÑание ÑÑоков по ÑинанÑовой гÑамоÑноÑÑи - ÐлÑб | PRO.FINANSY",description:"ÐзнакомÑÑеÑÑ Ñ Ð°ÐºÑÑалÑнÑм ÑаÑпиÑанием занÑÑий по ÑинанÑовой гÑамоÑноÑÑи. ÐланиÑÑйÑе ÑÐ²Ð¾Ñ ÑÑаÑÑие и бÑдÑÑе в кÑÑÑе вÑеÑ
ÑобÑÑий."}),(0,a.jsx)(eK,{})]})}eq.getLayout=function(e){return(0,a.jsx)(s.xt,{children:e})}},41920:function(e,t,i){"use strict";i.d(t,{K:function(){return w}});var n=i(85893),d=i(28677),r=i(11163),l=i(42377),o=i(67294),a=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%);"])}),u=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")}),h=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),w=e=>
1{let{title:t,withOutShade:i,withOutBackground:c,maxWidth:w,centerPosition:b,hasNoPremiumAccess:v,withOutLogo:y,withOutPremium:j}=e,{t:k}=(0,d.$G)(s.d.CLUB),{push:_}=(0,r.useRouter)(),{mode:C}=(0,l.useMode)(),I=(0,o.useMemo)(()=>t||(v?k("premium_blur.premium_title"):k("premium_blur.title")),[t,v,k]);return(0,n.jsxs)(p,{$maxWidth:w,$centerPosition:b,children:[!i&&(0,n.jsx)(u,{$isLight:"light"===C}),(0,n.jsxs)(x,{$withOutBackground:c,$centerPosition:b,$withOutLogo:y,children:[!y&&(0,n.jsx)("img",{src:"/club-images/lock-premium.png",alt:"lock"}),(0,n.jsxs)(h,{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:()=>_(j?"/subscribe":v?a.SB:a.KN),children:j?k("premium_blur.without_premium_btn"):v?k("premium_blur.premium_btn"):k("premium_blur.btn")})]})]})}}},function(e){e.O(0,[7603,9510,9382,6310,7536,9045,8233,4119,3817,2647,3988,7542,8710,2756,6743,2888,9774,179],function(){return e(e.s=29275)}),_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.