PageSourceSearch

https://zhama.ai/assets/native-file-drop-BndKXvG8.js

js zhama.ai collected 2026-10-05 15:28:08 UTC 1,775 bytes, 1 lines download raw bytes

1import{b as c,e as r}from"./file-names-Bp4NAp7q.js";const s="data-file-drop-zone";function f(n,o,a){const i=m([n]);if(i)return{kind:"drop-zone",zone:i};const[t]=o;return o.length===1&&t&&a(c(t))?{kind:"document",path:t}:{kind:"ignore"}}function m(n){for(const o of n){const a=o==null?void 0:o.closest(`[${s}]`);if(a)return a}return null}function g(n){return l[r(n)]??""}const l={png:"image/png",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",webp:"image/webp",bmp:"image/bmp",svg:"image/svg+xml",heic:"image/heic",pdf:"application/pdf",zip:"application/zip",txt:"text/plain",md:"text/markdown",markdown:"text/markdown",csv:"text/csv",tsv:"text/tab-separated-values",json:"application/json",yml:"application/x-yaml",yaml:"application/x-yaml",xml:"application/xml",log:"text/plain",doc:"application/msword",docx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",wps:"application/wps-office.wps",xls:"application/vnd.ms-excel",xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",et:"application/wps-office.et",ppt:"application/vnd.ms-powerpoint",pptx:"application/vnd.openxmlformats-officedocument.presentationml.presentation",dps:"application/wps-office.dps",rtf:"application/rtf",mp3:"audio/mpeg",wav:"audio/wav",ogg:"audio/ogg",oga:"audio/ogg",m4a:"audio/mp4",aac:"audio/aac",flac:"audio/flac",opus:"audio/opus",weba:"audio/webm",amr:"audio/amr"};async function u(n,o,a){if(n.length===0)return[];const i=new Array(n.length);let t=0;const p=Array.from({length:Math.min(Math.max(1,o),n.length)},async()=>{for(;t<n.length;){const e=t++;i[e]=await a(n[e],e)}});return await Promise.all(p),i}function x(n,o){return{x:n.x/o,y:n.y/o}}function w(n,o){return n==="windows"?o:1}export{s as F,g as a,w as d,m as f,u as m,f as r,x 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.