(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4330],{10857:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={DecodeError:function(){return _},MiddlewareNotFoundError:function(){return y},MissingStaticPage:function(){return x},NormalizeError:function(){return g},PageNotFoundError:function(){return v},SP:function(){return f},ST:function(){return m},WEB_VITALS:function(){return a},execOnce:function(){return o},getDisplayName:function(){return u},getLocationOrigin:function(){return l},getURL:function(){return c},isAbsoluteUrl:function(){return s},isResSent:function(){return d},loadGetInitialProps:function(){return h},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return b}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let a=["CLS","FCP","FID","INP","LCP","TTFB"];function o(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let i=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,s=e=>i.test(e);function l(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function c(){let{href:e}=window.location,t=l();return e.substring(t.length)}function u(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function d(e){return e.finished||e.headersSent}function p(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function h(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await h(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&d(r))return n;if(!n)throw Object.defineProperty(Error(`"${u(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let f="u">typeof performance,m=f&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class _ extends Error{}class g extends Error{}class v extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class x extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class y extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function b(e){return JSON.stringify({message:e.message,stack:e.stack})}},17436:(e,t,r)=>{"use strict";r.d(t,{td:()=>n});let n=(e,t,r,n)=>{let a=[t,r,n];return a[e%100>4&&e%100<20?2:[2,0,1,1,1,2][e%10<5?e%10:5]]||a[0]}},20091:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={formatUrl:function(){return s},formatWithValidation:function(){return c},urlObjectKeys:function(){return l}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let o=r(66388)._(r(31393)),i=/https?|ftp|gopher|file/;function s(e){let{auth:t,hostname:r}=e,n=e.protocol||"",a=e.pathname||"",s=e.hash||"",l=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:r&&(c=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(c+=":"+e.port)),l&&"object"==typeof l&&(l=String(o.urlQueryToSearchParams(l)));let u=e.search||l&&`?${l}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||i.test(n))&&!1!==c?(c="//"+(c||""),a&&"/"!==a[0]&&(a="/"+a)):c||(c=""),s&&"#"!==s[0]&&(s="#"+s),u&&"?"!==u[0]&&(u="?"+u),a=a.replace(/[?#]/g,encodeURIComponent),u=u.replace("#","%23"),`${n}${c}${a}${u}${s}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(e){return s(e)}},25032:(e,t,r)=>{"use strict";r.d(t,{C:()=>u});var n=r(95155),a=r(12115),o=r(29722),i=r(92681),s=r(83640);r(49735);let l=(0,s.g)("chips"),c=Object.freeze({chips:l,chip:`${l}__item`,icon:`${l}__icon`,iconLeft:`${l}__icon-left`,iconRight:`${l}__icon-right`,label:`${l}__label`,variants:{primary:`${l}--primary`,secondary:`${l}--secondary`,tertiary:`${l}--tertiary`},activeVariants:{primary:`${l}--active-primary`,secondary:`${l}--active-secondary`},sizes:{s:`${l}--s`,m:`${l}--m`,l:`${l}--l`},selected:`${l}--selected`,indicator:`${l}__indicator`,indicatorVariant:{red:`${l}__indicator--red`,orange:`${l}__indicator--orange`,green:`${l}__indicator--green`,purple:`${l}__indicator--purple`,purpleSecondary:`${l}__indicator--purple-secondary`,blue:`${l}__indicator--blue`,pink:`${l}__indicator--pink`}}),u=(0,a.forwardRef)(({as:e,chips:t,value:r,variant:s="primary",activeVariant:l="primary",multiple:u,clearable:d,size:p="m",className:h,style:f,dataQa:m,dataId:_,onChipClick:g,...v},x)=>{let[y,b]=(0,a.useState)(u?[]:void 0),$=(0,a.useRef)(null);(0,a.useImperativeHandle)(x,()=>({getRoot:()=>$.current,getSelectedChips:()=>y})),(0,a.useEffect)(()=>{u?b(Array.isArray(r)?r:[]):b(r)},[r,u]);let j=u||d,N=e||"div",w=e=>u&&Array.isArray(y)?y.includes(e):y===e,C=(e,t,r)=>{b(r),null==g||g(e,t,r)},S=(e,t)=>{if(u&&Array.isArray(y))if(w(e)){let r=y.filter(t=>t!==e);C(e,t,r)}else C(e,t,[...y,e]);else{let r=d&&w(e)?void 0:e;C(e,t,r)}};return(0,n.jsx)("div",{ref:$,className:(0,o.A)(h,c.chips),style:f,...v,"data-id":_,"data-qa":m,children:t.map((e,t)=>(({id:e,label:t,href:r,iconLeft:a,iconRight:u,indicator:d},h)=>{let f=w(e),_=void 0!==r;return(0,n.jsxs)(N,{href:r,className:(0,o.A)(c.chip,c.sizes[p],c.activeVariants[l],c.variants[s],[{[c.selected]:f}]),role:_?void 0:j?"checkbox":"radio","aria-checked":_?void 0:f,"aria-label":t,tabIndex:_?void 0:0,"data-qa":(0,i.g)(`${m}-item-${++h}`,!!m),onClick:t=>{S(e,t)},onKeyDown:_?void 0:t=>{("Enter"===t.key||" "===t.key)&&(t.preventDefault(),S(e,t))},children:[a&&(0,n.jsx)("span",{className:(0,o.A)(c.icon,c.iconLeft),"aria-hidden":"true",children:a}),(0,n.jsx)("span",{className:(0,o.A)(c.label),children:t}),d&&(0,n.jsx)("div",{className:(0,o.A)(c.indicator,c.indicatorVariant[d])}),u&&(0,n.jsx)("span",{className:(0,o.A)(c.icon,c.iconRight),"aria-hidden":"true",children:u})]},e)})(e,t))})});u.displayName="Chips"},26111:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Support:()=>j}),r(89190);var n=r(95155),a=r(66216),o=r(63959),i=r(29722),s=r(57349),l=r(24691),c=r(14347),u=r(20197),d=r(7596),p=r(12115);let h=(0,d.g)("support","sc"),f=Object.freeze({support:h,title:`${h}__title`,cardsContainer:`${h}__cards-container`}),m="cb-support",_=(0,d.g)("support-app-card","sc"),g=Object.freeze({supportAppCard:_,textWrapper:`${_}__text-wrapper`,imageContainer:`${_}__image-container`,title:`${_}__title`,description:`${_}__description`,button:`${_}__button`,imageWrapper:`${_}__image-wrapper`,image:`${_}__image`}),v=({title:e,linkUrl:t,s3Assets:r,description:a})=>{let o=(0,c.nu)("s");return(0,n.jsxs)("div",{className:g.supportAppCard,onClick:()=>{o&&((0,u.h)({eventCategory:m,eventActionType:u.D.banner,eventActionText:e,eventLabel:t}),window.open(t,"_blank","noreferrer"))},children:[(0,n.jsx)(l.$,{className:g.button,iconLeft:(0,n.jsx)(s.K,{size:24}),shape:"circle-icon",size:"xs"}),(0,n.jsxs)("div",{className:g.textWrapper,children:[(0,n.jsx)("div",{className:g.title,children:e}),!!a&&(0,n.jsx)("div",{className:g.description,children:a})]}),(0,n.jsx)("div",{className:g.imageContainer,children:(0,n.jsxs)("picture",{className:g.imageWrapper,children:[(0,n.jsx)("source",{media:"(max-width: 767px)",srcSet:`${r}/mp-assets/widgets/SupportBlock/mobile-app.webp 1x, ${r}/mp-assets/widgets/SupportBlock/mobile-app@2x.webp 2x`}),(0,n.jsx)("img",{className:g.image,loading:"lazy",src:`${r}/mp-assets/widgets/SupportBlock/qr-code-mobile-app.webp`,srcSet:`${r}/mp-assets/widgets/SupportBlock/qr-code-mobile-app.webp 1x, ${r}/mp-assets/widgets/SupportBlock/qr-code-mobile-app@2x.webp 2x`})]})})]})},x=(0,d.g)("support-phone-card","sc"),y=Object.freeze({supportPhoneCard:x,contacts:`${x}__contacts`,contactsExtra:`${x}__contacts-extra`,phone:`${x}__phone`,phonesExtra:`${x}__phones-extra`,phoneExtra:`${x}__phone-extra`,chat:`${x}__chat`,text:`${x}__text`,image:`${x}__image`}),b=({phones:e,phonesExtra:t,description:r,s3Assets:a})=>{let o=(0,p.useCallback)(()=>{var e,t,r;null==(r=null==(t=null==(e=null==window?void 0:window.supportWidget)?void 0:e.craftTalk)?void 0:t.open)||r.call(t),(0,u.h)({eventCategory:m,eventActionType:u.D.button,eventActionText:"messenger",eventLabel:"chat"})},[]),i=e=>{let t=e.replace(/[\s-]/g,"");(0,u.h)({eventCategory:m,eventActionType:u.D.link,eventActionText:"phone",eventLabel:t})};return(0,n.jsxs)("div",{className:y.supportPhoneCard,children:[(0,n.jsxs)("div",{className:y.contacts,children:[e.map(e=>(0,n.jsx)("a",{className:y.phone,href:e.href,onClick:()=>i(e.label),children:e.label},e.label)),(0,n.jsx)("span",{className:y.chat,onClick:o,children:"Онлайн чат"})]}),(null==t?void 0:t.length)>0&&(0,n.jsxs)("div",{className:y.contactsExtra,children:[(0,n.jsx)("p",{className:y.text,children:"Дополнительные телефоны"}),(0,n.jsx)("div",{className:y.phonesExtra,children:t.map(e=>(0,n.jsx)("a",{className:y.phoneExtra,href:e.href,onClick:()=>i(e.label),children:e.label},e.label))})]}),(0,n.jsx)("p",{className:y.text,children:r}),(0,n.jsx)("img",{className:y.image,src:`${a}/mp-assets/widgets/SupportBlock/bannerSupportGirl.webp`,loading:"lazy"})]})},$=({className:e,phoneCard:t,appCard:r,s3Assets:s})=>t&&r?(0,n.jsx)("section",{className:(0,i.A)(f.support,e),children:(0,n.jsxs)(a.m,{children:[(0,n.jsx)(o.D,{as:"h2",type:"display",weight:"bold",className:f.title,children:"Поддержка"}),(0,n.jsxs)("div",{className:f.cardsContainer,children:[(0,n.jsx)(b,{s3Assets:s,...t}),(0,n.jsx)(v,{s3Assets:s,...r})]})]})}):null;$.displayName="Support";let j=$},28210:()=>{},29842:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"errorOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},29939:(e,t,r)=>{"use strict";r.d(t,{f:()=>u}),r(28210);var n=r(95155),a=r(66216),o=r(63959),i=r(29722);let s=(0,r(7596).g)("seo-text","sc"),l=Object.freeze({seoText:s,wrapper:`${s}__wrapper`,title:`${s}__title`,titleWrapper:`${s}__title-wrapper`,blockTitle:`${s}__block-title`,text:`${s}__text`,checkAll:`${s}__check-all`}),c=({blockTitle:e,content:t,sectionTitle:r,className:s})=>(0,n.jsx)("section",{className:(0,i.A)(l.seoText,s),children:(0,n.jsxs)(a.m,{children:[r&&(0,n.jsx)("div",{className:l.titleWrapper,children:(0,n.jsx)(o.D,{as:"h2",type:"hero",className:(0,i.A)(l.title),children:r})}),(0,n.jsxs)("div",{className:l.wrapper,children:[e&&(0,n.jsx)(o.D,{as:"h2",type:"h3",className:(0,i.A)(l.blockTitle),children:e}),(0,n.jsx)("div",{className:l.text,dangerouslySetInnerHTML:{__html:t||""}})]})]})});c.displayName="SeoText";let u=c},31393:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={assign:function(){return s},searchParamsToUrlQuery:function(){return a},urlQueryToSearchParams:function(){return i}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});function a(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function o(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function i(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,o(e));else t.set(r,o(n));return t}function s(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},37940:(e,t,r)=>{"use strict";r.d(t,{ms:()=>n.D,n5:()=>n.g,pm:()=>n.a,uu:()=>n.h});var n=r(52708)},39041:()=>{},49735:()=>{},68990:(e,t,r)=>{"use strict";r.d(t,{a:()=>v});var n=r(95155),a=r(12115),o=r(76701),i=r(29722),s=r(37370),l=r(92681),c=r(83640),u=r(87978),d=r(78012),p=r(62849),h=r(26048);r(39041);let f=(0,c.g)("modal"),m=Object.freeze({modal:f,overlay:`${f}__overlay`,withoutFooter:`${f}--without-footer`,noContent:`${f}--no-content`,open:`${f}--open`,overlayOpen:`${f}__overlay--open`,height:{medium:`${f}--height-medium`,full:`${f}--height-full`},size:{s:`${f}--s`,m:`${f}--m`,l:`${f}--l`,xl:`${f}--xl`},header:`${f}__header`,headerText:`${f}__header-text`,headerTitle:`${f}__header-title`,headerSubtitle:`${f}__header-subtitle`,closeIcon:`${f}__close-icon`,backButton:`${f}__back-button`,backButtonText:`${f}__back-button-text`,headerStates:{centered:`${f}__header--centered`,withLongBtn:`${f}__header--with-long-btn`,defaultHeight:`${f}__header--default-height`},content:`${f}__content`,withoutPadding:`${f}__content--without-padding`,withScroll:`${f}__content--with-scroll`,footer:`${f}__footer`,footerContainer:`${f}__footer-container`,footerBtn:`${f}__footer-btn`,footerDescription:`${f}__footer-description`,divider:`${f}__divider`,dividerTop:`${f}__divider--top`,dividerBottom:`${f}__divider--bottom`}),_=({primaryBtnText:e,onPrimary:t,secondaryBtnText:r,onSecondary:a,thirdBtnText:o,onThird:s,description:c,children:d,noContent:p,dataQa:h})=>(0,n.jsxs)("div",{"data-qa":(0,l.g)(`${h}-footer`,!!h),className:(0,i.A)(m.footer,{[m.noContent]:p}),children:[!p&&(0,n.jsx)("div",{className:(0,i.A)(m.divider,m.dividerTop)}),d||(0,n.jsxs)("div",{className:m.footerContainer,children:[o&&(0,n.jsx)(u.a,{dataQa:(0,l.g)(`${h}-footer-third-btn`,!!h),label:o,variant:"secondary",size:"s",className:m.footerBtn,onClick:s}),r&&(0,n.jsx)(u.a,{dataQa:(0,l.g)(`${h}-footer-secondary-btn`,!!h),label:r,variant:"secondary",size:"s",className:m.footerBtn,onClick:a}),e&&(0,n.jsx)(u.a,{dataQa:(0,l.g)(`${h}-footer-primary-btn`,!!h),label:e,size:"s",className:m.footerBtn,onClick:t})]}),c&&(0,n.jsx)("span",{"data-qa":(0,l.g)(`${h}-footer-description`,!!h),className:m.footerDescription,children:c})]}),g=({text:e,title:t,subtitle:r,align:a="left",backBtnVariant:o,onBack:s,onClose:c,noContent:u,dataQa:f,withoutCloseBtn:_=!1})=>(0,n.jsxs)("div",{"data-qa":(0,l.g)(`${f}-header`,!!f),className:(0,i.A)(m.header,{[m.headerStates.centered]:"center"===a||!!o,[m.headerStates.withLongBtn]:"long"===o,[m.headerStates.defaultHeight]:!e&&!t&&!r}),children:[e&&(0,n.jsx)("span",{"data-qa":(0,l.g)(`${f}-header-text`,!!f),className:m.headerText,children:e}),t&&(0,n.jsx)("span",{"data-qa":(0,l.g)(`${f}-header-title`,!!f),className:m.headerTitle,children:t}),r&&(0,n.jsx)("span",{"data-qa":(0,l.g)(`${f}-header-subtitle`,!!f),className:m.headerSubtitle,children:r}),!_&&(0,n.jsx)("button",{"data-qa":(0,l.g)(`${f}-header-close`,!!f),type:"button",className:m.closeIcon,onClick:c,children:(0,n.jsx)(h.P,{children:(0,n.jsx)(p.S,{})})}),o&&(0,n.jsxs)("button",{"data-qa":(0,l.g)(`${f}-header-back`,!!f),type:"button",className:m.backButton,onClick:s,children:[(0,n.jsx)(h.P,{children:(0,n.jsx)(d.S,{})}),"long"===o&&(0,n.jsx)("span",{className:m.backButtonText,children:"Назад"})]}),!u&&(0,n.jsx)("div",{className:(0,i.A)(m.divider,m.dividerBottom)})]}),v=(0,a.forwardRef)(({header:e,footer:t,open:r=!1,size:c="m",noPadding:u=!1,height:d="full",onClose:p,children:h,className:f,style:v,dataQa:x,dataId:y,dismissDisabled:b=!1,...$},j)=>{let[N,w]=(0,a.useState)(!1),[C,S]=(0,a.useState)(!1),A=(0,a.useRef)(null);(0,a.useEffect)(()=>()=>{A.current&&cancelAnimationFrame(A.current)},[]),(0,a.useEffect)(()=>{if(A.current&&cancelAnimationFrame(A.current),r)return w(!0),A.current=requestAnimationFrame(()=>{requestAnimationFrame(()=>{S(!0)})}),()=>{A.current&&cancelAnimationFrame(A.current)};{S(!1);let e=setTimeout(()=>{w(!1)},300);return()=>{clearTimeout(e),A.current&&cancelAnimationFrame(A.current)}}},[r]);let k=()=>{S(!1);let e=setTimeout(()=>{null==p||p(),w(!1)},300);return()=>clearTimeout(e)},{context:T}=(0,o.we)({open:N,onOpenChange:e=>{e||k()}}),E=(0,o.s9)(T,{outsidePressEvent:"mousedown",outsidePress:!b,escapeKey:!b}),P=(0,o.It)(T,{role:"dialog"}),{getFloatingProps:O}=(0,o.bv)([E,P]),[B,R]=(0,a.useState)(!1),L=(0,a.useCallback)(e=>{e&&new ResizeObserver(()=>{R(e.scrollHeight>e.clientHeight)}).observe(e)},[]);return N?(0,n.jsx)(o.XF,{id:s.M,children:(0,n.jsx)(o.zR,{lockScroll:!0,className:(0,i.A)(m.overlay,{[m.overlayOpen]:C}),children:(0,n.jsx)(o.s3,{context:T,children:(0,n.jsxs)("div",{ref:j,className:(0,i.A)(m.modal,m.size[c],m.height[d],{[m.withoutFooter]:!(null==t?void 0:t.primaryBtnText)&&!(null==t?void 0:t.children),[m.open]:C},f),style:v,...O(),...$,"data-id":y,"data-qa":x,children:[(0,n.jsx)(g,{...e,dataQa:x,noContent:!h,onClose:k}),h&&(0,n.jsx)("div",{"data-qa":(0,l.g)(`${x}-content`,!!x),ref:L,className:(0,i.A)(m.content,{[m.withoutFooter]:!(null==t?void 0:t.primaryBtnText)&&!(null==t?void 0:t.children),[m.withoutPadding]:u,[m.withScroll]:B}),children:h}),((null==t?void 0:t.primaryBtnText)||(null==t?void 0:t.children))&&(0,n.jsx)(_,{...t,dataQa:x,noContent:!h})]})})})}):null});v.displayName="Modal"},69470:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return o}});let n=r(10857),a=r(48512);function o(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,a.hasBasePath)(r.pathname)}catch(e){return!1}}},89190:()=>{},98500:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={default:function(){return g},useLinkStatus:function(){return x}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let o=r(66388),i=r(95155),s=o._(r(12115)),l=r(20091),c=r(22909),u=r(21172),d=r(10857),p=r(70127);r(47284);let h=r(74616),f=r(24972),m=r(69470),_=r(77565);function g(e){var t,n;let a,o,g,[x,y]=(0,s.useOptimistic)(f.IDLE_LINK_STATUS),b=(0,s.useRef)(null),{href:$,as:j,children:N,prefetch:w=null,passHref:C,replace:S,shallow:A,scroll:k,onClick:T,onMouseEnter:E,onTouchStart:P,legacyBehavior:O=!1,onNavigate:B,transitionTypes:R,ref:L,unstable_dynamicOnHover:z,...I}=e;a=N,O&&("string"==typeof a||"number"==typeof a)&&(a=(0,i.jsx)("a",{children:a}));let F=s.default.useContext(c.AppRouterContext),D=!1!==w,q=!1!==w?null===(n=w)||"auto"===n?_.FetchStrategy.PPR:_.FetchStrategy.Full:_.FetchStrategy.PPR,M="string"==typeof(t=j||$)?t:(0,l.formatUrl)(t);if(O){if(a?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});o=s.default.Children.only(a)}let U=O?o&&"object"==typeof o&&o.ref:L,K=s.default.useCallback(e=>(null!==F&&(b.current=(0,f.mountLinkInstance)(e,M,F,q,D,y)),()=>{b.current&&((0,f.unmountLinkForCurrentNavigation)(b.current),b.current=null),(0,f.unmountPrefetchableInstance)(e)}),[D,M,F,q,y]),W={ref:(0,u.useMergedRef)(K,U),onClick(e){O||"function"!=typeof T||T(e),O&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(e),!F||e.defaultPrevented||function(e,t,n,a,o,i,l){{let c,{nodeName:u}=e.currentTarget;if("A"===u.toUpperCase()&&((c=e.currentTarget.getAttribute("target"))&&"_self"!==c||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which)||e.currentTarget.hasAttribute("download"))return;if(!(0,m.isLocalURL)(t)){a&&(e.preventDefault(),location.replace(t));return}if(e.preventDefault(),i){let e=!1;if(i({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=r(70156);s.default.startTransition(()=>{d(t,a?"replace":"push",!1===o?h.ScrollBehavior.NoScroll:h.ScrollBehavior.Default,n.current,l)})}}(e,M,b,S,k,B,R)},onMouseEnter(e){O||"function"!=typeof E||E(e),O&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),F&&D&&(0,f.onNavigationIntent)(e.currentTarget,!0===z)},onTouchStart:function(e){O||"function"!=typeof P||P(e),O&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),F&&D&&(0,f.onNavigationIntent)(e.currentTarget,!0===z)}};return(0,d.isAbsoluteUrl)(M)?W.href=M:O&&!C&&("a"!==o.type||"href"in o.props)||(W.href=(0,p.addBasePath)(M)),g=O?s.default.cloneElement(o,W):(0,i.jsx)("a",{...I,...W,children:a}),(0,i.jsx)(v.Provider,{value:x,children:g})}r(29842);let v=(0,s.createContext)(f.IDLE_LINK_STATUS),x=()=>(0,s.useContext)(v);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},98731:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(44855);let a=(0,r(79143).Ht)(n.Ay,e=>(t,r,n)=>(n.revalidateOnFocus=!1,n.revalidateIfStale=!1,n.revalidateOnReconnect=!1,n.refreshInterval=0,e(t,r,n)))}}]);