PageSourceSearch

https://almutahidah.com/chunk-HR6P7TKP.js

js almutahidah.com collected 2026-09-27 07:09:19 UTC 1,961 bytes, 1 lines download raw bytes

1import{b as l}from"./chunk-MCQML6YT.js";import{a as i}from"./chunk-IENL4UJA.js";import{d}from"./chunk-RZZCZ2VH.js";import{Fa as n,ma as u,o as s,s as a}from"./chunk-SRTQBDBP.js";var o=function(t){return t[t.Business=2]="Business",t[t.Individuals=3]="Individuals",t[t.HeadOffice=1]="HeadOffice",t}(o||{});var L=(()=>{class t{constructor(){this.url=i.apiUrl,this.http=n(d),this.userService=n(l)}getDistricts(e){return this.http.get(this.url+`City/CityDistricts?cityId=${e}`).pipe(a(r=>r.data))}createHourlyLead(e){return this.http.post(this.url+"lead/CreateHourly",e)}createOtherOrders(e){e.sector=o.Individuals;let r=this.userService.getCrmUserId();return e.contactId=r,this.http.post(i.apiUrl+"lead/CreateIndv",e)}getNationalitiesForIndvSector(){return this.http.get(i.apiUrl+"Nationality/GetNationalitiesForIndvSector")}getProfessionsForIndvSector(){return this.http.get(i.apiUrl+"Profession/AvailableProfessionForIndvSector")}getLeadRequestType(){return this.http.get(i.apiUrl+"lead/GetLeadRequestTypes").pipe(a(e=>e))}getIndvLead(e,r){return this.userService.getCrmUserId()?this.http.get(i.apiUrl+`lead/IndvLead?ContactId=${this.userService.getCrmUserId()}&Page=${e}&pageSize=${r}`):(this.userService.navigateToLoginPage(),s(null))}getHourlyLeads(e,r){return this.userService.getCrmUserId()?this.http.get(i.apiUrl+`Lead/HourlyLead?ContactId=${this.userService.getCrmUserId()}&Page=${e}&pageSize=${r}`):(this.userService.navigateToLoginPage(),s(null))}getAllLeadsRequest(e,r){return this.http.get(i.apiUrl+`Lead/IndvLead?ContactId=${this.userService.getCrmUserId()}&Page=${e}&pageSize=${r}`)}getAllLeads(e,r){return this.userService.getCrmUserId()?this.getAllLeadsRequest(e,r):(this.userService.navigateToLoginPage(),s(null))}getCities(){return this.http.get(this.url+"City/ActiveCities").pipe(a(e=>e))}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=u({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();export{L 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.