PageSourceSearch

https://www.zuvu.ai/assets/useContextsV2-CUHBdKAs.js

js zuvu.ai collected 2026-10-05 13:21:26 UTC 1,239 bytes, 1 lines download raw bytes

1import{n as u,g as o,o as d,p as r,e as i,f as c}from"./main-DQfd3-rE.js";const y=(t,n)=>i(c(o.contexts.getUserContexts,{type:t,status:n})),C=(t,n,e)=>i({...c(o.contexts.getContextsByScope,{scope:t,type:n,status:e}),enabled:!!t}),w=()=>r({mutationFn:d(o.contexts.deleteContext)}),U=()=>{const t=u(o.contexts.uploadLocalFileContext),n=d(o.contexts.generateUploadUrl);return r({mutationFn:async e=>{try{const a=await n(),s=await fetch(a,{method:"POST",headers:{"Content-Type":e.file.type},body:e.file});if(!s.ok){const x=await s.text();throw new Error(`Failed to upload file: ${s.status} ${s.statusText} - ${x}`)}const p=await s.json(),{storageId:l}=p;if(!l)throw new Error("No storage ID returned from upload");return await t({name:e.name,description:e.description,scope:e.scope,storageId:l,fileName:e.file.name,fileSize:e.file.size,mimeType:e.file.type,metadata:e.metadata})}catch(a){throw console.error("File upload process failed:",a),a}}})},F=()=>{const t=u(o.contexts.downloadLocalFileContext);return r({mutationFn:t})},g=()=>{const t=u(o.aiProxy.proxyMsg);return r({mutationFn:n=>t(n)})},h=()=>
1i(c(o.contexts.getUniqueCategories,{})),T=()=>i(c(o.contexts.getUniqueTags,{}));export{h as a,T as b,y as c,C as d,w as e,F as f,g,U as u};

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.