!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b9f23d70-d29f-548a-b6e3-c1245df6272d")}catch(e){}}(); (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1301,2626,3406,3574,3730,6053,6424,6799,7830,7983,8643,9176],{45813:e=>{"use strict";e.exports=cookie},75333:(e,t,r)=>{Promise.resolve().then(r.bind(r,58430))},58430:(e,t,r)=>{"use strict";r.d(t,{NotFoundPage:()=>b});var n=r(9479),o=r(68841),s=r(89956),a=r(12669),i=r(49901),l=r(72303),c=r(31731),u=r(60297),d=r(45154),f=r(96093),h=r(60210),p=r(47838),g=r.n(p);function m(){let{user:e,isLoading:t}=(0,c.Jd)(),r=(0,u.W)(),o=e&&!t,[s,a]=(0,f.A)();return(0,n.jsx)("div",{className:g().root,style:e?{height:a.height}:{},children:(0,n.jsx)(v,{isLoading:t,onLogout:()=>void r({source:"404-page"}),ref:s,user:o?e:void 0})})}function v(e){let{isLoading:t,user:r,onLogout:s,ref:l}=e,c=(0,h.usePathname)(),u="/login".concat(c?"?next=".concat(encodeURIComponent(c)):"");return(0,n.jsxs)(a.B,{align:"center",className:g().content,gap:6,ref:l,style:{opacity:t?0:1},children:[(0,n.jsx)(i.E,{color:"gray-900",variant:"copy-16",children:r?(0,n.jsxs)(n.Fragment,{children:["You are logged in as"," ",(0,n.jsx)("strong",{style:{color:"var(--ds-gray-1000)",fontWeight:500},children:r.email})]}):"Page not found"}),r?(0,n.jsx)(d.Button,{onClick:s,shape:"rounded",size:"large",children:"Sign in as a different user"}):(0,n.jsx)(o.ButtonLink,{href:u,shape:"rounded",size:"large",children:"Sign into Vercel"})]})}var L=r(98129),y=r.n(L);let w=[{href:"/docs",label:"Docs"},{href:"/guides",label:"Guides"},{href:"/blog",label:"Blog"}];function b(){return(0,l.useEffect)(()=>{let e="vc-mktg-draft-attempted";sessionStorage.getItem(e)||(sessionStorage.setItem(e,"1"),(async()=>{(await fetch("/api/force-draft-mode-marketing")).ok&&location.reload()})())},[]),(0,n.jsx)(s.xA.Page,{className:y().page,children:(0,n.jsx)(s.xA.System,{dashedGuides:!0,children:(0,n.jsxs)(s.xA,{columns:1,rows:1,children:[(0,n.jsx)(s.xA.Cross,{column:1,row:1}),(0,n.jsx)(s.xA.Cell,{noPadding:!0,children:(0,n.jsxs)(a.B,{align:"center",gap:{sm:6,md:10,lg:12},justify:"center",paddingY:{sm:10,md:20,lg:24},children:[(0,n.jsx)(x,{}),(0,n.jsx)(i.E,{variant:{sm:"heading-48",md:"heading-72"},children:"404"}),(0,n.jsx)(l.Suspense,{fallback:(0,n.jsx)(v,{isLoading:!0}),children:(0,n.jsx)(m,{})}),(0,n.jsx)(a.B,{direction:"row",gap:2,children:w.map((e,t)=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.Link,{href:e.href,type:"highlight",children:e.label},e.href),t{"use strict";t.r=function(e){if(!e)return!0;if(Array.isArray(e)&&e.length>1)return!1;var t=function(e,t){void 0===t&&(t=2);for(var r=[],n=e;n;)try{if(r.length>t)return[];var o=decodeURIComponent(n);if(o.startsWith("//"))throw Error("Relative URL can't start with double slashes");if(o.includes("\\"))throw Error("URL can't contain backslashes");var s=void 0;s=o.startsWith("/")?new URL(o,"https://vercel.com"):new URL(o),r.push(s),n=s.searchParams.get("next")}catch(e){return[]}return r}((Array.isArray(e)?e[0]:e).replace(/\s/g,""));if(!t.length)return!1;for(var s=0;s{function t(e,t,r){function n(){var c=Date.now()-i;c=0?o=setTimeout(n,t-c):(o=null,r||(l=e.apply(a,s),a=s=null))}null==t&&(t=100);var o,s,a,i,l,c=function(){a=this,s=arguments,i=Date.now();var c=r&&!o;return o||(o=setTimeout(n,t)),c&&(l=e.apply(a,s),a=s=null),l};return c.clear=function(){o&&(clearTimeout(o),o=null)},c.flush=function(){o&&(l=e.apply(a,s),a=s=null,clearTimeout(o),o=null)},c}t.debounce=t,e.exports=t},38365:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=r(72303);function o(e,t){let r=(0,n.useRef)(()=>{}),o=(0,n.useRef)(()=>{});return(0,n.useMemo)(()=>e&&t?n=>{null===n?(r.current(),o.current()):(r.current=s(e,n),o.current=s(t,n))}:e||t,[e,t])}function s(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("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)},96093:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(72303),o=r(4560);function s({debounce:e,scroll:t,polyfill:r}={debounce:0,scroll:!1}){var a;let l=r||("undefined"==typeof window?class{}:window.ResizeObserver);if(!l)throw Error("This browser does not support ResizeObserver out of the box. See: https://github.com/react-spring/react-use-measure/#resize-observer-polyfills");let[c,u]=(0,n.useState)({left:0,top:0,width:0,height:0,bottom:0,right:0,x:0,y:0}),d=(0,n.useRef)({element:null,scrollContainers:null,resizeObserver:null,lastBounds:c}),f=e?"number"==typeof e?e:e.scroll:null,h=e?"number"==typeof e?e:e.resize:null,[p,g]=(0,n.useMemo)(()=>{let e=()=>{if(!d.current.element)return;let{left:e,top:t,width:r,height:n,bottom:o,right:s,x:a,y:l}=d.current.element.getBoundingClientRect(),c={left:e,top:t,width:r,height:n,bottom:o,right:s,x:a,y:l};Object.freeze(c),i(d.current.lastBounds,c)||u(d.current.lastBounds=c)};return[h?(0,o.debounce)(e,h):e,f?(0,o.debounce)(e,f):e]},[u,f,h]);function m(){d.current.scrollContainers&&(d.current.scrollContainers.forEach(e=>{e.removeEventListener("scroll",g,!0)}),d.current.scrollContainers=null),d.current.resizeObserver&&(d.current.resizeObserver.disconnect(),d.current.resizeObserver=null)}function v(){d.current.element&&(d.current.resizeObserver=new l(g),d.current.resizeObserver.observe(d.current.element),t&&d.current.scrollContainers&&d.current.scrollContainers.forEach(e=>{e.addEventListener("scroll",g,{capture:!0,passive:!0})}))}return a=!!t,(0,n.useEffect)(()=>{if(a)return window.addEventListener("scroll",g,{capture:!0,passive:!0}),()=>window.removeEventListener("scroll",g,!0)},[g,a]),(0,n.useEffect)(()=>(window.addEventListener("resize",p),()=>{window.removeEventListener("resize",p)}),[p]),(0,n.useEffect)(()=>{m(),v()},[t,g,p]),(0,n.useEffect)(()=>m,[]),[e=>{e&&e!==d.current.element&&(m(),d.current.element=e,d.current.scrollContainers=function e(t){let r=[];if(!t||t===document.body)return r;let{overflow:n,overflowX:o,overflowY:s}=window.getComputedStyle(t);return[n,o,s].some(e=>"auto"===e||"scroll"===e)&&r.push(t),[...r,...e(t.parentElement)]}(e),v())},c]}e=r.hmd(e);let a=["x","y","top","bottom","left","right","width","height"],i=(e,t)=>a.every(r=>e[r]===t[r]);Object.getOwnPropertyDescriptor&&Object.getOwnPropertyDescriptor(e,"exports").writable&&(e.exports=s);let l=s},84350:(e,t,r)=>{"use strict";r.d(t,{U:()=>o});let n=new Map,o={getItem(e){try{return window.localStorage.getItem(e)}catch(r){var t;return null!==(t=n.get(e))&&void 0!==t?t:null}},removeItem(e){try{window.localStorage.removeItem(e),n.delete(e)}catch(e){}},setItem(e,t){try{window.localStorage.setItem(e,t),n.set(e,t)}catch(e){}}}},12330:(e,t,r)=>{"use strict";r.d(t,{v:()=>h});var n=r(9479),o=r(72303),s=r(75217),a=r.n(s),i=r(50508),l=r(35180),c=r(30696),u=r(45154),d=r(23579),f=r.n(d);function h(e){let{href:t,as:r,tab:o,shallow:s,scroll:d,children:h,prefetch:g=!0,prefetchStrategy:m="visible",icon:v,isDifferentZone:L,...y}=e,w=(0,l.usePrefetchProps)({href:t,isDifferentZone:L,prefetch:g,prefetchStrategy:m});return y.disabled||y.loading?(0,n.jsx)(u.Button,{...y,children:h}):"string"==typeof t&&(o||!(0,c.c)(t)||y.download||L)?(0,n.jsxs)(u.Button,{Component:"a",href:y.disabled?void 0:t,rel:o?"noopener":void 0,target:o?"_blank":void 0,...y,children:[h,v?(0,n.jsx)(i.i,{className:f().externalIcon}):null]}):(0,n.jsx)(a(),{as:r,href:t,legacyBehavior:!0,passHref:!!t,prefetch:w.prefetch,scroll:d,shallow:s,children:(0,n.jsx)(p,{Component:"a",onMouseEnter:w.onMouseEnter,rel:o?"noopener":void 0,target:o?"_blank":void 0,...y,children:h})})}let p=(0,o.forwardRef)((e,t)=>{let{children:r,onClick:o,onMouseEnter:s,...a}=e;return(0,n.jsx)(u.Button,{ref:t,...a,passthroughOnClick:o,passthroughOnMouseEnter:s,children:r})});p.displayName="ButtonWrapper"},50508:(e,t,r)=>{"use strict";r.d(t,{i:()=>n});let n=(0,r(17849).G)('')},30696:(e,t,r)=>{"use strict";function n(e){let t="string"==typeof e?e:e.pathname;return!(!t||/^https?:\/\/$/.exec(t)||t.includes("*"))&&t.startsWith("/")}r.d(t,{c:()=>n})},35180:(e,t,r)=>{"use strict";r.r(t),r.d(t,{usePrefetchProps:()=>l});var n=r(60210),o=r(90921),s=r(72303),a=r(30696),i=r(73124);function l(e){let{prefetch:t,prefetchStrategy:r,isDifferentZone:l,href:c}=e,u=(0,n.useRouter)(),d=c&&(0,a.c)(c),f="visible"===r&&!l&&d&&"true"!==i.env.NEXT_PUBLIC_TESTMODE,h=(0,s.useCallback)(()=>{"string"==typeof c&&u.prefetch(c,{kind:o.PrefetchKind.FULL})},[c,u]);return{onMouseEnter:"hover"===r&&d?h:void 0,prefetch:!!f&&t}}},68841:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ButtonLink:()=>c,Link:()=>l});var n=r(9479),o=r(72303),s=r(12330),a=r(17272),i=r(1966);let l=(0,o.forwardRef)((e,t)=>{var r;let{children:s,...l}=e,{prefetchHref:c}=(0,o.useContext)(i.PrefetchCrossZoneLinksContext),{zoneOfHref:u,isDifferentZone:d,isLoading:f}=(0,i.useZoneForHref)(l.href);return(0,n.jsx)(a.Link,{...l,"data-zone":d?null!=u?u:"null":"same",isDifferentZone:d,onMouseOver:!1!==l.prefetch&&d?function(){l.href&&c(l.href)}:void 0,prefetch:null!==(r=l.prefetch)&&void 0!==r?r:!f&&void 0,ref:t,suppressHydrationWarning:!0,children:s})});function c(e){var t;let{children:r,...a}=e,{prefetchHref:l}=(0,o.useContext)(i.PrefetchCrossZoneLinksContext),{zoneOfHref:c,isDifferentZone:u,isLoading:d}=(0,i.useZoneForHref)(void 0!==a.href?String(a.href):a.href);return(0,n.jsx)(s.v,{...a,"data-zone":u?null!=c?c:"null":"same",isDifferentZone:u,onMouseOver:!1!==a.prefetch&&u?function(){a.href&&"string"==typeof a.href&&l(a.href)}:void 0,prefetch:null!==(t=a.prefetch)&&void 0!==t?t:!d&&void 0,suppressHydrationWarning:!0,children:r})}l.displayName="MultiZoneLink"},35238:(e,t,r)=>{"use strict";r.d(t,{g:()=>i});var n=r(42652),o=r.n(n);let s={},a=e=>{let t=s[e];if(t)return t;let r=o()(e);return s[e]=r,r},i=function(e,t){for(var r=arguments.length,n=Array(r>2?r-2:0),o=2;o{"use strict";r.d(t,{jL:()=>o,kl:()=>s});var n=r(84514);let o=e=>{let{redirect:t,next:r}=e,n=new URL("/login","https://vercel.com");return r&&n.searchParams.set("next",r),t("".concat(n.pathname).concat(n.search))};function s(e){if(!e||!(0,n.r)(e))return null;let t=Array.isArray(e)?e[0]:e;return t?decodeURIComponent(t):null}},43:(e,t,r)=>{"use strict";r.d(t,{_$:()=>i,xR:()=>l});var n=r(63176),o=r(1646);let s=()=>Object.prototype.hasOwnProperty.call(globalThis,"navigator")&&"function"==typeof globalThis.navigator.sendBeacon,a=async(e,t)=>{if(s()){let r=t?new Blob([JSON.stringify(t)],{type:"application/json"}):void 0;return Promise.resolve(navigator.sendBeacon(e,r))}return(0,o.ff)(e.toString(),{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:t}).then(()=>!0,()=>!1)},i=()=>a(n.o$9),l=()=>fetch(n.o$9,{method:"DELETE"})},60297:(e,t,r)=>{"use strict";r.d(t,{LogoutScreen:()=>P,W:()=>O});var n=r(9479),o=r(60210),s=r(25940),a=r(83242),i=r(12669),l=r(49901),c=r(72303),u=r(78233);function d(e){let{fill:t="currentColor",...r}=e;return(0,n.jsx)("svg",{"aria-label":"Vercel Logo",fill:t,viewBox:"0 0 75 65",...r,children:(0,n.jsx)("path",{d:"M37.59.25l36.95 64H.64l36.95-64z"})})}var f=r(2853),h=r(41712),p=r.n(h),g=r(48757),m=r(33877),v=r(23682),L=r(72260),y=r(4375),w=r(91157),b=r(1646),x=r(63176),j=r(84350),k=r(43);let H="loggedOut";async function _(e){let{source:t}=e;try{if(!(await (0,b.ff)("".concat(x.CwE,"/current"),{method:"DELETE",throwOnHTTPError:!0})).tokenId)throw Error("Unable to log out");L.zS.track(y.q.LOGOUT,{source:t})}catch(e){if(!(0,v.G)(e)||404!==e.status&&403!==e.status)return e}await C()}async function C(){j.U.setItem(H,"1"),j.U.removeItem(H),m.A.remove("team"),m.A.remove("isLoggedIn"),m.A.remove("userCache"),m.A.remove("teamsCache"),(0,w.vU)(),delete globalThis.__loggedIn,await Promise.allSettled([(0,g.Tk)(x.B5,null,!0),await (0,k.xR)()]),L.zS.reset()}window.addEventListener("storage",e=>{e.key===H&&"1"===e.newValue&&(0,f.jL)({next:"".concat(window.location.pathname).concat(window.location.search),redirect:e=>window.location.assign(e)})});let E=null,V=e=>function(t){return E?E(e)(t):z(e)(t)},O=()=>V((0,o.useRouter)());function P(){let[e,t]=(0,c.useState)(!1),r=(0,o.usePathname)();(0,c.useEffect)(()=>{E||(E=f)},[]),(0,c.useEffect)(()=>{(null==r?void 0:r.startsWith("/login"))&&e&&t(!1)},[r,e]);let f=e=>async r=>{let{next:n,source:o,redirectType:a}=r;t(!0),await _({source:o})?(t(!1),s.toasts.error("There was an error logging you out.")):S(e,n,a)};return(0,n.jsx)(u.Z,{children:e?(0,n.jsxs)(i.B,{className:p().logoutScreen,children:[(0,n.jsx)("header",{className:p().header,children:(0,n.jsx)(d,{color:"var(--geist-foreground)",height:22})}),(0,n.jsxs)(i.B,{align:"center",flex:1,gap:2,justify:"center",children:[(0,n.jsx)(a.y,{size:24}),(0,n.jsx)(l.E,{align:"center",as:"h1",variant:"heading-24",children:"Logging out"})]})]}):null})}function S(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"redirect-to-login-with-next-param-after-logout";switch(r){case"redirect-to-login-with-next-param-after-logout":e.push("/login".concat(t?"?next=".concat(t):""));break;case"redirect-to-next-after-logout":e.push(t||"/login")}}let z=e=>async t=>{let{next:r,source:n,redirectType:o}=t;await _({source:n})?s.toasts.error("There was an error logging you out."):S(e,r,o)}},98129:e=>{e.exports={page:"not-found_page__ikRyp",game:"not-found_game__lMa_D",fadeIn:"not-found_fadeIn__ZDPin"}},47838:e=>{e.exports={root:"user-section_root__xV7bc",content:"user-section_content__Q37W5"}},41712:e=>{e.exports={logoutScreen:"with-redirect_logoutScreen__kYzM_",fadeIn:"with-redirect_fadeIn___QByS",header:"with-redirect_header__ecLgJ"}},1966:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Link:()=>b,PrefetchCrossZoneLinks:()=>L,PrefetchCrossZoneLinksContext:()=>l,PrefetchCrossZoneLinksProvider:()=>c,useZoneForHref:()=>w});var n=r(72303),o=r(75217),s=r(9479),a=r(14775),i=r(84432),l=(0,n.createContext)({prefetchHref:()=>{}});function c(e){let{children:t}=e,[r,o]=(0,n.useState)(new Set),[a,i]=(0,n.useState)(!1);(0,n.useEffect)(()=>{i("u">typeof navigator&&(navigator.userAgent.includes("Firefox")||navigator.userAgent.includes("Safari")&&!navigator.userAgent.includes("Chrome")))},[]);let c=(0,n.useCallback)(e=>{r.has(e)||o(new Set(r).add(e))},[r]),u=(0,n.useMemo)(()=>({prefetchHref:c}),[c]);return a?(0,s.jsxs)(l.Provider,{value:u,children:[t,[...r].map(e=>(0,s.jsx)("link",{as:"fetch",href:e,rel:"preload"},e))]}):(0,s.jsx)(s.Fragment,{children:t})}function u(){let e='{"applications":{"vercel-site":{"default":true},"geist-docs":{"default":false,"routing":{"assetPrefix":"geist-docs","matches":[{"paths":["/design","/design/:path*","/font","/font/:path*","/geist","/geist/:path*"]}]}},"vercel-docs":{"default":false,"routing":{"assetPrefix":"vercel-docs","matches":[{"group":"default","paths":["/api/ai/help","/api/ai/help/metadata","/api/force-draft-mode-guides","/docs","/docs/:path*","/guides","/guides/:path*","/help"]}]}},"vercel-docs-refresh":{"default":false,"routing":{"assetPrefix":"vercel-docs-refresh","matches":[{"group":"default","paths":["/docs-refresh","/docs-refresh/:path*"]}]}},"vercel-marketing":{"default":false,"routing":{"assetPrefix":"mktng","matches":[{"group":"solutions-turborepo","options":{"flag":"svs-rewrite-turborepo-solutions-page"},"paths":["/solutions/turborepo"]},{"group":"transparency-report","options":{"flag":"enable-transparency-report-page"},"paths":["/legal/transparency"]},{"group":"default","paths":["/","/contact","/home","/home/:path*","/pricing","/enterprise","/bfcm","/customers","/solutions/platform-engineering","/solutions/design-engineering","/ai","/solutions/ai-apps","/solutions/composable-commerce","/solutions/marketing-sites","/solutions/multi-tenant-saas","/solutions/web-apps","/products/previews","/products/rendering","/products/observability","/security","/security/web-application-firewall","/frameworks/nextjs","/roi","/contact/sales","/contact/sales/:slug*","/try-enterprise","/solutions/composable-commerce/migration","/functions/sales-email","/api/chilipiper-profile","/api/clearbit/enrichment","/api/validate-email","/ai-accelerator","/about","/careers/:slug*","/api/job-application","/api/careers/webhooks/job-modified","/partners/aws","/partners/wpp","/partners/optimizely","/partners/sitecore","/partners/salesforce-commerce-cloud","/experts","/experts/:path*","/api/experts/contact-expert","/oss","/storage/edge-config","/storage/blob","/legal","/legal/baa","/legal/conformance-addendum","/legal/cookie-policy","/legal/dmca-policy","/legal/domain-registration-addendum","/legal/dpa-sitecore","/legal/dpa","/legal/event-code-of-conduct","/legal/event-terms-conditions","/legal/integration-marketplace-end-users-addendum","/legal/inactivity-policy","/legal/job-applicant-privacy-notice","/legal/privacy-policy","/legal/sla","/legal/support-terms","/legal/terms","/legal/trademark-policy","/api/force-draft-mode-marketing","/internal/revalidate-marketing","/api/contentful-webhook-marketing","/components/visuals","/abuse","/abuse/:path*","/api/report-abuse","/api/report-abuse/:path*","/blog","/blog/:slug*","/press","/changelog","/changelog/:slug*","/customers/:slug*","/startups/credits","/startups/credits/microsoft-for-startups","/communications-center","/api/communications-center","/gartner-mq","/resources","/resources/:slug","/resources/curated","/resources/curated/:slug","/resources/collections","/resources/collections/:slug","/api/resources/download/:slug","/api/resources/search","/go/:slug+","/api/try/register","/149e9513-01fa-4fb0-aad4-566afd725d1b/2d206a39-8ed7-437e-a3be-862e0f06eea3/:slug*"]}]}},"vercel-ship":{"default":false,"routing":{"assetPrefix":"vercel-ship","matches":[{"paths":[]}]}}}}';if(!e)throw Error("Could not find client micro-frontends config in the environment");return JSON.parse(e)}var d=null;async function f(){try{let e=await fetch("/.well-known/vercel/micro-frontends/client-config");return 200!==e.status?null:(await e.json()).config}catch(e){return null}}function h(){let{removeFlaggedPathsFromDefault:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[t,r]=(0,n.useState)(e?function(e){for(let t of Object.values(e.applications))t.routing&&(t.routing.matches=t.routing.matches.filter(e=>{var t;return!(null!=(t=e.options)&&t.flag)}));return e}(u()):u()),[o,s]=(0,n.useState)(!0);return(0,n.useEffect)(()=>{if(!Object.values(u().applications).some(e=>{var t;return null==(t=e.routing)?void 0:t.matches.some(e=>{var t;return null==(t=e.options)?void 0:t.flag})})){s(!1);return}d||(d=f()),d.then(e=>{e&&r(t=>JSON.stringify(t)===JSON.stringify(e)?t:e)}).finally(()=>{s(!1)})},[t.applications]),{clientConfig:t,isLoading:o}}var p="data-prefetch",g={anyZone:"[data-zone]",external:'[data-zone="null"]',sameZone:'[data-zone="same"]',prefetch:"[".concat(p,"]")},m={and:[{href_matches:"/*"},{selector_matches:g.anyZone},{not:{selector_matches:g.sameZone}},{not:{selector_matches:g.external}}]},v={and:[{href_matches:"/*"},{selector_matches:g.anyZone},{not:{selector_matches:g.sameZone}},{not:{selector_matches:g.external}},{selector_matches:g.prefetch}]};function L(){let{isLoading:e}=h(),[t,r]=(0,n.useState)([]);return(0,n.useEffect)(()=>{if(e)return;let r=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&!e.target.hasAttribute(p)&&function e(t){if(!t)return!0;if("checkVisibility"in t)return t.checkVisibility({opacityProperty:!0});let r=window.getComputedStyle(t);return"none"!==r.display&&"hidden"!==r.visibility&&"0"!==r.opacity&&e(t.parentElement)}(e.target)&&e.target.setAttribute(p,"true")})},{root:null,rootMargin:"0px",threshold:.1});return t.forEach(e=>r.observe(e)),()=>{r.disconnect()}},[e,t]),(0,n.useEffect)(()=>{if(e)return;let t=new MutationObserver(e=>{e.some(e=>"childList"===e.type&&e.addedNodes.length>0||"attributes"===e.type&&"href"===e.attributeName)&&r(Array.from(document.querySelectorAll("a".concat(g.anyZone,":not(").concat(g.prefetch,"):not(").concat(g.sameZone,"):not(").concat(g.external,")"))))});return t.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["href"]}),()=>{t.disconnect()}},[e]),e?null:(0,s.jsx)(a.default,{dangerouslySetInnerHTML:{__html:"".concat(JSON.stringify({prefetch:[{eagerness:"moderate",where:m},{eagerness:"immediate",where:v}],prerender:[{eagerness:"conservative",where:m}]}))},id:"prefetch-zones-links",type:"speculationrules"})}var y=new WeakMap;function w(e){let{clientConfig:t,isLoading:r}=h({removeFlaggedPathsFromDefault:!0}),n="string"==typeof e&&e.startsWith("/"),o=n?function(e,t){var r;if(!t.startsWith("/"))throw Error("Path must start with a /");let n=null!==(r=y.get(e))&&void 0!==r?r:{};if(n[t])return n[t];y.has(e)||y.set(e,n);let o=new URL(t,"https://example.com").pathname;for(let[r,s]of Object.entries(e.applications))if(s.routing){for(let e of s.routing.matches)for(let s of e.paths)if((0,i.MM)(s).test(o))return n[t]=r,r}let s=Object.entries(e.applications).find(e=>{let[,t]=e;return t.default});if(!s)throw Error("No default application found. A default application must be configured in the micro-frontends configuration.");return n[t]=s[0],s[0]}(t,e):null;return{zoneOfHref:o,isDifferentZone:!n||!!o&&"vercel-marketing"!==o,isLoading:r}}var b=(0,n.forwardRef)((e,t)=>{var r;let{children:a,...i}=e,{prefetchHref:c}=(0,n.useContext)(l),{zoneOfHref:u,isDifferentZone:d,isLoading:f}=w(i.href);if(d&&null!==u){let{prefetch:e,...t}=i;return(0,s.jsx)("a",{...t,"data-zone":u,onMouseOver:!1!==i.prefetch?function(){i.href&&c(i.href)}:void 0,children:a})}return(0,s.jsx)(o,{...i,"data-zone":u?"same":"null",prefetch:null!==(r=i.prefetch)&&void 0!==r?r:!f&&void 0,ref:t,children:a})});b.displayName="MultiZonesLink"}},e=>{var t=t=>e(e.s=t);e.O(0,[8260,6398,41,2033,8087,6442,348,5217,2931,3205,870,3903,3315,598,4636,3386,1731,5940,79,2941,7358],()=>t(75333)),_N_E=e.O()}]); //# debugId=b9f23d70-d29f-548a-b6e3-c1245df6272d