1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5423],{5423:(e,r,t)=>{t.r(r),t.d(r,{DetectViteDevServerStopped:()=>m,DevServerStoppedErrorScreen:()=>u,ViteDevServerStoppedError:()=>i});var o=t(10697),n=t(55425),c=t(48389),l=t(14077);let s="Dev server stopped";class i extends Error{constructor(){super(s),this.name="ViteDevServerStoppedError",this.ViteDevServerStoppedError=!0}}let a=void 0,d=e=>!!e,p=()=>{let e,r,t,o;let c=(0,n.c)(5),[s,i]=(0,l.useState)(!1);c[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>i(!0),c[0]=e):e=c[0];let p=e;return c[1]===Symbol.for("react.memo_cache_sentinel")?(r=()=>{d(a)&&a.on("vite:ws:disconnect",p)},t=[p],c[1]=r,c[2]=t):(r=c[1],t=c[2]),(0,l.useEffect)(r,t),c[3]!==s?(o={devServerStopped:s},c[3]=s,c[4]=o):o=c[4],o},h=()=>{let{devServerStopped:e}=p();if(e)throw new i;return null},m=()=>{let e;let r=(0,n.c)(1);return r[0]===Symbol.for("react.memo_cache_sentinel")?(e=d(a)?(0,o.jsx)(h,{}):null,r[0]=e):e=r[0],e},u=()=>{let e,r,t;let l=(0,n.c)(3);return l[0]===Symbol.for("react.memo_cache_sentinel")?(e=[4,5,6,7],l[0]=e):e=l[0],l[1]===Symbol.for("react.memo_cache_sentinel")?(r=(0,o.jsx)(c.DZ,{children:s}),l[1]=r):r=l[1],l[2]===Symbol.for("react.memo_cache_sentinel")?(t=(0,o.jsx)(c.Zp,{height:"fill",overflow:"auto",paddingY:e,paddingX:4,sizing:"border",tone:"critical",children:(0,o.jsx)(c.mc,{width:3,children:(0,o.jsxs)(c.BJ,{space:4,children:[r,(0,o.jsx)(c.Zp,{border:!0,radius:2,overflow:"auto",padding:4,tone:"inherit",children:(0,o.jsx)(c.BJ,{space:4,children:(0,o.jsx)(c.EY,{size:2,children:"The development server has stopped. You may need to restart it to continue working."})})})]})})}),l[2]=t):t=l[2],t}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.