(()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,34348,16727,47611,e=>{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 o(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 s=["xxs","xs","s","m","l"],c=(0,a.g)("button"),u={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`}},d=(0,n.forwardRef)(({as:e,appearance:a="fill",children:c,className:d,disabled:p=!1,iconLeft:f,iconRight:h,label:m,pending:g,shape:v="default",size:w="m",stretch:b=!1,variant:x="primary",type:_,dataId:y,dataQa:C,style:k,onClick:$,...j},O)=>{let N=e||"button",I=m||c,S=(0,n.useMemo)(()=>"icon"===v||"circle-icon"===v,[v]),A="string"==typeof w&&s.includes(w),T=(0,n.useMemo)(()=>{let e={};if(w&&!A){let t=w?"string"==typeof w?w.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}),{}):w:{};e=r.B.reduce((e,n)=>{let i="xs"===n?`${u.button}--${t[n]}`:`${u.button}--${t[n]}-${n}`;return{...e,[i]:!!t[n]}},{})}return e},[A,w]),R=(0,n.useMemo)(()=>({[u.button]:!0,[`${u.button}--${x}`]:!0,[`${u.button}--${w}`]:A,[u.states.iconOnly]:S,[u.states.stretch]:!0===b,[`${u.states.stretch}:${b}`]:"string"==typeof b,[u.states.ghost]:"ghost"===a,[u.states.outline]:"outline"===a,[u.states.rounded]:"circle-icon"===v,[u.states.iconLeft]:f&&!S,[u.states.iconRight]:h&&!S,[u.states.disabled]:p,...T}),[a,p,f,S,h,A,T,v,w,b,x]),E=(0,n.useMemo)(()=>!!h&&(!S||!f),[f,h,S]),B=(0,n.useCallback)(e=>{p?e.preventDefault():null==$||$(e)},[$,p]);return(0,t.jsxs)(N,{className:(0,i.f)(d,{...R}),ref:O,style:k,type:"button"===N?_||"button":void 0,disabled:"button"===N?p:void 0,"aria-disabled":p||void 0,tabIndex:p?-1:0,onClick:B,...j,"data-qa":C,"data-id":y,children:[f&&(0,t.jsx)("span",{role:"img","aria-hidden":"true",className:(0,i.f)(u.icon,{[u.states.hidden]:g}),children:f}),I&&!S&&(0,t.jsx)("span",{className:(0,i.f)(u.label,{[u.states.hidden]:g}),children:I}),E&&(0,t.jsx)("span",{role:"img","aria-hidden":"true",className:(0,i.f)(u.icon,{[u.states.hidden]:g}),children:h}),g&&(0,t.jsx)("span",{role:"img","aria-hidden":"true",className:u.spinner,children:(0,t.jsx)(l.P,{children:(0,t.jsx)(o,{})})})]})});d.displayName="Button",e.s(["B",0,s,"a",0,d],16727),e.s([],34348),e.s(["f",0,d],47611)},65019,e=>{var t=e.i(43476),n=e.i(7670);let i=(0,e.i(54061).g)("card"),l={card:i,variants:{primary:`${i}--primary`,secondary:`${i}--secondary`}},r=({as:e,className:i,style:r,children:a,variant:o="primary",dataQa:s,dataId:c,...u})=>(0,t.jsx)(e||"div",{className:(0,n.f)(i,l.card,l.variants[o]),style:r,...u,"data-id":c,"data-qa":s,children:a});r.displayName="Card",e.s(["f",0,r])},60822,e=>{var t=e.i(43476),n=e.i(7670);let i=(0,e.i(54061).g)("container"),l=Object.freeze({container:i,states:{narrow:`${i}--narrow`}}),r=({children:e,as:i,fluid:r=!1,className:a="",...o})=>(0,t.jsx)(i||"div",{className:(0,n.f)(l.container,a,{[l.states.narrow]:!r}),...o,children:e});r.displayName="Container",e.s(["f",0,r])},46401,34986,e=>{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"),o=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 s({as:e,size:i="m",withIcon:a=!1,children:c,disabled:u,text:d,inverted:p,onClick:f,className:h,style:m,dataQa:g,dataId:v,...w}){let b=(0,n.f)(o.link,{[o.states.inverted]:p,[o.states.disabled]:u},o.size[i],h),x=d||c;return(0,t.jsx)(e||"a",{className:b,disabled:u,style:m,onClick:f,"aria-disabled":u,tabIndex:u?-1:0,...w,"data-id":v,"data-qa":g,children:a?(0,t.jsxs)("span",{className:o.content,children:[x,(0,t.jsx)(l.P,{className:o.icon,children:(0,t.jsx)(r,{})})]}):x})}s.displayName="Link",e.s([],46401),e.s(["f",0,s],34986)},93562,e=>{var t=e.i(71645);let n={display:"inline-block",lineHeight:0,backfaceVisibility:"hidden"},i={width:"1em",height:"1em",overflowClipMargin:"content-box",overflow:"hidden"},l=e=>t.createElement("svg",{width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.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 r({className:e,style:a,boxSize:o,size:s,onClick:c}){return t.default.createElement("span",{className:e,style:{...n,...c&&{cursor:"pointer"},...s&&{fontSize:`${s}px`},...o&&{width:`${o}px`,height:`${o}px`,display:"inline-flex",alignItems:"center",justifyContent:"center"},...a},...c?{role:"button",tabIndex:"0",onClick:c}:{}},t.default.createElement(l,{viewBox:"0 0 24 24",style:i}))}r.displayName="IconFdsArrowUpRightSmallO",e.s(["K",0,r])},99974,20841,44437,e=>{var t=e.i(71645);let n={display:"inline-block",lineHeight:0,backfaceVisibility:"hidden"},i={width:"1em",height:"1em",overflowClipMargin:"content-box",overflow:"hidden"},l=e=>t.createElement("svg",{width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M19.03 10.28l-6.5 6.5a.75.75 0 01-1.06 0l-6.5-6.5a.75.75 0 111.06-1.06L12 15.19l5.97-5.97a.75.75 0 111.06 1.06z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}));function r({className:e,style:a,boxSize:o,size:s,onClick:c}){return t.default.createElement("span",{className:e,style:{...n,...c&&{cursor:"pointer"},...s&&{fontSize:`${s}px`},...o&&{width:`${o}px`,height:`${o}px`,display:"inline-flex",alignItems:"center",justifyContent:"center"},...a},...c?{role:"button",tabIndex:"0",onClick:c}:{}},t.default.createElement(l,{viewBox:"0 0 24 24",style:i}))}r.displayName="IconFdsChevronDownO",e.s(["m",0,r],99974);let a={display:"inline-block",lineHeight:0,backfaceVisibility:"hidden"},o={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:"M6.999 7a5 5 0 1110 0 5 5 0 01-10 0zm5-3.5a3.5 3.5 0 100 7 3.5 3.5 0 000-7zM10.012 14h3.974c1.52 0 2.497 0 3.345.337a4.75 4.75 0 011.916 1.402c.579.705.875 1.636 1.335 3.085l.05.159.332 1.04a.75.75 0 11-1.43.455l-.33-1.04c-.53-1.664-.744-2.293-1.117-2.748a3.249 3.249 0 00-1.31-.959c-.547-.217-1.212-.23-2.958-.23h-3.64c-1.746 0-2.41.013-2.957.23a3.249 3.249 0 00-1.311.959c-.373.454-.587 1.084-1.116 2.748l-.331 1.04a.75.75 0 11-1.43-.455l.331-1.04.05-.159c.461-1.449.757-2.38 1.336-3.086a4.752 4.752 0 011.916-1.4C7.515 14 8.492 14 10.012 14z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}));function c({className:e,style:n,boxSize:i,size:l,onClick:r}){return t.default.createElement("span",{className:e,style:{...a,...r&&{cursor:"pointer"},...l&&{fontSize:`${l}px`},...i&&{width:`${i}px`,height:`${i}px`,display:"inline-flex",alignItems:"center",justifyContent:"center"},...n},...r?{role:"button",tabIndex:"0",onClick:r}:{}},t.default.createElement(s,{viewBox:"0 0 24 24",style:o}))}c.displayName="IconFdsUserO",e.s(["e",0,c],20841);var u=e.i(63687),d=e.i(34650);let p="finuslugi-header-height-change",f=(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}`};e.s(["H",0,p,"h",0,(e,t,n)=>(0,u.h)({eventCategory:d.H,eventActionType:e,eventActionText:t,eventLabel:n}),"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="))&&f("utm_params",e,90),e&&f("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,o=window.innerWidth<768,s=()=>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)},u=()=>{let e=window.innerWidth<768;e!==o&&(o=e,a=0)},d=function(){let o=s(),u=document.getElementById("headerNotice");if((null==u?void 0:u.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=s()}})();let d=o<a,p=o<((null==i?void 0:i.clientHeight)||0);if(n&&p||d){l=!1,e(!1),t(!0),c(`${a}px`);return}e(l=o>r),l&&setTimeout(()=>t(!1),50),c(l?"0px":`${a}px`),r=o<=0?0:o},f=()=>{a=0,d()};return window.addEventListener("scroll",d),window.addEventListener("resize",u),window.addEventListener(p,f),()=>{window.removeEventListener("scroll",d),window.removeEventListener("resize",u),window.removeEventListener(p,f)}}],44437)},3366,e=>{var t=e.i(71645);let n={display:"inline-block",lineHeight:0,backfaceVisibility:"hidden"},i={width:"1em",height:"1em",overflowClipMargin:"content-box",overflow:"hidden"},l=e=>t.createElement("svg",{width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M11.28 17.03l4.5-4.5a.75.75 0 000-1.06l-4.5-4.5a.75.75 0 10-1.06 1.06L14.19 12l-3.97 3.97a.75.75 0 101.06 1.06z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}));function r({className:e,style:a,boxSize:o,size:s,onClick:c}){return t.default.createElement("span",{className:e,style:{...n,...c&&{cursor:"pointer"},...s&&{fontSize:`${s}px`},...o&&{width:`${o}px`,height:`${o}px`,display:"inline-flex",alignItems:"center",justifyContent:"center"},...a},...c?{role:"button",tabIndex:"0",onClick:c}:{}},t.default.createElement(l,{viewBox:"0 0 24 24",style:i}))}r.displayName="IconFdsChevronRightSmallO",e.s(["_",0,r])},74100,e=>{var t=e.i(43476),n=e.i(71645),i=e.i(70703),l=e.i(86473),r=e.i(99974),a=e.i(30382),o=e.i(20841);e.i(34348);var s=e.i(47611),c=e.i(60822),u=e.i(7670),d=e.i(85900),p=e.i(57029),f=e.i(63687),h=e.i(22468),m=e.i(40383),g=e.i(44437),v=e.i(34650);e.i(46401);var w=e.i(34986),b=e.i(3366),x=e.i(71121),_=e.i(65019),y=e.i(93562);let C={display:"inline-block",lineHeight:0,backfaceVisibility:"hidden"},k={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 j({className:e,style:t,boxSize:i,size:l,onClick:r}){return n.default.createElement("span",{className:e,style:{...C,...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:k}))}j.displayName="IconFdsDotsVerticalO";let O=(0,h.g)("navigation-chips","sc"),N=Object.freeze({wrapper:`${O}__wrapper`,gray:`${O}__variantGray`,white:`${O}__variantWhite`,container:`${O}__container`,chip:`${O}__chip`,more:`${O}__chip--more`,active:`${O}__chip--active`,icon:`${O}__icon`,label:`${O}__label`,hidden:`${O}__hidden`}),I=(0,h.g)("navigation-content","sc"),S=Object.freeze({contentWrapper:`${I}__content-wrapper`,content:`${I}__content`,contentOpen:`${I}__content--open`,contentHeader:`${I}__content-header`,contentTitle:`${I}__content-title`,contentTitleUrl:`${I}__content-title--url`,contentTitleLink:`${I}__content-title--link`,contentTitleNew:`${I}__content-title--new`,new:`${I}__new`,newInline:`${I}__new-inline`,vip:`${I}__vip`,arrowIcon:`${I}__arrow-icon`,links:`${I}__links`,linksColumns:`${I}__links--columns`,linksTitleless:`${I}__links--titleless`,removed:`${I}__removed`,hidden:`${I}__content--hidden`}),A=({chip:e,hidden:n,onClick:i,refCallback:l,activeChipId:r})=>{let a=!!i,o=()=>{if(a)return null==i?void 0:i(e.url);(0,g.h)(f.D.chip,e.title,`${e.title}_${e.url}`)},s=(0,t.jsxs)(t.Fragment,{children:[e.icon&&(0,t.jsx)("span",{className:N.icon,"aria-hidden":"true",children:e.icon}),(0,t.jsx)("span",{className:N.label,children:e.title}),e.arrow&&(0,t.jsx)(y.K,{size:24})]}),c=(0,u.f)(N.chip,{[N.hidden]:n,[S.new]:!!e.new,[S.vip]:!!e.vip,[N.active]:e.url===r});return a?(0,t.jsx)("button",{type:"button",className:c,onClick:o,ref:l,children:s}):(0,t.jsx)("a",{href:e.url,className:c,onClick:o,ref:l,children:s})},T=({items:e=[],maxNumberOfLines:i,variant:l,className:r,activeChipId:a,onClick:o,moreButtonOptions:s})=>{let c=(0,n.useRef)(null),d=(0,n.useRef)(null),p=(0,n.useRef)([]),h=(null==s?void 0:s.label)??"Еще",m="Еще",v=(null==s?void 0:s.showIcon)??!0,w=(0,u.f)(N.chip,N.more,null==s?void 0:s.className),[b,x]=(0,n.useState)(!1),[_,y]=(0,n.useState)(e.length),[C,k]=(0,n.useState)(!1),$=(0,n.useCallback)(()=>{let t=c.current;if(!t)return;let n=e=>e?e.getBoundingClientRect().width:0,l=n(t),r=Math.max(Number(i)||0,0),a=()=>{y(e.length),k(!1)};if(b||0===r||l<=0)return void a();let o=(()=>{try{let e=getComputedStyle(t),n=parseFloat(e.columnGap||e.gap||"12");return Number.isNaN(n)?12:n}catch{return 12}})(),s=n(d.current),u=e.map((e,t)=>n(p.current[t]));if(u.some(e=>0===e))return void a();let f=1,h=0,m=0;for(let e of u){let t=f===r?s+o:0,n=0===h?e:h+o+e;if(n+t<=l-.5)h=n,m++;else{if(++f>r)break;h=e,m++}}k(m<e.length),y(m)},[b,e,i]);(0,n.useLayoutEffect)(()=>{let e=c.current;if(!e)return;let t=new ResizeObserver(()=>{requestAnimationFrame($)});return t.observe(e),requestAnimationFrame($),()=>{t.disconnect()}},[$]),(0,n.useEffect)(()=>{requestAnimationFrame($)},[$]);let O=b||(i??0)<=0||!C;return(0,t.jsx)("div",{className:(0,u.f)(r,N.wrapper,{[N.gray]:"gray"===l,[N.white]:"white"===l}),children:(0,t.jsxs)("div",{ref:c,className:N.container,children:[e.map((e,n)=>(0,t.jsx)(A,{chip:e,hidden:!O&&n>=_,activeChipId:a,onClick:o,refCallback:e=>{p.current[n]=e}},`${e.url}_${n}`)),!O&&C&&(0,t.jsxs)("button",{type:"button",ref:d,className:w,"aria-label":m,onClick:()=>{(0,g.h)(f.D.chip,m),x(!0)},children:[v&&(0,t.jsx)(j,{size:20}),(0,t.jsx)("span",{className:N.label,children:h})]}),(O||!C)&&(0,t.jsxs)("button",{type:"button",ref:d,className:(0,u.f)(w,N.hidden),tabIndex:-1,"aria-hidden":"true",children:[v&&(0,t.jsx)(j,{size:20}),(0,t.jsx)("span",{className:N.label,children:h})]})]})})},R={display:"inline-block",lineHeight:0,backfaceVisibility:"hidden"},E={width:"1em",height:"1em",overflowClipMargin:"content-box",overflow:"hidden"},B=e=>n.createElement("svg",{width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("defs",null,n.createElement("clipPath",{id:"fds-chat-dots-square-add-o_svg__a"},n.createElement("path",{fill:"#fff",fillOpacity:0,d:"M0 0h24v24.001H0z"}))),n.createElement("g",{clipPath:"url(#fds-chat-dots-square-add-o_svg__a)"},n.createElement("path",{d:"M18.25 5.75V8c0 .42.33.75.75.75s.75-.33.75-.75V5.75H22c.42 0 .75-.33.75-.75s-.33-.75-.75-.75h-2.25V2c0-.42-.33-.75-.75-.75s-.75.33-.75.75v2.25H16c-.42 0-.75.33-.75.75s.33.75.75.75h2.25zm-4.546-2.23c-.259-.014-.827-.02-1.704-.02-.676 0-1.129.002-1.358.007a7.963 7.963 0 00-.779.047 7.246 7.246 0 00-2.328.689 7.204 7.204 0 00-4.028 6.4c-.005.228-.007.68-.007 1.357 0 .671.002 1.121.007 1.349.007.324.023.584.047.778.057.474.158.933.303 1.378v.001a7.17 7.17 0 001.76 2.867 7.169 7.169 0 002.92 1.777 7.436 7.436 0 002.108.341c.228.006.68.009 1.355.009.67 0 1.12-.003 1.346-.009a7.12 7.12 0 00.794-.057c.476-.05.96-.162 1.455-.333a.71.71 0 01.685.102c.662.48 1.32.829 1.976 1.047a4.85 4.85 0 001.482.264c.142.002.278-.004.41-.016a10.758 10.758 0 01-.222-.535c-.45-1.164-.676-2.305-.676-3.423a.74.74 0 01.116-.401 7.211 7.211 0 001.08-3.01c.024-.196.04-.456.047-.78.005-.228.007-.678.007-1.349 0-.214.002-.488.006-.822.003-.22.004-.376.004-.468 0-.42.33-.75.75-.75s.75.33.75.75c0 .098-.001.26-.004.486A70.38 70.38 0 0022 12c0 .682-.003 1.142-.008 1.381a9.337 9.337 0 01-.058.93 8.752 8.752 0 01-.393 1.737 8.757 8.757 0 01-.788 1.7c.026.866.217 1.757.571 2.674a8.847 8.847 0 00.6 1.249c.11.224.136.42.078.587-.057.168-.198.306-.423.416-.139.068-.32.13-.543.189a5 5 0 01-1.316.15 6.336 6.336 0 01-1.94-.34 8.598 8.598 0 01-2.064-1.035c-.471.14-.939.236-1.402.286a8.23 8.23 0 01-.93.067c-.24.006-.701.009-1.384.009-.688 0-1.152-.003-1.392-.009a8.222 8.222 0 01-.937-.067 8.672 8.672 0 01-3.989-1.538 8.707 8.707 0 01-2.077-2.078 8.705 8.705 0 01-1.597-4.927A78.972 78.972 0 012 12c0-.687.003-1.15.008-1.39.008-.376.027-.686.057-.93a8.737 8.737 0 01.832-2.806 8.69 8.69 0 013.977-3.977 8.7 8.7 0 012.803-.831c.246-.03.557-.05.933-.058C10.85 2.003 11.313 2 12 2c.902 0 1.495.007 1.779.021.42.021.732.367.712.787a.743.743 0 01-.787.711zm-5.91 9.19a1 1 0 111.412-1.414 1 1 0 01-1.413 1.415zm3.497-1.412a1 1 0 101.418 1.41 1 1 0 00-1.418-1.41zm3.502 1.413a1 1 0 111.414-1.415 1 1 0 01-1.414 1.415z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"})));function z({className:e,style:t,boxSize:i,size:l,onClick:r}){return n.default.createElement("span",{className:e,style:{...R,...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(B,{viewBox:"0 0 24 24",style:E}))}z.displayName="IconFdsChatDotsSquareAddO";let M={display:"inline-block",lineHeight:0,backfaceVisibility:"hidden"},P={width:"1em",height:"1em",overflowClipMargin:"content-box",overflow:"hidden"},L=e=>n.createElement("svg",{width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("defs",null,n.createElement("clipPath",{id:"fds-menu-skewed-o_svg__a"},n.createElement("path",{fill:"#fff",fillOpacity:0,d:"M0 0h24v24.001H0z"}))),n.createElement("g",{clipPath:"url(#fds-menu-skewed-o_svg__a)"},n.createElement("path",{d:"M7.75 5a.75.75 0 100 1.5h13.5a.75.75 0 100-1.5H7.75zM22 12a.75.75 0 00-.75-.75H2.75a.75.75 0 100 1.5h18.5A.75.75 0 0022 12zm-5.75 5.5a.75.75 0 110 1.5H2.75a.75.75 0 110-1.5h13.5z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"})));function F({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(L,{viewBox:"0 0 24 24",style:P}))}F.displayName="IconFdsMenuSkewedO";let W=()=>{let e=(0,n.useRef)(null),t=(0,n.useCallback)(()=>{e.current&&(clearTimeout(e.current),e.current=null)},[]),i=(0,n.useCallback)((t,n)=>{e.current&&clearTimeout(e.current),e.current=setTimeout(()=>{e.current=null,t()},n)},[]);return(0,n.useEffect)(()=>t,[t]),{start:i,clear:t,pending:!!e.current}},H=(0,h.g)("certificates-warning-banner","sc"),D=(0,h.g)("certificates-warning-popup","sc"),U=Object.freeze({wrapper:`${H}`,container:`${H}__container`,content:`${H}__content`,info:`${H}__info`,image:`${H}__image`,text:`${H}__text`,title:`${H}__title`,description:`${H}__description`,details:`${H}__details`,buttons:`${H}__buttons`,button:`${H}__button`,closeButton:`${H}__close-button`,mobileActivator:`${H}__mobile-activator`}),V=Object.freeze({modal:`${D}__modal`,desktopCloseButton:`${D}__desktop-close-button`,mobilePopup:`${D}__mobile-popup`,mobileContentContainer:`${D}__mobile-content-container`,mobileCloseButton:`${D}__mobile-close-button`,mobileDialog:`${D}__mobile-dialog`,content:`${D}__content`,image:`${D}__image`,text:`${D}__text`,title:`${D}__title`,description:`${D}__description`,actions:`${D}__actions`,primaryActions:`${D}__primary-actions`,divider:`${D}__divider`,explanation:`${D}__explanation`,button:`${D}__button`,gosuslugiButton:`${D}__gosuslugi-button`,gosuslugiIcon:`${D}__gosuslugi-icon`}),G="fu_certificates_access_confirmed",q="fu_certificates_banner_dismissed",Y="fu_external_link_warning_shown",K=new Map,Z=e=>{if(typeof window>"u")return"1"===K.get(e);try{return"1"===window.localStorage.getItem(e)||"1"===K.get(e)}catch{return"1"===K.get(e)}},J=e=>{if(K.set(e,"1"),!(typeof window>"u"))try{window.localStorage.setItem(e,"1")}catch{}},Q=(e,t)=>{if(!e)return null;try{let n,i,l=new URL(e.toString(),t.href);return"http:"!==l.protocol&&"https:"!==l.protocol||(n=l.hostname,i=t.hostname,n===i||"finuslugi.ru"===n||n.endsWith(".finuslugi.ru"))?null:l}catch{return null}},X={"uat-mp.beta.moex.com":"//chat-marketplace.beta.moex.com","finuslugi.ru":"//chat.finuslugi.ru","dev-rc.beta.moex.com":"//dev-opbot.tech.finuslugi.ru"},ee=(0,n.createContext)({isAuth:!1,isHeaderHidden:!1,isHeaderTransparent:!1,openedBlock:null,setOpenedBlock:()=>null,openedSection:null,setOpenedSection:()=>null,isNavigationOpen:!1,isNavigationMounted:!1,navMenuItemsRef:{current:null},navigationRef:{current:null},ignoreClicks:!1,setIgnoreClicks:()=>null,isChatModalOpen:!1,setIsChatModalOpen:()=>null,isChatLoading:!1,fixedContainerRef:{current:null},headerRef:{current:null}});function et(){return(0,n.useContext)(ee)}let en=e=>{let[i,l]=(0,n.useState)(!1),[r,a]=(0,n.useState)(!1),[o,s]=(0,n.useState)(!!e.isMainBannerPage),{isChatModalOpen:c,setIsChatModalOpen:u,isChatLoading:d}=(()=>{let[e,t]=(0,n.useState)(!1),[i,l]=(0,n.useState)(!1),r=(0,n.useRef)(!1),a=e=>{r.current=e,l(e)};return(0,n.useEffect)(()=>{if(typeof window>"u")return;let e=(()=>{let{hostname:e}=window.location;return Object.prototype.hasOwnProperty.call(X,e)?X[e]:X["finuslugi.ru"]})(),n="webchat_main";window.supportWidget={craftTalk:{isOpened:!1,setConfig:t=>{if(t.host&&(e=t.host),t.channel&&(n=t.channel),t.user){let e="function"==typeof t.user?t.user:()=>({...t.user});window.__WebchatUserCallback=e}},open:()=>new Promise(e=>{e()}),close:()=>null,toggle:()=>null}};let i=null;window.supportWidget&&window.supportWidget.craftTalk&&(window.supportWidget.craftTalk.open=()=>new Promise((l,o)=>{var s,c;let u,d;r.current?o(Error("chat is already opened")):i?(i.openWidget(),t(!1),l()):(a(!0),window.getWebChatCraftTalkExternalControl=e=>{var n;i=e;let r=document.querySelector(".webchat");r&&new MutationObserver(e=>{e.forEach(e=>{if("style"===e.attributeName){let e=document.querySelector(".webchat"),t=!!e&&"none"!==e.style.display;window.supportWidget&&window.supportWidget.craftTalk&&(window.supportWidget.craftTalk.isOpened=t)}})}).observe(r,{attributes:!0,attributeFilter:["style"]}),null!=(n=window.supportWidget)&&n.craftTalk&&(window.supportWidget.craftTalk.close=i.closeWidget),null==i||i.openWidget(),a(!1),t(!1),l()},s=e,c=n,(u=document.createElement("link")).rel="stylesheet",u.type="text/css",u.href=`${s}/assets/css/${c}`,document.head.appendChild(u),(d=document.createElement("script")).src=`${s}/get-bootstrap/${c}`,d.defer=!0,document.body.appendChild(d))}),window.supportWidget.craftTalk.toggle=()=>{var e,t,n,i;null!=(t=null==(e=window.supportWidget)?void 0:e.craftTalk)&&t.isOpened?window.supportWidget.craftTalk.close():null==(i=null==(n=window.supportWidget)?void 0:n.craftTalk)||i.open()})},[]),{isChatModalOpen:e,setIsChatModalOpen:t,isChatLoading:i}})(),[p,f]=(0,n.useState)(null),[h,v]=(0,n.useState)(null),[w,b]=(0,n.useState)(!1),[x,_]=(0,n.useState)(!1),[y,C]=(0,n.useState)(!1),k=(0,n.useRef)(null),$=(0,m.u)(w),j=(0,n.useRef)(null),O=(0,n.useRef)(null),N=(0,n.useRef)(null),I=(0,n.useRef)(null),S=(0,n.useCallback)(()=>{$.current&&$.current.scrollTo({top:0})},[$]),A=(0,n.useCallback)(e=>{v(e),S()},[S]),T=(0,n.useCallback)(e=>{j.current&&clearTimeout(j.current),e&&_(!0),e||(j.current=setTimeout(()=>{_(!1),A(null)},300))},[A]),R=(0,n.useCallback)((e,t,n)=>{if(t&&A(t),!n&&e===p||!e){T(!w),b(!w);return}f(e),T(!0),b(!0)},[p,A,w,T]),E=(0,n.useCallback)(()=>{O.current&&clearTimeout(O.current),C(!0),O.current=setTimeout(()=>{C(!1)},650)},[]);return(0,n.useEffect)(()=>{l(!!document.cookie.includes("auth.gtm_customer_id"));let t=(0,g.s)(a,s,e.isMainBannerPage);return(0,g.i)(),t},[]),(0,t.jsx)("header",{children:(0,t.jsx)(ee.Provider,{value:{isAuth:i,isHeaderHidden:r,isHeaderTransparent:o,openedBlock:p,setOpenedBlock:R,openedSection:h,setOpenedSection:A,isNavigationOpen:w,isNavigationMounted:x,navMenuItemsRef:k,navigationRef:$,ignoreClicks:y,setIgnoreClicks:E,isChatModalOpen:c,setIsChatModalOpen:u,isChatLoading:d,fixedContainerRef:N,headerRef:I},children:e.children})})},ei=(0,h.g)("city-select","sc"),el=Object.freeze({button:`${ei}__button`,minimal:`${ei}__minimal`,full:`${ei}__full`}),er=(0,i.default)(()=>e.A(17410).then(e=>e.CitySelectModal),{ssr:!1}),ea=(0,i.default)(()=>e.A(63747).then(e=>e.StartChoicePopup),{ssr:!1}),eo=({initialTown:e})=>{var i;let l=(0,p.u)(),r=(null==(i=l.town)?void 0:i.name)||e||"Вся Россия",{setIsChatModalOpen:a,isChatModalOpen:o}=et(),{startPopupVisible:c,setStartPopupVisible:d,popupVisible:f}=l,h=(0,p.a)(f),m=(0,p.a)(c),g=(0,n.useRef)();(0,n.useEffect)(()=>{f&&(g.current="popup")},[f]),(0,n.useEffect)(()=>{o&&(g.current="chat")},[o]),(0,n.useEffect)(()=>{c&&(g.current="startPopup")},[c]),(0,n.useEffect)(()=>{g.current&&("chat"===g.current&&c?d(!1):["startPopup","popup"].includes(g.current)&&o&&a(!1))},[f,o,c,d,a]);let v={appearance:"ghost",size:"xs",onClick:()=>l.handleButtonClick(!1),iconLeft:(0,t.jsx)(p.Y,{size:24})};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.f,{...v,className:(0,u.f)(el.button,el.full),label:r}),(0,t.jsx)(s.f,{...v,className:(0,u.f)(el.button,el.minimal),shape:"icon"}),h&&(0,t.jsx)(er,{}),m&&(0,t.jsx)(ea,{})]})},es=({label:e,onClick:n,eventActionText:i,eventLabel:l,...r})=>(0,t.jsx)(s.f,{label:e,onClick:e=>{null==n||n(e),(0,f.h)({eventCategory:v.H,eventActionType:f.D.button,eventActionText:i||"",eventLabel:l||""})},...r}),ec=({onClick:e,eventActionType:n,eventActionText:i,eventLabel:l,...r})=>(0,t.jsx)(w.f,{onClick:t=>{null==e||e(t),(0,f.h)({eventCategory:v.H,eventActionType:n||f.D.link,eventActionText:i||"",eventLabel:l||""})},...r}),eu={display:"inline-block",lineHeight:0,backfaceVisibility:"hidden"},ed={width:"1em",height:"1em",overflowClipMargin:"content-box",overflow:"hidden"},ep=e=>n.createElement("svg",{width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M7.22 12.53a.75.75 0 010-1.06l6.5-6.5a.75.75 0 111.06 1.06L8.81 12l5.97 5.97a.75.75 0 11-1.06 1.06l-6.5-6.5z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}));function ef({className:e,style:t,boxSize:i,size:l,onClick:r}){return n.default.createElement("span",{className:e,style:{...eu,...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(ep,{viewBox:"0 0 24 24",style:ed}))}ef.displayName="IconFdsChevronLeftO";let eh=(0,h.g)("header-chat-modal-body","sc"),em=Object.freeze({wrapper:`${eh}__wrapper`,cardButton:`${eh}__card-button`,card:`${eh}__card`,cardTitle:`${eh}__card-title`,cardSubtitle:`${eh}__card-subtitle`,button:`${eh}__button`}),eg=()=>{let e=et();return(0,t.jsxs)("div",{className:em.wrapper,children:[(0,t.jsx)(es,{className:em.cardButton,variant:"secondary",pending:e.isChatLoading,onClick:()=>{var e,t,n;return null==(n=null==(t=null==(e=null==window?void 0:window.supportWidget)?void 0:e.craftTalk)?void 0:t.open)?void 0:n.call(t)},eventActionText:"Напишите в чат",children:(0,t.jsxs)(_.f,{className:em.card,variant:"secondary",children:[(0,t.jsxs)("div",{className:em.cardTitle,children:[(0,t.jsx)("img",{src:"https://finuslugi.ru/icons/chaticons/new/chat_icon_hover.svg",alt:"chat",width:24,height:24,loading:"lazy"}),"Напишите в чат"]}),(0,t.jsxs)("p",{className:em.cardSubtitle,children:["Виртуальный ассистент доступен 24/7, ",(0,t.jsx)("br",{}),"операторы — с 6:00 до 23:59 мск"]})]})}),!1]})},ev=({data:e,isMobile:i})=>{let l=et();return(0,t.jsx)("div",{className:S.contentWrapper,children:e.map(e=>(0,t.jsx)(n.Fragment,{children:e.sections.map(e=>{var n;return(0,t.jsxs)("div",{className:(0,u.f)(S.content,{[S.hidden]:l.openedSection!==e.id,[S.contentOpen]:!!l.openedSection}),children:[(0,t.jsx)("div",{className:S.contentHeader,children:(0,t.jsx)("label",{children:e.title})}),null==(n=e.content)?void 0:n.map((n,l)=>{var r,a;return(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{children:(0,t.jsx)("a",{className:(0,u.f)(S.contentTitle,{[S.removed]:!n.title,[S.contentTitleUrl]:!!n.url,[S.contentTitleLink]:!!e.isSeeAllLinkAvailable,[S.contentTitleNew]:!!n.new}),href:e.isSeeAllLinkAvailable?n.url:void 0,children:(0,t.jsxs)("span",{children:[e.isSeeAllLinkAvailable&&(0,t.jsx)("div",{className:S.arrowIcon,children:(0,t.jsx)(y.K,{})}),n.title]})})}),!(null!=(r=n.links)&&r.length)&&(0,t.jsx)(T,{items:n.chips||[],maxNumberOfLines:e.content.length<=1?99:i?3:2}),!!(null!=(a=n.links)&&a.length)&&(0,t.jsx)("div",{className:(0,u.f)(S.links,{[S.linksColumns]:!!n.columns,[S.linksTitleless]:!n.title}),children:n.links.map((e,n)=>(0,t.jsxs)("a",{href:e.url,onClick:()=>(0,g.h)(f.D.link,e.title,`${e.title}_${e.url}`),children:[(0,t.jsx)("div",{className:S.arrowIcon,children:(0,t.jsx)(y.K,{})}),(0,t.jsxs)("span",{children:[(0,t.jsx)("span",{children:e.title}),!!e.new&&(0,t.jsx)("span",{className:(0,u.f)({[S.newInline]:!!e.new})})]})]},`${e.url}_${n}`))})]},`${n.url}_${l}`)})]},e.id)})},e.id))})},ew=(0,h.g)("navigation-section-icon","sc"),eb=Object.freeze({icon:`${ew}`}),ex={IconFdsAcademicCapO:()=>e.A(16973).then(({navigationSectionIcons:e})=>e.IconFdsAcademicCapO),IconFdsBankO:()=>e.A(16973).then(({navigationSectionIcons:e})=>e.IconFdsBankO),IconFdsBookOpenO:()=>e.A(16973).then(({navigationSectionIcons:e})=>e.IconFdsBookOpenO),IconFdsCalculatorO:()=>e.A(16973).then(({navigationSectionIcons:e})=>e.IconFdsCalculatorO),IconFdsCardO:()=>e.A(16973).then(({navigationSectionIcons:e})=>e.IconFdsCardO),IconFdsChatDotsCircleO:()=>e.A(16973).then(({navigationSectionIcons:e})=>e.IconFdsChatDotsCircleO),IconFdsCoinMultipleO:()=>e.A(16973).then(({navigationSectionIcons:e})=>e.IconFdsCoinMultipleO),IconFdsDotsHorizontalO:()=>e.A(16973).then(({navigationSectionIcons:e})=>e.IconFdsDotsHorizontalO),IconFdsFlashO:()=>e.A(16973).then(({navigationSectionIcons:e})=>e.IconFdsFlashO),IconFdsGraphO:()=>e.A(16973).then(({navigationSectionIcons:e})=>e.IconFdsGraphO),IconFdsLayoutHorizontalO:()=>e.A(16973).then(({navigationSectionIcons:e})=>e.IconFdsLayoutHorizontalO),IconFdsPortfolioO:()=>e.A(16973).then(({navigationSectionIcons:e})=>e.IconFdsPortfolioO),IconFdsRubleCircleO:()=>e.A(16973).then(({navigationSectionIcons:e})=>e.IconFdsRubleCircleO),IconFdsSafeO:()=>e.A(16973).then(({navigationSectionIcons:e})=>e.IconFdsSafeO),IconFdsShieldCheckO:()=>e.A(16973).then(({navigationSectionIcons:e})=>e.IconFdsShieldCheckO),IconFdsWalletO:()=>e.A(16973).then(({navigationSectionIcons:e})=>e.IconFdsWalletO)},e_=e=>Object.prototype.hasOwnProperty.call(ex,e),ey=({name:e,background:i})=>{let[l,r]=(0,n.useState)(null);if((0,n.useEffect)(()=>{if(!e||!e_(e))return void r(null);let t=!0;return ex[e]().then(n=>{t&&r({name:e,component:n})}).catch(()=>{t&&r(null)}),()=>{t=!1}},[e]),!e||!e_(e))return null;let a=(null==l?void 0:l.name)===e?l.component:null;return(0,t.jsx)("div",{className:eb.icon,style:{background:i},children:a&&(0,t.jsx)(a,{})})},eC=(0,h.g)("navigation","sc"),ek=Object.freeze({navigation:`${eC}`,navigationOpening:`${eC}--opening`,navigationClosing:`${eC}--closing`,wrapper:`${eC}__wrapper`,container:`${eC}__container`,containerOpen:`${eC}__container--open`,sections:`${eC}__sections`,sectionsOpen:`${eC}__sections--open`,citySelectButton:`${eC}__city-select-button`,sectionsTitle:`${eC}__sections-title`,sectionsWrapper:`${eC}__sections-wrapper`,section:`${eC}__section`,sectionArrow:`${eC}__section-arrow`,sectionExtra:`${eC}__section--extra`,sectionActive:`${eC}__section--active`,sectionTitle:`${eC}__section-title`,chatWrapper:`${eC}__chat-wrapper`,chatHeader:`${eC}__chat-header`,backButton:`${eC}__back-button`,useful:`${eC}__useful`,usefulOpen:`${eC}__useful--open`,usefulTitle:`${eC}__useful-title`,usefulGrid:`${eC}__useful-grid`,removed:`${eC}__removed`}),e$=({data:e})=>{var i;let l=et(),r=(0,p.u)(),a=(0,x.k)("m"),[o,d]=(0,n.useState)(!0);(0,n.useEffect)(()=>{d(a)},[a]);let h=(0,n.useRef)(null),m=(0,n.useCallback)(()=>{h.current&&clearTimeout(h.current),h.current=setTimeout(()=>l.openedSection?l.setOpenedSection(null):l.isNavigationOpen?l.setOpenedBlock(null):void 0,50)},[l]),w=(0,n.useRef)(!1),_=(0,n.useRef)(null),y=(0,n.useCallback)(()=>{o&&(w.current=!0,_.current=window.onpopstate||null,window.onpopstate=function(){window.history.forward(),m()},window.history.pushState(null,"",window.location.href))},[m,o]),C=(0,n.useCallback)(()=>{w.current=!1,window.onpopstate=_.current,window.history.go(-1)},[]),k=(0,n.useRef)(null),$=(0,n.useCallback)(e=>{if(o||!l.navMenuItemsRef.current||!l.navigationRef.current)return;let t=e.target,n=!l.navMenuItemsRef.current.contains(t)&&!l.navigationRef.current.contains(t);if(n&&!k.current){l.setIgnoreClicks(),k.current=setTimeout(()=>l.setOpenedBlock(null),300);return}!n&&k.current&&(clearTimeout(k.current),k.current=null)},[o,l]),j=(0,n.useRef)(null),O=(0,n.useCallback)(e=>{typeof window>"u"||(e?(j.current=$,window.addEventListener("mousemove",j.current)):j.current&&window.removeEventListener("mousemove",j.current))},[$]);(0,n.useEffect)(()=>{O(l.isNavigationOpen),l.isNavigationOpen&&!w.current&&y(),!l.isNavigationOpen&&w.current&&C()},[l.isNavigationOpen]);let N=(e,t)=>()=>{(0,g.h)(f.D.button,t),l.setOpenedSection(e)},{start:I,clear:S}=W(),A=()=>{o||S()};return(0,t.jsx)("div",{ref:l.navigationRef,className:(0,u.f)(ek.navigation,{[ek.removed]:!l.isNavigationMounted,[ek.navigationOpening]:l.isNavigationOpen,[ek.navigationClosing]:!l.isNavigationOpen}),children:(0,t.jsx)("div",{className:ek.wrapper,children:(0,t.jsxs)(c.f,{className:(0,u.f)(ek.container,{[ek.containerOpen]:!!l.openedSection}),children:[(0,t.jsxs)("div",{className:(0,u.f)(ek.sections,{[ek.sectionsOpen]:!!l.openedSection}),children:[(0,t.jsx)(s.f,{className:ek.citySelectButton,variant:"violet",appearance:"ghost",size:"xs",onClick:()=>r.handleButtonClick(!1),iconLeft:(0,t.jsx)(p.Y,{size:24}),label:(null==(i=r.town)?void 0:i.name)||"Вся Россия"}),e.map(e=>(0,t.jsxs)("ul",{className:(0,u.f)(ek.sectionsWrapper,{[ek.removed]:l.openedBlock!==e.id&&!o}),children:[(0,t.jsx)("div",{className:ek.sectionsTitle,children:v.a[e.id]}),e.sections.map(e=>{let n,i;return(0,t.jsxs)("li",{className:(0,u.f)(ek.section,{[ek.sectionExtra]:!!e.extra,[ek.sectionActive]:l.openedSection===e.id}),onClick:N(e.id,e.title),onMouseEnter:(n=e.id,i=e.title,()=>{o||I(N(n,i),150)}),onMouseLeave:A,children:[l.isNavigationMounted&&(0,t.jsx)(ey,{name:e.uikitIcon,background:e.uikitIconBg}),(0,t.jsx)("span",{className:ek.sectionTitle,children:e.title}),(0,t.jsx)("div",{className:ek.sectionArrow,children:(0,t.jsx)(b._,{size:24})})]},e.id)})]},e.id)),(0,t.jsxs)("div",{className:ek.chatWrapper,children:[(0,t.jsx)("div",{className:ek.chatHeader,children:"Нужна помощь?"}),(0,t.jsx)(eg,{})]})]}),(0,t.jsxs)("button",{type:"button",className:(0,u.f)(ek.backButton,{[ek.removed]:!l.openedSection}),onClick:()=>{(0,g.h)(f.D.button,"Назад"),l.setOpenedSection(null)},children:[(0,t.jsx)(ef,{size:24}),(0,t.jsx)("span",{children:"Назад"})]}),(0,t.jsx)(ev,{data:e,isMobile:o}),(0,t.jsxs)("div",{className:(0,u.f)(ek.useful,{[ek.usefulOpen]:!!l.openedSection}),children:[(0,t.jsx)("div",{className:ek.usefulTitle,children:"Полезное на Финуслугах"}),e.map(e=>(0,t.jsx)(n.Fragment,{children:e.sections.map(e=>{var n;return(0,t.jsx)("div",{className:(0,u.f)(ek.usefulGrid,{[ek.removed]:l.openedSection!==e.id}),children:null==(n=e.useful)?void 0:n.map((e,n)=>(0,t.jsxs)("a",{href:e.url,onClick:()=>(0,g.h)(f.D.link,e.title,`${e.title}_${e.url}`),children:[(0,t.jsx)("div",{children:(0,t.jsx)("img",{src:e.icon,srcSet:e.icon2?`${e.icon}, ${e.icon2} 2x`:void 0,alt:e.title,loading:"lazy"})}),(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:e.title}})]},`${e.title}_${n}`))},e.id)})},e.id))]})]})})})},ej=(0,i.default)(()=>e.A(5122).then(e=>e.CertificatesWarningBanner),{ssr:!1}),eO=(0,i.default)(()=>e.A(1286).then(e=>e.CertificatesWarningPopup),{ssr:!1}),eN=(0,i.default)(()=>e.A(64532).then(e=>e.HeaderMobileAppBanner),{ssr:!1}),eI=({data:e,showcaseUrl:i="https://finuslugi.ru",minioUrl:h="https://assets.finuslugi.ru/mp-assets",lkUrl:m="https://lk.finuslugi.ru/registration",initialTown:w,isMainBannerPage:b,enableAppHeaderBanner:x=!1,enableCertificatesBanner:_=!1,enableExternalLinkWarning:y=!1,certificatesWarningProduct:C,news:k,className:$})=>{let j=et(),O=(0,n.useMemo)(()=>((e,t,n)=>{var i,l,r,a,o,s,c;let u=(null==(l=null==(i=null==e?void 0:e.NAVIGATOR)?void 0:i.findIndex)?void 0:l.call(i,({id:e})=>"news"===e))??-1,p=(null==(a=null==(r=null==e?void 0:e.NAVIGATOR)?void 0:r[u])?void 0:a.content)||[];if(null!=(c=null==(s=null==(o=null==e?void 0:e.NAVIGATOR)?void 0:o[u])?void 0:s.content)&&c[0]&&Array.isArray(n)&&p.length){let i=n.map(({title:e,url:n})=>({title:e,url:(0,d.W)(t||"",n),new:0}));e.NAVIGATOR[u].content[0].links=i}return[{id:"FINPRODUCTS",sections:Array.isArray(null==e?void 0:e.FINPRODUCTS)?null==e?void 0:e.FINPRODUCTS:[]},{id:"NAVIGATOR",sections:Array.isArray(null==e?void 0:e.NAVIGATOR)?null==e?void 0:e.NAVIGATOR:[]},{id:"ABOUT",sections:Array.isArray(null==e?void 0:e.ABOUT)?null==e?void 0:e.ABOUT:[]}]})(e,i,k),[e,i,k]),N=null==e?void 0:e.config,I=!!e&&_&&!!b,S=(({enableCertificatesBanner:e,enableExternalLinkWarning:t,isMainBannerPage:i})=>{let[l,r]=(0,n.useState)("checking"),[a,o]=(0,n.useState)(!1),[s,c]=(0,n.useState)(!1),[u,d]=(0,n.useState)(!1),[p,f]=(0,n.useState)(!1),h=(0,n.useRef)(),m=(0,n.useRef)(!1),g=(0,n.useRef)(!1),v=(0,n.useRef)(!1);(0,n.useRef)(null);let w=(0,n.useRef)(null),b=(0,n.useRef)(null),x=(0,n.useRef)(null),_=e&&i,y=_||t,C=(0,n.useCallback)(e=>{let t=h.current;t?t.call(window,e,"_blank","noopener,noreferrer"):window.open(e,"_blank","noopener,noreferrer")},[]),k=(0,n.useCallback)(()=>{o(!1),v.current=!1,w.current=null,b.current=null,x.current=null,f(!1)},[]),$=(0,n.useCallback)(e=>{J(Y),g.current=!0,v.current=!1,w.current=e,f("external"===e&&null!==b.current),o(!0)},[]),j=(0,n.useCallback)(()=>!m.current&&("external"===w.current&&!v.current||!g.current),[]),O=(0,n.useCallback)(()=>{"external"!==w.current&&$("external")},[$]);(0,n.useEffect)(()=>{h.current=window.open;let e=window.navigator.userAgent.includes("YaBrowser/");return e&&J(G),m.current=e||Z(G),g.current=Z(Y),d(m.current),c(!0),()=>{b.current=null,x.current=null}},[]),(0,n.useEffect)(()=>{if(s){if(!_)return void r("skipped");r(e=>"shown"===e||"closing"===e||"dismissed"===e?e:u||Z(q)?"skipped":"shown")}},[u,_,s]),(0,n.useEffect)(()=>{},[k,y,s]),(0,n.useEffect)(()=>{if(!s||!t)return;let e=h.current;if(!e)return;let n=!0,i=e=>{if(0!==e.button&&1!==e.button||!(e.target instanceof Element))return;let t=e.target.closest("a[href]");if(!t||e.defaultPrevented)return;let i=Q(t.href,window.location);if(!i||!j())return;e.preventDefault(),null===b.current&&(b.current=i.href,x.current={source:"external_anchor",host:i.hostname});let l=b.current;queueMicrotask(()=>{n&&j()&&b.current===l&&O()})},l=(t,n="_blank",i)=>{let l=Q(t,window.location);return l&&j()?(null===b.current&&(b.current=l.href,x.current={source:"external_window_open",host:l.hostname}),O(),null):e.call(window,t,n,i)};return window.open=l,document.addEventListener("click",i,!0),document.addEventListener("auxclick",i,!0),()=>{n=!1,document.removeEventListener("click",i,!0),document.removeEventListener("auxclick",i,!0),window.open===l&&(window.open=e)}},[t,s,j,O]),(0,n.useEffect)(()=>{var e;t||(b.current=null,(null==(e=x.current)?void 0:e.source)!=="banner"&&(x.current=null),f(!1),"external"===w.current&&k())},[k,t]),(0,n.useEffect)(()=>{_||"banner"===w.current&&k()},[k,_]),(0,n.useEffect)(()=>{y||k()},[k,y]);let N=(0,n.useCallback)(()=>{J(q),r("closing")},[]),I=(0,n.useCallback)(()=>{r("dismissed")},[]),S=(0,n.useCallback)(()=>{b.current=null,x.current={source:"banner"},$("banner")},[$]),A=(0,n.useCallback)(()=>{C("https://www.gosuslugi.ru/crt")},[C]),T=(0,n.useCallback)(()=>{C("https://browser.yandex.ru/")},[C]),R=(0,n.useCallback)(()=>{let e=b.current;e&&(J(Y),g.current=!0,v.current=!0,C(e))},[C]);return{bannerStatus:l,isPopupOpen:a,popupAnalyticsContext:x.current,dismissBanner:N,finishBannerClosing:I,openPopupFromBanner:S,closePopup:k,openCertificatesPage:A,openYandexBrowserPage:T,continueToExternalPage:p?R:void 0}})({enableCertificatesBanner:I,enableExternalLinkWarning:y,isMainBannerPage:!!b}),A="shown"===S.bannerStatus||"closing"===S.bannerStatus,T=!I||"skipped"===S.bannerStatus,R=(0,p.a)(S.isPopupOpen),E=(0,n.useMemo)(()=>O.reduce((e,t)=>{var n;return e[t.id]=null==(n=t.sections[0])?void 0:n.id,e},{}),[O]),B=j.isAuth?"Личный кабинет":"Войти",M=b&&j.isHeaderTransparent,P=(e,t,n,i)=>()=>{e!==j.openedBlock?(0,g.h)(f.D.toggle,t,"on"):(0,g.h)(f.D.button,"menu_close","on");let l=n?E[e]:"";j.setOpenedBlock(e,l,!!i)},{start:L,clear:H}=W(),D=e=>()=>{j.ignoreClicks||e()},U=R?(0,t.jsx)(eO,{isOpen:S.isPopupOpen,analyticsContext:S.popupAnalyticsContext,certificatesWarningProduct:C,onClose:S.closePopup,onOpenCertificatesPage:S.openCertificatesPage,onOpenYandexBrowserPage:S.openYandexBrowserPage,onContinue:S.continueToExternalPage}):null;return e?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{ref:j.headerRef,className:(0,u.f)(v.s.header,$,{[v.s.transparent]:M}),children:(0,t.jsxs)("div",{ref:j.fixedContainerRef,className:(0,u.f)(v.s.fixed,{[v.s.hidden]:j.isHeaderHidden,[v.s.navigationOpen]:j.isNavigationOpen}),children:[A&&(0,t.jsx)(ej,{onDismiss:S.dismissBanner,onClosed:S.finishBannerClosing,onOpenDetails:S.openPopupFromBanner,onOpenCertificatesPage:S.openCertificatesPage,onOpenYandexBrowserPage:S.openYandexBrowserPage}),T&&!!(null!=N&&N.appBannerUrl)&&x&&(0,t.jsx)(eN,{mobileAppUrl:N.appBannerUrl,minioUrl:h}),(0,t.jsxs)(c.f,{className:v.s.container,children:[(0,t.jsxs)("div",{className:v.s.leftRow,children:[(0,t.jsx)(ec,{className:v.s.logo,href:i,eventActionType:f.D.icon,eventActionText:"finuslugi_logo",eventLabel:`finuslugi_logo_${i}`,children:(0,t.jsxs)("picture",{children:[(0,t.jsx)("source",{srcSet:(0,d.W)(h,"/widgets/header/logo/d.webp"),media:"(min-width: 768px)"}),(0,t.jsx)("img",{src:(0,d.W)(h,"/widgets/header/logo/m.webp"),alt:"Финуслуги",loading:"eager"})]})}),(0,t.jsx)("nav",{ref:j.navMenuItemsRef,className:v.s.menuItems,children:(0,t.jsx)("ul",{children:v.b.map(({id:e,label:n})=>(0,t.jsx)("li",{children:(0,t.jsx)(s.f,{className:(0,u.f)({[v.s.menuItemActive]:j.openedBlock===e&&j.isNavigationOpen}),label:n,variant:"white",size:"xs",onClick:D(P(e,n,!0)),onMouseEnter:()=>{j.isNavigationOpen&&e===j.openedBlock||j.setIgnoreClicks(),L(P(e,n,!0,!0),200)},onMouseLeave:H})},e))})}),(0,t.jsx)(es,{className:(0,u.f)(v.s.tabletMenuButton,{[v.s.menuItemActive]:j.isNavigationOpen}),eventActionText:"Меню сайта",variant:"white",size:"xs",iconRight:(0,t.jsx)(r.m,{size:24}),onClick:P("FINPRODUCTS","Меню сайта"),children:"Меню сайта"})]}),(0,t.jsxs)("div",{className:(0,u.f)(v.s.buttonGroup,{[v.s.whiteIcons]:(null==N?void 0:N.iconColorOnMobileMainBanner)==="white"}),children:[(0,t.jsxs)("div",{className:v.s.chips,children:[(0,t.jsx)(es,{as:"a",href:m,size:"xs",shape:"icon",appearance:"ghost",eventActionText:"profile",eventLabel:`profile_${m}`,iconLeft:(0,t.jsx)(o.e,{size:20}),"aria-label":B}),(0,t.jsx)(es,{onClick:()=>{var e,t,n;return null==(n=null==(t=null==(e=null==window?void 0:window.supportWidget)?void 0:e.craftTalk)?void 0:t.open)?void 0:n.call(t)},size:"xs",shape:"icon",appearance:"ghost",eventActionText:"IconFdsChatDotsCircleO",iconLeft:(0,t.jsx)(l.G,{size:24}),"aria-label":"Онлайн чат"})]}),(0,t.jsx)(es,{className:v.s.menuButton,size:"xs",shape:M?"icon":"default",appearance:M?"ghost":"fill",label:"Меню",onClick:P("FINPRODUCTS","Меню"),eventActionText:"Меню",iconLeft:(0,t.jsx)(F,{size:24})}),(0,t.jsxs)("div",{className:v.s.moreButtons,children:[(0,t.jsx)(eo,{initialTown:w}),(0,t.jsx)(es,{onClick:()=>{var e,t,n;return null==(n=null==(t=null==(e=null==window?void 0:window.supportWidget)?void 0:e.craftTalk)?void 0:t.open)?void 0:n.call(t)},size:"xs",appearance:"ghost",eventActionText:"IconFdsChatDotsSquareAddO",iconLeft:(0,t.jsx)(z,{size:24}),children:"Онлайн чат"}),(0,t.jsx)(es,{as:"a",href:m,size:"xs",eventActionText:B,eventLabel:`${B}_${m}`,label:B})]})]}),(0,t.jsxs)(ec,{className:v.s.auth,href:m,eventActionText:B,eventLabel:`${B}_${m}`,children:[(0,t.jsx)(es,{size:"xs",shape:"circle-icon",iconLeft:(0,t.jsx)(o.e,{}),eventActionText:B,eventLabel:`${B}_${m}`}),(0,t.jsx)("p",{children:B})]}),(0,t.jsx)("div",{className:v.s.close,children:(0,t.jsx)(es,{className:v.s.close,size:"xs",variant:"secondary",shape:"circle-icon",iconLeft:(0,t.jsx)(a.a,{}),onClick:()=>j.setOpenedBlock(null),eventActionText:"IconFdsCloseO","aria-label":"Закрыть"})})]})]})}),(0,t.jsx)("div",{className:(0,u.f)(v.s.overlay,{[v.s.removed]:!j.isNavigationMounted,[v.s.overlayOpening]:j.isNavigationOpen,[v.s.overlayClosing]:!j.isNavigationOpen}),onClick:D(()=>j.setOpenedBlock(null))}),(0,t.jsx)(e$,{data:O,minioUrl:h}),U]}):y?U:null};e.s(["H",0,es,"i",0,e=>(0,t.jsx)(en,{isMainBannerPage:e.isMainBannerPage,children:(0,t.jsx)(eI,{...e})}),"b",0,U,"p",0,V,"u",0,et],74100)},90317,(e,t,n)=>{Object.defineProperty(n,"__esModule",{value:!0});var i={bindSnapshot:function(){return u},createAsyncLocalStorage:function(){return s},createSnapshot:function(){return d},getOrCreateGlobalAsyncLocalStorage:function(){return c}};for(var l in i)Object.defineProperty(n,l,{enumerable:!0,get:i[l]});let r=Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available");class a{disable(){throw r}getStore(){}run(){throw r}exit(){throw r}enterWith(){throw r}static bind(e){return e}}let o="u">typeof globalThis&&globalThis.AsyncLocalStorage;function s(){return o?new o:new a}function c(e){let t=Symbol.for(`@next/${e}@16.4.3`),n=globalThis;return n[t]??=s()}function u(e){return o?o.bind(e):a.bind(e)}function d(){return o?o.snapshot():function(e,...t){return e(...t)}}},42344,(e,t,n)=>{Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"workAsyncStorageInstance",{enumerable:!0,get:function(){return i}});let i=(0,e.r(90317).getOrCreateGlobalAsyncLocalStorage)("work-async-storage")},63599,(e,t,n)=>{Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"workAsyncStorage",{enumerable:!0,get:function(){return i.workAsyncStorageInstance}});let i=e.r(42344)},70703,(e,t,n)=>{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)},9885,(e,t,n)=>{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}})},67585,(e,t,n)=>{Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"BailoutToCSRForNextDynamic",{enumerable:!0,get:function(){return a}});let i=e.r(71645),l=e.r(74080);e.r(32061);let r=e.r(49354).createReactBrowserBailoutReason.bind(null,"next/dynamic");function a({children:e}){return(0,i.use)((0,l.browser)(r)),e}},69093,(e,t,n)=>{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 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,l.lazy)(()=>t.loader().then(o)),c=t.loading;function u(e){let o=c?(0,i.jsx)(c,{isLoading:!0,pastDelay:!0,error:null}):null,s=!t.ssr||!!t.loading,u=s?l.Suspense:l.Fragment,d=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.BailoutToCSRForNextDynamic,{children:(0,i.jsx)(n,{...e})});return(0,i.jsx)(u,{...s?{fallback:o}:{},children:d})}return u.displayName="LoadableComponent",u}},52157,(e,t,n)=>{Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"PreloadChunks",{enumerable:!0,get:function(){return s}});let i=e.r(43476),l=e.r(74080),r=e.r(63599),a=e.r(9885),o=e.r(43369);function s({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,o.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)})})}},49354,(e,t,n)=>{Object.defineProperty(n,"__esModule",{value:!0});var i={createReactBrowserBailoutReason:function(){return a},getReactBrowserBailoutReason:function(){return o},isNextBrowserBailoutError:function(){return s}};for(var l in i)Object.defineProperty(n,l,{enumerable:!0,get:i[l]});let r=Symbol.for("next.browser-bailout-reason");function a(e){return{$$typeof:r,reason:e}}function o(e){let t=e?.cause;return t?.$$typeof===r?t.reason:void 0}function s(e){return void 0!==o(e)}},85900,e=>{let t=/#/g,n=/&/g,i=/\//g,l=/=/g,r=/\+/g,a=/%5e/gi,o=/%60/gi,s=/%7c/gi,c=/%20/gi;function u(e){return encodeURI(""+("string"==typeof e?e:JSON.stringify(e))).replace(s,"|").replace(r,"%2B").replace(c,"+").replace(t,"%23").replace(n,"%26").replace(o,"`").replace(a,"^").replace(i,"%2F")}function d(e){return u(e).replace(l,"%3D")}function p(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}let f=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,h=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,m=/^([/\\]\s*){2,}[^/\\]/,g=/\/$|\/\?|\/#/,v=/^\.?\//;function w(e,t={}){return("boolean"==typeof t&&(t={acceptRelative:t}),t.strict)?f.test(e):h.test(e)||!!t.acceptRelative&&m.test(e)}function b(e,...t){let n=e||"";for(let e of t.filter(e=>e&&"/"!==e))if(n){let t=e.replace(v,"");n=function(e=""){return e.endsWith("/")?e:e+"/"}(n)+t}else n=e;return n}let x=Symbol.for("ufo:protocolRelative");function _(e=""){let[t="",n="",i=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:i}}e.s(["W",0,b,"N",0,function(e,t){var n;if(!(n=t)||"/"===n||w(e))return e;let i=function(e=""){return(!function(e=""){return e.endsWith("/")}(e)?e:e.slice(0,-1))||"/"}(t);if(e.startsWith(i)){let t=e[i.length];if(!t||"/"===t||"?"===t)return e}return b(i,e)},"s",0,function(e,t){var n;let i,l,a,o,s,c=function e(t="",n){let i=t.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(i){let[,e,t=""]=i;return{protocol:e.toLowerCase(),pathname:t,href:e+t,auth:"",host:"",search:"",hash:""}}if(!w(t,{acceptRelative:!0}))return n?e(n+t):_(t);let[,l="",r,a=""]=t.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,o="",s=""]=a.match(/([^#/?]*)(.*)?/)||[];"file:"===l&&(s=s.replace(/\/(?=[A-Za-z]:)/,""));let{pathname:c,search:u,hash:d}=_(s);return{protocol:l.toLowerCase(),auth:r?r.slice(0,Math.max(0,r.length-1)):"",host:o,pathname:c,search:u,hash:d,[x]:!l}}(e),f={...function(e=""){let t=Object.create(null);for(let n of("?"===e[0]&&(e=e.slice(1)),e.split("&"))){let e=n.match(/([^=]+)=?(.*)/)||[];if(e.length<2)continue;let i=p(e[1].replace(r," "));if("__proto__"===i||"constructor"===i)continue;let l=p((e[2]||"").replace(r," "));void 0===t[i]?t[i]=l:Array.isArray(t[i])?t[i].push(l):t[i]=[t[i],l]}return t}(c.search),...t};return c.search=Object.keys(f).filter(e=>void 0!==f[e]).map(e=>{var t;return(("number"==typeof(t=f[e])||"boolean"==typeof t)&&(t=String(t)),t)?Array.isArray(t)?t.map(t=>`${d(e)}=${u(t)}`).join("&"):`${d(e)}=${u(t)}`:d(e)}).filter(Boolean).join("&"),i=(n=c).pathname||"",l=n.search?(n.search.startsWith("?")?"":"?")+n.search:"",a=n.hash||"",o=n.auth?n.auth+"@":"",s=n.host||"",(n.protocol||n[x]?(n.protocol||"")+"//":"")+o+s+i+l+a}])}])})();

//# sourceMappingURL=1s4uz-dnchsd9.js.map