1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9368],{49368:(e,n,s)=>{s.r(n),s.d(n,{default:()=>c});var l=s(3591),t=s(18543),i=s(70858),r=s(75950),a=s(45182);let c=()=>{let[e,n]=(0,t.useState)(!1),{showToast:s,hideToast:c}=(0,i.d)(),o=(0,t.useRef)(null);(0,t.useEffect)(()=>(n(!navigator.onLine),window.addEventListener("online",d),window.addEventListener("offline",u),()=>{window.removeEventListener("online",d),window.removeEventListener("offline",u),o.current&&c(o.current)}),[]);let d=(0,t.useCallback)(()=>{n(!1),o.current&&c(o.current),o.current=Date.now(),s({body:(0,l.jsxs)("div",{className:"flex items-start gap-x-2",children:[(0,l.jsx)(a.A,{className:"size-3.5 mt-1 animate-shakeOnce",fill:"var(--icon-color-secondary)"}),(0,l.jsx)("p",{className:"text-sm flex-1",children:"You're back online!"})]}),type:"success",closeTimer:6e4})},[s,c]),u=(0,t.useCallback)(()=>{n(!0),o.current&&c(o.current),o.current=Date.now(),s({body:(0,l.jsxs)("div",{className:"flex items-start gap-x-2",children:[(0,l.jsx)(r.A,{className:"size-4 mt-2 animate-shakeOnce"}),(0,l.jsx)("p",{className:"text-sm flex-1",children:"There is no internet connection. Please check your connection and try again."})]}),type:"error",closeTimer:6e4})},[s,c]);return null}},75950:(e,n,s)=>{s.d(n,{A:()=>t});var l=s(3591);let t=(0,s(18543).memo)(e=>{var n,s,t,i;return(0,l.jsxs)("svg",{width:null!=(n=null==e?void 0:e.width)?n:"16",height:null!=(s=null==e?void 0:e.height)?s:"16",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",fill:null!=(t=null==e?void 0:e.fill)?t:"#fff",strokeWidth:null!=(i=null==e?void 0:e.strokeWidth)?i:1,className:null==e?void 0:e.className,children:[(0,l.jsx)("rect",{width:"16",height:"16",id:"icon-bound",fill:"none"}),(0,l.jsx)("path",{d:"M7,9h2V4H7V9z M9,11c0-0.553-0.447-1-1-1s-1,0.447-1,1s0.447,1,1,1S9,11.553,9,11z M16,8c0-4.419-3.581-8-8-8S0,3.581,0,8 s3.581,8,8,8S16,12.419,16,8z M14,8c0,1.603-0.625,3.109-1.756,4.244C11.109,13.375,9.603,14,8,14s-3.109-0.625-4.244-1.756 C2.625,11.109,2,9.603,2,8s0.625-3.109,1.756-4.244C4.891,2.625,6.397,2,8,2s3.109,0.625,4.244,1.756C13.375,4.891,14,6.397,14,8z"})]})})}}]);
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.