1"use strict";(self.webpackChunkUI=self.webpackChunkUI||[]).push([[737],{7737:(he,ie,b)=>{b.d(ie,{SZ:()=>oe,au:()=>P,gr:()=>se,jV:()=>ne});var f=b(1709),g=b(7221),y=b(5254),c=b(1737),l=b(1086),re=b(6498),C=b(4650),h=b(529);const x=new C.InjectionToken("API_BASE_URL");class E{constructor(){}defaultJsonReviver(e,t){let r;if("string"==typeof t&&(r=/\/Date\(([-]?\d+)\)\//gi.exec(t),r&&r[1])){const n=new Date(parseInt(r[1],10)),s=n.getTimezoneOffset();return new Date(n.valueOf()+60*s*1e3)}return t}transformOptions(e){return this.jsonParseReviver=this.defaultJsonReviver,Promise.resolve(e)}}let se=(()=>{class m extends E{constructor(t,r){super(),this.jsonParseReviver=void 0,this.http=t,this.baseUrl=r??""}getCourseDetails(t){let r=this.baseUrl+"/api/Inquisiq/GetCourseDetails?";if(null==t)throw new Error("The parameter 'courseId' must be defined and cannot be null.");r+="courseId="+encodeURIComponent(""+t)+"&",r=r.replace(/[?&]$/,"");let n={observe:"response",responseType:"blob",headers:new h.WM({Accept:"application/json"})};return(0,y.D)(this.transformOptions(n)).pipe((0,f.zg)(s=>this.http.request("get",r,s))).pipe((0,f.zg)(s=>this.processGetCourseDetails(s))).pipe((0,g.K)(s=>{if(!(s instanceof h.QO))return(0,c._)(s);try{return this.processGetCourseDetails(s)}catch(i){return(0,c._)(i)}}))}processGetCourseDetails(t){const r=t.status,n=t instanceof h.Zn?t.body:t.error instanceof Blob?t.error:void 0;let s={};if(t.headers)for(let i of t.headers.keys())s[i]=t.headers.get(i);return 200===r?p(n).pipe((0,f.zg)(i=>{let o=null,u=""===i?null:JSON.parse(i,this.jsonParseReviver);return o=u?J.fromJS(u):null,(0,l.of)(o)})):200!==r&&204!==r?p(n).pipe((0,f.zg)(i=>S("An unexpected server error occurred.",r,i,s))):(0,l.of)(null)}getSKBGCourseDetails(t){let r=this.baseUrl+"/api/Inquisiq/GetSKBGCourseDetails?";if(null==t)throw new Error("The parameter 'courseId' must be defined and cannot be null.");r+="courseId="+encodeURIComponent(""+t)+"&",r=r.replace(/[?&]$/,"");let n={observe:"response",responseType:"blob",headers:new h.WM({Accept:"application/json"})};return(0,y.D)(this.transformOptions(n)).pipe((0,f.zg)(s=>this.http.request("get",r,s))).pipe((0,f.zg)(s=>this.processGetSKBGCourseDetails(s))).pipe((0,g.K)(s=>{if(!(s instanceof h.QO))return(0,c._)(s);try{return this.processGetSKBGCourseDetails(s)}catch(i){return(0,c._)(i)}}))}processGetSKBGCourseDetails(t){const r=t.status,n=t instanceof h.Zn?t.body:t.error instanceof Blob?t.error:void 0;let s={};if(t.headers)for(let i of t.headers.keys())s[i]=t.headers.get(i);return 200===r?p(n).pipe((0,f.zg)(i=>{let o=null,u=""===i?null:JSON.parse(i,this.jsonParseReviver);return o=u?J.fromJS(u):null,(0,l.of)(o)})):200!==r&&204!==r?p(n).pipe((0,f.zg)(i=>S("An unexpected server error occurred.",r,i,s))):(0,l.of)(null)}getCourseList(){let t=this.baseUrl+"/api/Inquisiq/GetCourseList";t=t.replace(/[?&]$/,"");let r={observe:"response",responseType:"blob",headers:new h.WM({Accept:"application/json"})};return(0,y.D)(this.transformOptions(r)).pipe((0,f.zg)(n=>this.http.request("get",t,n))).pipe((0,f.zg)(n=>this.processGetCourseList(n))).pipe((0,g.K)(n=>{if(!(n instanceof h.QO))return(0,c._)(n);try{return this.processGetCourseList(n)}catch(s){return(0,c._)(s)}}))}processGetCourseList(t){const r=t.status,n=t instanceof h.Zn?t.body:t.error instanceof Blob?t.error:void 0;let s={};if(t.headers)for(let i of t.headers.keys())s[i]=t.headers.get(i);return 200===r?p(n).pipe((0,f.zg)(i=>{let o=null,u=""===i?null:JSON.parse(i,this.jsonParseReviver);if(Array.isArray(u)){o=[];for(let O of u)o.push(v.fromJS(O))}else o=null;return(0,l.of)(o)})):200!==r&&204!==r?p(n).pipe((0,f.zg)(i=>S("An unexpected server error occurred.",r,i,s))):(0,l.of)(null)}getSKBGCourseList(){let t=this.baseUrl+"/api/Inquisiq/GetSKBGCourseList";t=t.replace(/[?&]$/,"");let r={observe:"response",responseType:"blob",headers:new h.WM({Accept:"application/json"})};return(0,y.D)(this.transformOptions(r)).pipe((0,f.zg)(n=>this.http.request("get",t,n))).pipe((0,f.zg)(n=>this.processGetSKBGCourseList(n))).pipe((0,g.K)(n=>{if(!(n instanceof h.QO))return(0,c._)(n);try{return this.processGetSKBGCourseList(n)}catch(s){return(0,c._)(s)}}))}processGetSKBGCourseList(t){const r=t.status,n=t instanceof h.Zn?t.body:t.error instanceof Blob?t.error:void 0;let s={};if(t.headers)for(let i of t.headers.keys())s[i]=t.headers.get(i);return 200===r?p(n).pipe((0,f.zg)(i=>{let o=null,u=""===i?null:JSON.parse(i,this.jsonParseReviver);if(Array.isArray(u)){o=[];for(let O of u)o.push(v.fromJS(O))}else o=null;return(0,l.of)(o)})):200!==r&&204!==r?p(n).pipe((0,f.zg)(i=>S("An unexpected server error occurred.",r,i,s))):(0,l.of)(null)}getCourseListWithModules(){let t=this.baseUrl+"/api/Inquisiq/GetCourseListWithModules";t=t.replace(/[?&]$/,"");let r={observe:"response",responseType:"blob",headers:new h.WM({Accept:"application/json"})};return(0,y.D)(this.transformOptions(r)).pipe((0,f.zg)(n=>this.http.request("get",t,n))).pipe((0,f.zg)(n=>this.processGetCourseListWithModules(n))).pipe((0,g.K)(n=>{if(!(n instanceof h.QO))return(0,c._)(n);try{return this.processGetCourseListWithModules(n)}catch(s){return(0,c._)(s)}}))}processGetCourseListWithModules(t){const r=t.status,n=t instanceof h.Zn?t.body:t.error instanceof Blob?t.error:void 0;let s={};if(t.headers)for(let i of t.headers.keys())s[i]=t.headers.get(i);return 200===r?p(n).pipe((0,f.zg)(i=>{let o=null,u=""===i?null:JSON.parse(i,this.jsonParseReviver);if(Array.isArray(u)){o=[];for(let O of u)o.push(w.fromJS(O))}else o=null;return(0,l.of)(o)})):200!==r&&204!==r?p(n).pipe((0,f.zg)(i=>S("An unexpected server error occurred.",r,i,s))):(0,l.of)(null)}getSKBGCourseListWithModules(){let t=this.baseUrl+"/api/Inquisiq/GetSKBGCourseListWithModules";t=t.replace(/[?&]$/,"");let r={observe:"response",responseType:"blob",headers:new h.WM({Accept:"application/json"})};return(0,y.D)(this.transformOptions(r)).pipe((0,f.zg)(n=>this.http.request("get",t,n))).pipe((0,f.zg)(n=>this.processGetSKBGCourseListWithModules(n))).pipe((0,g.K)(n=>{if(!(n instanceof h.QO))return(0,c._)(n);try{return this.processGetSKBGCourseListWithModules(n)}catch(s){return(0,c._)(s)}}))}processGetSKBGCourseListWithModules(t){const r=t.status,n=t instanceof h.Zn?t.body:t.error instanceof Blob?t.error:void 0;let s={};if(t.headers)for(let i of t.headers.keys())s[i]=t.headers.get(i);return 200===r?p(n).pipe((0,f.zg)(i=>{let o=null,u=""===i?null:JSON.parse(i,this.jsonParseReviver);if(Array.isArray(u)){o=[];for(let O of u)o.push(w.fromJS(O))}else o=null;return(0,l.of)(o)})):200!==r&&204!==r?p(n).pipe((0,f.zg)(i=>S("An unexpected server error occurred.",r,i,s))):(0,l.of)(null)}}return m.\u0275fac=function(t){return new(t||m)(C.\u0275\u0275inject(h.eN),C.\u0275\u0275inject(x,8))},m.\u0275prov=C.\u0275\u0275defineInjectable({token:m,factory:m.\u0275fac}),m})(),ne=(()=>
1{class m extends E{constructor(t,r){super(),this.jsonParseReviver=void 0,this.http=t,this.baseUrl=r??""}isCompletedCourse(t){let r=this.baseUrl+"/api/LmsCertificate/IsCompletedCourse?";if(null==t)throw new Error("The parameter 'formId' must be defined and cannot be null.");r+="formId="+encodeURIComponent(""+t)+"&",r=r.replace(/[?&]$/,"");let n={observe:"response",responseType:"blob",headers:new h.WM({Accept:"application/json"})};return(0,y.D)(this.transformOptions(n)).pipe((0,f.zg)(s=>this.http.request("get",r,s))).pipe((0,f.zg)(s=>this.processIsCompletedCourse(s))).pipe((0,g.K)(s=>{if(!(s instanceof h.QO))return(0,c._)(s);try{return this.processIsCompletedCourse(s)}catch(i){return(0,c._)(i)}}))}processIsCompletedCourse(t){const r=t.status,n=t instanceof h.Zn?t.body:t.error instanceof Blob?t.error:void 0;let s={};if(t.headers)for(let i of t.headers.keys())s[i]=t.headers.get(i);return 200===r?p(n).pipe((0,f.zg)(i=>{let o=null,u=""===i?null:JSON.parse(i,this.jsonParseReviver);return o=void 0!==u?u:null,(0,l.of)(o)})):200!==r&&204!==r?p(n).pipe((0,f.zg)(i=>S("An unexpected server error occurred.",r,i,s))):(0,l.of)(null)}getCourseCertificatePdf(t){let r=this.baseUrl+"/api/LmsCertificate/GetCourseCertificatePdf?";if(null==t)throw new Error("The parameter 'formId' must be defined and cannot be null.");r+="formId="+encodeURIComponent(""+t)+"&",r=r.replace(/[?&]$/,"");let n={observe:"response",responseType:"blob",headers:new h.WM({Accept:"application/octet-stream"})};return(0,y.D)(this.transformOptions(n)).pipe((0,f.zg)(s=>this.http.request("get",r,s))).pipe((0,f.zg)(s=>this.processGetCourseCertificatePdf(s))).pipe((0,g.K)(s=>{if(!(s instanceof h.QO))return(0,c._)(s);try{return this.processGetCourseCertificatePdf(s)}catch(i){return(0,c._)(i)}}))}processGetCourseCertificatePdf(t){const r=t.status,n=t instanceof h.Zn?t.body:t.error instanceof Blob?t.error:void 0;let s={};if(t.headers)for(let i of t.headers.keys())s[i]=t.headers.get(i);if(200===r||206===r){const i=t.headers?t.headers.get("content-disposition"):void 0;let o=i?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(i):void 0,u=o&&o.length>1?o[3]||o[2]:void 0;return u?u=decodeURIComponent(u):(o=i?/filename="?([^"]*?)"?(;|$)/g.exec(i):void 0,u=o&&o.length>1?o[1]:void 0),(0,l.of)({fileName:u,data:n,status:r,headers:s})}return 200!==r&&204!==r?p(n).pipe((0,f.zg)(i=>S("An unexpected server error occurred.",r,i,s))):(0,l.of)(null)}getCourseCertificateImage(t){let r=this.baseUrl+"/api/LmsCertificate/GetCourseCertificateImage?";if(null==t)throw new Error("The parameter 'formId' must be defined and cannot be null.");r+="formId="+encodeURIComponent(""+t)+"&",r=r.replace(/[?&]$/,"");let n={observe:"response",responseType:"blob",headers:new h.WM({Accept:"application/octet-stream"})};return(0,y.D)(this.transformOptions(n)).pipe((0,f.zg)(s=>this.http.request("get",r,s))).pipe((0,f.zg)(s=>this.processGetCourseCertificateImage(s))).pipe((0,g.K)(s=>{if(!(s instanceof h.QO))return(0,c._)(s);try{return this.processGetCourseCertificateImage(s)}catch(i){return(0,c._)(i)}}))}processGetCourseCertificateImage(t){const r=t.status,n=t instanceof h.Zn?t.body:t.error instanceof Blob?t.error:void 0;let s={};if(t.headers)for(let i of t.headers.keys())s[i]=t.headers.get(i);if(200===r||206===r){const i=t.headers?t.headers.get("content-disposition"):void 0;let o=i?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(i):void 0,u=o&&o.length>1?o[3]||o[2]:void 0;return u?u=decodeURIComponent(u):(o=i?/filename="?([^"]*?)"?(;|$)/g.exec(i):void 0,u=o&&o.length>1?o[1]:void 0),(0,l.of)({fileName:u,data:n,status:r,headers:s})}return 200!==r&&204!==r?p(n).pipe((0,f.zg)(i=>S("An unexpected server error occurred.",r,i,s))):(0,l.of)(null)}getOnlineEventCertificate(t){let r=this.baseUrl+"/api/LmsCertificate/GetOnlineEventCertificate?";if(null==t)throw new Error("The parameter 'attendeeId' must be defined and cannot be null.");r+="attendeeId="+encodeURIComponent(""+t)+"&",r=r.replace(/[?&]$/,"");let n={observe:"response",responseType:"blob",headers:new h.WM({Accept:"application/octet-stream"})};return(0,y.D)(this.transformOptions(n)).pipe((0,f.zg)(s=>this.http.request("get",r,s))).pipe((0,f.zg)(s=>this.processGetOnlineEventCertificate(s))).pipe((0,g.K)(s=>{if(!(s instanceof h.QO))return(0,c._)(s);try{return this.processGetOnlineEventCertificate(s)}catch(i){return(0,c._)(i)}}))}processGetOnlineEventCertificate(t){const r=t.status,n=t instanceof h.Zn?t.body:t.error instanceof Blob?t.error:void 0;let s={};if(t.headers)for(let i of t.headers.keys())s[i]=t.headers.get(i);if(200===r||206===r){const i=t.headers?t.headers.get("content-disposition"):void 0;let o=i?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(i):void 0,u=o&&o.length>1?o[3]||o[2]:void 0;return u?u=decodeURIComponent(u):(o=i?/filename="?([^"]*?)"?(;|$)/g.exec(i):void 0,u=o&&o.length>1?o[1]:void 0),(0,l.of)({fileName:u,data:n,status:r,headers:s})}return 200!==r&&204!==r?p(n).pipe((0,f.zg)(i=>S("An unexpected server error occurred.",r,i,s))):(0,l.of)(null)}getOnlineEventCertificateImage(t){let r=this.baseUrl+"/api/LmsCertificate/GetOnlineEventCertificateImage?";if(null==t)throw new Error("The parameter 'attendeeId' must be defined and cannot be null.");r+="attendeeId="+encodeURIComponent(""+t)+"&",r=r.replace(/[?&]$/,"");let n={observe:"response",responseType:"blob",headers:new h.WM({Accept:"application/octet-stream"})};return(0,y.D)(this.transformOptions(n)).pipe((0,f.zg)(s=>this.http.request("get",r,s))).pipe((0,f.zg)(s=>this.processGetOnlineEventCertificateImage(s))).pipe((0,g.K)(s=>{if(!(s instanceof h.QO))return(0,c._)(s);try{return this.processGetOnlineEventCertificateImage(s)}catch(i){return(0,c._)(i)}}))}processGetOnlineEventCertificateImage(t){const r=t.status,n=t instanceof h.Zn?t.body:t.error instanceof Blob?t.error:void 0;let s={};if(t.headers)for(let i of t.headers.keys())s[i]=t.headers.get(i);if(200===r||206===r){const i=t.headers?t.headers.get("content-disposition"):void 0;let o=i?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(i):void 0,u=o&&o.length>1?o[3]||o[2]:void 0;return u?u=decodeURIComponent(u):(o=i?/filename="?([^"]*?)"?(;|$)/g.exec(i):void 0,u=o&&o.length>1?o[1]:void 0),(0,l.of)({fileName:u,data:n,status:r,headers:s})}return 200!==r&&204!==r?p(n).pipe((0,f.zg)(i=>S("An unexpected server error occurred.",r,i,s))):(0,l.of)(null)}getSampleCertificatePdf(){let t=this.baseUrl+"/api/LmsCertificate/GetSampleCertificatePdf";t=t.replace(/[?&]$/,"");let r={observe:"response",responseType:"blob",headers:new h.WM({Accept:"application/octet-stream"})};return(0,y.D)(this.transformOptions(r)).pipe((0,f.zg)(n=>this.http.request("get",t,n))).pipe((0,f.zg)(n=>this.processGetSampleCertificatePdf(n))).pipe((0,g.K)(n=>{if(!(n instanceof h.QO))return(0,c._)(n);try{return this.processGetSampleCertificatePdf(n)}catch(s){return(0,c._)(s)}}))}processGetSampleCertificatePdf(t){const r=t.status,n=t instanceof h.Zn?t.body:t.error instanceof Blob?t.error:void 0;let s={};if(t.headers)for(let i of t.headers.keys())s[i]=t.headers.get(i);if(200===r||206===r){const i=t.headers?t.headers.get("content-disposition"):void 0;let o=i?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(i):void 0,u=o&&o.length>1?o[3]||o[2]:void 0;return u?u=decodeURIComponent(u):(o=i?/filename="?([^"]*?)"?(;|$)/g.exec(i):void 0,u=o&&o.length>1?o[1]:void 0),(0,l.of)({fileName:u,data:n,status:r,headers:s})}return 200!==r&&204!==r?p(n).pipe((0,f.zg)(i=>S("An unexpected server error occurred.",r,i,s))):(0,l.of)(null)}getSampleCertificateImage(){let t=this.baseUrl+"/api/LmsCertificate/GetSampleCertificateImage";t=t.replace(/[?&]$/,"");let r={observe:"response",responseType:"blob",headers:new h.WM({Accept:"application/octet-stream"})};return(0,y.D)(this.transformOptions(r)).pipe((0,f.zg)(n=>this.http.request("get",t,n))).pipe((0,f.zg)(n=>this.processGetSampleCertificateImage(n))).pipe((0,g.K)(n=>{if(!(n instanceof h.QO))return(0,c._)(n);try{return this.processGetSampleCertificateImage(n)}catch(s){return(0,c._)(s)}}))}processGetSampleCertificateImage(t){const r=t.status,n=t instanceof h.Zn?t.body:t.error instanceof Blob?t.error:void 0;let s={};if(t.headers)for(let i of t.headers.keys())s[i]=t.headers.get(i);if(200===r||206===r){const i=t.headers?t.headers.get("content-disposition"):void 0;let o=i?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(i):void 0,u=o&&o.length>1?o[3]||o[2]:void 0;return u?u=decodeURIComponent(u):(o=i?/filename="?([^"]*?)"?(;|$)/g.exec(i):void 0,u=o&&o.length>1?o[1]:void 0),(0,l.of)({fileName:u,data:n,status:r,headers:s})}return 200!==r&&204!==r?p(n).pipe((0,f.zg)(i=>S("An unexpected server error occurred.",r,i,s))):(0,l.of)(null)}}return m.\u0275fac=function(t){return new(t||m)(C.\u0275\u0275inject(h.eN),C.\u0275\u0275inject(x,8))},m.\u0275prov=C.\u0275\u0275defineInjectable({token:m,factory:m.\u0275fac}),m})(),oe=(()=>
1{class m extends E{constructor(t,r){super(),this.jsonParseReviver=void 0,this.http=t,this.baseUrl=r??""}saveForm(t){let r=this.baseUrl+"/api/Lms/SaveForm";r=r.replace(/[?&]$/,"");let s={body:JSON.stringify(t),observe:"response",responseType:"blob",headers:new h.WM({"Content-Type":"application/json",Accept:"application/json"})};return(0,y.D)(this.transformOptions(s)).pipe((0,f.zg)(i=>this.http.request("post",r,i))).pipe((0,f.zg)(i=>this.processSaveForm(i))).pipe((0,g.K)(i=>{if(!(i instanceof h.QO))return(0,c._)(i);try{return this.processSaveForm(i)}catch(o){return(0,c._)(o)}}))}processSaveForm(t){const r=t.status,n=t instanceof h.Zn?t.body:t.error instanceof Blob?t.error:void 0;let s={};if(t.headers)for(let i of t.headers.keys())s[i]=t.headers.get(i);return 200===r?p(n).pipe((0,f.zg)(i=>{let o=null,u=""===i?null:JSON.parse(i,this.jsonParseReviver);return o=void 0!==u?u:null,(0,l.of)(o)})):200!==r&&204!==r?p(n).pipe((0,f.zg)(i=>S("An unexpected server error occurred.",r,i,s))):(0,l.of)(null)}signIntoInquisiq(){let t=this.baseUrl+"/api/Lms/SignIntoInquisiq";t=t.replace(/[?&]$/,"");let r={observe:"response",responseType:"blob",headers:new h.WM({Accept:"application/json"})};return(0,y.D)(this.transformOptions(r)).pipe((0,f.zg)(n=>this.http.request("get",t,n))).pipe((0,f.zg)(n=>this.processSignIntoInquisiq(n))).pipe((0,g.K)(n=>{if(!(n instanceof h.QO))return(0,c._)(n);try{return this.processSignIntoInquisiq(n)}catch(s){return(0,c._)(s)}}))}processSignIntoInquisiq(t){const r=t.status,n=t instanceof h.Zn?t.body:t.error instanceof Blob?t.error:void 0;let s={};if(t.headers)for(let i of t.headers.keys())s[i]=t.headers.get(i);return 200===r?p(n).pipe((0,f.zg)(i=>{let o=null,u=""===i?null:JSON.parse(i,this.jsonParseReviver);return o=u?L.fromJS(u):null,(0,l.of)(o)})):200!==r&&204!==r?p(n).pipe((0,f.zg)(i=>S("An unexpected server error occurred.",r,i,s))):(0,l.of)(null)}isActiveCoursesAccessible(){let t=this.baseUrl+"/api/Lms/IsActiveCoursesAccessible";t=t.replace(/[?&]$/,"");let r={observe:"response",responseType:"blob",headers:new h.WM({Accept:"application/json"})};return(0,y.D)(this.transformOptions(r)).pipe((0,f.zg)(n=>this.http.request("get",t,n))).pipe((0,f.zg)(n=>this.processIsActiveCoursesAccessible(n))).pipe((0,g.K)(n=>{if(!(n instanceof h.QO))return(0,c._)(n);try{return this.processIsActiveCoursesAccessible(n)}catch(s){return(0,c._)(s)}}))}processIsActiveCoursesAccessible(t){const r=t.status,n=t instanceof h.Zn?t.body:t.error instanceof Blob?t.error:void 0;let s={};if(t.headers)for(let i of t.headers.keys())s[i]=t.headers.get(i);return 200===r?p(n).pipe((0,f.zg)(i=>{let o=null,u=""===i?null:JSON.parse(i,this.jsonParseReviver);return o=void 0!==u?u:null,(0,l.of)(o)})):200!==r&&204!==r?p(n).pipe((0,f.zg)(i=>S("An unexpected server error occurred.",r,i,s))):(0,l.of)(null)}resume(t){let r=this.baseUrl+"/api/Lms/Resume?";if(null==t)throw new Error("The parameter 'formId' must be defined and cannot be null.");r+="formId="+encodeURIComponent(""+t)+"&",r=r.replace(/[?&]$/,"");let n={observe:"response",responseType:"blob",headers:new h.WM({Accept:"application/octet-stream"})};return(0,y.D)(this.transformOptions(n)).pipe((0,f.zg)(s=>this.http.request("get",r,s))).pipe((0,f.zg)(s=>this.processResume(s))).pipe((0,g.K)(s=>{if(!(s instanceof h.QO))return(0,c._)(s);try{return this.processResume(s)}catch(i){return(0,c._)(i)}}))}processResume(t){const r=t.status,n=t instanceof h.Zn?t.body:t.error instanceof Blob?t.error:void 0;let s={};if(t.headers)for(let i of t.headers.keys())s[i]=t.headers.get(i);if(200===r||206===r){const i=t.headers?t.headers.get("content-disposition"):void 0;let o=i?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(i):void 0,u=o&&o.length>1?o[3]||o[2]:void 0;return u?u=decodeURIComponent(u):(o=i?/filename="?([^"]*?)"?(;|$)/g.exec(i):void 0,u=o&&o.length>1?o[1]:void 0),(0,l.of)({fileName:u,data:n,status:r,headers:s})}return 200!==r&&204!==r?p(n).pipe((0,f.zg)(i=>S("An unexpected server error occurred.",r,i,s))):(0,l.of)(null)}checkCompletedCourseForms(t){let r=this.baseUrl+"/api/Lms/CheckCompletedCourseForms";r=r.replace(/[?&]$/,"");let s={body:JSON.stringify(t),observe:"response",responseType:"blob",headers:new h.WM({"Content-Type":"application/json",Accept:"application/json"})};return(0,y.D)(this.transformOptions(s)).pipe((0,f.zg)(i=>this.http.request("post",r,i))).pipe((0,f.zg)(i=>this.processCheckCompletedCourseForms(i))).pipe((0,g.K)(i=>{if(!(i instanceof h.QO))return(0,c._)(i);try{return this.processCheckCompletedCourseForms(i)}catch(o){return(0,c._)(o)}}))}processCheckCompletedCourseForms(t){const r=t.status,n=t instanceof h.Zn?t.body:t.error instanceof Blob?t.error:void 0;let s={};if(t.headers)for(let i of t.headers.keys())s[i]=t.headers.get(i);return 200===r?p(n).pipe((0,f.zg)(i=>{let o=null,u=""===i?null:JSON.parse(i,this.jsonParseReviver);return o=void 0!==u?u:null,(0,l.of)(o)})):200!==r&&204!==r?p(n).pipe((0,f.zg)(i=>S("An unexpected server error occurred.",r,i,s))):(0,l.of)(null)}getRecentUserForms(t,r){let n=this.baseUrl+"/api/Lms/GetRecentUserForms?";if(void 0===t)throw new Error("The parameter 'email' must be defined.");if(null!==t&&(n+="email="+encodeURIComponent(""+t)+"&"),void 0===r)throw new Error("The parameter 'courseCode' must be defined.");null!==r&&(n+="courseCode="+encodeURIComponent(""+r)+"&"),n=n.replace(/[?&]$/,"");let s={observe:"response",responseType:"blob",headers:new h.WM({Accept:"application/json"})};return(0,y.D)(this.transformOptions(s)).pipe((0,f.zg)(i=>this.http.request("get",n,i))).pipe((0,f.zg)(i=>this.processGetRecentUserForms(i))).pipe((0,g.K)(i=>{if(!(i instanceof h.QO))return(0,c._)(i);try{return this.processGetRecentUserForms(i)}catch(o){return(0,c._)(o)}}))}processGetRecentUserForms(t){const r=t.status,n=t instanceof h.Zn?t.body:t.error instanceof Blob?t.error:void 0;let s={};if(t.headers)for(let i of t.headers.keys())s[i]=t.headers.get(i);return 200===r?p(n).pipe((0,f.zg)(i=>{let o=null,u=""===i?null:JSON.parse(i,this.jsonParseReviver);if(Array.isArray(u)){o=[];for(let O of u)o.push(R.fromJS(O))}else o=null;return(0,l.of)(o)})):200!==r&&204!==r?p(n).pipe((0,f.zg)(i=>S("An unexpected server error occurred.",r,i,s))):(0,l.of)(null)}checkExistingRegistrationForms(t){let r=this.baseUrl+"/api/Lms/CheckExistingRegistrationForms";r=r.replace(/[?&]$/,"");let s={body:JSON.stringify(t),observe:"response",responseType:"blob",headers:new h.WM({"Content-Type":"application/json",Accept:"application/json"})};return(0,y.D)(this.transformOptions(s)).pipe((0,f.zg)(i=>this.http.request("post",r,i))).pipe((0,f.zg)(i=>this.processCheckExistingRegistrationForms(i))).pipe((0,g.K)(i=>{if(!(i instanceof h.QO))return(0,c._)(i);try{return this.processCheckExistingRegistrationForms(i)}catch(o){return(0,c._)(o)}}))}processCheckExistingRegistrationForms(t){const r=t.status,n=t instanceof h.Zn?t.body:t.error instanceof Blob?t.error:void 0;let s={};if(t.headers)for(let i of t.headers.keys())s[i]=t.headers.get(i);return 200===r?p(n).pipe((0,f.zg)(i=>{let o=null,u=""===i?null:JSON.parse(i,this.jsonParseReviver);return o=u?R.fromJS(u):null,(0,l.of)(o)})):200!==r&&204!==r?p(n).pipe((0,f.zg)(i=>S("An unexpected server error occurred.",r,i,s))):(0,l.of)(null)}}return m.\u0275fac=function(t){return new(t||m)(C.\u0275\u0275inject(h.eN),C.\u0275\u0275inject(x,8))},m.\u0275prov=C.\u0275\u0275defineInjectable({token:m,factory:m.\u0275fac}),m})();class J{constructor(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}init(e){e&&(this.courseDetails=e.CourseDetails?v.fromJS(e.CourseDetails):void 0,this.isArchived=e.IsArchived,this.activeCourseId=e.ActiveCourseId,this.notFound=e.NotFound,this.hideOther=e.HideOther)}static fromJS(e){e="object"==typeof e?e:{};let t=new J;return t.init(e),t}toJSON(e){return(e="object"==typeof e?e:{}).CourseDetails=this.courseDetails?this.courseDetails.toJSON():void 0,e.IsArchived=this.isArchived,e.ActiveCourseId=this.activeCourseId,e.NotFound=this.notFound,e.HideOther=this.hideOther,e}}class v{constructor(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}init(e){if(e){if(this.courseId=e.CourseId,this.courseCode=e.CourseCode,this.phase=e.Phase,this.title=e.Title,this.description=e.Description,this.length=e.Length,this.previewImage=e.PreviewImage,Array.isArray(e.PhaseList)){this.phaseList=[];for(let t of e.PhaseList)this.phaseList.push(t)}this.validateToken=e.ValidateToken}}static fromJS(e){e="object"==typeof e?e:{};let t=new v;return t.init(e),t}toJSON(e){if((e="object"==typeof e?e:{}).CourseId=this.courseId,e.CourseCode=this.courseCode,e.Phase=this.phase,e.Title=this.title,e.Description=this.description,e.Length=this.length,e.PreviewImage=this.previewImage,Array.isArray(this.phaseList)){e.PhaseList=[];for(let t of this.phaseList)e.PhaseList.push(t)}return e.ValidateToken=this.validateToken,e}}class w{constructor(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}init(e){if(e&&(this.courseId=e.CourseId,this.courseCode=e.CourseCode,this.title=e.Title,Array.isArray(e.Modules))){this.modules=[];for(let t of e.Modules)this.modules.push(T.fromJS(t))}}static fromJS(e){e="object"==typeof e?e:{};let t=new w;return t.init(e),t}toJSON(e){if((e="object"==typeof e?e:{}).CourseId=this.courseId,e.CourseCode=this.courseCode,e.Title=this.title,Array.isArray(this.modules)){e.Modules=[];for(let t of this.modules)e.Modules.push(t.toJSON())}return e}}class T{constructor(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}init(e){e&&(this.courseId=e.CourseId,this.moduleId=e.ModuleId,this.order=e.Order,this.name=e.Name)}static fromJS(e){e="object"==typeof e?e:{};let t=new T;return t.init(e),t}toJSON(e){return(e="object"==typeof e?e:{}).CourseId=this.courseId,e.ModuleId=this.moduleId,e.Order=this.order,e.Name=this.name,e}}class P{constructor(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}init(e){e&&(this.id=e.Id,this.fullName=e.FullName,this.firstName=e.FirstName,this.middleName=e.MiddleName,this.lastName=e.LastName,this.serviceComponentId=e.ServiceComponentId,this.userTypeId=e.UserTypeId,this.courseName=e.CourseName,this.courseCode=e.CourseCode,this.dateOfSubmission=e.DateOfSubmission?new Date(e.DateOfSubmission.toString()):void 0,this.email=e.Email,this.courseId=e.CourseId,this.token=e.Token,this.stateId=e.StateId,this.mmsPortalName=e.MmsPortalName,this.phoneNumber=e.PhoneNumber,this.countryId=e.CountryId,this.installationId=e.InstallationId,this.dodId=e.DodId,this.reasonId=e.ReasonId,this.otherReasonText=e.OtherReasonText,this.providerPhoneNumber=e.ProviderPhoneNumber,this.providerName=e.ProviderName,this.organizationName=e.OrganizationName,this.organizationTypeId=e.OrganizationTypeId,this.irsNumber=e.IrsNumber,this.irsNumberTypeId=e.IrsNumberTypeId,this.isFirstTime=e.IsFirstTime)}static fromJS(e){e="object"==typeof e?e:{};let t=new P;return t.init(e),t}toJSON(e){return(e="object"==typeof e?e:{}).Id=this.id,e.FullName=this.fullName,e.FirstName=this.firstName,e.MiddleName=this.middleName,e.LastName=this.lastName,e.ServiceComponentId=this.serviceComponentId,e.UserTypeId=this.userTypeId,e.CourseName=this.courseName,e.CourseCode=this.courseCode,e.DateOfSubmission=this.dateOfSubmission?this.dateOfSubmission.toISOString():void 0,e.Email=this.email,e.CourseId=this.courseId,e.Token=this.token,e.StateId=this.stateId,e.MmsPortalName=this.mmsPortalName,e.PhoneNumber=this.phoneNumber,e.CountryId=this.countryId,e.InstallationId=this.installationId,e.DodId=this.dodId,e.ReasonId=this.reasonId,e.OtherReasonText=this.otherReasonText,e.ProviderPhoneNumber=this.providerPhoneNumber,e.ProviderName=this.providerName,e.OrganizationName=this.organizationName,e.OrganizationTypeId=this.organizationTypeId,e.IrsNumber=this.irsNumber,e.IrsNumberTypeId=this.irsNumberTypeId,e.IsFirstTime=this.isFirstTime,e}}class L{constructor(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}init(e){e&&(this.location=e.Location,this.request=e.Request?z.fromJS(e.Request):void 0)}static fromJS(e){e="object"==typeof e?e:{};let t=new L;return t.init(e),t}toJSON(e){return(e="object"==typeof e?e:{}).Location=this.location,e.Request=this.request?this.request.toJSON():void 0,e}}class z{constructor(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}init(e){if(e&&(this.version=e.Version?a.fromJS(e.Version):void 0,this.content=e.Content?class ue{constructor(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}init(e){e&&(this.headers=e.Headers?k.fromJS(e.Headers):void 0)}static fromJS(e){throw e="object"==typeof e?e:{},new Error("The abstract class 'HttpContent' cannot be instantiated.")}toJSON(e){return(e="object"==typeof e?e:{}).Headers=this.headers?this.headers.toJSON():void 0,e}}.fromJS(e.Content):void 0,this.method=e.Method?q.fromJS(e.Method):void 0,this.requestUri=e.RequestUri,this.headers=e.Headers?W.fromJS(e.Headers):void 0,e.Properties)){this.properties={};for(let t in e.Properties)e.Properties.hasOwnProperty(t)&&(this.properties[t]=e.Properties[t])}}static fromJS(e){e="object"==typeof e?e:{};let t=new z;return t.init(e),t}toJSON(e){if((e="object"==typeof e?e:{}).Version=this.version?this.version.toJSON():void 0,e.Content=this.content?this.content.toJSON():void 0,e.Method=this.method?this.method.toJSON():void 0,e.RequestUri=this.requestUri,e.Headers=this.headers?this.headers.toJSON():void 0,this.properties){e.Properties={};for(let t in this.properties)this.properties.hasOwnProperty(t)&&(e.Properties[t]=this.properties[t])}return e}}class a{constructor(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}init(e){e&&(this.major=e.Major,this.minor=e.Minor,this.build=e.Build,this.revision=e.Revision,this.majorRevision=e.MajorRevision,this.minorRevision=e.MinorRevision)}static fromJS(e){e="object"==typeof e?e:{};let t=new a;return t.init(e),t}toJSON(e){return(e="object"==typeof e?e:{}).Major=this.major,e.Minor=this.minor,e.Build=this.build,e.Revision=this.revision,e.MajorRevision=this.majorRevision,e.MinorRevision=this.minorRevision,e}}class U{constructor(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}init(e){if(e){if(Array.isArray(e.Allow)){this.allow=[];for(let t of e.Allow)this.allow.push(t)}if(this.contentDisposition=e.ContentDisposition?B.fromJS(e.ContentDisposition):void 0,Array.isArray(e.ContentEncoding)){this.contentEncoding=[];for(let t of e.ContentEncoding)this.contentEncoding.push(t)}if(Array.isArray(e.ContentLanguage)){this.contentLanguage=[];for(let t of e.ContentLanguage)this.contentLanguage.push(t)}this.contentLength=e.ContentLength,this.contentLocation=e.ContentLocation,this.contentMD5=e.ContentMD5,this.contentRange=e.ContentRange?G.fromJS(e.ContentRange):void 0,this.contentType=e.ContentType?D.fromJS(e.ContentType):void 0,this.expires=e.Expires?new Date(e.Expires.toString()):void 0,this.lastModified=e.LastModified?new Date(e.LastModified.toString()):void 0}}static fromJS(e){e="object"==typeof e?e:{};let t=new U;return t.init(e),t}toJSON(e){if(e="object"==typeof e?e:{},Array.isArray(this.allow)){e.Allow=[];for(let t of this.allow)e.Allow.push(t)}if(e.ContentDisposition=this.contentDisposition?this.contentDisposition.toJSON():void 0,Array.isArray(this.contentEncoding)){e.ContentEncoding=[];for(let t of this.contentEncoding)e.ContentEncoding.push(t)}if(Array.isArray(this.contentLanguage)){e.ContentLanguage=[];for(let t of this.contentLanguage)e.ContentLanguage.push(t)}return e.ContentLength=this.contentLength,e.ContentLocation=this.contentLocation,e.ContentMD5=this.contentMD5,e.ContentRange=this.contentRange?this.contentRange.toJSON():void 0,e.ContentType=this.contentType?this.contentType.toJSON():void 0,e.Expires=this.expires?this.expires.toISOString():void 0,e.LastModified=this.lastModified?this.lastModified.toISOString():void 0,e}}class k extends U{constructor(e){super(e)}init(e){if(super.init(e),e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}static fromJS(e){e="object"==typeof e?e:{};let t=new k;return t.init(e),t}toJSON(e){for(var t in e="object"==typeof e?e:{},this)this.hasOwnProperty(t)&&(e[t]=this[t]);return super.toJSON(e),e}}class B{constructor(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}init(e){if(e){if(this.dispositionType=e.DispositionType,Array.isArray(e.Parameters)){this.parameters=[];for(let t of e.Parameters)this.parameters.push(A.fromJS(t))}this.name=e.Name,this.fileName=e.FileName,this.fileNameStar=e.FileNameStar,this.creationDate=e.CreationDate?new Date(e.Cr
1eationDate.toString()):void 0,this.modificationDate=e.ModificationDate?new Date(e.ModificationDate.toString()):void 0,this.readDate=e.ReadDate?new Date(e.ReadDate.toString()):void 0,this.size=e.Size}}static fromJS(e){e="object"==typeof e?e:{};let t=new B;return t.init(e),t}toJSON(e){if((e="object"==typeof e?e:{}).DispositionType=this.dispositionType,Array.isArray(this.parameters)){e.Parameters=[];for(let t of this.parameters)e.Parameters.push(t.toJSON())}return e.Name=this.name,e.FileName=this.fileName,e.FileNameStar=this.fileNameStar,e.CreationDate=this.creationDate?this.creationDate.toISOString():void 0,e.ModificationDate=this.modificationDate?this.modificationDate.toISOString():void 0,e.ReadDate=this.readDate?this.readDate.toISOString():void 0,e.Size=this.size,e}}class A{constructor(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}init(e){e&&(this.name=e.Name,this.value=e.Value)}static fromJS(e){e="object"==typeof e?e:{};let t=new A;return t.init(e),t}toJSON(e){return(e="object"==typeof e?e:{}).Name=this.name,e.Value=this.value,e}}class G{constructor(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}init(e){e&&(this.unit=e.Unit,this.from=e.From,this.to=e.To,this.length=e.Length,this.hasLength=e.HasLength,this.hasRange=e.HasRange)}static fromJS(e){e="object"==typeof e?e:{};let t=new G;return t.init(e),t}toJSON(e){return(e="object"==typeof e?e:{}).Unit=this.unit,e.From=this.from,e.To=this.to,e.Length=this.length,e.HasLength=this.hasLength,e.HasRange=this.hasRange,e}}class D{constructor(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}init(e){if(e){if(this.charSet=e.CharSet,Array.isArray(e.Parameters)){this.parameters=[];for(let t of e.Parameters)this.parameters.push(A.fromJS(t))}this.mediaType=e.MediaType}}static fromJS(e){e="object"==typeof e?e:{};let t=new D;return t.init(e),t}toJSON(e){if((e="object"==typeof e?e:{}).CharSet=this.charSet,Array.isArray(this.parameters)){e.Parameters=[];for(let t of this.parameters)e.Parameters.push(t.toJSON())}return e.MediaType=this.mediaType,e}}class q{constructor(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}init(e){e&&(this.method=e.Method)}static fromJS(e){e="object"==typeof e?e:{};let t=new q;return t.init(e),t}toJSON(e){return(e="object"==typeof e?e:{}).Method=this.method,e}}class F{constructor(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}init(e){if(e){if(Array.isArray(e.Accept)){this.accept=[];for(let t of e.Accept)this.accept.push(K.fromJS(t))}if(Array.isArray(e.AcceptCharset)){this.acceptCharset=[];for(let t of e.AcceptCharset)this.acceptCharset.push(N.fromJS(t))}if(Array.isArray(e.AcceptEncoding)){this.acceptEncoding=[];for(let t of e.AcceptEncoding)this.acceptEncoding.push(N.fromJS(t))}if(Array.isArray(e.AcceptLanguage)){this.acceptLanguage=[];for(let t of e.AcceptLanguage)this.acceptLanguage.push(N.fromJS(t))}if(this.authorization=e.Authorization?d.fromJS(e.Authorization):void 0,Array.isArray(e.Expect)){this.expect=[];for(let t of e.Expect)this.expect.push(H.fromJS(t))}if(this.expectContinue=e.ExpectContinue,this.from=e.From,this.host=e.Host,Array.isArray(e.IfMatch)){this.ifMatch=[];for(let t of e.IfMatch)this.ifMatch.push(I.fromJS(t))}if(this.ifModifiedSince=e.IfModifiedSince?new Date(e.IfModifiedSince.toString()):void 0,Array.isArray(e.IfNoneMatch)){this.ifNoneMatch=[];for(let t of e.IfNoneMatch)this.ifNoneMatch.push(I.fromJS(t))}if(this.ifRange=e.IfRange?$.fromJS(e.IfRange):void 0,this.ifUnmodifiedSince=e.IfUnmodifiedSince?new Date(e.IfUnmodifiedSince.toString()):void 0,this.maxForwards=e.MaxForwards,this.proxyAuthorization=e.ProxyAuthorization?d.fromJS(e.ProxyAuthorization):void 0,this.range=e.Range?Q.fromJS(e.Range):void 0,this.referrer=e.Referrer,Array.isArray(e.TE)){this.tE=[];for(let t of e.TE)this.tE.push(Z.fromJS(t))}if(Array.isArray(e.UserAgent)){this.userAgent=[];for(let t of e.UserAgent)this.userAgent.push(X.fromJS(t))}if(this.cacheControl=e.CacheControl?Y.fromJS(e.CacheControl):void 0,Array.isArray(e.Connection)){this.connection=[];for(let t of e.Connection)this.connection.push(t)}
1if(this.connectionClose=e.ConnectionClose,this.date=e.Date?new Date(e.Date.toString()):void 0,Array.isArray(e.Pragma)){this.pragma=[];for(let t of e.Pragma)this.pragma.push(A.fromJS(t))}if(Array.isArray(e.Trailer)){this.trailer=[];for(let t of e.Trailer)this.trailer.push(t)}if(Array.isArray(e.TransferEncoding)){this.transferEncoding=[];for(let t of e.TransferEncoding)this.transferEncoding.push(M.fromJS(t))}if(this.transferEncodingChunked=e.TransferEncodingChunked,Array.isArray(e.Upgrade)){this.upgrade=[];for(let t of e.Upgrade)this.upgrade.push(j.fromJS(t))}if(Array.isArray(e.Via)){this.via=[];for(let t of e.Via)this.via.push(_.fromJS(t))}if(Array.isArray(e.Warning)){this.warning=[];for(let t of e.Warning)this.warning.push(ee.fromJS(t))}}}static fromJS(e){e="object"==typeof e?e:{};let t=new F;return t.init(e),t}toJSON(e){if(e="object"==typeof e?e:{},Array.isArray(this.accept)){e.Accept=[];for(let t of this.accept)e.Accept.push(t.toJSON())}if(Array.isArray(this.acceptCharset)){e.AcceptCharset=[];for(let t of this.acceptCharset)e.AcceptCharset.push(t.toJSON())}if(Array.isArray(this.acceptEncoding)){e.AcceptEncoding=[];for(let t of this.acceptEncoding)e.AcceptEncoding.push(t.toJSON())}if(Array.isArray(this.acceptLanguage)){e.AcceptLanguage=[];for(let t of this.acceptLanguage)e.AcceptLanguage.push(t.toJSON())}if(e.Authorization=this.authorization?this.authorization.toJSON():void 0,Array.isArray(this.expect)){e.Expect=[];for(let t of this.expect)e.Expect.push(t.toJSON())}if(e.ExpectContinue=this.expectContinue,e.From=this.from,e.Host=this.host,Array.isArray(this.ifMatch)){e.IfMatch=[];for(let t of this.ifMatch)e.IfMatch.push(t.toJSON())}if(e.IfModifiedSince=this.ifModifiedSince?this.ifModifiedSince.toISOString():void 0,Array.isArray(this.ifNoneMatch)){e.IfNoneMatch=[];for(let t of this.ifNoneMatch)e.IfNoneMatch.push(t.toJSON())}if(e.IfRange=this.ifRange?this.ifRange.toJSON():void 0,e.IfUnmodifiedSince=this.ifUnmodifiedSince?this.ifUnmodifiedSince.toISOString():void 0,e.MaxForwards=this.maxForwards,e.ProxyAuthorization=this.proxyAuthorization?this.proxyAuthorization.toJSON():void 0,e.Range=this.range?this.range.toJSON():void 0,e.Referrer=this.referrer,Array.isArray(this.tE)){e.TE=[];for(let t of this.tE)e.TE.push(t.toJSON())}if(Array.isArray(this.userAgent)){e.UserAgent=[];for(let t of this.userAgent)e.UserAgent.push(t.toJSON())}if(e.CacheControl=this.cacheControl?this.cacheControl.toJSON():void 0,Array.isArray(this.connection)){e.Connection=[];for(let t of this.connection)e.Connection.push(t)}if(e.ConnectionClose=this.connectionClose,e.Date=this.date?this.date.toISOString():void 0,Array.isArray(this.pragma)){e.Pragma=[];for(let t of this.pragma)e.Pragma.push(t.toJSON())}if(Array.isArray(this.trailer)){e.Trailer=[];for(let t of this.trailer)e.Trailer.push(t)}if(Array.isArray(this.transferEncoding)){e.TransferEncoding=[];for(let t of this.transferEncoding)e.TransferEncoding.push(t.toJSON())}if(e.TransferEncodingChunked=this.transferEncodingChunked,Array.isArray(this.upgrade)){e.Upgrade=[];for(let t of this.upgrade)e.Upgrade.push(t.toJSON())}if(Array.isArray(this.via)){e.Via=[];for(let t of this.via)e.Via.push(t.toJSON())}if(Array.isArray(this.warning)){e.Warning=[];for(let t of this.warning)e.Warning.push(t.toJSON())}return e}}class W extends F{constructor(e){super(e)}init(e){if(super.init(e),e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}static fromJS(e){e="object"==typeof e?e:{};let t=new W;return t.init(e),t}toJSON(e){for(var t in e="object"==typeof e?e:{},this)this.hasOwnProperty(t)&&(e[t]=this[t]);return super.toJSON(e),e}}class K extends D{constructor(e){super(e)}
1init(e){super.init(e),e&&(this.quality=e.Quality)}static fromJS(e){e="object"==typeof e?e:{};let t=new K;return t.init(e),t}toJSON(e){return(e="object"==typeof e?e:{}).Quality=this.quality,super.toJSON(e),e}}class N{constructor(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}init(e){e&&(this.value=e.Value,this.quality=e.Quality)}static fromJS(e){e="object"==typeof e?e:{};let t=new N;return t.init(e),t}toJSON(e){return(e="object"==typeof e?e:{}).Value=this.value,e.Quality=this.quality,e}}class d{constructor(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}init(e){e&&(this.scheme=e.Scheme,this.parameter=e.Parameter)}static fromJS(e){e="object"==typeof e?e:{};let t=new d;return t.init(e),t}toJSON(e){return(e="object"==typeof e?e:{}).Scheme=this.scheme,e.Parameter=this.parameter,e}}class H extends A{constructor(e){super(e)}init(e){if(super.init(e),e&&Array.isArray(e.Parameters)){this.parameters=[];for(let t of e.Parameters)this.parameters.push(A.fromJS(t))}}static fromJS(e){e="object"==typeof e?e:{};let t=new H;return t.init(e),t}toJSON(e){if(e="object"==typeof e?e:{},Array.isArray(this.parameters)){e.Parameters=[];for(let t of this.parameters)e.Parameters.push(t.toJSON())}return super.toJSON(e),e}}class I{constructor(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}init(e){e&&(this.tag=e.Tag,this.isWeak=e.IsWeak)}static fromJS(e){e="object"==typeof e?e:{};let t=new I;return t.init(e),t}toJSON(e){return(e="object"==typeof e?e:{}).Tag=this.tag,e.IsWeak=this.isWeak,e}}class ${constructor(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}init(e){e&&(this.date=e.Date?new Date(e.Date.toString()):void 0,this.entityTag=e.EntityTag?I.fromJS(e.EntityTag):void 0)}static fromJS(e){e="object"==typeof e?e:{};let t=new $;return t.init(e),t}toJSON(e){return(e="object"==typeof e?e:{}).Date=this.date?this.date.toISOString():void 0,e.EntityTag=this.entityTag?this.entityTag.toJSON():void 0,e}}class Q{constructor(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}init(e){if(e&&(this.unit=e.Unit,Array.isArray(e.Ranges))){this.ranges=[];for(let t of e.Ranges)this.ranges.push(V.fromJS(t))}}static fromJS(e){e="object"==typeof e?e:{};let t=new Q;return t.init(e),t}toJSON(e){if((e="object"==typeof e?e:{}).Unit=this.unit,Array.isArray(this.ranges)){e.Ranges=[];for(let t of this.ranges)e.Ranges.push(t.toJSON())}return e}}class V{constructor(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}init(e){e&&(this.from=e.From,this.to=e.To)}static fromJS(e){e="object"==typeof e?e:{};let t=new V;return t.init(e),t}toJSON(e){return(e="object"==typeof e?e:{}).From=this.from,e.To=this.to,e}}class M{constructor(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}init(e){if(e&&(this.value=e.Value,Array.isArray(e.Parameters))){this.parameters=[];for(let t of e.Parameters)this.parameters.push(A.fromJS(t))}}static fromJS(e){e="object"==typeof e?e:{};let t=new M;return t.init(e),t}toJSON(e){if((e="object"==typeof e?e:{}).Value=this.value,Array.isArray(this.parameters)){e.Parameters=[];for(let t of this.parameters)e.Parameters.push(t.toJSON())}return e}}class Z extends M{constructor(e){super(e)}
1init(e){super.init(e),e&&(this.quality=e.Quality)}static fromJS(e){e="object"==typeof e?e:{};let t=new Z;return t.init(e),t}toJSON(e){return(e="object"==typeof e?e:{}).Quality=this.quality,super.toJSON(e),e}}class X{constructor(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}init(e){e&&(this.product=e.Product?j.fromJS(e.Product):void 0,this.comment=e.Comment)}static fromJS(e){e="object"==typeof e?e:{};let t=new X;return t.init(e),t}toJSON(e){return(e="object"==typeof e?e:{}).Product=this.product?this.product.toJSON():void 0,e.Comment=this.comment,e}}class j{constructor(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}init(e){e&&(this.name=e.Name,this.version=e.Version)}static fromJS(e){e="object"==typeof e?e:{};let t=new j;return t.init(e),t}toJSON(e){return(e="object"==typeof e?e:{}).Name=this.name,e.Version=this.version,e}}class Y{constructor(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}init(e){if(e){if(this.noCache=e.NoCache,Array.isArray(e.NoCacheHeaders)){this.noCacheHeaders=[];for(let t of e.NoCacheHeaders)this.noCacheHeaders.push(t)}if(this.noStore=e.NoStore,this.maxAge=e.MaxAge,this.sharedMaxAge=e.SharedMaxAge,this.maxStale=e.MaxStale,this.maxStaleLimit=e.MaxStaleLimit,this.minFresh=e.MinFresh,this.noTransform=e.NoTransform,this.onlyIfCached=e.OnlyIfCached,this.public=e.Public,this.private=e.Private,Array.isArray(e.PrivateHeaders)){this.privateHeaders=[];for(let t of e.PrivateHeaders)this.privateHeaders.push(t)}if(this.mustRevalidate=e.MustRevalidate,this.proxyRevalidate=e.ProxyRevalidate,Array.isArray(e.Extensions)){this.extensions=[];for(let t of e.Extensions)this.extensions.push(A.fromJS(t))}}}static fromJS(e){e="object"==typeof e?e:{};let t=new Y;return t.init(e),t}toJSON(e){if((e="object"==typeof e?e:{}).NoCache=this.noCache,Array.isArray(this.noCacheHeaders)){e.NoCacheHeaders=[];for(let t of this.noCacheHeaders)e.NoCacheHeaders.push(t)}if(e.NoStore=this.noStore,e.MaxAge=this.maxAge,e.SharedMaxAge=this.sharedMaxAge,e.MaxStale=this.maxStale,e.MaxStaleLimit=this.maxStaleLimit,e.MinFresh=this.minFresh,e.NoTransform=this.noTransform,e.OnlyIfCached=this.onlyIfCached,e.Public=this.public,e.Private=this.private,Array.isArray(this.privateHeaders)){e.PrivateHeaders=[];for(let t of this.privateHeaders)e.PrivateHeaders.push(t)}if(e.MustRevalidate=this.mustRevalidate,e.ProxyRevalidate=this.proxyRevalidate,Array.isArray(this.extensions)){e.Extensions=[];for(let t of this.extensions)e.Extensions.push(t.toJSON())}return e}}class _{constructor(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}init(e){e&&(this.protocolName=e.ProtocolName,this.protocolVersion=e.ProtocolVersion,this.receivedBy=e.ReceivedBy,this.comment=e.Comment)}static fromJS(e){e="object"==typeof e?e:{};let t=new _;return t.init(e),t}toJSON(e){return(e="object"==typeof e?e:{}).ProtocolName=this.protocolName,e.ProtocolVersion=this.protocolVersion,e.ReceivedBy=this.receivedBy,e.Comment=this.comment,e}}class ee{constructor(e){if(e)for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}init(e){e&&(this.code=e.Code,this.agent=e.Agent,this.text=e.Text,this.date=e.Date?new Date(e.Date.toString()):void 0)}static fromJS(e){e="object"==typeof e?e:{};let t=new ee;return t.init(e),t}toJSON(e){return(e="object"==typeof e?e:{}).Code=this.code,e.Agent=this.agent,e.Text=this.text,e.Date=this.date?this.date.toISOString():void 0,e}}class R extends P{constructor(e){super(e)}init(e){super.init(e),e&&(this.dateCompleted=e.DateCompleted?new Date(e.DateCompleted.toString()):void 0)}static fromJS(e){e="object"==typeof e?e:{};let t=new R;return t.init(e),t}toJSON(e){return(e="object"==typeof e?e:{}).DateCompleted=this.dateCompleted?this.dateCompleted.toISOString():void 0,super.toJSON(e),e}}class fe extends Error{constructor(e,t,r,n,s){super(),this.isSwaggerException=!0,this.message=e,this.status=t,this.response=r,this.headers=n,this.result=s}static isSwaggerException(e){return!0===e.isSwaggerException}}function S(m,e,t,r,n){return(0,c._)(null!=n?n:new fe(m,e,t,r,null))}function p(m){return new re.y(e=>{if(m){let t=new FileReader;t.onload=r=>{e.next(r.target.result),e.complete()},t.readAsText(m)}else e.next(""),e.complete()})}}}]);
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.