import{r as a}from"./BL9F-HQ1.js";const c=a.createContext(null),d={didCatch:!1,error:null};class E extends a.Component{constructor(r){super(r),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=d}static getDerivedStateFromError(r){return{didCatch:!0,error:r}}resetErrorBoundary(){const{error:r}=this.state;if(r!==null){for(var t,e,n=arguments.length,s=new Array(n),o=0;o