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C;AAEK,MAAM,MAAM,GAAG,qCAAqC,CAAC;AAErD,MAAM,UAAU,GAAG,sEAAsE,CAAC;;;;;;;;;;;;;;;;;;;;AC/ElD;AAE3B;AACM;AAOC;AAEkB;AACY;AAEzD,gEAAa,CAAC,4DAAa,CAAC,CAAC;AAC7B,gEAAa,CAAC,6DAAc,CAAC,CAAC;AAC9B,8DAAW,CAAC,YAAY,CAAC,CAAC;AAE1B,oEAAiB,CAAC,QAAQ,CAAC,CAAC;AAE5B,IAAI,sFAA+B,KAAK,KAAK,EAAE;IAC9C,6DAAc,EAAE,CAAC;CACjB;AAED,wEAAwB;KACtB,eAAe,CAAC,sDAAS,CAAC;KAC1B,KAAK,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC","sources":["./src/app/app-routing.module.ts","./src/app/app.component.ts","./src/app/app.component.html","./src/app/app.module.ts","./src/app/common/app.ts","./src/app/common/auth/auth.service.ts","./src/app/common/feature-flag/feature-flag.service.ts","./src/app/common/feature-flag/feature-flag.ts","./src/app/common/logger/logger.service.ts","./src/app/common/logger/logger.ts","./src/app/common/reset/reset.service.ts","./src/app/common/services/service.common.ts","./src/app/common/settings/settings.service.ts","./src/app/common/settings/settings.ts","./src/app/common/toast/toast.component.ts","./src/app/common/toast/toast.component.html","./src/app/common/toast/toast.service.ts","./src/app/common/toast/toast.ts","./src/app/common/tooltip/tooltip.component.ts","./src/app/common/tooltip/tooltip.directive.ts","./src/app/common/tooltip/tooltip.module.ts","./src/app/common/transformers.ts","./src/app/components/form-validation/form-error.component.ts","./src/app/components/form-validation/form-error.component.html","./src/app/components/headerbar/headerbar.component.ts","./src/app/components/headerbar/headerbar.component.html","./src/app/components/icon/icon.component.ts","./src/app/components/icon/icon.component.html","./src/app/components/item/item.component.ts","./src/app/components/item/item.component.html","./src/app/components/profile-dialog/profile-dialog.component.ts","./src/app/components/profile-dialog/profile-dialog.component.html","./src/app/components/splash/splash.component.ts","./src/app/components/splash/splash.component.html","./src/app/directives/attribute/attribute.directive.ts","./src/app/directives/busy/busy.directive.ts","./src/app/pipes/shorten.pipe.ts","./src/app/services/order/order.service.ts","./src/app/services/order/order.ts","./src/environments/api-endpoints/endpoints.ts","./src/environments/build.ts","./src/environments/environment.ts","./src/environments/shared.ts","./src/main.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\nimport { RouterModule, Routes } from '@angular/router';\nimport { environment } from 'src/environments/environment';\nimport { App } from 'src/environments/shared';\n\nconst APP_NAME_PREFIX = `${App.Name1} ${App.Name2} - `;\n\nexport const ROUTE_CONFIG = {\n\torder: {\n\t\tpath: 'order',\n\t\tdata: {\n\t\t\tanimationHierarchy: 1,\n\t\t\ttitle: 'Order Lenses',\n\t\t\ticon: 'zui-icon-edf-edf-active',\n\t\t},\n\t},\n\toverview: {\n\t\tpath: 'overview',\n\t\tdata: {\n\t\t\tanimationHierarchy: 2,\n\t\t\ttitle: 'Your Orders',\n\t\t\ticon: 'zui-icon-focus',\n\t\t},\n\t},\n};\n\nconst routes: Routes = [\n\t{\n\t\tpath: '',\n\t\tpathMatch: 'full',\n\t\tredirectTo: ROUTE_CONFIG.order.path,\n\t},\n\t{\n\t\tpath: ROUTE_CONFIG.order.path,\n\t\tdata: ROUTE_CONFIG.order.data,\n\t\ttitle: APP_NAME_PREFIX + ROUTE_CONFIG.order.data.title,\n\t\tloadComponent: () =>\n\t\t\timport('./pages/order-placement/order-placement.component').then(\n\t\t\t\t(m) => m.OrderPlacementComponent\n\t\t\t),\n\t},\n\t{\n\t\tpath: ROUTE_CONFIG.overview.path,\n\t\tdata: ROUTE_CONFIG.overview.data,\n\t\ttitle: APP_NAME_PREFIX + ROUTE_CONFIG.overview.data.title,\n\t\tloadComponent: () =>\n\t\t\timport('./pages/overview/overview.component').then((m) => m.OverviewComponent),\n\t},\n\t{\n\t\tpath: '**',\n\t\tredirectTo: ROUTE_CONFIG.order.path,\n\t},\n];\n\n@NgModule({\n\timports: [\n\t\tRouterModule.forRoot(routes, {\n\t\t\tenableTracing: environment.appMeta.environment === 'DEV' ? true : false,\n\t\t}),\n\t],\n\texports: [RouterModule],\n})\nexport class AppRoutingModule {}\n","import { Component } from '@angular/core';\nimport { MatIconRegistry } from '@angular/material/icon';\nimport { DomSanitizer } from '@angular/platform-browser';\nimport { customIcons } from '../environments/shared';\nimport { AuthService } from './common/auth/auth.service';\n\n@Component({\n\tselector: 'app-root',\n\ttemplateUrl: './app.component.html',\n\tstyleUrls: ['./app.component.scss'],\n})\nexport class AppComponent {\n\ttitle = 'DOP';\n\n\tconstructor(\n\t\tpublic auth: AuthService,\n\t\tprivate matIconRegistry: MatIconRegistry,\n\t\tprivate domSanitizer: DomSanitizer\n\t) {\n\t\tthis.registerCustomIcons();\n\t}\n\n\tregisterCustomIcons() {\n\t\tcustomIcons.forEach((icon: { Label: string; Path: string }) => {\n\t\t\tthis.matIconRegistry.addSvgIcon(\n\t\t\t\ticon.Label,\n\t\t\t\tthis.domSanitizer.bypassSecurityTrustResourceUrl(icon.Path)\n\t\t\t);\n\t\t});\n\t}\n}\n","\n\n\n\t\n\n\t\n\n\n\n\t\n\n","import { HttpClientModule } from '@angular/common/http';\nimport { NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\nimport { OAuthModule } from 'angular-oauth2-oidc';\n\nimport { AppRoutingModule } from './app-routing.module';\nimport { AppComponent } from './app.component';\nimport { AuthService } from './common/auth/auth.service';\nimport { FEATURE_FLAG_PROVIDER } from './common/feature-flag/feature-flag';\nimport { FeatureFlagService } from './common/feature-flag/feature-flag.service';\nimport { ResetService } from './common/reset/reset.service';\nimport { SettingsService } from './common/settings/settings.service';\nimport { ToastComponent } from './common/toast/toast.component';\nimport { ToastService } from './common/toast/toast.service';\nimport { HeaderbarComponent } from './components/headerbar/headerbar.component';\nimport { SplashComponent } from './components/splash/splash.component';\n\n@NgModule({\n\tdeclarations: [AppComponent],\n\timports: [\n\t\tBrowserModule,\n\t\tBrowserAnimationsModule,\n\t\tAppRoutingModule,\n\t\tToastComponent,\n\t\tOAuthModule.forRoot(),\n\t\tHttpClientModule,\n\t\tHeaderbarComponent,\n\t\tSplashComponent,\n\t],\n\tproviders: [\n\t\tToastService,\n\t\tAuthService,\n\t\tSettingsService,\n\t\tResetService,\n\t\t{\n\t\t\tprovide: FEATURE_FLAG_PROVIDER,\n\t\t\tuseClass: FeatureFlagService,\n\t\t},\n\t],\n\tbootstrap: [AppComponent],\n})\nexport class AppModule {}\n","import { Data, Route } from '@angular/router';\nimport { environment } from 'src/environments/environment';\n\nexport enum AppColors {\n\t'error' = 0,\n\t'warning',\n\t'success',\n\t'info',\n\t'grey',\n\t'white',\n}\n\nexport type RoutesExtended = RouteExtended[];\n\nexport interface RouteExtended extends Route {\n\tdata?: DataExtended;\n}\n\nexport interface DataExtended extends Data {\n\tanimationHierarchy?: number;\n\ttitle?: string;\n\ticon?: string;\n\tshowInMenu?: boolean;\n\tcache?: boolean;\n}\n\nexport interface ImageInformation {\n\tdata: string;\n\tmimeType: string;\n\textension: string;\n\tfileId: string;\n\tname: string;\n}\n\nexport const App = {\n\tName1: 'Developer',\n\tName2: 'Order Portal',\n\tZeissLogo: '/assets/images/app-logo/zeiss-logo.svg',\n\tVisionLogo: '/assets/images/app-logo/vision-logo.svg',\n\tAppEntered: new Date(),\n\tLocalStorage: {\n\t\tPrefix: `ATHENA${\n\t\t\tenvironment.appMeta.environment !== 'PROD' ? '_' + environment.appMeta.environment : ''\n\t\t}_`,\n\t\tSettings: 'SETTINGS',\n\t\tLogs: 'LOGS',\n\t},\n\tRouteAnimationDuration: 200,\n};\n","import { Injectable } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { AuthConfig, OAuthService } from 'angular-oauth2-oidc';\nimport { BehaviorSubject } from 'rxjs';\nimport { environment } from 'src/environments/environment';\nimport { LogCat, LogLevel } from '../logger/logger';\nimport { LoggerService } from '../logger/logger.service';\nimport { SettingsService } from '../settings/settings.service';\nimport { ZeissIdClaims } from './auth';\n\n@Injectable({\n\tprovidedIn: 'root',\n})\nexport class AuthService {\n\tprivate _userZeissId?: ZeissIdClaims;\n\tprivate _sessionTimeLeft = '';\n\n\tprivate _authenthicationCompleted$ = new BehaviorSubject(false);\n\tprivate _authenticated$ = new BehaviorSubject(false);\n\n\tprivate _busy = true;\n\n\tprivate _config: AuthConfig = {\n\t\tissuer: environment.authConfig.issuer,\n\t\tstrictDiscoveryDocumentValidation: false,\n\t\tredirectUri: window.location.href,\n\t\tclientId: environment.authConfig.clientId,\n\t\tresponseType: 'code',\n\t\tfallbackAccessTokenExpirationTimeInSec: 3600,\n\t\tscope: 'openid offline_access profile',\n\t\tshowDebugInformation: true,\n\t};\n\n\tconstructor(\n\t\tprivate _oAuth: OAuthService,\n\t\tprivate _logger: LoggerService,\n\t\tprivate _activatedRoute: ActivatedRoute,\n\t\tprivate _router: Router,\n\t\tprivate _settings: SettingsService\n\t) {\n\t\tthis._oAuth.events.subscribe((x) => {\n\t\t\tif (x.type === 'token_received') {\n\t\t\t\tenvironment.api.headers['authorization'] = 'Bearer '.concat(this._oAuth.getIdToken());\n\t\t\t\tlocalStorage.setItem('id-token-zid', this._oAuth.getIdToken());\n\t\t\t\tthis._authenticated$.next(true);\n\t\t\t}\n\n\t\t\tif (x.type === 'token_expires' && !this._oAuth.getIdToken()) {\n\t\t\t\tthis._authenticated$.next(false);\n\t\t\t\tthis._logger.Log(`Your session expired. Please reload this page.`, LogCat.auth, {\n\t\t\t\t\tlevel: LogLevel.error,\n\t\t\t\t\tshowToast: true,\n\t\t\t\t});\n\t\t\t}\n\t\t});\n\n\t\tthis.init();\n\t}\n\n\tset Busy(value: boolean) {\n\t\tthis._busy = value;\n\t}\n\n\tget Busy() {\n\t\treturn this._busy;\n\t}\n\n\tprivate init(): void {\n\t\tthis._oAuth.configure(this._config);\n\n\t\tthis._logger.Log(`checking auth state`, LogCat.auth);\n\n\t\tthis._oAuth.loadDiscoveryDocument(environment.authConfig.discoveryDocumentUrl).then(\n\t\t\t() => {\n\t\t\t\tthis._oAuth.setupAutomaticSilentRefresh();\n\n\t\t\t\tthis._oAuth.tryLoginCodeFlow().then(\n\t\t\t\t\t() => {\n\t\t\t\t\t\tif (!this._oAuth.hasValidIdToken()) {\n\t\t\t\t\t\t\tthis._logger.Log(\n\t\t\t\t\t\t\t\t`Not authenticated yet. Initializing Codeflow: redirecting to ZEISS ID login page.`,\n\t\t\t\t\t\t\t\tLogCat.auth\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tsetTimeout(() => {\n\t\t\t\t\t\t\t\tthis.Busy = false;\n\t\t\t\t\t\t\t\tthis._settings.ClearStorage(); // Remove users locally stored data\n\t\t\t\t\t\t\t\tthis._oAuth.initCodeFlow();\n\t\t\t\t\t\t\t}, 1000);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tthis._initAfterSignIn();\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t\t(e) => {\n\t\t\t\t\t\tthis._authenthicationCompleted$.next(true);\n\t\t\t\t\t\tthis._authenticated$.next(false);\n\t\t\t\t\t\tthis._settings.ClearStorage(); // Remove users locally stored data\n\t\t\t\t\t\tthis._logger.Log(`Auth error: ${e}`, LogCat.auth);\n\t\t\t\t\t\tthis.Busy = false;\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t},\n\t\t\t(e) => {\n\t\t\t\tthis._authenthicationCompleted$.next(true);\n\t\t\t\tthis._authenticated$.next(false);\n\t\t\t\tthis._logger.Log(`Authorization service error. Please try again later.`, LogCat.auth, {\n\t\t\t\t\tlevel: LogLevel.error,\n\t\t\t\t\tshowToast: true,\n\t\t\t\t});\n\t\t\t\tthis.Busy = false;\n\t\t\t}\n\t\t);\n\t}\n\n\tSignIn() {\n\t\tthis._oAuth.initCodeFlow();\n\t}\n\n\tpublic getIdToken() {\n\t\tconst token = localStorage.getItem('id-token-zid');\n\t\treturn token;\n\t}\n\n\tprivate _initAfterSignIn() {\n\t\tenvironment.api.headers['authorization'] = 'Bearer '.concat(this._oAuth.getIdToken());\n\t\tlocalStorage.setItem('id-token-zid', this._oAuth.getIdToken());\n\t\tthis._userZeissId = this._processZeissIdClaims(this._oAuth.getIdentityClaims());\n\n\t\tthis._updateSessionTime();\n\n\t\tthis._logger.Log(`Authenticated via ZEISS ID`, LogCat.auth, {\n\t\t\tlevel: LogLevel.success,\n\t\t\taiData: {\n\t\t\t\t'parsed user': this.UserZeissId,\n\t\t\t\t'session duration left': `${(\n\t\t\t\t\t(this._oAuth.getIdTokenExpiration() - Date.now()) /\n\t\t\t\t\t1000 /\n\t\t\t\t\t60\n\t\t\t\t).toFixed(0)} min`,\n\t\t\t},\n\t\t});\n\n\t\tthis._authenticated$.next(true);\n\t\tthis._authenthicationCompleted$.next(true);\n\n\t\tthis._cleanOauthLeftovers();\n\t}\n\n\tprivate _cleanOauthLeftovers() {\n\t\tconst paramMap = this._activatedRoute.snapshot.queryParamMap;\n\t\tif (this._activatedRoute.snapshot.fragment || paramMap.has('code') || paramMap.has('state')) {\n\t\t\tthis._router.navigate([], {\n\t\t\t\trelativeTo: this._activatedRoute,\n\t\t\t\tfragment: undefined,\n\t\t\t\tqueryParams: { code: null, state: null },\n\t\t\t\tqueryParamsHandling: 'merge',\n\t\t\t});\n\t\t}\n\t}\n\n\tprivate _processZeissIdClaims(raw: object) {\n\t\ttry {\n\t\t\tconst retVal = { ...(raw as ZeissIdClaims) };\n\t\t\tretVal.ZeissIdAgreements = JSON.parse(retVal.ZeissIdAgreements.toString());\n\t\t\tretVal.ZeissIdApplication = JSON.parse(retVal.ZeissIdApplication.toString());\n\t\t\tretVal.ZeissIdBase = JSON.parse(retVal.ZeissIdBase.toString());\n\t\t\tretVal.ZeissIdContact = JSON.parse(retVal.ZeissIdContact.toString());\n\t\t\tretVal.ZeissIdCustomFields = JSON.parse(retVal.ZeissIdCustomFields.toString());\n\t\t\tretVal.ZeissIdOrganisation = JSON.parse(retVal.ZeissIdOrganisation.toString());\n\n\t\t\treturn retVal;\n\t\t} catch (error) {\n\t\t\tthis._logger.Log(`claims could not be parsed`, LogCat.auth, {\n\t\t\t\tlevel: LogLevel.error,\n\t\t\t\taiData: {\n\t\t\t\t\t'raw claims': raw,\n\t\t\t\t},\n\t\t\t});\n\t\t\treturn undefined;\n\t\t}\n\t}\n\n\tprivate _updateSessionTime() {\n\t\tsetInterval(\n\t\t\t() =>\n\t\t\t\t`${(this._sessionTimeLeft = (\n\t\t\t\t\t(this._oAuth.getIdTokenExpiration() - Date.now()) /\n\t\t\t\t\t1000 /\n\t\t\t\t\t60\n\t\t\t\t).toFixed(0))} min`,\n\t\t\t1000\n\t\t);\n\t}\n\n\tSignOut() {\n\t\tthis._logger.Log(`user logging out manually`, LogCat.auth, {\n\t\t\taiData: {\n\t\t\t\tuser: this.UserZeissId,\n\t\t\t},\n\t\t});\n\t\tlocalStorage.removeItem('id-token-zid');\n\t\tthis._oAuth.logOut();\n\t}\n\n\tget UserZeissId() {\n\t\treturn this._userZeissId;\n\t}\n\n\tget SessionTimeLeft() {\n\t\treturn this._sessionTimeLeft;\n\t}\n\n\tget AuthenthicationCompleted() {\n\t\treturn this._authenthicationCompleted$;\n\t}\n\n\tget Authenthicated() {\n\t\treturn this._authenticated$;\n\t}\n}\n","import { Injectable } from '@angular/core';\nimport {\n\tAppConfigurationClient,\n\tFeatureFlagValue,\n\tGetConfigurationSettingResponse,\n} from '@azure/app-configuration';\nimport { BehaviorSubject, forkJoin } from 'rxjs';\nimport { environment } from 'src/environments/environment';\nimport { FeatureFlags, LogPre, convertEnvironmentToFeatureFlagLabel } from './feature-flag';\nimport { FeatureFlagProvider } from './feature-flag.interface';\n\n@Injectable({\n\tprovidedIn: 'root',\n})\nexport class FeatureFlagService implements FeatureFlagProvider {\n\tprivate readonly _featureFlagPrefix = '.appconfig.featureflag/';\n\tprivate _flags = new BehaviorSubject(undefined);\n\n\tconstructor() {\n\t\tthis._init();\n\t\tthis.FeatureFlags.subscribe((x) => console.debug(LogPre, 'FeatureFlags updated', x));\n\t}\n\n\tprivate _init() {\n\t\tconst client = new AppConfigurationClient(environment.azureAppConfig.connectionString);\n\n\t\tconst flags: FeatureFlags = {\n\t\t\tDOP_Frontend_Allow_Order_Placement: {\n\t\t\t\tenabled: false,\n\t\t\t\tlabel: convertEnvironmentToFeatureFlagLabel(environment.appMeta.environment),\n\t\t\t},\n\t\t\tDOP_Frontend_Engraving_Allow_Emojis: {\n\t\t\t\tenabled: false,\n\t\t\t\tlabel: convertEnvironmentToFeatureFlagLabel(environment.appMeta.environment),\n\t\t\t},\n\t\t};\n\n\t\tconst requests: Promise[] = [];\n\t\tfor (const key in flags) {\n\t\t\tif (Object.prototype.hasOwnProperty.call(flags, key)) {\n\t\t\t\tconst req = client.getConfigurationSetting(\n\t\t\t\t\t{ key: this._featureFlagPrefix + key, label: (flags as any)[key].label },\n\t\t\t\t\t{\n\t\t\t\t\t\trequestOptions: {\n\t\t\t\t\t\t\tcustomHeaders: { 'Cache-Control': 'no-cache' },\n\t\t\t\t\t\t},\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\trequests.push(req);\n\t\t\t}\n\t\t}\n\n\t\tforkJoin(requests).subscribe(\n\t\t\t(flagSettings) => {\n\t\t\t\tfor (const _key in flags) {\n\t\t\t\t\tconst key = _key as keyof FeatureFlags;\n\t\t\t\t\tif (Object.prototype.hasOwnProperty.call(flags, key)) {\n\t\t\t\t\t\tconst rawValue = flagSettings.find(\n\t\t\t\t\t\t\t(flagSetting) => flagSetting.key.replace(this._featureFlagPrefix, '') === key\n\t\t\t\t\t\t)?.value;\n\t\t\t\t\t\tlet parsedValue: FeatureFlagValue = rawValue\n\t\t\t\t\t\t\t? JSON.parse(rawValue)\n\t\t\t\t\t\t\t: {\n\t\t\t\t\t\t\t\t\tenabled: false,\n\t\t\t\t\t\t\t\t\tlabel: convertEnvironmentToFeatureFlagLabel(environment.appMeta.environment),\n\t\t\t\t\t\t\t };\n\t\t\t\t\t\tflags[key] = {\n\t\t\t\t\t\t\tenabled: parsedValue.enabled,\n\t\t\t\t\t\t\tdescription: parsedValue.description,\n\t\t\t\t\t\t\tlabel: convertEnvironmentToFeatureFlagLabel(environment.appMeta.environment),\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tthis._flags.next(flags);\n\t\t\t},\n\t\t\t(err) => console.warn(LogPre, 'Could not get feature flags.')\n\t\t);\n\t}\n\n\tget FeatureFlags() {\n\t\treturn this._flags;\n\t}\n}\n","import { InjectionToken } from '@angular/core';\nimport { FeatureFlagProvider } from './feature-flag.interface';\n\nexport const LogPre = '[FEATURE]';\n\nexport type FeatureFlags = {\n\tDOP_Frontend_Allow_Order_Placement: FeatureFlagStatus;\n\tDOP_Frontend_Engraving_Allow_Emojis: FeatureFlagStatus;\n};\n\nexport type FeatureFlagStatus = {\n\tenabled: boolean;\n\tdescription?: string;\n\tlabel: 'Develop' | 'Test' | 'Stage' | 'Production';\n};\n\nexport const FEATURE_FLAG_PROVIDER = new InjectionToken(\n\t'FEATURE_FLAG_PROVIDER'\n);\n\nexport function convertEnvironmentToFeatureFlagLabel(\n\tenvironment: string\n): 'Develop' | 'Test' | 'Stage' | 'Production' {\n\tswitch (environment) {\n\t\tcase 'TEST':\n\t\t\treturn 'Test';\n\t\tcase 'STAGE':\n\t\t\treturn 'Stage';\n\t\tcase 'PROD':\n\t\t\treturn 'Production';\n\t\tcase 'DEV':\n\t\tdefault:\n\t\t\treturn 'Develop';\n\t}\n}\n","import * as dayjs from 'dayjs';\nimport { BehaviorSubject, throwError } from 'rxjs';\nimport { ToastService } from 'src/app/common/toast/toast.service';\nimport { environment } from 'src/environments/environment';\nimport { App } from 'src/environments/shared';\nimport { v4 as uuidv4 } from 'uuid';\n\nimport { Injectable } from '@angular/core';\nimport { ApplicationInsights } from '@microsoft/applicationinsights-web';\n\nimport { LogCat, LogLevel, LogMessage, LogPre } from './logger';\n\n@Injectable({\n\tprovidedIn: 'root',\n})\nexport class LoggerService {\n\tprivate sessionUuid = uuidv4();\n\n\tprivate _path = App.LocalStorage.Prefix + App.LocalStorage.Logs;\n\tprivate _logs: LogMessage[] = [];\n\n\tLogs$: BehaviorSubject;\n\n\tprivate _appInsights?: ApplicationInsights;\n\n\tconstructor(private _toast: ToastService) {\n\t\tthis.aiInit();\n\n\t\ttry {\n\t\t\tconst storage = JSON.parse(localStorage.getItem(this._path)!);\n\t\t\tif (Array.isArray(storage)) {\n\t\t\t\tthis._logs = storage;\n\t\t\t\tconsole.debug(LogPre, `Logs read from local storage`, {\n\t\t\t\t\tlogs: { ...this._logs },\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tthrowError(`Storage object is not an array: ${storage}`);\n\t\t\t}\n\t\t} catch (error) {\n\t\t\tconsole.error(LogPre, `Could not read logs from LocalStorage.`, error, {\n\t\t\t\tlogs: { ...this._logs },\n\t\t\t});\n\t\t\tthis._logs = [];\n\t\t}\n\n\t\tthis.Logs$ = new BehaviorSubject(this._logs);\n\t}\n\n\taiInit() {\n\t\tif (!environment.appInsights.activated) {\n\t\t\tconsole.debug(LogPre, `Application Insights not activated.`);\n\t\t\treturn;\n\t\t}\n\t\tif (!environment.appInsights.instrumentationKey) {\n\t\t\tconsole.debug(LogPre, `Application Insights instrumentation key not found.`);\n\t\t\treturn;\n\t\t}\n\n\t\tconsole.debug(\n\t\t\tLogPre,\n\t\t\t`Application Insights started. Instrumentation Key: ${environment.appInsights.instrumentationKey}`\n\t\t);\n\n\t\tthis._appInsights = new ApplicationInsights({\n\t\t\tconfig: {\n\t\t\t\tinstrumentationKey: environment.appInsights.instrumentationKey,\n\t\t\t\tenableAutoRouteTracking: true,\n\t\t\t\tautoTrackPageVisitTime: true,\n\t\t\t},\n\t\t});\n\t\tthis._appInsights.loadAppInsights();\n\t}\n\n\taiLogEvent(name: string, properties?: { [key: string]: any }) {\n\t\tif (!this._appInsights || !environment.appInsights.activated) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._appInsights.trackEvent({ name: name }, properties);\n\t}\n\n\taiLogMetric(name: string, average: number, properties?: { [key: string]: any }) {\n\t\tif (!this._appInsights || !environment.appInsights.activated) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._appInsights.trackMetric({ name: name, average: average }, properties);\n\t}\n\n\taiLogException(exception: Error, severityLevel?: number) {\n\t\tif (!this._appInsights || !environment.appInsights.activated) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._appInsights.trackException({ exception: exception, severityLevel: severityLevel });\n\t}\n\n\taiLogTrace(message: string, properties?: { [key: string]: any }) {\n\t\tif (!this._appInsights || !environment.appInsights.activated) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._appInsights.trackTrace({ message: message }, properties);\n\t}\n\n\tLog(\n\t\tmessage: string,\n\t\tcategory: LogCat,\n\t\toptions?: {\n\t\t\tlevel?: LogLevel;\n\t\t\tshowToast?: boolean;\n\t\t\taiData?: { [key: string]: any };\n\t\t}\n\t) {\n\t\tconst log: LogMessage = {\n\t\t\ttimestamp: dayjs(),\n\t\t\tcategory: category,\n\t\t\tlevel: options?.level ?? LogLevel.info,\n\t\t\tmessage: message,\n\t\t\tsession: this.sessionUuid,\n\t\t};\n\t\tconsole.debug(`[${LogCat[log.category].toUpperCase()}] ${log.message}`, options?.aiData ?? '');\n\n\t\tthis._logs.push(log);\n\t\tthis.Logs$.next(this._logs);\n\n\t\t// Remove 20 eldest if exceeding 100 records\n\t\tif (this._logs.length > 100) {\n\t\t\tthis._logs.splice(80);\n\t\t\tconsole.debug(LogPre, `Removed 20 eldest log records`);\n\t\t}\n\n\t\ttry {\n\t\t\tlocalStorage.setItem(this._path, JSON.stringify(this._logs));\n\t\t} catch (error) {\n\t\t\tconsole.error(LogPre, 'Could not write logs', { error: { error } });\n\t\t}\n\n\t\tif (options?.showToast) {\n\t\t\tthis._toast.Create(LogCat[category]?.toUpperCase(), message, options?.level);\n\t\t}\n\n\t\tif (log.level === LogLevel.error) {\n\t\t\tthis.aiLogException({ name: LogCat[log.category], message: log.message });\n\t\t}\n\n\t\tthis.aiLogEvent(LogCat[log.category], {\n\t\t\ttimestamp: log.timestamp,\n\t\t\tcategory: LogCat[log.category],\n\t\t\tlevel: LogLevel[log.level],\n\t\t\tmessage: `[${LogCat[log.category].toUpperCase()}] ${log.message}`,\n\t\t\tsession: log.session,\n\t\t\t...options?.aiData,\n\t\t});\n\t}\n\n\tClear() {\n\t\tthis._logs = [];\n\t\tthis.Logs$.next(this._logs);\n\n\t\ttry {\n\t\t\tlocalStorage.setItem(this._path, JSON.stringify(this._logs));\n\t\t\tconsole.debug(LogPre, `Logs cleared.`);\n\t\t} catch (error) {\n\t\t\tconsole.error(LogPre, 'Could not write logs', { error: { error } });\n\t\t}\n\t}\n}\n","import * as dayjs from 'dayjs';\n\nexport const LogPre = '[LOGGER]';\n\nexport interface LogMessage {\n\ttimestamp: dayjs.Dayjs;\n\tcategory: LogCat;\n\tlevel: LogLevel;\n\tmessage: string;\n\tsession: string;\n}\n\nexport enum LogCat {\n\tsystem = 0,\n\tauth,\n\tproduct,\n\tuser,\n\torder,\n\tcountry,\n\twearerAge,\n\tvoucher,\n\tsettings,\n}\n\nexport enum LogLevel {\n\terror = 0,\n\twarning,\n\tsuccess,\n\tinfo,\n\tdebug,\n}\n","import { Injectable } from '@angular/core';\nimport { Subject } from 'rxjs';\n\n@Injectable({\n\tprovidedIn: 'root',\n})\nexport class ResetService {\n\tpublic readonly reset$ = new Subject();\n\n\tpublic triggerReset() {\n\t\tthis.reset$.next();\n\t}\n}\n","import { HttpErrorResponse } from '@angular/common/http';\nimport { v4 as uuidv4 } from 'uuid';\nimport { LogCat, LogLevel } from '../logger/logger';\nimport { LoggerService } from '../logger/logger.service';\n\nexport interface OngoingRequest {\n\tid: string;\n\ttype: string;\n}\n\nexport function logError(\n\tlogger: LoggerService,\n\terror: HttpErrorResponse | string,\n\tcategory: LogCat,\n\tsilent = false,\n\tcritical = false\n) {\n\tlet msg = '';\n\tif (typeof error === 'string') {\n\t\tmsg = error;\n\t} else if (error.error?.apiStatus) {\n\t\tmsg = `${error.error.apiStatus}`;\n\t} else {\n\t\tmsg = `${error.status}: ${error.statusText}`;\n\t}\n\n\tif (!silent) {\n\t\tlogger.Log(msg, category, { level: LogLevel.error, showToast: true });\n\t}\n\n\tif (critical) {\n\t\treturn true;\n\t}\n\n\treturn false;\n}\n\nexport function startRequest(type?: string) {\n\tconst retVal = { id: uuidv4(), type: type ?? '' };\n\treturn retVal;\n}\n","import { Build } from 'src/environments/build';\nimport { App } from 'src/environments/shared';\n\nimport { EventEmitter, Injectable } from '@angular/core';\n\nimport { LogCat, LogLevel } from '../logger/logger';\nimport { LoggerService } from '../logger/logger.service';\nimport { Settings } from './settings';\n\n@Injectable({\n\tprovidedIn: 'root',\n})\nexport class SettingsService {\n\tprivate _settings: Settings = new Settings();\n\tprivate _path = App.LocalStorage.Prefix + App.LocalStorage.Settings;\n\n\tprotected _temp: { [key: string]: any } = {};\n\n\tSettingsChanged$ = new EventEmitter();\n\n\tconstructor(private _logger: LoggerService) {\n\t\ttry {\n\t\t\tlet temp = new Settings(JSON.parse(localStorage.getItem(this._path)!));\n\t\t\tif (temp.system_app_version !== `${Build.branch} ${Build.appVersion} ${Build.lastCommit}`) {\n\t\t\t\tthis._logger.Log(\n\t\t\t\t\t`settings read from local storage are from old app version. resetting them.`,\n\t\t\t\t\tLogCat.settings,\n\t\t\t\t\t{\n\t\t\t\t\t\taiData: {\n\t\t\t\t\t\t\tsettings: { ...this.Settings },\n\t\t\t\t\t\t},\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\tconst freshSettings = new Settings();\n\t\t\t\tfreshSettings.system_introductionTutorialSeen = temp.system_introductionTutorialSeen;\n\t\t\t\tfreshSettings.system_tutorialStepsSeen = temp.system_tutorialStepsSeen;\n\t\t\t\tfreshSettings.system_app_version = `${Build.branch} ${Build.appVersion} ${Build.lastCommit}`;\n\t\t\t\ttemp = freshSettings;\n\t\t\t} else {\n\t\t\t\tthis._logger.Log(`settings read from local storage`, LogCat.settings, {\n\t\t\t\t\taiData: {\n\t\t\t\t\t\tsettings: { ...temp },\n\t\t\t\t\t},\n\t\t\t\t});\n\t\t\t}\n\t\t\tthis.Settings = temp;\n\t\t} catch (error) {\n\t\t\tthis._logger.Log(\n\t\t\t\t`Could not read settings from LocalStorage. Using defaults.`,\n\t\t\t\tLogCat.settings,\n\t\t\t\t{\n\t\t\t\t\tlevel: LogLevel.error,\n\t\t\t\t\taiData: {\n\t\t\t\t\t\tsettings: { ...this.Settings },\n\t\t\t\t\t},\n\t\t\t\t}\n\t\t\t);\n\t\t\tthis._settings = new Settings();\n\t\t\tthis.save();\n\t\t}\n\t}\n\n\tget TempStorage() {\n\t\treturn this._temp;\n\t}\n\n\tset TempStorage(value: { [key: string]: any }) {\n\t\tObject.assign(this._temp, value);\n\t}\n\n\tget Settings(): Partial {\n\t\treturn this._settings;\n\t}\n\n\tset Settings(settings: Partial) {\n\t\tObject.assign(this._settings, settings);\n\t\tthis.save();\n\t\tthis._logger.Log(`settings updated to`, LogCat.settings, {\n\t\t\taiData: {\n\t\t\t\tsettings: { ...this.Settings },\n\t\t\t},\n\t\t});\n\t}\n\n\tprivate save(): void {\n\t\ttry {\n\t\t\tlocalStorage.setItem(this._path, JSON.stringify(this.Settings));\n\t\t} catch (error) {\n\t\t\tthis._logger.Log('could not write settings', LogCat.settings);\n\t\t}\n\t\tthis.SettingsChanged$.emit(this._settings);\n\t}\n\n\tResetToDefault(): void {\n\t\tthis._logger.Log('reset settings', LogCat.settings);\n\t\tlocalStorage.clear();\n\t\tconst newSettings = new Settings();\n\t\tthis.Settings = newSettings;\n\t\tsetTimeout(() => location.reload(), 500);\n\t}\n\n\tClearStorage() {\n\t\tthis._logger.Log('clearing local storage', LogCat.settings);\n\t\tlocalStorage.clear();\n\t}\n}\n","export class Settings {\n\tsystem_introductionTutorialSeen = false;\n\tsystem_tutorialStepsSeen: number[] = [];\n\tsystem_app_version = '';\n\n\tconstructor(init?: Partial) {\n\t\tObject.assign(this, init);\n\t}\n}\n","import { NgForOf, NgIf, NgSwitch, NgSwitchCase, NgSwitchDefault } from '@angular/common';\nimport { Component, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';\n\nimport { ToastService } from './toast.service';\n\n@Component({\n\tstandalone: true,\n\tselector: 'vis-toast',\n\ttemplateUrl: './toast.component.html',\n\tstyleUrls: ['./toast.component.scss'],\n\timports: [NgForOf, NgSwitchCase, NgSwitch, NgSwitchDefault, NgIf],\n\tschemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class ToastComponent {\n\tconstructor(public toast: ToastService) {}\n}\n","
    \n\t
  • \n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t{{ item.secondsLeft }}\n\t\t\t 9\">  \n\n\t\t\t\n\t\t\n\t
  • \n
\n","import { Injectable } from '@angular/core';\n\nimport { LogLevel } from '../logger/logger';\nimport { Toast } from './toast';\n\n@Injectable({\n\tprovidedIn: 'root',\n})\nexport class ToastService {\n\tprivate _toasts: Toast[] = [];\n\tprivate _fadeOutDuration = 300;\n\n\tCreate(title: string, message?: string, level?: LogLevel) {\n\t\tconst toast = new Toast({\n\t\t\ttitle,\n\t\t\tmessage,\n\t\t\tlevel,\n\t\t});\n\n\t\tswitch (level) {\n\t\t\tcase LogLevel.error:\n\t\t\t\ttoast.duration = 12000;\n\t\t\t\tbreak;\n\n\t\t\tcase LogLevel.warning:\n\t\t\t\ttoast.duration = 7000;\n\t\t\t\tbreak;\n\t\t}\n\n\t\ttoast.secondsLeft = (toast.duration ?? 5000) / 1000;\n\n\t\tthis._toasts.push(toast);\n\t\tthis._letDisappear(toast);\n\n\t\tconst intVal = setInterval(() => {\n\t\t\tconst index = this.Toasts.findIndex((x) => x.timestamp === toast.timestamp);\n\t\t\tif (!this._toasts[index]) {\n\t\t\t\tclearInterval(intVal);\n\t\t\t} else {\n\t\t\t\tthis._toasts[index].secondsLeft! -= 1;\n\t\t\t}\n\t\t}, 1000);\n\t}\n\n\tprivate _letDisappear(toast: Toast, immediate?: boolean) {\n\t\tsetTimeout(\n\t\t\t() => {\n\t\t\t\tconst index = this.Toasts.findIndex((x) => x.timestamp === toast.timestamp);\n\t\t\t\tif (this._toasts[index]) {\n\t\t\t\t\tthis._toasts[index].willDisappear = true;\n\t\t\t\t}\n\t\t\t},\n\t\t\timmediate ? 0 : toast.duration! - this._fadeOutDuration\n\t\t);\n\n\t\tsetTimeout(\n\t\t\t() => {\n\t\t\t\tconst index = this.Toasts.findIndex((x) => x.timestamp === toast.timestamp);\n\t\t\t\tif (this._toasts[index]) {\n\t\t\t\t\tthis._toasts.splice(index, 1);\n\t\t\t\t}\n\t\t\t},\n\t\t\timmediate ? this._fadeOutDuration : toast.duration\n\t\t);\n\t}\n\n\tRemove(toast: Toast) {\n\t\tthis._letDisappear(toast, true);\n\t}\n\n\tget Toasts() {\n\t\treturn this._toasts;\n\t}\n}\n","import * as dayjs from 'dayjs';\n\nimport { LogLevel } from '../logger/logger';\n\nexport class Toast {\n\ttitle? = 'Unknown';\n\tmessage?: string;\n\tlevel? = LogLevel.info;\n\ttimestamp?: dayjs.Dayjs;\n\tduration? = 5000;\n\twillDisappear? = false;\n\tsecondsLeft? = 0;\n\n\tconstructor(init: Toast) {\n\t\tif (init.title) {\n\t\t\tthis.title = init.title;\n\t\t}\n\t\tif (init.message) {\n\t\t\tthis.message = init.message;\n\t\t}\n\t\tif (init.level || init.level === 0) {\n\t\t\tthis.level = init.level;\n\t\t}\n\t\tif (init.duration) {\n\t\t\tthis.duration = init.duration;\n\t\t}\n\n\t\tthis.timestamp = dayjs();\n\t}\n}\n","import { animate, style, transition, trigger } from '@angular/animations';\nimport { ChangeDetectionStrategy, Component, CUSTOM_ELEMENTS_SCHEMA, Input } from '@angular/core';\n\n@Component({\n\tselector: 'vis-tooltip',\n\tstandalone: true,\n\ttemplate: ``,\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tanimations: [\n\t\ttrigger('tooltip', [\n\t\t\ttransition(':enter', [style({ opacity: 0 }), animate(300, style({ opacity: 1 }))]),\n\t\t\ttransition(':leave', [animate(300, style({ opacity: 0 }))]),\n\t\t]),\n\t],\n\tschemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class VisTooltipComponent {\n\t@Input() text = '';\n}\n","import { fromEvent, merge, of, Subject } from 'rxjs';\nimport { delay, map, switchMap, takeUntil, tap } from 'rxjs/operators';\n\nimport { Overlay, OverlayPositionBuilder, OverlayRef } from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport { Directive, ElementRef, Input, OnDestroy, OnInit } from '@angular/core';\nimport { Router } from '@angular/router';\n\nimport { VisTooltipComponent } from './tooltip.component';\n\n@Directive({ selector: '[visTooltip]' })\nexport class VisTooltipDirective implements OnInit, OnDestroy {\n\t@Input('visTooltip') text?: string | null;\n\t@Input('visTooltipDelay') delay = 200;\n\tprivate overlayRef: OverlayRef;\n\tprivate destroy$ = new Subject();\n\n\tconstructor(\n\t\tprivate overlayPositionBuilder: OverlayPositionBuilder,\n\t\tprivate elementRef: ElementRef,\n\t\tprivate overlay: Overlay,\n\t\tprivate router: Router\n\t) {\n\t\tthis.overlayRef = this.overlay.create({});\n\t}\n\n\tngOnInit() {\n\t\tconst hide$ = fromEvent(this.elementRef.nativeElement, 'mouseleave').pipe(map(() => false));\n\t\tconst click$ = fromEvent(this.elementRef.nativeElement, 'click').pipe(map(() => false));\n\t\tconst show$ = fromEvent(this.elementRef.nativeElement, 'mouseenter').pipe(\n\t\t\tmap(() => {\n\t\t\t\tif (this.text) return true;\n\t\t\t\treturn false;\n\t\t\t})\n\t\t);\n\n\t\tmerge(hide$, show$, click$)\n\t\t\t.pipe(\n\t\t\t\ttakeUntil(this.destroy$),\n\t\t\t\tswitchMap((show) => {\n\t\t\t\t\tif (show) {\n\t\t\t\t\t\treturn of(true).pipe(delay(this.delay));\n\t\t\t\t\t}\n\t\t\t\t\treturn of(false);\n\t\t\t\t})\n\t\t\t)\n\t\t\t.subscribe((show) => {\n\t\t\t\tif (show) {\n\t\t\t\t\tconst portal = new ComponentPortal(VisTooltipComponent);\n\t\t\t\t\tconst compRef = this.overlayRef.attach(portal);\n\t\t\t\t\tcompRef.instance.text = this.text ?? '';\n\t\t\t\t} else {\n\t\t\t\t\tthis.overlayRef.detach();\n\t\t\t\t}\n\t\t\t});\n\n\t\tconst positionStrategy = this.overlayPositionBuilder\n\t\t\t.flexibleConnectedTo(this.elementRef)\n\t\t\t.withPositions([\n\t\t\t\t{\n\t\t\t\t\toriginX: 'center',\n\t\t\t\t\toriginY: 'top',\n\t\t\t\t\toverlayX: 'center',\n\t\t\t\t\toverlayY: 'bottom',\n\t\t\t\t\toffsetY: -5,\n\t\t\t\t},\n\t\t\t]);\n\n\t\tthis.router.events\n\t\t\t.pipe(\n\t\t\t\ttakeUntil(this.destroy$),\n\t\t\t\ttap(() => this.overlayRef.detach())\n\t\t\t)\n\t\t\t.subscribe();\n\n\t\tthis.overlayRef = this.overlay.create({ positionStrategy });\n\t}\n\n\tngOnDestroy() {\n\t\tthis.overlayRef.detach();\n\t}\n}\n","import { OverlayModule } from '@angular/cdk/overlay';\nimport { NgModule } from '@angular/core';\nimport { VisTooltipComponent } from './tooltip.component';\nimport { VisTooltipDirective } from './tooltip.directive';\n\n@NgModule({\n\tdeclarations: [VisTooltipDirective],\n\timports: [OverlayModule, VisTooltipComponent],\n\texports: [VisTooltipDirective],\n})\nexport class VisTooltipModule {}\n","import { ShippingAddress } from '../components/shipping-address-section/shipping-address.interface';\nimport { Product } from '../modules/lens-parameter/public-api';\nimport { OrderRequest } from '../services/order/order';\nimport { ImageInformation } from './app';\nimport {\n\tFileUploadReference,\n\tLens,\n\tOrder,\n\tOrderApiResult,\n\tOrderRxFileUploadApiResult,\n\tProductApiResult,\n\tShippingInformation,\n} from './interfaces';\n\nexport function transformOrderApiResult(input: OrderApiResult): Order {\n\tconst output: Order = {\n\t\tid: input.id,\n\t\tcreatedTimestamp: input.orderCreationUtcTimestamp,\n\t\torderId: input.orderId,\n\t\tzeissId: input.account.zeissId,\n\t\ttype: input.type,\n\t\terrors: input.product.errors?.map((error) => {\n\t\t\treturn {\n\t\t\t\trun: error.run,\n\t\t\t\terrorReceivedUtcTimestamp: error.errorReceivedUtcTimestamp,\n\t\t\t\terrorDetails: error.errorDetails.map((errorDetail) => {\n\t\t\t\t\treturn {\n\t\t\t\t\t\terrorCode: errorDetail.errorCode,\n\t\t\t\t\t\treviewerComment: errorDetail.reviewerComment,\n\t\t\t\t\t\terrorCodeText: errorDetail.errorMessage,\n\t\t\t\t\t};\n\t\t\t\t}),\n\t\t\t};\n\t\t}),\n\t\tstatus: {\n\t\t\tid: input.status.id,\n\t\t\tdescription: input.status.description,\n\t\t\tdisplayName: input.status.displayName,\n\t\t},\n\t\tshippingInfo: {\n\t\t\tid: input.account.id,\n\t\t\tzeissId: input.account.zeissId,\n\t\t\tadditionalAddressInformation: input.shippingAddress?.additionalAddressInformation || '' || '',\n\t\t\tcity: input.shippingAddress?.city || '',\n\t\t\tcompanyName: input.shippingAddress?.companyName || '',\n\t\t\tcountryCode: input.shippingAddress?.countryCode || '',\n\t\t\tfirstName: input.shippingAddress?.name || '',\n\t\t\tlastName: input.shippingAddress?.lastName || '',\n\t\t\tmailAddress: input.account.eMailAddress,\n\t\t\tstate: input.shippingAddress?.state || '',\n\t\t\tstreet: input.shippingAddress?.streetHouseNumber || '',\n\t\t\tzipCode: input.shippingAddress?.zip || '',\n\t\t},\n\t\tproduct: {\n\t\t\twearerAgeId: input.product.wearerAgeRangeId,\n\t\t\tengraving: input.product.engraving || undefined,\n\t\t\toutOfRangeValuesSelected: input.product.outOfRangeValuesSelected,\n\t\t},\n\t\tvoucherCode: input.voucherCode,\n\t};\n\n\tif (input.product.rxPass && input.type === 'rxPassData') {\n\t\toutput.rxData = {\n\t\t\tfiles: [\n\t\t\t\t...input.product.rxPass.rxPassFiles.map((file) => {\n\t\t\t\t\treturn {\n\t\t\t\t\t\tfileId: file.rxPassFileId,\n\t\t\t\t\t\tzeissId: input.account.zeissId,\n\t\t\t\t\t\tfileName: file.rxPassFileName,\n\t\t\t\t\t};\n\t\t\t\t}),\n\t\t\t],\n\t\t};\n\t}\n\n\tif (input.product.left && input.product.right) {\n\t\toutput.product.rx = {\n\t\t\tleft: {\n\t\t\t\taddition: input.product.left.addition,\n\t\t\t\taxis: input.product.left.axis,\n\t\t\t\tcylinder: input.product.left.cylinder,\n\t\t\t\tprism: input.product.left.prism,\n\t\t\t\tsphere: input.product.left.sphere,\n\t\t\t},\n\t\t\tright: {\n\t\t\t\taddition: input.product.right.addition,\n\t\t\t\taxis: input.product.right.axis,\n\t\t\t\tcylinder: input.product.right.cylinder,\n\t\t\t\tprism: input.product.right.prism,\n\t\t\t\tsphere: input.product.right.sphere,\n\t\t\t},\n\t\t};\n\t}\n\tif (input.product.vRxLeft && input.product.vRxRight) {\n\t\toutput.product.vrx = {\n\t\t\tleft: {\n\t\t\t\taxis: input.product.vRxLeft.axis,\n\t\t\t\tcylinder: input.product.vRxLeft.cylinder,\n\t\t\t\tsphere: input.product.vRxLeft.sphere,\n\t\t\t},\n\t\t\tright: {\n\t\t\t\taxis: input.product.vRxRight.axis,\n\t\t\t\tcylinder: input.product.vRxRight.cylinder,\n\t\t\t\tsphere: input.product.vRxRight.sphere,\n\t\t\t},\n\t\t};\n\t}\n\n\treturn output;\n}\n\nexport function transformCompStateToOrderRequest(\n\tstate: {\n\t\tvoucher: string;\n\t\tproductConfig: {\n\t\t\tengraving: string;\n\t\t\twearerAgeId?: number;\n\t\t};\n\t\tshipping?: ShippingAddress;\n\t\timageInfo?: ImageInformation;\n\t\tmanualRx?: {\n\t\t\tleft: Lens;\n\t\t\tright: Lens;\n\t\t};\n\t\thasOutOfRange: boolean;\n\t\tfileUploadReferences: FileUploadReference[];\n\t},\n\tmail: string,\n\tzeissId: number,\n\tmanualRx: boolean = false\n): OrderRequest {\n\tconst order: OrderRequest = {\n\t\taccount: {\n\t\t\tcompanyName: state.shipping?.company!,\n\t\t\teMailAddress: mail,\n\t\t\tlastName: state.shipping?.lastName!,\n\t\t\tname: state.shipping?.firstName!,\n\t\t},\n\t\tshippingAddress: {\n\t\t\tcity: state.shipping?.city!,\n\t\t\tcountryCode: state.shipping?.country!,\n\t\t\tname: state.shipping?.firstName!,\n\t\t\tlastName: state.shipping?.lastName!,\n\t\t\tstreetHouseNumber: state.shipping?.street!,\n\t\t\tzip: state.shipping?.zipCode!,\n\t\t\tcompanyName: state.shipping?.company,\n\t\t\tstate: state.shipping?.state,\n\t\t},\n\t\tproduct: {\n\t\t\tengraving: state.productConfig.engraving!,\n\t\t\tquantity: 1,\n\t\t\twearerAgeRangeId: state.productConfig.wearerAgeId!,\n\t\t\toutOfRangeValuesSelected: state.hasOutOfRange,\n\t\t},\n\t\ttype: manualRx ? 'manualData' : 'rxPassData',\n\t\tvoucherCode: state.voucher,\n\t};\n\n\tif (manualRx) {\n\t\torder.product.left = {\n\t\t\t...state.manualRx!.left,\n\t\t};\n\t\torder.product.right = {\n\t\t\t...state.manualRx!.right,\n\t\t};\n\t} else {\n\t\torder.product.rxPass = {\n\t\t\tcountryCode: state.shipping?.country!,\n\t\t\tcountryStateCode: state.shipping?.state,\n\t\t\trxPassFiles: [\n\t\t\t\t...state.fileUploadReferences.map((ref, index) => ({\n\t\t\t\t\tindex,\n\t\t\t\t\trxPassFileId: ref.fileId,\n\t\t\t\t})),\n\t\t\t],\n\t\t};\n\t}\n\n\treturn order;\n}\n\nexport function transformShippingInformationToShippingAddress(\n\tinfo?: ShippingInformation\n): ShippingAddress | undefined {\n\tif (!info) return undefined;\n\tconst address: ShippingAddress = {\n\t\tcity: info.city || '',\n\t\tcountry: info.countryCode || '',\n\t\tfirstName: info.firstName || '',\n\t\tlastName: info.lastName || '',\n\t\tstate: info.state || '',\n\t\tstreet: info.street || '',\n\t\tzipCode: info.zipCode || '',\n\t\tcompany: info.companyName || '',\n\t\tfloorBuilding: '',\n\t};\n\n\treturn address;\n}\n\nexport function transformProductApiResponse(input: ProductApiResult): Product {\n\treturn {\n\t\tid: input.id,\n\t\tname: input.name,\n\t\tsphere: {\n\t\t\tcylinderRanges: input.sphere.cylinderRanges,\n\t\t\tstep: input.sphere.step,\n\t\t},\n\t\taddition: {\n\t\t\tmax: input.addition.max,\n\t\t\tmin: input.addition.min,\n\t\t\tstep: input.addition.step,\n\t\t},\n\t\tcylinder: {\n\t\t\tmax: input.cylinder.max,\n\t\t\tmin: input.cylinder.min,\n\t\t\tstep: input.cylinder.step,\n\t\t},\n\t\taxis: {\n\t\t\tmax: input.axis.max,\n\t\t\tmin: input.axis.min,\n\t\t\tstep: input.axis.step,\n\t\t},\n\t\tproductType: input.productType,\n\t};\n}\n\nexport const transformFileUploadApiResponse = (\n\tinput: OrderRxFileUploadApiResult\n): FileUploadReference => {\n\treturn {\n\t\tfileId: input.rxPassFileId,\n\t\tzeissId: input.zeissId,\n\t\tfileName: input.rxPassFileName,\n\t};\n};\n","import { AppColors } from 'src/app/common/app';\n\nimport { Component, Input, OnChanges, SimpleChange } from '@angular/core';\nimport { ValidationErrors } from '@angular/forms';\n\nimport { NgIf } from '@angular/common';\nimport { ValidationErrorsCustom } from './validators';\n\n@Component({\n\tstandalone: true,\n\tselector: 'vis-form-error',\n\tstyleUrls: ['./form-error.component.scss'],\n\ttemplateUrl: './form-error.component.html',\n\timports: [NgIf],\n})\nexport class FormErrorComponent implements OnChanges {\n\t@Input() errors?: ValidationErrors | ValidationErrorsCustom | null;\n\tappColors = AppColors;\n\tlastError?: string;\n\n\tconstructor() {}\n\n\tngOnChanges(changes: { [propertyName: string]: SimpleChange }): void {\n\t\tconst errors = changes['errors'].currentValue as ValidationErrorsCustom;\n\t\tif (changes['errors'].currentValue) {\n\t\t\tif (errors.required) {\n\t\t\t\tthis.lastError = 'Required';\n\t\t\t} else if (errors.requiredTrim) {\n\t\t\t\tthis.lastError = 'Not only whitespaces';\n\t\t\t} else if (errors.minlength) {\n\t\t\t\tthis.lastError = `Equal or greater ${errors.minlength.requiredLength} characters`;\n\t\t\t} else if (errors.maxlength) {\n\t\t\t\tthis.lastError = `Equal or less ${errors.maxlength.requiredLength} characters`;\n\t\t\t} else if (errors.min) {\n\t\t\t\tthis.lastError = `At least ${errors.min.min}`;\n\t\t\t} else if (errors.max) {\n\t\t\t\tthis.lastError = `Not greater than ${errors.max.max}`;\n\t\t\t} else if (errors.fixedLength) {\n\t\t\t\tthis.lastError = `Exactly ${errors.fixedLength.fixedLength} ${errors.fixedLength.type}`;\n\t\t\t} else if (errors.allowedRegExp) {\n\t\t\t\tthis.lastError = errors.allowedRegExp.description;\n\t\t\t} else if (errors.forbiddenRegExp) {\n\t\t\t\tthis.lastError = errors.forbiddenRegExp.description;\n\t\t\t} else if (errors.codeAlreadyClaimed) {\n\t\t\t\tthis.lastError = `This code was already used.`;\n\t\t\t} else if (errors.apiError) {\n\t\t\t\tthis.lastError = `Couldn't validate code.`;\n\t\t\t} else if (errors.allowedCharCodes) {\n\t\t\t\tthis.lastError = `${errors.allowedCharCodes.description}${(\n\t\t\t\t\terrors.allowedCharCodes.forbiddenChars ?? []\n\t\t\t\t)\n\t\t\t\t\t.map((x) => String.fromCodePoint(x))\n\t\t\t\t\t.join('')}`;\n\t\t\t} else if (errors.maxLengthSpecialChars) {\n\t\t\t\tthis.lastError = `Your message does not fit in the available space.`;\n\t\t\t} else {\n\t\t\t\tthis.lastError = 'Invalid';\n\t\t\t}\n\t\t} else {\n\t\t\tthis.lastError = undefined;\n\t\t}\n\t}\n}\n","\n","import { AsyncPipe, NgIf } from '@angular/common';\nimport { CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';\nimport { MatDialog, MatDialogModule } from '@angular/material/dialog';\nimport { Router, RouterModule } from '@angular/router';\nimport { lastValueFrom } from 'rxjs';\nimport { App, AppColors } from 'src/app/common/app';\nimport { AuthService } from 'src/app/common/auth/auth.service';\nimport { VisTooltipModule } from 'src/app/common/tooltip/tooltip.module';\nimport { ShortenPipe } from 'src/app/pipes/shorten.pipe';\nimport { VisAttributeDirective } from '../../directives/attribute/attribute.directive';\nimport { ORDER_SERVICE } from '../../services/order/order';\nimport { OrderService } from '../../services/order/order.service';\nimport { IconComponent } from '../icon/icon.component';\nimport { ProfileDialogComponent } from '../profile-dialog/profile-dialog.component';\n\n@Component({\n\tstandalone: true,\n\tselector: 'vis-headerbar',\n\ttemplateUrl: './headerbar.component.html',\n\tstyleUrls: ['./headerbar.component.scss'],\n\timports: [\n\t\tIconComponent,\n\t\tNgIf,\n\t\tShortenPipe,\n\t\tVisTooltipModule,\n\t\tMatDialogModule,\n\t\tProfileDialogComponent,\n\t\tRouterModule,\n\t\tAsyncPipe,\n\t\tVisAttributeDirective,\n\t],\n\tproviders: [\n\t\t{\n\t\t\tprovide: ORDER_SERVICE,\n\t\t\tuseClass: OrderService,\n\t\t},\n\t],\n\tschemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class HeaderbarComponent {\n\tapp = App;\n\tappColors = AppColors;\n\n\tconstructor(public auth: AuthService, private dialog: MatDialog, public router: Router) {}\n\n\tasync openUserProfile() {\n\t\tawait lastValueFrom(\n\t\t\tthis.dialog\n\t\t\t\t.open(ProfileDialogComponent, {\n\t\t\t\t\tautoFocus: true,\n\t\t\t\t\tposition: {\n\t\t\t\t\t\ttop: '50px',\n\t\t\t\t\t\tright: '10vw',\n\t\t\t\t\t},\n\t\t\t\t})\n\t\t\t\t.afterClosed()\n\t\t);\n\t}\n}\n","\n\t\n\t
\n\t\t\n\t
\n\n\t\n\t\n\t\n\t\n\t\n\t\t\n\t\n\n\t\n\t\n\t\t\n\t\n\n\t\n\t\n\n\t\n\t\n\t\t\n\t\n
\n","import { AppColors } from 'src/app/common/app';\n\nimport { CommonModule, NgSwitch, NgSwitchCase } from '@angular/common';\nimport {\n\tCUSTOM_ELEMENTS_SCHEMA,\n\tComponent,\n\tElementRef,\n\tInput,\n\tOnChanges,\n\tOnInit,\n\tRenderer2,\n\tSimpleChanges,\n} from '@angular/core';\nimport { MatIconModule } from '@angular/material/icon';\n\n@Component({\n\tstandalone: true,\n\tselector: 'vis-icon',\n\ttemplateUrl: './icon.component.html',\n\tstyleUrls: ['./icon.component.scss'],\n\timports: [MatIconModule, CommonModule, NgSwitch, NgSwitchCase],\n\tschemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class IconComponent implements OnInit, OnChanges {\n\t@Input() name?: string;\n\t@Input() size: string = 's16';\n\t@Input() color?: AppColors;\n\t@Input() mode: 'zui' | 'ng' | 'ng-svg' = 'zui';\n\n\tprivate _icon?: any;\n\tprivate _initialChanges?: SimpleChanges;\n\n\tconstructor(private _el: ElementRef, private _renderer: Renderer2) {}\n\n\tngOnInit(): void {\n\t\tif (this.mode === 'zui' && this.name) {\n\t\t\tthis._icon = this._renderer.createElement(this.name);\n\t\t\tthis._renderer.appendChild(this._el.nativeElement, this._icon);\n\t\t\tthis.ngOnChanges(this._initialChanges!);\n\t\t}\n\t}\n\n\tngOnChanges(changes: SimpleChanges): void {\n\t\tif (!this._icon) {\n\t\t\tthis._initialChanges = changes;\n\t\t}\n\n\t\tif (this.mode !== 'zui' || !this._icon) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (changes['color']) {\n\t\t\tthis._renderer.setAttribute(this._icon, 'color', changes['color'].currentValue);\n\t\t}\n\t\tif (changes['size']) {\n\t\t\tthis._icon!.size = this.size;\n\t\t}\n\t}\n}\n","\n\n\n\t {{ name }}\n\n\t\n\n","import { CommonModule } from '@angular/common';\nimport { Component, ElementRef, Input, SimpleChanges } from '@angular/core';\nimport { ValidationErrors } from '@angular/forms';\nimport { FormErrorComponent } from '../form-validation/form-error.component';\n\n@Component({\n\tstandalone: true,\n\tselector: 'vis-item',\n\ttemplateUrl: './item.component.html',\n\tstyleUrls: ['./item.component.scss'],\n\timports: [CommonModule, FormErrorComponent],\n})\nexport class ItemComponent {\n\t@Input() label?: any;\n\t@Input() align: 'left' | 'right' = 'right';\n\t@Input() errors: ValidationErrors | null | undefined;\n\t@Input() hint?: any;\n\t@Input() fullWidth = false;\n\t@Input() fixed = false;\n\t@Input() stacked = false;\n\n\tconstructor(private _hostEl: ElementRef) {}\n\n\tngOnChanges(changes: SimpleChanges): void {\n\t\tif (changes['stacked']?.currentValue === true) {\n\t\t\tthis._hostEl.nativeElement.classList.add('stacked');\n\t\t} else if (changes['stacked']?.currentValue === false) {\n\t\t\tthis._hostEl.nativeElement.classList.remove('stacked');\n\t\t}\n\t}\n}\n","

\n\t{{ label }}\n

\n
\n\n\t\n\t
\n\t\n\t\n\n","import { DatePipe, NgIf } from '@angular/common';\nimport { Component, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';\nimport { App, AppColors } from 'src/app/common/app';\nimport { AuthService } from 'src/app/common/auth/auth.service';\nimport { SettingsService } from 'src/app/common/settings/settings.service';\nimport { BusyDirective } from 'src/app/directives/busy/busy.directive';\nimport { ShortenPipe } from 'src/app/pipes/shorten.pipe';\nimport { Build } from 'src/environments/build';\nimport { environment } from 'src/environments/environment';\nimport { IconComponent } from '../icon/icon.component';\nimport { ItemComponent } from '../item/item.component';\n\n@Component({\n\tstandalone: true,\n\tselector: 'vis-profile-dialog',\n\ttemplateUrl: './profile-dialog.component.html',\n\tstyleUrls: ['./profile-dialog.component.scss'],\n\timports: [ItemComponent, NgIf, ShortenPipe, DatePipe, BusyDirective, IconComponent],\n\tschemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class ProfileDialogComponent {\n\tbusy = false;\n\tappColors = AppColors;\n\tapp = App;\n\tbuild = Build;\n\tenvDisplay = environment.appMeta.environment === 'PROD' ? '' : environment.appMeta.environment;\n\n\tconstructor(public auth: AuthService, public settings: SettingsService) {}\n\n\tsignOut() {\n\t\tthis.busy = true;\n\t\tlocalStorage.clear(); // Remove users locally stored data\n\t\tsetTimeout(() => this.auth.SignOut(), 1000);\n\t}\n}\n","\n\t\n\t\tYour profile\n\t\n\n\t
\n\t\t\n\t\t\t{{ auth.UserZeissId?.ZeissIdBase?.accountId }}\n\t\t\n\n\t\t\n\t\t\t

{{ auth.UserZeissId?.ZeissIdBase?.eMail }}

\n\t\t
\n\n\t\t\n\t\t\t

\n\t\t\t\t{{ auth.UserZeissId?.ZeissIdBase?.firstName }} {{ auth.UserZeissId?.ZeissIdBase?.lastName }}\n\t\t\t

\n\t\t
\n\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t
\n\n\t\n\t\t{{ app.Name1 }} {{ app.Name2 }}\n\t\n\n\t
\n\t\t

\n\t\t\t{{ app.Name1 }} {{ app.Name2 }} {{ build.appVersion }}\n\t\t\t\n\t\t\t\t●\n\t\t\t\t{{ envDisplay }}\n\t\t\t\t● #{{ build.lastCommit }}\n\t\t\t\n\t\t

\n\n\t\t

\n\t\t\t\n\t\t\t\t#{{ build.lastCommit }}\n\t\t\t\n\t\t\t●\n\t\t\t{{ build.lastCommitTime | date: 'YYYY/MM/dd HH:mm' }}\n\t\t\t●\n\t\t\t\n\t\t

\n\n\t\t

\n\t\t\t\n\t\t\t\tMade with ♥︎ by VIS-BIT of\n\t\t\t\n\t\t\tCarl Zeiss Vision International GmbH\n\t\t

\n\t
\n
\n","import { CommonModule } from '@angular/common';\nimport { Component, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';\nimport { AuthService } from 'src/app/common/auth/auth.service';\nimport { BusyDirective } from 'src/app/directives/busy/busy.directive';\n\n@Component({\n\tselector: 'vis-splash',\n\tstandalone: true,\n\timports: [CommonModule, BusyDirective],\n\ttemplateUrl: './splash.component.html',\n\tstyleUrls: ['./splash.component.scss'],\n\tschemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class SplashComponent {\n\tconstructor(public auth: AuthService) {}\n\n\tsignIn() {\n\t\tsetTimeout(() => this.auth.SignIn());\n\t}\n}\n","
\n\t
\n\t\t Sign In \n\t
\n
\n","import { Directive, ElementRef, Input } from '@angular/core';\n\n@Directive({ selector: '[visAttribute]', standalone: true })\nexport class VisAttributeDirective {\n\tprivate _host: HTMLElement;\n\n\t@Input() set visAttribute(attributes: { [key: string]: any }) {\n\t\tfor (const attribute in attributes) {\n\t\t\tif (Object.prototype.hasOwnProperty.call(attributes, attribute)) {\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\tif (attributes[attribute] === null || attributes[attribute] === undefined) {\n\t\t\t\t\t\tthis._host.removeAttribute(attribute);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis._host.setAttribute(attribute, attributes[attribute]);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t}\n\n\tconstructor(private el: ElementRef) {\n\t\tthis._host = this.el.nativeElement;\n\t}\n}\n","import { Directive, ElementRef, Input, Renderer2, RendererStyleFlags2 } from '@angular/core';\n\n@Directive({\n\tselector: '[busy]',\n\tstandalone: true,\n})\nexport class BusyDirective {\n\tprivate _container: ElementRef;\n\tprivate _spinnerContainer: ElementRef;\n\tprivate _spinner: ElementRef;\n\tprivate _elLastPosition = '';\n\n\tconstructor(private _el: ElementRef, private _renderer: Renderer2) {\n\t\tthis._container = this._renderer.createElement('div');\n\t\tthis._spinnerContainer = this._renderer.createElement('div');\n\t\tthis._renderer.addClass(this._container, 'vis-overlay-blur');\n\n\t\tthis._spinner = this._renderer.createElement('zui-progress-ring');\n\t\tthis._renderer.setStyle(this._spinner, 'borderRadius', '50%');\n\t\tthis._renderer.setProperty(this._spinner, 'size', 's16');\n\t\tthis._renderer.setProperty(this._spinner, 'emphasis', 'highlight');\n\n\t\tthis._renderer.appendChild(this._container, this._spinnerContainer);\n\t\tthis._renderer.appendChild(this._spinnerContainer, this._spinner);\n\t}\n\n\t@Input() set busy(value: boolean) {\n\t\tif (value) {\n\t\t\tthis._elLastPosition = this._el.nativeElement.style.position;\n\t\t\tthis._renderer.setStyle(\n\t\t\t\tthis._el.nativeElement,\n\t\t\t\t'position',\n\t\t\t\t'relative',\n\t\t\t\tRendererStyleFlags2.Important\n\t\t\t);\n\t\t\tthis._renderer.setAttribute(this._el.nativeElement, 'disabled', 'true');\n\t\t\tthis._renderer.appendChild(this._el.nativeElement, this._container);\n\t\t} else {\n\t\t\tthis._el.nativeElement.style.position = this._elLastPosition;\n\t\t\tthis._renderer.removeAttribute(this._el.nativeElement, 'disabled');\n\t\t\tthis._renderer.removeChild(this._el.nativeElement, this._container);\n\t\t}\n\t}\n}\n","import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n\tname: 'shorten',\n\tstandalone: true,\n})\nexport class ShortenPipe implements PipeTransform {\n\ttransform(value?: string, maxLength = 20) {\n\t\tif (maxLength < 5 || !value || value.trim().length <= maxLength) {\n\t\t\treturn value;\n\t\t}\n\n\t\tmaxLength -= 1;\n\n\t\tconst partsLength = maxLength / 2;\n\n\t\treturn `${value.substring(0, partsLength).trim()}…${value\n\t\t\t.substring(value.length - partsLength)\n\t\t\t.trim()}`;\n\t}\n}\n","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { BehaviorSubject, finalize, Observable } from 'rxjs';\nimport { map, tap } from 'rxjs/operators';\nimport {\n\tFileUploadReference,\n\tOrder,\n\tOrderApiResult,\n\tOrderRxFileUploadApiResult,\n\tOrderRxPassImageApiResult,\n\tProductApiResult,\n} from 'src/app/common/interfaces';\nimport { LogCat } from 'src/app/common/logger/logger';\nimport { LoggerService } from 'src/app/common/logger/logger.service';\nimport { logError, OngoingRequest, startRequest } from 'src/app/common/services/service.common';\nimport {\n\ttransformFileUploadApiResponse,\n\ttransformOrderApiResult,\n\ttransformProductApiResponse,\n} from 'src/app/common/transformers';\nimport { endpoints } from 'src/environments/api-endpoints/endpoints';\nimport { ImageInformation } from '../../common/app';\nimport { Product } from '../../modules/lens-parameter/public-api';\nimport { OrderProvider, OrderRequest } from './order';\n\n@Injectable()\nexport class OrderService implements OrderProvider {\n\tprivate ongoingRequests$: BehaviorSubject = new BehaviorSubject<\n\t\tOngoingRequest[]\n\t>([]);\n\tprivate backendFailure$ = new BehaviorSubject(false);\n\n\tprivate uploadProgress$ = new BehaviorSubject(0);\n\n\tconstructor(private http: HttpClient, private logger: LoggerService) {}\n\n\tpublic get isBusy$(): Observable {\n\t\treturn this.ongoingRequests$.pipe(map((x: any[]) => x.length > 0));\n\t}\n\n\tpublic get uploadProgress(): Observable {\n\t\treturn this.uploadProgress$.asObservable();\n\t}\n\n\tsubmitOrder(order: OrderRequest): Observable {\n\t\tconst val = startRequest('submitOrder');\n\t\tconst ongoingRequests = this.ongoingRequests$.getValue();\n\t\tongoingRequests.push(val);\n\t\tthis.ongoingRequests$.next(ongoingRequests);\n\n\t\treturn this.http\n\t\t\t.post(`${endpoints.order.base}${endpoints.order.oder}`, order, {\n\t\t\t\theaders: {\n\t\t\t\t\t'Access-Control-Allow-Origin': '*',\n\t\t\t\t\t'Ocp-Apim-Subscription-Key': endpoints.order.ocpApimSubscriptionKey,\n\t\t\t\t\tAuthorization: `Bearer ${localStorage.getItem('id-token-zid')}`,\n\t\t\t\t},\n\t\t\t})\n\t\t\t.pipe(\n\t\t\t\tmap((response) => transformOrderApiResult(response)),\n\t\t\t\ttap({\n\t\t\t\t\tnext: (response) => {\n\t\t\t\t\t\treturn response;\n\t\t\t\t\t},\n\t\t\t\t\terror: (err) => {\n\t\t\t\t\t\tconst backendError = logError(this.logger, err, LogCat.order, false, true);\n\t\t\t\t\t\tthis.backendFailure$.next(backendError);\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t\tfinalize(() => this.endRequest(val.id))\n\t\t\t);\n\t}\n\n\tupdateOrder(\n\t\tid: string,\n\t\torder: OrderRequest,\n\t\tchanged: { image: boolean; rx: boolean }\n\t): Observable {\n\t\tconst val = startRequest('updateOrder');\n\t\tconst ongoingRequests = this.ongoingRequests$.getValue();\n\t\tongoingRequests.push(val);\n\t\tthis.ongoingRequests$.next(ongoingRequests);\n\n\t\tlet query = '';\n\t\tif (order.type === 'manualData' && changed.rx) {\n\t\t\tquery = '?rxr=1';\n\t\t} else if (order.type === 'rxPassData' && changed.image) {\n\t\t\tquery = '?rxr=1&ic=1';\n\t\t}\n\n\t\treturn this.http\n\t\t\t.put(`${endpoints.order.base}${endpoints.order.oder}/${id}${query}`, order, {\n\t\t\t\theaders: {\n\t\t\t\t\t'Access-Control-Allow-Origin': '*',\n\t\t\t\t\t'Ocp-Apim-Subscription-Key': endpoints.order.ocpApimSubscriptionKey,\n\t\t\t\t\tAuthorization: `Bearer ${localStorage.getItem('id-token-zid')}`,\n\t\t\t\t},\n\t\t\t})\n\t\t\t.pipe(\n\t\t\t\tmap((response) => transformOrderApiResult(response)),\n\t\t\t\ttap({\n\t\t\t\t\tnext: (response) => {\n\t\t\t\t\t\treturn response;\n\t\t\t\t\t},\n\t\t\t\t\terror: (err) => {\n\t\t\t\t\t\tconst backendError = logError(this.logger, err, LogCat.order, false, true);\n\t\t\t\t\t\tthis.backendFailure$.next(backendError);\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t\tfinalize(() => this.endRequest(val.id))\n\t\t\t);\n\t}\n\n\tgetOrders(): Observable {\n\t\tconst val = startRequest('getOrders');\n\t\tconst ongoingRequests = this.ongoingRequests$.getValue();\n\t\tongoingRequests.push(val);\n\t\tthis.ongoingRequests$.next(ongoingRequests);\n\n\t\treturn this.http\n\t\t\t.get(`${endpoints.order.base}${endpoints.order.oder}`, {\n\t\t\t\theaders: {\n\t\t\t\t\t'Access-Control-Allow-Origin': '*',\n\t\t\t\t\t'Ocp-Apim-Subscription-Key': endpoints.order.ocpApimSubscriptionKey,\n\t\t\t\t\tAuthorization: `Bearer ${localStorage.getItem('id-token-zid')}`,\n\t\t\t\t},\n\t\t\t})\n\t\t\t.pipe(\n\t\t\t\tmap((response: OrderApiResult[]) => {\n\t\t\t\t\treturn response.map((res) => transformOrderApiResult(res));\n\t\t\t\t}),\n\t\t\t\ttap({\n\t\t\t\t\tnext: (response) => {\n\t\t\t\t\t\treturn response;\n\t\t\t\t\t},\n\t\t\t\t\terror: (err) => {\n\t\t\t\t\t\tconst backendError = logError(\n\t\t\t\t\t\t\tthis.logger,\n\t\t\t\t\t\t\t'API Error: Cannot get orders',\n\t\t\t\t\t\t\tLogCat.order,\n\t\t\t\t\t\t\tfalse,\n\t\t\t\t\t\t\ttrue\n\t\t\t\t\t\t);\n\t\t\t\t\t\tthis.backendFailure$.next(backendError);\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t\tfinalize(() => this.endRequest(val.id))\n\t\t\t);\n\t}\n\n\tgetOrder(id: string): Observable {\n\t\tconst val = startRequest('getOrder');\n\t\tconst ongoingRequests = this.ongoingRequests$.getValue();\n\t\tongoingRequests.push(val);\n\t\tthis.ongoingRequests$.next(ongoingRequests);\n\n\t\treturn this.http\n\t\t\t.get(`${endpoints.order.base}${endpoints.order.oder}/${id}`, {\n\t\t\t\theaders: {\n\t\t\t\t\t'Access-Control-Allow-Origin': '*',\n\t\t\t\t\t'Ocp-Apim-Subscription-Key': endpoints.order.ocpApimSubscriptionKey,\n\t\t\t\t\tAuthorization: `Bearer ${localStorage.getItem('id-token-zid')}`,\n\t\t\t\t},\n\t\t\t})\n\t\t\t.pipe(\n\t\t\t\tmap((response: OrderApiResult | undefined) => {\n\t\t\t\t\tif (!response) return undefined;\n\t\t\t\t\treturn transformOrderApiResult(response);\n\t\t\t\t}),\n\t\t\t\ttap({\n\t\t\t\t\tnext: (response) => {\n\t\t\t\t\t\treturn response;\n\t\t\t\t\t},\n\t\t\t\t\terror: (err) => {\n\t\t\t\t\t\tconst backendError = logError(\n\t\t\t\t\t\t\tthis.logger,\n\t\t\t\t\t\t\t'API Error: Cannot get order',\n\t\t\t\t\t\t\tLogCat.order,\n\t\t\t\t\t\t\tfalse,\n\t\t\t\t\t\t\ttrue\n\t\t\t\t\t\t);\n\t\t\t\t\t\tthis.backendFailure$.next(backendError);\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t\tfinalize(() => this.endRequest(val.id))\n\t\t\t);\n\t}\n\tdeleteOrder(id: string): Observable {\n\t\tconst val = startRequest('deleteOrder');\n\t\tconst ongoingRequests = this.ongoingRequests$.getValue();\n\t\tongoingRequests.push(val);\n\t\tthis.ongoingRequests$.next(ongoingRequests);\n\n\t\treturn this.http\n\t\t\t.delete(`${endpoints.order.base}${endpoints.order.oder}/${id}`, {\n\t\t\t\theaders: {\n\t\t\t\t\t'Access-Control-Allow-Origin': '*',\n\t\t\t\t\t'Ocp-Apim-Subscription-Key': endpoints.order.ocpApimSubscriptionKey,\n\t\t\t\t\tAuthorization: `Bearer ${localStorage.getItem('id-token-zid')}`,\n\t\t\t\t},\n\t\t\t})\n\t\t\t.pipe(\n\t\t\t\ttap({\n\t\t\t\t\tnext: () => {},\n\t\t\t\t\terror: (err) => {\n\t\t\t\t\t\tconst backendError = logError(\n\t\t\t\t\t\t\tthis.logger,\n\t\t\t\t\t\t\t'API Error: Cannot delete order',\n\t\t\t\t\t\t\tLogCat.order,\n\t\t\t\t\t\t\tfalse,\n\t\t\t\t\t\t\ttrue\n\t\t\t\t\t\t);\n\t\t\t\t\t\tthis.backendFailure$.next(backendError);\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t\tfinalize(() => this.endRequest(val.id))\n\t\t\t);\n\t}\n\n\tgetProducts(): Observable {\n\t\tconst val = startRequest('getProducts');\n\t\tconst ongoingRequests = this.ongoingRequests$.getValue();\n\t\tongoingRequests.push(val);\n\t\tthis.ongoingRequests$.next(ongoingRequests);\n\n\t\treturn this.http\n\t\t\t.get(`${endpoints.order.base}${endpoints.order.product}`, {\n\t\t\t\theaders: {\n\t\t\t\t\t'Access-Control-Allow-Origin': '*',\n\t\t\t\t\t'Ocp-Apim-Subscription-Key': endpoints.order.ocpApimSubscriptionKey,\n\t\t\t\t\tAuthorization: `Bearer ${localStorage.getItem('id-token-zid')}`,\n\t\t\t\t},\n\t\t\t})\n\t\t\t.pipe(\n\t\t\t\tmap((response) => response.map((res) => transformProductApiResponse(res))),\n\t\t\t\ttap({\n\t\t\t\t\tnext: (response) => {\n\t\t\t\t\t\treturn response;\n\t\t\t\t\t},\n\t\t\t\t\terror: (err) => {\n\t\t\t\t\t\tconst backendError = logError(\n\t\t\t\t\t\t\tthis.logger,\n\t\t\t\t\t\t\t'API Error: Cannot get products',\n\t\t\t\t\t\t\tLogCat.order,\n\t\t\t\t\t\t\tfalse,\n\t\t\t\t\t\t\ttrue\n\t\t\t\t\t\t);\n\t\t\t\t\t\tthis.backendFailure$.next(backendError);\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t\tfinalize(() => this.endRequest(val.id))\n\t\t\t);\n\t}\n\n\tuploadImage(files: FileList): Observable {\n\t\tconst val = startRequest('uploadImage');\n\t\tconst ongoingRequests = this.ongoingRequests$.getValue();\n\t\tongoingRequests.push(val);\n\t\tthis.ongoingRequests$.next(ongoingRequests);\n\n\t\tthis.uploadProgress$.next(0);\n\n\t\tconst formData = new FormData();\n\t\tfor (let file of Array.from(files)) formData.append('image', file);\n\n\t\treturn this.http\n\t\t\t.post(\n\t\t\t\t`${endpoints.order.base}${endpoints.order.rxPass}`,\n\t\t\t\tformData,\n\t\t\t\t{\n\t\t\t\t\theaders: {\n\t\t\t\t\t\t'Access-Control-Allow-Origin': '*',\n\t\t\t\t\t\t'Ocp-Apim-Subscription-Key': endpoints.order.ocpApimSubscriptionKey,\n\t\t\t\t\t\tAuthorization: `Bearer ${localStorage.getItem('id-token-zid')}`,\n\t\t\t\t\t},\n\t\t\t\t\tresponseType: 'json',\n\t\t\t\t}\n\t\t\t)\n\t\t\t.pipe(\n\t\t\t\tmap((response) => {\n\t\t\t\t\treturn response.map((r) => transformFileUploadApiResponse(r));\n\t\t\t\t}),\n\t\t\t\ttap({\n\t\t\t\t\tnext: (response) => {\n\t\t\t\t\t\treturn response;\n\t\t\t\t\t},\n\t\t\t\t\terror: (err) => {\n\t\t\t\t\t\tconst backendError = logError(\n\t\t\t\t\t\t\tthis.logger,\n\t\t\t\t\t\t\t'API Error: Cannot upload image',\n\t\t\t\t\t\t\tLogCat.order,\n\t\t\t\t\t\t\tfalse,\n\t\t\t\t\t\t\ttrue\n\t\t\t\t\t\t);\n\t\t\t\t\t\tthis.backendFailure$.next(backendError);\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t\tfinalize(() => {\n\t\t\t\t\tthis.endRequest(val.id);\n\t\t\t\t\tthis.uploadProgress$.next(100);\n\t\t\t\t})\n\t\t\t);\n\t}\n\n\tgetImageData(fileId: string): Observable {\n\t\tconst val = startRequest('getImageData');\n\t\tconst ongoingRequests = this.ongoingRequests$.getValue();\n\t\tongoingRequests.push(val);\n\t\tthis.ongoingRequests$.next(ongoingRequests);\n\n\t\treturn this.http\n\t\t\t.get(\n\t\t\t\t`${endpoints.order.base}${endpoints.order.rxPass}/${fileId}`,\n\t\t\t\t{\n\t\t\t\t\theaders: {\n\t\t\t\t\t\t'Access-Control-Allow-Origin': '*',\n\t\t\t\t\t\t'Ocp-Apim-Subscription-Key': endpoints.order.ocpApimSubscriptionKey,\n\t\t\t\t\t\tAuthorization: `Bearer ${localStorage.getItem('id-token-zid')}`,\n\t\t\t\t\t},\n\t\t\t\t}\n\t\t\t)\n\t\t\t.pipe(\n\t\t\t\tmap((response) => {\n\t\t\t\t\tconst info: ImageInformation = {\n\t\t\t\t\t\tdata: response.imageData,\n\t\t\t\t\t\textension: response.imageFileType.replace('image/', ''),\n\t\t\t\t\t\tfileId,\n\t\t\t\t\t\tmimeType: response.imageFileType,\n\t\t\t\t\t\tname: response.rxPassFileName,\n\t\t\t\t\t};\n\n\t\t\t\t\treturn info;\n\t\t\t\t}),\n\t\t\t\ttap({\n\t\t\t\t\tnext: (response) => {\n\t\t\t\t\t\treturn response;\n\t\t\t\t\t},\n\t\t\t\t\terror: (err) => {\n\t\t\t\t\t\tconst backendError = logError(\n\t\t\t\t\t\t\tthis.logger,\n\t\t\t\t\t\t\t'API Error: Cannot get current image',\n\t\t\t\t\t\t\tLogCat.order,\n\t\t\t\t\t\t\tfalse,\n\t\t\t\t\t\t\ttrue\n\t\t\t\t\t\t);\n\t\t\t\t\t\tthis.backendFailure$.next(backendError);\n\t\t\t\t\t},\n\t\t\t\t}),\n\t\t\t\tfinalize(() => {\n\t\t\t\t\tthis.endRequest(val.id);\n\t\t\t\t})\n\t\t\t);\n\t}\n\n\tprivate endRequest(uuid: string) {\n\t\tconst vals = this.ongoingRequests$.getValue();\n\t\tconst index = vals.findIndex((x) => x.id === uuid);\n\t\tif (index > -1) {\n\t\t\tvals.splice(index, 1);\n\t\t\tthis.ongoingRequests$.next(vals);\n\t\t}\n\t}\n}\n","import { InjectionToken } from '@angular/core';\nimport { Observable } from 'rxjs';\nimport { FileUploadReference, Order } from 'src/app/common/interfaces';\nimport { ImageInformation } from '../../common/app';\nimport { Product } from '../../modules/lens-parameter/public-api';\n\nexport interface OrderProvider {\n\tsubmitOrder(order: OrderRequest): Observable;\n\n\tgetOrders(): Observable;\n\n\tgetOrder(id: string): Observable;\n\n\tdeleteOrder(id: string): Observable;\n\n\tgetProducts(): Observable;\n\n\tupdateOrder(\n\t\tid: string,\n\t\torder: OrderRequest,\n\t\tchanged: { rx: boolean; image: boolean }\n\t): Observable;\n\n\tuploadImage(files: FileList): Observable;\n\n\tgetImageData(fileId: string): Observable;\n\n\treadonly isBusy$: Observable;\n}\n\nexport interface OrderRequest {\n\taccount: OrderAccountRequest;\n\tproduct: OrderProductRequest;\n\tshippingAddress: OrderShippingAddressRequest;\n\ttype: 'rxPassData' | 'manualData';\n\t/*\n\t * @Deprecated No longer used\n\t */\n\tvoucherCode: string;\n}\n\nexport interface OrderShippingAddressRequest {\n\tcompanyName?: string;\n\tlastName: string;\n\tname: string;\n\tstreetHouseNumber: string;\n\tcity: string;\n\tcountryCode: string;\n\tzip: string;\n\tstate?: string;\n}\n\nexport interface OrderAccountRequest {\n\tcompanyName?: string;\n\tlastName: string;\n\tname: string;\n\teMailAddress: string;\n}\n\nexport interface OrderProductRequest {\n\tengraving: string;\n\tquantity: number;\n\twearerAgeRangeId: number;\n\tright?: OrderProductManualRequest;\n\tleft?: OrderProductManualRequest;\n\trxPass?: OrderRxPassDataRequest;\n\toutOfRangeValuesSelected: boolean;\n}\n\nexport interface OrderProductManualRequest {\n\tsphere?: number;\n\tcylinder?: number;\n\taxis?: number;\n\taddition?: number;\n\tprism?: boolean;\n}\n\nexport interface OrderProductConfigurationRequest {\n\tid: number;\n\tname: string;\n\tproductType: string;\n}\n\nexport interface OrderRxPassDataRequest {\n\tcountryCode: string;\n\tcountryStateCode?: string;\n\trxPassFiles: OrderRxPassFile[];\n}\n\nexport interface OrderRxPassFile {\n\trxPassFileId: string;\n\tindex: number;\n}\n\nexport const ORDER_SERVICE = new InjectionToken('ORDER_SERVICE');\n","export const endpoints = {\n\torder: {\n\t\tocpApimSubscriptionKey: '3c00a8cab6124446a7d7e27c9106edba',\n\t\tbase: 'https://api-developer-order-portal-dev.zeiss.com/public',\n\t\thealth: '/api/healthextended',\n\t\toder: '/api/dop/order',\n\t\tcountry: '/api/dop/country',\n\t\tusStates: '/api/dop/country/us/state',\n\t\tproduct: '/api/dop/product',\n\t\twearerAge: '/api/dop/weareragerange',\n\t\trxPass: '/api/dop/rxpass',\n\t},\n};\n","// prettier-ignore\n // this file is automatically generated by git.version.ts script\n export const Build = {\n appVersion: `0.0.0`,\n branch: `MAIN`,\n lastCommit: `79d916f`,\n lastCommitUrl: `https://dev.azure.com/zathena/Digital-Lens-Portal/_git/Frontend.DigitalLensPortal/commit/79d916f2acb0ab28cbe8fc7ec8a7e0ffd1ee14ce`,\n lastCommitHash: `79d916f2acb0ab28cbe8fc7ec8a7e0ffd1ee14ce`,\n lastCommitTime: `2025-02-13T13:02:25Z`,\n lastCommitMessage: `Merged PR 996: Disabled out of range button, changed wearer age text\n\n# Changelog\n- 'Out of range' button is no disabled (with config flag on environment)\n- Changed text for wearer age\n\n# Screenshots\n![image.png](https://dev.azure.com/zathena/5de7aefb-8044-4dc4-82bd-625b12ec74ea/_apis/git/repositories/5d37b3c1-4bb0-440c-8427-cae7ccef62eb/pullRequests/996/attachments/image.png)\n![image (2).png](https://dev.azure.com/zathena/5de7aefb-8044-4dc4-82bd-625b12ec74ea/_apis/git/repositories/5d37b3c1-4bb0-440c-8427-cae7ccef62eb/pullRequests/996/attachments/image%20%282%29.png)`,\n lastCommitAuthor: `Aaron Czichon`\n };\n ","import { endpoints } from './api-endpoints/endpoints';\n\nexport const environment = {\n\tendpoints,\n\tallowedEngravingLength: 10,\n\tenableOutOfRangeButton: false,\n\tvoucher: {\n\t\tminLength: 12,\n\t\tmaxLength: 12,\n\t\tregex: {\n\t\t\tallowedRegex: /^[a-z0-9]+$/,\n\t\t\terrorMessage: 'Only alphanumeric characters allowed',\n\t\t},\n\t\tplaceholder: '12 alphanumeric voucher code',\n\t},\n\tappMeta: {\n\t\tenvironment: 'DEV',\n\t},\n\tauthConfig: {\n\t\t// ZEISS ID stage environment\n\t\tissuer: 'https://b2cstage.zeiss.com/483f449b-6a0d-4354-b7e7-37113e7d4ca1/v2.0/',\n\t\tclientId: '5519a679-9dc3-4bf9-91cb-4459c490ea06',\n\t\tdiscoveryDocumentUrl:\n\t\t\t'https://id-ip-stage.zeiss.com/OAuth/OpenidConfiguration?p=B2C_1A_ZeissIdNormalSignIn',\n\t\tselfServicePortalUrl: 'https://id-stage.zeiss.com/',\n\t},\n\tapi: {\n\t\theaders: {\n\t\t\tauthorization: '',\n\t\t},\n\t\tparams: {},\n\t},\n\trxPassUploadMaxFileSizeinBytesBinary: 8388608,\n\trxPassUploadMaxFileSizeinMBText: '8MB',\n\tappInsights: {\n\t\tactivated: false,\n\t\tinstrumentationKey: '74798491-6f79-48cb-8208-b258b242870e',\n\t},\n\tazureAppConfig: {\n\t\tconnectionString:\n\t\t\t'Endpoint=https://appcs-dop-shared-westeu-001.azconfig.io;Id=ZgZV-l9-s0:NevxEfwhBtztWwnRT1ro;Secret=29VMGWl68iqsqfu7AvzaAaWK+Wf+WcVsRGy0PPtGp6A=',\n\t},\n\tsampleImages: [\n\t\t'/assets/images/samples/sample1.png',\n\t\t'/assets/images/samples/sample2.png',\n\t\t'/assets/images/samples/sample3.png',\n\t],\n};\n","import { environment } from './environment';\n\nexport const App = {\n\tName1: 'Developer',\n\tName2: 'Order Portal',\n\tZeissLogo: '/assets/images/app-logo/zeiss-logo.svg',\n\tVisionLogo: '/assets/images/app-logo/vision-logo.svg',\n\tAppEntered: new Date(),\n\tLocalStorage: {\n\t\tPrefix: `ATHENA${\n\t\t\tenvironment.appMeta.environment !== 'PROD' ? '_' + environment.appMeta.environment : ''\n\t\t}_`,\n\t\tSettings: 'SETTINGS',\n\t\tLogs: 'LOGS',\n\t},\n\tRouteAnimationDuration: 200,\n};\n\n// TODO: Need to be removed and/or updated with new API\nexport const ApiShared = {\n\tPaths: {\n\t\tProduct: '/product',\n\t\tShippingLocation: '/shippinglocation',\n\t\tWearerAgeRange: '/weareragerange',\n\t\tCountries: '/country',\n\t\tOrder: '/order',\n\t\tBuiltPhases: '/built',\n\t\tBuiltPhaseCurrent: '/built/current',\n\t},\n};\n\n// TODO: Need to be removed and/or updated with new API\nexport const ApiVersion = {\n\t'v1.0': '/v1.0',\n};\n\nexport const customIcons = [\n\t{\n\t\tLabel: 'cust-glasses-left',\n\t\tPath: 'assets/icons/glasses-left.svg',\n\t},\n\t{\n\t\tLabel: 'cust-glasses-left-active',\n\t\tPath: 'assets/icons/glasses-left-active.svg',\n\t},\n\t{\n\t\tLabel: 'cust-glasses-right',\n\t\tPath: 'assets/icons/glasses-right.svg',\n\t},\n\t{\n\t\tLabel: 'cust-glasses-right-active',\n\t\tPath: 'assets/icons/glasses-right-active.svg',\n\t},\n\t{\n\t\tLabel: 'cust-lens-add',\n\t\tPath: 'assets/icons/lens-add.svg',\n\t},\n\t{\n\t\tLabel: 'cust-lens-edit',\n\t\tPath: 'assets/icons/lens-edit.svg',\n\t},\n\t{\n\t\tLabel: 'cust-lens-check',\n\t\tPath: 'assets/icons/lens-check.svg',\n\t},\n];\n\nexport const supportedFileTypes = [\n\t'image/jpg',\n\t'image/jpeg',\n\t'image/png',\n\t'application/pdf',\n\t'image/heic',\n\t'image/gif',\n\t'image/heif',\n];\n\nexport const tcLink = 'legal/terms_and_conditions_2020.pdf';\n\nexport const footerLink = 'https://www.zeiss.com/vision-care/us/eyeglass-lenses-from-zeiss.html';\n","import { enableProdMode } from '@angular/core';\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\nimport '@zeiss/zui';\nimport '@zeiss/zui-icons';\nimport {\n\tregisterTheme,\n\tregisterTypefaces,\n\tsetAppTheme,\n\tthemeZbdsBase,\n\tthemeZbdsLight,\n} from '@zeiss/zui-themes';\n\nimport { AppModule } from './app/app.module';\nimport { environment } from './environments/environment';\n\nregisterTheme(themeZbdsBase);\nregisterTheme(themeZbdsLight);\nsetAppTheme('zbds-light');\n\nregisterTypefaces('/fonts');\n\nif (environment.appMeta.environment === 'PRD') {\n\tenableProdMode();\n}\n\nplatformBrowserDynamic()\n\t.bootstrapModule(AppModule)\n\t.catch((err) => console.error(err));\n"],"names":["customIcons","i0","AppComponent","constructor","auth","matIconRegistry","domSanitizer","registerCustomIcons","forEach","icon","addSvgIcon","Label","bypassSecurityTrustResourceUrl","Path","selectors","decls","vars","consts","template","_r1","NgIf","MatDialogModule","RouterModule","lastValueFrom","App","AppColors","VisTooltipModule","ShortenPipe","VisAttributeDirective","ORDER_SERVICE","OrderService","IconComponent","ProfileDialogComponent","ctx_r2","HeaderbarComponent","dialog","router","openUserProfile","open","autoFocus","position","top","right","afterClosed","standalone","features","provide","useClass","ctx","i4","i3","styles","CommonModule","BusyDirective","SplashComponent","signIn","setTimeout","SignIn","i2"],"sourceRoot":"webpack:///","x_google_ignoreList":[]}