PageSourceSearch

https://www.futek.com/chunk-sdprwt3c.js

js futek.com collected 2026-09-25 14:01:54 UTC 153,741 bytes, 1 lines download raw bytes

1import{a as se,b as Pt,c as At}from"./chunk-UYAAVRFQ.js";import{h as Mt}from"./chunk-Q6YFBNMK.js";import{a as Wt}from"./chunk-DZW7KZMJ.js";import{a as Re}from"./chunk-QFSKXYDK.js";import{a as Rt}from"./chunk-HPP562M6.js";import{a as bt}from"./chunk-YXZ3AC57.js";import{a as wt}from"./chunk-MENPRDV4.js";import{a as Et}from"./chunk-3SX2F44P.js";import{a as Ee,b as ne,c as ae}from"./chunk-KAGO6UKP.js";import"./chunk-GBHPBWHX.js";import{a as et,b as dt}from"./chunk-HI4XWG22.js";import{a as tt}from"./chunk-Q3F2BTUD.js";import{c as Ae}from"./chunk-ZSH2JXXU.js";import"./chunk-5WWGJRQZ.js";import{a as _e}from"./chunk-4RSD4HMO.js";import{a as be}from"./chunk-GSVXG26R.js";import{b as ut}from"./chunk-SEZJFHW7.js";import{a as $e}from"./chunk-VQNASVMS.js";import"./chunk-IBHTAMX4.js";import"./chunk-2SDBJNMJ.js";import"./chunk-AMCFBL7G.js";import{c as it,f as nt,i as Ce,l as ot,m as Be,n as rt,q as Se,s as at,t as ve}from"./chunk-2Y7DQS6Q.js";import{a as ye}from"./chunk-2AGERO5T.js";import{$a as k,Aa as Qe,Ad as Ie,Ba as m,Bb as Ge,Be as ft,Cd as pt,Ce as _t,De as Ct,Eb as Z,Ed as lt,Ee as St,Fb as V,Fe as vt,G as Fe,Ge as xt,Hd as we,Ib as G,J as Q,Ja as r,Ka as n,La as P,Ma as He,Mb as j,Mc as ue,Na as Ze,Nc as $,O as pe,Ob as je,Oc as Ye,Pa as y,Qc as fe,R as We,Ra as C,Rc as ee,S as N,Sa as c,T as de,Tc as te,Va as B,Wa as Ne,Yd as Me,Z as g,Za as T,Zd as ct,_ as u,_a as O,_d as mt,ae as ht,bb as p,be as gt,cb as f,cd as D,db as E,ea as L,ec as K,ef as re,f as Ft,fa as ze,fb as w,fc as J,fd as Ve,ff as It,g as d,gb as M,gc as le,h as De,hb as b,hc as ce,hd as Xe,ic as Ke,id as F,if as yt,j as U,jc as Y,kc as me,na as q,ne as Pe,qa as H,qb as x,rb as I,sa as s,sc as he,sd as ie,ta as A,uc as Je,ud as st,vc as X,wc as ge,xd as xe,za as _}from"./chunk-GLMOMHUQ.js";var Jt=["qutationForm"],Yt=["search"];function Xt(i,l){if(i&1){let e=y();r(0,"div",5)(1,"div",24)(2,"mat-form-field",25)(3,"mat-label"),p(4,"Email"),n(),r(5,"input",26),b("ngModelChange",function(t){g(e);let o=c();return M(o.quotation.ContactInfo.Email,t)||(o.quotation.ContactInfo.Email=t),u(t)}),n()()(),r(6,"div",27)(7,"mat-form-field",25)(8,"mat-label"),p(9,"First Name"),n(),r(10,"input",28),b("ngModelChange",function(t){g(e);let o=c();return M(o.quotation.ContactInfo.FirstName,t)||(o.quotation.ContactInfo.FirstName=t),u(t)}),n()()(),r(11,"div",27)(12,"mat-form-field",25)(13,"mat-label"),p(14,"Last Name"),n(),r(15,"input",29),b("ngModelChange",function(t){g(e);let o=c();return M(o.quotation.ContactInfo.LastName,t)||(o.quotation.ContactInfo.LastName=t),u(t)}),n()()()()}if(i&2){let e=c();s(5),w("ngModel",e.quotation.ContactInfo.Email),s(5),w("ngModel",e.quotation.ContactInfo.FirstName),s(5),w("ngModel",e.quotation.ContactInfo.LastName)}}function $t(i,l){i&1&&(r(0,"div",37),p(1,"(Are you associated with any of the listed companies.)"),n())}function ei(i,l){i&1&&(r(0,"div",38),p(1,"(Company name is already exists with another domain. Please enter another company Name.)"),n())}function ti(i,l){if(i&1){let e=y();r(0,"div",24)(1,"mat-form-field",25)(2,"mat-label"),p(3,"Company"),n(),r(4,"input",34),b("ngModelChange",function(t){g(e);let o=c(2);return M(o.quotation.ContactInfo.Company.Name,t)||(o.quotation.ContactInfo.Company.Name=t),u(t)}),n()(),_(5,$t,2,0,"div",35)(6,ei,2,0,"div",36),n()}if(i&2){let e=c(2);s(4),w("ngModel",e.quotation.ContactInfo.Company.Name),s(),m("ngIf",e.isListedCompanies&&e.isUserLoggedIn==!1),s(),m("ngIf",e.companyAlreadyExists&&e.isUserLoggedIn==!1)}}function ii(i,l){if(i&1){let e=y();r(0,"div",27)(1,"mat-form-field",25)(2,"mat-label"),p(3,"Company"),n(),r(4,"input",39),C("blur",function(){g(e);let t=c(2);return u(t.checkCompanyName())}),b("ngModelChange",function(t){g(e);let o=c(2);return M(o.quotation.ContactInfo.Company.Name,t)||(o.quotation.ContactInfo.Company.Name=t),u(t)}),n()()()}if(i&2){let e=c(2);s(4),w("ngModel",e.quotation.ContactInfo.Company.Name)}}function ni(i,l){if(i&1){let e=y();r(0,"div",27)(1,"mat-form-field",25)(2,"mat-label"),p(3,"Choose Company"),n(),r(4,"input",40),b("ngModelChange",function(t){g(e);let o=c(2);return M(o.quotation.ContactInfo.Company.Name,t)||(o.quotation.ContactInfo.Company.Name=t),u(t)}),C("blur",function(){g(e);let t=c(2);return u(t.checkCompanyName())}),n(),r(5,"button",41),C("click",function(){g(e);let t=c(2);return u(t.showCompanyListSropdown())}),r(6,"mat-icon"),p(7,"create"),n()()()()}if(i&2){let e=c(2);s(4),w("ngModel",e.quotation.ContactInfo.Company.Name)}}function oi(i,l){if(i&1&&(r(0,"mat-option",45),p(1),n()),i&2){let e=l.$implicit;m("value",e.Name),s(),E("",e.Name," ")}}function ri(i,l){if(i&1){let e=y();r(0,"div",27)(1,"mat-form-field",25)(2,"mat-label"),p(3,"Choose Company"),n(),r(4,"mat-select",42),C("selectionChange",function(){g(e);let t=c(2);return u(t.selectedCompany())}),b("ngModelChange",function(t){g(e);let o=c(2);return M(o.quotation.ContactInfo.Company.Name,t)||(o.quotation.ContactInfo.Company.Name=t),u(t)}),_(5,oi,2,2,"mat-option",43),r(6,"mat-option",44),p(7,"Other"),n()()()()}if(i&2){let e=c(2);s(4),w("ngModel",e.quotation.ContactInfo.Company.Name),s(),m("ngForOf",e.companiesList)}}function ai(i,l){if(i&1){let e=y();r(0,"div",5),_(1,ti,7,3,"div",30)(2,ii,5,1,"div",31)(3,ni,8,1,"div",31)(4,ri,8,2,"div",31),r(5,"div",27)(6,"mat-form-field",25)(7,"mat-label"),p(8,"Title"),n(),r(9,"input",32),b("ngModelChange",function(t){g(e);let o=c();return M(o.quotation.ContactInfo.Title,t)||(o.quotation.ContactInfo.Title=t),u(t)}),n()()(),r(10,"div",27)(11,"mat-form-field",25)(12,"mat-label"),p(13,"Department"),n(),r(14,"input",33),b("ngModelChange",function(t){g(e);let o=c();return M(o.quotation.ContactInfo.Department,t)||(o.quotation.ContactInfo.Department=t),u(t)}),n()()()()}if(i&2){let e=c();s(),m("ngIf",e.isCompany&&!e.isListedCompanies),s(),m("ngIf",!e.isCompany&&!e.isListedCompanies),s(),m("ngIf",!e.isCompany&&e.isListedCompanies),s(),m("ngIf",e.isCompany&&e.isListedCompanies),s(5),w("ngModel",e.quotation.ContactInfo.Title),s(5),w("ngModel",e.quotation.ContactInfo.Department)}}function si(i,l){if(i&1&&(r(0,"mat-option",45),p(1),n()),i&2){let e=l.$implicit;m("value",e.Text),s(),E("",e.Text," ")}}function pi(i,l){if(i&1&&(r(0,"mat-option",45),p(1),n()),i&2){let e=l.$implicit;m("value",e.Text),s(),E("",e.Text," ")}}function di(i,l){i&1&&(r(0,"div",53),p(1,"Please enter Phone number"),n())}function li(i,l){i&1&&(r(0,"div",54),p(1,"Please enter valid Phone number"),n())}function ci(i,l){if(i&1){let e=y();r(0,"div",5)(1,"div",27)(2,"mat-form-field",25)(3,"mat-label"),p(4,"Industry"),n(),r(5,"mat-select",46),b("ngModelChange",function(t){g(e);let o=c();return M(o.IndustryTypeName,t)||(o.IndustryTypeName=t),u(t)}),_(6,si,2,2,"mat-option",43),n()()(),r(7,"div",27)(8,"mat-form-field",25)(9,"mat-label"),p(10,"How did you hear about us?"),n(),r(11,"mat-select",47),b("ngModelChange",function(t){g(e);let o=c();return M(o.ShippingAddress.InformationSource,t)||(o.ShippingAddress.InformationSource=t),u(t)}),_(12,pi,2,2,"mat-option",43),n()()(),r(13,"div",48)(14,"input",49),C("blur",function(){g(e);let t=c();return u(t.PhoneNumberMessage())}),b("ngModelChange",function(t){g(e);let o=c();return M(o.quotation.ContactInfo.Phone,t)||(o.quotation.ContactInfo.Phone=t),u(t)}),n(),_(15,di,2,0,"div",50)(16,li,2,0,"div",51),n(),r(17,"div",27)(18,"mat-form-field",25)(19,"mat-label"),p(20,"Ext."),n(),P(21,"input",52),n()()()}if(i&2){let e=c();s(5),w("ngModel",e.IndustryTypeName),s(),m("ngForOf",e.indusTypeList),s(5),w("ngModel",e.ShippingAddress.InformationSource),s(),m("ngForOf",e.infoSourceList),s(2),w("ngModel",e.quotation.ContactInfo.Phone),s(),m("ngIf",e.PhoneNumberError&&e.
1isUserLoggedIn==!1),s(),m("ngIf",e.PhoneNumberFormatError&&e.isUserLoggedIn==!1)}}function mi(i,l){if(i&1){let e=y();r(0,"div",5)(1,"div",55)(2,"h2",15),p(3,"Ship To"),n()(),r(4,"div",56)(5,"section",57)(6,"div",5)(7,"div",58)(8,"mat-form-field",25)(9,"mat-label"),p(10,"First Name"),n(),r(11,"input",28),b("ngModelChange",function(t){g(e);let o=c();return M(o.quotation.ContactInfo.FirstName,t)||(o.quotation.ContactInfo.FirstName=t),u(t)}),n()()()(),r(12,"div",59)(13,"div",58)(14,"mat-form-field",25)(15,"mat-label"),p(16,"Last Name"),n(),r(17,"input",29),b("ngModelChange",function(t){g(e);let o=c();return M(o.quotation.ContactInfo.LastName,t)||(o.quotation.ContactInfo.LastName=t),u(t)}),n()()()()()()()}if(i&2){let e=c();s(11),w("ngModel",e.quotation.ContactInfo.FirstName),s(6),w("ngModel",e.quotation.ContactInfo.LastName)}}function hi(i,l){if(i&1){let e=y();r(0,"div",68)(1,"a",69),C("click",function(){g(e);let t=c(3);return u(t.entermanuallyaddress())}),p(2,"Can't see your address? Enter it manually"),n()()}}function gi(i,l){if(i&1&&(r(0,"div",63)(1,"div",64)(2,"div",65)(3,"mat-form-field",25)(4,"mat-label"),p(5,"Search for your address by entering a street name"),n(),P(6,"input",66,1),n()()(),r(8,"div",5),_(9,hi,3,0,"div",67),n()()),i&2){let e=c(2);s(9),m("ngIf",!e.IsExistingUser&&!e.isAddressVisible)}}function ui(i,l){if(i&1&&(r(0,"mat-option",45),p(1),n()),i&2){let e=l.$implicit;m("value",e.CodeId),s(),E(" ",e.Description," ")}}function fi(i,l){if(i&1){let e=y();r(0,"div",79)(1,"a",69),C("click",function(){g(e);let t=c(3);return u(t.Searchanotherviewaddress())}),p(2,"Search for another address"),n()()}}function _i(i,l){if(i&1){let e=y();r(0,"mat-form-field",25)(1,"mat-label"),p(2,"Zip / Postal Code"),n(),r(3,"input",80),C("keypress",function(){g(e);let t=c(3);return u(t.erraseZipcodeError(t.ShippingAddress.ZipPostalCode))}),b("ngModelChange",function(t){g(e);let o=c(3);return M(o.ShippingAddress.ZipPostalCode,t)||(o.ShippingAddress.ZipPostalCode=t),u(t)}),C("blur",function(){g(e);let t=c(3);return u(t.getAddress(t.ShippingAddress.ZipPostalCode))}),n()()}if(i&2){let e=c(3);s(3),w("ngModel",e.ShippingAddress.ZipPostalCode)}}function Ci(i,l){if(i&1){let e=y();r(0,"mat-form-field",25)(1,"mat-label"),p(2,"Postal Code"),n(),r(3,"input",81),C("keypress",function(t){g(e);let o=c(3);return u(o.specialcharpanel(t))})("blur",function(){g(e);let t=c(3);return u(t.getAddress(t.ShippingAddress.PostalCode))}),b("ngModelChange",function(t){g(e);let o=c(3);return M(o.ShippingAddress.PostalCode,t)||(o.ShippingAddress.PostalCode=t),u(t)}),n(),r(4,"mat-error",82),p(5,"Please enter valid zip code"),n()()}if(i&2){let e=c(3);s(3),w("ngModel",e.ShippingAddress.PostalCode)}}function Si(i,l){i&1&&(r(0,"label",83),p(1," Please enter valid zip code "),n())}function vi(i,l){if(i&1&&(r(0,"mat-option",45),p(1),n()),i&2){let e=l.$implicit;m("value",e.CodeId),s(),E(" ",e.Description," ")}}function xi(i,l){if(i&1){let e=y();r(0,"mat-form-field",25)(1,"mat-label"),p(2,"State"),n(),r(3,"mat-select",84),C("selectionChange",function(t){g(e);let o=c(3);return u(o.StateChange(t.value))})("blur",function(){g(e);let t=c(3);return u(t.showValidateButton())}),b("ngModelChange",function(t){g(e);let o=c(3);return M(o.ShippingAddress.State,t)||(o.ShippingAddress.State=t),u(t)}),_(4,vi,2,2,"mat-option",43),n()()}if(i&2){let e=c(3);s(3),w("ngModel",e.ShippingAddress.State),m("disabled",e.isReadOnly),s(),m("ngForOf",e.stateList)}}function Ii(i,l){if(i&1){let e=y();r(0,"mat-form-field",25)(1,"mat-label"),p(2,"State / Province / Region"),n(),r(3,"input",85),C("keypress",function(t){g(e);let o=c(3);return u(o.specialcharpanel(t))}),b("ngModelChange",function(t){g(e);let o=c(3);return M(o.ShippingAddress.Province,t)||(o.ShippingAddress.Province=t),u(t)}),n()()}if(i&2){let e=c(3);s(3),w("ngModel",e.ShippingAddress.Province)}}function yi(i,l){if(i&1&&(r(0,"mat-option",45),p(1),n()),i&2){let e=l.$implicit;m("value",e.CodeId),s(),E(" ",e.Description," ")}}function wi(i,l){if(i&1){let e=y();r(0,"div",58)(1,"mat-form-field",25)(2,"mat-label"),p(3,"County"),n(),r(4,"mat-select",86),b("ngModelChange",function(t){g(e);let o=c(3);return M(o.ShippingAddress.County,t)||(o.ShippingAddress.County=t),u(t)}),C("selectionChange",function(t){g(e);let o=c(3);return u(o.CountyChange(t.value))}),_(5,yi,2,2,"mat-option",43),n()()()}if(i&2){let e=c(3);s(4),w("ngModel",e.ShippingAddress.County),s(),m("ngForOf",e.countyList)}}function Mi(i,l){i&1&&(r(0,"label",83),p(1," Please enter the accurate address, PO BOX is not acceptable. "),n())}function bi(i,l){i&1&&(r(0,"label",83),p(1," Please enter the accurate address, PO BOX is not acceptable. "),n())}function Pi(i,l){if(i&1){let e=y();r(0,"div",5)(1,"div",70)(2,"div",5)(3,"div",58)(4,"mat-form-field",25)(5,"mat-label"),p(6,"Country"),n(),r(7,"mat-select",71),C("selectionChange",function(t){g(e);let o=c(2);return u(o.CountryChange(t.value))})("blur",function(){g(e);let t=c(2);return u(t.onBlurCountry())}),b("ngModelChange",function(t){g(e);let o=c(2);return M(o.ShippingAddress.Country,t)||(o.ShippingAddress.Country=t),u(t)}),_(8,ui,2,2,"mat-option",43),n()()(),_(9,fi,3,0,"div",72),n(),r(10,"div",5)(11,"div",58),_(12,_i,4,1,"mat-form-field",73)(13,Ci,6,1,"mat-form-field",73)(14,Si,2,0,"label",74),n(),r(15,"div",58),_(16,xi,5,3,"mat-form-field",73)(17,Ii,4,1,"mat-form-field",73),n(),r(18,"div",58)(19,"mat-form-field",25)(20,"mat-label"),p(21,"City"),n(),r(22,"input",75),C("keypress",function(t){g(e);let o=c(2);return u(o.specialcharpanel(t))})("blur",function(){g(e);let t=c(2);return u(t.taxChanged())}),b("ngModelChange",function(t){g(e);let o=c(2);return M(o.ShippingAddress.City,t)||(o.ShippingAddress.City=t),u(t)}),n()()(),_(23,wi,6,2,"div",76),n(),r(24,"div",5)(25,"div",58)(26,"mat-form-field",25)(27,"mat-label"),p(28,"Street Address"),n(),r(29,"input",77),C("blur",function(){g(e);let t=c(2);return u(t.taxChanged())}),b("ngModelChange",function(t){g(e);let o=c(2);return M(o.ShippingAddress.Street1,t)||(o.ShippingAddress.Street1=t),u(t)}),n()(),_(30,Mi,2,0,"label",74),n(),r(31,"div",58)(32,"mat-form-field",25)(33,"mat-label"),p(34,"Street Address 2"),n(),r(35,"input",78),C("blur",function(){g(e);let t=c(2);return u(t.address2BoxError())}),b("ngModelChange",function(t){g(e);let o=c(2);return M(o.ShippingAddress.Street2,t)||(o.ShippingAddress.Street2=t),u(t)}),n()(),_(36,bi,2,0,"label",74),n()()()()}if(i&2){let e=c(2);s(7),w("ngModel",e.ShippingAddress.Country),s(),m("ngForOf",e.countryList),s(),m("ngIf",!e.IsExistingUser&&e.isAddressVisible),s(3),m("ngIf",e.IsUS),s(),m("ngIf",!e.IsUS),s(),m("ngIf",e.zipError),s(2),m("ngIf",e.IsUS),s(),m("ngIf",!e.IsUS),s(5),w("ngModel",e.ShippingAddress.City),s(),m("ngIf",e.IsCaliforniaState),s(6),w("ngModel",e.ShippingAddress.Street1),s(),m("ngIf",e.address1POBoxError),s(5),w("ngModel",e.ShippingAddress.Street2),s(),m("ngIf",e.address2POBoxError)}}function Ai(i,l){if(i&1&&(r(0,"div",60)(1,"div",55)(2,"h2",15),p(3,"Shipping Address"),n()(),r(4,"div",61)(5,"div",5),_(6,gi,10,1,"div",62)(7,Pi,37,14,"div",7),n()()()),i&2){let e=c();s(6),m("ngIf",!e.isAddressVisible&&!e.IsExistingUser),s(),m("ngIf",!e.IsExistingUser&&e.isAddressVisible)}}function Ei(i,l){if(i&1&&(r(0,"span"),p(1),n()),i&2){let e=c(3);s(),f(e.ShippingAddress.Street1)}}function Ri(i,l){i&1&&(r(0,"span"),p(1,",\xA0"),n())}function Ti(i,l){if(i&1&&(r(0,"span"),p(1),n()),i&2){let e=c(3);s(),f(e.ShippingAddress.Street2)}}function Oi(i,l){i&1&&(r(0,"span"),p(1,",\xA0"),n())}function ki(i,l){if(i&1&&(r(0,"span"),p(1),n()),i&2){let e=c(3);s(),f(e.ShippingAddress.Street3)}}function qi(i,l){i&1&&(r(0,"span"),p(1,",\xA0"),n())}function Qi(i,l){if(i&1&&(r(0,"span"),p(1),n()),i&2){let e=c(3);s(),f(e.ShippingAddress.Street4)}}function Ni(i,l){i&1&&(r(0,"span"),p(1,",\xA0"),n())}function Vi(i,l){if(i&1&&(r(0,"span"),p(1),n()),i&2){let e=c(3);s(),f(e.ShippingAddress.County)}}function Bi(i,l){i&1&&(r(0,"span"),p(1,",\xA0"),n())}function Ui(i,l){if(i&1&&(r(0,"span"),p(1),n()),i&2){let e=c(3);s(),f(e.ShippingAddress.State)}}function Li(i,l){i&1&&(r(0,"span"),p(1,",\xA0"),n())}function Di(i,l){if(i&1&&(r(0,"span"),p(1),x(2,"uppercase"),n()),i&2){let e=c(3);s(),f(I(2,1,e.ShippingAddress.Province))}}function Fi(i,l){i&1&&(r(0,"span"),p(1,",\xA0"),n())}function Wi(i,l){if(i&1&&(r(0,"span"),p(1),n()),i&2){let e=c(3);s(),f(e.ShippingAddress.ZipPostalCode)}}function zi(i,l){i&1&&(r(0,"span"),p(1,",\xA0"),n())}function Hi(i,l){if(i&1&&(r(0,"span"),p(1),n()),i&2){let e=c(3);s(),f(e.ShippingAddress.PostalCode)}}function Zi(i,l){if(i&1&&(r(0,"span"),p(1),x(2,"uppercase"),n()),i&2){let e=c(3);s(),f(I(2,1,e.ShippingAddress.Country))}}function Gi(i,l){if(i&1&&(r(0,"div",5)(1,"span"),p(2,"Phone Number: \xA0"),n(),r(3,"span"),p(4),n()()),i&2){let e=c(3);s(4),f(e.ShippingAddress.PhoneNumber)}}function ji(i,l){if(i&1){let e=y();r(0,"a",91),C("click",function(){g(e);let t=c(3);return u(t.changeShippingAddress())}),p(1,"(Change address)"),n()}}function Ki(i,l){if(i&1&&(r(0,"div",89)(1,"div",5),_(2,Ei,2,1,"span",19)(3,Ri,2,0,"span",19)(4,Ti,2,1,"span",19)(5,Oi,2,0,"span",19)(6,ki,2,1,"span",19)(7,qi,2,0,"span",19)(8,Qi,2,1,"span",19),n(),r(9,"div",5)(10,"span")(11,"span"),p(12),n(),_(13,Ni,2,0,"span",19)(14,Vi,2,1,"span",19)(15,Bi,2,0,"span",19)(16,Ui,2,1,"span",19)(17,Li,2,0,"span",19)(18,Di,3,3,"span",19)(19,Fi,2,0,"span",19)(20,Wi,2,1,"span",19)(21,zi,2,0,"span",19)(22,Hi,2,1,"span",19),n()(),r(23,"div",5),_(24,Zi,3,3,"span",19),n(),_(25,Gi,5,1,"div",7),P(26,"div",16),_(27,ji,2,0,"a",90),n()),i&2){let e=c(2);s(2),m("ngIf",e.ShippingAddress.Street1),s(),m("ngIf",e.ShippingAddress.Street2),s(),m("ngIf",e.ShippingAddress.Street2),s(),m("ngIf",e.ShippingAddress.Street3),s(),m("ngIf",e.ShippingAddress.Street3),s(),m("ngIf",e.ShippingAddress.Street4),s(),m("ngIf",e.ShippingAddress.Street4),s(4),f(e.ShippingAddress.City),s(),m("ngIf",e.ShippingAddress.County&&e.ShippingAddress.State=="CA"),s(),m("ngIf",e.ShippingAddress.County&&e.ShippingAddress.State=="CA"),s(),m("ngIf",e.ShippingAddress.State),s(),m("ngIf",e.ShippingAddress.State),s(),m("ngIf",e.ShippingAddress.Province),s(),m("ngIf",e.ShippingAddress.Province),s(),m("ngIf",e.ShippingAddress.ZipPostalCode&&e.ShippingAddress.Country.toUpperCase()=="US"),s(),m("ngIf",e.ShippingAddress.ZipPostalCode&&e.ShippingAddress.Country.toUpperCase()=="US"),s(),m("ngIf",e.ShippingAddress.PostalCode&&e.ShippingAddress.Country.toUpperCase()!="US"),s(),m("ngIf",e.ShippingAddress.PostalCode&&e.ShippingAddress.Country.toUpperCase()!="US"),s(2),m("ngIf",e.ShippingAddress.Country),s(),m("ngIf",e.ShippingAddress&&e.ShippingAddress.PhoneNumber),s(2),m("ngIf",e.ShippingAddress)}}function Ji(i,l){if(i&1&&(r(0,"div",60)(1,"div",55)(2,"h2",15),p(3,"Shipping Address"),n()(),r(4,"div",56)(5,"div",5)(6,"div",70)(7,"section",87),_(8,Ki,28,21,"div",88),n()()()()()),i&2){let e=c();s(8),m("ngIf",e.ShippingAddress)}}function Yi(i,l){if(i&1&&(r(0,"mat-option",45),p(1),n()),i&2){let e=l.$implicit;m("value",e),s(),E(" ",e," ")}}function Xi(i,l){if(i&1&&(r(0,"mat-option",45),p(1),n()),i&2){let e=c().$implicit;m("value",e.code),s(),E(" ",e.name," ")}}function $i(i,l){if(i&1&&(He(0),_(1,Xi,2,2,"mat-option",107),Ze()),i&2){let e=l.$implicit;s(),m("ngIf",!(e.code==0||e.code==44))}}function en(i,l){if(i&1){let e=y();r(0,"div",100)(1,"div",101)(2,"div",102)(3,"div",27)(4,"mat-form-field",25)(5,"mat-label"),p(6,"Carrier"),n(),r(7,"mat-select",103),b("ngModelChange",function(t){g(e);let o=c(2);return M(o.ShippingInfo.Carrier,t)||(o.ShippingInfo.Carrier=t),u(t)}),C("selectionChange",function(t){g(e);let o=c(2);return u(o.resetCarrier(t.value))}),_(8,Yi,2,2,"mat-option",43),n()()(),r(9,"div",27)(10,"mat-form-field",25)(11,"mat-label"),p(12,"Service"),n(),r(13,"mat-select",104),b("ngModelChange",function(t){g(e);let o=c(2);return M(o.ShippingInfo.Service,t)||(o.ShippingInfo.Service=t),u(t)}),_(14,$i,2,1,"ng-container",105),n()()(),r(15,"div",27)(16,"mat-form-field",25)(17,"mat-label"),p(18,"Account Number"),n(),r(19,"input",106),C("keypress",function(t){g(e);let o=c(2);return u(o.omit_special_char(t))}),b("ngModelChange",function(t){g(e);let o=c(2);return M(o.ShippingInfo.AccountNumber,t)||(o.ShippingInfo.AccountNumber=t),u(t)}),n()()()()()()}if(i&2){let e=c(2);s(7),w("ngModel",e.ShippingInfo.Carrier),s(),m("ngForOf",e.ShippingInfo.Carriers),s(5),w("ngModel",e.ShippingInfo.Service),s(),m("ngForOf",e.ShippingInfo.CarrierOptions),s(5),w("ngModel",e.ShippingInfo.AccountNumber),m("maxlength",e.accntNumberMaxLength)("minlength",e.accountNumaberminlength)}}function tn(i,l){if(i&1){let e=y();r(0,"mat-checkbox",108),b("ngModelChange",function(t){g(e);let o=c(2);return M(o.ShippingInfo.Options.Insure,t)||(o.ShippingInfo.Options.Insure=t),u(t)}),C("change",function(t){g(e);let o=c(2);return u(o.changeInsureShipment(t))}),p(1,"Insure Shipment "),n()}if(i&2){let e=c(2);w("ngModel",e.ShippingInfo.Options.Insure),m("disabled",e.disableInsure)}}function nn(i,l){if(i&1){let e=y();r(0,"div",96)(1,"mat-checkbox",109),b("ngModelChange",function(t){g(e);let o=c(2);return M(o.ShippingInfo.Options.ShipSeparate,t)||(o.ShippingInfo.Options.ShipSeparate=t),u(t)}),p(2,"Ship items separately as they become available"),n(),P(3,"br"),r(4,"span",98),p(5," If all the products in your order are currently not in stock, choosing partial shipments would allow us to send you part of your order in advance. For example, if we have 3 of the items you are requestiong in stock and you want 5, we would send you the 3 we have available first and then ship the other 2 at a later date. "),n()()}if(i&2){let e=c(2);s(),w("ngModel",e.ShippingInfo.Options.ShipSeparate)}}function on(i,l){if(i&1){let e=y();r(0,"div",60)(1,"div",55)(2,"h2",15),p(3,"Shipping Method"),n()(),r(4,"div",56)(5,"div",5)(6,"div",70)(7,"app-shipping-method-selector",92),b("selectedValueChange",function(t){g(e);let o=c();return M(o.selectedValue,t)||(o.selectedValue=t),u(t)}),C("methodSelected",function(t){g(e);let o=c();return u(o.setSelectedMethod(t,!1))}),n(),_(8,en,20,7,"div",93),n()()(),r(9,"div",94)(10,"h2",15),p(11,"Shipping Options"),n()(),r(12,"div",95)(13,"div",5)(14,"div",70)(15,"div",5)(16,"div",96),_(17,tn,2,2,"mat-checkbox",97),P(18,"br"),r(19,"span",98),p(20," Requesting to insure your shipment only guarantees that your product is insured. Insurance does not cover any services you purchase. "),n()(),_(21,nn,6,1,"div",99),n()()()()()}if(i&2){let e=c();s(7),m("shippingRates",e.shippingRates)("shippingMethodStatus",e.shippingMethodStatus)("shippingRatesLoaded",e.shippingRatesLoaded),w("selectedValue",e.selectedValue),s(),m("ngIf",e.useMyCarrier),s(9),m("ngIf",e.orderType!="Return"),s(4),m("ngIf",e.ShippingInfo.SelectedShippingMethod=="My Carrier"&&e.isRegisteredUser)}}function rn(i,l){if(i&1){let e=y();r(0,"div",110)(1,"div",60)(2,"div",55)(3,"h2",15),p(4,"Tax Exemption"),n()(),r(5,"div",111)(6,"div",5)(7,"div",70)(8,"div",112)(9,"div",5)(10,"div",96)(11,"div",113)(12,"mat-checkbox",114),b("ngModelChange",function(t){g(e);let o=c();return M(o.ShippingInfo.IsForResale,t)||(o.ShippingInfo.IsForResale=t),u(t)}),C("change",function(t){g(e);let o=c();return u(o.checkResale(t))}),n(),r(13,"div",115)(14,"div"),p(15,"Please select this option if the quotation is tax-exempt. Note: An exemption number and supporting documents are required when placing an order"),n()()()()()()()()()()()}if(i&2){let e=c();s(12),w("ngModel",e.ShippingInfo.IsForResale)}}function an(i,l){if(i&1&&(r(0,"tr")(1,"td"),p(2,"Total Discount"),n(),r(3,"td",18),p(4),x(5,"currency"),n()()),i&2){let e=c();s(4),f(I(5,1,e.cart.TotalDiscount))}}function sn(i,l){if(i&1&&(r(0,"tr")(1,"td"),p(2,"Tax"),n(),r(3,"td",18),p(4),x(5,"currency"),n()()),i&2){let e=c();s(4),f(I(5,1,e.cart.Tax))}}function pn(i,l){if(i&1&&(r(0,"tr")(1,"td"),p(2,"Shipping Charge"),n(),r(3,"td",18),p(4),x(5,"currency"),n()()),i&2){let e=c();s(4),f(I(5,1,e.cart.ShippingCharge))}}function dn(i,l){if(i&1&&(r(0,"tr")(1,"td"),p(2,"Handling Charge"),n(),r(3,"td",18),p(4),x(5,"currency"),n()()),i&2){let e=c();s(4),f(I(5,1,e.cart.HandlingCharge))}}function ln(i,l){if(i&1&&(r(0,"tr")(1,"td"),p(2,"Insurance Charge"),n(),r(3,"td",18),p(4),x(5,"currency"),n()()),i&2){let e=c();s(4),f(I(5,1,e.cart.InsuranceCharge))}}var Oe=(()=>{let l=class l{constructor(a,t,o,h,S,R,W,v,Lt,Dt){d(this,"_googleMapsService");d(this,"dialog");d(this,"ngZone");d(this,"auth");d(this,"_loaderService");d(this,"_shippingInf
1ormationService");d(this,"_accountService");d(this,"_contactservice");d(this,"_StandardcheckoutService");d(this,"router");d(this,"ShippingAddress",new ne);d(this,"qutationForm");d(this,"cart",new ut);d(this,"quotation",new se);d(this,"registrationModel",new Ee);d(this,"FileHostUrl",F.FileHostUrl);d(this,"isCompany",!1);d(this,"IsPwdMatched",!0);d(this,"errCompany",!1);d(this,"countryList",[]);d(this,"stateList",[]);d(this,"indusTypeList",[]);d(this,"countyList",[]);d(this,"infoSourceList",[]);d(this,"IsCaliforniaState",!1);d(this,"Email",new Ue);d(this,"companiesList");d(this,"shippingMethodStatus");d(this,"address1POBoxError");d(this,"address2POBoxError");d(this,"isReadOnly");d(this,"CountryId");d(this,"zipError");d(this,"isDisabled",!1);d(this,"IndustryTypeName","");d(this,"isListedCompanies",!1);d(this,"companyAlreadyExists",!1);d(this,"IsExistingUser");d(this,"Isloaded");d(this,"ShippingAddressData");d(this,"BillingAddressData");d(this,"PhoneNumber");d(this,"PhoneNumberError",!1);d(this,"shippingaddesschecked",!1);d(this,"billingaddesschecked",!1);d(this,"selectedShippingMethod",new rt);d(this,"useMyCarrier",!1);d(this,"ShippingInfo",new At);d(this,"selectedValue");d(this,"showShippingAccountNumber",!1);d(this,"disableInsure",!1);d(this,"shippingFee",!1);d(this,"ngUnsubscribe",new U);d(this,"searchElementRef");d(this,"searchControl");d(this,"IsUS",!0);d(this,"isMatched",!0);d(this,"shippingRatesLoaded",!0);d(this,"userShippingPreferences",{Carrier:null,Service:null});d(this,"accntNumberMaxLength");d(this,"accountNumaberminlength",4);d(this,"IsShippingMethod",!0);d(this,"shippingRates",[]);d(this,"code","");d(this,"shippingMethodPackage",[]);d(this,"optionsInfoRequestDto",new nt);d(this,"isAddressVisible",!1);d(this,"orderType","");d(this,"isUserLoggedIn");d(this,"isLinear");d(this,"handlingFee",!1);d(this,"intHandling",!0);d(this,"isRepresentative",!1);d(this,"PhoneNumberFormatError",!1);d(this,"QuoteUserData");d(this,"softwareProduct",!1);d(this,"packages");d(this,"isForResale",!1);d(this,"filevalidate",!1);d(this,"RSLinkToFiles",[]);d(this,"packagesCount",0);d(this,"shippingForwardClicked",new L);d(this,"shippingBackClicked",new L);d(this,"ShippingMethodStatus",re);d(this,"checkOutService",We(bt));this._googleMapsService=a,this.dialog=t,this.ngZone=o,this.auth=h,this._loaderService=S,this._shippingInformationService=R,this._accountService=W,this._contactservice=v,this._StandardcheckoutService=Lt,this.router=Dt,this.optionsInfoRequestDto.ShipSeparate=!1,this.optionsInfoRequestDto.Insure=!0;let z=sessionStorage.getItem("RevisedQuoteCart");z&&z&&(z.substring(0,3)=="Rep"||z.substring(0,3)=="Ret"?z.substring(0,3)=="Rep"?this.orderType="Repair":this.orderType="Return":z.substring(0,2)=="R-"?this.orderType="Recal":this.orderType="Standard"),localStorage.setItem("checkeoutGuest","2")}scrollHandler(a){if(document.querySelector("#responseShippingNextBtn")&&document.querySelector("#responseShippingNextBtn").setAttribute("style","position: relative;"),document.querySelector("#order-summary-table").setAttribute("style","position: relative;"),window.innerWidth>767)if(window.pageYOffset>50){let t=window.innerWidth>1023&&window.innerWidth<1270?"235px":"270px";document.querySelector("#order-summary-table")&&document.querySelector("#order-summary-table").setAttribute("style","position: fixed;top: 50px;width:"+t+";")}else document.querySelector("#order-summary-table")&&document.querySelector("#order-summary-table").setAttribute("style","position: relative;");else window.pageYOffset>50?document.querySelector("#responseShippingNextBtn")&&document.querySelector("#responseShippingNextBtn").setAttribute("style","position: fixed;top: 50px;width:100%;margin-top:-2px!important;margin-left: -15px;padding:5px;padding-right: 15px !important;background:#fff!important;border-bottom:1px solid #ccc !important;"):document.querySelector("#responseShippingNextBtn")&&document.querySelector("#responseShippingNextBtn").setAttribute("style","position: relative;")}ngOnInit(){let a=sessionStorage.getItem("RevisedQuoteCart");this.orderType!="Return"?this.ShippingInfo.Options.Insure=!0:this.ShippingInfo.Options.Insure=!1,a?this._StandardcheckoutService.getCart(a).pipe(Q(this.ngUnsubscribe)).subscribe(t=>{this.cart=t,this.QuoteUserData=JSON.parse(localStorage.getItem("userData")),sessionStorage.setItem("RevisedQuoteCart",this.cart.AccessCode),this._contactservice.getContactInfo().subscribe(o=>{this.countryList=o.CountriesTypeList,this.stateList=o.StatesTypeList,this.countyList=o.CaliforniaCountyList,this.indusTypeList=o.IndustryTypeList,this.infoSourceList=o.InformationSourceList,this.bindShippingData(),this.ShippingAddress||(this.ShippingAddress=new ae,setTimeout(()=>{this.changeShippingAddress()},1e3))},o=>{}),this._StandardcheckoutService.getRegisteredUser().pipe(Q(this.ngUnsubscribe)).subscribe(o=>{if(this.quotation=new se,o.IsGuest==="guest")this.isUserLoggedIn=!1,this.ShippingAddress.Country="us",this.quotation.CustomerAccountId=0,this.QuoteUserData&&(this.quotation.ContactInfo.Email=this.QuoteUserData.EmailAddress,this.quotation.WebId=this.QuoteUserData.WebId,this.getdomain(this.quotation.ContactInfo.Email));else{if(localStorage.getItem("token")&&o.IsGuest==="guest"){alert("Session expired. Please Login."),this.auth.logout();return}this.QuoteUserData&&(this.quotation.ContactInfo.Email=this.QuoteUserData.EmailAddress,this.quotation.WebId=this.QuoteUserData.WebId,this.quotation.ContactInfo.Company={},this.quotation.ContactInfo.Company.Name=this.QuoteUserData.CompanyName),setTimeout(()=>{this.isUserLoggedIn=!0},1e3),this.IsExistingUser=!0,this.isLinear=!0,this.IsExistingUser=!0,this.quotation.CustomerAccountId=o.CustomerAccountId,this.quotation.ContactInfo.Company={},this.quotation.ContactInfo.Company.Name=o.Company,this.quotation.ContactInfo.Phone=o.Phone,this.quotation.ContactInfo.Email=o.Email,this.quotation.ContactInfo.Title=o.Title,this.IndustryTypeName=o.IndustryTypeName,this.quotation.ContactInfo.Company.ReferredByOther=o.RefferedBy,this.quotation.ContactInfo.Department=o.Department,this.QuoteUserData.ShippingAddress?this.ShippingAddress=this.QuoteUserData.ShippingAddress:this.ShippingAddress=o.ShippingAddress,this.quotation.ContactInfo.FirstName=o.FirstName,this.quotation.ContactInfo.LastName=o.LastName,this.quotation.IsRegisteredUser=!0,this.isRepresentative=o.IsRepresentative,this.handlingFee=o.HandlingFee,o.BillingAddress&&(this.quotation.BillTo=o.BillingAddress.Id),this.isAddressVisible=!0,this.quotation.AccessCode=sessionStorage.getItem("RevisedQuoteCart"),this.ShippingAddress||(this.ShippingAddress=new ae,setTimeout(()=>{this.quotation.ShipTO=0,this.changeShippingAddress()},1e3)),this.CountryId=this.ShippingAddress.Country,this.ShippingAddress.IntPhone="+1",this.bindShippingData()}})}):this.router.navigate(["home"])}taxChanged(){this.address1POBoxError=Se(this.ShippingAddress.Street1),this.ShippingAddress&&this.ShippingAddress.Street1?.length&&this.ShippingAddress.Country.toUpperCase()=="US"&&this.getTax()}getAddress(a){this.ShippingAddress.City="",this.ShippingAddress.State="",this.ShippingAddress.County="",this.ShippingAddress.Street1="",this.ShippingAddress.Street2="",a=a.replace(/\s/g,""),this.isDisabled=!1,this.IsCaliforniaState=!1,this.ShippingAddress.Country=="us"&&a.length==5?this._accountService.getAddress(a).subscribe(t=>{let o=JSON.parse(t);if(o.status=="ZERO_RESULTS")this.zipError=!0;else{this.zipError=!1;let h=o.results[0].formatted_address.split(",",1)[0],S=o.results[0].formatted_address.split(", ")[1].split(" ")[0];this.ShippingAddress.City=h,this.ShippingAddress.State=S,this.ShippingAddress.State&&this.ShippingAddress.State!=""?(this.isReadOnly=!0,this.StateChange(this.ShippingAddress.State)):this.isReadOnly=!1,this.isDisabled=!0;let R=o.results[0].address_components[2].long_name.split(" "),W=R.slice(0,R.length-1).join(" ");this.ShippingAddress.County=W}this.changeShippingData()}):(this.isReadOnly=!1,this.changeShippingData()),this.address1POBoxError=!1,this.address2POBoxError=!1}addressBoxError(){this.address1POBoxError=Se(this.ShippingAddress.Street1)}address2BoxError(){this.address2POBoxError=Se(this.ShippingAddress.Street2)}bindShippingData(){(!this.ShippingAddress.Country||this.ShippingAddress.Country!="")&&this.ShippingAddress.Country=="us",this.ShippingAddressData=null,this.ShippingInfo.Options=this.optionsInfoRequestDto,this.quotation.ShipTO=this.ShippingAddress.Id,this.quotation.ContactInfo.Address.Street1=this.ShippingAddress.Street1,this.quotation.ContactInfo.Address.Street2=this.ShippingAddress.Street2,this.quotation.ContactInfo.Address.City=this.ShippingAddress.City,this.quotation.ContactInfo.Address.State=this.ShippingAddress.State,this.quotation.ContactInfo.Address.ZipPostalCode=this.ShippingAddress.ZipPostalCode?this.ShippingAddress.ZipPostalCode:this.ShippingAddress.PostalCode,this.quotation.ContactInfo.Address.PostalCode=this.ShippingAddress.PostalCode,this.quotation.ContactInfo.Address.Country=this.ShippingAddress.Country,this.quotation.ContactInfo.Address.County=this.ShippingAddress.County,this.ShippingAddress.ZipPostalCode=this.quotation.ContactInfo.Address.ZipPostalCode;var a=0;this.packages=this.cart.Packages,this.packagesCount=this.packages.length,this.cart.Packages.forEac
1h(t=>{t.Boxes.forEach(o=>{this.shippingMethodPackage.push({width:o.Width,height:o.Height,length:o.Length,weight:o.Weight,insuredValue:0})}),(t.Items[0].Stock=="SER00516"||t.Items[0].Stock=="FSH03189"||t.Items[0].Stock=="FSH04877"||t.Items[0].Stock=="FSH04878")&&(a=a+1)}),a==this.packagesCount&&(this.IsShippingMethod=!1,this.shippingFee=!1,this.softwareProduct=!0,this.intHandling=!1,this.ShippingInfo.Carrier="",this.ShippingInfo.Service="0",this.quotation.Type="Shipping",this.ShippingInfo.SelectedShippingMethod="Pick Up",this.ShippingInfo.Options.Insure=!1),(!this.quotation.ContactInfo.Address.Country||this.quotation.ContactInfo.Address.Country=="")&&(this.quotation.ContactInfo.Address.Country="us"),this.quotation.ContactInfo.Address.Country=="us"?(this.IsUS=!0,this.code=this.quotation.ContactInfo.Address.ZipPostalCode):(this.IsUS=!1,this.ShippingInfo.IsForResale=!1,this.code=this.quotation.ContactInfo.Address.PostalCode),this.softwareProduct?this.calculateCartTotals():this.changeShippingData()}changeShippingData(){if(this.shippingMethodPackage=[],this.cart.Packages.forEach(a=>{a.Boxes.forEach(t=>{this.shippingMethodPackage.push({width:t.Width,height:t.Height,length:t.Length,weight:t.Weight,insuredValue:0})})}),this.quotation.ContactInfo.Address=this.ShippingAddress,this.quotation.ContactInfo.Address&&this.quotation.ContactInfo.Address.Country&&this.quotation.ContactInfo.Address.Country.toUpperCase()=="US"?this.code=this.quotation.ContactInfo.Address.ZipPostalCode?this.quotation.ContactInfo.Address.ZipPostalCode:this.quotation.ContactInfo.Address.PostalCode:this.code=this.quotation.ContactInfo.Address.PostalCode,this.quotation.Type="Shipping",this.ShippingInfo.Address=this.quotation.ContactInfo.Address,this.ShippingAddress=this.quotation.ContactInfo.Address,this.quotation.ContactInfo.Address.Country){let a={contactEmail:this.quotation.ContactInfo.Email,accessCode:sessionStorage.getItem("AccessCode"),destinationCity:this.quotation.ContactInfo.Address.City??"",destinationCountry:this.quotation.ContactInfo.Address.Country,destinationPostalCode:this.code,packages:this.shippingMethodPackage};if(!a.destinationPostalCode){this.shippingMethodStatus=re.Error;return}this.shippingRatesLoaded=!1,this._shippingInformationService.getShippingMethods(a).pipe(Q(this.ngUnsubscribe),Fe(()=>{this.shippingRatesLoaded=!0})).subscribe({next:t=>{this.qutationForm.controls.shippingMethodRepair?.reset(),this.shippingMethodStatus=re.Success,this.updateShipping(t)},error:()=>{this.shippingMethodStatus=re.Error}})}}updateShipping(a){let t=[],o={Rate:0};if(this.IsShippingMethod)if(a.length>0){var h=0,S={};if(S.Ground=null,S["Third Day"]=null,S["Second Day"]=null,S["Next Day"]=null,a.forEach(v=>{switch(v.ProviderCode){case"13":v.ShippingMethod="Next Day",v.HelpText="1 Business Day (after shipping)<br/>- For same day shipment, orders must be received prior to 2:00PM EST.<br/>- Integration and/or system calibration service could require 1-2 days.",v.FutekCode="88",v.Checked=!1,v.Carrier="UPS",S["Next Day"]=v;break;case"02":v.ShippingMethod="Second Day",v.HelpText="2 Business Days (after shipping)",v.FutekCode="19",v.Checked=!1,v.Carrier="UPS",S["Second Day"]=v;break;case"12":v.ShippingMethod="Third Day",v.HelpText="3 Business Days (after shipping)",v.FutekCode="20",h=v.Rate,this.selectedShippingMethod.SelectedShippingMethod?v.Checked=!1:v.Checked=!0,v.Carrier="UPS",S["Third Day"]=v;break;case"03":v.ShippingMethod="Ground",v.HelpText="5-7 Business Days (after shipping)",v.FutekCode="21",v.Checked=!1,v.Carrier="UPS",S.Ground=v;break;default:(v.ProviderCode=="07"||v.ProviderCode=="08"||v.ProviderCode=="65"||v.ProviderCode=="54")&&v.Rate>o.Rate&&(o=v,v.ShippingMethod="Priority",v.HelpText="1-5 Business Days (after shipping)",v.FutekCode="14",v.Carrier="FedEx",v.Checked=!1);break}}),S["Third Day"]==null?(h=50,t.push({ShippingMethod:"Third Day",HelpText:"3 Business Days (after shipping)",FutekCode:"20",Rate:h,Checked:!1,Carrier:"UPS"})):t.push(S["Third Day"]),S.Ground==null?t.push({ShippingMethod:"Ground",HelpText:"5-7 Business Days (after shipping)",FutekCode:"21",Rate:25,Checked:!1,Carrier:"UPS"}):t.push(S.Ground),S["Second Day"]==null?t.push({ShippingMethod:"Second Day",HelpText:"2 Business Days (after shipping)",FutekCode:"19",Rate:75,Checked:!1,Carrier:"UPS"}):t.push(S["Second Day"]),this.ShippingAddress.Country!=null&&this.ShippingAddress.Country.toUpperCase()==="US"&&(S["Next Day"]==null?t.push({ShippingMethod:"Next Day",HelpText:"1 Business Day (after shipping)<br>- For same day shipment, orders must be received prior to 2:00PM EST.<br>- Integration and/or system calibration service could require 1-2 days.",FutekCode:"88",Rate:125,Checked:!1,Carrier:"UPS"}):t.push(S["Next Day"]),this.ShippingInfo.Address.State=="CA"&&t.push({ShippingMethod:"Pick Up",HelpText:"Pick Up",FutekCode:"",Rate:0,Checked:!1,Carrier:""}),this.selectedShippingMethod.PreviousSelectedCountry==this.ShippingAddress.Country&&this.selectedShippingMethod.SelectedShippingMethod=="My Carrier"?t.push({ShippingMethod:"My Carrier",HelpText:"My Carrier",FutekCode:"",Rate:-1,Checked:!0,Carrier:""}):t.push({ShippingMethod:"My Carrier",HelpText:"My Carrier",FutekCode:"",Rate:-1,Checked:!1,Carrier:""})),o.Rate>
10)if(t=[],t.push(o),this.selectedShippingMethod.PreviousSelectedCountry==this.ShippingAddress.Country&&this.selectedShippingMethod.SelectedShippingMethod=="My Carrier"?t.push({ShippingMethod:"My Carrier",HelpText:"My Carrier",FutekCode:"",Rate:-1,Checked:!0,Carrier:""}):t.push({ShippingMethod:"My Carrier",HelpText:"My Carrier",FutekCode:"",Rate:-1,Checked:!1,Carrier:""}),this.shippingRates=t,this.selectedShippingMethod.PreviousSelectedCountry==this.ShippingAddress.Country){var R=this.bindSelectedMethod();R||this.setSelectedMethod(o,!0)}else this.setSelectedMethod(o,!0);else if(this.shippingRates=t,this.selectedShippingMethod.PreviousSelectedCountry==this.ShippingAddress.Country){var R=this.bindSelectedMethod();R||this.setSelectedMethod({ShippingMethod:"Third Day",HelpText:"3 Business Days (after shipping)",FutekCode:"20",Rate:h,Checked:!0,Carrier:"UPS"},!0)}else this.setSelectedMethod({ShippingMethod:"Third Day",HelpText:"3 Business Days (after shipping)",FutekCode:"20",Rate:h,Checked:!0,Carrier:"UPS"},!0)}else if(this.ShippingAddress.Country.toUpperCase()!=="US")t=[],t.push({ShippingMethod:"Priority",HelpText:"",FutekCode:"14",Rate:75,Checked:!1,Carrier:"Fed Ex"}),this.selectedShippingMethod.PreviousSelectedCountry==this.ShippingAddress.Country&&this.selectedShippingMethod.SelectedShippingMethod=="My Carrier"?t.push({ShippingMethod:"My Carrier",HelpText:"My Carrier",FutekCode:"",Rate:-1,Checked:!0,Carrier:""}):t.push({ShippingMethod:"My Carrier",HelpText:"My Carrier",FutekCode:"",Rate:-1,Checked:!1,Carrier:""}),this.shippingRates=t,this.selectedShippingMethod.PreviousSelectedCountry==this.ShippingAddress.Country&&this.selectedShippingMethod.SelectedShippingMethod=="My Carrier"?this.setSelectedMethod({ShippingMethod:"My Carrier",HelpText:"My Carrier",FutekCode:"",Rate:-1,Checked:!0,Carrier:""},!0):this.setSelectedMethod({ShippingMethod:"Priority",HelpText:"",FutekCode:"14",Rate:75,Checked:!1,Carrier:"Fed Ex"},!0);else if(t.push({ShippingMethod:"Third Day",HelpText:"3 Business Days (after shipping)",FutekCode:"20",Rate:50,Checked:!1,Carrier:"UPS"}),t.push({ShippingMethod:"Ground",HelpText:"5-7 Business Days (after shipping)",FutekCode:"21",Rate:25,Checked:!1,Carrier:"UPS"}),t.push({ShippingMethod:"Second Day",HelpText:"2 Business Days (after shipping)",FutekCode:"19",Rate:75,Checked:!1,Carrier:"UPS"}),t.push({ShippingMethod:"Next Day",HelpText:"1 Business Day (after shipping)<br>- For same day shipment, orders must be received prior to 2:00PM EST.<br>- Integration and/or system calibration service could require 1-2 days.",FutekCode:"88",Rate:125,Checked:!1,Carrier:"UPS"}),this.ShippingAddress.State=="CA"&&t.push({ShippingMethod:"Pick Up",HelpText:"Pick Up",FutekCode:"",Rate:0,Checked:!1,Carrier:""}),this.selectedShippingMethod.PreviousSelectedCountry==this.ShippingAddress.Country&&this.selectedShippingMethod.SelectedShippingMethod=="My Carrier"?t.push({ShippingMethod:"My Carrier",HelpText:"My Carrier",FutekCode:"",Rate:-1,Checked:!0,Carrier:""}):t.push({ShippingMethod:"My Carrier",HelpText:"My Carrier",FutekCode:"",Rate:-1,Checked:!1,Carrier:""}),this.shippingRates=t,this.selectedShippingMethod.PreviousSelectedCountry==this.ShippingAddress.Country){var R=this.bindSelectedMethod();R||this.setSelectedMethod({ShippingMethod:"Ground",HelpText:"5-7 Business Days (after shipping)",FutekCode:"21",Rate:25,Checked:!0,Carrier:"UPS"}
1,!0)}else this.setSelectedMethod({ShippingMethod:"Ground",HelpText:"5-7 Business Days (after shipping)",FutekCode:"21",Rate:25,Checked:!0,Carrier:"UPS"},!0);if(this.userShippingPreferences.Service!=null&&this.selectedShippingMethod.SelectedShippingMethod=="My Carrier")if(this.userShippingPreferences.AccountNumber!="")t.forEach(v=>{v.Checked=!1}),this.useMyCarrier=!0,this.showShippingAccountNumber=!0,this.quotation.shippingInfo.AccountNumber=this.userShippingPreferences.AccountNumber,this.quotation.shippingInfo.Carrier=this.userShippingPreferences.Carrier,this.quotation.shippingInfo.Service=this.userShippingPreferences.Service,this.quotation.shippingInfo.SelectedShippingMethod="My Carrier";else{var W=t.find(v=>v.FutekCode==this.userShippingPreferences.Service);W!=null&&this.setSelectedMethod(W,!0),this.showShippingAccountNumber=!1}}bindSelectedMethod(){if(this.selectedShippingMethod.SelectedShippingMethod!="My Carrier"){var a=this.shippingRates.filter(t=>t.ShippingMethod==this.selectedShippingMethod.SelectedShippingMethod&&t.FutekCode==this.selectedShippingMethod.FutekCode)[0];return a?(a.Checked=!0,this.setSelectedMethod(a,!0),!0):!1}else if(this.selectedShippingMethod.SelectedShippingMethod=="My Carrier")return this.setSelectedMethod(this.selectedShippingMethod.SelectedShippingMethod,!1),!0}changeShippingAddress(){this.quotation.ContactInfo.Address.Type="Shipping",this.quotation.ContactInfo.Address==null?this.quotation.ContactInfo.Address.IsNewAddress=!0:this.quotation.ContactInfo.Address.IsNewAddress=!1;let a=this.dialog.open(Et,{height:"600px",data:this.quotation,panelClass:"address-container"}),t=a.componentInstance.setAddr.subscribe(o=>{this.ShippingInfo.Address=o,this.ShippingAddress=o,this.ShippingInfo.AddressId=o.Id,this.changedCountryCode(this.ShippingAddress.Country),this.bindShippingData()});a.afterClosed().subscribe(()=>{t.unsubscribe()})}omit_special_char(a){return this.ShippingInfo.Carrier=="UPS"?ve(a.charCode):at(a.charCode)}taxExmptionNumber(a){return ve(a.charCode,{allowHyphen:!0})}getUserShippingPreferences(){this._shippingInformationService.getShippingCarrierPreferences({email:this.quotation.ContactInfo.Email}).pipe(Q(this.ngUnsubscribe)).subscribe(a=>{a.Result&&(this.ShippingInfo.Address.Country&&this.ShippingInfo.Address.Country.toUpperCase()=="US"&&a.Result.Region.toUpperCase()==="DOMESTIC"||this.ShippingInfo.Address.Country&&this.ShippingInfo.Address.Country.toUpperCase()!="US"&&a.Result.Region.toUpperCase()==="INTERNATIONAL")&&this.fillCarrier(a)})}fillCarrier(a){this.userShippingPreferences.Carrier=a.Result.Carrier,this.userShippingPreferences.Service=a.Result.Service,this.userShippingPreferences.AccountNumber=a.Result.AccountNumber,this.quotation.ContactInfo.Email&&this.ShippingInfo.SelectedShippingMethod=="My Carrier"&&(a.Result&&a.Result.Region=="Domestic"&&this.ShippingAddress.Country.toUpperCase()=="US"?(this.userShippingPreferences.AccountNumber&&(this.ShippingInfo.AccountNumber=this.userShippingPreferences.AccountNumber,this.quotation.shippingInfo.AccountNumber=this.userShippingPreferences.AccountNumber),this.ShippingInfo.Carrier=this.userShippingPreferences.Carrier,this.quotation.shippingInfo.Carrier=this.userShippingPreferences.Carrier,this.userShippingPreferences.Service&&(this.ShippingInfo.Service=this.userShippingPreferences.Service,this.quotation.shippingInfo.Service=this.userShippingPreferences.Service)):a.Result&&a.Result.Region=="International"&&this.ShippingAddress.Country.toUpperCase()!="US"&&(this.userShippingPreferences.AccountNumber&&(this.ShippingInfo.AccountNumber=this.userShippingPreferences.AccountNumber),this.ShippingInfo.Carrier=this.userShippingPreferences.Carrier,this.userShippingPreferences.Service&&(this.ShippingInfo.Service=this.userShippingPreferences.Service))),this.resetAcc(this.ShippingInfo.Carrier),this.ShippingInfo.CarrierOptions&&this.ShippingInfo.CarrierOptions.filter(t=>t.code==this.userShippingPreferences.Service)&&(this.ShippingInfo.Service=this.ShippingInfo.CarrierOptions.filter(t=>t.code==this.userShippingPreferences.Service)[0].code)}resetCarrier(a){this.ShippingInfo.Service="",this.ShippingInfo.AccountNumber="",this.resetAcc(a)}
1resetAcc(a){this.selectedShippingMethod.Carrier=a,this.ShippingInfo.CarrierOptions=[],this.ShippingInfo.Address.Country.toUpperCase()==="US"?(this.ShippingInfo.CarrierOptions=this.ShippingInfo.CarrierOptionsDomestic,this.ShippingInfo.CarrierOptions=this.ShippingInfo.CarrierOptions.filter(t=>t.carrier==a),this.selectedShippingMethod.Service=this.ShippingInfo.Service,this.ShippingInfo.Service=this.ShippingInfo.CarrierOptions[0].code):(this.ShippingInfo.CarrierOptions=this.ShippingInfo.CarrierOptionsInternational,this.ShippingInfo.CarrierOptions=this.ShippingInfo.CarrierOptions.filter(t=>t.carrier==a),this.ShippingInfo.Service=this.ShippingInfo.CarrierOptions[0].code,this.selectedShippingMethod.Service=this.ShippingInfo.Service),a=="UPS"?(this.accntNumberMaxLength=6,this.accountNumaberminlength=4):a=="FedEx"?(this.accntNumberMaxLength=9,this.accountNumaberminlength=9):(this.accountNumaberminlength=0,this.accntNumberMaxLength=16)}getDomesticServices(a){this._shippingInformationService.getDomesticService().pipe(Q(this.ngUnsubscribe)).subscribe(t=>{this.ShippingInfo.CarrierOptionsDomestic=t.map(o=>({code:o.LegacyId,name:o.Name,carrier:o.Carrier})),this.ShippingInfo.Address.Country!=null&&(this.ShippingInfo.Carriers=this.ShippingInfo.CarrierOptionsDomestic.map(o=>o.carrier).filter((o,h,S)=>S.indexOf(o)===h),this.ShippingInfo.CarrierOptions=this.ShippingInfo.CarrierOptionsDomestic,this.ShippingInfo.CarrierOptions=this.ShippingInfo.CarrierOptions.filter(o=>o.carrier==a)),this.quotation.ContactInfo.Email&&localStorage.getItem("token")&&this.quotation.shippingInfo.SelectedShippingMethod=="My Carrier"&&this.getUserShippingPreferences()}),this.selectedShippingMethod.SelectedShippingMethod=="My Carrier"&&(this.useMyCarrier=!0)}getInternationalServices(a){this._shippingInformationService.getInternationalService().pipe(Q(this.ngUnsubscribe)).subscribe(t=>{this.ShippingInfo.CarrierOptionsInternational=t.map(o=>({code:o.LegacyId,name:o.Name,carrier:o.Carrier})),this.ShippingInfo.Address.Country!=null&&(this.ShippingInfo.Carriers=this.ShippingInfo.CarrierOptionsInternational.map(o=>o.carrier).filter((o,h,S)=>S.indexOf(o)===h),this.ShippingInfo.CarrierOptions=this.ShippingInfo.CarrierOptionsInternational,this.ShippingInfo.CarrierOptions=this.ShippingInfo.CarrierOptions.filter(o=>o.carrier==a)),this.quotation.ContactInfo.Email&&localStorage.getItem("token")&&this.getUserShippingPreferences()})}setSelectedMethod(a,t){if(a.ShippingMethod=="Pick Up"&&(a="Pick Up"),a.ShippingMethod=="My Carrier"&&(a="My Carrier"),this.ShippingInfo.Options.ShipSeparate=!1,a=="My Carrier"?(this.ShippingInfo.CarrierOptions=[],this.showShippingAccountNumber=!0,this.useMyCarrier=!0,this.selectedValue=-1,this.disableInsure=!1,this.shippingFee=!1,this.quotation.shippingInfo.Carrier="UPS",this.ShippingInfo.Carrier="UPS",this.selectedShippingMethod.SelectedShippingMethod=a,this.ShippingInfo.SelectedShippingMethod="My Carrier",this.selectedShippingMethod.PreviousSelectedCountry=this.ShippingInfo.Address.Country,this.selectedShippingMethod.FutekCode="",this.selectedShippingMethod.Carrier=this.quotation.shippingInfo.Carrier,this.ShippingInfo.Address.Country.toUpperCase()==="US"?(this.getDomesticServices(this.ShippingInfo.Carrier),this.ShippingInfo.Options.Insure=!1):(this.ShippingInfo.Options.Insure=!0,this.getInternationalServices(this.ShippingInfo.Carrier))):(this.showShippingAccountNumber=!1,this.ShippingInfo.AccountNumber="",this.useMyCarrier=!1,a=="No Shipping"?(this.selectedShippingMethod.SelectedShippingMethod=a,this.ShippingInfo.Carrier="",this.ShippingInfo.Service="44",this.selectedValue="",this.ShippingInfo.SelectedShippingMethod="No Shipping",this.shippingFee=!1,this.quotation.shippingInfo.Carrier="",this.quotation.shippingInfo.Service="44",this.quotation.shippingInfo.SelectedShippingMethod="No Shipping",this.quotation.shippingInfo.AccountNumber=""):a=="Pick Up"?(this.ShippingInfo.Carrier="",this.ShippingInfo.Service="0",this.ShippingInfo.SelectedShippingMethod="Pick Up",this.ShippingInfo.Options.Insure=!1,this.disableInsure=!0,this.shippingFee=!1,this.selectedShippingMethod.SelectedShippingMethod=a,this.selectedShippingMethod.PreviousSelectedCountry=this.ShippingInfo.Address.Country,this.selectedShippingMethod.FutekCode="",this.selectedShippingMethod.Carrier=this.ShippingInfo.Carrier,this.quotation.shippingInfo.Carrier="",this.quotation.shippingInfo.Service="0",this.quotation.shippingInfo.SelectedShippingMethod="Pick Up",this.quotation.shippingInfo.AccountNumber=""):(this.ShippingInfo.Carrier=a.Carrier,this.ShippingInfo.Service=a.FutekCode,this.selectedValue=a.Rate,this.ShippingInfo.SelectedShippingMethod=a.ShippingMethod,this.ShippingInfo.Options.Insure=!0,this.disableInsure=!1,this.shippingFee=!0,this.selectedShippingMethod.SelectedShippingMethod=a.ShippingMethod,this.selectedShippingMethod.FutekCode=a.FutekCode,this.selectedShippingMethod.PreviousSelectedCountry=this.ShippingInfo.Address.Country,this.selectedShippingMethod.Carrier=a.Carrier,this.quotation.shippingInfo.Carrier=a.Carrier,this.quotation.shippingInfo.Service=a.FutekCode,this.quotation.shippingInfo.SelectedShippingMethod=a.ShippingMethod,this.ShippingInfo.AccountNumber="",this.quotation.shippingInfo.AccountNumber="")),it.includes(a)&&(a={ShippingMethod:a,HelpText:"",FutekCode:0,Rate:0,Carrier:""}),this.cart&&(this.cart.ShippingCharge=Number(a.Rate)),this.userShippingPreferences.Service!=null){this.shippingRates.forEac
1h(S=>{S.Checked=!1});let h=this.shippingRates.find(S=>S.FutekCode===this.userShippingPreferences.Service);typeof h>"u"&&(h=this.shippingRates[0]),h!=null&&(h.Checked=!0)}var o=!1;this.shippingRates.forEach(h=>{h.Checked&&(o=!0)}),o||this.shippingRates.forEach(h=>{this.selectedShippingMethod&&h.ShippingMethod==this.selectedShippingMethod.SelectedShippingMethod?h.Checked=!0:h.Checked=!1}),this.calculateCartTotals(),a&&a.ShippingMethod=="My Carrier"&&this.resetAcc(this.ShippingInfo.Carrier)}erraseZipcodeError(a){a&&(a=a.replace(/\s/g,"")),this.ShippingAddress.Country=="us"&&(!a||a.length<4)?this.zipError=!0:this.zipError=!1}changeInsureShipment(a){!a.checked||this.useMyCarrier?(this.cart.InsuranceCharge=0,this.ShippingInfo.Options.Insure=!1,a.checked&&(this.ShippingInfo.Options.Insure=!0)):this.ShippingInfo.Options.Insure=!0,this.calculateCartTotals()}Searchanotherviewaddress(){this.searchElementRef.nativeElement.value="",this.isAddressVisible=!this.isAddressVisible,this.ShippingAddress.Country="us",this.CountryChange(this.ShippingAddress.Country),this.addressBoxError(),this.address2BoxError()}entermanuallyaddress(){this.searchElementRef.nativeElement.value="",this.isAddressVisible=!this.isAddressVisible,this.ShippingAddress.Country="us",this.CountryChange(this.ShippingAddress.Country)}resetCustomerData(){this.quotation.ContactInfo.Company&&(this.quotation.ContactInfo.Company.Name=""),this.ShippingAddress.PhoneNumber="",this.ShippingAddress.Title="",this.PhoneNumber=null,this.ShippingAddress.Department="",this.ShippingAddress.IndustryTypeId=-1,this.ShippingAddress.InformationSource=null}changedCountryCode(a){let t=this.countryList.filter(o=>o.Value==a);t.length>0?(this.CountryId=t[0].Value,this.ShippingAddress.IntPhone=t[0].PhoneCode?"+"+t[0].PhoneCode:""):this.ShippingAddress.IntPhone="+1"}CountryChange(a){let t=this.countryList.filter(o=>o.Value==a);t.length>0?(this.CountryId=t[0].Value,this.ShippingAddress.IntPhone=t[0].PhoneCode?"+"+t[0].PhoneCode:""):this.ShippingAddress.IntPhone="+1",this.zipError=!1,a=="us"?(this.IsUS=!0,this.ShippingAddress.PostalCode="",this.ShippingAddress.Province="",this.ShippingAddress.Street1="",this.ShippingAddress.Street2="",this.ShippingAddress.City="",this.ShippingAddress.ZipPostalCode="",this.ShippingAddress.State="",this.ShippingAddress.County="",this.isReadOnly=!0,this.StateChange("")):(this.IsCaliforniaState=!1,this.ShippingAddress.County="",this.IsUS=!1,this.ShippingAddress.ZipPostalCode="",this.ShippingAddress.State="",this.ShippingAddress.Street1="",this.ShippingAddress.Street2="",this.ShippingAddress.City="",this.ShippingAddress.PostalCode="",this.ShippingAddress.Province="",this.isReadOnly=!1,this.ShippingInfo.IsForResale=!1,this.isDisabled=!1,this.changeShippingData()),this.BillingAddressData=null,this.ShippingAddressData=null,this.address1POBoxError=!1,this.address2POBoxError=!1}StateChange(a){this.ShippingAddress.PostalCode="",this.ShippingAddress.Province="",a=="CA"?this.IsCaliforniaState=!0:(this.IsCaliforniaState=!1,this.ShippingAddress.County=""),this.changeShippingData()}getdomain(a){if(this.ShippingAddress=new ae,this.ShippingAddress.FirstName="",this.ShippingAddress.LastName="",this.quotation.ContactInfo.FirstName="",this.quotation.ContactInfo.LastName="",this.quotation.ContactInfo.Company.Name="",this.quotation.ContactInfo.Title="",this.quotation.ContactInfo.Department="",this.quotation.ContactInfo.Phone="",this.quotation.ContactInfo.InformationSource="",this.quotation.ContactInfo.InformationSourceOther="",this.quotation.ContactInfo.Company.ReferredByOther="",this.quotation.ContactInfo.Company.IndustryTypeId="",this.companyAlreadyExists=!1,this.address1POBoxError=!1,this.address2POBoxError=!1,a&&a!=""){var t=new RegExp("/^([A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+.[A-Za-z]{2,10})$/"),o=t.test(a);this.IsExistingUser=!1,this.Isloaded=!1,this.Email.Email=a,this.resetCustomerData(),this._accountService.getdomain(this.Email).subscribe(h=>{h!=null?(this.isMatched=!0,this.IsExistingUser=!0,h[0].IsRegisteredUser==!0?(this.isListedCompanies=!1,this.isCompany=!0,this.quotation.ContactInfo.FirstName=h[0].FirstName,this.quotation.ContactInfo.LastName=h[0].LastName,this.fetchCompanyData(h),this.isAddressVisible=!0,this.PhoneNumberFields()):(this.isListedCompanies=!1,this.ShippingAddress.Country="us",this.companiesList=h,this.isAddressVisible=!0,this.quotation.ContactInfo.Company.Name=this.QuoteUserData.CompanyName,this.selectedCompany()),this.ShippingAddress.Country=="us"?this.IsUS=!0:this.IsUS=!1):(this.isMatched=!0,this.isCompany=!1,this.IsExistingUser=!0,this.isListedCompanies=!1,this.ShippingAddress.Country="us"),this.IsExistingUser||setTimeout(()=>{this.AutocompleteFormMethod()},300),this.PhoneNumberFields(),this.Isloaded&&(this.ShippingAddress.PhoneNumber=this.PhoneNumber),this.changeShippingData()},h=>{})}else this.IsExistingUser=!1,this.isListedCompanies=!1,this.CountryChange(this.ShippingAddress.Country)}selectedCompany(){if(this.ShippingAddress=new ae,this.quotation.ContactInfo.Company.Name!="Other"){let a=this.companiesList.filter(t=>t.Name==this.quotation.ContactInfo.Company.Name);this.IsExistingUser=!0,this.IsExistingUser=!0,this.fetchCompanyData(a),this.changeShippingData()}else this.registrationModel.CustomerAccountId=null,this.quotation.CustomerAccountId=null,this.ShippingAddress.Country="us",this.quotation.ContactInfo.Company.Name="",this.IsExistingUser=!1,this.IsExistingUser=!1,this.isListedCompanies=!1,this.quotation.ShipTO=0,this.quotation.BillTo=0,this.isMatched=!0,this.isCompany=!1,this.resetCustomerData(),this.CountryChange(this.ShippingAddress.Country),setTimeout(()=>{this.AutocompleteFormMethod()},200);this.PhoneNumberFields()}
1specialcharpanel(a){return ve(a.charCode,{allowHyphen:!0})}fetchCompanyData(a){this.registrationModel.CustomerAccountId=a[0].Id,this.quotation.CustomerAccountId=a[0].Id,this.quotation.ShipTO=0,this.PhoneNumber=a[0].PhoneNumber,this.quotation.ContactInfo.Title=a[0].Title,this.ShippingAddress.IndustryTypeId=a[0].IndustryTypeId,this.ShippingAddress.InformationSource=a[0].InformationSource,this.quotation.ContactInfo.Department=a[0].Department,this.quotation.ContactInfo.Company.Name=a[0].Name,a[0].billingAddress&&a[0].billingAddress.Id>0?this.quotation.BillTo=a[0].billingAddress.Id:this.quotation.BillTo=0,a[0].shippingAddress&&a[0].shippingAddress.Id>0?(this.quotation.ShipTO=a[0].shippingAddress.Id,this.ShippingAddress.Id=a[0].shippingAddress.Id,this.ShippingAddress.Street1=a[0].shippingAddress.Street1,this.ShippingAddress.Street2=a[0].shippingAddress.Street2,this.ShippingAddress.Country=a[0].shippingAddress.Country?a[0].shippingAddress.Country:"us",this.ShippingAddress.Country.toUpperCase()=="US"?(this.ShippingAddress.State=a[0].shippingAddress.State,this.ShippingAddress.ZipPostalCode=a[0].shippingAddress.PostalCode,this.IsUS=!0):(this.IsUS=!1,this.ShippingAddress.Province=a[0].shippingAddress.State,this.ShippingAddress.PostalCode=a[0].shippingAddress.PostalCode),(this.ShippingAddress.State==null||this.ShippingAddress.State==null)&&(this.isReadOnly=!1),this.ShippingAddress.County=a[0].shippingAddress.County,this.ShippingAddress.City=a[0].shippingAddress.City):setTimeout(()=>{this.changeShippingAddress()},1e3),this.ShippingInfo.Address=this.ShippingAddress,this.isCompany=!0,this.ShippingAddress.IndustryTypeId&&this.getIndustyTypeName("")}getIndustyTypeName(a){if(a==""){var t=this.indusTypeList.filter(o=>o.Value==this.ShippingAddress.IndustryTypeId);t.length>0&&(this.IndustryTypeName=t[0].Text)}else{var t=this.indusTypeList.filter(h=>h.Value==a);t.length>0&&(this.IndustryTypeName=t[0].Text)}}checkCompanyName(){if(this.companyAlreadyExists=!1,this.IsExistingUser&&this.quotation.ContactInfo.Company){var a={};a.Name=this.quotation.ContactInfo.Company.Name,a.Email=this.quotation.ContactInfo.Email,this._contactservice.checkCompanyName(a).subscribe(t=>{t!=""&&(this.companyAlreadyExists=!0)})}}PhoneNumberFields(){var a="us";this.ShippingAddress.Country&&this.ShippingAddress.Country!=""&&(a=this.ShippingAddress.Country.toLocaleLowerCase()),setTimeout(()=>{var t=document.querySelector("#phonenumber"),o=document.querySelector(".iti__selected-flag :first-child");if(o)var h=o.getAttribute("class"),S=h.substring(h.length-2,h.length);var R=document.querySelector(".iti__selected-flag");S!=a&&(R&&Array.from(document.querySelectorAll(".iti__flag-container")).forEach(v=>v.parentNode.removeChild(v)),window.intlTelInput(t,{preferredCountries:[a],separateDialCode:!0,utilsScript:"../../build/js/utils.js"})),this.PhoneNumber&&(this.quotation.ContactInfo.Phone=this.PhoneNumber)},300)}AutocompleteFormMethod(){return De(this,null,function*(){var a={street_number:"short_name",route:"long_name",locality:"long_name",administrative_area_level_1:"short_name",country:"short_name",postal_code:"short_name"};let t=yield this._googleMapsService.createAutocomplete(this.searchElementRef.nativeElement,{types:["address"]});t.addListener("place_changed",()=>{this.ngZone.run(()=>{var o=t.getPlace();this.isAddressVisible=!0,this.ShippingAddress.Country=o.address_components.filter(h=>h.types[0]=="country")[0].short_name.toLocaleLowerCase(),this.CountryChange(this.ShippingAddress.Country),this.ShippingAddress.Country=="us"?(this.IsUS=!0,this.isReadOnly=!0,this.ShippingAddress.State=o.address_components.filter(h=>h.types[0]=="administrative_area_level_1")[0].short_name,this.StateChange(this.ShippingAddress.State)):(this.IsUS=!1,this.ShippingAddress.Province=o.address_components.filter(h=>h.types[0]=="administrative_area_level_1")[0].long_name),this.IsCaliforniaState=!1,o.address_components.forEach(h=>{h.types.includes("street_number")&&(this.ShippingAddress.Street1=h.long_name),h.types.includes("route")&&(this.ShippingAddress.Street1&&this.ShippingAddress.Street1!=""?this.ShippingAddress.Street1=this.ShippingAddress.Street1+" "+h.long_name:this.ShippingAddress.Street1=h.long_name),h.types.includes("locality")&&(this.ShippingAddress.City=h.short_name),h.types.includes("postal_code")&&(this.ShippingAddress.Country=="us"?this.ShippingAddress.ZipPostalCode=h.long_name:this.ShippingAddress.PostalCode=h.long_name),this.ShippingAddress.State=="CA"&&(this.IsCaliforniaState=!0,h.types.includes("administrative_area_level_2")&&(this.ShippingAddress.County=h.long_name.replace(" County",""),this.searchElementRef.nativeElement.value=""))}),this.addressBoxError(),this.changeShippingData()})})})}PhoneNumberMessage(){this.PhoneNumberError=!1,this.PhoneNumberFormatError=!1,!this.quotation.ContactInfo.Phone||this.quotation.ContactInfo.Phone==""?this.PhoneNumberError=!0:this.quotation.ContactInfo.Phone.length<8&&(this.PhoneNumberFormatError=!0)}calculateCartTotals(){this.ShippingInfo.Options.Insure?(this.cart.InsuranceRate=.01,this.cart.InsuranceCharge=Number((Number(this.cart.InsuranceRate)==0?0:(this.cart.SubTotal-this.cart.TotalDiscount)*this.cart.InsuranceRate).toFixed(2))):this.cart.InsuranceCharge=0,this.ShippingInfo.IsForResale&&(this.cart.Tax=0),this.intHandling?this.quotation.IsRegisteredUser?this.cart.HandlingCharge=this.handlingFee&&this.ShippingAddress.Country.toUpperCase()!=="US"&&!this.isRepresentative?75:0:this.cart.HandlingCharge=this.ShippingAddress.Country.toUpperCase()!=="US"?75:0:this.cart.HandlingCharge=0,this.useMyCarrier&&(this.cart.ShippingCharge=0,this.cart.InsuranceCharge=0,this.cart.HandlingCharge=0),this.shippingFee||(this.cart.ShippingCharge=0),!this.ShippingInfo.IsForResale&&this.ShippingAddress.Country=="us"?this.getTax():(this.cart.Tax=0,this.quotation.cart=this.cart,this.calculateSubTotal())}calculateSubTotal(){this.cart.GrandTotal=this.cart.SubtotalRecal+Number(this.cart.Tax)+Number(this.cart.ShippingCharge)+this.cart.HandlingCharge+this.cart.InsuranceCharge-this.cart.TotalDiscount,this.cart.GrandTotalRecal=this.cart.SubtotalRecal+Number(this.cart.ShippingCharge)+Number(this.cart.Tax)+this.cart.HandlingCharge+this.cart.InsuranceCharge-this.cart.TotalDiscount}getTax(){let a=this.constructModelData();this.checkOutService.getTax(a).pipe(Q(this.ngUnsubscribe)).subscribe(t=>{t.tax?(this.cart.Tax=0,this.cart.Tax=Number(t.tax)):this.cart.Tax=0,this.quotation.cart=this.cart,this.calculateSubTotal()})}constructModelData(){let a=new ot;return a.customerCode="Default",a.companyCode=null,a.discountAmt=0,a.purchaseOrderNo=this.ShippingInfo.PO,a.DestinationAddress.line1=this.ShippingAddress.Street1,a.DestinationAddress.city=this.ShippingAddress.City,a.DestinationAddress.region=this.ShippingAddress.State,a.DestinationAddress.country=this.ShippingAddress.Country,a.DestinationAddress.postalCode=this.ShippingAddress.ZipPostalCode,a.DestinationAddress.latitude=null,a.DestinationAddress.longitude=null,this.cart.Packages.forEac
1h(t=>{if(t.Items.forEach(o=>{let h=new Be;h.exemptionCode=null,h.amount=o.ExtendedPrice,h.itemCode=o.Stock,h.description=o.Definition,o.Discount>0?h.discounted=!0:h.discounted=!1,h.quantity=o.Quantity,h.taxCode=null,a.lineiTems.push(h)}),this.cart.ShippingCharge>0){a.lineiTems=a.lineiTems.filter(h=>h.itemCode!="SHIPPING");let o=new Be;o.exemptionCode=null,o.amount=this.cart.ShippingCharge+this.cart.HandlingCharge+this.cart.InsuranceCharge,o.itemCode="SHIPPING",o.description=null,o.discounted=!1,o.quantity=1,o.taxCode="FR000000",a.lineiTems.push(o)}}),a}nextClick(){this.shippingForwardClicked.emit(!0)}backClick(){this.shippingBackClicked.emit(!0)}checkResale(a){a.checked?this.isForResale=!0:(this.RSLinkToFiles=[],this.isForResale=!1,this.filevalidate=!1,this.ShippingInfo.ResaleNumber=""),this.calculateCartTotals()}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete(),this._loaderService.hide()}};d(l,"\u0275fac",function(t){return new(t||l)(A(et),A(we),A(ze),A(dt),A(lt),A(wt),A(_e),A($e),A(Rt),A(D))}),d(l,"\u0275cmp",N({type:l,selectors:[["app-revise-quote-contact-information"]],viewQuery:function(t,o){if(t&1&&(T(Jt,5),T(Yt,5)),t&2){let h;O(h=k())&&(o.qutationForm=h.first),O(h=k())&&(o.searchElementRef=h.first)}},hostBindings:function(t,o){t&1&&C("scroll",function(S){return o.scrollHandler(S)},!1,H)},outputs:{shippingForwardClicked:"shippingForwardClicked",shippingBackClicked:"shippingBackClicked"},decls:48,vars:20,consts:[["qutationForm","ngForm"],["search",""],[1,"container",3,"scroll","resize"],[1,"row","Remembepanelm1"],["novalidate","",1,"sindicateplok1"],[1,"row"],[1,"col-lg-9","col-md-7","col-12","order-2","order-md-1"],["class","row",4,"ngIf"],["class","row m-t-15",4,"ngIf"],["class","sub-step Resaletextb1",4,"ngIf"],[1,"col-lg-3","col-md-5","col-12","order-1","order-md-2"],["id","order-summary-table",1,"row","Ordersummarypanelm1"],[1,"col-md-12","order-2","order-md-1"],[1,"order-summary","subtottalpanm1"],[1,"Ordersstextb1"],[1,"headingH2"],[1,"clear20"],[1,"Subtotalpanelm1"],[1,"subrighttextpanel"],[4,"ngIf"],[1,"col-md-12","order-1","order-md-2"],[1,"row","m-t-10"],["id","responseShippingNextBtn",1,"col-md-12","text-right"],["mat-button","","matStepperNext","",1,"nextbtn1",3,"click","disabled"],[1,"col-lg-4","col-md-12"],["appearance","outline"],["matInput","","placeholder","Email","type","email","name","email","disabled","","pattern","^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,10}$","maxlength","100","required","",3,"ngModelChange","ngModel"],[1,"col-lg-4","col-md-6"],["matInput","","placeholder","First Name","name","firstName","maxlength","50","required","",3,"ngModelChange","ngModel"],["matInput","","placeholder","Last Name","name","lastname","maxlength","50","required","",3,"ngModelChange","ngModel"],["class","col-lg-4 col-md-12",4,"ngIf"],["class","col-lg-4 col-md-6",4,"ngIf"],["matInput","","placeholder","Title","name","title","maxlength","50",3,"ngModelChange","ngModel"],["matInput","","placeholder","Department","name","department","maxlength","70",3,"ngModelChange","ngModel"],["matInput","","placeholder","Company","name","company","maxlength","100","required","","readonly","true",3,"ngModelChange","ngModel"],["class","comapanymessagediv",4,"ngIf"],["class","comapanymessagediv1",4,"ngIf"],[1,"comapanymessagediv"],[1,"comapanymessagediv1"],["matInput","","placeholder","Company","name","company","maxlength","100","required","",3,"blur","ngModelChange","ngModel"],["matInput","","placeholder","Company","name","company","maxlength","100","required","",3,"ngModelChange","blur","ngModel"],["mat-icon-button","","matSuffix","",1,"securityBtn",3,"click"],["name","company","placeholder","Choose Company","required","",3,"selectionChange","ngModelChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],["value","Other"],[3,"value"],["name","industryName","id","reviseQuoteIndustryField","placeholder","Industry",3,"ngModelChange","ngModel"],["name","infoSource","id","reviseQuoteContactInfoField","placeholder","Information Source",3,"ngModelChange","ngModel"],[1,"col-lg-4","col-md-6","phoneNumberField"],["matInput","","placeholder","949-465-0900","id","phonenumber","required","","name","phonenumber","type","tel","onkeypress","return event.charCode >= 48 && event.charCode <= 57","minlength","8","maxLength","15",1,"mobilephonem1",3,"blur","ngModelChange","ngModel"],["class","PhoneNumberError",4,"ngIf"],["class","PhoneNumberError PhoneNumberFormatError",4,"ngIf"],["matInput","","placeholder","ext","name","ext","type","text","maxlength","30","onkeypress","return event.charCode >= 48 && event.charCode <= 57"],[1,"PhoneNumberError"],[1,"PhoneNumberError","PhoneNumberFormatError"],[1,"col-lg-3","col-md-12"],[1,"col-lg-9","col-md-12"],[1,"shipiTosection"],[1,"col-md-6"],[1,"row","lastNameBlock"],[1,"row","m-t-15"],[1,"col-lg-9","col-md-12","setPosition"],["class","row addresspaml",4,"ngIf"],[1,"row","addresspaml"],[1,"row","Findaddresspl1"],[1,"form-group","Findaddresspl1"],["matInput","","placeholder","Search for your address by entering a street name","name","autosearch","required","","type","text","requiredautocorrect","off","autocomplete","false","autocapitalize","off","spellcheck","off","type","text"],["class","manuallyaddresspl1",4,"ngIf"],[1,"manuallyaddresspl1"],[1,"anotherlinkm1",3,"click"],[1,"col-lg-10","col-md-12"],["name","country","required","","placeholder","Country",3,"selectionChange","blur","ngModelChange","ngModel"],["class","col-md-6 panelanother1",4,"ngIf"],["appearance","outline",4,"ngIf"],["class","streeterror",4,"ngIf"],["matInput","","placeholder","City","name","city","minlength","1","maxlength","50","required","",3,"keypress","blur","ngModelChange","ngModel"],["class","col-md-6",4,"ngIf"],["matInput","","placeholder","Street Address","minlength","1","maxlength","100","name","address1","required","",3,"blur","ngModelChange","ngModel"],["matInput","","placeholder","Street Address 2","name","address2","minlength","1","maxlength","150",3,"blur","ngModelChange","ngModel"],[1,"col-md-6","panelanother1"],["matInput","","placeholder","Zip / Postal Code","type","text","pattern","\\d*","name","postalcode","minlength","5","maxlength","5","onkeypress","return event.charCode >= 48 && event.charCode <= 57","required","",3,"keypress","ngModelChange","blur","ngModel"],["matInput","","placeholder","Postal Code","type","text","pattern","[a-zA-Z0-9 -]+","name","postalcode1","minlength","3","maxlength","10","required","",3,"keypress","blur","ngModelChange","ngModel"],[1,"errorPleasevab1"],[1,"streeterror"],["required","","name","state",3,"selectionChange","blur","ngModelChange","ngModel","disabled"],["matInput","","placeholder","State / Province / Region","maxlength","50","name","regi
1on","required","",3,"keypress","ngModelChange","ngModel"],["required","","name","county",3,"ngModelChange","selectionChange","ngModel"],[1,"shippingAddressSection"],["class","ShippingAddresspal1",4,"ngIf"],[1,"ShippingAddresspal1"],["class","ChangeshippingAddres",3,"click",4,"ngIf"],[1,"ChangeshippingAddres",3,"click"],[3,"selectedValueChange","methodSelected","shippingRates","shippingMethodStatus","shippingRatesLoaded","selectedValue"],["class","use-my-carrier form-group col-md-12",4,"ngIf"],[1,"col-lg-3","col-md-12","m-t-15","m-t-m-0"],[1,"col-lg-9","col-md-12","m-t-15","m-t-m-0"],[1,"checkbox"],["class","Shipment","name","insure",3,"ngModel","disabled","ngModelChange","change",4,"ngIf"],[1,"insuretextb1"],["class","checkbox",4,"ngIf"],[1,"use-my-carrier","form-group","col-md-12"],[1,"use-my-input"],[1,"row","carrierpanlem1"],["required","","name","carrier",3,"ngModelChange","selectionChange","ngModel"],["name","service","required","","id","revQuoteContactService",3,"ngModelChange","ngModel"],[4,"ngFor","ngForOf"],["matInput","","placeholder","Account Number","name","accNumber","required","",3,"keypress","ngModelChange","ngModel","maxlength","minlength"],[3,"value",4,"ngIf"],["name","insure",1,"Shipment",3,"ngModelChange","change","ngModel","disabled"],["name","shipSeparate",3,"ngModelChange","ngModel"],[1,"sub-step","Resaletextb1"],[1,"col-lg-9","col-md-12","m-t-5"],[1,"row","Optionsreslp1"],[1,"taxExemptionPanel"],["name","chkresale",1,"checkoutCheckbox",3,"ngModelChange","change","ngModel"],[1,"checkoutCheckboxLabel"]],template:function(t,o){if(t&1){let h=y();r(0,"div",2),C("scroll",function(R){return g(h),u(o.scrollHandler(R))})("resize",function(R){return g(h),u(o.scrollHandler(R))},!1,H),r(1,"div",3)(2,"form",4,0)(4,"div",5)(5,"div",6),_(6,Xt,16,3,"div",7)(7,ai,15,6,"div",7)(8,ci,22,7,"div",7)(9,mi,18,2,"div",7)(10,Ai,8,2,"div",8)(11,Ji,9,1,"div",8),r(12,"div"),_(13,on,22,7,"div",8)(14,rn,16,1,"div",9),n()(),r(15,"div",10)(16,"div",11)(17,"div",12)(18,"div",13)(19,"div",14)(20,"h2",15),p(21,"Quotation Summary"),n()(),P(22,"div",16),r(23,"table",17)(24,"tr")(25,"td"),p(26,"Subtotal"),n(),r(27,"td",18),p(28),x(29,"currency"),n()(),_(30,an,6,3,"tr",19)(31,sn,6,3,"tr",19)(32,pn,6,3,"tr",19)(33,dn,6,3,"tr",19)(34,ln,6,3,"tr",19),r(35,"tr")(36,"td")(37,"h2",15),p(38,"Grand Total"),n()(),r(39,"td",18)(40,"h2",15),p(41),x(42,"currency"),n()()()()()(),r(43,"div",20)(44,"div",21)(45,"div",22)(46,"button",23),C("click",function(){return g(h),u(o.nextClick())}),p(47,"Next"),n()()()()()()()()()()}t&2&&(s(6),m("ngIf",o.isUserLoggedIn==!1),s(),m("ngIf",o.isUserLoggedIn==!1),s(),m("ngIf",o.isUserLoggedIn==!1),s(),m("ngIf",o.isUserLoggedIn),s(),m("ngIf",!o.IsExistingUser&&o.quotation.ContactInfo.Company.Name),s(),m("ngIf",o.IsExistingUser),s(2),m("ngIf",o.IsShippingMethod),s(),m("ngIf",o.IsUS),s(14),f(I(29,16,o.cart.SubtotalRecal)),s(2),m("ngIf",o.cart.TotalDiscount>0),s(),m("ngIf",o.cart.Tax>0),s(),m("ngIf",o.IsShippingMethod&&o.cart.ShippingCharge>0),s(),m("ngIf",o.IsShippingMethod&&o.cart.HandlingCharge>0),s(),m("ngIf",o.IsShippingMethod&&o.cart.InsuranceCharge>0),s(7),f(I(42,18,o.cart.GrandTotalRecal)),s(5),m("disabled",o.shippingMethodStatus===o.ShippingMethodStatus.Error||!o.shippingRatesLoaded))},dependencies:[Z,V,me,K,J,le,he,Je,X,ge,Y,ce,ue,ie,st,Pe,vt,xe,te,ee,$,Ye,fe,Ie,It,G,j],styles:[".row[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin-right:0;margin-left:0}.ChangeshippingAddress[_ngcontent-%COMP%], .ChangeshippingAddress[_ngcontent-%COMP%]:hover{color:#147acc;text-decoration:underline;cursor:pointer;font-size:13px;margin-right:15px}#order-summary-table[_ngcontent-%COMP%]{background:#fff}.col-md-8[_ngcontent-%COMP%], .col-md-9[_ngcontent-%COMP%], .col-md-10[_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%}.mat-mdc-form-field[_ngcontent-%COMP%]{display:inline-block;position:relative;text-align:left;padding-right:15px;padding-left:0;width:100%}.comapanymessagediv[_ngcontent-%COMP%]{font-family:Nunito Sans,sans-serif;letter-spacing:.02em;font-size:14px;color:#0b49b7;margin-left:5px}.comapanymessagediv1[_ngcontent-%COMP%]{font-family:Nunito Sans,sans-serif;letter-spacing:.02em;font-size:14px;color:#cf102d;margin-left:5px}.margin-leftdiv[_ngcontent-%COMP%]{margin-left:-4px!important}.taxUploadfile[_ngcontent-%COMP%]{color:red;font-family:Nunito Sans,sans-serif;letter-spacing:.02em;font-size:14px}mat-radio-button[_ngcontent-%COMP%]:last-child{display:flex;flex-direction:column}.Findaddresspl1[_ngcontent-%COMP%]{width:100%;margin:0}.manuallyaddresspl1[_ngcontent-%COMP%]{font-family:Nunito Sans,sans-serif;font-size:14px;text-align:left;right:0;color:#cf102d;float:left;width:100%;text-decoration:underline;margin-left:0!important;height:auto!important;padding:0!important}.anotherkl1[_ngcontent-%COMP%]{font-family:Nunito Sans,sans-serif;font-size:14px;text-align:left;right:0;color:#cf102d;float:left;width:100%;margin-top:10px;text-decoration:underline;margin-left:6px;height:36px}.mobilephonem1[_ngcontent-%COMP%]{font-size:14px;font-family:Nunito Sans,sans-serif;padding:8px}.searchaddpl1[_ngcontent-%COMP%]{padding-left:8px;width:91%;font-weight:400;font-family:Nunito Sans,sans-serif;letter-spacing:.02em;font-size:14px;margin-left:15px}.locationpanelm1[_ngcontent-%COMP%]{width:100%}.anotherlinkm1[_ngcontent-%COMP%]{cursor:pointer;color:#cf102d!important}fieldset[_ngcontent-%COMP%]{width:500px;border:1px solid #c1b3b3;padding:10px}.panelanother1[_ngcontent-%COMP%]{margin-top:20px}.addresspaml[_ngcontent-%COMP%]{padding-right:30px!important}.raAttachta1[_ngcontent-%COMP%]{width:100%;font-family:Nunito Sans,sans-serif;letter-spacing:.02em;font-size:14px;margin-bottom:0;font-weight:400;padding:0 3px 0 0}.rachhosefilen1[_ngcontent-%COMP%]{border:1px solid #ccc;border-radius:0;padding:6px;margin-left:0;width:44%}.raAttachta2[_ngcontent-%COMP%]{width:100%;font-family:Nunito Sans,sans-serif;font-size:9pt;margin-bottom:0;font-weight:700;padding:2px 3px 5px 0;color:#797979}.Remembertextb1[_ngcontent-%COMP%]{font-size:14px;height:37px;color:#7b7b7b;font-family:Nunito Sans,sans-serif}.Shippingma1[_ngcontent-%COMP%]{width:100%;font-size:14px;height:26px;color:#272626;font-family:Nunito Sans,sans-serif;font-weight:400}.setPosition[_ngcontent-%COMP%]{position:relative;top:-10px}.Ordersummarypanelm1[_ngcontent-%COMP%]{padding:0;font-family:Nunito Sans,sans-serif}.Ordersstextb1[_ngcontent-%COMP%]{border:1px solid #cccccc;background:#757575;padding:7px;color:#fff}.atchhosefilen1[_ngcontent-%COMP%]{border:1px solid #ccc;border-radius:0;padding:6px 3px 5px;margin-left:0;width:100%;font-size:14px;background:#fff}table.Subtotalpanelm1[_ngcontent-%COMP%]{border-collapse:collapse;width:100%;font-family:Nunito Sans,sans-serif;font-weight:400;font-size:14px}table.Subtotalpanelm1[_ngcontent-%COMP%]   th[_ngcontent-%COMP%], table.Subtotalpanelm1[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{text-align:left;padding:5px}.carrierpanlem1[_ngcontent-%COMP%]{margin-top:10px}.Shippanelct1[_ngcontent-%COMP%]{padding:9px;font-family:Nunito Sans,sans-serif;font-weight:400;font-size:14px;line-height:25px;width:100%}.Shiplp1[_ngcontent-%COMP%]{border-top:1px dotted #ccc;padding-top:16px}.order-summary[_ngcontent-%COMP%]{border:1px solid #cccccc}.Changebtn[_ngcontent-%COMP%]{border:1px solid #a9a9a9;background-color:#fff;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJod\\2026IwIiB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgZmlsbD0idXJsKCNoYXQwKSIgLz4KPC9zdmc+);background-image:-webkit-linear-gradient(bottom,rgba(1,1,1,.22) 0%,rgba(255,255,255,.43) 100%);margin:0 0 15px;color:#444;padding:4px;cursor:pointer;width:98px;border-radius:0;font-size:14px;font-family:Nunito Sans,sans-serif;font-weight:700}.Remembepanelm1[_ngcontent-%COMP%]{border-top:1px dotted #ccc;padding:16px 0;margin:0 -15px!important}.use-my-input[_ngcontent-%COMP%]{margin-bottom:10px!important}.checkbox[_ngcontent-%COMP%]{font-size:14px}.phoneNumberField[_ngcontent-%COMP%]{margin-top:17px;padding-right:100px!important}.ShippingmaOptions1[_ngcontent-%COMP%]{width:100%;font-size:14px;color:#272626;font-family:Nunito Sans,sans-serif;font-weight:400;margin-top:20px;height:29px}.Shiptextb1[_ngcontent-%COMP%]{line-height:38px}.ShippingAddresspal1[_ngcontent-%COMP%]{font-size:14px;line-height:18pt}.insuretextb1[_ngcontent-%COMP%]{font-size:14px}.Businesstextv1[_ngcontent-%COMP%]{width:100%;font-weight:700;font-family:Nunito Sans,sans-serif;font-size:14px;padding-left:6px;margin-bottom:0}.Shippingpalm1[_ngcontent-%COMP%], .Resaletextb1[_ngcontent-%COMP%]{font-weight:400;font-family:Nunito Sans,sans-serif;font-size:14px}.Optionsreslp1[_ngcontent-%COMP%]{margin-bottom:0!important}.stshipatchhosefilen1[_ngcontent-%COMP%]{border:1px solid #ccc;border-radius:0;padding:4px;margin-left:0;width:91%;margin-bottom:5px;margin-top:16px;font-size:14px}.sindicateplok1[_ngcontent-%COMP%]{width:100%}.recalculatedtextv1[_ngcontent-%COMP%]{font-family:Nunito Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px;width:96%}.RateShippanelct1[_ngcontent-%COMP%]{font-family:Nunito Sans,sans-serif;font-weight:700;font-size:14px;padding-right:8px}.Shipmentpl1[_ngcontent-%COMP%]{font-size:14px}.subtottalpanm1[_ngcontent-%COMP%]{width:100%}.p-t-9[_ngcontent-%COMP%]{padding-top:9px}.PhoneNumberError[_ngcontent-%COMP%]{font-family:Nunito Sans,sans-serif;letter-spacing:.02em;font-size:14px;color:#cf102d}.mobilephonem1[_ngcontent-%COMP%]{font-size:14px;font-family:Nunito Sans,sans-serif;padding:8px;padding-left:80px!important}@media (min-width: 320px) and (max-width: 680px){.phoneNumberField[_ngcontent-%COMP%]{padding-right:0!important;margin-top:10px!important;margin-bottom:10px}.mat-mdc-form-field[_ngcontent-%COMP%]{padding-right:1px}}"]}));let i=l;return i})(),Ue=class{constructor(){d(this,"Email");d(this,"Name")}};var Nt=Ft(Wt());var mn=["stepper"];function hn(i,l){if(i&1&&(r(0,"span",21),p(1),n()),i&2){let e=c(2);s(),f(e.loginErrorMsg)}}function gn(i,l){i&1&&P(0,"i",22)}function un(i,l){if(i&1){let e=y();r(0,"div",7)(1,"div")(2,"div",8)(3,"mat-form-field",9)(4,"mat-label"),p(5,"Email"),n(),r(6,"input",10),b("ngModelChange",function(t){g(e);let o=c();return M(o.UserName,t)||(o.UserName=t),u(t)}),C("keydown.enter",function(){g(e);let t=c();return u(t.emailVerfication())})("focus",function(){g(e);let t=c();return u(t.loginErrorMsg="")}),n()()(),r(7,"div",11)(8,"mat-form-field",9)(9,"mat-label"),p(10,"Password"),n(),r(11,"input",12),b("ngModelChange",function(t){g(e);let o=c();return M(o.Password,t)||(o.Password=t),u(t)}),C("keydown.enter",function(){g(e);let t=c();return u(t.Login())})("focus",function(){g(e);let t=c();return u(t.loginErrorMsg="")}),n(),r(12,"button",13),C("mousedown",function(){g(e);let t=c();return u(t.passwordHide=!1)})("mouseup",function(){g(e);let t=c();return u(t.passwordHide=!0)})("mouseover",function(){g(e);let t=c();return u(t.passwordHide=!0)}),P(13,"img",14),n()()(),r(14,"div",11),_(15,hn,2,1,"span",15),n(),r(16,"div",16)(17,"button",17),C("click",function(){g(e);let t=c();return u(t.Login())}),_(18,gn,1,0,"i",18),p(19,"Login"),n()(),r(20,"div",11)(21,"div",19)(22,"a",20),p(23,"Forgot your password?"),n()()()()()}if(i&2){let e=c();s(6),w("ngModel",e.UserName),s(5),m("type",e.passwordHide?"password":"text"),w("ngModel",e.Password),s(),Qe("aria-pressed",e.passwordHide),s(),B("src",e.passwordHide?"https://eusfecomnonprodstgmedia.blob.core.windows.net/images/futek/images/store/pwd_hide.png":"https://eusfecomnonprodstgmedia.blob.core.windows.net/images/futek/images/store/pwd_show.png",q),s(2),m("ngIf",e.loginErrorMsg),s(2),m("disabled",e.isBtnLoading),s(),m("ngIf",e.isBtnLoading)}}function fn(i,l){i&1&&(r(0,"div",29),p(1,"Your company is currently doing business with FUT
1EK. "),P(2,"div",30),p(3," Your email is new to FUTEK, we sent a security code to your email to verify it is you. "),n())}function _n(i,l){i&1&&(r(0,"div",29),p(1,"Your email is existing with FUTEK. "),P(2,"div",30),p(3," we sent a security code to your email to verify it is you. "),n())}function Cn(i,l){if(i&1&&(r(0,"span",21),p(1),n()),i&2){let e=c(2);s(),f(e.loginErrorMsg)}}function Sn(i,l){if(i&1){let e=y();r(0,"div",21),p(1,"Security code expired, "),r(2,"a",31),C("click",function(){g(e);let t=c(2);return u(t.emailVerfication())}),p(3,"Resend"),n()()}}function vn(i,l){i&1&&P(0,"i",22)}function xn(i,l){if(i&1){let e=y();r(0,"button",32),C("click",function(){g(e);let t=c(2);return u(t.validateOTP())}),_(1,vn,1,0,"i",18),p(2,"Continue"),n()}if(i&2){let e=c(2);m("disabled",e.isOtpBtnLoading),s(),m("ngIf",e.isOtpBtnLoading)}}function In(i,l){i&1&&P(0,"i",22)}function yn(i,l){if(i&1){let e=y();r(0,"button",17),C("click",function(){g(e);let t=c(2);return u(t.emailVerfication())}),_(1,In,1,0,"i",18),p(2,"Resend OTP"),n()}if(i&2){let e=c(2);m("disabled",e.isOtpBtnLoading),s(),m("ngIf",e.isOtpBtnLoading)}}function wn(i,l){if(i&1){let e=y();r(0,"div",7),_(1,fn,4,0,"div",23)(2,_n,4,0,"div",23),r(3,"div")(4,"div",24)(5,"mat-form-field",9)(6,"mat-label"),p(7,"Email"),n(),r(8,"input",10),b("ngModelChange",function(t){g(e);let o=c();return M(o.UserName,t)||(o.UserName=t),u(t)}),C("keydown.enter",function(){g(e);let t=c();return u(t.emailVerfication())})("focus",function(){g(e);let t=c();return u(t.loginErrorMsg="")}),n()()(),r(9,"div",11)(10,"mat-form-field",25)(11,"mat-label"),p(12,"Security code"),n(),r(13,"input",26),b("ngModelChange",function(t){g(e);let o=c();return M(o.OTP,t)||(o.OTP=t),u(t)}),C("keydown.enter",function(){g(e);let t=c();return u(t.validateOTP())})("focus",function(){g(e);let t=c();return u(t.loginErrorMsg="")}),n(),r(14,"button",13),C("mousedown",function(){g(e);let t=c();return u(t.otpHide=!1)})("mouseup",function(){g(e);let t=c();return u(t.otpHide=!0)})("mouseover",function(){g(e);let t=c();return u(t.otpHide=!0)}),P(15,"img",14),n()()(),r(16,"div",11),_(17,Cn,2,1,"span",15)(18,Sn,4,0,"div",15),n(),r(19,"div",16),_(20,xn,3,2,"button",27)(21,yn,3,2,"button",28),n()()()}if(i&2){let e=c();s(),m("ngIf",!e.isExistingUser),s(),m("ngIf",e.isExistingUser),s(6),w("ngModel",e.UserName),s(5),m("type",e.otpHide?"password":"text"),w("ngModel",e.OTP),s(),Qe("aria-pressed",e.otpHide),s(),B("src",e.otpHide?"https://eusfecomnonprodstgmedia.blob.core.windows.net/images/futek/images/store/pwd_hide.png":"https://eusfecomnonprodstgmedia.blob.core.windows.net/images/futek/images/store/pwd_show.png",q),s(2),m("ngIf",e.loginErrorMsg&&!e.OTPTimeout),s(),m("ngIf",e.OTPTimeout),s(2),m("ngIf",!e.OTPTimeout),s(),m("ngIf",e.OTPTimeout)}}var ke=(()=>{let l=class l{constructor(a,t){d(this,"_loginService");d(this,"_accountService");d(this,"UserName","");d(this,"Password","");d(this,"loginErrorMsg","");d(this,"loginSuccessfull",!1);d(this,"IsActiveAccount",!1);d(this,"emailVerificationPanel",!1);d(this,"openLoginPanel",!1);d(this,"openOTPPanel",!1);d(this,"OTPTimeout",!1);d(this,"isExistingUser",!1);d(this,"OTP");d(this,"guestClicked",new L);d(this,"stepper");d(this,"orderType","");d(this,"isBtnLoading",!1);d(this,"ShippingAddress",new ne);d(this,"contactAddress",new ne);d(this,"BillingAddress",new ne);d(this,"registrationModel",new Ee);d(this,"ShippingAddressData","");d(this,"BillingAddressData","");d(this,"isEmailBtnLoading",!1);d(this,"otpHide",!0);d(this,"passwordHide",!0);d(this,"isOtpBtnLoading");d(this,"FileHostUrl",F.FileHostUrl);d(this,"emailControl",new Ke);d(this,"QuoteUserData");d(this,"popup",!1);this._loginService=a,this._accountService=t}ngOnInit(){this.OTP="",Nt.init({duration:100,delay:100}),setTimeout(()=>{this.emailVerificationPanel=!0},2e3),this.openLoginPanel=!1,this.QuoteUserData=JSON.parse(localStorage.getItem("userData")),this.QuoteUserData&&(this.UserName=this.QuoteUserData.EmailAddress,this.emailVerfication())}Login(){this.Password?(this.isBtnLoading=!0,this._loginService.login(this.UserName,this.Password).subscribe(a=>{this.loginErrorMsg="",this.storeToken(a),this.loginSuccessfull=!0,this._loginService.getCurrentUser().subscribe(t=>
1{if(this.storeUserData(t),sessionStorage.getItem("popupValue")){this.popup=!0;let h=this.popup.toString();localStorage.setItem("popupValue",h),sessionStorage.removeItem("popupValue")}this.orderType=="Order",window.location.reload()}),this.isBtnLoading=!1},a=>{this.isBtnLoading=!1,this.loginSuccessfull=!1,this.loginErrorMsg="Incorrect password, try again"})):this.loginErrorMsg="Password required"}emailVerfication(){if(this.emailControl.valid){this.OTPTimeout=!1,this.loginErrorMsg="";var a={};a.Email=this.UserName,a.IsNotVerificationEmailSent=!0,this.OTP="",this.Password="",this.isEmailBtnLoading=!0,this._accountService.EmailVerification(a).subscribe(t=>{t!=null&&(this.emailVerificationPanel=!1,this.openLoginPanel=!1,this.openOTPPanel=!1,this.OTPTimeout=!1,this.isExistingUser=t.EmailExits,this.isEmailBtnLoading=!1,t.ActiveAccount?this.openLoginPanel=!0:this.guestClick())})}else this.loginErrorMsg="Please enter valid email"}emailPanelOpen(){this.emailVerificationPanel=!0,this.openOTPPanel=!1,this.openLoginPanel=!1,this.loginErrorMsg=""}validateOTP(){if(this.OTP.length>=6){var a={};a.OTP=this.OTP,a.EmailAddress=this.UserName,this.isOtpBtnLoading=!0,this._accountService.OTPValidation(a).subscribe(t=>{setTimeout(()=>{this.isOtpBtnLoading=!1},400),t!=null&&(this.OTPTimeout=!1,t=="Sucess"?this.guestClick():t=="TimeOut"?(this.OTPTimeout=!0,this.loginErrorMsg="Security code expired. Resend security code"):(this.OTPTimeout=!1,this.loginErrorMsg="Invalid security code. Enter valid code"))})}else this.loginErrorMsg="6 digit security code is required"}guestClick(){this.guestClicked.emit(!0)}storeToken(a){localStorage.setItem("token",a.access_token),localStorage.setItem("tokenExpires",a[".expires"]),localStorage.setItem("refreshtoken",a.refresh_token),localStorage.setItem("roles",a.roles),localStorage.setItem("userName",a.userName),localStorage.setItem("userId",a.userId)}storeUserData(a){localStorage.setItem("firstName",a.FirstName),localStorage.setItem("lastName",a.LastName),localStorage.setItem("customerId",a.CustomerAccountId),localStorage.setItem("userGroups",JSON.stringify(a.UserGroups))}};d(l,"\u0275fac",function(t){return new(t||l)(A(tt),A(_e))}),d(l,"\u0275cmp",N({type:l,selectors:[["app-revise-quote-login"]],viewQuery:function(t,o){if(t&1&&T(mn,5),t&2){let h;O(h=k())&&(o.stepper=h.first)}},outputs:{guestClicked:"guestClicked"},decls:8,vars:2,consts:[[1,"container"],[1,"row","chRemembepanelm1"],[1,"col-md-11","loginBlock"],[1,"row"],[1,"col-lg-3","col-md-3"],[1,"col-lg-5","col-md-7"],["class","stloginpanel1","data-aos","fade-left",4,"ngIf"],["data-aos","fade-left",1,"stloginpanel1"],[1,"row","EMAILrowpal1","text-center","passwordBlock"],["appearance","outline"],["matInput","","type","email","disabled","","placeholder","Email","required","",3,"ngModelChange","keydown.enter","focus","ngModel"],[1,"row","EMAILrowpal1"],["matInput","","name","Password","placeholder","Password","required","",3,"ngModelChange","keydown.enter","focus","type","ngModel"],["matSuffix","",1,"securityBtn",3,"mousedown","mouseup","mouseover"],[3,"src"],["class","login-error",4,"ngIf"],[1,"row","EMAILrowpal1","text-center"],["mat-button","","cdkFocusInitial","",1,"btn","btn-primary",3,"click","disabled"],["class","fa fa-spinner fa-spin fa-fw",4,"ngIf"],[1,"Forgottext"],["href","account/forgetpassword",1,"Remembertextb1"],[1,"login-error"],[1,"fa","fa-spinner","fa-spin","fa-fw"],["class","stProceedtexb1",4,"ngIf"],[1,"row","EMAILrowpal1","text-center","otpBlock"],["appearance","outline",1,"otpField"],["matInput","","name","Security code","placeholder","Security code","maxlength","6",3,"ngModelChange","keydown.enter","focus","type","ngModel"],["mat-button","","c-dkFocusInitial","","class","btn btn-primary",3,"disabled","click",4,"ngIf"],["mat-button","","cdkFocusInitial","","class","btn btn-primary",3,"disabled","click",4,"ngIf"],[1,"stProceedtexb1"],[2,"margin-bottom","5px"],[1,"aTag",3,"click"],["mat-button","","c-dkFocusInitial","",1,"btn","btn-primary",3,"click","disabled"]],template:function(t,o){t&1&&(r(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),P(4,"div",4),r(5,"div",5),_(6,un,24,8,"div",6)(7,wn,22,11,"div",6),n()()()()()),t&2&&(s(6),m("ngIf",o.openLoginPanel),s(),m("ngIf",o.openOTPPanel))},dependencies:[V,K,J,he,X,Y,ie,te,ee,$,fe],styles:[".Checkbtn[_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-size:11pt;border-radius:0;font-weight:400;height:38px}.chRemembepanelm1[_ngcontent-%COMP%]{border-top:1px dotted #ccc;padding:16px 0}.Proceedtexb1[_ngcontent-%COMP%]{font-weight:400;font-family:Nunito Sans,sans-serif;font-size:12pt}.registeredplo1[_ngcontent-%COMP%]{font-family:Nunito Sans,sans-serif;font-size:10pt;font-weight:400;line-height:22px;margin-bottom:18px!important}.registeredplo1lp1[_ngcontent-%COMP%]{font-family:Nunito Sans,sans-serif;font-size:10pt;font-weight:400;line-height:22px}.aTag[_ngcontent-%COMP%]{color:#147acc;cursor:pointer;text-decoration:underline}.aTag[_ngcontent-%COMP%]:hover{color:#147acc;text-decoration:underline}.a[_ngcontent-%COMP%]{color:#147acc!important}.stProceedtexb1[_ngcontent-%COMP%]{text-align:left;font-weight:400;font-family:Nunito Sans,sans-serif;font-size:14px;margin-top:35px;color:#147acc}.stProceedtexb1Login[_ngcontent-%COMP%]{text-align:left;font-weight:400;font-family:Nunito Sans,sans-serif;font-size:18px;margin-top:65px}.stOTPtexb1Login[_ngcontent-%COMP%]{text-align:center;font-weight:400;font-family:Nunito Sans,sans-serif;font-size:24px}.passwordBlock[_ngcontent-%COMP%]{margin-top:95px}.mat-mdc-form-field[_ngcontent-%COMP%]{display:inline-block;position:relative;text-align:left;padding-right:0;padding-left:0;width:100%}.EMAILrowpal1[_ngcontent-%COMP%]{width:100%;margin-left:0;display:block}.Createaccountbtn[_ngcontent-%COMP%]{width:95%;border:1px solid #e0b600;padding:8px;font-family:Nunito Sans,sans-serif;font-size:16px;background:#fece00;font-weight:700;height:39px;cursor:pointer}.Loginbtn[_ngcontent-%COMP%]{width:59%;padding:2px;font-family:Nunito Sans,sans-serif;font-size:16px;background:#000;color:#fff;float:left;font-weight:400;border-radius:0;height:39px;text-align:center;margin-left:4px}.Forgottext[_ngcontent-%COMP%]{font-family:Nunito Sans,sans-serif;margin:8px 0 0;font-size:14px;color:#000;font-weight:700}.Createlinka[_ngcontent-%COMP%]{display:inline-block;margin-top:53px}.col-md-8[_ngcontent-%COMP%], .col-md-6[_ngcontent-%COMP%], .col-md-4[_ngcontent-%COMP%], .col-md-12[_ngcontent-%COMP%], .col-md-5[_ngcontent-%COMP%]{padding-right:0;padding-left:0;width:100%}.Remembertextb1[_ngcontent-%COMP%]{font-family:Nunito Sans,sans-serif;font-weight:400;color:#147acc!important}.emaildisplay[_ngcontent-%COMP%]{border:1px solid #ccc;padding:5px 25px;text-align:center;width:100%}.emaildisplay[_ngcontent-%COMP%]:hover{background:#fff}.fa-angle-down[_ngcontent-%COMP%]{position:relative;
1left:5px;top:2px}.p-t-35[_ngcontent-%COMP%]{padding-top:35px}.loginBlock[_ngcontent-%COMP%]{margin-left:7%;margin-top:25px}.img-responsive[_ngcontent-%COMP%]{width:100%!important;max-width:100%!important}.otpBlock[_ngcontent-%COMP%]{margin-top:16px}.login-error[_ngcontent-%COMP%]{color:red;position:relative;top:-10px}.mdc-button[_ngcontent-%COMP%]{padding:0 17px}"]}));let i=l;return i})();var Pn=["ccemailform"];function An(i,l){if(i&1){let e=y();r(0,"tr")(1,"td",56)(2,"span",62)(3,"img",63),C("error",function(t){g(e);let o=c(3);return u(o.errorHandle(t))}),n()()(),r(4,"td",56)(5,"div",64)(6,"span",65)(7,"span",66),p(8),n(),P(9,"br"),r(10,"span",67),p(11),n(),P(12,"br"),n(),P(13,"br"),n()(),r(14,"td",57),p(15),x(16,"currency"),n(),r(17,"td",58),p(18),n(),r(19,"td",59),p(20),x(21,"currency"),n()()}if(i&2){let e=l.$implicit;s(3),B("src",e.ImageUrl,q),s(5),f(e.Stock),s(3),E(" ",e.Definition," "),s(4),f(I(16,6,e.PriceEach)),s(3),f(e.Quantity),s(2),f(I(21,8,e.ExtendedPrice))}}function En(i,l){if(i&1){let e=y();r(0,"div")(1,"div",3),P(2,"div",68),n(),r(3,"div",3)(4,"div",69)(5,"table",70)(6,"tr")(7,"td")(8,"span",71)(9,"img",63),C("error",function(t){g(e);let o=c(3);return u(o.errorHandle(t))}),n()()(),r(10,"td")(11,"span",72)(12,"div",73),p(13),n(),r(14,"div",74),p(15),n()()()()()(),r(16,"div",75)(17,"div",76),p(18,"Price"),n(),r(19,"div"),p(20),x(21,"currency"),n()(),r(22,"div",75)(23,"div",76),p(24,"Qty"),n(),r(25,"div"),p(26),n()(),r(27,"div",77)(28,"div",76),p(29,"Total"),n(),r(30,"div"),p(31),x(32,"currency"),n()()()()}if(i&2){let e=l.$implicit;s(9),B("src",e.ImageUrl,q),s(4),f(e.Stock),s(2),E(" ",e.Definition," "),s(5),f(I(21,6,e.PriceEach)),s(6),f(e.Quantity),s(5),f(I(32,8,e.ExtendedPrice))}}function Rn(i,l){if(i&1&&(r(0,"mat-expansion-panel",49)(1,"mat-expansion-panel-header")(2,"mat-panel-title",50)(3,"div",51)(4,"div",52),p(5),n(),r(6,"div",53),p(7),x(8,"currency"),n()()()(),r(9,"div",54)(10,"table",55)(11,"tr"),P(12,"th"),r(13,"th",56),p(14,"Item"),n(),r(15,"th",57),p(16,"Price"),n(),r(17,"th",58),p(18,"Qty"),n(),r(19,"th",59),p(20,"Total"),n()(),_(21,An,22,10,"tr",60),n()(),r(22,"div",61),_(23,En,33,10,"div",60),n()()),i&2){let e=l.$implicit,a=l.index,t=l.first;m("expanded",t),s(5),E(" Package ",a+1,""),s(2),f(I(8,5,e.PackageTotal)),s(14),m("ngForOf",e.Items),s(2),m("ngForOf",e.Items)}}function Tn(i,l){if(i&1&&(r(0,"mat-option",78),p(1),n()),i&2){let e=l.$implicit;m("value",e.EmailAddress),s(),E("",e.Name," ")}}function On(i,l){if(i&1){let e=y();r(0,"div",31)(1,"div",3)(2,"div",32)(3,"h2",9),p(4,"Packages"),n()(),r(5,"div",33)(6,"h2",9)(7,"div",34),p(8),x(9,"currency"),n()()()(),r(10,"div",35)(11,"mat-accordion",36),_(12,Rn,24,7,"mat-expansion-panel",37),n()(),r(13,"div",38)(14,"div",39)(15,"mat-form-field",40)(16,"mat-label"),p(17,"Select representative email"),n(),r(18,"mat-select",41),b("ngModelChange",function(t){g(e);let o=c();return M(o.AlternateEmail,t)||(o.AlternateEmail=t),u(t)}),_(19,Tn,2,2,"mat-option",42),n()()(),r(20,"div",43)(21,"form",44,0)(23,"mat-form-field",40)(24,"mat-label"),p(25,"Additional Email"),n(),r(26,"input",45),b("ngModelChange",function(t){g(e);let o=c();return M(o.CCEmail,t)||(o.CCEmail=t),u(t)}),n()()()()(),r(27,"div",46)(28,"div",14)(29,"mat-form-field",40)(30,"mat-label"),p(31,"General Notes for this Order"),n(),r(32,"textarea",47),b("ngModelChange",function(t){g(e);let o=c();return M(o.GeneralNote,t)||(o.GeneralNote=t),u(t)}),C("keydown",function(t){g(e);let o=c();return u(o.generalnotest(t))}),n()(),r(33,"div",48),p(34),n()()()()}if(i&2){let e=c();s(8),E("Sub Total \xA0 ",I(9,7,e.cart.SubtotalRecal),""),s(4),m("ngForOf",e.cart.Packages),s(6),w("ngModel",e.AlternateEmail),s(),m("ngForOf",e.salesRepresentativeData),s(7),w("ngModel",e.CCEmail),s(6),w("ngModel",e.GeneralNote),s(2),E("",e.countchar," characters. ")}}function kn(i,l){if(i&1&&(r(0,"tr")(1,"td"),p(2,"Total Discount"),n(),r(3,"td",11),p(4),x(5,"currency"),n()()),i&2){let e=c();s(4),f(I(5,1,e.cart.TotalDiscount))}}function qn(i,l){if(i&1&&(r(0,"tr")(1,"td"),p(2,"Tax"),n(),r(3,"td",11),p(4),x(5,"currency"),n()()),i&2){let e=c();s(4),f(I(5,1,e.cart.Tax))}}function Qn(i,l){if(i&1&&(r(0,"tr")(1,"td"),p(2,"Shipping Charge"),n(),r(3,"td",11),p(4),x(5,"currency"),n()()),i&2){let e=c();s(4),f(I(5,1,e.cart.ShippingCharge))}}function Nn(i,l){if(i&1&&(r(0,"tr")(1,"td"),p(2,"Handling Charge"),n(),r(3,"td",11),p(4),x(5,"currency"),n()()),i&2){let e=c();s(4),f(I(5,1,e.cart.HandlingCharge))}}function Vn(i,l){if(i&1&&(r(0,"tr")(1,"td"),p(2,"Insurance Charge"),n(),r(3,"td",11),p(4),x(5,"currency"),n()()),i&2){let e=c();s(4),f(I(5,1,e.cart.InsuranceCharge))}}function Bn(i,l){if(i&1&&(r(0,"span"),p(1),n()),i&2){let e=c(2);s(),f(e.ShippingAddress.Street1)}}function Un(i,l){i&1&&(r(0,"span"),p(1,",\xA0"),n())}function Ln(i,l){if(i&1&&(r(0,"span"),p(1),n()),i&2){let e=c(2);s(),f(e.ShippingAddress.Street2)}}function Dn(i,l){i&1&&(r(0,"span"),p(1,",\xA0"),n())}function Fn(i,l){if(i&1&&(r(0,"span"),p(1),n()),i&2){let e=c(2);s(),f(e.ShippingAddress.Street3)}}function Wn(i,l){i&1&&(r(0,"span"),p(1,",\xA0"),n())}function zn(i,l){if(i&1&&(r(0,"span"),p(1),n()),i&2){let e=c(2);s(),f(e.ShippingAddress.Street4)}}function Hn(i,l){i&1&&(r(0,"span"),p(1,",\xA0"),n())}function Zn(i,l){if(i&1&&(r(0,"span"),p(1),n()),i&2){let e=c(2);s(),f(e.ShippingAddress.County)}}function Gn(i,l){i&1&&(r(0,"span"),p(1,",\xA0"),n())}function jn(i,l){if(i&1&&(r(0,"span"),p(1),n()),i&2){let e=c(2);s(),f(e.ShippingAddress.State)}}function Kn(i,l){i&1&&(r(0,"span"),p(1,",\xA0"),n())}function Jn(i,l){if(i&1&&(r(0,"span"),p(1),x(2,"uppercase"),n()),i&2){let e=c(2);s(),f(I(2,1,e.ShippingAddress.Province))}}function Yn(i,l){i&1&&(r(0,"span"),p(1,",\xA0"),n())}function Xn(i,l){if(i&1&&(r(0,"span"),p(1),n()),i&2){let e=c(2);s(),f(e.ShippingAddress.ZipPostalCode)}}function $n(i,l){i&1&&(r(0,"span"),p(1,",\xA0"),n())}function eo(i,l){if(i&1&&(r(0,"span"),p(1),n()),i&2){let e=c(2);s(),f(e.ShippingAddress.PostalCode)}}function to(i,l){if(i&1&&(r(0,"span"),p(1),x(2,"uppercase"),n()),i&2){let e=c(2);s(),f(I(2,1,e.ShippingAddress.Country))}}function io(i,l){if(i&1&&(r(0,"div",3)(1,"span"),p(2,"Phone Number: \xA0"),n(),r(3,"span"),p(4),n()()),i&2){let e=c(2);s(4),f(e.ShippingAddress.PhoneNumber)}}function no(i,l){if(i&1&&(r(0,"div",79)(1,"div",3),_(2,Bn,2,1,"span",12)(3,Un,2,0,"span",12)(4,Ln,2,1,"span",12)(5,Dn,2,0,"span",12)(6,Fn,2,1,"span",12)(7,Wn,2,0,"span",12)(8,zn,2,1,"span",12),n(),r(9,"div",3)(10,"span")(11,"span"),p(12),n(),_(13,Hn,2,0,"span",12)(14,Zn,2,1,"span",12)(15,Gn,2,0,"span",12)(16,jn,2,1,"span",12)(17,Kn,2,0,"span",12)(18,Jn,3,3,"span",12)(19,Yn,2,0,"span",12)(20,Xn,2,1,"span",12)(21,$n,2,0,"span",12)(22,eo,2,1,"span",12),n()(),r(23,"div",3),_(24,to,3,3,"span",12),n(),_(25,io,5,1,"div",80),P(26,"div",15),n()),i&2){let e=c();s(2),m("ngIf",e.ShippingAddress.Street1),s(),m("ngIf",e.ShippingAddress.Street2),s(),m("ngIf",e.ShippingAddress.Street2),s(),m("ngIf",e.ShippingAddress.Street3),s(),m("ngIf",e.ShippingAddress.Street3),s(),m("ngIf",e.ShippingAddress.Street4),s(),m("ngIf",e.ShippingAddress.Street4),s(4),f(e.ShippingAddress.City),s(),m("ngIf",e.ShippingAddress.County&&e.ShippingAddress.State=="CA"),s(),m("ngIf",e.ShippingAddress.County&&e.ShippingAddress.State=="CA"),s(),m("ngIf",e.ShippingAddress.State),s(),m("ngIf",e.ShippingAddress.State),s(),m("ngIf",e.ShippingAddress.Province),s(),m("ngIf",e.ShippingAddress.Province),s(),m("ngIf",e.ShippingAddress.ZipPostalCode&&e.ShippingAddress.Country.toUpperCase()=="US"),s(),m("ngIf",e.ShippingAddress.ZipPostalCode&&e.ShippingAddress.Country.toUpperCase()=="US"),s(),m("ngIf",e.ShippingAddress.PostalCode&&e.ShippingAddress.Country.toUpperCase()!="US"),s(),m("ngIf",e.ShippingAddress.PostalCode&&e.ShippingAddress.Country.toUpperCase()!="US"),s(2),m("ngIf",e.ShippingAddress.Country),s(),m("ngIf",e.ShippingAddress&&e.ShippingAddress.PhoneNumber)}}function oo(i,l){if(i&1&&(r(0,"div",13)(1,"div",81)(2,"div",14)(3,"h2",9),p(4,"Selected Shipping Method"),n()(),r(5,"div",79)(6,"div")(7,"span"),p(8,"Carrier:"),n(),p(9,"\xA0 "),r(10,"span"),p(11),n()(),r(12,"div")(13,"span"),p(14,"Service:"),n(),p(15,"\xA0 "),r(16,"span"),p(17),n()(),r(18,"div")(19,"span"),p(20,"Account Number:"),n(),p(21,"\xA0 "),r(22,"span"),p(23),x(24,"uppercase"),n()()()(),P(25,"div",15),n()),i&2){let e=c();s(11),f(e.shippingDetails.Carrier),s(6),f(e.shippingDetails.Service),s(6),f(I(24,3,e.shippingDetails.AccountNumber))}}function ro(i,l){i&1&&P(0,"i",82)}var qe=(()=>{let l=class l{constructor(a,t,o){d(this,"router");d(this,"_cartService");d(this,"dialog");d(this,"ccemailform");d(this,"ngUnsubscribe",new U);d(this,"FileHostUrl",F.FileHostUrl);d(this,"order");d(this,"IsUS");d(this,"quotation");d(this,"cart");d(this,"shippingMethod");d(this,"orderInfo",new Ce);d(this,"accessCode",sessionStorage.getItem("AccessCode"));d(this,"orderType","");
1d(this,"GeneralNote","");d(this,"AlternateEmail","");d(this,"packagesCount",0);d(this,"countchar",235);d(this,"IsShippingMethod",!0);d(this,"shippingFee",!1);d(this,"shippingDetails");d(this,"ShippingAddress",new Ae);d(this,"salesRepresentativeData");d(this,"CCEmail","");d(this,"disablePlaceQuote",!1);d(this,"reviewForwardClicked",new L);d(this,"reviewBackClicked",new L);d(this,"ShowCalibrationNotes",function(a){a.DisplayCalibrationNotes?a.DisplayCalibrationNotes=!1:a.DisplayCalibrationNotes=!0});this.router=a,this._cartService=t,this.dialog=o,localStorage.setItem("checkeoutGuest","2")}scrollHandler(a){window.innerWidth<767?window.pageYOffset>50?document.querySelector("#responseReviewNextBtn")&&document.querySelector("#responseReviewNextBtn").setAttribute("style","position: fixed;top: 50px;width:100%;margin-top:-2px !important;margin-left: -15px;padding:5px !important;padding-right: 15px !important;background:#fff !important;;border-bottom:1px solid #ccc !important;"):document.querySelector("#responseReviewNextBtn")&&document.querySelector("#responseReviewNextBtn").setAttribute("style","position: relative;"):document.querySelector("#responseReviewNextBtn").setAttribute("style","position: relative;")}ngOnInit(){var a=JSON.parse(localStorage.getItem("userData"));this._cartService.getSalesRepresentativeData().pipe(Q(this.ngUnsubscribe)).subscribe(t=>{if(this.salesRepresentativeData=t,a){this.GeneralNote=a.OrderNotes;var o=this.salesRepresentativeData.filter(h=>h.EmailAddress.toLowerCase()==a.SalesRepEmail.toLowerCase())[0];o&&(this.AlternateEmail=o.EmailAddress),a.AdditionalEmail&&(this.CCEmail=a.AdditionalEmail)}}),this.ShippingAddress=this.quotation.ContactInfo.Address,this.shippingDetails=this.shippingMethod}generalnotest(a){let t=a.target.value.length;this.countchar=235-t}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete()}errorHandle(a){a.target.src=this.FileHostUrl+"/images/thumb/NOIMAGE.JPG"}nextClick(){this.reviewForwardClicked.emit(!0)}backClick(){this.reviewBackClicked.emit(!0)}};d(l,"\u0275fac",function(t){return new(t||l)(A(D),A(be),A(we))}),d(l,"\u0275cmp",N({type:l,selectors:[["app-revise-quote-review"]],viewQuery:function(t,o){if(t&1&&T(Pn,5),t&2){let h;O(h=k())&&(o.ccemailform=h.first)}},hostBindings:function(t,o){t&1&&C("scroll",function(S){return o.scrollHandler(S)},!1,H)},inputs:{quotation:"quotation",cart:"cart",shippingMethod:"shippingMethod"},outputs:{reviewForwardClicked:"reviewForwardClicked",reviewBackClicked:"reviewBackClicked"},decls:64,vars:18,consts:[["ccemailform","ngForm"],[1,"container",3,"scroll","resize"],[1,"orrammainpanel"],[1,"row"],["class","col-lg-9 col-md-7 order-2 order-md-1 packagesCol anchor-left min-height-600",4,"ngIf"],[1,"col-lg-3","col-md-5","order-1","order-md-2"],[1,"col-md-12","order-2","order-md-1","orsummarypanelm1"],[1,"row","subtottalpanm1"],[1,"aOrderheadertext"],[1,"headingH2"],[1,"orSubtotalpanelm1"],[1,"subrighttextpanel"],[4,"ngIf"],[1,"Shippanelct1"],[1,"col-md-12"],[1,"clear20"],[1,"shippingAddressSection","m-t-10"],["class","ShippingAddresspal1",4,"ngIf"],["class","Shippanelct1",4,"ngIf"],[1,"col-md-12","order-1","order-md-2","m-t-10"],["id","responseReviewNextBtn"],[2,"vertical-align","top"],["type","checkbox",3,"ngModelChange","ngModel"],[1,"acceptalp1"],["href","TermsAndConditions","target","_blank",1,"acceptlinkpl1",2,"color","#cf102d"],["href","privacypolicy","target","_blank",1,"acceptlinkpl1",2,"color","#cf102d"],[1,"row","m-t-10"],[1,"col-md-12","text-right"],["mat-button","",1,"nextbtn1","btn","btn-primary",3,"click","disabled"],["class","fa fa-spinner fa-spin fa-fw",4,"ngIf"],["mat-button","","matStepperPrevious","",1,"backbtn1",3,"click","disabled"],[1,"col-lg-9","col-md-7","order-2","order-md-1","packagesCol","anchor-left","min-height-600"],[1,"col-md-4","col-4"],[1,"col-md-8","col-8","text-right"],[1,"packageTotalDiv"],[1,"newPackagesheadersectionv1"],[1,"DocumentsSupportplk1"],["class","cart-package Packagemainpanel",3,"expanded",4,"ngFor","ngForOf"],[1,"row","altEmailBlock"],[1,"col-md-6"],["appearance","outline"],["name","company","placeholder","Choose sales representative email",3,"ngModelChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],[1,"col-md-6","alternativeemail"],["novalidate",""],["matInput","","placeholder","Additional Email","name","additionalemail","pattern","^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,10}$","maxlength","100",3,"ngModelChange","ngModel"],[1,"row","Packagemainpanel","m-t-10"],["maxlength","235","matInput","","placeholder","General Notes for this Order","name","GeneralN
1otes",2,"height","80px","width","100%",3,"ngModelChange","keydown","ngModel"],[1,"countNotescharacterscount"],[1,"cart-package","Packagemainpanel",3,"expanded"],[1,"panelTitle"],[1,"row","orPackageheaderpa1"],[1,"col-md-6","col-6"],[1,"col-md-6","col-6","text-right"],[1,"row","orPackageheaderpa2","desktopView"],[1,"table"],[1,"text-left"],[1,"text-right"],[1,"text-center"],[1,"text-right","totalBlock"],[4,"ngFor","ngForOf"],[1,"mobileView"],[1,"orItemimgpanelm1"],[1,"imgwidthitempl1",3,"error","src"],[1,"Additionaltextv1","pl_pr_zero"],[1,"orItemimgpanelm2"],[1,"orItemtitletextb1"],[1,"definitionpanem1"],[1,"col-12","cartlistMobile","mobilePackageHeader"],[1,"col-12","p-5px"],[1,"configTable"],[1,"ptItemimgpanelm1"],[1,"reptItemimgpanelm2"],[1,"ptItemtitletextb1"],[1,"reptDefinitiontextb1"],[1,"col-4","text-center"],[1,"cartlistMobile"],[1,"col-4","text-right","totalBlock"],[3,"value"],[1,"ShippingAddresspal1"],["class","row",4,"ngIf"],[1,"row","Shiplp1"],[1,"fa","fa-spinner","fa-spin","fa-fw"]],template:function(t,o){t&1&&(r(0,"div",1),C("scroll",function(S){return o.scrollHandler(S)})("resize",function(S){return o.scrollHandler(S)},!1,H),r(1,"div",2)(2,"div",3),_(3,On,35,9,"div",4),r(4,"div",5)(5,"div",3)(6,"div",6)(7,"div",7)(8,"div",8)(9,"h2",9),p(10,"Order Summary"),n()()(),r(11,"div",7)(12,"table",10)(13,"tr")(14,"td"),p(15,"Subtotal"),n(),r(16,"td",11),p(17),x(18,"currency"),n()(),_(19,kn,6,3,"tr",12)(20,qn,6,3,"tr",12)(21,Qn,6,3,"tr",12)(22,Nn,6,3,"tr",12)(23,Vn,6,3,"tr",12),r(24,"tr")(25,"td")(26,"h2",9),p(27,"Grand Total "),n()(),r(28,"td",11)(29,"h2",9),p(30),x(31,"currency"),n()()()()(),r(32,"div",13)(33,"div",3)(34,"div",14)(35,"h2",9),p(36,"Ship To"),n()()(),P(37,"div",15),r(38,"section",16),_(39,no,27,20,"div",17),n()(),_(40,oo,26,5,"div",18),n(),r(41,"div",19)(42,"div",20)(43,"div",3)(44,"table",21)(45,"td")(46,"mat-checkbox",22),b("ngModelChange",function(S){return M(o.cart.TermsAccepted,S)||(o.cart.TermsAccepted=S),S}),n(),p(47," \xA0\xA0 "),n(),r(48,"td")(49,"b",23),p(50,"I accept the "),r(51,"a",24),p(52,"terms of purchase"),n(),p(53," and "),r(54,"a",25),p(55,"privacy policy "),n(),p(56,"."),n()()()(),r(57,"div",26)(58,"div",27)(59,"button",28),C("click",function(){return o.nextClick()}),_(60,ro,1,0,"i",29),p(61," Update Quote"),n(),r(62,"button",30),C("click",function(){return o.backClick()}),p(63,"Back"),n()()()()()()()()()()),t&2&&(s(3),m("ngIf",o.cart),s(14),f(I(18,14,o.cart.SubTotal)),s(2),m("ngIf",o.cart.TotalDiscount>0),s(),m("ngIf",o.cart.Tax>0),s(),m("ngIf",o.IsShippingMethod&&o.cart.ShippingCharge>0),s(),m("ngIf",o.IsShippingMethod&&o.cart.HandlingCharge>0),s(),m("ngIf",o.IsShippingMethod&&o.cart.InsuranceCharge>0),s(7),f(I(31,16,o.cart.GrandTotalRecal)),s(9),m("ngIf",o.ShippingAddress),s(),m("ngIf",o.shippingDetails&&o.shippingDetails.AccountNumber),s(6),w("ngModel",o.cart.TermsAccepted),s(13),m("disabled",o.disablePlaceQuote),s(),m("ngIf",o.disablePlaceQuote),s(2),m("disabled",o.disablePlaceQuote))},dependencies:[Z,V,me,K,J,le,X,ge,Y,ce,ue,ie,Pe,xt,gt,ct,mt,ht,te,ee,$,Ie,G,j],styles:[".mat-mdc-form-field[_ngcontent-%COMP%]{display:inline-block;position:relative;text-align:left;padding-right:0;padding-left:4px;width:100%}.newPackagesheadersectionv1[_ngcontent-%COMP%]{margin-top:15px}.orrammainpanel[_ngcontent-%COMP%]{border-top:1px dotted #ccc;padding:16px 0;margin:0 -15px}.orRepairheadertext[_ngcontent-%COMP%]{font-weight:400;font-family:Nunito Sans,sans-serif;letter-spacing:.02em;font-size:12pt;margin:0 0 12px}.packageTotalDiv[_ngcontent-%COMP%]{padding-right:32px!important}.table[_ngcontent-%COMP%]   .totalBlock[_ngcontent-%COMP%]{padding-right:17px!important}.orPackageheaderpa1[_ngcontent-%COMP%]{background:#ffffff69;padding-left:10px;font-family:Nunito Sans,sans-serif;font-weight:600;font-size:15px;border:0px solid rgba(204,204,204,.6313725490196078);border-bottom:0px;width:100%}.orItemtitletextb1[_ngcontent-%COMP%]{color:#000;font-weight:600}.orItemimgpanelm1[_ngcontent-%COMP%]{width:96px;float:left;border:1px solid #ccc;height:72px}.imgwidthitempl1[_ngcontent-%COMP%]{width:90px;height:60px;margin:6px 1px}.orItemimgpanelm2[_ngcontent-%COMP%]{text-align:left;font-size:14px}.eachtexb1[_ngcontent-%COMP%]{padding:0;text-align:center}.subqty[_ngcontent-%COMP%]{text-align:center}.eachtexb1panel1[_ngcontent-%COMP%]{text-align:center;padding-left:10px!important;padding:0}.subqtyeachtexb1[_ngcontent-%COMP%]{text-align:center;padding-left:44px!important}.totalachtexb1[_ngcontent-%COMP%]{text-align:center;padding-left:14px!important;padding:0}.orSubtotalpa1[_ngcontent-%COMP%]{text-align:right;font-family:Nunito Sans,sans-serif;font-weight:700;font-size:12pt}
1.cart-bottom-anchor[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{cursor:pointer}.row[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin-right:0;margin-left:0}.col-md-8[_ngcontent-%COMP%], .col-md-9[_ngcontent-%COMP%], .col-md-6[_ngcontent-%COMP%], .col-md-5[_ngcontent-%COMP%], .col-md-4[_ngcontent-%COMP%], .col-md-12[_ngcontent-%COMP%]{padding-right:0;padding-left:0;width:100%}.table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%], .table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{padding:5px}  .newPackagesheadersectionv1 .mat-expansion-panel-body{padding:0 10px;margin-top:10px}.orPackageheaderpa2[_ngcontent-%COMP%]{font-family:Nunito Sans,sans-serif;font-weight:400;border:0px solid #ccc;overflow-y:hidden;overflow-x:auto}.orsummarypanelm1[_ngcontent-%COMP%]{border:1px solid #cccccc;padding:0;font-family:Nunito Sans,sans-serif}.aOrderheadertext[_ngcontent-%COMP%]{background:#757575;padding:7px;color:#fff;width:100%;font-size:14px}table.orSubtotalpanelm1[_ngcontent-%COMP%]{border-collapse:collapse;width:100%;font-family:Nunito Sans,sans-serif;font-weight:400;border-bottom:1px solid #ccc}table.orSubtotalpanelm1[_ngcontent-%COMP%]   th[_ngcontent-%COMP%], table.orSubtotalpanelm1[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{text-align:left;padding:5px}.quoteacceptcartch2[_ngcontent-%COMP%]{width:90%;line-height:24px}.Shiptextb1[_ngcontent-%COMP%]{line-height:38px}.Shippanelct1[_ngcontent-%COMP%]{padding:10px 5px;font-family:Nunito Sans,sans-serif;font-weight:400;font-size:12pt;line-height:25px;width:100%;border-bottom:1px solid #ccc}.Changebtn[_ngcontent-%COMP%]{border:0;background-color:#ccc;margin:0 0 15px;font-weight:400;color:#444;padding:4px;cursor:pointer;width:98px;border-radius:0;font-size:14px;font-family:Nunito Sans,sans-serif;font-weight:700}.ShippingAddresspal1[_ngcontent-%COMP%]{font-size:14px}.btn-returnor[_ngcontent-%COMP%]{border:1px solid #529052;background-color:#55ad55;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJod\\2026IwIiB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgZmlsbD0idXJsKCNoYXQwKSIgLz4KPC9zdmc+);background-image:-webkit-linear-gradient(bottom,#338d33 0%,#79cf79 100%);color:#fff;border-radius:0;font-weight:700;padding:10px;margin-bottom:40px}.orNotestextb1[_ngcontent-%COMP%]{font-family:Nunito Sans,sans-serif;font-size:14px;padding-left:8px}.acceptchkep1[_ngcontent-%COMP%]{font-family:Nunito Sans,sans-serif;font-size:12pt;margin-top:30px}.Systemlinkp1[_ngcontent-%COMP%]{float:right;color:#ca0000!important;text-decoration:underline!important;cursor:pointer}.Packagemainpanel[_ngcontent-%COMP%]{width:100%}.countNotescharacterscount[_ngcontent-%COMP%]{font-family:Nunito Sans,sans-serif;font-weight:400;font-size:9pt;width:100%;text-align:right;color:#696969;margin:0;float:left}.subtottalpanm1[_ngcontent-%COMP%]{width:100%}.Additionaltextv1[_ngcontent-%COMP%]{font-size:12pt;font-family:Nunito Sans,sans-serif;font-weight:400;padding-left:0}.GeneralPackagemainpanel[_ngcontent-%COMP%]{width:100%;border-top:0px dotted #ccc;float:left;margin-top:22px;padding:9px 0}.alternativeemail[_ngcontent-%COMP%]{padding-left:15px!important}.Systemviewpl1[_ngcontent-%COMP%]{margin-top:-2px;margin-bottom:-2px;height:52px;border:1px solid #ccc;padding:8px;min-height:96px;border-radius:5px;width:1198px!important;max-width:690px;font-weight:600;font-size:14px;font-family:Nunito Sans,sans-serif}.acceptlinkpl1[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#ca0000!important}.Calibrationtopklp[_ngcontent-%COMP%]{width:100%;margin-top:12px;font-size:14px;font-family:Nunito Sans,sans-serif;border-bottom:1px dotted #ccc;padding:7px 0 20px}.definitionpanem1[_ngcontent-%COMP%]{font-size:9pt;text-align:left}.pl_pr_zero[_ngcontent-%COMP%]{padding-right:0;padding-left:0}.mat-expansion-panel-header-description[_ngcontent-%COMP%], .mat-expansion-panel-header-title[_ngcontent-%COMP%]{margin-right:5px}@media (min-width: 320px) and (max-width: 680px){.packageTotalDiv[_ngcontent-%COMP%]{padding-right:30px!important;margin-bottom:10px}.totalBlock[_ngcontent-%COMP%]{padding-right:30px!important}.alternativeemail[_ngcontent-%COMP%]{padding-left:0!important}.orrammainpanel[_ngcontent-%COMP%]{margin:0 -10px}.Calibrationtopklp[_ngcontent-%COMP%]{margin-bottom:10px;border-bottom:1px dotted #ccc}.definitionpanem1[_ngcontent-%COMP%]{font-size:9pt;text-align:justify}.orItemimgpanelm2[_ngcontent-%COMP%]{float:left;text-align:justify;font-size:9pt;margin-top:0}.Packagemainpanel[_ngcontent-%COMP%]{width:100%}.Additionaltextv1[_ngcontent-%COMP%]{max-width:100%;flex:0 0 100%}.wid-70[_ngcontent-%COMP%]{min-width:100%}.wid-10[_ngcontent-%COMP%]{max-width:100%}.orPackageheaderpa1[_ngcontent-%COMP%]{background:#ffffff69;padding:11px 0 11px 5px;font-family:Nunito Sans,sans-serif;font-weight:600;font-size:15px;border:0px solid rgba(204,204,204,.6313725490196078);border-bottom:0px;width:100%}}.wid-70[_ngcontent-%COMP%]{max-width:70%}.wid-10[_ngcontent-%COMP%]{max-width:10%}@media (min-width:680px) and (max-width:1023px){.packageTotalDiv[_ngcontent-%COMP%]{padding-right:32px!important}.totalBlock[_ngcontent-%COMP%]{padding-right:17px!important}}"]}));let i=l;return i})();function po(i,l){if(i&1){let e=y();r(0,"tr")(1,"td",46)(2,"span",52)(3,"img",53),C("error",function(t){g(e);let o=c(3);return u(o.errorHandle(t))}),n()()(),r(4,"td",46)(5,"span",54)(6,"div",55),p(7),n(),r(8,"div",56),p(9),n()()(),r(10,"td",47),p(11),x(12,"currency"),n(),r(13,"td",48),p(14),n(),r(15,"td",49),p(16),x(17,"currency"),n()()}if(i&2){let e=l.$implicit;s(3),B("src",e.ImageUrl,q),s(4),f(e.Stock),s(2),E(" ",e.Definition," "),s(2),f(I(12,6,e.PriceEach)),s(3),f(e.Quantity),s(2),f(I(17,8,e.ExtendedPrice))}}function lo(i,l){if(i&1){let e=y();r(0,"div")(1,"div",6),P(2,"div",57),n(),r(3,"div",6)(4,"div",58)(5,"table",59)(6,"tr")(7,"td")(8,"span",52)(9,"img",53),C("error",function(t){g(e);let o=c(3);return u(o.errorHandle(t))}),n()()(),r(10,"td")(11,"span",54)(12,"div",55),p(13),n(),r(14,"div",56),p(15),n()()()()()(),r(16,"div",60)(17,"div",61),p(18,"Price"),n(),r(19,"div"),p(20),x(21,"currency"),n()(),r(22,"div",60)(23,"div",61),p(24,"Qty"),n(),r(25,"div"),p(26),n()(),r(27,"div",62)(28,"div",61),p(29,"Total"),n(),r(30,"div"),p(31),x(32,"currency"),n()()()()}if(i&2){let e=l.$implicit;s(9),B("src",e.ImageUrl,q),s(4),f(e.Stock),s(2),E(" ",e.Definition," "),s(5),f(I(21,6,e.PriceEach)),s(6),f(e.Quantity),s(5),f(I(32,8,e.ExtendedPrice))}}function co(i,l){if(i&1&&(r(0,"div",40)(1,"div",41)(2,"div",42),p(3),n(),r(4,"div",43),p(5),x(6,"currency"),n()(),r(7,"div",44)(8,"table",45)(9,"tr"),P(10,"th"),r(11,"th",46),p(12,"Item"),n(),r(13,"th",47),p(14,"Price"),n(),r(15,"th",48),p(16,"Qty"),n(),r(17,"th",49),p(18,"Total"),n()(),_(19,po,18,10,"tr",50),n()(),r(20,"div",51),_(21,lo,33,10,"div",50),n()()),i&2){let e=l.$implicit,a=l.index;s(3),E(" Package ",a+1,""),s(2),f(I(6,4,e.PackageTotal)),s(14),m("ngForOf",e.Items),s(2),m("ngForOf",e.Items)}}function mo(i,l){if(i&1&&(r(0,"div",63)(1,"span",39),p(2,"Representative Email:\xA0"),n(),r(3,"span"),p(4),n()()),i&2){let e=c(2);s(4),f(e.quotationModel.AlaternateEmail)}}function ho(i,l){if(i&1&&(r(0,"div",63)(1,"span",39),p(2,"Additional Email:\xA0"),n(),r(3,"span"),p(4),n()()),i&2){let e=c(2);s(4),f(e.quotationModel.CCEmail)}}function go(i,l){if(i&1&&(r(0,"div",30)(1,"div",31)(2,"div",32)(3,"h2",17),p(4,"Packages"),n()(),r(5,"div",33)(6,"h2",17)(7,"div",34),p(8),x(9,"currency"),n()()()(),_(10,co,22,6,"div",35),r(11,"div",36),_(12,mo,5,1,"div",37)(13,ho,5,1,"div",37),r(14,"div",38)(15,"span",39),p(16,"General Notes: \xA0"),n(),r(17,"span"),p(18),n()()()()),i&2){let e=c();s(8),E("Sub Total: ",I(9,5,e.cart.SubtotalRecal),""),s(2),m("ngForOf",e.cart.Packages),s(2),m("ngIf",e.quotationModel&&e.quotationModel.CCEmail),s(),m("ngIf",e.quotationModel&&e.quotationModel.CCEmail),s(5),f(e.quotationModel.GeneralN
1ote)}}function uo(i,l){if(i&1&&(r(0,"tr")(1,"td"),p(2,"Total Discount"),n(),r(3,"td",20),p(4),x(5,"currency"),n()()),i&2){let e=c();s(4),f(I(5,1,e.cart.TotalDiscount))}}function fo(i,l){if(i&1&&(r(0,"tr")(1,"td"),p(2,"Tax"),n(),r(3,"td",64),p(4),x(5,"currency"),n()()),i&2){let e=c();s(4),f(I(5,1,e.cart.Tax))}}function _o(i,l){if(i&1&&(r(0,"tr")(1,"td"),p(2,"Shipping Charge"),n(),r(3,"td",20),p(4),x(5,"currency"),n()()),i&2){let e=c();s(4),f(I(5,1,e.cart.ShippingCharge))}}function Co(i,l){if(i&1&&(r(0,"tr")(1,"td"),p(2,"Handling Charge"),n(),r(3,"td",64),p(4),x(5,"currency"),n()()),i&2){let e=c();s(4),f(I(5,1,e.cart.HandlingCharge))}}function So(i,l){if(i&1&&(r(0,"tr")(1,"td"),p(2,"Insurance Charge"),n(),r(3,"td",20),p(4),x(5,"currency"),n()()),i&2){let e=c();s(4),f(I(5,1,e.cart.InsuranceCharge))}}function vo(i,l){if(i&1&&(r(0,"span"),p(1),n()),i&2){let e=c(2);s(),f(e.ShippingAddress.Street1)}}function xo(i,l){i&1&&(r(0,"span"),p(1,",\xA0"),n())}function Io(i,l){if(i&1&&(r(0,"span"),p(1),n()),i&2){let e=c(2);s(),f(e.ShippingAddress.Street2)}}function yo(i,l){i&1&&(r(0,"span"),p(1,",\xA0"),n())}function wo(i,l){if(i&1&&(r(0,"span"),p(1),n()),i&2){let e=c(2);s(),f(e.ShippingAddress.Street3)}}function Mo(i,l){i&1&&(r(0,"span"),p(1,",\xA0"),n())}function bo(i,l){if(i&1&&(r(0,"span"),p(1),n()),i&2){let e=c(2);s(),f(e.ShippingAddress.Street4)}}function Po(i,l){i&1&&(r(0,"span"),p(1,",\xA0"),n())}function Ao(i,l){if(i&1&&(r(0,"span"),p(1),n()),i&2){let e=c(2);s(),f(e.ShippingAddress.County)}}function Eo(i,l){i&1&&(r(0,"span"),p(1,",\xA0"),n())}function Ro(i,l){if(i&1&&(r(0,"span"),p(1),n()),i&2){let e=c(2);s(),f(e.ShippingAddress.State)}}function To(i,l){i&1&&(r(0,"span"),p(1,",\xA0"),n())}function Oo(i,l){if(i&1&&(r(0,"span"),p(1),x(2,"uppercase"),n()),i&2){let e=c(2);s(),f(I(2,1,e.ShippingAddress.Province))}}function ko(i,l){i&1&&(r(0,"span"),p(1,",\xA0"),n())}function qo(i,l){if(i&1&&(r(0,"span"),p(1),n()),i&2){let e=c(2);s(),f(e.ShippingAddress.ZipPostalCode)}}function Qo(i,l){i&1&&(r(0,"span"),p(1,",\xA0"),n())}function No(i,l){if(i&1&&(r(0,"span"),p(1),n()),i&2){let e=c(2);s(),f(e.ShippingAddress.PostalCode)}}function Vo(i,l){if(i&1&&(r(0,"span"),p(1),x(2,"uppercase"),n()),i&2){let e=c(2);s(),f(I(2,1,e.ShippingAddress.Country))}}function Bo(i,l){if(i&1&&(r(0,"div",6)(1,"span"),p(2,"Phone Number: \xA0"),n(),r(3,"span"),p(4),n()()),i&2){let e=c(2);s(4),f(e.ShippingAddress.PhoneNumber)}}function Uo(i,l){if(i&1&&(r(0,"div",65)(1,"div",6),_(2,vo,2,1,"span",21)(3,xo,2,0,"span",21)(4,Io,2,1,"span",21)(5,yo,2,0,"span",21)(6,wo,2,1,"span",21)(7,Mo,2,0,"span",21)(8,bo,2,1,"span",21),n(),r(9,"div",6)(10,"span")(11,"span"),p(12),n(),_(13,Po,2,0,"span",21)(14,Ao,2,1,"span",21)(15,Eo,2,0,"span",21)(16,Ro,2,1,"span",21)(17,To,2,0,"span",21)(18,Oo,3,3,"span",21)(19,ko,2,0,"span",21)(20,qo,2,1,"span",21)(21,Qo,2,0,"span",21)(22,No,2,1,"span",21),n()(),r(23,"div",6),_(24,Vo,3,3,"span",21),n(),_(25,Bo,5,1,"div",66),P(26,"div",25),n()),i&2){let e=c();s(2),m("ngIf",e.ShippingAddress.Street1),s(),m("ngIf",e.ShippingAddress.Street2),s(),m("ngIf",e.ShippingAddress.Street2),s(),m("ngIf",e.ShippingAddress.Street3),s(),m("ngIf",e.ShippingAddress.Street3),s(),m("ngIf",e.ShippingAddress.Street4),s(),m("ngIf",e.ShippingAddress.Street4),s(4),f(e.ShippingAddress.City),s(),m("ngIf",e.ShippingAddress.County&&e.ShippingAddress.State=="CA"),s(),m("ngIf",e.ShippingAddress.County&&e.ShippingAddress.State=="CA"),s(),m("ngIf",e.ShippingAddress.State),s(),m("ngIf",e.ShippingAddress.State),s(),m("ngIf",e.ShippingAddress.Province),s(),m("ngIf",e.ShippingAddress.Province),s(),m("ngIf",e.ShippingAddress.ZipPostalCode&&e.ShippingAddress.Country.toUpperCase()=="US"),s(),m("ngIf",e.ShippingAddress.ZipPostalCode&&e.ShippingAddress.Country.toUpperCase()=="US"),s(),m("ngIf",e.ShippingAddress.PostalCode&&e.ShippingAddress.Country.toUpperCase()!="US"),s(),m("ngIf",e.ShippingAddress.PostalCode&&e.ShippingAddress.Country.toUpperCase()!="US"),s(2),m("ngIf",e.ShippingAddress.Country),s(),m("ngIf",e.ShippingAddress&&e.ShippingAddress.PhoneNumber)}}function Lo(i,l){if(i&1&&(r(0,"div",22)(1,"div",23)(2,"div",24)(3,"h2",17),p(4,"Selected Shipping Method"),n()(),r(5,"div",65)(6,"div")(7,"span"),p(8,"Carrier:"),n(),p(9,"\xA0 "),r(10,"span"),p(11),n()(),r(12,"div")(13,"span"),p(14,"Service:"),n(),p(15,"\xA0 "),r(16,"span"),p(17),n()(),r(18,"div")(19,"span"),p(20,"Account Number:"),n(),p(21,"\xA0 "),r(22,"span"),p(23),x(24,"uppercase"),n()()()(),P(25,"div",25),n()),i&2){let e=c();s(11),f(e.shippingDetails.Carrier),s(6),f(e.shippingDetails.Service),s(6),f(I(24,3,e.shippingDetails.AccountNumber))}}var Vt=(()=>{let l=class l{constructor(a,t){d(this,"gtmService");d(this,"router");d(this,"ngUnsubscribe",new U);d(this,"FileHostUrl",F.FileHostUrl);d(this,"order");d(this,"IsUS");d(this,"quotation");d(this,"cart");d(this,"shippingMethod");d(this,"quotationModel");d(this,"orderInfo",new Ce);d(this,"accessCode",sessionStorage.getItem("AccessCode"));d(this,"orderType","");
1d(this,"GeneralNote","");d(this,"AlternateEmail","");d(this,"packagesCount",0);d(this,"countchar",235);d(this,"IsShippingMethod",!0);d(this,"shippingFee",!1);d(this,"shippingDetails");d(this,"ShippingAddress",new Ae);d(this,"salesRepresentativeData");d(this,"CCEmail","");d(this,"quoteWebId");this.gtmService=a,this.router=t}ngOnInit(){this.ShippingAddress=this.quotation.ContactInfo.Address,this.shippingDetails=this.shippingMethod,this.quoteWebId=sessionStorage.getItem("quoteWebId");let a={event:"quotation_events",eventCategory:"revisedquote_page",eventAction:"thank_you",eventLabel:this.router.url,quoteid:this.quoteWebId,transactionid:this.quoteWebId};this.gtmService.pushTag(a)}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete()}onPrint(){window.print()}errorHandle(a){a.target.src=this.FileHostUrl+"/images/thumb/NOIMAGE.JPG"}};d(l,"\u0275fac",function(t){return new(t||l)(A(Me),A(D))}),d(l,"\u0275cmp",N({type:l,selectors:[["app-revise-quote-receipt"]],inputs:{quotation:"quotation",cart:"cart",shippingMethod:"shippingMethod",quotationModel:"quotationModel"},decls:54,vars:18,consts:[[1,"container"],[1,"recrammainpanel"],[1,"printtopheaderpl1"],["width","900","alt","printericon",3,"src"],[1,"row","Thanksplm1"],[1,"Thanksv1"],[1,"row"],[1,"Congratulationspl1"],[1,"doNotPrint"],[1,"pageprintp1",3,"click"],["alt","printericon",1,"printericonpm1",3,"src"],["id","printArea",1,"col-md-12","printpageallp1"],[1,"row","m-t-10"],["class","col-lg-9 col-md-7 order-2 order-md-1 left_block_printing",4,"ngIf"],[1,"col-lg-3","col-md-5","order-1","order-md-2","right_block_printing"],[1,"orsummarypanelm1"],[1,"aOrderheadertext"],[1,"headingH2"],[1,"row","displayInlinePrinting"],[1,"orSubtotalpanelm1"],[1,"resummarypl1"],[4,"ngIf"],[1,"Shippanelct1","displayInlinePrinting"],[1,"row","Shiplp1"],[1,"col-md-12"],[1,"clear20"],[1,"shippingAddressSection","m-t-10"],["class","ShippingAddresspal1",4,"ngIf"],["class","Shippanelct1 displayInlinePrinting",4,"ngIf"],[1,"clear15"],[1,"col-lg-9","col-md-7","order-2","order-md-1","left_block_printing"],[1,"row","packagesCol"],[1,"col-md-3","col-4"],[1,"col-md-9","col-8","text-right"],[1,"packageTotalDiv"],["class","cart-package ptPackagemainpanel",4,"ngFor","ngForOf"],[1,"row","ptPackagemainpanel"],["class","col-md-12 GeneralNotesboxpanel",4,"ngIf"],[1,"m-b-15"],[1,"Generalcolour"],[1,"cart-package","ptPackagemainpanel"],[1,"row","ptPackageheaderpa1"],[1,"stpackagep1"],[1,"sttotalpakageview1"],[1,"row","ptPackageheaderpa2","desktopView"],[1,"table"],[1,"text-left"],[1,"text-right"],[1,"text-center"],[1,"text-right","totalBlock"],[4,"ngFor","ngForOf"],[1,"mobileView","mobileViewBorder"],[1,"ptItemimgpanelm1"],[1,"imgwidthitempl1",3,"error","src"],[1,"reptItemimgpanelm2"],[1,"ptItemtitletextb1"],[1,"reptDefinitiontextb1"],[1,"col-12","cartlistMobile","mobilePackageHeader"],[1,"col-12","p-5px"],[1,"configTable"],[1,"col-4","text-center"],[1,"cartlistMobile"],[1,"col-4","text-right","totalBlock"],[1,"col-md-12","GeneralN
1otesboxpanel"],[1,"subrighttextpanel"],[1,"ShippingAddresspal1"],["class","row",4,"ngIf"]],template:function(t,o){t&1&&(r(0,"div",0)(1,"div",1)(2,"div",2),P(3,"img",3),n(),r(4,"div",4)(5,"div",5),p(6,"Thanks for Your Quotation!"),n()(),r(7,"div",6)(8,"p",7),p(9,"Congratulations! Your quotation created successfully. IMPORTANT \u2013 Please make sure you receive an official confirmation of your quotation from FUTEK. "),n()(),r(10,"div",8)(11,"a",9),C("click",function(){return o.onPrint()}),P(12,"img",10),p(13," Print this page for your records. "),n()(),r(14,"div",11)(15,"div",12),_(16,go,19,7,"div",13),r(17,"div",14)(18,"div",15)(19,"div",6)(20,"div",16)(21,"h2",17),p(22,"Quotation Summary"),n()()(),r(23,"div",18)(24,"table",19)(25,"tr")(26,"td"),p(27,"Subtotal"),n(),r(28,"td",20),p(29),x(30,"currency"),n()(),_(31,uo,6,3,"tr",21)(32,fo,6,3,"tr",21)(33,_o,6,3,"tr",21)(34,Co,6,3,"tr",21)(35,So,6,3,"tr",21),r(36,"tr")(37,"td")(38,"h2",17),p(39,"Grand Total"),n()(),r(40,"td",20)(41,"h2",17),p(42),x(43,"currency"),n()()()()(),r(44,"div",22)(45,"div",23)(46,"div",24)(47,"h2",17),p(48,"Ship To"),n()()(),P(49,"div",25),r(50,"section",26),_(51,Uo,27,20,"div",27),n()(),_(52,Lo,26,5,"div",28),n(),P(53,"div",29),n()()()()()),t&2&&(s(3),Ne("src","",o.FileHostUrl,"/content/futek/images/cats/printheader.svg",q),s(9),Ne("src","",o.FileHostUrl,"/content/futek/images/home/printer-icon.png",q),s(4),m("ngIf",o.cart),s(13),f(I(30,14,o.cart.SubTotal)),s(2),m("ngIf",o.cart.TotalDiscount>0),s(),m("ngIf",o.cart.Tax>0),s(),m("ngIf",o.IsShippingMethod&&o.cart.ShippingCharge>0),s(),m("ngIf",o.IsShippingMethod&&o.cart.HandlingCharge>0),s(),m("ngIf",o.IsShippingMethod&&o.cart.InsuranceCharge>0),s(7),f(I(43,16,o.cart.GrandTotalRecal)),s(9),m("ngIf",o.ShippingAddress),s(),m("ngIf",o.shippingDetails&&o.shippingDetails.AccountNumber))},dependencies:[Z,V,G,j],styles:["@page{size:A4 landscape;margin:10mm 0 15mm}@media print{body[_ngcontent-%COMP%]{-webkit-print-color-adjust:exact}}@page{size:A4 landscape;margin:0;-webkit-print-color-adjust:exact}@media print{.packageTotalDiv[_ngcontent-%COMP%]{position:relative;left:-10px}.Thanksplm1[_ngcontent-%COMP%]{position:relative;left:-15px}.ptPackagemainpanel[_ngcontent-%COMP%]{page-break-before:auto}.displayInlinePrinting[_ngcontent-%COMP%]{display:inline;width:100%;padding-left:5px}.Shippanelct1[_ngcontent-%COMP%]{border:none}.ShippingAddresspal1[_ngcontent-%COMP%], .BillShiplp1[_ngcontent-%COMP%], .Shiplp1[_ngcontent-%COMP%]{padding-left:5px}h2.headingH2[_ngcontent-%COMP%]{font-size:15px!important}.Shiplp1[_ngcontent-%COMP%]{border-top:1px dotted #ccc}#printArea[_ngcontent-%COMP%]{width:100%}.left_block_printing[_ngcontent-%COMP%]{flex:0 0 68.5%;width:68.5%;max-width:68.5%}.right_block_printing[_ngcontent-%COMP%]{flex:0 0 25%;width:25%;max-width:25%}.BillShiplp1[_ngcontent-%COMP%]{border-top:1px dotted #ccc;padding-top:210px}.Thanksvb1[_ngcontent-%COMP%]{width:95%}.doNotPrint[_ngcontent-%COMP%]{display:none}.receiptlogo1[_ngcontent-%COMP%]{display:block}.Congratulationspl1[_ngcontent-%COMP%]{display:none}.ptPackageheaderpa1[_ngcontent-%COMP%]{background:#cccccc69!important}.aOrderheadertext[_ngcontent-%COMP%]{background:#757575!important;font-size:10pt}.tottalplm1[_ngcontent-%COMP%]{width:100%;padding-top:10px;margin-bottom:20px}.scrollWrapper[_ngcontent-%COMP%]{overflow:auto;height:100%;min-height:100%}.imgwidthitempl1[_ngcontent-%COMP%]{page-break-inside:avoid}#printheaderp1[_ngcontent-%COMP%]{display:none}.chekexamplemainpanel[_ngcontent-%COMP%]{margin-top:0}.Definitiontextb1[_ngcontent-%COMP%]{display:inline}.ptpriceqty1[_ngcontent-%COMP%]{padding-top:6px;display:inline}.printericonpm1[_ngcontent-%COMP%], .mat-horizontal-stepper-header-container[_ngcontent-%COMP%]{display:none}.ptItemtitletextb1[_ngcontent-%COMP%]{color:#000;font-weight:600;padding-top:5px;float:left}#cloak[_ngcontent-%COMP%], .no-print[_ngcontent-%COMP%]{display:none!important}.header-box-content[_ngcontent-%COMP%], .breadcrumb1[_ngcontent-%COMP%], #ctl00_UpdatePanel2[_ngcontent-%COMP%], #create-account[_ngcontent-%COMP%]{display:none}.payementdetails[_ngcontent-%COMP%]{font-family:Nunito Sans,sans-serif;font-weight:400;font-size:12pt}.print-receipt[_ngcontent-%COMP%], .print-hide[_ngcontent-%COMP%]{display:none}#printArea[_ngcontent-%COMP%]{display:block!important;width:100%}.navbar[_ngcontent-%COMP%], .visible-xs[_ngcontent-%COMP%], #mobile-nav[_ngcontent-%COMP%]{display:none!important}.supercontainer[_ngcontent-%COMP%] > .container[_ngcontent-%COMP%] > .row[_ngcontent-%COMP%]:first-child, .supercontainer[_ngcontent-%COMP%] > .container[_ngcontent-%COMP%] > .row[_ngcontent-%COMP%]:nth-child(2), footer[_ngcontent-%COMP%]{display:none!important}}.ptpriceqty1[_ngcontent-%COMP%]{padding-top:6px}.Paymentpackagep1[_ngcontent-%COMP%]{width:100%}.Paymentpli1[_ngcontent-%COMP%]{margin-bottom:7px;color:#cf102d;font-weight:600}.bankCreditnamet1[_ngcontent-%COMP%]{width:100%;font-size:10pt;height:23px;color:#272626;font-family:Nunito Sans,sans-serif;font-weight:400;margin-top:8px}.aAccounttextb1[_ngcontent-%COMP%]{font-size:9pt}.Cardnamepl1[_ngcontent-%COMP%]{font-weight:700}.paymentpanelmre1[_ngcontent-%COMP%]{font-family:Nunito Sans,sans-serif;font-weight:400;font-size:10pt;width:100%;line-height:24px}.Creditnamet1[_ngcontent-%COMP%]{width:100%;font-size:12pt;height:27px;color:#272626;font-family:Nunito Sans,sans-serif;font-weight:400}.Wellsheaderpl1[_ngcontent-%COMP%]{width:100%;font-family:Nunito Sans,sans-serif;font-size:13px}.recrammainpanel[_ngcontent-%COMP%]{border-top:1px dotted #ccc;padding:16px 0;margin:-15px!important}.Thanksv1[_ngcontent-%COMP%]{text-align:center;font-family:Nunito Sans,sans-serif;font-size:14pt;font-weight:400;width:100%;margin-top:0}.Congratulationspl1[_ngcontent-%COMP%]{font-family:Nunito Sans,sans-serif;font-size:11pt;text-align:center;width:95%;margin-top:9px;margin-left:auto;margin-right:auto}.ptPackagemainpanel[_ngcontent-%COMP%]{width:95%;margin-top:10px}.ptPackageheaderpa1[_ngcontent-%COMP%]{background:#cccccc69!important;padding:10px;font-family:Nunito Sans,sans-serif;font-weight:400;font-size:12pt;border:1px solid #cccccca1;border-bottom:0px}.pl_pr_zero[_ngcontent-%COMP%]{padding-right:0;padding-left:0}.ptItemtitletextb1[_ngcontent-%COMP%]{color:#000;font-weight:600}.ptPackageheaderpa2[_ngcontent-%COMP%]{padding:10px;font-family:Nunito Sans,sans-serif;font-weight:400;font-size:14px;border:1px solid #ccc;margin-bottom:30px;overflow-y:hidden;overflow-x:auto}.ptItemimgpanelm1[_ngcontent-%COMP%]{float:left}.ptItemimgpanelm2[_ngcontent-%COMP%]{text-align:left;font-size:14px}.packageTotalDiv[_ngcontent-%COMP%]{padding-right:10px!important}table.orSubtotalpanelm1[_ngcontent-%COMP%]{border-collapse:collapse;width:100%;font-family:Nunito Sans,sans-serif;font-weight:400;font-size:14px}table.orSubtotalpanelm1[_ngcontent-%COMP%]   th[_ngcontent-%COMP%], table.orSubtotalpanelm1[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{text-align:left;padding:5px}.table[_ngcontent-%COMP%]   .totalBlock[_ngcontent-%COMP%]{padding-right:5px!important}.ptRepairheadertext[_ngcontent-%COMP%]{font-weight:400;font-family:Nunito Sans,sans-serif;letter-spacing:.02em;font-size:12pt;margin:0 0 12px}.Shippanelct1[_ngcontent-%COMP%]{padding:10px 5px;font-family:Nunito Sans,sans-serif;font-weight:400;font-size:12pt;line-height:25px}.Shiplp1[_ngcontent-%COMP%]{padding-top:10px;border-top:1px solid #ccc}.BillShiplp1[_ngcontent-%COMP%]{border-top:1px solid #ccc;padding-top:10px}.Shiptextb1[_ngcontent-%COMP%]{line-height:38px}.ShippingAddresspal1[_ngcontent-%COMP%]{font-size:14px}.ptsummarypanelm1[_ngcontent-%COMP%]{border:1px solid #ccc;padding:0;font-family:Nunito Sans,sans-serif}.orsummarypanelm1[_ngcontent-%COMP%]{border:1px solid #cccccc;padding:0;font-family:Nunito Sans,sans-serif}.aOrderheadertext[_ngcontent-%COMP%]{background:#757575;padding:7px;color:#fff;width:100%;font-size:14px}.row[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin-right:0;margin-left:0}
1.col-md-8[_ngcontent-%COMP%], .col-md-9.col-md-6[_ngcontent-%COMP%], .col-md-5[_ngcontent-%COMP%], .col-md-4[_ngcontent-%COMP%], .col-md-12[_ngcontent-%COMP%]{padding-right:0;padding-left:0;width:100%}.Changebtn[_ngcontent-%COMP%]{border:1px solid #a9a9a9;background-color:#fff;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJod\\2026IwIiB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgZmlsbD0idXJsKCNoYXQwKSIgLz4KPC9zdmc+);background-image:-webkit-linear-gradient(bottom,rgba(1,1,1,.22) 0%,rgba(255,255,255,.43) 100%);margin:0 0 15px;color:#444;padding:4px;cursor:pointer;width:98px;border-radius:0;font-size:14px;font-family:Nunito Sans,sans-serif;font-weight:700}.orSubtotalpa1[_ngcontent-%COMP%]{text-align:right;font-family:Nunito Sans,sans-serif;font-weight:400;font-size:12pt}.tottalplm1[_ngcontent-%COMP%]{width:100%;margin-bottom:25px;font-size:14px}.tottalplm1[_ngcontent-%COMP%]   .col-1[_ngcontent-%COMP%]{font-size:9pt}.tottalplm1[_ngcontent-%COMP%]   .col-1.qty[_ngcontent-%COMP%], .qty[_ngcontent-%COMP%]{padding-left:20px}.Packagelp1[_ngcontent-%COMP%]{text-align:right;width:94%;margin-bottom:5px}.doNotPrint[_ngcontent-%COMP%]{height:67px;border-bottom:1px dotted #ccc;margin-bottom:33px;padding-top:15px;text-align:center;border-top:1px dotted #ccc}.pageprintp1[_ngcontent-%COMP%]{color:#147acc!important;cursor:pointer!important;font-family:Nunito Sans,sans-serif}.printericonpm1[_ngcontent-%COMP%]{margin-right:15px}.Systemorpl2[_ngcontent-%COMP%]{margin-top:10px;float:left;width:100%;border-top:1px solid #ccc;padding-top:6px}.Systemorpl1[_ngcontent-%COMP%]{color:#ca0000}.m-b-15[_ngcontent-%COMP%]{margin-bottom:15px}.GeneralNotesboxpanel[_ngcontent-%COMP%]{font-size:11pt;width:100%;padding:7px 1px;font-family:Nunito Sans,sans-serif;border-bottom:1px dotted #ccc;margin-bottom:12px}.Generalcolour[_ngcontent-%COMP%]{color:#147acc}.imgwidthitempl1[_ngcontent-%COMP%]{width:75px;height:54px;margin:6px 1px;border:1px solid #ccc}.resubrighttextpanel[_ngcontent-%COMP%], .resummarypl1[_ngcontent-%COMP%]{text-align:right!important}.Definitiontextb1[_ngcontent-%COMP%]{font-size:9pt;text-align:left;width:70%;float:left}@page :first{margin-top:1cm}@page :left{margin-left:0}@page :right{margin-left:0}@page{size:A4 landscape!important;margin:10mm 0}@media print{.Congratulationspl1[_ngcontent-%COMP%]{font-family:Nunito Sans,sans-serif;font-size:10pt;text-align:center;width:75%;margin-top:9px;margin-left:auto;margin-right:auto}.Definitiontextb1[_ngcontent-%COMP%]{font-size:8px;width:75%}}@media (min-width:320px) and (max-width:680px){.totalBlock[_ngcontent-%COMP%]{padding-right:14px}.ptPackagemainpanel[_ngcontent-%COMP%]{width:100%}.packageTotalDiv[_ngcontent-%COMP%]{padding-right:0!important}.Packagelp1[_ngcontent-%COMP%]{text-align:left}.tottalplm1[_ngcontent-%COMP%]{width:100%;margin-bottom:25px;font-size:10pt;border-bottom:1px dotted #cccc}.Definitiontextb1[_ngcontent-%COMP%]{font-size:9pt;text-align:left!important;width:60%!important;float:left;margin-bottom:14px}.doNotPrint[_ngcontent-%COMP%]{height:67px;border-bottom:1px dotted #ccc;margin-bottom:33px;padding-top:16px;text-align:center;border-top:1px dotted #ccc;line-height:3px}.wid-70[_ngcontent-%COMP%], .wid-10[_ngcontent-%COMP%]{max-width:100%}}.wid-70[_ngcontent-%COMP%]{max-width:70%}.wid-10[_ngcontent-%COMP%]{max-width:10%}@media (min-width:680px) and (max-width:1023px){.packageTotalDiv[_ngcontent-%COMP%]{padding-right:3px!important}.totalBlock[_ngcontent-%COMP%]{padding-right:12px!important}}"]}));let i=l;return i})();var Fo=["stepper"];function Wo(i,l){i&1&&(r(0,"mat-icon"),p(1,"done"),n())}function zo(i,l){i&1&&(r(0,"span",12),p(1,"Login"),n())}function Ho(i,l){if(i&1){let e=y();r(0,"app-revise-quote-login",13),C("guestClicked",function(t){g(e);let o=c();return u(o.goForward(t))}),n()}}function Zo(i,l){i&1&&(r(0,"span",12),p(1,"Contact Information"),n())}function Go(i,l){i&1&&(r(0,"span",12),p(1,"Review"),n())}function jo(i,l){if(i&1){let e=y();r(0,"app-revise-quote-review",14),C("reviewForwardClicked",function(t){g(e);let o=c();return u(o.goForward(t))})("reviewBackClicked",function(t){g(e);let o=c();return u(o.goBack(t))}),n()}if(i&2){let e=c();m("cart",e.cart)("quotation",e.quotation)}}function Ko(i,l){i&1&&(r(0,"span",12),p(1,"Receipt"),n())}function Jo(i,l){if(i&1&&P(0,"app-revise-quote-receipt",15),i&2){let e=c();m("cart",e.cart)("quotation",e.quotation)("quotationModel",e.quotationModel)}}var Bt=(()=>{let l=class l{constructor(a,t,o,h,S){d(this,"_snackBar");d(this,"gtmService");d(this,"router");d(this,"_cartService");d(this,"stepper");
1d(this,"quotationDetailsCompleted",!1);d(this,"isLinear",!1);d(this,"reviewCompleted",!1);d(this,"registeredUserModel","");d(this,"ngUnsubscribe",new U);d(this,"isUserLoggedIn",!1);d(this,"quotation",new se);d(this,"quotationModel",new Pt);d(this,"companyInfo",new Mt);d(this,"editable",!0);d(this,"cart");d(this,"AccessCode");d(this,"TermsAccepted",!1);d(this,"quotationCreated",!1);d(this,"snackbar");d(this,"disablePlaceOrder",!1);d(this,"isBackButtonPressed",!1);d(this,"loginPanelCompleted",!1);d(this,"userName");d(this,"receiptCompleted",!1);d(this,"isStepperEnable",!1);d(this,"reviseQuoteContactInformationComponent");d(this,"reviseQuoteReviewComponent");d(this,"reviseQuotecheckoutLoginComponent");d(this,"quoteWebId");this._snackBar=a,this.gtmService=t,this.router=o,this._cartService=h,S.onPopState(()=>{this.isBackButtonPressed=!0})}ngAfterViewInit(){this.quoteWebId=sessionStorage.getItem("quoteWebId"),this.isStepperEnable=!0,localStorage.getItem("token")?(this.isLinear=!0,this.stepper.selectedIndex=1,this.isUserLoggedIn=!0,this.loginPanelCompleted=!0):(this.isLinear=!0,this.stepper.selectedIndex=0,this.isUserLoggedIn=!1)}goBack(){let a=document.getElementById("scrollWrapper");if(a&&setTimeout(function(){a.scrollTop=0},200),this.stepper.selectedIndex==0&&(this.loginPanelCompleted=!1,this.reviseQuotecheckoutLoginComponent.emailVerificationPanel=!0,this.reviseQuotecheckoutLoginComponent.openLoginPanel=!1,this.reviseQuotecheckoutLoginComponent.openOTPPanel=!1,this.quotationDetailsCompleted=!1,this.reviseQuotecheckoutLoginComponent.Password="",this.reviseQuotecheckoutLoginComponent.OTP="",this.reviewCompleted=!1),this.stepper.selectedIndex==1){this.loginPanelCompleted=!0,this.quotationDetailsCompleted=!1,this.reviewCompleted=!1;let t={event:"quotation_events",eventCategory:"revisedquote_page",eventAction:"review_back",eventLabel:this.router.url,quoteid:this.quoteWebId};this.gtmService.pushTag(t)}}goForward(){let a=document.getElementById("scrollWrapper");if(a&&setTimeout(function(){a.scrollTop=0},200),this.stepper.selectedIndex===0)this.userName=this.reviseQuotecheckoutLoginComponent.UserName,this.loginPanelCompleted=!0,this.stepper.selected.completed=!0,this.stepper.selectedIndex=1;else if(this.stepper.selectedIndex==1)if(this.reviseQuoteContactInformationComponent.qutationForm.valid&&!this.reviseQuoteContactInformationComponent.address1POBoxError&&!this.reviseQuoteContactInformationComponent.address2POBoxError&&!this.reviseQuoteContactInformationComponent.companyAlreadyExists&&!this.reviseQuoteContactInformationComponent.zipError&&this.reviseQuoteContactInformationComponent.isAddressVisible&&!this.reviseQuoteContactInformationComponent.filevalidate){this.cart=this.reviseQuoteContactInformationComponent.cart,this.AccessCode=sessionStorage.getItem("RevisedQuoteCart"),this.quotation=this.reviseQuoteContactInformationComponent.quotation,this.quotationDetailsCompleted=!0,this.stepper.selected.completed=!0,this.stepper.selectedIndex=2;let t={event:"quotation_events",eventCategory:"revisedquote_page",eventAction:"contact_information_next",eventLabel:this.router.url,quoteid:this.quoteWebId};this.gtmService.pushTag(t)}else{if(this.quotationDetailsCompleted=!1,this.stepper.selected.completed=!1,this.stepper.selectedIndex=1,!this.reviseQuoteContactInformationComponent.quotation.ContactInfo.Phone||this.reviseQuoteContactInformationComponent.quotation.ContactInfo.Phone==""?this.reviseQuoteContactInformationComponent.PhoneNumberError=!0:this.reviseQuoteContactInformationComponent.quotation.ContactInfo.Phone.length<8&&(this.reviseQuoteContactInformationComponent.PhoneNumberFormatError=!0),!this.reviseQuoteContactInformationComponent.isAddressVisible){this.reviseQuoteContactInformationComponent.searchElementRef.nativeElement.focus(),this.snackbar=new ye(this._snackBar),this.snackbar.openSnackBar("Please fill address form or enter required fileds.","close");return}this.snackbar=new ye(this._snackBar),this.snackbar.openSnackBar("Please select all the required fields.","close")}else if(this.stepper.selectedIndex==2)if(this.reviseQuoteReviewComponent.cart.TermsAccepted&&this.reviseQuoteReviewComponent.ccemailform.valid){let t={event:"quotation_events",eventCategory:"revisedquote_page",eventAction:"review_update_quote",eventLabel:this.router.url,quoteid:this.quoteWebId};this.gtmService.pushTag(t),this.quotation=this.reviseQuoteContactInformationComponent.quotation,this.quotationModel.ShipTO=this.quotation.ContactInfo.Address.Id,this.quotationModel.BillTo=this.quotation.BillTo,this.quotationModel.ContactInfo.Address=this.quotation.ContactInfo.Address,this.quotationModel.AccessCode=this.AccessCode,this.quotationModel.ShippingIsInsured=this.reviseQuoteContactInformationComponent.ShippingInfo.Options.Insure,this.quotationModel.CartId=this.quotation.cart.Id,this.quotationModel.ContactInfo.Company.Name=this.quotation.ContactInfo.Company.Name,this.quotationModel.ContactInfo.Company.ReferredBy=this.quotation.ContactInfo.Company.Industry,this.quotationModel.ContactInfo.Company.Industry=this.reviseQuoteContactInformationComponent.IndustryTypeName,this.quotationModel.ContactInfo.Company.IndustryTypeOther=this.quotation.ContactInfo.Company.IndustryTypeOther,this.quotationModel.ContactInfo.Company.IsRepresntativeAccount=this.quotation.ContactInfo.Company.IsRepresntativeAccount,this.quotationModel.ContactInfo.Company.ReferredByOther=this.quotation.ContactInfo.Company.ReferredByOther,this.quotationModel.ContactInfo.Title=this.quotation.ContactInfo.Title,this.quotationModel.WebId=this.reviseQuoteContactInformationComponent.quotation.WebId,this.quotationModel.ContactInfo.FirstName=this.quotation.ContactInfo.FirstName,this.quotationModel.ContactInfo.LastName=this.quotation.ContactInfo.LastName,this.quotationModel.ContactInfo.Email=this.quotation.ContactInfo.Email,this.quotationModel.ContactInfo.Phone=this.quotation.ContactInfo.Phone,this.quotationModel.ContactInfo.InformationSource=this.quotation.ContactInfo.InformationSource,this.quotationModel.ContactInfo.InformationSourceOther=this.quotation.ContactInfo.InformationSourceOther,this.quotationModel.ContactInfo.Department=this.quotation.ContactInfo.Department,this.quotationModel.ContactInfo.Ext=this.quotation.ContactInfo.Ext,this.quotationModel.ContactInfo.IsExistingUser=this.quotation.ContactInfo.IsExistingUser,this.quotationModel.InsureCost=this.quotation.cart.InsuranceCharge,this.quotationModel.ShippingCost=this.quotation.cart.ShippingCharge,this.quotationModel.HandlingCharge=this.quotation.cart.HandlingCharge,this.quotationModel.Tax=this.quotation.cart.Tax,this.quotationModel.IsForResale=this.reviseQuoteContactInformationComponent.ShippingInfo.IsForResale,this.quotationModel.RsLinkToFiles=this.reviseQuoteContactInformationComponent.RSLinkToFiles,this.quotationModel.ResaleNo=this.reviseQuoteContactInformationComponent.ShippingInfo.ResaleNumber,this.quotationModel.shippingInfo.Carrier=this.reviseQuoteContactInformationComponent.ShippingInfo.Carrier,this.quotationModel.shippingInfo.SelectedShippingMethod=this.reviseQuoteContactInformationComponent.ShippingInfo.SelectedShippingMethod,this.quotationModel.shippingInfo.Service=this.reviseQuoteContactInformationComponent.ShippingInfo.Service,this.quotationModel.shippingInfo.AccountNumber=this.reviseQuoteContactInformationComponent.ShippingInfo.AccountNumber,this.quotationModel.TotalCost=this.cart.GrandTotal,this.quotationModel.GeneralN
1ote=this.reviseQuoteReviewComponent.GeneralNote,this.quotationModel.AlaternateEmail=this.reviseQuoteReviewComponent.AlternateEmail,this.reviseQuoteReviewComponent.disablePlaceQuote=!0,this.quotationModel.CCEmail=this.reviseQuoteReviewComponent.CCEmail,this._cartService.reviseQuote(this.quotationModel).subscribe(o=>{this.reviewCompleted=!0,this.stepper.selected.completed=!0,this.stepper.selectedIndex=3,this.editable=!1,sessionStorage.removeItem("RevisedQuoteCart"),sessionStorage.removeItem("userData"),this.onActivate()},o=>{this.reviseQuoteReviewComponent.disablePlaceQuote=!1,this.snackbar=new ye(this._snackBar),this.snackbar.openSnackBar("Something went wrong. please try again after some time.","close")})}else this.reviseQuoteReviewComponent.ccemailform.valid?alert("Please accept terms and conditions."):alert("Please enter valid additional email.")}onActivate(){window.scrollTo(0,0)}};d(l,"\u0275fac",function(t){return new(t||l)(A(pt),A(Me),A(D),A(be),A(Ge))}),d(l,"\u0275cmp",N({type:l,selectors:[["app-revise-quote-checkout"]],viewQuery:function(t,o){if(t&1&&(T(Fo,5),T(Oe,5),T(qe,5),T(ke,5)),t&2){let h;O(h=k())&&(o.stepper=h.first),O(h=k())&&(o.reviseQuoteContactInformationComponent=h.first),O(h=k())&&(o.reviseQuoteReviewComponent=h.first),O(h=k())&&(o.reviseQuotecheckoutLoginComponent=h.first)}},decls:17,vars:10,consts:[["stepper",""],[1,"container"],[1,"chekexamplemainpanel"],[3,"linear","hidden"],["matStepperIcon","edit"],[3,"editable","completed"],["matStepLabel",""],[3,"guestClicked",4,"ngIf"],[3,"completed"],[3,"shippingForwardClicked","shippingBackClicked"],[3,"cart","quotation","reviewForwardClicked","reviewBackClicked",4,"ngIf"],[3,"cart","quotation","quotationModel",4,"ngIf"],[1,"desktopView"],[3,"guestClicked"],[3,"reviewForwardClicked","reviewBackClicked","cart","quotation"],[3,"cart","quotation","quotationModel"]],template:function(t,o){if(t&1){let h=y();r(0,"div",1)(1,"div",2)(2,"mat-horizontal-stepper",3,0),_(4,Wo,2,0,"ng-template",4),r(5,"mat-step",5),_(6,zo,2,0,"ng-template",6)(7,Ho,1,0,"app-revise-quote-login",7),n(),r(8,"mat-step",8),_(9,Zo,2,0,"ng-template",6),r(10,"app-revise-quote-contact-information",9),C("shippingForwardClicked",function(){return g(h),u(o.goForward())})("shippingBackClicked",function(){return g(h),u(o.goBack())}),n()(),r(11,"mat-step",8),_(12,Go,2,0,"ng-template",6)(13,jo,1,2,"app-revise-quote-review",10),n(),r(14,"mat-step",8),_(15,Ko,2,0,"ng-template",6)(16,Jo,1,3,"app-revise-quote-receipt",11),n()()()()}t&2&&(s(2),m("linear",o.isLinear)("hidden",!o.isStepperEnable),s(3),m("editable",o.editable)("completed",o.loginPanelCompleted),s(2),m("ngIf",!o.isUserLoggedIn),s(),m("completed",o.quotationDetailsCompleted),s(3),m("completed",o.reviewCompleted),s(2),m("ngIf",o.cart&&o.quotation&&o.quotationDetailsCompleted),s(),m("completed",o.receiptCompleted),s(2),m("ngIf",o.cart&&o.quotation&&o.reviewCompleted))},dependencies:[V,Ct,ft,St,_t,xe,ke,Oe,Vt,qe],styles:[".Checkbtnp1[_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-size:11pt;border-radius:0;font-weight:700}  .mat-horizontal-content-container{padding-bottom:0!important}.stRemembepanelm1[_ngcontent-%COMP%]{border-top:1px dotted #ccc;padding:16px 0}.Proceedtxtv1[_ngcontent-%COMP%]{width:100%;font-size:12pt;height:37px;color:#272626;font-family:Nunito Sans,sans-serif;font-weight:700}.registeredtxv1[_ngcontent-%COMP%]{width:100%;font-size:11pt;height:72px;color:#272626;font-family:Nunito Sans,sans-serif;font-weight:700}.wanttextv1[_ngcontent-%COMP%]{font-family:Nunito Sans,sans-serif;font-size:12pt;text-align:center;padding-bottom:20px}.cartraFaqpopuppanel[_ngcontent-%COMP%]{width:700px;background:#fff;margin-left:auto;margin-right:auto;padding:15px;border-radius:5px;height:228px;overflow:auto;margin-top:60px}.chekexamplemainpanel[_ngcontent-%COMP%]{margin-top:50px!important}.altEmailBlock[_ngcontent-%COMP%]{width:99%}@media (min-width: 320px) and (max-width: 680px){.mat-horizontal-stepper-header-container[_ngcontent-%COMP%]{white-space:nowrap;display:contents!important;align-items:center}.mat-horizontal-stepper-header-container[_ngcontent-%COMP%]{white-space:nowrap;display:list-item;align-items:center}.chekexamplemainpanel[_ngcontent-%COMP%]{margin-top:0!important}}@media (min-width: 680px) and (max-width: 1024px){.mat-stepper-horizontal-line[_ngcontent-%COMP%]{margin:0 -37px}.mat-step-header[_ngcontent-%COMP%]   .mat-step-label.mat-step-label-active[_ngcontent-%COMP%]{color:#000000de;font-size:9pt}}@media (min-width: 768px) and (max-width: 1024px){.mat-step-label[_ngcontent-%COMP%]{font-size:8pt}}@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait){.rammainpanel[_ngcontent-%COMP%]{margin-top:0}.outlinepanelk1[_ngcontent-%COMP%]{margin-left:19px}.btnquickAdd[_ngcontent-%COMP%]{margin-left:-22px}.mat-step-label[_ngcontent-%COMP%]{font-size:8pt}}"]}));let i=l;return i})();var Yo=[{path:"",component:Bt,canDeactivate:Xe([Re])}],Ut=(()=>{let l=class l{};d(l,"\u0275fac",function(t){return new(t||l)}),d(l,"\u0275mod",de({type:l})),d(l,"\u0275inj",pe({imports:[Ve.forChild(Yo),Ve]}));let i=l;return i})();var ya=(()=>{let l=class l{};d(l,"\u0275fac",function(t){return new(t||l)}),d(l,"\u0275mod",de({type:l})),d(l,"\u0275inj",pe({providers:[Re],imports:[je,yt,Ut]}));let i=l;return i})();export{ya as ReviseQuoteCheckoutModule};

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.