!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="75d47a5f-f7bd-450f-991a-58f3cb339a89",e._sentryDebugIdIdentifier="sentry-dbid-75d47a5f-f7bd-450f-991a-58f3cb339a89")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7985],{26787:(e,t,n)=>{function r(e,t,n,r){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return r}}),n(27923),("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)},27985:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return C}});let r=n(40408),o=n(28261),l=r._(n(57217)),u=n(21315),f=n(86531),a=n(39466),i=n(84116),c=n(84557),d=n(82530),s=n(66404),p=n(22074),b=n(26787),y=n(61038),h=n(36531),g=n(79511),v=new Set;function _(e,t,n,r,o,l){if("undefined"!=typeof window&&(l||(0,f.isLocalURL)(t))){if(!r.bypassPrefetchedCheck&&!l){let o=t+"%"+n+"%"+(void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0);if(v.has(o))return;v.add(o)}(async()=>l?e.prefetch(t,o):e.prefetch(t,n,r))().catch(e=>{})}}function k(e){return"string"==typeof e?e:(0,a.formatUrl)(e)}let C=l.default.forwardRef(function(e,t){let n,r;let{href:a,as:v,children:C,prefetch:M=null,passHref:j,replace:m,shallow:P,scroll:w,locale:O,onClick:E,onMouseEnter:I,onTouchStart:L,legacyBehavior:x=!1,...R}=e;n=C,x&&("string"==typeof n||"number"==typeof n)&&(n=(0,o.jsx)("a",{children:n}));let D=l.default.useContext(d.RouterContext),T=l.default.useContext(s.AppRouterContext),S=null!=D?D:T,U=!D,K=!1!==M,A=null===M?h.PrefetchKind.AUTO:h.PrefetchKind.FULL,{href:N,as:H}=l.default.useMemo(()=>{if(!D){let e=k(a);return{href:e,as:v?k(v):e}}let[e,t]=(0,u.resolveHref)(D,a,!0);return{href:e,as:v?(0,u.resolveHref)(D,v):t||e}},[D,a,v]),q=l.default.useRef(N),z=l.default.useRef(H);x&&(r=l.default.Children.only(n));let B=x?r&&"object"==typeof r&&r.ref:t,[F,G,J]=(0,p.useIntersection)({rootMargin:"200px"}),Q=l.default.useCallback(e=>{(z.current!==H||q.current!==N)&&(J(),z.current=H,q.current=N),F(e)},[H,N,J,F]),V=(0,g.useMergedRef)(Q,B);l.default.useEffect(()=>{S&&G&&K&&_(S,N,H,{locale:O},{kind:A},U)},[H,N,G,O,K,null==D?void 0:D.locale,S,U,A]);let W={ref:V,onClick(e){x||"function"!=typeof E||E(e),x&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),S&&!e.defaultPrevented&&function(e,t,n,r,o,u,a,i,c){let{nodeName:d}=e.currentTarget;if("A"===d.toUpperCase()&&(function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!c&&!(0,f.isLocalURL)(n)))return;e.preventDefault();let s=()=>{let e=null==a||a;"beforePopState"in t?t[o?"replace":"push"](n,r,{shallow:u,locale:i,scroll:e}):t[o?"replace":"push"](r||n,{scroll:e})};c?l.default.startTransition(s):s()}(e,S,N,H,m,P,w,O,U)},onMouseEnter(e){x||"function"!=typeof I||I(e),x&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),S&&(K||!U)&&_(S,N,H,{locale:O,priority:!0,bypassPrefetchedCheck:!0},{kind:A},U)},onTouchStart:function(e){x||"function"!=typeof L||L(e),x&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),S&&(K||!U)&&_(S,N,H,{locale:O,priority:!0,bypassPrefetchedCheck:!0},{kind:A},U)}};if((0,i.isAbsoluteUrl)(H))W.href=H;else if(!x||j||"a"===r.type&&!("href"in r.props)){let e=void 0!==O?O:null==D?void 0:D.locale,t=(null==D?void 0:D.isLocaleDomain)&&(0,b.getDomainLocale)(H,e,null==D?void 0:D.locales,null==D?void 0:D.domainLocales);W.href=t||(0,y.addBasePath)((0,c.addLocale)(H,e,null==D?void 0:D.defaultLocale))}return x?l.default.cloneElement(r,W):(0,o.jsx)("a",{...R,...W,children:n})});("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)},22074:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return a}});let r=n(57217),o=n(9857),l="function"==typeof IntersectionObserver,u=new Map,f=[];function a(e){let{rootRef:t,rootMargin:n,disabled:a}=e,i=a||!l,[c,d]=(0,r.useState)(!1),s=(0,r.useRef)(null),p=(0,r.useCallback)(e=>{s.current=e},[]);return(0,r.useEffect)(()=>{if(l){if(i||c)return;let e=s.current;if(e&&e.tagName)return function(e,t,n){let{id:r,observer:o,elements:l}=function(e){let t;let n={root:e.root||null,margin:e.rootMargin||""},r=f.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=u.get(r)))return t;let o=new Map;return t={id:n,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=o.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e),elements:o},f.push(n),u.set(n,t),t}(n);return l.set(e,t),o.observe(e),function(){if(l.delete(e),o.unobserve(e),0===l.size){o.disconnect(),u.delete(r);let e=f.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&f.splice(e,1)}}}(e,e=>e&&d(e),{root:null==t?void 0:t.current,rootMargin:n})}else if(!c){let e=(0,o.requestIdleCallback)(()=>d(!0));return()=>(0,o.cancelIdleCallback)(e)}},[i,n,t,c,s.current]),[p,c,(0,r.useCallback)(()=>{d(!1)},[])]}("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)}}]);