1import{r as t,j as s}from"./ui-vendor-Bizn46in.js";const b=()=>{const[n,l]=t.useState(""),o=t.useRef(null),i=t.useCallback(()=>{o.current=Date.now(),sessionStorage.setItem("form_load_time",o.current.toString())},[]),u=t.useCallback(()=>{const e=o.current&&Date.now()-o.current<2e3;return n.length>0||!!e},[n]),c=t.useCallback((e,m=6e4)=>{const a=`form_submit_${e}`,r=localStorage.getItem(a);return r&&Date.now()-parseInt(r)<m?!1:(localStorage.setItem(a,Date.now().toString()),!0)},[]);return{HoneypotField:()=>s.jsxs("div",{className:"absolute -left-[9999px] opacity-0 h-0 overflow-hidden pointer-events-none","aria-hidden":"true",tabIndex:-1,children:[s.jsx("label",{htmlFor:"website",children:"Website"}),s.jsx("input",{type:"text",id:"website",name:"website",autoComplete:"off",value:n,onChange:e=>l(e.target.value),tabIndex:-1})]}),isBot:u,startTimer:i,checkRateLimit:c}};export{b 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.