PageSourceSearch

https://allod.com/chunk-HDFWHNBG.js

js allod.com collected 2026-10-02 22:09:38 UTC 1,528 bytes, 1 lines download raw bytes

1import{b as n,e as p,j as u}from"./chunk-2YMVBJJG.js";import{S as r,X as i,Y as h,Zc as o,va as a}from"./chunk-QCTWED4T.js";var H=(()=>{class s{constructor(t){this.http=t,this.apiUrl=`${u.apiUrl}/datasheet-requests`,this.platformId=h(a),this.isBrowser=o(this.platformId)}createRequest(t){let e=this.getAuthHeaders();return this.http.post(this.apiUrl,t,{headers:e})}getAllRequests(){let t=this.getAuthHeaders();return this.http.get(this.apiUrl,{headers:t})}getMyRequests(){let t=this.getAuthHeaders();return this.http.get(`${this.apiUrl}/my-requests`,{headers:t})}getMyApprovedDatasheets(){let t=this.getAuthHeaders();return this.http.get(`${this.apiUrl}/my-approved-datasheets`,{headers:t})}getRecentRequests(t=10){let e=this.getAuthHeaders();return this.http.get(`${this.apiUrl}/recent?limit=${t}`,{headers:e})}getRequestsByDatasheet(t){let e=this.getAuthHeaders();return this.http.get(`${this.apiUrl}/by-datasheet/${t}`,{headers:e})}getRequest(t){let e=this.getAuthHeaders();return this.http.get(`${this.apiUrl}/${t}`,{headers:e})}updateRequest(t,e){let d=this.getAuthHeaders();return this.http.put(`${this.apiUrl}/${t}`,e,{headers:d})}deleteRequest(t){let e=this.getAuthHeaders();return this.http.delete(`${this.apiUrl}/${t}`,{headers:e})}getAuthHeaders(){let t=this.isBrowser?localStorage.getItem("access_token"):null;return new n({Authorization:`Bearer ${t}`})}static{this.\u0275fac=function(e){return new(e||s)(i(p))}}static{this.\u0275prov=r({token:s,factory:s.\u0275fac,providedIn:"root"})}}return s})();export{H 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.