(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,52543,e=>{"use strict";var t=e.i(83849);e.s(["Card",()=>t.h])},22468,e=>{"use strict";e.s(["g",0,function(e,t){return`finkit-widgets-${t}-${e}`}])},2305,e=>{"use strict";function t(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=function e(t){var n,r,a="";if("string"==typeof t||"number"==typeof t)a+=t;else if("object"==typeof t)if(Array.isArray(t))for(n=0;n<t.length;n++)t[n]&&(r=e(t[n]))&&(a&&(a+=" "),a+=r);else for(n in t)t[n]&&(a&&(a+=" "),a+=n);return a}(e))&&(r&&(r+=" "),r+=t);return r}e.s(["clsx",0,t,"default",0,t])},83849,e=>{"use strict";var t=e.i(43476),n=e.i(2305),r=e.i(71645);let a=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})}),i=Object.freeze(Object.keys(a)),l=Object.freeze(i.filter(e=>"xs"!==e)),o=Object.freeze(i.filter(e=>"3xl"!==e));function s(e){return`finkit-${e}`}function c(e){return r.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("defs",null,r.createElement("clipPath",{id:"a"},r.createElement("path",{fill:"#fff",fillOpacity:0,d:"M0 0h24v24H0z"}))),r.createElement("g",{clipPath:"url(#a)"},r.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 d(e){return r.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.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 u=({children:e,className:r,style:a,...i})=>(0,t.jsx)("span",{className:(0,n.default)(r,"private-icon"),style:a,...i,children:e});u.displayName="PrivateIcon";let f={display:"-webkit-box",WebkitBoxOrient:"vertical",overflow:"hidden"},p=s("caption"),h=Object.freeze({caption:p,captionWithIcon:`${p}--with-icon`,content:`${p}__content`,icon:`${p}__icon`,text:`${p}__text`,size:{s:`${p}--s`,m:`${p}--m`},states:{success:`${p}--success`,error:`${p}--error`,warning:`${p}--warning`}});function m({as:e,children:r,state:a="default",size:i="m",text:l,withoutIcon:o=!1,lineClamp:s,role:p,dataQa:v,dataId:_,className:g,style:b,...y}){let $=l||r,x=!o&&["success","error","warning"].includes(a),w="success"===a?c:d,j=(0,n.default)(g,h.caption,h.size[i],{[h.captionWithIcon]:x,[h.states.success]:"success"===a,[h.states.error]:"error"===a,[h.states.warning]:"warning"===a});return(0,t.jsx)(e||"div",{className:j,style:b,role:p,...y,"data-id":_,"data-qa":v,children:(0,t.jsxs)("div",{className:h.content,children:[x&&$&&(0,t.jsx)(u,{className:h.icon,children:(0,t.jsx)(w,{})}),(0,t.jsx)("span",{className:(0,n.default)(h.text),style:{...s?{WebkitLineClamp:s,lineClamp:s,...f}:void 0},children:$})]})})}m.displayName="Caption";let v=s("card"),_={card:v,variants:{primary:`${v}--primary`,secondary:`${v}--secondary`}},g=({as:e,className:r,style:a,children:i,variant:l="primary",dataQa:o,dataId:s,...c})=>(0,t.jsx)(e||"div",{className:(0,n.default)(r,_.card,_.variants[l]),style:a,...c,"data-id":s,"data-qa":o,children:i});g.displayName="Card";let b=s("col"),y=Object.freeze({col:b,state:{size:(e,t)=>!0===t?`${b}--${e}`:`${b}--${e}-${t}`,offsetLeft:(e,t)=>`${b}--${e}-offset-left-${t}`,offsetRight:(e,t)=>`${b}--${e}-offset-right-${t}`}}),$=({as:e,className:r="",size:a={},offsetLeft:i={},offsetRight:l={},children:o,...s})=>{let c=Object.entries(a).reduce((e,[t,n])=>[...e,y.state.size(t,n)],[]).join(" "),d=Object.entries(i).reduce((e,[t,n])=>[...e,y.state.offsetLeft(t,n)],[]).join(" "),u=Object.entries(l).reduce((e,[t,n])=>[...e,y.state.offsetRight(t,n)],[]).join(" ");return(0,t.jsx)(e||"div",{className:(0,n.default)(y.col,r,c,d,u),...s,children:o})};$.displayName="Col";let x=s("container"),w=Object.freeze({container:x,states:{narrow:`${x}--narrow`}}),j=({children:e,as:r,fluid:a=!1,className:i="",...l})=>(0,t.jsx)(r||"div",{className:(0,n.default)(w.container,i,{[w.states.narrow]:!a}),...l,children:e});j.displayName="Container";let k=s("divider"),N=Object.freeze({divider:k,content:`${k}__content`}),O=({content:e,className:r,style:a,dataQa:i,dataId:l,...o})=>(0,t.jsx)("div",{className:(0,n.default)(N.divider,r),style:a,...o,"data-id":l,"data-qa":i,children:e&&(0,t.jsx)("div",{className:N.content,children:e})});O.displayName="Divider";let C=s("form-field"),z=Object.freeze({formField:C,labelWrapper:`${C}__label-wrapper`,label:`${C}__label`,description:`${C}__description`}),I=({label:e,description:r,caption:a,captionState:i,children:l,hasCaption:o,className:s,style:c,dataQa:d,dataId:u,...f})=>(0,t.jsxs)("div",{className:(0,n.default)(z.formField,s),style:c,...f,"data-id":u,"data-qa":d,children:[(e||r)&&(0,t.jsxs)("div",{className:z.labelWrapper,children:[(0,t.jsx)("span",{className:z.label,children:e}),(0,t.jsx)("span",{className:z.description,children:r})]}),l,(o||a)&&(0,t.jsx)(m,{text:a,state:i})]});I.displayName="FormField";let L={display:"h1",hero:"h1",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6"},S=s("heading"),R=Object.freeze({heading:S,states:Object.freeze({display:`${S}--display`,hero:`${S}--hero`,h1:`${S}--h1`,h2:`${S}--h2`,h3:`${S}--h3`,h4:`${S}--h4`,h5:`${S}--h5`,h6:`${S}--h6`})}),A=({as:e,children:r,weight:a,type:i,lineClamp:l,className:o,style:s,dataQa:c,dataId:d,...u})=>{var p;let h=e||L[i]||"div",m=/^h[1-6]$/.test(h),v=(null==(p=i.match(/\d+/))?void 0:p[0])||1;return(0,t.jsx)(h,{className:(0,n.default)(R.heading,R.states[i],o),style:{...a?{fontWeight:`var(--font-weight-${a})`}:void 0,...l?{WebkitLineClamp:l,lineClamp:l,...f}:void 0,...s},role:m?null:"heading","aria-level":m?null:v,...u,"data-id":d,"data-qa":c,children:r})};A.displayName="Heading";let P=s("loader"),T=Object.freeze({loader:P,variant:{primary:`${P}--primary`,purple:`${P}--purple`,accent:`${P}--accent`,white:`${P}--white`},size:{s:`${P}--s`,m:`${P}--m`,l:`${P}--l`}}),W=({variant:e="primary",size:r="m",style:a,className:i,role:l="status",dataQa:o,dataId:s,...c})=>(0,t.jsx)("div",{className:(0,n.default)(T.loader,T.size[r],T.variant[e],i),style:a,role:l,"aria-label":"Загрузка",...c,"data-id":s,"data-qa":o});W.displayName="Loader";let B=s("progress-bar"),E=Object.freeze({progressBar:B,rounded:`${B}-rounded`,indicator:`${B}__indicator`,text:`${B}__text`,animationCircle:`${B}__animation-circle`}),F={default:"var(--color-black-500)",error:"var(--color-red-500)",warning:"var(--color-orange-500)",success:"var(--color-green-600)",purple:"var(--color-purple-600)",blue:"var(--color-blue-500)",pink:"var(--color-pink-400)"};function M(e){return Math.max(Math.min(e,100),0)}let U=({value:e=0,variant:n="default",noBackground:r=!1})=>{let a;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("svg",{width:"60",height:"60",viewBox:"0 0 60 60",version:"1.1",xmlns:"http://www.w3.org/2000/svg",style:{transform:"rotate(-85deg)"},children:[!r&&(0,t.jsx)("circle",{r:"27.5",cx:"30",cy:"30",fill:"transparent",stroke:"var(--color-gray-400)",strokeWidth:"5"}),(0,t.jsx)("circle",{r:"27.5",cx:"30",cy:"30",stroke:F[n],strokeWidth:"5",strokeLinecap:"round",strokeDashoffset:(a=M(e))<=3?"173.9999px":100===a?"0px":a>=97?"8.22px":`${177-1.74*a}px`,fill:"transparent",strokeDasharray:"174px",className:E.animationCircle})]}),(0,t.jsxs)("span",{className:E.text,children:[M(e),"%"]})]})};U.displayName="ProgressBarCircle";let q=({value:e=0,variant:r="default",rounded:a=!1,noBackground:i=!1,className:l,style:o,dataQa:s,dataId:c,...d})=>(0,t.jsx)("div",{className:(0,n.default)({[E.progressBar]:!a,[E.rounded]:a},l),role:"progressbar","aria-valuemin":0,"aria-valuenow":e,"aria-valuemax":100,style:o,...d,"data-id":c,"data-qa":s,children:a?(0,t.jsx)(U,{noBackground:i,value:e,variant:r}):(0,t.jsx)("div",{className:(0,n.default)(E.indicator),style:{width:`${M(e)}%`,backgroundColor:F[r],boxSizing:"content-box"}})});q.displayName="ProgressBar";let D=s("row"),Q=(e,t,n)=>`${D}--gutter-${e}-${t}-${n}`,H=Object.freeze({row:D,state:{reverse:`${D}--reverse`,gutter:(e,t="xs")=>Array.isArray(e)?[Q(t,e[0],"h"),Q(t,e[1],"v")].join(" "):Q(t,e,"h")}});function Z({as:e,className:r="",reverse:a=!1,gutters:i={},children:l,...o}){let s=Object.entries(i).map(([e,t])=>H.state.gutter(t,e)).join(" ");return(0,t.jsx)(e||"div",{...o,className:(0,n.default)(H.row,r,s,{[H.state.reverse]:a}),children:l})}Z.displayName="Row";let G=s("skeleton"),J=Object.freeze({skeleton:G,states:{inline:`${G}--inline`,rounded:`${G}--rounded`,inverted:`${G}--inverted`,suspend:`${G}--suspend`}});function V({as:e,className:r="",width:a,height:i,inline:l=!1,rounded:o=!1,inverted:s=!1,suspend:c=!1,children:d,style:u,...f}){let p={...a&&{width:`${a}px`},...i&&{height:`${i}px`},...u};return(0,t.jsx)(e||"div",{className:(0,n.default)(J.skeleton,r,{[J.states.inline]:l,[J.states.rounded]:o,[J.states.inverted]:s,[J.states.suspend]:c}),style:p,"aria-hidden":"true",...f,children:d})}V.displayName="Skeleton";let K=Object.freeze({text:s("text")});function X({as:e,className:r,style:a,children:i,size:l,weight:o,fontFamily:s,lineClamp:c,dataQa:d,dataId:u,...p}){return(0,t.jsx)(e||"span",{className:(0,n.default)(K.text,r),style:{...l&&{fontSize:`var(--font-size-${l})`,lineHeight:`var(--font-line-height-${l})`},...o&&{fontWeight:`var(--font-weight-${o})`},...c&&{WebkitLineClamp:c,lineClamp:c,...f},...s&&{fontFamily:`var(--font-family-${s})`},...a},...p,"data-id":u,"data-qa":d,children:i})}X.displayName="Text",e.s(["B",0,a,"C",0,m,"D",0,O,"F",0,I,"H",0,A,"L",0,W,"P",0,u,"R",0,Z,"S",0,d,"T",0,X,"a",0,i,"b",0,(e,t=!0)=>t?e:void 0,"c",0,c,"d",0,e=>null==e,"e",0,l,"f",0,o,"g",0,s,"h",0,g,"i",0,function(e){return"u">typeof e},"j",0,$,"k",0,j,"l",0,q,"m",0,V,"p",0,(e,t,n,r)=>{let a=[t,n,r];return a[e%100>4&&e%100<20?2:[2,0,1,1,1,2][e%10<5?e%10:5]]||a[0]}])},51966,e=>{"use strict";e.i(83849),e.s([])},19390,e=>{"use strict";var t=e.i(83849);e.s(["Container",()=>t.k])},85900,e=>{"use strict";let t=/#/g,n=/&/g,r=/\//g,a=/=/g,i=/\+/g,l=/%5e/gi,o=/%60/gi,s=/%7c/gi,c=/%20/gi;function d(e){return encodeURI(""+("string"==typeof e?e:JSON.stringify(e))).replace(s,"|").replace(i,"%2B").replace(c,"+").replace(t,"%23").replace(n,"%26").replace(o,"`").replace(l,"^").replace(r,"%2F")}function u(e){return d(e).replace(a,"%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("&")}])},61193,56239,28133,22926,20533,e=>{"use strict";let t;var n=e.i(83849);e.s(["Text",()=>n.T],61193);var r=e.i(43476),a=e.i(71645),i=e.i(62965),l=e.i(2305);let o={а:"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"},s=e=>e.replace(/[а-яё]/gi,e=>{let t=e.toLowerCase();return t in o?o[t]:e}).replaceAll(/[ \u00A0]/g,"_");e.s(["t",0,s],56239);var c=e.i(58282),d=((t=d||{}).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);let u={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_"},f=({eventCategory:e,eventActionType:t,eventActionText:n="",eventLabel:r})=>{let a={event:"data-event",eventCategory:e,eventAction:u[t]+s(n)};void 0!==r&&(a.eventLabel=s("string"==typeof r?r:r.toString())),((e,t)=>{if(typeof window>"u")return;let n=sessionStorage.getItem("pushedEvents"),r=n?JSON.parse(n):[];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");let a=r.find(n=>n.eventCategory===e.eventCategory&&n.eventAction===e.eventAction&&n.eventLabel===e.eventLabel&&("all"===t||"url"===t&&window.location.pathname===n.url));if(!t||!a){if(t){let t={...e};t.url=window.location.pathname,r.push(t),sessionStorage.setItem("pushedEvents",JSON.stringify(r))}(0,c.pushEvent)(e)}})(a)};e.s(["D",0,d,"h",0,f],28133);var p=e.i(22468);let h=(0,p.g)("header","sc"),m=Object.freeze({header:`${h}`,fixed:`${h}__fixed`,hidden:`${h}__fixed--hidden`,transparent:`${h}--transparent`,navigationOpen:`${h}__navigation-open`,container:`${h}__container`,leftRow:`${h}__left-row`,logo:`${h}__logo`,menuItems:`${h}__menu-items`,menuItemActive:`${h}__menu-item-active`,tabletMenuButton:`${h}__tablet-menu-button`,buttonGroup:`${h}__button-group`,chips:`${h}__chips`,menuButton:`${h}__menu-button`,moreButtons:`${h}__more-buttons`,auth:`${h}__auth`,whiteIcons:`${h}__white-icons`,close:`${h}__close`,removed:`${h}__removed`,overlay:`${h}__overlay`,overlayOpening:`${h}__overlay--opening`,overlayClosing:`${h}__overlay--closing`}),v="cb-header",_=[{id:"FINPRODUCTS",label:"Финпродукты"},{id:"NAVIGATOR",label:"Журнал"},{id:"ABOUT",label:"О маркетплейсе"}],g=_.reduce((e,t)=>(e[t.id]=t.label,e),{}),b=Object.freeze({mobile:56,desktop:80});e.s(["F",0,b,"H",0,v,"U",0,"user_region","a",0,"user_town","b",0,g,"c",0,_,"s",0,m],22926);let y=(e,t,n)=>{let r=new Date;r.setTime(r.getTime()+864e5*n);let a=encodeURIComponent(JSON.stringify(t)),i=`;domain=.${window.location.hostname}`;document.cookie=`${e}=${a};expires=${r.toUTCString()};path=/;SameSite=Lax${i}`},$=(e,t,n)=>f({eventCategory:v,eventActionType:e,eventActionText:t,eventLabel:n}),x=(0,p.g)("navigation-chips","sc"),w=Object.freeze({wrapper:`${x}__wrapper`,gray:`${x}__variantGray`,white:`${x}__variantWhite`,container:`${x}__container`,chip:`${x}__chip`,more:`${x}__chip--more`,active:`${x}__chip--active`,label:`${x}__label`,hidden:`${x}__hidden`}),j=(0,p.g)("navigation-content","sc"),k=Object.freeze({contentWrapper:`${j}__content-wrapper`,content:`${j}__content`,contentOpen:`${j}__content--open`,contentHeader:`${j}__content-header`,contentTitle:`${j}__content-title`,contentTitleUrl:`${j}__content-title--url`,contentTitleLink:`${j}__content-title--link`,contentTitleNew:`${j}__content-title--new`,new:`${j}__new`,newInline:`${j}__new-inline`,vip:`${j}__vip`,arrowIcon:`${j}__arrow-icon`,links:`${j}__links`,linksColumns:`${j}__links--columns`,linksTitleless:`${j}__links--titleless`,removed:`${j}__removed`,hidden:`${j}__content--hidden`}),N=({chip:e,hidden:t,onClick:n,refCallback:a,activeChipId:o})=>{let s=!!n,c=()=>{if(s)return null==n?void 0:n(e.url);$(d.chip,e.title,`${e.title}_${e.url}`)},u=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:w.label,children:e.title}),e.arrow&&(0,r.jsx)(i.IconFdsArrowUpRightSmallO,{size:24})]}),f=(0,l.default)(w.chip,{[w.hidden]:t,[k.new]:!!e.new,[k.vip]:!!e.vip,[w.active]:e.url===o});return s?(0,r.jsx)("button",{type:"button",className:f,onClick:c,ref:a,children:u}):(0,r.jsx)("a",{href:e.url,className:f,onClick:c,ref:a,children:u})};e.s(["N",0,({items:e=[],maxNumberOfLines:t,variant:n,className:o,activeChipId:s,onClick:c})=>{let u=(0,a.useRef)(null),f=(0,a.useRef)(null),p=(0,a.useRef)({}),[h,m]=(0,a.useState)(!1),[v,_]=(0,a.useState)(e.length),[g,b]=(0,a.useState)(!1);(0,a.useMemo)(()=>{let t=p.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 y=(0,a.useCallback)(()=>{let n=u.current;if(!n)return;let r=e=>e?e.getBoundingClientRect().width:0,a=r(n),i=Math.max(Number(t)||0,0),l=()=>{_(e.length),b(!1)};if(h||0===i||a<=0)return void l();let o=(()=>{try{let e=getComputedStyle(n),t=parseFloat(e.columnGap||e.gap||"12");return Number.isNaN(t)?12:t}catch{return 12}})(),s=r(f.current),c=e.map(e=>r(p.current[e.url]));if(c.some(e=>0===e))return void l();let d=1,m=0,v=0;for(let e of c){let t=d===i?s+o:0,n=0===m?e:m+o+e;if(n+t<=a-.5)m=n,v++;else{if(++d>i)break;m=e,v++}}b(v<e.length),_(v)},[h,e,t]);(0,a.useLayoutEffect)(()=>{let e=u.current;if(!e)return;let t=new ResizeObserver(()=>{requestAnimationFrame(y)});return t.observe(e),requestAnimationFrame(y),()=>{t.disconnect()}},[y]),(0,a.useEffect)(()=>{requestAnimationFrame(y)},[y]);let x=h||(t??0)<=0||!g;return(0,r.jsx)("div",{className:(0,l.default)(o,w.wrapper,{[w.gray]:"gray"===n,[w.white]:"white"===n}),children:(0,r.jsxs)("div",{ref:u,className:w.container,children:[e.map((e,t)=>(0,r.jsx)(N,{chip:e,hidden:!x&&t>=v,activeChipId:s,onClick:c,refCallback:t=>{p.current[e.url]=t}},e.url)),!x&&g&&(0,r.jsxs)("button",{type:"button",ref:f,className:(0,l.default)(w.chip,w.more),onClick:()=>{$(d.chip,"Еще"),m(!0)},children:[(0,r.jsx)(i.IconFdsDotsVerticalO,{size:20}),(0,r.jsx)("span",{className:w.label,children:"Еще"})]}),(x||!g)&&(0,r.jsxs)("button",{type:"button",ref:f,className:(0,l.default)(w.chip,w.more,w.hidden),tabIndex:-1,"aria-hidden":"true",children:[(0,r.jsx)(i.IconFdsDotsVerticalO,{size:20}),(0,r.jsx)("span",{className:w.label,children:"Еще"})]})]})})},"a",0,k,"h",0,$,"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,r]of Array.from(e.entries()))n.startsWith("utm_")&&(t[n]=r);return Object.keys(t).length>0?t:null})())&&!document.cookie.split(";").some(e=>e.trim().startsWith("utm_params="))&&y("utm_params",e,90),e&&y("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 r=document.getElementById("mainHomeBanner"),a=!1,i=0,l=0,o=window.innerWidth<768,s=()=>window.scrollY||document.documentElement.scrollTop,c=()=>{let e=window.innerWidth<768;e!==o&&(o=e,l=0)},d=function(){let o,c=s(),d=document.getElementById("headerNotice"),u=null==d?void 0:d.getAttribute("data-opening");if("true"===u)return;l||(o=document.querySelector(":root"))&&(l=parseFloat(window.getComputedStyle(o).getPropertyValue("--fixed-header-height")),i=s());let f=c<l,p=c<((null==r?void 0:r.clientHeight)||0);if(n&&p||f){a=!1,e(!1),t(!0);return}e(a=c>i),a&&setTimeout(()=>t(!1),50);let h=a?"0px":"false"===u?`${l}px`:"";document.documentElement.style.setProperty("--new-header-height-desktop",h),document.documentElement.style.setProperty("--new-header-height-mobile",h),i=c<=0?0:c};return window.addEventListener("scroll",d),window.addEventListener("resize",c),()=>{window.removeEventListener("scroll",d),window.removeEventListener("resize",c)}}],20533)},67585,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"BailoutToCSR",{enumerable:!0,get:function(){return a}});let r=e.r(32061);function a({reason:e,children:t}){if("u"<typeof window)throw Object.defineProperty(new r.BailoutToCSRError(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return t}},9885,(e,t,n)=>{"use strict";function r(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"encodeURIPath",{enumerable:!0,get:function(){return r}})},52157,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"PreloadChunks",{enumerable:!0,get:function(){return s}});let r=e.r(43476),a=e.r(74080),i=e.r(63599),l=e.r(9885),o=e.r(43369);function s({moduleIds:e}){if("u">typeof window)return null;let t=i.workAsyncStorage.getStore();if(void 0===t)return null;let n=[];if(t.reactLoadableManifest&&e){let r=t.reactLoadableManifest;for(let t of e){if(!r[t])continue;let e=r[t].files;n.push(...e)}}if(0===n.length)return null;let c=(0,o.getAssetTokenQuery)();return(0,r.jsx)(r.Fragment,{children:n.map(e=>{let n=`${t.assetPrefix}/_next/${(0,l.encodeURIPath)(e)}${c}`;return e.endsWith(".css")?(0,r.jsx)("link",{precedence:"dynamic",href:n,rel:"stylesheet",as:"style",nonce:t.nonce},e):((0,a.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 r=e.r(43476),a=e.r(71645),i=e.r(67585),l=e.r(52157);function o(e){return{default:e&&"default"in e?e.default:e}}let s={loader:()=>Promise.resolve(o(()=>null)),loading:null,ssr:!0},c=function(e){let t={...s,...e},n=(0,a.lazy)(()=>t.loader().then(o)),c=t.loading;function d(e){let o=c?(0,r.jsx)(c,{isLoading:!0,pastDelay:!0,error:null}):null,s=!t.ssr||!!t.loading,d=s?a.Suspense:a.Fragment,u=t.ssr?(0,r.jsxs)(r.Fragment,{children:["u"<typeof window?(0,r.jsx)(l.PreloadChunks,{moduleIds:t.modules}):null,(0,r.jsx)(n,{...e})]}):(0,r.jsx)(i.BailoutToCSR,{reason:"next/dynamic",children:(0,r.jsx)(n,{...e})});return(0,r.jsx)(d,{...s?{fallback:o}:{},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 a}});let r=e.r(55682)._(e.r(69093));function a(e,t){let n={};"function"==typeof e&&(n.loader=e);let a={...n,...t};return(0,r.default)({...a,modules:a.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)},24359,e=>{"use strict";let t={getItem:e=>{if(typeof document>"u")return null;let t=document.cookie.split(";").find(t=>t.split("=")[0].trim()===e);return t?t.split("=")[1]??null:null},setItem:(e,t,n={})=>{if(typeof document>"u")return;(n={path:"/",...n}).expires instanceof Date&&(n.expires=n.expires.toUTCString());let r=`${encodeURIComponent(e)}=${encodeURIComponent(t)}`;for(let e in n){if(!n.hasOwnProperty(e))continue;r+=`; ${e}`;let t=n[e];!0!==t&&(r+=`=${t}`)}document.cookie=r},removeItem:e=>{t.setItem(e,"",{"max-age":-1})}};e.s(["a",0,t])},56322,e=>{e.v(t=>Promise.all(["static/chunks/088copqck6gt0.js"].map(t=>e.l(t))).then(()=>t(32200)))}]);