(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,91402,e=>{"use strict";e.s(["i",0,function(e){return void 0!==e}])},22468,e=>{"use strict";e.s(["g",0,function(e,t){return`finkit-widgets-${t}-${e}`}])},89485,e=>{"use strict";let t=Object.freeze({xs:Object.freeze({maxWidth:599}),s:Object.freeze({minWidth:600,maxWidth:767}),m:Object.freeze({minWidth:768,maxWidth:1023}),l:Object.freeze({minWidth:1024,maxWidth:1279}),xl:Object.freeze({minWidth:1280,maxWidth:1439}),"2xl":Object.freeze({minWidth:1440,maxWidth:1919}),"3xl":Object.freeze({minWidth:1920})}),n=Object.freeze(Object.keys(t)),i=Object.freeze(n.filter(e=>"xs"!==e));Object.freeze(n.filter(e=>"3xl"!==e)),e.s(["B",0,n,"a",0,t,"b",0,i])},16727,e=>{"use strict";var t=e.i(43476),n=e.i(71645),i=e.i(7670),l=e.i(2404),r=e.i(89485),a=e.i(54061);function s(e){return n.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M15.827 2.761A10.001 10.001 0 1 0 12 22a.75.75 0 0 0 .75-.75v-.004a.75.75 0 0 0-.75-.75A8.496 8.496 0 1 1 20.496 12c0 .414.336.75.75.75h.004A.75.75 0 0 0 22 12a10 10 0 0 0-6.173-9.239Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}let o=["xxs","xs","s","m","l"],c=(0,a.g)("button"),d={button:c,label:`${c}__label`,icon:`${c}__icon`,spinner:`${c}__spinner`,states:{ghost:`${c}--ghost`,outline:`${c}--outline`,stretch:`${c}--stretch`,iconOnly:`${c}--icon-only`,iconLeft:`${c}--icon-left`,iconRight:`${c}--icon-right`,rounded:`${c}--rounded`,disabled:`${c}--disabled`,hidden:`${c}--hidden`}},u=(0,n.forwardRef)(({as:e,appearance:a="fill",children:c,className:u,disabled:f=!1,iconLeft:h,iconRight:p,label:m,pending:b,shape:_="default",size:g="m",stretch:v=!1,variant:w="primary",type:$,dataId:y,dataQa:x,style:j,onClick:k,...N},C)=>{let O=e||"button",E=m||c,L=(0,n.useMemo)(()=>"icon"===_||"circle-icon"===_,[_]),z="string"==typeof g&&o.includes(g),R=(0,n.useMemo)(()=>{let e={};if(g&&!z){let t=g?"string"==typeof g?g.split(" ").map(e=>{if(e.includes("-")){let t=e.indexOf("-");return[e.substring(0,t),e.substring(t+1,e.length)]}return[e]}).reduce((e,[t,n])=>({...e,[t]:void 0===n||n}),{}):g:{};e=r.B.reduce((e,n)=>{let i="xs"===n?`${d.button}--${t[n]}`:`${d.button}--${t[n]}-${n}`;return{...e,[i]:!!t[n]}},{})}return e},[z,g]),I=(0,n.useMemo)(()=>({[d.button]:!0,[`${d.button}--${w}`]:!0,[`${d.button}--${g}`]:z,[d.states.iconOnly]:L,[d.states.stretch]:!0===v,[`${d.states.stretch}:${v}`]:"string"==typeof v,[d.states.ghost]:"ghost"===a,[d.states.outline]:"outline"===a,[d.states.rounded]:"circle-icon"===_,[d.states.iconLeft]:h&&!L,[d.states.iconRight]:p&&!L,[d.states.disabled]:f,...R}),[a,f,h,L,p,z,R,_,g,v,w]),S=(0,n.useMemo)(()=>!!p&&(!L||!h),[h,p,L]),A=(0,n.useCallback)(e=>{f?e.preventDefault():null==k||k(e)},[k,f]);return(0,t.jsxs)(O,{className:(0,i.default)(u,{...I}),ref:C,style:j,type:"button"===O?$||"button":void 0,disabled:"button"===O?f:void 0,"aria-disabled":f||void 0,tabIndex:f?-1:0,onClick:A,...N,"data-qa":x,"data-id":y,children:[h&&(0,t.jsx)("span",{role:"img","aria-hidden":"true",className:(0,i.default)(d.icon,{[d.states.hidden]:b}),children:h}),E&&!L&&(0,t.jsx)("span",{className:(0,i.default)(d.label,{[d.states.hidden]:b}),children:E}),S&&(0,t.jsx)("span",{role:"img","aria-hidden":"true",className:(0,i.default)(d.icon,{[d.states.hidden]:b}),children:p}),b&&(0,t.jsx)("span",{role:"img","aria-hidden":"true",className:d.spinner,children:(0,t.jsx)(l.P,{children:(0,t.jsx)(s,{})})})]})});u.displayName="Button",e.s(["B",0,o,"S",0,s,"a",0,u])},34348,47611,e=>{"use strict";var t=e.i(16727);e.s([],34348),e.s(["Button",()=>t.a],47611)},3315,e=>{"use strict";var t=e.i(43476),n=e.i(7670),i=e.i(71645),l=e.i(2404),r=e.i(12569);function a(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 s(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:f,withoutIcon:h=!1,lineClamp:p,role:m,dataQa:b,dataId:_,className:g,style:v,...w}){let $=f||i,y=!h&&["success","error","warning"].includes(o),x="success"===o?a:s,j=(0,n.default)(g,c.caption,c.size[u],{[c.captionWithIcon]:y,[c.states.success]:"success"===o,[c.states.error]:"error"===o,[c.states.warning]:"warning"===o});return(0,t.jsx)(e||"div",{className:j,style:v,role:m,...w,"data-id":_,"data-qa":b,children:(0,t.jsxs)("div",{className:c.content,children:[y&&$&&(0,t.jsx)(l.P,{className:c.icon,children:(0,t.jsx)(x,{})}),(0,t.jsx)("span",{className:(0,n.default)(c.text),style:{...p?{WebkitLineClamp:p,lineClamp:p,...r.l}:void 0},children:$})]})})}d.displayName="Caption",e.s(["C",0,d])},91390,e=>{"use strict";var t=e.i(43476),n=e.i(71645),i=e.i(43489),l=e.i(7670),r=e.i(3315);e.i(89485);var a=e.i(14044),s=e.i(54061);let o=(...e)=>(...t)=>{e.forEach(e=>{null==e||e(...t)})},c=(0,s.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,n.forwardRef)(({icon:e,rightLabel:s,slotLeft:c,disabled:u,state:f,size:h="m",variant:p="primary",label:m,value:b,placeholder:_,maskPlaceholder:g,autoFocus:v=!1,maskPlaceholderVariant:w="default",caption:$,type:y="text",inputMode:x="text",hasCaption:j,className:k,style:N,dataQa:C,dataId:O,inputRef:E,onChange:L,onFocus:z,onBlur:R,onKeyDown:I,...S},A)=>{let B=(0,n.useId)(),{value:M,show:P,hide:T}=((e=!1)=>{let[t,i]=(0,n.useState)(e),l=(0,n.useCallback)(()=>i(!0),[]);return{value:t,show:l,hide:(0,n.useCallback)(()=>i(!1),[]),toggle:(0,n.useCallback)(()=>i(e=>!e),[])}})(),W=(0,n.useRef)(null),F=(0,i.useMergeRefs)([E,W]),U=(0,n.useMemo)(()=>M||!!b||!!_,[b,M,_]),D=(0,n.useCallback)(()=>{var e;null==(e=W.current)||e.focus()},[]),H=(0,n.useMemo)(()=>{if(!g)return null;let e={hidden:b??"",visible:g.substring((null==b?void 0:b.length)??0)};return g.length===(null==b?void 0:b.length)?null:e},[g,b]);return(0,n.useEffect)(()=>{var e,t,n;if(!v)return;let i=(null==(e=W.current)?void 0:e.value.length)??0;null==(t=W.current)||t.focus(),null==(n=W.current)||n.setSelectionRange(i,i)},[v]),(0,t.jsxs)("div",{className:(0,l.default)(k,d.wrapper),style:N,"data-qa":C,"data-id":O,children:[(0,t.jsxs)("div",{className:(0,l.default)(d.input,d.states[p],d.states[h],{[d.states.focused]:M,[d.states.error]:"error"===f,[d.states.success]:"success"===f,[d.states.disabled]:!!u,[d.states.hasLabel]:m}),onClick:D,ref:A,children:[c&&(0,t.jsx)("div",{className:d.slotLeft,children:c}),(0,t.jsxs)("label",{htmlFor:B,className:d.container,children:[m&&(0,t.jsx)("span",{className:(0,l.default)(d.label,{[d.states.active]:U,[d.states.s]:"s"===h,[d.states.disabled]:u,[d.states.error]:"error"===f,[d.states.success]:"success"===f}),children:m}),H&&!!b&&(0,t.jsxs)("div",{className:(0,l.default)(d.placeholder.visible,{[d.states.accent]:"accent"===w}),children:[H.hidden&&(0,t.jsx)("span",{className:d.placeholder.hidden,children:H.hidden}),H.visible]}),(0,t.jsx)("input",{...S,id:B,ref:F,className:(0,l.default)(d.field,{[d.states.s]:"s"===h,[d.states.hasLabel]:m,[d.states.disabled]:u}),type:y,inputMode:x,autoComplete:"off",placeholder:_,value:b,disabled:u,onChange:e=>{null==L||L(e.target.value,e)},onFocus:o(P,z),onBlur:o(T,R),onKeyDown:e=>{("Escape"===e.key||"Esc"===e.key)&&(e.preventDefault(),null==L||L("",{target:{value:""}})),null==I||I(e)}})]}),s&&(0,t.jsx)("div",{className:(0,l.default)(d.rightLabel,{[d.states.disabled]:u}),children:s}),e]}),(j||$)&&(0,t.jsx)(r.C,{dataQa:(0,a.g)(`${C}-caption`,!!C),className:(0,l.default)(d.caption,{[d.states.disabled]:u}),state:f,withoutIcon:!0,children:$})]})});u.displayName="InputBase",e.s(["I",0,u],91390)},881,43748,e=>{"use strict";var t=e.i(91390);e.s([],881),e.s(["InputBase",()=>t.I],43748)},85900,e=>{"use strict";let t=/#/g,n=/&/g,i=/\//g,l=/=/g,r=/\+/g,a=/%5e/gi,s=/%60/gi,o=/%7c/gi,c=/%20/gi;function d(e){return encodeURI(""+("string"==typeof e?e:JSON.stringify(e))).replace(o,"|").replace(r,"%2B").replace(c,"+").replace(t,"%23").replace(n,"%26").replace(s,"`").replace(a,"^").replace(i,"%2F")}function u(e){return d(e).replace(l,"%3D")}let f=/^\.?\//;Symbol.for("ufo:protocolRelative"),e.s(["joinURL",0,function(e,...t){let n=e||"";for(let e of t.filter(e=>e&&"/"!==e))if(n){let t=e.replace(f,"");n=function(e=""){return e.endsWith("/")?e:e+"/"}(n)+t}else n=e;return n},"stringifyQuery",0,function(e){return Object.keys(e).filter(t=>void 0!==e[t]).map(t=>{var n;return(("number"==typeof(n=e[t])||"boolean"==typeof n)&&(n=String(n)),n)?Array.isArray(n)?n.map(e=>`${u(t)}=${d(e)}`).join("&"):`${u(t)}=${d(n)}`:u(t)}).filter(Boolean).join("&")}])},8145,13757,e=>{"use strict";var t=e.i(43476),n=e.i(7670),i=e.i(12569);let l=Object.freeze({text:(0,e.i(54061).g)("text")});function r({as:e,className:a,style:s,children:o,size:c,weight:d,lineClamp:u,dataQa:f,dataId:h,...p}){return(0,t.jsx)(e||"span",{className:(0,n.default)(l.text,a),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},...s},...p,"data-id":h,"data-qa":f,children:o})}r.displayName="Text",e.s([],8145),e.s(["Text",0,r],13757)},63687,56239,e=>{"use strict";let t,n={а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"y",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"h",ц:"c",ч:"ch",ш:"sh",щ:"sch",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya"},i=e=>e.replace(/[а-яё]/gi,e=>{let t=e.toLowerCase();return t in n?n[t]:e}).replaceAll(/[ \u00A0]/g,"_");e.s(["t",0,i],56239);var l=e.i(58282),r=((t=r||{}).icon="icon",t.chip="chip",t.accordion="accordion",t.button="button",t.checkbox="checkbox",t.radio="radio",t.select="select",t.toggle="toggle",t.tooltip="tooltip",t.link="link",t.banner="banner",t.tag="tag",t.date="date",t.field="field",t.offer="offer",t.tab="tab",t.submitButton="submitButton",t.popup="popup",t.block="block",t.show="show",t.close="close",t);let a={icon:"click_icon_",chip:"click_chip_",accordion:"show_acc_",button:"click_button_",checkbox:"click_check_",radio:"click_radio_",select:"click_sel_",toggle:"click_togg_",tooltip:"click_tip_",link:"click_link_",banner:"click_bnr_",tag:"click_tag_",date:"input_date_",field:"input_field_",offer:"click_offer_",tab:"click_tab_",submitButton:"form_button_",popup:"show_pop_up_",block:"click_block_",show:"show_",close:"close_"};e.s(["D",0,r,"h",0,({eventCategory:e,eventActionType:t,eventActionText:n="",eventLabel:r})=>{let s={event:"data-event",eventCategory:e,eventAction:a[t]+i(n)};void 0!==r&&(s.eventLabel=i("string"==typeof r?r:r.toString())),(e=>{if(typeof window>"u")return;let t=sessionStorage.getItem("pushedEvents"),n=t?JSON.parse(t):[];e.event||(e.event="data-event"),"string"==typeof e.eventAction&&(e.eventAction=e.eventAction.toLowerCase().replaceAll(" ","_")),"string"==typeof e.eventLabel&&(e.eventLabel=e.eventLabel.toLowerCase().replaceAll(" ","_")),e.eventLabel||(e.eventLabel="undefined"),n.find(t=>t.eventCategory===e.eventCategory&&t.eventAction===e.eventAction&&t.eventLabel===e.eventLabel&&!1);(0,l.pushEvent)(e)})(s)}],63687)},46401,34986,e=>{"use strict";var t=e.i(43476),n=e.i(7670),i=e.i(71645),l=e.i(2404);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("path",{d:"M10.25 5.75c0 .414.336.75.75.75h5.44L5.22 17.72a.75.75 0 1 0 1.06 1.06L17.5 7.56V13a.75.75 0 0 0 1.5 0V5.75a.75.75 0 0 0-.75-.75H11a.75.75 0 0 0-.75.75Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}let a=(0,e.i(54061).g)("link"),s=Object.freeze({link:a,states:{inverted:`${a}--inverted`,disabled:`${a}--disabled`},content:`${a}__content`,icon:`${a}__icon`,size:{s:`${a}--s`,m:`${a}--m`}});function o({as:e,size:i="m",withIcon:a=!1,children:c,disabled:d,text:u,inverted:f,onClick:h,className:p,style:m,dataQa:b,dataId:_,...g}){let v=(0,n.default)(s.link,{[s.states.inverted]:f,[s.states.disabled]:d},s.size[i],p),w=u||c;return(0,t.jsx)(e||"a",{className:v,disabled:d,style:m,onClick:h,"aria-disabled":d,tabIndex:d?-1:0,...g,"data-id":_,"data-qa":b,children:a?(0,t.jsxs)("span",{className:s.content,children:[w,(0,t.jsx)(l.P,{className:s.icon,children:(0,t.jsx)(r,{})})]}):w})}o.displayName="Link",e.s([],46401),e.s(["Link",0,o],34986)},11512,34650,44437,e=>{"use strict";var t=e.i(43476),n=e.i(71645),i=e.i(7670),l=e.i(63687),r=e.i(22468);let a=(0,r.g)("header","sc"),s=Object.freeze({header:`${a}`,fixed:`${a}__fixed`,hidden:`${a}__fixed--hidden`,transparent:`${a}--transparent`,navigationOpen:`${a}__navigation-open`,container:`${a}__container`,leftRow:`${a}__left-row`,logo:`${a}__logo`,menuItems:`${a}__menu-items`,menuItemActive:`${a}__menu-item-active`,tabletMenuButton:`${a}__tablet-menu-button`,buttonGroup:`${a}__button-group`,chips:`${a}__chips`,menuButton:`${a}__menu-button`,moreButtons:`${a}__more-buttons`,auth:`${a}__auth`,whiteIcons:`${a}__white-icons`,close:`${a}__close`,removed:`${a}__removed`,overlay:`${a}__overlay`,overlayOpening:`${a}__overlay--opening`,overlayClosing:`${a}__overlay--closing`}),o="cb-header",c=[{id:"FINPRODUCTS",label:"Финпродукты"},{id:"NAVIGATOR",label:"Журнал"},{id:"ABOUT",label:"О маркетплейсе"}],d=c.reduce((e,t)=>(e[t.id]=t.label,e),{}),u=Object.freeze({mobile:56,desktop:80});e.s(["F",0,u,"H",0,o,"U",0,"user_region","a",0,d,"b",0,c,"c",0,"user_town","s",0,s],34650);let f="finuslugi-header-height-change",h=(e,t,n)=>{let i=new Date;i.setTime(i.getTime()+864e5*n);let l=encodeURIComponent(JSON.stringify(t)),r=`;domain=.${window.location.hostname}`;document.cookie=`${e}=${l};expires=${i.toUTCString()};path=/;SameSite=Lax${r}`},p=(e,t,n)=>(0,l.h)({eventCategory:o,eventActionType:e,eventActionText:t,eventLabel:n});e.s(["H",0,f,"h",0,p,"i",0,()=>{setTimeout(()=>{if(!(typeof document>"u"||"string"!=typeof document.cookie))try{let e;(e=(()=>{let e=new URLSearchParams(window.location.search),t={};for(let[n,i]of Array.from(e.entries()))n.startsWith("utm_")&&(t[n]=i);return Object.keys(t).length>0?t:null})())&&!document.cookie.split(";").some(e=>e.trim().startsWith("utm_params="))&&h("utm_params",e,90),e&&h("utm_last",e,90)}catch(e){console.error("UTM tracking error:",e)}},0)},"s",0,(e,t,n)=>{if(typeof window>"u"||typeof document>"u")return;let i=document.getElementById("mainHomeBanner"),l=!1,r=0,a=0,s=window.innerWidth<768,o=()=>window.scrollY||document.documentElement.scrollTop,c=e=>{document.documentElement.style.setProperty("--new-header-height-desktop",e),document.documentElement.style.setProperty("--new-header-height-mobile",e)},d=()=>{let e=window.innerWidth<768;e!==s&&(s=e,a=0)},u=function(){let s=o(),d=document.getElementById("headerNotice");if((null==d?void 0:d.getAttribute("data-opening"))==="true")return;a||(()=>{let e=document.querySelector(":root");if(e){let t=parseFloat(window.getComputedStyle(e).getPropertyValue("--fixed-header-height"));a=Number.isNaN(t)?0:t,r=o()}})();let u=s<a,f=s<((null==i?void 0:i.clientHeight)||0);if(n&&f||u){l=!1,e(!1),t(!0),c(`${a}px`);return}e(l=s>r),l&&setTimeout(()=>t(!1),50),c(l?"0px":`${a}px`),r=s<=0?0:s},h=()=>{a=0,u()};return window.addEventListener("scroll",u),window.addEventListener("resize",d),window.addEventListener(f,h),()=>{window.removeEventListener("scroll",u),window.removeEventListener("resize",d),window.removeEventListener(f,h)}}],44437);let m={display:"inline-block",lineHeight:0,backfaceVisibility:"hidden"},b={width:"1em",height:"1em",overflowClipMargin:"content-box",overflow:"hidden"},_=e=>n.createElement("svg",{width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M12.004 7.246A1.247 1.247 0 0110.75 6a1.25 1.25 0 111.254 1.247zM10.75 12c0 .686.559 1.252 1.254 1.247a1.252 1.252 0 001.246-1.25 1.25 1.25 0 10-2.5.003zm0 6c0 .686.559 1.253 1.254 1.247a1.252 1.252 0 001.246-1.25 1.25 1.25 0 10-2.5.003z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}));function g({className:e,style:t,boxSize:i,size:l,onClick:r}){return n.default.createElement("span",{className:e,style:{...m,...r&&{cursor:"pointer"},...l&&{fontSize:`${l}px`},...i&&{width:`${i}px`,height:`${i}px`,display:"inline-flex",alignItems:"center",justifyContent:"center"},...t},...r?{role:"button",tabIndex:"0",onClick:r}:{}},n.default.createElement(_,{viewBox:"0 0 24 24",style:b}))}g.displayName="IconFdsDotsVerticalO";let v=(0,r.g)("navigation-chips","sc"),w=Object.freeze({wrapper:`${v}__wrapper`,gray:`${v}__variantGray`,white:`${v}__variantWhite`,container:`${v}__container`,chip:`${v}__chip`,more:`${v}__chip--more`,active:`${v}__chip--active`,icon:`${v}__icon`,label:`${v}__label`,hidden:`${v}__hidden`}),$={display:"inline-block",lineHeight:0,backfaceVisibility:"hidden"},y={width:"1em",height:"1em",overflowClipMargin:"content-box",overflow:"hidden"},x=e=>n.createElement("svg",{width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M9 8a.75.75 0 000 1.5h4.44l-5.22 5.22a.75.75 0 101.06 1.06l5.22-5.22v4.445a.75.75 0 101.5 0V8.75a.75.75 0 00-.75-.75H9z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}));function j({className:e,style:t,boxSize:i,size:l,onClick:r}){return n.default.createElement("span",{className:e,style:{...$,...r&&{cursor:"pointer"},...l&&{fontSize:`${l}px`},...i&&{width:`${i}px`,height:`${i}px`,display:"inline-flex",alignItems:"center",justifyContent:"center"},...t},...r?{role:"button",tabIndex:"0",onClick:r}:{}},n.default.createElement(x,{viewBox:"0 0 24 24",style:y}))}j.displayName="IconFdsArrowUpRightSmallO";let k=(0,r.g)("navigation-content","sc"),N=Object.freeze({contentWrapper:`${k}__content-wrapper`,content:`${k}__content`,contentOpen:`${k}__content--open`,contentHeader:`${k}__content-header`,contentTitle:`${k}__content-title`,contentTitleUrl:`${k}__content-title--url`,contentTitleLink:`${k}__content-title--link`,contentTitleNew:`${k}__content-title--new`,new:`${k}__new`,newInline:`${k}__new-inline`,vip:`${k}__vip`,arrowIcon:`${k}__arrow-icon`,links:`${k}__links`,linksColumns:`${k}__links--columns`,linksTitleless:`${k}__links--titleless`,removed:`${k}__removed`,hidden:`${k}__content--hidden`}),C=({chip:e,hidden:n,onClick:r,refCallback:a,activeChipId:s})=>{let o=!!r,c=()=>{if(o)return null==r?void 0:r(e.url);p(l.D.chip,e.title,`${e.title}_${e.url}`)},d=(0,t.jsxs)(t.Fragment,{children:[e.icon&&(0,t.jsx)("span",{className:w.icon,"aria-hidden":"true",children:e.icon}),(0,t.jsx)("span",{className:w.label,children:e.title}),e.arrow&&(0,t.jsx)(j,{size:24})]}),u=(0,i.default)(w.chip,{[w.hidden]:n,[N.new]:!!e.new,[N.vip]:!!e.vip,[w.active]:e.url===s});return o?(0,t.jsx)("button",{type:"button",className:u,onClick:c,ref:a,children:d}):(0,t.jsx)("a",{href:e.url,className:u,onClick:c,ref:a,children:d})};e.s(["N",0,({items:e=[],maxNumberOfLines:r,variant:a,className:s,activeChipId:o,onClick:c,moreButtonOptions:d})=>{let u=(0,n.useRef)(null),f=(0,n.useRef)(null),h=(0,n.useRef)({}),m=(null==d?void 0:d.label)??"Еще",b="Еще",_=(null==d?void 0:d.showIcon)??!0,v=(0,i.default)(w.chip,w.more,null==d?void 0:d.className),[$,y]=(0,n.useState)(!1),[x,j]=(0,n.useState)(e.length),[k,N]=(0,n.useState)(!1);(0,n.useMemo)(()=>{let t=h.current;e.forEach(e=>{e.url in t||(t[e.url]=null)}),Object.keys(t).forEach(n=>{e.find(e=>String(e.url)===String(n))||delete t[n]})},[e]);let O=(0,n.useCallback)(()=>{let t=u.current;if(!t)return;let n=e=>e?e.getBoundingClientRect().width:0,i=n(t),l=Math.max(Number(r)||0,0),a=()=>{j(e.length),N(!1)};if($||0===l||i<=0)return void a();let s=(()=>{try{let e=getComputedStyle(t),n=parseFloat(e.columnGap||e.gap||"12");return Number.isNaN(n)?12:n}catch{return 12}})(),o=n(f.current),c=e.map(e=>n(h.current[e.url]));if(c.some(e=>0===e))return void a();let d=1,p=0,m=0;for(let e of c){let t=d===l?o+s:0,n=0===p?e:p+s+e;if(n+t<=i-.5)p=n,m++;else{if(++d>l)break;p=e,m++}}N(m<e.length),j(m)},[$,e,r]);(0,n.useLayoutEffect)(()=>{let e=u.current;if(!e)return;let t=new ResizeObserver(()=>{requestAnimationFrame(O)});return t.observe(e),requestAnimationFrame(O),()=>{t.disconnect()}},[O]),(0,n.useEffect)(()=>{requestAnimationFrame(O)},[O]);let E=$||(r??0)<=0||!k;return(0,t.jsx)("div",{className:(0,i.default)(s,w.wrapper,{[w.gray]:"gray"===a,[w.white]:"white"===a}),children:(0,t.jsxs)("div",{ref:u,className:w.container,children:[e.map((e,n)=>(0,t.jsx)(C,{chip:e,hidden:!E&&n>=x,activeChipId:o,onClick:c,refCallback:t=>{h.current[e.url]=t}},e.url)),!E&&k&&(0,t.jsxs)("button",{type:"button",ref:f,className:v,"aria-label":b,onClick:()=>{p(l.D.chip,b),y(!0)},children:[_&&(0,t.jsx)(g,{size:20}),(0,t.jsx)("span",{className:w.label,children:m})]}),(E||!k)&&(0,t.jsxs)("button",{type:"button",ref:f,className:(0,i.default)(v,w.hidden),tabIndex:-1,"aria-hidden":"true",children:[_&&(0,t.jsx)(g,{size:20}),(0,t.jsx)("span",{className:w.label,children:m})]})]})})},"s",0,N],11512)},67585,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"BailoutToCSR",{enumerable:!0,get:function(){return l}});let i=e.r(32061);function l({reason:e,children:t}){if("u"<typeof window)throw Object.defineProperty(new i.BailoutToCSRError(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return t}},9885,(e,t,n)=>{"use strict";function i(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"encodeURIPath",{enumerable:!0,get:function(){return i}})},52157,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"PreloadChunks",{enumerable:!0,get:function(){return o}});let i=e.r(43476),l=e.r(74080),r=e.r(63599),a=e.r(9885),s=e.r(43369);function o({moduleIds:e}){if("u">typeof window)return null;let t=r.workAsyncStorage.getStore();if(void 0===t)return null;let n=[];if(t.reactLoadableManifest&&e){let i=t.reactLoadableManifest;for(let t of e){if(!i[t])continue;let e=i[t].files;n.push(...e)}}if(0===n.length)return null;let c=(0,s.getAssetTokenQuery)();return(0,i.jsx)(i.Fragment,{children:n.map(e=>{let n=`${t.assetPrefix}/_next/${(0,a.encodeURIPath)(e)}${c}`;return e.endsWith(".css")?(0,i.jsx)("link",{precedence:"dynamic",href:n,rel:"stylesheet",as:"style",nonce:t.nonce},e):((0,l.preload)(n,{as:"script",fetchPriority:"low",nonce:t.nonce}),null)})})}},69093,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return c}});let i=e.r(43476),l=e.r(71645),r=e.r(67585),a=e.r(52157);function s(e){return{default:e&&"default"in e?e.default:e}}let o={loader:()=>Promise.resolve(s(()=>null)),loading:null,ssr:!0},c=function(e){let t={...o,...e},n=(0,l.lazy)(()=>t.loader().then(s)),c=t.loading;function d(e){let s=c?(0,i.jsx)(c,{isLoading:!0,pastDelay:!0,error:null}):null,o=!t.ssr||!!t.loading,d=o?l.Suspense:l.Fragment,u=t.ssr?(0,i.jsxs)(i.Fragment,{children:["u"<typeof window?(0,i.jsx)(a.PreloadChunks,{moduleIds:t.modules}):null,(0,i.jsx)(n,{...e})]}):(0,i.jsx)(r.BailoutToCSR,{reason:"next/dynamic",children:(0,i.jsx)(n,{...e})});return(0,i.jsx)(d,{...o?{fallback:s}:{},children:u})}return d.displayName="LoadableComponent",d}},70703,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return l}});let i=e.r(55682)._(e.r(69093));function l(e,t){let n={};"function"==typeof e&&(n.loader=e);let l={...n,...t};return(0,i.default)({...l,modules:l.loadableGenerated?.modules})}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)}]);