1import{b as a,c as m,r as O}from"./chunk-NO2QSDOQ.js";import{$a as _,A as n,ab as e,bb as c,k as r,o as p,w as d}from"./chunk-HB43N7HN.js";var i={fetch_statistics_summary:{id:1,name:"fetch_statistics_summary",url:a.SERVER_URL+"fetch_statistics_summary/",request_method:"GET",content_type:"application/json"},fetch_statistics_data_displays:{id:2,name:"fetch_statistics_data_displays",url:a.SERVER_URL+"fetch_statistics_data_displays/",request_method:"GET",content_type:"application/json"},fetch_statistics_data_prospects:{id:3,name:"fetch_statistics_data_prospects",url:a.SERVER_URL+"fetch_statistics_data_prospects/",request_method:"GET",content_type:"application/json"},fetch_statistics_data_leads:{id:4,name:"fetch_statistics_data_leads",url:a.SERVER_URL+"fetch_statistics_data_leads/",request_method:"GET",content_type:"application/json"},fetch_statistics_data_table:{id:5,name:"fetch_statistics_data_table",url:a.SERVER_URL+"fetch_statistics_data_table/",request_method:"GET",content_type:"application/json"}};var R=(()=>{class o{constructor(){this.http=n(c),this.navigator=n(m),this.dialog=n(O),this.httpOptions={headers:new _({"Content-Type":"application/json"}),params:new e({})}}getObjectDisplayData(t){let s="fetch_statistics_data_displays";return this.httpOptions.headers=this.httpOptions.headers.set("Content-Type",i[s].content_type),this.httpOptions.params=new e({}),this.httpOptions.params=this.httpOptions.params.set("object_id",t.objectSelectControl),this.httpOptions.params=this.httpOptions.params.set("timespan",t.timespanSelectControl),t.startDate&&t.endDate&&(this.httpOptions.params=this.httpOptions.params.set("start_date",t.startDate),this.httpOptions.params=this.httpOptions.params.set("end_date",t.endDate)),t.customer_id&&(this.httpOptions.params=this.httpOptions.params.set("customer_id",t.customer_id.toString())),this.http.get(i[s].url,this.httpOptions).pipe(p(this.handleError("getObjectDisplayData")))}getObjectProspectData(t){let s="fetch_statistics_data_prospects";return this.httpOptions.headers=this.httpOptions.headers.set("Content-Type",i[s].content_type),this.httpOptions.params=new e({}),this.httpOptions.params=this.httpOptions.params.set("object_id",t.objectSelectControl),this.httpOptions.params=this.httpOptions.params.set("timespan",t.timespanSelectControl),t.startDate&&t.endDate&&(this.httpOptions.params=this.httpOptions.params.set("start_date",t.startDate),this.httpOptions.params=this.httpOptions.params.set("end_date",t.endDate)),t.customer_id&&(this.httpOptions.params=this.httpOptions.params.set("customer_id",t.customer_id.toString())),this.http.get(i[s].url,this.httpOptions).pipe(p(this.handleError("getObjectProspectData")))}getObjectLeadData(t){let s="fetch_statistics_data_leads";return this.httpOptions.headers=this.httpOptions.headers.set("Content-Type",i[s].content_type),this.httpOptions.params=new e({}),this.httpOptions.params=this.httpOptions.params.set("object_id",t.objectSelectControl),this.httpOptions.params=this.httpOptions.params.set("timespan",t.timespanSelectControl),t.startDate&&t.endDate&&(this.httpOptions.params=this.httpOptions.params.set("start_date",t.startDate),this.httpOptions.params=this.httpOptions.params.set("end_date",t.endDate)),t.customer_id&&(this.httpOptions.params=this.httpOptions.params.set("customer_id",t.customer_id.toString())),this.http.get(i[s].url,this.httpOptions).pipe(p(this.handleError("getObjectLeadData")))}getStatisticsTableData(t){let s="fetch_statistics_data_table";return this.httpOptions.headers=this.httpOptions.headers.set("Content-Type",i[s].content_type),this.httpOptions.params=new e({}),this.httpOptions.params=this.httpOptions.params.set("object_id",t.objectSelectControl),this.httpOptions.params=this.httpOptions.params.set("timespan",t.timespanSelectControl),t.startDate&&t.endDate&&(this.httpOptions.params=this.httpOptions.params.set("start_date",t.startDate),this.httpOptions.params=this.httpOptions.params.set("end_date",t.endDate)),t.customer_id&&(this.httpOptions.params=this.httpOptions.params.set("customer_id",t.customer_id.toString())),this.http.get(i[s].url,this.httpOptions).pipe(p(this.handleError("getStatisticsTableData")))}getStatisticsSummaryData(){let t="fetch_statistics_summary";return this.httpOptions.headers=this.httpOptions.headers.set("Content-Type",i[t].content_type),this.httpOptions.params=new e({}),this.http.get(i[t].url,this.httpOptions).pipe(p(this.handleError("getStatisticsSummaryData",[])))}log(t){console.log(t)}handleError(t="operation",s){return h=>(console.error(h),this.log(`${t} failed: ${h.message}`),r(s))}static{this.\u0275fac=function(s){return new(s||o)}}static{this.\u0275prov=d({token:o,factory:o.\u0275fac,providedIn:"root"})}}return o}
1)();export{R 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.