1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2979],{72979:(e,t,a)=>{a.d(t,{getUserInfoWithCache:()=>n});var s=a(25841);let o=null;async function r(e,t){try{let t=await e.clone().json();if("string"==typeof t.message&&t.message.trim())return t.message}catch(e){}return e.statusText||"".concat(t," (").concat(e.status,")")}async function n(){if(o)return console.log("[æ§è½] å¤ç¨æ£å¨è¿è¡çç¨æ·ä¿¡æ¯è¯·æ±"),o;let e=(0,s.ed)();return(o=(async()=>{try{let e=await fetch("/api/get-user-info",{method:"POST",headers:{"Content-Type":"application/json"}});if(401===e.status)return{code:-2,message:"no auth"};if(!e.ok){let t=await r(e,"è·åç¨æ·ä¿¡æ¯å¤±è´¥");throw Error("è·åç¨æ·ä¿¡æ¯å¤±è´¥: ".concat(t))}let t=await e.json();return 0===t.code&&t.data&&(0,s.SX)(t.data),t}catch(t){if(console.error("[è·åç¨æ·ä¿¡æ¯] API è°ç¨å¤±è´¥:",t),e)return console.log("[æ§è½] API 请æ±å¤±è´¥ï¼ä½¿ç¨ç¼åæ°æ®"),{code:0,message:"success",data:e,fromCache:!0};throw t}finally{o=null}})(),e)?(console.log("[æ§è½] 使ç¨ç¼åçç¨æ·ä¿¡æ¯ï¼ç«å³è¿åï¼åå°æ£å¨æ´æ°ï¼"),Promise.resolve({code:0,message:"success",data:e,fromCache:!0,updatePromise:o})):o}}}]);
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.