PageSourceSearch

https://www.bioer.com/_nuxt/Pr8xqFQO.js

js bioer.com collected 2026-10-09 22:41:49 UTC 1,256 bytes, 1 lines download raw bytes

1import{Tr as e,Vn as t,br as n,ht as r,vr as i}from"./DKhRV_XD.js";import{a}from"./CcYMSUMO.js";import{t as o}from"./Cekqz4ly.js";async function s(s){let c=n(null),l=i({}),u=r(()=>[s.namespace,e(s.locale),e(s.selectionKey)||`default`].join(`:`)),d=await a(u,async()=>{let t=e(s.locale);try{let e=c.value?.locale===t?c.value.value:null;e||(e=await s.loadShared(t),c.value={locale:t,value:e});let n=s.resolveCacheKey(e,t),r=l[n];if(r)return r;let i=await s.loadSnapshot(e,t);return l[s.getSnapshotCacheKey(i,t)]=i,i}catch(e){throw s.onError?.(e),e}},{deep:!1,default:s.emptySnapshot});t([d.data,d.error],([t,n])=>{if(!t||n)return;let r=e(s.locale),i=t,a=s.getSharedFromSnapshot(i);a&&(c.value={locale:r,value:a});let o=s.getSnapshotCacheKey(i,r);o&&(l[o]=i)},{immediate:!0});function f(t){let n=e(s.locale),r=c.value?.locale===n?c.value.value:null,i=t||(r?s.resolveCacheKey(r,n):``);return i?l[i]:void 0}function p(e){let t=f(e);return t?(d.data.value=t,!0):!1}let m=r(()=>d.status.value!==`pending`&&d.status.value!==`idle`?!1:!f()),h=r(()=>{let e=d.data.value,t=e?s.getReadState(e):`empty`;return o({error:d.error.value,partial:t===`partial`,empty:t===`empty`})});return{...d,loading:m,readState:h,getCachedSnapshot:f,applyCachedSnapshot:p}}export{s as t};

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.