(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8936],{1341:e=>{e.exports={container:"AboutBroker_container__fC0K_",brokerContainer:"AboutBroker_brokerContainer__dbtdt",broker:"AboutBroker_broker__O1sE5",brokerName:"AboutBroker_brokerName__MVsYe",brokerSummary:"AboutBroker_brokerSummary__4egj4",brokerLink:"AboutBroker_brokerLink__EU49r",brokerDescription:"AboutBroker_brokerDescription__3Wxcy",licenseContainer:"AboutBroker_licenseContainer__GRMq7",licenseSummaryHeader:"AboutBroker_licenseSummaryHeader__RoVLI",licenseTitle:"AboutBroker_licenseTitle__6yImG",expandIcon:"AboutBroker_expandIcon__E_RhC",licenseDescription:"AboutBroker_licenseDescription__xpbcr"}},5672:(e,t,n)=>{"use strict";n.d(t,{P:()=>v});var a=n(95155),r=n(12115),i=n(10320),s=n(1067),l=n(39945),o=n(86116),c=n(92524),d=n(65349),u=n(51235),_=n.n(u);let v=e=>{let{onlyEsiaAuth:t=!0,additionalTargetUri:n,openModal:u=!1,closeModal:v,entry:m}=e,b=(0,d.px)("NEXT_PUBLIC_BASE_LK_URL"),h=(0,d.px)("NEXT_PUBLIC_S3_ASSETS"),[p,f]=(0,r.useState)(null),[A,k]=(0,r.useState)(!1),C=(0,r.useCallback)(async()=>{f(await (0,s.g)((0,d.px)("NEXT_PUBLIC_PL_LK_API_URL"),"broker_account"))},[]);function x(){k(!1),v(!A)}return((0,r.useEffect)(()=>{k(u)},[u]),(0,r.useEffect)(()=>{C()},[C]),p)?(0,a.jsx)(c.aF,{open:A,onClose:x,size:"l",className:_().modal,dataQa:"login-widget-modal",children:(0,a.jsx)(l.S,{serverConfig:p,className:_().widget,baseUrl:b,s3AssetsUrl:h,config:{title:"Вход и регистрация",description:null,highlights:null,primaryAuthProviders:["ESIA"],additionalAuthProviders:t?void 0:["ALFA","SBER","TINKOFF","MTS","VTB","SOVCOM","PHONE"],linkTarget:"_self"},isSilent:!0,entryPointId:"brokerage-not-lk-brokers",scenarioParams:{targetUri:"".concat(b,"/brokers/kupit-aktsii/").concat(null!=n?n:"")},onAnalyticsEvent:e=>{let t=(0,d.rd)(e,m);(0,i.Fj)({event:"data-event",eventCategory:t.eventCategory,eventAction:t.eventAction,eventLabel:t.eventLabel,eventValue:t.eventValue})}})}):(0,a.jsx)(c.aF,{open:A,onClose:x,size:"l",children:(0,a.jsx)(o.EA,{height:300,style:{width:"100%"}})})}},20241:e=>{e.exports={container:"BrokerAccount_container__s_Hh8",chipsContainer:"BrokerAccount_chipsContainer__nz5uT"}},23577:e=>{e.exports={input:"CalcOpenAccount_input__qJAAM",container:"CalcOpenAccount_container__HWnYw",block:"CalcOpenAccount_block___02qY",head:"CalcOpenAccount_head__VV2kr",subtitle:"CalcOpenAccount_subtitle__sFXUR",calc:"CalcOpenAccount_calc__UVBzA",result_title:"CalcOpenAccount_result_title__p5k_f",result_total:"CalcOpenAccount_result_total__1dLa5",title:"CalcOpenAccount_title__4kFbP",value:"CalcOpenAccount_value__WWvYe"}},34006:(e,t,n)=>{"use strict";n.d(t,{p:()=>d});var a=n(95155),r=n(20063),i=n(10320),s=n(86116),l=n(92524),o=n(73659),c=n.n(o);let d=e=>{let{openAccount:t}=e,n=(0,r.usePathname)();return(0,a.jsxs)("div",{className:c().container,children:[(0,a.jsxs)(s.Zp,{className:c().banner,dataQa:"brokers-banner",children:[(0,a.jsxs)("div",{className:c().titleContainer,children:[(0,a.jsx)(s.EY,{className:c().title,children:"36,6% годовых"}),(0,a.jsx)(s.EY,{className:c().title,children:"для новых инвестиций*"})]}),(0,a.jsx)("div",{className:c().imgContainer}),(0,a.jsx)(l.$n,{size:"s",onClick:()=>{let e="brokers".concat(n),a=0===n.replaceAll("/","").length?"brokers":n.replaceAll("/","");(0,i.Fj)({event:"data-event",eventCategory:a+"_banners",eventAction:"click_brokerskiy_schet",eventLabel:e,eventValue:void 0}),t()},className:c().openAccountButton,dataQa:"brokers-banner-button-open-account",children:"Открыть брокерский счет"})]}),(0,a.jsxs)("div",{className:c().eridContainer,"data-qa":"brokers-banner-text-erid",children:[(0,a.jsx)(s.EY,{children:"*Финансовые операции связаны с риском, возможна потеря средств. Доходность не гарантируется. Брокерские услуги оказывает АО \xabФИНАМ\xbb. Условия договора, риски и тарифы: https://zaoik.finam.ru/about. Не является индивидуальной инвестиционной рекомендацией. Не является офертой. "}),(0,a.jsx)(s.EY,{children:"Стимулирующее мероприятие \xabИнвестиции с гарантией\xbb проводится АО \xabФИНАМ\xbb с 13.11.2024 по 13.11.2026. Информация об организаторе, правилах, вознаграждении, сроках, месте и порядке получения в "}),(0,a.jsx)(s.EY,{className:c().eridLink,as:"a",href:"https://cdn-lpbr01.finam.ru/lpbr-static/Reglament_Investiczii_s_garantiej_36_6_6d28ce12ba.pdf",target:"_blank",children:"регламенте."}),"\xa0",(0,a.jsxs)(s.EY,{className:c().advertisingContainer,children:["Реклама АО \xabФИНАМ\xbb ИНН 7731038186 erid: 2VSb5",(0,a.jsx)("span",{className:c().advertisingSymbol,children:"x"}),"97cFU"]})]})]})}},44749:e=>{e.exports={stepItem:"StepItem_stepItem__fmdiU",last:"StepItem_last__LiFzR",stepCircle:"StepItem_stepCircle__cG1GB",stepContent:"StepItem_stepContent__mh87G",stepTitle:"StepItem_stepTitle__CeQdq",stepSubtitle:"StepItem_stepSubtitle__2hYmE",titleOnly:"StepItem_titleOnly__FDEcs"}},51235:e=>{e.exports={widget:"LoginWidgetModal_widget__KpWtg",modal:"LoginWidgetModal_modal__C0f3z"}},63059:(e,t,n)=>{"use strict";n.d(t,{L:()=>G});var a=n(95155),r=n(12115),i=n(20063),s=n(10320),l=n(92524),o=n(2821),c=n(97090),d=n(5672),u=n(15239),_=n(76048),v=n(86116);let m=[{title:"Откройте счет",subtitle:"Пополните его на сумму от 300 000 ₽"},{title:"Не выводите деньги",subtitle:"Торгуйте или держите деньги на счете"},{title:"Получите 36,6% годовых",subtitle:"От активов, которые были на вашем счете в\xa0первые 30 дней"}],b=[{id:"conditions",label:"Условия"},{id:"broker",label:"Брокер"},{id:"tariff",label:"Тариф"}],h="https://zaoik.finam.ru/about/";var p=n(1341),f=n.n(p),A=n(99851);let k=()=>{let[e,t]=(0,r.useState)(!1);return(0,a.jsxs)("div",{className:f().container,"data-qa":"brokers-a1-about-brokers",children:[(0,a.jsxs)("div",{className:f().brokerContainer,children:[(0,a.jsx)(u.default,{src:A.A,width:48,height:48,className:f().logo,alt:"Финам лого премиум"}),(0,a.jsxs)("div",{className:f().broker,children:[(0,a.jsx)(v.EY,{className:f().brokerName,children:"Финам"}),(0,a.jsx)(v.EY,{className:f().brokerSummary,children:"Партнер Финуслуг"})]})]}),(0,a.jsxs)(v.EY,{className:f().brokerDescription,children:["Брокерские и депозитарные услуги по инвестиционному консультированию оказывает"," ",(0,a.jsx)("a",{className:f().brokerLink,href:h,target:"_blank",rel:"noopener noreferrer",onClick:()=>{(0,s.Fj)({event:"data-event",eventCategory:"brokers-popup_otkrytiye-scheta",eventAction:"click_tab_broker",eventLabel:{FINAM_URL:h},eventNameСard:"undefined",eventUrl:"undefined",eventValue:"undefined"})},children:"АО \xabФинам\xbb"})]}),(0,a.jsxs)("details",{className:f().licenseContainer,children:[(0,a.jsx)("summary",{className:f().licenseSummaryHeader,children:(0,a.jsxs)(v.EY,{className:f().licenseTitle,weight:"medium",onClick:()=>{let n=!e;t(n),(0,s.Fj)({event:"data-event",eventCategory:"brokers-popup_otkrytiye-scheta",eventAction:n?"click_dropdown_litsenziya_on":"click_dropdown_litsenziya_off",eventLabel:"undefined",eventNameСard:"undefined",eventUrl:"undefined",eventValue:"undefined"})},children:["Лицензия"," ",e?(0,a.jsx)(_.IconFdsChevronUpSmallO,{className:f().expandIcon,size:22}):(0,a.jsx)(_.IconFdsChevronDownSmallO,{className:f().expandIcon,size:22})]})}),(0,a.jsx)(v.EY,{className:f().licenseDescription,children:"Лицензия № 177-02739-100000 от 09.11.2000 на осуществление брокерской деятельности, лицензия № 177-07687-000100 от 12.05.2004 на осуществление депозитарной деятельности, дата внесения сведений в единый реестр инвестиционных советников - 21.12.2018. Адрес: 127006 г. Москва, пер. Настасьинский, д. 7, стр. 2. Телефон: +7 (495) 1-346-46"})]})]})};var C=n(1591),x=n(23577),g=n.n(x);let j=e=>{let{iis:t=!1}=e,[n,i]=(0,r.useState)(1e6),o=(0,r.useRef)(1e6),c=(0,r.useRef)(1e6),d=(0,r.useRef)(!1),u=(0,r.useRef)(null);(0,r.useEffect)(()=>{var e;let t=null==(e=u.current)?void 0:e.inputRef;t&&(t.readOnly=!0,t.tabIndex=-1);let n=()=>{if(!d.current)return;d.current=!1;let e=o.current;e!==c.current&&(0,s.Fj)({event:"data-event",eventCategory:"brokers-popup_otkrytiye-scheta",eventAction:"click_Input-range",eventLabel:"undefined",eventNameСard:"undefined",eventUrl:"undefined",eventValue:{value:e}})},a=()=>{d.current=!1};return window.addEventListener("pointerup",n),window.addEventListener("pointercancel",a),()=>{window.removeEventListener("pointerup",n),window.removeEventListener("pointercancel",a)}},[]);let _=Math.floor(36.6*n*.3/365),m=t?Math.floor(.13*Math.min(n,4e5)):0;return(0,a.jsxs)("div",{className:g().container,children:[(0,a.jsx)(v.EY,{fontFamily:"secondary",weight:"medium",className:g().head,children:"Ваша выгода"}),(0,a.jsx)(v.EY,{fontFamily:"secondary",weight:"regular",className:g().subtitle,children:"Если пополнить на:"}),(0,a.jsx)("div",{onPointerDown:function(){c.current=o.current,d.current=!0},children:(0,a.jsx)(l.Qr,{min:3e5,max:3e6,step:1e4,unit:"₽",ticks:[{label:"300 тыс ₽",value:3e5},{label:"3 млн ₽",value:3e6}],onChange:function(e){void 0!==e&&(o.current=e,i(e))},value:n,inputClassname:g().input,className:g().range,ref:u,onFocus:null,onBlur:null,onKeyDown:null})}),(0,a.jsxs)(v.Zp,{className:g().block,children:[(0,a.jsxs)("div",{className:g().calc,children:[(0,a.jsx)(v.EY,{fontFamily:"secondary",className:g().result_title,weight:"regular",children:"Можете получить"}),(0,a.jsx)(v.EY,{weight:"medium",fontFamily:"secondary",className:g().result_total,children:(0,C.up)(String(_+m))})]}),(0,a.jsxs)("div",{className:g().calc,children:[(0,a.jsxs)(v.EY,{fontFamily:"secondary",weight:"regular",className:g().title,children:["36,6% годовых ",(0,a.jsx)("br",{})," на ваши активы"]}),(0,a.jsxs)(v.EY,{weight:"medium",fontFamily:"secondary",className:g().value,children:["+",(0,C.up)(String(_))]})]}),t&&(0,a.jsxs)("div",{className:g().calc,children:[(0,a.jsx)(v.EY,{children:"Налоговый вычет по ИИС"}),(0,a.jsxs)(v.EY,{weight:"medium",fontFamily:"secondary",className:g().value,children:["+",(0,C.up)(String(m))]})]})]})]})};var y=n(44749),N=n.n(y);let E=e=>{let{number:t,title:n,subtitle:r,isLast:i}=e;return(0,a.jsxs)("div",{className:(0,o.A)(N().stepItem,i&&N().last),children:[(0,a.jsx)("div",{className:N().stepCircle,children:t}),(0,a.jsxs)("div",{className:(0,o.A)(N().stepContent,{[N().titleOnly]:!r}),children:[(0,a.jsx)(v.EY,{className:N().stepTitle,children:n}),r&&(0,a.jsx)(v.EY,{className:N().stepSubtitle,children:r})]})]})};var S=n(86765),L=n.n(S);let w=e=>{let{iis:t}=e;return(0,a.jsxs)("div",{"data-qa":"brokers-a1-conditions",children:[(0,a.jsx)("div",{className:L().stepsContainer,children:m.map((e,t)=>(0,a.jsx)(E,{number:t+1,title:e.title,subtitle:e.subtitle,isLast:t===m.length-1},e.subtitle))}),(0,a.jsx)(j,{iis:t}),(0,a.jsxs)("div",{className:L().details,children:[(0,a.jsx)(v.EY,{className:L().duration,children:"Финансовые операции связаны с риском, возможна потеря средств. Доходность не гарантируется. Брокерские услуги оказывает АО \xabФИНАМ\xbb. Условия договора, риски и тарифы: https://zaoik.finam.ru/about. Не является индивидуальной инвестиционной рекомендацией. Не является офертой."}),(0,a.jsxs)(v.EY,{className:L().duration,children:["Стимулирующее мероприятие \xabИнвестиции с гарантией\xbb проводится АО \xabФИНАМ\xbb с 13.11.2024 по 13.11.2026. Информация об организаторе, правилах, вознаграждении, сроках, месте и порядке получения в"," ",(0,a.jsx)("a",{href:"https://cdn-lpbr01.finam.ru/lpbr-static/Reglament_Investiczii_s_garantiej_36_6_6d28ce12ba.pdf",className:L().reglament,target:"_blank",rel:"noreferrer",children:"регламенте."})]}),(0,a.jsxs)(v.EY,{className:(0,o.A)(L().duration,L().advertisingContainer),children:["Реклама АО \xabФИНАМ\xbb ИНН 7731038186 erid: 2VSb5",(0,a.jsx)("span",{className:L().advertisingSymbol,children:"x"}),"97cFU"]})]}),(0,a.jsxs)("div",{className:L().icon,children:[(0,a.jsx)(_.IconFdsInfoCircleO,{size:20,style:{color:"var(--color-purple-600)"}}),(0,a.jsx)(v.EY,{weight:"regular",fontFamily:"secondary",size:"14",children:"Участвовать через Финуслуги могут только новые клиенты Финама"})]})]})};var F=n(65349);async function B(){let{data:e}=await fetch((0,F.px)("NEXT_PUBLIC_MP_GROWTH_API_URL")+"/api/v1/brokerage/page/rateFinamBroker").then(e=>e.json());return e[0].custom}let I="https://broker.finam.ru/landing/tariffs-n1-dolgosrochniy/",T="https://zaoik.finam.ru/broker/",U="https://zaoik.finam.ru/depo/";var O=n(98573),V=n.n(O);let Y=()=>{let[e,t]=(0,r.useState)(),[n,i]=(0,r.useState)(null);if((0,r.useEffect)(()=>{B().then(t).catch(e=>{console.error(e),i(e)})},[]),n)return(0,a.jsx)("div",{className:V().container,"data-qa":"brokers-a1-about-tariff-not-found",children:(0,a.jsx)(v.EY,{children:"Не удалось загрузить тарифы"})});if(!e)return(0,a.jsx)("div",{className:V().loaderContainer,"data-qa":"brokers-a1-about-tariff-loader",children:(0,a.jsx)(v.aH,{})});let l=(e=>[{value:e.subscriptionFee,label:"Абонентская плата"},{value:e.commissionPurchaseSecurities,label:"Комиссия за покупку бумаг"},{value:e.commissionSaleSecurities,label:"Комиссия за продажу бумаг"},{value:e.commissionForCurrency,label:"Комиссия за валюту"},{value:e.commissionForPreciousMetals,label:"Комиссия за драгоценные металлы",fullWidth:!0}])(e),c=e=>{(0,s.Fj)({event:"data-event",eventCategory:"brokers-popup_otkrytiye-scheta",eventAction:"click_tab_trafik",eventLabel:{link:e},eventNameСard:"undefined",eventUrl:"undefined",eventValue:"undefined"})};return(0,a.jsxs)("div",{className:V().container,"data-qa":"brokers-a1-about-tariff",children:[(0,a.jsxs)(v.EY,{className:V().nameTariff,weight:"medium",children:["Тариф ","\xab",e.nameTariff,"\xbb"]}),(0,a.jsx)("div",{className:V().finamTariffs,children:l.map(e=>(0,a.jsxs)("div",{className:(0,o.A)(V().item,e.fullWidth&&V().gridSpan),children:[(0,a.jsx)(v.EY,{className:V().itemValue,weight:"medium",children:e.value.replaceAll("Р","₽")}),(0,a.jsx)(v.EY,{className:V().itemHeader,children:e.label})]},e.label))}),(0,a.jsxs)("div",{className:V().linksContainer,children:[(0,a.jsx)("a",{href:I,target:"_blank",rel:"noreferrer",onClick:()=>c(I),children:"Полная информация о тарифе"}),(0,a.jsx)("a",{href:T,target:"_blank",rel:"noreferrer",onClick:()=>c(T),children:"Услуги брокера"}),(0,a.jsx)("a",{href:U,target:"_blank",rel:"noreferrer",onClick:()=>c(U),children:"Услуги депозитария"})]})]})};var R=n(20241),P=n.n(R);let z=e=>{let{iis:t}=e,[n,i]=(0,r.useState)("conditions");return(0,a.jsxs)("div",{className:P().container,children:[(0,a.jsx)("div",{className:P().chipsContainer,children:(0,a.jsx)(l.C4,{chips:b,value:n,onChipClick:e=>{i(e),"conditions"===e&&(0,s.Fj)({event:"data-event",eventCategory:"brokers-popup_otkrytiye-scheta",eventAction:"click_tab_usloviya",eventLabel:"undefined",eventNameСard:"undefined",eventUrl:"undefined",eventValue:"undefined"}),"broker"===e&&(0,s.Fj)({event:"data-event",eventCategory:"brokers-popup_otkrytiye-scheta",eventAction:"click_tab_broker",eventLabel:"undefined",eventNameСard:"undefined",eventUrl:"undefined",eventValue:"undefined"}),"tariff"===e&&(0,s.Fj)({event:"data-event",eventCategory:"brokers-popup_otkrytiye-scheta",eventAction:"click_tab_trafik",eventLabel:"undefined",eventNameСard:"undefined",eventUrl:"undefined",eventValue:"undefined"})}})}),"conditions"===n&&(0,a.jsx)(w,{iis:t}),"broker"===n&&(0,a.jsx)(k,{}),"tariff"===n&&(0,a.jsx)(Y,{})]})},M=[{title:"Найдем все ваши счета у брокера"},{title:"Добавим их на Финуслуги"}];var H=n(86543),D=n.n(H);let W=()=>(0,a.jsxs)("div",{className:D().container,children:[(0,a.jsx)(l.C4,{chips:[{id:"how-works-it",label:"Как это работает"}],value:"how-works-it"}),(0,a.jsx)("div",{className:D().stepsContainer,children:M.map((e,t)=>(0,a.jsx)(E,{number:t+1,title:e.title,isLast:t===M.length-1},e.title))})]});var q=n(68833),Q=n.n(q);let G=e=>{var t,n;let{additionalTargetUri:u,title:_="Открытие счета",open:v,setIsOpenModal:m,entry:b}=e,[h,p]=(0,r.useState)(!1),[f,A]=(0,r.useState)(null),k=(0,r.useRef)(null),C=(0,i.usePathname)(),{replace:x}=(0,i.useRouter)(),g=(0,i.useSearchParams)(),j=null!=(t=null==g?void 0:g.get("active"))?t:null,y=null!=(n=null==g?void 0:g.toString())?n:"",N="true"===(0,c.p)("NEXT_PUBLIC_FEATURE_TOGGLE_A4_ENABLED"),E="a1"===j||"has-account-finam"===j||"a4"===j&&N?j:null,S=[];(null==f?void 0:f.searchParamsKey)===y?S=f.value:E&&(S=[E]);let L=S.at(0),w=void 0!==L,F=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[e],n=L===e,a=k.current,r=(null==a?void 0:a.searchParamsKey)===y&&a.id===e;n||r||("a1"===e?(0,s.Fj)({event:"data-event",eventCategory:"brokers-popup_otkrytiye-scheta",eventAction:"click_radiobutton_brokers",eventLabel:void 0,eventNameСard:"undefined",eventUrl:"undefined",eventValue:"+36,6%"}):"a4"===e?(0,s.Fj)({event:"data-event",eventCategory:"brokers-popup_otkrytiye-scheta",eventAction:"click_radiobutton_iis",eventLabel:void 0,eventNameСard:"undefined",eventUrl:"undefined",eventValue:"+36,6%"}):"has-account-finam"===e&&(0,s.Fj)({event:"data-event",eventCategory:"brokers-popup_otkrytiye-scheta",eventAction:"click_radiobutton_finam",eventLabel:void 0,eventNameСard:"undefined",eventUrl:"undefined",eventValue:void 0})),k.current={searchParamsKey:y,id:e},A({searchParamsKey:y,value:t})},B=e=>{("a1"===e||"a4"===e||"has-account-finam"===e)&&F(e)};return(0,r.useEffect)(()=>{v&&(0,s.Fj)({event:"data-event",eventCategory:"brokers-popup_otkrytiye-scheta",eventAction:"page_view",eventLabel:"undefined",eventNameСard:"undefined",eventUrl:"undefined",eventValue:"undefined"})},[v]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l.aF,{header:{title:_},open:v,onClose:()=>{m(!1),A(null),k.current=null,(0,s.Fj)({event:"data-event",eventCategory:"brokers-popup_otkrytiye-scheta",eventAction:"click_button_krestik",eventLabel:"undefined",eventNameСard:"undefined",eventUrl:"undefined",eventValue:"undefined"}),x(C,{scroll:!1})},dismissDisabled:!0,style:{height:"90vh",maxHeight:"max-content"},footer:w?{primaryBtnText:"Открыть счет",onPrimary:()=>{L&&(m(!1),p(!0),(0,s.Fj)({event:"data-event",eventCategory:"brokers-popup_otkrytiye-scheta",eventAction:"click_button_otkryt-schet",eventLabel:"undefined",eventNameСard:"undefined",eventUrl:"undefined",eventValue:"undefined"}))}}:void 0,children:(0,a.jsx)("div",{className:Q().modalContent,children:(0,a.jsxs)(l.nD,{activeIndex:S,onTabToggle:e=>{if(0===e.length){A({searchParamsKey:y,value:[]}),k.current=null;return}let t=e[0];("a1"===t||"a4"===t||"has-account-finam"===t)&&F(t,e)},children:[(0,a.jsx)(l.As,{title:"Брокерский счет ",id:"a1",className:(0,o.A)(Q().brokerAccount,{[Q().selectedAccordion]:"a1"===L}),controlIcon:(0,a.jsx)(l.sx,{checked:"a1"===L,name:"a1",value:"a1",onChange:B}),dataQa:"open-account-modal-a1",children:(0,a.jsx)(z,{})}),N&&(0,a.jsx)(l.As,{title:"ИИС ",id:"a4",className:(0,o.A)(Q().brokerAccount,{[Q().selectedAccordion]:"a4"===L}),controlIcon:(0,a.jsx)(l.sx,{checked:"a4"===L,name:"a4",value:"a4",onChange:B}),dataQa:"open-account-modal-a4",children:(0,a.jsx)(z,{iis:!0})}),(0,a.jsx)(l.As,{title:"У меня уже есть счет в Финаме",id:"has-account-finam",className:(0,o.A)(Q().hasAccount,{[Q().selectedAccordion]:"has-account-finam"===L}),controlIcon:(0,a.jsx)(l.sx,{checked:"has-account-finam"===L,name:"has-account-finam",value:"has-account-finam",onChange:B}),dataQa:"open-account-modal-user-has-account",children:(0,a.jsx)(W,{})})]})})}),(0,a.jsx)(d.P,{openModal:h,closeModal:p,onlyEsiaAuth:!1,additionalTargetUri:u?"".concat(u,"?open-broker-account=true?active=").concat(L):"?open-broker-account=true?active=".concat(L),entry:b})]})}},65349:(e,t,n)=>{"use strict";function a(e){if("string"!=typeof e)throw Error("Input must be a string");let t={а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"j",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"h",ц:"c",ч:"ch",ш:"sh",щ:"sch",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya",А:"A",Б:"B",В:"V",Г:"G",Д:"D",Е:"E",Ё:"Yo",Ж:"Zh",З:"Z",И:"I",Й:"J",К:"K",Л:"L",М:"M",Н:"N",О:"O",П:"P",Р:"R",С:"S",Т:"T",У:"U",Ф:"F",Х:"H",Ц:"C",Ч:"Ch",Ш:"Sh",Щ:"Sch",Ъ:"",Ы:"Y",Ь:"",Э:"E",Ю:"Yu",Я:"Ya"};return e.split("").map(e=>t[e]||e).join("")}function r(e){return e.data.map(e=>({close:e[5][0],high:e[3][0],low:e[4][0],open:e[2][0],timestamp:+new Date(e[0]),volume:e[7]}))}n.d(t,{hC:()=>a,BT:()=>r,px:()=>i.p,rd:()=>o});var i=n(97090);let s=["ALFA","SBER","SOVCOM","TINKOFF","VTB"],l={ALFA:"alfa",SBER:"sber",SOVCOM:"sovcom",TINKOFF:"tinkoff",VTB:"vtb"};function o(e,t){let n={eventCategory:"".concat(e.eventCategory,"_").concat(t),eventLabel:e.eventLabel,eventAction:e.eventAction},a=e.eventLabel;return"mount_login_widget"===e.eventAction&&(n.eventAction="page_view_popup"),"ESIA"===e.eventLabel&&(n.eventAction="click_button_voyti_gu",n.eventLabel=void 0),"popup_select_login_provider"===e.eventLabel&&(n.eventAction="click_button_vybor_id_bank",n.eventLabel=void 0),a&&s.includes(a)&&(n.eventAction="click_button_id_bank",n.eventLabel=l[a]),"PHONE"===e.eventLabel&&(n.eventAction="click_button_telefon",n.eventLabel=void 0),{...e,...n}}n(86277)},68833:e=>{e.exports={modalContent:"OpenAccountModal_modalContent__HTAsG",title:"OpenAccountModal_title__zO60m",brokerAccount:"OpenAccountModal_brokerAccount__SFiq7",hasAccount:"OpenAccountModal_hasAccount__DXFOl"}},73659:e=>{e.exports={container:"Banner36_6_container__hwwFE",banner:"Banner36_6_banner__HweOC",titleContainer:"Banner36_6_titleContainer___Ofhd",title:"Banner36_6_title__K0EC3",imgContainer:"Banner36_6_imgContainer__EJ3ct",openAccountButton:"Banner36_6_openAccountButton__c61vH",eridContainer:"Banner36_6_eridContainer__2qSQb",eridLink:"Banner36_6_eridLink__EIR9u",advertisingContainer:"Banner36_6_advertisingContainer__NuI7r",advertisingSymbol:"Banner36_6_advertisingSymbol__Xb6Eb"}},86277:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useIntervalOnFn:()=>r});var a=n(12115);let r=e=>{let{refreshFn:t,interval:n=1e4,immediate:r=!0,onError:i}=e,s=(0,a.useRef)(!0),l=(0,a.useRef)(null),o=(0,a.useRef)(!1),c=(0,a.useCallback)(async()=>{if(!o.current){o.current=!0;try{await t()}catch(e){i&&i(e),console.error("Refresh failed:",e)}finally{o.current=!1}}},[t,i]),d=(0,a.useCallback)(()=>{l.current&&(clearInterval(l.current),l.current=null),r&&c(),l.current=window.setInterval(()=>{s.current&&c()},n)},[c,n,r]),u=(0,a.useCallback)(()=>{l.current&&(clearInterval(l.current),l.current=null)},[]),_=(0,a.useCallback)(async()=>{s.current&&await c()},[c]);return(0,a.useEffect)(()=>(s.current=!0,d(),()=>{s.current=!1,u()}),[d,u]),{refreshNow:_,stopInterval:u,startInterval:d}}},86543:e=>{e.exports={container:"HasBrokerAccount_container__Gm2__",stepsContainer:"HasBrokerAccount_stepsContainer__1cl5u"}},86765:e=>{e.exports={stepsContainer:"AboutConditions_stepsContainer__l2fxP",details:"AboutConditions_details__VQrEq",detailItem:"AboutConditions_detailItem__9LCXZ",duration:"AboutConditions_duration__2shcJ",brokerContainer:"AboutConditions_brokerContainer__SV8za",broker:"AboutConditions_broker__j_AVQ",detailsConditions:"AboutConditions_detailsConditions__MUOmg",icon:"AboutConditions_icon__xjQ7d",reglament:"AboutConditions_reglament__WCNTF",advertisingContainer:"AboutConditions_advertisingContainer__axPp1",advertisingSymbol:"AboutConditions_advertisingSymbol__TwWTA"}},97090:(e,t,n)=>{"use strict";n.d(t,{p:()=>r});var a=n(61126);function r(e){return(0,a.env)(e)}},98573:e=>{e.exports={loaderContainer:"AboutTariff_loaderContainer__PFb8v",container:"AboutTariff_container__5pcc_",nameTariff:"AboutTariff_nameTariff__DW5VE",finamTariffs:"AboutTariff_finamTariffs___FbZi",item:"AboutTariff_item__dcTTt",itemValue:"AboutTariff_itemValue__QUf7i",itemHeader:"AboutTariff_itemHeader__UvE59",gridSpan:"AboutTariff_gridSpan__BAkgQ",linksContainer:"AboutTariff_linksContainer___N8OY"}},99851:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});let a={src:"/brokers/_next/static/media/finam_logo.acb8e4aa.png",height:256,width:256,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAQlBMVEUWHCYSFR4TGCF5e4AfICscHyYYHCUnKzNMaXEWGiMrGhxJLiYaHyVXWmBjZmwOEhw3LSxsb3RBR01fLxd/WUikfVdw4VbPAAAADXRSTlP76zD5LrDx/QC0/PwwqvWsiQAAAAlwSFlzAAALEwAACxMBAJqcGAAAAD5JREFUeJw1y8cBwDAIALFzAVyCcdr+q+YV/UWrHXpt5ARz64EwnnciaIx7Ryjq7pe7IaucqywhJzOzlPn7B0j4AgBATbVqAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8}}}]);