export const __rspack_esm_id=14915;export const __rspack_esm_ids=[14915];export const __webpack_modules__={3086(e,r,n){n(44114),n(18111),n(61701),n(33110),n(2222),n(14603),n(47566),n(98721);var a=n(37365);const o=/^\/(?:home-assistant\/frontend\/[^/]+|unknown|\/{2}\.)\//,s=[[/Edg\/(\S+)/,"Edge"],[/OPR\/(\S+)/,"Opera"],[/Chrome\/(\S+)/,"Chrome"],[/Firefox\/(\S+)/,"Firefox"],[/Version\/(\S+).*Safari/,"Safari"]],t=[[/CrOS/,"Chrome OS"],[/Windows NT ([\d.]+)/,"Windows"],[/Android ([\d.]+)/,"Android"],[/iPhone OS ([\d_.]+)/,"iOS"],[/iPad; CPU OS ([\d_.]+)/,"iPadOS"],[/Mac OS X ([\d_.]+)/,"macOS"],[/Linux/,"Linux"]],i=(e,r,n)=>{for(const[n,a]of r){const r=e.match(n);if(r){const e=r[1]?.replace(/_/g,".");return e?`${a} ${e}`:a}}return n},c=async(e,r,n,f)=>{const d=[];if(r){const e=navigator.userAgent,n=i(e,s,"unknown browser"),a=i(e,t,"unknown OS");d.push(`${r} from ${n} on ${a}`)}if(e instanceof Error){let r;d.push(e.toString()||n);try{r=(await(0,a.fromError)(e)).slice(0,10).map(e=>(e.fileName??="",URL.canParse(e.fileName)&&(e.fileName=new URL(e.fileName).pathname),e.fileName=e.fileName.replace(o,""),e.toString()))}catch{r=e.stack?[e.stack]:[]}if(d.push(...r.length>0?r:[f]),e.cause&&d.push(`Caused by: ${await c(e.cause)}`),e instanceof AggregateError){const r=e.errors.map(async(e,r)=>[r,await c(e)]);for await(const[n,a]of r)d.push(`Part ${n+1} of ${e.errors.length}: ${a}`)}}else{const r=JSON.stringify(e,null,2);d.push(n,r===n?"":r,f)}return d.filter(Boolean).join("\n")};n.d(r,{},{createLogMessage:c})}};
//# sourceMappingURL=14915.1e675b8f19ee5633.js.map