1import{a as p}from"./chunk-BSJVWSZ5.js";import{f as s}from"./chunk-RSOFTNO4.js";import{Ba as t,ca as o,ga as i,la as n,sd as d}from"./chunk-E725QQR6.js";var u=class r{http=n(s);rootUrl=p.whatnotApiUrl;_captureVerdictList=t([]);_captureVerdict=t(null);_error=t(null);_getCaptureVerdictResult=t(null);_loadingGetCaptureVerdict=t(!1);captureVerdictList=this._captureVerdictList.asReadonly();captureVerdict=this._captureVerdict.asReadonly();error=this._error.asReadonly();getCaptureVerdictResult=this._getCaptureVerdictResult.asReadonly();loadingGetCaptureVerdict=this._loadingGetCaptureVerdict.asReadonly();loading=d(()=>this._loadingGetCaptureVerdict());getCaptureVerdict(a){return this._loadingGetCaptureVerdict.set(!0),this._error.set(null),this.http.post(`${this.rootUrl}/api/v1/capture-verdict`,a).pipe(o({next:e=>{this._getCaptureVerdictResult.set(e),this._loadingGetCaptureVerdict.set(!1)},error:e=>{this._error.set(e?.error??{statusCode:e?.status??0,message:e?.message??"An error occurred",error:"Unknown",timestamp:new Date().toISOString(),path:"",method:""}),this._loadingGetCaptureVerdict.set(!1)}}))}static \u0275fac=function(e){return new(e||r)};static \u0275prov=i({token:r,factory:r.\u0275fac,providedIn:"root"})};export{u as a};
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.