1import{baseHttp}from"baseHttp";import{secureApiFetch}from"secureApiClient";const getVote=async()=>await secureApiFetch({url:`${baseHttp}/vote_results`,method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:`url=${document.location.href}`,security:{requireSecure:!0,scope:"vote_results"}}),storeVote=async e=>{let t=await fetch(`${baseHttp}/vote`,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:`url=${document.location.href}&value=${e}`});return await t.json()};export{getVote,storeVote};
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.