(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,71666,71469,e=>{"use strict";var t=e.i(43476),a=e.i(7670),i=e.i(12569),s=e.i(54061);let l={display:"h1",hero:"h1",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6"},r=(0,s.g)("heading"),n=Object.freeze({heading:r,states:Object.freeze({display:`${r}--display`,hero:`${r}--hero`,h1:`${r}--h1`,h2:`${r}--h2`,h3:`${r}--h3`,h4:`${r}--h4`,h5:`${r}--h5`,h6:`${r}--h6`})}),o=({as:e,children:s,weight:r,type:o,lineClamp:c,className:d,style:u,dataQa:m,dataId:p,...h})=>{var g;let f=e||l[o]||"div",v=/^h[1-6]$/.test(f),b=(null==(g=o.match(/\d+/))?void 0:g[0])||1;return(0,t.jsx)(f,{className:(0,a.default)(n.heading,n.states[o],d),style:{...r?{fontWeight:`var(--font-weight-${r})`}:void 0,...c?{WebkitLineClamp:c,lineClamp:c,...i.l}:void 0,...u},role:v?null:"heading","aria-level":v?null:b,...h,"data-id":p,"data-qa":m,children:s})};o.displayName="Heading",e.s([],71666),e.s(["Heading",0,o],71469)},24301,e=>{"use strict";let t=["finuslugi.ru","inguru.dev","moex.com"],a=e=>e.includes("//")&&!t.find(t=>e&&e.indexOf(t)>=0);e.s(["insertRelToHtmlText",0,e=>e?e=e.replace(/href="(.*?)"/gi,(e,t)=>`${e}${a(t)?' rel="nofollow"':""}`):"","isLinkNoFollow",0,a],24301)},25716,e=>{e.q("/service-navigator/_next/static/media/TetraStar.1_btujbyklvjh.svg")},6441,e=>{e.q("/service-navigator/_next/static/media/eye2.06n57tux4kq96.svg")},2927,e=>{e.q("/service-navigator/_next/static/media/thumb-up.1jza8g0o-u773.svg")},50219,e=>{e.q("/service-navigator/_next/static/media/clock2.1xkuyqg0i_zrt.svg")},51826,e=>{e.q("/service-navigator/_next/static/media/tack.3s2sx3-nm_-bq.svg")},93645,e=>{e.q("/service-navigator/_next/static/media/arrow.1klzm52owtowv.svg")},1013,e=>{e.q("/service-navigator/_next/static/media/Bar chart vertical.1-1xdyyhijnmm.svg")},62199,e=>{e.q("/service-navigator/_next/static/media/Chart square.2q58qgbj_uq5b.svg")},24188,e=>{e.q("/service-navigator/_next/static/media/Coins percent.1inbzpeiqywpm.svg")},60498,e=>{e.q("/service-navigator/_next/static/media/Compass.3erp_tbxvvxcp.svg")},75195,e=>{e.q("/service-navigator/_next/static/media/Home.3i6knd-rj1a73.svg")},49432,e=>{e.q("/service-navigator/_next/static/media/Newspaper.0b11o8-b80652.svg")},39454,e=>{e.q("/service-navigator/_next/static/media/Play square.2_-6qb9hzwaxt.svg")},80579,e=>{e.q("/service-navigator/_next/static/media/Question square.2148e8aq_2vwn.svg")},91572,e=>{e.q("/service-navigator/_next/static/media/Safe square.10lor89vhj39s.svg")},70264,e=>{e.q("/service-navigator/_next/static/media/Shield checkmark.3lnw4mry582d7.svg")},73127,e=>{e.q("/service-navigator/_next/static/media/Star.3b5n7-akfja30.svg")},89805,e=>{e.q("/service-navigator/_next/static/media/Wallet.441wv3a3wndl0.svg")},24110,e=>{e.q("/service-navigator/_next/static/media/app-qr.43mged6k3z4ug.svg")},15182,e=>{e.q("/service-navigator/_next/static/media/adv-apps.20sazt7s756lc.png")},65018,e=>{"use strict";var t=e.i(71645);let a={xl:"screen and (max-width: 1440px)",lg:"screen and (max-width: 1200px)",md:"screen and (max-width: 900px)",sm:"screen and (max-width: 600px)"};e.s(["useMedia",0,(e="lg")=>{let i=(0,t.useRef)(null),[s,l]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{!i.current&&window&&(i.current=window?.matchMedia(a[e]||e));let t=()=>{l(!!i.current&&i.current.matches)};return t(),i.current?.addEventListener("change",t),()=>i.current?.removeEventListener("change",t)},[e]),s}])},91390,e=>{"use strict";var t=e.i(43476),a=e.i(71645),i=e.i(43489),s=e.i(7670),l=e.i(3315);e.i(89485);var r=e.i(14044),n=e.i(54061);let o=(...e)=>(...t)=>{e.forEach(e=>{null==e||e(...t)})},c=(0,n.g)("input-base"),d={wrapper:c,input:`${c}__input`,container:`${c}__container`,label:`${c}__label`,field:`${c}__field`,slotLeft:`${c}__slot-left`,rightLabel:`${c}__right-label`,caption:`${c}__caption`,placeholder:{visible:`${c}__placeholder`,hidden:`${c}__hidden`},states:{primary:`${c}--primary`,secondary:`${c}--secondary`,error:`${c}--error`,success:`${c}--success`,s:`${c}--s`,m:`${c}--m`,l:`${c}--l`,focused:`${c}--focused`,disabled:`${c}--disabled`,active:`${c}--active`,hasLabel:`${c}--has-label`,accent:`${c}--accent`}},u=(0,a.forwardRef)(({icon:e,rightLabel:n,slotLeft:c,disabled:u,state:m,size:p="m",variant:h="primary",label:g,value:f,placeholder:v,maskPlaceholder:b,autoFocus:y=!1,maskPlaceholderVariant:_="default",caption:x,type:w="text",inputMode:j="text",hasCaption:N,className:I,style:k,dataQa:C,dataId:$,inputRef:S,onChange:M,onFocus:W,onBlur:L,onKeyDown:R,...T},E)=>{let z=(0,a.useId)(),{value:Z,show:O,hide:A}=((e=!1)=>{let[t,i]=(0,a.useState)(e),s=(0,a.useCallback)(()=>i(!0),[]);return{value:t,show:s,hide:(0,a.useCallback)(()=>i(!1),[]),toggle:(0,a.useCallback)(()=>i(e=>!e),[])}})(),Y=(0,a.useRef)(null),F=(0,i.useMergeRefs)([S,Y]),V=(0,a.useMemo)(()=>Z||!!f||!!v,[f,Z,v]),J=(0,a.useCallback)(()=>{var e;null==(e=Y.current)||e.focus()},[]),U=(0,a.useMemo)(()=>{if(!b)return null;let e={hidden:f??"",visible:b.substring((null==f?void 0:f.length)??0)};return b.length===(null==f?void 0:f.length)?null:e},[b,f]);return(0,a.useEffect)(()=>{var e,t,a;if(!y)return;let i=(null==(e=Y.current)?void 0:e.value.length)??0;null==(t=Y.current)||t.focus(),null==(a=Y.current)||a.setSelectionRange(i,i)},[y]),(0,t.jsxs)("div",{className:(0,s.default)(I,d.wrapper),style:k,"data-qa":C,"data-id":$,children:[(0,t.jsxs)("div",{className:(0,s.default)(d.input,d.states[h],d.states[p],{[d.states.focused]:Z,[d.states.error]:"error"===m,[d.states.success]:"success"===m,[d.states.disabled]:!!u,[d.states.hasLabel]:g}),onClick:J,ref:E,children:[c&&(0,t.jsx)("div",{className:d.slotLeft,children:c}),(0,t.jsxs)("label",{htmlFor:z,className:d.container,children:[g&&(0,t.jsx)("span",{className:(0,s.default)(d.label,{[d.states.active]:V,[d.states.s]:"s"===p,[d.states.disabled]:u,[d.states.error]:"error"===m,[d.states.success]:"success"===m}),children:g}),U&&!!f&&(0,t.jsxs)("div",{className:(0,s.default)(d.placeholder.visible,{[d.states.accent]:"accent"===_}),children:[U.hidden&&(0,t.jsx)("span",{className:d.placeholder.hidden,children:U.hidden}),U.visible]}),(0,t.jsx)("input",{...T,id:z,ref:F,className:(0,s.default)(d.field,{[d.states.s]:"s"===p,[d.states.hasLabel]:g,[d.states.disabled]:u}),type:w,inputMode:j,autoComplete:"off",placeholder:v,value:f,disabled:u,onChange:e=>{null==M||M(e.target.value,e)},onFocus:o(O,W),onBlur:o(A,L),onKeyDown:e=>{("Escape"===e.key||"Esc"===e.key)&&(e.preventDefault(),null==M||M("",{target:{value:""}})),null==R||R(e)}})]}),n&&(0,t.jsx)("div",{className:(0,s.default)(d.rightLabel,{[d.states.disabled]:u}),children:n}),e]}),(N||x)&&(0,t.jsx)(l.C,{dataQa:(0,r.g)(`${C}-caption`,!!C),className:(0,s.default)(d.caption,{[d.states.disabled]:u}),state:m,withoutIcon:!0,children:x})]})});u.displayName="InputBase",e.s(["I",0,u],91390)},2753,21214,e=>{"use strict";e.s(["D",0,"finkit-dropdown","M",0,"finkit-modals","T",0,"finkit-tooltips"],2753);var t=e.i(71645);e.s(["S",0,function(e){return t.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M7.22 7.22a.743.743 0 0 1 1.06 0L12 10.94l3.72-3.72a.743.743 0 0 1 1.06 0 .742.742 0 0 1 0 1.06L13.061 12l3.72 3.72a.743.743 0 0 1 0 1.06.743.743 0 0 1-1.061 0L12 13.06l-3.72 3.72a.743.743 0 0 1-1.06 0 .743.743 0 0 1 0-1.06L10.94 12 7.22 8.28a.743.743 0 0 1 0-1.06Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}],21214)},12569,e=>{"use strict";e.s(["l",0,{display:"-webkit-box",WebkitBoxOrient:"vertical",overflow:"hidden"}])},3315,e=>{"use strict";var t=e.i(43476),a=e.i(7670),i=e.i(71645),s=e.i(2404),l=e.i(12569);function r(e){return i.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("defs",null,i.createElement("clipPath",{id:"a"},i.createElement("path",{fill:"#fff",fillOpacity:0,d:"M0 0h24v24H0z"}))),i.createElement("g",{clipPath:"url(#a)"},i.createElement("path",{d:"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm1.5 0a8.5 8.5 0 1 1 17 0 8.5 8.5 0 0 1-17 0Zm12.28-1.72-4.25 4.25a.722.722 0 0 1-.53.22.722.722 0 0 1-.53-.22l-2.25-2.25a.743.743 0 0 1 0-1.06.743.743 0 0 1 1.06 0L11 12.94l3.72-3.72a.743.743 0 0 1 1.06 0 .743.743 0 0 1 0 1.06Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"})))}function n(e){return i.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M12.617 2.035a4.736 4.736 0 0 0-1.232 0c-1.28.167-2.263 1.01-3.216 2.25-.944 1.231-1.97 3.005-3.284 5.28l-.06.105c-1.316 2.277-2.342 4.053-2.937 5.487-.6 1.447-.838 2.72-.344 3.912.159.382.366.74.617 1.069.785 1.024 2.007 1.454 3.56 1.659 1.539.202 3.59.202 6.22.202h.12c2.63 0 4.681 0 6.22-.202 1.553-.204 2.775-.635 3.56-1.66a4.75 4.75 0 0 0 .617-1.068c.494-1.192.256-2.465-.344-3.912-.595-1.434-1.621-3.21-2.937-5.487l-.06-.105c-1.315-2.275-2.34-4.049-3.285-5.28-.952-1.24-1.935-2.083-3.215-2.25ZM11.58 3.522a3.23 3.23 0 0 1 .844 0c.678.089 1.343.535 2.22 1.677.877 1.143 1.854 2.83 3.205 5.169 1.352 2.34 2.328 4.031 2.88 5.364.552 1.331.606 2.13.344 2.762-.108.261-.25.507-.422.731-.415.543-1.135.897-2.564 1.085-1.43.188-3.382.189-6.085.189s-4.655-.001-6.085-.19c-1.43-.187-2.149-.54-2.564-1.084a3.249 3.249 0 0 1-.422-.73c-.262-.632-.208-1.432.344-2.763.552-1.333 1.528-3.023 2.88-5.364 1.351-2.338 2.328-4.026 3.205-5.17.877-1.141 1.543-1.587 2.22-1.676Zm1.173 5.227a.75.75 0 0 0-1.5 0v5.5a.75.75 0 1 0 1.5 0v-5.5Zm-1.75 8.253a1 1 0 1 1 2-.005 1 1 0 0 1-2 .005Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}let o=(0,e.i(54061).g)("caption"),c=Object.freeze({caption:o,captionWithIcon:`${o}--with-icon`,content:`${o}__content`,icon:`${o}__icon`,text:`${o}__text`,size:{s:`${o}--s`,m:`${o}--m`},states:{success:`${o}--success`,error:`${o}--error`,warning:`${o}--warning`}});function d({as:e,children:i,state:o="default",size:u="m",text:m,withoutIcon:p=!1,lineClamp:h,role:g,dataQa:f,dataId:v,className:b,style:y,..._}){let x=m||i,w=!p&&["success","error","warning"].includes(o),j="success"===o?r:n,N=(0,a.default)(b,c.caption,c.size[u],{[c.captionWithIcon]:w,[c.states.success]:"success"===o,[c.states.error]:"error"===o,[c.states.warning]:"warning"===o});return(0,t.jsx)(e||"div",{className:N,style:y,role:g,..._,"data-id":v,"data-qa":f,children:(0,t.jsxs)("div",{className:c.content,children:[w&&x&&(0,t.jsx)(s.P,{className:c.icon,children:(0,t.jsx)(j,{})}),(0,t.jsx)("span",{className:(0,a.default)(c.text),style:{...h?{WebkitLineClamp:h,lineClamp:h,...l.l}:void 0},children:x})]})})}d.displayName="Caption",e.s(["C",0,d])},30083,e=>{"use strict";var t=e.i(71645);e.s(["S",0,function(e){return t.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("defs",null,t.createElement("clipPath",{id:"a"},t.createElement("path",{fill:"#fff",fillOpacity:0,d:"M0 0h24v24H0z"}))),t.createElement("g",{clipPath:"url(#a)"},t.createElement("path",{d:"m10.53 16.53 8.25-8.25a.743.743 0 0 0 0-1.06.743.743 0 0 0-1.06 0L10 14.94l-3.72-3.72a.743.743 0 0 0-1.06 0 .743.743 0 0 0 0 1.06l4.25 4.25c.146.147.323.22.53.22a.722.722 0 0 0 .53-.22Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"})))},"g",0,(e,t,a)=>{if(e)return"object"!=typeof e?a:"function"==typeof t?t(e):e[t]},"v",0,e=>{let{width:t,height:a}=e.getBoundingClientRect();return{x:{start:e.scrollLeft,end:Math.floor(e.scrollLeft+t)},y:{start:e.scrollTop,end:Math.floor(e.scrollTop+a)}}}])},23179,e=>{"use strict";var t=e.i(43476),a=e.i(54061),i=e.i(71645),s=e.i(7670),l=e.i(43489),r=e.i(53760),n=e.i(58950),o=e.i(2753),c=e.i(89485),d=e.i(14044),u=e.i(21214),m=e.i(2404);function p(){return"u"<typeof window}let h=p()?i.useLayoutEffect:i.useEffect;function g(e,t=!1){return p()?t:window.matchMedia(e).matches}function f(e){let{minWidth:t}=c.a[e];return function(e,{defaultValue:t=!1,initializeWithValue:a=!0}={}){let[s,l]=(0,i.useState)(()=>a?g(e,t):t??!1);function r(){l(g(e))}return h(()=>{let t=window.matchMedia(e);return r(),"function"==typeof t.addListener?t.addListener(r):t.addEventListener("change",r),()=>{"function"==typeof t.removeListener?t.removeListener(r):t.removeEventListener("change",r)}},[e]),s}(`screen and (min-width: ${t}px)`)}let v=Object.freeze({divider:(0,a.g)("dropdown-divider")}),b=({...e})=>(0,t.jsx)("div",{...e,className:v.divider});b.displayName="DropdownDivider";let y=(0,a.g)("dropdown-group"),_=Object.freeze({group:y,title:`${y}__title`,content:`${y}__content`}),x=({title:e,children:a,...i})=>(0,t.jsxs)("div",{...i,className:_.group,children:[(0,t.jsx)("div",{className:_.title,children:e}),(0,t.jsx)("div",{className:_.content,children:a})]});x.displayName="DropdownGroup";let w=(0,a.g)("dropdown-option"),j=Object.freeze({option:w,slot:`${w}__slot`,iconSlot:`${w}__slot--icon`,wrapper:`${w}__wrapper`,label:`${w}__label`,caption:`${w}__caption`,states:{danger:`${w}--danger`,success:`${w}--success`,focused:`${w}--focused`,disabled:`${w}--disabled`}}),N=(0,i.createContext)(null),I=()=>{let e=(0,i.useContext)(N);if(null===e)throw Error("Dropdown components must be wrapped in <Dropdown />");return e};function k({placement:e="bottom",width:t="auto",desktopMaxHeight:a,mobileFullHeight:s=!1,title:o,description:c,opened:d,onToggle:u,heading:m,footer:p,dataQa:h,dataId:g}={}){let[f,v]=(0,i.useState)(!1),b=d??f,y=u??v,_=(0,l.useFloating)({open:b,onOpenChange:y,placement:e,whileElementsMounted:r.autoUpdate,middleware:[(0,n.offset)(8),(0,n.flip)({fallbackAxisSideDirection:"none"}),(0,n.shift)({crossAxis:!1,padding:8})]});return(0,i.useMemo)(()=>({open:b,setOpen:y,..._,width:t,desktopMaxHeight:a,title:o,description:c,heading:m,footer:p,mobileFullHeight:s,dataQa:h,dataId:g}),[b,y,_,t,a,o,c,m,p,s,h,g])}let C=({children:e,...a})=>{let i=k(a);return(0,t.jsx)(N.Provider,{value:i,children:e})};C.displayName="Dropdown";let $=(0,a.g)("dropdown"),S=Object.freeze({dropdown:$,overlay:`${$}__overlay`,mobileHeading:`${$}__mobile-heading`,heading:`${$}__heading`,title:`${$}__title`,description:`${$}__description`,content:`${$}__content`,contentInner:`${$}__content-inner`,footer:`${$}__footer`,close:`${$}__close`,closeIcon:`${$}__close-icon`,states:{auto:`${$}--auto`,fullHeight:`${$}--full-height`}}),M=({footer:e,...a})=>e?(0,t.jsx)("div",{...a,className:S.footer,children:e}):null;M.displayName="DropdownFooter";let W=({title:e,description:a,heading:s,isDesktop:l,setOpen:r,...n})=>{let o=(0,i.useMemo)(()=>s||(l&&(e||a)?(0,t.jsxs)(t.Fragment,{children:[e&&(0,t.jsx)("div",{className:S.title,children:e}),a&&(0,t.jsx)("div",{className:S.description,children:a})]}):null),[a,s,l,e]);return(0,t.jsxs)(t.Fragment,{children:[!l&&(0,t.jsxs)("div",{...n,className:S.mobileHeading,children:[e&&(0,t.jsx)("div",{className:S.title,children:e}),a&&(0,t.jsx)("div",{className:S.description,children:a}),(0,t.jsx)("button",{className:S.close,type:"button",tabIndex:-1,"aria-label":"Закрыть окно",onClick:()=>r(!1),children:(0,t.jsx)(m.P,{"aria-hidden":"true",className:S.closeIcon,style:{display:"inline-flex"},children:(0,t.jsx)(u.S,{})})})]}),o&&(0,t.jsx)("div",{...n,className:S.heading,children:o})]})};W.displayName="DropdownHeader";let L=(0,i.forwardRef)(({style:e,contentInnerRef:a,...r},n)=>{var c,u;let{open:m,context:p,width:h,floatingStyles:g,refs:v,heading:b,title:y,description:_,footer:x,desktopMaxHeight:w,mobileFullHeight:j,dataQa:N,dataId:k,setOpen:C}=I(),$=(0,l.useMergeRefs)([v.setFloating,n]),L=(0,i.useRef)(null),R=f("s"),{isMounted:T,styles:E}=(0,l.useTransitionStyles)(p,{initial:{opacity:.2,transform:R?"translate(0, 0)":"translate(0, 100%)"},open:{opacity:1,transform:"translate(0, 0)"},duration:{open:300,close:100}});if((0,i.useEffect)(()=>{let e=({target:e})=>{!m||[L.current,v.reference.current].some(t=>t===e||t&&t.contains(e))||C(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[m,v.reference,C]),!T)return null;let z=(0,t.jsxs)("div",{ref:L,className:(0,s.default)(S.dropdown,{[S.states.fullHeight]:j}),role:R?"popup":"dialog","aria-modal":!R,"data-id":k,"data-qa":N,style:E,children:[(0,t.jsx)(W,{title:y,description:_,heading:b,isDesktop:R,setOpen:C,"data-qa":(0,d.g)(`${N}-header`,!!N)}),(0,t.jsx)("div",{...r,className:S.content,"data-qa":(0,d.g)(`${N}-content`,!!N),children:(0,t.jsx)("div",{className:S.contentInner,style:{maxHeight:R?w:void 0},ref:a,children:r.children})}),(0,t.jsx)(M,{"data-qa":(0,d.g)(`${N}-header`,!!N),footer:x})]});if(R){let a;return"inherit"===h?a=null==(u=null==(c=null==v?void 0:v.reference)?void 0:c.current)?void 0:u.clientWidth:"auto"===h?a=void 0:"number"==typeof h&&(a=h),(0,t.jsx)("div",{className:(0,s.default)(S.overlay,{[S.states.auto]:"auto"===h}),style:{...e,...g,...void 0!==a&&{width:a}},ref:$,children:z})}return(0,t.jsx)(l.FloatingPortal,{id:o.D,children:(0,t.jsx)(l.FloatingOverlay,{lockScroll:!0,className:(0,s.default)(S.overlay,{[S.states.auto]:"auto"===h}),style:e,ref:$,children:z})})});L.displayName="DropdownContent";let R=(0,i.forwardRef)(function({children:e,asChild:a=!1,disabled:s,...r},n){let{refs:o,open:c,setOpen:d}=I(),u=e.ref,m=(0,l.useMergeRefs)([o.setReference,n,u]),p=(0,i.useCallback)(()=>{s||d(!c)},[s,c,d]);return a&&(0,i.isValidElement)(e)?(0,i.cloneElement)(e,{ref:m,disabled:s,onClick:p,...r,...e.props}):(0,t.jsx)("button",{ref:m,onClick:p,disabled:s,...r,type:"button",children:e})});R.displayName="DropdownTrigger",e.s(["D",0,C,"a",0,L,"b",0,N,"c",0,b,"d",0,M,"e",0,x,"f",0,W,"g",0,function({as:e,label:a,caption:l,iconLeft:r,iconRight:n,prepend:o,append:c,variant:d="default",disabled:u=!1,focused:m=!1,className:p,onClick:h,...g}){let f=(0,s.default)(p,j.option,{[j.states.focused]:m,[j.states.success]:"success"===d,[j.states.danger]:"danger"===d,[j.states.disabled]:!!u}),v=(0,i.useCallback)(e=>{e.preventDefault(),u||null==h||h(e)},[u,h]);return(0,t.jsxs)(e||"div",{...g,className:f,"aria-disabled":u,onClick:v,children:[o&&(0,t.jsx)("span",{className:j.slot,children:o}),r&&(0,t.jsx)("span",{className:(0,s.default)(j.slot,j.iconSlot),children:r}),(0,t.jsxs)("div",{className:j.wrapper,children:[(0,t.jsx)("span",{className:j.label,children:a}),l&&(0,t.jsx)("span",{className:j.caption,children:l})]}),n&&(0,t.jsx)("span",{className:(0,s.default)(j.slot,j.iconSlot),children:n}),c&&(0,t.jsx)("span",{className:j.slot,children:c})]})},"h",0,R,"i",0,"div","j",0,I,"k",0,f,"u",0,k])},10653,e=>{"use strict";e.s(["i",0,function(e){return void 0!==e}])},33329,e=>{"use strict";var t=e.i(43476),a=e.i(7670),i=e.i(71645),s=e.i(2404),l=e.i(54061);function r(e){return i.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M19.836 6.466a1.5 1.5 0 0 1-.051 2.12l-9.45 9a1.5 1.5 0 0 1-2.07 0l-4.05-3.857a1.5 1.5 0 1 1 2.07-2.172L9.3 14.429l8.415-8.015a1.5 1.5 0 0 1 2.121.052Z"}))}function n(e){return i.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("rect",{width:18,height:3,x:3,y:10.5,fill:"currentColor",rx:1.5}))}let o=["checkbox"],c=(0,l.g)("common-marker"),d={marker:c,icon:`${c}__icon`,states:{checkbox:`${c}--checkbox`,radio:`${c}--radio`,toggle:`${c}--toggle`,error:`${c}--error`,checked:`${c}--checked`,disabled:`${c}--disabled`,inverted:`${c}--inverted`,indeterminate:`${c}--indeterminate`}},u=({as:e,state:i="default",type:l="checkbox",className:c,checked:u,inverted:m,disabled:p,...h})=>(0,t.jsx)(e||"span",{...h,className:(0,a.default)(c,d.marker,{[d.states.checkbox]:"checkbox"===l,[d.states.radio]:"radio"===l,[d.states.toggle]:"toggle"===l,[d.states.checked]:!!u,[d.states.indeterminate]:"indeterminate"===u,[d.states.error]:"error"===i,[d.states.inverted]:m,[d.states.disabled]:p}),children:o.includes(l)&&(0,t.jsx)(s.P,{className:(0,a.default)(d.icon,{[d.states.checked]:u,[d.states.inverted]:m,[d.states.error]:"error"===i,[d.states.disabled]:p}),children:"indeterminate"===u?(0,t.jsx)(n,{}):(0,t.jsx)(r,{})})});u.displayName="CommonMarker",e.s(["C",0,u])},14087,e=>{"use strict";var t=e.i(43476),a=e.i(71645),i=e.i(7670),s=e.i(30083),l=e.i(2404),r=e.i(10653),n=e.i(33329),o=e.i(23179);function c(e){return a.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{d:"m19.03 10.28-6.5 6.5a.75.75 0 0 1-1.06 0l-6.5-6.5a.75.75 0 1 1 1.06-1.06L12 15.19l5.97-5.97a.75.75 0 1 1 1.06 1.06Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}let d=(0,e.i(54061).g)("select"),u={select:d,activator:`${d}__activator`,activatorWrapper:`${d}__activator-wrapper`,placeholder:`${d}__placeholder`,selected:`${d}__selected`,label:`${d}__label`,rightLabel:`${d}__right-label`,icon:`${d}__icon`,options:`${d}__options`,optionIcon:`${d}__option-icon`,caption:`${d}__caption`,states:{primary:`${d}--primary`,secondary:`${d}--secondary`,small:`${d}--s`,medium:`${d}--m`,large:`${d}--l`,opened:`${d}--opened`,error:`${d}--error`,success:`${d}--success`,selected:`${d}--selected`,disabled:`${d}--disabled`}};function m({value:e,label:d,options:p=[],optionValue:h="value",optionLabel:g="label",optionCaption:f="caption",optionDisabled:v="disabled",variant:b="primary",state:y,size:_="m",icon:x,rightLabel:w,clearable:j=!1,multiple:N=!1,disabled:I=!1,caption:k,placeholder:C,className:$,dataId:S,dataQa:M,isOpen:W=!1,classnameTrigger:L,selectedValue:R,onChange:T,onToggle:E,onSelect:z,onUnselect:Z,onFocus:O,onBlur:A,...Y}){let[F,V]=(0,a.useState)(!1),[J,U]=(0,a.useState)(),[D,B]=(0,a.useState)(),[X,P]=(0,a.useState)(!1),G=(0,a.useRef)(null),H=(0,a.useId)(),q=(0,a.useId)(),Q=(0,a.useId)();(0,a.useEffect)(()=>{e?U(e):U(N?[]:void 0)},[N,e]);let K=(0,a.useMemo)(()=>p.map((e,t)=>{let a=(0,s.g)(e,h,e),i=N&&Array.isArray(J)?J.map(e=>(0,s.g)(e,h,e)):(0,s.g)(J,h,J);return{index:t,value:a,label:(0,s.g)(e,g,e),caption:(0,s.g)(e,f),disabled:(0,s.g)(e,v,!1),selected:N?Array.isArray(i)&&i.includes(a):i===a,active:D===t,original:e,id:`${Q}-option-${t}`}}),[D,Q,J,N,f,v,g,h,p]),ee=(0,a.useMemo)(()=>K.filter(e=>e.selected),[K]),et=(0,a.useMemo)(()=>(0,r.i)(D)&&K[D].id,[D]),ea=(0,a.useCallback)(e=>{U(e),null==T||T(e)},[T]),ei=(0,a.useCallback)(()=>{if(G.current&&et){let{start:e,end:t}=(0,s.v)(G.current).y,a=document.getElementById(et);if(a){let i=a.offsetTop+a.clientHeight-t,s=e-a.offsetTop;i>0?G.current.scrollTop+=i+8:s>0&&(G.current.scrollTop-=s+8)}}},[et]),es=e=>{V(e),null==E||E(e)},el=(0,a.useCallback)(e=>{if(!(0,r.i)(e))return 0;let t=0===e?K.length-1:e-1;return K[t].disabled?el(t):t},[K]),er=(0,a.useCallback)(e=>{if(!(0,r.i)(e))return 0;let t=e===K.length-1?0:e+1;return K[t].disabled?er(t):t},[K]),en=(0,a.useCallback)(e=>{let t=e&&e.index!==K.length-1?K[e.index+1]:K[0];return t.disabled?en(t):t},[K]),eo=(0,a.useCallback)(e=>{let t=e&&0!==e.index?K[e.index-1]:K[K.length-1];return t.disabled?eo(t):t},[K]),ec=()=>{es(!0),B(ee.length>0?ee[0].index:0)},ed=()=>{es(!1),B(void 0)},eu=(0,a.useCallback)(e=>{if(!N){ea(j&&e.selected?void 0:e.original),ed();return}if(e.selected&&Array.isArray(J)){ea(J.filter(t=>(0,s.g)(t,h,t)!==e.value)),null==Z||Z(e.original);return}Array.isArray(J)&&(ea([...J,e.original]),null==z||z(e.original))},[j,ed,J,N,z,Z,h,ea]),em=(0,a.useCallback)(e=>{e.preventDefault(),F?ed():(j||N)&&(ee.forEach(e=>null==Z?void 0:Z(e.original)),ea(N?[]:void 0))},[j,ed,N,Z,F,ee,ea]),ep=(0,a.useCallback)(()=>{F&&ed()},[ed,F]),eh=(0,a.useCallback)(e=>{(e.preventDefault(),F)?B(el(D)):N||ea(eo(ee[0]).original)},[D,el,eo,N,F,ee,ea]),eg=(0,a.useCallback)(e=>{(e.preventDefault(),F)?B(er(D)):N?ec():ea(en(ee[0]).original)},[D,er,en,N,F,ec,ee,ea]),ef=(0,a.useCallback)(e=>{switch(P(!0),e.key){case"Escape":case"Esc":em(e);break;case"Tab":ep();break;case"ArrowDown":eg(e);break;case"ArrowUp":eh(e)}},[eg,eh,em,ep]),ev=(0,a.useCallback)(e=>{(e.preventDefault(),F)?((0,r.i)(D)&&eu(K[D]),N||ed()):ec()},[D,ed,eu,K,N,F,ec]),eb=(0,a.useCallback)(e=>{P(!0),(" "===e.key||"Enter"===e.key)&&ev(e)},[ev]);(0,a.useEffect)(()=>{W&&(()=>{es(!0);let{value:t,label:a}=(Array.isArray(e)?e[0]:e)??{},i=K.find(e=>e.value===t&&e.label===a);B((null==i?void 0:i.index)??0)})()},[W]),(0,a.useEffect)(()=>{F&&ei()},[F,ei]),(0,a.useEffect)(()=>{if(!F)return;let e=e=>{ef(e)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[ef,F]);let ey=(0,i.default)(L,u.activator,{[u.states.primary]:"primary"===b,[u.states.secondary]:"secondary"===b,[u.states.small]:"s"===_,[u.states.medium]:"m"===_,[u.states.large]:"l"===_,[u.states.error]:"error"===y,[u.states.success]:"success"===y,[u.states.opened]:F,[u.states.disabled]:I}),e_=(0,a.useMemo)(()=>ee.length>0?(0,t.jsxs)(t.Fragment,{children:["s"!==_&&(0,t.jsx)("div",{id:q,className:(0,i.default)(u.label,{[u.states.error]:"error"===y,[u.states.success]:"success"===y,[u.states.opened]:F,[u.states.disabled]:I}),children:d},"label"),(0,t.jsx)("div",{className:(0,i.default)(u.selected,{[u.states.disabled]:I}),children:(null==R?void 0:R(ee.map(e=>e.original)))||ee.map(({label:e})=>e).join(", ")})]}):(0,t.jsx)("div",{id:q,className:(0,i.default)(u.placeholder,{[u.states.error]:"error"===y,[u.states.success]:"success"===y,[u.states.opened]:F,[u.states.disabled]:I}),children:C||d},"placeholder"),[I,d,q,F,C,ee,R,_,y]);return(0,t.jsx)("div",{className:(0,i.default)($,u.select),children:(0,t.jsxs)(o.D,{opened:F,onToggle:()=>{F?ed():ec()},width:"inherit",placement:"bottom",children:[(0,t.jsx)(o.h,{asChild:!0,disabled:I,children:(0,t.jsxs)("div",{className:ey,id:H,tabIndex:I?-1:0,role:"combobox","aria-haspopup":"listbox","aria-labelledby":q,"aria-controls":Q,"aria-disabled":I,"aria-expanded":F,...!I&&{onFocus:e=>{null==O||O(e)},onBlur:e=>{null==A||A(e)},onKeyDownCapture:eb,onKeyDown:F?void 0:ef},...Y,"data-id":S,"data-qa":M,children:[(0,t.jsx)("div",{className:u.activatorWrapper,children:e_}),w&&(0,t.jsx)("div",{"aria-label":w,className:(0,i.default)(u.rightLabel,{[u.states.disabled]:I}),children:w}),x&&(0,t.jsx)("div",{"aria-hidden":"true",className:(0,i.default)(u.icon,{[u.states.disabled]:I}),children:x}),(0,t.jsx)("div",{className:(0,i.default)(u.icon,{[u.states.disabled]:I,[u.states.opened]:F}),children:(0,t.jsx)(l.P,{style:{fontSize:24},"aria-expanded":F,children:(0,t.jsx)(c,{})})})]})}),k&&(0,t.jsx)("div",{className:(0,i.default)(u.caption,{[u.states.error]:"error"===y,[u.states.success]:"success"===y,[u.states.secondary]:"secondary"===b,[u.states.disabled]:I}),children:k}),(0,t.jsx)(o.a,{contentInnerRef:G,children:(0,t.jsx)("ul",{role:"listbox",id:Q,className:u.options,onMouseOver:()=>{X&&P(!1)},children:K.map(e=>(0,t.jsx)(o.g,{as:"li",disabled:e.disabled,label:e.label,caption:e.caption,focused:e.active&&X,onClick:()=>eu(e),prepend:N?(0,t.jsx)(n.C,{type:"checkbox",checked:e.selected,disabled:e.disabled}):void 0,append:N?void 0:(0,t.jsx)(l.P,{className:(0,i.default)(u.optionIcon,{[u.states.selected]:e.selected}),style:{fontSize:24},children:(0,t.jsx)(s.S,{})}),"aria-selected":e.selected,role:"option",id:e.id},JSON.stringify(e.value)))})})]})})}m.displayName="Select",e.s(["Select",0,m])},881,43748,e=>{"use strict";var t=e.i(91390);e.s([],881),e.s(["InputBase",()=>t.I],43748)},47694,80844,e=>{"use strict";var t=e.i(43476),a=e.i(71645),i=e.i(7670);function s(e){return a.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{d:"M12.004 7.246A1.247 1.247 0 0 1 10.75 6c0-.69.558-1.253 1.25-1.253.69 0 1.25.56 1.25 1.25 0 .688-.559 1.248-1.246 1.25ZM10.75 12c0 .686.559 1.252 1.254 1.247a1.252 1.252 0 0 0 1.246-1.25c0-.69-.56-1.25-1.25-1.25-.692 0-1.25.564-1.25 1.253Zm0 6c0 .686.559 1.253 1.254 1.247a1.252 1.252 0 0 0 1.246-1.25c0-.69-.56-1.25-1.25-1.25-.692 0-1.25.564-1.25 1.253Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}e.s(["S",0,s],80844);var l=e.i(3315),r=e.i(33329),n=e.i(2404);let o=(0,e.i(54061).g)("radio"),c=Object.freeze({radio:o,input:`${o}__input`,marker:`${o}__marker`,wrapper:`${o}__wrapper`,label:`${o}__label`,caption:`${o}__caption`,icon:`${o}__icon`,iconButton:`${o}__icon-button`,states:{error:`${o}--error`,disabled:`${o}--disabled`,inverted:`${o}--inverted`},sizes:{xs:`${o}--xs`,s:`${o}--s`,m:`${o}--m`},variants:{primary:`${o}--primary`,secondary:`${o}--secondary`}}),d=(0,a.forwardRef)(({value:e,variant:o="primary",checked:d=!1,state:u="default",label:m,disabled:p=!1,caption:h,className:g,style:f,icon:v,withIcon:b=!1,size:y="m",inverted:_=!1,children:x,inputRef:w,onChange:j,onIconClick:N,dataQa:I,dataId:k,...C},$)=>{let S=(0,a.useId)(),M=x||m;return(0,t.jsxs)("label",{ref:$,htmlFor:S,"data-marker-label":"",className:(0,i.default)(g,c.radio,{[c.states.disabled]:p,[c.states.inverted]:_,[c.states.error]:"error"===u,[c.sizes[y]]:!0,[c.variants[o]]:!0}),style:f,"data-id":k,"data-qa":I,children:[(0,t.jsx)("input",{id:S,value:e,checked:d,className:c.input,type:"radio",disabled:p,onChange:e=>{null==j||j(e.target.value,e)},ref:w,...C}),(0,t.jsx)("span",{className:c.marker,children:(0,t.jsx)(r.C,{type:"radio",checked:d,inverted:_,state:u,disabled:p})}),M&&(0,t.jsxs)("span",{className:c.wrapper,children:[(0,t.jsx)("span",{className:c.label,children:M}),h&&(0,t.jsx)(l.C,{className:c.caption,withoutIcon:!0,children:h})]}),b&&(0,t.jsx)("button",{type:"button",className:(0,i.default)(c.iconButton),onClick:p?void 0:N,children:(0,t.jsx)(n.P,{className:(0,i.default)(c.icon),children:v?(0,t.jsx)(t.Fragment,{children:v}):(0,t.jsx)(s,{})})})]})});d.displayName="Radio",e.s(["Radio",0,d],47694)},8145,13757,e=>{"use strict";var t=e.i(43476),a=e.i(7670),i=e.i(12569);let s=Object.freeze({text:(0,e.i(54061).g)("text")});function l({as:e,className:r,style:n,children:o,size:c,weight:d,lineClamp:u,dataQa:m,dataId:p,...h}){return(0,t.jsx)(e||"span",{className:(0,a.default)(s.text,r),style:{...c&&{fontSize:`var(--font-size-${c})`,lineHeight:`var(--font-line-height-${c})`},...d&&{fontWeight:`var(--font-weight-${d})`},...u&&{WebkitLineClamp:u,lineClamp:u,...i.l},...n},...h,"data-id":p,"data-qa":m,children:o})}l.displayName="Text",e.s([],8145),e.s(["Text",0,l],13757)},45756,e=>{"use strict";var t=e.i(71645);let a={display:"inline-block",lineHeight:0,backfaceVisibility:"hidden"},i={width:"1em",height:"1em",overflowClipMargin:"content-box",overflow:"hidden"},s=e=>t.createElement("svg",{width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10a9.971 9.971 0 007.071-2.929A9.97 9.97 0 0022 12c0-5.523-4.477-10-10-10zM3.5 12a8.5 8.5 0 1117 0 8.5 8.5 0 01-17 0zm8.872-4.977C13.657 7.18 15 8.15 15 9.761c0 .698-.179 1.238-.504 1.665-.307.401-.704.644-.98.812-.313.191-.477.293-.595.43-.083.096-.17.246-.17.584a.75.75 0 01-1.5 0c0-.66.193-1.164.531-1.558.28-.326.64-.544.89-.695l.062-.037c.287-.175.452-.29.568-.442.096-.126.198-.335.198-.759 0-.633-.532-1.158-1.309-1.252-.716-.087-1.454.236-1.717 1.2a.75.75 0 01-1.447-.394c.486-1.78 1.998-2.454 3.345-2.292zM11.999 15a1 1 0 10.002 2 1 1 0 00-.002-2z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}));function l({className:e,style:r,boxSize:n,size:o,onClick:c}){return t.default.createElement("span",{className:e,style:{...a,...c&&{cursor:"pointer"},...o&&{fontSize:`${o}px`},...n&&{width:`${n}px`,height:`${n}px`,display:"inline-flex",alignItems:"center",justifyContent:"center"},...r},...c?{role:"button",tabIndex:"0",onClick:c}:{}},t.default.createElement(s,{viewBox:"0 0 24 24",style:i}))}l.displayName="IconFdsQuestionCircleO",e.s(["k",0,l])},8810,e=>{"use strict";let t;var a=e.i(43476),i=e.i(71645),s=e.i(60822);e.i(71666);var l=e.i(71469);e.i(8145);var r=e.i(13757),n=e.i(7670);let o=["credits","microCredits","autoCredits","cards"],c=(e,t)=>{if(typeof window>"u")return;let{pathname:a}=window.location;if("/"!==a&&"/home"!==a&&"/home/"!==a)return;let i=t=>{try{e({event:"data-event",eventCategory:t,eventAction:"click_button",eventLabel:"undefined",eventNameCard:"undefined",eventUrl:"undefined",eventValue:"undefined"})}catch{return}};"deposits"===t?i("ab_homepage_tolko_vklad"):(t&&o.includes(t)&&i("ab_homepage_tolko_kredit"),i("ab_homepage_krome_vkladov"))};var d=e.i(93562);e.i(46401);var u=e.i(34986),m=e.i(22468);let p=(0,m.g)("check-all","sc"),h=Object.freeze({wrapper:`${p}__wrapper`,link:`${p}__link`,icon:`${p}__icon`,iconGray:`${p}__icon--gray`}),g=({children:e,className:t,linkClassName:i,iconGrayBackground:s,Link:l,event:r,href:o,dataLayerPush:c,onClick:m})=>{let p=l??u.Link;return(0,a.jsx)("div",{className:(0,n.default)(h.wrapper,t),onClick:()=>{r&&c(r)},onClickCapture:e=>{let t=e.target instanceof Element?e.target.closest("a[href]"):null;t&&e.currentTarget.contains(t)&&(null==m||m())},children:(0,a.jsxs)(p,{className:(0,n.default)(h.link,i),href:o,children:[e,(0,a.jsx)("span",{className:(0,n.default)(h.icon,{[h.iconGray]:s}),children:(0,a.jsx)(d.K,{size:24})})]})})};var f=e.i(1668),v=e.i(57687);e.i(34348);var b=e.i(47611),y=e.i(56239),_=e.i(45756),x=e.i(44323);let w=(0,e.i(54061).g)("tag"),j=Object.freeze({tag:w,label:`${w}__label`,icon:`${w}__icon`,rounded:`${w}--rounded`,variant:{primary:`${w}--primary`,secondary:`${w}--secondary`,outline:`${w}--outline`,tertiary:`${w}--tertiary`,pink:`${w}--pink`,red:`${w}--red`,green:`${w}--green`,blue:`${w}--blue`,orange:`${w}--orange`,purple:`${w}--purple`,violet:`${w}--violet`,blur:`${w}--blur`},size:{s:`${w}--s`,m:`${w}--m`,l:`${w}--l`},iconMargin:{left:`${w}__icon--left`,right:`${w}__icon--right`}}),N=(0,i.forwardRef)(({label:e,size:t="m",rounded:i,variant:s="primary",iconLeft:l,iconRight:r,onIconLeftClick:o,onIconRightClick:c,className:d,style:u,dataQa:m,dataId:p,...h},g)=>(0,a.jsx)(a.Fragment,{children:e&&(0,a.jsxs)("div",{ref:g,className:(0,n.default)(j.tag,j.variant[s],j.size[t],{[j.rounded]:i},d),style:u,...h,"data-id":p,"data-qa":m,children:[l&&(0,a.jsx)("button",{type:"button",className:(0,n.default)(j.icon,j.iconMargin.left,{[j.size.l]:"l"===t}),onClick:e=>null==o?void 0:o(e),disabled:!o,children:l}),(0,a.jsx)("span",{className:(0,n.default)(j.label,j.size[t]),children:e}),r&&(0,a.jsx)("button",{type:"button",className:(0,n.default)(j.icon,j.iconMargin.right,{[j.size.l]:"l"===t}),onClick:e=>null==c?void 0:c(e),disabled:!c,children:r})]})}));N.displayName="Tag";var I=e.i(11864),k=e.i(14087),C=e.i(85900),$=((t=$||{}).light="light",t.gray="gray",t);let S=(0,m.g)("best-offers-banner","sc"),M=Object.freeze({bestOffersBaner:S,wrapper:`${S}__wrapper`,wideWrapper:`${S}__wrapper--wide`,whiteWrapper:`${S}__wrapper--white`,content:`${S}__content`,header:`${S}__header`,title:`${S}__title`,subtitle:`${S}__subtitle`,icon:`${S}__icon`,iconBlack:`${S}__icon--black`,iconWhite:`${S}__icon--white`,image:`${S}__image`}),W=({title:e,image:t,url:i,description:s,backgroundColor:l,textColor:o,wide:c,theme:u,handleBannerDataLayerPush:m,className:p})=>{let h=u===$.gray,g={"--bg-base":(null==l?void 0:l.base)??(h?"var(--color-white)":"var(--color-gray-400)"),"--bg-hover":(null==l?void 0:l.hover)??"var(--color-gray-500)"};return(0,a.jsxs)("div",{className:(0,n.default)(M.wrapper,p,{[M.wideWrapper]:c}),style:g,onClick:()=>{m(),window.open(i,"_blank")},children:[(0,a.jsxs)("div",{className:M.content,children:[(0,a.jsxs)("div",{className:M.header,children:[(0,a.jsx)(r.Text,{weight:"medium",size:"24",className:M.title,style:{color:o},children:e}),(0,a.jsx)("div",{className:(0,n.default)(M.icon,{[M.iconBlack]:h&&!(null!=o&&o.includes("color-white")),[M.iconWhite]:h&&!!(null!=o&&o.includes("color-white"))}),children:(0,a.jsx)(d.K,{size:32})})]}),s&&(0,a.jsx)(r.Text,{size:"16",style:{color:o},children:s})]}),(null==t?void 0:t.url)&&(0,a.jsx)("picture",{className:M.image,children:(0,a.jsx)("img",{src:t.url,width:t.width??150,height:t.height??"auto",alt:`Баннер ${e}`,loading:"lazy"})})]})},L=(0,m.g)("offer-card","sc"),R=Object.freeze({offerCard:L,wrapper:`${L}__wrapper`,whiteWrapper:`${L}__wrapper--white`,bankInfo:`${L}__bankInfo`,units:`${L}__units`,unitsColumn:`${L}__units--column`,unit:`${L}__unit`,unitRow:`${L}__unit--row`,unitTitleWrapper:`${L}__unitTitleWrapper`,unitTitle:`${L}__unitTitle`,tooltipIcon:`${L}__tooltipIcon`,unitValue:`${L}__unitValue`,bottomBlock:`${L}__bottomBlock`,tags:`${L}__tags`,tag:`${L}__tag`,button:`${L}__button`,buttonRounded:`${L}__button--rounded`,buttonAdditional:`${L}__button--additional`}),T={display:"inline-block",lineHeight:0,backfaceVisibility:"hidden"},E={width:"1em",height:"1em",overflowClipMargin:"content-box",overflow:"hidden"},z=e=>i.createElement("svg",{width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M13.328 2.869a1.444 1.444 0 00-2.65 0A694.174 694.174 0 008.47 7.85a648.96 648.96 0 00-5.196.656c-1.266.165-1.673 1.722-.823 2.553a641.289 641.289 0 003.856 3.748A704.06 704.06 0 005.29 20.22c-.214 1.16.995 2.24 2.15 1.572a650.04 650.04 0 004.562-2.66c1.504.887 3.346 1.956 4.564 2.66 1.154.667 2.363-.411 2.15-1.572a702.887 702.887 0 00-1.017-5.412 664.068 664.068 0 003.856-3.748c.85-.832.443-2.389-.824-2.553-1.383-.18-3.479-.45-5.195-.657a696.41 696.41 0 00-2.208-4.982z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}));function Z({className:e,style:t,boxSize:a,size:s,onClick:l}){return i.default.createElement("span",{className:e,style:{...T,...l&&{cursor:"pointer"},...s&&{fontSize:`${s}px`},...a&&{width:`${a}px`,height:`${a}px`,display:"inline-flex",alignItems:"center",justifyContent:"center"},...t},...l?{role:"button",tabIndex:"0",onClick:l}:{}},i.default.createElement(z,{viewBox:"0 0 24 24",style:E}))}Z.displayName="IconFdsStarF";let O=({title:e,value:t,tooltip:s,textColor:l,unitsAsColumn:o,isTitleUnit:c})=>{let d;return(0,a.jsxs)("div",{className:(0,n.default)(R.unit,{[R.unitRow]:o}),children:[(0,a.jsxs)("div",{className:R.unitTitleWrapper,children:[(0,a.jsx)(r.Text,{size:"14",className:R.unitTitle,children:e}),s&&(0,a.jsx)(x.Tooltip,{text:s,children:(0,a.jsx)(_.k,{className:R.tooltipIcon})})]}),(0,a.jsx)(r.Text,{weight:"medium",size:c?"18":o?"16":"24",className:R.unitValue,style:{color:l},children:e.includes("Рейтинг")?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(Z,{size:16,style:{color:"var(--color-orange-400)"}}),t]}):(d=t.split("₽")).map((e,t)=>(0,a.jsxs)(i.Fragment,{children:[e,t<d.length-1&&(0,a.jsx)(r.Text,{weight:"regular",children:"₽"})]},`${e}-${t}`))})]})},A=({tags:e,isGrayTheme:t})=>{let i=t?"secondary":"primary";return(0,a.jsx)("div",{className:R.tags,children:e.sort((e,t)=>e.order-t.order).map(e=>(0,a.jsx)(N,{className:R.tag,label:e.label,variant:e.variant?e.variant:i,rounded:!0},e.label))})},Y=({companyName:e,name:t,url:i,logo:s,units:l,tags:r,additionalButton:o,unitsAsColumn:d,dataLayerPush:u,eventCategory:m,productType:p,theme:h,buttonClassName:g,eventValueByUnitTitle:f})=>{let v=h===$.gray,_=a=>{c(u,p);let i={event:"data-event",eventCategory:m,eventAction:`click_button_${(0,y.t)(a)}_${p}`,eventLabel:(0,y.t)(`${e}_${t}`)};if(f){let e=l.find(e=>e.title.toLowerCase()===f.toLowerCase());e&&(i.eventValue=(0,y.t)(e.value))}u(i)};return(0,a.jsxs)("div",{className:(0,n.default)(R.wrapper,{[R.whiteWrapper]:v}),children:[(0,a.jsxs)("div",{className:R.bankInfo,children:[s&&(0,a.jsx)("img",{src:s,width:56,height:56,alt:`${e} logo`,loading:"lazy"}),(0,a.jsx)(O,{title:t,value:e,isTitleUnit:!0})]}),(0,a.jsx)("div",{className:(0,n.default)(R.units,{[R.unitsColumn]:d}),children:l.map(e=>(0,a.jsx)(O,{title:e.title,value:e.value,tooltip:e.tooltip,textColor:e.textColor,unitsAsColumn:d},`${e.title}-${e.value}`))}),(0,a.jsxs)("div",{className:R.bottomBlock,children:[r&&(0,a.jsx)(A,{tags:r,isGrayTheme:v}),o&&o.text.trim().length>0&&(0,a.jsx)(b.Button,{as:"a",className:(0,n.default)(R.button,R.buttonRounded,R.buttonAdditional),size:"xs",label:o.text,href:null==o?void 0:o.url,variant:v?"secondary":"white",onClick:()=>_(o.text)}),(0,a.jsx)(b.Button,{as:"a",className:(0,n.default)(R.button,g),size:"xs",label:"Подробнее",href:i,onClick:()=>_("podrobnee_o_kartochke_iz")})]})]})},F=(0,m.g)("offers-list","sc"),V=Object.freeze({offersList:F,wrapper:`${F}__wrapper`,sliderWrapper:`${F}__sliderWrapper`,offerItem:`${F}__offerItem`,compact:`${F}__offerItem--compact`,bannerItem:`${F}__bannerItem`}),J=({offers:e,banner:t,dataLayerPush:i,eventCategory:s,productType:l,theme:r,singleProduct:o})=>{let d=e.length<=2;return(0,a.jsxs)(v.Slider,{options:{slidesPerView:"auto",spaceBetween:0,autoplay:{delay:3e3,disableOnInteraction:!1}},breakpoints:{xl:{autoplay:!1}},className:V.sliderWrapper,pagination:!0,children:[e.slice(0,3).map(e=>(0,a.jsx)(v.SliderItem,{className:(0,n.default)(V.offerItem,{[V.compact]:o}),children:(0,a.jsx)(Y,{...e,dataLayerPush:i,eventCategory:s,productType:l,theme:r})},e.id)),t&&(0,a.jsx)(v.SliderItem,{className:V.bannerItem,children:(0,a.jsx)(W,{...t,handleBannerDataLayerPush:()=>{c(i,l),i({event:"data-event",eventCategory:s,eventAction:"click_bnr_banner_top_predlozheniy",eventLabel:l})},wide:d,theme:r})})]},l)},U=(0,m.g)("osago-tab","sc"),D=Object.freeze({osagoTab:U,wrapper:`${U}__wrapper`,card:`${U}__card`,whiteCard:`${U}__card--white`,image:`${U}__image`,content:`${U}__content`,inputWrapper:`${U}__inputWrapper`,select:`${U}__select`,input:`${U}__input`,buttonLinkWrapper:`${U}__buttonLinkWrapper`,button:`${U}__button`,banner:`${U}__banner`}),B={kasko:{title:"Рассчет Каско за минуту",description:"Выберите лучшие условия для оформления полиса",backgroundColor:{base:"#f1f5ff",hover:"#a3ceec"}},osago:{title:"ОСАГО с экономией до 78%",description:"Предварительная цена после ввода номера ТС",backgroundColor:{base:"#f1f5ff",hover:"#a3ceec"}}},X=[{label:"Мотоцикл",value:"moto"},{label:"Автомобиль",value:"auto"}],P=Object.fromEntries(X.map(e=>[e.value,e])),G={auto:{mask:"a 000 aa 00",placeholder:"A 000 AA 00"},moto:{mask:"0000 aa 00",placeholder:"0000 AA 00"}},H="АВЕКМНОРСТУХ",q=RegExp(`[${H}]`,"i"),Q=RegExp(`[^0-9${H}]`,"gi"),K=({type:e,baseUrl:t,s3Assets:s,banner:o,dataLayerPush:d,eventCategory:m,theme:p})=>{let h="osago"===e,g=(0,C.joinURL)(t,"osago"),f=(0,C.joinURL)(g,"step-car"),v=(0,C.joinURL)(t,"kasko"),_=(0,C.joinURL)(v,"vehicle"),x=h?f:_,[w,j]=(0,i.useState)(""),[N,S]=(0,i.useState)("auto"),{mask:M,placeholder:L}=G[N],R=p===$.gray,T=`?${new URLSearchParams({type:h?N:"auto",license:w})}`,E=(0,C.joinURL)(x,T),z=o??{...B[e],url:h?g:v,image:s?{url:(0,C.joinURL)(s,`widgets/BestOffers/${h?"icon_osago":"icons_car"}.png`),width:204,height:160}:void 0},Z=P[N].label,O=(t,a)=>{d({event:"data-event",eventCategory:m,eventAction:t,eventLabel:a??e})};return(0,a.jsxs)("div",{className:D.wrapper,children:[(0,a.jsxs)("div",{className:(0,n.default)(D.card,{[D.whiteCard]:R}),children:[s&&(0,a.jsx)("picture",{children:(0,a.jsx)("img",{src:`${s}/widgets/BestOffers/auto_bg.png`,alt:"Автомобиль",loading:"lazy",className:D.image})}),(0,a.jsxs)("div",{className:D.content,children:[(0,a.jsxs)(l.Heading,{as:"h3",type:"h3",children:["Онлайн калькулятор ",h?"ОСАГО":"Каско"]}),(0,a.jsxs)("div",{className:D.inputWrapper,children:[h&&(0,a.jsx)(k.Select,{options:X,value:P[N],label:"Тип транспорта",variant:R?"primary":"secondary",className:D.select,onChange:e=>{j(""),S(e.value),O(`selector_item_${(0,y.t)(e.label)}`)}}),(0,a.jsx)(I.InputMasked,{label:"Госномер",variant:R?"primary":"secondary",maskOpts:{mask:M,definitions:{a:q}},maskPlaceholder:L,value:w,className:D.input,onChange:(e,t)=>{j(t.replace(Q,"").toUpperCase())},onClick:()=>O(`message_field_${(0,y.t)(Z)}`),onBlur:()=>O(`on_message_field_${(0,y.t)(Z)}`)}),(0,a.jsxs)(r.Text,{children:["У меня"," ",(0,a.jsx)(u.Link,{href:x,onClick:()=>{c(d),O("click_link_net_nomera",x)},children:"нет номера"})]})]}),(0,a.jsx)(b.Button,{as:"a",href:E,size:"s",className:D.button,onClick:()=>{c(d),O(`click_button_rasschitat_${(0,y.t)(Z)}`,E)},children:"Рассчитать"})]})]}),(0,a.jsx)("div",{className:D.banner,children:(0,a.jsx)(W,{...z,theme:p,handleBannerDataLayerPush:()=>{c(d),O("click_bnr_banner_top_predlozheniy")}})})]})},ee=(0,m.g)("best-offers","sc"),et=Object.freeze({bestOffers:ee,graySection:`${ee}--gray`,singleProduct:`${ee}--singleProduct`,titleWrapper:`${ee}__title-wrapper`,singleProductTitleWrapper:`${ee}__title-wrapper--singleProduct`,title:`${ee}__title`,singleProductTitle:`${ee}__title--singleProduct`,chips:`${ee}__chips`,warning:`${ee}__warning`,allOffersLink:`${ee}__allOffersLink`}),ea={вклады:"вкладам",облигации:"облигациям",кредиты:"кредитам",займы:"займам","кредитные карты":"кредитным картам",каско:"каско",осаго:"ОСАГО","дебетовые карты":"дебетовым картам",ипотека:"ипотеке",автокредиты:"автокредитам",фонды:"фондам"};e.s(["BestOffers",0,({tabs:e,baseUrl:t,s3Assets:o,eventCategory:d="best-offers",dataLayerPush:u,singleProduct:m=!1,theme:p=$.light,className:h,tagTitle:v="h2",initialActiveChipId:b})=>{var y;let _,x=p===$.gray,w=Array.isArray(e)?e.filter(({banner:e,offers:t,productType:a})=>!!e||!!(null!=t&&t.length)||"osago"===a||"kasko"===a).map(e=>({...e,offers:Array.isArray(e.offers)?e.offers:[]})):[],j=w.map(e=>({url:e.productType,title:e.name})),N=(null==(y=j[0])?void 0:y.url)??"",[I,k]=(0,i.useState)(b??N),C=I&&w.some(e=>e.productType===I)?I:N,S=w.find(e=>e.productType===C)??w[0];if(!S)return null;let M=ea[S.name.toLowerCase()],W=M?`по ${M}`:S.name,L=("kasko"===(_=null==S?void 0:S.productType)||"osago"===_)&&t?(0,a.jsx)(K,{type:S.productType,banner:S.banner,baseUrl:t,s3Assets:o,dataLayerPush:u,eventCategory:d,theme:p}):null;return(0,a.jsx)("section",{className:(0,n.default)(et.bestOffers,h,{[et.singleProduct]:m,[et.graySection]:x}),children:(0,a.jsxs)(s.Container,{children:[(0,a.jsx)("div",{className:(0,n.default)(et.titleWrapper,m&&et.singleProductTitleWrapper),children:(0,a.jsxs)(l.Heading,{as:v,role:void 0,"aria-level":void 0,type:m?"h2":"display",className:(0,n.default)(et.title,m&&et.singleProductTitle),children:["Лучшие предложения ",m?W:"сегодня"]})}),!m&&(0,a.jsx)(f.N,{items:j,maxNumberOfLines:2,activeChipId:C,variant:x?"white":"gray",className:et.chips,onClick:e=>{c(u,e),k(e);let t=w.find(t=>t.productType===e);u({event:"data-event",eventCategory:d,eventAction:"click_chip_top_predlozheniy_vybor",eventLabel:null==t?void 0:t.productType})}}),(0,a.jsxs)("div",{children:[L??(0,a.jsx)(J,{offers:S.offers,banner:S.banner,dataLayerPush:u,eventCategory:d,productType:S.productType,theme:p,singleProduct:m}),S.hasWarning&&(0,a.jsx)(r.Text,{as:"p",size:"16",className:et.warning,children:S.warningCustomText??"Оценивайте свои финансовые возможности и риски. Изучите все условия кредита (займа)"})]}),S.checkAllUrl&&(0,a.jsx)(g,{href:S.checkAllUrl,onClick:()=>c(u,S.productType),event:{event:"data-event",eventCategory:d,eventAction:"link",eventLabel:`Показать все предложения ${S.productType}`},dataLayerPush:u,iconGrayBackground:!x,className:et.allOffersLink,linkClassName:S.checkAllLinkClassName,children:"Показать все предложения"})]})})}],8810)},6184,e=>{e.v({caption:"ResponsiveImage-module-scss-module__KcTWLa__caption",figureWrapper:"ResponsiveImage-module-scss-module__KcTWLa__figureWrapper",image:"ResponsiveImage-module-scss-module__KcTWLa__image",pictureWrapper:"ResponsiveImage-module-scss-module__KcTWLa__pictureWrapper",shine:"ResponsiveImage-module-scss-module__KcTWLa__shine"})},5580,e=>{e.v({caption:"ContentImage-module-scss-module__F2hwnW__caption",close:"ContentImage-module-scss-module__F2hwnW__close",debug:"ContentImage-module-scss-module__F2hwnW__debug",detailImage:"ContentImage-module-scss-module__F2hwnW__detailImage",detailImageWrapper:"ContentImage-module-scss-module__F2hwnW__detailImageWrapper",imageModal:"ContentImage-module-scss-module__F2hwnW__imageModal",imgContainer:"ContentImage-module-scss-module__F2hwnW__imgContainer",shine:"ContentImage-module-scss-module__F2hwnW__shine"})},52919,33209,72934,65854,e=>{"use strict";var t=e.i(43476),a=e.i(71645),i=e.i(57688),s=e.i(62965),l=e.i(7670);e.i(38886);var r=e.i(86969),n=e.i(65018);e.i(28266);var o=e.i(24956),c=e.i(85239),d=e.i(12660),u=e.i(6184);let m=/%25([0-9A-Fa-f]{2})/g,p=({srcDesktop:e,srcMobile:a,variants:i,width:s,height:r,alt:n,caption:p,className:h,pictureClassName:g,captionClassName:f,imageClassName:v,isLazy:b=!0})=>{let y=e.replace(m,"%$1"),_=a.replace(m,"%$1"),x=!!(0,d.getVariantSrcSet)(i);return(0,t.jsxs)("figure",{className:(0,l.default)(u.default.figureWrapper,h),children:[x?(0,t.jsx)(o.VariantImage,{variants:i,fallbackSrc:y,alt:n??"detail image",sizes:c.ARTICLE_IMAGE_SIZES,width:s,height:r,priority:!b,className:(0,l.default)(u.default.image,v),pictureClassName:(0,l.default)(u.default.pictureWrapper,g)}):(0,t.jsxs)("picture",{className:(0,l.default)(u.default.pictureWrapper,g),children:[(0,t.jsx)("source",{media:c.MEDIA_XS_DOWN,srcSet:_}),(0,t.jsx)("img",{loading:b?"lazy":void 0,className:(0,l.default)(u.default.image,v),src:y,fetchPriority:b?void 0:"high",decoding:b?void 0:"async",alt:n??"detail image"})]}),!!p&&(0,t.jsx)("figcaption",{className:(0,l.default)(u.default.caption,f),dangerouslySetInnerHTML:{__html:p}})]})};e.s(["ResponsiveImage",0,p],33209),e.s([],72934);var h=e.i(80453),g=e.i(5580);let f=({src:e,onClose:l})=>{let[r,n]=(0,a.useState)(1),[o,c]=(0,a.useState)(1),[d,u]=(0,a.useState)({x:0,y:0}),[m,p]=(0,a.useState)({x:0,y:0}),h=(0,a.useRef)(null),f=(0,a.useRef)(null),v=(0,a.useRef)(1),b=(0,a.useRef)(!1);(0,a.useEffect)(()=>{let e=e=>{e.preventDefault()};return document.addEventListener("touchmove",e,{passive:!1}),()=>{document.body.style.overflow="",document.body.style.height="",document.removeEventListener("touchmove",e)}},[]),(0,a.useEffect)(()=>{if(b.current){b.current=!1;let e=document.getElementById("imageModalContainerId");if(!e)return;let t=e.getBoundingClientRect(),a=t.x||0,i=t.height||0;u({x:-(a/r*1),y:-((t.y||0)/r*1)+window.innerHeight/r/2-i/r/2});let s=document.getElementById("imageModalCloseId");if(!s)return;let l=window.innerWidth/document.documentElement.getBoundingClientRect()?.width,n=s.getBoundingClientRect(),o=n.width*l||0,d=n.x||0,m=n.y||0,h=-(d/l*1)+window.innerWidth/l-o/l-16/l;c(l),p({x:h,y:-(m/l*1)+58})}},[r]);let y=e=>{let[t,a]=[e[0],e[1]],i=t.clientX-a.clientX,s=t.clientY-a.clientY;return Math.sqrt(i*i+s*s)};return(0,t.jsxs)("div",{className:g.default.imageModal,onTouchStart:e=>{e.preventDefault(),2===e.touches.length&&(h.current=y(e.touches)),1===e.touches.length&&(f.current={x:e.touches[0].clientX/r-d.x,y:e.touches[0].clientY/r-d.y})},onTouchMove:e=>{if(e.preventDefault(),2===e.touches.length&&null!==h.current){let t=r+(y(e.touches)-h.current)*5e-5;t<v.current?t=v.current:t>3&&(t=3),n(t)}1===e.touches.length&&null!==f.current&&u({x:e.touches[0].clientX/r-f.current.x,y:e.touches[0].clientY/r-f.current.y})},onTouchEnd:()=>{h.current=null,f.current=null},children:[(0,t.jsx)("div",{id:"imageModalCloseId",className:g.default.close,onClick:l,style:{transform:`scale(${o}) translate(${m.x}px, ${m.y}px)`},children:(0,t.jsx)(s.IconFdsCloseO,{size:22})}),(0,t.jsx)("div",{id:"imageModalContainerId",className:g.default.imgContainer,style:{transform:`scale(${r}) translate(${d.x}px, ${d.y}px)`},children:(0,t.jsx)(i.default,{src:e,width:0,height:0,alt:"detail image",unoptimized:!0,onLoadingComplete:()=>{let e=window.innerWidth,t=document.getElementById("imageModalContainerId");if(!t)return;let a=t.getBoundingClientRect().width||0,i=a>0?e/a:1;v.current=i,n(i),b.current=!0,document.body.style.overflow="hidden",document.body.style.height="100vh"}})})]})};e.s(["ContentImage",0,({env:e,imageFile:i,imageData:s,imageVariants:o,imageCaption:c,className:d,disableZoom:u,imageClassName:m})=>{let v=(0,n.useMedia)("lg"),[b,y]=(0,a.useState)(!1),_=e.NEXT_PUBLIC_BASE_URL,x=s||`${_}/img/posts_content/large/${i}`,w=()=>s?{mobile:(0,h.getImageVariantUrl)(o,"mobileDetail",s),desktop:(0,h.getImageVariantUrl)(o,"detail",s)}:{mobile:`${_}/img/posts_content/small/${i}`,desktop:`${_}/img/posts_content/large/${i}`};return i||s?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:(0,l.default)(g.default["content-image"],d),onClick:()=>{!u&&v&&y(!0)},children:(0,t.jsx)(p,{captionClassName:g.default.caption,srcDesktop:w().desktop,srcMobile:w().mobile,variants:s?o:null,caption:c,imageClassName:(0,l.default)(g.default.detailImage,m),className:g.default.detailImageWrapper})}),(0,t.jsx)(r.Portal,{children:b&&v&&(0,t.jsx)(f,{src:x,onClose:()=>y(!1)})})]}):null}],65854),e.s([],52919)},97209,52918,e=>{"use strict";let t={getItem:e=>{let t=document.cookie.split(";").find(t=>t.split("=")[0].trim()===e);return t?t.split("=")[1]??null:null},setItem:(e,t,a={})=>{(a={path:"/",...a}).expires instanceof Date&&(a.expires=a.expires.toUTCString());let i=encodeURIComponent(e)+"="+encodeURIComponent(t);for(let e in a){if(!a.hasOwnProperty(e))continue;i+="; "+e;let t=a[e];!0!==t&&(i+="="+t)}document.cookie=i},removeItem:e=>{t.setItem(e,"",{"max-age":-1})}};e.s(["appCookie",0,t],52918);var a=e.i(231);let i="comments_auth_access_token",s=e=>{let t={expires:new Date(Date.now()+1e3*e),sameSite:"Strict"};return"https:"!==window.location.protocol?t:{...t,secure:!0}};e.s(["getSavedAccessToken",0,()=>{let e;return t.getItem("access_token")||("object"!=typeof(e=a.appLocalStorage.getItem(i))||null===e||"string"!=typeof e.value||"number"!=typeof e.expiresAt?null:e.expiresAt>Date.now()?e.value:(a.appLocalStorage.removeItem(i),null))},"saveCallbackTokens",0,({access_token:e,expires_in:l,refresh_expires_in:r,refresh_token:n})=>{let o=s(l),c=s(r);if(t.removeItem("access_token"),t.setItem("access_token",e,o),t.setItem("refresh_token",n,c),t.getItem("access_token")!==e){let t;return void(t={value:e,expiresAt:Date.now()+1e3*l},a.appLocalStorage.setItem(i,JSON.stringify(t)))}a.appLocalStorage.removeItem(i)}],97209)},11615,e=>{"use strict";let t="authorization_code",a={access_token:"eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJxbDFyMEhYU0U4VFo1VkRsZFhKZ1JfdHBiaEtJclJWTTdtSnJVQnVCWm5rIn0.eyJleHAiOjE3NjQ3NTg0MzksImlhdCI6MTc2NDc1ODEzOSwiYXV0aF90aW1lIjoxNzY0NzU4MTM3LCJqdGkiOiJiMDdkNWVmZS03Y2U3LTQyZGItODlmYy04MjcxNTJiZDBkM2QiLCJpc3MiOiJodHRwczovL3Nzby1zdGFibGUuYmV0YS5tb2V4LmNvbS9hdXRoL3JlYWxtcy9jcmFtbC11bml2ZXJzYWwiLCJhdWQiOlsiZGZhX29pcyIsInRvdWNoY3JhbWxfcHVibGljIiwiYWNjb3VudCJdLCJzdWIiOiIzNjU1Nzg4Zi1hMjExLTQyNjYtODIxZS00M2FmZDE4N2JlZjciLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJ0b3VjaGNyYW1sX3B1YmxpYyIsIm5vbmNlIjoiVUFiakhyUXZiMnNsOHpQUHFLdnVXIiwic2lkIjoiMTNjNWY5ZGMtZjAzOC00NGM5LWI1ZmUtZDk0ZWZmNzYzOGMwIiwiYWxsb3dlZC1vcmlnaW5zIjpbIiIsImh0dHBzOi8vZGV2LXJjLWxrLmJldGEubW9leC5jb20vKiIsIioiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRlZmF1bHQtcm9sZXMtY3JhbWwtdW5pdmVyc2FsIiwib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoib3BlbmlkIGJhY2t3YXJkc19jb21wYXRpYmxlIGVtYWlsIHVuaXZlcnNhbF9jcmFtbF9wcmVmZXJyZWQgYXV0aHpfYXR0cnMgc3ViX2NyYW1sX2lkIHByb2ZpbGUgYXV0aF9wcm92aWRlciBhdXRoX2Zsb3ciLCJhdXRoel9hdHRycyI6eyJzdGF0dXMiOiJBQ1RJVkUiLCJpZGVudF9sdmwiOiJOT1RfSURFTlRJRklFRCIsImF1dGhfcHJvdmlkZXIiOiJwaG9uZSIsImF1dGhfZmxvdyI6InNpbXBsZSJ9LCJlbWFpbF92ZXJpZmllZCI6ZmFsc2UsImF1dGhfZmxvdyI6InNpbXBsZSIsInByZWZlcnJlZF91c2VybmFtZSI6Ijc0ODliNzQwLTViYTAtNGMzMS1hYWVmLTIxMDIyZDQxMWVhZSIsInNlc3Npb25fc3RhdGUiOiIxM2M1ZjlkYy1mMDM4LTQ0YzktYjVmZS1kOTRlZmY3NjM4YzAiLCJjdXN0b21lcl9pZCI6Ijc0ODliNzQwLTViYTAtNGMzMS1hYWVmLTIxMDIyZDQxMWVhZSIsImF1dGhfcHJvdmlkZXIiOiJwaG9uZSJ9.R3s8pdLr1eam9SuZAQ_kAMGZh7J8I1-WApZ287zip3Rxd1VFDhY3IblH-itDvBxS0cyTuSVi5f_B-YJztv05bDlRvRAYJ3bEKwdSQjk_8izolOZLvEWkQqohRHPXKfYg8vHmQ27BZcFe9CikANAH9w_tTkbBdOMEbiI4dznXvL92YGlzlyxsdMUvpeSYibjWA5dlIeWx4lj8FdEDBUSqBf6JdoOi9iclWb9qw9DCwlXlMAIy_Lbfdb2yMy9ZXybNL5uHN-32r3_klwyYRsy2LhXKebKyJIJaIgvdcrHMn9A_BeyEYfdPWsF_uKFoADi2Hcx2f7Bo_6mnJXXZ3Eld-A",expires_in:300,refresh_expires_in:1800,refresh_token:"eyJhbGciOiJIUzUxMiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJiODA5MTdmZi00OGIzLTRjMmMtYTc5YS1lOTkzODE4ZDZkNjYifQ.eyJleHAiOjE3NjQ3NTk5MzksImlhdCI6MTc2NDc1ODEzOSwianRpIjoiMmVhNTk2ZjgtNmJiMi00YWE4LTgwNWYtNzUwZDUwMjI3ZGExIiwiaXNzIjoiaHR0cHM6Ly9zc28tc3RhYmxlLmJldGEubW9leC5jb20vYXV0aC9yZWFsbXMvY3JhbWwtdW5pdmVyc2FsIiwiYXVkIjoiaHR0cHM6Ly9zc28tc3RhYmxlLmJldGEubW9leC5jb20vYXV0aC9yZWFsbXMvY3JhbWwtdW5pdmVyc2FsIiwic3ViIjoiMzY1NTc4OGYtYTIxMS00MjY2LTgyMWUtNDNhZmQxODdiZWY3IiwidHlwIjoiUmVmcmVzaCIsImF6cCI6InRvdWNoY3JhbWxfcHVibGljIiwibm9uY2UiOiJVQWJqSHJRdmIyc2w4elBQcUt2dVciLCJzaWQiOiIxM2M1ZjlkYy1mMDM4LTQ0YzktYjVmZS1kOTRlZmY3NjM4YzAiLCJzY29wZSI6Im9wZW5pZCBiYXNpYyBiYWNrd2FyZHNfY29tcGF0aWJsZSBlbWFpbCBjb25maWdfcmVxdWlyZV9ydW5fY3VzdG9tZXJfdmVyaWZpY2F0aW9ucyBjdXN0b21lcl9yZWNvcmRfc3RhdGUgYnJva2VyYWdlX2tleXNfd2ViIGVzaWFfb2lkIHVuaXZlcnNhbF9jcmFtbF9wcmVmZXJyZWQgYXV0aHpfYXR0cnMgcm9sZXMgc3ViX2NyYW1sX2lkIHByb2ZpbGUgd2ViLW9yaWdpbnMgYXV0aF9wcm92aWRlciBhdXRoX2Zsb3cifQ.mtkm-1NMff6Mzp5GHoSOXv2muBgTrl20f6vCPoa9PZLN2i35DEB4QrAG5SRR_qD3KCe6Df1yUOnGwoygG0vcZA",token_type:"Bearer",id_token:"eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJxbDFyMEhYU0U4VFo1VkRsZFhKZ1JfdHBiaEtJclJWTTdtSnJVQnVCWm5rIn0.eyJleHAiOjE3NjQ3NTg0MzksImlhdCI6MTc2NDc1ODEzOSwiYXV0aF90aW1lIjoxNzY0NzU4MTM3LCJqdGkiOiJiNzZiNDU0Yy0yNDdmLTRmNWEtYjMyOC1lZGExNDQwN2Y5YjMiLCJpc3MiOiJodHRwczovL3Nzby1zdGFibGUuYmV0YS5tb2V4LmNvbS9hdXRoL3JlYWxtcy9jcmFtbC11bml2ZXJzYWwiLCJhdWQiOiJ0b3VjaGNyYW1sX3B1YmxpYyIsInN1YiI6IjM2NTU3ODhmLWEyMTEtNDI2Ni04MjFlLTQzYWZkMTg3YmVmNyIsInR5cCI6IklEIiwiYXpwIjoidG91Y2hjcmFtbF9wdWJsaWMiLCJub25jZSI6IlVBYmpIclF2YjJzbDh6UFBxS3Z1VyIsInNpZCI6IjEzYzVmOWRjLWYwMzgtNDRjOS1iNWZlLWQ5NGVmZjc2MzhjMCIsImF0X2hhc2giOiJxOWdHVEc1UUNFakRRM2d6UWpCX1hRIiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiI3NDg5Yjc0MC01YmEwLTRjMzEtYWFlZi0yMTAyMmQ0MTFlYWUiLCJzZXNzaW9uX3N0YXRlIjoiMTNjNWY5ZGMtZjAzOC00NGM5LWI1ZmUtZDk0ZWZmNzYzOGMwIn0.UQBUtA7F3MBo1ax2IMZ2ok5ZjGo_Yp7F20vucJOhEldK7WCHfauHv96eYD7eKU6L0lmhbmFqF92MLIwN58b2ksd6Xy08RN3PmiMasIhblDiOx8Cd6W9VrbdnR5Uuf2Ff01m3zRhLK11K1rfM16nbW2mltnsCCacUBBpRKUONjUEw7NLWXzyxtcTHs6ZSPkgVFb8qLiaN2l3yCmkq-tDeRQt9N74SBIgGFeU91gK6Y9JKS2nV4QZ0AbISeR_PUoH96JH0_teCQnSRR704-ca9MdycWpNB5Yt6eo9IMKCpdXl6aBPLtlNlOXloAeqf3nrMsOXWxL5DjH8ySgHQ5S-xxg","not-before-policy":0,session_state:"13c5f9dc-f038-44c9-b5fe-d94eff7638c0",scope:"openid auth_provider auth_flow",customer_record_state:"created"},i=async e=>{let t=await e.text();if(!t)return null;try{return JSON.parse(t)}catch{return t}},s=async e=>{let{tokenUrl:s}=e;if("authDebug"===new URLSearchParams(window.location.search).get("mode"))return{ok:!0,status:200,data:a};let l=await fetch(s,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:(({code:e,refreshToken:a,codeVerifier:i,grantType:s=t,redirectUri:l})=>{let r=new URLSearchParams;return e&&r.set("code",e),a&&r.set("refresh_token",a),s===t&&i&&r.set("code_verifier",i),r.set("response_type","code"),r.set("grant_type",s),r.set("client_id","journal"),r.set("redirect_uri",l),r})(e)}),r=await i(l);return l.ok&&"object"==typeof r&&null!==r&&"string"==typeof r.access_token&&"number"==typeof r.expires_in&&"number"==typeof r.refresh_expires_in&&"string"==typeof r.refresh_token&&"string"==typeof r.token_type?{ok:!0,status:l.status,data:r}:{ok:!1,status:l.status,data:r}};e.s(["exchangeCallbackToken",0,s])},18524,e=>{"use strict";var t=e.i(82372);e.s(["CmsService",0,{getLayoutData:async e=>(await (0,t.callApi)({url:`/api/v1/layout/${e}`,options:{isMpScApi:!0}})).data||null,async getPageData(e,a){let i=new URLSearchParams({scLayoutName:e,scPageUrl:a}).toString();return(await (0,t.callApi)({url:`/api/v1/data/page-data?${i}`,options:{isMpScApi:!0}})).data||null},getPage:async e=>(await (0,t.callApi)({url:`/api/v1/sc-page/${e}`,options:{isMpScApi:!0}})).data||null}])},15612,e=>{"use strict";var t=e.i(231);let a="code_verifier",i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~",s=()=>{if(!globalThis.crypto?.subtle)throw Error("PKCE is not supported in this browser");return globalThis.crypto},l=async e=>{var t;let a;return t=new Uint8Array(await s().subtle.digest("SHA-256",new TextEncoder().encode(e))),a="",t.forEach(e=>{a+=String.fromCharCode(e)}),btoa(a).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/g,"")},r=async()=>{let e,t,a=(e=new Uint8Array(96),s().getRandomValues(e),t="",e.forEach(e=>{t+=i.charAt(e%i.length)}),t);return{codeChallenge:await l(a),codeVerifier:a}};e.s(["createPkceKeys",0,r,"getCodeVerifier",0,()=>t.appSessionStorage.getItemRaw(a),"removeCodeVerifier",0,()=>{t.appSessionStorage.removeItem(a)},"saveCodeVerifier",0,e=>{t.appSessionStorage.setItem(a,e)}])},24734,44770,e=>{"use strict";var t=e.i(85900),a=e.i(15612),i=e.i(231);let s={endpoint:"https://sso-stable.beta.moex.com/auth/realms/craml-universal/protocol/openid-connect/auth",protocol:"oauth2",response_type:"code",response_mode:"query",client_id:"journal",scope:"openid+email+profile",code_challenge:"nsFRX3OPOyJ-YwsNJll07k1_xbGD5ByKGJA-Sl3ju1Q",code_challenge_method:"S256",nonce:"VXOi0Dxv.up2.uSbL9PCjeVtv9dYJhCg",state:{simple:!0,stateId:"Q_SOFRRbmY6qAhvO87JJa",fingerprintHash:"b7080a7c721d8d76781d64ba309e6521",phoneVerify:"true",cramlURL:"http://craml-sys-customer-data.craml-rc.mpddev.moex.com/api/v5/customers",cramlProvidersURL:"http://craml-sys-customer-data.craml-rc.mpddev.moex.com/api/v6/providers",cramlCustomersURL:"http://craml-sys-customer-data.craml-rc.mpddev.moex.com/api/v5/customers",cramlPhoneVerificationUrl:"http://craml-sys-customer-data.craml-rc.mpddev.moex.com/api/v6/phone-verifications/run",cramlConfirmOtpUrl:"http://craml-sys-customer-data.craml-rc.mpddev.moex.com/api/v6/customers/create-or-find-provider-customer-by-otp",otpURL:"http://mp-sys-notifier.mp-rc.mpddev.moex.com/api/v0/notifications"}};e.s(["COMMENTS_AUTH_WIDGET_CONFIG",0,{theme:"light",view:"phone",linkTarget:"_self",primaryAuthProviders:["PHONE"],additionalAuthProviders:["TINKOFF","ALFA","SBER","MTS","SOVCOM","VTB"],primaryTextOverride:"Войти"},"DEFAULT_SERVER_CONFIG",0,{title:"Войдите по номеру телефона",description:"Чтобы оставить комментарий",availableAuthProviders:["PHONE","TINKOFF","ALFA","SBER","MTS","SOVCOM","VTB"],consents:[{key:"isPlatformRulesAccepted",title:{text:"Принимаете правила платформы",links:[]},value:!0,required:!0,hidden:!1},{key:"isProcessingPersonalDataAllowed",title:{text:"Подтверждаете актуальность персональных данных и соглашаетесь на их обработку в соответствии с политикой конфиденциальности",links:[]},value:!0,required:!0,hidden:!1},{key:"isPromotionSendAllowed",title:{text:"Соглашаетесь получать маркетинговую рассылку",links:[]},value:!0,required:!1,hidden:!1}]},"DEFAULT_SSO_PARAMS",0,s],44770);let l=e=>{let t=new TextEncoder().encode(e),a="";return t.forEach(e=>{a+=String.fromCharCode(e)}),btoa(a)},r=(e,a,i)=>{let s=(0,t.stringifyQuery)(i),l=e.includes("?")?"&":"?";return`${e}${l}scope=${a}&${s}`},n=async({data:e={},endpoint:t,redirect_uri:n,phone:o="",scope:c,includePhoneInState:d,includeResponseMode:u=!0})=>{let{codeChallenge:m,codeVerifier:p}=await (0,a.createPkceKeys)(),h=e||{},g=((e={},t,a="")=>{let r=i.appLocalStorage.getItemRaw("browserId"),n=i.appSessionStorage.getItemRaw("browserSessionId"),o={...s.state,...e,browserId:r,browserSessionId:n};return t?o.phone=a:(delete o.phone,delete o.phoneVerify),l(JSON.stringify(o))})(h.state||{},d,o);(0,a.saveCodeVerifier)(p);let{endpoint:f,scope:v,...b}={...s,...h,endpoint:t||h.endpoint||s.endpoint,redirect_uri:n,state:g,code_challenge:m,scope:c||h.scope||s.scope};return u?r(f,v,b):r(f,v,{client_id:b.client_id,redirect_uri:b.redirect_uri,response_mode:"fragment",response_type:b.response_type,prompt:"none",code_challenge:b.code_challenge,code_challenge_method:b.code_challenge_method})},o=async(e={},t,a)=>n({data:e,redirect_uri:t,phone:a,includePhoneInState:!0}),c=async(e={},t,a)=>n({data:e,endpoint:t,redirect_uri:a,scope:"openid",includePhoneInState:!1,includeResponseMode:!1});e.s(["getHiddenSsoIframeUrl",0,c,"getSsoUrl",0,o],24734)},44323,e=>{"use strict";var t=e.i(43476),a=e.i(71645),i=e.i(43489),s=e.i(53760),l=e.i(58950),r=e.i(7670),n=e.i(2753),o=e.i(14044);let c=(0,e.i(54061).g)("tooltip"),d=Object.freeze({tooltip:c,text:`${c}__text`,wrapper:`${c}__wrapper`,inverted:`${c}--inverted`}),u=({children:e,moveToBody:a})=>a?(0,t.jsx)(i.FloatingPortal,{id:n.T,children:e}):(0,t.jsx)(t.Fragment,{children:e}),m=(0,a.forwardRef)(({position:e="top",text:n,zIndex:c=1,inverted:m,withoutTail:p,children:h,boundingOffset:g=12,boundaryPadding:f,moveToBody:v=!1,hideWhenOutOfBounds:b=!1,style:y,className:_,dataQa:x,dataId:w,...j},N)=>{let[I,k]=(0,a.useState)(!1),C=(0,a.useRef)(null),{refs:$,floatingStyles:S,context:M,middlewareData:W}=(0,i.useFloating)({open:I,onOpenChange:k,placement:e,whileElementsMounted:s.autoUpdate,middleware:[(0,l.offset)({mainAxis:g}),(0,l.flip)({fallbackAxisSideDirection:"start",crossAxis:!1,...void 0!==f&&{padding:f}}),(0,l.shift)({...void 0!==f&&{padding:f}}),(0,l.arrow)({element:C,padding:8}),...b?[(0,l.hide)({strategy:"escaped",padding:-24})]:[]]}),L=(0,i.useHover)(M,{delay:300}),{getReferenceProps:R,getFloatingProps:T}=(0,i.useInteractions)([L]),E=(0,i.useTransitionStyles)(M,{duration:300});return(0,a.useImperativeHandle)(N,()=>({getActivatorElement:$.reference,getTooltipElement:$.floating})),(0,a.useEffect)(()=>{var e;(null==(e=W.hide)?void 0:e.escaped)&&k(!1)},[W.hide]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{"data-qa":(0,o.g)(`${x}-activator`,!!x),ref:$.setReference,...R,className:d.wrapper,children:h}),E.isMounted&&(0,t.jsx)(u,{moveToBody:v,children:(0,t.jsxs)("div",{role:"tooltip",ref:$.setFloating,style:{...S,...E.styles,...y,zIndex:c},className:(0,r.default)(d.tooltip,_,{[d.inverted]:m}),...T,...j,"data-qa":x,"data-id":w,children:[(0,t.jsx)("span",{className:(0,r.default)(d.text,{[d.inverted]:m}),children:n}),!p&&(0,t.jsx)(i.FloatingArrow,{ref:C,context:M,width:16,d:"M8 10C6 12.58 3.43 16 0 16L16 16C12.58 16 10 12.58 8 10Z",fill:m?"var(--color-white)":"var(--color-black-500)"})]})})]})});m.displayName="Tooltip",e.s(["Tooltip",0,m],44323)},22668,e=>{"use strict";var t=e.i(71645),a=e.i(10653);e.s(["u",0,function(e,i){let[s,l]=(0,t.useState)(e);return(0,t.useEffect)(()=>{(0,a.i)(i)&&l(i)},[JSON.stringify(i)]),[s,l]}])},11864,e=>{"use strict";var t=e.i(43476),a=e.i(71645);e.i(21496);var i=e.i(62383),s=e.i(91390);let l=(0,a.forwardRef)(({maskOpts:e,value:l="",autoFocus:r=!1,onChange:n,onKeyDown:o,...c},d)=>{let[u,m]=(0,a.useState)(""),{ref:p,setValue:h,unmaskedValue:g}=(0,i.useIMask)(e,{onAccept:(e,t)=>{m(e),null==n||n(t.unmaskedValue,e)}});return(0,a.useEffect)(()=>{l!==g&&(h(l),m(l))},[l,h,g]),(0,a.useImperativeHandle)(d,()=>p.current),(0,t.jsx)(s.I,{...c,autoFocus:r,inputRef:p,value:u,onKeyDown:e=>{("Escape"===e.key||"Esc"===e.key)&&(e.preventDefault(),h(""),m(""),null==n||n("","")),null==o||o(e)}})});l.displayName="InputMasked",e.s(["InputMasked",0,l])},5081,e=>{"use strict";e.s(["generateUuid",0,()=>{let e="";for(let t=0;t<36;t++)(8===t||13===t||18===t||23===t)&&(e+="-"),e+="0123456789abcdef"[Math.floor(16*Math.random())];return e}])},43487,37993,e=>{"use strict";var t=e.i(82372),a=e.i(17212);let i=e=>{if("string"!=typeof e)return"";let t=e?.split("/")?.pop()||"";return t?.startsWith("stat_")?t?.replace("stat_",""):t};e.s(["getShortUrl",0,i],37993);var s=e.i(88195);let l=e=>e?.[0]!=="/"?`/${e}`:e,r=async e=>{let{data:a,error:i}=await (0,t.callApi)({url:`/api/v2/comments?published=true&page=0&size=1000&sort=DESC&sortBy=dt&contentUrl=${l(e)}`,options:{isMpScApi:!0}});return i?{data:{comments:[]}}:{data:{comments:(a?.content||[]).map(e=>({id:e.id,post_id:e.contentUrl,comment:e.text,user_id:e.name,date_created:e.dt,user_name:e.name}))}}},n=async(e,i)=>{let l=i?.includeComments??!0,[n,o]=await Promise.allSettled([(0,t.callApi)({url:`/api/v2/posts/by-full-url?fullUrl=${e}&draft=false&showPlanned=false`,options:{isMpScNavigator:!0}}),l?r(e):Promise.resolve(null)]),c=(0,a.convertSettledData)(n,null),d=l&&(0,a.convertSettledData)(o,null)?.data?.comments||null;return{data:{article:{...(0,s.parsePost)(c?.data)||{},comments:d},tags:[],ctgs:[],actual_news:[],news_tags:[],towns_info:[],others:[]}}},o=async(e,a)=>{let s=null,l=(0,t.getApiEndpoint)(e,{isMpScNavigator:!0}),r=i(a);try{let e=await fetch(`${l}/api/v1/counter/view/${r}`,{method:"PUT"});if(!e.ok)throw Error(`Error: ${e.statusText}`);s=await e.json()}catch(e){console.error("Error:",e)}return s?.views},c=async(e,a,i)=>{let{data:l}=await (0,t.callApi)({url:"/api/v1/polls/votes",options:{isMpScNavigator:!0},config:{method:"POST",body:JSON.stringify({contentUrl:e,pollKey:a,variantKey:i}),headers:{"Content-Type":"application/json"}}});return(0,s.getSurveyStats)(l?.result?.answers)},d=async(e,a)=>{let{data:i}=await (0,t.callApi)({url:`/api/v1/polls/results?contentUrl=${e}&pollKey=${a}`,options:{isMpScNavigator:!0}});return(0,s.getSurveyStats)(i?.answers)},u=async(e,a,i,s)=>{if("validate"===s)return!0;let{error:r}=await (0,t.callApi)({url:"/api/v2/comments",options:{isMpScApi:!0},config:{method:"POST",body:JSON.stringify((({post_id:e,user_name:t,comment:a})=>({contentUrl:e,name:t,text:a}))({post_id:l(String(e)),user_name:a,comment:i}))}});return!r},m=async(e,a)=>{let s=null,l=(0,t.getApiEndpoint)(e,{isMpScNavigator:!0}),r=i(a);try{let e=await fetch(`${l}/api/v1/counter/like/INCREMENT/${r}`,{method:"POST"});if(s=await e.json(),!e.ok||!s?.likes)throw Error(`Error: ${e.statusText}`)}catch(e){console.error("Error:",e)}return!!s?.likes};e.s(["getNavigatorDetailData",0,n,"getSurveyVotes",0,d,"submitPostCommentV2",0,u,"submitPostLike",0,m,"submitPostViewNoCache",0,o,"submitSurveyVote",0,c],43487)}]);