\").appendTo(viewPort());\n new Toast($notify, options).show();\n}\nconst getDefaultDirection = position => isString(position) && position.includes(\"top\") ? \"down-push\" : \"up-push\";\nconst createStackContainer = key => {\n const $container = $(\"
\").appendTo(viewPort());\n $containers[key] = $container;\n return $container;\n};\nconst getStackContainer = key => {\n const $container = $containers[key];\n return $container || createStackContainer(key);\n};\nconst setContainerClasses = (container, direction) => {\n const containerClasses = `dx-toast-stack dx-toast-stack-${direction}-direction`;\n container.removeAttr(\"class\").addClass(containerClasses);\n};\nconst setContainerStyles = (container, direction, position) => {\n const {\n offsetWidth: toastWidth,\n offsetHeight: toastHeight\n } = container.children().first().get(0);\n const dimensions = {\n toastWidth: toastWidth,\n toastHeight: toastHeight,\n windowHeight: window.innerHeight,\n windowWidth: window.innerWidth\n };\n const coordinates = isString(position) ? getCoordinatesByAlias(position, dimensions) : position;\n const styles = getPositionStylesByCoordinates(direction, coordinates, dimensions);\n container.css(styles);\n};\nconst getCoordinatesByAlias = (alias, _ref) => {\n let {\n toastWidth: toastWidth,\n toastHeight: toastHeight,\n windowHeight: windowHeight,\n windowWidth: windowWidth\n } = _ref;\n switch (alias) {\n case \"top left\":\n return {\n top: 10,\n left: 10\n };\n case \"top right\":\n return {\n top: 10,\n right: 10\n };\n case \"bottom left\":\n return {\n bottom: 10,\n left: 10\n };\n case \"bottom right\":\n return {\n bottom: 10,\n right: 10\n };\n case \"top center\":\n return {\n top: 10,\n left: Math.round(windowWidth / 2 - toastWidth / 2)\n };\n case \"left center\":\n return {\n top: Math.round(windowHeight / 2 - toastHeight / 2),\n left: 10\n };\n case \"right center\":\n return {\n top: Math.round(windowHeight / 2 - toastHeight / 2),\n right: 10\n };\n case \"center\":\n return {\n top: Math.round(windowHeight / 2 - toastHeight / 2),\n left: Math.round(windowWidth / 2 - toastWidth / 2)\n };\n default:\n return {\n bottom: 10,\n left: Math.round(windowWidth / 2 - toastWidth / 2)\n };\n }\n};\nconst getPositionStylesByCoordinates = (direction, coordinates, dimensions) => {\n const {\n toastWidth: toastWidth,\n toastHeight: toastHeight,\n windowHeight: windowHeight,\n windowWidth: windowWidth\n } = dimensions;\n switch (direction.replace(/-push|-stack/g, \"\")) {\n case \"up\":\n return {\n bottom: coordinates.bottom ?? windowHeight - toastHeight - coordinates.top,\n top: \"\",\n left: coordinates.left ?? \"\",\n right: coordinates.right ?? \"\"\n };\n case \"down\":\n return {\n top: coordinates.top ?? windowHeight - toastHeight - coordinates.bottom,\n bottom: \"\",\n left: coordinates.left ?? \"\",\n right: coordinates.right ?? \"\"\n };\n case \"left\":\n return {\n right: coordinates.right ?? windowWidth - toastWidth - coordinates.left,\n left: \"\",\n top: coordinates.top ?? \"\",\n bottom: coordinates.bottom ?? \"\"\n };\n case \"right\":\n return {\n left: coordinates.left ?? windowWidth - toastWidth - coordinates.right,\n right: \"\",\n top: coordinates.top ?? \"\",\n bottom: coordinates.bottom ?? \"\"\n };\n }\n};\nexport default notify;","/**\r\n * DevExtreme (esm/ui/notify.js)\r\n * Version: 24.1.3\r\n * Build date: Tue Jun 11 2024\r\n *\r\n * Copyright (c) 2012 - 2024 Developer Express Inc. ALL RIGHTS RESERVED\r\n * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/\r\n */\nimport notify from \"../__internal/ui/m_notify\";\nexport default notify;","import { Component, computed, inject } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { ApplicationInfoService } from '../core/application-info.service';\r\nimport { ActivatedRoute, Router, RouterLink } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'app-footer',\r\n standalone: true,\r\n imports: [CommonModule, RouterLink],\r\n template: `\r\n \r\n `,\r\n styles: `\r\n .footer-group div {\r\n padding: 5px 10px;\r\n }\r\n\r\n .newsletter {\r\n width: 50%;\r\n }\r\n\r\n .button-container {\r\n display: flex;\r\n justify-content: center;\r\n gap: 10px;\r\n }\r\n\r\n a.facebook, a.linkedin {\r\n background-image: none;\r\n color: #000;\r\n font-size: 24px;\r\n }\r\n `\r\n})\r\nexport class FooterComponent {\r\n appInfo = inject(ApplicationInfoService);\r\n router = inject(Router);\r\n route = inject(ActivatedRoute);\r\n\r\n year = new Date().getFullYear();\r\n version = this.appInfo.info.version!;\r\n wordpressUrl = this.appInfo.info.wordPressUrl!;\r\n\r\n logoUrl = this.appInfo.isPPM() ? '/assets/images/ppm-logo-light.jpg' : '/assets/images/logo.jpg';\r\n warrantyInfoHref = this.appInfo.addUtm(`${this.wordpressUrl}/warranty-information`);\r\n warrantyPolicyHref = this.appInfo.addUtm(`${this.wordpressUrl}/warranty-policy`);\r\n\r\n subscribeToNewsletter() {\r\n location.href = this.appInfo.addUtm(`${this.wordpressUrl}/#subscribe-popup`);\r\n }\r\n}\r\n","import { Component, inject, signal } from '@angular/core';\r\nimport { DOCUMENT } from '@angular/common';\r\nimport { HeaderComponent } from './header.component';\r\nimport { FooterComponent } from './footer.component';\r\nimport { CommonModule } from '@angular/common';\r\nimport { ActivatedRoute, NavigationEnd, Router, RouterOutlet } from '@angular/router';\r\nimport { filter, map, mergeMap } from 'rxjs';\r\nimport { ApplicationInfoService } from '../core/application-info.service';\r\nimport { InvoiceService } from '../core/invoice.service';\r\nimport { StoreService } from '../core/store.service';\r\nimport { environment } from '../../environments/environment';\r\nimport { AnalyticsService } from '../core/analytics.service';\r\n\r\n@Component({\r\n selector: 'app-main',\r\n standalone: true,\r\n template: `\r\n @if (!loading()) {\r\n
\r\n
\r\n
\r\n }\r\n `,\r\n styles: ``,\r\n imports: [CommonModule, RouterOutlet, HeaderComponent, FooterComponent]\r\n})\r\nexport class MainComponent {\r\n storeService = inject(StoreService);\r\n appInfo = inject(ApplicationInfoService);\r\n router = inject(Router);\r\n activatedRoute = inject(ActivatedRoute);\r\n invoiceService = inject(InvoiceService);\r\n analyticsService = inject(AnalyticsService);\r\n dom = inject(DOCUMENT);\r\n\r\n hostName = 'https://shop.nadieselparts.com';\r\n\r\n isHome = signal(false);\r\n loading = this.storeService.loading;\r\n\r\n constructor() {\r\n const themeName = this.appInfo.isPPM() ? 'ppm' : 'nadiesel';\r\n document.getElementById('themeCss')?.setAttribute('href', '/assets/theme-' + themeName + '.css');\r\n const icon = this.appInfo.isPPM() ? 'ppm-favicon.ico' : 'logo-icon.jpg';\r\n document.getElementById('favIcon')?.setAttribute('href', '/assets/images/' + icon);\r\n\r\n this.router.events\r\n .pipe(\r\n filter((event) => event instanceof NavigationEnd),\r\n map(() => this.activatedRoute),\r\n map((route) => {\r\n while (route.firstChild) route = route.firstChild;\r\n return route;\r\n }),\r\n filter((route) => route.outlet === 'primary'),\r\n mergeMap((route) => route.data)\r\n )\r\n .subscribe(async (event) => {\r\n if (event['canonical']) {\r\n this.updateCanonicalUrl(this.hostName + event['canonical']);\r\n } else {\r\n this.updateCanonicalUrl(this.hostName + this.router.url.split('?')[0]);\r\n }\r\n\r\n const title = event['title'];\r\n this.appInfo.setTitle(title);\r\n this.isHome.set(title === 'Home');\r\n\r\n await this.invoiceService.checkIfPaid();\r\n });\r\n\r\n this.router.events.forEach((item) => {\r\n if (item instanceof NavigationEnd) {\r\n this.setSource(item.url);\r\n\r\n // if (!environment.isProduction) return;\r\n\r\n this.analyticsService.gtag('page_view', { page_name: item.url });\r\n }\r\n });\r\n }\r\n\r\n setSource(url: string) {\r\n const utm = this.appInfo.getUtm(url);\r\n this.invoiceService.setSourceFromParams(utm);\r\n }\r\n\r\n updateCanonicalUrl(url: string) {\r\n const head = this.dom.getElementsByTagName('head')[0];\r\n let element = this.dom.querySelector(`link[rel='canonical']`) || null;\r\n if (element == null) {\r\n element = this.dom.createElement('link') as HTMLLinkElement;\r\n head.appendChild(element);\r\n }\r\n element.setAttribute('rel', 'canonical');\r\n element.setAttribute('href', url);\r\n }\r\n}\r\n","import { Routes } from '@angular/router';\r\nimport { HomeComponent } from './home/home.component';\r\nimport { MainComponent } from './layout/main.component';\r\n\r\nexport const routes: Routes = [\r\n {\r\n path: 'components',\r\n loadChildren: () => import('./components/routes').then((mod) => mod.COMPONENT_ROUTES),\r\n },\r\n {\r\n path: '',\r\n component: MainComponent,\r\n children: [\r\n {\r\n path: '',\r\n component: HomeComponent,\r\n data: { title: 'Home' },\r\n },\r\n {\r\n path: 'search',\r\n loadComponent: () => import('./search.component').then((mod) => mod.SearchComponent),\r\n data: { title: 'Search' },\r\n },\r\n {\r\n path: 'about',\r\n loadComponent: () => import('./layout/about.component').then((mod) => mod.AboutComponent),\r\n data: { title: 'About' },\r\n },\r\n {\r\n path: 'contact-us',\r\n loadComponent: () => import('./layout/contact-us.component').then((mod) => mod.ContactUsComponent),\r\n data: { title: 'Contact Us' },\r\n },\r\n {\r\n path: 'terms-and-conditions',\r\n loadComponent: () => import('./layout/terms-and-conditions.component').then((mod) => mod.TermsAndConditionsComponent),\r\n data: { title: 'Terms & Conditions' },\r\n },\r\n {\r\n path: 'warranty-information',\r\n loadComponent: () => import('./warranty/warranty-information.component').then((mod) => mod.WarrantyInformationComponent),\r\n data: { title: 'Warranty Information' },\r\n },\r\n {\r\n path: 'warranty-policy',\r\n loadComponent: () => import('./warranty/warranty-policy.component').then((mod) => mod.WarrantyPolicyComponent),\r\n data: { title: 'Warranty Policy' },\r\n },\r\n {\r\n path: 'order-details/:invoiceNumber',\r\n loadComponent: () => import('./order-detail.component').then((mod) => mod.OrderDetailComponent),\r\n data: { title: 'Order Details' },\r\n },\r\n { path: 'products', loadChildren: () => import('./parts/routes').then((mod) => mod.PART_ROUTES) },\r\n { path: 'checkout', loadChildren: () => import('./checkout/routes').then((mod) => mod.CHECKOUT_ROUTES) },\r\n ],\r\n },\r\n\r\n { path: '**', redirectTo: '', pathMatch: 'full' },\r\n\r\n // {\r\n // path: 'admin',\r\n // },\r\n // {\r\n // path: 'account',\r\n // },\r\n // {\r\n // path: 'checkout',\r\n // },\r\n // {\r\n // path: 'shopping-cart',\r\n // },\r\n // {\r\n // path: 'search',\r\n // },\r\n];\r\n","import { ErrorHandler, Injectable } from '@angular/core';\r\nimport notify from 'devextreme/ui/notify';\r\n\r\n@Injectable()\r\nexport class ToastErrorHandler extends ErrorHandler {\r\n constructor() {\r\n // The true parameter tells Angular to rethrow exceptions, so operations like 'bootstrap' will result in an error\r\n // when an error happens. If we do not rethrow, bootstrap will always succeed.\r\n super();\r\n }\r\n\r\n override async handleError(error: any) {\r\n console.error(error);\r\n\r\n let message: string = error.rejection?.error?.Message || error.rejection?.message || error.message;\r\n if (error.rejection && error.rejection.entityErrors && Array.isArray(error.rejection.entityErrors)) {\r\n message = `${message}; Entity Errors:`;\r\n (error.rejection.entityErrors as any[]).forEach((entityError) => {\r\n message = `${message} ${entityError.errorMessage};`;\r\n });\r\n }\r\n\r\n if (message === '0: Unknown Error') message = 'Network error connecting to server';\r\n if (\r\n message.includes(\r\n 'If an IAsyncActionFilter provides a result value by setting the Result property of ActionExecutingContext to a non-null value, then it cannot call the next filter by invoking ActionExecutionDelegate.'\r\n )\r\n )\r\n message = 'The data passed to the server was in an incorrect format.';\r\n\r\n if (message.includes('Entities may have been modified or deleted since entities were loaded')) {\r\n message = 'The item you are saving was modified by another user. Please refresh your browser and make your changes again.';\r\n }\r\n if (\r\n message.includes('Client side validation errors encountered - see the entityErrors collection on this object for more detail')\r\n ) {\r\n const validationErrors = (error.entityErrors as any[]).map((entityError) => entityError.errorMessage) as string[];\r\n message = `The item you are saving is invalid. Please fix the following error(s) and try again\\n\\n${validationErrors.join(\r\n '\\n'\r\n )}`;\r\n }\r\n\r\n if (message.includes('ExpressionChangedAfterItHasBeenCheckedError')) return;\r\n if (message.includes(`Cannot read properties of undefined (reading '_updateBrokenRules')`)) return;\r\n if (message.includes(`Cannot read properties of undefined (reading 'resolve')`)) return;\r\n\r\n if (error?.status === 500) message = `Error communicating with the server: ${message}`;\r\n\r\n notify({\r\n position: { my: 'center top', at: 'center top', offset: '0 20', of: 'body' },\r\n message,\r\n closeOnClick: true,\r\n displayTime: 9000,\r\n width: '400px',\r\n type: 'error',\r\n });\r\n }\r\n}\r\n","import { APP_INITIALIZER, ApplicationConfig, ErrorHandler } from '@angular/core';\r\nimport { provideRouter, withInMemoryScrolling, withRouterConfig, withViewTransitions } from '@angular/router';\r\n\r\nimport { routes } from './app.routes';\r\nimport { provideHttpClient } from '@angular/common/http';\r\nimport { RECAPTCHA_SETTINGS, RecaptchaSettings } from 'ng-recaptcha';\r\nimport { environment } from '../environments/environment';\r\nimport { ToastErrorHandler } from './core/toast-error-handler.service';\r\nimport { ApplicationInfoService } from './core/application-info.service';\r\n\r\nexport function initializeApp(appInfo: ApplicationInfoService) {\r\n return (): Promise
=> appInfo.getApplicationInfo();\r\n}\r\n\r\nexport const appConfig: ApplicationConfig = {\r\n providers: [\r\n provideRouter(routes, withViewTransitions(), withInMemoryScrolling({ scrollPositionRestoration: 'enabled' })),\r\n provideHttpClient(),\r\n {\r\n provide: APP_INITIALIZER,\r\n useFactory: initializeApp,\r\n multi: true,\r\n deps: [ApplicationInfoService]\r\n },\r\n {\r\n provide: RECAPTCHA_SETTINGS,\r\n useValue: {\r\n siteKey: environment.recaptcha.siteKey\r\n } as RecaptchaSettings\r\n },\r\n // { provide: 'googleTagManagerId', useValue: 'GTM-TZWVFWTM' },\r\n // { provide: 'googleTagManagerId', useValue: 'G-X5PKQ07QVF' },\r\n { provide: ErrorHandler, useClass: ToastErrorHandler }\r\n ]\r\n};\r\n","import { ChangeDetectionStrategy, Component, OnInit, inject, signal } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { RouterOutlet } from '@angular/router';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { ApplicationInfoService } from './core/application-info.service';\r\nimport { PartsService } from './core/parts.service';\r\nimport { StoreService } from './core/store.service';\r\nimport { InvoiceService } from './core/invoice.service';\r\nimport { UtilityService } from './core/utility.service';\r\n\r\n@Component({\r\n selector: 'app-root',\r\n standalone: true,\r\n changeDetection: ChangeDetectionStrategy.Default,\r\n imports: [CommonModule, RouterOutlet, HttpClientModule],\r\n template: ` `,\r\n styles: ``\r\n})\r\nexport class AppComponent implements OnInit {\r\n // appInfo = inject(ApplicationInfoService);\r\n storeService = inject(StoreService);\r\n partsService = inject(PartsService);\r\n invoiceService = inject(InvoiceService);\r\n utilityService = inject(UtilityService);\r\n\r\n isHome = signal(false);\r\n\r\n async ngOnInit() {\r\n this.storeService.setLoading(true);\r\n await Promise.all([\r\n this.utilityService.getWebPhotos(),\r\n this.partsService.getPartTypes(),\r\n this.partsService.getMakes(),\r\n this.partsService.getMakeContents(),\r\n this.partsService.getPartTypeModelMaps(),\r\n this.partsService.getPromotions(),\r\n ]);\r\n // get invoice after getting all the other data so that the invoice can be updated correctly\r\n await this.invoiceService.getFromStorage();\r\n this.storeService.setLoading(false);\r\n }\r\n}\r\n","/**\n * @license Angular v17.3.11\n * (c) 2010-2024 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport { ComponentFactoryResolver, NgZone, Injector, ChangeDetectorRef, ApplicationRef, SimpleChange, Version } from '@angular/core';\nimport { ReplaySubject, merge } from 'rxjs';\nimport { switchMap, map } from 'rxjs/operators';\n\n/**\n * Provide methods for scheduling the execution of a callback.\n */\nconst scheduler = {\n /**\n * Schedule a callback to be called after some delay.\n *\n * Returns a function that when executed will cancel the scheduled function.\n */\n schedule(taskFn, delay) {\n const id = setTimeout(taskFn, delay);\n return () => clearTimeout(id);\n },\n /**\n * Schedule a callback to be called before the next render.\n * (If `window.requestAnimationFrame()` is not available, use `scheduler.schedule()` instead.)\n *\n * Returns a function that when executed will cancel the scheduled function.\n */\n scheduleBeforeRender(taskFn) {\n // TODO(gkalpak): Implement a better way of accessing `requestAnimationFrame()`\n // (e.g. accounting for vendor prefix, SSR-compatibility, etc).\n if (typeof window === 'undefined') {\n // For SSR just schedule immediately.\n return scheduler.schedule(taskFn, 0);\n }\n if (typeof window.requestAnimationFrame === 'undefined') {\n const frameMs = 16;\n return scheduler.schedule(taskFn, frameMs);\n }\n const id = window.requestAnimationFrame(taskFn);\n return () => window.cancelAnimationFrame(id);\n }\n};\n/**\n * Convert a camelCased string to kebab-cased.\n */\nfunction camelToDashCase(input) {\n return input.replace(/[A-Z]/g, char => `-${char.toLowerCase()}`);\n}\n/**\n * Check whether the input is an `Element`.\n */\nfunction isElement(node) {\n return !!node && node.nodeType === Node.ELEMENT_NODE;\n}\n/**\n * Check whether the input is a function.\n */\nfunction isFunction(value) {\n return typeof value === 'function';\n}\n/**\n * Convert a kebab-cased string to camelCased.\n */\nfunction kebabToCamelCase(input) {\n return input.replace(/-([a-z\\d])/g, (_, char) => char.toUpperCase());\n}\nlet _matches;\n/**\n * Check whether an `Element` matches a CSS selector.\n * NOTE: this is duplicated from @angular/upgrade, and can\n * be consolidated in the future\n */\nfunction matchesSelector(el, selector) {\n if (!_matches) {\n const elProto = Element.prototype;\n _matches = elProto.matches || elProto.matchesSelector || elProto.mozMatchesSelector || elProto.msMatchesSelector || elProto.oMatchesSelector || elProto.webkitMatchesSelector;\n }\n return el.nodeType === Node.ELEMENT_NODE ? _matches.call(el, selector) : false;\n}\n/**\n * Test two values for strict equality, accounting for the fact that `NaN !== NaN`.\n */\nfunction strictEquals(value1, value2) {\n return value1 === value2 || value1 !== value1 && value2 !== value2;\n}\n/** Gets a map of default set of attributes to observe and the properties they affect. */\nfunction getDefaultAttributeToPropertyInputs(inputs) {\n const attributeToPropertyInputs = {};\n inputs.forEach(({\n propName,\n templateName,\n transform\n }) => {\n attributeToPropertyInputs[camelToDashCase(templateName)] = [propName, transform];\n });\n return attributeToPropertyInputs;\n}\n/**\n * Gets a component's set of inputs. Uses the injector to get the component factory where the inputs\n * are defined.\n */\nfunction getComponentInputs(component, injector) {\n const componentFactoryResolver = injector.get(ComponentFactoryResolver);\n const componentFactory = componentFactoryResolver.resolveComponentFactory(component);\n return componentFactory.inputs;\n}\n\n// NOTE: This is a (slightly improved) version of what is used in ngUpgrade's\nfunction extractProjectableNodes(host, ngContentSelectors) {\n const nodes = host.childNodes;\n const projectableNodes = ngContentSelectors.map(() => []);\n let wildcardIndex = -1;\n ngContentSelectors.some((selector, i) => {\n if (selector === '*') {\n wildcardIndex = i;\n return true;\n }\n return false;\n });\n for (let i = 0, ii = nodes.length; i < ii; ++i) {\n const node = nodes[i];\n const ngContentIndex = findMatchingIndex(node, ngContentSelectors, wildcardIndex);\n if (ngContentIndex !== -1) {\n projectableNodes[ngContentIndex].push(node);\n }\n }\n return projectableNodes;\n}\nfunction findMatchingIndex(node, selectors, defaultIndex) {\n let matchingIndex = defaultIndex;\n if (isElement(node)) {\n selectors.some((selector, i) => {\n if (selector !== '*' && matchesSelector(node, selector)) {\n matchingIndex = i;\n return true;\n }\n return false;\n });\n }\n return matchingIndex;\n}\n\n/** Time in milliseconds to wait before destroying the component ref when disconnected. */\nconst DESTROY_DELAY = 10;\n/**\n * Factory that creates new ComponentNgElementStrategy instance. Gets the component factory with the\n * constructor's injector's factory resolver and passes that factory to each strategy.\n */\nclass ComponentNgElementStrategyFactory {\n constructor(component, injector) {\n this.componentFactory = injector.get(ComponentFactoryResolver).resolveComponentFactory(component);\n }\n create(injector) {\n return new ComponentNgElementStrategy(this.componentFactory, injector);\n }\n}\n/**\n * Creates and destroys a component ref using a component factory and handles change detection\n * in response to input changes.\n */\nclass ComponentNgElementStrategy {\n constructor(componentFactory, injector) {\n this.componentFactory = componentFactory;\n this.injector = injector;\n // Subject of `NgElementStrategyEvent` observables corresponding to the component's outputs.\n this.eventEmitters = new ReplaySubject(1);\n /** Merged stream of the component's output events. */\n this.events = this.eventEmitters.pipe(switchMap(emitters => merge(...emitters)));\n /** Reference to the component that was created on connect. */\n this.componentRef = null;\n /** Reference to the component view's `ChangeDetectorRef`. */\n this.viewChangeDetectorRef = null;\n /**\n * Changes that have been made to component inputs since the last change detection run.\n * (NOTE: These are only recorded if the component implements the `OnChanges` interface.)\n */\n this.inputChanges = null;\n /** Whether changes have been made to component inputs since the last change detection run. */\n this.hasInputChanges = false;\n /** Whether the created component implements the `OnChanges` interface. */\n this.implementsOnChanges = false;\n /** Whether a change detection has been scheduled to run on the component. */\n this.scheduledChangeDetectionFn = null;\n /** Callback function that when called will cancel a scheduled destruction on the component. */\n this.scheduledDestroyFn = null;\n /** Initial input values that were set before the component was created. */\n this.initialInputValues = new Map();\n this.unchangedInputs = new Set(this.componentFactory.inputs.map(({\n propName\n }) => propName));\n this.ngZone = this.injector.get(NgZone);\n this.elementZone = typeof Zone === 'undefined' ? null : this.ngZone.run(() => Zone.current);\n }\n /**\n * Initializes a new component if one has not yet been created and cancels any scheduled\n * destruction.\n */\n connect(element) {\n this.runInZone(() => {\n // If the element is marked to be destroyed, cancel the task since the component was\n // reconnected\n if (this.scheduledDestroyFn !== null) {\n this.scheduledDestroyFn();\n this.scheduledDestroyFn = null;\n return;\n }\n if (this.componentRef === null) {\n this.initializeComponent(element);\n }\n });\n }\n /**\n * Schedules the component to be destroyed after some small delay in case the element is just\n * being moved across the DOM.\n */\n disconnect() {\n this.runInZone(() => {\n // Return if there is no componentRef or the component is already scheduled for destruction\n if (this.componentRef === null || this.scheduledDestroyFn !== null) {\n return;\n }\n // Schedule the component to be destroyed after a small timeout in case it is being\n // moved elsewhere in the DOM\n this.scheduledDestroyFn = scheduler.schedule(() => {\n if (this.componentRef !== null) {\n this.componentRef.destroy();\n this.componentRef = null;\n this.viewChangeDetectorRef = null;\n }\n }, DESTROY_DELAY);\n });\n }\n /**\n * Returns the component property value. If the component has not yet been created, the value is\n * retrieved from the cached initialization values.\n */\n getInputValue(property) {\n return this.runInZone(() => {\n if (this.componentRef === null) {\n return this.initialInputValues.get(property);\n }\n return this.componentRef.instance[property];\n });\n }\n /**\n * Sets the input value for the property. If the component has not yet been created, the value is\n * cached and set when the component is created.\n */\n setInputValue(property, value, transform) {\n this.runInZone(() => {\n if (transform) {\n value = transform.call(this.componentRef?.instance, value);\n }\n if (this.componentRef === null) {\n this.initialInputValues.set(property, value);\n return;\n }\n // Ignore the value if it is strictly equal to the current value, except if it is `undefined`\n // and this is the first change to the value (because an explicit `undefined` _is_ strictly\n // equal to not having a value set at all, but we still need to record this as a change).\n if (strictEquals(value, this.getInputValue(property)) && !(value === undefined && this.unchangedInputs.has(property))) {\n return;\n }\n // Record the changed value and update internal state to reflect the fact that this input has\n // changed.\n this.recordInputChange(property, value);\n this.unchangedInputs.delete(property);\n this.hasInputChanges = true;\n // Update the component instance and schedule change detection.\n this.componentRef.instance[property] = value;\n this.scheduleDetectChanges();\n });\n }\n /**\n * Creates a new component through the component factory with the provided element host and\n * sets up its initial inputs, listens for outputs changes, and runs an initial change detection.\n */\n initializeComponent(element) {\n const childInjector = Injector.create({\n providers: [],\n parent: this.injector\n });\n const projectableNodes = extractProjectableNodes(element, this.componentFactory.ngContentSelectors);\n this.componentRef = this.componentFactory.create(childInjector, projectableNodes, element);\n this.viewChangeDetectorRef = this.componentRef.injector.get(ChangeDetectorRef);\n this.implementsOnChanges = isFunction(this.componentRef.instance.ngOnChanges);\n this.initializeInputs();\n this.initializeOutputs(this.componentRef);\n this.detectChanges();\n const applicationRef = this.injector.get(ApplicationRef);\n applicationRef.attachView(this.componentRef.hostView);\n }\n /** Set any stored initial inputs on the component's properties. */\n initializeInputs() {\n this.componentFactory.inputs.forEach(({\n propName,\n transform\n }) => {\n if (this.initialInputValues.has(propName)) {\n // Call `setInputValue()` now that the component has been instantiated to update its\n // properties and fire `ngOnChanges()`.\n this.setInputValue(propName, this.initialInputValues.get(propName), transform);\n }\n });\n this.initialInputValues.clear();\n }\n /** Sets up listeners for the component's outputs so that the events stream emits the events. */\n initializeOutputs(componentRef) {\n const eventEmitters = this.componentFactory.outputs.map(({\n propName,\n templateName\n }) => {\n const emitter = componentRef.instance[propName];\n return emitter.pipe(map(value => ({\n name: templateName,\n value\n })));\n });\n this.eventEmitters.next(eventEmitters);\n }\n /** Calls ngOnChanges with all the inputs that have changed since the last call. */\n callNgOnChanges(componentRef) {\n if (!this.implementsOnChanges || this.inputChanges === null) {\n return;\n }\n // Cache the changes and set inputChanges to null to capture any changes that might occur\n // during ngOnChanges.\n const inputChanges = this.inputChanges;\n this.inputChanges = null;\n componentRef.instance.ngOnChanges(inputChanges);\n }\n /**\n * Marks the component view for check, if necessary.\n * (NOTE: This is required when the `ChangeDetectionStrategy` is set to `OnPush`.)\n */\n markViewForCheck(viewChangeDetectorRef) {\n if (this.hasInputChanges) {\n this.hasInputChanges = false;\n viewChangeDetectorRef.markForCheck();\n }\n }\n /**\n * Schedules change detection to run on the component.\n * Ignores subsequent calls if already scheduled.\n */\n scheduleDetectChanges() {\n if (this.scheduledChangeDetectionFn) {\n return;\n }\n this.scheduledChangeDetectionFn = scheduler.scheduleBeforeRender(() => {\n this.scheduledChangeDetectionFn = null;\n this.detectChanges();\n });\n }\n /**\n * Records input changes so that the component receives SimpleChanges in its onChanges function.\n */\n recordInputChange(property, currentValue) {\n // Do not record the change if the component does not implement `OnChanges`.\n if (!this.implementsOnChanges) {\n return;\n }\n if (this.inputChanges === null) {\n this.inputChanges = {};\n }\n // If there already is a change, modify the current value to match but leave the values for\n // `previousValue` and `isFirstChange`.\n const pendingChange = this.inputChanges[property];\n if (pendingChange) {\n pendingChange.currentValue = currentValue;\n return;\n }\n const isFirstChange = this.unchangedInputs.has(property);\n const previousValue = isFirstChange ? undefined : this.getInputValue(property);\n this.inputChanges[property] = new SimpleChange(previousValue, currentValue, isFirstChange);\n }\n /** Runs change detection on the component. */\n detectChanges() {\n if (this.componentRef === null) {\n return;\n }\n this.callNgOnChanges(this.componentRef);\n this.markViewForCheck(this.viewChangeDetectorRef);\n this.componentRef.changeDetectorRef.detectChanges();\n }\n /** Runs in the angular zone, if present. */\n runInZone(fn) {\n return this.elementZone && Zone.current !== this.elementZone ? this.ngZone.run(fn) : fn();\n }\n}\n\n/**\n * Implements the functionality needed for a custom element.\n *\n * @publicApi\n */\nclass NgElement extends HTMLElement {\n constructor() {\n super(...arguments);\n /**\n * A subscription to change, connect, and disconnect events in the custom element.\n */\n this.ngElementEventsSubscription = null;\n }\n}\n/**\n * @description Creates a custom element class based on an Angular component.\n *\n * Builds a class that encapsulates the functionality of the provided component and\n * uses the configuration information to provide more context to the class.\n * Takes the component factory's inputs and outputs to convert them to the proper\n * custom element API and add hooks to input changes.\n *\n * The configuration's injector is the initial injector set on the class,\n * and used by default for each created instance.This behavior can be overridden with the\n * static property to affect all newly created instances, or as a constructor argument for\n * one-off creations.\n *\n * @see [Angular Elements Overview](guide/elements \"Turning Angular components into custom elements\")\n *\n * @param component The component to transform.\n * @param config A configuration that provides initialization information to the created class.\n * @returns The custom-element construction class, which can be registered with\n * a browser's `CustomElementRegistry`.\n *\n * @publicApi\n */\nfunction createCustomElement(component, config) {\n const inputs = getComponentInputs(component, config.injector);\n const strategyFactory = config.strategyFactory || new ComponentNgElementStrategyFactory(component, config.injector);\n const attributeToPropertyInputs = getDefaultAttributeToPropertyInputs(inputs);\n class NgElementImpl extends NgElement {\n // Work around a bug in closure typed optimizations(b/79557487) where it is not honoring static\n // field externs. So using quoted access to explicitly prevent renaming.\n static {\n this['observedAttributes'] = Object.keys(attributeToPropertyInputs);\n }\n get ngElementStrategy() {\n // TODO(andrewseguin): Add e2e tests that cover cases where the constructor isn't called. For\n // now this is tested using a Google internal test suite.\n if (!this._ngElementStrategy) {\n const strategy = this._ngElementStrategy = strategyFactory.create(this.injector || config.injector);\n // Re-apply pre-existing input values (set as properties on the element) through the\n // strategy.\n inputs.forEach(({\n propName,\n transform\n }) => {\n if (!this.hasOwnProperty(propName)) {\n // No pre-existing value for `propName`.\n return;\n }\n // Delete the property from the instance and re-apply it through the strategy.\n const value = this[propName];\n delete this[propName];\n strategy.setInputValue(propName, value, transform);\n });\n }\n return this._ngElementStrategy;\n }\n constructor(injector) {\n super();\n this.injector = injector;\n }\n attributeChangedCallback(attrName, oldValue, newValue, namespace) {\n const [propName, transform] = attributeToPropertyInputs[attrName];\n this.ngElementStrategy.setInputValue(propName, newValue, transform);\n }\n connectedCallback() {\n // For historical reasons, some strategies may not have initialized the `events` property\n // until after `connect()` is run. Subscribe to `events` if it is available before running\n // `connect()` (in order to capture events emitted during initialization), otherwise subscribe\n // afterwards.\n //\n // TODO: Consider deprecating/removing the post-connect subscription in a future major version\n // (e.g. v11).\n let subscribedToEvents = false;\n if (this.ngElementStrategy.events) {\n // `events` are already available: Subscribe to it asap.\n this.subscribeToEvents();\n subscribedToEvents = true;\n }\n this.ngElementStrategy.connect(this);\n if (!subscribedToEvents) {\n // `events` were not initialized before running `connect()`: Subscribe to them now.\n // The events emitted during the component initialization have been missed, but at least\n // future events will be captured.\n this.subscribeToEvents();\n }\n }\n disconnectedCallback() {\n // Not using `this.ngElementStrategy` to avoid unnecessarily creating the `NgElementStrategy`.\n if (this._ngElementStrategy) {\n this._ngElementStrategy.disconnect();\n }\n if (this.ngElementEventsSubscription) {\n this.ngElementEventsSubscription.unsubscribe();\n this.ngElementEventsSubscription = null;\n }\n }\n subscribeToEvents() {\n // Listen for events from the strategy and dispatch them as custom events.\n this.ngElementEventsSubscription = this.ngElementStrategy.events.subscribe(e => {\n const customEvent = new CustomEvent(e.name, {\n detail: e.value\n });\n this.dispatchEvent(customEvent);\n });\n }\n }\n // Add getters and setters to the prototype for each property input.\n inputs.forEach(({\n propName,\n transform\n }) => {\n Object.defineProperty(NgElementImpl.prototype, propName, {\n get() {\n return this.ngElementStrategy.getInputValue(propName);\n },\n set(newValue) {\n this.ngElementStrategy.setInputValue(propName, newValue, transform);\n },\n configurable: true,\n enumerable: true\n });\n });\n return NgElementImpl;\n}\n\n/**\n * @publicApi\n */\nconst VERSION = /*#__PURE__*/new Version('17.3.11');\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of the `elements` package.\n */\n// This file only reexports content of the `src` folder. Keep it that way.\n\n// This file is not used to build this module. It is only used during editing\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { NgElement, VERSION, createCustomElement };\n","import { Component, OnInit, inject, signal } from '@angular/core';\r\nimport { FiltersComponent } from '../home/filters.component';\r\nimport { ApplicationInfoService } from '../core/application-info.service';\r\nimport { PartsService } from '../core/parts.service';\r\n\r\n@Component({\r\n selector: 'app-filter-bar',\r\n standalone: true,\r\n imports: [FiltersComponent],\r\n template: ` @if (!loading()) {\r\n \r\n }`,\r\n styles: ``,\r\n})\r\nexport class FilterBarComponent implements OnInit {\r\n appInfo = inject(ApplicationInfoService);\r\n partsService = inject(PartsService);\r\n loading = signal(false);\r\n\r\n async ngOnInit() {\r\n this.loading.set(true);\r\n\r\n this.appInfo.getApplicationInfo();\r\n\r\n await Promise.all([\r\n this.appInfo.getApplicationInfo(),\r\n this.partsService.getPartTypes(),\r\n this.partsService.getMakes(),\r\n this.partsService.getPartTypeModelMaps(),\r\n ]);\r\n\r\n this.loading.set(false);\r\n }\r\n}\r\n","export const licenseKey =\r\n 'ewogICJmb3JtYXQiOiAxLAogICJjdXN0b21lcklkIjogIjdhYjVmMDlkLWJkNjMtNDZiNy05NDY0LTEzZmNhZjUwNjJjNyIsCiAgIm1heFZlcnNpb25BbGxvd2VkIjogMjQxCn0=.aR1epUfI2LwbrmNASeLkZaD63Rz1cW3DQF0QqATnxMeXD7O8HBt7KY1QbzVgzN+sDXSEiBG0sRL9Y6oaeKowlPAdtvUyqAfIukK4sefiFjJLYI7j1Pg6SJATaHF+elhrGwrdDw==';\r\n","import { Component, inject, Input, OnInit, signal } from '@angular/core';\r\nimport { ApplicationInfoService } from '../core/application-info.service';\r\nimport { PartsService } from '../core/parts.service';\r\nimport { FiltersComponent } from '../home/filters.component';\r\nimport { Part } from '../core/models/part';\r\nimport { PartTabsComponent } from '../parts/part-tabs.component';\r\nimport { PartTypeGridComponent } from '../parts/part-type-grid.component';\r\n\r\n@Component({\r\n selector: 'app-home-shared',\r\n standalone: true,\r\n imports: [FiltersComponent, PartTabsComponent, PartTypeGridComponent],\r\n template: `\r\n @if (!loading()) {\r\n \r\n }\r\n `,\r\n styles: ``\r\n})\r\nexport class HomeSharedComponent implements OnInit {\r\n appInfo = inject(ApplicationInfoService);\r\n partsService = inject(PartsService);\r\n loading = signal(false);\r\n featuredParts = signal([]);\r\n\r\n @Input()\r\n shopUrl: string = 'https://shop.nadieselparts.com';\r\n\r\n async ngOnInit() {\r\n this.loading.set(true);\r\n\r\n console.log('shopUrl', this.shopUrl);\r\n this.appInfo.shopUrl.set(this.shopUrl);\r\n this.appInfo.getApplicationInfo();\r\n\r\n const data = await Promise.all([\r\n this.appInfo.getApplicationInfo(),\r\n this.partsService.getPartTypes(),\r\n this.partsService.getMakes(),\r\n this.partsService.getPartTypeModelMaps()\r\n ]);\r\n\r\n let featuredParts = await this.partsService.getParts({ hasPictures: true, isFeatured: true, hasPrice: true, take: 8 });\r\n this.featuredParts.set(featuredParts);\r\n\r\n this.loading.set(false);\r\n }\r\n}\r\n","import { bootstrapApplication, createApplication } from '@angular/platform-browser';\r\nimport { appConfig } from './app/app.config';\r\nimport { AppComponent } from './app/app.component';\r\nimport { createCustomElement } from '@angular/elements';\r\nimport { FeaturedPartsComponent } from './app/components/featured-parts.component';\r\nimport { environment } from './environments/environment';\r\nimport { FilterBarComponent } from './app/components/filter-bar.component';\r\n\r\nimport config from 'devextreme/core/config';\r\nimport { licenseKey } from './devextreme-license';\r\nimport { HomeSharedComponent } from './app/components/home-shared.component';\r\n\r\nconfig({ licenseKey });\r\n\r\nif (!environment.isWebComponent) {\r\n bootstrapApplication(AppComponent, appConfig).catch((err) => console.error(err));\r\n} else {\r\n console.warn('Running as Web Component');\r\n (async () => {\r\n const app = createApplication(appConfig).catch((err) => console.error(err));\r\n\r\n const homeElement = createCustomElement(HomeSharedComponent, {\r\n injector: (await app)!.injector,\r\n });\r\n customElements.define('home-shared', homeElement);\r\n\r\n const featuredPartsElement = createCustomElement(FeaturedPartsComponent, {\r\n injector: (await app)!.injector,\r\n });\r\n customElements.define('featured-parts', featuredPartsElement);\r\n\r\n const filterBarElement = createCustomElement(FilterBarComponent, {\r\n injector: (await app)!.injector,\r\n });\r\n customElements.define('filter-bar', filterBarElement);\r\n })();\r\n}\r\n"],"mappings":"k8CAcgBA,EAAA,EAAA,IAAA,CAAA,EACIC,EAAA,EAAAC,GAAA,EAAA,EAAA,cAAA,CAAA,EACJ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AS,EAAEC,MAAOC,GAAQP,QAAQQ,MAAMD,CAAG,CAAC","names":["ɵɵelementStart","ɵɵtemplate","PartTypeItemComponent_Conditional_2_ng_template_1_Template","ɵɵelementEnd","ɵɵpropertyInterpolate1","ctx_r0","model","name","ɵɵproperty","modelHref","ɵɵsanitizeUrl","ɵɵadvance","partTypePicture_r2","PartTypeItemComponent_Conditional_3_ng_template_1_Template","path","ɵɵtext","ɵɵtextInterpolate","ɵɵelement","ɵɵpropertyInterpolate","imageUrl","PartTypeItemComponent","init_part_type_item_component","__esmMin","init_core","init_common","init_router","init_application_info_service","init_environment","constructor","appInfo","inject","ApplicationInfoService","isWebComponent","environment","computed","addUtm","shopUrl","selectors","inputs","standalone","features","ɵɵStandaloneFeature","decls","vars","consts","template","rf","ctx","PartTypeItemComponent_Conditional_2_Template","PartTypeItemComponent_Conditional_3_Template","PartTypeItemComponent_Conditional_5_Template","PartTypeItemComponent_Conditional_6_Template","PartTypeItemComponent_ng_template_7_Template","ɵɵtemplateRefExtractor","ɵɵconditional","CommonModule","NgTemplateOutlet","RouterLink","styles","_PartTypeItemComponent","ɵɵelement","ɵɵproperty","partTypeItem_r1","ɵɵelementStart","ɵɵrepeaterCreate","PartTypeGridComponent_Conditional_0_For_3_Template","_forTrack0","ɵɵelementEnd","ɵɵadvance","ɵɵrepeater","ctx_r1","partTypeItems","PartTypeGridComponent","init_part_type_grid_component","__esmMin","init_common","init_core","init_picture_service","init_store_service","init_utility_service","init_part_type_item_component","constructor","utilityService","inject","UtilityService","storeService","StoreService","pictureService","PictureService","computed","_mode","partTypes","map","partType","id","toString","name","imageUrl","getImageUrl","imageFileName","undefined","path","length","_showAll","pickRandomItems","signal","_key","showAll","value","set","mode","key","selectors","inputs","standalone","features","ɵɵStandaloneFeature","decls","vars","consts","template","rf","ctx","ɵɵtemplate","PartTypeGridComponent_Conditional_0_Template","ɵɵconditional","CommonModule","PartTypeItemComponent","_PartTypeGridComponent","FiltersComponent","init_filters_component","__esmMin","init_common","init_core","init_forms","init_router","init_store_service","init_select_box_component","init_application_info_service","init_environment","constructor","router","inject","Router","appInfo","ApplicationInfoService","storeService","StoreService","selectedMake","signal","makes","computed","selectedModel","models","flatMap","m","find","name","partTypes","partTypeIds","partTypeModelMaps","filter","make","model","map","partTypeId","p","includes","id","search","navigate","onMakeChanged","e","target","value","set","onModelChanged","onPartTypeChanged","environment","isWebComponent","window","location","href","addUtm","shopUrl","queryParams","partType","selectors","standalone","features","ɵɵStandaloneFeature","decls","vars","consts","template","rf","ctx","ɵɵelementStart","ɵɵlistener","$event","ɵɵelementEnd","ɵɵadvance","ɵɵproperty","CommonModule","FormsModule","SelectBoxComponent","_FiltersComponent","ɵɵelement","ɵɵproperty","image_r1","imageSrc","ɵɵsanitizeUrl","imageAlt","ɵɵpureFunction1","_c0","ctx_r2","selectedIndex","i_r2","ɵɵelementStart","ɵɵlistener","i_r5","ɵɵrestoreView","_r4","index","ɵɵnextContext","ɵɵresetView","selectImage","ɵɵelementEnd","_c1","ɵɵtemplate","CarouselComponent_div_0_div_2_span_1_Template","ɵɵadvance","images","_r6","onPrevClick","_r7","onNextClick","CarouselComponent_div_0_img_1_Template","CarouselComponent_div_0_div_2_Template","CarouselComponent_div_0_div_3_Template","CarouselComponent_div_0_div_4_Template","indicators","controls","CarouselComponent","init_carousel_component","__esmMin","init_common","init_core","constructor","autoSlide","slideInterval","signal","ngOnInit","autoSlideImages","setInterval","set","length","update","selectors","inputs","standalone","features","ɵɵStandaloneFeature","decls","vars","consts","template","rf","ctx","CarouselComponent_div_0_Template","CommonModule","NgClass","NgForOf","NgIf","styles","_CarouselComponent","SliderComponent","init_slider_component","__esmMin","init_core","init_common","init_store_service","init_picture_service","init_carousel_component","constructor","storeService","inject","StoreService","pictureService","PictureService","homeSliderPhotos","signal","getSliderUrl","fileName","getImageUrl","ngOnInit","sliderPhotos","webPhotos","map","p","imageSrc","imageAlt","set","selectors","standalone","features","ɵɵStandaloneFeature","decls","vars","consts","template","rf","ctx","ɵɵelementStart","ɵɵelement","ɵɵelementEnd","ɵɵadvance","ɵɵproperty","CommonModule","CarouselComponent","_SliderComponent","ɵɵelement","HomeComponent","init_home_component","__esmMin","init_core","init_common","init_part_type_grid_component","init_filters_component","init_part_tabs_component","init_slider_component","init_parts_service","init_application_info_service","constructor","appInfo","inject","ApplicationInfoService","partsService","PartsService","parts","signal","heading","subHeading","ngOnInit","__async","isPPM","setTitle","setMeta","getParts","hasPictures","isFeatured","hasPrice","take","set","selectors","standalone","features","ɵɵStandaloneFeature","decls","vars","consts","template","rf","ctx","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵtemplate","HomeComponent_Conditional_13_Template","ɵɵadvance","ɵɵtextInterpolate","ɵɵproperty","ɵɵsanitizeHtml","ɵɵconditional","CommonModule","PartTypeGridComponent","FiltersComponent","PartTabsComponent","SliderComponent","styles","_HomeComponent","ready","toastTypes","TOAST_STACK","POSITION_ALIASES","DEFAULT_BOUNDARY_OFFSET","Toast","m_toast_default","init_m_toast","__esmMin","init_extends","init_component_registrator","init_dom_adapter","init_renderer","init_extend","init_ready_callbacks","init_type","init_events_engine","init_pointer","init_ui_overlay","init_themes","ready_callbacks_default","events_engine_default","dom_adapter_default","pointer_default","e","i","ui_overlay_default","extend","tabletAndMobileCommonOptions","isMaterialBased","device","_extends","renderer_default","event","dxEvent","isString","verticalPosition","horizontalPosition","args","component_registrator_default","toast_default","init_toast","__esmMin","init_m_toast","m_toast_default","notify","message","typeOrStack","displayTime","options","isPlainObject","stack","type","userOnHidden","position","direction","getDefaultDirection","containerKey","isString","userOnShowing","$container","getStackContainer","setContainerClasses","extend","args","setContainerStyles","renderer_default","$notify","value","toast_default","window","$containers","createStackContainer","getCoordinatesByAlias","getPositionStylesByCoordinates","m_notify_default","init_m_notify","__esmMin","init_renderer","init_extend","init_type","init_view_port","init_window","init_toast","getWindow","key","container","containerClasses","toastWidth","toastHeight","dimensions","coordinates","styles","alias","_ref","windowHeight","windowWidth","notify_default","init_notify","__esmMin","init_m_notify","m_notify_default","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵelement","FooterComponent","init_footer_component","__esmMin","init_core","init_common","init_application_info_service","init_router","constructor","appInfo","inject","ApplicationInfoService","router","Router","route","ActivatedRoute","year","Date","getFullYear","version","info","wordpressUrl","wordPressUrl","logoUrl","isPPM","warrantyInfoHref","addUtm","warrantyPolicyHref","subscribeToNewsletter","location","href","selectors","standalone","features","ɵɵStandaloneFeature","decls","vars","consts","template","rf","ctx","ɵɵtemplate","FooterComponent_Conditional_8_Template","FooterComponent_Conditional_9_Template","FooterComponent_Conditional_50_Template","ɵɵlistener","ɵɵadvance","ɵɵconditional","ɵɵtextInterpolate","companyName","ɵɵproperty","ɵɵsanitizeUrl","ɵɵpropertyInterpolate","ɵɵtextInterpolate2","CommonModule","styles","_FooterComponent","ɵɵelementStart","ɵɵelement","ɵɵelementEnd","ɵɵclassMapInterpolate1","ctx_r0","isHome","MainComponent","init_main_component","__esmMin","init_core","init_common","init_header_component","init_footer_component","init_router","init_esm","init_application_info_service","init_invoice_service","init_store_service","init_analytics_service","constructor","storeService","inject","StoreService","appInfo","ApplicationInfoService","router","Router","activatedRoute","ActivatedRoute","invoiceService","InvoiceService","analyticsService","AnalyticsService","dom","DOCUMENT","hostName","signal","loading","themeName","isPPM","document","getElementById","setAttribute","icon","events","pipe","filter","event","NavigationEnd","map","route","firstChild","outlet","mergeMap","data","subscribe","__async","updateCanonicalUrl","url","split","title","setTitle","set","checkIfPaid","forEach","item","setSource","gtag","page_name","utm","getUtm","setSourceFromParams","head","getElementsByTagName","element","querySelector","createElement","appendChild","selectors","standalone","features","ɵɵStandaloneFeature","decls","vars","consts","template","rf","ctx","ɵɵtemplate","MainComponent_Conditional_0_Template","ɵɵconditional","CommonModule","RouterOutlet","HeaderComponent","FooterComponent","_MainComponent","routes","init_app_routes","__esmMin","init_home_component","init_main_component","path","loadChildren","then","mod","COMPONENT_ROUTES","component","MainComponent","children","HomeComponent","data","title","loadComponent","SearchComponent","AboutComponent","ContactUsComponent","TermsAndConditionsComponent","WarrantyInformationComponent","WarrantyPolicyComponent","OrderDetailComponent","PART_ROUTES","CHECKOUT_ROUTES","redirectTo","pathMatch","ToastErrorHandler","init_toast_error_handler_service","__esmMin","init_core","init_notify","ErrorHandler","constructor","handleError","error","__async","console","message","rejection","Message","entityErrors","Array","isArray","forEach","entityError","errorMessage","includes","map","join","status","notify","position","my","at","offset","of","closeOnClick","displayTime","width","type","factory","ɵfac","_ToastErrorHandler","initializeApp","appInfo","getApplicationInfo","appConfig","init_app_config","__esmMin","init_core","init_router","init_app_routes","init_http","init_ng_recaptcha","init_environment","init_toast_error_handler_service","init_application_info_service","providers","provideRouter","routes","withViewTransitions","withInMemoryScrolling","scrollPositionRestoration","provideHttpClient","provide","APP_INITIALIZER","useFactory","multi","deps","ApplicationInfoService","RECAPTCHA_SETTINGS","useValue","siteKey","environment","recaptcha","ErrorHandler","useClass","ToastErrorHandler","AppComponent","init_app_component","__esmMin","init_core","init_common","init_router","init_http","init_parts_service","init_store_service","init_invoice_service","init_utility_service","constructor","storeService","inject","StoreService","partsService","PartsService","invoiceService","InvoiceService","utilityService","UtilityService","isHome","signal","ngOnInit","__async","setLoading","Promise","all","getWebPhotos","getPartTypes","getMakes","getMakeContents","getPartTypeModelMaps","getPromotions","getFromStorage","selectors","standalone","features","ɵɵStandaloneFeature","decls","vars","template","rf","ctx","ɵɵelement","CommonModule","RouterOutlet","HttpClientModule","_AppComponent","camelToDashCase","input","char","isElement","node","isFunction","value","matchesSelector","el","selector","_matches","elProto","strictEquals","value1","value2","getDefaultAttributeToPropertyInputs","inputs","attributeToPropertyInputs","propName","templateName","transform","getComponentInputs","component","injector","ComponentFactoryResolver$1","extractProjectableNodes","host","ngContentSelectors","nodes","projectableNodes","wildcardIndex","i","ii","ngContentIndex","findMatchingIndex","selectors","defaultIndex","matchingIndex","createCustomElement","config","strategyFactory","ComponentNgElementStrategyFactory","_NgElementImpl","NgElement","strategy","attrName","oldValue","newValue","namespace","subscribedToEvents","e","customEvent","NgElementImpl","scheduler","DESTROY_DELAY","ComponentNgElementStrategy","init_elements","__esmMin","init_core","init_esm","init_operators","taskFn","delay","id","componentFactory","ReplaySubject","switchMap","emitters","merge","NgZone","element","property","childInjector","Injector","ChangeDetectorRef","ApplicationRef","componentRef","eventEmitters","map","inputChanges","viewChangeDetectorRef","currentValue","pendingChange","isFirstChange","previousValue","SimpleChange","fn","ɵɵelement","FilterBarComponent","init_filter_bar_component","__esmMin","init_core","init_filters_component","init_application_info_service","init_parts_service","constructor","appInfo","inject","ApplicationInfoService","partsService","PartsService","loading","signal","ngOnInit","__async","set","getApplicationInfo","Promise","all","getPartTypes","getMakes","getPartTypeModelMaps","selectors","standalone","features","ɵɵStandaloneFeature","decls","vars","template","rf","ctx","ɵɵtemplate","FilterBarComponent_Conditional_0_Template","ɵɵconditional","FiltersComponent","_FilterBarComponent","licenseKey","init_devextreme_license","__esmMin","ɵɵelementStart","ɵɵelement","ɵɵelementEnd","ɵɵadvance","ɵɵproperty","ctx_r0","featuredParts","HomeSharedComponent","init_home_shared_component","__esmMin","init_core","init_application_info_service","init_parts_service","init_filters_component","init_part_tabs_component","init_part_type_grid_component","constructor","appInfo","inject","ApplicationInfoService","partsService","PartsService","loading","signal","shopUrl","ngOnInit","__async","set","console","log","getApplicationInfo","data","Promise","all","getPartTypes","getMakes","getPartTypeModelMaps","getParts","hasPictures","isFeatured","hasPrice","take","selectors","inputs","standalone","features","ɵɵStandaloneFeature","decls","vars","consts","template","rf","ctx","ɵɵtemplate","HomeSharedComponent_Conditional_0_Template","ɵɵconditional","FiltersComponent","PartTabsComponent","PartTypeGridComponent","_HomeSharedComponent","require_main","__commonJSMin","exports","init_platform_browser","init_app_config","init_app_component","init_elements","init_featured_parts_component","init_environment","init_filter_bar_component","init_config","init_devextreme_license","init_home_shared_component","config","licenseKey","environment","isWebComponent","console","warn","__async","app","createApplication","appConfig","catch","err","error","homeElement","createCustomElement","HomeSharedComponent","injector","customElements","define","featuredPartsElement","FeaturedPartsComponent","filterBarElement","FilterBarComponent","bootstrapApplication","AppComponent"],"x_google_ignoreList":[6,7,8,9,16]}