You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
799 B

import{m as e}from"./index-DZf__Hx9.js";function t(e){return/vite|artisan|sqlstate|exception|stack trace|whoops|symfony|illuminate\\|node_modules|webpack|localhost:\d+|127\.0\.0\.1|php\s|debug_code|see vite\.config|network error|failed to fetch|request failed|econnrefused|etimedout/i.test(e)}function n(e,n){if(typeof e!=`object`||!e)return n;let r=e,i=r.message;if(typeof i==`string`&&i.trim()){let e=i.trim();return t(e)?n:e}let a=r.errors;if(typeof a==`object`&&a&&!Array.isArray(a)){let e=Object.values(a).flatMap(e=>Array.isArray(e)?e.map(e=>String(e)):typeof e==`string`?[e]:[]).map(e=>e.trim()).filter(e=>e&&!t(e));if(e.length)return e.join(`
`)}return n}async function r(t,n){try{await t.replace(n)}catch(r){if(e(r))return;window.location.assign(t.resolve(n).href)}}export{r as n,n as r,t};