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BAAkBC,IAAI,aAAaQ,MAAc,KAAO3B,KAAKkB,kBAAkBC,IAAI,aAAaQ,MAC/GC,KAAoB,aAAd5B,KAAKgB,KAAsB,WAAa,aAE7Ca,UAAU,CACTC,KAAM,IAAM9B,KAAKH,OAAOkC,cAAc,4BACtCC,MAAQ,KACNhC,KAAKiC,cAAe,EACpBjC,KAAKyB,YAAa,KAG1B,CAEAS,QACElC,KAAKD,MAAMoC,SAASC,gBACtB,EA3DW1C,SAAe,oCAAfA,GAAe2C,kDAAf3C,EAAe,sBAAfA,EAAe4C,q+CFhB5BhD,iBACEA,iCACEA,mCACEA,qCACEA,qCACEA,wCACEA,6CACFA,iCACFA,+BACAA,uCACEA,wCAAIA,UAA0BA,QAChCA,+BACFA,6BACAA,8CAaAA,yCACEA,4CAAgCA,gCAASiD,OAAK,UAAU,GAAEjD,oBAAOA,QACjEA,4CAAgCA,gCAASiD,OAAK,WAAW,GAAEjD,qBAAQA,QACrEA,6BAEAA,0CACEA,mDAqFFA,6BACFA,2BACFA,yBACFA,8BA9GcA,8CAGFA,8BAamBA,gCAKnBA,gDACyBA,qqEEhBxBI,CAAe,KDPxB8C,MAAO,WAQJ,IAAMC,EAAmB,MAA1B,MAAOA,YAAmB,oCAAnBA,EAAmB,EAAnBA,EAAmB,sBAAnBA,MAAmB,0BAHpBC,cAAsBnD,GACtBmD,QAECD,CAAmB,KEwBnBE,EAAY,MAAnB,MAAOA,YAAY,oCAAZA,EAAY,EAAZA,EAAY,sBAAZA,MAAY,2BALZ,CACTC,KACAC,MACDC,SAhBCC,KACAC,KACAC,KACAC,KACAT,EACAU,KACAC,KACAC,KACAC,IACAC,KACAC,KACAC,QAOSd,CAAY","names":["i0","routes","path","component","SignupComponent","constructor","contactService","router","locationService","store","this","FormGroup","firstName","FormControl","Validators","lastName","contactEmail","contactPhone","companyName","jobTitle","country","services","SERVICES","CONTACT_FORM_VALIDATION_MSGS","getCountries","pick","mode","switchMode","signupContactForm","get","addValidators","clearValidators","updateValueAndValidity","onSubmit","valid","isDisabled","submit","value","type","subscribe","next","navigateByUrl","error","submitFailed","login","dispatch","AuthActions","core","selectors","ctx","title","SignupRoutingModule","RouterModule","SignupModule","LocationsService","ContactService","imports","CommonModule","FormsModule","ReactiveFormsModule","A11yModule","MatRadioModule","MatFormFieldModule","MatSelectModule","MatInputModule","MatSidenavModule","MatButtonModule","MatIconModule"],"sourceRoot":"webpack:///","sources":["./src/app/signup/components/signup/signup.component.html","./src/app/signup/signup-routing.module.ts","./src/app/signup/components/signup/signup.component.ts","./src/app/signup/signup.module.ts"],"sourcesContent":["
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \"go-back\r\n \r\n
\r\n
\r\n

get access as a {{ mode }}

\r\n
\r\n
\r\n
\r\n
\r\n

wait, I need access as a\r\n {{switchMode}}\r\n

\r\n
\r\n
\r\n

If you received a kick off email from Dot to Dot, go to the login\r\n here\r\n

\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n first name\r\n \r\n {{\r\n validationMessages.firstName}}\r\n \r\n\r\n \r\n last name\r\n \r\n {{ validationMessages.lastName\r\n }}\r\n \r\n\r\n \r\n contact email\r\n \r\n {{ validationMessages.contactEmail }}\r\n \r\n\r\n \r\n contact phone\r\n \r\n {{ validationMessages.contactPhone }}\r\n \r\n\r\n \r\n company name\r\n \r\n {{ validationMessages.companyName }}\r\n \r\n\r\n \r\n job title\r\n \r\n {{ validationMessages.jobTitle }}\r\n \r\n\r\n \r\n country\r\n \r\n \r\n {{ c.country }}\r\n \r\n \r\n {{ validationMessages.country }}\r\n \r\n\r\n \r\n services provided\r\n \r\n services i'm interested in\r\n \r\n \r\n \r\n {{ s }}\r\n \r\n \r\n {{ validationMessages.service }}\r\n \r\n\r\n
\r\n \r\n An error occurred while submitting the form. Please try again later.\r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n

\r\n By requesting access, you understand and agree that you are providing your personal information to KPMG LLP,\r\n the U.S. member firm of the KPMG global organization\r\n of independent member firms affiliated with KPMG International Limited. You further understand and agree\r\n that KPMG LLP may process your\r\n personal information pursuant to KPMG LLP’s Privacy Statement and that you may be contacted\r\n regarding KPMG LLP’s services.\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
","import { NgModule } from '@angular/core';\r\nimport { RouterModule, Routes } from '@angular/router';\r\n\r\nimport { SignupComponent } from './components/signup/signup.component';\r\n\r\nconst routes: Routes = [\r\n {\r\n path: '**',\r\n component: SignupComponent,\r\n title: 'Signup'\r\n }\r\n]\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class SignupRoutingModule { }\r\n","import { Component } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { FormControl, FormGroup, Validators } from '@angular/forms';\r\nimport { SERVICES } from '@shared';\r\nimport { CONTACT_FORM_VALIDATION_MSGS } from '../../../public/constants';\r\nimport { ContactService, LocationsService } from '../../..//public/services';\r\nimport { AuthActions, RootState } from '@core';\r\nimport { Store } from '@ngrx/store';\r\n\r\n\r\n\r\n@Component({\r\n selector: 'maas-signup',\r\n templateUrl: './signup.component.html',\r\n styleUrls: ['./signup.component.scss']\r\n})\r\nexport class SignupComponent {\r\n signupContactForm = new FormGroup({\r\n firstName: new FormControl('', [Validators.required, Validators.minLength(2), Validators.maxLength(50)]),\r\n lastName: new FormControl('', [Validators.required, Validators.minLength(2), Validators.maxLength(50)]),\r\n contactEmail: new FormControl('', [Validators.required, Validators.email]),\r\n contactPhone: new FormControl('', [Validators.required, Validators.minLength(10), Validators.maxLength(20)]),\r\n companyName: new FormControl('', [Validators.required, Validators.minLength(2), Validators.maxLength(100)]),\r\n jobTitle: new FormControl('', [Validators.required, Validators.minLength(2), Validators.maxLength(50)]),\r\n country: new FormControl('', Validators.required),\r\n services: new FormControl('', Validators.required),\r\n });\r\n\r\n mode = '';\r\n switchMode = '';\r\n\r\n submitFailed = false;\r\n btnDisabled = false;\r\n isDisabled = false;\r\n services = SERVICES;\r\n validationMessages = CONTACT_FORM_VALIDATION_MSGS;\r\n showErrors = false;\r\n countries$ = this.locationService.getCountries();\r\n\r\n constructor(\r\n private contactService: ContactService,\r\n private router: Router,\r\n private locationService: LocationsService,\r\n private store: Store\r\n ) { }\r\n\r\n pick(mode: string) {\r\n this.mode = mode;\r\n this.switchMode = mode === 'supplier' ? 'company' : 'supplier';\r\n if (mode === 'supplier')\r\n this.signupContactForm.get('services')?.addValidators(Validators.required);\r\n else\r\n this.signupContactForm.get('services')?.clearValidators();\r\n this.signupContactForm.get('services')?.updateValueAndValidity();\r\n }\r\n\r\n onSubmit(): void {\r\n if (!this.signupContactForm.valid) return;\r\n this.isDisabled = true;\r\n this.contactService.submit({\r\n ...this.signupContactForm.value,\r\n services: this.signupContactForm.get('services')?.value == \"\" ? null : this.signupContactForm.get('services')?.value,\r\n type: this.mode === 'supplier' ? 'supplier' : 'employer'\r\n })\r\n .subscribe({\r\n next: () => this.router.navigateByUrl(`/public/status/thank-you`),\r\n error: (() => {\r\n this.submitFailed = true;\r\n this.isDisabled = false;\r\n }),\r\n });\r\n }\r\n\r\n login() {\r\n this.store.dispatch(AuthActions.loginAad());\r\n }\r\n\r\n}\r\n\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { MatSidenavModule } from '@angular/material/sidenav';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatButtonModule } from '@angular/material/button';\r\n\r\nimport { SignupComponent } from './components/signup/signup.component';\r\n\r\nimport { LocationsService, ContactService } from '../public/services';\r\nimport { A11yModule } from '@angular/cdk/a11y';\r\nimport { MatRadioModule } from '@angular/material/radio';\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatSelectModule } from '@angular/material/select';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { SignupRoutingModule } from './signup-routing.module';\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n SignupComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n A11yModule,\r\n SignupRoutingModule,\r\n MatRadioModule,\r\n MatFormFieldModule,\r\n MatSelectModule,\r\n MatInputModule,\r\n MatSidenavModule,\r\n MatButtonModule,\r\n MatIconModule\r\n ],\r\n providers: [\r\n LocationsService,\r\n ContactService\r\n ],\r\n})\r\nexport class SignupModule {}\r\n"],"x_google_ignoreList":[]}