1import{N as h,R as g,Ub as f,g as i,id as p,ld as a,nd as u,q as m}from"./chunk-GLMOMHUQ.js";var s=class{constructor(){i(this,"Title");i(this,"BannerImageUrl");i(this,"BannerImageAltText");i(this,"BannerLink");i(this,"Description");i(this,"Certifications");i(this,"SeoInformation")}static GetCertificationMainPageQuery(){return{query:`query GetCertificationMainPage { 2 CertificationMainPage(orderBy: { _modified: DESC }) { 3 item { 4 Title 5 Description 6 BannerImage { 7 Expanded { 8 ... on ImageFile { 9 Url 10 Caption 11 } 12 } 13 } 14 BannerLink { 15 Href 16 } 17 SeoInformation { 18 Title 19 Description 20 Keywords 21 H1Tag 22 } 23 Certifications { 24 ContentLink { 25 Expanded { 26 ... on CertificationItemPage { 27 Number 28 CertificationStatus 29 CertificationBody 30 CertificationType 31 MainFile { 32 Url 33 } 34 Image { 35 Expanded { 36 ... on ImageFile { 37 Url 38 Name 39 Caption 40 } 41 } 42 } 43 ItemsUnderTest{ 44 ItemName 45 DateOfConformity 46 FileUrl 47 } 48 AdditionalFiles { 49 ContentLink { 50 Expanded { 51 ... on PdfFile { 52 Url 53 Name 54 } 55 ... on ImageFile { 56 Url 57 Name 58 Caption 59 } 60 } 61 } 62 } 63 } 64 } 65 } 66 } 67 } 68 } 69}`}}static get CertificationMainPageMapper(){return m(r=>{let n=r?.data?.CertificationMainPage?.item,e=o=>(o||[]).map(t=>t?.ContentLink?.Expanded).filter(Boolean).map(t=>({Url:t?.Url?a(t.Url):null,Name:t?.Name})).filter(t=>!!t.Url),c=o=>(o||[]).map(t=>({ItemName:t?.ItemName,DateOfConformity:t?.DateOfConformity,FileUrl:t?.FileUrl?a(t.FileUrl):null})).filter(t=>!!t.FileUrl),C=o=>(o||[]).map(t=>t?.ContentLink?.Expanded).filter(Boolean).map(t=>({Number:t.Number,CertificationStatus:t.CertificationStatus,CertificationBody:t.CertificationBody,CertificationType:t.CertificationType,ItemsUnderTest:c(t?.ItemsUnderTest||[]),MainFileUrl:t?.MainFile?.Url?a(t.MainFile.Url):null,ImageUrl:t?.Image?.Expanded?.Url?a(t.Image.Expanded.Url):null,AdditionalFiles:e(t?.AdditionalFiles||[])}));return n?{Title:n.Title,Description:n.Description,BannerImageUrl:n?.BannerImage?.Expanded?.Url?a(n.BannerImage?.Expanded.Url):null,BannerImageAltText:n?.BannerImage?.Expanded?.Caption||"ROHS certification",BannerLink:n?.BannerLink?.Href?a(n.BannerLink.Href):null,Certifications:C(n.Certifications),SeoInformation:n.SeoInformation}:null})}};var A=(()=>{let r=class r{constructor(){i(this,"http",g(f));i(this,"baseUrl",p.baseUrl)}saveProductInquiry(e){return this.http.post(`${this.baseUrl}/Contact/SaveProductInquiry`,e)}saveApplicationInquiry(e){return this.http.post(`${this.baseUrl}/Contact/SaveAppInquiry`,e)}saveInquiryFromApplication(e){return this.http.post(this.baseUrl+"/Contact/SaveInquiryFromApplication",e)}saveTechnicalRequest(e){return this.http.post(this.baseUrl+"/Contact/SaveTechnicalRequest",e)}getPaymentQuestion(e=null){return this.http.post(`${this.baseUrl}/Contact/PaymentQuestion`,e)}getGeneralQuestion(e){return this.http.post(this.baseUrl+"/Contact/GeneralQuestion",e)}
69getNewsletterSubscription(e){return this.http.post(this.baseUrl+"/Contact/NewsletterSubscription",e)}getHome(){return this.http.get(this.baseUrl+"/Contact/home")}getFaqProductInquiry(){return this.http.get(`${this.baseUrl}/Contact/FaqProductInquiry`)}getFaqApplication(){return this.http.get(`${this.baseUrl}/Contact/FaqApplication`)}getFaqGeneralQuestion(){return this.http.get(this.baseUrl+"/Contact/FaqGeneralQuestion")}getFaqNewsletter(){return this.http.get(this.baseUrl+"/Contact/FaqNewsletter")}getFaqTechnicalRequest(){return this.http.get(this.baseUrl+"/Contact/FaqTechnicalRequest")}getContactInfo(){return this.http.get(this.baseUrl+"/Contact/GetContactInfo")}getProductInquiry(){return this.http.get(`${this.baseUrl}/Contact/GetProductInquiry`)}getAppicationUserDataById(e){return this.http.get(this.baseUrl+"/ApplicationUser/"+e)}getApplicationInquiry(){return this.http.get(`${this.baseUrl}/Contact/GetApplicationInquiry`)}checkCompanyName(e){return this.http.post(this.baseUrl+"/CustomerAccount/GetByName",e)}getTechnicalRequest(){return this.http.get(this.baseUrl+"/Contact/GetTechnicalRequest")}getRepGetCountriesInfo(){return this.http.get(this.baseUrl+"/Representative/GetCountriesInfo")}getSinglePageBySegment(e){return this.http.post(p.GraphQLURL,u.GetSinglePage(e)).pipe(u.SinglePageDetailsMapper)}GetCertificationMainPage(){return this.http.post(p.GraphQLURL,s.GetCertificationMainPageQuery()).pipe(s.CertificationMainPageMapper)}};i(r,"\u0275fac",function(c){return new(c||r)}),i(r,"\u0275prov",h({token:r,factory:r.\u0275fac,providedIn:"root"}));let l=r;return l})();export{A 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.