1import{a as bt}from"./chunk-OBD4A7XO.js";import{a as xe}from"./chunk-4RSD4HMO.js";import{a as Ie,b as be}from"./chunk-QP4F2FOW.js";import{b as qe}from"./chunk-TB7OVN47.js";import{a as k}from"./chunk-VQNASVMS.js";import{a as We}from"./chunk-2SDBJNMJ.js";import{a as Ce}from"./chunk-AMCFBL7G.js";import{q as Me,t as F,v as Oe,w as $t,x as Nt,y as z}from"./chunk-2Y7DQS6Q.js";import{a as E}from"./chunk-2AGERO5T.js";import{c as ti}from"./chunk-ZJKDYWEW.js";import{$a as ee,$e as qt,Ad as Ae,Ba as _,Cd as we,Db as Zt,Dd as ve,Eb as Ee,Ed as tt,Fa as v,Fb as K,Ha as Xe,Ia as Ye,Id as Fe,J as xt,Ja as r,Ka as a,Kb as Kt,La as w,Ld as Re,Ma as oe,Mc as Le,Md as G,N as Qe,Na as re,Nc as ge,O as Dt,Oc as je,Pa as M,Pd as ei,Q as Qt,Qc as Yt,R as S,Ra as y,Rc as fe,S as W,Sa as c,T as zt,Tc as he,Ub as Jt,Ud as X,Va as N,Ve as Ne,Wa as B,Xa as jt,Yd as it,Z as m,Za as Y,Ze as ri,_ as u,_a as $,_e as vt,a as De,ab as Ht,ac as U,ad as $e,af as It,b as Je,bb as p,bc as D,cb as I,cc as Xt,cd as Q,db as P,dd as J,df as nt,ec as ae,fb as g,fc as se,fd as Wt,g as s,gb as f,gc as le,gf as Be,h as A,hb as h,hc as de,ib as ze,id as q,j as yt,jc as ce,kb as Ge,kc as pe,ma as Z,na as L,ne as Mt,o as Ct,oa as ne,od as H,p as ie,pa as Gt,pd as ye,pe as St,q as Ut,qb as O,qe as wt,rb as j,rd as et,sa as l,sb as Te,sc as me,sd as ke,ta as T,uc as Ve,ue as ii,vc as ue,ve as ni,wc as _e,we as oi,yd as Se,za as C}from"./chunk-GLMOMHUQ.js";function xi(o,d){if(o&1){let t=M();r(0,"div",7),O(1,"safeHtml"),y("click",function(e){m(t);let n=c();return u(n.getRoute(e))}),a()}if(o&2){let t=c();_("innerHTML",j(1,1,t.ContactUsPageInnerHtml),Z)}}var di=(()=>{let d=class d{constructor(i,e,n,x,V,b){s(this,"router");s(this,"_contactService");s(this,"titleService");s(this,"meta");s(this,"_seoClientService");s(this,"_loaderService");s(this,"ContactUsPageInnerHtml",{});s(this,"ngUnsubscribe",new yt);s(this,"webPageTitle","Contact - FUTEK");s(this,"loaded",!1);s(this,"SeoDetail");this.router=i,this._contactService=e,this.titleService=n,this.meta=x,this._seoClientService=V,this._loaderService=b}ngOnInit(){this.titleService.setTitle(this.webPageTitle),this._seoClientService.createLinkForCanonicalURL(),this._contactService.getSinglePageBySegment("contact-us").subscribe(i=>{this.loaded=!0,this.ContactUsPageInnerHtml=i.Content,this.SeoDetail=i.SeoDetail,this.updateSEODetails(i.SeoDetail)})}updateSEODetails(i){i&&i.Title&&i.Title!=""?this._seoClientService.updateTitle(i.Title):this._seoClientService.updateTitle(this.webPageTitle),i&&i.Description&&i.Description!=""?this._seoClientService.updateDescription(i.Description):this.meta.updateTag({name:"description",content:this.webPageTitle}),i&&i.MetaKeyword&&i.MetaKeyword!=""?this._seoClientService.updateKeywords(i.MetaKeyword):this.meta.updateTag({name:"keywords",content:this.webPageTitle})}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete(),this._loaderService.hide()}getRoute(i){if(i.target.tagName.toLowerCase()==="a"){let e=i.target.getAttribute("class");e&&this.router.navigate([e])}}};s(d,"\u0275fac",function(e){return new(e||d)(T(Q),T(k),T(D),T(U),T(G),T(tt))}),s(d,"\u0275cmp",W({type:d,selectors:[["app-contact"]],features:[ze([k])],decls:9,vars:1,consts:[["width","0","height","0","name","Trade Desk Tracking - Informa_Futek_Lead Gen","frameborder","0","scrolling","no","src",Gt`https://insight.adsrvr.org/tags/9m5rhfp/65mj715/iframe`],[1,"main-panel"],[1,"panel-wrapper"],[1,"h5"],[1,"row","Quickserch"],[1,"row"],["class","col-md-12",3,"innerHTML","click",4,"ngIf"],[1,"col-md-12",3,"click","innerHTML"]],template:function(e,n){e&1&&(r(0,"div"),w(1,"iframe",0),r(2,"div",1)(3,"div",2)(4,"h1",3),p(5," Contact Us "),a(),w(6,"div",4),r(7,"div",5),C(8,xi,2,3,"div",6),a()()()()),e&2&&(l(8),_("ngIf",n.loaded))},dependencies:[K,X],styles:[`.panel-wrapper h1{margin-bottom:2rem}.panel-wrapper .Contactlinklocalp1{margin-bottom:0!important}.panel-wrapper .Contactlinklocalp1 a{color:var(--text-link-default)}.ctproductbox{width:93%;min-height:150px;box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f;font: 12pt/22px Nunito Sans,sans-serif;color:#000;text-decoration:none;padding:12px;border:1px solid #00000000;background-image:-webkit-linear-gradient(bottom,rgba(0,0,0,.09) 0%,rgba(255,255,255,.1) 100%);font-size:11pt;margin-bottom:30px;margin-left:7px}.representativespanel{width:100%;text-align:left;float:left}.ctpanelheadquarter{background-color:#ededed;overflow:auto;padding:25px;margin-bottom:20px;border:1px solid #00000012;border-radius:4px;font-family:Nunito Sans,sans-serif;width:98%;margin-left:8px}.recognizepanel{margin-left:11px}.representativesbtn{border:1px solid #1379cb;background-color:#1379cb;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJod\\2026IwIiB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgZmlsbD0idXJsKCNoYXQwKSIgLz4KPC9zdmc+);background-image:-webkit-linear-gradient(bottom,#0b49b7 0%,#1babe1 100%);color:#fff!important;border-radius:0;font-weight:400;font-size:10pt;font-family:Nunito Sans,sans-serif;padding:8px;margin-top:15px;cursor:pointer!important}.ctrelationships{font-size:10pt}div.cluster,div.document{margin:0;padding-bottom:20px;width:23%}div.cluster-alt{margin:0;padding:0}div.cluster-alt:first-child{padding-left:15px}div.cluster-alt:last-child{padding-right:15px}.contactspacet1{width:27px}h3,.h3{font-size:12pt}
1div.cluster a{display:block;width:100%;min-height:150px;box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f;font: 12pt/22px Nunito Sans,sans-serif;color:#000;text-decoration:none;padding:12px;border:1px solid #00000000;background-image:-webkit-linear-gradient(bottom,rgba(0,0,0,.09) 0%,rgba(255,255,255,.1) 100%);font-size:11pt;cursor:pointer}div.cluster-alt a{color:#ffce00;background-color:#000;background-image:linear-gradient(to top,#000,#505050);-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;border-top:1px solid #333;border-bottom:1px solid #333;border-right:1px solid #101010;border-left:1px solid #747474}div.cluster-alt a:hover,div.cluster-alt a:focus{color:#ffce00;background-color:#000;background-image:linear-gradient(to top,#363636,#737373);-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;border-top:1px solid #333;border-bottom:1px solid #333;border-right:1px solid #101010;border-left:1px solid #747474}div.cluster a span{display:block;font-size:13px;line-height:17px;margin-top:1em;font-weight:400}.row{display:flex;flex-wrap:wrap;margin-right:0;margin-left:0}.panel-body-headquarter{background-color:#ededed;overflow:auto;padding:25px;margin-bottom:20px;border:1px solid #00000012;border-radius:4px;font-family:Nunito Sans,sans-serif}.MediumL{font-size:20px}.Gray{color:#666!important}.Small{font-size:14px}.Dark{color:#333!important}.b2{font-weight:400}.btn{border-radius:0;border:1px solid #a9a9a9;background-color:#cbcbcb;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJod\\2026IwIiB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgZmlsbD0idXJsKCNoYXQwKSIgLz4KPC9zdmc+);background-image:-moz-linear-gradient(bottom,rgba(1,1,1,.43) 0%,rgba(255,255,255,.43) 100%);background-image:-o-linear-gradient(bottom,rgba(1,1,1,.43) 0%,rgba(255,255,255,.43) 100%);background-image:-webkit-linear-gradient(bottom,rgba(1,1,1,.43) 0%,rgba(255,255,255,.43) 100%);font-weight:700;color:#444;padding:5px 10px}.col-1,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-10,.col-11,.col-12,.col,.col-auto,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm,.col-sm-auto,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-md,.col-md-auto,.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg,.col-lg-auto,.col-xl-1,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-10,.col-xl-11,.col-xl-12,.col-xl,.col-xl-auto{position:relative;width:100%;min-height:1px;padding-right:0;padding-left:0;float:left}.ctclear{height:40px}@media (min-width: 320px) and (max-width: 680px){div.cluster,div.document{margin:0 0 10px;padding-bottom:0;width:100%}.contactspacet1{height:0px}}@media (min-width: 680px) and (max-width: 1024px){consignalpagemainpanel{padding-top:70px}div.cluster,div.document{margin:0 0 21px;padding-bottom:0;width:23%}.div.cluster a{padding:8px;font-size:10pt}.consignalpagemainpanel{padding-top:20px}.contactspacet1{width:17px}}@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait){.consignalpagemainpanel{padding-top:61px}}@media all and (device-width: 1024px) and (device-height: 768px) and (orientation:landscape){.consignalpagemainpanel{padding-top:70px}}.mat-mdc-form-field .mdc-text-field--outlined{--mdc-outlined-text-field-outline-width: 1px;--mdc-outlined-text-field-outline-color: #e0e0e0 !important;--mdc-outlined-text-field-focus-outline-width: 1px !important;--mdc-outlined-text-field-focus-outline-color: #e0e0e0 !important;--mdc-outlined-text-field-hover-outline-color: #949494 !important} 2`],encapsulation:2}));let o=d;return o}
2)();var at=(()=>{let d=class d{constructor(){s(this,"api",S(et))}submitApplicationInquiry(i,e){if(!i)throw new Error("Required parameter applicationInquiryDto was null or undefined when calling submitApplicationInquiry.");let n="/api/v2/contacts/application-inquiry",x=this.buildFormData(i);return this.api.post(n,x,e)}submitProductInquiry(i,e){if(!i)throw new Error("Required parameter productInquiryDto was null or undefined when calling submitProductInquiry.");let n="/api/v2/contacts/product-inquiry",x=this.buildProductInquiryFormData(i);return this.api.post(n,x,e)}submitPaymentQuestion(i,e){if(!i)throw new Error("Required parameter paymentQuestionDto was null or undefined when calling submitPaymentQuestion.");let n="/api/v2/contacts/payment-question",x=this.buildPaymentQuestionFormData(i);return this.api.post(n,x,e)}buildPaymentQuestionFormData(i){let e=new FormData;return this.append(e,"Purpose",i.purpose),this.append(e,"QuestionAndComment",i.questionAndComment),this.append(e,"Address.CountryId",i.address?.countryId),this.append(e,"Address.Country",i.address?.country),this.append(e,"Address.StateProvinceRegion",i.address?.stateProvinceRegion),this.append(e,"Address.City",i.address?.city),this.append(e,"Address.Phone",i.address?.phone),this.append(e,"Address.PostalCode",i.address?.postalCode),this.append(e,"Address.AddressLine1",i.address?.addressLine1),this.append(e,"Address.AddressLine2",i.address?.addressLine2),this.append(e,"Address.AddressLine3",i.address?.addressLine3),this.append(e,"ContactInformation.FirstName",i.contactInformation?.firstName),this.append(e,"ContactInformation.LastName",i.contactInformation?.lastName),this.append(e,"ContactInformation.Title",i.contactInformation?.title),this.append(e,"ContactInformation.Email",i.contactInformation?.email),this.append(e,"ContactInformation.Company",i.contactInformation?.company),this.append(e,"ContactInformation.Department",i.contactInformation?.department),this.append(e,"ContactInformation.IndustryId",i.contactInformation?.industryId),this.append(e,"ContactInformation.IndustryOther",i.contactInformation?.industryOther),this.append(e,"ContactInformation.InformationSource",i.contactInformation?.informationSource),this.append(e,"ContactInformation.InformationSourceOther",i.contactInformation?.informationSourceOther),this.append(e,"ProjectStageId",i.projectStageId),this.append(e,"Description",i.description),this.append(e,"RecaptchaToken",i.recaptchaToken),i.attachment&&e.append("Attachment",i.attachment,i.attachment.name),e}buildProductInquiryFormData(i){let e=new FormData;return this.append(e,"Data",i.data),this.append(e,"Address.CountryId",i.address?.countryId),this.append(e,"Address.Country",i.address?.country),this.append(e,"Address.StateProvinceRegion",i.address?.stateProvinceRegion),this.append(e,"Address.City",i.address?.city),this.append(e,"Address.Phone",i.address?.phone),this.append(e,"Address.PostalCode",i.address?.postalCode),this.append(e,"Address.AddressLine1",i.address?.addressLine1),this.append(e,"Address.AddressLine2",i.address?.addressLine2),this.append(e,"Address.AddressLine3",i.address?.addressLine3),this.append(e,"ContactInformation.FirstName",i.contactInformation?.firstName),this.append(e,"ContactInformation.LastName",i.contactInformation?.lastName),this.append(e,"ContactInformation.Title",i.contactInformation?.title),this.append(e,"ContactInformation.Email",i.contactInformation?.email),this.append(e,"ContactInformation.Company",i.contactInformation?.company),this.append(e,"ContactInformation.Department",i.contactInformation?.department),this.append(e,"ContactInformation.IndustryId",i.contactInformation?.industryId),this.append(e,"ContactInformation.IndustryOther",i.contactInformation?.industryOther),this.append(e,"ContactInformation.InformationSource",i.contactInformation?.informationSource),this.append(e,"ContactInformation.InformationSourceOther",i.contactInformation?.informationSourceOther),this.append(e,"ProjectStageId",i.projectStageId),this.append(e,"Description",i.description),this.append(e,"RecaptchaToken",i.recaptchaToken),i.attachment&&e.append("Attachment",i.attachment,i.attachment.name),e}buildFormData(i){let e=new FormData;return this.append(e,"LeadSourceId",i.leadSourceId),this.append(e,"LeadSourceOther",i.leadSourceOther),(i.currentUsedSensor??[]).forEac
2h(n=>e.append("CurrentlyUsedSensors",n)),(i.requiredSensor??[]).forEach(n=>e.append("RequiredSensors",n)),this.append(e,"Address.CountryId",i.address?.countryId),this.append(e,"Address.Country",i.address?.country),this.append(e,"Address.StateProvinceRegion",i.address?.stateProvinceRegion),this.append(e,"Address.City",i.address?.city),this.append(e,"Address.Phone",i.address?.phone),this.append(e,"Address.PostalCode",i.address?.postalCode),this.append(e,"Address.AddressLine1",i.address?.addressLine1),this.append(e,"Address.AddressLine2",i.address?.addressLine2),this.append(e,"Address.AddressLine3",i.address?.addressLine3),this.append(e,"ContactInformation.FirstName",i.contactInformation?.firstName),this.append(e,"ContactInformation.LastName",i.contactInformation?.lastName),this.append(e,"ContactInformation.Title",i.contactInformation?.title),this.append(e,"ContactInformation.Email",i.contactInformation?.email),this.append(e,"ContactInformation.Company",i.contactInformation?.company),this.append(e,"ContactInformation.Department",i.contactInformation?.department),this.append(e,"ContactInformation.IndustryId",i.contactInformation?.industryId),this.append(e,"ContactInformation.IndustryOther",i.contactInformation?.industryOther),this.append(e,"ContactInformation.InformationSource",i.contactInformation?.informationSource),this.append(e,"ContactInformation.InformationSourceOther",i.contactInformation?.informationSourceOther),this.append(e,"ProjectStageId",i.projectStageId),this.append(e,"Description",i.description),this.append(e,"RecaptchaToken",i.recaptchaToken),i.attachment&&e.append("Attachment",i.attachment,i.attachment.name),e}append(i,e,n){n&&i.append(e,String(n))}};s(d,"\u0275fac",function(e){return new(e||d)}),s(d,"\u0275prov",Qe({token:d,factory:d.\u0275fac,providedIn:"root"}));let o=d;return o}
2)();var Ze=class{constructor(){s(this,"Id");s(this,"FirstName");s(this,"LastName");s(this,"Email");s(this,"Company");s(this,"Title");s(this,"Phone");s(this,"IndustryTypeId");s(this,"Other");s(this,"Country");s(this,"AddressLineOne");s(this,"AddressLineTwo");s(this,"City");s(this,"State");s(this,"UsaState");s(this,"PostalCode");s(this,"ZipPostalCode");s(this,"Purpose");s(this,"QuestionAndComment");s(this,"County");s(this,"codephonenumber")}};var Mi=["paymentquestions"];function Si(o,d){o&1&&w(0,"app-response-message")}function wi(o,d){o&1&&(r(0,"div",11)(1,"div",12),w(2,"mat-progress-spinner",13),a()())}function vi(o,d){if(o&1&&(r(0,"mat-option",45),p(1),a()),o&2){let t=d.$implicit;_("value",t.Value),l(),P(" ",t.Text," ")}}function qi(o,d){if(o&1&&(r(0,"mat-option",45),p(1),a()),o&2){let t=d.$implicit;_("value",t.Value),l(),I(t.Text)}}function Ii(o,d){if(o&1){let t=M();r(0,"mat-form-field",17)(1,"mat-label"),p(2,"Zip / Postal Code"),a(),r(3,"input",46),y("blur",function(){m(t);let e=c(2);return u(e.getAddress(e.payModel.PostalCode))}),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.payModel.PostalCode,e)||(n.payModel.PostalCode=e),u(e)}),a(),r(4,"mat-error",47),p(5,"Please enter valid zip code"),a()()}if(o&2){let t=c(2);l(3),g("ngModel",t.payModel.PostalCode)}}function bi(o,d){o&1&&(r(0,"label",48),p(1," Please enter valid zip code "),a())}function Pi(o,d){if(o&1){let t=M();r(0,"mat-form-field",17)(1,"mat-label"),p(2,"Zip / Postal Code"),a(),r(3,"input",49),y("keypress",function(e){m(t);let n=c(2);return u(n.specialcharpanel(e))}),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.payModel.PostalCode,e)||(n.payModel.PostalCode=e),u(e)}),a(),r(4,"mat-error",47),p(5,"Please enter valid zip code"),a()()}if(o&2){let t=c(2);l(3),g("ngModel",t.payModel.PostalCode)}}function Ti(o,d){if(o&1&&(r(0,"mat-option",45),p(1),a()),o&2){let t=d.$implicit;_("value",t.Value),l(),I(t.Text)}}function Ei(o,d){if(o&1){let t=M();r(0,"mat-form-field",17)(1,"mat-label"),p(2,"State"),a(),r(3,"mat-select",50),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.payModel.State,e)||(n.payModel.State=e),u(e)}),y("selectionChange",function(){m(t);let e=c(2);return u(e.StateChange(e.payModel.State))}),C(4,Ti,2,2,"mat-option",24),a()()}if(o&2){let t=c(2);l(3),g("ngModel",t.payModel.State),_("disabled",t.isReadOnly),l(),_("ngForOf",t.stateList)}}function Vi(o,d){if(o&1){let t=M();r(0,"mat-form-field",17)(1,"mat-label"),p(2,"State / Province / Region"),a(),r(3,"input",51),y("keypress",function(e){m(t);let n=c(2);return u(n.specialcharpanel(e))}),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.payModel.UsaState,e)||(n.payModel.UsaState=e),u(e)}),a()()}if(o&2){let t=c(2);l(3),g("ngModel",t.payModel.UsaState)}}function Li(o,d){if(o&1){let t=M();r(0,"mat-form-field",17)(1,"mat-label"),p(2,"State / Province / Region"),a(),r(3,"input",51),y("keypress",function(e){m(t);let n=c(2);return u(n.specialcharpanel(e))}),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.payModel.UsaState,e)||(n.payModel.UsaState=e),u(e)}),a()()}if(o&2){let t=c(2);l(3),g("ngModel",t.payModel.UsaState)}}function Oi(o,d){if(o&1){let t=M();r(0,"mat-form-field",17)(1,"mat-label"),p(2,"City"),a(),r(3,"input",52),y("keypress",function(e){m(t);let n=c(2);return u(n.specialcharpanel(e))}),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.payModel.City,e)||(n.payModel.City=e),u(e)}),a()()}if(o&2){let t=c(2);l(3),g("ngModel",t.payModel.City)}}function ki(o,d){if(o&1){let t=M();r(0,"mat-form-field",17)(1,"mat-label"),p(2,"City"),a(),r(3,"input",53),y("keypress",function(e){m(t);let n=c(2);return u(n.specialcharpanel(e))}),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.payModel.City,e)||(n.payModel.City=e),u(e)}),a()()}if(o&2){let t=c(2);l(3),g("ngModel",t.payModel.City)}}function Ai(o,d){if(o&1&&(r(0,"mat-option",45),p(1),a()),o&2){let t=d.$implicit;_("value",t.Value),l(),P(" ",t.Value," ")}}function Fi(o,d){if(o&1){let t=M();r(0,"div",16)(1,"mat-form-field",17)(2,"mat-label"),p(3,"County"),a(),r(4,"mat-select",54),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.payModel.County,e)||(n.payModel.County=e),u(e)}
2),C(5,Ai,2,2,"mat-option",24),a()()()}if(o&2){let t=c(2);l(4),g("ngModel",t.payModel.County),l(),_("ngForOf",t.countyList)}}function Ri(o,d){o&1&&(r(0,"label",48),p(1," Please enter the accurate address, PO BOX is not acceptable. "),a())}function Wi(o,d){o&1&&(r(0,"label",48),p(1," Please enter the accurate address, PO BOX is not acceptable. "),a())}function Ni(o,d){if(o&1&&(r(0,"mat-option",45),p(1),a()),o&2){let t=d.$implicit;_("value",t.Value),l(),I(t.Text)}}function Bi(o,d){o&1&&(r(0,"div",57),p(1," Required Re-captcha "),a())}function Ui(o,d){if(o&1){let t=M();r(0,"div",15)(1,"div",55)(2,"re-captcha",56),y("resolved",function(e){m(t);let n=c(2);return u(n.resolved(e))}),a(),C(3,Bi,2,0,"div",57),a()()}if(o&2){let t=c(2);l(2),N("siteKey",t.recaptcha),l(),v(t.recaptchaErrMessage?3:-1)}}function Di(o,d){if(o&1){let t=M();r(0,"form",14,0),y("ngSubmit",function(){m(t);let e=c();return u(e.SubmitPaymentQuestion())}),r(2,"div",15)(3,"div",16)(4,"mat-form-field",17)(5,"mat-label"),p(6,"First Name"),a(),r(7,"input",18),h("ngModelChange",function(e){m(t);let n=c();return f(n.payModel.FirstName,e)||(n.payModel.FirstName=e),u(e)}),y("keypress",function(e){m(t);let n=c();return u(n.specialcharactersfirstName(e))}),a()()(),r(8,"div",16)(9,"mat-form-field",17)(10,"mat-label"),p(11,"Last Name"),a(),r(12,"input",19),y("keypress",function(e){m(t);let n=c();return u(n.specialcharactersfirstName(e))}),h("ngModelChange",function(e){m(t);let n=c();return f(n.payModel.LastName,e)||(n.payModel.LastName=e),u(e)}),a()()(),r(13,"div",16)(14,"mat-form-field",17)(15,"mat-label"),p(16,"Title"),a(),r(17,"input",20),h("ngModelChange",function(e){m(t);let n=c();return f(n.payModel.Title,e)||(n.payModel.Title=e),u(e)}),a()()()(),r(18,"div",15)(19,"div",16)(20,"mat-form-field",17)(21,"mat-label"),p(22,"Email"),a(),r(23,"input",21),h("ngModelChange",function(e){m(t);let n=c();return f(n.payModel.Email,e)||(n.payModel.Email=e),u(e)}),a()()(),r(24,"div",16)(25,"mat-form-field",17)(26,"mat-label"),p(27,"Company"),a(),r(28,"input",22),h("ngModelChange",function(e){m(t);let n=c();return f(n.payModel.Company,e)||(n.payModel.Company=e),u(e)}),a()()(),r(29,"div",16)(30,"mat-form-field",17)(31,"mat-label"),p(32,"Industry"),a(),r(33,"mat-select",23),h("ngModelChange",function(e){m(t);let n=c();return f(n.payModel.IndustryTypeId,e)||(n.payModel.IndustryTypeId=e),u(e)}),C(34,vi,2,2,"mat-option",24),a()()()(),r(35,"div",15)(36,"div",25),p(37,"Address:"),a()(),r(38,"div",15)(39,"div",16)(40,"mat-form-field",17)(41,"mat-label"),p(42,"Country"),a(),r(43,"mat-select",26),y("selectionChange",function(){m(t);let e=c();return u(e.CountryChange(e.payModel.Country))}),h("ngModelChange",function(e){m(t);let n=c();return f(n.payModel.Country,e)||(n.payModel.Country=e),u(e)}),C(44,qi,2,2,"mat-option",24),a()()(),r(45,"div",27)(46,"span",28),w(47,"img",29),a(),r(48,"span",30)(49,"input",31),h("ngModelChange",function(e){m(t);let n=c();return f(n.IntPhone,e)||(n.IntPhone=e),u(e)}),a()(),r(50,"span",32)(51,"mat-form-field",17)(52,"mat-label"),p(53,"Phone"),a(),r(54,"input",33),h("ngModelChange",function(e){m(t);let n=c();return f(n.payModel.Phone,e)||(n.payModel.Phone=e),u(e)}),a()()()()(),r(55,"div",15)(56,"div",16),C(57,Ii,6,1,"mat-form-field",34)(58,bi,2,0,"label",35)(59,Pi,6,1,"mat-form-field",34),a(),r(60,"div",16),C(61,Ei,5,3,"mat-form-field",34)(62,Vi,4,1,"mat-form-field",34)(63,Li,4,1,"mat-form-field",34),a(),r(64,"div",16),C(65,Oi,4,1,"mat-form-field",34)(66,ki,4,1,"mat-form-field",34),a()(),r(67,"div",15),C(68,Fi,6,2,"div",36),r(69,"div",16)(70,"mat-form-field",17)(71,"mat-label"),p(72,"Street Address"),a(),r(73,"input",37),h("ngModelChange",function(e){m(t);let n=c();return f(n.payModel.AddressLineOne,e)||(n.payModel.AddressLineOne=e),u(e)}),y("blur",function(){m(t);let e=c();return u(e.addressBoxError())}),a()(),C(74,Ri,2,0,"label",35),a(),r(75,"div",16)(76,"mat-form-field",17)(77,"mat-label"),p(78,"Street Address 2"),a(),r(79,"input",38),h("ngModelChange",function(e){m(t);let n=c();return f(n.payModel.AddressLineTwo,e)||(n.payModel.AddressLineTwo=e),u(e)}),y("blur",function(){m(t);let e=c();return u(e.address2BoxError())}),a()(),C(80,Wi,2,0,"label",35),a()(),r(81,"div",15)(82,"div",16)(83,"mat-form-field",17)(84,"mat-label"),p(85,"Purpose of Inquiry"),a(),r(86,"mat-select",39),h("ngModelChange",function(e){m(t);let n=c();return f(n.payModel.Purpose,e)||(n.payModel.Purpose=e),u(e)}
2),C(87,Ni,2,2,"mat-option",24),a()()(),r(88,"div",40)(89,"mat-form-field",17)(90,"mat-label"),p(91,"Questions or Comments"),a(),r(92,"textarea",41),h("ngModelChange",function(e){m(t);let n=c();return f(n.payModel.QuestionAndComment,e)||(n.payModel.QuestionAndComment=e),u(e)}),a()()()(),C(93,Ui,4,2,"div",15),r(94,"div",15)(95,"p",42),p(96,"The user represents that he/she (i) has authority to send any information he/she provides to FUTEK and (ii) FUTEK will use the information solely for purposes of responding to the inquiry presented."),a()(),r(97,"div",15)(98,"div",43)(99,"button",44),p(100,"Submit Question"),a()()()()}if(o&2){let t=c();l(7),g("ngModel",t.payModel.FirstName),l(5),g("ngModel",t.payModel.LastName),l(5),g("ngModel",t.payModel.Title),l(6),g("ngModel",t.payModel.Email),l(5),g("ngModel",t.payModel.Company),l(5),g("ngModel",t.payModel.IndustryTypeId),l(),_("ngForOf",t.indusTypeList),l(9),g("ngModel",t.payModel.Country),l(),_("ngForOf",t.countryList),l(3),N("src",t.selectedCountryFlagUrl,L),l(2),g("ngModel",t.IntPhone),l(5),g("ngModel",t.payModel.Phone),l(3),_("ngIf",t.IsUS),l(),_("ngIf",t.IsUS&&t.zipError),l(),_("ngIf",!t.IsUS),l(2),_("ngIf",t.IsUS),l(),_("ngIf",!t.IsUS&&t.payModel.Country=="ca"),l(),_("ngIf",!t.IsUS&&t.payModel.Country!="ca"),l(2),_("ngIf",t.IsUS||t.payModel.Country=="ca"),l(),_("ngIf",!t.IsUS&&t.payModel.Country!="ca"),l(2),_("ngIf",t.IsCaliforniaState),l(5),g("ngModel",t.payModel.AddressLineOne),l(),_("ngIf",t.address1POBoxError),l(5),g("ngModel",t.payModel.AddressLineTwo),l(),_("ngIf",t.address2POBoxError),l(6),g("ngModel",t.payModel.Purpose),l(),_("ngForOf",t.inquiryPurposes),l(5),g("ngModel",t.payModel.QuestionAndComment),l(),v(t.useRumiApiFFSprint64_65?-1:93)}}var ci=(()=>{let d=class d{constructor(){s(this,"FileHostUrl",q.FileHostUrl);s(this,"recaptcha",q.recaptcha);s(this,"payModel",new Ze);s(this,"countryList",[]);s(this,"stateList",[]);s(this,"indusTypeList",[]);s(this,"inquiryPurposes",[]);s(this,"countyList",[]);s(this,"address1POBoxError",!1);s(this,"address2POBoxError",!1);s(this,"zipError",!1);s(this,"IntPhone");s(this,"CountryId");s(this,"selectedCountryFlagUrl");s(this,"paymentquestions");s(this,"snackbar");s(this,"IsCaliforniaState",!1);s(this,"IsUS",!0);s(this,"responseMessage",!1);s(this,"isReadOnly");s(this,"isDisabled",!1);s(this,"isRecaptchaValidate",!1);s(this,"recaptchaErrMessage",!1);s(this,"isLoading",!1);s(this,"accountService",S(xe));s(this,"contactService",S(k));s(this,"router",S(Q));s(this,"meta",S(U));s(this,"titleService",S(D));s(this,"seoClientService",S(G));s(this,"recaptchaService",S(Ie));s(this,"_snackBar",S(we));s(this,"featureFlagsService",S(ye));s(this,"inquiryService",S(at));s(this,"contactsService",S(Ce));s(this,"useRumiApiFFSprint64_65",this.featureFlagsService.IsEnabled(H.RumiApi64_65));s(this,"countryOptions",[])}ngOnInit(){if(this.initializeDefaults(),this.initializeSeo(),this.useRumiApiFFSprint64_65){this.loadContactFormOptions();return}this.loadPaymentQuestion()}initializeDefaults(){this.CountryId="us",this.IntPhone="+1",this.selectedCountryFlagUrl=`${q.OptimizelyCMSBaseUrl}globalassets/countryflags/united-states.png`}initializeSeo(){this.seoClientService.createLinkForCanonicalURL();let i="Payment Questions Contact FUTEK";this.titleService.setTitle(i),this.meta.updateTag({name:"description",content:i}),this.meta.updateTag({name:"keywords",content:i})}loadPaymentQuestion(){this.contactService.getPaymentQuestion().subscribe(i=>{this.countryList=i.CountriesTypeList,this.stateList=i.StatesTypeList,this.indusTypeList=i.IndustryTypeList,this.inquiryPurposes=i.QuestionInquiryList,this.countyList=i.CaliforniaCountyList,this.payModel.Country="us"})}loadContactFormOptions(){this.contactsService.getContactFormOptions().subscribe({next:i=>{this.countryOptions=i.countries??[],this.countryList=z(i.countries,e=>e.code?.toLowerCase(),e=>e.name,e=>e.phoneCode),this.stateList=z(i.states,e=>e.code,e=>e.name),this.countyList=z(i.counties,e=>e.name,e=>e.name),this.indusTypeList=z(i.industries,e=>e.id,e=>e.description),this.inquiryPurposes=z(i.inquiryPurposes,e=>e.description,e=>e.description),this.payModel.Country="us"},error:i=>console.error("Failed to load contact form options",i)})}resolved(i){this.isRecaptchaValidate=!0,this.recaptchaErrMessage=!1}submitOnEdit(){window.scrollTo(0,0)}SubmitPaymentQuestion(){if(!this.useRumiApiFFSprint64_65){let i=this.recaptchaService.validateRecaptcha(this.isRecaptchaValidate);if(this.recaptchaErrMessage=i.recaptchaErrMessage,this.recaptchaErrMessage)return}if(!this.isPaymentQuestionFormValid()){this.snackbar=new E(this._snackBar),this.snackbar.openSnackBar("Please select all the required fields.","close");return}if(this.submitOnEdit(),this.isLoading=!0,this.useRumiApiFFSprint64_65){this.sendPaymentQuestion();return}this.sendLegacyPaymentQuestion()}sendLegacyPaymentQuestion(){this.contactService.getPaymentQuestion(this.payModel).subscribe({next:()=>{this.responseMessage=!0,this.recaptchaErrMessage=!1,this.paymentquestions.resetForm(),setTimeout(()=>{this.router.navigate(["/about/contact"])},5*1e3)},error:()=>{this.snackbar=new E(this._snackBar),this.snackbar.openSnackBar("Something went wrong. Please try again.","close")},complete:()=>{this.isLoading=!1}})}sendPaymentQuestion(){return A(this,null,function*(){let i;try{i=yield this.buildPaymentQuestionDto()}catch{this.snackbar=new E(this._snackBar),this.snackbar.openSnackBar("Something went wrong. Please try again.","close"),this.isLoading=!1;return}this.inquiryService.submitPaymentQuestion(i).subscribe({next:()=>{this.responseMessage=!0,this.recaptchaErrMessage=!1,this.paymentquestions.resetForm(),setTimeout(()=>{this.router.navigate(["/about/contact"])},5*1e3)},error:()=>{this.snackbar=new E(this._snackBar),this.snackbar.openSnackBar("Something went wrong. Please try again.","close"),this.isLoading=!1},complete:()=>{this.isLoading=!1}})})}buildPaymentQuestionDto(){return A(this,null,function*(){let i=yield ie(this.recaptchaService.getRecaptchaV3Token(be.PAYMENT_QUESTION));return{purpose:this.payModel.Purpose,questionAndComment:this.payModel.QuestionAndComment,address:{countryId:this.countryOptions.find(e=>e.code?.toLowerCase()===this.payModel.Country?.toLowerCase())?.id,country:this.payModel.Country,stateProvinceRegion:this.IsUS?this.payModel.State:this.payModel.UsaState,city:this.payModel.City,phone:`${this.IntPhone}${this.payModel.Phone}`,postalCode:this.payModel.PostalCode,addressLine1:this.payModel.AddressLineOne,addressLine2:this.payModel.AddressLineTwo},contactInformation:{firstName:this.payModel.FirstName,lastName:this.payModel.LastName,title:this.payModel.Title,email:this.payModel.Email,company:this.payModel.Company,industryId:this.payModel.IndustryTypeId?Number(this.payModel.IndustryTypeId):null},recaptchaToken:i}})}isPaymentQuestionFormValid(){return!!this.paymentquestions.valid&&!this.address1POBoxError&&!this.address2POBoxError}CountryChange(i){let e=this.countryList.find(n=>n.Value==i);this.CountryId=e?.Value,this.IntPhone=e?.PhoneCode?"+"+e.PhoneCode:"",e&&(this.selectedCountryFlagUrl=`${q.OptimizelyCMSBaseUrl}globalassets/countryflags/${e.Text.replace(/\s+/g,"-").toLowerCase()}.png`),this.payModel.PostalCode="",this.payModel.AddressLineTwo="",this.payModel.AddressLineOne="",this.payModel.City="",this.payModel.ZipPostalCode="",this.payModel.State="",this.IsCaliforniaState=!1,this.IsUS=i=="us",this.IsUS||(this.payModel.UsaState="",this.isReadOnly=!1,this.isDisabled=!1,this.zipError=!1)}addressBoxError(){this.address1POBoxError=Me(this.payModel.AddressLineOne)}address2BoxError(){this.address2POBoxError=Me(this.payModel.AddressLineTwo)}getAddress(i){this.payModel.City="",this.payModel.State="",this.payModel.County="",this.zipError=!1,i=i.replace(/\s/g,""),this.isDisabled=!1,this.IsCaliforniaState=!1,this.payModel.Country=="us"&&i.length==5?this.accountService.getAddress(i).subscribe({next:e=>{let n=JSON.parse(e);if(n.status=="ZERO_RESULTS"){this.zipError=!0;return}let x=n.results[0].formatted_address.split(",",1)[0],V=n.results[0].formatted_address.split(", ")[1].split(" ")[0];this.payModel.City=x,this.payModel.State=V,this.isReadOnly=!0,this.isDisabled=!0,this.StateChange(V);let b=n.results[0].address_components[2];
2if(b){let R=b.long_name.split(" ");this.payModel.County=R.slice(0,R.length-1).join(" ")}},error:()=>{this.zipError=!0}}):this.isReadOnly=!1}StateChange(i){this.IsCaliforniaState=i==="CA"}specialcharpanel(i){return F(i.charCode,{allowHyphen:!0})}specialcharactersfirstName(i){return F(i.charCode,{allowHyphen:!0,allowPeriod:!0,allowApostrophe:!0})}};s(d,"\u0275fac",function(e){return new(e||d)}),s(d,"\u0275cmp",W({type:d,selectors:[["app-paymentquestion"]],viewQuery:function(e,n){if(e&1&&Y(Mi,5),e&2){let x;$(x=ee())&&(n.paymentquestions=x.first)}},features:[ze([xe,k])],decls:15,vars:3,consts:[["paymentquestions","ngForm"],[1,"main-panel"],[1,"panel-wrapper"],[1,"breadcrumbs"],["routerLink","/about/contact",1,"text-l","semibold","text-color-tertiary"],[1,"material-icons","text-color-tertiary"],["data-epi-edit","Name",1,"text-l","semibold","text-color-primary"],[1,"h5","productTechnicalmb1"],["class","loader-overlay-light",4,"ngIf"],["class","custom-form","name","paymentquestions","novalidate","",3,"ngSubmit",4,"ngIf"],[1,"clear"],[1,"loader-overlay-light"],[1,"loadingpanel"],["mode","indeterminate",1,"spinner"],["name","paymentquestions","novalidate","",1,"custom-form",3,"ngSubmit"],[1,"row"],[1,"col-md-4"],["appearance","outline"],["name","firstName","matInput","","placeholder","First Name","maxlength","50","required","",3,"ngModelChange","keypress","ngModel"],["matInput","","placeholder","Last Name","name","lastname","required","","maxlength","50",3,"keypress","ngModelChange","ngModel"],["matInput","","placeholder","Title","name","title","maxlength","50","required","",3,"ngModelChange","ngModel"],["matInput","","placeholder","Email","name","email","type","email","maxlength","100","pattern","^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,10}$","required","",3,"ngModelChange","ngModel"],["matInput","","placeholder","Company","name","company","maxlength","100","required","",3,"ngModelChange","ngModel"],["name","industry","required","","placeholder","Industry",3,"ngModelChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],[1,"Addresstextv1"],["name","country","required","","placeholder","Country",3,"selectionChange","ngModelChange","ngModel"],[1,"col-md-4","zip-country"],[1,"zipcountyimagh1"],["alt","CountryI flags",2,"height","auto","width","25px","object-fit","contain",3,"src"],[1,"zipcountyimagh2"],["placeholder","Phone","name","IntPhone","readonly","",1,"inputpanelkl1",3,"ngModelChange","ngModel"],[1,"zipcountyimagh3"],["matInput","","placeholder","949-465-0900","name","phone","type","text","minlength","10","maxlength","15","onkeypress","return event.charCode >= 48 && event.charCode <= 57","required","",3,"ngModelChange","ngModel"],["appearance","outline",4,"ngIf"],["class","streeterror",4,"ngIf"],["class","col-md-4",4,"ngIf"],["matInput","","placeholder","Street Address","name","address1","minlength","1","maxlength","100","required","",3,"ngModelChange","blur","ngModel"],["matInput","","placeholder","Street Address 2","name","address2","minlength","1","maxlength","150",3,"ngModelChange","blur","ngModel"],["name","purpose","required","","placeholder","Purpose of Inquiry",3,"ngModelChange","ngModel"],[1,"col-md-8"],["name","QuestionAndComment","matInput","","placeholder","Questions or Comments","maxlength","150","required","",3,"ngModelChange","ngModel"],[1,"whatinterestedtextv1"],[1,"btncenter","submitplm"],["type","submit",1,"primary-button"],[3,"value"],["matInput","","placeholder","Zip / Postal Code","type","text","pattern","\\d*","minlength","5","maxlength","5","name","postlacode","onkeypress","return event.charCode >= 48 && event.charCode <= 57","required","",3,"blur","ngModelChange","ngModel"],[1,"errorPleasevab1"],[1,"streeterror"],["matInput","","placeholder","Zip / Postal Code","type","text","pattern","[a-zA-Z0-9 -]+","minlength","3","maxlength","10","required","","name","postlacode",3,"keypress","ngModelChange","ngModel"],["name","state","required","","placeholder","State",3,"ngModelChange","selectionChange","ngModel","disabled"],["matInput","","placeholder","State / Province / Region","name","region","maxlength","50","required","",3,"keypress","ngModelChange","ngModel"],["matInput","","placeholder","City","required","","name","city","minlength","1","maxlength","50",3,"keypress","ngModelChange","ngModel"],["matInput","","placeholder","City","name","city","required","",3,"keypress","ngModelChange","ngModel"],["required","","name","county",3,"ngModelChange","ngModel"],[1,"prorechaptchadiv"],[3,"resolved","siteKey"],[1,"recaptcha_error"]],template:function(e,n){e&1&&(r(0,"div",1)(1,"div",2)(2,"div",3)(3,"a",4),p(4,"Contact Us"),a(),r(5,"i",5),p(6,"keyboard_arrow_right "),a(),r(7,"p",6),p(8,"Payment Questions"),a()(),r(9,"h1",7),p(10,"Payment Questions"),a(),C(11,Si,
21,0,"app-response-message")(12,wi,3,0,"div",8)(13,Di,101,29,"form",9),w(14,"div",10),a()()),e&2&&(l(11),v(n.responseMessage?11:-1),l(),_("ngIf",n.isLoading),l(),_("ngIf",!n.responseMessage))},dependencies:[Ee,K,pe,ae,se,le,me,Ve,ue,_e,ce,de,Le,he,fe,ge,je,Se,Ae,ve,qe,J],styles:[`.mat-mdc-form-field{display:inline-block;position:relative;text-align:left;padding-right:30px;padding-left:4px;width:100%}a{color:#020202;text-decoration:none;background-color:transparent;-webkit-text-decoration-skip:objects}.row{display:flex;flex-wrap:wrap;margin-right:0;margin-left:0}.clear{height:50px}.prorechaptchadiv{padding:0 0 10px 5px}.col-md-8,.col-md-6,.col-md-4,.col-md-12{padding-right:0;padding-left:0;width:100%}.Addresstextv1{font-weight:700}.faqclosedicon{float:right;cursor:pointer;background:#d4edda;border-radius:60px;width:27px;height:25px;position:absolute;z-index:99;padding:1px;margin:-14px 0 0 1005px}@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait){.productstoresubheadertext i,.productstoretitlepl1 i{position:relative;top:-4px;font-size:20px}.teappsensorpl1{float:left;margin-top:-22px;margin-right:0;margin-left:3px}}@media all and (device-width: 1024px) and (device-height: 768px) and (orientation:landscape){.productstoresubheadertext i,.productstoretitlepl1 i,.teappsensorpl1{float:left;margin-top:-22px;margin-right:0;margin-left:3px}}::ng-deep .mdc-text-field--outlined{--mdc-outlined-text-field-outline-width: 1px;--mdc-outlined-text-field-outline-color: #e0e0e0 !important;--mdc-outlined-text-field-focus-outline-width: 1px !important;--mdc-outlined-text-field-focus-outline-color: #e0e0e0 !important;--mdc-outlined-text-field-hover-outline-color: #949494 !important} 3`],encapsulation:2}));let o=d;return o}
3)();var pi=(()=>{let d=class d{constructor(){s(this,"api",S(et))}submitGeneralInquiry(i,e){if(!i)return Ct(()=>new Error("Required parameter generalInquiryDto was null or undefined when calling submitGeneralInquiry."));let n="/api/v2/contacts/general-inquiry",x=this.buildFormData(i);return this.api.post(n,x,e)}buildFormData(i){let e=new FormData;return this.append(e,"InquiryPurposeId",i.inquiryPurposeId),this.append(e,"Question",i.question),this.append(e,"Address.CountryId",i.address?.countryId),this.append(e,"Address.Country",i.address?.country),this.append(e,"Address.StateProvinceRegion",i.address?.stateProvinceRegion),this.append(e,"Address.City",i.address?.city),this.append(e,"Address.Phone",i.address?.phone),this.append(e,"Address.PostalCode",i.address?.postalCode),this.append(e,"Address.AddressLine1",i.address?.addressLine1),this.append(e,"Address.AddressLine2",i.address?.addressLine2),this.append(e,"Address.AddressLine3",i.address?.addressLine3),this.append(e,"ContactInformation.FirstName",i.contactInformation?.firstName),this.append(e,"ContactInformation.LastName",i.contactInformation?.lastName),this.append(e,"ContactInformation.Title",i.contactInformation?.title),this.append(e,"ContactInformation.Email",i.contactInformation?.email),this.append(e,"ContactInformation.Company",i.contactInformation?.company),this.append(e,"ContactInformation.Department",i.contactInformation?.department),this.append(e,"ContactInformation.IndustryId",i.contactInformation?.industryId),this.append(e,"ContactInformation.IndustryOther",i.contactInformation?.industryOther),this.append(e,"ContactInformation.InformationSource",i.contactInformation?.informationSource),this.append(e,"ContactInformation.InformationSourceOther",i.contactInformation?.informationSourceOther),this.append(e,"ProjectStageId",i.projectStageId),this.append(e,"Description",i.description),this.append(e,"RecaptchaToken",i.recaptchaToken),i.attachment&&e.append("Attachment",i.attachment,i.attachment.name),e}append(i,e,n){n&&i.append(e,String(n))}};s(d,"\u0275fac",function(e){return new(e||d)}),s(d,"\u0275prov",Qe({token:d,factory:d.\u0275fac,providedIn:"root"}));let o=d;return o}
3)();var Qi=["generalquestions"],_t=(o,d)=>d.Value,zi=()=>({standalone:!0});function Gi(o,d){o&1&&w(0,"app-response-message")}function ji(o,d){o&1&&(r(0,"div",11)(1,"div",15),w(2,"mat-progress-spinner",16),a()())}function Hi(o,d){if(o&1&&(r(0,"mat-option",27),p(1),a()),o&2){let t=d.$implicit;_("value",t.Value),l(),I(t.Text)}}function Zi(o,d){if(o&1&&(r(0,"mat-option",27),p(1),a()),o&2){let t=d.$implicit;_("value",t.Value),l(),I(t.Text)}}function Ki(o,d){if(o&1){let t=M();r(0,"mat-form-field",20)(1,"mat-label"),p(2,"Zip / Postal Code"),a(),r(3,"input",45),y("blur",function(){m(t);let e=c(2);return u(e.getAddress(e.payModel.PostalCode))}),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.payModel.PostalCode,e)||(n.payModel.PostalCode=e),u(e)}),a(),r(4,"mat-error",46),p(5,"Please enter valid zip code"),a()()}if(o&2){let t=c(2);l(3),g("ngModel",t.payModel.PostalCode)}}function Ji(o,d){if(o&1){let t=M();r(0,"mat-form-field",20)(1,"mat-label"),p(2,"Zip / Postal Code"),a(),r(3,"input",47),y("keypress",function(e){m(t);let n=c(2);return u(n.specialcharpanel(e))}),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.payModel.PostalCode,e)||(n.payModel.PostalCode=e),u(e)}),a(),r(4,"mat-error",46),p(5,"Please enter valid zip code"),a()()}if(o&2){let t=c(2);l(3),g("ngModel",t.payModel.PostalCode)}}function Xi(o,d){if(o&1&&(r(0,"mat-option",27),p(1),a()),o&2){let t=d.$implicit;_("value",t.Value),l(),I(t.Text)}}function Yi(o,d){if(o&1){let t=M();r(0,"mat-form-field",20)(1,"mat-label"),p(2,"State"),a(),r(3,"mat-select",48),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.payModel.State,e)||(n.payModel.State=e),u(e)}),y("selectionChange",function(){m(t);let e=c(2);return u(e.StateChange(e.payModel.State))}),Xe(4,Xi,2,2,"mat-option",27,_t),a()()}if(o&2){let t=c(2);l(3),g("ngModel",t.payModel.State),_("disabled",t.isReadOnly),l(),Ye(t.stateList)}}function $i(o,d){if(o&1){let t=M();r(0,"mat-form-field",20)(1,"mat-label"),p(2,"State / Province / Region"),a(),r(3,"input",49),y("keypress",function(e){m(t);let n=c(2);return u(n.specialcharpanel(e))}),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.payModel.UsaState,e)||(n.payModel.UsaState=e),u(e)}),a()()}if(o&2){let t=c(2);l(3),g("ngModel",t.payModel.UsaState)}}function en(o,d){if(o&1){let t=M();r(0,"mat-form-field",20)(1,"mat-label"),p(2,"State / Province / Region"),a(),r(3,"input",49),y("keypress",function(e){m(t);let n=c(2);return u(n.specialcharpanel(e))}),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.payModel.UsaState,e)||(n.payModel.UsaState=e),u(e)}),a()()}if(o&2){let t=c(2);l(3),g("ngModel",t.payModel.UsaState)}}function tn(o,d){if(o&1){let t=M();r(0,"mat-form-field",20)(1,"mat-label"),p(2,"City"),a(),r(3,"input",50),y("keypress",function(e){m(t);let n=c(2);return u(n.specialcharpanel(e))}),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.payModel.City,e)||(n.payModel.City=e),u(e)}),a()()}if(o&2){let t=c(2);l(3),g("ngModel",t.payModel.City)}}function nn(o,d){if(o&1){let t=M();r(0,"mat-form-field",20)(1,"mat-label"),p(2,"City"),a(),r(3,"input",51),y("keypress",function(e){m(t);let n=c(2);return u(n.specialcharpanel(e))}),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.payModel.City,e)||(n.payModel.City=e),u(e)}),a()()}if(o&2){let t=c(2);l(3),g("ngModel",t.payModel.City)}}function on(o,d){if(o&1&&(r(0,"mat-option",27),p(1),a()),o&2){let t=d.$implicit;_("value",t.Value),l(),P(" ",t.Value," ")}}function rn(o,d){if(o&1){let t=M();r(0,"div",19)(1,"mat-form-field",20)(2,"mat-label"),p(3,"County"),a(),r(4,"mat-select",52),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.payModel.County,e)||(n.payModel.County=e),u(e)}),Xe(5,on,2,2,"mat-option",27,_t),a()()()}if(o&2){let t=c(2);l(4),g("ngModel",t.payModel.County),_("ngModelOptions",Ge(2,zi)),l(),Ye(t.countyList)}}function an(o,d){o&1&&(r(0,"label",37),p(1," Please enter the accurate address, PO BOX is not acceptable. "),a())}function sn(o,d){o&1&&(r(0,"label",37),p(1," Please enter the accurate address, PO BOX is not acceptable. "),a())}function ln(o,d){if(o&1&&(r(0,"mat-option",27),p(1),a()),o&2){let t=d.$implicit;_("value",t.Value),l(),I(t.Text)}}function dn(o,d){o&1&&(r(0,"div",55),p(1," Required Re-captcha "),a())}function cn(o,d){if(o&1){let t=M();r(0,"div",18)(1,"div",53)(2,"re-captcha",54),y("resolved",function(e){m(t);let n=c(2);return u(n.resolved(e))}),a(),C(3,dn,2,0,"div",55),a()()}if(o&2){let t=c(2);l(2),N("siteKey",t.recaptcha),l(),v(t.recaptchaErrMessage?3:-1)}}function pn(o,d){if(o&1&&(w(0,"div",64),O(1,"safeHtml")),o&2){let t=c(3);_("innerHTML",j(1,1,t.frequentlyAskedquviewpage),Z)}}function mn(o,d){if(o&1&&w(0,"app-faq-list",65),o&2){let t=c(3);_("faqs",t.faqs)}}function un(o,d){if(o&1){let t=M();r(0,"div",56),y("click",function(){m(t);let e=c(2);return u(e.ToggleButton())}),r(1,"div",57),y("click",function(e){return m(t),u(e.stopPropagation())}),r(2,"div",58),w(3,"img",59),r(4,"h4",60),p(5,"Frequently Asked Questions (FAQ)"),a(),r(6,"mat-dialog-actions")(7,"button",61),y("click",function(){m(t);let e=c(2);return u(e.ToggleButton())}),r(8,"i",62),p(9,"highlight_off "),a()()()(),r(10,"div",63),C(11,pn,2,3,"div",64)(12,mn,1,1,"app-faq-list",65),a()()()}if(o&2){let t=c(2);l(3),B("src","",t.FileHostUrl,"/content/futek/images/home/futek_logo_white.png",L),l(8),v(t.useRumiApiFFSprint64_65?12:11)}}function _n(o,d){if(o&1){let t=M();r(0,"form",17,0),y("ngSubmit",function(){m(t);let e=c();return u(e.SubmitPaymetQuestion())}),r(2,"div",18)(3,"div",19)(4,"mat-form-field",20)(5,"mat-label"),p(6,"First Name"),a(),r(7,"input",21),h("ngModelChange",function(e){m(t);let n=c();return f(n.payModel.FirstName,e)||(n.payModel.FirstName=e),u(e)}
3),y("keypress",function(e){m(t);let n=c();return u(n.specialcharactersfirstName(e))}),a()()(),r(8,"div",19)(9,"mat-form-field",20)(10,"mat-label"),p(11,"Last Name"),a(),r(12,"input",22),y("keypress",function(e){m(t);let n=c();return u(n.specialcharactersfirstName(e))}),h("ngModelChange",function(e){m(t);let n=c();return f(n.payModel.LastName,e)||(n.payModel.LastName=e),u(e)}),a()()(),r(13,"div",19)(14,"mat-form-field",20)(15,"mat-label"),p(16,"Title"),a(),r(17,"input",23),h("ngModelChange",function(e){m(t);let n=c();return f(n.payModel.Title,e)||(n.payModel.Title=e),u(e)}),a()()()(),r(18,"div",18)(19,"div",19)(20,"mat-form-field",20)(21,"mat-label"),p(22,"Email"),a(),r(23,"input",24),y("blur",function(){m(t);let e=c();return u(e.getdomain(e.payModel.Email))}),h("ngModelChange",function(e){m(t);let n=c();return f(n.payModel.Email,e)||(n.payModel.Email=e),u(e)}),a()()(),r(24,"div",19)(25,"mat-form-field",20)(26,"mat-label"),p(27,"Company"),a(),r(28,"input",25),h("ngModelChange",function(e){m(t);let n=c();return f(n.payModel.Company,e)||(n.payModel.Company=e),u(e)}),a()()(),r(29,"div",19)(30,"mat-form-field",20)(31,"mat-label"),p(32,"Industry"),a(),r(33,"mat-select",26),h("ngModelChange",function(e){m(t);let n=c();return f(n.payModel.IndustryTypeId,e)||(n.payModel.IndustryTypeId=e),u(e)}),Xe(34,Hi,2,2,"mat-option",27,_t),a()()()(),r(36,"div",18)(37,"div",28),p(38,"Address :"),a()(),r(39,"div",18)(40,"div",19)(41,"mat-form-field",20)(42,"mat-label"),p(43,"Country"),a(),r(44,"mat-select",29),h("ngModelChange",function(e){m(t);let n=c();return f(n.payModel.Country,e)||(n.payModel.Country=e),u(e)}),y("selectionChange",function(){m(t);let e=c();return u(e.CountryChange(e.payModel.Country))}),Xe(45,Zi,2,2,"mat-option",27,_t),a()()(),r(47,"div",19)(48,"span",30),w(49,"img",31),a(),r(50,"span",32)(51,"input",33),h("ngModelChange",function(e){m(t);let n=c();return f(n.IntPhone,e)||(n.IntPhone=e),u(e)}),a()(),r(52,"span",34)(53,"mat-form-field",20)(54,"mat-label"),p(55,"Phone"),a(),r(56,"input",35),h("ngModelChange",function(e){m(t);let n=c();return f(n.payModel.Phone,e)||(n.payModel.Phone=e),u(e)}),a()()()()(),r(57,"div",18)(58,"div",19),C(59,Ki,6,1,"mat-form-field",20)(60,Ji,6,1,"mat-form-field",20),a(),r(61,"div",19),C(62,Yi,6,2,"mat-form-field",20)(63,$i,4,1,"mat-form-field",20)(64,en,4,1,"mat-form-field",20),a(),r(65,"div",19),C(66,tn,4,1,"mat-form-field",20)(67,nn,4,1,"mat-form-field",20),a()(),r(68,"div",18),C(69,rn,7,3,"div",19),r(70,"div",19)(71,"mat-form-field",20)(72,"mat-label"),p(73,"Street Address"),a(),r(74,"input",36),h("ngModelChange",function(e){m(t);let n=c();return f(n.payModel.AddressLineOne,e)||(n.payModel.AddressLineOne=e),u(e)}),y("blur",function(){m(t);let e=c();return u(e.addressBoxError())}),a()(),C(75,an,2,0,"label",37),a(),r(76,"div",19)(77,"mat-form-field",20)(78,"mat-label"),p(79,"Street Address 2"),a(),r(80,"input",38),h("ngModelChange",function(e){m(t);let n=c();return f(n.payModel.AddressLineTwo,e)||(n.payModel.AddressLineTwo=e),u(e)}),y("blur",function(){m(t);let e=c();return u(e.address2BoxError())}),a()(),C(81,sn,2,0,"label",37),a()(),r(82,"div",18)(83,"div",19)(84,"mat-form-field",20)(85,"mat-label"),p(86,"Purpose of Inquiry"),a(),r(87,"mat-select",39),h("ngModelChange",function(e){m(t);let n=c();return f(n.payModel.Purpose,e)||(n.payModel.Purpose=e),u(e)}),Xe(88,ln,2,2,"mat-option",27,_t),a()()(),r(90,"div",19)(91,"mat-form-field",20)(92,"mat-label"),p(93,"Questions or Comments"),a(),r(94,"input",40),h("ngModelChange",function(e){m(t);let n=c();return f(n.payModel.QuestionAndComment,e)||(n.payModel.QuestionAndComment=e),u(e)}
3),a()()()(),C(95,cn,4,2,"div",18),r(96,"div",18)(97,"p",41),p(98,"The user represents that he/she (i) has authority to send any information he/she provides to FUTEK and (ii) FUTEK will use the information solely for purposes of responding to the inquiry presented."),a()(),r(99,"div",18)(100,"div",42)(101,"button",43),p(102,"Submit Question"),a()()(),C(103,un,13,3,"div",44),a()}if(o&2){let t=c();l(7),g("ngModel",t.payModel.FirstName),l(5),g("ngModel",t.payModel.LastName),l(5),g("ngModel",t.payModel.Title),l(6),g("ngModel",t.payModel.Email),l(5),g("ngModel",t.payModel.Company),l(5),g("ngModel",t.payModel.IndustryTypeId),l(),Ye(t.indusTypeList),l(10),g("ngModel",t.payModel.Country),l(),Ye(t.countryList),l(4),jt("src","",t.FileHostUrl,"/content/futek/images/flags/",t.CountryId,".png",L),l(2),g("ngModel",t.IntPhone),l(5),g("ngModel",t.payModel.Phone),l(3),v(t.IsUS?59:-1),l(),v(t.IsUS?-1:60),l(2),v(t.IsUS?62:-1),l(),v(!t.IsUS&&t.payModel.Country=="ca"?63:-1),l(),v(!t.IsUS&&t.payModel.Country!="ca"?64:-1),l(2),v(t.IsUS||t.payModel.Country=="ca"?66:-1),l(),v(!t.IsUS&&t.payModel.Country!="ca"?67:-1),l(2),v(t.IsCaliforniaState?69:-1),l(5),g("ngModel",t.payModel.AddressLineOne),l(),v(t.address1POBoxError?75:-1),l(5),g("ngModel",t.payModel.AddressLineTwo),l(),v(t.address2POBoxError?81:-1),l(6),g("ngModel",t.payModel.Purpose),l(),Ye(t.purpOfInqList),l(6),g("ngModel",t.payModel.QuestionAndComment),l(),v(t.useRumiApiFFSprint62_63?-1:95),l(8),v(t.GeneralshowSelected?103:-1)}}function gn(o,d){if(o&1&&(r(0,"div",14),w(1,"iframe",66),O(2,"safe"),a()),o&2){let t=c();l(),_("src",Te(2,1,t.pardotUrl,"resourceUrl"),ne)}}var mi=(()=>{let d=class d{constructor(){s(this,"FileHostUrl",q.FileHostUrl);s(this,"recaptcha",q.recaptcha);s(this,"frequentlyAskedquviewpage",{});s(this,"faqs",[]);s(this,"payModel",new Ze);s(this,"countryList",[]);s(this,"countiesTypeList",[]);s(this,"stateList",[]);s(this,"indusTypeList",[]);s(this,"purpOfInqList",[]);s(this,"GeneralshowSelected",!1);s(this,"responseMessage",!1);s(this,"pardotUrl","");s(this,"address1POBoxError",!1);s(this,"address2POBoxError",!1);s(this,"zipError",!1);s(this,"IntPhone");s(this,"CountryId");s(this,"isDisabled",!1);s(this,"recaptchaErrMessage",!1);s(this,"isRecaptchaValidate",!1);s(this,"isLoading",!1);s(this,"generalquestions");s(this,"webpagetitle","General Questions Contact FUTEK");s(this,"snackbar");s(this,"IsCaliforniaState",!1);s(this,"IsUS",!0);s(this,"countyList",[]);s(this,"isReadOnly");s(this,"featureFlagsService",S(ye));s(this,"generalQuestionsService",S(pi));s(this,"contactsService",S(Ce));s(this,"useRumiApiFFSprint62_63",this.featureFlagsService.IsEnabled(H.RumiApi62_63));s(this,"useRumiApiFFSprint64_65",this.featureFlagsService.IsEnabled(H.RumiApi64_65));s(this,"countryOptions",[]);s(this,"inquiryPurposeOptions",[]);s(this,"_contactService",S(k));s(this,"_accountService",S(xe));s(this,"recaptchaService",S(Ie));s(this,"meta",S(U));s(this,"titleService",S(D));s(this,"_seoClientService",S(G));s(this,"_snackBar",S(we));s(this,"route",S(Q))}ngOnInit(){this.loadFaqGeneralQuestion(),this.loadPaymentQuestion(),this.IntPhone="+1",this.CountryId="us",this._seoClientService.createLinkForCanonicalURL(),this.titleService.setTitle(this.webpagetitle),this.meta.updateTag({name:"description",content:this.webpagetitle}),this.meta.updateTag({name:"keywords",content:this.webpagetitle}),this.useRumiApiFFSprint62_63&&this.loadContactFormOptions()}loadFaqGeneralQuestion(){if(!this.useRumiApiFFSprint64_65){this.loadLegacyFaqGeneralQuestion();return}this.contactsService.getFaqsByType(We.GeneralQuestion).subscribe(i=>{this.faqs=Oe(i)})}loadLegacyFaqGeneralQuestion(){this._contactService.getFaqGeneralQuestion().subscribe(i=>{this.frequentlyAskedquviewpage=i.Content})}loadPaymentQuestion(){this._contactService.getPaymentQuestion(null).subscribe(i=>{this.payModel=i,this.countryList=i.CountriesTypeList,this.stateList=i.StatesTypeList,this.countiesTypeList=i.CaliforniaCountyList,this.indusTypeList=i.IndustryTypeList,this.purpOfInqList=i.QuestionInquiryList,this.payModel.Country="us",this.countyList=i.CaliforniaCountyList})}loadContactFormOptions(){this.contactsService.getContactFormOptions().subscribe({next:i=>{this.countryOptions=i.countries??[],this.inquiryPurposeOptions=i.inquiryPurposes??[]},error:i=>console.error("Failed to load contact form options",i)})}resolved(i){this.isRecaptchaValidate=!0,this.recaptchaErrMessage=!1}submitonEdit(){window.scrollTo(0,0)}SubmitPaymetQuestion(){if(!this.useRumiApiFFSprint62_63){let i=this.recaptchaService.validateRecaptcha(this.isRecaptchaValidate);if(this.recaptchaErrMessage=i.recaptchaErrMessage,this.recaptchaErrMessage)return}if(this.generalquestions.valid&&!this.address1POBoxError&&!this.address2POBoxError){if(this.submitonEdit(),this.isLoading=!0,this.useRumiApiFFSprint62_63){this.sendGeneralInquiry();return}this.sendLegacyGeneralQuestion()}else this.showErrorSnackbar("Please select all the required fields.")}sendLegacyGeneralQuestion(){this._contactService.getGeneralQuestion(this.payModel).subscribe({next:i=>{this.pardotUrl=i,this.responseMessage=!0,this.generalquestions.resetForm();let e=this;setTimeout(()=>{e.route.navigate(["/about/contact"])},5*1e3)},error:()=>{this.showErrorSnackbar()},complete:()=>{this.isLoading=!1}})}sendGeneralInquiry(){return A(this,null,function*(){let i;try{i=yield this.buildGeneralInquiryDto()}catch(e){console.error("Error building General Inquiry DTO.",e),this.showErrorSnackbar(),this.isLoading=!1;return}this.generalQuestionsService.submitGeneralInquiry(i).subscribe({next:e=>{this.pardotUrl=e.pardotUrl,this.responseMessage=!0,this.generalquestions.resetForm(),setTimeout(()=>{this.route.navigate(["/about/contact"])},5*1e3)},error:()=>{this.showErrorSnackbar(),this.isLoading=!1,console.error("Error submiting General Questions form.")},complete:()=>{this.isLoading=!1}})})}showErrorSnackbar(i="Something went wrong. Please try again."){this.snackbar=new E(this._snackBar),this.snackbar.openSnackBar(i,"close")}buildGeneralInquiryDto(){return A(this,null,function*(){let i=null;try{i=yield ie(this.recaptchaService.getRecaptchaV3Token(be.GENERAL))}catch(e){console.error("Recaptcha validation error",e)}return{inquiryPurposeId:this.inquiryPurposeOptions.find(e=>e.description?.toLowerCase()===this.payModel.Purpose?.toLowerCase())?.id??null,question:this.payModel.QuestionAndComment,address:{countryId:this.countryOptions.find(e=>e.code?.toLowerCase()===this.payModel.Country?.toLowerCase())?.id,country:this.payModel.Country,stateProvinceRegion:this.IsUS?this.payModel.State:this.payModel.UsaState,city:this.payModel.City,phone:`${this.IntPhone}${this.payModel.Phone}`,postalCode:this.payModel.PostalCode,addressLine1:this.payModel.AddressLineOne,addressLine2:this.payModel.AddressLineTwo},contactInformation:{firstName:this.payModel.FirstName,lastName:this.payModel.LastName,title:this.payModel.Title,email:this.payModel.Email,company:this.payModel.Company,industryId:this.payModel.IndustryTypeId?Number(this.payModel.IndustryTypeId):null},recaptchaToken:i}})}CountryChange(i){let e=this.countryList.find(n=>n.Value==i);this.CountryId=e?.Value,this.IntPhone=e?.PhoneCode?`+${e.PhoneCode}`:"",this.payModel.PostalCode="",this.payModel.AddressLineTwo="",this.payModel.AddressLineOne="",this.payModel.City="",this.payModel.ZipPostalCode="",this.payModel.State="",this.IsCaliforniaState=!1,this.IsUS=i=="us",this.IsUS?this.payModel.State="":(this.payModel.UsaState="",this.isReadOnly=!1,this.IsCaliforniaState=!1,this.isDisabled=!1,this.zipError=!1)}StateChange(i){this.IsCaliforniaState=i=="CA"}getdomain(i){i!=null&&(i=i.split("@")[1],i=i.replace(".","|"))}addressBoxError(){this.address1POBoxError=Me(this.payModel.AddressLineOne)}address2BoxError(){this.address2POBoxError=Me(this.payModel.AddressLineTwo)}getAddress(i){this.payModel.City="",this.payModel.State="",this.payModel.County="",i=i.replace(/\s/g,""),this.isDisabled=!1,this.IsCaliforniaState=!1,this.payModel.Country=="us"&&i.length==5?this._accountService.getAddress(i).subscribe(e=>{let n=JSON.parse(e);if(n.status=="ZERO_RESULTS")this.zipError=!0;else{this.zipError=!1;let x=n.results[0].formatted_address.split(",",1)[0],V=n.results[0].formatted_address.split(", ")[1].split(" ")[0];this.payModel.City=x,this.payModel.State=V,this.isReadOnly=!0,this.isDisabled=!0,this.StateChange(V);let b=n.results[0].address_components[2].long_name.split(" "),R=b.slice(0,b.length-1).join(" ");this.payModel.County=R}}):this.isReadOnly=!1}ToggleButton(){this.GeneralshowSelected=!this.GeneralshowSelected}specialcharpanel(i){return F(i.charCode,{allowHyphen:!0})}specialcharactersfirstName(i){return F(i.charCode,{allowHyphen:!0,allowPeriod:!0,allowApostrophe:!0})}};s(d,"\u0275fac",function(e){return new(e||d)}),s(d,"\u0275cmp",W({type:d,selectors:[["app-general-questions"]],viewQuery:function(e,n){if(e&1&&Y(Qi,5),e&2){let x;$(x=ee())&&(n.generalquestions=x.first)}},features:[ze([k])],decls:24,vars:4,consts:[["generalquestions","ngForm"],[1,"container"],[1,"examplemainpanel"],[1,"row","Storeheaderpanel"],[1,"col-md-10","Storetextv1"],[1,"storetitlepl1"],["routerLink","/about/contact",1,"productTechnicalmb1"],["id","arrowte1",1,"material-icons","productTechnicalmb1"],[1,"contactactivestoretitlepl1"],[1,"h1Tag","productTechnicalmb1"],[1,"faqtextb1","productTechnicalmb1",3,"click"],[1,"loader-overlay-light"],["name","generalquestions","novalidate","",1,"example-form"],[1,"clear"],[1,"hide"],[1,"loadingpanel"],["mode","indeterminate",1,"spinner"],["name","generalquestions","novalidate","",1,"example-form",3,"ngSubmit"],[1,"row"],[1,"col-md-4"],["appearance","outline"],["name","firstName","matInput","","placeholder","First Name","maxlength","50","required","",3,"ngModelChange","keypress","ngModel"],["matInput","","placeholder","Last Name","name","lastname","required","","maxlength","50",3,"keypress","ngModelChange","ngModel"],["matInput","","placeholder","Title","name","title","required","","maxlength","50",3,"ngModelChange","ngModel"],["matInput","","placeholder","Email","name","email","type","email","maxlength","100","pattern","^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,10}$","required","",3,"blur","ngModelChange","ngModel"],["matInput","","placeholder","Company","name","company","maxlength","100","required","",3,"ngModelChange","ngModel"],["name","industry","required","","placeholder","Industry",3,"ngModelChange","ngModel"],[3,"value"],[1,"Addresstextv1"],["name","country","required","","placeholder","Country",3,"ngModelChange","selectionChange","ngModel"],[1,"zipcountyimagh1"],["alt","CountryI flags",3,"src"],[1,"zipcountyimagh2"],["placeholder","Phone","name","IntPhone","readonly","",1,"inputpanelkl1",3,"ngModelChange","ngModel"],[1,"zipcountyimagh3"],["matInput","","placeholder","949-465-0900","name","phone","type","text","minlength","10","maxlength","15","onkeypress","return event.charCode >= 48 && event.charCode <= 57","required","",3,"ngModelChange","ngModel"],["matInput","","placeholder","Street Address","name","address1","minlength","1","maxlength","100","required","",3,"ngModelChange","blur","ngModel"],[1,"streeterror"],["matInput","","placeholder","Street Address 2","name","address2","minlength","1","maxlength","150",3,"ngModelChange","blur","ngModel"],["name","purpose","required","","placeholder","Purpose of Inquiry",3,"ngModelChange","ngModel"],["matInput","","placeholder","Questions or Comments","name","question","required","","maxlength","100",3,"ngModelChange","ngModel"],[1,"whatinterestedtextv1"],[1,"submitbtnce
3nter","submitplm"],["mat-raised-button","","color","primary","type","submit"],[1,"row","faqpanelmain"],["matInput","","placeholder","Zip / Postal Code","type","text","pattern","\\d*","minlength","5","maxlength","5","name","postlacode","onkeypress","return event.charCode >= 48 && event.charCode <= 57","required","",3,"blur","ngModelChange","ngModel"],[1,"errorPleasevab1"],["matInput","","placeholder","Zip / Postal Code","type","text","pattern","[a-zA-Z0-9 -]+","minlength","3","maxlength","10","required","","name","postlacode",3,"keypress","ngModelChange","ngModel"],["name","state","required","","placeholder","State",3,"ngModelChange","selectionChange","ngModel","disabled"],["matInput","","placeholder","State / Province / Region","name","region","maxlength","50","required","",3,"keypress","ngModelChange","ngModel"],["matInput","","placeholder","City","required","","name","city","minlength","1","maxlength","50",3,"keypress","ngModelChange","ngModel"],["matInput","","placeholder","City","name","city","required","",3,"keypress","ngModelChange","ngModel"],["required","",3,"ngModelChange","ngModel","ngModelOptions"],[1,"gerechaptchadiv"],[3,"resolved","siteKey"],[1,"recaptcha_error"],[1,"row","faqpanelmain",3,"click"],[1,"Frequentlyqu1",3,"click"],[1,"header"],["alt","Futekfaq",1,"logo-modal",3,"src"],[1,"h6","faq-panel-title"],["mat-button","","mat-dialog-close","",1,"close-button",3,"click"],[1,"material-icons"],[1,"content-wrapper"],[1,"text-m","text-color-primary",3,"innerHTML"],[3,"faqs"],[3,"src"]],template:function(e,n){e&1&&(r(0,"div",1)(1,"div",2)(2,"div",3)(3,"div",4)(4,"span",5)(5,"a",6),p(6," Contact Us "),a()(),r(7,"span",5)(8,"i",7),p(9,"keyboard_arrow_right "),a()(),r(10,"span",8)(11,"h1",9),p(12,"General Questions "),a()(),r(13,"span",5)(14,"i",7),p(15,"keyboard_arrow_right "),a()(),r(16,"span",5)(17,"a",10),y("click",function(){return n.ToggleButton()}),p(18," (FAQ) "),a()()()(),C(19,Gi,1,0,"app-response-message")(20,ji,3,0,"div",11)(21,_n,104,28,"form",12),w(22,"div",13),C(23,gn,3,4,"div",14),a()()),e&2&&(l(19),v(n.responseMessage?19:-1),l(),v(n.isLoading?20:-1),l(),v(n.responseMessage?-1:21),l(2),v(n.pardotUrl?23:-1))},dependencies:[pe,ae,se,le,me,Ve,ue,_e,ce,de,Le,ke,Fe,Re,he,fe,ge,je,Se,Ae,ve,Be,qe,J,X,Ne],styles:[`.mat-mdc-form-field{display:inline-block;position:relative;text-align:left;padding-right:30px;padding-left:4px;width:100%}a{color:#020202;text-decoration:none;background-color:transparent;-webkit-text-decoration-skip:objects}.row{display:flex;flex-wrap:wrap;margin-right:0;margin-left:0}.gerechaptchadiv{margin:6px 4px}.submitbtncenter{margin-top:8px;margin-left:5px}.hide{display:none}.clear{height:50px}.col-md-8,.col-md-6,.col-md-4,.col-md-12{padding-right:0;padding-left:0;width:100%}.Addresstextv1{font-weight:700}.faqclosedicon{float:right;cursor:pointer;background:#d4edda;border-radius:60px;width:27px;height:25px;position:absolute;z-index:99;padding:1px;margin:-14px 0 0 1005px}.faqpanelmain .Frequentlyqu1{padding:0}.faqpanelmain .mdc-dialog__actions{position:relative;padding:0;top:0;right:0;left:auto;justify-content:flex-end}.faqpanelmain .close-button{--mdc-text-button-label-text-color: var(--white-color);color:var(--white-color);min-width:fit-content}.faqpanelmain .header{background-color:var(--bg-brand-primary);display:flex;align-items:center;justify-content:space-between}.faqpanelmain .faq-panel-title{color:var(--white-color);margin:0}.faqpanelmain .content-wrapper{padding:1rem}.faqpanelmain .h6{margin:.5rem 0}@media only screen and (max-width: 768px){.Storeheaderpanel{margin:0 0 10px}.Storetextv1{font-size:10pt;padding:9px 0 0}.storetitlepl1{float:left;line-height:26px}.examplemainpanel{padding:5px 0 0 16px}}@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait){.productstoresubheadertext,.productstoretitlepl1,div.Storetextv1,span.catstoretitlepl1,span.fullcodestoretitlepl1,span.storetitlepl1{font-size:14px!important;padding:0!important;line-height:22px}div.Storetextv1 i,span.fullcodestoretitlepl1 i,span.storetitlepl1 i,.productstoresubheadertext i,.productstoretitlepl1 i,span.catstoretitlepl1 i{position:relative;top:0;font-size:20px}.examplemainpanel{padding:68px 0 0 16px}.contactactivestoretitlepl1{color:#ca0000;float:left;line-height:18px}div.Storetextv1[_ngcontent-c11] i[_ngcontent-c11],span.fullcodestoretitlepl1[_ngcontent-c11] i[_ngcontent-c11],span.storetitlepl1[_ngcontent-c11] i[_ngcontent-c11],.productstoresubheadertext[_ngcontent-c11] i[_ngcontent-c11],.productstoretitlepl1[_ngcontent-c11] i[_ngcontent-c11],span.catstoretitlepl1[_ngcontent-c11] i[_ngcontent-c11]{position:relative;top:2px;font-size:20px}.teappsensorpl1{float:left;margin-top:-22px;margin-right:0;margin-left:3px}}@media all and (device-width: 1024px) and (device-height: 768px) and (orientation:landscape){.productstoresubheadertext,.productstoretitlepl1,div.Storetextv1,span.catstoretitlepl1,span.fullcodestoretitlepl1,span.storetitlepl1{font-size:14px!important;padding:0!important;line-height:22px}div.Storetextv1 i,span.fullcodestoretitlepl1 i,span.storetitlepl1 i,.productstoresubheadertext i,.productstoretitlepl1 i,span.catstoretitlepl1 i{position:relative;top:2px;font-size:20px}.contactactivestoretitlepl1{color:#ca0000;float:left;line-height:18px}.examplemainpanel{padding:50px 0 0 16px}.teappsensorpl1{float:left;margin-top:-22px;margin-right:0;margin-left:3px}}.mat-mdc-form-field .mdc-text-field--outlined{--mdc-outlined-text-field-outline-width: 1px;
3--mdc-outlined-text-field-outline-color: #e0e0e0 !important;--mdc-outlined-text-field-focus-outline-width: 1px !important;--mdc-outlined-text-field-focus-outline-color: #e0e0e0 !important;--mdc-outlined-text-field-hover-outline-color: #949494 !important} 4`],encapsulation:2}));let o=d;return o})();var fn=["newssubscription"];function hn(o,d){o&1&&w(0,"app-response-message")}function yn(o,d){o&1&&(r(0,"div",14)(1,"div",15),w(2,"mat-progress-spinner",16),a()())}function Cn(o,d){o&1&&(r(0,"div",31),p(1," Required Re-captcha "),a())}function xn(o,d){if(o&1){let t=M();r(0,"div",25)(1,"re-captcha",30),y("resolved",function(e){m(t);let n=c(2);return u(n.resolved(e))}),a(),C(2,Cn,2,0,"div",31),a()}if(o&2){let t=c(2);l(),N("siteKey",t.recaptcha),l(),v(t.recaptchaErrMessage?2:-1)}}function Mn(o,d){if(o&1&&(w(0,"div",40),O(1,"safeHtml")),o&2){let t=c(3);_("innerHTML",j(1,1,t.frequentlyAskedquviewpage),Z)}}function Sn(o,d){if(o&1&&w(0,"app-faq-list",41),o&2){let t=c(3);_("faqs",t.faqs)}}function wn(o,d){if(o&1){let t=M();r(0,"div",32),y("click",function(){m(t);let e=c(2);return u(e.toggleButton())}),r(1,"div",33),y("click",function(e){return m(t),u(e.stopPropagation())}),r(2,"div",34),w(3,"img",35),r(4,"h4",36),p(5,"Frequently Asked Questions (FAQ)"),a(),r(6,"mat-dialog-actions")(7,"button",37),y("click",function(){m(t);let e=c(2);return u(e.toggleButton())}),r(8,"i",38),p(9,"highlight_off "),a()()()(),r(10,"div",39),C(11,Mn,2,3,"div",40)(12,Sn,1,1,"app-faq-list",41),a()()()}if(o&2){let t=c(2);l(3),B("src","",t.FileHostUrl,"/content/futek/images/home/futek_logo_white.png",L),l(8),v(t.useRumiApiFFSprint64_65?12:11)}}function vn(o,d){if(o&1){let t=M();r(0,"form",17,0),y("ngSubmit",function(){m(t);let e=c();return u(e.SubmitNewsletterSubscription())}),r(2,"div",18)(3,"div",19)(4,"mat-form-field",20)(5,"mat-label"),p(6,"First Name"),a(),r(7,"input",21),y("ngModelChange",function(e){m(t);let n=c();return u(n.payModel.FirstName=n.sanitizeName(e))}),a()()(),r(8,"div",19)(9,"mat-form-field",20)(10,"mat-label"),p(11,"Last Name"),a(),r(12,"input",22),y("ngModelChange",function(e){m(t);let n=c();return u(n.payModel.LastName=n.sanitizeName(e))}),a()()(),r(13,"div",19)(14,"mat-form-field",20)(15,"mat-label"),p(16,"Company"),a(),r(17,"input",23),h("ngModelChange",function(e){m(t);let n=c();return f(n.payModel.Company,e)||(n.payModel.Company=e),u(e)}),a()()()(),r(18,"div",18)(19,"div",19)(20,"mat-form-field",20)(21,"mat-label"),p(22,"Email"),a(),r(23,"input",24),h("ngModelChange",function(e){m(t);let n=c();return f(n.payModel.Email,e)||(n.payModel.Email=e),u(e)}),a()()()(),C(24,xn,3,2,"div",25),r(25,"div",18)(26,"p",26),p(27,"The user represents that he/she (i) has authority to send any information he/she provides to FUTEK and (ii) FUTEK will use the information solely for purposes of responding to the inquiry presented."),a()(),r(28,"div",18)(29,"div",27)(30,"button",28),p(31,"Subscribe"),a()()(),C(32,wn,13,3,"div",29),a()}if(o&2){let t=c();l(7),_("ngModel",t.payModel.FirstName),l(5),_("ngModel",t.payModel.LastName),l(5),g("ngModel",t.payModel.Company),l(6),g("ngModel",t.payModel.Email),l(),v(t.useRumiApiFFSprint64_65?-1:24),l(8),v(t.isFaqOpen?32:-1)}}function qn(o,d){if(o&1&&(r(0,"div",42),w(1,"iframe",43),O(2,"safe"),a()),o&2){let t=c();l(),_("src",Te(2,1,t.pardotUrl,"resourceUrl"),ne)}}var ui=(()=>{let d=class d{constructor(){s(this,"FileHostUrl",q.FileHostUrl);s(this,"recaptcha",q.recaptcha);s(this,"frequentlyAskedquviewpage",{});s(this,"faqs",[]);s(this,"pardotUrl","");s(this,"responseMessage",!1);s(this,"payModel",new Ze);s(this,"recaptchaErrMessage",!1);s(this,"isRecaptchaValidate",!1);s(this,"isFaqOpen",!1);s(this,"newssubscription");s(this,"snackbar");s(this,"isLoading",!1);s(this,"contactService",S(k));s(this,"seoClientService",S(G));s(this,"meta",S(U));s(this,"titleService",S(D));s(this,"_snackBar",S(we));s(this,"router",S(Q));s(this,"recaptchaService",S(Ie));s(this,"featureFlagsService",S(ye));s(this,"contactsService",S(Ce));s(this,"useRumiApiFFSprint64_65",this.featureFlagsService.IsEnabled(H.RumiApi64_65))}ngOnInit(){this.initializeSeo(),this.loadFaq()}initializeSeo(){this.seoClientService.createLinkForCanonicalURL();let i="Newsletter Subscription Contact FUTEK";this.titleService.setTitle(i),this.meta.updateTag({name:"description",content:i}),this.meta.updateTag({name:"keywords",content:i})}loadFaq(){if(!this.useRumiApiFFSprint64_65){this.loadLegacyFaq();return}this.contactsService.getFaqsByType(We.Newsletter).subscribe(i=>{this.faqs=Oe(i)})}loadLegacyFaq(){this.contactService.getFaqNewsletter().subscribe(i=>{this.frequentlyAskedquviewpage=i.Content})}resolved(i){this.isRecaptchaValidate=!0,this.recaptchaErrMessage=!1}SubmitNewsletterSubscription(){if(!this.useRumiApiFFSprint64_65){let i=this.recaptchaService.validateRecaptcha(this.isRecaptchaValidate);if(this.recaptchaErrMessage=i.recaptchaErrMessage,this.recaptchaErrMessage)return}if(!this.newssubscription.valid){this.snackbar=new E(this._snackBar),this.snackbar.openSnackBar("Please select all the required fields.","close");return}if(this.isLoading=!0,this.useRumiApiFFSprint64_65){this.sendNewsletterSubscription();return}this.sendLegacyNewsletterSubscription()}sendLegacyNewsletterSubscription(){this.contactService.getNewsletterSubscription(this.payModel).subscribe({next:i=>{this.newssubscription.resetForm(),this.responseMessage=!0,this.pardotUrl=i,setTimeout(()=>{this.router.navigate(["store"])},5*1e3)},error:()=>{this.snackbar=new E(this._snackBar),this.snackbar.openSnackBar("Something went wrong. Please try again.","close")},complete:()=>{this.isLoading=!1}})}sendNewsletterSubscription(){return A(this,null,function*(){let i;try{i=yield this.buildNewsletterSubscriptionDto()}catch{this.snackbar=new E(this._snackBar),this.snackbar.openSnackBar("Something went wrong. Please try again.","close"),this.isLoading=!1;return}this.contactsService.newsletterSubscription(i).subscribe({next:()=>{this.newssubscription.resetForm(),this.responseMessage=!0,setTimeout(()=>{this.router.navigate(["store"])},5*1e3)},error:()=>{this.snackbar=new E(this._snackBar),this.snackbar.openSnackBar("Something went wrong. Please try again.","close"),this.isLoading=!1},complete:()=>{this.isLoading=!1}})})}buildNewsletterSubscriptionDto(){return A(this,null,function*(){let i=yield ie(this.recaptchaService.getRecaptchaV3Token(be.NEWSLETTER_SUBSCRIPTION));return{firstName:this.payModel.FirstName,lastName:this.payModel.LastName,email:this.payModel.Email,company:this.payModel.Company,recaptchaToken:i}})}toggleButton(){this.isFaqOpen=!this.isFaqOpen}sanitizeName(i){return(i??"").split("").filter(e=>F(e.charCodeAt(0),{allowHyphen:!0,allowPeriod:!0,allowApostrophe:!0})).join("")}};s(d,"\u0275fac",function(e){return new(e||d)}),s(d,"\u0275cmp",W({type:d,selectors:[["app-newsletter-subscription"]],viewQuery:function(e,n){if(e&1&&Y(fn,5),e&2){let x;$(x=ee())&&(n.newssubscription=x.first)}},decls:21,vars:4,consts:[["newssubscription","ngForm"],[1,"main-panel"],[1,"panel-wrapper"],[1,"breadcrumbs"],["routerLink","/about/contact",1,"text-l","semibold","text-color-tertiary"],[1,"material-icons","text-color-tertiary"],[1,"text-l","semibold","text-color-tertiary"],["data-epi-edit","Name"],[1,"text-l","semibold","text-color-primary",3,"click"],[1,"h5","productTechnicalmb1"],["class","loader-overlay-light",4,"ngIf"],["name","newssubscription","novalidate","",1,"custom-form"],[1,"clear"],["class","hide ",4,"ngIf"],[1,"loader-overlay-light"],[1,"loadingpanel"],["mode","indeterminate",1,"spinner"],["name","newssubscription","novalidate","",1,"custom-form",3,"ngSubmit"],[1,"row"],[1,"col-md-4"],["appearance","outline"],["name","firstName","matInput","","placeholder","First Name","maxlength","50","required","",3,"ngModelChange","ngModel"],["matInput","","placeholder","Last Name","name","lastname","required","","maxlength","50",3,"ngModelChange","ngModel"],["matInput","","placeholder","Company","name","company","required","","maxlength","100",3,"ngModelChange","ngModel"],["matInput","","placeholder","Email","name","email","type","email","maxlength","100","pattern","^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,10}$","required","",3,"ngModelChange","ngModel"],[1,"col-6","recaptchapam1"],[1,"whatinterestedtextv1"],[1,"btncenter","submitplm"],["type","submit",1,"primary-button"],[1,"row","faqpanelmain"],[3,"resolved","siteKey"],[1,"recaptcha_error"],[1,"row","faqpanelmain",3,"click"],[1,"Frequentlyqu1",3,"click"],[1,"header"],["alt","Futekfaq",1,"logo-modal",3,"src"],[1,"h6","faq-panel-title"],["mat-button","","mat-dialog-close","",1,"close-button",3,"click"],[1,"material-icons"],[1,"content-wrapper"],[1,"text-m","text-color-primary",3,"innerHTML"],[3,"faqs"],[1,"hide"],[3,"src"]],template:function(e,n){e&1&&(r(0,"div",1)(1,"div",2)(2,"div",3)(3,"a",4),p(4,"Contact Us"),a(),r(5,"i",5),p(6,"keyboard_arrow_right "),a(),r(7,"p",6),p(8,"Newsletter Subscription"),a(),r(9,"i",5),p(10,"keyboard_arrow_right "),a(),r(11,"p",7)(12,"a",8),y("click",function(){return n.toggleButton()}),p(13,"FAQ"),a()()(),r(14,"h1",9),p(15,"Newsletter Subscription"),a(),C(16,hn,1,0,"app-response-message")(17,yn,3,0,"div",10)(18,vn,33,6,"form",11),w(19,"div",12),C(20,qn,3,4,"div",13),a()()),e&2&&(l(16),v(n.responseMessage?16:-1),l(),_("ngIf",n.isLoading),l(
4),v(n.responseMessage?-1:18),l(2),_("ngIf",n.pardotUrl))},dependencies:[K,pe,ae,se,le,me,ue,_e,ce,de,ke,Fe,Re,he,fe,ge,Se,ve,Be,qe,J,X,Ne],styles:[".mat-mdc-form-field[_ngcontent-%COMP%]{display:inline-block;position:relative;text-align:left;padding-right:30px;padding-left:4px;width:100%}a[_ngcontent-%COMP%]{color:#020202;text-decoration:none;background-color:transparent;-webkit-text-decoration-skip:objects}.Subscribetextb1[_ngcontent-%COMP%]{margin-top:20px;margin-left:6px}.panel-wrapper[_ngcontent-%COMP%] .faqpanelmain[_ngcontent-%COMP%] .Frequentlyqu1[_ngcontent-%COMP%]{padding:0}.panel-wrapper[_ngcontent-%COMP%] .faqpanelmain[_ngcontent-%COMP%] .mdc-dialog__actions[_ngcontent-%COMP%]{position:relative;padding:0;top:0;right:0;left:auto;justify-content:flex-end}.panel-wrapper[_ngcontent-%COMP%] .faqpanelmain[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{color:var(--white-color);min-width:fit-content}.panel-wrapper[_ngcontent-%COMP%] .faqpanelmain[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{background-color:var(--bg-brand-primary);display:flex;align-items:center;justify-content:space-between}.panel-wrapper[_ngcontent-%COMP%] .faqpanelmain[_ngcontent-%COMP%] .faq-panel-title[_ngcontent-%COMP%]{color:var(--white-color);margin:0}.panel-wrapper[_ngcontent-%COMP%] .faqpanelmain[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%]{padding:1rem}.panel-wrapper[_ngcontent-%COMP%] .faqpanelmain[_ngcontent-%COMP%] .h6[_ngcontent-%COMP%]{margin:.5rem 0}.recaptchapam1[_ngcontent-%COMP%]{margin-left:5px;margin-bottom:12px}.col-md-6[_ngcontent-%COMP%], .col-6[_ngcontent-%COMP%]{padding-left:0;padding-right:0}.row[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin-right:0;margin-left:0}.hide[_ngcontent-%COMP%]{display:none}.clear[_ngcontent-%COMP%]{height:50px}.col-md-8[_ngcontent-%COMP%], .col-md-6[_ngcontent-%COMP%], .col-md-4[_ngcontent-%COMP%], .col-md-12[_ngcontent-%COMP%]{padding-right:0;padding-left:0;width:100%}.faqclosedicon[_ngcontent-%COMP%]{float:right;cursor:pointer;background:#d4edda;border-radius:60px;width:27px;height:25px;position:absolute;z-index:99;padding:1px;margin:-14px 0 0 1005px}@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait){div.Storetextv1[_ngcontent-%COMP%] i[_ngcontent-%COMP%], span.fullcodestoretitlepl1[_ngcontent-%COMP%] i[_ngcontent-%COMP%], span.storetitlepl1[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .productstoresubheadertext[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .productstoretitlepl1[_ngcontent-%COMP%] i[_ngcontent-%COMP%], span.catstoretitlepl1[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{position:relative;top:0;font-size:20px}div.Storetextv1[_ngcontent-c11][_ngcontent-%COMP%] i[_ngcontent-c11][_ngcontent-%COMP%], span.fullcodestoretitlepl1[_ngcontent-c11][_ngcontent-%COMP%] i[_ngcontent-c11][_ngcontent-%COMP%], span.storetitlepl1[_ngcontent-c11][_ngcontent-%COMP%] i[_ngcontent-c11][_ngcontent-%COMP%], .productstoresubheadertext[_ngcontent-c11][_ngcontent-%COMP%] i[_ngcontent-c11][_ngcontent-%COMP%], .productstoretitlepl1[_ngcontent-c11][_ngcontent-%COMP%] i[_ngcontent-c11][_ngcontent-%COMP%], span.catstoretitlepl1[_ngcontent-c11][_ngcontent-%COMP%] i[_ngcontent-c11][_ngcontent-%COMP%]{position:relative;top:2px;font-size:20px}.teappsensorpl1[_ngcontent-%COMP%]{float:left;margin-top:-22px;margin-right:0;margin-left:3px}}@media all and (device-width: 1024px) and (device-height: 768px) and (orientation:landscape){div.Storetextv1[_ngcontent-%COMP%] i[_ngcontent-%COMP%], span.fullcodestoretitlepl1[_ngcontent-%COMP%] i[_ngcontent-%COMP%], span.storetitlepl1[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .productstoresubheadertext[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .productstoretitlepl1[_ngcontent-%COMP%] i[_ngcontent-%COMP%], span.catstoretitlepl1[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{position:relative;top:2px;font-size:20px}.teappsensorpl1[_ngcontent-%COMP%]{float:left;margin-top:-22px;margin-right:0;margin-left:3px}}.mat-mdc-form-field[_ngcontent-%COMP%] .mdc-text-field--outlined[_ngcontent-%COMP%]{--mdc-outlined-text-field-outline-width: 1px;
4--mdc-outlined-text-field-outline-color: #e0e0e0 !important;--mdc-outlined-text-field-focus-outline-width: 1px !important;--mdc-outlined-text-field-focus-outline-color: #e0e0e0 !important;--mdc-outlined-text-field-hover-outline-color: #949494 !important}"]}));let o=d;return o})();var _i=(()=>{let d=class d{constructor(){s(this,"api",S(et))}submitTechnicalRequest(i,e){if(!i)return Ct(()=>new Error("Required parameter technicalRequestDto was null or undefined when calling submitTechnicalRequest."));let n="/api/v2/contacts/technical-request",x=this.buildFormData(i);return this.api.post(n,x,e)}buildFormData(i){let e=new FormData;return this.append(e,"Exposed",i.exposed),this.append(e,"IdentifyDescription",i.identifyDescription),this.append(e,"AdditionalNotes",i.additionalNotes),this.append(e,"UnitsJson",JSON.stringify(i.units??[])),this.append(e,"Address.CountryId",i.address?.countryId),this.append(e,"Address.Country",i.address?.country),this.append(e,"Address.StateProvinceRegion",i.address?.stateProvinceRegion),this.append(e,"Address.City",i.address?.city),this.append(e,"Address.Phone",i.address?.phone),this.append(e,"Address.PostalCode",i.address?.postalCode),this.append(e,"Address.AddressLine1",i.address?.addressLine1),this.append(e,"Address.AddressLine2",i.address?.addressLine2),this.append(e,"Address.AddressLine3",i.address?.addressLine3),this.append(e,"ContactInformation.FirstName",i.contactInformation?.firstName),this.append(e,"ContactInformation.LastName",i.contactInformation?.lastName),this.append(e,"ContactInformation.Title",i.contactInformation?.title),this.append(e,"ContactInformation.Email",i.contactInformation?.email),this.append(e,"ContactInformation.Company",i.contactInformation?.company),this.append(e,"ContactInformation.Department",i.contactInformation?.department),this.append(e,"ContactInformation.IndustryId",i.contactInformation?.industryId),this.append(e,"ContactInformation.IndustryOther",i.contactInformation?.industryOther),this.append(e,"ContactInformation.InformationSource",i.contactInformation?.informationSource),this.append(e,"ContactInformation.InformationSourceOther",i.contactInformation?.informationSourceOther),this.append(e,"ProjectStageId",i.projectStageId),this.append(e,"Description",i.description),this.append(e,"RecaptchaToken",i.recaptchaToken),i.attachment&&e.append("Attachment",i.attachment,i.attachment.name),e}append(i,e,n){n&&i.append(e,String(n))}};s(d,"\u0275fac",function(e){return new(e||d)}),s(d,"\u0275prov",Qe({token:d,factory:d.\u0275fac,providedIn:"root"}));let o=d;return o}
4)();var bn=["techinicalForm"];function Pn(o,d){o&1&&w(0,"app-response-message")}function Tn(o,d){o&1&&(r(0,"div",21)(1,"div",22),w(2,"mat-progress-spinner",23),a()())}function En(o,d){if(o&1&&(r(0,"mat-option",72),p(1),a()),o&2){let t=d.$implicit;_("value",t.Value),l(),I(t.Text)}}function Vn(o,d){if(o&1){let t=M();r(0,"mat-form-field",26)(1,"mat-label"),p(2,"Zip / Postal Code"),a(),r(3,"input",73),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.inqModel.PostalCode,e)||(n.inqModel.PostalCode=e),u(e)}),y("blur",function(){m(t);let e=c(2);return u(e.getAddress(e.inqModel.PostalCode))}),a(),r(4,"mat-error",74),p(5,"Please enter valid zip code"),a()()}if(o&2){let t=c(2);l(3),g("ngModel",t.inqModel.PostalCode)}}function Ln(o,d){if(o&1){let t=M();r(0,"mat-form-field",26)(1,"mat-label"),p(2,"Zip / Postal Code"),a(),r(3,"input",75),y("keypress",function(e){m(t);let n=c(2);return u(n.specialcharpanel(e))}),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.inqModel.PostalCode,e)||(n.inqModel.PostalCode=e),u(e)}),a(),r(4,"mat-error",74),p(5,"Please enter valid zip code"),a()()}if(o&2){let t=c(2);l(3),g("ngModel",t.inqModel.PostalCode)}}function On(o,d){if(o&1&&(r(0,"mat-option",72),p(1),a()),o&2){let t=d.$implicit;_("value",t.Value),l(),I(t.Text)}}function kn(o,d){if(o&1){let t=M();r(0,"mat-form-field",26)(1,"mat-label"),p(2,"State"),a(),r(3,"mat-select",76),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.inqModel.State,e)||(n.inqModel.State=e),u(e)}),y("selectionChange",function(){m(t);let e=c(2);return u(e.StateChange(e.inqModel.State))}),C(4,On,2,2,"mat-option",35),a()()}if(o&2){let t=c(2);l(3),g("ngModel",t.inqModel.State),_("disabled",t.isReadOnly),l(),_("ngForOf",t.statesTypeList)}}function An(o,d){if(o&1){let t=M();r(0,"mat-form-field",26)(1,"mat-label"),p(2,"State / Province / Region"),a(),r(3,"input",77),y("keypress",function(e){m(t);let n=c(2);return u(n.specialcharpanel(e))}),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.inqModel.UsaState,e)||(n.inqModel.UsaState=e),u(e)}),a()()}if(o&2){let t=c(2);l(3),g("ngModel",t.inqModel.UsaState)}}function Fn(o,d){if(o&1){let t=M();r(0,"mat-form-field",26)(1,"mat-label"),p(2,"State / Province / Region"),a(),r(3,"input",77),y("keypress",function(e){m(t);let n=c(2);return u(n.specialcharpanel(e))}),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.inqModel.UsaState,e)||(n.inqModel.UsaState=e),u(e)}),a()()}if(o&2){let t=c(2);l(3),g("ngModel",t.inqModel.UsaState)}}function Rn(o,d){if(o&1){let t=M();r(0,"mat-form-field",26)(1,"mat-label"),p(2,"City"),a(),r(3,"input",78),y("keypress",function(e){m(t);let n=c(2);return u(n.specialcharpanel(e))}),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.inqModel.City,e)||(n.inqModel.City=e),u(e)}),a()()}if(o&2){let t=c(2);l(3),g("ngModel",t.inqModel.City)}}function Wn(o,d){if(o&1){let t=M();r(0,"mat-form-field",26)(1,"mat-label"),p(2,"City"),a(),r(3,"input",79),y("keypress",function(e){m(t);let n=c(2);return u(n.specialcharpanel(e))}),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.inqModel.City,e)||(n.inqModel.City=e),u(e)}),a()()}if(o&2){let t=c(2);l(3),g("ngModel",t.inqModel.City)}}function Nn(o,d){if(o&1&&(r(0,"mat-option",72),p(1),a()),o&2){let t=d.$implicit;_("value",t.Value),l(),P(" ",t.Value," ")}}function Bn(o,d){if(o&1){let t=M();r(0,"div",25)(1,"mat-form-field",26)(2,"mat-label"),p(3,"County"),a(),r(4,"mat-select",80),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.inqModel.County,e)||(n.inqModel.County=e),u(e)}),C(5,Nn,2,2,"mat-option",35),a()()()}if(o&2){let t=c(2);l(4),g("ngModel",t.inqModel.County),l(),_("ngForOf",t.countyList)}}function Un(o,d){o&1&&(r(0,"label",81),p(1," Please enter the accurate address, PO BOX is not acceptable. "),a())}function Dn(o,d){o&1&&(r(0,"label",81),p(1," Please enter the accurate address, PO BOX is not acceptable. "),a())}function Qn(o,d){if(o&1){let t=M();r(0,"input",91),y("click",function(){m(t);let e=c().index,n=c(2);return u(n.RemoveUnit(e))}),a()}}function zn(o,d){if(o&1&&(r(0,"mat-option",72),p(1),a()),o&2){let t=d.$implicit;_("value",t.Value),l(),P("",t.Text," ")}}function Gn(o,d){if(o&1&&(r(0,"mat-option",72),p(1),a()),o&2){let t=d.$implicit;_("value",t.Value),l(),I(t.Text)}}function jn(o,d){if(o&1){let t=M();oe(0),r(1,"div",12)(2,"div",82)(3,"span",83),p(4),a()(),r(5,"div",84)(6,"span",85),C(7,Qn,1,0,"input",86),a()()(),r(8,"div",12)(9,"div",67)(10,"mat-form-field",26)(11,"mat-label"),p(12,"Unit Type"),a(),r(13,"mat-select",87),h("ngModelChange",function(e){let n=m(t).$implicit;return f(n.SensorType,e)||(n.SensorType=e),u(e)}
4),C(14,zn,2,2,"mat-option",35),a()()(),r(15,"div",67)(16,"mat-form-field",26)(17,"mat-label"),p(18,"Serial Number"),a(),r(19,"input",88),h("ngModelChange",function(e){let n=m(t).$implicit;return f(n.SerialNumber,e)||(n.SerialNumber=e),u(e)}),a()()()(),r(20,"div",12)(21,"div",67)(22,"mat-form-field",26)(23,"mat-label"),p(24,"Issue / Challenge"),a(),r(25,"mat-select",89),h("ngModelChange",function(e){let n=m(t).$implicit;return f(n.Issue,e)||(n.Issue=e),u(e)}),C(26,Gn,2,2,"mat-option",35),a()()(),r(27,"div",67)(28,"mat-form-field",26)(29,"mat-label"),p(30,"Note for this Unit"),a(),r(31,"input",90),h("ngModelChange",function(e){let n=m(t).$implicit;return f(n.AdditionalNote,e)||(n.AdditionalNote=e),u(e)}),a()()()(),re()}if(o&2){let t=d.$implicit,i=d.index,e=c(2);l(4),P("Unit ",i+1,""),l(3),_("ngIf",i>=0),l(6),B("name","sensor-",i,""),g("ngModel",t.SensorType),l(),_("ngForOf",e.sensorTypeList),l(5),B("name","serial-",i,""),g("ngModel",t.SerialNumber),l(6),B("name","Issue-",i,""),g("ngModel",t.Issue),l(),_("ngForOf",e.challengeList),l(5),B("name","Notes-",i,""),g("ngModel",t.AdditionalNote)}}function Hn(o,d){o&1&&(r(0,"div",95),p(1),a()),o&2&&(l(),P("",100," characters."))}function Zn(o,d){if(o&1&&(r(0,"div",95),p(1),a()),o&2){let t=c(3);l(),P("",100-t.inqModel.IdentifyDescription.length," characters.")}}function Kn(o,d){if(o&1){let t=M();r(0,"div",53)(1,"mat-form-field",92)(2,"mat-label"),p(3,"Please identify serial number and list all known hazardous contacts."),a(),r(4,"textarea",93),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.inqModel.IdentifyDescription,e)||(n.inqModel.IdentifyDescription=e),u(e)}),a()(),C(5,Hn,2,1,"div",94)(6,Zn,2,1,"div",94),a()}if(o&2){let t=c(2);l(4),g("ngModel",t.inqModel.IdentifyDescription),l(),_("ngIf",t.inqModel&&!t.inqModel.IdentifyDescription),l(),_("ngIf",t.inqModel&&t.inqModel.IdentifyDescription)}}function Jn(o,d){o&1&&(r(0,"div",95),p(1),a()),o&2&&(l(),P("",140," characters. "))}function Xn(o,d){if(o&1&&(r(0,"div",95),p(1),a()),o&2){let t=c(3);l(),P("",140-t.inqModel.Description.length," characters.")}}function Yn(o,d){if(o&1){let t=M();r(0,"div",53)(1,"mat-form-field",92)(2,"mat-label",96),p(3,"Additional Notes and Instruction"),a(),r(4,"textarea",97),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.inqModel.Description,e)||(n.inqModel.Description=e),u(e)}),a()(),C(5,Jn,2,1,"div",94)(6,Xn,2,1,"div",94),a()}if(o&2){let t=c(2);l(4),g("ngModel",t.inqModel.Description),l(),_("ngIf",t.inqModel&&!t.inqModel.Description),l(),_("ngIf",t.inqModel&&t.inqModel.Description)}}function $n(o,d){o&1&&(r(0,"div",98),p(1,"Please select input field"),a())}function eo(o,d){o&1&&(r(0,"div",102),p(1," Required Re-captcha "),a())}function to(o,d){if(o&1){let t=M();r(0,"div",12)(1,"div",99)(2,"re-captcha",100),y("resolved",function(e){m(t);let n=c(2);return u(n.resolved(e))}),a(),C(3,eo,2,0,"div",101),a()()}if(o&2){let t=c(2);l(2),N("siteKey",t.recaptcha),l(),_("ngIf",t.recaptchaErrMessage)}}function io(o,d){if(o&1){let t=M();r(0,"form",24,0),y("ngSubmit",function(){m(t);let e=c();return u(e.SaveInquiryModel())}),r(2,"div",12)(3,"div",25)(4,"mat-form-field",26)(5,"mat-label"),p(6,"First Name"),a(),r(7,"input",27),h("ngModelChange",function(e){m(t);let n=c();return f(n.inqModel.FirstName,e)||(n.inqModel.FirstName=e),u(e)}),y("keypress",function(e){m(t);let n=c();return u(n.specialcharactersfirstName(e))}),a()()(),r(8,"div",25)(9,"mat-form-field",26)(10,"mat-label"),p(11,"Last Name"),a(),r(12,"input",28),y("keypress",function(e){m(t);let n=c();return u(n.specialcharactersfirstName(e))}),h("ngModelChange",function(e){m(t);let n=c();return f(n.inqModel.LastName,e)||(n.inqModel.LastName=e),u(e)}),a()()(),r(13,"div",25)(14,"mat-form-field",26)(15,"mat-label"),p(16,"Title"),a(),r(17,"input",29),h("ngModelChange",function(e){m(t);let n=c();return f(n.inqModel.Title,e)||(n.inqModel.Title=e),u(e)}),a()()()(),r(18,"div",12)(19,"div",25)(20,"mat-form-field",26)(21,"mat-label"),p(22,"Email"),a(),r(23,"input",30),h("ngModelChange",function(e){m(t);let n=c();return f(n.inqModel.Email,e)||(n.inqModel.Email=e),u(e)}
4),a()()(),r(24,"div",25)(25,"mat-form-field",26)(26,"mat-label"),p(27,"Company"),a(),r(28,"input",31),h("ngModelChange",function(e){m(t);let n=c();return f(n.inqModel.Company,e)||(n.inqModel.Company=e),u(e)}),a()()(),r(29,"div",25)(30,"mat-form-field",26)(31,"mat-label"),p(32,"Department"),a(),r(33,"input",32),h("ngModelChange",function(e){m(t);let n=c();return f(n.inqModel.Department,e)||(n.inqModel.Department=e),u(e)}),a()()()(),r(34,"div",12)(35,"div",33),p(36,"Address:"),a()(),r(37,"div",12)(38,"div",25)(39,"mat-form-field",26)(40,"mat-label"),p(41,"Country"),a(),r(42,"mat-select",34),h("ngModelChange",function(e){m(t);let n=c();return f(n.inqModel.Country,e)||(n.inqModel.Country=e),u(e)}),y("selectionChange",function(){m(t);let e=c();return u(e.CountryChange(e.inqModel.Country))}),C(43,En,2,2,"mat-option",35),a()()(),r(44,"div",36)(45,"span",37),w(46,"img",38),a(),r(47,"span",39)(48,"input",40),h("ngModelChange",function(e){m(t);let n=c();return f(n.IntPhone,e)||(n.IntPhone=e),u(e)}),a()(),r(49,"span",41)(50,"mat-form-field",26)(51,"mat-label"),p(52,"Phone"),a(),r(53,"input",42),h("ngModelChange",function(e){m(t);let n=c();return f(n.inqModel.Phone,e)||(n.inqModel.Phone=e),u(e)}),a()()()()(),r(54,"div",12)(55,"div",25),C(56,Vn,6,1,"mat-form-field",43)(57,Ln,6,1,"mat-form-field",43),a(),r(58,"div",25),C(59,kn,5,3,"mat-form-field",43)(60,An,4,1,"mat-form-field",43)(61,Fn,4,1,"mat-form-field",43),a(),r(62,"div",25),C(63,Rn,4,1,"mat-form-field",43)(64,Wn,4,1,"mat-form-field",43),a()(),r(65,"div",12),C(66,Bn,6,2,"div",44),r(67,"div",25)(68,"mat-form-field",26)(69,"mat-label"),p(70,"Street Address"),a(),r(71,"input",45),h("ngModelChange",function(e){m(t);let n=c();return f(n.inqModel.AddressLineOne,e)||(n.inqModel.AddressLineOne=e),u(e)}),y("blur",function(){m(t);let e=c();return u(e.addressBoxError())}),a()(),C(72,Un,2,0,"label",46),a(),r(73,"div",25)(74,"mat-form-field",26)(75,"mat-label"),p(76,"Street Address 2"),a(),r(77,"input",47),h("ngModelChange",function(e){m(t);let n=c();return f(n.inqModel.AddressLineTwo,e)||(n.inqModel.AddressLineTwo=e),u(e)}),y("blur",function(){m(t);let e=c();return u(e.address2BoxError())}),a()(),C(78,Dn,2,0,"label",46),a()(),r(79,"div",12)(80,"div",33),p(81,"Units Requiring Support"),a()(),r(82,"div",12)(83,"div",48)(84,"div",12)(85,"div",49),C(86,jn,32,16,"ng-container",50),r(87,"div",51)(88,"input",52),y("click",function(){m(t);let e=c();return u(e.AddUnit())}),a()()()(),r(89,"div",53)(90,"div",54)(91,"div",55)(92,"span",56),p(93,"Has this product been exposed to hazardous material?"),a(),r(94,"span",57)(95,"mat-radio-group",58),h("ngModelChange",function(e){m(t);let n=c();return f(n.inqModel.Exposed,e)||(n.inqModel.Exposed=e),u(e)}),r(96,"span")(97,"mat-radio-button",59),y("click",function(){m(t);let e=c();return u(e.TrackPageEvent("technical-request_page","form","Yes"))}),p(98,"Yes"),a()(),p(99," \xA0\xA0 "),r(100,"span")(101,"mat-radio-button",60),y("click",function(){m(t);let e=c();return u(e.TrackPageEvent("technical-request_page","form","No"))}),p(102,"No"),a()()()()()()(),C(103,Kn,7,3,"div",61)(104,Yn,7,3,"div",61),r(105,"div",62)(106,"div",63),p(107,"Attach Image/File:"),a(),r(108,"input",64,1),y("change",function(e){m(t);let n=c();return u(n.onFileChange(e))}),a(),r(110,"div",65),p(111,"JPEG, JPG, GIF, PNG, and PDF files accepted"),a(),C(112,$n,2,0,"div",66),a()(),r(113,"div",67)(114,"div",68),p(115," If you have presale questions, "),w(116,"br"),p(117," please "),r(118,"a",69),y("click",function(){m(t);let e=c();return u(e.TrackPageEvent("technical-request_page","form","Presale Questions"))}),p(119,"click here."),a()()()(),C(120,to,4,2,"div",12),r(121,"div",12)(122,"p",55),p(123,"The user represents that he/she (i) has authority to send any information he/she provides to FUTEK and (ii) FUTEK will use the information solely for purposes of responding to the inquiry presented."),a()(),r(124,"div",12)(125,"div",70)(126,"button",71),y("click",function(){m(t);let e=c();return u(e.successmessProductstoDown("successtechicaltarget"))}),p(127,"Submit Request"),a()()()()}if(o&2){let t=c();l(7),g("ngModel",t.inqModel.FirstName),l(5),g("ngModel",t.inqModel.LastName),l(5),g("ngModel",t.inqModel.Title),l(6),g("ngModel",t.inqModel.Email),l(5),g("ngModel",t.inqModel.Company),l(5),g("ngModel",t.inqModel.Department),l(9),g("ngModel",t.inqModel.Country),l(),_("ngForOf",t.countryList),l(3),N("src",t.selectedCountryFlagUrl,L),l(2),g("ngModel",t.IntPhone),l(5),g("ngModel",t.inqModel.Phone),l(3),_("ngIf",t.IsUS),l(),_("ngIf",!t.IsUS),l(2),_("ngIf",t.IsUS),l(),_("ngIf",!t.IsUS&&t.inqModel.Country=="ca"),l(),_("ngIf",!t.IsUS&&t.inqModel.Country!="ca"),l(2),_("ngIf",t.IsUS||t.inqModel.Country=="ca"),l(),_("ngIf",!t.IsUS&&t.inqModel.Country!="ca"),l(2),_("ngIf",t.IsCaliforniaState),l(5),g("ngModel",t.inqModel.AddressLineOne),l(),_("ngIf",t.address1POBoxError),l(5),g("ngModel",t.inqModel.AddressLineTwo),l(),_("ngIf",t.address2POBoxError),l(8),_("ngForOf",t.inqModel.ProductUnitModels),l(9),g("ngModel",t.inqModel.Exposed),l(8),_("ngIf",t.inqModel.Exposed=="true"),l(),_("ngIf",t.inqModel.Exposed=="true"||t.inqModel.Exposed=="false"),l(8),_("ngIf",t.showFileError),l(8),v(t.useRumiApiFFSprint64_65?-1:120)}}function no(o,d){if(o&1&&(w(0,"div",112),O(1,"safeHtml")),o&2){let t=c(2);_("innerHTML",j(1,1,t.frequentlyAskedqu),Z)}}function oo(o,d){if(o&1&&w(0,"app-faq-list",113),o&2){let t=c(2);_("faqs",t.faqs)}}function ro(o,d){if(o&1){let t=M();r(0,"div",103),y("click",function(){m(t);let e=c();return u(e.ToggleButton())}),r(1,"div",104),y("click",function(e){return m(t),u(e.stopPropagation())}),r(2,"div",105)(3,"div",106),w(4,"img",107),a(),r(5,"h4",108),p(6,"Frequently Asked Questions (FAQ)"),a(),r(7,"mat-dialog-actions")(8,"button",109),y("click",function(){m(t);let e=c();return u(e.ToggleButton())}),r(9,"i",110),p(10,"highlight_off "),a()()()(),r(11,"div",111),C(12,no,2,3,"div",112)(13,oo,1,1,"app-faq-list",113),a()()()}if(o&2){let t=c();l(4),B("src","",t.FileHostUrl,"/content/futek/images/home/futek_logo_white.png",L),l(8),v(t.useRumiApiFFSprint64_65?13:12)}}function ao(o,d){if(o&1&&(r(0,"div",114),w(1,"iframe",115),O(2,"safe"),a()),o&2){let t=c();l(),_("src",Te(2,1,t.pardotUrl,"resourceUrl"),ne)}}var fi=(()=>
4{let d=class d{constructor(i,e,n,x,V,b,R,te,Rt,yi){s(this,"_contactService");s(this,"_accountService");s(this,"_snackBar");s(this,"route");s(this,"recaptchaService");s(this,"_seoClientService");s(this,"meta");s(this,"titleService");s(this,"_loaderService");s(this,"gtmService");s(this,"FileHostUrl",q.FileHostUrl);s(this,"recaptcha",q.recaptcha);s(this,"frequentlyAskedqu",{});s(this,"faqs",[]);s(this,"inqModel",new bt);s(this,"sensorTypeList",[]);s(this,"challengeList",[]);s(this,"technicalshowSelected",!1);s(this,"pardotUrl","");s(this,"responseMessage",!1);s(this,"isRecaptchaValidate",!1);s(this,"recaptchaErrMessage",!1);s(this,"showFileError",!1);s(this,"IntPhone");s(this,"techinicalForm");s(this,"webpagetitle","Technical Support Contact FUTEK");s(this,"snackbar");s(this,"isReadOnly",!1);s(this,"IsUS",!1);s(this,"CountryId");s(this,"selectedCountryFlagUrl");s(this,"isDisabled",!1);s(this,"address1POBoxError",!1);s(this,"address2POBoxError",!1);s(this,"zipError",!1);s(this,"countryList",[]);s(this,"statesTypeList",[]);s(this,"countyList",[]);s(this,"IsCaliforniaState",!1);s(this,"isLoading",!1);s(this,"fileInfo");s(this,"userPhoto");s(this,"featureFlagsService",S(ye));s(this,"contactsService",S(Ce));s(this,"technicalRequestService",S(_i));s(this,"useRumiApiFFSprint64_65",this.featureFlagsService.IsEnabled(H.RumiApi64_65));s(this,"countryOptions",[]);s(this,"sensorTypeOptions",[]);s(this,"challengeTypeOptions",[]);this._contactService=i,this._accountService=e,this._snackBar=n,this.route=x,this.recaptchaService=V,this._seoClientService=b,this.meta=R,this.titleService=te,this._loaderService=Rt,this.gtmService=yi,this.inqModel.ProductUnitModels=[]}ngOnInit(){this._seoClientService.createLinkForCanonicalURL(),this.titleService.setTitle(this.webpagetitle),this.meta.updateTag({name:"description",content:this.webpagetitle}),this.meta.updateTag({name:"keywords",content:this.webpagetitle}),this.IntPhone="+1",this.CountryId="us",this.selectedCountryFlagUrl=`${q.OptimizelyCMSBaseUrl}globalassets/countryflags/united-states.png`,this._contactService.getTechnicalRequest().subscribe(i=>{this.inqModel=i.TechnicalRequestViewModel,this.sensorTypeList=i.ContactSelectList.SensorTypeList,this.challengeList=i.ContactSelectList.ChallengesTypeList,this.countryList=i.ContactSelectList.CountriesTypeList,this.statesTypeList=i.ContactSelectList.StatesTypeList,this.countyList=i.ContactSelectList.CaliforniaCountyList,this.inqModel.Exposed="false",this.inqModel.Country="us",this.IsUS=!0,this.isReadOnly=!1}),this.loadFaq(),this.useRumiApiFFSprint64_65&&this.loadContactFormOptions()}loadFaq(){if(!this.useRumiApiFFSprint64_65){this.loadLegacyFaq();return}this.contactsService.getFaqsByType(We.TechnicalRequest).subscribe(i=>{this.faqs=Oe(i)})}loadLegacyFaq(){this._contactService.getFaqTechnicalRequest().subscribe(i=>{this.frequentlyAskedqu=i.Content})}loadContactFormOptions(){this.contactsService.getContactFormOptions().subscribe({next:i=>this.countryOptions=i.countries??[],error:i=>console.error("Failed to load contact form options",i)}),this.contactsService.getTechnicalRequestFormOptions().subscribe({next:i=>{this.sensorTypeOptions=i.sensorTypes??[],this.challengeTypeOptions=i.challengeTypes??[]},error:i=>console.error("Failed to load technical request form options",i)})}AddUnit(){this.inqModel.ProductUnitModels.push({AdditionalNote:null,Issue:null,SensorType:null,SerialNumber:null}),this.TrackPageEvent("form","Units_returning_support_section","add_item_button_click")}RemoveUnit(i){this.inqModel.ProductUnitModels.splice(i,1),this.TrackPageEvent("form","Units_returning_support_section","remove_button_click")}onFileChange(i){this.fileInfo=i.target.files[0],this.fileInfo=="undefined"?this.showFileError=!0:(this.showFileError=!1,this.TrackPageEvent("technical-request_page","form","Choose_file_button_click"))}submitonEdit(){window.scrollTo(0,0)}resolved(i){this.isRecaptchaValidate=!0,this.recaptchaErrMessage=!1;let e={event:"technical-request_page",eventCategory:"technical-request_page",eventAction:"form",eventLabel:"captcha_clicked",pagepath:this.route.url,userId:localStorage.getItem("userId")??""};this.gtmService.pushTag(e)}SaveInquiryModel(){if(!this.useRumiApiFFSprint64_65){let i=this.recaptchaService.validateRecaptcha(this.isRecaptchaValidate);
4this.recaptchaErrMessage=i.recaptchaErrMessage,this.showFileError=i.showFileError}if(!(this.recaptchaErrMessage||this.showFileError)&&(this.showFileError=this.fileInfo=="undefined",!this.showFileError))if(this.techinicalForm.valid){if(this.submitonEdit(),this.TrackPageEvent("technical-request_page","form","Submit_button_click"),this.isLoading=!0,this.useRumiApiFFSprint64_65){this.sendTechnicalRequest();return}this.sendLegacyTechnicalRequest()}else this.techinicalForm.control.markAllAsTouched(),this.snackbar=new E(this._snackBar),this.snackbar.openSnackBar("Please select all the required fields.","close")}sendLegacyTechnicalRequest(){let i=new FormData;i.append("inquirymodel",JSON.stringify(this.inqModel)),i.append("MyFile",this.fileInfo),this._contactService.saveTechnicalRequest(i).subscribe({next:e=>{this.pardotUrl=e,this.responseMessage=!0,this.techinicalForm.resetForm();let n=this;setTimeout(()=>{n.route.navigate(["/about/contact"])},5*1e3)},error:e=>{this.snackbar=new E(this._snackBar),this.snackbar.openSnackBar("Something went wrong. Please try again.","close")},complete:()=>{this.isLoading=!1}})}sendTechnicalRequest(){return A(this,null,function*(){let i;try{i=yield ie(this.recaptchaService.getRecaptchaV3Token(be.TECHNICAL_REQUEST))}catch{this.snackbar=new E(this._snackBar),this.snackbar.openSnackBar("Something went wrong. Please try again.","close"),this.isLoading=!1;return}let e=this.buildTechnicalRequestDto(i);this.technicalRequestService.submitTechnicalRequest(e).subscribe({next:n=>{this.pardotUrl=n.pardotUrl??"",this.responseMessage=!0,this.techinicalForm.resetForm(),setTimeout(()=>{this.route.navigate(["/about/contact"])},5*1e3)},error:()=>{this.snackbar=new E(this._snackBar),this.snackbar.openSnackBar("Something went wrong. Please try again.","close"),this.isLoading=!1},complete:()=>{this.isLoading=!1}})})}buildTechnicalRequestDto(i){return{exposed:this.inqModel.Exposed==="true",identifyDescription:this.inqModel.IdentifyDescription,additionalNotes:this.inqModel.Description,units:(this.inqModel.ProductUnitModels??[]).map(e=>this.buildTechnicalRequestUnitDto(e)),address:{countryId:this.countryOptions.find(e=>e.code?.toLowerCase()===this.inqModel.Country?.toLowerCase())?.id,country:this.inqModel.Country,stateProvinceRegion:this.IsUS?this.inqModel.State:this.inqModel.UsaState,city:this.inqModel.City,phone:`${this.IntPhone}${this.inqModel.Phone}`,postalCode:this.inqModel.PostalCode,addressLine1:this.inqModel.AddressLineOne,addressLine2:this.inqModel.AddressLineTwo},contactInformation:{firstName:this.inqModel.FirstName,lastName:this.inqModel.LastName,title:this.inqModel.Title,email:this.inqModel.Email,company:this.inqModel.Company,department:this.inqModel.Department},attachment:this.fileInfo||null,recaptchaToken:i}}buildTechnicalRequestUnitDto(i){return{SensorType:this.sensorTypeOptions.find(e=>e.id===+i.SensorType)?.id??null,SerialNumber:i.SerialNumber,Issue:this.getIssueOption(i),AdditionalNote:i.AdditionalNote}}getIssueOption(i){return i.Issue==="IncorrectOutputAndMeasurement"?"Incorrect Output And Measurement":i.Issue==="CallibrationOrSetup"?"Callibration Or Setup":this.challengeTypeOptions.find(e=>e.description?.toLowerCase().replace(/[\s,]/g,"")===i.Issue?.toLowerCase())?.description??""}ToggleButton(){this.technicalshowSelected=!this.technicalshowSelected}specialcharactersfirstName(i){return F(i.charCode,{allowHyphen:!0,allowPeriod:!0,allowApostrophe:!0})}successmessProductstoDown(i){document.querySelector("#"+i).scrollIntoView({behavior:"smooth"})}CountryChange(i){if(this.countryList&&this.countryList.length>0){let e=this.countryList.filter(n=>n.Value.toLowerCase()==i.toLowerCase());this.CountryId=e[0].Value,this.selectedCountryFlagUrl=`${q.OptimizelyCMSBaseUrl}globalassets/countryflags/${e[0].Text.replace(/\s+/g,"-").toLowerCase()}.png`,this.inqModel.Country=e[0].Value,e.length>0?this.IntPhone=e[0].PhoneCode?"+"+e[0].PhoneCode:"":this.IntPhone=""}this.inqModel.PostalCode="",this.inqModel.AddressLineTwo="",this.inqModel.AddressLineOne="",this.inqModel.City="",this.inqModel.ZipPostalCode="",this.inqModel.State="",i=="us"?(this.IsUS=!0,this.inqModel.State=""):(this.IsUS=!1,this.inqModel.UsaState="",this.isReadOnly=!1,this.IsCaliforniaState=!1,this.isDisabled=!1,this.zipError=!1)}specialcharpanel(i){return F(i.charCode,{allowHyphen:!0})}StateChange(i){this.IsCaliforniaState=i=="CA"}addressBoxError(){var i=this.inqModel.AddressLineOne.toLowerCase(),e=["po box","p.o.box","p.o.","po ","p.o ","pobox","po. box","po.box","p. o. box"];this.address1POBoxError=e.some(n=>i.includes(n))}address2BoxError(){var i=this.inqModel.AddressLineTwo.toLowerCase(),e=["po box","p.o.box","p.o.","po ","p.o ","pobox","po. box","po.box","p. o. box"];this.address2POBoxError=e.some(n=>i.includes(n))}getAddress(i){this.inqModel.City="",this.inqModel.State="",this.inqModel.County="",i=i.replace(/\s/g,""),this.isDisabled=!1,this.IsCaliforniaState=!1,this.inqModel.Country=="us"&&i.length==5?this._accountService.getAddress(i).subscribe(e=>{let n=JSON.parse(e);if(n.status=="ZERO_RESULTS")this.zipError=!0;else{this.zipError=!1;let x=n.results[0].formatted_address.split(",",1)[0],V=n.results[0].formatted_address.split(", ")[1].split(" ")[0];this.inqModel.City=x,this.inqModel.State=V,this.isReadOnly=!0,this.isDisabled=!0,this.StateChange(V);let b=n.results[0].address_components[2].long_name.split(" "),R=b.slice(0,b.length-1).join(" ");this.inqModel.County=R}}):this.isReadOnly=!1}TrackPageEvent(i,e,n){let x={event:"technical-request_page",eventCategory:i,eventAction:e,eventLabel:n,userId:this.GetUserName(),pagepath:this.route.url};this.gtmService.pushTag(x)}GetUserName(){return localStorage.getItem("userId")??""}};s(d,"\u0275fac",function(e){return new(e||d)(T(k),T(xe),T(we),T(Q),T(Ie),T(G),T(U),T(D
vendor: 4,846 bytes, line 4
4),T(tt),T(it))}),s(d,"\u0275cmp",W({type:d,selectors:[["app-technical-request"]],viewQuery:function(e,n){if(e&1&&Y(bn,5),e&2){let x;$(x=ee())&&(n.techinicalForm=x.first)}},decls:30,vars:5,consts:[["techinicalForm","ngForm"],["userPhoto",""],["id","successtechicaltarget",1,"main-panel"],[1,"panel-wrapper"],[1,"breadcrumbs"],["routerLink","/about/contact",1,"text-l","semibold","text-color-tertiary"],[1,"material-icons","text-color-tertiary"],[1,"text-l","semibold","text-color-tertiary"],["data-epi-edit","Name"],[1,"text-l","semibold","text-color-primary",3,"click"],[1,"h5","Technicalmb1"],[1,"col-md-12","Quickserch"],[1,"row"],[1,"textsensorcont1"],["target","_blank","href","/product-manual",1,"productlinksp1"],["target","_blank","href","https://www.youtube.com/user/futekadvsensortech",1,"productlinksp2"],["class","loader-overlay-light",4,"ngIf"],["class","custom-form","name","techinicalrequest","novalidate","",3,"ngSubmit",4,"ngIf"],[1,"row","faqpanelmain"],[1,"apclear"],["class","hide ",4,"ngIf"],[1,"loader-overlay-light"],[1,"loadingpanel"],["mode","indeterminate",1,"spinner"],["name","techinicalrequest","novalidate","",1,"custom-form",3,"ngSubmit"],[1,"col-md-4"],["appearance","outline"],["name","firstName","matInput","","placeholder","First Name","maxlength","50","noWhitespace","","required","",3,"ngModelChange","keypress","ngModel"],["matInput","","placeholder","Last Name","name","lastName","maxlength","50","noWhitespace","","required","",3,"keypress","ngModelChange","ngModel"],["name","title","maxlength","50","matInput","","placeholder","Title","noWhitespace","","required","",3,"ngModelChange","ngModel"],["matInput","","placeholder","Email","name","email","type","email","maxlength","100","pattern","^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,10}$","noWhitespace","","required","",3,"ngModelChange","ngModel"],["name","company","matInput","","placeholder","Company","maxlength","100","noWhitespace","","required","",3,"ngModelChange","ngModel"],["matInput","","placeholder","Department","name","department","maxlength","70",3,"ngModelChange","ngModel"],[1,"Addresstextv1"],["name","country","required","","placeholder","Country",3,"ngModelChange","selectionChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],[1,"col-md-4","zip-country"],[1,"zipcountyimagh1"],["alt","CountryI flags",2,"height","auto","width","25px","object-fit","contain",3,"src"],[1,"zipcountyimagh2"],["placeholder","Phone","name","IntPhone","readonly","",1,"inputpanelkl1",3,"ngModelChange","ngModel"],[1,"zipcountyimagh3"],["matInput","","placeholder","949-465-0900","name","phone","type","text","minlength","10","maxlength","15","onkeypress","return event.charCode >= 48 && event.charCode <= 57","noWhitespace","","required","",3,"ngModelChange","ngModel"],["appearance","outline",4,"ngIf"],["class","col-md-4",4,"ngIf"],["matInput","","placeholder","Street Address","name","streetaddress","minlength","1","maxlength","100","noWhitespace","","required","",3,"ngModelChange","blur","ngModel"],["class","streeterror",4,"ngIf"],["matInput","","placeholder","Street Address 2","name","address2","minlength","1","maxlength","150",3,"ngModelChange","blur","ngModel"],[1,"col-md-6","col-12"],[1,"col-md-12","systemplam1"],[4,"ngFor","ngForOf"],[1,"tehnicalsbtncenter"],["type","button","mat-raised-button","","value","Add Item",1,"tertiary-button","small-button",3,"click"],[1,"row","productlpk1"],[1,"col-md-12"],[1,"whatinterestedtextv1"],[1,"beenpal1","text-m","mb-2"],[1,"beenpal2"],["name","exposed",3,"ngModelChange","ngModel"],["name","yes","value","true",3,"click"],["checked","checked","name","no","value","false",3,"click"],["class","row productlpk1",4,"ngIf"],[1,"row","Attachpl1"],[1,"Attachta1","text-m"],["id","filepath","type","file","name","file","accept","application/vnd.ms-excel, application/pdf, image/*",1,"attach-files",3,"change"],[1,"Attachta2"],["class","fileerror",4,"ngIf"],[1,"col-md-6"],[1,"presale-text","text-m","text-color-primary","mb-md-0","mb-2"],["target","_blank","href","/about/contact/product-inquiry",1,"text-color-link-default",3,"click"],[1,"subbtncenter","submitplm"],["type","submit",1,"primary-button",3,"click"],[3,"value"],["matInput","","placeholder","Zip / Postal Code","id","zippostalcode","name","zippostalcode","type","text","minlength","5","maxlength","5","pattern","\\d*","onkeypress","return event.charCode >= 48 && event.charCode <= 57","required","",3,"ngModelChange","blur","ngModel"],[1,"errorPleasevab1"],["matInput","","placeholder","Zip / Postal Code","name","zippostalcode","type","text","pattern","[a-zA-Z0-9 -]+","required","","minlength","3","maxlength","10",3,"keypress","ngModelChange","ngModel"],["name","State","required","","placeholder","State",3,"ngModelChange","selectionChange","ngModel","disabled"],["matInput","","placeholder","State / Province / Region","name","regi
4on","maxlength","50","required","",3,"keypress","ngModelChange","ngModel"],["matInput","","placeholder","City","name","city","minlength","1","maxlength","50","noWhitespace","","required","",3,"keypress","ngModelChange","ngModel"],["matInput","","placeholder","City","name","city","required","",3,"keypress","ngModelChange","ngModel"],["required","","name","county",3,"ngModelChange","ngModel"],[1,"streeterror"],[1,"col-md-10"],[1,"unittitletext"],[1,"col-md-2"],[1,"Removebtn1"],["class","primary-button small-button","type","button","mat-raised-button","","color","primary","value","Remove",3,"click",4,"ngIf"],["required","","placeholder","Sensor Type",3,"ngModelChange","name","ngModel"],["matInput","","placeholder","Serial Number","noWhitespace","","required","",3,"ngModelChange","name","ngModel"],["required","","placeholder","Issue/Challange","id","issuesChallanges",3,"ngModelChange","name","ngModel"],["matInput","","placeholder","Note for this Unit","noWhitespace","","required","",3,"ngModelChange","name","ngModel"],["type","button","mat-raised-button","","color","primary","value","Remove",1,"primary-button","small-button",3,"click"],["appearance","outline",1,"identifypl1"],["matInput","","placeholder","Please identify serial number and list all known hazardous contacts.","name","identDescription","maxlength","100",3,"ngModelChange","ngModel"],["class","fullcharacterscount",4,"ngIf"],[1,"fullcharacterscount"],[1,"text-m"],["matInput","","placeholder","Additional Notes and Instruction","name","Description","maxlength","140",3,"ngModelChange","ngModel"],[1,"fileerror"],[1,"teparechaptchadiv","Attachpl1"],[3,"resolved","siteKey"],["class","recaptcha_error",4,"ngIf"],[1,"recaptcha_error"],[1,"row","faqpanelmain",3,"click"],[1,"tesubFrequentlyqu1",3,"click"],[1,"header"],[1,"faqimagpanel"],["alt","Futekfaq",1,"logo-modal",3,"src"],[1,"h6","faq-panel-title"],["mat-button","","mat-dialog-close","",1,"close-button",3,"click"],[1,"material-icons"],[1,"content-wrapper"],[1,"text-m","text-color-primary",3,"innerHTML"],[3,"faqs"],[1,"hide"],[3,"src"]],template:function(e,n){e&1&&(r(0,"div",2)(1,"div",3)(2,"div",4)(3,"a",5),p(4,"Contact Us"),a(),r(5,"i",6),p(6,"keyboard_arrow_right "),a(),r(7,"p",7),p(8,"Technical Support"),a(),r(9,"i",6),p(10,"keyboard_arrow_right "),a(),r(11,"p",8)(12,"a",9),y("click",function(){return n.ToggleButton()}),p(13,"FAQ"),a()()(),r(14,"h1",10),p(15,"Technical Support"),a(),r(16,"div",11)(17,"div",12)(18,"span",13)(19,"a",14),p(20," Product Manuals "),a()(),r(21,"span",13)(22,"a",15),p(23," Product Videos "),a()()()(),C(24,Pn,1,0,"app-response-message")(25,Tn,3,0,"div",16)(26,io,128,29,"form",17)(27,ro,14,3,"div",18),w(28,"div",19),C(29,ao,3,4,"div",20),a()()),e&2&&(l(24),v(n.responseMessage?24:-1),l(),_("ngIf",n.isLoading),l(),_("ngIf",!n.responseMessage),l(),v(n.technicalshowSelected?27:-1),l(2),_("ngIf",n.pardotUrl))},dependencies:[Ee,K,pe,ae,se,le,me,Ve,ue,_e,ce,de,Le,ke,Fe,Re,he,fe,ge,je,Se,St,wt,Ae,nt,ve,Be,qe,J,X,Ne],styles:[".custom-form[_ngcontent-%COMP%]{margin-top:1rem}.custom-form[_ngcontent-%COMP%] .Quickserch[_ngcontent-%COMP%]{margin-left:7px}.custom-form[_ngcontent-%COMP%] .presale-text[_ngcontent-%COMP%]{text-align:center;margin-top:2rem}.custom-form[_ngcontent-%COMP%] .zipcountyimagh3[_ngcontent-%COMP%]{width:100%}.custom-form[_ngcontent-%COMP%] .attach-files[_ngcontent-%COMP%]{padding:.5rem;border:1px solid var(--divider-default);border-radius:4px;margin-left:0;margin-bottom:5px}.panel-wrapper[_ngcontent-%COMP%] .faqpanelmain[_ngcontent-%COMP%] .tesubFrequentlyqu1[_ngcontent-%COMP%]{padding:0}.panel-wrapper[_ngcontent-%COMP%] .faqpanelmain[_ngcontent-%COMP%] .mdc-dialog__actions[_ngcontent-%COMP%]{position:relative;padding:0;top:0;right:0;left:auto;justify-content:flex-end}.panel-wrapper[_ngcontent-%COMP%] .faqpanelmain[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{color:var(--white-color);min-width:fit-content}.panel-wrapper[_ngcontent-%COMP%] .faqpanelmain[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%]{padding:1rem}.panel-wrapper[_ngcontent-%COMP%] .faqpanelmain[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{background-color:var(--bg-brand-primary);display:flex;align-items:center;justify-content:space-between}.panel-wrapper[_ngcontent-%COMP%] .faqpanelmain[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .faqimagpanel[_ngcontent-%COMP%]{width:auto;float:none}.panel-wrapper[_ngcontent-%COMP%] .faqpanelmain[_ngcontent-%COMP%] .faq-panel-title[_ngcontent-%COMP%]{color:var(--white-color);margin:0}.panel-wrapper[_ngcontent-%COMP%] .faqpanelmain[_ngcontent-%COMP%] .h6[_ngcontent-%COMP%]{margin:.5rem 0}.mat-mdc-form-field[_ngcontent-%COMP%]{display:inline-block;position:relative;text-align:left;padding-right:30px;padding-left:4px;width:100%}.row[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin-right:0;margin-left:0}.Attachpl1[_ngcontent-%COMP%]{position:relative;z-index:99}.presalepl1[_ngcontent-%COMP%]{font-size:12pt;font-family:Nunito Sans,sans-serif;text-align:center;margin-top:16%;color:#147acc;font-weight:700}.techchhosefilen1[_ngcontent-%COMP%]{border:1px solid #ccc;border-radius:0;padding:6px;margin-left:7px;width:100%;font-size:10pt}.identifypl1[_ngcontent-%COMP%]{padding-right:0}.textsensorcont1[_ngcontent-%COMP%]{float:left}.productlinksp1[_ngcontent-%COMP%]{color:#ca0000;font-size:10pt;padding-right:15px;text-decoration:underline}.liproductlinksp1[_ngcontent-%COMP%]{color:#ca0000;font-size:12pt;padding-right:15px;text-decoration:underline}.productlinksp2[_ngcontent-%COMP%]{color:#ca0000;font-size:10pt;text-decoration:underline}.btncont1[_ngcontent-%COMP%]{background:#e6e6e6;cursor:pointer;font-size:10pt;font-family:Nunito Sans,sans-serif;padding:7px;border:1px solid #ccc;margin-left:15px}.hide[_ngcontent-%COMP%]{display:none}.apclear[_ngcontent-%COMP%]{width:100%;height:60px}.col-md-8[_ngcontent-%COMP%], .col-md-6[_ngcontent-%COMP%], .col-md-4[_ngcontent-%COMP%], .col-md-12[_ngcontent-%COMP%], .col-md-10[_ngcontent-%COMP%]{padding-right:0;padding-left:0;width:100%}.unittitletext[_ngcontent-%COMP%]{font-weight:400;font-size:12pt;font-family:Nunito Sans,sans-serif;width:100%;float:left;margin-top:9px}.Removebtn1[_ngcontent-%COMP%]{float:right;margin:9px 15px 0 2px}.productlpk1[_ngcontent-%COMP%]{position:relative;z-index:99;margin:17px 0}.tehnicalsbtncenter[_ngcontent-%COMP%]{text-align:left;width:100%;padding:0 5px;margin-bottom:35px;position:relative;z-index:9}.tesubFrequentlyqu1[_ngcontent-%COMP%]{width:1024px;background:#fff;margin-left:auto;margin-right:auto;padding:15px;border-radius:5px;height:400px;overflow:auto;margin-top:90px;line-height:14px}.beenpal1[_ngcontent-%COMP%]{float:left;margin:3px 0}.beenpal2[_ngcontent-%COMP%]{margin:1px 9px;float:left}.subbtncenter[_ngcontent-%COMP%]{text-align:left;width:100%;padding:0 7px;margin-top:13px}.subbtnsubmitpl1[_ngcontent-%COMP%]{border:1px solid #1379cb;background-color:#1379cb;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJod\\2026IwIiB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgZmlsbD0idXJsKCNoYXQwKSIgLz4KPC9zdmc+);background-image:-webkit-linear-gradient(bottom,#0b49b7 0,#1babe1 100%);color:#fff;font-family:Nunito Sans,sans-serif;font-weight:400;font-size:11pt;border:0;padding:0 13px;margin-bottom:17px;cursor:pointer!important;position:relative;z-index:9}.systemplam1[_ngcontent-%COMP%]{box-shadow:1px 1px 6px 2px #ccc;margin:7px 0 0 5px;padding:15px!important}.fileerror[_ngcontent-%COMP%]{display:none;color:red;font-size:14px;margin-left:8px}.faqclosedicon[_ngcontent-%COMP%]{float:right;cursor:pointer;background:#d4edda;border-radius:60px;width:27px;height:25px;position:absolute;z-index:99;padding:1px;
4margin:-14px 0 0 1005px}.teparechaptchadiv[_ngcontent-%COMP%]{padding:6px 3px 10px 7px}@media (min-width: 320px) and (max-width: 680px){.tehnicalsbtncenter[_ngcontent-%COMP%], .productlpk1[_ngcontent-%COMP%], .Attachpl1[_ngcontent-%COMP%]{z-index:inherit}}@media only screen and (max-width: 768px){.Quickserch[_ngcontent-%COMP%]{margin-top:15px}.mat-mdc-form-field[_ngcontent-%COMP%]{padding-right:1px}.teparechaptchadiv[_ngcontent-%COMP%]{padding:0}}@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait){span.fullcodestoretitlepl1[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .productstoresubheadertext[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{position:relative;top:-4px;font-size:20px}}@media all and (device-width: 1024px) and (device-height: 768px) and (orientation:landscape){span.fullcodestoretitlepl1[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .productstoresubheadertext[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{position:relative;top:2px;font-size:20px}} .mdc-text-field--outlined{--mdc-outlined-text-field-outline-width: 1px;--mdc-outlined-text-field-outline-color: #e0e0e0 !important;--mdc-outlined-text-field-focus-outline-width: 1px !important;--mdc-outlined-text-field-focus-outline-color: #e0e0e0 !important;--mdc-outlined-text-field-hover-outline-color: #949494 !important}"]}));let o=d;return o}
4)();var Ue={LoadCell:"LoadCell",TorqueSensor:"TorqueSensor",PressureSensor:"PressureSensor",MultiAxisSensor:"MultiAxisSensor",CustomSensor:"CustomSensor",Software:"Software",ForceSensor:"ForceSensor",NoneOfTheAbove:"NoneOfTheAbove",Unsure:"Unsure"};var mo=["applicationinquiry"],gt=()=>({standalone:!0});function uo(o,d){o&1&&w(0,"app-response-message")}function _o(o,d){o&1&&(r(0,"div",14)(1,"div",15),w(2,"mat-progress-spinner",16),a()())}function go(o,d){if(o&1&&(r(0,"mat-option",57),p(1),a()),o&2){let t=d.$implicit;_("value",t.Value),l(),I(t.Text)}}function fo(o,d){if(o&1){let t=M();r(0,"app-select-project-stage",58),y("projectStageSelected",function(e){m(t);let n=c(2);return u(n.setProjectStage(e))}),a()}}function ho(o,d){if(o&1){let t=M();r(0,"app-project-stage-selector",58),y("projectStageSelected",function(e){m(t);let n=c(2);return u(n.setProjectStageId(e))}),a()}}function yo(o,d){if(o&1&&(r(0,"mat-option",57),p(1),a()),o&2){let t=d.$implicit;_("value",t.Value),l(),I(t.Text)}}function Co(o,d){if(o&1){let t=M();r(0,"mat-form-field",20)(1,"mat-label"),p(2,"How did you hear about us?"),a(),r(3,"mat-select",59),y("selectionChange",function(){m(t);let e=c(2);return u(e.updateIsInformationSourceOther())}),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.inqModel.InformationSource,e)||(n.inqModel.InformationSource=e),u(e)}),C(4,yo,2,2,"mat-option",28),a()()}if(o&2){let t=c(2);l(3),g("ngModel",t.inqModel.InformationSource),l(),_("ngForOf",t.infoSourceList)}}function xo(o,d){if(o&1){let t=M();r(0,"app-lead-source-selector",60),y("leadSourceSelected",function(e){m(t);let n=c(2);return u(n.setLeadSourceId(e))})("isLeadSourceOther",function(e){m(t);let n=c(2);return u(n.setLeadSourceOther(e))}),a()}}function Mo(o,d){if(o&1){let t=M();r(0,"div",18)(1,"div",19)(2,"mat-form-field",20)(3,"mat-label"),p(4,"Please specify"),a(),r(5,"input",61),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.inqModel.InformationSourceOther,e)||(n.inqModel.InformationSourceOther=e),u(e)}),a()()()()}if(o&2){let t=c(2);l(5),g("ngModel",t.inqModel.InformationSourceOther)}}function So(o,d){if(o&1&&(r(0,"mat-option",57),p(1),a()),o&2){let t=d.$implicit;_("value",t.Value),l(),I(t.Text)}}function wo(o,d){if(o&1){let t=M();r(0,"mat-form-field",20)(1,"mat-label"),p(2,"Zip / Postal Code"),a(),r(3,"input",62),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.inqModel.PostalCode,e)||(n.inqModel.PostalCode=e),u(e)}),y("blur",function(){m(t);let e=c(2);return u(e.getAddress(e.inqModel.PostalCode))}),a()()}if(o&2){let t=c(2);l(3),g("ngModel",t.inqModel.PostalCode)}}function vo(o,d){if(o&1){let t=M();r(0,"mat-form-field",20)(1,"mat-label"),p(2,"Zip / Postal Code"),a(),r(3,"input",63),y("keypress",function(e){m(t);let n=c(2);return u(n.specialcharpanel(e))}),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.inqModel.PostalCode,e)||(n.inqModel.PostalCode=e),u(e)}),a()()}if(o&2){let t=c(2);l(3),g("ngModel",t.inqModel.PostalCode)}}function qo(o,d){if(o&1&&(r(0,"mat-option",57),p(1),a()),o&2){let t=d.$implicit;_("value",t.Value),l(),I(t.Text)}}function Io(o,d){if(o&1){let t=M();r(0,"mat-form-field",20)(1,"mat-label"),p(2,"State"),a(),r(3,"mat-select",64),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.inqModel.State,e)||(n.inqModel.State=e),u(e)}),y("selectionChange",function(){m(t);let e=c(2);return u(e.StateChange(e.inqModel.State))}),C(4,qo,2,2,"mat-option",28),a()()}if(o&2){let t=c(2);l(3),g("ngModel",t.inqModel.State),_("disabled",t.isReadOnly),l(),_("ngForOf",t.statesTypeList)}}function bo(o,d){if(o&1){let t=M();r(0,"mat-form-field",20)(1,"mat-label"),p(2,"State / Province / Region"),a(),r(3,"input",65),y("keypress",function(e){m(t);let n=c(2);return u(n.specialcharpanel(e))}),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.inqModel.UsaState,e)||(n.inqModel.UsaState=e),u(e)}),a()()}if(o&2){let t=c(2);l(3),g("ngModel",t.inqModel.UsaState)}}function Po(o,d){if(o&1){let t=M();r(0,"mat-form-field",20)(1,"mat-label"),p(2,"State / Province / Region"),a(),r(3,"input",65),y("keypress",function(e){m(t);let n=c(2);return u(n.specialcharpanel(e))}),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.inqModel.UsaState,e)||(n.inqModel.UsaState=e),u(e)}
4),a()()}if(o&2){let t=c(2);l(3),g("ngModel",t.inqModel.UsaState)}}function To(o,d){if(o&1){let t=M();r(0,"mat-form-field",20)(1,"mat-label"),p(2,"City"),a(),r(3,"input",66),y("keypress",function(e){m(t);let n=c(2);return u(n.specialcharpanel(e))}),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.inqModel.City,e)||(n.inqModel.City=e),u(e)}),a()()}if(o&2){let t=c(2);l(3),g("ngModel",t.inqModel.City)}}function Eo(o,d){if(o&1){let t=M();r(0,"mat-form-field",20)(1,"mat-label"),p(2,"City"),a(),r(3,"input",67),y("keypress",function(e){m(t);let n=c(2);return u(n.specialcharpanel(e))}),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.inqModel.City,e)||(n.inqModel.City=e),u(e)}),a()()}if(o&2){let t=c(2);l(3),g("ngModel",t.inqModel.City)}}function Vo(o,d){if(o&1&&(r(0,"mat-option",57),p(1),a()),o&2){let t=d.$implicit;_("value",t.Value),l(),P(" ",t.Value," ")}}function Lo(o,d){if(o&1){let t=M();r(0,"div",19)(1,"mat-form-field",20)(2,"mat-label"),p(3,"County"),a(),r(4,"mat-select",68),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.inqModel.County,e)||(n.inqModel.County=e),u(e)}),C(5,Vo,2,2,"mat-option",28),a()()()}if(o&2){let t=c(2);l(4),g("ngModel",t.inqModel.County),_("ngModelOptions",Ge(3,gt)),l(),_("ngForOf",t.countyList)}}function Oo(o,d){o&1&&(r(0,"label",69),p(1," Please enter the accurate address, PO BOX is not acceptable. "),a())}function ko(o,d){o&1&&(r(0,"label",69),p(1," Please enter the accurate address, PO BOX is not acceptable. "),a())}function Ao(o,d){if(o&1){let t=M();oe(0),r(1,"mat-checkbox",46),y("ngModelChange",function(e){let n=m(t).$implicit,x=c(2);return u(x.onUsedSensorChange(n,e))}),p(2),a(),w(3,"br"),re()}if(o&2){let t=d.$implicit;l(),_("ngModelOptions",Ge(3,gt))("ngModel",t.IsChecked),l(),I(t.Display)}}function Fo(o,d){if(o&1){let t=M();oe(0),r(1,"mat-checkbox",46),y("ngModelChange",function(e){let n=m(t).$implicit,x=c(2);return u(x.onRequiredSensorChange(n,e))}),p(2),a(),w(3,"br"),re()}if(o&2){let t=d.$implicit;l(),_("ngModelOptions",Ge(3,gt))("ngModel",t.IsChecked),l(),I(t.Display)}}function Ro(o,d){o&1&&(r(0,"div",70),p(1,"Please select input field"),a())}function Wo(o,d){o&1&&(r(0,"div",72),p(1," Required Re-captcha "),a())}function No(o,d){if(o&1){let t=M();r(0,"div",53)(1,"re-captcha",71),y("resolved",function(e){m(t);let n=c(2);return u(n.resolved(e))}),a(),C(2,Wo,2,0,"div",72),a()}if(o&2){let t=c(2);l(),N("siteKey",t.recaptcha),l(),v(t.recaptchaErrMessage?2:-1)}}function Bo(o,d){if(o&1&&(w(0,"div",81),O(1,"safeHtml")),o&2){let t=c(3);_("innerHTML",j(1,1,t.inquiryFAQ),Z)}}function Uo(o,d){if(o&1&&w(0,"app-faq-list",82),o&2){let t=c(3);_("faqs",t.faqs)}}function Do(o,d){if(o&1){let t=M();r(0,"div",73),y("click",function(){m(t);let e=c(2);return u(e.ToggleButton())}),r(1,"div",74),y("click",function(e){return m(t),u(e.stopPropagation())}),r(2,"div",75),w(3,"img",76),r(4,"h4",77),p(5,"Frequently Asked Questions (FAQ)"),a(),r(6,"mat-dialog-actions")(7,"button",78),y("click",function(){m(t);let e=c(2);return u(e.ToggleButton())}),r(8,"i",79),p(9,"highlight_off "),a()()()(),r(10,"div",80),C(11,Bo,2,3,"div",81)(12,Uo,1,1,"app-faq-list",82),a()()()}if(o&2){let t=c(2);l(3),B("src","",t.FileHostUrl,"/content/futek/images/home/futek_logo_white.png",L),l(8),v(t.useRumiApiFFSprint64_65?12:11)}}function Qo(o,d){if(o&1){let t=M();r(0,"form",17,0),y("ngSubmit",function(){m(t);let e=c();return u(e.SubmitPaymentQuestion())}),r(2,"div",18)(3,"div",19)(4,"mat-form-field",20)(5,"mat-label"),p(6,"First Name"),a(),r(7,"input",21),h("ngModelChange",function(e){m(t);let n=c();return f(n.inqModel.FirstName,e)||(n.inqModel.FirstName=e),u(e)}),y("keypress",function(e){m(t);let n=c();return u(n.specialcharactersfirstName(e))}),a()()(),r(8,"div",19)(9,"mat-form-field",20)(10,"mat-label"),p(11,"Last Name"),a(),r(12,"input",22),h("ngModelChange",function(e){m(t);let n=c();return f(n.inqModel.LastName,e)||(n.inqModel.LastName=e),u(e)}),y("keypress",function(e){m(t);let n=c();return u(n.specialcharactersfirstName(e))}),a()()(),r(13,"div",19)(14,"mat-form-field",20)(15,"mat-label"),p(16,"Title"),a(),r(17,"input",23),h("ngModelChange",function(e){m(t);let n=c();return f(n.inqModel.Title,e)||(n.inqModel.Title=e),u(e)}
4),a()()()(),r(18,"div",18)(19,"div",19)(20,"mat-form-field",20)(21,"mat-label"),p(22,"Email"),a(),r(23,"input",24),y("blur",function(){m(t);let e=c();return u(e.getdomain(e.inqModel.Email))}),h("ngModelChange",function(e){m(t);let n=c();return f(n.inqModel.Email,e)||(n.inqModel.Email=e),u(e)}),a()()(),r(24,"div",19)(25,"mat-form-field",20)(26,"mat-label"),p(27,"Company"),a(),r(28,"input",25),h("ngModelChange",function(e){m(t);let n=c();return f(n.inqModel.Company,e)||(n.inqModel.Company=e),u(e)}),a()()(),r(29,"div",19)(30,"mat-form-field",20)(31,"mat-label"),p(32,"Department"),a(),r(33,"input",26),h("ngModelChange",function(e){m(t);let n=c();return f(n.inqModel.Department,e)||(n.inqModel.Department=e),u(e)}),a()()()(),r(34,"div",18)(35,"div",19)(36,"mat-form-field",20)(37,"mat-label"),p(38,"Industry"),a(),r(39,"mat-select",27),h("ngModelChange",function(e){m(t);let n=c();return f(n.inqModel.IndustryTypeId,e)||(n.inqModel.IndustryTypeId=e),u(e)}),C(40,go,2,2,"mat-option",28),a()()(),r(41,"div",19),C(42,fo,1,0,"app-select-project-stage")(43,ho,1,0,"app-project-stage-selector"),a(),r(44,"div",19),C(45,Co,5,2,"mat-form-field",20)(46,xo,1,0,"app-lead-source-selector"),a()(),C(47,Mo,6,1,"div",18),r(48,"div",18)(49,"div",29),p(50,"Address:"),a()(),r(51,"div",18)(52,"div",19)(53,"mat-form-field",20)(54,"mat-label"),p(55,"Country"),a(),r(56,"mat-select",30),h("ngModelChange",function(e){m(t);let n=c();return f(n.inqModel.Country,e)||(n.inqModel.Country=e),u(e)}),y("selectionChange",function(){m(t);let e=c();return u(e.CountryChange(e.inqModel.Country))}),C(57,So,2,2,"mat-option",28),a()()(),r(58,"div",31)(59,"span",32),w(60,"img",33),a(),r(61,"span",34)(62,"input",35),h("ngModelChange",function(e){m(t);let n=c();return f(n.IntPhone,e)||(n.IntPhone=e),u(e)}),a()(),r(63,"span",36)(64,"mat-form-field",20)(65,"mat-label"),p(66,"Phone"),a(),r(67,"input",37),h("ngModelChange",function(e){m(t);let n=c();return f(n.inqModel.Phone,e)||(n.inqModel.Phone=e),u(e)}),a()()()()(),r(68,"div",18)(69,"div",19),C(70,wo,4,1,"mat-form-field",38)(71,vo,4,1,"mat-form-field",38),a(),r(72,"div",19),C(73,Io,5,3,"mat-form-field",38)(74,bo,4,1,"mat-form-field",38)(75,Po,4,1,"mat-form-field",38),a(),r(76,"div",19),C(77,To,4,1,"mat-form-field",38)(78,Eo,4,1,"mat-form-field",38),a()(),r(79,"div",18),C(80,Lo,6,4,"div",39),r(81,"div",19)(82,"mat-form-field",20)(83,"mat-label"),p(84,"Street Address"),a(),r(85,"input",40),h("ngModelChange",function(e){m(t);let n=c();return f(n.inqModel.AddressLineOne,e)||(n.inqModel.AddressLineOne=e),u(e)}),y("blur",function(){m(t);let e=c();return u(e.addressBoxError())}),a()(),C(86,Oo,2,0,"label",41),a(),r(87,"div",19)(88,"mat-form-field",20)(89,"mat-label"),p(90,"Street Address 2"),a(),r(91,"input",42),h("ngModelChange",function(e){m(t);let n=c();return f(n.inqModel.AddressLineTwo,e)||(n.inqModel.AddressLineTwo=e),u(e)}),y("blur",function(){m(t);let e=c();return u(e.address2BoxError())}),a()(),C(92,ko,2,0,"label",41),a()(),r(93,"div",18)(94,"div",19)(95,"div",43),p(96,"What type of sensor do you currently use?"),a(),r(97,"div",44),C(98,Ao,4,4,"ng-container",45),r(99,"mat-checkbox",46),y("ngModelChange",function(e){m(t);let n=c();return u(n.onUsedSensorsNoneAboveChange(e))}),p(100),a()()(),r(101,"div",47)(102,"div",43),p(103,"What type of sensor do you require for your upcoming application?"),a(),r(104,"div",44),C(105,Fo,4,4,"ng-container",45),r(106,"mat-checkbox",46),y("ngModelChange",function(e){m(t);let n=c();return u(n.onRequiredSensorsUnsureChange(e))}),p(107),a()()()(),r(108,"div",18)(109,"div",47)(110,"mat-form-field",20)(111,"mat-label"),p(112,"Describe your application."),a(),r(113,"textarea",48),h("ngModelChange",function(e){m(t);let n=c();return f(n.inqModel.Description,e)||(n.inqModel.Description=e),u(e)}),a()()()(),r(114,"div",18)(115,"div",19)(116,"div",49),p(117,"Attach Image/File:"),a(),r(118,"input",50),h("ngModelChange",function(e){m(t);let n=c();return f(n.inqModel.filename,e)||(n.inqModel.filename=e),u(e)}),y("change",function(e){m(t);let n=c();return u(n.onFileChange(e))}),a(),r(119,"div",51),p(120,"JPEG, JPG, GIF, PNG, and PDF files accepted"),a(),C(121,Ro,2,0,"div",52),a(),C(122,No,3,2,"div",53),a(),r(123,"div",18)(124,"p",43),p(125,"The user represents that he/she (i) has authority to send any information he/she provides to FUTEK and (ii) FUTEK will use the information solely for purposes of responding to the inquiry presented."),a()(),r(126,"div",18)(127,"div",54)(128,"button",55),p(129," Submit "),a()()(),C(130,Do,13,3,"div",56),a()}if(o&2){let t=c();l(7),g("ngModel",t.inqModel.FirstName),l(5),g("ngModel",t.inqModel.LastName),l(5),g("ngModel",t.inqModel.Title),l(6),g("ngModel",t.inqModel.Email),l(5),g("ngModel",t.inqModel.Company),l(5),g("ngModel",t.inqModel.Department),l(6),g("ngModel",t.inqModel.IndustryTypeId),l(),_("ngForOf",t.indusTypeList),l(2),v(t.useRumiApiFFSprint62_63?43:42),l(3),v(t.useRumiApiFFSprint62_63?46:45),l(2),v(t.isInformationSourceOther?47:-1),l(9),g("ngModel",t.inqModel.Country),l(),_("ngForOf",t.countryList),l(3),N("src",t.selectedCountryFlagUrl,L),l(2),g("ngModel",t.IntPhone),l(5),g("ngModel",t.inqModel.Phone),l(3),_("ngIf",t.IsUS),l(),_("ngIf",!t.IsUS),l(2),_("ngIf",t.IsUS),l(),_("ngIf",!t.IsUS&&t.inqModel.Country=="ca"),l(),_("ngIf",!t.IsUS&&t.inqModel.Country!="ca"),l(2),_("ngIf",t.IsUS||t.inqModel.Country=="ca"),l(),_("ngIf",!t.IsUS&&t.inqModel.Country!="ca"),l(2),_("ngIf",t.IsCaliforniaState),l(5),g("ngModel",t.inqModel.AddressLineOne),l(),_("ngIf",t.address1POBoxError),l(5),g("ngModel",t.inqModel.AddressLineTwo),l(),_("ngIf",t.address2POBoxError),l(6),_("ngForOf",t.inqModel.UsedSensors),l(),_("ngModelOptions",Ge(41,gt))("ngModel",t.inqModel.UsedSensorsNoneAbove.IsChecked),l(),P(" ",t.inqModel.UsedSensorsNoneAbove.Display,""),l(5),_("ngForOf",t.inqModel.RequiredSensors),l(),_("ngModelOptions",Ge(42,gt))("ngModel",t.inqModel.RequiredSensorsUnsure.IsChecked),l(),P(" ",t.inqModel.RequiredSensorsUnsure.Display,""),l(6),g("ngModel",t.inqModel.Description),l(5),g("ngModel",t.inqModel.filename),l(3),_("ngIf",t.showFileError),l(),v(t.useRumiApiFFSprint62_63?-1:122),l(8),v(t.faqshowSelected?130:-1)}}function zo(o,d){if(o&1&&(r(0,"div",83),w(1,"iframe",84),O(2,"safe"),a()),o&2){let t=c();l(),_("src",Te(2,1,t.pardotUrl,"resourceUrl"),ne)}}var Ke=class Ke{constructor(){s(this,"FileHostUrl",q.FileHostUrl);s(this,"recaptcha",q.recaptcha);s(this,"inquiryFAQ",{});s(this,"faqs",[]);s(this,"inqModel",new bt);s(this,"countryList",[]);s(this,"statesTypeList",[]);s(this,"indusTypeList",[]);s(this,"infoSourceList",[]);s(this,"pardotUrl","");s(this,"responseMessage",!1);s(this,"isRecaptchaValidate",!1);s(this,"recaptchaErrMessage",!1);s(this,"applicationinquiry");s(this,"snackbar");s(this,"showFileError",!1);s(this,"IsCaliforniaState",!1);s(this,"IsUS",!0);s(this,"webPageTitle","Application Inquiry Contact FUTEK");s(this,"isLoading",!1);s(this,"fileInfo");s(this,"faqshowSelected",!1);s(this,"isInformationSourceOther",!1);s(this,"isReadOnly");s(this,"address1POBoxError");s(this,"address2POBoxError");s(this,"selectedCountryFlagUrl");s(this,"IntPhone");s(this,"countyList",[]);s(this,"accountService",S(xe));s(this,"seoClientService",S(G));s(this,"meta",S(U));s(this,"titleService",S(D));s(this,"router",S(Q));s(this,"route",S($e));s(this,"contactService",S(k));s(this,"contactsService",S(Ce));s(this,"snackBar",S(we));s(this,"recaptchaService",S(Ie));s(this,"gtmService",S(it));s(this,"featureFlagsService",S(ye));s(this,"inquiryService",S(at));s(this,"useRumiApiFFSprint62_63",this.featureFlagsService.IsEnabled(H.RumiApi62_63));s(this,"useRumiApiFFSprint64_65",this.featureFlagsService.IsEnabled(H.RumiApi64_65)
4);s(this,"projectStageId",null);s(this,"leadSourceId",null);s(this,"isLeadSourceOther",null);s(this,"countryOptions",[])}ngOnInit(){this.initializeDefaults(),this.initializeSeo(),this.initializeApplicationInfo(),this.loadApplicationInquiry(),this.loadFaq()}initializeDefaults(){this.IntPhone="+1",this.selectedCountryFlagUrl=`${q.OptimizelyCMSBaseUrl}globalassets/countryflags/united-states.png`,this.inqModel.RequiredSensorsUnsure={IsChecked:!1,Display:"Unsure"},this.inqModel.UsedSensorsNoneAbove={IsChecked:!1,Display:"None of the above"},this.inqModel.Country="us"}initializeSeo(){this.seoClientService.createLinkForCanonicalURL(),this.titleService.setTitle(this.webPageTitle),this.meta.updateTag({name:"description",content:this.webPageTitle}),this.meta.updateTag({name:"keywords",content:this.webPageTitle})}initializeApplicationInfo(){this.inqModel.applicationName=this.route.snapshot.paramMap.get("application-name")||"",this.inqModel.applicationCode=this.route.snapshot.paramMap.get("application-code")||""}loadApplicationInquiry(){this.contactService.getApplicationInquiry().subscribe(d=>{let{InquiryModel:t,ContactSelectList:i}=d;this.inqModel.RequiredSensors=t.RequiredSensors,this.inqModel.UsedSensors=t.UsedSensors,this.countyList=i.CaliforniaCountyList,this.statesTypeList=i.StatesTypeList,this.useRumiApiFFSprint62_63||(this.countryList=i.CountriesTypeList,this.infoSourceList=i.InformationSourceList,this.indusTypeList=i.IndustryTypeList)}),this.useRumiApiFFSprint62_63&&this.contactsService.getContactFormOptions().subscribe(d=>{this.countryOptions=d.countries??[],this.countryList=(d.countries??[]).map(t=>({Value:t.code?.toLowerCase(),Text:t.name,PhoneCode:t.phoneCode})),this.indusTypeList=(d.industries??[]).map(t=>({Value:t.id,Text:t.description}))})}loadFaq(){if(!this.useRumiApiFFSprint64_65){this.loadLegacyFaq();return}this.contactsService.getFaqsByType(We.Application).subscribe(d=>{this.faqs=Oe(d)})}loadLegacyFaq(){this.contactService.getFaqApplication().subscribe(d=>{this.inquiryFAQ=d.Content})}resolved(d){this.isRecaptchaValidate=!0,this.recaptchaErrMessage=!1;let t={event:"application_inquiry_page",eventCategory:"application_inquiry_page",eventAction:"form",eventLabel:"captcha_clicked",pagepath:this.router.url,userId:localStorage.getItem("userId")??""};this.gtmService.pushTag(t)}onFileChange(d){if(this.fileInfo=d.target.files[0],this.fileInfo=="undefined"){this.showFileError=!0;return}this.showFileError=!1;let t={event:"application_inquiry_page",eventCategory:"application_inquiry_page",eventAction:"form",eventLabel:"Choose_file_button_click",pagepath:this.router.url,userId:localStorage.getItem("userId")??""};this.gtmService.pushTag(t)}updateIsInformationSourceOther(){this.isInformationSourceOther=this.isLeadSourceOther||this.inqModel.InformationSource?.toLowerCase().includes("please specify")}submitOnEdit(){window.scrollTo(0,0)}SubmitPaymentQuestion(){if(!this.useRumiApiFFSprint62_63){let t=this.recaptchaService.validateRecaptcha(this.isRecaptchaValidate);if(this.recaptchaErrMessage=t.recaptchaErrMessage,this.showFileError=t.showFileError,this.recaptchaErrMessage||this.showFileError)return}
4if(this.showFileError=this.fileInfo=="undefined",this.showFileError)return;if(!(this.applicationinquiry.valid&&!this.address1POBoxError&&!this.address2POBoxError)){this.applicationinquiry.control.markAllAsTouched(),new E(this.snackBar).openSnackBar("Please select all the required fields.","close");return}if(this.submitOnEdit(),!this.useRumiApiFFSprint62_63){this.sendLegacyApplicationInquiry();return}this.sendApplicationInquiry()}sendApplicationInquiry(){return A(this,null,function*(){this.pushApplicationInquiryAnalytics(),this.isLoading=!0;let d;try{d=yield this.buildApplicationInquiryDto()}catch{this.snackbar=new E(this.snackBar),this.snackbar.openSnackBar("Something went wrong. Please try again.","close"),this.isLoading=!1;return}this.inquiryService.submitApplicationInquiry(d).subscribe({next:t=>{this.pardotUrl=t.pardotUrl??"",this.applicationinquiry.resetForm(),this.responseMessage=!0,setTimeout(()=>{this.router.navigate(["/about/contact"])},5*1e3)},error:()=>{this.snackbar=new E(this.snackBar),this.snackbar.openSnackBar("Something went wrong. Please try again.","close"),this.isLoading=!1},complete:()=>{this.isLoading=!1}})})}buildApplicationInquiryDto(){return A(this,null,function*(){let d=yield ie(this.recaptchaService.getRecaptchaV3Token(be.APPLICATION)),t=this.inqModel.InformationSourceOther||null;return{leadSourceId:this.leadSourceId??void 0,leadSourceOther:t,currentUsedSensor:this.buildSensorSelection(this.inqModel.UsedSensors,this.inqModel.UsedSensorsNoneAbove,Ue.NoneOfTheAbove),requiredSensor:this.buildSensorSelection(this.inqModel.RequiredSensors,this.inqModel.RequiredSensorsUnsure,Ue.Unsure),address:{countryId:this.countryOptions.find(i=>i.code?.toLowerCase()===this.inqModel.Country)?.id,country:this.inqModel.Country,stateProvinceRegion:this.IsUS?this.inqModel.State:this.inqModel.UsaState,city:this.inqModel.City,phone:`${this.IntPhone}${this.inqModel.Phone}`,postalCode:this.inqModel.PostalCode,addressLine1:this.inqModel.AddressLineOne,addressLine2:this.inqModel.AddressLineTwo},contactInformation:{firstName:this.inqModel.FirstName,lastName:this.inqModel.LastName,title:this.inqModel.Title,email:this.inqModel.Email,company:this.inqModel.Company,department:this.inqModel.Department,industryId:this.inqModel.IndustryTypeId},projectStageId:this.projectStageId,description:this.inqModel.Description,attachment:this.fileInfo||null,recaptchaToken:d}})}onUsedSensorsNoneAboveChange(d){this.inqModel.UsedSensorsNoneAbove.IsChecked=d,d&&this.inqModel.UsedSensors.forEach(t=>t.IsChecked=!1)}onUsedSensorChange(d,t){d.IsChecked=t,t&&(this.inqModel.UsedSensorsNoneAbove.IsChecked=!1)}onRequiredSensorsUnsureChange(d){this.inqModel.RequiredSensorsUnsure.IsChecked=d,d&&this.inqModel.RequiredSensors.forEach(t=>t.IsChecked=!1)}onRequiredSensorChange(d,t){d.IsChecked=t,t&&(this.inqModel.RequiredSensorsUnsure.IsChecked=!1)}buildSensorSelection(d,t,i){let e=(d??[]).filter(x=>x.IsChecked).map(x=>x.Display?.toLowerCase()??""),n=Ke.SENSOR_KEYWORD_TYPES.filter(([x])=>e.some(V=>V.includes(x))).map(([,x])=>x);return t?.IsChecked?[...n,i]:n}sendLegacyApplicationInquiry(){let d=new FormData;d.append("inquirymodel",JSON.stringify(this.inqModel)),d.append("MyFile",this.fileInfo),this.pushApplicationInquiryAnalytics(),this.isLoading=!0,this.contactService.saveApplicationInquiry(d).subscribe({next:t=>{this.applicationinquiry.resetForm(),this.responseMessage=!0,this.pardotUrl=t,setTimeout(()=>{this.router.navigate(["/about/contact"])},5*1e3)},error:()=>{this.snackbar=new E(this.snackBar),this.snackbar.openSnackBar("Something went wrong. Please try again.","close")},complete:()=>{this.isLoading=!1}})}pushApplicationInquiryAnalytics(){let d=localStorage.getItem("userId")??"",i={event:"application_inquiry_page",pagepath:this.router.url,userId:d},e=this.inqModel.UsedSensors.filter(x=>x.IsChecked);e.length&&this.gtmService.pushTag(Je(De({},i),{eventCategory:"form",eventAction:"What type of sensor do you currently use?",eventLabel:e.map(x=>x.Display).join(", ")}));let n=this.inqModel.RequiredSensors.filter(x=>x.IsChecked);n.length&&this.gtmService.pushTag(Je(De({},i),{eventCategory:"form",eventAction:"What type of sensor do you require for your upcoming application?",eventLabel:n.map(x=>x.Display).join(", ")})),this.gtmService.pushTag(Je(De({},i),{eventCategory:"application_inquiry_page",eventAction:"form",eventLabel:"Submit_button_click"}))}CountryChange(d){let t=this.countryList.filter(i=>i.Value==d);this.selectedCountryFlagUrl=`${q.OptimizelyCMSBaseUrl}globalassets/countryflags/${t[0].Text.replace(/\s+/g,"-").toLowerCase()}.png`,t.length>0?this.IntPhone=t[0].PhoneCode?"+"+t[0].PhoneCode:"":this.IntPhone="",this.inqModel.PostalCode="",this.inqModel.AddressLineTwo="",this.inqModel.AddressLineOne="",this.inqModel.City="",this.inqModel.ZipPostalCode="",this.inqModel.State="",d=="us"?(this.IsUS=!0,this.inqModel.State=""):(this.IsUS=!1,this.inqModel.UsaState="",this.isReadOnly=!1,this.IsCaliforniaState=!1)}StateChange(d){this.IsCaliforniaState=d=="CA"}getdomain(d){d!=null&&(d=d.split("@")[1],d=d.replace(".","|"))}addressBoxError(){this.address1POBoxError=Me(this.inqModel.AddressLineOne)}address2BoxError(){this.address2POBoxError=Me(this.inqModel.AddressLineTwo)}getAddress(d){this.inqModel.City="",this.inqModel.State="",this.inqModel.County="";let t=d.replace(/\s/g,"");if(this.IsCaliforniaState=!1,this.inqModel.Country!=="us"||t.length!==5){this.isReadOnly=!1;return}this.accountService.getAddress(d).subscribe(i=>{let e=JSON.parse(i);if(e.status=="ZERO_RESULTS")return;let n=e.results[0],{formatted_address:x,address_components:V}=n,b=x.split(",",1)[0],R=x.split(", ")[1].split(" ")[0];this.inqModel.City=b,this.inqModel.State=R,this.isReadOnly=!0,this.StateChange(R);let te=V[2].long_name.split(" ");this.inqModel.County=te.slice(0,te.length-1).join(" ")})}ToggleButton(){this.faqshowSelected=!this.faqshowSelected;let d={event:"application_inquiry_page",eventCategory:"application_inquiry_page",eventAction:"form",eventLabel:this.faqshowSelected?"FAQ_page_open":"FAQ_page_close",pagepath:this.router.url,userId:localStorage.getItem("userId")??""};this.gtmService.pushTag(d)}
4specialcharpanel(d){return F(d.charCode,{allowHyphen:!0})}specialcharactersfirstName(d){return F(d.charCode,{allowHyphen:!0,allowPeriod:!0,allowApostrophe:!0})}setProjectStage(d){this.inqModel.ProjectStage=d}setProjectStageId(d){this.projectStageId=d}setLeadSourceId(d){this.leadSourceId=d}setLeadSourceOther(d){this.isLeadSourceOther=d,this.updateIsInformationSourceOther()}};s(Ke,"SENSOR_KEYWORD_TYPES",[["load cell",Ue.LoadCell],["torque",Ue.TorqueSensor],["pressure",Ue.PressureSensor],["multi",Ue.MultiAxisSensor],["custom",Ue.CustomSensor],["software",Ue.Software],["force",Ue.ForceSensor]]),s(Ke,"\u0275fac",function(t){return new(t||Ke)}),s(Ke,"\u0275cmp",W({type:Ke,selectors:[["app-application-inquiry"]],viewQuery:function(t,i){if(t&1&&Y(mo,5),t&2){let e;$(e=ee())&&(i.applicationinquiry=e.first)}},decls:21,vars:4,consts:[["applicationinquiry","ngForm"],[1,"main-panel"],[1,"panel-wrapper"],[1,"breadcrumbs"],["routerLink","/about/contact",1,"text-l","semibold","text-color-tertiary"],[1,"material-icons","text-color-tertiary"],[1,"text-l","semibold","text-color-tertiary"],["data-epi-edit","Name"],[1,"text-l","semibold","text-color-primary",3,"click"],[1,"h5","productTechnicalmb1"],["class","loader-overlay-light",4,"ngIf"],["class","custom-form","name","applicationinquiry","novalidate","",3,"ngSubmit",4,"ngIf"],[1,"apclear"],["class","hide",4,"ngIf"],[1,"loader-overlay-light"],[1,"loadingpanel"],["mode","indeterminate",1,"spinner"],["name","applicationinquiry","novalidate","",1,"custom-form",3,"ngSubmit"],[1,"row"],[1,"col-md-4"],["appearance","outline",1,"form-field"],["name","firstName","matInput","","placeholder","First Name","maxlength","50","required","","noWhitespace","",3,"ngModelChange","keypress","ngModel"],["matInput","","placeholder","Last Name","name","lastName","maxlength","50","required","","noWhitespace","",3,"ngModelChange","keypress","ngModel"],["name","title","matInput","","placeholder","Title","maxlength","50","required","","noWhitespace","",3,"ngModelChange","ngModel"],["matInput","","placeholder","Email","name","email","pattern","^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,10}$","maxlength","100","required","","noWhitespace","",3,"blur","ngModelChange","ngModel"],["name","company","matInput","","placeholder","Company","maxlength","100","required","","noWhitespace","",3,"ngModelChange","ngModel"],["matInput","","placeholder","Department","name","department","maxlength","70","required","","noWhitespace","",3,"ngModelChange","ngModel"],["name","industry","required","","placeholder","Industry",3,"ngModelChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],[1,"Addresstextv1"],["name","country","required","","placeholder","Country",3,"ngModelChange","selectionChange","ngModel"],[1,"col-md-4","zip-country"],[1,"zipcountyimagh1"],["alt","Country flag",2,"height","auto","width","25px","object-fit","contain",3,"src"],[1,"zipcountyimagh2"],["placeholder","Phone","name","IntPhone","readonly","",1,"inputpanelkl1",3,"ngModelChange","ngModel"],[1,"zipcountyimagh3"],["matInput","","placeholder","949-465-0900","name","phone","onkeypress","return event.charCode >= 48 && event.charCode <= 57","type","text","minlength","10","maxlength","15","required","","noWhitespace","",3,"ngModelChange","ngModel"],["appearance","outline","class","form-field",4,"ngIf"],["class","col-md-4",4,"ngIf"],["matInput","","placeholder","Street Address","name","streetaddress","minlength","1","maxlength","100","required","","noWhitespace","",3,"ngModelChange","blur","ngModel"],["class","streeterror",4,"ngIf"],["matInput","","placeholder","Street Address 2","name","address2","minlength","1","maxlength","150",3,"ngModelChange","blur","ngModel"],[1,"whatinterestedtextv1"],[1,"Instrumentv1"],[4,"ngFor","ngForOf"],["name","instrument",3,"ngModelChange","ngModelOptions","ngModel"],[1,"col-md-8"],["matInput","","placeholder","Describe your application.","name","Description","maxlength","150","required","","noWhitespace","",3,"ngModelChange","ngModel"],[1,"paAttachta1"],["type","file","name","file","accept","application/vnd.ms-excel, application/pdf, image/*",1,"attach-files",3,"ngModelChange","change","ngModel"],[1,"Attachta2"],["class","fileerror",4,"ngIf"],[1,"col-6"],[1,"btncenter","submitplm"],["type","submit",1,"primary-button"],[1,"row","faqpanelmain"],[3,"value"],[3,"projectStageSelected"],["name","infoSource","id","applicationInquiryField","required","","placeholder","How did you hear about us?",3,"selectionChange","ngModelChange","ngModel"],[3,"leadSourceSelected","isLeadSourceOther"],["matInput","","placeholder","Please specify","id","informationSourceOther","required","","noWhitespace","","name","informationSourceOther","type","text","maxLength","200",3,"ngModelChange","ngModel"],["matInput","","placeholder","Zip / Postal Code","type","text","minlength","5","maxlength","5","name","zippostalcode","onkeypress","return event.charCode >= 48 && event.charCode <= 57","pattern","\\d*","required","","noWhitespace","",3,"ngModelChange","blur","ngModel"],["matInput","","placeholder","Zip / Postal Code","type","text","minlength","3","maxlength","10","pattern","[a-zA-Z0-9 -]+","required","","noWhitespace","","name","zippostalcode",3,"keypress","ngModelChange","ngModel"],["name","State","required","","placeholder","State",3,"ngModelChange","selectionChange","ngModel","disabled"],["matInput","","placeholder","State / Province / Region","name","regi
4on","maxlength","50","required","","noWhitespace","",3,"keypress","ngModelChange","ngModel"],["matInput","","placeholder","City","name","city","minlength","1","maxlength","50","required","","noWhitespace","",3,"keypress","ngModelChange","ngModel"],["matInput","","placeholder","City","name","city","required","","noWhitespace","",3,"keypress","ngModelChange","ngModel"],["required","","noWhitespace","",3,"ngModelChange","ngModel","ngModelOptions"],[1,"streeterror"],[1,"fileerror"],[3,"resolved","siteKey"],[1,"recaptcha_error"],[1,"row","faqpanelmain",3,"click"],[1,"Frequentlyqu1",3,"click"],[1,"header"],["alt","Futekfaq",1,"logo-modal",3,"src"],[1,"h6","faq-panel-title"],["mat-button","","mat-dialog-close","",1,"close-button",3,"click"],[1,"material-icons"],[1,"content-wrapper"],[1,"text-m","text-color-primary",3,"innerHTML"],[3,"faqs"],[1,"hide"],[3,"src"]],template:function(t,i){t&1&&(r(0,"div",1)(1,"div",2)(2,"div",3)(3,"a",4),p(4,"Contact Us"),a(),r(5,"i",5),p(6,"keyboard_arrow_right "),a(),r(7,"p",6),p(8,"Application Inquiry"),a(),r(9,"i",5),p(10,"keyboard_arrow_right "),a(),r(11,"p",7)(12,"a",8),y("click",function(){return i.ToggleButton()}),p(13,"FAQ"),a()()(),r(14,"h1",9),p(15,"Application Inquiry"),a(),C(16,uo,1,0,"app-response-message")(17,_o,3,0,"div",10)(18,Qo,131,43,"form",11),w(19,"div",12),C(20,zo,3,4,"div",13),a()()),t&2&&(l(16),v(i.responseMessage?16:-1),l(),_("ngIf",i.isLoading),l(),_("ngIf",!i.responseMessage),l(2),_("ngIf",i.pardotUrl))},dependencies:[Ee,K,pe,ae,se,le,me,Ve,ue,_e,ce,de,Le,ke,Mt,Fe,Re,he,fe,ge,Se,Ae,nt,vt,qt,It,ve,Be,qe,J,X,Ne],styles:[".panel-wrapper[_ngcontent-%COMP%] .faqpanelmain[_ngcontent-%COMP%] .Frequentlyqu1[_ngcontent-%COMP%]{padding:0}.panel-wrapper[_ngcontent-%COMP%] .faqpanelmain[_ngcontent-%COMP%] .mdc-dialog__actions[_ngcontent-%COMP%]{position:relative;padding:0;top:0;right:0;left:auto;justify-content:flex-end}.panel-wrapper[_ngcontent-%COMP%] .faqpanelmain[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{color:var(--white-color);min-width:fit-content}.panel-wrapper[_ngcontent-%COMP%] .faqpanelmain[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{background-color:var(--bg-brand-primary);display:flex;align-items:center;justify-content:space-between}.panel-wrapper[_ngcontent-%COMP%] .faqpanelmain[_ngcontent-%COMP%] .faq-panel-title[_ngcontent-%COMP%]{color:var(--white-color);margin:0}.panel-wrapper[_ngcontent-%COMP%] .faqpanelmain[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%]{padding:1rem}.panel-wrapper[_ngcontent-%COMP%] .faqpanelmain[_ngcontent-%COMP%] .h6[_ngcontent-%COMP%]{margin:.5rem 0}.panel-wrapper[_ngcontent-%COMP%] .attach-files[_ngcontent-%COMP%]{padding:.5rem;border:1px solid var(--divider-default);border-radius:4px;margin-left:0;margin-bottom:5px}.panel-wrapper[_ngcontent-%COMP%] .custom-form[_ngcontent-%COMP%]{margin-right:-30px}@media screen and (max-width: 767px){.panel-wrapper[_ngcontent-%COMP%] .custom-form[_ngcontent-%COMP%]{margin-right:0}}.panel-wrapper[_ngcontent-%COMP%] .custom-form[_ngcontent-%COMP%] .zipcountyimagh3[_ngcontent-%COMP%]{width:100%}.hide[_ngcontent-%COMP%]{display:none}.fileerror[_ngcontent-%COMP%]{display:none;color:red;font-size:14px;margin-left:8px}.apclear[_ngcontent-%COMP%]{width:100%;height:60px}.paAttachta1[_ngcontent-%COMP%]{width:100%;font-family:Nunito Sans,sans-serif;letter-spacing:.02em;font-size:10pt;margin-bottom:0;font-weight:400;padding:0 3px 5px 9px}.Instrumentv1[_ngcontent-%COMP%]{margin:5px 13px;font-size:10pt}.Instrumentv1[_ngcontent-%COMP%] mat-checkbox[_ngcontent-%COMP%]{--mdc-checkbox-state-layer-size: 24px;display:inline-flex;align-items:center;margin-bottom:6px}.col-md-8[_ngcontent-%COMP%], .col-md-6[_ngcontent-%COMP%], .col-md-12[_ngcontent-%COMP%]{padding-right:0;padding-left:0;width:100%}.faqclosedicon[_ngcontent-%COMP%]{float:right;cursor:pointer;background:#d4edda;border-radius:60px;width:27px;height:25px;position:absolute;z-index:99;padding:1px;margin:-14px 0 0 1005px}@media (min-width: 320px) and (max-width: 680px){.productstoresubheadertext[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .productstoretitlepl1[_ngcontent-%COMP%] i[_ngcontent-%COMP%], div.Storetextv1[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{position:relative;top:3px;font-size:20px}}@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait){div.Storetextv1[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .productstoresubheadertext[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .productstoretitlepl1[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{position:relative;top:0;font-size:20px}}@media all and (device-width: 1024px) and (device-height: 768px) and (orientation:landscape){div.Storetextv1[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .productstoresubheadertext[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .productstoretitlepl1[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{position:relative;top:2px;font-size:20px}.examplemainpanel[_ngcontent-%COMP%]{padding:68px 0 0 16px}} form:not(.custom-form) .mat-mdc-form-field .mdc-text-field--outlined{--mdc-outlined-text-field-outline-width: 1px;
4--mdc-outlined-text-field-outline-color: #e0e0e0 !important;--mdc-outlined-text-field-focus-outline-width: 1px !important;--mdc-outlined-text-field-focus-outline-color: #e0e0e0 !important;--mdc-outlined-text-field-hover-outline-color: #949494 !important}"]}));var st=Ke;var kt=class{constructor(){s(this,"id");s(this,"stateOrProvince");s(this,"repEmails");s(this,"country");s(this,"address");s(this,"contactInfo");s(this,"interestedIn");s(this,"productTypes");s(this,"capacity");s(this,"quantityRequired");s(this,"description");s(this,"budget");s(this,"purchasePlanning");s(this,"outputRequired");s(this,"analogOutputs");s(this,"digitalOutputs");s(this,"outputRequiredOther");s(this,"deadlineDate");s(this,"isShareAdditionalDetail");s(this,"isEnduranceTestingUsage");s(this,"anticipatedCycleNumber");s(this,"yearsProductLast");s(this,"temperatureRequirement");s(this,"temperatureRequirementType");s(this,"applicationDescription");s(this,"testedEnvironmentDescription");s(this,"questionAndComment");s(this,"fileStream");s(this,"fileName");s(this,"image");s(this,"stockId");s(this,"projectStage");s(this,"industryTypeId");s(this,"industryTypeName");s(this,"industryTypeOther");s(this,"informationSource");s(this,"informationSourceOther")}},At=class{constructor(){s(this,"addressLineOne");s(this,"addressLineTwo");s(this,"city");s(this,"state");s(this,"postalCode");s(this,"county")}},Ft=class{constructor(){s(this,"firstName");s(this,"lastName");s(this,"email");s(this,"company");s(this,"department");s(this,"title");s(this,"phone")}};var Go=["productinquiry"],jo=["zippostalcode"];function Ho(o,d){o&1&&w(0,"app-response-message")}function Zo(o,d){o&1&&(r(0,"div",15)(1,"div",16),w(2,"mat-progress-spinner",17),a()())}function Ko(o,d){if(o&1&&(r(0,"mat-option",55),p(1),a()),o&2){let t=d.$implicit;_("value",t.Value),l(),P("",t.Text," ")}}function Jo(o,d){if(o&1&&(r(0,"mat-option",55),p(1),a()),o&2){let t=d.$implicit;_("value",t.Value),l(),P("",t.Text," ")}}function Xo(o,d){if(o&1){let t=M();r(0,"mat-form-field",21)(1,"mat-label"),p(2,"How did you hear about us?"),a(),r(3,"mat-select",56),y("selectionChange",function(){m(t);let e=c(2);return u(e.toggleHearAboutSpecify())}),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.inqModel.informationSource,e)||(n.inqModel.informationSource=e),u(e)}),C(4,Jo,2,2,"mat-option",29),a()()}if(o&2){let t=c(2);l(3),g("ngModel",t.inqModel.informationSource),l(),_("ngForOf",t.infoSourceList)}}function Yo(o,d){if(o&1){let t=M();r(0,"app-lead-source-selector",57),y("leadSourceDescriptionSelected",function(e){m(t);let n=c(2);return u(n.setLeadSourceId(e))})("isLeadSourceOther",function(e){m(t);let n=c(2);return u(n.setLeadSourceOther(e))}),a()}}function $o(o,d){if(o&1){let t=M();r(0,"div",20)(1,"mat-form-field",21)(2,"mat-label"),p(3,"Please specify"),a(),r(4,"input",58),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.inqModel.informationSourceOther,e)||(n.inqModel.informationSourceOther=e),u(e)}),a()()()}if(o&2){let t=c(2);l(4),g("ngModel",t.inqModel.informationSourceOther)}}function er(o,d){if(o&1&&(r(0,"mat-option",55),p(1),a()),o&2){let t=d.$implicit;_("value",t.Value),l(),P("",t.Text," ")}}function tr(o,d){if(o&1){let t=M();r(0,"mat-form-field",21)(1,"mat-label"),p(2,"Zip / Postal Code"),a(),r(3,"input",59),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.inqModel.address.postalCode,e)||(n.inqModel.address.postalCode=e),u(e)}),y("blur",function(){m(t);let e=c(2);return u(e.getAddress(e.inqModel.address.postalCode))}),a()()}if(o&2){let t=c(2);l(3),g("ngModel",t.inqModel.address.postalCode)}}function ir(o,d){if(o&1){let t=M();r(0,"mat-form-field",21)(1,"mat-label"),p(2,"Zip / Postal Code"),a(),r(3,"input",60),y("keypress",function(e){m(t);let n=c(2);return u(n.specialcharpanel(e))}),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.inqModel.address.postalCode,e)||(n.inqModel.address.postalCode=e),u(e)}),a()()}if(o&2){let t=c(2);l(3),g("ngModel",t.inqModel.address.postalCode)}}function nr(o,d){if(o&1&&(r(0,"mat-option",55),p(1),a()),o&2){let t=d.$implicit;_("value",t.Value),l(),P("",t.Text," ")}}function or(o,d){if(o&1){let t=M();r(0,"mat-form-field",21)(1,"mat-label"),p(2,"State"),a(),r(3,"mat-select",61),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.inqModel.address.state,e)||(n.inqModel.address.state=e),u(e)}
4),y("selectionChange",function(){m(t);let e=c(2);return u(e.stateChange(e.inqModel.address.state))}),C(4,nr,2,2,"mat-option",29),a()()}if(o&2){let t=c(2);l(3),g("ngModel",t.inqModel.address.state),_("disabled",t.isReadOnly),l(),_("ngForOf",t.stateList)}}function rr(o,d){if(o&1){let t=M();r(0,"mat-form-field",21)(1,"mat-label"),p(2,"State / Province / Region"),a(),r(3,"input",62),y("keypress",function(e){m(t);let n=c(2);return u(n.specialcharpanel(e))}),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.inqModel.address.state,e)||(n.inqModel.address.state=e),u(e)}),a()()}if(o&2){let t=c(2);l(3),g("ngModel",t.inqModel.address.state)}}function ar(o,d){if(o&1){let t=M();r(0,"mat-form-field",21)(1,"mat-label"),p(2,"City"),a(),r(3,"input",63),y("keypress",function(e){m(t);let n=c(2);return u(n.specialcharpanel(e))}),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.inqModel.address.city,e)||(n.inqModel.address.city=e),u(e)}),a()()}if(o&2){let t=c(2);l(3),g("ngModel",t.inqModel.address.city)}}function sr(o,d){if(o&1){let t=M();r(0,"mat-form-field",21)(1,"mat-label"),p(2,"City"),a(),r(3,"input",64),y("keypress",function(e){m(t);let n=c(2);return u(n.specialcharpanel(e))}),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.inqModel.address.city,e)||(n.inqModel.address.city=e),u(e)}),a()()}if(o&2){let t=c(2);l(3),g("ngModel",t.inqModel.address.city)}}function lr(o,d){if(o&1&&(r(0,"mat-option",55),p(1),a()),o&2){let t=d.$implicit;_("value",t.Value),l(),P(" ",t.Value," ")}}function dr(o,d){if(o&1){let t=M();r(0,"div",20)(1,"mat-form-field",21)(2,"mat-label"),p(3,"County"),a(),r(4,"mat-select",65),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.inqModel.address.county,e)||(n.inqModel.address.county=e),u(e)}),C(5,lr,2,2,"mat-option",29),a()()()}if(o&2){let t=c(2);l(4),g("ngModel",t.inqModel.address.county),l(),_("ngForOf",t.countyList)}}function cr(o,d){o&1&&(r(0,"label",66),p(1," Please enter the accurate address, PO BOX is not acceptable. "),a())}function pr(o,d){o&1&&(r(0,"label",66),p(1," Please enter the accurate address, PO BOX is not acceptable. "),a())}function mr(o,d){if(o&1&&(r(0,"mat-radio-button",55),p(1),a()),o&2){let t=d.$implicit;_("value",t.Value),l(),P("",t.Text," ")}}function ur(o,d){if(o&1&&(r(0,"mat-option",55),p(1),a()),o&2){let t=d.$implicit;_("value",t.Id),l(),P(" ",t.Display," ")}}function _r(o,d){if(o&1){let t=M();r(0,"div",19)(1,"div",67)(2,"div",51),p(3,"What product type are you interested in? "),a(),r(4,"div",68),p(5,"Please check all that apply"),a(),r(6,"mat-form-field",21)(7,"mat-label"),p(8,"Product Type"),a(),r(9,"mat-select",69),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.inqModel.productTypes,e)||(n.inqModel.productTypes=e),u(e)}),y("ngModelChange",function(e){m(t);let n=c(2);return u(n.onProductTypesChange(e))}),C(10,ur,2,2,"mat-option",29),a()()()()}if(o&2){let t=c(2);l(9),g("ngModel",t.inqModel.productTypes),l(),_("ngForOf",t.productTypesOptions)}}function gr(o,d){if(o&1&&(r(0,"mat-option",55),p(1),a()),o&2){let t=d.$implicit;_("value",t.Text),l(),P("",t.Text," ")}}function fr(o,d){if(o&1){let t=M();r(0,"div",19)(1,"div",67)(2,"mat-form-field",21)(3,"mat-label"),p(4,"What is your project budget?"),a(),r(5,"mat-select",70),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.inqModel.Budget,e)||(n.inqModel.Budget=e),u(e)}),C(6,gr,2,2,"mat-option",29),a()()()()}if(o&2){let t=c(2);l(5),g("ngModel",t.inqModel.Budget),l(),_("ngForOf",t.proBudList)}}function hr(o,d){if(o&1){let t=M();r(0,"div",19)(1,"div",67)(2,"mat-form-field",21)(3,"mat-label"),p(4,"What is your timeline for the project? Describe desired date to have parts on hand vs. absolute deadline"),a(),r(5,"input",71),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.inqModel.PurchasePlanning,e)||(n.inqModel.PurchasePlanning=e),u(e)}),a()()()()}if(o&2){let t=c(2);l(5),g("ngModel",t.inqModel.PurchasePlanning)}}function yr(o,d){if(o&1){let t=M();r(0,"app-select-project-stage",72),y("projectStageSelected",function(e){m(t);let n=c(3);return u(n.setProjectStage(e))}),a()}}function Cr(o,d){if(o&1){let t=M();r(0,"app-project-stage-selector",72),y("projectStageSelected",function(e){m(t);let n=c(3);return u(n.setProjectStageId(e))}),a()}}function xr(o,d){if(o&1&&(r(0,"div",19)(1,"div",67),C(2,yr,1,0,"app-select-project-stage")(3,Cr,1,0,"app-project-stage-selector"),a()()),o&2){let t=c(2);l(2),v(t.useRumiApiFFSprint62_63?3:2)}}function Mr(o,d){if(o&1){let t=M();r(0,"div",19)(1,"div",67)(2,"mat-form-field",21)(3,"mat-label"),p(4,"What's your project deadline?"),a(),r(5,"input",73),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.inqModel.DeadlineDate,e)||(n.inqModel.DeadlineDate=e),u(e)}
4),a(),w(6,"mat-datepicker-toggle",74)(7,"mat-datepicker",null,1),a()()()}if(o&2){let t=Ht(8),i=c(2);l(5),_("matDatepicker",t)("min",i.minDate),g("ngModel",i.inqModel.DeadlineDate),l(),_("for",t)}}function Sr(o,d){if(o&1){let t=M();r(0,"div",19)(1,"div",67)(2,"mat-form-field",21)(3,"mat-label"),p(4,"What capacity do you require?"),a(),r(5,"input",75),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.inqModel.Capacity,e)||(n.inqModel.Capacity=e),u(e)}),a()()()()}if(o&2){let t=c(2);l(5),g("ngModel",t.inqModel.Capacity)}}function wr(o,d){if(o&1){let t=M();r(0,"div",19)(1,"div",67)(2,"mat-form-field",21)(3,"mat-label"),p(4,"Quantity Required"),a(),r(5,"input",76),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.inqModel.QuantityRequired,e)||(n.inqModel.QuantityRequired=e),u(e)}),a()()()()}if(o&2){let t=c(2);l(5),g("ngModel",t.inqModel.QuantityRequired)}}function vr(o,d){if(o&1){let t=M();r(0,"div",81)(1,"mat-checkbox",82),h("ngModelChange",function(e){m(t);let n=c(3);return f(n.inqModel.isEnduranceTestingUsage,e)||(n.inqModel.isEnduranceTestingUsage=e),u(e)}),p(2,"This product will be used for endurance testing"),a()()}if(o&2){let t=c(3);l(),g("ngModel",t.inqModel.isEnduranceTestingUsage)}}function qr(o,d){if(o&1){let t=M();r(0,"div",19)(1,"div",77)(2,"div",51),p(3,"We'd love to know as many details as possible about your custom project. By providing the additional information below, we will be able to reply faster to your inquiry. "),a(),r(4,"div",78)(5,"mat-checkbox",79),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.inqModel.isShareAdditionalDetail,e)||(n.inqModel.isShareAdditionalDetail=e),u(e)}),p(6,"Share additional details "),a()(),C(7,vr,3,1,"div",80),a()()}if(o&2){let t=c(2);l(5),g("ngModel",t.inqModel.isShareAdditionalDetail),l(2),_("ngIf",t.inqModel.isShareAdditionalDetail)}}function Ir(o,d){if(o&1&&(r(0,"mat-option",55),p(1),a()),o&2){let t=d.$implicit;_("value",t.Value),l(),P("",t.Text," ")}}function br(o,d){if(o&1){let t=M();oe(0),r(1,"mat-checkbox",89),h("ngModelChange",function(e){let n=m(t).$implicit;return f(n.IsChecked,e)||(n.IsChecked=e),u(e)}),p(2),a(),w(3,"br"),re()}if(o&2){let t=d.$implicit;l(),g("ngModel",t.IsChecked),l(),I(t.Display)}}function Pr(o,d){if(o&1&&(r(0,"div",87),C(1,br,4,2,"ng-container",88),a()),o&2){let t=c(3);l(),_("ngForOf",t.analogOutputsOptions)}}function Tr(o,d){if(o&1){let t=M();oe(0),r(1,"mat-checkbox",91),h("ngModelChange",function(e){let n=m(t).$implicit;return f(n.IsChecked,e)||(n.IsChecked=e),u(e)}),p(2),a(),w(3,"br"),re()}if(o&2){let t=d.$implicit;l(),g("ngModel",t.IsChecked),l(),I(t.Display)}}function Er(o,d){if(o&1&&(r(0,"div",90),C(1,Tr,4,2,"ng-container",88),a()),o&2){let t=c(3);l(),_("ngForOf",t.digitalOutputsOptions)}}function Vr(o,d){if(o&1){let t=M();r(0,"div",67)(1,"mat-form-field",21)(2,"mat-label"),p(3,"Specify the output"),a(),r(4,"input",92),h("ngModelChange",function(e){m(t);let n=c(3);return f(n.inqModel.outputRequiredOther,e)||(n.inqModel.outputRequiredOther=e),u(e)}),a()()()}if(o&2){let t=c(3);l(4),g("ngModel",t.inqModel.outputRequiredOther)}}function Lr(o,d){if(o&1){let t=M();r(0,"div",19)(1,"div",67)(2,"mat-form-field",21)(3,"mat-label"),p(4,"What is the required output and type of mating electronics?"),a(),r(5,"mat-select",83),y("selectionChange",function(){m(t);let e=c(2);return u(e.toggleRequiredOutputSpecify())}),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.inqModel.outputRequired,e)||(n.inqModel.outputRequired=e),u(e)}),C(6,Ir,2,2,"mat-option",29),a()(),C(7,Pr,2,1,"div",84)(8,Er,2,1,"div",85),a(),C(9,Vr,5,1,"div",86),a()}if(o&2){let t=c(2);l(5),g("ngModel",t.inqModel.outputRequired),l(),_("ngForOf",t.outPutList),l(),_("ngIf",t.inqModel.outputRequired=="Analog"||t.inqModel.outputRequired==="Both"),l(
4),_("ngIf",t.inqModel.outputRequired==="Digital"||t.inqModel.outputRequired==="Both"),l(),_("ngIf",t.requiredOutputSpecify)}}function Or(o,d){if(o&1){let t=M();r(0,"div",19)(1,"div",67)(2,"mat-form-field",21)(3,"mat-label"),p(4,"Describe any mounting, integration, environmental, or size restrictions."),a(),r(5,"textarea",93),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.inqModel.description,e)||(n.inqModel.description=e),u(e)}),a()()()()}if(o&2){let t=c(2);l(5),g("ngModel",t.inqModel.description)}}function kr(o,d){if(o&1){let t=M();r(0,"div",19)(1,"div",67)(2,"mat-form-field",21)(3,"mat-label"),p(4,"How many cycles do you anticipate?"),a(),r(5,"input",94),h("ngModelChange",function(e){m(t);let n=c(3);return f(n.inqModel.AnticipatedCycleNumber,e)||(n.inqModel.AnticipatedCycleNumber=e),u(e)}),a()()()()}if(o&2){let t=c(3);l(5),g("ngModel",t.inqModel.AnticipatedCycleNumber)}}function Ar(o,d){if(o&1){let t=M();r(0,"div",19)(1,"div",67)(2,"mat-form-field",21)(3,"mat-label"),p(4,"How many years should the product last?"),a(),r(5,"input",95),h("ngModelChange",function(e){m(t);let n=c(3);return f(n.inqModel.YearsProductLast,e)||(n.inqModel.YearsProductLast=e),u(e)}),a()()()()}if(o&2){let t=c(3);l(5),g("ngModel",t.inqModel.YearsProductLast)}}function Fr(o,d){if(o&1&&(r(0,"mat-option",55),p(1),a()),o&2){let t=d.$implicit;_("value",t.Value),l(),P("",t.Text," ")}}function Rr(o,d){if(o&1){let t=M();r(0,"div",19)(1,"div",67)(2,"mat-form-field",21)(3,"mat-label"),p(4,"What are your temperature requirements?"),a(),r(5,"input",96),h("ngModelChange",function(e){m(t);let n=c(3);return f(n.inqModel.TemperatureRequirement,e)||(n.inqModel.TemperatureRequirement=e),u(e)}
4),a()(),r(6,"mat-form-field",21)(7,"mat-label"),p(8,"Temperature"),a(),r(9,"mat-select",97),h("ngModelChange",function(e){m(t);let n=c(3);return f(n.inqModel.TemperatureRequirementType,e)||(n.inqModel.TemperatureRequirementType=e),u(e)}),C(10,Fr,2,2,"mat-option",29),a()()()()}if(o&2){let t=c(3);l(5),g("ngModel",t.inqModel.TemperatureRequirement),l(4),g("ngModel",t.inqModel.TemperatureRequirementType),l(),_("ngForOf",t.temperatureRequirement)}}function Wr(o,d){if(o&1){let t=M();r(0,"div",19)(1,"div",67)(2,"mat-form-field",21)(3,"mat-label"),p(4,"Describe your application."),a(),r(5,"textarea",98),h("ngModelChange",function(e){m(t);let n=c(3);return f(n.inqModel.ApplicationDescription,e)||(n.inqModel.ApplicationDescription=e),u(e)}),a()()()()}if(o&2){let t=c(3);l(5),g("ngModel",t.inqModel.ApplicationDescription)}}function Nr(o,d){if(o&1){let t=M();r(0,"div",19)(1,"div",67)(2,"mat-form-field",21)(3,"mat-label"),p(4,"Describe any mounting, integration, or size restrictions."),a(),r(5,"textarea",99),h("ngModelChange",function(e){m(t);let n=c(3);return f(n.inqModel.Description,e)||(n.inqModel.Description=e),u(e)}),a()()()()}if(o&2){let t=c(3);l(5),g("ngModel",t.inqModel.Description)}}function Br(o,d){if(o&1){let t=M();r(0,"div",19)(1,"div",67)(2,"mat-form-field",21)(3,"mat-label"),p(4,"Describe the environment where the sensor will be tested."),a(),r(5,"textarea",100),h("ngModelChange",function(e){m(t);let n=c(3);return f(n.inqModel.TestedEnvironmentDescription,e)||(n.inqModel.TestedEnvironmentDescription=e),u(e)}),a()()()()}if(o&2){let t=c(3);l(5),g("ngModel",t.inqModel.TestedEnvironmentDescription)}}function Ur(o,d){if(o&1){let t=M();r(0,"div",19)(1,"div",67)(2,"mat-form-field",21)(3,"mat-label"),p(4,"Other questions and comments"),a(),r(5,"textarea",101),h("ngModelChange",function(e){m(t);let n=c(3);return f(n.inqModel.QuestionAndComment,e)||(n.inqModel.QuestionAndComment=e),u(e)}
4),a()()()()}if(o&2){let t=c(3);l(5),g("ngModel",t.inqModel.QuestionAndComment)}}function Dr(o,d){if(o&1&&(r(0,"div"),C(1,kr,6,1,"div",48)(2,Ar,6,1,"div",48)(3,Rr,11,3,"div",48)(4,Wr,6,1,"div",48)(5,Nr,6,1,"div",48)(6,Br,6,1,"div",48)(7,Ur,6,1,"div",48),a()),o&2){let t=c(2);l(),_("ngIf",t.inqModel.interestedIn==="Custom"),l(),_("ngIf",t.inqModel.interestedIn==="Custom"),l(),_("ngIf",t.inqModel.interestedIn==="Custom"),l(),_("ngIf",t.inqModel.interestedIn==="Custom"),l(),_("ngIf",t.inqModel.interestedIn==="Custom"),l(),_("ngIf",t.inqModel.interestedIn==="Custom"),l(),_("ngIf",t.inqModel.interestedIn==="Custom")}}function Qr(o,d){o&1&&(r(0,"div",106),p(1,"Please select input field"),a())}function zr(o,d){if(o&1){let t=M();r(0,"div",19)(1,"div",67)(2,"div",102),p(3,"Attach Image/File:"),a(),r(4,"input",103),h("ngModelChange",function(e){m(t);let n=c(2);return f(n.inqModel.filename,e)||(n.inqModel.filename=e),u(e)}),y("change",function(e){m(t);let n=c(2);return u(n.onFileChange(e))}),a(),r(5,"div",104),p(6,"JPEG, JPG, GIF, PNG, and PDF files accepted"),a(),C(7,Qr,2,0,"div",105),a()()}if(o&2){let t=c(2);l(4),g("ngModel",t.inqModel.filename),l(3),_("ngIf",t.showFileError)}}function Gr(o,d){o&1&&(r(0,"div",108),p(1," Required Re-captcha "),a())}function jr(o,d){if(o&1){let t=M();r(0,"div",50)(1,"re-captcha",107),y("resolved",function(e){m(t);let n=c(2);return u(n.resolved(e))}),a(),C(2,Gr,2,0,"div",108),a()}if(o&2){let t=c(2);l(),N("siteKey",t.recaptcha),l(),v(t.recaptchaErrMessage?2:-1)}}function Hr(o,d){if(o&1&&(w(0,"div",117),O(1,"safeHtml")),o&2){let t=c(3);_("innerHTML",j(1,1,t.frequentlyAskedqu),Z)}}function Zr(o,d){if(o&1&&w(0,"app-faq-list",118),o&2){let t=c(3);_("faqs",t.faqs)}}function Kr(o,d){if(o&1){let t=M();r(0,"div",109),y("click",function(){m(t);let e=c(2);return u(e.ToggleButton())}),r(1,"div",110),y("click",function(e){return m(t),u(e.stopPropagation())}),r(2,"div",111),w(3,"img",112),r(4,"h4",113),p(5,"Frequently Asked Questions (FAQ)"),a(),r(6,"mat-dialog-actions")(7,"button",114),y("click",function(){m(t);let e=c(2);return u(e.ToggleButton())}),r(8,"i",115),p(9,"highlight_off "),a()()()(),r(10,"div",116),C(11,Hr,2,3,"div",117)(12,Zr,1,1,"app-faq-list",118),a()()()}if(o&2){let t=c(2);l(3),B("src","",t.FileHostUrl,"/content/futek/images/home/futek_logo_white.png",L),l(8),v(t.useRumiApiFFSprint64_65?12:11)}}function Jr(o,d){if(o&1){let t=M();r(0,"form",18,0),y("ngSubmit",function(){m(t);let e=c();return u(e.saveInquiryModel())}),r(2,"div",19)(3,"div",20)(4,"mat-form-field",21)(5,"mat-label"),p(6,"First Name"),a(),r(7,"input",22),h("ngModelChange",function(e){m(t);let n=c();return f(n.inqModel.contactInfo.firstName,e)||(n.inqModel.contactInfo.firstName=e),u(e)}),y("keypress",function(e){m(t);let n=c();return u(n.checkSpecialCharacters(e))}),a()()(),r(8,"div",20)(9,"mat-form-field",21)(10,"mat-label"),p(11,"Last Name"),a(),r(12,"input",23),h("ngModelChange",function(e){m(t);let n=c();return f(n.inqModel.contactInfo.lastName,e)||(n.inqModel.contactInfo.lastName=e),u(e)}),y("keypress",function(e){m(t);let n=c();return u(n.checkSpecialCharacters(e))}),a()()(),r(13,"div",20)(14,"mat-form-field",21)(15,"mat-label"),p(16,"Title"),a(),r(17,"input",24),h("ngModelChange",function(e){m(t);let n=c();return f(n.inqModel.contactInfo.title,e)||(n.inqModel.contactInfo.title=e),u(e)}),a()()()(),r(18,"div",19)(19,"div",20)(20,"mat-form-field",21)(21,"mat-label"),p(22,"Email"),a(),r(23,"input",25),y("blur",function(){m(t);let e=c();return u(e.getdomain(e.inqModel.contactInfo.email))}),h("ngModelChange",function(e){m(t);let n=c();return f(n.inqModel.contactInfo.email,e)||(n.inqModel.contactInfo.email=e),u(e)}),a()()(),r(24,"div",20)(25,"mat-form-field",21)(26,"mat-label"),p(27,"Company"),a(),r(28,"input",26),h("ngModelChange",function(e){m(t);let n=c();return f(n.inqModel.contactInfo.company,e)||(n.inqModel.contactInfo.company=e),u(e)}),a()()(),r(29,"div",20)(30,"app-select-department",27),y("departmentSelected",function(e){m(t);let n=c();return u(n.setDepartment(e))}),a()()(),r(31,"div",19)(32,"div",20)(33,"mat-form-field",21)(34,"mat-label"),p(35,"Industry"),a(),r(36,"mat-select",28),h("ngModelChange",function(e){m(t);let n=c();return f(n.inqModel.industryTypeId,e)||(n.inqModel.industryTypeId=e),u(e)}
4),C(37,Ko,2,2,"mat-option",29),a()()(),r(38,"div",20),C(39,Xo,5,2,"mat-form-field",21)(40,Yo,1,0,"app-lead-source-selector"),a(),C(41,$o,5,1,"div",30),a(),r(42,"div",19)(43,"div",31),p(44,"Address:"),a()(),r(45,"div",19)(46,"div",20)(47,"mat-form-field",21)(48,"mat-label"),p(49,"Country"),a(),r(50,"mat-select",32),h("ngModelChange",function(e){m(t);let n=c();return f(n.inqModel.country,e)||(n.inqModel.country=e),u(e)}),y("selectionChange",function(){m(t);let e=c();return u(e.CountryChange(e.inqModel.country))}),C(51,er,2,2,"mat-option",29),a()()(),r(52,"div",33)(53,"span",34),w(54,"img",35),a(),r(55,"span",36)(56,"input",37),h("ngModelChange",function(e){m(t);let n=c();return f(n.IntPhone,e)||(n.IntPhone=e),u(e)}),a()(),r(57,"span",38)(58,"mat-form-field",21)(59,"mat-label"),p(60,"Phone"),a(),r(61,"input",39),h("ngModelChange",function(e){m(t);let n=c();return f(n.inqModel.contactInfo.phone,e)||(n.inqModel.contactInfo.phone=e),u(e)}),a(),r(62,"mat-error",40),p(63,"Enter a valid phone number"),a()()()()(),r(64,"div",19)(65,"div",20),C(66,tr,4,1,"mat-form-field",41)(67,ir,4,1,"mat-form-field",41),a(),r(68,"div",20),C(69,or,5,3,"mat-form-field",41)(70,rr,4,1,"mat-form-field",41),a(),r(71,"div",20),C(72,ar,4,1,"mat-form-field",41)(73,sr,4,1,"mat-form-field",41),a()(),r(74,"div",19),C(75,dr,6,2,"div",30),r(76,"div",20)(77,"mat-form-field",21)(78,"mat-label"),p(79,"Street Address"),a(),r(80,"input",42),h("ngModelChange",function(e){m(t);let n=c();return f(n.inqModel.address.addressLineOne,e)||(n.inqModel.address.addressLineOne=e),u(e)}),y("blur",function(){m(t);let e=c();return u(e.addressBoxError())}),a()(),C(81,cr,2,0,"label",43),a(),r(82,"div",20)(83,"mat-form-field",21)(84,"mat-label"),p(85,"Street Address 2"),a(),r(86,"input",44),h("ngModelChange",function(e){m(t);let n=c();return f(n.inqModel.address.addressLineTwo,e)||(n.inqModel.address.addressLineTwo=e),u(e)}),y("blur",function(){m(t);let e=c();return u(e.address2BoxError())}),a()(),C(87,pr,2,0,"label",43),a()(),r(88,"div",19)(89,"div",45),p(90,"What are you interested in? *"),a(),r(91,"div",46)(92,"mat-radio-group",47),h("ngModelChange",function(e){m(t);let n=c();return f(n.inqModel.interestedIn,e)||(n.inqModel.interestedIn=e),u(e)}),C(93,mr,2,2,"mat-radio-button",29),a()()(),C(94,_r,11,2,"div",48)(95,fr,7,2,"div",48)(96,hr,6,1,"div",48)(97,xr,4,1,"div",48)(98,Mr,9,4,"div",48)(99,Sr,6,1,"div",48)(100,wr,6,1,"div",48)(101,qr,8,2,"div",48)(102,Lr,10,5,"div",48)(103,Or,6,1,"div",48)(104,Dr,8,7,"div",49)(105,zr,8,2,"div",48),r(106,"div",19),C(107,jr,3,2,"div",50),a(),r(108,"div")(109,"p",51),p(110,"The user represents that he/she (i) has authority to send any information he/she provides to FUTEK and (ii) FUTEK will use the information solely for purposes of responding to the inquiry presented."),a()(),r(111,"div",19)(112,"div",52)(113,"button",53),y("click",function(){m(t);let e=c();return u(e.successmessProductstoDown("successtechicaltarget"))}),p(114,"Submit"),a()()(),C(115,Kr,13,3,"div",54),a()}if(o&2){let t=c();l(7),g("ngModel",t.inqModel.contactInfo.firstName),l(5),g("ngModel",t.inqModel.contactInfo.lastName),l(5),g("ngModel",t.inqModel.contactInfo.title),l(6),g("ngModel",t.inqModel.contactInfo.email),l(5),g("ngModel",t.inqModel.contactInfo.company),l(8),g("ngModel",t.inqModel.industryTypeId),l(),_("ngForOf",t.indusTypeList),l(2),v(t.useRumiApiFFSprint62_63?40:39),l(2),_("ngIf",t.isInformationSourceOther),l(9),g("ngModel",t.inqModel.country),l(),_("ngForOf",t.countryList),l(3),N("src",t.selectedCountryFlagUrl,L),l(2),g("ngModel",t.IntPhone),l(5),g("ngModel",t.inqModel.contactInfo.phone),l(5),_("ngIf",t.IsUS),l(),_("ngIf",!t.IsUS),l(2),_("ngIf",t.IsUS),l(),_("ngIf",!t.IsUS),l(2),_("ngIf",t.IsUS||t.inqModel.country=="ca"),l(),_("ngIf",!t.IsUS&&t.inqModel.country!="ca"),l(2),_("ngIf",t.IsCaliforniaState),l(5),g("ngModel",t.inqModel.address.addressLineOne),l(),_("ngIf",t.address1POBoxError),l(5),g("ngModel",t.inqModel.address.addressLineTwo),l(),_("ngIf",t.address2POBoxError),l(2),_("ngClass",t.matRadioLabelErr?"noErr-class":"err-class"),l(3),g("ngModel",t.inqModel.interestedIn),l(),_("ngForOf",t.interestedInList),l(),_("ngIf",t.inqModel.interestedIn=="Standard"||t.inqModel.interestedIn=="Custom"),l(),_("ngIf",t.inqModel.interestedIn==="Standard"),l(),_("ngIf",t.inqModel.interestedIn==="Standard"),l(),_("ngIf",t.inqModel.interestedIn==="Standard"),l(),_("ngIf",t.inqModel.interestedIn==="Custom"),l(),_("ngIf",t.inqModel.interestedIn=="Standard"||t.inqModel.interestedIn=="Custom"),l(),_("ngIf",t.inqModel.interestedIn=="Standard"||t.inqModel.interestedIn=="Custom"),l(),_("ngIf",t.inqModel.interestedIn==="Custom"),l(),_("ngIf",t.inqModel.interestedIn==="Standard"),l(),_("ngIf",t.inqModel.interestedIn=="Standard"),l(),_("ngIf",t.inqModel.isShareAdditionalDetail),l(),_("ngIf",t.inqModel.interestedIn=="Standard"||t.inqModel.interestedIn=="Custom"),l(2),v(t.useRumiApiFFSprint62_63?-1:107),l(8),v(t.showSelected?115:-1)}}function Xr(o,d){if(o&1&&(r(0,"div",119),w(1,"iframe",120),O(2,"safe"),a()),o&2){let t=c();l(),_("src",Te(2,1,t.pardotUrl,"resourceUrl"),ne)}}var ft=(()=>{let d=class d{constructor(){s(this,"FileHostUrl",q.FileHostUrl);s(this,"recaptcha",q.recaptcha);s(this,"frequentlyAskedqu",{});s(this,"faqs",[]);s(this,"inqModel",new kt);s(this,"countryList",[]);s(this,"stateList",[]);s(this,"indusTypeList",[]);s(this,"infoSourceList",[]);s(this,"proBudList",[]);s(this,"purcPlanList",[]);s(this,"outPutList",[]);s(this,"interestedInList",[]);s(this,"temperatureRequirement",[]);s(this,"IsCaliforniaState",!1);s(this,"IsUS",!0);s(this,"pardotUrl","");s(this,"responseMessage",!1);s(this,"countyList",[]);s(this,"selectedCountryFlagUrl");s(this,"productTypesOptions");s(this,"analogOutputsOptions");s(this,"digitalOutputsOptions");s(this,"address1POBoxError",!1);s(this,"address2POBoxError",!1);s(this,"webpagetitle","Product Inquiry Contact FUTEK");s(this,"fileInfo");s(this,"showFileError",!1);s(this,"matRadioLabelErr",!0);s(this,"productinquiry");s(this,"zippostalcode");s(this,"snackbar");s(this,"customerId",0);s(this,"showSelected",!1);s(this,"minDate",new Date);s(this,"productId");s(this,"isReadOnly");s(this,"IntPhone");s(this,"isRecaptchaValidate",!1);s(this,"recaptchaErrMessage",!1);s(this,"hearAboutSpecify",!1);s(this,"requiredOutputSpecify",!1);s(this,"isLoading",!1);s(this,"isInformationSourceOther",!1);s(this,"accountService",S(xe));s(this,"contactService",S(k));s(this,"router",S(Q));s(this,"titleService",S(D));s(this,"seoClientService",S(G));s(this,"meta",S(U));s(this,"route",S($e));s(this,"storeService",S(ti));s(this,"snackBar",S(we));s(this,"recaptchaService",S(Ie));s(this,"gtmService",S(it));s(this,"featureFlagsService",S(ye));s(this,"inquiryService",S(at));s(this,"contactsService",S(Ce));s(this,"useRumiApiFFSprint62_63",this.featureFlagsService.IsEnabled(H.RumiApi62_63));s(this,"useRumiApiFFSprint64_65",this.featureFlagsService.IsEnabled(H.RumiApi64_65)
4);s(this,"projectStageId",null);s(this,"isLeadSourceOther",null);s(this,"countryOptions",[])}ngOnInit(){this.initializeModel(),this.initializeSeo(),this.initializeCustomer(),this.loadProductInquiryOptions(),this.loadFaq()}initializeModel(){this.productId=this.route.snapshot.paramMap.get("product-inquiry"),this.inqModel.address=new At,this.inqModel.contactInfo=new Ft}initializeSeo(){this.seoClientService.createLinkForCanonicalURL(),this.titleService.setTitle(this.webpagetitle),this.meta.updateTag({name:"description",content:this.webpagetitle}),this.meta.updateTag({name:"keywords",content:this.webpagetitle})}initializeCustomer(){if(this.customerId=Number(localStorage.getItem("userId")),this.customerId!==0){this.getApplicationUserDataById();return}this.resetToDefaultCountry()}resetToDefaultCountry(){this.IntPhone="+1",this.selectedCountryFlagUrl=`${q.OptimizelyCMSBaseUrl}globalassets/countryflags/united-states.png`,this.inqModel.country="us",this.IsUS=!0,this.isReadOnly=!1}loadProductInquiryOptions(){if(!this.useRumiApiFFSprint62_63){this.loadLegacyProductInquiryOptions();return}this.loadProductInquiryFormOptions()}loadLegacyProductInquiryOptions(){this.contactService.getProductInquiry().subscribe({next:i=>{this.countyList=i.ContactSelectList.CaliforniaCountyList,this.inqModel.industryTypeId=i.IndustryTypeId,this.productTypesOptions=i.InquiryModel.ProductTypes,this.analogOutputsOptions=i.InquiryModel.AnalogOutput,this.digitalOutputsOptions=i.InquiryModel.DigitalOutputRequireds,this.countryList=i.ContactSelectList.CountriesTypeList,this.stateList=i.ContactSelectList.StatesTypeList,this.proBudList=i.ContactSelectList.BudgetList,this.infoSourceList=i.ContactSelectList.InformationSourceList,this.outPutList=i.ContactSelectList.OutputRequiredList,this.indusTypeList=i.ContactSelectList.IndustryTypeList,this.purcPlanList=i.ContactSelectList.PurchasePlanningList,this.interestedInList=i.ContactSelectList.IntrestedinList,this.temperatureRequirement=i.ContactSelectList.TemperatureRequirementTypeList,this.onProductInquiryOptionsLoaded()},error:()=>this.showLoadError()})}loadProductInquiryFormOptions(){let i=this.productId!=="product-inquiry"?this.productId:void 0;this.contactsService.getProductInquiryFormOptions(i).subscribe({next:e=>{this.countyList=z(e.counties,n=>n.name,n=>n.name),this.countryOptions=e.countries??[],this.countryList=z(e.countries,n=>n.code?.toLowerCase(),n=>n.name,n=>n.phoneCode),this.stateList=z(e.states,n=>n.code,n=>n.name),this.indusTypeList=z(e.industries,n=>n.id,n=>n.description),this.infoSourceList=z(e.informationSources,n=>n.name,n=>n.name),this.proBudList=z(e.budgetOptions,n=>n.description,n=>n.description),this.outPutList=z(e.outputRequiredOptions,n=>n.description,n=>n.description),this.interestedInList=z(e.interestedInOptions,n=>n.id===d.STANDARD_INTERESTED_IN_ID?"Standard":"Custom",n=>n.description),this.temperatureRequirement=z(e.temperatureUnitOptions,n=>n.description,n=>n.description),this.productTypesOptions=(e.productTypes??[]).map(n=>({Id:n.id,Display:n.name,IsChecked:!1})),this.analogOutputsOptions=(e.analogOutputOptions??[]).map(n=>({Id:n.id,Display:n.description,IsChecked:!1})),this.digitalOutputsOptions=(e.digitalOutputOptions??[]).map(n=>({Id:n.id,Display:n.description,IsChecked:!1})),this.onProductInquiryOptionsLoaded()},error:()=>this.showLoadError()})}onProductInquiryOptionsLoaded(){this.setProductTypeBasedOnUrl(),this.inqModel.country&&this.customerId?this.CountryChange(this.inqModel.country):this.resetToDefaultCountry()}loadFaq(){if(!this.useRumiApiFFSprint64_65){this.loadLegacyFaq();return}this.contactsService.getFaqsByType(We.ProductInquiry).subscribe({next:i=>this.faqs=Oe(i),error:()=>this.showLoadError()})}loadLegacyFaq(){this.contactService.getFaqProductInquiry().subscribe({next:i=>this.frequentlyAskedqu=i.Content,error:()=>this.showLoadError()})}showLoadError(){this.snackbar=new E(this.snackBar),this.snackbar.openSnackBar("Something went wrong, please reload the page.","close")}setProductTypeBasedOnUrl(){if(!this.productId)return;this.inqModel.interestedIn="Standard";
4let i=this.route.snapshot.paramMap.get("class-relative");this.storeService.getProductTypeName(this.productId).subscribe(e=>{let n=Nt(e),x=this.productTypesOptions.find(V=>Nt(V.Display)===n)?.Id;if(!x){let V=$t[i??""];x=this.productTypesOptions.find(b=>b.Display===V)?.Id}x&&(this.inqModel.productTypes=[x])})}onFileChange(i){this.fileInfo=i.target.files[0],this.showFileError=this.fileInfo==="undefined"}resolved(i){this.isRecaptchaValidate=!0,this.recaptchaErrMessage=!1;let e={event:"product-inquiry_page",eventCategory:"product-inquiry_page",eventAction:"form",eventLabel:"captcha_clicked",pagepath:this.router.url,userId:localStorage.getItem("userId")??""};this.gtmService.pushTag(e)}submitonEdit(){window.scrollTo(0,0)}saveInquiryModel(){if(!this.useRumiApiFFSprint62_63){let i=this.recaptchaService.validateRecaptcha(this.isRecaptchaValidate);if(this.recaptchaErrMessage=i.recaptchaErrMessage,this.recaptchaErrMessage)return}if(!this.isFormValid()){this.showValidationError();return}if(this.submitonEdit(),this.isMissingUsState()){this.zippostalcode.nativeElement.focus();return}if(this.inqModel.stockId=this.productId!=="product-inquiry"?this.productId:null,this.matRadioLabelErr=!0,!this.useRumiApiFFSprint62_63){this.sendLegacyProductInquiry();return}this.sendProductInquiry()}isFormValid(){return!!this.productinquiry.valid&&!this.address1POBoxError&&!this.address2POBoxError}isMissingUsState(){return this.inqModel.country==="us"&&!this.inqModel.address.state}showValidationError(){this.productinquiry.control.markAllAsTouched(),this.snackbar=new E(this.snackBar),this.snackbar.openSnackBar("Please select all the required fields.","close"),this.inqModel.interestedIn||(this.matRadioLabelErr=!1)}pushProductInquiryAnalytics(){let i=localStorage.getItem("userId")??"",n={eventCategory:"product-inquiry_page",pagepath:this.router.url,userId:i};this.gtmService.pushTag(Je(De({},n),{event:"product-inquiry_page",eventAction:"form",eventLabel:this.interestedInList.find(x=>x.Value===this.inqModel.interestedIn)?.Text})),this.gtmService.pushTag(Je(De({},n),{event:"product-inquiry_page",eventAction:"form",eventLabel:"Submit_button_click"})),this.gtmService.pushTag({event:"pardot_form_submission",eventCategory:"form",eventName:"product\u2014inquiry_form",eventAction:"submission",userId:i})}sendLegacyProductInquiry(){let i=new FormData;i.append("inquirymodel",JSON.stringify(this.inqModel)),i.append("MyFile",this.fileInfo),this.pushProductInquiryAnalytics(),this.isLoading=!0,this.contactService.saveProductInquiry(i).subscribe({next:e=>{this.pardotUrl=e,this.responseMessage=!0,this.productinquiry.resetForm();let n=this;setTimeout(()=>{n.router.navigate(["/about/contact"])},5*1e3)},error:()=>{this.snackbar=new E(this.snackBar),this.snackbar.openSnackBar("Something went wrong. Please try again.","close")},complete:()=>{this.isLoading=!1}})}sendProductInquiry(){return A(this,null,function*(){this.pushProductInquiryAnalytics(),this.isLoading=!0;let i;try{i=yield this.buildProductInquiryDto()}catch{this.snackbar=new E(this.snackBar),this.snackbar.openSnackBar("Something went wrong. Please try again.","close"),this.isLoading=!1;return}this.inquiryService.submitProductInquiry(i).subscribe({next:e=>{this.pardotUrl=e,this.responseMessage=!0,this.productinquiry.resetForm();let n=this;setTimeout(()=>{n.router.navigate(["/about/contact"])},5*1e3)},error:()=>{this.snackbar=new E(this.snackBar),this.snackbar.openSnackBar("Something went wrong. Please try again.","close"),this.isLoading=!1},complete:()=>{this.isLoading=!1}})})}buildProductInquiryDto(){return A(this,null,function*(){let i=yield ie(this.recaptchaService.getRecaptchaV3Token(be.PRODUCT)),e=this.inqModel,n=this.analogOutputsOptions.filter(b=>b.IsChecked).map(b=>b.Display),x=this.digitalOutputsOptions.filter(b=>b.IsChecked).map(b=>b.Display);return this.inqModel.analogOutputs=n.length?n:null,this.inqModel.digitalOutputs=x.length?x:null,{data:JSON.stringify(this.inqModel),address:{countryId:this.countryOptions.find(b=>b.code?.toLowerCase()===this.inqModel.country)?.id,country:this.inqModel.country,stateProvinceRegion:this.inqModel.address.state,city:this.inqModel.address.city,phone:`${this.IntPhone}${this.inqModel.contactInfo.phone}`,postalCode:this.inqModel.address.postalCode,addressLine1:this.inqModel.address.addressLineOne,addressLine2:this.inqModel.address.addressLineTwo},contactInformation:{firstName:this.inqModel.contactInfo.firstName,lastName:this.inqModel.contactInfo.lastName,title:this.inqModel.contactInfo.title,email:this.inqModel.contactInfo.email,company:this.inqModel.contactInfo.company,department:this.inqModel.contactInfo.department,industryId:this.inqModel.industryTypeId,informationSource:this.inqModel.informationSource,informationSourceOther:this.inqModel.informationSourceOther},projectStageId:this.projectStageId,description:e.Description||this.inqModel.description||null,attachment:this.fileInfo||null,recaptchaToken:i}})}onProductTypesChange(i){this.inqModel.productTypes=i}getdomain(i){(i!=null||i!=null||i!="")&&(i=i.split("@")[1],i=i.replace(".","|"))}CountryChange(i){if(this.countryList&&this.countryList.length>0){let e=this.countryList.filter(n=>n.Value.toLowerCase()==i.toLowerCase());this.selectedCountryFlagUrl=`${q.OptimizelyCMSBaseUrl}globalassets/countryflags/${e[0].Text.replace(/\s+/g,"-").toLowerCase()}.png`,this.inqModel.country=e[0].Value,e.length>0?this.IntPhone=e[0].PhoneCode?"+"+e[0].PhoneCode:"":this.IntPhone=""}this.inqModel.address.postalCode="",this.inqModel.address.addressLineTwo="",this.inqModel.address.addressLineOne="",this.inqModel.address.city="",this.inqModel.address.state="",this.IsUS=!0,i!="us"&&(this.IsUS=!1,this.isReadOnly=!1,this.IsCaliforniaState=!1)}stateChange(i){this.IsCaliforniaState=i=="CA"}addressBoxError(){this.address1POBoxError=Me(this.inqModel.address.addressLineOne)}address2BoxError(){this.address2POBoxError=Me(this.inqModel.address.addressLineTwo)}getAddress(i){this.inqModel.address.city="",this.inqModel.address.state="",this.inqModel.address.county="",i=i.replace(/\s/g,""),this.inqModel.country=="us"&&i.length==5?this.accountService.getAddress(i).subscribe(e=>{let n=JSON.parse(e);if(n.status!=="ZERO_RESULTS"){let x=n.results[0].address_components,V=x.find(te=>te.types.includes("locality")).long_name,b=x.find(te=>te.types.includes("administrative_area_level_1")).short_name,R=x.find(te=>te.types.includes("administrative_area_level_2")).long_name;this.inqModel.address.city=V,this.inqModel.address.state=b,this.inqModel.address.county=R.length>0?R.replace(/County$/,"").trim():"",this.isReadOnly=!0,this.stateChange(b)}}):this.isReadOnly=!1}getApplicationUserDataById(){this.contactService.getAppicationUserDataById(this.customerId).subscribe(i=>{this.inqModel.industryTypeId=i.IndustryTypeId,this.inqModel.country=i.Country,this.inqModel.contactInfo.firstName=i.FirstName,this.inqModel.contactInfo.lastName=i.LastName,this.inqModel.contactInfo.email=i.Email,this.inqModel.contactInfo.company=i.Company,this.inqModel.address.addressLineOne=i.Street1?i.Street1:"",this.inqModel.address.addressLineTwo=i.Street2?i.Street2:"",this.inqModel.address.postalCode=i.PostalCode,this.inqModel.address.state=i.State,this.inqModel.address.city=i.City,this.IsUS=i.Country=="us"})}ToggleButton(){this.showSelected=!this.showSelected;let i={event:"product-inquiry_page",eventCategory:"product-inquiry_page",eventAction:"form",eventLabel:this.showSelected?"FAQ_page_open":"FAQ_page_close",pagepath:this.router.url,userId:localStorage.getItem("userId")??""};this.gtmService.pushTag(i)}successmessProductstoDown(i){document.querySelector("#"+i).scrollIntoView({behavior:"smooth"})}specialcharpanel(i){return F(i.charCode,{allowHyphen:!0})}checkSpecialCharacters(i){return F(i.charCode,{allowHyphen:!0,allowPeriod:!0,allowApostrophe:!0})}setDepartment(i){this.inqModel.contactInfo.department=i}toggleHearAboutSpecify(){this.hearAboutSpecify=this.inqModel.informationSource.toUpperCase().includes("PLEASE SPECIFY"),this.updateIsInformationSourceOther()}updateIsInformationSourceOther(){this.isInformationSourceOther=this.isLeadSourceOther||this.hearAboutSpecify}toggleRequiredOutputSpecify(){this.requiredOutputSpecify=this.inqModel.outputRequired.toUpperCase().includes("PLEASE SPECIFY")}setProjectStage(i){this.inqModel.projectStage=i}setProjectStageId(i){this.projectStageId=i}setLeadSourceId(i){this.inqModel.informationSource=i}setLeadSourceOther(i){this.isLeadSourceOther=i,this.updateIsInformationSourceOther()}};s(d,"STANDARD_INTERESTED_IN_ID",1),s(d,"\u0275fac",function(e){return new(e||d)}),s(d,"\u0275cmp",W({type:d,selectors:[["app-product-inquiry"]],viewQuery:function(e,n){if(e&1&&(Y(Go,5),Y(jo,5)),e&2){let x;$(x=ee())&&(n.productinquiry=x.first),$(x=ee())&&(n.zippostalcode=x.first)}},features:[ze([xe,k])],decls:21,vars:4,consts:[["productinquiry","ngForm"],["picker",""],["id","successtechicaltarget",1,"main-panel"],[1,"panel-wrapper"],[1,"breadcrumbs"],["routerLink","/about/contact",1,"text-l","semibold","text-color-tertiary"],[1,"material-icons","text-color-tertiary"],[1,"text-l","semibold","text-color-tertiary"],["data-epi-edit","Name"],[1,"text-l","semibold","text-color-primary",3,"click"],[1,"h5","productTechnicalmb1"],["class","loader-overlay-light",4,"ngIf"],["class","custom-form","name","productinquiry","novalidate","","autocomplete","off",3,"ngSubmit",4,"ngIf"],[1,"clear"],["class","hide ",4,"ngIf"],[1,"loader-overlay-light"],[1,"loadingpanel"],["mode","indeterminate",1,"spinner"],["name","productinquiry","novalidate","","autocomplete","off",1,"custom-form",3,"ngSubmit"],[1,"row"],[1,"col-md-4"],["appearance","outline"],["matInput","","placeholder","First Name","name","firstName","maxlength","50","noWhitespace","","required","",3,"ngModelChange","keypress","ngModel"],["matInput","","placeholder","Last Name","name","lastName","maxlength","50","noWhitespace","","required","",3,"ngModelChange","keypress","ngModel"],["matInput","","placeholder","Title","name","title","maxlength","50","noWhitespace","","required","",3,"ngModelChange","ngModel"],["matInput","","placeholder","Email","name","email","type","email","pattern","^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,10}$","maxlength","100","noWhitespace","","required","",3,"blur","ngModelChange","ngModel"],["matInput","","placeholder","Company","name","company","maxlength","100","noWhitespace","","required","",3,"ngModelChange","ngModel"],[3,"departmentSelected"],["name","industry","required","","placeholder","Industry",3,"ngModelChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],["class","col-md-4",4,"ngIf"],[1,"Addresstextv1"],["name","country","required","","placeholder","country",3,"ngModelChange","selectionChange","ngModel"],[1,"col-md-4","zip-country"],[1,"zipcountyimagh1"],["alt","Country flags",2,"height","auto","width","25px","object-fit","contain",3,"src"],[1,"zipcountyimagh2"],["placeholder","Phone","name","IntPhone","readonly","",1,"inputpanelkl1",3,"ngModelChange","ngModel"],[1,"zipcountyimagh3"],["matInput","","placeholder"," 949-465-0900","name","phone","type","text","minlength","10","maxlength","15","onkeypress","return event.charCode >= 48 && event.charCode <= 57","noWhitespace","","required","",3,"ngModelChange","ngModel"],[1,"errorPleasevab1"],["appearance","outline",4,"ngIf"],["matInput","","placeholder","Street Address","name","streetAddress","minlength","1","maxlength","100","noWhitespace","","required","",3,"ngModelChange","blur","ngModel"],["class","streeterror",4,"ngIf"],["matInput","","placeholder","Street Address 2","name","address2","minlength","1","maxlength","150",3,"ngModelChange","blur","ngModel"],[1,"interestedtextv1",3,"ngClass"],[1,"standardtextv1"],["name","group","required","",1,"interestedpltextb1",3,"ngModelChange","ngModel"],["class","row",4,"ngIf"],[4,"ngIf"],[1,"parechaptchadiv"],[1,"whatinterestedtextv1"],[1,"btncenter","submitplm"],["type","submit",1,"primary-button",3,"click"],[1,"row","faqpanelmain"],[3,"value"],["name","infoSource","id","productInquiryField","required","","placeholder","How did you hear about us?",3,"selectionChange","ngModelChange","ngModel"],[3,"leadSourceDescriptionSelected","isLeadSourceOther"],["maxlength","50","required","","matInput","","name","informationSourceOther",3,"ngModelChange","ngModel"],["matInput","","placeholder","Zip / Postal Code","id","zippostalcode","name","zippostalcode","type","text","minlength","5","maxlength","5","pattern","\\d*","onkeypress","return event.charCode >= 48 && event.charCode <= 57","required","",3,"ngModelChange","blur","ngModel"],["matInput","","placeholder","Zip / Postal Code","name","zippostalcode","type","text","pattern","[a-zA-Z0-9 -]+","required","","minlength","3","maxlength","10",3,"keypress","ngModelChange","ngModel"],["name","State","required","","placeholder","State",3,"ngModelChange","selectionChange","ngModel","disabled"],["matInput","","placeholder","State / Province / Region","name","regi
4on","maxlength","50","required","",3,"keypress","ngModelChange","ngModel"],["matInput","","placeholder","City","name","city","minlength","1","maxlength","50","noWhitespace","","required","",3,"keypress","ngModelChange","ngModel"],["matInput","","placeholder","City","name","city","required","",3,"keypress","ngModelChange","ngModel"],["required","","name","county",3,"ngModelChange","ngModel"],[1,"streeterror"],[1,"col-md-7"],[1,"Pleasetext"],["name","instrument","placeholder","Product Type","multiple","",3,"ngModelChange","ngModel"],["name","purchaseplan","placeholder","What is your project budget?",3,"ngModelChange","ngModel"],["matInput","","placeholder","What is your timeline for the project?","name","purchaseplan","maxlength","300",3,"ngModelChange","ngModel"],[3,"projectStageSelected"],["matInput","","name","date","placeholder","What's your project deadline?",3,"ngModelChange","matDatepicker","min","ngModel"],["matSuffix","",3,"for"],["matInput","","placeholder","What capacity do you require?","name","capacity","maxlength","100",3,"ngModelChange","ngModel"],["matInput","","placeholder","Quantity Required","name","quantity","maxlength","50",3,"ngModelChange","ngModel"],[1,"col-md-8"],[1,"Shareadd1"],["name","addinfo",3,"ngModelChange","ngModel"],["class","Shareadd2",4,"ngIf"],[1,"Shareadd2"],["name","endurance",3,"ngModelChange","ngModel"],["name","output","placeholder","What is the required output and type of mating electronics?",3,"selectionChange","ngModelChange","ngModel"],["class","reqlistview",4,"ngIf"],["style","margin-top: 5px;","class","reqlistview",4,"ngIf"],["class","col-md-7",4,"ngIf"],[1,"reqlistview"],[4,"ngFor","ngForOf"],["name","analog",3,"ngModelChange","ngModel"],[1,"reqlistview",2,"margin-top","5px"],["name","digital",3,"ngModelChange","ngModel"],["matInput","","maxlength","50","required","","name","outputRequiredOther",3,"ngModelChange","ngModel"],["name","desc ","matInput","","placeholder","Describe any mounting...","maxlength","150",3,"ngModelChange","ngModel"],["matInput","","placeholder","How many cycles do you anticipate?","name","cycle","maxlength","50",3,"ngModelChange","ngModel"],["matInput","","placeholder","How many years should the product last?","name","productlast","maxlength","50",3,"ngModelChange","ngModel"],["matInput","","placeholder","What are your temperature requirements?","name","temperatureRequ","maxlength","50",3,"ngModelChange","ngModel"],["name","temperatureRequirementType","placeholder","Temperature",3,"ngModelChange","ngModel"],["matInput","","placeholder","Describe your application.","name","appdesc","maxlength","150",3,"ngModelChange","ngModel"],["matInput","","placeholder","Describe any mounting, integration, or size restrictions.","name","desc","maxlength","150",3,"ngModelChange","ngModel"],["matInput","","placeholder","Describe the environment where the sensor will be tested.","name","testenv","maxlength","150",3,"ngModelChange","ngModel"],["matInput","","placeholder","Other questions and comments","name","qanda","maxlength","150",3,"ngModelChange","ngModel"],[1,"Attachta1"],["type","file","name","file","accept","application/vnd.ms-excel, application/pdf, image/*",1,"attach-files",3,"ngModelChange","change","ngModel"],[1,"Attachta2"],["class","fileerror",4,"ngIf"],[1,"fileerror"],[3,"resolved","siteKey"],[1,"recaptcha_error"],[1,"row","faqpanelmain",3,"click"],[1,"Frequentlyqu1",3,"click"],[1,"header"],["alt","Futekfaq",1,"logo-modal",3,"src"],[1,"h6","faq-panel-title"],["mat-button","","mat-dialog-close","",1,"close-button",3,"click"],[1,"material-icons"],[1,"content-wrapper"],[1,"text-m","text-color-primary",3,"innerHTML"],[3,"faqs"],[1,"hide"],[3,"src"]],template:function(e,n){e&1&&(r(0,"div",2)(1,"div",3)(2,"div",4)(3,"a",5),p(4,"Contact Us"),a(),r(5,"i",6),p(6,"keyboard_arrow_right "),a(),r(7,"p",7),p(8,"Product Inquiry / Quote"),a(),r(9,"i",6),p(10,"keyboard_arrow_right "),a(),r(11,"p",8)(12,"a",9),y("click",function(){return n.ToggleButton()}),p(13,"FAQ"),a()()(),r(14,"h1",10),p(15,"Product Inquiry / Quote"),a(),C(16,Ho,1,0,"app-response-message")(17,Zo,3,0,"div",11)(18,Jr,116,42,"form",12),w(19,"div",13),C(20,Xr,3,4,"div",14),a()()),e&2&&(l(16),v(n.responseMessage?16:-1),l(),_("ngIf",n.isLoading),l(
4),_("ngIf",!n.responseMessage),l(2),_("ngIf",n.pardotUrl))},dependencies:[Zt,Ee,K,pe,ae,se,le,me,Ve,ue,_e,ce,de,Le,ke,Mt,ii,ni,oi,Fe,Re,he,fe,ge,je,Yt,Se,St,wt,Ae,nt,ri,vt,qt,It,ve,Be,qe,J,X,Ne],styles:[`.panel-wrapper .faqpanelmain .Frequentlyqu1{padding:0}.panel-wrapper .faqpanelmain .mdc-dialog__actions{position:relative;padding:0;top:0;right:0;left:auto;justify-content:flex-end}.panel-wrapper .faqpanelmain .close-button{color:var(--white-color);min-width:fit-content}.panel-wrapper .faqpanelmain .header{background-color:var(--bg-brand-primary);display:flex;align-items:center;justify-content:space-between}.panel-wrapper .faqpanelmain .faq-panel-title{color:var(--white-color);margin:0}.panel-wrapper .faqpanelmain .content-wrapper{padding:1rem}.panel-wrapper .faqpanelmain .h6{margin:.5rem 0}.panel-wrapper .attach-files{padding:.5rem;border:1px solid var(--divider-default);border-radius:4px;margin-left:0;margin-bottom:5px}.panel-wrapper .custom-form{margin-right:-30px}@media screen and (max-width: 767px){.panel-wrapper .custom-form{margin-right:0}}.panel-wrapper .custom-form .zipcountyimagh3{width:100%}.mat-mdc-form-field{display:inline-block;position:relative;text-align:left;padding-right:30px;padding-left:4px;width:100%}a{color:#020202;text-decoration:none;background-color:transparent;-webkit-text-decoration-skip:objects}.row{display:flex;flex-wrap:wrap;margin-right:0;margin-left:0}.hide{display:none}.clear{height:50px}.fileerror{display:none;color:red;font-size:14px;margin-left:8px}.parechaptchadiv{padding:0 0 10px}.faq_box{background-color:#f5f5f5;padding:20px;border-radius:4px}.faq_box_title{margin-bottom:30px}b,strong{font-weight:400;font-family:Nunito Sans,sans-serif}.interestedtextv1{width:100%;font-weight:400;font-family:Nunito Sans,sans-serif;font-size:10pt;padding-left:6px;margin-bottom:15px}.standardtextv1{width:100%;font-family:Nunito Sans,sans-serif;letter-spacing:.02em;font-size:11pt;padding-left:6px;margin-bottom:15px}.Pleasetext{width:100%;font-weight:400;font-family:Nunito Sans,sans-serif;letter-spacing:.02em;font-size:10pt;padding-left:6px;margin-bottom:0;color:#9a9a9a}.col-md-8,.col-md-6,.col-md-4,.col-md-12{padding-right:0;padding-left:0;width:100%}.mat-form-field-appearance-outline .mat-mdc-form-field-infix{padding:1em 0;font-family:Nunito Sans,sans-serif;font-size:14px!important;font-weight:700}.mat-mdc-radio-button .mdc-label{cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;padding-right:20px}.interestedpltextb1{font-size:11pt;font-family:Nunito Sans,sans-serif;margin-top:9pt}.reqlistview{margin:0 0 0 5px;background:#fff;width:94%;padding:15px;border:1px solid #ccc;border-radius:2px}.faqclosedicon{float:right;cursor:pointer;background:#d4edda;border-radius:60px;width:27px;height:25px;position:absolute;z-index:99;padding:1px;margin:-14px 0 0 1005px}.mat-mdc-form-field:not(.mat-form-field-appearance-legacy) .mat-mdc-form-field-icon-prefix .mat-mdc-form-field-icon-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em;position:relative;top:6px;left:15px}.err-class{color:#f44336}@media (min-width: 320px) and (max-width: 680px){span.fullcodestoretitlepl1 i,.productstoresubheadertext i,.productstoretitlepl1 i,span.catstoretitlepl1 i{position:relative;top:1px;font-size:20px}}@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait){span.fullcodestoretitlepl1 i,.productstoresubheadertext i,.productstoretitlepl1 i,span.catstoretitlepl1 i{position:relative;top:-4px;font-size:20px}}@media all and (device-width: 1024px) and (device-height: 768px) and (orientation:landscape){span.fullcodestoretitlepl1 i,.productstoresubheadertext i,.productstoretitlepl1 i,span.catstoretitlepl1 i{position:relative;top:-4px;font-size:20px}}#successtechicaltarget .mat-mdc-form-field .mdc-text-field--outlined{--mdc-outlined-text-field-outline-width: 1px;--mdc-outlined-text-field-outline-color: #e0e0e0 !important;--mdc-outlined-text-field-focus-outline-width: 1px !important;--mdc-outlined-text-field-focus-outline-color: #e0e0e0 !important;--mdc-outlined-text-field-hover-outline-color: #949494 !important} 5`],encapsulation:2}));let o=d;return o}
5)();var ht=class o{constructor(){s(this,"Name");s(this,"Title");s(this,"LogoUrl");s(this,"Description");s(this,"GoogleMapUrl");s(this,"Countries");s(this,"UsStates");s(this,"Contacts");s(this,"EmailNotificationRules")}static Query(d){return` 6 ContentRepresentativePage(locale: ${d}, orderBy: { _modified: DESC }) { 7 items { 8 Name 9 Title 10 Logo { 11 Url 12 } 13 Description 14 GoogleMapUrl 15 Country { 16 ... CountryItems 17 } 18 State 19 Contact { 20 ... ContactItems 21 } 22 EmailNotificationRule { 23 ... EmailNotificationRules 24 } 25 } 26 } 27 `}static get CountryFragment(){return` 28 fragment CountryItems on CountryItem { 29 Country 30 } 31 `}static get ContactItemFragment(){return` 32 fragment ContactItems on ContactItem { 33 TopLabel 34 ContactName 35 Telephone 36 Email 37 Fax 38 Address1 39 Address2 40 Address3 41 City 42 State 43 Country 44 PostalCode 45 Website 46 } 47 `}static get EmailNotificationRuleItemFragment(){return` 48 fragment EmailNotificationRules on EmailNotificationRuleItem { 49 ContactEmail 50 Country 51 StartPostalCode 52 EndPostalCode 53 } 54 `}static GetContentRepresentativePageBody(d){return{query:`query ContentRepresentativePage { 55 ${o.Query(d)} 56 } 57 ${o.CountryFragment} 58 ${o.ContactItemFragment} 59 ${o.EmailNotificationRuleItemFragment} 60 `}}static get ContentRepresentativeMapper(){return Ut(d=>{let t=d.data.ContentRepresentativePage.items;try{return t.map(e=>({Name:e.Name,Title:e.Title,LogoUrl:e.Logo.Url,Description:e.Description,GoogleMapUrl:e.GoogleMapUrl,Countries:o.mapCountries(e.Country),UsStates:o.mapUsStates(e.State),Contacts:o.mapContacts(e.Contact),EmailNotificationRules:o.mapEmailNotificationRules(e.EmailNotificationRule)}))}catch(i){throw console.error("error:",i),i}})}static mapCountries(d){return d.map(t=>({Country:t.Country}))}static mapUsStates(d){return d.split(",").filter(t=>t.trim()!=="").map(t=>({Name:t.trim()}))}static mapContacts(d){return d.map(t=>({TopLabel:t.TopLabel,ApplicationUser:t.ApplicationUser,ContactName:t.ContactName,Telephone:t.Telephone,Email:t.Email,Fax:t.Fax,Address1:t.Address1,Address2:t.Address2,Address3:t.Address3,City:t.City,Country:{Country:t.Country},PostalCode:t.PostalCode,Website:t.Website}))}static mapEmailNotificationRules(d){return d.map(t=>({ContactEmail:t.ContactEmail,Country:{Country:t.Country},StartPostalCode:t.StartPostalCode,EndPostalCode:t.EndPostalCode}))}};var hi=(()=>{let d=class d{constructor(i){s(this,"http");this.http=i}GetRepresentativePage(i){return this.http.post(q.GraphQLURL,ht.GetContentRepresentativePageBody(i)).pipe(ht.ContentRepresentativeMapper)}};s(d,"\u0275fac",function(e){return new(e||d)(Qt(Jt))}),s(d,"\u0275prov",Qe({token:d,factory:d.\u0275fac,providedIn:"root"}));let o=d;return o}
60)();function $r(o,d){if(o&1){let t=M();oe(0),r(1,"div",12)(2,"a",13)(3,"div",14),y("click",function(){let e=m(t).$implicit,n=c(2);return u(n.getRepresentativePageInfoByName(n.getTitleForState(e)))}),p(4),a()()(),re()}if(o&2){let t=d.$implicit;l(4),P(" ",t," ")}}function ea(o,d){if(o&1){let t=M();oe(0),r(1,"div",6)(2,"div",16)(3,"div",17),w(4,"img",18),a()(),r(5,"div",19)(6,"div",20),p(7),a(),r(8,"div",21),y("click",function(){m(t);let e=c().$implicit,n=c(2);return u(n.getRepresentativePageInfoByName(n.getTitleForCountry(e.key)))}),p(9),a()()(),re()}if(o&2){let t=d.$implicit,i=c().$implicit;l(4),_("src",t.CodeId,L),l(3),I(i.key),l(2),P(" ",t.Title," ")}}function ta(o,d){if(o&1&&(oe(0),r(1,"div",15),C(2,ea,10,3,"ng-container",9),a(),re()),o&2){let t=d.$implicit;l(2),_("ngForOf",t.value)}}function ia(o,d){if(o&1&&(r(0,"div")(1,"h1",4),p(2,"Representatives"),a(),r(3,"div",5),p(4," Part of FUTEK's successful growth is due to our relationships with our representatives. Our team works very closely with each of these qualified companies to ensure that the FUTEK quality and service is never compromised. "),a(),r(5,"div",6)(6,"div",7),w(7,"img",8),p(8," United States "),a(),r(9,"div",6),C(10,$r,5,1,"ng-container",9),a()(),r(11,"div",6)(12,"div",10),p(13,"International Representation"),a(),r(14,"div",11),C(15,ta,3,1,"ng-container",9),O(16,"keyvalue"),a()()()),o&2){let t=c();l(7),B("src","",t.FILE_HOST_URL,"/content/futek/images/flags/us.png",L),l(3),_("ngForOf",t.distinctUsStates),l(5),_("ngForOf",j(16,4,t.countriesByRepresentativeName))}}function na(o,d){if(o&1&&(w(0,"div",37),O(1,"safeHtml")),o&2){let t=c(2);_("innerHTML",j(1,1,t.representative.Description),Z)}}function oa(o,d){if(o&1){let t=M();r(0,"div",38)(1,"img",39),y("error",function(e){m(t);let n=c(2);return u(n.errorHandle(e))}),a()()}if(o&2){let t=c(2);l(),_("src",t.representative.Logo,L)}}function ra(o,d){if(o&1&&(r(0,"div",40)(1,"span",43),p(2,"Contact:"),a(),r(3,"span",44),p(4),a()()),o&2){let t=c().$implicit;l(4),I(t.Name)}}function aa(o,d){if(o&1&&(r(0,"div",40)(1,"span",43),p(2,"Tel:"),a(),r(3,"span",44),p(4),a()()),o&2){let t=c().$implicit;l(4),I(t.Phone)}}function sa(o,d){if(o&1&&(r(0,"div",40)(1,"span",43),p(2,"Fax:"),a(),r(3,"span",44),p(4),a()()),o&2){let t=c().$implicit;l(4),I(t.Fax)}}function la(o,d){if(o&1&&(r(0,"div",40)(1,"span",43),p(2,"Email:"),a(),r(3,"span",44),p(4),a()()),o&2){let t=c().$implicit;l(4),I(t.Email)}}function da(o,d){if(o&1&&(r(0,"div",40)(1,"span",43),p(2,"Website:"),a(),r(3,"span",44),p(4),a()()),o&2){let t=c().$implicit;l(4),I(t.Website)}}function ca(o,d){if(o&1&&(r(0,"div",40)(1,"div",41),C(2,ra,5,1,"div",42)(3,aa,5,1,"div",42)(4,sa,5,1,"div",42)(5,la,5,1,"div",42)(6,da,5,1,"div",42),a()()),o&2){let t=d.$implicit,i=c(2);l(2),_("ngIf",i.isValid(t.Name)),l(),_("ngIf",i.isValid(t.Phone)),l(),_("ngIf",i.isValid(t.Fax)),l(),_("ngIf",i.isValid(t.Email)),l(),_("ngIf",i.isValid(t.Website))}}function pa(o,d){if(o&1&&(r(0,"div",45),w(1,"iframe",46),a()),o&2){let t=c(2);l(),_("src",t.representative.GoogleMap,ne)}}function ma(o,d){if(o&1&&(r(0,"div",22)(1,"div",23)(2,"a",24),p(3," Representatives "),a(),r(4,"i",25),p(5,"keyboard_arrow_right"),a(),r(6,"p",26),p(7),a()(),r(8,"h1",4),p(9),a(),r(10,"div",27),C(11,na,2,3,"div",28)(12,oa,2,1,"div",29),a(),r(13,"div",30)(14,"div",31),C(15,ca,7,5,"div",32),r(16,"div",33)(17,"a",34),p(18,"Contact Us"),a()()(),r(19,"div",35),C(20,pa,2,1,"div",36),a()()()),o&2){let t=c();l(7),I(t.representative.Title),l(2),I(t.representative.Title),l(2),_("ngIf",t.representative.Description),l(),_("ngIf",t.representative.Logo),l(3),_("ngForOf",t.representative.ContactPersons),l(5),_("ngIf",t.representative.IsGoogleMapUrlAdded)}}var Bt=(()=>{let d=class d{constructor(i,e,n,x,V,b,R,te,Rt){s(this,"domSanitizer");s(this,"seoService");s(this,"meta");s(this,"titleService");s(this,"loaderService");s(this,"representativeService");s(this,"localization");s(this,"router");s(this,"route");s(this,"PAGE_TITLE","Authorized Representatives Contact FUTEK");s(this,"FILE_HOST_URL",q.FileHostUrl);s(this,"NO_IMAGE_PATH",q.NoImagePath);s(this,"countries",[]);s(this,"states",[]);s(this,"representative",{});s(this,"contentRepresentative",[]);s(this,"distinctUsStates",[]);s(this,"countriesByRepresentativeName",{});s(this,"repshowSelected",!1);s(this,"repshowMainContent",!1);s(this,"destroy$",new yt);this.domSanitizer=i,this.seoService=e,this.meta=n,this.titleService=x,this.loaderService=V,this.representativeService=b,this.localization=R,this.router=te,this.route=Rt}get currentLanguage(){return this.localization.CurrentLanguage}ngOnInit(){this.setupSeo(),this.initializeData()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.loaderService.hide()}setupSeo(){this.seoService.createLinkForCanonicalURL(),this.titleService.setTitle(this.PAGE_TITLE),this.meta.updateTag({name:"description",content:this.PAGE_TITLE}),this.meta.updateTag({name:"keywords",content:this.PAGE_TITLE})}initializeData(){this.route.params.pipe(xt(this.destroy$)).subscribe({next:i=>{let e=i.name;e?this.loadRepresentativeDetails(e):this.loadInitialData()}})}loadRepresentativeDetails(i){this.representativeService.GetRepresentativePage(this.currentLanguage).pipe(xt(this.destroy$)).subscribe({next:e=>{this.contentRepresentative=e,this.distinctUsStates=this.getDistinctUsStates(this.contentRepresentative),this.countriesByRepresentativeName=this.getTitlesByCountry(this.contentRepresentative),this.showRepresentativeByName(i)}})}loadInitialData(){this.representativeService.GetRepresentativePage(this.currentLanguage).pipe(xt(this.destroy$)).subscribe({next:i=>{this.contentRepresentative=i,this.distinctUsStates=this.getDistinctUsStates(this.contentRepresentative),this.countriesByRepresentativeName=this.getTitlesByCountry(this.contentRepresentative)}})}showRepresentativeByName(i){this.repshowMainContent=!0,this.getRepresentativePageInfoByName(i)}getTitlesByCountry(i){if(!i||!i.length)return{};let e={};
60return i.forEach(n=>{n.Countries&&n.Countries.forEach(x=>{if(!x.Country)return;e[x.Country]||(e[x.Country]=[]);let V={Title:n.Title,CodeId:`${q.OptimizelyCMSBaseUrl}globalassets/countryflags/${x.Country.replace(/\s+/g,"-").toLowerCase()}.png`};e[x.Country].push(V)})}),e["United States"]&&delete e["United States"],e}getDistinctUsStates(i){if(!i||!i.length)return[];let e=new Set;return i.forEach(n=>{n.UsStates&&n.UsStates.forEach(x=>{x.Name&&e.add(x.Name)})}),Array.from(e).sort((n,x)=>n.localeCompare(x))}getTitleForState(i){if(!i||!this.contentRepresentative)return"";let e=this.contentRepresentative.find(n=>n.UsStates&&n.UsStates.some(x=>x.Name&&x.Name.toLowerCase()===i.toLowerCase()));return e?e.Name:""}getTitleForCountry(i){if(!i||!this.contentRepresentative)return"";let e=this.contentRepresentative.find(n=>n.Countries&&n.Countries.some(x=>x.Country&&x.Country.toLowerCase()===i.toLowerCase()));return e?e.Name:""}getRepresentativePageInfoByName(i){if(!i||!this.contentRepresentative)return;let e=this.contentRepresentative.find(x=>x.Name&&x.Name.toLowerCase()===i.toLowerCase());if(!e)return;if(this.repshowMainContent=!0,this.representative={},this.representative={Title:e.Title,Description:e.Description,GoogleMap:this.domSanitizer.bypassSecurityTrustResourceUrl(e.GoogleMapUrl),IsGoogleMapUrlAdded:!!e.GoogleMapUrl,ContactPersons:e.Contacts?.map(x=>De({Name:x.ContactName,Phone:x.Telephone},x))},e.LogoUrl){let x=q.OptimizelyCMSBaseUrl+e.LogoUrl;this.representative.Logo=x}let n=this.router.url.split("/");n[n.length-1]!=="representative"&&n.pop(),this.router.navigate([...n,i])}showButton(){this.repshowSelected=!this.repshowSelected}errorHandle(i){i&&i.target&&(i.target.src=this.NO_IMAGE_PATH)}isValid(i){return i!=null&&i.trim().length>0}};s(d,"\u0275fac",function(e){return new(e||d)(T(Xt),T(G),T(U),T(D
60),T(tt),T(hi),T(ei),T(Q),T($e))}),s(d,"\u0275cmp",W({type:d,selectors:[["app-representative"]],decls:4,vars:2,consts:[[1,"main-panel"],["id","ctrepresentatives",1,"panel-wrapper"],[4,"ngIf"],["class","panel-rep",4,"ngIf"],[1,"h5"],[1,"relationshipstextv1"],[1,"row"],[1,"unitedstatestext"],["alt","country",3,"src"],[4,"ngFor","ngForOf"],[1,"Internationaltext"],[1,"row","col-md-12"],[1,"statesDescriptionpanel1"],[1,"reprlinkpl1"],[1,"stateDesctext1",3,"click"],[1,"col-md-4"],[1,"recountriep1"],[1,"keyimagecountries"],["alt","International Representation",2,"width","25px","height","auto",3,"src"],[1,"recountriep2"],[1,"countDesctext1"],[1,"countriesDesctext1",3,"click"],[1,"panel-rep"],[1,"breadcrumbs"],["routerLink","/about/contact/representative",1,"text-l","semibold","text-color-tertiary"],[1,"material-icons","text-color-tertiary"],[1,"text-l","semibold","text-color-primary"],[1,"repha1","panel-rep"],["class","Frqbosypaneladd1",3,"innerHTML",4,"ngIf"],["class","representativecont1",4,"ngIf"],[1,"panel-contact"],[1,"contact-list"],["class","",4,"ngFor","ngForOf"],[1,"contactaddresslist2"],["routerLink","/about/contact/product-inquiry",1,"primary-button"],[1,"contact-map"],["class","mapviewpanelv1",4,"ngIf"],[1,"Frqbosypaneladd1",3,"innerHTML"],[1,"representativecont1"],["alt","representative Logo",3,"error","src"],[1,""],[1,"representativecoloum"],["class","",4,"ngIf"],[1,"Contactta1"],[1,"Contactta2"],[1,"mapviewpanelv1"],["frameborder","0",1,"googlemappanel",3,"src"]],template:function(e,n){e&1&&(r(0,"div",0)(1,"div",1),C(2,ia,17,6,"div",2)(3,ma,21,6,"div",3),a()()),e&2&&(l(2),_("ngIf",!n.repshowMainContent),l(),_("ngIf",n.repshowMainContent&&n.representative))},dependencies:[Ee,K,J,Kt,X],styles:[`.main-panel,.panel-wrapper{height:100%}.panel-wrapper .primary-button{width:auto;font-size:var(--text-m-font-size);line-height:var(--text-m-line-height)}.panel-wrapper .contactaddresslist2{width:auto}.panel-wrapper .panel-rep{height:100%}.panel-wrapper .panel-contact{display:flex;flex-wrap:wrap;width:100%}.panel-wrapper .panel-contact .contact-list{max-width:33%;width:100%}.panel-wrapper .panel-contact .contact-map{max-width:66%;width:100%}.panel-wrapper .panel-contact :is(.representativecoloum,.Contactta1,.Contactta2){float:none}.relationshipstextv1{width:100%;font-weight:400;font-family:Nunito Sans,sans-serif;letter-spacing:.02em;font-size:10pt;padding-left:0;margin-bottom:0}.unitedstatestext{font-weight:400;font-family:Nunito Sans,sans-serif;font-size:10pt;padding:15px 0 1px;width:100%}.row{display:flex;flex-wrap:wrap;margin-right:0;margin-left:0}.col-md-8,.col-md-6,.col-md-4,.col-md-12{padding-right:0;padding-left:0;width:100%}.stateDesctext1{font-weight:400;font-size:10pt;padding:7px 0 0;width:100%;color:#147acc;text-decoration:underline;line-height:15px;font-family:Nunito Sans,sans-serif}.reprlinkpl1{width:auto;float:left;cursor:pointer}.Internationaltext{font-weight:400;font-family:Nunito Sans,sans-serif;font-size:11pt;padding:12px 0 1px;width:100%}.countriesDesctext1{font-family:Nunito Sans,sans-serif;font-size:10pt;padding:10px;float:left;width:auto;color:#147acc;cursor:pointer}.countDesctext1{font-family:Nunito Sans,sans-serif;font-size:10pt;padding:10px;height:10px;float:left;width:100%;margin-top:2px}.statesDescriptionpanel1{width:250px}.repha1{font-weight:600;font-family:Nunito Sans,sans-serif;font-size:18pt;padding:20px 0 35px;width:100%}.Frqbosypaneladd1{width:100%;float:left;text-align:justify;margin-top:7px;font-family:Nunito Sans,sans-serif;font-size:10pt;font-weight:400}.representativecont1{float:left;margin-right:12px;margin-top:12px}.representativecoloum{font-weight:600;font-family:Nunito Sans,sans-serif;font-size:12pt;width:100%;margin-right:0;line-height:26px;color:#484848;float:left;margin-bottom:10px;border-bottom:1px dotted #ccc;padding:17px 0 28px}.Contactta1{font-weight:400;color:#147ace;width:85px;float:left;font-size:10pt}.Contactta2{font-weight:400;color:#484848;width:70%;float:left;font-size:10pt}.recountriep1{float:left;margin-top:10px}.recountriep2{float:left;width:85%}b,strong{font-weight:400}.contactaddresslist2{width:100%;float:left;margin-top:30px}.googlemappanel{width:100%;height:450px;border:1px solid #ccc;padding:5px;background:#fff;box-shadow:1px 1px 15px 5px #cccccc8c;margin-left:16px}.mapviewpanelv1{margin-right:15px}@media (min-width: 320px) and (max-width: 640px){.repha1{padding:0 0 14px}.Frqbosypaneladd1{width:90%}.mapviewpanelv1{margin-right:30px;margin-left:-16px}.representativeb1{font-size:20px;font-weight:400}.contactaddresslist2{width:100%;float:left;margin-top:30px;margin-bottom:40px}#ctrepresentatives{margin:60px 0 10px}}@media (min-width: 640px) and (max-width: 960px){#ctrepresentatives{margin:60px 0 10px}.repha1{padding:0 0 14px}.Frqbosypaneladd1{width:90%}.mapviewpanelv1{margin-right:30px;margin-left:-16px}.representativeb1{font-size:20px;font-weight:400}.contactaddresslist2{width:100%;float:left;margin-top:30px;margin-bottom:40px}}::ng-deep .mdc-text-field--outlined{--mdc-outlined-text-field-outline-width: 1px;
60--mdc-outlined-text-field-outline-color: #e0e0e0 !important;--mdc-outlined-text-field-focus-outline-width: 1px !important;--mdc-outlined-text-field-focus-outline-color: #e0e0e0 !important;--mdc-outlined-text-field-hover-outline-color: #949494 !important} 61`],encapsulation:2}));let o=d;return o})();var ua=[{path:"",component:di},{path:"product-inquiry",component:ft},{path:"application-inquiry",component:st},{path:"technical-request",component:fi},{path:"newsletter-subscription",component:ui},{path:"general-questions",component:mi},{path:"paymentquestion",component:ci},{path:"representative",component:Bt},{path:"representative/:name",component:Bt},{path:":product-inquiry",component:ft},{path:"product/:product-inquiry/:class-relative",component:ft},{path:"appplication/:application-name/:application-code",component:st},{path:":product-inquiry/:class-relative",component:ft},{path:":application-name/:application-code",component:st}],kd=(()=>{let d=class d{};s(d,"\u0275fac",function(e){return new(e||d)}),s(d,"\u0275mod",zt({type:d})),s(d,"\u0275inj",Dt({imports:[Wt.forChild(ua),Wt]}));let o=d;return o}
61)();export{at as a,kt as b,At as c,Ft as d,kd as e};
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.