PageSourceSearch

https://imagedescriber.dev/_next/static/chunks/2979.d0fde7619e567405.js

js imagedescriber.dev collected 2026-10-04 07:52:23 UTC 1,207 bytes, 1 lines download raw bytes

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.