{"version":3,"file":"bloomreach-brx-spartacus-library.mjs","sources":["../../src/lib/utils/sanitize.ts","../../src/lib/pipes/parse-url.pipe.ts","../../src/lib/components/banner/banner.component.ts","../../src/lib/components/banner/banner.component.html","../../src/lib/services/brx-delivery-tab.service.ts","../../src/lib/utils/get-cookie.ts","../../src/lib/services/brx-endpoint.service.ts","../../src/lib/services/spartacus-product-search.service.ts","../../src/lib/services/spartacus-product-list-component.service.ts","../../src/lib/services/spartacus-searchbox.service.ts","../../src/lib/services/spartacus-search-box-component.service.ts","../../src/lib/services/brx-pathways-recommendations.service.ts","../../src/lib/services/brx-category.service.ts","../../src/lib/services/index.ts","../../src/lib/components/category-highlight/category-highlight.component.ts","../../src/lib/components/category-highlight/category-highlight.component.html","../../src/lib/components/spartacus-banner/spartacus-banner.directive.ts","../../src/lib/components/spartacus-banner/spartacus-banner.component.ts","../../src/lib/components/spartacus-banner/spartacus-banner.component.html","../../src/lib/components/spartacus-product-details/spartacus-tab-paragraph-container.directive.ts","../../src/lib/components/spartacus-product-details/spartacus-product-details.component.ts","../../src/lib/components/spartacus-product-details/spartacus-product-details.component.html","../../src/lib/components/spartacus-product-details/spartacus-product-details.module.ts","../../src/lib/components/spartacus-product-highlight/spartacus-product-highlight.directive.ts","../../src/lib/components/spartacus-product-highlight/spartacus-product-highlight.component.ts","../../src/lib/components/spartacus-product-highlight/spartacus-product-highlight.component.html","../../src/lib/components/spartacus-product-list/spartacus-product-list.directive.ts","../../src/lib/components/spartacus-product-list/spartacus-product-list.component.ts","../../src/lib/components/spartacus-product-list/spartacus-product-list.component.html","../../src/lib/components/spartacus-search-box/spartacus-search-box.directive.ts","../../src/lib/components/spartacus-search-box/spartacus-search-box.component.ts","../../src/lib/components/spartacus-search-box/spartacus-search-box.component.html","../../src/lib/spartacus/brx/adapters/brx-product-search-adapter.ts","../../src/lib/spartacus/brx/adapters/brx-product-search.module.ts","../../src/lib/spartacus/brx/brx-cms-component.adapter.ts","../../src/lib/spartacus/brx/brx-cms-page.adapter.ts","../../src/lib/spartacus/brx/cms-brx.module.ts","../../src/lib/spartacus/brx/normalizers/brx-product-search-normalizer.ts","../../src/lib/spartacus/brx/normalizers/brx-product-normalizer.ts","../../src/lib/spartacus/brx/normalizers/brx-product-suggestion-normalizer.ts","../../src/lib/spartacus/brx/normalizers/brx-product-normalizer.module.ts","../../src/lib/components/pathways-recommendations/pathways-recommendations.component.ts","../../src/lib/components/pathways-recommendations/pathways-recommendations.component.html","../../src/lib/components/spartacus-product-facet-navigation/facet.model.ts","../../src/lib/components/spartacus-product-facet-navigation/services/product-facet.service.ts","../../src/lib/components/spartacus-product-facet-navigation/services/facet.service.ts","../../src/lib/components/spartacus-product-facet-navigation/active-facets/active-facets.component.ts","../../src/lib/components/spartacus-product-facet-navigation/active-facets/active-facets.component.html","../../src/lib/pipes/is-external-link.pipe.ts","../../src/lib/pipes/is-internal-link.pipe.ts","../../src/lib/pipes/custom-pipes.module.ts","../../src/lib/components/spartacus-product-facet-navigation/active-facets/active-facets.module.ts","../../src/lib/components/spartacus-product-facet-navigation/active-facets/index.ts","../../src/lib/components/spartacus-product-facet-navigation/facet/facet.component.ts","../../src/lib/components/spartacus-product-facet-navigation/facet/facet.component.html","../../src/lib/components/spartacus-product-facet-navigation/facet-list/facet-list.component.ts","../../src/lib/components/spartacus-product-facet-navigation/facet-list/facet-list.component.html","../../src/lib/components/spartacus-product-facet-navigation/facet/facet.module.ts","../../src/lib/components/spartacus-product-facet-navigation/facet-list/facet-list.module.ts","../../src/lib/components/spartacus-product-facet-navigation/facet-list/index.ts","../../src/lib/components/spartacus-product-facet-navigation/facet/index.ts","../../src/lib/components/spartacus-product-facet-navigation/spartacus-product-facet-navigation.component.ts","../../src/lib/components/spartacus-product-facet-navigation/spartacus-product-facet-navigation.component.html","../../src/lib/components/spartacus-product-facet-navigation/spartacus-product-facet-navigation.module.ts","../../src/lib/components/spartacus-product-facet-navigation/services/index.ts","../../src/lib/components/spartacus-product-facet-navigation/index.ts","../../src/lib/components/spartacus-login-form/spartacus-login-form.directive.ts","../../src/lib/services/spartacus-login-form-component.service.ts","../../src/lib/components/spartacus-login-form/spartacus-login-form.component.ts","../../src/lib/components/spartacus-login-form/spartacus-login-form.component.html","../../src/lib/components/spartacus-paragraph/spartacus-paragraph.directive.ts","../../src/lib/components/spartacus-paragraph/spartacus-paragraph.component.ts","../../src/lib/components/spartacus-paragraph/spartacus-paragraph.component.html","../../src/lib/components/spartacus-breadcrumb/spartacus-breadcrumb.directive.ts","../../src/lib/components/spartacus-breadcrumb/spartacus-breadcrumb.component.ts","../../src/lib/components/spartacus-breadcrumb/spartacus-breadcrumb.component.html","../../src/lib/services/spartacus-category-page-meta.resolver.ts","../../src/lib/services/spartacus-product-page-meta.resolver.ts","../../src/lib/services/spartacus-page-meta.module.ts","../../src/lib/components/menu/menu-item/menu-item.component.ts","../../src/lib/components/menu/menu-item/menu-item.component.html","../../src/lib/components/menu/menu.component.ts","../../src/lib/components/menu/menu.component.html","../../src/lib/components/spartacus-register/spartacus-register.directive.ts","../../src/lib/services/spartacus-register-component.service.ts","../../src/lib/components/spartacus-register/spartacus-register.component.ts","../../src/lib/components/spartacus-register/spartacus-register.component.html","../../src/lib/components/spartacus-login-register/spartacus-login-register.directive.ts","../../src/lib/components/spartacus-login-register/spartacus-login-register.component.ts","../../src/lib/components/spartacus-login-register/spartacus-login-register.component.html","../../src/lib/components/spartacus-cart-details/spartacus-cart-details.directive.ts","../../src/lib/components/spartacus-cart-details/spartacus-cart-details.component.ts","../../src/lib/components/spartacus-cart-details/spartacus-cart-details.component.html","../../src/lib/components/spartacus-cart-totals/spartacus-cart-totals.directive.ts","../../src/lib/components/spartacus-cart-totals/spartacus-cart-totals.component.ts","../../src/lib/components/spartacus-cart-totals/spartacus-cart-totals.component.html","../../src/lib/components/spartacus-cart-coupon/spartacus-cart-coupon.directive.ts","../../src/lib/components/spartacus-cart-coupon/spartacus-cart-coupon.component.ts","../../src/lib/components/spartacus-cart-coupon/spartacus-cart-coupon.component.html","../../src/lib/components/spartacus-cart-quick-order-form/spartacus-cart-quick-order-form.directive.ts","../../src/lib/components/spartacus-cart-quick-order-form/spartacus-cart-quick-order-form.component.ts","../../src/lib/components/spartacus-cart-quick-order-form/spartacus-cart-quick-order-form.component.html","../../src/lib/components/spartacus-add-to-saved-cart/spartacus-add-to-saved-cart.directive.ts","../../src/lib/components/spartacus-add-to-saved-cart/spartacus-add-to-saved-cart.component.ts","../../src/lib/components/spartacus-add-to-saved-cart/spartacus-add-to-saved-cart.component.html","../../src/lib/components/spartacus-import-export-order-entries/spartacus-import-export-order-entries.directive.ts","../../src/lib/components/spartacus-import-export-order-entries/spartacus-import-export-order-entries.component.ts","../../src/lib/components/spartacus-import-export-order-entries/spartacus-import-export-order-entries.component.html","../../src/lib/components/spartacus-login/spartacus-login.directive.ts","../../src/lib/components/spartacus-login/spartacus-login.component.ts","../../src/lib/components/spartacus-login/spartacus-login.component.html","../../src/lib/components/spartacus-mini-cart/spartacus-mini-cart.directive.ts","../../src/lib/services/spartacus-mini-cart-component.service.ts","../../src/lib/components/spartacus-mini-cart/spartacus-mini-cart.component.ts","../../src/lib/components/spartacus-mini-cart/spartacus-mini-cart.component.html","../../src/lib/components/my-account-menu/my-account-menu.component.ts","../../src/lib/components/my-account-menu/my-account-menu.component.html","../../src/lib/components/spartacus-wish-list/spartacus-wish-list.directive.ts","../../src/lib/components/spartacus-wish-list/spartacus-wish-list.component.ts","../../src/lib/components/spartacus-wish-list/spartacus-wish-list.component.html","../../src/lib/components/spartacus-checkout/spartacus-checkout-order-summary/spartacus-checkout-order-summary.directive.ts","../../src/lib/components/spartacus-checkout/spartacus-checkout-order-summary/spartacus-checkout-order-summary.component.ts","../../src/lib/components/spartacus-checkout/spartacus-checkout-order-summary/spartacus-checkout-order-summary.component.html","../../src/lib/components/spartacus-checkout/spartacus-checkout-order-summary/index.ts","../../src/lib/components/spartacus-checkout/spartacus-checkout-progress/spartacus-checkout-progress.directive.ts","../../src/lib/components/spartacus-checkout/spartacus-checkout-progress/spartacus-checkout-progress.component.ts","../../src/lib/components/spartacus-checkout/spartacus-checkout-progress/spartacus-checkout-progress.component.html","../../src/lib/components/spartacus-checkout/spartacus-checkout-progress/spartacus-checkout-progress-mobile-top/spartacus-checkout-progress-mobile-top.directive.ts","../../src/lib/components/spartacus-checkout/spartacus-checkout-progress/spartacus-checkout-progress-mobile-top/spartacus-checkout-progress-mobile-top.component.ts","../../src/lib/components/spartacus-checkout/spartacus-checkout-progress/spartacus-checkout-progress-mobile-top/spartacus-checkout-progress-mobile-top.component.html","../../src/lib/components/spartacus-checkout/spartacus-checkout-progress/spartacus-checkout-progress-mobile-top/index.ts","../../src/lib/components/spartacus-checkout/spartacus-checkout-progress/spartacus-checkout-progress-mobile-bottom/spartacus-checkout-progress-mobile-bottom.directive.ts","../../src/lib/components/spartacus-checkout/spartacus-checkout-progress/spartacus-checkout-progress-mobile-bottom/spartacus-checkout-progress-mobile-bottom.component.ts","../../src/lib/components/spartacus-checkout/spartacus-checkout-progress/spartacus-checkout-progress-mobile-bottom/spartacus-checkout-progress-mobile-bottom.component.html","../../src/lib/components/spartacus-checkout/spartacus-checkout-progress/spartacus-checkout-progress-mobile-bottom/index.ts","../../src/lib/components/spartacus-checkout/spartacus-checkout-progress/index.ts","../../src/lib/components/spartacus-checkout/utils/set-activated-route-snapshot-url.ts","../../src/lib/components/spartacus-checkout/spartacus-shipping-address/spartacus-shipping-address.directive.ts","../../src/lib/components/spartacus-checkout/spartacus-shipping-address/spartacus-shipping-address.component.ts","../../src/lib/components/spartacus-checkout/spartacus-shipping-address/spartacus-shipping-address.component.html","../../src/lib/components/spartacus-checkout/spartacus-shipping-address/index.ts","../../src/lib/components/spartacus-checkout/spartacus-delivery-mode/spartacus-delivery-mode.directive.ts","../../src/lib/components/spartacus-checkout/spartacus-delivery-mode/spartacus-delivery-mode.component.ts","../../src/lib/components/spartacus-checkout/spartacus-delivery-mode/spartacus-delivery-mode.component.html","../../src/lib/components/spartacus-checkout/spartacus-delivery-mode/index.ts","../../src/lib/components/spartacus-checkout/spartacus-payment-method/spartacus-payment-method.directive.ts","../../src/lib/components/spartacus-checkout/spartacus-payment-method/spartacus-payment-method.component.ts","../../src/lib/components/spartacus-checkout/spartacus-payment-method/spartacus-payment-method.component.html","../../src/lib/components/spartacus-checkout/spartacus-payment-method/index.ts","../../src/lib/components/spartacus-checkout/spartacus-review-submit/spartacus-review-submit.directive.ts","../../src/lib/components/spartacus-checkout/spartacus-review-submit/spartacus-review-submit.component.ts","../../src/lib/components/spartacus-checkout/spartacus-review-submit/spartacus-review-submit.component.html","../../src/lib/components/spartacus-checkout/spartacus-review-submit/index.ts","../../src/lib/components/spartacus-checkout/spartacus-place-order/spartacus-place-order.directive.ts","../../src/lib/components/spartacus-checkout/spartacus-place-order/spartacus-place-order.component.ts","../../src/lib/components/spartacus-checkout/spartacus-place-order/spartacus-place-order.component.html","../../src/lib/components/spartacus-checkout/spartacus-place-order/index.ts","../../src/lib/components/spartacus-checkout/spartacus-checkout.module.ts","../../src/lib/components/spartacus-checkout/index.ts","../../src/lib/components/spartacus-order-confirmation/spartacus-order-confirmation-thank-you-message/spartacus-order-confirmation-thank-you-message.directive.ts","../../src/lib/components/spartacus-order-confirmation/spartacus-order-confirmation-thank-you-message/spartacus-order-confirmation-thank-you-message.component.ts","../../src/lib/components/spartacus-order-confirmation/spartacus-order-confirmation-thank-you-message/spartacus-order-confirmation-thank-you-message.component.html","../../src/lib/components/spartacus-order-confirmation/spartacus-order-confirmation-thank-you-message/index.ts","../../src/lib/components/spartacus-order-confirmation/spartacus-order-confirmation-totals/spartacus-order-confirmation-totals.directive.ts","../../src/lib/components/spartacus-order-confirmation/spartacus-order-confirmation-totals/spartacus-order-confirmation-totals.component.ts","../../src/lib/components/spartacus-order-confirmation/spartacus-order-confirmation-totals/spartacus-order-confirmation-totals.component.html","../../src/lib/components/spartacus-order-confirmation/spartacus-order-confirmation-totals/index.ts","../../src/lib/components/spartacus-order-confirmation/spartacus-order-confirmation-items/spartacus-order-confirmation-items.directive.ts","../../src/lib/components/spartacus-order-confirmation/spartacus-order-confirmation-items/spartacus-order-confirmation-items.component.ts","../../src/lib/components/spartacus-order-confirmation/spartacus-order-confirmation-items/spartacus-order-confirmation-items.component.html","../../src/lib/components/spartacus-order-confirmation/spartacus-order-confirmation-items/index.ts","../../src/lib/components/spartacus-order-confirmation/spartacus-order-confirmation.module.ts","../../src/lib/components/spartacus-forgot-password/spartacus-forgot-password.directive.ts","../../src/lib/services/spartacus-forgot-password-component.service.ts","../../src/lib/components/spartacus-forgot-password/spartacus-forgot-password.component.ts","../../src/lib/components/spartacus-forgot-password/spartacus-forgot-password.component.html","../../src/lib/brx-spartacus-lib.module.ts","../../src/lib/components/spartacus-order-confirmation/index.ts","../../src/public-api.ts","../../src/bloomreach-brx-spartacus-library.ts"],"sourcesContent":["/*\n * Copyright 2023 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport sanitizeHTML from 'sanitize-html';\n\nexport function sanitize(content: string): string {\n  return sanitizeHTML(content, {\n    allowedAttributes: {\n      a: ['href', 'name', 'target', 'title', 'data-type', 'rel'],\n      img: ['src', 'srcset', 'alt', 'title', 'width', 'height', 'loading'],\n    },\n    allowedTags: sanitizeHTML.defaults.allowedTags.concat(['img']),\n  });\n}\n","/*\n * Copyright 2020 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Pipe, PipeTransform } from '@angular/core';\n\ndeclare global {\n  interface URLSearchParams {\n    entries(): IterableIterator<[string, string]>;\n  }\n}\n\n@Pipe({ name: 'parseUrl' })\nexport class ParseUrlPipe implements PipeTransform {\n  transform(url: string, property: keyof URL): any {\n    const value = new URL(url, 'http://example.com')[property];\n\n    if (value instanceof URLSearchParams) {\n      return Object.fromEntries([...value.entries()]);\n    }\n\n    return value;\n  }\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, Input, OnInit } from '@angular/core';\nimport { Component as BrComponent, Document, ImageSet, Page } from '@bloomreach/spa-sdk';\nimport { DocumentModels, DocumentData } from '../../models/common-types.model';\nimport { sanitize } from '../../utils/sanitize';\n\n@Component({\n  selector: 'brx-banner',\n  templateUrl: './banner.component.html',\n})\nexport class BannerComponent implements OnInit {\n  @Input() component!: BrComponent;\n\n  @Input() page!: Page;\n\n  safeHTML?: string | null;\n\n  async ngOnInit(): Promise<void> {\n    const content = this.document?.getData<DocumentData>().content;\n    const sanitized = sanitize(content!.value);\n    this.safeHTML = this.page.rewriteLinks(sanitized);\n  }\n\n  get document(): Document | undefined {\n    const { document } = this.component.getModels<DocumentModels>();\n\n    return document && this.page.getContent<Document>(document);\n  }\n\n  get data(): DocumentData | undefined {\n    return this.document?.getData<DocumentData>();\n  }\n\n  get image(): ImageSet | undefined {\n    return this.data?.image && this.page.getContent<ImageSet>(this.data.image);\n  }\n\n  get link(): Document | undefined {\n    return this.data?.link && this.page.getContent<Document>(this.data.link);\n  }\n}\n","<!--\n  Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n  -->\n\n<div *ngIf=\"document\" [ngClass]=\"{ 'has-edit-button': page.isPreview() }\">\n  <ng-container\n    [brManageContentButton]=\"document\"\n    documentTemplateQuery=\"new-banner-document\"\n    folderTemplateQuery=\"new-banner-folder\"\n    parameter=\"document\"\n    root=\"banners\"\n    [relative]=\"true\">\n  </ng-container>\n  <h1 *ngIf=\"data?.title\">{{ data!.title }}</h1>\n  <img *ngIf=\"image\" class=\"img-fluid\" [src]=\"image.getOriginal()?.getUrl()\" [alt]=\"data?.title || ''\" />\n  <div *ngIf=\"data?.content\" [innerHTML]=\"safeHTML\"></div>\n  <p *ngIf=\"link\" class=\"lead\">\n    <a\n      class=\"btn btn-primary btn-lg\"\n      role=\"button\"\n      [routerLink]=\"link.getUrl()! | parseUrl : 'pathname'\"\n      [queryParams]=\"link.getUrl()! | parseUrl : 'searchParams'\">\n      Learn more\n    </a>\n  </p>\n</div>\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Injectable } from '@angular/core';\nimport { BehaviorSubject, Observable } from 'rxjs';\n\n@Injectable({\n  providedIn: 'root',\n})\nexport class BrxDeliveryTabService {\n  private contentSubject = new BehaviorSubject('');\n\n  setContent(content: string): void {\n    this.contentSubject.next(content);\n  }\n\n  getContent(): Observable<string> {\n    return this.contentSubject.asObservable();\n  }\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/*\n * Copied from src/config/utils/get-cookie.ts\n * of SAP Spartacus Core Library project.\n */\nexport function getCookie(cookie: string, name: string): string {\n  const regExp = new RegExp(`(?:^|;\\\\s*)${name}=([^;]*)`, 'g');\n  const result = regExp.exec(cookie);\n\n  return (result && decodeURIComponent(result[1])) || '';\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Inject, Injectable } from '@angular/core';\nimport { PaginationModel } from '@spartacus/core';\nimport { BrxSearchConfig } from '../models/brx-search-config.model';\nimport { ConfigType } from '../models/brx-config-type.model';\nimport { getCookie } from '../utils/get-cookie';\n\n@Injectable({\n  providedIn: 'root',\n})\nexport class BrxEndpointService {\n  // Get Values Form Env\n  envConfig!: ConfigType;\n\n  // Default parameters\n  DEFAULT_PARAMS = {\n    request_type: 'search',\n    fl: [\n      'pid',\n      'title',\n      'brand',\n      'price',\n      'sale_price',\n      'promotions',\n      'thumb_image',\n      'sku_thumb_images',\n      'sku_swatch_images',\n      'sku_color_group',\n      'url',\n      'price_range',\n      'sale_price_range',\n      'description',\n      'is_live',\n      'score',\n    ].join(','),\n    realm: 'prod',\n    facet: 'true',\n  };\n\n  rows = 12; // default page size as per Spartacus\n\n  sort = '';\n\n  currentPage = 0;\n\n  // Still to configure\n  viewId = '';\n\n  catalogViews = '';\n\n  buildSearchUrl(query = '', searchConfig: BrxSearchConfig = {}, facets?: string[]): string {\n    // console.log('[BrxEndpointService.buildSearchUrl.query]: ', query);\n    // console.log('[BrxEndpointService.buildSearchUrl.searchConfig]: ', searchConfig);\n    // console.log('[BrxEndpointService.buildSearchUrl.facets]: ', facets);\n    const { currentPage, sort, type } = searchConfig;\n    const { accountId, domainKey, authKey, smEndPoint } = this.envConfig;\n    this.sort = sort || '';\n    if (this.sort === 'relevance') {\n      this.sort = '';\n    }\n    const brUid = getCookie(document.cookie, '_br_uid_2'); // Need to grab from Cookie _br_uid_2\n    const refUrl = document.referrer ?? '';\n    this.currentPage = currentPage ? +currentPage : 0;\n    this.rows = searchConfig.pageSize || 12;\n    const start = this.currentPage * this.rows;\n    let searchType = 'keyword';\n    if (type === 'category') {\n      searchType = 'category';\n    }\n\n    const params = new URLSearchParams({\n      account_id: accountId,\n      domain_key: domainKey,\n      auth_key: authKey,\n      view_id: '',\n      request_id: Date.now().toString(),\n      _br_uid_2: brUid,\n      url: window.location.href,\n      ref_url: refUrl,\n      ...this.DEFAULT_PARAMS,\n      search_type: searchType,\n      rows: this.rows.toString(),\n      start: start.toString(),\n      q: query,\n      sort: this.sort,\n    });\n\n    if (facets?.length) {\n      const facetFieldsFilters = new Map<string, string[]>();\n      for (let i = 0; i < facets.length; i += 2) {\n        const id = facets[i];\n        const value = facets[i + 1];\n        if (!facetFieldsFilters.has(id)) {\n          facetFieldsFilters.set(id, []);\n        }\n        facetFieldsFilters.get(id)?.push(value);\n      }\n      this.appendFacetFilterParams(params, 'fq', facetFieldsFilters);\n    }\n\n    return `${smEndPoint}v1/core/?${params.toString()}`;\n  }\n\n  getPaginationDetails(total: number): PaginationModel {\n    return {\n      currentPage: this.currentPage,\n      pageSize: this.rows,\n      sort: this.sort,\n      totalPages: Math.ceil(total / this.rows),\n      totalResults: total,\n    };\n  }\n\n  buildSuggestionUrl(term = ''): string {\n    const { accountId, domainKey, authKey, smSuggestionEndPoint } = this.envConfig;\n    const brUid = getCookie(document.cookie, '_br_uid_2');\n    const refUrl = document.referrer ?? '';\n    const params = new URLSearchParams({\n      account_id: accountId,\n      auth_key: authKey,\n      request_id: new Date().getTime().toString(),\n      _br_uid_2: brUid,\n      url: window.location.href,\n      ref_url: refUrl,\n      request_type: 'suggest',\n      rsp_fmt: 'v2',\n      q: term,\n    });\n\n    if (this.catalogViews) {\n      params.append('catalog_views', this.catalogViews);\n      params.append('rsp_fmt', 'v2');\n      return `${smSuggestionEndPoint}v2/suggest/?${params}`;\n    }\n\n    params.append('domain_key', domainKey);\n    return `${smSuggestionEndPoint}v1/suggest/?${params}`;\n  }\n\n  buildPathwaysandRecommendationsUrl(\n    isPreview: boolean,\n    queryParam = '',\n    searchConfig: BrxSearchConfig = {},\n    widgetType: string,\n    widgetId: string,\n    categoryId = '',\n    pids: string,\n  ): string {\n    const { accountId, domainKey, smEndPoint } = this.envConfig;\n    const DUMMY_BR_UID_2_FOR_PREVIEW = 'uid%3D0000000000000%3Av%3D11.5%3Ats%3D1428617911187%3Ahc%3D55';\n    const brUid2 = getCookie(document.cookie, '_br_uid_2') || (isPreview ? DUMMY_BR_UID_2_FOR_PREVIEW : undefined);\n    const refUrl = document.referrer ?? '';\n    const size = searchConfig.pageSize || 12;\n    const params = new URLSearchParams({\n      account_id: accountId,\n      view_id: '',\n      domain_key: domainKey,\n      request_id: new Date().getTime().toString(),\n      _br_uid_2: brUid2 ?? '',\n      item_ids: pids,\n      cat_id: categoryId,\n      query: queryParam ?? '',\n      url: window.location.href,\n      ref_url: refUrl,\n      rows: size.toString(),\n      fields: [\n        'pid',\n        'title',\n        'brand',\n        'price',\n        'sale_price',\n        'promotions',\n        'thumb_image',\n        'sku_thumb_images',\n        'sku_swatch_images',\n        'sku_color_group',\n        'url',\n        'price_range',\n        'sale_price_range',\n        'description',\n        'is_live',\n        'score',\n      ].join(','),\n    });\n\n    // switch (widgetType) {\n    //   case 'item':\n    //     params.append('item_ids', pids);\n    //     break;\n    //   case 'category':\n    //     params.append('cat_id', categoryId);\n    //     break;\n    //   case 'keyword':\n    //   case 'personalized':\n    //     params.append('query', query);\n    //     break;\n    //   default:\n    //     params.append('query', '');\n    // }\n    return `${smEndPoint}v2/widgets/${widgetType}/${widgetId}?${params}`;\n  }\n\n  private appendFacetFilterParams(\n    params: URLSearchParams,\n    filterParamName: string,\n    facetFieldsFilters: Map<string, string[]>,\n  ): void {\n    // console.log('[BrxEndpointService.appendFacetFilterParams]: facetFieldsFilters=', facetFieldsFilters);\n    facetFieldsFilters.forEach((values, id) => {\n      if (values.length > 0) {\n        const filterValues = values\n          .map((value) => {\n            const escaped = value.replace(/\"/g, '\\\\\"');\n            return `\"${escaped}\"`;\n          })\n          .join(' OR ');\n        params.append(filterParamName, `${id}:${filterValues}`);\n      }\n    });\n  }\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Injectable } from '@angular/core';\nimport { Store } from '@ngrx/store';\nimport { ProductActions, ProductSearchService, SearchConfig, StateWithProduct } from '@spartacus/core';\n\n@Injectable({\n  providedIn: 'root',\n})\nexport class SpartacusProductSearchService extends ProductSearchService {\n  constructor(protected store: Store<StateWithProduct>) {\n    super(store);\n  }\n\n  search(query: string | undefined, searchConfig: SearchConfig): void {\n    // console.log('[*** Custom Product Search Service Just used for Logging]', query, searchConfig);\n    this.store.dispatch(\n      new ProductActions.SearchProducts({\n        queryText: query || '',\n        searchConfig,\n      }),\n    );\n  }\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Inject, Injectable, InjectionToken, Optional } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { CurrencyService, LanguageService, RoutingService } from '@spartacus/core';\nimport { ProductListComponentService, ProductListRouteParams, SearchCriteria, ViewConfig } from '@spartacus/storefront';\nimport { SpartacusProductSearchService } from './spartacus-product-search.service';\n\nexport const PRODUCT_LIST_COMPONENT_PARAMS = new InjectionToken<ProductListRouteParams>(\n  'brX SpartacusProductListComponent Parameters',\n);\n\n@Injectable({\n  providedIn: 'root',\n})\nexport class SpartacusProductListComponentService extends ProductListComponentService {\n  constructor(\n    protected productSearchService: SpartacusProductSearchService,\n    protected routing: RoutingService,\n    protected activatedRoute: ActivatedRoute,\n    protected currencyService: CurrencyService,\n    protected languageService: LanguageService,\n    protected router: Router,\n    protected config: ViewConfig,\n    @Inject(PRODUCT_LIST_COMPONENT_PARAMS) @Optional() protected componentParams?: ProductListRouteParams,\n  ) {\n    super(productSearchService, routing, activatedRoute, currencyService, languageService, router, config);\n    // console.log('[SpartacusProductListComponentService]: ViewConfig: ', config);\n    // console.log('[SpartacusProductListComponentService]: ProductListRouteParams: ', componentParams);\n  }\n\n  /**\n   * Expose the `SearchCriteria`. The search criteria are driven by the route parameters.\n   *\n   * This search route configuration is not yet configurable\n   * (see https://github.com/SAP/spartacus/issues/7191).\n   */\n  protected getCriteriaFromRoute(routeParams: ProductListRouteParams, queryParams: SearchCriteria): SearchCriteria {\n    return {\n      query:\n        queryParams.query ||\n        this.getQueryFromComponentParams(this.componentParams ?? {}) ||\n        this.getQueryFromRouteParams(routeParams),\n      pageSize: queryParams.pageSize || this.config.view?.defaultPageSize,\n      currentPage: queryParams.currentPage,\n      sortCode: queryParams.sortCode,\n    };\n  }\n\n  /**\n   * Resolves the search query from the given component parameters.\n   */\n  protected getQueryFromComponentParams({ query, categoryCode }: ProductListRouteParams): string | undefined {\n    if (query) {\n      return query;\n    }\n\n    if (categoryCode) {\n      return this.RELEVANCE_ALLCATEGORIES + categoryCode;\n    }\n\n    return undefined;\n  }\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Injectable } from '@angular/core';\nimport { ProductActions, SearchboxService, SearchConfig } from '@spartacus/core';\nimport { BrxSearchConfig } from '../models/brx-search-config.model';\n\n@Injectable({\n  providedIn: 'root',\n})\nexport class SpartacusSearchboxService extends SearchboxService {\n  /**\n   * dispatch the search for the search box\n   */\n  search(query: string, searchConfig?: SearchConfig): void {\n    this.store.dispatch(\n      new ProductActions.SearchProducts(\n        {\n          queryText: query,\n          searchConfig: { ...searchConfig, type: 'suggestion' } as BrxSearchConfig,\n        },\n        true,\n      ),\n    );\n  }\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Injectable } from '@angular/core';\nimport { EventService, RoutingService, TranslationService, WindowRef } from '@spartacus/core';\nimport { SearchBoxComponentService } from '@spartacus/storefront';\nimport { SpartacusSearchboxService } from './spartacus-searchbox.service';\n\n@Injectable({\n  providedIn: 'root',\n})\nexport class SpartacusSearchBoxComponentService extends SearchBoxComponentService {\n  constructor(\n    public searchService: SpartacusSearchboxService,\n    protected routingService: RoutingService,\n    protected translationService: TranslationService,\n    protected winRef: WindowRef,\n    protected eventService: EventService,\n  ) {\n    super(searchService, routingService, translationService, winRef, eventService);\n  }\n}\n","import { HttpClient, HttpHeaders } from '@angular/common/http';\nimport { Inject, Injectable } from '@angular/core';\nimport { ConverterService, PRODUCT_NORMALIZER } from '@spartacus/core';\nimport { BehaviorSubject } from 'rxjs';\nimport { map } from 'rxjs/operators';\nimport { BrxSearchConfig } from '../models/brx-search-config.model';\nimport { ConfigType } from '../models/brx-config-type.model';\nimport { BrxEndpointService } from './brx-endpoint.service';\n\n@Injectable({\n  providedIn: 'root',\n})\nexport class BrxPathwaysRecommendations {\n  constructor(\n    protected http: HttpClient,\n    protected brxEndpoints: BrxEndpointService,\n    protected converter: ConverterService,\n  ) {}\n\n  productsSubject = new BehaviorSubject<any>([]);\n\n  getproducts(\n    isPreview: boolean,\n    query = '',\n    searchConfig: BrxSearchConfig,\n    widgetType: string,\n    widgetid: string,\n    categoryid: string,\n    pids: string,\n  ) {\n    const { authKey } = this.brxEndpoints.envConfig;\n    const requestOptions = {\n      headers: new HttpHeaders({ 'auth-key': authKey }),\n    };\n    const req = this.http\n      .get(\n        this.brxEndpoints.buildPathwaysandRecommendationsUrl(\n          isPreview,\n          query,\n          searchConfig,\n          widgetType,\n          widgetid,\n          categoryid,\n          pids,\n        ),\n        requestOptions,\n      )\n      .pipe(\n        map((data: any) => {\n          return data?.response?.docs.map((product: any) => this.converter.convert(product, PRODUCT_NORMALIZER)) ?? {};\n        }),\n      );\n\n    req.subscribe((data) => {\n      this.productsSubject.next(data);\n    });\n  }\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { Observable } from 'rxjs';\nimport { map } from 'rxjs/operators';\nimport { BrxEndpointService } from './brx-endpoint.service';\n\n@Injectable({\n  providedIn: 'root',\n})\nexport class BrxCategoryService {\n  constructor(protected http: HttpClient, protected brxEndpoints: BrxEndpointService) {}\n\n  getAllCategoriesList(): Observable<any> {\n    return this.http.get(this.brxEndpoints.buildSearchUrl()).pipe(map((data: any) => data?.category_map ?? {}));\n  }\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './brx-delivery-tab.service';\nexport * from './brx-endpoint.service';\nexport * from './spartacus-product-list-component.service';\nexport * from './spartacus-product-search.service';\nexport * from './spartacus-search-box-component.service';\nexport * from './spartacus-searchbox.service';\nexport * from './brx-pathways-recommendations.service';\nexport * from './brx-category.service';\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, Input, OnInit } from '@angular/core';\nimport { ContainerItem, getContainerItemContent, Page } from '@bloomreach/spa-sdk';\nimport { Observable } from 'rxjs';\nimport { CategoryHighlightCompound } from '../../models/common-types.model';\nimport { BrxCategoryService } from '../../services';\n\n@Component({\n  selector: 'brx-category-highlight',\n  templateUrl: './category-highlight.component.html',\n  styleUrls: ['./category-highlight.component.scss'],\n})\nexport class CategoryHighlightComponent implements OnInit {\n  @Input() component!: ContainerItem;\n\n  @Input() page!: Page;\n\n  title = '';\n\n  commerceCategoryCompound: any[] = [];\n\n  constructor(private categoryservice: BrxCategoryService) {}\n\n  ngOnInit(): void {\n    this.renderComponent();\n  }\n\n  categoriesList$: Observable<any[]> = this.categoryservice.getAllCategoriesList();\n\n  renderComponent(): void {\n    const { title, commerceCategoryCompound } =\n      getContainerItemContent<CategoryHighlightCompound>(this.component, this.page) ?? {};\n    this.title = title ?? '';\n    this.commerceCategoryCompound = commerceCategoryCompound\n      ? commerceCategoryCompound?.map((data: any) => data.categoryid)\n      : [];\n  }\n\n  getQuery(item: string): string {\n    return `/category/${item}`;\n  }\n}\n","<!--\n  Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n  -->\n\n<div class=\"container\" [ngClass]=\"{ 'has-edit-button': page.isPreview() }\">\n  <h3 class=\"title\">{{ title }}</h3>\n  <div *ngIf=\"categoriesList$ | async as list\" class=\"row cat_highlight_continer\">\n    <div *ngFor=\"let item of commerceCategoryCompound; index as i\" class=\"col-12 col-sm-6 col-md-4 col-lg-3\">\n      <a [routerLink]=\"getQuery(item)\" class=\"btn btn-primary btn-block\" *ngIf=\"item\" [title]=\"list[item]\">\n        {{ list[item] }}\n      </a>\n    </div>\n  </div>\n</div>\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Directive, ViewContainerRef } from '@angular/core';\n\n@Directive({\n  selector: '[brxSpartacusBanner]',\n})\nexport class SpartacusBannerDirective {\n  constructor(public viewContainerRef: ViewContainerRef) {}\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, Injector, Input, OnInit, ViewChild } from '@angular/core';\nimport { ContainerItem, Document, getContainerItemContent, ImageSet, Page } from '@bloomreach/spa-sdk';\nimport { CmsBannerComponent } from '@spartacus/core';\nimport { BannerComponent, CmsComponentData } from '@spartacus/storefront';\nimport { of } from 'rxjs';\nimport { BannerCompound } from '../../models/common-types.model';\nimport { SpartacusBannerDirective } from './spartacus-banner.directive';\nimport { sanitize } from '../../utils/sanitize';\n\n@Component({\n  selector: 'brx-spartacus-banner',\n  templateUrl: './spartacus-banner.component.html',\n})\nexport class SpartacusBannerComponent implements OnInit {\n  @Input() component!: ContainerItem;\n\n  @Input() page!: Page;\n\n  @ViewChild(SpartacusBannerDirective, { static: true })\n  wrappedComponent!: SpartacusBannerDirective;\n\n  ngOnInit(): void {\n    this.renderWrappedBanner();\n  }\n\n  renderWrappedBanner(): void {\n    const { viewContainerRef } = this.wrappedComponent;\n    viewContainerRef.clear();\n\n    const banner = getContainerItemContent<BannerCompound>(this.component, this.page);\n    const image = banner?.image && this.page.getContent<ImageSet>(banner.image);\n    const link = banner?.link && this.page.getContent<Document>(banner.link);\n    const sanitized = sanitize(banner?.content?.value ?? '');\n    const content = this.page.rewriteLinks(sanitized);\n\n    const componentProperties: CmsBannerComponent = {\n      headline: banner?.title,\n      content,\n      media: {\n        url: image?.getOriginal()?.getUrl(),\n      },\n      urlLink: link?.getUrl(),\n      styleClasses: banner?.styleClasses,\n    };\n\n    const componentInjector = Injector.create({\n      providers: [{ provide: CmsComponentData, useValue: { data$: of(componentProperties) } }],\n    });\n\n    viewContainerRef.createComponent(BannerComponent, { index: 0, injector: componentInjector });\n  }\n}\n","<!--\n  Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n  -->\n\n<div>\n  <ng-template brxSpartacusBanner></ng-template>\n</div>\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Directive, ViewContainerRef } from '@angular/core';\n\n@Directive({\n  selector: '[brxSpartacusTabParagraphContainer]',\n})\nexport class SpartacusTabParagraphContainerDirective {\n  constructor(public viewContainerRef: ViewContainerRef) {}\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, Injector, Input, OnInit, ViewChild } from '@angular/core';\nimport { ContainerItem, getContainerItemContent, Page } from '@bloomreach/spa-sdk';\nimport { CmsService, CMSTabParagraphContainer } from '@spartacus/core';\nimport { CmsComponentData, TabParagraphContainerComponent } from '@spartacus/storefront';\nimport { Observable, of } from 'rxjs';\nimport { map } from 'rxjs/operators';\nimport { SelectionType, DocumentContent } from '../../models/common-types.model';\nimport { BrxDeliveryTabService } from '../../services/brx-delivery-tab.service';\nimport { SpartacusTabParagraphContainerDirective } from './spartacus-tab-paragraph-container.directive';\nimport { sanitize } from '../../utils/sanitize';\n\ninterface SpartacusProductDetailTabsCompound {\n  tabs: SelectionType;\n  shipping?: DocumentContent;\n}\n\n@Component({\n  selector: 'brx-spartacus-product-details',\n  templateUrl: './spartacus-product-details.component.html',\n})\nexport class SpartacusProductDetailsComponent implements OnInit {\n  @Input() component!: ContainerItem;\n\n  @Input() page!: Page;\n\n  @ViewChild(SpartacusTabParagraphContainerDirective, { static: true })\n  wrappedTabParagraphContainer!: SpartacusTabParagraphContainerDirective;\n\n  constructor(private deliveryTabService: BrxDeliveryTabService, private cmsService: CmsService) {}\n\n  summaryComponents$: Observable<any[]> = this.cmsService.getContentSlot('Summary').pipe(\n    map((slot) => {\n      const components = slot?.components ?? [];\n      // console.log('[SpartacusProductDetailsComponent: components]: ', components);\n      return components;\n    }),\n  );\n\n  ngOnInit(): void {\n    this.renderWrappedTabParagraphContainer();\n  }\n\n  async renderWrappedTabParagraphContainer(): Promise<void> {\n    const { viewContainerRef } = this.wrappedTabParagraphContainer;\n    viewContainerRef.clear();\n\n    const { tabs, shipping } =\n      getContainerItemContent<SpartacusProductDetailTabsCompound>(this.component, this.page) ?? {};\n    const componentProperties: CMSTabParagraphContainer = {\n      components: tabs?.selectionValues\n        .map(({ key }) => {\n          return key;\n        })\n        .join(' '),\n      uid: 'TabPanelContainer',\n    };\n\n    if (shipping?.value) {\n      const sanitized = sanitize(shipping.value);\n      const content = this.page.rewriteLinks(sanitized);\n      this.deliveryTabService.setContent(content);\n    }\n\n    const componentInjector = Injector.create({\n      providers: [\n        {\n          provide: CmsComponentData,\n          useValue: { data$: of(componentProperties) },\n        },\n      ],\n    });\n\n    viewContainerRef.createComponent(TabParagraphContainerComponent, { index: 0, injector: componentInjector });\n  }\n}\n","<!--\n  Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n  -->\n\n<div class=\"ProductDetailsPageTemplate\">\n  <div class=\"Summary\">\n    <ng-container *ngIf=\"summaryComponents$ | async as summaryComponents\">\n      <ng-container *ngFor=\"let component of summaryComponents; let i = index\">\n        <ng-container *ngIf=\"component\">\n          <ng-template [cxOutlet]=\"component.flexType\" [cxOutletContext]=\"{ component: component }\">\n            <ng-container [cxComponentWrapper]=\"component\"></ng-container>\n          </ng-template>\n        </ng-container>\n      </ng-container>\n    </ng-container>\n  </div>\n\n  <div class=\"Tabs\">\n    <ng-template brxSpartacusTabParagraphContainer></ng-template>\n  </div>\n</div>\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { OutletModule, PageComponentModule } from '@spartacus/storefront';\nimport { SpartacusProductDetailsComponent } from './spartacus-product-details.component';\nimport { SpartacusTabParagraphContainerDirective } from './spartacus-tab-paragraph-container.directive';\n\n@NgModule({\n  declarations: [SpartacusProductDetailsComponent, SpartacusTabParagraphContainerDirective],\n  imports: [CommonModule, OutletModule, PageComponentModule],\n  exports: [SpartacusProductDetailsComponent],\n})\nexport class SpartacusProductDetailsModule {}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Directive, ViewContainerRef } from '@angular/core';\n\n@Directive({\n  selector: '[brxSpartacusProductHighlight]',\n})\nexport class SpartacusProductHighlightDirective {\n  constructor(public viewContainerRef: ViewContainerRef) {}\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, OnInit, ViewChild, Injector, Input } from '@angular/core';\nimport { ContainerItem, getContainerItemContent, Page } from '@bloomreach/spa-sdk';\nimport { CmsProductCarouselComponent, ProductService } from '@spartacus/core';\nimport { CmsComponentData, ProductCarouselComponent } from '@spartacus/storefront';\nimport { of } from 'rxjs';\nimport { SpartacusProductHighlightDirective } from './spartacus-product-highlight.directive';\n\ninterface ProductHighlightCompound {\n  title: string;\n  connectorid: { selectionValues: [{ key: string; label: string }] };\n  commerceProductCompound?: [{ productid: string; variantid: string }];\n}\n\n@Component({\n  selector: 'brx-spartacus-product-highlight',\n  templateUrl: './spartacus-product-highlight.component.html',\n})\nexport class SpartacusProductHighlightComponent implements OnInit {\n  @Input() component!: ContainerItem;\n\n  @Input() page!: Page;\n\n  @ViewChild(SpartacusProductHighlightDirective, { static: true })\n  wrappedComponent!: SpartacusProductHighlightDirective;\n\n  constructor(private productService: ProductService) {}\n\n  ngOnInit(): void {\n    this.renderWrappedBanner();\n  }\n\n  renderWrappedBanner(): void {\n    const { viewContainerRef } = this.wrappedComponent;\n    viewContainerRef.clear();\n\n    const products = getContainerItemContent<ProductHighlightCompound>(this.component, this.page);\n\n    const productCodes = products?.commerceProductCompound?.map(({ productid, variantid }) => {\n      const selectedId = variantid?.length ? variantid : productid;\n      const [, , code] = selectedId.match(/id=([\\w\\d._=-]+[\\w\\d=]?)?;code=([\\w\\d._=/-]+[\\w\\d=]?)?/i) ?? [];\n      return code;\n    });\n\n    const componentProperties: CmsProductCarouselComponent = {\n      title: products?.title,\n      productCodes: productCodes?.join(' '),\n    };\n\n    const componentInjector = Injector.create({\n      providers: [\n        {\n          provide: CmsComponentData,\n          useValue: { data$: of(componentProperties) },\n        },\n        {\n          provide: ProductService,\n          useValue: this.productService,\n        },\n      ],\n    });\n\n    viewContainerRef.createComponent(ProductCarouselComponent, { index: 0, injector: componentInjector });\n  }\n}\n","<!--\n  Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n  -->\n\n<div>\n  <ng-template brxSpartacusProductHighlight></ng-template>\n</div>\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Directive, ViewContainerRef } from '@angular/core';\n\n@Directive({\n  selector: '[brxSpartacusProductList]',\n})\nexport class SpartacusProductListDirective {\n  constructor(public viewContainerRef: ViewContainerRef) {}\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, Injector, Input, OnInit, ViewChild } from '@angular/core';\nimport { ContainerItem, getContainerItemContent, Page } from '@bloomreach/spa-sdk';\nimport {\n  CmsComponentData,\n  PageLayoutService,\n  ProductListComponent,\n  ProductListComponentService,\n  ProductListRouteParams,\n  ViewConfig,\n} from '@spartacus/storefront';\nimport { of } from 'rxjs';\nimport { PRODUCT_LIST_COMPONENT_PARAMS, SpartacusProductListComponentService } from '../../services';\nimport { SelectionType } from '../../models/common-types.model';\nimport { SpartacusProductListDirective } from './spartacus-product-list.directive';\n\ninterface ProductListParams {\n  pagesize: number;\n  infinitescrollActive: boolean;\n  infinitescrollLimit?: number;\n  infinitescrollMore?: boolean;\n}\n\ninterface ProductGridCompound {\n  searchtype: SelectionType;\n  query?: string;\n  category?: { categoryid: string };\n}\n\n@Component({\n  selector: 'brx-spartacus-product-list',\n  templateUrl: './spartacus-product-list.component.html',\n})\nexport class SpartacusProductListComponent implements OnInit {\n  @Input() component!: ContainerItem;\n\n  @Input() page!: Page;\n\n  @ViewChild(SpartacusProductListDirective, { static: true })\n  wrappedComponent!: SpartacusProductListDirective;\n\n  constructor(private pageLayoutService: PageLayoutService, private injector: Injector) {}\n\n  ngOnInit(): void {\n    this.renderWrappedProductList();\n  }\n\n  renderWrappedProductList(): void {\n    const { viewContainerRef } = this.wrappedComponent;\n    viewContainerRef.clear();\n\n    const { pagesize, infinitescrollActive, infinitescrollLimit, infinitescrollMore } =\n      this.component.getParameters<ProductListParams>();\n\n    const { searchtype, query, category } =\n      getContainerItemContent<ProductGridCompound>(this.component, this.page) ?? {};\n\n    const searchType = searchtype?.selectionValues[0].key;\n    const componentParams: ProductListRouteParams =\n      searchType === 'category' ? { categoryCode: category?.categoryid } : { query };\n\n    const scrollConfig: ViewConfig = {\n      view: {\n        defaultPageSize: pagesize,\n        infiniteScroll: {\n          active: infinitescrollActive,\n          productLimit: infinitescrollLimit,\n          showMoreButton: infinitescrollMore,\n        },\n      },\n    };\n\n    const componentProperties = {\n      composition: {\n        inner: ['ProductAddToCartComponent'],\n      },\n    };\n\n    const componentInjector = Injector.create({\n      providers: [\n        { provide: PageLayoutService, useValue: this.pageLayoutService },\n        { provide: ViewConfig, useValue: scrollConfig },\n        { provide: PRODUCT_LIST_COMPONENT_PARAMS, useValue: componentParams },\n        { provide: ProductListComponentService, useClass: SpartacusProductListComponentService },\n        { provide: CmsComponentData, useValue: { data$: of(componentProperties) } },\n      ],\n      parent: this.injector,\n    });\n\n    viewContainerRef.createComponent(ProductListComponent, { index: 0, injector: componentInjector });\n  }\n}\n","<!--\n  Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n  -->\n\n<div>\n  <ng-template brxSpartacusProductList></ng-template>\n</div>\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Directive, ViewContainerRef } from '@angular/core';\n\n@Directive({\n  selector: '[brxSpartacusSearchBox]',\n})\nexport class SpartacusSearchBoxDirective {\n  constructor(public viewContainerRef: ViewContainerRef) {}\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, Injector, Input, OnInit, ViewChild } from '@angular/core';\nimport { Component as BrComponent, Page } from '@bloomreach/spa-sdk';\nimport { CmsSearchBoxComponent } from '@spartacus/core';\nimport { CmsComponentData, SearchBoxComponent, SearchBoxComponentService } from '@spartacus/storefront';\nimport { of } from 'rxjs';\nimport { SpartacusSearchBoxComponentService } from '../../services/spartacus-search-box-component.service';\nimport { SpartacusSearchBoxDirective } from './spartacus-search-box.directive';\n\ninterface SearchBoxParams {\n  maxSuggestions?: number;\n  maxProducts?: number;\n  displaySuggestions?: boolean;\n  displayProducts?: boolean;\n  displayProductImages?: boolean;\n  minCharactersBeforeRequest?: number;\n}\n\n@Component({\n  selector: 'brx-spartacus-search-box',\n  templateUrl: './spartacus-search-box.component.html',\n})\nexport class SpartacusSearchBoxComponent implements OnInit {\n  @Input() component!: BrComponent;\n\n  @Input() page!: Page;\n\n  @ViewChild(SpartacusSearchBoxDirective, { static: true })\n  wrappedComponent!: SpartacusSearchBoxDirective;\n\n  constructor(private readonly searchBoxComponentService: SpartacusSearchBoxComponentService) {}\n\n  ngOnInit(): void {\n    this.renderWrappedSearchBox();\n  }\n\n  renderWrappedSearchBox(): void {\n    const { viewContainerRef } = this.wrappedComponent;\n    viewContainerRef.clear();\n\n    const {\n      displayProductImages,\n      displayProducts,\n      displaySuggestions,\n      maxProducts,\n      maxSuggestions,\n      minCharactersBeforeRequest,\n    } = this.component.getParameters<SearchBoxParams>();\n\n    const componentProperties: CmsSearchBoxComponent = {\n      maxSuggestions,\n      maxProducts,\n      displaySuggestions,\n      displayProducts,\n      displayProductImages,\n      minCharactersBeforeRequest,\n    };\n\n    const componentInjector = Injector.create({\n      providers: [\n        {\n          provide: CmsComponentData,\n          useValue: { data$: of(componentProperties) },\n        },\n        {\n          provide: SearchBoxComponentService,\n          useValue: this.searchBoxComponentService,\n        },\n      ],\n    });\n\n    viewContainerRef.createComponent(SearchBoxComponent, { index: 0, injector: componentInjector });\n  }\n}\n","<!--\n  Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n  -->\n\n<div>\n  <ng-template brxSpartacusSearchBox></ng-template>\n</div>\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport {\n  ConverterService,\n  Product,\n  ProductSearchAdapter,\n  ProductSearchPage,\n  PRODUCT_NORMALIZER,\n  PRODUCT_SEARCH_PAGE_NORMALIZER,\n  PRODUCT_SUGGESTION_NORMALIZER,\n  Suggestion,\n} from '@spartacus/core';\nimport { Observable } from 'rxjs';\nimport { map, pluck } from 'rxjs/operators';\nimport { BrxSearchConfig } from '../../../models/brx-search-config.model';\nimport { BrxEndpointService } from '../../../services/brx-endpoint.service';\n\nconst DEFAULT_SEARCH_CONFIG: BrxSearchConfig = {\n  pageSize: 20,\n  type: 'search',\n};\n\nexport const ALLCATEGORIES = ':allCategories:';\n\n/*\n * Inspired by src/occ/adapters/product/occ-product-search.adapter.ts\n * of SAP Spartacus Core Library project.\n */\n@Injectable({\n  providedIn: 'root',\n})\nexport class BrxProductSearchAdapter implements ProductSearchAdapter {\n  constructor(\n    protected http: HttpClient,\n    protected converter: ConverterService,\n    protected brxEndpointService: BrxEndpointService,\n  ) {}\n\n  search(query = '', searchConfig: BrxSearchConfig = DEFAULT_SEARCH_CONFIG): Observable<ProductSearchPage> {\n    // console.log('[** Product Search Adapter - Custom Brx API Req---]', query, searchConfig);\n    if (searchConfig.type === 'suggestion') {\n      return this.http.get(this.getSuggestionEndpoint(query)).pipe(\n        map((response: any) => response.response?.products || []),\n        map((model: any[]) => model.slice(0, searchConfig.pageSize)),\n        this.converter.pipeableMany(PRODUCT_NORMALIZER),\n        map<Product[], ProductSearchPage>((model: Product[]) => ({\n          products: model,\n        })),\n      );\n    }\n\n    // to search products by category\n    let smQuery = query;\n    let sort: string | undefined;\n    let searchQuery: string | undefined;\n    let facets: string[] | undefined;\n    const categoryIndex = query?.indexOf(ALLCATEGORIES);\n    // Only in category page, the sort value is before the query\n    if (categoryIndex >= 0) {\n      smQuery = query.slice(categoryIndex + ALLCATEGORIES.length);\n      [searchQuery, ...facets] = smQuery ? smQuery.split(':') : [];\n      sort = query.slice(1, categoryIndex);\n      searchConfig = { ...searchConfig, type: 'category' };\n    } else {\n      [searchQuery, sort, ...facets] = smQuery ? smQuery.split(':') : [];\n    }\n\n    if (!searchConfig.sort) {\n      searchConfig = { ...searchConfig, sort };\n    }\n    // console.log('[BrxProductSearchAdapter.smQuery]: ', smQuery);\n    const url = this.getSearchEndpoint(searchQuery, searchConfig, facets);\n\n    return this.http.get(url).pipe(\n      map((response: any) => {\n        return {\n          ...response,\n          query,\n          url,\n          sort: searchConfig.sort,\n        };\n      }),\n      this.converter.pipeable(PRODUCT_SEARCH_PAGE_NORMALIZER),\n    );\n  }\n\n  searchByCodes(codes: string[]) {\n    return this.http.get<any[]>(this.getSearchEndpoint(codes.toString(), {})).pipe(\n      this.converter.pipeableMany(PRODUCT_NORMALIZER),\n      map((products) => ({ products })),\n    );\n  }\n\n  loadSuggestions(term: string, pageSize = 3): Observable<Suggestion[]> {\n    return this.http.get(this.getSuggestionEndpoint(term)).pipe(\n      map((response: any) => response.response?.suggestions || []),\n      map((model: any[]) => model.slice(0, pageSize)),\n      this.converter.pipeableMany(PRODUCT_SUGGESTION_NORMALIZER),\n    );\n  }\n\n  protected getSearchEndpoint(query: string, searchConfig: BrxSearchConfig, facets?: string[]): string {\n    return this.brxEndpointService.buildSearchUrl(query, searchConfig, facets);\n  }\n\n  protected getSuggestionEndpoint(term: string): string {\n    return this.brxEndpointService.buildSuggestionUrl(term);\n  }\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ProductSearchAdapter } from '@spartacus/core';\nimport { BrxProductSearchAdapter } from './brx-product-search-adapter';\n\n@NgModule({\n  declarations: [],\n  imports: [CommonModule],\n  providers: [\n    {\n      provide: ProductSearchAdapter,\n      useClass: BrxProductSearchAdapter,\n    },\n    // Disabled to use OCC for product details\n    // {\n    //   provide: ProductAdapter,\n    //   useClass: BrxProductAdapter,\n    // },\n  ],\n})\nexport class BrxProductSearchModule {}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport {\n  CmsComponent,\n  CMS_COMPONENT_NORMALIZER,\n  ConverterService,\n  OccCmsComponentAdapter,\n  OccEndpointsService,\n  PageContext,\n  PageType,\n} from '@spartacus/core';\nimport { combineLatest, Observable, of } from 'rxjs';\nimport { map } from 'rxjs/operators';\nimport { BrxDeliveryTabService } from '../../services/brx-delivery-tab.service';\n\n@Injectable({\n  providedIn: 'root',\n})\nexport class BrxCmsComponentAdapter extends OccCmsComponentAdapter {\n  constructor(\n    protected http: HttpClient,\n    protected occEndpoints: OccEndpointsService,\n    protected converter: ConverterService,\n    protected deliveryTabService: BrxDeliveryTabService,\n  ) {\n    super(http, occEndpoints, converter);\n  }\n\n  findComponentsByIds(ids: string[], pageContext: PageContext): Observable<CmsComponent[]> {\n    // console.log('[ProductDetailsTabComponentAdapter.ids]: ', ids);\n    if (pageContext?.type === PageType.PRODUCT_PAGE) {\n      return this.generateProductDetailTabs(ids);\n    }\n\n    return super.findComponentsByIds(ids, pageContext);\n  }\n\n  generateProductDetailTabs(ids: string[]): Observable<CmsComponent[]> {\n    if (!ids?.length) {\n      return of<CmsComponent[]>([]);\n    }\n    const tabs: Observable<any>[] = ids.map((id) => {\n      if (id !== 'deliveryTab') {\n        return of({\n          uid: id,\n          flexType: id,\n        });\n      }\n\n      return this.deliveryTabService.getContent().pipe(\n        map((content) => ({\n          uid: 'deliveryTab',\n          typeCode: 'CMSTabParagraphComponent',\n          content: `<div class=\"tab-delivery\">${content}</div>`,\n        })),\n      );\n    });\n\n    return combineLatest(tabs).pipe(this.converter.pipeableMany(CMS_COMPONENT_NORMALIZER));\n  }\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Injectable } from '@angular/core';\nimport { Params, Router } from '@angular/router';\nimport {\n  CmsPageAdapter,\n  CmsStructureModel,\n  CMS_PAGE_NORMALIZER,\n  ConverterService,\n  Occ,\n  PageContext,\n  PageType,\n  RoutingConfigService,\n  RoutingService,\n} from '@spartacus/core';\nimport { Observable } from 'rxjs';\nimport { map, take } from 'rxjs/operators';\n\n@Injectable({\n  providedIn: 'root',\n})\nexport class BrxCmsPageAdapter implements CmsPageAdapter {\n  constructor(\n    protected converter: ConverterService,\n    private readonly routingConfigService: RoutingConfigService,\n    private readonly routingService: RoutingService,\n    private readonly router: Router,\n  ) {}\n\n  /**\n   * @override returns the PMA data for the given context and converts\n   * the data by any configured `CMS_PAGE_NORMALIZER`.\n   */\n  load(pageContext: PageContext): Observable<CmsStructureModel> {\n    // console.log('[BrxCmsPageAdapter.load]');\n    // console.log('[pageContext]: ', pageContext);\n    return this.routingService.getRouterState().pipe(\n      take(1),\n      map((state) => {\n        // eslint-disable-next-line @typescript-eslint/no-unused-vars\n        const { url, queryParams = {} } = state.nextState ?? {};\n        // console.log('[BrxCmsPageAdapter]: router state url: ', url);\n        // console.log('[BrxCmsPageAdapter]: router state queryParams: ', queryParams);\n        if (pageContext?.type === PageType.PRODUCT_PAGE) {\n          return this.generateProductPageTemplate(pageContext);\n        }\n        if (pageContext?.type === PageType.CATEGORY_PAGE) {\n          return this.generateCategoryPageTemplate(pageContext);\n        }\n\n        // By default, pageContext's id is path\n        let path = pageContext?.id ?? '';\n        if (path.startsWith('/')) {\n          path = path.slice(1);\n        }\n        const routeName = this.routingConfigService.getRouteName(path);\n        // console.log('[BrxCmsPageAdapter]: routeName: ', routeName);\n        if (routeName?.startsWith('checkout')) {\n          return this.generateCheckoutPageTemplate(pageContext, routeName, path, queryParams);\n        }\n        if (routeName?.startsWith('orderConfirmation')) {\n          return this.generateOrderConfirmationPageTemplate(pageContext, queryParams);\n        }\n\n        // Convert to uid\n        let uid = path;\n        if (uid === '__HOMEPAGE__') {\n          uid = 'homepage';\n        }\n        uid = uid.replace(/-([a-z])/g, (g) => g[1].toUpperCase());\n        return {\n          uid,\n          typeCode: pageContext?.type,\n          template: this.getPageTemplate(pageContext),\n          contentSlots: {\n            contentSlot: [],\n          },\n        };\n      }),\n      this.converter.pipeable(CMS_PAGE_NORMALIZER),\n    );\n  }\n\n  /**\n   * returns a mock OCC response for product details page,\n   * for the native Spartacus product details page implementation to work correctly.\n   */\n  protected generateProductPageTemplate(pageContext: PageContext): Occ.CMSPage {\n    return {\n      uid: 'productDetails',\n      typeCode: pageContext?.type,\n      template: 'ProductDetailsPageTemplate',\n      contentSlots: {\n        contentSlot: [\n          {\n            slotId: 'ProductSummarySlot',\n            position: 'Summary',\n            components: {\n              component: [\n                {\n                  uid: 'ProductImagesComponent',\n                  typeCode: 'CMSFlexComponent',\n                  flexType: 'ProductImagesComponent',\n                },\n                {\n                  uid: 'ProductIntroComponent',\n                  typeCode: 'CMSFlexComponent',\n                  flexType: 'ProductIntroComponent',\n                },\n                {\n                  uid: 'ProductSummaryComponent',\n                  typeCode: 'CMSFlexComponent',\n                  flexType: 'ProductSummaryComponent',\n                },\n                {\n                  uid: 'VariantSelector',\n                  typeCode: 'ProductVariantSelectorComponent',\n                  flexType: 'ProductVariantSelectorComponent',\n                },\n                {\n                  uid: 'AddToCart',\n                  typeCode: 'ProductAddToCartComponent',\n                  flexType: 'ProductAddToCartComponent',\n                },\n                {\n                  uid: 'AddToWishListComponent',\n                  typeCode: 'CMSFlexComponent',\n                  flexType: 'AddToWishListComponent',\n                },\n                {\n                  uid: 'StockNotificationComponent',\n                  typeCode: 'CMSFlexComponent',\n                  flexType: 'StockNotificationComponent',\n                },\n              ],\n            },\n          },\n          {\n            slotId: 'TabsSlot',\n            position: 'Tabs',\n            components: {\n              component: [\n                {\n                  uid: 'TabPanelContainer',\n                  typeCode: 'CMSTabParagraphContainer',\n                  components:\n                    'ProductDetailsTabComponent ProductSpecsTabComponent ProductReviewsTabComponent deliveryTab',\n                },\n              ],\n            },\n          },\n        ],\n      },\n    };\n  }\n\n  /**\n   * returns a mock OCC response for product category page,\n   * so the Spartacus page meta service (used by the breadcrumb component) for category page can work correctly.\n   */\n  protected generateCategoryPageTemplate(pageContext: PageContext): Occ.CMSPage {\n    return {\n      uid: 'productList',\n      typeCode: pageContext?.type,\n      template: 'ProductListPageTemplate',\n      contentSlots: {\n        contentSlot: [\n          {\n            slotId: 'ProductListSlot',\n            position: 'ProductListSlot',\n            slotShared: true,\n            components: {\n              component: [\n                {\n                  uid: 'ProductListComponent',\n                  typeCode: 'CMSProductListComponent',\n                  container: 'false',\n                },\n              ],\n            },\n          },\n        ],\n      },\n    };\n  }\n\n  /**\n   * returns a mock OCC response for checkout page,\n   * so the Spartacus component guards can work correctly.\n   * The component guards are required to prevent unauthorized access to the checkout pages.\n   */\n  protected generateCheckoutPageTemplate(\n    pageContext: PageContext,\n    routeName: string,\n    path: string,\n    queryParams: Params,\n  ): Occ.CMSPage {\n    const checkoutPage: Occ.CMSPage = {\n      uid: routeName,\n      typeCode: pageContext?.type,\n      label: `/${path}`,\n      template: 'MultiStepCheckoutSummaryPageTemplate',\n      title: routeName,\n      contentSlots: {\n        contentSlot: [],\n      },\n    };\n\n    // To prevent firing unnecessary guards, only add component types on live page\n    if (!this.isPreview(queryParams)) {\n      switch (routeName) {\n        case 'checkout':\n          checkoutPage.contentSlots!.contentSlot!.push({\n            name: 'Checkout Orchestrator Slot',\n            position: 'BodyContent',\n            slotId: 'BodyContentSlot-checkout',\n            slotShared: false,\n            components: {\n              component: [\n                {\n                  container: 'false',\n                  flexType: 'CheckoutOrchestrator',\n                  name: 'Checkout Orchestrator Component',\n                  typeCode: 'CMSFlexComponent',\n                  uid: 'CheckoutOrchestratorComponent',\n                },\n              ],\n            },\n          });\n          break;\n        case 'checkoutShippingAddress':\n          checkoutPage.contentSlots!.contentSlot!.push({\n            name: 'Checkout Shipping Address Slot',\n            position: 'BodyContent',\n            slotId: 'BodyContentSlot-checkoutShippingAddress',\n            slotShared: false,\n            components: {\n              component: [\n                {\n                  container: 'false',\n                  flexType: 'CheckoutProgress',\n                  name: 'Checkout Progress Component',\n                  typeCode: 'CMSFlexComponent',\n                  uid: 'CheckoutProgressComponent',\n                },\n                {\n                  container: 'false',\n                  flexType: 'CheckoutShippingAddress',\n                  name: 'Checkout Shipping Address Component',\n                  typeCode: 'CMSFlexComponent',\n                  uid: 'CheckoutShippingAddressComponent',\n                },\n              ],\n            },\n          });\n          break;\n        case 'checkoutDeliveryMode':\n          checkoutPage.contentSlots!.contentSlot!.push({\n            name: 'Checkout Delivery Mode Slot',\n            position: 'BodyContent',\n            slotId: 'BodyContentSlot-checkoutDeliveryMode',\n            slotShared: false,\n            components: {\n              component: [\n                {\n                  container: 'false',\n                  flexType: 'CheckoutProgress',\n                  name: 'Checkout Progress Component',\n                  typeCode: 'CMSFlexComponent',\n                  uid: 'CheckoutProgressComponent',\n                },\n                {\n                  container: 'false',\n                  flexType: 'CheckoutDeliveryMode',\n                  name: 'CheckoutDeliveryModeComponent',\n                  typeCode: 'CMSFlexComponent',\n                  uid: 'CheckoutDeliveryModeComponent',\n                },\n              ],\n            },\n          });\n          break;\n        case 'checkoutPaymentDetails':\n          checkoutPage.contentSlots!.contentSlot!.push({\n            name: 'Checkout Payment Details Slot',\n            position: 'BodyContent',\n            slotId: 'BodyContentSlot-checkoutPaymentDetails',\n            slotShared: false,\n            components: {\n              component: [\n                {\n                  container: 'false',\n                  flexType: 'CheckoutProgress',\n                  name: 'Checkout Progress Component',\n                  typeCode: 'CMSFlexComponent',\n                  uid: 'CheckoutProgressComponent',\n                },\n                {\n                  container: 'false',\n                  flexType: 'CheckoutPaymentDetails',\n                  name: 'CheckoutPaymentDetailsComponent',\n                  typeCode: 'CMSFlexComponent',\n                  uid: 'CheckoutPaymentDetailsComponent',\n                },\n              ],\n            },\n          });\n          break;\n        case 'checkoutReviewOrder':\n          checkoutPage.contentSlots!.contentSlot!.push(\n            {\n              name: 'Checkout Review Order Slot',\n              position: 'BodyContent',\n              slotId: 'BodyContentSlot-checkoutReviewOrder',\n              slotShared: false,\n              components: {\n                component: [\n                  {\n                    container: 'false',\n                    flexType: 'CheckoutProgress',\n                    name: 'Checkout Progress Component',\n                    typeCode: 'CMSFlexComponent',\n                    uid: 'CheckoutProgressComponent',\n                  },\n                  {\n                    container: 'false',\n                    flexType: 'CheckoutReviewOrder',\n                    name: 'CheckoutReviewOrderComponent',\n                    typeCode: 'CMSFlexComponent',\n                    uid: 'CheckoutReviewOrderComponent',\n                  },\n                ],\n              },\n            },\n            {\n              name: 'Checkout Place Order Slot',\n              position: 'SideContent',\n              slotId: `SideContentSlot-checkoutReviewOrder`,\n              slotShared: false,\n              components: {\n                component: [\n                  {\n                    container: 'false',\n                    flexType: 'CheckoutPlaceOrder',\n                    name: 'CheckoutPlaceOrderComponent',\n                    typeCode: 'CMSFlexComponent',\n                    uid: 'CheckoutPlaceOrderComponent',\n                  },\n                ],\n              },\n            },\n          );\n          break;\n        default:\n          break;\n      }\n    }\n\n    return checkoutPage;\n  }\n\n  /**\n   * returns a mock OCC response for order confirmation page,\n   * so the Spartacus component guards can work correctly.\n   * The component guards are required to prevent unauthorized access to the order confirmation page.\n   */\n  protected generateOrderConfirmationPageTemplate(pageContext: PageContext, queryParams: Params): Occ.CMSPage {\n    const orderConfirmationPage: Occ.CMSPage = {\n      uid: 'orderConfirmationPage',\n      typeCode: pageContext?.type,\n      label: `/order-confirmation`,\n      template: 'OrderConfirmationPageTemplate',\n      title: 'Order Confirmation',\n      contentSlots: {\n        contentSlot: [],\n      },\n    };\n\n    // To prevent firing unnecessary guards, only add component types on live page\n    if (!this.isPreview(queryParams)) {\n      orderConfirmationPage.contentSlots!.contentSlot!.push({\n        name: 'Body Content Slot for Order Confirmation',\n        position: 'BodyContent',\n        slotId: 'BodyContent-orderConfirmation',\n        slotShared: false,\n        components: {\n          component: [\n            {\n              container: 'false',\n              flexType: 'OrderConfirmationThankMessageComponent',\n              typeCode: 'CMSFlexComponent',\n              uid: 'OrderConfirmationThankMessageComponent',\n            },\n            {\n              container: 'false',\n              flexType: 'OrderConfirmationOverviewComponent',\n              typeCode: 'CMSFlexComponent',\n              uid: 'OrderConfirmationOverviewComponent',\n            },\n            {\n              container: 'false',\n              flexType: 'OrderConfirmationItemsComponent',\n              typeCode: 'CMSFlexComponent',\n              uid: 'OrderConfirmationItemsComponent',\n            },\n            {\n              container: 'false',\n              flexType: 'OrderConfirmationTotalsComponent',\n              typeCode: 'CMSFlexComponent',\n              uid: 'OrderConfirmationTotalsComponent',\n            },\n          ],\n        },\n      });\n    }\n\n    return orderConfirmationPage;\n  }\n\n  // Mock page template for breadcrumb component\n  protected getPageTemplate(pageContext: PageContext): string | undefined {\n    if (pageContext.id === 'search') {\n      return 'SearchResultsListPageTemplate';\n    }\n\n    return undefined;\n  }\n\n  private isPreview(queryParams: Params): boolean {\n    return queryParams.token && queryParams.endpoint;\n  }\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { CmsComponentAdapter, CmsPageAdapter } from '@spartacus/core';\nimport { BrxCmsComponentAdapter } from './brx-cms-component.adapter';\nimport { BrxCmsPageAdapter } from './brx-cms-page.adapter';\n\n@NgModule({\n  imports: [CommonModule],\n  providers: [\n    {\n      provide: CmsPageAdapter,\n      useClass: BrxCmsPageAdapter,\n    },\n    {\n      provide: CmsComponentAdapter,\n      useClass: BrxCmsComponentAdapter,\n    },\n  ],\n})\nexport class CmsBrxModule {}\n","/* eslint-disable camelcase */\n/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Injectable } from '@angular/core';\nimport {\n  Breadcrumb,\n  Converter,\n  ConverterService,\n  FacetValue,\n  ProductSearchPage,\n  PRODUCT_NORMALIZER,\n} from '@spartacus/core';\nimport { BrxEndpointService } from '../../../services/brx-endpoint.service';\nimport { ALLCATEGORIES } from '../adapters/brx-product-search-adapter';\n\ninterface BloomreachFacet {\n  count: number;\n  crumb: string;\n  cat_name: string;\n  name: string;\n  parent: string;\n  cat_id: string;\n  tree_path: string;\n}\n\n/*\n * Inspired by src/occ/adapters/product/converters/occ-product-search-page-normalizer.ts\n * of SAP Spartacus Core Library project.\n */\n@Injectable({\n  providedIn: 'root',\n})\nexport class BrxProductSearchNormalizer implements Converter<any, ProductSearchPage> {\n  constructor(private converterService: ConverterService, private brxEndpointService: BrxEndpointService) {}\n\n  convert(source: any, target: ProductSearchPage = {}): ProductSearchPage {\n    target = {\n      ...target,\n      ...(source as any),\n    };\n\n    const src: ProductSearchPage = {\n      breadcrumbs: [],\n      categoryCode: '',\n      currentQuery: {},\n      facets: [],\n      freeTextSearch: '',\n      keywordRedirectUrl: '',\n      pagination: {},\n      products: source.response.docs,\n      sorts: [\n        {\n          code: '',\n          name: 'Relevance',\n          selected: true,\n        },\n        {\n          code: 'reviews desc',\n          name: 'Top Rated',\n          selected: false,\n        },\n        {\n          code: 'title asc',\n          name: 'Name (ascending)',\n          selected: false,\n        },\n        {\n          code: 'title desc',\n          name: 'Name (descending)',\n          selected: false,\n        },\n        {\n          code: 'price asc',\n          name: 'Price (lowest first)',\n          selected: false,\n        },\n        {\n          code: 'price desc',\n          name: 'Price (highest first)',\n          selected: false,\n        },\n      ],\n      spellingSuggestion: {},\n    };\n\n    if (src.products) {\n      target.products = src.products.map((data: any) => this.converterService.convert(data, PRODUCT_NORMALIZER));\n    }\n\n    const sort = source.sort ?? 'relevance';\n    // eslint-disable-next-line prefer-destructuring\n    let query: string = source.query;\n    const categoryIndex = query?.indexOf(ALLCATEGORIES);\n    if (categoryIndex >= 0) {\n      query = query.slice(categoryIndex + ALLCATEGORIES.length);\n    }\n\n    // eslint-disable-next-line prefer-const\n    let [searchText, ...facets] = query?.split(':') ?? [];\n    // Reconstruct query. Notice that category queries has sort value in front of query\n    if (categoryIndex >= 0) {\n      query = `:${sort}${ALLCATEGORIES}${searchText}`;\n      if (facets?.length) {\n        query += `:${facets.join(':')}`;\n      }\n    } else {\n      facets = facets?.slice(1);\n      query = facets?.length ? `${searchText}:${sort}:${facets.join(':')}` : `${searchText}:${sort}`;\n    }\n\n    if (query) {\n      target.breadcrumbs = [];\n      target.facets = Object.entries(source.facet_counts?.facet_fields ?? {}).map(([facetName, facetValues]) => {\n        let category = false;\n        const values: FacetValue[] =\n          (facetValues as BloomreachFacet[])\n            .map((value) => {\n              category = !!value.cat_name;\n              const facetValue = value.cat_name ? value.cat_id : value.name;\n              const facetValueName = value.cat_name ?? value.name;\n\n              // We need special treatment for category pages\n              if (`${query}:`.includes(`${ALLCATEGORIES}${facetValue}:`)) {\n                this.processCategories(searchText, facetValues as BloomreachFacet[], query, target.breadcrumbs!);\n                return undefined;\n              }\n\n              if (`${query}:`.includes(`:${facetName}:${facetValue}:`)) {\n                const removeQuery = query.replace(`:${facetName}:${facetValue}`, '');\n                target.breadcrumbs!.push({\n                  facetCode: facetName,\n                  facetName,\n                  facetValueCode: facetValue,\n                  facetValueName,\n                  removeQuery: {\n                    query: {\n                      value: removeQuery,\n                    },\n                    url: `/search?q=${encodeURIComponent(removeQuery)}`,\n                  },\n                });\n                return undefined;\n              }\n\n              return {\n                count: value.count,\n                name: facetValueName,\n                query: {\n                  query: {\n                    value: `${query}:${facetName}:${facetValue}`,\n                  },\n                  url: `/search?q=${query}%3A${facetName}%2C+${encodeURIComponent(facetValue)}`,\n                },\n                selected: false,\n              } as FacetValue;\n            })\n            .filter<FacetValue>(Boolean as any) ?? [];\n\n        return {\n          category,\n          multiSelect: true,\n          name: facetName,\n          values,\n          visible: true,\n        };\n      });\n\n      target.currentQuery = {\n        query: {\n          value: query,\n        },\n      };\n    }\n    // Convert the Source to target\n    target.sorts = src.sorts;\n    target.pagination = this.brxEndpointService.getPaginationDetails(source.response.numFound);\n    return target;\n  }\n\n  private processCategories(\n    catId: string,\n    allCategories: BloomreachFacet[],\n    query: string,\n    breadcrumbs: Breadcrumb[],\n  ): void {\n    const crumbs = allCategories.find((value) => value.cat_id === catId)?.crumb?.split('/') ?? [];\n    crumbs.filter(Boolean).forEach((crumb) => {\n      const category = allCategories.find((value) => value.cat_id === crumb);\n      if (category) {\n        const removeQuery = query.replace(`${ALLCATEGORIES}${category.cat_id}`, '');\n        breadcrumbs.push({\n          facetCode: 'allCategories',\n          facetName: 'category',\n          facetValueCode: category.cat_id,\n          facetValueName: category.cat_name,\n          removeQuery: {\n            query: {\n              value: removeQuery,\n            },\n            url: `/search?q=${encodeURIComponent(removeQuery)}`,\n          },\n        });\n      }\n    });\n  }\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { formatCurrency, getCurrencySymbol } from '@angular/common';\nimport { Injectable } from '@angular/core';\nimport { Converter, ConverterService, ImageType, Price, PriceType, Product } from '@spartacus/core';\n\n/*\n * Inspired by src/occ/adapters/product/converters/product-image-normalizer.ts\n * of SAP Spartacus Core Library project.\n */\n@Injectable({\n  providedIn: 'root',\n})\nexport class BrxProductNormalizer implements Converter<any, Product> {\n  constructor(private converterService: ConverterService) {}\n\n  convert(source: any, target: Product = {}): Product {\n    // target = {\n    //   ...target,\n    //   ...(source as any),\n    // };\n\n    // this.normalizeFacets(target);\n    // if (src.products) {\n    //   target.products = src.products.map((data: any) =>\n    //     this.converterService.convert(data, PRODUCT_NORMALIZER)\n    //   );\n    // }\n\n    // target.sorts = src.sorts;\n    // console.log('[BrxProductNormalizer, source]: ', source);\n    // console.log('[BrxProductNormalizer, target]: ', target);\n    target = target ?? { ...(source as Partial<Product>) };\n\n    // All brSM product responses contain 'pid' field\n    if (source?.pid) {\n      target = {\n        price: this.normalizePrice(source.sale_price),\n        priceRange: source.price_range\n          ? { maxPrice: source.price_range[0], minPrice: source.price_range[1] }\n          : undefined,\n        averageRating: source.score,\n        description: source.description,\n        name: source.title,\n        nameHtml: source.title,\n        url: source.url,\n        code: source.pid,\n        stock: {\n          stockLevelStatus: 'inStock',\n        },\n        images: {\n          PRIMARY: {\n            thumbnail: {\n              format: 'thumbnail',\n              imageType: ImageType.PRIMARY,\n              url: source.thumb_image,\n            },\n            product: {\n              format: 'product',\n              imageType: ImageType.PRIMARY,\n              url: source.thumb_image,\n            },\n          },\n        },\n      };\n    }\n    return target;\n  }\n\n  normalizePrice(val: any): Price {\n    const currencySymbol: string = getCurrencySymbol('USD', 'narrow', 'en');\n\n    const priceformatedval = formatCurrency(val, 'en', currencySymbol, 'USD');\n\n    return {\n      currencyIso: 'USD',\n      formattedValue: priceformatedval,\n      priceType: PriceType.BUY,\n      value: val,\n    };\n  }\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Injectable } from '@angular/core';\nimport { Converter, Suggestion } from '@spartacus/core';\n\n@Injectable({\n  providedIn: 'root',\n})\nexport class BrxProductSuggestionNormalizer implements Converter<any, Suggestion> {\n  convert(source: any, target: Suggestion = {}): Suggestion {\n    target = {\n      ...target,\n      ...(source as any),\n    };\n\n    target.value = source.q;\n\n    return target;\n  }\n}\n","import { PRODUCT_NORMALIZER, PRODUCT_SEARCH_PAGE_NORMALIZER, PRODUCT_SUGGESTION_NORMALIZER } from '@spartacus/core';\nimport { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { BrxProductSearchNormalizer } from './brx-product-search-normalizer';\nimport { BrxProductNormalizer } from './brx-product-normalizer';\nimport { BrxProductSuggestionNormalizer } from './brx-product-suggestion-normalizer';\n\n/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@NgModule({\n  declarations: [],\n  imports: [CommonModule],\n  providers: [\n    {\n      provide: PRODUCT_SEARCH_PAGE_NORMALIZER,\n      useExisting: BrxProductSearchNormalizer,\n      multi: true,\n    },\n    {\n      provide: PRODUCT_NORMALIZER,\n      useExisting: BrxProductNormalizer,\n      multi: true,\n    },\n    {\n      provide: PRODUCT_SUGGESTION_NORMALIZER,\n      useExisting: BrxProductSuggestionNormalizer,\n      multi: true,\n    },\n  ],\n})\nexport class BrxProductNormalizerModule {}\n","import { Component, Input, OnInit } from '@angular/core';\nimport { ContainerItem, getContainerItemContent, Page } from '@bloomreach/spa-sdk';\n\nimport { Observable, of } from 'rxjs';\n\nimport { map } from 'rxjs/operators';\nimport { BrxPathwaysRecommendations } from '../../services';\nimport { PathwaysRecommendationsCompound, PathwaysRecommendationsParameters } from '../../models/common-types.model';\n\n@Component({\n  selector: 'brx-pathways-recommendations',\n  templateUrl: './pathways-recommendations.component.html',\n  styleUrls: ['./pathways-recommendations.component.scss'],\n})\nexport class PathwaysRecommendationsComponent implements OnInit {\n  @Input() component!: ContainerItem;\n\n  @Input() page!: Page;\n\n  title = '';\n\n  errorMessage: string | undefined;\n\n  interval: number | undefined;\n\n  limit: number | undefined;\n\n  showDescription = false;\n\n  showPid = false;\n\n  showPrice = false;\n\n  showTitle = false;\n\n  products$: Observable<Observable<any>[]> | undefined;\n\n  constructor(private brxpathwaysrecommendationsservice: BrxPathwaysRecommendations) {}\n\n  ngOnInit(): void {\n    this.renderWrappedPathways();\n    this.products$ = this.brxpathwaysrecommendationsservice.productsSubject.pipe(\n      map((item: any) => Object.values(item).map((val: any) => of(val))),\n    );\n  }\n\n  getempty(): Observable<any>[] {\n    return [of()];\n  }\n\n  renderWrappedPathways(): void {\n    // eslint-disable-next-line max-len\n    const { interval, limit, title, showDescription, showPid, showPrice, showTitle } =\n      this.component.getParameters<PathwaysRecommendationsParameters>();\n\n    this.title = title || '';\n    this.interval = interval || 0;\n    this.limit = limit || 4;\n    this.showDescription = showDescription;\n    this.showPid = showPid;\n    this.showPrice = showPrice;\n    this.showTitle = showTitle;\n\n    const { categoryCompound, keyword, productCompound, widgetCompound } =\n      getContainerItemContent<PathwaysRecommendationsCompound>(this.component, this.page) ?? {};\n\n    const { categoryid } = categoryCompound ?? {};\n\n    const pids = productCompound?.map(({ productid }) => {\n      const [, id, code] = productid.match(/id=([\\w\\d._=-]+[\\w\\d=]?)?;code=([\\w\\d._=/-]+[\\w\\d=]?)?/i) ?? [];\n      return code ?? id;\n    });\n    const { widgetid: widgetId = '', widgetalgo: widgetAlgo } = widgetCompound ?? {};\n    const widgetType = widgetAlgo?.selectionValues?.[0].key.split('.')[0] ?? '';\n\n    if ((widgetId ?? 'undefined') !== 'undefined' && widgetType) {\n      switch (widgetType) {\n        case 'item':\n          this.errorMessage = !pids ? 'Widget configured incorrectly: please add Product IDs' : undefined;\n          break;\n        case 'category':\n          this.errorMessage = !categoryid ? 'Widget configured incorrectly: please add a Category ID' : undefined;\n          break;\n        case 'keyword':\n        case 'personalized':\n          this.errorMessage = !keyword ? 'Widget configured incorrectly: please add a Keyword' : undefined;\n          break;\n        default:\n          this.errorMessage = undefined;\n      }\n    } else {\n      this.errorMessage = 'Please configure Widget ID and Widget Type first';\n    }\n\n    this.brxpathwaysrecommendationsservice.getproducts(\n      this.page.isPreview(),\n      keyword,\n      {\n        pageSize: this.limit,\n      },\n      widgetType,\n      widgetId,\n      categoryid || '',\n      pids?.join(',') ?? '',\n    );\n  }\n}\n","<div *ngIf=\"errorMessage\" class=\"alert alert-danger\" role=\"alert\">\n  {{ errorMessage }}\n</div>\n\n<div *ngIf=\"!errorMessage\" class=\"container\">\n  <div class=\"row\">\n    <div class=\"col-12 col-lg-12\">\n      <div class=\"pathways-and-recommendations mw-container mx-auto\">\n        <h4 class=\"mb-4 title\">{{ title }}</h4>\n        <cx-carousel [items]=\"(products$ | async) || getempty()\" [template]=\"carouselItem\" itemWidth=\"285px\">\n        </cx-carousel>\n\n        <ng-template #carouselItem let-item=\"item\">\n          <a tabindex=\"0\" routerLink=\"/product/{{ item.code }}\" class=\"link-container text-decoration-none text-reset\">\n            <div class=\"img-container\">\n              <cx-media *ngIf=\"item.images?.PRIMARY\" [container]=\"item.images?.PRIMARY\" format=\"product\"></cx-media>\n            </div>\n\n            <div *ngIf=\"showTitle\" class=\"name\" [title]=\"item.name\">\n              {{ item.name }}\n            </div>\n\n            <div *ngIf=\"showPid\" class=\"text-muted\">\n              Product No. <br /><span class=\"text-primary ml-1\">{{ item.code }}</span>\n            </div>\n\n            <div *ngIf=\"showDescription\" class=\"description text-muted\">\n              {{ item.description }}\n            </div>\n\n            <div *ngIf=\"showPrice\" class=\"price\">\n              {{ item.price?.formattedValue }}\n            </div>\n          </a>\n        </ng-template>\n      </div>\n    </div>\n  </div>\n</div>\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Breadcrumb, Facet } from '@spartacus/core';\n\n/**\n * UI model that holds the full list of facet and active facets for\n * the product list.\n *\n * Copied from cms-components/product/product-list/product-facet-navigation/facet.model.ts\n * of SAP Spartacus Storefront project.\n */\nexport interface FacetList {\n  facets: Facet[];\n  activeFacets?: Breadcrumb[];\n}\n\nexport interface FacetCollapseState {\n  /**\n   * Indicates whether the facet is toggled to expand or collapse the facet values.\n   * Whether the toggle results in an expanded or collapsed state, depends on the\n   * experience, which is controlled in CSS.\n   */\n  toggled?: FacetGroupCollapsedState;\n\n  /**\n   * The top number of facet values that will be visible.\n   */\n  topVisible?: number;\n\n  /**\n   * The max number of facet values which will be visible. This includes\n   * the top visible number.\n   */\n  maxVisible?: number;\n}\n\nexport enum FacetGroupCollapsedState {\n  EXPANDED = 'EXPANDED',\n  COLLAPSED = 'COLLAPSED',\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/*\n * Copied from cms-components/product/product-list/product-facet-navigation/services/index.ts\n * of SAP Spartacus Storefront project.\n */\nimport { Injectable } from '@angular/core';\nimport { Params } from '@angular/router';\nimport { ActivatedRouterStateSnapshot, Breadcrumb, PageType, ProductSearchPage, RoutingService } from '@spartacus/core';\nimport { Observable } from 'rxjs';\nimport { filter, map, pluck, switchMap } from 'rxjs/operators';\nimport { FacetList } from '../facet.model';\nimport { SpartacusProductListComponentService } from '../../../services';\n\n/**\n * Provides access to all the facets and active facets for the Product Listing Page.\n *\n * Inspired by cms-components/product/product-list/product-facet-navigation/services/product-facet.service.ts\n * of SAP Spartacus Storefront project.\n *\n */\n@Injectable({\n  providedIn: 'root',\n})\nexport class ProductFacetService {\n  constructor(\n    protected routing: RoutingService,\n    protected productListComponentService: SpartacusProductListComponentService,\n  ) {}\n\n  protected readonly routeState$ = this.routing.getRouterState().pipe(pluck('state'));\n\n  /**\n   * Returns the search results for the current page.\n   */\n  protected readonly searchResult$: Observable<ProductSearchPage> = this.routeState$.pipe(\n    switchMap((state) =>\n      this.productListComponentService.model$.pipe(\n        filter((page) => this.filterForPage(state, page)),\n        map((page) => ({\n          ...page,\n          breadcrumbs: this.filterBreadcrumbs(page?.breadcrumbs ?? [], state.params),\n        })),\n      ),\n    ),\n  );\n\n  /**\n   * Observes the facets and active facets for the given page. The facet data\n   * is provided in a `FacetList`.\n   */\n  readonly facetList$: Observable<FacetList> = this.searchResult$.pipe(\n    map(\n      (result: ProductSearchPage) =>\n        ({\n          facets: result.facets,\n          activeFacets: result.breadcrumbs,\n        } as FacetList),\n    ),\n  );\n\n  /**\n   * Filters the current result by verifying if the result is related to the page.\n   * This is done to avoid a combination of the next page and the current search results.\n   */\n  protected filterForPage(state: ActivatedRouterStateSnapshot, page: ProductSearchPage): boolean {\n    // console.log('[ProductFacetService.filterForPage.page]: ', page);\n    // console.log('[ProductFacetService.filterForPage.state]: ', state);\n    if (!page.currentQuery?.query?.value) {\n      return false;\n    }\n    if (state.context.type === PageType.CATEGORY_PAGE) {\n      return page.currentQuery.query.value.indexOf(`allCategories:${state.context.id}`) > -1;\n    }\n\n    if (state.context.type === PageType.CONTENT_PAGE && state.context.id === 'search') {\n      return page.currentQuery.query.value.startsWith(`${state.params.query}:`) || !state.params.query;\n    }\n    return false;\n  }\n\n  /**\n   * Filter breadcrumbs which are not actively selected but coming from\n   * the route navigation.\n   *\n   * The breadcrumbs might include the active category page code, which is not actively\n   * selected by the user.\n   */\n  // eslint-disable-next-line @typescript-eslint/no-unused-vars\n  protected filterBreadcrumbs(breadcrumbs: Breadcrumb[], params: Params): Breadcrumb[] {\n    return breadcrumbs ? breadcrumbs.filter((breadcrumb) => breadcrumb.facetCode !== 'allCategories') : [];\n  }\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { HttpUrlEncodingCodec } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { Facet } from '@spartacus/core';\nimport { BehaviorSubject, Observable, of } from 'rxjs';\nimport { tap } from 'rxjs/operators';\nimport { FacetCollapseState, FacetGroupCollapsedState, FacetList } from '../facet.model';\nimport { ProductFacetService } from './product-facet.service';\n\n/**\n * Provides access to the facets as well as their UI state. The UI state\n * represents user related changes on the facets, such as expanding or\n * collapsing a facet group or expanding the number of _visible_ facet values.\n *\n * Copied from cms-components/product/product-list/product-facet-navigation/services/facet.service.ts\n * of SAP Spartacus Storefront project.\n */\n@Injectable({\n  providedIn: 'root',\n})\nexport class FacetService {\n  /**\n   * An internal map where we keep the UI state of the facets.\n   */\n  protected facetState = new Map<string, BehaviorSubject<FacetCollapseState>>();\n\n  defaultTopFacets?: number;\n\n  constructor(protected productFacetService: ProductFacetService) {}\n\n  /**\n   * Observes the facets for the given page and configures the initial UI state.\n   *\n   * Facets are configured on each emission so that we keep the facet UI state.\n   * This is mainly done to keep the state during usage of the facet, but also\n   * benefitial when the facets are rebuild while using them.\n   */\n  facetList$: Observable<FacetList> = this.productFacetService.facetList$.pipe(\n    tap((facetList) => {\n      facetList.facets.forEach((facet) => this.initialize(facet));\n    }),\n  );\n\n  /**\n   * Returns the observed UI state for the facet.\n   *\n   * The state is initialized using the `initialize` method.\n   */\n  getState(facet: Facet): Observable<FacetCollapseState> {\n    this.initialize(facet);\n    return facet.name ? this.facetState.get(facet.name) ?? of({}) : of({});\n  }\n\n  /**\n   * Returns the UI state for the facet.\n   *\n   * The state is initialized using the `initialize` method.\n   */\n  protected getStateSnapshot(facet: Facet): FacetCollapseState {\n    return (this.getState(facet) as BehaviorSubject<FacetCollapseState>).value;\n  }\n\n  /**\n   * Toggles the facet expanded state. If the expanded state becomes false,\n   * the visible values will decrease to the top values only.\n   *\n   * If the optional value argument is provided the expanded state will be set\n   * to this value, regardless of the current `expanded` state.\n   */\n  toggle(facet: Facet, isExpanded: boolean): void {\n    const state = this.getStateSnapshot(facet);\n\n    const toggledState = {\n      toggled: isExpanded ? FacetGroupCollapsedState.COLLAPSED : FacetGroupCollapsedState.EXPANDED,\n    } as FacetCollapseState;\n\n    if (toggledState.toggled === FacetGroupCollapsedState.COLLAPSED) {\n      toggledState.maxVisible = state.topVisible;\n    }\n\n    this.updateState(facet, toggledState);\n  }\n\n  /**\n   * Increases the visible values to the maximum values of the facet.\n   */\n  increaseVisibleValues(facet: Facet): void {\n    this.updateState(facet, { maxVisible: facet.values?.length });\n  }\n\n  /**\n   * Decreases the visible values to the topValueCount.\n   *\n   * The topValueCount defaults to 6, but can be controlled in\n   * the backend as well.\n   */\n  decreaseVisibleValues(facet: Facet): void {\n    this.updateState(facet, { maxVisible: this.getTopFacetsCount(facet) });\n  }\n\n  private getTopFacetsCount(facet: Facet): number {\n    if (facet.topValueCount && facet.topValueCount > 0) {\n      return facet.topValueCount;\n    }\n\n    if (this.defaultTopFacets && this.defaultTopFacets > 0) {\n      return this.defaultTopFacets;\n    }\n\n    return facet.values?.length || 0;\n  }\n\n  /**\n   * Persists the facet state and initializes the default values for the top\n   * and max visible values.\n   */\n  protected initialize(facet: Facet): void {\n    const topFacets = this.getTopFacetsCount(facet);\n\n    if (!this.hasState(facet)) {\n      this.facetState.set(\n        facet.name!,\n        new BehaviorSubject({\n          topVisible: topFacets,\n          maxVisible: topFacets,\n        } as FacetCollapseState),\n      );\n    }\n  }\n\n  /**\n   * Updates the state of the facet in the local facet map.\n   */\n  protected updateState(facet: Facet, property: FacetCollapseState): void {\n    const state = { ...this.getStateSnapshot(facet), ...property };\n    this.facetState.get(facet.name!)?.next(state);\n  }\n\n  protected hasState(facet: Facet): boolean {\n    return this.facetState.has(facet.name!);\n  }\n\n  getLinkParams(query?: string): { [key: string]: string } {\n    return {\n      // to avoid encoding issues with facets that have space (' ') in their name,\n      // we replace the decoded '+' back to empty space ' '.\n      // For more, see https://github.com/SAP/spartacus/issues/7348\n      query: new HttpUrlEncodingCodec().decodeValue(query ?? '').replace(/\\+/g, ' '),\n    };\n  }\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { Breadcrumb } from '@spartacus/core';\nimport { Observable } from 'rxjs';\nimport { ICON_TYPE } from '@spartacus/storefront';\nimport { Page } from '@bloomreach/spa-sdk';\nimport { FacetList } from '../facet.model';\nimport { FacetService } from '../services/facet.service';\n\n/**\n * Active facets render the applied facet values as a list of focusable buttons\n * which can be used to remove the applied facet value.\n *\n * Inspired by cms-components/product/product-list/product-facet-navigation/active-facets/active-facets.component.ts\n * of SAP Spartacus Storefront project.\n */\n@Component({\n  selector: 'brx-active-facets',\n  templateUrl: './active-facets.component.html',\n  changeDetection: ChangeDetectionStrategy.Default,\n})\nexport class ActiveFacetsComponent {\n  /** Active facets which are applied to the product results. */\n  facetList$: Observable<FacetList> = this.facetService.facetList$;\n\n  /** Configurable icon which is used for the active facet close button */\n  @Input() closeIcon = ICON_TYPE.CLOSE;\n\n  @Input() page!: Page;\n\n  constructor(protected facetService: FacetService) {}\n\n  getLinkParams(facet: Breadcrumb): Record<string, string> {\n    return this.facetService.getLinkParams(facet.removeQuery?.query?.value);\n  }\n\n  /**\n   * The focus key is used to persist the focus on the facet when the DOM is being\n   * recreated. We only apply the focus key for the given _active_ facet when there\n   * the original facets is not available. This happens for non multi-valued facets.\n   *\n   * With this approach, the we keep the focus, either at the facet list or on the\n   * active facets.\n   */\n  getFocusKey(facetList: FacetList, facet: Breadcrumb): string | undefined {\n    return facetList.facets?.find((f) => f.values?.find((val) => val.name === facet.facetValueName))\n      ? ''\n      : facet.facetValueName;\n  }\n}\n","<!--\n  Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n\n  Inspired by cms-components/product/product-list/product-facet-navigation/active-facets/active-facets.component.html\n  of SAP Spartacus Storefront project.\n  -->\n\n<ng-container *ngIf=\"facetList$ | async as facetList\">\n  <h4 *ngIf=\"(facetList?.activeFacets?.length || 0) > 0\">\n    {{ 'productList.appliedFilter' | cxTranslate }}\n  </h4>\n\n  <a\n    *ngFor=\"let facet of facetList?.activeFacets\"\n    [routerLink]=\"page.getUrl()! | parseUrl : 'pathname'\"\n    [queryParams]=\"getLinkParams(facet)\"\n    [cxFocus]=\"{ key: getFocusKey(facetList, facet) }\">\n    <span>{{ facet.facetValueName }}</span>\n    <cx-icon aria-hidden=\"true\" [type]=\"closeIcon\"></cx-icon>\n  </a>\n</ng-container>\n","/*\n * Copyright 2020 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Pipe, PipeTransform } from '@angular/core';\nimport { TYPE_LINK_EXTERNAL, isLink } from '@bloomreach/spa-sdk';\n\n@Pipe({ name: 'isExternalLink' })\nexport class IsExternalLinkPipe implements PipeTransform {\n  transform(value: unknown): boolean {\n    return isLink(value) && value.type === TYPE_LINK_EXTERNAL;\n  }\n}\n","/*\n * Copyright 2020 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Pipe, PipeTransform } from '@angular/core';\nimport { TYPE_LINK_INTERNAL, isLink } from '@bloomreach/spa-sdk';\n\n@Pipe({ name: 'isInternalLink' })\nexport class IsInternalLinkPipe implements PipeTransform {\n  transform(value: unknown): boolean {\n    return isLink(value) && value.type === TYPE_LINK_INTERNAL;\n  }\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { IsExternalLinkPipe } from './is-external-link.pipe';\nimport { IsInternalLinkPipe } from './is-internal-link.pipe';\nimport { ParseUrlPipe } from './parse-url.pipe';\n\n@NgModule({\n  imports: [CommonModule],\n  declarations: [ParseUrlPipe, IsExternalLinkPipe, IsInternalLinkPipe],\n  exports: [ParseUrlPipe, IsExternalLinkPipe, IsInternalLinkPipe],\n})\nexport class CustomPipesModule {}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { RouterModule } from '@angular/router';\nimport { I18nModule } from '@spartacus/core';\nimport { IconModule, KeyboardFocusModule } from '@spartacus/storefront';\nimport { CustomPipesModule } from '../../../pipes/custom-pipes.module';\nimport { ActiveFacetsComponent } from './active-facets.component';\n\n/*\n * Copied from cms-components/product/product-list/product-facet-navigation/active-facets/active-facets.module.ts\n * of SAP Spartacus Storefront project.\n */\n@NgModule({\n  imports: [CommonModule, RouterModule, I18nModule, IconModule, KeyboardFocusModule, CustomPipesModule],\n  declarations: [ActiveFacetsComponent],\n  exports: [ActiveFacetsComponent],\n})\nexport class ActiveFacetsModule {}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/*\n * Copied from cms-components/product/product-list/product-facet-navigation/active-facets/index.ts\n * of SAP Spartacus Storefront project.\n */\nexport * from './active-facets.component';\nexport * from './active-facets.module';\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n  ChangeDetectionStrategy,\n  ChangeDetectorRef,\n  Component,\n  ElementRef,\n  HostBinding,\n  Input,\n  QueryList,\n  ViewChild,\n  ViewChildren,\n} from '@angular/core';\nimport { Facet, FacetValue } from '@spartacus/core';\nimport { Observable } from 'rxjs';\nimport { ICON_TYPE, FocusDirective } from '@spartacus/storefront';\nimport { Page } from '@bloomreach/spa-sdk';\nimport { FacetCollapseState } from '../facet.model';\nimport { FacetService } from '../services/facet.service';\n\n/*\n * Inspired by cms-components/product/product-list/product-facet-navigation/facet/facet.component.ts\n * of SAP Spartacus Storefront project.\n */\n@Component({\n  selector: 'brx-facet',\n  templateUrl: './facet.component.html',\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FacetComponent {\n  protected _facet!: Facet;\n\n  state$?: Observable<FacetCollapseState>;\n\n  /** configurable icon that is used to collapse the facet group  */\n  @Input() expandIcon: ICON_TYPE = ICON_TYPE.EXPAND;\n\n  @Input() collapseIcon: ICON_TYPE = ICON_TYPE.COLLAPSE;\n\n  @HostBinding('class.multi-select') isMultiSelect?: boolean;\n\n  @ViewChildren('facetValue') values?: QueryList<ElementRef<HTMLElement>>;\n\n  @ViewChild(FocusDirective) keyboardFocus?: FocusDirective;\n\n  @Input()\n  set facet(value: Facet) {\n    this._facet = value;\n    this.isMultiSelect = !!value.multiSelect;\n    this.state$ = this.facetService.getState(value);\n  }\n\n  get facet(): Facet {\n    return this._facet;\n  }\n\n  @Input() page!: Page;\n\n  constructor(\n    protected facetService: FacetService,\n    protected elementRef: ElementRef<HTMLElement>,\n    protected cd: ChangeDetectorRef,\n  ) {}\n\n  /**\n   * Handles clicking the heading of the facet group, which means toggling\n   * the visibility of the group (collapse / expand) and optionally focusing\n   * the group.\n   */\n  toggleGroup(event: UIEvent): void {\n    const host: HTMLElement = this.elementRef.nativeElement;\n    const isLocked = this.keyboardFocus?.isLocked;\n\n    this.facetService.toggle(this.facet, this.isExpanded);\n\n    if (!isLocked || this.isExpanded) {\n      host.focus();\n      // we stop propagating the event as otherwise the focus on the host will trigger\n      // an unlock event from the LockFocus directive.\n      event.stopPropagation();\n    }\n  }\n\n  get isExpanded(): boolean {\n    return this.values?.first.nativeElement.offsetParent !== null;\n  }\n\n  openLink(event: Event): void {\n    (event.target as HTMLElement).click();\n    event.preventDefault();\n  }\n\n  /**\n   * Increases the number of visible values for the facet. This is delegated\n   * to `facetService.increaseVisibleValues`.\n   */\n  increaseVisibleValues(): void {\n    this.facetService.increaseVisibleValues(this.facet);\n  }\n\n  /**\n   * Decreases the number of visible values for the facet. This is delegated\n   * to `facetService.decreaseVisibleValues`.\n   */\n  decreaseVisibleValues(): void {\n    this.facetService.decreaseVisibleValues(this.facet);\n  }\n\n  getLinkParams(value: FacetValue): Record<string, string> {\n    return this.facetService.getLinkParams(value.query?.query?.value);\n  }\n\n  getMoreFacetValues(facet: Facet, state: FacetCollapseState): FacetValue[] | undefined {\n    return facet.values?.slice(state.topVisible, state.maxVisible);\n  }\n}\n","<!--\n  Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n\n  Inspired by cms-components/product/product-list/product-facet-navigation/facet/facet.component.html\n  of SAP Spartacus Storefront project.\n  -->\n\n<ng-container *ngIf=\"state$ | async as state\">\n  <button class=\"heading\" (click)=\"toggleGroup($event)\">\n    {{ facet.name }}\n    <cx-icon class=\"collapse-icon\" [type]=\"collapseIcon\"></cx-icon>\n    <cx-icon class=\"expand-icon\" [type]=\"expandIcon\"></cx-icon>\n  </button>\n\n  <a\n    *ngFor=\"let value of facet.values | slice : 0 : state.topVisible\"\n    #facetValue\n    [routerLink]=\"page.getUrl()! | parseUrl : 'pathname'\"\n    [queryParams]=\"getLinkParams(value)\"\n    class=\"value\"\n    [class.selected]=\"value.selected\"\n    [cxFocus]=\"{ key: value.name }\"\n    (keydown.space)=\"openLink($event)\">\n    <span>\n      <span class=\"label\">{{ value.name }}</span>\n      <span class=\"count\">{{ value.count }}</span>\n    </span>\n  </a>\n\n  <div class=\"more\">\n    <a\n      *ngFor=\"let value of getMoreFacetValues(facet, state)\"\n      #facetValue\n      [routerLink]=\"page.getUrl()! | parseUrl : 'pathname'\"\n      [queryParams]=\"getLinkParams(value)\"\n      class=\"value\"\n      [class.selected]=\"value.selected\"\n      [cxFocus]=\"{ key: value.name }\"\n      (keydown.space)=\"openLink($event)\">\n      <span\n        >{{ value.name }}<span class=\"count\">{{ value.count }}</span></span\n      >\n    </a>\n\n    <button\n      *ngIf=\"(state.maxVisible || 0) > (state.topVisible || 0)\"\n      (click)=\"decreaseVisibleValues()\"\n      class=\"cx-action-link\"\n      [cxFocus]=\"{ key: 'moreorless' }\">\n      {{ 'productList.showLess' | cxTranslate }}\n    </button>\n\n    <button\n      *ngIf=\"state.maxVisible && state.maxVisible > 0 && state.maxVisible < (facet.values?.length || 0)\"\n      (click)=\"increaseVisibleValues()\"\n      class=\"cx-action-link\"\n      [cxFocus]=\"{ key: 'moreorless' }\">\n      {{ 'productList.showMore' | cxTranslate }}\n    </button>\n  </div>\n</ng-container>\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  ElementRef,\n  EventEmitter,\n  HostListener,\n  Input,\n  Output,\n  Renderer2,\n} from '@angular/core';\nimport { Facet } from '@spartacus/core';\nimport { Observable } from 'rxjs';\nimport { map } from 'rxjs/operators';\nimport { FocusConfig, ICON_TYPE } from '@spartacus/storefront';\nimport { Page } from '@bloomreach/spa-sdk';\nimport { FacetGroupCollapsedState, FacetList } from '../facet.model';\nimport { FacetComponent } from '../facet/facet.component';\nimport { FacetService } from '../services/facet.service';\n\n/*\n * Inspired by cms-components/product/product-list/product-facet-navigation/facet-list/facet-list.component.ts\n * of SAP Spartacus Storefront project.\n */\n@Component({\n  selector: 'brx-facet-list',\n  templateUrl: './facet-list.component.html',\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FacetListComponent {\n  private _isDialog!: boolean;\n\n  /**\n   * Indicates that the facet navigation is rendered in dialog.\n   */\n  @Input()\n  set isDialog(value: boolean) {\n    this._isDialog = value;\n    if (value) {\n      this.renderer.addClass(document.body, 'modal-open');\n    }\n  }\n\n  get isDialog(): boolean {\n    return this._isDialog;\n  }\n\n  @Input()\n  allowedFilters?: string[];\n\n  /** Emits when the list must close */\n  @Output() closeList = new EventEmitter();\n\n  /** The list of all facet and values related to the products in the list */\n  facetList$: Observable<FacetList> = this.facetService.facetList$.pipe(\n    map((facetList) => {\n      const allowedFiltersCopy = [...(this.allowedFilters ?? [])];\n      const caseSensitiveResult: Facet[] = [];\n      // console.log('[FacetListComponent, allowedFilters]: ', allowedFiltersCopy);\n      facetList.facets = facetList.facets\n        .filter((facet) => {\n          if (!facet.name) {\n            return false;\n          }\n          const index = allowedFiltersCopy.indexOf(facet.name);\n          if (index >= 0) {\n            caseSensitiveResult.push(facet);\n            allowedFiltersCopy.splice(index, 1);\n            return false;\n          }\n          return true;\n        })\n        .filter((facet) => !!allowedFiltersCopy.find((af) => af.toLowerCase() === facet.name?.toLowerCase()))\n        .concat(caseSensitiveResult);\n      // console.log('[FacetListComponent, facets]: ', facetList.facets);\n\n      return facetList;\n    }),\n  );\n\n  iconTypes = ICON_TYPE;\n\n  dialogFocusConfig: FocusConfig = {\n    trap: true,\n    block: true,\n    focusOnEscape: true,\n    autofocus: 'brx-facet',\n  };\n\n  @HostListener('click') handleClick(): void {\n    this.close();\n  }\n\n  @Input() page!: Page;\n\n  constructor(protected facetService: FacetService, protected elementRef: ElementRef, protected renderer: Renderer2) {}\n\n  /**\n   * Toggles the facet group in case it is not expanded.\n   */\n  expandFacetGroup(facet: Facet, ref: FacetComponent): void {\n    if (!ref.isExpanded) {\n      this.facetService.toggle(facet, ref.isExpanded);\n    }\n  }\n\n  /**\n   * Indicates that the facet group has been expanded.\n   */\n  isExpanded(facet: Facet): Observable<boolean> {\n    return this.facetService.getState(facet).pipe(map((value) => value.toggled === FacetGroupCollapsedState.EXPANDED));\n  }\n\n  /**\n   * Indicates that the facet group has been collapsed.\n   */\n  isCollapsed(facet: Facet): Observable<boolean> {\n    return this.facetService.getState(facet).pipe(map((value) => value.toggled === FacetGroupCollapsedState.COLLAPSED));\n  }\n\n  close(event?: boolean): void {\n    this.renderer.removeClass(document.body, 'modal-open');\n    this.closeList.emit(event);\n  }\n\n  block(event?: MouseEvent): void {\n    event?.stopPropagation();\n  }\n}\n","<!--\n  Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n\n  Inspired by cms-components/product/product-list/product-facet-navigation/facet-list/facet-list.component.html\n  of SAP Spartacus Storefront project.\n  -->\n\n<div\n  class=\"inner\"\n  *ngIf=\"(facetList$ | async)?.facets as facets\"\n  [cxFocus]=\"isDialog ? dialogFocusConfig : {}\"\n  (esc)=\"close($event)\"\n  (click)=\"block($event)\">\n  <h4>\n    {{ 'productList.filterBy.label' | cxTranslate }}\n    <button type=\"button\" class=\"close\" [attr.aria-label]=\"'common.close' | cxTranslate\" (click)=\"close()\">\n      <cx-icon aria-hidden=\"true\" [type]=\"iconTypes.CLOSE\"></cx-icon>\n    </button>\n  </h4>\n\n  <!-- \n      Here we'd like to introduce configurable facet components, \n      either by using specific configuration or generic sproutlets \n  -->\n  <brx-facet\n    *ngFor=\"let facet of facets\"\n    #facetRef\n    [facet]=\"facet\"\n    [cxFocus]=\"{ lock: true, trap: true, autofocus: 'a' }\"\n    (unlock)=\"expandFacetGroup(facet, facetRef)\"\n    [class.expanded]=\"isExpanded(facet) | async\"\n    [class.collapsed]=\"isCollapsed(facet) | async\"\n    [page]=\"page\"></brx-facet>\n</div>\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { RouterModule } from '@angular/router';\nimport { I18nModule, UrlModule } from '@spartacus/core';\nimport { IconModule, KeyboardFocusModule } from '@spartacus/storefront';\nimport { CustomPipesModule } from '../../../pipes/custom-pipes.module';\nimport { FacetComponent } from './facet.component';\n\n/*\n * Copied from cms-components/product/product-list/product-facet-navigation/facet/facet.module.ts\n * of SAP Spartacus Storefront project.\n */\n@NgModule({\n  imports: [CommonModule, RouterModule, UrlModule, I18nModule, IconModule, KeyboardFocusModule, CustomPipesModule],\n  declarations: [FacetComponent],\n  exports: [FacetComponent],\n})\nexport class FacetModule {}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { I18nModule } from '@spartacus/core';\nimport { KeyboardFocusModule, IconModule } from '@spartacus/storefront';\nimport { FacetModule } from '../facet/facet.module';\nimport { FacetListComponent } from './facet-list.component';\n\n/*\n * Copied from cms-components/product/product-list/product-facet-navigation/facet-list/facet-list.module.ts\n * of SAP Spartacus Storefront project.\n */\n@NgModule({\n  imports: [CommonModule, I18nModule, IconModule, FacetModule, KeyboardFocusModule],\n  declarations: [FacetListComponent],\n  exports: [FacetListComponent],\n})\nexport class FacetListModule {}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/*\n * Copied from cms-components/product/product-list/product-facet-navigation/facet-list/index.ts\n * of SAP Spartacus Storefront project.\n */\nexport * from './facet-list.component';\nexport * from './facet-list.module';\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/*\n * Copied from cms-components/product/product-list/product-facet-navigation/facet/index.ts\n * of SAP Spartacus Storefront project.\n */\nexport * from './facet.component';\nexport * from './facet.module';\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { ChangeDetectionStrategy, Component, ElementRef, Input, OnInit, ViewChild } from '@angular/core';\nimport { asapScheduler, BehaviorSubject, interval, Observable, of } from 'rxjs';\nimport { delayWhen, observeOn, switchMap } from 'rxjs/operators';\nimport { ICON_TYPE, BreakpointService } from '@spartacus/storefront';\nimport { Component as BrComponent, Page } from '@bloomreach/spa-sdk';\nimport { FacetService } from './services/facet.service';\n\n/*\n * Inspired by cms-components/product/product-list/product-facet-navigation/product-facet-navigation.component.ts\n * of SAP Spartacus Storefront project.\n */\ninterface SpartacusProductFacetNavigationComponentParams {\n  filters?: string;\n  topVisible?: number;\n}\n\n@Component({\n  selector: 'brx-product-facet-navigation',\n  templateUrl: './spartacus-product-facet-navigation.component.html',\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SpartacusProductFacetNavigationComponent implements OnInit {\n  @Input() component!: BrComponent;\n\n  @Input() page!: Page;\n\n  iconTypes = ICON_TYPE;\n\n  /**\n   * We delay the removal of DOM so that animations can finish playing before the\n   * DOM is removed. Removing the DOM, as hidding is not enough to stop elements\n   * to be focused.\n   */\n  protected CLOSE_DELAY = 300;\n\n  /**\n   * Used to open the facet navigation in a dialog. The usage of the dialog depends\n   * on the availability of the trigger element, which is driven by CSS.\n   *\n   * The reference is also used to refocus the trigger after the dialog is closed.\n   */\n  @ViewChild('trigger') trigger!: ElementRef<HTMLElement>;\n\n  protected open$ = new BehaviorSubject(false);\n\n  /**\n   * Emits the open state that indicates whether the facet list should be rendered.\n   * This is either done instantly, or after the user triggers this by using the trigger\n   * button. This driven by the visiibility of the trigger, so that the CSS drives\n   * the behaviour. This can differ per breakpoint.\n   *\n   * There's a configurable delay for the closed state, so that the DOM is not removed\n   * before some CSS animations are done.\n   */\n  isOpen$: Observable<boolean> = this.breakpointService.breakpoint$.pipe(\n    // deffer emitting a new value to the next micro-task to ensure that the `hasTrigger`\n    // method represents the actual UI state.\n    observeOn(asapScheduler),\n    switchMap(() => (this.hasTrigger ? this.open$ : of(true))),\n    delayWhen((launched) => interval(launched ? 0 : this.CLOSE_DELAY)),\n  );\n\n  /**\n   * Emits the active state that indicates whether the facet list is activated. Activation\n   * is related to the css, so that a animation or transition can visualize opening/closing\n   * the list (i.e. dialog).\n   */\n  isActive$ = this.open$.pipe(\n    // deffer emitting a new value to the next micro-task to ensure the active class is\n    //  applied after the DOM is created\n    observeOn(asapScheduler),\n  );\n\n  constructor(protected breakpointService: BreakpointService, protected facetService: FacetService) {}\n\n  ngOnInit(): void {\n    this.facetService.defaultTopFacets = this.topVisible;\n  }\n\n  launch(): void {\n    this.open$.next(true);\n  }\n\n  close(): void {\n    this.open$.next(false);\n    this.trigger.nativeElement.focus();\n  }\n\n  /**\n   * Indicates that the facet navigation should be open explicitely by a trigger.\n   * This is fully controlled by CSS, where the trigger button can be hidden\n   * (display:none) for certain screen sizes.\n   */\n  get hasTrigger(): boolean {\n    return this.trigger.nativeElement.offsetParent !== null;\n  }\n\n  get params(): SpartacusProductFacetNavigationComponentParams {\n    return this.component.getParameters<SpartacusProductFacetNavigationComponentParams>();\n  }\n\n  get allowedFilters(): string[] {\n    return (\n      this.params.filters\n        ?.split(';')\n        .map((filter) => filter.trim())\n        .filter(Boolean) ?? []\n    );\n  }\n\n  get topVisible(): number {\n    return this.params.topVisible ?? 0;\n  }\n}\n","<!--\n  Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n\n  Inspired by cms-components/product/product-list/product-facet-navigation/product-facet-navigation.component.html\n  of SAP Spartacus Storefront project.\n  -->\n\n<div>\n  <button #trigger class=\"btn btn-action btn-block dialog-trigger\" (click)=\"launch()\">\n    <cx-icon [type]=\"iconTypes.FILTER\"></cx-icon>\n    {{ 'productList.filterBy.label' | cxTranslate }}\n  </button>\n\n  <brx-active-facets [page]=\"page\"></brx-active-facets>\n\n  <brx-facet-list\n    *ngIf=\"isOpen$ | async\"\n    [isDialog]=\"hasTrigger\"\n    (closeList)=\"close()\"\n    [class.active]=\"isActive$ | async\"\n    [class.dialog]=\"hasTrigger\"\n    [page]=\"page\"\n    [allowedFilters]=\"allowedFilters\"></brx-facet-list>\n</div>\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { CmsConfig, ConfigModule, I18nModule } from '@spartacus/core';\nimport { IconModule } from '@spartacus/storefront';\nimport { ActiveFacetsModule } from './active-facets/active-facets.module';\nimport { FacetListModule } from './facet-list/facet-list.module';\nimport { SpartacusProductFacetNavigationComponent } from './spartacus-product-facet-navigation.component';\n\n/*\n * Copied from cms-components/product/product-list/product-facet-navigation/product-facet-navigation.module.ts\n * of SAP Spartacus Storefront project.\n */\n@NgModule({\n  imports: [\n    CommonModule,\n    FacetListModule,\n    ActiveFacetsModule,\n    IconModule,\n    I18nModule,\n    ConfigModule.withConfig(<CmsConfig>{\n      cmsComponents: {\n        ProductRefinementComponent: {\n          component: SpartacusProductFacetNavigationComponent,\n        },\n      },\n    }),\n  ],\n  declarations: [SpartacusProductFacetNavigationComponent],\n  exports: [SpartacusProductFacetNavigationComponent],\n})\nexport class SpartacusProductFacetNavigationModule {}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/*\n * Copied from cms-components/product/product-list/product-facet-navigation/services/index.ts\n * of SAP Spartacus Storefront project.\n */\nexport * from './facet.service';\nexport * from './product-facet.service';\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './active-facets/index';\nexport * from './facet-list/index';\nexport * from './facet.model';\nexport * from './facet/index';\nexport * from './spartacus-product-facet-navigation.component';\nexport * from './spartacus-product-facet-navigation.module';\nexport * from './services/index';\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Directive, ViewContainerRef } from '@angular/core';\n\n@Directive({\n  selector: '[brxSpartacusLoginForm]',\n})\nexport class SpartacusLoginFormDirective {\n  constructor(public viewContainerRef: ViewContainerRef) {}\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Injectable } from '@angular/core';\nimport { AuthService, GlobalMessageService, WindowRef } from '@spartacus/core';\nimport { LoginFormComponentService } from '@spartacus/user/account/components';\n\n@Injectable({\n  providedIn: 'root',\n})\nexport class SpartacusLoginFormComponentService extends LoginFormComponentService {\n  constructor(protected auth: AuthService, protected globalMessage: GlobalMessageService, protected winRef: WindowRef) {\n    super(auth, globalMessage, winRef);\n  }\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, Injector, Input, OnInit, ViewChild } from '@angular/core';\nimport { Component as BrComponent, Page } from '@bloomreach/spa-sdk';\nimport { LoginFormComponent, LoginFormComponentService } from '@spartacus/user/account/components';\nimport { SpartacusLoginFormComponentService } from '../../services/spartacus-login-form-component.service';\nimport { SpartacusLoginFormDirective } from './spartacus-login-form.directive';\n\n@Component({\n  selector: 'brx-spartacus-login-form',\n  templateUrl: './spartacus-login-form.component.html',\n})\nexport class SpartacusLoginFormComponent implements OnInit {\n  @Input() component!: BrComponent;\n\n  @Input() page!: Page;\n\n  @ViewChild(SpartacusLoginFormDirective, { static: true })\n  wrappedComponent!: SpartacusLoginFormDirective;\n\n  constructor(private readonly loginFormComponentService: SpartacusLoginFormComponentService) {}\n\n  ngOnInit(): void {\n    this.renderWrappedLoginForm();\n  }\n\n  renderWrappedLoginForm(): void {\n    const { viewContainerRef } = this.wrappedComponent;\n    viewContainerRef.clear();\n\n    const componentInjector = Injector.create({\n      providers: [\n        {\n          provide: LoginFormComponentService,\n          useValue: this.loginFormComponentService,\n        },\n      ],\n    });\n\n    viewContainerRef.createComponent(LoginFormComponent, { index: 0, injector: componentInjector });\n  }\n}\n","<!--\n  Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n-->\n\n<div class=\"LoginPageTemplate\">\n  <ng-template brxSpartacusLoginForm></ng-template>\n</div>\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Directive, ViewContainerRef } from '@angular/core';\n\n@Directive({\n  selector: '[brxSpartacusParagraph]',\n})\nexport class SpartacusParagraphDirective {\n  constructor(public viewContainerRef: ViewContainerRef) {}\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, Injector, Input, OnInit, ViewChild } from '@angular/core';\nimport { ContainerItem, getContainerItemContent, Page } from '@bloomreach/spa-sdk';\nimport { CmsParagraphComponent } from '@spartacus/core';\nimport { CmsComponentData, ParagraphComponent } from '@spartacus/storefront';\nimport { of } from 'rxjs';\nimport { ParagraphCompound } from '../../models/common-types.model';\nimport { SpartacusParagraphDirective } from './spartacus-paragraph.directive';\n\n@Component({\n  selector: 'brx-spartacus-paragraph',\n  templateUrl: './spartacus-paragraph.component.html',\n})\nexport class SpartacusParagraphComponent implements OnInit {\n  @Input() component!: ContainerItem;\n\n  @Input() page!: Page;\n\n  @ViewChild(SpartacusParagraphDirective, { static: true })\n  wrappedComponent!: SpartacusParagraphDirective;\n\n  ngOnInit(): void {\n    this.renderWrappedBanner();\n  }\n\n  renderWrappedBanner(): void {\n    const { viewContainerRef } = this.wrappedComponent;\n    viewContainerRef.clear();\n\n    const paragraph = getContainerItemContent<ParagraphCompound>(this.component, this.page) ?? {};\n    const componentProperties: CmsParagraphComponent = {\n      title: paragraph?.title,\n      content: paragraph?.text?.value ?? '',\n    };\n\n    const componentInjector = Injector.create({\n      providers: [\n        {\n          provide: CmsComponentData,\n          useValue: {\n            data$: of(componentProperties),\n          },\n        },\n      ],\n    });\n\n    viewContainerRef.createComponent(ParagraphComponent, { index: 0, injector: componentInjector });\n  }\n}\n","<!--\n  Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n  -->\n\n<div>\n  <ng-template brxSpartacusParagraph></ng-template>\n</div>\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Directive, ViewContainerRef } from '@angular/core';\n\n@Directive({\n  selector: '[brxSpartacusBreadcrumb]',\n})\nexport class SpartacusBreadcrumbDirective {\n  constructor(public viewContainerRef: ViewContainerRef) {}\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, Injector, Input, OnInit, ViewChild } from '@angular/core';\nimport { Component as BrComponent, Page } from '@bloomreach/spa-sdk';\nimport { CmsBreadcrumbsComponent } from '@spartacus/core';\nimport { BreadcrumbComponent, CmsComponentData } from '@spartacus/storefront';\nimport { of } from 'rxjs';\nimport { SpartacusBreadcrumbDirective } from './spartacus-breadcrumb.directive';\n\n@Component({\n  selector: 'brx-spartacus-breadcrumb',\n  templateUrl: './spartacus-breadcrumb.component.html',\n})\nexport class SpartacusBreadcrumbComponent implements OnInit {\n  @Input() component!: BrComponent;\n\n  @Input() page!: Page;\n\n  @ViewChild(SpartacusBreadcrumbDirective, { static: true })\n  wrappedComponent!: SpartacusBreadcrumbDirective;\n\n  ngOnInit(): void {\n    this.renderWrappedBreadcrumb();\n  }\n\n  renderWrappedBreadcrumb(): void {\n    const { viewContainerRef } = this.wrappedComponent;\n    viewContainerRef.clear();\n    const componentProperties: CmsBreadcrumbsComponent = {};\n    const componentInjector = Injector.create({\n      providers: [\n        {\n          provide: CmsComponentData,\n          useValue: {\n            data$: of(componentProperties),\n          },\n        },\n      ],\n    });\n\n    viewContainerRef.createComponent(BreadcrumbComponent, { index: 0, injector: componentInjector });\n  }\n}\n","<!--\n  Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n  -->\n\n<div>\n  <ng-template brxSpartacusBreadcrumb></ng-template>\n</div>\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Injectable } from '@angular/core';\nimport {\n  BasePageMetaResolver,\n  Breadcrumb,\n  BreadcrumbMeta,\n  CategoryPageMetaResolver,\n  CmsService,\n  Page,\n  ProductSearchPage,\n  TranslationService,\n} from '@spartacus/core';\nimport { Observable } from 'rxjs';\nimport { filter, switchMap } from 'rxjs/operators';\nimport { SpartacusProductSearchService } from '.';\n\n@Injectable({\n  providedIn: 'root',\n})\nexport class SpartacusCategoryPageMetaResolver extends CategoryPageMetaResolver {\n  constructor(\n    protected productSearchService: SpartacusProductSearchService,\n    protected cms: CmsService,\n    protected translation: TranslationService,\n    protected basePageMetaResolver: BasePageMetaResolver,\n  ) {\n    super(productSearchService, cms, translation, basePageMetaResolver);\n  }\n\n  resolveTitle(): Observable<string> {\n    return (<Observable<ProductSearchPage>>this.searchPage$).pipe(\n      filter((page: ProductSearchPage) => !!page.pagination),\n      switchMap((p: ProductSearchPage) =>\n        this.translation.translate('pageMetaResolver.category.title', {\n          count: p.pagination?.totalResults,\n          query: p.breadcrumbs?.reduce<Breadcrumb | undefined>(\n            (prev, curr) => (curr.facetCode === 'category' || curr.facetCode === 'allCategories' ? curr : prev),\n            undefined,\n          )?.facetValueName,\n        }),\n      ),\n    );\n  }\n\n  /**\n   * Modified from /product/services/category-page-meta.resolver.ts\n   * of SAP Spartacus Core Library project.\n   *\n   * Resolves breadcrumbs for the Category Page. The breadcrumbs are driven by\n   * a static home page crumb and a crumb for each category.\n   */\n  protected resolveBreadcrumbData(page: ProductSearchPage, label: string): BreadcrumbMeta[] {\n    const breadcrumbs: BreadcrumbMeta[] = [];\n    breadcrumbs.push({ label, link: '/' });\n\n    (page.breadcrumbs ?? []).forEach((br) => {\n      if (br.facetValueName) {\n        if (br.facetCode === 'category' || br.facetCode === 'allCategories') {\n          breadcrumbs.push({\n            label: br.facetValueName,\n            link: `/category/${br.facetValueCode}`,\n          });\n        }\n      }\n    });\n    return breadcrumbs;\n  }\n\n  /**\n   * Ensure this resolver is always getting picked over the default one.\n   */\n  getPriority(page: Page): number {\n    return this.getScore(page) + 1;\n  }\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Injectable } from '@angular/core';\nimport {\n  BasePageMetaResolver,\n  BreadcrumbMeta,\n  Page,\n  PageLinkService,\n  ProductPageMetaResolver,\n  ProductService,\n  RoutingService,\n  TranslationService,\n} from '@spartacus/core';\nimport { combineLatest, Observable } from 'rxjs';\nimport { map } from 'rxjs/operators';\n\n@Injectable({\n  providedIn: 'root',\n})\nexport class SpartacusProductPageMetaResolver extends ProductPageMetaResolver {\n  constructor(\n    protected routingService: RoutingService,\n    protected productService: ProductService,\n    protected translation: TranslationService,\n    protected basePageMetaResolver: BasePageMetaResolver,\n    protected pageLinkService: PageLinkService,\n  ) {\n    super(routingService, productService, translation, basePageMetaResolver, pageLinkService);\n  }\n\n  /**\n   * Modified from /product/services/product-page-meta.resolver.ts\n   * of SAP Spartacus Core Library project.\n   *\n   * Resolves breadcrumbs for the Product Detail Page. The breadcrumbs are driven by\n   * a static home page crumb and a crumb for each category.\n   *\n   * The category URL is modified to use the category code only.\n   */\n  resolveBreadcrumbs(): Observable<BreadcrumbMeta[]> {\n    return combineLatest([this.product$.pipe(), this.translation.translate('common.home')]).pipe(\n      map(([product, label]) => {\n        const breadcrumbs = [];\n        breadcrumbs.push({ label, link: '/' });\n        (product?.categories ?? []).forEach(({ name, code }) => {\n          const url = `/category/${code}`;\n          breadcrumbs.push({\n            label: name || code,\n            link: url,\n          } as BreadcrumbMeta);\n        });\n        return breadcrumbs;\n      }),\n    );\n  }\n\n  /**\n   * Ensure this resolver is always getting picked over the default one.\n   */\n  getPriority(page: Page): number {\n    return this.getScore(page) + 1;\n  }\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { PageMetaResolver } from '@spartacus/core';\nimport { SpartacusCategoryPageMetaResolver } from './spartacus-category-page-meta.resolver';\nimport { SpartacusProductPageMetaResolver } from './spartacus-product-page-meta.resolver';\n\n@NgModule({\n  imports: [CommonModule],\n  providers: [\n    {\n      provide: PageMetaResolver,\n      useExisting: SpartacusProductPageMetaResolver,\n      multi: true,\n    },\n    {\n      provide: PageMetaResolver,\n      useExisting: SpartacusCategoryPageMetaResolver,\n      multi: true,\n    },\n  ],\n})\nexport class SpartacusPageMetaModule {}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, Input } from '@angular/core';\n\n@Component({\n  selector: 'brx-menu-item',\n  templateUrl: './menu-item.component.html',\n  styleUrls: ['./menu-item.component.scss'],\n})\nexport class MenuItemComponent {\n  @Input() item: any;\n}\n","<!--\n  Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n  -->\n\n<span *ngIf=\"!item.getUrl()\" class=\"nav-link text-capitalize disabled\">\n  {{ item.getName() }}\n</span>\n\n<a *ngIf=\"item.getLink() | isExternalLink\" class=\"nav-link text-capitalize\" [href]=\"item.getUrl()\">\n  {{ item.getName() }}\n</a>\n\n<a\n  *ngIf=\"item.getLink() | isInternalLink\"\n  class=\"nav-link text-capitalize\"\n  [routerLink]=\"item.getUrl() | parseUrl : 'pathname'\"\n  [queryParams]=\"item.getUrl() | parseUrl : 'searchParams'\">\n  {{ item.getName() }}\n</a>\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, HostBinding, Input } from '@angular/core';\nimport { Component as BrComponent, isMenu, Menu, Page } from '@bloomreach/spa-sdk';\nimport { MenuModels } from '../../models/common-types.model';\n\n@Component({\n  selector: 'brx-menu',\n  templateUrl: './menu.component.html',\n  styleUrls: ['./menu.component.scss'],\n})\nexport class MenuComponent {\n  @Input() component!: BrComponent;\n\n  @Input() page!: Page;\n\n  @HostBinding('class') class = 'navbar-nav col-12';\n\n  @HostBinding('class.has-edit-button')\n  navbarOpen = false;\n\n  selectedMenutem = '';\n\n  menuName = '';\n\n  get isPreview(): boolean {\n    return this.page.isPreview();\n  }\n\n  // eslint-disable-next-line @typescript-eslint/explicit-function-return-type\n  get menu() {\n    const menuRef = this.component.getModels<MenuModels>()?.menu;\n    const menu = menuRef && this.page.getContent<Menu>(menuRef);\n\n    return isMenu(menu) ? menu : ({} as any);\n  }\n\n  selectedItem(item: any) {\n    this.selectedMenutem = item.getName();\n  }\n\n  setActiveSubMenu(item: any) {\n    this.menuName = this.menuName !== item.getName() ? item.getName() : '';\n  }\n\n  @HostBinding('document:click')\n  onClick(event: { target: any }) {\n    if (!event.target.className.includes('dropdown-toggle')) {\n      this.menuName = '';\n    }\n  }\n}\n","<!--\n  Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n  -->\n<ng-template [ngIf]=\"menu\">\n  <ng-container [brManageMenuButton]=\"menu\"></ng-container>\n  <nav class=\"navbar navbar-expand-lg navbar-light\" style=\"background-color: #212738\">\n    <button class=\"navbar-toggler\" type=\"button\" data-toggle=\"collapse\" (click)=\"navbarOpen = !navbarOpen\">\n      <!-- data-target=\"#navbarTogglerDemo02\"\n      aria-controls=\"navbarTogglerDemo02\"\n      aria-expanded=\"false\"\n      aria-label=\"Toggle navigation\" -->\n      <span class=\"\" role=\"button\"><i class=\"fa fa-bars\" aria-hidden=\"true\" style=\"color: #e6e6ff\"></i></span>\n    </button>\n\n    <div class=\"collapse navbar-collapse\" [ngClass]=\"{ show: navbarOpen }\" id=\"navbarTogglerDemo02\">\n      <ul class=\"navbar-nav mr-auto mt-2 mt-lg-0\">\n        <li\n          *ngFor=\"let item of menu.getItems()\"\n          key=\"{index}\"\n          class=\"nav-item\"\n          [ngClass]=\"{\n            active: item.getName() === selectedMenutem,\n            dropdown: item.getChildren().length > 0\n          }\"\n          (click)=\"selectedItem(item)\">\n          <ng-container *ngIf=\"item.getChildren().length > 0; else menuitem\">\n            <a\n              class=\"nav-link dropdown-toggle\"\n              href=\"javascript:void(0)\"\n              id=\"navbarDropdownMenuLink\"\n              data-toggle=\"dropdown\"\n              aria-haspopup=\"true\"\n              aria-expanded=\"false\"\n              (click)=\"setActiveSubMenu(item)\">\n              {{ item.getName() }}\n            </a>\n            <div\n              class=\"dropdown-menu\"\n              [ngClass]=\"{ show: menuName === item.getName() }\"\n              aria-labelledby=\"navbarDropdownMenuLink\">\n              <brx-menu-item *ngFor=\"let childitem of item.getChildren()\" [item]=\"childitem\"></brx-menu-item>\n            </div>\n          </ng-container>\n          <ng-template #menuitem><brx-menu-item [item]=\"item\"></brx-menu-item></ng-template>\n        </li>\n      </ul>\n    </div>\n  </nav>\n</ng-template>\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Directive, ViewContainerRef } from '@angular/core';\n\n@Directive({\n  selector: '[brxSpartacusRegister]',\n})\nexport class SpartacusRegisterDirective {\n  constructor(public viewContainerRef: ViewContainerRef) {}\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Injectable } from '@angular/core';\nimport { GlobalMessageService } from '@spartacus/core';\nimport { UserRegisterFacade } from '@spartacus/user/profile/root';\nimport { RegisterComponentService } from '@spartacus/user/profile/components';\n\n@Injectable({\n  providedIn: 'root',\n})\nexport class SpartacusRegisterComponentService extends RegisterComponentService {\n  constructor(protected userRegisterFacade: UserRegisterFacade, protected globalMessage: GlobalMessageService) {\n    super(userRegisterFacade, globalMessage);\n  }\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, Injector, Input, OnInit, ViewChild } from '@angular/core';\nimport { UntypedFormBuilder } from '@angular/forms';\nimport { Component as BrComponent, Page } from '@bloomreach/spa-sdk';\nimport {\n  AnonymousConsentsConfig,\n  AnonymousConsentsService,\n  AuthConfigService,\n  GlobalMessageService,\n  RoutingService,\n} from '@spartacus/core';\nimport { RegisterComponent, RegisterComponentService } from '@spartacus/user/profile/components';\nimport { SpartacusRegisterDirective } from './spartacus-register.directive';\nimport { SpartacusRegisterComponentService } from '../../services/spartacus-register-component.service';\n\n@Component({\n  selector: 'brx-spartacus-register',\n  templateUrl: './spartacus-register.component.html',\n})\nexport class SpartacusRegisterComponent implements OnInit {\n  @Input() component!: BrComponent;\n\n  @Input() page!: Page;\n\n  @ViewChild(SpartacusRegisterDirective, { static: true })\n  wrappedComponent!: SpartacusRegisterDirective;\n\n  constructor(\n    private registerComponentService: SpartacusRegisterComponentService,\n    protected globalMessageService: GlobalMessageService,\n    protected fb: UntypedFormBuilder,\n    protected router: RoutingService,\n    protected anonymousConsentsService: AnonymousConsentsService,\n    protected anonymousConsentsConfig: AnonymousConsentsConfig,\n    protected authConfigService: AuthConfigService,\n  ) {}\n\n  ngOnInit(): void {\n    this.renderWrappedRegister();\n    this.anonymousConsentsService.loadTemplates();\n  }\n\n  renderWrappedRegister(): void {\n    const { viewContainerRef } = this.wrappedComponent;\n    viewContainerRef.clear();\n\n    const componentInjector = Injector.create({\n      providers: [\n        {\n          provide: GlobalMessageService,\n          useValue: this.globalMessageService,\n        },\n        {\n          provide: UntypedFormBuilder,\n          useValue: this.fb,\n        },\n        {\n          provide: RoutingService,\n          useValue: this.router,\n        },\n        {\n          provide: AnonymousConsentsService,\n          useValue: this.anonymousConsentsService,\n        },\n        {\n          provide: AnonymousConsentsConfig,\n          useValue: this.anonymousConsentsConfig,\n        },\n        {\n          provide: AuthConfigService,\n          useValue: this.authConfigService,\n        },\n        {\n          provide: RegisterComponentService,\n          useValue: this.registerComponentService,\n        },\n      ],\n    });\n    viewContainerRef.createComponent(RegisterComponent, { index: 0, injector: componentInjector });\n  }\n}\n","<!--\n  Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n-->\n\n<div>\n  <ng-template brxSpartacusRegister></ng-template>\n</div>\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Directive, ViewContainerRef } from '@angular/core';\n\n@Directive({\n  selector: '[brxSpartacusLoginRegister]',\n})\nexport class SpartacusLoginRegisterDirective {\n  constructor(public viewContainerRef: ViewContainerRef) {}\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, Injector, Input, OnInit, ViewChild } from '@angular/core';\nimport { ActivatedRoute } from '@angular/router';\nimport { Component as BrComponent, Page } from '@bloomreach/spa-sdk';\nimport { LoginRegisterComponent } from '@spartacus/user/account/components';\nimport { SpartacusLoginRegisterDirective } from './spartacus-login-register.directive';\n\n@Component({\n  selector: 'brx-spartacus-login-register',\n  templateUrl: './spartacus-login-register.component.html',\n  styleUrls: ['./spartacus-login-register.component.scss'],\n})\nexport class SpartacusLoginRegisterComponent implements OnInit {\n  @Input() component!: BrComponent;\n\n  @Input() page!: Page;\n\n  @ViewChild(SpartacusLoginRegisterDirective, { static: true })\n  wrappedComponent!: SpartacusLoginRegisterDirective;\n\n  constructor(protected activatedRoute: ActivatedRoute) {}\n\n  ngOnInit(): void {\n    this.renderWrappedLoginForm();\n  }\n\n  renderWrappedLoginForm(): void {\n    const { viewContainerRef } = this.wrappedComponent;\n    viewContainerRef.clear();\n\n    const componentInjector = Injector.create({\n      providers: [\n        {\n          provide: ActivatedRoute,\n          useValue: this.activatedRoute,\n        },\n      ],\n    });\n\n    viewContainerRef.createComponent(LoginRegisterComponent, { index: 0, injector: componentInjector });\n  }\n}\n","<!--\n  Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n-->\n\n<div class=\"wrapper\">\n  <div class=\"register-btn\">\n    <ng-template brxSpartacusLoginRegister></ng-template>\n  </div>\n</div>\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Directive, ViewContainerRef } from '@angular/core';\n\n@Directive({\n  selector: '[brxSpartacusCartDetails]',\n})\nexport class SpartacusCartDetailsDirective {\n  constructor(public viewContainerRef: ViewContainerRef) {}\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, Injector, Input, OnInit, ViewChild } from '@angular/core';\nimport { Component as BrComponent, Page } from '@bloomreach/spa-sdk';\nimport { AuthService, RoutingService } from '@spartacus/core';\nimport { CartDetailsComponent } from '@spartacus/cart/base/components';\nimport { ActiveCartFacade, SelectiveCartFacade } from '@spartacus/cart/base/root';\nimport { SpartacusCartDetailsDirective } from './spartacus-cart-details.directive';\n\n@Component({\n  selector: 'brx-spartacus-cart-details',\n  templateUrl: './spartacus-cart-details.component.html',\n  styleUrls: ['./spartacus-cart-details.component.scss'],\n})\nexport class SpartacusCartDetailsComponent implements OnInit {\n  @Input() component!: BrComponent;\n\n  @Input() page!: Page;\n\n  @ViewChild(SpartacusCartDetailsDirective, { static: true })\n  wrappedComponent!: SpartacusCartDetailsDirective;\n\n  constructor(\n    private activeCartService: ActiveCartFacade,\n    private selectiveCartService: SelectiveCartFacade,\n    private authService: AuthService,\n    private routingService: RoutingService,\n  ) {}\n\n  ngOnInit(): void {\n    this.renderWrapper();\n  }\n\n  renderWrapper(): void {\n    const { viewContainerRef } = this.wrappedComponent;\n    viewContainerRef.clear();\n\n    const componentInjector = Injector.create({\n      providers: [\n        {\n          provide: ActiveCartFacade,\n          useValue: this.activeCartService,\n        },\n        {\n          provide: SelectiveCartFacade,\n          useValue: this.selectiveCartService,\n        },\n        {\n          provide: AuthService,\n          useValue: this.authService,\n        },\n        {\n          provide: RoutingService,\n          useValue: this.routingService,\n        },\n      ],\n    });\n\n    viewContainerRef.createComponent(CartDetailsComponent, { index: 0, injector: componentInjector });\n  }\n}\n","<!--\n  Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n-->\n\n<div class=\"px-5 py-2\">\n  <ng-template brxSpartacusCartDetails></ng-template>\n</div>\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Directive, ViewContainerRef } from '@angular/core';\n\n@Directive({\n  selector: '[brxSpartacusCartTotals]',\n})\nexport class SpartacusCartTotalsDirective {\n  constructor(public viewContainerRef: ViewContainerRef) {}\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Component, Injector, Input, OnInit, ViewChild } from '@angular/core';\nimport { UntypedFormBuilder } from '@angular/forms';\nimport { Component as BrComponent, Page } from '@bloomreach/spa-sdk';\nimport { CustomerCouponService } from '@spartacus/core';\nimport { CartTotalsComponent } from '@spartacus/cart/base/components';\nimport { ActiveCartFacade, CartVoucherFacade } from '@spartacus/cart/base/root';\nimport { SpartacusCartTotalsDirective } from './spartacus-cart-totals.directive';\n\n@Component({\n  selector: 'brx-spartacus-cart-totals',\n  templateUrl: './spartacus-cart-totals.component.html',\n  styleUrls: ['./spartacus-cart-totals.component.scss'],\n})\nexport class SpartacusCartTotalsComponent implements OnInit {\n  @Input() component!: BrComponent;\n\n  @Input() page!: Page;\n\n  @ViewChild(SpartacusCartTotalsDirective, { static: true })\n  wrappedComponent!: SpartacusCartTotalsDirective;\n\n  constructor(\n    private cartVoucherService: CartVoucherFacade,\n    private formBuilder: UntypedFormBuilder,\n    private customerCouponService: CustomerCouponService,\n    private activeCartService: ActiveCartFacade,\n  ) {}\n\n  ngOnInit(): void {\n    this.renderWrapper();\n  }\n\n  renderWrapper(): void {\n    const { viewContainerRef } = this.wrappedComponent;\n    viewContainerRef.clear();\n\n    const componentInjector = Injector.create({\n      providers: [\n        {\n          provide: ActiveCartFacade,\n          useValue: this.activeCartService,\n        },\n        {\n          provide: CartVoucherFacade,\n          useValue: this.cartVoucherService,\n        },\n        {\n          provide: UntypedFormBuilder,\n          useValue: this.formBuilder,\n        },\n        {\n          provide: CustomerCouponService,\n          useValue: this.customerCouponService,\n        },\n      ],\n    });\n\n    viewContainerRef.createComponent(CartTotalsComponent, { index: 0, injector: componentInjector });\n  }\n}\n","<!--\n  Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n-->\n\n<div class=\"px-2 py-2\">\n  <ng-template brxSpartacusCartTotals></ng-template>\n</div>\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Directive, ViewContainerRef } from '@angular/core';\n\n@Directive({\n  selector: '[brxSpartacusCartCoupon]',\n})\nexport class SpartacusCartCouponDirective {\n  constructor(public viewContainerRef: ViewContainerRef) {}\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, Injector, Input, OnInit, ViewChild } from '@angular/core';\nimport { Component as BrComponent, Page } from '@bloomreach/spa-sdk';\nimport { CartCouponComponent } from '@spartacus/cart/base/components';\nimport { ActiveCartFacade } from '@spartacus/cart/base/root';\nimport { SpartacusCartCouponDirective } from './spartacus-cart-coupon.directive';\n\n@Component({\n  selector: 'brx-spartacus-cart-coupon',\n  templateUrl: './spartacus-cart-coupon.component.html',\n  styleUrls: ['./spartacus-cart-coupon.component.scss'],\n})\nexport class SpartacusCartCouponComponent implements OnInit {\n  @Input() component!: BrComponent;\n\n  @Input() page!: Page;\n\n  @ViewChild(SpartacusCartCouponDirective, { static: true })\n  wrappedComponent!: SpartacusCartCouponDirective;\n\n  constructor(private activeCartService: ActiveCartFacade) {}\n\n  ngOnInit(): void {\n    this.renderWrapper();\n  }\n\n  renderWrapper(): void {\n    const { viewContainerRef } = this.wrappedComponent;\n    viewContainerRef.clear();\n\n    const componentInjector = Injector.create({\n      providers: [\n        {\n          provide: ActiveCartFacade,\n          useValue: this.activeCartService,\n        },\n      ],\n    });\n\n    viewContainerRef.createComponent(CartCouponComponent, { index: 0, injector: componentInjector });\n  }\n}\n","<!--\n  Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n-->\n\n<div class=\"px-2 py-2\">\n  <ng-template brxSpartacusCartCoupon></ng-template>\n</div>\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Directive, ViewContainerRef } from '@angular/core';\n\n@Directive({\n  selector: '[brxSpartacusCartQuickOrderForm]',\n})\nexport class SpartacusCartQuickOrderFormDirective {\n  constructor(public viewContainerRef: ViewContainerRef) {}\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, Injector, Input, OnInit, ViewChild } from '@angular/core';\nimport { Component as BrComponent, Page } from '@bloomreach/spa-sdk';\nimport { UntypedFormBuilder } from '@angular/forms';\nimport { EventService, GlobalMessageService } from '@spartacus/core';\nimport { CartQuickOrderFormComponent } from '@spartacus/cart/quick-order/components';\nimport { ActiveCartFacade } from '@spartacus/cart/base/root';\nimport { SpartacusCartQuickOrderFormDirective } from './spartacus-cart-quick-order-form.directive';\n\n@Component({\n  selector: 'brx-spartacus-cart-quick-order-form',\n  templateUrl: './spartacus-cart-quick-order-form.component.html',\n  styleUrls: ['./spartacus-cart-quick-order-form.component.scss'],\n})\nexport class SpartacusCartQuickOrderFormComponent implements OnInit {\n  @Input() component!: BrComponent;\n\n  @Input() page!: Page;\n\n  @ViewChild(SpartacusCartQuickOrderFormDirective, { static: true })\n  wrappedComponent!: SpartacusCartQuickOrderFormDirective;\n\n  constructor(\n    protected activeCartService: ActiveCartFacade,\n    protected eventService: EventService,\n    protected formBuilder: UntypedFormBuilder,\n    protected globalMessageService: GlobalMessageService,\n  ) {}\n\n  ngOnInit(): void {\n    this.renderWrapper();\n  }\n\n  renderWrapper(): void {\n    const { viewContainerRef } = this.wrappedComponent;\n    viewContainerRef.clear();\n\n    const componentInjector = Injector.create({\n      providers: [\n        {\n          provide: ActiveCartFacade,\n          useValue: this.activeCartService,\n        },\n        {\n          provide: EventService,\n          useValue: this.eventService,\n        },\n        {\n          provide: UntypedFormBuilder,\n          useValue: this.formBuilder,\n        },\n        {\n          provide: GlobalMessageService,\n          useValue: this.globalMessageService,\n        },\n      ],\n    });\n\n    viewContainerRef.createComponent(CartQuickOrderFormComponent, { index: 0, injector: componentInjector });\n  }\n}\n","<!--\n  Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n-->\n\n<div class=\"px-2 py-2\">\n  <ng-template brxSpartacusCartQuickOrderForm></ng-template>\n</div>\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Directive, ViewContainerRef } from '@angular/core';\n\n@Directive({\n  selector: '[brxSpartacusAddToSavedCart]',\n})\nexport class SpartacusAddToSavedCartDirective {\n  constructor(public viewContainerRef: ViewContainerRef) {}\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Component, Injector, Input, OnInit, ViewChild, ViewContainerRef } from '@angular/core';\nimport { Component as BrComponent, Page } from '@bloomreach/spa-sdk';\nimport { AuthService, RoutingService } from '@spartacus/core';\nimport { LaunchDialogService } from '@spartacus/storefront';\nimport { AddToSavedCartComponent } from '@spartacus/cart/saved-cart/components';\nimport { ActiveCartFacade } from '@spartacus/cart/base/root';\nimport { SpartacusAddToSavedCartDirective } from './spartacus-add-to-saved-cart.directive';\n\n@Component({\n  selector: 'brx-spartacus-add-to-saved-cart',\n  templateUrl: './spartacus-add-to-saved-cart.component.html',\n  styleUrls: ['./spartacus-add-to-saved-cart.component.scss'],\n})\nexport class SpartacusAddToSavedCartComponent implements OnInit {\n  @Input() component!: BrComponent;\n\n  @Input() page!: Page;\n\n  @ViewChild(SpartacusAddToSavedCartDirective, { static: true })\n  wrappedComponent!: SpartacusAddToSavedCartDirective;\n\n  constructor(\n    protected activeCartService: ActiveCartFacade,\n    protected authService: AuthService,\n    protected routingService: RoutingService,\n    protected vcr: ViewContainerRef,\n    protected launchDialogService: LaunchDialogService,\n  ) {}\n\n  ngOnInit(): void {\n    this.renderWrapper();\n  }\n\n  renderWrapper(): void {\n    const { viewContainerRef } = this.wrappedComponent;\n    viewContainerRef.clear();\n\n    const componentInjector = Injector.create({\n      providers: [\n        {\n          provide: ActiveCartFacade,\n          useValue: this.activeCartService,\n        },\n        {\n          provide: AuthService,\n          useValue: this.authService,\n        },\n        {\n          provide: RoutingService,\n          useValue: this.routingService,\n        },\n        {\n          provide: ViewContainerRef,\n          useValue: this.vcr,\n        },\n        {\n          provide: LaunchDialogService,\n          useValue: this.launchDialogService,\n        },\n      ],\n    });\n\n    viewContainerRef.createComponent(AddToSavedCartComponent, { index: 0, injector: componentInjector });\n  }\n}\n","<!--\n  Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n-->\n\n<div class=\"px-2 py-2\">\n  <ng-template brxSpartacusAddToSavedCart></ng-template>\n</div>\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Directive, ViewContainerRef } from '@angular/core';\n\n@Directive({\n  selector: '[brxSpartacusImportExportOrderEntries]',\n})\nexport class SpartacusImportExportOrderEntriesDirective {\n  constructor(public viewContainerRef: ViewContainerRef) {}\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Component, Injector, Input, OnInit, ViewChild } from '@angular/core';\nimport { Component as BrComponent, Page } from '@bloomreach/spa-sdk';\nimport { ImportExportOrderEntriesComponent } from '@spartacus/cart/import-export/components';\nimport { ContextService } from '@spartacus/storefront';\nimport { SpartacusImportExportOrderEntriesDirective } from './spartacus-import-export-order-entries.directive';\n\n@Component({\n  selector: 'brx-spartacus-import-export-order-entries',\n  templateUrl: './spartacus-import-export-order-entries.component.html',\n  styleUrls: ['./spartacus-import-export-order-entries.component.scss'],\n})\nexport class SpartacusImportExportOrderEntriesComponent implements OnInit {\n  @Input() component!: BrComponent;\n\n  @Input() page!: Page;\n\n  @ViewChild(SpartacusImportExportOrderEntriesDirective, { static: true })\n  wrappedComponent!: SpartacusImportExportOrderEntriesDirective;\n\n  constructor(protected contextService: ContextService) {}\n\n  ngOnInit(): void {\n    this.renderWrapper();\n  }\n\n  renderWrapper(): void {\n    const { viewContainerRef } = this.wrappedComponent;\n    viewContainerRef.clear();\n\n    const componentInjector = Injector.create({\n      providers: [\n        {\n          provide: ContextService,\n          useValue: this.contextService,\n        },\n      ],\n    });\n\n    viewContainerRef.createComponent(ImportExportOrderEntriesComponent, { index: 0, injector: componentInjector });\n  }\n}\n","<!--\n  Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n-->\n\n<div class=\"px-2 py-2\">\n  <ng-template brxSpartacusImportExportOrderEntries></ng-template>\n</div>\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Directive, ViewContainerRef } from '@angular/core';\n\n@Directive({\n  selector: '[brxSpartacusLogin]',\n})\nexport class SpartacusLoginDirective {\n  constructor(public viewContainerRef: ViewContainerRef) {}\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, Injector, Input, OnInit, ViewChild } from '@angular/core';\nimport { Component as BrComponent, Page } from '@bloomreach/spa-sdk';\nimport { AuthService } from '@spartacus/core';\nimport { LoginComponent } from '@spartacus/user/account/components';\nimport { UserAccountFacade } from '@spartacus/user/account/root';\nimport { SpartacusLoginDirective } from './spartacus-login.directive';\n\n@Component({\n  selector: 'brx-spartacus-login',\n  templateUrl: './spartacus-login.component.html',\n})\nexport class SpartacusLoginComponent implements OnInit {\n  @Input() component!: BrComponent;\n\n  @Input() page!: Page;\n\n  @ViewChild(SpartacusLoginDirective, { static: true })\n  wrappedComponent!: SpartacusLoginDirective;\n\n  constructor(private auth: AuthService, private userAccount: UserAccountFacade) {}\n\n  ngOnInit(): void {\n    this.renderWrapper();\n  }\n\n  renderWrapper(): void {\n    const { viewContainerRef } = this.wrappedComponent;\n    viewContainerRef.clear();\n\n    const componentInjector = Injector.create({\n      providers: [\n        {\n          provide: AuthService,\n          useValue: this.auth,\n        },\n        {\n          provide: UserAccountFacade,\n          useValue: this.userAccount,\n        },\n      ],\n    });\n\n    viewContainerRef.createComponent(LoginComponent, { index: 0, injector: componentInjector });\n  }\n}\n","<!--\n  Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n-->\n\n<div style=\"text-align: center\">\n  <ng-template brxSpartacusLogin></ng-template>\n</div>\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Directive, ViewContainerRef } from '@angular/core';\n\n@Directive({\n  selector: '[brxSpartacusMiniCart]',\n})\nexport class SpartacusMiniCartDirective {\n  constructor(public viewContainerRef: ViewContainerRef) {}\n}\n","/*\n * Copyright 2024 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Injectable } from '@angular/core';\nimport { AuthService, EventService, SiteContextParamsService, StatePersistenceService } from '@spartacus/core';\nimport { ActiveCartFacade } from '@spartacus/cart/base/root';\nimport { MiniCartComponentService } from '@spartacus/cart/base/components/mini-cart';\nimport { Observable, of } from 'rxjs';\nimport { map, startWith, switchMap } from 'rxjs/operators';\n\n@Injectable({\n  providedIn: 'root',\n})\nexport class SpartacusMiniCartComponentService extends MiniCartComponentService {\n  constructor(\n    protected activeCartFacade: ActiveCartFacade,\n    protected authService: AuthService,\n    protected statePersistenceService: StatePersistenceService,\n    protected siteContextParamsService: SiteContextParamsService,\n    protected eventService: EventService,\n  ) {\n    super(activeCartFacade, authService, statePersistenceService, siteContextParamsService, eventService);\n  }\n\n  getQuantity(): Observable<number> {\n    return this.activeCartRequired().pipe(\n      switchMap((activeCartRequired) => {\n        if (activeCartRequired) {\n          return this.activeCartFacade.getActive().pipe(\n            startWith({ totalUnitCount: 0, deliveryItemsQuantity: 0 }),\n            map((cart) => cart.totalUnitCount || cart.deliveryItemsQuantity || 0),\n          );\n        }\n        return of(0);\n      }),\n    ) as Observable<number>;\n  }\n}\n","/*\n * Copyright 2020-2024 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Component, Injector, Input, OnInit, ViewChild } from '@angular/core';\nimport { Component as BrComponent, Page } from '@bloomreach/spa-sdk';\nimport { MiniCartComponent, MiniCartComponentService } from '@spartacus/cart/base/components/mini-cart';\nimport { SpartacusMiniCartDirective } from './spartacus-mini-cart.directive';\nimport { SpartacusMiniCartComponentService } from '../../services/spartacus-mini-cart-component.service';\n\n@Component({\n  selector: 'brx-spartacus-mini-cart',\n  templateUrl: './spartacus-mini-cart.component.html',\n})\nexport class SpartacusMiniCartComponent implements OnInit {\n  @Input() component!: BrComponent;\n\n  @Input() page!: Page;\n\n  @ViewChild(SpartacusMiniCartDirective, { static: true })\n  wrappedComponent!: SpartacusMiniCartDirective;\n\n  constructor(protected miniCartComponentService: SpartacusMiniCartComponentService) {}\n\n  ngOnInit(): void {\n    this.renderWrapper();\n  }\n\n  renderWrapper(): void {\n    const { viewContainerRef } = this.wrappedComponent;\n    viewContainerRef.clear();\n\n    const componentInjector = Injector.create({\n      providers: [\n        {\n          provide: MiniCartComponentService,\n          useValue: this.miniCartComponentService,\n        },\n      ],\n    });\n\n    viewContainerRef.createComponent(MiniCartComponent, { index: 0, injector: componentInjector });\n  }\n}\n","<!--\n  Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n-->\n\n<div>\n  <ng-template brxSpartacusMiniCart></ng-template>\n</div>\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Component, OnInit, Input } from '@angular/core';\nimport { Component as BrComponent, isMenu, Menu, Page } from '@bloomreach/spa-sdk';\nimport { AuthService, User } from '@spartacus/core';\nimport { Observable } from 'rxjs';\n\n@Component({\n  selector: 'brx-my-account-menu',\n  templateUrl: './my-account-menu.component.html',\n  styleUrls: ['./my-account-menu.component.scss'],\n})\nexport class MyAccountMenuComponent implements OnInit {\n  @Input() component!: BrComponent;\n\n  @Input() page!: Page;\n\n  user$: Observable<boolean> | undefined;\n\n  navbarOpen = false;\n\n  constructor(private auth: AuthService) {}\n\n  ngOnInit(): void {\n    this.user$ = this.auth.isUserLoggedIn();\n  }\n}\n","<!--\n  Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n-->\n\n<nav *ngIf=\"user$ | async\" class=\"navbar navbar-expand-lg navbar-dark bg-dark\">\n  <div class=\"container-fluid\">\n    <div class=\"collapse navbar-collapse\" id=\"navbarNavDarkDropdown\">\n      <ul class=\"navbar-nav\">\n        <li class=\"nav-item dropdown\">\n          <a\n            class=\"nav-link dropdown-toggle\"\n            href=\"javascript:void(0)\"\n            id=\"navbarDarkDropdownMenuLink\"\n            role=\"button\"\n            data-bs-toggle=\"dropdown\"\n            aria-expanded=\"false\"\n            [ngClass]=\"{ show: navbarOpen }\"\n            (click)=\"navbarOpen = !navbarOpen\">\n            My Account\n          </a>\n          <ul\n            [ngClass]=\"{ show: navbarOpen }\"\n            class=\"dropdown-menu dropdown-menu-dark\"\n            aria-labelledby=\"navbarDarkDropdownMenuLink\">\n            <li>\n              <a class=\"dropdown-item\" routerLink=\"/wishlist\">Wish List</a>\n            </li>\n            <li>\n              <a class=\"dropdown-item\" [routerLink]=\"'/logout'\">Sign Out</a>\n            </li>\n          </ul>\n        </li>\n      </ul>\n    </div>\n  </div>\n</nav>\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Directive, ViewContainerRef } from '@angular/core';\n\n@Directive({\n  selector: '[brxSpartacusWishList]',\n})\nexport class SpartacusWishListDirective {\n  constructor(public viewContainerRef: ViewContainerRef) {}\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, Injector, Input, OnInit, ViewChild } from '@angular/core';\nimport { Component as BrComponent, Page } from '@bloomreach/spa-sdk';\nimport { WishListComponent } from '@spartacus/cart/wish-list/components';\nimport { WishListFacade } from '@spartacus/cart/wish-list/root';\nimport { SpartacusWishListDirective } from './spartacus-wish-list.directive';\n\n@Component({\n  selector: 'brx-spartacus-wish-list',\n  templateUrl: './spartacus-wish-list.component.html',\n})\nexport class SpartacusWishListComponent implements OnInit {\n  @Input() component!: BrComponent;\n\n  @Input() page!: Page;\n\n  @ViewChild(SpartacusWishListDirective, { static: true })\n  wrappedComponent!: SpartacusWishListDirective;\n\n  constructor(private wishListFacade: WishListFacade) {}\n\n  ngOnInit(): void {\n    this.renderWrapper();\n  }\n\n  renderWrapper(): void {\n    const { viewContainerRef } = this.wrappedComponent;\n    viewContainerRef.clear();\n\n    const componentInjector = Injector.create({\n      providers: [\n        {\n          provide: WishListFacade,\n          useValue: this.wishListFacade,\n        },\n      ],\n    });\n\n    viewContainerRef.createComponent(WishListComponent, { index: 0, injector: componentInjector });\n  }\n}\n","<!--\n  Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n-->\n\n<div class=\"container\">\n  <div class=\"m-5\">\n    <ng-template brxSpartacusWishList></ng-template>\n  </div>\n</div>\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Directive, ViewContainerRef } from '@angular/core';\n\n@Directive({\n  selector: '[brxSpartacusCheckoutOrderSummary]',\n})\nexport class SpartacusCheckoutOrderSummaryDirective {\n  constructor(public viewContainerRef: ViewContainerRef) {}\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, Input, OnInit, ViewChild } from '@angular/core';\nimport { Component as BrComponent, Page } from '@bloomreach/spa-sdk';\nimport { CheckoutOrderSummaryComponent } from '@spartacus/checkout/base/components';\nimport { SpartacusCheckoutOrderSummaryDirective } from './spartacus-checkout-order-summary.directive';\n\n@Component({\n  selector: 'brx-spartacus-checkout-order-summary',\n  templateUrl: './spartacus-checkout-order-summary.component.html',\n})\nexport class SpartacusCheckoutOrderSummaryComponent implements OnInit {\n  @Input() component!: BrComponent;\n\n  @Input() page!: Page;\n\n  @ViewChild(SpartacusCheckoutOrderSummaryDirective, { static: true })\n  wrappedComponent!: SpartacusCheckoutOrderSummaryDirective;\n\n  ngOnInit(): void {\n    this.renderWrappedCheckoutOrderSummary();\n  }\n\n  renderWrappedCheckoutOrderSummary(): void {\n    const { viewContainerRef } = this.wrappedComponent;\n    viewContainerRef.clear();\n\n    viewContainerRef.createComponent(CheckoutOrderSummaryComponent, { index: 0 });\n  }\n}\n","<!--\n  Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n-->\n\n<div>\n  <ng-template brxSpartacusCheckoutOrderSummary></ng-template>\n</div>\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './spartacus-checkout-order-summary.component';\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Directive, ViewContainerRef } from '@angular/core';\n\n@Directive({\n  selector: '[brxSpartacusCheckoutProgress]',\n})\nexport class SpartacusCheckoutProgressDirective {\n  constructor(public viewContainerRef: ViewContainerRef) {}\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, Input, OnInit, ViewChild } from '@angular/core';\nimport { Component as BrComponent, Page } from '@bloomreach/spa-sdk';\nimport { CheckoutProgressComponent } from '@spartacus/checkout/base/components';\nimport { SpartacusCheckoutProgressDirective } from './spartacus-checkout-progress.directive';\n\n@Component({\n  selector: 'brx-spartacus-checkout-progress',\n  templateUrl: './spartacus-checkout-progress.component.html',\n})\nexport class SpartacusCheckoutProgressComponent implements OnInit {\n  @Input() component!: BrComponent;\n\n  @Input() page!: Page;\n\n  @ViewChild(SpartacusCheckoutProgressDirective, { static: true })\n  wrappedComponent!: SpartacusCheckoutProgressDirective;\n\n  ngOnInit(): void {\n    this.renderWrappedCheckoutProgress();\n  }\n\n  renderWrappedCheckoutProgress(): void {\n    const { viewContainerRef } = this.wrappedComponent;\n    viewContainerRef.clear();\n\n    viewContainerRef.createComponent(CheckoutProgressComponent, { index: 0 });\n  }\n}\n","<!--\n  Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n-->\n\n<div>\n  <ng-template brxSpartacusCheckoutProgress></ng-template>\n</div>\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Directive, ViewContainerRef } from '@angular/core';\n\n@Directive({\n  selector: '[brxSpartacusCheckoutProgressMobileTop]',\n})\nexport class SpartacusCheckoutProgressMobileTopDirective {\n  constructor(public viewContainerRef: ViewContainerRef) {}\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, Input, OnInit, ViewChild } from '@angular/core';\nimport { Component as BrComponent, Page } from '@bloomreach/spa-sdk';\nimport { CheckoutProgressMobileTopComponent } from '@spartacus/checkout/base/components';\nimport { SpartacusCheckoutProgressMobileTopDirective } from './spartacus-checkout-progress-mobile-top.directive';\n\n@Component({\n  selector: 'brx-spartacus-checkout-progress-mobile-top',\n  templateUrl: './spartacus-checkout-progress-mobile-top.component.html',\n})\nexport class SpartacusCheckoutProgressMobileTopComponent implements OnInit {\n  @Input() component!: BrComponent;\n\n  @Input() page!: Page;\n\n  @ViewChild(SpartacusCheckoutProgressMobileTopDirective, { static: true })\n  wrappedComponent!: SpartacusCheckoutProgressMobileTopDirective;\n\n  ngOnInit(): void {\n    this.renderWrappedCheckoutProgressMobileTop();\n  }\n\n  renderWrappedCheckoutProgressMobileTop(): void {\n    const { viewContainerRef } = this.wrappedComponent;\n    viewContainerRef.clear();\n\n    viewContainerRef.createComponent(CheckoutProgressMobileTopComponent, { index: 0 });\n  }\n}\n","<!--\n  Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n-->\n\n<div>\n  <ng-template brxSpartacusCheckoutProgressMobileTop></ng-template>\n</div>\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './spartacus-checkout-progress-mobile-top.component';\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Directive, ViewContainerRef } from '@angular/core';\n\n@Directive({\n  selector: '[brxSpartacusCheckoutProgressMobileBottom]',\n})\nexport class SpartacusCheckoutProgressMobileBottomDirective {\n  constructor(public viewContainerRef: ViewContainerRef) {}\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, Input, OnInit, ViewChild } from '@angular/core';\nimport { Component as BrComponent, Page } from '@bloomreach/spa-sdk';\nimport { CheckoutProgressMobileBottomComponent } from '@spartacus/checkout/base/components';\nimport { SpartacusCheckoutProgressMobileBottomDirective } from './spartacus-checkout-progress-mobile-bottom.directive';\n\n@Component({\n  selector: 'brx-spartacus-checkout-progress-mobile-bottom',\n  templateUrl: './spartacus-checkout-progress-mobile-bottom.component.html',\n})\nexport class SpartacusCheckoutProgressMobileBottomComponent implements OnInit {\n  @Input() component!: BrComponent;\n\n  @Input() page!: Page;\n\n  @ViewChild(SpartacusCheckoutProgressMobileBottomDirective, { static: true })\n  wrappedComponent!: SpartacusCheckoutProgressMobileBottomDirective;\n\n  ngOnInit(): void {\n    this.renderWrappedCheckoutProgressMobileTop();\n  }\n\n  renderWrappedCheckoutProgressMobileTop(): void {\n    const { viewContainerRef } = this.wrappedComponent;\n    viewContainerRef.clear();\n\n    viewContainerRef.createComponent(CheckoutProgressMobileBottomComponent, { index: 0 });\n  }\n}\n","<!--\n  Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n-->\n\n<div>\n  <ng-template brxSpartacusCheckoutProgressMobileBottom></ng-template>\n</div>\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './spartacus-checkout-progress-mobile-bottom.component';\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './spartacus-checkout-progress.component';\nexport * from './spartacus-checkout-progress-mobile-top';\nexport * from './spartacus-checkout-progress-mobile-bottom';\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { ActivatedRoute, PRIMARY_OUTLET, Router } from '@angular/router';\nimport { Page } from '@bloomreach/spa-sdk';\n\n/**\n * Since we are using brX, the activatedRoute will have empty snapshot url.\n * Here we manually set it to the current URL so the checkout steps can function correctly.\n */\nexport function setActivatedRouteSnapshotUrl(page: Page, activatedRoute: ActivatedRoute, router: Router): void {\n  activatedRoute.snapshot.url = router.parseUrl(page.getUrl() ?? '/').root.children[PRIMARY_OUTLET].segments;\n  // console.log('[setActivatedRouteSnapshotUrl]: activatedRoute.snapshot.url: ', activatedRoute.snapshot.url);\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Directive, ViewContainerRef } from '@angular/core';\n\n@Directive({\n  selector: '[brxSpartacusShippingAddress]',\n})\nexport class SpartacusShippingAddressDirective {\n  constructor(public viewContainerRef: ViewContainerRef) {}\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, Input, OnInit, ViewChild } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { Component as BrComponent, Page } from '@bloomreach/spa-sdk';\nimport { CheckoutDeliveryAddressComponent } from '@spartacus/checkout/base/components';\nimport { setActivatedRouteSnapshotUrl } from '../utils/set-activated-route-snapshot-url';\nimport { SpartacusShippingAddressDirective } from './spartacus-shipping-address.directive';\n\n@Component({\n  selector: 'brx-spartacus-shipping-address',\n  templateUrl: './spartacus-shipping-address.component.html',\n})\nexport class SpartacusShippingAddressComponent implements OnInit {\n  @Input() component!: BrComponent;\n\n  @Input() page!: Page;\n\n  @ViewChild(SpartacusShippingAddressDirective, { static: true })\n  wrappedComponent!: SpartacusShippingAddressDirective;\n\n  constructor(private readonly activatedRoute: ActivatedRoute, private readonly router: Router) {}\n\n  ngOnInit(): void {\n    setActivatedRouteSnapshotUrl(this.page, this.activatedRoute, this.router);\n    this.renderWrappedShippingAddress();\n  }\n\n  renderWrappedShippingAddress(): void {\n    const { viewContainerRef } = this.wrappedComponent;\n    viewContainerRef.clear();\n    viewContainerRef.createComponent(CheckoutDeliveryAddressComponent, { index: 0 });\n  }\n}\n","<!--\n  Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n-->\n\n<div>\n  <ng-template brxSpartacusShippingAddress></ng-template>\n</div>\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './spartacus-shipping-address.component';\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Directive, ViewContainerRef } from '@angular/core';\n\n@Directive({\n  selector: '[brxSpartacusDeliveryMode]',\n})\nexport class SpartacusDeliveryModeDirective {\n  constructor(public viewContainerRef: ViewContainerRef) {}\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, Input, OnInit, ViewChild } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { Component as BrComponent, Page } from '@bloomreach/spa-sdk';\nimport { CheckoutDeliveryModeComponent } from '@spartacus/checkout/base/components';\nimport { setActivatedRouteSnapshotUrl } from '../utils/set-activated-route-snapshot-url';\nimport { SpartacusDeliveryModeDirective } from './spartacus-delivery-mode.directive';\n\n@Component({\n  selector: 'brx-spartacus-delivery-mode',\n  templateUrl: './spartacus-delivery-mode.component.html',\n})\nexport class SpartacusDeliveryModeComponent implements OnInit {\n  @Input() component!: BrComponent;\n\n  @Input() page!: Page;\n\n  @ViewChild(SpartacusDeliveryModeDirective, { static: true })\n  wrappedComponent!: SpartacusDeliveryModeDirective;\n\n  constructor(private readonly activatedRoute: ActivatedRoute, private readonly router: Router) {}\n\n  ngOnInit(): void {\n    setActivatedRouteSnapshotUrl(this.page, this.activatedRoute, this.router);\n    this.renderWrappedDeliveryMode();\n  }\n\n  renderWrappedDeliveryMode(): void {\n    const { viewContainerRef } = this.wrappedComponent;\n    viewContainerRef.clear();\n\n    viewContainerRef.createComponent(CheckoutDeliveryModeComponent, { index: 0 });\n  }\n}\n","<!--\n  Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n-->\n\n<div>\n  <ng-template brxSpartacusDeliveryMode></ng-template>\n</div>\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './spartacus-delivery-mode.component';\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Directive, ViewContainerRef } from '@angular/core';\n\n@Directive({\n  selector: '[brxSpartacusPaymentMethod]',\n})\nexport class SpartacusPaymentMethodDirective {\n  constructor(public viewContainerRef: ViewContainerRef) {}\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, Input, OnInit, ViewChild } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { Component as BrComponent, Page } from '@bloomreach/spa-sdk';\nimport { CheckoutPaymentMethodComponent } from '@spartacus/checkout/base/components';\nimport { setActivatedRouteSnapshotUrl } from '../utils/set-activated-route-snapshot-url';\nimport { SpartacusPaymentMethodDirective } from './spartacus-payment-method.directive';\n\n@Component({\n  selector: 'brx-spartacus-payment-method',\n  templateUrl: './spartacus-payment-method.component.html',\n})\nexport class SpartacusPaymentMethodComponent implements OnInit {\n  @Input() component!: BrComponent;\n\n  @Input() page!: Page;\n\n  @ViewChild(SpartacusPaymentMethodDirective, { static: true })\n  wrappedComponent!: SpartacusPaymentMethodDirective;\n\n  constructor(private readonly activatedRoute: ActivatedRoute, private readonly router: Router) {}\n\n  ngOnInit(): void {\n    setActivatedRouteSnapshotUrl(this.page, this.activatedRoute, this.router);\n    this.renderWrappedPaymentMethod();\n  }\n\n  renderWrappedPaymentMethod(): void {\n    const { viewContainerRef } = this.wrappedComponent;\n    viewContainerRef.clear();\n\n    viewContainerRef.createComponent(CheckoutPaymentMethodComponent, { index: 0 });\n  }\n}\n","<!--\n  Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n-->\n\n<div>\n  <ng-template brxSpartacusPaymentMethod></ng-template>\n</div>\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './spartacus-payment-method.component';\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Directive, ViewContainerRef } from '@angular/core';\n\n@Directive({\n  selector: '[brxSpartacusReviewSubmit]',\n})\nexport class SpartacusReviewSubmitDirective {\n  constructor(public viewContainerRef: ViewContainerRef) {}\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, Input, OnInit, ViewChild } from '@angular/core';\nimport { Component as BrComponent, Page } from '@bloomreach/spa-sdk';\nimport { CheckoutReviewSubmitComponent } from '@spartacus/checkout/base/components';\nimport { SpartacusReviewSubmitDirective } from './spartacus-review-submit.directive';\n\n@Component({\n  selector: 'brx-spartacus-review-submit',\n  templateUrl: './spartacus-review-submit.component.html',\n})\nexport class SpartacusReviewSubmitComponent implements OnInit {\n  @Input() component!: BrComponent;\n\n  @Input() page!: Page;\n\n  @ViewChild(SpartacusReviewSubmitDirective, { static: true })\n  wrappedComponent!: SpartacusReviewSubmitDirective;\n\n  ngOnInit(): void {\n    this.renderWrappedReviewSubmit();\n  }\n\n  renderWrappedReviewSubmit(): void {\n    const { viewContainerRef } = this.wrappedComponent;\n    viewContainerRef.clear();\n\n    viewContainerRef.createComponent(CheckoutReviewSubmitComponent, { index: 0 });\n  }\n}\n","<!--\n  Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n-->\n\n<div>\n  <ng-template brxSpartacusReviewSubmit></ng-template>\n</div>\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './spartacus-review-submit.component';\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Directive, ViewContainerRef } from '@angular/core';\n\n@Directive({\n  selector: '[brxSpartacusPlaceOrder]',\n})\nexport class SpartacusPlaceOrderDirective {\n  constructor(public viewContainerRef: ViewContainerRef) {}\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, Input, OnInit, ViewChild } from '@angular/core';\nimport { Component as BrComponent, Page } from '@bloomreach/spa-sdk';\nimport { CheckoutPlaceOrderComponent } from '@spartacus/checkout/base/components';\nimport { SpartacusPlaceOrderDirective } from './spartacus-place-order.directive';\n\n@Component({\n  selector: 'brx-spartacus-place-order',\n  templateUrl: './spartacus-place-order.component.html',\n})\nexport class SpartacusPlaceOrderComponent implements OnInit {\n  @Input() component!: BrComponent;\n\n  @Input() page!: Page;\n\n  @ViewChild(SpartacusPlaceOrderDirective, { static: true })\n  wrappedComponent!: SpartacusPlaceOrderDirective;\n\n  ngOnInit(): void {\n    this.renderWrappedPlaceOrder();\n  }\n\n  renderWrappedPlaceOrder(): void {\n    const { viewContainerRef } = this.wrappedComponent;\n    viewContainerRef.clear();\n\n    viewContainerRef.createComponent(CheckoutPlaceOrderComponent, { index: 0 });\n  }\n}\n","<!--\n  Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n-->\n\n<div>\n  <ng-template brxSpartacusPlaceOrder></ng-template>\n</div>\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './spartacus-place-order.component';\n","/* eslint-disable max-len */\n/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { SpartacusCheckoutOrderSummaryComponent } from './spartacus-checkout-order-summary/spartacus-checkout-order-summary.component';\nimport { SpartacusCheckoutOrderSummaryDirective } from './spartacus-checkout-order-summary/spartacus-checkout-order-summary.directive';\nimport { SpartacusCheckoutProgressMobileTopDirective } from './spartacus-checkout-progress/spartacus-checkout-progress-mobile-top/spartacus-checkout-progress-mobile-top.directive';\nimport { SpartacusCheckoutProgressMobileTopComponent } from './spartacus-checkout-progress/spartacus-checkout-progress-mobile-top/spartacus-checkout-progress-mobile-top.component';\nimport { SpartacusCheckoutProgressMobileBottomDirective } from './spartacus-checkout-progress/spartacus-checkout-progress-mobile-bottom/spartacus-checkout-progress-mobile-bottom.directive';\nimport { SpartacusCheckoutProgressMobileBottomComponent } from './spartacus-checkout-progress/spartacus-checkout-progress-mobile-bottom/spartacus-checkout-progress-mobile-bottom.component';\nimport { SpartacusCheckoutProgressComponent } from './spartacus-checkout-progress/spartacus-checkout-progress.component';\nimport { SpartacusCheckoutProgressDirective } from './spartacus-checkout-progress/spartacus-checkout-progress.directive';\nimport { SpartacusShippingAddressComponent } from './spartacus-shipping-address/spartacus-shipping-address.component';\nimport { SpartacusShippingAddressDirective } from './spartacus-shipping-address/spartacus-shipping-address.directive';\nimport { SpartacusDeliveryModeComponent } from './spartacus-delivery-mode/spartacus-delivery-mode.component';\nimport { SpartacusDeliveryModeDirective } from './spartacus-delivery-mode/spartacus-delivery-mode.directive';\nimport { SpartacusReviewSubmitComponent } from './spartacus-review-submit/spartacus-review-submit.component';\nimport { SpartacusReviewSubmitDirective } from './spartacus-review-submit/spartacus-review-submit.directive';\nimport { SpartacusPlaceOrderComponent } from './spartacus-place-order';\nimport { SpartacusPlaceOrderDirective } from './spartacus-place-order/spartacus-place-order.directive';\nimport { SpartacusPaymentMethodDirective } from './spartacus-payment-method/spartacus-payment-method.directive';\nimport { SpartacusPaymentMethodComponent } from './spartacus-payment-method';\n\n@NgModule({\n  imports: [CommonModule],\n  declarations: [\n    SpartacusCheckoutProgressComponent,\n    SpartacusCheckoutProgressDirective,\n    SpartacusCheckoutProgressMobileTopComponent,\n    SpartacusCheckoutProgressMobileTopDirective,\n    SpartacusCheckoutProgressMobileBottomComponent,\n    SpartacusCheckoutProgressMobileBottomDirective,\n    SpartacusShippingAddressComponent,\n    SpartacusShippingAddressDirective,\n    SpartacusCheckoutOrderSummaryComponent,\n    SpartacusCheckoutOrderSummaryDirective,\n    SpartacusDeliveryModeComponent,\n    SpartacusDeliveryModeDirective,\n    SpartacusPaymentMethodComponent,\n    SpartacusPaymentMethodDirective,\n    SpartacusReviewSubmitComponent,\n    SpartacusReviewSubmitDirective,\n    SpartacusPlaceOrderComponent,\n    SpartacusPlaceOrderDirective,\n  ],\n  exports: [\n    SpartacusCheckoutProgressComponent,\n    SpartacusCheckoutProgressMobileTopComponent,\n    SpartacusCheckoutProgressMobileBottomComponent,\n    SpartacusShippingAddressComponent,\n    SpartacusCheckoutOrderSummaryComponent,\n    SpartacusDeliveryModeComponent,\n    SpartacusPaymentMethodComponent,\n    SpartacusReviewSubmitComponent,\n    SpartacusPlaceOrderComponent,\n  ],\n})\nexport class SpartacusCheckoutModule {}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './spartacus-checkout-order-summary';\nexport * from './spartacus-checkout-progress';\nexport * from './spartacus-shipping-address';\nexport * from './spartacus-delivery-mode';\nexport * from './spartacus-payment-method';\nexport * from './spartacus-review-submit';\nexport * from './spartacus-place-order';\nexport * from './spartacus-checkout.module';\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Directive, ViewContainerRef } from '@angular/core';\n\n@Directive({\n  selector: '[brxSpartacusOrderConfirmationThankYouMessage]',\n})\nexport class SpartacusOrderConfirmationThankYouMessageDirective {\n  constructor(public viewContainerRef: ViewContainerRef) {}\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, Input, OnInit, ViewChild } from '@angular/core';\nimport { Component as BrComponent, Page } from '@bloomreach/spa-sdk';\nimport { OrderConfirmationThankYouMessageComponent } from '@spartacus/order/components';\n// eslint-disable-next-line max-len\nimport { SpartacusOrderConfirmationThankYouMessageDirective } from './spartacus-order-confirmation-thank-you-message.directive';\n\n@Component({\n  selector: 'brx-spartacus-order-confirmation-thank-you-message',\n  templateUrl: './spartacus-order-confirmation-thank-you-message.component.html',\n})\nexport class SpartacusOrderConfirmationThankYouMessageComponent implements OnInit {\n  @Input() component!: BrComponent;\n\n  @Input() page!: Page;\n\n  @ViewChild(SpartacusOrderConfirmationThankYouMessageDirective, { static: true })\n  wrappedComponent!: SpartacusOrderConfirmationThankYouMessageDirective;\n\n  ngOnInit(): void {\n    this.renderWrappedOrderConfirmationThankYouMessage();\n  }\n\n  renderWrappedOrderConfirmationThankYouMessage(): void {\n    const { viewContainerRef } = this.wrappedComponent;\n    viewContainerRef.clear();\n\n    viewContainerRef.createComponent(OrderConfirmationThankYouMessageComponent, { index: 0 });\n  }\n}\n","<!--\n  Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n-->\n\n<div>\n  <ng-template brxSpartacusOrderConfirmationThankYouMessage></ng-template>\n</div>\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './spartacus-order-confirmation-thank-you-message.component';\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Directive, ViewContainerRef } from '@angular/core';\n\n@Directive({\n  selector: '[brxSpartacusOrderConfirmationTotals]',\n})\nexport class SpartacusOrderConfirmationTotalsDirective {\n  constructor(public viewContainerRef: ViewContainerRef) {}\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, Input, OnInit, ViewChild } from '@angular/core';\nimport { Component as BrComponent, Page } from '@bloomreach/spa-sdk';\nimport { OrderConfirmationTotalsComponent } from '@spartacus/order/components';\nimport { SpartacusOrderConfirmationTotalsDirective } from './spartacus-order-confirmation-totals.directive';\n\n@Component({\n  selector: 'brx-spartacus-order-confirmation-totals',\n  templateUrl: './spartacus-order-confirmation-totals.component.html',\n})\nexport class SpartacusOrderConfirmationTotalsComponent implements OnInit {\n  @Input() component!: BrComponent;\n\n  @Input() page!: Page;\n\n  @ViewChild(SpartacusOrderConfirmationTotalsDirective, { static: true })\n  wrappedComponent!: SpartacusOrderConfirmationTotalsDirective;\n\n  ngOnInit(): void {\n    this.renderWrappedOrderConfirmationTotals();\n  }\n\n  renderWrappedOrderConfirmationTotals(): void {\n    const { viewContainerRef } = this.wrappedComponent;\n    viewContainerRef.clear();\n\n    viewContainerRef.createComponent(OrderConfirmationTotalsComponent, { index: 0 });\n  }\n}\n","<!--\n  Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n-->\n\n<div>\n  <ng-template brxSpartacusOrderConfirmationTotals></ng-template>\n</div>\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './spartacus-order-confirmation-totals.component';\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Directive, ViewContainerRef } from '@angular/core';\n\n@Directive({\n  selector: '[brxSpartacusOrderConfirmationItems]',\n})\nexport class SpartacusOrderConfirmationItemsDirective {\n  constructor(public viewContainerRef: ViewContainerRef) {}\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, Input, OnInit, ViewChild } from '@angular/core';\nimport { Component as BrComponent, Page } from '@bloomreach/spa-sdk';\nimport { OrderConfirmationItemsComponent } from '@spartacus/order/components';\nimport { SpartacusOrderConfirmationItemsDirective } from './spartacus-order-confirmation-items.directive';\n\n@Component({\n  selector: 'brx-spartacus-order-confirmation-items',\n  templateUrl: './spartacus-order-confirmation-items.component.html',\n})\nexport class SpartacusOrderConfirmationItemsComponent implements OnInit {\n  @Input() component!: BrComponent;\n\n  @Input() page!: Page;\n\n  @ViewChild(SpartacusOrderConfirmationItemsDirective, { static: true })\n  wrappedComponent!: SpartacusOrderConfirmationItemsDirective;\n\n  ngOnInit(): void {\n    this.renderWrappedOrderConfirmationItems();\n  }\n\n  renderWrappedOrderConfirmationItems(): void {\n    const { viewContainerRef } = this.wrappedComponent;\n    viewContainerRef.clear();\n\n    viewContainerRef.createComponent(OrderConfirmationItemsComponent, { index: 0 });\n  }\n}\n","<!--\n  Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n-->\n\n<div>\n  <ng-template brxSpartacusOrderConfirmationItems></ng-template>\n</div>\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './spartacus-order-confirmation-items.component';\n","/* eslint-disable max-len */\n/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { SpartacusOrderConfirmationThankYouMessageComponent } from './spartacus-order-confirmation-thank-you-message';\nimport { SpartacusOrderConfirmationThankYouMessageDirective } from './spartacus-order-confirmation-thank-you-message/spartacus-order-confirmation-thank-you-message.directive';\nimport { SpartacusOrderConfirmationTotalsDirective } from './spartacus-order-confirmation-totals/spartacus-order-confirmation-totals.directive';\nimport { SpartacusOrderConfirmationTotalsComponent } from './spartacus-order-confirmation-totals';\nimport { SpartacusOrderConfirmationItemsComponent } from './spartacus-order-confirmation-items';\nimport { SpartacusOrderConfirmationItemsDirective } from './spartacus-order-confirmation-items/spartacus-order-confirmation-items.directive';\n\n@NgModule({\n  imports: [CommonModule],\n  declarations: [\n    SpartacusOrderConfirmationThankYouMessageComponent,\n    SpartacusOrderConfirmationThankYouMessageDirective,\n    SpartacusOrderConfirmationTotalsComponent,\n    SpartacusOrderConfirmationTotalsDirective,\n    SpartacusOrderConfirmationItemsComponent,\n    SpartacusOrderConfirmationItemsDirective,\n  ],\n  exports: [\n    SpartacusOrderConfirmationThankYouMessageComponent,\n    SpartacusOrderConfirmationTotalsComponent,\n    SpartacusOrderConfirmationItemsComponent,\n  ],\n})\nexport class SpartacusOrderConfirmationModule {}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Directive, ViewContainerRef } from '@angular/core';\n\n@Directive({\n  selector: '[brxSpartacusForgotPasssword]',\n})\nexport class SpartacusForgotPassswordDirective {\n  constructor(public viewContainerRef: ViewContainerRef) {}\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Injectable } from '@angular/core';\nimport { AuthConfigService, GlobalMessageService, RoutingService } from '@spartacus/core';\nimport { ForgotPasswordComponentService } from '@spartacus/user/profile/components';\nimport { UserPasswordFacade } from '@spartacus/user/profile/root';\n\n@Injectable({\n  providedIn: 'root',\n})\nexport class SpartacusForgotPasswordComponentService extends ForgotPasswordComponentService {\n  constructor(\n    protected userPasswordService: UserPasswordFacade,\n    protected routingService: RoutingService,\n    protected authConfigService: AuthConfigService,\n    protected globalMessage: GlobalMessageService,\n  ) {\n    super(userPasswordService, routingService, authConfigService, globalMessage);\n  }\n}\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, Injector, Input, OnInit, ViewChild } from '@angular/core';\nimport { Component as BrComponent, Page } from '@bloomreach/spa-sdk';\nimport { ForgotPasswordComponent, ForgotPasswordComponentService } from '@spartacus/user/profile/components';\nimport { SpartacusForgotPasswordComponentService } from '../../services/spartacus-forgot-password-component.service';\nimport { SpartacusForgotPassswordDirective } from './spartacus-forgot-password.directive';\n\n@Component({\n  selector: 'brx-spartacus-forgot-password',\n  templateUrl: './spartacus-forgot-password.component.html',\n  styleUrls: ['./spartacus-forgot-password.component.scss'],\n})\nexport class SpartacusForgotPasswordComponent implements OnInit {\n  @Input() component!: BrComponent;\n\n  @Input() page!: Page;\n\n  @ViewChild(SpartacusForgotPassswordDirective, { static: true })\n  wrappedComponent!: SpartacusForgotPassswordDirective;\n\n  constructor(private fpservice: SpartacusForgotPasswordComponentService) {}\n\n  ngOnInit(): void {\n    this.renderWrapper();\n  }\n\n  renderWrapper(): void {\n    const { viewContainerRef } = this.wrappedComponent;\n    viewContainerRef.clear();\n\n    const componentInjector = Injector.create({\n      providers: [\n        {\n          provide: ForgotPasswordComponentService,\n          useValue: this.fpservice,\n        },\n      ],\n    });\n    viewContainerRef.createComponent(ForgotPasswordComponent, { index: 0, injector: componentInjector });\n  }\n}\n","<!--\n  Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n-->\n\n<div class=\"forget-password\">\n  <ng-template brxSpartacusForgotPasssword></ng-template>\n</div>\n","/* eslint-disable max-len */\n/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\nimport { RouterModule } from '@angular/router';\nimport { BrSdkModule } from '@bloomreach/ng-sdk';\nimport { CarouselModule, MediaModule } from '@spartacus/storefront';\nimport { BannerComponent } from './components/banner/banner.component';\nimport { CategoryHighlightComponent } from './components/category-highlight/category-highlight.component';\nimport { SpartacusBannerComponent } from './components/spartacus-banner/spartacus-banner.component';\nimport { SpartacusBannerDirective } from './components/spartacus-banner/spartacus-banner.directive';\nimport { SpartacusProductDetailsModule } from './components/spartacus-product-details/spartacus-product-details.module';\nimport { SpartacusProductHighlightComponent } from './components/spartacus-product-highlight/spartacus-product-highlight.component';\nimport { SpartacusProductHighlightDirective } from './components/spartacus-product-highlight/spartacus-product-highlight.directive';\nimport { SpartacusProductListComponent } from './components/spartacus-product-list/spartacus-product-list.component';\nimport { SpartacusProductListDirective } from './components/spartacus-product-list/spartacus-product-list.directive';\nimport { SpartacusSearchBoxComponent } from './components/spartacus-search-box/spartacus-search-box.component';\nimport { SpartacusSearchBoxDirective } from './components/spartacus-search-box/spartacus-search-box.directive';\nimport { BrxProductSearchModule } from './spartacus/brx/adapters/brx-product-search.module';\nimport { CmsBrxModule } from './spartacus/brx/cms-brx.module';\nimport { BrxProductNormalizerModule } from './spartacus/brx/normalizers/brx-product-normalizer.module';\n// eslint-disable-next-line max-len\nimport { PathwaysRecommendationsComponent } from './components/pathways-recommendations/pathways-recommendations.component';\nimport { SpartacusProductFacetNavigationModule } from './components/spartacus-product-facet-navigation';\nimport { SpartacusLoginFormComponent } from './components/spartacus-login-form/spartacus-login-form.component';\nimport { SpartacusLoginFormDirective } from './components/spartacus-login-form/spartacus-login-form.directive';\nimport { CustomPipesModule } from './pipes/custom-pipes.module';\nimport { SpartacusParagraphComponent } from './components/spartacus-paragraph/spartacus-paragraph.component';\nimport { SpartacusParagraphDirective } from './components/spartacus-paragraph/spartacus-paragraph.directive';\nimport { SpartacusBreadcrumbComponent } from './components/spartacus-breadcrumb/spartacus-breadcrumb.component';\nimport { SpartacusBreadcrumbDirective } from './components/spartacus-breadcrumb/spartacus-breadcrumb.directive';\nimport { SpartacusPageMetaModule } from './services/spartacus-page-meta.module';\nimport { MenuComponent } from './components/menu/menu.component';\nimport { MenuItemComponent } from './components/menu/menu-item/menu-item.component';\nimport { SpartacusRegisterComponent } from './components/spartacus-register/spartacus-register.component';\nimport { SpartacusRegisterDirective } from './components/spartacus-register/spartacus-register.directive';\nimport { SpartacusLoginRegisterComponent } from './components/spartacus-login-register/spartacus-login-register.component';\nimport { SpartacusLoginRegisterDirective } from './components/spartacus-login-register/spartacus-login-register.directive';\nimport { SpartacusCartDetailsComponent } from './components/spartacus-cart-details/spartacus-cart-details.component';\nimport { SpartacusCartDetailsDirective } from './components/spartacus-cart-details/spartacus-cart-details.directive';\nimport { SpartacusCartTotalsComponent } from './components/spartacus-cart-totals/spartacus-cart-totals.component';\nimport { SpartacusCartTotalsDirective } from './components/spartacus-cart-totals/spartacus-cart-totals.directive';\nimport { SpartacusCartCouponComponent } from './components/spartacus-cart-coupon/spartacus-cart-coupon.component';\nimport { SpartacusCartCouponDirective } from './components/spartacus-cart-coupon/spartacus-cart-coupon.directive';\nimport { SpartacusCartQuickOrderFormComponent } from './components/spartacus-cart-quick-order-form/spartacus-cart-quick-order-form.component';\nimport { SpartacusCartQuickOrderFormDirective } from './components/spartacus-cart-quick-order-form/spartacus-cart-quick-order-form.directive';\nimport { SpartacusAddToSavedCartComponent } from './components/spartacus-add-to-saved-cart/spartacus-add-to-saved-cart.component';\nimport { SpartacusAddToSavedCartDirective } from './components/spartacus-add-to-saved-cart/spartacus-add-to-saved-cart.directive';\nimport { SpartacusImportExportOrderEntriesComponent } from './components/spartacus-import-export-order-entries/spartacus-import-export-order-entries.component';\nimport { SpartacusImportExportOrderEntriesDirective } from './components/spartacus-import-export-order-entries/spartacus-import-export-order-entries.directive';\nimport { SpartacusLoginComponent } from './components/spartacus-login/spartacus-login.component';\nimport { SpartacusLoginDirective } from './components/spartacus-login/spartacus-login.directive';\nimport { SpartacusMiniCartComponent } from './components/spartacus-mini-cart/spartacus-mini-cart.component';\nimport { SpartacusMiniCartDirective } from './components/spartacus-mini-cart/spartacus-mini-cart.directive';\nimport { MyAccountMenuComponent } from './components/my-account-menu/my-account-menu.component';\nimport { SpartacusWishListComponent } from './components/spartacus-wish-list/spartacus-wish-list.component';\nimport { SpartacusWishListDirective } from './components/spartacus-wish-list/spartacus-wish-list.directive';\nimport { SpartacusCheckoutModule } from './components/spartacus-checkout';\nimport { SpartacusOrderConfirmationModule } from './components/spartacus-order-confirmation/spartacus-order-confirmation.module';\nimport { SpartacusForgotPasswordComponent } from './components/spartacus-forgot-password/spartacus-forgot-password.component';\nimport { SpartacusForgotPassswordDirective } from './components/spartacus-forgot-password/spartacus-forgot-password.directive';\n\n@NgModule({\n  declarations: [\n    SpartacusProductListComponent,\n    SpartacusProductListDirective,\n    SpartacusSearchBoxComponent,\n    SpartacusSearchBoxDirective,\n    BannerComponent,\n    SpartacusBannerComponent,\n    SpartacusBannerDirective,\n    SpartacusProductHighlightComponent,\n    SpartacusProductHighlightDirective,\n    SpartacusParagraphDirective,\n    CategoryHighlightComponent,\n    PathwaysRecommendationsComponent,\n    SpartacusLoginFormComponent,\n    SpartacusLoginFormDirective,\n    SpartacusParagraphComponent,\n    SpartacusBreadcrumbComponent,\n    SpartacusBreadcrumbDirective,\n    MenuComponent,\n    MenuItemComponent,\n    SpartacusRegisterComponent,\n    SpartacusRegisterDirective,\n    SpartacusLoginRegisterComponent,\n    SpartacusLoginRegisterDirective,\n    SpartacusCartDetailsComponent,\n    SpartacusCartDetailsDirective,\n    SpartacusCartTotalsComponent,\n    SpartacusCartTotalsDirective,\n    SpartacusCartCouponComponent,\n    SpartacusCartCouponDirective,\n    SpartacusCartQuickOrderFormComponent,\n    SpartacusCartQuickOrderFormDirective,\n    SpartacusAddToSavedCartComponent,\n    SpartacusAddToSavedCartDirective,\n    SpartacusImportExportOrderEntriesComponent,\n    SpartacusImportExportOrderEntriesDirective,\n    SpartacusLoginComponent,\n    SpartacusLoginDirective,\n    SpartacusMiniCartComponent,\n    SpartacusMiniCartDirective,\n    MyAccountMenuComponent,\n    SpartacusWishListComponent,\n    SpartacusWishListDirective,\n    SpartacusForgotPasswordComponent,\n    SpartacusForgotPassswordDirective,\n  ],\n  imports: [\n    BrowserModule,\n    BrSdkModule,\n    RouterModule,\n    BrxProductSearchModule,\n    BrxProductNormalizerModule,\n    SpartacusProductDetailsModule,\n    SpartacusProductFacetNavigationModule,\n    CmsBrxModule,\n    CarouselModule,\n    MediaModule,\n    CustomPipesModule,\n    SpartacusPageMetaModule,\n    SpartacusCheckoutModule,\n    SpartacusOrderConfirmationModule,\n  ],\n  exports: [\n    BannerComponent,\n    SpartacusBannerComponent,\n    SpartacusSearchBoxComponent,\n    SpartacusProductListComponent,\n    SpartacusProductHighlightComponent,\n    BrxProductSearchModule,\n    BrxProductNormalizerModule,\n    SpartacusProductDetailsModule,\n    SpartacusProductFacetNavigationModule,\n    SpartacusLoginFormComponent,\n    CmsBrxModule,\n    CategoryHighlightComponent,\n    PathwaysRecommendationsComponent,\n    SpartacusParagraphComponent,\n    SpartacusBreadcrumbComponent,\n    MenuComponent,\n    SpartacusRegisterComponent,\n    SpartacusLoginRegisterComponent,\n    SpartacusCartDetailsComponent,\n    SpartacusCartTotalsComponent,\n    SpartacusCartCouponComponent,\n    SpartacusCartQuickOrderFormComponent,\n    SpartacusAddToSavedCartComponent,\n    SpartacusImportExportOrderEntriesComponent,\n    SpartacusLoginComponent,\n    SpartacusMiniCartComponent,\n    MyAccountMenuComponent,\n    SpartacusWishListComponent,\n    SpartacusForgotPasswordComponent,\n  ],\n})\nexport class BrxSpartacusLibModule {}\n","/* eslint-disable max-len */\n/*\n * Copyright 2020-2024 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './spartacus-order-confirmation-thank-you-message';\nexport * from './spartacus-order-confirmation-totals';\nexport * from './spartacus-order-confirmation-items';\n","/*\n * Copyright 2020-2021 Hippo B.V. (http://www.onehippo.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/*\n * Public API Surface of brx-spartacus-lib\n */\nexport * from './lib/brx-spartacus-lib.module';\n\nexport * from './lib/components/spartacus-product-list/spartacus-product-list.component';\nexport * from './lib/components/spartacus-search-box/spartacus-search-box.component';\nexport * from './lib/components/banner/banner.component';\nexport * from './lib/components/spartacus-banner/spartacus-banner.component';\nexport * from './lib/components/spartacus-login-form/spartacus-login-form.component';\nexport * from './lib/components/spartacus-product-facet-navigation/index';\nexport * from './lib/components/spartacus-product-details/spartacus-product-details.component';\nexport * from './lib/components/spartacus-product-highlight/spartacus-product-highlight.component';\nexport * from './lib/components/category-highlight/category-highlight.component';\nexport * from './lib/components/pathways-recommendations/pathways-recommendations.component';\nexport * from './lib/components/spartacus-paragraph/spartacus-paragraph.component';\nexport * from './lib/components/spartacus-breadcrumb/spartacus-breadcrumb.component';\nexport * from './lib/components/menu/menu.component';\nexport * from './lib/components/spartacus-register/spartacus-register.component';\nexport * from './lib/components/spartacus-login-register/spartacus-login-register.component';\nexport * from './lib/components/spartacus-cart-details/spartacus-cart-details.component';\nexport * from './lib/components/spartacus-cart-totals/spartacus-cart-totals.component';\nexport * from './lib/components/spartacus-cart-coupon/spartacus-cart-coupon.component';\nexport * from './lib/components/spartacus-cart-quick-order-form/spartacus-cart-quick-order-form.component';\nexport * from './lib/components/spartacus-add-to-saved-cart/spartacus-add-to-saved-cart.component';\nexport * from './lib/components/spartacus-import-export-order-entries/spartacus-import-export-order-entries.component';\nexport * from './lib/components/spartacus-login/spartacus-login.component';\nexport * from './lib/components/spartacus-mini-cart/spartacus-mini-cart.component';\nexport * from './lib/components/my-account-menu/my-account-menu.component';\nexport * from './lib/components/spartacus-wish-list/spartacus-wish-list.component';\nexport * from './lib/components/spartacus-checkout/index';\nexport * from './lib/components/spartacus-order-confirmation/index';\nexport * from './lib/components/spartacus-forgot-password/spartacus-forgot-password.component';\n\nexport * from './lib/spartacus/brx/cms-brx.module';\nexport * from './lib/spartacus/brx/adapters/brx-product-search.module';\nexport * from './lib/spartacus/brx/normalizers/brx-product-normalizer.module';\nexport * from './lib/components/spartacus-product-details/spartacus-product-details.module';\n\nexport * from './lib/services/brx-endpoint.service';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1","i2","i3","i4.ParseUrlPipe","i1.SpartacusSearchboxService","i2.BrxEndpointService","i1.BrxCategoryService","BannerComponent","i1.SpartacusBannerDirective","i1.BrxDeliveryTabService","i5.SpartacusTabParagraphContainerDirective","i2.SpartacusProductHighlightDirective","i2.SpartacusProductListDirective","i1.SpartacusSearchBoxComponentService","i2.SpartacusSearchBoxDirective","i3.BrxEndpointService","i3.BrxDeliveryTabService","i1.BrxPathwaysRecommendations","i2.SpartacusProductListComponentService","i1.ProductFacetService","i1.FacetService","i5","i6.ParseUrlPipe","i4.FacetComponent","i2.FacetService","i4.FacetListComponent","i5.ActiveFacetsComponent","i6","i1.SpartacusLoginFormComponentService","i2.SpartacusLoginFormDirective","i1.SpartacusParagraphDirective","i1.SpartacusBreadcrumbDirective","i1.SpartacusProductSearchService","i3.ParseUrlPipe","i4.IsExternalLinkPipe","i5.IsInternalLinkPipe","i3.MenuItemComponent","i1.SpartacusRegisterComponentService","i4.SpartacusRegisterDirective","i2.SpartacusLoginRegisterDirective","i3.SpartacusCartDetailsDirective","i4.SpartacusCartTotalsDirective","i2.SpartacusCartCouponDirective","i4.SpartacusCartQuickOrderFormDirective","i4.SpartacusAddToSavedCartDirective","i2.SpartacusImportExportOrderEntriesDirective","i3.SpartacusLoginDirective","i1.SpartacusMiniCartComponentService","i2.SpartacusMiniCartDirective","i2.SpartacusWishListDirective","i1.SpartacusCheckoutOrderSummaryDirective","i1.SpartacusCheckoutProgressDirective","i1.SpartacusCheckoutProgressMobileTopDirective","i1.SpartacusCheckoutProgressMobileBottomDirective","i2.SpartacusShippingAddressDirective","i2.SpartacusDeliveryModeDirective","i2.SpartacusPaymentMethodDirective","i1.SpartacusReviewSubmitDirective","i1.SpartacusPlaceOrderDirective","i1.SpartacusOrderConfirmationThankYouMessageDirective","i1.SpartacusOrderConfirmationTotalsDirective","i1.SpartacusOrderConfirmationItemsDirective","i1.SpartacusForgotPasswordComponentService","i2.SpartacusForgotPassswordDirective"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;AAcG;AAIG,SAAU,QAAQ,CAAC,OAAe,EAAA;IACtC,OAAO,YAAY,CAAC,OAAO,EAAE;AAC3B,QAAA,iBAAiB,EAAE;AACjB,YAAA,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,WAAW,EAAE,KAAK,CAAC;AAC1D,YAAA,GAAG,EAAE,CAAC,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,CAAC;AACrE,SAAA;AACD,QAAA,WAAW,EAAE,YAAY,CAAC,QAAQ,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,CAAC;AAC/D,KAAA,CAAC;AACJ;;AC1BA;;;;;;;;;;;;;;AAcG;MAWU,YAAY,CAAA;IACvB,SAAS,CAAC,GAAW,EAAE,QAAmB,EAAA;AACxC,QAAA,MAAM,KAAK,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE,oBAAoB,CAAC,CAAC,QAAQ,CAAC;QAE1D,IAAI,KAAK,YAAY,eAAe,EAAE;AACpC,YAAA,OAAO,MAAM,CAAC,WAAW,CAAC,CAAC,GAAG,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC;AAChD;AAED,QAAA,OAAO,KAAK;;+GARH,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CA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