1import{Ab as m,Bb as n,C as o,Gc as a,g as s,z as c}from"./chunk-VGK2LIZ5.js";var y=(()=>{let r=class r{constructor(i,t){this.http=i,this.configService=t}search(i,t){return t=t||`${this.configService.lcmsAPIUrl}/Family/Search`,this.http.post(t,i)}lookup(i){return this.http.get(`${this.configService.lcmsAPIUrl}/Search/FamilyLookup`,{params:{value:i,returnCount:"10"}}).pipe(s(t=>t.length!==0?t:[{fullName:"No record found",displayName:"No record found"}]))}getFamilyNames(){return this.http.get(`${this.configService.lcmsAPIUrl}/Family/FamilyList`)}get(i){return this.http.get(`${this.configService.lcmsAPIUrl}/Family/${i}`)}addOrUpdateFamily(i){let t=`${this.configService.lcmsAPIUrl}/Family`;return i.familyId>0?this.http.put(t,i):this.http.post(t,i)}familyNameExists(i,t){return this.http.get(`${this.configService.lcmsAPIUrl}/Family/IsFamilyNameInUse`,{params:new m().set("familyId",i?.toString()??null).set("familyName",t)})}};r.\u0275fac=function(t){return new(t||r)(o(n),o(a))},r.\u0275prov=c({token:r,factory:r.\u0275fac,providedIn:"root"});let e=r;return e})();var l=class{};export{y as a,l as b};
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.