PageSourceSearch

https://xyes.ai/_next/static/chunks/1325.367261f19cc2f925.js

js xyes.ai collected 2026-10-05 14:49:56 UTC 2,292 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1325],{41325:function(t,e,r){r.r(e),r.d(e,{ErrorBoundary:function(){return p}});var o=r(57437),s=r(2265),n=r(33145),a=r(60033),i=r(55447),l=r(31691),c=r(1899),d=r(19902),u=r(46387);let h=t=>{let{error:e,onReset:r,errorData:h}=t,p=(0,l.Z)(),{t:g}=(0,a.i)(),m=(0,s.useCallback)(async t=>{try{let e=new URL("".concat("https://api.xyes.com/api/v1").concat(i.Hv.errors.baseError));if(!(await fetch(e.toString(),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({message:null==t?void 0:t.message,componentStack:null==t?void 0:t.componentStack,url:null==t?void 0:t.url,timestamp:null==t?void 0:t.timestamp,userAgent:null==t?void 0:t.userAgent})})).ok)throw Error("Failed to log error")}catch(t){}},[]);return(0,s.useEffect)(()=>{h&&m(h).catch(()=>{})},[h,m]),(0,o.jsxs)(c.Z,{sx:{position:"fixed",top:0,left:0,width:"100%",height:"100%",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",backgroundColor:p.palette.background.default,zIndex:p.zIndex.modal+1,p:2,gap:4},children:[(0,o.jsx)(c.Z,{sx:{width:"90px",height:"85px",position:"relative",mb:2},children:(0,o.jsx)(n.default,{src:"".concat("https://img.xyes.com/","/uploads/Logotipo_Mobile_5c87dbd4a9.svg"),alt:"Xyes Logo Icon",fill:!0,style:{objectFit:"contain"}})}),(0,o.jsxs)(d.Z,{elevation:3,sx:{maxWidth:500,width:"100%",p:4,textAlign:"center",backgroundColor:"rgba(28, 35, 52, 0.468)",backdropFilter:"blur(4px)"},children:[(0,o.jsx)(u.Z,{variant:"h6",sx:{mb:2,fontWeight:"bold"},children:g("errors.somethingWentWrong")}),(0,o.jsx)(u.Z,{variant:"body1",sx:{mb:3},children:g("errors.friendlyMessage")})]})]})};class p extends s.Component{static getDerivedStateFromError(t){return{hasError:!0,error:t}}componentDidCatch(t,e){let r=this.logErrorToService(t,e);this.setState({errorData:r})}logErrorToService(t,e){let{fallback:r}=this.props;return{message:t.message,stack:t.stack,componentStack:e,url:window.location.href,timestamp:new Date().toISOString(),userAgent:navigator.userAgent,hasCustomFallback:!!r}}render(){let{hasError:t,error:e,errorData:r}=this.state,{fallback:s,children:n}=this.props;return t?s||(0,o.jsx)(h,{error:e,errorData:r}):n}constructor(t){super(t),this.state={hasError:!1,error:null}}}}}]);

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.