1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5805],{65805:(e,r,t)=>{t.r(r),t.d(r,{DetectViteDevServerStopped:()=>h,DevServerStoppedErrorScreen:()=>v});var s=t(54568),i=t(3447),o=t(7620);let n="Dev server stopped";class d extends Error{ViteDevServerStoppedError;constructor(){super(n),this.name="ViteDevServerStoppedError",this.ViteDevServerStoppedError=!0}}let l=void 0,p=e=>!!e,c=()=>{let[e,r]=(0,o.useState)(!1),t=(0,o.useCallback)(()=>r(!0),[]);return(0,o.useEffect)(()=>{p(l)&&l.on("vite:ws:disconnect",t)},[t]),{devServerStopped:e}},a=()=>{let{devServerStopped:e}=c();if(e)throw new d;return null},h=()=>p(l)?(0,s.jsx)(a,{}):null,v=()=>(0,s.jsx)(i.Zp,{height:"fill",overflow:"auto",paddingY:[4,5,6,7],paddingX:4,sizing:"border",tone:"critical",children:(0,s.jsx)(i.mc,{width:3,children:(0,s.jsxs)(i.BJ,{space:4,children:[(0,s.jsx)(i.DZ,{children:n}),(0,s.jsx)(i.Zp,{border:!0,radius:2,overflow:"auto",padding:4,tone:"inherit",children:(0,s.jsx)(i.BJ,{space:4,children:(0,s.jsx)(i.EY,{size:2,children:"The development server has stopped. You may need to restart it to continue working."})})})]})})})}}]);
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.