!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]="95168121-6df5-5314-a5b4-82095471789d")}catch(e){}}(); (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8891],{69219:(e,i,t)=>{"use strict";t.r(i),t.d(i,{DeployGlobe:()=>I});var n=t(9479),r=t(39385),o=t(99317),l=t(17223),s=t(72303),a=t(49901),d=t(73722),c=t(72200),u=t(72892),p=t(46919),g=t(83844),h=t(48032),y=t(72260),C=t(4375),x=t(66948),m=t(51556),f=t(46556),j=t(74168),_=t.n(j),b=t(46379),v=t.n(b);function w(e){let{children:i,onDone:t,caret:r=!1,startDelay:o=0,typingDelay:l=90}=e,[a,d]=(0,s.useState)(!1),[c,u]=(0,s.useState)("");return(0,s.useEffect)(()=>{let e;if(c.length===i.length){null==t||t(),d(!0);return}return setTimeout(()=>{e=window.setTimeout(()=>{let e=i.split("")[c.length];e&&u(c+e)},l)},o&&0===c.length?o:0),()=>clearInterval(e)},[i,c,t,o,l]),(0,n.jsxs)(n.Fragment,{children:[c,!a&&r?(0,n.jsx)("span",{className:v().caret}):null]})}let N={start:"Nodes on the globe are sending out small pulses to indicate activity",typing:'Pulses continue, "git push" is now typed out in an abstract terminal',building:"The terminal now shows a build process. The framework icons appear, demonstrating inference",deployed:"The deployment succeeds. Cascading pulses descend from the top of the globe, connecting with the aforementioned nodes. The animation is now complete."};function k(e,i){return i.includes(e)}function I(){let e=(0,s.useRef)(null),i=(0,r.W)(e),t=(0,s.useRef)("deployed"),[d,u]=(0,s.useState)("start"),[h,m]=(0,s.useState)(!1),[f,j]=(0,s.useState)(0);function b(e,i){t.current=e,setTimeout(()=>{t.current===e&&u(e)},i)}function v(){u("start"),b("typing",2e3)}return(0,s.useEffect)(()=>{i?v():t.current="start"},[i]),(0,s.useEffect)(()=>{"building"===d&&(b("deployed",5e3),j(e=>e+1)),m(!1)},[d]),(0,n.jsxs)("div",{className:_().globe,ref:e,children:[(0,n.jsx)("div",{"aria-label":"Animated 2D grid globe with Vercel Edge Network nodes arbitrarily placed","aria-live":"polite",className:(0,g.$)(_().region,"geist-sr-only"),role:"log",children:N[d]}),(0,n.jsxs)(x.qz,{color:"var(--guide-color)",fill:"var(--ds-background-200)",half:!0,latitudeDivisions:10,longitudeDivisions:8,children:[(0,n.jsx)(o.N,{children:k(d,["start","typing","building"])?(0,n.jsx)(l.P.g,{animate:{opacity:1},"data-testid":"globe-idle-paths",exit:{opacity:0,transition:{duration:.5,delay:0}},initial:{opacity:0},transition:{duration:.5,delay:.5},children:F.map((e,i)=>{let t="idle-path-".concat(e.directions,"-").concat(e.origin.x,"-").concat(e.origin.y);return(0,n.jsx)(x.qz.Path,{color:"#2C8CE1","data-testid":t,delay:.15*i,gradientSizeMultiplier:1,maxSegmentDuration:.8,p3Color:"oklch(62.72% 0.2247 249.81)",path:e,repeat:Number.POSITIVE_INFINITY,repeatDelay:2.5},t)})}):null}),(0,n.jsx)("g",{"data-testid":"globe-nodes",children:L.map(e=>{let{directions:i,origin:t}=e.deployment,r="deploy-node-".concat(t.x,"-").concat(t.y,"-").concat(i);return(0,n.jsxs)("g",{"data-testid":r,children:[(0,n.jsx)(o.N,{children:k(d,["deployed"])?(0,n.jsx)(l.P.g,{animate:{opacity:1},exit:{opacity:0},initial:{opacity:0},children:(0,n.jsx)(x.qz.Path,{color:"#45DEC4",delay:1,duration:3,gradientSizeMultiplier:3,p3Color:"oklch(81.5% 0.2018 178.96)",path:e.deployment,repeat:Number.POSITIVE_INFINITY,repeatDelay:1.5})}):null}),(0,n.jsx)(x.qz.Node,{...e.position,children:(0,n.jsx)(M,{...e.position,pulse:k(d,["deployed"])})})]},r)})})]}),(0,n.jsxs)(l.P.div,{animate:{scale:h?[1,.96,1]:1,...h&&{transition:{duration:.3,ease:"easeOut",delay:.3}}},className:_().info,"data-state":d,layout:!0,style:{borderRadius:8,borderWidth:1},transition:{type:"spring",stiffness:200,damping:30},children:[(0,n.jsxs)("div",{"aria-hidden":!0,className:_().left,children:["start"===d?(0,n.jsx)(l.P.div,{animate:{opacity:[1,1,0],transition:{repeat:Number.POSITIVE_INFINITY}},className:_().cursor,exit:{opacity:0},initial:{opacity:0},layoutId:"start"},"start"):null,"typing"===d?(0,n.jsxs)(l.P.div,{animate:h?{opacity:0,transition:{delay:1.8}}:{opacity:1},className:_().row,initial:{opacity:0},layoutId:"typing",onAnimationComplete:function(){h&&b("building",0)},children:[(0,n.jsxs)(a.E,{as:"div",monospace:!0,size:{sm:12,md:13},children:[(0,n.jsx)(l.P.span,{animate:{filter:"blur(0px)",opacity:1},className:_().lightText,initial:{filter:"blur(1px)",opacity:.5},transition:{delay:.2},children:"~ vercel-site/"})," ",(0,n.jsx)(w,{onDone:()=>m(!0),startDelay:1e3,children:"git push"})]}),(0,n.jsx)(l.P.div,{className:_().cursor,layoutId:"start"})]},"typing"):null,"building"===d?(0,n.jsxs)(l.P.div,{animate:{opacity:1},className:_().building,exit:{opacity:0},initial:{opacity:0},layoutId:"building",children:[(0,n.jsx)(c.h,{className:_().vercelLogo}),(0,n.jsxs)(a.E,{as:"div",monospace:!0,size:{sm:12,md:13},children:["building",(0,n.jsx)(T,{})]})]},"building"):null,"deployed"===d?(0,n.jsx)(l.P.p,{animate:{opacity:1},exit:{opacity:0},initial:{opacity:0},layoutId:"deployed",children:(0,n.jsx)(a.E,{as:"div",monospace:!0,size:{sm:12,md:13},children:"deployed"})},"deployed"):null]}),"building"===d?(0,n.jsx)(l.P.div,{animate:{opacity:1,transition:{delay:.15}},"aria-hidden":!0,className:(0,g.$)(_().right,_().frameworks),initial:{opacity:0},children:(0,n.jsx)(S,{iterations:f})},"icons"):null,"deployed"===d?(0,n.jsx)(l.P.button,{animate:{opacity:1},"aria-label":"Replay globe animation",className:(0,g.$)(_().right,_().replay),initial:{opacity:0},onClick:()=>{v(),y.zS.track(C.q.CLICK_EVENT,{click_name:"click_button",click_value:"infra_interactive"})},transition:{delay:.15},children:(0,n.jsx)(p.G,{"aria-hidden":!0})},"replay"):null]})]})}let E=[[(0,n.jsx)(d.z,{},"react"),(0,n.jsx)(function(){return(0,n.jsxs)("svg",{fill:"none",height:"16",viewBox:"0 0 16 16",width:"16",children:[(0,n.jsx)("path",{d:"M13.2434 3.03075C13.2325 2.95128 13.1631 2.90719 13.1054 2.90239C13.0483 2.89759 11.928 2.88057 11.928 2.88057C11.928 2.88057 10.991 1.97069 10.8984 1.87814C10.8059 1.78558 10.6251 1.81352 10.5549 1.83448C10.554 1.83491 10.3789 1.88905 10.0842 1.9803C10.0349 1.82051 9.96238 1.62404 9.85891 1.42669C9.52537 0.790134 9.03681 0.453517 8.44652 0.452646C8.44565 0.452646 8.44521 0.452646 8.44434 0.452646C8.40329 0.452646 8.36269 0.456575 8.32167 0.460066C8.3042 0.43911 8.28673 0.418591 8.2684 0.398506C8.01123 0.123451 7.68162 -0.0105848 7.28649 0.0012033C6.52419 0.0230332 5.76496 0.573583 5.14936 1.55156C4.71625 2.23964 4.38662 3.10411 4.29319 3.77341C3.41781 4.04453 2.8057 4.234 2.79217 4.23838C2.35033 4.37721 2.33636 4.39074 2.27873 4.80728C2.23594 5.12204 1.07983 14.0618 1.07983 14.0618L10.7683 15.7375L14.9675 14.6936C14.9675 14.6936 13.2543 3.11022 13.2434 3.03075ZM9.59914 2.13049C9.37605 2.19947 9.12237 2.27806 8.84731 2.3632C8.84165 1.97724 8.7958 1.44023 8.61593 0.976124C9.19442 1.08571 9.47907 1.74017 9.59914 2.13049ZM8.34042 2.52037C7.83267 2.67754 7.27862 2.84912 6.72285 3.02115C6.87914 2.42257 7.1756 1.82662 7.53973 1.43586C7.67507 1.29048 7.86454 1.1285 8.08895 1.03594C8.29982 1.47603 8.34567 2.09905 8.34042 2.52037ZM7.30176 0.508528C7.48077 0.504599 7.6314 0.543895 7.7602 0.628594C7.55413 0.735561 7.35503 0.889243 7.16818 1.08964C6.68398 1.60919 6.31287 2.41559 6.16487 3.1936C5.70338 3.33636 5.25194 3.47653 4.8363 3.60489C5.09871 2.38022 6.12513 0.542583 7.30176 0.508528Z",fill:"#95BF47"}),(0,n.jsx)("path",{d:"M13.1059 2.90292C13.0487 2.89812 11.9284 2.8811 11.9284 2.8811C11.9284 2.8811 10.9915 1.97122 10.8989 1.87866C10.8644 1.84417 10.8177 1.82627 10.7688 1.81885L10.7692 15.7371L14.968 14.6937C14.968 14.6937 13.2548 3.11075 13.2439 3.03128C13.2329 2.95181 13.1631 2.90772 13.1059 2.90292Z",fill:"#5E8E3E"}),(0,n.jsx)("path",{d:"M8.44118 5.06176L7.95352 6.88628C7.95352 6.88628 7.40951 6.63874 6.76467 6.67934C5.81898 6.73917 5.80893 7.33555 5.81856 7.48531C5.87007 8.3013 8.0168 8.47944 8.13732 10.3909C8.23206 11.8945 7.33964 12.9231 6.05388 13.0043C4.5105 13.1017 3.66089 12.1914 3.66089 12.1914L3.98791 10.8004C3.98791 10.8004 4.84318 11.4457 5.52777 11.4025C5.97485 11.3741 6.13464 11.0104 6.11848 10.7532C6.05126 9.68881 4.30312 9.75168 4.19267 8.00267C4.09966 6.53092 5.06631 5.03949 7.19906 4.90502C8.02074 4.8522 8.44118 5.06176 8.44118 5.06176Z",fill:"white"})]})},{},"shopify")],[(0,n.jsx)(h.V,{size:16},"next"),(0,n.jsx)(function(){return(0,n.jsxs)("svg",{fill:"none",height:"16",viewBox:"0 0 16 16",width:"16",children:[(0,n.jsx)("path",{d:"M3.20615 2.0536C3.20615 4.19746 4.5376 5.48378 7.2005 6.16079L10.0214 6.81523C12.5489 7.40197 14.0834 8.84626 14.0834 11.1932C14.106 12.2087 13.7675 13.2017 13.1582 14.0141C13.1582 11.6671 11.9396 10.4034 9.02843 9.63611L6.25269 9.00423C4.01856 8.50776 2.30347 7.31171 2.30347 4.76164C2.30347 3.79126 2.6194 2.82087 3.20615 2.0536Z",fill:"#F04939"}),(0,n.jsx)("path",{d:"M11.4206 10.6065C12.6167 11.3738 13.1583 12.457 13.1583 14.0141C12.1428 15.3004 10.4051 16 8.35151 16C4.89876 16 2.43896 14.2849 1.91992 11.3286H5.23727C5.66604 12.6827 6.79439 13.3145 8.32895 13.3145C10.1569 13.3371 11.3981 12.3441 11.4206 10.6065ZM4.9439 5.23554C3.81555 4.55853 3.16111 3.33992 3.20624 2.03103C4.17662 0.767278 5.84658 0 7.87761 0C11.4206 0 13.4517 1.87306 13.9707 4.49083H10.7662C10.4051 3.45275 9.525 2.64034 7.92274 2.64034C6.18508 2.66291 5.0116 3.65585 4.9439 5.23554Z",fill:"#F37368"})]})},{},"sanity")],[(0,n.jsx)(u.B,{},"svelte"),(0,n.jsx)(function(){return(0,n.jsxs)("svg",{fill:"none",height:"16",viewBox:"0 0 16 16",width:"16",children:[(0,n.jsx)("path",{d:"M4.80411 11.157C3.97223 10.3153 3.50247 9.17027 3.51226 7.98608C3.51226 6.80188 3.98202 5.65684 4.83347 4.82496C5.55769 4.17904 5.62619 3.06335 4.98027 2.33913C4.33434 1.61491 3.21865 1.54641 2.49443 2.19233C2.4455 2.24127 2.39657 2.28041 2.35742 2.32935C-0.77434 5.44153 -0.784127 10.5013 2.31827 13.633C2.9642 14.3572 4.07989 14.416 4.80411 13.77C5.52833 13.1241 5.58705 12.0084 4.94112 11.2842C4.89219 11.2451 4.85304 11.1961 4.80411 11.157Z",fill:"#FFDA00"}),(0,n.jsx)("path",{d:"M4.83331 4.82501C6.58514 3.08297 9.4233 3.09276 11.1653 4.84458C11.8113 5.57859 12.927 5.64709 13.6512 5.00117C14.3754 4.35524 14.4537 3.23956 13.8078 2.51534C13.7588 2.46641 13.7099 2.40768 13.661 2.36854C10.5586 -0.763217 5.51838 -0.792577 2.38662 2.30003C2.37684 2.30982 2.36705 2.3196 2.35726 2.32939C1.62326 2.97532 1.55475 4.08122 2.20068 4.81522C2.8466 5.54923 3.9525 5.61773 4.68651 4.97181C4.73544 4.92287 4.78438 4.87394 4.83331 4.82501Z",fill:"#67B3FF"}),(0,n.jsx)("path",{d:"M11.1458 11.1766C10.3041 12.0183 9.15907 12.4782 7.97488 12.4782C6.79068 12.4782 5.64563 12.0085 4.81376 11.157C4.16783 10.4328 3.05214 10.3643 2.32792 11.0102C1.6037 11.6562 1.5352 12.7718 2.18112 13.4961C2.23005 13.545 2.2692 13.5939 2.31814 13.6331C5.42054 16.7648 10.4705 16.7942 13.6023 13.6918C13.612 13.682 13.612 13.682 13.6218 13.6722C14.3167 12.9872 14.3167 11.8715 13.6316 11.1766C12.9563 10.5013 11.8406 10.4915 11.1458 11.1766Z",fill:"#EB5A68"})]})},{},"contentful")]];function S(e){let{iterations:i}=e,t=(0,s.useMemo)(()=>E[i%E.length],[i]);return(0,n.jsxs)(n.Fragment,{children:[t[0]," ",t[1]]})}function T(){return(0,n.jsxs)("div",{"aria-hidden":!0,className:_().dots,children:[(0,n.jsx)("div",{}),(0,n.jsx)("div",{}),(0,n.jsx)("div",{})]})}function M(e){let{x:i,y:t,pulse:r}=e,o=(0,m.w)().matrixRelativeToOrigin(i,t),l=(0,s.useId)(),a={delay:2,duration:3,repeatCount:"indefinite",repeatDelay:1.5};return(0,n.jsx)("g",{opacity:r?1:0,children:(0,n.jsxs)("circle",{cx:o.x,cy:o.y,fill:"none",r:"0",stroke:"#45DEC4",strokeWidth:"2",children:[(0,n.jsx)(f.Q,{attributeName:"r",id:"".concat(l,"-r-pulse"),values:[0,12,18,24,0],...a}),(0,n.jsx)(f.Q,{attributeName:"opacity",id:"".concat(l,"-opacity-pulse"),values:[0,1,.5,0,0],...a})]})})}let L=[{position:{x:3,y:2},deployment:{origin:{x:3,y:5},directions:"ddd",angleAdjustment:20}},{position:{x:-3,y:1},deployment:{origin:{x:-3,y:5},directions:"dddd",angleAdjustment:-11}},{position:{x:1,y:3},deployment:{origin:{x:1,y:5},directions:"dd",angleAdjustment:11}},{position:{x:-2,y:4},deployment:{origin:{x:-1,y:5},directions:"dl",angleAdjustment:-90}},{position:{x:-1,y:2},deployment:{origin:{x:0,y:5},directions:"dddl",angleAdjustment:-90}}],P=L[0].position,V=L[1].position,Z=L[2].position,A=L[3].position,D=L[4].position,F=[{origin:P,directions:"ldld"},{origin:V,directions:"ld"},{origin:Z,directions:"ulu"},{origin:A,directions:"ldl"},{origin:D,directions:"drd"},{origin:P,directions:"uuu"},{origin:V,directions:"drr"},{origin:Z,directions:"dd"},{origin:A,directions:"ru"},{origin:D,directions:"ull"},{origin:P,directions:"luuu"},{origin:V,directions:"lu"},{origin:Z,directions:"rrr"},{origin:A,directions:"dddd"},{origin:D,directions:"ruuu"},{origin:P,directions:"rdd"},{origin:V,directions:"uru"},{origin:Z,directions:"lll"},{origin:D,directions:"rdrd"},{origin:P,directions:"ddr"}]},72200:(e,i,t)=>{"use strict";t.d(i,{h:()=>n});let n=(0,t(17849).G)('')},46919:(e,i,t)=>{"use strict";t.d(i,{G:()=>n});let n=(0,t(17849).G)('')},48032:(e,i,t)=>{"use strict";t.d(i,{V:()=>a});var n=t(9479),r=t(72303),o=t(83844),l=t(21537),s=t.n(l);let a=r.forwardRef(function(e,i){let{size:t=80,theme:l,className:a,...d}=e,c=r.useId();return(0,n.jsxs)("svg",{"aria-label":"Next.js logomark",className:(0,o.$)(s().root,a),"data-theme":l,height:t,ref:i,role:"img",viewBox:"0 0 180 180",width:t,...d,children:[(0,n.jsx)("mask",{height:"180",id:"".concat(c,"mask0_408_134"),maskUnits:"userSpaceOnUse",style:{maskType:"alpha"},width:"180",x:"0",y:"0",children:(0,n.jsx)("circle",{cx:"90",cy:"90",fill:"black",r:"90"})}),(0,n.jsxs)("g",{mask:"url(#".concat(c,"mask0_408_134)"),children:[(0,n.jsx)("circle",{cx:"90",cy:"90","data-circle":!0,fill:"black",r:"90",..."dark"===l&&{stroke:"white",strokeWidth:"6px"}}),(0,n.jsx)("path",{d:"M149.508 157.52L69.142 54H54V125.97H66.1136V69.3836L139.999 164.845C143.333 162.614 146.509 160.165 149.508 157.52Z",fill:"url(#".concat(c,"paint0_linear_408_134)")}),(0,n.jsx)("rect",{fill:"url(#".concat(c,"paint1_linear_408_134)"),height:"72",width:"12",x:"115",y:"54"})]}),(0,n.jsxs)("defs",{children:[(0,n.jsxs)("linearGradient",{gradientUnits:"userSpaceOnUse",id:"".concat(c,"paint0_linear_408_134"),x1:"109",x2:"144.5",y1:"116.5",y2:"160.5",children:[(0,n.jsx)("stop",{stopColor:"white"}),(0,n.jsx)("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),(0,n.jsxs)("linearGradient",{gradientUnits:"userSpaceOnUse",id:"".concat(c,"paint1_linear_408_134"),x1:"121",x2:"120.799",y1:"54",y2:"106.875",children:[(0,n.jsx)("stop",{stopColor:"white"}),(0,n.jsx)("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]})]})]})})},74168:e=>{e.exports={buttons:"globe_buttons__W_Aoa",region:"globe_region__IAFrX",cursor:"globe_cursor__GYIFR",info:"globe_info__7MYCa",replay:"globe_replay__yakI1",left:"globe_left__qbzUV",building:"globe_building__hplj0",right:"globe_right__8TH7v",rotate:"globe_rotate__Ihoji",dots:"globe_dots__BsSU1",blink:"globe_blink__TAOCq",lightText:"globe_lightText__hJ3t0",row:"globe_row__VZdN4",globe:"globe_globe__E32kS",vercelLogo:"globe_vercelLogo__hQ11r"}},46379:e=>{e.exports={caret:"type_caret__3rwuD"}},34439:(e,i,t)=>{"use strict";t.d(i,{K:()=>r});var n=t(12533);function r(e,i,t){var r;if("string"==typeof e){let o=document;i&&((0,n.V)(!!i.current,"Scope provided, but no element detected."),o=i.current),t?(null!==(r=t[e])&&void 0!==r||(t[e]=o.querySelectorAll(e)),e=t[e]):e=o.querySelectorAll(e)}else e instanceof Element&&(e=[e]);return Array.from(e||[])}},61405:(e,i,t)=>{"use strict";t.d(i,{I:()=>l});var n=t(72303),r=t(82484),o=t(44723);function l(){o.r.current||(0,r.U)();let[e]=(0,n.useState)(o.O.current);return e}},39385:(e,i,t)=>{"use strict";t.d(i,{W:()=>l});var n=t(72303),r=t(34439);let o={any:0,all:1};function l(e,{root:i,margin:t,amount:s,once:a=!1}={}){let[d,c]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{if(!e.current||a&&d)return;let n={root:i&&i.current||void 0,margin:t,amount:"some"===s?"any":s};return function(e,i,{root:t,margin:n,amount:l="any"}={}){let s=(0,r.K)(e),a=new WeakMap,d=new IntersectionObserver(e=>{e.forEach(e=>{let t=a.get(e.target);if(!!t!==e.isIntersecting){if(e.isIntersecting){let t=i(e);"function"==typeof t?a.set(e.target,t):d.unobserve(e.target)}else t&&(t(e),a.delete(e.target))}})},{root:t,rootMargin:n,threshold:"number"==typeof l?l:o[l]});return s.forEach(e=>d.observe(e)),()=>d.disconnect()}(e.current,()=>(c(!0),a?void 0:()=>c(!1)),n)},[i,e,t,a]),d}}}]); //# debugId=95168121-6df5-5314-a5b4-82095471789d